代码拉取完成,页面将自动刷新
同步操作将从 mengshukeji/LuckyexcelDemo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
!function a(o,s,l){function u(t,e){if(!s[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(f)return f(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var i=s[t]={exports:{}};o[t][0].call(i.exports,function(e){return u(o[t][1][e]||e)},i,i.exports,a,o,s,l)}return s[t].exports}for(var f="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(e,t,r){"use strict";r.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},r.toByteArray=function(e){var t,r,n=c(e),i=n[0],a=n[1],o=new f(function(e,t){return 3*(e+t)/4-t}(i,a)),s=0,l=0<a?i-4:i;for(r=0;r<l;r+=4)t=u[e.charCodeAt(r)]<<18|u[e.charCodeAt(r+1)]<<12|u[e.charCodeAt(r+2)]<<6|u[e.charCodeAt(r+3)],o[s++]=t>>16&255,o[s++]=t>>8&255,o[s++]=255&t;2===a&&(t=u[e.charCodeAt(r)]<<2|u[e.charCodeAt(r+1)]>>4,o[s++]=255&t);1===a&&(t=u[e.charCodeAt(r)]<<10|u[e.charCodeAt(r+1)]<<4|u[e.charCodeAt(r+2)]>>2,o[s++]=t>>8&255,o[s++]=255&t);return o},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i=[],a=0,o=r-n;a<o;a+=16383)i.push(function(e,t,r){for(var n,i=[],a=t;a<r;a+=3)n=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(function(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(n));return i.join("")}(e,a,o<a+16383?o:a+16383));1==n?(t=e[r-1],i.push(s[t>>2]+s[t<<4&63]+"==")):2==n&&(t=(e[r-2]<<8)+e[r-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return i.join("")};for(var s=[],u=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=n.length;i<a;++i)s[i]=n[i],u[n.charCodeAt(i)]=i;function c(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}u["-".charCodeAt(0)]=62,u["_".charCodeAt(0)]=63},{}],2:[function(e,t,r){},{}],3:[function(e,t,O){(function(c){"use strict";var s=e("base64-js"),a=e("ieee754");O.Buffer=c,O.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},O.INSPECT_MAX_BYTES=50;var r=2147483647;function o(e){if(r<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=c.prototype,t}function c(e,t,r){if("number"!=typeof e)return n(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return i(e)}function n(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|h(e,t),n=o(r),i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return u(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r);return n.__proto__=c.prototype,n}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return c.from(n,t,r);var i=function(e){if(c.isBuffer(e)){var t=0|f(e.length),r=o(t);return 0===r.length?r:(e.copy(r,0,0,t),r)}if(void 0!==e.length)return"number"!=typeof e.length||A(e.length)?o(0):u(e);if("Buffer"===e.type&&Array.isArray(e.data))return u(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function i(e){return l(e),o(e<0?0:0|f(e))}function u(e){for(var t=e.length<0?0:0|f(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e){if(r<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return x(e).length;default:if(i)return n?-1:T(e).length;t=(""+t).toLowerCase(),i=!0}}function t(e,t,r){var n,i,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0);(!r||r<0||n<r)&&(r=n);for(var i="",a=t;a<r;++a)i+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[a]);return i}(this,t,r);case"utf8":case"utf-8":return _(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return n=this,a=r,0===(i=t)&&a===n.length?s.fromByteArray(n):s.fromByteArray(n.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function d(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),A(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=c.from(t,n)),c.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,n,i){var a=1,o=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o/=a=2,s/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i)for(var u=-1,f=r;f<o;f++)if(l(e,f)===l(t,-1===u?0:f-u)){if(-1===u&&(u=f),f-u+1===s)return u*a}else-1!==u&&(f-=f-u),u=-1;else for(o<r+s&&(r=o-s),f=r;0<=f;f--){for(var c=!0,h=0;h<s;h++)if(l(e,f+h)!==l(t,h)){c=!1;break}if(c)return f}return-1}function g(e,t,r,n){return R(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function y(e,t,r,n){return R(function(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function _(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,l,u=e[i],f=null,c=239<u?4:223<u?3:191<u?2:1;if(i+c<=r)switch(c){case 1:u<128&&(f=u);break;case 2:128==(192&(a=e[i+1]))&&127<(l=(31&u)<<6|63&a)&&(f=l);break;case 3:a=e[i+1],o=e[i+2],128==(192&a)&&128==(192&o)&&2047<(l=(15&u)<<12|(63&a)<<6|63&o)&&(l<55296||57343<l)&&(f=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&65535<(l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)&&l<1114112&&(f=l)}null===f?(f=65533,c=1):65535<f&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=c}return function(e){var t=e.length;if(t<=b)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=b));return r}(n)}O.kMaxLength=r,(c.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),c.poolSize=8192,c.from=n,c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,c.alloc=function(e,t,r){return i=t,a=r,l(n=e),n<=0||void 0===i?o(n):"string"==typeof a?o(n).fill(i,a):o(n).fill(i);var n,i,a},c.allocUnsafe=i,c.allocUnsafeSlow=i,c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===t)for(i=t=0;i<e.length;++i)t+=e[i].length;for(var r=c.allocUnsafe(t),n=0,i=0;i<e.length;++i){var a=e[i];if(L(a,Uint8Array)&&(a=c.from(a)),!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,n),n+=a.length}return r},c.byteLength=h,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)d(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)d(this,t,t+3),d(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)d(this,t,t+7),d(this,t+1,t+6),d(this,t+2,t+5),d(this,t+3,t+4);return this},c.prototype.toLocaleString=c.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?_(this,0,e):t.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",t=O.INSPECT_MAX_BYTES,e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim();return this.length>t&&(e+=" ... "),"<Buffer "+e+">"},c.prototype.compare=function(e,t,r,n,i){if(L(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(i<=n&&r<=t)return 0;if(i<=n)return-1;if(r<=t)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(n,i),u=e.slice(t,r),f=0;f<s;++f)if(l[f]!==u[f]){a=l[f],o=u[f];break}return a<o?-1:o<a?1:0},c.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},c.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},c.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},c.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||i<r)&&(r=i),0<e.length&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var a,o,s,l,u,f,c=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;(!n||i<(n=Number(n)))&&(n=i);var a=t.length;a/2<n&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(A(s))return o;e[r+o]=s}return o}(this,e,t,r);case"utf8":case"utf-8":return u=t,f=r,R(T(e,(l=this).length-u),l,u,f);case"ascii":return g(this,e,t,r);case"latin1":case"binary":return g(this,e,t,r);case"base64":return a=this,o=t,s=r,R(x(e),a,o,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,r);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function v(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(i<t||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function E(e,t,r,n){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function S(e,t,r,n,i){return t=+t,r>>>=0,i||E(e,0,r,4),a.write(e,t,r,n,23,4),r+4}function C(e,t,r,n,i){return t=+t,r>>>=0,i||E(e,0,r,8),a.write(e,t,r,n,52,8),r+8}c.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):r<e&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):r<t&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return n.__proto__=c.prototype,n},c.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},c.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;0<t&&(i*=256);)n+=this[e+--t]*i;return n},c.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return(i*=128)<=n&&(n-=Math.pow(2,8*t)),n},c.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,a=this[e+--n];0<n&&(i*=256);)a+=this[e+--n]*i;return(i*=128)<=a&&(a-=Math.pow(2,8*t)),a},c.prototype.readInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),a.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),a.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),a.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),a.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||w(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},c.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||w(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;0<=--i&&(a*=256);)this[t+i]=e/a&255;return t+r},c.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeIntLE=function(e,t,r,n){var i;e=+e,t>>>=0,n||w(this,e,t,r,(i=Math.pow(2,8*r-1))-1,-i);var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeIntBE=function(e,t,r,n){var i;e=+e,t>>>=0,n||w(this,e,t,r,(i=Math.pow(2,8*r-1))-1,-i);var a=r-1,o=1,s=0;for(this[t+a]=255&e;0<=--a&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},c.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},c.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},c.prototype.writeDoubleLE=function(e,t,r){return C(this,e,t,!0,r)},c.prototype.writeDoubleBE=function(e,t,r){return C(this,e,t,!1,r)},c.prototype.copy=function(e,t,r,n){if(!c.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r=r||0,n||0===n||(n=this.length),t>=e.length&&(t=e.length),t=t||0,0<n&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;0<=a;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},c.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var i;1===e.length&&(i=e.charCodeAt(0),("utf8"===n&&i<128||"latin1"===n)&&(e=i))}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(e=e||0))for(a=t;a<r;++a)this[a]=e;else{var o=c.isBuffer(e)?e:c.from(e,n),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this};var k=/[^+/0-9A-Za-z-_]/g;function T(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],o=0;o<n;++o){if(55295<(r=e.charCodeAt(o))&&r<57344){if(!i){if(56319<r){-1<(t-=3)&&a.push(239,191,189);continue}if(o+1===n){-1<(t-=3)&&a.push(239,191,189);continue}i=r;continue}if(r<56320){-1<(t-=3)&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&-1<(t-=3)&&a.push(239,191,189);if(i=null,r<128){if(--t<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function x(e){return s.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function A(e){return e!=e}}).call(this,e("buffer").Buffer)},{"base64-js":1,buffer:3,ieee754:6}],4:[function(e,t,r){(function(e){function t(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===t(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===t(e)},r.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":9}],5:[function(e,t,r){var l=Object.create||function(e){function t(){}return t.prototype=e,new t},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return r},a=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function n(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=l(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}((t.exports=n).EventEmitter=n).prototype._events=void 0,n.prototype._maxListeners=void 0;var i,s=10;try{var u={};Object.defineProperty&&Object.defineProperty(u,"x",{value:0}),i=0===u.x}catch(e){i=!1}function f(e){return void 0===e._maxListeners?n.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var i,a,o,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');return(i=e._events)?(i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]):(i=e._events=l(null),e._eventsCount=0),a?("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),a.warned||(s=f(e))&&0<s&&a.length>s&&(a.warned=!0,(o=new Error("Possible EventEmitter memory leak detected. "+a.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.')).name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",o.name,o.message))):(a=i[t]=r,++e._eventsCount),e}function h(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=a.call(h,n);return i.listener=r,n.wrapFn=i}function p(e,t,r){var n=e._events;if(!n)return[];var i=n[t];return i?"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):g(i,i.length):[]}function m(e){var t=this._events;if(t){var r=t[e];if("function"==typeof r)return 1;if(r)return r.length}return 0}function g(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}i?Object.defineProperty(n,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');s=e}}):n.defaultMaxListeners=s,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},n.prototype.getMaxListeners=function(){return f(this)},n.prototype.emit=function(e,t,r,n){var i,a,o,s,l="error"===e,u=this._events;if(u)l=l&&null==u.error;else if(!l)return!1;if(l){if(1<arguments.length&&(i=t),i instanceof Error)throw i;var f=new Error('Unhandled "error" event. ('+i+")");throw f.context=i,f}if(!(a=u[e]))return!1;var c,h="function"==typeof a;switch(c=arguments.length){case 1:!function(e,t,r){if(t)e.call(r);else for(var n=e.length,i=g(e,n),a=0;a<n;++a)i[a].call(r)}(a,h,this);break;case 2:!function(e,t,r,n){if(t)e.call(r,n);else for(var i=e.length,a=g(e,i),o=0;o<i;++o)a[o].call(r,n)}(a,h,this,t);break;case 3:!function(e,t,r,n,i){if(t)e.call(r,n,i);else for(var a=e.length,o=g(e,a),s=0;s<a;++s)o[s].call(r,n,i)}(a,h,this,t,r);break;case 4:!function(e,t,r,n,i,a){if(t)e.call(r,n,i,a);else for(var o=e.length,s=g(e,o),l=0;l<o;++l)s[l].call(r,n,i,a)}(a,h,this,t,r,n);break;default:for(o=new Array(c-1),s=1;s<c;s++)o[s-1]=arguments[s];!function(e,t,r,n){if(t)e.apply(r,n);else for(var i=e.length,a=g(e,i),o=0;o<i;++o)a[o].apply(r,n)}(a,h,this,o)}return!0},n.prototype.on=n.prototype.addListener=function(e,t){return c(this,e,t,!1)},n.prototype.prependListener=function(e,t){return c(this,e,t,!0)},n.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,d(this,e,t)),this},n.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,d(this,e,t)),this},n.prototype.removeListener=function(e,t){var r,n,i,a,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=l(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,a=r.length-1;0<=a;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),n.removeListener&&this.emit("removeListener",e,o||t)}return this},n.prototype.removeAllListeners=function(e){var t,r=this._events;if(!r)return this;if(!r.removeListener)return 0===arguments.length?(this._events=l(null),this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=l(null):delete r[e]),this;if(0===arguments.length){for(var n,i=o(r),a=0;a<i.length;++a)"removeListener"!==(n=i[a])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=l(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(t)for(a=t.length-1;0<=a;a--)this.removeListener(e,t[a]);return this},n.prototype.listeners=function(e){return p(this,e,!0)},n.prototype.rawListeners=function(e){return p(this,e,!1)},n.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},n.prototype.listenerCount=m,n.prototype.eventNames=function(){return 0<this._eventsCount?Reflect.ownKeys(this._events):[]}},{}],6:[function(e,t,r){r.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,u=l>>1,f=-7,c=r?i-1:0,h=r?-1:1,d=e[t+c];for(c+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;0<f;a=256*a+e[t+c],c+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;0<f;o=256*o+e[t+c],c+=h,f-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=u}return(d?-1:1)*o*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,f=(1<<u)-1,c=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=f):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),2<=(t+=1<=o+c?h/l:h*Math.pow(2,1-c))*l&&(o++,l/=2),f<=o+c?(s=0,o=f):1<=o+c?(s=(t*l-1)*Math.pow(2,i),o+=c):(s=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));8<=i;e[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<<i|s,u+=i;0<u;e[r+d]=255&o,d+=p,o/=256,u-=8);e[r+d-p]|=128*m}},{}],7:[function(e,f,t){(function(t){"use strict";var e,r,n,i,a,o=t.MutationObserver||t.WebKitMutationObserver,s=o?(e=0,r=new o(u),n=t.document.createTextNode(""),r.observe(n,{characterData:!0}),function(){n.data=e=++e%2}):t.setImmediate||void 0===t.MessageChannel?"document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)}:((i=new t.MessageChannel).port1.onmessage=u,function(){i.port2.postMessage(0)}),l=[];function u(){var e,t;a=!0;for(var r=l.length;r;){for(t=l,l=[],e=-1;++e<r;)t[e]();r=l.length}a=!1}f.exports=function(e){1!==l.push(e)||a||s()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],8:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){var r;t&&(e.super_=t,(r=function(){}).prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e)}},{}],9:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}t.exports=function(e){return null!=e&&(n(e)||"function"==typeof(t=e).readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))||!!e._isBuffer);var t}},{}],10:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],11:[function(e,t,r){"use strict";var d=e("./utils"),c=e("./support"),p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,n,i,a,o,s,l,u=[],f=0,c=e.length,h="string"!==d.getTypeOf(e);f<e.length;)l=c-f,n=h?(t=e[f++],r=f<c?e[f++]:0,f<c?e[f++]:0):(t=e.charCodeAt(f++),r=f<c?e.charCodeAt(f++):0,f<c?e.charCodeAt(f++):0),i=t>>2,a=(3&t)<<4|r>>4,o=1<l?(15&r)<<2|n>>6:64,s=2<l?63&n:64,u.push(p.charAt(i)+p.charAt(a)+p.charAt(o)+p.charAt(s));return u.join("")},r.decode=function(e){var t,r,n,i,a,o,s=0,l=0;if("data:"===e.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var u,f=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===p.charAt(64)&&f--,e.charAt(e.length-2)===p.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=new(c.uint8array?Uint8Array:Array)(0|f);s<e.length;)t=p.indexOf(e.charAt(s++))<<2|(i=p.indexOf(e.charAt(s++)))>>4,r=(15&i)<<4|(a=p.indexOf(e.charAt(s++)))>>2,n=(3&a)<<6|(o=p.indexOf(e.charAt(s++))),u[l++]=t,64!==a&&(u[l++]=r),64!==o&&(u[l++]=n);return u}},{"./support":40,"./utils":42}],12:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/DataLengthProbe"),o=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new o).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":16,"./stream/Crc32Probe":35,"./stream/DataLengthProbe":36,"./stream/DataWorker":37}],13:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(e){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":17,"./stream/GenericWorker":38}],14:[function(e,t,r){"use strict";var n=e("./utils");var s=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?("string"!==n.getTypeOf(e)?function(e,t,r,n){var i=s,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}:function(e,t,r,n){var i=s,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t.charCodeAt(o))];return-1^e})(0|t,e,e.length,0):0}},{"./utils":42}],15:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],16:[function(e,t,r){"use strict";var n=null,n="undefined"!=typeof Promise?Promise:e("lie");t.exports={Promise:n}},{lie:46}],17:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=n?"uint8array":"array";function l(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",a.inherits(l,o),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},l.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":38,"./utils":42,pako:47}],18:[function(e,t,r){"use strict";function A(e,t){for(var r="",n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,r,n,i,a){var o,s,l,u,f=e.file,c=e.compression,h=a!==I.utf8encode,d=O.transformTo("string",a(f.name)),p=O.transformTo("string",I.utf8encode(f.name)),m=f.comment,g=O.transformTo("string",a(m)),y=O.transformTo("string",I.utf8encode(m)),_=p.length!==f.name.length,b=y.length!==m.length,v="",w=f.dir,E=f.date,S={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(S.crc32=e.crc32,S.compressedSize=e.compressedSize,S.uncompressedSize=e.uncompressedSize);var C=0;t&&(C|=8),h||!_&&!b||(C|=2048);var k,T,x=0,R=0;w&&(x|=16),"UNIX"===i?(R=798,x|=(k=f.unixPermissions,T=w,(65535&(k||(T?16893:33204)))<<16)):(R=20,x|=63&(f.dosPermissions||0)),o=E.getUTCHours(),o<<=6,o|=E.getUTCMinutes(),o<<=5,o|=E.getUTCSeconds()/2,s=E.getUTCFullYear()-1980,s<<=4,s|=E.getUTCMonth()+1,s<<=5,s|=E.getUTCDate(),_&&(l=A(1,1)+A(F(d),4)+p,v+="up"+A(l.length,2)+l),b&&(u=A(1,1)+A(F(g),4)+y,v+="uc"+A(u.length,2)+u);var L="";return L+="\n\0",L+=A(C,2),L+=c.magic,L+=A(o,2),L+=A(s,2),L+=A(S.crc32,4),L+=A(S.compressedSize,4),L+=A(S.uncompressedSize,4),L+=A(d.length,2),L+=A(v.length,2),{fileRecord:M.LOCAL_FILE_HEADER+L+d+v,dirRecord:M.CENTRAL_FILE_HEADER+A(R,2)+L+A(g.length,2)+"\0\0\0\0"+A(x,4)+A(n,4)+d+v+g}}var O=e("../utils"),a=e("../stream/GenericWorker"),I=e("../utf8"),F=e("../crc32"),M=e("../signature");function n(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}O.inherits(n,a),n.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t,r=this.streamFiles&&!e.file.dir;r?(t=i(e,r,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:t.fileRecord,meta:{percent:0}})):this.accumulate=!0},n.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,n=i(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(t=e,M.DATA_DESCRIPTOR+A(t.crc32,4)+A(t.compressedSize,4)+A(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r,n,i,a,o,s,l=this.bytesWritten-e,u=(r=this.dirRecords.length,n=l,i=e,a=this.zipComment,o=this.encodeFileName,s=O.transformTo("string",o(a)),M.CENTRAL_DIRECTORY_END+"\0\0\0\0"+A(r,2)+A(r,2)+A(n,4)+A(i,4)+A(s.length,2)+s);this.push({data:u,meta:{percent:100}})},n.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},n.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},n.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},n.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},n.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=n},{"../crc32":14,"../signature":33,"../stream/GenericWorker":38,"../utf8":41,"../utils":42}],19:[function(e,t,r){"use strict";var u=e("../compressions"),n=e("./ZipFileWorker");r.generateWorker=function(e,o,t){var s=new n(o.streamFiles,t,o.platform,o.encodeFileName),l=0;try{e.forEach(function(e,t){l++;var r=function(e,t){var r=e||t,n=u[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(t.options.compression,o.compression),n=t.options.compressionOptions||o.compressionOptions||{},i=t.dir,a=t.date;t._compressWorker(r,n).withStreamInfo("file",{name:e,dir:i,date:a,comment:t.comment||"",unixPermissions:t.unixPermissions,dosPermissions:t.dosPermissions}).pipe(s)}),s.entriesCount=l}catch(e){s.error(e)}return s}},{"../compressions":13,"./ZipFileWorker":18}],20:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.5.0",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":15,"./external":16,"./load":21,"./object":25,"./support":40}],21:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./external"),s=e("./utf8"),n=e("./utils"),l=e("./zipEntries"),u=e("./stream/Crc32Probe"),f=e("./nodejsUtils");t.exports=function(e,a){var o=this;return a=n.extend(a||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),f.isNode&&f.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,a.optimizedBinaryString,a.base64).then(function(e){var t=new l(a);return t.load(e),t}).then(function(e){var t=[i.Promise.resolve(e)],r=e.files;if(a.checkCRC32)for(var n=0;n<r.length;n++)t.push(function(n){return new i.Promise(function(e,t){var r=n.decompressed.getContentWorker().pipe(new u);r.on("error",function(e){t(e)}).on("end",function(){r.streamInfo.crc32!==n.decompressed.crc32?t(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}(r[n]));return i.Promise.all(t)}).then(function(e){for(var t=e.shift(),r=t.files,n=0;n<r.length;n++){var i=r[n];o.file(i.fileNameStr,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileCommentStr.length?i.fileCommentStr:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:a.createFolders})}return t.zipComment.length&&(o.comment=t.zipComment),o})}},{"./external":16,"./nodejsUtils":24,"./stream/Crc32Probe":35,"./utf8":41,"./utils":42,"./zipEntries":43}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../stream/GenericWorker");function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":38,"../utils":42}],23:[function(e,t,r){"use strict";var i=e("readable-stream").Readable;function n(e,t,r){i.call(this,t),this._helper=e;var n=this;e.on("data",function(e,t){n.push(e)||n._helper.pause(),r&&r(t)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}e("../utils").inherits(n,i),n.prototype._read=function(){this._helper.resume()},t.exports=n},{"../utils":42,"readable-stream":26}],24:[function(e,t,r){(function(r){"use strict";t.exports={isNode:void 0!==r,newBufferFrom:function(e,t){if(r.from&&r.from!==Uint8Array.from)return r.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new r(e,t)},allocBuffer:function(e){if(r.alloc)return r.alloc(e);var t=new r(e);return t.fill(0),t},isBuffer:function(e){return r.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}}).call(this,e("buffer").Buffer)},{buffer:3}],25:[function(e,t,r){"use strict";function a(e,t,r){var n,i=u.getTypeOf(t),a=u.extend(r||{},c);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(e=y(e)),a.createFolders&&(n=g(e))&&_.call(this,n,!0);var o="string"===i&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!o),(t instanceof h&&0===t.uncompressedSize||a.dir||!t||0===t.length)&&(a.base64=!1,a.binary=!0,t="",a.compression="STORE");var s=null,s=t instanceof h||t instanceof f?t:p.isNode&&p.isStream(t)?new m(e,t):u.prepareContent(e,t,a.binary,a.optimizedBinaryString,a.base64),l=new d(e,s,a);this.files[e]=l}var i=e("./utf8"),u=e("./utils"),f=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),c=e("./defaults"),h=e("./compressedObject"),d=e("./zipObject"),s=e("./generate"),p=e("./nodejsUtils"),m=e("./nodejs/NodejsStreamInputAdapter"),g=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},y=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},_=function(e,t){return t=void 0!==t?t:c.createFolders,e=y(e),this.files[e]||a.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function l(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var n={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n))},filter:function(r){var n=[];return this.forEach(function(e,t){r(e,t)&&n.push(t)}),n},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,a.call(this,e,t,r),this;if(l(e)){var n=e;return this.filter(function(e,t){return!t.dir&&n.test(e)})}var i=this.files[this.root+e];return i&&!i.dir?i:null},folder:function(r){if(!r)return this;if(l(r))return this.filter(function(e,t){return t.dir&&r.test(e)});var e=this.root+r,t=_.call(this,e),n=this.clone();return n.root=t.name,n},remove:function(r){r=this.root+r;var e=this.files[r];if(e||("/"!==r.slice(-1)&&(r+="/"),e=this.files[r]),e&&!e.dir)delete this.files[r];else for(var t=this.filter(function(e,t){return t.name.slice(0,r.length)===r}),n=0;n<t.length;n++)delete this.files[t[n].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t={};try{if((t=u.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=t.type.toLowerCase(),t.compression=t.compression.toUpperCase(),"binarystring"===t.type&&(t.type="string"),!t.type)throw new Error("No output type specified.");u.checkSupport(t.type),"darwin"!==t.platform&&"freebsd"!==t.platform&&"linux"!==t.platform&&"sunos"!==t.platform||(t.platform="UNIX"),"win32"===t.platform&&(t.platform="DOS");var r=t.comment||this.comment||"",n=s.generateWorker(this,t,r)}catch(e){(n=new f("error")).error(e)}return new o(n,t.type||"string",t.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=n},{"./compressedObject":12,"./defaults":15,"./generate":19,"./nodejs/NodejsStreamInputAdapter":22,"./nodejsUtils":24,"./stream/GenericWorker":38,"./stream/StreamHelper":39,"./utf8":41,"./utils":42,"./zipObject":45}],26:[function(e,t,r){t.exports=e("stream")},{stream:80}],27:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":42,"./DataReader":28}],28:[function(e,t,r){"use strict";var n=e("../utils");function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":42}],29:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":42,"./Uint8ArrayReader":31}],30:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":42,"./DataReader":28}],31:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":42,"./ArrayReader":27}],32:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new l(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},{"../support":40,"../utils":42,"./ArrayReader":27,"./NodeBufferReader":29,"./StringReader":30,"./Uint8ArrayReader":31}],33:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],34:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":42,"./GenericWorker":38}],35:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":14,"../utils":42,"./GenericWorker":38}],36:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.prototype.processChunk=function(e){var t;e&&(t=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=t+e.data.length),i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":42,"./GenericWorker":38}],37:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":42,"./GenericWorker":38}],38:[function(e,t,r){"use strict";function n(e){this.name=e||"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}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),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;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},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 e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],39:[function(s,c,e){(function(l){"use strict";var u=s("../utils"),i=s("./ConvertWorker"),a=s("./GenericWorker"),f=s("../base64"),e=s("../support"),t=s("../external"),r=null;if(e.nodestream)try{r=s("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function n(e,s){return new t.Promise(function(t,r){var n=[],i=e._internalType,a=e._outputType,o=e._mimeType;e.on("data",function(e,t){n.push(e),s&&s(t)}).on("error",function(e){n=[],r(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return u.newBlob(u.transformTo("arraybuffer",t),r);case"base64":return f.encode(t);default:return u.transformTo(e,t)}}(a,function(e,t){for(var r=0,n=null,i=0,a=0;a<t.length;a++)i+=t[a].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(n=new Uint8Array(i),a=0;a<t.length;a++)n.set(t[a],r),r+=t[a].length;return n;case"nodebuffer":return l.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(i,n),o);t(e)}catch(e){r(e)}n=[]}).resume()})}function o(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,u.checkSupport(n),this._worker=e.pipe(new i(n)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}o.prototype={accumulate:function(e){return n(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,function(e){t.call(r,e.data,e.meta)}):this._worker.on(e,function(){u.delay(t,arguments,r)}),this},resume:function(){return u.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(u.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new r(this,{objectMode:"nodebuffer"!==this._outputType},e)}},c.exports=o}).call(this,s("buffer").Buffer)},{"../base64":11,"../external":16,"../nodejs/NodejsStreamOutputAdapter":23,"../support":40,"../utils":42,"./ConvertWorker":34,"./GenericWorker":38,buffer:3}],40:[function(n,e,i){(function(e){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer=void 0!==e,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var t=new ArrayBuffer(0);try{i.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);r.append(t),i.blob=0===r.getBlob("application/zip").size}catch(e){i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch(e){i.nodestream=!1}}).call(this,n("buffer").Buffer)},{buffer:3,"readable-stream":26}],41:[function(e,t,a){"use strict";for(var s=e("./utils"),l=e("./support"),r=e("./nodejsUtils"),n=e("./stream/GenericWorker"),u=new Array(256),i=0;i<256;i++)u[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;u[254]=u[254]=1;function o(){n.call(this,"utf-8 decode"),this.leftOver=null}function f(){n.call(this,"utf-8 encode")}a.utf8encode=function(e){return l.nodebuffer?r.newBufferFrom(e,"utf-8"):function(e){for(var t,r,n,i,a=e.length,o=0,s=0;s<a;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),o+=r<128?1:r<2048?2:r<65536?3:4;for(t=new(l.uint8array?Uint8Array:Array)(o),s=i=0;i<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t}(e)},a.utf8decode=function(e){return l.nodebuffer?s.transformTo("nodebuffer",e).toString("utf-8"):function(e){for(var t,r,n=e.length,i=new Array(2*n),a=0,o=0;o<n;)if((t=e[o++])<128)i[a++]=t;else if(4<(r=u[t]))i[a++]=65533,o+=r-1;else{for(t&=2===r?31:3===r?15:7;1<r&&o<n;)t=t<<6|63&e[o++],r--;1<r?i[a++]=65533:t<65536?i[a++]=t:(t-=65536,i[a++]=55296|t>>10&1023,i[a++]=56320|1023&t)}return i.length!==a&&(i.subarray?i=i.subarray(0,a):i.length=a),s.applyFromCharCode(i)}(e=s.transformTo(l.uint8array?"uint8array":"array",e))},s.inherits(o,n),o.prototype.processChunk=function(e){var t,r=s.transformTo(l.uint8array?"uint8array":"array",e.data);this.leftOver&&this.leftOver.length&&(l.uint8array?(t=r,(r=new Uint8Array(t.length+this.leftOver.length)).set(this.leftOver,0),r.set(t,this.leftOver.length)):r=this.leftOver.concat(r),this.leftOver=null);var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return!(r<0)&&0!==r&&r+u[e[r]]>t?r:t}(r),i=r;n!==r.length&&(l.uint8array?(i=r.subarray(0,n),this.leftOver=r.subarray(n,r.length)):(i=r.slice(0,n),this.leftOver=r.slice(n,r.length))),this.push({data:a.utf8decode(i),meta:e.meta})},o.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:a.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},a.Utf8DecodeWorker=o,s.inherits(f,n),f.prototype.processChunk=function(e){this.push({data:a.utf8encode(e.data),meta:e.meta})},a.Utf8EncodeWorker=f},{"./nodejsUtils":24,"./stream/GenericWorker":38,"./support":40,"./utils":42}],42:[function(e,t,s){"use strict";var l=e("./support"),u=e("./base64"),r=e("./nodejsUtils"),n=e("set-immediate-shim"),f=e("./external");function i(e){return e}function c(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}s.newBlob=function(t,r){s.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var a={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&1===String.fromCharCode.apply(null,r.allocBuffer(1)).length}catch(e){return!1}}()}};function o(e){var t=65536,r=s.getTypeOf(e),n=!0;if("uint8array"===r?n=a.applyCanBeUsed.uint8array:"nodebuffer"===r&&(n=a.applyCanBeUsed.nodebuffer),n)for(;1<t;)try{return a.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return a.stringifyByChar(e)}function h(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}s.applyFromCharCode=o;var d={};d.string={string:i,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,r.allocBuffer(e.length))}},d.array={string:o,array:i,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(e)}},d.arraybuffer={string:function(e){return o(new Uint8Array(e))},array:function(e){return h(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:i,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:o,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:i,nodebuffer:function(e){return r.newBufferFrom(e)}},d.nodebuffer={string:o,array:function(e){return h(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return h(e,new Uint8Array(e.length))},nodebuffer:i},s.transformTo=function(e,t){if(t=t||"",!e)return t;s.checkSupport(e);var r=s.getTypeOf(t);return d[r][e](t)},s.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":l.nodebuffer&&r.isBuffer(e)?"nodebuffer":l.uint8array&&e instanceof Uint8Array?"uint8array":l.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},s.checkSupport=function(e){if(!l[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},s.MAX_VALUE_16BITS=65535,s.MAX_VALUE_32BITS=-1,s.pretty=function(e){for(var t,r="",n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},s.delay=function(e,t,r){n(function(){e.apply(r||null,t||[])})},s.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},s.extend=function(){for(var e,t={},r=0;r<arguments.length;r++)for(e in arguments[r])arguments[r].hasOwnProperty(e)&&void 0===t[e]&&(t[e]=arguments[r][e]);return t},s.prepareContent=function(n,e,i,a,o){return f.Promise.resolve(e).then(function(n){return l.blob&&(n instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(n)))&&"undefined"!=typeof FileReader?new f.Promise(function(t,r){var e=new FileReader;e.onload=function(e){t(e.target.result)},e.onerror=function(e){r(e.target.error)},e.readAsArrayBuffer(n)}):n}).then(function(e){var t,r=s.getTypeOf(e);return r?("arraybuffer"===r?e=s.transformTo("uint8array",e):"string"===r&&(o?e=u.decode(e):i&&!0!==a&&(e=c(t=e,new(l.uint8array?Uint8Array:Array)(t.length)))),e):f.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":11,"./external":16,"./nodejsUtils":24,"./support":40,"set-immediate-shim":79}],43:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),i=e("./utils"),a=e("./signature"),o=e("./zipEntry"),s=(e("./utf8"),e("./support"));function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;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 e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);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 e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var e,t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);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 e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,a.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(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.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(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":32,"./signature":33,"./support":40,"./utf8":41,"./utils":42,"./zipEntry":44}],44:[function(e,t,r){"use strict";var n=e("./reader/readerFor"),a=e("./utils"),i=e("./compressedObject"),o=e("./crc32"),s=e("./utf8"),l=e("./compressions"),u=e("./support");function f(e,t){this.options=e,this.loadOptions=t}f.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.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(null===(t=function(e){for(var t in l)if(l.hasOwnProperty(t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){var t;this.extraFields[1]&&(t=n(this.extraFields[1].value),this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4)))},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e,t,r,n,i=u.uint8array?"uint8array":"array";this.useUTF8()?(this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment)):(null!==(e=this.findExtraFieldUnicodePath())?this.fileNameStr=e:(t=a.transformTo(i,this.fileName),this.fileNameStr=this.loadOptions.decodeFileName(t)),null!==(r=this.findExtraFieldUnicodeComment())?this.fileCommentStr=r:(n=a.transformTo(i,this.fileComment),this.fileCommentStr=this.loadOptions.decodeFileName(n)))},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)?null:o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)?null:o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=f},{"./compressedObject":12,"./compressions":13,"./crc32":14,"./reader/readerFor":32,"./support":40,"./utf8":41,"./utils":42}],45:[function(e,t,r){"use strict";function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var a=e("./stream/StreamHelper"),i=e("./stream/DataWorker"),o=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!i&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new a(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<u.length;c++)n.prototype[u[c]]=f;t.exports=n},{"./compressedObject":12,"./stream/DataWorker":37,"./stream/GenericWorker":38,"./stream/StreamHelper":39,"./utf8":41}],46:[function(e,t,r){"use strict";var i=e("immediate");function l(){}var u={},a=["REJECTED"],o=["FULFILLED"],n=["PENDING"];function s(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=n,this.queue=[],this.outcome=void 0,e!==l&&d(this,e)}function f(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,r,n){i(function(){var e;try{e=r(n)}catch(e){return u.reject(t,e)}e===t?u.reject(t,new TypeError("Cannot resolve promise with itself")):u.resolve(t,e)})}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(t,e){var r=!1;function n(e){r||(r=!0,u.reject(t,e))}function i(e){r||(r=!0,u.resolve(t,e))}var a=p(function(){e(i,n)});"error"===a.status&&n(a.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=s).prototype.finally=function(t){if("function"!=typeof t)return this;var r=this.constructor;return this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})})},s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(l);return this.state!==n?c(r,this.state===o?e:t,this.outcome):this.queue.push(new f(r,e,t)),r},f.prototype.callFulfilled=function(e){u.resolve(this.promise,e)},f.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},f.prototype.callRejected=function(e){u.reject(this.promise,e)},f.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},u.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return u.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=o,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},u.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},s.resolve=function(e){if(e instanceof this)return e;return u.resolve(new this(l),e)},s.reject=function(e){var t=new this(l);return u.reject(t,e)},s.all=function(e){var r=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,i=!1;if(!n)return this.resolve([]);var a=new Array(n),o=0,t=-1,s=new this(l);for(;++t<n;)!function(e,t){r.resolve(e).then(function(e){a[t]=e,++o!==n||i||(i=!0,u.resolve(s,a))},function(e){i||(i=!0,u.reject(s,e))})}(e[t],t);return s},s.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);var i=-1,a=new this(l);for(;++i<r;)!function(e){t.resolve(e).then(function(e){n||(n=!0,u.resolve(a,e))},function(e){n||(n=!0,u.reject(a,e))})}(e[i]);return a}},{immediate:7}],47:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":48,"./lib/inflate":49,"./lib/utils/common":50,"./lib/zlib/constants":53}],48:[function(e,t,r){"use strict";var o=e("./zlib/deflate"),s=e("./utils/common"),l=e("./utils/strings"),i=e("./zlib/messages"),a=e("./zlib/zstream"),u=Object.prototype.toString,f=0,c=-1,h=0,d=8;function p(e){if(!(this instanceof p))return new p(e);this.options=s.assign({level:c,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},e||{});var t=this.options;if(t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0,(r=o.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy))!==f)throw new Error(i[r]);if(t.header&&o.deflateSetHeader(this.strm,t.header),t.dictionary){var r,n="string"==typeof t.dictionary?l.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary;if((r=o.deflateSetDictionary(this.strm,n))!==f)throw new Error(i[r]);this._dict_set=!0}}function n(e,t){var r=new p(t);if(r.push(e,!0),r.err)throw r.msg||i[r.err];return r.result}p.prototype.push=function(e,t){var r,n,i=this.strm,a=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=l.string2buf(e):"[object ArrayBuffer]"===u.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new s.Buf8(a),i.next_out=0,i.avail_out=a),1!==(r=o.deflate(i,n))&&r!==f)return this.onEnd(r),!(this.ended=!0);0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||("string"===this.options.to?this.onData(l.buf2binstring(s.shrinkBuf(i.output,i.next_out))):this.onData(s.shrinkBuf(i.output,i.next_out)))}while((0<i.avail_in||0===i.avail_out)&&1!==r);return 4===n?(r=o.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===f):2!==n||(this.onEnd(f),!(i.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===f&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=p,r.deflate=n,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,n(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,n(e,t)}},{"./utils/common":50,"./utils/strings":51,"./zlib/deflate":55,"./zlib/messages":60,"./zlib/zstream":62}],49:[function(e,t,r){"use strict";var c=e("./zlib/inflate"),h=e("./utils/common"),d=e("./utils/strings"),p=e("./zlib/constants"),n=e("./zlib/messages"),i=e("./zlib/zstream"),a=e("./zlib/gzheader"),m=Object.prototype.toString;function o(e){if(!(this instanceof o))return new o(e);this.options=h.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var r=c.inflateInit2(this.strm,t.windowBits);if(r!==p.Z_OK)throw new Error(n[r]);if(this.header=new a,c.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=d.string2buf(t.dictionary):"[object ArrayBuffer]"===m.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=c.inflateSetDictionary(this.strm,t.dictionary))!==p.Z_OK))throw new Error(n[r])}function s(e,t){var r=new o(t);if(r.push(e,!0),r.err)throw r.msg||n[r.err];return r.result}o.prototype.push=function(e,t){var r,n,i,a,o,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,f=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?p.Z_FINISH:p.Z_NO_FLUSH,"string"==typeof e?s.input=d.binstring2buf(e):"[object ArrayBuffer]"===m.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new h.Buf8(l),s.next_out=0,s.avail_out=l),(r=c.inflate(s,p.Z_NO_FLUSH))===p.Z_NEED_DICT&&u&&(r=c.inflateSetDictionary(this.strm,u)),r===p.Z_BUF_ERROR&&!0===f&&(r=p.Z_OK,f=!1),r!==p.Z_STREAM_END&&r!==p.Z_OK)return this.onEnd(r),!(this.ended=!0);s.next_out&&(0!==s.avail_out&&r!==p.Z_STREAM_END&&(0!==s.avail_in||n!==p.Z_FINISH&&n!==p.Z_SYNC_FLUSH)||("string"===this.options.to?(i=d.utf8border(s.output,s.next_out),a=s.next_out-i,o=d.buf2string(s.output,i),s.next_out=a,s.avail_out=l-a,a&&h.arraySet(s.output,s.output,i,a,0),this.onData(o)):this.onData(h.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(f=!0)}while((0<s.avail_in||0===s.avail_out)&&r!==p.Z_STREAM_END);return r===p.Z_STREAM_END&&(n=p.Z_FINISH),n===p.Z_FINISH?(r=c.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===p.Z_OK):n!==p.Z_SYNC_FLUSH||(this.onEnd(p.Z_OK),!(s.avail_out=0))},o.prototype.onData=function(e){this.chunks.push(e)},o.prototype.onEnd=function(e){e===p.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=h.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=o,r.inflate=s,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,s(e,t)},r.ungzip=s},{"./utils/common":50,"./utils/strings":51,"./zlib/constants":53,"./zlib/gzheader":56,"./zlib/inflate":58,"./zlib/messages":60,"./zlib/zstream":62}],50:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t,r,n=Array.prototype.slice.call(arguments,1);n.length;){var i=n.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var a in i)t=i,r=a,Object.prototype.hasOwnProperty.call(t,r)&&(e[a]=i[a])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){for(var t,r,n,i=0,a=0,o=e.length;a<o;a++)i+=e[a].length;for(n=new Uint8Array(i),a=t=0,o=e.length;a<o;a++)r=e[a],n.set(r,t),t+=r.length;return n}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],51:[function(e,t,r){"use strict";var l=e("./common"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var u=new l.Buf8(256),n=0;n<256;n++)u[n]=252<=n?6:248<=n?5:240<=n?4:224<=n?3:192<=n?2:1;function f(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,l.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}u[254]=u[254]=1,r.string2buf=function(e){for(var t,r,n,i,a=e.length,o=0,s=0;s<a;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),o+=r<128?1:r<2048?2:r<65536?3:4;for(t=new l.Buf8(o),s=i=0;i<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t},r.buf2binstring=function(e){return f(e,e.length)},r.binstring2buf=function(e){for(var t=new l.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){for(var r,n,i=t||e.length,a=new Array(2*i),o=0,s=0;s<i;)if((r=e[s++])<128)a[o++]=r;else if(4<(n=u[r]))a[o++]=65533,s+=n-1;else{for(r&=2===n?31:3===n?15:7;1<n&&s<i;)r=r<<6|63&e[s++],n--;1<n?a[o++]=65533:r<65536?a[o++]=r:(r-=65536,a[o++]=55296|r>>10&1023,a[o++]=56320|1023&r)}return f(a,o)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return!(r<0)&&0!==r&&r+u[e[r]]>t?r:t}},{"./common":50}],52:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(i=i+t[n++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],53:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],54:[function(e,t,r){"use strict";var s=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var i=s,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}},{}],55:[function(e,t,r){"use strict";var l,h=e("../utils/common"),u=e("./trees"),d=e("./adler32"),p=e("./crc32"),n=e("./messages"),f=0,c=4,m=0,g=-2,y=-1,_=4,i=2,b=8,v=9,a=286,o=30,s=19,w=2*a+1,E=15,S=3,C=258,k=C+S+1,T=42,x=113,R=1,L=2,A=3,O=4;function I(e,t){return e.msg=n[t],t}function F(e){return(e<<1)-(4<e?9:0)}function M(e){for(var t=e.length;0<=--t;)e[t]=0}function B(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(h.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function P(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,B(e.strm)}function D(e,t){e.pending_buf[e.pending++]=t}function N(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-k?e.strstart-(e.w_size-k):0,u=e.window,f=e.w_mask,c=e.prev,h=e.strstart+C,d=u[a+o-1],p=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(u[(r=t)+o]===p&&u[r+o-1]===d&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&a<h);if(n=C-(h-a),a=h-C,o<n){if(e.match_start=t,s<=(o=n))break;d=u[a+o-1],p=u[a+o]}}}while((t=c[t&f])>l&&0!=--i);return o<=e.lookahead?o:e.lookahead}function U(e){var t,r,n,i,a,o,s,l,u,f,c=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=c+(c-k)){for(h.arraySet(e.window,e.window,c,c,0),e.match_start-=c,e.strstart-=c,e.block_start-=c,t=r=e.hash_size;n=e.head[--t],e.head[t]=c<=n?n-c:0,--r;);for(t=r=c;n=e.prev[--t],e.prev[t]=c<=n?n-c:0,--r;);i+=c}if(0===e.strm.avail_in)break;if(o=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,f=void 0,f=o.avail_in,u<f&&(f=u),r=0===f?0:(o.avail_in-=f,h.arraySet(s,o.input,o.next_in,f,l),1===o.state.wrap?o.adler=d(o.adler,s,f,l):2===o.state.wrap&&(o.adler=p(o.adler,s,f,l)),o.next_in+=f,o.total_in+=f,f),e.lookahead+=r,e.lookahead+e.insert>=S)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+S-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<S)););}while(e.lookahead<k&&0!==e.strm.avail_in)}function j(e,t){for(var r,n;;){if(e.lookahead<k){if(U(e),e.lookahead<k&&t===f)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-k&&(e.match_length=z(e,r)),e.match_length>=S)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-S),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=S){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(P(e,!1),0===e.strm.avail_out))return R}return e.insert=e.strstart<S-1?e.strstart:S-1,t===c?(P(e,!0),0===e.strm.avail_out?A:O):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?R:L}function W(e,t){for(var r,n,i;;){if(e.lookahead<k){if(U(e),e.lookahead<k&&t===f)return R;if(0===e.lookahead)break}if(r=0,e.lookahead>=S&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=S-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-k&&(e.match_length=z(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===S&&4096<e.strstart-e.match_start)&&(e.match_length=S-1)),e.prev_length>=S&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-S,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-S),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+S-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=S-1,e.strstart++,n&&(P(e,!1),0===e.strm.avail_out))return R}else if(e.match_available){if((n=u._tr_tally(e,0,e.window[e.strstart-1]))&&P(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return R}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=u._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<S-1?e.strstart:S-1,t===c?(P(e,!0),0===e.strm.avail_out?A:O):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?R:L}function X(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function H(){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=b,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 h.Buf16(2*w),this.dyn_dtree=new h.Buf16(2*(2*o+1)),this.bl_tree=new h.Buf16(2*(2*s+1)),M(this.dyn_ltree),M(this.dyn_dtree),M(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new h.Buf16(E+1),this.heap=new h.Buf16(2*a+1),M(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new h.Buf16(2*a+1),M(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 Z(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=i,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?T:x,e.adler=2===t.wrap?0:1,t.last_flush=f,u._tr_init(t),m):I(e,g)}function G(e){var t,r=Z(e);return r===m&&((t=e.state).window_size=2*t.w_size,M(t.head),t.max_lazy_match=l[t.level].max_lazy,t.good_match=l[t.level].good_length,t.nice_match=l[t.level].nice_length,t.max_chain_length=l[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=S-1,t.match_available=0,t.ins_h=0),r}function Y(e,t,r,n,i,a){if(!e)return g;var o=1;if(t===y&&(t=6),n<0?(o=0,n=-n):15<n&&(o=2,n-=16),i<1||v<i||r!==b||n<8||15<n||t<0||9<t||a<0||_<a)return I(e,g);8===n&&(n=9);var s=new H;return(e.state=s).strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+S-1)/S),s.window=new h.Buf8(2*s.w_size),s.head=new h.Buf16(s.hash_size),s.prev=new h.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new h.Buf8(s.pending_buf_size),s.d_buf=+s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,G(e)}l=[new X(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(U(e),0===e.lookahead&&t===f)return R;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,P(e,!1),0===e.strm.avail_out))return R;if(e.strstart-e.block_start>=e.w_size-k&&(P(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?A:O):(e.strstart>e.block_start&&(P(e,!1),e.strm.avail_out),R)}),new X(4,4,8,4,j),new X(4,5,16,8,j),new X(4,6,32,32,j),new X(4,4,16,16,W),new X(8,16,32,32,W),new X(8,16,128,128,W),new X(8,32,128,256,W),new X(32,128,258,1024,W),new X(32,258,258,4096,W)],r.deflateInit=function(e,t){return Y(e,t,b,15,8,0)},r.deflateInit2=Y,r.deflateReset=G,r.deflateResetKeep=Z,r.deflateSetHeader=function(e,t){return!e||!e.state||2!==e.state.wrap?g:(e.state.gzhead=t,m)},r.deflate=function(e,t){var r,n,i,a,o;if(!e||!e.state||5<t||t<0)return e?I(e,g):g;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&t!==c)return I(e,0===e.avail_out?-5:g);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===T&&(2===n.wrap?(e.adler=0,D(n,31),D(n,139),D(n,8),n.gzhead?(D(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)),D(n,255&n.gzhead.time),D(n,n.gzhead.time>>8&255),D(n,n.gzhead.time>>16&255),D(n,n.gzhead.time>>24&255),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(D(n,255&n.gzhead.extra.length),D(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=p(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(D(n,0),D(n,0),D(n,0),D(n,0),D(n,0),D(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),D(n,3),n.status=x)):(o=b+(n.w_bits-8<<4)<<8,o|=(2<=n.strategy||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=x,N(n,o),0!==n.strstart&&(N(n,e.adler>>>16),N(n,65535&e.adler)),e.adler=1)),69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),B(e),i=n.pending,n.pending!==n.pending_buf_size));)D(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),B(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,D(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),B(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,D(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&B(e),n.pending+2<=n.pending_buf_size&&(D(n,255&e.adler),D(n,e.adler>>8&255),e.adler=0,n.status=x)):n.status=x),0!==n.pending){if(B(e),0===e.avail_out)return n.last_flush=-1,m}else if(0===e.avail_in&&F(t)<=F(r)&&t!==c)return I(e,-5);if(666===n.status&&0!==e.avail_in)return I(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==f&&666!==n.status){var s=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(U(e),0===e.lookahead)){if(t===f)return R;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(P(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?A:O):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?R:L}(n,t):3===n.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=C){if(U(e),e.lookahead<=C&&t===f)return R;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=S&&0<e.strstart&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+C;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=C-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=S?(r=u._tr_tally(e,1,e.match_length-S),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(P(e,!1),0===e.strm.avail_out))return R}return e.insert=0,t===c?(P(e,!0),0===e.strm.avail_out?A:O):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?R:L}(n,t):l[n.level].func(n,t);if(s!==A&&s!==O||(n.status=666),s===R||s===A)return 0===e.avail_out&&(n.last_flush=-1),m;if(s===L&&(1===t?u._tr_align(n):5!==t&&(u._tr_stored_block(n,0,0,!1),3===t&&(M(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),B(e),0===e.avail_out))return n.last_flush=-1,m}return t!==c?m:n.wrap<=0?1:(2===n.wrap?(D(n,255&e.adler),D(n,e.adler>>8&255),D(n,e.adler>>16&255),D(n,e.adler>>24&255),D(n,255&e.total_in),D(n,e.total_in>>8&255),D(n,e.total_in>>16&255),D(n,e.total_in>>24&255)):(N(n,e.adler>>>16),N(n,65535&e.adler)),B(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?m:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==T&&69!==t&&73!==t&&91!==t&&103!==t&&t!==x&&666!==t?I(e,g):(e.state=null,t===x?I(e,-3):m):g},r.deflateSetDictionary=function(e,t){var r,n,i,a,o,s,l,u,f=t.length;if(!e||!e.state)return g;if(2===(a=(r=e.state).wrap)||1===a&&r.status!==T||r.lookahead)return g;for(1===a&&(e.adler=d(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===a&&(M(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new h.Buf8(r.w_size),h.arraySet(u,t,f-r.w_size,r.w_size,0),t=u,f=r.w_size),o=e.avail_in,s=e.next_in,l=e.input,e.avail_in=f,e.next_in=0,e.input=t,U(r);r.lookahead>=S;){for(n=r.strstart,i=r.lookahead-(S-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+S-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--i;);r.strstart=n,r.lookahead=S-1,U(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=S-1,r.match_available=0,e.next_in=s,e.input=l,e.avail_in=o,r.wrap=a,m},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":50,"./adler32":52,"./crc32":54,"./messages":60,"./trees":61}],56:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],57:[function(e,t,r){"use strict";t.exports=function(e,t){var r,n,i,a,o,s,l=e.state,u=e.next_in,f=e.input,c=u+(e.avail_in-5),h=e.next_out,d=e.output,p=h-(t-e.avail_out),m=h+(e.avail_out-257),g=l.dmax,y=l.wsize,_=l.whave,b=l.wnext,v=l.window,w=l.hold,E=l.bits,S=l.lencode,C=l.distcode,k=(1<<l.lenbits)-1,T=(1<<l.distbits)-1;e:do{E<15&&(w+=f[u++]<<E,E+=8,w+=f[u++]<<E,E+=8),r=S[w&k];t:for(;;){if(w>>>=n=r>>>24,E-=n,0===(n=r>>>16&255))d[h++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=S[(65535&r)+(w&(1<<n)-1)];continue t}if(32&n){l.mode=12;break e}e.msg="invalid literal/length code",l.mode=30;break e}i=65535&r,(n&=15)&&(E<n&&(w+=f[u++]<<E,E+=8),i+=w&(1<<n)-1,w>>>=n,E-=n),E<15&&(w+=f[u++]<<E,E+=8,w+=f[u++]<<E,E+=8),r=C[w&T];r:for(;;){if(w>>>=n=r>>>24,E-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(w&(1<<n)-1)];continue r}e.msg="invalid distance code",l.mode=30;break e}if(a=65535&r,E<(n&=15)&&(w+=f[u++]<<E,(E+=8)<n&&(w+=f[u++]<<E,E+=8)),g<(a+=w&(1<<n)-1)){e.msg="invalid distance too far back",l.mode=30;break e}if(w>>>=n,E-=n,(n=h-p)<a){if(_<(n=a-n)&&l.sane){e.msg="invalid distance too far back",l.mode=30;break e}if(s=v,(o=0)===b){if(o+=y-n,n<i){for(i-=n;d[h++]=v[o++],--n;);o=h-a,s=d}}else if(b<n){if(o+=y+b-n,(n-=b)<i){for(i-=n;d[h++]=v[o++],--n;);if(o=0,b<i){for(i-=n=b;d[h++]=v[o++],--n;);o=h-a,s=d}}}else if(o+=b-n,n<i){for(i-=n;d[h++]=v[o++],--n;);o=h-a,s=d}for(;2<i;)d[h++]=s[o++],d[h++]=s[o++],d[h++]=s[o++],i-=3;i&&(d[h++]=s[o++],1<i&&(d[h++]=s[o++]))}else{for(o=h-a;d[h++]=d[o++],d[h++]=d[o++],d[h++]=d[o++],2<(i-=3););i&&(d[h++]=d[o++],1<i&&(d[h++]=d[o++]))}break}}break}}while(u<c&&h<m);u-=i=E>>3,w&=(1<<(E-=i<<3))-1,e.next_in=u,e.next_out=h,e.avail_in=u<c?c-u+5:5-(u-c),e.avail_out=h<m?m-h+257:257-(h-m),l.hold=w,l.bits=E}},{}],58:[function(e,t,r){"use strict";var L=e("../utils/common"),A=e("./adler32"),O=e("./crc32"),I=e("./inffast"),F=e("./inftrees"),M=1,B=2,P=0,D=-2,N=1,n=852,i=592;function z(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function a(){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 L.Buf16(320),this.work=new L.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=N,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new L.Buf32(n),t.distcode=t.distdyn=new L.Buf32(i),t.sane=1,t.back=-1,P):D}function s(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,o(e)):D}function l(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?D:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,s(e))):D}function u(e,t){var r,n;return e?(n=new a,(e.state=n).window=null,(r=l(e,t))!==P&&(e.state=null),r):D}var U,j,W=!0;function X(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new L.Buf8(a.wsize)),n>=a.wsize?(L.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(n<(i=a.wsize-a.wnext)&&(i=n),L.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(L.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}r.inflateReset=s,r.inflateReset2=l,r.inflateResetKeep=o,r.inflateInit=function(e){return u(e,15)},r.inflateInit2=u,r.inflate=function(e,t){var r,n,i,a,o,s,l,u,f,c,h,d,p,m,g,y,_,b,v,w,E,S,C,k,T=0,x=new L.Buf8(4),R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return D;12===(r=e.state).mode&&(r.mode=13),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,u=r.hold,f=r.bits,c=s,h=l,S=P;e:for(;;)switch(r.mode){case N:if(0===r.wrap){r.mode=13;break}for(;f<16;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(2&r.wrap&&35615===u){x[r.check=0]=255&u,x[1]=u>>>8&255,r.check=O(r.check,x,2,0),f=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=30;break}if(f-=4,E=8+(15&(u>>>=4)),0===r.wbits)r.wbits=E;else if(E>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<E,e.adler=r.check=1,r.mode=512&u?10:12,f=u=0;break;case 2:for(;f<16;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(r.flags=u,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=u>>8&1),512&r.flags&&(x[0]=255&u,x[1]=u>>>8&255,r.check=O(r.check,x,2,0)),f=u=0,r.mode=3;case 3:for(;f<32;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.head&&(r.head.time=u),512&r.flags&&(x[0]=255&u,x[1]=u>>>8&255,x[2]=u>>>16&255,x[3]=u>>>24&255,r.check=O(r.check,x,4,0)),f=u=0,r.mode=4;case 4:for(;f<16;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.head&&(r.head.xflags=255&u,r.head.os=u>>8),512&r.flags&&(x[0]=255&u,x[1]=u>>>8&255,r.check=O(r.check,x,2,0)),f=u=0,r.mode=5;case 5:if(1024&r.flags){for(;f<16;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.length=u,r.head&&(r.head.extra_len=u),512&r.flags&&(x[0]=255&u,x[1]=u>>>8&255,r.check=O(r.check,x,2,0)),f=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(E=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),L.arraySet(r.head.extra,n,a,d,E)),512&r.flags&&(r.check=O(r.check,n,d,a)),s-=d,a+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break e;for(d=0;E=n[a+d++],r.head&&E&&r.length<65536&&(r.head.name+=String.fromCharCode(E)),E&&d<s;);if(512&r.flags&&(r.check=O(r.check,n,d,a)),s-=d,a+=d,E)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===s)break e;for(d=0;E=n[a+d++],r.head&&E&&r.length<65536&&(r.head.comment+=String.fromCharCode(E)),E&&d<s;);if(512&r.flags&&(r.check=O(r.check,n,d,a)),s-=d,a+=d,E)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;f<16;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(u!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}f=u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;f<32;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}e.adler=r.check=z(u),f=u=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=u,r.bits=f,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){u>>>=7&f,f-=7&f,r.mode=27;break}for(;f<3;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}switch(r.last=1&u,--f,3&(u>>>=1)){case 0:r.mode=14;break;case 1:if(!function(e){if(W){var t;for(U=new L.Buf32(512),j=new L.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(F(M,e.lens,0,288,U,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;F(B,e.lens,0,32,j,0,e.work,{bits:5}),W=!1}e.lencode=U,e.lenbits=9,e.distcode=j,e.distbits=5}(r),r.mode=20,6!==t)break;u>>>=2,f-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}u>>>=2,f-=2;break;case 14:for(u>>>=7&f,f-=7&f;f<32;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if((65535&u)!=(u>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&u,f=u=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(s<d&&(d=s),l<d&&(d=l),0===d)break e;L.arraySet(i,n,a,d,o),s-=d,a+=d,l-=d,o+=d,r.length-=d;break}r.mode=12;break;case 17:for(;f<14;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(r.nlen=257+(31&u),u>>>=5,f-=5,r.ndist=1+(31&u),u>>>=5,f-=5,r.ncode=4+(15&u),u>>>=4,f-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;f<3;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.lens[R[r.have++]]=7&u,u>>>=3,f-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},S=F(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,S){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;y=(T=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&T,!((g=T>>>24)<=f);){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(_<16)u>>>=g,f-=g,r.lens[r.have++]=_;else{if(16===_){for(k=g+2;f<k;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(u>>>=g,f-=g,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}E=r.lens[r.have-1],d=3+(3&u),u>>>=2,f-=2}else if(17===_){for(k=g+3;f<k;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}f-=g,E=0,d=3+(7&(u>>>=g)),u>>>=3,f-=3}else{for(k=g+7;f<k;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}f-=g,E=0,d=11+(127&(u>>>=g)),u>>>=7,f-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=E}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},S=F(M,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,S){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},S=F(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,S){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=s&&258<=l){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=u,r.bits=f,I(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,u=r.hold,f=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;y=(T=r.lencode[u&(1<<r.lenbits)-1])>>>16&255,_=65535&T,!((g=T>>>24)<=f);){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(y&&0==(240&y)){for(b=g,v=y,w=_;y=(T=r.lencode[w+((u&(1<<b+v)-1)>>b)])>>>16&255,_=65535&T,!(b+(g=T>>>24)<=f);){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}u>>>=b,f-=b,r.back+=b}if(u>>>=g,f-=g,r.back+=g,r.length=_,0===y){r.mode=26;break}if(32&y){r.back=-1,r.mode=12;break}if(64&y){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&y,r.mode=22;case 22:if(r.extra){for(k=r.extra;f<k;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.length+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;y=(T=r.distcode[u&(1<<r.distbits)-1])>>>16&255,_=65535&T,!((g=T>>>24)<=f);){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(0==(240&y)){for(b=g,v=y,w=_;y=(T=r.distcode[w+((u&(1<<b+v)-1)>>b)])>>>16&255,_=65535&T,!(b+(g=T>>>24)<=f);){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}u>>>=b,f-=b,r.back+=b}if(u>>>=g,f-=g,r.back+=g,64&y){e.msg="invalid distance code",r.mode=30;break}r.offset=_,r.extra=15&y,r.mode=24;case 24:if(r.extra){for(k=r.extra;f<k;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}r.offset+=u&(1<<r.extra)-1,u>>>=r.extra,f-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break e;if(d=h-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}p=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=o-r.offset,d=r.length;for(l<d&&(d=l),l-=d,r.length-=d;i[o++]=m[p++],--d;);0===r.length&&(r.mode=21);break;case 26:if(0===l)break e;i[o++]=r.length,l--,r.mode=21;break;case 27:if(r.wrap){for(;f<32;){if(0===s)break e;s--,u|=n[a++]<<f,f+=8}if(h-=l,e.total_out+=h,r.total+=h,h&&(e.adler=r.check=(r.flags?O:A)(r.check,i,h,o-h)),h=l,(r.flags?u:z(u))!==r.check){e.msg="incorrect data check",r.mode=30;break}f=u=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;f<32;){if(0===s)break e;s--,u+=n[a++]<<f,f+=8}if(u!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}f=u=0}r.mode=29;case 29:S=1;break e;case 30:S=-3;break e;case 31:return-4;case 32:default:return D}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=u,r.bits=f,(r.wsize||h!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&X(e,e.output,e.next_out,h-e.avail_out)?(r.mode=31,-4):(c-=e.avail_in,h-=e.avail_out,e.total_in+=c,e.total_out+=h,r.total+=h,r.wrap&&h&&(e.adler=r.check=(r.flags?O:A)(r.check,i,h,e.next_out-h)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==c&&0===h||4===t)&&S===P&&(S=-5),S)},r.inflateEnd=function(e){if(!e||!e.state)return D;var t=e.state;return t.window&&(t.window=null),e.state=null,P},r.inflateGetHeader=function(e,t){var r;return!e||!e.state||0==(2&(r=e.state).wrap)?D:((r.head=t).done=!1,P)},r.inflateSetDictionary=function(e,t){var r,n=t.length;return!e||!e.state||0!==(r=e.state).wrap&&11!==r.mode?D:11===r.mode&&A(1,t,n,0)!==r.check?-3:X(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,P)},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":50,"./adler32":52,"./crc32":54,"./inffast":57,"./inftrees":59}],59:[function(e,t,r){"use strict";var M=e("../utils/common"),B=[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],P=[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],D=[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],N=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,n,i,a,o,s){for(var l,u,f,c,h,d,p,m,g,y=s.bits,_=0,b=0,v=0,w=0,E=0,S=0,C=0,k=0,T=0,x=0,R=null,L=0,A=new M.Buf16(16),O=new M.Buf16(16),I=null,F=0,_=0;_<=15;_++)A[_]=0;for(b=0;b<n;b++)A[t[r+b]]++;for(E=y,w=15;1<=w&&0===A[w];w--);if(w<E&&(E=w),0===w)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(v=1;v<w&&0===A[v];v++);for(E<v&&(E=v),_=k=1;_<=15;_++)if(k<<=1,(k-=A[_])<0)return-1;if(0<k&&(0===e||1!==w))return-1;for(O[1]=0,_=1;_<15;_++)O[_+1]=O[_]+A[_];for(b=0;b<n;b++)0!==t[r+b]&&(o[O[t[r+b]]++]=b);if(d=0===e?(R=I=o,19):1===e?(R=B,L-=257,I=P,F-=257,256):(R=D,I=N,-1),_=v,h=a,C=b=x=0,f=-1,c=(T=1<<(S=E))-1,1===e&&852<T||2===e&&592<T)return 1;for(;;){for(p=_-C,g=o[b]<d?(m=0,o[b]):o[b]>d?(m=I[F+o[b]],R[L+o[b]]):(m=96,0),l=1<<_-C,v=u=1<<S;i[h+(x>>C)+(u-=l)]=p<<24|m<<16|g|0,0!==u;);for(l=1<<_-1;x&l;)l>>=1;if(0!==l?(x&=l-1,x+=l):x=0,b++,0==--A[_]){if(_===w)break;_=t[r+o[b]]}if(E<_&&(x&c)!==f){for(0===C&&(C=E),h+=v,k=1<<(S=_-C);S+C<w&&!((k-=A[S+C])<=0);)S++,k<<=1;if(T+=1<<S,1===e&&852<T||2===e&&592<T)return 1;i[f=x&c]=E<<24|S<<16|h-a|0}}return 0!==x&&(i[h+x]=_-C<<24|64<<16|0),s.bits=E,0}},{"../utils/common":50}],60:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],61:[function(e,t,r){"use strict";var l=e("../utils/common"),s=0,u=1;function n(e){for(var t=e.length;0<=--t;)e[t]=0}var f=0,o=29,c=256,h=c+1+o,d=30,p=19,g=2*h+1,y=15,i=16,m=7,_=256,b=16,v=17,w=18,E=[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],S=[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],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],T=new Array(2*(h+2));n(T);var x=new Array(2*d);n(x);var R=new Array(512);n(R);var L=new Array(256);n(L);var A=new Array(o);n(A);var O,I,F,M=new Array(d);function B(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function a(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function P(e){return e<256?R[e]:R[256+(e>>>7)]}function D(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function N(e,t,r){e.bi_valid>i-r?(e.bi_buf|=t<<e.bi_valid&65535,D(e,e.bi_buf),e.bi_buf=t>>i-e.bi_valid,e.bi_valid+=r-i):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function z(e,t,r){N(e,r[2*t],r[2*t+1])}function U(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function j(e,t,r){for(var n,i=new Array(y+1),a=0,o=1;o<=y;o++)i[o]=a=a+r[o-1]<<1;for(n=0;n<=t;n++){var s=e[2*n+1];0!==s&&(e[2*n]=U(i[s]++,s))}}function W(e){for(var t=0;t<h;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<p;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function X(e){8<e.bi_valid?D(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function H(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function Z(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&H(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!H(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function G(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0==n?z(e,i,t):(z(e,(a=L[i])+c+1,t),0!==(o=E[a])&&N(e,i-=A[a],o),z(e,a=P(--n),r),0!==(o=S[a])&&N(e,n-=M[a],o)),s<e.last_lit;);z(e,_,t)}function Y(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=g,r=0;r<l;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;1<=r;r--)Z(e,a,r);for(i=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Z(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,Z(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){for(var r,n,i,a,o,s=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,f=t.stat_desc.has_stree,c=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,d=t.stat_desc.max_length,p=0,m=0;m<=y;m++)e.bl_count[m]=0;for(s[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<g;r++)d<(m=s[2*s[2*(n=e.heap[r])+1]+1]+1)&&(m=d,p++),s[2*n+1]=m,l<n||(e.bl_count[m]++,a=0,h<=n&&(a=c[n-h]),o=s[2*n],e.opt_len+=o*(m+a),f&&(e.static_len+=o*(u[2*n+1]+a)));if(0!==p){do{for(m=d-1;0===e.bl_count[m];)m--;e.bl_count[m]--,e.bl_count[m+1]+=2,e.bl_count[d]--,p-=2}while(0<p);for(m=d;0!==m;m--)for(n=e.bl_count[m];0!==n;)l<(i=e.heap[--r])||(s[2*i+1]!==m&&(e.opt_len+=(m-s[2*i+1])*s[2*i],s[2*i+1]=m),n--)}}(e,t),j(a,u,e.bl_count)}function q(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<l&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*b]++):s<=10?e.bl_tree[2*v]++:e.bl_tree[2*w]++,a=i,u=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4))}function V(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,u=4;for(0===o&&(l=138,u=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<u)for(;z(e,i,e.bl_tree),0!=--s;);else 0!==i?(i!==a&&(z(e,i,e.bl_tree),s--),z(e,b,e.bl_tree),N(e,s-3,2)):s<=10?(z(e,v,e.bl_tree),N(e,s-3,3)):(z(e,w,e.bl_tree),N(e,s-11,7));a=i,u=(s=0)===o?(l=138,3):i===o?(l=6,3):(l=7,4)}}n(M);var K=!1;function J(e,t,r,n){var i,a,o,s;N(e,(f<<1)+(n?1:0),3),a=t,o=r,s=!0,X(i=e),s&&(D(i,o),D(i,~o)),l.arraySet(i.pending_buf,i.window,a,o,i.pending),i.pending+=o}r._tr_init=function(e){K||(function(){for(var e,t,r,n=new Array(y+1),i=0,a=0;a<o-1;a++)for(A[a]=i,e=0;e<1<<E[a];e++)L[i++]=a;for(L[i-1]=a,a=r=0;a<16;a++)for(M[a]=r,e=0;e<1<<S[a];e++)R[r++]=a;for(r>>=7;a<d;a++)for(M[a]=r<<7,e=0;e<1<<S[a]-7;e++)R[256+r++]=a;for(t=0;t<=y;t++)n[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,n[8]++;for(;e<=255;)T[2*e+1]=9,e++,n[9]++;for(;e<=279;)T[2*e+1]=7,e++,n[7]++;for(;e<=287;)T[2*e+1]=8,e++,n[8]++;for(j(T,h+1,n),e=0;e<d;e++)x[2*e+1]=5,x[2*e]=U(e,5);O=new B(T,E,c+1,h,y),I=new B(x,S,0,d,y),F=new B(new Array(0),C,0,p,m)}(),K=!0),e.l_desc=new a(e.dyn_ltree,O),e.d_desc=new a(e.dyn_dtree,I),e.bl_desc=new a(e.bl_tree,F),e.bi_buf=0,e.bi_valid=0,W(e)},r._tr_stored_block=J,r._tr_flush_block=function(e,t,r,n){var i,a,o=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){for(var t=4093624447,r=0;r<=31;r++,t>>>=1)if(1&t&&0!==e.dyn_ltree[2*r])return s;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return u;for(r=32;r<c;r++)if(0!==e.dyn_ltree[2*r])return u;return s}(e)),Y(e,e.l_desc),Y(e,e.d_desc),o=function(e){var t;for(q(e,e.dyn_ltree,e.l_desc.max_code),q(e,e.dyn_dtree,e.d_desc.max_code),Y(e,e.bl_desc),t=p-1;3<=t&&0===e.bl_tree[2*k[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?J(e,t,r,n):4===e.strategy||a===i?(N(e,2+(n?1:0),3),G(e,T,x)):(N(e,4+(n?1:0),3),function(e,t,r,n){var i;for(N(e,t-257,5),N(e,r-1,5),N(e,n-4,4),i=0;i<n;i++)N(e,e.bl_tree[2*k[i]+1],3);V(e,e.dyn_ltree,t-1),V(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),G(e,e.dyn_ltree,e.dyn_dtree)),W(e),n&&X(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(L[r]+c+1)]++,e.dyn_dtree[2*P(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){var t;N(e,2,3),z(e,_,T),16===(t=e).bi_valid?(D(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":50}],62:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],63:[function(e,t,r){(function(s){"use strict";void 0===s||!s.version||0===s.version.indexOf("v0.")||0===s.version.indexOf("v1.")&&0!==s.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return s.nextTick(e);case 2:return s.nextTick(function(){e.call(null,t)});case 3:return s.nextTick(function(){e.call(null,t,r)});case 4:return s.nextTick(function(){e.call(null,t,r,n)});default:for(i=new Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return s.nextTick(function(){e.apply(null,i)})}}}:t.exports=s}).call(this,e("_process"))},{_process:64}],64:[function(e,t,r){var n,i,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var u,f=[],c=!1,h=-1;function d(){c&&u&&(c=!1,u.length?f=u.concat(f):h=-1,f.length&&p())}function p(){if(!c){var e=l(d);c=!0;for(var t=f.length;t;){for(u=f,f=[];++h<t;)u&&u[h].run();h=-1,t=f.length}u=null,c=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];f.push(new m(e,t)),1!==f.length||c||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],65:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":66}],66:[function(e,t,r){"use strict";var n=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=c;var a=Object.create(e("core-util-is"));a.inherits=e("inherits");var o=e("./_stream_readable"),s=e("./_stream_writable");a.inherits(c,o);for(var l=i(s.prototype),u=0;u<l.length;u++){var f=l[u];c.prototype[f]||(c.prototype[f]=s.prototype[f])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),c.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},{"./_stream_readable":68,"./_stream_writable":70,"core-util-is":4,inherits:8,"process-nextick-args":63}],67:[function(e,t,r){"use strict";t.exports=a;var n=e("./_stream_transform"),i=Object.create(e("core-util-is"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=e("inherits"),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":69,"core-util-is":4,inherits:8}],68:[function(F,M,e){(function(g,e){"use strict";var y=F("process-nextick-args");M.exports=h;var o,_=F("isarray");h.ReadableState=a;function b(e,t){return e.listeners(t).length}F("events").EventEmitter;var i=F("./internal/streams/stream"),u=F("safe-buffer").Buffer,f=e.Uint8Array||function(){};var t=Object.create(F("core-util-is"));t.inherits=F("inherits");var s,r=F("util"),v=void 0,v=r&&r.debuglog?r.debuglog("stream"):function(){},l=F("./internal/streams/BufferList"),n=F("./internal/streams/destroy");t.inherits(h,i);var c=["error","close","destroy","pause","resume"];function a(e,t){e=e||{};var r=t instanceof(o=o||F("./_stream_duplex"));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,i=e.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new l,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=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(s=s||F("string_decoder/").StringDecoder,this.decoder=new s(e.encoding),this.encoding=e.encoding)}function h(e){if(o=o||F("./_stream_duplex"),!(this instanceof h))return new h(e);this._readableState=new a(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),i.call(this)}function d(e,t,r,n,i){var a,o,s,l=e._readableState;return null===t?(l.reading=!1,function(e,t){if(t.ended)return;{var r;!t.decoder||(r=t.decoder.end())&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,l)):(i||(a=function(e,t){var r;(function(e){return u.isBuffer(e)||e instanceof f})(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));return r}(l,t)),a?e.emit("error",a):l.objectMode||t&&0<t.length?("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===u.prototype||(o=t,t=u.from(o)),n?l.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):p(e,l,t,!0):l.ended?e.emit("error",new Error("stream.push() after EOF")):(l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?p(e,l,t,!1):C(e,l)):p(e,l,t,!1))):n||(l.reading=!1)),!(s=l).ended&&(s.needReadable||s.length<s.highWaterMark||0===s.length)}function p(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),C(e,t)}Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),h.prototype.destroy=n.destroy,h.prototype._undestroy=n.undestroy,h.prototype._destroy=function(e,t){this.push(null),t(e)},h.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),d(this,e,t,!1,r)},h.prototype.unshift=function(e){return d(this,e,null,!0,!1)},h.prototype.isPaused=function(){return!1===this._readableState.flowing},h.prototype.setEncoding=function(e){return s=s||F("string_decoder/").StringDecoder,this._readableState.decoder=new s(e),this._readableState.encoding=e,this};var m=8388608;function w(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=(m<=(r=e)?r=m:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0));var r}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(v("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?y.nextTick(S,e):S(e))}function S(e){v("emit readable"),e.emit("readable"),R(e)}function C(e,t){t.readingMore||(t.readingMore=!0,y.nextTick(k,e,t))}function k(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(v("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){v("readable nexttick read 0"),e.read(0)}function x(e,t){t.reading||(v("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState;for(v("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():(r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r).data=a.slice(o);break}++n}return t.length-=n,i}:function(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n).data=a.slice(o);break}++i}return t.length-=i,r})(e,t);return n}(e,t.buffer,t.decoder),r);var r}function A(e){var t=e._readableState;if(0<t.length)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,y.nextTick(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}h.prototype.read=function(e){v("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return v("read: emitReadable",t.length,t.ended),(0===t.length&&t.ended?A:E)(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&A(this),null;var n,i=t.needReadable;return v("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&v("length less than watermark",i=!0),t.ended||t.reading?v("reading or ended",i=!1):i&&(v("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=w(r,t))),null===(n=0<e?L(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&A(this)),null!==n&&this.emit("data",n),n},h.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},h.prototype.pipe=function(r,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=r;break;case 1:i.pipes=[i.pipes,r];break;default:i.pipes.push(r)}i.pipesCount+=1,v("pipe count=%d opts=%j",i.pipesCount,e);var t=(!e||!1!==e.end)&&r!==g.stdout&&r!==g.stderr?o:m;function a(e,t){v("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,v("cleanup"),r.removeListener("close",d),r.removeListener("finish",p),r.removeListener("drain",l),r.removeListener("error",h),r.removeListener("unpipe",a),n.removeListener("end",o),n.removeListener("end",m),n.removeListener("data",c),u=!0,!i.awaitDrain||r._writableState&&!r._writableState.needDrain||l())}function o(){v("onend"),r.end()}i.endEmitted?y.nextTick(t):n.once("end",t),r.on("unpipe",a);var s,l=(s=n,function(){var e=s._readableState;v("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&b(s,"data")&&(e.flowing=!0,R(s))});r.on("drain",l);var u=!1;var f=!1;function c(e){v("ondata"),(f=!1)!==r.write(e)||f||((1===i.pipesCount&&i.pipes===r||1<i.pipesCount&&-1!==I(i.pipes,r))&&!u&&(v("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function h(e){v("onerror",e),m(),r.removeListener("error",h),0===b(r,"error")&&r.emit("error",e)}function d(){r.removeListener("finish",p),m()}function p(){v("onfinish"),r.removeListener("close",d),m()}function m(){v("unpipe"),n.unpipe(r)}return n.on("data",c),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?_(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(r,"error",h),r.once("close",d),r.once("finish",p),r.emit("pipe",n),i.flowing||(v("pipe resume"),n.resume()),r},h.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e=e||t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=I(t.pipes,e);return-1===o||(t.pipes.splice(o,1),--t.pipesCount,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},h.prototype.addListener=h.prototype.on=function(e,t){var r,n=i.prototype.on.call(this,e,t);return"data"===e?!1!==this._readableState.flowing&&this.resume():"readable"===e&&((r=this._readableState).endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&E(this):y.nextTick(T,this))),n},h.prototype.resume=function(){var e,t,r=this._readableState;return r.flowing||(v("resume"),r.flowing=!0,e=this,(t=r).resumeScheduled||(t.resumeScheduled=!0,y.nextTick(x,e,t))),this},h.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this},h.prototype.wrap=function(t){var r=this,n=this._readableState,i=!1;for(var e in t.on("end",function(){var e;v("wrapped end"),!n.decoder||n.ended||(e=n.decoder.end())&&e.length&&r.push(e),r.push(null)}),t.on("data",function(e){v("wrapped data"),n.decoder&&(e=n.decoder.write(e)),n.objectMode&&null==e||(n.objectMode||e&&e.length)&&(r.push(e)||(i=!0,t.pause()))}),t)void 0===this[e]&&"function"==typeof t[e]&&(this[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e));for(var a=0;a<c.length;a++)t.on(c[a],this.emit.bind(this,c[a]));return this._read=function(e){v("wrapped _read",e),i&&(i=!1,t.resume())},this},Object.defineProperty(h.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),h._fromList=L}).call(this,F("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":66,"./internal/streams/BufferList":71,"./internal/streams/destroy":72,"./internal/streams/stream":73,_process:64,"core-util-is":4,events:5,inherits:8,isarray:10,"process-nextick-args":63,"safe-buffer":78,"string_decoder/":81,util:2}],69:[function(e,t,r){"use strict";t.exports=a;var n=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:function(e,t){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)!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}.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",o)}function o(){var r=this;"function"==typeof this._flush?this._flush(function(e,t){s(r,e,t)}):s(this,null,null)}function s(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n,i=this._transformState;i.writecb=r,i.writechunk=e,i.writeencoding=t,i.transforming||(n=this._readableState,(i.needTransform||n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark))},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},{"./_stream_duplex":66,"core-util-is":4,inherits:8}],70:[function(S,C,e){(function(e,t,r){"use strict";var y=S("process-nextick-args");function c(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}C.exports=h;var s,l=!e.browser&&-1<["v0.10","v0.9."].indexOf(e.version.slice(0,5))?r:y.nextTick;h.WritableState=f;var n=Object.create(S("core-util-is"));n.inherits=S("inherits");var i={deprecate:S("util-deprecate")},a=S("./internal/streams/stream"),_=S("safe-buffer").Buffer,b=t.Uint8Array||function(){};var o,u=S("./internal/streams/destroy");function v(){}function f(e,t){s=s||S("./_stream_duplex"),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,i=e.writableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r&&(i||0===i)?i:a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=(this.destroyed=!1)===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;{var a;(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0})(r),t?function(e,t,r,n,i){--t.pendingcb,r?(y.nextTick(i,n),y.nextTick(E,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),E(e,t))}(e,r,n,t,i):((a=m(r))||r.corked||r.bufferProcessing||!r.bufferedRequest||p(e,r),n?l(d,e,r,a,i):d(e,r,a,i))}}(t,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 c(this)}function h(e){if(s=s||S("./_stream_duplex"),!(o.call(h,this)||this instanceof s))return new h(e);this._writableState=new f(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),a.call(this)}function w(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function d(e,t,r,n){var i,a;r||(i=e,0===(a=t).length&&a.needDrain&&(a.needDrain=!1,i.emit("drain"))),t.pendingcb--,n(),E(e,t)}function p(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var o=0,s=!0;r;)(i[o]=r).isBuf||(s=!1),r=r.next,o+=1;i.allBuffers=s,w(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new c(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,f=r.callback;if(w(e,t,!1,t.objectMode?1:l.length,l,u,f),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function m(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function g(t,r){t._final(function(e){r.pendingcb--,e&&t.emit("error",e),r.prefinished=!0,t.emit("prefinish"),E(t,r)})}function E(e,t){var r,n,i=m(t);return i&&(r=e,(n=t).prefinished||n.finalCalled||("function"==typeof r._final?(n.pendingcb++,n.finalCalled=!0,y.nextTick(g,r,n)):(n.prefinished=!0,r.emit("prefinish"))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),i}n.inherits(h,a),f.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(f.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===h&&(e&&e._writableState instanceof f)}})):o=function(e){return e instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(e,t,r){var n,i,a,o,s,l,u,f,c,h,d,p=this._writableState,m=!1,g=!p.objectMode&&(n=e,_.isBuffer(n)||n instanceof b);return g&&!_.isBuffer(e)&&(i=e,e=_.from(i)),"function"==typeof t&&(r=t,t=null),t=g?"buffer":t||p.defaultEncoding,"function"!=typeof r&&(r=v),p.ended?(c=this,h=r,d=new Error("write after end"),c.emit("error",d),y.nextTick(h,d)):(g||(a=this,o=p,l=r,f=!(u=!0),null===(s=e)?f=new TypeError("May not write null values to stream"):"string"==typeof s||void 0===s||o.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f&&(a.emit("error",f),y.nextTick(l,f),u=!1),u))&&(p.pendingcb++,m=function(e,t,r,n,i,a){{var o;r||(o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=_.from(t,r));return t}(t,n,i),n!==o&&(r=!0,i="buffer",n=o))}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);{var u;t.writing||t.corked?(u=t.lastBufferedRequest,t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1):w(e,t,!1,s,n,i,a)}return l}(this,p,g,e,t,r)),m},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||p(this,e))},h.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,t=e=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?y.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),h.prototype.destroy=u.destroy,h.prototype._undestroy=u.undestroy,h.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,S("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},S("timers").setImmediate)},{"./_stream_duplex":66,"./internal/streams/destroy":72,"./internal/streams/stream":73,_process:64,"core-util-is":4,inherits:8,"process-nextick-args":63,"safe-buffer":78,timers:82,"util-deprecate":83}],71:[function(e,t,r){"use strict";var s=e("safe-buffer").Buffer,n=e("util");function i(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this.head=null,this.tail=null,this.length=0}t.exports=(i.prototype.push=function(e){var t={data:e,next:null};0<this.length?this.tail.next=t:this.head=t,this.tail=t,++this.length},i.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},i.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},i.prototype.clear=function(){this.head=this.tail=null,this.length=0},i.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},i.prototype.concat=function(e){if(0===this.length)return s.alloc(0);if(1===this.length)return this.head.data;for(var t,r,n,i=s.allocUnsafe(e>>>0),a=this.head,o=0;a;)t=a.data,r=i,n=o,t.copy(r,n),o+=a.data.length,a=a.next;return i},i),n&&n.inspect&&n.inspect.custom&&(t.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":78,util:2}],72:[function(e,t,r){"use strict";var a=e("process-nextick-args");function o(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var r=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||a.nextTick(o,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(a.nextTick(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),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)}}},{"process-nextick-args":63}],73:[function(e,t,r){t.exports=e("events").EventEmitter},{events:5}],74:[function(e,t,r){t.exports=e("./readable").PassThrough},{"./readable":75}],75:[function(e,t,r){(((r=t.exports=e("./lib/_stream_readable.js")).Stream=r).Readable=r).Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":66,"./lib/_stream_passthrough.js":67,"./lib/_stream_readable.js":68,"./lib/_stream_transform.js":69,"./lib/_stream_writable.js":70}],76:[function(e,t,r){t.exports=e("./readable").Transform},{"./readable":75}],77:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":70}],78:[function(e,t,r){var n=e("buffer"),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(a(n,r),r.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},{buffer:3}],79:[function(e,t,r){(function(e){"use strict";t.exports="function"==typeof e?e:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}}).call(this,e("timers").setImmediate)},{timers:82}],80:[function(e,t,r){t.exports=n;var f=e("events").EventEmitter;function n(){f.call(this)}e("inherits")(n,f),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),(n.Stream=n).prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",i),t._isStdio||e&&!1===e.end||(r.on("end",o),r.on("close",s));var a=!1;function o(){a||(a=!0,t.end())}function s(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function l(e){if(u(),0===f.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",n),t.removeListener("drain",i),r.removeListener("end",o),r.removeListener("close",s),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("error",l),t.on("error",l),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t}},{events:5,inherits:8,"readable-stream/duplex.js":65,"readable-stream/passthrough.js":74,"readable-stream/readable.js":75,"readable-stream/transform.js":76,"readable-stream/writable.js":77}],81:[function(e,t,r){"use strict";var n=e("safe-buffer").Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.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 a(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function o(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=u,this.end=f,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(1<e.lastNeed&&1<t.length){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(2<e.lastNeed&&2<t.length&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2!=0)return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1);var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(55296<=n&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0==r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1==r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}(r.StringDecoder=o).prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=s(t[n]);if(0<=i)return 0<i&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(0<=(i=s(t[n])))return 0<i&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(0<=(i=s(t[n])))return 0<i&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":78}],82:[function(l,e,u){(function(e,t){var n=l("process/browser.js").nextTick,r=Function.prototype.apply,i=Array.prototype.slice,a={},o=0;function s(e,t){this._id=e,this._clearFn=t}u.setTimeout=function(){return new s(r.call(setTimeout,window,arguments),clearTimeout)},u.setInterval=function(){return new s(r.call(setInterval,window,arguments),clearInterval)},u.clearTimeout=u.clearInterval=function(e){e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(window,this._id)},u.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},u.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},u._unrefActive=u.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},u.setImmediate="function"==typeof e?e:function(e){var t=o++,r=!(arguments.length<2)&&i.call(arguments,1);return a[t]=!0,n(function(){a[t]&&(r?e.apply(null,r):e.call(null),u.clearImmediate(t))}),t},u.clearImmediate="function"==typeof t?t:function(e){delete a[e]}}).call(this,l("timers").setImmediate,l("timers").clearImmediate)},{"process/browser.js":64,timers:82}],83:[function(e,t,r){(function(r){function n(e){try{if(!r.localStorage)return}catch(e){return}var t=r.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],84:[function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.HandleZip=void 0;var i=n(e("jszip")),a=e("./common/method"),o=(s.prototype.unzipFile=function(l,t){i.default.loadAsync(this.uploadFile).then(function(e){var a={},o=Object.keys(e.files).length,s=0;e.forEach(function(e,t){var r=t.name.split("."),n=r[r.length-1].toLowerCase(),i="string";n in{png:1,jpeg:1,jpg:1,gif:1,bmp:1,tif:1,webp:1}?i="base64":"emf"==n&&(i="arraybuffer"),t.async(i).then(function(e){"base64"==i&&(e="data:image/"+n+";base64,"+e),a[t.name]=e,o==s+1&&l(a),s++})})},function(e){t(e)})},s.prototype.unzipFileByUrl=function(e,l,r){new i.default,a.getBinaryContent(e,function(e,t){if(e)throw e;i.default.loadAsync(t).then(function(e){var a={},o=Object.keys(e.files).length,s=0;e.forEach(function(e,t){var r=t.name.split("."),n=r[r.length-1].toLowerCase(),i="string";n in{png:1,jpeg:1,jpg:1,gif:1,bmp:1,tif:1,webp:1}?i="base64":"emf"==n&&(i="arraybuffer"),t.async(i).then(function(e){"base64"==i&&(e="data:image/"+n+";base64,"+e),a[t.name]=e,o==s+1&&l(a),s++})})},function(e){r(e)})})},s.prototype.zipFile=function(e){},s);function s(e){e instanceof File?this.uploadFile=e:this.workBook=e}r.HandleZip=o},{"./common/method":93,jszip:20}],85:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LuckyImageBase=r.LuckysheetCalcChain=r.LuckySheetConfigMerge=r.LuckySheetborderInfoCellValueStyle=r.LuckySheetborderInfoCellValue=r.LuckySheetborderInfoCellForImp=r.LuckyConfig=r.LuckyInlineString=r.LuckySheetCellFormat=r.LuckySheetCelldataValue=r.LuckySheetCelldataBase=r.LuckyFileInfo=r.LuckySheetBase=r.LuckyFileBase=void 0;function n(){}r.LuckyFileBase=n;function i(){}r.LuckySheetBase=i;function a(){}r.LuckyFileInfo=a;function o(){}r.LuckySheetCelldataBase=o;function s(){}r.LuckySheetCelldataValue=s;function l(){}r.LuckySheetCellFormat=l;function u(){}r.LuckyInlineString=u;function f(){}r.LuckyConfig=f;function c(){}r.LuckySheetborderInfoCellForImp=c;function h(){}r.LuckySheetborderInfoCellValue=h;function d(){}r.LuckySheetborderInfoCellValueStyle=d;function p(){}r.LuckySheetConfigMerge=p;function m(){}r.LuckysheetCalcChain=m;function g(){}r.LuckyImageBase=g},{}],86:[function(e,t,r){"use strict";var n,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.LuckySheetCelldata=void 0;var h,Ze=e("./ReadXml"),Ge=e("../common/method"),Ye=e("../common/constant"),qe=e("./LuckyBase"),a=(h=qe.LuckySheetCelldataBase,i(o,h),o.prototype.generateValue=function(e,t){var r,n,i,a,g=this,o=this.cell.getInnerElements("v"),s=this.cell.getInnerElements("f"),l=this.styles.cellXfs,u=this.styles.cellStyleXfs,f=(this.styles.cellStyles,this.styles.fonts),c=this.styles.fills,h=this.styles.borders,d=this.styles.numfmts,p=this.styles.clrScheme,m=this.sharedStrings,y=new qe.LuckySheetCelldataValue;null!=s&&(r=(W=s[0].attributeList).t,n=W.ref,i=W.si,a=s[0].value,"shared"==r&&(this._fomulaRef=n,this._formulaType=r,this._formulaSi=i),(null!=n||null!=a&&0<a.length)&&(a=Ge.escapeCharacter(a),y.f="="+a));var _,b,v,w,E,S,C,k,T,x,R,L,A,O,I,F,M,B,P,D,N,z,U,j,W,X,H,Z,G,Y,q,V,K,J,$,Q,ee,te,re,ne,ie,ae,oe,se,le,ue,fe,ce,he,de,pe,me,ge,ye,_e,be,ve,we,Ee,Se,Ce,ke,Te=null;if(null!=e?(x=T=k=C=S=E=w=v=void 0,null!=(b=(_=l[parseInt(e)]).attributeList.xfId)&&(L=(W=(R=u[parseInt(b)]).attributeList).applyNumberFormat,A=W.applyFont,O=W.applyFill,I=W.applyBorder,F=W.applyAlignment,W.applyProtection,B=W.quotePrefix,"0"!=L&&null!=W.numFmtId&&(v=W.numFmtId),"0"!=A&&null!=W.fontId&&(w=W.fontId),"0"!=O&&null!=W.fillId&&(E=W.fillId),"0"!=I&&null!=W.borderId&&(S=W.borderId),null!=F&&"0"!=F&&null!=(j=R.getInnerElements("alignment"))&&(null!=(M=j[0].attributeList).horizontal&&(C=M.horizontal),null!=M.vertical&&(k=M.vertical),null!=M.wrapText&&(T=M.wrapText),null!=M.textRotation&&(x=M.textRotation),null!=M.shrinkToFit&&M.shrinkToFit,null!=M.indent&&M.indent)),P=_.attributeList.applyNumberFormat,D=_.attributeList.applyFont,N=_.attributeList.applyFill,z=_.attributeList.applyBorder,U=_.attributeList.applyAlignment,null!=_.attributeList.applyProtection&&_.attributeList.applyProtection,null!=_.attributeList.quotePrefix&&(B=_.attributeList.quotePrefix),"0"!=P&&null!=_.attributeList.numFmtId&&(v=_.attributeList.numFmtId),"0"!=D&&(w=_.attributeList.fontId),"0"!=N&&(E=_.attributeList.fillId),"0"!=z&&(S=_.attributeList.borderId),"0"!=U&&null!=(j=_.getInnerElements("alignment"))&&0<j.length&&(null!=(W=j[0].attributeList).horizontal&&(C=W.horizontal),null!=W.vertical&&(k=W.vertical),null!=W.wrapText&&(T=W.wrapText),null!=W.textRotation&&(x=W.textRotation),null!=W.shrinkToFit&&W.shrinkToFit,null!=W.indent&&W.indent),null!=v&&(X=d[parseInt(v)],(Xe=new qe.LuckySheetCellFormat).fa=Ge.escapeCharacter(X),Xe.t=t,y.ct=Xe),null!=E&&(H=c[parseInt(E)],null!=(Z=this.getBackgroundByFill(H,p))&&(y.bg=Z)),null==w||null!=(G=f[parseInt(w)])&&(Y=G.getInnerElements("sz"),q=G.getInnerElements("color"),V=G.getInnerElements("name"),K=G.getInnerElements("family"),G.getInnerElements("charset"),J=G.getInnerElements("b"),$=G.getInnerElements("i"),Q=G.getInnerElements("strike"),ee=G.getInnerElements("u"),null!=Y&&0<Y.length&&null!=(te=Y[0].attributeList.val)&&(y.fs=parseInt(te)),null!=q&&0<q.length&&(re=q[0],null!=(ne=Ze.getColor(re,this.styles,"t"))&&(y.fc=ne)),null!=K&&0<K.length&&null!=(ie=K[0].attributeList.val)&&(Te=Ye.fontFamilys[ie]),null!=V&&0<V.length&&null!=(ie=V[0].attributeList.val)&&(y.ff=ie),null!=J&&0<J.length&&(ae=J[0].attributeList.val,y.bl="0"==ae?0:1),null!=$&&0<$.length&&(oe=$[0].attributeList.val,y.it="0"==oe?0:1),null!=Q&&0<Q.length&&(se=Q[0].attributeList.val,y.cl="0"==se?0:1),null!=ee&&0<ee.length&&(le=ee[0].attributeList.val,y.un="single"==le?1:"double"==le?2:"singleAccounting"==le?3:"doubleAccounting"==le?4:0)),null!=C&&(y.ht="center"==C||"centerContinuous"==C?0:"left"==C?1:"right"==C?2:"distributed"==C||"fill"!=C&&"general"!=C&&"justify"==C?0:1),null!=k&&(y.vt="bottom"==k?2:"center"==k||"distributed"==k||"justify"==k?0:1),y.tb=null!=T&&"1"==T?2:1,null!=x&&("255"==x?y.tr=3:(y.tr=0,y.rt=parseInt(x))),null!=S&&(ue=h[parseInt(S)],(fe=new qe.LuckySheetborderInfoCellForImp).rangeType="cell",(ce=new qe.LuckySheetborderInfoCellValue).row_index=this.r,ce.col_index=this.c,he=ue.getInnerElements("left"),de=ue.getInnerElements("right"),pe=ue.getInnerElements("top"),me=ue.getInnerElements("bottom"),ge=ue.getInnerElements("diagonal"),ye=ue.getInnerElements("start"),_e=ue.getInnerElements("end"),be=this.getBorderInfo(he),ve=this.getBorderInfo(de),we=this.getBorderInfo(pe),Ee=this.getBorderInfo(me),this.getBorderInfo(ge),Se=this.getBorderInfo(ye),Ce=this.getBorderInfo(_e),ke=!1,null!=Se&&null!=Se.color&&(ce.l=Se,ke=!0),null!=Ce&&null!=Ce.color&&(ce.r=Ce,ke=!0),null!=be&&null!=be.color&&(ce.l=be,ke=!0),null!=ve&&null!=ve.color&&(ce.r=ve,ke=!0),null!=we&&null!=we.color&&(ce.t=we,ke=!0),null!=Ee&&null!=Ee.color&&(ce.b=Ee,ke=!0),ke&&(fe.value=ce,this._borderObject=fe))):y.tb=1,null!=o){var xe=o[0].value;if(t==Ye.ST_CellType.SharedString){var Re=m[parseInt(o[0].value)],Le=Re.getInnerElements("r");if(null==Le){var Ae=Re.getInnerElements("t");if(null!=Ae){var Oe="";if(Ae.forEach(function(e){Oe+=e.value}),Oe=Ge.escapeCharacter(Oe),"Roman"==Te&&0<Oe.length){var Ie=Oe.split(""),Fe=null,Me="",Be=null,Pe="Times New Roman";null!=y.ff&&(Pe=y.ff),null==(Xe=y.ct)&&(Xe=new qe.LuckySheetCellFormat),null==Xe.s&&(Xe.s=[]);for(var De=0;De<Ie.length;De++){var Ne,ze=Ie[De],Ue=null,je=Pe;if(Ge.isChinese(ze)?(Ue="c",je="宋体"):Ge.isJapanese(ze)?(Ue="j",je="Yu Gothic"):Ge.isKoera(ze)?(Ue="k",je="Malgun Gothic"):Ue="e",Ue!=Fe&&null!=Fe||De==Ie.length-1){if((Ne=new qe.LuckyInlineString).ff=Be,null!=y.fc&&(Ne.fc=y.fc),null!=y.fs&&(Ne.fs=y.fs),null!=y.cl&&(Ne.cl=y.cl),null!=y.un&&(Ne.un=y.un),null!=y.bl&&(Ne.bl=y.bl),null!=y.it&&(Ne.it=y.it),De==Ie.length-1){if(Ue!=Fe){Ne.ff=Be,Ne.v=Me,Xe.s.push(Ne);var We=new qe.LuckyInlineString;We.ff=je,We.v=ze,null!=y.fc&&(We.fc=y.fc),null!=y.fs&&(We.fs=y.fs),null!=y.cl&&(We.cl=y.cl),null!=y.un&&(We.un=y.un),null!=y.bl&&(We.bl=y.bl),null!=y.it&&(We.it=y.it),Xe.s.push(We);break}Ne.ff=je,Ne.v=Me+ze}else Ne.v=Me;Xe.s.push(Ne),Me=ze}else Me+=ze;Fe=Ue,Be=je}Xe.t="inlineStr",y.ct=Xe}else-1<(Oe=this.replaceSpecialWrap(Oe)).indexOf("\r\n")||-1<Oe.indexOf("\n")?((Ne=new qe.LuckyInlineString).v=Oe,null==(Xe=y.ct)&&(Xe=new qe.LuckySheetCellFormat),null!=y.ff&&(Ne.ff=y.ff),null!=y.fc&&(Ne.fc=y.fc),null!=y.fs&&(Ne.fs=y.fs),null!=y.cl&&(Ne.cl=y.cl),null!=y.un&&(Ne.un=y.un),null!=y.bl&&(Ne.bl=y.bl),null!=y.it&&(Ne.it=y.it),Xe.t="inlineStr",Xe.s=[Ne],y.ct=Xe):(y.v=Oe,B="1")}}else{var Xe,He=[];Le.forEach(function(e){var t,r,n,i,a,o,s,l,u,f,c,h,d=e.getInnerElements("t"),p=e.getInnerElements("rPr"),m=new qe.LuckyInlineString;null!=d&&0<d.length&&(t=d[0].value,t=g.replaceSpecialWrap(t),t=Ge.escapeCharacter(t),m.v=t),null!=p&&0<p.length?(r=p[0],n=Ze.getlineStringAttr(r,"sz"),i=Ze.getlineStringAttr(r,"rFont"),Ze.getlineStringAttr(r,"family"),Ze.getlineStringAttr(r,"charset"),Ze.getlineStringAttr(r,"scheme"),a=Ze.getlineStringAttr(r,"b"),o=Ze.getlineStringAttr(r,"i"),s=Ze.getlineStringAttr(r,"u"),l=Ze.getlineStringAttr(r,"strike"),u=Ze.getlineStringAttr(r,"vertAlign"),f=void 0,null!=(c=r.getInnerElements("color"))&&0<c.length&&(f=Ze.getColor(c[0],g.styles,"t")),null!=(h=null!=i?i:void 0)?m.ff=h:null!=y.ff&&(m.ff=y.ff),null!=f?m.fc=f:null!=y.fc&&(m.fc=y.fc),null!=n?m.fs=parseInt(n):null!=y.fs&&(m.fs=y.fs),null!=l?m.cl=parseInt(l):null!=y.cl&&(m.cl=y.cl),null!=s?m.un=parseInt(s):null!=y.un&&(m.un=y.un),null!=a?m.bl=parseInt(a):null!=y.bl&&(m.bl=y.bl),null!=o?m.it=parseInt(o):null!=y.it&&(m.it=y.it),null!=u&&(m.va=parseInt(u))):(null==m.ff&&null!=y.ff&&(m.ff=y.ff),null==m.fc&&null!=y.fc&&(m.fc=y.fc),null==m.fs&&null!=y.fs&&(m.fs=y.fs),null==m.cl&&null!=y.cl&&(m.cl=y.cl),null==m.un&&null!=y.un&&(m.un=y.un),null==m.bl&&null!=y.bl&&(m.bl=y.bl),null==m.it&&null!=y.it&&(m.it=y.it)),He.push(m)}),null==(Xe=y.ct)&&(Xe=new qe.LuckySheetCellFormat),Xe.t="inlineStr",Xe.s=He,y.ct=Xe}}else xe=Ge.escapeCharacter(xe),y.v=xe}return null!=B&&(y.qp=parseInt(B)),y},o.prototype.replaceSpecialWrap=function(e){return e=e.replace(/_x000D_/g,"").replace(/ /g,"\r\n").replace(/ /g,"\r").replace(/ /g,"\n")},o.prototype.getBackgroundByFill=function(e,t){var r=e.getInnerElements("patternFill");if(null!=r){var n,i,a=r[0],o=a.getInnerElements("fgColor"),s=a.getInnerElements("bgColor"),l=void 0,u=void 0;if(null!=o&&(n=o[0],l=Ze.getColor(n,this.styles)),null!=s&&(i=s[0],u=Ze.getColor(i,this.styles)),null!=l)return l;if(null!=u)return u}else if(null!=e.getInnerElements("gradientFill"))return null},o.prototype.getBorderInfo=function(e){if(null==e)return null;var t=e[0],r=t.attributeList,n=(this.styles.clrScheme,r.style);if(null==n||"none"==n)return null;var i,a=t.getInnerElements("color"),o="#000000";null!=a&&(i=a[0],null==(o=Ze.getColor(i,this.styles,"b"))&&(o="#000000"));var s=new qe.LuckySheetborderInfoCellValueStyle;return s.style=Ye.borderTypes[n],s.color=o,s},o);function o(e,t,r,n,i,a){var o=h.call(this)||this;o.cell=e,o.sheetFile=i,o.styles=t,o.sharedStrings=r,o.readXml=a,o.mergeCells=n;var s=e.attributeList,l=s.r,u=s.s,f=s.t,c=Ge.getcellrange(l);return o.r=c.row[0],o.c=c.column[0],o.v=o.generateValue(u,f),o}r.LuckySheetCelldata=a},{"../common/constant":91,"../common/method":93,"./LuckyBase":85,"./ReadXml":90}],87:[function(e,t,r){"use strict";var n,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.LuckyFile=void 0;var u,g=e("./LuckySheet"),y=e("../common/constant"),f=e("./ReadXml"),_=e("../common/method"),o=e("./LuckyBase"),c=e("./LuckyImage"),a=(u=o.LuckyFileBase,i(s,u),s.prototype.getSheetNameList=function(){var e=this.readXml.getElementsByTagName("Relationships/Relationship",y.workbookRels);if(null!=e){for(var t=new RegExp("worksheets/[^/]*?.xml"),r={},n=0;n<e.length;n++){var i=e[n].attributeList,a=i.Id,o=i.Target;t.test(o)&&(r[a]="xl/"+o)}this.sheetNameList=r}},s.prototype.getSheetFileBysheetId=function(e){return this.sheetNameList[e]},s.prototype.getWorkBookInfo=function(){var e=this.readXml.getElementsByTagName("Company",y.appFile),t=this.readXml.getElementsByTagName("AppVersion",y.appFile),r=this.readXml.getElementsByTagName("dc:creator",y.coreFile),n=this.readXml.getElementsByTagName("cp:lastModifiedBy",y.coreFile),i=this.readXml.getElementsByTagName("dcterms:created",y.coreFile),a=this.readXml.getElementsByTagName("dcterms:modified",y.coreFile);this.info=new o.LuckyFileInfo,this.info.name=this.fileName,this.info.creator=0<r.length?r[0].value:"",this.info.lastmodifiedby=0<n.length?n[0].value:"",this.info.createdTime=0<i.length?i[0].value:"",this.info.modifiedTime=0<a.length?a[0].value:"",this.info.company=0<e.length?e[0].value:"",this.info.appversion=0<t.length?t[0].value:""},s.prototype.getSheetsFull=function(e){void 0===e&&(e=!0);var t=this.readXml.getElementsByTagName("sheets/sheet",y.workBookFile),r={};for(var n in t)r[(a=t[n]).attributeList.name]=a.attributeList.sheetId;this.sheets=[];var i=0;for(var n in t){var a,o,s,l,u=(a=t[n]).attributeList.name,f=a.attributeList.sheetId,c=a.attributeList["r:id"],h=this.getSheetFileBysheetId(c),d=this.readXml.getElementsByTagName("worksheet/drawing",h),p=void 0,m=void 0;null!=d&&0<d.length&&(o=d[0].attributeList,null!=(s=_.getXmlAttibute(o,"r:id",null))&&(p=this.getDrawingFile(s,h),m=this.getDrawingRelsFile(p))),null!=h&&(l=new g.LuckySheet(u,f,i,e,{sheetFile:h,readXml:this.readXml,sheetList:r,styles:this.styles,sharedStrings:this.sharedStrings,calcChain:this.calcChain,imageList:this.imageList,drawingFile:p,drawingRelsFile:m}),this.columnWidthSet=[],this.rowHeightSet=[],this.imagePositionCaculation(l),this.sheets.push(l),i++)}},s.prototype.extendArray=function(e,t,r,n,i){if(!(e<t.length)){var a=t.length,o=e,s=0;0<a&&(s=t[a-1]);for(var l=a;l<=o;l++){var u=r,f=l.toString();f in n?u=0:f in i&&(u=i[f]),s+=Math.round(u+1),t.push(s)}}},s.prototype.imagePositionCaculation=function(e){var t=e.images,r=e.defaultColWidth,n=e.defaultRowHeight,i={};e.config.colhidden&&(i=e.config.colhidden);var a={};e.config.columnlen&&(a=e.config.columnlen);var o={};e.config.rowhidden&&(o=e.config.rowhidden);var s={};for(var l in e.config.rowlen&&(s=e.config.rowlen),t){var u=t[l],f=u.fromCol,c=u.fromColOff,h=u.fromRow,d=u.fromRowOff,p=u.toCol,m=u.toColOff,g=u.toRow,y=u.toRowOff,_=0,b=0,v=0,w=0;f>=this.columnWidthSet.length&&this.extendArray(f,this.columnWidthSet,r,i,a),_=0==f?0:this.columnWidthSet[f-1],_+=c,h>=this.rowHeightSet.length&&this.extendArray(h,this.rowHeightSet,n,o,s),b=0==h?0:this.rowHeightSet[h-1],b+=d,p>=this.columnWidthSet.length&&this.extendArray(p,this.columnWidthSet,r,i,a),v=(v=0==p?0:this.columnWidthSet[p-1])+m-_,g>=this.rowHeightSet.length&&this.extendArray(g,this.rowHeightSet,n,o,s),w=(w=0==g?0:this.rowHeightSet[g-1])+y-b,console.log(r,i,a),console.log(f,this.columnWidthSet[f],c),console.log(p,this.columnWidthSet[p],m,JSON.stringify(this.columnWidthSet)),u.originWidth=v,u.originHeight=w,u.crop.height=w,u.crop.width=v,u.default.height=w,u.default.left=_,u.default.top=b,u.default.width=v}console.log(this.columnWidthSet,this.rowHeightSet)},s.prototype.getDrawingFile=function(e,t){var r=t.split("/"),n="xl/worksheets/_rels/"+r[r.length-1]+".rels",i=this.readXml.getElementsByTagName("Relationships/Relationship",n);if(0<i.length)for(var a=0;a<i.length;a++){var o=i[a].attributeList;if(_.getXmlAttibute(o,"Id",null)==e){var s=_.getXmlAttibute(o,"Target",null);if(null!=s)return s.replace(/\.\.\//g,"")}}return null},s.prototype.getDrawingRelsFile=function(e){var t=e.split("/");return"xl/drawings/_rels/"+t[t.length-1]+".rels"},s.prototype.getSheetsWithoutCell=function(){this.getSheetsFull(!1)},s.prototype.Parse=function(){return this.getWorkBookInfo(),this.getSheetsFull(),this.toJsonString(this)},s.prototype.toJsonString=function(e){var t=new o.LuckyFileBase;return t.info=e.info,t.sheets=[],e.sheets.forEach(function(e){var r=new o.LuckySheetBase;null!=e.name&&(r.name=e.name),null!=e.color&&(r.color=e.color),null!=e.config&&(r.config=e.config),null!=e.index&&(r.index=e.index),null!=e.status&&(r.status=e.status),null!=e.order&&(r.order=e.order),null!=e.row&&(r.row=e.row),null!=e.column&&(r.column=e.column),null!=e.luckysheet_select_save&&(r.luckysheet_select_save=e.luckysheet_select_save),null!=e.scrollLeft&&(r.scrollLeft=e.scrollLeft),null!=e.scrollTop&&(r.scrollTop=e.scrollTop),null!=e.zoomRatio&&(r.zoomRatio=e.zoomRatio),null!=e.showGridLines&&(r.showGridLines=e.showGridLines),null!=e.defaultColWidth&&(r.defaultColWidth=e.defaultColWidth),null!=e.defaultRowHeight&&(r.defaultRowHeight=e.defaultRowHeight),null!=e.celldata&&(r.celldata=[],e.celldata.forEach(function(e){var t=new o.LuckySheetCelldataBase;t.r=e.r,t.c=e.c,t.v=e.v,r.celldata.push(t)})),null!=e.chart&&(r.chart=e.chart),null!=e.isPivotTable&&(r.isPivotTable=e.isPivotTable),null!=e.pivotTable&&(r.pivotTable=e.pivotTable),null!=e.luckysheet_conditionformat_save&&(r.luckysheet_conditionformat_save=e.luckysheet_conditionformat_save),null!=e.freezen&&(r.freezen=e.freezen),null!=e.calcChain&&(r.calcChain=e.calcChain),null!=e.images&&(r.images=e.images),t.sheets.push(r)}),JSON.stringify(t)},s);function s(e,t){var r=u.call(this)||this;r.columnWidthSet=[],r.rowHeightSet=[],r.files=e,r.fileName=t,r.readXml=new f.ReadXml(e),r.getSheetNameList(),r.sharedStrings=r.readXml.getElementsByTagName("sst/si",y.sharedStringsFile),r.calcChain=r.readXml.getElementsByTagName("calcChain/c",y.calcChainFile),r.styles={},r.styles.cellXfs=r.readXml.getElementsByTagName("cellXfs/xf",y.stylesFile),r.styles.cellStyleXfs=r.readXml.getElementsByTagName("cellStyleXfs/xf",y.stylesFile),r.styles.cellStyles=r.readXml.getElementsByTagName("cellStyles/cellStyle",y.stylesFile),r.styles.fonts=r.readXml.getElementsByTagName("fonts/font",y.stylesFile),r.styles.fills=r.readXml.getElementsByTagName("fills/fill",y.stylesFile),r.styles.borders=r.readXml.getElementsByTagName("borders/border",y.stylesFile),r.styles.clrScheme=r.readXml.getElementsByTagName("a:clrScheme/a:dk1|a:lt1|a:dk2|a:lt2|a:accent1|a:accent2|a:accent3|a:accent4|a:accent5|a:accent6|a:hlink|a:folHlink",y.theme1File),r.styles.indexedColors=r.readXml.getElementsByTagName("colors/indexedColors/rgbColor",y.stylesFile),r.styles.mruColors=r.readXml.getElementsByTagName("colors/mruColors/color",y.stylesFile),r.imageList=new c.ImageList(e);for(var n=r.readXml.getElementsByTagName("numFmt/numFmt",y.stylesFile),i=y.numFmtDefault,a=0;a<n.length;a++){var o=n[a].attributeList,s=_.getXmlAttibute(o,"numFmtId","49"),l=_.getXmlAttibute(o,"formatCode","@");s in y.numFmtDefault||(i[s]=l)}return r.styles.numfmts=i,r}r.LuckyFile=a},{"../common/constant":91,"../common/method":93,"./LuckyBase":85,"./LuckyImage":88,"./LuckySheet":89,"./ReadXml":90}],88:[function(e,t,r){"use strict";var n,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.ImageList=void 0;var a=e("./LuckyBase"),l=e("../common/emf"),o=(s.prototype.getImageByName=function(e){if(e in this.images){var t=this.images[e];return new f(e,t)}return null},s);function s(e){if(null!=e)for(var t in this.images={},e)if(-1<t.indexOf("xl/media/")){var r=t.split("."),n=r[r.length-1].toLowerCase();if(n in{png:1,jpeg:1,jpg:1,gif:1,bmp:1,tif:1,webp:1,emf:1})if("emf"==n){var i,a,o=new l.ToContext2D(0,1);for(var s in l.FromEMF.K=[],i=l.FromEMF.C,a=l.FromEMF.K,i)a[i[s]]=s.slice(4);l.FromEMF.Parse(e[t],o),this.images[t]=o.canvas.toDataURL("image/png")}else this.images[t]=e[t]}}r.ImageList=o;var u,f=(u=a.LuckyImageBase,i(c,u),c.prototype.setDefault=function(){},c);function c(e,t){var r=u.call(this)||this;return r.src=t,r}},{"../common/emf":92,"./LuckyBase":85}],89:[function(e,t,r){"use strict";var n,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.LuckySheet=void 0;var Q,g=e("./LuckyCell"),ee=e("../common/method"),te=e("./ReadXml"),re=e("./LuckyBase"),a=(Q=re.LuckySheetBase,i(o,Q),o.prototype.getXdrValue=function(e){return null==e||0==e.length?null:parseInt(e[0].value)},o.prototype.getBase64ByRid=function(e,t){var r=this.readXml.getElementsByTagName("Relationships/Relationship",t);if(null!=r&&0<r.length)for(var n=0;n<r.length;n++){var i=r[n].attributeList,a=ee.getXmlAttibute(i,"Id",null),o=ee.getXmlAttibute(i,"Target",null);if(a==e)return o="xl/"+o.replace(/\.\.\//g,""),this.imageList.getImageByName(o)}return null},o.prototype.generateConfigColumnLenAndHidden=function(){for(var e=this.readXml.getElementsByTagName("cols/col",this.sheetFile),t=0;t<e.length;t++){var r=e[t].attributeList,n=ee.getXmlAttibute(r,"min",null),i=ee.getXmlAttibute(r,"max",null),a=ee.getXmlAttibute(r,"width",null),o=ee.getXmlAttibute(r,"hidden",null),s=ee.getXmlAttibute(r,"customWidth",null);if(null!=n&&null!=i)for(var l=parseInt(n)-1,u=parseInt(i)-1,f=parseFloat(a),c=l;c<=u;c++)null!=a&&(null==this.config.columnlen&&(this.config.columnlen={}),this.config.columnlen[c]=ee.getColumnWidthPixel(f)),"1"==o&&(null==this.config.colhidden&&(this.config.colhidden={}),this.config.colhidden[c]=0,this.config.columnlen&&delete this.config.columnlen[c]),null!=s&&(null==this.config.customWidth&&(this.config.customWidth={}),this.config.customWidth[c]=1)}},o.prototype.generateConfigRowLenAndHiddenAddCell=function(){for(var e=this.readXml.getElementsByTagName("sheetData/row",this.sheetFile),t=0;t<e.length;t++){var r=e[t],n=r.attributeList,i=ee.getXmlAttibute(n,"r",null),a=ee.getXmlAttibute(n,"ht",null),o=ee.getXmlAttibute(n,"hidden",null),s=ee.getXmlAttibute(n,"customHeight",null);if(null!=i){var l,u=parseInt(i)-1;if(null!=a&&(l=parseFloat(a),null==this.config.rowlen&&(this.config.rowlen={}),this.config.rowlen[u]=ee.getRowHeightPixel(l)),"1"==o&&(null==this.config.rowhidden&&(this.config.rowhidden={}),this.config.rowhidden[u]=0,this.config.rowlen&&delete this.config.rowlen[u]),null!=s&&(null==this.config.customHeight&&(this.config.customHeight={}),this.config.customHeight[u]=1),this.isInitialCell){var f=r.getInnerElements("c");for(var c in f){var h,d,p=f[c],m=new g.LuckySheetCelldata(p,this.styles,this.sharedStrings,this.mergeCells,this.sheetFile,this.readXml);null!=m._borderObject&&(null==this.config.borderInfo&&(this.config.borderInfo=[]),this.config.borderInfo.push(m._borderObject),delete m._borderObject),"shared"==m._formulaType&&(null==this.formulaRefList&&(this.formulaRefList={}),null==this.formulaRefList[m._formulaSi]&&(this.formulaRefList[m._formulaSi]={}),h=void 0,null!=m.v&&(h=m.v.f),d={t:m._formulaType,ref:m._fomulaRef,si:m._formulaSi,fv:h,cellValue:m},null!=m._fomulaRef?this.formulaRefList[m._formulaSi].mainRef=d:this.formulaRefList[m._formulaSi][m.r+"_"+m.c]=d),this.celldata.push(m)}}}}},o);function o(e,t,r,n,i){void 0===n&&(n=!1);var a=Q.call(this)||this;a.isInitialCell=n,a.readXml=i.readXml,a.sheetFile=i.sheetFile,a.styles=i.styles,a.sharedStrings=i.sharedStrings,a.calcChainEles=i.calcChain,a.sheetList=i.sheetList,a.imageList=i.imageList,a.name=e,a.index=t,a.order=r.toString(),a.config=new re.LuckyConfig,a.celldata=[],a.mergeCells=a.readXml.getElementsByTagName("mergeCells/mergeCell",a.sheetFile);a.styles.clrScheme;var o,s,l=a.readXml.getElementsByTagName("sheetViews/sheetView",a.sheetFile),u="1",f="0",c="100";0<l.length&&(M=l[0].attributeList,u=ee.getXmlAttibute(M,"showGridLines","1"),f=ee.getXmlAttibute(M,"tabSelected","0"),c=ee.getXmlAttibute(M,"zoomScale","100"),null!=(s=l[0].getInnerElements("selection"))&&0<s.length&&(o=ee.getXmlAttibute(s[0].attributeList,"activeCell","A1"),B=ee.getcellrange(o,a.sheetList,t),a.luckysheet_select_save=[],a.luckysheet_select_save.push(B))),a.showGridLines=u,a.status=f,a.zoomRatio=parseInt(c)/100;var h,d,p=a.readXml.getElementsByTagName("sheetPr/tabColor",a.sheetFile);null!=p&&0<p.length&&(M=(h=p[0]).attributeList,d=te.getColor(h,a.styles,"b"),a.color=d);var m,g,y=a.readXml.getElementsByTagName("sheetFormatPr",a.sheetFile);if(0<y.length&&(M=y[0].attributeList,m=ee.getXmlAttibute(M,"defaultColWidth","9.21"),g=ee.getXmlAttibute(M,"defaultRowHeight","19")),a.defaultColWidth=ee.getColumnWidthPixel(parseFloat(m)),a.defaultRowHeight=ee.getRowHeightPixel(parseFloat(g)),a.generateConfigColumnLenAndHidden(),a.generateConfigRowLenAndHiddenAddCell(),null!=a.formulaRefList)for(var _ in a.formulaRefList){var b,v,w,E,S=a.formulaRefList[_],C=S.mainRef,k=C.cellValue,T=C.fv,x=k.r,R=k.c;for(var L in S){"mainRef"!=L&&(null!=(b=S[L].cellValue)&&(v=T,w=(A=b.r)-x,E=(I=b.c)-R,0<w?v="="+ee.fromulaRef.functionCopy(v,"down",w):w<0&&(v="="+ee.fromulaRef.functionCopy(v,"up",Math.abs(w))),0<E?v="="+ee.fromulaRef.functionCopy(v,"right",E):E<0&&(v="="+ee.fromulaRef.functionCopy(v,"left",Math.abs(E))),b.v.f=v))}}null==a.calcChain&&(a.calcChain=[]);for(var A,O,I=0;I<a.calcChainEles.length;I++){(M=a.calcChainEles[I].attributeList).i==t&&(A=M.r,F=M.i,M.l,M.s,M.a,M.t,B=ee.getcellrange(A),(O=new re.LuckysheetCalcChain).r=B.row[0],O.c=B.column[0],O.index=a.index,a.calcChain.push(O))}if(null!=a.mergeCells)for(var F=0;F<a.mergeCells.length;F++){var M,B,P,D=(M=a.mergeCells[F].attributeList).ref;null!=D&&(B=ee.getcellrange(D,a.sheetList,t),(P=new re.LuckySheetConfigMerge).r=B.row[0],P.c=B.column[0],P.rs=B.row[1]-B.row[0]+1,P.cs=B.column[1]-B.column[0]+1,null==a.config.merge&&(a.config.merge={}),a.config.merge[B.row[0]+"_"+B.column[0]]=P)}var N=i.drawingFile,z=i.drawingRelsFile;if(null!=N&&null!=z){var U=a.readXml.getElementsByTagName("xdr:twoCellAnchor",N);if(null!=U&&0<U.length)for(F=0;F<U.length;F++){var j,W,X,H,Z,G,Y,q=U[F],V=ee.getXmlAttibute(q.attributeList,"editAs","twoCell"),K=q.getInnerElements("xdr:from"),J=q.getInnerElements("xdr:to"),$=q.getInnerElements("a:blip");null!=K&&null!=$&&0<K.length&&0<$.length&&(j=K[0],W=J[0],X=$[0],H=ee.getXmlAttibute(X.attributeList,"r:embed",null),0,(Z=a.getBase64ByRid(H,z)).fromCol=a.getXdrValue(j.getInnerElements("xdr:col")),Z.fromColOff=ee.getPxByEMUs(a.getXdrValue(j.getInnerElements("xdr:colOff"))),Z.fromRow=a.getXdrValue(j.getInnerElements("xdr:row")),Z.fromRowOff=ee.getPxByEMUs(a.getXdrValue(j.getInnerElements("xdr:rowOff"))),Z.toCol=a.getXdrValue(W.getInnerElements("xdr:col")),Z.toColOff=ee.getPxByEMUs(a.getXdrValue(W.getInnerElements("xdr:colOff"))),Z.toRow=a.getXdrValue(W.getInnerElements("xdr:row")),Z.toRowOff=ee.getPxByEMUs(a.getXdrValue(W.getInnerElements("xdr:rowOff"))),Z.originWidth=0,Z.originHeight=0,Z.type="absolute"==V?"3":"oneCell"==V?"2":"1",Z.isFixedPos=!1,Z.fixedLeft=0,Z.fixedTop=0,Z.border={color:"#000",radius:0,style:"solid",width:0},G={height:0,offsetLeft:0,offsetTop:0,width:0},Z.crop=G,Y={height:0,left:0,top:0,width:0},Z.default=Y,null==a.images&&(a.images={}),a.images[ee.generateRandomIndex("image")]=Z)}}return a}r.LuckySheet=a},{"../common/method":93,"./LuckyBase":85,"./LuckyCell":86,"./ReadXml":90}],90:[function(e,t,r){"use strict";var n,i=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.getlineStringAttr=r.getColor=r.Element=r.ReadXml=void 0;var _=e("../common/constant"),b=e("../common/method"),a=(o.prototype.getElementsByOneTag=function(e,t){var r;if(-1<e.indexOf("|")){for(var n=e.split("|"),i="",a=0;a<n.length;a++){var o=n[a];i+="|<"+o+" [^>]+?[^/]>[\\s\\S]*?</"+o+">|<"+o+" [^>]+?/>|<"+o+">[\\s\\S]*?</"+o+">|<"+o+"/>"}i=i.substr(1,i.length),r=new RegExp(i,"g")}else r=new RegExp("<"+e+" [^>]+?[^/]>[\\s\\S]*?</"+e+">|<"+e+" [^>]+?/>|<"+e+">[\\s\\S]*?</"+e+">|<"+e+"/>","g");var s=t.match(r);return null==s?[]:s},o);function o(){}var s,l=(i(u,s=a),u.prototype.getElementsByTagName=function(e,t){var r,n=this.getFileByName(t),i=e.split("/");for(var a in i){var o=i[a];if(null==r)r=this.getElementsByOneTag(o,n);else if(r instanceof Array){var s=[];for(var l in r)var u=r[l],s=s.concat(this.getElementsByOneTag(o,u));r=s}else r=this.getElementsByOneTag(o,r)}for(var f=[],c=0;c<r.length;c++){var h=new d(r[c]);f.push(h)}return f},u.prototype.getFileByName=function(e){for(var t in this.originFile)if(-1<t.indexOf(e))return this.originFile[t];return""},u);function u(e){var t=s.call(this)||this;return t.originFile=e,t}r.ReadXml=l;var f,d=(i(c,f=a),c.prototype.get=function(e){return this.attributeList[e]},c.prototype.getInnerElements=function(e){for(var t=this.getElementsByOneTag(e,this.elementString),r=[],n=0;n<t.length;n++){var i=new c(t[n]);r.push(i)}return 0==r.length?null:r},c.prototype.setValue=function(){var e,t,r=this.elementString;"/>"==r.substr(r.length-2,2)?(this.value="",this.container=r):(e=this.getFirstTag(),null!=(t=new RegExp("(<"+e+" [^>]+?[^/]>)([\\s\\S]*?)</"+e+">|(<"+e+">)([\\s\\S]*?)</"+e+">","g").exec(r))&&(null!=t[1]?(this.container=t[1],this.value=t[2]):(this.container=t[3],this.value=t[4])))},c.prototype.getFirstTag=function(){var e=this.elementString,t=e.substr(0,e.indexOf(" "));return(""==t||-1<t.indexOf(">"))&&(t=e.substr(0,e.indexOf(">"))),t=t.substr(1,t.length)},c);function c(e){var t=f.call(this)||this;t.elementString=e,t.setValue();var r=new RegExp('[a-zA-Z0-9_:]*?=".*?"',"g"),n=t.container.match(r);if(t.attributeList={},null!=n)for(var i in n){var a,o,s=n[i];0!=s.length&&(a=s.substr(0,s.indexOf("=")),o=s.substr(s.indexOf("=")+1),null!=a&&null!=o&&0!=a.length&&0!=o.length&&(t.attributeList[a]=o.substr(1,o.length-2)))}return t}r.Element=d,r.getColor=function(e,t,r){void 0===r&&(r="g");var n,i,a,o,s,l,u,f=e.attributeList,c=t.clrScheme,h=t.indexedColors,d=(t.mruColors,function(e,t){var r={};if(null==e||0==e.length)return t;for(var n in t){var i,a=t[n],o=e[parseInt(n)];null==o?r[n]=a:(i=o.attributeList.rgb,r[n]=i)}return r}(h,_.indexedColors)),p=f.indexed,m=f.rgb,g=f.theme,y=f.tint;return null!=p?null!=(n=d[parseInt(p)])&&(n="#"+(n=n.substring(n.length-6,n.length))):null!=m?n="#"+(m=m.substring(m.length-6,m.length)):null!=g&&(0==(i=parseInt(g))?i=1:1==i?i=0:2==i?i=3:3==i&&(i=2),null==(a=c[i])||null!=(o=a.getInnerElements("a:sysClr|a:srgbClr"))&&(l=(s=o[0]).attributeList,-1<s.container.indexOf("sysClr")?null!=l.lastClr?n="#"+l.lastClr:null!=l.val&&(n="#"+l.val):-1<s.container.indexOf("srgbClr")&&(n="#"+l.val))),null!=y&&(u=parseFloat(y),null!=n&&(n=b.LightenDarkenColor(n,u))),n},r.getlineStringAttr=function(e,t){var r,n,i=e.getInnerElements(t);return null!=i&&0<i.length&&("b"==t||"i"==t||"strike"==t?r="1":"u"==t?r="double"==(n=i[0].attributeList.val)?"2":"singleAccounting"==n?"3":"doubleAccounting"==n?"4":"1":"vertAlign"==t?"subscript"==(n=i[0].attributeList.val)?r="1":"superscript"==n&&(r="2"):r=i[0].attributeList.val),r}},{"../common/constant":91,"../common/method":93}],91:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fontFamilys=r.borderTypes=r.OEM_CHARSET=r.indexedColors=r.numFmtDefault=r.BuiltInCellStyles=r.ST_CellType=r.workbookRels=r.theme1File=r.worksheetFilePath=r.sharedStringsFile=r.stylesFile=r.calcChainFile=r.workBookFile=r.contentTypesFile=r.appFile=r.coreFile=r.columeHeader_word_index=r.columeHeader_word=void 0,r.columeHeader_word=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],r.columeHeader_word_index={A:0,B:1,C:2,D:3,E:4,F:5,G:6,H:7,I:8,J:9,K:10,L:11,M:12,N:13,O:14,P:15,Q:16,R:17,S:18,T:19,U:20,V:21,W:22,X:23,Y:24,Z:25},r.coreFile="docProps/core.xml",r.appFile="docProps/app.xml",r.contentTypesFile="[Content_Types].xml",r.workBookFile="xl/workbook.xml",r.calcChainFile="xl/calcChain.xml",r.stylesFile="xl/styles.xml",r.sharedStringsFile="xl/sharedStrings.xml",r.worksheetFilePath="xl/worksheets/",r.theme1File="xl/theme/theme1.xml",r.workbookRels="xl/_rels/workbook.xml.rels",r.ST_CellType={Boolean:"b",Date:"d",Error:"e",InlineString:"inlineStr",Number:"n",SharedString:"s",String:"str"},r.BuiltInCellStyles={0:"Normal"},r.numFmtDefault={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@"},r.indexedColors={0:"00000000",1:"00FFFFFF",2:"00FF0000",3:"0000FF00",4:"000000FF",5:"00FFFF00",6:"00FF00FF",7:"0000FFFF",8:"00000000",9:"00FFFFFF",10:"00FF0000",11:"0000FF00",12:"000000FF",13:"00FFFF00",14:"00FF00FF",15:"0000FFFF",16:"00800000",17:"00008000",18:"00000080",19:"00808000",20:"00800080",21:"00008080",22:"00C0C0C0",23:"00808080",24:"009999FF",25:"00993366",26:"00FFFFCC",27:"00CCFFFF",28:"00660066",29:"00FF8080",30:"000066CC",31:"00CCCCFF",32:"00000080",33:"00FF00FF",34:"00FFFF00",35:"0000FFFF",36:"00800080",37:"00800000",38:"00008080",39:"000000FF",40:"0000CCFF",41:"00CCFFFF",42:"00CCFFCC",43:"00FFFF99",44:"0099CCFF",45:"00FF99CC",46:"00CC99FF",47:"00FFCC99",48:"003366FF",49:"0033CCCC",50:"0099CC00",51:"00FFCC00",52:"00FF9900",53:"00FF6600",54:"00666699",55:"00969696",56:"00003366",57:"00339966",58:"00003300",59:"00333300",60:"00993300",61:"00993366",62:"00333399",63:"00333333",64:null,65:null},r.OEM_CHARSET={0:"ANSI_CHARSET",1:"DEFAULT_CHARSET",2:"SYMBOL_CHARSET",77:"MAC_CHARSET",128:"SHIFTJIS_CHARSET",129:"HANGUL_CHARSET",130:"JOHAB_CHARSET",134:"GB2312_CHARSET",136:"CHINESEBIG5_CHARSET",161:"GREEK_CHARSET",162:"TURKISH_CHARSET",163:"VIETNAMESE_CHARSET",177:"HEBREW_CHARSET",178:"ARABIC_CHARSET",186:"BALTIC_CHARSET",204:"RUSSIAN_CHARSET",222:"THAI_CHARSET",238:"EASTEUROPE_CHARSET",255:"OEM_CHARSET"},r.borderTypes={none:0,thin:1,hair:2,dotted:3,dashed:4,dashDot:5,dashDotDot:6,double:7,medium:8,mediumDashed:9,mediumDashDot:10,mediumDashDotDot:11,slantDashDot:12,thick:13},r.fontFamilys={0:"defualt",1:"Roman",2:"Swiss",3:"Modern",4:"Script",5:"Decorative"}},{}],92:[function(e,t,de){"use strict";Object.defineProperty(de,"__esModule",{value:!0}),de.ToContext2D=de.FromEMF=de.UDOC=void 0,de.UDOC={},de.UDOC.G={concat:function(e,t){for(var r=0;r<t.cmds.length;r++)e.cmds.push(t.cmds[r]);for(r=0;r<t.crds.length;r++)e.crds.push(t.crds[r])},getBB:function(e){for(var t=1e99,r=1e99,n=-t,i=-r,a=0;a<e.length;a+=2){var o=e[a],s=e[a+1];o<t?t=o:n<o&&(n=o),s<r?r=s:i<s&&(i=s)}return[t,r,n,i]},rectToPath:function(e){return{cmds:["M","L","L","L","Z"],crds:[e[0],e[1],e[2],e[1],e[2],e[3],e[0],e[3]]}},insideBox:function(e,t){return t[0]<=e[0]&&t[1]<=e[1]&&e[2]<=t[2]&&e[3]<=t[3]},isBox:function(e,t){function r(e,t){for(var r=0;r<8;r+=2){for(var n=!0,i=0;i<8;i++)if(2<=Math.abs(t[i]-e[i+r&7])){n=!1;break}if(n)return!0}return!1}if(10<e.cmds.length)return!1;var n,i,a,o,s=e.cmds.join(""),l=e.crds,u=!1;return("MLLLZ"==s&&8==l.length||"MLLLLZ"==s&&10==l.length)&&(10==l.length&&(l=l.slice(0,8)),n=t[0],i=t[1],a=t[2],o=t[3],u=(u=u||r(l,[n,i,a,i,a,o,n,o]))||r(l,[n,o,a,o,a,i,n,i])),u},boxArea:function(e){return(e[2]-e[0])*(e[3]-e[1])},newPath:function(e){e.pth={cmds:[],crds:[]}},moveTo:function(e,t,r){var n=de.UDOC.M.multPoint(e.ctm,[t,r]);e.pth.cmds.push("M"),e.pth.crds.push(n[0],n[1]),e.cpos=n},lineTo:function(e,t,r){var n=de.UDOC.M.multPoint(e.ctm,[t,r]);e.cpos[0]==n[0]&&e.cpos[1]==n[1]||(e.pth.cmds.push("L"),e.pth.crds.push(n[0],n[1]),e.cpos=n)},curveTo:function(e,t,r,n,i,a,o){var s=de.UDOC.M.multPoint(e.ctm,[t,r]);t=s[0],r=s[1],n=(s=de.UDOC.M.multPoint(e.ctm,[n,i]))[0],i=s[1],a=(s=de.UDOC.M.multPoint(e.ctm,[a,o]))[0],o=s[1],e.cpos=s,e.pth.cmds.push("C"),e.pth.crds.push(t,r,n,i,a,o)},closePath:function(e){e.pth.cmds.push("Z")},arc:function(e,t,r,n,i,a,o){if(o)for(;i<a;)a-=2*Math.PI;else for(;a<i;)a+=2*Math.PI;var s=(a-i)/4,l=Math.cos(s/2),u=-Math.sin(s/2),f=(4-l)/3,c=0==u?u:(1-l)*(3-l)/(3*u),h=-c,d=-u,p=[f,c],m=[f,h],g=[l,d],y={cmds:[0==e.pth.cmds.length?"M":"L","C","C","C","C"],crds:[l,u,f,c,f,h,l,d]},_=[1,0,0,1,0,0];de.UDOC.M.rotate(_,-s);for(var b=0;b<3;b++)p=de.UDOC.M.multPoint(_,p),m=de.UDOC.M.multPoint(_,m),g=de.UDOC.M.multPoint(_,g),y.crds.push(p[0],p[1],m[0],m[1],g[0],g[1]);var v=[n,0,0,n,t,r];de.UDOC.M.rotate(_,s/2-i),de.UDOC.M.concat(_,v),de.UDOC.M.multArray(_,y.crds),de.UDOC.M.multArray(e.ctm,y.crds),de.UDOC.G.concat(e.pth,y);r=y.crds.pop();t=y.crds.pop(),e.cpos=[t,r]},toPoly:function(e){if("M"!=e.cmds[0]||"Z"!=e.cmds[e.cmds.length-1])return null;for(var t=1;t<e.cmds.length-1;t++)if("L"!=e.cmds[t])return null;var r=[],n=e.crds.length;e.crds[0]==e.crds[n-2]&&e.crds[1]==e.crds[n-1]&&(n-=2);for(t=0;t<n;t+=2)r.push([e.crds[t],e.crds[t+1]]);return de.UDOC.G.polyArea(e.crds)<0&&r.reverse(),r},fromPoly:function(e){for(var t={cmds:[],crds:[]},r=0;r<e.length;r++)t.crds.push(e[r][0],e[r][1]),t.cmds.push(0==r?"M":"L");return t.cmds.push("Z"),t},polyArea:function(e){if(e.length<6)return 0;for(var t=e.length-2,r=(e[0]-e[t])*(e[1+t]+e[1]),n=0;n<t;n+=2)r+=(e[n+2]-e[n])*(e[n+1]+e[n+3]);return.5*-r},polyClip:function(e,t){function r(e){return(l[0]-a[0])*(e[1]-a[1])>(l[1]-a[1])*(e[0]-a[0])}function n(){var e=[a[0]-l[0],a[1]-l[1]],t=[f[0]-s[0],f[1]-s[1]],r=a[0]*l[1]-a[1]*l[0],n=f[0]*s[1]-f[1]*s[0],i=1/(e[0]*t[1]-e[1]*t[0]);return[(r*t[0]-n*e[0])*i,(r*t[1]-n*e[1])*i]}var i=e,a=t[t.length-1];for(var o in t){var s,l=t[o],u=i,i=[],f=u[u.length-1];for(var c in u){r(s=u[c])?(r(f)||i.push(n()),i.push(s)):r(f)&&i.push(n()),f=s}a=l}return i}},de.UDOC.M={getScale:function(e){return Math.sqrt(Math.abs(e[0]*e[3]-e[1]*e[2]))},translate:function(e,t,r){de.UDOC.M.concat(e,[1,0,0,1,t,r])},rotate:function(e,t){de.UDOC.M.concat(e,[Math.cos(t),-Math.sin(t),Math.sin(t),Math.cos(t),0,0])},scale:function(e,t,r){de.UDOC.M.concat(e,[t,0,0,r,0,0])},concat:function(e,t){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5];e[0]=r*t[0]+n*t[2],e[1]=r*t[1]+n*t[3],e[2]=i*t[0]+a*t[2],e[3]=i*t[1]+a*t[3],e[4]=o*t[0]+s*t[2]+t[4],e[5]=o*t[1]+s*t[3]+t[5]},invert:function(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=e[4],o=e[5],s=t*i-r*n;e[0]=i/s,e[1]=-r/s,e[2]=-n/s,e[3]=t/s,e[4]=(n*o-i*a)/s,e[5]=(r*a-t*o)/s},multPoint:function(e,t){var r=t[0],n=t[1];return[r*e[0]+n*e[2]+e[4],r*e[1]+n*e[3]+e[5]]},multArray:function(e,t){for(var r=0;r<t.length;r+=2){var n=t[r],i=t[r+1];t[r]=n*e[0]+i*e[2]+e[4],t[r+1]=n*e[1]+i*e[3]+e[5]}}},de.UDOC.C={srgbGamma:function(e){return e<.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055},cmykToRgb:function(e){var t=e[0],r=e[1],n=e[2],i=e[3],a=255+t*(-4.387332384609988*t+54.48615194189176*r+18.82290502165302*n+212.25662451639585*i-285.2331026137004)+r*(1.7149763477362134*r-5.6096736904047315*n+-17.873870861415444*i-5.497006427196366)+n*(-2.5217340131683033*n-21.248923337353073*i+17.5119270841813)+i*(-21.86122147463605*i-189.48180835922747),o=255+t*(8.841041422036149*t+60.118027045597366*r+6.871425592049007*n+31.159100130055922*i-79.2970844816548)+r*(-15.310361306967817*r+17.575251261109482*n+131.35250912493976*i-190.9453302588951)+n*(4.444339102852739*n+9.8632861493405*i-24.86741582555878)+i*(-20.737325471181034*i-187.80453709719578),s=255+t*(.8842522430003296*t+8.078677503112928*r+30.89978309703729*n-.23883238689178934*i-14.183576799673286)+r*(10.49593273432072*r+63.02378494754052*n+50.606957656360734*i-112.23884253719248)+n*(.03296041114873217*n+115.60384449646641*i-193.58209356861505)+i*(-22.33816807309886*i-180.12613974708367);return[Math.max(0,Math.min(1,a/255)),Math.max(0,Math.min(1,o/255)),Math.max(0,Math.min(1,s/255))]},labToRgb:function(e){for(var t=e[0],r=e[1],n=(t+16)/116,i=n*n*n,a=n-e[2]/200,o=a*a*a,s=r/500+n,l=s*s*s,u=[96.72*(.008856<l?l:(116*s-16)/903.3)/100,100*(.008856<i?i:(116*n-16)/903.3)/100,81.427*(.008856<o?o:(116*a-16)/903.3)/100],f=[3.1338561,-1.6168667,-.4906146,-.9787684,1.9161415,.033454,.0719453,-.2289914,1.4052427],c=[f[0]*u[0]+f[1]*u[1]+f[2]*u[2],f[3]*u[0]+f[4]*u[1]+f[5]*u[2],f[6]*u[0]+f[7]*u[1]+f[8]*u[2]],h=0;h<3;h++)c[h]=Math.max(0,Math.min(1,de.UDOC.C.srgbGamma(c[h])));return c}},de.UDOC.getState=function(e){return{font:de.UDOC.getFont(),dd:{flat:1},space:"/DeviceGray",ca:1,colr:[0,0,0],sspace:"/DeviceGray",CA:1,COLR:[0,0,0],bmode:"/Normal",SA:!1,OPM:0,AIS:!1,OP:!1,op:!1,SMask:"/None",lwidth:1,lcap:0,ljoin:0,mlimit:10,SM:.1,doff:0,dash:[],ctm:[1,0,0,1,0,0],cpos:[0,0],pth:{cmds:[],crds:[]},cpth:e?de.UDOC.G.rectToPath(e):null}},de.UDOC.getFont=function(){return{Tc:0,Tw:0,Th:100,Tl:0,Tf:"Helvetica-Bold",Tfs:1,Tmode:0,Trise:0,Tk:0,Tal:0,Tun:0,Tm:[1,0,0,1,0,0],Tlm:[1,0,0,1,0,0],Trm:[1,0,0,1,0,0]}},de.FromEMF=function(){},de.FromEMF.Parse=function(e,t){e=new Uint8Array(e);for(var r,n=0,i={fill:!1,strk:!1,bb:[0,0,1,1],wbb:[0,0,1,1],fnt:{nam:"Arial",hgh:25,und:!1,orn:0},tclr:[0,0,0],talg:0},a=[],o=[],s=de.FromEMF.B.readShort,l=de.FromEMF.B.readUshort,u=de.FromEMF.B.readInt,f=de.FromEMF.B.readUint,c=de.FromEMF.B.readFloat;;){var h=f(e,n);n+=4;var d,p,m=de.FromEMF.K[h],g=f(e,n),y=n+=4,_=null,b=0;if(0,"EOF"==m)break;if("HEADER"==m)i.bb=de.FromEMF._readBox(e,y),y+=16,t.StartPage(i.bb[0],i.bb[1],i.bb[2],i.bb[3]),r=de.UDOC.getState(i.bb);else if("SAVEDC"==m)o.push(JSON.stringify(r),JSON.stringify(i));else if("RESTOREDC"==m){var v=u(e,y);for(y+=4;v<-1;)o.pop(),o.pop();i=JSON.parse(o.pop()),r=JSON.parse(o.pop())}else if("SELECTCLIPPATH"==m)r.cpth=JSON.parse(JSON.stringify(r.pth));else if(-1==["SETMAPMODE","SETPOLYFILLMODE","SETBKMODE","SETICMMODE","SETROP2","EXTSELECTCLIPRGN"].indexOf(m))if("SETMITERLIMIT"==m)r.mlimit=f(e,y);else if("SETTEXTCOLOR"==m)i.tclr=[e[y]/255,e[y+1]/255,e[y+2]/255];else if("SETTEXTALIGN"==m)i.talg=f(e,y);else if("SETVIEWPORTEXTEX"==m||"SETVIEWPORTORGEX"==m){null==i.vbb&&(i.vbb=[]);var w="SETVIEWPORTORGEX"==m?0:2;i.vbb[w]=u(e,y),y+=4,i.vbb[w+1]=u(e,y),y+=4,"SETVIEWPORTEXTEX"==m&&de.FromEMF._updateCtm(i,r)}else if("SETWINDOWEXTEX"==m||"SETWINDOWORGEX"==m){w="SETWINDOWORGEX"==m?0:2;i.wbb[w]=u(e,y),y+=4,i.wbb[w+1]=u(e,y),y+=4,"SETWINDOWEXTEX"==m&&de.FromEMF._updateCtm(i,r)}else if("COMMENT"==m){f(e,y);y+=4}else if("SELECTOBJECT"==m){var E=f(e,y);if(y+=4,2147483648==E)i.fill=!0,r.colr=[1,1,1];else if(2147483653==E)i.fill=!1;else if(2147483655==E)i.strk=!0,i.lwidth=1,r.COLR=[0,0,0];else if(2147483656==E)i.strk=!1;else if(2147483661!=E&&2147483662!=E){var S=a[E];if("b"==S.t){if(i.fill=1!=S.stl,0!=S.stl&&1!=S.stl)throw S.stl+" e";r.colr=S.clr}else if("p"==S.t)i.strk=5!=S.stl,r.lwidth=S.wid,r.COLR=S.clr;else{if("f"!=S.t)throw"e";i.fnt=S,r.font.Tf=S.nam,r.font.Tfs=Math.abs(S.hgh),r.font.Tun=S.und}}}else if("DELETEOBJECT"==m){E=f(e,y);if(y+=4,null==a[E])throw"e";a[E]=null}else if("CREATEBRUSHINDIRECT"==m)b=f(e,y),(_={t:"b"}).stl=f(e,y+=4),y+=4,_.clr=[e[y]/255,e[y+1]/255,e[y+2]/255],y+=4,_.htc=f(e,y),y+=4;else if("CREATEPEN"==m||"EXTCREATEPEN"==m)b=f(e,y),y+=4,"EXTCREATEPEN"==m&&(y+=16),(_={t:"p"}).stl=f(e,y),y+=4,_.wid=f(e,y),y+=4,y+=4,_.clr=[e[y]/255,e[y+1]/255,e[y+2]/255],y+=4;else if("EXTCREATEFONTINDIRECTW"==m){b=f(e,y),(_={t:"f",nam:""}).hgh=u(e,y+=4),y+=4,y+=8,_.orn=u(e,y)/10;var C=f(e,y+=4);for(y+=4,_.und=e[y+1],_.stk=e[y+2],y+=8;0!=l(e,y);)_.nam+=String.fromCharCode(l(e,y)),y+=2;500<C&&(_.nam+="-Bold")}else if("EXTTEXTOUTW"==m){var k=f(e,y+=16),T=(c(e,y+=4),c(e,y+=4),u(e,y+=4)),x=u(e,y+=4);y+=4,r.font.Tm=[1,0,0,-1,0,0],de.UDOC.M.rotate(r.font.Tm,i.fnt.orn*Math.PI/180),de.UDOC.M.translate(r.font.Tm,T,x);var R=i.talg;if(6==(6&R))r.font.Tal=2;else{if(0!=(7&R))throw R+" e";r.font.Tal=0}if(24!=(24&R)){if(0!=(24&R))throw"e";de.UDOC.M.translate(r.font.Tm,0,r.font.Tfs)}var L=f(e,y),A=f(e,y+=4);f(e,y+=4);y+=4;f(e,y+=16);y+=4,A+=n-8;for(var O="",I=0;I<L;I++){var F=l(e,A+2*I);O+=String.fromCharCode(F)}var M=r.colr;r.colr=i.tclr,t.PutText(r,O,O.length*r.font.Tfs*.5),r.colr=M}else if("BEGINPATH"==m)de.UDOC.G.newPath(r);else if("ENDPATH"!=m)if("CLOSEFIGURE"==m)de.UDOC.G.closePath(r);else if("MOVETOEX"==m)de.UDOC.G.moveTo(r,u(e,y),u(e,y+4));else if("LINETO"==m){0==r.pth.cmds.length&&(d=r.ctm.slice(0),de.UDOC.M.invert(d),p=de.UDOC.M.multPoint(d,r.cpos),de.UDOC.G.moveTo(r,p[0],p[1])),de.UDOC.G.lineTo(r,u(e,y),u(e,y+4))}else if("POLYGON"==m||"POLYGON16"==m||"POLYLINE"==m||"POLYLINE16"==m||"POLYLINETO"==m||"POLYLINETO16"==m){y+=16;var B=m.startsWith("POLYGON"),P=-1!=m.indexOf("TO"),D=f(e,y);y+=4,P||de.UDOC.G.newPath(r),y=de.FromEMF._drawPoly(e,y,D,r,m.endsWith("16")?2:4,B,P),P||de.FromEMF._draw(t,r,i,B)}else if("POLYPOLYGON16"==m){y+=16;var B=m.startsWith("POLYPOLYGON"),P=-1!=m.indexOf("TO"),N=f(e,y);y+=4;var z=y+=4;y+=4*N,P||de.UDOC.G.newPath(r);for(I=0;I<N;I++)var U=l(e,z+4*I),y=de.FromEMF._drawPoly(e,y,U,r,m.endsWith("16")?2:4,B,P);P||de.FromEMF._draw(t,r,i,B)}else if("POLYBEZIER"==m||"POLYBEZIER16"==m||"POLYBEZIERTO"==m||"POLYBEZIERTO16"==m){y+=16;var j=m.endsWith("16"),W=j?s:u,X=j?2:4,D=f(e,y);for(y+=4,-1==m.indexOf("TO")&&(de.UDOC.G.moveTo(r,W(e,y),W(e,y+X)),y+=2*X,D--);0<D;)de.UDOC.G.curveTo(r,W(e,y),W(e,y+X),W(e,y+2*X),W(e,y+3*X),W(e,y+4*X),W(e,y+5*X)),y+=6*X,D-=3}else if("RECTANGLE"==m||"ELLIPSE"==m){de.UDOC.G.newPath(r);var H=de.FromEMF._readBox(e,y);"RECTANGLE"==m?(de.UDOC.G.moveTo(r,H[0],H[1]),de.UDOC.G.lineTo(r,H[2],H[1]),de.UDOC.G.lineTo(r,H[2],H[3]),de.UDOC.G.lineTo(r,H[0],H[3])):(ue=(H[0]+H[2])/2,le=(H[1]+H[3])/2,de.UDOC.G.arc(r,ue,le,(H[2]-H[0])/2,0,2*Math.PI,!1)),de.UDOC.G.closePath(r),de.FromEMF._draw(t,r,i,!0)}else if("FILLPATH"==m)t.Fill(r,!1);else if("STROKEPATH"==m)t.Stroke(r);else if("STROKEANDFILLPATH"==m)t.Fill(r,!1),t.Stroke(r);else if("SETWORLDTRANSFORM"==m||"MODIFYWORLDTRANSFORM"==m){for(var Z=[],I=0;I<6;I++)Z.push(c(e,y+4*I));if(y+=24,"SETWORLDTRANSFORM"==m)r.ctm=Z;else{k=f(e,y);if(y+=4,2!=k)throw"e";var G=r.ctm;r.ctm=Z,de.UDOC.M.concat(r.ctm,G)}}else if("SETSTRETCHBLTMODE"==m){f(e,y);y+=4}else if("STRETCHDIBITS"==m){var H=de.FromEMF._readBox(e,y),Y=u(e,y+=16),q=u(e,y+=4),V=(u(e,y+=4),u(e,y+=4),u(e,y+=4)),K=u(e,y+=4),J=f(e,y+=4)+n-8,$=(f(e,y+=4),f(e,y+=4)+n-8);f(e,y+=4);if(0!=f(e,y+=4))throw"e";f(e,y+=4);var Q=u(e,y+=4),ee=u(e,y+=4);y+=4;f(e,J);var te=f(e,J+=4),re=f(e,J+=4);if(te!=V||re!=K)throw"e";var ne=l(e,J+=4),ie=l(e,J+=2);if(8!=ie&&24!=ie&&32!=ie)throw ie+" e";var ae=f(e,J+=2);if(0!=ae)throw ae+" e";f(e,J+=4),f(e,J+=4),f(e,J+=4),f(e,J+=4),f(e,J+=4);J+=4;var oe=Math.floor((te*ne*ie+31&-32)/8),se=new Uint8Array(te*re*4);if(8==ie)for(var le=0;le<re;le++)for(var ue=0;ue<te;ue++){var fe=le*te+ue<<2,E=e[$+(re-1-le)*oe+ue]<<2;se[fe]=e[J+E+2],se[fe+1]=e[J+E+1],se[fe+2]=e[J+E+0],se[fe+3]=255}if(24==ie)for(le=0;le<re;le++)for(ue=0;ue<te;ue++){var ce=$+(re-1-le)*oe+3*ue;se[fe=le*te+ue<<2]=e[ce+2],se[fe+1]=e[ce+1],se[fe+2]=e[ce+0],se[fe+3]=255}if(32==ie)for(le=0;le<re;le++)for(ue=0;ue<te;ue++){ce=$+(re-1-le)*oe+4*ue;se[fe=le*te+ue<<2]=e[ce+2],se[fe+1]=e[ce+1],se[fe+2]=e[ce+0],se[fe+3]=e[ce+3]}var he=r.ctm.slice(0);r.ctm=[1,0,0,1,0,0],de.UDOC.M.scale(r.ctm,Q,-ee),de.UDOC.M.translate(r.ctm,Y,q+ee),de.UDOC.M.concat(r.ctm,he),t.PutImage(r,se,te,re),r.ctm=he}else console.log(m,g);null!=_&&(a[b]=_),n+=g-8}t.ShowPage(),t.Done()},de.FromEMF._readBox=function(e,t){for(var r=[],n=0;n<4;n++)r[n]=de.FromEMF.B.readInt(e,t+4*n);return r},de.FromEMF._updateCtm=function(e,t){var r=[1,0,0,1,0,0],n=e.wbb,i=(e.bb,e.vbb&&4==e.vbb.length?e.vbb:e.bb);de.UDOC.M.translate(r,-n[0],-n[1]),de.UDOC.M.scale(r,1/n[2],1/n[3]),de.UDOC.M.scale(r,i[2],i[3]),t.ctm=r},de.FromEMF._draw=function(e,t,r,n){r.fill&&n&&e.Fill(t,!1),r.strk&&0!=t.lwidth&&e.Stroke(t)},de.FromEMF._drawPoly=function(e,t,r,n,i,a,o){for(var s=2==i?de.FromEMF.B.readShort:de.FromEMF.B.readInt,l=0;l<r;l++){var u=s(e,t),f=s(e,t+=i);t+=i,0!=l||o?de.UDOC.G.lineTo(n,u,f):de.UDOC.G.moveTo(n,u,f)}return a&&de.UDOC.G.closePath(n),t},de.FromEMF.B={uint8:new Uint8Array(4),readShort:function(e,t){var r=de.FromEMF.B.uint8;return r[0]=e[t],r[1]=e[t+1],de.FromEMF.B.int16[0]},readUshort:function(e,t){var r=de.FromEMF.B.uint8;return r[0]=e[t],r[1]=e[t+1],de.FromEMF.B.uint16[0]},readInt:function(e,t){var r=de.FromEMF.B.uint8;return r[0]=e[t],r[1]=e[t+1],r[2]=e[t+2],r[3]=e[t+3],de.FromEMF.B.int32[0]},readUint:function(e,t){var r=de.FromEMF.B.uint8;return r[0]=e[t],r[1]=e[t+1],r[2]=e[t+2],r[3]=e[t+3],de.FromEMF.B.uint32[0]},readFloat:function(e,t){var r=de.FromEMF.B.uint8;return r[0]=e[t],r[1]=e[t+1],r[2]=e[t+2],r[3]=e[t+3],de.FromEMF.B.flot32[0]},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n}},de.FromEMF.B.int16=new Int16Array(de.FromEMF.B.uint8.buffer),de.FromEMF.B.uint16=new Uint16Array(de.FromEMF.B.uint8.buffer),de.FromEMF.B.int32=new Int32Array(de.FromEMF.B.uint8.buffer),de.FromEMF.B.uint32=new Uint32Array(de.FromEMF.B.uint8.buffer),de.FromEMF.B.flot32=new Float32Array(de.FromEMF.B.uint8.buffer),de.FromEMF.C={EMR_HEADER:1,EMR_POLYBEZIER:2,EMR_POLYGON:3,EMR_POLYLINE:4,EMR_POLYBEZIERTO:5,EMR_POLYLINETO:6,EMR_POLYPOLYLINE:7,EMR_POLYPOLYGON:8,EMR_SETWINDOWEXTEX:9,EMR_SETWINDOWORGEX:10,EMR_SETVIEWPORTEXTEX:11,EMR_SETVIEWPORTORGEX:12,EMR_SETBRUSHORGEX:13,EMR_EOF:14,EMR_SETPIXELV:15,EMR_SETMAPPERFLAGS:16,EMR_SETMAPMODE:17,EMR_SETBKMODE:18,EMR_SETPOLYFILLMODE:19,EMR_SETROP2:20,EMR_SETSTRETCHBLTMODE:21,EMR_SETTEXTALIGN:22,EMR_SETCOLORADJUSTMENT:23,EMR_SETTEXTCOLOR:24,EMR_SETBKCOLOR:25,EMR_OFFSETCLIPRGN:26,EMR_MOVETOEX:27,EMR_SETMETARGN:28,EMR_EXCLUDECLIPRECT:29,EMR_INTERSECTCLIPRECT:30,EMR_SCALEVIEWPORTEXTEX:31,EMR_SCALEWINDOWEXTEX:32,EMR_SAVEDC:33,EMR_RESTOREDC:34,EMR_SETWORLDTRANSFORM:35,EMR_MODIFYWORLDTRANSFORM:36,EMR_SELECTOBJECT:37,EMR_CREATEPEN:38,EMR_CREATEBRUSHINDIRECT:39,EMR_DELETEOBJECT:40,EMR_ANGLEARC:41,EMR_ELLIPSE:42,EMR_RECTANGLE:43,EMR_ROUNDRECT:44,EMR_ARC:45,EMR_CHORD:46,EMR_PIE:47,EMR_SELECTPALETTE:48,EMR_CREATEPALETTE:49,EMR_SETPALETTEENTRIES:50,EMR_RESIZEPALETTE:51,EMR_REALIZEPALETTE:52,EMR_EXTFLOODFILL:53,EMR_LINETO:54,EMR_ARCTO:55,EMR_POLYDRAW:56,EMR_SETARCDIRECTION:57,EMR_SETMITERLIMIT:58,EMR_BEGINPATH:59,EMR_ENDPATH:60,EMR_CLOSEFIGURE:61,EMR_FILLPATH:62,EMR_STROKEANDFILLPATH:63,EMR_STROKEPATH:64,EMR_FLATTENPATH:65,EMR_WIDENPATH:66,EMR_SELECTCLIPPATH:67,EMR_ABORTPATH:68,EMR_COMMENT:70,EMR_FILLRGN:71,EMR_FRAMERGN:72,EMR_INVERTRGN:73,EMR_PAINTRGN:74,EMR_EXTSELECTCLIPRGN:75,EMR_BITBLT:76,EMR_STRETCHBLT:77,EMR_MASKBLT:78,EMR_PLGBLT:79,EMR_SETDIBITSTODEVICE:80,EMR_STRETCHDIBITS:81,EMR_EXTCREATEFONTINDIRECTW:82,EMR_EXTTEXTOUTA:83,EMR_EXTTEXTOUTW:84,EMR_POLYBEZIER16:85,EMR_POLYGON16:86,EMR_POLYLINE16:87,EMR_POLYBEZIERTO16:88,EMR_POLYLINETO16:89,EMR_POLYPOLYLINE16:90,EMR_POLYPOLYGON16:91,EMR_POLYDRAW16:92,EMR_CREATEMONOBRUSH:93,EMR_CREATEDIBPATTERNBRUSHPT:94,EMR_EXTCREATEPEN:95,EMR_POLYTEXTOUTA:96,EMR_POLYTEXTOUTW:97,EMR_SETICMMODE:98,EMR_CREATECOLORSPACE:99,EMR_SETCOLORSPACE:100,EMR_DELETECOLORSPACE:101,EMR_GLSRECORD:102,EMR_GLSBOUNDEDRECORD:103,EMR_PIXELFORMAT:104,EMR_DRAWESCAPE:105,EMR_EXTESCAPE:106,EMR_SMALLTEXTOUT:108,EMR_FORCEUFIMAPPING:109,EMR_NAMEDESCAPE:110,EMR_COLORCORRECTPALETTE:111,EMR_SETICMPROFILEA:112,EMR_SETICMPROFILEW:113,EMR_ALPHABLEND:114,EMR_SETLAYOUT:115,EMR_TRANSPARENTBLT:116,EMR_GRADIENTFILL:118,EMR_SETLINKEDUFIS:119,EMR_SETTEXTJUSTIFICATION:120,EMR_COLORMATCHTOTARGETW:121,EMR_CREATECOLORSPACEW:122},de.FromEMF.K=[],de.ToContext2D=function(e,t){this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.bb=null,this.currPage=0,this.needPage=e,this.scale=t},de.ToContext2D.prototype.StartPage=function(e,t,r,n){var i,a,o,s;this.currPage==this.needPage&&(this.bb=[e,t,r,n],i=this.scale,a=window.devicePixelRatio,o=this.canvas,s=this.ctx,o.width=Math.round(r*i),o.height=Math.round(n*i),s.translate(0,n*i),s.scale(i,-i),o.setAttribute("style","border:1px solid; width:"+o.width/a+"px; height:"+o.height/a+"px"))},de.ToContext2D.prototype.Fill=function(e,t){var r;this.currPage==this.needPage&&((r=this.ctx).beginPath(),this._setStyle(e,r),this._draw(e.pth,r),r.fill())},de.ToContext2D.prototype.Stroke=function(e){var t;this.currPage==this.needPage&&((t=this.ctx).beginPath(),this._setStyle(e,t),this._draw(e.pth,t),t.stroke())},de.ToContext2D.prototype.PutText=function(e,t,r){var n,i;this.currPage==this.needPage&&(this._scale(e.ctm),n=this.ctx,this._setStyle(e,n),n.save(),i=[1,0,0,-1,0,0],this._concat(i,e.font.Tm),this._concat(i,e.ctm),n.transform(i[0],i[1],i[2],i[3],i[4],i[5]),n.fillText(t,0,0),n.restore())},de.ToContext2D.prototype.PutImage=function(e,t,r,n,i){if(this.currPage==this.needPage){var a=this.ctx;if(t.length==r*n*4){if(t=t.slice(0),i&&i.length==r*n*4)for(var o=0;o<t.length;o+=4)t[o+3]=i[o+1];var s=document.createElement("canvas"),l=s.getContext("2d");s.width=r,s.height=n;for(var u=l.createImageData(r,n),o=0;o<t.length;o++)u.data[o]=t[o];l.putImageData(u,0,0),a.save();var f=[1,0,0,1,0,0];this._concat(f,[1/r,0,0,-1/n,0,1]),this._concat(f,e.ctm),a.transform(f[0],f[1],f[2],f[3],f[4],f[5]),a.drawImage(s,0,0),a.restore()}}},de.ToContext2D.prototype.ShowPage=function(){this.currPage++},de.ToContext2D.prototype.Done=function(){},de.ToContext2D.prototype._setStyle=function(e,t){var r=this._scale(e.ctm);t.fillStyle=this._getFill(e.colr,e.ca,t),t.strokeStyle=this._getFill(e.COLR,e.CA,t),t.lineCap=["butt","round","square"][e.lcap],t.lineJoin=["miter","round","bevel"][e.ljoin],t.lineWidth=e.lwidth*r;for(var n,i=e.dash.slice(0),a=0;a<i.length;a++)i[a]=(n=i[a]*r,""+parseFloat(n.toFixed(2)));t.setLineDash(i),t.miterLimit=e.mlimit*r;var o=e.font.Tf,s=o.toLowerCase(),l=-1!=s.indexOf("bold")?"bold ":"",u=-1!=s.indexOf("italic")||-1!=s.indexOf("oblique")?"italic ":"";t.font=l+u+e.font.Tfs+'px "'+o+'"'},de.ToContext2D.prototype._getFill=function(e,t,r){if(null==e.typ)return this._colr(e,t);var n,i,a,o=e,s=o.crds,l=o.mat,u=this._scale(l);"lin"==o.typ?(i=this._multPoint(l,s.slice(0,2)),a=this._multPoint(l,s.slice(2)),n=r.createLinearGradient(i[0],i[1],a[0],a[1])):"rad"==o.typ&&(i=this._multPoint(l,s.slice(0,2)),a=this._multPoint(l,s.slice(3)),n=r.createRadialGradient(i[0],i[1],s[2]*u,a[0],a[1],s[5]*u));for(var f=0;f<o.grad.length;f++)n.addColorStop(o.grad[f][0],this._colr(o.grad[f][1],t));return n},de.ToContext2D.prototype._colr=function(e,t){return"rgba("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+","+t+")"},de.ToContext2D.prototype._scale=function(e){return Math.sqrt(Math.abs(e[0]*e[3]-e[1]*e[2]))},de.ToContext2D.prototype._concat=function(e,t){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5];e[0]=r*t[0]+n*t[2],e[1]=r*t[1]+n*t[3],e[2]=i*t[0]+a*t[2],e[3]=i*t[1]+a*t[3],e[4]=o*t[0]+s*t[2]+t[4],e[5]=o*t[1]+s*t[3]+t[5]},de.ToContext2D.prototype._multPoint=function(e,t){var r=t[0],n=t[1];return[r*e[0]+n*e[2]+e[4],r*e[1]+n*e[3]+e[5]]},de.ToContext2D.prototype._draw=function(e,t){for(var r=0,n=e.crds,i=0;i<e.cmds.length;i++){var a=e.cmds[i];"M"==a?(t.moveTo(n[r],n[r+1]),r+=2):"L"==a?(t.lineTo(n[r],n[r+1]),r+=2):"C"==a?(t.bezierCurveTo(n[r],n[r+1],n[r+2],n[r+3],n[r+4],n[r+5]),r+=6):"Q"==a?(t.quadraticCurveTo(n[r],n[r+1],n[r+2],n[r+3]),r+=4):"Z"==a&&t.closePath()}}},{}],93:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getBinaryContent=r.isContainMultiType=r.isKoera=r.isJapanese=r.isChinese=r.fromulaRef=r.escapeCharacter=r.generateRandomIndex=r.LightenDarkenColor=r.getRowHeightPixel=r.getColumnWidthPixel=r.getXmlAttibute=r.getPxByEMUs=r.getptToPxRatioByDPI=r.getcellrange=r.getRangetxt=void 0;var l=e("./constant");function y(e){var t=(e=e.toUpperCase()).length;if(0==t)return NaN;for(var r=e.split(""),n=l.columeHeader_word.length,i=0,a=t-1;0<=a;a--)i+=a==t-1?l.columeHeader_word_index[r[a]]:Math.pow(n,t-a-1)*(l.columeHeader_word_index[r[a]]+1);return i}function _(e){var t=l.columeHeader_word.length;if(e<t)return l.columeHeader_word[e];for(var r=0,n="",i=1,a=0;e>=t/(t-1)*(Math.pow(t,i++)-1);)a=i;for(var r=1+(e-t/(t-1)*(Math.pow(t,a-1)-1)),o=a;0<o;o--){var s=r;if(1==o)return 0==(s%=t)&&(s=26),n+l.columeHeader_word[s-1];s=Math.ceil(s/Math.pow(t,o-1)),n+=l.columeHeader_word[s-1],1<o&&(r-=(s-1)*t)}}function n(){return.75}r.getRangetxt=function(e,t){var r=e.row[0],n=e.row[1],i=e.column[0],a=e.column[1];return null==r&&null==n?t+_(i)+":"+_(a):null==i&&null==a?t+(r+1)+":"+(n+1):i==a&&r==n?t+_(i)+(r+1):t+_(i)+(r+1)+":"+_(a)+(n+1)},r.getcellrange=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r="1");var n,i,a=e.split("!"),o="",s=-1;if(1<a.length?(n=a[0],o=a[1],s=null==(i=t[n])?parseInt(r):parseInt(i)):(s=parseInt(r),o=a[0]),-1==o.indexOf(":")){var l=parseInt(o.replace(/[^0-9]/g,""))-1,u=y(o.replace(/[^A-Za-z]/g,""));return isNaN(l)||isNaN(u)?null:{row:[l,l],column:[u,u],sheetIndex:s}}var f=o.split(":"),u=[];return(l=[])[0]=parseInt(f[0].replace(/[^0-9]/g,""))-1,l[1]=parseInt(f[1].replace(/[^0-9]/g,""))-1,l[0]>l[1]?null:(u[0]=y(f[0].replace(/[^A-Za-z]/g,"")),u[1]=y(f[1].replace(/[^A-Za-z]/g,"")),u[0]>u[1]?null:{row:l,column:u,sheetIndex:s})},r.getptToPxRatioByDPI=n,r.getPxByEMUs=function(e){return null==e?0:72*(e/914400)/.75},r.getXmlAttibute=function(e,t,r){var n=e[t];return n=null==n?r:n},r.getColumnWidthPixel=function(e){return Math.round(8*(e-.83)+5)},r.getRowHeightPixel=function(e){return Math.round(e/.75)},r.LightenDarkenColor=function(e,t){var r=e.substring(e.length-6,e.length),n=function(e){var t=e.toLowerCase();if(t&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t)){if(4===t.length){for(var r="#",n=1;n<4;n+=1)r+=t.slice(n,n+1).concat(t.slice(n,n+1));t=r}for(var i=[],n=1;n<7;n+=2)i.push(parseInt("0x"+t.slice(n,n+2)));return i}return null}("#"+r),i=function(e,t,r){e/=255,t/=255,r/=255;var n,i,a=Math.max(e,t,r),o=Math.min(e,t,r),s=(a+o)/2;if(a==o)n=i=0;else{var l=a-o;switch(i=.5<s?l/(2-a-o):l/(a+o),a){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return[n,i,s]}(n[0],n[1],n[2]);if(0<t)i[2]=i[2]*(1-t)+t;else{if(!(t<0))return"#"+r;i[2]=i[2]*(1+t)}return function(e){{if(/^(rgb|RGB)/.test(e)){for(var t=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),r="#",n=0;n<t.length;n++){var i=Number(t[n]).toString(16);i.length<2&&(i="0"+i),r+=i}return 7!==r.length&&(r=e),r}if(/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){var a=e.replace(/#/,"").split("");if(6===a.length)return e;if(3===a.length){for(var o="#",n=0;n<a.length;n+=1)o+=a[n]+a[n];return o}}}return e}("RGB("+function(e,t,r){var n,i,a;{var o,s,l;0==t?n=i=a=r:(n=(o=function(e,t,r){return r<0&&(r+=1),1<r&&--r,r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e})(l=2*r-(s=r<.5?r*(1+t):r+t-r*t),s,e+1/3),i=o(l,s,e),a=o(l,s,e-1/3))}return[Math.round(255*n),Math.round(255*i),Math.round(255*a)]}(i[0],i[1],i[2]).join(",")+")")},r.generateRandomIndex=function(e){null==e&&(e="Sheet");for(var t=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),r="",n=0;n<5;n++)r+=t[Math.round(Math.random()*(t.length-1))];return e+"_"+r+"_"+(new Date).getTime()},r.escapeCharacter=function(e){return null==e||0==e.length?e:e.replace(/&/g,"&").replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/'/g,"'").replace(/¡/g,"¡").replace(/¢/g,"¢").replace(/£/g,"£").replace(/¤/g,"¤").replace(/¥/g,"¥").replace(/¦/g,"¦").replace(/§/g,"§").replace(/¨/g,"¨").replace(/©/g,"©").replace(/ª/g,"ª").replace(/«/g,"«").replace(/¬/g,"¬").replace(/­/g,"").replace(/®/g,"®").replace(/¯/g,"¯").replace(/°/g,"°").replace(/±/g,"±").replace(/²/g,"²").replace(/³/g,"³").replace(/´/g,"´").replace(/µ/g,"µ").replace(/¶/g,"¶").replace(/·/g,"·").replace(/¸/g,"¸").replace(/¹/g,"¹").replace(/º/g,"º").replace(/»/g,"»").replace(/¼/g,"¼").replace(/½/g,"½").replace(/¾/g,"¾").replace(/¿/g,"¿").replace(/×/g,"×").replace(/÷/g,"÷").replace(/À/g,"À").replace(/Á/g,"Á").replace(/Â/g,"Â").replace(/Ã/g,"Ã").replace(/Ä/g,"Ä").replace(/Å/g,"Å").replace(/Æ/g,"Æ").replace(/Ç/g,"Ç").replace(/È/g,"È").replace(/É/g,"É").replace(/Ê/g,"Ê").replace(/Ë/g,"Ë").replace(/Ì/g,"Ì").replace(/Í/g,"Í").replace(/Î/g,"Î").replace(/Ï/g,"Ï").replace(/Ð/g,"Ð").replace(/Ñ/g,"Ñ").replace(/Ò/g,"Ò").replace(/Ó/g,"Ó").replace(/Ô/g,"Ô").replace(/Õ/g,"Õ").replace(/Ö/g,"Ö").replace(/Ø/g,"Ø").replace(/Ù/g,"Ù").replace(/Ú/g,"Ú").replace(/Û/g,"Û").replace(/Ü/g,"Ü").replace(/Ý/g,"Ý").replace(/Þ/g,"Þ").replace(/ß/g,"ß").replace(/à/g,"à").replace(/á/g,"á").replace(/â/g,"â").replace(/ã/g,"ã").replace(/ä/g,"ä").replace(/å/g,"å").replace(/æ/g,"æ").replace(/ç/g,"ç").replace(/è/g,"è").replace(/é/g,"é").replace(/ê/g,"ê").replace(/ë/g,"ë").replace(/ì/g,"ì").replace(/í/g,"í").replace(/î/g,"î").replace(/ï/g,"ï").replace(/ð/g,"ð").replace(/ñ/g,"ñ").replace(/ò/g,"ò").replace(/ó/g,"ó").replace(/ô/g,"ô").replace(/õ/g,"õ").replace(/ö/g,"ö").replace(/ø/g,"ø").replace(/ù/g,"ù").replace(/ú/g,"ú").replace(/û/g,"û").replace(/ü/g,"ü").replace(/ý/g,"ý").replace(/þ/g,"þ").replace(/ÿ/g,"ÿ")};var i=(a.trim=function(e){return null==e&&(e=""),e.replace(/(^\s*)|(\s*$)/g,"")},a.functionCopy=function(e,t,r){var n=this;if(null==n.operatorjson){for(var i=n.operator.split("|"),a={},o=0;o<i.length;o++)a[i[o].toString()]=1;n.operatorjson=a}null==t&&(t="down"),null==r&&(r=1),"="==e.substr(0,1)&&(e=e.substr(1));for(var s=e.split(""),l=0,u="",f="",c={bracket:0,comma:0,squote:0,dquote:0};l<s.length;){var h=s[l];if("("==h&&0==c.dquote)c.bracket+=1,0<u.length?f+=u+"(":f+="(",u="";else if(")"==h&&0==c.dquote)--c.bracket,f+=n.functionCopy(u,t,r)+")",u="";else if('"'==h&&0==c.squote)0<c.dquote?(f+=u+'"',--c.dquote,u=""):(c.dquote+=1,u+='"');else if(","==h&&0==c.dquote)f+=n.functionCopy(u,t,r)+",",u="";else if("&"==h&&0==c.dquote)0<u.length?(f+=n.functionCopy(u,t,r)+"&",u=""):f+="&";else if(h in n.operatorjson&&0==c.dquote){var d="";l+1<s.length&&(d=s[l+1]);var p=l-1,m=null;if(0<=p)for(;m=s[p--],0<=p&&" "==m;);h+d in n.operatorjson?(0<u.length?(f+=n.functionCopy(u,t,r)+h+d,u=""):f+=h+d,l++):!/[^0-9]/.test(d)&&"-"==h&&("("==m||null==m||","==m||" "==m||m in n.operatorjson)?u+=h:0<u.length?(f+=n.functionCopy(u,t,r)+h,u=""):f+=h}else u+=h;l==s.length-1&&(n.iscelldata(n.trim(u))?"down"==t?f+=n.downparam(n.trim(u),r):"up"==t?f+=n.upparam(n.trim(u),r):"left"==t?f+=n.leftparam(n.trim(u),r):"right"==t&&(f+=n.rightparam(n.trim(u),r)):f+=n.trim(u)),l++}return f},a.downparam=function(e,t){return this.updateparam("d",e,t)},a.upparam=function(e,t){return this.updateparam("u",e,t)},a.leftparam=function(e,t){return this.updateparam("l",e,t)},a.rightparam=function(e,t){return this.updateparam("r",e,t)},a.updateparam=function(e,t,r){var n,i=t.split("!"),a="";if(1<i.length?(n=i[1],a=i[0]+"!"):n=i[0],-1==n.indexOf(":")){var o=parseInt(n.replace(/[^0-9]/g,"")),s=y(n.replace(/[^A-Za-z]/g,"")),l=this.isfreezonFuc(n),u=l[0]?"$":"",f=l[1]?"$":"";return"u"!=e||l[0]?"r"!=e||l[1]?"l"!=e||l[1]?l[0]||(o+=r):s-=r:s+=r:o-=r,o<0||s<0?this.error.r:isNaN(o)||isNaN(s)?isNaN(o)?isNaN(s)?t:a+f+_(s):a+u+o:a+f+_(s)+u+o}if(n=n.split(":"),s=[],(o=[])[0]=parseInt(n[0].replace(/[^0-9]/g,"")),o[1]=parseInt(n[1].replace(/[^0-9]/g,"")),o[0]>o[1])return t;if(s[0]=y(n[0].replace(/[^A-Za-z]/g,"")),s[1]=y(n[1].replace(/[^A-Za-z]/g,"")),s[0]>s[1])return t;var c=this.isfreezonFuc(n[0]),h=this.isfreezonFuc(n[1]),d=c[0]?"$":"",p=c[1]?"$":"",m=h[0]?"$":"",g=h[1]?"$":"";return"u"==e?(c[0]||(o[0]-=r),h[0]||(o[1]-=r)):"r"==e?(c[1]||(s[0]+=r),h[1]||(s[1]+=r)):"l"==e?(c[1]||(s[0]-=r),h[1]||(s[1]-=r)):(c[0]||(o[0]+=r),h[0]||(o[1]+=r)),o[0]<0||s[0]<0?this.error.r:isNaN(s[0])&&isNaN(s[1])?a+d+o[0]+":"+m+o[1]:isNaN(o[0])&&isNaN(o[1])?a+p+_(s[0])+":"+g+_(s[1]):a+p+_(s[0])+d+o[0]+":"+g+_(s[1])+m+o[1]},a.iscelldata=function(e){var t,r=e.split("!"),n=1<r.length?r[1]:r[0];if(-1!=n.indexOf(":"))return t=/^(((([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+)))|((([a-zA-Z]+)|([$][a-zA-Z]+)))|((([0-9]+)|([$][0-9]+s))))$/g,n=n.split(":"),a=[],(i=[])[0]=parseInt(n[0].replace(/[^0-9]/g,""))-1,i[1]=parseInt(n[1].replace(/[^0-9]/g,""))-1,!(i[0]>i[1]||(a[0]=y(n[0].replace(/[^A-Za-z]/g,"")),a[1]=y(n[1].replace(/[^A-Za-z]/g,"")),a[0]>a[1]||!n[0].toString().match(t)||!n[1].toString().match(t)));var i=parseInt(n.replace(/[^0-9]/g,""))-1,a=y(n.replace(/[^A-Za-z]/g,""));return!(isNaN(i)||isNaN(a)||!n.toString().match(/^(([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+))$/g))||(isNaN(i)&&isNaN(a),!1)},a.isfreezonFuc=function(e){var t=e.replace(/[^0-9]/g,""),r=e.replace(/[^A-Za-z]/g,""),n=e.substr(e.indexOf(t)-1,1),i=e.substr(e.indexOf(r)-1,1),a=[!1,!1];return"$"==n&&(a[0]=!0),"$"==i&&(a[1]=!0),a},a.operator="==|!=|<>|<=|>=|=|+|-|>|<|/|*|%|&|^",a.error={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"},a.operatorjson=null,a);function a(){}r.fromulaRef=i,r.isChinese=function(e){return!!/[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5]/.test(e)||!/[^\u4e00-\u9fa5]/.test(e)},r.isJapanese=function(e){return!/[^\u0800-\u4e00]/.test(e)},r.isKoera=function(e){return 12592<e&&e<12687||44032<=e&&e<=55203},r.isContainMultiType=function(e){var t=!1;-1<escape(e).indexOf("%u")&&(t=!0);var r=!1;return/[0-9a-z]/gi.test(e)&&(r=!0),/[\x00-\xff]+/g.test(e)&&(r=!0),!(!t||!r)},r.getBinaryContent=function(t,r){var n,i,a;function e(){try{return new window.XMLHttpRequest}catch(e){}}r=r||{};var o="undefined"!=typeof window&&window.ActiveXObject?function(){return e()||function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:e;"function"==typeof r?(a=r,r={}):"function"==typeof r.callback&&(a=r.callback),n=function(e){a(null,e)},i=function(e){a(e,null)};try{var s=o();s.open("GET",t,!0),"responseType"in s&&(s.responseType="arraybuffer"),s.overrideMimeType&&s.overrideMimeType("text/plain; charset=x-user-defined"),s.onreadystatechange=function(e){if(4===s.readyState)if(200===s.status||0===s.status)try{n(s.response||s.responseText)}catch(e){i(new Error(e))}else i(new Error("Ajax error for "+t+" : "+this.status+" "+this.statusText))},r.progress&&(s.onprogress=function(e){r.progress({path:t,originalEvent:e,percent:e.loaded/e.total*100,loaded:e.loaded,total:e.total})}),s.send()}catch(e){i(new Error(e))}}},{"./constant":91}],94:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LuckyExcel=void 0;var n,i,a,o,s=e("./ToLuckySheet/LuckyFile"),l=e("./HandleZip");n=document.getElementById("Luckyexcel-demo-file"),i=document.getElementById("Luckyexcel-select-demo"),a=document.getElementById("Luckyexcel-downlod-file"),o=document.getElementById("lucky-mask-demo"),n&&(window.onload=function(){n.addEventListener("change",function(e){var t,r=e.target.files;null!=r&&0!=r.length?"xlsx"==(t=r[0].name.split("."))[t.length-1]?u.transformExcelToLucky(r[0],function(e,t){null!=e.sheets&&0!=e.sheets.length?(console.log(e,t),window.luckysheet.destroy(),window.luckysheet.create({container:"luckysheet",showinfobar:!1,data:e.sheets,title:e.info.name,userInfo:e.info.name.creator})):alert("Failed to read the content of the excel file, currently does not support xls files!")}):alert("Currently only supports the import of xlsx files"):alert("No files wait for import")}),i.addEventListener("change",function(e){var t=i.selectedIndex,r=i.options[t].value,n=i.options[t].innerHTML;""!=r&&(o.style.display="flex",u.transformExcelToLuckyByUrl(r,n,function(e,t){null!=e.sheets&&0!=e.sheets.length?(console.log(e,t),o.style.display="none",window.luckysheet.destroy(),window.luckysheet.create({container:"luckysheet",showinfobar:!1,data:e.sheets,title:e.info.name,userInfo:e.info.name.creator})):alert("Failed to read the content of the excel file, currently does not support xls files!")}))}),a.addEventListener("click",function(e){var t,r=i.selectedIndex,n=i.options[r].value;0!=n.length?(null==(t=document.getElementById("Lucky-download-frame"))&&((t=document.createElement("iframe")).style.display="none",t.id="Lucky-download-frame",document.body.appendChild(t)),t.src=n):alert("Please select a demo file")})});var u=(f.transformExcelToLucky=function(n,i){new l.HandleZip(n).unzipFile(function(e){var t=new s.LuckyFile(e,n.name).Parse(),r=JSON.parse(t);null!=i&&i(r,t)},function(e){console.error(e)})},f.transformExcelToLuckyByUrl=function(e,n,i){new l.HandleZip(null).unzipFileByUrl(e,function(e){var t=new s.LuckyFile(e,n).Parse(),r=JSON.parse(t);null!=i&&i(r,t)},function(e){console.error(e)})},f.transformLuckyToExcel=function(e,t){},f);function f(){}r.LuckyExcel=u},{"./HandleZip":84,"./ToLuckySheet/LuckyFile":87}]},{},[94]);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。