src/main/webapp/plugin/js/tableExport/libs/pdfmake/pdfmake.min.js

(开头部分) 1.03MB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*! pdfmake v0.1.27, @license MIT, @link http://pdfmake.org */
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(e){t.exports=e.pdfMake=n(1)}).call(e,function(){return this}())},function(t,e,n){(function(e){"use strict";function r(t,e,n,r){this.docDefinition=t,this.tableLayouts=e||null,this.fonts=n||u,this.vfs=r}function i(){return!!Object.keys}var o=n(6),a=n(299),s=a.saveAs,u={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}};r.prototype._createDoc=function(t,n){t=t||{},this.tableLayouts&&(t.tableLayouts=this.tableLayouts);var r=new o(this.fonts);r.fs.bindFS(this.vfs);var i,a=r.createPdfKitDocument(this.docDefinition,t),s=[];a.on("readable",function(){for(var t;null!==(t=a.read(9007199254740991));)s.push(t)}),a.on("end",function(){i=e.concat(s),n(i,a._pdfMakePages)}),a.end()},r.prototype._getPages=function(t,e){if(!e)throw"_getPages is an async method and needs a callback argument";this._createDoc(t,function(t,n){e(n)})},r.prototype._bufferToBlob=function(t){var e;try{e=new Blob([t],{type:"application/pdf"})}catch(r){if("InvalidStateError"===r.name){var n=new Uint8Array(t);e=new Blob([n.buffer],{type:"application/pdf"})}}if(!e)throw"Could not generate blob";return e},r.prototype._openWindow=function(){var t=window.open("","_blank");if(null===t)throw"Open PDF in new window blocked by browser";return t},r.prototype._openPdf=function(t){var e=this._openWindow();try{this.getBlob(function(t){var n=window.URL||window.webkitURL,r=n.createObjectURL(t);e.location.href=r},t)}catch(t){throw e.close(),t}},r.prototype.open=function(t){t=t||{},t.autoPrint=!1,this._openPdf(t)},r.prototype.print=function(t){t=t||{},t.autoPrint=!0,this._openPdf(t)},r.prototype.download=function(t,e,n){"function"==typeof t&&(e=t,t=null),t=t||"file.pdf",this.getBlob(function(n){s(n,t),"function"==typeof e&&e()},n)},r.prototype.getBase64=function(t,e){if(!t)throw"getBase64 is an async method and needs a callback argument";this.getBuffer(function(e){t(e.toString("base64"))},e)},r.prototype.getDataUrl=function(t,e){if(!t)throw"getDataUrl is an async method and needs a callback argument";this.getBuffer(function(e){t("data:application/pdf;base64,"+e.toString("base64"))},e)},r.prototype.getBlob=function(t,e){if(!t)throw"getBlob is an async method and needs a callback argument";var n=this;this.getBuffer(function(e){var r=n._bufferToBlob(e);t(r)},e)},r.prototype.getBuffer=function(t,e){if(!t)throw"getBuffer is an async method and needs a callback argument";this._createDoc(e,function(e){t(e)})},t.exports={createPdf:function(t){if(!i())throw"Your browser does not provide the level of support needed";return new r(t,window.pdfMake.tableLayouts,window.pdfMake.fonts,window.pdfMake.vfs)}}}).call(e,n(2).Buffer)},function(t,e,n){(function(t){"use strict";function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=o.prototype):(null===t&&(t=new o(e)),t.length=e),t}function o(t,e,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return c(this,t)}return a(this,t,e,n)}function a(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?h(t,e,n,r):"string"==typeof e?l(t,e,n):p(t,e)}function s(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function u(t,e,n,r){return s(e),e<=0?i(t,e):void 0!==n?"string"==typeof r?i(t,e).fill(n,r):i(t,e).fill(n):i(t,e)}function c(t,e){if(s(e),t=i(t,e<0?0:0|d(e)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function l(t,e,n){if("string"==typeof n&&""!==n||(n="utf8"),!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|v(e,n);t=i(t,r);var a=t.write(e,n);return a!==r&&(t=t.slice(0,a)),t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=i(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),o.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=o.prototype):t=f(t,e),t}function p(t,e){if(o.isBuffer(e)){var n=0|d(e.length);return t=i(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||K(e.length)?i(t,0):f(t,e);if("Buffer"===e.type&&Q(e.data))return f(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),o.alloc(+t)}function v(t,e){if(o.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(t).length;default:if(r)return V(t).length;e=(""+e).toLowerCase(),r=!0}}function y(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,n);case"utf8":case"utf-8":return P(this,e,n);case"ascii":return O(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return E(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function b(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=o.from(e,r)),o.isBuffer(e))return 0===e.length?-1:w(t,e,n,r,i);if("number"==typeof e)return e&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):w(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function w(t,e,n,r,i){function o(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}var a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}var c;if(i){var l=-1;for(c=n;c<s;c++)if(o(t,c)===o(e,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===u)return l*a}else l!==-1&&(c-=c-l),l=-1}else for(n+u>s&&(n=s-u),c=n;c>=0;c--){for(var f=!0,h=0;h<u;h++)if(o(t,c+h)!==o(e,h)){f=!1;break}if(f)return c}return-1}function x(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function S(t,e,n,r){return Y(V(e,t.length-n),t,n,r)}function k(t,e,n,r){return Y(q(e),t,n,r)}function _(t,e,n,r){return k(t,e,n,r)}function C(t,e,n,r){return Y(Z(e),t,n,r)}function A(t,e,n,r){return Y(H(e,t.length-n),t,n,r)}function E(t,e,n){return 0===e&&n===t.length?X.fromByteArray(t):X.fromByteArray(t.slice(e,n))}function P(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o=t[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,c,l,f;switch(s){case 1:o<128&&(a=o);break;case 2:u=t[i+1],128==(192&u)&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=t[i+1],c=t[i+2],128==(192&u)&&128==(192&c)&&(f=(15&o)<<12|(63&u)<<6|63&c)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=t[i+1],c=t[i+2],l=t[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(f=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return I(r)}function I(t){var e=t.length;if(e<=$)return String.fromCharCode.apply(String,t);for(var n="",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=$));return n}function O(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function L(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=G(t[o]);return i}function B(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,n,r,i,a){if(!o.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function z(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function F(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function D(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(t,e,n,r,i){return i||D(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(t,e,n,r,23,4),n+4}function U(t,e,n,r,i){return i||D(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(t,e,n,r,52,8),n+8}function W(t){if(t=j(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function j(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function G(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,e){e=e||1/0;for(var n,r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function H(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function Z(t){return X.toByteArray(W(t))}function Y(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}function K(t){return t!==t}var X=n(3),J=n(4),Q=n(5);e.Buffer=o,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=r(),o.poolSize=8192,o._augment=function(t){return t.__proto__=o.prototype,t},o.from=function(t,e,n){return a(null,t,e,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(t,e,n){return u(null,t,e,n)},o.allocUnsafe=function(t){return c(null,t)},o.allocUnsafeSlow=function(t){return c(null,t)},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.compare=function(t,e){if(!o.isBuffer(t)||!o.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,a=Math.min(n,r);i<a;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(t,e){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return o.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=o.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=v,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},o.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},o.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},o.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):y.apply(this,arguments)},o.prototype.equals=function(t){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===o.compare(this,t)},o.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},o.prototype.compare=function(t,e,n,r,i){if(!o.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var a=i-r,s=n-e,u=Math.min(a,s),c=this.slice(r,i),l=t.slice(e,n),f=0;f<u;++f)if(c[f]!==l[f]){a=c[f],s=l[f];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(t,e,n){return this.indexOf(t,e,n)!==-1},o.prototype.indexOf=function(t,e,n){return b(this,t,e,n,!0)},o.prototype.lastIndexOf=function(t,e,n){return b(this,t,e,n,!1)},o.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return x(this,t,e,n);case"utf8":case"utf-8":return S(this,t,e,n);case"ascii":return k(this,t,e,n);case"latin1":case"binary":return _(this,t,e,n);case"base64":return C(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;o.prototype.slice=function(t,e){var n=this.length;t=~~t,e=void 0===e?n:~~e,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),e<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t);var r;if(o.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=o.prototype;else{var i=e-t;r=new o(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+t]}return r},o.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},o.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},o.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},o.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},o.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},o.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},o.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},o.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},o.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},o.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},o.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},o.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},o.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),J.read(this,t,!0,23,4)},o.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),J.read(this,t,!1,23,4)},o.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),J.read(this,t,!0,52,8)},o.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),J.read(this,t,!1,52,8)},o.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){M(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},o.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){M(this,t,e,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},o.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,255,0),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},o.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},o.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},o.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):F(this,t,e,!0),e+4},o.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},o.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);M(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},o.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,127,-128),o.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},o.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):z(this,t,e,!0),e+2},o.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):z(this,t,e,!1),e+2},o.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):F(this,t,e,!0),e+4},o.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),o.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):F(this,t,e,!1),e+4},o.prototype.writeFloatLE=function(t,e,n){return N(this,t,e,!0,n)},o.prototype.writeFloatBE=function(t,e,n){return N(this,t,e,!1,n)},o.prototype.writeDoubleLE=function(t,e,n){return U(this,t,e,!0,n)},o.prototype.writeDoubleBE=function(t,e,n){return U(this,t,e,!1,n)},o.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,a=r-n;if(this===t&&n<e&&e<r)for(i=a-1;i>=0;--i)t[i+e]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+a),e);return a},o.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var a;if("number"==typeof t)for(a=e;a<n;++a)this[a]=t;else{var s=o.isBuffer(t)?t:V(new o(t,r).toString()),u=s.length;for(a=0;a<n-e;++a)this[a+e]=s[a%u]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(e,function(){return this}())},function(t,e){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function r(t){return 3*t.length/4-n(t)}function i(t){var e,r,i,o,a,s,u=t.length;a=n(t),s=new l(3*u/4-a),i=a>0?u-4:u;var f=0;for(e=0,r=0;e<i;e+=4,r+=3)o=c[t.charCodeAt(e)]<<18|c[t.charCodeAt(e+1)]<<12|c[t.charCodeAt(e+2)]<<6|c[t.charCodeAt(e+3)],s[f++]=o>>16&255,s[f++]=o>>8&255,s[f++]=255&o;return 2===a?(o=c[t.charCodeAt(e)]<<2|c[t.charCodeAt(e+1)]>>4,s[f++]=255&o):1===a&&(o=c[t.charCodeAt(e)]<<10|c[t.charCodeAt(e+1)]<<4|c[t.charCodeAt(e+2)]>>2,s[f++]=o>>8&255,s[f++]=255&o),s}function o(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}function a(t,e,n){for(var r,i=[],a=e;a<n;a+=3)r=(t[a]<<16)+(t[a+1]<<8)+t[a+2],i.push(o(r));return i.join("")}function s(t){for(var e,n=t.length,r=n%3,i="",o=[],s=0,c=n-r;s<c;s+=16383)o.push(a(t,s,s+16383>c?c:s+16383));return 1===r?(e=t[n-1],i+=u[e>>2],i+=u[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=u[e>>10],i+=u[e>>4&63],i+=u[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=r,e.toByteArray=i,e.fromByteArray=s;for(var u=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,p=f.length;h<p;++h)u[h]=f[h],c[f.charCodeAt(h)]=h;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,h=n?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+f>=1?h/u:h*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+p]=255&a,p+=d,a/=256,c-=8);t[n+p-d]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){"use strict";function r(t){this.fontDescriptors=t}function i(t,e){if(e.info.Producer="pdfmake",e.info.Creator="pdfmake",t.info){var n=t.info;e.info.Title=n.title?n.title:null,e.info.Author=n.author?n.author:null,e.info.Subject=n.subject?n.subject:null,e.info.Keywords=n.keywords?n.keywords:null,e.info.CreationDate=n.creationDate?n.creationDate:null}}function o(t,e){function n(t){return"function"==typeof t.item.getHeight?t.item.getHeight():t.item._height?t.item._height:0}var r=s(e||40),i=r.top+r.bottom;return t.forEach(function(t){t.items.forEach(function(t){i+=n(t)})}),i}function a(t,e){t&&"auto"===t.height&&(t.height=1/0);var n=c(t||"A4");return function(t){return("string"==typeof t||t instanceof String)&&("portrait"===(t=t.toLowerCase())&&n.width>n.height||"landscape"===t&&n.width<n.height)}(e)&&(n={width:n.height,height:n.width}),n.orientation=n.width>n.height?"landscape":"portrait",n}function s(t){if(!t)return null;if("number"==typeof t||t instanceof Number)t={left:t,right:t,top:t,bottom:t};else if(Array.isArray(t))if(2===t.length)t={left:t[0],top:t[1],right:t[0],bottom:t[1]};else{if(4!==t.length)throw"Invalid pageMargins definition";t={left:t[0],top:t[1],right:t[2],bottom:t[3]}}return t}function u(t){t.registerTableLayouts({noBorders:{hLineWidth:function(t){return 0},vLineWidth:function(t){return 0},paddingLeft:function(t){return t&&4||0},paddingRight:function(t,e){return t<e.table.widths.length-1?4:0}},headerLineOnly:{hLineWidth:function(t,e){return 0===t||t===e.table.body.length?0:t===e.table.headerRows?2:0},vLineWidth:function(t){return 0},paddingLeft:function(t){return 0===t?0:8},paddingRight:function(t,e){return t===e.table.widths.length-1?0:8}},lightHorizontalLines:{hLineWidth:function(t,e){return 0===t||t===e.table.body.length?0:t===e.table.headerRows?2:1},vLineWidth:function(t){return 0},hLineColor:function(t){return 1===t?"black":"#aaa"},paddingLeft:function(t){return 0===t?0:8},paddingRight:function(t,e){return t===e.table.widths.length-1?0:8}}})}function c(t){if("string"==typeof t||t instanceof String){var e=w[t.toUpperCase()];if(!e)throw"Page size "+t+" not recognized";return{width:e[0],height:e[1]}}return t}function l(t,e){var n=e.options.size[0]>e.options.size[1]?"landscape":"portrait";if(t.pageSize.orientation!==n){var r=e.options.size[0],i=e.options.size[1];e.options.size=[i,r]}}function f(t,e,n,r){n._pdfMakePages=t,n.addPage();var i=r&&v.sumBy(t,function(t){return t.items.length}),o=0;r=r||function(){};for(var a=0;a<t.length;a++){a>0&&(l(t[a],n),n.addPage(n.options));for(var s=t[a],u=0,c=s.items.length;u<c;u++){var f=s.items[u];switch(f.type){case"vector":d(f.item,n);break;case"line":h(f.item,f.item.x,f.item.y,n);break;case"image":g(f.item,f.item.x,f.item.y,n)}o++,r(o/i)}s.watermark&&p(s,n)}}function h(t,e,n,r){e=e||0,n=n||0;var i=t.getHeight(),o=t.getAscenderHeight(),a=i-o;S.drawBackground(t,e,n,r);for(var s=0,u=t.inlines.length;s<u;s++){var c=t.inlines[s],l=i-c.font.ascender/1e3*c.fontSize-a;r.fill(c.color||"black"),r._font=c.font,r.fontSize(c.fontSize),r.text(c.text,e+c.x,n+l,{lineBreak:!1,textWidth:c.width,wordCount:1,link:c.link})}S.drawDecorations(t,e,n,r)}function p(t,e){var n=t.watermark;e.fill(n.color),e.opacity(n.opacity),e.save();var r=Math.atan2(e.page.height,e.page.width)*-180/Math.PI;e.rotate(r,{origin:[e.page.width/2,e.page.height/2]});var i=e.page.width/2-n.size.size.width/2,o=e.page.height/2-n.size.size.height/4;e._font=n.font,e.fontSize(n.size.fontSize),e.text(n.text,i,o,{lineBreak:!1}),e.restore()}function d(t,e){switch(e.lineWidth(t.lineWidth||1),t.dash?e.dash(t.dash.length,{space:t.dash.space||t.dash.length,phase:t.dash.phase||0}):e.undash(),e.fillOpacity(t.fillOpacity||1),e.strokeOpacity(t.strokeOpacity||1),e.lineJoin(t.lineJoin||"miter"),t.type){case"ellipse":e.ellipse(t.x,t.y,t.r1,t.r2);break;case"rect":if(t.r?e.roundedRect(t.x,t.y,t.w,t.h,t.r):e.rect(t.x,t.y,t.w,t.h),t.linearGradient){for(var n=e.linearGradient(t.x,t.y,t.x+t.w,t.y),r=1/(t.linearGradient.length-1),i=0;i<t.linearGradient.length;i++)n.stop(i*r,t.linearGradient[i]);t.color=n}break;case"line":e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2);break;case"polyline":if(0===t.points.length)break;e.moveTo(t.points[0].x,t.points[0].y);for(var i=1,o=t.points.length;i<o;i++)e.lineTo(t.points[i].x,t.points[i].y);if(t.points.length>1){var a=t.points[0],s=t.points[t.points.length-1];(t.closePath||a.x===s.x&&a.y===s.y)&&e.closePath()}}t.color&&t.lineColor?e.fillAndStroke(t.color,t.lineColor):t.color?e.fill(t.color):e.stroke(t.lineColor||"black")}function g(t,e,n,r){r.image(t.image,t.x,t.y,{width:t._width,height:t._height}),t.link&&r.link(t.x,t.y,t._width,t._height,t.link)}var v=n(7),y=n(9),m=n(10),b=n(29),w=n(296),x=n(297),S=n(298);v.noConflict(),r.prototype.createPdfKitDocument=function(t,e){e=e||{};var n=a(t.pageSize,t.pageOrientation);this.pdfKitDoc=new b({size:[n.width,n.height],autoFirstPage:!1,compress:t.compress||!0}),i(t,this.pdfKitDoc),this.fontProvider=new y(this.fontDescriptors,this.pdfKitDoc),t.images=t.images||{};var r=new m(n,s(t.pageMargins||40),new x(this.pdfKitDoc,t.images));u(r),e.tableLayouts&&r.registerTableLayouts(e.tableLayouts);var c=r.layoutDocument(t.content,this.fontProvider,t.styles||{},t.defaultStyle||{fontSize:12,font:"Roboto"},t.background,t.header,t.footer,t.images,t.watermark,t.pageBreakBefore),l=t.maxPagesNumber||-1;if("number"==typeof l&&l>-1&&(c=c.slice(0,l)),n.height===1/0){var h=o(c,t.pageMargins);this.pdfKitDoc.options.size=[n.width,h]}if(f(c,this.fontProvider,this.pdfKitDoc,e.progressCallback),e.autoPrint){var p=this.pdfKitDoc.ref({Type:"Action",S:"Named",N:"Print"});this.pdfKitDoc._root.data.OpenAction=p,p.end()}return this.pdfKitDoc},t.exports=r,r.prototype.fs=n(53)},function(t,e,n){var r;(function(t,i){(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function c(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function l(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function p(t,e){return!!(null==t?0:t.length)&&_(t,e,0)>-1}function d(t,e,n){
for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function g(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function v(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function y(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function m(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function b(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function w(t){return t.split("")}function x(t){return t.match(Fe)||[]}function S(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function k(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function _(t,e,n){return e===e?J(t,e,n):k(t,A,n)}function C(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function A(t){return t!==t}function E(t,e){var n=null==t?0:t.length;return n?L(t,e)/n:Mt}function P(t){return function(e){return null==e?it:e[t]}}function I(t){return function(e){return null==t?it:t[e]}}function O(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function T(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function L(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);o!==it&&(n=n===it?o:n+o)}return n}function B(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function R(t,e){return g(e,function(e){return[e,t[e]]})}function M(t){return function(e){return t(e)}}function z(t,e){return g(e,function(e){return t[e]})}function F(t,e){return t.has(e)}function D(t,e){for(var n=-1,r=t.length;++n<r&&_(e,t[n],0)>-1;);return n}function N(t,e){for(var n=t.length;n--&&_(e,t[n],0)>-1;);return n}function U(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function W(t){return"\\"+Sn[t]}function j(t,e){return null==t?it:t[e]}function G(t){return pn.test(t)}function V(t){return dn.test(t)}function q(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Z(t,e){return function(n){return t(e(n))}}function Y(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==lt||(t[n]=lt,o[i++]=n)}return o}function K(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function X(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function J(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function Q(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function $(t){return G(t)?et(t):Nn(t)}function tt(t){return G(t)?nt(t):w(t)}function et(t){for(var e=fn.lastIndex=0;fn.test(t);)++e;return e}function nt(t){return t.match(fn)||[]}function rt(t){return t.match(hn)||[]}var it,ot=200,at="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",ut="__lodash_hash_undefined__",ct=500,lt="__lodash_placeholder__",ft=1,ht=2,pt=4,dt=1,gt=2,vt=1,yt=2,mt=4,bt=8,wt=16,xt=32,St=64,kt=128,_t=256,Ct=512,At=30,Et="...",Pt=800,It=16,Ot=1,Tt=2,Lt=1/0,Bt=9007199254740991,Rt=1.7976931348623157e308,Mt=NaN,zt=4294967295,Ft=zt-1,Dt=zt>>>1,Nt=[["ary",kt],["bind",vt],["bindKey",yt],["curry",bt],["curryRight",wt],["flip",Ct],["partial",xt],["partialRight",St],["rearg",_t]],Ut="[object Arguments]",Wt="[object Array]",jt="[object AsyncFunction]",Gt="[object Boolean]",Vt="[object Date]",qt="[object DOMException]",Ht="[object Error]",Zt="[object Function]",Yt="[object GeneratorFunction]",Kt="[object Map]",Xt="[object Number]",Jt="[object Null]",Qt="[object Object]",$t="[object Proxy]",te="[object RegExp]",ee="[object Set]",ne="[object String]",re="[object Symbol]",ie="[object Undefined]",oe="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ue="[object DataView]",ce="[object Float32Array]",le="[object Float64Array]",fe="[object Int8Array]",he="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",ge="[object Uint8ClampedArray]",ve="[object Uint16Array]",ye="[object Uint32Array]",me=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,we=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,Se=/[&<>"']/g,ke=RegExp(xe.source),_e=RegExp(Se.source),Ce=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ee=/^\w*$/,Pe=/^\./,Ie=/[\\^$.*+?()[\]{}|]/g,Oe=RegExp(Ie.source),Te=/^\s+|\s+$/g,Le=/^\s+/,Be=/\s+$/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Me=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,De=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ne=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,We=/^0b[01]+$/i,je=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Ve=/^(?:0|[1-9]\d*)$/,qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Ye="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ke="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xe="["+Ye+"]",Je="[a-z\\xdf-\\xf6\\xf8-\\xff]",Qe="[^\\ud800-\\udfff"+Ke+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",$e="\\ud83c[\\udffb-\\udfff]",tn="(?:\\ud83c[\\udde6-\\uddff]){2}",en="[\\ud800-\\udbff][\\udc00-\\udfff]",nn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rn="(?:"+Xe+"|"+$e+")?",on="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",tn,en].join("|")+")[\\ufe0e\\ufe0f]?"+rn+")*",an="[\\ufe0e\\ufe0f]?"+rn+on,sn="(?:"+["[\\u2700-\\u27bf]",tn,en].join("|")+")"+an,un="(?:"+["[^\\ud800-\\udfff]"+Xe+"?",Xe,tn,en,"[\\ud800-\\udfff]"].join("|")+")",cn=RegExp("['’]","g"),ln=RegExp(Xe,"g"),fn=RegExp($e+"(?="+$e+")|"+un+an,"g"),hn=RegExp([nn+"?"+Je+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+["["+Ke+"]",nn,"$"].join("|")+")","(?:"+nn+"|"+Qe+")+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+["["+Ke+"]",nn+"(?:"+Je+"|"+Qe+")","$"].join("|")+")",nn+"?(?:"+Je+"|"+Qe+")+(?:['’](?:d|ll|m|re|s|t|ve))?",nn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)","\\d+",sn].join("|"),"g"),pn=RegExp("[\\u200d\\ud800-\\udfff"+Ye+"\\ufe0e\\ufe0f]"),dn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,gn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],vn=-1,yn={};yn[ce]=yn[le]=yn[fe]=yn[he]=yn[pe]=yn[de]=yn[ge]=yn[ve]=yn[ye]=!0,yn[Ut]=yn[Wt]=yn[se]=yn[Gt]=yn[ue]=yn[Vt]=yn[Ht]=yn[Zt]=yn[Kt]=yn[Xt]=yn[Qt]=yn[te]=yn[ee]=yn[ne]=yn[oe]=!1;var mn={};mn[Ut]=mn[Wt]=mn[se]=mn[ue]=mn[Gt]=mn[Vt]=mn[ce]=mn[le]=mn[fe]=mn[he]=mn[pe]=mn[Kt]=mn[Xt]=mn[Qt]=mn[te]=mn[ee]=mn[ne]=mn[re]=mn[de]=mn[ge]=mn[ve]=mn[ye]=!0,mn[Ht]=mn[Zt]=mn[oe]=!1;var bn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},wn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},xn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Sn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kn=parseFloat,_n=parseInt,Cn="object"==typeof t&&t&&t.Object===Object&&t,An="object"==typeof self&&self&&self.Object===Object&&self,En=Cn||An||Function("return this")(),Pn="object"==typeof e&&e&&!e.nodeType&&e,In=Pn&&"object"==typeof i&&i&&!i.nodeType&&i,On=In&&In.exports===Pn,Tn=On&&Cn.process,Ln=function(){try{return Tn&&Tn.binding&&Tn.binding("util")}catch(t){}}(),Bn=Ln&&Ln.isArrayBuffer,Rn=Ln&&Ln.isDate,Mn=Ln&&Ln.isMap,zn=Ln&&Ln.isRegExp,Fn=Ln&&Ln.isSet,Dn=Ln&&Ln.isTypedArray,Nn=P("length"),Un=I(bn),Wn=I(wn),jn=I(xn),Gn=function t(e){function n(t){if(eu(t)&&!ph(t)&&!(t instanceof w)){if(t instanceof i)return t;if(hl.call(t,"__wrapped__"))return Qo(t)}return new i(t)}function r(){}function i(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=it}function w(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=zt,this.__views__=[]}function I(){var t=new w(this.__wrapped__);return t.__actions__=Bi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Bi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Bi(this.__views__),t}function J(){if(this.__filtered__){var t=new w(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=ph(t),r=e<0,i=n?t.length:0,o=ko(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=r?s:a-1,l=this.__iteratees__,f=l.length,h=0,p=jl(u,this.__takeCount__);if(!n||!r&&i==u&&p==u)return di(t,this.__actions__);var d=[];t:for(;u--&&h<p;){c+=e;for(var g=-1,v=t[c];++g<f;){var y=l[g],m=y.iteratee,b=y.type,w=m(v);if(b==Tt)v=w;else if(!w){if(b==Ot)continue t;break t}}d[h++]=v}return d}function nt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Fe(){this.__data__=Ql?Ql(null):{},this.size=0}function Ye(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Ke(t){var e=this.__data__;if(Ql){var n=e[t];return n===ut?it:n}return hl.call(e,t)?e[t]:it}function Xe(t){var e=this.__data__;return Ql?e[t]!==it:hl.call(e,t)}function Je(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ql&&e===it?ut:e,this}function Qe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $e(){this.__data__=[],this.size=0}function tn(t){var e=this.__data__,n=Hn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Al.call(e,n,1),--this.size,!0)}function en(t){var e=this.__data__,n=Hn(e,t);return n<0?it:e[n][1]}function nn(t){return Hn(this.__data__,t)>-1}function rn(t,e){var n=this.__data__,r=Hn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function on(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function an(){this.size=0,this.__data__={hash:new nt,map:new(Yl||Qe),string:new nt}}function sn(t){var e=bo(this,t).delete(t);return this.size-=e?1:0,e}function un(t){return bo(this,t).get(t)}function fn(t){return bo(this,t).has(t)}function hn(t,e){var n=bo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function pn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new on;++e<n;)this.add(t[e])}function dn(t){return this.__data__.set(t,ut),this}function bn(t){return this.__data__.has(t)}function wn(t){var e=this.__data__=new Qe(t);this.size=e.size}function xn(){this.__data__=new Qe,this.size=0}function Sn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function Cn(t){return this.__data__.get(t)}function An(t){return this.__data__.has(t)}function Pn(t,e){var n=this.__data__;if(n instanceof Qe){var r=n.__data__;if(!Yl||r.length<ot-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new on(r)}return n.set(t,e),this.size=n.size,this}function In(t,e){var n=ph(t),r=!n&&hh(t),i=!n&&!r&&gh(t),o=!n&&!r&&!i&&wh(t),a=n||r||i||o,s=a?B(t.length,ol):[],u=s.length;for(var c in t)!e&&!hl.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||To(c,u))||s.push(c);return s}function Tn(t){var e=t.length;return e?t[Kr(0,e-1)]:it}function Ln(t,e){return Yo(Bi(t),Qn(e,0,t.length))}function Nn(t){return Yo(Bi(t))}function Vn(t,e,n){(n===it||Ws(t[e],n))&&(n!==it||e in t)||Xn(t,e,n)}function qn(t,e,n){var r=t[e];hl.call(t,e)&&Ws(r,n)&&(n!==it||e in t)||Xn(t,e,n)}function Hn(t,e){for(var n=t.length;n--;)if(Ws(t[n][0],e))return n;return-1}function Zn(t,e,n,r){return ff(t,function(t,i,o){e(r,t,n(t),o)}),r}function Yn(t,e){return t&&Ri(e,zu(e),t)}function Kn(t,e){return t&&Ri(e,Fu(e),t)}function Xn(t,e,n){"__proto__"==e&&Ol?Ol(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Jn(t,e){for(var n=-1,r=e.length,i=Qc(r),o=null==t;++n<r;)i[n]=o?it:Bu(t,e[n]);return i}function Qn(t,e,n){return t===t&&(n!==it&&(t=t<=n?t:n),e!==it&&(t=t>=e?t:e)),t}function $n(t,e,n,r,i,o){var a,s=e&ft,u=e&ht,l=e&pt;if(n&&(a=i?n(t,r,i,o):n(t)),a!==it)return a;if(!tu(t))return t;var f=ph(t);if(f){if(a=Ao(t),!s)return Bi(t,a)}else{var h=kf(t),p=h==Zt||h==Yt;if(gh(t))return xi(t,s);if(h==Qt||h==Ut||p&&!i){if(a=u||p?{}:Eo(t),!s)return u?zi(t,Kn(a,t)):Mi(t,Yn(a,t))}else{if(!mn[h])return i?t:{};a=Po(t,h,$n,s)}}o||(o=new wn);var d=o.get(t);if(d)return d;o.set(t,a);var g=l?u?go:po:u?Fu:zu,v=f?it:g(t);return c(v||t,function(r,i){v&&(i=r,r=t[i]),qn(a,i,$n(r,e,n,i,t,o))}),a}function tr(t){var e=zu(t);return function(n){return er(n,t,e)}}function er(t,e,n){var r=n.length;if(null==t)return!r;for(t=rl(t);r--;){var i=n[r],o=e[i],a=t[i];if(a===it&&!(i in t)||!o(a))return!1}return!0}function nr(t,e,n){if("function"!=typeof t)throw new al(st);return Af(function(){t.apply(it,n)},e)}function rr(t,e,n,r){var i=-1,o=p,a=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=g(e,M(n))),r?(o=d,a=!1):e.length>=ot&&(o=F,a=!1,e=new pn(e));t:for(;++i<s;){var l=t[i],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f===f){for(var h=c;h--;)if(e[h]===f)continue t;u.push(l)}else o(e,f,r)||u.push(l)}return u}function ir(t,e){var n=!0;return ff(t,function(t,r,i){return n=!!e(t,r,i)}),n}function or(t,e,n){for(var r=-1,i=t.length;++r<i;){var o=t[r],a=e(o);if(null!=a&&(s===it?a===a&&!hu(a):n(a,s)))var s=a,u=o}return u}function ar(t,e,n,r){var i=t.length;for(n=mu(n),n<0&&(n=-n>i?0:i+n),r=r===it||r>i?i:mu(r),r<0&&(r+=i),r=n>r?0:bu(r);n<r;)t[n++]=e;return t}function sr(t,e){var n=[];return ff(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function ur(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=Oo),i||(i=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?ur(s,e-1,n,r,i):v(i,s):r||(i[i.length]=s)}return i}function cr(t,e){return t&&pf(t,e,zu)}function lr(t,e){return t&&df(t,e,zu)}function fr(t,e){return h(e,function(e){return Js(t[e])})}function hr(t,e){e=bi(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Ko(e[n++])];return n&&n==r?t:it}function pr(t,e,n){var r=e(t);return ph(t)?r:v(r,n(t))}function dr(t){return null==t?t===it?ie:Jt:Il&&Il in rl(t)?So(t):jo(t)}function gr(t,e){return t>e}function vr(t,e){return null!=t&&hl.call(t,e)}function yr(t,e){return null!=t&&e in rl(t)}function mr(t,e,n){return t>=jl(e,n)&&t<Wl(e,n)}function br(t,e,n){for(var r=n?d:p,i=t[0].length,o=t.length,a=o,s=Qc(o),u=1/0,c=[];a--;){var l=t[a];a&&e&&(l=g(l,M(e))),u=jl(l.length,u),s[a]=!n&&(e||i>=120&&l.length>=120)?new pn(a&&l):it}l=t[0];var f=-1,h=s[0];t:for(;++f<i&&c.length<u;){var v=l[f],y=e?e(v):v;if(v=n||0!==v?v:0,!(h?F(h,y):r(c,y,n))){for(a=o;--a;){var m=s[a];if(!(m?F(m,y):r(t[a],y,n)))continue t}h&&h.push(y),c.push(v)}}return c}function wr(t,e,n,r){return cr(t,function(t,i,o){e(r,n(t),i,o)}),r}function xr(t,e,n){e=bi(e,t),t=Vo(t,e);var r=null==t?t:t[Ko(ya(e))];return null==r?it:s(r,t,n)}function Sr(t){return eu(t)&&dr(t)==Ut}function kr(t){return eu(t)&&dr(t)==se}function _r(t){return eu(t)&&dr(t)==Vt}function Cr(t,e,n,r,i){return t===e||(null==t||null==e||!eu(t)&&!eu(e)?t!==t&&e!==e:Ar(t,e,n,r,Cr,i))}function Ar(t,e,n,r,i,o){var a=ph(t),s=ph(e),u=a?Wt:kf(t),c=s?Wt:kf(e);u=u==Ut?Qt:u,c=c==Ut?Qt:c;var l=u==Qt,f=c==Qt,h=u==c;if(h&&gh(t)){if(!gh(e))return!1;a=!0,l=!1}if(h&&!l)return o||(o=new wn),a||wh(t)?co(t,e,n,r,i,o):lo(t,e,u,n,r,i,o);if(!(n&dt)){var p=l&&hl.call(t,"__wrapped__"),d=f&&hl.call(e,"__wrapped__");if(p||d){var g=p?t.value():t,v=d?e.value():e;return o||(o=new wn),i(g,v,n,r,o)}}return!!h&&(o||(o=new wn),fo(t,e,n,r,i,o))}function Er(t){return eu(t)&&kf(t)==Kt}function Pr(t,e,n,r){var i=n.length,o=i,a=!r;if(null==t)return!o;for(t=rl(t);i--;){var s=n[i];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<o;){s=n[i];var u=s[0],c=t[u],l=s[1];if(a&&s[2]){if(c===it&&!(u in t))return!1}else{var f=new wn;if(r)var h=r(c,l,u,t,e,f);if(!(h===it?Cr(l,c,dt|gt,r,f):h))return!1}}return!0}function Ir(t){return!(!tu(t)||zo(t))&&(Js(t)?ml:je).test(Xo(t))}function Or(t){return eu(t)&&dr(t)==te}function Tr(t){return eu(t)&&kf(t)==ee}function Lr(t){return eu(t)&&$s(t.length)&&!!yn[dr(t)]}function Br(t){return"function"==typeof t?t:null==t?Ac:"object"==typeof t?ph(t)?Nr(t[0],t[1]):Dr(t):Rc(t)}function Rr(t){if(!Fo(t))return Ul(t);var e=[];for(var n in rl(t))hl.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Mr(t){if(!tu(t))return Wo(t);var e=Fo(t),n=[];for(var r in t)("constructor"!=r||!e&&hl.call(t,r))&&n.push(r);return n}function zr(t,e){return t<e}function Fr(t,e){var n=-1,r=js(t)?Qc(t.length):[];return ff(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Dr(t){var e=wo(t);return 1==e.length&&e[0][2]?No(e[0][0],e[0][1]):function(n){return n===t||Pr(n,t,e)}}function Nr(t,e){return Bo(t)&&Do(e)?No(Ko(t),e):function(n){var r=Bu(n,t);return r===it&&r===e?Mu(n,t):Cr(e,r,dt|gt)}}function Ur(t,e,n,r,i){t!==e&&pf(e,function(o,a){if(tu(o))i||(i=new wn),Wr(t,e,a,n,Ur,r,i);else{var s=r?r(t[a],o,a+"",t,e,i):it;s===it&&(s=o),Vn(t,a,s)}},Fu)}function Wr(t,e,n,r,i,o,a){var s=t[n],u=e[n],c=a.get(u);if(c)return void Vn(t,n,c);var l=o?o(s,u,n+"",t,e,a):it,f=l===it;if(f){var h=ph(u),p=!h&&gh(u),d=!h&&!p&&wh(u);l=u,h||p||d?ph(s)?l=s:Gs(s)?l=Bi(s):p?(f=!1,l=xi(u,!0)):d?(f=!1,l=Pi(u,!0)):l=[]:cu(u)||hh(u)?(l=s,hh(s)?l=xu(s):(!tu(s)||r&&Js(s))&&(l=Eo(u))):f=!1}f&&(a.set(u,l),i(l,u,r,o,a),a.delete(u)),Vn(t,n,l)}function jr(t,e){var n=t.length;if(n)return e+=e<0?n:0,To(e,n)?t[e]:it}function Gr(t,e,n){var r=-1;return e=g(e.length?e:[Ac],M(mo())),T(Fr(t,function(t,n,i){return{criteria:g(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Oi(t,e,n)})}function Vr(t,e){return qr(t,e,function(e,n){return Mu(t,n)})}function qr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],s=hr(t,a);n(s,a)&&ei(o,bi(a,t),s)}return o}function Hr(t){return function(e){return hr(e,t)}}function Zr(t,e,n,r){var i=r?C:_,o=-1,a=e.length,s=t;for(t===e&&(e=Bi(e)),n&&(s=g(t,M(n)));++o<a;)for(var u=0,c=e[o],l=n?n(c):c;(u=i(s,l,u,r))>-1;)s!==t&&Al.call(s,u,1),Al.call(t,u,1);return t}function Yr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;To(i)?Al.call(t,i,1):fi(t,i)}}return t}function Kr(t,e){return t+Ml(ql()*(e-t+1))}function Xr(t,e,n,r){for(var i=-1,o=Wl(Rl((e-t)/(n||1)),0),a=Qc(o);o--;)a[r?o:++i]=t,t+=n;return a}function Jr(t,e){var n="";if(!t||e<1||e>Bt)return n;do{e%2&&(n+=t),(e=Ml(e/2))&&(t+=t)}while(e);return n}function Qr(t,e){return Ef(Go(t,e,Ac),t+"")}function $r(t){return Tn(Ku(t))}function ti(t,e){var n=Ku(t);return Yo(n,Qn(e,0,n.length))}function ei(t,e,n,r){if(!tu(t))return t;e=bi(e,t);for(var i=-1,o=e.length,a=o-1,s=t;null!=s&&++i<o;){var u=Ko(e[i]),c=n;if(i!=a){var l=s[u];c=r?r(l,u,s):it,c===it&&(c=tu(l)?l:To(e[i+1])?[]:{})}qn(s,u,c),s=s[u]}return t}function ni(t){return Yo(Ku(t))}function ri(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Qc(i);++r<i;)o[r]=t[r+e];return o}function ii(t,e){var n;return ff(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function oi(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=Dt){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!hu(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return ai(t,e,Ac,n)}function ai(t,e,n,r){e=n(e);for(var i=0,o=null==t?0:t.length,a=e!==e,s=null===e,u=hu(e),c=e===it;i<o;){var l=Ml((i+o)/2),f=n(t[l]),h=f!==it,p=null===f,d=f===f,g=hu(f);if(a)var v=r||d;else v=c?d&&(r||h):s?d&&h&&(r||!p):u?d&&h&&!p&&(r||!g):!p&&!g&&(r?f<=e:f<e);v?i=l+1:o=l}return jl(o,Ft)}function si(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],s=e?e(a):a;if(!n||!Ws(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:hu(t)?Mt:+t}function ci(t){if("string"==typeof t)return t;if(ph(t))return g(t,ci)+"";if(hu(t))return cf?cf.call(t):"";var e=t+"";return"0"==e&&1/t==-Lt?"-0":e}function li(t,e,n){var r=-1,i=p,o=t.length,a=!0,s=[],u=s;if(n)a=!1,i=d;else if(o>=ot){var c=e?null:bf(t);if(c)return K(c);a=!1,i=F,u=new pn}else u=e?[]:s;t:for(;++r<o;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,a&&f===f){for(var h=u.length;h--;)if(u[h]===f)continue t;e&&u.push(f),s.push(l)}else i(u,f,n)||(u!==s&&u.push(f),s.push(l))}return s}function fi(t,e){return e=bi(e,t),null==(t=Vo(t,e))||delete t[Ko(ya(e))]}function hi(t,e,n,r){return ei(t,e,n(hr(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ri(t,r?0:o,r?o+1:i):ri(t,r?o+1:0,r?i:o)}function di(t,e){var n=t;return n instanceof w&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,v([t],e.args))},n)}function gi(t,e,n){var r=t.length;if(r<2)return r?li(t[0]):[];for(var i=-1,o=Qc(r);++i<r;)for(var a=t[i],s=-1;++s<r;)s!=i&&(o[i]=rr(o[i]||a,t[s],e,n));return li(ur(o,1),e,n)}function vi(t,e,n){for(var r=-1,i=t.length,o=e.length,a={};++r<i;){var s=r<o?e[r]:it;n(a,t[r],s)}return a}function yi(t){return Gs(t)?t:[]}function mi(t){return"function"==typeof t?t:Ac}function bi(t,e){return ph(t)?t:Bo(t,e)?[t]:Pf(ku(t))}function wi(t,e,n){var r=t.length;return n=n===it?r:n,!e&&n>=r?t:ri(t,e,n)}function xi(t,e){if(e)return t.slice();var n=t.length,r=Sl?Sl(n):new t.constructor(n);return t.copy(r),r}function Si(t){var e=new t.constructor(t.byteLength);return new xl(e).set(new xl(t)),e}function ki(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function _i(t,e,n){return y(e?n(H(t),ft):H(t),o,new t.constructor)}function Ci(t){var e=new t.constructor(t.source,Ne.exec(t));return e.lastIndex=t.lastIndex,e}function Ai(t,e,n){return y(e?n(K(t),ft):K(t),a,new t.constructor)}function Ei(t){return uf?rl(uf.call(t)):{}}function Pi(t,e){var n=e?Si(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ii(t,e){if(t!==e){var n=t!==it,r=null===t,i=t===t,o=hu(t),a=e!==it,s=null===e,u=e===e,c=hu(e);if(!s&&!c&&!o&&t>e||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&t<e||c&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!u)return-1}return 0}function Oi(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;++r<a;){var u=Ii(i[r],o[r]);if(u){if(r>=s)return u;return u*("desc"==n[r]?-1:1)}}return t.index-e.index}function Ti(t,e,n,r){for(var i=-1,o=t.length,a=n.length,s=-1,u=e.length,c=Wl(o-a,0),l=Qc(u+c),f=!r;++s<u;)l[s]=e[s];for(;++i<a;)(f||i<o)&&(l[n[i]]=t[i]);for(;c--;)l[s++]=t[i++];return l}function Li(t,e,n,r){for(var i=-1,o=t.length,a=-1,s=n.length,u=-1,c=e.length,l=Wl(o-s,0),f=Qc(l+c),h=!r;++i<l;)f[i]=t[i];for(var p=i;++u<c;)f[p+u]=e[u];for(;++a<s;)(h||i<o)&&(f[p+n[a]]=t[i++]);return f}function Bi(t,e){var n=-1,r=t.length;for(e||(e=Qc(r));++n<r;)e[n]=t[n];return e}function Ri(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=r?r(n[s],t[s],s,n,t):it;u===it&&(u=t[s]),i?Xn(n,s,u):qn(n,s,u)}return n}function Mi(t,e){return Ri(t,xf(t),e)}function zi(t,e){return Ri(t,Sf(t),e)}function Fi(t,e){return function(n,r){var i=ph(n)?u:Zn,o=e?e():{};return i(n,t,mo(r,2),o)}}function Di(t){return Qr(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:it,a=i>2?n[2]:it;for(o=t.length>3&&"function"==typeof o?(i--,o):it,a&&Lo(n[0],n[1],a)&&(o=i<3?it:o,i=1),e=rl(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e})}function Ni(t,e){return function(n,r){if(null==n)return n;if(!js(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=rl(n);(e?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function Ui(t){return function(e,n,r){for(var i=-1,o=rl(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(n(o[u],u,o)===!1)break}return e}}function Wi(t,e,n){function r(){return(this&&this!==En&&this instanceof r?o:t).apply(i?n:this,arguments)}var i=e&vt,o=Vi(t);return r}function ji(t){return function(e){e=ku(e);var n=G(e)?tt(e):it,r=n?n[0]:e.charAt(0),i=n?wi(n,1).join(""):e.slice(1);return r[t]()+i}}function Gi(t){return function(e){return y(xc(ec(e).replace(cn,"")),t,"")}}function Vi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=lf(t.prototype),r=t.apply(n,e);return tu(r)?r:n}}function qi(t,e,n){function r(){for(var o=arguments.length,a=Qc(o),u=o,c=yo(r);u--;)a[u]=arguments[u];var l=o<3&&a[0]!==c&&a[o-1]!==c?[]:Y(a,c);return(o-=l.length)<n?no(t,e,Yi,r.placeholder,it,a,l,it,it,n-o):s(this&&this!==En&&this instanceof r?i:t,this,a)}var i=Vi(t);return r}function Hi(t){return function(e,n,r){var i=rl(e);if(!js(e)){var o=mo(n,3);e=zu(e),n=function(t){return o(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[o?e[a]:a]:it}}function Zi(t){return ho(function(e){var n=e.length,r=n,o=i.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new al(st);if(o&&!s&&"wrapper"==vo(a))var s=new i([],!0)}for(r=s?r:n;++r<n;){a=e[r];var u=vo(a),c="wrapper"==u?wf(a):it;s=c&&Mo(c[0])&&c[1]==(kt|bt|xt|_t)&&!c[4].length&&1==c[9]?s[vo(c[0])].apply(s,c[3]):1==a.length&&Mo(a)?s[u]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&ph(r))return s.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function Yi(t,e,n,r,i,o,a,s,u,c){function l(){for(var y=arguments.length,m=Qc(y),b=y;b--;)m[b]=arguments[b];if(d)var w=yo(l),x=U(m,w);if(r&&(m=Ti(m,r,i,d)),o&&(m=Li(m,o,a,d)),y-=x,d&&y<c){var S=Y(m,w);return no(t,e,Yi,l.placeholder,n,m,S,s,u,c-y)}var k=h?n:this,_=p?k[t]:t;return y=m.length,s?m=qo(m,s):g&&y>1&&m.reverse(),f&&u<y&&(m.length=u),this&&this!==En&&this instanceof l&&(_=v||Vi(_)),_.apply(k,m)}var f=e&kt,h=e&vt,p=e&yt,d=e&(bt|wt),g=e&Ct,v=p?it:Vi(t);return l}function Ki(t,e){return function(n,r){return wr(n,t,e(r),{})}}function Xi(t,e){return function(n,r){var i;if(n===it&&r===it)return e;if(n!==it&&(i=n),r!==it){if(i===it)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=ui(n),r=ui(r)),i=t(n,r)}return i}}function Ji(t){return ho(function(e){return e=g(e,M(mo())),Qr(function(n){var r=this;return t(e,function(t){return s(t,r,n)})})})}function Qi(t,e){e=e===it?" ":ci(e);var n=e.length;if(n<2)return n?Jr(e,t):e;var r=Jr(e,Rl(t/$(e)));return G(e)?wi(tt(r),0,t).join(""):r.slice(0,t)}function $i(t,e,n,r){function i(){for(var e=-1,u=arguments.length,c=-1,l=r.length,f=Qc(l+u),h=this&&this!==En&&this instanceof i?a:t;++c<l;)f[c]=r[c];for(;u--;)f[c++]=arguments[++e];return s(h,o?n:this,f)}var o=e&vt,a=Vi(t);return i}function to(t){return function(e,n,r){return r&&"number"!=typeof r&&Lo(e,n,r)&&(n=r=it),e=yu(e),n===it?(n=e,e=0):n=yu(n),r=r===it?e<n?1:-1:yu(r),Xr(e,n,r,t)}}function eo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=wu(e),n=wu(n)),t(e,n)}}function no(t,e,n,r,i,o,a,s,u,c){var l=e&bt,f=l?a:it,h=l?it:a,p=l?o:it,d=l?it:o;e|=l?xt:St,(e&=~(l?St:xt))&mt||(e&=~(vt|yt));var g=[t,e,i,p,f,d,h,s,u,c],v=n.apply(it,g);return Mo(t)&&Cf(v,g),v.placeholder=r,Ho(v,t,e)}function ro(t){var e=nl[t];return function(t,n){if(t=wu(t),n=null==n?0:jl(mu(n),292)){var r=(ku(t)+"e").split("e");return r=(ku(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function io(t){return function(e){var n=kf(e);return n==Kt?H(e):n==ee?X(e):R(e,t(e))}}function oo(t,e,n,r,i,o,a,s){var u=e&yt;if(!u&&"function"!=typeof t)throw new al(st);var c=r?r.length:0;if(c||(e&=~(xt|St),r=i=it),a=a===it?a:Wl(mu(a),0),s=s===it?s:mu(s),c-=i?i.length:0,e&St){var l=r,f=i;r=i=it}var h=u?it:wf(t),p=[t,e,n,r,i,l,f,o,a,s];if(h&&Uo(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],s=p[9]=p[9]===it?u?0:t.length:Wl(p[9]-c,0),!s&&e&(bt|wt)&&(e&=~(bt|wt)),e&&e!=vt)d=e==bt||e==wt?qi(t,e,s):e!=xt&&e!=(vt|xt)||i.length?Yi.apply(it,p):$i(t,e,n,r);else var d=Wi(t,e,n);return Ho((h?gf:Cf)(d,p),t,e)}function ao(t,e,n,r){return t===it||Ws(t,cl[n])&&!hl.call(r,n)?e:t}function so(t,e,n,r,i,o){return tu(t)&&tu(e)&&(o.set(e,t),Ur(t,e,it,so,o),o.delete(e)),t}function uo(t){return cu(t)?it:t}function co(t,e,n,r,i,o){var a=n&dt,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,f=!0,h=n&gt?new pn:it;for(o.set(t,e),o.set(e,t);++l<s;){var p=t[l],d=e[l];if(r)var g=a?r(d,p,l,e,t,o):r(p,d,l,t,e,o);if(g!==it){if(g)continue;f=!1;break}if(h){if(!b(e,function(t,e){if(!F(h,e)&&(p===t||i(p,t,n,r,o)))return h.push(e)})){f=!1;break}}else if(p!==d&&!i(p,d,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function lo(t,e,n,r,i,o,a){switch(n){case ue:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case se:return!(t.byteLength!=e.byteLength||!o(new xl(t),new xl(e)));case Gt:case Vt:case Xt:return Ws(+t,+e);case Ht:return t.name==e.name&&t.message==e.message;case te:case ne:return t==e+"";case Kt:var s=H;case ee:var u=r&dt;if(s||(s=K),t.size!=e.size&&!u)return!1;var c=a.get(t);if(c)return c==e;r|=gt,a.set(t,e);var l=co(s(t),s(e),r,i,o,a);return a.delete(t),l;case re:if(uf)return uf.call(t)==uf.call(e)}return!1}function fo(t,e,n,r,i,o){var a=n&dt,s=po(t),u=s.length;if(u!=po(e).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in e:hl.call(e,l)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++c<u;){l=s[c];var d=t[l],g=e[l];if(r)var v=a?r(g,d,l,e,t,o):r(d,g,l,t,e,o);if(!(v===it?d===g||i(d,g,n,r,o):v)){h=!1;break}p||(p="constructor"==l)}if(h&&!p){var y=t.constructor,m=e.constructor;y!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(h=!1)}return o.delete(t),o.delete(e),h}function ho(t){return Ef(Go(t,it,ca),t+"")}function po(t){return pr(t,zu,xf)}function go(t){return pr(t,Fu,Sf)}function vo(t){for(var e=t.name+"",n=tf[e],r=hl.call(tf,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function yo(t){return(hl.call(n,"placeholder")?n:t).placeholder}function mo(){var t=n.iteratee||Ec;return t=t===Ec?Br:t,arguments.length?t(arguments[0],arguments[1]):t}function bo(t,e){var n=t.__data__;return Ro(e)?n["string"==typeof e?"string":"hash"]:n.map}function wo(t){for(var e=zu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Do(i)]}return e}function xo(t,e){var n=j(t,e);return Ir(n)?n:it}function So(t){var e=hl.call(t,Il),n=t[Il];try{t[Il]=it}catch(t){}var r=gl.call(t);return e?t[Il]=n:delete t[Il],r}function ko(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=jl(e,t+a);break;case"takeRight":t=Wl(t,e-a)}}return{
start:t,end:e}}function _o(t){var e=t.match(Me);return e?e[1].split(ze):[]}function Co(t,e,n){e=bi(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Ko(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&$s(i)&&To(a,i)&&(ph(t)||hh(t))}function Ao(t){var e=t.length,n=t.constructor(e);return e&&"string"==typeof t[0]&&hl.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Eo(t){return"function"!=typeof t.constructor||Fo(t)?{}:lf(kl(t))}function Po(t,e,n,r){var i=t.constructor;switch(e){case se:return Si(t);case Gt:case Vt:return new i(+t);case ue:return ki(t,r);case ce:case le:case fe:case he:case pe:case de:case ge:case ve:case ye:return Pi(t,r);case Kt:return _i(t,r,n);case Xt:case ne:return new i(t);case te:return Ci(t);case ee:return Ai(t,r,n);case re:return Ei(t)}}function Io(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Re,"{\n/* [wrapped with "+e+"] */\n")}function Oo(t){return ph(t)||hh(t)||!!(El&&t&&t[El])}function To(t,e){return!!(e=null==e?Bt:e)&&("number"==typeof t||Ve.test(t))&&t>-1&&t%1==0&&t<e}function Lo(t,e,n){if(!tu(n))return!1;var r=typeof e;return!!("number"==r?js(n)&&To(e,n.length):"string"==r&&e in n)&&Ws(n[e],t)}function Bo(t,e){if(ph(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hu(t))||(Ee.test(t)||!Ae.test(t)||null!=e&&t in rl(e))}function Ro(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mo(t){var e=vo(t),r=n[e];if("function"!=typeof r||!(e in w.prototype))return!1;if(t===r)return!0;var i=wf(r);return!!i&&t===i[0]}function zo(t){return!!dl&&dl in t}function Fo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||cl)}function Do(t){return t===t&&!tu(t)}function No(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==it||t in rl(n)))}}function Uo(t,e){var n=t[1],r=e[1],i=n|r,o=i<(vt|yt|kt),a=r==kt&&n==bt||r==kt&&n==_t&&t[7].length<=e[8]||r==(kt|_t)&&e[7].length<=e[8]&&n==bt;if(!o&&!a)return t;r&vt&&(t[2]=e[2],i|=n&vt?0:mt);var s=e[3];if(s){var u=t[3];t[3]=u?Ti(u,s,e[4]):s,t[4]=u?Y(t[3],lt):e[4]}return s=e[5],s&&(u=t[5],t[5]=u?Li(u,s,e[6]):s,t[6]=u?Y(t[5],lt):e[6]),s=e[7],s&&(t[7]=s),r&kt&&(t[8]=null==t[8]?e[8]:jl(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function Wo(t){var e=[];if(null!=t)for(var n in rl(t))e.push(n);return e}function jo(t){return gl.call(t)}function Go(t,e,n){return e=Wl(e===it?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Wl(r.length-e,0),a=Qc(o);++i<o;)a[i]=r[e+i];i=-1;for(var u=Qc(e+1);++i<e;)u[i]=r[i];return u[e]=n(a),s(t,this,u)}}function Vo(t,e){return e.length<2?t:hr(t,ri(e,0,-1))}function qo(t,e){for(var n=t.length,r=jl(e.length,n),i=Bi(t);r--;){var o=e[r];t[r]=To(o,n)?i[o]:it}return t}function Ho(t,e,n){var r=e+"";return Ef(t,Io(r,Jo(_o(r),n)))}function Zo(t){var e=0,n=0;return function(){var r=Gl(),i=It-(r-n);if(n=r,i>0){if(++e>=Pt)return arguments[0]}else e=0;return t.apply(it,arguments)}}function Yo(t,e){var n=-1,r=t.length,i=r-1;for(e=e===it?r:e;++n<e;){var o=Kr(n,i),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Ko(t){if("string"==typeof t||hu(t))return t;var e=t+"";return"0"==e&&1/t==-Lt?"-0":e}function Xo(t){if(null!=t){try{return fl.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Jo(t,e){return c(Nt,function(n){var r="_."+n[0];e&n[1]&&!p(t,r)&&t.push(r)}),t.sort()}function Qo(t){if(t instanceof w)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=Bi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function $o(t,e,n){e=(n?Lo(t,e,n):e===it)?1:Wl(mu(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var i=0,o=0,a=Qc(Rl(r/e));i<r;)a[o++]=ri(t,i,i+=e);return a}function ta(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function ea(){var t=arguments.length;if(!t)return[];for(var e=Qc(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return v(ph(n)?Bi(n):[n],ur(e,1))}function na(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:mu(e),ri(t,e<0?0:e,r)):[]}function ra(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:mu(e),e=r-e,ri(t,0,e<0?0:e)):[]}function ia(t,e){return t&&t.length?pi(t,mo(e,3),!0,!0):[]}function oa(t,e){return t&&t.length?pi(t,mo(e,3),!0):[]}function aa(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Lo(t,e,n)&&(n=0,r=i),ar(t,e,n,r)):[]}function sa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=Wl(r+i,0)),k(t,mo(e,3),i)}function ua(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==it&&(i=mu(n),i=n<0?Wl(r+i,0):jl(i,r-1)),k(t,mo(e,3),i,!0)}function ca(t){return(null==t?0:t.length)?ur(t,1):[]}function la(t){return(null==t?0:t.length)?ur(t,Lt):[]}function fa(t,e){return(null==t?0:t.length)?(e=e===it?1:mu(e),ur(t,e)):[]}function ha(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r}function pa(t){return t&&t.length?t[0]:it}function da(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=Wl(r+i,0)),_(t,e,i)}function ga(t){return(null==t?0:t.length)?ri(t,0,-1):[]}function va(t,e){return null==t?"":Nl.call(t,e)}function ya(t){var e=null==t?0:t.length;return e?t[e-1]:it}function ma(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==it&&(i=mu(n),i=i<0?Wl(r+i,0):jl(i,r-1)),e===e?Q(t,e,i):k(t,A,i,!0)}function ba(t,e){return t&&t.length?jr(t,mu(e)):it}function wa(t,e){return t&&t.length&&e&&e.length?Zr(t,e):t}function xa(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,mo(n,2)):t}function Sa(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,it,n):t}function ka(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=mo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return Yr(t,i),n}function _a(t){return null==t?t:Hl.call(t)}function Ca(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Lo(t,e,n)?(e=0,n=r):(e=null==e?0:mu(e),n=n===it?r:mu(n)),ri(t,e,n)):[]}function Aa(t,e){return oi(t,e)}function Ea(t,e,n){return ai(t,e,mo(n,2))}function Pa(t,e){var n=null==t?0:t.length;if(n){var r=oi(t,e);if(r<n&&Ws(t[r],e))return r}return-1}function Ia(t,e){return oi(t,e,!0)}function Oa(t,e,n){return ai(t,e,mo(n,2),!0)}function Ta(t,e){if(null==t?0:t.length){var n=oi(t,e,!0)-1;if(Ws(t[n],e))return n}return-1}function La(t){return t&&t.length?si(t):[]}function Ba(t,e){return t&&t.length?si(t,mo(e,2)):[]}function Ra(t){var e=null==t?0:t.length;return e?ri(t,1,e):[]}function Ma(t,e,n){return t&&t.length?(e=n||e===it?1:mu(e),ri(t,0,e<0?0:e)):[]}function za(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===it?1:mu(e),e=r-e,ri(t,e<0?0:e,r)):[]}function Fa(t,e){return t&&t.length?pi(t,mo(e,3),!1,!0):[]}function Da(t,e){return t&&t.length?pi(t,mo(e,3)):[]}function Na(t){return t&&t.length?li(t):[]}function Ua(t,e){return t&&t.length?li(t,mo(e,2)):[]}function Wa(t,e){return e="function"==typeof e?e:it,t&&t.length?li(t,it,e):[]}function ja(t){if(!t||!t.length)return[];var e=0;return t=h(t,function(t){if(Gs(t))return e=Wl(t.length,e),!0}),B(e,function(e){return g(t,P(e))})}function Ga(t,e){if(!t||!t.length)return[];var n=ja(t);return null==e?n:g(n,function(t){return s(e,it,t)})}function Va(t,e){return vi(t||[],e||[],qn)}function qa(t,e){return vi(t||[],e||[],ei)}function Ha(t){var e=n(t);return e.__chain__=!0,e}function Za(t,e){return e(t),t}function Ya(t,e){return e(t)}function Ka(){return Ha(this)}function Xa(){return new i(this.value(),this.__chain__)}function Ja(){this.__values__===it&&(this.__values__=vu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?it:this.__values__[this.__index__++]}}function Qa(){return this}function $a(t){for(var e,n=this;n instanceof r;){var i=Qo(n);i.__index__=0,i.__values__=it,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e}function ts(){var t=this.__wrapped__;if(t instanceof w){var e=t;return this.__actions__.length&&(e=new w(this)),e=e.reverse(),e.__actions__.push({func:Ya,args:[_a],thisArg:it}),new i(e,this.__chain__)}return this.thru(_a)}function es(){return di(this.__wrapped__,this.__actions__)}function ns(t,e,n){var r=ph(t)?f:ir;return n&&Lo(t,e,n)&&(e=it),r(t,mo(e,3))}function rs(t,e){return(ph(t)?h:sr)(t,mo(e,3))}function is(t,e){return ur(ls(t,e),1)}function os(t,e){return ur(ls(t,e),Lt)}function as(t,e,n){return n=n===it?1:mu(n),ur(ls(t,e),n)}function ss(t,e){return(ph(t)?c:ff)(t,mo(e,3))}function us(t,e){return(ph(t)?l:hf)(t,mo(e,3))}function cs(t,e,n,r){t=js(t)?t:Ku(t),n=n&&!r?mu(n):0;var i=t.length;return n<0&&(n=Wl(i+n,0)),fu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&_(t,e,n)>-1}function ls(t,e){return(ph(t)?g:Fr)(t,mo(e,3))}function fs(t,e,n,r){return null==t?[]:(ph(e)||(e=null==e?[]:[e]),n=r?it:n,ph(n)||(n=null==n?[]:[n]),Gr(t,e,n))}function hs(t,e,n){var r=ph(t)?y:O,i=arguments.length<3;return r(t,mo(e,4),n,i,ff)}function ps(t,e,n){var r=ph(t)?m:O,i=arguments.length<3;return r(t,mo(e,4),n,i,hf)}function ds(t,e){return(ph(t)?h:sr)(t,Ps(mo(e,3)))}function gs(t){return(ph(t)?Tn:$r)(t)}function vs(t,e,n){return e=(n?Lo(t,e,n):e===it)?1:mu(e),(ph(t)?Ln:ti)(t,e)}function ys(t){return(ph(t)?Nn:ni)(t)}function ms(t){if(null==t)return 0;if(js(t))return fu(t)?$(t):t.length;var e=kf(t);return e==Kt||e==ee?t.size:Rr(t).length}function bs(t,e,n){var r=ph(t)?b:ii;return n&&Lo(t,e,n)&&(e=it),r(t,mo(e,3))}function ws(t,e){if("function"!=typeof e)throw new al(st);return t=mu(t),function(){if(--t<1)return e.apply(this,arguments)}}function xs(t,e,n){return e=n?it:e,e=t&&null==e?t.length:e,oo(t,kt,it,it,it,it,e)}function Ss(t,e){var n;if("function"!=typeof e)throw new al(st);return t=mu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=it),n}}function ks(t,e,n){e=n?it:e;var r=oo(t,bt,it,it,it,it,it,e);return r.placeholder=ks.placeholder,r}function _s(t,e,n){e=n?it:e;var r=oo(t,wt,it,it,it,it,it,e);return r.placeholder=_s.placeholder,r}function Cs(t,e,n){function r(e){var n=h,r=p;return h=p=it,m=e,g=t.apply(r,n)}function i(t){return m=t,v=Af(s,e),b?r(t):g}function o(t){var n=t-y,r=t-m,i=e-n;return w?jl(i,d-r):i}function a(t){var n=t-y,r=t-m;return y===it||n>=e||n<0||w&&r>=d}function s(){var t=eh();if(a(t))return u(t);v=Af(s,o(t))}function u(t){return v=it,x&&h?r(t):(h=p=it,g)}function c(){v!==it&&mf(v),m=0,h=y=p=v=it}function l(){return v===it?g:u(eh())}function f(){var t=eh(),n=a(t);if(h=arguments,p=this,y=t,n){if(v===it)return i(y);if(w)return v=Af(s,e),r(y)}return v===it&&(v=Af(s,e)),g}var h,p,d,g,v,y,m=0,b=!1,w=!1,x=!0;if("function"!=typeof t)throw new al(st);return e=wu(e)||0,tu(n)&&(b=!!n.leading,w="maxWait"in n,d=w?Wl(wu(n.maxWait)||0,e):d,x="trailing"in n?!!n.trailing:x),f.cancel=c,f.flush=l,f}function As(t){return oo(t,Ct)}function Es(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new al(st);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Es.Cache||on),n}function Ps(t){if("function"!=typeof t)throw new al(st);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Is(t){return Ss(2,t)}function Os(t,e){if("function"!=typeof t)throw new al(st);return e=e===it?e:mu(e),Qr(t,e)}function Ts(t,e){if("function"!=typeof t)throw new al(st);return e=null==e?0:Wl(mu(e),0),Qr(function(n){var r=n[e],i=wi(n,0,e);return r&&v(i,r),s(t,this,i)})}function Ls(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new al(st);return tu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Cs(t,e,{leading:r,maxWait:e,trailing:i})}function Bs(t){return xs(t,1)}function Rs(t,e){return sh(mi(e),t)}function Ms(){if(!arguments.length)return[];var t=arguments[0];return ph(t)?t:[t]}function zs(t){return $n(t,pt)}function Fs(t,e){return e="function"==typeof e?e:it,$n(t,pt,e)}function Ds(t){return $n(t,ft|pt)}function Ns(t,e){return e="function"==typeof e?e:it,$n(t,ft|pt,e)}function Us(t,e){return null==e||er(t,e,zu(e))}function Ws(t,e){return t===e||t!==t&&e!==e}function js(t){return null!=t&&$s(t.length)&&!Js(t)}function Gs(t){return eu(t)&&js(t)}function Vs(t){return t===!0||t===!1||eu(t)&&dr(t)==Gt}function qs(t){return eu(t)&&1===t.nodeType&&!cu(t)}function Hs(t){if(null==t)return!0;if(js(t)&&(ph(t)||"string"==typeof t||"function"==typeof t.splice||gh(t)||wh(t)||hh(t)))return!t.length;var e=kf(t);if(e==Kt||e==ee)return!t.size;if(Fo(t))return!Rr(t).length;for(var n in t)if(hl.call(t,n))return!1;return!0}function Zs(t,e){return Cr(t,e)}function Ys(t,e,n){n="function"==typeof n?n:it;var r=n?n(t,e):it;return r===it?Cr(t,e,it,n):!!r}function Ks(t){if(!eu(t))return!1;var e=dr(t);return e==Ht||e==qt||"string"==typeof t.message&&"string"==typeof t.name&&!cu(t)}function Xs(t){return"number"==typeof t&&Dl(t)}function Js(t){if(!tu(t))return!1;var e=dr(t);return e==Zt||e==Yt||e==jt||e==$t}function Qs(t){return"number"==typeof t&&t==mu(t)}function $s(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Bt}function tu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function eu(t){return null!=t&&"object"==typeof t}function nu(t,e){return t===e||Pr(t,e,wo(e))}function ru(t,e,n){return n="function"==typeof n?n:it,Pr(t,e,wo(e),n)}function iu(t){return uu(t)&&t!=+t}function ou(t){if(_f(t))throw new tl(at);return Ir(t)}function au(t){return null===t}function su(t){return null==t}function uu(t){return"number"==typeof t||eu(t)&&dr(t)==Xt}function cu(t){if(!eu(t)||dr(t)!=Qt)return!1;var e=kl(t);if(null===e)return!0;var n=hl.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&fl.call(n)==vl}function lu(t){return Qs(t)&&t>=-Bt&&t<=Bt}function fu(t){return"string"==typeof t||!ph(t)&&eu(t)&&dr(t)==ne}function hu(t){return"symbol"==typeof t||eu(t)&&dr(t)==re}function pu(t){return t===it}function du(t){return eu(t)&&kf(t)==oe}function gu(t){return eu(t)&&dr(t)==ae}function vu(t){if(!t)return[];if(js(t))return fu(t)?tt(t):Bi(t);if(Pl&&t[Pl])return q(t[Pl]());var e=kf(t);return(e==Kt?H:e==ee?K:Ku)(t)}function yu(t){if(!t)return 0===t?t:0;if((t=wu(t))===Lt||t===-Lt){return(t<0?-1:1)*Rt}return t===t?t:0}function mu(t){var e=yu(t),n=e%1;return e===e?n?e-n:e:0}function bu(t){return t?Qn(mu(t),0,zt):0}function wu(t){if("number"==typeof t)return t;if(hu(t))return Mt;if(tu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=tu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Te,"");var n=We.test(t);return n||Ge.test(t)?_n(t.slice(2),n?2:8):Ue.test(t)?Mt:+t}function xu(t){return Ri(t,Fu(t))}function Su(t){return t?Qn(mu(t),-Bt,Bt):0===t?t:0}function ku(t){return null==t?"":ci(t)}function _u(t,e){var n=lf(t);return null==e?n:Yn(n,e)}function Cu(t,e){return S(t,mo(e,3),cr)}function Au(t,e){return S(t,mo(e,3),lr)}function Eu(t,e){return null==t?t:pf(t,mo(e,3),Fu)}function Pu(t,e){return null==t?t:df(t,mo(e,3),Fu)}function Iu(t,e){return t&&cr(t,mo(e,3))}function Ou(t,e){return t&&lr(t,mo(e,3))}function Tu(t){return null==t?[]:fr(t,zu(t))}function Lu(t){return null==t?[]:fr(t,Fu(t))}function Bu(t,e,n){var r=null==t?it:hr(t,e);return r===it?n:r}function Ru(t,e){return null!=t&&Co(t,e,vr)}function Mu(t,e){return null!=t&&Co(t,e,yr)}function zu(t){return js(t)?In(t):Rr(t)}function Fu(t){return js(t)?In(t,!0):Mr(t)}function Du(t,e){var n={};return e=mo(e,3),cr(t,function(t,r,i){Xn(n,e(t,r,i),t)}),n}function Nu(t,e){var n={};return e=mo(e,3),cr(t,function(t,r,i){Xn(n,r,e(t,r,i))}),n}function Uu(t,e){return Wu(t,Ps(mo(e)))}function Wu(t,e){if(null==t)return{};var n=g(go(t),function(t){return[t]});return e=mo(e),qr(t,n,function(t,n){return e(t,n[0])})}function ju(t,e,n){e=bi(e,t);var r=-1,i=e.length;for(i||(i=1,t=it);++r<i;){var o=null==t?it:t[Ko(e[r])];o===it&&(r=i,o=n),t=Js(o)?o.call(t):o}return t}function Gu(t,e,n){return null==t?t:ei(t,e,n)}function Vu(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:ei(t,e,n,r)}function qu(t,e,n){var r=ph(t),i=r||gh(t)||wh(t);if(e=mo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:tu(t)&&Js(o)?lf(kl(t)):{}}return(i?c:cr)(t,function(t,r,i){return e(n,t,r,i)}),n}function Hu(t,e){return null==t||fi(t,e)}function Zu(t,e,n){return null==t?t:hi(t,e,mi(n))}function Yu(t,e,n,r){return r="function"==typeof r?r:it,null==t?t:hi(t,e,mi(n),r)}function Ku(t){return null==t?[]:z(t,zu(t))}function Xu(t){return null==t?[]:z(t,Fu(t))}function Ju(t,e,n){return n===it&&(n=e,e=it),n!==it&&(n=wu(n),n=n===n?n:0),e!==it&&(e=wu(e),e=e===e?e:0),Qn(wu(t),e,n)}function Qu(t,e,n){return e=yu(e),n===it?(n=e,e=0):n=yu(n),t=wu(t),mr(t,e,n)}function $u(t,e,n){if(n&&"boolean"!=typeof n&&Lo(t,e,n)&&(e=n=it),n===it&&("boolean"==typeof e?(n=e,e=it):"boolean"==typeof t&&(n=t,t=it)),t===it&&e===it?(t=0,e=1):(t=yu(t),e===it?(e=t,t=0):e=yu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=ql();return jl(t+i*(e-t+kn("1e-"+((i+"").length-1))),e)}return Kr(t,e)}function tc(t){return Hh(ku(t).toLowerCase())}function ec(t){return(t=ku(t))&&t.replace(qe,Un).replace(ln,"")}function nc(t,e,n){t=ku(t),e=ci(e);var r=t.length;n=n===it?r:Qn(mu(n),0,r);var i=n;return(n-=e.length)>=0&&t.slice(n,i)==e}function rc(t){return t=ku(t),t&&_e.test(t)?t.replace(Se,Wn):t}function ic(t){return t=ku(t),t&&Oe.test(t)?t.replace(Ie,"\\$&"):t}function oc(t,e,n){t=ku(t),e=mu(e);var r=e?$(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Qi(Ml(i),n)+t+Qi(Rl(i),n)}function ac(t,e,n){t=ku(t),e=mu(e);var r=e?$(t):0;return e&&r<e?t+Qi(e-r,n):t}function sc(t,e,n){t=ku(t),e=mu(e);var r=e?$(t):0;return e&&r<e?Qi(e-r,n)+t:t}function uc(t,e,n){return n||null==e?e=0:e&&(e=+e),Vl(ku(t).replace(Le,""),e||0)}function cc(t,e,n){return e=(n?Lo(t,e,n):e===it)?1:mu(e),Jr(ku(t),e)}function lc(){var t=arguments,e=ku(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function fc(t,e,n){return n&&"number"!=typeof n&&Lo(t,e,n)&&(e=n=it),(n=n===it?zt:n>>>0)?(t=ku(t),t&&("string"==typeof e||null!=e&&!mh(e))&&!(e=ci(e))&&G(t)?wi(tt(t),0,n):t.split(e,n)):[]}function hc(t,e,n){return t=ku(t),n=null==n?0:Qn(mu(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e}function pc(t,e,r){var i=n.templateSettings;r&&Lo(t,e,r)&&(e=it),t=ku(t),e=Ch({},e,i,ao);var o,a,s=Ch({},e.imports,i.imports,ao),u=zu(s),c=z(s,u),l=0,f=e.interpolate||He,h="__p += '",p=il((e.escape||He).source+"|"+f.source+"|"+(f===Ce?De:He).source+"|"+(e.evaluate||He).source+"|$","g"),d="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++vn+"]")+"\n";t.replace(p,function(e,n,r,i,s,u){return r||(r=i),h+=t.slice(l,u).replace(Ze,W),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e}),h+="';\n";var g=e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(me,""):h).replace(be,"$1").replace(we,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Zh(function(){return el(u,d+"return "+h).apply(it,c)});if(v.source=h,Ks(v))throw v;return v}function dc(t){return ku(t).toLowerCase()}function gc(t){return ku(t).toUpperCase()}function vc(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Te,"");if(!t||!(e=ci(e)))return t;var r=tt(t),i=tt(e);return wi(r,D(r,i),N(r,i)+1).join("")}function yc(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Be,"");if(!t||!(e=ci(e)))return t;var r=tt(t);return wi(r,0,N(r,tt(e))+1).join("")}function mc(t,e,n){if((t=ku(t))&&(n||e===it))return t.replace(Le,"");if(!t||!(e=ci(e)))return t;var r=tt(t);return wi(r,D(r,tt(e))).join("")}function bc(t,e){var n=At,r=Et;if(tu(e)){var i="separator"in e?e.separator:i;n="length"in e?mu(e.length):n,r="omission"in e?ci(e.omission):r}t=ku(t);var o=t.length;if(G(t)){var a=tt(t);o=a.length}if(n>=o)return t;var s=n-$(r);if(s<1)return r;var u=a?wi(a,0,s).join(""):t.slice(0,s);if(i===it)return u+r;if(a&&(s+=u.length-s),mh(i)){if(t.slice(s).search(i)){var c,l=u;for(i.global||(i=il(i.source,ku(Ne.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var f=c.index;u=u.slice(0,f===it?s:f)}}else if(t.indexOf(ci(i),s)!=s){var h=u.lastIndexOf(i);h>-1&&(u=u.slice(0,h))}return u+r}function wc(t){return t=ku(t),t&&ke.test(t)?t.replace(xe,jn):t}function xc(t,e,n){return t=ku(t),e=n?it:e,e===it?V(t)?rt(t):x(t):t.match(e)||[]}function Sc(t){var e=null==t?0:t.length,n=mo();return t=e?g(t,function(t){if("function"!=typeof t[1])throw new al(st);return[n(t[0]),t[1]]}):[],Qr(function(n){for(var r=-1;++r<e;){var i=t[r];if(s(i[0],this,n))return s(i[1],this,n)}})}function kc(t){return tr($n(t,ft))}function _c(t){return function(){return t}}function Cc(t,e){return null==t||t!==t?e:t}function Ac(t){return t}function Ec(t){return Br("function"==typeof t?t:$n(t,ft))}function Pc(t){return Dr($n(t,ft))}function Ic(t,e){return Nr(t,$n(e,ft))}function Oc(t,e,n){var r=zu(e),i=fr(e,r);null!=n||tu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=fr(e,zu(e)));var o=!(tu(n)&&"chain"in n&&!n.chain),a=Js(t);return c(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Bi(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,v([this.value()],arguments))})}),t}function Tc(){return En._===this&&(En._=yl),this}function Lc(){}function Bc(t){return t=mu(t),Qr(function(e){return jr(e,t)})}function Rc(t){return Bo(t)?P(Ko(t)):Hr(t)}function Mc(t){return function(e){return null==t?it:hr(t,e)}}function zc(){return[]}function Fc(){return!1}function Dc(){return{}}function Nc(){return""}function Uc(){return!0}function Wc(t,e){if((t=mu(t))<1||t>Bt)return[];var n=zt,r=jl(t,zt);e=mo(e),t-=zt;for(var i=B(r,e);++n<t;)e(n);return i}function jc(t){return ph(t)?g(t,Ko):hu(t)?[t]:Bi(Pf(ku(t)))}function Gc(t){var e=++pl;return ku(t)+e}function Vc(t){return t&&t.length?or(t,Ac,gr):it}function qc(t,e){return t&&t.length?or(t,mo(e,2),gr):it}function Hc(t){return E(t,Ac)}function Zc(t,e){return E(t,mo(e,2))}function Yc(t){return t&&t.length?or(t,Ac,zr):it}function Kc(t,e){return t&&t.length?or(t,mo(e,2),zr):it}function Xc(t){return t&&t.length?L(t,Ac):0}function Jc(t,e){return t&&t.length?L(t,mo(e,2)):0}e=null==e?En:Gn.defaults(En.Object(),e,Gn.pick(En,gn));var Qc=e.Array,$c=e.Date,tl=e.Error,el=e.Function,nl=e.Math,rl=e.Object,il=e.RegExp,ol=e.String,al=e.TypeError,sl=Qc.prototype,ul=el.prototype,cl=rl.prototype,ll=e["__core-js_shared__"],fl=ul.toString,hl=cl.hasOwnProperty,pl=0,dl=function(){var t=/[^.]+$/.exec(ll&&ll.keys&&ll.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),gl=cl.toString,vl=fl.call(rl),yl=En._,ml=il("^"+fl.call(hl).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bl=On?e.Buffer:it,wl=e.Symbol,xl=e.Uint8Array,Sl=bl?bl.allocUnsafe:it,kl=Z(rl.getPrototypeOf,rl),_l=rl.create,Cl=cl.propertyIsEnumerable,Al=sl.splice,El=wl?wl.isConcatSpreadable:it,Pl=wl?wl.iterator:it,Il=wl?wl.toStringTag:it,Ol=function(){try{var t=xo(rl,"defineProperty");return t({},"",{}),t}catch(t){}}(),Tl=e.clearTimeout!==En.clearTimeout&&e.clearTimeout,Ll=$c&&$c.now!==En.Date.now&&$c.now,Bl=e.setTimeout!==En.setTimeout&&e.setTimeout,Rl=nl.ceil,Ml=nl.floor,zl=rl.getOwnPropertySymbols,Fl=bl?bl.isBuffer:it,Dl=e.isFinite,Nl=sl.join,Ul=Z(rl.keys,rl),Wl=nl.max,jl=nl.min,Gl=$c.now,Vl=e.parseInt,ql=nl.random,Hl=sl.reverse,Zl=xo(e,"DataView"),Yl=xo(e,"Map"),Kl=xo(e,"Promise"),Xl=xo(e,"Set"),Jl=xo(e,"WeakMap"),Ql=xo(rl,"create"),$l=Jl&&new Jl,tf={},ef=Xo(Zl),nf=Xo(Yl),rf=Xo(Kl),of=Xo(Xl),af=Xo(Jl),sf=wl?wl.prototype:it,uf=sf?sf.valueOf:it,cf=sf?sf.toString:it,lf=function(){function t(){}return function(e){if(!tu(e))return{};if(_l)return _l(e);t.prototype=e;var n=new t;return t.prototype=it,n}}();n.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:Ce,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,i.prototype=lf(r.prototype),i.prototype.constructor=i,w.prototype=lf(r.prototype),w.prototype.constructor=w,nt.prototype.clear=Fe,nt.prototype.delete=Ye,nt.prototype.get=Ke,nt.prototype.has=Xe,nt.prototype.set=Je,Qe.prototype.clear=$e,Qe.prototype.delete=tn,Qe.prototype.get=en,Qe.prototype.has=nn,Qe.prototype.set=rn,on.prototype.clear=an,on.prototype.delete=sn,on.prototype.get=un,on.prototype.has=fn,on.prototype.set=hn,pn.prototype.add=pn.prototype.push=dn,pn.prototype.has=bn,wn.prototype.clear=xn,wn.prototype.delete=Sn,wn.prototype.get=Cn,wn.prototype.has=An,wn.prototype.set=Pn;var ff=Ni(cr),hf=Ni(lr,!0),pf=Ui(),df=Ui(!0),gf=$l?function(t,e){return $l.set(t,e),t}:Ac,vf=Ol?function(t,e){return Ol(t,"toString",{configurable:!0,enumerable:!1,value:_c(e),writable:!0})}:Ac,yf=Qr,mf=Tl||function(t){return En.clearTimeout(t)},bf=Xl&&1/K(new Xl([,-0]))[1]==Lt?function(t){return new Xl(t)}:Lc,wf=$l?function(t){return $l.get(t)}:Lc,xf=zl?function(t){return null==t?[]:(t=rl(t),h(zl(t),function(e){return Cl.call(t,e)}))}:zc,Sf=zl?function(t){for(var e=[];t;)v(e,xf(t)),t=kl(t);return e}:zc,kf=dr;(Zl&&kf(new Zl(new ArrayBuffer(1)))!=ue||Yl&&kf(new Yl)!=Kt||Kl&&"[object Promise]"!=kf(Kl.resolve())||Xl&&kf(new Xl)!=ee||Jl&&kf(new Jl)!=oe)&&(kf=function(t){var e=dr(t),n=e==Qt?t.constructor:it,r=n?Xo(n):"";if(r)switch(r){case ef:return ue;case nf:return Kt;case rf:return"[object Promise]";case of:return ee;case af:return oe}return e});var _f=ll?Js:Fc,Cf=Zo(gf),Af=Bl||function(t,e){return En.setTimeout(t,e)},Ef=Zo(vf),Pf=function(t){var e=Es(t,function(t){return n.size===ct&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return Pe.test(t)&&e.push(""),t.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,function(t,n,r,i){e.push(r?i.replace(/\\(\\)?/g,"$1"):n||t)}),e}),If=Qr(function(t,e){return Gs(t)?rr(t,ur(e,1,Gs,!0)):[]}),Of=Qr(function(t,e){var n=ya(e);return Gs(n)&&(n=it),Gs(t)?rr(t,ur(e,1,Gs,!0),mo(n,2)):[]}),Tf=Qr(function(t,e){var n=ya(e);return Gs(n)&&(n=it),Gs(t)?rr(t,ur(e,1,Gs,!0),it,n):[]}),Lf=Qr(function(t){var e=g(t,yi);return e.length&&e[0]===t[0]?br(e):[]}),Bf=Qr(function(t){var e=ya(t),n=g(t,yi);return e===ya(n)?e=it:n.pop(),n.length&&n[0]===t[0]?br(n,mo(e,2)):[]}),Rf=Qr(function(t){var e=ya(t),n=g(t,yi);return e="function"==typeof e?e:it,e&&n.pop(),n.length&&n[0]===t[0]?br(n,it,e):[]}),Mf=Qr(wa),zf=ho(function(t,e){var n=null==t?0:t.length,r=Jn(t,e);return Yr(t,g(e,function(t){return To(t,n)?+t:t}).sort(Ii)),r}),Ff=Qr(function(t){return li(ur(t,1,Gs,!0))}),Df=Qr(function(t){var e=ya(t);return Gs(e)&&(e=it),li(ur(t,1,Gs,!0),mo(e,2))}),Nf=Qr(function(t){var e=ya(t);return e="function"==typeof e?e:it,li(ur(t,1,Gs,!0),it,e)}),Uf=Qr(function(t,e){return Gs(t)?rr(t,e):[]}),Wf=Qr(function(t){return gi(h(t,Gs))}),jf=Qr(function(t){var e=ya(t);return Gs(e)&&(e=it),gi(h(t,Gs),mo(e,2))}),Gf=Qr(function(t){var e=ya(t);return e="function"==typeof e?e:it,gi(h(t,Gs),it,e)}),Vf=Qr(ja),qf=Qr(function(t){var e=t.length,n=e>1?t[e-1]:it;return n="function"==typeof n?(t.pop(),n):it,Ga(t,n)}),Hf=ho(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Jn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof w&&To(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Ya,args:[o],thisArg:it}),new i(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(it),t})):this.thru(o)}),Zf=Fi(function(t,e,n){hl.call(t,n)?++t[n]:Xn(t,n,1)}),Yf=Hi(sa),Kf=Hi(ua),Xf=Fi(function(t,e,n){hl.call(t,n)?t[n].push(e):Xn(t,n,[e])}),Jf=Qr(function(t,e,n){var r=-1,i="function"==typeof e,o=js(t)?Qc(t.length):[];return ff(t,function(t){o[++r]=i?s(e,t,n):xr(t,e,n)}),o}),Qf=Fi(function(t,e,n){Xn(t,n,e)}),$f=Fi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),th=Qr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Lo(t,e[0],e[1])?e=[]:n>2&&Lo(e[0],e[1],e[2])&&(e=[e[0]]),Gr(t,ur(e,1),[])}),eh=Ll||function(){return En.Date.now()},nh=Qr(function(t,e,n){var r=vt;if(n.length){var i=Y(n,yo(nh));r|=xt}return oo(t,r,e,n,i)}),rh=Qr(function(t,e,n){var r=vt|yt;if(n.length){var i=Y(n,yo(rh));r|=xt}return oo(e,r,t,n,i)}),ih=Qr(function(t,e){return nr(t,1,e)}),oh=Qr(function(t,e,n){return nr(t,wu(e)||0,n)});Es.Cache=on;var ah=yf(function(t,e){e=1==e.length&&ph(e[0])?g(e[0],M(mo())):g(ur(e,1),M(mo()));var n=e.length;return Qr(function(r){for(var i=-1,o=jl(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return s(t,this,r)})}),sh=Qr(function(t,e){var n=Y(e,yo(sh));return oo(t,xt,it,e,n)}),uh=Qr(function(t,e){var n=Y(e,yo(uh));return oo(t,St,it,e,n)}),ch=ho(function(t,e){return oo(t,_t,it,it,it,e)}),lh=eo(gr),fh=eo(function(t,e){return t>=e}),hh=Sr(function(){return arguments}())?Sr:function(t){return eu(t)&&hl.call(t,"callee")&&!Cl.call(t,"callee")},ph=Qc.isArray,dh=Bn?M(Bn):kr,gh=Fl||Fc,vh=Rn?M(Rn):_r,yh=Mn?M(Mn):Er,mh=zn?M(zn):Or,bh=Fn?M(Fn):Tr,wh=Dn?M(Dn):Lr,xh=eo(zr),Sh=eo(function(t,e){return t<=e}),kh=Di(function(t,e){if(Fo(e)||js(e))return void Ri(e,zu(e),t);for(var n in e)hl.call(e,n)&&qn(t,n,e[n])}),_h=Di(function(t,e){Ri(e,Fu(e),t)}),Ch=Di(function(t,e,n,r){Ri(e,Fu(e),t,r)}),Ah=Di(function(t,e,n,r){Ri(e,zu(e),t,r)}),Eh=ho(Jn),Ph=Qr(function(t){return t.push(it,ao),s(Ch,it,t)}),Ih=Qr(function(t){return t.push(it,so),s(Rh,it,t)}),Oh=Ki(function(t,e,n){t[e]=n},_c(Ac)),Th=Ki(function(t,e,n){hl.call(t,e)?t[e].push(n):t[e]=[n]},mo),Lh=Qr(xr),Bh=Di(function(t,e,n){Ur(t,e,n)}),Rh=Di(function(t,e,n,r){Ur(t,e,n,r)}),Mh=ho(function(t,e){var n={};if(null==t)return n;var r=!1;e=g(e,function(e){return e=bi(e,t),r||(r=e.length>1),e}),Ri(t,go(t),n),r&&(n=$n(n,ft|ht|pt,uo));for(var i=e.length;i--;)fi(n,e[i]);return n}),zh=ho(function(t,e){return null==t?{}:Vr(t,e)}),Fh=io(zu),Dh=io(Fu),Nh=Gi(function(t,e,n){return e=e.toLowerCase(),t+(n?tc(e):e)}),Uh=Gi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Wh=Gi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),jh=ji("toLowerCase"),Gh=Gi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Vh=Gi(function(t,e,n){return t+(n?" ":"")+Hh(e)}),qh=Gi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Hh=ji("toUpperCase"),Zh=Qr(function(t,e){try{return s(t,it,e)}catch(t){return Ks(t)?t:new tl(t)}}),Yh=ho(function(t,e){return c(e,function(e){e=Ko(e),Xn(t,e,nh(t[e],t))}),t}),Kh=Zi(),Xh=Zi(!0),Jh=Qr(function(t,e){return function(n){return xr(n,t,e)}}),Qh=Qr(function(t,e){return function(n){return xr(t,n,e)}}),$h=Ji(g),tp=Ji(f),ep=Ji(b),np=to(),rp=to(!0),ip=Xi(function(t,e){return t+e},0),op=ro("ceil"),ap=Xi(function(t,e){return t/e},1),sp=ro("floor"),up=Xi(function(t,e){return t*e},1),cp=ro("round"),lp=Xi(function(t,e){return t-e},0);return n.after=ws,n.ary=xs,n.assign=kh,n.assignIn=_h,n.assignInWith=Ch,n.assignWith=Ah,n.at=Eh,n.before=Ss,n.bind=nh,n.bindAll=Yh,n.bindKey=rh,n.castArray=Ms,n.chain=Ha,n.chunk=$o,n.compact=ta,n.concat=ea,n.cond=Sc,n.conforms=kc,n.constant=_c,n.countBy=Zf,n.create=_u,n.curry=ks,n.curryRight=_s,n.debounce=Cs,n.defaults=Ph,n.defaultsDeep=Ih,n.defer=ih,n.delay=oh,n.difference=If,n.differenceBy=Of,n.differenceWith=Tf,n.drop=na,n.dropRight=ra,n.dropRightWhile=ia,n.dropWhile=oa,n.fill=aa,n.filter=rs,n.flatMap=is,n.flatMapDeep=os,n.flatMapDepth=as,n.flatten=ca,n.flattenDeep=la,n.flattenDepth=fa,n.flip=As,n.flow=Kh,n.flowRight=Xh,n.fromPairs=ha,n.functions=Tu,n.functionsIn=Lu,n.groupBy=Xf,n.initial=ga,n.intersection=Lf,n.intersectionBy=Bf,n.intersectionWith=Rf,n.invert=Oh,n.invertBy=Th,n.invokeMap=Jf,n.iteratee=Ec,n.keyBy=Qf,n.keys=zu,n.keysIn=Fu,n.map=ls,n.mapKeys=Du,n.mapValues=Nu,n.matches=Pc,n.matchesProperty=Ic,n.memoize=Es,n.merge=Bh,n.mergeWith=Rh,n.method=Jh,n.methodOf=Qh,n.mixin=Oc,n.negate=Ps,n.nthArg=Bc,n.omit=Mh,n.omitBy=Uu,n.once=Is,n.orderBy=fs,n.over=$h,n.overArgs=ah,n.overEvery=tp,n.overSome=ep,n.partial=sh,n.partialRight=uh,n.partition=$f,n.pick=zh,n.pickBy=Wu,n.property=Rc,n.propertyOf=Mc,n.pull=Mf,n.pullAll=wa,n.pullAllBy=xa,
n.pullAllWith=Sa,n.pullAt=zf,n.range=np,n.rangeRight=rp,n.rearg=ch,n.reject=ds,n.remove=ka,n.rest=Os,n.reverse=_a,n.sampleSize=vs,n.set=Gu,n.setWith=Vu,n.shuffle=ys,n.slice=Ca,n.sortBy=th,n.sortedUniq=La,n.sortedUniqBy=Ba,n.split=fc,n.spread=Ts,n.tail=Ra,n.take=Ma,n.takeRight=za,n.takeRightWhile=Fa,n.takeWhile=Da,n.tap=Za,n.throttle=Ls,n.thru=Ya,n.toArray=vu,n.toPairs=Fh,n.toPairsIn=Dh,n.toPath=jc,n.toPlainObject=xu,n.transform=qu,n.unary=Bs,n.union=Ff,n.unionBy=Df,n.unionWith=Nf,n.uniq=Na,n.uniqBy=Ua,n.uniqWith=Wa,n.unset=Hu,n.unzip=ja,n.unzipWith=Ga,n.update=Zu,n.updateWith=Yu,n.values=Ku,n.valuesIn=Xu,n.without=Uf,n.words=xc,n.wrap=Rs,n.xor=Wf,n.xorBy=jf,n.xorWith=Gf,n.zip=Vf,n.zipObject=Va,n.zipObjectDeep=qa,n.zipWith=qf,n.entries=Fh,n.entriesIn=Dh,n.extend=_h,n.extendWith=Ch,Oc(n,n),n.add=ip,n.attempt=Zh,n.camelCase=Nh,n.capitalize=tc,n.ceil=op,n.clamp=Ju,n.clone=zs,n.cloneDeep=Ds,n.cloneDeepWith=Ns,n.cloneWith=Fs,n.conformsTo=Us,n.deburr=ec,n.defaultTo=Cc,n.divide=ap,n.endsWith=nc,n.eq=Ws,n.escape=rc,n.escapeRegExp=ic,n.every=ns,n.find=Yf,n.findIndex=sa,n.findKey=Cu,n.findLast=Kf,n.findLastIndex=ua,n.findLastKey=Au,n.floor=sp,n.forEach=ss,n.forEachRight=us,n.forIn=Eu,n.forInRight=Pu,n.forOwn=Iu,n.forOwnRight=Ou,n.get=Bu,n.gt=lh,n.gte=fh,n.has=Ru,n.hasIn=Mu,n.head=pa,n.identity=Ac,n.includes=cs,n.indexOf=da,n.inRange=Qu,n.invoke=Lh,n.isArguments=hh,n.isArray=ph,n.isArrayBuffer=dh,n.isArrayLike=js,n.isArrayLikeObject=Gs,n.isBoolean=Vs,n.isBuffer=gh,n.isDate=vh,n.isElement=qs,n.isEmpty=Hs,n.isEqual=Zs,n.isEqualWith=Ys,n.isError=Ks,n.isFinite=Xs,n.isFunction=Js,n.isInteger=Qs,n.isLength=$s,n.isMap=yh,n.isMatch=nu,n.isMatchWith=ru,n.isNaN=iu,n.isNative=ou,n.isNil=su,n.isNull=au,n.isNumber=uu,n.isObject=tu,n.isObjectLike=eu,n.isPlainObject=cu,n.isRegExp=mh,n.isSafeInteger=lu,n.isSet=bh,n.isString=fu,n.isSymbol=hu,n.isTypedArray=wh,n.isUndefined=pu,n.isWeakMap=du,n.isWeakSet=gu,n.join=va,n.kebabCase=Uh,n.last=ya,n.lastIndexOf=ma,n.lowerCase=Wh,n.lowerFirst=jh,n.lt=xh,n.lte=Sh,n.max=Vc,n.maxBy=qc,n.mean=Hc,n.meanBy=Zc,n.min=Yc,n.minBy=Kc,n.stubArray=zc,n.stubFalse=Fc,n.stubObject=Dc,n.stubString=Nc,n.stubTrue=Uc,n.multiply=up,n.nth=ba,n.noConflict=Tc,n.noop=Lc,n.now=eh,n.pad=oc,n.padEnd=ac,n.padStart=sc,n.parseInt=uc,n.random=$u,n.reduce=hs,n.reduceRight=ps,n.repeat=cc,n.replace=lc,n.result=ju,n.round=cp,n.runInContext=t,n.sample=gs,n.size=ms,n.snakeCase=Gh,n.some=bs,n.sortedIndex=Aa,n.sortedIndexBy=Ea,n.sortedIndexOf=Pa,n.sortedLastIndex=Ia,n.sortedLastIndexBy=Oa,n.sortedLastIndexOf=Ta,n.startCase=Vh,n.startsWith=hc,n.subtract=lp,n.sum=Xc,n.sumBy=Jc,n.template=pc,n.times=Wc,n.toFinite=yu,n.toInteger=mu,n.toLength=bu,n.toLower=dc,n.toNumber=wu,n.toSafeInteger=Su,n.toString=ku,n.toUpper=gc,n.trim=vc,n.trimEnd=yc,n.trimStart=mc,n.truncate=bc,n.unescape=wc,n.uniqueId=Gc,n.upperCase=qh,n.upperFirst=Hh,n.each=ss,n.eachRight=us,n.first=pa,Oc(n,function(){var t={};return cr(n,function(e,r){hl.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.4",c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),c(["drop","take"],function(t,e){w.prototype[t]=function(n){n=n===it?1:Wl(mu(n),0);var r=this.__filtered__&&!e?new w(this):this.clone();return r.__filtered__?r.__takeCount__=jl(n,r.__takeCount__):r.__views__.push({size:jl(n,zt),type:t+(r.__dir__<0?"Right":"")}),r},w.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),c(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Ot||3==n;w.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:mo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),c(["head","last"],function(t,e){var n="take"+(e?"Right":"");w.prototype[t]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");w.prototype[t]=function(){return this.__filtered__?new w(this):this[n](1)}}),w.prototype.compact=function(){return this.filter(Ac)},w.prototype.find=function(t){return this.filter(t).head()},w.prototype.findLast=function(t){return this.reverse().find(t)},w.prototype.invokeMap=Qr(function(t,e){return"function"==typeof t?new w(this):this.map(function(n){return xr(n,t,e)})}),w.prototype.reject=function(t){return this.filter(Ps(mo(t)))},w.prototype.slice=function(t,e){t=mu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new w(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==it&&(e=mu(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},w.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},w.prototype.toArray=function(){return this.take(zt)},cr(w.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,u=o?[1]:arguments,c=e instanceof w,l=u[0],f=c||ph(e),h=function(t){var e=a.apply(n,v([t],u));return o&&p?e[0]:e};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var p=this.__chain__,d=!!this.__actions__.length,g=s&&!p,y=c&&!d;if(!s&&f){e=y?e:new w(this);var m=t.apply(e,u);return m.__actions__.push({func:Ya,args:[h],thisArg:it}),new i(m,p)}return g&&y?t.apply(this,u):(m=this.thru(h),g?o?m.value()[0]:m.value():m)})}),c(["pop","push","shift","sort","splice","unshift"],function(t){var e=sl[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(ph(n)?n:[],t)}return this[r](function(n){return e.apply(ph(n)?n:[],t)})}}),cr(w.prototype,function(t,e){var r=n[e];if(r){var i=r.name+"";(tf[i]||(tf[i]=[])).push({name:e,func:r})}}),tf[Yi(it,yt).name]=[{name:"wrapper",func:it}],w.prototype.clone=I,w.prototype.reverse=J,w.prototype.value=et,n.prototype.at=Hf,n.prototype.chain=Ka,n.prototype.commit=Xa,n.prototype.next=Ja,n.prototype.plant=$a,n.prototype.reverse=ts,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=es,n.prototype.first=n.prototype.head,Pl&&(n.prototype[Pl]=Qa),n}();En._=Gn,(r=function(){return Gn}.call(e,n,e,i))!==it&&(i.exports=r)}).call(this)}).call(e,function(){return this}(),n(8)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e,n){"use strict";function r(t,e){var n="normal";return t&&e?n="bolditalics":t?n="bold":e&&(n="italics"),n}function i(t,e){this.fonts={},this.pdfKitDoc=e,this.fontCache={};for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];this.fonts[n]={normal:r.normal,bold:r.bold,italics:r.italics,bolditalics:r.bolditalics}}}n(7).noConflict(),i.prototype.provideFont=function(t,e,n){var i=r(e,n);if(!this.fonts[t]||!this.fonts[t][i])throw new Error("Font '"+t+"' in style '"+i+"' is not defined in the font section of the document definition.");if(this.fontCache[t]=this.fontCache[t]||{},!this.fontCache[t][i]){var o=this.fonts[t][i];Array.isArray(o)||(o=[o]),this.fontCache[t][i]=this.pdfKitDoc.font.apply(this.pdfKitDoc,o)._font}return this.fontCache[t][i]},t.exports=i},function(t,e,n){"use strict";function r(t,e){a.each(e,function(e){t.push(e)})}function i(t,e,n){this.pageSize=t,this.pageMargins=e,this.tracker=new s,this.imageMeasure=n,this.tableLayouts={}}function o(t){var e=t.x,n=t.y;t.positions=[],a.each(t.canvas,function(t){var e=t.x,n=t.y,r=t.x1,i=t.y1,o=t.x2,a=t.y2;t.resetXY=function(){t.x=e,t.y=n,t.x1=r,t.y1=i,t.x2=o,t.y2=a}}),t.resetXY=function(){t.x=e,t.y=n,a.each(t.canvas,function(t){t.resetXY()})}}var a=n(7),s=n(11),u=n(12),c=n(24),l=n(25),f=n(21),h=n(28),p=n(27),d=n(22).pack,g=n(22).offsetVector,v=n(22).fontStringify,y=n(22).isFunction,m=n(13),b=n(20);i.prototype.registerTableLayouts=function(t){this.tableLayouts=d(this.tableLayouts,t)},i.prototype.layoutDocument=function(t,e,n,r,i,o,s,c,l,f){this.docMeasure=new u(e,n,r,this.imageMeasure,this.tableLayouts,c);for(var h=this.tryLayoutDocument(t,e,n,r,i,o,s,c,l);function(t,e){return!!y(f)&&(t=a.reject(t,function(t){return a.isEmpty(t.positions)}),a.each(t,function(t){var n=a.pick(t,["id","text","ul","ol","table","image","qr","canvas","columns","headlineLevel","style","pageBreak","pageOrientation","width","height"]);n.startPosition=a.first(t.positions),n.pageNumbers=a.chain(t.positions).map("pageNumber").uniq().value(),n.pages=e.length,n.stack=a.isArray(t.stack),t.nodeInfo=n}),a.some(t,function(t,e,n){if("before"!==t.pageBreak&&!t.pageBreakCalculated){t.pageBreakCalculated=!0;var r=a.first(t.nodeInfo.pageNumbers),i=a.chain(n).drop(e+1).filter(function(t){return a.includes(t.nodeInfo.pageNumbers,r)}).value(),o=a.chain(n).drop(e+1).filter(function(t){return a.includes(t.nodeInfo.pageNumbers,r+1)}).value(),s=a.chain(n).take(e).filter(function(t){return a.includes(t.nodeInfo.pageNumbers,r)}).value();if(f(t.nodeInfo,a.map(i,"nodeInfo"),a.map(o,"nodeInfo"),a.map(s,"nodeInfo")))return t.pageBreak="before",!0}}))}(h.linearNodeList,h.pages);)!function(t){a.each(t.linearNodeList,function(t){t.resetXY()})}(h),h=this.tryLayoutDocument(t,e,n,r,i,o,s,c,l);return h.pages},i.prototype.tryLayoutDocument=function(t,e,n,r,i,o,a,s,u,f){this.linearNodeList=[],t=this.docMeasure.measureDocument(t),this.writer=new l(new c(this.pageSize,this.pageMargins),this.tracker);var h=this;return this.writer.context().tracker.startTracking("pageAdded",function(){h.addBackground(i)}),this.addBackground(i),this.processNode(t),this.addHeadersAndFooters(o,a),null!=u&&this.addWatermark(u,e,r),{pages:this.writer.context().pages,linearNodeList:this.linearNodeList}},i.prototype.addBackground=function(t){var e=y(t)?t:function(){return t},n=e(this.writer.context().page+1);if(n){var r=this.writer.context().getCurrentPage().pageSize;this.writer.beginUnbreakableBlock(r.width,r.height),this.processNode(this.docMeasure.measureDocument(n)),this.writer.commitUnbreakableBlock(0,0)}},i.prototype.addStaticRepeatable=function(t,e){this.addDynamicRepeatable(function(){return t},e)},i.prototype.addDynamicRepeatable=function(t,e){for(var n=this.writer.context().pages,r=0,i=n.length;r<i;r++){this.writer.context().page=r;var o=t(r+1,i,this.writer.context().pages[r].pageSize);if(o){var a=e(this.writer.context().getCurrentPage().pageSize,this.pageMargins);this.writer.beginUnbreakableBlock(a.width,a.height),this.processNode(this.docMeasure.measureDocument(o)),this.writer.commitUnbreakableBlock(a.x,a.y)}}},i.prototype.addHeadersAndFooters=function(t,e){var n=function(t,e){return{x:0,y:0,width:t.width,height:e.top}},r=function(t,e){return{x:0,y:t.height-e.bottom,width:t.width,height:e.bottom}};y(t)?this.addDynamicRepeatable(t,n):t&&this.addStaticRepeatable(t,n),y(e)?this.addDynamicRepeatable(e,r):e&&this.addStaticRepeatable(e,r)},i.prototype.addWatermark=function(t,e,n){if("string"==typeof t&&(t={text:t}),t.text){t.font=t.font||n.font||"Roboto",t.color=t.color||"black",t.opacity=t.opacity||.6,t.bold=t.bold||!1,t.italics=t.italics||!1;for(var r={text:t.text,font:e.provideFont(t.font,t.bold,t.italics),size:function(t,e,n){for(var r,i=t.width,o=t.height,a=.8*Math.sqrt(i*i+o*o),s=new m(n),u=new b(null,{font:e.font,bold:e.bold,italics:e.italics}),c=0,l=1e3,f=(c+l)/2;Math.abs(c-l)>1;)u.push({fontSize:f}),r=s.sizeOfString(e.text,u),r.width>a?(l=f,f=(c+l)/2):r.width<a&&(c=f,f=(c+l)/2),u.pop();return{size:r,fontSize:f}}(this.pageSize,t,e),color:t.color,opacity:t.opacity},i=this.writer.context().pages,o=0,a=i.length;o<a;o++)i[o].watermark=r}},i.prototype.processNode=function(t){var e=this;this.linearNodeList.push(t),o(t),function(n){var r=t._margin;"before"===t.pageBreak&&e.writer.moveToNextPage(t.pageOrientation),r&&(e.writer.context().moveDown(r[1]),e.writer.context().addMargin(r[0],r[2])),n(),r&&(e.writer.context().addMargin(-r[0],-r[2]),e.writer.context().moveDown(r[3])),"after"===t.pageBreak&&e.writer.moveToNextPage(t.pageOrientation)}(function(){var n=t.absolutePosition;n&&(e.writer.context().beginDetachedBlock(),e.writer.context().moveTo(n.x||0,n.y||0));var r=t.relativePosition;if(r&&(e.writer.context().beginDetachedBlock(),e.writer.context().moveTo((r.x||0)+e.writer.context().x,(r.y||0)+e.writer.context().y)),t.stack)e.processVerticalContainer(t);else if(t.columns)e.processColumns(t);else if(t.ul)e.processList(!1,t);else if(t.ol)e.processList(!0,t);else if(t.table)e.processTable(t);else if(void 0!==t.text)e.processLeaf(t);else if(t.image)e.processImage(t);else if(t.canvas)e.processCanvas(t);else if(t.qr)e.processQr(t);else if(!t._span)throw"Unrecognized document structure: "+JSON.stringify(t,v);(n||r)&&e.writer.context().endDetachedBlock()})},i.prototype.processVerticalContainer=function(t){var e=this;t.stack.forEach(function(n){e.processNode(n),r(t.positions,n.positions)})},i.prototype.processColumns=function(t){var e=t.columns,n=this.writer.context().availableWidth,i=function(t){if(!t)return null;var n=[];n.push(0);for(var r=e.length-1;r>0;r--)n.push(t);return n}(t._gap);i&&(n-=(i.length-1)*t._gap),f.buildColumnWidths(e,n);var o=this.processRow(e,e,i);r(t.positions,o.positions)},i.prototype.processRow=function(t,e,n,i,o){function a(t){for(var e,n=0,r=l.length;n<r;n++){var i=l[n];if(i.prevPage===t.prevPage){e=i;break}}e||(e=t,l.push(e)),e.prevY=Math.max(e.prevY,t.prevY),e.y=Math.min(e.y,t.y)}function s(t){return n&&n.length>t?n[t]:0}function u(t,e){if(t.rowSpan&&t.rowSpan>1){var n=o+t.rowSpan-1;if(n>=i.length)throw"Row span for column "+e+" (with indexes starting from 0) exceeded row count";return i[n][e]}return null}var c=this,l=[],f=[];return this.tracker.auto("pageChanged",a,function(){e=e||t,c.writer.context().beginColumnGroup();for(var i=0,o=t.length;i<o;i++){var a=t[i],l=e[i]._calcWidth,h=s(i);if(a.colSpan&&a.colSpan>1)for(var p=1;p<a.colSpan;p++)l+=e[++i]._calcWidth+n[i];c.writer.context().beginColumn(l,h,u(a,i)),a._span?a._columnEndingContext&&c.writer.context().markEnding(a):(c.processNode(a),r(f,a.positions))}c.writer.context().completeColumnGroup()}),{pageBreaks:l,positions:f}},i.prototype.processList=function(t,e){function n(t){if(s){var e=s;if(s=null,e.canvas){var n=e.canvas[0];g(n,-e._minWidth,0),i.writer.addVector(n)}else if(e._inlines){var r=new p(i.pageSize.width);r.addInline(e._inlines[0]),r.x=-e._minWidth,r.y=t.getAscenderHeight()-r.getAscenderHeight(),i.writer.addLine(r,!0)}}}var i=this,o=t?e.ol:e.ul,a=e._gapSize;this.writer.context().addMargin(a.width);var s;this.tracker.auto("lineAdded",n,function(){o.forEach(function(t){s=t.listMarker,i.processNode(t),r(e.positions,t.positions)})}),this.writer.context().addMargin(-a.width)},i.prototype.processTable=function(t){var e=new h(t);e.beginTable(this.writer);for(var n=0,i=t.table.body.length;n<i;n++){e.beginRow(n,this.writer);var o=this.processRow(t.table.body[n],t.table.widths,t._offsets.offsets,t.table.body,n);r(t.positions,o.positions),e.endRow(n,this.writer,o.pageBreaks)}e.endTable(this.writer)},i.prototype.processLeaf=function(t){for(var e=this.buildNextLine(t),n=e?e.getHeight():0,r=t.maxHeight||-1;e&&(r===-1||n<r);){var i=this.writer.addLine(e);t.positions.push(i),e=this.buildNextLine(t),e&&(n+=e.getHeight())}},i.prototype.buildNextLine=function(t){if(!t._inlines||0===t._inlines.length)return null;for(var e=new p(this.writer.context().availableWidth);t._inlines&&t._inlines.length>0&&e.hasEnoughSpaceForInline(t._inlines[0]);)e.addInline(t._inlines.shift());return e.lastLineInParagraph=0===t._inlines.length,e},i.prototype.processImage=function(t){var e=this.writer.addImage(t);t.positions.push(e)},i.prototype.processCanvas=function(t){var e=t._minHeight;this.writer.context().availableHeight<e&&this.writer.moveToNextPage(),t.canvas.forEach(function(e){var n=this.writer.addVector(e);t.positions.push(n)},this),this.writer.context().moveDown(e)},i.prototype.processQr=function(t){var e=this.writer.addQr(t);t.positions.push(e)},t.exports=i},function(t,e){"use strict";function n(){this.events={}}n.prototype.startTracking=function(t,e){var n=this.events[t]||(this.events[t]=[]);n.indexOf(e)<0&&n.push(e)},n.prototype.stopTracking=function(t,e){var n=this.events[t];if(n){var r=n.indexOf(e);r>=0&&n.splice(r,1)}},n.prototype.emit=function(t){var e=Array.prototype.slice.call(arguments,1),n=this.events[t];n&&n.forEach(function(t){t.apply(this,e)})},n.prototype.auto=function(t,e,n){this.startTracking(t,e),n(),this.stopTracking(t,e)},t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r,a,s){this.textTools=new i(t),this.styleStack=new o(e,n),this.imageMeasure=r,this.tableLayouts=a,this.images=s,this.autoImageIndex=1}var i=n(13),o=n(20),a=n(21),s=n(22).fontStringify,u=n(22).pack,c=n(23);r.prototype.measureDocument=function(t){return this.measureNode(t)},r.prototype.measureNode=function(t){function e(t){var e=t._margin;return e&&(t._minWidth+=e[0]+e[2],t._maxWidth+=e[0]+e[2]),t}function n(){function e(t,e){return t.marginLeft||t.marginTop||t.marginRight||t.marginBottom?[t.marginLeft||e[0]||0,t.marginTop||e[1]||0,t.marginRight||e[2]||0,t.marginBottom||e[3]||0]:e}function n(t){return"number"==typeof t||t instanceof Number?t=[t,t,t,t]:Array.isArray(t)&&2===t.length&&(t=[t[0],t[1],t[0],t[1]]),t}var i=[void 0,void 0,void 0,void 0];if(t.style){var o=Array.isArray(t.style)?t.style:[t.style],a=function(t){for(var e={},n=t.length-1;n>=0;n--){var i=t[n],o=r.styleStack.styleDictionary[i];for(var a in o)o.hasOwnProperty(a)&&(e[a]=o[a])}return e}(o);a&&(i=e(a,i)),a.margin&&(i=n(a.margin))}return i=e(t,i),t.margin&&(i=n(t.margin)),void 0===i[0]&&void 0===i[1]&&void 0===i[2]&&void 0===i[3]?null:i}Array.isArray(t)?t={stack:t}:"string"==typeof t||t instanceof String?t={text:t}:"number"==typeof t||"boolean"==typeof t?t={text:t.toString()}:null===t&&(t={text:""}),0===Object.keys(t).length&&(t={text:""});var r=this;return this.styleStack.auto(t,function(){if(t._margin=n(),t.columns)return e(r.measureColumns(t));if(t.stack)return e(r.measureVerticalContainer(t));if(t.ul)return e(r.measureUnorderedList(t));if(t.ol)return e(r.measureOrderedList(t));if(t.table)return e(r.measureTable(t));if(void 0!==t.text)return e(r.measureLeaf(t));if(t.image)return e(r.measureImage(t));if(t.canvas)return e(r.measureCanvas(t));if(t.qr)return e(r.measureQr(t));throw"Unrecognized document structure: "+JSON.stringify(t,s)})},r.prototype.convertIfBase64Image=function(t){if(/^data:image\/(jpeg|jpg|png);base64,/.test(t.image)){var e="$$pdfmake$$"+this.autoImageIndex++;this.images[e]=t.image,t.image=e}},r.prototype.measureImage=function(t){this.images&&this.convertIfBase64Image(t);var e=this.imageMeasure.measureImage(t.image);if(t.fit){var n=e.width/e.height>t.fit[0]/t.fit[1]?t.fit[0]/e.width:t.fit[1]/e.height;t._width=t._minWidth=t._maxWidth=e.width*n,t._height=e.height*n}else t._width=t._minWidth=t._maxWidth=t.width||e.width,t._height=t.height||e.height*t._width/e.width;return t._alignment=this.styleStack.getProperty("alignment"),t},r.prototype.measureLeaf=function(t){var e=this.styleStack.clone();e.push(t);var n=this.textTools.buildInlines(t.text,e);return t._inlines=n.items,t._minWidth=n.minWidth,t._maxWidth=n.maxWidth,t},r.prototype.measureVerticalContainer=function(t){var e=t.stack;t._minWidth=0,t._maxWidth=0;for(var n=0,r=e.length;n<r;n++)e[n]=this.measureNode(e[n]),t._minWidth=Math.max(t._minWidth,e[n]._minWidth),t._maxWidth=Math.max(t._maxWidth,e[n]._maxWidth);return t},r.prototype.gapSizeForList=function(){return this.textTools.sizeOfString("9. ",this.styleStack)},r.prototype.buildUnorderedMarker=function(t,e,n){var r,i=t.getProperty("markerColor")||t.getProperty("color")||"black";switch(n){case"circle":r=function(t,e){var n=t.fontSize/6;return{canvas:[{x:n,y:t.height/t.lineHeight+t.descender-t.fontSize/3,r1:n,r2:n,type:"ellipse",lineColor:e}]}}(e,i);break;case"square":r=function(t,e){var n=t.fontSize/3;return{canvas:[{x:0,y:t.height/t.lineHeight+t.descender-t.fontSize/3-n/2,h:n,w:n,type:"rect",color:e}]}}(e,i);break;case"none":r={};break;case"disc":default:r=function(t,e){var n=t.fontSize/6;return{canvas:[{x:n,y:t.height/t.lineHeight+t.descender-t.fontSize/3,r1:n,r2:n,type:"ellipse",color:e}]}}(e,i)}return r._minWidth=r._maxWidth=e.width,r._minHeight=r._maxHeight=e.height,r},r.prototype.buildOrderedMarker=function(t,e,n,r){function i(t){function e(t){return(t>=26?e((t/26>>0)-1):"")+"abcdefghijklmnopqrstuvwxyz"[t%26>>0]}return t<1?t.toString():e(t-1)}function o(t){if(t<1||t>4999)return t.toString();var e,n=t,r={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1},i="";for(e in r)for(;n>=r[e];)i+=e,n-=r[e];return i}var a;switch(n){case"none":a=null;break;case"upper-alpha":a=i(t).toUpperCase();break;case"lower-alpha":a=i(t);break;case"upper-roman":a=o(t);break;case"lower-roman":a=o(t).toLowerCase();break;case"decimal":default:a=function(t){return t.toString()}(t)}if(null===a)return{};r&&(Array.isArray(r)?(r[0]&&(a=r[0]+a),r[1]&&(a+=r[1]),a+=" "):a+=r+" ");var s={text:a},u=e.getProperty("markerColor");return u&&(s.color=u),{_inlines:this.textTools.buildInlines(s,e).items}},r.prototype.measureUnorderedList=function(t){var e=this.styleStack.clone(),n=t.ul;t.type=t.type||"disc",t._gapSize=this.gapSizeForList(),t._minWidth=0,t._maxWidth=0;for(var r=0,i=n.length;r<i;r++){var o=n[r]=this.measureNode(n[r]);o.ol||o.ul||(o.listMarker=this.buildUnorderedMarker(e,t._gapSize,t.type)),t._minWidth=Math.max(t._minWidth,n[r]._minWidth+t._gapSize.width),t._maxWidth=Math.max(t._maxWidth,n[r]._maxWidth+t._gapSize.width)}return t},r.prototype.measureOrderedList=function(t){var e=this.styleStack.clone(),n=t.ol;t.type=t.type||"decimal",t.separator=t.separator||".",t.reversed=t.reversed||!1,t.start||(t.start=t.reversed?n.length:1),t._gapSize=this.gapSizeForList(),t._minWidth=0,t._maxWidth=0;for(var r=t.start,i=0,o=n.length;i<o;i++){var a=n[i]=this.measureNode(n[i]);a.ol||a.ul||(a.listMarker=this.buildOrderedMarker(a.counter||r,e,t.type,t.separator),a.listMarker._inlines&&(t._gapSize.width=Math.max(t._gapSize.width,a.listMarker._inlines[0].width))),t._minWidth=Math.max(t._minWidth,n[i]._minWidth),t._maxWidth=Math.max(t._maxWidth,n[i]._maxWidth),t.reversed?r--:r++}t._minWidth+=t._gapSize.width,t._maxWidth+=t._gapSize.width;for(var i=0,o=n.length;i<o;i++){var a=n[i];a.ol||a.ul||(a.listMarker._minWidth=a.listMarker._maxWidth=t._gapSize.width)}return t},r.prototype.measureColumns=function(t){var e=t.columns;t._gap=this.styleStack.getProperty("columnGap")||0;for(var n=0,r=e.length;n<r;n++)e[n]=this.measureNode(e[n]);var i=a.measureMinMax(e);return t._minWidth=i.min+t._gap*(e.length-1),t._maxWidth=i.max+t._gap*(e.length-1),t},r.prototype.measureTable=function(t){function e(e,n,r){for(var i={minWidth:0,maxWidth:0},o=0;o<n;o++)i.minWidth+=t.table.widths[e+o]._minWidth+(o?r.offsets[e+o]:0),i.maxWidth+=t.table.widths[e+o]._maxWidth+(o?r.offsets[e+o]:0);return i}!function(t){if(t.table.widths||(t.table.widths="auto"),"string"==typeof t.table.widths||t.table.widths instanceof String)for(t.table.widths=[t.table.widths];t.table.widths.length<t.table.body[0].length;)t.table.widths.push(t.table.widths[t.table.widths.length-1]);for(var e=0,n=t.table.widths.length;e<n;e++){var r=t.table.widths[e];("number"==typeof r||r instanceof Number||"string"==typeof r||r instanceof String)&&(t.table.widths[e]={width:r})}}(t),t._layout=function(e){var n=t.layout;return("string"==typeof t.layout||t instanceof String)&&(n=e[n]),u({hLineWidth:function(t,e){return 1},vLineWidth:function(t,e){return 1},hLineColor:function(t,e){return"black"},vLineColor:function(t,e){return"black"},paddingLeft:function(t,e){return 4},paddingRight:function(t,e){return 4},paddingTop:function(t,e){return 2},paddingBottom:function(t,e){return 2},fillColor:function(t,e){return null},defaultBorder:!0},n)}(this.tableLayouts),t._offsets=function(e){for(var n=[],r=0,i=0,o=0,a=t.table.widths.length;o<a;o++){var s=i+e.vLineWidth(o,t)+e.paddingLeft(o,t);n.push(s),r+=s,i=e.paddingRight(o,t)}return r+=i+e.vLineWidth(t.table.widths.length,t),{total:r,offsets:n}}(t._layout);var n,r,i,o,s=[];for(n=0,i=t.table.body[0].length;n<i;n++){var c=t.table.widths[n];for(c._minWidth=0,c._maxWidth=0,r=0,o=t.table.body.length;r<o;r++){var l=t.table.body[r],f=l[n];if(void 0===f)throw"Malformed table row, a cell is undefined.";null===f&&(f=""),f._span||(f=l[n]=this.styleStack.auto(f,function(t,e){return function(){return null!==e&&"object"==typeof e&&(e.fillColor=t.styleStack.getProperty("fillColor")),t.measureNode(e)}}(this,f)),f.colSpan&&f.colSpan>1?(!function(t,e,n){for(var r=1;r<n;r++)t[e+r]={_span:!0,_minWidth:0,_maxWidth:0,rowSpan:t[e].rowSpan}}(l,n,f.colSpan),s.push({col:n,span:f.colSpan,minWidth:f._minWidth,maxWidth:f._maxWidth})):(c._minWidth=Math.max(c._minWidth,f._minWidth),c._maxWidth=Math.max(c._maxWidth,f._maxWidth))),f.rowSpan&&f.rowSpan>1&&function(t,e,n,r){for(var i=1;i<r;i++)t.body[e+i][n]={_span:!0,_minWidth:0,_maxWidth:0,fillColor:t.body[e][n].fillColor}}(t.table,r,n,f.rowSpan)}}!function(){for(var n,r,i=0,o=s.length;i<o;i++){var a=s[i],u=e(a.col,a.span,t._offsets),c=a.minWidth-u.minWidth,l=a.maxWidth-u.maxWidth;if(c>0)for(n=c/a.span,r=0;r<a.span;r++)t.table.widths[a.col+r]._minWidth+=n;if(l>0)for(n=l/a.span,r=0;r<a.span;r++)t.table.widths[a.col+r]._maxWidth+=n}}();var h=a.measureMinMax(t.table.widths);return t._minWidth=h.min+t._offsets.total,t._maxWidth=h.max+t._offsets.total,t},r.prototype.measureCanvas=function(t){for(var e=0,n=0,r=0,i=t.canvas.length;r<i;r++){var o=t.canvas[r];switch(o.type){case"ellipse":e=Math.max(e,o.x+o.r1),n=Math.max(n,o.y+o.r2);break;case"rect":e=Math.max(e,o.x+o.w),n=Math.max(n,o.y+o.h);break;case"line":e=Math.max(e,o.x1,o.x2),n=Math.max(n,o.y1,o.y2);break;case"polyline":for(var a=0,s=o.points.length;a<s;a++)e=Math.max(e,o.points[a].x),n=Math.max(n,o.points[a].y)}}return t._minWidth=t._maxWidth=e,t._minHeight=t._maxHeight=n,t},r.prototype.measureQr=function(t){return t=c.measure(t),t._alignment=this.styleStack.getProperty("alignment"),t},t.exports=r},function(t,e,n){"use strict";function r(t){this.fontProvider=t}function i(t,e){var n=[];if(t=t.replace("\t","    "),e)return n.push({text:t}),n;for(var r,i=new l(t),o=0;r=i.nextBreak();){var a=t.slice(o,r.position);r.required||a.match(/\r?\n$|\r$/)?(a=a.replace(/\r?\n$|\r$/,""),n.push({text:a,lineEnd:!0})):n.push({text:a}),o=r.position}return n}function o(t,e){e=e||{},t=t||{};for(var n in t)"text"!=n&&t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function a(t,e){var n=[];Array.isArray(t)||(t=[t]);for(var r=0,a=t.length;r<a;r++){var c,l=t[r],f=null,h=u(l||{},e,"noWrap",!1);null!==l&&("object"==typeof l||l instanceof Object)?(c=i(s(l.text),h),f=o(l)):c=i(s(l),h);for(var p=0,d=c.length;p<d;p++){var g={text:c[p].text};c[p].lineEnd&&(g.lineEnd=!0),o(f,g),n.push(g)}}return n}function s(t){return void 0===t||null===t?"":"number"==typeof t?t.toString():"string"==typeof t||t instanceof String?t:t.toString()}function u(t,e,n,r){var i;return void 0!==t[n]&&null!==t[n]?t[n]:e?(e.auto(t,function(){i=e.getProperty(n)}),null!==i&&void 0!==i?i:r):r}function c(t,e,n){var r=a(e,n);return r.forEach(function(e){var r=u(e,n,"font","Roboto"),i=u(e,n,"fontSize",12),o=u(e,n,"bold",!1),a=u(e,n,"italics",!1),s=u(e,n,"color","black"),c=u(e,n,"decoration",null),l=u(e,n,"decorationColor",null),p=u(e,n,"decorationStyle",null),d=u(e,n,"background",null),g=u(e,n,"lineHeight",1),v=u(e,n,"link",null),y=t.provideFont(r,o,a);e.width=y.widthOfString(e.text,i),e.height=y.lineHeight(i)*g;var m=e.text.match(f),b=e.text.match(h);e.leadingCut=m?y.widthOfString(m[0],i):0,e.trailingCut=b?y.widthOfString(b[0],i):0,e.alignment=u(e,n,"alignment","left"),e.font=y,e.fontSize=i,e.color=s,e.decoration=c,e.decorationColor=l,e.decorationStyle=p,e.background=d,e.link=v}),r}var l=n(14),f=/^(\s)+/g,h=/(\s)+$/g;r.prototype.buildInlines=function(t,e){function n(t){return Math.max(0,t.width-t.leadingCut-t.trailingCut)}var r,i=c(this.fontProvider,t,e),o=0,a=0;return i.forEach(function(t){o=Math.max(o,t.width-t.leadingCut-t.trailingCut),r||(r={width:0,leadingCut:t.leadingCut,trailingCut:0}),r.width+=t.width,r.trailingCut=t.trailingCut,a=Math.max(a,n(r)),t.lineEnd&&(r=null)}),u({},e,"noWrap",!1)&&(o=a),{items:i,minWidth:o,maxWidth:a}},r.prototype.sizeOfString=function(t,e){t=t?t.toString().replace("\t","    "):"";var n=u({},e,"font","Roboto"),r=u({},e,"fontSize",12),i=u({},e,"bold",!1),o=u({},e,"italics",!1),a=u({},e,"lineHeight",1),s=this.fontProvider.provideFont(n,i,o);return{width:s.widthOfString(t,r),height:s.lineHeight(r)*a,fontSize:r,lineHeight:a,ascender:s.ascender/1e3*r,descender:s.descender/1e3*r}},t.exports=r},function(t,e,n){(function(){var e,r,i,o,a,s,u,c,l,f,h,p,d,g,v,y,m,b,w,x,S,k,_,C,A,E,P;w=n(15),k=n(17),E=n(18),o=E.BK,l=E.CR,p=E.LF,g=E.NL,a=E.CB,i=E.BA,b=E.SP,x=E.WJ,b=E.SP,o=E.BK,p=E.LF,g=E.NL,e=E.AI,r=E.AL,y=E.SA,m=E.SG,S=E.XX,u=E.CJ,E.ID,v=E.NS,E.characterClasses,P=n(19),f=P.DI_BRK,h=P.IN_BRK,s=P.CI_BRK,c=P.CP_BRK,P.PR_BRK,A=P.pairTable,
C=k.toByteArray("AA4IAAAAAAAAAhqg5VV7NJtZvz7fTC8zU5deplUlMrQoWqmqahD5So0aipYWrUhVFSVBQ10iSTtUtW6nKDVF6k7d75eQfEUbFcQ9KiFS90tQEolcP23nrLPmO+esr/+f39rr/a293t/e7/P8nmfvlz0O6RvrBJADtbBNaD88IOKTOmOrCqhu9zE770vc1pBV/xL5dxj2V7Zj4FGSomFKStCWNlV7hG1VabZfZ1LaHbFrRwzzLjzPoi1UHDnlV/lWbhgIIJvLBp/pu7AHEdRnIY+ROdXxg4fNpMdTxVnnm08OjozejAVsBqwqz8kddGRlRxsd8c55dNZoPuex6a7Dt6L0NNb03sqgTlR2/OT7eTt0Y0WnpUXxLsp5SMANc4DsmX4zJUBQvznwexm9tsMH+C9uRYMPOd96ZHB29NZjCIM2nfO7tsmQveX3l2r7ft0N4/SRJ7kO6Y8ZCaeuUQ4gMTZ67cp7TgxvlNDsPgOBdZi2YTam5Q7m3+00l+XG7PrDe6YoPmHgK+yLih7fAR16ZFCeD9WvOVt+gfNW/KT5/M6rb/9KERt+N1lad5RneVjzxXHsLofuU+TvrEsr3+26sVz5WJh6L/svoPK3qepFH9bysDljWtD1F7KrxzW1i9r+e/NLxV/acts7zuo304J9+t3Pd6Y6u8f3EAqxNRgv5DZjaI3unyvkvHPya/v3mWVYOC38qBq11+yHZ2bAyP1HbkV92vdno7r2lxz9UwCdCJVfd14NLcpO2CadHS/XPJ9doXgz5vLv/1OBVS3gX0D9n6LiNIDfpilO9RsLgZ2W/wIy8W/Rh93jfoz4qmRV2xElv6p2lRXQdO6/Cv8f5nGn3u0wLXjhnvClabL1o+7yvIpvLfT/xsKG30y/sTvq30ia9Czxp9dr9v/e7Yn/O0QJXxxBOJmceP/DBFa1q1v6oudn/e6qc/37dUoNvnYL4plQ9OoneYOh/r8fOFm7yl7FETHY9dXd5K2n/qEc53dOEe1TTJcvCfp1dpTC334l0vyaFL6mttNEbFjzO+ZV2mLk0qc3BrxJ4d9gweMmjRorxb7vic0rSq6D4wzAyFWas1TqPE0sLI8XLAryC8tPChaN3ALEZSWmtB34SyZcxXYn/E4Tg0LeMIPhgPKD9zyHGMxxhxnDDih7eI86xECTM8zodUCdgffUmRh4rQ8zyA6ow/Aei+01a8OMfziQQ+GAEkhwN/cqUFYAVzA9ex4n6jgtsiMvXf5BtXxEU4hSphvx3v8+9au8eEekEEpkrkne/zB1M+HAPuXIz3paxKlfe8aDMfGWAX6Md6PuuAdKHFVH++Ed5LEji94Z5zeiJIxbmWeN7rr1/ZcaBl5/nimdHsHgIH/ssyLUXZ4fDQ46HnBb+hQqG8yNiKRrXL/b1IPYDUsu3dFKtRMcjqlRvONd4xBvOufx2cUHuk8pmG1D7PyOQmUmluisVFS9OWS8fPIe8LiCtjwJKnEC9hrS9uKmISI3Wa5+vdXUG9dtyfr7g/oJv2wbzeZU838G6mEvntUb3SVV/fBZ6H/sL+lElzeRrHy2Xbe7UWX1q5sgOQ81rv+2baej4fP4m5Mf/GkoxfDtT3++KP7do9Jn26aa6xAhCf5L9RZVfkWKCcjI1eYbm2plvTEqkDxKC402bGzXCYaGnuALHabBT1dFLuOSB7RorOPEhZah1NjZIgR/UFGfK3p1ElYnevOMBDLURdpIjrI+qZk4sffGbRFiXuEmdFjiAODlQCJvIaB1rW61Ljg3y4eS4LAcSgDxxZQs0DYa15wA032Z+lGUfpoyOrFo3mg1sRQtN/fHHCx3TrM8eTrldMbYisDLXbUDoXMLejSq0fUNuO1muX0gEa8vgyegkqiqqbC3W0S4cC9Kmt8MuS/hFO7Xei3f8rSvIjeveMM7kxjUixOrl6gJshe4JU7PhOHpfrRYvu7yoAZKa3Buyk2J+K5W+nNTz1nhJDhRUfDJLiUXxjxXCJeeaOe/r7HlBP/uURc/5efaZEPxr55Qj39rfTLkugUGyMrwo7HAglfEjDriehF1jXtwJkPoiYkYQ5aoXSA7qbCBGKq5hwtu2VkpI9xVDop/1xrC52eiIvCoPWx4lLl40jm9upvycVPfpaH9/o2D4xKXpeNjE2HPQRS+3RFaYTc4Txw7Dvq5X6JBRwzs9mvoB49BK6b+XgsZVJYiInTlSXZ+62FT18mkFVcPKCJsoF5ahb19WheZLUYsSwdrrVM3aQ2XE6SzU2xHDS6iWkodk5AF6F8WUNmmushi8aVpMPwiIfEiQWo3CApONDRjrhDiVnkaFsaP5rjIJkmsN6V26li5LNM3JxGSyKgomknTyyrhcnwv9Qcqaq5utAh44W30SWo8Q0XHKR0glPF4fWst1FUCnk2woFq3iy9fAbzcjJ8fvSjgKVOfn14RDqyQuIgaGJZuswTywdCFSa89SakMf6fe+9KaQMYQlKxiJBczuPSho4wmBjdA+ag6QUOr2GdpcbSl51Ay6khhBt5UXdrnxc7ZGMxCvz96A4oLocxh2+px+1zkyLacCGrxnPzTRSgrLKpStFpH5ppKWm7PgMKZtwgytKLOjbGCOQLTm+KOowqa1sdut9raj1CZFkZD0jbaKNLpJUarSH5Qknx1YiOxdA5L6d5sfI/unmkSF65Ic/AvtXt98Pnrdwl5vgppQ3dYzWFwknZsy6xh2llmLxpegF8ayLwniknlXRHiF4hzzrgB8jQ4wdIqcaHCEAxyJwCeGkXPBZYSrrGa4vMwZvNN9aK0F4JBOK9mQ8g8EjEbIQVwvfS2D8GuCYsdqwqSWbQrfWdTRUJMqmpnWPax4Z7E137I6brHbvjpPlfNZpF1d7PP7HB/MPHcHVKTMhLO4f3CZcaccZEOiS2DpKiQB5KXDJ+Ospcz4qTRCRxgrKEQIgUkKLTKKwskdx2DWo3bg3PEoB5h2nA24olwfKSR+QR6TAvEDi/0czhUT59RZmO1MGeKGeEfuOSPWfL+XKmhqpZmOVR9mJVNDPKOS49Lq+Um10YsBybzDMtemlPCOJEtE8zaXhsaqEs9bngSJGhlOTTMlCXly9Qv5cRN3PVLK7zoMptutf7ihutrQ/Xj7VqeCdUwleTTKklOI8Wep9h7fCY0kVtDtIWKnubWAvbNZtsRRqOYl802vebPEkZRSZc6wXOfPtpPtN5HI63EUFfsy7U/TLr8NkIzaY3vx4A28x765XZMzRZTpMk81YIMuwJ5+/zoCuZj1wGnaHObxa5rpKZj4WhT670maRw04w0e3cZW74Z0aZe2n05hjZaxm6urenz8Ef5O6Yu1J2aqYAlqsCXs5ZB5o1JJ5l3xkTVr8rJQ09NLsBqRRDT2IIjOPmcJa6xQ1R5yGP9jAsj23xYDTezdyqG8YWZ7vJBIWK56K+iDgcHimiQOTIasNSua1fOBxsKMMEKd15jxTl+3CyvGCR+UyRwuSI2XuwRIPoNNclPihfJhaq2mKkNijwYLY6feqohktukmI3KDvOpN7ItCqHHhNuKlxMfBAEO5LjW2RKh6lE5Hd1dtAOopac/Z4FdsNsjMhXz/ug8JGmbVJTA+VOBJXdrYyJcIn5+OEeoK8kWEWF+wdG8ZtZHKSquWDtDVyhFPkRVqguKFkLkKCz46hcU1SUY9oJ2Sk+dmq0kglqk4kqKT1CV9JDELPjK1WsWGkEXF87g9P98e5ff0mIupm/w6vc3kCeq04X5bgJQlcMFRjlFWmSk+kssXCAVikfeAlMuzpUvCSdXiG+dc6KrIiLxxhbEVuKf7vW7KmDQI95bZe3H9mN3/77F6fZ2Yx/F9yClllj8gXpLWLpd5+v90iOaFa9sd7Pvx0lNa1o1+bkiZ69wCiC2x9UIb6/boBCuNMB/HYR0RC6+FD9Oe5qrgQl6JbXtkaYn0wkdNhROLqyhv6cKvyMj1Fvs2o3OOKoMYTubGENLfY5F6H9d8wX1cnINsvz+wZFQu3zhWVlwJvwBEp69Dqu/ZnkBf3nIfbx4TK7zOVJH5sGJX+IMwkn1vVBn38GbpTg9bJnMcTOb5F6Ci5gOn9Fcy6Qzcu+FL6mYJJ+f2ZZJGda1VqruZ0JRXItp8X0aTjIcJgzdaXlha7q7kV4ebrMsunfsRyRa9qYuryBHA0hc1KVsKdE+oI0ljLmSAyMze8lWmc5/lQ18slyTVC/vADTc+SNM5++gztTBLz4m0aVUKcfgOEExuKVomJ7XQDZuziMDjG6JP9tgR7JXZTeo9RGetW/Xm9/TgPJpTgHACPOGvmy2mDm9fl09WeMm9sQUAXP3Su2uApeCwJVT5iWCXDgmcuTsFgU9Nm6/PusJzSbDQIMfl6INY/OAEvZRN54BSSXUClM51im6Wn9VhVamKJmzOaFJErgJcs0etFZ40LIF3EPkjFTjGmAhsd174NnOwJW8TdJ1Dja+E6Wa6FVS22Haj1DDA474EesoMP5nbspAPJLWJ8rYcP1DwCslhnn+gTFm+sS9wY+U6SogAa9tiwpoxuaFeqm2OK+uozR6SfiLCOPz36LiDlzXr6UWd7BpY6mlrNANkTOeme5EgnnAkQRTGo9T6iYxbUKfGJcI9B+ub2PcyUOgpwXbOf3bHFWtygD7FYbRhb+vkzi87dB0JeXl/vBpBUz93VtqZi7AL7C1VowTF+tGmyurw7DBcktc+UMY0E10Jw4URojf8NdaNpN6E1q4+Oz+4YePtMLy8FPRP"),_=new w(C),d=function(){function t(t){this.string=t,this.pos=0,this.lastPos=0,this.curClass=null,this.nextClass=null}var n,d,w;return t.prototype.nextCodePoint=function(){var t,e;return t=this.string.charCodeAt(this.pos++),e=this.string.charCodeAt(this.pos),55296<=t&&t<=56319&&56320<=e&&e<=57343?(this.pos++,1024*(t-55296)+(e-56320)+65536):t},d=function(t){switch(t){case e:return r;case y:case m:case S:return r;case u:return v;default:return t}},w=function(t){switch(t){case p:case g:return o;case a:return i;case b:return x;default:return t}},t.prototype.nextCharClass=function(t){return null==t&&(t=!1),d(_.get(this.nextCodePoint()))},n=function(){function t(t,e){this.position=t,this.required=null!=e&&e}return t}(),t.prototype.nextBreak=function(){var t,e,r;for(null==this.curClass&&(this.curClass=w(this.nextCharClass()));this.pos<this.string.length;){if(this.lastPos=this.pos,e=this.nextClass,this.nextClass=this.nextCharClass(),this.curClass===o||this.curClass===l&&this.nextClass!==p)return this.curClass=w(d(this.nextClass)),new n(this.lastPos,!0);if(null==(t=function(){switch(this.nextClass){case b:return this.curClass;case o:case p:case g:return o;case l:return l;case a:return i}}.call(this))){switch(r=!1,A[this.curClass][this.nextClass]){case f:r=!0;break;case h:r=e===b;break;case s:if(!(r=e===b))continue;break;case c:if(e!==b)continue}if(this.curClass=this.nextClass,r)return new n(this.lastPos)}else if(this.curClass=t,this.nextClass===a)return new n(this.lastPos)}if(this.pos>=this.string.length)return this.lastPos<this.string.length?(this.lastPos=this.string.length,new n(this.string.length)):null},t}(),t.exports=d}).call(this)},function(t,e,n){var r,i;i=n(16),r=function(){function t(t){var e,n,r;e="function"==typeof t.readUInt32BE&&"function"==typeof t.slice,e||t instanceof Uint8Array?(e?(this.highStart=t.readUInt32BE(0),this.errorValue=t.readUInt32BE(4),n=t.readUInt32BE(8),t=t.slice(12)):(r=new DataView(t.buffer),this.highStart=r.getUint32(0),this.errorValue=r.getUint32(4),n=r.getUint32(8),t=t.subarray(12)),t=i(t,new Uint8Array(n)),t=i(t,new Uint8Array(n)),this.data=new Uint32Array(t.buffer)):(this.data=t.data,this.highStart=t.highStart,this.errorValue=t.errorValue)}var e,n,r,o,a,s,u,c,l,f,h,p,d,g,v,y;return p=11,g=5,d=p-g,h=65536>>p,a=1<<d,u=a-1,c=2,e=1<<g,r=e-1,f=65536>>g,l=1024>>g,s=f+l,y=s,v=32,o=y+v,n=1<<c,t.prototype.get=function(t){var e;return t<0||t>1114111?this.errorValue:t<55296||t>56319&&t<=65535?(e=(this.data[t>>g]<<c)+(t&r),this.data[e]):t<=65535?(e=(this.data[f+(t-55296>>g)]<<c)+(t&r),this.data[e]):t<this.highStart?(e=this.data[o-h+(t>>p)],e=this.data[e+(t>>g&u)],e=(e<<c)+(t&r),this.data[e]):this.data[this.data.length-n]},t}(),t.exports=r},function(t,e){function n(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function r(t,e){this.source=t,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=e,this.destLen=0,this.ltree=new n,this.dtree=new n}function i(t,e,n,r){var i,o;for(i=0;i<n;++i)t[i]=0;for(i=0;i<30-n;++i)t[i+n]=i/n|0;for(o=r,i=0;i<30;++i)e[i]=o,o+=1<<t[i]}function o(t,e,n,r){var i,o;for(i=0;i<16;++i)t.table[i]=0;for(i=0;i<r;++i)t.table[e[n+i]]++;for(t.table[0]=0,o=0,i=0;i<16;++i)_[i]=o,o+=t.table[i];for(i=0;i<r;++i)e[n+i]&&(t.trans[_[e[n+i]]++]=i)}function a(t){t.bitcount--||(t.tag=t.source[t.sourceIndex++],t.bitcount=7);var e=1&t.tag;return t.tag>>>=1,e}function s(t,e,n){if(!e)return n;for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var r=t.tag&65535>>>16-e;return t.tag>>>=e,t.bitcount-=e,r+n}function u(t,e){for(;t.bitcount<24;)t.tag|=t.source[t.sourceIndex++]<<t.bitcount,t.bitcount+=8;var n=0,r=0,i=0,o=t.tag;do{r=2*r+(1&o),o>>>=1,++i,n+=e.table[i],r-=e.table[i]}while(r>=0);return t.tag=o,t.bitcount-=i,e.trans[n+r]}function c(t,e,n){var r,i,a,c,l,f;for(r=s(t,5,257),i=s(t,5,1),a=s(t,4,4),c=0;c<19;++c)k[c]=0;for(c=0;c<a;++c){var h=s(t,3,0);k[x[c]]=h}for(o(S,k,0,19),l=0;l<r+i;){var p=u(t,S);switch(p){case 16:var d=k[l-1];for(f=s(t,2,3);f;--f)k[l++]=d;break;case 17:for(f=s(t,3,3);f;--f)k[l++]=0;break;case 18:for(f=s(t,7,11);f;--f)k[l++]=0;break;default:k[l++]=p}}o(e,k,0,r),o(n,k,r,i)}function l(t,e,n){for(;;){var r=u(t,e);if(256===r)return p;if(r<256)t.dest[t.destLen++]=r;else{var i,o,a,c;for(r-=257,i=s(t,y[r],m[r]),o=u(t,n),a=t.destLen-s(t,b[o],w[o]),c=a;c<a+i;++c)t.dest[t.destLen++]=t.dest[c]}}}function f(t){for(var e,n,r;t.bitcount>8;)t.sourceIndex--,t.bitcount-=8;if(e=t.source[t.sourceIndex+1],e=256*e+t.source[t.sourceIndex],n=t.source[t.sourceIndex+3],n=256*n+t.source[t.sourceIndex+2],e!==(65535&~n))return d;for(t.sourceIndex+=4,r=e;r;--r)t.dest[t.destLen++]=t.source[t.sourceIndex++];return t.bitcount=0,p}function h(t,e){var n,i,o=new r(t,e);do{switch(n=a(o),s(o,2,0)){case 0:i=f(o);break;case 1:i=l(o,g,v);break;case 2:c(o,o.ltree,o.dtree),i=l(o,o.ltree,o.dtree);break;default:i=d}if(i!==p)throw new Error("Data error")}while(!n);return o.destLen<o.dest.length?"function"==typeof o.dest.slice?o.dest.slice(0,o.destLen):o.dest.subarray(0,o.destLen):o.dest}var p=0,d=-3,g=new n,v=new n,y=new Uint8Array(30),m=new Uint16Array(30),b=new Uint8Array(30),w=new Uint16Array(30),x=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),S=new n,k=new Uint8Array(320),_=new Uint16Array(16);!function(t,e){var n;for(n=0;n<7;++n)t.table[n]=0;for(t.table[7]=24,t.table[8]=152,t.table[9]=112,n=0;n<24;++n)t.trans[n]=256+n;for(n=0;n<144;++n)t.trans[24+n]=n;for(n=0;n<8;++n)t.trans[168+n]=280+n;for(n=0;n<112;++n)t.trans[176+n]=144+n;for(n=0;n<5;++n)e.table[n]=0;for(e.table[5]=32,n=0;n<32;++n)e.trans[n]=n}(g,v),i(y,m,4,3),i(b,w,2,1),y[28]=0,m[28]=258,t.exports=h},function(t,e,n){!function(t){"use strict";function e(t){var e=t.charCodeAt(0);return e===o||e===l?62:e===a||e===f?63:e<s?-1:e<s+10?e-s+26+26:e<c+26?e-c:e<u+26?e-u+26:void 0}function n(t){function n(t){c[f++]=t}var r,o,a,s,u,c;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=t.length;u="="===t.charAt(l-2)?2:"="===t.charAt(l-1)?1:0,c=new i(3*t.length/4-u),a=u>0?t.length-4:t.length;var f=0;for(r=0,o=0;r<a;r+=4,o+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(s>>8&255),n(255&s)),c}function r(t){function e(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)}var n,r,i,o=t.length%3,a="";for(n=0,i=t.length-o;n<i;n+=3)r=(t[n]<<16)+(t[n+1]<<8)+t[n+2],a+=function(t){return e(t>>18&63)+e(t>>12&63)+e(t>>6&63)+e(63&t)}(r);switch(o){case 1:r=t[t.length-1],a+=e(r>>2),a+=e(r<<4&63),a+="==";break;case 2:r=(t[t.length-2]<<8)+t[t.length-1],a+=e(r>>10),a+=e(r>>4&63),a+=e(r<<2&63),a+="="}return a}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="+".charCodeAt(0),a="/".charCodeAt(0),s="0".charCodeAt(0),u="a".charCodeAt(0),c="A".charCodeAt(0),l="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=n,t.fromByteArray=r}(e)},function(t,e){(function(){e.OP=0,e.CL=1,e.CP=2,e.QU=3,e.GL=4,e.NS=5,e.EX=6,e.SY=7,e.IS=8,e.PR=9,e.PO=10,e.NU=11,e.AL=12,e.HL=13,e.ID=14,e.IN=15,e.HY=16,e.BA=17,e.BB=18,e.B2=19,e.ZW=20,e.CM=21,e.WJ=22,e.H2=23,e.H3=24,e.JL=25,e.JV=26,e.JT=27,e.RI=28,e.AI=29,e.BK=30,e.CB=31,e.CJ=32,e.CR=33,e.LF=34,e.NL=35,e.SA=36,e.SG=37,e.SP=38,e.XX=39}).call(this)},function(t,e){(function(){var t,n,r,i,o;e.DI_BRK=r=0,e.IN_BRK=i=1,e.CI_BRK=t=2,e.CP_BRK=n=3,e.PR_BRK=o=4,e.pairTable=[[o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,o,n,o,o,o,o,o,o,o],[r,o,o,i,i,o,o,o,o,i,i,r,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,o,o,o,o,i,i,i,i,i,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[o,o,o,i,i,i,o,o,o,i,i,i,i,i,i,i,i,i,i,i,o,t,o,i,i,i,i,i,i],[i,o,o,i,i,i,o,o,o,i,i,i,i,i,i,i,i,i,i,i,o,t,o,i,i,i,i,i,i],[r,o,o,i,i,i,o,o,o,r,r,r,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,i,o,o,o,r,r,r,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,i,o,o,o,r,r,i,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,i,o,o,o,r,r,i,i,i,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,r,r,i,i,i,i,r,i,i,r,r,o,t,o,i,i,i,i,i,r],[i,o,o,i,i,i,o,o,o,r,r,i,i,i,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,i,i,i,i,i,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,r,r,i,i,i,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,r,r,i,i,i,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,i,i,o,o,o,r,r,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,r,i,o,o,o,r,r,i,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[r,o,o,i,r,i,o,o,o,r,r,r,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,i,i,i,i,i,i,i,i,i,i,i,o,t,o,i,i,i,i,i,i],[r,o,o,i,i,i,o,o,o,r,r,r,r,r,r,r,i,i,r,o,o,t,o,r,r,r,r,r,r],[r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,o,r,r,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,r,r,i,i,i,r,i,i,i,r,r,o,t,o,r,r,r,r,r,r],[i,o,o,i,i,i,o,o,o,i,i,i,i,i,i,i,i,i,i,i,o,t,o,i,i,i,i,i,i],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,i,i,r],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,r,i,r],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,i,i,i,i,r,r],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,i,i,r],[r,o,o,i,i,i,o,o,o,r,i,r,r,r,r,i,i,i,r,r,o,t,o,r,r,r,r,i,r],[r,o,o,i,i,i,o,o,o,r,r,r,r,r,r,r,i,i,r,r,o,t,o,r,r,r,r,r,i]]}).call(this)},function(t,e){"use strict";function n(t,e){this.defaultStyle=e||{},this.styleDictionary=t,this.styleOverrides=[]}n.prototype.clone=function(){var t=new n(this.styleDictionary,this.defaultStyle);return this.styleOverrides.forEach(function(e){t.styleOverrides.push(e)}),t},n.prototype.push=function(t){this.styleOverrides.push(t)},n.prototype.pop=function(t){for(t=t||1;t-- >0;)this.styleOverrides.pop()},n.prototype.autopush=function(t){if("string"==typeof t||t instanceof String)return 0;var e=[];t.style&&(e=Array.isArray(t.style)?t.style:[t.style]);for(var n=0,r=e.length;n<r;n++)this.push(e[n]);var i={},o=!1;return["font","fontSize","bold","italics","alignment","color","columnGap","fillColor","decoration","decorationStyle","decorationColor","background","lineHeight","noWrap","markerColor"].forEach(function(e){void 0!==t[e]&&null!==t[e]&&(i[e]=t[e],o=!0)}),o&&this.push(i),e.length+(o?1:0)},n.prototype.auto=function(t,e){var n=this.autopush(t),r=e();return n>0&&this.pop(n),r},n.prototype.getProperty=function(t){if(this.styleOverrides)for(var e=this.styleOverrides.length-1;e>=0;e--){var n=this.styleOverrides[e];if("string"==typeof n||n instanceof String){var r=this.styleDictionary[n];if(r&&null!==r[t]&&void 0!==r[t])return r[t]}else if(void 0!==n[t]&&null!==n[t])return n[t]}return this.defaultStyle&&this.defaultStyle[t]},t.exports=n},function(t,e){"use strict";function n(t,e){var n=[],o=0,a=0,s=[],u=0,c=0,l=[],f=e;t.forEach(function(t){r(t)?(n.push(t),o+=t._minWidth,a+=t._maxWidth):i(t)?(s.push(t),u=Math.max(u,t._minWidth),c=Math.max(c,t._maxWidth)):l.push(t)}),l.forEach(function(t){"string"==typeof t.width&&/\d+%/.test(t.width)&&(t.width=parseFloat(t.width)*f/100),t.width<t._minWidth&&t.elasticWidth?t._calcWidth=t._minWidth:t._calcWidth=t.width,e-=t._calcWidth});var h=o+u*s.length,p=a+c*s.length;if(h>=e)n.forEach(function(t){t._calcWidth=t._minWidth}),s.forEach(function(t){t._calcWidth=u});else{if(p<e)n.forEach(function(t){t._calcWidth=t._maxWidth,e-=t._calcWidth});else{var d=e-h,g=p-h;n.forEach(function(t){var n=t._maxWidth-t._minWidth;t._calcWidth=t._minWidth+n*d/g,e-=t._calcWidth})}if(s.length>0){var v=e/s.length;s.forEach(function(t){t._calcWidth=v})}}}function r(t){return"auto"===t.width}function i(t){return null===t.width||void 0===t.width||"*"===t.width||"star"===t.width}function o(t){for(var e={min:0,max:0},n={min:0,max:0},o=0,a=0,s=t.length;a<s;a++){var u=t[a];i(u)?(n.min=Math.max(n.min,u._minWidth),n.max=Math.max(n.max,u._maxWidth),o++):r(u)?(e.min+=u._minWidth,e.max+=u._maxWidth):(e.min+=void 0!==u.width&&u.width||u._minWidth,e.max+=void 0!==u.width&&u.width||u._maxWidth)}return o&&(e.min+=o*n.min,e.max+=o*n.max),e}t.exports={buildColumnWidths:n,measureMinMax:o,isAutoColumn:r,isStarColumn:i}},function(t,e){"use strict";function n(){for(var t={},e=0,n=arguments.length;e<n;e++){var r=arguments[e];if(r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}function r(t,e,n){switch(t.type){case"ellipse":case"rect":t.x+=e,t.y+=n;break;case"line":t.x1+=e,t.x2+=e,t.y1+=n,t.y2+=n;break;case"polyline":for(var r=0,i=t.points.length;r<i;r++)t.points[r].x+=e,t.points[r].y+=n}}function i(t,e){return"font"===t?"font":e}function o(t){var e={};return t&&"[object Function]"===e.toString.call(t)}t.exports={pack:n,fontStringify:i,offsetVector:r,isFunction:o}},function(t,e){"use strict";function n(t,e){var n={numeric:a,alphanumeric:s,octet:u},r={L:f,M:h,Q:p,H:d};e=e||{};var i=e.version||-1,o=r[(e.eccLevel||"L").toUpperCase()],g=e.mode?n[e.mode.toLowerCase()]:-1,v="mask"in e?e.mask:-1;if(g<0)g="string"==typeof t?t.match(c)?a:t.match(l)?s:u:u;else if(g!=a&&g!=s&&g!=u)throw"invalid or unsupported mode";if(null===(t=B(g,t)))throw"invalid data format";if(o<0||o>3)throw"invalid ECC level";if(i<0){for(i=1;i<=40&&!(t.length<=L(i,g,o));++i);if(i>40)throw"too large data for the Qr format"}else if(i<1||i>40)throw"invalid Qr version! should be between 1 and 40";if(v!=-1&&(v<0||v>8))throw"invalid mask";return G(t,i,g,o,v)}function r(t,e){var r=[],i=t.background||"#fff",o=t.foreground||"#000",a=n(t,e),s=a.length,u=Math.floor(e.fit?e.fit/s:5),c=s*u;r.push({type:"rect",x:0,y:0,w:c,h:c,lineWidth:0,color:i});for(var l=0;l<s;++l)for(var f=0;f<s;++f)a[l][f]&&r.push({type:"rect",x:u*f,y:u*l,w:u,h:u,lineWidth:0,color:o});return{canvas:r,size:c}}function i(t){var e=r(t.qr,t);return t._canvas=e.canvas,t._width=t._height=t._minWidth=t._maxWidth=t._minHeight=t._maxHeight=e.size,t}for(var o=[null,[[10,7,17,13],[1,1,1,1],[]],[[16,10,28,22],[1,1,1,1],[4,16]],[[26,15,22,18],[1,1,2,2],[4,20]],[[18,20,16,26],[2,1,4,2],[4,24]],[[24,26,22,18],[2,1,4,4],[4,28]],[[16,18,28,24],[4,2,4,4],[4,32]],[[18,20,26,18],[4,2,5,6],[4,20,36]],[[22,24,26,22],[4,2,6,6],[4,22,40]],[[22,30,24,20],[5,2,8,8],[4,24,44]],[[26,18,28,24],[5,4,8,8],[4,26,48]],[[30,20,24,28],[5,4,11,8],[4,28,52]],[[22,24,28,26],[8,4,11,10],[4,30,56]],[[22,26,22,24],[9,4,16,12],[4,32,60]],[[24,30,24,20],[9,4,16,16],[4,24,44,64]],[[24,22,24,30],[10,6,18,12],[4,24,46,68]],[[28,24,30,24],[10,6,16,17],[4,24,48,72]],[[28,28,28,28],[11,6,19,16],[4,28,52,76]],[[26,30,28,28],[13,6,21,18],[4,28,54,80]],[[26,28,26,26],[14,7,25,21],[4,28,56,84]],[[26,28,28,30],[16,8,25,20],[4,32,60,88]],[[26,28,30,28],[17,8,25,23],[4,26,48,70,92]],[[28,28,24,30],[17,9,34,23],[4,24,48,72,96]],[[28,30,30,30],[18,9,30,25],[4,28,52,76,100]],[[28,30,30,30],[20,10,32,27],[4,26,52,78,104]],[[28,26,30,30],[21,12,35,29],[4,30,56,82,108]],[[28,28,30,28],[23,12,37,34],[4,28,56,84,112]],[[28,30,30,30],[25,12,40,34],[4,32,60,88,116]],[[28,30,30,30],[26,13,42,35],[4,24,48,72,96,120]],[[28,30,30,30],[28,14,45,38],[4,28,52,76,100,124]],[[28,30,30,30],[29,15,48,40],[4,24,50,76,102,128]],[[28,30,30,30],[31,16,51,43],[4,28,54,80,106,132]],[[28,30,30,30],[33,17,54,45],[4,32,58,84,110,136]],[[28,30,30,30],[35,18,57,48],[4,28,56,84,112,140]],[[28,30,30,30],[37,19,60,51],[4,32,60,88,116,144]],[[28,30,30,30],[38,19,63,53],[4,28,52,76,100,124,148]],[[28,30,30,30],[40,20,66,56],[4,22,48,74,100,126,152]],[[28,30,30,30],[43,21,70,59],[4,26,52,78,104,130,156]],[[28,30,30,30],[45,22,74,62],[4,30,56,82,108,134,160]],[[28,30,30,30],[47,24,77,65],[4,24,52,80,108,136,164]],[[28,30,30,30],[49,25,81,68],[4,28,56,84,112,140,168]]],a=1,s=2,u=4,c=/^\d*$/,l=/^[A-Z0-9 $%*+\-.\/:]*$/,f=1,h=0,p=3,d=2,g=[],v=[-1],y=0,m=1;y<255;++y)g.push(m),v[m]=y,m=2*m^(m>=128?285:0);for(var b=[[]],y=0;y<30;++y){for(var w=b[y],x=[],S=0;S<=y;++S){var k=S<y?g[w[S]]:0,_=g[(y+(w[S-1]||0))%255];x.push(v[k^_])}b.push(x)}for(var C={},y=0;y<45;++y)C["0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".charAt(y)]=y;var A=[function(t,e){return(t+e)%2==0},function(t,e){return t%2==0},function(t,e){return e%3==0},function(t,e){return(t+e)%3==0},function(t,e){return((t/2|0)+(e/3|0))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],E=function(t){return t>6},P=function(t){return 4*t+17},I=function(t){var e=o[t],n=16*t*t+128*t+64;return E(t)&&(n-=36),e[2].length&&(n-=25*e[2].length*e[2].length-10*e[2].length-55),n},O=function(t,e){var n=I(t)&-8,r=o[t];return n-=8*r[0][e]*r[1][e]},T=function(t,e){switch(e){case a:return t<10?10:t<27?12:14;case s:return t<10?9:t<27?11:13;case u:return t<10?8:16;case 8:return t<10?8:t<27?10:12}},L=function(t,e,n){var r=O(t,n)-4-T(t,e);switch(e){case a:return 3*(r/10|0)+(r%10<4?0:r%10<7?1:2);case s:return 2*(r/11|0)+(r%11<6?0:1);case u:return r/8|0;case 8:return r/13|0}},B=function(t,e){switch(t){case a:return e.match(c)?e:null;case s:return e.match(/^[A-Za-z0-9 $%*+\-.\/:]*$/)?e.toUpperCase():null;case u:if("string"==typeof e){for(var n=[],r=0;r<e.length;++r){var i=e.charCodeAt(r);i<128?n.push(i):i<2048?n.push(192|i>>6,128|63&i):i<65536?n.push(224|i>>12,128|i>>6&63,128|63&i):n.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|63&i)}return n}return e}},R=function(t,e,n,r){var i=[],o=0,c=8,l=n.length,f=function(t,e){if(e>=c){for(i.push(o|t>>(e-=c));e>=8;)i.push(t>>(e-=8)&255);o=0,c=8}e>0&&(o|=(t&(1<<e)-1)<<(c-=e))},h=T(t,e);switch(f(e,4),f(l,h),e){case a:for(var p=2;p<l;p+=3)f(parseInt(n.substring(p-2,p+1),10),10);f(parseInt(n.substring(p-2),10),[0,4,7][l%3]);break;case s:for(var p=1;p<l;p+=2)f(45*C[n.charAt(p-1)]+C[n.charAt(p)],11);l%2==1&&f(C[n.charAt(p-1)],6);break;case u:for(var p=0;p<l;++p)f(n[p],8)}for(f(0,4),c<8&&i.push(o);i.length+1<r;)i.push(236,17);return i.length<r&&i.push(236),i},M=function(t,e){for(var n=t.slice(0),r=t.length,i=e.length,o=0;o<i;++o)n.push(0);for(var o=0;o<r;){var a=v[n[o++]];if(a>=0)for(var s=0;s<i;++s)n[o+s]^=g[(a+e[s])%255]}return n.slice(r)},z=function(t,e,n){for(var r=[],i=t.length/e|0,o=0,a=e-t.length%e,s=0;s<a;++s)r.push(o),o+=i;for(var s=a;s<e;++s)r.push(o),o+=i+1;r.push(o);for(var u=[],s=0;s<e;++s)u.push(M(t.slice(r[s],r[s+1]),n));for(var c=[],l=t.length/e|0,s=0;s<l;++s)for(var f=0;f<e;++f)c.push(t[r[f]+s]);for(var f=a;f<e;++f)c.push(t[r[f+1]-1]);for(var s=0;s<n.length;++s)for(var f=0;f<e;++f)c.push(u[f][s]);return c},F=function(t,e,n,r){for(var i=t<<r,o=e-1;o>=0;--o)i>>r+o&1&&(i^=n<<o);return t<<r|i},D=function(t){for(var e=o[t],n=P(t),r=[],i=[],a=0;a<n;++a)r.push([]),i.push([]);var s=function(t,e,n,o,a){for(var s=0;s<n;++s)for(var u=0;u<o;++u)r[t+s][e+u]=a[s]>>u&1,i[t+s][e+u]=1};s(0,0,9,9,[127,65,93,93,93,65,383,0,64]),s(n-8,0,8,9,[256,127,65,93,93,93,65,127]),s(0,n-8,9,8,[254,130,186,186,186,130,254,0,0]);for(var a=9;a<n-8;++a)r[6][a]=r[a][6]=1&~a,i[6][a]=i[a][6]=1;for(var u=e[2],c=u.length,a=0;a<c;++a)for(var l=0===a||a===c-1?1:0,f=0===a?c-1:c,h=l;h<f;++h)s(u[a],u[h],5,5,[31,17,21,17,31]);if(E(t))for(var p=F(t,6,7973,12),d=0,a=0;a<6;++a)for(var h=0;h<3;++h)r[a][n-11+h]=r[n-11+h][a]=p>>d++&1,i[a][n-11+h]=i[n-11+h][a]=1;return{matrix:r,reserved:i}},N=function(t,e,n){for(var r=t.length,i=0,o=-1,a=r-1;a>=0;a-=2){6==a&&--a;for(var s=o<0?r-1:0,u=0;u<r;++u){for(var c=a;c>a-2;--c)e[s][c]||(t[s][c]=n[i>>3]>>(7&~i)&1,++i);s+=o}o=-o}return t},U=function(t,e,n){for(var r=A[n],i=t.length,o=0;o<i;++o)for(var a=0;a<i;++a)e[o][a]||(t[o][a]^=r(o,a));return t},W=function(t,e,n,r){for(var i=t.length,o=21522^F(n<<3|r,5,1335,10),a=0;a<15;++a){var s=[0,1,2,3,4,5,7,8,i-7,i-6,i-5,i-4,i-3,i-2,i-1][a],u=[i-1,i-2,i-3,i-4,i-5,i-6,i-7,i-8,7,5,4,3,2,1,0][a];t[s][8]=t[8][u]=o>>a&1}return t},j=function(t){for(var e=function(t){for(var e=0,n=0;n<t.length;++n)t[n]>=5&&(e+=t[n]-5+3);for(var n=5;n<t.length;n+=2){var r=t[n];t[n-1]==r&&t[n-2]==3*r&&t[n-3]==r&&t[n-4]==r&&(t[n-5]>=4*r||t[n+1]>=4*r)&&(e+=40)}return e},n=t.length,r=0,i=0,o=0;o<n;++o){var a,s=t[o];a=[0];for(var u=0;u<n;){var c;for(c=0;u<n&&s[u];++c)++u;for(a.push(c),c=0;u<n&&!s[u];++c)++u;a.push(c)}r+=e(a),a=[0];for(var u=0;u<n;){var c;for(c=0;u<n&&t[u][o];++c)++u;for(a.push(c),c=0;u<n&&!t[u][o];++c)++u;a.push(c)}r+=e(a);var l=t[o+1]||[];i+=s[0];for(var u=1;u<n;++u){var f=s[u];i+=f,s[u-1]==f&&l[u]===f&&l[u-1]===f&&(r+=3)}}return r+=10*(Math.abs(i/n/n-.5)/.05|0)},G=function(t,e,n,r,i){var a=o[e],s=R(e,n,t,O(e,r)>>3);s=z(s,a[1][r],b[a[0][r]]);var u=D(e),c=u.matrix,l=u.reserved;if(N(c,l,s),i<0){U(c,l,0),W(c,0,r,0);var f=0,h=j(c);for(U(c,l,0),i=1;i<8;++i){U(c,l,i),W(c,0,r,i);var p=j(c);h>p&&(h=p,f=i),U(c,l,i)}i=f}return U(c,l,i),W(c,0,r,i),c};t.exports={measure:i}},function(t,e,n){"use strict";function r(t,e){this.pages=[],this.pageMargins=e,this.x=e.left,this.availableWidth=t.width-e.left-e.right,this.availableHeight=0,this.page=-1,this.snapshots=[],this.endingCell=null,this.tracker=new a,this.addPage(t)}function i(t,e){return void 0===t?e:("string"==typeof t||t instanceof String)&&"landscape"===t.toLowerCase()?"landscape":"portrait"}function o(t,e){var n;return n=t.page>e.page?t:e.page>t.page?e:t.y>e.y?t:e,{page:n.page,x:n.x,y:n.y,availableHeight:n.availableHeight,availableWidth:n.availableWidth}}var a=n(11);r.prototype.beginColumnGroup=function(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,bottomMost:{y:this.y,page:this.page},endingCell:this.endingCell,lastColumnWidth:this.lastColumnWidth}),this.lastColumnWidth=0},r.prototype.beginColumn=function(t,e,n){var r=this.snapshots[this.snapshots.length-1];this.calculateBottomMost(r),this.endingCell=n,this.page=r.page,this.x=this.x+this.lastColumnWidth+(e||0),this.y=r.y,this.availableWidth=t,this.availableHeight=r.availableHeight,this.lastColumnWidth=t},r.prototype.calculateBottomMost=function(t){this.endingCell?(this.saveContextInEndingCell(this.endingCell),this.endingCell=null):t.bottomMost=o(this,t.bottomMost)},r.prototype.markEnding=function(t){this.page=t._columnEndingContext.page,this.x=t._columnEndingContext.x,this.y=t._columnEndingContext.y,this.availableWidth=t._columnEndingContext.availableWidth,this.availableHeight=t._columnEndingContext.availableHeight,this.lastColumnWidth=t._columnEndingContext.lastColumnWidth},r.prototype.saveContextInEndingCell=function(t){t._columnEndingContext={page:this.page,x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,lastColumnWidth:this.lastColumnWidth}},r.prototype.completeColumnGroup=function(){var t=this.snapshots.pop();this.calculateBottomMost(t),this.endingCell=null,this.x=t.x,this.y=t.bottomMost.y,this.page=t.bottomMost.page,this.availableWidth=t.availableWidth,this.availableHeight=t.bottomMost.availableHeight,this.lastColumnWidth=t.lastColumnWidth},r.prototype.addMargin=function(t,e){this.x+=t,this.availableWidth-=t+(e||0)},r.prototype.moveDown=function(t){return this.y+=t,this.availableHeight-=t,this.availableHeight>0},r.prototype.initializePage=function(){this.y=this.pageMargins.top,this.availableHeight=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom,this.pageSnapshot().availableWidth=this.getCurrentPage().pageSize.width-this.pageMargins.left-this.pageMargins.right},r.prototype.pageSnapshot=function(){return this.snapshots[0]?this.snapshots[0]:this},r.prototype.moveTo=function(t,e){void 0!==t&&null!==t&&(this.x=t,this.availableWidth=this.getCurrentPage().pageSize.width-this.x-this.pageMargins.right),void 0!==e&&null!==e&&(this.y=e,this.availableHeight=this.getCurrentPage().pageSize.height-this.y-this.pageMargins.bottom)},r.prototype.beginDetachedBlock=function(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,endingCell:this.endingCell,lastColumnWidth:this.lastColumnWidth})},r.prototype.endDetachedBlock=function(){var t=this.snapshots.pop();this.x=t.x,this.y=t.y,this.availableWidth=t.availableWidth,this.availableHeight=t.availableHeight,this.page=t.page,this.endingCell=t.endingCell,this.lastColumnWidth=t.lastColumnWidth};var s=function(t,e){return e=i(e,t.pageSize.orientation),e!==t.pageSize.orientation?{orientation:e,width:t.pageSize.height,height:t.pageSize.width}:{orientation:t.pageSize.orientation,width:t.pageSize.width,height:t.pageSize.height}};r.prototype.moveToNextPage=function(t){var e=this.page+1,n=this.page,r=this.y,i=e>=this.pages.length;if(i){var o=this.availableWidth,a=this.getCurrentPage().pageSize.orientation,u=s(this.getCurrentPage(),t);this.addPage(u),a===u.orientation&&(this.availableWidth=o)}else this.page=e,this.initializePage();return{newPageCreated:i,prevPage:n,prevY:r,y:this.y}},r.prototype.addPage=function(t){var e={items:[],pageSize:t};return this.pages.push(e),this.page=this.pages.length-1,this.initializePage(),this.tracker.emit("pageAdded"),e},r.prototype.getCurrentPage=function(){return this.page<0||this.page>=this.pages.length?null:this.pages[this.page]},r.prototype.getCurrentPosition=function(){var t=this.getCurrentPage().pageSize,e=t.height-this.pageMargins.top-this.pageMargins.bottom,n=t.width-this.pageMargins.left-this.pageMargins.right;return{pageNumber:this.page+1,pageOrientation:t.orientation,pageInnerHeight:e,pageInnerWidth:n,left:this.x,top:this.y,verticalRatio:(this.y-this.pageMargins.top)/e,horizontalRatio:(this.x-this.pageMargins.left)/n}},t.exports=r},function(t,e,n){"use strict";function r(t,e){this.transactionLevel=0,this.repeatables=[],this.tracker=e,this.writer=new o(t,e)}function i(t,e){var n=e(t);return n||(t.moveToNextPage(),n=e(t)),n}var o=n(26);r.prototype.addLine=function(t,e,n){return i(this,function(r){return r.writer.addLine(t,e,n)})},r.prototype.addImage=function(t,e){return i(this,function(n){return n.writer.addImage(t,e)})},r.prototype.addQr=function(t,e){return i(this,function(n){return n.writer.addQr(t,e)})},r.prototype.addVector=function(t,e,n,r){return this.writer.addVector(t,e,n,r)},r.prototype.addFragment=function(t,e,n,r){this.writer.addFragment(t,e,n,r)||(this.moveToNextPage(),this.writer.addFragment(t,e,n,r))},r.prototype.moveToNextPage=function(t){var e=this.writer.context.moveToNextPage(t);e.newPageCreated?this.repeatables.forEach(function(t){this.writer.addFragment(t,!0)},this):this.repeatables.forEach(function(t){this.writer.context.moveDown(t.height)},this),this.writer.tracker.emit("pageChanged",{prevPage:e.prevPage,prevY:e.prevY,y:e.y})},r.prototype.beginUnbreakableBlock=function(t,e){0==this.transactionLevel++&&(this.originalX=this.writer.context.x,this.writer.pushContext(t,e))},r.prototype.commitUnbreakableBlock=function(t,e){if(0==--this.transactionLevel){var n=this.writer.context;this.writer.popContext();var r=n.pages.length;if(r>0){var i=n.pages[0];if(i.xOffset=t,i.yOffset=e,r>1)if(void 0!==t||void 0!==e)i.height=n.getCurrentPage().pageSize.height-n.pageMargins.top-n.pageMargins.bottom;else{i.height=this.writer.context.getCurrentPage().pageSize.height-this.writer.context.pageMargins.top-this.writer.context.pageMargins.bottom;for(var o=0,a=this.repeatables.length;o<a;o++)i.height-=this.repeatables[o].height}else i.height=n.y;void 0!==t||void 0!==e?this.writer.addFragment(i,!0,!0,!0):this.addFragment(i)}}},r.prototype.currentBlockToRepeatable=function(){var t=this.writer.context,e={items:[]};return t.pages[0].items.forEach(function(t){e.items.push(t)}),e.xOffset=this.originalX,e.height=t.y,e},r.prototype.pushToRepeatables=function(t){this.repeatables.push(t)},
r.prototype.popFromRepeatables=function(){this.repeatables.pop()},r.prototype.context=function(){return this.writer.context},t.exports=r},function(t,e,n){"use strict";function r(t,e){this.context=t,this.contextStack=[],this.tracker=e}function i(t,e,n){null===n||void 0===n||n<0||n>t.items.length?t.items.push(e):t.items.splice(n,0,e)}function o(t){var e=new a(t.maxWidth);for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var a=n(27),s=n(22).pack,u=n(22).offsetVector,c=n(24);r.prototype.addLine=function(t,e,n){var r=t.getHeight(),o=this.context,a=o.getCurrentPage(),s=this.getCurrentPositionOnPage();return!(o.availableHeight<r||!a)&&(t.x=o.x+(t.x||0),t.y=o.y+(t.y||0),this.alignLine(t),i(a,{type:"line",item:t},n),this.tracker.emit("lineAdded",t),e||o.moveDown(r),s)},r.prototype.alignLine=function(t){var e=this.context.availableWidth,n=t.getWidth(),r=t.inlines&&t.inlines.length>0&&t.inlines[0].alignment,i=0;switch(r){case"right":i=e-n;break;case"center":i=(e-n)/2}if(i&&(t.x=(t.x||0)+i),"justify"===r&&!t.newLineForced&&!t.lastLineInParagraph&&t.inlines.length>1)for(var o=(e-n)/(t.inlines.length-1),a=1,s=t.inlines.length;a<s;a++)i=a*o,t.inlines[a].x+=i},r.prototype.addImage=function(t,e){var n=this.context,r=n.getCurrentPage(),o=this.getCurrentPositionOnPage();return!(n.availableHeight<t._height||!r)&&(void 0===t._x&&(t._x=t.x||0),t.x=n.x+t._x,t.y=n.y,this.alignImage(t),i(r,{type:"image",item:t},e),n.moveDown(t._height),o)},r.prototype.addQr=function(t,e){var n=this.context,r=n.getCurrentPage(),i=this.getCurrentPositionOnPage();if(n.availableHeight<t._height||!r)return!1;void 0===t._x&&(t._x=t.x||0),t.x=n.x+t._x,t.y=n.y,this.alignImage(t);for(var o=0,a=t._canvas.length;o<a;o++){var s=t._canvas[o];s.x+=t.x,s.y+=t.y,this.addVector(s,!0,!0,e)}return n.moveDown(t._height),i},r.prototype.alignImage=function(t){var e=this.context.availableWidth,n=t._minWidth,r=0;switch(t._alignment){case"right":r=e-n;break;case"center":r=(e-n)/2}r&&(t.x=(t.x||0)+r)},r.prototype.addVector=function(t,e,n,r){var o=this.context,a=o.getCurrentPage(),s=this.getCurrentPositionOnPage();if(a)return u(t,e?0:o.x,n?0:o.y),i(a,{type:"vector",item:t},r),s},r.prototype.addFragment=function(t,e,n,r){var i=this.context,a=i.getCurrentPage();return!(!e&&t.height>i.availableHeight)&&(t.items.forEach(function(r){switch(r.type){case"line":var c=o(r.item);c.x=(c.x||0)+(e?t.xOffset||0:i.x),c.y=(c.y||0)+(n?t.yOffset||0:i.y),a.items.push({type:"line",item:c});break;case"vector":var l=s(r.item);u(l,e?t.xOffset||0:i.x,n?t.yOffset||0:i.y),a.items.push({type:"vector",item:l});break;case"image":var f=s(r.item);f.x=(f.x||0)+(e?t.xOffset||0:i.x),f.y=(f.y||0)+(n?t.yOffset||0:i.y),a.items.push({type:"image",item:f})}}),r||i.moveDown(t.height),!0)},r.prototype.pushContext=function(t,e){void 0===t&&(e=this.context.getCurrentPage().height-this.context.pageMargins.top-this.context.pageMargins.bottom,t=this.context.availableWidth),("number"==typeof t||t instanceof Number)&&(t=new c({width:t,height:e},{left:0,right:0,top:0,bottom:0})),this.contextStack.push(this.context),this.context=t},r.prototype.popContext=function(){this.context=this.contextStack.pop()},r.prototype.getCurrentPositionOnPage=function(){return(this.contextStack[0]||this.context).getCurrentPosition()},t.exports=r},function(t,e){"use strict";function n(t){this.maxWidth=t,this.leadingCut=0,this.trailingCut=0,this.inlineWidths=0,this.inlines=[]}n.prototype.getAscenderHeight=function(){var t=0;return this.inlines.forEach(function(e){t=Math.max(t,e.font.ascender/1e3*e.fontSize)}),t},n.prototype.hasEnoughSpaceForInline=function(t){return 0===this.inlines.length||!this.newLineForced&&this.inlineWidths+t.width-this.leadingCut-(t.trailingCut||0)<=this.maxWidth},n.prototype.addInline=function(t){0===this.inlines.length&&(this.leadingCut=t.leadingCut||0),this.trailingCut=t.trailingCut||0,t.x=this.inlineWidths-this.leadingCut,this.inlines.push(t),this.inlineWidths+=t.width,t.lineEnd&&(this.newLineForced=!0)},n.prototype.getWidth=function(){return this.inlineWidths-this.leadingCut-this.trailingCut},n.prototype.getHeight=function(){var t=0;return this.inlines.forEach(function(e){t=Math.max(t,e.height||0)}),t},t.exports=n},function(t,e,n){"use strict";function r(t){this.tableNode=t}var i=n(21);r.prototype.beginTable=function(t){var e,n,r=this;e=this.tableNode,this.offsets=e._offsets,this.layout=e._layout,n=t.context().availableWidth-this.offsets.total,i.buildColumnWidths(e.table.widths,n),this.tableWidth=e._offsets.total+function(){var t=0;return e.table.widths.forEach(function(e){t+=e._calcWidth}),t}(),this.rowSpanData=function(){var t=[],e=0,n=0;t.push({left:0,rowSpan:0});for(var i=0,o=r.tableNode.table.body[0].length;i<o;i++){n=r.layout.paddingLeft(i,r.tableNode)+r.layout.paddingRight(i,r.tableNode)+r.layout.vLineWidth(i,r.tableNode)+r.tableNode.table.widths[i]._calcWidth,t[t.length-1].width=n,e+=n,t.push({left:e,rowSpan:0,width:0})}return t}(),this.cleanUpRepeatables=!1,this.headerRows=e.table.headerRows||0,this.rowsWithoutPageBreak=this.headerRows+(e.table.keepWithHeaderRows||0),this.dontBreakRows=e.table.dontBreakRows||!1,this.rowsWithoutPageBreak&&t.beginUnbreakableBlock(),function(t){function e(e,n,r,i){var o=t[e][n];o.border=o.border||{},o.border[r]=i}for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.length;i++){var o=r[i];if(o.border){for(var a=o.rowSpan||1,s=o.colSpan||1,u=0;u<a;u++)void 0!==o.border[0]&&u>0&&e(n+u,i,0,o.border[0]),void 0!==o.border[2]&&e(n+u,i+s-1,2,o.border[2]);for(var c=0;c<s;c++)void 0!==o.border[1]&&c>0&&e(n,i+c,1,o.border[1]),void 0!==o.border[3]&&e(n+a-1,i+c,3,o.border[3])}}}(this.tableNode.table.body),this.drawHorizontalLine(0,t)},r.prototype.onRowBreak=function(t,e){var n=this;return function(){var t=n.rowPaddingTop+(n.headerRows?0:n.topLineWidth);e.context().moveDown(t)}},r.prototype.beginRow=function(t,e){this.topLineWidth=this.layout.hLineWidth(t,this.tableNode),this.rowPaddingTop=this.layout.paddingTop(t,this.tableNode),this.bottomLineWidth=this.layout.hLineWidth(t+1,this.tableNode),this.rowPaddingBottom=this.layout.paddingBottom(t,this.tableNode),this.rowCallback=this.onRowBreak(t,e),e.tracker.startTracking("pageChanged",this.rowCallback),this.dontBreakRows&&e.beginUnbreakableBlock(),this.rowTopY=e.context().y,this.reservedAtBottom=this.bottomLineWidth+this.rowPaddingBottom,e.context().availableHeight-=this.reservedAtBottom,e.context().moveDown(this.rowPaddingTop)},r.prototype.drawHorizontalLine=function(t,e,n){var r=this.layout.hLineWidth(t,this.tableNode);if(r){for(var i=r/2,o=null,a=this.tableNode.table.body,s=0,u=this.rowSpanData.length;s<u;s++){var c=this.rowSpanData[s],l=!c.rowSpan;if(l&&s<u-1){var f=!1,h=!1;if(t<a.length){var p=a[t][s];f=p.border?p.border[1]:this.layout.defaultBorder}if(t>0){var d=a[t-1][s];h=d.border?d.border[3]:this.layout.defaultBorder}l=f||h}!o&&l&&(o={left:c.left,width:0}),l&&(o.width+=c.width||0);var g=(n||0)+i;l&&s!==u-1||o&&o.width&&(e.addVector({type:"line",x1:o.left,x2:o.left+o.width,y1:g,y2:g,lineWidth:r,lineColor:"function"==typeof this.layout.hLineColor?this.layout.hLineColor(t,this.tableNode):this.layout.hLineColor},!1,n),o=null)}e.context().moveDown(r)}},r.prototype.drawVerticalLine=function(t,e,n,r,i){var o=this.layout.vLineWidth(r,this.tableNode);0!==o&&i.addVector({type:"line",x1:t+o/2,x2:t+o/2,y1:e,y2:n,lineWidth:o,lineColor:"function"==typeof this.layout.vLineColor?this.layout.vLineColor(r,this.tableNode):this.layout.vLineColor},!1,!0)},r.prototype.endTable=function(t){this.cleanUpRepeatables&&t.popFromRepeatables()},r.prototype.endRow=function(t,e,n){var r,i,o=this;e.tracker.stopTracking("pageChanged",this.rowCallback),e.context().moveDown(this.layout.paddingBottom(t,this.tableNode)),e.context().availableHeight+=this.reservedAtBottom;var a=e.context().page,s=e.context().y,u=function(){for(var e=[],n=0,r=0,i=o.tableNode.table.body[t].length;r<i;r++){if(!n){e.push({x:o.rowSpanData[r].left,index:r});var a=o.tableNode.table.body[t][r];n=a._colSpan||a.colSpan||0}n>0&&n--}return e.push({x:o.rowSpanData[o.rowSpanData.length-1].left,index:o.rowSpanData.length-1}),e}(),c=[],l=n&&n.length>0,f=this.tableNode.table.body;if(c.push({y0:this.rowTopY,page:l?n[0].prevPage:a}),l)for(i=0,r=n.length;i<r;i++){var h=n[i];c[c.length-1].y1=h.prevY,c.push({y0:h.y,page:h.prevPage+1})}c[c.length-1].y1=s;for(var p=c[0].y1-c[0].y0===this.rowPaddingTop,d=p?1:0,g=c.length;d<g;d++){var v=d<c.length-1,y=d>0&&!this.headerRows,m=y?0:this.topLineWidth,b=c[d].y0,w=c[d].y1;for(v&&(w+=this.rowPaddingBottom),e.context().page!=c[d].page&&(e.context().page=c[d].page,this.reservedAtBottom=0),i=0,r=u.length;i<r;i++){var x=!1,S=!1,k=u[i].index;if(k<f[t].length){var _=f[t][k];x=_.border?_.border[0]:this.layout.defaultBorder}if(k>0){var _=f[t][k-1];S=_.border?_.border[2]:this.layout.defaultBorder}if((x||S)&&this.drawVerticalLine(u[i].x,b-m,w+this.bottomLineWidth,u[i].index,e),i<r-1){var C=f[t][k].fillColor;if(C||(C="function"==typeof this.layout.fillColor?this.layout.fillColor(t,this.tableNode):this.layout.fillColor),C){var A=x||S?this.layout.vLineWidth(k,this.tableNode):0,E=u[i].x+A,P=this.dontBreakRows?b:b-m;e.addVector({type:"rect",x:E,y:P,w:u[i+1].x-E,h:w+this.bottomLineWidth-P,lineWidth:0,color:C},!1,!0,0)}}}v&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(t+1,e,w),y&&this.layout.hLineWhenBroken!==!1&&this.drawHorizontalLine(t,e,b)}e.context().page=a,e.context().y=s;var I=this.tableNode.table.body[t];for(i=0,r=I.length;i<r;i++){if(I[i].rowSpan&&(this.rowSpanData[i].rowSpan=I[i].rowSpan,I[i].colSpan&&I[i].colSpan>1))for(var O=1;O<I[i].rowSpan;O++)this.tableNode.table.body[t+O][i]._colSpan=I[i].colSpan;this.rowSpanData[i].rowSpan>0&&this.rowSpanData[i].rowSpan--}this.drawHorizontalLine(t+1,e),this.headerRows&&t===this.headerRows-1&&(this.headerRepeatable=e.currentBlockToRepeatable()),this.dontBreakRows&&e.tracker.auto("pageChanged",function(){o.headerRows||o.layout.hLineWhenBroken===!1||o.drawHorizontalLine(t,e)},function(){e.commitUnbreakableBlock()}),!this.headerRepeatable||t!==this.rowsWithoutPageBreak-1&&t!==this.tableNode.table.body.length-1||(e.commitUnbreakableBlock(),e.pushToRepeatables(this.headerRepeatable),this.cleanUpRepeatables=!0,this.headerRepeatable=null)},t.exports=r},function(t,e,n){(function(e){(function(){var r,i,o,a,s,u,c=function(t,e){function n(){this.constructor=t}for(var r in e)l.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},l={}.hasOwnProperty;u=n(30),s=n(53),i=n(54),a=n(55),o=n(73),r=function(t){function r(t){var e,n,i,o;if(this.options=null!=t?t:{},r.__super__.constructor.apply(this,arguments),this.version=1.3,this.compress=null==(n=this.options.compress)||n,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0,this._root=this.ref({Type:"Catalog",Pages:this.ref({Type:"Pages",Count:0,Kids:[]})}),this.page=null,this.initColor(),this.initVector(),this.initFonts(),this.initText(),this.initImages(),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info){i=this.options.info;for(e in i)o=i[e],this.info[e]=o}this._write("%PDF-"+this.version),this._write("%ÿÿÿÿ"),this.options.autoFirstPage!==!1&&this.addPage()}var u;return c(r,t),u=function(t){var e,n,i;i=[];for(n in t)e=t[n],i.push(r.prototype[n]=e);return i},u(n(74)),u(n(76)),u(n(78)),u(n(282)),u(n(289)),u(n(295)),r.prototype.addPage=function(t){var e;return null==t&&(t=this.options),this.options.bufferPages||this.flushPages(),this.page=new o(this,t),this._pageBuffer.push(this.page),e=this._root.data.Pages.data,e.Kids.push(this.page.dictionary),e.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this.emit("pageAdded"),this},r.prototype.bufferedPageRange=function(){return{start:this._pageBufferStart,count:this._pageBuffer.length}},r.prototype.switchToPage=function(t){var e;if(!(e=this._pageBuffer[t-this._pageBufferStart]))throw new Error("switchToPage("+t+") out of bounds, current buffer covers pages "+this._pageBufferStart+" to "+(this._pageBufferStart+this._pageBuffer.length-1));return this.page=e},r.prototype.flushPages=function(){var t,e,n,r;for(r=this._pageBuffer,this._pageBuffer=[],this._pageBufferStart+=r.length,t=0,e=r.length;t<e;t++)n=r[t],n.end()},r.prototype.ref=function(t){var e;return e=new a(this,this._offsets.length+1,t),this._offsets.push(null),this._waiting++,e},r.prototype._read=function(){},r.prototype._write=function(t){return e.isBuffer(t)||(t=new e(t+"\n","binary")),this.push(t),this._offset+=t.length},r.prototype.addContent=function(t){return this.page.write(t),this},r.prototype._refEnd=function(t){if(this._offsets[t.id-1]=t.offset,0==--this._waiting&&this._ended)return this._finalize(),this._ended=!1},r.prototype.write=function(t,e){return new Error("PDFDocument#write is deprecated, and will be removed in a future version of PDFKit. Please pipe the document into a Node stream."),this.pipe(s.createWriteStream(t)),this.end(),this.once("end",e)},r.prototype.output=function(t){throw new Error("PDFDocument#output is deprecated, and has been removed from PDFKit. Please pipe the document into a Node stream.")},r.prototype.end=function(){var t,e,n,r,i,o;this.flushPages(),this._info=this.ref(),r=this.info;for(e in r)o=r[e],"string"==typeof o&&(o=new String(o)),this._info.data[e]=o;this._info.end(),i=this._fontFamilies;for(n in i)t=i[n],t.finalize();return this._root.end(),this._root.data.Pages.end(),0===this._waiting?this._finalize():this._ended=!0},r.prototype._finalize=function(t){var e,n,r,o,a;for(a=this._offset,this._write("xref"),this._write("0 "+(this._offsets.length+1)),this._write("0000000000 65535 f "),o=this._offsets,e=0,n=o.length;e<n;e++)r=o[e],r=("0000000000"+r).slice(-10),this._write(r+" 00000 n ");return this._write("trailer"),this._write(i.convert({Size:this._offsets.length+1,Root:this._root,Info:this._info})),this._write("startxref"),this._write(""+a),this._write("%%EOF"),this.push(null)},r.prototype.toString=function(){return"[object PDFDocument]"},r}(u.Readable),t.exports=r}).call(this)}).call(e,n(2).Buffer)},function(t,e,n){function r(){i.call(this)}t.exports=r;var i=n(31).EventEmitter;n(32)(r,i),r.Readable=n(33),r.Writable=n(49),r.Duplex=n(50),r.Transform=n(51),r.PassThrough=n(52),r.Stream=r,r.prototype.pipe=function(t,e){function n(e){t.writable&&!1===t.write(e)&&c.pause&&c.pause()}function r(){c.readable&&c.resume&&c.resume()}function o(){l||(l=!0,t.end())}function a(){l||(l=!0,"function"==typeof t.destroy&&t.destroy())}function s(t){if(u(),0===i.listenerCount(this,"error"))throw t}function u(){c.removeListener("data",n),t.removeListener("drain",r),c.removeListener("end",o),c.removeListener("close",a),c.removeListener("error",s),t.removeListener("error",s),c.removeListener("end",u),c.removeListener("close",u),t.removeListener("close",u)}var c=this;c.on("data",n),t.on("drain",r),t._isStdio||e&&e.end===!1||(c.on("end",o),c.on("close",a));var l=!1;return c.on("error",s),t.on("error",s),c.on("end",u),c.on("close",u),t.on("close",u),t.emit("pipe",c),t}},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"number"==typeof t}function o(t){return"object"==typeof t&&null!==t}function a(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,s,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(n=this._events[t],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),c=n.slice(),i=c.length,u=0;u<i;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(t,e){var i;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?o(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,o(this._events[t])&&!this._events[t].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.trace),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){(function(r){var i=function(){try{return n(30)}catch(t){}}();e=t.exports=n(35),e.Stream=i||e,e.Readable=e,e.Writable=n(42),e.Duplex=n(41),e.Transform=n(47),e.PassThrough=n(48),!r.browser&&"disable"===r.env.READABLE_STREAM&&i&&(t.exports=i)}).call(e,n(34))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){g&&p&&(g=!1,p.length?d=p.concat(d):v=-1,d.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=d.length;e;){for(p=d,d=[];++v<e;)p&&p[v].run();v=-1,e=d.length}p=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,h=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var p,d=[],g=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||g||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e,n){(function(e){"use strict";function r(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?T(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}function i(t,e){I=I||n(41),t=t||{},this.objectMode=!!t.objectMode,e instanceof I&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=new U,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(N||(N=n(46).StringDecoder),this.decoder=new N(t.encoding),this.encoding=t.encoding)}function o(t){if(I=I||n(41),!(this instanceof o))return new o(t);this._readableState=new i(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),L.call(this)}function a(t,e,n,r,i){var o=l(e,n);if(o)t.emit("error",o);else if(null===n)e.reading=!1,f(t,e);else if(e.objectMode||n&&n.length>0)if(e.ended&&!i){var a=new Error("stream.push() after EOF");t.emit("error",a)}else if(e.endEmitted&&i){var u=new Error("stream.unshift() after end event");t.emit("error",u)}else{var c;!e.decoder||i||r||(n=e.decoder.write(n),c=!e.objectMode&&0===n.length),i||(e.reading=!1),c||(e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&h(t))),d(t,e)}else i||(e.reading=!1);return s(e)}function s(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}function u(t){return t>=W?t=W:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function c(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=u(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function l(t,e){var n=null;return R.isBuffer(e)||"string"==typeof e||null===e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function f(t,e){if(!e.ended){if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,h(t)}}function h(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(D("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?O(p,t):p(t))}function p(t){D("emit readable"),t.emit("readable"),w(t)}function d(t,e){e.readingMore||(e.readingMore=!0,O(g,t,e))}function g(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(D("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function v(t){return function(){var e=t._readableState;D("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&B(t,"data")&&(e.flowing=!0,w(t))}}function y(t){D("readable nexttick read 0"),t.read(0)}function m(t,e){e.resumeScheduled||(e.resumeScheduled=!0,O(b,t,e))}function b(t,e){e.reading||(D("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),w(t),e.flowing&&!e.reading&&t.read(0)}function w(t){var e=t._readableState;for(D("flow",e.flowing);e.flowing&&null!==t.read(););}function x(t,e){if(0===e.length)return null;var n;return e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=S(t,e.buffer,e.decoder),n}function S(t,e,n){var r;return t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?k(t,e):_(t,e),r}function k(t,e){var n=e.head,r=1,i=n.data;for(t-=i.length;n=n.next;){var o=n.data,a=t>o.length?o.length:t;if(a===o.length?i+=o:i+=o.slice(0,t),0===(t-=a)){a===o.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=o.slice(a));break}++r}return e.length-=r,i}function _(t,e){var n=M.allocUnsafe(t),r=e.head,i=1;for(r.data.copy(n),t-=r.data.length;r=r.next;){var o=r.data,a=t>o.length?o.length:t;if(o.copy(n,n.length-t,0,a),0===(t-=a)){a===o.length?(++i,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=o.slice(a));break}++i}return e.length-=i,n}function C(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,O(A,e,t))}function A(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function E(t,e){for(var n=0,r=t.length;n<r;n++)e(t[n],n)}function P(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}t.exports=o;var I,O=n(36),T=n(5);o.ReadableState=i;var L,B=(n(31).EventEmitter,function(t,e){return t.listeners(e).length});!function(){try{L=n(30)}catch(t){}finally{L||(L=n(31).EventEmitter)}}();var R=n(2).Buffer,M=n(37),z=n(38);z.inherits=n(32);var F=n(39),D=void 0;D=F&&F.debuglog?F.debuglog("stream"):function(){};var N,U=n(40);z.inherits(o,L),o.prototype.push=function(t,e){var n=this._readableState;return n.objectMode||"string"!=typeof t||(e=e||n.defaultEncoding)!==n.encoding&&(t=M.from(t,e),e=""),a(this,n,t,e,!1)},o.prototype.unshift=function(t){return a(this,this._readableState,t,"",!0)},o.prototype.isPaused=function(){return this._readableState.flowing===!1},o.prototype.setEncoding=function(t){return N||(N=n(46).StringDecoder),this._readableState.decoder=new N(t),this._readableState.encoding=t,this};var W=8388608;o.prototype.read=function(t){D("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return D("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?C(this):h(this),null;if(0===(t=c(t,e))&&e.ended)return 0===e.length&&C(this),null;var r=e.needReadable;D("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&(r=!0,D("length less than watermark",r)),e.ended||e.reading?(r=!1,D("reading or ended",r)):r&&(D("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=c(n,e)));var i;return i=t>0?x(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&C(this)),null!==i&&this.emit("data",i),i},o.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},o.prototype.pipe=function(t,n){function i(t){D("onunpipe"),t===h&&a()}function o(){D("onend"),t.end()}function a(){D("cleanup"),t.removeListener("close",c),t.removeListener("finish",l),t.removeListener("drain",y),t.removeListener("error",u),t.removeListener("unpipe",i),h.removeListener("end",o),h.removeListener("end",a),h.removeListener("data",s),m=!0,!p.awaitDrain||t._writableState&&!t._writableState.needDrain||y()}function s(e){D("ondata"),b=!1,!1!==t.write(e)||b||((1===p.pipesCount&&p.pipes===t||p.pipesCount>1&&P(p.pipes,t)!==-1)&&!m&&(D("false write response, pause",h._readableState.awaitDrain),h._readableState.awaitDrain++,b=!0),h.pause())}function u(e){D("onerror",e),f(),t.removeListener("error",u),0===B(t,"error")&&t.emit("error",e)}function c(){t.removeListener("finish",l),f()}function l(){D("onfinish"),t.removeListener("close",c),f()}function f(){D("unpipe"),h.unpipe(t)}var h=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=t;break;case 1:p.pipes=[p.pipes,t];break;default:p.pipes.push(t)}p.pipesCount+=1,D("pipe count=%d opts=%j",p.pipesCount,n);var d=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,g=d?o:a;p.endEmitted?O(g):h.once("end",g),t.on("unpipe",i);var y=v(h);t.on("drain",y);var m=!1,b=!1;return h.on("data",s),r(t,"error",u),t.once("close",c),t.once("finish",l),t.emit("pipe",h),p.flowing||(D("pipe resume"),h.resume()),t},o.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this),this);if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<r;i++)n[i].emit("unpipe",this);return this}var o=P(e.pipes,t);return o===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this),this)},o.prototype.on=function(t,e){var n=L.prototype.on.call(this,t,e);if("data"===t)this._readableState.flowing!==!1&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&h(this):O(y,this))}return n},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){var t=this._readableState;return t.flowing||(D("resume"),t.flowing=!0,m(this,t)),this},o.prototype.pause=function(){return D("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(D("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(t){var e=this._readableState,n=!1,r=this;t.on("end",function(){if(D("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(i){if(D("wrapped data"),e.decoder&&(i=e.decoder.write(i)),(!e.objectMode||null!==i&&void 0!==i)&&(e.objectMode||i&&i.length)){r.push(i)||(n=!0,t.pause())}});for(var i in t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));return E(["error","close","destroy","pause","resume"],function(e){t.on(e,r.emit.bind(r,e))}),r._read=function(e){D("wrapped _read",e),n&&(n=!1,t.resume())},r},o._fromList=x}).call(e,n(34))},function(t,e,n){(function(e){"use strict";function n(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick(function(){t.apply(null,o)})}}!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=n:t.exports=e.nextTick}).call(e,n(34))},function(t,e,n){(function(t){"use strict";var r=n(2),i=r.Buffer,o=r.SlowBuffer,a=r.kMaxLength||2147483647;e.alloc=function(t,e,n){if("function"==typeof i.alloc)return i.alloc(t,e,n);if("number"==typeof n)throw new TypeError("encoding must not be number");if("number"!=typeof t)throw new TypeError("size must be a number");if(t>a)throw new RangeError("size is too large");var r=n,o=e;void 0===o&&(r=void 0,o=0);var s=new i(t);if("string"==typeof o)for(var u=new i(o,r),c=u.length,l=-1;++l<t;)s[l]=u[l%c];else s.fill(o);return s},e.allocUnsafe=function(t){if("function"==typeof i.allocUnsafe)return i.allocUnsafe(t);if("number"!=typeof t)throw new TypeError("size must be a number");if(t>a)throw new RangeError("size is too large");return new i(t)},e.from=function(e,n,r){if("function"==typeof i.from&&(!t.Uint8Array||Uint8Array.from!==i.from))return i.from(e,n,r)
;if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("string"==typeof e)return new i(e,n);if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer){var o=n;if(1===arguments.length)return new i(e);void 0===o&&(o=0);var a=r;if(void 0===a&&(a=e.byteLength-o),o>=e.byteLength)throw new RangeError("'offset' is out of bounds");if(a>e.byteLength-o)throw new RangeError("'length' is out of bounds");return new i(e.slice(o,o+a))}if(i.isBuffer(e)){var s=new i(e.length);return e.copy(s,0,0,e.length),s}if(e){if(Array.isArray(e)||"undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return new i(e);if("Buffer"===e.type&&Array.isArray(e.data))return new i(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},e.allocUnsafeSlow=function(t){if("function"==typeof i.allocUnsafeSlow)return i.allocUnsafeSlow(t);if("number"!=typeof t)throw new TypeError("size must be a number");if(t>=a)throw new RangeError("size is too large");return new o(t)}}).call(e,function(){return this}())},function(t,e,n){(function(t){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===v(t)}function r(t){return"boolean"==typeof t}function i(t){return null===t}function o(t){return null==t}function a(t){return"number"==typeof t}function s(t){return"string"==typeof t}function u(t){return"symbol"==typeof t}function c(t){return void 0===t}function l(t){return"[object RegExp]"===v(t)}function f(t){return"object"==typeof t&&null!==t}function h(t){return"[object Date]"===v(t)}function p(t){return"[object Error]"===v(t)||t instanceof Error}function d(t){return"function"==typeof t}function g(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function v(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=r,e.isNull=i,e.isNullOrUndefined=o,e.isNumber=a,e.isString=s,e.isSymbol=u,e.isUndefined=c,e.isRegExp=l,e.isObject=f,e.isDate=h,e.isError=p,e.isFunction=d,e.isPrimitive=g,e.isBuffer=t.isBuffer}).call(e,n(2).Buffer)},function(t,e){},function(t,e,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}var i=(n(2).Buffer,n(37));t.exports=r,r.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},r.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},r.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},r.prototype.concat=function(t){if(0===this.length)return i.alloc(0);if(1===this.length)return this.head.data;for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)n.data.copy(e,r),r+=n.data.length,n=n.next;return e}},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);c.call(this,t),l.call(this,t),t&&t.readable===!1&&(this.readable=!1),t&&t.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,t&&t.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(t){t.end()}var a=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=r;var s=n(36),u=n(38);u.inherits=n(32);var c=n(35),l=n(42);u.inherits(r,c);for(var f=a(l.prototype),h=0;h<f.length;h++){var p=f[h];r.prototype[p]||(r.prototype[p]=l.prototype[p])}},function(t,e,n){(function(e,r){"use strict";function i(){}function o(t,e,n){this.chunk=t,this.encoding=e,this.callback=n,this.next=null}function a(t,e){_=_||n(41),t=t||{},this.objectMode=!!t.objectMode,e instanceof _&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=t.decodeStrings===!1;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){g(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new k(this)}function s(t){if(_=_||n(41),!(L.call(s,this)||this instanceof _))return new s(t);this._writableState=new a(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),P.call(this)}function u(t,e){var n=new Error("write after end");t.emit("error",n),C(e,n)}function c(t,e,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),C(r,o),i=!1),i}function l(t,e,n){return t.objectMode||t.decodeStrings===!1||"string"!=typeof e||(e=T.from(e,n)),e}function f(t,e,n,r,i,a){n||(r=l(e,r,i),O.isBuffer(r)&&(i="buffer"));var s=e.objectMode?1:r.length;e.length+=s;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest=new o(r,i,a),c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else h(t,e,!1,s,r,i,a);return u}function h(t,e,n,r,i,o,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function p(t,e,n,r,i){--e.pendingcb,n?C(i,r):i(r),t._writableState.errorEmitted=!0,t.emit("error",r)}function d(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}function g(t,e){var n=t._writableState,r=n.sync,i=n.writecb;if(d(n),e)p(t,n,r,e,i);else{var o=b(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||m(t,n),r?A(v,t,n,o,i):v(t,n,o,i)}}function v(t,e,n,r){n||y(t,e),e.pendingcb--,r(),x(t,e)}function y(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}function m(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,i=new Array(r),o=e.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;h(t,e,!0,e.length,i,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new k(e)}else{for(;n;){var s=n.chunk,u=n.encoding,c=n.callback;if(h(t,e,!1,e.objectMode?1:s.length,s,u,c),n=n.next,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequestCount=0,e.bufferedRequest=n,e.bufferProcessing=!1}function b(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function w(t,e){e.prefinished||(e.prefinished=!0,t.emit("prefinish"))}function x(t,e){var n=b(e);return n&&(0===e.pendingcb?(w(t,e),e.finished=!0,t.emit("finish")):w(t,e)),n}function S(t,e,n){e.ending=!0,x(t,e),n&&(e.finished?C(n):t.once("finish",n)),e.ended=!0,t.writable=!1}function k(t){var e=this;this.next=null,this.entry=null,this.finish=function(n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}}t.exports=s;var _,C=n(36),A=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:C;s.WritableState=a;var E=n(38);E.inherits=n(32);var P,I={deprecate:n(45)};!function(){try{P=n(30)}catch(t){}finally{P||(P=n(31).EventEmitter)}}();var O=n(2).Buffer,T=n(37);E.inherits(s,P),a.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(a.prototype,"buffer",{get:I.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(t){}}();var L;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(L=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(t){return!!L.call(this,t)||t&&t._writableState instanceof a}})):L=function(t){return t instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(t,e,n){var r=this._writableState,o=!1,a=O.isBuffer(t);return"function"==typeof e&&(n=e,e=null),a?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=i),r.ended?u(this,n):(a||c(this,r,t,n))&&(r.pendingcb++,o=f(this,r,a,t,e,n)),o},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||m(this,t))},s.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},s.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},s.prototype._writev=null,s.prototype.end=function(t,e,n){var r=this._writableState;"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||S(this,r,n)}}).call(e,n(34),n(43).setImmediate)},function(t,e,n){function r(t,e){this._id=t,this._clearFn=e}var i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(44),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return c[u]=r,s(u),u++}function i(t){delete c[t]}function o(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}function a(t){if(l)setTimeout(a,0,t);else{var e=c[t];if(e){l=!0;try{o(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var s,u=1,c={},l=!1,f=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),h.setImmediate=r,h.clearImmediate=i}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,function(){return this}(),n(34))},function(t,e){(function(e){function n(t,e){function n(){if(!i){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation"),i=!0}return t.apply(this,arguments)}if(r("noDeprecation"))return t;var i=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(e,function(){return this}())},function(t,e,n){function r(t){if(t&&!u(t))throw new Error("Unknown encoding: "+t)}function i(t){return t.toString(this.encoding)}function o(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function a(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}var s=n(2).Buffer,u=s.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=e.StringDecoder=function(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),r(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=o;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=a;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";t=t.slice(n,t.length),e=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=e.charCodeAt(e.length-1);if(!(r>=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived),e+=t.toString(this.encoding,0,i);var i=e.length-1,r=e.charCodeAt(i);if(r>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},c.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},c.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;e+=r.slice(0,n).toString(i)}return e}},function(t,e,n){"use strict";function r(t){this.afterTransform=function(e,n){return i(t,e,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(t,e,n){var r=t._transformState;r.transforming=!1;var i=r.writecb;if(!i)return t.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&t.push(n),i(e);var o=t._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&t._read(o.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);s.call(this,t),this._transformState=new r(this);var e=this;this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(t,n){a(e,t,n)}):a(e)})}function a(t,e,n){if(e)return t.emit("error",e);null!==n&&void 0!==n&&t.push(n);var r=t._writableState,i=t._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}t.exports=o;var s=n(41),u=n(38);u.inherits=n(32),u.inherits(o,s),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,s.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0}},function(t,e,n){"use strict";function r(t){if(!(this instanceof r))return new r(t);i.call(this,t)}t.exports=r;var i=n(47),o=n(38);o.inherits=n(32),o.inherits(r,i),r.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){t.exports=n(42)},function(t,e,n){t.exports=n(41)},function(t,e,n){t.exports=n(47)},function(t,e,n){t.exports=n(48)},function(t,e,n){(function(e,n){"use strict";function r(){this.fileSystem={},this.baseSystem={}}function i(t){return 0===t.indexOf(n)&&(t=t.substring(n.length)),0===t.indexOf("/")&&(t=t.substring(1)),t}r.prototype.readFileSync=function(t){t=i(t);var n=this.baseSystem[t];if(n)return new e(n,"base64");var r=this.fileSystem[t];if(r)return r;throw"File '"+t+"' not found in virtual file system"},r.prototype.writeFileSync=function(t,e){this.fileSystem[i(t)]=e},r.prototype.bindFS=function(t){this.baseSystem=t||{}},t.exports=new r}).call(e,n(2).Buffer,"/")},function(t,e,n){(function(e){(function(){var r,i;r=function(){function t(){}var n,r,o,a;return o=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},r=/[\n\r\t\b\f\(\)\\]/g,n={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},a=function(t){var e,n,r,i,o;if(1&(i=t.length))throw new Error("Buffer length must be even");for(n=r=0,o=i-1;r<o;n=r+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;return t},t.convert=function(s){var u,c,l,f,h,p,d,g,v;if("string"==typeof s)return"/"+s;if(s instanceof String){for(g=s.replace(r,function(t){return n[t]}),l=!1,c=f=0,d=g.length;f<d;c=f+=1)if(g.charCodeAt(c)>127){l=!0;break}return l&&(g=a(new e("\ufeff"+g,"utf16le")).toString("binary")),"("+g+")"}if(e.isBuffer(s))return"<"+s.toString("hex")+">";if(s instanceof i)return s.toString();if(s instanceof Date)return"(D:"+o(s.getUTCFullYear(),4)+o(s.getUTCMonth()+1,2)+o(s.getUTCDate(),2)+o(s.getUTCHours(),2)+o(s.getUTCMinutes(),2)+o(s.getUTCSeconds(),2)+"Z)";if(Array.isArray(s))return"["+function(){var e,n,r;for(r=[],e=0,n=s.length;e<n;e++)u=s[e],r.push(t.convert(u));return r}().join(" ")+"]";if("[object Object]"==={}.toString.call(s)){p=["<<"];for(h in s)v=s[h],p.push("/"+h+" "+t.convert(v));return p.push(">>"),p.join("\n")}return""+s},t}(),t.exports=r,i=n(55)}).call(this)}).call(e,n(2).Buffer)},function(t,e,n){(function(e){(function(){var r,i,o,a,s=function(t,e){return function(){return t.apply(e,arguments)}},u=function(t,e){function n(){this.constructor=t}for(var r in e)c.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},c={}.hasOwnProperty;a=n(56),o=n(30),i=function(t){function n(t,e,r){this.document=t,this.id=e,this.data=null!=r?r:{},this.finalize=s(this.finalize,this),n.__super__.constructor.call(this,{decodeStrings:!1}),this.gen=0,this.deflate=null,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.chunks=[]}return u(n,t),n.prototype.initDeflate=function(){return this.data.Filter="FlateDecode",this.deflate=a.createDeflate(),this.deflate.on("data",function(t){return function(e){return t.chunks.push(e),t.data.Length+=e.length}}(this)),this.deflate.on("end",this.finalize)},n.prototype._write=function(t,n,r){var i;return e.isBuffer(t)||(t=new e(t+"\n","binary")),this.uncompressedLength+=t.length,null==(i=this.data).Length&&(i.Length=0),this.compress?(this.deflate||this.initDeflate(),this.deflate.write(t)):(this.chunks.push(t),this.data.Length+=t.length),r()},n.prototype.end=function(t){return n.__super__.end.apply(this,arguments),this.deflate?this.deflate.end():this.finalize()},n.prototype.finalize=function(){var t,e,n,i;if(this.offset=this.document._offset,this.document._write(this.id+" "+this.gen+" obj"),this.document._write(r.convert(this.data)),this.chunks.length){for(this.document._write("stream"),i=this.chunks,e=0,n=i.length;e<n;e++)t=i[e],this.document._write(t);this.chunks.length=0,this.document._write("\nendstream")}return this.document._write("endobj"),this.document._refEnd(this)},n.prototype.toString=function(){return this.id+" "+this.gen+" R"},n}(o.Writable),t.exports=i,r=n(54)}).call(this)}).call(e,n(2).Buffer)},function(t,e,n){(function(t,r){function i(e,n,r){function i(){for(var t;null!==(t=e.read());)s.push(t),u+=t.length;e.once("readable",i)}function o(t){e.removeListener("end",a),e.removeListener("readable",i),r(t)}function a(){var n=t.concat(s,u);s=[],r(null,n),e.close()}var s=[],u=0;e.on("error",o),e.on("end",a),e.end(n),i()}function o(e,n){if("string"==typeof n&&(n=new t(n)),!t.isBuffer(n))throw new TypeError("Not a string or buffer");var r=g.Z_FINISH;return e._processChunk(n,r)}function a(t){if(!(this instanceof a))return new a(t);p.call(this,t,g.DEFLATE)}function s(t){if(!(this instanceof s))return new s(t);p.call(this,t,g.INFLATE)}function u(t){if(!(this instanceof u))return new u(t);p.call(this,t,g.GZIP)}function c(t){if(!(this instanceof c))return new c(t);p.call(this,t,g.GUNZIP)}function l(t){if(!(this instanceof l))return new l(t);p.call(this,t,g.DEFLATERAW)}function f(t){if(!(this instanceof f))return new f(t);p.call(this,t,g.INFLATERAW)}function h(t){if(!(this instanceof h))return new h(t);p.call(this,t,g.UNZIP)}function p(n,r){if(this._opts=n=n||{},this._chunkSize=n.chunkSize||e.Z_DEFAULT_CHUNK,d.call(this,n),n.flush&&n.flush!==g.Z_NO_FLUSH&&n.flush!==g.Z_PARTIAL_FLUSH&&n.flush!==g.Z_SYNC_FLUSH&&n.flush!==g.Z_FULL_FLUSH&&n.flush!==g.Z_FINISH&&n.flush!==g.Z_BLOCK)throw new Error("Invalid flush flag: "+n.flush);if(this._flushFlag=n.flush||g.Z_NO_FLUSH,n.chunkSize&&(n.chunkSize<e.Z_MIN_CHUNK||n.chunkSize>e.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+n.chunkSize);if(n.windowBits&&(n.windowBits<e.Z_MIN_WINDOWBITS||n.windowBits>e.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+n.windowBits);if(n.level&&(n.level<e.Z_MIN_LEVEL||n.level>e.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+n.level);if(n.memLevel&&(n.memLevel<e.Z_MIN_MEMLEVEL||n.memLevel>e.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+n.memLevel);if(n.strategy&&n.strategy!=e.Z_FILTERED&&n.strategy!=e.Z_HUFFMAN_ONLY&&n.strategy!=e.Z_RLE&&n.strategy!=e.Z_FIXED&&n.strategy!=e.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+n.strategy);if(n.dictionary&&!t.isBuffer(n.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new g.Zlib(r);var i=this;this._hadError=!1,this._binding.onerror=function(t,n){i._binding=null,i._hadError=!0;var r=new Error(t);r.errno=n,r.code=e.codes[n],i.emit("error",r)};var o=e.Z_DEFAULT_COMPRESSION;"number"==typeof n.level&&(o=n.level);var a=e.Z_DEFAULT_STRATEGY;"number"==typeof n.strategy&&(a=n.strategy),this._binding.init(n.windowBits||e.Z_DEFAULT_WINDOWBITS,o,n.memLevel||e.Z_DEFAULT_MEMLEVEL,a,n.dictionary),this._buffer=new t(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=a,this.once("end",this.close)}var d=n(51),g=n(57),v=n(69),y=n(72).ok;g.Z_MIN_WINDOWBITS=8,g.Z_MAX_WINDOWBITS=15,g.Z_DEFAULT_WINDOWBITS=15,g.Z_MIN_CHUNK=64,g.Z_MAX_CHUNK=1/0,g.Z_DEFAULT_CHUNK=16384,g.Z_MIN_MEMLEVEL=1,g.Z_MAX_MEMLEVEL=9,g.Z_DEFAULT_MEMLEVEL=8,g.Z_MIN_LEVEL=-1,g.Z_MAX_LEVEL=9,g.Z_DEFAULT_LEVEL=g.Z_DEFAULT_COMPRESSION,Object.keys(g).forEach(function(t){t.match(/^Z/)&&(e[t]=g[t])}),e.codes={Z_OK:g.Z_OK,Z_STREAM_END:g.Z_STREAM_END,Z_NEED_DICT:g.Z_NEED_DICT,Z_ERRNO:g.Z_ERRNO,Z_STREAM_ERROR:g.Z_STREAM_ERROR,Z_DATA_ERROR:g.Z_DATA_ERROR,Z_MEM_ERROR:g.Z_MEM_ERROR,Z_BUF_ERROR:g.Z_BUF_ERROR,Z_VERSION_ERROR:g.Z_VERSION_ERROR},Object.keys(e.codes).forEach(function(t){e.codes[e.codes[t]]=t}),e.Deflate=a,e.Inflate=s,e.Gzip=u,e.Gunzip=c,e.DeflateRaw=l,e.InflateRaw=f,e.Unzip=h,e.createDeflate=function(t){return new a(t)},e.createInflate=function(t){return new s(t)},e.createDeflateRaw=function(t){return new l(t)},e.createInflateRaw=function(t){return new f(t)},e.createGzip=function(t){return new u(t)},e.createGunzip=function(t){return new c(t)},e.createUnzip=function(t){return new h(t)},e.deflate=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new a(e),t,n)},e.deflateSync=function(t,e){return o(new a(e),t)},e.gzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new u(e),t,n)},e.gzipSync=function(t,e){return o(new u(e),t)},e.deflateRaw=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new l(e),t,n)},e.deflateRawSync=function(t,e){return o(new l(e),t)},e.unzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new h(e),t,n)},e.unzipSync=function(t,e){return o(new h(e),t)},e.inflate=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new s(e),t,n)},e.inflateSync=function(t,e){return o(new s(e),t)},e.gunzip=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new c(e),t,n)},e.gunzipSync=function(t,e){return o(new c(e),t)},e.inflateRaw=function(t,e,n){return"function"==typeof e&&(n=e,e={}),i(new f(e),t,n)},e.inflateRawSync=function(t,e){return o(new f(e),t)},v.inherits(p,d),p.prototype.params=function(t,n,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(n!=e.Z_FILTERED&&n!=e.Z_HUFFMAN_ONLY&&n!=e.Z_RLE&&n!=e.Z_FIXED&&n!=e.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==t||this._strategy!==n){var o=this;this.flush(g.Z_SYNC_FLUSH,function(){o._binding.params(t,n),o._hadError||(o._level=t,o._strategy=n,i&&i())})}else r.nextTick(i)},p.prototype.reset=function(){return this._binding.reset()},p.prototype._flush=function(e){this._transform(new t(0),"",e)},p.prototype.flush=function(e,n){var i=this._writableState;if(("function"==typeof e||void 0===e&&!n)&&(n=e,e=g.Z_FULL_FLUSH),i.ended)n&&r.nextTick(n);else if(i.ending)n&&this.once("end",n);else if(i.needDrain){var o=this;this.once("drain",function(){o.flush(n)})}else this._flushFlag=e,this.write(new t(0),"",n)},p.prototype.close=function(t){if(t&&r.nextTick(t),!this._closed){this._closed=!0,this._binding.close();var e=this;r.nextTick(function(){e.emit("close")})}},p.prototype._transform=function(e,n,r){var i,o=this._writableState,a=o.ending||o.ended,s=a&&(!e||o.length===e.length);if(null===!e&&!t.isBuffer(e))return r(new Error("invalid input"));s?i=g.Z_FINISH:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||g.Z_NO_FLUSH));this._processChunk(e,i,r)},p.prototype._processChunk=function(e,n,r){function i(l,p){if(!u._hadError){var d=a-p;if(y(d>=0,"have should not go down"),d>0){var g=u._buffer.slice(u._offset,u._offset+d);u._offset+=d,c?u.push(g):(f.push(g),h+=g.length)}if((0===p||u._offset>=u._chunkSize)&&(a=u._chunkSize,u._offset=0,u._buffer=new t(u._chunkSize)),0===p){if(s+=o-l,o=l,!c)return!0;var v=u._binding.write(n,e,s,o,u._buffer,u._offset,u._chunkSize);return v.callback=i,void(v.buffer=e)}if(!c)return!1;r()}}var o=e&&e.length,a=this._chunkSize-this._offset,s=0,u=this,c="function"==typeof r;if(!c){var l,f=[],h=0;this.on("error",function(t){l=t});do{var p=this._binding.writeSync(n,e,s,o,this._buffer,this._offset,a)}while(!this._hadError&&i(p[0],p[1]));if(this._hadError)throw l;var d=t.concat(f,h);return this.close(),d}var g=this._binding.write(n,e,s,o,this._buffer,this._offset,a);g.buffer=e,g.callback=i},v.inherits(a,p),v.inherits(s,p),v.inherits(u,p),v.inherits(c,p),v.inherits(l,p),v.inherits(f,p),v.inherits(h,p)}).call(e,n(2).Buffer,n(34))},function(t,e,n){(function(t,r){function i(t){if(t<e.DEFLATE||t>e.UNZIP)throw new TypeError("Bad argument");this.mode=t,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function o(t,e){for(var n=0;n<t.length;n++)this[e+n]=t[n]}var a=n(58),s=n(59),u=n(60),c=n(65),l=n(68);for(var f in l)e[f]=l[f];e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7,i.prototype.init=function(t,n,r,i,o){switch(this.windowBits=t,this.level=n,this.memLevel=r,this.strategy=i,this.mode!==e.GZIP&&this.mode!==e.GUNZIP||(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),this.mode!==e.DEFLATERAW&&this.mode!==e.INFLATERAW||(this.windowBits=-this.windowBits),this.strm=new s,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:var a=u.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:var a=c.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}if(a!==e.Z_OK)return void this._error(a);this.write_in_progress=!1,this.init_done=!0},i.prototype.params=function(){throw new Error("deflateParams Not supported")},i.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(this.mode===e.NONE)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},i.prototype.write=function(e,n,r,i,o,a,s){this._writeCheck(),this.write_in_progress=!0;var u=this;return t.nextTick(function(){u.write_in_progress=!1;var t=u._write(e,n,r,i,o,a,s);u.callback(t[0],t[1]),u.pending_close&&u.close()}),this},i.prototype.writeSync=function(t,e,n,r,i,o,a){return this._writeCheck(),this._write(t,e,n,r,i,o,a)},i.prototype._write=function(t,n,i,a,s,l,f){if(this.write_in_progress=!0,t!==e.Z_NO_FLUSH&&t!==e.Z_PARTIAL_FLUSH&&t!==e.Z_SYNC_FLUSH&&t!==e.Z_FULL_FLUSH&&t!==e.Z_FINISH&&t!==e.Z_BLOCK)throw new Error("Invalid flush value");null==n&&(n=new r(0),a=0,i=0),s._set?s.set=s._set:s.set=o;var h=this.strm;switch(h.avail_in=a,h.input=n,h.next_in=i,h.avail_out=f,h.output=s,h.next_out=l,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:var p=u.deflate(h,t);break;case e.UNZIP:case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:var p=c.inflate(h,t);break;default:throw new Error("Unknown mode "+this.mode)}return p!==e.Z_STREAM_END&&p!==e.Z_OK&&this._error(p),this.write_in_progress=!1,[h.avail_in,h.avail_out]},i.prototype.close=function(){if(this.write_in_progress)return void(this.pending_close=!0);this.pending_close=!1,this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?u.deflateEnd(this.strm):c.inflateEnd(this.strm),this.mode=e.NONE},i.prototype.reset=function(){switch(this.mode){case e.DEFLATE:case e.DEFLATERAW:var t=u.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:var t=c.inflateReset(this.strm)}t!==e.Z_OK&&this._error(t)},i.prototype._error=function(t){this.onerror(a[t]+": "+this.strm.msg,t),this.write_in_progress=!1,this.pending_close&&this.close()},e.Zlib=i}).call(e,n(34),n(2).Buffer)},function(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"}},function(t,e){"use strict";function n(){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=n},function(t,e,n){"use strict";function r(t,e){return t.msg=R[e],e}function i(t){return(t<<1)-(t>4?9:0)}function o(t){for(var e=t.length;--e>=0;)t[e]=0}function a(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(O.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),
t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function s(t,e){T._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,a(t.strm)}function u(t,e){t.pending_buf[t.pending++]=e}function c(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function l(t,e,n,r){var i=t.avail_in;return i>r&&(i=r),0===i?0:(t.avail_in-=i,O.arraySet(e,t.input,t.next_in,i,n),1===t.state.wrap?t.adler=L(t.adler,e,i,n):2===t.state.wrap&&(t.adler=B(t.adler,e,i,n)),t.next_in+=i,t.total_in+=i,i)}function f(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,c=t.window,l=t.w_mask,f=t.prev,h=t.strstart+ut,p=c[o+a-1],d=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(n=e,c[n+a]===d&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<h);if(r=ut-(h-o),o=h-ut,r>a){if(t.match_start=e,a=r,r>=s)break;p=c[o+a-1],d=c[o+a]}}}while((e=f[e&l])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead}function h(t){var e,n,r,i,o,a=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=a+(a-ct)){O.arraySet(t.window,t.window,a,a,0),t.match_start-=a,t.strstart-=a,t.block_start-=a,n=t.hash_size,e=n;do{r=t.head[--e],t.head[e]=r>=a?r-a:0}while(--n);n=a,e=n;do{r=t.prev[--e],t.prev[e]=r>=a?r-a:0}while(--n);i+=a}if(0===t.strm.avail_in)break;if(n=l(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=n,t.lookahead+t.insert>=st)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+st-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,t.insert--,!(t.lookahead+t.insert<st)););}while(t.lookahead<ct&&0!==t.strm.avail_in)}function p(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(h(t),0===t.lookahead&&e===M)return mt;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,s(t,!1),0===t.strm.avail_out))return mt;if(t.strstart-t.block_start>=t.w_size-ct&&(s(t,!1),0===t.strm.avail_out))return mt}return t.insert=0,e===D?(s(t,!0),0===t.strm.avail_out?wt:xt):(t.strstart>t.block_start&&(s(t,!1),t.strm.avail_out),mt)}function d(t,e){for(var n,r;;){if(t.lookahead<ct){if(h(t),t.lookahead<ct&&e===M)return mt;if(0===t.lookahead)break}if(n=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-ct&&(t.match_length=f(t,n)),t.match_length>=st)if(r=T._tr_tally(t,t.strstart-t.match_start,t.match_length-st),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=st){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=T._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(s(t,!1),0===t.strm.avail_out))return mt}return t.insert=t.strstart<st-1?t.strstart:st-1,e===D?(s(t,!0),0===t.strm.avail_out?wt:xt):t.last_lit&&(s(t,!1),0===t.strm.avail_out)?mt:bt}function g(t,e){for(var n,r,i;;){if(t.lookahead<ct){if(h(t),t.lookahead<ct&&e===M)return mt;if(0===t.lookahead)break}if(n=0,t.lookahead>=st&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=st-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-ct&&(t.match_length=f(t,n),t.match_length<=5&&(t.strategy===H||t.match_length===st&&t.strstart-t.match_start>4096)&&(t.match_length=st-1)),t.prev_length>=st&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-st,r=T._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-st),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+st-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=st-1,t.strstart++,r&&(s(t,!1),0===t.strm.avail_out))return mt}else if(t.match_available){if(r=T._tr_tally(t,0,t.window[t.strstart-1]),r&&s(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return mt}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=T._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<st-1?t.strstart:st-1,e===D?(s(t,!0),0===t.strm.avail_out?wt:xt):t.last_lit&&(s(t,!1),0===t.strm.avail_out)?mt:bt}function v(t,e){for(var n,r,i,o,a=t.window;;){if(t.lookahead<=ut){if(h(t),t.lookahead<=ut&&e===M)return mt;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=st&&t.strstart>0&&(i=t.strstart-1,(r=a[i])===a[++i]&&r===a[++i]&&r===a[++i])){o=t.strstart+ut;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);t.match_length=ut-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=st?(n=T._tr_tally(t,1,t.match_length-st),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=T._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(s(t,!1),0===t.strm.avail_out))return mt}return t.insert=0,e===D?(s(t,!0),0===t.strm.avail_out?wt:xt):t.last_lit&&(s(t,!1),0===t.strm.avail_out)?mt:bt}function y(t,e){for(var n;;){if(0===t.lookahead&&(h(t),0===t.lookahead)){if(e===M)return mt;break}if(t.match_length=0,n=T._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(s(t,!1),0===t.strm.avail_out))return mt}return t.insert=0,e===D?(s(t,!0),0===t.strm.avail_out?wt:xt):t.last_lit&&(s(t,!1),0===t.strm.avail_out)?mt:bt}function m(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function b(t){t.window_size=2*t.w_size,o(t.head),t.max_lazy_match=I[t.level].max_lazy,t.good_match=I[t.level].good_length,t.nice_match=I[t.level].nice_length,t.max_chain_length=I[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=st-1,t.match_available=0,t.ins_h=0}function w(){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=Q,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 O.Buf16(2*ot),this.dyn_dtree=new O.Buf16(2*(2*rt+1)),this.bl_tree=new O.Buf16(2*(2*it+1)),o(this.dyn_ltree),o(this.dyn_dtree),o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new O.Buf16(at+1),this.heap=new O.Buf16(2*nt+1),o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new O.Buf16(2*nt+1),o(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 x(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=J,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?ft:vt,t.adler=2===e.wrap?0:1,e.last_flush=M,T._tr_init(e),U):r(t,j)}function S(t){var e=x(t);return e===U&&b(t.state),e}function k(t,e){return t&&t.state?2!==t.state.wrap?j:(t.state.gzhead=e,U):j}function _(t,e,n,i,o,a){if(!t)return j;var s=1;if(e===q&&(e=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),o<1||o>$||n!==Q||i<8||i>15||e<0||e>9||a<0||a>K)return r(t,j);8===i&&(i=9);var u=new w;return t.state=u,u.strm=t,u.wrap=s,u.gzhead=null,u.w_bits=i,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+st-1)/st),u.window=new O.Buf8(2*u.w_size),u.head=new O.Buf16(u.hash_size),u.prev=new O.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new O.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=e,u.strategy=a,u.method=n,S(t)}function C(t,e){return _(t,e,Q,tt,et,X)}function A(t,e){var n,s,l,f;if(!t||!t.state||e>N||e<0)return t?r(t,j):j;if(s=t.state,!t.output||!t.input&&0!==t.avail_in||s.status===yt&&e!==D)return r(t,0===t.avail_out?V:j);if(s.strm=t,n=s.last_flush,s.last_flush=e,s.status===ft)if(2===s.wrap)t.adler=0,u(s,31),u(s,139),u(s,8),s.gzhead?(u(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),u(s,255&s.gzhead.time),u(s,s.gzhead.time>>8&255),u(s,s.gzhead.time>>16&255),u(s,s.gzhead.time>>24&255),u(s,9===s.level?2:s.strategy>=Z||s.level<2?4:0),u(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(u(s,255&s.gzhead.extra.length),u(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(t.adler=B(t.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=ht):(u(s,0),u(s,0),u(s,0),u(s,0),u(s,0),u(s,9===s.level?2:s.strategy>=Z||s.level<2?4:0),u(s,St),s.status=vt);else{var h=Q+(s.w_bits-8<<4)<<8,p=-1;p=s.strategy>=Z||s.level<2?0:s.level<6?1:6===s.level?2:3,h|=p<<6,0!==s.strstart&&(h|=lt),h+=31-h%31,s.status=vt,c(s,h),0!==s.strstart&&(c(s,t.adler>>>16),c(s,65535&t.adler)),t.adler=1}if(s.status===ht)if(s.gzhead.extra){for(l=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),a(t),l=s.pending,s.pending!==s.pending_buf_size));)u(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=pt)}else s.status=pt;if(s.status===pt)if(s.gzhead.name){l=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),a(t),l=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,u(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),0===f&&(s.gzindex=0,s.status=dt)}else s.status=dt;if(s.status===dt)if(s.gzhead.comment){l=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),a(t),l=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,u(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>l&&(t.adler=B(t.adler,s.pending_buf,s.pending-l,l)),0===f&&(s.status=gt)}else s.status=gt;if(s.status===gt&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&a(t),s.pending+2<=s.pending_buf_size&&(u(s,255&t.adler),u(s,t.adler>>8&255),t.adler=0,s.status=vt)):s.status=vt),0!==s.pending){if(a(t),0===t.avail_out)return s.last_flush=-1,U}else if(0===t.avail_in&&i(e)<=i(n)&&e!==D)return r(t,V);if(s.status===yt&&0!==t.avail_in)return r(t,V);if(0!==t.avail_in||0!==s.lookahead||e!==M&&s.status!==yt){var d=s.strategy===Z?y(s,e):s.strategy===Y?v(s,e):I[s.level].func(s,e);if(d!==wt&&d!==xt||(s.status=yt),d===mt||d===wt)return 0===t.avail_out&&(s.last_flush=-1),U;if(d===bt&&(e===z?T._tr_align(s):e!==N&&(T._tr_stored_block(s,0,0,!1),e===F&&(o(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),a(t),0===t.avail_out))return s.last_flush=-1,U}return e!==D?U:s.wrap<=0?W:(2===s.wrap?(u(s,255&t.adler),u(s,t.adler>>8&255),u(s,t.adler>>16&255),u(s,t.adler>>24&255),u(s,255&t.total_in),u(s,t.total_in>>8&255),u(s,t.total_in>>16&255),u(s,t.total_in>>24&255)):(c(s,t.adler>>>16),c(s,65535&t.adler)),a(t),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?U:W)}function E(t){var e;return t&&t.state?(e=t.state.status)!==ft&&e!==ht&&e!==pt&&e!==dt&&e!==gt&&e!==vt&&e!==yt?r(t,j):(t.state=null,e===vt?r(t,G):U):j}function P(t,e){var n,r,i,a,s,u,c,l,f=e.length;if(!t||!t.state)return j;if(n=t.state,2===(a=n.wrap)||1===a&&n.status!==ft||n.lookahead)return j;for(1===a&&(t.adler=L(t.adler,e,f,0)),n.wrap=0,f>=n.w_size&&(0===a&&(o(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new O.Buf8(n.w_size),O.arraySet(l,e,f-n.w_size,n.w_size,0),e=l,f=n.w_size),s=t.avail_in,u=t.next_in,c=t.input,t.avail_in=f,t.next_in=0,t.input=e,h(n);n.lookahead>=st;){r=n.strstart,i=n.lookahead-(st-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+st-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=st-1,h(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=st-1,n.match_available=0,t.next_in=u,t.input=c,t.avail_in=s,n.wrap=a,U}var I,O=n(61),T=n(62),L=n(63),B=n(64),R=n(58),M=0,z=1,F=3,D=4,N=5,U=0,W=1,j=-2,G=-3,V=-5,q=-1,H=1,Z=2,Y=3,K=4,X=0,J=2,Q=8,$=9,tt=15,et=8,nt=286,rt=30,it=19,ot=2*nt+1,at=15,st=3,ut=258,ct=ut+st+1,lt=32,ft=42,ht=69,pt=73,dt=91,gt=103,vt=113,yt=666,mt=1,bt=2,wt=3,xt=4,St=3;I=[new m(0,0,0,0,p),new m(4,4,8,4,d),new m(4,5,16,8,d),new m(4,6,32,32,d),new m(4,4,16,16,g),new m(8,16,32,32,g),new m(8,16,128,128,g),new m(8,32,128,256,g),new m(32,128,258,1024,g),new m(32,258,258,4096,g)],e.deflateInit=C,e.deflateInit2=_,e.deflateReset=S,e.deflateResetKeep=x,e.deflateSetHeader=k,e.deflate=A,e.deflateEnd=E,e.deflateSetDictionary=P,e.deflateInfo="pako deflate (from Nodeca project)"},function(t,e){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)return void t.set(e.subarray(n,n+r),i);for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(r=0,e=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),i=0,e=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},i={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(n)},function(t,e,n){"use strict";function r(t){for(var e=t.length;--e>=0;)t[e]=0}function i(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function o(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function a(t){return t<256?ot[t]:ot[256+(t>>>7)]}function s(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function u(t,e,n){t.bi_valid>Z-n?(t.bi_buf|=e<<t.bi_valid&65535,s(t,t.bi_buf),t.bi_buf=e>>Z-t.bi_valid,t.bi_valid+=n-Z):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function c(t,e,n){u(t,n[2*e],n[2*e+1])}function l(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function f(t){16===t.bi_valid?(s(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function h(t,e){var n,r,i,o,a,s,u=e.dyn_tree,c=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,p=e.stat_desc.extra_base,d=e.stat_desc.max_length,g=0;for(o=0;o<=H;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<q;n++)r=t.heap[n],o=u[2*u[2*r+1]+1]+1,o>d&&(o=d,g++),u[2*r+1]=o,r>c||(t.bl_count[o]++,a=0,r>=p&&(a=h[r-p]),s=u[2*r],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(l[2*r+1]+a)));if(0!==g){do{for(o=d-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[d]--,g-=2}while(g>0);for(o=d;0!==o;o--)for(r=t.bl_count[o];0!==r;)(i=t.heap[--n])>c||(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}function p(t,e,n){var r,i,o=new Array(H+1),a=0;for(r=1;r<=H;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=l(o[s]++,s))}}function d(){var t,e,n,r,o,a=new Array(H+1);for(n=0,r=0;r<U-1;r++)for(st[r]=n,t=0;t<1<<$[r];t++)at[n++]=r;for(at[n-1]=r,o=0,r=0;r<16;r++)for(ut[r]=o,t=0;t<1<<tt[r];t++)ot[o++]=r;for(o>>=7;r<G;r++)for(ut[r]=o<<7,t=0;t<1<<tt[r]-7;t++)ot[256+o++]=r;for(e=0;e<=H;e++)a[e]=0;for(t=0;t<=143;)rt[2*t+1]=8,t++,a[8]++;for(;t<=255;)rt[2*t+1]=9,t++,a[9]++;for(;t<=279;)rt[2*t+1]=7,t++,a[7]++;for(;t<=287;)rt[2*t+1]=8,t++,a[8]++;for(p(rt,j+1,a),t=0;t<G;t++)it[2*t+1]=5,it[2*t]=l(t,5);ct=new i(rt,$,W+1,j,H),lt=new i(it,tt,0,G,H),ft=new i(new Array(0),et,0,V,Y)}function g(t){var e;for(e=0;e<j;e++)t.dyn_ltree[2*e]=0;for(e=0;e<G;e++)t.dyn_dtree[2*e]=0;for(e=0;e<V;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*K]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function v(t){t.bi_valid>8?s(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function y(t,e,n,r){v(t),r&&(s(t,n),s(t,~n)),L.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}function m(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function b(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&m(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!m(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function w(t,e,n){var r,i,o,s,l=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],i=t.pending_buf[t.l_buf+l],l++,0===r?c(t,i,e):(o=at[i],c(t,o+W+1,e),s=$[o],0!==s&&(i-=st[o],u(t,i,s)),r--,o=a(r),c(t,o,n),0!==(s=tt[o])&&(r-=ut[o],u(t,r,s)))}while(l<t.last_lit);c(t,K,e)}function x(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=q,n=0;n<u;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)i=t.heap[++t.heap_len]=c<2?++c:0,o[2*i]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,n=t.heap_len>>1;n>=1;n--)b(t,o,n);i=u;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],b(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,b(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],h(t,e),p(o,c,t.bl_count)}function S(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[2*X]++):s<=10?t.bl_tree[2*J]++:t.bl_tree[2*Q]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))}function k(t,e,n){var r,i,o=-1,a=e[1],s=0,l=7,f=4;for(0===a&&(l=138,f=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<l&&i===a)){if(s<f)do{c(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(c(t,i,t.bl_tree),s--),c(t,X,t.bl_tree),u(t,s-3,2)):s<=10?(c(t,J,t.bl_tree),u(t,s-3,3)):(c(t,Q,t.bl_tree),u(t,s-11,7));s=0,o=i,0===a?(l=138,f=3):i===a?(l=6,f=3):(l=7,f=4)}}function _(t){var e;for(S(t,t.dyn_ltree,t.l_desc.max_code),S(t,t.dyn_dtree,t.d_desc.max_code),x(t,t.bl_desc),e=V-1;e>=3&&0===t.bl_tree[2*nt[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}function C(t,e,n,r){var i;for(u(t,e-257,5),u(t,n-1,5),u(t,r-4,4),i=0;i<r;i++)u(t,t.bl_tree[2*nt[i]+1],3);k(t,t.dyn_ltree,e-1),k(t,t.dyn_dtree,n-1)}function A(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return R;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return M;for(e=32;e<W;e++)if(0!==t.dyn_ltree[2*e])return M;return R}function E(t){ht||(d(),ht=!0),t.l_desc=new o(t.dyn_ltree,ct),t.d_desc=new o(t.dyn_dtree,lt),t.bl_desc=new o(t.bl_tree,ft),t.bi_buf=0,t.bi_valid=0,g(t)}function P(t,e,n,r){u(t,(F<<1)+(r?1:0),3),y(t,e,n,!0)}function I(t){u(t,D<<1,3),c(t,K,rt),f(t)}function O(t,e,n,r){var i,o,a=0;t.level>0?(t.strm.data_type===z&&(t.strm.data_type=A(t)),x(t,t.l_desc),x(t,t.d_desc),a=_(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&e!==-1?P(t,e,n,r):t.strategy===B||o===i?(u(t,(D<<1)+(r?1:0),3),w(t,rt,it)):(u(t,(N<<1)+(r?1:0),3),C(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),w(t,t.dyn_ltree,t.dyn_dtree)),g(t),r&&v(t)}function T(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(at[n]+W+1)]++,t.dyn_dtree[2*a(e)]++),t.last_lit===t.lit_bufsize-1}var L=n(61),B=4,R=0,M=1,z=2,F=0,D=1,N=2,U=29,W=256,j=W+1+U,G=30,V=19,q=2*j+1,H=15,Z=16,Y=7,K=256,X=16,J=17,Q=18,$=[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],tt=[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],et=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],nt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],rt=new Array(2*(j+2));r(rt);var it=new Array(2*G);r(it);var ot=new Array(512);r(ot);var at=new Array(256);r(at);var st=new Array(U);r(st);var ut=new Array(G);r(ut);var ct,lt,ft,ht=!1;e._tr_init=E,e._tr_stored_block=P,e._tr_flush_block=O,e._tr_tally=T,e._tr_align=I},function(t,e){"use strict";function n(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){a=n>2e3?2e3:n,n-=a;do{i=i+e[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}t.exports=n},function(t,e){"use strict";function n(t,e,n,i){var o=r,a=i+n;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return t^-1}var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();t.exports=n},function(t,e,n){"use strict";function r(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function i(){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 m.Buf16(320),this.work=new m.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=F,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new m.Buf32(gt),e.distcode=e.distdyn=new m.Buf32(vt),e.sane=1,e.back=-1,I):L}function a(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,o(t)):L}function s(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?L:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,a(t))):L}function u(t,e){var n,r;return t?(r=new i,t.state=r,r.window=null,n=s(t,e),n!==I&&(t.state=null),n):L}function c(t){return u(t,yt)}function l(t){if(mt){var e;for(v=new m.Buf32(512),y=new m.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(S(_,t.lens,0,288,v,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;S(C,t.lens,0,32,y,0,t.work,{bits:5}),mt=!1}t.lencode=v,t.lenbits=9,t.distcode=y,t.distbits=5}function f(t,e,n,r){var i,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new m.Buf8(o.wsize)),r>=o.wsize?(m.arraySet(o.window,e,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>r&&(i=r),m.arraySet(o.window,e,n-r,i,o.wnext),r-=i,r?(m.arraySet(o.window,e,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function h(t,e){var n,i,o,a,s,u,c,h,p,d,g,v,y,gt,vt,yt,mt,bt,wt,xt,St,kt,_t,Ct,At=0,Et=new m.Buf8(4),Pt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return L;n=t.state,n.mode===Y&&(n.mode=K),s=t.next_out,o=t.output,c=t.avail_out,a=t.next_in,i=t.input,u=t.avail_in,h=n.hold,p=n.bits,d=u,g=c,kt=I;t:for(;;)switch(n.mode){case F:if(0===n.wrap){n.mode=K;break}for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(2&n.wrap&&35615===h){n.check=0,Et[0]=255&h,Et[1]=h>>>8&255,n.check=w(n.check,Et,2,0),h=0,p=0,n.mode=D;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",n.mode=ht;break}if((15&h)!==z){t.msg="unknown compression method",n.mode=ht;break}if(h>>>=4,p-=4,St=8+(15&h),0===n.wbits)n.wbits=St;else if(St>n.wbits){t.msg="invalid window size",n.mode=ht;break}n.dmax=1<<St,t.adler=n.check=1,n.mode=512&h?H:Y,h=0,p=0;break;case D:for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(n.flags=h,(255&n.flags)!==z){t.msg="unknown compression method",n.mode=ht;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=ht;break}n.head&&(n.head.text=h>>8&1),512&n.flags&&(Et[0]=255&h,Et[1]=h>>>8&255,n.check=w(n.check,Et,2,0)),h=0,p=0,n.mode=N;case N:for(;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.head&&(n.head.time=h),512&n.flags&&(Et[0]=255&h,Et[1]=h>>>8&255,Et[2]=h>>>16&255,Et[3]=h>>>24&255,n.check=w(n.check,Et,4,0)),h=0,p=0,n.mode=U;case U:for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.head&&(n.head.xflags=255&h,n.head.os=h>>8),512&n.flags&&(Et[0]=255&h,Et[1]=h>>>8&255,n.check=w(n.check,Et,2,0)),h=0,p=0,n.mode=W;case W:if(1024&n.flags){for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.length=h,n.head&&(n.head.extra_len=h),512&n.flags&&(Et[0]=255&h,Et[1]=h>>>8&255,n.check=w(n.check,Et,2,0)),h=0,p=0}else n.head&&(n.head.extra=null);n.mode=j;case j:if(1024&n.flags&&(v=n.length,v>u&&(v=u),v&&(n.head&&(St=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),m.arraySet(n.head.extra,i,a,v,St)),512&n.flags&&(n.check=w(n.check,i,v,a)),u-=v,a+=v,n.length-=v),n.length))break t;n.length=0,n.mode=G;case G:if(2048&n.flags){if(0===u)break t;v=0;do{St=i[a+v++],n.head&&St&&n.length<65536&&(n.head.name+=String.fromCharCode(St))}while(St&&v<u);if(512&n.flags&&(n.check=w(n.check,i,v,a)),u-=v,a+=v,St)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=V;case V:if(4096&n.flags){if(0===u)break t;v=0;do{St=i[a+v++],n.head&&St&&n.length<65536&&(n.head.comment+=String.fromCharCode(St))}while(St&&v<u);if(512&n.flags&&(n.check=w(n.check,i,v,a)),u-=v,a+=v,St)break t}else n.head&&(n.head.comment=null);n.mode=q;case q:if(512&n.flags){for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(h!==(65535&n.check)){t.msg="header crc mismatch",n.mode=ht;break}h=0,p=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=Y;break;case H:for(;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}t.adler=n.check=r(h),h=0,p=0,n.mode=Z;case Z:if(0===n.havedict)return t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=u,n.hold=h,n.bits=p,T;t.adler=n.check=1,n.mode=Y;case Y:if(e===E||e===P)break t;case K:if(n.last){h>>>=7&p,p-=7&p,n.mode=ct;break}for(;p<3;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}switch(n.last=1&h,h>>>=1,p-=1,3&h){case 0:n.mode=X;break;case 1:if(l(n),n.mode=nt,e===P){h>>>=2,p-=2;break t}break;case 2:n.mode=$;break;case 3:t.msg="invalid block type",n.mode=ht}h>>>=2,p-=2;break;case X:for(h>>>=7&p,p-=7&p;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",n.mode=ht;break}if(n.length=65535&h,h=0,p=0,n.mode=J,e===P)break t;case J:n.mode=Q;case Q:if(v=n.length){if(v>u&&(v=u),v>c&&(v=c),0===v)break t;m.arraySet(o,i,a,v,s),u-=v,a+=v,c-=v,s+=v,n.length-=v;break}n.mode=Y;break;case $:for(;p<14;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(n.nlen=257+(31&h),h>>>=5,p-=5,n.ndist=1+(31&h),h>>>=5,p-=5,n.ncode=4+(15&h),h>>>=4,p-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=ht;break}n.have=0,n.mode=tt;case tt:for(;n.have<n.ncode;){for(;p<3;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.lens[Pt[n.have++]]=7&h,h>>>=3,p-=3}for(;n.have<19;)n.lens[Pt[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,_t={bits:n.lenbits},kt=S(k,n.lens,0,19,n.lencode,0,n.work,_t),n.lenbits=_t.bits,kt){t.msg="invalid code lengths set",n.mode=ht;break}n.have=0,n.mode=et;case et:for(;n.have<n.nlen+n.ndist;){for(;At=n.lencode[h&(1<<n.lenbits)-1],vt=At>>>24,yt=At>>>16&255,mt=65535&At,!(vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(mt<16)h>>>=vt,p-=vt,n.lens[n.have++]=mt;else{if(16===mt){for(Ct=vt+2;p<Ct;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(h>>>=vt,p-=vt,0===n.have){t.msg="invalid bit length repeat",n.mode=ht;break}St=n.lens[n.have-1],v=3+(3&h),h>>>=2,p-=2}else if(17===mt){for(Ct=vt+3;p<Ct;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=vt,p-=vt,St=0,v=3+(7&h),h>>>=3,p-=3}else{for(Ct=vt+7;p<Ct;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=vt,p-=vt,St=0,v=11+(127&h),h>>>=7,p-=7}if(n.have+v>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=ht;break}for(;v--;)n.lens[n.have++]=St}}if(n.mode===ht)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=ht;break}if(n.lenbits=9,_t={bits:n.lenbits},kt=S(_,n.lens,0,n.nlen,n.lencode,0,n.work,_t),n.lenbits=_t.bits,kt){t.msg="invalid literal/lengths set",n.mode=ht;break}if(n.distbits=6,n.distcode=n.distdyn,_t={bits:n.distbits},kt=S(C,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,_t),n.distbits=_t.bits,kt){t.msg="invalid distances set",n.mode=ht;break}if(n.mode=nt,e===P)break t;case nt:n.mode=rt;case rt:if(u>=6&&c>=258){t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=u,n.hold=h,n.bits=p,x(t,g),s=t.next_out,o=t.output,c=t.avail_out,a=t.next_in,i=t.input,u=t.avail_in,h=n.hold,p=n.bits,n.mode===Y&&(n.back=-1);break}for(n.back=0;At=n.lencode[h&(1<<n.lenbits)-1],vt=At>>>24,yt=At>>>16&255,mt=65535&At,!(vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(yt&&0==(240&yt)){for(bt=vt,wt=yt,xt=mt;At=n.lencode[xt+((h&(1<<bt+wt)-1)>>bt)],vt=At>>>24,yt=At>>>16&255,mt=65535&At,!(bt+vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=bt,p-=bt,n.back+=bt}if(h>>>=vt,p-=vt,n.back+=vt,n.length=mt,0===yt){n.mode=ut;break}if(32&yt){n.back=-1,n.mode=Y;break}if(64&yt){t.msg="invalid literal/length code",n.mode=ht;break}n.extra=15&yt,n.mode=it;case it:if(n.extra){for(Ct=n.extra;p<Ct;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.length+=h&(1<<n.extra)-1,h>>>=n.extra,p-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=ot;case ot:for(;At=n.distcode[h&(1<<n.distbits)-1],vt=At>>>24,yt=At>>>16&255,mt=65535&At,!(vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(0==(240&yt)){for(bt=vt,wt=yt,xt=mt;At=n.distcode[xt+((h&(1<<bt+wt)-1)>>bt)],vt=At>>>24,yt=At>>>16&255,mt=65535&At,!(bt+vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=bt,p-=bt,n.back+=bt}if(h>>>=vt,p-=vt,n.back+=vt,64&yt){t.msg="invalid distance code",n.mode=ht;break}n.offset=mt,n.extra=15&yt,n.mode=at;case at:if(n.extra){for(Ct=n.extra;p<Ct;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.offset+=h&(1<<n.extra)-1,h>>>=n.extra,p-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=ht;break}n.mode=st;case st:if(0===c)break t;if(v=g-c,n.offset>v){if((v=n.offset-v)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=ht;break}v>n.wnext?(v-=n.wnext,y=n.wsize-v):y=n.wnext-v,v>n.length&&(v=n.length),gt=n.window}else gt=o,y=s-n.offset,v=n.length;v>c&&(v=c),c-=v,n.length-=v;do{o[s++]=gt[y++]}while(--v);0===n.length&&(n.mode=rt);break;case ut:if(0===c)break t;o[s++]=n.length,c--,n.mode=rt;break;case ct:if(n.wrap){for(;p<32;){
if(0===u)break t;u--,h|=i[a++]<<p,p+=8}if(g-=c,t.total_out+=g,n.total+=g,g&&(t.adler=n.check=n.flags?w(n.check,o,g,s-g):b(n.check,o,g,s-g)),g=c,(n.flags?h:r(h))!==n.check){t.msg="incorrect data check",n.mode=ht;break}h=0,p=0}n.mode=lt;case lt:if(n.wrap&&n.flags){for(;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(h!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=ht;break}h=0,p=0}n.mode=ft;case ft:kt=O;break t;case ht:kt=B;break t;case pt:return R;case dt:default:return L}return t.next_out=s,t.avail_out=c,t.next_in=a,t.avail_in=u,n.hold=h,n.bits=p,(n.wsize||g!==t.avail_out&&n.mode<ht&&(n.mode<ct||e!==A))&&f(t,t.output,t.next_out,g-t.avail_out)?(n.mode=pt,R):(d-=t.avail_in,g-=t.avail_out,t.total_in+=d,t.total_out+=g,n.total+=g,n.wrap&&g&&(t.adler=n.check=n.flags?w(n.check,o,g,t.next_out-g):b(n.check,o,g,t.next_out-g)),t.data_type=n.bits+(n.last?64:0)+(n.mode===Y?128:0)+(n.mode===nt||n.mode===J?256:0),(0===d&&0===g||e===A)&&kt===I&&(kt=M),kt)}function p(t){if(!t||!t.state)return L;var e=t.state;return e.window&&(e.window=null),t.state=null,I}function d(t,e){var n;return t&&t.state?(n=t.state,0==(2&n.wrap)?L:(n.head=e,e.done=!1,I)):L}function g(t,e){var n,r,i=e.length;return t&&t.state?(n=t.state,0!==n.wrap&&n.mode!==Z?L:n.mode===Z&&(r=1,(r=b(r,e,i,0))!==n.check)?B:f(t,e,i,i)?(n.mode=pt,R):(n.havedict=1,I)):L}var v,y,m=n(61),b=n(63),w=n(64),x=n(66),S=n(67),k=0,_=1,C=2,A=4,E=5,P=6,I=0,O=1,T=2,L=-2,B=-3,R=-4,M=-5,z=8,F=1,D=2,N=3,U=4,W=5,j=6,G=7,V=8,q=9,H=10,Z=11,Y=12,K=13,X=14,J=15,Q=16,$=17,tt=18,et=19,nt=20,rt=21,it=22,ot=23,at=24,st=25,ut=26,ct=27,lt=28,ft=29,ht=30,pt=31,dt=32,gt=852,vt=592,yt=15,mt=!0;e.inflateReset=a,e.inflateReset2=s,e.inflateResetKeep=o,e.inflateInit=c,e.inflateInit2=u,e.inflate=h,e.inflateEnd=p,e.inflateGetHeader=d,e.inflateSetDictionary=g,e.inflateInfo="pako inflate (from Nodeca project)"},function(t,e){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,u,c,l,f,h,p,d,g,v,y,m,b,w,x,S,k,_,C,A;n=t.state,r=t.next_in,C=t.input,i=r+(t.avail_in-5),o=t.next_out,A=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),u=n.dmax,c=n.wsize,l=n.whave,f=n.wnext,h=n.window,p=n.hold,d=n.bits,g=n.lencode,v=n.distcode,y=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;t:do{d<15&&(p+=C[r++]<<d,d+=8,p+=C[r++]<<d,d+=8),b=g[p&y];e:for(;;){if(w=b>>>24,p>>>=w,d-=w,0===(w=b>>>16&255))A[o++]=65535&b;else{if(!(16&w)){if(0==(64&w)){b=g[(65535&b)+(p&(1<<w)-1)];continue e}if(32&w){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}x=65535&b,w&=15,w&&(d<w&&(p+=C[r++]<<d,d+=8),x+=p&(1<<w)-1,p>>>=w,d-=w),d<15&&(p+=C[r++]<<d,d+=8,p+=C[r++]<<d,d+=8),b=v[p&m];n:for(;;){if(w=b>>>24,p>>>=w,d-=w,!(16&(w=b>>>16&255))){if(0==(64&w)){b=v[(65535&b)+(p&(1<<w)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(S=65535&b,w&=15,d<w&&(p+=C[r++]<<d,(d+=8)<w&&(p+=C[r++]<<d,d+=8)),(S+=p&(1<<w)-1)>u){t.msg="invalid distance too far back",n.mode=30;break t}if(p>>>=w,d-=w,w=o-a,S>w){if((w=S-w)>l&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(k=0,_=h,0===f){if(k+=c-w,w<x){x-=w;do{A[o++]=h[k++]}while(--w);k=o-S,_=A}}else if(f<w){if(k+=c+f-w,(w-=f)<x){x-=w;do{A[o++]=h[k++]}while(--w);if(k=0,f<x){w=f,x-=w;do{A[o++]=h[k++]}while(--w);k=o-S,_=A}}}else if(k+=f-w,w<x){x-=w;do{A[o++]=h[k++]}while(--w);k=o-S,_=A}for(;x>2;)A[o++]=_[k++],A[o++]=_[k++],A[o++]=_[k++],x-=3;x&&(A[o++]=_[k++],x>1&&(A[o++]=_[k++]))}else{k=o-S;do{A[o++]=A[k++],A[o++]=A[k++],A[o++]=A[k++],x-=3}while(x>2);x&&(A[o++]=A[k++],x>1&&(A[o++]=A[k++]))}break}}break}}while(r<i&&o<s);x=d>>3,r-=x,d-=x<<3,p&=(1<<d)-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=o<s?s-o+257:257-(o-s),n.hold=p,n.bits=d}},function(t,e,n){"use strict";var r=n(61),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,n,u,c,l,f,h){var p,d,g,v,y,m,b,w,x,S=h.bits,k=0,_=0,C=0,A=0,E=0,P=0,I=0,O=0,T=0,L=0,B=null,R=0,M=new r.Buf16(16),z=new r.Buf16(16),F=null,D=0;for(k=0;k<=15;k++)M[k]=0;for(_=0;_<u;_++)M[e[n+_]]++;for(E=S,A=15;A>=1&&0===M[A];A--);if(E>A&&(E=A),0===A)return c[l++]=20971520,c[l++]=20971520,h.bits=1,0;for(C=1;C<A&&0===M[C];C++);for(E<C&&(E=C),O=1,k=1;k<=15;k++)if(O<<=1,(O-=M[k])<0)return-1;if(O>0&&(0===t||1!==A))return-1;for(z[1]=0,k=1;k<15;k++)z[k+1]=z[k]+M[k];for(_=0;_<u;_++)0!==e[n+_]&&(f[z[e[n+_]]++]=_);if(0===t?(B=F=f,m=19):1===t?(B=i,R-=257,F=o,D-=257,m=256):(B=a,F=s,m=-1),L=0,_=0,k=C,y=l,P=E,I=0,g=-1,T=1<<E,v=T-1,1===t&&T>852||2===t&&T>592)return 1;for(var N=0;;){N++,b=k-I,f[_]<m?(w=0,x=f[_]):f[_]>m?(w=F[D+f[_]],x=B[R+f[_]]):(w=96,x=0),p=1<<k-I,d=1<<P,C=d;do{d-=p,c[y+(L>>I)+d]=b<<24|w<<16|x|0}while(0!==d);for(p=1<<k-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,_++,0==--M[k]){if(k===A)break;k=e[n+f[_]]}if(k>E&&(L&v)!==g){for(0===I&&(I=E),y+=C,P=k-I,O=1<<P;P+I<A&&!((O-=M[P+I])<=0);)P++,O<<=1;if(T+=1<<P,1===t&&T>852||2===t&&T>592)return 1;g=L&v,c[g]=E<<24|P<<16|y-l|0}}return 0!==L&&(c[y+L]=k-I<<24|64<<16|0),h.bits=E,0}},function(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}},function(t,e,n){(function(t,r){function i(t,n){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(n)?r.showHidden=n:n&&e._extend(r,n),x(r.showHidden)&&(r.showHidden=!1),x(r.depth)&&(r.depth=2),x(r.colors)&&(r.colors=!1),x(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,t,r.depth)}function o(t,e){var n=i.styles[e];return n?"["+i.colors[n][0]+"m"+t+"["+i.colors[n][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function u(t,n,r){if(t.customInspect&&n&&A(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return b(i)||(i=u(t,i,r)),i}var o=c(t,n);if(o)return o;var a=Object.keys(n),g=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),C(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(A(n)){var v=n.name?": "+n.name:"";return t.stylize("[Function"+v+"]","special")}if(S(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return t.stylize(Date.prototype.toString.call(n),"date");if(C(n))return l(n)}var y="",m=!1,w=["{","}"];if(d(n)&&(m=!0,w=["[","]"]),A(n)){y=" [Function"+(n.name?": "+n.name:"")+"]"}if(S(n)&&(y=" "+RegExp.prototype.toString.call(n)),_(n)&&(y=" "+Date.prototype.toUTCString.call(n)),C(n)&&(y=" "+l(n)),0===a.length&&(!m||0==n.length))return w[0]+y+w[1];if(r<0)return S(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var x;return x=m?f(t,n,r,g,a):a.map(function(e){return h(t,n,r,g,e,m)}),t.seen.pop(),p(x,y,w)}function c(t,e){if(x(e))return t.stylize("undefined","undefined");if(b(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return m(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,r,i){for(var o=[],a=0,s=e.length;a<s;++a)I(e,String(a))?o.push(h(t,e,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(t,e,n,r,i,!0))}),o}function h(t,e,n,r,i,o){var a,s,c;if(c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},c.get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),I(r,i)||(a="["+i+"]"),s||(t.seen.indexOf(c.value)<0?(s=v(n)?u(t,c.value,null):u(t,c.value,n-1),s.indexOf("\n")>-1&&(s=o?s.split("\n").map(function(t){return"  "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return"   "+t}).join("\n"))):s=t.stylize("[Circular]","special")),x(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t,e,n){var r=0;return t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function d(t){return Array.isArray(t)}function g(t){return"boolean"==typeof t}function v(t){return null===t}function y(t){return null==t}function m(t){return"number"==typeof t}function b(t){return"string"==typeof t}function w(t){return"symbol"==typeof t}function x(t){return void 0===t}function S(t){return k(t)&&"[object RegExp]"===P(t)}function k(t){return"object"==typeof t&&null!==t}function _(t){return k(t)&&"[object Date]"===P(t)}functio

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。