(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53078e5c"],{"4f15":function(module,exports,__webpack_require__){var require,require;!function(A){module.exports=A()}((function(){var define,module,exports;return function A(t,e,r){function n(s,o){if(!e[s]){if(!t[s]){var a="function"==typeof require&&require;if(!o&&a)return require(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=e[s]={exports:{}};t[s][0].call(c.exports,(function(A){var e=t[s][1][A];return n(e||A)}),c,c.exports,A,t,e,r)}return e[s].exports}for(var i="function"==typeof require&&require,s=0;s * @license MIT */ var r=A("base64-js"),n=A("ieee754"),i=A("is-array");e.Buffer=o,e.SlowBuffer=o,e.INSPECT_MAX_BYTES=50,o.poolSize=8192;var s=1073741823;function o(A,t,e){if(!(this instanceof o))return new o(A,t,e);var r,n,a,c=typeof A;if("number"===c)r=A>0?A>>>0:0;else if("string"===c)"base64"===t&&(A=x(A)),r=o.byteLength(A,t);else{if("object"!==c||null===A)throw new TypeError("must start with number, buffer, array or string");"Buffer"===A.type&&i(A.data)&&(A=A.data),r=+A.length>0?Math.floor(+A.length):0}if(this.length>s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");if(o.TYPED_ARRAY_SUPPORT?n=o._augment(new Uint8Array(r)):(n=this,n.length=r,n._isBuffer=!0),o.TYPED_ARRAY_SUPPORT&&"number"===typeof A.byteLength)n._set(A);else if(_(A))if(o.isBuffer(A))for(a=0;an&&(r=n)):r=n;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;sr)&&(e=r);for(var n="",i=t;ie)throw new RangeError("Trying to access beyond buffer length")}function y(A,t,e,r,n,i){if(!o.isBuffer(A))throw new TypeError("buffer must be a Buffer instance");if(t>n||tA.length)throw new TypeError("index out of range")}function v(A,t,e,r){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(A.length-e,2);n>>8*(r?n:1-n)}function C(A,t,e,r){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(A.length-e,4);n>>8*(r?n:3-n)&255}function Q(A,t,e,r,n,i){if(t>n||tA.length)throw new TypeError("index out of range")}function F(A,t,e,r,i){return i||Q(A,t,e,4,34028234663852886e22,-34028234663852886e22),n.write(A,t,e,r,23,4),e+4}function U(A,t,e,r,i){return i||Q(A,t,e,8,17976931348623157e292,-17976931348623157e292),n.write(A,t,e,r,52,8),e+8}o.TYPED_ARRAY_SUPPORT=function(){try{var A=new ArrayBuffer(0),t=new Uint8Array(A);return t.foo=function(){return 42},42===t.foo()&&"function"===typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(e){return!1}}(),o.isBuffer=function(A){return!(null==A||!A._isBuffer)},o.compare=function(A,t){if(!o.isBuffer(A)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");for(var e=A.length,r=t.length,n=0,i=Math.min(e,r);n>>1;break;case"utf8":case"utf-8":e=H(A).length;break;case"base64":e=P(A).length;break;default:e=A.length}return e},o.prototype.length=void 0,o.prototype.parent=void 0,o.prototype.toString=function(A,t,e){var r=!1;if(t>>>=0,e=void 0===e||e===1/0?this.length:e>>>0,A||(A="utf8"),t<0&&(t=0),e>this.length&&(e=this.length),e<=t)return"";while(1)switch(A){case"hex":return w(this,t,e);case"utf8":case"utf-8":return g(this,t,e);case"ascii":return p(this,t,e);case"binary":return B(this,t,e);case"base64":return d(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}},o.prototype.equals=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return 0===o.compare(this,A)},o.prototype.inspect=function(){var A="",t=e.INSPECT_MAX_BYTES;return this.length>0&&(A=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(A+=" ... ")),""},o.prototype.compare=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return o.compare(this,A)},o.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},o.prototype.set=function(A,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,t)},o.prototype.write=function(A,t,e,r){if(isFinite(t))isFinite(e)||(r=e,e=void 0);else{var n=r;r=t,t=e,e=n}t=Number(t)||0;var i,s=this.length-t;switch(e?(e=Number(e),e>s&&(e=s)):e=s,r=String(r||"utf8").toLowerCase(),r){case"hex":i=a(this,A,t,e);break;case"utf8":case"utf-8":i=c(this,A,t,e);break;case"ascii":i=u(this,A,t,e);break;case"binary":i=l(this,A,t,e);break;case"base64":i=h(this,A,t,e);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=f(this,A,t,e);break;default:throw new TypeError("Unknown encoding: "+r)}return i},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(A,t){var e=this.length;if(A=~~A,t=void 0===t?e:~~t,A<0?(A+=e,A<0&&(A=0)):A>e&&(A=e),t<0?(t+=e,t<0&&(t=0)):t>e&&(t=e),t>>=0,e||y(this,A,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[t]=A,t+1},o.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8):v(this,A,t,!0),t+2},o.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=A):v(this,A,t,!1),t+2},o.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=A):C(this,A,t,!0),t+4},o.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=A):C(this,A,t,!1),t+4},o.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[t]=A,t+1},o.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8):v(this,A,t,!0),t+2},o.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=A):v(this,A,t,!1),t+2},o.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24):C(this,A,t,!0),t+4},o.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=A):C(this,A,t,!1),t+4},o.prototype.writeFloatLE=function(A,t,e){return F(this,A,t,!0,e)},o.prototype.writeFloatBE=function(A,t,e){return F(this,A,t,!1,e)},o.prototype.writeDoubleLE=function(A,t,e){return U(this,A,t,!0,e)},o.prototype.writeDoubleBE=function(A,t,e){return U(this,A,t,!1,e)},o.prototype.copy=function(A,t,e,r){var n=this;if(e||(e=0),r||0===r||(r=this.length),t||(t=0),r!==e&&0!==A.length&&0!==n.length){if(r=A.length)throw new TypeError("targetStart out of bounds");if(e<0||e>=n.length)throw new TypeError("sourceStart out of bounds");if(r<0||r>n.length)throw new TypeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t=this.length)throw new TypeError("start out of bounds");if(e<0||e>this.length)throw new TypeError("end out of bounds");var r;if("number"===typeof A)for(r=t;r=55296&&r<=57343&&e++;for(var i=encodeURIComponent(A.slice(n,e+1)).substr(1).split("%"),s=0;s>8,r=t%256,n.push(r),n.push(e);return n}function P(A){return r.toByteArray(A)}function D(A,t,e,r,n){n&&(r-=r%n);for(var i=0;i=t.length||i>=A.length)break;t[i+e]=A[i]}return i}function O(A){try{return decodeURIComponent(A)}catch(t){return String.fromCharCode(65533)}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(A,t,e){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(A){"use strict";var t="undefined"!==typeof Uint8Array?Uint8Array:Array,e="+".charCodeAt(0),n="/".charCodeAt(0),i="0".charCodeAt(0),s="a".charCodeAt(0),o="A".charCodeAt(0);function a(A){var t=A.charCodeAt(0);return t===e?62:t===n?63:t0)throw new Error("Invalid string. Length must be a multiple of 4");var c=A.length;s="="===A.charAt(c-2)?2:"="===A.charAt(c-1)?1:0,o=new t(3*A.length/4-s),n=s>0?A.length-4:A.length;var u=0;function l(A){o[u++]=A}for(e=0,r=0;e>16),l((65280&i)>>8),l(255&i);return 2===s?(i=a(A.charAt(e))<<2|a(A.charAt(e+1))>>4,l(255&i)):1===s&&(i=a(A.charAt(e))<<10|a(A.charAt(e+1))<<4|a(A.charAt(e+2))>>2,l(i>>8&255),l(255&i)),o}function u(A){var t,e,n,i=A.length%3,s="";function o(A){return r.charAt(A)}function a(A){return o(A>>18&63)+o(A>>12&63)+o(A>>6&63)+o(63&A)}for(t=0,n=A.length-i;t>2),s+=o(e<<4&63),s+="==";break;case 2:e=(A[A.length-2]<<8)+A[A.length-1],s+=o(e>>10),s+=o(e>>4&63),s+=o(e<<2&63),s+="=";break}return s}A.toByteArray=c,A.fromByteArray=u})("undefined"===typeof e?this.base64js={}:e)},{}],3:[function(A,t,e){e.read=function(A,t,e,r,n){var i,s,o=8*n-r-1,a=(1<>1,u=-7,l=e?n-1:0,h=e?-1:1,f=A[t+l];for(l+=h,i=f&(1<<-u)-1,f>>=-u,u+=o;u>0;i=256*i+A[t+l],l+=h,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+A[t+l],l+=h,u-=8);if(0===i)i=1-c;else{if(i===a)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),i-=c}return(f?-1:1)*s*Math.pow(2,i-r)},e.write=function(A,t,e,r,n,i){var s,o,a,c=8*i-n-1,u=(1<>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,d=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-s))<1&&(s--,a*=2),t+=s+l>=1?h/a:h*Math.pow(2,1-l),t*a>=2&&(s++,a/=2),s+l>=u?(o=0,s=u):s+l>=1?(o=(t*a-1)*Math.pow(2,n),s+=l):(o=t*Math.pow(2,l-1)*Math.pow(2,n),s=0));n>=8;A[e+f]=255&o,f+=d,o/=256,n-=8);for(s=s<0;A[e+f]=255&s,f+=d,s/=256,c-=8);A[e+f-d]|=128*g}},{}],4:[function(A,t,e){var r=Array.isArray,n=Object.prototype.toString;t.exports=r||function(A){return!!A&&"[object Array]"==n.call(A)}},{}],5:[function(A,t,e){"use strict";var r=A("./dataReader");function n(A){if(A){this.data=A,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t=0;--i)if(this.data[i]===t&&this.data[i+1]===e&&this.data[i+2]===r&&this.data[i+3]===n)return i-this.zero;return-1},n.prototype.readData=function(A){if(this.checkOffset(A),0===A)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,t},t.exports=n},{"./dataReader":10}],6:[function(A,t,e){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.encode=function(A,t){var e,n,i,s,o,a,c,u="",l=0;while(l>2,o=(3&e)<<4|n>>4,a=(15&n)<<2|i>>6,c=63&i,isNaN(n)?a=c=64:isNaN(i)&&(c=64),u=u+r.charAt(s)+r.charAt(o)+r.charAt(a)+r.charAt(c);return u},e.decode=function(A,t){var e,n,i,s,o,a,c,u="",l=0;A=A.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(l>4,n=(15&o)<<4|a>>2,i=(3&a)<<6|c,u+=String.fromCharCode(e),64!=a&&(u+=String.fromCharCode(n)),64!=c&&(u+=String.fromCharCode(i));return u}},{}],7:[function(A,t,e){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],8:[function(A,t,e){"use strict";e.STORE={magic:"\0\0",compress:function(A,t){return A},uncompress:function(A){return A},compressInputType:null,uncompressInputType:null},e.DEFLATE=A("./flate")},{"./flate":13}],9:[function(A,t,e){"use strict";var r=A("./utils"),n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(A,t){if("undefined"===typeof A||!A.length)return 0;var e="string"!==r.getTypeOf(A);"undefined"==typeof t&&(t=0);var i=0,s=0,o=0;t^=-1;for(var a=0,c=A.length;a>>8^i;return-1^t}},{"./utils":26}],10:[function(A,t,e){"use strict";var r=A("./utils");function n(A){this.data=null,this.length=0,this.index=0,this.zero=0}n.prototype={checkOffset:function(A){this.checkIndex(this.index+A)},checkIndex:function(A){if(this.length=this.index;t--)e=(e<<8)+this.byteAt(t);return this.index+=A,e},readString:function(A){return r.transformTo("string",this.readData(A))},readData:function(A){},lastIndexOfSignature:function(A){},readDate:function(){var A=this.readInt(4);return new Date(1980+(A>>25&127),(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(31&A)<<1)}},t.exports=n},{"./utils":26}],11:[function(A,t,e){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!1,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},{}],12:[function(A,t,e){"use strict";var r=A("./utils");e.string2binary=function(A){return r.string2binary(A)},e.string2Uint8Array=function(A){return r.transformTo("uint8array",A)},e.uint8Array2String=function(A){return r.transformTo("string",A)},e.string2Blob=function(A){var t=r.transformTo("arraybuffer",A);return r.arrayBuffer2Blob(t)},e.arrayBuffer2Blob=function(A){return r.arrayBuffer2Blob(A)},e.transformTo=function(A,t){return r.transformTo(A,t)},e.getTypeOf=function(A){return r.getTypeOf(A)},e.checkSupport=function(A){return r.checkSupport(A)},e.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,e.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,e.pretty=function(A){return r.pretty(A)},e.findCompression=function(A){return r.findCompression(A)},e.isRegExp=function(A){return r.isRegExp(A)}},{"./utils":26}],13:[function(A,t,e){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,n=A("pako");e.uncompressInputType=r?"uint8array":"array",e.compressInputType=r?"uint8array":"array",e.magic="\b\0",e.compress=function(A,t){return n.deflateRaw(A,{level:t.level||-1})},e.uncompress=function(A){return n.inflateRaw(A)}},{pako:29}],14:[function(A,t,e){"use strict";var r=A("./base64");function n(A,t){if(!(this instanceof n))return new n(A,t);this.files={},this.comment=null,this.root="",A&&this.load(A,t),this.clone=function(){var A=new n;for(var t in this)"function"!==typeof this[t]&&(A[t]=this[t]);return A}}n.prototype=A("./object"),n.prototype.load=A("./load"),n.support=A("./support"),n.defaults=A("./defaults"),n.utils=A("./deprecatedPublicUtils"),n.base64={encode:function(A){return r.encode(A)},decode:function(A){return r.decode(A)}},n.compressions=A("./compressions"),t.exports=n},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(A,t,e){"use strict";var r=A("./base64"),n=A("./utf8"),i=A("./utils"),s=A("./zipEntries");t.exports=function(A,t){var e,o,a,c;for(t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),t.base64&&(A=r.decode(A)),o=new s(A,t),e=o.files,a=0;a>>=8;return r},b=function(A){return A=A||{},!0!==A.base64||null!==A.binary&&void 0!==A.binary||(A.binary=!0),A=n.extend(A,o),A.date=A.date||new Date,null!==A.compression&&(A.compression=A.compression.toUpperCase()),A},y=function(A,t,e){var r,i=n.getTypeOf(t);if(e=b(e),"string"===typeof e.unixPermissions&&(e.unixPermissions=parseInt(e.unixPermissions,8)),e.unixPermissions&&16384&e.unixPermissions&&(e.dir=!0),e.dosPermissions&&16&e.dosPermissions&&(e.dir=!0),e.dir&&(A=C(A)),e.createFolders&&(r=v(A))&&Q.call(this,r,!0),e.dir||null===t||"undefined"===typeof t)e.base64=!1,e.binary=!1,t=null,i=null;else if("string"===i)e.binary&&!e.base64&&!0!==e.optimizedBinaryString&&(t=n.string2binary(t));else{if(e.base64=!1,e.binary=!0,!i&&!(t instanceof u))throw new Error("The data of '"+A+"' is in an unsupported format !");"arraybuffer"===i&&(t=n.transformTo("uint8array",t))}var s=new w(A,t,e);return this.files[A]=s,s},v=function(A){"/"==A.slice(-1)&&(A=A.substring(0,A.length-1));var t=A.lastIndexOf("/");return t>0?A.substring(0,t):""},C=function(A){return"/"!=A.slice(-1)&&(A+="/"),A},Q=function(A,t){return t="undefined"!==typeof t&&t,A=C(A),this.files[A]||y.call(this,A,null,{dir:!0,createFolders:t}),this.files[A]},F=function(A,t,e){var r,s=new u;return A._data instanceof u?(s.uncompressedSize=A._data.uncompressedSize,s.crc32=A._data.crc32,0===s.uncompressedSize||A.dir?(t=c["STORE"],s.compressedContent="",s.crc32=0):A._data.compressionMethod===t.magic?s.compressedContent=A._data.getCompressedContent():(r=A._data.getContent(),s.compressedContent=t.compress(n.transformTo(t.compressInputType,r),e))):(r=p(A),r&&0!==r.length&&!A.dir||(t=c["STORE"],r=""),s.uncompressedSize=r.length,s.crc32=i(r),s.compressedContent=t.compress(n.transformTo(t.compressInputType,r),e)),s.compressedSize=s.compressedContent.length,s.compressionMethod=t.magic,s},U=function(A,t){var e=A;return A||(e=t?16893:33204),(65535&e)<<16},L=function(A,t){return 63&(A||0)},I=function(A,t,e,r,o,a){e.compressedContent;var c,u,l,f,d=a!==h.utf8encode,g=n.transformTo("string",a(t.name)),p=n.transformTo("string",h.utf8encode(t.name)),B=t.comment||"",w=n.transformTo("string",a(B)),b=n.transformTo("string",h.utf8encode(B)),y=p.length!==t.name.length,v=b.length!==B.length,C=t.options,Q="",F="",I="";l=t._initialMetadata.dir!==t.dir?t.dir:C.dir,f=t._initialMetadata.date!==t.date?t.date:C.date;var x=0,E=0;l&&(x|=16),"UNIX"===o?(E=798,x|=U(t.unixPermissions,l)):(E=20,x|=L(t.dosPermissions,l)),c=f.getHours(),c<<=6,c|=f.getMinutes(),c<<=5,c|=f.getSeconds()/2,u=f.getFullYear()-1980,u<<=4,u|=f.getMonth()+1,u<<=5,u|=f.getDate(),y&&(F=m(1,1)+m(i(g),4)+p,Q+="up"+m(F.length,2)+F),v&&(I=m(1,1)+m(this.crc32(w),4)+b,Q+="uc"+m(I.length,2)+I);var _="";_+="\n\0",_+=d||!y&&!v?"\0\0":"\0\b",_+=e.compressionMethod,_+=m(c,2),_+=m(u,2),_+=m(e.crc32,4),_+=m(e.compressedSize,4),_+=m(e.uncompressedSize,4),_+=m(g.length,2),_+=m(Q.length,2);var S=s.LOCAL_FILE_HEADER+_+g+Q,H=s.CENTRAL_FILE_HEADER+m(E,2)+_+m(w.length,2)+"\0\0\0\0"+m(x,4)+m(r,4)+g+Q+w;return{fileRecord:S,dirRecord:H,compressedObject:e}},x={load:function(A,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(A){var t,e,r,i,s=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new w(r.name,r._data,n.extend(r.options)),e=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&A(e,i)&&s.push(i));return s},file:function(A,t,e){if(1===arguments.length){if(n.isRegExp(A)){var r=A;return this.filter((function(A,t){return!t.dir&&r.test(A)}))}return this.filter((function(t,e){return!e.dir&&t===A}))[0]||null}return A=this.root+A,y.call(this,A,t,e),this},folder:function(A){if(!A)return this;if(n.isRegExp(A))return this.filter((function(t,e){return e.dir&&A.test(t)}));var t=this.root+A,e=Q.call(this,t),r=this.clone();return r.root=e.name,r},remove:function(A){A=this.root+A;var t=this.files[A];if(t||("/"!=A.slice(-1)&&(A+="/"),t=this.files[A]),t&&!t.dir)delete this.files[A];else for(var e=this.filter((function(t,e){return e.name.slice(0,A.length)===A})),r=0;r=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;s[254]=s[254]=1;var a=function(A){var t,e,r,i,s,o=A.length,a=0;for(i=0;i>>6,t[s++]=128|63&e):e<65536?(t[s++]=224|e>>>12,t[s++]=128|e>>>6&63,t[s++]=128|63&e):(t[s++]=240|e>>>18,t[s++]=128|e>>>12&63,t[s++]=128|e>>>6&63,t[s++]=128|63&e);return t},c=function(A,t){var e;t=t||A.length,t>A.length&&(t=A.length),e=t-1;while(e>=0&&128===(192&A[e]))e--;return e<0||0===e?t:e+s[A[e]]>t?e:t},u=function(A){var t,e,n,i,o=A.length,a=new Array(2*o);for(e=0,t=0;t4)a[e++]=65533,t+=i-1;else{n&=2===i?31:3===i?15:7;while(i>1&&t1?a[e++]=65533:n<65536?a[e++]=n:(n-=65536,a[e++]=55296|n>>10&1023,a[e++]=56320|1023&n)}return a.length!==e&&(a.subarray?a=a.subarray(0,e):a.length=e),r.applyFromCharCode(a)};e.utf8encode=function(A){return n.nodebuffer?i(A,"utf-8"):a(A)},e.utf8decode=function(A){if(n.nodebuffer)return r.transformTo("nodebuffer",A).toString("utf-8");A=r.transformTo(n.uint8array?"uint8array":"array",A);var t=[],e=0,i=A.length,s=65536;while(e1)try{"array"===s||"nodebuffer"===s?r.push(String.fromCharCode.apply(null,A.slice(o,Math.min(o+t,n)))):r.push(String.fromCharCode.apply(null,A.subarray(o,Math.min(o+t,n)))),o+=t}catch(l){t=Math.floor(t/2)}return r.join("")}function c(A,t){for(var e=0;e1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var A,t;for(A=0;A0)this.isSignature(e,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(A){var t=o.getTypeOf(A);if(o.checkSupport(t),"string"!==t||u.uint8array)if("nodebuffer"===t)this.reader=new n(A);else if(u.uint8array)this.reader=new i(o.transformTo("uint8array",A));else{if(!u.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new s(o.transformTo("array",A))}else this.reader=new r(A,this.loadOptions.optimizedBinaryString)},load:function(A){this.prepareReader(A),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(A,t,e){"use strict";var r=A("./stringReader"),n=A("./utils"),i=A("./compressedObject"),s=A("./object"),o=A("./support"),a=0,c=3;function u(A,t){this.options=A,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},prepareCompressedContent:function(A,t,e){return function(){var r=A.index;A.setIndex(t);var n=A.readData(e);return A.setIndex(r),n}},prepareContent:function(A,t,e,r,i){return function(){var A=n.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(A);if(t.length!==i)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(A){var t,e;if(A.skip(22),this.fileNameLength=A.readInt(2),e=A.readInt(2),this.fileName=A.readData(this.fileNameLength),A.skip(e),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(t=n.findCompression(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");if(this.decompressed=new i,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(A,A.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(A,A.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=n.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(A){if(this.versionMadeBy=A.readInt(2),this.versionNeeded=A.readInt(2),this.bitFlag=A.readInt(2),this.compressionMethod=A.readString(2),this.date=A.readDate(),this.crc32=A.readInt(4),this.compressedSize=A.readInt(4),this.uncompressedSize=A.readInt(4),this.fileNameLength=A.readInt(2),this.extraFieldsLength=A.readInt(2),this.fileCommentLength=A.readInt(2),this.diskNumberStart=A.readInt(2),this.internalFileAttributes=A.readInt(2),this.externalFileAttributes=A.readInt(4),this.localHeaderOffset=A.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=A.readData(this.fileNameLength),this.readExtraFields(A),this.parseZIP64ExtraField(A),this.fileComment=A.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var A=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),A===a&&(this.dosPermissions=63&this.externalFileAttributes),A===c&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(A){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(A){var t,e,r,n=A.index;this.extraFields=this.extraFields||{};while(A.index0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var e=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==l)throw new Error(s[e]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"===typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===a.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,e=r.deflateSetDictionary(this.strm,c),e!==l)throw new Error(s[e]);this._dict_set=!0}}function w(A,t){var e=new B(t);if(e.push(A,!0),e.err)throw e.msg;return e.result}function m(A,t){return t=t||{},t.raw=!0,w(A,t)}function b(A,t){return t=t||{},t.gzip=!0,w(A,t)}B.prototype.push=function(A,t){var e,s,o=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?u:c,"string"===typeof A?o.input=i.string2buf(A):"[object ArrayBuffer]"===a.call(A)?o.input=new Uint8Array(A):o.input=A,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new n.Buf8(d),o.next_out=0,o.avail_out=d),e=r.deflate(o,s),e!==h&&e!==l)return this.onEnd(e),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||s!==u&&s!==f)||("string"===this.options.to?this.onData(i.buf2binstring(n.shrinkBuf(o.output,o.next_out))):this.onData(n.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&e!==h);return s===u?(e=r.deflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===l):s!==f||(this.onEnd(l),o.avail_out=0,!0)},B.prototype.onData=function(A){this.chunks.push(A)},B.prototype.onEnd=function(A){A===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},e.Deflate=B,e.deflate=w,e.deflateRaw=m,e.gzip=b},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(A,t,e){"use strict";var r=A("./zlib/inflate"),n=A("./utils/common"),i=A("./utils/strings"),s=A("./zlib/constants"),o=A("./zlib/messages"),a=A("./zlib/zstream"),c=A("./zlib/gzheader"),u=Object.prototype.toString;function l(A){if(!(this instanceof l))return new l(A);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},A||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||A&&A.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var e=r.inflateInit2(this.strm,t.windowBits);if(e!==s.Z_OK)throw new Error(o[e]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function h(A,t){var e=new l(t);if(e.push(A,!0),e.err)throw e.msg;return e.result}function f(A,t){return t=t||{},t.raw=!0,h(A,t)}l.prototype.push=function(A,t){var e,o,a,c,l,h,f=this.strm,d=this.options.chunkSize,g=this.options.dictionary,p=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"===typeof A?f.input=i.binstring2buf(A):"[object ArrayBuffer]"===u.call(A)?f.input=new Uint8Array(A):f.input=A,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new n.Buf8(d),f.next_out=0,f.avail_out=d),e=r.inflate(f,s.Z_NO_FLUSH),e===s.Z_NEED_DICT&&g&&(h="string"===typeof g?i.string2buf(g):"[object ArrayBuffer]"===u.call(g)?new Uint8Array(g):g,e=r.inflateSetDictionary(this.strm,h)),e===s.Z_BUF_ERROR&&!0===p&&(e=s.Z_OK,p=!1),e!==s.Z_STREAM_END&&e!==s.Z_OK)return this.onEnd(e),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&e!==s.Z_STREAM_END&&(0!==f.avail_in||o!==s.Z_FINISH&&o!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(a=i.utf8border(f.output,f.next_out),c=f.next_out-a,l=i.buf2string(f.output,a),f.next_out=c,f.avail_out=d-c,c&&n.arraySet(f.output,f.output,a,c,0),this.onData(l)):this.onData(n.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(p=!0)}while((f.avail_in>0||0===f.avail_out)&&e!==s.Z_STREAM_END);return e===s.Z_STREAM_END&&(o=s.Z_FINISH),o===s.Z_FINISH?(e=r.inflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===s.Z_OK):o!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),f.avail_out=0,!0)},l.prototype.onData=function(A){this.chunks.push(A)},l.prototype.onEnd=function(A){A===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},e.Inflate=l,e.inflate=h,e.inflateRaw=f,e.ungzip=h},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(A,t,e){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;e.assign=function(A){var t=Array.prototype.slice.call(arguments,1);while(t.length){var e=t.shift();if(e){if("object"!==typeof e)throw new TypeError(e+"must be non-object");for(var r in e)e.hasOwnProperty(r)&&(A[r]=e[r])}}return A},e.shrinkBuf=function(A,t){return A.length===t?A:A.subarray?A.subarray(0,t):(A.length=t,A)};var n={arraySet:function(A,t,e,r,n){if(t.subarray&&A.subarray)A.set(t.subarray(e,e+r),n);else for(var i=0;i=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function a(A,t){if(t<65537&&(A.subarray&&i||!A.subarray&&n))return String.fromCharCode.apply(null,r.shrinkBuf(A,t));for(var e="",s=0;s>>6,t[s++]=128|63&e):e<65536?(t[s++]=224|e>>>12,t[s++]=128|e>>>6&63,t[s++]=128|63&e):(t[s++]=240|e>>>18,t[s++]=128|e>>>12&63,t[s++]=128|e>>>6&63,t[s++]=128|63&e);return t},e.buf2binstring=function(A){return a(A,A.length)},e.binstring2buf=function(A){for(var t=new r.Buf8(A.length),e=0,n=t.length;e4)c[r++]=65533,e+=i-1;else{n&=2===i?31:3===i?15:7;while(i>1&&e1?c[r++]=65533:n<65536?c[r++]=n:(n-=65536,c[r++]=55296|n>>10&1023,c[r++]=56320|1023&n)}return a(c,r)},e.utf8border=function(A,t){var e;t=t||A.length,t>A.length&&(t=A.length),e=t-1;while(e>=0&&128===(192&A[e]))e--;return e<0||0===e?t:e+s[A[e]]>t?e:t}},{"./common":32}],34:[function(A,t,e){"use strict";function r(A,t,e,r){var n=65535&A|0,i=A>>>16&65535|0,s=0;while(0!==e){s=e>2e3?2e3:e,e-=s;do{n=n+t[r++]|0,i=i+n|0}while(--s);n%=65521,i%=65521}return n|i<<16|0}t.exports=r},{}],35:[function(A,t,e){"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}},{}],36:[function(A,t,e){"use strict";function r(){for(var A,t=[],e=0;e<256;e++){A=e;for(var r=0;r<8;r++)A=1&A?3988292384^A>>>1:A>>>1;t[e]=A}return t}var n=r();function i(A,t,e,r){var i=n,s=r+e;A^=-1;for(var o=r;o>>8^i[255&(A^t[o])];return-1^A}t.exports=i},{}],37:[function(A,t,e){"use strict";var r,n=A("../utils/common"),i=A("./trees"),s=A("./adler32"),o=A("./crc32"),a=A("./messages"),c=0,u=1,l=3,h=4,f=5,d=0,g=1,p=-2,B=-3,w=-5,m=-1,b=1,y=2,v=3,C=4,Q=0,F=2,U=8,L=9,I=15,x=8,E=29,_=256,S=_+1+E,H=30,N=19,k=2*S+1,P=15,D=3,O=258,T=O+D+1,M=32,K=42,R=69,j=73,V=91,G=103,z=113,q=666,W=1,X=2,J=3,Y=4,Z=3;function $(A,t){return A.msg=a[t],t}function AA(A){return(A<<1)-(A>4?9:0)}function tA(A){var t=A.length;while(--t>=0)A[t]=0}function eA(A){var t=A.state,e=t.pending;e>A.avail_out&&(e=A.avail_out),0!==e&&(n.arraySet(A.output,t.pending_buf,t.pending_out,e,A.next_out),A.next_out+=e,t.pending_out+=e,A.total_out+=e,A.avail_out-=e,t.pending-=e,0===t.pending&&(t.pending_out=0))}function rA(A,t){i._tr_flush_block(A,A.block_start>=0?A.block_start:-1,A.strstart-A.block_start,t),A.block_start=A.strstart,eA(A.strm)}function nA(A,t){A.pending_buf[A.pending++]=t}function iA(A,t){A.pending_buf[A.pending++]=t>>>8&255,A.pending_buf[A.pending++]=255&t}function sA(A,t,e,r){var i=A.avail_in;return i>r&&(i=r),0===i?0:(A.avail_in-=i,n.arraySet(t,A.input,A.next_in,i,e),1===A.state.wrap?A.adler=s(A.adler,t,i,e):2===A.state.wrap&&(A.adler=o(A.adler,t,i,e)),A.next_in+=i,A.total_in+=i,i)}function oA(A,t){var e,r,n=A.max_chain_length,i=A.strstart,s=A.prev_length,o=A.nice_match,a=A.strstart>A.w_size-T?A.strstart-(A.w_size-T):0,c=A.window,u=A.w_mask,l=A.prev,h=A.strstart+O,f=c[i+s-1],d=c[i+s];A.prev_length>=A.good_match&&(n>>=2),o>A.lookahead&&(o=A.lookahead);do{if(e=t,c[e+s]===d&&c[e+s-1]===f&&c[e]===c[i]&&c[++e]===c[i+1]){i+=2,e++;do{}while(c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&is){if(A.match_start=t,s=r,r>=o)break;f=c[i+s-1],d=c[i+s]}}}while((t=l[t&u])>a&&0!==--n);return s<=A.lookahead?s:A.lookahead}function aA(A){var t,e,r,i,s,o=A.w_size;do{if(i=A.window_size-A.lookahead-A.strstart,A.strstart>=o+(o-T)){n.arraySet(A.window,A.window,o,o,0),A.match_start-=o,A.strstart-=o,A.block_start-=o,e=A.hash_size,t=e;do{r=A.head[--t],A.head[t]=r>=o?r-o:0}while(--e);e=o,t=e;do{r=A.prev[--t],A.prev[t]=r>=o?r-o:0}while(--e);i+=o}if(0===A.strm.avail_in)break;if(e=sA(A.strm,A.window,A.strstart+A.lookahead,i),A.lookahead+=e,A.lookahead+A.insert>=D){s=A.strstart-A.insert,A.ins_h=A.window[s],A.ins_h=(A.ins_h<A.pending_buf_size-5&&(e=A.pending_buf_size-5);;){if(A.lookahead<=1){if(aA(A),0===A.lookahead&&t===c)return W;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var r=A.block_start+e;if((0===A.strstart||A.strstart>=r)&&(A.lookahead=A.strstart-r,A.strstart=r,rA(A,!1),0===A.strm.avail_out))return W;if(A.strstart-A.block_start>=A.w_size-T&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):(A.strstart>A.block_start&&(rA(A,!1),A.strm.avail_out),W)}function uA(A,t){for(var e,r;;){if(A.lookahead=D&&(A.ins_h=(A.ins_h<=D)if(r=i._tr_tally(A,A.strstart-A.match_start,A.match_length-D),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=D){A.match_length--;do{A.strstart++,A.ins_h=(A.ins_h<=D&&(A.ins_h=(A.ins_h<4096)&&(A.match_length=D-1)),A.prev_length>=D&&A.match_length<=A.prev_length){n=A.strstart+A.lookahead-D,r=i._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-D),A.lookahead-=A.prev_length-1,A.prev_length-=2;do{++A.strstart<=n&&(A.ins_h=(A.ins_h<=D&&A.strstart>0&&(n=A.strstart-1,r=o[n],r===o[++n]&&r===o[++n]&&r===o[++n])){s=A.strstart+O;do{}while(r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&nA.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=D?(e=i._tr_tally(A,1,A.match_length-D),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),e&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function fA(A,t){for(var e;;){if(0===A.lookahead&&(aA(A),0===A.lookahead)){if(t===c)return W;break}if(A.match_length=0,e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,e&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function dA(A,t,e,r,n){this.good_length=A,this.max_lazy=t,this.nice_length=e,this.max_chain=r,this.func=n}function gA(A){A.window_size=2*A.w_size,tA(A.head),A.max_lazy_match=r[A.level].max_lazy,A.good_match=r[A.level].good_length,A.nice_match=r[A.level].nice_length,A.max_chain_length=r[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=D-1,A.match_available=0,A.ins_h=0}function pA(){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=U,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 n.Buf16(2*k),this.dyn_dtree=new n.Buf16(2*(2*H+1)),this.bl_tree=new n.Buf16(2*(2*N+1)),tA(this.dyn_ltree),tA(this.dyn_dtree),tA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(P+1),this.heap=new n.Buf16(2*S+1),tA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*S+1),tA(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 BA(A){var t;return A&&A.state?(A.total_in=A.total_out=0,A.data_type=F,t=A.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?K:z,A.adler=2===t.wrap?0:1,t.last_flush=c,i._tr_init(t),d):$(A,p)}function wA(A){var t=BA(A);return t===d&&gA(A.state),t}function mA(A,t){return A&&A.state?2!==A.state.wrap?p:(A.state.gzhead=t,d):p}function bA(A,t,e,r,i,s){if(!A)return p;var o=1;if(t===m&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>L||e!==U||r<8||r>15||t<0||t>9||s<0||s>C)return $(A,p);8===r&&(r=9);var a=new pA;return A.state=a,a.strm=A,a.wrap=o,a.gzhead=null,a.w_bits=r,a.w_size=1<>1,a.l_buf=3*a.lit_bufsize,a.level=t,a.strategy=s,a.method=e,wA(A)}function yA(A,t){return bA(A,t,U,I,x,Q)}function vA(A,t){var e,n,s,a;if(!A||!A.state||t>f||t<0)return A?$(A,p):p;if(n=A.state,!A.output||!A.input&&0!==A.avail_in||n.status===q&&t!==h)return $(A,0===A.avail_out?w:p);if(n.strm=A,e=n.last_flush,n.last_flush=t,n.status===K)if(2===n.wrap)A.adler=0,nA(n,31),nA(n,139),nA(n,8),n.gzhead?(nA(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)),nA(n,255&n.gzhead.time),nA(n,n.gzhead.time>>8&255),nA(n,n.gzhead.time>>16&255),nA(n,n.gzhead.time>>24&255),nA(n,9===n.level?2:n.strategy>=y||n.level<2?4:0),nA(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(nA(n,255&n.gzhead.extra.length),nA(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(A.adler=o(A.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=R):(nA(n,0),nA(n,0),nA(n,0),nA(n,0),nA(n,0),nA(n,9===n.level?2:n.strategy>=y||n.level<2?4:0),nA(n,Z),n.status=z);else{var B=U+(n.w_bits-8<<4)<<8,m=-1;m=n.strategy>=y||n.level<2?0:n.level<6?1:6===n.level?2:3,B|=m<<6,0!==n.strstart&&(B|=M),B+=31-B%31,n.status=z,iA(n,B),0!==n.strstart&&(iA(n,A.adler>>>16),iA(n,65535&A.adler)),A.adler=1}if(n.status===R)if(n.gzhead.extra){s=n.pending;while(n.gzindex<(65535&n.gzhead.extra.length)){if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size))break;nA(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++}n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=j)}else n.status=j;if(n.status===j)if(n.gzhead.name){s=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexs&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),0===a&&(n.gzindex=0,n.status=V)}else n.status=V;if(n.status===V)if(n.gzhead.comment){s=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindexs&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),0===a&&(n.status=G)}else n.status=G;if(n.status===G&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&eA(A),n.pending+2<=n.pending_buf_size&&(nA(n,255&A.adler),nA(n,A.adler>>8&255),A.adler=0,n.status=z)):n.status=z),0!==n.pending){if(eA(A),0===A.avail_out)return n.last_flush=-1,d}else if(0===A.avail_in&&AA(t)<=AA(e)&&t!==h)return $(A,w);if(n.status===q&&0!==A.avail_in)return $(A,w);if(0!==A.avail_in||0!==n.lookahead||t!==c&&n.status!==q){var b=n.strategy===y?fA(n,t):n.strategy===v?hA(n,t):r[n.level].func(n,t);if(b!==J&&b!==Y||(n.status=q),b===W||b===J)return 0===A.avail_out&&(n.last_flush=-1),d;if(b===X&&(t===u?i._tr_align(n):t!==f&&(i._tr_stored_block(n,0,0,!1),t===l&&(tA(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),eA(A),0===A.avail_out))return n.last_flush=-1,d}return t!==h?d:n.wrap<=0?g:(2===n.wrap?(nA(n,255&A.adler),nA(n,A.adler>>8&255),nA(n,A.adler>>16&255),nA(n,A.adler>>24&255),nA(n,255&A.total_in),nA(n,A.total_in>>8&255),nA(n,A.total_in>>16&255),nA(n,A.total_in>>24&255)):(iA(n,A.adler>>>16),iA(n,65535&A.adler)),eA(A),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?d:g)}function CA(A){var t;return A&&A.state?(t=A.state.status,t!==K&&t!==R&&t!==j&&t!==V&&t!==G&&t!==z&&t!==q?$(A,p):(A.state=null,t===z?$(A,B):d)):p}function QA(A,t){var e,r,i,o,a,c,u,l,h=t.length;if(!A||!A.state)return p;if(e=A.state,o=e.wrap,2===o||1===o&&e.status!==K||e.lookahead)return p;1===o&&(A.adler=s(A.adler,t,h,0)),e.wrap=0,h>=e.w_size&&(0===o&&(tA(e.head),e.strstart=0,e.block_start=0,e.insert=0),l=new n.Buf8(e.w_size),n.arraySet(l,t,h-e.w_size,e.w_size,0),t=l,h=e.w_size),a=A.avail_in,c=A.next_in,u=A.input,A.avail_in=h,A.next_in=0,A.input=t,aA(e);while(e.lookahead>=D){r=e.strstart,i=e.lookahead-(D-1);do{e.ins_h=(e.ins_h<>>24,g>>>=v,p-=v,v=y>>>16&255,0===v)I[o++]=65535&y;else{if(!(16&v)){if(0===(64&v)){y=B[(65535&y)+(g&(1<>>=v,p-=v),p<15&&(g+=L[i++]<>>24,g>>>=v,p-=v,v=y>>>16&255,!(16&v)){if(0===(64&v)){y=w[(65535&y)+(g&(1<u){A.msg="invalid distance too far back",e.mode=r;break A}if(g>>>=v,p-=v,v=o-a,Q>v){if(v=Q-v,v>h&&e.sane){A.msg="invalid distance too far back",e.mode=r;break A}if(F=0,U=d,0===f){if(F+=l-v,v2)I[o++]=U[F++],I[o++]=U[F++],I[o++]=U[F++],C-=3;C&&(I[o++]=U[F++],C>1&&(I[o++]=U[F++]))}else{F=o-Q;do{I[o++]=I[F++],I[o++]=I[F++],I[o++]=I[F++],C-=3}while(C>2);C&&(I[o++]=I[F++],C>1&&(I[o++]=I[F++]))}break}}break}}while(i>3,i-=C,p-=C<<3,g&=(1<>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function iA(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function sA(A){var t;return A&&A.state?(t=A.state,A.total_in=A.total_out=t.total=0,A.msg="",t.wrap&&(A.adler=1&t.wrap),t.mode=v,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(AA),t.distcode=t.distdyn=new r.Buf32(tA),t.sane=1,t.back=-1,d):B}function oA(A){var t;return A&&A.state?(t=A.state,t.wsize=0,t.whave=0,t.wnext=0,sA(A)):B}function aA(A,t){var e,r;return A&&A.state?(r=A.state,t<0?(e=0,t=-t):(e=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?B:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=e,r.wbits=t,oA(A))):B}function cA(A,t){var e,r;return A?(r=new iA,A.state=r,r.window=null,e=aA(A,t),e!==d&&(A.state=null),e):B}function uA(A){return cA(A,rA)}var lA,hA,fA=!0;function dA(A){if(fA){var t;lA=new r.Buf32(512),hA=new r.Buf32(32),t=0;while(t<144)A.lens[t++]=8;while(t<256)A.lens[t++]=9;while(t<280)A.lens[t++]=7;while(t<288)A.lens[t++]=8;o(c,A.lens,0,288,lA,0,A.work,{bits:9}),t=0;while(t<32)A.lens[t++]=5;o(u,A.lens,0,32,hA,0,A.work,{bits:5}),fA=!1}A.lencode=lA,A.lenbits=9,A.distcode=hA,A.distbits=5}function gA(A,t,e,n){var i,s=A.state;return null===s.window&&(s.wsize=1<=s.wsize?(r.arraySet(s.window,t,e-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i=s.wsize-s.wnext,i>n&&(i=n),r.arraySet(s.window,t,e-n,i,s.wnext),n-=i,n?(r.arraySet(s.window,t,e-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,e.check=i(e.check,LA,2,0),oA=0,aA=0,e.mode=C;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&oA)<<8)+(oA>>8))%31){A.msg="incorrect header check",e.mode=Y;break}if((15&oA)!==y){A.msg="unknown compression method",e.mode=Y;break}if(oA>>>=4,aA-=4,vA=8+(15&oA),0===e.wbits)e.wbits=vA;else if(vA>e.wbits){A.msg="invalid window size",e.mode=Y;break}e.dmax=1<>8&1),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0,e.mode=Q;case Q:while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<>>8&255,LA[2]=oA>>>16&255,LA[3]=oA>>>24&255,e.check=i(e.check,LA,4,0)),oA=0,aA=0,e.mode=F;case F:while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<>8),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0,e.mode=U;case U:if(1024&e.flags){while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0}else e.head&&(e.head.extra=null);e.mode=L;case L:if(1024&e.flags&&(lA=e.length,lA>iA&&(lA=iA),lA&&(e.head&&(vA=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),r.arraySet(e.head.extra,AA,eA,lA,vA)),512&e.flags&&(e.check=i(e.check,AA,lA,eA)),iA-=lA,eA+=lA,e.length-=lA),e.length))break A;e.length=0,e.mode=I;case I:if(2048&e.flags){if(0===iA)break A;lA=0;do{vA=AA[eA+lA++],e.head&&vA&&e.length<65536&&(e.head.name+=String.fromCharCode(vA))}while(vA&&lA>9&1,e.head.done=!0),A.adler=e.check=0,e.mode=H;break;case _:while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<>>=7&aA,aA-=7&aA,e.mode=W;break}while(aA<3){if(0===iA)break A;iA--,oA+=AA[eA++]<>>=1,aA-=1,3&oA){case 0:e.mode=k;break;case 1:if(dA(e),e.mode=K,t===f){oA>>>=2,aA-=2;break A}break;case 2:e.mode=O;break;case 3:A.msg="invalid block type",e.mode=Y}oA>>>=2,aA-=2;break;case k:oA>>>=7&aA,aA-=7&aA;while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<>>16^65535)){A.msg="invalid stored block lengths",e.mode=Y;break}if(e.length=65535&oA,oA=0,aA=0,e.mode=P,t===f)break A;case P:e.mode=D;case D:if(lA=e.length,lA){if(lA>iA&&(lA=iA),lA>sA&&(lA=sA),0===lA)break A;r.arraySet(tA,AA,eA,lA,rA),iA-=lA,eA+=lA,sA-=lA,rA+=lA,e.length-=lA;break}e.mode=H;break;case O:while(aA<14){if(0===iA)break A;iA--,oA+=AA[eA++]<>>=5,aA-=5,e.ndist=1+(31&oA),oA>>>=5,aA-=5,e.ncode=4+(15&oA),oA>>>=4,aA-=4,e.nlen>286||e.ndist>30){A.msg="too many length or distance symbols",e.mode=Y;break}e.have=0,e.mode=T;case T:while(e.have>>=3,aA-=3}while(e.have<19)e.lens[IA[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,QA={bits:e.lenbits},CA=o(a,e.lens,0,19,e.lencode,0,e.work,QA),e.lenbits=QA.bits,CA){A.msg="invalid code lengths set",e.mode=Y;break}e.have=0,e.mode=M;case M:while(e.have>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<>>=pA,aA-=pA,e.lens[e.have++]=wA;else{if(16===wA){FA=pA+2;while(aA>>=pA,aA-=pA,0===e.have){A.msg="invalid bit length repeat",e.mode=Y;break}vA=e.lens[e.have-1],lA=3+(3&oA),oA>>>=2,aA-=2}else if(17===wA){FA=pA+3;while(aA>>=pA,aA-=pA,vA=0,lA=3+(7&oA),oA>>>=3,aA-=3}else{FA=pA+7;while(aA>>=pA,aA-=pA,vA=0,lA=11+(127&oA),oA>>>=7,aA-=7}if(e.have+lA>e.nlen+e.ndist){A.msg="invalid bit length repeat",e.mode=Y;break}while(lA--)e.lens[e.have++]=vA}}if(e.mode===Y)break;if(0===e.lens[256]){A.msg="invalid code -- missing end-of-block",e.mode=Y;break}if(e.lenbits=9,QA={bits:e.lenbits},CA=o(c,e.lens,0,e.nlen,e.lencode,0,e.work,QA),e.lenbits=QA.bits,CA){A.msg="invalid literal/lengths set",e.mode=Y;break}if(e.distbits=6,e.distcode=e.distdyn,QA={bits:e.distbits},CA=o(u,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,QA),e.distbits=QA.bits,CA){A.msg="invalid distances set",e.mode=Y;break}if(e.mode=K,t===f)break A;case K:e.mode=R;case R:if(iA>=6&&sA>=258){A.next_out=rA,A.avail_out=sA,A.next_in=eA,A.avail_in=iA,e.hold=oA,e.bits=aA,s(A,uA),rA=A.next_out,tA=A.output,sA=A.avail_out,eA=A.next_in,AA=A.input,iA=A.avail_in,oA=e.hold,aA=e.bits,e.mode===H&&(e.back=-1);break}for(e.back=0;;){if(UA=e.lencode[oA&(1<>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<>mA)],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,mA+pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<>>=mA,aA-=mA,e.back+=mA}if(oA>>>=pA,aA-=pA,e.back+=pA,e.length=wA,0===BA){e.mode=q;break}if(32&BA){e.back=-1,e.mode=H;break}if(64&BA){A.msg="invalid literal/length code",e.mode=Y;break}e.extra=15&BA,e.mode=j;case j:if(e.extra){FA=e.extra;while(aA>>=e.extra,aA-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=V;case V:for(;;){if(UA=e.distcode[oA&(1<>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<>mA)],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,mA+pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<>>=mA,aA-=mA,e.back+=mA}if(oA>>>=pA,aA-=pA,e.back+=pA,64&BA){A.msg="invalid distance code",e.mode=Y;break}e.offset=wA,e.extra=15&BA,e.mode=G;case G:if(e.extra){FA=e.extra;while(aA>>=e.extra,aA-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){A.msg="invalid distance too far back",e.mode=Y;break}e.mode=z;case z:if(0===sA)break A;if(lA=uA-sA,e.offset>lA){if(lA=e.offset-lA,lA>e.whave&&e.sane){A.msg="invalid distance too far back",e.mode=Y;break}lA>e.wnext?(lA-=e.wnext,hA=e.wsize-lA):hA=e.wnext-lA,lA>e.length&&(lA=e.length),fA=e.window}else fA=tA,hA=rA-e.offset,lA=e.length;lA>sA&&(lA=sA),sA-=lA,e.length-=lA;do{tA[rA++]=fA[hA++]}while(--lA);0===e.length&&(e.mode=R);break;case q:if(0===sA)break A;tA[rA++]=e.length,sA--,e.mode=R;break;case W:if(e.wrap){while(aA<32){if(0===iA)break A;iA--,oA|=AA[eA++]<=1;S--)if(0!==K[S])break;if(H>S&&(H=S),0===S)return g[p++]=20971520,g[p++]=20971520,w.bits=1,0;for(_=1;_0&&(A===o||1!==S))return-1;for(R[1]=0,x=1;xi||A===c&&D>s)return 1;for(;;){F=x-k,B[E]Q?(U=j[V+B[E]],L=T[M+B[E]]):(U=96,L=0),m=1<>k)+b]=F<<24|U<<16|L|0}while(0!==b);m=1<>=1;if(0!==m?(O&=m-1,O+=m):O=0,E++,0===--K[x]){if(x===S)break;x=t[e+B[E]]}if(x>H&&(O&v)!==y){0===k&&(k=H),C+=_,N=x-k,P=1<i||A===c&&D>s)return 1;y=O&v,g[y]=H<<24|N<<16|C-p|0}}return 0!==O&&(g[C+O]=x-k<<24|64<<16|0),w.bits=H,0}},{"../utils/common":32}],42:[function(A,t,e){"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"}},{}],43:[function(A,t,e){"use strict";var r=A("../utils/common"),n=4,i=0,s=1,o=2;function a(A){var t=A.length;while(--t>=0)A[t]=0}var c=0,u=1,l=2,h=3,f=258,d=29,g=256,p=g+1+d,B=30,w=19,m=2*p+1,b=15,y=16,v=7,C=256,Q=16,F=17,U=18,L=[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],I=[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],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_=512,S=new Array(2*(p+2));a(S);var H=new Array(2*B);a(H);var N=new Array(_);a(N);var k=new Array(f-h+1);a(k);var P=new Array(d);a(P);var D,O,T,M=new Array(B);function K(A,t,e,r,n){this.static_tree=A,this.extra_bits=t,this.extra_base=e,this.elems=r,this.max_length=n,this.has_stree=A&&A.length}function R(A,t){this.dyn_tree=A,this.max_code=0,this.stat_desc=t}function j(A){return A<256?N[A]:N[256+(A>>>7)]}function V(A,t){A.pending_buf[A.pending++]=255&t,A.pending_buf[A.pending++]=t>>>8&255}function G(A,t,e){A.bi_valid>y-e?(A.bi_buf|=t<>y-A.bi_valid,A.bi_valid+=e-y):(A.bi_buf|=t<>>=1,e<<=1}while(--t>0);return e>>>1}function W(A){16===A.bi_valid?(V(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}function X(A,t){var e,r,n,i,s,o,a=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,l=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,d=t.stat_desc.max_length,g=0;for(i=0;i<=b;i++)A.bl_count[i]=0;for(a[2*A.heap[A.heap_max]+1]=0,e=A.heap_max+1;ed&&(i=d,g++),a[2*r+1]=i,r>c||(A.bl_count[i]++,s=0,r>=f&&(s=h[r-f]),o=a[2*r],A.opt_len+=o*(i+s),l&&(A.static_len+=o*(u[2*r+1]+s)));if(0!==g){do{i=d-1;while(0===A.bl_count[i])i--;A.bl_count[i]--,A.bl_count[i+1]+=2,A.bl_count[d]--,g-=2}while(g>0);for(i=d;0!==i;i--){r=A.bl_count[i];while(0!==r)n=A.heap[--e],n>c||(a[2*n+1]!==i&&(A.opt_len+=(i-a[2*n+1])*a[2*n],a[2*n+1]=i),r--)}}}function J(A,t,e){var r,n,i=new Array(b+1),s=0;for(r=1;r<=b;r++)i[r]=s=s+e[r-1]<<1;for(n=0;n<=t;n++){var o=A[2*n+1];0!==o&&(A[2*n]=q(i[o]++,o))}}function Y(){var A,t,e,r,n,i=new Array(b+1);for(e=0,r=0;r>=7;r8?V(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function AA(A,t,e,n){$(A),n&&(V(A,e),V(A,~e)),r.arraySet(A.pending_buf,A.window,t,e,A.pending),A.pending+=e}function tA(A,t,e,r){var n=2*t,i=2*e;return A[n]>1;e>=1;e--)eA(A,i,e);n=a;do{e=A.heap[1],A.heap[1]=A.heap[A.heap_len--],eA(A,i,1),r=A.heap[1],A.heap[--A.heap_max]=e,A.heap[--A.heap_max]=r,i[2*n]=i[2*e]+i[2*r],A.depth[n]=(A.depth[e]>=A.depth[r]?A.depth[e]:A.depth[r])+1,i[2*e+1]=i[2*r+1]=n,A.heap[1]=n++,eA(A,i,1)}while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],X(A,t),J(i,c,A.bl_count)}function iA(A,t,e){var r,n,i=-1,s=t[1],o=0,a=7,c=4;for(0===s&&(a=138,c=3),t[2*(e+1)+1]=65535,r=0;r<=e;r++)n=s,s=t[2*(r+1)+1],++o=3;t--)if(0!==A.bl_tree[2*E[t]+1])break;return A.opt_len+=3*(t+1)+5+5+4,t}function aA(A,t,e,r){var n;for(G(A,t-257,5),G(A,e-1,5),G(A,r-4,4),n=0;n>>=1)if(1&e&&0!==A.dyn_ltree[2*t])return i;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return s;for(t=32;t0?(A.strm.data_type===o&&(A.strm.data_type=cA(A)),nA(A,A.l_desc),nA(A,A.d_desc),a=oA(A),i=A.opt_len+3+7>>>3,s=A.static_len+3+7>>>3,s<=i&&(i=s)):i=s=e+5,e+4<=i&&-1!==t?hA(A,t,e,r):A.strategy===n||s===i?(G(A,(u<<1)+(r?1:0),3),rA(A,S,H)):(G(A,(l<<1)+(r?1:0),3),aA(A,A.l_desc.max_code+1,A.d_desc.max_code+1,a+1),rA(A,A.dyn_ltree,A.dyn_dtree)),Z(A),r&&$(A)}function gA(A,t,e){return A.pending_buf[A.d_buf+2*A.last_lit]=t>>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&t,A.pending_buf[A.l_buf+A.last_lit]=255&e,A.last_lit++,0===t?A.dyn_ltree[2*e]++:(A.matches++,t--,A.dyn_ltree[2*(k[e]+g+1)]++,A.dyn_dtree[2*j(t)]++),A.last_lit===A.lit_bufsize-1}e._tr_init=lA,e._tr_stored_block=hA,e._tr_flush_block=dA,e._tr_tally=gA,e._tr_align=fA},{"../utils/common":32}],44:[function(A,t,e){"use strict";function r(){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}t.exports=r},{}],45:[function(A,t,e){var r=A("lodash._root"),n=1/0,i="[object Symbol]",s=/[&<>"'`]/g,o=RegExp(s.source),a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function c(A){return a[A]}var u=Object.prototype,l=u.toString,h=r.Symbol,f=h?h.prototype:void 0,d=h?f.toString:void 0;function g(A){return!!A&&"object"==typeof A}function p(A){return"symbol"==typeof A||g(A)&&l.call(A)==i}function B(A){if("string"==typeof A)return A;if(null==A)return"";if(p(A))return h?d.call(A):"";var t=A+"";return"0"==t&&1/A==-n?"-0":t}function w(A){return A=B(A),A&&o.test(A)?A.replace(s,c):A}t.exports=w},{"lodash._root":46}],46:[function(A,t,e){(function(A){var r={function:!0,object:!0},n=r[typeof e]&&e&&!e.nodeType?e:void 0,i=r[typeof t]&&t&&!t.nodeType?t:void 0,s=l(n&&i&&"object"==typeof A&&A),o=l(r[typeof self]&&self),a=l(r[typeof window]&&window),c=l(r[typeof this]&&this),u=s||a!==(c&&c.window)&&a||o||c||Function("return this")();function l(A){return A&&A.Object===Object?A:null}t.exports=u}).call(this,"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],47:[function(A,t,e){var r=A("lodash._arraycopy"),n=A("lodash._arrayeach"),i=A("lodash._createassigner"),s=A("lodash.isarguments"),o=A("lodash.isarray"),a=A("lodash.isplainobject"),c=A("lodash.istypedarray"),u=A("lodash.keys"),l=A("lodash.toplainobject");function h(A){return!!A&&"object"==typeof A}var f=9007199254740991;function d(A,t,e,r,i){if(!b(A))return A;var s=w(t)&&(o(t)||c(t)),a=s?void 0:u(t);return n(a||t,(function(n,o){if(a&&(o=n,n=t[o]),h(n))r||(r=[]),i||(i=[]),g(A,t,o,d,e,r,i);else{var c=A[o],u=e?e(c,n,o,A,t):void 0,l=void 0===u;l&&(u=n),void 0===u&&(!s||o in A)||!l&&(u===u?u===c:c!==c)||(A[o]=u)}})),A}function g(A,t,e,n,i,u,h){var f=u.length,d=t[e];while(f--)if(u[f]==d)return void(A[e]=h[f]);var g=A[e],p=i?i(g,d,e,A,t):void 0,B=void 0===p;B&&(p=d,w(d)&&(o(d)||c(d))?p=o(g)?g:w(g)?r(g):[]:a(d)||s(d)?p=s(g)?l(g):a(g)?g:{}:B=!1),u.push(d),h.push(p),B?A[e]=n(p,d,i,u,h):(p===p?p!==g:g===g)&&(A[e]=p)}function p(A){return function(t){return null==t?void 0:t[A]}}var B=p("length");function w(A){return null!=A&&m(B(A))}function m(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=f}function b(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}var y=i(d);t.exports=y},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(A,t,e){function r(A,t){var e=-1,r=A.length;t||(t=Array(r));while(++e2?e[s-2]:void 0,a=s>2?e[2]:void 0,c=s>1?e[s-1]:void 0;"function"==typeof o?(o=r(o,c,5),s-=2):(o="function"==typeof c?c:void 0,s-=o?1:0),a&&n(e[0],e[1],a)&&(o=s<3?void 0:o,s=1);while(++i-1&&A%1==0&&A-1&&A%1==0&&A<=n}function l(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}t.exports=c},{}],53:[function(A,t,e){var r="Expected a function",n=Math.max;function i(A,t){if("function"!=typeof A)throw new TypeError(r);return t=n(void 0===t?A.length-1:+t||0,0),function(){var e=arguments,r=-1,i=n(e.length-t,0),s=Array(i);while(++r-1&&A%1==0&&A<=r}function w(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function m(A){return!!A&&"object"==typeof A}t.exports=f},{}],56:[function(A,t,e){var r="[object Array]",n="[object Function]",i=/^\[object .+?Constructor\]$/;function s(A){return!!A&&"object"==typeof A}var o=Object.prototype,a=Function.prototype.toString,c=o.hasOwnProperty,u=o.toString,l=RegExp("^"+a.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=d(Array,"isArray"),f=9007199254740991;function d(A,t){var e=null==A?void 0:A[t];return m(e)?e:void 0}function g(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=f}var p=h||function(A){return s(A)&&g(A.length)&&u.call(A)==r};function B(A){return w(A)&&u.call(A)==n}function w(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function m(A){return null!=A&&(B(A)?l.test(a.call(A)):s(A)&&i.test(A))}t.exports=p},{}],57:[function(A,t,e){var r=A("lodash._basefor"),n=A("lodash.isarguments"),i=A("lodash.keysin"),s="[object Object]";function o(A){return!!A&&"object"==typeof A}var a=Object.prototype,c=a.hasOwnProperty,u=a.toString;function l(A,t){return r(A,t,i)}function h(A){var t,e;return!(!o(A)||u.call(A)!=s||n(A)||!(c.call(A,"constructor")||(t=A.constructor,"function"!=typeof t||t instanceof t)))&&(l(A,(function(A,t){e=t})),void 0===e||c.call(A,e))}t.exports=h},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(A,t,e){var r=n();function n(A){return function(t,e,r){var n=-1,i=Object(t),s=r(t),o=s.length;while(o--){var a=s[A?o:++n];if(!1===e(i[a],a,i))break}return t}}t.exports=r},{}],59:[function(A,t,e){var r=9007199254740991,n="[object Arguments]",i="[object Array]",s="[object Boolean]",o="[object Date]",a="[object Error]",c="[object Function]",u="[object Map]",l="[object Number]",h="[object Object]",f="[object RegExp]",d="[object Set]",g="[object String]",p="[object WeakMap]",B="[object ArrayBuffer]",w="[object DataView]",m="[object Float32Array]",b="[object Float64Array]",y="[object Int8Array]",v="[object Int16Array]",C="[object Int32Array]",Q="[object Uint8Array]",F="[object Uint8ClampedArray]",U="[object Uint16Array]",L="[object Uint32Array]",I={};I[m]=I[b]=I[y]=I[v]=I[C]=I[Q]=I[F]=I[U]=I[L]=!0,I[n]=I[i]=I[B]=I[s]=I[w]=I[o]=I[a]=I[c]=I[u]=I[l]=I[h]=I[f]=I[d]=I[g]=I[p]=!1;var x=Object.prototype,E=x.toString;function _(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=r}function S(A){return!!A&&"object"==typeof A}function H(A){return S(A)&&_(A.length)&&!!I[E.call(A)]}t.exports=H},{}],60:[function(A,t,e){var r=A("lodash._getnative"),n=A("lodash.isarguments"),i=A("lodash.isarray"),s=/^\d+$/,o=Object.prototype,a=o.hasOwnProperty,c=r(Object,"keys"),u=9007199254740991;function l(A){return function(t){return null==t?void 0:t[A]}}var h=l("length");function f(A){return null!=A&&g(h(A))}function d(A,t){return A="number"==typeof A||s.test(A)?+A:-1,t=null==t?u:t,A>-1&&A%1==0&&A-1&&A%1==0&&A<=u}function p(A){var t=m(A),e=t.length,r=e&&A.length,s=!!r&&g(r)&&(i(A)||n(A)),o=-1,c=[];while(++o0;while(++r-1&&A%1==0&&A-1&&A%1==0&&A<=a}function l(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function h(A){if(null==A)return[];l(A)||(A=Object(A));var t=A.length;t=t&&u(t)&&(n(A)||r(A))&&t||0;var e=A.constructor,i=-1,s="function"==typeof e&&e.prototype===A,a=Array(t),h=t>0;while(++i\n\n \n \n \n \n \n \n \n\n';return __p}},{"lodash.escape":45}],67:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='MIME-Version: 1.0\nContent-Type: multipart/related;\n type="text/html";\n boundary="----=mhtDocumentPart"\n\n\n------=mhtDocumentPart\nContent-Type: text/html;\n charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nContent-Location: file:///C:/fake/document.html\n\n'+(null==(__t=htmlSource)?"":__t)+"\n\n"+(null==(__t=contentParts)?"":__t)+"\n\n------=mhtDocumentPart--\n";return __p}},{"lodash.escape":45}],68:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="------=mhtDocumentPart\nContent-Type: "+(null==(__t=contentType)?"":__t)+"\nContent-Transfer-Encoding: "+(null==(__t=contentEncoding)?"":__t)+"\nContent-Location: "+(null==(__t=contentLocation)?"":__t)+"\n\n"+(null==(__t=encodedContent)?"":__t)+"\n";return __p}},{"lodash.escape":45}],69:[function(A,t,e){var r,n;r=A("./templates/mht_document"),n=A("./templates/mht_part"),t.exports={getMHTdocument:function(A){var t,e;return e=this._prepareImageParts(A),A=e.htmlSource,t=e.imageContentParts,A=A.replace(/\=/g,"=3D"),r({htmlSource:A,contentParts:t.join("\n")})},_prepareImageParts:function(A){var t,e,r;if(t=[],r=/"data:(\w+\/\w+);(\w+),(\S+)"/g,e=function(A,e,r,i){var s,o,a;return a=t.length,o=e.split("/")[1],s="file:///C:/fake/image"+a+"."+o,t.push(n({contentType:e,contentEncoding:r,contentLocation:s,encodedContent:i})),'"'+s+'"'},"string"===typeof A)return/d.length?-1:w(d,v,I+F);return x>1|(21845&B)<<1;w=(52428&w)>>2|(13107&w)<<2,w=(61680&w)>>4|(3855&w)<<4,p[B]=((65280&w)>>8|(255&w)<<8)>>1}var m=function(A,t,e){for(var r=A.length,i=0,s=new n(t);i>c]=u}else for(o=new n(r),i=0;i>15-A[i]);return o},b=new r(288);for(B=0;B<144;++B)b[B]=8;for(B=144;B<256;++B)b[B]=9;for(B=256;B<280;++B)b[B]=7;for(B=280;B<288;++B)b[B]=8;var y=new r(32);for(B=0;B<32;++B)y[B]=5;var v=m(b,9,0),C=m(b,9,1),Q=m(y,5,0),F=m(y,5,1),U=function(A){for(var t=A[0],e=1;et&&(t=A[e]);return t},L=function(A,t,e){var r=t/8|0;return(A[r]|A[r+1]<<8)>>(7&t)&e},I=function(A,t){var e=t/8|0;return(A[e]|A[e+1]<<8|A[e+2]<<16)>>(7&t)},x=function(A){return(A+7)/8|0},E=function(A,t,e){return(null==t||t<0)&&(t=0),(null==e||e>A.length)&&(e=A.length),new r(A.subarray(t,e))},_=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],S=function(A,t,e){var r=new Error(t||_[A]);if(r.code=A,Error.captureStackTrace&&Error.captureStackTrace(r,S),!e)throw r;return r},H=function(A,t,e,n){var i=A.length,c=n?n.length:0;if(!i||t.f&&!t.l)return e||new r(0);var u=!e,h=u||2!=t.i,f=t.i;u&&(e=new r(3*i));var g=function(A){var t=e.length;if(A>t){var n=new r(Math.max(2*t,A));n.set(e),e=n}},p=t.f||0,B=t.p||0,w=t.b||0,b=t.l,y=t.d,v=t.m,Q=t.n,_=8*i;do{if(!b){p=L(A,B,1);var H=L(A,B+1,3);if(B+=3,!H){var N=x(B)+4,k=A[N-4]|A[N-3]<<8,P=N+k;if(P>i){f&&S(0);break}h&&g(w+k),e.set(A.subarray(N,P),w),t.b=w+=k,t.p=B=8*P,t.f=p;continue}if(1==H)b=C,y=F,v=9,Q=5;else if(2==H){var D=L(A,B,31)+257,O=L(A,B+10,15)+4,T=D+L(A,B+5,31)+1;B+=14;for(var M=new r(T),K=new r(19),R=0;R>4;if(N<16)M[R++]=N;else{var q=0,W=0;16==N?(W=3+L(A,B,3),B+=2,q=M[R-1]):17==N?(W=3+L(A,B,7),B+=3):18==N&&(W=11+L(A,B,127),B+=7);while(W--)M[R++]=q}}var X=M.subarray(0,D),J=M.subarray(D);v=U(X),Q=U(J),b=m(X,v,1),y=m(J,Q,1)}else S(1);if(B>_){f&&S(0);break}}h&&g(w+131072);for(var Y=(1<>4;if(B+=15&q,B>_){f&&S(0);break}if(q||S(2),AA<256)e[w++]=AA;else{if(256==AA){$=B,b=null;break}var tA=AA-254;if(AA>264){R=AA-257;var eA=s[R];tA=L(A,B,(1<>4;rA||S(3),B+=15&rA;J=d[nA];if(nA>3){eA=o[nA];J+=I(A,B)&(1<_){f&&S(0);break}h&&g(w+131072);var iA=w+tA;if(w>8},k=function(A,t,e){e<<=7&t;var r=t/8|0;A[r]|=e,A[r+1]|=e>>8,A[r+2]|=e>>16},P=function(A,t){for(var e=[],i=0;id&&(d=o[i].s);var g=new n(d+1),p=D(e[h-1],g,0);if(p>t){i=0;var B=0,w=p-t,m=1<t))break;B+=m-(1<>=w;while(B>0){var y=o[i].s;g[y]=0&&B;--i){var v=o[i].s;g[v]==t&&(--g[v],++B)}p=t}return{t:new r(g),l:p}},D=function(A,t,e){return-1==A.s?Math.max(D(A.l,t,e+1),D(A.r,t,e+1)):t[A.s]=e},O=function(A){var t=A.length;while(t&&!A[--t]);for(var e=new n(++t),r=0,i=A[0],s=1,o=function(A){e[r++]=A},a=1;a<=t;++a)if(A[a]==i&&a!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}while(s--)o(i);s=1,i=A[a]}return{c:e.subarray(0,r),n:t}},T=function(A,t){for(var e=0,r=0;r>8,A[n+2]=255^A[n],A[n+3]=255^A[n+1];for(var i=0;i4&&!K[a[j-1]];--j);var V,G,z,q,W=f+5<<3,X=T(i,b)+T(c,y)+u,J=T(i,p)+T(c,C)+u+14+3*j+T(S,K)+2*S[16]+3*S[17]+7*S[18];if(h>=0&&W<=X&&W<=J)return M(t,d,A.subarray(h,h+f));if(N(t,d,1+(J15&&(N(t,d,AA[H]>>5&127),d+=AA[H]>>12)}}}else V=v,G=b,z=Q,q=y;for(H=0;H255){tA=eA>>18&31;k(t,d,V[tA+257]),d+=G[tA+257],tA>7&&(N(t,d,eA>>23&31),d+=s[tA]);var rA=31&eA;k(t,d,z[rA]),d+=q[rA],rA>3&&(k(t,d,eA>>5&8191),d+=o[rA])}else k(t,d,V[eA]),d+=G[eA]}return k(t,d,V[256]),d+G[256]},R=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),j=new r(0),V=function(A,t,e,a,c,u){var l=u.z||A.length,f=new r(a+l+5*(1+Math.ceil(l/7e3))+c),d=f.subarray(a,f.length-c),p=u.l,B=7&(u.r||0);if(t){B&&(d[0]=u.r>>3);for(var w=R[t-1],m=w>>13,b=8191&w,y=(1<7e3||k>24576)&&(V>423||!p)){B=K(A,d,0,L,I,_,H,k,D,N-D,B),k=S=H=0,D=N;for(var G=0;G<286;++G)I[G]=0;for(G=0;G<30;++G)_[G]=0}var z=2,q=0,W=b,X=T-j&32767;if(V>2&&O==U(N-X)){var J=Math.min(m,V)-1,Y=Math.min(32767,N),Z=Math.min(258,V);while(X<=Y&&--W&&T!=j){if(A[N+z]==A[N+z-X]){for(var $=0;$z){if(z=$,q=X,$>J)break;var AA=Math.min(X,$-2),tA=0;for(G=0;GtA&&(tA=nA,j=eA)}}}T=j,j=v[T],X+=T-j&32767}}if(q){L[k++]=268435456|h[z]<<18|g[q];var iA=31&h[z],sA=31&g[q];H+=s[iA]+o[sA],++I[257+iA],++_[sA],P=N+z,++S}else L[k++]=A[N],++I[A[N]]}}for(N=Math.max(N,P);N=l&&(d[B/8|0]=p,oA=l),B=M(d,B+1,A.subarray(N,oA))}u.i=l}return E(f,0,a+x(B)+c)},G=function(){var A=1,t=0;return{p:function(e){for(var r=A,n=t,i=0|e.length,s=0;s!=i;){for(var o=Math.min(s+2655,i);s>16),n=(65535&n)+15*(n>>16)}A=r,t=n},d:function(){return A%=65521,t%=65521,(255&A)<<24|(65280&A)<<8|(255&t)<<8|t>>8}}},z=function(A,t,e,n,i){if(!i&&(i={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),o=new r(s.length+A.length);o.set(s),o.set(A,s.length),A=o,i.w=s.length}return V(A,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(A.length)))):20:12+t.mem,e,n,i)},q=function(A,t,e){for(;e;++t)A[t]=e,e>>>=8},W=function(A,t){var e=t.level,r=0==e?0:e<6?1:9==e?3:2;if(A[0]=120,A[1]=r<<6|(t.dictionary&&32),A[1]|=31-(A[0]<<8|A[1])%31,t.dictionary){var n=G();n.p(t.dictionary),q(A,2,n.d())}},X=function(A,t){return(8!=(15&A[0])||A[0]>>4>7||(A[0]<<8|A[1])%31)&&S(6,"invalid zlib data"),(A[1]>>5&1)==+!t&&S(6,"invalid zlib data: "+(32&A[1]?"need":"unexpected")+" dictionary"),2+(A[1]>>3&4)};function J(A,t){t||(t={});var e=G();e.p(A);var r=z(A,t,t.dictionary?6:2,4);return W(r,t),q(r,r.length-4,e.d()),r}function Y(A,t){return H(A.subarray(X(A,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Z="undefined"!=typeof TextDecoder&&new TextDecoder;try{Z.decode(j,{stream:!0}),1}catch($){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},"8baf":function(A,t,e){"use strict";(function(A){var r=e("7037"),n=e.n(r),i=e("72ba"),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof A?A:"undefined"!=typeof self?self:this}();function o(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var a={log:o,warn:function(A){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):o.call(null,arguments))},error:function(A){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):o(A))}};function c(A,t,e){var r=new XMLHttpRequest;r.open("GET",A),r.responseType="blob",r.onload=function(){d(r.response,t,e)},r.onerror=function(){a.error("could not download file")},r.send()}function u(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function l(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(t)}}var h,f,d=s.saveAs||("object"!==("undefined"==typeof window?"undefined":n()(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,e){var r=s.URL||s.webkitURL,n=document.createElement("a");t=t||A.name||"download",n.download=t,n.rel="noopener","string"==typeof A?(n.href=A,n.origin!==location.origin?u(n.href)?c(A,t,e):l(n,n.target="_blank"):l(n)):(n.href=r.createObjectURL(A),setTimeout((function(){r.revokeObjectURL(n.href)}),4e4),setTimeout((function(){l(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,e){if(t=t||A.name||"download","string"==typeof A)if(u(A))c(A,t,e);else{var r=document.createElement("a");r.href=A,r.target="_blank",setTimeout((function(){l(r)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==n()(t)&&(a.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob([String.fromCharCode(65279),A],{type:A.type}):A}(A,e),t)}:function(A,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof A)return c(A,t,e);var i="application/octet-stream"===A.type,o=/constructor/i.test(s.HTMLElement)||s.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o)&&"object"===("undefined"==typeof FileReader?"undefined":n()(FileReader))){var u=new FileReader;u.onloadend=function(){var A=u.result;A=a?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=A:location=A,r=null},u.readAsDataURL(A)}else{var l=s.URL||s.webkitURL,h=l.createObjectURL(A);r?r.location=h:location.href=h,r=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}}); /** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function g(A){var t;A=A||"",this.ok=!1,"#"==A.charAt(0)&&(A=A.substr(1,6)),A={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[A=(A=A.replace(/ /g,"")).toLowerCase()]||A;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(A){return[parseInt(A[1]),parseInt(A[2]),parseInt(A[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(A){return[parseInt(A[1],16),parseInt(A[2],16),parseInt(A[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(A){return[parseInt(A[1]+A[1],16),parseInt(A[2]+A[2],16),parseInt(A[3]+A[3],16)]}}],r=0;r255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var A=this.r.toString(16),t=this.g.toString(16),e=this.b.toString(16);return 1==A.length&&(A="0"+A),1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),"#"+A+t+e /** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */}}function p(A,t){var e=A[0],r=A[1],n=A[2],i=A[3];e=w(e,r,n,i,t[0],7,-680876936),i=w(i,e,r,n,t[1],12,-389564586),n=w(n,i,e,r,t[2],17,606105819),r=w(r,n,i,e,t[3],22,-1044525330),e=w(e,r,n,i,t[4],7,-176418897),i=w(i,e,r,n,t[5],12,1200080426),n=w(n,i,e,r,t[6],17,-1473231341),r=w(r,n,i,e,t[7],22,-45705983),e=w(e,r,n,i,t[8],7,1770035416),i=w(i,e,r,n,t[9],12,-1958414417),n=w(n,i,e,r,t[10],17,-42063),r=w(r,n,i,e,t[11],22,-1990404162),e=w(e,r,n,i,t[12],7,1804603682),i=w(i,e,r,n,t[13],12,-40341101),n=w(n,i,e,r,t[14],17,-1502002290),e=m(e,r=w(r,n,i,e,t[15],22,1236535329),n,i,t[1],5,-165796510),i=m(i,e,r,n,t[6],9,-1069501632),n=m(n,i,e,r,t[11],14,643717713),r=m(r,n,i,e,t[0],20,-373897302),e=m(e,r,n,i,t[5],5,-701558691),i=m(i,e,r,n,t[10],9,38016083),n=m(n,i,e,r,t[15],14,-660478335),r=m(r,n,i,e,t[4],20,-405537848),e=m(e,r,n,i,t[9],5,568446438),i=m(i,e,r,n,t[14],9,-1019803690),n=m(n,i,e,r,t[3],14,-187363961),r=m(r,n,i,e,t[8],20,1163531501),e=m(e,r,n,i,t[13],5,-1444681467),i=m(i,e,r,n,t[2],9,-51403784),n=m(n,i,e,r,t[7],14,1735328473),e=b(e,r=m(r,n,i,e,t[12],20,-1926607734),n,i,t[5],4,-378558),i=b(i,e,r,n,t[8],11,-2022574463),n=b(n,i,e,r,t[11],16,1839030562),r=b(r,n,i,e,t[14],23,-35309556),e=b(e,r,n,i,t[1],4,-1530992060),i=b(i,e,r,n,t[4],11,1272893353),n=b(n,i,e,r,t[7],16,-155497632),r=b(r,n,i,e,t[10],23,-1094730640),e=b(e,r,n,i,t[13],4,681279174),i=b(i,e,r,n,t[0],11,-358537222),n=b(n,i,e,r,t[3],16,-722521979),r=b(r,n,i,e,t[6],23,76029189),e=b(e,r,n,i,t[9],4,-640364487),i=b(i,e,r,n,t[12],11,-421815835),n=b(n,i,e,r,t[15],16,530742520),e=y(e,r=b(r,n,i,e,t[2],23,-995338651),n,i,t[0],6,-198630844),i=y(i,e,r,n,t[7],10,1126891415),n=y(n,i,e,r,t[14],15,-1416354905),r=y(r,n,i,e,t[5],21,-57434055),e=y(e,r,n,i,t[12],6,1700485571),i=y(i,e,r,n,t[3],10,-1894986606),n=y(n,i,e,r,t[10],15,-1051523),r=y(r,n,i,e,t[1],21,-2054922799),e=y(e,r,n,i,t[8],6,1873313359),i=y(i,e,r,n,t[15],10,-30611744),n=y(n,i,e,r,t[6],15,-1560198380),r=y(r,n,i,e,t[13],21,1309151649),e=y(e,r,n,i,t[4],6,-145523070),i=y(i,e,r,n,t[11],10,-1120210379),n=y(n,i,e,r,t[2],15,718787259),r=y(r,n,i,e,t[9],21,-343485551),A[0]=x(e,A[0]),A[1]=x(r,A[1]),A[2]=x(n,A[2]),A[3]=x(i,A[3])}function B(A,t,e,r,n,i){return t=x(x(t,A),x(r,i)),x(t<>>32-n,e)}function w(A,t,e,r,n,i,s){return B(t&e|~t&r,A,t,n,i,s)}function m(A,t,e,r,n,i,s){return B(t&r|e&~r,A,t,n,i,s)}function b(A,t,e,r,n,i,s){return B(t^e^r,A,t,n,i,s)}function y(A,t,e,r,n,i,s){return B(e^(t|~r),A,t,n,i,s)}function v(A){var t,e=A.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)p(r,C(A.substring(t-64,t)));A=A.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=A.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(p(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*e,p(r,n),r}function C(A){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=A.charCodeAt(t)+(A.charCodeAt(t+1)<<8)+(A.charCodeAt(t+2)<<16)+(A.charCodeAt(t+3)<<24);return e}h=s.atob.bind(s),f=s.btoa.bind(s);var Q="0123456789abcdef".split("");function F(A){for(var t="",e=0;e<4;e++)t+=Q[A>>8*e+4&15]+Q[A>>8*e&15];return t}function U(A){return String.fromCharCode((255&A)>>0,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function L(A){return v(A).map(U).join("")}var I="5d41402abc4b2a76b9719d911017c592"!=function(A){for(var t=0;t>16)+(t>>16)+(e>>16)<<16|65535&e}return A+t&4294967295} /** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function E(A,t){var e,r,n,i;if(A!==e){for(var s=(n=A,i=1+(256/A.length>>0),new Array(i+1).join(n)),o=[],a=0;a<256;a++)o[a]=a;var c=0;for(a=0;a<256;a++){var u=o[a];c=(c+u+s.charCodeAt(a))%256,o[a]=o[c],o[c]=u}e=A,r=o}else o=r;var l=t.length,h=0,f=0,d="";for(a=0;a€/\f©þdSiz";var i=(t+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=L(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=E(this.encryptionKey,this.padding)}function H(A){if(/[^\u0000-\u00ff]/.test(A))throw new Error("Invalid PDF Name Object: "+A+", Only accept ASCII characters.");for(var t="",e=A.length,r=0;r126?"#"+("0"+n.toString(16)).slice(-2):A[r]}return t}function N(A){if("object"!==n()(A))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(A,e,r){if(r=r||!1,"string"!=typeof A||"function"!=typeof e||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(A)||(t[A]={});var n=Math.random().toString(35);return t[A][n]=[e,!!r],n},this.unsubscribe=function(A){for(var e in t)if(t[e][A])return delete t[e][A],0===Object.keys(t[e]).length&&delete t[e],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in t[e]){var o=t[e][i];try{o[0].apply(A,r)}catch(e){s.console&&a.error("jsPDF PubSub Error",e.message,e)}o[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function k(A){if(!(this instanceof k))return new k(A);var t="opacity,stroke-opacity".split(",");for(var e in A)A.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=A[e]);this.id="",this.objectNumber=-1}function P(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function D(A,t,e,r,n){if(!(this instanceof D))return new D(A,t,e,r,n);this.type="axial"===A?2:3,this.coords=t,this.colors=e,P.call(this,r,n)}function O(A,t,e,r,n){if(!(this instanceof O))return new O(A,t,e,r,n);this.boundingBox=A,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,P.call(this,r,n)}function T(A){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],c=[],u=1,l=16,h="S",p=null;"object"===n()(A=A||{})&&(e=A.orientation,r=A.unit||r,i=A.format||i,o=A.compress||A.compressPdf||o,null!==(p=A.encryption||null)&&(p.userPassword=p.userPassword||"",p.ownerPassword=p.ownerPassword||"",p.userPermissions=p.userPermissions||[]),u="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(l=A.floatPrecision),h=A.defaultPathOperation||"S"),c=A.filters||(!0===o?["FlateEncode"]:c),r=r||"mm",e=(""+(e||"P")).toLowerCase();var B=A.putOnlyUsedFonts||!1,w={},m={internal:{},__private__:{}};m.__private__.PubSub=N;var b="1.3",y=m.__private__.getPdfVersion=function(){return b};m.__private__.setPdfVersion=function(A){b=A};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return v};var C=m.__private__.getPageFormat=function(A){return v[A]};i=i||"a4";var Q={COMPAT:"compat",ADVANCED:"advanced"},F=Q.COMPAT;function U(){this.saveGraphicsState(),lA(new GA(UA,0,0,-UA,0,Te()*UA).toString()+" cm"),this.setFontSize(this.getFontSize()/UA),h="n",F=Q.ADVANCED}function L(){this.restoreGraphicsState(),h="S",F=Q.COMPAT}var I=m.__private__.combineFontStyleAndFontWeight=function(A,t){if("bold"==A&&"normal"==t||"bold"==A&&400==t||"normal"==A&&"italic"==t||"bold"==A&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(A=400==t||"normal"===t?"italic"===A?"italic":"normal":700!=t&&"bold"!==t||"normal"!==A?(700==t?"bold":t)+""+A:"bold"),A};m.advancedAPI=function(A){var t=F===Q.COMPAT;return t&&U.call(this),"function"!=typeof A||(A(this),t&&L.call(this)),this},m.compatAPI=function(A){var t=F===Q.ADVANCED;return t&&L.call(this),"function"!=typeof A||(A(this),t&&U.call(this)),this},m.isAdvancedAPI=function(){return F===Q.ADVANCED};var x,E=function(A){if(F!==Q.ADVANCED)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},_=m.roundToPrecision=m.__private__.roundToPrecision=function(A,e){var r=t||e;if(isNaN(A)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return A.toFixed(r).replace(/0+$/,"")};x=m.hpf=m.__private__.hpf="number"==typeof l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,l)}:"smart"===l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,16)};var P=m.f2=m.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return _(A,2)},M=m.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return _(A,3)},K=m.scale=m.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return F===Q.COMPAT?A*UA:F===Q.ADVANCED?A:void 0},R=function(A){return F===Q.COMPAT?Te()-A:F===Q.ADVANCED?A:void 0},j=function(A){return K(R(A))};m.__private__.setPrecision=m.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var V,G="00000000000000000000000000000000",z=m.__private__.getFileId=function(){return G},q=m.__private__.setFileId=function(A){return G=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():G.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==p&&(qt=new S(p.userPermissions,p.userPassword,p.ownerPassword,G)),G};m.setFileId=function(A){return q(A),this},m.getFileId=function(){return z()};var W=m.__private__.convertDateToPDFDate=function(A){var t=A.getTimezoneOffset(),e=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),i=[e,$(r),"'",$(n),"'"].join("");return["D:",A.getFullYear(),$(A.getMonth()+1),$(A.getDate()),$(A.getHours()),$(A.getMinutes()),$(A.getSeconds()),i].join("")},X=m.__private__.convertPDFDateToDate=function(A){var t=parseInt(A.substr(2,4),10),e=parseInt(A.substr(6,2),10)-1,r=parseInt(A.substr(8,2),10),n=parseInt(A.substr(10,2),10),i=parseInt(A.substr(12,2),10),s=parseInt(A.substr(14,2),10);return new Date(t,e,r,n,i,s,0)},J=m.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=W(A);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(A))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=A}return V=t},Y=m.__private__.getCreationDate=function(A){var t=V;return"jsDate"===A&&(t=X(V)),t};m.setCreationDate=function(A){return J(A),this},m.getCreationDate=function(A){return Y(A)};var Z,$=m.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},AA=m.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},tA=0,eA=[],rA=[],nA=0,iA=[],sA=[],oA=!1,aA=rA,cA=function(){tA=0,nA=0,rA=[],eA=[],iA=[],$A=JA(),At=JA()};m.__private__.setCustomOutputDestination=function(A){oA=!0,aA=A};var uA=function(A){oA||(aA=A)};m.__private__.resetCustomOutputDestination=function(){oA=!1,aA=rA};var lA=m.__private__.out=function(A){return A=A.toString(),nA+=A.length+1,aA.push(A),aA},hA=m.__private__.write=function(A){return lA(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},fA=m.__private__.getArrayBuffer=function(A){for(var t=A.length,e=new ArrayBuffer(t),r=new Uint8Array(e);t--;)r[t]=A.charCodeAt(t);return e},dA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return dA};var gA=A.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(A){return gA=F===Q.ADVANCED?A/UA:A,this};var pA,BA=m.__private__.getFontSize=m.getFontSize=function(){return F===Q.COMPAT?gA:gA*UA},wA=A.R2L||!1;m.__private__.setR2L=m.setR2L=function(A){return wA=A,this},m.__private__.getR2L=m.getR2L=function(){return wA};var mA,bA=m.__private__.setZoomMode=function(A){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))pA=A;else if(isNaN(A)){if(-1===t.indexOf(A))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+A+'" is not recognized.');pA=A}else pA=parseInt(A,10)};m.__private__.getZoomMode=function(){return pA};var yA,vA=m.__private__.setPageMode=function(A){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(A))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+A+'" is not recognized.');mA=A};m.__private__.getPageMode=function(){return mA};var CA=m.__private__.setLayoutMode=function(A){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(A))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+A+'" is not recognized.');yA=A};m.__private__.getLayoutMode=function(){return yA},m.__private__.setDisplayMode=m.setDisplayMode=function(A,t,e){return bA(A),CA(t),vA(e),this};var QA={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(A){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return QA[A]},m.__private__.getDocumentProperties=function(){return QA},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(A){for(var t in QA)QA.hasOwnProperty(t)&&A[t]&&(QA[t]=A[t]);return this},m.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return QA[A]=t};var FA,UA,LA,IA,xA,EA={},_A={},SA=[],HA={},NA={},kA={},PA={},DA=null,OA=0,TA=[],MA=new N(m),KA=A.hotfixes||[],RA={},jA={},VA=[],GA=function A(t,e,r,n,i,s){if(!(this instanceof A))return new A(t,e,r,n,i,s);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(s)&&(s=0),this._matrix=[t,e,r,n,i,s]};Object.defineProperty(GA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(GA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(GA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(GA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(GA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(GA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(GA.prototype,"a",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(GA.prototype,"b",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(GA.prototype,"c",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(GA.prototype,"d",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(GA.prototype,"e",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(GA.prototype,"f",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(GA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(GA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(GA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(GA.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),GA.prototype.join=function(A){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(x).join(A)},GA.prototype.multiply=function(A){var t=A.sx*this.sx+A.shy*this.shx,e=A.sx*this.shy+A.shy*this.sy,r=A.shx*this.sx+A.sy*this.shx,n=A.shx*this.shy+A.sy*this.sy,i=A.tx*this.sx+A.ty*this.shx+this.tx,s=A.tx*this.shy+A.ty*this.sy+this.ty;return new GA(t,e,r,n,i,s)},GA.prototype.decompose=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=Math.sqrt(A*A+t*t),o=(A/=s)*e+(t/=s)*r;e-=A*o,r-=t*o;var a=Math.sqrt(e*e+r*r);return o/=a,A*(r/=a)>16&255,r=c>>8&255,i=255&c}if(void 0===r||void 0===s&&e===r&&r===i)if("string"==typeof e)t=e+" "+o[0];else switch(A.precision){case 2:t=P(e/255)+" "+o[0];break;case 3:default:t=M(e/255)+" "+o[0]}else if(void 0===s||"object"===n()(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof e)t=[e,r,i,o[1]].join(" ");else switch(A.precision){case 2:t=[P(e/255),P(r/255),P(i/255),o[1]].join(" ");break;default:case 3:t=[M(e/255),M(r/255),M(i/255),o[1]].join(" ")}}else if("string"==typeof e)t=[e,r,i,s,o[2]].join(" ");else switch(A.precision){case 2:t=[P(e),P(r),P(i),P(s),o[2]].join(" ");break;case 3:default:t=[M(e),M(r),M(i),M(s),o[2]].join(" ")}return t},rt=m.__private__.getFilters=function(){return c},nt=m.__private__.putStream=function(A){var t=(A=A||{}).data||"",e=A.filters||rt(),r=A.alreadyAppliedFilters||[],n=A.addLength1||!1,i=t.length,s=A.objectId,o=function(A){return A};if(null!==p&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==p&&(o=qt.encryptor(s,0));var a={};!0===e&&(e=["FlateEncode"]);var c=A.additionalKeyValues||[],u=(a=void 0!==T.API.processDataByFilters?T.API.processDataByFilters(t,e):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==a.data.length&&(c.push({key:"Length",value:a.data.length}),!0===n&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var l=0;l>"),0!==a.data.length&&(lA("stream"),lA(o(a.data)),lA("endstream"))},it=m.__private__.putPage=function(A){var t=A.number,e=A.data,r=A.objId,n=A.contentsObjId;YA(r,!0),lA("<>"),lA("endobj");var i=e.join("\n");return F===Q.ADVANCED&&(i+="\nQ"),YA(n,!0),nt({data:i,filters:rt(),objectId:n}),lA("endobj"),r},st=m.__private__.putPages=function(){var A,t,e=[];for(A=1;A<=OA;A++)TA[A].objId=JA(),TA[A].contentsObjId=JA();for(A=1;A<=OA;A++)e.push(it({number:A,data:sA[A],objId:TA[A].objId,contentsObjId:TA[A].contentsObjId,mediaBox:TA[A].mediaBox,cropBox:TA[A].cropBox,bleedBox:TA[A].bleedBox,trimBox:TA[A].trimBox,artBox:TA[A].artBox,userUnit:TA[A].userUnit,rootDictionaryObjId:$A,resourceDictionaryObjId:At}));YA($A,!0),lA("<>"),lA("endobj"),MA.publish("postPutPages")},ot=function(A){MA.publish("putFont",{font:A,out:lA,newObject:XA,putStream:nt}),!0!==A.isAlreadyPutted&&(A.objectNumber=XA(),lA("<<"),lA("/Type /Font"),lA("/BaseFont /"+H(A.postScriptName)),lA("/Subtype /Type1"),"string"==typeof A.encoding&&lA("/Encoding /"+A.encoding),lA("/FirstChar 32"),lA("/LastChar 255"),lA(">>"),lA("endobj"))},at=function(){for(var A in EA)EA.hasOwnProperty(A)&&(!1===B||!0===B&&w.hasOwnProperty(A))&&ot(EA[A])},ct=function(A){A.objectNumber=XA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[x(A.x),x(A.y),x(A.x+A.width),x(A.y+A.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+A.matrix.toString()+"]"});var e=A.pages[1].join("\n");nt({data:e,additionalKeyValues:t,objectId:A.objectNumber}),lA("endobj")},ut=function(){for(var A in RA)RA.hasOwnProperty(A)&&ct(RA[A])},lt=function(A,t){var e,r=[],n=1/(t-1);for(e=0;e<1;e+=n)r.push(e);if(r.push(1),0!=A[0].offset){var i={offset:0,color:A[0].color};A.unshift(i)}if(1!=A[A.length-1].offset){var s={offset:1,color:A[A.length-1].color};A.push(s)}for(var o="",a=0,c=0;cA[a+1].offset;)a++;var u=A[a].offset,l=(e-u)/(A[a+1].offset-u),h=A[a].color,f=A[a+1].color;o+=AA(Math.round((1-l)*h[0]+l*f[0]).toString(16))+AA(Math.round((1-l)*h[1]+l*f[1]).toString(16))+AA(Math.round((1-l)*h[2]+l*f[2]).toString(16))}return o.trim()},ht=function(A,t){t||(t=21);var e=XA(),r=lt(A.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:r,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:e}),lA("endobj"),A.objectNumber=XA(),lA("<< /ShadingType "+A.type),lA("/ColorSpace /DeviceRGB");var i="/Coords ["+x(parseFloat(A.coords[0]))+" "+x(parseFloat(A.coords[1]))+" ";2===A.type?i+=x(parseFloat(A.coords[2]))+" "+x(parseFloat(A.coords[3])):i+=x(parseFloat(A.coords[2]))+" "+x(parseFloat(A.coords[3]))+" "+x(parseFloat(A.coords[4]))+" "+x(parseFloat(A.coords[5])),lA(i+="]"),A.matrix&&lA("/Matrix ["+A.matrix.toString()+"]"),lA("/Function "+e+" 0 R"),lA("/Extend [true true]"),lA(">>"),lA("endobj")},ft=function(A,t){var e=JA(),r=XA();t.push({resourcesOid:e,objectOid:r}),A.objectNumber=r;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+A.boundingBox.map(x).join(" ")+"]"}),n.push({key:"XStep",value:x(A.xStep)}),n.push({key:"YStep",value:x(A.yStep)}),n.push({key:"Resources",value:e+" 0 R"}),A.matrix&&n.push({key:"Matrix",value:"["+A.matrix.toString()+"]"}),nt({data:A.stream,additionalKeyValues:n,objectId:A.objectNumber}),lA("endobj")},dt=function(A){var t;for(t in HA)HA.hasOwnProperty(t)&&(HA[t]instanceof D?ht(HA[t]):HA[t]instanceof O&&ft(HA[t],A))},gt=function(A){for(var t in A.objectNumber=XA(),lA("<<"),A)switch(t){case"opacity":lA("/ca "+P(A[t]));break;case"stroke-opacity":lA("/CA "+P(A[t]))}lA(">>"),lA("endobj")},pt=function(){var A;for(A in kA)kA.hasOwnProperty(A)&>(kA[A])},Bt=function(){for(var A in lA("/XObject <<"),RA)RA.hasOwnProperty(A)&&RA[A].objectNumber>=0&&lA("/"+A+" "+RA[A].objectNumber+" 0 R");MA.publish("putXobjectDict"),lA(">>")},wt=function(){qt.oid=XA(),lA("<<"),lA("/Filter /Standard"),lA("/V "+qt.v),lA("/R "+qt.r),lA("/U <"+qt.toHexString(qt.U)+">"),lA("/O <"+qt.toHexString(qt.O)+">"),lA("/P "+qt.P),lA(">>"),lA("endobj")},mt=function(){for(var A in lA("/Font <<"),EA)EA.hasOwnProperty(A)&&(!1===B||!0===B&&w.hasOwnProperty(A))&&lA("/"+A+" "+EA[A].objectNumber+" 0 R");lA(">>")},bt=function(){if(Object.keys(HA).length>0){for(var A in lA("/Shading <<"),HA)HA.hasOwnProperty(A)&&HA[A]instanceof D&&HA[A].objectNumber>=0&&lA("/"+A+" "+HA[A].objectNumber+" 0 R");MA.publish("putShadingPatternDict"),lA(">>")}},yt=function(A){if(Object.keys(HA).length>0){for(var t in lA("/Pattern <<"),HA)HA.hasOwnProperty(t)&&HA[t]instanceof m.TilingPattern&&HA[t].objectNumber>=0&&HA[t].objectNumber>")}},vt=function(){if(Object.keys(kA).length>0){var A;for(A in lA("/ExtGState <<"),kA)kA.hasOwnProperty(A)&&kA[A].objectNumber>=0&&lA("/"+A+" "+kA[A].objectNumber+" 0 R");MA.publish("putGStateDict"),lA(">>")}},Ct=function(A){YA(A.resourcesOid,!0),lA("<<"),lA("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),mt(),bt(),yt(A.objectOid),vt(),Bt(),lA(">>"),lA("endobj")},Qt=function(){var A=[];at(),pt(),ut(),dt(A),MA.publish("putResources"),A.forEach(Ct),Ct({resourcesOid:At,objectOid:Number.MAX_SAFE_INTEGER}),MA.publish("postPutResources")},Ft=function(){MA.publish("putAdditionalObjects");for(var A=0;A>8&&(a=!0);A=o.join("")}for(e=A.length;void 0===a&&0!==e;)A.charCodeAt(e-1)>>8&&(a=!0),e--;if(!a)return A;for(o=t.noBOM?[]:[254,255],e=0,r=A.length;e>8)>>8)throw new Error("Character at position "+e+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(u),o.push(c-(u<<8))}return String.fromCharCode.apply(void 0,o)},_t=m.__private__.pdfEscape=m.pdfEscape=function(A,t){return Et(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},St=m.__private__.beginPage=function(A){sA[++OA]=[],TA[OA]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},kt(OA),uA(sA[Z])},Ht=function(A,t){var r,n,s;switch(e=t||e,"string"==typeof A&&(r=C(A.toLowerCase()),Array.isArray(r)&&(n=r[0],s=r[1])),Array.isArray(A)&&(n=A[0]*UA,s=A[1]*UA),isNaN(n)&&(n=i[0],s=i[1]),(n>14400||s>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),n=Math.min(14400,n),s=Math.min(14400,s)),i=[n,s],e.substr(0,1)){case"l":s>n&&(i=[s,n]);break;case"p":n>s&&(i=[s,n])}St(i),de(he),lA(ve),0!==Ie&&lA(Ie+" J"),0!==xe&&lA(xe+" j"),MA.publish("addPage",{pageNumber:OA})},Nt=function(A){A>0&&A<=OA&&(sA.splice(A,1),TA.splice(A,1),OA--,Z>OA&&(Z=OA),this.setPage(Z))},kt=function(A){A>0&&A<=OA&&(Z=A)},Pt=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return sA.length-1},Dt=function(A,t,e){var r,n=void 0;return e=e||{},A=void 0!==A?A:EA[FA].fontName,t=void 0!==t?t:EA[FA].fontStyle,r=A.toLowerCase(),void 0!==_A[r]&&void 0!==_A[r][t]?n=_A[r][t]:void 0!==_A[A]&&void 0!==_A[A][t]?n=_A[A][t]:!1===e.disableWarning&&a.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||e.noFallback||null==(n=_A.times[t])&&(n=_A.times.normal),n},Ot=m.__private__.putInfo=function(){var A=XA(),t=function(A){return A};for(var e in null!==p&&(t=qt.encryptor(A,0)),lA("<<"),lA("/Producer ("+_t(t("jsPDF "+T.version))+")"),QA)QA.hasOwnProperty(e)&&QA[e]&&lA("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+_t(t(QA[e]))+")");lA("/CreationDate ("+_t(t(V))+")"),lA(">>"),lA("endobj")},Tt=m.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||$A;switch(XA(),lA("<<"),lA("/Type /Catalog"),lA("/Pages "+t+" 0 R"),pA||(pA="fullwidth"),pA){case"fullwidth":lA("/OpenAction [3 0 R /FitH null]");break;case"fullheight":lA("/OpenAction [3 0 R /FitV null]");break;case"fullpage":lA("/OpenAction [3 0 R /Fit]");break;case"original":lA("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+pA;"%"===e.substr(e.length-1)&&(pA=parseInt(pA)/100),"number"==typeof pA&&lA("/OpenAction [3 0 R /XYZ null null "+P(pA)+"]")}switch(yA||(yA="continuous"),yA){case"continuous":lA("/PageLayout /OneColumn");break;case"single":lA("/PageLayout /SinglePage");break;case"two":case"twoleft":lA("/PageLayout /TwoColumnLeft");break;case"tworight":lA("/PageLayout /TwoColumnRight")}mA&&lA("/PageMode /"+mA),MA.publish("putCatalog"),lA(">>"),lA("endobj")},Mt=m.__private__.putTrailer=function(){lA("trailer"),lA("<<"),lA("/Size "+(tA+1)),lA("/Root "+tA+" 0 R"),lA("/Info "+(tA-1)+" 0 R"),null!==p&&lA("/Encrypt "+qt.oid+" 0 R"),lA("/ID [ <"+G+"> <"+G+"> ]"),lA(">>")},Kt=m.__private__.putHeader=function(){lA("%PDF-"+b),lA("%ºß¬à")},Rt=m.__private__.putXRef=function(){var A="0000000000";lA("xref"),lA("0 "+(tA+1)),lA("0000000000 65535 f ");for(var t=1;t<=tA;t++)"function"==typeof eA[t]?lA((A+eA[t]()).slice(-10)+" 00000 n "):void 0!==eA[t]?lA((A+eA[t]).slice(-10)+" 00000 n "):lA("0000000000 00000 n ")},jt=m.__private__.buildDocument=function(){cA(),uA(rA),MA.publish("buildDocument"),Kt(),st(),Ft(),Qt(),null!==p&&wt(),Ot(),Tt();var A=nA;return Rt(),Mt(),lA("startxref"),lA(""+A),lA("%%EOF"),uA(sA[Z]),rA.join("\n")},Vt=m.__private__.getBlob=function(A){return new Blob([fA(A)],{type:"application/pdf"})},Gt=m.output=m.__private__.output=xt((function(A,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",A){case void 0:return jt();case"save":m.save(t.filename);break;case"arraybuffer":return fA(jt());case"blob":return Vt(jt());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Vt(jt()))||void 0;a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var e="",r=jt();try{e=f(r)}catch(A){e=f(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+e;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,i="");var o='