pptxtojson 1.2.0 → 1.2.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.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/wx.png +0 -0
- package/package.json +1 -1
- package/src/border.js +12 -2
- package/src/fill.js +16 -4
- package/src/pptxtojson.js +5 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pptxtojson={})}(this,(function(t){"use strict";function e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function r(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 n(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,u,"next",t)}function u(t){r(o,a,i,s,u,"throw",t)}s(void 0)}))}}var a="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 o={exports:{}},s={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}(s),function(t){var e=s.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",c=s.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=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={};f(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){f(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 c=l.arg,f=c.value;return f&&"object"==e(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):r.resolve(f).then((function(t){c.value=t,s(c)}),(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=f(m,c,"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,f(t,c,"GeneratorFunction")),t.prototype=Object.create(_),t},n.awrap=function(t){return{__await:t}},k(x.prototype),f(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(_),f(_,c,"Generator"),f(_,u,(function(){return this})),f(_,"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}(o);var u=o.exports(),l=u;try{regeneratorRuntime=u}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=u:Function("r","regeneratorRuntime = r")(u)}var c={},f={},h="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},d=[],p=[],g="undefined"!=typeof Uint8Array?Uint8Array:Array,b=!1;function m(){b=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)d[e]=t[e],p[t.charCodeAt(e)]=e;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63}function v(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(d[(a=n)>>18&63]+d[a>>12&63]+d[a>>6&63]+d[63&a]);return i.join("")}function y(t){var e;b||m();for(var r=t.length,n=r%3,a="",i=[],o=16383,s=0,u=r-n;s<u;s+=o)i.push(v(t,s,s+o>u?u:s+o));return 1===n?(e=t[r-1],a+=d[e>>2],a+=d[e<<4&63],a+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],a+=d[e>>10],a+=d[e>>4&63],a+=d[e<<2&63],a+="="),i.push(a),i.join("")}function w(t,e,r,n,a){var i,o,s=8*a-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?a-1:0,h=r?-1:1,d=t[e+f];for(f+=h,i=d&(1<<-c)-1,d>>=-c,c+=s;c>0;i=256*i+t[e+f],f+=h,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=n;c>0;o=256*o+t[e+f],f+=h,c-=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 _(t,e,r,n,a,i){var o,s,u,l=8*i-a-1,c=(1<<l)-1,f=c>>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=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(o++,u/=2),o+f>=c?(s=0,o=c):o+f>=1?(s=(e*u-1)*Math.pow(2,a),o+=f):(s=e*Math.pow(2,f-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 k={}.toString,x=Array.isArray||function(t){return"[object Array]"==k.call(t)};E.TYPED_ARRAY_SUPPORT=void 0===h.TYPED_ARRAY_SUPPORT||h.TYPED_ARRAY_SUPPORT;var S=A();function A(){return E.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function C(t,e){if(A()<e)throw new RangeError("Invalid typed array length");return E.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=E.prototype:(null===t&&(t=new E(e)),t.length=e),t}function E(t,e,r){if(!(E.TYPED_ARRAY_SUPPORT||this instanceof E))return new E(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 T(this,t)}return R(this,t,e,r)}function R(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);E.TYPED_ARRAY_SUPPORT?(t=e).__proto__=E.prototype:t=P(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!E.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|I(e,r),a=(t=C(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|L(e.length);return 0===(t=C(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?C(t,0):P(t,e);if("Buffer"===e.type&&x(e.data))return P(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function O(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 T(t,e){if(O(e),t=C(t,e<0?0:0|L(e)),!E.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function P(t,e){var r=e.length<0?0:0|L(e.length);t=C(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function L(t){if(t>=A())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A().toString(16)+" bytes");return 0|t}function M(t){return!(null==t||!t._isBuffer)}function I(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 st(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ut(t).length;default:if(n)return st(t).length;e=(""+e).toLowerCase(),n=!0}}function B(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 X(this,e,r);case"utf8":case"utf-8":return Y(this,e,r);case"ascii":return V(this,e,r);case"latin1":case"binary":return K(this,e,r);case"base64":return q(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function D(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function j(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=E.from(e,n)),M(e))return 0===e.length?-1:z(t,e,r,n,a);if("number"==typeof e)return e&=255,E.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 c=-1;for(i=r;i<s;i++)if(l(t,i)===l(e,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*o}else-1!==c&&(i-=i-c),c=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,h=0;h<u;h++)if(l(t,i+h)!==l(e,h)){f=!1;break}if(f)return i}return-1}function F(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 N(t,e,r,n){return lt(st(e,t.length-r),t,r,n)}function U(t,e,r,n){return lt(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function H(t,e,r,n){return U(t,e,r,n)}function W(t,e,r,n){return lt(ut(e),t,r,n)}function Z(t,e,r,n){return lt(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 q(t,e,r){return 0===e&&r===t.length?y(t):y(t.slice(e,r))}function Y(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var i,o,s,u,l=t[a],c=null,f=l>239?4:l>223?3:l>191?2:1;if(a+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(i=t[a+1]))&&(u=(31&l)<<6|63&i)>127&&(c=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)&&(c=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&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),a+=f}return function(t){var e=t.length;if(e<=G)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=G));return r}(n)}E.poolSize=8192,E._augment=function(t){return t.__proto__=E.prototype,t},E.from=function(t,e,r){return R(null,t,e,r)},E.TYPED_ARRAY_SUPPORT&&(E.prototype.__proto__=Uint8Array.prototype,E.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&E[Symbol.species]),E.alloc=function(t,e,r){return function(t,e,r,n){return O(e),e<=0?C(t,e):void 0!==r?"string"==typeof n?C(t,e).fill(r,n):C(t,e).fill(r):C(t,e)}(null,t,e,r)},E.allocUnsafe=function(t){return T(null,t)},E.allocUnsafeSlow=function(t){return T(null,t)},E.isBuffer=ct,E.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},E.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}},E.concat=function(t,e){if(!x(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return E.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=E.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},E.byteLength=I,E.prototype._isBuffer=!0,E.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)D(this,e,e+1);return this},E.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)D(this,e,e+3),D(this,e+1,e+2);return this},E.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)D(this,e,e+7),D(this,e+1,e+6),D(this,e+2,e+5),D(this,e+3,e+4);return this},E.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Y(this,0,t):B.apply(this,arguments)},E.prototype.equals=function(t){if(!M(t))throw new TypeError("Argument must be a Buffer");return this===t||0===E.compare(this,t)},E.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+">"},E.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),c=0;c<s;++c)if(u[c]!==l[c]){i=u[c],o=l[c];break}return i<o?-1:o<i?1:0},E.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},E.prototype.indexOf=function(t,e,r){return j(this,t,e,r,!0)},E.prototype.lastIndexOf=function(t,e,r){return j(this,t,e,r,!1)},E.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 F(this,t,e,r);case"utf8":case"utf-8":return N(this,t,e,r);case"ascii":return U(this,t,e,r);case"latin1":case"binary":return H(this,t,e,r);case"base64":return W(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var G=4096;function V(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 K(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 X(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+=ot(t[i]);return a}function $(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 J(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 Q(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 tt(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 et(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 rt(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 nt(t,e,r,n,a){return a||rt(t,0,r,4),_(t,e,r,n,23,4),r+4}function at(t,e,r,n,a){return a||rt(t,0,r,8),_(t,e,r,n,52,8),r+8}E.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),E.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=E.prototype;else{var a=e-t;r=new E(a,void 0);for(var i=0;i<a;++i)r[i]=this[i+t]}return r},E.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||J(t,e,this.length);for(var n=this[t],a=1,i=0;++i<e&&(a*=256);)n+=this[t+i]*a;return n},E.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||J(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},E.prototype.readUInt8=function(t,e){return e||J(t,1,this.length),this[t]},E.prototype.readUInt16LE=function(t,e){return e||J(t,2,this.length),this[t]|this[t+1]<<8},E.prototype.readUInt16BE=function(t,e){return e||J(t,2,this.length),this[t]<<8|this[t+1]},E.prototype.readUInt32LE=function(t,e){return e||J(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},E.prototype.readUInt32BE=function(t,e){return e||J(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},E.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||J(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},E.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||J(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},E.prototype.readInt8=function(t,e){return e||J(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},E.prototype.readInt16LE=function(t,e){e||J(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},E.prototype.readInt16BE=function(t,e){e||J(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},E.prototype.readInt32LE=function(t,e){return e||J(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},E.prototype.readInt32BE=function(t,e){return e||J(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},E.prototype.readFloatLE=function(t,e){return e||J(t,4,this.length),w(this,t,!0,23,4)},E.prototype.readFloatBE=function(t,e){return e||J(t,4,this.length),w(this,t,!1,23,4)},E.prototype.readDoubleLE=function(t,e){return e||J(t,8,this.length),w(this,t,!0,52,8)},E.prototype.readDoubleBE=function(t,e){return e||J(t,8,this.length),w(this,t,!1,52,8)},E.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Q(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},E.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Q(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},E.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,1,255,0),E.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},E.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tt(this,t,e,!0),e+2},E.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tt(this,t,e,!1),e+2},E.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):et(this,t,e,!0),e+4},E.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):et(this,t,e,!1),e+4},E.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);Q(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},E.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);Q(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},E.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,1,127,-128),E.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},E.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tt(this,t,e,!0),e+2},E.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tt(this,t,e,!1),e+2},E.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,2147483647,-2147483648),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):et(this,t,e,!0),e+4},E.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):et(this,t,e,!1),e+4},E.prototype.writeFloatLE=function(t,e,r){return nt(this,t,e,!0,r)},E.prototype.writeFloatBE=function(t,e,r){return nt(this,t,e,!1,r)},E.prototype.writeDoubleLE=function(t,e,r){return at(this,t,e,!0,r)},E.prototype.writeDoubleBE=function(t,e,r){return at(this,t,e,!1,r)},E.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||!E.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},E.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&&!E.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:st(new E(t,n).toString()),s=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};var it=/[^+\/0-9A-Za-z-_]/g;function ot(t){return t<16?"0"+t.toString(16):t.toString(16)}function st(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 ut(t){return function(t){var e,r,n,a,i,o;b||m();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 g(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=p[t.charCodeAt(e)]<<18|p[t.charCodeAt(e+1)]<<12|p[t.charCodeAt(e+2)]<<6|p[t.charCodeAt(e+3)],o[u++]=a>>16&255,o[u++]=a>>8&255,o[u++]=255&a;return 2===i?(a=p[t.charCodeAt(e)]<<2|p[t.charCodeAt(e+1)]>>4,o[u++]=255&a):1===i&&(a=p[t.charCodeAt(e)]<<10|p[t.charCodeAt(e+1)]<<4|p[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(it,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function lt(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 ct(t){return null!=t&&(!!t._isBuffer||ft(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&ft(t.slice(0,0))}(t))}function ft(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var ht=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:S,Buffer:E,SlowBuffer:function(t){return+t!=t&&(t=0),E.alloc(+t)},isBuffer:ct}),dt={};function pt(){throw new Error("setTimeout has not been defined")}function gt(){throw new Error("clearTimeout has not been defined")}var bt=pt,mt=gt;function vt(t){if(bt===setTimeout)return setTimeout(t,0);if((bt===pt||!bt)&&setTimeout)return bt=setTimeout,setTimeout(t,0);try{return bt(t,0)}catch(e){try{return bt.call(null,t,0)}catch(e){return bt.call(this,t,0)}}}"function"==typeof h.setTimeout&&(bt=setTimeout),"function"==typeof h.clearTimeout&&(mt=clearTimeout);var yt,wt=[],_t=!1,kt=-1;function xt(){_t&&yt&&(_t=!1,yt.length?wt=yt.concat(wt):kt=-1,wt.length&&St())}function St(){if(!_t){var t=vt(xt);_t=!0;for(var e=wt.length;e;){for(yt=wt,wt=[];++kt<e;)yt&&yt[kt].run();kt=-1,e=wt.length}yt=null,_t=!1,function(t){if(mt===clearTimeout)return clearTimeout(t);if((mt===gt||!mt)&&clearTimeout)return mt=clearTimeout,clearTimeout(t);try{mt(t)}catch(e){try{return mt.call(null,t)}catch(e){return mt.call(this,t)}}}(t)}}function At(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];wt.push(new Ct(t,e)),1!==wt.length||_t||vt(St)}function Ct(t,e){this.fun=t,this.array=e}Ct.prototype.run=function(){this.fun.apply(null,this.array)};function Et(){}var Rt=Et,Ot=Et,Tt=Et,Pt=Et,Lt=Et,Mt=Et,It=Et;var Bt=h.performance||{},Dt=Bt.now||Bt.mozNow||Bt.msNow||Bt.oNow||Bt.webkitNow||function(){return(new Date).getTime()};var jt=new Date;var zt={nextTick:At,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Rt,addListener:Ot,once:Tt,off:Pt,removeListener:Lt,removeAllListeners:Mt,emit:It,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*Dt.call(Bt),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-jt)/1e3}},Ft={exports:{}};function Nt(){}function Ut(){Ut.init.call(this)}function Ht(t){return void 0===t._maxListeners?Ut.defaultMaxListeners:t._maxListeners}function Wt(t,e,r){if(e)t.call(r);else for(var n=t.length,a=$t(t,n),i=0;i<n;++i)a[i].call(r)}function Zt(t,e,r,n){if(e)t.call(r,n);else for(var a=t.length,i=$t(t,a),o=0;o<a;++o)i[o].call(r,n)}function qt(t,e,r,n,a){if(e)t.call(r,n,a);else for(var i=t.length,o=$t(t,i),s=0;s<i;++s)o[s].call(r,n,a)}function Yt(t,e,r,n,a,i){if(e)t.call(r,n,a,i);else for(var o=t.length,s=$t(t,o),u=0;u<o;++u)s[u].call(r,n,a,i)}function Gt(t,e,r,n){if(e)t.apply(r,n);else for(var a=t.length,i=$t(t,a),o=0;o<a;++o)i[o].apply(r,n)}function Vt(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 Nt,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=Ht(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 Kt(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 Xt(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 $t(t,e){for(var r=new Array(e);e--;)r[e]=t[e];return r}Nt.prototype=Object.create(null),Ut.EventEmitter=Ut,Ut.usingDomains=!1,Ut.prototype.domain=void 0,Ut.prototype._events=void 0,Ut.prototype._maxListeners=void 0,Ut.defaultMaxListeners=10,Ut.init=function(){this.domain=null,Ut.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Nt,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ut.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},Ut.prototype.getMaxListeners=function(){return Ht(this)},Ut.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 c="function"==typeof r;switch(n=arguments.length){case 1:Wt(r,c,this);break;case 2:Zt(r,c,this,arguments[1]);break;case 3:qt(r,c,this,arguments[1],arguments[2]);break;case 4:Yt(r,c,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];Gt(r,c,this,a)}return!0},Ut.prototype.addListener=function(t,e){return Vt(this,t,e,!1)},Ut.prototype.on=Ut.prototype.addListener,Ut.prototype.prependListener=function(t,e){return Vt(this,t,e,!0)},Ut.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,Kt(this,t,e)),this},Ut.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,Kt(this,t,e)),this},Ut.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 Nt:(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 Nt,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},Ut.prototype.removeAllListeners=function(t){var e,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new Nt,this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=new Nt: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 Nt,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},Ut.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},Ut.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):Xt.call(t,e)},Ut.prototype.listenerCount=Xt,Ut.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Jt=Object.freeze({__proto__:null,default:Ut,EventEmitter:Ut}),Qt="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},te=/%[sdj%]/g;function ee(t){if(!me(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(oe(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,a=n.length,i=String(t).replace(te,(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])pe(o)||!_e(o)?i+=" "+o:i+=" "+oe(o);return i}function re(t,e){if(ye(h.process))return function(){return re(t,e).apply(this,arguments)};if(!0===zt.noDeprecation)return t;var r=!1;return function(){if(!r){if(zt.throwDeprecation)throw new Error(e);zt.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}}var ne,ae={};function ie(t){if(ye(ne)&&(ne=zt.env.NODE_DEBUG||""),t=t.toUpperCase(),!ae[t])if(new RegExp("\\b"+t+"\\b","i").test(ne)){ae[t]=function(){var e=ee.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else ae[t]=function(){};return ae[t]}function oe(t,e){var r={seen:[],stylize:ue};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),de(e)?r.showHidden=e:e&&Le(r,e),ye(r.showHidden)&&(r.showHidden=!1),ye(r.depth)&&(r.depth=2),ye(r.colors)&&(r.colors=!1),ye(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=se),le(r,t,r.depth)}function se(t,e){var r=oe.styles[e];return r?"["+oe.colors[r][0]+"m"+t+"["+oe.colors[r][1]+"m":t}function ue(t,e){return t}function le(t,e,r){if(t.customInspect&&e&&Se(e.inspect)&&e.inspect!==oe&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return me(n)||(n=le(t,n,r)),n}var a=function(t,e){if(ye(e))return t.stylize("undefined","undefined");if(me(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(be(e))return t.stylize(""+e,"number");if(de(e))return t.stylize(""+e,"boolean");if(pe(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)),xe(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ce(e);if(0===i.length){if(Se(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(we(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(ke(e))return t.stylize(Date.prototype.toString.call(e),"date");if(xe(e))return ce(e)}var u,l="",c=!1,f=["{","}"];(he(e)&&(c=!0,f=["[","]"]),Se(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return we(e)&&(l=" "+RegExp.prototype.toString.call(e)),ke(e)&&(l=" "+Date.prototype.toUTCString.call(e)),xe(e)&&(l=" "+ce(e)),0!==i.length||c&&0!=e.length?r<0?we(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=c?function(t,e,r,n,a){for(var i=[],o=0,s=e.length;o<s;++o)Me(e,String(o))?i.push(fe(t,e,r,n,String(o),!0)):i.push("");return a.forEach((function(a){a.match(/^\d+$/)||i.push(fe(t,e,r,n,a,!0))})),i}(t,e,r,o,i):i.map((function(n){return fe(t,e,r,o,n,c)})),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,f)):f[0]+l+f[1]}function ce(t){return"["+Error.prototype.toString.call(t)+"]"}function fe(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")),Me(n,a)||(o="["+a+"]"),s||(t.seen.indexOf(u.value)<0?(s=pe(r)?le(t,u.value,null):le(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")),ye(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 he(t){return Array.isArray(t)}function de(t){return"boolean"==typeof t}function pe(t){return null===t}function ge(t){return null==t}function be(t){return"number"==typeof t}function me(t){return"string"==typeof t}function ve(t){return"symbol"==typeof t}function ye(t){return void 0===t}function we(t){return _e(t)&&"[object RegExp]"===Ee(t)}function _e(t){return"object"==typeof t&&null!==t}function ke(t){return _e(t)&&"[object Date]"===Ee(t)}function xe(t){return _e(t)&&("[object Error]"===Ee(t)||t instanceof Error)}function Se(t){return"function"==typeof t}function Ae(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function Ce(t){return ct(t)}function Ee(t){return Object.prototype.toString.call(t)}function Re(t){return t<10?"0"+t.toString(10):t.toString(10)}oe.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]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Oe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Te(){var t=new Date,e=[Re(t.getHours()),Re(t.getMinutes()),Re(t.getSeconds())].join(":");return[t.getDate(),Oe[t.getMonth()],e].join(" ")}function Pe(){console.log("%s - %s",Te(),ee.apply(null,arguments))}function Le(t,e){if(!e||!_e(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Me(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ie={inherits:Qt,_extend:Le,log:Pe,isBuffer:Ce,isPrimitive:Ae,isFunction:Se,isError:xe,isDate:ke,isObject:_e,isRegExp:we,isUndefined:ye,isSymbol:ve,isString:me,isNumber:be,isNullOrUndefined:ge,isNull:pe,isBoolean:de,isArray:he,inspect:oe,deprecate:re,format:ee,debuglog:ie},Be=Object.freeze({__proto__:null,format:ee,deprecate:re,debuglog:ie,inspect:oe,isArray:he,isBoolean:de,isNull:pe,isNullOrUndefined:ge,isNumber:be,isString:me,isSymbol:ve,isUndefined:ye,isRegExp:we,isObject:_e,isDate:ke,isError:xe,isFunction:Se,isPrimitive:Ae,isBuffer:Ce,log:Pe,inherits:Qt,_extend:Le,default:Ie});function De(){this.head=null,this.tail=null,this.length=0}De.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},De.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},De.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}},De.prototype.clear=function(){this.head=this.tail=null,this.length=0},De.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},De.prototype.concat=function(t){if(0===this.length)return E.alloc(0);if(1===this.length)return this.head.data;for(var e=E.allocUnsafe(t>>>0),r=this.head,n=0;r;)r.data.copy(e,n),n+=r.data.length,r=r.next;return e};var je=E.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 ze(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!je(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=Ne;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Ue;break;default:return void(this.write=Fe)}this.charBuffer=new E(6),this.charReceived=0,this.charLength=0}function Fe(t){return t.toString(this.encoding)}function Ne(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function Ue(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}ze.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},ze.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},ze.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},Ze.ReadableState=We;var He=ie("stream");function We(t,e){t=t||{},this.objectMode=!!t.objectMode,e instanceof vr&&(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 De,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 ze(t.encoding),this.encoding=t.encoding)}function Ze(t){if(!(this instanceof Ze))return new Ze(t);this._readableState=new We(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),Ut.call(this)}function qe(t,e,r,n,a){var i=function(t,e){var r=null;ct(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,Ve(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&&Ve(t))),function(t,e){e.readingMore||(e.readingMore=!0,At(Xe,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)}Qt(Ze,Ut),Ze.prototype.push=function(t,e){var r=this._readableState;return r.objectMode||"string"!=typeof t||(e=e||r.defaultEncoding)!==r.encoding&&(t=E.from(t,e),e=""),qe(this,r,t,e,!1)},Ze.prototype.unshift=function(t){return qe(this,this._readableState,t,"",!0)},Ze.prototype.isPaused=function(){return!1===this._readableState.flowing},Ze.prototype.setEncoding=function(t){return this._readableState.decoder=new ze(t),this._readableState.encoding=t,this};var Ye=8388608;function Ge(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>=Ye?t=Ye:(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 Ve(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(He("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?At(Ke,t):Ke(t))}function Ke(t){He("emit readable"),t.emit("readable"),Qe(t)}function Xe(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(He("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function $e(t){He("readable nexttick read 0"),t.read(0)}function Je(t,e){e.reading||(He("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),Qe(t),e.flowing&&!e.reading&&t.read(0)}function Qe(t){var e=t._readableState;for(He("flow",e.flowing);e.flowing&&null!==t.read(););}function tr(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=E.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 er(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,At(rr,e,t))}function rr(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function nr(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function ar(){}function ir(t,e,r){this.chunk=t,this.encoding=e,this.callback=r,this.next=null}function or(t,e){Object.defineProperty(this,"buffer",{get:re((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),t=t||{},this.objectMode=!!t.objectMode,e instanceof vr&&(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?At(a,n):a(n);t._writableState.errorEmitted=!0,t.emit("error",n)}(t,r,n,e,a);else{var i=fr(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||cr(t,r),n?At(lr,t,r,i,a):lr(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 pr(this)}function sr(t){if(!(this instanceof sr||this instanceof vr))return new sr(t);this._writableState=new or(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),Ut.call(this)}function ur(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 lr(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),dr(t,e)}function cr(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;ur(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 pr(e)}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback;if(ur(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 fr(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function hr(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function dr(t,e){var r=fr(e);return r&&(0===e.pendingcb?(hr(t,e),e.finished=!0,t.emit("finish")):hr(t,e)),r}function pr(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}}Ze.prototype.read=function(t){He("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 He("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?er(this):Ve(this),null;if(0===(t=Ge(t,e))&&e.ended)return 0===e.length&&er(this),null;var n,a=e.needReadable;return He("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&He("length less than watermark",a=!0),e.ended||e.reading?He("reading or ended",a=!1):a&&(He("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Ge(r,e))),null===(n=t>0?tr(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&er(this)),null!==n&&this.emit("data",n),n},Ze.prototype._read=function(t){this.emit("error",new Error("not implemented"))},Ze.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,He("pipe count=%d opts=%j",n.pipesCount,e);var a=!e||!1!==e.end?o:l;function i(t){He("onunpipe"),t===r&&l()}function o(){He("onend"),t.end()}n.endEmitted?At(a):r.once("end",a),t.on("unpipe",i);var s=function(t){return function(){var e=t._readableState;He("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&t.listeners("data").length&&(e.flowing=!0,Qe(t))}}(r);t.on("drain",s);var u=!1;function l(){He("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",f),u=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||s()}var c=!1;function f(e){He("ondata"),c=!1,!1!==t.write(e)||c||((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==nr(n.pipes,t))&&!u&&(He("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,c=!0),r.pause())}function h(e){var r;He("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(){He("onfinish"),t.removeListener("close",d),g()}function g(){He("unpipe"),r.unpipe(t)}return r.on("data",f),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||(He("pipe resume"),r.resume()),t},Ze.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=nr(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},Ze.prototype.on=function(t,e){var r=Ut.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&&Ve(this):At($e,this))}return r},Ze.prototype.addListener=Ze.prototype.on,Ze.prototype.resume=function(){var t=this._readableState;return t.flowing||(He("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,At(Je,t,e))}(this,t)),this},Ze.prototype.pause=function(){return He("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(He("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Ze.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;for(var a in t.on("end",(function(){if(He("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){(He("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){He("wrapped _read",e),r&&(r=!1,t.resume())},n},Ze._fromList=tr,sr.WritableState=or,Qt(sr,Ut),or.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},sr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},sr.prototype.write=function(t,e,r){var n=this._writableState,a=!1;return"function"==typeof e&&(r=e,e=null),E.isBuffer(t)?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=ar),n.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),At(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"):E.isBuffer(r)||"string"==typeof r||void 0===r||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(t.emit("error",i),At(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=E.from(e,r));return e}(e,r,n),E.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 ir(r,n,a),s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else ur(t,e,!1,i,r,n,a);return o}(this,n,t,e,r)),a},sr.prototype.cork=function(){this._writableState.corked++},sr.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||cr(this,t))},sr.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},sr.prototype._write=function(t,e,r){r(new Error("not implemented"))},sr.prototype._writev=null,sr.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,dr(t,e),r&&(e.finished?At(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Qt(vr,Ze);for(var gr=Object.keys(sr.prototype),br=0;br<gr.length;br++){var mr=gr[br];vr.prototype[mr]||(vr.prototype[mr]=sr.prototype[mr])}function vr(t){if(!(this instanceof vr))return new vr(t);Ze.call(this,t),sr.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",yr)}function yr(){this.allowHalfOpen||this._writableState.ended||At(wr,this)}function wr(t){t.end()}function _r(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 kr(t){if(!(this instanceof kr))return new kr(t);vr.call(this,t),this._transformState=new _r(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){xr(e,t)})):xr(e)}))}function xr(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 Sr(t){if(!(this instanceof Sr))return new Sr(t);kr.call(this,t)}function Ar(){Ut.call(this)}Qt(kr,vr),kr.prototype.push=function(t,e){return this._transformState.needTransform=!1,vr.prototype.push.call(this,t,e)},kr.prototype._transform=function(t,e,r){throw new Error("Not implemented")},kr.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)}},kr.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},Qt(Sr,kr),Sr.prototype._transform=function(t,e,r){r(null,t)},Qt(Ar,Ut),Ar.Readable=Ze,Ar.Writable=sr,Ar.Duplex=vr,Ar.Transform=kr,Ar.PassThrough=Sr,Ar.Stream=Ar,Ar.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===Ut.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 Cr,Er,Rr,Or=i(Object.freeze({__proto__:null,default:Ar,Readable:Ze,Writable:sr,Duplex:vr,Transform:kr,PassThrough:Sr,Stream:Ar})),Tr={exports:{}};function Pr(){if(Cr)return Tr.exports;return Cr=1,void 0===zt||!zt.version||0===zt.version.indexOf("v0.")||0===zt.version.indexOf("v1.")&&0!==zt.version.indexOf("v1.8.")?Tr.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 At(t);case 2:return At((function(){t.call(null,e)}));case 3:return At((function(){t.call(null,e,r)}));case 4:return At((function(){t.call(null,e,r,n)}));default:for(a=new Array(o-1),i=0;i<a.length;)a[i++]=arguments[i];return At((function(){t.apply(null,a)}))}}}:Tr.exports=zt,Tr.exports}var Lr,Mr=i(Jt),Ir={exports:{}};function Br(){return Lr||(Lr=1,function(t){t.exports=Or}(Ir)),Ir.exports}var Dr,jr={exports:{}},zr=i(ht);function Fr(){return Dr||(Dr=1,function(t,e){var r=zr,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)}}(jr,jr.exports)),jr.exports}var Nr,Ur={};function Hr(){if(Nr)return Ur;function t(t){return Object.prototype.toString.call(t)}return Nr=1,Ur.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},Ur.isBoolean=function(t){return"boolean"==typeof t},Ur.isNull=function(t){return null===t},Ur.isNullOrUndefined=function(t){return null==t},Ur.isNumber=function(t){return"number"==typeof t},Ur.isString=function(t){return"string"==typeof t},Ur.isSymbol=function(t){return"symbol"==typeof t},Ur.isUndefined=function(t){return void 0===t},Ur.isRegExp=function(e){return"[object RegExp]"===t(e)},Ur.isObject=function(t){return"object"==typeof t&&null!==t},Ur.isDate=function(e){return"[object Date]"===t(e)},Ur.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},Ur.isFunction=function(t){return"function"==typeof t},Ur.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},Ur.isBuffer=zr.Buffer.isBuffer,Ur}var Wr,Zr,qr={exports:{}},Yr=i(Be),Gr={exports:{}};function Vr(){return Zr||(Zr=1,function(t){try{var e=Yr;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=(Wr||(Wr=1,"function"==typeof Object.create?Gr.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Gr.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),Gr.exports)}}(qr)),qr.exports}var Kr,Xr,$r,Jr,Qr,tn,en,rn,nn,an={exports:{}};function on(){return Kr||(Kr=1,function(t){var e=Fr().Buffer,r=Yr;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})}(an)),an.exports}function sn(){if($r)return Xr;$r=1;var t=Pr();function e(t,e){t.emit("error",e)}return Xr={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)}},Xr}function un(){if(en)return tn;en=1;var t=Pr();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)}}tn=p;var r,n=t.nextTick;p.WritableState=d;var i=Object.create(Hr());i.inherits=Vr();var o={deprecate:Qr?Jr:(Qr=1,Jr=Yr.deprecate)},s=Br(),u=Fr().Buffer,l=a.Uint8Array||function(){};var c,f=sn();function h(){}function d(a,i){r=r||ln(),a=a||{};var o=i instanceof r;this.objectMode=!!a.objectMode,o&&(this.objectMode=this.objectMode||!!a.writableObjectMode);var s=a.highWaterMark,u=a.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 c=!1===a.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=a.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 a=e._writableState,i=a.sync,o=a.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(a),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,a,i,r,o);else{var s=v(a);s||a.corked||a.bufferProcessing||!a.bufferedRequest||m(e,a),i?n(b,e,a,s,o):b(e,a,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||ln(),!(c.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,c=n.encoding,f=n.callback;if(g(t,r,!1,r.objectMode?1:l.length,l,c,f),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]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(t){return!!c.call(this,t)||this===p&&(t&&t._writableState instanceof d)}})):c=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 c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:i,next:null},c?c.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=f.destroy,p.prototype._undestroy=f.undestroy,p.prototype._destroy=function(t,e){this.end(),e(t)},tn}function ln(){if(nn)return rn;nn=1;var t=Pr(),e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};rn=u;var r=Object.create(Hr());r.inherits=Vr();var n=wn(),a=un();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(c,this)}function c(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)},rn}var cn,fn,hn,dn,pn,gn,bn,mn,vn={};function yn(){if(cn)return vn;cn=1;var t=Fr().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=c)}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 c(t){return t&&t.length?this.write(t):""}return vn.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},vn}function wn(){if(hn)return fn;hn=1;var t=Pr();fn=b;var e,r=function(){if(Rr)return Er;Rr=1;var t={}.toString;return Er=Array.isArray||function(e){return"[object Array]"==t.call(e)}}();b.ReadableState=g,Mr.EventEmitter;var n=function(t,e){return t.listeners(e).length},i=Br(),o=Fr().Buffer,s=a.Uint8Array||function(){};var u=Object.create(Hr());u.inherits=Vr();var l=Yr,c=void 0;c=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h=on(),d=sn();u.inherits(b,i);var p=["error","close","destroy","pause","resume"];function g(t,r){t=t||{};var n=r instanceof(e=e||ln());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&&(f||(f=yn().StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function b(t){if(e=e||ln(),!(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 f||(f=yn().StringDecoder),this._readableState.decoder=new f(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||(c("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?t.nextTick(k,e):k(e))}function k(t){c("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&&(c("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function A(t){c("readable nexttick read 0"),t.read(0)}function C(t,e){e.reading||(c("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(c("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){c("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 c("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 c("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&c("length less than watermark",a=!0),e.ended||e.reading?c("reading or ended",a=!1):a&&(c("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,a){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,c("pipe count=%d opts=%j",o.pipesCount,a);var s=(!a||!1!==a.end)&&e!==zt.stdout&&e!==zt.stderr?l:v;function u(t,r){c("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",f),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||f())}function l(){c("onend"),e.end()}o.endEmitted?t.nextTick(s):i.once("end",s),e.on("unpipe",u);var f=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&n(t,"data")&&(e.flowing=!0,E(t))}}(i);e.on("drain",f);var h=!1;var d=!1;function p(t){c("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==P(o.pipes,e))&&!h&&(c("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,d=!0),i.pause())}function g(t){c("onerror",t),v(),e.removeListener("error",g),0===n(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",m),v()}function m(){c("onfinish"),e.removeListener("close",b),v()}function v(){c("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||(c("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||(c("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 c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("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(c("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){(c("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){c("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,fn}function _n(){if(pn)return dn;pn=1,dn=n;var t=ln(),e=Object.create(Hr());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=Vr(),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")}))},dn}function kn(){return mn||(mn=1,function(t,e){var r=Or;"disable"===zt.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=wn()).Stream=r||e,e.Readable=e,e.Writable=un(),e.Duplex=ln(),e.Transform=_n(),e.PassThrough=function(){if(bn)return gn;bn=1,gn=r;var t=_n(),e=Object.create(Hr());function r(e){if(!(this instanceof r))return new r(e);t.call(this,e)}return e.inherits=Vr(),e.inherits(r,t),r.prototype._transform=function(t,e,r){r(null,t)},gn}())}(Ft,Ft.exports)),Ft.exports}if(dt.base64=!0,dt.array=!0,dt.string=!0,dt.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,dt.nodebuffer=!0,dt.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)dt.blob=!1;else{var xn=new ArrayBuffer(0);try{dt.blob=0===new Blob([xn],{type:"application/zip"}).size}catch(t){try{var Sn=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Sn.append(xn),dt.blob=0===Sn.getBlob("application/zip").size}catch(t){dt.blob=!1}}}try{dt.nodestream=!!kn().Readable}catch(t){dt.nodestream=!1}var An,Cn={};function En(){if(An)return Cn;An=1;var t=Dn(),e=dt,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return Cn.encode=function(e){for(var n,a,i,o,s,u,l,c=[],f=0,h=e.length,d=h,p="string"!==t.getTypeOf(e);f<e.length;)d=h-f,p?(n=e[f++],a=f<h?e[f++]:0,i=f<h?e[f++]:0):(n=e.charCodeAt(f++),a=f<h?e.charCodeAt(f++):0,i=f<h?e.charCodeAt(f++):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,c.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return c.join("")},Cn.decode=function(t){var n,a,i,o,s,u,l=0,c=0,f="data:";if(t.substr(0,f.length)===f)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[c++]=n,64!==s&&(h[c++]=a),64!==u&&(h[c++]=i);return h},Cn}var Rn,On,Tn,Pn,Ln={isNode:!0,newBufferFrom:function(t,e){if(E.from&&E.from!==Uint8Array.from)return E.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new E(t,e)},allocBuffer:function(t){if(E.alloc)return E.alloc(t);var e=new E(t);return e.fill(0),e},isBuffer:function(t){return ct(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}};var Mn=null;Mn="undefined"!=typeof Promise?Promise:function(){if(Pn)return Tn;Pn=1;var t=function(){if(On)return Rn;On=1;var t,e,r=a.MutationObserver||a.WebKitMutationObserver;if(r){var n=0,i=new r(l),o=a.document.createTextNode("");i.observe(o,{characterData:!0}),t=function(){o.data=n=++n%2}}else if(a.setImmediate||void 0===a.MessageChannel)t="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var t=a.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},a.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var s=new a.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 Rn=function(r){1!==u.push(r)||e||t()}}();function e(){}var r={},n=["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&&f(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 c(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(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 Tn=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===n)return this;var a=new this.constructor(e);return this.state!==o?l(a,this.state===i?t:r,this.outcome):this.queue.push(new u(a,t,r)),a},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(c,e);if("error"===n.status)return r.reject(t,n.value);var a=n.value;if(a)f(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=n,t.outcome=e;for(var r=-1,a=t.queue.length;++r<a;)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;)c(t[u],u);return l;function c(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},Tn}();var In,Bn={Promise:Mn};function Dn(){return In||(In=1,function(t){var e=dt,r=En(),n=Ln,a=Bn;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 c={};c.string={string:i,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return c.string.uint8array(t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:function(t){return o(t,n.allocBuffer(t.length))}},c.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)}},c.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))}},c.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)}},c.nodebuffer={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return c.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 c[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 c,f=t.getTypeOf(i);return f?("arraybuffer"===f?i=t.transformTo("uint8array",i):"string"===f&&(l?i=r.decode(i):s&&!0!==u&&(i=o(c=i,e.uint8array?new Uint8Array(c.length):new Array(c.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 jn(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,c=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){At((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)}):c&&"onreadystatechange"in c.createElement("script")?(n=c.documentElement,r=function(t){var e=c.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,"*")}),f.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++},f.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?a:self),jn.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 zn=jn;!function(t){for(var e=Dn(),r=dt,n=Ln,a=zn,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}(c);var Fn=zn,Nn=Dn();function Un(t){Fn.call(this,"ConvertWorker to "+t),this.destType=t}Nn.inherits(Un,Fn),Un.prototype.processChunk=function(t){this.push({data:Nn.transformTo(this.destType,t.data),meta:t.meta})};var Hn,Wn,Zn=Un;var qn=Dn(),Yn=Zn,Gn=zn,Vn=En(),Kn=Bn,Xn=null;if(dt.nodestream)try{Xn=function(){if(Wn)return Hn;Wn=1;var t=kn().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 Dn().inherits(e,t),e.prototype._read=function(){this._helper.resume()},Hn=e}()}catch(t){}function $n(t,e){return new Kn.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 qn.newBlob(qn.transformTo("arraybuffer",e),r);case"base64":return Vn.encode(e);default:return qn.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 E.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(i,a),s);r(t)}catch(t){n(t)}a=[]})).resume()}))}function Jn(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,qn.checkSupport(n),this._worker=t.pipe(new Yn(n)),t.lock()}catch(t){this._worker=new Gn("error"),this._worker.error(t)}}Jn.prototype={accumulate:function(t){return $n(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(){qn.delay(e,arguments,r)})),this},resume:function(){return qn.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(qn.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new Xn(this,{objectMode:"nodebuffer"!==this._outputType},t)}};var Qn=Jn,ta={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},ea=Dn(),ra=zn;function na(t){ra.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=ea.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}ea.inherits(na,ra),na.prototype.cleanUp=function(){ra.prototype.cleanUp.call(this),this.data=null},na.prototype.resume=function(){return!!ra.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ea.delay(this._tickAndRepeat,[],this)),!0)},na.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ea.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},na.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 aa=na,ia=Dn();var oa=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 sa=function(t,e){return void 0!==t&&t.length?"string"!==ia.getTypeOf(t)?function(t,e,r,n){var a=oa,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=oa,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},ua=zn,la=sa;function ca(){ua.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Dn().inherits(ca,ua),ca.prototype.processChunk=function(t){this.streamInfo.crc32=la(t.data,this.streamInfo.crc32||0),this.push(t)};var fa=ca,ha=Dn(),da=zn;function pa(t){da.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}ha.inherits(pa,da),pa.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}da.prototype.processChunk.call(this,t)};var ga=Bn,ba=aa,ma=fa,va=pa;function ya(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}ya.prototype={getContentWorker:function(){var t=new ba(ga.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new va("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 ba(ga.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},ya.createWorkerFrom=function(t,e,r){return t.pipe(new ma).pipe(new va("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new va("compressedSize")).withStreamInfo("compression",e)};var wa=ya,_a=Qn,ka=aa,xa=c,Sa=wa,Aa=zn,Ca=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}};Ca.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 xa.Utf8EncodeWorker)),!a&&n&&(e=e.pipe(new xa.Utf8DecodeWorker))}catch(t){(e=new Aa("error")).error(t)}return new _a(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 Sa&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new xa.Utf8EncodeWorker)),Sa.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof Sa?this._data.getContentWorker():this._data instanceof Aa?this._data:new ka(this._data)}};for(var Ea=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ra=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Oa=0;Oa<Ea.length;Oa++)Ca.prototype[Ea[Oa]]=Ra;var Ta=Ca,Pa={},La={},Ma={},Ia={};!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)}(Ia);var Ba={},Da={},ja={},za=Ia;function Fa(t){for(var e=t.length;--e>=0;)t[e]=0}var Na=256,Ua=286,Ha=30,Wa=15,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],qa=[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],Ya=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ga=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Va=new Array(576);Fa(Va);var Ka=new Array(60);Fa(Ka);var Xa=new Array(512);Fa(Xa);var $a=new Array(256);Fa($a);var Ja=new Array(29);Fa(Ja);var Qa,ti,ei,ri=new Array(Ha);function ni(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 ai(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function ii(t){return t<256?Xa[t]:Xa[256+(t>>>7)]}function oi(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function si(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,oi(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 ui(t,e,r){si(t,r[2*e],r[2*e+1])}function li(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function ci(t,e,r){var n,a,i=new Array(16),o=0;for(n=1;n<=Wa;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]=li(i[s]++,s))}}function fi(t){var e;for(e=0;e<Ua;e++)t.dyn_ltree[2*e]=0;for(e=0;e<Ha;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 hi(t){t.bi_valid>8?oi(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 di(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 pi(t,e,r){for(var n=t.heap[r],a=r<<1;a<=t.heap_len&&(a<t.heap_len&&di(e,t.heap[a+1],t.heap[a],t.depth)&&a++,!di(e,n,t.heap[a],t.depth));)t.heap[r]=t.heap[a],r=a,a<<=1;t.heap[r]=n}function gi(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?ui(t,a,e):(ui(t,(i=$a[a])+Na+1,e),0!==(o=Za[i])&&si(t,a-=Ja[i],o),ui(t,i=ii(--n),r),0!==(o=qa[i])&&si(t,n-=ri[i],o))}while(s<t.last_lit);ui(t,256,e)}function bi(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--)pi(t,i,r);a=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],pi(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++,pi(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,c=e.stat_desc.static_tree,f=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<=Wa;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),f&&(t.static_len+=s*(c[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),ci(i,l,t.bl_count)}function mi(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 vi(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{ui(t,a,t.bl_tree)}while(0!=--s);else 0!==a?(a!==i&&(ui(t,a,t.bl_tree),s--),ui(t,16,t.bl_tree),si(t,s-3,2)):s<=10?(ui(t,17,t.bl_tree),si(t,s-3,3)):(ui(t,18,t.bl_tree),si(t,s-11,7));s=0,i=a,0===o?(u=138,l=3):a===o?(u=6,l=3):(u=7,l=4)}}Fa(ri);var yi=!1;function wi(t,e,r,n){si(t,0+(n?1:0),3),function(t,e,r,n){hi(t),n&&(oi(t,r),oi(t,~r)),za.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r,!0)}ja._tr_init=function(t){yi||(!function(){var t,e,r,n,a,i=new Array(16);for(r=0,n=0;n<28;n++)for(Ja[n]=r,t=0;t<1<<Za[n];t++)$a[r++]=n;for($a[r-1]=n,a=0,n=0;n<16;n++)for(ri[n]=a,t=0;t<1<<qa[n];t++)Xa[a++]=n;for(a>>=7;n<Ha;n++)for(ri[n]=a<<7,t=0;t<1<<qa[n]-7;t++)Xa[256+a++]=n;for(e=0;e<=Wa;e++)i[e]=0;for(t=0;t<=143;)Va[2*t+1]=8,t++,i[8]++;for(;t<=255;)Va[2*t+1]=9,t++,i[9]++;for(;t<=279;)Va[2*t+1]=7,t++,i[7]++;for(;t<=287;)Va[2*t+1]=8,t++,i[8]++;for(ci(Va,287,i),t=0;t<Ha;t++)Ka[2*t+1]=5,Ka[2*t]=li(t,5);Qa=new ni(Va,Za,257,Ua,Wa),ti=new ni(Ka,qa,0,Ha,Wa),ei=new ni(new Array(0),Ya,0,19,7)}(),yi=!0),t.l_desc=new ai(t.dyn_ltree,Qa),t.d_desc=new ai(t.dyn_dtree,ti),t.bl_desc=new ai(t.bl_tree,ei),t.bi_buf=0,t.bi_valid=0,fi(t)},ja._tr_stored_block=wi,ja._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<Na;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),bi(t,t.l_desc),bi(t,t.d_desc),o=function(t){var e;for(mi(t,t.dyn_ltree,t.l_desc.max_code),mi(t,t.dyn_dtree,t.d_desc.max_code),bi(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*Ga[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?wi(t,e,r,n):4===t.strategy||i===a?(si(t,2+(n?1:0),3),gi(t,Va,Ka)):(si(t,4+(n?1:0),3),function(t,e,r,n){var a;for(si(t,e-257,5),si(t,r-1,5),si(t,n-4,4),a=0;a<n;a++)si(t,t.bl_tree[2*Ga[a]+1],3);vi(t,t.dyn_ltree,e-1),vi(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),gi(t,t.dyn_ltree,t.dyn_dtree)),fi(t),n&&hi(t)},ja._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*($a[r]+Na+1)]++,t.dyn_dtree[2*ii(e)]++),t.last_lit===t.lit_bufsize-1},ja._tr_align=function(t){si(t,2,3),ui(t,256,Va),function(t){16===t.bi_valid?(oi(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 _i=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 ki=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 xi,Si=function(t,e,r,n){var a=ki,i=n+r;t^=-1;for(var o=n;o<i;o++)t=t>>>8^a[255&(t^e[o])];return-1^t},Ai={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"},Ci=Ia,Ei=ja,Ri=_i,Oi=Si,Ti=Ai,Pi=-2,Li=258,Mi=262,Ii=103,Bi=113,Di=666;function ji(t,e){return t.msg=Ti[e],e}function zi(t){return(t<<1)-(t>4?9:0)}function Fi(t){for(var e=t.length;--e>=0;)t[e]=0}function Ni(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(Ci.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 Ui(t,e){Ei._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ni(t.strm)}function Hi(t,e){t.pending_buf[t.pending++]=e}function Wi(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function Zi(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-Mi?t.strstart-(t.w_size-Mi):0,l=t.window,c=t.w_mask,f=t.prev,h=t.strstart+Li,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=Li-(h-i),i=h-Li,n>o){if(t.match_start=e,o=n,n>=s)break;d=l[i+o-1],p=l[i+o]}}}while((e=f[e&c])>u&&0!=--a);return o<=t.lookahead?o:t.lookahead}function qi(t){var e,r,n,a,i,o,s,u,l,c,f=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=f+(f-Mi)){Ci.arraySet(t.window,t.window,f,f,0),t.match_start-=f,t.strstart-=f,t.block_start-=f,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=f?n-f:0}while(--r);e=r=f;do{n=t.prev[--e],t.prev[e]=n>=f?n-f:0}while(--r);a+=f}if(0===t.strm.avail_in)break;if(o=t.strm,s=t.window,u=t.strstart+t.lookahead,l=a,c=void 0,(c=o.avail_in)>l&&(c=l),r=0===c?0:(o.avail_in-=c,Ci.arraySet(s,o.input,o.next_in,c,u),1===o.state.wrap?o.adler=Ri(o.adler,s,c,u):2===o.state.wrap&&(o.adler=Oi(o.adler,s,c,u)),o.next_in+=c,o.total_in+=c,c),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<Mi&&0!==t.strm.avail_in)}function Yi(t,e){for(var r,n;;){if(t.lookahead<Mi){if(qi(t),t.lookahead<Mi&&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-Mi&&(t.match_length=Zi(t,r)),t.match_length>=3)if(n=Ei._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=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}function Gi(t,e){for(var r,n,a;;){if(t.lookahead<Mi){if(qi(t),t.lookahead<Mi&&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-Mi&&(t.match_length=Zi(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=Ei._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&&(Ui(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=Ei._tr_tally(t,0,t.window[t.strstart-1]))&&Ui(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=Ei._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}function Vi(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 Ki(){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 Ci.Buf16(1146),this.dyn_dtree=new Ci.Buf16(122),this.bl_tree=new Ci.Buf16(78),Fi(this.dyn_ltree),Fi(this.dyn_dtree),Fi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ci.Buf16(16),this.heap=new Ci.Buf16(573),Fi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ci.Buf16(573),Fi(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 Xi(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:Bi,t.adler=2===e.wrap?0:1,e.last_flush=0,Ei._tr_init(e),0):ji(t,Pi)}function $i(t){var e,r=Xi(t);return 0===r&&((e=t.state).window_size=2*e.w_size,Fi(e.head),e.max_lazy_match=xi[e.level].max_lazy,e.good_match=xi[e.level].good_length,e.nice_match=xi[e.level].nice_length,e.max_chain_length=xi[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 Ji(t,e,r,n,a,i){if(!t)return Pi;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 ji(t,Pi);8===n&&(n=9);var s=new Ki;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 Ci.Buf8(2*s.w_size),s.head=new Ci.Buf16(s.hash_size),s.prev=new Ci.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Ci.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,$i(t)}xi=[new Vi(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(qi(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,Ui(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-Mi&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ui(t,!1),t.strm.avail_out),1)})),new Vi(4,4,8,4,Yi),new Vi(4,5,16,8,Yi),new Vi(4,6,32,32,Yi),new Vi(4,4,16,16,Gi),new Vi(8,16,32,32,Gi),new Vi(8,16,128,128,Gi),new Vi(8,32,128,256,Gi),new Vi(32,128,258,1024,Gi),new Vi(32,258,258,4096,Gi)],Da.deflateInit=function(t,e){return Ji(t,e,8,15,8,0)},Da.deflateInit2=Ji,Da.deflateReset=$i,Da.deflateResetKeep=Xi,Da.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?Pi:(t.state.gzhead=e,0):Pi},Da.deflate=function(t,e){var r,n,a,i;if(!t||!t.state||e>5||e<0)return t?ji(t,Pi):Pi;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===Di&&4!==e)return ji(t,0===t.avail_out?-5:Pi);if(n.strm=t,r=n.last_flush,n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,Hi(n,31),Hi(n,139),Hi(n,8),n.gzhead?(Hi(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)),Hi(n,255&n.gzhead.time),Hi(n,n.gzhead.time>>8&255),Hi(n,n.gzhead.time>>16&255),Hi(n,n.gzhead.time>>24&255),Hi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Hi(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Hi(n,255&n.gzhead.extra.length),Hi(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=Oi(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Hi(n,3),n.status=Bi);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=Bi,Wi(n,o),0!==n.strstart&&(Wi(n,t.adler>>>16),Wi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(t),a=n.pending,n.pending!==n.pending_buf_size));)Hi(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(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,Hi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(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,Hi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.status=Ii)}else n.status=Ii;if(n.status===Ii&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ni(t),n.pending+2<=n.pending_buf_size&&(Hi(n,255&t.adler),Hi(n,t.adler>>8&255),t.adler=0,n.status=Bi)):n.status=Bi),0!==n.pending){if(Ni(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&zi(e)<=zi(r)&&4!==e)return ji(t,-5);if(n.status===Di&&0!==t.avail_in)return ji(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&n.status!==Di){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(qi(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(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<=Li){if(qi(t),t.lookahead<=Li&&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+Li;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=Li-(i-a),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=Ei._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}(n,e):xi[n.level].func(n,e);if(3!==s&&4!==s||(n.status=Di),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===e?Ei._tr_align(n):5!==e&&(Ei._tr_stored_block(n,0,0,!1),3===e&&(Fi(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ni(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:(2===n.wrap?(Hi(n,255&t.adler),Hi(n,t.adler>>8&255),Hi(n,t.adler>>16&255),Hi(n,t.adler>>24&255),Hi(n,255&t.total_in),Hi(n,t.total_in>>8&255),Hi(n,t.total_in>>16&255),Hi(n,t.total_in>>24&255)):(Wi(n,t.adler>>>16),Wi(n,65535&t.adler)),Ni(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},Da.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==Ii&&e!==Bi&&e!==Di?ji(t,Pi):(t.state=null,e===Bi?ji(t,-3):0):Pi},Da.deflateSetDictionary=function(t,e){var r,n,a,i,o,s,u,l,c=e.length;if(!t||!t.state)return Pi;if(2===(i=(r=t.state).wrap)||1===i&&42!==r.status||r.lookahead)return Pi;for(1===i&&(t.adler=Ri(t.adler,e,c,0)),r.wrap=0,c>=r.w_size&&(0===i&&(Fi(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new Ci.Buf8(r.w_size),Ci.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),o=t.avail_in,s=t.next_in,u=t.input,t.avail_in=c,t.next_in=0,t.input=e,qi(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,qi(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},Da.deflateInfo="pako deflate (from Nodeca project)";var Qi={},to=Ia,eo=!0,ro=!0;try{String.fromCharCode.apply(null,[0])}catch(t){eo=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){ro=!1}for(var no=new to.Buf8(256),ao=0;ao<256;ao++)no[ao]=ao>=252?6:ao>=248?5:ao>=240?4:ao>=224?3:ao>=192?2:1;function io(t,e){if(e<65534&&(t.subarray&&ro||!t.subarray&&eo))return String.fromCharCode.apply(null,to.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}no[254]=no[254]=1,Qi.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 to.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},Qi.buf2binstring=function(t){return io(t,t.length)},Qi.binstring2buf=function(t){for(var e=new to.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},Qi.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=no[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 io(s,n)},Qi.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+no[t[r]]>e?r:e};var oo=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},so=Da,uo=Ia,lo=Qi,co=Ai,fo=oo,ho=Object.prototype.toString;function po(t){if(!(this instanceof po))return new po(t);this.options=uo.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 fo,this.strm.avail_out=0;var r=so.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(co[r]);if(e.header&&so.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?lo.string2buf(e.dictionary):"[object ArrayBuffer]"===ho.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=so.deflateSetDictionary(this.strm,n)))throw new Error(co[r]);this._dict_set=!0}}function go(t,e){var r=new po(e);if(r.push(t,!0),r.err)throw r.msg||co[r.err];return r.result}po.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=lo.string2buf(t):"[object ArrayBuffer]"===ho.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 uo.Buf8(i),a.next_out=0,a.avail_out=i),1!==(r=so.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(lo.buf2binstring(uo.shrinkBuf(a.output,a.next_out))):this.onData(uo.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===n?(r=so.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),a.avail_out=0,!0)},po.prototype.onData=function(t){this.chunks.push(t)},po.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=uo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},Ba.Deflate=po,Ba.deflate=go,Ba.deflateRaw=function(t,e){return(e=e||{}).raw=!0,go(t,e)},Ba.gzip=function(t,e){return(e=e||{}).gzip=!0,go(t,e)};var bo={},mo={},vo=Ia,yo=15,wo=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],_o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],ko=[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],xo=[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],So=Ia,Ao=_i,Co=Si,Eo=function(t,e){var r,n,a,i,o,s,u,l,c,f,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,c=r.whave,f=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)>c&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(x=0,S=h,0===f){if(x+=l-w,w<_){_-=w;do{C[i++]=h[x++]}while(--w);x=i-k,S=C}}else if(f<w){if(x+=l+f-w,(w-=f)<_){_-=w;do{C[i++]=h[x++]}while(--w);if(x=0,f<_){_-=w=f;do{C[i++]=h[x++]}while(--w);x=i-k,S=C}}}else if(x+=f-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},Ro=function(t,e,r,n,a,i,o,s){var u,l,c,f,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 vo.Buf16(16),P=new vo.Buf16(16),L=null,M=0;for(v=0;v<=yo;v++)T[v]=0;for(y=0;y<n;y++)T[e[r+y]]++;for(k=m,_=yo;_>=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<=yo;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<yo;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=wo,O-=257,L=_o,M-=257,d=256):(R=ko,L=xo,d=-1),E=0,y=0,v=w,h=i,x=k,S=0,c=-1,f=(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{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&f)!==c){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[c=E&f]=k<<24|x<<16|h-i|0}}return 0!==E&&(a[h+E]=v-S<<24|64<<16|0),s.bits=k,0},Oo=-2,To=12,Po=30;function Lo(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function Mo(){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 So.Buf16(320),this.work=new So.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Io(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 So.Buf32(852),e.distcode=e.distdyn=new So.Buf32(592),e.sane=1,e.back=-1,0):Oo}function Bo(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,Io(t)):Oo}function Do(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)?Oo:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,Bo(t))):Oo}function jo(t,e){var r,n;return t?(n=new Mo,t.state=n,n.window=null,0!==(r=Do(t,e))&&(t.state=null),r):Oo}var zo,Fo,No=!0;function Uo(t){if(No){var e;for(zo=new So.Buf32(512),Fo=new So.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(Ro(1,t.lens,0,288,zo,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;Ro(2,t.lens,0,32,Fo,0,t.work,{bits:5}),No=!1}t.lencode=zo,t.lenbits=9,t.distcode=Fo,t.distbits=5}function Ho(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 So.Buf8(i.wsize)),n>=i.wsize?(So.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),So.arraySet(i.window,e,r-n,a,i.wnext),(n-=a)?(So.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}mo.inflateReset=Bo,mo.inflateReset2=Do,mo.inflateResetKeep=Io,mo.inflateInit=function(t){return jo(t,15)},mo.inflateInit2=jo,mo.inflate=function(t,e){var r,n,a,i,o,s,u,l,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C=0,E=new So.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 Oo;(r=t.state).mode===To&&(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,c=r.bits,f=s,h=u,x=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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,c=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=Po;break}if(8!=(15&l)){t.msg="unknown compression method",r.mode=Po;break}if(c-=4,k=8+(15&(l>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=Po;break}r.dmax=1<<k,t.adler=r.check=1,r.mode=512&l?10:To,l=0,c=0;break;case 2:for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(r.flags=l,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=Po;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=Po;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,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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,c=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)),So.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(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l!==(65535&r.check)){t.msg="header crc mismatch",r.mode=Po;break}l=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=To;break;case 10:for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}t.adler=r.check=Lo(l),l=0,c=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=c,2;t.adler=r.check=1,r.mode=To;case To:if(5===e||6===e)break t;case 13:if(r.last){l>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}switch(r.last=1&l,c-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(Uo(r),r.mode=20,6===e){l>>>=2,c-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=Po}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if((65535&l)!=(l>>>16^65535)){t.msg="invalid stored block lengths",r.mode=Po;break}if(r.length=65535&l,l=0,c=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;So.arraySet(a,n,i,d,o),s-=d,i+=d,u-=d,o+=d,r.length-=d;break}r.mode=To;break;case 17:for(;c<14;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(r.nlen=257+(31&l),l>>>=5,c-=5,r.ndist=1+(31&l),l>>>=5,c-=5,r.ncode=4+(15&l),l>>>=4,c-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=Po;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.lens[R[r.have++]]=7&l,l>>>=3,c-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=Ro(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=Po;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)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(v<16)l>>>=b,c-=b,r.lens[r.have++]=v;else{if(16===v){for(A=b+2;c<A;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l>>>=b,c-=b,0===r.have){t.msg="invalid bit length repeat",r.mode=Po;break}k=r.lens[r.have-1],d=3+(3&l),l>>>=2,c-=2}else if(17===v){for(A=b+3;c<A;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}c-=b,k=0,d=3+(7&(l>>>=b)),l>>>=3,c-=3}else{for(A=b+7;c<A;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}c-=b,k=0,d=11+(127&(l>>>=b)),l>>>=7,c-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=Po;break}for(;d--;)r.lens[r.have++]=k}}if(r.mode===Po)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=Po;break}if(r.lenbits=9,S={bits:r.lenbits},x=Ro(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=Po;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=Ro(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=Po;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=c,Eo(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,c=r.bits,r.mode===To&&(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)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=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)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}l>>>=y,c-=y,r.back+=y}if(l>>>=b,c-=b,r.back+=b,r.length=v,0===m){r.mode=26;break}if(32&m){r.back=-1,r.mode=To;break}if(64&m){t.msg="invalid literal/length code",r.mode=Po;break}r.extra=15&m,r.mode=22;case 22:if(r.extra){for(A=r.extra;c<A;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,c-=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)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=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)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}l>>>=y,c-=y,r.back+=y}if(l>>>=b,c-=b,r.back+=b,64&m){t.msg="invalid distance code",r.mode=Po;break}r.offset=v,r.extra=15&m,r.mode=24;case 24:if(r.extra){for(A=r.extra;c<A;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=Po;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=Po;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(;c<32;){if(0===s)break t;s--,l|=n[i++]<<c,c+=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):Ao(r.check,a,h,o-h)),h=u,(r.flags?l:Lo(l))!==r.check){t.msg="incorrect data check",r.mode=Po;break}l=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=Po;break}l=0,c=0}r.mode=29;case 29:x=1;break t;case Po:x=-3;break t;case 31:return-4;default:return Oo}return t.next_out=o,t.avail_out=u,t.next_in=i,t.avail_in=s,r.hold=l,r.bits=c,(r.wsize||h!==t.avail_out&&r.mode<Po&&(r.mode<27||4!==e))&&Ho(t,t.output,t.next_out,h-t.avail_out),f-=t.avail_in,h-=t.avail_out,t.total_in+=f,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):Ao(r.check,a,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(r.mode===To?128:0)+(20===r.mode||15===r.mode?256:0),(0===f&&0===h||4===e)&&0===x&&(x=-5),x},mo.inflateEnd=function(t){if(!t||!t.state)return Oo;var e=t.state;return e.window&&(e.window=null),t.state=null,0},mo.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?Oo:(r.head=e,e.done=!1,0):Oo},mo.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?Oo:11===r.mode&&Ao(1,e,n,0)!==r.check?-3:Ho(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):Oo},mo.inflateInfo="pako inflate (from Nodeca project)";var Wo={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 Zo=mo,qo=Ia,Yo=Qi,Go=Wo,Vo=Ai,Ko=oo,Xo=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},$o=Object.prototype.toString;function Jo(t){if(!(this instanceof Jo))return new Jo(t);this.options=qo.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 Ko,this.strm.avail_out=0;var r=Zo.inflateInit2(this.strm,e.windowBits);if(r!==Go.Z_OK)throw new Error(Vo[r]);if(this.header=new Xo,Zo.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Yo.string2buf(e.dictionary):"[object ArrayBuffer]"===$o.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Zo.inflateSetDictionary(this.strm,e.dictionary))!==Go.Z_OK))throw new Error(Vo[r])}function Qo(t,e){var r=new Jo(e);if(r.push(t,!0),r.err)throw r.msg||Vo[r.err];return r.result}Jo.prototype.push=function(t,e){var r,n,a,i,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?Go.Z_FINISH:Go.Z_NO_FLUSH,"string"==typeof t?s.input=Yo.binstring2buf(t):"[object ArrayBuffer]"===$o.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 qo.Buf8(u),s.next_out=0,s.avail_out=u),(r=Zo.inflate(s,Go.Z_NO_FLUSH))===Go.Z_NEED_DICT&&l&&(r=Zo.inflateSetDictionary(this.strm,l)),r===Go.Z_BUF_ERROR&&!0===c&&(r=Go.Z_OK,c=!1),r!==Go.Z_STREAM_END&&r!==Go.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==Go.Z_STREAM_END&&(0!==s.avail_in||n!==Go.Z_FINISH&&n!==Go.Z_SYNC_FLUSH)||("string"===this.options.to?(a=Yo.utf8border(s.output,s.next_out),i=s.next_out-a,o=Yo.buf2string(s.output,a),s.next_out=i,s.avail_out=u-i,i&&qo.arraySet(s.output,s.output,a,i,0),this.onData(o)):this.onData(qo.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==Go.Z_STREAM_END);return r===Go.Z_STREAM_END&&(n=Go.Z_FINISH),n===Go.Z_FINISH?(r=Zo.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Go.Z_OK):n!==Go.Z_SYNC_FLUSH||(this.onEnd(Go.Z_OK),s.avail_out=0,!0)},Jo.prototype.onData=function(t){this.chunks.push(t)},Jo.prototype.onEnd=function(t){t===Go.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=qo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},bo.Inflate=Jo,bo.inflate=Qo,bo.inflateRaw=function(t,e){return(e=e||{}).raw=!0,Qo(t,e)},bo.ungzip=Qo;var ts={};(0,Ia.assign)(ts,Ba,bo,Wo);var es="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,rs=ts,ns=Dn(),as=zn,is=es?"uint8array":"array";function os(t,e){as.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}Ma.magic="\b\0",ns.inherits(os,as),os.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(ns.transformTo(is,t.data),!1)},os.prototype.flush=function(){as.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},os.prototype.cleanUp=function(){as.prototype.cleanUp.call(this),this._pako=null},os.prototype._createPako=function(){this._pako=new rs[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},Ma.compressWorker=function(t){return new os("Deflate",t)},Ma.uncompressWorker=function(){return new os("Inflate",{})};var ss=zn;La.STORE={magic:"\0\0",compressWorker:function(){return new ss("STORE compression")},uncompressWorker:function(){return new ss("STORE decompression")}},La.DEFLATE=Ma;var us={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"},ls=Dn(),cs=zn,fs=c,hs=sa,ds=us,ps=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},gs=function(t,e,r,n,a,i){var o,s,u=t.file,l=t.compression,c=i!==fs.utf8encode,f=ls.transformTo("string",i(u.name)),h=ls.transformTo("string",fs.utf8encode(u.name)),d=u.comment,p=ls.transformTo("string",i(d)),g=ls.transformTo("string",fs.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),c||!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=ps(1,1)+ps(hs(f),4)+h,v+="up"+ps(y.length,2)+y),m&&(w=ps(1,1)+ps(hs(p),4)+g,v+="uc"+ps(w.length,2)+w);var T="";return T+="\n\0",T+=ps(S,2),T+=l.magic,T+=ps(o,2),T+=ps(s,2),T+=ps(x.crc32,4),T+=ps(x.compressedSize,4),T+=ps(x.uncompressedSize,4),T+=ps(f.length,2),T+=ps(v.length,2),{fileRecord:ds.LOCAL_FILE_HEADER+T+f+v,dirRecord:ds.CENTRAL_FILE_HEADER+ps(O,2)+T+ps(p.length,2)+"\0\0\0\0"+ps(R,4)+ps(n,4)+f+v+p}},bs=function(t){return ds.DATA_DESCRIPTOR+ps(t.crc32,4)+ps(t.compressedSize,4)+ps(t.uncompressedSize,4)};function ms(t,e,r,n){cs.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=[]}ls.inherits(ms,cs),ms.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,cs.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},ms.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=gs(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ms.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=gs(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:bs(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},ms.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=ls.transformTo("string",a(n));return ds.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ps(t,2)+ps(t,2)+ps(e,4)+ps(r,4)+ps(i.length,2)+i}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ms.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ms.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},ms.prototype.resume=function(){return!!cs.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ms.prototype.error=function(t){var e=this._sources;if(!cs.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},ms.prototype.lock=function(){cs.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()};var vs=La,ys=ms;Pa.generateWorker=function(t,e,r){var n=new ys(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=vs[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 ws=Dn(),_s=zn;function ks(t,e){_s.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}ws.inherits(ks,_s),ks.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()}))},ks.prototype.pause=function(){return!!_s.prototype.pause.call(this)&&(this._stream.pause(),!0)},ks.prototype.resume=function(){return!!_s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var xs=ks,Ss=c,As=Dn(),Cs=zn,Es=Qn,Rs=ta,Os=wa,Ts=Ta,Ps=Pa,Ls=Ln,Ms=xs,Is=function(t,e,r){var n,a=As.getTypeOf(e),i=As.extend(r||{},Rs);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=Ds(t)),i.createFolders&&(n=Bs(t))&&js.call(this,n,!0);var o="string"===a&&!1===i.binary&&!1===i.base64;r&&void 0!==r.binary||(i.binary=!o),(e instanceof Os&&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 Os||e instanceof Cs?e:Ls.isNode&&Ls.isStream(e)?new Ms(t,e):As.prepareContent(t,e,i.binary,i.optimizedBinaryString,i.base64);var u=new Ts(t,s,i);this.files[t]=u},Bs=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},Ds=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},js=function(t,e){return e=void 0!==e?e:Rs.createFolders,t=Ds(t),this.files[t]||Is.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function zs(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var Fs={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(zs(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,Is.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(zs(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=js.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=As.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.");As.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 Cs("error")).error(t)}return new Es(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)}},Ns=Fs,Us=Dn();function Hs(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}Hs.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 Us.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 Ws=Hs,Zs=Ws;function qs(t){Zs.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}Dn().inherits(qs,Zs),qs.prototype.byteAt=function(t){return this.data[this.zero+t]},qs.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},qs.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]},qs.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 Ys=qs,Gs=Ws;function Vs(t){Gs.call(this,t)}Dn().inherits(Vs,Gs),Vs.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},Vs.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},Vs.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},Vs.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 Ks=Vs,Xs=Ys;function $s(t){Xs.call(this,t)}Dn().inherits($s,Xs),$s.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 Js=$s,Qs=Js;function tu(t){Qs.call(this,t)}Dn().inherits(tu,Qs),tu.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 eu=tu,ru=Dn(),nu=dt,au=Ys,iu=Ks,ou=eu,su=Js,uu=function(t){var e=ru.getTypeOf(t);return ru.checkSupport(e),"string"!==e||nu.uint8array?"nodebuffer"===e?new ou(t):nu.uint8array?new su(ru.transformTo("uint8array",t)):new au(ru.transformTo("array",t)):new iu(t)},lu=uu,cu=Dn(),fu=wa,hu=sa,du=c,pu=La,gu=dt;function bu(t,e){this.options=t,this.loadOptions=e}bu.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 pu)if(Object.prototype.hasOwnProperty.call(pu,e)&&pu[e].magic===t)return pu[e];return null}(this.compressionMethod),null===e)throw new Error("Corrupted zip : compression "+cu.pretty(this.compressionMethod)+" unknown (inner file : "+cu.transformTo("string",this.fileName)+")");this.decompressed=new fu(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=lu(this.extraFields[1].value);this.uncompressedSize===cu.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===cu.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===cu.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===cu.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=gu.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=du.utf8decode(this.fileName),this.fileCommentStr=du.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=cu.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=cu.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=lu(t.value);return 1!==e.readInt(1)||hu(this.fileName)!==e.readInt(4)?null:du.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=lu(t.value);return 1!==e.readInt(1)||hu(this.fileComment)!==e.readInt(4)?null:du.utf8decode(e.readData(t.length-5))}return null}};var mu=bu,vu=uu,yu=Dn(),wu=us,_u=mu,ku=dt;function xu(t){this.files=[],this.loadOptions=t}xu.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 ("+yu.pretty(e)+", expected "+yu.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=ku.uint8array?"uint8array":"array",r=yu.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(wu.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(wu.CENTRAL_FILE_HEADER);)(t=new _u({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(wu.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,wu.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(wu.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===yu.MAX_VALUE_16BITS||this.diskWithCentralDirStart===yu.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===yu.MAX_VALUE_16BITS||this.centralDirRecords===yu.MAX_VALUE_16BITS||this.centralDirSize===yu.MAX_VALUE_32BITS||this.centralDirOffset===yu.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(wu.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(wu.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,wu.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(wu.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(wu.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,wu.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=vu(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Su=xu,Au=Dn(),Cu=Bn,Eu=c,Ru=Su,Ou=fa,Tu=Ln;function Pu(t){return new Cu.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new Ou);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 Lu(){if(!(this instanceof Lu))return new Lu;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 Lu;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}Lu.prototype=Ns,Lu.prototype.loadAsync=function(t,e){var r=this;return e=Au.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Eu.utf8decode}),Tu.isNode&&Tu.isStream(t)?Cu.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Au.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new Ru(e);return r.load(t),r})).then((function(t){var r=[Cu.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var a=0;a<n.length;a++)r.push(Pu(n[a]));return Cu.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=Au.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}))},Lu.support=dt,Lu.defaults=ta,Lu.version="3.10.1",Lu.loadAsync=function(t,e){return(new Lu).loadAsync(t,e)},Lu.external=Bn;var Mu=Lu;function Iu(t){return Iu="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},Iu(t)}function Bu(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),c="'".charCodeAt(0),f='"'.charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0);function p(e){for(var c=[];t[r];)if(t.charCodeAt(r)==i){if(t.charCodeAt(r+1)===u){var f=r+2;if(r=t.indexOf(">",r),-1==t.substring(f,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),c}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&&c.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?(c.push(t.substr(r+9)),r=t.length):(c.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++;c.push(t.substring(e,r))}}r++;continue}var y=v();c.push(y),"?"===y.tagName[0]&&(c.push(...y.children),y.children=[])}else{var w=g();if(a)w.length>0&&c.push(w);else{var _=w.trim();_.length>0&&c.push(_)}r++}return c}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!==c&&l!==f&&!(l>64&&l<91||l>96&&l<123)&&l!==o;)r++,l=t.charCodeAt(r);if(l===c||l===f){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&&(_=ju(_,e.filter)),e.simplify?Du(Array.isArray(_)?_:[_]):(e.setPos&&(_.pos=r),_)}function Du(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=Du(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 ju(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=ju(t.children,e,r+1,(n?n+".":"")+i+"."+t.tagName);a=a.concat(o)}})),a}function zu(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 Fu(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 Fu(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 Fu(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 Nu(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 Uu(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Nu(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Hu=0;function Wu(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:Uu({order:Hu++},e),value:t[0]}:t[0];var n,a=zu(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if("object"!==Iu(i))return;if("?xml"!==i.tagName){r[i.tagName]||(r[i.tagName]=[]);var o=Wu(i.children||[],i.attributes);"object"===Iu(o)&&(o.attrs?o.attrs.order=Hu++:o.attrs={order:Hu++}),Object.keys(i.attributes||{}).length&&(o.attrs=Uu(Uu({},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 Zu(t,e){return qu.apply(this,arguments)}function qu(){return(qu=n(l.mark((function t(e,r){var n;return l.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",Wu(Bu(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 Yu(t){return Yu="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},Yu(t)}var Gu=/^\s+/,Vu=/\s+$/;function Ku(t,e){if(e=e||{},(t=t||"")instanceof Ku)return t;if(!(this instanceof Ku))return new Ku(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(Gu,"").replace(Vu,"").toLowerCase();var e,r=!1;if(hl[t])t=hl[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=Al.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=Al.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=Al.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=Al.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=Al.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=Al.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=Al.hex8.exec(t))return{r:ml(e[1]),g:ml(e[2]),b:ml(e[3]),a:_l(e[4]),format:r?"name":"hex8"};if(e=Al.hex6.exec(t))return{r:ml(e[1]),g:ml(e[2]),b:ml(e[3]),format:r?"name":"hex"};if(e=Al.hex4.exec(t))return{r:ml(e[1]+""+e[1]),g:ml(e[2]+""+e[2]),b:ml(e[3]+""+e[3]),a:_l(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=Al.hex3.exec(t))return{r:ml(e[1]+""+e[1]),g:ml(e[2]+""+e[2]),b:ml(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==Yu(t)&&(Cl(t.r)&&Cl(t.g)&&Cl(t.b)?(u=t.r,l=t.g,c=t.b,e={r:255*gl(u,255),g:255*gl(l,255),b:255*gl(c,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):Cl(t.h)&&Cl(t.s)&&Cl(t.v)?(n=yl(t.s),a=yl(t.v),e=function(t,e,r){t=6*gl(t,360),e=gl(e,100),r=gl(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"):Cl(t.h)&&Cl(t.s)&&Cl(t.l)&&(n=yl(t.s),i=yl(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=gl(t,360),e=gl(e,100),r=gl(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,c;return r=pl(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 Xu(t,e,r){t=gl(t,255),e=gl(e,255),r=gl(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 $u(t,e,r){t=gl(t,255),e=gl(e,255),r=gl(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 Ju(t,e,r,n){var a=[vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(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 Qu(t,e,r,n){return[vl(wl(n)),vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(Math.round(r).toString(16))].join("")}function tl(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.s-=e/100,r.s=bl(r.s),Ku(r)}function el(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.s+=e/100,r.s=bl(r.s),Ku(r)}function rl(t){return Ku(t).desaturate(100)}function nl(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.l+=e/100,r.l=bl(r.l),Ku(r)}function al(t,e){e=0===e?0:e||10;var r=Ku(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))),Ku(r)}function il(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.l-=e/100,r.l=bl(r.l),Ku(r)}function ol(t,e){var r=Ku(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,Ku(r)}function sl(t){var e=Ku(t).toHsl();return e.h=(e.h+180)%360,Ku(e)}function ul(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Ku(t).toHsl(),n=[Ku(t)],a=360/e,i=1;i<e;i++)n.push(Ku({h:(r.h+i*a)%360,s:r.s,l:r.l}));return n}function ll(t){var e=Ku(t).toHsl(),r=e.h;return[Ku(t),Ku({h:(r+72)%360,s:e.s,l:e.l}),Ku({h:(r+216)%360,s:e.s,l:e.l})]}function cl(t,e,r){e=e||6,r=r||30;var n=Ku(t).toHsl(),a=360/r,i=[Ku(t)];for(n.h=(n.h-(a*e>>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(Ku(n));return i}function fl(t,e){e=e||6;for(var r=Ku(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/e;e--;)o.push(Ku({h:n,s:a,v:i})),i=(i+s)%1;return o}Ku.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=pl(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=$u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=$u(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=Xu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Xu(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 Ju(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=[vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(Math.round(r).toString(16)),vl(wl(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*gl(this._r,255))+"%",g:Math.round(100*gl(this._g,255))+"%",b:Math.round(100*gl(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*gl(this._r,255))+"%, "+Math.round(100*gl(this._g,255))+"%, "+Math.round(100*gl(this._b,255))+"%)":"rgba("+Math.round(100*gl(this._r,255))+"%, "+Math.round(100*gl(this._g,255))+"%, "+Math.round(100*gl(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(dl[Ju(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+Qu(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=Ku(t);r="#"+Qu(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 Ku(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(nl,arguments)},brighten:function(){return this._applyModification(al,arguments)},darken:function(){return this._applyModification(il,arguments)},desaturate:function(){return this._applyModification(tl,arguments)},saturate:function(){return this._applyModification(el,arguments)},greyscale:function(){return this._applyModification(rl,arguments)},spin:function(){return this._applyModification(ol,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(cl,arguments)},complement:function(){return this._applyCombination(sl,arguments)},monochromatic:function(){return this._applyCombination(fl,arguments)},splitcomplement:function(){return this._applyCombination(ll,arguments)},triad:function(){return this._applyCombination(ul,[3])},tetrad:function(){return this._applyCombination(ul,[4])}},Ku.fromRatio=function(t,e){if("object"==Yu(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:yl(t[n]));t=r}return Ku(t,e)},Ku.equals=function(t,e){return!(!t||!e)&&Ku(t).toRgbString()==Ku(e).toRgbString()},Ku.random=function(){return Ku.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Ku.mix=function(t,e,r){r=0===r?0:r||50;var n=Ku(t).toRgb(),a=Ku(e).toRgb(),i=r/100;return Ku({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})},Ku.readability=function(t,e){var r=Ku(t),n=Ku(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Ku.isReadable=function(t,e,r){var n,a,i=Ku.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},Ku.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=Ku.readability(t,e[l]))>u&&(u=n,s=Ku(e[l]));return Ku.isReadable(t,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,Ku.mostReadable(t,["#fff","#000"],r))};var hl=Ku.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"},dl=Ku.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(hl);function pl(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function gl(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 bl(t){return Math.min(1,Math.max(0,t))}function ml(t){return parseInt(t,16)}function vl(t){return 1==t.length?"0"+t:""+t}function yl(t){return t<=1&&(t=100*t+"%"),t}function wl(t){return Math.round(255*parseFloat(t)).toString(16)}function _l(t){return ml(t)/255}var kl,xl,Sl,Al=(xl="[\\s|\\(]+("+(kl="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",Sl="[\\s|\\(]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",{CSS_UNIT:new RegExp(kl),rgb:new RegExp("rgb"+xl),rgba:new RegExp("rgba"+Sl),hsl:new RegExp("hsl"+xl),hsla:new RegExp("hsla"+Sl),hsv:new RegExp("hsv"+xl),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 Cl(t){return!!Al.CSS_UNIT.exec(t)}function El(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 Rl(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 Rl(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 Rl(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 Ol(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 Tl(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 Ll(t,e){if(!t)return t;var r,n=El(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 Ml(t){return t?Math.round(t/6e4):0}function Il(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'"};return t.replace(/[&<>"']/g,(function(t){return e[t]}))}function Bl(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 Dl(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 jl(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e}function zl(t){if(!DOMParser)return!0;var e=(new DOMParser).parseFromString(t,"text/html");return""!==(e.body.textContent||e.body.innerText).trim()}function Fl(t,e,r,n){var a,i;if(r)i=r;else{var o=Ll(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);i=o||((o=Ll(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Ll(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=Ll(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);!(a=Ll(u,["a:srgbClr","attrs","val"]))&&u&&(a=Ll(u,["a:sysClr","attrs","lastClr"]))}return a}function Nl(t,e,r){var n=t["p:spPr"]["a:ln"],a=parseInt(Ll(n,["attrs","w"]))/12700;isNaN(a)&&(a=n||"obj"!==e?0:1);var i=Ll(n,["a:solidFill","a:srgbClr","attrs","val"]);if(!i){var o=Ll(n,["a:solidFill","a:schemeClr"]);i=Fl("a:"+Ll(o,["attrs","val"]),r)}if(!i){var s=Ll(t,["p:style","a:lnRef","a:schemeClr"]);if(i=Fl("a:"+Ll(s,["attrs","val"]),r)){var u=Ll(s,["a:shade","attrs","val"]);if(u){u=parseInt(u)/1e5;var l=Ku("#"+i).toHsl();i=Ku({h:l.h,s:l.s,l:l.l*u,a:l.a}).toHex()}}}i=i?"#".concat(i):"#000";var c="solid",f="0";switch(Ll(n,["a:prstDash","attrs","val"])){case"solid":c="solid",f="0";break;case"dash":c="dashed",f="5";break;case"dashDot":c="dashed",f="5, 5, 1, 5";break;case"dot":c="dotted",f="1, 5";break;case"lgDash":c="dashed",f="10, 5";break;case"lgDashDotDot":c="dotted",f="10, 5, 1, 5, 1, 5";break;case"sysDash":c="dashed",f="5, 2";break;case"sysDashDot":c="dotted",f="5, 2, 1, 5";break;case"sysDashDotDot":c="dotted",f="5, 2, 1, 5, 1, 5";break;case"sysDot":c="dotted",f="2, 5"}return{borderColor:i,borderWidth:a,borderType:c,strokeDasharray:f}}function Ul(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 Hl(t,e,r){var n=Ku(t).toHsl();e>=1&&(e=1);var a=n.l*e+(1-e);return r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}function Wl(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 Zl(t,e,r){return ql.apply(this,arguments)}function ql(){return ql=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r["a:blip"].attrs["r:embed"],"slideBg"===e||"slide"===e?o=Ll(n,["slideResObj",i,"target"]):"slideLayoutBg"===e?o=Ll(n,["layoutResObj",i,"target"]):"slideMasterBg"===e?o=Ll(n,["masterResObj",i,"target"]):"themeBg"===e?o=Ll(n,["themeResObj",i,"target"]):"diagramBg"===e&&(o=Ll(n,["diagramResObj",i,"target"])),o){t.next=4;break}return t.abrupt("return",o);case 4:if(a=Ll(n,["loaded-images",o])){t.next=18;break}if(o=Il(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:u=t.sent,c=Bl(s),a="data:".concat(c,";base64,").concat(Ol(u)),(f=n["loaded-images"]||{})[o]=a,n["loaded-images"]=f;case 18:return t.abrupt("return",a);case 19:case"end":return t.stop()}}),t)}))),ql.apply(this,arguments)}function Yl(t){var e=Ll(t["a:blip"],["a:alphaModFix","attrs"]),r=1;return e&&e.amt&&""!==e.amt&&(r=parseInt(e.amt)/1e5),r}function Gl(t,e,r){return Vl.apply(this,arguments)}function Vl(){return(Vl=n(l.mark((function t(e,r,n){var a,i,o,s;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zl(r,e["a:blipFill"],n);case 2:return a=t.sent,i=e["a:blipFill"]["a:blip"],o=Ll(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 Kl(t,e){for(var r=t["a:gsLst"]["a:gs"],n=[],a=0;a<r.length;a++){var i=ec(r[a],void 0,void 0,e),o=Ll(r[a],["attrs","pos"]);n[a]={pos:o?o/1e3+"%":"",color:i}}var s=t["a:lin"],u=90;return s&&(u=Ml(s.attrs.ang)+90),{rot:u,colors:n.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}function Xl(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=ec(i[s],r["p:sldMaster"]["p:clrMap"].attrs,e,n),l=Ll(i[s],["attrs","pos"]);o[s]={pos:l?l/1e3+"%":"",color:u}}var c=a["a:lin"],f=90;return c&&(f=Ml(c.attrs.ang)+90),{rot:f,colors:o.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}return e?-1===e.indexOf("#")?"#".concat(e):e:null}function $l(t){return Jl.apply(this,arguments)}function Jl(){return Jl=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,j,z,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 l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.slideContent,n=e.slideLayoutContent,a=e.slideMasterContent,i=Ll(r,["p:sld","p:cSld","p:bg","p:bgPr"]),o=Ll(r,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",u="color",!i){t.next=29;break}if("SOLID_FILL"!==(c=Wl(i))){t.next=17;break}f=i["a:solidFill"],(d=Ll(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?h=d:(p=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),h=p||Ll(a,["p:sldMaster","p:clrMap","attrs"])),g=ec(f,h,void 0,e),s=g,t.next=27;break;case 17:if("GRADIENT_FILL"!==c){t.next=22;break}"string"==typeof(b=Xl(i,void 0,a,e))?s=b:b&&(s=b,u="gradient"),t.next=27;break;case 22:if("PIC_FILL"!==c){t.next=27;break}return t.next=25,Gl(i,"slideBg",e);case 25:s=t.sent,u="image";case 27:t.next=142;break;case 29:if(!o){t.next=37;break}(v=Ll(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?m=v:(y=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=y||Ll(a,["p:sldMaster","p:clrMap","attrs"])),w=ec(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=Wl(C))?(R=C["a:solidFill"],O=ec(R,m,void 0,e),s=O):"GRADIENT_FILL"===E&&("string"==typeof(T=Xl(C,w,a,e))?s=T:T&&(s=T,u="gradient"))),t.next=142;break;case 37:if(i=Ll(n,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),o=Ll(n,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),L=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),P=L||Ll(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=61;break}if("SOLID_FILL"!==(M=Wl(i))){t.next=49;break}I=i["a:solidFill"],B=ec(I,P,void 0,e),s=B,t.next=59;break;case 49:if("GRADIENT_FILL"!==M){t.next=54;break}"string"==typeof(D=Xl(i,void 0,a,e))?s=D:D&&(s=D,u="gradient"),t.next=59;break;case 54:if("PIC_FILL"!==M){t.next=59;break}return t.next=57,Gl(i,"slideLayoutBg",e);case 57:s=t.sent,u="image";case 59:t.next=142;break;case 61:if(!o){t.next=91;break}if(j=ec(o,P,void 0,e),!((z=Number(o.attrs.idx))>1e3)){t.next=89;break}if(F=z-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=Wl(W))){t.next=79;break}q=W["a:solidFill"],Y=ec(q,P,void 0,e),s=Y,t.next=89;break;case 79:if("GRADIENT_FILL"!==Z){t.next=84;break}"string"==typeof(G=Xl(W,j,a,e))?s=G:G&&(s=G,u="gradient"),t.next=89;break;case 84:if("PIC_FILL"!==Z){t.next=89;break}return t.next=87,Gl(W,"themeBg",e);case 87:s=t.sent,u="image";case 89:t.next=142;break;case 91:if(i=Ll(a,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),o=Ll(a,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),V=Ll(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=114;break}if("SOLID_FILL"!==(K=Wl(i))){t.next=102;break}X=i["a:solidFill"],$=ec(X,V,void 0,e),s=$,t.next=112;break;case 102:if("GRADIENT_FILL"!==K){t.next=107;break}"string"==typeof(J=Xl(i,void 0,a,e))?s=J:J&&(s=J,u="gradient"),t.next=112;break;case 107:if("PIC_FILL"!==K){t.next=112;break}return t.next=110,Gl(i,"slideMasterBg",e);case 110:s=t.sent,u="image";case 112:t.next=142;break;case 114:if(!o){t.next=142;break}if(Q=ec(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=Wl(it))){t.next=132;break}st=it["a:solidFill"],ut=ec(st,P,void 0,e),s=ut,t.next=142;break;case 132:if("GRADIENT_FILL"!==ot){t.next=137;break}"string"==typeof(lt=Xl(it,Q,a,e))?s=lt:lt&&(s=lt,u="gradient"),t.next=142;break;case 137:if("PIC_FILL"!==ot){t.next=142;break}return t.next=140,Gl(it,"themeBg",e);case 140:s=t.sent,u="image";case 142:return t.abrupt("return",{type:u,value:s});case 143:case"end":return t.stop()}}),t)}))),Jl.apply(this,arguments)}function Ql(t,e,r,n){return tc.apply(this,arguments)}function tc(){return tc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=Wl(Ll(e,["p:spPr"])),o="color",s="","NO_FILL"!==i){t.next=7;break}return t.abrupt("return",r?"none":"");case 7:if("SOLID_FILL"!==i){t.next=13;break}u=e["p:spPr"]["a:solidFill"],s=ec(u,void 0,void 0,n),o="color",t.next=27;break;case 13:if("GRADIENT_FILL"!==i){t.next=19;break}c=e["p:spPr"]["a:gradFill"],s=Kl(c,n),o="gradient",t.next=27;break;case 19:if("PIC_FILL"!==i){t.next=27;break}return f=e["p:spPr"]["a:blipFill"],t.next=23,Zl(a,f,n);case 23:h=t.sent,d=Yl(f),s={picBase64:h,opacity:d},o="image";case 27:return s||(p=Ll(e,["p:style","a:fillRef"]),s=ec(p,void 0,void 0,n),o="color"),t.abrupt("return",{type:o,value:s});case 29:case"end":return t.stop()}}),t)}))),tc.apply(this,arguments)}function ec(t,e,r,n){if(!t)return"";var a,i,o,s="";if(t["a:srgbClr"])s=Ll(a=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"]){s=Fl("a:"+Ll(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,c=-1!==u.g.indexOf("%")?u.g.split("%").shift():u.g,f=-1!==u.b.indexOf("%")?u.b.split("%").shift():u.b;s=jl(Number(l)/100*255)+jl(Number(c)/100*255)+jl(Number(f)/100*255)}else if(t["a:prstClr"]){var h=Ll(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*Ul(a,n,2+(t/=60)),g:255*Ul(a,n,t),b:255*Ul(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=jl(p.r)+jl(p.g)+jl(p.b)}else if(t["a:sysClr"]){var g=Ll(a=t["a:sysClr"],["attrs","lastClr"]);g&&(s=g)}var b=!1,m=parseInt(Ll(a,["a:alpha","attrs","val"]))/1e5;if(!isNaN(m)){var v=Ku(s);v.setAlpha(m),s=v.toHex8(),b=!0}var y=parseInt(Ll(a,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.h*e;return a>=360&&(a-=360),r?Ku({h:a,s:n.s,l:n.l,a:n.a}).toHex8():Ku({h:a,s:n.s,l:n.l,a:n.a}).toHex()}(s,y,b));var w=parseInt(Ll(a,["a:lumMod","attrs","val"]))/1e5;isNaN(w)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.l*e;return a>=1&&(a=1),r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,w,b));var _=parseInt(Ll(a,["a:lumOff","attrs","val"]))/1e5;isNaN(_)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=e+n.l;return a>=1?r?Ku({h:n.h,s:n.s,l:1,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:1,a:n.a}).toHex():r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,_,b));var k=parseInt(Ll(a,["a:satMod","attrs","val"]))/1e5;isNaN(k)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.s*e;return a>=1&&(a=1),r?Ku({h:n.h,s:a,l:n.l,a:n.a}).toHex8():Ku({h:n.h,s:a,l:n.l,a:n.a}).toHex()}(s,k,b));var x=parseInt(Ll(a,["a:shade","attrs","val"]))/1e5;isNaN(x)||(s=function(t,e,r){var n=Ku(t).toHsl();e>=1&&(e=1);var a=Math.min(n.l*e,1);return r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,x,b));var S=parseInt(Ll(a,["a:tint","attrs","val"]))/1e5;return isNaN(S)||(s=Hl(s,S,b)),s&&-1===s.indexOf("#")&&(s="#"+s),s}function rc(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 nc(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 nc(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 nc(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 ac(t,e){t.constructor!==Array&&(t=[t]);var r,n=[],a=rc(t);try{for(a.s();!(r=a.n()).done;){var i=r.value,o=Ll(i,["c:spPr","a:solidFill","a:schemeClr"]);o||(o=Ll(i,["c:spPr","a:ln","a:solidFill","a:schemeClr"])),o||(o=Ll(i,["c:marker","c:spPr","a:ln","a:solidFill","a:schemeClr"]));var s=Ll(o,["attrs","val"]);if(s){s=Ll(e.themeContent,["a:theme","a:themeElements","a:clrScheme","a:".concat(s),"a:srgbClr","attrs","val"]);var u=Ll(o,["a:tint","attrs","val"])/1e5;s&&!isNaN(u)&&(s=Hl(s,u))}else s=Ll(i,["c:spPr","a:solidFill","a:srgbClr","attrs","val"]);s&&(s="#"+s),n.push(s)}}catch(t){a.e(t)}finally{a.f()}return n}function ic(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=Ll(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,i={};return Ll(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"],""})):Ll(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"],""})),Ll(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 oc(t,e){var r=null;for(var n in t)switch(n){case"c:lineChart":r={type:"lineChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),marker:!!t[n]["c:marker"]};break;case"c:line3DChart":r={type:"line3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:barChart":r={type:"barChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),barDir:Ll(t[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":r={type:"bar3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),barDir:Ll(t[n],["c:barDir","attrs","val"])};break;case"c:pieChart":r={type:"pieChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e)};break;case"c:pie3DChart":r={type:"pie3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e)};break;case"c:doughnutChart":r={type:"doughnutChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e),holeSize:Ll(t[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":r={type:"areaChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":r={type:"area3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":r={type:"scatterChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),style:Ll(t[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":r={type:"bubbleChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:radarChart":r={type:"radarChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),style:Ll(t[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":r={type:"surfaceChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:surface3DChart":r={type:"surface3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:stockChart":r={type:"stockChart",data:ic(t[n]["c:ser"]),colors:[]}}return r}function sc(t,e,r,n){var a=Ll(t,["a:pPr","attrs","algn"]);if(a||(a=Ll(e,["a:pPr","attrs","algn"])),!a)if("title"===r||"ctrTitle"===r||"subTitle"===r){var i=1,o=Ll(e,["a:pPr","attrs","lvl"]);o&&(i=parseInt(o)+1);var s="a:lvl"+i+"pPr";(a=Ll(n,["slideLayoutTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(a=Ll(n,["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"])),a||(a=Ll(n,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),a||"subTitle"!==r||(a=Ll(n,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else a=Ll(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}function uc(t,e,r){var n=Ll(t,["p:txBody","a:bodyPr","attrs","anchor"]);return n||(n=Ll(e,["p:txBody","a:bodyPr","attrs","anchor"]))||(n=Ll(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(n="t"),"ctr"===n?"mid":"b"===n?"down":"up"}var lc=72/914400;function cc(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)*lc,left:parseInt(n.x)*lc}:{top:0,left:0}}function fc(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)*lc,height:parseInt(n.cy)*lc}:{width:0,height:0}}function hc(t,e){var r=ec(t,void 0,void 0,e),n=t.attrs,a=n.dir?parseInt(n.dir)/6e4:0,i=parseInt(n.dist)*lc,o=n.blurRad?parseInt(n.blurRad)*lc:"",s=i*Math.sin(a*Math.PI/180);return{h:i*Math.cos(a*Math.PI/180),v:s,blur:o,color:r}}function dc(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 pc(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 pc(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 pc(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 gc(t,e,r,n,a){if(!t)return"";var i,o="",s=Ll(e,["p:style","a:fontRef"]),u=t["a:p"],l="",c=dc(u.constructor===Array?u:[u]);try{for(c.s();!(i=c.n()).done;){var f=i.value,h=f["a:r"],d=f["a:fld"],p=f["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=sc(f,e,n,a),b=bc(f);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=dc(h);try{for(v.s();!(m=v.n()).done;){o+=mc(m.value,f,t,s,r,n,a)}}catch(t){v.e(t)}finally{v.f()}}else o+=mc(f,e,t,s,r,n,a);o+=b?"</li>":"</p>"}}catch(t){c.e(t)}finally{c.f()}return o}function bc(t){var e=t["a:pPr"];return e?e["a:buChar"]?"ul":e["a:buAutoNum"]?"ol":"":""}function mc(t,e,r,n,a,i,o){var s=r["a:lstStyle"],u=o.slideMasterTextStyles,l=1,c=Ll(e["a:pPr"],["attrs","lvl"]);void 0!==c&&(l=parseInt(c)+1);var f=t["a:t"];"string"!=typeof f&&(f=Ll(t,["a:fld","a:t"])),"string"!=typeof f&&(f=" ");var h="",d=function(t,e,r,n,a,i){var o,s=Ll(t,["a:rPr"]);if(s&&"SOLID_FILL"===Wl(s)&&(o=ec(s["a:solidFill"],void 0,void 0,i)),!o&&Ll(r,["a:lvl"+a+"pPr","a:defRPr"])){var u=Ll(r,["a:lvl"+a+"pPr","a:defRPr"]);"SOLID_FILL"===Wl(u)&&(o=ec(u["a:solidFill"],void 0,void 0,i))}if(!o){var l=Ll(e,["p:style","a:fontRef"]);l&&(o=ec(l,void 0,void 0,i)),!o&&n&&(o=ec(n,void 0,void 0,i))}return o||""}(t,e,s,n,l,o),p=function(t,e,r,n){var a,i;if(Ll(t,["a:rPr","attrs","sz"])&&(a=Ll(t,["a:rPr","attrs","sz"])/100),isNaN(a)||!a){var o=Ll(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=Ll(n,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"body"===r?i=Ll(n,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"dt"===r||"sldNum"===r?i="1200":r||(i=Ll(n,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),i&&(a=parseInt(i)/100)),Ll(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=Ll(t,["a:rPr","a:latin","attrs","typeface"]);if(!n){var a=Ll(r.themeContent,["a:theme","a:themeElements","a:fontScheme"]);n=Ll(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"===Ll(t,["a:rPr","attrs","b"])?"bold":""}(t),m=function(t){return"1"===Ll(t,["a:rPr","attrs","i"])?"italic":""}(t),v=function(t){return"sng"===Ll(t,["a:rPr","attrs","u"])?"underline":""}(t),y=function(t){return"sngStrike"===Ll(t,["a:rPr","attrs","strike"])?"line-through":""}(t),w=function(t){var e=Ll(t,["a:rPr","attrs","spc"]);return e?parseInt(e)/100+"pt":""}(t),_=function(t,e){var r=Ll(t,["a:rPr","a:effectLst","a:outerShdw"]);if(r){var n=hc(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=Ll(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=Ll(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(f.replace(/\t/g," ").replace(/\s/g," "),"</a></span>")}return'<span style="'.concat(h,'">').concat(f.replace(/\t/g," ").replace(/\s/g," "),"</span>")}function vc(t,e,r,n,a,i,o){var s,u=a;if(i>=a)for(;u<=i;){var l=u*(Math.PI/180),c=t+Math.cos(l)*r,f=e+Math.sin(l)*n;u===a&&(s=" M"+c+" "+f),s+=" L"+c+" "+f,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 yc(t,e,r){var n=Ll(t,["a:pathLst"]),a=Ll(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="",c=Ll(a,["a:moveTo"]),f=a["a:lnTo"],h=a["a:cubicBezTo"],d=a["a:arcTo"],p=Ll(a,["a:close"]);Array.isArray(c)||(c=[c]);var g=[];if(c.length>0){if(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:"movto",x:n,y:a,order:i})}))})),f&&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:"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=Ll(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+=vc(R,E,R,E,O,O+parseInt(g[C].swAng)/6e4,!1)}else"close"===g[C].type&&(l+="z");C++}}return l}function wc(t,e){var r={};if(t["a:bottom"]){var n=Nl({"p:spPr":{"a:ln":t["a:bottom"]["a:ln"]}},void 0,e);r.bottom=n}if(t["a:top"]){var a=Nl({"p:spPr":{"a:ln":t["a:top"]["a:ln"]}},void 0,e);r.top=a}if(t["a:right"]){var i=Nl({"p:spPr":{"a:ln":t["a:right"]["a:ln"]}},void 0,e);r.right=i}if(t["a:left"]){var o=Nl({"p:spPr":{"a:ln":t["a:left"]["a:ln"]}},void 0,e);r.left=o}return r}function _c(t,e,r,n){return kc.apply(this,arguments)}function kc(){return(kc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=Ll(e,["attrs","rowSpan"]),o=Ll(e,["attrs","gridSpan"]),s=Ll(e,["attrs","vMerge"]),u=Ll(e,["attrs","hMerge"]),!(d=Ll(e,["a:tcPr"]))){t.next=11;break}return p={"p:spPr":d},t.next=9,Ql(p,void 0,a);case 9:(g=t.sent)&&"color"===g.type&&g.value&&(c=g.value);case 11:return c||(n&&(b=Ll(r,[n,"a:tcStyle","a:fill","a:solidFill"])),b&&(c=ec(b,void 0,void 0,a))),n&&(m=Ll(r,[n,"a:tcTxStyle"])),m&&(f=ec(m,void 0,void 0,a),"on"===Ll(m,["attrs","b"])&&(h=!0)),t.abrupt("return",{fillColor:c,fontColor:f,fontBold:h,rowSpan:i?+i:void 0,colSpan:o?+o:void 0,vMerge:s?+s:void 0,hMerge:u?+u:void 0});case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xc(t,e,r,n,a){var i,o,s;if(n&&n["a:wholeTbl"]){var u=Ll(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(u){var l=ec(u,void 0,void 0,a);l&&(i=l)}var c=Ll(n,["a:wholeTbl","a:tcTxStyle"]);if(c){var f=ec(c,void 0,void 0,a);f&&(o=f),"on"===Ll(c,["attrs","b"])&&(s=!0)}}if(0===e&&1===r.isFrstRowAttr&&n){var h=Ll(n,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(h){var d=ec(h,void 0,void 0,a);d&&(i=d)}var p=Ll(n,["a:firstRow","a:tcTxStyle"]);if(p){var g=ec(p,void 0,void 0,a);g&&(o=g),"on"===Ll(p,["attrs","b"])&&(s=!0)}}else if(e>0&&1===r.isBandRowAttr&&n){if(i="",e%2==0&&n["a:band2H"]){var b=Ll(n,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(b){var m=ec(b,void 0,void 0,a);m&&(i=m)}var v=Ll(n,["a:band2H","a:tcTxStyle"]);if(v){var y=ec(v,void 0,void 0,a);y&&(o=y)}"on"===Ll(v,["attrs","b"])&&(s=!0)}if(e%2!=0&&n["a:band1H"]){var w=Ll(n,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(w){var _=ec(w,void 0,void 0,a);_&&(i=_)}var k=Ll(n,["a:band1H","a:tcTxStyle"]);if(k){var x=ec(k,void 0,void 0,a);x&&(o=x),"on"===Ll(k,["attrs","b"])&&(s=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&n){var S=Ll(n,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(S){var A=ec(S,void 0,void 0,a);A&&(i=A)}var C=Ll(n,["a:lastRow","a:tcTxStyle"]);if(C){var E=ec(C,void 0,void 0,a);E&&(o=E),"on"===Ll(C,["attrs","b"])&&(s=!0)}}return{fillColor:i,fontColor:o,fontBold:s}}function Sc(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 Ac(t){return function(t){if(Array.isArray(t))return Sc(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 Sc(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)?Sc(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 Cc(t){var e=[];return"object"!==Iu(t)||(t["m:oMath"]&&(e=e.concat(t["m:oMath"])),Object.values(t).forEach((function(t){(Array.isArray(t)||"object"===Iu(t))&&(e=e.concat(Cc(t)))}))),e}function Ec(t,e){var r=Rc(t["m:e"]),n=Rc(t["m:lim"]);return"low"===e?"".concat(r,"_{").concat(n,"}"):"".concat(r,"^{").concat(n,"}")}function Rc(t){if(!t)return"";if(Array.isArray(t))return t.map((function(t){return Rc(t)})).join("");for(var e=[],r=Object.keys(t),n=function(){var r=i[a];Array.isArray(t[r])?e.push.apply(e,Ac(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,c,f,h,d,p,g,b,m,v=t.key,y=t.value;return"m:f"===v?(r=Rc((e=y)["m:num"]),n=Rc(e["m:den"]),"\\frac{".concat(r,"}{").concat(n,"}")):"m:sSup"===v?(i=Rc((a=y)["m:e"]),o=Rc(a["m:sup"]),"".concat(i,"^{").concat(o,"}")):"m:sSub"===v?function(t){var e=Rc(t["m:e"]),r=Rc(t["m:sub"]);return"".concat(e,"_{").concat(r,"}")}(y):"m:rad"===v?(u=Rc((s=y)["m:deg"]),l=Rc(s["m:e"]),u?"\\sqrt[".concat(u,"]{").concat(l,"}"):"\\sqrt{".concat(l,"}")):"m:nary"===v?function(t){var e=Ll(t,["m:naryPr","m:chr","attrs","m:val"])||"∫",r=Rc(t["m:sub"]),n=Rc(t["m:sup"]),a=Rc(t["m:e"]);return"".concat(e,"_{").concat(r,"}^{").concat(n,"}{").concat(a,"}")}(y):"m:limLow"===v?Ec(y,"low"):"m:limUpp"===v?Ec(y,"upp"):"m:d"===v?function(t){var e=Ll(t,["m:dPr","m:begChr","attrs","m:val"]),r=Ll(t,["m:dPr","m:endChr","attrs","m:val"]);e||r||(e="(",r=")"),e&&r&&(e="\\left".concat(e),r="\\right".concat(r));var n=Rc(t["m:e"]);return"".concat(e).concat(n).concat(r)}(y):"m:func"===v?(f=Rc((c=y)["m:fName"]),h=Rc(c["m:e"]),"\\".concat(f,"{").concat(h,"}")):"m:groupChr"===v?(p=Ll(d=y,["m:groupChrPr","m:chr","attrs","m:val"]),g=Rc(d["m:e"]),"".concat(p).concat(g).concat(p)):"m:eqArr"===v?(b=y["m:e"].map((function(t){return Rc(t)})).join(" \\\\ "),"\\begin{cases} ".concat(b," \\end{cases}")):"m:bar"===v?function(t){var e=Rc(t["m:e"]);return"top"===Ll(t,["m:barPr","m:pos","attrs","m:val"])?"\\overline{".concat(e,"}"):"\\underline{".concat(e,"}")}(y):"m:acc"===v?function(t){var e=Ll(t,["m:accPr","m:chr","attrs","m:val"])||"^",r=Rc(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=Rc(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 Rc(t)})).join(" & ")})),"\\begin{matrix} ".concat(m.join(" \\\\ ")," \\end{matrix}")):"m:r"===v?Rc(y):"m:t"===v?y:""})).join("")}function Oc(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 Tc(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Oc(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pc(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 Lc(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 Lc(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 Lc(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 Mc(){return(Mc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],t.next=3,Mu.loadAsync(e);case 3:return n=t.sent,t.next=6,Ic(n);case 6:return a=t.sent,t.next=9,Dc(n);case 9:return i=t.sent,o=i.width,s=i.height,u=i.defaultTextStyle,t.next=15,zc(n);case 15:c=t.sent,f=c.themeContent,h=c.themeColors,d=Pc(a.slides),t.prev=19,d.s();case 21:if((p=d.n()).done){t.next=29;break}return g=p.value,t.next=25,Nc(n,g,f,u);case 25:b=t.sent,r.push(b);case 27:t.next=21;break;case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(19),d.e(t.t0);case 34:return t.prev=34,d.f(),t.finish(34);case 37:return t.abrupt("return",{slides:r,themeColors:h,size:{width:o,height:s}});case 38:case"end":return t.stop()}}),t,null,[[19,31,34,37]])})))).apply(this,arguments)}function Ic(t){return Bc.apply(this,arguments)}function Bc(){return(Bc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(e,"[Content_Types].xml");case 2:r=t.sent,n=r.Types.Override,a=[],i=[],o=Pc(n),t.prev=7,o.s();case 9:if((s=o.n()).done){t.next=20;break}u=s.value,t.t0=u.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(u.attrs.PartName.substr(1)),t.abrupt("break",18);case 16:return i.push(u.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 c=function(t,e){return+/(\d+)\.xml/.exec(t)[1]-+/(\d+)\.xml/.exec(e)[1]},a=a.sort(c),i=i.sort(c),t.abrupt("return",{slides:a,slideLayouts:i});case 32:case"end":return t.stop()}}),t,null,[[7,22,25,28]])})))).apply(this,arguments)}function Dc(t){return jc.apply(this,arguments)}function jc(){return(jc=n(l.mark((function t(e){var r,n,a;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(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)*lc,height:parseInt(n.cy)*lc,defaultTextStyle:a});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function zc(t){return Fc.apply(this,arguments)}function Fc(){return Fc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(e,"ppt/_rels/presentation.xml.rels");case 2:if(r=t.sent,(n=r.Relationships.Relationship).constructor!==Array){t.next=25;break}i=Pc(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:return t.next=28,Zu(e,"ppt/"+a);case 28:if(u=t.sent,c=[],!(f=Ll(u,["a:theme","a:themeElements","a:clrScheme"]))){t.next=41;break}h=1;case 33:if(!(h<=6)){t.next=41;break}if(void 0!==f["a:accent".concat(h)]){t.next=36;break}return t.abrupt("break",41);case 36:(d=Ll(f,["a:accent".concat(h),"a:srgbClr","attrs","val"]))&&c.push("#"+d);case 38:h++,t.next=33;break;case 41:return t.abrupt("return",{themeContent:u,themeColors:c});case 42:case"end":return t.stop()}}),t,null,[[6,17,20,23]])}))),Fc.apply(this,arguments)}function Nc(t,e,r,n){return Uc.apply(this,arguments)}function Uc(){return Uc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,at,it,ot,st,ut,lt,ct;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r.replace("slides/slide","slides/_rels/slide")+".rels",t.next=3,Zu(e,i);case 3:o=t.sent,(s=o.Relationships.Relationship).constructor!==Array&&(s=[s]),u="",c="",f="",h="",d="",p={},g={},b={},m={},v={},y=Pc(s),t.prev=17,y.s();case 19:if((w=y.n()).done){t.next=34;break}_=w.value,t.t0=_.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"===t.t0?24:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"===t.t0?26:"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"===t.t0?28:("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"===t.t0||"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"===t.t0||t.t0,31);break;case 24:return c=_.attrs.Target.replace("../","ppt/"),t.abrupt("break",32);case 26:return u=_.attrs.Target.replace("../","ppt/"),t.abrupt("break",32);case 28:return d=_.attrs.Target.replace("../","ppt/"),p[_.attrs.Id]={type:_.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:_.attrs.Target.replace("../","ppt/")},t.abrupt("break",32);case 31:p[_.attrs.Id]={type:_.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:_.attrs.Target.replace("../","ppt/")};case 32:t.next=19;break;case 34:t.next=39;break;case 36:t.prev=36,t.t1=t.catch(17),y.e(t.t1);case 39:return t.prev=39,y.f(),t.finish(39);case 42:return t.next=44,Zu(e,u);case 44:return k=t.sent,x=Hc(k),t.next=48,Zu(e,c);case 48:return S=t.sent,t.next=51,qc(S);case 51:return A=t.sent,C=c.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",t.next=55,Zu(e,C);case 55:E=t.sent,(s=E.Relationships.Relationship).constructor!==Array&&(s=[s]),R=Pc(s),t.prev=59,R.s();case 61:if((O=R.n()).done){t.next=71;break}T=O.value,t.t2=T.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"===t.t2?66:68;break;case 66:return f=T.attrs.Target.replace("../","ppt/"),t.abrupt("break",69);case 68:g[T.attrs.Id]={type:T.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:T.attrs.Target.replace("../","ppt/")};case 69:t.next=61;break;case 71:t.next=76;break;case 73:t.prev=73,t.t3=t.catch(59),R.e(t.t3);case 76:return t.prev=76,R.f(),t.finish(76);case 79:return t.next=81,Zu(e,f);case 81:return P=t.sent,L=Ll(P,["p:sldMaster","p:txStyles"]),M=qc(P),I=f.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",t.next=87,Zu(e,I);case 87:B=t.sent,(s=B.Relationships.Relationship).constructor!==Array&&(s=[s]),D=Pc(s),t.prev=91,D.s();case 93:if((j=D.n()).done){t.next=103;break}z=j.value,t.t4=z.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.t4?98:100;break;case 98:return h=z.attrs.Target.replace("../","ppt/"),t.abrupt("break",101);case 100:b[z.attrs.Id]={type:z.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:z.attrs.Target.replace("../","ppt/")};case 101:t.next=93;break;case 103:t.next=108;break;case 105:t.prev=105,t.t5=t.catch(91),D.e(t.t5);case 108:return t.prev=108,D.f(),t.finish(108);case 111:if(!h){t.next=118;break}return F=h.split("/").pop(),N=h.replace(F,"_rels/"+F)+".rels",t.next=116,Zu(e,N);case 116:if((U=t.sent)&&(s=U.Relationships.Relationship)){s.constructor!==Array&&(s=[s]),H=Pc(s);try{for(H.s();!(W=H.n()).done;)Z=W.value,m[Z.attrs.Id]={type:Z.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:Z.attrs.Target.replace("../","ppt/")}}catch(t){H.e(t)}finally{H.f()}}case 118:if(q={},!d){t.next=130;break}return Y=d.split("/").pop(),G=d.replace(Y,"_rels/"+Y)+".rels",t.next=124,Zu(e,d);case 124:return(q=t.sent)&&(V=JSON.stringify(q).replace(/dsp:/g,"p:"),q=JSON.parse(V)),t.next=128,Zu(e,G);case 128:if(K=t.sent){(s=K.Relationships.Relationship).constructor!==Array&&(s=[s]),X=Pc(s);try{for(X.s();!($=X.n()).done;)J=$.value,v[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()}}case 130:return t.next=132,Zu(e,"ppt/tableStyles.xml");case 132:return Q=t.sent,t.next=135,Zu(e,r);case 135:return tt=t.sent,et=tt["p:sld"]["p:cSld"]["p:spTree"],rt={zip:e,slideLayoutContent:S,slideLayoutTables:A,slideMasterContent:P,slideMasterTables:M,slideContent:tt,tableStyles:Q,slideResObj:p,slideMasterTextStyles:L,layoutResObj:g,masterResObj:b,themeContent:n,themeResObj:m,digramFileContent:q,diagramResObj:v,defaultTextStyle:a},t.next=140,Wc(rt);case 140:return nt=t.sent,t.next=143,$l(rt);case 143:at=t.sent,it=[],t.t6=l.keys(et);case 146:if((t.t7=t.t6()).done){t.next=170;break}ot=t.t7.value,et[ot].constructor!==Array&&(et[ot]=[et[ot]]),st=Pc(et[ot]),t.prev=150,st.s();case 152:if((ut=st.n()).done){t.next=160;break}return lt=ut.value,t.next=156,Yc(ot,lt,rt,"slide");case 156:(ct=t.sent)&&it.push(ct);case 158:t.next=152;break;case 160:t.next=165;break;case 162:t.prev=162,t.t8=t.catch(150),st.e(t.t8);case 165:return t.prev=165,st.f(),t.finish(165);case 168:t.next=146;break;case 170:return t.abrupt("return",{fill:at,elements:it,layoutElements:nt,note:x});case 171:case"end":return t.stop()}}),t,null,[[17,36,39,42],[59,73,76,79],[91,105,108,111],[150,162,165,168]])}))),Uc.apply(this,arguments)}function Hc(t){var e="",r=Ll(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";r.constructor!==Array&&(r=[r]);var n,a=Pc(r);try{for(a.s();!(n=a.n()).done;){var i=Ll(n.value,["p:txBody","a:p","a:r"]);if(i){i.constructor!==Array&&(i=[i]);var o,s=Pc(i);try{for(s.s();!(o=s.n()).done;){var u=Ll(o.value,["a:t"]);u&&"string"==typeof u&&(e+=u)}}catch(t){s.e(t)}finally{s.f()}}}}catch(t){a.e(t)}finally{a.f()}return e}function Wc(t){return Zc.apply(this,arguments)}function Zc(){return Zc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=[],n=e.slideLayoutContent,a=e.slideMasterContent,i=Ll(n,["p:sldLayout","p:cSld","p:spTree"]),o=Ll(a,["p:sldMaster","p:cSld","p:spTree"]),s=Ll(n,["p:sldLayout","attrs","showMasterSp"]),!i){t.next=32;break}t.t0=l.keys(i);case 8:if((t.t1=t.t0()).done){t.next=32;break}if(u=t.t1.value,i[u].constructor!==Array){t.next=24;break}c=0;case 12:if(!(c<i[u].length)){t.next=22;break}if(Ll(i[u][c],["p:nvSpPr","p:nvPr","p:ph"])){t.next=19;break}return t.next=17,Yc(u,i[u][c],e,"slideLayoutBg");case 17:(f=t.sent)&&r.push(f);case 19:c++,t.next=12;break;case 22:t.next=30;break;case 24:if(Ll(i[u],["p:nvSpPr","p:nvPr","p:ph"])){t.next=30;break}return t.next=28,Yc(u,i[u],e,"slideLayoutBg");case 28:(h=t.sent)&&r.push(h);case 30:t.next=8;break;case 32:if(!o||"0"===s){t.next=58;break}t.t2=l.keys(o);case 34:if((t.t3=t.t2()).done){t.next=58;break}if(d=t.t3.value,o[d].constructor!==Array){t.next=50;break}p=0;case 38:if(!(p<o[d].length)){t.next=48;break}if(Ll(o[d][p],["p:nvSpPr","p:nvPr","p:ph"])){t.next=45;break}return t.next=43,Yc(d,o[d][p],e,"slideMasterBg");case 43:(g=t.sent)&&r.push(g);case 45:p++,t.next=38;break;case 48:t.next=56;break;case 50:if(Ll(o[d],["p:nvSpPr","p:nvPr","p:ph"])){t.next=56;break}return t.next=54,Yc(d,o[d],e,"slideMasterBg");case 54:(b=t.sent)&&r.push(b);case 56:t.next=34;break;case 58:return t.abrupt("return",r);case 59:case"end":return t.stop()}}),t)}))),Zc.apply(this,arguments)}function qc(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=Pc(o);try{for(u.s();!(s=u.n()).done;){var l=s.value,c=l["p:nvSpPr"],f=Ll(c,["p:cNvPr","attrs","id"]),h=Ll(c,["p:nvPr","p:ph","attrs","idx"]),d=Ll(c,["p:nvPr","p:ph","attrs","type"]);f&&(r[f]=l),h&&(n[h]=l),d&&(a[d]=l)}}catch(t){u.e(t)}finally{u.f()}}else{var p=o["p:nvSpPr"],g=Ll(p,["p:cNvPr","attrs","id"]),b=Ll(p,["p:nvPr","p:ph","attrs","idx"]),m=Ll(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 Yc(t,e,r,n){return Gc.apply(this,arguments)}function Gc(){return(Gc=n(l.mark((function t(e,r,n,a){var i;return l.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?7:"p:pic"===t.t0?11:"p:graphicFrame"===t.t0?15:"p:grpSp"===t.t0?19:"mc:AlternateContent"===t.t0?23:31;break;case 3:return t.next=5,$c(r,n,a);case 5:return i=t.sent,t.abrupt("break",31);case 7:return t.next=9,Qc(r,n,a);case 9:return i=t.sent,t.abrupt("break",31);case 11:return t.next=13,nf(r,n,a);case 13:return i=t.sent,t.abrupt("break",31);case 15:return t.next=17,of(r,n,a);case 17:return i=t.sent,t.abrupt("break",31);case 19:return t.next=21,Kc(r,n,a);case 21:return i=t.sent,t.abrupt("break",31);case 23:if(!Ll(r,["mc:Fallback","p:grpSpPr","a:xfrm"])){t.next=29;break}return t.next=26,Kc(Ll(r,["mc:Fallback"]),n,a);case 26:i=t.sent,t.next=30;break;case 29:Ll(r,["mc:Choice"])&&(i=Vc(Ll(r,["mc:Choice"])));case 30:return t.abrupt("break",31);case 31:return t.abrupt("return",i);case 32:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Vc(t){var e=t.attrs.order,r=Ll(t,["p:sp","p:spPr","a:xfrm"]),n=cc(r,void 0,void 0),a=n.top,i=n.left,o=fc(r,void 0,void 0);return{type:"math",top:a,left:i,width:o.width,height:o.height,latex:function(t){return t.replaceAll(/</g,"<").replaceAll(/>/g,">").replaceAll(/&/g,"&").replaceAll(/'/g,"'").replaceAll(/"/g,'"')}(Rc(Cc(t)[0])),order:e}}function Kc(t,e,r){return Xc.apply(this,arguments)}function Xc(){return Xc=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e.attrs.order,i=Ll(e,["p:grpSpPr","a:xfrm"])){t.next=4;break}return t.abrupt("return",null);case 4:o=parseInt(i["a:off"].attrs.x)*lc,s=parseInt(i["a:off"].attrs.y)*lc,u=parseInt(i["a:chOff"].attrs.x)*lc,c=parseInt(i["a:chOff"].attrs.y)*lc,f=parseInt(i["a:ext"].attrs.cx)*lc,h=parseInt(i["a:ext"].attrs.cy)*lc,d=parseInt(i["a:chExt"].attrs.cx)*lc,p=parseInt(i["a:chExt"].attrs.cy)*lc,(g=Ll(i,["attrs","rot"])||0)&&(g=Ml(g)),b=f/d,m=h/p,v=[],t.t0=l.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=Pc(e[y]),t.prev=22,w.s();case 24:if((_=w.n()).done){t.next=32;break}return k=_.value,t.next=28,Yc(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,Yc(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:f,height:h,rotate:g,order:a,elements:v.map((function(t){return Tc(Tc({},t),{},{left:(t.left-u)*b,top:(t.top-c)*m,width:t.width*b,height:t.height*m})}))});case 49:case"end":return t.stop()}}),t,null,[[22,34,37,40]])}))),Xc.apply(this,arguments)}function $c(t,e,r){return Jc.apply(this,arguments)}function Jc(){return Jc=n(l.mark((function t(e,r,n){var a,i,o,s,u,c;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Ll(e,["p:nvSpPr","p:cNvPr","attrs","name"]),i=Ll(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),o=Ll(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),s=Ll(e,["attrs","order"]),o?(u=r.slideLayoutTables.typeTable[o],c=r.slideMasterTables.typeTable[o]):i&&(u=r.slideLayoutTables.idxTable[i],c=r.slideMasterTables.idxTable[i]),o||"1"===Ll(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])&&(o="text"),o||(o=Ll(u,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),o||(o=Ll(c,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),o||(o="diagramBg"===n?"diagram":"obj"),t.next=11,ef(e,u,c,a,o,s,r,n);case 11:return t.abrupt("return",t.sent);case 12:case"end":return t.stop()}}),t)}))),Jc.apply(this,arguments)}function Qc(t,e,r){return tf.apply(this,arguments)}function tf(){return tf=n(l.mark((function t(e,r,n){var a,i,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,i=void 0===e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,o=e.attrs.order,t.next=5,ef(e,void 0,void 0,a,i,o,r,n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),tf.apply(this,arguments)}function ef(t,e,r,n,a,i,o,s){return rf.apply(this,arguments)}function rf(){return rf=n(l.mark((function t(e,r,n,a,i,o,s,u){var c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f=Ll(e,c=["p:spPr","a:xfrm"]),h=Ll(r,c),d=Ll(n,c),p=Ll(e,["p:spPr","a:prstGeom","attrs","prst"]),g=Ll(e,["p:spPr","a:custGeom"]),b=cc(f,h,d),m=b.top,v=b.left,y=fc(f,h,d),w=y.width,_=y.height,k="1"===Ll(f,["attrs","flipV"]),x="1"===Ll(f,["attrs","flipH"]),S=Ml(Ll(f,["attrs","rot"])),(A=Ll(e,["p:txXfrm"]))?(E=Ll(A,["attrs","rot"]))&&(C=Ml(E)+90):C=S,R="",e["p:txBody"]&&(R=gc(e["p:txBody"],e,r,i,s)),O=Nl(e,i,s),T=O.borderColor,P=O.borderWidth,L=O.borderType,M=O.strokeDasharray,t.next=18,Ql(e,void 0,s,u);case 18:if(t.t0=t.sent,t.t0){t.next=21;break}t.t0="";case 21:if(I=t.t0,(D=Ll(e,["p:spPr","a:effectLst","a:outerShdw"]))&&(B=hc(D,s)),j=uc(e,r,n),z="eaVert"===Ll(e,["p:txBody","a:bodyPr","attrs","vert"]),F={left:v,top:m,width:w,height:_,borderColor:T,borderWidth:P,borderType:L,borderStrokeDasharray:M,fill:I,content:R,isFlipV:k,isFlipH:x,rotate:S,vAlign:j,name:a,order:o},B&&(F.shadow=B),!g||"diagram"===i){t.next=35;break}return N=Ll(f,["a:ext","attrs"]),U=parseInt(N.cx)*lc,H=parseInt(N.cy)*lc,W=yc(g,U,H),F.content&&!zl(F.content)&&(F.content=""),t.abrupt("return",Tc(Tc({},F),{},{type:"shape",shapType:"custom",path:W}));case 35:if(!p||"obj"!==i&&i){t.next=38;break}return F.content&&!zl(F.content)&&(F.content=""),t.abrupt("return",Tc(Tc({},F),{},{type:"shape",shapType:p}));case 38:return t.abrupt("return",Tc(Tc({},F),{},{type:"text",isVertical:z,rotate:C}));case 39:case"end":return t.stop()}}),t)}))),rf.apply(this,arguments)}function nf(t,e,r){return af.apply(this,arguments)}function af(){return af=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,j,z;return l.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,u=Tl(s).toLowerCase(),c=r.zip,t.next=8,c.file(s).async("arraybuffer");case 8:if(f=t.sent,h=e["p:spPr"]["a:xfrm"],d=Bl(u),p=cc(h,void 0,void 0),g=p.top,b=p.left,m=fc(h,void 0,void 0),v=m.width,y=m.height,w="data:".concat(d,";base64,").concat(Ol(f)),_="1"===Ll(h,["attrs","flipV"]),k="1"===Ll(h,["attrs","flipH"]),x=0,(S=Ll(e,["p:spPr","a:xfrm","attrs","rot"]))&&(x=Ml(S)),A=Ll(e,["p:nvPicPr","p:nvPr","a:videoFile"]),L=!1,!A){t.next=36;break}if(C=A.attrs["r:link"],!Dl(E=a[C].target)){t.next=29;break}E=Il(E),L=!0,t.next=36;break;case 29:if("mp4"!==(R=Tl(E).toLowerCase())&&"webm"!==R&&"ogg"!==R){t.next=36;break}return t.next=33,c.file(E).async("arraybuffer");case 33:T=t.sent,O=Bl(R),P=URL.createObjectURL(new Blob([T],{type:O}));case 36:if(!(M=Ll(e,["p:nvPicPr","p:nvPr","a:audioFile"]))){t.next=46;break}if(I=M.attrs["r:link"],B=a[I].target,"mp3"!==(D=Tl(B).toLowerCase())&&"wav"!==D&&"ogg"!==D){t.next=46;break}return t.next=44,c.file(B).async("arraybuffer");case 44:j=t.sent,z=URL.createObjectURL(new Blob([j]));case 46:if(!A||L){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||!L){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(!M){t.next=52;break}return t.abrupt("return",{type:"audio",top:g,left:b,width:v,height:y,rotate:x,blob:z,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)}))),af.apply(this,arguments)}function of(t,e,r){return sf.apply(this,arguments)}function sf(){return sf=n(l.mark((function t(e,r,n){var a,i,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=Ll(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?8:"http://schemas.openxmlformats.org/drawingml/2006/diagram"===t.t0?12:"http://schemas.openxmlformats.org/presentationml/2006/ole"===t.t0?16:23;break;case 4:return t.next=6,uf(e,r);case 6:return i=t.sent,t.abrupt("break",23);case 8:return t.next=10,cf(e,r);case 10:return i=t.sent,t.abrupt("break",23);case 12:return t.next=14,hf(e,r);case 14:return i=t.sent,t.abrupt("break",23);case 16:if((o=Ll(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))||(o=Ll(e,["a:graphic","a:graphicData","p:oleObj"])),!o){t.next=22;break}return t.next=21,Kc(o,r,n);case 21:i=t.sent;case 22:return t.abrupt("break",23);case 23:return t.abrupt("return",i);case 24:case"end":return t.stop()}}),t)}))),sf.apply(this,arguments)}function uf(t,e){return lf.apply(this,arguments)}function lf(){return lf=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,A,C,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W,Z,q,Y,G,V,K,X;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.attrs.order,a=Ll(e,["a:graphic","a:graphicData","a:tbl"]),i=Ll(e,["p:xfrm"]),o=cc(i,void 0,void 0),s=o.top,u=o.left,c=fc(i,void 0,void 0),f=c.width,h=c.height,d=Ll(e,["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},(k=d["a:tableStyleId"])&&(x=r.tableStyles["a:tblStyleLst"]["a:tblStyle"]))if(x.constructor===Array)for(S=0;S<x.length;S++)x[S].attrs.styleId===k&&(_=x[S]);else x.attrs.styleId===k&&(_=x);_&&(_.tblStylAttrObj=w),C=Ll(_,["a:wholeTbl","a:tcStyle"]),(E=Ll(C,["a:tcBdr"]))&&(R=wc(E,r))&&(A=R.bottom||R.left||R.right||R.top),O="",(T=Ll(_,["a:tblBg","a:fillRef"]))&&(O=ec(T,void 0,void 0,r)),void 0===T&&(T=Ll(_,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),O=ec(T,void 0,void 0,r)),(P=a["a:tr"]).constructor!==Array&&(P=[P]),L=[],M=0;case 27:if(!(M<P.length)){t.next=77;break}if(I=P[M],B=xc(P,M,w,_,r),D=B.fillColor,j=B.fontColor,z=B.fontBold,F=I["a:tc"],N=[],F.constructor!==Array){t.next=57;break}U=0;case 34:if(!(U<F.length)){t.next=55;break}return H=F[U],W=void 0,0===U&&1===w.isFrstColAttr?(W="a:firstCol",1===w.isLstRowAttr&&M===P.length-1&&Ll(_,["a:seCell"])?W="a:seCell":1===w.isFrstRowAttr&&0===M&&Ll(_,["a:neCell"])&&(W="a:neCell")):!(U>0&&1===w.isBandColAttr)||1===w.isFrstColAttr&&0===M||1===w.isLstRowAttr&&M===P.length-1||U===F.length-1||U%2!=0&&(void 0===Ll(_,["a:band2V"])?Ll(_,["a:band1V"])&&(W="a:band2V"):W="a:band2V"),U===F.length-1&&1===w.isLstColAttr&&(W="a:lastCol",1===w.isLstRowAttr&&M===P.length-1&&Ll(_,["a:swCell"])?W="a:swCell":1===w.isFrstRowAttr&&0===M&&Ll(_,["a:nwCell"])&&(W="a:nwCell")),Z=gc(H["a:txBody"],H,void 0,void 0,r),t.next=42,_c(H,_,W,r);case 42:q=t.sent,Y={text:Z},q.rowSpan&&(Y.rowSpan=q.rowSpan),q.colSpan&&(Y.colSpan=q.colSpan),q.vMerge&&(Y.vMerge=q.vMerge),q.hMerge&&(Y.hMerge=q.hMerge),(q.fontBold||z)&&(Y.fontBold=q.fontBold||z),(q.fontColor||j)&&(Y.fontColor=q.fontColor||j),(q.fillColor||D||O)&&(Y.fillColor=q.fillColor||D||O),N.push(Y);case 52:U++,t.next=34;break;case 55:t.next=73;break;case 57:return G=void 0,1===w.isFrstColAttr&&1!==w.isLstRowAttr?G="a:firstCol":1===w.isBandColAttr&&1!==w.isLstRowAttr&&(Ll(_,["a:band2V"])||Ll(_,["a:band1V"]))&&(G="a:band2V"),1===w.isLstColAttr&&1!==w.isLstRowAttr&&(G="a:lastCol"),V=gc(F["a:txBody"],F,void 0,void 0,r),t.next=63,_c(F,_,G,r);case 63:K=t.sent,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||z)&&(X.fontBold=K.fontBold||z),(K.fontColor||j)&&(X.fontColor=K.fontColor||j),(K.fillColor||D||O)&&(X.fillColor=K.fillColor||D||O),N.push(X);case 73:L.push(N);case 74:M++,t.next=27;break;case 77:return t.abrupt("return",Tc({type:"table",top:s,left:u,width:f,height:h,data:L,order:n},A||{}));case 78:case"end":return t.stop()}}),t)}))),lf.apply(this,arguments)}function cf(t,e){return ff.apply(this,arguments)}function ff(){return ff=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.attrs.order,a=Ll(e,["p:xfrm"]),i=cc(a,void 0,void 0),o=i.top,s=i.left,u=fc(a,void 0,void 0),c=u.width,f=u.height,h=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],d=r.slideResObj[h].target,t.next=8,Zu(r.zip,d);case 8:if(p=t.sent,g=Ll(p,["c:chartSpace","c:chart","c:plotArea"]),b=oc(g,r)){t.next=13;break}return t.abrupt("return",{});case 13:return m={type:"chart",top:o,left:s,width:c,height:f,data:b.data,colors:b.colors,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)}))),ff.apply(this,arguments)}function hf(t,e){return df.apply(this,arguments)}function df(){return df=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.attrs.order,a=Ll(e,["p:xfrm"]),i=cc(a,void 0,void 0),o=i.left,s=i.top,u=fc(a,void 0,void 0),c=u.width,f=u.height,h=Ll(r.digramFileContent,["p:drawing","p:spTree","p:sp"]),d=[],!h){t.next=26;break}p=Pc(h),t.prev=8,p.s();case 10:if((g=p.n()).done){t.next=18;break}return b=g.value,t.next=14,$c(b,r,"diagramBg");case 14:(m=t.sent)&&d.push(m);case 16:t.next=10;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(8),p.e(t.t0);case 23:return t.prev=23,p.f(),t.finish(23);case 26:return t.abrupt("return",{type:"diagram",left:o,top:s,width:c,height:f,elements:d,order:n});case 27:case"end":return t.stop()}}),t,null,[[8,20,23,26]])}))),df.apply(this,arguments)}t.parse=function(t){return Mc.apply(this,arguments)}}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).pptxtojson={})}(this,(function(t){"use strict";function e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function r(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 n(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,u,"next",t)}function u(t){r(o,a,i,s,u,"throw",t)}s(void 0)}))}}var a="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 o={exports:{}},s={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}(s),function(t){var e=s.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",c=s.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=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={};f(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){f(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 c=l.arg,f=c.value;return f&&"object"==e(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):r.resolve(f).then((function(t){c.value=t,s(c)}),(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=C(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 C(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,C(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 A(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(A,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=f(m,c,"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,f(t,c,"GeneratorFunction")),t.prototype=Object.create(_),t},n.awrap=function(t){return{__await:t}},k(x.prototype),f(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(_),f(_,c,"Generator"),f(_,u,(function(){return this})),f(_,"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}(o);var u=o.exports(),l=u;try{regeneratorRuntime=u}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=u:Function("r","regeneratorRuntime = r")(u)}var c={},f={},h="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},d=[],p=[],g="undefined"!=typeof Uint8Array?Uint8Array:Array,b=!1;function m(){b=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)d[e]=t[e],p[t.charCodeAt(e)]=e;p["-".charCodeAt(0)]=62,p["_".charCodeAt(0)]=63}function v(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(d[(a=n)>>18&63]+d[a>>12&63]+d[a>>6&63]+d[63&a]);return i.join("")}function y(t){var e;b||m();for(var r=t.length,n=r%3,a="",i=[],o=16383,s=0,u=r-n;s<u;s+=o)i.push(v(t,s,s+o>u?u:s+o));return 1===n?(e=t[r-1],a+=d[e>>2],a+=d[e<<4&63],a+="=="):2===n&&(e=(t[r-2]<<8)+t[r-1],a+=d[e>>10],a+=d[e>>4&63],a+=d[e<<2&63],a+="="),i.push(a),i.join("")}function w(t,e,r,n,a){var i,o,s=8*a-n-1,u=(1<<s)-1,l=u>>1,c=-7,f=r?a-1:0,h=r?-1:1,d=t[e+f];for(f+=h,i=d&(1<<-c)-1,d>>=-c,c+=s;c>0;i=256*i+t[e+f],f+=h,c-=8);for(o=i&(1<<-c)-1,i>>=-c,c+=n;c>0;o=256*o+t[e+f],f+=h,c-=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 _(t,e,r,n,a,i){var o,s,u,l=8*i-a-1,c=(1<<l)-1,f=c>>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=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+f>=1?h/u:h*Math.pow(2,1-f))*u>=2&&(o++,u/=2),o+f>=c?(s=0,o=c):o+f>=1?(s=(e*u-1)*Math.pow(2,a),o+=f):(s=e*Math.pow(2,f-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 k={}.toString,x=Array.isArray||function(t){return"[object Array]"==k.call(t)};E.TYPED_ARRAY_SUPPORT=void 0===h.TYPED_ARRAY_SUPPORT||h.TYPED_ARRAY_SUPPORT;var S=C();function C(){return E.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function A(t,e){if(C()<e)throw new RangeError("Invalid typed array length");return E.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=E.prototype:(null===t&&(t=new E(e)),t.length=e),t}function E(t,e,r){if(!(E.TYPED_ARRAY_SUPPORT||this instanceof E))return new E(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 T(this,t)}return R(this,t,e,r)}function R(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);E.TYPED_ARRAY_SUPPORT?(t=e).__proto__=E.prototype:t=P(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!E.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|I(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|L(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):P(t,e);if("Buffer"===e.type&&x(e.data))return P(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function O(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 T(t,e){if(O(e),t=A(t,e<0?0:0|L(e)),!E.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function P(t,e){var r=e.length<0?0:0|L(e.length);t=A(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function L(t){if(t>=C())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+C().toString(16)+" bytes");return 0|t}function M(t){return!(null==t||!t._isBuffer)}function I(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 st(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ut(t).length;default:if(n)return st(t).length;e=(""+e).toLowerCase(),n=!0}}function B(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 X(this,e,r);case"utf8":case"utf-8":return Y(this,e,r);case"ascii":return V(this,e,r);case"latin1":case"binary":return K(this,e,r);case"base64":return q(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function D(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function j(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=E.from(e,n)),M(e))return 0===e.length?-1:z(t,e,r,n,a);if("number"==typeof e)return e&=255,E.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 c=-1;for(i=r;i<s;i++)if(l(t,i)===l(e,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===u)return c*o}else-1!==c&&(i-=i-c),c=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,h=0;h<u;h++)if(l(t,i+h)!==l(e,h)){f=!1;break}if(f)return i}return-1}function F(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 N(t,e,r,n){return lt(st(e,t.length-r),t,r,n)}function U(t,e,r,n){return lt(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function H(t,e,r,n){return U(t,e,r,n)}function W(t,e,r,n){return lt(ut(e),t,r,n)}function Z(t,e,r,n){return lt(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 q(t,e,r){return 0===e&&r===t.length?y(t):y(t.slice(e,r))}function Y(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var i,o,s,u,l=t[a],c=null,f=l>239?4:l>223?3:l>191?2:1;if(a+f<=r)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(i=t[a+1]))&&(u=(31&l)<<6|63&i)>127&&(c=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)&&(c=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&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),a+=f}return function(t){var e=t.length;if(e<=G)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=G));return r}(n)}E.poolSize=8192,E._augment=function(t){return t.__proto__=E.prototype,t},E.from=function(t,e,r){return R(null,t,e,r)},E.TYPED_ARRAY_SUPPORT&&(E.prototype.__proto__=Uint8Array.prototype,E.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&E[Symbol.species]),E.alloc=function(t,e,r){return function(t,e,r,n){return O(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)},E.allocUnsafe=function(t){return T(null,t)},E.allocUnsafeSlow=function(t){return T(null,t)},E.isBuffer=ct,E.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},E.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}},E.concat=function(t,e){if(!x(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return E.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=E.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},E.byteLength=I,E.prototype._isBuffer=!0,E.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)D(this,e,e+1);return this},E.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)D(this,e,e+3),D(this,e+1,e+2);return this},E.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)D(this,e,e+7),D(this,e+1,e+6),D(this,e+2,e+5),D(this,e+3,e+4);return this},E.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Y(this,0,t):B.apply(this,arguments)},E.prototype.equals=function(t){if(!M(t))throw new TypeError("Argument must be a Buffer");return this===t||0===E.compare(this,t)},E.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+">"},E.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),c=0;c<s;++c)if(u[c]!==l[c]){i=u[c],o=l[c];break}return i<o?-1:o<i?1:0},E.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},E.prototype.indexOf=function(t,e,r){return j(this,t,e,r,!0)},E.prototype.lastIndexOf=function(t,e,r){return j(this,t,e,r,!1)},E.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 F(this,t,e,r);case"utf8":case"utf-8":return N(this,t,e,r);case"ascii":return U(this,t,e,r);case"latin1":case"binary":return H(this,t,e,r);case"base64":return W(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var G=4096;function V(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 K(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 X(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+=ot(t[i]);return a}function $(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 J(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 Q(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 tt(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 et(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 rt(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 nt(t,e,r,n,a){return a||rt(t,0,r,4),_(t,e,r,n,23,4),r+4}function at(t,e,r,n,a){return a||rt(t,0,r,8),_(t,e,r,n,52,8),r+8}E.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),E.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=E.prototype;else{var a=e-t;r=new E(a,void 0);for(var i=0;i<a;++i)r[i]=this[i+t]}return r},E.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||J(t,e,this.length);for(var n=this[t],a=1,i=0;++i<e&&(a*=256);)n+=this[t+i]*a;return n},E.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||J(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},E.prototype.readUInt8=function(t,e){return e||J(t,1,this.length),this[t]},E.prototype.readUInt16LE=function(t,e){return e||J(t,2,this.length),this[t]|this[t+1]<<8},E.prototype.readUInt16BE=function(t,e){return e||J(t,2,this.length),this[t]<<8|this[t+1]},E.prototype.readUInt32LE=function(t,e){return e||J(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},E.prototype.readUInt32BE=function(t,e){return e||J(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},E.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||J(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},E.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||J(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},E.prototype.readInt8=function(t,e){return e||J(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},E.prototype.readInt16LE=function(t,e){e||J(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},E.prototype.readInt16BE=function(t,e){e||J(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},E.prototype.readInt32LE=function(t,e){return e||J(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},E.prototype.readInt32BE=function(t,e){return e||J(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},E.prototype.readFloatLE=function(t,e){return e||J(t,4,this.length),w(this,t,!0,23,4)},E.prototype.readFloatBE=function(t,e){return e||J(t,4,this.length),w(this,t,!1,23,4)},E.prototype.readDoubleLE=function(t,e){return e||J(t,8,this.length),w(this,t,!0,52,8)},E.prototype.readDoubleBE=function(t,e){return e||J(t,8,this.length),w(this,t,!1,52,8)},E.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Q(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},E.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||Q(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},E.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,1,255,0),E.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},E.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tt(this,t,e,!0),e+2},E.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tt(this,t,e,!1),e+2},E.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):et(this,t,e,!0),e+4},E.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):et(this,t,e,!1),e+4},E.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);Q(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},E.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);Q(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},E.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,1,127,-128),E.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},E.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):tt(this,t,e,!0),e+2},E.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):tt(this,t,e,!1),e+2},E.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,2147483647,-2147483648),E.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):et(this,t,e,!0),e+4},E.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Q(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),E.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):et(this,t,e,!1),e+4},E.prototype.writeFloatLE=function(t,e,r){return nt(this,t,e,!0,r)},E.prototype.writeFloatBE=function(t,e,r){return nt(this,t,e,!1,r)},E.prototype.writeDoubleLE=function(t,e,r){return at(this,t,e,!0,r)},E.prototype.writeDoubleBE=function(t,e,r){return at(this,t,e,!1,r)},E.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||!E.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},E.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&&!E.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:st(new E(t,n).toString()),s=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%s]}return this};var it=/[^+\/0-9A-Za-z-_]/g;function ot(t){return t<16?"0"+t.toString(16):t.toString(16)}function st(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 ut(t){return function(t){var e,r,n,a,i,o;b||m();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 g(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=p[t.charCodeAt(e)]<<18|p[t.charCodeAt(e+1)]<<12|p[t.charCodeAt(e+2)]<<6|p[t.charCodeAt(e+3)],o[u++]=a>>16&255,o[u++]=a>>8&255,o[u++]=255&a;return 2===i?(a=p[t.charCodeAt(e)]<<2|p[t.charCodeAt(e+1)]>>4,o[u++]=255&a):1===i&&(a=p[t.charCodeAt(e)]<<10|p[t.charCodeAt(e+1)]<<4|p[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(it,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function lt(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 ct(t){return null!=t&&(!!t._isBuffer||ft(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&ft(t.slice(0,0))}(t))}function ft(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var ht=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:S,Buffer:E,SlowBuffer:function(t){return+t!=t&&(t=0),E.alloc(+t)},isBuffer:ct}),dt={};function pt(){throw new Error("setTimeout has not been defined")}function gt(){throw new Error("clearTimeout has not been defined")}var bt=pt,mt=gt;function vt(t){if(bt===setTimeout)return setTimeout(t,0);if((bt===pt||!bt)&&setTimeout)return bt=setTimeout,setTimeout(t,0);try{return bt(t,0)}catch(e){try{return bt.call(null,t,0)}catch(e){return bt.call(this,t,0)}}}"function"==typeof h.setTimeout&&(bt=setTimeout),"function"==typeof h.clearTimeout&&(mt=clearTimeout);var yt,wt=[],_t=!1,kt=-1;function xt(){_t&&yt&&(_t=!1,yt.length?wt=yt.concat(wt):kt=-1,wt.length&&St())}function St(){if(!_t){var t=vt(xt);_t=!0;for(var e=wt.length;e;){for(yt=wt,wt=[];++kt<e;)yt&&yt[kt].run();kt=-1,e=wt.length}yt=null,_t=!1,function(t){if(mt===clearTimeout)return clearTimeout(t);if((mt===gt||!mt)&&clearTimeout)return mt=clearTimeout,clearTimeout(t);try{mt(t)}catch(e){try{return mt.call(null,t)}catch(e){return mt.call(this,t)}}}(t)}}function Ct(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];wt.push(new At(t,e)),1!==wt.length||_t||vt(St)}function At(t,e){this.fun=t,this.array=e}At.prototype.run=function(){this.fun.apply(null,this.array)};function Et(){}var Rt=Et,Ot=Et,Tt=Et,Pt=Et,Lt=Et,Mt=Et,It=Et;var Bt=h.performance||{},Dt=Bt.now||Bt.mozNow||Bt.msNow||Bt.oNow||Bt.webkitNow||function(){return(new Date).getTime()};var jt=new Date;var zt={nextTick:Ct,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Rt,addListener:Ot,once:Tt,off:Pt,removeListener:Lt,removeAllListeners:Mt,emit:It,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*Dt.call(Bt),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-jt)/1e3}},Ft={exports:{}};function Nt(){}function Ut(){Ut.init.call(this)}function Ht(t){return void 0===t._maxListeners?Ut.defaultMaxListeners:t._maxListeners}function Wt(t,e,r){if(e)t.call(r);else for(var n=t.length,a=$t(t,n),i=0;i<n;++i)a[i].call(r)}function Zt(t,e,r,n){if(e)t.call(r,n);else for(var a=t.length,i=$t(t,a),o=0;o<a;++o)i[o].call(r,n)}function qt(t,e,r,n,a){if(e)t.call(r,n,a);else for(var i=t.length,o=$t(t,i),s=0;s<i;++s)o[s].call(r,n,a)}function Yt(t,e,r,n,a,i){if(e)t.call(r,n,a,i);else for(var o=t.length,s=$t(t,o),u=0;u<o;++u)s[u].call(r,n,a,i)}function Gt(t,e,r,n){if(e)t.apply(r,n);else for(var a=t.length,i=$t(t,a),o=0;o<a;++o)i[o].apply(r,n)}function Vt(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 Nt,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=Ht(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 Kt(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 Xt(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 $t(t,e){for(var r=new Array(e);e--;)r[e]=t[e];return r}Nt.prototype=Object.create(null),Ut.EventEmitter=Ut,Ut.usingDomains=!1,Ut.prototype.domain=void 0,Ut.prototype._events=void 0,Ut.prototype._maxListeners=void 0,Ut.defaultMaxListeners=10,Ut.init=function(){this.domain=null,Ut.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Nt,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ut.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},Ut.prototype.getMaxListeners=function(){return Ht(this)},Ut.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 c="function"==typeof r;switch(n=arguments.length){case 1:Wt(r,c,this);break;case 2:Zt(r,c,this,arguments[1]);break;case 3:qt(r,c,this,arguments[1],arguments[2]);break;case 4:Yt(r,c,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];Gt(r,c,this,a)}return!0},Ut.prototype.addListener=function(t,e){return Vt(this,t,e,!1)},Ut.prototype.on=Ut.prototype.addListener,Ut.prototype.prependListener=function(t,e){return Vt(this,t,e,!0)},Ut.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,Kt(this,t,e)),this},Ut.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,Kt(this,t,e)),this},Ut.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 Nt:(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 Nt,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},Ut.prototype.removeAllListeners=function(t){var e,r;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=new Nt,this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=new Nt: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 Nt,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},Ut.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},Ut.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):Xt.call(t,e)},Ut.prototype.listenerCount=Xt,Ut.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Jt=Object.freeze({__proto__:null,default:Ut,EventEmitter:Ut}),Qt="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},te=/%[sdj%]/g;function ee(t){if(!me(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(oe(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,a=n.length,i=String(t).replace(te,(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])pe(o)||!_e(o)?i+=" "+o:i+=" "+oe(o);return i}function re(t,e){if(ye(h.process))return function(){return re(t,e).apply(this,arguments)};if(!0===zt.noDeprecation)return t;var r=!1;return function(){if(!r){if(zt.throwDeprecation)throw new Error(e);zt.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}}var ne,ae={};function ie(t){if(ye(ne)&&(ne=zt.env.NODE_DEBUG||""),t=t.toUpperCase(),!ae[t])if(new RegExp("\\b"+t+"\\b","i").test(ne)){ae[t]=function(){var e=ee.apply(null,arguments);console.error("%s %d: %s",t,0,e)}}else ae[t]=function(){};return ae[t]}function oe(t,e){var r={seen:[],stylize:ue};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),de(e)?r.showHidden=e:e&&Le(r,e),ye(r.showHidden)&&(r.showHidden=!1),ye(r.depth)&&(r.depth=2),ye(r.colors)&&(r.colors=!1),ye(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=se),le(r,t,r.depth)}function se(t,e){var r=oe.styles[e];return r?"["+oe.colors[r][0]+"m"+t+"["+oe.colors[r][1]+"m":t}function ue(t,e){return t}function le(t,e,r){if(t.customInspect&&e&&Se(e.inspect)&&e.inspect!==oe&&(!e.constructor||e.constructor.prototype!==e)){var n=e.inspect(r,t);return me(n)||(n=le(t,n,r)),n}var a=function(t,e){if(ye(e))return t.stylize("undefined","undefined");if(me(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(be(e))return t.stylize(""+e,"number");if(de(e))return t.stylize(""+e,"boolean");if(pe(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)),xe(e)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ce(e);if(0===i.length){if(Se(e)){var s=e.name?": "+e.name:"";return t.stylize("[Function"+s+"]","special")}if(we(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(ke(e))return t.stylize(Date.prototype.toString.call(e),"date");if(xe(e))return ce(e)}var u,l="",c=!1,f=["{","}"];(he(e)&&(c=!0,f=["[","]"]),Se(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return we(e)&&(l=" "+RegExp.prototype.toString.call(e)),ke(e)&&(l=" "+Date.prototype.toUTCString.call(e)),xe(e)&&(l=" "+ce(e)),0!==i.length||c&&0!=e.length?r<0?we(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),u=c?function(t,e,r,n,a){for(var i=[],o=0,s=e.length;o<s;++o)Me(e,String(o))?i.push(fe(t,e,r,n,String(o),!0)):i.push("");return a.forEach((function(a){a.match(/^\d+$/)||i.push(fe(t,e,r,n,a,!0))})),i}(t,e,r,o,i):i.map((function(n){return fe(t,e,r,o,n,c)})),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,f)):f[0]+l+f[1]}function ce(t){return"["+Error.prototype.toString.call(t)+"]"}function fe(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")),Me(n,a)||(o="["+a+"]"),s||(t.seen.indexOf(u.value)<0?(s=pe(r)?le(t,u.value,null):le(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")),ye(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 he(t){return Array.isArray(t)}function de(t){return"boolean"==typeof t}function pe(t){return null===t}function ge(t){return null==t}function be(t){return"number"==typeof t}function me(t){return"string"==typeof t}function ve(t){return"symbol"==typeof t}function ye(t){return void 0===t}function we(t){return _e(t)&&"[object RegExp]"===Ee(t)}function _e(t){return"object"==typeof t&&null!==t}function ke(t){return _e(t)&&"[object Date]"===Ee(t)}function xe(t){return _e(t)&&("[object Error]"===Ee(t)||t instanceof Error)}function Se(t){return"function"==typeof t}function Ce(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function Ae(t){return ct(t)}function Ee(t){return Object.prototype.toString.call(t)}function Re(t){return t<10?"0"+t.toString(10):t.toString(10)}oe.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]},oe.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Oe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Te(){var t=new Date,e=[Re(t.getHours()),Re(t.getMinutes()),Re(t.getSeconds())].join(":");return[t.getDate(),Oe[t.getMonth()],e].join(" ")}function Pe(){console.log("%s - %s",Te(),ee.apply(null,arguments))}function Le(t,e){if(!e||!_e(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Me(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Ie={inherits:Qt,_extend:Le,log:Pe,isBuffer:Ae,isPrimitive:Ce,isFunction:Se,isError:xe,isDate:ke,isObject:_e,isRegExp:we,isUndefined:ye,isSymbol:ve,isString:me,isNumber:be,isNullOrUndefined:ge,isNull:pe,isBoolean:de,isArray:he,inspect:oe,deprecate:re,format:ee,debuglog:ie},Be=Object.freeze({__proto__:null,format:ee,deprecate:re,debuglog:ie,inspect:oe,isArray:he,isBoolean:de,isNull:pe,isNullOrUndefined:ge,isNumber:be,isString:me,isSymbol:ve,isUndefined:ye,isRegExp:we,isObject:_e,isDate:ke,isError:xe,isFunction:Se,isPrimitive:Ce,isBuffer:Ae,log:Pe,inherits:Qt,_extend:Le,default:Ie});function De(){this.head=null,this.tail=null,this.length=0}De.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},De.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},De.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}},De.prototype.clear=function(){this.head=this.tail=null,this.length=0},De.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},De.prototype.concat=function(t){if(0===this.length)return E.alloc(0);if(1===this.length)return this.head.data;for(var e=E.allocUnsafe(t>>>0),r=this.head,n=0;r;)r.data.copy(e,n),n+=r.data.length,r=r.next;return e};var je=E.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 ze(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!je(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=Ne;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Ue;break;default:return void(this.write=Fe)}this.charBuffer=new E(6),this.charReceived=0,this.charLength=0}function Fe(t){return t.toString(this.encoding)}function Ne(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function Ue(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}ze.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},ze.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},ze.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},Ze.ReadableState=We;var He=ie("stream");function We(t,e){t=t||{},this.objectMode=!!t.objectMode,e instanceof vr&&(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 De,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 ze(t.encoding),this.encoding=t.encoding)}function Ze(t){if(!(this instanceof Ze))return new Ze(t);this._readableState=new We(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),Ut.call(this)}function qe(t,e,r,n,a){var i=function(t,e){var r=null;ct(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,Ve(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&&Ve(t))),function(t,e){e.readingMore||(e.readingMore=!0,Ct(Xe,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)}Qt(Ze,Ut),Ze.prototype.push=function(t,e){var r=this._readableState;return r.objectMode||"string"!=typeof t||(e=e||r.defaultEncoding)!==r.encoding&&(t=E.from(t,e),e=""),qe(this,r,t,e,!1)},Ze.prototype.unshift=function(t){return qe(this,this._readableState,t,"",!0)},Ze.prototype.isPaused=function(){return!1===this._readableState.flowing},Ze.prototype.setEncoding=function(t){return this._readableState.decoder=new ze(t),this._readableState.encoding=t,this};var Ye=8388608;function Ge(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>=Ye?t=Ye:(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 Ve(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(He("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?Ct(Ke,t):Ke(t))}function Ke(t){He("emit readable"),t.emit("readable"),Qe(t)}function Xe(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(He("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function $e(t){He("readable nexttick read 0"),t.read(0)}function Je(t,e){e.reading||(He("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),Qe(t),e.flowing&&!e.reading&&t.read(0)}function Qe(t){var e=t._readableState;for(He("flow",e.flowing);e.flowing&&null!==t.read(););}function tr(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=E.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 er(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,Ct(rr,e,t))}function rr(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function nr(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function ar(){}function ir(t,e,r){this.chunk=t,this.encoding=e,this.callback=r,this.next=null}function or(t,e){Object.defineProperty(this,"buffer",{get:re((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),t=t||{},this.objectMode=!!t.objectMode,e instanceof vr&&(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?Ct(a,n):a(n);t._writableState.errorEmitted=!0,t.emit("error",n)}(t,r,n,e,a);else{var i=fr(r);i||r.corked||r.bufferProcessing||!r.bufferedRequest||cr(t,r),n?Ct(lr,t,r,i,a):lr(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 pr(this)}function sr(t){if(!(this instanceof sr||this instanceof vr))return new sr(t);this._writableState=new or(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),Ut.call(this)}function ur(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 lr(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),dr(t,e)}function cr(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;ur(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 pr(e)}else{for(;r;){var s=r.chunk,u=r.encoding,l=r.callback;if(ur(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 fr(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function hr(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function dr(t,e){var r=fr(e);return r&&(0===e.pendingcb?(hr(t,e),e.finished=!0,t.emit("finish")):hr(t,e)),r}function pr(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}}Ze.prototype.read=function(t){He("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 He("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?er(this):Ve(this),null;if(0===(t=Ge(t,e))&&e.ended)return 0===e.length&&er(this),null;var n,a=e.needReadable;return He("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&He("length less than watermark",a=!0),e.ended||e.reading?He("reading or ended",a=!1):a&&(He("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Ge(r,e))),null===(n=t>0?tr(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&er(this)),null!==n&&this.emit("data",n),n},Ze.prototype._read=function(t){this.emit("error",new Error("not implemented"))},Ze.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,He("pipe count=%d opts=%j",n.pipesCount,e);var a=!e||!1!==e.end?o:l;function i(t){He("onunpipe"),t===r&&l()}function o(){He("onend"),t.end()}n.endEmitted?Ct(a):r.once("end",a),t.on("unpipe",i);var s=function(t){return function(){var e=t._readableState;He("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&t.listeners("data").length&&(e.flowing=!0,Qe(t))}}(r);t.on("drain",s);var u=!1;function l(){He("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",f),u=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||s()}var c=!1;function f(e){He("ondata"),c=!1,!1!==t.write(e)||c||((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==nr(n.pipes,t))&&!u&&(He("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,c=!0),r.pause())}function h(e){var r;He("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(){He("onfinish"),t.removeListener("close",d),g()}function g(){He("unpipe"),r.unpipe(t)}return r.on("data",f),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||(He("pipe resume"),r.resume()),t},Ze.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=nr(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},Ze.prototype.on=function(t,e){var r=Ut.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&&Ve(this):Ct($e,this))}return r},Ze.prototype.addListener=Ze.prototype.on,Ze.prototype.resume=function(){var t=this._readableState;return t.flowing||(He("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,Ct(Je,t,e))}(this,t)),this},Ze.prototype.pause=function(){return He("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(He("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Ze.prototype.wrap=function(t){var e=this._readableState,r=!1,n=this;for(var a in t.on("end",(function(){if(He("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){(He("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){He("wrapped _read",e),r&&(r=!1,t.resume())},n},Ze._fromList=tr,sr.WritableState=or,Qt(sr,Ut),or.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},sr.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},sr.prototype.write=function(t,e,r){var n=this._writableState,a=!1;return"function"==typeof e&&(r=e,e=null),E.isBuffer(t)?e="buffer":e||(e=n.defaultEncoding),"function"!=typeof r&&(r=ar),n.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),Ct(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"):E.isBuffer(r)||"string"==typeof r||void 0===r||e.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(t.emit("error",i),Ct(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=E.from(e,r));return e}(e,r,n),E.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 ir(r,n,a),s?s.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else ur(t,e,!1,i,r,n,a);return o}(this,n,t,e,r)),a},sr.prototype.cork=function(){this._writableState.corked++},sr.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||cr(this,t))},sr.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},sr.prototype._write=function(t,e,r){r(new Error("not implemented"))},sr.prototype._writev=null,sr.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,dr(t,e),r&&(e.finished?Ct(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Qt(vr,Ze);for(var gr=Object.keys(sr.prototype),br=0;br<gr.length;br++){var mr=gr[br];vr.prototype[mr]||(vr.prototype[mr]=sr.prototype[mr])}function vr(t){if(!(this instanceof vr))return new vr(t);Ze.call(this,t),sr.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",yr)}function yr(){this.allowHalfOpen||this._writableState.ended||Ct(wr,this)}function wr(t){t.end()}function _r(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 kr(t){if(!(this instanceof kr))return new kr(t);vr.call(this,t),this._transformState=new _r(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){xr(e,t)})):xr(e)}))}function xr(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 Sr(t){if(!(this instanceof Sr))return new Sr(t);kr.call(this,t)}function Cr(){Ut.call(this)}Qt(kr,vr),kr.prototype.push=function(t,e){return this._transformState.needTransform=!1,vr.prototype.push.call(this,t,e)},kr.prototype._transform=function(t,e,r){throw new Error("Not implemented")},kr.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)}},kr.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},Qt(Sr,kr),Sr.prototype._transform=function(t,e,r){r(null,t)},Qt(Cr,Ut),Cr.Readable=Ze,Cr.Writable=sr,Cr.Duplex=vr,Cr.Transform=kr,Cr.PassThrough=Sr,Cr.Stream=Cr,Cr.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===Ut.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 Ar,Er,Rr,Or=i(Object.freeze({__proto__:null,default:Cr,Readable:Ze,Writable:sr,Duplex:vr,Transform:kr,PassThrough:Sr,Stream:Cr})),Tr={exports:{}};function Pr(){if(Ar)return Tr.exports;return Ar=1,void 0===zt||!zt.version||0===zt.version.indexOf("v0.")||0===zt.version.indexOf("v1.")&&0!==zt.version.indexOf("v1.8.")?Tr.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 Ct(t);case 2:return Ct((function(){t.call(null,e)}));case 3:return Ct((function(){t.call(null,e,r)}));case 4:return Ct((function(){t.call(null,e,r,n)}));default:for(a=new Array(o-1),i=0;i<a.length;)a[i++]=arguments[i];return Ct((function(){t.apply(null,a)}))}}}:Tr.exports=zt,Tr.exports}var Lr,Mr=i(Jt),Ir={exports:{}};function Br(){return Lr||(Lr=1,function(t){t.exports=Or}(Ir)),Ir.exports}var Dr,jr={exports:{}},zr=i(ht);function Fr(){return Dr||(Dr=1,function(t,e){var r=zr,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)}}(jr,jr.exports)),jr.exports}var Nr,Ur={};function Hr(){if(Nr)return Ur;function t(t){return Object.prototype.toString.call(t)}return Nr=1,Ur.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},Ur.isBoolean=function(t){return"boolean"==typeof t},Ur.isNull=function(t){return null===t},Ur.isNullOrUndefined=function(t){return null==t},Ur.isNumber=function(t){return"number"==typeof t},Ur.isString=function(t){return"string"==typeof t},Ur.isSymbol=function(t){return"symbol"==typeof t},Ur.isUndefined=function(t){return void 0===t},Ur.isRegExp=function(e){return"[object RegExp]"===t(e)},Ur.isObject=function(t){return"object"==typeof t&&null!==t},Ur.isDate=function(e){return"[object Date]"===t(e)},Ur.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},Ur.isFunction=function(t){return"function"==typeof t},Ur.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},Ur.isBuffer=zr.Buffer.isBuffer,Ur}var Wr,Zr,qr={exports:{}},Yr=i(Be),Gr={exports:{}};function Vr(){return Zr||(Zr=1,function(t){try{var e=Yr;if("function"!=typeof e.inherits)throw"";t.exports=e.inherits}catch(e){t.exports=(Wr||(Wr=1,"function"==typeof Object.create?Gr.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:Gr.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}),Gr.exports)}}(qr)),qr.exports}var Kr,Xr,$r,Jr,Qr,tn,en,rn,nn,an={exports:{}};function on(){return Kr||(Kr=1,function(t){var e=Fr().Buffer,r=Yr;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})}(an)),an.exports}function sn(){if($r)return Xr;$r=1;var t=Pr();function e(t,e){t.emit("error",e)}return Xr={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)}},Xr}function un(){if(en)return tn;en=1;var t=Pr();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)}}tn=p;var r,n=t.nextTick;p.WritableState=d;var i=Object.create(Hr());i.inherits=Vr();var o={deprecate:Qr?Jr:(Qr=1,Jr=Yr.deprecate)},s=Br(),u=Fr().Buffer,l=a.Uint8Array||function(){};var c,f=sn();function h(){}function d(a,i){r=r||ln(),a=a||{};var o=i instanceof r;this.objectMode=!!a.objectMode,o&&(this.objectMode=this.objectMode||!!a.writableObjectMode);var s=a.highWaterMark,u=a.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 c=!1===a.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=a.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 a=e._writableState,i=a.sync,o=a.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(a),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,a,i,r,o);else{var s=v(a);s||a.corked||a.bufferProcessing||!a.bufferedRequest||m(e,a),i?n(b,e,a,s,o):b(e,a,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||ln(),!(c.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,c=n.encoding,f=n.callback;if(g(t,r,!1,r.objectMode?1:l.length,l,c,f),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]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(p,Symbol.hasInstance,{value:function(t){return!!c.call(this,t)||this===p&&(t&&t._writableState instanceof d)}})):c=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 c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:a,isBuf:r,callback:i,next:null},c?c.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=f.destroy,p.prototype._undestroy=f.undestroy,p.prototype._destroy=function(t,e){this.end(),e(t)},tn}function ln(){if(nn)return rn;nn=1;var t=Pr(),e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};rn=u;var r=Object.create(Hr());r.inherits=Vr();var n=wn(),a=un();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(c,this)}function c(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)},rn}var cn,fn,hn,dn,pn,gn,bn,mn,vn={};function yn(){if(cn)return vn;cn=1;var t=Fr().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=c)}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 c(t){return t&&t.length?this.write(t):""}return vn.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},vn}function wn(){if(hn)return fn;hn=1;var t=Pr();fn=b;var e,r=function(){if(Rr)return Er;Rr=1;var t={}.toString;return Er=Array.isArray||function(e){return"[object Array]"==t.call(e)}}();b.ReadableState=g,Mr.EventEmitter;var n=function(t,e){return t.listeners(e).length},i=Br(),o=Fr().Buffer,s=a.Uint8Array||function(){};var u=Object.create(Hr());u.inherits=Vr();var l=Yr,c=void 0;c=l&&l.debuglog?l.debuglog("stream"):function(){};var f,h=on(),d=sn();u.inherits(b,i);var p=["error","close","destroy","pause","resume"];function g(t,r){t=t||{};var n=r instanceof(e=e||ln());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&&(f||(f=yn().StringDecoder),this.decoder=new f(t.encoding),this.encoding=t.encoding)}function b(t){if(e=e||ln(),!(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 f||(f=yn().StringDecoder),this._readableState.decoder=new f(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||(c("emitReadable",r.flowing),r.emittedReadable=!0,r.sync?t.nextTick(k,e):k(e))}function k(t){c("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&&(c("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function C(t){c("readable nexttick read 0"),t.read(0)}function A(t,e){e.reading||(c("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(c("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){c("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 c("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 c("need readable",a),(0===e.length||e.length-t<e.highWaterMark)&&c("length less than watermark",a=!0),e.ended||e.reading?c("reading or ended",a=!1):a&&(c("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,a){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,c("pipe count=%d opts=%j",o.pipesCount,a);var s=(!a||!1!==a.end)&&e!==zt.stdout&&e!==zt.stderr?l:v;function u(t,r){c("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,c("cleanup"),e.removeListener("close",b),e.removeListener("finish",m),e.removeListener("drain",f),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||f())}function l(){c("onend"),e.end()}o.endEmitted?t.nextTick(s):i.once("end",s),e.on("unpipe",u);var f=function(t){return function(){var e=t._readableState;c("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&n(t,"data")&&(e.flowing=!0,E(t))}}(i);e.on("drain",f);var h=!1;var d=!1;function p(t){c("ondata"),d=!1,!1!==e.write(t)||d||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==P(o.pipes,e))&&!h&&(c("false write response, pause",i._readableState.awaitDrain),i._readableState.awaitDrain++,d=!0),i.pause())}function g(t){c("onerror",t),v(),e.removeListener("error",g),0===n(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",m),v()}function m(){c("onfinish"),e.removeListener("close",b),v()}function v(){c("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||(c("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(C,this))}return n},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!0,function(e,r){r.resumeScheduled||(r.resumeScheduled=!0,t.nextTick(A,e,r))}(this,e)),this},b.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("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(c("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){(c("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){c("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,fn}function _n(){if(pn)return dn;pn=1,dn=n;var t=ln(),e=Object.create(Hr());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=Vr(),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")}))},dn}function kn(){return mn||(mn=1,function(t,e){var r=Or;"disable"===zt.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=wn()).Stream=r||e,e.Readable=e,e.Writable=un(),e.Duplex=ln(),e.Transform=_n(),e.PassThrough=function(){if(bn)return gn;bn=1,gn=r;var t=_n(),e=Object.create(Hr());function r(e){if(!(this instanceof r))return new r(e);t.call(this,e)}return e.inherits=Vr(),e.inherits(r,t),r.prototype._transform=function(t,e,r){r(null,t)},gn}())}(Ft,Ft.exports)),Ft.exports}if(dt.base64=!0,dt.array=!0,dt.string=!0,dt.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,dt.nodebuffer=!0,dt.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)dt.blob=!1;else{var xn=new ArrayBuffer(0);try{dt.blob=0===new Blob([xn],{type:"application/zip"}).size}catch(t){try{var Sn=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Sn.append(xn),dt.blob=0===Sn.getBlob("application/zip").size}catch(t){dt.blob=!1}}}try{dt.nodestream=!!kn().Readable}catch(t){dt.nodestream=!1}var Cn,An={};function En(){if(Cn)return An;Cn=1;var t=Dn(),e=dt,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return An.encode=function(e){for(var n,a,i,o,s,u,l,c=[],f=0,h=e.length,d=h,p="string"!==t.getTypeOf(e);f<e.length;)d=h-f,p?(n=e[f++],a=f<h?e[f++]:0,i=f<h?e[f++]:0):(n=e.charCodeAt(f++),a=f<h?e.charCodeAt(f++):0,i=f<h?e.charCodeAt(f++):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,c.push(r.charAt(o)+r.charAt(s)+r.charAt(u)+r.charAt(l));return c.join("")},An.decode=function(t){var n,a,i,o,s,u,l=0,c=0,f="data:";if(t.substr(0,f.length)===f)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[c++]=n,64!==s&&(h[c++]=a),64!==u&&(h[c++]=i);return h},An}var Rn,On,Tn,Pn,Ln={isNode:!0,newBufferFrom:function(t,e){if(E.from&&E.from!==Uint8Array.from)return E.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new E(t,e)},allocBuffer:function(t){if(E.alloc)return E.alloc(t);var e=new E(t);return e.fill(0),e},isBuffer:function(t){return ct(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}};var Mn=null;Mn="undefined"!=typeof Promise?Promise:function(){if(Pn)return Tn;Pn=1;var t=function(){if(On)return Rn;On=1;var t,e,r=a.MutationObserver||a.WebKitMutationObserver;if(r){var n=0,i=new r(l),o=a.document.createTextNode("");i.observe(o,{characterData:!0}),t=function(){o.data=n=++n%2}}else if(a.setImmediate||void 0===a.MessageChannel)t="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var t=a.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},a.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var s=new a.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 Rn=function(r){1!==u.push(r)||e||t()}}();function e(){}var r={},n=["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&&f(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 c(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(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 Tn=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===n)return this;var a=new this.constructor(e);return this.state!==o?l(a,this.state===i?t:r,this.outcome):this.queue.push(new u(a,t,r)),a},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(c,e);if("error"===n.status)return r.reject(t,n.value);var a=n.value;if(a)f(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=n,t.outcome=e;for(var r=-1,a=t.queue.length;++r<a;)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;)c(t[u],u);return l;function c(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},Tn}();var In,Bn={Promise:Mn};function Dn(){return In||(In=1,function(t){var e=dt,r=En(),n=Ln,a=Bn;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 c={};c.string={string:i,array:function(t){return o(t,new Array(t.length))},arraybuffer:function(t){return c.string.uint8array(t).buffer},uint8array:function(t){return o(t,new Uint8Array(t.length))},nodebuffer:function(t){return o(t,n.allocBuffer(t.length))}},c.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)}},c.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))}},c.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)}},c.nodebuffer={string:u,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return c.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 c[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 c,f=t.getTypeOf(i);return f?("arraybuffer"===f?i=t.transformTo("uint8array",i):"string"===f&&(l?i=r.decode(i):s&&!0!==u&&(i=o(c=i,e.uint8array?new Uint8Array(c.length):new Array(c.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 jn(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,c=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?r=function(t){Ct((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)}):c&&"onreadystatechange"in c.createElement("script")?(n=c.documentElement,r=function(t){var e=c.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,"*")}),f.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++},f.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?a:self),jn.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 zn=jn;!function(t){for(var e=Dn(),r=dt,n=Ln,a=zn,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}(c);var Fn=zn,Nn=Dn();function Un(t){Fn.call(this,"ConvertWorker to "+t),this.destType=t}Nn.inherits(Un,Fn),Un.prototype.processChunk=function(t){this.push({data:Nn.transformTo(this.destType,t.data),meta:t.meta})};var Hn,Wn,Zn=Un;var qn=Dn(),Yn=Zn,Gn=zn,Vn=En(),Kn=Bn,Xn=null;if(dt.nodestream)try{Xn=function(){if(Wn)return Hn;Wn=1;var t=kn().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 Dn().inherits(e,t),e.prototype._read=function(){this._helper.resume()},Hn=e}()}catch(t){}function $n(t,e){return new Kn.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 qn.newBlob(qn.transformTo("arraybuffer",e),r);case"base64":return Vn.encode(e);default:return qn.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 E.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(i,a),s);r(t)}catch(t){n(t)}a=[]})).resume()}))}function Jn(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,qn.checkSupport(n),this._worker=t.pipe(new Yn(n)),t.lock()}catch(t){this._worker=new Gn("error"),this._worker.error(t)}}Jn.prototype={accumulate:function(t){return $n(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(){qn.delay(e,arguments,r)})),this},resume:function(){return qn.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(qn.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new Xn(this,{objectMode:"nodebuffer"!==this._outputType},t)}};var Qn=Jn,ta={base64:!1,binary:!1,dir:!1,createFolders:!0,date:null,compression:null,compressionOptions:null,comment:null,unixPermissions:null,dosPermissions:null},ea=Dn(),ra=zn;function na(t){ra.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=ea.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}ea.inherits(na,ra),na.prototype.cleanUp=function(){ra.prototype.cleanUp.call(this),this.data=null},na.prototype.resume=function(){return!!ra.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ea.delay(this._tickAndRepeat,[],this)),!0)},na.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ea.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},na.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 aa=na,ia=Dn();var oa=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 sa=function(t,e){return void 0!==t&&t.length?"string"!==ia.getTypeOf(t)?function(t,e,r,n){var a=oa,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=oa,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},ua=zn,la=sa;function ca(){ua.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Dn().inherits(ca,ua),ca.prototype.processChunk=function(t){this.streamInfo.crc32=la(t.data,this.streamInfo.crc32||0),this.push(t)};var fa=ca,ha=Dn(),da=zn;function pa(t){da.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}ha.inherits(pa,da),pa.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}da.prototype.processChunk.call(this,t)};var ga=Bn,ba=aa,ma=fa,va=pa;function ya(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}ya.prototype={getContentWorker:function(){var t=new ba(ga.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new va("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 ba(ga.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},ya.createWorkerFrom=function(t,e,r){return t.pipe(new ma).pipe(new va("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new va("compressedSize")).withStreamInfo("compression",e)};var wa=ya,_a=Qn,ka=aa,xa=c,Sa=wa,Ca=zn,Aa=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}};Aa.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 xa.Utf8EncodeWorker)),!a&&n&&(e=e.pipe(new xa.Utf8DecodeWorker))}catch(t){(e=new Ca("error")).error(t)}return new _a(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 Sa&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new xa.Utf8EncodeWorker)),Sa.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof Sa?this._data.getContentWorker():this._data instanceof Ca?this._data:new ka(this._data)}};for(var Ea=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Ra=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},Oa=0;Oa<Ea.length;Oa++)Aa.prototype[Ea[Oa]]=Ra;var Ta=Aa,Pa={},La={},Ma={},Ia={};!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)}(Ia);var Ba={},Da={},ja={},za=Ia;function Fa(t){for(var e=t.length;--e>=0;)t[e]=0}var Na=256,Ua=286,Ha=30,Wa=15,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],qa=[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],Ya=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ga=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Va=new Array(576);Fa(Va);var Ka=new Array(60);Fa(Ka);var Xa=new Array(512);Fa(Xa);var $a=new Array(256);Fa($a);var Ja=new Array(29);Fa(Ja);var Qa,ti,ei,ri=new Array(Ha);function ni(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 ai(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function ii(t){return t<256?Xa[t]:Xa[256+(t>>>7)]}function oi(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function si(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,oi(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 ui(t,e,r){si(t,r[2*e],r[2*e+1])}function li(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function ci(t,e,r){var n,a,i=new Array(16),o=0;for(n=1;n<=Wa;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]=li(i[s]++,s))}}function fi(t){var e;for(e=0;e<Ua;e++)t.dyn_ltree[2*e]=0;for(e=0;e<Ha;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 hi(t){t.bi_valid>8?oi(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 di(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 pi(t,e,r){for(var n=t.heap[r],a=r<<1;a<=t.heap_len&&(a<t.heap_len&&di(e,t.heap[a+1],t.heap[a],t.depth)&&a++,!di(e,n,t.heap[a],t.depth));)t.heap[r]=t.heap[a],r=a,a<<=1;t.heap[r]=n}function gi(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?ui(t,a,e):(ui(t,(i=$a[a])+Na+1,e),0!==(o=Za[i])&&si(t,a-=Ja[i],o),ui(t,i=ii(--n),r),0!==(o=qa[i])&&si(t,n-=ri[i],o))}while(s<t.last_lit);ui(t,256,e)}function bi(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--)pi(t,i,r);a=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],pi(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++,pi(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,c=e.stat_desc.static_tree,f=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<=Wa;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),f&&(t.static_len+=s*(c[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),ci(i,l,t.bl_count)}function mi(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 vi(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{ui(t,a,t.bl_tree)}while(0!=--s);else 0!==a?(a!==i&&(ui(t,a,t.bl_tree),s--),ui(t,16,t.bl_tree),si(t,s-3,2)):s<=10?(ui(t,17,t.bl_tree),si(t,s-3,3)):(ui(t,18,t.bl_tree),si(t,s-11,7));s=0,i=a,0===o?(u=138,l=3):a===o?(u=6,l=3):(u=7,l=4)}}Fa(ri);var yi=!1;function wi(t,e,r,n){si(t,0+(n?1:0),3),function(t,e,r,n){hi(t),n&&(oi(t,r),oi(t,~r)),za.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r,!0)}ja._tr_init=function(t){yi||(!function(){var t,e,r,n,a,i=new Array(16);for(r=0,n=0;n<28;n++)for(Ja[n]=r,t=0;t<1<<Za[n];t++)$a[r++]=n;for($a[r-1]=n,a=0,n=0;n<16;n++)for(ri[n]=a,t=0;t<1<<qa[n];t++)Xa[a++]=n;for(a>>=7;n<Ha;n++)for(ri[n]=a<<7,t=0;t<1<<qa[n]-7;t++)Xa[256+a++]=n;for(e=0;e<=Wa;e++)i[e]=0;for(t=0;t<=143;)Va[2*t+1]=8,t++,i[8]++;for(;t<=255;)Va[2*t+1]=9,t++,i[9]++;for(;t<=279;)Va[2*t+1]=7,t++,i[7]++;for(;t<=287;)Va[2*t+1]=8,t++,i[8]++;for(ci(Va,287,i),t=0;t<Ha;t++)Ka[2*t+1]=5,Ka[2*t]=li(t,5);Qa=new ni(Va,Za,257,Ua,Wa),ti=new ni(Ka,qa,0,Ha,Wa),ei=new ni(new Array(0),Ya,0,19,7)}(),yi=!0),t.l_desc=new ai(t.dyn_ltree,Qa),t.d_desc=new ai(t.dyn_dtree,ti),t.bl_desc=new ai(t.bl_tree,ei),t.bi_buf=0,t.bi_valid=0,fi(t)},ja._tr_stored_block=wi,ja._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<Na;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),bi(t,t.l_desc),bi(t,t.d_desc),o=function(t){var e;for(mi(t,t.dyn_ltree,t.l_desc.max_code),mi(t,t.dyn_dtree,t.d_desc.max_code),bi(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*Ga[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?wi(t,e,r,n):4===t.strategy||i===a?(si(t,2+(n?1:0),3),gi(t,Va,Ka)):(si(t,4+(n?1:0),3),function(t,e,r,n){var a;for(si(t,e-257,5),si(t,r-1,5),si(t,n-4,4),a=0;a<n;a++)si(t,t.bl_tree[2*Ga[a]+1],3);vi(t,t.dyn_ltree,e-1),vi(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),gi(t,t.dyn_ltree,t.dyn_dtree)),fi(t),n&&hi(t)},ja._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*($a[r]+Na+1)]++,t.dyn_dtree[2*ii(e)]++),t.last_lit===t.lit_bufsize-1},ja._tr_align=function(t){si(t,2,3),ui(t,256,Va),function(t){16===t.bi_valid?(oi(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 _i=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 ki=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 xi,Si=function(t,e,r,n){var a=ki,i=n+r;t^=-1;for(var o=n;o<i;o++)t=t>>>8^a[255&(t^e[o])];return-1^t},Ci={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"},Ai=Ia,Ei=ja,Ri=_i,Oi=Si,Ti=Ci,Pi=-2,Li=258,Mi=262,Ii=103,Bi=113,Di=666;function ji(t,e){return t.msg=Ti[e],e}function zi(t){return(t<<1)-(t>4?9:0)}function Fi(t){for(var e=t.length;--e>=0;)t[e]=0}function Ni(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(Ai.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 Ui(t,e){Ei._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Ni(t.strm)}function Hi(t,e){t.pending_buf[t.pending++]=e}function Wi(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function Zi(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-Mi?t.strstart-(t.w_size-Mi):0,l=t.window,c=t.w_mask,f=t.prev,h=t.strstart+Li,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=Li-(h-i),i=h-Li,n>o){if(t.match_start=e,o=n,n>=s)break;d=l[i+o-1],p=l[i+o]}}}while((e=f[e&c])>u&&0!=--a);return o<=t.lookahead?o:t.lookahead}function qi(t){var e,r,n,a,i,o,s,u,l,c,f=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=f+(f-Mi)){Ai.arraySet(t.window,t.window,f,f,0),t.match_start-=f,t.strstart-=f,t.block_start-=f,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=f?n-f:0}while(--r);e=r=f;do{n=t.prev[--e],t.prev[e]=n>=f?n-f:0}while(--r);a+=f}if(0===t.strm.avail_in)break;if(o=t.strm,s=t.window,u=t.strstart+t.lookahead,l=a,c=void 0,(c=o.avail_in)>l&&(c=l),r=0===c?0:(o.avail_in-=c,Ai.arraySet(s,o.input,o.next_in,c,u),1===o.state.wrap?o.adler=Ri(o.adler,s,c,u):2===o.state.wrap&&(o.adler=Oi(o.adler,s,c,u)),o.next_in+=c,o.total_in+=c,c),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<Mi&&0!==t.strm.avail_in)}function Yi(t,e){for(var r,n;;){if(t.lookahead<Mi){if(qi(t),t.lookahead<Mi&&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-Mi&&(t.match_length=Zi(t,r)),t.match_length>=3)if(n=Ei._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=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}function Gi(t,e){for(var r,n,a;;){if(t.lookahead<Mi){if(qi(t),t.lookahead<Mi&&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-Mi&&(t.match_length=Zi(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=Ei._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&&(Ui(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=Ei._tr_tally(t,0,t.window[t.strstart-1]))&&Ui(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=Ei._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}function Vi(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 Ki(){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 Ai.Buf16(1146),this.dyn_dtree=new Ai.Buf16(122),this.bl_tree=new Ai.Buf16(78),Fi(this.dyn_ltree),Fi(this.dyn_dtree),Fi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ai.Buf16(16),this.heap=new Ai.Buf16(573),Fi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ai.Buf16(573),Fi(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 Xi(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:Bi,t.adler=2===e.wrap?0:1,e.last_flush=0,Ei._tr_init(e),0):ji(t,Pi)}function $i(t){var e,r=Xi(t);return 0===r&&((e=t.state).window_size=2*e.w_size,Fi(e.head),e.max_lazy_match=xi[e.level].max_lazy,e.good_match=xi[e.level].good_length,e.nice_match=xi[e.level].nice_length,e.max_chain_length=xi[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 Ji(t,e,r,n,a,i){if(!t)return Pi;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 ji(t,Pi);8===n&&(n=9);var s=new Ki;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 Ai.Buf8(2*s.w_size),s.head=new Ai.Buf16(s.hash_size),s.prev=new Ai.Buf16(s.w_size),s.lit_bufsize=1<<a+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Ai.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,$i(t)}xi=[new Vi(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(qi(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,Ui(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-Mi&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ui(t,!1),t.strm.avail_out),1)})),new Vi(4,4,8,4,Yi),new Vi(4,5,16,8,Yi),new Vi(4,6,32,32,Yi),new Vi(4,4,16,16,Gi),new Vi(8,16,32,32,Gi),new Vi(8,16,128,128,Gi),new Vi(8,32,128,256,Gi),new Vi(32,128,258,1024,Gi),new Vi(32,258,258,4096,Gi)],Da.deflateInit=function(t,e){return Ji(t,e,8,15,8,0)},Da.deflateInit2=Ji,Da.deflateReset=$i,Da.deflateResetKeep=Xi,Da.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?Pi:(t.state.gzhead=e,0):Pi},Da.deflate=function(t,e){var r,n,a,i;if(!t||!t.state||e>5||e<0)return t?ji(t,Pi):Pi;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===Di&&4!==e)return ji(t,0===t.avail_out?-5:Pi);if(n.strm=t,r=n.last_flush,n.last_flush=e,42===n.status)if(2===n.wrap)t.adler=0,Hi(n,31),Hi(n,139),Hi(n,8),n.gzhead?(Hi(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)),Hi(n,255&n.gzhead.time),Hi(n,n.gzhead.time>>8&255),Hi(n,n.gzhead.time>>16&255),Hi(n,n.gzhead.time>>24&255),Hi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Hi(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(Hi(n,255&n.gzhead.extra.length),Hi(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=Oi(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,0),Hi(n,9===n.level?2:n.strategy>=2||n.level<2?4:0),Hi(n,3),n.status=Bi);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=Bi,Wi(n,o),0!==n.strstart&&(Wi(n,t.adler>>>16),Wi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(t),a=n.pending,n.pending!==n.pending_buf_size));)Hi(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(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,Hi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(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=Oi(t.adler,n.pending_buf,n.pending-a,a)),Ni(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,Hi(n,i)}while(0!==i);n.gzhead.hcrc&&n.pending>a&&(t.adler=Oi(t.adler,n.pending_buf,n.pending-a,a)),0===i&&(n.status=Ii)}else n.status=Ii;if(n.status===Ii&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Ni(t),n.pending+2<=n.pending_buf_size&&(Hi(n,255&t.adler),Hi(n,t.adler>>8&255),t.adler=0,n.status=Bi)):n.status=Bi),0!==n.pending){if(Ni(t),0===t.avail_out)return n.last_flush=-1,0}else if(0===t.avail_in&&zi(e)<=zi(r)&&4!==e)return ji(t,-5);if(n.status===Di&&0!==t.avail_in)return ji(t,-5);if(0!==t.avail_in||0!==n.lookahead||0!==e&&n.status!==Di){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(qi(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(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<=Li){if(qi(t),t.lookahead<=Li&&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+Li;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=Li-(i-a),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=Ei._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=Ei._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(Ui(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Ui(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ui(t,!1),0===t.strm.avail_out)?1:2}(n,e):xi[n.level].func(n,e);if(3!==s&&4!==s||(n.status=Di),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),0;if(2===s&&(1===e?Ei._tr_align(n):5!==e&&(Ei._tr_stored_block(n,0,0,!1),3===e&&(Fi(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),Ni(t),0===t.avail_out))return n.last_flush=-1,0}return 4!==e?0:n.wrap<=0?1:(2===n.wrap?(Hi(n,255&t.adler),Hi(n,t.adler>>8&255),Hi(n,t.adler>>16&255),Hi(n,t.adler>>24&255),Hi(n,255&t.total_in),Hi(n,t.total_in>>8&255),Hi(n,t.total_in>>16&255),Hi(n,t.total_in>>24&255)):(Wi(n,t.adler>>>16),Wi(n,65535&t.adler)),Ni(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?0:1)},Da.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==Ii&&e!==Bi&&e!==Di?ji(t,Pi):(t.state=null,e===Bi?ji(t,-3):0):Pi},Da.deflateSetDictionary=function(t,e){var r,n,a,i,o,s,u,l,c=e.length;if(!t||!t.state)return Pi;if(2===(i=(r=t.state).wrap)||1===i&&42!==r.status||r.lookahead)return Pi;for(1===i&&(t.adler=Ri(t.adler,e,c,0)),r.wrap=0,c>=r.w_size&&(0===i&&(Fi(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new Ai.Buf8(r.w_size),Ai.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),o=t.avail_in,s=t.next_in,u=t.input,t.avail_in=c,t.next_in=0,t.input=e,qi(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,qi(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},Da.deflateInfo="pako deflate (from Nodeca project)";var Qi={},to=Ia,eo=!0,ro=!0;try{String.fromCharCode.apply(null,[0])}catch(t){eo=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){ro=!1}for(var no=new to.Buf8(256),ao=0;ao<256;ao++)no[ao]=ao>=252?6:ao>=248?5:ao>=240?4:ao>=224?3:ao>=192?2:1;function io(t,e){if(e<65534&&(t.subarray&&ro||!t.subarray&&eo))return String.fromCharCode.apply(null,to.shrinkBuf(t,e));for(var r="",n=0;n<e;n++)r+=String.fromCharCode(t[n]);return r}no[254]=no[254]=1,Qi.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 to.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},Qi.buf2binstring=function(t){return io(t,t.length)},Qi.binstring2buf=function(t){for(var e=new to.Buf8(t.length),r=0,n=e.length;r<n;r++)e[r]=t.charCodeAt(r);return e},Qi.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=no[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 io(s,n)},Qi.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+no[t[r]]>e?r:e};var oo=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},so=Da,uo=Ia,lo=Qi,co=Ci,fo=oo,ho=Object.prototype.toString;function po(t){if(!(this instanceof po))return new po(t);this.options=uo.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 fo,this.strm.avail_out=0;var r=so.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(co[r]);if(e.header&&so.deflateSetHeader(this.strm,e.header),e.dictionary){var n;if(n="string"==typeof e.dictionary?lo.string2buf(e.dictionary):"[object ArrayBuffer]"===ho.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=so.deflateSetDictionary(this.strm,n)))throw new Error(co[r]);this._dict_set=!0}}function go(t,e){var r=new po(e);if(r.push(t,!0),r.err)throw r.msg||co[r.err];return r.result}po.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=lo.string2buf(t):"[object ArrayBuffer]"===ho.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 uo.Buf8(i),a.next_out=0,a.avail_out=i),1!==(r=so.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(lo.buf2binstring(uo.shrinkBuf(a.output,a.next_out))):this.onData(uo.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===n?(r=so.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==n||(this.onEnd(0),a.avail_out=0,!0)},po.prototype.onData=function(t){this.chunks.push(t)},po.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=uo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},Ba.Deflate=po,Ba.deflate=go,Ba.deflateRaw=function(t,e){return(e=e||{}).raw=!0,go(t,e)},Ba.gzip=function(t,e){return(e=e||{}).gzip=!0,go(t,e)};var bo={},mo={},vo=Ia,yo=15,wo=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],_o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],ko=[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],xo=[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],So=Ia,Co=_i,Ao=Si,Eo=function(t,e){var r,n,a,i,o,s,u,l,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A;r=t.state,n=t.next_in,C=t.input,a=n+(t.avail_in-5),i=t.next_out,A=t.output,o=i-(e-t.avail_out),s=i+(t.avail_out-257),u=r.dmax,l=r.wsize,c=r.whave,f=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+=C[n++]<<p,p+=8,d+=C[n++]<<p,p+=8),y=g[d&m];e:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))A[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+=C[n++]<<p,p+=8),_+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=C[n++]<<p,p+=8,d+=C[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+=C[n++]<<p,(p+=8)<w&&(d+=C[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)>c&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(x=0,S=h,0===f){if(x+=l-w,w<_){_-=w;do{A[i++]=h[x++]}while(--w);x=i-k,S=A}}else if(f<w){if(x+=l+f-w,(w-=f)<_){_-=w;do{A[i++]=h[x++]}while(--w);if(x=0,f<_){_-=w=f;do{A[i++]=h[x++]}while(--w);x=i-k,S=A}}}else if(x+=f-w,w<_){_-=w;do{A[i++]=h[x++]}while(--w);x=i-k,S=A}for(;_>2;)A[i++]=S[x++],A[i++]=S[x++],A[i++]=S[x++],_-=3;_&&(A[i++]=S[x++],_>1&&(A[i++]=S[x++]))}else{x=i-k;do{A[i++]=A[x++],A[i++]=A[x++],A[i++]=A[x++],_-=3}while(_>2);_&&(A[i++]=A[x++],_>1&&(A[i++]=A[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},Ro=function(t,e,r,n,a,i,o,s){var u,l,c,f,h,d,p,g,b,m=s.bits,v=0,y=0,w=0,_=0,k=0,x=0,S=0,C=0,A=0,E=0,R=null,O=0,T=new vo.Buf16(16),P=new vo.Buf16(16),L=null,M=0;for(v=0;v<=yo;v++)T[v]=0;for(y=0;y<n;y++)T[e[r+y]]++;for(k=m,_=yo;_>=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),C=1,v=1;v<=yo;v++)if(C<<=1,(C-=T[v])<0)return-1;if(C>0&&(0===t||1!==_))return-1;for(P[1]=0,v=1;v<yo;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=wo,O-=257,L=_o,M-=257,d=256):(R=ko,L=xo,d=-1),E=0,y=0,v=w,h=i,x=k,S=0,c=-1,f=(A=1<<k)-1,1===t&&A>852||2===t&&A>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{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&f)!==c){for(0===S&&(S=k),h+=w,C=1<<(x=v-S);x+S<_&&!((C-=T[x+S])<=0);)x++,C<<=1;if(A+=1<<x,1===t&&A>852||2===t&&A>592)return 1;a[c=E&f]=k<<24|x<<16|h-i|0}}return 0!==E&&(a[h+E]=v-S<<24|64<<16|0),s.bits=k,0},Oo=-2,To=12,Po=30;function Lo(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function Mo(){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 So.Buf16(320),this.work=new So.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Io(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 So.Buf32(852),e.distcode=e.distdyn=new So.Buf32(592),e.sane=1,e.back=-1,0):Oo}function Bo(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,Io(t)):Oo}function Do(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)?Oo:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,Bo(t))):Oo}function jo(t,e){var r,n;return t?(n=new Mo,t.state=n,n.window=null,0!==(r=Do(t,e))&&(t.state=null),r):Oo}var zo,Fo,No=!0;function Uo(t){if(No){var e;for(zo=new So.Buf32(512),Fo=new So.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(Ro(1,t.lens,0,288,zo,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;Ro(2,t.lens,0,32,Fo,0,t.work,{bits:5}),No=!1}t.lencode=zo,t.lenbits=9,t.distcode=Fo,t.distbits=5}function Ho(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 So.Buf8(i.wsize)),n>=i.wsize?(So.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),So.arraySet(i.window,e,r-n,a,i.wnext),(n-=a)?(So.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}mo.inflateReset=Bo,mo.inflateReset2=Do,mo.inflateResetKeep=Io,mo.inflateInit=function(t){return jo(t,15)},mo.inflateInit2=jo,mo.inflate=function(t,e){var r,n,a,i,o,s,u,l,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A=0,E=new So.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 Oo;(r=t.state).mode===To&&(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,c=r.bits,f=s,h=u,x=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(2&r.wrap&&35615===l){r.check=0,E[0]=255&l,E[1]=l>>>8&255,r.check=Ao(r.check,E,2,0),l=0,c=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=Po;break}if(8!=(15&l)){t.msg="unknown compression method",r.mode=Po;break}if(c-=4,k=8+(15&(l>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=Po;break}r.dmax=1<<k,t.adler=r.check=1,r.mode=512&l?10:To,l=0,c=0;break;case 2:for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(r.flags=l,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=Po;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=Po;break}r.head&&(r.head.text=l>>8&1),512&r.flags&&(E[0]=255&l,E[1]=l>>>8&255,r.check=Ao(r.check,E,2,0)),l=0,c=0,r.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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=Ao(r.check,E,4,0)),l=0,c=0,r.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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=Ao(r.check,E,2,0)),l=0,c=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=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=Ao(r.check,E,2,0)),l=0,c=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)),So.arraySet(r.head.extra,n,i,d,k)),512&r.flags&&(r.check=Ao(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=Ao(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=Ao(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(;c<16;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l!==(65535&r.check)){t.msg="header crc mismatch",r.mode=Po;break}l=0,c=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=To;break;case 10:for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}t.adler=r.check=Lo(l),l=0,c=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=c,2;t.adler=r.check=1,r.mode=To;case To:if(5===e||6===e)break t;case 13:if(r.last){l>>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}switch(r.last=1&l,c-=1,3&(l>>>=1)){case 0:r.mode=14;break;case 1:if(Uo(r),r.mode=20,6===e){l>>>=2,c-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=Po}l>>>=2,c-=2;break;case 14:for(l>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if((65535&l)!=(l>>>16^65535)){t.msg="invalid stored block lengths",r.mode=Po;break}if(r.length=65535&l,l=0,c=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;So.arraySet(a,n,i,d,o),s-=d,i+=d,u-=d,o+=d,r.length-=d;break}r.mode=To;break;case 17:for(;c<14;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(r.nlen=257+(31&l),l>>>=5,c-=5,r.ndist=1+(31&l),l>>>=5,c-=5,r.ncode=4+(15&l),l>>>=4,c-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=Po;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;c<3;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.lens[R[r.have++]]=7&l,l>>>=3,c-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=Ro(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=Po;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;m=(A=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&A,!((b=A>>>24)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(v<16)l>>>=b,c-=b,r.lens[r.have++]=v;else{if(16===v){for(C=b+2;c<C;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l>>>=b,c-=b,0===r.have){t.msg="invalid bit length repeat",r.mode=Po;break}k=r.lens[r.have-1],d=3+(3&l),l>>>=2,c-=2}else if(17===v){for(C=b+3;c<C;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}c-=b,k=0,d=3+(7&(l>>>=b)),l>>>=3,c-=3}else{for(C=b+7;c<C;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}c-=b,k=0,d=11+(127&(l>>>=b)),l>>>=7,c-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=Po;break}for(;d--;)r.lens[r.have++]=k}}if(r.mode===Po)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=Po;break}if(r.lenbits=9,S={bits:r.lenbits},x=Ro(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=Po;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=Ro(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=Po;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=c,Eo(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,c=r.bits,r.mode===To&&(r.back=-1);break}for(r.back=0;m=(A=r.lencode[l&(1<<r.lenbits)-1])>>>16&255,v=65535&A,!((b=A>>>24)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(m&&0==(240&m)){for(y=b,w=m,_=v;m=(A=r.lencode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&A,!(y+(b=A>>>24)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}l>>>=y,c-=y,r.back+=y}if(l>>>=b,c-=b,r.back+=b,r.length=v,0===m){r.mode=26;break}if(32&m){r.back=-1,r.mode=To;break}if(64&m){t.msg="invalid literal/length code",r.mode=Po;break}r.extra=15&m,r.mode=22;case 22:if(r.extra){for(C=r.extra;c<C;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.length+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;m=(A=r.distcode[l&(1<<r.distbits)-1])>>>16&255,v=65535&A,!((b=A>>>24)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(0==(240&m)){for(y=b,w=m,_=v;m=(A=r.distcode[_+((l&(1<<y+w)-1)>>y)])>>>16&255,v=65535&A,!(y+(b=A>>>24)<=c);){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}l>>>=y,c-=y,r.back+=y}if(l>>>=b,c-=b,r.back+=b,64&m){t.msg="invalid distance code",r.mode=Po;break}r.offset=v,r.extra=15&m,r.mode=24;case 24:if(r.extra){for(C=r.extra;c<C;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}r.offset+=l&(1<<r.extra)-1,l>>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=Po;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=Po;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(;c<32;){if(0===s)break t;s--,l|=n[i++]<<c,c+=8}if(h-=u,t.total_out+=h,r.total+=h,h&&(t.adler=r.check=r.flags?Ao(r.check,a,h,o-h):Co(r.check,a,h,o-h)),h=u,(r.flags?l:Lo(l))!==r.check){t.msg="incorrect data check",r.mode=Po;break}l=0,c=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;c<32;){if(0===s)break t;s--,l+=n[i++]<<c,c+=8}if(l!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=Po;break}l=0,c=0}r.mode=29;case 29:x=1;break t;case Po:x=-3;break t;case 31:return-4;default:return Oo}return t.next_out=o,t.avail_out=u,t.next_in=i,t.avail_in=s,r.hold=l,r.bits=c,(r.wsize||h!==t.avail_out&&r.mode<Po&&(r.mode<27||4!==e))&&Ho(t,t.output,t.next_out,h-t.avail_out),f-=t.avail_in,h-=t.avail_out,t.total_in+=f,t.total_out+=h,r.total+=h,r.wrap&&h&&(t.adler=r.check=r.flags?Ao(r.check,a,h,t.next_out-h):Co(r.check,a,h,t.next_out-h)),t.data_type=r.bits+(r.last?64:0)+(r.mode===To?128:0)+(20===r.mode||15===r.mode?256:0),(0===f&&0===h||4===e)&&0===x&&(x=-5),x},mo.inflateEnd=function(t){if(!t||!t.state)return Oo;var e=t.state;return e.window&&(e.window=null),t.state=null,0},mo.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?Oo:(r.head=e,e.done=!1,0):Oo},mo.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?Oo:11===r.mode&&Co(1,e,n,0)!==r.check?-3:Ho(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):Oo},mo.inflateInfo="pako inflate (from Nodeca project)";var Wo={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 Zo=mo,qo=Ia,Yo=Qi,Go=Wo,Vo=Ci,Ko=oo,Xo=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},$o=Object.prototype.toString;function Jo(t){if(!(this instanceof Jo))return new Jo(t);this.options=qo.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 Ko,this.strm.avail_out=0;var r=Zo.inflateInit2(this.strm,e.windowBits);if(r!==Go.Z_OK)throw new Error(Vo[r]);if(this.header=new Xo,Zo.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Yo.string2buf(e.dictionary):"[object ArrayBuffer]"===$o.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=Zo.inflateSetDictionary(this.strm,e.dictionary))!==Go.Z_OK))throw new Error(Vo[r])}function Qo(t,e){var r=new Jo(e);if(r.push(t,!0),r.err)throw r.msg||Vo[r.err];return r.result}Jo.prototype.push=function(t,e){var r,n,a,i,o,s=this.strm,u=this.options.chunkSize,l=this.options.dictionary,c=!1;if(this.ended)return!1;n=e===~~e?e:!0===e?Go.Z_FINISH:Go.Z_NO_FLUSH,"string"==typeof t?s.input=Yo.binstring2buf(t):"[object ArrayBuffer]"===$o.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 qo.Buf8(u),s.next_out=0,s.avail_out=u),(r=Zo.inflate(s,Go.Z_NO_FLUSH))===Go.Z_NEED_DICT&&l&&(r=Zo.inflateSetDictionary(this.strm,l)),r===Go.Z_BUF_ERROR&&!0===c&&(r=Go.Z_OK,c=!1),r!==Go.Z_STREAM_END&&r!==Go.Z_OK)return this.onEnd(r),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&r!==Go.Z_STREAM_END&&(0!==s.avail_in||n!==Go.Z_FINISH&&n!==Go.Z_SYNC_FLUSH)||("string"===this.options.to?(a=Yo.utf8border(s.output,s.next_out),i=s.next_out-a,o=Yo.buf2string(s.output,a),s.next_out=i,s.avail_out=u-i,i&&qo.arraySet(s.output,s.output,a,i,0),this.onData(o)):this.onData(qo.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(c=!0)}while((s.avail_in>0||0===s.avail_out)&&r!==Go.Z_STREAM_END);return r===Go.Z_STREAM_END&&(n=Go.Z_FINISH),n===Go.Z_FINISH?(r=Zo.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Go.Z_OK):n!==Go.Z_SYNC_FLUSH||(this.onEnd(Go.Z_OK),s.avail_out=0,!0)},Jo.prototype.onData=function(t){this.chunks.push(t)},Jo.prototype.onEnd=function(t){t===Go.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=qo.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},bo.Inflate=Jo,bo.inflate=Qo,bo.inflateRaw=function(t,e){return(e=e||{}).raw=!0,Qo(t,e)},bo.ungzip=Qo;var ts={};(0,Ia.assign)(ts,Ba,bo,Wo);var es="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,rs=ts,ns=Dn(),as=zn,is=es?"uint8array":"array";function os(t,e){as.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}Ma.magic="\b\0",ns.inherits(os,as),os.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(ns.transformTo(is,t.data),!1)},os.prototype.flush=function(){as.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},os.prototype.cleanUp=function(){as.prototype.cleanUp.call(this),this._pako=null},os.prototype._createPako=function(){this._pako=new rs[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},Ma.compressWorker=function(t){return new os("Deflate",t)},Ma.uncompressWorker=function(){return new os("Inflate",{})};var ss=zn;La.STORE={magic:"\0\0",compressWorker:function(){return new ss("STORE compression")},uncompressWorker:function(){return new ss("STORE decompression")}},La.DEFLATE=Ma;var us={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"},ls=Dn(),cs=zn,fs=c,hs=sa,ds=us,ps=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},gs=function(t,e,r,n,a,i){var o,s,u=t.file,l=t.compression,c=i!==fs.utf8encode,f=ls.transformTo("string",i(u.name)),h=ls.transformTo("string",fs.utf8encode(u.name)),d=u.comment,p=ls.transformTo("string",i(d)),g=ls.transformTo("string",fs.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),c||!b&&!m||(S|=2048);var C,A,E,R=0,O=0;_&&(R|=16),"UNIX"===a?(O=798,R|=(C=u.unixPermissions,A=_,E=C,C||(E=A?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=ps(1,1)+ps(hs(f),4)+h,v+="up"+ps(y.length,2)+y),m&&(w=ps(1,1)+ps(hs(p),4)+g,v+="uc"+ps(w.length,2)+w);var T="";return T+="\n\0",T+=ps(S,2),T+=l.magic,T+=ps(o,2),T+=ps(s,2),T+=ps(x.crc32,4),T+=ps(x.compressedSize,4),T+=ps(x.uncompressedSize,4),T+=ps(f.length,2),T+=ps(v.length,2),{fileRecord:ds.LOCAL_FILE_HEADER+T+f+v,dirRecord:ds.CENTRAL_FILE_HEADER+ps(O,2)+T+ps(p.length,2)+"\0\0\0\0"+ps(R,4)+ps(n,4)+f+v+p}},bs=function(t){return ds.DATA_DESCRIPTOR+ps(t.crc32,4)+ps(t.compressedSize,4)+ps(t.uncompressedSize,4)};function ms(t,e,r,n){cs.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=[]}ls.inherits(ms,cs),ms.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,cs.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},ms.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=gs(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},ms.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=gs(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:bs(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},ms.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=ls.transformTo("string",a(n));return ds.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ps(t,2)+ps(t,2)+ps(e,4)+ps(r,4)+ps(i.length,2)+i}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},ms.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},ms.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},ms.prototype.resume=function(){return!!cs.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},ms.prototype.error=function(t){var e=this._sources;if(!cs.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},ms.prototype.lock=function(){cs.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()};var vs=La,ys=ms;Pa.generateWorker=function(t,e,r){var n=new ys(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=vs[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 ws=Dn(),_s=zn;function ks(t,e){_s.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}ws.inherits(ks,_s),ks.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()}))},ks.prototype.pause=function(){return!!_s.prototype.pause.call(this)&&(this._stream.pause(),!0)},ks.prototype.resume=function(){return!!_s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)};var xs=ks,Ss=c,Cs=Dn(),As=zn,Es=Qn,Rs=ta,Os=wa,Ts=Ta,Ps=Pa,Ls=Ln,Ms=xs,Is=function(t,e,r){var n,a=Cs.getTypeOf(e),i=Cs.extend(r||{},Rs);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=Ds(t)),i.createFolders&&(n=Bs(t))&&js.call(this,n,!0);var o="string"===a&&!1===i.binary&&!1===i.base64;r&&void 0!==r.binary||(i.binary=!o),(e instanceof Os&&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 Os||e instanceof As?e:Ls.isNode&&Ls.isStream(e)?new Ms(t,e):Cs.prepareContent(t,e,i.binary,i.optimizedBinaryString,i.base64);var u=new Ts(t,s,i);this.files[t]=u},Bs=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},Ds=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},js=function(t,e){return e=void 0!==e?e:Rs.createFolders,t=Ds(t),this.files[t]||Is.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function zs(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var Fs={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(zs(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,Is.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(zs(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=js.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=Cs.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.");Cs.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 As("error")).error(t)}return new Es(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)}},Ns=Fs,Us=Dn();function Hs(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}Hs.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 Us.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 Ws=Hs,Zs=Ws;function qs(t){Zs.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}Dn().inherits(qs,Zs),qs.prototype.byteAt=function(t){return this.data[this.zero+t]},qs.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},qs.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]},qs.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 Ys=qs,Gs=Ws;function Vs(t){Gs.call(this,t)}Dn().inherits(Vs,Gs),Vs.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},Vs.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},Vs.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},Vs.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 Ks=Vs,Xs=Ys;function $s(t){Xs.call(this,t)}Dn().inherits($s,Xs),$s.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 Js=$s,Qs=Js;function tu(t){Qs.call(this,t)}Dn().inherits(tu,Qs),tu.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 eu=tu,ru=Dn(),nu=dt,au=Ys,iu=Ks,ou=eu,su=Js,uu=function(t){var e=ru.getTypeOf(t);return ru.checkSupport(e),"string"!==e||nu.uint8array?"nodebuffer"===e?new ou(t):nu.uint8array?new su(ru.transformTo("uint8array",t)):new au(ru.transformTo("array",t)):new iu(t)},lu=uu,cu=Dn(),fu=wa,hu=sa,du=c,pu=La,gu=dt;function bu(t,e){this.options=t,this.loadOptions=e}bu.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 pu)if(Object.prototype.hasOwnProperty.call(pu,e)&&pu[e].magic===t)return pu[e];return null}(this.compressionMethod),null===e)throw new Error("Corrupted zip : compression "+cu.pretty(this.compressionMethod)+" unknown (inner file : "+cu.transformTo("string",this.fileName)+")");this.decompressed=new fu(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=lu(this.extraFields[1].value);this.uncompressedSize===cu.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===cu.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===cu.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===cu.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=gu.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=du.utf8decode(this.fileName),this.fileCommentStr=du.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=cu.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=cu.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=lu(t.value);return 1!==e.readInt(1)||hu(this.fileName)!==e.readInt(4)?null:du.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=lu(t.value);return 1!==e.readInt(1)||hu(this.fileComment)!==e.readInt(4)?null:du.utf8decode(e.readData(t.length-5))}return null}};var mu=bu,vu=uu,yu=Dn(),wu=us,_u=mu,ku=dt;function xu(t){this.files=[],this.loadOptions=t}xu.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 ("+yu.pretty(e)+", expected "+yu.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=ku.uint8array?"uint8array":"array",r=yu.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(wu.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(wu.CENTRAL_FILE_HEADER);)(t=new _u({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(wu.CENTRAL_DIRECTORY_END);if(t<0)throw!this.isSignature(0,wu.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(wu.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===yu.MAX_VALUE_16BITS||this.diskWithCentralDirStart===yu.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===yu.MAX_VALUE_16BITS||this.centralDirRecords===yu.MAX_VALUE_16BITS||this.centralDirSize===yu.MAX_VALUE_32BITS||this.centralDirOffset===yu.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(wu.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(wu.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,wu.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(wu.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(wu.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,wu.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=vu(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var Su=xu,Cu=Dn(),Au=Bn,Eu=c,Ru=Su,Ou=fa,Tu=Ln;function Pu(t){return new Au.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new Ou);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 Lu(){if(!(this instanceof Lu))return new Lu;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 Lu;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}Lu.prototype=Ns,Lu.prototype.loadAsync=function(t,e){var r=this;return e=Cu.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:Eu.utf8decode}),Tu.isNode&&Tu.isStream(t)?Au.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Cu.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new Ru(e);return r.load(t),r})).then((function(t){var r=[Au.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var a=0;a<n.length;a++)r.push(Pu(n[a]));return Au.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=Cu.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}))},Lu.support=dt,Lu.defaults=ta,Lu.version="3.10.1",Lu.loadAsync=function(t,e){return(new Lu).loadAsync(t,e)},Lu.external=Bn;var Mu=Lu;function Iu(t){return Iu="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},Iu(t)}function Bu(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),c="'".charCodeAt(0),f='"'.charCodeAt(0),h="[".charCodeAt(0),d="]".charCodeAt(0);function p(e){for(var c=[];t[r];)if(t.charCodeAt(r)==i){if(t.charCodeAt(r+1)===u){var f=r+2;if(r=t.indexOf(">",r),-1==t.substring(f,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),c}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&&c.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?(c.push(t.substr(r+9)),r=t.length):(c.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++;c.push(t.substring(e,r))}}r++;continue}var y=v();c.push(y),"?"===y.tagName[0]&&(c.push(...y.children),y.children=[])}else{var w=g();if(a)w.length>0&&c.push(w);else{var _=w.trim();_.length>0&&c.push(_)}r++}return c}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!==c&&l!==f&&!(l>64&&l<91||l>96&&l<123)&&l!==o;)r++,l=t.charCodeAt(r);if(l===c||l===f){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&&(_=ju(_,e.filter)),e.simplify?Du(Array.isArray(_)?_:[_]):(e.setPos&&(_.pos=r),_)}function Du(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=Du(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 ju(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=ju(t.children,e,r+1,(n?n+".":"")+i+"."+t.tagName);a=a.concat(o)}})),a}function zu(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 Fu(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 Fu(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 Fu(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 Nu(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 Uu(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Nu(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Hu=0;function Wu(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:Uu({order:Hu++},e),value:t[0]}:t[0];var n,a=zu(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if("object"!==Iu(i))return;if("?xml"!==i.tagName){r[i.tagName]||(r[i.tagName]=[]);var o=Wu(i.children||[],i.attributes);"object"===Iu(o)&&(o.attrs?o.attrs.order=Hu++:o.attrs={order:Hu++}),Object.keys(i.attributes||{}).length&&(o.attrs=Uu(Uu({},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 Zu(t,e){return qu.apply(this,arguments)}function qu(){return(qu=n(l.mark((function t(e,r){var n;return l.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",Wu(Bu(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 Yu(t){return Yu="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},Yu(t)}var Gu=/^\s+/,Vu=/\s+$/;function Ku(t,e){if(e=e||{},(t=t||"")instanceof Ku)return t;if(!(this instanceof Ku))return new Ku(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(Gu,"").replace(Vu,"").toLowerCase();var e,r=!1;if(hl[t])t=hl[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=Cl.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=Cl.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=Cl.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=Cl.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=Cl.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=Cl.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=Cl.hex8.exec(t))return{r:ml(e[1]),g:ml(e[2]),b:ml(e[3]),a:_l(e[4]),format:r?"name":"hex8"};if(e=Cl.hex6.exec(t))return{r:ml(e[1]),g:ml(e[2]),b:ml(e[3]),format:r?"name":"hex"};if(e=Cl.hex4.exec(t))return{r:ml(e[1]+""+e[1]),g:ml(e[2]+""+e[2]),b:ml(e[3]+""+e[3]),a:_l(e[4]+""+e[4]),format:r?"name":"hex8"};if(e=Cl.hex3.exec(t))return{r:ml(e[1]+""+e[1]),g:ml(e[2]+""+e[2]),b:ml(e[3]+""+e[3]),format:r?"name":"hex"};return!1}(t));"object"==Yu(t)&&(Al(t.r)&&Al(t.g)&&Al(t.b)?(u=t.r,l=t.g,c=t.b,e={r:255*gl(u,255),g:255*gl(l,255),b:255*gl(c,255)},o=!0,s="%"===String(t.r).substr(-1)?"prgb":"rgb"):Al(t.h)&&Al(t.s)&&Al(t.v)?(n=yl(t.s),a=yl(t.v),e=function(t,e,r){t=6*gl(t,360),e=gl(e,100),r=gl(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"):Al(t.h)&&Al(t.s)&&Al(t.l)&&(n=yl(t.s),i=yl(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=gl(t,360),e=gl(e,100),r=gl(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,c;return r=pl(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 Xu(t,e,r){t=gl(t,255),e=gl(e,255),r=gl(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 $u(t,e,r){t=gl(t,255),e=gl(e,255),r=gl(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 Ju(t,e,r,n){var a=[vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(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 Qu(t,e,r,n){return[vl(wl(n)),vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(Math.round(r).toString(16))].join("")}function tl(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.s-=e/100,r.s=bl(r.s),Ku(r)}function el(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.s+=e/100,r.s=bl(r.s),Ku(r)}function rl(t){return Ku(t).desaturate(100)}function nl(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.l+=e/100,r.l=bl(r.l),Ku(r)}function al(t,e){e=0===e?0:e||10;var r=Ku(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))),Ku(r)}function il(t,e){e=0===e?0:e||10;var r=Ku(t).toHsl();return r.l-=e/100,r.l=bl(r.l),Ku(r)}function ol(t,e){var r=Ku(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,Ku(r)}function sl(t){var e=Ku(t).toHsl();return e.h=(e.h+180)%360,Ku(e)}function ul(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Ku(t).toHsl(),n=[Ku(t)],a=360/e,i=1;i<e;i++)n.push(Ku({h:(r.h+i*a)%360,s:r.s,l:r.l}));return n}function ll(t){var e=Ku(t).toHsl(),r=e.h;return[Ku(t),Ku({h:(r+72)%360,s:e.s,l:e.l}),Ku({h:(r+216)%360,s:e.s,l:e.l})]}function cl(t,e,r){e=e||6,r=r||30;var n=Ku(t).toHsl(),a=360/r,i=[Ku(t)];for(n.h=(n.h-(a*e>>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(Ku(n));return i}function fl(t,e){e=e||6;for(var r=Ku(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/e;e--;)o.push(Ku({h:n,s:a,v:i})),i=(i+s)%1;return o}Ku.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=pl(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=$u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=$u(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=Xu(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Xu(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 Ju(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=[vl(Math.round(t).toString(16)),vl(Math.round(e).toString(16)),vl(Math.round(r).toString(16)),vl(wl(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*gl(this._r,255))+"%",g:Math.round(100*gl(this._g,255))+"%",b:Math.round(100*gl(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*gl(this._r,255))+"%, "+Math.round(100*gl(this._g,255))+"%, "+Math.round(100*gl(this._b,255))+"%)":"rgba("+Math.round(100*gl(this._r,255))+"%, "+Math.round(100*gl(this._g,255))+"%, "+Math.round(100*gl(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(dl[Ju(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+Qu(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=Ku(t);r="#"+Qu(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 Ku(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(nl,arguments)},brighten:function(){return this._applyModification(al,arguments)},darken:function(){return this._applyModification(il,arguments)},desaturate:function(){return this._applyModification(tl,arguments)},saturate:function(){return this._applyModification(el,arguments)},greyscale:function(){return this._applyModification(rl,arguments)},spin:function(){return this._applyModification(ol,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(cl,arguments)},complement:function(){return this._applyCombination(sl,arguments)},monochromatic:function(){return this._applyCombination(fl,arguments)},splitcomplement:function(){return this._applyCombination(ll,arguments)},triad:function(){return this._applyCombination(ul,[3])},tetrad:function(){return this._applyCombination(ul,[4])}},Ku.fromRatio=function(t,e){if("object"==Yu(t)){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:yl(t[n]));t=r}return Ku(t,e)},Ku.equals=function(t,e){return!(!t||!e)&&Ku(t).toRgbString()==Ku(e).toRgbString()},Ku.random=function(){return Ku.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Ku.mix=function(t,e,r){r=0===r?0:r||50;var n=Ku(t).toRgb(),a=Ku(e).toRgb(),i=r/100;return Ku({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})},Ku.readability=function(t,e){var r=Ku(t),n=Ku(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Ku.isReadable=function(t,e,r){var n,a,i=Ku.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},Ku.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=Ku.readability(t,e[l]))>u&&(u=n,s=Ku(e[l]));return Ku.isReadable(t,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,Ku.mostReadable(t,["#fff","#000"],r))};var hl=Ku.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"},dl=Ku.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(hl);function pl(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function gl(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 bl(t){return Math.min(1,Math.max(0,t))}function ml(t){return parseInt(t,16)}function vl(t){return 1==t.length?"0"+t:""+t}function yl(t){return t<=1&&(t=100*t+"%"),t}function wl(t){return Math.round(255*parseFloat(t)).toString(16)}function _l(t){return ml(t)/255}var kl,xl,Sl,Cl=(xl="[\\s|\\(]+("+(kl="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",Sl="[\\s|\\(]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")[,|\\s]+("+kl+")\\s*\\)?",{CSS_UNIT:new RegExp(kl),rgb:new RegExp("rgb"+xl),rgba:new RegExp("rgba"+Sl),hsl:new RegExp("hsl"+xl),hsla:new RegExp("hsla"+Sl),hsv:new RegExp("hsv"+xl),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 Al(t){return!!Cl.CSS_UNIT.exec(t)}function El(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 Rl(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 Rl(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 Rl(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 Ol(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 Tl(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 Ll(t,e){if(!t)return t;var r,n=El(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 Ml(t){return t?Math.round(t/6e4):0}function Il(t){var e={"&":"&","<":"<",">":">",'"':""","'":"'"};return t.replace(/[&<>"']/g,(function(t){return e[t]}))}function Bl(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 Dl(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 jl(t){for(var e=t.toString(16);e.length<2;)e="0"+e;return e}function zl(t){if(!DOMParser)return!0;var e=(new DOMParser).parseFromString(t,"text/html");return""!==(e.body.textContent||e.body.innerText).trim()}function Fl(t,e,r,n){var a,i;if(r)i=r;else{var o=Ll(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);i=o||((o=Ll(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Ll(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=Ll(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);!(a=Ll(u,["a:srgbClr","attrs","val"]))&&u&&(a=Ll(u,["a:sysClr","attrs","lastClr"]))}return a}function Nl(t,e,r){var n=t["p:spPr"]["a:ln"];if(!n){var a=Ll(t,["p:style","a:lnRef"]);if(a){var i=Ll(a,["attrs","idx"]);n=r.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(i)-1]}}n||(n=t);var o=Ll(n,["a:noFill"])?0:parseInt(Ll(n,["attrs","w"]))/12700;isNaN(o)&&(o=n||"obj"!==e?0:1);var s=Ll(n,["a:solidFill","a:srgbClr","attrs","val"]);if(!s){var u=Ll(n,["a:solidFill","a:schemeClr"]);s=Fl("a:"+Ll(u,["attrs","val"]),r)}if(!s){var l=Ll(t,["p:style","a:lnRef","a:schemeClr"]);if(s=Fl("a:"+Ll(l,["attrs","val"]),r)){var c=Ll(l,["a:shade","attrs","val"]);if(c){c=parseInt(c)/1e5;var f=Ku("#"+s).toHsl();s=Ku({h:f.h,s:f.s,l:f.l*c,a:f.a}).toHex()}}}s=s?"#".concat(s):"#000";var h="solid",d="0";switch(Ll(n,["a:prstDash","attrs","val"])){case"solid":h="solid",d="0";break;case"dash":h="dashed",d="5";break;case"dashDot":h="dashed",d="5, 5, 1, 5";break;case"dot":h="dotted",d="1, 5";break;case"lgDash":h="dashed",d="10, 5";break;case"lgDashDotDot":h="dotted",d="10, 5, 1, 5, 1, 5";break;case"sysDash":h="dashed",d="5, 2";break;case"sysDashDot":h="dotted",d="5, 2, 1, 5";break;case"sysDashDotDot":h="dotted",d="5, 2, 1, 5, 1, 5";break;case"sysDot":h="dotted",d="2, 5"}return{borderColor:s,borderWidth:o,borderType:h,strokeDasharray:d}}function Ul(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 Hl(t,e,r){var n=Ku(t).toHsl();e>=1&&(e=1);var a=n.l*e+(1-e);return r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}function Wl(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 Zl(t,e,r){return ql.apply(this,arguments)}function ql(){return ql=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=r["a:blip"].attrs["r:embed"],"slideBg"===e||"slide"===e?o=Ll(n,["slideResObj",i,"target"]):"slideLayoutBg"===e?o=Ll(n,["layoutResObj",i,"target"]):"slideMasterBg"===e?o=Ll(n,["masterResObj",i,"target"]):"themeBg"===e?o=Ll(n,["themeResObj",i,"target"]):"diagramBg"===e&&(o=Ll(n,["diagramResObj",i,"target"])),o){t.next=4;break}return t.abrupt("return",o);case 4:if(a=Ll(n,["loaded-images",o])){t.next=18;break}if(o=Il(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:u=t.sent,c=Bl(s),a="data:".concat(c,";base64,").concat(Ol(u)),(f=n["loaded-images"]||{})[o]=a,n["loaded-images"]=f;case 18:return t.abrupt("return",a);case 19:case"end":return t.stop()}}),t)}))),ql.apply(this,arguments)}function Yl(t){var e=Ll(t["a:blip"],["a:alphaModFix","attrs"]),r=1;return e&&e.amt&&""!==e.amt&&(r=parseInt(e.amt)/1e5),r}function Gl(t,e,r){return Vl.apply(this,arguments)}function Vl(){return(Vl=n(l.mark((function t(e,r,n){var a,i,o,s;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zl(r,e["a:blipFill"],n);case 2:return a=t.sent,i=e["a:blipFill"]["a:blip"],o=Ll(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 Kl(t,e){for(var r=t["a:gsLst"]["a:gs"],n=[],a=0;a<r.length;a++){var i=ec(r[a],void 0,void 0,e),o=Ll(r[a],["attrs","pos"]);n[a]={pos:o?o/1e3+"%":"",color:i}}var s=t["a:lin"],u=0,l="line";if(s)u=Ml(s.attrs.ang);else{var c=t["a:path"];c&&c.attrs&&c.attrs.path&&(l=c.attrs.path)}return{rot:u,path:l,colors:n.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}function Xl(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=ec(i[s],r["p:sldMaster"]["p:clrMap"].attrs,e,n),l=Ll(i[s],["attrs","pos"]);o[s]={pos:l?l/1e3+"%":"",color:u}}var c=a["a:lin"],f=0,h="line";if(c)f=Ml(c.attrs.ang)+0;else{var d=a["a:path"];d&&d.attrs&&d.attrs.path&&(h=d.attrs.path)}return{rot:f,path:h,colors:o.sort((function(t,e){return parseInt(t.pos)-parseInt(e.pos)}))}}return e?-1===e.indexOf("#")?"#".concat(e):e:null}function $l(t){return Jl.apply(this,arguments)}function Jl(){return Jl=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A,E,R,O,T,P,L,M,I,B,D,j,z,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 l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.slideContent,n=e.slideLayoutContent,a=e.slideMasterContent,i=Ll(r,["p:sld","p:cSld","p:bg","p:bgPr"]),o=Ll(r,["p:sld","p:cSld","p:bg","p:bgRef"]),s="#fff",u="color",!i){t.next=29;break}if("SOLID_FILL"!==(c=Wl(i))){t.next=17;break}f=i["a:solidFill"],(d=Ll(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?h=d:(p=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),h=p||Ll(a,["p:sldMaster","p:clrMap","attrs"])),g=ec(f,h,void 0,e),s=g,t.next=27;break;case 17:if("GRADIENT_FILL"!==c){t.next=22;break}"string"==typeof(b=Xl(i,void 0,a,e))?s=b:b&&(s=b,u="gradient"),t.next=27;break;case 22:if("PIC_FILL"!==c){t.next=27;break}return t.next=25,Gl(i,"slideBg",e);case 25:s=t.sent,u="image";case 27:t.next=142;break;case 29:if(!o){t.next=37;break}(v=Ll(r,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]))?m=v:(y=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),m=y||Ll(a,["p:sldMaster","p:clrMap","attrs"])),w=ec(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)}})),(C=S.slice(0)).sort((function(t,e){return t.idex-e.idex})),A=C[k-1],"SOLID_FILL"===(E=Wl(A))?(R=A["a:solidFill"],O=ec(R,m,void 0,e),s=O):"GRADIENT_FILL"===E&&("string"==typeof(T=Xl(A,w,a,e))?s=T:T&&(s=T,u="gradient"))),t.next=142;break;case 37:if(i=Ll(n,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),o=Ll(n,["p:sldLayout","p:cSld","p:bg","p:bgRef"]),L=Ll(n,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]),P=L||Ll(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=61;break}if("SOLID_FILL"!==(M=Wl(i))){t.next=49;break}I=i["a:solidFill"],B=ec(I,P,void 0,e),s=B,t.next=59;break;case 49:if("GRADIENT_FILL"!==M){t.next=54;break}"string"==typeof(D=Xl(i,void 0,a,e))?s=D:D&&(s=D,u="gradient"),t.next=59;break;case 54:if("PIC_FILL"!==M){t.next=59;break}return t.next=57,Gl(i,"slideLayoutBg",e);case 57:s=t.sent,u="image";case 59:t.next=142;break;case 61:if(!o){t.next=91;break}if(j=ec(o,P,void 0,e),!((z=Number(o.attrs.idx))>1e3)){t.next=89;break}if(F=z-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=Wl(W))){t.next=79;break}q=W["a:solidFill"],Y=ec(q,P,void 0,e),s=Y,t.next=89;break;case 79:if("GRADIENT_FILL"!==Z){t.next=84;break}"string"==typeof(G=Xl(W,j,a,e))?s=G:G&&(s=G,u="gradient"),t.next=89;break;case 84:if("PIC_FILL"!==Z){t.next=89;break}return t.next=87,Gl(W,"themeBg",e);case 87:s=t.sent,u="image";case 89:t.next=142;break;case 91:if(i=Ll(a,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),o=Ll(a,["p:sldMaster","p:cSld","p:bg","p:bgRef"]),V=Ll(a,["p:sldMaster","p:clrMap","attrs"]),!i){t.next=114;break}if("SOLID_FILL"!==(K=Wl(i))){t.next=102;break}X=i["a:solidFill"],$=ec(X,V,void 0,e),s=$,t.next=112;break;case 102:if("GRADIENT_FILL"!==K){t.next=107;break}"string"==typeof(J=Xl(i,void 0,a,e))?s=J:J&&(s=J,u="gradient"),t.next=112;break;case 107:if("PIC_FILL"!==K){t.next=112;break}return t.next=110,Gl(i,"slideMasterBg",e);case 110:s=t.sent,u="image";case 112:t.next=142;break;case 114:if(!o){t.next=142;break}if(Q=ec(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=Wl(it))){t.next=132;break}st=it["a:solidFill"],ut=ec(st,P,void 0,e),s=ut,t.next=142;break;case 132:if("GRADIENT_FILL"!==ot){t.next=137;break}"string"==typeof(lt=Xl(it,Q,a,e))?s=lt:lt&&(s=lt,u="gradient"),t.next=142;break;case 137:if("PIC_FILL"!==ot){t.next=142;break}return t.next=140,Gl(it,"themeBg",e);case 140:s=t.sent,u="image";case 142:return t.abrupt("return",{type:u,value:s});case 143:case"end":return t.stop()}}),t)}))),Jl.apply(this,arguments)}function Ql(t,e,r,n){return tc.apply(this,arguments)}function tc(){return tc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=Wl(Ll(e,["p:spPr"])),o="color",s="","NO_FILL"!==i){t.next=7;break}return t.abrupt("return",r?"none":"");case 7:if("SOLID_FILL"!==i){t.next=13;break}u=e["p:spPr"]["a:solidFill"],s=ec(u,void 0,void 0,n),o="color",t.next=27;break;case 13:if("GRADIENT_FILL"!==i){t.next=19;break}c=e["p:spPr"]["a:gradFill"],s=Kl(c,n),o="gradient",t.next=27;break;case 19:if("PIC_FILL"!==i){t.next=27;break}return f=e["p:spPr"]["a:blipFill"],t.next=23,Zl(a,f,n);case 23:h=t.sent,d=Yl(f),s={picBase64:h,opacity:d},o="image";case 27:return s||(p=Ll(e,["p:style","a:fillRef"]),s=ec(p,void 0,void 0,n),o="color"),t.abrupt("return",{type:o,value:s});case 29:case"end":return t.stop()}}),t)}))),tc.apply(this,arguments)}function ec(t,e,r,n){if(!t)return"";var a,i,o,s="";if(t["a:srgbClr"])s=Ll(a=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"]){s=Fl("a:"+Ll(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,c=-1!==u.g.indexOf("%")?u.g.split("%").shift():u.g,f=-1!==u.b.indexOf("%")?u.b.split("%").shift():u.b;s=jl(Number(l)/100*255)+jl(Number(c)/100*255)+jl(Number(f)/100*255)}else if(t["a:prstClr"]){var h=Ll(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*Ul(a,n,2+(t/=60)),g:255*Ul(a,n,t),b:255*Ul(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=jl(p.r)+jl(p.g)+jl(p.b)}else if(t["a:sysClr"]){var g=Ll(a=t["a:sysClr"],["attrs","lastClr"]);g&&(s=g)}var b=!1,m=parseInt(Ll(a,["a:alpha","attrs","val"]))/1e5;if(!isNaN(m)){var v=Ku(s);v.setAlpha(m),s=v.toHex8(),b=!0}var y=parseInt(Ll(a,["a:hueMod","attrs","val"]))/1e5;isNaN(y)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.h*e;return a>=360&&(a-=360),r?Ku({h:a,s:n.s,l:n.l,a:n.a}).toHex8():Ku({h:a,s:n.s,l:n.l,a:n.a}).toHex()}(s,y,b));var w=parseInt(Ll(a,["a:lumMod","attrs","val"]))/1e5;isNaN(w)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.l*e;return a>=1&&(a=1),r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,w,b));var _=parseInt(Ll(a,["a:lumOff","attrs","val"]))/1e5;isNaN(_)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=e+n.l;return a>=1?r?Ku({h:n.h,s:n.s,l:1,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:1,a:n.a}).toHex():r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,_,b));var k=parseInt(Ll(a,["a:satMod","attrs","val"]))/1e5;isNaN(k)||(s=function(t,e,r){var n=Ku(t).toHsl(),a=n.s*e;return a>=1&&(a=1),r?Ku({h:n.h,s:a,l:n.l,a:n.a}).toHex8():Ku({h:n.h,s:a,l:n.l,a:n.a}).toHex()}(s,k,b));var x=parseInt(Ll(a,["a:shade","attrs","val"]))/1e5;isNaN(x)||(s=function(t,e,r){var n=Ku(t).toHsl();e>=1&&(e=1);var a=Math.min(n.l*e,1);return r?Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex8():Ku({h:n.h,s:n.s,l:a,a:n.a}).toHex()}(s,x,b));var S=parseInt(Ll(a,["a:tint","attrs","val"]))/1e5;return isNaN(S)||(s=Hl(s,S,b)),s&&-1===s.indexOf("#")&&(s="#"+s),s}function rc(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 nc(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 nc(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 nc(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 ac(t,e){t.constructor!==Array&&(t=[t]);var r,n=[],a=rc(t);try{for(a.s();!(r=a.n()).done;){var i=r.value,o=Ll(i,["c:spPr","a:solidFill","a:schemeClr"]);o||(o=Ll(i,["c:spPr","a:ln","a:solidFill","a:schemeClr"])),o||(o=Ll(i,["c:marker","c:spPr","a:ln","a:solidFill","a:schemeClr"]));var s=Ll(o,["attrs","val"]);if(s){s=Ll(e.themeContent,["a:theme","a:themeElements","a:clrScheme","a:".concat(s),"a:srgbClr","attrs","val"]);var u=Ll(o,["a:tint","attrs","val"])/1e5;s&&!isNaN(u)&&(s=Hl(s,u))}else s=Ll(i,["c:spPr","a:solidFill","a:srgbClr","attrs","val"]);s&&(s="#"+s),n.push(s)}}catch(t){a.e(t)}finally{a.f()}return n}function ic(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=Ll(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,i={};return Ll(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"],""})):Ll(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"],""})),Ll(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 oc(t,e){var r=null;for(var n in t)switch(n){case"c:lineChart":r={type:"lineChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),marker:!!t[n]["c:marker"]};break;case"c:line3DChart":r={type:"line3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:barChart":r={type:"barChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),barDir:Ll(t[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":r={type:"bar3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"]),barDir:Ll(t[n],["c:barDir","attrs","val"])};break;case"c:pieChart":r={type:"pieChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e)};break;case"c:pie3DChart":r={type:"pie3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e)};break;case"c:doughnutChart":r={type:"doughnutChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"]["c:dPt"],e),holeSize:Ll(t[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":r={type:"areaChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":r={type:"area3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),grouping:Ll(t[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":r={type:"scatterChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),style:Ll(t[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":r={type:"bubbleChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:radarChart":r={type:"radarChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e),style:Ll(t[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":r={type:"surfaceChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:surface3DChart":r={type:"surface3DChart",data:ic(t[n]["c:ser"]),colors:ac(t[n]["c:ser"],e)};break;case"c:stockChart":r={type:"stockChart",data:ic(t[n]["c:ser"]),colors:[]}}return r}function sc(t,e,r,n){var a=Ll(t,["a:pPr","attrs","algn"]);if(a||(a=Ll(e,["a:pPr","attrs","algn"])),!a)if("title"===r||"ctrTitle"===r||"subTitle"===r){var i=1,o=Ll(e,["a:pPr","attrs","lvl"]);o&&(i=parseInt(o)+1);var s="a:lvl"+i+"pPr";(a=Ll(n,["slideLayoutTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(a=Ll(n,["slideMasterTables","typeTable",r,"p:txBody","a:lstStyle",s,"attrs","algn"])),a||(a=Ll(n,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),a||"subTitle"!==r||(a=Ll(n,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else a=Ll(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}function uc(t,e,r){var n=Ll(t,["p:txBody","a:bodyPr","attrs","anchor"]);return n||(n=Ll(e,["p:txBody","a:bodyPr","attrs","anchor"]))||(n=Ll(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(n="t"),"ctr"===n?"mid":"b"===n?"down":"up"}var lc=72/914400;function cc(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)*lc,left:parseInt(n.x)*lc}:{top:0,left:0}}function fc(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)*lc,height:parseInt(n.cy)*lc}:{width:0,height:0}}function hc(t,e){var r=ec(t,void 0,void 0,e),n=t.attrs,a=n.dir?parseInt(n.dir)/6e4:0,i=parseInt(n.dist)*lc,o=n.blurRad?parseInt(n.blurRad)*lc:"",s=i*Math.sin(a*Math.PI/180);return{h:i*Math.cos(a*Math.PI/180),v:s,blur:o,color:r}}function dc(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 pc(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 pc(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 pc(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 gc(t,e,r,n,a){if(!t)return"";var i,o="",s=Ll(e,["p:style","a:fontRef"]),u=t["a:p"],l="",c=dc(u.constructor===Array?u:[u]);try{for(c.s();!(i=c.n()).done;){var f=i.value,h=f["a:r"],d=f["a:fld"],p=f["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=sc(f,e,n,a),b=bc(f);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=dc(h);try{for(v.s();!(m=v.n()).done;){o+=mc(m.value,f,t,s,r,n,a)}}catch(t){v.e(t)}finally{v.f()}}else o+=mc(f,e,t,s,r,n,a);o+=b?"</li>":"</p>"}}catch(t){c.e(t)}finally{c.f()}return o}function bc(t){var e=t["a:pPr"];return e?e["a:buChar"]?"ul":e["a:buAutoNum"]?"ol":"":""}function mc(t,e,r,n,a,i,o){var s=r["a:lstStyle"],u=o.slideMasterTextStyles,l=1,c=Ll(e["a:pPr"],["attrs","lvl"]);void 0!==c&&(l=parseInt(c)+1);var f=t["a:t"];"string"!=typeof f&&(f=Ll(t,["a:fld","a:t"])),"string"!=typeof f&&(f=" ");var h="",d=function(t,e,r,n,a,i){var o,s=Ll(t,["a:rPr"]);if(s&&"SOLID_FILL"===Wl(s)&&(o=ec(s["a:solidFill"],void 0,void 0,i)),!o&&Ll(r,["a:lvl"+a+"pPr","a:defRPr"])){var u=Ll(r,["a:lvl"+a+"pPr","a:defRPr"]);"SOLID_FILL"===Wl(u)&&(o=ec(u["a:solidFill"],void 0,void 0,i))}if(!o){var l=Ll(e,["p:style","a:fontRef"]);l&&(o=ec(l,void 0,void 0,i)),!o&&n&&(o=ec(n,void 0,void 0,i))}return o||""}(t,e,s,n,l,o),p=function(t,e,r,n){var a,i;if(Ll(t,["a:rPr","attrs","sz"])&&(a=Ll(t,["a:rPr","attrs","sz"])/100),isNaN(a)||!a){var o=Ll(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=Ll(n,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"body"===r?i=Ll(n,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):"dt"===r||"sldNum"===r?i="1200":r||(i=Ll(n,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),i&&(a=parseInt(i)/100)),Ll(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=Ll(t,["a:rPr","a:latin","attrs","typeface"]);if(!n){var a=Ll(r.themeContent,["a:theme","a:themeElements","a:fontScheme"]);n=Ll(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"===Ll(t,["a:rPr","attrs","b"])?"bold":""}(t),m=function(t){return"1"===Ll(t,["a:rPr","attrs","i"])?"italic":""}(t),v=function(t){return"sng"===Ll(t,["a:rPr","attrs","u"])?"underline":""}(t),y=function(t){return"sngStrike"===Ll(t,["a:rPr","attrs","strike"])?"line-through":""}(t),w=function(t){var e=Ll(t,["a:rPr","attrs","spc"]);return e?parseInt(e)/100+"pt":""}(t),_=function(t,e){var r=Ll(t,["a:rPr","a:effectLst","a:outerShdw"]);if(r){var n=hc(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=Ll(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=Ll(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(f.replace(/\t/g," ").replace(/\s/g," "),"</a></span>")}return'<span style="'.concat(h,'">').concat(f.replace(/\t/g," ").replace(/\s/g," "),"</span>")}function vc(t,e,r,n,a,i,o){var s,u=a;if(i>=a)for(;u<=i;){var l=u*(Math.PI/180),c=t+Math.cos(l)*r,f=e+Math.sin(l)*n;u===a&&(s=" M"+c+" "+f),s+=" L"+c+" "+f,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 yc(t,e,r){var n=Ll(t,["a:pathLst"]),a=Ll(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="",c=Ll(a,["a:moveTo"]),f=a["a:lnTo"],h=a["a:cubicBezTo"],d=a["a:arcTo"],p=Ll(a,["a:close"]);Array.isArray(c)||(c=[c]);var g=[];if(c.length>0){if(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:"movto",x:n,y:a,order:i})}))})),f&&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:"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,C=Ll(d,["a:pt","attrs"]);C&&(x=C.x,S=C.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 A=0;A<g.length;){if("movto"===g[A].type)l+=" M"+parseInt(g[A].x)*s+","+parseInt(g[A].y)*u;else if("lnto"===g[A].type){l+=" L"+parseInt(g[A].x)*s+","+parseInt(g[A].y)*u}else if("cubicBezTo"===g[A].type){l+=" C"+parseInt(g[A].cubBzPt[0].x)*s+","+parseInt(g[A].cubBzPt[0].y)*u+" "+parseInt(g[A].cubBzPt[1].x)*s+","+parseInt(g[A].cubBzPt[1].y)*u+" "+parseInt(g[A].cubBzPt[2].x)*s+","+parseInt(g[A].cubBzPt[2].y)*u}else if("arcTo"===g[A].type){var E=parseInt(g[A].hR)*s,R=parseInt(g[A].wR)*u,O=parseInt(g[A].stAng)/6e4;l+=vc(R,E,R,E,O,O+parseInt(g[A].swAng)/6e4,!1)}else"close"===g[A].type&&(l+="z");A++}}return l}function wc(t,e){var r={};if(t["a:bottom"]){var n=Nl({"p:spPr":{"a:ln":t["a:bottom"]["a:ln"]}},void 0,e);r.bottom=n}if(t["a:top"]){var a=Nl({"p:spPr":{"a:ln":t["a:top"]["a:ln"]}},void 0,e);r.top=a}if(t["a:right"]){var i=Nl({"p:spPr":{"a:ln":t["a:right"]["a:ln"]}},void 0,e);r.right=i}if(t["a:left"]){var o=Nl({"p:spPr":{"a:ln":t["a:left"]["a:ln"]}},void 0,e);r.left=o}return r}function _c(t,e,r,n){return kc.apply(this,arguments)}function kc(){return(kc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=Ll(e,["attrs","rowSpan"]),o=Ll(e,["attrs","gridSpan"]),s=Ll(e,["attrs","vMerge"]),u=Ll(e,["attrs","hMerge"]),!(d=Ll(e,["a:tcPr"]))){t.next=11;break}return p={"p:spPr":d},t.next=9,Ql(p,void 0,a);case 9:(g=t.sent)&&"color"===g.type&&g.value&&(c=g.value);case 11:return c||(n&&(b=Ll(r,[n,"a:tcStyle","a:fill","a:solidFill"])),b&&(c=ec(b,void 0,void 0,a))),n&&(m=Ll(r,[n,"a:tcTxStyle"])),m&&(f=ec(m,void 0,void 0,a),"on"===Ll(m,["attrs","b"])&&(h=!0)),t.abrupt("return",{fillColor:c,fontColor:f,fontBold:h,rowSpan:i?+i:void 0,colSpan:o?+o:void 0,vMerge:s?+s:void 0,hMerge:u?+u:void 0});case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xc(t,e,r,n,a){var i,o,s;if(n&&n["a:wholeTbl"]){var u=Ll(n,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(u){var l=ec(u,void 0,void 0,a);l&&(i=l)}var c=Ll(n,["a:wholeTbl","a:tcTxStyle"]);if(c){var f=ec(c,void 0,void 0,a);f&&(o=f),"on"===Ll(c,["attrs","b"])&&(s=!0)}}if(0===e&&1===r.isFrstRowAttr&&n){var h=Ll(n,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(h){var d=ec(h,void 0,void 0,a);d&&(i=d)}var p=Ll(n,["a:firstRow","a:tcTxStyle"]);if(p){var g=ec(p,void 0,void 0,a);g&&(o=g),"on"===Ll(p,["attrs","b"])&&(s=!0)}}else if(e>0&&1===r.isBandRowAttr&&n){if(i="",e%2==0&&n["a:band2H"]){var b=Ll(n,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(b){var m=ec(b,void 0,void 0,a);m&&(i=m)}var v=Ll(n,["a:band2H","a:tcTxStyle"]);if(v){var y=ec(v,void 0,void 0,a);y&&(o=y)}"on"===Ll(v,["attrs","b"])&&(s=!0)}if(e%2!=0&&n["a:band1H"]){var w=Ll(n,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(w){var _=ec(w,void 0,void 0,a);_&&(i=_)}var k=Ll(n,["a:band1H","a:tcTxStyle"]);if(k){var x=ec(k,void 0,void 0,a);x&&(o=x),"on"===Ll(k,["attrs","b"])&&(s=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&n){var S=Ll(n,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(S){var C=ec(S,void 0,void 0,a);C&&(i=C)}var A=Ll(n,["a:lastRow","a:tcTxStyle"]);if(A){var E=ec(A,void 0,void 0,a);E&&(o=E),"on"===Ll(A,["attrs","b"])&&(s=!0)}}return{fillColor:i,fontColor:o,fontBold:s}}function Sc(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 Cc(t){return function(t){if(Array.isArray(t))return Sc(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 Sc(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)?Sc(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 Ac(t){var e=[];return"object"!==Iu(t)||(t["m:oMath"]&&(e=e.concat(t["m:oMath"])),Object.values(t).forEach((function(t){(Array.isArray(t)||"object"===Iu(t))&&(e=e.concat(Ac(t)))}))),e}function Ec(t,e){var r=Rc(t["m:e"]),n=Rc(t["m:lim"]);return"low"===e?"".concat(r,"_{").concat(n,"}"):"".concat(r,"^{").concat(n,"}")}function Rc(t){if(!t)return"";if(Array.isArray(t))return t.map((function(t){return Rc(t)})).join("");for(var e=[],r=Object.keys(t),n=function(){var r=i[a];Array.isArray(t[r])?e.push.apply(e,Cc(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,c,f,h,d,p,g,b,m,v=t.key,y=t.value;return"m:f"===v?(r=Rc((e=y)["m:num"]),n=Rc(e["m:den"]),"\\frac{".concat(r,"}{").concat(n,"}")):"m:sSup"===v?(i=Rc((a=y)["m:e"]),o=Rc(a["m:sup"]),"".concat(i,"^{").concat(o,"}")):"m:sSub"===v?function(t){var e=Rc(t["m:e"]),r=Rc(t["m:sub"]);return"".concat(e,"_{").concat(r,"}")}(y):"m:rad"===v?(u=Rc((s=y)["m:deg"]),l=Rc(s["m:e"]),u?"\\sqrt[".concat(u,"]{").concat(l,"}"):"\\sqrt{".concat(l,"}")):"m:nary"===v?function(t){var e=Ll(t,["m:naryPr","m:chr","attrs","m:val"])||"∫",r=Rc(t["m:sub"]),n=Rc(t["m:sup"]),a=Rc(t["m:e"]);return"".concat(e,"_{").concat(r,"}^{").concat(n,"}{").concat(a,"}")}(y):"m:limLow"===v?Ec(y,"low"):"m:limUpp"===v?Ec(y,"upp"):"m:d"===v?function(t){var e=Ll(t,["m:dPr","m:begChr","attrs","m:val"]),r=Ll(t,["m:dPr","m:endChr","attrs","m:val"]);e||r||(e="(",r=")"),e&&r&&(e="\\left".concat(e),r="\\right".concat(r));var n=Rc(t["m:e"]);return"".concat(e).concat(n).concat(r)}(y):"m:func"===v?(f=Rc((c=y)["m:fName"]),h=Rc(c["m:e"]),"\\".concat(f,"{").concat(h,"}")):"m:groupChr"===v?(p=Ll(d=y,["m:groupChrPr","m:chr","attrs","m:val"]),g=Rc(d["m:e"]),"".concat(p).concat(g).concat(p)):"m:eqArr"===v?(b=y["m:e"].map((function(t){return Rc(t)})).join(" \\\\ "),"\\begin{cases} ".concat(b," \\end{cases}")):"m:bar"===v?function(t){var e=Rc(t["m:e"]);return"top"===Ll(t,["m:barPr","m:pos","attrs","m:val"])?"\\overline{".concat(e,"}"):"\\underline{".concat(e,"}")}(y):"m:acc"===v?function(t){var e=Ll(t,["m:accPr","m:chr","attrs","m:val"])||"^",r=Rc(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=Rc(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 Rc(t)})).join(" & ")})),"\\begin{matrix} ".concat(m.join(" \\\\ ")," \\end{matrix}")):"m:r"===v?Rc(y):"m:t"===v?y:""})).join("")}function Oc(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 Tc(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?Oc(Object(n),!0).forEach((function(r){e(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pc(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 Lc(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 Lc(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 Lc(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 Mc(){return(Mc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],t.next=3,Mu.loadAsync(e);case 3:return n=t.sent,t.next=6,Ic(n);case 6:return a=t.sent,t.next=9,Dc(n);case 9:return i=t.sent,o=i.width,s=i.height,u=i.defaultTextStyle,t.next=15,zc(n);case 15:c=t.sent,f=c.themeContent,h=c.themeColors,d=Pc(a.slides),t.prev=19,d.s();case 21:if((p=d.n()).done){t.next=29;break}return g=p.value,t.next=25,Nc(n,g,f,u);case 25:b=t.sent,r.push(b);case 27:t.next=21;break;case 29:t.next=34;break;case 31:t.prev=31,t.t0=t.catch(19),d.e(t.t0);case 34:return t.prev=34,d.f(),t.finish(34);case 37:return t.abrupt("return",{slides:r,themeColors:h,size:{width:o,height:s}});case 38:case"end":return t.stop()}}),t,null,[[19,31,34,37]])})))).apply(this,arguments)}function Ic(t){return Bc.apply(this,arguments)}function Bc(){return(Bc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(e,"[Content_Types].xml");case 2:r=t.sent,n=r.Types.Override,a=[],i=[],o=Pc(n),t.prev=7,o.s();case 9:if((s=o.n()).done){t.next=20;break}u=s.value,t.t0=u.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(u.attrs.PartName.substr(1)),t.abrupt("break",18);case 16:return i.push(u.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 c=function(t,e){return+/(\d+)\.xml/.exec(t)[1]-+/(\d+)\.xml/.exec(e)[1]},a=a.sort(c),i=i.sort(c),t.abrupt("return",{slides:a,slideLayouts:i});case 32:case"end":return t.stop()}}),t,null,[[7,22,25,28]])})))).apply(this,arguments)}function Dc(t){return jc.apply(this,arguments)}function jc(){return(jc=n(l.mark((function t(e){var r,n,a;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(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)*lc,height:parseInt(n.cy)*lc,defaultTextStyle:a});case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function zc(t){return Fc.apply(this,arguments)}function Fc(){return Fc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Zu(e,"ppt/_rels/presentation.xml.rels");case 2:if(r=t.sent,(n=r.Relationships.Relationship).constructor!==Array){t.next=25;break}i=Pc(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:return t.next=28,Zu(e,"ppt/"+a);case 28:if(u=t.sent,c=[],!(f=Ll(u,["a:theme","a:themeElements","a:clrScheme"]))){t.next=41;break}h=1;case 33:if(!(h<=6)){t.next=41;break}if(void 0!==f["a:accent".concat(h)]){t.next=36;break}return t.abrupt("break",41);case 36:(d=Ll(f,["a:accent".concat(h),"a:srgbClr","attrs","val"]))&&c.push("#"+d);case 38:h++,t.next=33;break;case 41:return t.abrupt("return",{themeContent:u,themeColors:c});case 42:case"end":return t.stop()}}),t,null,[[6,17,20,23]])}))),Fc.apply(this,arguments)}function Nc(t,e,r,n){return Uc.apply(this,arguments)}function Uc(){return Uc=n(l.mark((function t(e,r,n,a){var i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W,Z,q,Y,G,V,K,X,$,J,Q,tt,et,rt,nt,at,it,ot,st,ut,lt,ct;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=r.replace("slides/slide","slides/_rels/slide")+".rels",t.next=3,Zu(e,i);case 3:o=t.sent,(s=o.Relationships.Relationship).constructor!==Array&&(s=[s]),u="",c="",f="",h="",d="",p={},g={},b={},m={},v={},y=Pc(s),t.prev=17,y.s();case 19:if((w=y.n()).done){t.next=34;break}_=w.value,t.t0=_.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"===t.t0?24:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/notesSlide"===t.t0?26:"http://schemas.microsoft.com/office/2007/relationships/diagramDrawing"===t.t0?28:("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"===t.t0||"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"===t.t0||t.t0,31);break;case 24:return c=_.attrs.Target.replace("../","ppt/"),t.abrupt("break",32);case 26:return u=_.attrs.Target.replace("../","ppt/"),t.abrupt("break",32);case 28:return d=_.attrs.Target.replace("../","ppt/"),p[_.attrs.Id]={type:_.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:_.attrs.Target.replace("../","ppt/")},t.abrupt("break",32);case 31:p[_.attrs.Id]={type:_.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:_.attrs.Target.replace("../","ppt/")};case 32:t.next=19;break;case 34:t.next=39;break;case 36:t.prev=36,t.t1=t.catch(17),y.e(t.t1);case 39:return t.prev=39,y.f(),t.finish(39);case 42:return t.next=44,Zu(e,u);case 44:return k=t.sent,x=Hc(k),t.next=48,Zu(e,c);case 48:return S=t.sent,t.next=51,qc(S);case 51:return C=t.sent,A=c.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",t.next=55,Zu(e,A);case 55:E=t.sent,(s=E.Relationships.Relationship).constructor!==Array&&(s=[s]),R=Pc(s),t.prev=59,R.s();case 61:if((O=R.n()).done){t.next=71;break}T=O.value,t.t2=T.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"===t.t2?66:68;break;case 66:return f=T.attrs.Target.replace("../","ppt/"),t.abrupt("break",69);case 68:g[T.attrs.Id]={type:T.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:T.attrs.Target.replace("../","ppt/")};case 69:t.next=61;break;case 71:t.next=76;break;case 73:t.prev=73,t.t3=t.catch(59),R.e(t.t3);case 76:return t.prev=76,R.f(),t.finish(76);case 79:return t.next=81,Zu(e,f);case 81:return P=t.sent,L=Ll(P,["p:sldMaster","p:txStyles"]),M=qc(P),I=f.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",t.next=87,Zu(e,I);case 87:B=t.sent,(s=B.Relationships.Relationship).constructor!==Array&&(s=[s]),D=Pc(s),t.prev=91,D.s();case 93:if((j=D.n()).done){t.next=103;break}z=j.value,t.t4=z.attrs.Type,t.next="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.t4?98:100;break;case 98:return h=z.attrs.Target.replace("../","ppt/"),t.abrupt("break",101);case 100:b[z.attrs.Id]={type:z.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:z.attrs.Target.replace("../","ppt/")};case 101:t.next=93;break;case 103:t.next=108;break;case 105:t.prev=105,t.t5=t.catch(91),D.e(t.t5);case 108:return t.prev=108,D.f(),t.finish(108);case 111:if(!h){t.next=118;break}return F=h.split("/").pop(),N=h.replace(F,"_rels/"+F)+".rels",t.next=116,Zu(e,N);case 116:if((U=t.sent)&&(s=U.Relationships.Relationship)){s.constructor!==Array&&(s=[s]),H=Pc(s);try{for(H.s();!(W=H.n()).done;)Z=W.value,m[Z.attrs.Id]={type:Z.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:Z.attrs.Target.replace("../","ppt/")}}catch(t){H.e(t)}finally{H.f()}}case 118:if(q={},!d){t.next=130;break}return Y=d.split("/").pop(),G=d.replace(Y,"_rels/"+Y)+".rels",t.next=124,Zu(e,d);case 124:return(q=t.sent)&&(V=JSON.stringify(q).replace(/dsp:/g,"p:"),q=JSON.parse(V)),t.next=128,Zu(e,G);case 128:if(K=t.sent){(s=K.Relationships.Relationship).constructor!==Array&&(s=[s]),X=Pc(s);try{for(X.s();!($=X.n()).done;)J=$.value,v[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()}}case 130:return t.next=132,Zu(e,"ppt/tableStyles.xml");case 132:return Q=t.sent,t.next=135,Zu(e,r);case 135:return tt=t.sent,et=tt["p:sld"]["p:cSld"]["p:spTree"],rt={zip:e,slideLayoutContent:S,slideLayoutTables:C,slideMasterContent:P,slideMasterTables:M,slideContent:tt,tableStyles:Q,slideResObj:p,slideMasterTextStyles:L,layoutResObj:g,masterResObj:b,themeContent:n,themeResObj:m,digramFileContent:q,diagramResObj:v,defaultTextStyle:a},t.next=140,Wc(rt);case 140:return nt=t.sent,t.next=143,$l(rt);case 143:at=t.sent,it=[],t.t6=l.keys(et);case 146:if((t.t7=t.t6()).done){t.next=170;break}ot=t.t7.value,et[ot].constructor!==Array&&(et[ot]=[et[ot]]),st=Pc(et[ot]),t.prev=150,st.s();case 152:if((ut=st.n()).done){t.next=160;break}return lt=ut.value,t.next=156,Yc(ot,lt,rt,"slide");case 156:(ct=t.sent)&&it.push(ct);case 158:t.next=152;break;case 160:t.next=165;break;case 162:t.prev=162,t.t8=t.catch(150),st.e(t.t8);case 165:return t.prev=165,st.f(),t.finish(165);case 168:t.next=146;break;case 170:return t.abrupt("return",{fill:at,elements:it,layoutElements:nt,note:x});case 171:case"end":return t.stop()}}),t,null,[[17,36,39,42],[59,73,76,79],[91,105,108,111],[150,162,165,168]])}))),Uc.apply(this,arguments)}function Hc(t){var e="",r=Ll(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";r.constructor!==Array&&(r=[r]);var n,a=Pc(r);try{for(a.s();!(n=a.n()).done;){var i=Ll(n.value,["p:txBody","a:p","a:r"]);if(i){i.constructor!==Array&&(i=[i]);var o,s=Pc(i);try{for(s.s();!(o=s.n()).done;){var u=Ll(o.value,["a:t"]);u&&"string"==typeof u&&(e+=u)}}catch(t){s.e(t)}finally{s.f()}}}}catch(t){a.e(t)}finally{a.f()}return e}function Wc(t){return Zc.apply(this,arguments)}function Zc(){return Zc=n(l.mark((function t(e){var r,n,a,i,o,s,u,c,f,h,d,p,g,b;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=[],n=e.slideLayoutContent,a=e.slideMasterContent,i=Ll(n,["p:sldLayout","p:cSld","p:spTree"]),o=Ll(a,["p:sldMaster","p:cSld","p:spTree"]),s=Ll(n,["p:sldLayout","attrs","showMasterSp"]),!i){t.next=32;break}t.t0=l.keys(i);case 8:if((t.t1=t.t0()).done){t.next=32;break}if(u=t.t1.value,i[u].constructor!==Array){t.next=24;break}c=0;case 12:if(!(c<i[u].length)){t.next=22;break}if(Ll(i[u][c],["p:nvSpPr","p:nvPr","p:ph"])){t.next=19;break}return t.next=17,Yc(u,i[u][c],e,"slideLayoutBg");case 17:(f=t.sent)&&r.push(f);case 19:c++,t.next=12;break;case 22:t.next=30;break;case 24:if(Ll(i[u],["p:nvSpPr","p:nvPr","p:ph"])){t.next=30;break}return t.next=28,Yc(u,i[u],e,"slideLayoutBg");case 28:(h=t.sent)&&r.push(h);case 30:t.next=8;break;case 32:if(!o||"0"===s){t.next=58;break}t.t2=l.keys(o);case 34:if((t.t3=t.t2()).done){t.next=58;break}if(d=t.t3.value,o[d].constructor!==Array){t.next=50;break}p=0;case 38:if(!(p<o[d].length)){t.next=48;break}if(Ll(o[d][p],["p:nvSpPr","p:nvPr","p:ph"])){t.next=45;break}return t.next=43,Yc(d,o[d][p],e,"slideMasterBg");case 43:(g=t.sent)&&r.push(g);case 45:p++,t.next=38;break;case 48:t.next=56;break;case 50:if(Ll(o[d],["p:nvSpPr","p:nvPr","p:ph"])){t.next=56;break}return t.next=54,Yc(d,o[d],e,"slideMasterBg");case 54:(b=t.sent)&&r.push(b);case 56:t.next=34;break;case 58:return t.abrupt("return",r);case 59:case"end":return t.stop()}}),t)}))),Zc.apply(this,arguments)}function qc(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=Pc(o);try{for(u.s();!(s=u.n()).done;){var l=s.value,c=l["p:nvSpPr"],f=Ll(c,["p:cNvPr","attrs","id"]),h=Ll(c,["p:nvPr","p:ph","attrs","idx"]),d=Ll(c,["p:nvPr","p:ph","attrs","type"]);f&&(r[f]=l),h&&(n[h]=l),d&&(a[d]=l)}}catch(t){u.e(t)}finally{u.f()}}else{var p=o["p:nvSpPr"],g=Ll(p,["p:cNvPr","attrs","id"]),b=Ll(p,["p:nvPr","p:ph","attrs","idx"]),m=Ll(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 Yc(t,e,r,n){return Gc.apply(this,arguments)}function Gc(){return(Gc=n(l.mark((function t(e,r,n,a){var i;return l.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?7:"p:pic"===t.t0?11:"p:graphicFrame"===t.t0?15:"p:grpSp"===t.t0?19:"mc:AlternateContent"===t.t0?23:31;break;case 3:return t.next=5,$c(r,n,a);case 5:return i=t.sent,t.abrupt("break",31);case 7:return t.next=9,Qc(r,n,a);case 9:return i=t.sent,t.abrupt("break",31);case 11:return t.next=13,nf(r,n,a);case 13:return i=t.sent,t.abrupt("break",31);case 15:return t.next=17,of(r,n,a);case 17:return i=t.sent,t.abrupt("break",31);case 19:return t.next=21,Kc(r,n,a);case 21:return i=t.sent,t.abrupt("break",31);case 23:if(!Ll(r,["mc:Fallback","p:grpSpPr","a:xfrm"])){t.next=29;break}return t.next=26,Kc(Ll(r,["mc:Fallback"]),n,a);case 26:i=t.sent,t.next=30;break;case 29:Ll(r,["mc:Choice"])&&(i=Vc(Ll(r,["mc:Choice"])));case 30:return t.abrupt("break",31);case 31:return t.abrupt("return",i);case 32:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function Vc(t){var e=t.attrs.order,r=Ll(t,["p:sp","p:spPr","a:xfrm"]),n=cc(r,void 0,void 0),a=n.top,i=n.left,o=fc(r,void 0,void 0);return{type:"math",top:a,left:i,width:o.width,height:o.height,latex:function(t){return t.replaceAll(/</g,"<").replaceAll(/>/g,">").replaceAll(/&/g,"&").replaceAll(/'/g,"'").replaceAll(/"/g,'"')}(Rc(Ac(t)[0])),order:e}}function Kc(t,e,r){return Xc.apply(this,arguments)}function Xc(){return Xc=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e.attrs.order,i=Ll(e,["p:grpSpPr","a:xfrm"])){t.next=4;break}return t.abrupt("return",null);case 4:o=parseInt(i["a:off"].attrs.x)*lc,s=parseInt(i["a:off"].attrs.y)*lc,u=parseInt(i["a:chOff"].attrs.x)*lc,c=parseInt(i["a:chOff"].attrs.y)*lc,f=parseInt(i["a:ext"].attrs.cx)*lc,h=parseInt(i["a:ext"].attrs.cy)*lc,d=parseInt(i["a:chExt"].attrs.cx)*lc,p=parseInt(i["a:chExt"].attrs.cy)*lc,(g=Ll(i,["attrs","rot"])||0)&&(g=Ml(g)),b=f/d,m=h/p,v=[],t.t0=l.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=Pc(e[y]),t.prev=22,w.s();case 24:if((_=w.n()).done){t.next=32;break}return k=_.value,t.next=28,Yc(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,Yc(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:f,height:h,rotate:g,order:a,elements:v.map((function(t){return Tc(Tc({},t),{},{left:(t.left-u)*b,top:(t.top-c)*m,width:t.width*b,height:t.height*m})}))});case 49:case"end":return t.stop()}}),t,null,[[22,34,37,40]])}))),Xc.apply(this,arguments)}function $c(t,e,r){return Jc.apply(this,arguments)}function Jc(){return Jc=n(l.mark((function t(e,r,n){var a,i,o,s,u,c;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Ll(e,["p:nvSpPr","p:cNvPr","attrs","name"]),i=Ll(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),o=Ll(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),s=Ll(e,["attrs","order"]),o?(u=r.slideLayoutTables.typeTable[o],c=r.slideMasterTables.typeTable[o]):i&&(u=r.slideLayoutTables.idxTable[i],c=r.slideMasterTables.idxTable[i]),o||"1"===Ll(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])&&(o="text"),o||(o=Ll(u,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),o||(o=Ll(c,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),o||(o="diagramBg"===n?"diagram":"obj"),t.next=11,ef(e,u,c,a,o,s,r,n);case 11:return t.abrupt("return",t.sent);case 12:case"end":return t.stop()}}),t)}))),Jc.apply(this,arguments)}function Qc(t,e,r){return tf.apply(this,arguments)}function tf(){return tf=n(l.mark((function t(e,r,n){var a,i,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,i=void 0===e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,o=e.attrs.order,t.next=5,ef(e,void 0,void 0,a,i,o,r,n);case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t)}))),tf.apply(this,arguments)}function ef(t,e,r,n,a,i,o,s){return rf.apply(this,arguments)}function rf(){return rf=n(l.mark((function t(e,r,n,a,i,o,s,u){var c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f=Ll(e,c=["p:spPr","a:xfrm"]),h=Ll(r,c),d=Ll(n,c),p=Ll(e,["p:spPr","a:prstGeom","attrs","prst"]),g=Ll(e,["p:spPr","a:custGeom"]),b=cc(f,h,d),m=b.top,v=b.left,y=fc(f,h,d),w=y.width,_=y.height,k="1"===Ll(f,["attrs","flipV"]),x="1"===Ll(f,["attrs","flipH"]),S=Ml(Ll(f,["attrs","rot"])),(C=Ll(e,["p:txXfrm"]))?(E=Ll(C,["attrs","rot"]))&&(A=Ml(E)+90):A=S,R="",e["p:txBody"]&&(R=gc(e["p:txBody"],e,r,i,s)),O=Nl(e,i,s),T=O.borderColor,P=O.borderWidth,L=O.borderType,M=O.strokeDasharray,t.next=18,Ql(e,void 0,s,u);case 18:if(t.t0=t.sent,t.t0){t.next=21;break}t.t0="";case 21:if(I=t.t0,(D=Ll(e,["p:spPr","a:effectLst","a:outerShdw"]))&&(B=hc(D,s)),j=uc(e,r,n),z="eaVert"===Ll(e,["p:txBody","a:bodyPr","attrs","vert"]),F={left:v,top:m,width:w,height:_,borderColor:T,borderWidth:P,borderType:L,borderStrokeDasharray:M,fill:I,content:R,isFlipV:k,isFlipH:x,rotate:S,vAlign:j,name:a,order:o},B&&(F.shadow=B),!g||"diagram"===i){t.next=35;break}return N=Ll(f,["a:ext","attrs"]),U=parseInt(N.cx)*lc,H=parseInt(N.cy)*lc,W=yc(g,U,H),F.content&&!zl(F.content)&&(F.content=""),t.abrupt("return",Tc(Tc({},F),{},{type:"shape",shapType:"custom",path:W}));case 35:if(!p||"obj"!==i&&i){t.next=38;break}return F.content&&!zl(F.content)&&(F.content=""),t.abrupt("return",Tc(Tc({},F),{},{type:"shape",shapType:p}));case 38:return t.abrupt("return",Tc(Tc({},F),{},{type:"text",isVertical:z,rotate:A}));case 39:case"end":return t.stop()}}),t)}))),rf.apply(this,arguments)}function nf(t,e,r){return af.apply(this,arguments)}function af(){return af=n(l.mark((function t(e,r,n){var a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A,E,R,O,T,P,L,M,I,B,D,j,z;return l.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,u=Tl(s).toLowerCase(),c=r.zip,t.next=8,c.file(s).async("arraybuffer");case 8:if(f=t.sent,h=e["p:spPr"]["a:xfrm"],d=Bl(u),p=cc(h,void 0,void 0),g=p.top,b=p.left,m=fc(h,void 0,void 0),v=m.width,y=m.height,w="data:".concat(d,";base64,").concat(Ol(f)),_="1"===Ll(h,["attrs","flipV"]),k="1"===Ll(h,["attrs","flipH"]),x=0,(S=Ll(e,["p:spPr","a:xfrm","attrs","rot"]))&&(x=Ml(S)),C=Ll(e,["p:nvPicPr","p:nvPr","a:videoFile"]),L=!1,!C){t.next=36;break}if(A=C.attrs["r:link"],!Dl(E=a[A].target)){t.next=29;break}E=Il(E),L=!0,t.next=36;break;case 29:if("mp4"!==(R=Tl(E).toLowerCase())&&"webm"!==R&&"ogg"!==R){t.next=36;break}return t.next=33,c.file(E).async("arraybuffer");case 33:T=t.sent,O=Bl(R),P=URL.createObjectURL(new Blob([T],{type:O}));case 36:if(!(M=Ll(e,["p:nvPicPr","p:nvPr","a:audioFile"]))){t.next=46;break}if(I=M.attrs["r:link"],B=a[I].target,"mp3"!==(D=Tl(B).toLowerCase())&&"wav"!==D&&"ogg"!==D){t.next=46;break}return t.next=44,c.file(B).async("arraybuffer");case 44:j=t.sent,z=URL.createObjectURL(new Blob([j]));case 46:if(!C||L){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(!C||!L){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(!M){t.next=52;break}return t.abrupt("return",{type:"audio",top:g,left:b,width:v,height:y,rotate:x,blob:z,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)}))),af.apply(this,arguments)}function of(t,e,r){return sf.apply(this,arguments)}function sf(){return sf=n(l.mark((function t(e,r,n){var a,i,o;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=Ll(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?8:"http://schemas.openxmlformats.org/drawingml/2006/diagram"===t.t0?12:"http://schemas.openxmlformats.org/presentationml/2006/ole"===t.t0?16:23;break;case 4:return t.next=6,uf(e,r);case 6:return i=t.sent,t.abrupt("break",23);case 8:return t.next=10,cf(e,r);case 10:return i=t.sent,t.abrupt("break",23);case 12:return t.next=14,hf(e,r);case 14:return i=t.sent,t.abrupt("break",23);case 16:if((o=Ll(e,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]))||(o=Ll(e,["a:graphic","a:graphicData","p:oleObj"])),!o){t.next=22;break}return t.next=21,Kc(o,r,n);case 21:i=t.sent;case 22:return t.abrupt("break",23);case 23:return t.abrupt("return",i);case 24:case"end":return t.stop()}}),t)}))),sf.apply(this,arguments)}function uf(t,e){return lf.apply(this,arguments)}function lf(){return lf=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m,v,y,w,_,k,x,S,C,A,E,R,O,T,P,L,M,I,B,D,j,z,F,N,U,H,W,Z,q,Y,G,V,K,X;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.attrs.order,a=Ll(e,["a:graphic","a:graphicData","a:tbl"]),i=Ll(e,["p:xfrm"]),o=cc(i,void 0,void 0),s=o.top,u=o.left,c=fc(i,void 0,void 0),f=c.width,h=c.height,d=Ll(e,["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},(k=d["a:tableStyleId"])&&(x=r.tableStyles["a:tblStyleLst"]["a:tblStyle"]))if(x.constructor===Array)for(S=0;S<x.length;S++)x[S].attrs.styleId===k&&(_=x[S]);else x.attrs.styleId===k&&(_=x);_&&(_.tblStylAttrObj=w),A=Ll(_,["a:wholeTbl","a:tcStyle"]),(E=Ll(A,["a:tcBdr"]))&&(R=wc(E,r))&&(C=R.bottom||R.left||R.right||R.top),O="",(T=Ll(_,["a:tblBg","a:fillRef"]))&&(O=ec(T,void 0,void 0,r)),void 0===T&&(T=Ll(_,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),O=ec(T,void 0,void 0,r)),(P=a["a:tr"]).constructor!==Array&&(P=[P]),L=[],M=0;case 27:if(!(M<P.length)){t.next=77;break}if(I=P[M],B=xc(P,M,w,_,r),D=B.fillColor,j=B.fontColor,z=B.fontBold,F=I["a:tc"],N=[],F.constructor!==Array){t.next=57;break}U=0;case 34:if(!(U<F.length)){t.next=55;break}return H=F[U],W=void 0,0===U&&1===w.isFrstColAttr?(W="a:firstCol",1===w.isLstRowAttr&&M===P.length-1&&Ll(_,["a:seCell"])?W="a:seCell":1===w.isFrstRowAttr&&0===M&&Ll(_,["a:neCell"])&&(W="a:neCell")):!(U>0&&1===w.isBandColAttr)||1===w.isFrstColAttr&&0===M||1===w.isLstRowAttr&&M===P.length-1||U===F.length-1||U%2!=0&&(void 0===Ll(_,["a:band2V"])?Ll(_,["a:band1V"])&&(W="a:band2V"):W="a:band2V"),U===F.length-1&&1===w.isLstColAttr&&(W="a:lastCol",1===w.isLstRowAttr&&M===P.length-1&&Ll(_,["a:swCell"])?W="a:swCell":1===w.isFrstRowAttr&&0===M&&Ll(_,["a:nwCell"])&&(W="a:nwCell")),Z=gc(H["a:txBody"],H,void 0,void 0,r),t.next=42,_c(H,_,W,r);case 42:q=t.sent,Y={text:Z},q.rowSpan&&(Y.rowSpan=q.rowSpan),q.colSpan&&(Y.colSpan=q.colSpan),q.vMerge&&(Y.vMerge=q.vMerge),q.hMerge&&(Y.hMerge=q.hMerge),(q.fontBold||z)&&(Y.fontBold=q.fontBold||z),(q.fontColor||j)&&(Y.fontColor=q.fontColor||j),(q.fillColor||D||O)&&(Y.fillColor=q.fillColor||D||O),N.push(Y);case 52:U++,t.next=34;break;case 55:t.next=73;break;case 57:return G=void 0,1===w.isFrstColAttr&&1!==w.isLstRowAttr?G="a:firstCol":1===w.isBandColAttr&&1!==w.isLstRowAttr&&(Ll(_,["a:band2V"])||Ll(_,["a:band1V"]))&&(G="a:band2V"),1===w.isLstColAttr&&1!==w.isLstRowAttr&&(G="a:lastCol"),V=gc(F["a:txBody"],F,void 0,void 0,r),t.next=63,_c(F,_,G,r);case 63:K=t.sent,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||z)&&(X.fontBold=K.fontBold||z),(K.fontColor||j)&&(X.fontColor=K.fontColor||j),(K.fillColor||D||O)&&(X.fillColor=K.fillColor||D||O),N.push(X);case 73:L.push(N);case 74:M++,t.next=27;break;case 77:return t.abrupt("return",Tc({type:"table",top:s,left:u,width:f,height:h,data:L,order:n},C||{}));case 78:case"end":return t.stop()}}),t)}))),lf.apply(this,arguments)}function cf(t,e){return ff.apply(this,arguments)}function ff(){return ff=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.attrs.order,a=Ll(e,["p:xfrm"]),i=cc(a,void 0,void 0),o=i.top,s=i.left,u=fc(a,void 0,void 0),c=u.width,f=u.height,h=e["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],(d=Ll(r.slideResObj,[h,"target"]))||(d=Ll(r.layoutResObj,[h,"target"])),d||(d=Ll(r.masterResObj,[h,"target"])),d){t.next=10;break}return t.abrupt("return",{});case 10:return t.next=12,Zu(r.zip,d);case 12:if(p=t.sent,g=Ll(p,["c:chartSpace","c:chart","c:plotArea"]),b=oc(g,r)){t.next=17;break}return t.abrupt("return",{});case 17:return m={type:"chart",top:o,left:s,width:c,height:f,data:b.data,colors:b.colors,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 24:case"end":return t.stop()}}),t)}))),ff.apply(this,arguments)}function hf(t,e){return df.apply(this,arguments)}function df(){return df=n(l.mark((function t(e,r){var n,a,i,o,s,u,c,f,h,d,p,g,b,m;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.attrs.order,a=Ll(e,["p:xfrm"]),i=cc(a,void 0,void 0),o=i.left,s=i.top,u=fc(a,void 0,void 0),c=u.width,f=u.height,h=Ll(r.digramFileContent,["p:drawing","p:spTree","p:sp"]),d=[],!h){t.next=26;break}p=Pc(h),t.prev=8,p.s();case 10:if((g=p.n()).done){t.next=18;break}return b=g.value,t.next=14,$c(b,r,"diagramBg");case 14:(m=t.sent)&&d.push(m);case 16:t.next=10;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(8),p.e(t.t0);case 23:return t.prev=23,p.f(),t.finish(23);case 26:return t.abrupt("return",{type:"diagram",left:o,top:s,width:c,height:f,elements:d,order:n});case 27:case"end":return t.stop()}}),t,null,[[8,20,23,26]])}))),df.apply(this,arguments)}t.parse=function(t){return Mc.apply(this,arguments)}}));
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|