pptxtojson 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e,r,n,i,a,o){try{var s=t[a](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(i,a){var o=t.apply(r,n);function s(t){e(o,i,a,s,u,"next",t)}function u(t){e(o,i,a,s,u,"throw",t)}s(void 0)}))}}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t){var e=t.default;if("function"==typeof e){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var a={exports:{}},o={exports:{}};!function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(o),function(t){var e=o.exports.default;function r(){t.exports=r=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var n={},i=Object.prototype,a=i.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new R(n||[]);return o(a,"_invoke",{value:S(t,r,s)}),a}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var p={};function g(){}function b(){}function m(){}var v={};c(v,u,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(O([])));w&&w!==i&&a.call(w,u)&&(v=w);var _=m.prototype=g.prototype=Object.create(v);function k(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,r){function n(i,o,s,u){var l=d(t[i],t,o);if("throw"!==l.type){var f=l.arg,c=f.value;return c&&"object"==e(c)&&a.call(c,"__await")?r.resolve(c.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):r.resolve(c).then((function(t){f.value=t,s(f)}),(function(t){return n("throw",t,s,u)}))}u(l.arg)}var i;o(this,"_invoke",{value:function(t,e){function a(){return new r((function(r,i){n(t,e,r,i)}))}return i=i?i.then(a,a):a()}})}function S(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return T()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=A(o,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=d(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function A(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function O(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(a.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:T}}function T(){return{value:void 0,done:!0}}return b.prototype=m,o(_,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:b,configurable:!0}),b.displayName=c(m,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,f,"GeneratorFunction")),t.prototype=Object.create(_),t},n.awrap=function(t){return{__await:t}},k(x.prototype),c(x.prototype,l,(function(){return this})),n.AsyncIterator=x,n.async=function(t,e,r,i,a){void 0===a&&(a=Promise);var o=new x(h(t,e,r,i),a);return n.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},k(_),c(_,f,"Generator"),c(_,u,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=O,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;E(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},n}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(a);var s=a.exports(),u=s;try{regeneratorRuntime=s}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}var l={},f={},c="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],d=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,g=!1;function b(){g=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)h[e]=t[e],d[t.charCodeAt(e)]=e;d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63}function m(t,e,r){for(var n,i,a=[],o=e;o<r;o+=3)n=(t[o]<<16)+(t[o+1]<<8)+t[o+2],a.push(h[(i=n)>>18&63]+h[i>>12&63]+h[i>>6&63]+h[63&i]);return a.join("")}function v(t){var e;g||b();for(var r=t.length,n=r%3,i="",a=[],o=16383,s=0,u=r-n;s<u;s+=o)a.push(m(t,s,s+o>u?u:s+o));return 1===n?(e=t[r-1],i+=h[e>>2],i+=h[e<<4&63],i+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],i+=h[e>>10],i+=h[e>>4&63],i+=h[e<<2&63],i+="="),a.push(i),a.join("")}function y(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,l=u>>1,f=-7,c=r?i-1:0,h=r?-1:1,d=t[e+c];for(c+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+t[e+c],c+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+c],c+=h,f-=8);if(0===a)a=1-l;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=l}return(d?-1:1)*o*Math.pow(2,a-n)}function w(t,e,r,n,i,a){var o,s,u,l=8*a-i-1,f=(1<<l)-1,c=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?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,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(o++,u/=2),o+c>=f?(s=0,o=f):o+c>=1?(s=(e*u-1)*Math.pow(2,i),o+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;t[r+d]=255&o,d+=p,o/=256,l-=8);t[r+d-p]|=128*g}var _={}.toString,k=Array.isArray||function(t){return"[object Array]"==_.call(t)};C.TYPED_ARRAY_SUPPORT=void 0===c.TYPED_ARRAY_SUPPORT||c.TYPED_ARRAY_SUPPORT;var x=S();function S(){return C.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(t,e){if(S()<e)throw new RangeError("Invalid typed array length");return C.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=C.prototype:(null===t&&(t=new C(e)),t.length=e),t}function C(t,e,r){if(!(C.TYPED_ARRAY_SUPPORT||this instanceof C))return new C(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return O(this,t)}return E(this,t,e,r)}function E(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);C.TYPED_ARRAY_SUPPORT?(t=e).__proto__=C.prototype:t=T(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!C.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|M(e,r),i=(t=A(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(L(e)){var r=0|P(e.length);return 0===(t=A(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?A(t,0):T(t,e);if("Buffer"===e.type&&k(e.data))return T(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function R(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 O(t,e){if(R(e),t=A(t,e<0?0:0|P(e)),!C.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function T(t,e){var r=e.length<0?0:0|P(e.length);t=A(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function P(t){if(t>=S())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S().toString(16)+" bytes");return 0|t}function L(t){return!(null==t||!t._isBuffer)}function M(t,e){if(L(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 r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return at(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ot(t).length;default:if(n)return at(t).length;e=(""+e).toLowerCase(),n=!0}}function I(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return V(this,e,r);case"utf8":case"utf-8":return q(this,e,r);case"ascii":return Y(this,e,r);case"latin1":case"binary":return G(this,e,r);case"base64":return Z(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function D(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=C.from(e,n)),L(e))return 0===e.length?-1:z(t,e,r,n,i);if("number"==typeof e)return e&=255,C.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):z(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function z(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;a<s;a++)if(l(t,a)===l(e,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===u)return f*o}else-1!==f&&(a-=a-f),f=-1}else for(r+u>s&&(r=s-u),a=r;a>=0;a--){for(var c=!0,h=0;h<u;h++)if(l(t,a+h)!==l(e,h)){c=!1;break}if(c)return a}return-1}function j(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(e.substr(2*o,2),16);if(isNaN(s))return o;t[r+o]=s}return o}function F(t,e,r,n){return st(at(e,t.length-r),t,r,n)}function N(t,e,r,n){return st(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function U(t,e,r,n){return N(t,e,r,n)}function H(t,e,r,n){return st(ot(e),t,r,n)}function W(t,e,r,n){return st(function(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function Z(t,e,r){return 0===e&&r===t.length?v(t):v(t.slice(e,r))}function q(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a,o,s,u,l=t[i],f=null,c=l>239?4:l>223?3:l>191?2:1;if(i+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:128==(192&(a=t[i+1]))&&(u=(31&l)<<6|63&a)>127&&(f=u);break;case 3:a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&(u=(15&l)<<12|(63&a)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}C.poolSize=8192,C._augment=function(t){return t.__proto__=C.prototype,t},C.from=function(t,e,r){return E(null,t,e,r)},C.TYPED_ARRAY_SUPPORT&&(C.prototype.__proto__=Uint8Array.prototype,C.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&C[Symbol.species]),C.alloc=function(t,e,r){return function(t,e,r,n){return R(e),e<=0?A(t,e):void 0!==r?"string"==typeof n?A(t,e).fill(r,n):A(t,e).fill(r):A(t,e)}(null,t,e,r)},C.allocUnsafe=function(t){return O(null,t)},C.allocUnsafeSlow=function(t){return O(null,t)},C.isBuffer=ut,C.compare=function(t,e){if(!L(t)||!L(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i<a;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},C.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}},C.concat=function(t,e){if(!k(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return C.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=C.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!L(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},C.byteLength=M,C.prototype._isBuffer=!0,C.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)B(this,e,e+1);return this},C.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)B(this,e,e+3),B(this,e+1,e+2);return this},C.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)B(this,e,e+7),B(this,e+1,e+6),B(this,e+2,e+5),B(this,e+3,e+4);return this},C.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?q(this,0,t):I.apply(this,arguments)},C.prototype.equals=function(t){if(!L(t))throw new TypeError("Argument must be a Buffer");return this===t||0===C.compare(this,t)},C.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},C.prototype.compare=function(t,e,r,n,i){if(!L(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(a,o),u=this.slice(n,i),l=t.slice(e,r),f=0;f<s;++f)if(u[f]!==l[f]){a=u[f],o=l[f];break}return a<o?-1:o<a?1:0},C.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},C.prototype.indexOf=function(t,e,r){return D(this,t,e,r,!0)},C.prototype.lastIndexOf=function(t,e,r){return D(this,t,e,r,!1)},C.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return j(this,t,e,r);case"utf8":case"utf-8":return F(this,t,e,r);case"ascii":return N(this,t,e,r);case"latin1":case"binary":return U(this,t,e,r);case"base64":return H(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Y(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function G(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function V(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=it(t[a]);return i}function K(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function X(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,r,n,i,a){if(!L(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function J(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-r,2);i<a;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function Q(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-r,4);i<a;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function tt(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function et(t,e,r,n,i){return i||tt(t,0,r,4),w(t,e,r,n,23,4),r+4}function rt(t,e,r,n,i){return i||tt(t,0,r,8),w(t,e,r,n,52,8),r+8}C.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),C.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=C.prototype;else{var i=e-t;r=new C(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+t]}return r},C.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n},C.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},C.prototype.readUInt8=function(t,e){return e||X(t,1,this.length),this[t]},C.prototype.readUInt16LE=function(t,e){return e||X(t,2,this.length),this[t]|this[t+1]<<8},C.prototype.readUInt16BE=function(t,e){return e||X(t,2,this.length),this[t]<<8|this[t+1]},C.prototype.readUInt32LE=function(t,e){return e||X(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},C.prototype.readUInt32BE=function(t,e){return e||X(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},C.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t],i=1,a=0;++a<e&&(i*=256);)n+=this[t+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},C.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},C.prototype.readInt8=function(t,e){return e||X(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},C.prototype.readInt16LE=function(t,e){e||X(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},C.prototype.readInt16BE=function(t,e){e||X(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},C.prototype.readInt32LE=function(t,e){return e||X(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},C.prototype.readInt32BE=function(t,e){return e||X(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},C.prototype.readFloatLE=function(t,e){return e||X(t,4,this.length),y(this,t,!0,23,4)},C.prototype.readFloatBE=function(t,e){return e||X(t,4,this.length),y(this,t,!1,23,4)},C.prototype.readDoubleLE=function(t,e){return e||X(t,8,this.length),y(this,t,!0,52,8)},C.prototype.readDoubleBE=function(t,e){return e||X(t,8,this.length),y(this,t,!1,52,8)},C.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||$(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a<r&&(i*=256);)this[e+a]=t/i&255;return e+r},C.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||$(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},C.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,1,255,0),C.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},C.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,65535,0),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):J(this,t,e,!0),e+2},C.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,65535,0),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):J(this,t,e,!1),e+2},C.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,4294967295,0),C.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Q(this,t,e,!0),e+4},C.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,4294967295,0),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Q(this,t,e,!1),e+4},C.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);$(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;for(this[e]=255&t;++a<r&&(o*=256);)t<0&&0===s&&0!==this[e+a-1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},C.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);$(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},C.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,1,127,-128),C.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},C.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,32767,-32768),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):J(this,t,e,!0),e+2},C.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,32767,-32768),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):J(this,t,e,!1),e+2},C.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,2147483647,-2147483648),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Q(this,t,e,!0),e+4},C.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Q(this,t,e,!1),e+4},C.prototype.writeFloatLE=function(t,e,r){return et(this,t,e,!0,r)},C.prototype.writeFloatBE=function(t,e,r){return et(this,t,e,!1,r)},C.prototype.writeDoubleLE=function(t,e,r){return rt(this,t,e,!0,r)},C.prototype.writeDoubleBE=function(t,e,r){return rt(this,t,e,!1,r)},C.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,a=n-r;if(this===t&&r<e&&e<n)for(i=a-1;i>=0;--i)t[i+e]=this[i+r];else if(a<1e3||!C.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),e);return a},C.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!C.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var a;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(a=e;a<r;++a)this[a]=t;else{var o=L(t)?t:at(new C(t,n).toString()),s=o.length;for(a=0;a<r-e;++a)this[a+e]=o[a%s]}return this};var nt=/[^+\/0-9A-Za-z-_]/g;function it(t){return t<16?"0"+t.toString(16):t.toString(16)}function at(t,e){var r;e=e||1/0;for(var n=t.length,i=null,a=[],o=0;o<n;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function ot(t){return function(t){var e,r,n,i,a,o;g||b();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===t[s-2]?2:"="===t[s-1]?1:0,o=new p(3*s/4-a),n=a>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)i=d[t.charCodeAt(e)]<<18|d[t.charCodeAt(e+1)]<<12|d[t.charCodeAt(e+2)]<<6|d[t.charCodeAt(e+3)],o[u++]=i>>16&255,o[u++]=i>>8&255,o[u++]=255&i;return 2===a?(i=d[t.charCodeAt(e)]<<2|d[t.charCodeAt(e+1)]>>4,o[u++]=255&i):1===a&&(i=d[t.charCodeAt(e)]<<10|d[t.charCodeAt(e+1)]<<4|d[t.charCodeAt(e+2)]>>2,o[u++]=i>>8&255,o[u++]=255&i),o}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(nt,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function st(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function ut(t){return null!=t&&(!!t._isBuffer||lt(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&lt(t.slice(0,0))}(t))}function lt(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var ft=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:x,Buffer:C,SlowBuffer:function(t){return+t!=t&&(t=0),C.alloc(+t)},isBuffer:ut}),ct={};function ht(){throw new Error("setTimeout has not been defined")}function dt(){throw new Error("clearTimeout has not been defined")}var pt=ht,gt=dt;function bt(t){if(pt===setTimeout)return setTimeout(t,0);if((pt===ht||!pt)&&setTimeout)return pt=setTimeout,setTimeout(t,0);try{return pt(t,0)}catch(e){try{return pt.call(null,t,0)}catch(e){return pt.call(this,t,0)}}}"function"==typeof c.setTimeout&&(pt=setTimeout),"function"==typeof c.clearTimeout&&(gt=clearTimeout);var mt,vt=[],yt=!1,wt=-1;function _t(){yt&&mt&&(yt=!1,mt.length?vt=mt.concat(vt):wt=-1,vt.length&&kt())}function kt(){if(!yt){var t=bt(_t);yt=!0;for(var e=vt.length;e;){for(mt=vt,vt=[];++wt<e;)mt&&mt[wt].run();wt=-1,e=vt.length}mt=null,yt=!1,function(t){if(gt===clearTimeout)return clearTimeout(t);if((gt===dt||!gt)&&clearTimeout)return gt=clearTimeout,clearTimeout(t);try{gt(t)}catch(e){try{return gt.call(null,t)}catch(e){return gt.call(this,t)}}}(t)}}function xt(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];vt.push(new St(t,e)),1!==vt.length||yt||bt(kt)}function St(t,e){this.fun=t,this.array=e}St.prototype.run=function(){this.fun.apply(null,this.array)};function At(){}var Ct=At,Et=At,Rt=At,Ot=At,Tt=At,Pt=At,Lt=At;var Mt=c.performance||{},It=Mt.now||Mt.mozNow||Mt.msNow||Mt.oNow||Mt.webkitNow||function(){return(new Date).getTime()};var Bt=new Date;var Dt={nextTick:xt,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ct,addListener:Et,once:Rt,off:Ot,removeListener:Tt,removeAllListeners:Pt,emit:Lt,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*It.call(Mt),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Bt)/1e3}},zt={exports:{}};function jt(){}function Ft(){Ft.init.call(this)}function Nt(t){return void 0===t._maxListeners?Ft.defaultMaxListeners:t._maxListeners}function Ut(t,e,r){if(e)t.call(r);else for(var n=t.length,i=Kt(t,n),a=0;a<n;++a)i[a].call(r)}function Ht(t,e,r,n){if(e)t.call(r,n);else for(var i=t.length,a=Kt(t,i),o=0;o<i;++o)a[o].call(r,n)}function Wt(t,e,r,n,i){if(e)t.call(r,n,i);else for(var a=t.length,o=Kt(t,a),s=0;s<a;++s)o[s].call(r,n,i)}function Zt(t,e,r,n,i,a){if(e)t.call(r,n,i,a);else for(var o=t.length,s=Kt(t,o),u=0;u<o;++u)s[u].call(r,n,i,a)}function qt(t,e,r,n){if(e)t.apply(r,n);else for(var i=t.length,a=Kt(t,i),o=0;o<i;++o)a[o].apply(r,n)}function Yt(t,e,r,n){var i,a,o,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((a=t._events)?(a.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),a=t._events),o=a[e]):(a=t._events=new jt,t._eventsCount=0),o){if("function"==typeof o?o=a[e]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),!o.warned&&(i=Nt(t))&&i>0&&o.length>i){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+e+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=o.length,s=u,"function"==typeof console.warn?console.warn(s):console.log(s)}}else o=a[e]=r,++t._eventsCount;return t}function Gt(t,e,r){var n=!1;function i(){t.removeListener(e,i),n||(n=!0,r.apply(t,arguments))}return i.listener=r,i}function Vt(t){var e=this._events;if(e){var r=e[t];if("function"==typeof r)return 1;if(r)return r.length}return 0}function Kt(t,e){for(var r=new Array(e);e--;)r[e]=t[e];return r}jt.prototype=Object.create(null),Ft.EventEmitter=Ft,Ft.usingDomains=!1,Ft.prototype.domain=void 0,Ft.prototype._events=void 0,Ft.prototype._maxListeners=void 0,Ft.defaultMaxListeners=10,Ft.init=function(){this.domain=null,Ft.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new jt,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ft.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},Ft.prototype.getMaxListeners=function(){return Nt(this)},Ft.prototype.emit=function(t){var e,r,n,i,a,o,s,u="error"===t;if(o=this._events)u=u&&null==o.error;else if(!u)return!1;if(s=this.domain,u){if(e=arguments[1],!s){if(e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}return e||(e=new Error('Uncaught, unspecified "error" event')),e.domainEmitter=this,e.domain=s,e.domainThrown=!1,s.emit("error",e),!1}if(!(r=o[t]))return!1;var f="function"==typeof r;switch(n=arguments.length){case 1:Ut(r,f,this);break;case 2:Ht(r,f,this,arguments[1]);break;case 3:Wt(r,f,this,arguments[1],arguments[2]);break;case 4:Zt(r,f,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),a=1;a<n;a++)i[a-1]=arguments[a];qt(r,f,this,i)}return!0},Ft.prototype.addListener=function(t,e){return Yt(this,t,e,!1)},Ft.prototype.on=Ft.prototype.addListener,Ft.prototype.prependListener=function(t,e){return Yt(this,t,e,!0)},Ft.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,Gt(this,t,e)),this},Ft.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,Gt(this,t,e)),this},Ft.prototype.removeListener=function(t,e){var r,n,i,a,o;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[t]))return this;if(r===e||r.listener&&r.listener===e)0==--this._eventsCount?this._events=new jt:(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,a=r.length;a-- >0;)if(r[a]===e||r[a].listener&&r[a].listener===e){o=r[a].listener,i=a;break}if(i<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new jt,this;delete n[t]}else!function(t,e){for(var r=e,n=r+1,i=t.length;n<i;r+=1,n+=1)t[r]=t[n];t.pop()}(r,i);n.removeListener&&this.emit("removeListener",t,o||e)}return this},Ft.prototype.removeAllListeners=function(t){var e,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new jt,this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=new jt:delete r[t]),this;if(0===arguments.length){for(var n,i=Object.keys(r),a=0;a<i.length;++a)"removeListener"!==(n=i[a])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new jt,this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(e)do{this.removeListener(t,e[e.length-1])}while(e[0]);return this},Ft.prototype.listeners=function(t){var e,r,n=this._events;return r=n&&(e=n[t])?"function"==typeof e?[e.listener||e]:function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(e):[],r},Ft.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):Vt.call(t,e)},Ft.prototype.listenerCount=Vt,Ft.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Xt=Object.freeze({__proto__:null,default:Ft,EventEmitter:Ft}),$t="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t},Jt=/%[sdj%]/g;function Qt(t){if(!ge(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(ie(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(t).replace(Jt,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),o=n[r];r<i;o=n[++r])he(o)||!ye(o)?a+=" "+o:a+=" "+ie(o);return a}function te(t,e){if(me(c.process))return function(){return te(t,e).apply(this,arguments)};if(!0===Dt.noDeprecation)return t;var r=!1;return function(){if(!r){if(Dt.throwDeprecation)throw new Error(e);Dt.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}}var ee,re={};function ne(t){if(me(ee)&&(ee=Dt.env.NODE_DEBUG||""),t=t.toUpperCase(),!re[t])if(new RegExp("\\b"+t+"\\b","i").test(ee)){re[t]=function(){var e=Qt.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else re[t]=function(){};return re[t]}function ie(t,e){var r={seen:[],stylize:oe};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ce(e)?r.showHidden=e:e&&Te(r,e),me(r.showHidden)&&(r.showHidden=!1),me(r.depth)&&(r.depth=2),me(r.colors)&&(r.colors=!1),me(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ae),se(r,t,r.depth)}function ae(t,e){var r=ie.styles[e];return r?"["+ie.colors[r][0]+"m"+t+"["+ie.colors[r][1]+"m":t}function oe(t,e){return t}function se(t,e,r){if(t.customInspect&&e&&ke(e.inspect)&&e.inspect!==ie&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return ge(n)||(n=se(t,n,r)),n}var i=function(t,e){if(me(e))return t.stylize("undefined","undefined");if(ge(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(pe(e))return t.stylize(""+e,"number");if(ce(e))return t.stylize(""+e,"boolean");if(he(e))return t.stylize("null","null")}(t,e);if(i)return i;var a=Object.keys(e),o=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(e)),_e(e)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return ue(e);if(0===a.length){if(ke(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(ve(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(we(e))return t.stylize(Date.prototype.toString.call(e),"date");if(_e(e))return ue(e)}var u,l="",f=!1,c=["{","}"];(fe(e)&&(f=!0,c=["[","]"]),ke(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return ve(e)&&(l=" "+RegExp.prototype.toString.call(e)),we(e)&&(l=" "+Date.prototype.toUTCString.call(e)),_e(e)&&(l=" "+ue(e)),0!==a.length||f&&0!=e.length?r<0?ve(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=f?function(t,e,r,n,i){for(var a=[],o=0,s=e.length;o<s;++o)Pe(e,String(o))?a.push(le(t,e,r,n,String(o),!0)):a.push("");return i.forEach((function(i){i.match(/^\d+$/)||a.push(le(t,e,r,n,i,!0))})),a}(t,e,r,o,a):a.map((function(n){return le(t,e,r,o,n,f)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,l,c)):c[0]+l+c[1]}function ue(t){return"["+Error.prototype.toString.call(t)+"]"}function le(t,e,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),Pe(n,i)||(o="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=he(r)?se(t,u.value,null):se(t,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),me(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function fe(t){return Array.isArray(t)}function ce(t){return"boolean"==typeof t}function he(t){return null===t}function de(t){return null==t}function pe(t){return"number"==typeof t}function ge(t){return"string"==typeof t}function be(t){return"symbol"==typeof t}function me(t){return void 0===t}function ve(t){return ye(t)&&"[object RegExp]"===Ae(t)}function ye(t){return"object"==typeof t&&null!==t}function we(t){return ye(t)&&"[object Date]"===Ae(t)}function _e(t){return ye(t)&&("[object Error]"===Ae(t)||t instanceof Error)}function ke(t){return"function"==typeof t}function xe(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function Se(t){return ut(t)}function Ae(t){return Object.prototype.toString.call(t)}function Ce(t){return t<10?"0"+t.toString(10):t.toString(10)}ie.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ie.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Ee=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Re(){var t=new Date,e=[Ce(t.getHours()),Ce(t.getMinutes()),Ce(t.getSeconds())].join(":");return[t.getDate(),Ee[t.getMonth()],e].join(" ")}function Oe(){console.log("%s - %s",Re(),Qt.apply(null,arguments))}function Te(t,e){if(!e||!ye(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Pe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Le={inherits:$t,_extend:Te,log:Oe,isBuffer:Se,isPrimitive:xe,isFunction:ke,isError:_e,isDate:we,isObject:ye,isRegExp:ve,isUndefined:me,isSymbol:be,isString:ge,isNumber:pe,isNullOrUndefined:de,isNull:he,isBoolean:ce,isArray:fe,inspect:ie,deprecate:te,format:Qt,debuglog:ne},Me=Object.freeze({__proto__:null,format:Qt,deprecate:te,debuglog:ne,inspect:ie,isArray:fe,isBoolean:ce,isNull:he,isNullOrUndefined:de,isNumber:pe,isString:ge,isSymbol:be,isUndefined:me,isRegExp:ve,isObject:ye,isDate:we,isError:_e,isFunction:ke,isPrimitive:xe,isBuffer:Se,log:Oe,inherits:$t,_extend:Te,default:Le});function Ie(){this.head=null,this.tail=null,this.length=0}Ie.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},Ie.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},Ie.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},Ie.prototype.clear=function(){this.head=this.tail=null,this.length=0},Ie.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},Ie.prototype.concat=function(t){if(0===this.length)return C.alloc(0);if(1===this.length)return this.head.data;for(var e=C.allocUnsafe(t>>>0),r=this.head,n=0;r;)r.data.copy(e,n),n+=r.data.length,r=r.next;return e};var Be=C.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function De(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Be(t))throw new Error("Unknown encoding: "+t)}(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=je;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Fe;break;default:return void(this.write=ze)}this.charBuffer=new C(6),this.charReceived=0,this.charLength=0}function ze(t){return t.toString(this.encoding)}function je(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function Fe(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}De.prototype.write=function(t){for(var e="";this.charLength;){var r=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(t=t.slice(r,t.length),!((i=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var n=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,n),n-=this.charReceived);var i;n=(e+=t.toString(this.encoding,0,n)).length-1;if((i=e.charCodeAt(n))>=55296&&i<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),t.copy(this.charBuffer,0,0,a),e.substring(0,n)}return e},De.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var r=t[t.length-e];if(1==e&&r>>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},De.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;e+=n.slice(0,r).toString(i)}return e},He.ReadableState=Ue;var Ne=ne("stream");function Ue(t,e){t=t||{},this.objectMode=!!t.objectMode,e instanceof gr&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new Ie,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(this.decoder=new De(t.encoding),this.encoding=t.encoding)}function He(t){if(!(this instanceof He))return new He(t);this._readableState=new Ue(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),Ft.call(this)}function We(t,e,r,n,i){var a=function(t,e){var r=null;ut(e)||"string"==typeof e||null==e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(e,r);if(a)t.emit("error",a);else if(null===r)e.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,qe(t)}(t,e);else if(e.objectMode||r&&r.length>0)if(e.ended&&!i){var o=new Error("stream.push() after EOF");t.emit("error",o)}else if(e.endEmitted&&i){var s=new Error("stream.unshift() after end event");t.emit("error",s)}else{var u;!e.decoder||i||n||(r=e.decoder.write(r),u=!e.objectMode&&0===r.length),i||(e.reading=!1),u||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,i?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&qe(t))),function(t,e){e.readingMore||(e.readingMore=!0,xt(Ge,t,e))}(t,e)}else i||(e.reading=!1);return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(e)}$t(He,Ft),He.prototype.push=function(t,e){var r=this._readableState;return r.objectMode||"string"!=typeof t||(e=e||r.defaultEncoding)!==r.encoding&&(t=C.from(t,e),e=""),We(this,r,t,e,!1)},He.prototype.unshift=function(t){return We(this,this._readableState,t,"",!0)},He.prototype.isPaused=function(){return!1===this._readableState.flowing},He.prototype.setEncoding=function(t){return this._readableState.decoder=new De(t),this._readableState.encoding=t,this};function Ze(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function qe(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Ne("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?xt(Ye,t):Ye(t))}function Ye(t){Ne("emit readable"),t.emit("readable"),Xe(t)}function Ge(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(Ne("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function Ve(t){Ne("readable nexttick read 0"),t.read(0)}function Ke(t,e){e.reading||(Ne("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),Xe(t),e.flowing&&!e.reading&&t.read(0)}function Xe(t){var e=t._readableState;for(Ne("flow",e.flowing);e.flowing&&null!==t.read(););}function $e(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var a=r.data,o=t>a.length?a.length:t;if(o===a.length?i+=a:i+=a.slice(0,t),0===(t-=o)){o===a.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=a.slice(o));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=C.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var a=n.data,o=t>a.length?a.length:t;if(a.copy(r,r.length-t,0,o),0===(t-=o)){o===a.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=a.slice(o));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function Je(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,xt(Qe,e,t))}function Qe(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function tr(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function er(){}function rr(t,e,r){this.chunk=t,this.encoding=e,this.callback=r,this.next=null}function nr(t,e){Object.defineProperty(this,"buffer",{get:te((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),t=t||{},this.objectMode=!!t.objectMode,e instanceof gr&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?xt(i,n):i(n);t._writableState.errorEmitted=!0,t.emit("error",n)}(t,r,n,e,i);else{var a=ur(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||sr(t,r),n?xt(or,t,r,a,i):or(t,r,a,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new cr(this)}function ir(t){if(!(this instanceof ir||this instanceof gr))return new ir(t);this._writableState=new nr(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),Ft.call(this)}function ar(t,e,r,n,i,a,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,a,e.onwrite),e.sync=!1}function or(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),fr(t,e)}function sr(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var o=0;r;)i[o]=r,r=r.next,o+=1;ar(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new cr(e)}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback;if(ar(t,e,!1,e.objectMode?1:s.length,s,u,l),r=r.next,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=r,e.bufferProcessing=!1}function ur(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function lr(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function fr(t,e){var r=ur(e);return r&&(0===e.pendingcb?(lr(t,e),e.finished=!0,t.emit("finish")):lr(t,e)),r}function cr(t){var e=this;this.next=null,this.entry=null,this.finish=function(r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}}He.prototype.read=function(t){Ne("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Ne("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?Je(this):qe(this),null;if(0===(t=Ze(t,e))&&e.ended)return 0===e.length&&Je(this),null;var n,i=e.needReadable;return Ne("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&Ne("length less than watermark",i=!0),e.ended||e.reading?Ne("reading or ended",i=!1):i&&(Ne("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Ze(r,e))),null===(n=t>0?$e(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Je(this)),null!==n&&this.emit("data",n),n},He.prototype._read=function(t){this.emit("error",new Error("not implemented"))},He.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,Ne("pipe count=%d opts=%j",n.pipesCount,e);var i=!e||!1!==e.end?o:l;function a(t){Ne("onunpipe"),t===r&&l()}function o(){Ne("onend"),t.end()}n.endEmitted?xt(i):r.once("end",i),t.on("unpipe",a);var s=function(t){return function(){var e=t._readableState;Ne("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&t.listeners("data").length&&(e.flowing=!0,Xe(t))}}(r);t.on("drain",s);var u=!1;function l(){Ne("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",s),t.removeListener("error",h),t.removeListener("unpipe",a),r.removeListener("end",o),r.removeListener("end",l),r.removeListener("data",c),u=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||s()}var f=!1;function c(e){Ne("ondata"),f=!1,!1!==t.write(e)||f||((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==tr(n.pipes,t))&&!u&&(Ne("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,f=!0),r.pause())}function h(e){var r;Ne("onerror",e),g(),t.removeListener("error",h),0===(r="error",t.listeners(r).length)&&t.emit("error",e)}function d(){t.removeListener("finish",p),g()}function p(){Ne("onfinish"),t.removeListener("close",d),g()}function g(){Ne("unpipe"),r.unpipe(t)}return r.on("data",c),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",h),t.once("close",d),t.once("finish",p),t.emit("pipe",r),n.flowing||(Ne("pipe resume"),r.resume()),t},He.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this)),this;if(!t){var r=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<n;i++)r[i].emit("unpipe",this);return this}var a=tr(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this)),this},He.prototype.on=function(t,e){var r=Ft.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&qe(this):xt(Ve,this))}return r},He.prototype.addListener=He.prototype.on,He.prototype.resume=function(){var t=this._readableState;return t.flowing||(Ne("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,xt(Ke,t,e))}(this,t)),this},He.prototype.pause=function(){return Ne("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ne("pause"),this._readableState.flowing=!1,this.emit("pause")),this},He.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;for(var i in t.on("end",(function(){if(Ne("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&n.push(t)}n.push(null)})),t.on("data",(function(i){(Ne("wrapped data"),e.decoder&&(i=e.decoder.write(i)),e.objectMode&&null==i)||(e.objectMode||i&&i.length)&&(n.push(i)||(r=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));return function(t,e){for(var r=0,n=t.length;r<n;r++)e(t[r],r)}(["error","close","destroy","pause","resume"],(function(e){t.on(e,n.emit.bind(n,e))})),n._read=function(e){Ne("wrapped _read",e),r&&(r=!1,t.resume())},n},He._fromList=$e,ir.WritableState=nr,$t(ir,Ft),nr.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},ir.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},ir.prototype.write=function(t,e,r){var n=this._writableState,i=!1;return"function"==typeof e&&(r=e,e=null),C.isBuffer(t)?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=er),n.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),xt(e,r)}(this,r):function(t,e,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):C.isBuffer(r)||"string"==typeof r||void 0===r||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),xt(n,a),i=!1),i}(this,n,t,r)&&(n.pendingcb++,i=function(t,e,r,n,i){r=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=C.from(e,r));return e}(e,r,n),C.isBuffer(r)&&(n="buffer");var a=e.objectMode?1:r.length;e.length+=a;var o=e.length<e.highWaterMark;o||(e.needDrain=!0);if(e.writing||e.corked){var s=e.lastBufferedRequest;e.lastBufferedRequest=new rr(r,n,i),s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else ar(t,e,!1,a,r,n,i);return o}(this,n,t,e,r)),i},ir.prototype.cork=function(){this._writableState.corked++},ir.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||sr(this,t))},ir.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},ir.prototype._write=function(t,e,r){r(new Error("not implemented"))},ir.prototype._writev=null,ir.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,fr(t,e),r&&(e.finished?xt(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},$t(gr,He);for(var hr=Object.keys(ir.prototype),dr=0;dr<hr.length;dr++){var pr=hr[dr];gr.prototype[pr]||(gr.prototype[pr]=ir.prototype[pr])}function gr(t){if(!(this instanceof gr))return new gr(t);He.call(this,t),ir.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",br)}function br(){this.allowHalfOpen||this._writableState.ended||xt(mr,this)}function mr(t){t.end()}function vr(t){this.afterTransform=function(e,r){return function(t,e,r){var n=t._transformState;n.transforming=!1;var i=n.writecb;if(!i)return t.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&t.push(r);i(e);var a=t._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&t._read(a.highWaterMark)}(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function yr(t){if(!(this instanceof yr))return new yr(t);gr.call(this,t),this._transformState=new vr(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(t){wr(e,t)})):wr(e)}))}function wr(t,e){if(e)return t.emit("error",e);var r=t._writableState,n=t._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}function _r(t){if(!(this instanceof _r))return new _r(t);yr.call(this,t)}function kr(){Ft.call(this)}$t(yr,gr),yr.prototype.push=function(t,e){return this._transformState.needTransform=!1,gr.prototype.push.call(this,t,e)},yr.prototype._transform=function(t,e,r){throw new Error("Not implemented")},yr.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},yr.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},$t(_r,yr),_r.prototype._transform=function(t,e,r){r(null,t)},$t(kr,Ft),kr.Readable=He,kr.Writable=ir,kr.Duplex=gr,kr.Transform=yr,kr.PassThrough=_r,kr.Stream=kr,kr.prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",i),t._isStdio||e&&!1===e.end||(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,t.end())}function s(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===Ft.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t};var xr,Sr,Ar,Cr=i(Object.freeze({__proto__:null,default:kr,Readable:He,Writable:ir,Duplex:gr,Transform:yr,PassThrough:_r,Stream:kr})),Er={exports:{}};function Rr(){if(xr)return Er.exports;return xr=1,void 0===Dt||!Dt.version||0===Dt.version.indexOf("v0.")||0===Dt.version.indexOf("v1.")&&0!==Dt.version.indexOf("v1.8.")?Er.exports={nextTick:function(t,e,r,n){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return xt(t);case 2:return xt((function(){t.call(null,e)}));case 3:return xt((function(){t.call(null,e,r)}));case 4:return xt((function(){t.call(null,e,r,n)}));default:for(i=new Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return xt((function(){t.apply(null,i)}))}}}:Er.exports=Dt,Er.exports}var Or,Tr=i(Xt),Pr={exports:{}};function Lr(){return Or?Pr.exports:(Or=1,Pr.exports=Cr)}var Mr,Ir={exports:{}},Br=i(ft);function Dr(){return Mr||(Mr=1,function(t,e){var r=Br,n=r.Buffer;function i(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return n(t,e,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=a),i(n,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return n(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var i=n(t);return void 0!==e?"string"==typeof r?i.fill(e,r):i.fill(e):i.fill(0),i},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}}(Ir,Ir.exports)),Ir.exports}var zr,jr={};function Fr(){if(zr)return jr;function t(t){return Object.prototype.toString.call(t)}return zr=1,jr.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},jr.isBoolean=function(t){return"boolean"==typeof t},jr.isNull=function(t){return null===t},jr.isNullOrUndefined=function(t){return null==t},jr.isNumber=function(t){return"number"==typeof t},jr.isString=function(t){return"string"==typeof t},jr.isSymbol=function(t){return"symbol"==typeof t},jr.isUndefined=function(t){return void 0===t},jr.isRegExp=function(e){return"[object RegExp]"===t(e)},jr.isObject=function(t){return"object"==typeof t&&null!==t},jr.isDate=function(e){return"[object Date]"===t(e)},jr.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},jr.isFunction=function(t){return"function"==typeof t},jr.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},jr.isBuffer=Br.Buffer.isBuffer,jr}var Nr,Ur,Hr={exports:{}},Wr=i(Me),Zr={exports:{}};function qr(){return Ur||(Ur=1,function(t){try{var e=Wr;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=(Nr||(Nr=1,"function"==typeof Object.create?Zr.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Zr.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),Zr.exports)}}(Hr)),Hr.exports}var Yr,Gr,Vr,Kr,Xr,$r,Jr,Qr,tn,en={exports:{}};function rn(){return Yr||(Yr=1,function(t){var e=Dr().Buffer,r=Wr;t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return e.alloc(0);if(1===this.length)return this.head.data;for(var r,n,i,a=e.allocUnsafe(t>>>0),o=this.head,s=0;o;)r=o.data,n=a,i=s,r.copy(n,i),s+=o.data.length,o=o.next;return a},t}(),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var t=r.inspect({length:this.length});return this.constructor.name+" "+t})}(en)),en.exports}function nn(){if(Vr)return Gr;Vr=1;var t=Rr();function e(t,e){t.emit("error",e)}return Gr={destroy:function(r,n){var i=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(n?n(r):!r||this._writableState&&this._writableState.errorEmitted||t.nextTick(e,this,r),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(r){!n&&r?(t.nextTick(e,i,r),i._writableState&&(i._writableState.errorEmitted=!0)):n&&n(r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},Gr}function an(){if(Jr)return $r;Jr=1;var t=Rr();function e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}$r=p;var r,i=t.nextTick;p.WritableState=d;var a=Object.create(Fr());a.inherits=qr();var o={deprecate:Xr?Kr:(Xr=1,Kr=Wr.deprecate)},s=Lr(),u=Dr().Buffer,l=n.Uint8Array||function(){};var f,c=nn();function h(){}function d(n,a){r=r||on(),n=n||{};var o=a instanceof r;this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode);var s=n.highWaterMark,u=n.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:o&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===n.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,r){var n=e._writableState,a=n.sync,o=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function(e,r,n,i,a){--r.pendingcb,n?(t.nextTick(a,i),t.nextTick(w,e,r),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),w(e,r))}(e,n,a,r,o);else{var s=v(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||m(e,n),a?i(b,e,n,s,o):b(e,n,s,o)}}(a,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function p(t){if(r=r||on(),!(f.call(p,this)||this instanceof r))return new p(t);this._writableState=new d(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function g(t,e,r,n,i,a,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,a,e.onwrite),e.sync=!1}function b(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),w(t,e)}function m(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var i=r.bufferedRequestCount,a=new Array(i),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)a[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;a.allBuffers=u,g(t,r,!0,r.length,a,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,f=n.encoding,c=n.callback;if(g(t,r,!1,r.objectMode?1:l.length,l,f,c),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function v(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function y(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),w(t,e)}))}function w(e,r){var n=v(r);return n&&(!function(e,r){r.prefinished||r.finalCalled||("function"==typeof e._final?(r.pendingcb++,r.finalCalled=!0,t.nextTick(y,e,r)):(r.prefinished=!0,e.emit("prefinish")))}(e,r),0===r.pendingcb&&(r.finished=!0,e.emit("finish"))),n}return a.inherits(p,s),d.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(t){return!!f.call(this,t)||this===p&&(t&&t._writableState instanceof d)}})):f=function(t){return t instanceof this},p.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},p.prototype.write=function(e,r,n){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof l);return s&&!u.isBuffer(e)&&(e=function(t){return u.from(t)}(e)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=a.defaultEncoding),"function"!=typeof n&&(n=h),a.ended?function(e,r){var n=new Error("write after end");e.emit("error",n),t.nextTick(r,n)}(this,n):(s||function(e,r,n,i){var a=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),t.nextTick(i,o),a=!1),a}(this,a,e,n))&&(a.pendingcb++,o=function(t,e,r,n,i,a){if(!r){var o=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r));return e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=e.objectMode?1:n.length;e.length+=s;var l=e.length<e.highWaterMark;l||(e.needDrain=!0);if(e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else g(t,e,!1,s,n,i,a);return l}(this,a,s,e,r,n)),o},p.prototype.cork=function(){this._writableState.corked++},p.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},p.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),p.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},p.prototype._writev=null,p.prototype.end=function(e,r,n){var i=this._writableState;"function"==typeof e?(n=e,e=null,r=null):"function"==typeof r&&(n=r,r=null),null!=e&&this.write(e,r),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||function(e,r,n){r.ending=!0,w(e,r),n&&(r.finished?t.nextTick(n):e.once("finish",n));r.ended=!0,e.writable=!1}(this,i,n)},Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),p.prototype.destroy=c.destroy,p.prototype._undestroy=c.undestroy,p.prototype._destroy=function(t,e){this.end(),e(t)},$r}function on(){if(tn)return Qr;tn=1;var t=Rr(),e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Qr=u;var r=Object.create(Fr());r.inherits=qr();var n=mn(),i=an();r.inherits(u,n);for(var a=e(i.prototype),o=0;o<a.length;o++){var s=a[o];u.prototype[s]||(u.prototype[s]=i.prototype[s])}function u(t){if(!(this instanceof u))return new u(t);n.call(this,t),i.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||t.nextTick(f,this)}function f(t){t.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),u.prototype._destroy=function(e,r){this.push(null),this.end(),t.nextTick(r,e)},Qr}var sn,un,ln,fn,cn,hn,dn,pn,gn={};function bn(){if(sn)return gn;sn=1;var t=Dr().Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(r);if("string"!=typeof n&&(t.isEncoding===e||!e(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=a,this.end=o,n=4;break;case"utf8":this.fillLast=i,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function n(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function i(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function a(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function o(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function s(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}return gn.StringDecoder=r,r.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},r.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},r.prototype.text=function(t,e){var r=function(t,e,r){var i=e.length-1;if(i<r)return 0;var a=n(e[i]);if(a>=0)return a>0&&(t.lastNeed=a-1),a;if(--i<r||-2===a)return 0;if((a=n(e[i]))>=0)return a>0&&(t.lastNeed=a-2),a;if(--i<r||-2===a)return 0;if((a=n(e[i]))>=0)return a>0&&(2===a?a=0:t.lastNeed=a-3),a;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var i=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)},r.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},gn}function mn(){if(ln)return un;ln=1;var t=Rr();un=b;var e,r=function(){if(Ar)return Sr;Ar=1;var t={}.toString;return Sr=Array.isArray||function(e){return"[object Array]"==t.call(e)}}();b.ReadableState=g,Tr.EventEmitter;var i=function(t,e){return t.listeners(e).length},a=Lr(),o=Dr().Buffer,s=n.Uint8Array||function(){};var u=Object.create(Fr());u.inherits=qr();var l=Wr,f=void 0;f=l&&l.debuglog?l.debuglog("stream"):function(){};var c,h=rn(),d=nn();u.inherits(b,a);var p=["error","close","destroy","pause","resume"];function g(t,r){t=t||{};var n=r instanceof(e=e||on());this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=bn().StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function b(t){if(e=e||on(),!(this instanceof b))return new b(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function m(t,e,r,n,i){var a,u=t._readableState;null===e?(u.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,u)):(i||(a=function(t,e){var r;n=e,o.isBuffer(n)||n instanceof s||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(u,e)),a?t.emit("error",a):u.objectMode||e&&e.length>0?("string"==typeof e||u.objectMode||Object.getPrototypeOf(e)===o.prototype||(e=function(t){return o.from(t)}(e)),n?u.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):v(t,u,e,!0):u.ended?t.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(e=u.decoder.write(e),u.objectMode||0!==e.length?v(t,u,e,!1):x(t,u)):v(t,u,e,!1))):n||(u.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(u)}function v(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),x(t,e)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),b.prototype.destroy=d.destroy,b.prototype._undestroy=d.undestroy,b.prototype._destroy=function(t,e){this.push(null),e(t)},b.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=o.from(t,e),e=""),r=!0),m(this,t,e,!1,r)},b.prototype.unshift=function(t){return m(this,t,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return c||(c=bn().StringDecoder),this._readableState.decoder=new c(t),this._readableState.encoding=t,this};var y=8388608;function w(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=y?t=y:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(e){var r=e._readableState;r.needReadable=!1,r.emittedReadable||(f("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?t.nextTick(k,e):k(e))}function k(t){f("emit readable"),t.emit("readable"),E(t)}function x(e,r){r.readingMore||(r.readingMore=!0,t.nextTick(S,e,r))}function S(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(f("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function A(t){f("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(f("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),E(t),e.flowing&&!e.reading&&t.read(0)}function E(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function R(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var a=r.data,o=t>a.length?a.length:t;if(o===a.length?i+=a:i+=a.slice(0,t),0===(t-=o)){o===a.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=a.slice(o));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=o.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var a=n.data,s=t>a.length?a.length:t;if(a.copy(r,r.length-t,0,s),0===(t-=s)){s===a.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=a.slice(s));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function O(e){var r=e._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,t.nextTick(T,r,e))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function P(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}return b.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?O(this):_(this),null;if(0===(t=w(t,e))&&e.ended)return 0===e.length&&O(this),null;var n,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",i=!0),e.ended||e.reading?f("reading or ended",i=!1):i&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=w(r,e))),null===(n=t>0?R(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&O(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,n){var a=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,n);var s=(!n||!1!==n.end)&&e!==Dt.stdout&&e!==Dt.stderr?l:v;function u(t,r){f("onunpipe"),t===a&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",g),e.removeListener("unpipe",u),a.removeListener("end",l),a.removeListener("end",v),a.removeListener("data",p),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){f("onend"),e.end()}o.endEmitted?t.nextTick(s):a.once("end",s),e.on("unpipe",u);var c=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&i(t,"data")&&(e.flowing=!0,E(t))}}(a);e.on("drain",c);var h=!1;var d=!1;function p(t){f("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==P(o.pipes,e))&&!h&&(f("false write response, pause",a._readableState.awaitDrain),a._readableState.awaitDrain++,d=!0),a.pause())}function g(t){f("onerror",t),v(),e.removeListener("error",g),0===i(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",m),v()}function m(){f("onfinish"),e.removeListener("close",b),v()}function v(){f("unpipe"),a.unpipe(e)}return a.on("data",p),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?r(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(e,"error",g),e.once("close",b),e.once("finish",m),e.emit("pipe",a),o.flowing||(f("pipe resume"),a.resume()),e},b.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=P(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},b.prototype.on=function(e,r){var n=a.prototype.on.call(this,e,r);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&_(this):t.nextTick(A,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.nextTick(C,e,r))}(this,e)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a<p.length;a++)t.on(p[a],this.emit.bind(this,p[a]));return this._read=function(e){f("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=R,un}function vn(){if(cn)return fn;cn=1,fn=n;var t=on(),e=Object.create(Fr());function r(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function n(e){if(!(this instanceof n))return new n(e);t.call(this,e),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",i)}function i(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){a(t,e,r)})):a(this,null,null)}function a(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}return e.inherits=qr(),e.inherits(n,t),n.prototype.push=function(e,r){return this._transformState.needTransform=!1,t.prototype.push.call(this,e,r)},n.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},n.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},n.prototype._destroy=function(e,r){var n=this;t.prototype._destroy.call(this,e,(function(t){r(t),n.emit("close")}))},fn}function yn(){return pn||(pn=1,function(t,e){var r=Cr;"disable"===Dt.env.READABLE_STREAM&&r?(t.exports=r,(e=t.exports=r.Readable).Readable=r.Readable,e.Writable=r.Writable,e.Duplex=r.Duplex,e.Transform=r.Transform,e.PassThrough=r.PassThrough,e.Stream=r):((e=t.exports=mn()).Stream=r||e,e.Readable=e,e.Writable=an(),e.Duplex=on(),e.Transform=vn(),e.PassThrough=function(){if(dn)return hn;dn=1,hn=r;var t=vn(),e=Object.create(Fr());function r(e){if(!(this instanceof r))return new r(e);t.call(this,e)}return e.inherits=qr(),e.inherits(r,t),r.prototype._transform=function(t,e,r){r(null,t)},hn}())}(zt,zt.exports)),zt.exports}if(ct.base64=!0,ct.array=!0,ct.string=!0,ct.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,ct.nodebuffer=!0,ct.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)ct.blob=!1;else{var wn=new ArrayBuffer(0);try{ct.blob=0===new Blob([wn],{type:"application/zip"}).size}catch(t){try{var _n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_n.append(wn),ct.blob=0===_n.getBlob("application/zip").size}catch(t){ct.blob=!1}}}try{ct.nodestream=!!yn().Readable}catch(t){ct.nodestream=!1}var kn,xn={};function Sn(){if(kn)return xn;kn=1;var t=Mn(),e=ct,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return xn.encode=function(e){for(var n,i,a,o,s,u,l,f=[],c=0,h=e.length,d=h,p="string"!==t.getTypeOf(e);c<e.length;)d=h-c,p?(n=e[c++],i=c<h?e[c++]:0,a=c<h?e[c++]:0):(n=e.charCodeAt(c++),i=c<h?e.charCodeAt(c++):0,a=c<h?e.charCodeAt(c++):0),o=n>>2,s=(3&n)<<4|i>>4,u=d>1?(15&i)<<2|a>>6:64,l=d>2?63&a:64,f.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return f.join("")},xn.decode=function(t){var n,i,a,o,s,u,l=0,f=0,c="data:";if(t.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var h,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===r.charAt(64)&&d--,t.charAt(t.length-2)===r.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=e.uint8array?new Uint8Array(0|d):new Array(0|d);l<t.length;)n=r.indexOf(t.charAt(l++))<<2|(o=r.indexOf(t.charAt(l++)))>>4,i=(15&o)<<4|(s=r.indexOf(t.charAt(l++)))>>2,a=(3&s)<<6|(u=r.indexOf(t.charAt(l++))),h[f++]=n,64!==s&&(h[f++]=i),64!==u&&(h[f++]=a);return h},xn}var An,Cn,En,Rn,On={isNode:!0,newBufferFrom:function(t,e){if(C.from&&C.from!==Uint8Array.from)return C.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new C(t,e)},allocBuffer:function(t){if(C.alloc)return C.alloc(t);var e=new C(t);return e.fill(0),e},isBuffer:function(t){return ut(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}};var Tn=null;Tn="undefined"!=typeof Promise?Promise:function(){if(Rn)return En;Rn=1;var t=function(){if(Cn)return An;Cn=1;var t,e,r=n.MutationObserver||n.WebKitMutationObserver;if(r){var i=0,a=new r(l),o=n.document.createTextNode("");a.observe(o,{characterData:!0}),t=function(){o.data=i=++i%2}}else if(n.setImmediate||void 0===n.MessageChannel)t="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var t=n.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},n.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var s=new n.MessageChannel;s.port1.onmessage=l,t=function(){s.port2.postMessage(0)}}var u=[];function l(){var t,r;e=!0;for(var n=u.length;n;){for(r=u,u=[],t=-1;++t<n;)r[t]();n=u.length}e=!1}return An=function(r){1!==u.push(r)||e||t()}}();function e(){}var r={},i=["REJECTED"],a=["FULFILLED"],o=["PENDING"];function s(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,t!==e&&c(this,t)}function u(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function l(e,n,i){t((function(){var t;try{t=n(i)}catch(t){return r.reject(e,t)}t===e?r.reject(e,new TypeError("Cannot resolve promise with itself")):r.resolve(e,t)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function c(t,e){var n=!1;function i(e){n||(n=!0,r.reject(t,e))}function a(e){n||(n=!0,r.resolve(t,e))}var o=h((function(){e(a,i)}));"error"===o.status&&i(o.value)}function h(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}return En=s,s.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},s.prototype.catch=function(t){return this.then(null,t)},s.prototype.then=function(t,r){if("function"!=typeof t&&this.state===a||"function"!=typeof r&&this.state===i)return this;var n=new this.constructor(e);return this.state!==o?l(n,this.state===a?t:r,this.outcome):this.queue.push(new u(n,t,r)),n},u.prototype.callFulfilled=function(t){r.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){l(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){r.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){l(this.promise,this.onRejected,t)},r.resolve=function(t,e){var n=h(f,e);if("error"===n.status)return r.reject(t,n.value);var i=n.value;if(i)c(t,i);else{t.state=a,t.outcome=e;for(var o=-1,s=t.queue.length;++o<s;)t.queue[o].callFulfilled(e)}return t},r.reject=function(t,e){t.state=i,t.outcome=e;for(var r=-1,n=t.queue.length;++r<n;)t.queue[r].callRejected(e);return t},s.resolve=function(t){return t instanceof this?t:r.resolve(new this(e),t)},s.reject=function(t){var n=new this(e);return r.reject(n,t)},s.all=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,a=!1;if(!i)return this.resolve([]);for(var o=new Array(i),s=0,u=-1,l=new this(e);++u<i;)f(t[u],u);return l;function f(t,e){n.resolve(t).then((function(t){o[e]=t,++s!==i||a||(a=!0,r.resolve(l,o))}),(function(t){a||(a=!0,r.reject(l,t))}))}},s.race=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,a=!1;if(!i)return this.resolve([]);for(var o,s=-1,u=new this(e);++s<i;)o=t[s],n.resolve(o).then((function(t){a||(a=!0,r.resolve(u,t))}),(function(t){a||(a=!0,r.reject(u,t))}));return u},En}();var Pn,Ln={Promise:Tn};function Mn(){return Pn||(Pn=1,function(t){var e=ct,r=Sn(),n=On,i=Ln;function a(t){return t}function o(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}t.newBlob=function(e,r){t.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(t,e,r){var n=[],i=0,a=t.length;if(a<=r)return String.fromCharCode.apply(null,t);for(;i<a;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return e.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return e.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(t){return!1}}()}};function u(e){var r=65536,n=t.getTypeOf(e),i=!0;if("uint8array"===n?i=s.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=s.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return s.stringifyByChunk(e,n,r)}catch(t){r=Math.floor(r/2)}return s.stringifyByChar(e)}function l(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}t.applyFromCharCode=u;var f={};f.string={string:a,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:function(t){return o(t,n.allocBuffer(t.length))}},f.array={string:u,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return l(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return n.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:a},t.transformTo=function(e,r){if(r||(r=""),!e)return r;t.checkSupport(e);var n=t.getTypeOf(r);return f[n][e](r)},t.resolve=function(t){for(var e=t.split("/"),r=[],n=0;n<e.length;n++){var i=e[n];"."===i||""===i&&0!==n&&n!==e.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},t.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":e.nodebuffer&&n.isBuffer(t)?"nodebuffer":e.uint8array&&t instanceof Uint8Array?"uint8array":e.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(t){if(!e[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},t.delay=function(t,e,r){setImmediate((function(){t.apply(r||null,e||[])}))},t.inherits=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r},t.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},t.prepareContent=function(n,a,s,u,l){return i.Promise.resolve(a).then((function(t){return e.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new i.Promise((function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(a){var f,c=t.getTypeOf(a);return c?("arraybuffer"===c?a=t.transformTo("uint8array",a):"string"===c&&(l?a=r.decode(a):s&&!0!==u&&(a=o(f=a,e.uint8array?new Uint8Array(f.length):new Array(f.length)))),a):i.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}}(f)),f}function In(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(t,e){if(!t.setImmediate){var r,n,i,a,o,s=1,u={},l=!1,f=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?r=function(t){xt((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){d(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(n=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):r=function(t){setTimeout(d,0,t)}:(a="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&d(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),r=function(e){t.postMessage(a+e,"*")}),c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return u[s]=i,r(s),s++},c.clearImmediate=h}function h(t){delete u[t]}function d(t){if(l)setTimeout(d,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?n:self),In.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}};var Bn=In;!function(t){for(var e=Mn(),r=ct,n=On,i=Bn,a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;a[254]=a[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}t.utf8encode=function(t){return r.nodebuffer?n.newBufferFrom(t,"utf-8"):function(t){var e,n,i,a,o,s=t.length,u=0;for(a=0;a<s;a++)55296==(64512&(n=t.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=t.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),u+=n<128?1:n<2048?2:n<65536?3:4;for(e=r.uint8array?new Uint8Array(u):new Array(u),o=0,a=0;o<u;a++)55296==(64512&(n=t.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=t.charCodeAt(a+1)))&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?e[o++]=n:n<2048?(e[o++]=192|n>>>6,e[o++]=128|63&n):n<65536?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e}(t)},t.utf8decode=function(t){return r.nodebuffer?e.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,n,i,o,s=t.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((i=t[r++])<128)u[n++]=i;else if((o=a[i])>4)u[n++]=65533,r+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&r<s;)i=i<<6|63&t[r++],o--;o>1?u[n++]=65533:i<65536?u[n++]=i:(i-=65536,u[n++]=55296|i>>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),e.applyFromCharCode(u)}(t=e.transformTo(r.uint8array?"uint8array":"array",t))},e.inherits(s,i),s.prototype.processChunk=function(n){var i=e.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=i;(i=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),i.set(o,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}(i),u=i;s!==i.length&&(r.uint8array?(u=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(u=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:t.utf8decode(u),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=s,e.inherits(u,i),u.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=u}(l);var Dn=Bn,zn=Mn();function jn(t){Dn.call(this,"ConvertWorker to "+t),this.destType=t}zn.inherits(jn,Dn),jn.prototype.processChunk=function(t){this.push({data:zn.transformTo(this.destType,t.data),meta:t.meta})};var Fn,Nn,Un=jn;var Hn=Mn(),Wn=Un,Zn=Bn,qn=Sn(),Yn=Ln,Gn=null;if(ct.nodestream)try{Gn=function(){if(Nn)return Fn;Nn=1;var t=yn().Readable;function e(e,r,n){t.call(this,r),this._helper=e;var i=this;e.on("data",(function(t,e){i.push(t)||i._helper.pause(),n&&n(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}return Mn().inherits(e,t),e.prototype._read=function(){this._helper.resume()},Fn=e}()}catch(t){}function Vn(t,e){return new Yn.Promise((function(r,n){var i=[],a=t._internalType,o=t._outputType,s=t._mimeType;t.on("data",(function(t,r){i.push(t),e&&e(r)})).on("error",(function(t){i=[],n(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return Hn.newBlob(Hn.transformTo("arraybuffer",e),r);case"base64":return qn.encode(e);default:return Hn.transformTo(t,e)}}(o,function(t,e){var r,n=0,i=null,a=0;for(r=0;r<e.length;r++)a+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(i=new Uint8Array(a),r=0;r<e.length;r++)i.set(e[r],n),n+=e[r].length;return i;case"nodebuffer":return C.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(a,i),s);r(t)}catch(t){n(t)}i=[]})).resume()}))}function Kn(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,Hn.checkSupport(n),this._worker=t.pipe(new Wn(n)),t.lock()}catch(t){this._worker=new Zn("error"),this._worker.error(t)}}Kn.prototype={accumulate:function(t){return Vn(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){Hn.delay(e,arguments,r)})),this},resume:function(){return Hn.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(Hn.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new Gn(this,{objectMode:"nodebuffer"!==this._outputType},t)}};var Xn=Kn,$n={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},Jn=Mn(),Qn=Bn;function ti(t){Qn.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=Jn.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}Jn.inherits(ti,Qn),ti.prototype.cleanUp=function(){Qn.prototype.cleanUp.call(this),this.data=null},ti.prototype.resume=function(){return!!Qn.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Jn.delay(this._tickAndRepeat,[],this)),!0)},ti.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Jn.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},ti.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};var ei=ti,ri=Mn();var ni=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();var ii=function(t,e){return void 0!==t&&t.length?"string"!==ri.getTypeOf(t)?function(t,e,r,n){var i=ni,a=n+r;t^=-1;for(var o=n;o<a;o++)t=t>>>8^i[255&(t^e[o])];return-1^t}(0|e,t,t.length,0):function(t,e,r,n){var i=ni,a=n+r;t^=-1;for(var o=n;o<a;o++)t=t>>>8^i[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length,0):0},ai=Bn,oi=ii;function si(){ai.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Mn().inherits(si,ai),si.prototype.processChunk=function(t){this.streamInfo.crc32=oi(t.data,this.streamInfo.crc32||0),this.push(t)};var ui=si,li=Mn(),fi=Bn;function ci(t){fi.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}li.inherits(ci,fi),ci.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}fi.prototype.processChunk.call(this,t)};var hi=Ln,di=ei,pi=ui,gi=ci;function bi(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}bi.prototype={getContentWorker:function(){var t=new di(hi.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new gi("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new di(hi.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},bi.createWorkerFrom=function(t,e,r){return t.pipe(new pi).pipe(new gi("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new gi("compressedSize")).withStreamInfo("compression",e)};var mi=bi,vi=Xn,yi=ei,wi=l,_i=mi,ki=Bn,xi=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};xi.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var n="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(e=e.pipe(new wi.Utf8EncodeWorker)),!i&&n&&(e=e.pipe(new wi.Utf8DecodeWorker))}catch(t){(e=new ki("error")).error(t)}return new vi(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof _i&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new wi.Utf8EncodeWorker)),_i.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof _i?this._data.getContentWorker():this._data instanceof ki?this._data:new yi(this._data)}};for(var Si=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ai=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Ci=0;Ci<Si.length;Ci++)xi.prototype[Si[Ci]]=Ai;var Ei=xi,Ri={},Oi={},Ti={},Pi={};!function(t){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.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 i in n)r(n,i)&&(t[i]=n[i])}}return t},t.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var a=0;a<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){var e,r,n,i,a,o;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(o=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)a=t[e],o.set(a,i),i+=a.length;return o}},i={arraySet:function(t,e,r,n,i){for(var a=0;a<n;a++)t[i+a]=e[r+a]},flattenChunks:function(t){return[].concat.apply([],t)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,i))},t.setTyped(e)}(Pi);var Li={},Mi={},Ii={},Bi=Pi;function Di(t){for(var e=t.length;--e>=0;)t[e]=0}var zi=[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],ji=[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],Fi=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ni=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ui=new Array(576);Di(Ui);var Hi=new Array(60);Di(Hi);var Wi=new Array(512);Di(Wi);var Zi=new Array(256);Di(Zi);var qi=new Array(29);Di(qi);var Yi,Gi,Vi,Ki=new Array(30);function Xi(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function $i(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function Ji(t){return t<256?Wi[t]:Wi[256+(t>>>7)]}function Qi(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function ta(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,Qi(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function ea(t,e,r){ta(t,r[2*e],r[2*e+1])}function ra(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function na(t,e,r){var n,i,a=new Array(16),o=0;for(n=1;n<=15;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=ra(a[s]++,s))}}function ia(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 aa(t){t.bi_valid>8?Qi(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 oa(t,e,r,n){var i=2*e,a=2*r;return t[i]<t[a]||t[i]===t[a]&&n[e]<=n[r]}function sa(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&oa(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!oa(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function ua(t,e,r){var n,i,a,o,s=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],i=t.pending_buf[t.l_buf+s],s++,0===n?ea(t,i,e):(ea(t,(a=Zi[i])+256+1,e),0!==(o=zi[a])&&ta(t,i-=qi[a],o),ea(t,a=Ji(--n),r),0!==(o=ji[a])&&ta(t,n-=Ki[a],o))}while(s<t.last_lit);ea(t,256,e)}function la(t,e){var r,n,i,a=e.dyn_tree,o=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<u;r++)0!==a[2*r]?(t.heap[++t.heap_len]=l=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)a[2*(i=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=o[2*i+1]);for(e.max_code=l,r=t.heap_len>>1;r>=1;r--)sa(t,a,r);i=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],sa(t,a,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,a[2*i]=a[2*r]+a[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,a[2*r+1]=a[2*n+1]=i,t.heap[1]=i++,sa(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,a,o,s,u=e.dyn_tree,l=e.max_code,f=e.stat_desc.static_tree,c=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(a=0;a<=15;a++)t.bl_count[a]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(a=u[2*u[2*(n=t.heap[r])+1]+1]+1)>p&&(a=p,g++),u[2*n+1]=a,n>l||(t.bl_count[a]++,o=0,n>=d&&(o=h[n-d]),s=u[2*n],t.opt_len+=s*(a+o),c&&(t.static_len+=s*(f[2*n+1]+o)));if(0!==g){do{for(a=p-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(n=t.bl_count[a];0!==n;)(i=t.heap[--r])>l||(u[2*i+1]!==a&&(t.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}(t,e),na(a,l,t.bl_count)}function fa(t,e,r){var n,i,a=-1,o=e[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=e[2*(n+1)+1],++s<u&&i===o||(s<l?t.bl_tree[2*i]+=s:0!==i?(i!==a&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4))}function ca(t,e,r){var n,i,a=-1,o=e[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),n=0;n<=r;n++)if(i=o,o=e[2*(n+1)+1],!(++s<u&&i===o)){if(s<l)do{ea(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(ea(t,i,t.bl_tree),s--),ea(t,16,t.bl_tree),ta(t,s-3,2)):s<=10?(ea(t,17,t.bl_tree),ta(t,s-3,3)):(ea(t,18,t.bl_tree),ta(t,s-11,7));s=0,a=i,0===o?(u=138,l=3):i===o?(u=6,l=3):(u=7,l=4)}}Di(Ki);var ha=!1;function da(t,e,r,n){ta(t,0+(n?1:0),3),function(t,e,r,n){aa(t),n&&(Qi(t,r),Qi(t,~r)),Bi.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r,!0)}Ii._tr_init=function(t){ha||(!function(){var t,e,r,n,i,a=new Array(16);for(r=0,n=0;n<28;n++)for(qi[n]=r,t=0;t<1<<zi[n];t++)Zi[r++]=n;for(Zi[r-1]=n,i=0,n=0;n<16;n++)for(Ki[n]=i,t=0;t<1<<ji[n];t++)Wi[i++]=n;for(i>>=7;n<30;n++)for(Ki[n]=i<<7,t=0;t<1<<ji[n]-7;t++)Wi[256+i++]=n;for(e=0;e<=15;e++)a[e]=0;for(t=0;t<=143;)Ui[2*t+1]=8,t++,a[8]++;for(;t<=255;)Ui[2*t+1]=9,t++,a[9]++;for(;t<=279;)Ui[2*t+1]=7,t++,a[7]++;for(;t<=287;)Ui[2*t+1]=8,t++,a[8]++;for(na(Ui,287,a),t=0;t<30;t++)Hi[2*t+1]=5,Hi[2*t]=ra(t,5);Yi=new Xi(Ui,zi,257,286,15),Gi=new Xi(Hi,ji,0,30,15),Vi=new Xi(new Array(0),Fi,0,19,7)}(),ha=!0),t.l_desc=new $i(t.dyn_ltree,Yi),t.d_desc=new $i(t.dyn_dtree,Gi),t.bl_desc=new $i(t.bl_tree,Vi),t.bi_buf=0,t.bi_valid=0,ia(t)},Ii._tr_stored_block=da,Ii._tr_flush_block=function(t,e,r,n){var i,a,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&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)),la(t,t.l_desc),la(t,t.d_desc),o=function(t){var e;for(fa(t,t.dyn_ltree,t.l_desc.max_code),fa(t,t.dyn_dtree,t.d_desc.max_code),la(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*Ni[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==e?da(t,e,r,n):4===t.strategy||a===i?(ta(t,2+(n?1:0),3),ua(t,Ui,Hi)):(ta(t,4+(n?1:0),3),function(t,e,r,n){var i;for(ta(t,e-257,5),ta(t,r-1,5),ta(t,n-4,4),i=0;i<n;i++)ta(t,t.bl_tree[2*Ni[i]+1],3);ca(t,t.dyn_ltree,e-1),ca(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),ua(t,t.dyn_ltree,t.dyn_dtree)),ia(t),n&&aa(t)},Ii._tr_tally=function(t,e,r){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&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(Zi[r]+256+1)]++,t.dyn_dtree[2*Ji(e)]++),t.last_lit===t.lit_bufsize-1},Ii._tr_align=function(t){ta(t,2,3),ea(t,256,Ui),function(t){16===t.bi_valid?(Qi(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)};var pa=function(t,e,r,n){for(var i=65535&t|0,a=t>>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+e[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0};var ga=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();var ba,ma=function(t,e,r,n){var i=ga,a=n+r;t^=-1;for(var o=n;o<a;o++)t=t>>>8^i[255&(t^e[o])];return-1^t},va={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"},ya=Pi,wa=Ii,_a=pa,ka=ma,xa=va;function Sa(t,e){return t.msg=xa[e],e}function Aa(t){return(t<<1)-(t>4?9:0)}function Ca(t){for(var e=t.length;--e>=0;)t[e]=0}function Ea(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(ya.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function Ra(t,e){wa._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ea(t.strm)}function Oa(t,e){t.pending_buf[t.pending++]=e}function Ta(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function Pa(t,e){var r,n,i=t.max_chain_length,a=t.strstart,o=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,l=t.window,f=t.w_mask,c=t.prev,h=t.strstart+258,d=l[a+o-1],p=l[a+o];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(l[(r=e)+o]===p&&l[r+o-1]===d&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<h);if(n=258-(h-a),a=h-258,n>o){if(t.match_start=e,o=n,n>=s)break;d=l[a+o-1],p=l[a+o]}}}while((e=c[e&f])>u&&0!=--i);return o<=t.lookahead?o:t.lookahead}function La(t){var e,r,n,i,a,o,s,u,l,f,c=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-262)){ya.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=c?n-c:0}while(--r);e=r=c;do{n=t.prev[--e],t.prev[e]=n>=c?n-c:0}while(--r);i+=c}if(0===t.strm.avail_in)break;if(o=t.strm,s=t.window,u=t.strstart+t.lookahead,l=i,f=void 0,(f=o.avail_in)>l&&(f=l),r=0===f?0:(o.avail_in-=f,ya.arraySet(s,o.input,o.next_in,f,u),1===o.state.wrap?o.adler=_a(o.adler,s,f,u):2===o.state.wrap&&(o.adler=ka(o.adler,s,f,u)),o.next_in+=f,o.total_in+=f,f),t.lookahead+=r,t.lookahead+t.insert>=3)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+3-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function Ma(t,e){for(var r,n;;){if(t.lookahead<262){if(La(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=Pa(t,r)),t.match_length>=3)if(n=wa._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,r=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 n=wa._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ra(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Ra(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ra(t,!1),0===t.strm.avail_out)?1:2}function Ia(t,e){for(var r,n,i;;){if(t.lookahead<262){if(La(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=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!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=Pa(t,r),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,n=wa._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,r=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++,n&&(Ra(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=wa._tr_tally(t,0,t.window[t.strstart-1]))&&Ra(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&&(n=wa._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Ra(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ra(t,!1),0===t.strm.avail_out)?1:2}function Ba(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function Da(){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 ya.Buf16(1146),this.dyn_dtree=new ya.Buf16(122),this.bl_tree=new ya.Buf16(78),Ca(this.dyn_ltree),Ca(this.dyn_dtree),Ca(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ya.Buf16(16),this.heap=new ya.Buf16(573),Ca(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ya.Buf16(573),Ca(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 za(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,wa._tr_init(e),0):Sa(t,-2)}function ja(t){var e,r=za(t);return 0===r&&((e=t.state).window_size=2*e.w_size,Ca(e.head),e.max_lazy_match=ba[e.level].max_lazy,e.good_match=ba[e.level].good_length,e.nice_match=ba[e.level].nice_length,e.max_chain_length=ba[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),r}function Fa(t,e,r,n,i,a){if(!t)return-2;var o=1;if(-1===e&&(e=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>9||8!==r||n<8||n>15||e<0||e>9||a<0||a>4)return Sa(t,-2);8===n&&(n=9);var s=new Da;return t.state=s,s.strm=t,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new ya.Buf8(2*s.w_size),s.head=new ya.Buf16(s.hash_size),s.prev=new ya.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new ya.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=a,s.method=r,ja(t)}ba=[new Ba(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(La(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Ra(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(Ra(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ra(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ra(t,!1),t.strm.avail_out),1)})),new Ba(4,4,8,4,Ma),new Ba(4,5,16,8,Ma),new Ba(4,6,32,32,Ma),new Ba(4,4,16,16,Ia),new Ba(8,16,32,32,Ia),new Ba(8,16,128,128,Ia),new Ba(8,32,128,256,Ia),new Ba(32,128,258,1024,Ia),new Ba(32,258,258,4096,Ia)],Mi.deflateInit=function(t,e){return Fa(t,e,8,15,8,0)},Mi.deflateInit2=Fa,Mi.deflateReset=ja,Mi.deflateResetKeep=za,Mi.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},Mi.deflate=function(t,e){var r,n,i,a;if(!t||!t.state||e>5||e<0)return t?Sa(t,-2):-2;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||666===n.status&&4!==e)return Sa(t,0===t.avail_out?-5:-2);if(n.strm=t,r=n.last_flush,n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,Oa(n,31),Oa(n,139),Oa(n,8),n.gzhead?(Oa(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Oa(n,255&n.gzhead.time),Oa(n,n.gzhead.time>>8&255),Oa(n,n.gzhead.time>>16&255),Oa(n,n.gzhead.time>>24&255),Oa(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Oa(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Oa(n,255&n.gzhead.extra.length),Oa(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=ka(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Oa(n,0),Oa(n,0),Oa(n,0),Oa(n,0),Oa(n,0),Oa(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Oa(n,3),n.status=113);else{var o=8+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=113,Ta(n,o),0!==n.strstart&&(Ta(n,t.adler>>>16),Ta(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),Ea(t),i=n.pending,n.pending!==n.pending_buf_size));)Oa(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),Ea(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Oa(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),Ea(t),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Oa(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(t.adler=ka(t.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ea(t),n.pending+2<=n.pending_buf_size&&(Oa(n,255&t.adler),Oa(n,t.adler>>8&255),t.adler=0,n.status=113)):n.status=113),0!==n.pending){if(Ea(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&Aa(e)<=Aa(r)&&4!==e)return Sa(t,-5);if(666===n.status&&0!==t.avail_in)return Sa(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(La(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=wa._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(Ra(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ra(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ra(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,i,a,o=t.window;;){if(t.lookahead<=258){if(La(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=o[i=t.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=t.strstart+258;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=wa._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=wa._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(Ra(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ra(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ra(t,!1),0===t.strm.avail_out)?1:2}(n,e):ba[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===e?wa._tr_align(n):5!==e&&(wa._tr_stored_block(n,0,0,!1),3===e&&(Ca(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ea(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:(2===n.wrap?(Oa(n,255&t.adler),Oa(n,t.adler>>8&255),Oa(n,t.adler>>16&255),Oa(n,t.adler>>24&255),Oa(n,255&t.total_in),Oa(n,t.total_in>>8&255),Oa(n,t.total_in>>16&255),Oa(n,t.total_in>>24&255)):(Ta(n,t.adler>>>16),Ta(n,65535&t.adler)),Ea(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},Mi.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?Sa(t,-2):(t.state=null,113===e?Sa(t,-3):0):-2},Mi.deflateSetDictionary=function(t,e){var r,n,i,a,o,s,u,l,f=e.length;if(!t||!t.state)return-2;if(2===(a=(r=t.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(t.adler=_a(t.adler,e,f,0)),r.wrap=0,f>=r.w_size&&(0===a&&(Ca(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new ya.Buf8(r.w_size),ya.arraySet(l,e,f-r.w_size,r.w_size,0),e=l,f=r.w_size),o=t.avail_in,s=t.next_in,u=t.input,t.avail_in=f,t.next_in=0,t.input=e,La(r);r.lookahead>=3;){n=r.strstart,i=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=2,La(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=s,t.input=u,t.avail_in=o,r.wrap=a,0},Mi.deflateInfo="pako deflate (from Nodeca project)";var Na={},Ua=Pi,Ha=!0,Wa=!0;try{String.fromCharCode.apply(null,[0])}catch(t){Ha=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Wa=!1}for(var Za=new Ua.Buf8(256),qa=0;qa<256;qa++)Za[qa]=qa>=252?6:qa>=248?5:qa>=240?4:qa>=224?3:qa>=192?2:1;function Ya(t,e){if(e<65534&&(t.subarray&&Wa||!t.subarray&&Ha))return String.fromCharCode.apply(null,Ua.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}Za[254]=Za[254]=1,Na.string2buf=function(t){var e,r,n,i,a,o=t.length,s=0;for(i=0;i<o;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),s+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Ua.Buf8(s),a=0,i=0;a<s;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<o&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},Na.buf2binstring=function(t){return Ya(t,t.length)},Na.binstring2buf=function(t){for(var e=new Ua.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},Na.buf2string=function(t,e){var r,n,i,a,o=e||t.length,s=new Array(2*o);for(n=0,r=0;r<o;)if((i=t[r++])<128)s[n++]=i;else if((a=Za[i])>4)s[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<o;)i=i<<6|63&t[r++],a--;a>1?s[n++]=65533:i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|1023&i)}return Ya(s,n)},Na.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+Za[t[r]]>e?r:e};var Ga=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},Va=Mi,Ka=Pi,Xa=Na,$a=va,Ja=Ga,Qa=Object.prototype.toString;function to(t){if(!(this instanceof to))return new to(t);this.options=Ka.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 Ja,this.strm.avail_out=0;var r=Va.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error($a[r]);if(e.header&&Va.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?Xa.string2buf(e.dictionary):"[object ArrayBuffer]"===Qa.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=Va.deflateSetDictionary(this.strm,n)))throw new Error($a[r]);this._dict_set=!0}}function eo(t,e){var r=new to(e);if(r.push(t,!0),r.err)throw r.msg||$a[r.err];return r.result}to.prototype.push=function(t,e){var r,n,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?i.input=Xa.string2buf(t):"[object ArrayBuffer]"===Qa.call(t)?i.input=new Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new Ka.Buf8(a),i.next_out=0,i.avail_out=a),1!==(r=Va.deflate(i,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(Xa.buf2binstring(Ka.shrinkBuf(i.output,i.next_out))):this.onData(Ka.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==r);return 4===n?(r=Va.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),i.avail_out=0,!0)},to.prototype.onData=function(t){this.chunks.push(t)},to.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ka.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},Li.Deflate=to,Li.deflate=eo,Li.deflateRaw=function(t,e){return(e=e||{}).raw=!0,eo(t,e)},Li.gzip=function(t,e){return(e=e||{}).gzip=!0,eo(t,e)};var ro={},no={},io=Pi,ao=[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],oo=[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],so=[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],uo=[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],lo=Pi,fo=pa,co=ma,ho=function(t,e){var r,n,i,a,o,s,u,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C;r=t.state,n=t.next_in,A=t.input,i=n+(t.avail_in-5),a=t.next_out,C=t.output,o=a-(e-t.avail_out),s=a+(t.avail_out-257),u=r.dmax,l=r.wsize,f=r.whave,c=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,b=r.distcode,m=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;t:do{p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),y=g[d&m];e:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))C[a++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(d&(1<<w)-1)];continue e}if(32&w){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}_=65535&y,(w&=15)&&(p<w&&(d+=A[n++]<<p,p+=8),_+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),y=b[d&v];r:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=b[(65535&y)+(d&(1<<w)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(k=65535&y,p<(w&=15)&&(d+=A[n++]<<p,(p+=8)<w&&(d+=A[n++]<<p,p+=8)),(k+=d&(1<<w)-1)>u){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=w,p-=w,k>(w=a-o)){if((w=k-w)>f&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(x=0,S=h,0===c){if(x+=l-w,w<_){_-=w;do{C[a++]=h[x++]}while(--w);x=a-k,S=C}}else if(c<w){if(x+=l+c-w,(w-=c)<_){_-=w;do{C[a++]=h[x++]}while(--w);if(x=0,c<_){_-=w=c;do{C[a++]=h[x++]}while(--w);x=a-k,S=C}}}else if(x+=c-w,w<_){_-=w;do{C[a++]=h[x++]}while(--w);x=a-k,S=C}for(;_>2;)C[a++]=S[x++],C[a++]=S[x++],C[a++]=S[x++],_-=3;_&&(C[a++]=S[x++],_>1&&(C[a++]=S[x++]))}else{x=a-k;do{C[a++]=C[x++],C[a++]=C[x++],C[a++]=C[x++],_-=3}while(_>2);_&&(C[a++]=C[x++],_>1&&(C[a++]=C[x++]))}break}}break}}while(n<i&&a<s);n-=_=p>>3,d&=(1<<(p-=_<<3))-1,t.next_in=n,t.next_out=a,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=a<s?s-a+257:257-(a-s),r.hold=d,r.bits=p},po=function(t,e,r,n,i,a,o,s){var u,l,f,c,h,d,p,g,b,m=s.bits,v=0,y=0,w=0,_=0,k=0,x=0,S=0,A=0,C=0,E=0,R=null,O=0,T=new io.Buf16(16),P=new io.Buf16(16),L=null,M=0;for(v=0;v<=15;v++)T[v]=0;for(y=0;y<n;y++)T[e[r+y]]++;for(k=m,_=15;_>=1&&0===T[_];_--);if(k>_&&(k=_),0===_)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(w=1;w<_&&0===T[w];w++);for(k<w&&(k=w),A=1,v=1;v<=15;v++)if(A<<=1,(A-=T[v])<0)return-1;if(A>0&&(0===t||1!==_))return-1;for(P[1]=0,v=1;v<15;v++)P[v+1]=P[v]+T[v];for(y=0;y<n;y++)0!==e[r+y]&&(o[P[e[r+y]]++]=y);if(0===t?(R=L=o,d=19):1===t?(R=ao,O-=257,L=oo,M-=257,d=256):(R=so,L=uo,d=-1),E=0,y=0,v=w,h=a,x=k,S=0,f=-1,c=(C=1<<k)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){p=v-S,o[y]<d?(g=0,b=o[y]):o[y]>d?(g=L[M+o[y]],b=R[O+o[y]]):(g=96,b=0),u=1<<v-S,w=l=1<<x;do{i[h+(E>>S)+(l-=u)]=p<<24|g<<16|b|0}while(0!==l);for(u=1<<v-1;E&u;)u>>=1;if(0!==u?(E&=u-1,E+=u):E=0,y++,0==--T[v]){if(v===_)break;v=e[r+o[y]]}if(v>k&&(E&c)!==f){for(0===S&&(S=k),h+=w,A=1<<(x=v-S);x+S<_&&!((A-=T[x+S])<=0);)x++,A<<=1;if(C+=1<<x,1===t&&C>852||2===t&&C>592)return 1;i[f=E&c]=k<<24|x<<16|h-a|0}}return 0!==E&&(i[h+E]=v-S<<24|64<<16|0),s.bits=k,0};function go(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bo(){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 lo.Buf16(320),this.work=new lo.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function mo(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 lo.Buf32(852),e.distcode=e.distdyn=new lo.Buf32(592),e.sane=1,e.back=-1,0):-2}function vo(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,mo(t)):-2}function yo(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,vo(t))):-2}function wo(t,e){var r,n;return t?(n=new bo,t.state=n,n.window=null,0!==(r=yo(t,e))&&(t.state=null),r):-2}var _o,ko,xo=!0;function So(t){if(xo){var e;for(_o=new lo.Buf32(512),ko=new lo.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(po(1,t.lens,0,288,_o,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;po(2,t.lens,0,32,ko,0,t.work,{bits:5}),xo=!1}t.lencode=_o,t.lenbits=9,t.distcode=ko,t.distbits=5}function Ao(t,e,r,n){var i,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new lo.Buf8(a.wsize)),n>=a.wsize?(lo.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),lo.arraySet(a.window,e,r-n,i,a.wnext),(n-=i)?(lo.arraySet(a.window,e,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}no.inflateReset=vo,no.inflateReset2=yo,no.inflateResetKeep=mo,no.inflateInit=function(t){return wo(t,15)},no.inflateInit2=wo,no.inflate=function(t,e){var r,n,i,a,o,s,u,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C=0,E=new lo.Buf8(4),R=[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===(r=t.state).mode&&(r.mode=13),o=t.next_out,i=t.output,u=t.avail_out,a=t.next_in,n=t.input,s=t.avail_in,l=r.hold,f=r.bits,c=s,h=u,x=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;f<16;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(2&r.wrap&&35615===l){r.check=0,E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0),l=0,f=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&l)<<8)+(l>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&l)){t.msg="unknown compression method",r.mode=30;break}if(f-=4,k=8+(15&(l>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<k,t.adler=r.check=1,r.mode=512&l?10:12,l=0,f=0;break;case 2:for(;f<16;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(r.flags=l,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0,r.mode=3;case 3:for(;f<32;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.head&&(r.head.time=l),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,r.check=co(r.check,E,4,0)),l=0,f=0,r.mode=4;case 4:for(;f<16;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.head&&(r.head.xflags=255&l,r.head.os=l>>8),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0,r.mode=5;case 5:if(1024&r.flags){for(;f<16;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.length=l,r.head&&(r.head.extra_len=l),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),lo.arraySet(r.head.extra,n,a,d,k)),512&r.flags&&(r.check=co(r.check,n,d,a)),s-=d,a+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;d=0;do{k=n[a+d++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k))}while(k&&d<s);if(512&r.flags&&(r.check=co(r.check,n,d,a)),s-=d,a+=d,k)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break t;d=0;do{k=n[a+d++],r.head&&k&&r.length<65536&&(r.head.comment+=String.fromCharCode(k))}while(k&&d<s);if(512&r.flags&&(r.check=co(r.check,n,d,a)),s-=d,a+=d,k)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;f<16;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(l!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}l=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;f<32;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}t.adler=r.check=go(l),l=0,f=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=o,t.avail_out=u,t.next_in=a,t.avail_in=s,r.hold=l,r.bits=f,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){l>>>=7&f,f-=7&f,r.mode=27;break}for(;f<3;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}switch(r.last=1&l,f-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(So(r),r.mode=20,6===e){l>>>=2,f-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}l>>>=2,f-=2;break;case 14:for(l>>>=7&f,f-=7&f;f<32;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if((65535&l)!=(l>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&l,l=0,f=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break t;lo.arraySet(i,n,a,d,o),s-=d,a+=d,u-=d,o+=d,r.length-=d;break}r.mode=12;break;case 17:for(;f<14;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(r.nlen=257+(31&l),l>>>=5,f-=5,r.ndist=1+(31&l),l>>>=5,f-=5,r.ncode=4+(15&l),l>>>=4,f-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;f<3;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.lens[R[r.have++]]=7&l,l>>>=3,f-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=po(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;m=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(v<16)l>>>=b,f-=b,r.lens[r.have++]=v;else{if(16===v){for(A=b+2;f<A;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(l>>>=b,f-=b,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&l),l>>>=2,f-=2}else if(17===v){for(A=b+3;f<A;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}f-=b,k=0,d=3+(7&(l>>>=b)),l>>>=3,f-=3}else{for(A=b+7;f<A;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}f-=b,k=0,d=11+(127&(l>>>=b)),l>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=po(1,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=po(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(s>=6&&u>=258){t.next_out=o,t.avail_out=u,t.next_in=a,t.avail_in=s,r.hold=l,r.bits=f,ho(t,h),o=t.next_out,i=t.output,u=t.avail_out,a=t.next_in,n=t.input,s=t.avail_in,l=r.hold,f=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;m=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(m&&0==(240&m)){for(y=b,w=m,_=v;m=(C=r.lencode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&C,!(y+(b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=b,f-=b,r.back+=b,r.length=v,0===m){r.mode=26;break}if(32&m){r.back=-1,r.mode=12;break}if(64&m){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&m,r.mode=22;case 22:if(r.extra){for(A=r.extra;f<A;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;m=(C=r.distcode[l&(1<<r.distbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(0==(240&m)){for(y=b,w=m,_=v;m=(C=r.distcode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&C,!(y+(b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=b,f-=b,r.back+=b,64&m){t.msg="invalid distance code",r.mode=30;break}r.offset=v,r.extra=15&m,r.mode=24;case 24:if(r.extra){for(A=r.extra;f<A;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===u)break t;if(d=h-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),g=r.window}else g=i,p=o-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{i[o++]=g[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===u)break t;i[o++]=r.length,u--,r.mode=21;break;case 27:if(r.wrap){for(;f<32;){if(0===s)break t;s--,l|=n[a++]<<f,f+=8}if(h-=u,t.total_out+=h,r.total+=h,h&&(t.adler=r.check=r.flags?co(r.check,i,h,o-h):fo(r.check,i,h,o-h)),h=u,(r.flags?l:go(l))!==r.check){t.msg="incorrect data check",r.mode=30;break}l=0,f=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;f<32;){if(0===s)break t;s--,l+=n[a++]<<f,f+=8}if(l!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}l=0,f=0}r.mode=29;case 29:x=1;break t;case 30:x=-3;break t;case 31:return-4;default:return-2}return t.next_out=o,t.avail_out=u,t.next_in=a,t.avail_in=s,r.hold=l,r.bits=f,(r.wsize||h!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&Ao(t,t.output,t.next_out,h-t.avail_out),c-=t.avail_in,h-=t.avail_out,t.total_in+=c,t.total_out+=h,r.total+=h,r.wrap&&h&&(t.adler=r.check=r.flags?co(r.check,i,h,t.next_out-h):fo(r.check,i,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===c&&0===h||4===e)&&0===x&&(x=-5),x},no.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},no.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:(r.head=e,e.done=!1,0):-2},no.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&fo(1,e,n,0)!==r.check?-3:Ao(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},no.inflateInfo="pako inflate (from Nodeca project)";var Co={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};var Eo=no,Ro=Pi,Oo=Na,To=Co,Po=va,Lo=Ga,Mo=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},Io=Object.prototype.toString;function Bo(t){if(!(this instanceof Bo))return new Bo(t);this.options=Ro.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 Lo,this.strm.avail_out=0;var r=Eo.inflateInit2(this.strm,e.windowBits);if(r!==To.Z_OK)throw new Error(Po[r]);if(this.header=new Mo,Eo.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Oo.string2buf(e.dictionary):"[object ArrayBuffer]"===Io.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Eo.inflateSetDictionary(this.strm,e.dictionary))!==To.Z_OK))throw new Error(Po[r])}function Do(t,e){var r=new Bo(e);if(r.push(t,!0),r.err)throw r.msg||Po[r.err];return r.result}Bo.prototype.push=function(t,e){var r,n,i,a,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,f=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?To.Z_FINISH:To.Z_NO_FLUSH,"string"==typeof t?s.input=Oo.binstring2buf(t):"[object ArrayBuffer]"===Io.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 Ro.Buf8(u),s.next_out=0,s.avail_out=u),(r=Eo.inflate(s,To.Z_NO_FLUSH))===To.Z_NEED_DICT&&l&&(r=Eo.inflateSetDictionary(this.strm,l)),r===To.Z_BUF_ERROR&&!0===f&&(r=To.Z_OK,f=!1),r!==To.Z_STREAM_END&&r!==To.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==To.Z_STREAM_END&&(0!==s.avail_in||n!==To.Z_FINISH&&n!==To.Z_SYNC_FLUSH)||("string"===this.options.to?(i=Oo.utf8border(s.output,s.next_out),a=s.next_out-i,o=Oo.buf2string(s.output,i),s.next_out=a,s.avail_out=u-a,a&&Ro.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(Ro.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(f=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==To.Z_STREAM_END);return r===To.Z_STREAM_END&&(n=To.Z_FINISH),n===To.Z_FINISH?(r=Eo.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===To.Z_OK):n!==To.Z_SYNC_FLUSH||(this.onEnd(To.Z_OK),s.avail_out=0,!0)},Bo.prototype.onData=function(t){this.chunks.push(t)},Bo.prototype.onEnd=function(t){t===To.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ro.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},ro.Inflate=Bo,ro.inflate=Do,ro.inflateRaw=function(t,e){return(e=e||{}).raw=!0,Do(t,e)},ro.ungzip=Do;var zo={};(0,Pi.assign)(zo,Li,ro,Co);var jo="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,Fo=zo,No=Mn(),Uo=Bn,Ho=jo?"uint8array":"array";function Wo(t,e){Uo.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}Ti.magic="\b\0",No.inherits(Wo,Uo),Wo.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(No.transformTo(Ho,t.data),!1)},Wo.prototype.flush=function(){Uo.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},Wo.prototype.cleanUp=function(){Uo.prototype.cleanUp.call(this),this._pako=null},Wo.prototype._createPako=function(){this._pako=new Fo[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},Ti.compressWorker=function(t){return new Wo("Deflate",t)},Ti.uncompressWorker=function(){return new Wo("Inflate",{})};var Zo=Bn;Oi.STORE={magic:"\0\0",compressWorker:function(){return new Zo("STORE compression")},uncompressWorker:function(){return new Zo("STORE decompression")}},Oi.DEFLATE=Ti;var qo={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},Yo=Mn(),Go=Bn,Vo=l,Ko=ii,Xo=qo,$o=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},Jo=function(t,e,r,n,i,a){var o,s,u=t.file,l=t.compression,f=a!==Vo.utf8encode,c=Yo.transformTo("string",a(u.name)),h=Yo.transformTo("string",Vo.utf8encode(u.name)),d=u.comment,p=Yo.transformTo("string",a(d)),g=Yo.transformTo("string",Vo.utf8encode(d)),b=h.length!==u.name.length,m=g.length!==d.length,v="",y="",w="",_=u.dir,k=u.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(x.crc32=t.crc32,x.compressedSize=t.compressedSize,x.uncompressedSize=t.uncompressedSize);var S=0;e&&(S|=8),f||!b&&!m||(S|=2048);var A,C,E,R=0,O=0;_&&(R|=16),"UNIX"===i?(O=798,R|=(A=u.unixPermissions,C=_,E=A,A||(E=C?16893:33204),(65535&E)<<16)):(O=20,R|=63&(u.dosPermissions||0)),o=k.getUTCHours(),o<<=6,o|=k.getUTCMinutes(),o<<=5,o|=k.getUTCSeconds()/2,s=k.getUTCFullYear()-1980,s<<=4,s|=k.getUTCMonth()+1,s<<=5,s|=k.getUTCDate(),b&&(y=$o(1,1)+$o(Ko(c),4)+h,v+="up"+$o(y.length,2)+y),m&&(w=$o(1,1)+$o(Ko(p),4)+g,v+="uc"+$o(w.length,2)+w);var T="";return T+="\n\0",T+=$o(S,2),T+=l.magic,T+=$o(o,2),T+=$o(s,2),T+=$o(x.crc32,4),T+=$o(x.compressedSize,4),T+=$o(x.uncompressedSize,4),T+=$o(c.length,2),T+=$o(v.length,2),{fileRecord:Xo.LOCAL_FILE_HEADER+T+c+v,dirRecord:Xo.CENTRAL_FILE_HEADER+$o(O,2)+T+$o(p.length,2)+"\0\0\0\0"+$o(R,4)+$o(n,4)+c+v+p}},Qo=function(t){return Xo.DATA_DESCRIPTOR+$o(t.crc32,4)+$o(t.compressedSize,4)+$o(t.uncompressedSize,4)};function ts(t,e,r,n){Go.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Yo.inherits(ts,Go),ts.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,Go.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},ts.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=Jo(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ts.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=Jo(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:Qo(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ts.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,n=function(t,e,r,n,i){var a=Yo.transformTo("string",i(n));return Xo.CENTRAL_DIRECTORY_END+"\0\0\0\0"+$o(t,2)+$o(t,2)+$o(e,4)+$o(r,4)+$o(a.length,2)+a}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ts.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ts.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},ts.prototype.resume=function(){return!!Go.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ts.prototype.error=function(t){var e=this._sources;if(!Go.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},ts.prototype.lock=function(){Go.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()};var es=Oi,rs=ts;Ri.generateWorker=function(t,e,r){var n=new rs(e.streamFiles,r,e.platform,e.encodeFileName),i=0;try{t.forEach((function(t,r){i++;var a=function(t,e){var r=t||e,n=es[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,e.compression),o=r.options.compressionOptions||e.compressionOptions||{},s=r.dir,u=r.date;r._compressWorker(a,o).withStreamInfo("file",{name:t,dir:s,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=i}catch(t){n.error(t)}return n};var ns=Mn(),is=Bn;function as(t,e){is.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}ns.inherits(as,is),as.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},as.prototype.pause=function(){return!!is.prototype.pause.call(this)&&(this._stream.pause(),!0)},as.prototype.resume=function(){return!!is.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var os=as,ss=l,us=Mn(),ls=Bn,fs=Xn,cs=$n,hs=mi,ds=Ei,ps=Ri,gs=On,bs=os,ms=function(t,e,r){var n,i=us.getTypeOf(e),a=us.extend(r||{},cs);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(t=ys(t)),a.createFolders&&(n=vs(t))&&ws.call(this,n,!0);var o="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!o),(e instanceof hs&&0===e.uncompressedSize||a.dir||!e||0===e.length)&&(a.base64=!1,a.binary=!0,e="",a.compression="STORE",i="string");var s=null;s=e instanceof hs||e instanceof ls?e:gs.isNode&&gs.isStream(e)?new bs(t,e):us.prepareContent(t,e,a.binary,a.optimizedBinaryString,a.base64);var u=new ds(t,s,a);this.files[t]=u},vs=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},ys=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},ws=function(t,e){return e=void 0!==e?e:cs.createFolders,t=ys(t),this.files[t]||ms.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function _s(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var ks={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n)},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(_s(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null}return t=this.root+t,ms.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(_s(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=ws.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=us.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ss.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");us.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";e=ps.generateWorker(this,r,n)}catch(t){(e=new ls("error")).error(t)}return new fs(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}},xs=ks,Ss=Mn();function As(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}As.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return Ss.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}};var Cs=As,Es=Cs;function Rs(t){Es.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}Mn().inherits(Rs,Es),Rs.prototype.byteAt=function(t){return this.data[this.zero+t]},Rs.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===e&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},Rs.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),a=this.readData(4);return e===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},Rs.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Os=Rs,Ts=Cs;function Ps(t){Ts.call(this,t)}Mn().inherits(Ps,Ts),Ps.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},Ps.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},Ps.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},Ps.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Ls=Ps,Ms=Os;function Is(t){Ms.call(this,t)}Mn().inherits(Is,Ms),Is.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Bs=Is,Ds=Bs;function zs(t){Ds.call(this,t)}Mn().inherits(zs,Ds),zs.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var js=zs,Fs=Mn(),Ns=ct,Us=Os,Hs=Ls,Ws=js,Zs=Bs,qs=function(t){var e=Fs.getTypeOf(t);return Fs.checkSupport(e),"string"!==e||Ns.uint8array?"nodebuffer"===e?new Ws(t):Ns.uint8array?new Zs(Fs.transformTo("uint8array",t)):new Us(Fs.transformTo("array",t)):new Hs(t)},Ys=qs,Gs=Mn(),Vs=mi,Ks=ii,Xs=l,$s=Oi,Js=ct;function Qs(t,e){this.options=t,this.loadOptions=e}Qs.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(e=function(t){for(var e in $s)if(Object.prototype.hasOwnProperty.call($s,e)&&$s[e].magic===t)return $s[e];return null}(this.compressionMethod),null===e)throw new Error("Corrupted zip : compression "+Gs.pretty(this.compressionMethod)+" unknown (inner file : "+Gs.transformTo("string",this.fileName)+")");this.decompressed=new Vs(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=Ys(this.extraFields[1].value);this.uncompressedSize===Gs.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===Gs.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===Gs.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===Gs.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(i)},handleUTF8:function(){var t=Js.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Xs.utf8decode(this.fileName),this.fileCommentStr=Xs.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=Gs.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=Gs.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=Ys(t.value);return 1!==e.readInt(1)||Ks(this.fileName)!==e.readInt(4)?null:Xs.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=Ys(t.value);return 1!==e.readInt(1)||Ks(this.fileComment)!==e.readInt(4)?null:Xs.utf8decode(e.readData(t.length-5))}return null}};var tu=Qs,eu=qs,ru=Mn(),nu=qo,iu=tu,au=ct;function ou(t){this.files=[],this.loadOptions=t}ou.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ru.pretty(e)+", expected "+ru.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=au.uint8array?"uint8array":"array",r=ru.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(nu.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(nu.CENTRAL_FILE_HEADER);)(t=new iu({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(nu.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,nu.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(t);var e=t;if(this.checkSignature(nu.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ru.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ru.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ru.MAX_VALUE_16BITS||this.centralDirRecords===ru.MAX_VALUE_16BITS||this.centralDirSize===ru.MAX_VALUE_32BITS||this.centralDirOffset===ru.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(nu.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(nu.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,nu.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(nu.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(nu.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,nu.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=eu(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var su=ou,uu=Mn(),lu=Ln,fu=l,cu=su,hu=ui,du=On;function pu(t){return new lu.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new hu);n.on("error",(function(t){r(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}function gu(){if(!(this instanceof gu))return new gu;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new gu;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}gu.prototype=xs,gu.prototype.loadAsync=function(t,e){var r=this;return e=uu.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fu.utf8decode}),du.isNode&&du.isStream(t)?lu.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):uu.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new cu(e);return r.load(t),r})).then((function(t){var r=[lu.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var i=0;i<n.length;i++)r.push(pu(n[i]));return lu.Promise.all(r)})).then((function(t){for(var n=t.shift(),i=n.files,a=0;a<i.length;a++){var o=i[a],s=o.fileNameStr,u=uu.resolve(o.fileNameStr);r.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders}),o.dir||(r.file(u).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r}))},gu.support=ct,gu.defaults=$n,gu.version="3.10.1",gu.loadAsync=function(t,e){return(new gu).loadAsync(t,e)},gu.external=Ln;var bu=gu;function mu(t){return mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mu(t)}function vu(t,e){var r=(e=e||{}).pos||0,n=!!e.keepComments,i=!!e.keepWhitespace,a="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),u="/".charCodeAt(0),l="!".charCodeAt(0),f="'".charCodeAt(0),c='"'.charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0);function p(e){for(var f=[];t[r];)if(t.charCodeAt(r)==a){if(t.charCodeAt(r+1)===u){var c=r+2;if(r=t.indexOf(">",r),-1==t.substring(c,r).indexOf(e)){var p=t.substring(0,r).split("\n");throw new Error("Unexpected close tag\nLine: "+(p.length-1)+"\nColumn: "+(p[p.length-1].length+1)+"\nChar: "+t[r])}return r+1&&(r+=1),f}if(t.charCodeAt(r+1)===l){if(t.charCodeAt(r+2)==s){const e=r;for(;-1!==r&&(t.charCodeAt(r)!==o||t.charCodeAt(r-1)!=s||t.charCodeAt(r-2)!=s||-1==r);)r=t.indexOf(">",r+1);-1===r&&(r=t.length),n&&f.push(t.substring(e,r+1))}else{if(t.charCodeAt(r+2)===h&&t.charCodeAt(r+8)===h&&"cdata"===t.substr(r+3,5).toLowerCase()){var b=t.indexOf("]]>",r);-1==b?(f.push(t.substr(r+9)),r=t.length):(f.push(t.substring(r+9,b)),r=b+3);continue}{const e=r+1;r+=2;for(var m=!1;(t.charCodeAt(r)!==o||!0===m)&&t[r];)t.charCodeAt(r)===h?m=!0:!0===m&&t.charCodeAt(r)===d&&(m=!1),r++;f.push(t.substring(e,r))}}r++;continue}var y=v();f.push(y),"?"===y.tagName[0]&&(f.push(...y.children),y.children=[])}else{var w=g();if(i)w.length>0&&f.push(w);else{var _=w.trim();_.length>0&&f.push(_)}r++}return f}function g(){var e=r;return-2===(r=t.indexOf("<",r)-1)&&(r=t.length),t.slice(e,r+1)}function b(){for(var e=r;-1==="\r\n\t>/= ".indexOf(t[r])&&t[r];)r++;return t.slice(e,r)}var m=e.noChildNodes||["img","br","input","meta","link","hr"];function v(){r++;const e=b(),n={};let i=[];for(;t.charCodeAt(r)!==o&&t[r];){var a=t.charCodeAt(r);if(a>64&&a<91||a>96&&a<123){for(var s=b(),l=t.charCodeAt(r);l&&l!==f&&l!==c&&!(l>64&&l<91||l>96&&l<123)&&l!==o;)r++,l=t.charCodeAt(r);if(l===f||l===c){var h=y();if(-1===r)return{tagName:e,attributes:n,children:i}}else h=null,r--;n[s]=h}r++}if(t.charCodeAt(r-1)!==u)if("script"==e){var d=r+1;r=t.indexOf("<\/script>",r),i=[t.slice(d,r)],r+=9}else if("style"==e){d=r+1;r=t.indexOf("</style>",r),i=[t.slice(d,r)],r+=8}else-1===m.indexOf(e)?(r++,i=p(e)):r++;else r++;return{tagName:e,attributes:n,children:i}}function y(){var e=t[r],n=r+1;return r=t.indexOf(e,n),t.slice(n,r)}var w,_=null;if(void 0!==e.attrValue){e.attrName=e.attrName||"id";for(_=[];-1!==(w=void 0,w=new RegExp("\\s"+e.attrName+"\\s*=['\"]"+e.attrValue+"['\"]").exec(t),r=w?w.index:-1);)-1!==(r=t.lastIndexOf("<",r))&&_.push(v()),t=t.substr(r),r=0}else _=e.parseNode?v():p("");return e.filter&&(_=wu(_,e.filter)),e.simplify?yu(Array.isArray(_)?_:[_]):(e.setPos&&(_.pos=r),_)}function yu(t){var e={};if(!t.length)return"";if(1===t.length&&"string"==typeof t[0])return t[0];for(var r in t.forEach((function(t){if("object"==typeof t){e[t.tagName]||(e[t.tagName]=[]);var r=yu(t.children);e[t.tagName].push(r),Object.keys(t.attributes).length&&"string"!=typeof r&&(r._attributes=t.attributes)}})),e)1==e[r].length&&(e[r]=e[r][0]);return e}function wu(t,e,r=0,n=""){var i=[];return t.forEach((function(t,a){if("object"==typeof t&&e(t,a,r,n)&&i.push(t),t.children){var o=wu(t.children,e,r+1,(n?n+".":"")+a+"."+t.tagName);i=i.concat(o)}})),i}function _u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ku(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ku(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function ku(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Su(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?xu(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=0;function Cu(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};if(!t.length)return r;if(1===t.length&&"string"==typeof t[0])return Object.keys(e).length?{attrs:Su({order:Au++},e),value:t[0]}:t[0];var n,i=_u(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("object"!==mu(a))return;if("?xml"!==a.tagName){r[a.tagName]||(r[a.tagName]=[]);var o=Cu(a.children||[],a.attributes);r[a.tagName].push(o),Object.keys(a.attributes).length&&(o.attrs=Su({order:Au++},a.attributes))}}}catch(t){i.e(t)}finally{i.f()}for(var s in r)1===r[s].length&&(r[s]=r[s][0]);return r}function Eu(t,e){return Ru.apply(this,arguments)}function Ru(){return(Ru=r(u.mark((function t(e,r){var n;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.file(r).async("string");case 3:return n=t.sent,t.abrupt("return",Cu(vu(n)));case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function Ou(t){return Ou="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ou(t)}var Tu=/^\s+/,Pu=/\s+$/;function Lu(t,e){if(e=e||{},(t=t||"")instanceof Lu)return t;if(!(this instanceof Lu))return new Lu(t,e);var r=function(t){var e={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;"string"==typeof t&&(t=function(t){t=t.replace(Tu,"").replace(Pu,"").toLowerCase();var e,r=!1;if(Ku[t])t=Ku[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=ul.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=ul.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=ul.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=ul.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=ul.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=ul.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=ul.hex8.exec(t))return{r:tl(e[1]),g:tl(e[2]),b:tl(e[3]),a:il(e[4]),format:r?"name":"hex8"};if(e=ul.hex6.exec(t))return{r:tl(e[1]),g:tl(e[2]),b:tl(e[3]),format:r?"name":"hex"};if(e=ul.hex4.exec(t))return{r:tl(e[1]+""+e[1]),g:tl(e[2]+""+e[2]),b:tl(e[3]+""+e[3]),a:il(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=ul.hex3.exec(t))return{r:tl(e[1]+""+e[1]),g:tl(e[2]+""+e[2]),b:tl(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==Ou(t)&&(ll(t.r)&&ll(t.g)&&ll(t.b)?(u=t.r,l=t.g,f=t.b,e={r:255*Ju(u,255),g:255*Ju(l,255),b:255*Ju(f,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):ll(t.h)&&ll(t.s)&&ll(t.v)?(n=rl(t.s),i=rl(t.v),e=function(t,e,r){t=6*Ju(t,360),e=Ju(e,100),r=Ju(r,100);var n=Math.floor(t),i=t-n,a=r*(1-e),o=r*(1-i*e),s=r*(1-(1-i)*e),u=n%6;return{r:255*[r,o,a,a,s,r][u],g:255*[s,r,r,o,a,a][u],b:255*[a,a,s,r,r,o][u]}}(t.h,n,i),o=!0,s="hsv"):ll(t.h)&&ll(t.s)&&ll(t.l)&&(n=rl(t.s),a=rl(t.l),e=function(t,e,r){var n,i,a;function o(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=Ju(t,360),e=Ju(e,100),r=Ju(r,100),0===e)n=i=a=r;else{var s=r<.5?r*(1+e):r+e-r*e,u=2*r-s;n=o(u,s,t+1/3),i=o(u,s,t),a=o(u,s,t-1/3)}return{r:255*n,g:255*i,b:255*a}}(t.h,n,a),o=!0,s="hsl"),t.hasOwnProperty("a")&&(r=t.a));var u,l,f;return r=$u(r),{ok:o,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function Mu(t,e,r){t=Ju(t,255),e=Ju(e,255),r=Ju(r,255);var n,i,a=Math.max(t,e,r),o=Math.min(t,e,r),s=(a+o)/2;if(a==o)n=i=0;else{var u=a-o;switch(i=s>.5?u/(2-a-o):u/(a+o),a){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:i,l:s}}function Iu(t,e,r){t=Ju(t,255),e=Ju(e,255),r=Ju(r,255);var n,i,a=Math.max(t,e,r),o=Math.min(t,e,r),s=a,u=a-o;if(i=0===a?0:u/a,a==o)n=0;else{switch(a){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:i,v:s}}function Bu(t,e,r,n){var i=[el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function Du(t,e,r,n){return[el(nl(n)),el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16))].join("")}function zu(t,e){e=0===e?0:e||10;var r=Lu(t).toHsl();return r.s-=e/100,r.s=Qu(r.s),Lu(r)}function ju(t,e){e=0===e?0:e||10;var r=Lu(t).toHsl();return r.s+=e/100,r.s=Qu(r.s),Lu(r)}function Fu(t){return Lu(t).desaturate(100)}function Nu(t,e){e=0===e?0:e||10;var r=Lu(t).toHsl();return r.l+=e/100,r.l=Qu(r.l),Lu(r)}function Uu(t,e){e=0===e?0:e||10;var r=Lu(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),Lu(r)}function Hu(t,e){e=0===e?0:e||10;var r=Lu(t).toHsl();return r.l-=e/100,r.l=Qu(r.l),Lu(r)}function Wu(t,e){var r=Lu(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,Lu(r)}function Zu(t){var e=Lu(t).toHsl();return e.h=(e.h+180)%360,Lu(e)}function qu(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Lu(t).toHsl(),n=[Lu(t)],i=360/e,a=1;a<e;a++)n.push(Lu({h:(r.h+a*i)%360,s:r.s,l:r.l}));return n}function Yu(t){var e=Lu(t).toHsl(),r=e.h;return[Lu(t),Lu({h:(r+72)%360,s:e.s,l:e.l}),Lu({h:(r+216)%360,s:e.s,l:e.l})]}function Gu(t,e,r){e=e||6,r=r||30;var n=Lu(t).toHsl(),i=360/r,a=[Lu(t)];for(n.h=(n.h-(i*e>>1)+720)%360;--e;)n.h=(n.h+i)%360,a.push(Lu(n));return a}function Vu(t,e){e=e||6;for(var r=Lu(t).toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/e;e--;)o.push(Lu({h:n,s:i,v:a})),a=(a+s)%1;return o}Lu.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=$u(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Iu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Iu(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=Mu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Mu(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return Bu(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,i){var a=[el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16)),el(nl(n))];if(i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Ju(this._r,255))+"%",g:Math.round(100*Ju(this._g,255))+"%",b:Math.round(100*Ju(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Ju(this._r,255))+"%, "+Math.round(100*Ju(this._g,255))+"%, "+Math.round(100*Ju(this._b,255))+"%)":"rgba("+Math.round(100*Ju(this._r,255))+"%, "+Math.round(100*Ju(this._g,255))+"%, "+Math.round(100*Ju(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Xu[Bu(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+Du(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var i=Lu(t);r="#"+Du(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Lu(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(Nu,arguments)},brighten:function(){return this._applyModification(Uu,arguments)},darken:function(){return this._applyModification(Hu,arguments)},desaturate:function(){return this._applyModification(zu,arguments)},saturate:function(){return this._applyModification(ju,arguments)},greyscale:function(){return this._applyModification(Fu,arguments)},spin:function(){return this._applyModification(Wu,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(Gu,arguments)},complement:function(){return this._applyCombination(Zu,arguments)},monochromatic:function(){return this._applyCombination(Vu,arguments)},splitcomplement:function(){return this._applyCombination(Yu,arguments)},triad:function(){return this._applyCombination(qu,[3])},tetrad:function(){return this._applyCombination(qu,[4])}},Lu.fromRatio=function(t,e){if("object"==Ou(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:rl(t[n]));t=r}return Lu(t,e)},Lu.equals=function(t,e){return!(!t||!e)&&Lu(t).toRgbString()==Lu(e).toRgbString()},Lu.random=function(){return Lu.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Lu.mix=function(t,e,r){r=0===r?0:r||50;var n=Lu(t).toRgb(),i=Lu(e).toRgb(),a=r/100;return Lu({r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a})},Lu.readability=function(t,e){var r=Lu(t),n=Lu(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Lu.isReadable=function(t,e,r){var n,i,a=Lu.readability(t,e);switch(i=!1,(n=function(t){var e,r;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==r&&"large"!==r&&(r="small");return{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},Lu.mostReadable=function(t,e,r){var n,i,a,o,s=null,u=0;i=(r=r||{}).includeFallbackColors,a=r.level,o=r.size;for(var l=0;l<e.length;l++)(n=Lu.readability(t,e[l]))>u&&(u=n,s=Lu(e[l]));return Lu.isReadable(t,s,{level:a,size:o})||!i?s:(r.includeFallbackColors=!1,Lu.mostReadable(t,["#fff","#000"],r))};var Ku=Lu.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Xu=Lu.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(Ku);function $u(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Ju(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function Qu(t){return Math.min(1,Math.max(0,t))}function tl(t){return parseInt(t,16)}function el(t){return 1==t.length?"0"+t:""+t}function rl(t){return t<=1&&(t=100*t+"%"),t}function nl(t){return Math.round(255*parseFloat(t)).toString(16)}function il(t){return tl(t)/255}var al,ol,sl,ul=(ol="[\\s|\\(]+("+(al="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+al+")[,|\\s]+("+al+")\\s*\\)?",sl="[\\s|\\(]+("+al+")[,|\\s]+("+al+")[,|\\s]+("+al+")[,|\\s]+("+al+")\\s*\\)?",{CSS_UNIT:new RegExp(al),rgb:new RegExp("rgb"+ol),rgba:new RegExp("rgba"+sl),hsl:new RegExp("hsl"+ol),hsla:new RegExp("hsla"+sl),hsv:new RegExp("hsv"+ol),hsva:new RegExp("hsva"+sl),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function ll(t){return!!ul.CSS_UNIT.exec(t)}function fl(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return cl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cl(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function cl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hl(t){for(var e,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(t),i=n.byteLength,a=i%3,o=i-a,s="",u=0;u<o;u+=3)s+=r[(16515072&(e=n[u]<<16|n[u+1]<<8|n[u+2]))>>18]+r[(258048&e)>>12]+r[(4032&e)>>6]+r[63&e];return 1===a?s+=r[(252&(e=n[o]))>>2]+r[(3&e)<<4]+"==":2===a&&(s+=r[(64512&(e=n[o]<<8|n[o+1]))>>10]+r[(1008&e)>>4]+r[(15&e)<<2]+"="),s}function dl(t){return t.substr(2+(~-t.lastIndexOf(".")>>>0))}function pl(t,e){if(!t)return t;var r="";if(t.constructor===Array)for(var n=0;n<t.length;n++)r+=e(t[n],n);else r+=e(t,0);return r}function gl(t,e){if(e.constructor!==Array)throw Error("Error of path type! path is not array.");if(!t)return t;var r,n=fl(e);try{for(n.s();!(r=n.n()).done;){if(!(t=t[r.value]))return t}}catch(t){n.e(t)}finally{n.f()}return t}function bl(t){return t?Math.round(t/6e4):0}function ml(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,(function(t){return e[t]}))}function vl(t){var e="";switch(t.toLowerCase()){case"jpg":case"jpeg":e="image/jpeg";break;case"png":e="image/png";break;case"gif":e="image/gif";break;case"emf":e="image/x-emf";break;case"wmf":e="image/x-wmf";break;case"svg":e="image/svg+xml";break;case"mp4":e="video/mp4";break;case"webm":e="video/webm";break;case"ogg":e="video/ogg";break;case"avi":e="video/avi";break;case"mpg":e="video/mpg";break;case"wmv":e="video/wmv";break;case"mp3":e="audio/mpeg";break;case"wav":e="audio/wav";break;case"tif":case"tiff":e="image/tiff"}return e}function yl(t){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(t)}function wl(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e}function _l(t,e,r,n){var i,a;if(r)a=r;else{var o=gl(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);a=o||((o=gl(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||gl(e.slideMasterContent,["p:sldMaster","p:clrMap","attrs"]))}var s=t.substr(2);if("phClr"===s&&n)i=n;else{if(a)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":t="a:"+a[s]}else switch(t){case"tx1":t="a:dk1";break;case"tx2":t="a:dk2";break;case"bg1":t="a:lt1";break;case"bg2":t="a:lt2"}var u=gl(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);!(i=gl(u,["a:srgbClr","attrs","val"]))&&u&&(i=gl(u,["a:sysClr","attrs","lastClr"]))}return i}function kl(t,e,r){var n=t["p:spPr"]["a:ln"],i=parseInt(gl(n,["attrs","w"]))/12700;isNaN(i)&&(i=n||"obj"!==e?0:1);var a=gl(n,["a:solidFill","a:srgbClr","attrs","val"]);if(!a){var o=gl(n,["a:solidFill","a:schemeClr"]);a=_l("a:"+gl(o,["attrs","val"]),r)}if(!a){var s=gl(t,["p:style","a:lnRef","a:schemeClr"]);if(a=_l("a:"+gl(s,["attrs","val"]),r)){var u=gl(s,["a:shade","attrs","val"]);if(u){u=parseInt(u)/1e5;var l=Lu("#"+a).toHsl();a=Lu({h:l.h,s:l.s,l:l.l*u,a:l.a}).toHex()}}}a=a?"#".concat(a):"#000";var f="solid",c="0";switch(gl(n,["a:prstDash","attrs","val"])){case"solid":f="solid",c="0";break;case"dash":f="dashed",c="5";break;case"dashDot":f="dashed",c="5, 5, 1, 5";break;case"dot":f="dotted",c="1, 5";break;case"lgDash":f="dashed",c="10, 5";break;case"lgDashDotDot":f="dotted",c="10, 5, 1, 5, 1, 5";break;case"sysDash":f="dashed",c="5, 2";break;case"sysDashDot":f="dotted",c="5, 2, 1, 5";break;case"sysDashDotDot":f="dotted",c="5, 2, 1, 5, 1, 5";break;case"sysDot":f="dotted",c="2, 5"}return{borderColor:a,borderWidth:i,borderType:f,strokeDasharray:c}}function xl(t,e,r){return r<0&&(r+=6),r>=6&&(r-=6),r<1?(e-t)*r+t:r<3?e:r<4?(e-t)*(4-r)+t:t}function Sl(t){var e="";return t["a:noFill"]&&(e="NO_FILL"),t["a:solidFill"]&&(e="SOLID_FILL"),t["a:gradFill"]&&(e="GRADIENT_FILL"),t["a:pattFill"]&&(e="PATTERN_FILL"),t["a:blipFill"]&&(e="PIC_FILL"),t["a:grpFill"]&&(e="GROUP_FILL"),e}function Al(t,e,r){return Cl.apply(this,arguments)}function Cl(){return Cl=r(u.mark((function t(e,r,n){var i,a,o,s,l,f;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=r["a:blip"].attrs["r:embed"],"slideBg"===e||"slide"===e?o=gl(n,["slideResObj",a,"target"]):"slideLayoutBg"===e?o=gl(n,["layoutResObj",a,"target"]):"slideMasterBg"===e?o=gl(n,["masterResObj",a,"target"]):"themeBg"===e?o=gl(n,["themeResObj",a,"target"]):"diagramBg"===e&&(o=gl(n,["diagramResObj",a,"target"])),o){t.next=4;break}return t.abrupt("return",o);case 4:if(i=gl(n,["loaded-images",o])){t.next=15;break}if(o=ml(o),"xml"!==(s=o.split(".").pop())){t.next=10;break}return t.abrupt("return",void 0);case 10:return t.next=12,n.zip.file(o).async("arraybuffer");case 12:l=t.sent,f=vl(s),i="data:".concat(f,";base64,").concat(hl(l));case 15:return t.abrupt("return",i);case 16:case"end":return t.stop()}}),t)}))),Cl.apply(this,arguments)}function El(t,e,r){return Rl.apply(this,arguments)}function Rl(){return(Rl=r(u.mark((function t(e,r,n){var i,a,o,s;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Al(r,e["a:blipFill"],n);case 2:return i=t.sent,a=e["a:blipFill"]["a:blip"],o=gl(a,["a:alphaModFix","attrs"]),s=1,o&&o.amt&&""!==o.amt&&(s=parseInt(o.amt)/1e5),t.abrupt("return",{picBase64:i,opacity:s});case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ol(t,e,r,n){if(t){for(var i=t["a:gradFill"],a=i["a:gsLst"]["a:gs"],o=[],s=0;s<a.length;s++){var u=Ml(a[s],r["p:sldMaster"]["p:clrMap"].attrs,e,n),l=gl(a[s],["attrs","pos"]);o[s]={pos:l?l/1e3+"%":"",color:u}}var f=i["a:lin"],c=90;return f&&(c=bl(f.attrs.ang),c+=90),{rot:c,colors:o.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}return e?-1===e.indexOf("#")?"#".concat(e):e:null}function Tl(t){return Pl.apply(this,arguments)}function Pl(){return Pl=r(u.mark((function t(e){var r,n,i,a,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,z,j,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,it,at,ot,st,ut,lt;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.slideContent,n=e.slideLayoutContent,i=e.slideMasterContent,a=gl(r,["p:sld","p:cSld","p:bg","p:bgPr"]),o=gl(r,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",l="color",!a){t.next=29;break}if("SOLID_FILL"!==(f=Sl(a))){t.next=17;break}c=a["a:solidFill"],(d=gl(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?h=d:(p=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),h=p||gl(i,["p:sldMaster","p:clrMap","attrs"])),g=Ml(c,h,void 0,e),s=g,t.next=27;break;case 17:if("GRADIENT_FILL"!==f){t.next=22;break}"string"==typeof(b=Ol(a,void 0,i,e))?s=b:b&&(s=b,l="gradient"),t.next=27;break;case 22:if("PIC_FILL"!==f){t.next=27;break}return t.next=25,El(a,"slideBg",e);case 25:s=t.sent,l="image";case 27:t.next=142;break;case 29:if(!o){t.next=37;break}(v=gl(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?m=v:(y=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=y||gl(i,["p:sldMaster","p:clrMap","attrs"])),w=Ml(o,m,void 0,e),(_=Number(o.attrs.idx))>1e3&&(k=_-1e3,x=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],S=[],Object.keys(x).forEach((function(t){var e=x[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),S.push(n)}else{var i={};i[t]=e,e.attrs&&(i.idex=e.attrs.order,i.attrs={order:e.attrs.order}),S.push(i)}})),(A=S.slice(0)).sort((function(t,e){return t.idex-e.idex})),C=A[k-1],"SOLID_FILL"===(E=Sl(C))?(R=C["a:solidFill"],O=Ml(R,m,void 0,e),s=O):"GRADIENT_FILL"===E&&("string"==typeof(T=Ol(C,w,i,e))?s=T:T&&(s=T,l="gradient"))),t.next=142;break;case 37:if(a=gl(n,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),o=gl(n,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),L=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),P=L||gl(i,["p:sldMaster","p:clrMap","attrs"]),!a){t.next=61;break}if("SOLID_FILL"!==(M=Sl(a))){t.next=49;break}I=a["a:solidFill"],B=Ml(I,P,void 0,e),s=B,t.next=59;break;case 49:if("GRADIENT_FILL"!==M){t.next=54;break}"string"==typeof(D=Ol(a,void 0,i,e))?s=D:D&&(s=D,l="gradient"),t.next=59;break;case 54:if("PIC_FILL"!==M){t.next=59;break}return t.next=57,El(a,"slideLayoutBg",e);case 57:s=t.sent,l="image";case 59:t.next=142;break;case 61:if(!o){t.next=91;break}if(z=Ml(o,P,void 0,e),!((j=Number(o.attrs.idx))>1e3)){t.next=89;break}if(F=j-1e3,N=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],U=[],Object.keys(N).forEach((function(t){var e=N[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),U.push(n)}else{var i={};i[t]=e,e.attrs&&(i.idex=e.attrs.order,i.attrs={order:e.attrs.order}),U.push(i)}})),(H=U.slice(0)).sort((function(t,e){return t.idex-e.idex})),W=H[F-1],"SOLID_FILL"!==(Z=Sl(W))){t.next=79;break}q=W["a:solidFill"],Y=Ml(q,P,void 0,e),s=Y,t.next=89;break;case 79:if("GRADIENT_FILL"!==Z){t.next=84;break}"string"==typeof(G=Ol(W,z,i,e))?s=G:G&&(s=G,l="gradient"),t.next=89;break;case 84:if("PIC_FILL"!==Z){t.next=89;break}return t.next=87,El(W,"themeBg",e);case 87:s=t.sent,l="image";case 89:t.next=142;break;case 91:if(a=gl(i,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),o=gl(i,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),V=gl(i,["p:sldMaster","p:clrMap","attrs"]),!a){t.next=114;break}if("SOLID_FILL"!==(K=Sl(a))){t.next=102;break}X=a["a:solidFill"],$=Ml(X,V,void 0,e),s=$,t.next=112;break;case 102:if("GRADIENT_FILL"!==K){t.next=107;break}"string"==typeof(J=Ol(a,void 0,i,e))?s=J:J&&(s=J,l="gradient"),t.next=112;break;case 107:if("PIC_FILL"!==K){t.next=112;break}return t.next=110,El(a,"slideMasterBg",e);case 110:s=t.sent,l="image";case 112:t.next=142;break;case 114:if(!o){t.next=142;break}if(Q=Ml(o,V,void 0,e),!((tt=Number(o.attrs.idx))>1e3)){t.next=142;break}if(et=tt-1e3,rt=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],nt=[],Object.keys(rt).forEach((function(t){var e=rt[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),nt.push(n)}else{var i={};i[t]=e,e.attrs&&(i.idex=e.attrs.order,i.attrs={order:e.attrs.order}),nt.push(i)}})),(it=nt.slice(0)).sort((function(t,e){return t.idex-e.idex})),at=it[et-1],"SOLID_FILL"!==(ot=Sl(at))){t.next=132;break}st=at["a:solidFill"],ut=Ml(st,P,void 0,e),s=ut,t.next=142;break;case 132:if("GRADIENT_FILL"!==ot){t.next=137;break}"string"==typeof(lt=Ol(at,Q,i,e))?s=lt:lt&&(s=lt,l="gradient"),t.next=142;break;case 137:if("PIC_FILL"!==ot){t.next=142;break}return t.next=140,El(at,"themeBg",e);case 140:s=t.sent,l="image";case 142:return t.abrupt("return",{type:l,value:s});case 143:case"end":return t.stop()}}),t)}))),Pl.apply(this,arguments)}function Ll(t,e,r){if(gl(t,["p:spPr","a:noFill"]))return e?"none":"";var n;(n||(n=gl(t,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),n)||(n=_l("a:"+gl(t,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),r));n||(n=_l("a:"+gl(t,["p:style","a:fillRef","a:schemeClr","attrs","val"]),r));if(n){n="#".concat(n);var i=parseInt(gl(t,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,a=parseInt(gl(t,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(i)&&(i=1),isNaN(a)&&(a=0);var o=Lu(n).toHsl(),s=o.l*i+a;return Lu({h:o.h,s:o.s,l:s,a:o.a}).toHexString()}return e?"none":n}function Ml(t,e,r,n){if(!t)return"";var i,a,o,s="";if(t["a:srgbClr"])s=gl(i=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"]){s=_l("a:"+gl(i=t["a:schemeClr"],["attrs","val"]),n,e,r)||""}else if(t["a:scrgbClr"]){var u=(i=t["a:scrgbClr"]).attrs,l=-1!==u.r.indexOf("%")?u.r.split("%").shift():u.r,f=-1!==u.g.indexOf("%")?u.g.split("%").shift():u.g,c=-1!==u.b.indexOf("%")?u.b.split("%").shift():u.b;s=wl(Number(l)/100*255)+wl(Number(f)/100*255)+wl(Number(c)/100*255)}else if(t["a:prstClr"]){var h=gl(i=t["a:prstClr"],["attrs","val"]);-1!==(o=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].indexOf(h))&&(a=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][o]),s=a}else if(t["a:hslClr"]){var d=(i=t["a:hslClr"]).attrs,p=function(t,e,r){var n,i=2*r-(n=r<=.5?r*(e+1):r+e-r*e);return{r:255*xl(i,n,2+(t/=60)),g:255*xl(i,n,t),b:255*xl(i,n,t-2)}}(Number(d.hue)/1e5,Number(-1!==d.sat.indexOf("%")?d.sat.split("%").shift():d.sat)/100,Number(-1!==d.lum.indexOf("%")?d.lum.split("%").shift():d.lum)/100);s=wl(p.r)+wl(p.g)+wl(p.b)}else if(t["a:sysClr"]){var g=gl(i=t["a:sysClr"],["attrs","lastClr"]);g&&(s=g)}var b=!1,m=parseInt(gl(i,["a:alpha","attrs","val"]))/1e5;if(!isNaN(m)){var v=Lu(s);v.setAlpha(m),s=v.toHex8(),b=!0}var y=parseInt(gl(i,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=function(t,e,r){var n=Lu(t).toHsl(),i=n.h*e;return i>=360&&(i-=360),r?Lu({h:i,s:n.s,l:n.l,a:n.a}).toHex8():Lu({h:i,s:n.s,l:n.l,a:n.a}).toHex()}(s,y,b));var w=parseInt(gl(i,["a:lumMod","attrs","val"]))/1e5;isNaN(w)||(s=function(t,e,r){var n=Lu(t).toHsl(),i=n.l*e;return i>=1&&(i=1),r?Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex8():Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex()}(s,w,b));var _=parseInt(gl(i,["a:lumOff","attrs","val"]))/1e5;isNaN(_)||(s=function(t,e,r){var n=Lu(t).toHsl(),i=e+n.l;return i>=1?r?Lu({h:n.h,s:n.s,l:1,a:n.a}).toHex8():Lu({h:n.h,s:n.s,l:1,a:n.a}).toHex():r?Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex8():Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex()}(s,_,b));var k=parseInt(gl(i,["a:satMod","attrs","val"]))/1e5;isNaN(k)||(s=function(t,e,r){var n=Lu(t).toHsl(),i=n.s*e;return i>=1&&(i=1),r?Lu({h:n.h,s:i,l:n.l,a:n.a}).toHex8():Lu({h:n.h,s:i,l:n.l,a:n.a}).toHex()}(s,k,b));var x=parseInt(gl(i,["a:shade","attrs","val"]))/1e5;isNaN(x)||(s=function(t,e,r){var n=Lu(t).toHsl();e>=1&&(e=1);var i=Math.min(n.l*e,1);return r?Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex8():Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex()}(s,x,b));var S=parseInt(gl(i,["a:tint","attrs","val"]))/1e5;return isNaN(S)||(s=function(t,e,r){var n=Lu(t).toHsl();e>=1&&(e=1);var i=n.l*e+(1-e);return r?Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex8():Lu({h:n.h,s:n.s,l:i,a:n.a}).toHex()}(s,S,b)),s&&-1===s.indexOf("#")&&(s="#"+s),s}function Il(t){var e=[];if(!t)return e;if(t["c:xVal"]){var r=[];pl(t["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return r.push(parseFloat(t["c:v"])),""})),e.push(r),r=[],pl(t["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return r.push(parseFloat(t["c:v"])),""})),e.push(r)}else pl(t,(function(t,r){var n=[],i=gl(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,a={};return gl(t,["c:cat","c:strRef","c:strCache","c:pt"])?pl(t["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],(function(t){return a[t.attrs.idx]=t["c:v"],""})):gl(t,["c:cat","c:numRef","c:numCache","c:pt"])&&pl(t["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return a[t.attrs.idx]=t["c:v"],""})),gl(t,["c:val","c:numRef","c:numCache","c:pt"])&&pl(t["c:val"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return n.push({x:t.attrs.idx,y:parseFloat(t["c:v"])}),""})),e.push({key:i,values:n,xlabels:a}),""}));return e}function Bl(t){var e=null;for(var r in t)switch(r){case"c:lineChart":e={type:"lineChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),marker:!!t[r]["c:marker"]};break;case"c:line3DChart":e={type:"line3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:barChart":e={type:"barChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),barDir:gl(t[r],["c:barDir","attrs","val"])};break;case"c:bar3DChart":e={type:"bar3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),barDir:gl(t[r],["c:barDir","attrs","val"])};break;case"c:pieChart":e={type:"pieChart",data:Il(t[r]["c:ser"])};break;case"c:pie3DChart":e={type:"pie3DChart",data:Il(t[r]["c:ser"])};break;case"c:doughnutChart":e={type:"doughnutChart",data:Il(t[r]["c:ser"]),holeSize:gl(t[r],["c:holeSize","attrs","val"])};break;case"c:areaChart":e={type:"areaChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:area3DChart":e={type:"area3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:scatterChart":e={type:"scatterChart",data:Il(t[r]["c:ser"]),style:gl(t[r],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":e={type:"bubbleChart",data:Il(t[r]["c:ser"])};break;case"c:radarChart":e={type:"radarChart",data:Il(t[r]["c:ser"]),style:gl(t[r],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":e={type:"surfaceChart",data:Il(t[r]["c:ser"])};break;case"c:surface3DChart":e={type:"surface3DChart",data:Il(t[r]["c:ser"])};break;case"c:stockChart":e={type:"stockChart",data:Il(t[r]["c:ser"])}}return e}function Dl(t,e,r,n){var i=gl(t,["a:pPr","attrs","algn"]);if(i||(i=gl(e,["a:pPr","attrs","algn"])),!i)if("title"===r||"ctrTitle"===r||"subTitle"===r){var a=1,o=gl(e,["a:pPr","attrs","lvl"]);o&&(a=parseInt(o)+1);var s="a:lvl"+a+"pPr";(i=gl(n,["slideLayoutTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(i=gl(n,["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"])),i||(i=gl(n,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),i||"subTitle"!==r||(i=gl(n,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else i=gl(n,"body"===r?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var u="left";if(i)switch(i){case"l":u="left";break;case"r":u="right";break;case"ctr":u="center";break;case"just":case"dist":u="justify";break;default:u="inherit"}return u}var zl=72/914400;function jl(t,e,r){var n;return t?n=t["a:off"].attrs:e?n=e["a:off"].attrs:r&&(n=r["a:off"].attrs),n?{top:parseInt(n.y)*zl,left:parseInt(n.x)*zl}:{top:0,left:0}}function Fl(t,e,r){var n;return t?n=t["a:ext"].attrs:e?n=e["a:ext"].attrs:r&&(n=r["a:ext"].attrs),n?{width:parseInt(n.cx)*zl,height:parseInt(n.cy)*zl}:{width:0,height:0}}function Nl(t,e){var r=Ml(t,void 0,void 0,e),n=t.attrs,i=n.dir?parseInt(n.dir)/6e4:0,a=parseInt(n.dist)*zl,o=n.blurRad?parseInt(n.blurRad)*zl:"",s=a*Math.sin(i*Math.PI/180);return{h:a*Math.cos(i*Math.PI/180),v:s,blur:o,color:r}}function Ul(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Hl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hl(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function Hl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Wl(t,e,r,n,i){if(!t)return"";var a,o="",s=gl(e,["p:style","a:fontRef"]),u=t["a:p"],l="",f=Ul(u.constructor===Array?u:[u]);try{for(f.s();!(a=f.n()).done;){var c=a.value,h=c["a:r"],d=c["a:fld"],p=c["a:br"];h&&(h=h.constructor===Array?h:[h],d&&(d=d.constructor===Array?d:[d],h=h.concat(d)),p&&((p=p.constructor===Array?p:[p]).forEach((function(t){return t.type="br"})),p.length>1&&p.shift(),(h=h.concat(p)).sort((function(t,e){return!t.attrs||!e.attrs||t.attrs.order-e.attrs.order}))));var g=Dl(c,e,n,i),b=Zl(c);if(b?(l?l&&l!==b&&(o+="</".concat(l,">"),o+="<".concat(b,">"),l=b):(o+="<".concat(b,">"),l=b),o+='<li style="text-align: '.concat(g,';">')):(l&&(o+="</".concat(l,">"),l=""),o+='<p style="text-align: '.concat(g,';">')),h){var m,v=Ul(h);try{for(v.s();!(m=v.n()).done;){o+=ql(m.value,c,t,s,r,n,i)}}catch(t){v.e(t)}finally{v.f()}}else o+=ql(c,e,t,s,r,n,i);o+=b?"</li>":"</p>"}}catch(t){f.e(t)}finally{f.f()}return o}function Zl(t){var e=t["a:pPr"];return e?e["a:buChar"]?"ul":e["a:buAutoNum"]?"ol":"":""}function ql(t,e,r,n,i,a,o){var s=r["a:lstStyle"],u=o.slideMasterTextStyles,l=1,f=gl(e["a:pPr"],["attrs","lvl"]);void 0!==f&&(l=parseInt(f)+1);var c=t["a:t"];"string"!=typeof c&&(c=gl(t,["a:fld","a:t"])),"string"!=typeof c&&(c="&nbsp;");var h="",d=function(t,e,r,n,i,a){var o,s=gl(t,["a:rPr"]);if(s&&"SOLID_FILL"===Sl(s)&&(o=Ml(s["a:solidFill"],void 0,void 0,a)),!o&&gl(r,["a:lvl"+i+"pPr","a:defRPr"])){var u=gl(r,["a:lvl"+i+"pPr","a:defRPr"]);"SOLID_FILL"===Sl(u)&&(o=Ml(u["a:solidFill"],void 0,void 0,a))}if(!o){var l=gl(e,["p:style","a:fontRef"]);l&&(o=Ml(l,void 0,void 0,a)),!o&&n&&(o=Ml(n,void 0,void 0,a))}return o||""}(t,e,s,n,l,o),p=function(t,e,r,n){var i,a;if(gl(t,["a:rPr","attrs","sz"])&&(i=gl(t,["a:rPr","attrs","sz"])/100),isNaN(i)||!i){var o=gl(e,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);i=parseInt(o)/100}return!isNaN(i)&&i||("title"===r||"subTitle"===r||"ctrTitle"===r?a=gl(n,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"body"===r?a=gl(n,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"dt"===r||"sldNum"===r?a="1200":r||(a=gl(n,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),a&&(i=parseInt(a)/100)),gl(t,["a:rPr","attrs","baseline"])&&!isNaN(i)&&(i-=10),(i=isNaN(i)||!i?18:i)+"pt"}(t,i,a,u),g=function(t,e,r){var n=gl(t,["a:rPr","a:latin","attrs","typeface"]);if(!n){var i=gl(r.themeContent,["a:theme","a:themeElements","a:fontScheme"]);n=gl(i,"title"===e||"subTitle"===e||"ctrTitle"===e?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return n||""}(t,a,o),b=function(t){return"1"===gl(t,["a:rPr","attrs","b"])?"bold":""}(t),m=function(t){return"1"===gl(t,["a:rPr","attrs","i"])?"italic":""}(t),v=function(t){return"sng"===gl(t,["a:rPr","attrs","u"])?"underline":""}(t),y=function(t){return"sngStrike"===gl(t,["a:rPr","attrs","strike"])?"line-through":""}(t),w=function(t){var e=gl(t,["a:rPr","attrs","spc"]);return e?parseInt(e)/100+"pt":""}(t),_=function(t,e){var r=gl(t,["a:rPr","a:effectLst","a:outerShdw"]);if(r){var n=Nl(r,e);if(n){var i=n.h,a=n.v,o=n.blur,s=n.color;if(!isNaN(a)&&!isNaN(i))return i+"pt "+a+"pt "+(o?o+"pt":"")+" "+s}}return""}(t,o),k=function(t){var e=gl(t,["a:rPr","attrs","baseline"]);return e?parseInt(e)>0?"super":"sub":""}(t);d&&(h+="color: ".concat(d,";")),p&&(h+="font-size: ".concat(p,";")),g&&(h+="font-family: ".concat(g,";")),b&&(h+="font-weight: ".concat(b,";")),m&&(h+="font-style: ".concat(m,";")),v&&(h+="text-decoration: ".concat(v,";")),y&&(h+="text-decoration-line: ".concat(y,";")),w&&(h+="letter-spacing: ".concat(w,";")),k&&(h+="vertical-align: ".concat(k,";")),_&&(h+="text-shadow: ".concat(_,";"));var x=gl(t,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var S=o.slideResObj[x].target;return'<span style="'.concat(h,'"><a href="').concat(S,'" target="_blank">').concat(c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</a></span>")}return'<span style="'.concat(h,'">').concat(c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</span>")}function Yl(t,e,r,n,i,a,o){var s,u=i;if(a>=i)for(;u<=a;){var l=u*(Math.PI/180),f=t+Math.cos(l)*r,c=e+Math.sin(l)*n;u===i&&(s=" M"+f+" "+c),s+=" L"+f+" "+c,u++}else for(;u>a;){var h=u*(Math.PI/180),d=t+Math.cos(h)*r,p=e+Math.sin(h)*n;u===i&&(s=" M "+d+" "+p),s+=" L "+d+" "+p,u--}return s+=o?" z":""}function Gl(t,e,r,n){var i,a,o,s,u,l=gl(t,["attrs","rowSpan"]),f=gl(t,["attrs","gridSpan"]),c=gl(t,["attrs","vMerge"]),h=gl(t,["attrs","hMerge"]),d=gl(t,["a:tcPr"]);d&&(i=Ll({"p:spPr":d},void 0,n));i||(r&&(s=gl(e,[r,"a:tcStyle","a:fill","a:solidFill"])),s&&(i=Ml(s,void 0,void 0,n)));return r&&(u=gl(e,[r,"a:tcTxStyle"])),u&&(a=Ml(u,void 0,void 0,n),"on"===gl(u,["attrs","b"])&&(o=!0)),{fillColor:i,fontColor:a,fontBold:o,rowSpan:l?+l:void 0,colSpan:f?+f:void 0,vMerge:c?+c:void 0,hMerge:h?+h:void 0}}function Vl(t,e,r,n,i){var a,o,s;if(n&&n["a:wholeTbl"]){var u=gl(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(u){var l=Ml(u,void 0,void 0,i);l&&(a=l)}var f=gl(n,["a:wholeTbl","a:tcTxStyle"]);if(f){var c=Ml(f,void 0,void 0,i);c&&(o=c),"on"===gl(f,["attrs","b"])&&(s=!0)}}if(0===e&&1===r.isFrstRowAttr&&n){var h=gl(n,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(h){var d=Ml(h,void 0,void 0,i);d&&(a=d)}var p=gl(n,["a:firstRow","a:tcTxStyle"]);if(p){var g=Ml(p,void 0,void 0,i);g&&(o=g),"on"===gl(p,["attrs","b"])&&(s=!0)}}else if(e>0&&1===r.isBandRowAttr&&n){if(a="",e%2==0&&n["a:band2H"]){var b=gl(n,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(b){var m=Ml(b,void 0,void 0,i);m&&(a=m)}var v=gl(n,["a:band2H","a:tcTxStyle"]);if(v){var y=Ml(v,void 0,void 0,i);y&&(o=y)}"on"===gl(v,["attrs","b"])&&(s=!0)}if(e%2!=0&&n["a:band1H"]){var w=gl(n,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(w){var _=Ml(w,void 0,void 0,i);_&&(a=_)}var k=gl(n,["a:band1H","a:tcTxStyle"]);if(k){var x=Ml(k,void 0,void 0,i);x&&(o=x),"on"===gl(k,["attrs","b"])&&(s=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&n){var S=gl(n,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(S){var A=Ml(S,void 0,void 0,i);A&&(a=A)}var C=gl(n,["a:lastRow","a:tcTxStyle"]);if(C){var E=Ml(C,void 0,void 0,i);E&&(o=E),"on"===gl(C,["attrs","b"])&&(s=!0)}}return{fillColor:a,fontColor:o,fontBold:s}}function Kl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xl(t){return function(t){if(Array.isArray(t))return Kl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Kl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kl(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $l(t){var e=[];return"object"!==mu(t)||(t["m:oMath"]&&(e=e.concat(t["m:oMath"])),Object.values(t).forEach((function(t){(Array.isArray(t)||"object"===mu(t))&&(e=e.concat($l(t)))}))),e}function Jl(t,e){var r=Ql(t["m:e"]),n=Ql(t["m:lim"]);return"low"===e?"".concat(r,"_{").concat(n,"}"):"".concat(r,"^{").concat(n,"}")}function Ql(t){if(!t)return"";if(Array.isArray(t))return t.map((function(t){return Ql(t)})).join("");for(var e=[],r=Object.keys(t),n=function(){var r=a[i];Array.isArray(t[r])?e.push.apply(e,Xl(t[r].map((function(t){return{key:r,value:t}})))):e.push({key:r,value:t[r]})},i=0,a=r;i<a.length;i++)n();return e.sort((function(t,e){var r=0;"m:r"===t.key&&t.value&&t.value["a:rPr"]?r=t.value["a:rPr"].attrs.order:t.value["".concat(t.key,"Pr")]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(r=t.value["".concat(t.key,"Pr")]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order);var n=0;return"m:r"===e.key&&e.value&&e.value["a:rPr"]?n=e.value["a:rPr"].attrs.order:e.value["".concat(e.key,"Pr")]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(n=e.value["".concat(e.key,"Pr")]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order),r-n})),e.map((function(t){var e,r,n,i,a,o,s,u,l,f,c,h,d,p,g,b,m,v=t.key,y=t.value;return"m:f"===v?(r=Ql((e=y)["m:num"]),n=Ql(e["m:den"]),"\\frac{".concat(r,"}{").concat(n,"}")):"m:sSup"===v?(a=Ql((i=y)["m:e"]),o=Ql(i["m:sup"]),"".concat(a,"^{").concat(o,"}")):"m:sSub"===v?function(t){var e=Ql(t["m:e"]),r=Ql(t["m:sub"]);return"".concat(e,"_{").concat(r,"}")}(y):"m:rad"===v?(u=Ql((s=y)["m:deg"]),l=Ql(s["m:e"]),u?"\\sqrt[".concat(u,"]{").concat(l,"}"):"\\sqrt{".concat(l,"}")):"m:nary"===v?function(t){var e=gl(t,["m:naryPr","m:chr","attrs","m:val"])||"∫",r=Ql(t["m:sub"]),n=Ql(t["m:sup"]),i=Ql(t["m:e"]);return"".concat(e,"_{").concat(r,"}^{").concat(n,"}{").concat(i,"}")}(y):"m:limLow"===v?Jl(y,"low"):"m:limUpp"===v?Jl(y,"upp"):"m:d"===v?function(t){var e=gl(t,["m:dPr","m:begChr","attrs","m:val"]),r=gl(t,["m:dPr","m:endChr","attrs","m:val"]);e||r||(e="(",r=")"),e&&r&&(e="\\left".concat(e),r="\\right".concat(r));var n=Ql(t["m:e"]);return"".concat(e).concat(n).concat(r)}(y):"m:func"===v?(c=Ql((f=y)["m:fName"]),h=Ql(f["m:e"]),"\\".concat(c,"{").concat(h,"}")):"m:groupChr"===v?(p=gl(d=y,["m:groupChrPr","m:chr","attrs","m:val"]),g=Ql(d["m:e"]),"".concat(p).concat(g).concat(p)):"m:eqArr"===v?(b=y["m:e"].map((function(t){return Ql(t)})).join(" \\\\ "),"\\begin{cases} ".concat(b," \\end{cases}")):"m:bar"===v?function(t){var e=Ql(t["m:e"]);return"top"===gl(t,["m:barPr","m:pos","attrs","m:val"])?"\\overline{".concat(e,"}"):"\\underline{".concat(e,"}")}(y):"m:acc"===v?function(t){var e=gl(t,["m:accPr","m:chr","attrs","m:val"])||"^",r=Ql(t["m:e"]);switch(e){case"́":return"\\acute{".concat(r,"}");case"̀":return"\\grave{".concat(r,"}");case"̂":return"\\hat{".concat(r,"}");case"̃":return"\\tilde{".concat(r,"}");case"̄":return"\\bar{".concat(r,"}");case"̆":return"\\breve{".concat(r,"}");case"̇":return"\\dot{".concat(r,"}");case"̈":return"\\ddot{".concat(r,"}");case"̊":return"\\mathring{".concat(r,"}");case"̋":return"\\H{".concat(r,"}");case"̌":return"\\check{".concat(r,"}");case"̧":return"\\c{".concat(r,"}");default:return"\\".concat(e,"{").concat(r,"}")}}(y):"m:borderBox"===v?function(t){var e=Ql(t["m:e"]);return"\\boxed{".concat(e,"}")}(y):"m:m"===v?(m=y["m:mr"].map((function(t){return t["m:e"].map((function(t){return Ql(t)})).join(" & ")})),"\\begin{matrix} ".concat(m.join(" \\\\ ")," \\end{matrix}")):"m:r"===v?Ql(y):"m:t"===v?y:""})).join("")}function tf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ef(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?tf(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rf(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return nf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nf(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}function nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function af(t){return of.apply(this,arguments)}function of(){return(of=r(u.mark((function t(e){var r,n,i,a,o,s,l,f,c,h,d,p;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],t.next=3,bu.loadAsync(e);case 3:return n=t.sent,t.next=6,sf(n);case 6:return i=t.sent,t.next=9,lf(n);case 9:return a=t.sent,o=a.width,s=a.height,l=a.defaultTextStyle,t.next=15,cf(n);case 15:f=t.sent,c=rf(i.slides),t.prev=17,c.s();case 19:if((h=c.n()).done){t.next=27;break}return d=h.value,t.next=23,df(n,d,f,l);case 23:p=t.sent,r.push(p);case 25:t.next=19;break;case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(17),c.e(t.t0);case 32:return t.prev=32,c.f(),t.finish(32);case 35:return t.abrupt("return",{slides:r,size:{width:o,height:s}});case 36:case"end":return t.stop()}}),t,null,[[17,29,32,35]])})))).apply(this,arguments)}function sf(t){return uf.apply(this,arguments)}function uf(){return(uf=r(u.mark((function t(e){var r,n,i,a,o,s,l,f;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"[Content_Types].xml");case 2:r=t.sent,n=r.Types.Override,i=[],a=[],o=rf(n),t.prev=7,o.s();case 9:if((s=o.n()).done){t.next=20;break}l=s.value,t.t0=l.attrs.ContentType,t.next="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"===t.t0?14:"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"===t.t0?16:18;break;case 14:return i.push(l.attrs.PartName.substr(1)),t.abrupt("break",18);case 16:return a.push(l.attrs.PartName.substr(1)),t.abrupt("break",18);case 18:t.next=9;break;case 20:t.next=25;break;case 22:t.prev=22,t.t1=t.catch(7),o.e(t.t1);case 25:return t.prev=25,o.f(),t.finish(25);case 28:return f=function(t,e){return+/(\d+)\.xml/.exec(t)[1]-+/(\d+)\.xml/.exec(e)[1]},i=i.sort(f),a=a.sort(f),t.abrupt("return",{slides:i,slideLayouts:a});case 32:case"end":return t.stop()}}),t,null,[[7,22,25,28]])})))).apply(this,arguments)}function lf(t){return ff.apply(this,arguments)}function ff(){return(ff=r(u.mark((function t(e){var r,n,i;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"ppt/presentation.xml");case 2:return r=t.sent,n=r["p:presentation"]["p:sldSz"].attrs,i=r["p:presentation"]["p:defaultTextStyle"],t.abrupt("return",{width:parseInt(n.cx)*zl,height:parseInt(n.cy)*zl,defaultTextStyle:i});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function cf(t){return hf.apply(this,arguments)}function hf(){return(hf=r(u.mark((function t(e){var r,n,i,a,o,s;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"ppt/_rels/presentation.xml.rels");case 2:if(r=t.sent,(n=r.Relationships.Relationship).constructor!==Array){t.next=25;break}a=rf(n),t.prev=6,a.s();case 8:if((o=a.n()).done){t.next=15;break}if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"!==(s=o.value).attrs.Type){t.next=13;break}return i=s.attrs.Target,t.abrupt("break",15);case 13:t.next=8;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(6),a.e(t.t0);case 20:return t.prev=20,a.f(),t.finish(20);case 23:t.next=26;break;case 25:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===n.attrs.Type&&(i=n.attrs.Target);case 26:if(i){t.next=28;break}throw Error("Can't open theme file.");case 28:return t.next=30,Eu(e,"ppt/"+i);case 30:return t.abrupt("return",t.sent);case 31:case"end":return t.stop()}}),t,null,[[6,17,20,23]])})))).apply(this,arguments)}function df(t,e,r,n){return pf.apply(this,arguments)}function pf(){return pf=r(u.mark((function t(e,r,n,i){var a,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,z,j,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,it,at,ot,st,ut,lt,ft;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=r.replace("slides/slide","slides/_rels/slide")+".rels",t.next=3,Eu(e,a);case 3:if(o=t.sent,s=o.Relationships.Relationship,l="",f="",c="",h={},s.constructor!==Array){t.next=38;break}d=rf(s),t.prev=11,d.s();case 13:if((p=d.n()).done){t.next=28;break}g=p.value,t.t0=g.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"===t.t0?18:"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"===t.t0?20:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"===t.t0?23:("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"===t.t0||"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"===t.t0||t.t0,25);break;case 18:return l=g.attrs.Target.replace("../","ppt/"),t.abrupt("break",26);case 20:return f=g.attrs.Target.replace("../","ppt/"),h[g.attrs.Id]={type:g.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:g.attrs.Target.replace("../","ppt/")},t.abrupt("break",26);case 23:return c=g.attrs.Target.replace("../","ppt/"),t.abrupt("break",26);case 25:h[g.attrs.Id]={type:g.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:g.attrs.Target.replace("../","ppt/")};case 26:t.next=13;break;case 28:t.next=33;break;case 30:t.prev=30,t.t1=t.catch(11),d.e(t.t1);case 33:return t.prev=33,d.f(),t.finish(33);case 36:t.next=39;break;case 38:l=s.attrs.Target.replace("../","ppt/");case 39:return t.next=41,Eu(e,c);case 41:return b=t.sent,m=gf(b),t.next=45,Eu(e,l);case 45:return v=t.sent,t.next=48,bf(v);case 48:return y=t.sent,w=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",t.next=52,Eu(e,w);case 52:if(_=t.sent,s=_.Relationships.Relationship,k="",x={},s.constructor!==Array){t.next=80;break}S=rf(s),t.prev=58,S.s();case 60:if((A=S.n()).done){t.next=70;break}C=A.value,t.t2=C.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"===t.t2?65:67;break;case 65:return k=C.attrs.Target.replace("../","ppt/"),t.abrupt("break",68);case 67:x[C.attrs.Id]={type:C.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:C.attrs.Target.replace("../","ppt/")};case 68:t.next=60;break;case 70:t.next=75;break;case 72:t.prev=72,t.t3=t.catch(58),S.e(t.t3);case 75:return t.prev=75,S.f(),t.finish(75);case 78:t.next=81;break;case 80:k=s.attrs.Target.replace("../","ppt/");case 81:return t.next=83,Eu(e,k);case 83:return E=t.sent,R=gl(E,["p:sldMaster","p:txStyles"]),O=bf(E),T=k.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",t.next=89,Eu(e,T);case 89:if(P=t.sent,s=P.Relationships.Relationship,L="",M={},s.constructor!==Array){t.next=116;break}I=rf(s),t.prev=95,I.s();case 97:if((B=I.n()).done){t.next=106;break}D=B.value,t.t4=D.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.t4?102:103;break;case 102:return t.abrupt("break",104);case 103:M[D.attrs.Id]={type:D.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:D.attrs.Target.replace("../","ppt/")};case 104:t.next=97;break;case 106:t.next=111;break;case 108:t.prev=108,t.t5=t.catch(95),I.e(t.t5);case 111:return t.prev=111,I.f(),t.finish(111);case 114:t.next=117;break;case 116:L=s.attrs.Target.replace("../","ppt/");case 117:if(z={},!L){t.next=125;break}return j=L.split("/").pop(),F=L.replace(j,"_rels/"+j)+".rels",t.next=123,Eu(e,F);case 123:if((N=t.sent)&&(s=N.Relationships.Relationship))if(s.constructor===Array){U=rf(s);try{for(U.s();!(H=U.n()).done;)W=H.value,z[W.attrs.Id]={type:W.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:W.attrs.Target.replace("../","ppt/")}}catch(t){U.e(t)}finally{U.f()}}else z[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 125:if(Z={},q={},!f){t.next=138;break}return Y=f.split("/").pop(),G=f.replace(Y,"_rels/"+Y)+".rels",t.next=132,Eu(e,f);case 132:return(q=t.sent)&&q&&q&&(V=(V=JSON.stringify(q)).replace(/dsp:/g,"p:"),q=JSON.parse(V)),t.next=136,Eu(e,G);case 136:if(K=t.sent)if((s=K.Relationships.Relationship).constructor===Array){X=rf(s);try{for(X.s();!($=X.n()).done;)J=$.value,Z[J.attrs.Id]={type:J.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:J.attrs.Target.replace("../","ppt/")}}catch(t){X.e(t)}finally{X.f()}}else Z[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 138:return t.next=140,Eu(e,"ppt/tableStyles.xml");case 140:return Q=t.sent,t.next=143,Eu(e,r);case 143:return tt=t.sent,et=tt["p:sld"]["p:cSld"]["p:spTree"],rt={zip:e,slideLayoutContent:v,slideLayoutTables:y,slideMasterContent:E,slideMasterTables:O,slideContent:tt,tableStyles:Q,slideResObj:h,slideMasterTextStyles:R,layoutResObj:x,masterResObj:M,themeContent:n,themeResObj:z,digramFileContent:q,diagramResObj:Z,defaultTextStyle:i},t.next=148,Tl(rt);case 148:nt=t.sent,it=[],t.t6=u.keys(et);case 151:if((t.t7=t.t6()).done){t.next=181;break}if(at=t.t7.value,et[at].constructor!==Array){t.next=175;break}ot=rf(et[at]),t.prev=155,ot.s();case 157:if((st=ot.n()).done){t.next=165;break}return ut=st.value,t.next=161,mf(at,ut,rt,"slide");case 161:(lt=t.sent)&&it.push(lt);case 163:t.next=157;break;case 165:t.next=170;break;case 167:t.prev=167,t.t8=t.catch(155),ot.e(t.t8);case 170:return t.prev=170,ot.f(),t.finish(170);case 173:t.next=179;break;case 175:return t.next=177,mf(at,et[at],rt,"slide");case 177:(ft=t.sent)&&it.push(ft);case 179:t.next=151;break;case 181:return t.abrupt("return",{fill:nt,elements:it,note:m});case 182:case"end":return t.stop()}}),t,null,[[11,30,33,36],[58,72,75,78],[95,108,111,114],[155,167,170,173]])}))),pf.apply(this,arguments)}function gf(t){var e="",r=gl(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";r.constructor!==Array&&(r=[r]);var n,i=rf(r);try{for(i.s();!(n=i.n()).done;){var a=gl(n.value,["p:txBody","a:p","a:r"]);if(a){a.constructor!==Array&&(a=[a]);var o,s=rf(a);try{for(s.s();!(o=s.n()).done;){var u=gl(o.value,["a:t"]);u&&(e+=u)}}catch(t){s.e(t)}finally{s.f()}}}}catch(t){i.e(t)}finally{i.f()}return e}function bf(t){var e=t[Object.keys(t)[0]]["p:cSld"]["p:spTree"],r={},n={},i={};for(var a in e)if("p:nvGrpSpPr"!==a&&"p:grpSpPr"!==a){var o=e[a];if(o.constructor===Array){var s,u=rf(o);try{for(u.s();!(s=u.n()).done;){var l=s.value,f=l["p:nvSpPr"],c=gl(f,["p:cNvPr","attrs","id"]),h=gl(f,["p:nvPr","p:ph","attrs","idx"]),d=gl(f,["p:nvPr","p:ph","attrs","type"]);c&&(r[c]=l),h&&(n[h]=l),d&&(i[d]=l)}}catch(t){u.e(t)}finally{u.f()}}else{var p=o["p:nvSpPr"],g=gl(p,["p:cNvPr","attrs","id"]),b=gl(p,["p:nvPr","p:ph","attrs","idx"]),m=gl(p,["p:nvPr","p:ph","attrs","type"]);g&&(r[g]=o),b&&(n[b]=o),m&&(i[m]=o)}}return{idTable:r,idxTable:n,typeTable:i}}function mf(t,e,r,n){return vf.apply(this,arguments)}function vf(){return(vf=r(u.mark((function t(e,r,n,i){var a;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=e,t.next="p:sp"===t.t0?3:"p:cxnSp"===t.t0?5:"p:pic"===t.t0?7:"p:graphicFrame"===t.t0?9:"p:grpSp"===t.t0?13:"mc:AlternateContent"===t.t0?17:28;break;case 3:return a=kf(r,n,i),t.abrupt("break",28);case 5:return a=xf(r,n),t.abrupt("break",28);case 7:return a=Af(r,n,i),t.abrupt("break",28);case 9:return t.next=11,Ef(r,n,i);case 11:return a=t.sent,t.abrupt("break",28);case 13:return t.next=15,wf(r,n,i);case 15:return a=t.sent,t.abrupt("break",28);case 17:if(!gl(r,["mc:Fallback","p:grpSpPr","a:xfrm"])){t.next=23;break}return t.next=20,wf(gl(r,["mc:Fallback"]),n,i);case 20:a=t.sent,t.next=27;break;case 23:if(!gl(r,["mc:Choice"])){t.next=27;break}return t.next=26,yf(gl(r,["mc:Choice"]));case 26:a=t.sent;case 27:return t.abrupt("break",28);case 28:return t.abrupt("return",a);case 29:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function yf(t){var e=gl(t,["p:sp","p:spPr","a:xfrm"]),r=jl(e,void 0,void 0),n=r.top,i=r.left,a=Fl(e,void 0,void 0);return{type:"math",top:n,left:i,width:a.width,height:a.height,latex:function(t){return t.replaceAll(/&lt;/g,"<").replaceAll(/&gt;/g,">").replaceAll(/&amp;/g,"&").replaceAll(/&apos;/g,"'").replaceAll(/&quot;/g,'"')}(Ql($l(t)[0]))}}function wf(t,e,r){return _f.apply(this,arguments)}function _f(){return _f=r(u.mark((function t(e,r,n){var i,a,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=gl(e,["p:grpSpPr","a:xfrm"])){t.next=3;break}return t.abrupt("return",null);case 3:a=parseInt(i["a:off"].attrs.x)*zl,o=parseInt(i["a:off"].attrs.y)*zl,s=parseInt(i["a:chOff"].attrs.x)*zl,l=parseInt(i["a:chOff"].attrs.y)*zl,f=parseInt(i["a:ext"].attrs.cx)*zl,c=parseInt(i["a:ext"].attrs.cy)*zl,h=parseInt(i["a:chExt"].attrs.cx)*zl,d=parseInt(i["a:chExt"].attrs.cy)*zl,(p=gl(i,["attrs","rot"])||0)&&(p=bl(p)),g=f/h,b=c/d,m=[],t.t0=u.keys(e);case 17:if((t.t1=t.t0()).done){t.next=47;break}if(v=t.t1.value,e[v].constructor!==Array){t.next=41;break}y=rf(e[v]),t.prev=21,y.s();case 23:if((w=y.n()).done){t.next=31;break}return _=w.value,t.next=27,mf(v,_,r,n);case 27:(k=t.sent)&&m.push(k);case 29:t.next=23;break;case 31:t.next=36;break;case 33:t.prev=33,t.t2=t.catch(21),y.e(t.t2);case 36:return t.prev=36,y.f(),t.finish(36);case 39:t.next=45;break;case 41:return t.next=43,mf(v,e[v],r,n);case 43:(x=t.sent)&&m.push(x);case 45:t.next=17;break;case 47:return t.abrupt("return",{type:"group",top:o,left:a,width:f,height:c,rotate:p,elements:m.map((function(t){return ef(ef({},t),{},{left:(t.left-s)*g,top:(t.top-l)*b,width:t.width*g,height:t.height*b})}))});case 48:case"end":return t.stop()}}),t,null,[[21,33,36,39]])}))),_f.apply(this,arguments)}function kf(t,e,r){var n,i,a=gl(t,["p:nvSpPr","p:cNvPr","attrs","name"]),o=gl(t,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=gl(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);(s?(n=e.slideLayoutTables.typeTable[s],i=e.slideMasterTables.typeTable[s]):o&&(n=e.slideLayoutTables.idxTable[o],i=e.slideMasterTables.idxTable[o]),s)||"1"===gl(t,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])&&(s="text");return s||(s=gl(n,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=gl(i,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s="diagramBg"===r?"diagram":"obj"),Sf(t,n,i,a,s,e)}function xf(t,e){return Sf(t,void 0,void 0,t["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,void 0===t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:t["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,e)}function Sf(t,e,r,n,i,a){var o,s=["p:spPr","a:xfrm"],u=gl(t,s),l=gl(e,s),f=gl(r,s),c=gl(t,["p:spPr","a:prstGeom","attrs","prst"]),h=gl(t,["p:spPr","a:custGeom"]),d=jl(u,l,f),p=d.top,g=d.left,b=Fl(u,l,f),m=b.width,v=b.height,y="1"===gl(u,["attrs","flipV"]),w="1"===gl(u,["attrs","flipH"]),_=bl(gl(u,["attrs","rot"])),k=gl(t,["p:txXfrm"]);if(k){var x=gl(k,["attrs","rot"]);x&&(o=bl(x)+90)}else o=_;var S="";t["p:txBody"]&&(S=Wl(t["p:txBody"],t,e,i,a));var A,C=kl(t,i,a),E=C.borderColor,R=C.borderWidth,O=C.borderType,T=C.strokeDasharray,P=Ll(t,void 0,a)||"",L=gl(t,["p:spPr","a:effectLst","a:outerShdw"]);L&&(A=Nl(L,a));var M=function(t,e,r){var n=gl(t,["p:txBody","a:bodyPr","attrs","anchor"]);return n||(n=gl(e,["p:txBody","a:bodyPr","attrs","anchor"]))||(n=gl(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(n="t"),"ctr"===n?"mid":"b"===n?"down":"up"}(t,e,r),I="eaVert"===gl(t,["p:txBody","a:bodyPr","attrs","vert"]),B={left:g,top:p,width:m,height:v,borderColor:E,borderWidth:R,borderType:O,borderStrokeDasharray:T,fillColor:P,content:S,isFlipV:y,isFlipH:w,rotate:_,vAlign:M,name:n};if(A&&(B.shadow=A),h&&"diagram"!==i){var D=gl(u,["a:ext","attrs"]),z=function(t,e,r){var n=gl(t,["a:pathLst"]),i=gl(n,["a:path"]);Array.isArray(i)&&(i=i.pop());var a=parseInt(i.attrs.w),o=parseInt(i.attrs.h),s=0===a?0:1/a*e,u=0===o?0:1/o*r,l="",f=gl(i,["a:moveTo"]),c=i["a:lnTo"],h=i["a:cubicBezTo"],d=i["a:arcTo"],p=gl(i,["a:close"]);Array.isArray(f)||(f=[f]);var g=[];if(f.length>0){if(Object.keys(f).forEach((function(t){var e=f[t]["a:pt"];e&&Object.keys(e).forEach((function(t){var r=e[t],n=r.x,i=r.y,a=r.order;g.push({type:"movto",x:n,y:i,order:a})}))})),c&&Object.keys(c).forEach((function(t){var e=c[t]["a:pt"];e&&Object.keys(e).forEach((function(t){var r=e[t],n=r.x,i=r.y,a=r.order;g.push({type:"lnto",x:n,y:i,order:a})}))})),h){var b=[];Array.isArray(h)||(h=[h]),Object.keys(h).forEach((function(t){b.push(h[t]["a:pt"])})),b.forEach((function(t){var e=[];t.forEach((function(t){var r={x:t.attrs.x,y:t.attrs.y};e.push(r)}));var r=t[0].attrs.order;g.push({type:"cubicBezTo",cubBzPt:e,order:r})}))}if(d){var m=d.attrs,v=m.order,y=m.hR,w=m.wR,_=m.stAng,k=m.swAng,x=0,S=0,A=gl(d,["a:pt","attrs"]);A&&(x=A.x,S=A.y),g.push({type:"arcTo",hR:y,wR:w,stAng:_,swAng:k,shftX:x,shftY:S,order:v})}p&&(Array.isArray(p)||(p=[p]),Object.keys(p).forEach((function(){g.push({type:"close",order:1/0})}))),g.sort((function(t,e){return t.order-e.order}));for(var C=0;C<g.length;){if("movto"===g[C].type)l+=" M"+parseInt(g[C].x)*s+","+parseInt(g[C].y)*u;else if("lnto"===g[C].type)l+=" L"+parseInt(g[C].x)*s+","+parseInt(g[C].y)*u;else if("cubicBezTo"===g[C].type)l+=" C"+parseInt(g[C].cubBzPt[0].x)*s+","+parseInt(g[C].cubBzPt[0].y)*u+" "+parseInt(g[C].cubBzPt[1].x)*s+","+parseInt(g[C].cubBzPt[1].y)*u+" "+parseInt(g[C].cubBzPt[2].x)*s+","+parseInt(g[C].cubBzPt[2].y)*u;else if("arcTo"===g[C].type){var E=parseInt(g[C].hR)*s,R=parseInt(g[C].wR)*u,O=parseInt(g[C].stAng)/6e4;l+=Yl(R,E,R,E,O,O+parseInt(g[C].swAng)/6e4,!1)}else"close"===g[C].type&&(l+="z");C++}}return l}(h,parseInt(D.cx)*zl,parseInt(D.cy)*zl);return ef(ef({},B),{},{type:"shape",shapType:"custom",path:z})}return ef(ef({},B),{},!c||"obj"!==i&&i?{type:"text",isVertical:I,rotate:o}:{type:"shape",shapType:c})}function Af(t,e,r){return Cf.apply(this,arguments)}function Cf(){return Cf=r(u.mark((function t(e,r,n){var i,a,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,z;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i="slideMasterBg"===n?r.masterResObj:"slideLayoutBg"===n?r.layoutResObj:r.slideResObj,a=e["p:blipFill"]["a:blip"].attrs["r:embed"],o=i[a].target,s=dl(o).toLowerCase(),l=r.zip,t.next=7,l.file(o).async("arraybuffer");case 7:if(f=t.sent,c=e["p:spPr"]["a:xfrm"],h=vl(s),d=jl(c,void 0,void 0),p=d.top,g=d.left,b=Fl(c,void 0,void 0),m=b.width,v=b.height,y="data:".concat(h,";base64,").concat(hl(f)),w="1"===gl(c,["attrs","flipV"]),_="1"===gl(c,["attrs","flipH"]),k=0,(x=gl(e,["p:spPr","a:xfrm","attrs","rot"]))&&(k=bl(x)),S=gl(e,["p:nvPicPr","p:nvPr","a:videoFile"]),P=!1,!S){t.next=35;break}if(A=S.attrs["r:link"],!yl(C=i[A].target)){t.next=28;break}C=ml(C),P=!0,t.next=35;break;case 28:if("mp4"!==(E=dl(C).toLowerCase())&&"webm"!==E&&"ogg"!==E){t.next=35;break}return t.next=32,l.file(C).async("arraybuffer");case 32:O=t.sent,R=vl(E),T=URL.createObjectURL(new Blob([O],{type:R}));case 35:if(!(L=gl(e,["p:nvPicPr","p:nvPr","a:audioFile"]))){t.next=45;break}if(M=L.attrs["r:link"],I=i[M].target,"mp3"!==(B=dl(I).toLowerCase())&&"wav"!==B&&"ogg"!==B){t.next=45;break}return t.next=43,l.file(I).async("arraybuffer");case 43:D=t.sent,z=URL.createObjectURL(new Blob([D]));case 45:if(!S||P){t.next=47;break}return t.abrupt("return",{type:"video",top:p,left:g,width:m,height:v,rotate:k,blob:T});case 47:if(!S||!P){t.next=49;break}return t.abrupt("return",{type:"video",top:p,left:g,width:m,height:v,rotate:k,src:C});case 49:if(!L){t.next=51;break}return t.abrupt("return",{type:"audio",top:p,left:g,width:m,height:v,rotate:k,blob:z});case 51:return t.abrupt("return",{type:"image",top:p,left:g,width:m,height:v,rotate:k,src:y,isFlipV:w,isFlipH:_});case 52:case"end":return t.stop()}}),t)}))),Cf.apply(this,arguments)}function Ef(t,e,r){return Rf.apply(this,arguments)}function Rf(){return Rf=r(u.mark((function t(e,r,n){var i,a,o;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=gl(e,["a:graphic","a:graphicData","attrs","uri"]),t.t0=i,t.next="http://schemas.openxmlformats.org/drawingml/2006/table"===t.t0?4:"http://schemas.openxmlformats.org/drawingml/2006/chart"===t.t0?6:"http://schemas.openxmlformats.org/drawingml/2006/diagram"===t.t0?10:"http://schemas.openxmlformats.org/presentationml/2006/ole"===t.t0?12:15;break;case 4:return a=Of(e,r),t.abrupt("break",15);case 6:return t.next=8,Tf(e,r);case 8:return a=t.sent,t.abrupt("break",15);case 10:return a=Lf(e,r),t.abrupt("break",15);case 12:return(o=gl(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))?wf(o,r,n):o=gl(e,["a:graphic","a:graphicData","p:oleObj"]),t.abrupt("break",15);case 15:return t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)}))),Rf.apply(this,arguments)}function Of(t,e){var r,n,i=gl(t,["a:graphic","a:graphicData","a:tbl"]),a=gl(t,["p:xfrm"]),o=jl(a,void 0,void 0),s=o.top,u=o.left,l=Fl(a,void 0,void 0),f=l.width,c=l.height,h=gl(t,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),d=h.attrs?h.attrs.firstRow:void 0,p=h.attrs?h.attrs.firstCol:void 0,g=h.attrs?h.attrs.lastRow:void 0,b=h.attrs?h.attrs.lastCol:void 0,m=h.attrs?h.attrs.bandRow:void 0,v=h.attrs?h.attrs.bandCol:void 0,y={isFrstRowAttr:d&&"1"===d?1:0,isFrstColAttr:p&&"1"===p?1:0,isLstRowAttr:g&&"1"===g?1:0,isLstColAttr:b&&"1"===b?1:0,isBandRowAttr:m&&"1"===m?1:0,isBandColAttr:v&&"1"===v?1:0},w=h["a:tableStyleId"];if(w){var _=e.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(_)if(_.constructor===Array)for(var k=0;k<_.length;k++)_[k].attrs.styleId===w&&(r=_[k]);else _.attrs.styleId===w&&(r=_)}r&&(r.tblStylAttrObj=y);var x=gl(r,["a:wholeTbl","a:tcStyle"]),S=gl(x,["a:tcBdr"]);if(S){var A=function(t,e){var r={};if(t["a:bottom"]){var n=kl({"p:spPr":{"a:ln":t["a:bottom"]["a:ln"]}},void 0,e);r.bottom=n}if(t["a:top"]){var i=kl({"p:spPr":{"a:ln":t["a:top"]["a:ln"]}},void 0,e);r.top=i}if(t["a:right"]){var a=kl({"p:spPr":{"a:ln":t["a:right"]["a:ln"]}},void 0,e);r.right=a}if(t["a:left"]){var o=kl({"p:spPr":{"a:ln":t["a:left"]["a:ln"]}},void 0,e);r.left=o}return r}(S,e);A&&(n=A.bottom||A.left||A.right||A.top)}var C="",E=gl(r,["a:tblBg","a:fillRef"]);E&&(C=Ml(E,void 0,void 0,e)),void 0===E&&(C=Ml(E=gl(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,e));var R=i["a:tr"];R.constructor!==Array&&(R=[R]);for(var O=[],T=0;T<R.length;T++){var P=R[T],L=Vl(R,T,y,r,e),M=L.fillColor,I=L.fontColor,B=L.fontBold,D=P["a:tc"],z=[];if(D.constructor===Array)for(var j=0;j<D.length;j++){var F=D[j],N=void 0;if(0===j&&1===y.isFrstColAttr)N="a:firstCol",1===y.isLstRowAttr&&T===R.length-1&&gl(r,["a:seCell"])?N="a:seCell":1===y.isFrstRowAttr&&0===T&&gl(r,["a:neCell"])&&(N="a:neCell");else if(j>0&&1===y.isBandColAttr&&(1!==y.isFrstColAttr||0!==T)&&(1!==y.isLstRowAttr||T!==R.length-1)&&j!==D.length-1&&j%2!=0){var U=gl(r,["a:band2V"]);void 0===U?(U=gl(r,["a:band1V"]))&&(N="a:band2V"):N="a:band2V"}j===D.length-1&&1===y.isLstColAttr&&(N="a:lastCol",1===y.isLstRowAttr&&T===R.length-1&&gl(r,["a:swCell"])?N="a:swCell":1===y.isFrstRowAttr&&0===T&&gl(r,["a:nwCell"])&&(N="a:nwCell"));var H=Wl(F["a:txBody"],F,void 0,void 0,e),W=Gl(F,r,N,e),Z={text:H};W.rowSpan&&(Z.rowSpan=W.rowSpan),W.colSpan&&(Z.colSpan=W.colSpan),W.vMerge&&(Z.vMerge=W.vMerge),W.hMerge&&(Z.hMerge=W.hMerge),(W.fontBold||B)&&(Z.fontBold=W.fontBold||B),(W.fontColor||I)&&(Z.fontColor=W.fontColor||I),(W.fillColor||M||C)&&(Z.fillColor=W.fillColor||M||C),z.push(Z)}else{var q=void 0;if(1===y.isFrstColAttr&&1!==y.isLstRowAttr)q="a:firstCol";else if(1===y.isBandColAttr&&1!==y.isLstRowAttr){var Y=gl(r,["a:band2V"]);(Y||(Y=gl(r,["a:band1V"])))&&(q="a:band2V")}1===y.isLstColAttr&&1!==y.isLstRowAttr&&(q="a:lastCol");var G=Wl(D["a:txBody"],D,void 0,void 0,e),V=Gl(D,r,q,e),K={text:G};V.rowSpan&&(K.rowSpan=V.rowSpan),V.colSpan&&(K.colSpan=V.colSpan),V.vMerge&&(K.vMerge=V.vMerge),V.hMerge&&(K.hMerge=V.hMerge),(V.fontBold||B)&&(K.fontBold=V.fontBold||B),(V.fontColor||I)&&(K.fontColor=V.fontColor||I),(V.fillColor||M||C)&&(K.fillColor=V.fillColor||M||C),z.push(K)}O.push(z)}return ef({type:"table",top:s,left:u,width:f,height:c,data:O},n||{})}function Tf(t,e){return Pf.apply(this,arguments)}function Pf(){return Pf=r(u.mark((function t(e,r){var n,i,a,o,s,l,f,c,h,d,p,g,b;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=gl(e,["p:xfrm"]),i=jl(n,void 0,void 0),a=i.top,o=i.left,s=Fl(n,void 0,void 0),l=s.width,f=s.height,c=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],h=r.slideResObj[c].target,t.next=7,Eu(r.zip,h);case 7:if(d=t.sent,p=gl(d,["c:chartSpace","c:chart","c:plotArea"]),g=Bl(p)){t.next=12;break}return t.abrupt("return",{});case 12:return b={type:"chart",top:a,left:o,width:l,height:f,data:g.data,chartType:g.type},void 0!==g.marker&&(b.marker=g.marker),void 0!==g.barDir&&(b.barDir=g.barDir),void 0!==g.holeSize&&(b.holeSize=g.holeSize),void 0!==g.grouping&&(b.grouping=g.grouping),void 0!==g.style&&(b.style=g.style),t.abrupt("return",b);case 19:case"end":return t.stop()}}),t)}))),Pf.apply(this,arguments)}function Lf(t,e){var r=gl(t,["p:xfrm"]),n=jl(r,void 0,void 0),i=n.left,a=n.top,o=Fl(r,void 0,void 0),s=o.width,u=o.height,l=gl(e.digramFileContent,["p:drawing","p:spTree","p:sp"]),f=[];if(l){var c,h=rf(l);try{for(h.s();!(c=h.n()).done;){var d=kf(c.value,e,"diagramBg");d&&f.push(d)}}catch(t){h.e(t)}finally{h.f()}}return{type:"diagram",left:i,top:a,width:s,height:u,elements:f}}export{af as parse};
1
+ function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function e(t,e,r,n,a,i,o){try{var s=t[i](o),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,a)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(a,i){var o=t.apply(r,n);function s(t){e(o,a,i,s,u,"next",t)}function u(t){e(o,a,i,s,u,"throw",t)}s(void 0)}))}}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(t){var e=t.default;if("function"==typeof e){var r=function(){return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var i={exports:{}},o={exports:{}};!function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}(o),function(t){var e=o.exports.default;function r(){t.exports=r=function(){return n},t.exports.__esModule=!0,t.exports.default=t.exports;var n={},a=Object.prototype,i=a.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,i=Object.create(a.prototype),s=new R(n||[]);return o(i,"_invoke",{value:S(t,r,s)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var p={};function g(){}function b(){}function m(){}var v={};c(v,u,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(O([])));w&&w!==a&&i.call(w,u)&&(v=w);var _=m.prototype=g.prototype=Object.create(v);function k(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,r){function n(a,o,s,u){var l=d(t[a],t,o);if("throw"!==l.type){var f=l.arg,c=f.value;return c&&"object"==e(c)&&i.call(c,"__await")?r.resolve(c.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):r.resolve(c).then((function(t){f.value=t,s(f)}),(function(t){return n("throw",t,s,u)}))}u(l.arg)}var a;o(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,a){n(t,e,r,a)}))}return a=a?a.then(i,i):i()}})}function S(t,e,r){var n="suspendedStart";return function(a,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw i;return T()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var s=A(o,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=d(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function A(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=d(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function O(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:T}}function T(){return{value:void 0,done:!0}}return b.prototype=m,o(_,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:b,configurable:!0}),b.displayName=c(m,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,f,"GeneratorFunction")),t.prototype=Object.create(_),t},n.awrap=function(t){return{__await:t}},k(x.prototype),c(x.prototype,l,(function(){return this})),n.AsyncIterator=x,n.async=function(t,e,r,a,i){void 0===i&&(i=Promise);var o=new x(h(t,e,r,a),i);return n.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},k(_),c(_,f,"Generator"),c(_,u,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=O,R.prototype={constructor:R,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;E(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},n}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}(i);var s=i.exports(),u=s;try{regeneratorRuntime=s}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}var l={},f={},c="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=[],d=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,g=!1;function b(){g=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)h[e]=t[e],d[t.charCodeAt(e)]=e;d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63}function m(t,e,r){for(var n,a,i=[],o=e;o<r;o+=3)n=(t[o]<<16)+(t[o+1]<<8)+t[o+2],i.push(h[(a=n)>>18&63]+h[a>>12&63]+h[a>>6&63]+h[63&a]);return i.join("")}function v(t){var e;g||b();for(var r=t.length,n=r%3,a="",i=[],o=16383,s=0,u=r-n;s<u;s+=o)i.push(m(t,s,s+o>u?u:s+o));return 1===n?(e=t[r-1],a+=h[e>>2],a+=h[e<<4&63],a+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],a+=h[e>>10],a+=h[e>>4&63],a+=h[e<<2&63],a+="="),i.push(a),i.join("")}function y(t,e,r,n,a){var i,o,s=8*a-n-1,u=(1<<s)-1,l=u>>1,f=-7,c=r?a-1:0,h=r?-1:1,d=t[e+c];for(c+=h,i=d&(1<<-f)-1,d>>=-f,f+=s;f>0;i=256*i+t[e+c],c+=h,f-=8);for(o=i&(1<<-f)-1,i>>=-f,f+=n;f>0;o=256*o+t[e+c],c+=h,f-=8);if(0===i)i=1-l;else{if(i===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),i-=l}return(d?-1:1)*o*Math.pow(2,i-n)}function w(t,e,r,n,a,i){var o,s,u,l=8*i-a-1,f=(1<<l)-1,c=f>>1,h=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,p=n?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,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(o++,u/=2),o+c>=f?(s=0,o=f):o+c>=1?(s=(e*u-1)*Math.pow(2,a),o+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,a),o=0));a>=8;t[r+d]=255&s,d+=p,s/=256,a-=8);for(o=o<<a|s,l+=a;l>0;t[r+d]=255&o,d+=p,o/=256,l-=8);t[r+d-p]|=128*g}var _={}.toString,k=Array.isArray||function(t){return"[object Array]"==_.call(t)};C.TYPED_ARRAY_SUPPORT=void 0===c.TYPED_ARRAY_SUPPORT||c.TYPED_ARRAY_SUPPORT;var x=S();function S(){return C.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(t,e){if(S()<e)throw new RangeError("Invalid typed array length");return C.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=C.prototype:(null===t&&(t=new C(e)),t.length=e),t}function C(t,e,r){if(!(C.TYPED_ARRAY_SUPPORT||this instanceof C))return new C(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return O(this,t)}return E(this,t,e,r)}function E(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);C.TYPED_ARRAY_SUPPORT?(t=e).__proto__=C.prototype:t=T(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!C.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|L(e,r),a=(t=A(t,n)).write(e,r);a!==n&&(t=t.slice(0,a));return t}(t,e,r):function(t,e){if(M(e)){var r=0|P(e.length);return 0===(t=A(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?A(t,0):T(t,e);if("Buffer"===e.type&&k(e.data))return T(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function R(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 O(t,e){if(R(e),t=A(t,e<0?0:0|P(e)),!C.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function T(t,e){var r=e.length<0?0:0|P(e.length);t=A(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function P(t){if(t>=S())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+S().toString(16)+" bytes");return 0|t}function M(t){return!(null==t||!t._isBuffer)}function L(t,e){if(M(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 r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return it(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ot(t).length;default:if(n)return it(t).length;e=(""+e).toLowerCase(),n=!0}}function I(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return V(this,e,r);case"utf8":case"utf-8":return q(this,e,r);case"ascii":return Y(this,e,r);case"latin1":case"binary":return G(this,e,r);case"base64":return Z(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function D(t,e,r,n,a){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(a)return-1;r=t.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof e&&(e=C.from(e,n)),M(e))return 0===e.length?-1:z(t,e,r,n,a);if("number"==typeof e)return e&=255,C.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):z(t,[e],r,n,a);throw new TypeError("val must be string, number or Buffer")}function z(t,e,r,n,a){var i,o=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function l(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(a){var f=-1;for(i=r;i<s;i++)if(l(t,i)===l(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===u)return f*o}else-1!==f&&(i-=i-f),f=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var c=!0,h=0;h<u;h++)if(l(t,i+h)!==l(e,h)){c=!1;break}if(c)return i}return-1}function j(t,e,r,n){r=Number(r)||0;var a=t.length-r;n?(n=Number(n))>a&&(n=a):n=a;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var o=0;o<n;++o){var s=parseInt(e.substr(2*o,2),16);if(isNaN(s))return o;t[r+o]=s}return o}function F(t,e,r,n){return st(it(e,t.length-r),t,r,n)}function N(t,e,r,n){return st(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function U(t,e,r,n){return N(t,e,r,n)}function H(t,e,r,n){return st(ot(e),t,r,n)}function W(t,e,r,n){return st(function(t,e){for(var r,n,a,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,a=r%256,i.push(a),i.push(n);return i}(e,t.length-r),t,r,n)}function Z(t,e,r){return 0===e&&r===t.length?v(t):v(t.slice(e,r))}function q(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var i,o,s,u,l=t[a],f=null,c=l>239?4:l>223?3:l>191?2:1;if(a+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:128==(192&(i=t[a+1]))&&(u=(31&l)<<6|63&i)>127&&(f=u);break;case 3:i=t[a+1],o=t[a+2],128==(192&i)&&128==(192&o)&&(u=(15&l)<<12|(63&i)<<6|63&o)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:i=t[a+1],o=t[a+2],s=t[a+3],128==(192&i)&&128==(192&o)&&128==(192&s)&&(u=(15&l)<<18|(63&i)<<12|(63&o)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),a+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}C.poolSize=8192,C._augment=function(t){return t.__proto__=C.prototype,t},C.from=function(t,e,r){return E(null,t,e,r)},C.TYPED_ARRAY_SUPPORT&&(C.prototype.__proto__=Uint8Array.prototype,C.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&C[Symbol.species]),C.alloc=function(t,e,r){return function(t,e,r,n){return R(e),e<=0?A(t,e):void 0!==r?"string"==typeof n?A(t,e).fill(r,n):A(t,e).fill(r):A(t,e)}(null,t,e,r)},C.allocUnsafe=function(t){return O(null,t)},C.allocUnsafeSlow=function(t){return O(null,t)},C.isBuffer=ut,C.compare=function(t,e){if(!M(t)||!M(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,a=0,i=Math.min(r,n);a<i;++a)if(t[a]!==e[a]){r=t[a],n=e[a];break}return r<n?-1:n<r?1:0},C.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}},C.concat=function(t,e){if(!k(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return C.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=C.allocUnsafe(e),a=0;for(r=0;r<t.length;++r){var i=t[r];if(!M(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,a),a+=i.length}return n},C.byteLength=L,C.prototype._isBuffer=!0,C.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)B(this,e,e+1);return this},C.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)B(this,e,e+3),B(this,e+1,e+2);return this},C.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)B(this,e,e+7),B(this,e+1,e+6),B(this,e+2,e+5),B(this,e+3,e+4);return this},C.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?q(this,0,t):I.apply(this,arguments)},C.prototype.equals=function(t){if(!M(t))throw new TypeError("Argument must be a Buffer");return this===t||0===C.compare(this,t)},C.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},C.prototype.compare=function(t,e,r,n,a){if(!M(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),e<0||r>t.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&e>=r)return 0;if(n>=a)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(a>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),s=Math.min(i,o),u=this.slice(n,a),l=t.slice(e,r),f=0;f<s;++f)if(u[f]!==l[f]){i=u[f],o=l[f];break}return i<o?-1:o<i?1:0},C.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},C.prototype.indexOf=function(t,e,r){return D(this,t,e,r,!0)},C.prototype.lastIndexOf=function(t,e,r){return D(this,t,e,r,!1)},C.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var a=this.length-e;if((void 0===r||r>a)&&(r=a),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return j(this,t,e,r);case"utf8":case"utf-8":return F(this,t,e,r);case"ascii":return N(this,t,e,r);case"latin1":case"binary":return U(this,t,e,r);case"base64":return H(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},C.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Y(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(127&t[a]);return n}function G(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(t[a]);return n}function V(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var a="",i=e;i<r;++i)a+=at(t[i]);return a}function K(t,e,r){for(var n=t.slice(e,r),a="",i=0;i<n.length;i+=2)a+=String.fromCharCode(n[i]+256*n[i+1]);return a}function X(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,r,n,a,i){if(!M(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function J(t,e,r,n){e<0&&(e=65535+e+1);for(var a=0,i=Math.min(t.length-r,2);a<i;++a)t[r+a]=(e&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function Q(t,e,r,n){e<0&&(e=4294967295+e+1);for(var a=0,i=Math.min(t.length-r,4);a<i;++a)t[r+a]=e>>>8*(n?a:3-a)&255}function tt(t,e,r,n,a,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function et(t,e,r,n,a){return a||tt(t,0,r,4),w(t,e,r,n,23,4),r+4}function rt(t,e,r,n,a){return a||tt(t,0,r,8),w(t,e,r,n,52,8),r+8}C.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),C.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=C.prototype;else{var a=e-t;r=new C(a,void 0);for(var i=0;i<a;++i)r[i]=this[i+t]}return r},C.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t],a=1,i=0;++i<e&&(a*=256);)n+=this[t+i]*a;return n},C.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},C.prototype.readUInt8=function(t,e){return e||X(t,1,this.length),this[t]},C.prototype.readUInt16LE=function(t,e){return e||X(t,2,this.length),this[t]|this[t+1]<<8},C.prototype.readUInt16BE=function(t,e){return e||X(t,2,this.length),this[t]<<8|this[t+1]},C.prototype.readUInt32LE=function(t,e){return e||X(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},C.prototype.readUInt32BE=function(t,e){return e||X(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},C.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=this[t],a=1,i=0;++i<e&&(a*=256);)n+=this[t+i]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*e)),n},C.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||X(t,e,this.length);for(var n=e,a=1,i=this[t+--n];n>0&&(a*=256);)i+=this[t+--n]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*e)),i},C.prototype.readInt8=function(t,e){return e||X(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},C.prototype.readInt16LE=function(t,e){e||X(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},C.prototype.readInt16BE=function(t,e){e||X(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},C.prototype.readInt32LE=function(t,e){return e||X(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},C.prototype.readInt32BE=function(t,e){return e||X(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},C.prototype.readFloatLE=function(t,e){return e||X(t,4,this.length),y(this,t,!0,23,4)},C.prototype.readFloatBE=function(t,e){return e||X(t,4,this.length),y(this,t,!1,23,4)},C.prototype.readDoubleLE=function(t,e){return e||X(t,8,this.length),y(this,t,!0,52,8)},C.prototype.readDoubleBE=function(t,e){return e||X(t,8,this.length),y(this,t,!1,52,8)},C.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||$(this,t,e,r,Math.pow(2,8*r)-1,0);var a=1,i=0;for(this[e]=255&t;++i<r&&(a*=256);)this[e+i]=t/a&255;return e+r},C.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||$(this,t,e,r,Math.pow(2,8*r)-1,0);var a=r-1,i=1;for(this[e+a]=255&t;--a>=0&&(i*=256);)this[e+a]=t/i&255;return e+r},C.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,1,255,0),C.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},C.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,65535,0),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):J(this,t,e,!0),e+2},C.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,65535,0),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):J(this,t,e,!1),e+2},C.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,4294967295,0),C.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Q(this,t,e,!0),e+4},C.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,4294967295,0),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Q(this,t,e,!1),e+4},C.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);$(this,t,e,r,a-1,-a)}var i=0,o=1,s=0;for(this[e]=255&t;++i<r&&(o*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},C.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);$(this,t,e,r,a-1,-a)}var i=r-1,o=1,s=0;for(this[e+i]=255&t;--i>=0&&(o*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/o>>0)-s&255;return e+r},C.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,1,127,-128),C.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},C.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,32767,-32768),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):J(this,t,e,!0),e+2},C.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,2,32767,-32768),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):J(this,t,e,!1),e+2},C.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,2147483647,-2147483648),C.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Q(this,t,e,!0),e+4},C.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||$(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),C.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Q(this,t,e,!1),e+4},C.prototype.writeFloatLE=function(t,e,r){return et(this,t,e,!0,r)},C.prototype.writeFloatBE=function(t,e,r){return et(this,t,e,!1,r)},C.prototype.writeDoubleLE=function(t,e,r){return rt(this,t,e,!0,r)},C.prototype.writeDoubleBE=function(t,e,r){return rt(this,t,e,!1,r)},C.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var a,i=n-r;if(this===t&&r<e&&e<n)for(a=i-1;a>=0;--a)t[a+e]=this[a+r];else if(i<1e3||!C.TYPED_ARRAY_SUPPORT)for(a=0;a<i;++a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},C.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var a=t.charCodeAt(0);a<256&&(t=a)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!C.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var o=M(t)?t:it(new C(t,n).toString()),s=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};var nt=/[^+\/0-9A-Za-z-_]/g;function at(t){return t<16?"0"+t.toString(16):t.toString(16)}function it(t,e){var r;e=e||1/0;for(var n=t.length,a=null,i=[],o=0;o<n;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!a){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&i.push(239,191,189);continue}a=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(e-=3)>-1&&i.push(239,191,189);if(a=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function ot(t){return function(t){var e,r,n,a,i,o;g||b();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===t[s-2]?2:"="===t[s-1]?1:0,o=new p(3*s/4-i),n=i>0?s-4:s;var u=0;for(e=0,r=0;e<n;e+=4,r+=3)a=d[t.charCodeAt(e)]<<18|d[t.charCodeAt(e+1)]<<12|d[t.charCodeAt(e+2)]<<6|d[t.charCodeAt(e+3)],o[u++]=a>>16&255,o[u++]=a>>8&255,o[u++]=255&a;return 2===i?(a=d[t.charCodeAt(e)]<<2|d[t.charCodeAt(e+1)]>>4,o[u++]=255&a):1===i&&(a=d[t.charCodeAt(e)]<<10|d[t.charCodeAt(e+1)]<<4|d[t.charCodeAt(e+2)]>>2,o[u++]=a>>8&255,o[u++]=255&a),o}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(nt,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function st(t,e,r,n){for(var a=0;a<n&&!(a+r>=e.length||a>=t.length);++a)e[a+r]=t[a];return a}function ut(t){return null!=t&&(!!t._isBuffer||lt(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&lt(t.slice(0,0))}(t))}function lt(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var ft=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:x,Buffer:C,SlowBuffer:function(t){return+t!=t&&(t=0),C.alloc(+t)},isBuffer:ut}),ct={};function ht(){throw new Error("setTimeout has not been defined")}function dt(){throw new Error("clearTimeout has not been defined")}var pt=ht,gt=dt;function bt(t){if(pt===setTimeout)return setTimeout(t,0);if((pt===ht||!pt)&&setTimeout)return pt=setTimeout,setTimeout(t,0);try{return pt(t,0)}catch(e){try{return pt.call(null,t,0)}catch(e){return pt.call(this,t,0)}}}"function"==typeof c.setTimeout&&(pt=setTimeout),"function"==typeof c.clearTimeout&&(gt=clearTimeout);var mt,vt=[],yt=!1,wt=-1;function _t(){yt&&mt&&(yt=!1,mt.length?vt=mt.concat(vt):wt=-1,vt.length&&kt())}function kt(){if(!yt){var t=bt(_t);yt=!0;for(var e=vt.length;e;){for(mt=vt,vt=[];++wt<e;)mt&&mt[wt].run();wt=-1,e=vt.length}mt=null,yt=!1,function(t){if(gt===clearTimeout)return clearTimeout(t);if((gt===dt||!gt)&&clearTimeout)return gt=clearTimeout,clearTimeout(t);try{gt(t)}catch(e){try{return gt.call(null,t)}catch(e){return gt.call(this,t)}}}(t)}}function xt(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];vt.push(new St(t,e)),1!==vt.length||yt||bt(kt)}function St(t,e){this.fun=t,this.array=e}St.prototype.run=function(){this.fun.apply(null,this.array)};function At(){}var Ct=At,Et=At,Rt=At,Ot=At,Tt=At,Pt=At,Mt=At;var Lt=c.performance||{},It=Lt.now||Lt.mozNow||Lt.msNow||Lt.oNow||Lt.webkitNow||function(){return(new Date).getTime()};var Bt=new Date;var Dt={nextTick:xt,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ct,addListener:Et,once:Rt,off:Ot,removeListener:Tt,removeAllListeners:Pt,emit:Mt,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*It.call(Lt),r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r-=t[0],(n-=t[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Bt)/1e3}},zt={exports:{}};function jt(){}function Ft(){Ft.init.call(this)}function Nt(t){return void 0===t._maxListeners?Ft.defaultMaxListeners:t._maxListeners}function Ut(t,e,r){if(e)t.call(r);else for(var n=t.length,a=Kt(t,n),i=0;i<n;++i)a[i].call(r)}function Ht(t,e,r,n){if(e)t.call(r,n);else for(var a=t.length,i=Kt(t,a),o=0;o<a;++o)i[o].call(r,n)}function Wt(t,e,r,n,a){if(e)t.call(r,n,a);else for(var i=t.length,o=Kt(t,i),s=0;s<i;++s)o[s].call(r,n,a)}function Zt(t,e,r,n,a,i){if(e)t.call(r,n,a,i);else for(var o=t.length,s=Kt(t,o),u=0;u<o;++u)s[u].call(r,n,a,i)}function qt(t,e,r,n){if(e)t.apply(r,n);else for(var a=t.length,i=Kt(t,a),o=0;o<a;++o)i[o].apply(r,n)}function Yt(t,e,r,n){var a,i,o,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((i=t._events)?(i.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),i=t._events),o=i[e]):(i=t._events=new jt,t._eventsCount=0),o){if("function"==typeof o?o=i[e]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),!o.warned&&(a=Nt(t))&&a>0&&o.length>a){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+e+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=o.length,s=u,"function"==typeof console.warn?console.warn(s):console.log(s)}}else o=i[e]=r,++t._eventsCount;return t}function Gt(t,e,r){var n=!1;function a(){t.removeListener(e,a),n||(n=!0,r.apply(t,arguments))}return a.listener=r,a}function Vt(t){var e=this._events;if(e){var r=e[t];if("function"==typeof r)return 1;if(r)return r.length}return 0}function Kt(t,e){for(var r=new Array(e);e--;)r[e]=t[e];return r}jt.prototype=Object.create(null),Ft.EventEmitter=Ft,Ft.usingDomains=!1,Ft.prototype.domain=void 0,Ft.prototype._events=void 0,Ft.prototype._maxListeners=void 0,Ft.defaultMaxListeners=10,Ft.init=function(){this.domain=null,Ft.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new jt,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ft.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},Ft.prototype.getMaxListeners=function(){return Nt(this)},Ft.prototype.emit=function(t){var e,r,n,a,i,o,s,u="error"===t;if(o=this._events)u=u&&null==o.error;else if(!u)return!1;if(s=this.domain,u){if(e=arguments[1],!s){if(e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}return e||(e=new Error('Uncaught, unspecified "error" event')),e.domainEmitter=this,e.domain=s,e.domainThrown=!1,s.emit("error",e),!1}if(!(r=o[t]))return!1;var f="function"==typeof r;switch(n=arguments.length){case 1:Ut(r,f,this);break;case 2:Ht(r,f,this,arguments[1]);break;case 3:Wt(r,f,this,arguments[1],arguments[2]);break;case 4:Zt(r,f,this,arguments[1],arguments[2],arguments[3]);break;default:for(a=new Array(n-1),i=1;i<n;i++)a[i-1]=arguments[i];qt(r,f,this,a)}return!0},Ft.prototype.addListener=function(t,e){return Yt(this,t,e,!1)},Ft.prototype.on=Ft.prototype.addListener,Ft.prototype.prependListener=function(t,e){return Yt(this,t,e,!0)},Ft.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,Gt(this,t,e)),this},Ft.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,Gt(this,t,e)),this},Ft.prototype.removeListener=function(t,e){var r,n,a,i,o;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[t]))return this;if(r===e||r.listener&&r.listener===e)0==--this._eventsCount?this._events=new jt:(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(a=-1,i=r.length;i-- >0;)if(r[i]===e||r[i].listener&&r[i].listener===e){o=r[i].listener,a=i;break}if(a<0)return this;if(1===r.length){if(r[0]=void 0,0==--this._eventsCount)return this._events=new jt,this;delete n[t]}else!function(t,e){for(var r=e,n=r+1,a=t.length;n<a;r+=1,n+=1)t[r]=t[n];t.pop()}(r,a);n.removeListener&&this.emit("removeListener",t,o||e)}return this},Ft.prototype.removeAllListeners=function(t){var e,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new jt,this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=new jt:delete r[t]),this;if(0===arguments.length){for(var n,a=Object.keys(r),i=0;i<a.length;++i)"removeListener"!==(n=a[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=new jt,this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(e)do{this.removeListener(t,e[e.length-1])}while(e[0]);return this},Ft.prototype.listeners=function(t){var e,r,n=this._events;return r=n&&(e=n[t])?"function"==typeof e?[e.listener||e]:function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(e):[],r},Ft.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):Vt.call(t,e)},Ft.prototype.listenerCount=Vt,Ft.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Xt=Object.freeze({__proto__:null,default:Ft,EventEmitter:Ft}),$t="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t},Jt=/%[sdj%]/g;function Qt(t){if(!ge(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(ae(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,a=n.length,i=String(t).replace(Jt,(function(t){if("%%"===t)return"%";if(r>=a)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),o=n[r];r<a;o=n[++r])he(o)||!ye(o)?i+=" "+o:i+=" "+ae(o);return i}function te(t,e){if(me(c.process))return function(){return te(t,e).apply(this,arguments)};if(!0===Dt.noDeprecation)return t;var r=!1;return function(){if(!r){if(Dt.throwDeprecation)throw new Error(e);Dt.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}}var ee,re={};function ne(t){if(me(ee)&&(ee=Dt.env.NODE_DEBUG||""),t=t.toUpperCase(),!re[t])if(new RegExp("\\b"+t+"\\b","i").test(ee)){re[t]=function(){var e=Qt.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else re[t]=function(){};return re[t]}function ae(t,e){var r={seen:[],stylize:oe};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ce(e)?r.showHidden=e:e&&Te(r,e),me(r.showHidden)&&(r.showHidden=!1),me(r.depth)&&(r.depth=2),me(r.colors)&&(r.colors=!1),me(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ie),se(r,t,r.depth)}function ie(t,e){var r=ae.styles[e];return r?"["+ae.colors[r][0]+"m"+t+"["+ae.colors[r][1]+"m":t}function oe(t,e){return t}function se(t,e,r){if(t.customInspect&&e&&ke(e.inspect)&&e.inspect!==ae&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return ge(n)||(n=se(t,n,r)),n}var a=function(t,e){if(me(e))return t.stylize("undefined","undefined");if(ge(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(pe(e))return t.stylize(""+e,"number");if(ce(e))return t.stylize(""+e,"boolean");if(he(e))return t.stylize("null","null")}(t,e);if(a)return a;var i=Object.keys(e),o=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(i);if(t.showHidden&&(i=Object.getOwnPropertyNames(e)),_e(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ue(e);if(0===i.length){if(ke(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(ve(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(we(e))return t.stylize(Date.prototype.toString.call(e),"date");if(_e(e))return ue(e)}var u,l="",f=!1,c=["{","}"];(fe(e)&&(f=!0,c=["[","]"]),ke(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return ve(e)&&(l=" "+RegExp.prototype.toString.call(e)),we(e)&&(l=" "+Date.prototype.toUTCString.call(e)),_e(e)&&(l=" "+ue(e)),0!==i.length||f&&0!=e.length?r<0?ve(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=f?function(t,e,r,n,a){for(var i=[],o=0,s=e.length;o<s;++o)Pe(e,String(o))?i.push(le(t,e,r,n,String(o),!0)):i.push("");return a.forEach((function(a){a.match(/^\d+$/)||i.push(le(t,e,r,n,a,!0))})),i}(t,e,r,o,i):i.map((function(n){return le(t,e,r,o,n,f)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(u,l,c)):c[0]+l+c[1]}function ue(t){return"["+Error.prototype.toString.call(t)+"]"}function le(t,e,r,n,a,i){var o,s,u;if((u=Object.getOwnPropertyDescriptor(e,a)||{value:e[a]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),Pe(n,a)||(o="["+a+"]"),s||(t.seen.indexOf(u.value)<0?(s=he(r)?se(t,u.value,null):se(t,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),me(o)){if(i&&a.match(/^\d+$/))return s;(o=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function fe(t){return Array.isArray(t)}function ce(t){return"boolean"==typeof t}function he(t){return null===t}function de(t){return null==t}function pe(t){return"number"==typeof t}function ge(t){return"string"==typeof t}function be(t){return"symbol"==typeof t}function me(t){return void 0===t}function ve(t){return ye(t)&&"[object RegExp]"===Ae(t)}function ye(t){return"object"==typeof t&&null!==t}function we(t){return ye(t)&&"[object Date]"===Ae(t)}function _e(t){return ye(t)&&("[object Error]"===Ae(t)||t instanceof Error)}function ke(t){return"function"==typeof t}function xe(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function Se(t){return ut(t)}function Ae(t){return Object.prototype.toString.call(t)}function Ce(t){return t<10?"0"+t.toString(10):t.toString(10)}ae.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Ee=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Re(){var t=new Date,e=[Ce(t.getHours()),Ce(t.getMinutes()),Ce(t.getSeconds())].join(":");return[t.getDate(),Ee[t.getMonth()],e].join(" ")}function Oe(){console.log("%s - %s",Re(),Qt.apply(null,arguments))}function Te(t,e){if(!e||!ye(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Pe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Me={inherits:$t,_extend:Te,log:Oe,isBuffer:Se,isPrimitive:xe,isFunction:ke,isError:_e,isDate:we,isObject:ye,isRegExp:ve,isUndefined:me,isSymbol:be,isString:ge,isNumber:pe,isNullOrUndefined:de,isNull:he,isBoolean:ce,isArray:fe,inspect:ae,deprecate:te,format:Qt,debuglog:ne},Le=Object.freeze({__proto__:null,format:Qt,deprecate:te,debuglog:ne,inspect:ae,isArray:fe,isBoolean:ce,isNull:he,isNullOrUndefined:de,isNumber:pe,isString:ge,isSymbol:be,isUndefined:me,isRegExp:ve,isObject:ye,isDate:we,isError:_e,isFunction:ke,isPrimitive:xe,isBuffer:Se,log:Oe,inherits:$t,_extend:Te,default:Me});function Ie(){this.head=null,this.tail=null,this.length=0}Ie.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},Ie.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},Ie.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},Ie.prototype.clear=function(){this.head=this.tail=null,this.length=0},Ie.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},Ie.prototype.concat=function(t){if(0===this.length)return C.alloc(0);if(1===this.length)return this.head.data;for(var e=C.allocUnsafe(t>>>0),r=this.head,n=0;r;)r.data.copy(e,n),n+=r.data.length,r=r.next;return e};var Be=C.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function De(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Be(t))throw new Error("Unknown encoding: "+t)}(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=je;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Fe;break;default:return void(this.write=ze)}this.charBuffer=new C(6),this.charReceived=0,this.charLength=0}function ze(t){return t.toString(this.encoding)}function je(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function Fe(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}De.prototype.write=function(t){for(var e="";this.charLength;){var r=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(t=t.slice(r,t.length),!((a=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&a<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var n=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,n),n-=this.charReceived);var a;n=(e+=t.toString(this.encoding,0,n)).length-1;if((a=e.charCodeAt(n))>=55296&&a<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),t.copy(this.charBuffer,0,0,i),e.substring(0,n)}return e},De.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var r=t[t.length-e];if(1==e&&r>>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},De.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,a=this.encoding;e+=n.slice(0,r).toString(a)}return e},He.ReadableState=Ue;var Ne=ne("stream");function Ue(t,e){t=t||{},this.objectMode=!!t.objectMode,e instanceof gr&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.buffer=new Ie,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(this.decoder=new De(t.encoding),this.encoding=t.encoding)}function He(t){if(!(this instanceof He))return new He(t);this._readableState=new Ue(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),Ft.call(this)}function We(t,e,r,n,a){var i=function(t,e){var r=null;ut(e)||"string"==typeof e||null==e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(e,r);if(i)t.emit("error",i);else if(null===r)e.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,qe(t)}(t,e);else if(e.objectMode||r&&r.length>0)if(e.ended&&!a){var o=new Error("stream.push() after EOF");t.emit("error",o)}else if(e.endEmitted&&a){var s=new Error("stream.unshift() after end event");t.emit("error",s)}else{var u;!e.decoder||a||n||(r=e.decoder.write(r),u=!e.objectMode&&0===r.length),a||(e.reading=!1),u||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,a?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&qe(t))),function(t,e){e.readingMore||(e.readingMore=!0,xt(Ge,t,e))}(t,e)}else a||(e.reading=!1);return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(e)}$t(He,Ft),He.prototype.push=function(t,e){var r=this._readableState;return r.objectMode||"string"!=typeof t||(e=e||r.defaultEncoding)!==r.encoding&&(t=C.from(t,e),e=""),We(this,r,t,e,!1)},He.prototype.unshift=function(t){return We(this,this._readableState,t,"",!0)},He.prototype.isPaused=function(){return!1===this._readableState.flowing},He.prototype.setEncoding=function(t){return this._readableState.decoder=new De(t),this._readableState.encoding=t,this};function Ze(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function qe(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(Ne("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?xt(Ye,t):Ye(t))}function Ye(t){Ne("emit readable"),t.emit("readable"),Xe(t)}function Ge(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(Ne("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function Ve(t){Ne("readable nexttick read 0"),t.read(0)}function Ke(t,e){e.reading||(Ne("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),Xe(t),e.flowing&&!e.reading&&t.read(0)}function Xe(t){var e=t._readableState;for(Ne("flow",e.flowing);e.flowing&&null!==t.read(););}function $e(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,a=r.data;t-=a.length;for(;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(o===i.length?a+=i:a+=i.slice(0,t),0===(t-=o)){o===i.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(o));break}++n}return e.length-=n,a}(t,e):function(t,e){var r=C.allocUnsafe(t),n=e.head,a=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var i=n.data,o=t>i.length?i.length:t;if(i.copy(r,r.length-t,0,o),0===(t-=o)){o===i.length?(++a,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(o));break}++a}return e.length-=a,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function Je(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,xt(Qe,e,t))}function Qe(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function tr(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function er(){}function rr(t,e,r){this.chunk=t,this.encoding=e,this.callback=r,this.next=null}function nr(t,e){Object.defineProperty(this,"buffer",{get:te((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),t=t||{},this.objectMode=!!t.objectMode,e instanceof gr&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,n=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:n,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var a=!1===t.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,a=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,a){--e.pendingcb,r?xt(a,n):a(n);t._writableState.errorEmitted=!0,t.emit("error",n)}(t,r,n,e,a);else{var i=ur(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||sr(t,r),n?xt(or,t,r,i,a):or(t,r,i,a)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new cr(this)}function ar(t){if(!(this instanceof ar||this instanceof gr))return new ar(t);this._writableState=new nr(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),Ft.call(this)}function ir(t,e,r,n,a,i,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(a,e.onwrite):t._write(a,i,e.onwrite),e.sync=!1}function or(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),fr(t,e)}function sr(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,a=new Array(n),i=e.corkedRequestsFree;i.entry=r;for(var o=0;r;)a[o]=r,r=r.next,o+=1;ir(t,e,!0,e.length,a,"",i.finish),e.pendingcb++,e.lastBufferedRequest=null,i.next?(e.corkedRequestsFree=i.next,i.next=null):e.corkedRequestsFree=new cr(e)}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback;if(ir(t,e,!1,e.objectMode?1:s.length,s,u,l),r=r.next,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=r,e.bufferProcessing=!1}function ur(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function lr(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function fr(t,e){var r=ur(e);return r&&(0===e.pendingcb?(lr(t,e),e.finished=!0,t.emit("finish")):lr(t,e)),r}function cr(t){var e=this;this.next=null,this.entry=null,this.finish=function(r){var n=e.entry;for(e.entry=null;n;){var a=n.callback;t.pendingcb--,a(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}}He.prototype.read=function(t){Ne("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return Ne("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?Je(this):qe(this),null;if(0===(t=Ze(t,e))&&e.ended)return 0===e.length&&Je(this),null;var n,a=e.needReadable;return Ne("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&Ne("length less than watermark",a=!0),e.ended||e.reading?Ne("reading or ended",a=!1):a&&(Ne("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Ze(r,e))),null===(n=t>0?$e(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Je(this)),null!==n&&this.emit("data",n),n},He.prototype._read=function(t){this.emit("error",new Error("not implemented"))},He.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,Ne("pipe count=%d opts=%j",n.pipesCount,e);var a=!e||!1!==e.end?o:l;function i(t){Ne("onunpipe"),t===r&&l()}function o(){Ne("onend"),t.end()}n.endEmitted?xt(a):r.once("end",a),t.on("unpipe",i);var s=function(t){return function(){var e=t._readableState;Ne("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&t.listeners("data").length&&(e.flowing=!0,Xe(t))}}(r);t.on("drain",s);var u=!1;function l(){Ne("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",s),t.removeListener("error",h),t.removeListener("unpipe",i),r.removeListener("end",o),r.removeListener("end",l),r.removeListener("data",c),u=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||s()}var f=!1;function c(e){Ne("ondata"),f=!1,!1!==t.write(e)||f||((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==tr(n.pipes,t))&&!u&&(Ne("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,f=!0),r.pause())}function h(e){var r;Ne("onerror",e),g(),t.removeListener("error",h),0===(r="error",t.listeners(r).length)&&t.emit("error",e)}function d(){t.removeListener("finish",p),g()}function p(){Ne("onfinish"),t.removeListener("close",d),g()}function g(){Ne("unpipe"),r.unpipe(t)}return r.on("data",c),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",h),t.once("close",d),t.once("finish",p),t.emit("pipe",r),n.flowing||(Ne("pipe resume"),r.resume()),t},He.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this)),this;if(!t){var r=e.pipes,n=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a<n;a++)r[a].emit("unpipe",this);return this}var i=tr(e.pipes,t);return-1===i||(e.pipes.splice(i,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this)),this},He.prototype.on=function(t,e){var r=Ft.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&qe(this):xt(Ve,this))}return r},He.prototype.addListener=He.prototype.on,He.prototype.resume=function(){var t=this._readableState;return t.flowing||(Ne("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,xt(Ke,t,e))}(this,t)),this},He.prototype.pause=function(){return Ne("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ne("pause"),this._readableState.flowing=!1,this.emit("pause")),this},He.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;for(var a in t.on("end",(function(){if(Ne("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&n.push(t)}n.push(null)})),t.on("data",(function(a){(Ne("wrapped data"),e.decoder&&(a=e.decoder.write(a)),e.objectMode&&null==a)||(e.objectMode||a&&a.length)&&(n.push(a)||(r=!0,t.pause()))})),t)void 0===this[a]&&"function"==typeof t[a]&&(this[a]=function(e){return function(){return t[e].apply(t,arguments)}}(a));return function(t,e){for(var r=0,n=t.length;r<n;r++)e(t[r],r)}(["error","close","destroy","pause","resume"],(function(e){t.on(e,n.emit.bind(n,e))})),n._read=function(e){Ne("wrapped _read",e),r&&(r=!1,t.resume())},n},He._fromList=$e,ar.WritableState=nr,$t(ar,Ft),nr.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},ar.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},ar.prototype.write=function(t,e,r){var n=this._writableState,a=!1;return"function"==typeof e&&(r=e,e=null),C.isBuffer(t)?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=er),n.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),xt(e,r)}(this,r):function(t,e,r,n){var a=!0,i=!1;return null===r?i=new TypeError("May not write null values to stream"):C.isBuffer(r)||"string"==typeof r||void 0===r||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(t.emit("error",i),xt(n,i),a=!1),a}(this,n,t,r)&&(n.pendingcb++,a=function(t,e,r,n,a){r=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=C.from(e,r));return e}(e,r,n),C.isBuffer(r)&&(n="buffer");var i=e.objectMode?1:r.length;e.length+=i;var o=e.length<e.highWaterMark;o||(e.needDrain=!0);if(e.writing||e.corked){var s=e.lastBufferedRequest;e.lastBufferedRequest=new rr(r,n,a),s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else ir(t,e,!1,i,r,n,a);return o}(this,n,t,e,r)),a},ar.prototype.cork=function(){this._writableState.corked++},ar.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||sr(this,t))},ar.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},ar.prototype._write=function(t,e,r){r(new Error("not implemented"))},ar.prototype._writev=null,ar.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,fr(t,e),r&&(e.finished?xt(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},$t(gr,He);for(var hr=Object.keys(ar.prototype),dr=0;dr<hr.length;dr++){var pr=hr[dr];gr.prototype[pr]||(gr.prototype[pr]=ar.prototype[pr])}function gr(t){if(!(this instanceof gr))return new gr(t);He.call(this,t),ar.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",br)}function br(){this.allowHalfOpen||this._writableState.ended||xt(mr,this)}function mr(t){t.end()}function vr(t){this.afterTransform=function(e,r){return function(t,e,r){var n=t._transformState;n.transforming=!1;var a=n.writecb;if(!a)return t.emit("error",new Error("no writecb in Transform class"));n.writechunk=null,n.writecb=null,null!=r&&t.push(r);a(e);var i=t._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&t._read(i.highWaterMark)}(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function yr(t){if(!(this instanceof yr))return new yr(t);gr.call(this,t),this._transformState=new vr(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(t){wr(e,t)})):wr(e)}))}function wr(t,e){if(e)return t.emit("error",e);var r=t._writableState,n=t._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(n.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}function _r(t){if(!(this instanceof _r))return new _r(t);yr.call(this,t)}function kr(){Ft.call(this)}$t(yr,gr),yr.prototype.push=function(t,e){return this._transformState.needTransform=!1,gr.prototype.push.call(this,t,e)},yr.prototype._transform=function(t,e,r){throw new Error("Not implemented")},yr.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var a=this._readableState;(n.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},yr.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},$t(_r,yr),_r.prototype._transform=function(t,e,r){r(null,t)},$t(kr,Ft),kr.Readable=He,kr.Writable=ar,kr.Duplex=gr,kr.Transform=yr,kr.PassThrough=_r,kr.Stream=kr,kr.prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",a),t._isStdio||e&&!1===e.end||(r.on("end",o),r.on("close",s));var i=!1;function o(){i||(i=!0,t.end())}function s(){i||(i=!0,"function"==typeof t.destroy&&t.destroy())}function u(t){if(l(),0===Ft.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",n),t.removeListener("drain",a),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",u),t.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",u),t.on("error",u),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t};var xr,Sr,Ar,Cr=a(Object.freeze({__proto__:null,default:kr,Readable:He,Writable:ar,Duplex:gr,Transform:yr,PassThrough:_r,Stream:kr})),Er={exports:{}};function Rr(){if(xr)return Er.exports;return xr=1,void 0===Dt||!Dt.version||0===Dt.version.indexOf("v0.")||0===Dt.version.indexOf("v1.")&&0!==Dt.version.indexOf("v1.8.")?Er.exports={nextTick:function(t,e,r,n){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var a,i,o=arguments.length;switch(o){case 0:case 1:return xt(t);case 2:return xt((function(){t.call(null,e)}));case 3:return xt((function(){t.call(null,e,r)}));case 4:return xt((function(){t.call(null,e,r,n)}));default:for(a=new Array(o-1),i=0;i<a.length;)a[i++]=arguments[i];return xt((function(){t.apply(null,a)}))}}}:Er.exports=Dt,Er.exports}var Or,Tr=a(Xt),Pr={exports:{}};function Mr(){return Or?Pr.exports:(Or=1,Pr.exports=Cr)}var Lr,Ir={exports:{}},Br=a(ft);function Dr(){return Lr||(Lr=1,function(t,e){var r=Br,n=r.Buffer;function a(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return n(t,e,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(a(r,e),e.Buffer=i),a(n,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return n(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var a=n(t);return void 0!==e?"string"==typeof r?a.fill(e,r):a.fill(e):a.fill(0),a},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}}(Ir,Ir.exports)),Ir.exports}var zr,jr={};function Fr(){if(zr)return jr;function t(t){return Object.prototype.toString.call(t)}return zr=1,jr.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},jr.isBoolean=function(t){return"boolean"==typeof t},jr.isNull=function(t){return null===t},jr.isNullOrUndefined=function(t){return null==t},jr.isNumber=function(t){return"number"==typeof t},jr.isString=function(t){return"string"==typeof t},jr.isSymbol=function(t){return"symbol"==typeof t},jr.isUndefined=function(t){return void 0===t},jr.isRegExp=function(e){return"[object RegExp]"===t(e)},jr.isObject=function(t){return"object"==typeof t&&null!==t},jr.isDate=function(e){return"[object Date]"===t(e)},jr.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},jr.isFunction=function(t){return"function"==typeof t},jr.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},jr.isBuffer=Br.Buffer.isBuffer,jr}var Nr,Ur,Hr={exports:{}},Wr=a(Le),Zr={exports:{}};function qr(){return Ur||(Ur=1,function(t){try{var e=Wr;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=(Nr||(Nr=1,"function"==typeof Object.create?Zr.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Zr.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),Zr.exports)}}(Hr)),Hr.exports}var Yr,Gr,Vr,Kr,Xr,$r,Jr,Qr,tn,en={exports:{}};function rn(){return Yr||(Yr=1,function(t){var e=Dr().Buffer,r=Wr;t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return e.alloc(0);if(1===this.length)return this.head.data;for(var r,n,a,i=e.allocUnsafe(t>>>0),o=this.head,s=0;o;)r=o.data,n=i,a=s,r.copy(n,a),s+=o.data.length,o=o.next;return i},t}(),r&&r.inspect&&r.inspect.custom&&(t.exports.prototype[r.inspect.custom]=function(){var t=r.inspect({length:this.length});return this.constructor.name+" "+t})}(en)),en.exports}function nn(){if(Vr)return Gr;Vr=1;var t=Rr();function e(t,e){t.emit("error",e)}return Gr={destroy:function(r,n){var a=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(n?n(r):!r||this._writableState&&this._writableState.errorEmitted||t.nextTick(e,this,r),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(r||null,(function(r){!n&&r?(t.nextTick(e,a,r),a._writableState&&(a._writableState.errorEmitted=!0)):n&&n(r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},Gr}function an(){if(Jr)return $r;Jr=1;var t=Rr();function e(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var a=n.callback;e.pendingcb--,a(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}$r=p;var r,a=t.nextTick;p.WritableState=d;var i=Object.create(Fr());i.inherits=qr();var o={deprecate:Xr?Kr:(Xr=1,Kr=Wr.deprecate)},s=Mr(),u=Dr().Buffer,l=n.Uint8Array||function(){};var f,c=nn();function h(){}function d(n,i){r=r||on(),n=n||{};var o=i instanceof r;this.objectMode=!!n.objectMode,o&&(this.objectMode=this.objectMode||!!n.writableObjectMode);var s=n.highWaterMark,u=n.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:o&&(u||0===u)?u:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===n.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,r){var n=e._writableState,i=n.sync,o=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),r)!function(e,r,n,a,i){--r.pendingcb,n?(t.nextTick(i,a),t.nextTick(w,e,r),e._writableState.errorEmitted=!0,e.emit("error",a)):(i(a),e._writableState.errorEmitted=!0,e.emit("error",a),w(e,r))}(e,n,i,r,o);else{var s=v(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||m(e,n),i?a(b,e,n,s,o):b(e,n,s,o)}}(i,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function p(t){if(r=r||on(),!(f.call(p,this)||this instanceof r))return new p(t);this._writableState=new d(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),s.call(this)}function g(t,e,r,n,a,i,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(a,e.onwrite):t._write(a,i,e.onwrite),e.sync=!1}function b(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),w(t,e)}function m(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var a=r.bufferedRequestCount,i=new Array(a),o=r.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,g(t,r,!0,r.length,i,"",o.finish),r.pendingcb++,r.lastBufferedRequest=null,o.next?(r.corkedRequestsFree=o.next,o.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,f=n.encoding,c=n.callback;if(g(t,r,!1,r.objectMode?1:l.length,l,f,c),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function v(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function y(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),w(t,e)}))}function w(e,r){var n=v(r);return n&&(!function(e,r){r.prefinished||r.finalCalled||("function"==typeof e._final?(r.pendingcb++,r.finalCalled=!0,t.nextTick(y,e,r)):(r.prefinished=!0,e.emit("prefinish")))}(e,r),0===r.pendingcb&&(r.finished=!0,e.emit("finish"))),n}return i.inherits(p,s),d.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(t){return!!f.call(this,t)||this===p&&(t&&t._writableState instanceof d)}})):f=function(t){return t instanceof this},p.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},p.prototype.write=function(e,r,n){var a,i=this._writableState,o=!1,s=!i.objectMode&&(a=e,u.isBuffer(a)||a instanceof l);return s&&!u.isBuffer(e)&&(e=function(t){return u.from(t)}(e)),"function"==typeof r&&(n=r,r=null),s?r="buffer":r||(r=i.defaultEncoding),"function"!=typeof n&&(n=h),i.ended?function(e,r){var n=new Error("write after end");e.emit("error",n),t.nextTick(r,n)}(this,n):(s||function(e,r,n,a){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||r.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),t.nextTick(a,o),i=!1),i}(this,i,e,n))&&(i.pendingcb++,o=function(t,e,r,n,a,i){if(!r){var o=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r));return e}(e,n,a);n!==o&&(r=!0,a="buffer",n=o)}var s=e.objectMode?1:n.length;e.length+=s;var l=e.length<e.highWaterMark;l||(e.needDrain=!0);if(e.writing||e.corked){var f=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:i,next:null},f?f.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else g(t,e,!1,s,n,a,i);return l}(this,i,s,e,r,n)),o},p.prototype.cork=function(){this._writableState.corked++},p.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},p.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(p.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),p.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},p.prototype._writev=null,p.prototype.end=function(e,r,n){var a=this._writableState;"function"==typeof e?(n=e,e=null,r=null):"function"==typeof r&&(n=r,r=null),null!=e&&this.write(e,r),a.corked&&(a.corked=1,this.uncork()),a.ending||a.finished||function(e,r,n){r.ending=!0,w(e,r),n&&(r.finished?t.nextTick(n):e.once("finish",n));r.ended=!0,e.writable=!1}(this,a,n)},Object.defineProperty(p.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),p.prototype.destroy=c.destroy,p.prototype._undestroy=c.undestroy,p.prototype._destroy=function(t,e){this.end(),e(t)},$r}function on(){if(tn)return Qr;tn=1;var t=Rr(),e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Qr=u;var r=Object.create(Fr());r.inherits=qr();var n=mn(),a=an();r.inherits(u,n);for(var i=e(a.prototype),o=0;o<i.length;o++){var s=i[o];u.prototype[s]||(u.prototype[s]=a.prototype[s])}function u(t){if(!(this instanceof u))return new u(t);n.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",l)}function l(){this.allowHalfOpen||this._writableState.ended||t.nextTick(f,this)}function f(t){t.end()}return Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),u.prototype._destroy=function(e,r){this.push(null),this.end(),t.nextTick(r,e)},Qr}var sn,un,ln,fn,cn,hn,dn,pn,gn={};function bn(){if(sn)return gn;sn=1;var t=Dr().Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(r);if("string"!=typeof n&&(t.isEncoding===e||!e(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=i,this.end=o,n=4;break;case"utf8":this.fillLast=a,n=4;break;case"base64":this.text=s,this.end=u,n=3;break;default:return this.write=l,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function n(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function i(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function o(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function s(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function l(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}return gn.StringDecoder=r,r.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},r.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},r.prototype.text=function(t,e){var r=function(t,e,r){var a=e.length-1;if(a<r)return 0;var i=n(e[a]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--a<r||-2===i)return 0;if((i=n(e[a]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--a<r||-2===i)return 0;if((i=n(e[a]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var a=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,a),t.toString("utf8",e,a)},r.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},gn}function mn(){if(ln)return un;ln=1;var t=Rr();un=b;var e,r=function(){if(Ar)return Sr;Ar=1;var t={}.toString;return Sr=Array.isArray||function(e){return"[object Array]"==t.call(e)}}();b.ReadableState=g,Tr.EventEmitter;var a=function(t,e){return t.listeners(e).length},i=Mr(),o=Dr().Buffer,s=n.Uint8Array||function(){};var u=Object.create(Fr());u.inherits=qr();var l=Wr,f=void 0;f=l&&l.debuglog?l.debuglog("stream"):function(){};var c,h=rn(),d=nn();u.inherits(b,i);var p=["error","close","destroy","pause","resume"];function g(t,r){t=t||{};var n=r instanceof(e=e||on());this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var a=t.highWaterMark,i=t.readableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(i||0===i)?i:o,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new h,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(c||(c=bn().StringDecoder),this.decoder=new c(t.encoding),this.encoding=t.encoding)}function b(t){if(e=e||on(),!(this instanceof b))return new b(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),i.call(this)}function m(t,e,r,n,a){var i,u=t._readableState;null===e?(u.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,_(t)}(t,u)):(a||(i=function(t,e){var r;n=e,o.isBuffer(n)||n instanceof s||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(u,e)),i?t.emit("error",i):u.objectMode||e&&e.length>0?("string"==typeof e||u.objectMode||Object.getPrototypeOf(e)===o.prototype||(e=function(t){return o.from(t)}(e)),n?u.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):v(t,u,e,!0):u.ended?t.emit("error",new Error("stream.push() after EOF")):(u.reading=!1,u.decoder&&!r?(e=u.decoder.write(e),u.objectMode||0!==e.length?v(t,u,e,!1):x(t,u)):v(t,u,e,!1))):n||(u.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(u)}function v(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&_(t)),x(t,e)}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),b.prototype.destroy=d.destroy,b.prototype._undestroy=d.undestroy,b.prototype._destroy=function(t,e){this.push(null),e(t)},b.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=o.from(t,e),e=""),r=!0),m(this,t,e,!1,r)},b.prototype.unshift=function(t){return m(this,t,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return c||(c=bn().StringDecoder),this._readableState.decoder=new c(t),this._readableState.encoding=t,this};var y=8388608;function w(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=y?t=y:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function _(e){var r=e._readableState;r.needReadable=!1,r.emittedReadable||(f("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?t.nextTick(k,e):k(e))}function k(t){f("emit readable"),t.emit("readable"),E(t)}function x(e,r){r.readingMore||(r.readingMore=!0,t.nextTick(S,e,r))}function S(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(f("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function A(t){f("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(f("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),E(t),e.flowing&&!e.reading&&t.read(0)}function E(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function R(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,a=r.data;t-=a.length;for(;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(o===i.length?a+=i:a+=i.slice(0,t),0===(t-=o)){o===i.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(o));break}++n}return e.length-=n,a}(t,e):function(t,e){var r=o.allocUnsafe(t),n=e.head,a=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var i=n.data,s=t>i.length?i.length:t;if(i.copy(r,r.length-t,0,s),0===(t-=s)){s===i.length?(++a,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(s));break}++a}return e.length-=a,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function O(e){var r=e._readableState;if(r.length>0)throw new Error('"endReadable()" called on non-empty stream');r.endEmitted||(r.ended=!0,t.nextTick(T,r,e))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function P(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}return b.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?O(this):_(this),null;if(0===(t=w(t,e))&&e.ended)return 0===e.length&&O(this),null;var n,a=e.needReadable;return f("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",a=!0),e.ended||e.reading?f("reading or ended",a=!1):a&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=w(r,e))),null===(n=t>0?R(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&O(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,n){var i=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,n);var s=(!n||!1!==n.end)&&e!==Dt.stdout&&e!==Dt.stderr?l:v;function u(t,r){f("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,f("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",g),e.removeListener("unpipe",u),i.removeListener("end",l),i.removeListener("end",v),i.removeListener("data",p),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){f("onend"),e.end()}o.endEmitted?t.nextTick(s):i.once("end",s),e.on("unpipe",u);var c=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,E(t))}}(i);e.on("drain",c);var h=!1;var d=!1;function p(t){f("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==P(o.pipes,e))&&!h&&(f("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,d=!0),i.pause())}function g(t){f("onerror",t),v(),e.removeListener("error",g),0===a(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",m),v()}function m(){f("onfinish"),e.removeListener("close",b),v()}function v(){f("unpipe"),i.unpipe(e)}return i.on("data",p),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?r(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(e,"error",g),e.once("close",b),e.once("finish",m),e.emit("pipe",i),o.flowing||(f("pipe resume"),i.resume()),e},b.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,a=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<a;i++)n[i].emit("unpipe",this,r);return this}var o=P(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},b.prototype.on=function(e,r){var n=i.prototype.on.call(this,e,r);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var a=this._readableState;a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.emittedReadable=!1,a.reading?a.length&&_(this):t.nextTick(A,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.nextTick(C,e,r))}(this,e)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var a in t.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(a){(f("wrapped data"),r.decoder&&(a=r.decoder.write(a)),r.objectMode&&null==a)||(r.objectMode||a&&a.length)&&(e.push(a)||(n=!0,t.pause()))})),t)void 0===this[a]&&"function"==typeof t[a]&&(this[a]=function(e){return function(){return t[e].apply(t,arguments)}}(a));for(var i=0;i<p.length;i++)t.on(p[i],this.emit.bind(this,p[i]));return this._read=function(e){f("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=R,un}function vn(){if(cn)return fn;cn=1,fn=n;var t=on(),e=Object.create(Fr());function r(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function n(e){if(!(this instanceof n))return new n(e);t.call(this,e),this._transformState={afterTransform:r.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){i(t,e,r)})):i(this,null,null)}function i(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}return e.inherits=qr(),e.inherits(n,t),n.prototype.push=function(e,r){return this._transformState.needTransform=!1,t.prototype.push.call(this,e,r)},n.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},n.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var a=this._readableState;(n.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},n.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},n.prototype._destroy=function(e,r){var n=this;t.prototype._destroy.call(this,e,(function(t){r(t),n.emit("close")}))},fn}function yn(){return pn||(pn=1,function(t,e){var r=Cr;"disable"===Dt.env.READABLE_STREAM&&r?(t.exports=r,(e=t.exports=r.Readable).Readable=r.Readable,e.Writable=r.Writable,e.Duplex=r.Duplex,e.Transform=r.Transform,e.PassThrough=r.PassThrough,e.Stream=r):((e=t.exports=mn()).Stream=r||e,e.Readable=e,e.Writable=an(),e.Duplex=on(),e.Transform=vn(),e.PassThrough=function(){if(dn)return hn;dn=1,hn=r;var t=vn(),e=Object.create(Fr());function r(e){if(!(this instanceof r))return new r(e);t.call(this,e)}return e.inherits=qr(),e.inherits(r,t),r.prototype._transform=function(t,e,r){r(null,t)},hn}())}(zt,zt.exports)),zt.exports}if(ct.base64=!0,ct.array=!0,ct.string=!0,ct.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,ct.nodebuffer=!0,ct.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)ct.blob=!1;else{var wn=new ArrayBuffer(0);try{ct.blob=0===new Blob([wn],{type:"application/zip"}).size}catch(t){try{var _n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_n.append(wn),ct.blob=0===_n.getBlob("application/zip").size}catch(t){ct.blob=!1}}}try{ct.nodestream=!!yn().Readable}catch(t){ct.nodestream=!1}var kn,xn={};function Sn(){if(kn)return xn;kn=1;var t=Ln(),e=ct,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return xn.encode=function(e){for(var n,a,i,o,s,u,l,f=[],c=0,h=e.length,d=h,p="string"!==t.getTypeOf(e);c<e.length;)d=h-c,p?(n=e[c++],a=c<h?e[c++]:0,i=c<h?e[c++]:0):(n=e.charCodeAt(c++),a=c<h?e.charCodeAt(c++):0,i=c<h?e.charCodeAt(c++):0),o=n>>2,s=(3&n)<<4|a>>4,u=d>1?(15&a)<<2|i>>6:64,l=d>2?63&i:64,f.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return f.join("")},xn.decode=function(t){var n,a,i,o,s,u,l=0,f=0,c="data:";if(t.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var h,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===r.charAt(64)&&d--,t.charAt(t.length-2)===r.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=e.uint8array?new Uint8Array(0|d):new Array(0|d);l<t.length;)n=r.indexOf(t.charAt(l++))<<2|(o=r.indexOf(t.charAt(l++)))>>4,a=(15&o)<<4|(s=r.indexOf(t.charAt(l++)))>>2,i=(3&s)<<6|(u=r.indexOf(t.charAt(l++))),h[f++]=n,64!==s&&(h[f++]=a),64!==u&&(h[f++]=i);return h},xn}var An,Cn,En,Rn,On={isNode:!0,newBufferFrom:function(t,e){if(C.from&&C.from!==Uint8Array.from)return C.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new C(t,e)},allocBuffer:function(t){if(C.alloc)return C.alloc(t);var e=new C(t);return e.fill(0),e},isBuffer:function(t){return ut(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}};var Tn=null;Tn="undefined"!=typeof Promise?Promise:function(){if(Rn)return En;Rn=1;var t=function(){if(Cn)return An;Cn=1;var t,e,r=n.MutationObserver||n.WebKitMutationObserver;if(r){var a=0,i=new r(l),o=n.document.createTextNode("");i.observe(o,{characterData:!0}),t=function(){o.data=a=++a%2}}else if(n.setImmediate||void 0===n.MessageChannel)t="document"in n&&"onreadystatechange"in n.document.createElement("script")?function(){var t=n.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},n.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var s=new n.MessageChannel;s.port1.onmessage=l,t=function(){s.port2.postMessage(0)}}var u=[];function l(){var t,r;e=!0;for(var n=u.length;n;){for(r=u,u=[],t=-1;++t<n;)r[t]();n=u.length}e=!1}return An=function(r){1!==u.push(r)||e||t()}}();function e(){}var r={},a=["REJECTED"],i=["FULFILLED"],o=["PENDING"];function s(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=o,this.queue=[],this.outcome=void 0,t!==e&&c(this,t)}function u(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function l(e,n,a){t((function(){var t;try{t=n(a)}catch(t){return r.reject(e,t)}t===e?r.reject(e,new TypeError("Cannot resolve promise with itself")):r.resolve(e,t)}))}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function c(t,e){var n=!1;function a(e){n||(n=!0,r.reject(t,e))}function i(e){n||(n=!0,r.resolve(t,e))}var o=h((function(){e(i,a)}));"error"===o.status&&a(o.value)}function h(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}return En=s,s.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},s.prototype.catch=function(t){return this.then(null,t)},s.prototype.then=function(t,r){if("function"!=typeof t&&this.state===i||"function"!=typeof r&&this.state===a)return this;var n=new this.constructor(e);return this.state!==o?l(n,this.state===i?t:r,this.outcome):this.queue.push(new u(n,t,r)),n},u.prototype.callFulfilled=function(t){r.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){l(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){r.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){l(this.promise,this.onRejected,t)},r.resolve=function(t,e){var n=h(f,e);if("error"===n.status)return r.reject(t,n.value);var a=n.value;if(a)c(t,a);else{t.state=i,t.outcome=e;for(var o=-1,s=t.queue.length;++o<s;)t.queue[o].callFulfilled(e)}return t},r.reject=function(t,e){t.state=a,t.outcome=e;for(var r=-1,n=t.queue.length;++r<n;)t.queue[r].callRejected(e);return t},s.resolve=function(t){return t instanceof this?t:r.resolve(new this(e),t)},s.reject=function(t){var n=new this(e);return r.reject(n,t)},s.all=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var a=t.length,i=!1;if(!a)return this.resolve([]);for(var o=new Array(a),s=0,u=-1,l=new this(e);++u<a;)f(t[u],u);return l;function f(t,e){n.resolve(t).then((function(t){o[e]=t,++s!==a||i||(i=!0,r.resolve(l,o))}),(function(t){i||(i=!0,r.reject(l,t))}))}},s.race=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var a=t.length,i=!1;if(!a)return this.resolve([]);for(var o,s=-1,u=new this(e);++s<a;)o=t[s],n.resolve(o).then((function(t){i||(i=!0,r.resolve(u,t))}),(function(t){i||(i=!0,r.reject(u,t))}));return u},En}();var Pn,Mn={Promise:Tn};function Ln(){return Pn||(Pn=1,function(t){var e=ct,r=Sn(),n=On,a=Mn;function i(t){return t}function o(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}t.newBlob=function(e,r){t.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var s={stringifyByChunk:function(t,e,r){var n=[],a=0,i=t.length;if(i<=r)return String.fromCharCode.apply(null,t);for(;a<i;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(a,Math.min(a+r,i)))):n.push(String.fromCharCode.apply(null,t.subarray(a,Math.min(a+r,i)))),a+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return e.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return e.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(t){return!1}}()}};function u(e){var r=65536,n=t.getTypeOf(e),a=!0;if("uint8array"===n?a=s.applyCanBeUsed.uint8array:"nodebuffer"===n&&(a=s.applyCanBeUsed.nodebuffer),a)for(;r>1;)try{return s.stringifyByChunk(e,n,r)}catch(t){r=Math.floor(r/2)}return s.stringifyByChar(e)}function l(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}t.applyFromCharCode=u;var f={};f.string={string:i,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:function(t){return o(t,n.allocBuffer(t.length))}},f.array={string:u,array:i,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return l(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:i,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:i,nodebuffer:function(t){return n.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:i},t.transformTo=function(e,r){if(r||(r=""),!e)return r;t.checkSupport(e);var n=t.getTypeOf(r);return f[n][e](r)},t.resolve=function(t){for(var e=t.split("/"),r=[],n=0;n<e.length;n++){var a=e[n];"."===a||""===a&&0!==n&&n!==e.length-1||(".."===a?r.pop():r.push(a))}return r.join("/")},t.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":e.nodebuffer&&n.isBuffer(t)?"nodebuffer":e.uint8array&&t instanceof Uint8Array?"uint8array":e.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(t){if(!e[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},t.delay=function(t,e,r){setImmediate((function(){t.apply(r||null,e||[])}))},t.inherits=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r},t.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},t.prepareContent=function(n,i,s,u,l){return a.Promise.resolve(i).then((function(t){return e.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise((function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(i){var f,c=t.getTypeOf(i);return c?("arraybuffer"===c?i=t.transformTo("uint8array",i):"string"===c&&(l?i=r.decode(i):s&&!0!==u&&(i=o(f=i,e.uint8array?new Uint8Array(f.length):new Array(f.length)))),i):a.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}}(f)),f}function In(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}!function(t,e){if(!t.setImmediate){var r,n,a,i,o,s=1,u={},l=!1,f=t.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(t);c=c&&c.setTimeout?c:t,"[object process]"==={}.toString.call(t.process)?r=function(t){xt((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){d(t.data)},r=function(t){a.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(n=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):r=function(t){setTimeout(d,0,t)}:(i="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&d(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),r=function(e){t.postMessage(i+e,"*")}),c.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var a={callback:t,args:e};return u[s]=a,r(s),s++},c.clearImmediate=h}function h(t){delete u[t]}function d(t){if(l)setTimeout(d,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{h(t),l=!1}}}}}("undefined"==typeof self?n:self),In.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}};var Bn=In;!function(t){for(var e=Ln(),r=ct,n=On,a=Bn,i=new Array(256),o=0;o<256;o++)i[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;i[254]=i[254]=1;function s(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}t.utf8encode=function(t){return r.nodebuffer?n.newBufferFrom(t,"utf-8"):function(t){var e,n,a,i,o,s=t.length,u=0;for(i=0;i<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(a=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(a-56320),i++),u+=n<128?1:n<2048?2:n<65536?3:4;for(e=r.uint8array?new Uint8Array(u):new Array(u),o=0,i=0;o<u;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<s&&56320==(64512&(a=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(a-56320),i++),n<128?e[o++]=n:n<2048?(e[o++]=192|n>>>6,e[o++]=128|63&n):n<65536?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e}(t)},t.utf8decode=function(t){return r.nodebuffer?e.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,n,a,o,s=t.length,u=new Array(2*s);for(n=0,r=0;r<s;)if((a=t[r++])<128)u[n++]=a;else if((o=i[a])>4)u[n++]=65533,r+=o-1;else{for(a&=2===o?31:3===o?15:7;o>1&&r<s;)a=a<<6|63&t[r++],o--;o>1?u[n++]=65533:a<65536?u[n++]=a:(a-=65536,u[n++]=55296|a>>10&1023,u[n++]=56320|1023&a)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),e.applyFromCharCode(u)}(t=e.transformTo(r.uint8array?"uint8array":"array",t))},e.inherits(s,a),s.prototype.processChunk=function(n){var a=e.transformTo(r.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=a;(a=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),a.set(o,this.leftOver.length)}else a=this.leftOver.concat(a);this.leftOver=null}var s=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+i[t[r]]>e?r:e}(a),u=a;s!==a.length&&(r.uint8array?(u=a.subarray(0,s),this.leftOver=a.subarray(s,a.length)):(u=a.slice(0,s),this.leftOver=a.slice(s,a.length))),this.push({data:t.utf8decode(u),meta:n.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=s,e.inherits(u,a),u.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=u}(l);var Dn=Bn,zn=Ln();function jn(t){Dn.call(this,"ConvertWorker to "+t),this.destType=t}zn.inherits(jn,Dn),jn.prototype.processChunk=function(t){this.push({data:zn.transformTo(this.destType,t.data),meta:t.meta})};var Fn,Nn,Un=jn;var Hn=Ln(),Wn=Un,Zn=Bn,qn=Sn(),Yn=Mn,Gn=null;if(ct.nodestream)try{Gn=function(){if(Nn)return Fn;Nn=1;var t=yn().Readable;function e(e,r,n){t.call(this,r),this._helper=e;var a=this;e.on("data",(function(t,e){a.push(t)||a._helper.pause(),n&&n(e)})).on("error",(function(t){a.emit("error",t)})).on("end",(function(){a.push(null)}))}return Ln().inherits(e,t),e.prototype._read=function(){this._helper.resume()},Fn=e}()}catch(t){}function Vn(t,e){return new Yn.Promise((function(r,n){var a=[],i=t._internalType,o=t._outputType,s=t._mimeType;t.on("data",(function(t,r){a.push(t),e&&e(r)})).on("error",(function(t){a=[],n(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return Hn.newBlob(Hn.transformTo("arraybuffer",e),r);case"base64":return qn.encode(e);default:return Hn.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,i=0;for(r=0;r<e.length;r++)i+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(a=new Uint8Array(i),r=0;r<e.length;r++)a.set(e[r],n),n+=e[r].length;return a;case"nodebuffer":return C.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(i,a),s);r(t)}catch(t){n(t)}a=[]})).resume()}))}function Kn(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,Hn.checkSupport(n),this._worker=t.pipe(new Wn(n)),t.lock()}catch(t){this._worker=new Zn("error"),this._worker.error(t)}}Kn.prototype={accumulate:function(t){return Vn(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){Hn.delay(e,arguments,r)})),this},resume:function(){return Hn.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(Hn.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new Gn(this,{objectMode:"nodebuffer"!==this._outputType},t)}};var Xn=Kn,$n={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},Jn=Ln(),Qn=Bn;function ta(t){Qn.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=Jn.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}Jn.inherits(ta,Qn),ta.prototype.cleanUp=function(){Qn.prototype.cleanUp.call(this),this.data=null},ta.prototype.resume=function(){return!!Qn.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Jn.delay(this._tickAndRepeat,[],this)),!0)},ta.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Jn.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},ta.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})};var ea=ta,ra=Ln();var na=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();var aa=function(t,e){return void 0!==t&&t.length?"string"!==ra.getTypeOf(t)?function(t,e,r,n){var a=na,i=n+r;t^=-1;for(var o=n;o<i;o++)t=t>>>8^a[255&(t^e[o])];return-1^t}(0|e,t,t.length,0):function(t,e,r,n){var a=na,i=n+r;t^=-1;for(var o=n;o<i;o++)t=t>>>8^a[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length,0):0},ia=Bn,oa=aa;function sa(){ia.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Ln().inherits(sa,ia),sa.prototype.processChunk=function(t){this.streamInfo.crc32=oa(t.data,this.streamInfo.crc32||0),this.push(t)};var ua=sa,la=Ln(),fa=Bn;function ca(t){fa.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}la.inherits(ca,fa),ca.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}fa.prototype.processChunk.call(this,t)};var ha=Mn,da=ea,pa=ua,ga=ca;function ba(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}ba.prototype={getContentWorker:function(){var t=new da(ha.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new ga("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new da(ha.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},ba.createWorkerFrom=function(t,e,r){return t.pipe(new pa).pipe(new ga("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new ga("compressedSize")).withStreamInfo("compression",e)};var ma=ba,va=Xn,ya=ea,wa=l,_a=ma,ka=Bn,xa=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};xa.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var n="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var a=!this._dataBinary;a&&!n&&(e=e.pipe(new wa.Utf8EncodeWorker)),!a&&n&&(e=e.pipe(new wa.Utf8DecodeWorker))}catch(t){(e=new ka("error")).error(t)}return new va(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof _a&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new wa.Utf8EncodeWorker)),_a.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof _a?this._data.getContentWorker():this._data instanceof ka?this._data:new ya(this._data)}};for(var Sa=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Aa=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Ca=0;Ca<Sa.length;Ca++)xa.prototype[Sa[Ca]]=Aa;var Ea=xa,Ra={},Oa={},Ta={},Pa={};!function(t){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.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 a in n)r(n,a)&&(t[a]=n[a])}}return t},t.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var n={arraySet:function(t,e,r,n,a){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),a);else for(var i=0;i<n;i++)t[a+i]=e[r+i]},flattenChunks:function(t){var e,r,n,a,i,o;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(o=new Uint8Array(n),a=0,e=0,r=t.length;e<r;e++)i=t[e],o.set(i,a),a+=i.length;return o}},a={arraySet:function(t,e,r,n,a){for(var i=0;i<n;i++)t[a+i]=e[r+i]},flattenChunks:function(t){return[].concat.apply([],t)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,n)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(e)}(Pa);var Ma={},La={},Ia={},Ba=Pa;function Da(t){for(var e=t.length;--e>=0;)t[e]=0}var za=[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],ja=[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],Fa=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Na=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ua=new Array(576);Da(Ua);var Ha=new Array(60);Da(Ha);var Wa=new Array(512);Da(Wa);var Za=new Array(256);Da(Za);var qa=new Array(29);Da(qa);var Ya,Ga,Va,Ka=new Array(30);function Xa(t,e,r,n,a){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=a,this.has_stree=t&&t.length}function $a(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function Ja(t){return t<256?Wa[t]:Wa[256+(t>>>7)]}function Qa(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function ti(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,Qa(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function ei(t,e,r){ti(t,r[2*e],r[2*e+1])}function ri(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function ni(t,e,r){var n,a,i=new Array(16),o=0;for(n=1;n<=15;n++)i[n]=o=o+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=ri(i[s]++,s))}}function ai(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 ii(t){t.bi_valid>8?Qa(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 oi(t,e,r,n){var a=2*e,i=2*r;return t[a]<t[i]||t[a]===t[i]&&n[e]<=n[r]}function si(t,e,r){for(var n=t.heap[r],a=r<<1;a<=t.heap_len&&(a<t.heap_len&&oi(e,t.heap[a+1],t.heap[a],t.depth)&&a++,!oi(e,n,t.heap[a],t.depth));)t.heap[r]=t.heap[a],r=a,a<<=1;t.heap[r]=n}function ui(t,e,r){var n,a,i,o,s=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],a=t.pending_buf[t.l_buf+s],s++,0===n?ei(t,a,e):(ei(t,(i=Za[a])+256+1,e),0!==(o=za[i])&&ti(t,a-=qa[i],o),ei(t,i=Ja(--n),r),0!==(o=ja[i])&&ti(t,n-=Ka[i],o))}while(s<t.last_lit);ei(t,256,e)}function li(t,e){var r,n,a,i=e.dyn_tree,o=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<u;r++)0!==i[2*r]?(t.heap[++t.heap_len]=l=r,t.depth[r]=0):i[2*r+1]=0;for(;t.heap_len<2;)i[2*(a=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[a]=0,t.opt_len--,s&&(t.static_len-=o[2*a+1]);for(e.max_code=l,r=t.heap_len>>1;r>=1;r--)si(t,i,r);a=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],si(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,i[2*a]=i[2*r]+i[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,i[2*r+1]=i[2*n+1]=a,t.heap[1]=a++,si(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,i,o,s,u=e.dyn_tree,l=e.max_code,f=e.stat_desc.static_tree,c=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(i=u[2*u[2*(n=t.heap[r])+1]+1]+1)>p&&(i=p,g++),u[2*n+1]=i,n>l||(t.bl_count[i]++,o=0,n>=d&&(o=h[n-d]),s=u[2*n],t.opt_len+=s*(i+o),c&&(t.static_len+=s*(f[2*n+1]+o)));if(0!==g){do{for(i=p-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(n=t.bl_count[i];0!==n;)(a=t.heap[--r])>l||(u[2*a+1]!==i&&(t.opt_len+=(i-u[2*a+1])*u[2*a],u[2*a+1]=i),n--)}}(t,e),ni(i,l,t.bl_count)}function fi(t,e,r){var n,a,i=-1,o=e[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)a=o,o=e[2*(n+1)+1],++s<u&&a===o||(s<l?t.bl_tree[2*a]+=s:0!==a?(a!==i&&t.bl_tree[2*a]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,i=a,0===o?(u=138,l=3):a===o?(u=6,l=3):(u=7,l=4))}function ci(t,e,r){var n,a,i=-1,o=e[1],s=0,u=7,l=4;for(0===o&&(u=138,l=3),n=0;n<=r;n++)if(a=o,o=e[2*(n+1)+1],!(++s<u&&a===o)){if(s<l)do{ei(t,a,t.bl_tree)}while(0!=--s);else 0!==a?(a!==i&&(ei(t,a,t.bl_tree),s--),ei(t,16,t.bl_tree),ti(t,s-3,2)):s<=10?(ei(t,17,t.bl_tree),ti(t,s-3,3)):(ei(t,18,t.bl_tree),ti(t,s-11,7));s=0,i=a,0===o?(u=138,l=3):a===o?(u=6,l=3):(u=7,l=4)}}Da(Ka);var hi=!1;function di(t,e,r,n){ti(t,0+(n?1:0),3),function(t,e,r,n){ii(t),n&&(Qa(t,r),Qa(t,~r)),Ba.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r,!0)}Ia._tr_init=function(t){hi||(!function(){var t,e,r,n,a,i=new Array(16);for(r=0,n=0;n<28;n++)for(qa[n]=r,t=0;t<1<<za[n];t++)Za[r++]=n;for(Za[r-1]=n,a=0,n=0;n<16;n++)for(Ka[n]=a,t=0;t<1<<ja[n];t++)Wa[a++]=n;for(a>>=7;n<30;n++)for(Ka[n]=a<<7,t=0;t<1<<ja[n]-7;t++)Wa[256+a++]=n;for(e=0;e<=15;e++)i[e]=0;for(t=0;t<=143;)Ua[2*t+1]=8,t++,i[8]++;for(;t<=255;)Ua[2*t+1]=9,t++,i[9]++;for(;t<=279;)Ua[2*t+1]=7,t++,i[7]++;for(;t<=287;)Ua[2*t+1]=8,t++,i[8]++;for(ni(Ua,287,i),t=0;t<30;t++)Ha[2*t+1]=5,Ha[2*t]=ri(t,5);Ya=new Xa(Ua,za,257,286,15),Ga=new Xa(Ha,ja,0,30,15),Va=new Xa(new Array(0),Fa,0,19,7)}(),hi=!0),t.l_desc=new $a(t.dyn_ltree,Ya),t.d_desc=new $a(t.dyn_dtree,Ga),t.bl_desc=new $a(t.bl_tree,Va),t.bi_buf=0,t.bi_valid=0,ai(t)},Ia._tr_stored_block=di,Ia._tr_flush_block=function(t,e,r,n){var a,i,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&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)),li(t,t.l_desc),li(t,t.d_desc),o=function(t){var e;for(fi(t,t.dyn_ltree,t.l_desc.max_code),fi(t,t.dyn_dtree,t.d_desc.max_code),li(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*Na[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(i=t.static_len+3+7>>>3)<=a&&(a=i)):a=i=r+5,r+4<=a&&-1!==e?di(t,e,r,n):4===t.strategy||i===a?(ti(t,2+(n?1:0),3),ui(t,Ua,Ha)):(ti(t,4+(n?1:0),3),function(t,e,r,n){var a;for(ti(t,e-257,5),ti(t,r-1,5),ti(t,n-4,4),a=0;a<n;a++)ti(t,t.bl_tree[2*Na[a]+1],3);ci(t,t.dyn_ltree,e-1),ci(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),ui(t,t.dyn_ltree,t.dyn_dtree)),ai(t),n&&ii(t)},Ia._tr_tally=function(t,e,r){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&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(Za[r]+256+1)]++,t.dyn_dtree[2*Ja(e)]++),t.last_lit===t.lit_bufsize-1},Ia._tr_align=function(t){ti(t,2,3),ei(t,256,Ua),function(t){16===t.bi_valid?(Qa(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)};var pi=function(t,e,r,n){for(var a=65535&t|0,i=t>>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{i=i+(a=a+e[n++]|0)|0}while(--o);a%=65521,i%=65521}return a|i<<16|0};var gi=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();var bi,mi=function(t,e,r,n){var a=gi,i=n+r;t^=-1;for(var o=n;o<i;o++)t=t>>>8^a[255&(t^e[o])];return-1^t},vi={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"},yi=Pa,wi=Ia,_i=pi,ki=mi,xi=vi;function Si(t,e){return t.msg=xi[e],e}function Ai(t){return(t<<1)-(t>4?9:0)}function Ci(t){for(var e=t.length;--e>=0;)t[e]=0}function Ei(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(yi.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function Ri(t,e){wi._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ei(t.strm)}function Oi(t,e){t.pending_buf[t.pending++]=e}function Ti(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function Pi(t,e){var r,n,a=t.max_chain_length,i=t.strstart,o=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,l=t.window,f=t.w_mask,c=t.prev,h=t.strstart+258,d=l[i+o-1],p=l[i+o];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(l[(r=e)+o]===p&&l[r+o-1]===d&&l[r]===l[i]&&l[++r]===l[i+1]){i+=2,r++;do{}while(l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&l[++i]===l[++r]&&i<h);if(n=258-(h-i),i=h-258,n>o){if(t.match_start=e,o=n,n>=s)break;d=l[i+o-1],p=l[i+o]}}}while((e=c[e&f])>u&&0!=--a);return o<=t.lookahead?o:t.lookahead}function Mi(t){var e,r,n,a,i,o,s,u,l,f,c=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-262)){yi.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=c?n-c:0}while(--r);e=r=c;do{n=t.prev[--e],t.prev[e]=n>=c?n-c:0}while(--r);a+=c}if(0===t.strm.avail_in)break;if(o=t.strm,s=t.window,u=t.strstart+t.lookahead,l=a,f=void 0,(f=o.avail_in)>l&&(f=l),r=0===f?0:(o.avail_in-=f,yi.arraySet(s,o.input,o.next_in,f,u),1===o.state.wrap?o.adler=_i(o.adler,s,f,u):2===o.state.wrap&&(o.adler=ki(o.adler,s,f,u)),o.next_in+=f,o.total_in+=f,f),t.lookahead+=r,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=(t.ins_h<<t.hash_shift^t.window[i+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[i+3-1])&t.hash_mask,t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function Li(t,e){for(var r,n;;){if(t.lookahead<262){if(Mi(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=Pi(t,r)),t.match_length>=3)if(n=wi._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,r=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 n=wi._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ri(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Ri(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ri(t,!1),0===t.strm.avail_out)?1:2}function Ii(t,e){for(var r,n,a;;){if(t.lookahead<262){if(Mi(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=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!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=Pi(t,r),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){a=t.strstart+t.lookahead-3,n=wi._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<=a&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=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++,n&&(Ri(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=wi._tr_tally(t,0,t.window[t.strstart-1]))&&Ri(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&&(n=wi._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Ri(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ri(t,!1),0===t.strm.avail_out)?1:2}function Bi(t,e,r,n,a){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=a}function Di(){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 yi.Buf16(1146),this.dyn_dtree=new yi.Buf16(122),this.bl_tree=new yi.Buf16(78),Ci(this.dyn_ltree),Ci(this.dyn_dtree),Ci(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new yi.Buf16(16),this.heap=new yi.Buf16(573),Ci(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new yi.Buf16(573),Ci(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 zi(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,wi._tr_init(e),0):Si(t,-2)}function ji(t){var e,r=zi(t);return 0===r&&((e=t.state).window_size=2*e.w_size,Ci(e.head),e.max_lazy_match=bi[e.level].max_lazy,e.good_match=bi[e.level].good_length,e.nice_match=bi[e.level].nice_length,e.max_chain_length=bi[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),r}function Fi(t,e,r,n,a,i){if(!t)return-2;var o=1;if(-1===e&&(e=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),a<1||a>9||8!==r||n<8||n>15||e<0||e>9||i<0||i>4)return Si(t,-2);8===n&&(n=9);var s=new Di;return t.state=s,s.strm=t,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=a+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new yi.Buf8(2*s.w_size),s.head=new yi.Buf16(s.hash_size),s.prev=new yi.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new yi.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=i,s.method=r,ji(t)}bi=[new Bi(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Mi(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Ri(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(Ri(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ri(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ri(t,!1),t.strm.avail_out),1)})),new Bi(4,4,8,4,Li),new Bi(4,5,16,8,Li),new Bi(4,6,32,32,Li),new Bi(4,4,16,16,Ii),new Bi(8,16,32,32,Ii),new Bi(8,16,128,128,Ii),new Bi(8,32,128,256,Ii),new Bi(32,128,258,1024,Ii),new Bi(32,258,258,4096,Ii)],La.deflateInit=function(t,e){return Fi(t,e,8,15,8,0)},La.deflateInit2=Fi,La.deflateReset=ji,La.deflateResetKeep=zi,La.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},La.deflate=function(t,e){var r,n,a,i;if(!t||!t.state||e>5||e<0)return t?Si(t,-2):-2;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||666===n.status&&4!==e)return Si(t,0===t.avail_out?-5:-2);if(n.strm=t,r=n.last_flush,n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,Oi(n,31),Oi(n,139),Oi(n,8),n.gzhead?(Oi(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Oi(n,255&n.gzhead.time),Oi(n,n.gzhead.time>>8&255),Oi(n,n.gzhead.time>>16&255),Oi(n,n.gzhead.time>>24&255),Oi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Oi(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Oi(n,255&n.gzhead.extra.length),Oi(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=ki(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Oi(n,0),Oi(n,0),Oi(n,0),Oi(n,0),Oi(n,0),Oi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Oi(n,3),n.status=113);else{var o=8+(n.w_bits-8<<4)<<8;o|=(n.strategy>=2||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(o|=32),o+=31-o%31,n.status=113,Ti(n,o),0!==n.strstart&&(Ti(n,t.adler>>>16),Ti(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),Ei(t),a=n.pending,n.pending!==n.pending_buf_size));)Oi(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),Ei(t),a=n.pending,n.pending===n.pending_buf_size)){i=1;break}i=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,Oi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),Ei(t),a=n.pending,n.pending===n.pending_buf_size)){i=1;break}i=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,Oi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=ki(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ei(t),n.pending+2<=n.pending_buf_size&&(Oi(n,255&t.adler),Oi(n,t.adler>>8&255),t.adler=0,n.status=113)):n.status=113),0!==n.pending){if(Ei(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&Ai(e)<=Ai(r)&&4!==e)return Si(t,-5);if(666===n.status&&0!==t.avail_in)return Si(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(Mi(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=wi._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(Ri(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ri(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ri(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,i,o=t.window;;){if(t.lookahead<=258){if(Mi(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=o[a=t.strstart-1])===o[++a]&&n===o[++a]&&n===o[++a]){i=t.strstart+258;do{}while(n===o[++a]&&n===o[++a]&&n===o[++a]&&n===o[++a]&&n===o[++a]&&n===o[++a]&&n===o[++a]&&n===o[++a]&&a<i);t.match_length=258-(i-a),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=wi._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=wi._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(Ri(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ri(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ri(t,!1),0===t.strm.avail_out)?1:2}(n,e):bi[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===e?wi._tr_align(n):5!==e&&(wi._tr_stored_block(n,0,0,!1),3===e&&(Ci(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ei(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:(2===n.wrap?(Oi(n,255&t.adler),Oi(n,t.adler>>8&255),Oi(n,t.adler>>16&255),Oi(n,t.adler>>24&255),Oi(n,255&t.total_in),Oi(n,t.total_in>>8&255),Oi(n,t.total_in>>16&255),Oi(n,t.total_in>>24&255)):(Ti(n,t.adler>>>16),Ti(n,65535&t.adler)),Ei(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},La.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?Si(t,-2):(t.state=null,113===e?Si(t,-3):0):-2},La.deflateSetDictionary=function(t,e){var r,n,a,i,o,s,u,l,f=e.length;if(!t||!t.state)return-2;if(2===(i=(r=t.state).wrap)||1===i&&42!==r.status||r.lookahead)return-2;for(1===i&&(t.adler=_i(t.adler,e,f,0)),r.wrap=0,f>=r.w_size&&(0===i&&(Ci(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new yi.Buf8(r.w_size),yi.arraySet(l,e,f-r.w_size,r.w_size,0),e=l,f=r.w_size),o=t.avail_in,s=t.next_in,u=t.input,t.avail_in=f,t.next_in=0,t.input=e,Mi(r);r.lookahead>=3;){n=r.strstart,a=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--a);r.strstart=n,r.lookahead=2,Mi(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=s,t.input=u,t.avail_in=o,r.wrap=i,0},La.deflateInfo="pako deflate (from Nodeca project)";var Ni={},Ui=Pa,Hi=!0,Wi=!0;try{String.fromCharCode.apply(null,[0])}catch(t){Hi=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Wi=!1}for(var Zi=new Ui.Buf8(256),qi=0;qi<256;qi++)Zi[qi]=qi>=252?6:qi>=248?5:qi>=240?4:qi>=224?3:qi>=192?2:1;function Yi(t,e){if(e<65534&&(t.subarray&&Wi||!t.subarray&&Hi))return String.fromCharCode.apply(null,Ui.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}Zi[254]=Zi[254]=1,Ni.string2buf=function(t){var e,r,n,a,i,o=t.length,s=0;for(a=0;a<o;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),s+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Ui.Buf8(s),i=0,a=0;i<s;a++)55296==(64512&(r=t.charCodeAt(a)))&&a+1<o&&56320==(64512&(n=t.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?e[i++]=r:r<2048?(e[i++]=192|r>>>6,e[i++]=128|63&r):r<65536?(e[i++]=224|r>>>12,e[i++]=128|r>>>6&63,e[i++]=128|63&r):(e[i++]=240|r>>>18,e[i++]=128|r>>>12&63,e[i++]=128|r>>>6&63,e[i++]=128|63&r);return e},Ni.buf2binstring=function(t){return Yi(t,t.length)},Ni.binstring2buf=function(t){for(var e=new Ui.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},Ni.buf2string=function(t,e){var r,n,a,i,o=e||t.length,s=new Array(2*o);for(n=0,r=0;r<o;)if((a=t[r++])<128)s[n++]=a;else if((i=Zi[a])>4)s[n++]=65533,r+=i-1;else{for(a&=2===i?31:3===i?15:7;i>1&&r<o;)a=a<<6|63&t[r++],i--;i>1?s[n++]=65533:a<65536?s[n++]=a:(a-=65536,s[n++]=55296|a>>10&1023,s[n++]=56320|1023&a)}return Yi(s,n)},Ni.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+Zi[t[r]]>e?r:e};var Gi=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},Vi=La,Ki=Pa,Xi=Ni,$i=vi,Ji=Gi,Qi=Object.prototype.toString;function to(t){if(!(this instanceof to))return new to(t);this.options=Ki.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 Ji,this.strm.avail_out=0;var r=Vi.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error($i[r]);if(e.header&&Vi.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?Xi.string2buf(e.dictionary):"[object ArrayBuffer]"===Qi.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=Vi.deflateSetDictionary(this.strm,n)))throw new Error($i[r]);this._dict_set=!0}}function eo(t,e){var r=new to(e);if(r.push(t,!0),r.err)throw r.msg||$i[r.err];return r.result}to.prototype.push=function(t,e){var r,n,a=this.strm,i=this.options.chunkSize;if(this.ended)return!1;n=e===~~e?e:!0===e?4:0,"string"==typeof t?a.input=Xi.string2buf(t):"[object ArrayBuffer]"===Qi.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new Ki.Buf8(i),a.next_out=0,a.avail_out=i),1!==(r=Vi.deflate(a,n))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(Xi.buf2binstring(Ki.shrinkBuf(a.output,a.next_out))):this.onData(Ki.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===n?(r=Vi.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),a.avail_out=0,!0)},to.prototype.onData=function(t){this.chunks.push(t)},to.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ki.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},Ma.Deflate=to,Ma.deflate=eo,Ma.deflateRaw=function(t,e){return(e=e||{}).raw=!0,eo(t,e)},Ma.gzip=function(t,e){return(e=e||{}).gzip=!0,eo(t,e)};var ro={},no={},ao=Pa,io=[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],oo=[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],so=[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],uo=[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],lo=Pa,fo=pi,co=mi,ho=function(t,e){var r,n,a,i,o,s,u,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C;r=t.state,n=t.next_in,A=t.input,a=n+(t.avail_in-5),i=t.next_out,C=t.output,o=i-(e-t.avail_out),s=i+(t.avail_out-257),u=r.dmax,l=r.wsize,f=r.whave,c=r.wnext,h=r.window,d=r.hold,p=r.bits,g=r.lencode,b=r.distcode,m=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;t:do{p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),y=g[d&m];e:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))C[i++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(d&(1<<w)-1)];continue e}if(32&w){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}_=65535&y,(w&=15)&&(p<w&&(d+=A[n++]<<p,p+=8),_+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=A[n++]<<p,p+=8,d+=A[n++]<<p,p+=8),y=b[d&v];r:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=b[(65535&y)+(d&(1<<w)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(k=65535&y,p<(w&=15)&&(d+=A[n++]<<p,(p+=8)<w&&(d+=A[n++]<<p,p+=8)),(k+=d&(1<<w)-1)>u){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=w,p-=w,k>(w=i-o)){if((w=k-w)>f&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(x=0,S=h,0===c){if(x+=l-w,w<_){_-=w;do{C[i++]=h[x++]}while(--w);x=i-k,S=C}}else if(c<w){if(x+=l+c-w,(w-=c)<_){_-=w;do{C[i++]=h[x++]}while(--w);if(x=0,c<_){_-=w=c;do{C[i++]=h[x++]}while(--w);x=i-k,S=C}}}else if(x+=c-w,w<_){_-=w;do{C[i++]=h[x++]}while(--w);x=i-k,S=C}for(;_>2;)C[i++]=S[x++],C[i++]=S[x++],C[i++]=S[x++],_-=3;_&&(C[i++]=S[x++],_>1&&(C[i++]=S[x++]))}else{x=i-k;do{C[i++]=C[x++],C[i++]=C[x++],C[i++]=C[x++],_-=3}while(_>2);_&&(C[i++]=C[x++],_>1&&(C[i++]=C[x++]))}break}}break}}while(n<a&&i<s);n-=_=p>>3,d&=(1<<(p-=_<<3))-1,t.next_in=n,t.next_out=i,t.avail_in=n<a?a-n+5:5-(n-a),t.avail_out=i<s?s-i+257:257-(i-s),r.hold=d,r.bits=p},po=function(t,e,r,n,a,i,o,s){var u,l,f,c,h,d,p,g,b,m=s.bits,v=0,y=0,w=0,_=0,k=0,x=0,S=0,A=0,C=0,E=0,R=null,O=0,T=new ao.Buf16(16),P=new ao.Buf16(16),M=null,L=0;for(v=0;v<=15;v++)T[v]=0;for(y=0;y<n;y++)T[e[r+y]]++;for(k=m,_=15;_>=1&&0===T[_];_--);if(k>_&&(k=_),0===_)return a[i++]=20971520,a[i++]=20971520,s.bits=1,0;for(w=1;w<_&&0===T[w];w++);for(k<w&&(k=w),A=1,v=1;v<=15;v++)if(A<<=1,(A-=T[v])<0)return-1;if(A>0&&(0===t||1!==_))return-1;for(P[1]=0,v=1;v<15;v++)P[v+1]=P[v]+T[v];for(y=0;y<n;y++)0!==e[r+y]&&(o[P[e[r+y]]++]=y);if(0===t?(R=M=o,d=19):1===t?(R=io,O-=257,M=oo,L-=257,d=256):(R=so,M=uo,d=-1),E=0,y=0,v=w,h=i,x=k,S=0,f=-1,c=(C=1<<k)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){p=v-S,o[y]<d?(g=0,b=o[y]):o[y]>d?(g=M[L+o[y]],b=R[O+o[y]]):(g=96,b=0),u=1<<v-S,w=l=1<<x;do{a[h+(E>>S)+(l-=u)]=p<<24|g<<16|b|0}while(0!==l);for(u=1<<v-1;E&u;)u>>=1;if(0!==u?(E&=u-1,E+=u):E=0,y++,0==--T[v]){if(v===_)break;v=e[r+o[y]]}if(v>k&&(E&c)!==f){for(0===S&&(S=k),h+=w,A=1<<(x=v-S);x+S<_&&!((A-=T[x+S])<=0);)x++,A<<=1;if(C+=1<<x,1===t&&C>852||2===t&&C>592)return 1;a[f=E&c]=k<<24|x<<16|h-i|0}}return 0!==E&&(a[h+E]=v-S<<24|64<<16|0),s.bits=k,0};function go(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function bo(){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 lo.Buf16(320),this.work=new lo.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function mo(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 lo.Buf32(852),e.distcode=e.distdyn=new lo.Buf32(592),e.sane=1,e.back=-1,0):-2}function vo(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,mo(t)):-2}function yo(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,vo(t))):-2}function wo(t,e){var r,n;return t?(n=new bo,t.state=n,n.window=null,0!==(r=yo(t,e))&&(t.state=null),r):-2}var _o,ko,xo=!0;function So(t){if(xo){var e;for(_o=new lo.Buf32(512),ko=new lo.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(po(1,t.lens,0,288,_o,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;po(2,t.lens,0,32,ko,0,t.work,{bits:5}),xo=!1}t.lencode=_o,t.lenbits=9,t.distcode=ko,t.distbits=5}function Ao(t,e,r,n){var a,i=t.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new lo.Buf8(i.wsize)),n>=i.wsize?(lo.arraySet(i.window,e,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((a=i.wsize-i.wnext)>n&&(a=n),lo.arraySet(i.window,e,r-n,a,i.wnext),(n-=a)?(lo.arraySet(i.window,e,r-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=a))),0}no.inflateReset=vo,no.inflateReset2=yo,no.inflateResetKeep=mo,no.inflateInit=function(t){return wo(t,15)},no.inflateInit2=wo,no.inflate=function(t,e){var r,n,a,i,o,s,u,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C=0,E=new lo.Buf8(4),R=[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===(r=t.state).mode&&(r.mode=13),o=t.next_out,a=t.output,u=t.avail_out,i=t.next_in,n=t.input,s=t.avail_in,l=r.hold,f=r.bits,c=s,h=u,x=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;f<16;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(2&r.wrap&&35615===l){r.check=0,E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0),l=0,f=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&l)<<8)+(l>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&l)){t.msg="unknown compression method",r.mode=30;break}if(f-=4,k=8+(15&(l>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<k,t.adler=r.check=1,r.mode=512&l?10:12,l=0,f=0;break;case 2:for(;f<16;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(r.flags=l,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0,r.mode=3;case 3:for(;f<32;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.head&&(r.head.time=l),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,E[2]=l>>>16&255,E[3]=l>>>24&255,r.check=co(r.check,E,4,0)),l=0,f=0,r.mode=4;case 4:for(;f<16;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.head&&(r.head.xflags=255&l,r.head.os=l>>8),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0,r.mode=5;case 5:if(1024&r.flags){for(;f<16;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.length=l,r.head&&(r.head.extra_len=l),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=co(r.check,E,2,0)),l=0,f=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((d=r.length)>s&&(d=s),d&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),lo.arraySet(r.head.extra,n,i,d,k)),512&r.flags&&(r.check=co(r.check,n,d,i)),s-=d,i+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;d=0;do{k=n[i+d++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k))}while(k&&d<s);if(512&r.flags&&(r.check=co(r.check,n,d,i)),s-=d,i+=d,k)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break t;d=0;do{k=n[i+d++],r.head&&k&&r.length<65536&&(r.head.comment+=String.fromCharCode(k))}while(k&&d<s);if(512&r.flags&&(r.check=co(r.check,n,d,i)),s-=d,i+=d,k)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;f<16;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(l!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}l=0,f=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;f<32;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}t.adler=r.check=go(l),l=0,f=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=o,t.avail_out=u,t.next_in=i,t.avail_in=s,r.hold=l,r.bits=f,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){l>>>=7&f,f-=7&f,r.mode=27;break}for(;f<3;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}switch(r.last=1&l,f-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(So(r),r.mode=20,6===e){l>>>=2,f-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}l>>>=2,f-=2;break;case 14:for(l>>>=7&f,f-=7&f;f<32;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if((65535&l)!=(l>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&l,l=0,f=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break t;lo.arraySet(a,n,i,d,o),s-=d,i+=d,u-=d,o+=d,r.length-=d;break}r.mode=12;break;case 17:for(;f<14;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(r.nlen=257+(31&l),l>>>=5,f-=5,r.ndist=1+(31&l),l>>>=5,f-=5,r.ncode=4+(15&l),l>>>=4,f-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;f<3;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.lens[R[r.have++]]=7&l,l>>>=3,f-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=po(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;m=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(v<16)l>>>=b,f-=b,r.lens[r.have++]=v;else{if(16===v){for(A=b+2;f<A;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(l>>>=b,f-=b,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&l),l>>>=2,f-=2}else if(17===v){for(A=b+3;f<A;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}f-=b,k=0,d=3+(7&(l>>>=b)),l>>>=3,f-=3}else{for(A=b+7;f<A;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}f-=b,k=0,d=11+(127&(l>>>=b)),l>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=po(1,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=po(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(s>=6&&u>=258){t.next_out=o,t.avail_out=u,t.next_in=i,t.avail_in=s,r.hold=l,r.bits=f,ho(t,h),o=t.next_out,a=t.output,u=t.avail_out,i=t.next_in,n=t.input,s=t.avail_in,l=r.hold,f=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;m=(C=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(m&&0==(240&m)){for(y=b,w=m,_=v;m=(C=r.lencode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&C,!(y+(b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=b,f-=b,r.back+=b,r.length=v,0===m){r.mode=26;break}if(32&m){r.back=-1,r.mode=12;break}if(64&m){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&m,r.mode=22;case 22:if(r.extra){for(A=r.extra;f<A;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;m=(C=r.distcode[l&(1<<r.distbits)-1])>>>16&255,v=65535&C,!((b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(0==(240&m)){for(y=b,w=m,_=v;m=(C=r.distcode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&C,!(y+(b=C>>>24)<=f);){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}l>>>=y,f-=y,r.back+=y}if(l>>>=b,f-=b,r.back+=b,64&m){t.msg="invalid distance code",r.mode=30;break}r.offset=v,r.extra=15&m,r.mode=24;case 24:if(r.extra){for(A=r.extra;f<A;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===u)break t;if(d=h-u,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}d>r.wnext?(d-=r.wnext,p=r.wsize-d):p=r.wnext-d,d>r.length&&(d=r.length),g=r.window}else g=a,p=o-r.offset,d=r.length;d>u&&(d=u),u-=d,r.length-=d;do{a[o++]=g[p++]}while(--d);0===r.length&&(r.mode=21);break;case 26:if(0===u)break t;a[o++]=r.length,u--,r.mode=21;break;case 27:if(r.wrap){for(;f<32;){if(0===s)break t;s--,l|=n[i++]<<f,f+=8}if(h-=u,t.total_out+=h,r.total+=h,h&&(t.adler=r.check=r.flags?co(r.check,a,h,o-h):fo(r.check,a,h,o-h)),h=u,(r.flags?l:go(l))!==r.check){t.msg="incorrect data check",r.mode=30;break}l=0,f=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;f<32;){if(0===s)break t;s--,l+=n[i++]<<f,f+=8}if(l!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}l=0,f=0}r.mode=29;case 29:x=1;break t;case 30:x=-3;break t;case 31:return-4;default:return-2}return t.next_out=o,t.avail_out=u,t.next_in=i,t.avail_in=s,r.hold=l,r.bits=f,(r.wsize||h!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&Ao(t,t.output,t.next_out,h-t.avail_out),c-=t.avail_in,h-=t.avail_out,t.total_in+=c,t.total_out+=h,r.total+=h,r.wrap&&h&&(t.adler=r.check=r.flags?co(r.check,a,h,t.next_out-h):fo(r.check,a,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===c&&0===h||4===e)&&0===x&&(x=-5),x},no.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},no.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:(r.head=e,e.done=!1,0):-2},no.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&fo(1,e,n,0)!==r.check?-3:Ao(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},no.inflateInfo="pako inflate (from Nodeca project)";var Co={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};var Eo=no,Ro=Pa,Oo=Ni,To=Co,Po=vi,Mo=Gi,Lo=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},Io=Object.prototype.toString;function Bo(t){if(!(this instanceof Bo))return new Bo(t);this.options=Ro.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 Mo,this.strm.avail_out=0;var r=Eo.inflateInit2(this.strm,e.windowBits);if(r!==To.Z_OK)throw new Error(Po[r]);if(this.header=new Lo,Eo.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Oo.string2buf(e.dictionary):"[object ArrayBuffer]"===Io.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Eo.inflateSetDictionary(this.strm,e.dictionary))!==To.Z_OK))throw new Error(Po[r])}function Do(t,e){var r=new Bo(e);if(r.push(t,!0),r.err)throw r.msg||Po[r.err];return r.result}Bo.prototype.push=function(t,e){var r,n,a,i,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,f=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?To.Z_FINISH:To.Z_NO_FLUSH,"string"==typeof t?s.input=Oo.binstring2buf(t):"[object ArrayBuffer]"===Io.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 Ro.Buf8(u),s.next_out=0,s.avail_out=u),(r=Eo.inflate(s,To.Z_NO_FLUSH))===To.Z_NEED_DICT&&l&&(r=Eo.inflateSetDictionary(this.strm,l)),r===To.Z_BUF_ERROR&&!0===f&&(r=To.Z_OK,f=!1),r!==To.Z_STREAM_END&&r!==To.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==To.Z_STREAM_END&&(0!==s.avail_in||n!==To.Z_FINISH&&n!==To.Z_SYNC_FLUSH)||("string"===this.options.to?(a=Oo.utf8border(s.output,s.next_out),i=s.next_out-a,o=Oo.buf2string(s.output,a),s.next_out=i,s.avail_out=u-i,i&&Ro.arraySet(s.output,s.output,a,i,0),this.onData(o)):this.onData(Ro.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(f=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==To.Z_STREAM_END);return r===To.Z_STREAM_END&&(n=To.Z_FINISH),n===To.Z_FINISH?(r=Eo.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===To.Z_OK):n!==To.Z_SYNC_FLUSH||(this.onEnd(To.Z_OK),s.avail_out=0,!0)},Bo.prototype.onData=function(t){this.chunks.push(t)},Bo.prototype.onEnd=function(t){t===To.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ro.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},ro.Inflate=Bo,ro.inflate=Do,ro.inflateRaw=function(t,e){return(e=e||{}).raw=!0,Do(t,e)},ro.ungzip=Do;var zo={};(0,Pa.assign)(zo,Ma,ro,Co);var jo="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,Fo=zo,No=Ln(),Uo=Bn,Ho=jo?"uint8array":"array";function Wo(t,e){Uo.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}Ta.magic="\b\0",No.inherits(Wo,Uo),Wo.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(No.transformTo(Ho,t.data),!1)},Wo.prototype.flush=function(){Uo.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},Wo.prototype.cleanUp=function(){Uo.prototype.cleanUp.call(this),this._pako=null},Wo.prototype._createPako=function(){this._pako=new Fo[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},Ta.compressWorker=function(t){return new Wo("Deflate",t)},Ta.uncompressWorker=function(){return new Wo("Inflate",{})};var Zo=Bn;Oa.STORE={magic:"\0\0",compressWorker:function(){return new Zo("STORE compression")},uncompressWorker:function(){return new Zo("STORE decompression")}},Oa.DEFLATE=Ta;var qo={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"},Yo=Ln(),Go=Bn,Vo=l,Ko=aa,Xo=qo,$o=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},Jo=function(t,e,r,n,a,i){var o,s,u=t.file,l=t.compression,f=i!==Vo.utf8encode,c=Yo.transformTo("string",i(u.name)),h=Yo.transformTo("string",Vo.utf8encode(u.name)),d=u.comment,p=Yo.transformTo("string",i(d)),g=Yo.transformTo("string",Vo.utf8encode(d)),b=h.length!==u.name.length,m=g.length!==d.length,v="",y="",w="",_=u.dir,k=u.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(x.crc32=t.crc32,x.compressedSize=t.compressedSize,x.uncompressedSize=t.uncompressedSize);var S=0;e&&(S|=8),f||!b&&!m||(S|=2048);var A,C,E,R=0,O=0;_&&(R|=16),"UNIX"===a?(O=798,R|=(A=u.unixPermissions,C=_,E=A,A||(E=C?16893:33204),(65535&E)<<16)):(O=20,R|=63&(u.dosPermissions||0)),o=k.getUTCHours(),o<<=6,o|=k.getUTCMinutes(),o<<=5,o|=k.getUTCSeconds()/2,s=k.getUTCFullYear()-1980,s<<=4,s|=k.getUTCMonth()+1,s<<=5,s|=k.getUTCDate(),b&&(y=$o(1,1)+$o(Ko(c),4)+h,v+="up"+$o(y.length,2)+y),m&&(w=$o(1,1)+$o(Ko(p),4)+g,v+="uc"+$o(w.length,2)+w);var T="";return T+="\n\0",T+=$o(S,2),T+=l.magic,T+=$o(o,2),T+=$o(s,2),T+=$o(x.crc32,4),T+=$o(x.compressedSize,4),T+=$o(x.uncompressedSize,4),T+=$o(c.length,2),T+=$o(v.length,2),{fileRecord:Xo.LOCAL_FILE_HEADER+T+c+v,dirRecord:Xo.CENTRAL_FILE_HEADER+$o(O,2)+T+$o(p.length,2)+"\0\0\0\0"+$o(R,4)+$o(n,4)+c+v+p}},Qo=function(t){return Xo.DATA_DESCRIPTOR+$o(t.crc32,4)+$o(t.compressedSize,4)+$o(t.uncompressedSize,4)};function ts(t,e,r,n){Go.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Yo.inherits(ts,Go),ts.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,Go.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},ts.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=Jo(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ts.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=Jo(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:Qo(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},ts.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,n=function(t,e,r,n,a){var i=Yo.transformTo("string",a(n));return Xo.CENTRAL_DIRECTORY_END+"\0\0\0\0"+$o(t,2)+$o(t,2)+$o(e,4)+$o(r,4)+$o(i.length,2)+i}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ts.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ts.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},ts.prototype.resume=function(){return!!Go.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ts.prototype.error=function(t){var e=this._sources;if(!Go.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},ts.prototype.lock=function(){Go.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()};var es=Oa,rs=ts;Ra.generateWorker=function(t,e,r){var n=new rs(e.streamFiles,r,e.platform,e.encodeFileName),a=0;try{t.forEach((function(t,r){a++;var i=function(t,e){var r=t||e,n=es[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,e.compression),o=r.options.compressionOptions||e.compressionOptions||{},s=r.dir,u=r.date;r._compressWorker(i,o).withStreamInfo("file",{name:t,dir:s,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=a}catch(t){n.error(t)}return n};var ns=Ln(),as=Bn;function is(t,e){as.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}ns.inherits(is,as),is.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},is.prototype.pause=function(){return!!as.prototype.pause.call(this)&&(this._stream.pause(),!0)},is.prototype.resume=function(){return!!as.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var os=is,ss=l,us=Ln(),ls=Bn,fs=Xn,cs=$n,hs=ma,ds=Ea,ps=Ra,gs=On,bs=os,ms=function(t,e,r){var n,a=us.getTypeOf(e),i=us.extend(r||{},cs);i.date=i.date||new Date,null!==i.compression&&(i.compression=i.compression.toUpperCase()),"string"==typeof i.unixPermissions&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(t=ys(t)),i.createFolders&&(n=vs(t))&&ws.call(this,n,!0);var o="string"===a&&!1===i.binary&&!1===i.base64;r&&void 0!==r.binary||(i.binary=!o),(e instanceof hs&&0===e.uncompressedSize||i.dir||!e||0===e.length)&&(i.base64=!1,i.binary=!0,e="",i.compression="STORE",a="string");var s=null;s=e instanceof hs||e instanceof ls?e:gs.isNode&&gs.isStream(e)?new bs(t,e):us.prepareContent(t,e,i.binary,i.optimizedBinaryString,i.base64);var u=new ds(t,s,i);this.files[t]=u},vs=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},ys=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},ws=function(t,e){return e=void 0!==e?e:cs.createFolders,t=ys(t),this.files[t]||ms.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function _s(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var ks={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n)},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(_s(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var a=this.files[this.root+t];return a&&!a.dir?a:null}return t=this.root+t,ms.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(_s(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=ws.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=us.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:ss.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");us.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";e=ps.generateWorker(this,r,n)}catch(t){(e=new ls("error")).error(t)}return new fs(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}},xs=ks,Ss=Ln();function As(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}As.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return Ss.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}};var Cs=As,Es=Cs;function Rs(t){Es.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}Ln().inherits(Rs,Es),Rs.prototype.byteAt=function(t){return this.data[this.zero+t]},Rs.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),a=t.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===e&&this.data[i+1]===r&&this.data[i+2]===n&&this.data[i+3]===a)return i-this.zero;return-1},Rs.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),a=t.charCodeAt(3),i=this.readData(4);return e===i[0]&&r===i[1]&&n===i[2]&&a===i[3]},Rs.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Os=Rs,Ts=Cs;function Ps(t){Ts.call(this,t)}Ln().inherits(Ps,Ts),Ps.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},Ps.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},Ps.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},Ps.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Ms=Ps,Ls=Os;function Is(t){Ls.call(this,t)}Ln().inherits(Is,Ls),Is.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var Bs=Is,Ds=Bs;function zs(t){Ds.call(this,t)}Ln().inherits(zs,Ds),zs.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e};var js=zs,Fs=Ln(),Ns=ct,Us=Os,Hs=Ms,Ws=js,Zs=Bs,qs=function(t){var e=Fs.getTypeOf(t);return Fs.checkSupport(e),"string"!==e||Ns.uint8array?"nodebuffer"===e?new Ws(t):Ns.uint8array?new Zs(Fs.transformTo("uint8array",t)):new Us(Fs.transformTo("array",t)):new Hs(t)},Ys=qs,Gs=Ln(),Vs=ma,Ks=aa,Xs=l,$s=Oa,Js=ct;function Qs(t,e){this.options=t,this.loadOptions=e}Qs.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(e=function(t){for(var e in $s)if(Object.prototype.hasOwnProperty.call($s,e)&&$s[e].magic===t)return $s[e];return null}(this.compressionMethod),null===e)throw new Error("Corrupted zip : compression "+Gs.pretty(this.compressionMethod)+" unknown (inner file : "+Gs.transformTo("string",this.fileName)+")");this.decompressed=new Vs(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=Ys(this.extraFields[1].value);this.uncompressedSize===Gs.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===Gs.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===Gs.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===Gs.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<a;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(a)},handleUTF8:function(){var t=Js.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=Xs.utf8decode(this.fileName),this.fileCommentStr=Xs.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=Gs.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=Gs.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=Ys(t.value);return 1!==e.readInt(1)||Ks(this.fileName)!==e.readInt(4)?null:Xs.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=Ys(t.value);return 1!==e.readInt(1)||Ks(this.fileComment)!==e.readInt(4)?null:Xs.utf8decode(e.readData(t.length-5))}return null}};var tu=Qs,eu=qs,ru=Ln(),nu=qo,au=tu,iu=ct;function ou(t){this.files=[],this.loadOptions=t}ou.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+ru.pretty(e)+", expected "+ru.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=iu.uint8array?"uint8array":"array",r=ru.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(nu.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(nu.CENTRAL_FILE_HEADER);)(t=new au({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(nu.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,nu.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(t);var e=t;if(this.checkSignature(nu.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===ru.MAX_VALUE_16BITS||this.diskWithCentralDirStart===ru.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===ru.MAX_VALUE_16BITS||this.centralDirRecords===ru.MAX_VALUE_16BITS||this.centralDirSize===ru.MAX_VALUE_32BITS||this.centralDirOffset===ru.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(nu.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(nu.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,nu.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(nu.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(nu.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,nu.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=eu(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var su=ou,uu=Ln(),lu=Mn,fu=l,cu=su,hu=ua,du=On;function pu(t){return new lu.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new hu);n.on("error",(function(t){r(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}function gu(){if(!(this instanceof gu))return new gu;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new gu;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}gu.prototype=xs,gu.prototype.loadAsync=function(t,e){var r=this;return e=uu.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:fu.utf8decode}),du.isNode&&du.isStream(t)?lu.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):uu.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new cu(e);return r.load(t),r})).then((function(t){var r=[lu.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var a=0;a<n.length;a++)r.push(pu(n[a]));return lu.Promise.all(r)})).then((function(t){for(var n=t.shift(),a=n.files,i=0;i<a.length;i++){var o=a[i],s=o.fileNameStr,u=uu.resolve(o.fileNameStr);r.file(u,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders}),o.dir||(r.file(u).unsafeOriginalName=s)}return n.zipComment.length&&(r.comment=n.zipComment),r}))},gu.support=ct,gu.defaults=$n,gu.version="3.10.1",gu.loadAsync=function(t,e){return(new gu).loadAsync(t,e)},gu.external=Mn;var bu=gu;function mu(t){return mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mu(t)}function vu(t,e){var r=(e=e||{}).pos||0,n=!!e.keepComments,a=!!e.keepWhitespace,i="<".charCodeAt(0),o=">".charCodeAt(0),s="-".charCodeAt(0),u="/".charCodeAt(0),l="!".charCodeAt(0),f="'".charCodeAt(0),c='"'.charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0);function p(e){for(var f=[];t[r];)if(t.charCodeAt(r)==i){if(t.charCodeAt(r+1)===u){var c=r+2;if(r=t.indexOf(">",r),-1==t.substring(c,r).indexOf(e)){var p=t.substring(0,r).split("\n");throw new Error("Unexpected close tag\nLine: "+(p.length-1)+"\nColumn: "+(p[p.length-1].length+1)+"\nChar: "+t[r])}return r+1&&(r+=1),f}if(t.charCodeAt(r+1)===l){if(t.charCodeAt(r+2)==s){const e=r;for(;-1!==r&&(t.charCodeAt(r)!==o||t.charCodeAt(r-1)!=s||t.charCodeAt(r-2)!=s||-1==r);)r=t.indexOf(">",r+1);-1===r&&(r=t.length),n&&f.push(t.substring(e,r+1))}else{if(t.charCodeAt(r+2)===h&&t.charCodeAt(r+8)===h&&"cdata"===t.substr(r+3,5).toLowerCase()){var b=t.indexOf("]]>",r);-1==b?(f.push(t.substr(r+9)),r=t.length):(f.push(t.substring(r+9,b)),r=b+3);continue}{const e=r+1;r+=2;for(var m=!1;(t.charCodeAt(r)!==o||!0===m)&&t[r];)t.charCodeAt(r)===h?m=!0:!0===m&&t.charCodeAt(r)===d&&(m=!1),r++;f.push(t.substring(e,r))}}r++;continue}var y=v();f.push(y),"?"===y.tagName[0]&&(f.push(...y.children),y.children=[])}else{var w=g();if(a)w.length>0&&f.push(w);else{var _=w.trim();_.length>0&&f.push(_)}r++}return f}function g(){var e=r;return-2===(r=t.indexOf("<",r)-1)&&(r=t.length),t.slice(e,r+1)}function b(){for(var e=r;-1==="\r\n\t>/= ".indexOf(t[r])&&t[r];)r++;return t.slice(e,r)}var m=e.noChildNodes||["img","br","input","meta","link","hr"];function v(){r++;const e=b(),n={};let a=[];for(;t.charCodeAt(r)!==o&&t[r];){var i=t.charCodeAt(r);if(i>64&&i<91||i>96&&i<123){for(var s=b(),l=t.charCodeAt(r);l&&l!==f&&l!==c&&!(l>64&&l<91||l>96&&l<123)&&l!==o;)r++,l=t.charCodeAt(r);if(l===f||l===c){var h=y();if(-1===r)return{tagName:e,attributes:n,children:a}}else h=null,r--;n[s]=h}r++}if(t.charCodeAt(r-1)!==u)if("script"==e){var d=r+1;r=t.indexOf("<\/script>",r),a=[t.slice(d,r)],r+=9}else if("style"==e){d=r+1;r=t.indexOf("</style>",r),a=[t.slice(d,r)],r+=8}else-1===m.indexOf(e)?(r++,a=p(e)):r++;else r++;return{tagName:e,attributes:n,children:a}}function y(){var e=t[r],n=r+1;return r=t.indexOf(e,n),t.slice(n,r)}var w,_=null;if(void 0!==e.attrValue){e.attrName=e.attrName||"id";for(_=[];-1!==(w=void 0,w=new RegExp("\\s"+e.attrName+"\\s*=['\"]"+e.attrValue+"['\"]").exec(t),r=w?w.index:-1);)-1!==(r=t.lastIndexOf("<",r))&&_.push(v()),t=t.substr(r),r=0}else _=e.parseNode?v():p("");return e.filter&&(_=wu(_,e.filter)),e.simplify?yu(Array.isArray(_)?_:[_]):(e.setPos&&(_.pos=r),_)}function yu(t){var e={};if(!t.length)return"";if(1===t.length&&"string"==typeof t[0])return t[0];for(var r in t.forEach((function(t){if("object"==typeof t){e[t.tagName]||(e[t.tagName]=[]);var r=yu(t.children);e[t.tagName].push(r),Object.keys(t.attributes).length&&"string"!=typeof r&&(r._attributes=t.attributes)}})),e)1==e[r].length&&(e[r]=e[r][0]);return e}function wu(t,e,r=0,n=""){var a=[];return t.forEach((function(t,i){if("object"==typeof t&&e(t,i,r,n)&&a.push(t),t.children){var o=wu(t.children,e,r+1,(n?n+".":"")+i+"."+t.tagName);a=a.concat(o)}})),a}function _u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return ku(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ku(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function ku(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Su(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?xu(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Au=0;function Cu(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={};if(!t.length)return r;if(1===t.length&&"string"==typeof t[0])return Object.keys(e).length?{attrs:Su({order:Au++},e),value:t[0]}:t[0];var n,a=_u(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if("object"!==mu(i))return;if("?xml"!==i.tagName){r[i.tagName]||(r[i.tagName]=[]);var o=Cu(i.children||[],i.attributes);"object"===mu(o)&&(o.attrs?o.attrs.order=Au++:o.attrs={order:Au++}),Object.keys(i.attributes||{}).length&&(o.attrs=Su(Su({},o.attrs),i.attributes)),r[i.tagName].push(o)}}}catch(t){a.e(t)}finally{a.f()}for(var s in r)1===r[s].length&&(r[s]=r[s][0]);return r}function Eu(t,e){return Ru.apply(this,arguments)}function Ru(){return(Ru=r(u.mark((function t(e,r){var n;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.file(r).async("string");case 3:return n=t.sent,t.abrupt("return",Cu(vu(n)));case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function Ou(t){return Ou="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ou(t)}var Tu=/^\s+/,Pu=/\s+$/;function Mu(t,e){if(e=e||{},(t=t||"")instanceof Mu)return t;if(!(this instanceof Mu))return new Mu(t,e);var r=function(t){var e={r:0,g:0,b:0},r=1,n=null,a=null,i=null,o=!1,s=!1;"string"==typeof t&&(t=function(t){t=t.replace(Tu,"").replace(Pu,"").toLowerCase();var e,r=!1;if(Ku[t])t=Ku[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=ul.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=ul.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=ul.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=ul.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=ul.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=ul.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=ul.hex8.exec(t))return{r:tl(e[1]),g:tl(e[2]),b:tl(e[3]),a:al(e[4]),format:r?"name":"hex8"};if(e=ul.hex6.exec(t))return{r:tl(e[1]),g:tl(e[2]),b:tl(e[3]),format:r?"name":"hex"};if(e=ul.hex4.exec(t))return{r:tl(e[1]+""+e[1]),g:tl(e[2]+""+e[2]),b:tl(e[3]+""+e[3]),a:al(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=ul.hex3.exec(t))return{r:tl(e[1]+""+e[1]),g:tl(e[2]+""+e[2]),b:tl(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==Ou(t)&&(ll(t.r)&&ll(t.g)&&ll(t.b)?(u=t.r,l=t.g,f=t.b,e={r:255*Ju(u,255),g:255*Ju(l,255),b:255*Ju(f,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):ll(t.h)&&ll(t.s)&&ll(t.v)?(n=rl(t.s),a=rl(t.v),e=function(t,e,r){t=6*Ju(t,360),e=Ju(e,100),r=Ju(r,100);var n=Math.floor(t),a=t-n,i=r*(1-e),o=r*(1-a*e),s=r*(1-(1-a)*e),u=n%6;return{r:255*[r,o,i,i,s,r][u],g:255*[s,r,r,o,i,i][u],b:255*[i,i,s,r,r,o][u]}}(t.h,n,a),o=!0,s="hsv"):ll(t.h)&&ll(t.s)&&ll(t.l)&&(n=rl(t.s),i=rl(t.l),e=function(t,e,r){var n,a,i;function o(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=Ju(t,360),e=Ju(e,100),r=Ju(r,100),0===e)n=a=i=r;else{var s=r<.5?r*(1+e):r+e-r*e,u=2*r-s;n=o(u,s,t+1/3),a=o(u,s,t),i=o(u,s,t-1/3)}return{r:255*n,g:255*a,b:255*i}}(t.h,n,i),o=!0,s="hsl"),t.hasOwnProperty("a")&&(r=t.a));var u,l,f;return r=$u(r),{ok:o,format:t.format||s,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}(t);this._originalInput=t,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||r.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function Lu(t,e,r){t=Ju(t,255),e=Ju(e,255),r=Ju(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=(i+o)/2;if(i==o)n=a=0;else{var u=i-o;switch(a=s>.5?u/(2-i-o):u/(i+o),i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,l:s}}function Iu(t,e,r){t=Ju(t,255),e=Ju(e,255),r=Ju(r,255);var n,a,i=Math.max(t,e,r),o=Math.min(t,e,r),s=i,u=i-o;if(a=0===i?0:u/i,i==o)n=0;else{switch(i){case t:n=(e-r)/u+(e<r?6:0);break;case e:n=(r-t)/u+2;break;case r:n=(t-e)/u+4}n/=6}return{h:n,s:a,v:s}}function Bu(t,e,r,n){var a=[el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Du(t,e,r,n){return[el(nl(n)),el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16))].join("")}function zu(t,e){e=0===e?0:e||10;var r=Mu(t).toHsl();return r.s-=e/100,r.s=Qu(r.s),Mu(r)}function ju(t,e){e=0===e?0:e||10;var r=Mu(t).toHsl();return r.s+=e/100,r.s=Qu(r.s),Mu(r)}function Fu(t){return Mu(t).desaturate(100)}function Nu(t,e){e=0===e?0:e||10;var r=Mu(t).toHsl();return r.l+=e/100,r.l=Qu(r.l),Mu(r)}function Uu(t,e){e=0===e?0:e||10;var r=Mu(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),Mu(r)}function Hu(t,e){e=0===e?0:e||10;var r=Mu(t).toHsl();return r.l-=e/100,r.l=Qu(r.l),Mu(r)}function Wu(t,e){var r=Mu(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,Mu(r)}function Zu(t){var e=Mu(t).toHsl();return e.h=(e.h+180)%360,Mu(e)}function qu(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Mu(t).toHsl(),n=[Mu(t)],a=360/e,i=1;i<e;i++)n.push(Mu({h:(r.h+i*a)%360,s:r.s,l:r.l}));return n}function Yu(t){var e=Mu(t).toHsl(),r=e.h;return[Mu(t),Mu({h:(r+72)%360,s:e.s,l:e.l}),Mu({h:(r+216)%360,s:e.s,l:e.l})]}function Gu(t,e,r){e=e||6,r=r||30;var n=Mu(t).toHsl(),a=360/r,i=[Mu(t)];for(n.h=(n.h-(a*e>>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(Mu(n));return i}function Vu(t,e){e=e||6;for(var r=Mu(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/e;e--;)o.push(Mu({h:n,s:a,v:i})),i=(i+s)%1;return o}Mu.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=$u(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Iu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Iu(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=Lu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Lu(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return Bu(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,a){var i=[el(Math.round(t).toString(16)),el(Math.round(e).toString(16)),el(Math.round(r).toString(16)),el(nl(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Ju(this._r,255))+"%",g:Math.round(100*Ju(this._g,255))+"%",b:Math.round(100*Ju(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*Ju(this._r,255))+"%, "+Math.round(100*Ju(this._g,255))+"%, "+Math.round(100*Ju(this._b,255))+"%)":"rgba("+Math.round(100*Ju(this._r,255))+"%, "+Math.round(100*Ju(this._g,255))+"%, "+Math.round(100*Ju(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Xu[Bu(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+Du(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=Mu(t);r="#"+Du(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Mu(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(Nu,arguments)},brighten:function(){return this._applyModification(Uu,arguments)},darken:function(){return this._applyModification(Hu,arguments)},desaturate:function(){return this._applyModification(zu,arguments)},saturate:function(){return this._applyModification(ju,arguments)},greyscale:function(){return this._applyModification(Fu,arguments)},spin:function(){return this._applyModification(Wu,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(Gu,arguments)},complement:function(){return this._applyCombination(Zu,arguments)},monochromatic:function(){return this._applyCombination(Vu,arguments)},splitcomplement:function(){return this._applyCombination(Yu,arguments)},triad:function(){return this._applyCombination(qu,[3])},tetrad:function(){return this._applyCombination(qu,[4])}},Mu.fromRatio=function(t,e){if("object"==Ou(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:rl(t[n]));t=r}return Mu(t,e)},Mu.equals=function(t,e){return!(!t||!e)&&Mu(t).toRgbString()==Mu(e).toRgbString()},Mu.random=function(){return Mu.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Mu.mix=function(t,e,r){r=0===r?0:r||50;var n=Mu(t).toRgb(),a=Mu(e).toRgb(),i=r/100;return Mu({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},Mu.readability=function(t,e){var r=Mu(t),n=Mu(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Mu.isReadable=function(t,e,r){var n,a,i=Mu.readability(t,e);switch(a=!1,(n=function(t){var e,r;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==r&&"large"!==r&&(r="small");return{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},Mu.mostReadable=function(t,e,r){var n,a,i,o,s=null,u=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var l=0;l<e.length;l++)(n=Mu.readability(t,e[l]))>u&&(u=n,s=Mu(e[l]));return Mu.isReadable(t,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,Mu.mostReadable(t,["#fff","#000"],r))};var Ku=Mu.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Xu=Mu.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(Ku);function $u(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Ju(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function Qu(t){return Math.min(1,Math.max(0,t))}function tl(t){return parseInt(t,16)}function el(t){return 1==t.length?"0"+t:""+t}function rl(t){return t<=1&&(t=100*t+"%"),t}function nl(t){return Math.round(255*parseFloat(t)).toString(16)}function al(t){return tl(t)/255}var il,ol,sl,ul=(ol="[\\s|\\(]+("+(il="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+il+")[,|\\s]+("+il+")\\s*\\)?",sl="[\\s|\\(]+("+il+")[,|\\s]+("+il+")[,|\\s]+("+il+")[,|\\s]+("+il+")\\s*\\)?",{CSS_UNIT:new RegExp(il),rgb:new RegExp("rgb"+ol),rgba:new RegExp("rgba"+sl),hsl:new RegExp("hsl"+ol),hsla:new RegExp("hsla"+sl),hsv:new RegExp("hsv"+ol),hsva:new RegExp("hsva"+sl),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function ll(t){return!!ul.CSS_UNIT.exec(t)}function fl(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return cl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cl(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function cl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hl(t){for(var e,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(t),a=n.byteLength,i=a%3,o=a-i,s="",u=0;u<o;u+=3)s+=r[(16515072&(e=n[u]<<16|n[u+1]<<8|n[u+2]))>>18]+r[(258048&e)>>12]+r[(4032&e)>>6]+r[63&e];return 1===i?s+=r[(252&(e=n[o]))>>2]+r[(3&e)<<4]+"==":2===i&&(s+=r[(64512&(e=n[o]<<8|n[o+1]))>>10]+r[(1008&e)>>4]+r[(15&e)<<2]+"="),s}function dl(t){return t.substr(2+(~-t.lastIndexOf(".")>>>0))}function pl(t,e){if(!t)return t;var r="";if(t.constructor===Array)for(var n=0;n<t.length;n++)r+=e(t[n],n);else r+=e(t,0);return r}function gl(t,e){if(e.constructor!==Array)throw Error("Error of path type! path is not array.");if(!t)return t;var r,n=fl(e);try{for(n.s();!(r=n.n()).done;){if(!(t=t[r.value]))return t}}catch(t){n.e(t)}finally{n.f()}return t}function bl(t){return t?Math.round(t/6e4):0}function ml(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,(function(t){return e[t]}))}function vl(t){var e="";switch(t.toLowerCase()){case"jpg":case"jpeg":e="image/jpeg";break;case"png":e="image/png";break;case"gif":e="image/gif";break;case"emf":e="image/x-emf";break;case"wmf":e="image/x-wmf";break;case"svg":e="image/svg+xml";break;case"mp4":e="video/mp4";break;case"webm":e="video/webm";break;case"ogg":e="video/ogg";break;case"avi":e="video/avi";break;case"mpg":e="video/mpg";break;case"wmv":e="video/wmv";break;case"mp3":e="audio/mpeg";break;case"wav":e="audio/wav";break;case"tif":case"tiff":e="image/tiff"}return e}function yl(t){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(t)}function wl(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e}function _l(t,e,r,n){var a,i;if(r)i=r;else{var o=gl(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);i=o||((o=gl(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||gl(e.slideMasterContent,["p:sldMaster","p:clrMap","attrs"]))}var s=t.substr(2);if("phClr"===s&&n)a=n;else{if(i)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":t="a:"+i[s]}else switch(t){case"tx1":t="a:dk1";break;case"tx2":t="a:dk2";break;case"bg1":t="a:lt1";break;case"bg2":t="a:lt2"}var u=gl(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);!(a=gl(u,["a:srgbClr","attrs","val"]))&&u&&(a=gl(u,["a:sysClr","attrs","lastClr"]))}return a}function kl(t,e,r){var n=t["p:spPr"]["a:ln"],a=parseInt(gl(n,["attrs","w"]))/12700;isNaN(a)&&(a=n||"obj"!==e?0:1);var i=gl(n,["a:solidFill","a:srgbClr","attrs","val"]);if(!i){var o=gl(n,["a:solidFill","a:schemeClr"]);i=_l("a:"+gl(o,["attrs","val"]),r)}if(!i){var s=gl(t,["p:style","a:lnRef","a:schemeClr"]);if(i=_l("a:"+gl(s,["attrs","val"]),r)){var u=gl(s,["a:shade","attrs","val"]);if(u){u=parseInt(u)/1e5;var l=Mu("#"+i).toHsl();i=Mu({h:l.h,s:l.s,l:l.l*u,a:l.a}).toHex()}}}i=i?"#".concat(i):"#000";var f="solid",c="0";switch(gl(n,["a:prstDash","attrs","val"])){case"solid":f="solid",c="0";break;case"dash":f="dashed",c="5";break;case"dashDot":f="dashed",c="5, 5, 1, 5";break;case"dot":f="dotted",c="1, 5";break;case"lgDash":f="dashed",c="10, 5";break;case"lgDashDotDot":f="dotted",c="10, 5, 1, 5, 1, 5";break;case"sysDash":f="dashed",c="5, 2";break;case"sysDashDot":f="dotted",c="5, 2, 1, 5";break;case"sysDashDotDot":f="dotted",c="5, 2, 1, 5, 1, 5";break;case"sysDot":f="dotted",c="2, 5"}return{borderColor:i,borderWidth:a,borderType:f,strokeDasharray:c}}function xl(t,e,r){return r<0&&(r+=6),r>=6&&(r-=6),r<1?(e-t)*r+t:r<3?e:r<4?(e-t)*(4-r)+t:t}function Sl(t){var e="";return t["a:noFill"]&&(e="NO_FILL"),t["a:solidFill"]&&(e="SOLID_FILL"),t["a:gradFill"]&&(e="GRADIENT_FILL"),t["a:pattFill"]&&(e="PATTERN_FILL"),t["a:blipFill"]&&(e="PIC_FILL"),t["a:grpFill"]&&(e="GROUP_FILL"),e}function Al(t,e,r){return Cl.apply(this,arguments)}function Cl(){return Cl=r(u.mark((function t(e,r,n){var a,i,o,s,l,f;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r["a:blip"].attrs["r:embed"],"slideBg"===e||"slide"===e?o=gl(n,["slideResObj",i,"target"]):"slideLayoutBg"===e?o=gl(n,["layoutResObj",i,"target"]):"slideMasterBg"===e?o=gl(n,["masterResObj",i,"target"]):"themeBg"===e?o=gl(n,["themeResObj",i,"target"]):"diagramBg"===e&&(o=gl(n,["diagramResObj",i,"target"])),o){t.next=4;break}return t.abrupt("return",o);case 4:if(a=gl(n,["loaded-images",o])){t.next=15;break}if(o=ml(o),"xml"!==(s=o.split(".").pop())){t.next=10;break}return t.abrupt("return",void 0);case 10:return t.next=12,n.zip.file(o).async("arraybuffer");case 12:l=t.sent,f=vl(s),a="data:".concat(f,";base64,").concat(hl(l));case 15:return t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)}))),Cl.apply(this,arguments)}function El(t,e,r){return Rl.apply(this,arguments)}function Rl(){return(Rl=r(u.mark((function t(e,r,n){var a,i,o,s;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Al(r,e["a:blipFill"],n);case 2:return a=t.sent,i=e["a:blipFill"]["a:blip"],o=gl(i,["a:alphaModFix","attrs"]),s=1,o&&o.amt&&""!==o.amt&&(s=parseInt(o.amt)/1e5),t.abrupt("return",{picBase64:a,opacity:s});case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Ol(t,e,r,n){if(t){for(var a=t["a:gradFill"],i=a["a:gsLst"]["a:gs"],o=[],s=0;s<i.length;s++){var u=Ll(i[s],r["p:sldMaster"]["p:clrMap"].attrs,e,n),l=gl(i[s],["attrs","pos"]);o[s]={pos:l?l/1e3+"%":"",color:u}}var f=a["a:lin"],c=90;return f&&(c=bl(f.attrs.ang),c+=90),{rot:c,colors:o.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}return e?-1===e.indexOf("#")?"#".concat(e):e:null}function Tl(t){return Pl.apply(this,arguments)}function Pl(){return Pl=r(u.mark((function t(e){var r,n,a,i,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,M,L,I,B,D,z,j,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,at,it,ot,st,ut,lt;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.slideContent,n=e.slideLayoutContent,a=e.slideMasterContent,i=gl(r,["p:sld","p:cSld","p:bg","p:bgPr"]),o=gl(r,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",l="color",!i){t.next=29;break}if("SOLID_FILL"!==(f=Sl(i))){t.next=17;break}c=i["a:solidFill"],(d=gl(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?h=d:(p=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),h=p||gl(a,["p:sldMaster","p:clrMap","attrs"])),g=Ll(c,h,void 0,e),s=g,t.next=27;break;case 17:if("GRADIENT_FILL"!==f){t.next=22;break}"string"==typeof(b=Ol(i,void 0,a,e))?s=b:b&&(s=b,l="gradient"),t.next=27;break;case 22:if("PIC_FILL"!==f){t.next=27;break}return t.next=25,El(i,"slideBg",e);case 25:s=t.sent,l="image";case 27:t.next=142;break;case 29:if(!o){t.next=37;break}(v=gl(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?m=v:(y=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=y||gl(a,["p:sldMaster","p:clrMap","attrs"])),w=Ll(o,m,void 0,e),(_=Number(o.attrs.idx))>1e3&&(k=_-1e3,x=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],S=[],Object.keys(x).forEach((function(t){var e=x[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),S.push(n)}else{var a={};a[t]=e,e.attrs&&(a.idex=e.attrs.order,a.attrs={order:e.attrs.order}),S.push(a)}})),(A=S.slice(0)).sort((function(t,e){return t.idex-e.idex})),C=A[k-1],"SOLID_FILL"===(E=Sl(C))?(R=C["a:solidFill"],O=Ll(R,m,void 0,e),s=O):"GRADIENT_FILL"===E&&("string"==typeof(T=Ol(C,w,a,e))?s=T:T&&(s=T,l="gradient"))),t.next=142;break;case 37:if(i=gl(n,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),o=gl(n,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),M=gl(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),P=M||gl(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=61;break}if("SOLID_FILL"!==(L=Sl(i))){t.next=49;break}I=i["a:solidFill"],B=Ll(I,P,void 0,e),s=B,t.next=59;break;case 49:if("GRADIENT_FILL"!==L){t.next=54;break}"string"==typeof(D=Ol(i,void 0,a,e))?s=D:D&&(s=D,l="gradient"),t.next=59;break;case 54:if("PIC_FILL"!==L){t.next=59;break}return t.next=57,El(i,"slideLayoutBg",e);case 57:s=t.sent,l="image";case 59:t.next=142;break;case 61:if(!o){t.next=91;break}if(z=Ll(o,P,void 0,e),!((j=Number(o.attrs.idx))>1e3)){t.next=89;break}if(F=j-1e3,N=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],U=[],Object.keys(N).forEach((function(t){var e=N[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),U.push(n)}else{var a={};a[t]=e,e.attrs&&(a.idex=e.attrs.order,a.attrs={order:e.attrs.order}),U.push(a)}})),(H=U.slice(0)).sort((function(t,e){return t.idex-e.idex})),W=H[F-1],"SOLID_FILL"!==(Z=Sl(W))){t.next=79;break}q=W["a:solidFill"],Y=Ll(q,P,void 0,e),s=Y,t.next=89;break;case 79:if("GRADIENT_FILL"!==Z){t.next=84;break}"string"==typeof(G=Ol(W,z,a,e))?s=G:G&&(s=G,l="gradient"),t.next=89;break;case 84:if("PIC_FILL"!==Z){t.next=89;break}return t.next=87,El(W,"themeBg",e);case 87:s=t.sent,l="image";case 89:t.next=142;break;case 91:if(i=gl(a,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),o=gl(a,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),V=gl(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=114;break}if("SOLID_FILL"!==(K=Sl(i))){t.next=102;break}X=i["a:solidFill"],$=Ll(X,V,void 0,e),s=$,t.next=112;break;case 102:if("GRADIENT_FILL"!==K){t.next=107;break}"string"==typeof(J=Ol(i,void 0,a,e))?s=J:J&&(s=J,l="gradient"),t.next=112;break;case 107:if("PIC_FILL"!==K){t.next=112;break}return t.next=110,El(i,"slideMasterBg",e);case 110:s=t.sent,l="image";case 112:t.next=142;break;case 114:if(!o){t.next=142;break}if(Q=Ll(o,V,void 0,e),!((tt=Number(o.attrs.idx))>1e3)){t.next=142;break}if(et=tt-1e3,rt=e.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],nt=[],Object.keys(rt).forEach((function(t){var e=rt[t];if("attrs"!==t)if(e.constructor===Array)for(var r=0;r<e.length;r++){var n={};n[t]=e[r],e[r].attrs&&(n.idex=e[r].attrs.order,n.attrs={order:e[r].attrs.order}),nt.push(n)}else{var a={};a[t]=e,e.attrs&&(a.idex=e.attrs.order,a.attrs={order:e.attrs.order}),nt.push(a)}})),(at=nt.slice(0)).sort((function(t,e){return t.idex-e.idex})),it=at[et-1],"SOLID_FILL"!==(ot=Sl(it))){t.next=132;break}st=it["a:solidFill"],ut=Ll(st,P,void 0,e),s=ut,t.next=142;break;case 132:if("GRADIENT_FILL"!==ot){t.next=137;break}"string"==typeof(lt=Ol(it,Q,a,e))?s=lt:lt&&(s=lt,l="gradient"),t.next=142;break;case 137:if("PIC_FILL"!==ot){t.next=142;break}return t.next=140,El(it,"themeBg",e);case 140:s=t.sent,l="image";case 142:return t.abrupt("return",{type:l,value:s});case 143:case"end":return t.stop()}}),t)}))),Pl.apply(this,arguments)}function Ml(t,e,r){if(gl(t,["p:spPr","a:noFill"]))return e?"none":"";var n;(n||(n=gl(t,["p:spPr","a:solidFill","a:srgbClr","attrs","val"])),n)||(n=_l("a:"+gl(t,["p:spPr","a:solidFill","a:schemeClr","attrs","val"]),r));n||(n=_l("a:"+gl(t,["p:style","a:fillRef","a:schemeClr","attrs","val"]),r));if(n){n="#".concat(n);var a=parseInt(gl(t,["p:spPr","a:solidFill","a:schemeClr","a:lumMod","attrs","val"]))/1e5,i=parseInt(gl(t,["p:spPr","a:solidFill","a:schemeClr","a:lumOff","attrs","val"]))/1e5;isNaN(a)&&(a=1),isNaN(i)&&(i=0);var o=Mu(n).toHsl(),s=o.l*a+i;return Mu({h:o.h,s:o.s,l:s,a:o.a}).toHexString()}return e?"none":n}function Ll(t,e,r,n){if(!t)return"";var a,i,o,s="";if(t["a:srgbClr"])s=gl(a=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"]){s=_l("a:"+gl(a=t["a:schemeClr"],["attrs","val"]),n,e,r)||""}else if(t["a:scrgbClr"]){var u=(a=t["a:scrgbClr"]).attrs,l=-1!==u.r.indexOf("%")?u.r.split("%").shift():u.r,f=-1!==u.g.indexOf("%")?u.g.split("%").shift():u.g,c=-1!==u.b.indexOf("%")?u.b.split("%").shift():u.b;s=wl(Number(l)/100*255)+wl(Number(f)/100*255)+wl(Number(c)/100*255)}else if(t["a:prstClr"]){var h=gl(a=t["a:prstClr"],["attrs","val"]);-1!==(o=["white","AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].indexOf(h))&&(i=["ffffff","f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][o]),s=i}else if(t["a:hslClr"]){var d=(a=t["a:hslClr"]).attrs,p=function(t,e,r){var n,a=2*r-(n=r<=.5?r*(e+1):r+e-r*e);return{r:255*xl(a,n,2+(t/=60)),g:255*xl(a,n,t),b:255*xl(a,n,t-2)}}(Number(d.hue)/1e5,Number(-1!==d.sat.indexOf("%")?d.sat.split("%").shift():d.sat)/100,Number(-1!==d.lum.indexOf("%")?d.lum.split("%").shift():d.lum)/100);s=wl(p.r)+wl(p.g)+wl(p.b)}else if(t["a:sysClr"]){var g=gl(a=t["a:sysClr"],["attrs","lastClr"]);g&&(s=g)}var b=!1,m=parseInt(gl(a,["a:alpha","attrs","val"]))/1e5;if(!isNaN(m)){var v=Mu(s);v.setAlpha(m),s=v.toHex8(),b=!0}var y=parseInt(gl(a,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=function(t,e,r){var n=Mu(t).toHsl(),a=n.h*e;return a>=360&&(a-=360),r?Mu({h:a,s:n.s,l:n.l,a:n.a}).toHex8():Mu({h:a,s:n.s,l:n.l,a:n.a}).toHex()}(s,y,b));var w=parseInt(gl(a,["a:lumMod","attrs","val"]))/1e5;isNaN(w)||(s=function(t,e,r){var n=Mu(t).toHsl(),a=n.l*e;return a>=1&&(a=1),r?Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,w,b));var _=parseInt(gl(a,["a:lumOff","attrs","val"]))/1e5;isNaN(_)||(s=function(t,e,r){var n=Mu(t).toHsl(),a=e+n.l;return a>=1?r?Mu({h:n.h,s:n.s,l:1,a:n.a}).toHex8():Mu({h:n.h,s:n.s,l:1,a:n.a}).toHex():r?Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,_,b));var k=parseInt(gl(a,["a:satMod","attrs","val"]))/1e5;isNaN(k)||(s=function(t,e,r){var n=Mu(t).toHsl(),a=n.s*e;return a>=1&&(a=1),r?Mu({h:n.h,s:a,l:n.l,a:n.a}).toHex8():Mu({h:n.h,s:a,l:n.l,a:n.a}).toHex()}(s,k,b));var x=parseInt(gl(a,["a:shade","attrs","val"]))/1e5;isNaN(x)||(s=function(t,e,r){var n=Mu(t).toHsl();e>=1&&(e=1);var a=Math.min(n.l*e,1);return r?Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,x,b));var S=parseInt(gl(a,["a:tint","attrs","val"]))/1e5;return isNaN(S)||(s=function(t,e,r){var n=Mu(t).toHsl();e>=1&&(e=1);var a=n.l*e+(1-e);return r?Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Mu({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,S,b)),s&&-1===s.indexOf("#")&&(s="#"+s),s}function Il(t){var e=[];if(!t)return e;if(t["c:xVal"]){var r=[];pl(t["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return r.push(parseFloat(t["c:v"])),""})),e.push(r),r=[],pl(t["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return r.push(parseFloat(t["c:v"])),""})),e.push(r)}else pl(t,(function(t,r){var n=[],a=gl(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,i={};return gl(t,["c:cat","c:strRef","c:strCache","c:pt"])?pl(t["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],(function(t){return i[t.attrs.idx]=t["c:v"],""})):gl(t,["c:cat","c:numRef","c:numCache","c:pt"])&&pl(t["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return i[t.attrs.idx]=t["c:v"],""})),gl(t,["c:val","c:numRef","c:numCache","c:pt"])&&pl(t["c:val"]["c:numRef"]["c:numCache"]["c:pt"],(function(t){return n.push({x:t.attrs.idx,y:parseFloat(t["c:v"])}),""})),e.push({key:a,values:n,xlabels:i}),""}));return e}function Bl(t){var e=null;for(var r in t)switch(r){case"c:lineChart":e={type:"lineChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),marker:!!t[r]["c:marker"]};break;case"c:line3DChart":e={type:"line3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:barChart":e={type:"barChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),barDir:gl(t[r],["c:barDir","attrs","val"])};break;case"c:bar3DChart":e={type:"bar3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"]),barDir:gl(t[r],["c:barDir","attrs","val"])};break;case"c:pieChart":e={type:"pieChart",data:Il(t[r]["c:ser"])};break;case"c:pie3DChart":e={type:"pie3DChart",data:Il(t[r]["c:ser"])};break;case"c:doughnutChart":e={type:"doughnutChart",data:Il(t[r]["c:ser"]),holeSize:gl(t[r],["c:holeSize","attrs","val"])};break;case"c:areaChart":e={type:"areaChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:area3DChart":e={type:"area3DChart",data:Il(t[r]["c:ser"]),grouping:gl(t[r],["c:grouping","attrs","val"])};break;case"c:scatterChart":e={type:"scatterChart",data:Il(t[r]["c:ser"]),style:gl(t[r],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":e={type:"bubbleChart",data:Il(t[r]["c:ser"])};break;case"c:radarChart":e={type:"radarChart",data:Il(t[r]["c:ser"]),style:gl(t[r],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":e={type:"surfaceChart",data:Il(t[r]["c:ser"])};break;case"c:surface3DChart":e={type:"surface3DChart",data:Il(t[r]["c:ser"])};break;case"c:stockChart":e={type:"stockChart",data:Il(t[r]["c:ser"])}}return e}function Dl(t,e,r,n){var a=gl(t,["a:pPr","attrs","algn"]);if(a||(a=gl(e,["a:pPr","attrs","algn"])),!a)if("title"===r||"ctrTitle"===r||"subTitle"===r){var i=1,o=gl(e,["a:pPr","attrs","lvl"]);o&&(i=parseInt(o)+1);var s="a:lvl"+i+"pPr";(a=gl(n,["slideLayoutTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(a=gl(n,["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"])),a||(a=gl(n,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),a||"subTitle"!==r||(a=gl(n,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else a=gl(n,"body"===r?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var u="left";if(a)switch(a){case"l":u="left";break;case"r":u="right";break;case"ctr":u="center";break;case"just":case"dist":u="justify";break;default:u="inherit"}return u}var zl=72/914400;function jl(t,e,r){var n;return t?n=t["a:off"].attrs:e?n=e["a:off"].attrs:r&&(n=r["a:off"].attrs),n?{top:parseInt(n.y)*zl,left:parseInt(n.x)*zl}:{top:0,left:0}}function Fl(t,e,r){var n;return t?n=t["a:ext"].attrs:e?n=e["a:ext"].attrs:r&&(n=r["a:ext"].attrs),n?{width:parseInt(n.cx)*zl,height:parseInt(n.cy)*zl}:{width:0,height:0}}function Nl(t,e){var r=Ll(t,void 0,void 0,e),n=t.attrs,a=n.dir?parseInt(n.dir)/6e4:0,i=parseInt(n.dist)*zl,o=n.blurRad?parseInt(n.blurRad)*zl:"",s=i*Math.sin(a*Math.PI/180);return{h:i*Math.cos(a*Math.PI/180),v:s,blur:o,color:r}}function Ul(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return Hl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hl(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function Hl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Wl(t,e,r,n,a){if(!t)return"";var i,o="",s=gl(e,["p:style","a:fontRef"]),u=t["a:p"],l="",f=Ul(u.constructor===Array?u:[u]);try{for(f.s();!(i=f.n()).done;){var c=i.value,h=c["a:r"],d=c["a:fld"],p=c["a:br"];h&&(h=h.constructor===Array?h:[h],d&&(d=d.constructor===Array?d:[d],h=h.concat(d)),p&&((p=p.constructor===Array?p:[p]).forEach((function(t){return t.type="br"})),p.length>1&&p.shift(),(h=h.concat(p)).sort((function(t,e){return!t.attrs||!e.attrs||t.attrs.order-e.attrs.order}))));var g=Dl(c,e,n,a),b=Zl(c);if(b?(l?l&&l!==b&&(o+="</".concat(l,">"),o+="<".concat(b,">"),l=b):(o+="<".concat(b,">"),l=b),o+='<li style="text-align: '.concat(g,';">')):(l&&(o+="</".concat(l,">"),l=""),o+='<p style="text-align: '.concat(g,';">')),h){var m,v=Ul(h);try{for(v.s();!(m=v.n()).done;){o+=ql(m.value,c,t,s,r,n,a)}}catch(t){v.e(t)}finally{v.f()}}else o+=ql(c,e,t,s,r,n,a);o+=b?"</li>":"</p>"}}catch(t){f.e(t)}finally{f.f()}return o}function Zl(t){var e=t["a:pPr"];return e?e["a:buChar"]?"ul":e["a:buAutoNum"]?"ol":"":""}function ql(t,e,r,n,a,i,o){var s=r["a:lstStyle"],u=o.slideMasterTextStyles,l=1,f=gl(e["a:pPr"],["attrs","lvl"]);void 0!==f&&(l=parseInt(f)+1);var c=t["a:t"];"string"!=typeof c&&(c=gl(t,["a:fld","a:t"])),"string"!=typeof c&&(c="&nbsp;");var h="",d=function(t,e,r,n,a,i){var o,s=gl(t,["a:rPr"]);if(s&&"SOLID_FILL"===Sl(s)&&(o=Ll(s["a:solidFill"],void 0,void 0,i)),!o&&gl(r,["a:lvl"+a+"pPr","a:defRPr"])){var u=gl(r,["a:lvl"+a+"pPr","a:defRPr"]);"SOLID_FILL"===Sl(u)&&(o=Ll(u["a:solidFill"],void 0,void 0,i))}if(!o){var l=gl(e,["p:style","a:fontRef"]);l&&(o=Ll(l,void 0,void 0,i)),!o&&n&&(o=Ll(n,void 0,void 0,i))}return o||""}(t,e,s,n,l,o),p=function(t,e,r,n){var a,i;if(gl(t,["a:rPr","attrs","sz"])&&(a=gl(t,["a:rPr","attrs","sz"])/100),isNaN(a)||!a){var o=gl(e,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);a=parseInt(o)/100}return!isNaN(a)&&a||("title"===r||"subTitle"===r||"ctrTitle"===r?i=gl(n,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"body"===r?i=gl(n,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"dt"===r||"sldNum"===r?i="1200":r||(i=gl(n,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),i&&(a=parseInt(i)/100)),gl(t,["a:rPr","attrs","baseline"])&&!isNaN(a)&&(a-=10),(a=isNaN(a)||!a?18:a)+"pt"}(t,a,i,u),g=function(t,e,r){var n=gl(t,["a:rPr","a:latin","attrs","typeface"]);if(!n){var a=gl(r.themeContent,["a:theme","a:themeElements","a:fontScheme"]);n=gl(a,"title"===e||"subTitle"===e||"ctrTitle"===e?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return n||""}(t,i,o),b=function(t){return"1"===gl(t,["a:rPr","attrs","b"])?"bold":""}(t),m=function(t){return"1"===gl(t,["a:rPr","attrs","i"])?"italic":""}(t),v=function(t){return"sng"===gl(t,["a:rPr","attrs","u"])?"underline":""}(t),y=function(t){return"sngStrike"===gl(t,["a:rPr","attrs","strike"])?"line-through":""}(t),w=function(t){var e=gl(t,["a:rPr","attrs","spc"]);return e?parseInt(e)/100+"pt":""}(t),_=function(t,e){var r=gl(t,["a:rPr","a:effectLst","a:outerShdw"]);if(r){var n=Nl(r,e);if(n){var a=n.h,i=n.v,o=n.blur,s=n.color;if(!isNaN(i)&&!isNaN(a))return a+"pt "+i+"pt "+(o?o+"pt":"")+" "+s}}return""}(t,o),k=function(t){var e=gl(t,["a:rPr","attrs","baseline"]);return e?parseInt(e)>0?"super":"sub":""}(t);d&&(h+="color: ".concat(d,";")),p&&(h+="font-size: ".concat(p,";")),g&&(h+="font-family: ".concat(g,";")),b&&(h+="font-weight: ".concat(b,";")),m&&(h+="font-style: ".concat(m,";")),v&&(h+="text-decoration: ".concat(v,";")),y&&(h+="text-decoration-line: ".concat(y,";")),w&&(h+="letter-spacing: ".concat(w,";")),k&&(h+="vertical-align: ".concat(k,";")),_&&(h+="text-shadow: ".concat(_,";"));var x=gl(t,["a:rPr","a:hlinkClick","attrs","r:id"]);if(x){var S=o.slideResObj[x].target;return'<span style="'.concat(h,'"><a href="').concat(S,'" target="_blank">').concat(c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</a></span>")}return'<span style="'.concat(h,'">').concat(c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;"),"</span>")}function Yl(t,e,r,n,a,i,o){var s,u=a;if(i>=a)for(;u<=i;){var l=u*(Math.PI/180),f=t+Math.cos(l)*r,c=e+Math.sin(l)*n;u===a&&(s=" M"+f+" "+c),s+=" L"+f+" "+c,u++}else for(;u>i;){var h=u*(Math.PI/180),d=t+Math.cos(h)*r,p=e+Math.sin(h)*n;u===a&&(s=" M "+d+" "+p),s+=" L "+d+" "+p,u--}return s+=o?" z":""}function Gl(t,e,r,n){var a,i,o,s,u,l=gl(t,["attrs","rowSpan"]),f=gl(t,["attrs","gridSpan"]),c=gl(t,["attrs","vMerge"]),h=gl(t,["attrs","hMerge"]),d=gl(t,["a:tcPr"]);d&&(a=Ml({"p:spPr":d},void 0,n));a||(r&&(s=gl(e,[r,"a:tcStyle","a:fill","a:solidFill"])),s&&(a=Ll(s,void 0,void 0,n)));return r&&(u=gl(e,[r,"a:tcTxStyle"])),u&&(i=Ll(u,void 0,void 0,n),"on"===gl(u,["attrs","b"])&&(o=!0)),{fillColor:a,fontColor:i,fontBold:o,rowSpan:l?+l:void 0,colSpan:f?+f:void 0,vMerge:c?+c:void 0,hMerge:h?+h:void 0}}function Vl(t,e,r,n,a){var i,o,s;if(n&&n["a:wholeTbl"]){var u=gl(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(u){var l=Ll(u,void 0,void 0,a);l&&(i=l)}var f=gl(n,["a:wholeTbl","a:tcTxStyle"]);if(f){var c=Ll(f,void 0,void 0,a);c&&(o=c),"on"===gl(f,["attrs","b"])&&(s=!0)}}if(0===e&&1===r.isFrstRowAttr&&n){var h=gl(n,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(h){var d=Ll(h,void 0,void 0,a);d&&(i=d)}var p=gl(n,["a:firstRow","a:tcTxStyle"]);if(p){var g=Ll(p,void 0,void 0,a);g&&(o=g),"on"===gl(p,["attrs","b"])&&(s=!0)}}else if(e>0&&1===r.isBandRowAttr&&n){if(i="",e%2==0&&n["a:band2H"]){var b=gl(n,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(b){var m=Ll(b,void 0,void 0,a);m&&(i=m)}var v=gl(n,["a:band2H","a:tcTxStyle"]);if(v){var y=Ll(v,void 0,void 0,a);y&&(o=y)}"on"===gl(v,["attrs","b"])&&(s=!0)}if(e%2!=0&&n["a:band1H"]){var w=gl(n,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(w){var _=Ll(w,void 0,void 0,a);_&&(i=_)}var k=gl(n,["a:band1H","a:tcTxStyle"]);if(k){var x=Ll(k,void 0,void 0,a);x&&(o=x),"on"===gl(k,["attrs","b"])&&(s=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&n){var S=gl(n,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(S){var A=Ll(S,void 0,void 0,a);A&&(i=A)}var C=gl(n,["a:lastRow","a:tcTxStyle"]);if(C){var E=Ll(C,void 0,void 0,a);E&&(o=E),"on"===gl(C,["attrs","b"])&&(s=!0)}}return{fillColor:i,fontColor:o,fontBold:s}}function Kl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xl(t){return function(t){if(Array.isArray(t))return Kl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Kl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kl(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $l(t){var e=[];return"object"!==mu(t)||(t["m:oMath"]&&(e=e.concat(t["m:oMath"])),Object.values(t).forEach((function(t){(Array.isArray(t)||"object"===mu(t))&&(e=e.concat($l(t)))}))),e}function Jl(t,e){var r=Ql(t["m:e"]),n=Ql(t["m:lim"]);return"low"===e?"".concat(r,"_{").concat(n,"}"):"".concat(r,"^{").concat(n,"}")}function Ql(t){if(!t)return"";if(Array.isArray(t))return t.map((function(t){return Ql(t)})).join("");for(var e=[],r=Object.keys(t),n=function(){var r=i[a];Array.isArray(t[r])?e.push.apply(e,Xl(t[r].map((function(t){return{key:r,value:t}})))):e.push({key:r,value:t[r]})},a=0,i=r;a<i.length;a++)n();return e.sort((function(t,e){var r=0;"m:r"===t.key&&t.value&&t.value["a:rPr"]?r=t.value["a:rPr"].attrs.order:t.value["".concat(t.key,"Pr")]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(r=t.value["".concat(t.key,"Pr")]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&t.value["".concat(t.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order);var n=0;return"m:r"===e.key&&e.value&&e.value["a:rPr"]?n=e.value["a:rPr"].attrs.order:e.value["".concat(e.key,"Pr")]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&(n=e.value["".concat(e.key,"Pr")]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"]&&e.value["".concat(e.key,"Pr")]["m:ctrlPr"]["a:rPr"].attrs.order),r-n})),e.map((function(t){var e,r,n,a,i,o,s,u,l,f,c,h,d,p,g,b,m,v=t.key,y=t.value;return"m:f"===v?(r=Ql((e=y)["m:num"]),n=Ql(e["m:den"]),"\\frac{".concat(r,"}{").concat(n,"}")):"m:sSup"===v?(i=Ql((a=y)["m:e"]),o=Ql(a["m:sup"]),"".concat(i,"^{").concat(o,"}")):"m:sSub"===v?function(t){var e=Ql(t["m:e"]),r=Ql(t["m:sub"]);return"".concat(e,"_{").concat(r,"}")}(y):"m:rad"===v?(u=Ql((s=y)["m:deg"]),l=Ql(s["m:e"]),u?"\\sqrt[".concat(u,"]{").concat(l,"}"):"\\sqrt{".concat(l,"}")):"m:nary"===v?function(t){var e=gl(t,["m:naryPr","m:chr","attrs","m:val"])||"∫",r=Ql(t["m:sub"]),n=Ql(t["m:sup"]),a=Ql(t["m:e"]);return"".concat(e,"_{").concat(r,"}^{").concat(n,"}{").concat(a,"}")}(y):"m:limLow"===v?Jl(y,"low"):"m:limUpp"===v?Jl(y,"upp"):"m:d"===v?function(t){var e=gl(t,["m:dPr","m:begChr","attrs","m:val"]),r=gl(t,["m:dPr","m:endChr","attrs","m:val"]);e||r||(e="(",r=")"),e&&r&&(e="\\left".concat(e),r="\\right".concat(r));var n=Ql(t["m:e"]);return"".concat(e).concat(n).concat(r)}(y):"m:func"===v?(c=Ql((f=y)["m:fName"]),h=Ql(f["m:e"]),"\\".concat(c,"{").concat(h,"}")):"m:groupChr"===v?(p=gl(d=y,["m:groupChrPr","m:chr","attrs","m:val"]),g=Ql(d["m:e"]),"".concat(p).concat(g).concat(p)):"m:eqArr"===v?(b=y["m:e"].map((function(t){return Ql(t)})).join(" \\\\ "),"\\begin{cases} ".concat(b," \\end{cases}")):"m:bar"===v?function(t){var e=Ql(t["m:e"]);return"top"===gl(t,["m:barPr","m:pos","attrs","m:val"])?"\\overline{".concat(e,"}"):"\\underline{".concat(e,"}")}(y):"m:acc"===v?function(t){var e=gl(t,["m:accPr","m:chr","attrs","m:val"])||"^",r=Ql(t["m:e"]);switch(e){case"́":return"\\acute{".concat(r,"}");case"̀":return"\\grave{".concat(r,"}");case"̂":return"\\hat{".concat(r,"}");case"̃":return"\\tilde{".concat(r,"}");case"̄":return"\\bar{".concat(r,"}");case"̆":return"\\breve{".concat(r,"}");case"̇":return"\\dot{".concat(r,"}");case"̈":return"\\ddot{".concat(r,"}");case"̊":return"\\mathring{".concat(r,"}");case"̋":return"\\H{".concat(r,"}");case"̌":return"\\check{".concat(r,"}");case"̧":return"\\c{".concat(r,"}");default:return"\\".concat(e,"{").concat(r,"}")}}(y):"m:borderBox"===v?function(t){var e=Ql(t["m:e"]);return"\\boxed{".concat(e,"}")}(y):"m:m"===v?(m=y["m:mr"].map((function(t){return t["m:e"].map((function(t){return Ql(t)})).join(" & ")})),"\\begin{matrix} ".concat(m.join(" \\\\ ")," \\end{matrix}")):"m:r"===v?Ql(y):"m:t"===v?y:""})).join("")}function tf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ef(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?tf(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rf(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return nf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nf(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,i=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function nf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function af(t){return of.apply(this,arguments)}function of(){return(of=r(u.mark((function t(e){var r,n,a,i,o,s,l,f,c,h,d,p;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],t.next=3,bu.loadAsync(e);case 3:return n=t.sent,t.next=6,sf(n);case 6:return a=t.sent,t.next=9,lf(n);case 9:return i=t.sent,o=i.width,s=i.height,l=i.defaultTextStyle,t.next=15,cf(n);case 15:f=t.sent,c=rf(a.slides),t.prev=17,c.s();case 19:if((h=c.n()).done){t.next=27;break}return d=h.value,t.next=23,df(n,d,f,l);case 23:p=t.sent,r.push(p);case 25:t.next=19;break;case 27:t.next=32;break;case 29:t.prev=29,t.t0=t.catch(17),c.e(t.t0);case 32:return t.prev=32,c.f(),t.finish(32);case 35:return t.abrupt("return",{slides:r,size:{width:o,height:s}});case 36:case"end":return t.stop()}}),t,null,[[17,29,32,35]])})))).apply(this,arguments)}function sf(t){return uf.apply(this,arguments)}function uf(){return(uf=r(u.mark((function t(e){var r,n,a,i,o,s,l,f;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"[Content_Types].xml");case 2:r=t.sent,n=r.Types.Override,a=[],i=[],o=rf(n),t.prev=7,o.s();case 9:if((s=o.n()).done){t.next=20;break}l=s.value,t.t0=l.attrs.ContentType,t.next="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"===t.t0?14:"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml"===t.t0?16:18;break;case 14:return a.push(l.attrs.PartName.substr(1)),t.abrupt("break",18);case 16:return i.push(l.attrs.PartName.substr(1)),t.abrupt("break",18);case 18:t.next=9;break;case 20:t.next=25;break;case 22:t.prev=22,t.t1=t.catch(7),o.e(t.t1);case 25:return t.prev=25,o.f(),t.finish(25);case 28:return f=function(t,e){return+/(\d+)\.xml/.exec(t)[1]-+/(\d+)\.xml/.exec(e)[1]},a=a.sort(f),i=i.sort(f),t.abrupt("return",{slides:a,slideLayouts:i});case 32:case"end":return t.stop()}}),t,null,[[7,22,25,28]])})))).apply(this,arguments)}function lf(t){return ff.apply(this,arguments)}function ff(){return(ff=r(u.mark((function t(e){var r,n,a;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"ppt/presentation.xml");case 2:return r=t.sent,n=r["p:presentation"]["p:sldSz"].attrs,a=r["p:presentation"]["p:defaultTextStyle"],t.abrupt("return",{width:parseInt(n.cx)*zl,height:parseInt(n.cy)*zl,defaultTextStyle:a});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function cf(t){return hf.apply(this,arguments)}function hf(){return(hf=r(u.mark((function t(e){var r,n,a,i,o,s;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Eu(e,"ppt/_rels/presentation.xml.rels");case 2:if(r=t.sent,(n=r.Relationships.Relationship).constructor!==Array){t.next=25;break}i=rf(n),t.prev=6,i.s();case 8:if((o=i.n()).done){t.next=15;break}if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"!==(s=o.value).attrs.Type){t.next=13;break}return a=s.attrs.Target,t.abrupt("break",15);case 13:t.next=8;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(6),i.e(t.t0);case 20:return t.prev=20,i.f(),t.finish(20);case 23:t.next=26;break;case 25:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===n.attrs.Type&&(a=n.attrs.Target);case 26:if(a){t.next=28;break}throw Error("Can't open theme file.");case 28:return t.next=30,Eu(e,"ppt/"+a);case 30:return t.abrupt("return",t.sent);case 31:case"end":return t.stop()}}),t,null,[[6,17,20,23]])})))).apply(this,arguments)}function df(t,e,r,n){return pf.apply(this,arguments)}function pf(){return pf=r(u.mark((function t(e,r,n,a){var i,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,M,L,I,B,D,z,j,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,at,it,ot,st,ut,lt,ft;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r.replace("slides/slide","slides/_rels/slide")+".rels",t.next=3,Eu(e,i);case 3:if(o=t.sent,s=o.Relationships.Relationship,l="",f="",c="",h={},s.constructor!==Array){t.next=38;break}d=rf(s),t.prev=11,d.s();case 13:if((p=d.n()).done){t.next=28;break}g=p.value,t.t0=g.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"===t.t0?18:"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"===t.t0?20:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"===t.t0?23:("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"===t.t0||"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"===t.t0||t.t0,25);break;case 18:return l=g.attrs.Target.replace("../","ppt/"),t.abrupt("break",26);case 20:return f=g.attrs.Target.replace("../","ppt/"),h[g.attrs.Id]={type:g.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:g.attrs.Target.replace("../","ppt/")},t.abrupt("break",26);case 23:return c=g.attrs.Target.replace("../","ppt/"),t.abrupt("break",26);case 25:h[g.attrs.Id]={type:g.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:g.attrs.Target.replace("../","ppt/")};case 26:t.next=13;break;case 28:t.next=33;break;case 30:t.prev=30,t.t1=t.catch(11),d.e(t.t1);case 33:return t.prev=33,d.f(),t.finish(33);case 36:t.next=39;break;case 38:l=s.attrs.Target.replace("../","ppt/");case 39:return t.next=41,Eu(e,c);case 41:return b=t.sent,m=gf(b),t.next=45,Eu(e,l);case 45:return v=t.sent,t.next=48,bf(v);case 48:return y=t.sent,w=l.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",t.next=52,Eu(e,w);case 52:if(_=t.sent,s=_.Relationships.Relationship,k="",x={},s.constructor!==Array){t.next=80;break}S=rf(s),t.prev=58,S.s();case 60:if((A=S.n()).done){t.next=70;break}C=A.value,t.t2=C.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"===t.t2?65:67;break;case 65:return k=C.attrs.Target.replace("../","ppt/"),t.abrupt("break",68);case 67:x[C.attrs.Id]={type:C.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:C.attrs.Target.replace("../","ppt/")};case 68:t.next=60;break;case 70:t.next=75;break;case 72:t.prev=72,t.t3=t.catch(58),S.e(t.t3);case 75:return t.prev=75,S.f(),t.finish(75);case 78:t.next=81;break;case 80:k=s.attrs.Target.replace("../","ppt/");case 81:return t.next=83,Eu(e,k);case 83:return E=t.sent,R=gl(E,["p:sldMaster","p:txStyles"]),O=bf(E),T=k.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",t.next=89,Eu(e,T);case 89:if(P=t.sent,s=P.Relationships.Relationship,M="",L={},s.constructor!==Array){t.next=116;break}I=rf(s),t.prev=95,I.s();case 97:if((B=I.n()).done){t.next=106;break}D=B.value,t.t4=D.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.t4?102:103;break;case 102:return t.abrupt("break",104);case 103:L[D.attrs.Id]={type:D.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:D.attrs.Target.replace("../","ppt/")};case 104:t.next=97;break;case 106:t.next=111;break;case 108:t.prev=108,t.t5=t.catch(95),I.e(t.t5);case 111:return t.prev=111,I.f(),t.finish(111);case 114:t.next=117;break;case 116:M=s.attrs.Target.replace("../","ppt/");case 117:if(z={},!M){t.next=125;break}return j=M.split("/").pop(),F=M.replace(j,"_rels/"+j)+".rels",t.next=123,Eu(e,F);case 123:if((N=t.sent)&&(s=N.Relationships.Relationship))if(s.constructor===Array){U=rf(s);try{for(U.s();!(H=U.n()).done;)W=H.value,z[W.attrs.Id]={type:W.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:W.attrs.Target.replace("../","ppt/")}}catch(t){U.e(t)}finally{U.f()}}else z[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 125:if(Z={},q={},!f){t.next=138;break}return Y=f.split("/").pop(),G=f.replace(Y,"_rels/"+Y)+".rels",t.next=132,Eu(e,f);case 132:return(q=t.sent)&&q&&q&&(V=(V=JSON.stringify(q)).replace(/dsp:/g,"p:"),q=JSON.parse(V)),t.next=136,Eu(e,G);case 136:if(K=t.sent)if((s=K.Relationships.Relationship).constructor===Array){X=rf(s);try{for(X.s();!($=X.n()).done;)J=$.value,Z[J.attrs.Id]={type:J.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:J.attrs.Target.replace("../","ppt/")}}catch(t){X.e(t)}finally{X.f()}}else Z[s.attrs.Id]={type:s.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:s.attrs.Target.replace("../","ppt/")};case 138:return t.next=140,Eu(e,"ppt/tableStyles.xml");case 140:return Q=t.sent,t.next=143,Eu(e,r);case 143:return tt=t.sent,et=tt["p:sld"]["p:cSld"]["p:spTree"],rt={zip:e,slideLayoutContent:v,slideLayoutTables:y,slideMasterContent:E,slideMasterTables:O,slideContent:tt,tableStyles:Q,slideResObj:h,slideMasterTextStyles:R,layoutResObj:x,masterResObj:L,themeContent:n,themeResObj:z,digramFileContent:q,diagramResObj:Z,defaultTextStyle:a},t.next=148,Tl(rt);case 148:nt=t.sent,at=[],t.t6=u.keys(et);case 151:if((t.t7=t.t6()).done){t.next=181;break}if(it=t.t7.value,et[it].constructor!==Array){t.next=175;break}ot=rf(et[it]),t.prev=155,ot.s();case 157:if((st=ot.n()).done){t.next=165;break}return ut=st.value,t.next=161,mf(it,ut,rt,"slide");case 161:(lt=t.sent)&&at.push(lt);case 163:t.next=157;break;case 165:t.next=170;break;case 167:t.prev=167,t.t8=t.catch(155),ot.e(t.t8);case 170:return t.prev=170,ot.f(),t.finish(170);case 173:t.next=179;break;case 175:return t.next=177,mf(it,et[it],rt,"slide");case 177:(ft=t.sent)&&at.push(ft);case 179:t.next=151;break;case 181:return t.abrupt("return",{fill:nt,elements:at,note:m});case 182:case"end":return t.stop()}}),t,null,[[11,30,33,36],[58,72,75,78],[95,108,111,114],[155,167,170,173]])}))),pf.apply(this,arguments)}function gf(t){var e="",r=gl(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";r.constructor!==Array&&(r=[r]);var n,a=rf(r);try{for(a.s();!(n=a.n()).done;){var i=gl(n.value,["p:txBody","a:p","a:r"]);if(i){i.constructor!==Array&&(i=[i]);var o,s=rf(i);try{for(s.s();!(o=s.n()).done;){var u=gl(o.value,["a:t"]);u&&(e+=u)}}catch(t){s.e(t)}finally{s.f()}}}}catch(t){a.e(t)}finally{a.f()}return e}function bf(t){var e=t[Object.keys(t)[0]]["p:cSld"]["p:spTree"],r={},n={},a={};for(var i in e)if("p:nvGrpSpPr"!==i&&"p:grpSpPr"!==i){var o=e[i];if(o.constructor===Array){var s,u=rf(o);try{for(u.s();!(s=u.n()).done;){var l=s.value,f=l["p:nvSpPr"],c=gl(f,["p:cNvPr","attrs","id"]),h=gl(f,["p:nvPr","p:ph","attrs","idx"]),d=gl(f,["p:nvPr","p:ph","attrs","type"]);c&&(r[c]=l),h&&(n[h]=l),d&&(a[d]=l)}}catch(t){u.e(t)}finally{u.f()}}else{var p=o["p:nvSpPr"],g=gl(p,["p:cNvPr","attrs","id"]),b=gl(p,["p:nvPr","p:ph","attrs","idx"]),m=gl(p,["p:nvPr","p:ph","attrs","type"]);g&&(r[g]=o),b&&(n[b]=o),m&&(a[m]=o)}}return{idTable:r,idxTable:n,typeTable:a}}function mf(t,e,r,n){return vf.apply(this,arguments)}function vf(){return(vf=r(u.mark((function t(e,r,n,a){var i;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.t0=e,t.next="p:sp"===t.t0?3:"p:cxnSp"===t.t0?5:"p:pic"===t.t0?7:"p:graphicFrame"===t.t0?9:"p:grpSp"===t.t0?13:"mc:AlternateContent"===t.t0?17:28;break;case 3:return i=kf(r,n,a),t.abrupt("break",28);case 5:return i=xf(r,n),t.abrupt("break",28);case 7:return i=Af(r,n,a),t.abrupt("break",28);case 9:return t.next=11,Ef(r,n,a);case 11:return i=t.sent,t.abrupt("break",28);case 13:return t.next=15,wf(r,n,a);case 15:return i=t.sent,t.abrupt("break",28);case 17:if(!gl(r,["mc:Fallback","p:grpSpPr","a:xfrm"])){t.next=23;break}return t.next=20,wf(gl(r,["mc:Fallback"]),n,a);case 20:i=t.sent,t.next=27;break;case 23:if(!gl(r,["mc:Choice"])){t.next=27;break}return t.next=26,yf(gl(r,["mc:Choice"]));case 26:i=t.sent;case 27:return t.abrupt("break",28);case 28:return t.abrupt("return",i);case 29:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function yf(t){var e=t.attrs.order,r=gl(t,["p:sp","p:spPr","a:xfrm"]),n=jl(r,void 0,void 0),a=n.top,i=n.left,o=Fl(r,void 0,void 0);return{type:"math",top:a,left:i,width:o.width,height:o.height,latex:function(t){return t.replaceAll(/&lt;/g,"<").replaceAll(/&gt;/g,">").replaceAll(/&amp;/g,"&").replaceAll(/&apos;/g,"'").replaceAll(/&quot;/g,'"')}(Ql($l(t)[0])),order:e}}function wf(t,e,r){return _f.apply(this,arguments)}function _f(){return _f=r(u.mark((function t(e,r,n){var a,i,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e.attrs.order,i=gl(e,["p:grpSpPr","a:xfrm"])){t.next=4;break}return t.abrupt("return",null);case 4:o=parseInt(i["a:off"].attrs.x)*zl,s=parseInt(i["a:off"].attrs.y)*zl,l=parseInt(i["a:chOff"].attrs.x)*zl,f=parseInt(i["a:chOff"].attrs.y)*zl,c=parseInt(i["a:ext"].attrs.cx)*zl,h=parseInt(i["a:ext"].attrs.cy)*zl,d=parseInt(i["a:chExt"].attrs.cx)*zl,p=parseInt(i["a:chExt"].attrs.cy)*zl,(g=gl(i,["attrs","rot"])||0)&&(g=bl(g)),b=c/d,m=h/p,v=[],t.t0=u.keys(e);case 18:if((t.t1=t.t0()).done){t.next=48;break}if(y=t.t1.value,e[y].constructor!==Array){t.next=42;break}w=rf(e[y]),t.prev=22,w.s();case 24:if((_=w.n()).done){t.next=32;break}return k=_.value,t.next=28,mf(y,k,r,n);case 28:(x=t.sent)&&v.push(x);case 30:t.next=24;break;case 32:t.next=37;break;case 34:t.prev=34,t.t2=t.catch(22),w.e(t.t2);case 37:return t.prev=37,w.f(),t.finish(37);case 40:t.next=46;break;case 42:return t.next=44,mf(y,e[y],r,n);case 44:(S=t.sent)&&v.push(S);case 46:t.next=18;break;case 48:return t.abrupt("return",{type:"group",top:s,left:o,width:c,height:h,rotate:g,order:a,elements:v.map((function(t){return ef(ef({},t),{},{left:(t.left-l)*b,top:(t.top-f)*m,width:t.width*b,height:t.height*m})}))});case 49:case"end":return t.stop()}}),t,null,[[22,34,37,40]])}))),_f.apply(this,arguments)}function kf(t,e,r){var n,a,i=gl(t,["p:nvSpPr","p:cNvPr","attrs","name"]),o=gl(t,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=gl(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),u=gl(t,["attrs","order"]);(s?(n=e.slideLayoutTables.typeTable[s],a=e.slideMasterTables.typeTable[s]):o&&(n=e.slideLayoutTables.idxTable[o],a=e.slideMasterTables.idxTable[o]),s)||"1"===gl(t,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])&&(s="text");return s||(s=gl(n,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=gl(a,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s="diagramBg"===r?"diagram":"obj"),Sf(t,n,a,i,s,u,e)}function xf(t,e){return Sf(t,void 0,void 0,t["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,void 0===t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:t["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,t.attrs.order,e)}function Sf(t,e,r,n,a,i,o){var s,u=["p:spPr","a:xfrm"],l=gl(t,u),f=gl(e,u),c=gl(r,u),h=gl(t,["p:spPr","a:prstGeom","attrs","prst"]),d=gl(t,["p:spPr","a:custGeom"]),p=jl(l,f,c),g=p.top,b=p.left,m=Fl(l,f,c),v=m.width,y=m.height,w="1"===gl(l,["attrs","flipV"]),_="1"===gl(l,["attrs","flipH"]),k=bl(gl(l,["attrs","rot"])),x=gl(t,["p:txXfrm"]);if(x){var S=gl(x,["attrs","rot"]);S&&(s=bl(S)+90)}else s=k;var A="";t["p:txBody"]&&(function(t){if(!DOMParser)return!0;var e=(new DOMParser).parseFromString(t,"text/html");return""!==(e.body.textContent||e.body.innerText).trim()}(A=Wl(t["p:txBody"],t,e,a,o))||(A=""));var C,E=kl(t,a,o),R=E.borderColor,O=E.borderWidth,T=E.borderType,P=E.strokeDasharray,M=Ml(t,void 0,o)||"",L=gl(t,["p:spPr","a:effectLst","a:outerShdw"]);L&&(C=Nl(L,o));var I=function(t,e,r){var n=gl(t,["p:txBody","a:bodyPr","attrs","anchor"]);return n||(n=gl(e,["p:txBody","a:bodyPr","attrs","anchor"]))||(n=gl(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(n="t"),"ctr"===n?"mid":"b"===n?"down":"up"}(t,e,r),B="eaVert"===gl(t,["p:txBody","a:bodyPr","attrs","vert"]),D={left:b,top:g,width:v,height:y,borderColor:R,borderWidth:O,borderType:T,borderStrokeDasharray:P,fillColor:M,content:A,isFlipV:w,isFlipH:_,rotate:k,vAlign:I,name:n,order:i};if(C&&(D.shadow=C),d&&"diagram"!==a){var z=gl(l,["a:ext","attrs"]),j=function(t,e,r){var n=gl(t,["a:pathLst"]),a=gl(n,["a:path"]);Array.isArray(a)&&(a=a.pop());var i=parseInt(a.attrs.w),o=parseInt(a.attrs.h),s=0===i?0:1/i*e,u=0===o?0:1/o*r,l="",f=gl(a,["a:moveTo"]),c=a["a:lnTo"],h=a["a:cubicBezTo"],d=a["a:arcTo"],p=gl(a,["a:close"]);Array.isArray(f)||(f=[f]);var g=[];if(f.length>0){if(Object.keys(f).forEach((function(t){var e=f[t]["a:pt"];e&&Object.keys(e).forEach((function(t){var r=e[t],n=r.x,a=r.y,i=r.order;g.push({type:"movto",x:n,y:a,order:i})}))})),c&&Object.keys(c).forEach((function(t){var e=c[t]["a:pt"];e&&Object.keys(e).forEach((function(t){var r=e[t],n=r.x,a=r.y,i=r.order;g.push({type:"lnto",x:n,y:a,order:i})}))})),h){var b=[];Array.isArray(h)||(h=[h]),Object.keys(h).forEach((function(t){b.push(h[t]["a:pt"])})),b.forEach((function(t){var e=[];t.forEach((function(t){var r={x:t.attrs.x,y:t.attrs.y};e.push(r)}));var r=t[0].attrs.order;g.push({type:"cubicBezTo",cubBzPt:e,order:r})}))}if(d){var m=d.attrs,v=m.order,y=m.hR,w=m.wR,_=m.stAng,k=m.swAng,x=0,S=0,A=gl(d,["a:pt","attrs"]);A&&(x=A.x,S=A.y),g.push({type:"arcTo",hR:y,wR:w,stAng:_,swAng:k,shftX:x,shftY:S,order:v})}p&&(Array.isArray(p)||(p=[p]),Object.keys(p).forEach((function(){g.push({type:"close",order:1/0})}))),g.sort((function(t,e){return t.order-e.order}));for(var C=0;C<g.length;){if("movto"===g[C].type)l+=" M"+parseInt(g[C].x)*s+","+parseInt(g[C].y)*u;else if("lnto"===g[C].type)l+=" L"+parseInt(g[C].x)*s+","+parseInt(g[C].y)*u;else if("cubicBezTo"===g[C].type)l+=" C"+parseInt(g[C].cubBzPt[0].x)*s+","+parseInt(g[C].cubBzPt[0].y)*u+" "+parseInt(g[C].cubBzPt[1].x)*s+","+parseInt(g[C].cubBzPt[1].y)*u+" "+parseInt(g[C].cubBzPt[2].x)*s+","+parseInt(g[C].cubBzPt[2].y)*u;else if("arcTo"===g[C].type){var E=parseInt(g[C].hR)*s,R=parseInt(g[C].wR)*u,O=parseInt(g[C].stAng)/6e4;l+=Yl(R,E,R,E,O,O+parseInt(g[C].swAng)/6e4,!1)}else"close"===g[C].type&&(l+="z");C++}}return l}(d,parseInt(z.cx)*zl,parseInt(z.cy)*zl);return ef(ef({},D),{},{type:"shape",shapType:"custom",path:j})}return ef(ef({},D),{},!h||"obj"!==a&&a?{type:"text",isVertical:B,rotate:s}:{type:"shape",shapType:h})}function Af(t,e,r){return Cf.apply(this,arguments)}function Cf(){return Cf=r(u.mark((function t(e,r,n){var a,i,o,s,l,f,c,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,M,L,I,B,D,z,j;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a="slideMasterBg"===n?r.masterResObj:"slideLayoutBg"===n?r.layoutResObj:r.slideResObj,i=e.attrs.order,o=e["p:blipFill"]["a:blip"].attrs["r:embed"],s=a[o].target,l=dl(s).toLowerCase(),f=r.zip,t.next=8,f.file(s).async("arraybuffer");case 8:if(c=t.sent,h=e["p:spPr"]["a:xfrm"],d=vl(l),p=jl(h,void 0,void 0),g=p.top,b=p.left,m=Fl(h,void 0,void 0),v=m.width,y=m.height,w="data:".concat(d,";base64,").concat(hl(c)),_="1"===gl(h,["attrs","flipV"]),k="1"===gl(h,["attrs","flipH"]),x=0,(S=gl(e,["p:spPr","a:xfrm","attrs","rot"]))&&(x=bl(S)),A=gl(e,["p:nvPicPr","p:nvPr","a:videoFile"]),M=!1,!A){t.next=36;break}if(C=A.attrs["r:link"],!yl(E=a[C].target)){t.next=29;break}E=ml(E),M=!0,t.next=36;break;case 29:if("mp4"!==(R=dl(E).toLowerCase())&&"webm"!==R&&"ogg"!==R){t.next=36;break}return t.next=33,f.file(E).async("arraybuffer");case 33:T=t.sent,O=vl(R),P=URL.createObjectURL(new Blob([T],{type:O}));case 36:if(!(L=gl(e,["p:nvPicPr","p:nvPr","a:audioFile"]))){t.next=46;break}if(I=L.attrs["r:link"],B=a[I].target,"mp3"!==(D=dl(B).toLowerCase())&&"wav"!==D&&"ogg"!==D){t.next=46;break}return t.next=44,f.file(B).async("arraybuffer");case 44:z=t.sent,j=URL.createObjectURL(new Blob([z]));case 46:if(!A||M){t.next=48;break}return t.abrupt("return",{type:"video",top:g,left:b,width:v,height:y,rotate:x,blob:P,order:i});case 48:if(!A||!M){t.next=50;break}return t.abrupt("return",{type:"video",top:g,left:b,width:v,height:y,rotate:x,src:E,order:i});case 50:if(!L){t.next=52;break}return t.abrupt("return",{type:"audio",top:g,left:b,width:v,height:y,rotate:x,blob:j,order:i});case 52:return t.abrupt("return",{type:"image",top:g,left:b,width:v,height:y,rotate:x,src:w,isFlipV:_,isFlipH:k,order:i});case 53:case"end":return t.stop()}}),t)}))),Cf.apply(this,arguments)}function Ef(t,e,r){return Rf.apply(this,arguments)}function Rf(){return Rf=r(u.mark((function t(e,r,n){var a,i,o;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=gl(e,["a:graphic","a:graphicData","attrs","uri"]),t.t0=a,t.next="http://schemas.openxmlformats.org/drawingml/2006/table"===t.t0?4:"http://schemas.openxmlformats.org/drawingml/2006/chart"===t.t0?6:"http://schemas.openxmlformats.org/drawingml/2006/diagram"===t.t0?10:"http://schemas.openxmlformats.org/presentationml/2006/ole"===t.t0?12:15;break;case 4:return i=Of(e,r),t.abrupt("break",15);case 6:return t.next=8,Tf(e,r);case 8:return i=t.sent,t.abrupt("break",15);case 10:return i=Mf(e,r),t.abrupt("break",15);case 12:return(o=gl(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))?wf(o,r,n):o=gl(e,["a:graphic","a:graphicData","p:oleObj"]),t.abrupt("break",15);case 15:return t.abrupt("return",i);case 16:case"end":return t.stop()}}),t)}))),Rf.apply(this,arguments)}function Of(t,e){var r,n,a=t.attrs.order,i=gl(t,["a:graphic","a:graphicData","a:tbl"]),o=gl(t,["p:xfrm"]),s=jl(o,void 0,void 0),u=s.top,l=s.left,f=Fl(o,void 0,void 0),c=f.width,h=f.height,d=gl(t,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),p=d.attrs?d.attrs.firstRow:void 0,g=d.attrs?d.attrs.firstCol:void 0,b=d.attrs?d.attrs.lastRow:void 0,m=d.attrs?d.attrs.lastCol:void 0,v=d.attrs?d.attrs.bandRow:void 0,y=d.attrs?d.attrs.bandCol:void 0,w={isFrstRowAttr:p&&"1"===p?1:0,isFrstColAttr:g&&"1"===g?1:0,isLstRowAttr:b&&"1"===b?1:0,isLstColAttr:m&&"1"===m?1:0,isBandRowAttr:v&&"1"===v?1:0,isBandColAttr:y&&"1"===y?1:0},_=d["a:tableStyleId"];if(_){var k=e.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(k)if(k.constructor===Array)for(var x=0;x<k.length;x++)k[x].attrs.styleId===_&&(r=k[x]);else k.attrs.styleId===_&&(r=k)}r&&(r.tblStylAttrObj=w);var S=gl(r,["a:wholeTbl","a:tcStyle"]),A=gl(S,["a:tcBdr"]);if(A){var C=function(t,e){var r={};if(t["a:bottom"]){var n=kl({"p:spPr":{"a:ln":t["a:bottom"]["a:ln"]}},void 0,e);r.bottom=n}if(t["a:top"]){var a=kl({"p:spPr":{"a:ln":t["a:top"]["a:ln"]}},void 0,e);r.top=a}if(t["a:right"]){var i=kl({"p:spPr":{"a:ln":t["a:right"]["a:ln"]}},void 0,e);r.right=i}if(t["a:left"]){var o=kl({"p:spPr":{"a:ln":t["a:left"]["a:ln"]}},void 0,e);r.left=o}return r}(A,e);C&&(n=C.bottom||C.left||C.right||C.top)}var E="",R=gl(r,["a:tblBg","a:fillRef"]);R&&(E=Ll(R,void 0,void 0,e)),void 0===R&&(E=Ll(R=gl(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,e));var O=i["a:tr"];O.constructor!==Array&&(O=[O]);for(var T=[],P=0;P<O.length;P++){var M=O[P],L=Vl(O,P,w,r,e),I=L.fillColor,B=L.fontColor,D=L.fontBold,z=M["a:tc"],j=[];if(z.constructor===Array)for(var F=0;F<z.length;F++){var N=z[F],U=void 0;if(0===F&&1===w.isFrstColAttr)U="a:firstCol",1===w.isLstRowAttr&&P===O.length-1&&gl(r,["a:seCell"])?U="a:seCell":1===w.isFrstRowAttr&&0===P&&gl(r,["a:neCell"])&&(U="a:neCell");else if(F>0&&1===w.isBandColAttr&&(1!==w.isFrstColAttr||0!==P)&&(1!==w.isLstRowAttr||P!==O.length-1)&&F!==z.length-1&&F%2!=0){var H=gl(r,["a:band2V"]);void 0===H?(H=gl(r,["a:band1V"]))&&(U="a:band2V"):U="a:band2V"}F===z.length-1&&1===w.isLstColAttr&&(U="a:lastCol",1===w.isLstRowAttr&&P===O.length-1&&gl(r,["a:swCell"])?U="a:swCell":1===w.isFrstRowAttr&&0===P&&gl(r,["a:nwCell"])&&(U="a:nwCell"));var W=Wl(N["a:txBody"],N,void 0,void 0,e),Z=Gl(N,r,U,e),q={text:W};Z.rowSpan&&(q.rowSpan=Z.rowSpan),Z.colSpan&&(q.colSpan=Z.colSpan),Z.vMerge&&(q.vMerge=Z.vMerge),Z.hMerge&&(q.hMerge=Z.hMerge),(Z.fontBold||D)&&(q.fontBold=Z.fontBold||D),(Z.fontColor||B)&&(q.fontColor=Z.fontColor||B),(Z.fillColor||I||E)&&(q.fillColor=Z.fillColor||I||E),j.push(q)}else{var Y=void 0;if(1===w.isFrstColAttr&&1!==w.isLstRowAttr)Y="a:firstCol";else if(1===w.isBandColAttr&&1!==w.isLstRowAttr){var G=gl(r,["a:band2V"]);(G||(G=gl(r,["a:band1V"])))&&(Y="a:band2V")}1===w.isLstColAttr&&1!==w.isLstRowAttr&&(Y="a:lastCol");var V=Wl(z["a:txBody"],z,void 0,void 0,e),K=Gl(z,r,Y,e),X={text:V};K.rowSpan&&(X.rowSpan=K.rowSpan),K.colSpan&&(X.colSpan=K.colSpan),K.vMerge&&(X.vMerge=K.vMerge),K.hMerge&&(X.hMerge=K.hMerge),(K.fontBold||D)&&(X.fontBold=K.fontBold||D),(K.fontColor||B)&&(X.fontColor=K.fontColor||B),(K.fillColor||I||E)&&(X.fillColor=K.fillColor||I||E),j.push(X)}T.push(j)}return ef({type:"table",top:u,left:l,width:c,height:h,data:T,order:a},n||{})}function Tf(t,e){return Pf.apply(this,arguments)}function Pf(){return Pf=r(u.mark((function t(e,r){var n,a,i,o,s,l,f,c,h,d,p,g,b,m;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.attrs.order,a=gl(e,["p:xfrm"]),i=jl(a,void 0,void 0),o=i.top,s=i.left,l=Fl(a,void 0,void 0),f=l.width,c=l.height,h=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],d=r.slideResObj[h].target,t.next=8,Eu(r.zip,d);case 8:if(p=t.sent,g=gl(p,["c:chartSpace","c:chart","c:plotArea"]),b=Bl(g)){t.next=13;break}return t.abrupt("return",{});case 13:return m={type:"chart",top:o,left:s,width:f,height:c,data:b.data,chartType:b.type,order:n},void 0!==b.marker&&(m.marker=b.marker),void 0!==b.barDir&&(m.barDir=b.barDir),void 0!==b.holeSize&&(m.holeSize=b.holeSize),void 0!==b.grouping&&(m.grouping=b.grouping),void 0!==b.style&&(m.style=b.style),t.abrupt("return",m);case 20:case"end":return t.stop()}}),t)}))),Pf.apply(this,arguments)}function Mf(t,e){var r=t.attrs.order,n=gl(t,["p:xfrm"]),a=jl(n,void 0,void 0),i=a.left,o=a.top,s=Fl(n,void 0,void 0),u=s.width,l=s.height,f=gl(e.digramFileContent,["p:drawing","p:spTree","p:sp"]),c=[];if(f){var h,d=rf(f);try{for(d.s();!(h=d.n()).done;){var p=kf(h.value,e,"diagramBg");p&&c.push(p)}}catch(t){d.e(t)}finally{d.f()}}return{type:"diagram",left:i,top:o,width:u,height:l,elements:c,order:r}}export{af as parse};
2
2
  //# sourceMappingURL=index.js.map