123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53078e5c"],{"4f15":function(module,exports,__webpack_require__){var require,require;!function(A){module.exports=A()}((function(){var define,module,exports;return function A(t,e,r){function n(s,o){if(!e[s]){if(!t[s]){var a="function"==typeof require&&require;if(!o&&a)return require(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+s+"'")}var c=e[s]={exports:{}};t[s][0].call(c.exports,(function(A){var e=t[s][1][A];return n(e||A)}),c,c.exports,A,t,e,r)}return e[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)n(r[s]);return n}({1:[function(A,t,e){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
- * @license MIT
- */
- var r=A("base64-js"),n=A("ieee754"),i=A("is-array");e.Buffer=o,e.SlowBuffer=o,e.INSPECT_MAX_BYTES=50,o.poolSize=8192;var s=1073741823;function o(A,t,e){if(!(this instanceof o))return new o(A,t,e);var r,n,a,c=typeof A;if("number"===c)r=A>0?A>>>0:0;else if("string"===c)"base64"===t&&(A=x(A)),r=o.byteLength(A,t);else{if("object"!==c||null===A)throw new TypeError("must start with number, buffer, array or string");"Buffer"===A.type&&i(A.data)&&(A=A.data),r=+A.length>0?Math.floor(+A.length):0}if(this.length>s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");if(o.TYPED_ARRAY_SUPPORT?n=o._augment(new Uint8Array(r)):(n=this,n.length=r,n._isBuffer=!0),o.TYPED_ARRAY_SUPPORT&&"number"===typeof A.byteLength)n._set(A);else if(_(A))if(o.isBuffer(A))for(a=0;a<r;a++)n[a]=A.readUInt8(a);else for(a=0;a<r;a++)n[a]=(A[a]%256+256)%256;else if("string"===c)n.write(A,0,t);else if("number"===c&&!o.TYPED_ARRAY_SUPPORT&&!e)for(a=0;a<r;a++)n[a]=0;return n}function a(A,t,e,r){e=Number(e)||0;var n=A.length-e;r?(r=Number(r),r>n&&(r=n)):r=n;var i=t.length;if(i%2!==0)throw new Error("Invalid hex string");r>i/2&&(r=i/2);for(var s=0;s<r;s++){var o=parseInt(t.substr(2*s,2),16);if(isNaN(o))throw new Error("Invalid hex string");A[e+s]=o}return s}function c(A,t,e,r){var n=D(H(t),A,e,r);return n}function u(A,t,e,r){var n=D(N(t),A,e,r);return n}function l(A,t,e,r){return u(A,t,e,r)}function h(A,t,e,r){var n=D(P(t),A,e,r);return n}function f(A,t,e,r){var n=D(k(t),A,e,r,2);return n}function d(A,t,e){return 0===t&&e===A.length?r.fromByteArray(A):r.fromByteArray(A.slice(t,e))}function g(A,t,e){var r="",n="";e=Math.min(A.length,e);for(var i=t;i<e;i++)A[i]<=127?(r+=O(n)+String.fromCharCode(A[i]),n=""):n+="%"+A[i].toString(16);return r+O(n)}function p(A,t,e){var r="";e=Math.min(A.length,e);for(var n=t;n<e;n++)r+=String.fromCharCode(A[n]);return r}function B(A,t,e){return p(A,t,e)}function w(A,t,e){var r=A.length;(!t||t<0)&&(t=0),(!e||e<0||e>r)&&(e=r);for(var n="",i=t;i<e;i++)n+=S(A[i]);return n}function m(A,t,e){for(var r=A.slice(t,e),n="",i=0;i<r.length;i+=2)n+=String.fromCharCode(r[i]+256*r[i+1]);return n}function b(A,t,e){if(A%1!==0||A<0)throw new RangeError("offset is not uint");if(A+t>e)throw new RangeError("Trying to access beyond buffer length")}function y(A,t,e,r,n,i){if(!o.isBuffer(A))throw new TypeError("buffer must be a Buffer instance");if(t>n||t<i)throw new TypeError("value is out of bounds");if(e+r>A.length)throw new TypeError("index out of range")}function v(A,t,e,r){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(A.length-e,2);n<i;n++)A[e+n]=(t&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function C(A,t,e,r){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(A.length-e,4);n<i;n++)A[e+n]=t>>>8*(r?n:3-n)&255}function Q(A,t,e,r,n,i){if(t>n||t<i)throw new TypeError("value is out of bounds");if(e+r>A.length)throw new TypeError("index out of range")}function F(A,t,e,r,i){return i||Q(A,t,e,4,34028234663852886e22,-34028234663852886e22),n.write(A,t,e,r,23,4),e+4}function U(A,t,e,r,i){return i||Q(A,t,e,8,17976931348623157e292,-17976931348623157e292),n.write(A,t,e,r,52,8),e+8}o.TYPED_ARRAY_SUPPORT=function(){try{var A=new ArrayBuffer(0),t=new Uint8Array(A);return t.foo=function(){return 42},42===t.foo()&&"function"===typeof t.subarray&&0===new Uint8Array(1).subarray(1,1).byteLength}catch(e){return!1}}(),o.isBuffer=function(A){return!(null==A||!A._isBuffer)},o.compare=function(A,t){if(!o.isBuffer(A)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");for(var e=A.length,r=t.length,n=0,i=Math.min(e,r);n<i&&A[n]===t[n];n++);return n!==i&&(e=A[n],r=t[n]),e<r?-1:r<e?1:0},o.isEncoding=function(A){switch(String(A).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(A,t){if(!i(A))throw new TypeError("Usage: Buffer.concat(list[, length])");if(0===A.length)return new o(0);if(1===A.length)return A[0];var e;if(void 0===t)for(t=0,e=0;e<A.length;e++)t+=A[e].length;var r=new o(t),n=0;for(e=0;e<A.length;e++){var s=A[e];s.copy(r,n),n+=s.length}return r},o.byteLength=function(A,t){var e;switch(A+="",t||"utf8"){case"ascii":case"binary":case"raw":e=A.length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":e=2*A.length;break;case"hex":e=A.length>>>1;break;case"utf8":case"utf-8":e=H(A).length;break;case"base64":e=P(A).length;break;default:e=A.length}return e},o.prototype.length=void 0,o.prototype.parent=void 0,o.prototype.toString=function(A,t,e){var r=!1;if(t>>>=0,e=void 0===e||e===1/0?this.length:e>>>0,A||(A="utf8"),t<0&&(t=0),e>this.length&&(e=this.length),e<=t)return"";while(1)switch(A){case"hex":return w(this,t,e);case"utf8":case"utf-8":return g(this,t,e);case"ascii":return p(this,t,e);case"binary":return B(this,t,e);case"base64":return d(this,t,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m(this,t,e);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}},o.prototype.equals=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return 0===o.compare(this,A)},o.prototype.inspect=function(){var A="",t=e.INSPECT_MAX_BYTES;return this.length>0&&(A=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(A+=" ... ")),"<Buffer "+A+">"},o.prototype.compare=function(A){if(!o.isBuffer(A))throw new TypeError("Argument must be a Buffer");return o.compare(this,A)},o.prototype.get=function(A){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(A)},o.prototype.set=function(A,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(A,t)},o.prototype.write=function(A,t,e,r){if(isFinite(t))isFinite(e)||(r=e,e=void 0);else{var n=r;r=t,t=e,e=n}t=Number(t)||0;var i,s=this.length-t;switch(e?(e=Number(e),e>s&&(e=s)):e=s,r=String(r||"utf8").toLowerCase(),r){case"hex":i=a(this,A,t,e);break;case"utf8":case"utf-8":i=c(this,A,t,e);break;case"ascii":i=u(this,A,t,e);break;case"binary":i=l(this,A,t,e);break;case"base64":i=h(this,A,t,e);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=f(this,A,t,e);break;default:throw new TypeError("Unknown encoding: "+r)}return i},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(A,t){var e=this.length;if(A=~~A,t=void 0===t?e:~~t,A<0?(A+=e,A<0&&(A=0)):A>e&&(A=e),t<0?(t+=e,t<0&&(t=0)):t>e&&(t=e),t<A&&(t=A),o.TYPED_ARRAY_SUPPORT)return o._augment(this.subarray(A,t));for(var r=t-A,n=new o(r,void 0,!0),i=0;i<r;i++)n[i]=this[i+A];return n},o.prototype.readUInt8=function(A,t){return t||b(A,1,this.length),this[A]},o.prototype.readUInt16LE=function(A,t){return t||b(A,2,this.length),this[A]|this[A+1]<<8},o.prototype.readUInt16BE=function(A,t){return t||b(A,2,this.length),this[A]<<8|this[A+1]},o.prototype.readUInt32LE=function(A,t){return t||b(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},o.prototype.readUInt32BE=function(A,t){return t||b(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},o.prototype.readInt8=function(A,t){return t||b(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},o.prototype.readInt16LE=function(A,t){t||b(A,2,this.length);var e=this[A]|this[A+1]<<8;return 32768&e?4294901760|e:e},o.prototype.readInt16BE=function(A,t){t||b(A,2,this.length);var e=this[A+1]|this[A]<<8;return 32768&e?4294901760|e:e},o.prototype.readInt32LE=function(A,t){return t||b(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},o.prototype.readInt32BE=function(A,t){return t||b(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},o.prototype.readFloatLE=function(A,t){return t||b(A,4,this.length),n.read(this,A,!0,23,4)},o.prototype.readFloatBE=function(A,t){return t||b(A,4,this.length),n.read(this,A,!1,23,4)},o.prototype.readDoubleLE=function(A,t){return t||b(A,8,this.length),n.read(this,A,!0,52,8)},o.prototype.readDoubleBE=function(A,t){return t||b(A,8,this.length),n.read(this,A,!1,52,8)},o.prototype.writeUInt8=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[t]=A,t+1},o.prototype.writeUInt16LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8):v(this,A,t,!0),t+2},o.prototype.writeUInt16BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=A):v(this,A,t,!1),t+2},o.prototype.writeUInt32LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=A>>>24,this[t+2]=A>>>16,this[t+1]=A>>>8,this[t]=A):C(this,A,t,!0),t+4},o.prototype.writeUInt32BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=A):C(this,A,t,!1),t+4},o.prototype.writeInt8=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[t]=A,t+1},o.prototype.writeInt16LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8):v(this,A,t,!0),t+2},o.prototype.writeInt16BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>8,this[t+1]=A):v(this,A,t,!1),t+2},o.prototype.writeInt32LE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=A,this[t+1]=A>>>8,this[t+2]=A>>>16,this[t+3]=A>>>24):C(this,A,t,!0),t+4},o.prototype.writeInt32BE=function(A,t,e){return A=+A,t>>>=0,e||y(this,A,t,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),o.TYPED_ARRAY_SUPPORT?(this[t]=A>>>24,this[t+1]=A>>>16,this[t+2]=A>>>8,this[t+3]=A):C(this,A,t,!1),t+4},o.prototype.writeFloatLE=function(A,t,e){return F(this,A,t,!0,e)},o.prototype.writeFloatBE=function(A,t,e){return F(this,A,t,!1,e)},o.prototype.writeDoubleLE=function(A,t,e){return U(this,A,t,!0,e)},o.prototype.writeDoubleBE=function(A,t,e){return U(this,A,t,!1,e)},o.prototype.copy=function(A,t,e,r){var n=this;if(e||(e=0),r||0===r||(r=this.length),t||(t=0),r!==e&&0!==A.length&&0!==n.length){if(r<e)throw new TypeError("sourceEnd < sourceStart");if(t<0||t>=A.length)throw new TypeError("targetStart out of bounds");if(e<0||e>=n.length)throw new TypeError("sourceStart out of bounds");if(r<0||r>n.length)throw new TypeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-t<r-e&&(r=A.length-t+e);var i=r-e;if(i<1e3||!o.TYPED_ARRAY_SUPPORT)for(var s=0;s<i;s++)A[s+t]=this[s+e];else A._set(this.subarray(e,e+i),t)}},o.prototype.fill=function(A,t,e){if(A||(A=0),t||(t=0),e||(e=this.length),e<t)throw new TypeError("end < start");if(e!==t&&0!==this.length){if(t<0||t>=this.length)throw new TypeError("start out of bounds");if(e<0||e>this.length)throw new TypeError("end out of bounds");var r;if("number"===typeof A)for(r=t;r<e;r++)this[r]=A;else{var n=H(A.toString()),i=n.length;for(r=t;r<e;r++)this[r]=n[r%i]}return this}},o.prototype.toArrayBuffer=function(){if("undefined"!==typeof Uint8Array){if(o.TYPED_ARRAY_SUPPORT)return new o(this).buffer;for(var A=new Uint8Array(this.length),t=0,e=A.length;t<e;t+=1)A[t]=this[t];return A.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var L=o.prototype;o._augment=function(A){return A.constructor=o,A._isBuffer=!0,A._get=A.get,A._set=A.set,A.get=L.get,A.set=L.set,A.write=L.write,A.toString=L.toString,A.toLocaleString=L.toString,A.toJSON=L.toJSON,A.equals=L.equals,A.compare=L.compare,A.copy=L.copy,A.slice=L.slice,A.readUInt8=L.readUInt8,A.readUInt16LE=L.readUInt16LE,A.readUInt16BE=L.readUInt16BE,A.readUInt32LE=L.readUInt32LE,A.readUInt32BE=L.readUInt32BE,A.readInt8=L.readInt8,A.readInt16LE=L.readInt16LE,A.readInt16BE=L.readInt16BE,A.readInt32LE=L.readInt32LE,A.readInt32BE=L.readInt32BE,A.readFloatLE=L.readFloatLE,A.readFloatBE=L.readFloatBE,A.readDoubleLE=L.readDoubleLE,A.readDoubleBE=L.readDoubleBE,A.writeUInt8=L.writeUInt8,A.writeUInt16LE=L.writeUInt16LE,A.writeUInt16BE=L.writeUInt16BE,A.writeUInt32LE=L.writeUInt32LE,A.writeUInt32BE=L.writeUInt32BE,A.writeInt8=L.writeInt8,A.writeInt16LE=L.writeInt16LE,A.writeInt16BE=L.writeInt16BE,A.writeInt32LE=L.writeInt32LE,A.writeInt32BE=L.writeInt32BE,A.writeFloatLE=L.writeFloatLE,A.writeFloatBE=L.writeFloatBE,A.writeDoubleLE=L.writeDoubleLE,A.writeDoubleBE=L.writeDoubleBE,A.fill=L.fill,A.inspect=L.inspect,A.toArrayBuffer=L.toArrayBuffer,A};var I=/[^+\/0-9A-z]/g;function x(A){A=E(A).replace(I,"");while(A.length%4!==0)A+="=";return A}function E(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}function _(A){return i(A)||o.isBuffer(A)||A&&"object"===typeof A&&"number"===typeof A.length}function S(A){return A<16?"0"+A.toString(16):A.toString(16)}function H(A){for(var t=[],e=0;e<A.length;e++){var r=A.charCodeAt(e);if(r<=127)t.push(r);else{var n=e;r>=55296&&r<=57343&&e++;for(var i=encodeURIComponent(A.slice(n,e+1)).substr(1).split("%"),s=0;s<i.length;s++)t.push(parseInt(i[s],16))}}return t}function N(A){for(var t=[],e=0;e<A.length;e++)t.push(255&A.charCodeAt(e));return t}function k(A){for(var t,e,r,n=[],i=0;i<A.length;i++)t=A.charCodeAt(i),e=t>>8,r=t%256,n.push(r),n.push(e);return n}function P(A){return r.toByteArray(A)}function D(A,t,e,r,n){n&&(r-=r%n);for(var i=0;i<r;i++){if(i+e>=t.length||i>=A.length)break;t[i+e]=A[i]}return i}function O(A){try{return decodeURIComponent(A)}catch(t){return String.fromCharCode(65533)}}},{"base64-js":2,ieee754:3,"is-array":4}],2:[function(A,t,e){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";(function(A){"use strict";var t="undefined"!==typeof Uint8Array?Uint8Array:Array,e="+".charCodeAt(0),n="/".charCodeAt(0),i="0".charCodeAt(0),s="a".charCodeAt(0),o="A".charCodeAt(0);function a(A){var t=A.charCodeAt(0);return t===e?62:t===n?63:t<i?-1:t<i+10?t-i+26+26:t<o+26?t-o:t<s+26?t-s+26:void 0}function c(A){var e,r,n,i,s,o;if(A.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var c=A.length;s="="===A.charAt(c-2)?2:"="===A.charAt(c-1)?1:0,o=new t(3*A.length/4-s),n=s>0?A.length-4:A.length;var u=0;function l(A){o[u++]=A}for(e=0,r=0;e<n;e+=4,r+=3)i=a(A.charAt(e))<<18|a(A.charAt(e+1))<<12|a(A.charAt(e+2))<<6|a(A.charAt(e+3)),l((16711680&i)>>16),l((65280&i)>>8),l(255&i);return 2===s?(i=a(A.charAt(e))<<2|a(A.charAt(e+1))>>4,l(255&i)):1===s&&(i=a(A.charAt(e))<<10|a(A.charAt(e+1))<<4|a(A.charAt(e+2))>>2,l(i>>8&255),l(255&i)),o}function u(A){var t,e,n,i=A.length%3,s="";function o(A){return r.charAt(A)}function a(A){return o(A>>18&63)+o(A>>12&63)+o(A>>6&63)+o(63&A)}for(t=0,n=A.length-i;t<n;t+=3)e=(A[t]<<16)+(A[t+1]<<8)+A[t+2],s+=a(e);switch(i){case 1:e=A[A.length-1],s+=o(e>>2),s+=o(e<<4&63),s+="==";break;case 2:e=(A[A.length-2]<<8)+A[A.length-1],s+=o(e>>10),s+=o(e>>4&63),s+=o(e<<2&63),s+="=";break}return s}A.toByteArray=c,A.fromByteArray=u})("undefined"===typeof e?this.base64js={}:e)},{}],3:[function(A,t,e){e.read=function(A,t,e,r,n){var i,s,o=8*n-r-1,a=(1<<o)-1,c=a>>1,u=-7,l=e?n-1:0,h=e?-1:1,f=A[t+l];for(l+=h,i=f&(1<<-u)-1,f>>=-u,u+=o;u>0;i=256*i+A[t+l],l+=h,u-=8);for(s=i&(1<<-u)-1,i>>=-u,u+=r;u>0;s=256*s+A[t+l],l+=h,u-=8);if(0===i)i=1-c;else{if(i===a)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),i-=c}return(f?-1:1)*s*Math.pow(2,i-r)},e.write=function(A,t,e,r,n,i){var s,o,a,c=8*i-n-1,u=(1<<c)-1,l=u>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,d=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-s))<1&&(s--,a*=2),t+=s+l>=1?h/a:h*Math.pow(2,1-l),t*a>=2&&(s++,a/=2),s+l>=u?(o=0,s=u):s+l>=1?(o=(t*a-1)*Math.pow(2,n),s+=l):(o=t*Math.pow(2,l-1)*Math.pow(2,n),s=0));n>=8;A[e+f]=255&o,f+=d,o/=256,n-=8);for(s=s<<n|o,c+=n;c>0;A[e+f]=255&s,f+=d,s/=256,c-=8);A[e+f-d]|=128*g}},{}],4:[function(A,t,e){var r=Array.isArray,n=Object.prototype.toString;t.exports=r||function(A){return!!A&&"[object Array]"==n.call(A)}},{}],5:[function(A,t,e){"use strict";var r=A("./dataReader");function n(A){if(A){this.data=A,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t<this.data.length;t++)A[t]=255&A[t]}}n.prototype=new r,n.prototype.byteAt=function(A){return this.data[this.zero+A]},n.prototype.lastIndexOfSignature=function(A){for(var t=A.charCodeAt(0),e=A.charCodeAt(1),r=A.charCodeAt(2),n=A.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===e&&this.data[i+2]===r&&this.data[i+3]===n)return i-this.zero;return-1},n.prototype.readData=function(A){if(this.checkOffset(A),0===A)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,t},t.exports=n},{"./dataReader":10}],6:[function(A,t,e){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.encode=function(A,t){var e,n,i,s,o,a,c,u="",l=0;while(l<A.length)e=A.charCodeAt(l++),n=A.charCodeAt(l++),i=A.charCodeAt(l++),s=e>>2,o=(3&e)<<4|n>>4,a=(15&n)<<2|i>>6,c=63&i,isNaN(n)?a=c=64:isNaN(i)&&(c=64),u=u+r.charAt(s)+r.charAt(o)+r.charAt(a)+r.charAt(c);return u},e.decode=function(A,t){var e,n,i,s,o,a,c,u="",l=0;A=A.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(l<A.length)s=r.indexOf(A.charAt(l++)),o=r.indexOf(A.charAt(l++)),a=r.indexOf(A.charAt(l++)),c=r.indexOf(A.charAt(l++)),e=s<<2|o>>4,n=(15&o)<<4|a>>2,i=(3&a)<<6|c,u+=String.fromCharCode(e),64!=a&&(u+=String.fromCharCode(n)),64!=c&&(u+=String.fromCharCode(i));return u}},{}],7:[function(A,t,e){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],8:[function(A,t,e){"use strict";e.STORE={magic:"\0\0",compress:function(A,t){return A},uncompress:function(A){return A},compressInputType:null,uncompressInputType:null},e.DEFLATE=A("./flate")},{"./flate":13}],9:[function(A,t,e){"use strict";var r=A("./utils"),n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(A,t){if("undefined"===typeof A||!A.length)return 0;var e="string"!==r.getTypeOf(A);"undefined"==typeof t&&(t=0);var i=0,s=0,o=0;t^=-1;for(var a=0,c=A.length;a<c;a++)o=e?A[a]:A.charCodeAt(a),s=255&(t^o),i=n[s],t=t>>>8^i;return-1^t}},{"./utils":26}],10:[function(A,t,e){"use strict";var r=A("./utils");function n(A){this.data=null,this.length=0,this.index=0,this.zero=0}n.prototype={checkOffset:function(A){this.checkIndex(this.index+A)},checkIndex:function(A){if(this.length<this.zero+A||A<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+A+"). Corrupted zip ?")},setIndex:function(A){this.checkIndex(A),this.index=A},skip:function(A){this.setIndex(this.index+A)},byteAt:function(A){},readInt:function(A){var t,e=0;for(this.checkOffset(A),t=this.index+A-1;t>=this.index;t--)e=(e<<8)+this.byteAt(t);return this.index+=A,e},readString:function(A){return r.transformTo("string",this.readData(A))},readData:function(A){},lastIndexOfSignature:function(A){},readDate:function(){var A=this.readInt(4);return new Date(1980+(A>>25&127),(A>>21&15)-1,A>>16&31,A>>11&31,A>>5&63,(31&A)<<1)}},t.exports=n},{"./utils":26}],11:[function(A,t,e){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!1,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},{}],12:[function(A,t,e){"use strict";var r=A("./utils");e.string2binary=function(A){return r.string2binary(A)},e.string2Uint8Array=function(A){return r.transformTo("uint8array",A)},e.uint8Array2String=function(A){return r.transformTo("string",A)},e.string2Blob=function(A){var t=r.transformTo("arraybuffer",A);return r.arrayBuffer2Blob(t)},e.arrayBuffer2Blob=function(A){return r.arrayBuffer2Blob(A)},e.transformTo=function(A,t){return r.transformTo(A,t)},e.getTypeOf=function(A){return r.getTypeOf(A)},e.checkSupport=function(A){return r.checkSupport(A)},e.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,e.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,e.pretty=function(A){return r.pretty(A)},e.findCompression=function(A){return r.findCompression(A)},e.isRegExp=function(A){return r.isRegExp(A)}},{"./utils":26}],13:[function(A,t,e){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array,n=A("pako");e.uncompressInputType=r?"uint8array":"array",e.compressInputType=r?"uint8array":"array",e.magic="\b\0",e.compress=function(A,t){return n.deflateRaw(A,{level:t.level||-1})},e.uncompress=function(A){return n.inflateRaw(A)}},{pako:29}],14:[function(A,t,e){"use strict";var r=A("./base64");function n(A,t){if(!(this instanceof n))return new n(A,t);this.files={},this.comment=null,this.root="",A&&this.load(A,t),this.clone=function(){var A=new n;for(var t in this)"function"!==typeof this[t]&&(A[t]=this[t]);return A}}n.prototype=A("./object"),n.prototype.load=A("./load"),n.support=A("./support"),n.defaults=A("./defaults"),n.utils=A("./deprecatedPublicUtils"),n.base64={encode:function(A){return r.encode(A)},decode:function(A){return r.decode(A)}},n.compressions=A("./compressions"),t.exports=n},{"./base64":6,"./compressions":8,"./defaults":11,"./deprecatedPublicUtils":12,"./load":15,"./object":18,"./support":22}],15:[function(A,t,e){"use strict";var r=A("./base64"),n=A("./utf8"),i=A("./utils"),s=A("./zipEntries");t.exports=function(A,t){var e,o,a,c;for(t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),t.base64&&(A=r.decode(A)),o=new s(A,t),e=o.files,a=0;a<e.length;a++)c=e[a],this.file(c.fileNameStr,c.decompressed,{binary:!0,optimizedBinaryString:!0,date:c.date,dir:c.dir,comment:c.fileCommentStr.length?c.fileCommentStr:null,unixPermissions:c.unixPermissions,dosPermissions:c.dosPermissions,createFolders:t.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},{"./base64":6,"./utf8":25,"./utils":26,"./zipEntries":27}],16:[function(A,t,e){(function(A){"use strict";t.exports=function(t,e){return new A(t,e)},t.exports.test=function(t){return A.isBuffer(t)}}).call(this,A("buffer").Buffer)},{buffer:1}],17:[function(A,t,e){"use strict";var r=A("./uint8ArrayReader");function n(A){this.data=A,this.length=this.data.length,this.index=0,this.zero=0}n.prototype=new r,n.prototype.readData=function(A){this.checkOffset(A);var t=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,t},t.exports=n},{"./uint8ArrayReader":23}],18:[function(A,t,e){"use strict";var r=A("./support"),n=A("./utils"),i=A("./crc32"),s=A("./signature"),o=A("./defaults"),a=A("./base64"),c=A("./compressions"),u=A("./compressedObject"),l=A("./nodeBuffer"),h=A("./utf8"),f=A("./stringWriter"),d=A("./uint8ArrayWriter"),g=function(A){if(A._data instanceof u&&(A._data=A._data.getContent(),A.options.binary=!0,A.options.base64=!1,"uint8array"===n.getTypeOf(A._data))){var t=A._data;A._data=new Uint8Array(t.length),0!==t.length&&A._data.set(t,0)}return A._data},p=function(A){var t=g(A),e=n.getTypeOf(t);return"string"===e?!A.options.binary&&r.nodebuffer?l(t,"utf-8"):A.asBinary():t},B=function(A){var t=g(this);return null===t||"undefined"===typeof t?"":(this.options.base64&&(t=a.decode(t)),t=A&&this.options.binary?x.utf8decode(t):n.transformTo("string",t),A||this.options.binary||(t=n.transformTo("string",x.utf8encode(t))),t)},w=function(A,t,e){this.name=A,this.dir=e.dir,this.date=e.date,this.comment=e.comment,this.unixPermissions=e.unixPermissions,this.dosPermissions=e.dosPermissions,this._data=t,this.options=e,this._initialMetadata={dir:e.dir,date:e.date}};w.prototype={asText:function(){return B.call(this,!0)},asBinary:function(){return B.call(this,!1)},asNodeBuffer:function(){var A=p(this);return n.transformTo("nodebuffer",A)},asUint8Array:function(){var A=p(this);return n.transformTo("uint8array",A)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var m=function(A,t){var e,r="";for(e=0;e<t;e++)r+=String.fromCharCode(255&A),A>>>=8;return r},b=function(A){return A=A||{},!0!==A.base64||null!==A.binary&&void 0!==A.binary||(A.binary=!0),A=n.extend(A,o),A.date=A.date||new Date,null!==A.compression&&(A.compression=A.compression.toUpperCase()),A},y=function(A,t,e){var r,i=n.getTypeOf(t);if(e=b(e),"string"===typeof e.unixPermissions&&(e.unixPermissions=parseInt(e.unixPermissions,8)),e.unixPermissions&&16384&e.unixPermissions&&(e.dir=!0),e.dosPermissions&&16&e.dosPermissions&&(e.dir=!0),e.dir&&(A=C(A)),e.createFolders&&(r=v(A))&&Q.call(this,r,!0),e.dir||null===t||"undefined"===typeof t)e.base64=!1,e.binary=!1,t=null,i=null;else if("string"===i)e.binary&&!e.base64&&!0!==e.optimizedBinaryString&&(t=n.string2binary(t));else{if(e.base64=!1,e.binary=!0,!i&&!(t instanceof u))throw new Error("The data of '"+A+"' is in an unsupported format !");"arraybuffer"===i&&(t=n.transformTo("uint8array",t))}var s=new w(A,t,e);return this.files[A]=s,s},v=function(A){"/"==A.slice(-1)&&(A=A.substring(0,A.length-1));var t=A.lastIndexOf("/");return t>0?A.substring(0,t):""},C=function(A){return"/"!=A.slice(-1)&&(A+="/"),A},Q=function(A,t){return t="undefined"!==typeof t&&t,A=C(A),this.files[A]||y.call(this,A,null,{dir:!0,createFolders:t}),this.files[A]},F=function(A,t,e){var r,s=new u;return A._data instanceof u?(s.uncompressedSize=A._data.uncompressedSize,s.crc32=A._data.crc32,0===s.uncompressedSize||A.dir?(t=c["STORE"],s.compressedContent="",s.crc32=0):A._data.compressionMethod===t.magic?s.compressedContent=A._data.getCompressedContent():(r=A._data.getContent(),s.compressedContent=t.compress(n.transformTo(t.compressInputType,r),e))):(r=p(A),r&&0!==r.length&&!A.dir||(t=c["STORE"],r=""),s.uncompressedSize=r.length,s.crc32=i(r),s.compressedContent=t.compress(n.transformTo(t.compressInputType,r),e)),s.compressedSize=s.compressedContent.length,s.compressionMethod=t.magic,s},U=function(A,t){var e=A;return A||(e=t?16893:33204),(65535&e)<<16},L=function(A,t){return 63&(A||0)},I=function(A,t,e,r,o,a){e.compressedContent;var c,u,l,f,d=a!==h.utf8encode,g=n.transformTo("string",a(t.name)),p=n.transformTo("string",h.utf8encode(t.name)),B=t.comment||"",w=n.transformTo("string",a(B)),b=n.transformTo("string",h.utf8encode(B)),y=p.length!==t.name.length,v=b.length!==B.length,C=t.options,Q="",F="",I="";l=t._initialMetadata.dir!==t.dir?t.dir:C.dir,f=t._initialMetadata.date!==t.date?t.date:C.date;var x=0,E=0;l&&(x|=16),"UNIX"===o?(E=798,x|=U(t.unixPermissions,l)):(E=20,x|=L(t.dosPermissions,l)),c=f.getHours(),c<<=6,c|=f.getMinutes(),c<<=5,c|=f.getSeconds()/2,u=f.getFullYear()-1980,u<<=4,u|=f.getMonth()+1,u<<=5,u|=f.getDate(),y&&(F=m(1,1)+m(i(g),4)+p,Q+="up"+m(F.length,2)+F),v&&(I=m(1,1)+m(this.crc32(w),4)+b,Q+="uc"+m(I.length,2)+I);var _="";_+="\n\0",_+=d||!y&&!v?"\0\0":"\0\b",_+=e.compressionMethod,_+=m(c,2),_+=m(u,2),_+=m(e.crc32,4),_+=m(e.compressedSize,4),_+=m(e.uncompressedSize,4),_+=m(g.length,2),_+=m(Q.length,2);var S=s.LOCAL_FILE_HEADER+_+g+Q,H=s.CENTRAL_FILE_HEADER+m(E,2)+_+m(w.length,2)+"\0\0\0\0"+m(x,4)+m(r,4)+g+Q+w;return{fileRecord:S,dirRecord:H,compressedObject:e}},x={load:function(A,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(A){var t,e,r,i,s=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],i=new w(r.name,r._data,n.extend(r.options)),e=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&A(e,i)&&s.push(i));return s},file:function(A,t,e){if(1===arguments.length){if(n.isRegExp(A)){var r=A;return this.filter((function(A,t){return!t.dir&&r.test(A)}))}return this.filter((function(t,e){return!e.dir&&t===A}))[0]||null}return A=this.root+A,y.call(this,A,t,e),this},folder:function(A){if(!A)return this;if(n.isRegExp(A))return this.filter((function(t,e){return e.dir&&A.test(t)}));var t=this.root+A,e=Q.call(this,t),r=this.clone();return r.root=e.name,r},remove:function(A){A=this.root+A;var t=this.files[A];if(t||("/"!=A.slice(-1)&&(A+="/"),t=this.files[A]),t&&!t.dir)delete this.files[A];else for(var e=this.filter((function(t,e){return e.name.slice(0,A.length)===A})),r=0;r<e.length;r++)delete this.files[e[r].name];return this},generate:function(A){A=n.extend(A||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:h.utf8encode}),n.checkSupport(A.type),"darwin"!==A.platform&&"freebsd"!==A.platform&&"linux"!==A.platform&&"sunos"!==A.platform||(A.platform="UNIX"),"win32"===A.platform&&(A.platform="DOS");var t,e,r=[],i=0,o=0,u=n.transformTo("string",A.encodeFileName(A.comment||this.comment||""));for(var l in this.files)if(this.files.hasOwnProperty(l)){var g=this.files[l],p=g.options.compression||A.compression.toUpperCase(),B=c[p];if(!B)throw new Error(p+" is not a valid compression method !");var w=g.options.compressionOptions||A.compressionOptions||{},b=F.call(this,g,B,w),y=I.call(this,l,g,b,i,A.platform,A.encodeFileName);i+=y.fileRecord.length+b.compressedSize,o+=y.dirRecord.length,r.push(y)}var v="";v=s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+m(r.length,2)+m(r.length,2)+m(o,4)+m(i,4)+m(u.length,2)+u;var C=A.type.toLowerCase();for(t="uint8array"===C||"arraybuffer"===C||"blob"===C||"nodebuffer"===C?new d(i+o+v.length):new f(i+o+v.length),e=0;e<r.length;e++)t.append(r[e].fileRecord),t.append(r[e].compressedObject.compressedContent);for(e=0;e<r.length;e++)t.append(r[e].dirRecord);t.append(v);var Q=t.finalize();switch(A.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return n.transformTo(A.type.toLowerCase(),Q);case"blob":return n.arrayBuffer2Blob(n.transformTo("arraybuffer",Q),A.mimeType);case"base64":return A.base64?a.encode(Q):Q;default:return Q}},crc32:function(A,t){return i(A,t)},utf8encode:function(A){return n.transformTo("string",h.utf8encode(A))},utf8decode:function(A){return h.utf8decode(A)}};t.exports=x},{"./base64":6,"./compressedObject":7,"./compressions":8,"./crc32":9,"./defaults":11,"./nodeBuffer":16,"./signature":19,"./stringWriter":21,"./support":22,"./uint8ArrayWriter":24,"./utf8":25,"./utils":26}],19:[function(A,t,e){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\b"},{}],20:[function(A,t,e){"use strict";var r=A("./dataReader"),n=A("./utils");function i(A,t){this.data=A,t||(this.data=n.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new r,i.prototype.byteAt=function(A){return this.data.charCodeAt(this.zero+A)},i.prototype.lastIndexOfSignature=function(A){return this.data.lastIndexOf(A)-this.zero},i.prototype.readData=function(A){this.checkOffset(A);var t=this.data.slice(this.zero+this.index,this.zero+this.index+A);return this.index+=A,t},t.exports=i},{"./dataReader":10,"./utils":26}],21:[function(A,t,e){"use strict";var r=A("./utils"),n=function(){this.data=[]};n.prototype={append:function(A){A=r.transformTo("string",A),this.data.push(A)},finalize:function(){return this.data.join("")}},t.exports=n},{"./utils":26}],22:[function(A,t,e){(function(A){"use strict";if(e.base64=!0,e.array=!0,e.string=!0,e.arraybuffer="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array,e.nodebuffer="undefined"!==typeof A,e.uint8array="undefined"!==typeof Uint8Array,"undefined"===typeof ArrayBuffer)e.blob=!1;else{var t=new ArrayBuffer(0);try{e.blob=0===new Blob([t],{type:"application/zip"}).size}catch(i){try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new r;n.append(t),e.blob=0===n.getBlob("application/zip").size}catch(i){e.blob=!1}}}}).call(this,A("buffer").Buffer)},{buffer:1}],23:[function(A,t,e){"use strict";var r=A("./arrayReader");function n(A){A&&(this.data=A,this.length=this.data.length,this.index=0,this.zero=0)}n.prototype=new r,n.prototype.readData=function(A){if(this.checkOffset(A),0===A)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+A);return this.index+=A,t},t.exports=n},{"./arrayReader":5}],24:[function(A,t,e){"use strict";var r=A("./utils"),n=function(A){this.data=new Uint8Array(A),this.index=0};n.prototype={append:function(A){0!==A.length&&(A=r.transformTo("uint8array",A),this.data.set(A,this.index),this.index+=A.length)},finalize:function(){return this.data}},t.exports=n},{"./utils":26}],25:[function(A,t,e){"use strict";for(var r=A("./utils"),n=A("./support"),i=A("./nodeBuffer"),s=new Array(256),o=0;o<256;o++)s[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;s[254]=s[254]=1;var a=function(A){var t,e,r,i,s,o=A.length,a=0;for(i=0;i<o;i++)e=A.charCodeAt(i),55296===(64512&e)&&i+1<o&&(r=A.charCodeAt(i+1),56320===(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),i++)),a+=e<128?1:e<2048?2:e<65536?3:4;for(t=n.uint8array?new Uint8Array(a):new Array(a),s=0,i=0;s<a;i++)e=A.charCodeAt(i),55296===(64512&e)&&i+1<o&&(r=A.charCodeAt(i+1),56320===(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),i++)),e<128?t[s++]=e:e<2048?(t[s++]=192|e>>>6,t[s++]=128|63&e):e<65536?(t[s++]=224|e>>>12,t[s++]=128|e>>>6&63,t[s++]=128|63&e):(t[s++]=240|e>>>18,t[s++]=128|e>>>12&63,t[s++]=128|e>>>6&63,t[s++]=128|63&e);return t},c=function(A,t){var e;t=t||A.length,t>A.length&&(t=A.length),e=t-1;while(e>=0&&128===(192&A[e]))e--;return e<0||0===e?t:e+s[A[e]]>t?e:t},u=function(A){var t,e,n,i,o=A.length,a=new Array(2*o);for(e=0,t=0;t<o;)if(n=A[t++],n<128)a[e++]=n;else if(i=s[n],i>4)a[e++]=65533,t+=i-1;else{n&=2===i?31:3===i?15:7;while(i>1&&t<o)n=n<<6|63&A[t++],i--;i>1?a[e++]=65533:n<65536?a[e++]=n:(n-=65536,a[e++]=55296|n>>10&1023,a[e++]=56320|1023&n)}return a.length!==e&&(a.subarray?a=a.subarray(0,e):a.length=e),r.applyFromCharCode(a)};e.utf8encode=function(A){return n.nodebuffer?i(A,"utf-8"):a(A)},e.utf8decode=function(A){if(n.nodebuffer)return r.transformTo("nodebuffer",A).toString("utf-8");A=r.transformTo(n.uint8array?"uint8array":"array",A);var t=[],e=0,i=A.length,s=65536;while(e<i){var o=c(A,Math.min(e+s,i));n.uint8array?t.push(u(A.subarray(e,o))):t.push(u(A.slice(e,o))),e=o}return t.join("")}},{"./nodeBuffer":16,"./support":22,"./utils":26}],26:[function(A,t,e){"use strict";var r=A("./support"),n=A("./compressions"),i=A("./nodeBuffer");function s(A){return A}function o(A,t){for(var e=0;e<A.length;++e)t[e]=255&A.charCodeAt(e);return t}function a(A){var t=65536,r=[],n=A.length,s=e.getTypeOf(A),o=0,a=!0;try{switch(s){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,i(0));break}}catch(l){a=!1}if(!a){for(var c="",u=0;u<A.length;u++)c+=String.fromCharCode(A[u]);return c}while(o<n&&t>1)try{"array"===s||"nodebuffer"===s?r.push(String.fromCharCode.apply(null,A.slice(o,Math.min(o+t,n)))):r.push(String.fromCharCode.apply(null,A.subarray(o,Math.min(o+t,n)))),o+=t}catch(l){t=Math.floor(t/2)}return r.join("")}function c(A,t){for(var e=0;e<A.length;e++)t[e]=A[e];return t}e.string2binary=function(A){for(var t="",e=0;e<A.length;e++)t+=String.fromCharCode(255&A.charCodeAt(e));return t},e.arrayBuffer2Blob=function(A,t){e.checkSupport("blob"),t=t||"application/zip";try{return new Blob([A],{type:t})}catch(i){try{var r=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,n=new r;return n.append(A),n.getBlob(t)}catch(i){throw new Error("Bug : can't construct the Blob.")}}},e.applyFromCharCode=a;var u={};u["string"]={string:s,array:function(A){return o(A,new Array(A.length))},arraybuffer:function(A){return u["string"]["uint8array"](A).buffer},uint8array:function(A){return o(A,new Uint8Array(A.length))},nodebuffer:function(A){return o(A,i(A.length))}},u["array"]={string:a,array:s,arraybuffer:function(A){return new Uint8Array(A).buffer},uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return i(A)}},u["arraybuffer"]={string:function(A){return a(new Uint8Array(A))},array:function(A){return c(new Uint8Array(A),new Array(A.byteLength))},arraybuffer:s,uint8array:function(A){return new Uint8Array(A)},nodebuffer:function(A){return i(new Uint8Array(A))}},u["uint8array"]={string:a,array:function(A){return c(A,new Array(A.length))},arraybuffer:function(A){return A.buffer},uint8array:s,nodebuffer:function(A){return i(A)}},u["nodebuffer"]={string:a,array:function(A){return c(A,new Array(A.length))},arraybuffer:function(A){return u["nodebuffer"]["uint8array"](A).buffer},uint8array:function(A){return c(A,new Uint8Array(A.length))},nodebuffer:s},e.transformTo=function(A,t){if(t||(t=""),!A)return t;e.checkSupport(A);var r=e.getTypeOf(t),n=u[r][A](t);return n},e.getTypeOf=function(A){return"string"===typeof A?"string":"[object Array]"===Object.prototype.toString.call(A)?"array":r.nodebuffer&&i.test(A)?"nodebuffer":r.uint8array&&A instanceof Uint8Array?"uint8array":r.arraybuffer&&A instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(A){var t=r[A.toLowerCase()];if(!t)throw new Error(A+" is not supported by this browser")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(A){var t,e,r="";for(e=0;e<(A||"").length;e++)t=A.charCodeAt(e),r+="\\x"+(t<16?"0":"")+t.toString(16).toUpperCase();return r},e.findCompression=function(A){for(var t in n)if(n.hasOwnProperty(t)&&n[t].magic===A)return n[t];return null},e.isRegExp=function(A){return"[object RegExp]"===Object.prototype.toString.call(A)},e.extend=function(){var A,t,e={};for(A=0;A<arguments.length;A++)for(t in arguments[A])arguments[A].hasOwnProperty(t)&&"undefined"===typeof e[t]&&(e[t]=arguments[A][t]);return e}},{"./compressions":8,"./nodeBuffer":16,"./support":22}],27:[function(A,t,e){"use strict";var r=A("./stringReader"),n=A("./nodeBufferReader"),i=A("./uint8ArrayReader"),s=A("./arrayReader"),o=A("./utils"),a=A("./signature"),c=A("./zipEntry"),u=A("./support");A("./object");function l(A,t){this.files=[],this.loadOptions=t,A&&this.load(A)}l.prototype={checkSignature:function(A){var t=this.reader.readString(4);if(t!==A)throw new Error("Corrupted zip or bug : unexpected signature ("+o.pretty(t)+", expected "+o.pretty(A)+")")},isSignature:function(A,t){var e=this.reader.index;this.reader.setIndex(A);var r=this.reader.readString(4),n=r===t;return this.reader.setIndex(e),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var A=this.reader.readData(this.zipCommentLength),t=u.uint8array?"uint8array":"array",e=o.transformTo(t,A);this.zipComment=this.loadOptions.decodeFileName(e)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var A,t,e,r=this.zip64EndOfCentralSize-44,n=0;while(n<r)A=this.reader.readInt(2),t=this.reader.readInt(4),e=this.reader.readString(t),this.zip64ExtensibleData[A]={id:A,length:t,value:e}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var A,t;for(A=0;A<this.files.length;A++)t=this.files[A],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var A;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===a.CENTRAL_FILE_HEADER)A=new c({zip64:this.zip64},this.loadOptions),A.readCentralPart(this.reader),this.files.push(A);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var A=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(A<0){var t=!this.isSignature(0,a.LOCAL_FILE_HEADER);throw t?new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip : can't find end of central directory")}this.reader.setIndex(A);var e=A;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,A=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),A<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(A),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(A){var t=o.getTypeOf(A);if(o.checkSupport(t),"string"!==t||u.uint8array)if("nodebuffer"===t)this.reader=new n(A);else if(u.uint8array)this.reader=new i(o.transformTo("uint8array",A));else{if(!u.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new s(o.transformTo("array",A))}else this.reader=new r(A,this.loadOptions.optimizedBinaryString)},load:function(A){this.prepareReader(A),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./arrayReader":5,"./nodeBufferReader":17,"./object":18,"./signature":19,"./stringReader":20,"./support":22,"./uint8ArrayReader":23,"./utils":26,"./zipEntry":28}],28:[function(A,t,e){"use strict";var r=A("./stringReader"),n=A("./utils"),i=A("./compressedObject"),s=A("./object"),o=A("./support"),a=0,c=3;function u(A,t){this.options=A,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1===(1&this.bitFlag)},useUTF8:function(){return 2048===(2048&this.bitFlag)},prepareCompressedContent:function(A,t,e){return function(){var r=A.index;A.setIndex(t);var n=A.readData(e);return A.setIndex(r),n}},prepareContent:function(A,t,e,r,i){return function(){var A=n.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(A);if(t.length!==i)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(A){var t,e;if(A.skip(22),this.fileNameLength=A.readInt(2),e=A.readInt(2),this.fileName=A.readData(this.fileNameLength),A.skip(e),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(t=n.findCompression(this.compressionMethod),null===t)throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");if(this.decompressed=new i,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(A,A.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(A,A.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=n.transformTo("string",this.decompressed.getContent()),s.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(A){if(this.versionMadeBy=A.readInt(2),this.versionNeeded=A.readInt(2),this.bitFlag=A.readInt(2),this.compressionMethod=A.readString(2),this.date=A.readDate(),this.crc32=A.readInt(4),this.compressedSize=A.readInt(4),this.uncompressedSize=A.readInt(4),this.fileNameLength=A.readInt(2),this.extraFieldsLength=A.readInt(2),this.fileCommentLength=A.readInt(2),this.diskNumberStart=A.readInt(2),this.internalFileAttributes=A.readInt(2),this.externalFileAttributes=A.readInt(4),this.localHeaderOffset=A.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=A.readData(this.fileNameLength),this.readExtraFields(A),this.parseZIP64ExtraField(A),this.fileComment=A.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var A=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),A===a&&(this.dosPermissions=63&this.externalFileAttributes),A===c&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(A){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(A){var t,e,r,n=A.index;this.extraFields=this.extraFields||{};while(A.index<n+this.extraFieldsLength)t=A.readInt(2),e=A.readInt(2),r=A.readString(e),this.extraFields[t]={id:t,length:e,value:r}},handleUTF8:function(){var A=o.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var e=n.transformTo(A,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(e)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=n.transformTo(A,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var A=this.extraFields[28789];if(A){var t=new r(A.value);return 1!==t.readInt(1)||s.crc32(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readString(A.length-5))}return null},findExtraFieldUnicodeComment:function(){var A=this.extraFields[25461];if(A){var t=new r(A.value);return 1!==t.readInt(1)||s.crc32(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readString(A.length-5))}return null}},t.exports=u},{"./compressedObject":7,"./object":18,"./stringReader":20,"./support":22,"./utils":26}],29:[function(A,t,e){"use strict";var r=A("./lib/utils/common").assign,n=A("./lib/deflate"),i=A("./lib/inflate"),s=A("./lib/zlib/constants"),o={};r(o,n,i,s),t.exports=o},{"./lib/deflate":30,"./lib/inflate":31,"./lib/utils/common":32,"./lib/zlib/constants":35}],30:[function(A,t,e){"use strict";var r=A("./zlib/deflate"),n=A("./utils/common"),i=A("./utils/strings"),s=A("./zlib/messages"),o=A("./zlib/zstream"),a=Object.prototype.toString,c=0,u=4,l=0,h=1,f=2,d=-1,g=0,p=8;function B(A){if(!(this instanceof B))return new B(A);this.options=n.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:g,to:""},A||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var e=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==l)throw new Error(s[e]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var c;if(c="string"===typeof t.dictionary?i.string2buf(t.dictionary):"[object ArrayBuffer]"===a.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,e=r.deflateSetDictionary(this.strm,c),e!==l)throw new Error(s[e]);this._dict_set=!0}}function w(A,t){var e=new B(t);if(e.push(A,!0),e.err)throw e.msg;return e.result}function m(A,t){return t=t||{},t.raw=!0,w(A,t)}function b(A,t){return t=t||{},t.gzip=!0,w(A,t)}B.prototype.push=function(A,t){var e,s,o=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?u:c,"string"===typeof A?o.input=i.string2buf(A):"[object ArrayBuffer]"===a.call(A)?o.input=new Uint8Array(A):o.input=A,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new n.Buf8(d),o.next_out=0,o.avail_out=d),e=r.deflate(o,s),e!==h&&e!==l)return this.onEnd(e),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||s!==u&&s!==f)||("string"===this.options.to?this.onData(i.buf2binstring(n.shrinkBuf(o.output,o.next_out))):this.onData(n.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&e!==h);return s===u?(e=r.deflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===l):s!==f||(this.onEnd(l),o.avail_out=0,!0)},B.prototype.onData=function(A){this.chunks.push(A)},B.prototype.onEnd=function(A){A===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},e.Deflate=B,e.deflate=w,e.deflateRaw=m,e.gzip=b},{"./utils/common":32,"./utils/strings":33,"./zlib/deflate":37,"./zlib/messages":42,"./zlib/zstream":44}],31:[function(A,t,e){"use strict";var r=A("./zlib/inflate"),n=A("./utils/common"),i=A("./utils/strings"),s=A("./zlib/constants"),o=A("./zlib/messages"),a=A("./zlib/zstream"),c=A("./zlib/gzheader"),u=Object.prototype.toString;function l(A){if(!(this instanceof l))return new l(A);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},A||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||A&&A.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0===(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var e=r.inflateInit2(this.strm,t.windowBits);if(e!==s.Z_OK)throw new Error(o[e]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function h(A,t){var e=new l(t);if(e.push(A,!0),e.err)throw e.msg;return e.result}function f(A,t){return t=t||{},t.raw=!0,h(A,t)}l.prototype.push=function(A,t){var e,o,a,c,l,h,f=this.strm,d=this.options.chunkSize,g=this.options.dictionary,p=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?s.Z_FINISH:s.Z_NO_FLUSH,"string"===typeof A?f.input=i.binstring2buf(A):"[object ArrayBuffer]"===u.call(A)?f.input=new Uint8Array(A):f.input=A,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new n.Buf8(d),f.next_out=0,f.avail_out=d),e=r.inflate(f,s.Z_NO_FLUSH),e===s.Z_NEED_DICT&&g&&(h="string"===typeof g?i.string2buf(g):"[object ArrayBuffer]"===u.call(g)?new Uint8Array(g):g,e=r.inflateSetDictionary(this.strm,h)),e===s.Z_BUF_ERROR&&!0===p&&(e=s.Z_OK,p=!1),e!==s.Z_STREAM_END&&e!==s.Z_OK)return this.onEnd(e),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&e!==s.Z_STREAM_END&&(0!==f.avail_in||o!==s.Z_FINISH&&o!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(a=i.utf8border(f.output,f.next_out),c=f.next_out-a,l=i.buf2string(f.output,a),f.next_out=c,f.avail_out=d-c,c&&n.arraySet(f.output,f.output,a,c,0),this.onData(l)):this.onData(n.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(p=!0)}while((f.avail_in>0||0===f.avail_out)&&e!==s.Z_STREAM_END);return e===s.Z_STREAM_END&&(o=s.Z_FINISH),o===s.Z_FINISH?(e=r.inflateEnd(this.strm),this.onEnd(e),this.ended=!0,e===s.Z_OK):o!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),f.avail_out=0,!0)},l.prototype.onData=function(A){this.chunks.push(A)},l.prototype.onEnd=function(A){A===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg},e.Inflate=l,e.inflate=h,e.inflateRaw=f,e.ungzip=h},{"./utils/common":32,"./utils/strings":33,"./zlib/constants":35,"./zlib/gzheader":38,"./zlib/inflate":40,"./zlib/messages":42,"./zlib/zstream":44}],32:[function(A,t,e){"use strict";var r="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;e.assign=function(A){var t=Array.prototype.slice.call(arguments,1);while(t.length){var e=t.shift();if(e){if("object"!==typeof e)throw new TypeError(e+"must be non-object");for(var r in e)e.hasOwnProperty(r)&&(A[r]=e[r])}}return A},e.shrinkBuf=function(A,t){return A.length===t?A:A.subarray?A.subarray(0,t):(A.length=t,A)};var n={arraySet:function(A,t,e,r,n){if(t.subarray&&A.subarray)A.set(t.subarray(e,e+r),n);else for(var i=0;i<r;i++)A[n+i]=t[e+i]},flattenChunks:function(A){var t,e,r,n,i,s;for(r=0,t=0,e=A.length;t<e;t++)r+=A[t].length;for(s=new Uint8Array(r),n=0,t=0,e=A.length;t<e;t++)i=A[t],s.set(i,n),n+=i.length;return s}},i={arraySet:function(A,t,e,r,n){for(var i=0;i<r;i++)A[n+i]=t[e+i]},flattenChunks:function(A){return[].concat.apply([],A)}};e.setTyped=function(A){A?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(r)},{}],33:[function(A,t,e){"use strict";var r=A("./common"),n=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(c){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){i=!1}for(var s=new r.Buf8(256),o=0;o<256;o++)s[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function a(A,t){if(t<65537&&(A.subarray&&i||!A.subarray&&n))return String.fromCharCode.apply(null,r.shrinkBuf(A,t));for(var e="",s=0;s<t;s++)e+=String.fromCharCode(A[s]);return e}s[254]=s[254]=1,e.string2buf=function(A){var t,e,n,i,s,o=A.length,a=0;for(i=0;i<o;i++)e=A.charCodeAt(i),55296===(64512&e)&&i+1<o&&(n=A.charCodeAt(i+1),56320===(64512&n)&&(e=65536+(e-55296<<10)+(n-56320),i++)),a+=e<128?1:e<2048?2:e<65536?3:4;for(t=new r.Buf8(a),s=0,i=0;s<a;i++)e=A.charCodeAt(i),55296===(64512&e)&&i+1<o&&(n=A.charCodeAt(i+1),56320===(64512&n)&&(e=65536+(e-55296<<10)+(n-56320),i++)),e<128?t[s++]=e:e<2048?(t[s++]=192|e>>>6,t[s++]=128|63&e):e<65536?(t[s++]=224|e>>>12,t[s++]=128|e>>>6&63,t[s++]=128|63&e):(t[s++]=240|e>>>18,t[s++]=128|e>>>12&63,t[s++]=128|e>>>6&63,t[s++]=128|63&e);return t},e.buf2binstring=function(A){return a(A,A.length)},e.binstring2buf=function(A){for(var t=new r.Buf8(A.length),e=0,n=t.length;e<n;e++)t[e]=A.charCodeAt(e);return t},e.buf2string=function(A,t){var e,r,n,i,o=t||A.length,c=new Array(2*o);for(r=0,e=0;e<o;)if(n=A[e++],n<128)c[r++]=n;else if(i=s[n],i>4)c[r++]=65533,e+=i-1;else{n&=2===i?31:3===i?15:7;while(i>1&&e<o)n=n<<6|63&A[e++],i--;i>1?c[r++]=65533:n<65536?c[r++]=n:(n-=65536,c[r++]=55296|n>>10&1023,c[r++]=56320|1023&n)}return a(c,r)},e.utf8border=function(A,t){var e;t=t||A.length,t>A.length&&(t=A.length),e=t-1;while(e>=0&&128===(192&A[e]))e--;return e<0||0===e?t:e+s[A[e]]>t?e:t}},{"./common":32}],34:[function(A,t,e){"use strict";function r(A,t,e,r){var n=65535&A|0,i=A>>>16&65535|0,s=0;while(0!==e){s=e>2e3?2e3:e,e-=s;do{n=n+t[r++]|0,i=i+n|0}while(--s);n%=65521,i%=65521}return n|i<<16|0}t.exports=r},{}],35:[function(A,t,e){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],36:[function(A,t,e){"use strict";function r(){for(var A,t=[],e=0;e<256;e++){A=e;for(var r=0;r<8;r++)A=1&A?3988292384^A>>>1:A>>>1;t[e]=A}return t}var n=r();function i(A,t,e,r){var i=n,s=r+e;A^=-1;for(var o=r;o<s;o++)A=A>>>8^i[255&(A^t[o])];return-1^A}t.exports=i},{}],37:[function(A,t,e){"use strict";var r,n=A("../utils/common"),i=A("./trees"),s=A("./adler32"),o=A("./crc32"),a=A("./messages"),c=0,u=1,l=3,h=4,f=5,d=0,g=1,p=-2,B=-3,w=-5,m=-1,b=1,y=2,v=3,C=4,Q=0,F=2,U=8,L=9,I=15,x=8,E=29,_=256,S=_+1+E,H=30,N=19,k=2*S+1,P=15,D=3,O=258,T=O+D+1,M=32,K=42,R=69,j=73,V=91,G=103,z=113,q=666,W=1,X=2,J=3,Y=4,Z=3;function $(A,t){return A.msg=a[t],t}function AA(A){return(A<<1)-(A>4?9:0)}function tA(A){var t=A.length;while(--t>=0)A[t]=0}function eA(A){var t=A.state,e=t.pending;e>A.avail_out&&(e=A.avail_out),0!==e&&(n.arraySet(A.output,t.pending_buf,t.pending_out,e,A.next_out),A.next_out+=e,t.pending_out+=e,A.total_out+=e,A.avail_out-=e,t.pending-=e,0===t.pending&&(t.pending_out=0))}function rA(A,t){i._tr_flush_block(A,A.block_start>=0?A.block_start:-1,A.strstart-A.block_start,t),A.block_start=A.strstart,eA(A.strm)}function nA(A,t){A.pending_buf[A.pending++]=t}function iA(A,t){A.pending_buf[A.pending++]=t>>>8&255,A.pending_buf[A.pending++]=255&t}function sA(A,t,e,r){var i=A.avail_in;return i>r&&(i=r),0===i?0:(A.avail_in-=i,n.arraySet(t,A.input,A.next_in,i,e),1===A.state.wrap?A.adler=s(A.adler,t,i,e):2===A.state.wrap&&(A.adler=o(A.adler,t,i,e)),A.next_in+=i,A.total_in+=i,i)}function oA(A,t){var e,r,n=A.max_chain_length,i=A.strstart,s=A.prev_length,o=A.nice_match,a=A.strstart>A.w_size-T?A.strstart-(A.w_size-T):0,c=A.window,u=A.w_mask,l=A.prev,h=A.strstart+O,f=c[i+s-1],d=c[i+s];A.prev_length>=A.good_match&&(n>>=2),o>A.lookahead&&(o=A.lookahead);do{if(e=t,c[e+s]===d&&c[e+s-1]===f&&c[e]===c[i]&&c[++e]===c[i+1]){i+=2,e++;do{}while(c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&c[++i]===c[++e]&&i<h);if(r=O-(h-i),i=h-O,r>s){if(A.match_start=t,s=r,r>=o)break;f=c[i+s-1],d=c[i+s]}}}while((t=l[t&u])>a&&0!==--n);return s<=A.lookahead?s:A.lookahead}function aA(A){var t,e,r,i,s,o=A.w_size;do{if(i=A.window_size-A.lookahead-A.strstart,A.strstart>=o+(o-T)){n.arraySet(A.window,A.window,o,o,0),A.match_start-=o,A.strstart-=o,A.block_start-=o,e=A.hash_size,t=e;do{r=A.head[--t],A.head[t]=r>=o?r-o:0}while(--e);e=o,t=e;do{r=A.prev[--t],A.prev[t]=r>=o?r-o:0}while(--e);i+=o}if(0===A.strm.avail_in)break;if(e=sA(A.strm,A.window,A.strstart+A.lookahead,i),A.lookahead+=e,A.lookahead+A.insert>=D){s=A.strstart-A.insert,A.ins_h=A.window[s],A.ins_h=(A.ins_h<<A.hash_shift^A.window[s+1])&A.hash_mask;while(A.insert)if(A.ins_h=(A.ins_h<<A.hash_shift^A.window[s+D-1])&A.hash_mask,A.prev[s&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=s,s++,A.insert--,A.lookahead+A.insert<D)break}}while(A.lookahead<T&&0!==A.strm.avail_in)}function cA(A,t){var e=65535;for(e>A.pending_buf_size-5&&(e=A.pending_buf_size-5);;){if(A.lookahead<=1){if(aA(A),0===A.lookahead&&t===c)return W;if(0===A.lookahead)break}A.strstart+=A.lookahead,A.lookahead=0;var r=A.block_start+e;if((0===A.strstart||A.strstart>=r)&&(A.lookahead=A.strstart-r,A.strstart=r,rA(A,!1),0===A.strm.avail_out))return W;if(A.strstart-A.block_start>=A.w_size-T&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):(A.strstart>A.block_start&&(rA(A,!1),A.strm.avail_out),W)}function uA(A,t){for(var e,r;;){if(A.lookahead<T){if(aA(A),A.lookahead<T&&t===c)return W;if(0===A.lookahead)break}if(e=0,A.lookahead>=D&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+D-1])&A.hash_mask,e=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),0!==e&&A.strstart-e<=A.w_size-T&&(A.match_length=oA(A,e)),A.match_length>=D)if(r=i._tr_tally(A,A.strstart-A.match_start,A.match_length-D),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=D){A.match_length--;do{A.strstart++,A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+D-1])&A.hash_mask,e=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart}while(0!==--A.match_length);A.strstart++}else A.strstart+=A.match_length,A.match_length=0,A.ins_h=A.window[A.strstart],A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+1])&A.hash_mask;else r=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++;if(r&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=A.strstart<D-1?A.strstart:D-1,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function lA(A,t){for(var e,r,n;;){if(A.lookahead<T){if(aA(A),A.lookahead<T&&t===c)return W;if(0===A.lookahead)break}if(e=0,A.lookahead>=D&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+D-1])&A.hash_mask,e=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),A.prev_length=A.match_length,A.prev_match=A.match_start,A.match_length=D-1,0!==e&&A.prev_length<A.max_lazy_match&&A.strstart-e<=A.w_size-T&&(A.match_length=oA(A,e),A.match_length<=5&&(A.strategy===b||A.match_length===D&&A.strstart-A.match_start>4096)&&(A.match_length=D-1)),A.prev_length>=D&&A.match_length<=A.prev_length){n=A.strstart+A.lookahead-D,r=i._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-D),A.lookahead-=A.prev_length-1,A.prev_length-=2;do{++A.strstart<=n&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+D-1])&A.hash_mask,e=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart)}while(0!==--A.prev_length);if(A.match_available=0,A.match_length=D-1,A.strstart++,r&&(rA(A,!1),0===A.strm.avail_out))return W}else if(A.match_available){if(r=i._tr_tally(A,0,A.window[A.strstart-1]),r&&rA(A,!1),A.strstart++,A.lookahead--,0===A.strm.avail_out)return W}else A.match_available=1,A.strstart++,A.lookahead--}return A.match_available&&(r=i._tr_tally(A,0,A.window[A.strstart-1]),A.match_available=0),A.insert=A.strstart<D-1?A.strstart:D-1,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function hA(A,t){for(var e,r,n,s,o=A.window;;){if(A.lookahead<=O){if(aA(A),A.lookahead<=O&&t===c)return W;if(0===A.lookahead)break}if(A.match_length=0,A.lookahead>=D&&A.strstart>0&&(n=A.strstart-1,r=o[n],r===o[++n]&&r===o[++n]&&r===o[++n])){s=A.strstart+O;do{}while(r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&r===o[++n]&&n<s);A.match_length=O-(s-n),A.match_length>A.lookahead&&(A.match_length=A.lookahead)}if(A.match_length>=D?(e=i._tr_tally(A,1,A.match_length-D),A.lookahead-=A.match_length,A.strstart+=A.match_length,A.match_length=0):(e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++),e&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function fA(A,t){for(var e;;){if(0===A.lookahead&&(aA(A),0===A.lookahead)){if(t===c)return W;break}if(A.match_length=0,e=i._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++,e&&(rA(A,!1),0===A.strm.avail_out))return W}return A.insert=0,t===h?(rA(A,!0),0===A.strm.avail_out?J:Y):A.last_lit&&(rA(A,!1),0===A.strm.avail_out)?W:X}function dA(A,t,e,r,n){this.good_length=A,this.max_lazy=t,this.nice_length=e,this.max_chain=r,this.func=n}function gA(A){A.window_size=2*A.w_size,tA(A.head),A.max_lazy_match=r[A.level].max_lazy,A.good_match=r[A.level].good_length,A.nice_match=r[A.level].nice_length,A.max_chain_length=r[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=D-1,A.match_available=0,A.ins_h=0}function pA(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=U,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*k),this.dyn_dtree=new n.Buf16(2*(2*H+1)),this.bl_tree=new n.Buf16(2*(2*N+1)),tA(this.dyn_ltree),tA(this.dyn_dtree),tA(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(P+1),this.heap=new n.Buf16(2*S+1),tA(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*S+1),tA(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function BA(A){var t;return A&&A.state?(A.total_in=A.total_out=0,A.data_type=F,t=A.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?K:z,A.adler=2===t.wrap?0:1,t.last_flush=c,i._tr_init(t),d):$(A,p)}function wA(A){var t=BA(A);return t===d&&gA(A.state),t}function mA(A,t){return A&&A.state?2!==A.state.wrap?p:(A.state.gzhead=t,d):p}function bA(A,t,e,r,i,s){if(!A)return p;var o=1;if(t===m&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>L||e!==U||r<8||r>15||t<0||t>9||s<0||s>C)return $(A,p);8===r&&(r=9);var a=new pA;return A.state=a,a.strm=A,a.wrap=o,a.gzhead=null,a.w_bits=r,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=i+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+D-1)/D),a.window=new n.Buf8(2*a.w_size),a.head=new n.Buf16(a.hash_size),a.prev=new n.Buf16(a.w_size),a.lit_bufsize=1<<i+6,a.pending_buf_size=4*a.lit_bufsize,a.pending_buf=new n.Buf8(a.pending_buf_size),a.d_buf=a.lit_bufsize>>1,a.l_buf=3*a.lit_bufsize,a.level=t,a.strategy=s,a.method=e,wA(A)}function yA(A,t){return bA(A,t,U,I,x,Q)}function vA(A,t){var e,n,s,a;if(!A||!A.state||t>f||t<0)return A?$(A,p):p;if(n=A.state,!A.output||!A.input&&0!==A.avail_in||n.status===q&&t!==h)return $(A,0===A.avail_out?w:p);if(n.strm=A,e=n.last_flush,n.last_flush=t,n.status===K)if(2===n.wrap)A.adler=0,nA(n,31),nA(n,139),nA(n,8),n.gzhead?(nA(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),nA(n,255&n.gzhead.time),nA(n,n.gzhead.time>>8&255),nA(n,n.gzhead.time>>16&255),nA(n,n.gzhead.time>>24&255),nA(n,9===n.level?2:n.strategy>=y||n.level<2?4:0),nA(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(nA(n,255&n.gzhead.extra.length),nA(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(A.adler=o(A.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=R):(nA(n,0),nA(n,0),nA(n,0),nA(n,0),nA(n,0),nA(n,9===n.level?2:n.strategy>=y||n.level<2?4:0),nA(n,Z),n.status=z);else{var B=U+(n.w_bits-8<<4)<<8,m=-1;m=n.strategy>=y||n.level<2?0:n.level<6?1:6===n.level?2:3,B|=m<<6,0!==n.strstart&&(B|=M),B+=31-B%31,n.status=z,iA(n,B),0!==n.strstart&&(iA(n,A.adler>>>16),iA(n,65535&A.adler)),A.adler=1}if(n.status===R)if(n.gzhead.extra){s=n.pending;while(n.gzindex<(65535&n.gzhead.extra.length)){if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size))break;nA(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++}n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=j)}else n.status=j;if(n.status===j)if(n.gzhead.name){s=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,nA(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),0===a&&(n.gzindex=0,n.status=V)}else n.status=V;if(n.status===V)if(n.gzhead.comment){s=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),eA(A),s=n.pending,n.pending===n.pending_buf_size)){a=1;break}a=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,nA(n,a)}while(0!==a);n.gzhead.hcrc&&n.pending>s&&(A.adler=o(A.adler,n.pending_buf,n.pending-s,s)),0===a&&(n.status=G)}else n.status=G;if(n.status===G&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&eA(A),n.pending+2<=n.pending_buf_size&&(nA(n,255&A.adler),nA(n,A.adler>>8&255),A.adler=0,n.status=z)):n.status=z),0!==n.pending){if(eA(A),0===A.avail_out)return n.last_flush=-1,d}else if(0===A.avail_in&&AA(t)<=AA(e)&&t!==h)return $(A,w);if(n.status===q&&0!==A.avail_in)return $(A,w);if(0!==A.avail_in||0!==n.lookahead||t!==c&&n.status!==q){var b=n.strategy===y?fA(n,t):n.strategy===v?hA(n,t):r[n.level].func(n,t);if(b!==J&&b!==Y||(n.status=q),b===W||b===J)return 0===A.avail_out&&(n.last_flush=-1),d;if(b===X&&(t===u?i._tr_align(n):t!==f&&(i._tr_stored_block(n,0,0,!1),t===l&&(tA(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),eA(A),0===A.avail_out))return n.last_flush=-1,d}return t!==h?d:n.wrap<=0?g:(2===n.wrap?(nA(n,255&A.adler),nA(n,A.adler>>8&255),nA(n,A.adler>>16&255),nA(n,A.adler>>24&255),nA(n,255&A.total_in),nA(n,A.total_in>>8&255),nA(n,A.total_in>>16&255),nA(n,A.total_in>>24&255)):(iA(n,A.adler>>>16),iA(n,65535&A.adler)),eA(A),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?d:g)}function CA(A){var t;return A&&A.state?(t=A.state.status,t!==K&&t!==R&&t!==j&&t!==V&&t!==G&&t!==z&&t!==q?$(A,p):(A.state=null,t===z?$(A,B):d)):p}function QA(A,t){var e,r,i,o,a,c,u,l,h=t.length;if(!A||!A.state)return p;if(e=A.state,o=e.wrap,2===o||1===o&&e.status!==K||e.lookahead)return p;1===o&&(A.adler=s(A.adler,t,h,0)),e.wrap=0,h>=e.w_size&&(0===o&&(tA(e.head),e.strstart=0,e.block_start=0,e.insert=0),l=new n.Buf8(e.w_size),n.arraySet(l,t,h-e.w_size,e.w_size,0),t=l,h=e.w_size),a=A.avail_in,c=A.next_in,u=A.input,A.avail_in=h,A.next_in=0,A.input=t,aA(e);while(e.lookahead>=D){r=e.strstart,i=e.lookahead-(D-1);do{e.ins_h=(e.ins_h<<e.hash_shift^e.window[r+D-1])&e.hash_mask,e.prev[r&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=r,r++}while(--i);e.strstart=r,e.lookahead=D-1,aA(e)}return e.strstart+=e.lookahead,e.block_start=e.strstart,e.insert=e.lookahead,e.lookahead=0,e.match_length=e.prev_length=D-1,e.match_available=0,A.next_in=c,A.input=u,A.avail_in=a,e.wrap=o,d}r=[new dA(0,0,0,0,cA),new dA(4,4,8,4,uA),new dA(4,5,16,8,uA),new dA(4,6,32,32,uA),new dA(4,4,16,16,lA),new dA(8,16,32,32,lA),new dA(8,16,128,128,lA),new dA(8,32,128,256,lA),new dA(32,128,258,1024,lA),new dA(32,258,258,4096,lA)],e.deflateInit=yA,e.deflateInit2=bA,e.deflateReset=wA,e.deflateResetKeep=BA,e.deflateSetHeader=mA,e.deflate=vA,e.deflateEnd=CA,e.deflateSetDictionary=QA,e.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./messages":42,"./trees":43}],38:[function(A,t,e){"use strict";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=r},{}],39:[function(A,t,e){"use strict";var r=30,n=12;t.exports=function(A,t){var e,i,s,o,a,c,u,l,h,f,d,g,p,B,w,m,b,y,v,C,Q,F,U,L,I;e=A.state,i=A.next_in,L=A.input,s=i+(A.avail_in-5),o=A.next_out,I=A.output,a=o-(t-A.avail_out),c=o+(A.avail_out-257),u=e.dmax,l=e.wsize,h=e.whave,f=e.wnext,d=e.window,g=e.hold,p=e.bits,B=e.lencode,w=e.distcode,m=(1<<e.lenbits)-1,b=(1<<e.distbits)-1;A:do{p<15&&(g+=L[i++]<<p,p+=8,g+=L[i++]<<p,p+=8),y=B[g&m];t:for(;;){if(v=y>>>24,g>>>=v,p-=v,v=y>>>16&255,0===v)I[o++]=65535&y;else{if(!(16&v)){if(0===(64&v)){y=B[(65535&y)+(g&(1<<v)-1)];continue t}if(32&v){e.mode=n;break A}A.msg="invalid literal/length code",e.mode=r;break A}C=65535&y,v&=15,v&&(p<v&&(g+=L[i++]<<p,p+=8),C+=g&(1<<v)-1,g>>>=v,p-=v),p<15&&(g+=L[i++]<<p,p+=8,g+=L[i++]<<p,p+=8),y=w[g&b];e:for(;;){if(v=y>>>24,g>>>=v,p-=v,v=y>>>16&255,!(16&v)){if(0===(64&v)){y=w[(65535&y)+(g&(1<<v)-1)];continue e}A.msg="invalid distance code",e.mode=r;break A}if(Q=65535&y,v&=15,p<v&&(g+=L[i++]<<p,p+=8,p<v&&(g+=L[i++]<<p,p+=8)),Q+=g&(1<<v)-1,Q>u){A.msg="invalid distance too far back",e.mode=r;break A}if(g>>>=v,p-=v,v=o-a,Q>v){if(v=Q-v,v>h&&e.sane){A.msg="invalid distance too far back",e.mode=r;break A}if(F=0,U=d,0===f){if(F+=l-v,v<C){C-=v;do{I[o++]=d[F++]}while(--v);F=o-Q,U=I}}else if(f<v){if(F+=l+f-v,v-=f,v<C){C-=v;do{I[o++]=d[F++]}while(--v);if(F=0,f<C){v=f,C-=v;do{I[o++]=d[F++]}while(--v);F=o-Q,U=I}}}else if(F+=f-v,v<C){C-=v;do{I[o++]=d[F++]}while(--v);F=o-Q,U=I}while(C>2)I[o++]=U[F++],I[o++]=U[F++],I[o++]=U[F++],C-=3;C&&(I[o++]=U[F++],C>1&&(I[o++]=U[F++]))}else{F=o-Q;do{I[o++]=I[F++],I[o++]=I[F++],I[o++]=I[F++],C-=3}while(C>2);C&&(I[o++]=I[F++],C>1&&(I[o++]=I[F++]))}break}}break}}while(i<s&&o<c);C=p>>3,i-=C,p-=C<<3,g&=(1<<p)-1,A.next_in=i,A.next_out=o,A.avail_in=i<s?s-i+5:5-(i-s),A.avail_out=o<c?c-o+257:257-(o-c),e.hold=g,e.bits=p}},{}],40:[function(A,t,e){"use strict";var r=A("../utils/common"),n=A("./adler32"),i=A("./crc32"),s=A("./inffast"),o=A("./inftrees"),a=0,c=1,u=2,l=4,h=5,f=6,d=0,g=1,p=2,B=-2,w=-3,m=-4,b=-5,y=8,v=1,C=2,Q=3,F=4,U=5,L=6,I=7,x=8,E=9,_=10,S=11,H=12,N=13,k=14,P=15,D=16,O=17,T=18,M=19,K=20,R=21,j=22,V=23,G=24,z=25,q=26,W=27,X=28,J=29,Y=30,Z=31,$=32,AA=852,tA=592,eA=15,rA=eA;function nA(A){return(A>>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function iA(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function sA(A){var t;return A&&A.state?(t=A.state,A.total_in=A.total_out=t.total=0,A.msg="",t.wrap&&(A.adler=1&t.wrap),t.mode=v,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(AA),t.distcode=t.distdyn=new r.Buf32(tA),t.sane=1,t.back=-1,d):B}function oA(A){var t;return A&&A.state?(t=A.state,t.wsize=0,t.whave=0,t.wnext=0,sA(A)):B}function aA(A,t){var e,r;return A&&A.state?(r=A.state,t<0?(e=0,t=-t):(e=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?B:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=e,r.wbits=t,oA(A))):B}function cA(A,t){var e,r;return A?(r=new iA,A.state=r,r.window=null,e=aA(A,t),e!==d&&(A.state=null),e):B}function uA(A){return cA(A,rA)}var lA,hA,fA=!0;function dA(A){if(fA){var t;lA=new r.Buf32(512),hA=new r.Buf32(32),t=0;while(t<144)A.lens[t++]=8;while(t<256)A.lens[t++]=9;while(t<280)A.lens[t++]=7;while(t<288)A.lens[t++]=8;o(c,A.lens,0,288,lA,0,A.work,{bits:9}),t=0;while(t<32)A.lens[t++]=5;o(u,A.lens,0,32,hA,0,A.work,{bits:5}),fA=!1}A.lencode=lA,A.lenbits=9,A.distcode=hA,A.distbits=5}function gA(A,t,e,n){var i,s=A.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),n>=s.wsize?(r.arraySet(s.window,t,e-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i=s.wsize-s.wnext,i>n&&(i=n),r.arraySet(s.window,t,e-n,i,s.wnext),n-=i,n?(r.arraySet(s.window,t,e-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=i))),0}function pA(A,t){var e,AA,tA,eA,rA,iA,sA,oA,aA,cA,uA,lA,hA,fA,pA,BA,wA,mA,bA,yA,vA,CA,QA,FA,UA=0,LA=new r.Buf8(4),IA=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!A||!A.state||!A.output||!A.input&&0!==A.avail_in)return B;e=A.state,e.mode===H&&(e.mode=N),rA=A.next_out,tA=A.output,sA=A.avail_out,eA=A.next_in,AA=A.input,iA=A.avail_in,oA=e.hold,aA=e.bits,cA=iA,uA=sA,CA=d;A:for(;;)switch(e.mode){case v:if(0===e.wrap){e.mode=N;break}while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(2&e.wrap&&35615===oA){e.check=0,LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0),oA=0,aA=0,e.mode=C;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&oA)<<8)+(oA>>8))%31){A.msg="incorrect header check",e.mode=Y;break}if((15&oA)!==y){A.msg="unknown compression method",e.mode=Y;break}if(oA>>>=4,aA-=4,vA=8+(15&oA),0===e.wbits)e.wbits=vA;else if(vA>e.wbits){A.msg="invalid window size",e.mode=Y;break}e.dmax=1<<vA,A.adler=e.check=1,e.mode=512&oA?_:H,oA=0,aA=0;break;case C:while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(e.flags=oA,(255&e.flags)!==y){A.msg="unknown compression method",e.mode=Y;break}if(57344&e.flags){A.msg="unknown header flags set",e.mode=Y;break}e.head&&(e.head.text=oA>>8&1),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0,e.mode=Q;case Q:while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.head&&(e.head.time=oA),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,LA[2]=oA>>>16&255,LA[3]=oA>>>24&255,e.check=i(e.check,LA,4,0)),oA=0,aA=0,e.mode=F;case F:while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.head&&(e.head.xflags=255&oA,e.head.os=oA>>8),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0,e.mode=U;case U:if(1024&e.flags){while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.length=oA,e.head&&(e.head.extra_len=oA),512&e.flags&&(LA[0]=255&oA,LA[1]=oA>>>8&255,e.check=i(e.check,LA,2,0)),oA=0,aA=0}else e.head&&(e.head.extra=null);e.mode=L;case L:if(1024&e.flags&&(lA=e.length,lA>iA&&(lA=iA),lA&&(e.head&&(vA=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),r.arraySet(e.head.extra,AA,eA,lA,vA)),512&e.flags&&(e.check=i(e.check,AA,lA,eA)),iA-=lA,eA+=lA,e.length-=lA),e.length))break A;e.length=0,e.mode=I;case I:if(2048&e.flags){if(0===iA)break A;lA=0;do{vA=AA[eA+lA++],e.head&&vA&&e.length<65536&&(e.head.name+=String.fromCharCode(vA))}while(vA&&lA<iA);if(512&e.flags&&(e.check=i(e.check,AA,lA,eA)),iA-=lA,eA+=lA,vA)break A}else e.head&&(e.head.name=null);e.length=0,e.mode=x;case x:if(4096&e.flags){if(0===iA)break A;lA=0;do{vA=AA[eA+lA++],e.head&&vA&&e.length<65536&&(e.head.comment+=String.fromCharCode(vA))}while(vA&&lA<iA);if(512&e.flags&&(e.check=i(e.check,AA,lA,eA)),iA-=lA,eA+=lA,vA)break A}else e.head&&(e.head.comment=null);e.mode=E;case E:if(512&e.flags){while(aA<16){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(oA!==(65535&e.check)){A.msg="header crc mismatch",e.mode=Y;break}oA=0,aA=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),A.adler=e.check=0,e.mode=H;break;case _:while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}A.adler=e.check=nA(oA),oA=0,aA=0,e.mode=S;case S:if(0===e.havedict)return A.next_out=rA,A.avail_out=sA,A.next_in=eA,A.avail_in=iA,e.hold=oA,e.bits=aA,p;A.adler=e.check=1,e.mode=H;case H:if(t===h||t===f)break A;case N:if(e.last){oA>>>=7&aA,aA-=7&aA,e.mode=W;break}while(aA<3){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}switch(e.last=1&oA,oA>>>=1,aA-=1,3&oA){case 0:e.mode=k;break;case 1:if(dA(e),e.mode=K,t===f){oA>>>=2,aA-=2;break A}break;case 2:e.mode=O;break;case 3:A.msg="invalid block type",e.mode=Y}oA>>>=2,aA-=2;break;case k:oA>>>=7&aA,aA-=7&aA;while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if((65535&oA)!==(oA>>>16^65535)){A.msg="invalid stored block lengths",e.mode=Y;break}if(e.length=65535&oA,oA=0,aA=0,e.mode=P,t===f)break A;case P:e.mode=D;case D:if(lA=e.length,lA){if(lA>iA&&(lA=iA),lA>sA&&(lA=sA),0===lA)break A;r.arraySet(tA,AA,eA,lA,rA),iA-=lA,eA+=lA,sA-=lA,rA+=lA,e.length-=lA;break}e.mode=H;break;case O:while(aA<14){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(e.nlen=257+(31&oA),oA>>>=5,aA-=5,e.ndist=1+(31&oA),oA>>>=5,aA-=5,e.ncode=4+(15&oA),oA>>>=4,aA-=4,e.nlen>286||e.ndist>30){A.msg="too many length or distance symbols",e.mode=Y;break}e.have=0,e.mode=T;case T:while(e.have<e.ncode){while(aA<3){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.lens[IA[e.have++]]=7&oA,oA>>>=3,aA-=3}while(e.have<19)e.lens[IA[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,QA={bits:e.lenbits},CA=o(a,e.lens,0,19,e.lencode,0,e.work,QA),e.lenbits=QA.bits,CA){A.msg="invalid code lengths set",e.mode=Y;break}e.have=0,e.mode=M;case M:while(e.have<e.nlen+e.ndist){for(;;){if(UA=e.lencode[oA&(1<<e.lenbits)-1],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(wA<16)oA>>>=pA,aA-=pA,e.lens[e.have++]=wA;else{if(16===wA){FA=pA+2;while(aA<FA){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(oA>>>=pA,aA-=pA,0===e.have){A.msg="invalid bit length repeat",e.mode=Y;break}vA=e.lens[e.have-1],lA=3+(3&oA),oA>>>=2,aA-=2}else if(17===wA){FA=pA+3;while(aA<FA){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}oA>>>=pA,aA-=pA,vA=0,lA=3+(7&oA),oA>>>=3,aA-=3}else{FA=pA+7;while(aA<FA){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}oA>>>=pA,aA-=pA,vA=0,lA=11+(127&oA),oA>>>=7,aA-=7}if(e.have+lA>e.nlen+e.ndist){A.msg="invalid bit length repeat",e.mode=Y;break}while(lA--)e.lens[e.have++]=vA}}if(e.mode===Y)break;if(0===e.lens[256]){A.msg="invalid code -- missing end-of-block",e.mode=Y;break}if(e.lenbits=9,QA={bits:e.lenbits},CA=o(c,e.lens,0,e.nlen,e.lencode,0,e.work,QA),e.lenbits=QA.bits,CA){A.msg="invalid literal/lengths set",e.mode=Y;break}if(e.distbits=6,e.distcode=e.distdyn,QA={bits:e.distbits},CA=o(u,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,QA),e.distbits=QA.bits,CA){A.msg="invalid distances set",e.mode=Y;break}if(e.mode=K,t===f)break A;case K:e.mode=R;case R:if(iA>=6&&sA>=258){A.next_out=rA,A.avail_out=sA,A.next_in=eA,A.avail_in=iA,e.hold=oA,e.bits=aA,s(A,uA),rA=A.next_out,tA=A.output,sA=A.avail_out,eA=A.next_in,AA=A.input,iA=A.avail_in,oA=e.hold,aA=e.bits,e.mode===H&&(e.back=-1);break}for(e.back=0;;){if(UA=e.lencode[oA&(1<<e.lenbits)-1],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(BA&&0===(240&BA)){for(mA=pA,bA=BA,yA=wA;;){if(UA=e.lencode[yA+((oA&(1<<mA+bA)-1)>>mA)],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,mA+pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}oA>>>=mA,aA-=mA,e.back+=mA}if(oA>>>=pA,aA-=pA,e.back+=pA,e.length=wA,0===BA){e.mode=q;break}if(32&BA){e.back=-1,e.mode=H;break}if(64&BA){A.msg="invalid literal/length code",e.mode=Y;break}e.extra=15&BA,e.mode=j;case j:if(e.extra){FA=e.extra;while(aA<FA){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.length+=oA&(1<<e.extra)-1,oA>>>=e.extra,aA-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=V;case V:for(;;){if(UA=e.distcode[oA&(1<<e.distbits)-1],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(0===(240&BA)){for(mA=pA,bA=BA,yA=wA;;){if(UA=e.distcode[yA+((oA&(1<<mA+bA)-1)>>mA)],pA=UA>>>24,BA=UA>>>16&255,wA=65535&UA,mA+pA<=aA)break;if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}oA>>>=mA,aA-=mA,e.back+=mA}if(oA>>>=pA,aA-=pA,e.back+=pA,64&BA){A.msg="invalid distance code",e.mode=Y;break}e.offset=wA,e.extra=15&BA,e.mode=G;case G:if(e.extra){FA=e.extra;while(aA<FA){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}e.offset+=oA&(1<<e.extra)-1,oA>>>=e.extra,aA-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){A.msg="invalid distance too far back",e.mode=Y;break}e.mode=z;case z:if(0===sA)break A;if(lA=uA-sA,e.offset>lA){if(lA=e.offset-lA,lA>e.whave&&e.sane){A.msg="invalid distance too far back",e.mode=Y;break}lA>e.wnext?(lA-=e.wnext,hA=e.wsize-lA):hA=e.wnext-lA,lA>e.length&&(lA=e.length),fA=e.window}else fA=tA,hA=rA-e.offset,lA=e.length;lA>sA&&(lA=sA),sA-=lA,e.length-=lA;do{tA[rA++]=fA[hA++]}while(--lA);0===e.length&&(e.mode=R);break;case q:if(0===sA)break A;tA[rA++]=e.length,sA--,e.mode=R;break;case W:if(e.wrap){while(aA<32){if(0===iA)break A;iA--,oA|=AA[eA++]<<aA,aA+=8}if(uA-=sA,A.total_out+=uA,e.total+=uA,uA&&(A.adler=e.check=e.flags?i(e.check,tA,uA,rA-uA):n(e.check,tA,uA,rA-uA)),uA=sA,(e.flags?oA:nA(oA))!==e.check){A.msg="incorrect data check",e.mode=Y;break}oA=0,aA=0}e.mode=X;case X:if(e.wrap&&e.flags){while(aA<32){if(0===iA)break A;iA--,oA+=AA[eA++]<<aA,aA+=8}if(oA!==(4294967295&e.total)){A.msg="incorrect length check",e.mode=Y;break}oA=0,aA=0}e.mode=J;case J:CA=g;break A;case Y:CA=w;break A;case Z:return m;case $:default:return B}return A.next_out=rA,A.avail_out=sA,A.next_in=eA,A.avail_in=iA,e.hold=oA,e.bits=aA,(e.wsize||uA!==A.avail_out&&e.mode<Y&&(e.mode<W||t!==l))&&gA(A,A.output,A.next_out,uA-A.avail_out)?(e.mode=Z,m):(cA-=A.avail_in,uA-=A.avail_out,A.total_in+=cA,A.total_out+=uA,e.total+=uA,e.wrap&&uA&&(A.adler=e.check=e.flags?i(e.check,tA,uA,A.next_out-uA):n(e.check,tA,uA,A.next_out-uA)),A.data_type=e.bits+(e.last?64:0)+(e.mode===H?128:0)+(e.mode===K||e.mode===P?256:0),(0===cA&&0===uA||t===l)&&CA===d&&(CA=b),CA)}function BA(A){if(!A||!A.state)return B;var t=A.state;return t.window&&(t.window=null),A.state=null,d}function wA(A,t){var e;return A&&A.state?(e=A.state,0===(2&e.wrap)?B:(e.head=t,t.done=!1,d)):B}function mA(A,t){var e,r,i,s=t.length;return A&&A.state?(e=A.state,0!==e.wrap&&e.mode!==S?B:e.mode===S&&(r=1,r=n(r,t,s,0),r!==e.check)?w:(i=gA(A,t,s,s),i?(e.mode=Z,m):(e.havedict=1,d))):B}e.inflateReset=oA,e.inflateReset2=aA,e.inflateResetKeep=sA,e.inflateInit=uA,e.inflateInit2=cA,e.inflate=pA,e.inflateEnd=BA,e.inflateGetHeader=wA,e.inflateSetDictionary=mA,e.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":32,"./adler32":34,"./crc32":36,"./inffast":39,"./inftrees":41}],41:[function(A,t,e){"use strict";var r=A("../utils/common"),n=15,i=852,s=592,o=0,a=1,c=2,u=[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],l=[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],h=[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],f=[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(A,t,e,d,g,p,B,w){var m,b,y,v,C,Q,F,U,L,I=w.bits,x=0,E=0,_=0,S=0,H=0,N=0,k=0,P=0,D=0,O=0,T=null,M=0,K=new r.Buf16(n+1),R=new r.Buf16(n+1),j=null,V=0;for(x=0;x<=n;x++)K[x]=0;for(E=0;E<d;E++)K[t[e+E]]++;for(H=I,S=n;S>=1;S--)if(0!==K[S])break;if(H>S&&(H=S),0===S)return g[p++]=20971520,g[p++]=20971520,w.bits=1,0;for(_=1;_<S;_++)if(0!==K[_])break;for(H<_&&(H=_),P=1,x=1;x<=n;x++)if(P<<=1,P-=K[x],P<0)return-1;if(P>0&&(A===o||1!==S))return-1;for(R[1]=0,x=1;x<n;x++)R[x+1]=R[x]+K[x];for(E=0;E<d;E++)0!==t[e+E]&&(B[R[t[e+E]]++]=E);if(A===o?(T=j=B,Q=19):A===a?(T=u,M-=257,j=l,V-=257,Q=256):(T=h,j=f,Q=-1),O=0,E=0,x=_,C=p,N=H,k=0,y=-1,D=1<<H,v=D-1,A===a&&D>i||A===c&&D>s)return 1;for(;;){F=x-k,B[E]<Q?(U=0,L=B[E]):B[E]>Q?(U=j[V+B[E]],L=T[M+B[E]]):(U=96,L=0),m=1<<x-k,b=1<<N,_=b;do{b-=m,g[C+(O>>k)+b]=F<<24|U<<16|L|0}while(0!==b);m=1<<x-1;while(O&m)m>>=1;if(0!==m?(O&=m-1,O+=m):O=0,E++,0===--K[x]){if(x===S)break;x=t[e+B[E]]}if(x>H&&(O&v)!==y){0===k&&(k=H),C+=_,N=x-k,P=1<<N;while(N+k<S){if(P-=K[N+k],P<=0)break;N++,P<<=1}if(D+=1<<N,A===a&&D>i||A===c&&D>s)return 1;y=O&v,g[y]=H<<24|N<<16|C-p|0}}return 0!==O&&(g[C+O]=x-k<<24|64<<16|0),w.bits=H,0}},{"../utils/common":32}],42:[function(A,t,e){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],43:[function(A,t,e){"use strict";var r=A("../utils/common"),n=4,i=0,s=1,o=2;function a(A){var t=A.length;while(--t>=0)A[t]=0}var c=0,u=1,l=2,h=3,f=258,d=29,g=256,p=g+1+d,B=30,w=19,m=2*p+1,b=15,y=16,v=7,C=256,Q=16,F=17,U=18,L=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],I=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_=512,S=new Array(2*(p+2));a(S);var H=new Array(2*B);a(H);var N=new Array(_);a(N);var k=new Array(f-h+1);a(k);var P=new Array(d);a(P);var D,O,T,M=new Array(B);function K(A,t,e,r,n){this.static_tree=A,this.extra_bits=t,this.extra_base=e,this.elems=r,this.max_length=n,this.has_stree=A&&A.length}function R(A,t){this.dyn_tree=A,this.max_code=0,this.stat_desc=t}function j(A){return A<256?N[A]:N[256+(A>>>7)]}function V(A,t){A.pending_buf[A.pending++]=255&t,A.pending_buf[A.pending++]=t>>>8&255}function G(A,t,e){A.bi_valid>y-e?(A.bi_buf|=t<<A.bi_valid&65535,V(A,A.bi_buf),A.bi_buf=t>>y-A.bi_valid,A.bi_valid+=e-y):(A.bi_buf|=t<<A.bi_valid&65535,A.bi_valid+=e)}function z(A,t,e){G(A,e[2*t],e[2*t+1])}function q(A,t){var e=0;do{e|=1&A,A>>>=1,e<<=1}while(--t>0);return e>>>1}function W(A){16===A.bi_valid?(V(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):A.bi_valid>=8&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}function X(A,t){var e,r,n,i,s,o,a=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,l=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,d=t.stat_desc.max_length,g=0;for(i=0;i<=b;i++)A.bl_count[i]=0;for(a[2*A.heap[A.heap_max]+1]=0,e=A.heap_max+1;e<m;e++)r=A.heap[e],i=a[2*a[2*r+1]+1]+1,i>d&&(i=d,g++),a[2*r+1]=i,r>c||(A.bl_count[i]++,s=0,r>=f&&(s=h[r-f]),o=a[2*r],A.opt_len+=o*(i+s),l&&(A.static_len+=o*(u[2*r+1]+s)));if(0!==g){do{i=d-1;while(0===A.bl_count[i])i--;A.bl_count[i]--,A.bl_count[i+1]+=2,A.bl_count[d]--,g-=2}while(g>0);for(i=d;0!==i;i--){r=A.bl_count[i];while(0!==r)n=A.heap[--e],n>c||(a[2*n+1]!==i&&(A.opt_len+=(i-a[2*n+1])*a[2*n],a[2*n+1]=i),r--)}}}function J(A,t,e){var r,n,i=new Array(b+1),s=0;for(r=1;r<=b;r++)i[r]=s=s+e[r-1]<<1;for(n=0;n<=t;n++){var o=A[2*n+1];0!==o&&(A[2*n]=q(i[o]++,o))}}function Y(){var A,t,e,r,n,i=new Array(b+1);for(e=0,r=0;r<d-1;r++)for(P[r]=e,A=0;A<1<<L[r];A++)k[e++]=r;for(k[e-1]=r,n=0,r=0;r<16;r++)for(M[r]=n,A=0;A<1<<I[r];A++)N[n++]=r;for(n>>=7;r<B;r++)for(M[r]=n<<7,A=0;A<1<<I[r]-7;A++)N[256+n++]=r;for(t=0;t<=b;t++)i[t]=0;A=0;while(A<=143)S[2*A+1]=8,A++,i[8]++;while(A<=255)S[2*A+1]=9,A++,i[9]++;while(A<=279)S[2*A+1]=7,A++,i[7]++;while(A<=287)S[2*A+1]=8,A++,i[8]++;for(J(S,p+1,i),A=0;A<B;A++)H[2*A+1]=5,H[2*A]=q(A,5);D=new K(S,L,g+1,p,b),O=new K(H,I,0,B,b),T=new K(new Array(0),x,0,w,v)}function Z(A){var t;for(t=0;t<p;t++)A.dyn_ltree[2*t]=0;for(t=0;t<B;t++)A.dyn_dtree[2*t]=0;for(t=0;t<w;t++)A.bl_tree[2*t]=0;A.dyn_ltree[2*C]=1,A.opt_len=A.static_len=0,A.last_lit=A.matches=0}function $(A){A.bi_valid>8?V(A,A.bi_buf):A.bi_valid>0&&(A.pending_buf[A.pending++]=A.bi_buf),A.bi_buf=0,A.bi_valid=0}function AA(A,t,e,n){$(A),n&&(V(A,e),V(A,~e)),r.arraySet(A.pending_buf,A.window,t,e,A.pending),A.pending+=e}function tA(A,t,e,r){var n=2*t,i=2*e;return A[n]<A[i]||A[n]===A[i]&&r[t]<=r[e]}function eA(A,t,e){var r=A.heap[e],n=e<<1;while(n<=A.heap_len){if(n<A.heap_len&&tA(t,A.heap[n+1],A.heap[n],A.depth)&&n++,tA(t,r,A.heap[n],A.depth))break;A.heap[e]=A.heap[n],e=n,n<<=1}A.heap[e]=r}function rA(A,t,e){var r,n,i,s,o=0;if(0!==A.last_lit)do{r=A.pending_buf[A.d_buf+2*o]<<8|A.pending_buf[A.d_buf+2*o+1],n=A.pending_buf[A.l_buf+o],o++,0===r?z(A,n,t):(i=k[n],z(A,i+g+1,t),s=L[i],0!==s&&(n-=P[i],G(A,n,s)),r--,i=j(r),z(A,i,e),s=I[i],0!==s&&(r-=M[i],G(A,r,s)))}while(o<A.last_lit);z(A,C,t)}function nA(A,t){var e,r,n,i=t.dyn_tree,s=t.stat_desc.static_tree,o=t.stat_desc.has_stree,a=t.stat_desc.elems,c=-1;for(A.heap_len=0,A.heap_max=m,e=0;e<a;e++)0!==i[2*e]?(A.heap[++A.heap_len]=c=e,A.depth[e]=0):i[2*e+1]=0;while(A.heap_len<2)n=A.heap[++A.heap_len]=c<2?++c:0,i[2*n]=1,A.depth[n]=0,A.opt_len--,o&&(A.static_len-=s[2*n+1]);for(t.max_code=c,e=A.heap_len>>1;e>=1;e--)eA(A,i,e);n=a;do{e=A.heap[1],A.heap[1]=A.heap[A.heap_len--],eA(A,i,1),r=A.heap[1],A.heap[--A.heap_max]=e,A.heap[--A.heap_max]=r,i[2*n]=i[2*e]+i[2*r],A.depth[n]=(A.depth[e]>=A.depth[r]?A.depth[e]:A.depth[r])+1,i[2*e+1]=i[2*r+1]=n,A.heap[1]=n++,eA(A,i,1)}while(A.heap_len>=2);A.heap[--A.heap_max]=A.heap[1],X(A,t),J(i,c,A.bl_count)}function iA(A,t,e){var r,n,i=-1,s=t[1],o=0,a=7,c=4;for(0===s&&(a=138,c=3),t[2*(e+1)+1]=65535,r=0;r<=e;r++)n=s,s=t[2*(r+1)+1],++o<a&&n===s||(o<c?A.bl_tree[2*n]+=o:0!==n?(n!==i&&A.bl_tree[2*n]++,A.bl_tree[2*Q]++):o<=10?A.bl_tree[2*F]++:A.bl_tree[2*U]++,o=0,i=n,0===s?(a=138,c=3):n===s?(a=6,c=3):(a=7,c=4))}function sA(A,t,e){var r,n,i=-1,s=t[1],o=0,a=7,c=4;for(0===s&&(a=138,c=3),r=0;r<=e;r++)if(n=s,s=t[2*(r+1)+1],!(++o<a&&n===s)){if(o<c)do{z(A,n,A.bl_tree)}while(0!==--o);else 0!==n?(n!==i&&(z(A,n,A.bl_tree),o--),z(A,Q,A.bl_tree),G(A,o-3,2)):o<=10?(z(A,F,A.bl_tree),G(A,o-3,3)):(z(A,U,A.bl_tree),G(A,o-11,7));o=0,i=n,0===s?(a=138,c=3):n===s?(a=6,c=3):(a=7,c=4)}}function oA(A){var t;for(iA(A,A.dyn_ltree,A.l_desc.max_code),iA(A,A.dyn_dtree,A.d_desc.max_code),nA(A,A.bl_desc),t=w-1;t>=3;t--)if(0!==A.bl_tree[2*E[t]+1])break;return A.opt_len+=3*(t+1)+5+5+4,t}function aA(A,t,e,r){var n;for(G(A,t-257,5),G(A,e-1,5),G(A,r-4,4),n=0;n<r;n++)G(A,A.bl_tree[2*E[n]+1],3);sA(A,A.dyn_ltree,t-1),sA(A,A.dyn_dtree,e-1)}function cA(A){var t,e=4093624447;for(t=0;t<=31;t++,e>>>=1)if(1&e&&0!==A.dyn_ltree[2*t])return i;if(0!==A.dyn_ltree[18]||0!==A.dyn_ltree[20]||0!==A.dyn_ltree[26])return s;for(t=32;t<g;t++)if(0!==A.dyn_ltree[2*t])return s;return i}a(M);var uA=!1;function lA(A){uA||(Y(),uA=!0),A.l_desc=new R(A.dyn_ltree,D),A.d_desc=new R(A.dyn_dtree,O),A.bl_desc=new R(A.bl_tree,T),A.bi_buf=0,A.bi_valid=0,Z(A)}function hA(A,t,e,r){G(A,(c<<1)+(r?1:0),3),AA(A,t,e,!0)}function fA(A){G(A,u<<1,3),z(A,C,S),W(A)}function dA(A,t,e,r){var i,s,a=0;A.level>0?(A.strm.data_type===o&&(A.strm.data_type=cA(A)),nA(A,A.l_desc),nA(A,A.d_desc),a=oA(A),i=A.opt_len+3+7>>>3,s=A.static_len+3+7>>>3,s<=i&&(i=s)):i=s=e+5,e+4<=i&&-1!==t?hA(A,t,e,r):A.strategy===n||s===i?(G(A,(u<<1)+(r?1:0),3),rA(A,S,H)):(G(A,(l<<1)+(r?1:0),3),aA(A,A.l_desc.max_code+1,A.d_desc.max_code+1,a+1),rA(A,A.dyn_ltree,A.dyn_dtree)),Z(A),r&&$(A)}function gA(A,t,e){return A.pending_buf[A.d_buf+2*A.last_lit]=t>>>8&255,A.pending_buf[A.d_buf+2*A.last_lit+1]=255&t,A.pending_buf[A.l_buf+A.last_lit]=255&e,A.last_lit++,0===t?A.dyn_ltree[2*e]++:(A.matches++,t--,A.dyn_ltree[2*(k[e]+g+1)]++,A.dyn_dtree[2*j(t)]++),A.last_lit===A.lit_bufsize-1}e._tr_init=lA,e._tr_stored_block=hA,e._tr_flush_block=dA,e._tr_tally=gA,e._tr_align=fA},{"../utils/common":32}],44:[function(A,t,e){"use strict";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=r},{}],45:[function(A,t,e){var r=A("lodash._root"),n=1/0,i="[object Symbol]",s=/[&<>"'`]/g,o=RegExp(s.source),a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};function c(A){return a[A]}var u=Object.prototype,l=u.toString,h=r.Symbol,f=h?h.prototype:void 0,d=h?f.toString:void 0;function g(A){return!!A&&"object"==typeof A}function p(A){return"symbol"==typeof A||g(A)&&l.call(A)==i}function B(A){if("string"==typeof A)return A;if(null==A)return"";if(p(A))return h?d.call(A):"";var t=A+"";return"0"==t&&1/A==-n?"-0":t}function w(A){return A=B(A),A&&o.test(A)?A.replace(s,c):A}t.exports=w},{"lodash._root":46}],46:[function(A,t,e){(function(A){var r={function:!0,object:!0},n=r[typeof e]&&e&&!e.nodeType?e:void 0,i=r[typeof t]&&t&&!t.nodeType?t:void 0,s=l(n&&i&&"object"==typeof A&&A),o=l(r[typeof self]&&self),a=l(r[typeof window]&&window),c=l(r[typeof this]&&this),u=s||a!==(c&&c.window)&&a||o||c||Function("return this")();function l(A){return A&&A.Object===Object?A:null}t.exports=u}).call(this,"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],47:[function(A,t,e){var r=A("lodash._arraycopy"),n=A("lodash._arrayeach"),i=A("lodash._createassigner"),s=A("lodash.isarguments"),o=A("lodash.isarray"),a=A("lodash.isplainobject"),c=A("lodash.istypedarray"),u=A("lodash.keys"),l=A("lodash.toplainobject");function h(A){return!!A&&"object"==typeof A}var f=9007199254740991;function d(A,t,e,r,i){if(!b(A))return A;var s=w(t)&&(o(t)||c(t)),a=s?void 0:u(t);return n(a||t,(function(n,o){if(a&&(o=n,n=t[o]),h(n))r||(r=[]),i||(i=[]),g(A,t,o,d,e,r,i);else{var c=A[o],u=e?e(c,n,o,A,t):void 0,l=void 0===u;l&&(u=n),void 0===u&&(!s||o in A)||!l&&(u===u?u===c:c!==c)||(A[o]=u)}})),A}function g(A,t,e,n,i,u,h){var f=u.length,d=t[e];while(f--)if(u[f]==d)return void(A[e]=h[f]);var g=A[e],p=i?i(g,d,e,A,t):void 0,B=void 0===p;B&&(p=d,w(d)&&(o(d)||c(d))?p=o(g)?g:w(g)?r(g):[]:a(d)||s(d)?p=s(g)?l(g):a(g)?g:{}:B=!1),u.push(d),h.push(p),B?A[e]=n(p,d,i,u,h):(p===p?p!==g:g===g)&&(A[e]=p)}function p(A){return function(t){return null==t?void 0:t[A]}}var B=p("length");function w(A){return null!=A&&m(B(A))}function m(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=f}function b(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}var y=i(d);t.exports=y},{"lodash._arraycopy":48,"lodash._arrayeach":49,"lodash._createassigner":50,"lodash.isarguments":55,"lodash.isarray":56,"lodash.isplainobject":57,"lodash.istypedarray":59,"lodash.keys":60,"lodash.toplainobject":62}],48:[function(A,t,e){function r(A,t){var e=-1,r=A.length;t||(t=Array(r));while(++e<r)t[e]=A[e];return t}t.exports=r},{}],49:[function(A,t,e){function r(A,t){var e=-1,r=A.length;while(++e<r)if(!1===t(A[e],e,A))break;return A}t.exports=r},{}],50:[function(A,t,e){var r=A("lodash._bindcallback"),n=A("lodash._isiterateecall"),i=A("lodash.restparam");function s(A){return i((function(t,e){var i=-1,s=null==t?0:e.length,o=s>2?e[s-2]:void 0,a=s>2?e[2]:void 0,c=s>1?e[s-1]:void 0;"function"==typeof o?(o=r(o,c,5),s-=2):(o="function"==typeof c?c:void 0,s-=o?1:0),a&&n(e[0],e[1],a)&&(o=s<3?void 0:o,s=1);while(++i<s){var u=e[i];u&&A(t,u,o)}return t}))}t.exports=s},{"lodash._bindcallback":51,"lodash._isiterateecall":52,"lodash.restparam":53}],51:[function(A,t,e){function r(A,t,e){if("function"!=typeof A)return n;if(void 0===t)return A;switch(e){case 1:return function(e){return A.call(t,e)};case 3:return function(e,r,n){return A.call(t,e,r,n)};case 4:return function(e,r,n,i){return A.call(t,e,r,n,i)};case 5:return function(e,r,n,i,s){return A.call(t,e,r,n,i,s)}}return function(){return A.apply(t,arguments)}}function n(A){return A}t.exports=r},{}],52:[function(A,t,e){var r=/^\d+$/,n=9007199254740991;function i(A){return function(t){return null==t?void 0:t[A]}}var s=i("length");function o(A){return null!=A&&u(s(A))}function a(A,t){return A="number"==typeof A||r.test(A)?+A:-1,t=null==t?n:t,A>-1&&A%1==0&&A<t}function c(A,t,e){if(!l(e))return!1;var r=typeof t;if("number"==r?o(e)&&a(t,e.length):"string"==r&&t in e){var n=e[t];return A===A?A===n:n!==n}return!1}function u(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=n}function l(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}t.exports=c},{}],53:[function(A,t,e){var r="Expected a function",n=Math.max;function i(A,t){if("function"!=typeof A)throw new TypeError(r);return t=n(void 0===t?A.length-1:+t||0,0),function(){var e=arguments,r=-1,i=n(e.length-t,0),s=Array(i);while(++r<i)s[r]=e[t+r];switch(t){case 0:return A.call(this,s);case 1:return A.call(this,e[0],s);case 2:return A.call(this,e[0],e[1],s)}var o=Array(t+1);r=-1;while(++r<t)o[r]=e[r];return o[t]=s,A.apply(this,o)}}t.exports=i},{}],54:[function(A,t,e){var r="[object Function]",n=/^\[object .+?Constructor\]$/;function i(A){return!!A&&"object"==typeof A}var s=Object.prototype,o=Function.prototype.toString,a=s.hasOwnProperty,c=s.toString,u=RegExp("^"+o.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function l(A,t){var e=null==A?void 0:A[t];return d(e)?e:void 0}function h(A){return f(A)&&c.call(A)==r}function f(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function d(A){return null!=A&&(h(A)?u.test(o.call(A)):i(A)&&n.test(A))}t.exports=l},{}],55:[function(A,t,e){var r=9007199254740991,n="[object Arguments]",i="[object Function]",s="[object GeneratorFunction]",o=Object.prototype,a=o.hasOwnProperty,c=o.toString,u=o.propertyIsEnumerable;function l(A){return function(t){return null==t?void 0:t[A]}}var h=l("length");function f(A){return g(A)&&a.call(A,"callee")&&(!u.call(A,"callee")||c.call(A)==n)}function d(A){return null!=A&&B(h(A))&&!p(A)}function g(A){return m(A)&&d(A)}function p(A){var t=w(A)?c.call(A):"";return t==i||t==s}function B(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=r}function w(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function m(A){return!!A&&"object"==typeof A}t.exports=f},{}],56:[function(A,t,e){var r="[object Array]",n="[object Function]",i=/^\[object .+?Constructor\]$/;function s(A){return!!A&&"object"==typeof A}var o=Object.prototype,a=Function.prototype.toString,c=o.hasOwnProperty,u=o.toString,l=RegExp("^"+a.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=d(Array,"isArray"),f=9007199254740991;function d(A,t){var e=null==A?void 0:A[t];return m(e)?e:void 0}function g(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=f}var p=h||function(A){return s(A)&&g(A.length)&&u.call(A)==r};function B(A){return w(A)&&u.call(A)==n}function w(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function m(A){return null!=A&&(B(A)?l.test(a.call(A)):s(A)&&i.test(A))}t.exports=p},{}],57:[function(A,t,e){var r=A("lodash._basefor"),n=A("lodash.isarguments"),i=A("lodash.keysin"),s="[object Object]";function o(A){return!!A&&"object"==typeof A}var a=Object.prototype,c=a.hasOwnProperty,u=a.toString;function l(A,t){return r(A,t,i)}function h(A){var t,e;return!(!o(A)||u.call(A)!=s||n(A)||!(c.call(A,"constructor")||(t=A.constructor,"function"!=typeof t||t instanceof t)))&&(l(A,(function(A,t){e=t})),void 0===e||c.call(A,e))}t.exports=h},{"lodash._basefor":58,"lodash.isarguments":55,"lodash.keysin":61}],58:[function(A,t,e){var r=n();function n(A){return function(t,e,r){var n=-1,i=Object(t),s=r(t),o=s.length;while(o--){var a=s[A?o:++n];if(!1===e(i[a],a,i))break}return t}}t.exports=r},{}],59:[function(A,t,e){var r=9007199254740991,n="[object Arguments]",i="[object Array]",s="[object Boolean]",o="[object Date]",a="[object Error]",c="[object Function]",u="[object Map]",l="[object Number]",h="[object Object]",f="[object RegExp]",d="[object Set]",g="[object String]",p="[object WeakMap]",B="[object ArrayBuffer]",w="[object DataView]",m="[object Float32Array]",b="[object Float64Array]",y="[object Int8Array]",v="[object Int16Array]",C="[object Int32Array]",Q="[object Uint8Array]",F="[object Uint8ClampedArray]",U="[object Uint16Array]",L="[object Uint32Array]",I={};I[m]=I[b]=I[y]=I[v]=I[C]=I[Q]=I[F]=I[U]=I[L]=!0,I[n]=I[i]=I[B]=I[s]=I[w]=I[o]=I[a]=I[c]=I[u]=I[l]=I[h]=I[f]=I[d]=I[g]=I[p]=!1;var x=Object.prototype,E=x.toString;function _(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=r}function S(A){return!!A&&"object"==typeof A}function H(A){return S(A)&&_(A.length)&&!!I[E.call(A)]}t.exports=H},{}],60:[function(A,t,e){var r=A("lodash._getnative"),n=A("lodash.isarguments"),i=A("lodash.isarray"),s=/^\d+$/,o=Object.prototype,a=o.hasOwnProperty,c=r(Object,"keys"),u=9007199254740991;function l(A){return function(t){return null==t?void 0:t[A]}}var h=l("length");function f(A){return null!=A&&g(h(A))}function d(A,t){return A="number"==typeof A||s.test(A)?+A:-1,t=null==t?u:t,A>-1&&A%1==0&&A<t}function g(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=u}function p(A){var t=m(A),e=t.length,r=e&&A.length,s=!!r&&g(r)&&(i(A)||n(A)),o=-1,c=[];while(++o<e){var u=t[o];(s&&d(u,r)||a.call(A,u))&&c.push(u)}return c}function B(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}var w=c?function(A){var t=null==A?void 0:A.constructor;return"function"==typeof t&&t.prototype===A||"function"!=typeof A&&f(A)?p(A):B(A)?c(A):[]}:p;function m(A){if(null==A)return[];B(A)||(A=Object(A));var t=A.length;t=t&&g(t)&&(i(A)||n(A))&&t||0;var e=A.constructor,r=-1,s="function"==typeof e&&e.prototype===A,o=Array(t),c=t>0;while(++r<t)o[r]=r+"";for(var u in A)c&&d(u,t)||"constructor"==u&&(s||!a.call(A,u))||o.push(u);return o}t.exports=w},{"lodash._getnative":54,"lodash.isarguments":55,"lodash.isarray":56}],61:[function(A,t,e){var r=A("lodash.isarguments"),n=A("lodash.isarray"),i=/^\d+$/,s=Object.prototype,o=s.hasOwnProperty,a=9007199254740991;function c(A,t){return A="number"==typeof A||i.test(A)?+A:-1,t=null==t?a:t,A>-1&&A%1==0&&A<t}function u(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=a}function l(A){var t=typeof A;return!!A&&("object"==t||"function"==t)}function h(A){if(null==A)return[];l(A)||(A=Object(A));var t=A.length;t=t&&u(t)&&(n(A)||r(A))&&t||0;var e=A.constructor,i=-1,s="function"==typeof e&&e.prototype===A,a=Array(t),h=t>0;while(++i<t)a[i]=i+"";for(var f in A)h&&c(f,t)||"constructor"==f&&(s||!o.call(A,f))||a.push(f);return a}t.exports=h},{"lodash.isarguments":55,"lodash.isarray":56}],62:[function(A,t,e){var r=A("lodash._basecopy"),n=A("lodash.keysin");function i(A){return r(A,n(A))}t.exports=i},{"lodash._basecopy":63,"lodash.keysin":61}],63:[function(A,t,e){function r(A,t,e){e||(e={});var r=-1,n=t.length;while(++r<n){var i=t[r];e[i]=A[i]}return e}t.exports=r},{}],64:[function(A,t,e){var r,n;r=A("jszip"),n=A("./internal"),t.exports={asBlob:function(A,t){var e;return e=new r,n.addFiles(e,A,t),n.generateDocument(e)}}},{"./internal":65,jszip:14}],65:[function(A,t,e){(function(e,r){var n,i,s;n=A("./templates/document"),i=A("./utils"),s={merge:A("lodash.merge")},t.exports={generateDocument:function(A){var t;if(t=A.generate({type:"arraybuffer"}),e.Blob)return new Blob([t],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"});if(e.Buffer)return new r(new Uint8Array(t));throw new Error("Neither Blob nor Buffer are accessible in this environment. Consider adding Blob.js shim")},renderDocumentFile:function(A){var t;return null==A&&(A={}),t=s.merge({margins:{top:1440,right:1440,bottom:1440,left:1440,header:720,footer:720,gutter:0}},function(){switch(A.orientation){case"landscape":return{height:12240,width:15840,orient:"landscape"};default:return{width:12240,height:15840,orient:"portrait"}}}(),{margins:A.margins}),n(t)},addFiles:function(A,t,e){return A.file("[Content_Types].xml",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8VHlwZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9wYWNrYWdlLzIwMDYvY29udGVudC10eXBlcyI+CiAgPERlZmF1bHQgRXh0ZW5zaW9uPSJyZWxzIiBDb250ZW50VHlwZT0KICAgICJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtcGFja2FnZS5yZWxhdGlvbnNoaXBzK3htbCIgLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2RvY3VtZW50LnhtbCIgQ29udGVudFR5cGU9CiAgICAiYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LndvcmRwcm9jZXNzaW5nbWwuZG9jdW1lbnQubWFpbit4bWwiLz4KICA8T3ZlcnJpZGUgUGFydE5hbWU9Ii93b3JkL2FmY2h1bmsubWh0IiBDb250ZW50VHlwZT0ibWVzc2FnZS9yZmM4MjIiLz4KPC9UeXBlcz4K","base64")),A.folder("_rels").file(".rels",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwCiAgICAgIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvb2ZmaWNlRG9jdW1lbnQiCiAgICAgIFRhcmdldD0iL3dvcmQvZG9jdW1lbnQueG1sIiBJZD0iUjA5YzgzZmFmYzA2NzQ4OGUiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64")),A.folder("word").file("document.xml",this.renderDocumentFile(e)).file("afchunk.mht",i.getMHTdocument(t)).folder("_rels").file("document.xml.rels",r("PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8UmVsYXRpb25zaGlwcyB4bWxucz0iaHR0cDovL3NjaGVtYXMub3BlbnhtbGZvcm1hdHMub3JnL3BhY2thZ2UvMjAwNi9yZWxhdGlvbnNoaXBzIj4KICA8UmVsYXRpb25zaGlwIFR5cGU9Imh0dHA6Ly9zY2hlbWFzLm9wZW54bWxmb3JtYXRzLm9yZy9vZmZpY2VEb2N1bWVudC8yMDA2L3JlbGF0aW9uc2hpcHMvYUZDaHVuayIKICAgIFRhcmdldD0iL3dvcmQvYWZjaHVuay5taHQiIElkPSJodG1sQ2h1bmsiIC8+CjwvUmVsYXRpb25zaGlwcz4K","base64"))}}}).call(this,"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},A("buffer").Buffer)},{"./templates/document":66,"./utils":69,buffer:1,"lodash.merge":47}],66:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<w:document\n xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"\n xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"\n xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"\n xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"\n xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"\n xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"\n xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"\n xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"\n xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"\n xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"\n xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"\n xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"\n xmlns:ns13="urn:schemas-microsoft-com:office:excel"\n xmlns:o="urn:schemas-microsoft-com:office:office"\n xmlns:v="urn:schemas-microsoft-com:vml"\n xmlns:w10="urn:schemas-microsoft-com:office:word"\n xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"\n xmlns:odx="http://opendope.org/xpaths"\n xmlns:odc="http://opendope.org/conditions"\n xmlns:odq="http://opendope.org/questions"\n xmlns:odi="http://opendope.org/components"\n xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"\n xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"\n xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"\n xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">\n <w:body>\n <w:altChunk r:id="htmlChunk" />\n <w:sectPr>\n <w:pgSz w:w="'+(null==(__t=width)?"":__t)+'" w:h="'+(null==(__t=height)?"":__t)+'" w:orient="'+(null==(__t=orient)?"":__t)+'" />\n <w:pgMar w:top="'+(null==(__t=margins.top)?"":__t)+'"\n w:right="'+(null==(__t=margins.right)?"":__t)+'"\n w:bottom="'+(null==(__t=margins.bottom)?"":__t)+'"\n w:left="'+(null==(__t=margins.left)?"":__t)+'"\n w:header="'+(null==(__t=margins.header)?"":__t)+'"\n w:footer="'+(null==(__t=margins.footer)?"":__t)+'"\n w:gutter="'+(null==(__t=margins.gutter)?"":__t)+'"/>\n </w:sectPr>\n </w:body>\n</w:document>\n';return __p}},{"lodash.escape":45}],67:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+='MIME-Version: 1.0\nContent-Type: multipart/related;\n type="text/html";\n boundary="----=mhtDocumentPart"\n\n\n------=mhtDocumentPart\nContent-Type: text/html;\n charset="utf-8"\nContent-Transfer-Encoding: quoted-printable\nContent-Location: file:///C:/fake/document.html\n\n'+(null==(__t=htmlSource)?"":__t)+"\n\n"+(null==(__t=contentParts)?"":__t)+"\n\n------=mhtDocumentPart--\n";return __p}},{"lodash.escape":45}],68:[function(_dereq_,module,exports){var _={escape:_dereq_("lodash.escape")};module.exports=function(obj){var __t,__p="",__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,"")};with(obj||{})__p+="------=mhtDocumentPart\nContent-Type: "+(null==(__t=contentType)?"":__t)+"\nContent-Transfer-Encoding: "+(null==(__t=contentEncoding)?"":__t)+"\nContent-Location: "+(null==(__t=contentLocation)?"":__t)+"\n\n"+(null==(__t=encodedContent)?"":__t)+"\n";return __p}},{"lodash.escape":45}],69:[function(A,t,e){var r,n;r=A("./templates/mht_document"),n=A("./templates/mht_part"),t.exports={getMHTdocument:function(A){var t,e;return e=this._prepareImageParts(A),A=e.htmlSource,t=e.imageContentParts,A=A.replace(/\=/g,"=3D"),r({htmlSource:A,contentParts:t.join("\n")})},_prepareImageParts:function(A){var t,e,r;if(t=[],r=/"data:(\w+\/\w+);(\w+),(\S+)"/g,e=function(A,e,r,i){var s,o,a;return a=t.length,o=e.split("/")[1],s="file:///C:/fake/image"+a+"."+o,t.push(n({contentType:e,contentEncoding:r,contentLocation:s,encodedContent:i})),'"'+s+'"'},"string"===typeof A)return/<img/g.test(A)?(A=A.replace(r,e),{htmlSource:A,imageContentParts:t}):{htmlSource:A,imageContentParts:t};throw new Error("Not a valid source provided!")}}},{"./templates/mht_document":67,"./templates/mht_part":68}]},{},[64])(64)}))},"5b81":function(A,t,e){"use strict";var r=e("23e7"),n=e("c65b"),i=e("e330"),s=e("1d80"),o=e("1626"),a=e("7234"),c=e("44e7"),u=e("577e"),l=e("dc4a"),h=e("90d8"),f=e("0cb2"),d=e("b622"),g=e("c430"),p=d("replace"),B=TypeError,w=i("".indexOf),m=i("".replace),b=i("".slice),y=Math.max;r({target:"String",proto:!0},{replaceAll:function(A,t){var e,r,i,d,v,C,Q,F,U,L=s(this),I=0,x=0,E="";if(!a(A)){if(e=c(A),e&&(r=u(s(h(A))),!~w(r,"g")))throw new B("`.replaceAll` does not allow non-global regexes");if(i=l(A,p),i)return n(i,A,L,t);if(g&&e)return m(u(L),A,t)}d=u(L),v=u(A),C=o(t),C||(t=u(t)),Q=v.length,F=y(1,Q),I=w(d,v);while(-1!==I)U=C?u(t(v,I,d)):f(v,d,I,[],void 0,t),E+=b(d,x,I)+U,x=I+Q,I=I+F>d.length?-1:w(d,v,I+F);return x<d.length&&(E+=b(d,x)),E}})},7037:function(A,t,e){function r(t){return A.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},A.exports.__esModule=!0,A.exports["default"]=A.exports,r(t)}e("a4d3"),e("e01a"),e("d28b"),e("d3b7"),e("3ca3"),e("ddb0"),A.exports=r,A.exports.__esModule=!0,A.exports["default"]=A.exports},"72ba":function(A,t,e){"use strict";e.d(t,"b",(function(){return J})),e.d(t,"a",(function(){return Y}));var r=Uint8Array,n=Uint16Array,i=Int32Array,s=new r([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,0,0,0]),o=new r([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,0,0]),a=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(A,t){for(var e=new n(31),r=0;r<31;++r)e[r]=t+=1<<A[r-1];var s=new i(e[30]);for(r=1;r<30;++r)for(var o=e[r];o<e[r+1];++o)s[o]=o-e[r]<<5|r;return{b:e,r:s}},u=c(s,2),l=u.b,h=u.r;l[28]=258,h[258]=28;for(var f=c(o,0),d=f.b,g=f.r,p=new n(32768),B=0;B<32768;++B){var w=(43690&B)>>1|(21845&B)<<1;w=(52428&w)>>2|(13107&w)<<2,w=(61680&w)>>4|(3855&w)<<4,p[B]=((65280&w)>>8|(255&w)<<8)>>1}var m=function(A,t,e){for(var r=A.length,i=0,s=new n(t);i<r;++i)A[i]&&++s[A[i]-1];var o,a=new n(t);for(i=1;i<t;++i)a[i]=a[i-1]+s[i-1]<<1;if(e){o=new n(1<<t);var c=15-t;for(i=0;i<r;++i)if(A[i])for(var u=i<<4|A[i],l=t-A[i],h=a[A[i]-1]++<<l,f=h|(1<<l)-1;h<=f;++h)o[p[h]>>c]=u}else for(o=new n(r),i=0;i<r;++i)A[i]&&(o[i]=p[a[A[i]-1]++]>>15-A[i]);return o},b=new r(288);for(B=0;B<144;++B)b[B]=8;for(B=144;B<256;++B)b[B]=9;for(B=256;B<280;++B)b[B]=7;for(B=280;B<288;++B)b[B]=8;var y=new r(32);for(B=0;B<32;++B)y[B]=5;var v=m(b,9,0),C=m(b,9,1),Q=m(y,5,0),F=m(y,5,1),U=function(A){for(var t=A[0],e=1;e<A.length;++e)A[e]>t&&(t=A[e]);return t},L=function(A,t,e){var r=t/8|0;return(A[r]|A[r+1]<<8)>>(7&t)&e},I=function(A,t){var e=t/8|0;return(A[e]|A[e+1]<<8|A[e+2]<<16)>>(7&t)},x=function(A){return(A+7)/8|0},E=function(A,t,e){return(null==t||t<0)&&(t=0),(null==e||e>A.length)&&(e=A.length),new r(A.subarray(t,e))},_=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],S=function(A,t,e){var r=new Error(t||_[A]);if(r.code=A,Error.captureStackTrace&&Error.captureStackTrace(r,S),!e)throw r;return r},H=function(A,t,e,n){var i=A.length,c=n?n.length:0;if(!i||t.f&&!t.l)return e||new r(0);var u=!e,h=u||2!=t.i,f=t.i;u&&(e=new r(3*i));var g=function(A){var t=e.length;if(A>t){var n=new r(Math.max(2*t,A));n.set(e),e=n}},p=t.f||0,B=t.p||0,w=t.b||0,b=t.l,y=t.d,v=t.m,Q=t.n,_=8*i;do{if(!b){p=L(A,B,1);var H=L(A,B+1,3);if(B+=3,!H){var N=x(B)+4,k=A[N-4]|A[N-3]<<8,P=N+k;if(P>i){f&&S(0);break}h&&g(w+k),e.set(A.subarray(N,P),w),t.b=w+=k,t.p=B=8*P,t.f=p;continue}if(1==H)b=C,y=F,v=9,Q=5;else if(2==H){var D=L(A,B,31)+257,O=L(A,B+10,15)+4,T=D+L(A,B+5,31)+1;B+=14;for(var M=new r(T),K=new r(19),R=0;R<O;++R)K[a[R]]=L(A,B+3*R,7);B+=3*O;var j=U(K),V=(1<<j)-1,G=m(K,j,1);for(R=0;R<T;){var z=G[L(A,B,V)];B+=15&z;N=z>>4;if(N<16)M[R++]=N;else{var q=0,W=0;16==N?(W=3+L(A,B,3),B+=2,q=M[R-1]):17==N?(W=3+L(A,B,7),B+=3):18==N&&(W=11+L(A,B,127),B+=7);while(W--)M[R++]=q}}var X=M.subarray(0,D),J=M.subarray(D);v=U(X),Q=U(J),b=m(X,v,1),y=m(J,Q,1)}else S(1);if(B>_){f&&S(0);break}}h&&g(w+131072);for(var Y=(1<<v)-1,Z=(1<<Q)-1,$=B;;$=B){q=b[I(A,B)&Y];var AA=q>>4;if(B+=15&q,B>_){f&&S(0);break}if(q||S(2),AA<256)e[w++]=AA;else{if(256==AA){$=B,b=null;break}var tA=AA-254;if(AA>264){R=AA-257;var eA=s[R];tA=L(A,B,(1<<eA)-1)+l[R],B+=eA}var rA=y[I(A,B)&Z],nA=rA>>4;rA||S(3),B+=15&rA;J=d[nA];if(nA>3){eA=o[nA];J+=I(A,B)&(1<<eA)-1,B+=eA}if(B>_){f&&S(0);break}h&&g(w+131072);var iA=w+tA;if(w<J){var sA=c-J,oA=Math.min(J,iA);for(sA+w<0&&S(3);w<oA;++w)e[w]=n[sA+w]}for(;w<iA;++w)e[w]=e[w-J]}}t.l=b,t.p=$,t.b=w,t.f=p,b&&(p=1,t.m=v,t.d=y,t.n=Q)}while(!p);return w!=e.length&&u?E(e,0,w):e.subarray(0,w)},N=function(A,t,e){e<<=7&t;var r=t/8|0;A[r]|=e,A[r+1]|=e>>8},k=function(A,t,e){e<<=7&t;var r=t/8|0;A[r]|=e,A[r+1]|=e>>8,A[r+2]|=e>>16},P=function(A,t){for(var e=[],i=0;i<A.length;++i)A[i]&&e.push({s:i,f:A[i]});var s=e.length,o=e.slice();if(!s)return{t:j,l:0};if(1==s){var a=new r(e[0].s+1);return a[e[0].s]=1,{t:a,l:1}}e.sort((function(A,t){return A.f-t.f})),e.push({s:-1,f:25001});var c=e[0],u=e[1],l=0,h=1,f=2;e[0]={s:-1,f:c.f+u.f,l:c,r:u};while(h!=s-1)c=e[e[l].f<e[f].f?l++:f++],u=e[l!=h&&e[l].f<e[f].f?l++:f++],e[h++]={s:-1,f:c.f+u.f,l:c,r:u};var d=o[0].s;for(i=1;i<s;++i)o[i].s>d&&(d=o[i].s);var g=new n(d+1),p=D(e[h-1],g,0);if(p>t){i=0;var B=0,w=p-t,m=1<<w;for(o.sort((function(A,t){return g[t.s]-g[A.s]||A.f-t.f}));i<s;++i){var b=o[i].s;if(!(g[b]>t))break;B+=m-(1<<p-g[b]),g[b]=t}B>>=w;while(B>0){var y=o[i].s;g[y]<t?B-=1<<t-g[y]++-1:++i}for(;i>=0&&B;--i){var v=o[i].s;g[v]==t&&(--g[v],++B)}p=t}return{t:new r(g),l:p}},D=function(A,t,e){return-1==A.s?Math.max(D(A.l,t,e+1),D(A.r,t,e+1)):t[A.s]=e},O=function(A){var t=A.length;while(t&&!A[--t]);for(var e=new n(++t),r=0,i=A[0],s=1,o=function(A){e[r++]=A},a=1;a<=t;++a)if(A[a]==i&&a!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}while(s--)o(i);s=1,i=A[a]}return{c:e.subarray(0,r),n:t}},T=function(A,t){for(var e=0,r=0;r<t.length;++r)e+=A[r]*t[r];return e},M=function(A,t,e){var r=e.length,n=x(t+2);A[n]=255&r,A[n+1]=r>>8,A[n+2]=255^A[n],A[n+3]=255^A[n+1];for(var i=0;i<r;++i)A[n+i+4]=e[i];return 8*(n+4+r)},K=function(A,t,e,r,i,c,u,l,h,f,d){N(t,d++,e),++i[256];for(var g=P(i,15),p=g.t,B=g.l,w=P(c,15),C=w.t,F=w.l,U=O(p),L=U.c,I=U.n,x=O(C),E=x.c,_=x.n,S=new n(19),H=0;H<L.length;++H)++S[31&L[H]];for(H=0;H<E.length;++H)++S[31&E[H]];for(var D=P(S,7),K=D.t,R=D.l,j=19;j>4&&!K[a[j-1]];--j);var V,G,z,q,W=f+5<<3,X=T(i,b)+T(c,y)+u,J=T(i,p)+T(c,C)+u+14+3*j+T(S,K)+2*S[16]+3*S[17]+7*S[18];if(h>=0&&W<=X&&W<=J)return M(t,d,A.subarray(h,h+f));if(N(t,d,1+(J<X)),d+=2,J<X){V=m(p,B,0),G=p,z=m(C,F,0),q=C;var Y=m(K,R,0);N(t,d,I-257),N(t,d+5,_-1),N(t,d+10,j-4),d+=14;for(H=0;H<j;++H)N(t,d+3*H,K[a[H]]);d+=3*j;for(var Z=[L,E],$=0;$<2;++$){var AA=Z[$];for(H=0;H<AA.length;++H){var tA=31&AA[H];N(t,d,Y[tA]),d+=K[tA],tA>15&&(N(t,d,AA[H]>>5&127),d+=AA[H]>>12)}}}else V=v,G=b,z=Q,q=y;for(H=0;H<l;++H){var eA=r[H];if(eA>255){tA=eA>>18&31;k(t,d,V[tA+257]),d+=G[tA+257],tA>7&&(N(t,d,eA>>23&31),d+=s[tA]);var rA=31&eA;k(t,d,z[rA]),d+=q[rA],rA>3&&(k(t,d,eA>>5&8191),d+=o[rA])}else k(t,d,V[eA]),d+=G[eA]}return k(t,d,V[256]),d+G[256]},R=new i([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),j=new r(0),V=function(A,t,e,a,c,u){var l=u.z||A.length,f=new r(a+l+5*(1+Math.ceil(l/7e3))+c),d=f.subarray(a,f.length-c),p=u.l,B=7&(u.r||0);if(t){B&&(d[0]=u.r>>3);for(var w=R[t-1],m=w>>13,b=8191&w,y=(1<<e)-1,v=u.p||new n(32768),C=u.h||new n(y+1),Q=Math.ceil(e/3),F=2*Q,U=function(t){return(A[t]^A[t+1]<<Q^A[t+2]<<F)&y},L=new i(25e3),I=new n(288),_=new n(32),S=0,H=0,N=u.i||0,k=0,P=u.w||0,D=0;N+2<l;++N){var O=U(N),T=32767&N,j=C[O];if(v[T]=j,C[O]=T,P<=N){var V=l-N;if((S>7e3||k>24576)&&(V>423||!p)){B=K(A,d,0,L,I,_,H,k,D,N-D,B),k=S=H=0,D=N;for(var G=0;G<286;++G)I[G]=0;for(G=0;G<30;++G)_[G]=0}var z=2,q=0,W=b,X=T-j&32767;if(V>2&&O==U(N-X)){var J=Math.min(m,V)-1,Y=Math.min(32767,N),Z=Math.min(258,V);while(X<=Y&&--W&&T!=j){if(A[N+z]==A[N+z-X]){for(var $=0;$<Z&&A[N+$]==A[N+$-X];++$);if($>z){if(z=$,q=X,$>J)break;var AA=Math.min(X,$-2),tA=0;for(G=0;G<AA;++G){var eA=N-X+G&32767,rA=v[eA],nA=eA-rA&32767;nA>tA&&(tA=nA,j=eA)}}}T=j,j=v[T],X+=T-j&32767}}if(q){L[k++]=268435456|h[z]<<18|g[q];var iA=31&h[z],sA=31&g[q];H+=s[iA]+o[sA],++I[257+iA],++_[sA],P=N+z,++S}else L[k++]=A[N],++I[A[N]]}}for(N=Math.max(N,P);N<l;++N)L[k++]=A[N],++I[A[N]];B=K(A,d,p,L,I,_,H,k,D,N-D,B),p||(u.r=7&B|d[B/8|0]<<3,B-=7,u.h=C,u.p=v,u.i=N,u.w=P)}else{for(N=u.w||0;N<l+p;N+=65535){var oA=N+65535;oA>=l&&(d[B/8|0]=p,oA=l),B=M(d,B+1,A.subarray(N,oA))}u.i=l}return E(f,0,a+x(B)+c)},G=function(){var A=1,t=0;return{p:function(e){for(var r=A,n=t,i=0|e.length,s=0;s!=i;){for(var o=Math.min(s+2655,i);s<o;++s)n+=r+=e[s];r=(65535&r)+15*(r>>16),n=(65535&n)+15*(n>>16)}A=r,t=n},d:function(){return A%=65521,t%=65521,(255&A)<<24|(65280&A)<<8|(255&t)<<8|t>>8}}},z=function(A,t,e,n,i){if(!i&&(i={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),o=new r(s.length+A.length);o.set(s),o.set(A,s.length),A=o,i.w=s.length}return V(A,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(A.length)))):20:12+t.mem,e,n,i)},q=function(A,t,e){for(;e;++t)A[t]=e,e>>>=8},W=function(A,t){var e=t.level,r=0==e?0:e<6?1:9==e?3:2;if(A[0]=120,A[1]=r<<6|(t.dictionary&&32),A[1]|=31-(A[0]<<8|A[1])%31,t.dictionary){var n=G();n.p(t.dictionary),q(A,2,n.d())}},X=function(A,t){return(8!=(15&A[0])||A[0]>>4>7||(A[0]<<8|A[1])%31)&&S(6,"invalid zlib data"),(A[1]>>5&1)==+!t&&S(6,"invalid zlib data: "+(32&A[1]?"need":"unexpected")+" dictionary"),2+(A[1]>>3&4)};function J(A,t){t||(t={});var e=G();e.p(A);var r=z(A,t,t.dictionary?6:2,4);return W(r,t),q(r,r.length-4,e.d()),r}function Y(A,t){return H(A.subarray(X(A,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Z="undefined"!=typeof TextDecoder&&new TextDecoder;try{Z.decode(j,{stream:!0}),1}catch($){}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},"8baf":function(A,t,e){"use strict";(function(A){var r=e("7037"),n=e.n(r),i=e("72ba"),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof A?A:"undefined"!=typeof self?self:this}();function o(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var a={log:o,warn:function(A){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):o.call(null,arguments))},error:function(A){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):o(A))}};function c(A,t,e){var r=new XMLHttpRequest;r.open("GET",A),r.responseType="blob",r.onload=function(){d(r.response,t,e)},r.onerror=function(){a.error("could not download file")},r.send()}function u(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function l(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(t)}}var h,f,d=s.saveAs||("object"!==("undefined"==typeof window?"undefined":n()(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,e){var r=s.URL||s.webkitURL,n=document.createElement("a");t=t||A.name||"download",n.download=t,n.rel="noopener","string"==typeof A?(n.href=A,n.origin!==location.origin?u(n.href)?c(A,t,e):l(n,n.target="_blank"):l(n)):(n.href=r.createObjectURL(A),setTimeout((function(){r.revokeObjectURL(n.href)}),4e4),setTimeout((function(){l(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,e){if(t=t||A.name||"download","string"==typeof A)if(u(A))c(A,t,e);else{var r=document.createElement("a");r.href=A,r.target="_blank",setTimeout((function(){l(r)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==n()(t)&&(a.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob([String.fromCharCode(65279),A],{type:A.type}):A}(A,e),t)}:function(A,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof A)return c(A,t,e);var i="application/octet-stream"===A.type,o=/constructor/i.test(s.HTMLElement)||s.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o)&&"object"===("undefined"==typeof FileReader?"undefined":n()(FileReader))){var u=new FileReader;u.onloadend=function(){var A=u.result;A=a?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=A:location=A,r=null},u.readAsDataURL(A)}else{var l=s.URL||s.webkitURL,h=l.createObjectURL(A);r?r.location=h:location.href=h,r=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}});
- /**
- * A class to parse color values
- * @author Stoyan Stefanov <sstoo@gmail.com>
- * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
- * @license Use it if you like it
- */function g(A){var t;A=A||"",this.ok=!1,"#"==A.charAt(0)&&(A=A.substr(1,6)),A={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[A=(A=A.replace(/ /g,"")).toLowerCase()]||A;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(A){return[parseInt(A[1]),parseInt(A[2]),parseInt(A[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(A){return[parseInt(A[1],16),parseInt(A[2],16),parseInt(A[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(A){return[parseInt(A[1]+A[1],16),parseInt(A[2]+A[2],16),parseInt(A[3]+A[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,s=n.exec(A);s&&(t=i(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var A=this.r.toString(16),t=this.g.toString(16),e=this.b.toString(16);return 1==A.length&&(A="0"+A),1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),"#"+A+t+e
- /**
- * @license
- * Joseph Myers does not specify a particular license for his work.
- *
- * Author: Joseph Myers
- * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
- *
- * Modified by: Owen Leong
- */}}function p(A,t){var e=A[0],r=A[1],n=A[2],i=A[3];e=w(e,r,n,i,t[0],7,-680876936),i=w(i,e,r,n,t[1],12,-389564586),n=w(n,i,e,r,t[2],17,606105819),r=w(r,n,i,e,t[3],22,-1044525330),e=w(e,r,n,i,t[4],7,-176418897),i=w(i,e,r,n,t[5],12,1200080426),n=w(n,i,e,r,t[6],17,-1473231341),r=w(r,n,i,e,t[7],22,-45705983),e=w(e,r,n,i,t[8],7,1770035416),i=w(i,e,r,n,t[9],12,-1958414417),n=w(n,i,e,r,t[10],17,-42063),r=w(r,n,i,e,t[11],22,-1990404162),e=w(e,r,n,i,t[12],7,1804603682),i=w(i,e,r,n,t[13],12,-40341101),n=w(n,i,e,r,t[14],17,-1502002290),e=m(e,r=w(r,n,i,e,t[15],22,1236535329),n,i,t[1],5,-165796510),i=m(i,e,r,n,t[6],9,-1069501632),n=m(n,i,e,r,t[11],14,643717713),r=m(r,n,i,e,t[0],20,-373897302),e=m(e,r,n,i,t[5],5,-701558691),i=m(i,e,r,n,t[10],9,38016083),n=m(n,i,e,r,t[15],14,-660478335),r=m(r,n,i,e,t[4],20,-405537848),e=m(e,r,n,i,t[9],5,568446438),i=m(i,e,r,n,t[14],9,-1019803690),n=m(n,i,e,r,t[3],14,-187363961),r=m(r,n,i,e,t[8],20,1163531501),e=m(e,r,n,i,t[13],5,-1444681467),i=m(i,e,r,n,t[2],9,-51403784),n=m(n,i,e,r,t[7],14,1735328473),e=b(e,r=m(r,n,i,e,t[12],20,-1926607734),n,i,t[5],4,-378558),i=b(i,e,r,n,t[8],11,-2022574463),n=b(n,i,e,r,t[11],16,1839030562),r=b(r,n,i,e,t[14],23,-35309556),e=b(e,r,n,i,t[1],4,-1530992060),i=b(i,e,r,n,t[4],11,1272893353),n=b(n,i,e,r,t[7],16,-155497632),r=b(r,n,i,e,t[10],23,-1094730640),e=b(e,r,n,i,t[13],4,681279174),i=b(i,e,r,n,t[0],11,-358537222),n=b(n,i,e,r,t[3],16,-722521979),r=b(r,n,i,e,t[6],23,76029189),e=b(e,r,n,i,t[9],4,-640364487),i=b(i,e,r,n,t[12],11,-421815835),n=b(n,i,e,r,t[15],16,530742520),e=y(e,r=b(r,n,i,e,t[2],23,-995338651),n,i,t[0],6,-198630844),i=y(i,e,r,n,t[7],10,1126891415),n=y(n,i,e,r,t[14],15,-1416354905),r=y(r,n,i,e,t[5],21,-57434055),e=y(e,r,n,i,t[12],6,1700485571),i=y(i,e,r,n,t[3],10,-1894986606),n=y(n,i,e,r,t[10],15,-1051523),r=y(r,n,i,e,t[1],21,-2054922799),e=y(e,r,n,i,t[8],6,1873313359),i=y(i,e,r,n,t[15],10,-30611744),n=y(n,i,e,r,t[6],15,-1560198380),r=y(r,n,i,e,t[13],21,1309151649),e=y(e,r,n,i,t[4],6,-145523070),i=y(i,e,r,n,t[11],10,-1120210379),n=y(n,i,e,r,t[2],15,718787259),r=y(r,n,i,e,t[9],21,-343485551),A[0]=x(e,A[0]),A[1]=x(r,A[1]),A[2]=x(n,A[2]),A[3]=x(i,A[3])}function B(A,t,e,r,n,i){return t=x(x(t,A),x(r,i)),x(t<<n|t>>>32-n,e)}function w(A,t,e,r,n,i,s){return B(t&e|~t&r,A,t,n,i,s)}function m(A,t,e,r,n,i,s){return B(t&r|e&~r,A,t,n,i,s)}function b(A,t,e,r,n,i,s){return B(t^e^r,A,t,n,i,s)}function y(A,t,e,r,n,i,s){return B(e^(t|~r),A,t,n,i,s)}function v(A){var t,e=A.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)p(r,C(A.substring(t-64,t)));A=A.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<A.length;t++)n[t>>2]|=A.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(p(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*e,p(r,n),r}function C(A){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=A.charCodeAt(t)+(A.charCodeAt(t+1)<<8)+(A.charCodeAt(t+2)<<16)+(A.charCodeAt(t+3)<<24);return e}h=s.atob.bind(s),f=s.btoa.bind(s);var Q="0123456789abcdef".split("");function F(A){for(var t="",e=0;e<4;e++)t+=Q[A>>8*e+4&15]+Q[A>>8*e&15];return t}function U(A){return String.fromCharCode((255&A)>>0,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function L(A){return v(A).map(U).join("")}var I="5d41402abc4b2a76b9719d911017c592"!=function(A){for(var t=0;t<A.length;t++)A[t]=F(A[t]);return A.join("")}(v("hello"));function x(A,t){if(I){var e=(65535&A)+(65535&t);return(A>>16)+(t>>16)+(e>>16)<<16|65535&e}return A+t&4294967295}
- /**
- * @license
- * FPDF is released under a permissive license: there is no usage restriction.
- * You may embed it freely in your application (commercial or not), with or
- * without modifications.
- *
- * Reference: http://www.fpdf.org/en/script/script37.php
- */function E(A,t){var e,r,n,i;if(A!==e){for(var s=(n=A,i=1+(256/A.length>>0),new Array(i+1).join(n)),o=[],a=0;a<256;a++)o[a]=a;var c=0;for(a=0;a<256;a++){var u=o[a];c=(c+u+s.charCodeAt(a))%256,o[a]=o[c],o[c]=u}e=A,r=o}else o=r;var l=t.length,h=0,f=0,d="";for(a=0;a<l;a++)f=(f+(u=o[h=(h+1)%256]))%256,o[h]=o[f],o[f]=u,s=o[(o[h]+o[f])%256],d+=String.fromCharCode(t.charCodeAt(a)^s);return d}
- /**
- * @license
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- * Author: Owen Leong (@owenl131)
- * Date: 15 Oct 2020
- * References:
- * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
- * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
- * http://www.fpdf.org/en/script/script37.php
- */var _={print:4,modify:8,copy:16,"annot-forms":32};function S(A,t,e,r){this.v=1,this.r=2;var n=192;A.forEach((function(A){if(void 0!==_.perm)throw new Error("Invalid permission: "+A);n+=_[A]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var i=(t+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=L(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=E(this.encryptionKey,this.padding)}function H(A){if(/[^\u0000-\u00ff]/.test(A))throw new Error("Invalid PDF Name Object: "+A+", Only accept ASCII characters.");for(var t="",e=A.length,r=0;r<e;r++){var n=A.charCodeAt(r);t+=n<33||35===n||37===n||40===n||41===n||47===n||60===n||62===n||91===n||93===n||123===n||125===n||n>126?"#"+("0"+n.toString(16)).slice(-2):A[r]}return t}function N(A){if("object"!==n()(A))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(A,e,r){if(r=r||!1,"string"!=typeof A||"function"!=typeof e||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(A)||(t[A]={});var n=Math.random().toString(35);return t[A][n]=[e,!!r],n},this.unsubscribe=function(A){for(var e in t)if(t[e][A])return delete t[e][A],0===Object.keys(t[e]).length&&delete t[e],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in t[e]){var o=t[e][i];try{o[0].apply(A,r)}catch(e){s.console&&a.error("jsPDF PubSub Error",e.message,e)}o[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function k(A){if(!(this instanceof k))return new k(A);var t="opacity,stroke-opacity".split(",");for(var e in A)A.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=A[e]);this.id="",this.objectNumber=-1}function P(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function D(A,t,e,r,n){if(!(this instanceof D))return new D(A,t,e,r,n);this.type="axial"===A?2:3,this.coords=t,this.colors=e,P.call(this,r,n)}function O(A,t,e,r,n){if(!(this instanceof O))return new O(A,t,e,r,n);this.boundingBox=A,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,P.call(this,r,n)}function T(A){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],c=[],u=1,l=16,h="S",p=null;"object"===n()(A=A||{})&&(e=A.orientation,r=A.unit||r,i=A.format||i,o=A.compress||A.compressPdf||o,null!==(p=A.encryption||null)&&(p.userPassword=p.userPassword||"",p.ownerPassword=p.ownerPassword||"",p.userPermissions=p.userPermissions||[]),u="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(l=A.floatPrecision),h=A.defaultPathOperation||"S"),c=A.filters||(!0===o?["FlateEncode"]:c),r=r||"mm",e=(""+(e||"P")).toLowerCase();var B=A.putOnlyUsedFonts||!1,w={},m={internal:{},__private__:{}};m.__private__.PubSub=N;var b="1.3",y=m.__private__.getPdfVersion=function(){return b};m.__private__.setPdfVersion=function(A){b=A};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};m.__private__.getPageFormats=function(){return v};var C=m.__private__.getPageFormat=function(A){return v[A]};i=i||"a4";var Q={COMPAT:"compat",ADVANCED:"advanced"},F=Q.COMPAT;function U(){this.saveGraphicsState(),lA(new GA(UA,0,0,-UA,0,Te()*UA).toString()+" cm"),this.setFontSize(this.getFontSize()/UA),h="n",F=Q.ADVANCED}function L(){this.restoreGraphicsState(),h="S",F=Q.COMPAT}var I=m.__private__.combineFontStyleAndFontWeight=function(A,t){if("bold"==A&&"normal"==t||"bold"==A&&400==t||"normal"==A&&"italic"==t||"bold"==A&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(A=400==t||"normal"===t?"italic"===A?"italic":"normal":700!=t&&"bold"!==t||"normal"!==A?(700==t?"bold":t)+""+A:"bold"),A};m.advancedAPI=function(A){var t=F===Q.COMPAT;return t&&U.call(this),"function"!=typeof A||(A(this),t&&L.call(this)),this},m.compatAPI=function(A){var t=F===Q.ADVANCED;return t&&L.call(this),"function"!=typeof A||(A(this),t&&U.call(this)),this},m.isAdvancedAPI=function(){return F===Q.ADVANCED};var x,E=function(A){if(F!==Q.ADVANCED)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},_=m.roundToPrecision=m.__private__.roundToPrecision=function(A,e){var r=t||e;if(isNaN(A)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return A.toFixed(r).replace(/0+$/,"")};x=m.hpf=m.__private__.hpf="number"==typeof l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,l)}:"smart"===l?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return _(A,16)};var P=m.f2=m.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return _(A,2)},M=m.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return _(A,3)},K=m.scale=m.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return F===Q.COMPAT?A*UA:F===Q.ADVANCED?A:void 0},R=function(A){return F===Q.COMPAT?Te()-A:F===Q.ADVANCED?A:void 0},j=function(A){return K(R(A))};m.__private__.setPrecision=m.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var V,G="00000000000000000000000000000000",z=m.__private__.getFileId=function(){return G},q=m.__private__.setFileId=function(A){return G=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():G.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==p&&(qt=new S(p.userPermissions,p.userPassword,p.ownerPassword,G)),G};m.setFileId=function(A){return q(A),this},m.getFileId=function(){return z()};var W=m.__private__.convertDateToPDFDate=function(A){var t=A.getTimezoneOffset(),e=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),i=[e,$(r),"'",$(n),"'"].join("");return["D:",A.getFullYear(),$(A.getMonth()+1),$(A.getDate()),$(A.getHours()),$(A.getMinutes()),$(A.getSeconds()),i].join("")},X=m.__private__.convertPDFDateToDate=function(A){var t=parseInt(A.substr(2,4),10),e=parseInt(A.substr(6,2),10)-1,r=parseInt(A.substr(8,2),10),n=parseInt(A.substr(10,2),10),i=parseInt(A.substr(12,2),10),s=parseInt(A.substr(14,2),10);return new Date(t,e,r,n,i,s,0)},J=m.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=W(A);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(A))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=A}return V=t},Y=m.__private__.getCreationDate=function(A){var t=V;return"jsDate"===A&&(t=X(V)),t};m.setCreationDate=function(A){return J(A),this},m.getCreationDate=function(A){return Y(A)};var Z,$=m.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},AA=m.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},tA=0,eA=[],rA=[],nA=0,iA=[],sA=[],oA=!1,aA=rA,cA=function(){tA=0,nA=0,rA=[],eA=[],iA=[],$A=JA(),At=JA()};m.__private__.setCustomOutputDestination=function(A){oA=!0,aA=A};var uA=function(A){oA||(aA=A)};m.__private__.resetCustomOutputDestination=function(){oA=!1,aA=rA};var lA=m.__private__.out=function(A){return A=A.toString(),nA+=A.length+1,aA.push(A),aA},hA=m.__private__.write=function(A){return lA(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},fA=m.__private__.getArrayBuffer=function(A){for(var t=A.length,e=new ArrayBuffer(t),r=new Uint8Array(e);t--;)r[t]=A.charCodeAt(t);return e},dA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];m.__private__.getStandardFonts=function(){return dA};var gA=A.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(A){return gA=F===Q.ADVANCED?A/UA:A,this};var pA,BA=m.__private__.getFontSize=m.getFontSize=function(){return F===Q.COMPAT?gA:gA*UA},wA=A.R2L||!1;m.__private__.setR2L=m.setR2L=function(A){return wA=A,this},m.__private__.getR2L=m.getR2L=function(){return wA};var mA,bA=m.__private__.setZoomMode=function(A){var t=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))pA=A;else if(isNaN(A)){if(-1===t.indexOf(A))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+A+'" is not recognized.');pA=A}else pA=parseInt(A,10)};m.__private__.getZoomMode=function(){return pA};var yA,vA=m.__private__.setPageMode=function(A){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(A))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+A+'" is not recognized.');mA=A};m.__private__.getPageMode=function(){return mA};var CA=m.__private__.setLayoutMode=function(A){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(A))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+A+'" is not recognized.');yA=A};m.__private__.getLayoutMode=function(){return yA},m.__private__.setDisplayMode=m.setDisplayMode=function(A,t,e){return bA(A),CA(t),vA(e),this};var QA={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(A){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return QA[A]},m.__private__.getDocumentProperties=function(){return QA},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(A){for(var t in QA)QA.hasOwnProperty(t)&&A[t]&&(QA[t]=A[t]);return this},m.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(QA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return QA[A]=t};var FA,UA,LA,IA,xA,EA={},_A={},SA=[],HA={},NA={},kA={},PA={},DA=null,OA=0,TA=[],MA=new N(m),KA=A.hotfixes||[],RA={},jA={},VA=[],GA=function A(t,e,r,n,i,s){if(!(this instanceof A))return new A(t,e,r,n,i,s);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(s)&&(s=0),this._matrix=[t,e,r,n,i,s]};Object.defineProperty(GA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(GA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(GA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(GA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(GA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(GA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(GA.prototype,"a",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(GA.prototype,"b",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(GA.prototype,"c",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(GA.prototype,"d",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(GA.prototype,"e",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(GA.prototype,"f",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(GA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(GA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(GA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(GA.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),GA.prototype.join=function(A){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(x).join(A)},GA.prototype.multiply=function(A){var t=A.sx*this.sx+A.shy*this.shx,e=A.sx*this.shy+A.shy*this.sy,r=A.shx*this.sx+A.sy*this.shx,n=A.shx*this.shy+A.sy*this.sy,i=A.tx*this.sx+A.ty*this.shx+this.tx,s=A.tx*this.shy+A.ty*this.sy+this.ty;return new GA(t,e,r,n,i,s)},GA.prototype.decompose=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=Math.sqrt(A*A+t*t),o=(A/=s)*e+(t/=s)*r;e-=A*o,r-=t*o;var a=Math.sqrt(e*e+r*r);return o/=a,A*(r/=a)<t*(e/=a)&&(A=-A,t=-t,o=-o,s=-s),{scale:new GA(s,0,0,a,0,0),translate:new GA(1,0,0,1,n,i),rotate:new GA(A,t,-t,A,0,0),skew:new GA(1,0,o,1,0,0)}},GA.prototype.toString=function(A){return this.join(" ")},GA.prototype.inversed=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=1/(A*r-t*e),o=r*s,a=-t*s,c=-e*s,u=A*s;return new GA(o,a,c,u,-o*n-c*i,-a*n-u*i)},GA.prototype.applyToPoint=function(A){var t=A.x*this.sx+A.y*this.shx+this.tx,e=A.x*this.shy+A.y*this.sy+this.ty;return new _e(t,e)},GA.prototype.applyToRectangle=function(A){var t=this.applyToPoint(A),e=this.applyToPoint(new _e(A.x+A.w,A.y+A.h));return new Se(t.x,t.y,e.x-t.x,e.y-t.y)},GA.prototype.clone=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty;return new GA(A,t,e,r,n,i)},m.Matrix=GA;var zA=m.matrixMult=function(A,t){return t.multiply(A)},qA=new GA(1,0,0,1,0,0);m.unitMatrix=m.identityMatrix=qA;var WA=function(A,t){if(!NA[A]){var e=(t instanceof D?"Sh":"P")+(Object.keys(HA).length+1).toString(10);t.id=e,NA[A]=e,HA[e]=t,MA.publish("addPattern",t)}};m.ShadingPattern=D,m.TilingPattern=O,m.addShadingPattern=function(A,t){return E("addShadingPattern()"),WA(A,t),this},m.beginTilingPattern=function(A){E("beginTilingPattern()"),Ne(A.boundingBox[0],A.boundingBox[1],A.boundingBox[2]-A.boundingBox[0],A.boundingBox[3]-A.boundingBox[1],A.matrix)},m.endTilingPattern=function(A,t){E("endTilingPattern()"),t.stream=sA[Z].join("\n"),WA(A,t),MA.publish("endTilingPattern",t),VA.pop().restore()};var XA=m.__private__.newObject=function(){var A=JA();return YA(A,!0),A},JA=m.__private__.newObjectDeferred=function(){return tA++,eA[tA]=function(){return nA},tA},YA=function(A,t){return t="boolean"==typeof t&&t,eA[A]=nA,t&&lA(A+" 0 obj"),A},ZA=m.__private__.newAdditionalObject=function(){var A={objId:JA(),content:""};return iA.push(A),A},$A=JA(),At=JA(),tt=m.__private__.decodeColorString=function(A){var t=A.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var e=parseFloat(t[0]);t=[e,e,e,"r"]}for(var r="#",n=0;n<3;n++)r+=("0"+Math.floor(255*parseFloat(t[n])).toString(16)).slice(-2);return r},et=m.__private__.encodeColorString=function(A){var t;"string"==typeof A&&(A={ch1:A});var e=A.ch1,r=A.ch2,i=A.ch3,s=A.ch4,o="draw"===A.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof e&&"#"!==e.charAt(0)){var a=new g(e);if(a.ok)e=a.toHex();else if(!/^\d*\.?\d*$/.test(e))throw new Error('Invalid color "'+e+'" passed to jsPDF.encodeColorString.')}if("string"==typeof e&&/^#[0-9A-Fa-f]{3}$/.test(e)&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]),"string"==typeof e&&/^#[0-9A-Fa-f]{6}$/.test(e)){var c=parseInt(e.substr(1),16);e=c>>16&255,r=c>>8&255,i=255&c}if(void 0===r||void 0===s&&e===r&&r===i)if("string"==typeof e)t=e+" "+o[0];else switch(A.precision){case 2:t=P(e/255)+" "+o[0];break;case 3:default:t=M(e/255)+" "+o[0]}else if(void 0===s||"object"===n()(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof e)t=[e,r,i,o[1]].join(" ");else switch(A.precision){case 2:t=[P(e/255),P(r/255),P(i/255),o[1]].join(" ");break;default:case 3:t=[M(e/255),M(r/255),M(i/255),o[1]].join(" ")}}else if("string"==typeof e)t=[e,r,i,s,o[2]].join(" ");else switch(A.precision){case 2:t=[P(e),P(r),P(i),P(s),o[2]].join(" ");break;case 3:default:t=[M(e),M(r),M(i),M(s),o[2]].join(" ")}return t},rt=m.__private__.getFilters=function(){return c},nt=m.__private__.putStream=function(A){var t=(A=A||{}).data||"",e=A.filters||rt(),r=A.alreadyAppliedFilters||[],n=A.addLength1||!1,i=t.length,s=A.objectId,o=function(A){return A};if(null!==p&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==p&&(o=qt.encryptor(s,0));var a={};!0===e&&(e=["FlateEncode"]);var c=A.additionalKeyValues||[],u=(a=void 0!==T.API.processDataByFilters?T.API.processDataByFilters(t,e):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==a.data.length&&(c.push({key:"Length",value:a.data.length}),!0===n&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var l=0;l<c.length;l+=1)if("DecodeParms"===c[l].key){for(var h=[],f=0;f<a.reverseChain.split("/").length-1;f+=1)h.push("null");h.push(c[l].value),c[l].value="["+h.join(" ")+"]"}}lA("<<");for(var d=0;d<c.length;d++)lA("/"+c[d].key+" "+c[d].value);lA(">>"),0!==a.data.length&&(lA("stream"),lA(o(a.data)),lA("endstream"))},it=m.__private__.putPage=function(A){var t=A.number,e=A.data,r=A.objId,n=A.contentsObjId;YA(r,!0),lA("<</Type /Page"),lA("/Parent "+A.rootDictionaryObjId+" 0 R"),lA("/Resources "+A.resourceDictionaryObjId+" 0 R"),lA("/MediaBox ["+parseFloat(x(A.mediaBox.bottomLeftX))+" "+parseFloat(x(A.mediaBox.bottomLeftY))+" "+x(A.mediaBox.topRightX)+" "+x(A.mediaBox.topRightY)+"]"),null!==A.cropBox&&lA("/CropBox ["+x(A.cropBox.bottomLeftX)+" "+x(A.cropBox.bottomLeftY)+" "+x(A.cropBox.topRightX)+" "+x(A.cropBox.topRightY)+"]"),null!==A.bleedBox&&lA("/BleedBox ["+x(A.bleedBox.bottomLeftX)+" "+x(A.bleedBox.bottomLeftY)+" "+x(A.bleedBox.topRightX)+" "+x(A.bleedBox.topRightY)+"]"),null!==A.trimBox&&lA("/TrimBox ["+x(A.trimBox.bottomLeftX)+" "+x(A.trimBox.bottomLeftY)+" "+x(A.trimBox.topRightX)+" "+x(A.trimBox.topRightY)+"]"),null!==A.artBox&&lA("/ArtBox ["+x(A.artBox.bottomLeftX)+" "+x(A.artBox.bottomLeftY)+" "+x(A.artBox.topRightX)+" "+x(A.artBox.topRightY)+"]"),"number"==typeof A.userUnit&&1!==A.userUnit&&lA("/UserUnit "+A.userUnit),MA.publish("putPage",{objId:r,pageContext:TA[t],pageNumber:t,page:e}),lA("/Contents "+n+" 0 R"),lA(">>"),lA("endobj");var i=e.join("\n");return F===Q.ADVANCED&&(i+="\nQ"),YA(n,!0),nt({data:i,filters:rt(),objectId:n}),lA("endobj"),r},st=m.__private__.putPages=function(){var A,t,e=[];for(A=1;A<=OA;A++)TA[A].objId=JA(),TA[A].contentsObjId=JA();for(A=1;A<=OA;A++)e.push(it({number:A,data:sA[A],objId:TA[A].objId,contentsObjId:TA[A].contentsObjId,mediaBox:TA[A].mediaBox,cropBox:TA[A].cropBox,bleedBox:TA[A].bleedBox,trimBox:TA[A].trimBox,artBox:TA[A].artBox,userUnit:TA[A].userUnit,rootDictionaryObjId:$A,resourceDictionaryObjId:At}));YA($A,!0),lA("<</Type /Pages");var r="/Kids [";for(t=0;t<OA;t++)r+=e[t]+" 0 R ";lA(r+"]"),lA("/Count "+OA),lA(">>"),lA("endobj"),MA.publish("postPutPages")},ot=function(A){MA.publish("putFont",{font:A,out:lA,newObject:XA,putStream:nt}),!0!==A.isAlreadyPutted&&(A.objectNumber=XA(),lA("<<"),lA("/Type /Font"),lA("/BaseFont /"+H(A.postScriptName)),lA("/Subtype /Type1"),"string"==typeof A.encoding&&lA("/Encoding /"+A.encoding),lA("/FirstChar 32"),lA("/LastChar 255"),lA(">>"),lA("endobj"))},at=function(){for(var A in EA)EA.hasOwnProperty(A)&&(!1===B||!0===B&&w.hasOwnProperty(A))&&ot(EA[A])},ct=function(A){A.objectNumber=XA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[x(A.x),x(A.y),x(A.x+A.width),x(A.y+A.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+A.matrix.toString()+"]"});var e=A.pages[1].join("\n");nt({data:e,additionalKeyValues:t,objectId:A.objectNumber}),lA("endobj")},ut=function(){for(var A in RA)RA.hasOwnProperty(A)&&ct(RA[A])},lt=function(A,t){var e,r=[],n=1/(t-1);for(e=0;e<1;e+=n)r.push(e);if(r.push(1),0!=A[0].offset){var i={offset:0,color:A[0].color};A.unshift(i)}if(1!=A[A.length-1].offset){var s={offset:1,color:A[A.length-1].color};A.push(s)}for(var o="",a=0,c=0;c<r.length;c++){for(e=r[c];e>A[a+1].offset;)a++;var u=A[a].offset,l=(e-u)/(A[a+1].offset-u),h=A[a].color,f=A[a+1].color;o+=AA(Math.round((1-l)*h[0]+l*f[0]).toString(16))+AA(Math.round((1-l)*h[1]+l*f[1]).toString(16))+AA(Math.round((1-l)*h[2]+l*f[2]).toString(16))}return o.trim()},ht=function(A,t){t||(t=21);var e=XA(),r=lt(A.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),nt({data:r,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:e}),lA("endobj"),A.objectNumber=XA(),lA("<< /ShadingType "+A.type),lA("/ColorSpace /DeviceRGB");var i="/Coords ["+x(parseFloat(A.coords[0]))+" "+x(parseFloat(A.coords[1]))+" ";2===A.type?i+=x(parseFloat(A.coords[2]))+" "+x(parseFloat(A.coords[3])):i+=x(parseFloat(A.coords[2]))+" "+x(parseFloat(A.coords[3]))+" "+x(parseFloat(A.coords[4]))+" "+x(parseFloat(A.coords[5])),lA(i+="]"),A.matrix&&lA("/Matrix ["+A.matrix.toString()+"]"),lA("/Function "+e+" 0 R"),lA("/Extend [true true]"),lA(">>"),lA("endobj")},ft=function(A,t){var e=JA(),r=XA();t.push({resourcesOid:e,objectOid:r}),A.objectNumber=r;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+A.boundingBox.map(x).join(" ")+"]"}),n.push({key:"XStep",value:x(A.xStep)}),n.push({key:"YStep",value:x(A.yStep)}),n.push({key:"Resources",value:e+" 0 R"}),A.matrix&&n.push({key:"Matrix",value:"["+A.matrix.toString()+"]"}),nt({data:A.stream,additionalKeyValues:n,objectId:A.objectNumber}),lA("endobj")},dt=function(A){var t;for(t in HA)HA.hasOwnProperty(t)&&(HA[t]instanceof D?ht(HA[t]):HA[t]instanceof O&&ft(HA[t],A))},gt=function(A){for(var t in A.objectNumber=XA(),lA("<<"),A)switch(t){case"opacity":lA("/ca "+P(A[t]));break;case"stroke-opacity":lA("/CA "+P(A[t]))}lA(">>"),lA("endobj")},pt=function(){var A;for(A in kA)kA.hasOwnProperty(A)&>(kA[A])},Bt=function(){for(var A in lA("/XObject <<"),RA)RA.hasOwnProperty(A)&&RA[A].objectNumber>=0&&lA("/"+A+" "+RA[A].objectNumber+" 0 R");MA.publish("putXobjectDict"),lA(">>")},wt=function(){qt.oid=XA(),lA("<<"),lA("/Filter /Standard"),lA("/V "+qt.v),lA("/R "+qt.r),lA("/U <"+qt.toHexString(qt.U)+">"),lA("/O <"+qt.toHexString(qt.O)+">"),lA("/P "+qt.P),lA(">>"),lA("endobj")},mt=function(){for(var A in lA("/Font <<"),EA)EA.hasOwnProperty(A)&&(!1===B||!0===B&&w.hasOwnProperty(A))&&lA("/"+A+" "+EA[A].objectNumber+" 0 R");lA(">>")},bt=function(){if(Object.keys(HA).length>0){for(var A in lA("/Shading <<"),HA)HA.hasOwnProperty(A)&&HA[A]instanceof D&&HA[A].objectNumber>=0&&lA("/"+A+" "+HA[A].objectNumber+" 0 R");MA.publish("putShadingPatternDict"),lA(">>")}},yt=function(A){if(Object.keys(HA).length>0){for(var t in lA("/Pattern <<"),HA)HA.hasOwnProperty(t)&&HA[t]instanceof m.TilingPattern&&HA[t].objectNumber>=0&&HA[t].objectNumber<A&&lA("/"+t+" "+HA[t].objectNumber+" 0 R");MA.publish("putTilingPatternDict"),lA(">>")}},vt=function(){if(Object.keys(kA).length>0){var A;for(A in lA("/ExtGState <<"),kA)kA.hasOwnProperty(A)&&kA[A].objectNumber>=0&&lA("/"+A+" "+kA[A].objectNumber+" 0 R");MA.publish("putGStateDict"),lA(">>")}},Ct=function(A){YA(A.resourcesOid,!0),lA("<<"),lA("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),mt(),bt(),yt(A.objectOid),vt(),Bt(),lA(">>"),lA("endobj")},Qt=function(){var A=[];at(),pt(),ut(),dt(A),MA.publish("putResources"),A.forEach(Ct),Ct({resourcesOid:At,objectOid:Number.MAX_SAFE_INTEGER}),MA.publish("postPutResources")},Ft=function(){MA.publish("putAdditionalObjects");for(var A=0;A<iA.length;A++){var t=iA[A];YA(t.objId,!0),lA(t.content),lA("endobj")}MA.publish("postPutAdditionalObjects")},Ut=function(A){_A[A.fontName]=_A[A.fontName]||{},_A[A.fontName][A.fontStyle]=A.id},Lt=function(A,t,e,r,n){var i={id:"F"+(Object.keys(EA).length+1).toString(10),postScriptName:A,fontName:t,fontStyle:e,encoding:r,isStandardFont:n||!1,metadata:{}};return MA.publish("addFont",{font:i,instance:this}),EA[i.id]=i,Ut(i),i.id},It=function(A){for(var t=0,e=dA.length;t<e;t++){var r=Lt.call(this,A[t][0],A[t][1],A[t][2],dA[t][3],!0);!1===B&&(w[r]=!0);var n=A[t][0].split("-");Ut({id:r,fontName:n[0],fontStyle:n[1]||""})}MA.publish("addFonts",{fonts:EA,dictionary:_A})},xt=function(A){return A.foo=function(){try{return A.apply(this,arguments)}catch(A){var t=A.stack||"";~t.indexOf(" at ")&&(t=t.split(" at ")[1]);var e="Error in function "+t.split("\n")[0].split("<")[0]+": "+A.message;if(!s.console)throw new Error(e);s.console.error(e,A),s.alert&&alert(e)}},A.foo.bar=A,A.foo},Et=function(A,t){var e,r,n,i,s,o,a,c,u;if(n=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&EA[FA].metadata&&EA[FA].metadata[n]&&EA[FA].metadata[n].encoding&&(i=EA[FA].metadata[n].encoding,!s&&EA[FA].encoding&&(s=EA[FA].encoding),!s&&i.codePages&&(s=i.codePages[0]),"string"==typeof s&&(s=i[s]),s)){for(a=!1,o=[],e=0,r=A.length;e<r;e++)(c=s[A.charCodeAt(e)])?o.push(String.fromCharCode(c)):o.push(A[e]),o[e].charCodeAt(0)>>8&&(a=!0);A=o.join("")}for(e=A.length;void 0===a&&0!==e;)A.charCodeAt(e-1)>>8&&(a=!0),e--;if(!a)return A;for(o=t.noBOM?[]:[254,255],e=0,r=A.length;e<r;e++){if((u=(c=A.charCodeAt(e))>>8)>>8)throw new Error("Character at position "+e+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(u),o.push(c-(u<<8))}return String.fromCharCode.apply(void 0,o)},_t=m.__private__.pdfEscape=m.pdfEscape=function(A,t){return Et(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},St=m.__private__.beginPage=function(A){sA[++OA]=[],TA[OA]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},kt(OA),uA(sA[Z])},Ht=function(A,t){var r,n,s;switch(e=t||e,"string"==typeof A&&(r=C(A.toLowerCase()),Array.isArray(r)&&(n=r[0],s=r[1])),Array.isArray(A)&&(n=A[0]*UA,s=A[1]*UA),isNaN(n)&&(n=i[0],s=i[1]),(n>14400||s>14400)&&(a.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),n=Math.min(14400,n),s=Math.min(14400,s)),i=[n,s],e.substr(0,1)){case"l":s>n&&(i=[s,n]);break;case"p":n>s&&(i=[s,n])}St(i),de(he),lA(ve),0!==Ie&&lA(Ie+" J"),0!==xe&&lA(xe+" j"),MA.publish("addPage",{pageNumber:OA})},Nt=function(A){A>0&&A<=OA&&(sA.splice(A,1),TA.splice(A,1),OA--,Z>OA&&(Z=OA),this.setPage(Z))},kt=function(A){A>0&&A<=OA&&(Z=A)},Pt=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return sA.length-1},Dt=function(A,t,e){var r,n=void 0;return e=e||{},A=void 0!==A?A:EA[FA].fontName,t=void 0!==t?t:EA[FA].fontStyle,r=A.toLowerCase(),void 0!==_A[r]&&void 0!==_A[r][t]?n=_A[r][t]:void 0!==_A[A]&&void 0!==_A[A][t]?n=_A[A][t]:!1===e.disableWarning&&a.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||e.noFallback||null==(n=_A.times[t])&&(n=_A.times.normal),n},Ot=m.__private__.putInfo=function(){var A=XA(),t=function(A){return A};for(var e in null!==p&&(t=qt.encryptor(A,0)),lA("<<"),lA("/Producer ("+_t(t("jsPDF "+T.version))+")"),QA)QA.hasOwnProperty(e)&&QA[e]&&lA("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+_t(t(QA[e]))+")");lA("/CreationDate ("+_t(t(V))+")"),lA(">>"),lA("endobj")},Tt=m.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||$A;switch(XA(),lA("<<"),lA("/Type /Catalog"),lA("/Pages "+t+" 0 R"),pA||(pA="fullwidth"),pA){case"fullwidth":lA("/OpenAction [3 0 R /FitH null]");break;case"fullheight":lA("/OpenAction [3 0 R /FitV null]");break;case"fullpage":lA("/OpenAction [3 0 R /Fit]");break;case"original":lA("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+pA;"%"===e.substr(e.length-1)&&(pA=parseInt(pA)/100),"number"==typeof pA&&lA("/OpenAction [3 0 R /XYZ null null "+P(pA)+"]")}switch(yA||(yA="continuous"),yA){case"continuous":lA("/PageLayout /OneColumn");break;case"single":lA("/PageLayout /SinglePage");break;case"two":case"twoleft":lA("/PageLayout /TwoColumnLeft");break;case"tworight":lA("/PageLayout /TwoColumnRight")}mA&&lA("/PageMode /"+mA),MA.publish("putCatalog"),lA(">>"),lA("endobj")},Mt=m.__private__.putTrailer=function(){lA("trailer"),lA("<<"),lA("/Size "+(tA+1)),lA("/Root "+tA+" 0 R"),lA("/Info "+(tA-1)+" 0 R"),null!==p&&lA("/Encrypt "+qt.oid+" 0 R"),lA("/ID [ <"+G+"> <"+G+"> ]"),lA(">>")},Kt=m.__private__.putHeader=function(){lA("%PDF-"+b),lA("%ºß¬à")},Rt=m.__private__.putXRef=function(){var A="0000000000";lA("xref"),lA("0 "+(tA+1)),lA("0000000000 65535 f ");for(var t=1;t<=tA;t++)"function"==typeof eA[t]?lA((A+eA[t]()).slice(-10)+" 00000 n "):void 0!==eA[t]?lA((A+eA[t]).slice(-10)+" 00000 n "):lA("0000000000 00000 n ")},jt=m.__private__.buildDocument=function(){cA(),uA(rA),MA.publish("buildDocument"),Kt(),st(),Ft(),Qt(),null!==p&&wt(),Ot(),Tt();var A=nA;return Rt(),Mt(),lA("startxref"),lA(""+A),lA("%%EOF"),uA(sA[Z]),rA.join("\n")},Vt=m.__private__.getBlob=function(A){return new Blob([fA(A)],{type:"application/pdf"})},Gt=m.output=m.__private__.output=xt((function(A,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",A){case void 0:return jt();case"save":m.save(t.filename);break;case"arraybuffer":return fA(jt());case"blob":return Vt(jt());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Vt(jt()))||void 0;a.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var e="",r=jt();try{e=f(r)}catch(A){e=f(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+e;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,i="");var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+n+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",c=s.open();return null!==c&&c.document.write(o),c}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',l=s.open();if(null!==l){l.document.write(u);var h=this;l.document.documentElement.querySelector("#pdfViewer").onload=function(){l.document.title=t.filename,l.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return l}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(s))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var d='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',g=s.open();if(null!==g&&(g.document.write(d),g.document.title=t.filename),g||"undefined"==typeof safari)return g;break;case"datauri":case"dataurl":return s.document.location.href=this.output("datauristring",t);default:return null}})),zt=function(A){return!0===Array.isArray(KA)&&KA.indexOf(A)>-1};switch(r){case"pt":UA=1;break;case"mm":UA=72/25.4;break;case"cm":UA=72/2.54;break;case"in":UA=72;break;case"px":UA=1==zt("px_scaling")?.75:96/72;break;case"pc":case"em":UA=12;break;case"ex":UA=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);UA=r}var qt=null;J(),q();var Wt=function(A){return null!==p?qt.encryptor(A,0):function(A){return A}},Xt=m.__private__.getPageInfo=m.getPageInfo=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:TA[A].objId,pageNumber:A,pageContext:TA[A]}},Jt=m.__private__.getPageInfoByObjId=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in TA)if(TA[t].objId===A)break;return Xt(t)},Yt=m.__private__.getCurrentPageInfo=m.getCurrentPageInfo=function(){return{objId:TA[Z].objId,pageNumber:Z,pageContext:TA[Z]}};m.addPage=function(){return Ht.apply(this,arguments),this},m.setPage=function(){return kt.apply(this,arguments),uA.call(this,sA[Z]),this},m.insertPage=function(A){return this.addPage(),this.movePage(Z,A),this},m.movePage=function(A,t){var e,r;if(A>t){e=sA[A],r=TA[A];for(var n=A;n>t;n--)sA[n]=sA[n-1],TA[n]=TA[n-1];sA[t]=e,TA[t]=r,this.setPage(t)}else if(A<t){e=sA[A],r=TA[A];for(var i=A;i<t;i++)sA[i]=sA[i+1],TA[i]=TA[i+1];sA[t]=e,TA[t]=r,this.setPage(t)}return this},m.deletePage=function(){return Nt.apply(this,arguments),this},m.__private__.text=m.text=function(A,t,e,r,i){var s,o,a,c,u,l,h,f,d,g=(r=r||{}).scope||this;if("number"==typeof A&&"number"==typeof t&&("string"==typeof e||Array.isArray(e))){var p=e;e=t,t=A,A=p}if(arguments[3]instanceof GA==0?(a=arguments[4],c=arguments[5],"object"===n()(h=arguments[3])&&null!==h||("string"==typeof a&&(c=a,a=null),"string"==typeof h&&(c=h,h=null),"number"==typeof h&&(a=h,h=null),r={flags:h,angle:a,align:c})):(E("The transform parameter of text() with a Matrix value"),d=i),isNaN(t)||isNaN(e)||null==A)throw new Error("Invalid arguments passed to jsPDF.text");if(0===A.length)return g;var B="",m=!1,b="number"==typeof r.lineHeightFactor?r.lineHeightFactor:le,y=g.internal.scaleFactor;function v(A){return A=A.split("\t").join(Array(r.TabLen||9).join(" ")),_t(A,h)}function C(A){for(var t,e=A.concat(),r=[],n=e.length;n--;)"string"==typeof(t=e.shift())?r.push(t):Array.isArray(A)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function U(A,t){var e;if("string"==typeof A)e=t(A)[0];else if(Array.isArray(A)){for(var r,n,i=A.concat(),s=[],o=i.length;o--;)"string"==typeof(r=i.shift())?s.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(n=t(r[0],r[1],r[2]),s.push([n[0],n[1],n[2]]));e=s}return e}var L=!1,I=!0;if("string"==typeof A)L=!0;else if(Array.isArray(A)){var _=A.concat();o=[];for(var S,H=_.length;H--;)("string"!=typeof(S=_.shift())||Array.isArray(S)&&"string"!=typeof S[0])&&(I=!1);L=I}if(!1===L)throw new Error('Type of text must be string or Array. "'+A+'" is not recognized.');"string"==typeof A&&(A=A.match(/[\r?\n]/)?A.split(/\r\n|\r|\n/g):[A]);var N=gA/g.internal.scaleFactor,k=N*(b-1);switch(r.baseline){case"bottom":e-=k;break;case"top":e+=N-k;break;case"hanging":e+=N-2*k;break;case"middle":e+=N/2-k}if((l=r.maxWidth||0)>0&&("string"==typeof A?A=g.splitTextToSize(A,l):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(g.splitTextToSize(t,l))}),[]))),s={text:A,x:t,y:e,options:r,mutex:{pdfEscape:_t,activeFontKey:FA,fonts:EA,activeFontSize:gA}},MA.publish("preProcessText",s),A=s.text,a=(r=s.options).angle,d instanceof GA==0&&a&&"number"==typeof a){a*=Math.PI/180,0===r.rotationDirection&&(a=-a),F===Q.ADVANCED&&(a=-a);var P=Math.cos(a),D=Math.sin(a);d=new GA(P,D,-D,P,0,0)}else a&&a instanceof GA&&(d=a);F!==Q.ADVANCED||d||(d=qA),void 0!==(u=r.charSpace||Ue)&&(B+=x(K(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(f=r.horizontalScale)&&(B+=x(100*f)+" Tz\n"),r.lang;var O=-1,T=void 0!==r.renderingMode?r.renderingMode:r.stroke,M=g.internal.getCurrentPageInfo().pageContext;switch(T){case 0:case!1:case"fill":O=0;break;case 1:case!0:case"stroke":O=1;break;case 2:case"fillThenStroke":O=2;break;case 3:case"invisible":O=3;break;case 4:case"fillAndAddForClipping":O=4;break;case 5:case"strokeAndAddPathForClipping":O=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":O=6;break;case 7:case"addToPathForClipping":O=7}var R=void 0!==M.usedRenderingMode?M.usedRenderingMode:-1;-1!==O?B+=O+" Tr\n":-1!==R&&(B+="0 Tr\n"),-1!==O&&(M.usedRenderingMode=O),c=r.align||"left";var j,V=gA*b,G=g.internal.pageSize.getWidth(),z=EA[FA];u=r.charSpace||Ue,l=r.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},r.flags);var q=[],W=function(A){return g.getStringUnitWidth(A,{font:z,charSpace:u,fontSize:gA,doKerning:!1})*gA/y};if("[object Array]"===Object.prototype.toString.call(A)){var X;o=C(A),"left"!==c&&(j=o.map(W));var J,Y=0;if("right"===c){t-=j[0],A=[],H=o.length;for(var Z=0;Z<H;Z++)0===Z?(J=we(t),X=me(e)):(J=K(Y-j[Z]),X=-V),A.push([o[Z],J,X]),Y=j[Z]}else if("center"===c){t-=j[0]/2,A=[],H=o.length;for(var $=0;$<H;$++)0===$?(J=we(t),X=me(e)):(J=K((Y-j[$])/2),X=-V),A.push([o[$],J,X]),Y=j[$]}else if("left"===c){A=[],H=o.length;for(var AA=0;AA<H;AA++)A.push(o[AA])}else if("justify"===c&&"Identity-H"===z.encoding){A=[],H=o.length,l=0!==l?l:G;for(var tA=0,eA=0;eA<H;eA++)if(X=0===eA?me(e):-V,J=0===eA?we(t):tA,eA<H-1){var rA=K((l-j[eA])/(o[eA].split(" ").length-1)),nA=o[eA].split(" ");A.push([nA[0]+" ",J,X]),tA=0;for(var iA=1;iA<nA.length;iA++){var sA=(W(nA[iA-1]+" "+nA[iA])-W(nA[iA]))*y+rA;iA==nA.length-1?A.push([nA[iA],sA,0]):A.push([nA[iA]+" ",sA,0]),tA-=sA}}else A.push([o[eA],J,X]);A.push(["",tA,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(A=[],H=o.length,l=0!==l?l:G,eA=0;eA<H;eA++)X=0===eA?me(e):-V,J=0===eA?we(t):0,eA<H-1?q.push(x(K((l-j[eA])/(o[eA].split(" ").length-1)))):q.push(0),A.push([o[eA],J,X])}}var oA="boolean"==typeof r.R2L?r.R2L:wA;!0===oA&&(A=U(A,(function(A,t,e){return[A.split("").reverse().join(""),t,e]}))),s={text:A,x:t,y:e,options:r,mutex:{pdfEscape:_t,activeFontKey:FA,fonts:EA,activeFontSize:gA}},MA.publish("postProcessText",s),A=s.text,m=s.mutex.isHex||!1;var aA=EA[FA].encoding;"WinAnsiEncoding"!==aA&&"StandardEncoding"!==aA||(A=U(A,(function(A,t,e){return[v(A),t,e]}))),o=C(A),A=[];for(var cA,uA,hA,fA=0,dA=1,pA=Array.isArray(o[0])?dA:fA,BA="",mA=function(A,t,e){var n="";return e instanceof GA?(e="number"==typeof r.angle?zA(e,new GA(1,0,0,1,A,t)):zA(new GA(1,0,0,1,A,t),e),F===Q.ADVANCED&&(e=zA(new GA(1,0,0,-1,0,0),e)),n=e.join(" ")+" Tm\n"):n=x(A)+" "+x(t)+" Td\n",n},bA=0;bA<o.length;bA++){switch(BA="",pA){case dA:hA=(m?"<":"(")+o[bA][0]+(m?">":")"),cA=parseFloat(o[bA][1]),uA=parseFloat(o[bA][2]);break;case fA:hA=(m?"<":"(")+o[bA]+(m?">":")"),cA=we(t),uA=me(e)}void 0!==q&&void 0!==q[bA]&&(BA=q[bA]+" Tw\n"),0===bA?A.push(BA+mA(cA,uA,d)+hA):pA===fA?A.push(BA+hA):pA===dA&&A.push(BA+mA(cA,uA,d)+hA)}A=pA===fA?A.join(" Tj\nT* "):A.join(" Tj\n"),A+=" Tj\n";var yA="BT\n/";return yA+=FA+" "+gA+" Tf\n",yA+=x(gA*b)+" TL\n",yA+=Qe+"\n",yA+=B,yA+=A,lA(yA+="ET"),w[FA]=!0,g};var Zt=m.__private__.clip=m.clip=function(A){return lA("evenodd"===A?"W*":"W"),this};m.clipEvenOdd=function(){return Zt("evenodd")},m.__private__.discardPath=m.discardPath=function(){return lA("n"),this};var $t=m.__private__.isValidStyle=function(A){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(A)&&(t=!0),t};m.__private__.setDefaultPathOperation=m.setDefaultPathOperation=function(A){return $t(A)&&(h=A),this};var Ae=m.__private__.getStyle=m.getStyle=function(A){var t=h;switch(A){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=A}return t},te=m.close=function(){return lA("h"),this};m.stroke=function(){return lA("S"),this},m.fill=function(A){return ee("f",A),this},m.fillEvenOdd=function(A){return ee("f*",A),this},m.fillStroke=function(A){return ee("B",A),this},m.fillStrokeEvenOdd=function(A){return ee("B*",A),this};var ee=function(A,t){"object"===n()(t)?ie(t,A):lA(A)},re=function(A){null===A||F===Q.ADVANCED&&void 0===A||(A=Ae(A),lA(A))};function ne(A,t,e,r,n){var i=new O(t||this.boundingBox,e||this.xStep,r||this.yStep,this.gState,n||this.matrix);i.stream=this.stream;var s=A+"$$"+this.cloneIndex+++"$$";return WA(s,i),i}var ie=function(A,t){var e=NA[A.key],r=HA[e];if(r instanceof D)lA("q"),lA(se(t)),r.gState&&m.setGState(r.gState),lA(A.matrix.toString()+" cm"),lA("/"+e+" sh"),lA("Q");else if(r instanceof O){var n=new GA(1,0,0,-1,0,Te());A.matrix&&(n=n.multiply(A.matrix||qA),e=ne.call(r,A.key,A.boundingBox,A.xStep,A.yStep,n).id),lA("q"),lA("/Pattern cs"),lA("/"+e+" scn"),r.gState&&m.setGState(r.gState),lA(t),lA("Q")}},se=function(A){switch(A){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},oe=m.moveTo=function(A,t){return lA(x(K(A))+" "+x(j(t))+" m"),this},ae=m.lineTo=function(A,t){return lA(x(K(A))+" "+x(j(t))+" l"),this},ce=m.curveTo=function(A,t,e,r,n,i){return lA([x(K(A)),x(j(t)),x(K(e)),x(j(r)),x(K(n)),x(j(i)),"c"].join(" ")),this};m.__private__.line=m.line=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.line");return F===Q.COMPAT?this.lines([[e-A,r-t]],A,t,[1,1],n||"S"):this.lines([[e-A,r-t]],A,t,[1,1]).stroke()},m.__private__.lines=m.lines=function(A,t,e,r,n,i){var s,o,a,c,u,l,h,f,d,g,p,B;if("number"==typeof A&&(B=e,e=t,t=A,A=B),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(e)||!Array.isArray(A)||!Array.isArray(r)||!$t(n)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(oe(t,e),s=r[0],o=r[1],c=A.length,g=t,p=e,a=0;a<c;a++)2===(u=A[a]).length?(g=u[0]*s+g,p=u[1]*o+p,ae(g,p)):(l=u[0]*s+g,h=u[1]*o+p,f=u[2]*s+g,d=u[3]*o+p,g=u[4]*s+g,p=u[5]*o+p,ce(l,h,f,d,g,p));return i&&te(),re(n),this},m.path=function(A){for(var t=0;t<A.length;t++){var e=A[t],r=e.c;switch(e.op){case"m":oe(r[0],r[1]);break;case"l":ae(r[0],r[1]);break;case"c":ce.apply(this,r);break;case"h":te()}}return this},m.__private__.rect=m.rect=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.rect");return F===Q.COMPAT&&(r=-r),lA([x(K(A)),x(j(t)),x(K(e)),x(K(r)),"re"].join(" ")),re(n),this},m.__private__.triangle=m.triangle=function(A,t,e,r,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[e-A,r-t],[n-e,i-r],[A-n,t-i]],A,t,[1,1],s,!0),this},m.__private__.roundedRect=m.roundedRect=function(A,t,e,r,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||!$t(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var o=4/3*(Math.SQRT2-1);return n=Math.min(n,.5*e),i=Math.min(i,.5*r),this.lines([[e-2*n,0],[n*o,0,n,i-i*o,n,i],[0,r-2*i],[0,i*o,-n*o,i,-n,i],[2*n-e,0],[-n*o,0,-n,-i*o,-n,-i],[0,2*i-r],[0,-i*o,n*o,-i,n,-i]],A+n,t,[1,1],s,!0),this},m.__private__.ellipse=m.ellipse=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!$t(n))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*e,s=4/3*(Math.SQRT2-1)*r;return oe(A+e,t),ce(A+e,t-s,A+i,t-r,A,t-r),ce(A-i,t-r,A-e,t-s,A-e,t),ce(A-e,t+s,A-i,t+r,A,t+r),ce(A+i,t+r,A+e,t+s,A+e,t),re(n),this},m.__private__.circle=m.circle=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||!$t(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(A,t,e,e,r)},m.setFont=function(A,t,e){return e&&(t=I(t,e)),FA=Dt(A,t,{disableWarning:!1}),this};var ue=m.__private__.getFont=m.getFont=function(){return EA[Dt.apply(m,arguments)]};m.__private__.getFontList=m.getFontList=function(){var A,t,e={};for(A in _A)if(_A.hasOwnProperty(A))for(t in e[A]=[],_A[A])_A[A].hasOwnProperty(t)&&e[A].push(t);return e},m.addFont=function(A,t,e,r,n){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?n=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(e=I(e,r)),n=n||"Identity-H",Lt.call(this,A,t,e,n)};var le,he=A.lineWidth||.200025,fe=m.__private__.getLineWidth=m.getLineWidth=function(){return he},de=m.__private__.setLineWidth=m.setLineWidth=function(A){return he=A,lA(x(K(A))+" w"),this};m.__private__.setLineDash=T.API.setLineDash=T.API.setLineDashPattern=function(A,t){if(A=A||[],t=t||0,isNaN(t)||!Array.isArray(A))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return A=A.map((function(A){return x(K(A))})).join(" "),t=x(K(t)),lA("["+A+"] "+t+" d"),this};var ge=m.__private__.getLineHeight=m.getLineHeight=function(){return gA*le};m.__private__.getLineHeight=m.getLineHeight=function(){return gA*le};var pe=m.__private__.setLineHeightFactor=m.setLineHeightFactor=function(A){return"number"==typeof(A=A||1.15)&&(le=A),this},Be=m.__private__.getLineHeightFactor=m.getLineHeightFactor=function(){return le};pe(A.lineHeight);var we=m.__private__.getHorizontalCoordinate=function(A){return K(A)},me=m.__private__.getVerticalCoordinate=function(A){return F===Q.ADVANCED?A:TA[Z].mediaBox.topRightY-TA[Z].mediaBox.bottomLeftY-K(A)},be=m.__private__.getHorizontalCoordinateString=m.getHorizontalCoordinateString=function(A){return x(we(A))},ye=m.__private__.getVerticalCoordinateString=m.getVerticalCoordinateString=function(A){return x(me(A))},ve=A.strokeColor||"0 G";m.__private__.getStrokeColor=m.getDrawColor=function(){return tt(ve)},m.__private__.setStrokeColor=m.setDrawColor=function(A,t,e,r){return ve=et({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"draw",precision:2}),lA(ve),this};var Ce=A.fillColor||"0 g";m.__private__.getFillColor=m.getFillColor=function(){return tt(Ce)},m.__private__.setFillColor=m.setFillColor=function(A,t,e,r){return Ce=et({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"fill",precision:2}),lA(Ce),this};var Qe=A.textColor||"0 g",Fe=m.__private__.getTextColor=m.getTextColor=function(){return tt(Qe)};m.__private__.setTextColor=m.setTextColor=function(A,t,e,r){return Qe=et({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"text",precision:3}),this};var Ue=A.charSpace,Le=m.__private__.getCharSpace=m.getCharSpace=function(){return parseFloat(Ue||0)};m.__private__.setCharSpace=m.setCharSpace=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ue=A,this};var Ie=0;m.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},m.__private__.setLineCap=m.setLineCap=function(A){var t=m.CapJoinStyles[A];if(void 0===t)throw new Error("Line cap style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ie=t,lA(t+" J"),this};var xe=0;m.__private__.setLineJoin=m.setLineJoin=function(A){var t=m.CapJoinStyles[A];if(void 0===t)throw new Error("Line join style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return xe=t,lA(t+" j"),this},m.__private__.setLineMiterLimit=m.__private__.setMiterLimit=m.setLineMiterLimit=m.setMiterLimit=function(A){if(A=A||0,isNaN(A))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return lA(x(K(A))+" M"),this},m.GState=k,m.setGState=function(A){(A="string"==typeof A?kA[PA[A]]:Ee(null,A)).equals(DA)||(lA("/"+A.id+" gs"),DA=A)};var Ee=function(A,t){if(!A||!PA[A]){var e=!1;for(var r in kA)if(kA.hasOwnProperty(r)&&kA[r].equals(t)){e=!0;break}if(e)t=kA[r];else{var n="GS"+(Object.keys(kA).length+1).toString(10);kA[n]=t,t.id=n}return A&&(PA[A]=t.id),MA.publish("addGState",t),t}};m.addGState=function(A,t){return Ee(A,t),this},m.saveGraphicsState=function(){return lA("q"),SA.push({key:FA,size:gA,color:Qe}),this},m.restoreGraphicsState=function(){lA("Q");var A=SA.pop();return FA=A.key,gA=A.size,Qe=A.color,DA=null,this},m.setCurrentTransformationMatrix=function(A){return lA(A.toString()+" cm"),this},m.comment=function(A){return lA("#"+A),this};var _e=function(A,t){var e=A||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(A){isNaN(A)||(e=parseFloat(A))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(A){isNaN(A)||(r=parseFloat(A))}});var n="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return n},set:function(A){n=A.toString()}}),this},Se=function(A,t,e,r){_e.call(this,A,t),this.type="rect";var n=e||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return n},set:function(A){isNaN(A)||(n=parseFloat(A))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(A){isNaN(A)||(i=parseFloat(A))}}),this},He=function(){this.page=OA,this.currentPage=Z,this.pages=sA.slice(0),this.pagesContext=TA.slice(0),this.x=LA,this.y=IA,this.matrix=xA,this.width=De(Z),this.height=Te(Z),this.outputDestination=aA,this.id="",this.objectNumber=-1};He.prototype.restore=function(){OA=this.page,Z=this.currentPage,TA=this.pagesContext,sA=this.pages,LA=this.x,IA=this.y,xA=this.matrix,Oe(Z,this.width),Me(Z,this.height),aA=this.outputDestination};var Ne=function(A,t,e,r,n){VA.push(new He),OA=Z=0,sA=[],LA=A,IA=t,xA=n,St([e,r])},ke=function(A){if(jA[A])VA.pop().restore();else{var t=new He,e="Xo"+(Object.keys(RA).length+1).toString(10);t.id=e,jA[A]=e,RA[e]=t,MA.publish("addFormObject",t),VA.pop().restore()}};for(var Pe in m.beginFormObject=function(A,t,e,r,n){return Ne(A,t,e,r,n),this},m.endFormObject=function(A){return ke(A),this},m.doFormObject=function(A,t){var e=RA[jA[A]];return lA("q"),lA(t.toString()+" cm"),lA("/"+e.id+" Do"),lA("Q"),this},m.getFormObject=function(A){var t=RA[jA[A]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},m.save=function(A,t){return A=A||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(d(Vt(jt()),A),"function"==typeof d.unload&&s.setTimeout&&setTimeout(d.unload,911),this):new Promise((function(t,e){try{var r=d(Vt(jt()),A);"function"==typeof d.unload&&s.setTimeout&&setTimeout(d.unload,911),t(r)}catch(A){e(A.message)}}))},T.API)T.API.hasOwnProperty(Pe)&&("events"===Pe&&T.API.events.length?function(A,t){var e,r,n;for(n=t.length-1;-1!==n;n--)e=t[n][0],r=t[n][1],A.subscribe.apply(A,[e].concat("function"==typeof r?[r]:r))}(MA,T.API.events):m[Pe]=T.API[Pe]);var De=m.getPageWidth=function(A){return(TA[A=A||Z].mediaBox.topRightX-TA[A].mediaBox.bottomLeftX)/UA},Oe=m.setPageWidth=function(A,t){TA[A].mediaBox.topRightX=t*UA+TA[A].mediaBox.bottomLeftX},Te=m.getPageHeight=function(A){return(TA[A=A||Z].mediaBox.topRightY-TA[A].mediaBox.bottomLeftY)/UA},Me=m.setPageHeight=function(A,t){TA[A].mediaBox.topRightY=t*UA+TA[A].mediaBox.bottomLeftY};return m.internal={pdfEscape:_t,getStyle:Ae,getFont:ue,getFontSize:BA,getCharSpace:Le,getTextColor:Fe,getLineHeight:ge,getLineHeightFactor:Be,getLineWidth:fe,write:hA,getHorizontalCoordinate:we,getVerticalCoordinate:me,getCoordinateString:be,getVerticalCoordinateString:ye,collections:{},newObject:XA,newAdditionalObject:ZA,newObjectDeferred:JA,newObjectDeferredBegin:YA,getFilters:rt,putStream:nt,events:MA,scaleFactor:UA,pageSize:{getWidth:function(){return De(Z)},setWidth:function(A){Oe(Z,A)},getHeight:function(){return Te(Z)},setHeight:function(A){Me(Z,A)}},encryptionOptions:p,encryption:qt,getEncryptor:Wt,output:Gt,getNumberOfPages:Pt,pages:sA,out:lA,f2:P,f3:M,getPageInfo:Xt,getPageInfoByObjId:Jt,getCurrentPageInfo:Yt,getPDFVersion:y,Point:_e,Rectangle:Se,Matrix:GA,hasHotfix:zt},Object.defineProperty(m.internal.pageSize,"width",{get:function(){return De(Z)},set:function(A){Oe(Z,A)},enumerable:!0,configurable:!0}),Object.defineProperty(m.internal.pageSize,"height",{get:function(){return Te(Z)},set:function(A){Me(Z,A)},enumerable:!0,configurable:!0}),It.call(m,dA),FA="F1",Ht(i,e),MA.publish("initialized"),m}S.prototype.lsbFirstWord=function(A){return String.fromCharCode(A>>0&255,A>>8&255,A>>16&255,A>>24&255)},S.prototype.toHexString=function(A){return A.split("").map((function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)})).join("")},S.prototype.hexToBytes=function(A){for(var t=[],e=0;e<A.length;e+=2)t.push(String.fromCharCode(parseInt(A.substr(e,2),16)));return t.join("")},S.prototype.processOwnerPassword=function(A,t){return E(L(t).substr(0,5),A)},S.prototype.encryptor=function(A,t){var e=L(this.encryptionKey+String.fromCharCode(255&A,A>>8&255,A>>16&255,255&t,t>>8&255)).substr(0,10);return function(A){return E(e,A)}},k.prototype.equals=function(A){var t,e="id,objectNumber,equals";if(!A||n()(A)!==n()(this))return!1;var r=0;for(t in this)if(!(e.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!A.hasOwnProperty(t))return!1;if(this[t]!==A[t])return!1;r++}for(t in A)A.hasOwnProperty(t)&&e.indexOf(t)<0&&r--;return 0===r},T.API={events:[]},T.version="2.5.2";var M=T.API,K=1,R=function(A){return A.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},j=function(A){return A.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},V=function(A){return A.toFixed(2)},G=function(A){return A.toFixed(5)};M.__acroform__={};var z=function(A,t){A.prototype=Object.create(t.prototype),A.prototype.constructor=A},q=function(A){return A*K},W=function(A){var t=new hA,e=UA.internal.getHeight(A)||0,r=UA.internal.getWidth(A)||0;return t.BBox=[0,0,Number(V(r)),Number(V(e))],t},X=M.__acroform__.setBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return A|1<<t},J=M.__acroform__.clearBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return A&~(1<<t)},Y=M.__acroform__.getBit=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(A&1<<t)?0:1},Z=M.__acroform__.getBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Y(A,t-1)},$=M.__acroform__.setBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return X(A,t-1)},AA=M.__acroform__.clearBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return J(A,t-1)},tA=M.__acroform__.calculateCoordinates=function(A,t){var e=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,n=A[0],i=A[1],s=A[2],o=A[3],a={};return a.lowerLeft_X=e(n)||0,a.lowerLeft_Y=r(i+o)||0,a.upperRight_X=e(n+s)||0,a.upperRight_Y=r(i)||0,[Number(V(a.lowerLeft_X)),Number(V(a.lowerLeft_Y)),Number(V(a.upperRight_X)),Number(V(a.upperRight_Y))]},eA=function(A){if(A.appearanceStreamContent)return A.appearanceStreamContent;if(A.V||A.DV){var t=[],e=A._V||A.DV,r=rA(A,e),n=A.scope.internal.getFont(A.fontName,A.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(A.scope.__private__.encodeColorString(A.color)),t.push("/"+n+" "+V(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=W(A);return i.scope=A.scope,i.stream=t.join("\n"),i}},rA=function(A,t){var e=0===A.fontSize?A.maxFontSize:A.fontSize,r={text:"",fontSize:""},n=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");n=A.multiline?n.map((function(A){return A.split("\n")})):n.map((function(A){return[A]}));var i=e,s=UA.internal.getHeight(A)||0;s=s<0?-s:s;var o=UA.internal.getWidth(A)||0;o=o<0?-o:o;var a=function(t,e,r){if(t+1<n.length){var i=e+" "+n[t+1][0];return nA(i,A,r).width<=o-4}return!1};i++;A:for(;i>0;){t="",i--;var c,u,l=nA("3",A,i).height,h=A.multiline?s-i:(s-l)/2,f=h+=2,d=0,g=0,p=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+nA(t,A,i=12).width+", FieldWidth:"+o+"\n";break}for(var B="",w=0,m=0;m<n.length;m++)if(n.hasOwnProperty(m)){var b=!1;if(1!==n[m].length&&p!==n[m].length-1){if((l+2)*(w+2)+2>s)continue A;B+=n[m][p],b=!0,g=m,m--}else{B=" "==(B+=n[m][p]+" ").substr(B.length-1)?B.substr(0,B.length-1):B;var y=parseInt(m),v=a(y,B,i),C=m>=n.length-1;if(v&&!C){B+=" ",p=0;continue}if(v||C){if(C)g=y;else if(A.multiline&&(l+2)*(w+2)+2>s)continue A}else{if(!A.multiline)continue A;if((l+2)*(w+2)+2>s)continue A;g=y}}for(var Q="",F=d;F<=g;F++){var U=n[F];if(A.multiline){if(F===g){Q+=U[p]+" ",p=(p+1)%U.length;continue}if(F===d){Q+=U[U.length-1]+" ";continue}}Q+=U[0]+" "}switch(Q=" "==Q.substr(Q.length-1)?Q.substr(0,Q.length-1):Q,u=nA(Q,A,i).width,A.textAlign){case"right":c=o-u-2;break;case"center":c=(o-u)/2;break;case"left":default:c=2}t+=V(c)+" "+V(f)+" Td\n",t+="("+R(Q)+") Tj\n",t+=-V(c)+" 0 Td\n",f=-(i+2),u=0,d=b?g:g+1,w++,B=""}break}return r.text=t,r.fontSize=i,r},nA=function(A,t,e){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),n=t.scope.getStringUnitWidth(A,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},iA={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},sA=function(A,t){var e={type:"reference",object:A};void 0===t.internal.getPageInfo(A.page).pageContext.annotations.find((function(A){return A.type===e.type&&A.object===e.object}))&&t.internal.getPageInfo(A.page).pageContext.annotations.push(e)},oA=function(A,t){for(var e in A)if(A.hasOwnProperty(e)){var r=e,i=A[e];t.internal.newObjectDeferredBegin(i.objId,!0),"object"===n()(i)&&"function"==typeof i.putStream&&i.putStream(),delete A[r]}},aA=function(A,t){if(t.scope=A,void 0!==A.internal&&(void 0===A.internal.acroformPlugin||!1===A.internal.acroformPlugin.isInitialized)){if(dA.FieldNum=0,A.internal.acroformPlugin=JSON.parse(JSON.stringify(iA)),A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");K=A.internal.scaleFactor,A.internal.acroformPlugin.acroFormDictionaryRoot=new fA,A.internal.acroformPlugin.acroFormDictionaryRoot.scope=A,A.internal.acroformPlugin.acroFormDictionaryRoot._eventID=A.internal.events.subscribe("postPutResources",(function(){!function(A){A.internal.events.unsubscribe(A.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete A.internal.acroformPlugin.acroFormDictionaryRoot._eventID,A.internal.acroformPlugin.printedOut=!0}(A)})),A.internal.events.subscribe("buildDocument",(function(){!function(A){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var r=t[e];r.objId=void 0,r.hasAnnotation&&sA(r,A)}}(A)})),A.internal.events.subscribe("putCatalog",(function(){!function(A){if(void 0===A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(A)})),A.internal.events.subscribe("postPutPages",(function(t){!function(A,t){var e=!A;for(var r in A||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),A=A||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(A.hasOwnProperty(r)){var i=A[r],s=[],o=i.Rect;if(i.Rect&&(i.Rect=tA(i.Rect,t)),t.internal.newObjectDeferredBegin(i.objId,!0),i.DA=UA.createDefaultAppearanceStream(i),"object"===n()(i)&&"function"==typeof i.getKeyValueListForStream&&(s=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var a=eA(i);s.push({key:"AP",value:"<</N "+a+">>"}),t.internal.acroformPlugin.xForms.push(a)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var l=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(l).length>=1||Array.isArray(l)){for(var r in l)if(l.hasOwnProperty(r)){var h=l[r];"function"==typeof h&&(h=h.call(t,i)),c+="/"+r+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=l)&&(h=h.call(t,i)),c+="/"+r+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}s.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:s,objectId:i.objId}),t.internal.out("endobj")}e&&oA(t.internal.acroformPlugin.xForms,t)}(t,A)})),A.internal.acroformPlugin.isInitialized=!0}},cA=M.__acroform__.arrayToPdfArray=function(A,t,e){var r=function(A){return A};if(Array.isArray(A)){for(var i="[",s=0;s<A.length;s++)switch(0!==s&&(i+=" "),n()(A[s])){case"boolean":case"number":case"object":i+=A[s].toString();break;case"string":"/"!==A[s].substr(0,1)?(void 0!==t&&e&&(r=e.internal.getEncryptor(t)),i+="("+R(r(A[s].toString()))+")"):i+=A[s].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},uA=function(A,t,e){var r=function(A){return A};return void 0!==t&&e&&(r=e.internal.getEncryptor(t)),(A=A||"").toString(),"("+R(r(A))+")"},lA=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(A){this._objId=A}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};lA.prototype.toString=function(){return this.objId+" 0 R"},lA.prototype.putStream=function(){var A=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:A,objectId:this.objId}),this.scope.internal.out("endobj")},lA.prototype.getKeyValueListForStream=function(){var A=[],t=Object.getOwnPropertyNames(this).filter((function(A){return"content"!=A&&"appearanceStreamContent"!=A&&"scope"!=A&&"objId"!=A&&"_"!=A.substring(0,1)}));for(var e in t)if(!1===Object.getOwnPropertyDescriptor(this,t[e]).configurable){var r=t[e],n=this[r];n&&(Array.isArray(n)?A.push({key:r,value:cA(n,this.objId,this.scope)}):n instanceof lA?(n.scope=this.scope,A.push({key:r,value:n.objId+" 0 R"})):"function"!=typeof n&&A.push({key:r,value:n}))}return A};var hA=function(){lA.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var A,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){A=t.trim()},get:function(){return A||null}})};z(hA,lA);var fA=function(){lA.call(this);var A,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(A){var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+R(t(A))+")"}},set:function(t){A=t}})};z(fA,lA);var dA=function A(){lA.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute F supplied.');t=A}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(t,3))},set:function(A){!0===Boolean(A)?this.F=$(t,3):this.F=AA(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute Ff supplied.');e=A}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(A){r=void 0!==A?A:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(A){r[0]=A}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(A){r[1]=A}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(A){r[2]=A}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(A){r[3]=A}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(A){switch(A){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=A;break;default:throw new Error('Invalid value "'+A+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof vA)return;i="FieldObject"+A.FieldNum++}var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+R(t(i))+")"},set:function(A){i=A.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(A){i=A}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(A){s=A}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(A){o=A}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(A){a=A}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/K:c},set:function(A){c=A}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(A){u=A}});var l="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!l||this instanceof vA||this instanceof QA))return uA(l,this.objId,this.scope)},set:function(A){A=A.toString(),l=A}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof mA==0?uA(h,this.objId,this.scope):h},set:function(A){A=A.toString(),h=this instanceof mA==0?"("===A.substr(0,1)?j(A.substr(1,A.length-2)):j(A):A}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof mA==1?j(h.substr(1,h.length-1)):h},set:function(A){A=A.toString(),h=this instanceof mA==1?"/"+A:A}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(A){this.V=A}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof mA==0?uA(f,this.objId,this.scope):f},set:function(A){A=A.toString(),f=this instanceof mA==0?"("===A.substr(0,1)?j(A.substr(1,A.length-2)):j(A):A}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof mA==1?j(f.substr(1,f.length-1)):f},set:function(A){A=A.toString(),f=this instanceof mA==1?"/"+A:A}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,g=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return g},set:function(A){A=Boolean(A),g=A}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(A){d=A}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,1))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,1):this.Ff=AA(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,2))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,2):this.Ff=AA(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,3))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,3):this.Ff=AA(this.Ff,3)}});var p=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==p)return p},set:function(A){if(-1===[0,1,2].indexOf(A))throw new Error('Invalid value "'+A+'" for attribute Q supplied.');p=A}}),Object.defineProperty(this,"textAlign",{get:function(){var A;switch(p){case 0:default:A="left";break;case 1:A="center";break;case 2:A="right"}return A},configurable:!0,enumerable:!0,set:function(A){switch(A){case"right":case 2:p=2;break;case"center":case 1:p=1;break;case"left":case 0:default:p=0}}})};z(dA,lA);var gA=function(){dA.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var A=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){A=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return cA(t,this.objId,this.scope)},set:function(A){var e,r;r=[],"string"==typeof(e=A)&&(r=function(A,t,e){e||(e=1);for(var r,n=[];r=t.exec(A);)n.push(r[e]);return n}(e,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(A){t=A,this.sort&&t.sort()},this.addOption=function(A){A=(A=A||"").toString(),t.push(A),this.sort&&t.sort()},this.removeOption=function(A,e){for(e=e||!1,A=(A=A||"").toString();-1!==t.indexOf(A)&&(t.splice(t.indexOf(A),1),!1!==e););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,18))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,18):this.Ff=AA(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,19))},set:function(A){!0===this.combo&&(!0===Boolean(A)?this.Ff=$(this.Ff,19):this.Ff=AA(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,20))},set:function(A){!0===Boolean(A)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=AA(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,22))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,22):this.Ff=AA(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,23):this.Ff=AA(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,27))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,27):this.Ff=AA(this.Ff,27)}}),this.hasAppearanceStream=!1};z(gA,dA);var pA=function(){gA.call(this),this.fontName="helvetica",this.combo=!1};z(pA,gA);var BA=function(){pA.call(this),this.combo=!0};z(BA,pA);var wA=function(){BA.call(this),this.edit=!0};z(wA,BA);var mA=function(){dA.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,15))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,15):this.Ff=AA(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,16))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,16):this.Ff=AA(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,17))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,17):this.Ff=AA(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,26):this.Ff=AA(this.Ff,26)}});var A,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};if(this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var e,r=[];for(e in r.push("<<"),t)r.push("/"+e+" ("+R(A(t[e]))+")");return r.push(">>"),r.join("\n")}},set:function(A){"object"===n()(A)&&(t=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(A){"string"==typeof A&&(t.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(t){A="/"+t}})};z(mA,dA);var bA=function(){mA.call(this),this.pushButton=!0};z(bA,mA);var yA=function(){mA.call(this),this.radio=!0,this.pushButton=!1;var A=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=void 0!==t?t:[]}})};z(yA,mA);var vA=function(){var A,t;dA.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(A){t=A}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};this.scope&&(A=this.scope.internal.getEncryptor(this.objId));var t,e=[];for(t in e.push("<<"),r)e.push("/"+t+" ("+R(A(r[t]))+")");return e.push(">>"),e.join("\n")},set:function(A){"object"===n()(A)&&(r=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(A){"string"==typeof A&&(r.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(A){e=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(A){e="/"+A}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=UA.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};z(vA,dA),yA.prototype.setAppearance=function(A){if(!("createAppearanceStream"in A)||!("getCA"in A))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var e=this.Kids[t];e.appearanceStreamContent=A.createAppearanceStream(e.optionName),e.caption=A.getCA()}},yA.prototype.createOption=function(A){var t=new vA;return t.Parent=this,t.optionName=A,this.Kids.push(t),LA.call(this.scope,t),t};var CA=function(){mA.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=UA.CheckBox.createAppearanceStream()};z(CA,mA);var QA=function(){dA.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,13))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,13):this.Ff=AA(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,21))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,21):this.Ff=AA(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,23):this.Ff=AA(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,24))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,24):this.Ff=AA(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,25))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,25):this.Ff=AA(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,26):this.Ff=AA(this.Ff,26)}});var A=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){Number.isInteger(t)&&(A=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};z(QA,dA);var FA=function(){QA.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,14))},set:function(A){!0===Boolean(A)?this.Ff=$(this.Ff,14):this.Ff=AA(this.Ff,14)}}),this.password=!0};z(FA,QA);var UA={CheckBox:{createAppearanceStream:function(){return{N:{On:UA.CheckBox.YesNormal},D:{On:UA.CheckBox.YesPushDown,Off:UA.CheckBox.OffPushDown}}},YesPushDown:function(A){var t=W(A);t.scope=A.scope;var e=[],r=A.scope.internal.getFont(A.fontName,A.fontStyle).id,n=A.scope.__private__.encodeColorString(A.color),i=rA(A,A.caption);return e.push("0.749023 g"),e.push("0 0 "+V(UA.internal.getWidth(A))+" "+V(UA.internal.getHeight(A))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+V(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),t.stream=e.join("\n"),t},YesNormal:function(A){var t=W(A);t.scope=A.scope;var e=A.scope.internal.getFont(A.fontName,A.fontStyle).id,r=A.scope.__private__.encodeColorString(A.color),n=[],i=UA.internal.getHeight(A),s=UA.internal.getWidth(A),o=rA(A,A.caption);return n.push("1 g"),n.push("0 0 "+V(s)+" "+V(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+V(s-1)+" "+V(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+V(o.fontSize)+" Tf "+r),n.push(o.text),n.push("ET"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(A){var t=W(A);t.scope=A.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+V(UA.internal.getWidth(A))+" "+V(UA.internal.getHeight(A))+" re"),e.push("f"),t.stream=e.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(A){var t={D:{Off:UA.RadioButton.Circle.OffPushDown},N:{}};return t.N[A]=UA.RadioButton.Circle.YesNormal,t.D[A]=UA.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(A){var t=W(A);t.scope=A.scope;var e=[],r=UA.internal.getWidth(A)<=UA.internal.getHeight(A)?UA.internal.getWidth(A)/4:UA.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=UA.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+G(UA.internal.getWidth(A)/2)+" "+G(UA.internal.getHeight(A)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(A){var t=W(A);t.scope=A.scope;var e=[],r=UA.internal.getWidth(A)<=UA.internal.getHeight(A)?UA.internal.getWidth(A)/4:UA.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*UA.internal.Bezier_C).toFixed(5)),s=Number((r*UA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+G(UA.internal.getWidth(A)/2)+" "+G(UA.internal.getHeight(A)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+G(UA.internal.getWidth(A)/2)+" "+G(UA.internal.getHeight(A)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),e.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),e.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),e.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},OffPushDown:function(A){var t=W(A);t.scope=A.scope;var e=[],r=UA.internal.getWidth(A)<=UA.internal.getHeight(A)?UA.internal.getWidth(A)/4:UA.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*UA.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+G(UA.internal.getWidth(A)/2)+" "+G(UA.internal.getHeight(A)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t}},Cross:{createAppearanceStream:function(A){var t={D:{Off:UA.RadioButton.Cross.OffPushDown},N:{}};return t.N[A]=UA.RadioButton.Cross.YesNormal,t.D[A]=UA.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(A){var t=W(A);t.scope=A.scope;var e=[],r=UA.internal.calculateCross(A);return e.push("q"),e.push("1 1 "+V(UA.internal.getWidth(A)-2)+" "+V(UA.internal.getHeight(A)-2)+" re"),e.push("W"),e.push("n"),e.push(V(r.x1.x)+" "+V(r.x1.y)+" m"),e.push(V(r.x2.x)+" "+V(r.x2.y)+" l"),e.push(V(r.x4.x)+" "+V(r.x4.y)+" m"),e.push(V(r.x3.x)+" "+V(r.x3.y)+" l"),e.push("s"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(A){var t=W(A);t.scope=A.scope;var e=UA.internal.calculateCross(A),r=[];return r.push("0.749023 g"),r.push("0 0 "+V(UA.internal.getWidth(A))+" "+V(UA.internal.getHeight(A))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+V(UA.internal.getWidth(A)-2)+" "+V(UA.internal.getHeight(A)-2)+" re"),r.push("W"),r.push("n"),r.push(V(e.x1.x)+" "+V(e.x1.y)+" m"),r.push(V(e.x2.x)+" "+V(e.x2.y)+" l"),r.push(V(e.x4.x)+" "+V(e.x4.y)+" m"),r.push(V(e.x3.x)+" "+V(e.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(A){var t=W(A);t.scope=A.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+V(UA.internal.getWidth(A))+" "+V(UA.internal.getHeight(A))+" re"),e.push("f"),t.stream=e.join("\n"),t}}},createDefaultAppearanceStream:function(A){var t=A.scope.internal.getFont(A.fontName,A.fontStyle).id,e=A.scope.__private__.encodeColorString(A.color);return"/"+t+" "+A.fontSize+" Tf "+e}};UA.internal={Bezier_C:.551915024494,calculateCross:function(A){var t=UA.internal.getWidth(A),e=UA.internal.getHeight(A),r=Math.min(t,e);return{x1:{x:(t-r)/2,y:(e-r)/2+r},x2:{x:(t-r)/2+r,y:(e-r)/2},x3:{x:(t-r)/2,y:(e-r)/2},x4:{x:(t-r)/2+r,y:(e-r)/2+r}}}},UA.internal.getWidth=function(A){var t=0;return"object"===n()(A)&&(t=q(A.Rect[2])),t},UA.internal.getHeight=function(A){var t=0;return"object"===n()(A)&&(t=q(A.Rect[3])),t};var LA=M.addField=function(A){if(aA(this,A),!(A instanceof dA))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=A).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),A.page=A.scope.internal.getCurrentPageInfo().pageNumber,this};M.AcroFormChoiceField=gA,M.AcroFormListBox=pA,M.AcroFormComboBox=BA,M.AcroFormEditBox=wA,M.AcroFormButton=mA,M.AcroFormPushButton=bA,M.AcroFormRadioButton=yA,M.AcroFormCheckBox=CA,M.AcroFormTextField=QA,M.AcroFormPasswordField=FA,M.AcroFormAppearance=UA,M.AcroForm={ChoiceField:gA,ListBox:pA,ComboBox:BA,EditBox:wA,Button:mA,PushButton:bA,RadioButton:yA,CheckBox:CA,TextField:QA,PasswordField:FA,Appearance:UA},T.AcroForm={ChoiceField:gA,ListBox:pA,ComboBox:BA,EditBox:wA,Button:mA,PushButton:bA,RadioButton:yA,CheckBox:CA,TextField:QA,PasswordField:FA,Appearance:UA};T.AcroForm;function IA(A){return A.reduce((function(A,t,e){return A[t]=e,A}),{})}!function(A){A.__addimage__={};var t="UNKNOWN",e={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=A.__addimage__.getImageFileTypeByImageData=function(A,r){var n,i,s,o,a,c=t;if("RGBA"===(r=r||t)||void 0!==A.data&&A.data instanceof Uint8ClampedArray&&"height"in A&&"width"in A)return"RGBA";if(Q(A))for(a in e)for(s=e[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A[i]){o=!1;break}if(!0===o){c=a;break}}else for(a in e)for(s=e[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A.charCodeAt(i)){o=!1;break}if(!0===o){c=a;break}}return c===t&&r!==t&&(c=r),c},i=function A(t){for(var e=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===w.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===w.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var s="",o=0,a=t.transparency.length;o<a;o++)s+=t.transparency[o]+" "+t.transparency[o]+" ";i.push({key:"Mask",value:"["+s+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:c,objectId:t.objectId}),e("endobj"),"sMask"in t&&void 0!==t.sMask){var u="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,l={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:u,data:t.sMask};"filter"in t&&(l.filter=t.filter),A.call(this,l)}if(t.colorSpace===w.INDEXED){var h=this.internal.newObject();r({data:U(new Uint8Array(t.palette)),objectId:h}),e("endobj")}},s=function(){var A=this.internal.collections.addImage_images;for(var t in A)i.call(this,A[t])},o=function(){var A,t=this.internal.collections.addImage_images,e=this.internal.write;for(var r in t)e("/I"+(A=t[r]).index,A.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",o))},c=function(){var A=this.internal.collections.addImage_images;return a.call(this),A},u=function(){return Object.keys(this.internal.collections.addImage_images).length},l=function(t){return"function"==typeof A["process"+t.toUpperCase()]},f=function(A){return"object"===n()(A)&&1===A.nodeType},d=function(t,e){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return h(unescape(r).split("base64,").pop());var n=A.loadFile(r,!0);if(void 0!==n)return n}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(e){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;case"JPEG":case"JPG":default:i="image/jpeg"}return h(t.toDataURL(i,1).split("base64,").pop())}},g=function(A){var t=this.internal.collections.addImage_images;if(t)for(var e in t)if(A===t[e].alias)return t[e]},p=function(A,t,e){return A||t||(A=-96,t=-96),A<0&&(A=-1*e.width*72/A/this.internal.scaleFactor),t<0&&(t=-1*e.height*72/t/this.internal.scaleFactor),0===A&&(A=t*e.width/e.height),0===t&&(t=A*e.height/e.width),[A,t]},B=function(A,t,e,r,n,i){var s=p.call(this,e,r,n),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,u=c.call(this);if(e=s[0],r=s[1],u[n.index]=n,i){i*=Math.PI/180;var l=Math.cos(i),h=Math.sin(i),f=function(A){return A.toFixed(4)},d=[f(l),f(h),f(-1*h),f(l),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,o(A),a(t+r),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([o(e),"0","0",o(r),"0","0","cm"].join(" "))):this.internal.write([o(e),"0","0",o(r),o(A),a(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+n.index+" Do"),this.internal.write("Q")},w=A.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};A.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var m=A.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=A.__addimage__.sHashCode=function(A){var t,e,r=0;if("string"==typeof A)for(e=A.length,t=0;t<e;t++)r=(r<<5)-r+A.charCodeAt(t),r|=0;else if(Q(A))for(e=A.byteLength/2,t=0;t<e;t++)r=(r<<5)-r+A[t],r|=0;return r},y=A.__addimage__.validateStringAsBase64=function(A){(A=A||"").toString().trim();var t=!0;return 0===A.length&&(t=!1),A.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(A.substr(0,A.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(A.substr(-2))&&(t=!1),t},v=A.__addimage__.extractImageFromDataUrl=function(A){var t=(A=A||"").split("base64,"),e=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(e={mimeType:r[1],charset:r[2],data:t[1]})}return e},C=A.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};A.__addimage__.isArrayBuffer=function(A){return C()&&A instanceof ArrayBuffer};var Q=A.__addimage__.isArrayBufferView=function(A){return C()&&"undefined"!=typeof Uint32Array&&(A instanceof Int8Array||A instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array)},F=A.__addimage__.binaryStringToUint8Array=function(A){for(var t=A.length,e=new Uint8Array(t),r=0;r<t;r++)e[r]=A.charCodeAt(r);return e},U=A.__addimage__.arrayBufferToBinaryString=function(A){for(var t="",e=Q(A)?A:new Uint8Array(A),r=0;r<e.length;r+=8192)t+=String.fromCharCode.apply(null,e.subarray(r,r+8192));return t};A.addImage=function(){var A,e,r,i,s,o,c,u,l;if("number"==typeof arguments[1]?(e=t,r=arguments[1],i=arguments[2],s=arguments[3],o=arguments[4],c=arguments[5],u=arguments[6],l=arguments[7]):(e=arguments[1],r=arguments[2],i=arguments[3],s=arguments[4],o=arguments[5],c=arguments[6],u=arguments[7],l=arguments[8]),"object"===n()(A=arguments[0])&&!f(A)&&"imageData"in A){var h=A;A=h.imageData,e=h.format||e||t,r=h.x||r||0,i=h.y||i||0,s=h.w||h.width||s,o=h.h||h.height||o,c=h.alias||c,u=h.compression||u,l=h.rotation||h.angle||l}var d=this.internal.getFilters();if(void 0===u&&-1!==d.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var g=L.call(this,A,e,c,u);return B.call(this,r,i,s,o,g,l),this};var L=function(e,n,i,s){var o,a,c;if("string"==typeof e&&r(e)===t){e=unescape(e);var h=I(e,!1);(""!==h||void 0!==(h=A.loadFile(e,!0)))&&(e=h)}if(f(e)&&(e=d(e,n)),n=r(e,n),!l(n))throw new Error("addImage does not support files of type '"+n+"', please ensure that a plugin for '"+n+"' support is added.");if((null==(c=i)||0===c.length)&&(i=function(A){return"string"==typeof A||Q(A)?b(A):Q(A.data)?b(A.data):null}(e)),(o=g.call(this,i))||(C()&&(e instanceof Uint8Array||"RGBA"===n||(a=e,e=F(e))),o=this["process"+n.toUpperCase()](e,u.call(this),i,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in A.image_compression?t:m.NONE}(s),a)),!o)throw new Error("An unknown error occurred whilst processing the image.");return o},I=A.__addimage__.convertBase64ToBinaryString=function(A,t){var e;t="boolean"!=typeof t||t;var r,n="";if("string"==typeof A){r=null!==(e=v(A))?e.data:A;try{n=h(r)}catch(A){if(t)throw y(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+A.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return n};A.getImageProperties=function(e){var n,i,s="";if(f(e)&&(e=d(e)),"string"==typeof e&&r(e)===t&&(""===(s=I(e,!1))&&(s=A.loadFile(e)||""),e=s),i=r(e),!l(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(!C()||e instanceof Uint8Array||(e=F(e)),!(n=this["process"+i.toUpperCase()](e)))throw new Error("An unknown error occurred whilst processing the image");return n.fileType=i,n}}(T.API),
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=function(A){if(void 0!==A&&""!=A)return!0};T.API.events.push(["addPage",function(A){this.internal.getPageInfo(A.pageNumber).pageContext.annotations=[]}]),A.events.push(["putPage",function(A){for(var e,r,n,i=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(A.objId),a=A.pageContext.annotations,c=!1,u=0;u<a.length&&!c;u++)switch((e=a[u]).type){case"link":(t(e.options.url)||t(e.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var l=0;l<a.length;l++){e=a[l];var h=this.internal.pdfEscape,f=this.internal.getEncryptor(A.objId);switch(e.type){case"reference":this.internal.write(" "+e.object.objId+" 0 R ");break;case"text":var d=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),p=this.internal.getEncryptor(d.objId),B=e.title||"Note";n="<</Type /Annot /Subtype /Text "+(r="/Rect ["+i(e.bounds.x)+" "+s(e.bounds.y+e.bounds.h)+" "+i(e.bounds.x+e.bounds.w)+" "+s(e.bounds.y)+"] ")+"/Contents ("+h(p(e.contents))+")",n+=" /Popup "+g.objId+" 0 R",n+=" /P "+o.objId+" 0 R",n+=" /T ("+h(p(B))+") >>",d.content=n;var w=d.objId+" 0 R";n="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+i(e.bounds.x+30)+" "+s(e.bounds.y+e.bounds.h)+" "+i(e.bounds.x+e.bounds.w+30)+" "+s(e.bounds.y)+"] ")+" /Parent "+w,e.open&&(n+=" /Open true"),n+=" >>",g.content=n,this.internal.write(d.objId,"0 R",g.objId,"0 R");break;case"freetext":r="/Rect ["+i(e.bounds.x)+" "+s(e.bounds.y)+" "+i(e.bounds.x+e.bounds.w)+" "+s(e.bounds.y+e.bounds.h)+"] ";var m=e.color||"#000000";n="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(f(e.contents))+")",n+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+m+")",n+=" /Border [0 0 0]",n+=" >>",this.internal.write(n);break;case"link":if(e.options.name){var b=this.annotations._nameMap[e.options.name];e.options.pageNumber=b.page,e.options.top=b.y}else e.options.top||(e.options.top=0);if(r="/Rect ["+e.finalBounds.x+" "+e.finalBounds.y+" "+e.finalBounds.w+" "+e.finalBounds.h+"] ",n="",e.options.url)n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(f(e.options.url))+") >>";else if(e.options.pageNumber)switch(n="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(e.options.pageNumber).objId+" 0 R",e.options.magFactor=e.options.magFactor||"XYZ",e.options.magFactor){case"Fit":n+=" /Fit]";break;case"FitH":n+=" /FitH "+e.options.top+"]";break;case"FitV":e.options.left=e.options.left||0,n+=" /FitV "+e.options.left+"]";break;case"XYZ":default:var y=s(e.options.top);e.options.left=e.options.left||0,void 0===e.options.zoom&&(e.options.zoom=0),n+=" /XYZ "+e.options.left+" "+y+" "+e.options.zoom+"]"}""!=n&&(n+=" >>",this.internal.write(n))}}this.internal.write("]")}}]),A.createAnnotation=function(A){var t=this.internal.getCurrentPageInfo();switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":t.pageContext.annotations.push(A)}},A.link=function(A,t,e,r,n){var i=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:s(A),y:o(t),w:s(A+e),h:o(t+r)},options:n,type:"link"})},A.textWithLink=function(A,t,e,r){var n,i,s=this.getTextWidth(A),o=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){i=r.maxWidth;var a=this.splitTextToSize(A,i).length;n=Math.ceil(o*a)}else i=s,n=o;return this.text(A,t,e,r),e+=.2*o,"center"===r.align&&(t-=s/2),"right"===r.align&&(t-=s),this.link(t,e-o,i,n,r),s},A.getTextWidth=function(A){var t=this.internal.getFontSize();return this.getStringUnitWidth(A)*t/this.internal.scaleFactor}}(T.API),
- /**
- * @license
- * Copyright (c) 2017 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];A.__arabicParser__={};var i=A.__arabicParser__.isInArabicSubstitutionA=function(A){return void 0!==t[A.charCodeAt(0)]},s=A.__arabicParser__.isArabicLetter=function(A){return"string"==typeof A&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(A)},o=A.__arabicParser__.isArabicEndLetter=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length<=2},a=A.__arabicParser__.isArabicAlfLetter=function(A){return s(A)&&n.indexOf(A.charCodeAt(0))>=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=1};var c=A.__arabicParser__.arabicLetterHasFinalForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=3};var u=A.__arabicParser__.arabicLetterHasMedialForm=function(A){return s(A)&&i(A)&&4==t[A.charCodeAt(0)].length},l=A.__arabicParser__.resolveLigatures=function(A){var t=0,r=e,n="",i=0;for(t=0;t<A.length;t+=1)void 0!==r[A.charCodeAt(t)]?(i++,"number"==typeof(r=r[A.charCodeAt(t)])&&(n+=String.fromCharCode(r),r=e,i=0),t===A.length-1&&(r=e,n+=A.charAt(t-(i-1)),t-=i-1,i=0)):(r=e,n+=A.charAt(t-i),t-=i,i=0);return n};A.__arabicParser__.isArabicDiacritic=function(A){return void 0!==A&&void 0!==r[A.charCodeAt(0)]};var h=A.__arabicParser__.getCorrectForm=function(A,t,e){return s(A)?!1===i(A)?-1:!c(A)||!s(t)&&!s(e)||!s(e)&&o(t)||o(A)&&!s(t)||o(A)&&a(t)||o(A)&&o(t)?0:u(A)&&s(t)&&!o(t)&&s(e)&&c(e)?3:o(A)||!s(e)?1:2:-1},f=function(A){var e=0,r=0,n=0,i="",o="",a="",c=(A=A||"").split("\\s+"),u=[];for(e=0;e<c.length;e+=1){for(u.push(""),r=0;r<c[e].length;r+=1)i=c[e][r],o=c[e][r-1],a=c[e][r+1],s(i)?(n=h(i,o,a),u[e]+=-1!==n?String.fromCharCode(t[i.charCodeAt(0)][n]):i):u[e]+=i;u[e]=l(u[e])}return u.join(" ")},d=A.__arabicParser__.processArabic=A.processArabic=function(){var A,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,e=[];if(Array.isArray(t)){var r=0;for(e=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?e.push([f(t[r][0]),t[r][1],t[r][2]]):e.push([f(t[r])]);A=e}else A=f(t);return"string"==typeof arguments[0]?A:(arguments[0].text=A,arguments[0])};A.events.push(["preProcessText",d])}(T.API),T.API.autoPrint=function(A){var t;switch((A=A||{}).variant=A.variant||"non-conform",A.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}))}return this},
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=function(){var A=void 0;Object.defineProperty(this,"pdf",{get:function(){return A},set:function(t){A=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(A){t=isNaN(A)||!1===Number.isInteger(A)||A<0?150:A,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var e=300;Object.defineProperty(this,"height",{get:function(){return e},set:function(A){e=isNaN(A)||!1===Number.isInteger(A)||A<0?300:A,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=e+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(A){r=A}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(A){n=A}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(A,t){var e;if("2d"!==(A=A||"2d"))return null;for(e in t)this.pdf.context2d.hasOwnProperty(e)&&(this.pdf.context2d[e]=t[e]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(T.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var A=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(A){t=A}});var e=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return e},set:function(A){e=A}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(A){r=A}});var n=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return n},set:function(A){n=A}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(A){i=A}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(A){s=A}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(A){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof A?A:void 0,this},A.getTextDimensions=function(A,t){r.call(this);var e=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,s=0,o=0,a=0,c=this;if(!Array.isArray(A)&&"string"!=typeof A){if("number"!=typeof A)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");A=String(A)}var u=t.maxWidth;u>0?"string"==typeof A?A=this.splitTextToSize(A,u):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(c.splitTextToSize(t,u))}),[])):A=Array.isArray(A)?A:[A];for(var l=0;l<A.length;l++)s<(a=this.getStringUnitWidth(A[l],{font:n})*e)&&(s=a);return 0!==s&&(o=A.length),{w:s/=i,h:Math.max((o*e*this.getLineHeightFactor()-e*(this.getLineHeightFactor()-1))/i,0)}},A.cellAddPage=function(){r.call(this),this.addPage();var A=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new s(A.left,A.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=A.cell=function(){var A;A=arguments[0]instanceof s?arguments[0]:new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var n=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,o=this.internal.__cell__.margins||t,a=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===A.lineNumber?(A.x=(n.x||0)+(n.width||0),A.y=n.y||0):n.y+n.height+A.height+o.bottom>this.getPageHeight()?(this.cellAddPage(),A.y=o.top,c&&a&&(this.printHeaderRow(A.lineNumber,!0),A.y+=a[0].height)):A.y=n.y+n.height||A.y),void 0!==A.text[0]&&(this.rect(A.x,A.y,A.width,A.height,!0===e?"FD":void 0),"right"===A.align?this.text(A.text,A.x+A.width-i,A.y+i,{align:"right",baseline:"top"}):"center"===A.align?this.text(A.text,A.x+A.width/2,A.y+i,{align:"center",baseline:"top",maxWidth:A.width-i-i}):this.text(A.text,A.x+i,A.y+i,{align:"left",baseline:"top",maxWidth:A.width-i-i})),this.internal.__cell__.lastCell=A,this};A.table=function(A,e,c,u,l){if(r.call(this),!c)throw new Error("No data for PDF table.");var h,f,d,g,p=[],B=[],w=[],m={},b={},y=[],v=[],C=(l=l||{}).autoSize||!1,Q=!1!==l.printHeaders,F=l.css&&void 0!==l.css["font-size"]?16*l.css["font-size"]:l.fontSize||12,U=l.margins||Object.assign({width:this.getPageWidth()},t),L="number"==typeof l.padding?l.padding:3,I=l.headerBackgroundColor||"#c8c8c8",x=l.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=Q,this.internal.__cell__.margins=U,this.internal.__cell__.table_font_size=F,this.internal.__cell__.padding=L,this.internal.__cell__.headerBackgroundColor=I,this.internal.__cell__.headerTextColor=x,this.setFontSize(F),null==u)B=p=Object.keys(c[0]),w=p.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===n()(u[0]))for(p=u.map((function(A){return A.name})),B=u.map((function(A){return A.prompt||A.name||""})),w=u.map((function(A){return A.align||"left"})),h=0;h<u.length;h+=1)b[u[h].name]=u[h].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(B=p=u,w=p.map((function(){return"left"})));if(C||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<p.length;h+=1){for(m[g=p[h]]=c.map((function(A){return A[g]})),this.setFont(void 0,"bold"),y.push(this.getTextDimensions(B[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=m[g],this.setFont(void 0,"normal"),d=0;d<f.length;d+=1)y.push(this.getTextDimensions(f[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);b[g]=Math.max.apply(null,y)+L+L,y=[]}if(Q){var E={};for(h=0;h<p.length;h+=1)E[p[h]]={},E[p[h]].text=B[h],E[p[h]].align=w[h];var _=a.call(this,E,b);v=p.map((function(t){return new s(A,e,b[t],_,E[t].text,void 0,E[t].align)})),this.setTableHeaderRow(v),this.printHeaderRow(1,!1)}var S=u.reduce((function(A,t){return A[t.name]=t.align,A}),{});for(h=0;h<c.length;h+=1){"rowStart"in l&&l.rowStart instanceof Function&&l.rowStart({row:h,data:c[h]},this);var H=a.call(this,c[h],b);for(d=0;d<p.length;d+=1){var N=c[h][p[d]];"cellStart"in l&&l.cellStart instanceof Function&&l.cellStart({row:h,col:d,data:N},this),o.call(this,new s(A,e,b[p[d]],H,N,h+2,S[p[d]]))}}return this.internal.__cell__.table_x=A,this.internal.__cell__.table_y=e,this};var a=function(A,t){var e=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,n=this.internal.scaleFactor;return Object.keys(A).map((function(r){var n=A[r];return this.splitTextToSize(n.hasOwnProperty("text")?n.text:n,t[r]-e-e)}),this).map((function(A){return this.getLineHeightFactor()*A.length*r/n+e+e}),this).reduce((function(A,t){return Math.max(A,t)}),0)};A.setTableHeaderRow=function(A){r.call(this),this.internal.__cell__.tableHeaderRow=A},A.printHeaderRow=function(A,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var n;if(e=!0,"function"==typeof this.internal.__cell__.headerFunction){var i=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(i[0],i[1],i[2],i[3],void 0,-1)}this.setFont(void 0,"bold");for(var a=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){n=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(n.y=this.internal.__cell__.margins.top||0,a.push(n)),n.lineNumber=A;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,n),this.setTextColor(u)}a.length>0&&this.setTableHeaderRow(a),this.setFont(void 0,"normal"),e=!1}}(T.API);var xA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},EA=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],_A=IA(EA),SA=[100,200,300,400,500,600,700,800,900],HA=IA(SA);function NA(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(A){return xA[A=A||"normal"]?A:"normal"}(A.style),r=function(A){if(!A)return 400;if("number"==typeof A)return A>=100&&A<=900&&A%100==0?A:400;if(/^\d00$/.test(A))return parseInt(A);switch(A){case"bold":return 700;case"normal":default:return 400}}(A.weight),n=function(A){return"number"==typeof _A[A=A||"normal"]?A:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function kA(A,t,e,r){var n;for(n=e;n>=0&&n<t.length;n+=r)if(A[t[n]])return A[t[n]];for(n=e;n>=0&&n<t.length;n-=r)if(A[t[n]])return A[t[n]]}var PA={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},DA={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function OA(A){return[A.stretch,A.style,A.weight,A.family].join(" ")}function TA(A,t,e){for(var r=(e=e||{}).defaultFontFamily||"times",n=Object.assign({},PA,e.genericFontFamilies||{}),i=null,s=null,o=0;o<t.length;++o)if(n[(i=NA(t[o])).family]&&(i.family=n[i.family]),A.hasOwnProperty(i.family)){s=A[i.family];break}if(!(s=s||A[r]))throw new Error("Could not find a font-family for the rule '"+OA(i)+"' and default family '"+r+"'.");if(s=function(A,t){if(t[A])return t[A];var e=_A[A],r=e<=_A.normal?-1:1,n=kA(t,EA,e,r);if(!n)throw new Error("Could not find a matching font-stretch value for "+A);return n}(i.stretch,s),s=function(A,t){if(t[A])return t[A];for(var e=xA[A],r=0;r<e.length;++r)if(t[e[r]])return t[e[r]];throw new Error("Could not find a matching font-style for "+A)}(i.style,s),!(s=function(A,t){if(t[A])return t[A];if(400===A&&t[500])return t[500];if(500===A&&t[400])return t[400];var e=HA[A],r=kA(t,SA,e,A<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+A);return r}(i.weight,s)))throw new Error("Failed to resolve a font for the rule '"+OA(i)+"'.");return s}function MA(A){return A.trimLeft()}function KA(A,t){for(var e=0;e<A.length;){if(A.charAt(e)===t)return[A.substring(0,e),A.substring(e+1)];e+=1}return null}function RA(A){var t=A.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],A.substring(t[0].length)]}var jA,VA,GA,zA=["times"];!function(A){var t,e,r,i,s,o,c,u,l,h=function(A){return A=A||{},this.isStrokeTransparent=A.isStrokeTransparent||!1,this.strokeOpacity=A.strokeOpacity||1,this.strokeStyle=A.strokeStyle||"#000000",this.fillStyle=A.fillStyle||"#000000",this.isFillTransparent=A.isFillTransparent||!1,this.fillOpacity=A.fillOpacity||1,this.font=A.font||"10px sans-serif",this.textBaseline=A.textBaseline||"alphabetic",this.textAlign=A.textAlign||"left",this.lineWidth=A.lineWidth||1,this.lineJoin=A.lineJoin||"miter",this.lineCap=A.lineCap||"butt",this.path=A.path||[],this.transform=void 0!==A.transform?A.transform.clone():new u,this.globalCompositeOperation=A.globalCompositeOperation||"normal",this.globalAlpha=A.globalAlpha||1,this.clip_path=A.clip_path||[],this.currentPoint=A.currentPoint||new o,this.miterLimit=A.miterLimit||10,this.lastPoint=A.lastPoint||new o,this.lineDashOffset=A.lineDashOffset||0,this.lineDash=A.lineDash||[],this.margin=A.margin||[0,0,0,0],this.prevPageLastElemOffset=A.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof A.ignoreClearRect||A.ignoreClearRect,this};A.events.push(["initialized",function(){this.context2d=new f(this),t=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,o=this.internal.Point,c=this.internal.Rectangle,u=this.internal.Matrix,l=new h}]);var f=function(A){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=A;Object.defineProperty(this,"pdf",{get:function(){return t}});var e=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return e},set:function(A){e=Boolean(A)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(A){r=Boolean(A)}});var n=0;Object.defineProperty(this,"posX",{get:function(){return n},set:function(A){isNaN(A)||(n=A)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(A){isNaN(A)||(i=A)}}),Object.defineProperty(this,"margin",{get:function(){return l.margin},set:function(A){var t;"number"==typeof A?t=[A,A,A,A]:((t=new Array(4))[0]=A[0],t[1]=A.length>=2?A[1]:t[0],t[2]=A.length>=3?A[2]:t[0],t[3]=A.length>=4?A[3]:t[1]),l.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(A){s=A}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(A){o=A}});var a=[];Object.defineProperty(this,"pageBreaks",{get:function(){return a},set:function(A){a=A}}),Object.defineProperty(this,"ctx",{get:function(){return l},set:function(A){A instanceof h&&(l=A)}}),Object.defineProperty(this,"path",{get:function(){return l.path},set:function(A){l.path=A}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(A){c=A}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(A){var t;t=d(A),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(A){var t=d(A);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(A){-1!==["butt","round","square"].indexOf(A)&&(this.ctx.lineCap=A,this.pdf.setLineCap(A))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(A){isNaN(A)||(this.ctx.lineWidth=A,this.pdf.setLineWidth(A))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(A){-1!==["bevel","round","miter"].indexOf(A)&&(this.ctx.lineJoin=A,this.pdf.setLineJoin(A))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(A){isNaN(A)||(this.ctx.miterLimit=A,this.pdf.setMiterLimit(A))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(A){this.ctx.textBaseline=A}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(A){-1!==["right","end","center","left","start"].indexOf(A)&&(this.ctx.textAlign=A)}});var u=null;function f(A,t){if(null===u){var e=function(A){var t=[];return Object.keys(A).forEach((function(e){A[e].forEach((function(A){var r=null;switch(A){case"bold":r={family:e,weight:"bold"};break;case"italic":r={family:e,style:"italic"};break;case"bolditalic":r={family:e,weight:"bold",style:"italic"};break;case"":case"normal":r={family:e}}null!==r&&(r.ref={name:e,style:A},t.push(r))}))})),t}(A.getFontList());u=function(A){for(var t={},e=0;e<A.length;++e){var r=NA(A[e]),n=r.family,i=r.stretch,s=r.style,o=r.weight;t[n]=t[n]||{},t[n][i]=t[n][i]||{},t[n][i][s]=t[n][i][s]||{},t[n][i][s][o]=r}return t}(e.concat(t))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(A){u=null,g=A}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(A){var t;if(this.ctx.font=A,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(A))){var e=t[1],r=(t[2],t[3]),n=t[4],i=(t[5],t[6]),s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(n)[2];n="px"===s?Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(n)*this.pdf.getFontSize()):Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(n);var o=function(A){var t,e,r=[],n=A.trim();if(""===n)return zA;if(n in DA)return[DA[n]];for(;""!==n;){switch(e=null,t=(n=MA(n)).charAt(0)){case'"':case"'":e=KA(n.substring(1),t);break;default:e=RA(n)}if(null===e)return zA;if(r.push(e[0]),""!==(n=MA(e[1]))&&","!==n.charAt(0))return zA;n=n.replace(/^,/,"")}return r}(i);if(this.fontFaces){var a=TA(f(this.pdf,this.fontFaces),o.map((function(A){return{family:A,stretch:"normal",weight:r,style:e}})));this.pdf.setFont(a.ref.name,a.ref.style)}else{var c="";("bold"===r||parseInt(r,10)>=700||"bold"===e)&&(c="bold"),"italic"===e&&(c+="italic"),0===c.length&&(c="normal");for(var u="",l={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<o.length;h++){if(void 0!==this.pdf.internal.getFont(o[h],c,{noFallback:!0,disableWarning:!0})){u=o[h];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(o[h],"bold",{noFallback:!0,disableWarning:!0}))u=o[h],c="bold";else if(void 0!==this.pdf.internal.getFont(o[h],"normal",{noFallback:!0,disableWarning:!0})){u=o[h],c="normal";break}}if(""===u)for(var d=0;d<o.length;d++)if(l[o[d]]){u=l[o[d]];break}u=""===u?"Times":u,this.pdf.setFont(u,c)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(A){this.ctx.globalCompositeOperation=A}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(A){this.ctx.globalAlpha=A}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(A){this.ctx.lineDashOffset=A,M.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(A){this.ctx.lineDash=A,M.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(A){this.ctx.ignoreClearRect=Boolean(A)}})};f.prototype.setLineDash=function(A){this.lineDash=A},f.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},f.prototype.fill=function(){C.call(this,"fill",!1)},f.prototype.stroke=function(){C.call(this,"stroke",!1)},f.prototype.beginPath=function(){this.path=[{type:"begin"}]},f.prototype.moveTo=function(A,t){if(isNaN(A)||isNaN(t))throw a.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var e=this.ctx.transform.applyToPoint(new o(A,t));this.path.push({type:"mt",x:e.x,y:e.y}),this.ctx.lastPoint=new o(A,t)},f.prototype.closePath=function(){var A=new o(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===n()(this.path[t+1])&&"number"==typeof this.path[t+1].x){A=new o(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(A.x,A.y)},f.prototype.lineTo=function(A,t){if(isNaN(A)||isNaN(t))throw a.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var e=this.ctx.transform.applyToPoint(new o(A,t));this.path.push({type:"lt",x:e.x,y:e.y}),this.ctx.lastPoint=new o(e.x,e.y)},f.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),C.call(this,null,!0)},f.prototype.quadraticCurveTo=function(A,t,e,r){if(isNaN(e)||isNaN(r)||isNaN(A)||isNaN(t))throw a.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var n=this.ctx.transform.applyToPoint(new o(e,r)),i=this.ctx.transform.applyToPoint(new o(A,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:n.x,y:n.y}),this.ctx.lastPoint=new o(n.x,n.y)},f.prototype.bezierCurveTo=function(A,t,e,r,n,i){if(isNaN(n)||isNaN(i)||isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw a.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new o(n,i)),c=this.ctx.transform.applyToPoint(new o(A,t)),u=this.ctx.transform.applyToPoint(new o(e,r));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:u.x,y2:u.y,x:s.x,y:s.y}),this.ctx.lastPoint=new o(s.x,s.y)},f.prototype.arc=function(A,t,e,r,n,i){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw a.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new o(A,t));A=s.x,t=s.y;var c=this.ctx.transform.applyToPoint(new o(0,e)),u=this.ctx.transform.applyToPoint(new o(0,0));e=Math.sqrt(Math.pow(c.x-u.x,2)+Math.pow(c.y-u.y,2))}Math.abs(n-r)>=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:"arc",x:A,y:t,radius:e,startAngle:r,endAngle:n,counterclockwise:i})},f.prototype.arcTo=function(A,t,e,r,n){throw new Error("arcTo not implemented.")},f.prototype.rect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw a.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(A,t),this.lineTo(A+e,t),this.lineTo(A+e,t+r),this.lineTo(A,t+r),this.lineTo(A,t),this.lineTo(A+e,t),this.lineTo(A,t)},f.prototype.fillRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw a.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(A,t,e,r),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},f.prototype.strokeRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw a.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");B.call(this)||(this.beginPath(),this.rect(A,t,e,r),this.stroke())},f.prototype.clearRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw a.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(A,t,e,r))},f.prototype.save=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e<this.pdf.internal.getNumberOfPages();e++)this.pdf.setPage(e+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),A){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},f.prototype.restore=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e<this.pdf.internal.getNumberOfPages();e++)this.pdf.setPage(e+1),this.pdf.internal.out("Q");this.pdf.setPage(t),A&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},f.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(A){var t,e,r,n;if(!0===A.isCanvasGradient&&(A=A.getColor()),!A)return{r:0,g:0,b:0,a:0,style:A};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(A))t=0,e=0,r=0,n=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(A);if(null!==i)t=parseInt(i[1]),e=parseInt(i[2]),r=parseInt(i[3]),n=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A)))t=parseInt(i[1]),e=parseInt(i[2]),r=parseInt(i[3]),n=parseFloat(i[4]);else{if(n=1,"string"==typeof A&&"#"!==A.charAt(0)){var s=new g(A);A=s.ok?s.toHex():"#000000"}4===A.length?(t=A.substring(1,2),t+=t,e=A.substring(2,3),e+=e,r=A.substring(3,4),r+=r):(t=A.substring(1,3),e=A.substring(3,5),r=A.substring(5,7)),t=parseInt(t,16),e=parseInt(e,16),r=parseInt(r,16)}}return{r:t,g:e,b:r,a:n,style:A}},p=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},B=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};f.prototype.fillText=function(A,t,e,r){if(isNaN(t)||isNaN(e)||"string"!=typeof A)throw a.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!p.call(this)){var n=D(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;_.call(this,{text:A,x:t,y:e,scale:i,angle:n,align:this.textAlign,maxWidth:r})}},f.prototype.strokeText=function(A,t,e,r){if(isNaN(t)||isNaN(e)||"string"!=typeof A)throw a.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!B.call(this)){r=isNaN(r)?void 0:r;var n=D(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;_.call(this,{text:A,x:t,y:e,scale:i,renderingMode:"stroke",angle:n,align:this.textAlign,maxWidth:r})}},f.prototype.measureText=function(A){if("string"!=typeof A)throw a.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,e=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),n=t.getStringUnitWidth(A)*r/t.internal.scaleFactor,i=function(A){var t=(A=A||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this};return new i({width:n*=Math.round(96*e/72*1e4)/1e4})},f.prototype.scale=function(A,t){if(isNaN(A)||isNaN(t))throw a.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var e=new u(A,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(e)},f.prototype.rotate=function(A){if(isNaN(A))throw a.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new u(Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},f.prototype.translate=function(A,t){if(isNaN(A)||isNaN(t))throw a.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var e=new u(1,0,0,1,A,t);this.ctx.transform=this.ctx.transform.multiply(e)},f.prototype.transform=function(A,t,e,r,n,i){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i))throw a.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new u(A,t,e,r,n,i);this.ctx.transform=this.ctx.transform.multiply(s)},f.prototype.setTransform=function(A,t,e,r,n,i){A=isNaN(A)?1:A,t=isNaN(t)?0:t,e=isNaN(e)?0:e,r=isNaN(r)?1:r,n=isNaN(n)?0:n,i=isNaN(i)?0:i,this.ctx.transform=new u(A,t,e,r,n,i)};var w=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};f.prototype.drawImage=function(A,t,e,r,n,i,s,o,a){var l=this.pdf.getImageProperties(A),h=1,f=1,d=1,g=1;void 0!==r&&void 0!==o&&(d=o/r,g=a/n,h=l.width/r*o/r,f=l.height/n*a/n),void 0===i&&(i=t,s=e,t=0,e=0),void 0!==r&&void 0===o&&(o=r,a=n),void 0===r&&void 0===o&&(o=l.width,a=l.height);for(var p,B=this.ctx.transform.decompose(),b=D(B.rotate.shx),C=new u,F=(C=(C=(C=C.multiply(B.translate)).multiply(B.skew)).multiply(B.scale)).applyToRectangle(new c(i-t*d,s-e*g,r*h,n*f)),U=m.call(this,F),L=[],I=0;I<U.length;I+=1)-1===L.indexOf(U[I])&&L.push(U[I]);if(v(L),this.autoPaging)for(var x=L[0],E=L[L.length-1],_=x;_<E+1;_++){this.pdf.setPage(_);var S=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],H=1===_?this.posY+this.margin[0]:this.margin[0],N=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],k=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],P=1===_?0:N+(_-2)*k;if(0!==this.ctx.clip_path.length){var O=this.path;p=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(p,this.posX+this.margin[3],-P+H+this.ctx.prevPageLastElemOffset),Q.call(this,"fill",!0),this.path=O}var T=JSON.parse(JSON.stringify(F));T=y([T],this.posX+this.margin[3],-P+H+this.ctx.prevPageLastElemOffset)[0];var M=(_>x||_<E)&&w.call(this);M&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],S,k,null).clip().discardPath()),this.pdf.addImage(A,"JPEG",T.x,T.y,T.w,T.h,null,null,b),M&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(A,"JPEG",F.x,F.y,F.w,F.h,null,null,b)};var m=function(A,t,e){var r=[];t=t||this.pdf.internal.pageSize.width,e=e||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var n=this.posY+this.ctx.prevPageLastElemOffset;switch(A.type){default:case"mt":case"lt":r.push(Math.floor((A.y+n)/e)+1);break;case"arc":r.push(Math.floor((A.y+n-A.radius)/e)+1),r.push(Math.floor((A.y+n+A.radius)/e)+1);break;case"qct":var i=O(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x,A.y);r.push(Math.floor((i.y+n)/e)+1),r.push(Math.floor((i.y+i.h+n)/e)+1);break;case"bct":var s=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x2,A.y2,A.x,A.y);r.push(Math.floor((s.y+n)/e)+1),r.push(Math.floor((s.y+s.h+n)/e)+1);break;case"rect":r.push(Math.floor((A.y+n)/e)+1),r.push(Math.floor((A.y+A.h+n)/e)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)b.call(this);return r},b=function(){var A=this.fillStyle,t=this.strokeStyle,e=this.font,r=this.lineCap,n=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=A,this.strokeStyle=t,this.font=e,this.lineCap=r,this.lineWidth=n,this.lineJoin=i},y=function(A,t,e){for(var r=0;r<A.length;r++)switch(A[r].type){case"bct":A[r].x2+=t,A[r].y2+=e;case"qct":A[r].x1+=t,A[r].y1+=e;case"mt":case"lt":case"arc":default:A[r].x+=t,A[r].y+=e}return A},v=function(A){return A.sort((function(A,t){return A-t}))},C=function(A,t){for(var e,r,n=this.fillStyle,i=this.strokeStyle,s=this.lineCap,o=this.lineWidth,a=Math.abs(o*this.ctx.transform.scaleX),c=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),l=JSON.parse(JSON.stringify(this.path)),h=[],f=0;f<l.length;f++)if(void 0!==l[f].x)for(var d=m.call(this,l[f]),g=0;g<d.length;g+=1)-1===h.indexOf(d[g])&&h.push(d[g]);for(var p=0;p<h.length;p++)for(;this.pdf.internal.getNumberOfPages()<h[p];)b.call(this);if(v(h),this.autoPaging)for(var B=h[0],C=h[h.length-1],F=B;F<C+1;F++){this.pdf.setPage(F),this.fillStyle=n,this.strokeStyle=i,this.lineCap=s,this.lineWidth=a,this.lineJoin=c;var U=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],L=1===F?this.posY+this.margin[0]:this.margin[0],I=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],x=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],E=1===F?0:I+(F-2)*x;if(0!==this.ctx.clip_path.length){var _=this.path;e=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(e,this.posX+this.margin[3],-E+L+this.ctx.prevPageLastElemOffset),Q.call(this,A,!0),this.path=_}if(r=JSON.parse(JSON.stringify(u)),this.path=y(r,this.posX+this.margin[3],-E+L+this.ctx.prevPageLastElemOffset),!1===t||0===F){var S=(F>B||F<C)&&w.call(this);S&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],U,x,null).clip().discardPath()),Q.call(this,A,t),S&&this.pdf.restoreGraphicsState()}this.lineWidth=o}else this.lineWidth=a,Q.call(this,A,t),this.lineWidth=o;this.path=u},Q=function(A,t){if(("stroke"!==A||t||!B.call(this))&&("stroke"===A||t||!p.call(this))){for(var e,r,n=[],i=this.path,s=0;s<i.length;s++){var o=i[s];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var a=n.length;if(i[s-1]&&!isNaN(i[s-1].x)&&(e=[o.x-i[s-1].x,o.y-i[s-1].y],a>0))for(;a>=0;a--)if(!0!==n[a-1].close&&!0!==n[a-1].begin){n[a-1].deltas.push(e),n[a-1].abs.push(o);break}break;case"bct":e=[o.x1-i[s-1].x,o.y1-i[s-1].y,o.x2-i[s-1].x,o.y2-i[s-1].y,o.x-i[s-1].x,o.y-i[s-1].y],n[n.length-1].deltas.push(e);break;case"qct":var c=i[s-1].x+2/3*(o.x1-i[s-1].x),u=i[s-1].y+2/3*(o.y1-i[s-1].y),l=o.x+2/3*(o.x1-o.x),h=o.y+2/3*(o.y1-o.y),f=o.x,d=o.y;e=[c-i[s-1].x,u-i[s-1].y,l-i[s-1].x,h-i[s-1].y,f-i[s-1].x,d-i[s-1].y],n[n.length-1].deltas.push(e);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}r=t?null:"stroke"===A?"stroke":"fill";for(var g=!1,w=0;w<n.length;w++)if(n[w].arc)for(var m=n[w].abs,b=0;b<m.length;b++){var y=m[b];"arc"===y.type?L.call(this,y.x,y.y,y.radius,y.startAngle,y.endAngle,y.counterclockwise,void 0,t,!g):S.call(this,y.x,y.y),g=!0}else if(!0===n[w].close)this.pdf.internal.out("h"),g=!1;else if(!0!==n[w].begin){var v=n[w].start.x,C=n[w].start.y;H.call(this,n[w].deltas,v,C),g=!0}r&&I.call(this,r),t&&x.call(this)}},F=function(A){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,e=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return A-e;case"top":return A+t-e;case"hanging":return A+t-2*e;case"middle":return A+t/2-e;case"ideographic":return A;case"alphabetic":default:return A}},U=function(A){return A+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};f.prototype.createLinearGradient=function(){var A=function(){};return A.colorStops=[],A.addColorStop=function(A,t){this.colorStops.push([A,t])},A.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},A.isCanvasGradient=!0,A},f.prototype.createPattern=function(){return this.createLinearGradient()},f.prototype.createRadialGradient=function(){return this.createLinearGradient()};var L=function(A,t,e,r,n,i,s,o,a){for(var c=k.call(this,e,r,n,i),u=0;u<c.length;u++){var l=c[u];0===u&&(a?E.call(this,l.x1+A,l.y1+t):S.call(this,l.x1+A,l.y1+t)),N.call(this,A,t,l.x2,l.y2,l.x3,l.y3,l.x4,l.y4)}o?x.call(this):I.call(this,s)},I=function(A){switch(A){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},x=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(A,t){this.pdf.internal.out(e(A)+" "+r(t)+" m")},_=function(A){var t;switch(A.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var e=this.pdf.getTextDimensions(A.text),r=F.call(this,A.y),n=U.call(this,r)-e.h,i=this.ctx.transform.applyToPoint(new o(A.x,r)),s=this.ctx.transform.decompose(),a=new u;a=(a=(a=a.multiply(s.translate)).multiply(s.skew)).multiply(s.scale);for(var l,h,f,d=this.ctx.transform.applyToRectangle(new c(A.x,r,e.w,e.h)),g=a.applyToRectangle(new c(A.x,n,e.w,e.h)),p=m.call(this,g),B=[],b=0;b<p.length;b+=1)-1===B.indexOf(p[b])&&B.push(p[b]);if(v(B),this.autoPaging)for(var C=B[0],L=B[B.length-1],I=C;I<L+1;I++){this.pdf.setPage(I);var x=1===I?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_=this.pdf.internal.pageSize.height-this.margin[2],S=_-this.margin[0],H=this.pdf.internal.pageSize.width-this.margin[1],N=H-this.margin[3],k=1===I?0:E+(I-2)*S;if(0!==this.ctx.clip_path.length){var P=this.path;l=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(l,this.posX+this.margin[3],-1*k+x),Q.call(this,"fill",!0),this.path=P}var D=y([JSON.parse(JSON.stringify(g))],this.posX+this.margin[3],-k+x+this.ctx.prevPageLastElemOffset)[0];A.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*A.scale),f=this.lineWidth,this.lineWidth=f*A.scale);var O="text"!==this.autoPaging;if(O||D.y+D.h<=_){if(O||D.y>=x&&D.x<=H){var T=O?A.text:this.pdf.splitTextToSize(A.text,A.maxWidth||H-D.x)[0],M=y([JSON.parse(JSON.stringify(d))],this.posX+this.margin[3],-k+x+this.ctx.prevPageLastElemOffset)[0],K=O&&(I>C||I<L)&&w.call(this);K&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,S,null).clip().discardPath()),this.pdf.text(T,M.x,M.y,{angle:A.angle,align:t,renderingMode:A.renderingMode}),K&&this.pdf.restoreGraphicsState()}}else D.y<_&&(this.ctx.prevPageLastElemOffset+=_-D.y);A.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)}else A.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*A.scale),f=this.lineWidth,this.lineWidth=f*A.scale),this.pdf.text(A.text,i.x+this.posX,i.y+this.posY,{angle:A.angle,align:t,renderingMode:A.renderingMode,maxWidth:A.maxWidth}),A.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)},S=function(A,t,n,i){n=n||0,i=i||0,this.pdf.internal.out(e(A+n)+" "+r(t+i)+" l")},H=function(A,t,e){return this.pdf.lines(A,t,e,null,null)},N=function(A,e,r,n,o,a,c,u){this.pdf.internal.out([t(i(r+A)),t(s(n+e)),t(i(o+A)),t(s(a+e)),t(i(c+A)),t(s(u+e)),"c"].join(" "))},k=function(A,t,e,r){for(var n=2*Math.PI,i=Math.PI/2;t>e;)t-=n;var s=Math.abs(e-t);s<n&&r&&(s=n-s);for(var o=[],a=r?-1:1,c=t;s>1e-5;){var u=c+a*Math.min(s,i);o.push(P.call(this,A,c,u)),s-=Math.abs(u-c),c=u}return o},P=function(A,t,e){var r=(e-t)/2,n=A*Math.cos(r),i=A*Math.sin(r),s=n,o=-i,a=s*s+o*o,c=a+s*n+o*i,u=4/3*(Math.sqrt(2*a*c)-c)/(s*i-o*n),l=s-u*o,h=o+u*s,f=l,d=-h,g=r+t,p=Math.cos(g),B=Math.sin(g);return{x1:A*Math.cos(t),y1:A*Math.sin(t),x2:l*p-h*B,y2:l*B+h*p,x3:f*p-d*B,y3:f*B+d*p,x4:A*Math.cos(e),y4:A*Math.sin(e)}},D=function(A){return 180*A/Math.PI},O=function(A,t,e,r,n,i){var s=A+.5*(e-A),o=t+.5*(r-t),a=n+.5*(e-n),u=i+.5*(r-i),l=Math.min(A,n,s,a),h=Math.max(A,n,s,a),f=Math.min(t,i,o,u),d=Math.max(t,i,o,u);return new c(l,f,h-l,d-f)},T=function(A,t,e,r,n,i,s,o){var a,u,l,h,f,d,g,p,B,w,m,b,y,v,C=e-A,Q=r-t,F=n-e,U=i-r,L=s-n,I=o-i;for(u=0;u<41;u++)B=(g=(l=A+(a=u/40)*C)+a*((f=e+a*F)-l))+a*(f+a*(n+a*L-f)-g),w=(p=(h=t+a*Q)+a*((d=r+a*U)-h))+a*(d+a*(i+a*I-d)-p),0==u?(m=B,b=w,y=B,v=w):(m=Math.min(m,B),b=Math.min(b,w),y=Math.max(y,B),v=Math.max(v,w));return new c(Math.round(m),Math.round(b),Math.round(y-m),Math.round(v-b))},M=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var A,t,e=(A=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:A,lineDashOffset:t}));this.prevLineDash!==e&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=e)}}}(T.API),
- /**
- * @license
- * jsPDF filters PlugIn
- * Copyright (c) 2014 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=function(A){var t,e,r,n,i,s,o,a,c,u;for(/[^\x00-\xFF]/.test(A),e=[],r=0,n=(A+=t="\0\0\0\0".slice(A.length%4||4)).length;n>r;r+=4)0!==(i=(A.charCodeAt(r)<<24)+(A.charCodeAt(r+1)<<16)+(A.charCodeAt(r+2)<<8)+A.charCodeAt(r+3))?(s=(i=((i=((i=((i=(i-(u=i%85))/85)-(c=i%85))/85)-(a=i%85))/85)-(o=i%85))/85)%85,e.push(s+33,o+33,a+33,c+33,u+33)):e.push(122);return function(A,t){for(var e=t;e>0;e--)A.pop()}(e,t.length),String.fromCharCode.apply(String,e)+"~>"},e=function(A){var t,e,r,n,i,s=String,o="length",a=255,c="charCodeAt",u="slice",l="replace";for(A[u](-2),A=A[u](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),r=[],n=0,i=(A+=t="uuuuu"[u](A[o]%5||5))[o];i>n;n+=5)e=52200625*(A[c](n)-33)+614125*(A[c](n+1)-33)+7225*(A[c](n+2)-33)+85*(A[c](n+3)-33)+(A[c](n+4)-33),r.push(a&e>>24,a&e>>16,a&e>>8,a&e);return function(A,t){for(var e=t;e>0;e--)A.pop()}(r,t[o]),s.fromCharCode.apply(s,r)},r=function(A){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(A=A.replace(/\s/g,"")).indexOf(">")&&(A=A.substr(0,A.indexOf(">"))),A.length%2&&(A+="0"),!1===t.test(A))return"";for(var e="",r=0;r<A.length;r+=2)e+=String.fromCharCode("0x"+(A[r]+A[r+1]));return e},n=function(A){for(var t=new Uint8Array(A.length),e=A.length;e--;)t[e]=A.charCodeAt(e);return(t=Object(i["b"])(t)).reduce((function(A,t){return A+String.fromCharCode(t)}),"")};A.processDataByFilters=function(A,i){var s=0,o=A||"",a=[];for("string"==typeof(i=i||[])&&(i=[i]),s=0;s<i.length;s+=1)switch(i[s]){case"ASCII85Decode":case"/ASCII85Decode":o=e(o),a.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=t(o),a.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=r(o),a.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=o.split("").map((function(A){return("0"+A.charCodeAt().toString(16)).slice(-2)})).join("")+">",a.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=n(o),a.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[s]+'" is not implemented')}return{data:o,reverseChain:a.reverse().join(" ")}}}(T.API),
- /**
- * @license
- * jsPDF fileloading PlugIn
- * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){A.loadFile=function(A,t,e){return function(A,t,e){t=!1!==t,e="function"==typeof e?e:function(){};var r=void 0;try{r=function(A,t,e){var r=new XMLHttpRequest,n=0,i=function(A){var t=A.length,e=[],r=String.fromCharCode;for(n=0;n<t;n+=1)e.push(r(255&A.charCodeAt(n)));return e.join("")};if(r.open("GET",A,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?e(i(this.responseText)):e(void 0)}),r.send(null),t&&200===r.status)return i(r.responseText)}(A,t,e)}catch(A){}return r}(A,t,e)},A.loadImageFile=A.loadFile}(T.API),function(A){function t(){return(s.html2canvas?Promise.resolve(s.html2canvas):Promise.resolve().then(e.t.bind(null,"c0e9",7))).catch((function(A){return Promise.reject(new Error("Could not load html2canvas: "+A))})).then((function(A){return A.default?A.default:A}))}function r(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):e.e("chunk-2d216214").then(e.t.bind(null,"c0c4",7))).catch((function(A){return Promise.reject(new Error("Could not load dompurify: "+A))})).then((function(A){return A.default?A.default:A}))}var i=function(A){var t=n()(A);return"undefined"===t?"undefined":"string"===t||A instanceof String?"string":"number"===t||A instanceof Number?"number":"function"===t||A instanceof Function?"function":A&&A.constructor===Array?"array":A&&1===A.nodeType?"element":"object"===t?"object":"unknown"},o=function(A,t){var e=document.createElement(A);for(var r in t.className&&(e.className=t.className),t.innerHTML&&t.dompurify&&(e.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)e.style[r]=t.style[r];return e},a=function A(t){var e=Object.assign(A.convert(Promise.resolve()),JSON.parse(JSON.stringify(A.template))),r=A.convert(Promise.resolve(),e);return(r=r.setProgress(1,A,1,[A])).set(t)};(a.prototype=Object.create(Promise.prototype)).constructor=a,a.convert=function(A,t){return A.__proto__=t||a.prototype,A},a.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},a.prototype.from=function(A,t){return this.then((function(){switch(t=t||function(A){switch(i(A)){case"string":return"string";case"element":return"canvas"===A.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(A)){case"string":return this.then(r).then((function(t){return this.set({src:o("div",{innerHTML:A,dompurify:t})})}));case"element":return this.set({src:A});case"canvas":return this.set({canvas:A});case"img":return this.set({img:A});default:return this.error("Unknown source type.")}}))},a.prototype.to=function(A){switch(A){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},a.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var A={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=function A(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(A(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(A.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:A}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},a.prototype.toCanvas=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then((function(A){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,A(this.prop.container,t)})).then((function(A){(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},a.prototype.toContext2d=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then((function(A){var t=this.opt.jsPDF,e=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,n=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=e,e)for(var i=0;i<e.length;++i){var s=e[i],o=s.src.find((function(A){return"truetype"===A.format}));o&&t.addFont(o.url,s.ref.name,s.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t.context2d.save(!0),A(this.prop.container,n)})).then((function(A){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},a.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A}))},a.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},a.prototype.output=function(A,t,e){return"img"===(e=e||"pdf").toLowerCase()||"image"===e.toLowerCase()?this.outputImg(A,t):this.outputPdf(A,t)},a.prototype.outputPdf=function(A,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(A,t)}))},a.prototype.outputImg=function(A){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(A){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+A+'" is not supported.'}}))},a.prototype.save=function(A){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(A?{filename:A}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},a.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},a.prototype.set=function(A){if("object"!==i(A))return this;var t=Object.keys(A||{}).map((function(t){if(t in a.template.prop)return function(){this.prop[t]=A[t]};switch(t){case"margin":return this.setMargin.bind(this,A.margin);case"jsPDF":return function(){return this.opt.jsPDF=A.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,A.pageSize);default:return function(){this.opt[t]=A[t]}}}),this);return this.then((function(){return this.thenList(t)}))},a.prototype.get=function(A,t){return this.then((function(){var e=A in a.template.prop?this.prop[A]:this.opt[A];return t?t(e):e}))},a.prototype.setMargin=function(A){return this.then((function(){switch(i(A)){case"number":A=[A,A,A,A];case"array":if(2===A.length&&(A=[A[0],A[1],A[0],A[1]]),4===A.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=A})).then(this.setPageSize)},a.prototype.setPageSize=function(A){function t(A,t){return Math.floor(A*t/72*96)}return this.then((function(){(A=A||T.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(A.inner={width:A.width-this.opt.margin[1]-this.opt.margin[3],height:A.height-this.opt.margin[0]-this.opt.margin[2]},A.inner.px={width:t(A.inner.width,A.k),height:t(A.inner.height,A.k)},A.inner.ratio=A.inner.height/A.inner.width),this.prop.pageSize=A}))},a.prototype.setProgress=function(A,t,e,r){return null!=A&&(this.progress.val=A),null!=t&&(this.progress.state=t),null!=e&&(this.progress.n=e),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},a.prototype.updateProgress=function(A,t,e,r){return this.setProgress(A?this.progress.val+A:null,t||null,e?this.progress.n+e:null,r?this.progress.stack.concat(r):null)},a.prototype.then=function(A,t){var e=this;return this.thenCore(A,t,(function(A,t){return e.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,(function(t){return e.updateProgress(null,A),t})).then(A,t).then((function(A){return e.updateProgress(1),A}))}))},a.prototype.thenCore=function(A,t,e){e=e||Promise.prototype.then,A&&(A=A.bind(this)),t&&(t=t.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:a.convert(Object.assign({},this),Promise.prototype),n=e.call(r,A,t);return a.convert(n,this.__proto__)},a.prototype.thenExternal=function(A,t){return Promise.prototype.then.call(this,A,t)},a.prototype.thenList=function(A){var t=this;return A.forEach((function(A){t=t.thenCore(A)})),t},a.prototype.catch=function(A){A&&(A=A.bind(this));var t=Promise.prototype.catch.call(this,A);return a.convert(t,this)},a.prototype.catchExternal=function(A){return Promise.prototype.catch.call(this,A)},a.prototype.error=function(A){return this.then((function(){throw new Error(A)}))},a.prototype.using=a.prototype.set,a.prototype.saveAs=a.prototype.save,a.prototype.export=a.prototype.output,a.prototype.run=a.prototype.then,T.getPageSize=function(A,t,e){if("object"===n()(A)){var r=A;A=r.orientation,t=r.unit||t,e=r.format||e}t=t||"mm",e=e||"a4",A=(""+(A||"P")).toLowerCase();var i,s=(""+e).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+t}var a,c=0,u=0;if(o.hasOwnProperty(s))c=o[s][1]/i,u=o[s][0]/i;else try{c=e[1],u=e[0]}catch(l){throw new Error("Invalid format: "+e)}if("p"===A||"portrait"===A)A="p",u>c&&(a=u,u=c,c=a);else{if("l"!==A&&"landscape"!==A)throw"Invalid orientation: "+A;A="l",c>u&&(a=u,u=c,c=a)}return{width:u,height:c,unit:t,k:i,orientation:A}},A.html=function(A,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(NA):null;var e=new a(t);return t.worker?e:e.from(A).doCallback()}}(T.API),T.API.addJS=function(A){return GA=A,this.internal.events.subscribe("postPutResources",(function(){jA=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(jA+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),VA=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+GA+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==jA&&void 0!==VA&&this.internal.out("/Names <</JavaScript "+jA+" 0 R>>")})),this
- /**
- * @license
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */},function(A){var t;A.events.push(["postPutResources",function(){var A=this,e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=A.outline.render().split(/\r\n/),n=0;n<r.length;n++){var i=r[n],s=e.exec(i);if(null!=s){var o=s[1];A.internal.newObjectDeferredBegin(o,!1)}A.internal.write(i)}if(this.outline.createNamedDestinations){var a=this.internal.pages.length,c=[];for(n=0;n<a;n++){var u=A.internal.newObject();c.push(u);var l=A.internal.getPageInfo(n+1);A.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var h=A.internal.newObject();for(A.internal.write("<< /Names [ "),n=0;n<c.length;n++)A.internal.write("(page_"+(n+1)+")"+c[n]+" 0 R");A.internal.write(" ] >>","endobj"),t=A.internal.newObject(),A.internal.write("<< /Dests "+h+" 0 R"),A.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(A,t,e){var r={title:t,options:e,children:[]};return null==A&&(A=this.root),A.children.push(r),r},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(t){t.id=A.internal.newObjectDeferred();for(var e=0;e<t.children.length;e++)this.genIds_r(t.children[e])},A.outline.renderRoot=function(A){this.objStart(A),this.line("/Type /Outlines"),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1]))),this.line("/Count "+this.count_r({count:0},A)),this.objEnd()},A.outline.renderItems=function(t){for(var e=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var n=t.children[r];this.objStart(n),this.line("/Title "+this.makeString(n.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1])));var i=this.count=this.count_r({count:0},n);if(i>0&&this.line("/Count "+i),n.options&&n.options.pageNumber){var s=A.internal.getPageInfo(n.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+e(0)+" 0]")}this.objEnd()}for(var o=0;o<t.children.length;o++)this.renderItems(t.children[o])},A.outline.line=function(A){this.ctx.val+=A+"\r\n"},A.outline.makeRef=function(A){return A.id+" 0 R"},A.outline.makeString=function(t){return"("+A.internal.pdfEscape(t)+")"},A.outline.objStart=function(A){this.ctx.val+="\r\n"+A.id+" 0 obj\r\n<<\r\n"},A.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},A.outline.count_r=function(A,t){for(var e=0;e<t.children.length;e++)A.count++,this.count_r(A,t.children[e]);return A.count}}])}(T.API),
- /**
- * @license
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=[192,193,194,195,196,197,198,199];A.processJPEG=function(A,e,r,n,i,s){var o,a=this.decode.DCT_DECODE,c=null;if("string"==typeof A||this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A)){switch(A=i||A,A=this.__addimage__.isArrayBuffer(A)?new Uint8Array(A):A,(o=function(A){for(var e,r=256*A.charCodeAt(4)+A.charCodeAt(5),n=A.length,i={width:0,height:0,numcomponents:1},s=4;s<n;s+=2){if(s+=r,-1!==t.indexOf(A.charCodeAt(s+1))){e=256*A.charCodeAt(s+5)+A.charCodeAt(s+6),i={width:256*A.charCodeAt(s+7)+A.charCodeAt(s+8),height:e,numcomponents:A.charCodeAt(s+9)};break}r=256*A.charCodeAt(s+2)+A.charCodeAt(s+3)}return i}(A=this.__addimage__.isArrayBufferView(A)?this.__addimage__.arrayBufferToBinaryString(A):A)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}c={data:A,width:o.width,height:o.height,colorSpace:s,bitsPerComponent:8,filter:a,index:e,alias:r}}return c}}(T.API);var qA,WA,XA,JA,YA,ZA=function(){var A,t,e;function r(A){var t,e,r,n,i,s,o,a,c,u,l,h,f,d;for(this.data=A,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},s=null;;){switch(t=this.readUInt32(),c=function(){var A,t;for(t=[],A=0;A<4;++A)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),n=this.readUInt16()||100,s.delay=1e3*i/n,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),A=(null!=s?s.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)A.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(f=0;0<=u?f<u:f>u;0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":o=(l=this.read(t)).indexOf(0),a=String.fromCharCode.apply(String,l.slice(0,o)),this.text[a]=String.fromCharCode.apply(String,l.slice(o+1));break;case"IEND":return s&&this.animation.frames.push(s),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(d=this.colorType)||6===d,e=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*e,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(A){var t,e;for(e=[],t=0;0<=A?t<A:t>A;0<=A?++t:--t)e.push(this.data[this.pos++]);return e},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(A){var t=this.pixelBitlength/8,e=new Uint8Array(this.width*this.height*t),r=0,n=this;if(null==A&&(A=this.imgData),0===A.length)return new Uint8Array(0);function s(i,s,o,a){var c,u,l,h,f,d,g,p,B,w,m,b,y,v,C,Q,F,U,L,I,x,E=Math.ceil((n.width-i)/o),_=Math.ceil((n.height-s)/a),S=n.width==E&&n.height==_;for(v=t*E,b=S?e:new Uint8Array(v*_),d=A.length,y=0,u=0;y<_&&r<d;){switch(A[r++]){case 0:for(h=F=0;F<v;h=F+=1)b[u++]=A[r++];break;case 1:for(h=U=0;U<v;h=U+=1)c=A[r++],f=h<t?0:b[u-t],b[u++]=(c+f)%256;break;case 2:for(h=L=0;L<v;h=L+=1)c=A[r++],l=(h-h%t)/t,C=y&&b[(y-1)*v+l*t+h%t],b[u++]=(C+c)%256;break;case 3:for(h=I=0;I<v;h=I+=1)c=A[r++],l=(h-h%t)/t,f=h<t?0:b[u-t],C=y&&b[(y-1)*v+l*t+h%t],b[u++]=(c+Math.floor((f+C)/2))%256;break;case 4:for(h=x=0;x<v;h=x+=1)c=A[r++],l=(h-h%t)/t,f=h<t?0:b[u-t],0===y?C=Q=0:(C=b[(y-1)*v+l*t+h%t],Q=l&&b[(y-1)*v+(l-1)*t+h%t]),g=f+C-Q,p=Math.abs(g-f),w=Math.abs(g-C),m=Math.abs(g-Q),B=p<=w&&p<=m?f:w<=m?C:Q,b[u++]=(c+B)%256;break;default:throw new Error("Invalid filter algorithm: "+A[r-1])}if(!S){var H=((s+y*a)*n.width+i)*t,N=y*v;for(h=0;h<E;h+=1){for(var k=0;k<t;k+=1)e[H++]=b[N++];H+=(o-1)*t}}y++}}return A=Object(i["a"])(A),1==n.interlaceMethod?(s(0,0,8,8),s(4,0,8,8),s(0,4,4,8),s(2,0,4,4),s(0,2,2,4),s(1,0,2,2),s(0,1,1,2)):s(0,0,1,1),e},r.prototype.decodePalette=function(){var A,t,e,r,n,i,s,o,a;for(e=this.palette,i=this.transparency.indexed||[],n=new Uint8Array((i.length||0)+e.length),r=0,A=0,t=s=0,o=e.length;s<o;t=s+=3)n[r++]=e[t],n[r++]=e[t+1],n[r++]=e[t+2],n[r++]=null!=(a=i[A++])?a:255;return n},r.prototype.copyToImageData=function(A,t){var e,r,n,i,s,o,a,c,u,l,h;if(r=this.colors,u=null,e=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,e=!0),c=(n=A.data||A).length,s=u||t,i=o=0,1===r)for(;i<c;)a=u?4*t[i/4]:o,l=s[a++],n[i++]=l,n[i++]=l,n[i++]=l,n[i++]=e?s[a++]:255,o=a;else for(;i<c;)a=u?4*t[i/4]:o,n[i++]=s[a++],n[i++]=s[a++],n[i++]=s[a++],n[i++]=e?s[a++]:255,o=a},r.prototype.decode=function(){var A;return A=new Uint8Array(this.width*this.height*4),this.copyToImageData(A,this.decodePixels()),A};var n=function(){if("[object Window]"===Object.prototype.toString.call(s)){try{t=s.document.createElement("canvas"),e=t.getContext("2d")}catch(A){return!1}return!0}return!1};return n(),A=function(A){var r;if(!0===n())return e.width=A.width,e.height=A.height,e.clearRect(0,0,A.width,A.height),e.putImageData(A,0,0),(r=new Image).src=t.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(t){var e,r,n,i,s,o,a,c;if(this.animation){for(c=[],r=s=0,o=(a=this.animation.frames).length;s<o;r=++s)e=a[r],n=t.createImageData(e.width,e.height),i=this.decodePixels(new Uint8Array(e.data)),this.copyToImageData(n,i),e.imageData=n,c.push(e.image=A(n));return c}},r.prototype.renderFrame=function(A,t){var e,r,n;return e=(r=this.animation.frames)[t],n=r[t-1],0===t&&A.clearRect(0,0,this.width,this.height),1===(null!=n?n.disposeOp:void 0)?A.clearRect(n.xOffset,n.yOffset,n.width,n.height):2===(null!=n?n.disposeOp:void 0)&&A.putImageData(n.imageData,n.xOffset,n.yOffset),0===e.blendOp&&A.clearRect(e.xOffset,e.yOffset,e.width,e.height),A.drawImage(e.image,e.xOffset,e.yOffset)},r.prototype.animate=function(A){var t,e,r,n,i,s,o=this;return e=0,s=this.animation,n=s.numFrames,r=s.frames,i=s.numPlays,(t=function(){var s,a;if(s=e++%n,a=r[s],o.renderFrame(A,s),n>1&&e/n<i)return o.animation._timeout=setTimeout(t,a.delay)})()},r.prototype.stopAnimation=function(){var A;return clearTimeout(null!=(A=this.animation)?A._timeout:void 0)},r.prototype.render=function(A){var t,e;return A._png&&A._png.stopAnimation(),A._png=this,A.width=this.width,A.height=this.height,t=A.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(e=t.createImageData(this.width,this.height),this.copyToImageData(e,this.decodePixels()),t.putImageData(e,0,0))},r}();
- /**
- * @license
- *
- * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */
- /**
- * @license
- * (c) Dean McNamee <dean@gmail.com>, 2013.
- *
- * https://github.com/deanm/omggif
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to
- * deal in the Software without restriction, including without limitation the
- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
- * including animation and compression. It does not rely on any specific
- * underlying system, so should run in the browser, Node, or Plask.
- */function $A(A){var t=0;if(71!==A[t++]||73!==A[t++]||70!==A[t++]||56!==A[t++]||56!=(A[t++]+1&253)||97!==A[t++])throw new Error("Invalid GIF 87a/89a header.");var e=A[t++]|A[t++]<<8,r=A[t++]|A[t++]<<8,n=A[t++],i=n>>7,s=1<<1+(7&n);A[t++],A[t++];var o=null,a=null;i&&(o=t,a=s,t+=3*s);var c=!0,u=[],l=0,h=null,f=0,d=null;for(this.width=e,this.height=r;c&&t<A.length;)switch(A[t++]){case 33:switch(A[t++]){case 255:if(11!==A[t]||78==A[t+1]&&69==A[t+2]&&84==A[t+3]&&83==A[t+4]&&67==A[t+5]&&65==A[t+6]&&80==A[t+7]&&69==A[t+8]&&50==A[t+9]&&46==A[t+10]&&48==A[t+11]&&3==A[t+12]&&1==A[t+13]&&0==A[t+16])t+=14,d=A[t++]|A[t++]<<8,t++;else for(t+=12;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;case 249:if(4!==A[t++]||0!==A[t+4])throw new Error("Invalid graphics extension block.");var g=A[t++];l=A[t++]|A[t++]<<8,h=A[t++],0==(1&g)&&(h=null),f=g>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var p=A[t++]|A[t++]<<8,B=A[t++]|A[t++]<<8,w=A[t++]|A[t++]<<8,m=A[t++]|A[t++]<<8,b=A[t++],y=b>>6&1,v=1<<1+(7&b),C=o,Q=a,F=!1;b>>7&&(F=!0,C=t,Q=v,t+=3*v);var U=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}u.push({x:p,y:B,width:w,height:m,has_local_palette:F,palette_offset:C,palette_size:Q,data_offset:U,data_length:t-U,transparent_index:h,interlaced:!!y,delay:l,disposal:f});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return d},this.frameInfo=function(A){if(A<0||A>=u.length)throw new Error("Frame index out of range.");return u[A]},this.decodeAndBlitFrameBGRA=function(t,r){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);At(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var c=n.width,u=e-c,l=c,h=4*(n.y*e+n.x),f=4*((n.y+n.height)*e+n.x),d=h,g=4*u;!0===n.interlaced&&(g+=4*e*7);for(var p=8,B=0,w=s.length;B<w;++B){var m=s[B];if(0===l&&(l=c,(d+=g)>=f&&(g=4*u+4*e*(p-1),d=h+(c+u)*(p<<1),p>>=1)),m===a)d+=4;else{var b=A[o+3*m],y=A[o+3*m+1],v=A[o+3*m+2];r[d++]=v,r[d++]=y,r[d++]=b,r[d++]=255}--l}},this.decodeAndBlitFrameRGBA=function(t,r){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);At(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var c=n.width,u=e-c,l=c,h=4*(n.y*e+n.x),f=4*((n.y+n.height)*e+n.x),d=h,g=4*u;!0===n.interlaced&&(g+=4*e*7);for(var p=8,B=0,w=s.length;B<w;++B){var m=s[B];if(0===l&&(l=c,(d+=g)>=f&&(g=4*u+4*e*(p-1),d=h+(c+u)*(p<<1),p>>=1)),m===a)d+=4;else{var b=A[o+3*m],y=A[o+3*m+1],v=A[o+3*m+2];r[d++]=b,r[d++]=y,r[d++]=v,r[d++]=255}--l}}}function At(A,t,e,r){for(var n=A[t++],i=1<<n,s=i+1,o=s+1,c=n+1,u=(1<<c)-1,l=0,h=0,f=0,d=A[t++],g=new Int32Array(4096),p=null;;){for(;l<16&&0!==d;)h|=A[t++]<<l,l+=8,1===d?d=A[t++]:--d;if(l<c)break;var B=h&u;if(h>>=c,l-=c,B!==i){if(B===s)break;for(var w=B<o?B:p,m=0,b=w;b>i;)b=g[b]>>8,++m;var y=b;if(f+m+(w!==B?1:0)>r)return void a.log("Warning, gif stream longer than expected.");e[f++]=y;var v=f+=m;for(w!==B&&(e[f++]=y),b=w;m--;)b=g[b],e[--v]=255&b,b>>=8;null!==p&&o<4096&&(g[o++]=p<<8|y,o>=u+1&&c<12&&(++c,u=u<<1|1)),p=B}else o=s+1,u=(1<<(c=n+1))-1,p=null}return f!==r&&a.log("Warning, gif stream shorter than expected."),e}
- /**
- * @license
- Copyright (c) 2008, Adobe Systems Incorporated
- All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are
- met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the name of Adobe Systems Incorporated nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */function tt(A){var t,e,r,n,i,s=Math.floor,o=new Array(64),a=new Array(64),c=new Array(64),u=new Array(64),l=new Array(65535),h=new Array(65535),f=new Array(64),d=new Array(64),g=[],p=0,B=7,w=new Array(64),m=new Array(64),b=new Array(64),y=new Array(256),v=new Array(2048),C=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Q=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],F=[0,1,2,3,4,5,6,7,8,9,10,11],U=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],I=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],_=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function S(A,t){for(var e=0,r=0,n=new Array,i=1;i<=16;i++){for(var s=1;s<=A[i];s++)n[t[r]]=[],n[t[r]][0]=e,n[t[r]][1]=i,r++,e++;e*=2}return n}function H(A){for(var t=A[0],e=A[1]-1;e>=0;)t&1<<e&&(p|=1<<B),e--,--B<0&&(255==p?(N(255),N(0)):N(p),B=7,p=0)}function N(A){g.push(A)}function k(A){N(A>>8&255),N(255&A)}function P(A,t,e,r,n){for(var i,s=n[0],o=n[240],a=function(A,t){var e,r,n,i,s,o,a,c,u,l,h=0;for(u=0;u<8;++u){e=A[h],r=A[h+1],n=A[h+2],i=A[h+3],s=A[h+4],o=A[h+5],a=A[h+6];var d=e+(c=A[h+7]),g=e-c,p=r+a,B=r-a,w=n+o,m=n-o,b=i+s,y=i-s,v=d+b,C=d-b,Q=p+w,F=p-w;A[h]=v+Q,A[h+4]=v-Q;var U=.707106781*(F+C);A[h+2]=C+U,A[h+6]=C-U;var L=.382683433*((v=y+m)-(F=B+g)),I=.5411961*v+L,x=1.306562965*F+L,E=.707106781*(Q=m+B),_=g+E,S=g-E;A[h+5]=S+I,A[h+3]=S-I,A[h+1]=_+x,A[h+7]=_-x,h+=8}for(h=0,u=0;u<8;++u){e=A[h],r=A[h+8],n=A[h+16],i=A[h+24],s=A[h+32],o=A[h+40],a=A[h+48];var H=e+(c=A[h+56]),N=e-c,k=r+a,P=r-a,D=n+o,O=n-o,T=i+s,M=i-s,K=H+T,R=H-T,j=k+D,V=k-D;A[h]=K+j,A[h+32]=K-j;var G=.707106781*(V+R);A[h+16]=R+G,A[h+48]=R-G;var z=.382683433*((K=M+O)-(V=P+N)),q=.5411961*K+z,W=1.306562965*V+z,X=.707106781*(j=O+P),J=N+X,Y=N-X;A[h+40]=Y+q,A[h+24]=Y-q,A[h+8]=J+W,A[h+56]=J-W,h++}for(u=0;u<64;++u)l=A[u]*t[u],f[u]=l>0?l+.5|0:l-.5|0;return f}(A,t),c=0;c<64;++c)d[C[c]]=a[c];var u=d[0]-e;e=d[0],0==u?H(r[0]):(H(r[h[i=32767+u]]),H(l[i]));for(var g=63;g>0&&0==d[g];)g--;if(0==g)return H(s),e;for(var p,B=1;B<=g;){for(var w=B;0==d[B]&&B<=g;)++B;var m=B-w;if(m>=16){p=m>>4;for(var b=1;b<=p;++b)H(o);m&=15}i=32767+d[B],H(n[(m<<4)+h[i]]),H(l[i]),B++}return 63!=g&&H(s),e}function D(A){A=Math.min(Math.max(A,1),100),i!=A&&(function(A){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],e=0;e<64;e++){var r=s((t[e]*A+50)/100);r=Math.min(Math.max(r,1),255),o[C[e]]=r}for(var n=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var l=s((n[i]*A+50)/100);l=Math.min(Math.max(l,1),255),a[C[i]]=l}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,d=0;d<8;d++)for(var g=0;g<8;g++)c[f]=1/(o[C[f]]*h[d]*h[g]*8),u[f]=1/(a[C[f]]*h[d]*h[g]*8),f++}(A<50?Math.floor(5e3/A):Math.floor(200-2*A)),i=A)}this.encode=function(A,i){i&&D(i),g=new Array,p=0,B=7,k(65496),k(65504),k(16),N(74),N(70),N(73),N(70),N(0),N(1),N(1),N(0),k(1),k(1),N(0),N(0),function(){k(65499),k(132),N(0);for(var A=0;A<64;A++)N(o[A]);N(1);for(var t=0;t<64;t++)N(a[t])}(),function(A,t){k(65472),k(17),N(8),k(t),k(A),N(3),N(1),N(17),N(0),N(2),N(17),N(1),N(3),N(17),N(1)}(A.width,A.height),function(){k(65476),k(418),N(0);for(var A=0;A<16;A++)N(Q[A+1]);for(var t=0;t<=11;t++)N(F[t]);N(16);for(var e=0;e<16;e++)N(U[e+1]);for(var r=0;r<=161;r++)N(L[r]);N(1);for(var n=0;n<16;n++)N(I[n+1]);for(var i=0;i<=11;i++)N(x[i]);N(17);for(var s=0;s<16;s++)N(E[s+1]);for(var o=0;o<=161;o++)N(_[o])}(),k(65498),k(12),N(3),N(1),N(0),N(2),N(17),N(3),N(17),N(0),N(63),N(0);var s=0,l=0,h=0;p=0,B=7,this.encode.displayName="_encode_";for(var f,d,y,C,S,O,T,M,K,R=A.data,j=A.width,V=A.height,G=4*j,z=0;z<V;){for(f=0;f<G;){for(S=G*z+f,T=-1,M=0,K=0;K<64;K++)O=S+(M=K>>3)*G+(T=4*(7&K)),z+M>=V&&(O-=G*(z+1+M-V)),f+T>=G&&(O-=f+T-G+4),d=R[O++],y=R[O++],C=R[O++],w[K]=(v[d]+v[y+256>>0]+v[C+512>>0]>>16)-128,m[K]=(v[d+768>>0]+v[y+1024>>0]+v[C+1280>>0]>>16)-128,b[K]=(v[d+1280>>0]+v[y+1536>>0]+v[C+1792>>0]>>16)-128;s=P(w,c,s,t,r),l=P(m,u,l,e,n),h=P(b,u,h,e,n),f+=32}z+=8}if(B>=0){var q=[];q[1]=B+1,q[0]=(1<<B+1)-1,H(q)}return k(65497),new Uint8Array(g)},A=A||50,function(){for(var A=String.fromCharCode,t=0;t<256;t++)y[t]=A(t)}(),t=S(Q,F),e=S(I,x),r=S(U,L),n=S(E,_),function(){for(var A=1,t=2,e=1;e<=15;e++){for(var r=A;r<t;r++)h[32767+r]=e,l[32767+r]=[],l[32767+r][1]=e,l[32767+r][0]=r;for(var n=-(t-1);n<=-A;n++)h[32767+n]=e,l[32767+n]=[],l[32767+n][1]=e,l[32767+n][0]=t-1+n;A<<=1,t<<=1}}(),function(){for(var A=0;A<256;A++)v[A]=19595*A,v[A+256>>0]=38470*A,v[A+512>>0]=7471*A+32768,v[A+768>>0]=-11059*A,v[A+1024>>0]=-21709*A,v[A+1280>>0]=32768*A+8421375,v[A+1536>>0]=-27439*A,v[A+1792>>0]=-5329*A}(),D(A)}
- /**
- * @license
- * Copyright (c) 2017 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */function et(A,t){if(this.pos=0,this.buffer=A,this.datav=new DataView(A.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function rt(A){function t(A){if(!A)throw Error("assert :P")}function e(A,t,e){for(var r=0;4>r;r++)if(A[t+r]!=e.charCodeAt(r))return!0;return!1}function r(A,t,e,r,n){for(var i=0;i<n;i++)A[t+i]=e[r+i]}function n(A,t,e,r){for(var n=0;n<r;n++)A[t+n]=e}function i(A){return new Int32Array(A)}function s(A,t){for(var e=[],r=0;r<A;r++)e.push(new t);return e}function o(A,t){var e=[];return function A(e,r,n){for(var i=n[r],s=0;s<i&&(e.push(n.length>r+1?[]:new t),!(n.length<r+1));s++)A(e[s],r+1,n)}(e,0,A),e}var a=function(){var A=this;function a(A,t){for(var e=1<<t-1>>>0;A&e;)e>>>=1;return e?(A&e-1)+e:A}function c(A,e,r,n,i){t(!(n%r));do{A[e+(n-=r)]=i}while(0<n)}function u(A,e,r,n,s){if(t(2328>=s),512>=s)var o=i(512);else if(null==(o=i(s)))return 0;return function(A,e,r,n,s,o){var u,h,f=e,d=1<<r,g=i(16),p=i(16);for(t(0!=s),t(null!=n),t(null!=A),t(0<r),h=0;h<s;++h){if(15<n[h])return 0;++g[n[h]]}if(g[0]==s)return 0;for(p[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;p[u+1]=p[u]+g[u]}for(h=0;h<s;++h)u=n[h],0<n[h]&&(o[p[u]++]=h);if(1==p[15])return(n=new l).g=0,n.value=o[0],c(A,f,1,d,n),d;var B,w=-1,m=d-1,b=0,y=1,v=1,C=1<<r;for(h=0,u=1,s=2;u<=r;++u,s<<=1){if(y+=v<<=1,0>(v-=g[u]))return 0;for(;0<g[u];--g[u])(n=new l).g=u,n.value=o[h++],c(A,f+b,s,C,n),b=a(b,u)}for(u=r+1,s=2;15>=u;++u,s<<=1){if(y+=v<<=1,0>(v-=g[u]))return 0;for(;0<g[u];--g[u]){if(n=new l,(b&m)!=w){for(f+=C,B=1<<(w=u)-r;15>w&&!(0>=(B-=g[w]));)++w,B<<=1;d+=C=1<<(B=w-r),A[e+(w=b&m)].g=B+r,A[e+w].value=f-e-w}n.g=u-r,n.value=o[h++],c(A,f+(b>>r),s,C,n),b=a(b,u)}}return y!=2*p[15]-1?0:d}(A,e,r,n,s,o)}function l(){this.value=this.g=0}function h(){this.value=this.g=0}function f(){this.G=s(5,l),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(Oe,h)}function d(A,e,r,n){t(null!=A),t(null!=e),t(2147483648>n),A.Ca=254,A.I=0,A.b=-8,A.Ka=0,A.oa=e,A.pa=r,A.Jd=e,A.Yc=r+n,A.Zc=4<=n?r+n-4+1:r,U(A)}function g(A,t){for(var e=0;0<t--;)e|=I(A,128)<<t;return e}function p(A,t){var e=g(A,t);return L(A)?-e:e}function B(A,e,r,n){var i,s=0;for(t(null!=A),t(null!=e),t(4294967288>n),A.Sb=n,A.Ra=0,A.u=0,A.h=0,4<n&&(n=4),i=0;i<n;++i)s+=e[r+i]<<8*i;A.Ra=s,A.bb=n,A.oa=e,A.pa=r}function w(A){for(;8<=A.u&&A.bb<A.Sb;)A.Ra>>>=8,A.Ra+=A.oa[A.pa+A.bb]<<Ke-8>>>0,++A.bb,A.u-=8;C(A)&&(A.h=1,A.u=0)}function m(A,e){if(t(0<=e),!A.h&&e<=Me){var r=v(A)&Te[e];return A.u+=e,w(A),r}return A.h=1,A.u=0}function b(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function y(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function v(A){return A.Ra>>>(A.u&Ke-1)>>>0}function C(A){return t(A.bb<=A.Sb),A.h||A.bb==A.Sb&&A.u>Ke}function Q(A,t){A.u=t,A.h=C(A)}function F(A){A.u>=Re&&(t(A.u>=Re),w(A))}function U(A){t(null!=A&&null!=A.oa),A.pa<A.Zc?(A.I=(A.oa[A.pa++]|A.I<<8)>>>0,A.b+=8):(t(null!=A&&null!=A.oa),A.pa<A.Yc?(A.b+=8,A.I=A.oa[A.pa++]|A.I<<8):A.Ka?A.b=0:(A.I<<=8,A.b+=8,A.Ka=1))}function L(A){return g(A,1)}function I(A,t){var e=A.Ca;0>A.b&&U(A);var r=A.b,n=e*t>>>8,i=(A.I>>>r>n)+0;for(i?(e-=n,A.I-=n+1<<r>>>0):e=n+1,r=e,n=0;256<=r;)n+=8,r>>=8;return r=7^n+je[r],A.b-=r,A.Ca=(e<<r)-1,i}function x(A,t,e){A[t+0]=e>>24&255,A[t+1]=e>>16&255,A[t+2]=e>>8&255,A[t+3]=e>>0&255}function E(A,t){return A[t+0]<<0|A[t+1]<<8}function _(A,t){return E(A,t)|A[t+2]<<16}function S(A,t){return E(A,t)|E(A,t+2)<<16}function H(A,e){var r=1<<e;return t(null!=A),t(0<e),A.X=i(r),null==A.X?0:(A.Mb=32-e,A.Xa=e,1)}function N(A,e){t(null!=A),t(null!=e),t(A.Xa==e.Xa),r(e.X,0,A.X,0,1<<e.Xa)}function k(){this.X=[],this.Xa=this.Mb=0}function P(A,e,r,n){t(null!=r),t(null!=n);var i=r[0],s=n[0];return 0==i&&(i=(A*s+e/2)/e),0==s&&(s=(e*i+A/2)/A),0>=i||0>=s?0:(r[0]=i,n[0]=s,1)}function D(A,t){return A+(1<<t)-1>>>t}function O(A,t){return((4278255360&A)+(4278255360&t)>>>0&4278255360)+((16711935&A)+(16711935&t)>>>0&16711935)>>>0}function T(t,e){A[e]=function(e,r,n,i,s,o,a){var c;for(c=0;c<s;++c){var u=A[t](o[a+c-1],n,i+c);o[a+c]=O(e[r+c],u)}}}function M(){this.ud=this.hd=this.jd=0}function K(A,t){return((4278124286&(A^t))>>>1)+(A&t)>>>0}function R(A){return 0<=A&&256>A?A:0>A?0:255<A?255:void 0}function j(A,t){return R(A+(A-t+.5>>1))}function V(A,t,e){return Math.abs(t-e)-Math.abs(A-e)}function G(A,t,e,r,n,i,s){for(r=i[s-1],e=0;e<n;++e)i[s+e]=r=O(A[t+e],r)}function z(A,t,e,r,n){var i;for(i=0;i<e;++i){var s=A[t+i],o=s>>8&255,a=16711935&(a=(a=16711935&s)+((o<<16)+o));r[n+i]=(4278255360&s)+a>>>0}}function q(A,t){t.jd=A>>0&255,t.hd=A>>8&255,t.ud=A>>16&255}function W(A,t,e,r,n,i){var s;for(s=0;s<r;++s){var o=t[e+s],a=o>>>8,c=o,u=255&(u=(u=o>>>16)+((A.jd<<24>>24)*(a<<24>>24)>>>5));c=255&(c=(c+=(A.hd<<24>>24)*(a<<24>>24)>>>5)+((A.ud<<24>>24)*(u<<24>>24)>>>5)),n[i+s]=(4278255360&o)+(u<<16)+c}}function X(t,e,r,n,i){A[e]=function(A,t,e,r,s,o,a,c,u){for(r=a;r<c;++r)for(a=0;a<u;++a)s[o++]=i(e[n(A[t++])])},A[t]=function(t,e,s,o,a,c,u){var l=8>>t.b,h=t.Ea,f=t.K[0],d=t.w;if(8>l)for(t=(1<<t.b)-1,d=(1<<l)-1;e<s;++e){var g,p=0;for(g=0;g<h;++g)g&t||(p=n(o[a++])),c[u++]=i(f[p&d]),p>>=l}else A["VP8LMapColor"+r](o,a,f,d,c,u,e,s,h)}}function J(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=i>>16&255,r[n++]=i>>8&255,r[n++]=i>>0&255}}function Y(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=i>>16&255,r[n++]=i>>8&255,r[n++]=i>>0&255,r[n++]=i>>24&255}}function Z(A,t,e,r,n){for(e=t+e;t<e;){var i=(s=A[t++])>>16&240|s>>12&15,s=s>>0&240|s>>28&15;r[n++]=i,r[n++]=s}}function $(A,t,e,r,n){for(e=t+e;t<e;){var i=(s=A[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;r[n++]=i,r[n++]=s}}function AA(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=i>>0&255,r[n++]=i>>8&255,r[n++]=i>>16&255}}function tA(A,t,e,n,i,s){if(0==s)for(e=t+e;t<e;)x(n,((s=A[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),i+=32;else r(n,i,A,t,e)}function eA(t,e){A[e][0]=A[t+"0"],A[e][1]=A[t+"1"],A[e][2]=A[t+"2"],A[e][3]=A[t+"3"],A[e][4]=A[t+"4"],A[e][5]=A[t+"5"],A[e][6]=A[t+"6"],A[e][7]=A[t+"7"],A[e][8]=A[t+"8"],A[e][9]=A[t+"9"],A[e][10]=A[t+"10"],A[e][11]=A[t+"11"],A[e][12]=A[t+"12"],A[e][13]=A[t+"13"],A[e][14]=A[t+"0"],A[e][15]=A[t+"0"]}function rA(A){return A==Rr||A==jr||A==Vr||A==Gr}function nA(){this.eb=[],this.size=this.A=this.fb=0}function iA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function sA(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new nA,this.f.kb=new iA,this.sd=null}function oA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function aA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function cA(A){return alert("todo:WebPSamplerProcessPlane"),A.T}function uA(A,t){var e=A.T,n=t.ba.f.RGBA,i=n.eb,s=n.fb+A.ka*n.A,o=Bn[t.ba.S],a=A.y,c=A.O,u=A.f,l=A.N,h=A.ea,f=A.W,d=t.cc,g=t.dc,p=t.Mc,B=t.Nc,w=A.ka,m=A.ka+A.T,b=A.U,y=b+1>>1;for(0==w?o(a,c,null,null,u,l,h,f,u,l,h,f,i,s,null,null,b):(o(t.ec,t.fc,a,c,d,g,p,B,u,l,h,f,i,s-n.A,i,s,b),++e);w+2<m;w+=2)d=u,g=l,p=h,B=f,l+=A.Rc,f+=A.Rc,s+=2*n.A,o(a,(c+=2*A.fa)-A.fa,a,c,d,g,p,B,u,l,h,f,i,s-n.A,i,s,b);return c+=A.fa,A.j+m<A.o?(r(t.ec,t.fc,a,c,b),r(t.cc,t.dc,u,l,y),r(t.Mc,t.Nc,h,f,y),e--):1&m||o(a,c,null,null,u,l,h,f,u,l,h,f,i,s+n.A,null,null,b),e}function lA(A,e,r){var n=A.F,i=[A.J];if(null!=n){var s=A.U,o=e.ba.S,a=o==Tr||o==Vr;e=e.ba.f.RGBA;var c=[0],u=A.ka;c[0]=A.T,A.Kb&&(0==u?--c[0]:(--u,i[0]-=A.width),A.j+A.ka+A.T==A.o&&(c[0]=A.o-A.j-u));var l=e.eb;u=e.fb+u*e.A,A=Qr(n,i[0],A.width,s,c,l,u+(a?0:3),e.A),t(r==c),A&&rA(o)&&vr(l,u,a,s,c,e.A)}return 0}function hA(A){var t=A.ma,e=t.ba.S,r=11>e,n=e==Pr||e==Or||e==Tr||e==Mr||12==e||rA(e);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!ke(t.Oa,A,n?11:12))return 0;if(n&&rA(e)&&we(),A.da)alert("todo:use_scaling");else{if(r){if(t.Ib=cA,A.Kb){if(e=A.U+1>>1,t.memory=i(A.U+2*e),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+A.U,t.Mc=t.cc,t.Nc=t.dc+e,t.Ib=uA,we()}}else alert("todo:EmitYUV");n&&(t.Jb=lA,r&&pe())}if(r&&!_n){for(A=0;256>A;++A)Sn[A]=89858*(A-128)+Un>>Fn,kn[A]=-22014*(A-128)+Un,Nn[A]=-45773*(A-128),Hn[A]=113618*(A-128)+Un>>Fn;for(A=Ln;A<In;++A)t=76283*(A-16)+Un>>Fn,Pn[A-Ln]=GA(t,255),Dn[A-Ln]=GA(t+8>>4,15);_n=1}return 1}function fA(A){var e=A.ma,r=A.U,n=A.T;return t(!(1&A.ka)),0>=r||0>=n?0:(r=e.Ib(A,e),null!=e.Jb&&e.Jb(A,e,r),e.Dc+=r,1)}function dA(A){A.ma.memory=null}function gA(A,t,e,r){return 47!=m(A,8)?0:(t[0]=m(A,14)+1,e[0]=m(A,14)+1,r[0]=m(A,1),0!=m(A,3)?0:!A.h)}function pA(A,t){if(4>A)return A+1;var e=A-2>>1;return(2+(1&A)<<e)+m(t,e)+1}function BA(A,t){return 120<t?t-120:1<=(e=((e=Yr[t-1])>>4)*A+(8-(15&e)))?e:1;var e}function wA(A,t,e){var r=v(e),n=A[t+=255&r].g-8;return 0<n&&(Q(e,e.u+8),r=v(e),t+=A[t].value,t+=r&(1<<n)-1),Q(e,e.u+A[t].g),A[t].value}function mA(A,e,r){return r.g+=A.g,r.value+=A.value<<e>>>0,t(8>=r.g),A.g}function bA(A,e,r){var n=A.xc;return t((e=0==n?0:A.vc[A.md*(r>>n)+(e>>n)])<A.Wb),A.Ya[e]}function yA(A,e,n,i){var s=A.ab,o=A.c*e,a=A.C;e=a+e;var c=n,u=i;for(i=A.Ta,n=A.Ua;0<s--;){var l=A.gc[s],h=a,f=e,d=c,g=u,p=(u=i,c=n,l.Ea);switch(t(h<f),t(f<=l.nc),l.hc){case 2:ze(d,g,(f-h)*p,u,c);break;case 0:var B=h,w=f,m=u,b=c,y=(U=l).Ea;0==B&&(Ve(d,g,null,null,1,m,b),G(d,g+1,0,0,y-1,m,b+1),g+=y,b+=y,++B);for(var v=1<<U.b,C=v-1,Q=D(y,U.b),F=U.K,U=U.w+(B>>U.b)*Q;B<w;){var L=F,I=U,x=1;for(Ge(d,g,m,b-y,1,m,b);x<y;){var E=(x&~C)+v;E>y&&(E=y),(0,Ye[L[I++]>>8&15])(d,g+ +x,m,b+x-y,E-x,m,b+x),x=E}g+=y,b+=y,++B&C||(U+=Q)}f!=l.nc&&r(u,c-p,u,c+(f-h-1)*p,p);break;case 1:for(p=d,w=g,y=(d=l.Ea)-(b=d&~(m=(g=1<<l.b)-1)),B=D(d,l.b),v=l.K,l=l.w+(h>>l.b)*B;h<f;){for(C=v,Q=l,F=new M,U=w+b,L=w+d;w<U;)q(C[Q++],F),Ze(F,p,w,g,u,c),w+=g,c+=g;w<L&&(q(C[Q++],F),Ze(F,p,w,y,u,c),w+=y,c+=y),++h&m||(l+=B)}break;case 3:if(d==u&&g==c&&0<l.b){for(w=u,d=p=c+(f-h)*p-(b=(f-h)*D(l.Ea,l.b)),g=u,m=c,B=[],b=(y=b)-1;0<=b;--b)B[b]=g[m+b];for(b=y-1;0<=b;--b)w[d+b]=B[b];qe(l,h,f,u,p,u,c)}else qe(l,h,f,d,g,u,c)}c=i,u=n}u!=n&&r(i,n,c,u,o)}function vA(A,e){var r=A.V,n=A.Ba+A.c*A.C,i=e-A.C;if(t(e<=A.l.o),t(16>=i),0<i){var s=A.l,o=A.Ta,a=A.Ua,c=s.width;if(yA(A,i,r,n),i=a=[a],t((r=A.C)<(n=e)),t(s.v<s.va),n>s.o&&(n=s.o),r<s.j){var u=s.j-r;r=s.j,i[0]+=u*c}if(r>=n?r=0:(i[0]+=4*s.v,s.ka=r-s.j,s.U=s.va-s.v,s.T=n-r,r=1),r){if(a=a[0],11>(r=A.ca).S){var l=r.f.RGBA,h=(n=r.S,i=s.U,s=s.T,u=l.eb,l.A),f=s;for(l=l.fb+A.Ma*l.A;0<f--;){var d=o,g=a,p=i,B=u,w=l;switch(n){case kr:$e(d,g,p,B,w);break;case Pr:Ar(d,g,p,B,w);break;case Rr:Ar(d,g,p,B,w),vr(B,w,0,p,1,0);break;case Dr:rr(d,g,p,B,w);break;case Or:tA(d,g,p,B,w,1);break;case jr:tA(d,g,p,B,w,1),vr(B,w,0,p,1,0);break;case Tr:tA(d,g,p,B,w,0);break;case Vr:tA(d,g,p,B,w,0),vr(B,w,1,p,1,0);break;case Mr:tr(d,g,p,B,w);break;case Gr:tr(d,g,p,B,w),Cr(B,w,p,1,0);break;case Kr:er(d,g,p,B,w);break;default:t(0)}a+=c,l+=h}A.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(A.Ma<=r.height)}}A.C=e,t(A.C<=A.i)}function CA(A){var t;if(0<A.ua)return 0;for(t=0;t<A.Wb;++t){var e=A.Ya[t].G,r=A.Ya[t].H;if(0<e[1][r[1]+0].g||0<e[2][r[2]+0].g||0<e[3][r[3]+0].g)return 0}return 1}function QA(A,e,r,n,i,s){if(0!=A.Z){var o=A.qd,a=A.rd;for(t(null!=pn[A.Z]);e<r;++e)pn[A.Z](o,a,n,i,n,i,s),o=n,a=i,i+=s;A.qd=o,A.rd=a}}function FA(A,e){var r=A.l.ma,n=0==r.Z||1==r.Z?A.l.j:A.C;if(n=A.C<n?n:A.C,t(e<=A.l.o),e>n){var i=A.l.width,s=r.ca,o=r.tb+i*n,a=A.V,c=A.Ba+A.c*n,u=A.gc;t(1==A.ab),t(3==u[0].hc),Xe(u[0],n,e,a,c,s,o),QA(r,n,e,s,o,i)}A.C=A.Ma=e}function UA(A,e,r,n,i,s,o){var a=A.$/n,c=A.$%n,u=A.m,l=A.s,h=r+A.$,f=h;i=r+n*i;var d=r+n*s,g=280+l.ua,p=A.Pb?a:16777216,B=0<l.ua?l.Wa:null,w=l.wc,m=h<d?bA(l,c,a):null;t(A.C<s),t(d<=i);var b=!1;A:for(;;){for(;b||h<d;){var y=0;if(a>=p){var U=h-r;t((p=A).Pb),p.wd=p.m,p.xd=U,0<p.s.ua&&N(p.s.Wa,p.s.vb),p=a+$r}if(c&w||(m=bA(l,c,a)),t(null!=m),m.Qb&&(e[h]=m.qb,b=!0),!b)if(F(u),m.jc){y=u,U=e;var L=h,I=m.pd[v(y)&Oe-1];t(m.jc),256>I.g?(Q(y,y.u+I.g),U[L]=I.value,y=0):(Q(y,y.u+I.g-256),t(256<=I.value),y=I.value),0==y&&(b=!0)}else y=wA(m.G[0],m.H[0],u);if(u.h)break;if(b||256>y){if(!b)if(m.nd)e[h]=(m.qb|y<<8)>>>0;else{if(F(u),b=wA(m.G[1],m.H[1],u),F(u),U=wA(m.G[2],m.H[2],u),L=wA(m.G[3],m.H[3],u),u.h)break;e[h]=(L<<24|b<<16|y<<8|U)>>>0}if(b=!1,++h,++c>=n&&(c=0,++a,null!=o&&a<=s&&!(a%16)&&o(A,a),null!=B))for(;f<h;)y=e[f++],B.X[(506832829*y&4294967295)>>>B.Mb]=y}else if(280>y){if(y=pA(y-256,u),U=wA(m.G[4],m.H[4],u),F(u),U=BA(n,U=pA(U,u)),u.h)break;if(h-r<U||i-h<y)break A;for(L=0;L<y;++L)e[h+L]=e[h+L-U];for(h+=y,c+=y;c>=n;)c-=n,++a,null!=o&&a<=s&&!(a%16)&&o(A,a);if(t(h<=i),c&w&&(m=bA(l,c,a)),null!=B)for(;f<h;)y=e[f++],B.X[(506832829*y&4294967295)>>>B.Mb]=y}else{if(!(y<g))break A;for(b=y-280,t(null!=B);f<h;)y=e[f++],B.X[(506832829*y&4294967295)>>>B.Mb]=y;y=h,t(!(b>>>(U=B).Xa)),e[y]=U.X[b],b=!0}b||t(u.h==C(u))}if(A.Pb&&u.h&&h<i)t(A.m.h),A.a=5,A.m=A.wd,A.$=A.xd,0<A.s.ua&&N(A.s.vb,A.s.Wa);else{if(u.h)break A;null!=o&&o(A,a>s?s:a),A.a=0,A.$=h-r}return 1}return A.a=3,0}function LA(A){t(null!=A),A.vc=null,A.yc=null,A.Ya=null;var e=A.Wa;null!=e&&(e.X=null),A.vb=null,t(null!=A)}function IA(){var t=new se;return null==t?null:(t.a=0,t.xb=gn,eA("Predictor","VP8LPredictors"),eA("Predictor","VP8LPredictors_C"),eA("PredictorAdd","VP8LPredictorsAdd"),eA("PredictorAdd","VP8LPredictorsAdd_C"),ze=z,Ze=W,$e=J,Ar=Y,tr=Z,er=$,rr=AA,A.VP8LMapColor32b=We,A.VP8LMapColor8b=Je,t)}function xA(A,e,r,o,a){var c=1,h=[A],d=[e],g=o.m,p=o.s,B=null,w=0;A:for(;;){if(r)for(;c&&m(g,1);){var b=h,y=d,C=o,U=1,L=C.m,I=C.gc[C.ab],x=m(L,2);if(C.Oc&1<<x)c=0;else{switch(C.Oc|=1<<x,I.hc=x,I.Ea=b[0],I.nc=y[0],I.K=[null],++C.ab,t(4>=C.ab),x){case 0:case 1:I.b=m(L,3)+2,U=xA(D(I.Ea,I.b),D(I.nc,I.b),0,C,I.K),I.K=I.K[0];break;case 3:var E,_=m(L,8)+1,S=16<_?0:4<_?1:2<_?2:3;if(b[0]=D(I.Ea,S),I.b=S,E=U=xA(_,1,0,C,I.K)){var N,k=_,P=I,T=1<<(8>>P.b),M=i(T);if(null==M)E=0;else{var K=P.K[0],R=P.w;for(M[0]=P.K[0][0],N=1;N<1*k;++N)M[N]=O(K[R+N],M[N-1]);for(;N<4*T;++N)M[N]=0;P.K[0]=null,P.K[0]=M,E=1}}U=E;break;case 2:break;default:t(0)}c=U}}if(h=h[0],d=d[0],c&&m(g,1)&&!(c=1<=(w=m(g,4))&&11>=w)){o.a=3;break A}var j;if(j=c)t:{var V,G,z,q=o,W=h,X=d,J=w,Y=r,Z=q.m,$=q.s,AA=[null],tA=1,eA=0,rA=Zr[J];e:for(;;){if(Y&&m(Z,1)){var nA=m(Z,3)+2,iA=D(W,nA),sA=D(X,nA),oA=iA*sA;if(!xA(iA,sA,0,q,AA))break e;for(AA=AA[0],$.xc=nA,V=0;V<oA;++V){var aA=AA[V]>>8&65535;AA[V]=aA,aA>=tA&&(tA=aA+1)}}if(Z.h)break e;for(G=0;5>G;++G){var cA=Wr[G];!G&&0<J&&(cA+=1<<J),eA<cA&&(eA=cA)}var uA=s(tA*rA,l),lA=tA,hA=s(lA,f);if(null==hA)var fA=null;else t(65536>=lA),fA=hA;var dA=i(eA);if(null==fA||null==dA||null==uA){q.a=1;break e}var gA=uA;for(V=z=0;V<tA;++V){var pA=fA[V],BA=pA.G,wA=pA.H,bA=0,yA=1,vA=0;for(G=0;5>G;++G){cA=Wr[G],BA[G]=gA,wA[G]=z,!G&&0<J&&(cA+=1<<J);r:{var CA,QA=cA,FA=q,IA=dA,EA=gA,_A=z,SA=0,HA=FA.m,NA=m(HA,1);if(n(IA,0,0,QA),NA){var kA=m(HA,1)+1,PA=m(HA,1),DA=m(HA,0==PA?1:8);IA[DA]=1,2==kA&&(IA[DA=m(HA,8)]=1);var OA=1}else{var TA=i(19),MA=m(HA,4)+4;if(19<MA){FA.a=3;var KA=0;break r}for(CA=0;CA<MA;++CA)TA[Jr[CA]]=m(HA,3);var RA=void 0,jA=void 0,VA=FA,GA=TA,zA=QA,qA=IA,WA=0,XA=VA.m,JA=8,YA=s(128,l);n:for(;u(YA,0,7,GA,19);){if(m(XA,1)){var ZA=2+2*m(XA,3);if((RA=2+m(XA,ZA))>zA)break n}else RA=zA;for(jA=0;jA<zA&&RA--;){F(XA);var $A=YA[0+(127&v(XA))];Q(XA,XA.u+$A.g);var At=$A.value;if(16>At)qA[jA++]=At,0!=At&&(JA=At);else{var tt=16==At,et=At-16,rt=qr[et],nt=m(XA,zr[et])+rt;if(jA+nt>zA)break n;for(var it=tt?JA:0;0<nt--;)qA[jA++]=it}}WA=1;break n}WA||(VA.a=3),OA=WA}(OA=OA&&!HA.h)&&(SA=u(EA,_A,8,IA,QA)),OA&&0!=SA?KA=SA:(FA.a=3,KA=0)}if(0==KA)break e;if(yA&&1==Xr[G]&&(yA=0==gA[z].g),bA+=gA[z].g,z+=KA,3>=G){var st,ot=dA[0];for(st=1;st<cA;++st)dA[st]>ot&&(ot=dA[st]);vA+=ot}}if(pA.nd=yA,pA.Qb=0,yA&&(pA.qb=(BA[3][wA[3]+0].value<<24|BA[1][wA[1]+0].value<<16|BA[2][wA[2]+0].value)>>>0,0==bA&&256>BA[0][wA[0]+0].value&&(pA.Qb=1,pA.qb+=BA[0][wA[0]+0].value<<8)),pA.jc=!pA.Qb&&6>vA,pA.jc){var at,ct=pA;for(at=0;at<Oe;++at){var ut=at,lt=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(lt.g=ht.g+256,lt.value=ht.value):(lt.g=0,lt.value=0,ut>>=mA(ht,8,lt),ut>>=mA(ct.G[1][ct.H[1]+ut],16,lt),ut>>=mA(ct.G[2][ct.H[2]+ut],0,lt),mA(ct.G[3][ct.H[3]+ut],24,lt))}}}$.vc=AA,$.Wb=tA,$.Ya=fA,$.yc=uA,j=1;break t}j=0}if(!(c=j)){o.a=3;break A}if(0<w){if(p.ua=1<<w,!H(p.Wa,w)){o.a=1,c=0;break A}}else p.ua=0;var ft=o,dt=h,gt=d,pt=ft.s,Bt=pt.xc;if(ft.c=dt,ft.i=gt,pt.md=D(dt,Bt),pt.wc=0==Bt?-1:(1<<Bt)-1,r){o.xb=dn;break A}if(null==(B=i(h*d))){o.a=1,c=0;break A}c=(c=UA(o,B,0,h,d,d,null))&&!g.h;break A}return c?(null!=a?a[0]=B:(t(null==B),t(r)),o.$=0,r||LA(p)):LA(p),c}function EA(A,e){var r=A.c*A.i,n=r+e+16*e;return t(A.c<=e),A.V=i(n),null==A.V?(A.Ta=null,A.Ua=0,A.a=1,0):(A.Ta=A.V,A.Ua=A.Ba+r+e,1)}function _A(A,e){var r=A.C,n=e-r,i=A.V,s=A.Ba+A.c*r;for(t(e<=A.l.o);0<n;){var o=16<n?16:n,a=A.l.ma,c=A.l.width,u=c*o,l=a.ca,h=a.tb+c*r,f=A.Ta,d=A.Ua;yA(A,o,i,s),Fr(f,d,l,h,u),QA(a,r,r+o,l,h,c),n-=o,i+=o*A.c,r+=o}t(r==e),A.C=A.Ma=e}function SA(){this.ub=this.yd=this.td=this.Rb=0}function HA(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function NA(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function kA(){this.Yb=function(){var A=[];return function A(t,e,r){for(var n=r[e],i=0;i<n&&(t.push(r.length>e+1?[]:0),!(r.length<e+1));i++)A(t[i],e+1,r)}(A,0,[3,11]),A}()}function PA(){this.jb=i(3),this.Wc=o([4,8],kA),this.Xc=o([4,17],kA)}function DA(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function OA(){this.ld=this.La=this.dd=this.tc=0}function TA(){this.Na=this.la=0}function MA(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function KA(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function RA(){this.uc=this.M=this.Nb=0,this.wa=Array(new OA),this.Y=0,this.ya=Array(new KA),this.aa=0,this.l=new zA}function jA(){this.y=i(16),this.f=i(8),this.ea=i(8)}function VA(){this.cb=this.a=0,this.sc="",this.m=new b,this.Od=new SA,this.Kc=new HA,this.ed=new DA,this.Qa=new NA,this.Ic=this.$c=this.Aa=0,this.D=new RA,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,b),this.ia=0,this.pb=s(4,MA),this.Pa=new PA,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new jA),this.Hd=0,this.rb=Array(new TA),this.sb=0,this.wa=Array(new OA),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new KA),this.L=this.aa=0,this.gd=o([4,2],OA),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function GA(A,t){return 0>A?0:A>t?t:A}function zA(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function qA(){var A=new VA;return null!=A&&(A.a=0,A.sc="OK",A.cb=0,A.Xb=0,en||(en=YA)),A}function WA(A,t,e){return 0==A.a&&(A.a=t,A.sc=e,A.cb=0),0}function XA(A,t,e){return 3<=e&&157==A[t+0]&&1==A[t+1]&&42==A[t+2]}function JA(A,e){if(null==A)return 0;if(A.a=0,A.sc="OK",null==e)return WA(A,2,"null VP8Io passed to VP8GetHeaders()");var r=e.data,i=e.w,s=e.ha;if(4>s)return WA(A,7,"Truncated header.");var o=r[i+0]|r[i+1]<<8|r[i+2]<<16,a=A.Od;if(a.Rb=!(1&o),a.td=o>>1&7,a.yd=o>>4&1,a.ub=o>>5,3<a.td)return WA(A,3,"Incorrect keyframe parameters.");if(!a.yd)return WA(A,4,"Frame not displayable.");i+=3,s-=3;var c=A.Kc;if(a.Rb){if(7>s)return WA(A,7,"cannot parse picture header");if(!XA(r,i,s))return WA(A,3,"Bad code word");c.c=16383&(r[i+4]<<8|r[i+3]),c.Td=r[i+4]>>6,c.i=16383&(r[i+6]<<8|r[i+5]),c.Ud=r[i+6]>>6,i+=7,s-=7,A.za=c.c+15>>4,A.Ub=c.i+15>>4,e.width=c.c,e.height=c.i,e.Da=0,e.j=0,e.v=0,e.va=e.width,e.o=e.height,e.da=0,e.ib=e.width,e.hb=e.height,e.U=e.width,e.T=e.height,n((o=A.Pa).jb,0,255,o.jb.length),t(null!=(o=A.Qa)),o.Cb=0,o.Bb=0,o.Fb=1,n(o.Zb,0,0,o.Zb.length),n(o.Lb,0,0,o.Lb)}if(a.ub>s)return WA(A,7,"bad partition length");d(o=A.m,r,i,a.ub),i+=a.ub,s-=a.ub,a.Rb&&(c.Ld=L(o),c.Kd=L(o)),c=A.Qa;var u,l=A.Pa;if(t(null!=o),t(null!=c),c.Cb=L(o),c.Cb){if(c.Bb=L(o),L(o)){for(c.Fb=L(o),u=0;4>u;++u)c.Zb[u]=L(o)?p(o,7):0;for(u=0;4>u;++u)c.Lb[u]=L(o)?p(o,6):0}if(c.Bb)for(u=0;3>u;++u)l.jb[u]=L(o)?g(o,8):255}else c.Bb=0;if(o.Ka)return WA(A,3,"cannot parse segment header");if((c=A.ed).zd=L(o),c.Tb=g(o,6),c.wb=g(o,3),c.Pc=L(o),c.Pc&&L(o)){for(l=0;4>l;++l)L(o)&&(c.vd[l]=p(o,6));for(l=0;4>l;++l)L(o)&&(c.od[l]=p(o,6))}if(A.L=0==c.Tb?0:c.zd?1:2,o.Ka)return WA(A,3,"cannot parse filter header");var h=s;if(s=u=i,i=u+h,c=h,A.Xb=(1<<g(A.m,2))-1,h<3*(l=A.Xb))r=7;else{for(u+=3*l,c-=3*l,h=0;h<l;++h){var f=r[s+0]|r[s+1]<<8|r[s+2]<<16;f>c&&(f=c),d(A.Jc[+h],r,u,f),u+=f,c-=f,s+=3}d(A.Jc[+l],r,u,c),r=u<i?0:5}if(0!=r)return WA(A,r,"cannot parse partitions");for(r=g(u=A.m,7),s=L(u)?p(u,4):0,i=L(u)?p(u,4):0,c=L(u)?p(u,4):0,l=L(u)?p(u,4):0,u=L(u)?p(u,4):0,h=A.Qa,f=0;4>f;++f){if(h.Cb){var B=h.Zb[f];h.Fb||(B+=r)}else{if(0<f){A.pb[f]=A.pb[0];continue}B=r}var w=A.pb[f];w.Sc[0]=An[GA(B+s,127)],w.Sc[1]=tn[GA(B+0,127)],w.Eb[0]=2*An[GA(B+i,127)],w.Eb[1]=101581*tn[GA(B+c,127)]>>16,8>w.Eb[1]&&(w.Eb[1]=8),w.Qc[0]=An[GA(B+l,117)],w.Qc[1]=tn[GA(B+u,127)],w.lc=B+u}if(!a.Rb)return WA(A,4,"Not a key frame.");for(L(o),a=A.Pa,r=0;4>r;++r){for(s=0;8>s;++s)for(i=0;3>i;++i)for(c=0;11>c;++c)l=I(o,cn[r][s][i][c])?g(o,8):on[r][s][i][c],a.Wc[r][s].Yb[i][c]=l;for(s=0;17>s;++s)a.Xc[r][s]=a.Wc[r][un[s]]}return A.kc=L(o),A.kc&&(A.Bd=g(o,8)),A.cb=1}function YA(A,t,e,r,n,i,s){var o=t[n].Yb[e];for(e=0;16>n;++n){if(!I(A,o[e+0]))return n;for(;!I(A,o[e+1]);)if(o=t[++n].Yb[0],e=0,16==n)return 16;var a=t[n+1].Yb;if(I(A,o[e+2])){var c=A,u=0;if(I(c,(h=o)[(l=e)+3]))if(I(c,h[l+6])){for(o=0,l=2*(u=I(c,h[l+8]))+(h=I(c,h[l+9+u])),u=0,h=rn[l];h[o];++o)u+=u+I(c,h[o]);u+=3+(8<<l)}else I(c,h[l+7])?(u=7+2*I(c,165),u+=I(c,145)):u=5+I(c,159);else u=I(c,h[l+4])?3+I(c,h[l+5]):2;o=a[2]}else u=1,o=a[1];a=s+nn[n],0>(c=A).b&&U(c);var l,h=c.b,f=(l=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=f,c.Ca|=1,c.I-=(l+1&f)<<h,i[a]=((u^f)-f)*r[(0<n)+0]}return 16}function ZA(A){var t=A.rb[A.sb-1];t.la=0,t.Na=0,n(A.zc,0,0,A.zc.length),A.ja=0}function $A(A,e){if(null==A)return 0;if(null==e)return WA(A,2,"NULL VP8Io parameter in VP8Decode().");if(!A.cb&&!JA(A,e))return 0;if(t(A.cb),null==e.ac||e.ac(e)){e.ob&&(A.L=0);var o=Tn[A.L];if(2==A.L?(A.yb=0,A.zb=0):(A.yb=e.v-o>>4,A.zb=e.j-o>>4,0>A.yb&&(A.yb=0),0>A.zb&&(A.zb=0)),A.Va=e.o+15+o>>4,A.Hb=e.va+15+o>>4,A.Hb>A.za&&(A.Hb=A.za),A.Va>A.Ub&&(A.Va=A.Ub),0<A.L){var a=A.ed;for(o=0;4>o;++o){var c;if(A.Qa.Cb){var u=A.Qa.Lb[o];A.Qa.Fb||(u+=a.Tb)}else u=a.Tb;for(c=0;1>=c;++c){var l=A.gd[o][c],h=u;if(a.Pc&&(h+=a.vd[0],c&&(h+=a.od[0])),0<(h=0>h?0:63<h?63:h)){var f=h;0<a.wb&&(f=4<a.wb?f>>2:f>>1)>9-a.wb&&(f=9-a.wb),1>f&&(f=1),l.dd=f,l.tc=2*h+f,l.ld=40<=h?2:15<=h?1:0}else l.tc=0;l.La=c}}}o=0}else WA(A,6,"Frame setup failed"),o=A.a;if(o=0==o){if(o){A.$c=0,0<A.Aa||(A.Ic=Kn);A:{o=A.Ic,a=4*(f=A.za);var d=32*f,g=f+1,p=0<A.L?f*(0<A.Aa?2:1):0,B=(2==A.Aa?2:1)*f;if((l=a+832+(c=3*(16*o+Tn[A.L])/2*d)+(u=null!=A.Fa&&0<A.Fa.length?A.Kc.c*A.Kc.i:0))!=l)o=0;else{if(l>A.Vb){if(A.Vb=0,A.Ec=i(l),A.Fc=0,null==A.Ec){o=WA(A,1,"no memory during frame initialization.");break A}A.Vb=l}l=A.Ec,h=A.Fc,A.Ac=l,A.Bc=h,h+=a,A.Gd=s(d,jA),A.Hd=0,A.rb=s(g+1,TA),A.sb=1,A.wa=p?s(p,OA):null,A.Y=0,A.D.Nb=0,A.D.wa=A.wa,A.D.Y=A.Y,0<A.Aa&&(A.D.Y+=f),t(!0),A.oc=l,A.pc=h,h+=832,A.ya=s(B,KA),A.aa=0,A.D.ya=A.ya,A.D.aa=A.aa,2==A.Aa&&(A.D.aa+=f),A.R=16*f,A.B=8*f,f=(d=Tn[A.L])*A.R,d=d/2*A.B,A.sa=l,A.ta=h+f,A.qa=A.sa,A.ra=A.ta+16*o*A.R+d,A.Ha=A.qa,A.Ia=A.ra+8*o*A.B+d,A.$c=0,h+=c,A.mb=u?l:null,A.nb=u?h:null,t(h+u<=A.Fc+A.Vb),ZA(A),n(A.Ac,A.Bc,0,a),o=1}}if(o){if(e.ka=0,e.y=A.sa,e.O=A.ta,e.f=A.qa,e.N=A.ra,e.ea=A.Ha,e.Vd=A.Ia,e.fa=A.R,e.Rc=A.B,e.F=null,e.J=0,!Er){for(o=-255;255>=o;++o)Ur[255+o]=0>o?-o:o;for(o=-1020;1020>=o;++o)Lr[1020+o]=-128>o?-128:127<o?127:o;for(o=-112;112>=o;++o)Ir[112+o]=-16>o?-16:15<o?15:o;for(o=-255;510>=o;++o)xr[255+o]=0>o?0:255<o?255:o;Er=1}nr=ct,ir=it,or=st,ar=ot,cr=at,sr=nt,ur=Wt,lr=Xt,hr=Zt,fr=$t,dr=Jt,gr=Yt,pr=Ae,Br=te,wr=Rt,mr=jt,br=Vt,yr=Gt,hn[0]=Qt,hn[1]=lt,hn[2]=vt,hn[3]=Ct,hn[4]=Ft,hn[5]=Lt,hn[6]=Ut,hn[7]=It,hn[8]=Et,hn[9]=xt,ln[0]=Bt,ln[1]=ft,ln[2]=dt,ln[3]=gt,ln[4]=wt,ln[5]=mt,ln[6]=bt,fn[0]=Nt,fn[1]=ht,fn[2]=_t,fn[3]=St,fn[4]=Pt,fn[5]=kt,fn[6]=Dt,o=1}else o=0}o&&(o=function(A,e){for(A.M=0;A.M<A.Va;++A.M){var s,o=A.Jc[A.M&A.Xb],a=A.m,c=A;for(s=0;s<c.za;++s){var u=a,l=c,h=l.Ac,f=l.Bc+4*s,d=l.zc,g=l.ya[l.aa+s];if(l.Qa.Bb?g.$b=I(u,l.Pa.jb[0])?2+I(u,l.Pa.jb[2]):I(u,l.Pa.jb[1]):g.$b=0,l.kc&&(g.Ad=I(u,l.Bd)),g.Za=!I(u,145)+0,g.Za){var p=g.Ob,B=0;for(l=0;4>l;++l){var w,m=d[0+l];for(w=0;4>w;++w){m=an[h[f+w]][m];for(var b=sn[I(u,m[0])];0<b;)b=sn[2*b+I(u,m[b])];m=-b,h[f+w]=m}r(p,B,h,f,4),B+=4,d[0+l]=m}}else m=I(u,156)?I(u,128)?1:3:I(u,163)?2:0,g.Ob[0]=m,n(h,f,m,4),n(d,0,m,4);g.Dd=I(u,142)?I(u,114)?I(u,183)?1:3:2:0}if(c.m.Ka)return WA(A,7,"Premature end-of-partition0 encountered.");for(;A.ja<A.za;++A.ja){if(c=o,u=(a=A).rb[a.sb-1],h=a.rb[a.sb+a.ja],s=a.ya[a.aa+a.ja],f=a.kc?s.Ad:0)u.la=h.la=0,s.Za||(u.Na=h.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var y,v;if(u=h,h=c,f=a.Pa.Xc,d=a.ya[a.aa+a.ja],g=a.pb[d.$b],l=d.ad,p=0,B=a.rb[a.sb-1],m=w=0,n(l,p,0,384),d.Za)var C=0,Q=f[3];else{b=i(16);var F=u.Na+B.Na;if(F=en(h,f[1],F,g.Eb,0,b,0),u.Na=B.Na=(0<F)+0,1<F)nr(b,0,l,p);else{var U=b[0]+3>>3;for(b=0;256>b;b+=16)l[p+b]=U}C=1,Q=f[0]}var L=15&u.la,x=15&B.la;for(b=0;4>b;++b){var E=1&x;for(U=v=0;4>U;++U)L=L>>1|(E=(F=en(h,Q,F=E+(1&L),g.Sc,C,l,p))>C)<<7,v=v<<2|(3<F?3:1<F?2:0!=l[p+0]),p+=16;L>>=4,x=x>>1|E<<7,w=(w<<8|v)>>>0}for(Q=L,C=x>>4,y=0;4>y;y+=2){for(v=0,L=u.la>>4+y,x=B.la>>4+y,b=0;2>b;++b){for(E=1&x,U=0;2>U;++U)F=E+(1&L),L=L>>1|(E=0<(F=en(h,f[2],F,g.Qc,0,l,p)))<<3,v=v<<2|(3<F?3:1<F?2:0!=l[p+0]),p+=16;L>>=2,x=x>>1|E<<5}m|=v<<4*y,Q|=L<<4<<y,C|=(240&x)<<y}u.la=Q,B.la=C,d.Hc=w,d.Gc=m,d.ia=43690&m?0:g.ia,f=!(w|m)}if(0<a.L&&(a.wa[a.Y+a.ja]=a.gd[s.$b][s.Za],a.wa[a.Y+a.ja].La|=!f),c.Ka)return WA(A,7,"Premature end-of-file encountered.")}if(ZA(A),a=e,c=1,s=(o=A).D,u=0<o.L&&o.M>=o.zb&&o.M<=o.Va,0==o.Aa)A:{if(s.M=o.M,s.uc=u,He(o,s),c=1,s=(v=o.D).Nb,u=(m=Tn[o.L])*o.R,h=m/2*o.B,b=16*s*o.R,U=8*s*o.B,f=o.sa,d=o.ta-u+b,g=o.qa,l=o.ra-h+U,p=o.Ha,B=o.Ia-h+U,x=0==(L=v.M),w=L>=o.Va-1,2==o.Aa&&He(o,v),v.uc)for(E=(F=o).D.M,t(F.D.uc),v=F.yb;v<F.Hb;++v){C=v,Q=E;var _=(S=(K=F).D).Nb;y=K.R;var S=S.wa[S.Y+C],H=K.sa,N=K.ta+16*_*y+16*C,k=S.dd,P=S.tc;if(0!=P)if(t(3<=P),1==K.L)0<C&&mr(H,N,y,P+4),S.La&&yr(H,N,y,P),0<Q&&wr(H,N,y,P+4),S.La&&br(H,N,y,P);else{var D=K.B,O=K.qa,T=K.ra+8*_*D+8*C,M=K.Ha,K=K.Ia+8*_*D+8*C;_=S.ld,0<C&&(lr(H,N,y,P+4,k,_),fr(O,T,M,K,D,P+4,k,_)),S.La&&(gr(H,N,y,P,k,_),Br(O,T,M,K,D,P,k,_)),0<Q&&(ur(H,N,y,P+4,k,_),hr(O,T,M,K,D,P+4,k,_)),S.La&&(dr(H,N,y,P,k,_),pr(O,T,M,K,D,P,k,_))}}if(o.ia&&alert("todo:DitherRow"),null!=a.put){if(v=16*L,L=16*(L+1),x?(a.y=o.sa,a.O=o.ta+b,a.f=o.qa,a.N=o.ra+U,a.ea=o.Ha,a.W=o.Ia+U):(v-=m,a.y=f,a.O=d,a.f=g,a.N=l,a.ea=p,a.W=B),w||(L-=m),L>a.o&&(L=a.o),a.F=null,a.J=null,null!=o.Fa&&0<o.Fa.length&&v<L&&(a.J=le(o,a,v,L-v),a.F=o.mb,null==a.F&&0==a.F.length)){c=WA(o,3,"Could not decode alpha data.");break A}v<a.j&&(m=a.j-v,v=a.j,t(!(1&m)),a.O+=o.R*m,a.N+=o.B*(m>>1),a.W+=o.B*(m>>1),null!=a.F&&(a.J+=a.width*m)),v<L&&(a.O+=a.v,a.N+=a.v>>1,a.W+=a.v>>1,null!=a.F&&(a.J+=a.v),a.ka=v-a.j,a.U=a.va-a.v,a.T=L-v,c=a.put(a))}s+1!=o.Ic||w||(r(o.sa,o.ta-u,f,d+16*o.R,u),r(o.qa,o.ra-h,g,l+8*o.B,h),r(o.Ha,o.Ia-h,p,B+8*o.B,h))}if(!c)return WA(A,6,"Output aborted.")}return 1}(A,e)),null!=e.bc&&e.bc(e),o&=1}return o?(A.cb=0,o):0}function At(A,t,e,r,n){n=A[t+e+32*r]+(n>>3),A[t+e+32*r]=-256&n?0>n?0:255:n}function tt(A,t,e,r,n,i){At(A,t,0,e,r+n),At(A,t,1,e,r+i),At(A,t,2,e,r-i),At(A,t,3,e,r-n)}function et(A){return(20091*A>>16)+A}function rt(A,t,e,r){var n,s=0,o=i(16);for(n=0;4>n;++n){var a=A[t+0]+A[t+8],c=A[t+0]-A[t+8],u=(35468*A[t+4]>>16)-et(A[t+12]),l=et(A[t+4])+(35468*A[t+12]>>16);o[s+0]=a+l,o[s+1]=c+u,o[s+2]=c-u,o[s+3]=a-l,s+=4,t++}for(n=s=0;4>n;++n)a=(A=o[s+0]+4)+o[s+8],c=A-o[s+8],u=(35468*o[s+4]>>16)-et(o[s+12]),At(e,r,0,0,a+(l=et(o[s+4])+(35468*o[s+12]>>16))),At(e,r,1,0,c+u),At(e,r,2,0,c-u),At(e,r,3,0,a-l),s++,r+=32}function nt(A,t,e,r){var n=A[t+0]+4,i=35468*A[t+4]>>16,s=et(A[t+4]),o=35468*A[t+1]>>16;tt(e,r,0,n+s,A=et(A[t+1]),o),tt(e,r,1,n+i,A,o),tt(e,r,2,n-i,A,o),tt(e,r,3,n-s,A,o)}function it(A,t,e,r,n){rt(A,t,e,r),n&&rt(A,t+16,e,r+4)}function st(A,t,e,r){ir(A,t+0,e,r,1),ir(A,t+32,e,r+128,1)}function ot(A,t,e,r){var n;for(A=A[t+0]+4,n=0;4>n;++n)for(t=0;4>t;++t)At(e,r,t,n,A)}function at(A,t,e,r){A[t+0]&&ar(A,t+0,e,r),A[t+16]&&ar(A,t+16,e,r+4),A[t+32]&&ar(A,t+32,e,r+128),A[t+48]&&ar(A,t+48,e,r+128+4)}function ct(A,t,e,r){var n,s=i(16);for(n=0;4>n;++n){var o=A[t+0+n]+A[t+12+n],a=A[t+4+n]+A[t+8+n],c=A[t+4+n]-A[t+8+n],u=A[t+0+n]-A[t+12+n];s[0+n]=o+a,s[8+n]=o-a,s[4+n]=u+c,s[12+n]=u-c}for(n=0;4>n;++n)o=(A=s[0+4*n]+3)+s[3+4*n],a=s[1+4*n]+s[2+4*n],c=s[1+4*n]-s[2+4*n],u=A-s[3+4*n],e[r+0]=o+a>>3,e[r+16]=u+c>>3,e[r+32]=o-a>>3,e[r+48]=u-c>>3,r+=64}function ut(A,t,e){var r,n=t-32,i=Hr,s=255-A[n-1];for(r=0;r<e;++r){var o,a=i,c=s+A[t-1];for(o=0;o<e;++o)A[t+o]=a[c+A[n+o]];t+=32}}function lt(A,t){ut(A,t,4)}function ht(A,t){ut(A,t,8)}function ft(A,t){ut(A,t,16)}function dt(A,t){var e;for(e=0;16>e;++e)r(A,t+32*e,A,t-32,16)}function gt(A,t){var e;for(e=16;0<e;--e)n(A,t,A[t-1],16),t+=32}function pt(A,t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,A,16)}function Bt(A,t){var e,r=16;for(e=0;16>e;++e)r+=A[t-1+32*e]+A[t+e-32];pt(r>>5,A,t)}function wt(A,t){var e,r=8;for(e=0;16>e;++e)r+=A[t-1+32*e];pt(r>>4,A,t)}function mt(A,t){var e,r=8;for(e=0;16>e;++e)r+=A[t+e-32];pt(r>>4,A,t)}function bt(A,t){pt(128,A,t)}function yt(A,t,e){return A+2*t+e+2>>2}function vt(A,t){var e,n=t-32;for(n=new Uint8Array([yt(A[n-1],A[n+0],A[n+1]),yt(A[n+0],A[n+1],A[n+2]),yt(A[n+1],A[n+2],A[n+3]),yt(A[n+2],A[n+3],A[n+4])]),e=0;4>e;++e)r(A,t+32*e,n,0,n.length)}function Ct(A,t){var e=A[t-1],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96];x(A,t+0,16843009*yt(A[t-1-32],e,r)),x(A,t+32,16843009*yt(e,r,n)),x(A,t+64,16843009*yt(r,n,i)),x(A,t+96,16843009*yt(n,i,i))}function Qt(A,t){var e,r=4;for(e=0;4>e;++e)r+=A[t+e-32]+A[t-1+32*e];for(r>>=3,e=0;4>e;++e)n(A,t+32*e,r,4)}function Ft(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],c=A[t+3-32];A[t+0+96]=yt(r,n,A[t-1+96]),A[t+1+96]=A[t+0+64]=yt(e,r,n),A[t+2+96]=A[t+1+64]=A[t+0+32]=yt(i,e,r),A[t+3+96]=A[t+2+64]=A[t+1+32]=A[t+0+0]=yt(s,i,e),A[t+3+64]=A[t+2+32]=A[t+1+0]=yt(o,s,i),A[t+3+32]=A[t+2+0]=yt(a,o,s),A[t+3+0]=yt(c,a,o)}function Ut(A,t){var e=A[t+1-32],r=A[t+2-32],n=A[t+3-32],i=A[t+4-32],s=A[t+5-32],o=A[t+6-32],a=A[t+7-32];A[t+0+0]=yt(A[t+0-32],e,r),A[t+1+0]=A[t+0+32]=yt(e,r,n),A[t+2+0]=A[t+1+32]=A[t+0+64]=yt(r,n,i),A[t+3+0]=A[t+2+32]=A[t+1+64]=A[t+0+96]=yt(n,i,s),A[t+3+32]=A[t+2+64]=A[t+1+96]=yt(i,s,o),A[t+3+64]=A[t+2+96]=yt(s,o,a),A[t+3+96]=yt(o,a,a)}function Lt(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],c=A[t+3-32];A[t+0+0]=A[t+1+64]=i+s+1>>1,A[t+1+0]=A[t+2+64]=s+o+1>>1,A[t+2+0]=A[t+3+64]=o+a+1>>1,A[t+3+0]=a+c+1>>1,A[t+0+96]=yt(n,r,e),A[t+0+64]=yt(r,e,i),A[t+0+32]=A[t+1+96]=yt(e,i,s),A[t+1+32]=A[t+2+96]=yt(i,s,o),A[t+2+32]=A[t+3+96]=yt(s,o,a),A[t+3+32]=yt(o,a,c)}function It(A,t){var e=A[t+0-32],r=A[t+1-32],n=A[t+2-32],i=A[t+3-32],s=A[t+4-32],o=A[t+5-32],a=A[t+6-32],c=A[t+7-32];A[t+0+0]=e+r+1>>1,A[t+1+0]=A[t+0+64]=r+n+1>>1,A[t+2+0]=A[t+1+64]=n+i+1>>1,A[t+3+0]=A[t+2+64]=i+s+1>>1,A[t+0+32]=yt(e,r,n),A[t+1+32]=A[t+0+96]=yt(r,n,i),A[t+2+32]=A[t+1+96]=yt(n,i,s),A[t+3+32]=A[t+2+96]=yt(i,s,o),A[t+3+64]=yt(s,o,a),A[t+3+96]=yt(o,a,c)}function xt(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96];A[t+0+0]=e+r+1>>1,A[t+2+0]=A[t+0+32]=r+n+1>>1,A[t+2+32]=A[t+0+64]=n+i+1>>1,A[t+1+0]=yt(e,r,n),A[t+3+0]=A[t+1+32]=yt(r,n,i),A[t+3+32]=A[t+1+64]=yt(n,i,i),A[t+3+64]=A[t+2+64]=A[t+0+96]=A[t+1+96]=A[t+2+96]=A[t+3+96]=i}function Et(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96],s=A[t-1-32],o=A[t+0-32],a=A[t+1-32],c=A[t+2-32];A[t+0+0]=A[t+2+32]=e+s+1>>1,A[t+0+32]=A[t+2+64]=r+e+1>>1,A[t+0+64]=A[t+2+96]=n+r+1>>1,A[t+0+96]=i+n+1>>1,A[t+3+0]=yt(o,a,c),A[t+2+0]=yt(s,o,a),A[t+1+0]=A[t+3+32]=yt(e,s,o),A[t+1+32]=A[t+3+64]=yt(r,e,s),A[t+1+64]=A[t+3+96]=yt(n,r,e),A[t+1+96]=yt(i,n,r)}function _t(A,t){var e;for(e=0;8>e;++e)r(A,t+32*e,A,t-32,8)}function St(A,t){var e;for(e=0;8>e;++e)n(A,t,A[t-1],8),t+=32}function Ht(A,t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,A,8)}function Nt(A,t){var e,r=8;for(e=0;8>e;++e)r+=A[t+e-32]+A[t-1+32*e];Ht(r>>4,A,t)}function kt(A,t){var e,r=4;for(e=0;8>e;++e)r+=A[t+e-32];Ht(r>>3,A,t)}function Pt(A,t){var e,r=4;for(e=0;8>e;++e)r+=A[t-1+32*e];Ht(r>>3,A,t)}function Dt(A,t){Ht(128,A,t)}function Ot(A,t,e){var r=A[t-e],n=A[t+0],i=3*(n-r)+_r[1020+A[t-2*e]-A[t+e]],s=Sr[112+(i+4>>3)];A[t-e]=Hr[255+r+Sr[112+(i+3>>3)]],A[t+0]=Hr[255+n-s]}function Tt(A,t,e,r){var n=A[t+0],i=A[t+e];return Nr[255+A[t-2*e]-A[t-e]]>r||Nr[255+i-n]>r}function Mt(A,t,e,r){return 4*Nr[255+A[t-e]-A[t+0]]+Nr[255+A[t-2*e]-A[t+e]]<=r}function Kt(A,t,e,r,n){var i=A[t-3*e],s=A[t-2*e],o=A[t-e],a=A[t+0],c=A[t+e],u=A[t+2*e],l=A[t+3*e];return 4*Nr[255+o-a]+Nr[255+s-c]>r?0:Nr[255+A[t-4*e]-i]<=n&&Nr[255+i-s]<=n&&Nr[255+s-o]<=n&&Nr[255+l-u]<=n&&Nr[255+u-c]<=n&&Nr[255+c-a]<=n}function Rt(A,t,e,r){var n=2*r+1;for(r=0;16>r;++r)Mt(A,t+r,e,n)&&Ot(A,t+r,e)}function jt(A,t,e,r){var n=2*r+1;for(r=0;16>r;++r)Mt(A,t+r*e,1,n)&&Ot(A,t+r*e,1)}function Vt(A,t,e,r){var n;for(n=3;0<n;--n)Rt(A,t+=4*e,e,r)}function Gt(A,t,e,r){var n;for(n=3;0<n;--n)jt(A,t+=4,e,r)}function zt(A,t,e,r,n,i,s,o){for(i=2*i+1;0<n--;){if(Kt(A,t,e,i,s))if(Tt(A,t,e,o))Ot(A,t,e);else{var a=A,c=t,u=e,l=a[c-2*u],h=a[c-u],f=a[c+0],d=a[c+u],g=a[c+2*u],p=27*(w=_r[1020+3*(f-h)+_r[1020+l-d]])+63>>7,B=18*w+63>>7,w=9*w+63>>7;a[c-3*u]=Hr[255+a[c-3*u]+w],a[c-2*u]=Hr[255+l+B],a[c-u]=Hr[255+h+p],a[c+0]=Hr[255+f-p],a[c+u]=Hr[255+d-B],a[c+2*u]=Hr[255+g-w]}t+=r}}function qt(A,t,e,r,n,i,s,o){for(i=2*i+1;0<n--;){if(Kt(A,t,e,i,s))if(Tt(A,t,e,o))Ot(A,t,e);else{var a=A,c=t,u=e,l=a[c-u],h=a[c+0],f=a[c+u],d=Sr[112+(4+(g=3*(h-l))>>3)],g=Sr[112+(g+3>>3)],p=d+1>>1;a[c-2*u]=Hr[255+a[c-2*u]+p],a[c-u]=Hr[255+l+g],a[c+0]=Hr[255+h-d],a[c+u]=Hr[255+f-p]}t+=r}}function Wt(A,t,e,r,n,i){zt(A,t,e,1,16,r,n,i)}function Xt(A,t,e,r,n,i){zt(A,t,1,e,16,r,n,i)}function Jt(A,t,e,r,n,i){var s;for(s=3;0<s;--s)qt(A,t+=4*e,e,1,16,r,n,i)}function Yt(A,t,e,r,n,i){var s;for(s=3;0<s;--s)qt(A,t+=4,1,e,16,r,n,i)}function Zt(A,t,e,r,n,i,s,o){zt(A,t,n,1,8,i,s,o),zt(e,r,n,1,8,i,s,o)}function $t(A,t,e,r,n,i,s,o){zt(A,t,1,n,8,i,s,o),zt(e,r,1,n,8,i,s,o)}function Ae(A,t,e,r,n,i,s,o){qt(A,t+4*n,n,1,8,i,s,o),qt(e,r+4*n,n,1,8,i,s,o)}function te(A,t,e,r,n,i,s,o){qt(A,t+4,1,n,8,i,s,o),qt(e,r+4,1,n,8,i,s,o)}function ee(){this.ba=new sA,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new aA,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function re(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ne(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ie(){this.ua=0,this.Wa=new k,this.vb=new k,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new l}function se(){this.xb=this.a=0,this.l=new zA,this.ca=new sA,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new y,this.Pb=0,this.wd=new y,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ie,this.ab=0,this.gc=s(4,ne),this.Oc=0}function oe(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new zA,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ae(A,t,e,r,n,i,s){for(A=null==A?0:A[t+0],t=0;t<s;++t)n[i+t]=A+e[r+t]&255,A=n[i+t]}function ce(A,t,e,r,n,i,s){var o;if(null==A)ae(null,null,e,r,n,i,s);else for(o=0;o<s;++o)n[i+o]=A[t+o]+e[r+o]&255}function ue(A,t,e,r,n,i,s){if(null==A)ae(null,null,e,r,n,i,s);else{var o,a=A[t+0],c=a,u=a;for(o=0;o<s;++o)c=u+(a=A[t+o])-c,u=e[r+o]+(-256&c?0>c?0:255:c)&255,c=a,n[i+o]=u}}function le(A,e,n,s){var o=e.width,a=e.o;if(t(null!=A&&null!=e),0>n||0>=s||n+s>a)return null;if(!A.Cc){if(null==A.ga){var c;if(A.ga=new oe,(c=null==A.ga)||(c=e.width*e.o,t(0==A.Gb.length),A.Gb=i(c),A.Uc=0,null==A.Gb?c=0:(A.mb=A.Gb,A.nb=A.Uc,A.rc=null,c=1),c=!c),!c){c=A.ga;var u=A.Fa,l=A.P,h=A.qc,f=A.mb,d=A.nb,g=l+1,p=h-1,w=c.l;if(t(null!=u&&null!=f&&null!=e),pn[0]=null,pn[1]=ae,pn[2]=ce,pn[3]=ue,c.ca=f,c.tb=d,c.c=e.width,c.i=e.height,t(0<c.c&&0<c.i),1>=h)e=0;else if(c.$a=u[l+0]>>0&3,c.Z=u[l+0]>>2&3,c.Lc=u[l+0]>>4&3,l=u[l+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||l)e=0;else if(w.put=fA,w.ac=hA,w.bc=dA,w.ma=c,w.width=e.width,w.height=e.height,w.Da=e.Da,w.v=e.v,w.va=e.va,w.j=e.j,w.o=e.o,c.$a)A:{t(1==c.$a),e=IA();t:for(;;){if(null==e){e=0;break A}if(t(null!=c),c.mc=e,e.c=c.c,e.i=c.i,e.l=c.l,e.l.ma=c,e.l.width=c.c,e.l.height=c.i,e.a=0,B(e.m,u,g,p),!xA(c.c,c.i,1,e,null))break t;if(1==e.ab&&3==e.gc[0].hc&&CA(e.s)?(c.ic=1,u=e.c*e.i,e.Ta=null,e.Ua=0,e.V=i(u),e.Ba=0,null==e.V?(e.a=1,e=0):e=1):(c.ic=0,e=EA(e,c.c)),!e)break t;e=1;break A}c.mc=null,e=0}else e=p>=c.c*c.i;c=!e}if(c)return null;1!=A.ga.Lc?A.Ga=0:s=a-n}t(null!=A.ga),t(n+s<=a);A:{if(e=(u=A.ga).c,a=u.l.o,0==u.$a){if(g=A.rc,p=A.Vc,w=A.Fa,l=A.P+1+n*e,h=A.mb,f=A.nb+n*e,t(l<=A.P+A.qc),0!=u.Z)for(t(null!=pn[u.Z]),c=0;c<s;++c)pn[u.Z](g,p,w,l,h,f,e),g=h,p=f,f+=e,l+=e;else for(c=0;c<s;++c)r(h,f,w,l,e),g=h,p=f,f+=e,l+=e;A.rc=g,A.Vc=p}else{if(t(null!=u.mc),e=n+s,t(null!=(c=u.mc)),t(e<=c.i),c.C>=e)e=1;else if(u.ic||pe(),u.ic){u=c.V,g=c.Ba,p=c.c;var m=c.i,b=(w=1,l=c.$/p,h=c.$%p,f=c.m,d=c.s,c.$),y=p*m,v=p*e,Q=d.wc,U=b<v?bA(d,h,l):null;t(b<=y),t(e<=m),t(CA(d));t:for(;;){for(;!f.h&&b<v;){if(h&Q||(U=bA(d,h,l)),t(null!=U),F(f),256>(m=wA(U.G[0],U.H[0],f)))u[g+b]=m,++b,++h>=p&&(h=0,++l<=e&&!(l%16)&&FA(c,l));else{if(!(280>m)){w=0;break t}m=pA(m-256,f);var L,I=wA(U.G[4],U.H[4],f);if(F(f),!(b>=(I=BA(p,I=pA(I,f)))&&y-b>=m)){w=0;break t}for(L=0;L<m;++L)u[g+b+L]=u[g+b+L-I];for(b+=m,h+=m;h>=p;)h-=p,++l<=e&&!(l%16)&&FA(c,l);b<v&&h&Q&&(U=bA(d,h,l))}t(f.h==C(f))}FA(c,l>e?e:l);break t}!w||f.h&&b<y?(w=0,c.a=f.h?5:3):c.$=b,e=w}else e=UA(c,c.V,c.Ba,c.c,c.i,e,_A);if(!e){s=0;break A}}n+s>=a&&(A.Cc=1),s=1}if(!s)return null;if(A.Cc&&(null!=(s=A.ga)&&(s.mc=null),A.ga=null,0<A.Ga))return alert("todo:WebPDequantizeLevels"),null}return A.nb+n*o}function he(A,t,e,r,n,i){for(;0<n--;){var s,o=A,a=t+(e?1:0),c=A,u=t+(e?0:3);for(s=0;s<r;++s){var l=c[u+4*s];255!=l&&(l*=32897,o[a+4*s+0]=o[a+4*s+0]*l>>23,o[a+4*s+1]=o[a+4*s+1]*l>>23,o[a+4*s+2]=o[a+4*s+2]*l>>23)}t+=i}}function fe(A,t,e,r,n){for(;0<r--;){var i;for(i=0;i<e;++i){var s=A[t+2*i+0],o=15&(c=A[t+2*i+1]),a=4369*o,c=(240&c|c>>4)*a>>16;A[t+2*i+0]=(240&s|s>>4)*a>>16&240|(15&s|s<<4)*a>>16>>4&15,A[t+2*i+1]=240&c|o}t+=n}}function de(A,t,e,r,n,i,s,o){var a,c,u=255;for(c=0;c<n;++c){for(a=0;a<r;++a){var l=A[t+a];i[s+4*a]=l,u&=l}t+=e,s+=o}return 255!=u}function ge(A,t,e,r,n){var i;for(i=0;i<n;++i)e[r+i]=A[t+i]>>8}function pe(){vr=he,Cr=fe,Qr=de,Fr=ge}function Be(e,r,n){A[e]=function(A,e,i,s,o,a,c,u,l,h,f,d,g,p,B,w,m){var b,y=m-1>>1,v=o[a+0]|c[u+0]<<16,C=l[h+0]|f[d+0]<<16;t(null!=A);var Q=3*v+C+131074>>2;for(r(A[e+0],255&Q,Q>>16,g,p),null!=i&&(Q=3*C+v+131074>>2,r(i[s+0],255&Q,Q>>16,B,w)),b=1;b<=y;++b){var F=o[a+b]|c[u+b]<<16,U=l[h+b]|f[d+b]<<16,L=v+F+C+U+524296,I=L+2*(F+C)>>3;Q=I+v>>1,v=(L=L+2*(v+U)>>3)+F>>1,r(A[e+2*b-1],255&Q,Q>>16,g,p+(2*b-1)*n),r(A[e+2*b-0],255&v,v>>16,g,p+(2*b-0)*n),null!=i&&(Q=L+C>>1,v=I+U>>1,r(i[s+2*b-1],255&Q,Q>>16,B,w+(2*b-1)*n),r(i[s+2*b+0],255&v,v>>16,B,w+(2*b+0)*n)),v=F,C=U}1&m||(Q=3*v+C+131074>>2,r(A[e+m-1],255&Q,Q>>16,g,p+(m-1)*n),null!=i&&(Q=3*C+v+131074>>2,r(i[s+m-1],255&Q,Q>>16,B,w+(m-1)*n)))}}function we(){Bn[kr]=wn,Bn[Pr]=bn,Bn[Dr]=mn,Bn[Or]=yn,Bn[Tr]=vn,Bn[Mr]=Cn,Bn[Kr]=Qn,Bn[Rr]=bn,Bn[jr]=yn,Bn[Vr]=vn,Bn[Gr]=Cn}function me(A){return A&~En?0>A?0:255:A>>xn}function be(A,t){return me((19077*A>>8)+(26149*t>>8)-14234)}function ye(A,t,e){return me((19077*A>>8)-(6419*t>>8)-(13320*e>>8)+8708)}function ve(A,t){return me((19077*A>>8)+(33050*t>>8)-17685)}function Ce(A,t,e,r,n){r[n+0]=be(A,e),r[n+1]=ye(A,t,e),r[n+2]=ve(A,t)}function Qe(A,t,e,r,n){r[n+0]=ve(A,t),r[n+1]=ye(A,t,e),r[n+2]=be(A,e)}function Fe(A,t,e,r,n){var i=ye(A,t,e);t=i<<3&224|ve(A,t)>>3,r[n+0]=248&be(A,e)|i>>5,r[n+1]=t}function Ue(A,t,e,r,n){var i=240&ve(A,t)|15;r[n+0]=240&be(A,e)|ye(A,t,e)>>4,r[n+1]=i}function Le(A,t,e,r,n){r[n+0]=255,Ce(A,t,e,r,n+1)}function Ie(A,t,e,r,n){Qe(A,t,e,r,n),r[n+3]=255}function xe(A,t,e,r,n){Ce(A,t,e,r,n),r[n+3]=255}function GA(A,t){return 0>A?0:A>t?t:A}function Ee(t,e,r){A[t]=function(A,t,n,i,s,o,a,c,u){for(var l=c+(-2&u)*r;c!=l;)e(A[t+0],n[i+0],s[o+0],a,c),e(A[t+1],n[i+0],s[o+0],a,c+r),t+=2,++i,++o,c+=2*r;1&u&&e(A[t+0],n[i+0],s[o+0],a,c)}}function _e(A,t,e){return 0==e?0==A?0==t?6:5:0==t?4:0:e}function Se(A,t,e,r,n){switch(A>>>30){case 3:ir(t,e,r,n,0);break;case 2:sr(t,e,r,n);break;case 1:ar(t,e,r,n)}}function He(A,t){var e,i,s=t.M,o=t.Nb,a=A.oc,c=A.pc+40,u=A.oc,l=A.pc+584,h=A.oc,f=A.pc+600;for(e=0;16>e;++e)a[c+32*e-1]=129;for(e=0;8>e;++e)u[l+32*e-1]=129,h[f+32*e-1]=129;for(0<s?a[c-1-32]=u[l-1-32]=h[f-1-32]=129:(n(a,c-32-1,127,21),n(u,l-32-1,127,9),n(h,f-32-1,127,9)),i=0;i<A.za;++i){var d=t.ya[t.aa+i];if(0<i){for(e=-1;16>e;++e)r(a,c+32*e-4,a,c+32*e+12,4);for(e=-1;8>e;++e)r(u,l+32*e-4,u,l+32*e+4,4),r(h,f+32*e-4,h,f+32*e+4,4)}var g=A.Gd,p=A.Hd+i,B=d.ad,w=d.Hc;if(0<s&&(r(a,c-32,g[p].y,0,16),r(u,l-32,g[p].f,0,8),r(h,f-32,g[p].ea,0,8)),d.Za){var m=a,b=c-32+16;for(0<s&&(i>=A.za-1?n(m,b,g[p].y[15],4):r(m,b,g[p+1].y,0,4)),e=0;4>e;e++)m[b+128+e]=m[b+256+e]=m[b+384+e]=m[b+0+e];for(e=0;16>e;++e,w<<=2)m=a,b=c+On[e],hn[d.Ob[e]](m,b),Se(w,B,16*+e,m,b)}else if(m=_e(i,s,d.Ob[0]),ln[m](a,c),0!=w)for(e=0;16>e;++e,w<<=2)Se(w,B,16*+e,a,c+On[e]);for(e=d.Gc,m=_e(i,s,d.Dd),fn[m](u,l),fn[m](h,f),w=B,m=u,b=l,255&(d=e>>0)&&(170&d?or(w,256,m,b):cr(w,256,m,b)),d=h,w=f,255&(e>>=8)&&(170&e?or(B,320,d,w):cr(B,320,d,w)),s<A.Ub-1&&(r(g[p].y,0,a,c+480,16),r(g[p].f,0,u,l+224,8),r(g[p].ea,0,h,f+224,8)),e=8*o*A.B,g=A.sa,p=A.ta+16*i+16*o*A.R,B=A.qa,d=A.ra+8*i+e,w=A.Ha,m=A.Ia+8*i+e,e=0;16>e;++e)r(g,p+e*A.R,a,c+32*e,16);for(e=0;8>e;++e)r(B,d+e*A.B,u,l+32*e,8),r(w,m+e*A.B,h,f+32*e,8)}}function Ne(A,r,n,i,s,o,a,c,u){var l=[0],h=[0],f=0,d=null!=u?u.kd:0,g=null!=u?u:new re;if(null==A||12>n)return 7;g.data=A,g.w=r,g.ha=n,r=[r],n=[n],g.gb=[g.gb];A:{var p=r,w=n,m=g.gb;if(t(null!=A),t(null!=w),t(null!=m),m[0]=0,12<=w[0]&&!e(A,p[0],"RIFF")){if(e(A,p[0]+8,"WEBP")){m=3;break A}var b=S(A,p[0]+4);if(12>b||4294967286<b){m=3;break A}if(d&&b>w[0]-8){m=7;break A}m[0]=b,p[0]+=12,w[0]-=12}m=0}if(0!=m)return m;for(b=0<g.gb[0],n=n[0];;){A:{var v=A;w=r,m=n;var C=l,Q=h,F=p=[0];if((I=f=[f])[0]=0,8>m[0])m=7;else{if(!e(v,w[0],"VP8X")){if(10!=S(v,w[0]+4)){m=3;break A}if(18>m[0]){m=7;break A}var U=S(v,w[0]+8),L=1+_(v,w[0]+12);if(2147483648<=L*(v=1+_(v,w[0]+15))){m=3;break A}null!=F&&(F[0]=U),null!=C&&(C[0]=L),null!=Q&&(Q[0]=v),w[0]+=18,m[0]-=18,I[0]=1}m=0}}if(f=f[0],p=p[0],0!=m)return m;if(w=!!(2&p),!b&&f)return 3;if(null!=o&&(o[0]=!!(16&p)),null!=a&&(a[0]=w),null!=c&&(c[0]=0),a=l[0],p=h[0],f&&w&&null==u){m=0;break}if(4>n){m=7;break}if(b&&f||!b&&!f&&!e(A,r[0],"ALPH")){n=[n],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];A:{U=A,m=r,b=n;var I=g.gb;C=g.na,Q=g.P,F=g.Sa,L=22,t(null!=U),t(null!=b),v=m[0];var x=b[0];for(t(null!=C),t(null!=F),C[0]=null,Q[0]=null,F[0]=0;;){if(m[0]=v,b[0]=x,8>x){m=7;break A}var E=S(U,v+4);if(4294967286<E){m=3;break A}var H=8+E+1&-2;if(L+=H,0<I&&L>I){m=3;break A}if(!e(U,v,"VP8 ")||!e(U,v,"VP8L")){m=0;break A}if(x[0]<H){m=7;break A}e(U,v,"ALPH")||(C[0]=U,Q[0]=v+8,F[0]=E),v+=H,x-=H}}if(n=n[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=m)break}n=[n],g.Ja=[g.Ja],g.xa=[g.xa];A:if(I=A,m=r,b=n,C=g.gb[0],Q=g.Ja,F=g.xa,U=m[0],v=!e(I,U,"VP8 "),L=!e(I,U,"VP8L"),t(null!=I),t(null!=b),t(null!=Q),t(null!=F),8>b[0])m=7;else{if(v||L){if(I=S(I,U+4),12<=C&&I>C-12){m=3;break A}if(d&&I>b[0]-8){m=7;break A}Q[0]=I,m[0]+=8,b[0]-=8,F[0]=L}else F[0]=5<=b[0]&&47==I[U+0]&&!(I[U+4]>>5),Q[0]=b[0];m=0}if(n=n[0],g.Ja=g.Ja[0],g.xa=g.xa[0],r=r[0],0!=m)break;if(4294967286<g.Ja)return 3;if(null==c||w||(c[0]=g.xa?2:1),a=[a],p=[p],g.xa){if(5>n){m=7;break}c=a,d=p,w=o,null==A||5>n?A=0:5<=n&&47==A[r+0]&&!(A[r+4]>>5)?(b=[0],I=[0],C=[0],B(Q=new y,A,r,n),gA(Q,b,I,C)?(null!=c&&(c[0]=b[0]),null!=d&&(d[0]=I[0]),null!=w&&(w[0]=C[0]),A=1):A=0):A=0}else{if(10>n){m=7;break}c=p,null==A||10>n||!XA(A,r+3,n-3)?A=0:(d=A[r+0]|A[r+1]<<8|A[r+2]<<16,w=16383&(A[r+7]<<8|A[r+6]),A=16383&(A[r+9]<<8|A[r+8]),1&d||3<(d>>1&7)||!(d>>4&1)||d>>5>=g.Ja||!w||!A?A=0:(a&&(a[0]=w),c&&(c[0]=A),A=1))}if(!A)return 3;if(a=a[0],p=p[0],f&&(l[0]!=a||h[0]!=p))return 3;null!=u&&(u[0]=g,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-n));break}return 0==m||7==m&&f&&null==u?(null!=o&&(o[0]|=null!=g.na&&0<g.na.length),null!=i&&(i[0]=a),null!=s&&(s[0]=p),0):m}function ke(A,t,e){var r=t.width,n=t.height,i=0,s=0,o=r,a=n;if(t.Da=null!=A&&0<A.Da,t.Da&&(o=A.cd,a=A.bd,i=A.v,s=A.j,11>e||(i&=-2,s&=-2),0>i||0>s||0>=o||0>=a||i+o>r||s+a>n))return 0;if(t.v=i,t.j=s,t.va=i+o,t.o=s+a,t.U=o,t.T=a,t.da=null!=A&&0<A.da,t.da){if(!P(o,a,e=[A.ib],i=[A.hb]))return 0;t.ib=e[0],t.hb=i[0]}return t.ob=null!=A&&A.ob,t.Kb=null==A||!A.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*n/4,t.Kb=0),1}function Pe(A){if(null==A)return 2;if(11>A.S){var t=A.f.RGBA;t.fb+=(A.height-1)*t.A,t.A=-t.A}else t=A.f.kb,A=A.height,t.O+=(A-1)*t.fa,t.fa=-t.fa,t.N+=(A-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(A-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(A-1)*t.lb,t.lb=-t.lb);return 0}function De(A,t,e,r){if(null==r||0>=A||0>=t)return 2;if(null!=e){if(e.Da){var n=e.cd,s=e.bd,o=-2&e.v,a=-2&e.j;if(0>o||0>a||0>=n||0>=s||o+n>A||a+s>t)return 2;A=n,t=s}if(e.da){if(!P(A,t,n=[e.ib],s=[e.hb]))return 2;A=n[0],t=s[0]}}r.width=A,r.height=t;A:{var c=r.width,u=r.height;if(A=r.S,0>=c||0>=u||!(A>=kr&&13>A))A=2;else{if(0>=r.Rd&&null==r.sd){o=s=n=t=0;var l=(a=c*Rn[A])*u;if(11>A||(s=(u+1)/2*(t=(c+1)/2),12==A&&(o=(n=c)*u)),null==(u=i(l+2*s+o))){A=1;break A}r.sd=u,11>A?((c=r.f.RGBA).eb=u,c.fb=0,c.A=a,c.size=l):((c=r.f.kb).y=u,c.O=0,c.fa=a,c.Fd=l,c.f=u,c.N=0+l,c.Ab=t,c.Cd=s,c.ea=u,c.W=0+l+s,c.Db=t,c.Ed=s,12==A&&(c.F=u,c.J=0+l+2*s),c.Tc=o,c.lb=n)}if(t=1,n=r.S,s=r.width,o=r.height,n>=kr&&13>n)if(11>n)A=r.f.RGBA,t&=(a=Math.abs(A.A))*(o-1)+s<=A.size,t&=a>=s*Rn[n],t&=null!=A.eb;else{A=r.f.kb,a=(s+1)/2,l=(o+1)/2,c=Math.abs(A.fa),u=Math.abs(A.Ab);var h=Math.abs(A.Db),f=Math.abs(A.lb),d=f*(o-1)+s;t&=c*(o-1)+s<=A.Fd,t&=u*(l-1)+a<=A.Cd,t=(t&=h*(l-1)+a<=A.Ed)&c>=s&u>=a&h>=a,t&=null!=A.y,t&=null!=A.f,t&=null!=A.ea,12==n&&(t&=f>=s,t&=d<=A.Tc,t&=null!=A.F)}else t=0;A=t?0:2}}return 0!=A||null!=e&&e.fd&&(A=Pe(r)),A}var Oe=64,Te=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Me=24,Ke=32,Re=8,je=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];T("Predictor0","PredictorAdd0"),A.Predictor0=function(){return 4278190080},A.Predictor1=function(A){return A},A.Predictor2=function(A,t,e){return t[e+0]},A.Predictor3=function(A,t,e){return t[e+1]},A.Predictor4=function(A,t,e){return t[e-1]},A.Predictor5=function(A,t,e){return K(K(A,t[e+1]),t[e+0])},A.Predictor6=function(A,t,e){return K(A,t[e-1])},A.Predictor7=function(A,t,e){return K(A,t[e+0])},A.Predictor8=function(A,t,e){return K(t[e-1],t[e+0])},A.Predictor9=function(A,t,e){return K(t[e+0],t[e+1])},A.Predictor10=function(A,t,e){return K(K(A,t[e-1]),K(t[e+0],t[e+1]))},A.Predictor11=function(A,t,e){var r=t[e+0];return 0>=V(r>>24&255,A>>24&255,(t=t[e-1])>>24&255)+V(r>>16&255,A>>16&255,t>>16&255)+V(r>>8&255,A>>8&255,t>>8&255)+V(255&r,255&A,255&t)?r:A},A.Predictor12=function(A,t,e){var r=t[e+0];return(R((A>>24&255)+(r>>24&255)-((t=t[e-1])>>24&255))<<24|R((A>>16&255)+(r>>16&255)-(t>>16&255))<<16|R((A>>8&255)+(r>>8&255)-(t>>8&255))<<8|R((255&A)+(255&r)-(255&t)))>>>0},A.Predictor13=function(A,t,e){var r=t[e-1];return(j((A=K(A,t[e+0]))>>24&255,r>>24&255)<<24|j(A>>16&255,r>>16&255)<<16|j(A>>8&255,r>>8&255)<<8|j(A>>0&255,r>>0&255))>>>0};var Ve=A.PredictorAdd0;A.PredictorAdd1=G,T("Predictor2","PredictorAdd2"),T("Predictor3","PredictorAdd3"),T("Predictor4","PredictorAdd4"),T("Predictor5","PredictorAdd5"),T("Predictor6","PredictorAdd6"),T("Predictor7","PredictorAdd7"),T("Predictor8","PredictorAdd8"),T("Predictor9","PredictorAdd9"),T("Predictor10","PredictorAdd10"),T("Predictor11","PredictorAdd11"),T("Predictor12","PredictorAdd12"),T("Predictor13","PredictorAdd13");var Ge=A.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",(function(A){return A>>8&255}),(function(A){return A})),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(A){return A}),(function(A){return A>>8&255}));var ze,qe=A.ColorIndexInverseTransform,We=A.MapARGB,Xe=A.VP8LColorIndexInverseTransformAlpha,Je=A.MapAlpha,Ye=A.VP8LPredictorsAdd=[];Ye.length=16,(A.VP8LPredictors=[]).length=16,(A.VP8LPredictorsAdd_C=[]).length=16,(A.VP8LPredictors_C=[]).length=16;var Ze,$e,Ar,tr,er,rr,nr,ir,sr,or,ar,cr,ur,lr,hr,fr,dr,gr,pr,Br,wr,mr,br,yr,vr,Cr,Qr,Fr,Ur=i(511),Lr=i(2041),Ir=i(225),xr=i(767),Er=0,_r=Lr,Sr=Ir,Hr=xr,Nr=Ur,kr=0,Pr=1,Dr=2,Or=3,Tr=4,Mr=5,Kr=6,Rr=7,jr=8,Vr=9,Gr=10,zr=[2,3,7],qr=[3,3,11],Wr=[280,256,256,256,40],Xr=[0,1,1,1,0],Jr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Yr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Zr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],$r=8,An=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],tn=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],en=null,rn=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],nn=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],sn=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],on=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],an=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cn=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],un=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ln=[],hn=[],fn=[],dn=1,gn=2,pn=[],Bn=[];Be("UpsampleRgbLinePair",Ce,3),Be("UpsampleBgrLinePair",Qe,3),Be("UpsampleRgbaLinePair",xe,4),Be("UpsampleBgraLinePair",Ie,4),Be("UpsampleArgbLinePair",Le,4),Be("UpsampleRgba4444LinePair",Ue,2),Be("UpsampleRgb565LinePair",Fe,2);var wn=A.UpsampleRgbLinePair,mn=A.UpsampleBgrLinePair,bn=A.UpsampleRgbaLinePair,yn=A.UpsampleBgraLinePair,vn=A.UpsampleArgbLinePair,Cn=A.UpsampleRgba4444LinePair,Qn=A.UpsampleRgb565LinePair,Fn=16,Un=1<<Fn-1,Ln=-227,In=482,xn=6,En=(256<<xn)-1,_n=0,Sn=i(256),Hn=i(256),Nn=i(256),kn=i(256),Pn=i(In-Ln),Dn=i(In-Ln);Ee("YuvToRgbRow",Ce,3),Ee("YuvToBgrRow",Qe,3),Ee("YuvToRgbaRow",xe,4),Ee("YuvToBgraRow",Ie,4),Ee("YuvToArgbRow",Le,4),Ee("YuvToRgba4444Row",Ue,2),Ee("YuvToRgb565Row",Fe,2);var On=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Tn=[0,2,8],Mn=[8,7,6,4,4,2,2,2,1,1,1,1],Kn=1;this.WebPDecodeRGBA=function(A,e,r,n,i){var s=Pr,o=new ee,a=new sA;o.ba=a,a.S=s,a.width=[a.width],a.height=[a.height];var c=a.width,u=a.height,l=new oA;if(null==l||null==A)var h=2;else t(null!=l),h=Ne(A,e,r,l.width,l.height,l.Pd,l.Qd,l.format,null);if(0!=h?c=0:(null!=c&&(c[0]=l.width[0]),null!=u&&(u[0]=l.height[0]),c=1),c){a.width=a.width[0],a.height=a.height[0],null!=n&&(n[0]=a.width),null!=i&&(i[0]=a.height);A:{if(n=new zA,(i=new re).data=A,i.w=e,i.ha=r,i.kd=1,e=[0],t(null!=i),(0==(A=Ne(i.data,i.w,i.ha,null,null,null,e,null,i))||7==A)&&e[0]&&(A=4),0==(e=A)){if(t(null!=o),n.data=i.data,n.w=i.w+i.offset,n.ha=i.ha-i.offset,n.put=fA,n.ac=hA,n.bc=dA,n.ma=o,i.xa){if(null==(A=IA())){o=1;break A}if(function(A,e){var r=[0],n=[0],i=[0];t:for(;;){if(null==A)return 0;if(null==e)return A.a=2,0;if(A.l=e,A.a=0,B(A.m,e.data,e.w,e.ha),!gA(A.m,r,n,i)){A.a=3;break t}if(A.xb=gn,e.width=r[0],e.height=n[0],!xA(r[0],n[0],1,A,null))break t;return 1}return t(0!=A.a),0}(A,n)){if(n=0==(e=De(n.width,n.height,o.Oa,o.ba))){t:{n=A;e:for(;;){if(null==n){n=0;break t}if(t(null!=n.s.yc),t(null!=n.s.Ya),t(0<n.s.Wb),t(null!=(r=n.l)),t(null!=(i=r.ma)),0!=n.xb){if(n.ca=i.ba,n.tb=i.tb,t(null!=n.ca),!ke(i.Oa,r,Or)){n.a=2;break e}if(!EA(n,r.width))break e;if(r.da)break e;if((r.da||rA(n.ca.S))&&pe(),11>n.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=n.ca.f.kb.F&&pe()),n.Pb&&0<n.s.ua&&null==n.s.vb.X&&!H(n.s.vb,n.s.Wa.Xa)){n.a=1;break e}n.xb=0}if(!UA(n,n.V,n.Ba,n.c,n.i,r.o,vA))break e;i.Dc=n.Ma,n=1;break t}t(0!=n.a),n=0}n=!n}n&&(e=A.a)}else e=A.a}else{if(null==(A=new qA)){o=1;break A}if(A.Fa=i.na,A.P=i.P,A.qc=i.Sa,JA(A,n)){if(0==(e=De(n.width,n.height,o.Oa,o.ba))){if(A.Aa=0,r=o.Oa,t(null!=(i=A)),null!=r){if(0<(c=0>(c=r.Md)?0:100<c?255:255*c/100)){for(u=l=0;4>u;++u)12>(h=i.pb[u]).lc&&(h.ia=c*Mn[0>h.lc?0:h.lc]>>3),l|=h.ia;l&&(alert("todo:VP8InitRandom"),i.ia=1)}i.Ga=r.Id,100<i.Ga?i.Ga=100:0>i.Ga&&(i.Ga=0)}$A(A,n)||(e=A.a)}}else e=A.a}0==e&&null!=o.Oa&&o.Oa.fd&&(e=Pe(o.ba))}o=e}s=0!=o?null:11>s?a.f.RGBA.eb:a.f.kb.y}else s=null;return s};var Rn=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(A,t){for(var e="",r=0;r<4;r++)e+=String.fromCharCode(A[t++]);return e}function u(A,t){return(A[t+0]<<0|A[t+1]<<8|A[t+2]<<16)>>>0}function l(A,t){return(A[t+0]<<0|A[t+1]<<8|A[t+2]<<16|A[t+3]<<24)>>>0}new a;var h=[0],f=[0],d=[],g=new a,p=A,B=function(A,t){var e={},r=0,n=!1,i=0,s=0;if(e.frames=[],!
- /** @license
- * Copyright (c) 2017 Dominik Homberger
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- https://webpjs.appspot.com
- WebPRiffParser dominikhlbg@gmail.com
- */
- function(A,t,e,r){for(var n=0;n<r;n++)if(A[t+n]!=e.charCodeAt(n))return!0;return!1}(A,t,"RIFF",4)){var o,a;for(l(A,t+=4),t+=8;t<A.length;){var h=c(A,t),f=l(A,t+=4);t+=4;var d=f+(1&f);switch(h){case"VP8 ":case"VP8L":void 0===e.frames[r]&&(e.frames[r]={}),(B=e.frames[r]).src_off=n?s:t-8,B.src_size=i+f+8,r++,n&&(n=!1,i=0,s=0);break;case"VP8X":(B=e.header={}).feature_flags=A[t];var g=t+4;B.canvas_width=1+u(A,g),g+=3,B.canvas_height=1+u(A,g),g+=3;break;case"ALPH":n=!0,i=d+8,s=t-8;break;case"ANIM":(B=e.header).bgcolor=l(A,t),g=t+4,B.loop_count=(o=A)[(a=g)+0]<<0|o[a+1]<<8,g+=2;break;case"ANMF":var p,B;(B=e.frames[r]={}).offset_x=2*u(A,t),t+=3,B.offset_y=2*u(A,t),t+=3,B.width=1+u(A,t),t+=3,B.height=1+u(A,t),t+=3,B.duration=u(A,t),t+=3,p=A[t++],B.dispose=1&p,B.blend=p>>1&1}"ANMF"!=h&&(t+=d)}return e}}(p,0);B.response=p,B.rgbaoutput=!0,B.dataurl=!1;var w=B.header?B.header:null,m=B.frames?B.frames:null;if(w){w.loop_counter=w.loop_count,h=[w.canvas_height],f=[w.canvas_width];for(var b=0;b<m.length&&0!=m[b].blend;b++);}var y=m[0],v=g.WebPDecodeRGBA(p,y.src_off,y.src_size,f,h);y.rgba=v,y.imgwidth=f[0],y.imgheight=h[0];for(var C=0;C<f[0]*h[0]*4;C++)d[C]=v[C];return this.width=f,this.height=h,this.data=d,this}!function(A){var t=function(){return"function"==typeof i["b"]},e=function(t,e,n,u){var l=4,h=o;switch(u){case A.image_compression.FAST:l=1,h=s;break;case A.image_compression.MEDIUM:l=6,h=a;break;case A.image_compression.SLOW:l=9,h=c}t=r(t,e,n,h);var f=Object(i["b"])(t,{level:l});return A.__addimage__.arrayBufferToBinaryString(f)},r=function(A,t,e,r){for(var n,i,s,o=A.length/t,a=new Uint8Array(A.length+o),c=l(),u=0;u<o;u+=1){if(s=u*t,n=A.subarray(s,s+t),r)a.set(r(n,e,i),s+u);else{for(var f,d=c.length,g=[];f<d;f+=1)g[f]=c[f](n,e,i);var p=h(g.concat());a.set(g[p],s+u)}i=n}return a},n=function(A){var t=Array.apply([],A);return t.unshift(0),t},s=function(A,t){var e,r=[],n=A.length;r[0]=1;for(var i=0;i<n;i+=1)e=A[i-t]||0,r[i+1]=A[i]-e+256&255;return r},o=function(A,t,e){var r,n=[],i=A.length;n[0]=2;for(var s=0;s<i;s+=1)r=e&&e[s]||0,n[s+1]=A[s]-r+256&255;return n},a=function(A,t,e){var r,n,i=[],s=A.length;i[0]=3;for(var o=0;o<s;o+=1)r=A[o-t]||0,n=e&&e[o]||0,i[o+1]=A[o]+256-(r+n>>>1)&255;return i},c=function(A,t,e){var r,n,i,s,o=[],a=A.length;o[0]=4;for(var c=0;c<a;c+=1)r=A[c-t]||0,n=e&&e[c]||0,i=e&&e[c-t]||0,s=u(r,n,i),o[c+1]=A[c]-s+256&255;return o},u=function(A,t,e){if(A===t&&t===e)return A;var r=Math.abs(t-e),n=Math.abs(A-e),i=Math.abs(A+t-e-e);return r<=n&&r<=i?A:n<=i?t:e},l=function(){return[n,s,o,a,c]},h=function(A){var t=A.map((function(A){return A.reduce((function(A,t){return A+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};A.processPNG=function(r,n,i,s){var o,a,c,u,l,h,f,d,g,p,B,w,m,b,y,v=this.decode.FLATE_DECODE,C="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new ZA(r)).imgData,a=c.bits,o=c.colorSpace,l=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){g=(d=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,B=new Uint8Array(g*c.colors),p=new Uint8Array(g);var Q,F=c.pixelBitlength-c.bits;for(b=0,y=0;b<g;b++){for(m=d[b],Q=0;Q<F;)B[y++]=m>>>Q&255,Q+=c.bits;p[b]=m>>>Q&255}}if(16===c.bits){g=(d=new Uint32Array(c.decodePixels().buffer)).length,B=new Uint8Array(g*(32/c.pixelBitlength)*c.colors),p=new Uint8Array(g*(32/c.pixelBitlength)),w=c.colors>1,b=0,y=0;for(var U=0;b<g;)m=d[b++],B[y++]=m>>>0&255,w&&(B[y++]=m>>>16&255,m=d[b++],B[y++]=m>>>0&255),p[U++]=m>>>16&255;a=8}s!==A.image_compression.NONE&&t()?(r=e(B,c.width*c.colors,c.colors,s),f=e(p,c.width,1,s)):(r=B,f=p,v=void 0)}if(3===c.colorType&&(o=this.color_spaces.INDEXED,h=c.palette,c.transparency.indexed)){var L=c.transparency.indexed,I=0;for(b=0,g=L.length;b<g;++b)I+=L[b];if((I/=255)===g-1&&-1!==L.indexOf(0))u=[L.indexOf(0)];else if(I!==g){for(d=c.decodePixels(),p=new Uint8Array(d.length),b=0,g=d.length;b<g;b++)p[b]=L[d[b]];f=e(p,c.width,1)}}var x=function(t){var e;switch(t){case A.image_compression.FAST:e=11;break;case A.image_compression.MEDIUM:e=13;break;case A.image_compression.SLOW:e=14;break;default:e=12}return e}(s);return v===this.decode.FLATE_DECODE&&(C="/Predictor "+x+" "),C+="/Colors "+l+" /BitsPerComponent "+a+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:i,data:r,index:n,filter:v,decodeParameters:C,transparency:u,palette:h,sMask:f,predictor:x,width:c.width,height:c.height,bitsPerComponent:a,colorSpace:o}}}}(T.API),function(A){A.processGIF89A=function(t,e,r,n){var i=new $A(t),s=i.width,o=i.height,a=[];i.decodeAndBlitFrameRGBA(0,a);var c={data:a,width:s,height:o},u=new tt(100).encode(c,100);return A.processJPEG.call(this,u,e,r,n)},A.processGIF87A=A.processGIF89A}(T.API),et.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var A=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(A);for(var t=0;t<A;t++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},et.prototype.parseBGR=function(){this.pos=this.offset;try{var A="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[A]()}catch(A){a.log("bit decode error:"+A)}},et.prototype.bit1=function(){var A,t=Math.ceil(this.width/8),e=t%4;for(A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<t;n++)for(var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*n*4,o=0;o<8&&8*n+o<this.width;o++){var a=this.palette[i>>7-o&1];this.data[s+4*o]=a.blue,this.data[s+4*o+1]=a.green,this.data[s+4*o+2]=a.red,this.data[s+4*o+3]=255}0!==e&&(this.pos+=4-e)}},et.prototype.bit4=function(){for(var A=Math.ceil(this.width/2),t=A%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<A;n++){var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*n*4,o=i>>4,a=15&i,c=this.palette[o];if(this.data[s]=c.blue,this.data[s+1]=c.green,this.data[s+2]=c.red,this.data[s+3]=255,2*n+1>=this.width)break;c=this.palette[a],this.data[s+4]=c.blue,this.data[s+4+1]=c.green,this.data[s+4+2]=c.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},et.prototype.bit8=function(){for(var A=this.width%4,t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var s=this.palette[n];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==A&&(this.pos+=4-A)}},et.prototype.bit15=function(){for(var A=this.width%3,t=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,o=(i>>5&t)/t*255|0,a=(i>>10&t)/t*255|0,c=i>>15?255:0,u=r*this.width*4+4*n;this.data[u]=a,this.data[u+1]=o,this.data[u+2]=s,this.data[u+3]=c}this.pos+=A}},et.prototype.bit16=function(){for(var A=this.width%3,t=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&t)/t*255|0,a=(s>>5&e)/e*255|0,c=(s>>11)/t*255|0,u=n*this.width*4+4*i;this.data[u]=c,this.data[u+1]=a,this.data[u+2]=o,this.data[u+3]=255}this.pos+=A}},et.prototype.bit24=function(){for(var A=this.height-1;A>=0;A--){for(var t=this.bottom_up?A:this.height-1-A,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},et.prototype.bit32=function(){for(var A=this.height-1;A>=0;A--)for(var t=this.bottom_up?A:this.height-1-A,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*e;this.data[o]=i,this.data[o+1]=n,this.data[o+2]=r,this.data[o+3]=s}},et.prototype.getData=function(){return this.data},
- /**
- * @license
- * Copyright (c) 2018 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){A.processBMP=function(t,e,r,n){var i=new et(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},c=new tt(100).encode(a,100);return A.processJPEG.call(this,c,e,r,n)}}(T.API),rt.prototype.getData=function(){return this.data},
- /**
- * @license
- * Copyright (c) 2019 Aras Abbasi
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){A.processWEBP=function(t,e,r,n){var i=new rt(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},c=new tt(100).encode(a,100);return A.processJPEG.call(this,c,e,r,n)}}(T.API),T.API.processRGBA=function(A,t,e){for(var r=A.data,n=r.length,i=new Uint8Array(n/4*3),s=new Uint8Array(n/4),o=0,a=0,c=0;c<n;c+=4){var u=r[c],l=r[c+1],h=r[c+2],f=r[c+3];i[o++]=u,i[o++]=l,i[o++]=h,s[a++]=f}var d=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:d,index:t,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:A.width,height:A.height}},T.API.setLanguage=function(A){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[A]&&(this.internal.languageSettings.languageCode=A,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},qA=T.API,WA=qA.getCharWidthsArray=function(A,t){var e,r,i=(t=t||{}).font||this.internal.getFont(),s=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:i.metadata.Unicode.widths,c=a.fof?a.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,l=u.fof?u.fof:1,h=!1!==t.doKerning,f=0,d=A.length,g=0,p=a[0]||c,B=[];for(e=0;e<d;e++)r=A.charCodeAt(e),"function"==typeof i.metadata.widthOfString?B.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/s)||0)/1e3):(f=h&&"object"===n()(u[r])&&!isNaN(parseInt(u[r][g],10))?u[r][g]/l:0,B.push((a[r]||p)/c+f)),g=r;return B},XA=qA.getStringUnitWidth=function(A,t){var e=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),n=t.charSpace||this.internal.getCharSpace();return qA.processArabic&&(A=qA.processArabic(A)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(A,e,n)/e:WA.apply(this,arguments).reduce((function(A,t){return A+t}),0)},JA=function(A,t,e,r){for(var n=[],i=0,s=A.length,o=0;i!==s&&o+t[i]<e;)o+=t[i],i++;n.push(A.slice(0,i));var a=i;for(o=0;i!==s;)o+t[i]>r&&(n.push(A.slice(a,i)),o=0,a=i),o+=t[i],i++;return a!==i&&n.push(A.slice(a,i)),n},YA=function(A,t,e){e||(e={});var r,n,i,s,o,a,c,u=[],l=[u],h=e.textIndent||0,f=0,d=0,g=A.split(" "),p=WA.apply(this,[" ",e])[0];if(a=-1===e.lineIndent?g[0].length+2:e.lineIndent||0){var B=Array(a).join(" "),w=[];g.map((function(A){(A=A.split(/\s*\n/)).length>1?w=w.concat(A.map((function(A,t){return(t&&A.length?"\n":"")+A}))):w.push(A[0])})),g=w,a=XA.apply(this,[B,e])}for(i=0,s=g.length;i<s;i++){var m=0;if(r=g[i],a&&"\n"==r[0]&&(r=r.substr(1),m=1),h+f+(d=(n=WA.apply(this,[r,e])).reduce((function(A,t){return A+t}),0))>t||m){if(d>t){for(o=JA.apply(this,[r,n,t-(h+f),t]),u.push(o.shift()),u=[o.pop()];o.length;)l.push([o.shift()]);d=n.slice(r.length-(u[0]?u[0].length:0)).reduce((function(A,t){return A+t}),0)}else u=[r];l.push(u),h=d+a,f=p}else u.push(r),h+=f+d,f=p}return c=a?function(A,t){return(t?B:"")+A.join(" ")}:function(A){return A.join(" ")},l.map(c)},qA.splitTextToSize=function(A,t,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=function(A){if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var t=this.internal.getFont(A.fontName,A.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(A)?A:String(A).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var o,a,c=[];for(o=0,a=r.length;o<a;o++)c=c.concat(YA.apply(this,[r[o],s,i]));return c},function(A){A.__fontmetrics__=A.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",e={},r={},i=0;i<t.length;i++)e[t[i]]="0123456789abcdef"[i],r["0123456789abcdef"[i]]=t[i];var s=function(A){return"0x"+parseInt(A,10).toString(16)},o=A.__fontmetrics__.compress=function(A){var t,e,i,a,c=["{"];for(var u in A){if(t=A[u],isNaN(parseInt(u,10))?e="'"+u+"'":(u=parseInt(u,10),e=(e=s(u).slice(2)).slice(0,-1)+r[e.slice(-1)]),"number"==typeof t)t<0?(i=s(t).slice(3),a="-"):(i=s(t).slice(2),a=""),i=a+i.slice(0,-1)+r[i.slice(-1)];else{if("object"!==n()(t))throw new Error("Don't know what to do with value type "+n()(t)+".");i=o(t)}c.push(e+i)}return c.push("}"),c.join("")},a=A.__fontmetrics__.uncompress=function(A){if("string"!=typeof A)throw new Error("Invalid argument passed to uncompress.");for(var t,r,n,i,s={},o=1,a=s,c=[],u="",l="",h=A.length-1,f=1;f<h;f+=1)"'"==(i=A[f])?t?(n=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(c.push([a,n]),a={},n=void 0):"}"==i?((r=c.pop())[0][r[1]]=a,n=void 0,a=r[0]):"-"==i?o=-1:void 0===n?e.hasOwnProperty(i)?(u+=e[i],n=parseInt(u,16)*o,o=1,u=""):u+=i:e.hasOwnProperty(i)?(l+=e[i],a[n]=parseInt(l,16)*o,o=1,n=void 0,l=""):l+=i;return s},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},l={Unicode:{"Courier-Oblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":a("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":a("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:a("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":a("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:a("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":a("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":a("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":a("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":a("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};A.events.push(["addFont",function(A){var t=A.font,e=l.Unicode[t.postScriptName];e&&(t.metadata.Unicode={},t.metadata.Unicode.widths=e.widths,t.metadata.Unicode.kerning=e.kerning);var r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(T.API),
- /**
- * @license
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=function(A){for(var t=A.length,e=new Uint8Array(t),r=0;r<t;r++)e[r]=A.charCodeAt(r);return e};A.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if("string"!=typeof(r=!1===i.existsFileInVFS(n.postScriptName)?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");!function(e,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(h(r)),e.metadata=A.API.TTFFont.open(r),e.metadata.Unicode=e.metadata.Unicode||{encoding:{},kerning:{},widths:[]},e.metadata.glyIdsUsed=[0]}(n,r)}}])}(T),
- /** @license
- * Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */
- function(A){function t(){return(s.canvg?Promise.resolve(s.canvg):e.e("chunk-7648b79e").then(e.bind(null,"0d73"))).catch((function(A){return Promise.reject(new Error("Could not load canvg: "+A))})).then((function(A){return A.default?A.default:A}))}T.API.addSvgAsImage=function(A,e,r,n,i,s,o,c){if(isNaN(e)||isNaN(r))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(n)||isNaN(i))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=n,u.height=i;var l=u.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return t().then((function(t){return t.fromString(l,A,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(A){return A.render(h)})).then((function(){f.addImage(u.toDataURL("image/jpeg",1),e,r,n,i,o,c)}))}}(),T.API.putTotalPages=function(A){var t,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(A,"g"),e=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(A,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(t,e);return this},T.API.viewerPreferences=function(A,t){var e;A=A||{},t=t||!1;var r,i,s,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(o),c=[],u=0,l=0,h=0;function f(A,t){var e,r=!1;for(e=0;e<A.length;e+=1)A[e]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,"reset"===A||!0===t){var d=a.length;for(h=0;h<d;h+=1)e[a[h]].value=e[a[h]].defaultValue,e[a[h]].explicitSet=!1}if("object"===n()(A))for(i in A)if(s=A[i],f(a,i)&&void 0!==s){if("boolean"===e[i].type&&"boolean"==typeof s)e[i].value=s;else if("name"===e[i].type&&f(e[i].valueSet,s))e[i].value=s;else if("integer"===e[i].type&&Number.isInteger(s))e[i].value=s;else if("array"===e[i].type){for(u=0;u<s.length;u+=1)if(r=!0,1===s[u].length&&"number"==typeof s[u][0])c.push(String(s[u]-1));else if(s[u].length>1){for(l=0;l<s[u].length;l+=1)"number"!=typeof s[u][l]&&(r=!1);!0===r&&c.push([s[u][0]-1,s[u][1]-1].join(" "))}e[i].value="["+c.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var A,t=[];for(A in e)!0===e[A].explicitSet&&("name"===e[A].type?t.push("/"+A+" /"+e[A].value):t.push("/"+A+" "+e[A].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this
- /** ====================================================================
- * @license
- * jsPDF XMP metadata plugin
- * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- * ====================================================================
- */},function(A){var t=function(){var A='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),e=unescape(encodeURIComponent(A)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),n=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),s=e.length+r.length+n.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+e+r+n+i),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};A.addMetadata=function(A,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:A,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",t)),this}}(T.API),function(A){var t=A.API,e=t.pdfEscape16=function(A,t){for(var e,r=t.metadata.Unicode.widths,n=["","0","00","000","0000"],i=[""],s=0,o=A.length;s<o;++s){if(e=t.metadata.characterToGlyph(A.charCodeAt(s)),t.metadata.glyIdsUsed.push(e),t.metadata.toUnicode[e]=A.charCodeAt(s),-1==r.indexOf(e)&&(r.push(e),r.push([parseInt(t.metadata.widthOfGlyph(e),10)])),"0"==e)return i.join("");e=e.toString(16),i.push(n[4-e.length],e)}return i.join("")},r=function(A){var t,e,r,n,i,s,o;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],s=0,o=(e=Object.keys(A).sort((function(A,t){return A-t}))).length;s<o;s++)t=e[s],r.length>=100&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==A[t]&&null!==A[t]&&"function"==typeof A[t].toString&&(n=("0000"+A[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+n+">"));return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var e=t.font,n=t.out,i=t.newObject,s=t.putStream;if(e.metadata instanceof A.API.TTFFont&&"Identity-H"===e.encoding){for(var o=e.metadata.Unicode.widths,a=e.metadata.subset.encode(e.metadata.glyIdsUsed,1),c="",u=0;u<a.length;u++)c+=String.fromCharCode(a[u]);var l=i();s({data:c,addLength1:!0,objectId:l}),n("endobj");var h=i();s({data:r(e.metadata.toUnicode),addLength1:!0,objectId:h}),n("endobj");var f=i();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+H(e.fontName)),n("/FontFile2 "+l+" 0 R"),n("/FontBBox "+A.API.PDFObject.convert(e.metadata.bbox)),n("/Flags "+e.metadata.flags),n("/StemV "+e.metadata.stemV),n("/ItalicAngle "+e.metadata.italicAngle),n("/Ascent "+e.metadata.ascender),n("/Descent "+e.metadata.decender),n("/CapHeight "+e.metadata.capHeight),n(">>"),n("endobj");var d=i();n("<<"),n("/Type /Font"),n("/BaseFont /"+H(e.fontName)),n("/FontDescriptor "+f+" 0 R"),n("/W "+A.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+e.encoding+")"),n(">>"),n(">>"),n("endobj"),e.objectNumber=i(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+h+" 0 R"),n("/BaseFont /"+H(e.fontName)),n("/Encoding /"+e.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),e.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var e=t.font,n=t.out,i=t.newObject,s=t.putStream;if(e.metadata instanceof A.API.TTFFont&&"WinAnsiEncoding"===e.encoding){for(var o=e.metadata.rawData,a="",c=0;c<o.length;c++)a+=String.fromCharCode(o[c]);var u=i();s({data:a,addLength1:!0,objectId:u}),n("endobj");var l=i();s({data:r(e.metadata.toUnicode),addLength1:!0,objectId:l}),n("endobj");var h=i();n("<<"),n("/Descent "+e.metadata.decender),n("/CapHeight "+e.metadata.capHeight),n("/StemV "+e.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+u+" 0 R"),n("/Flags 96"),n("/FontBBox "+A.API.PDFObject.convert(e.metadata.bbox)),n("/FontName /"+H(e.fontName)),n("/ItalicAngle "+e.metadata.italicAngle),n("/Ascent "+e.metadata.ascender),n(">>"),n("endobj"),e.objectNumber=i();for(var f=0;f<e.metadata.hmtx.widths.length;f++)e.metadata.hmtx.widths[f]=parseInt(e.metadata.hmtx.widths[f]*(1e3/e.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+l+" 0 R/BaseFont/"+H(e.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+e.encoding+" /FirstChar 29 /LastChar 255 /Widths "+A.API.PDFObject.convert(e.metadata.hmtx.widths)+">>"),n("endobj"),e.isAlreadyPutted=!0}}(t)}]);var n=function(A){var t,r=A.text||"",n=A.x,i=A.y,s=A.options||{},o=A.mutex||{},a=o.pdfEscape,c=o.activeFontKey,u=o.fonts,l=c,h="",f=0,d="",g=u[l].encoding;if("Identity-H"!==u[l].encoding)return{text:r,x:n,y:i,options:s,mutex:o};for(d=r,l=c,Array.isArray(r)&&(d=r[0]),f=0;f<d.length;f+=1)u[l].metadata.hasOwnProperty("cmap")&&(t=u[l].metadata.cmap.unicode.codeMap[d[f].charCodeAt(0)]),t||d[f].charCodeAt(0)<256&&u[l].metadata.hasOwnProperty("Unicode")?h+=d[f]:h+="";var p="";return parseInt(l.slice(1))<14||"WinAnsiEncoding"===g?p=a(h,l).split("").map((function(A){return A.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(p=e(h,u[l])),o.isHex=!0,{text:p,x:n,y:i,options:s,mutex:o}};t.events.push(["postProcessText",function(A){var t=A.text||"",e=[],r={text:t,x:A.x,y:A.y,options:A.options,mutex:A.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?e.push([n(Object.assign({},r,{text:t[i][0]})).text,t[i][1],t[i][2]]):e.push(n(Object.assign({},r,{text:t[i]})).text);A.text=e}else A.text=n(Object.assign({},r,{text:t})).text}])}(T),
- /**
- * @license
- * jsPDF virtual FileSystem functionality
- *
- * Licensed under the MIT License.
- * http://opensource.org/licenses/mit-license
- */
- function(A){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};A.existsFileInVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]},A.addFileToVFS=function(A,e){return t.call(this),this.internal.vFS[A]=e,this},A.getFileFromVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]?this.internal.vFS[A]:null}}(T.API),
- /**
- * @license
- * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
- * MIT License
- */
- function(A){A.__bidiEngine__=A.prototype.__bidiEngine__=function(A){var e,r,n,i,s,o,a,c=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],l=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},f={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},d=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),p=!1,B=0;this.__bidiEngine__={};var w=function(A){var t=A.charCodeAt(),e=t>>8,r=f[e];return void 0!==r?c[256*r+(255&t)]:252===e||253===e?"AL":g.test(e)?"L":8===e?"R":"N"},m=function(A){for(var t,e=0;e<A.length;e++){if("L"===(t=w(A.charAt(e))))return!1;if("R"===t)return!0}return!1},b=function(A,t,s,o){var a,c,u,l,h=t[o];switch(h){case"L":case"R":p=!1;break;case"N":case"AN":break;case"EN":p&&(h="AN");break;case"AL":p=!0,h="R";break;case"WS":h="N";break;case"CS":o<1||o+1>=t.length||"EN"!==(a=s[o-1])&&"AN"!==a||"EN"!==(c=t[o+1])&&"AN"!==c?h="N":p&&(c="AN"),h=c===a?c:"N";break;case"ES":h="EN"===(a=o>0?s[o-1]:"B")&&o+1<t.length&&"EN"===t[o+1]?"EN":"N";break;case"ET":if(o>0&&"EN"===s[o-1]){h="EN";break}if(p){h="N";break}for(u=o+1,l=t.length;u<l&&"ET"===t[u];)u++;h=u<l&&"EN"===t[u]?"EN":"N";break;case"NSM":if(n&&!i){for(l=t.length,u=o+1;u<l&&"NSM"===t[u];)u++;if(u<l){var f=A[o],d=f>=1425&&f<=2303||64286===f;if(a=t[u],d&&("R"===a||"AL"===a)){h="R";break}}}h=o<1||"B"===(a=t[o-1])?"N":s[o-1];break;case"B":p=!1,e=!0,h=B;break;case"S":r=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":p=!1;break;case"BN":h="N"}return h},y=function(A,t,e){var r=A.split("");return e&&v(r,e,{hiLevel:B}),r.reverse(),t&&t.reverse(),r.join("")},v=function(A,t,n){var i,s,o,a,c,f=-1,d=A.length,g=0,m=[],y=B?l:u,v=[];for(p=!1,e=!1,r=!1,s=0;s<d;s++)v[s]=w(A[s]);for(o=0;o<d;o++){if(c=g,m[o]=b(A,v,m,o),i=240&(g=y[c][h[m[o]]]),g&=15,t[o]=a=y[g][5],i>0)if(16===i){for(s=f;s<o;s++)t[s]=1;f=-1}else f=-1;if(y[g][6])-1===f&&(f=o);else if(f>-1){for(s=f;s<o;s++)t[s]=a;f=-1}"B"===v[o]&&(t[o]=0),n.hiLevel|=a}r&&function(A,t,e){for(var r=0;r<e;r++)if("S"===A[r]){t[r]=B;for(var n=r-1;n>=0&&"WS"===A[n];n--)t[n]=B}}(v,t,d)},C=function(A,t,r,n,i){if(!(i.hiLevel<A)){if(1===A&&1===B&&!e)return t.reverse(),void(r&&r.reverse());for(var s,o,a,c,u=t.length,l=0;l<u;){if(n[l]>=A){for(a=l+1;a<u&&n[a]>=A;)a++;for(c=l,o=a-1;c<o;c++,o--)s=t[c],t[c]=t[o],t[o]=s,r&&(s=r[c],r[c]=r[o],r[o]=s);l=a}l++}}},Q=function(A,t,e){var r=A.split(""),n={hiLevel:B};return e||(e=[]),v(r,e,n),function(A,t,e){if(0!==e.hiLevel&&a)for(var r,n=0;n<A.length;n++)1===t[n]&&(r=d.indexOf(A[n]))>=0&&(A[n]=d[r+1])}(r,e,n),C(2,r,t,e,n),C(1,r,t,e,n),r.join("")};return this.__bidiEngine__.doBidiReorder=function(A,t,e){if(function(A,t){if(t)for(var e=0;e<A.length;e++)t[e]=e;void 0===i&&(i=m(A)),void 0===o&&(o=m(A))}(A,t),n||!s||o)if(n&&s&&i^o)B=i?1:0,A=y(A,t,e);else if(!n&&s&&o)B=i?1:0,A=Q(A,t,e),A=y(A,t);else if(!n||i||s||o){if(n&&!s&&i^o)A=y(A,t),i?(B=0,A=Q(A,t,e)):(B=1,A=Q(A,t,e),A=y(A,t));else if(n&&i&&!s&&o)B=1,A=Q(A,t,e),A=y(A,t);else if(!n&&!s&&i^o){var r=a;i?(B=1,A=Q(A,t,e),B=0,a=!1,A=Q(A,t,e),a=r):(B=0,A=Q(A,t,e),A=y(A,t),B=1,a=!1,A=Q(A,t,e),a=r,A=y(A,t))}}else B=0,A=Q(A,t,e);else B=i?1:0,A=Q(A,t,e);return A},this.__bidiEngine__.setOptions=function(A){A&&(n=A.isInputVisual,s=A.isOutputVisual,i=A.isInputRtl,o=A.isOutputRtl,a=A.isSymmetricSwapping)},this.__bidiEngine__.setOptions(A),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","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","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","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","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new A.__bidiEngine__({isInputVisual:!0});A.API.events.push(["postProcessText",function(A){var t=A.text,r=(A.x,A.y,A.options||{}),n=(A.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,e.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(n=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?n.push([e.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):n.push([e.doBidiReorder(t[i])]);A.text=n}else A.text=e.doBidiReorder(t);e.setOptions({isInputVisual:!0})}])}(T),T.API.TTFFont=function(){function A(A){var t;if(this.rawData=A,t=this.contents=new it(A),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Qt(this),this.registerTTF()}return A.open=function(t){return new A(t)},A.prototype.parse=function(){return this.directory=new st(this.contents),this.head=new ct(this),this.name=new pt(this),this.cmap=new lt(this),this.toUnicode={},this.hhea=new ht(this),this.maxp=new Bt(this),this.hmtx=new wt(this),this.post=new dt(this),this.os2=new ft(this),this.loca=new Ct(this),this.glyf=new bt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},A.prototype.registerTTF=function(){var A,t,e,r,n;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.bbox).length;t<e;t++)A=r[t],n.push(Math.round(A*this.scaleFactor));return n}.call(this),this.stemV=0,this.post.exists?(e=255&(r=this.post.italic_angle),0!=(32768&(t=r>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+e)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(n=this.familyClass)||2===n||3===n||4===n||5===n||7===n,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},A.prototype.characterToGlyph=function(A){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[A]:void 0)||0},A.prototype.widthOfGlyph=function(A){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*t},A.prototype.widthOfString=function(A,t,e){var r,n,i,s;for(i=0,n=0,s=(A=""+A).length;0<=s?n<s:n>s;n=0<=s?++n:--n)r=A.charCodeAt(n),i+=this.widthOfGlyph(this.characterToGlyph(r))+e*(1e3/t)||0;return i*(t/1e3)},A.prototype.lineHeight=function(A,t){var e;return null==t&&(t=!1),e=t?this.lineGap:0,(this.ascender+e-this.decender)/1e3*A},A}();var nt,it=function(){function A(A){this.data=null!=A?A:[],this.pos=0,this.length=this.data.length}return A.prototype.readByte=function(){return this.data[this.pos++]},A.prototype.writeByte=function(A){return this.data[this.pos++]=A},A.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},A.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},A.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},A.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},A.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},A.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},A.prototype.readString=function(A){var t,e;for(e=[],t=0;0<=A?t<A:t>A;t=0<=A?++t:--t)e[t]=String.fromCharCode(this.readByte());return e.join("")},A.prototype.writeString=function(A){var t,e,r;for(r=[],t=0,e=A.length;0<=e?t<e:t>e;t=0<=e?++t:--t)r.push(this.writeByte(A.charCodeAt(t)));return r},A.prototype.readShort=function(){return this.readInt16()},A.prototype.writeShort=function(A){return this.writeInt16(A)},A.prototype.readLongLong=function(){var A,t,e,r,n,i,s,o;return A=this.readByte(),t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),s=this.readByte(),o=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^t)+1099511627776*(255^e)+4294967296*(255^r)+16777216*(255^n)+65536*(255^i)+256*(255^s)+(255^o)+1):72057594037927940*A+281474976710656*t+1099511627776*e+4294967296*r+16777216*n+65536*i+256*s+o},A.prototype.writeLongLong=function(A){var t,e;return t=Math.floor(A/4294967296),e=4294967295&A,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},A.prototype.readInt=function(){return this.readInt32()},A.prototype.writeInt=function(A){return this.writeInt32(A)},A.prototype.read=function(A){var t,e;for(t=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)t.push(this.readByte());return t},A.prototype.write=function(A){var t,e,r,n;for(n=[],e=0,r=A.length;e<r;e++)t=A[e],n.push(this.writeByte(t));return n},A}(),st=function(){var A;function t(A){var t,e,r;for(this.scalarType=A.readInt(),this.tableCount=A.readShort(),this.searchRange=A.readShort(),this.entrySelector=A.readShort(),this.rangeShift=A.readShort(),this.tables={},e=0,r=this.tableCount;0<=r?e<r:e>r;e=0<=r?++e:--e)t={tag:A.readString(4),checksum:A.readInt(),offset:A.readInt(),length:A.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var e,r,n,i,s,o,a,c,u,l,h,f,d;for(d in h=Object.keys(t).length,o=Math.log(2),u=16*Math.floor(Math.log(h)/o),i=Math.floor(u/o),c=16*h-u,(r=new it).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(i),r.writeShort(c),n=16*h,a=r.pos+n,s=null,f=[],t)for(l=t[d],r.writeString(d),r.writeInt(A(l)),r.writeInt(a),r.writeInt(l.length),f=f.concat(l),"head"===d&&(s=a),a+=l.length;a%4;)f.push(0),a++;return r.write(f),e=2981146554-A(r.data),r.pos=s+8,r.writeUInt32(e),r.data},A=function(A){var t,e,r,n;for(A=mt.call(A);A.length%4;)A.push(0);for(r=new it(A),e=0,t=0,n=A.length;t<n;t=t+=4)e+=r.readUInt32();return 4294967295&e},t}(),ot={}.hasOwnProperty,at=function(A,t){for(var e in t)ot.call(t,e)&&(A[e]=t[e]);function r(){this.constructor=A}return r.prototype=t.prototype,A.prototype=new r,A.__super__=t.prototype,A};nt=function(){function A(A){var t;this.file=A,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return A.prototype.parse=function(){},A.prototype.encode=function(){},A.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},A}();var ct=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="head",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},t.prototype.encode=function(A){var t;return(t=new it).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(A),t.writeShort(this.glyphDataFormat),t.data},t}(),ut=function(){function A(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,p,B,w;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=t+A.readInt(),u=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(o=0;o<256;++o)this.codeMap[o]=A.readByte();break;case 4:for(h=A.readUInt16(),l=h/2,A.pos+=6,n=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),A.pos+=2,d=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),a=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),c=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),r=(this.length-A.pos+this.offset)/2,s=function(){var t,e;for(e=[],o=t=0;0<=r?t<r:t>r;o=0<=r?++t:--t)e.push(A.readUInt16());return e}(),o=p=0,w=n.length;p<w;o=++p)for(g=n[o],e=B=f=d[o];f<=g?B<=g:B>=g;e=f<=g?++B:--B)0===c[o]?i=e+a[o]:0!==(i=s[c[o]/2+(e-f)-(l-o)]||0)&&(i+=a[o]),this.codeMap[e]=65535&i}A.pos=u}return A.encode=function(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,p,B,w,m,b,y,v,C,Q,F,U,L,I,x,E,_,S,H,N,k,P,D,O,T,M,K,R,j,V,G,z,q;switch(x=new it,i=Object.keys(A).sort((function(A,t){return A-t})),t){case"macroman":for(d=0,g=function(){var A=[];for(f=0;f<256;++f)A.push(0);return A}(),B={0:0},n={},E=0,N=i.length;E<N;E++)null==B[V=A[r=i[E]]]&&(B[V]=++d),n[r]={old:A[r],new:B[A[r]]},g[r]=B[A[r]];return x.writeUInt16(1),x.writeUInt16(0),x.writeUInt32(12),x.writeUInt16(0),x.writeUInt16(262),x.writeUInt16(0),x.write(g),{charMap:n,subtable:x.data,maxGlyphID:d+1};case"unicode":for(L=[],u=[],w=0,B={},e={},p=a=null,_=0,k=i.length;_<k;_++)null==B[b=A[r=i[_]]]&&(B[b]=++w),e[r]={old:b,new:B[b]},s=B[b]-r,null!=p&&s===a||(p&&u.push(p),L.push(r),a=s),p=r;for(p&&u.push(p),u.push(65535),L.push(65535),F=2*(Q=L.length),C=2*Math.pow(Math.log(Q)/Math.LN2,2),l=Math.log(C/2)/Math.LN2,v=2*Q-C,o=[],y=[],h=[],f=S=0,P=L.length;S<P;f=++S){if(U=L[f],c=u[f],65535===U){o.push(0),y.push(0);break}if(U-(I=e[U].new)>=32768)for(o.push(0),y.push(2*(h.length+Q-f)),r=H=U;U<=c?H<=c:H>=c;r=U<=c?++H:--H)h.push(e[r].new);else o.push(I-U),y.push(0)}for(x.writeUInt16(3),x.writeUInt16(1),x.writeUInt32(12),x.writeUInt16(4),x.writeUInt16(16+8*Q+2*h.length),x.writeUInt16(0),x.writeUInt16(F),x.writeUInt16(C),x.writeUInt16(l),x.writeUInt16(v),R=0,D=u.length;R<D;R++)r=u[R],x.writeUInt16(r);for(x.writeUInt16(0),j=0,O=L.length;j<O;j++)r=L[j],x.writeUInt16(r);for(G=0,T=o.length;G<T;G++)s=o[G],x.writeUInt16(s);for(z=0,M=y.length;z<M;z++)m=y[z],x.writeUInt16(m);for(q=0,K=h.length;q<K;q++)d=h[q],x.writeUInt16(d);return{charMap:e,subtable:x.data,maxGlyphID:w+1}}},A}(),lt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="cmap",t.prototype.parse=function(A){var t,e,r;for(A.pos=this.offset,this.version=A.readUInt16(),r=A.readUInt16(),this.tables=[],this.unicode=null,e=0;0<=r?e<r:e>r;e=0<=r?++e:--e)t=new ut(A,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(A,t){var e,r;return null==t&&(t="macroman"),e=ut.encode(A,t),(r=new it).writeUInt16(0),r.writeUInt16(1),e.table=r.data.concat(e.subtable),e},t}(),ht=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="hhea",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},t}(),ft=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="OS/2",t.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var t,e;for(e=[],t=0;t<10;++t)e.push(A.readByte());return e}(),this.charRange=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(A.readInt());return e}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var t,e;for(e=[],t=0;t<2;t=++t)e.push(A.readInt());return e}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},t}(),dt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="post",t.prototype.parse=function(A){var t,e,r;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:break;case 131072:var n;for(e=A.readUInt16(),this.glyphNameIndex=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],r=[];A.pos<this.offset+this.length;)t=A.readByte(),r.push(this.names.push(A.readString(t)));return r;case 151552:return e=A.readUInt16(),this.offsets=A.read(e);case 196608:break;case 262144:return this.map=function(){var t,e,r;for(r=[],n=t=0,e=this.file.maxp.numGlyphs;0<=e?t<e:t>e;n=0<=e?++t:--t)r.push(A.readUInt32());return r}.call(this)}},t}(),gt=function(A,t){this.raw=A,this.length=A.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},pt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="name",t.prototype.parse=function(A){var t,e,r,n,i,s,o,a,c,u,l;for(A.pos=this.offset,A.readShort(),t=A.readShort(),s=A.readShort(),e=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)e.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+s+A.readShort()});for(o={},n=c=0,u=e.length;c<u;n=++c)r=e[n],A.pos=r.offset,a=A.readString(r.length),i=new gt(a,r),null==o[l=r.nameID]&&(o[l]=[]),o[r.nameID].push(i);this.strings=o,this.copyright=o[0],this.fontFamily=o[1],this.fontSubfamily=o[2],this.uniqueSubfamily=o[3],this.fontName=o[4],this.version=o[5];try{this.postscriptName=o[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(A){this.postscriptName=o[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=o[7],this.manufacturer=o[8],this.designer=o[9],this.description=o[10],this.vendorUrl=o[11],this.designerUrl=o[12],this.license=o[13],this.licenseUrl=o[14],this.preferredFamily=o[15],this.preferredSubfamily=o[17],this.compatibleFull=o[18],this.sampleText=o[19]},t}(),Bt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="maxp",t.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},t}(),wt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="hmtx",t.prototype.parse=function(A){var t,e,r,n,i,s,o;for(A.pos=this.offset,this.metrics=[],t=0,s=this.file.hhea.numberOfMetrics;0<=s?t<s:t>s;t=0<=s?++t:--t)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var e,n;for(n=[],t=e=0;0<=r?e<r:e>r;t=0<=r?++e:--e)n.push(A.readInt16());return n}(),this.widths=function(){var A,t,e,r;for(r=[],A=0,t=(e=this.metrics).length;A<t;A++)n=e[A],r.push(n.advance);return r}.call(this),e=this.widths[this.widths.length-1],o=[],t=i=0;0<=r?i<r:i>r;t=0<=r?++i:--i)o.push(this.widths.push(e));return o},t.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},t}(),mt=[].slice,bt=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(A){var t,e,r,n,i,s,o,a,c,u;return A in this.cache?this.cache[A]:(n=this.file.loca,t=this.file.contents,e=n.indexOf(A),0===(r=n.lengthOf(A))?this.cache[A]=null:(t.pos=this.offset+e,i=(s=new it(t.read(r))).readShort(),a=s.readShort(),u=s.readShort(),o=s.readShort(),c=s.readShort(),this.cache[A]=-1===i?new vt(s,a,u,o,c):new yt(s,i,a,u,o,c),this.cache[A]))},t.prototype.encode=function(A,t,e){var r,n,i,s,o;for(i=[],n=[],s=0,o=t.length;s<o;s++)r=A[t[s]],n.push(i.length),r&&(i=i.concat(r.encode(e)));return n.push(i.length),{table:i,offsets:n}},t}(),yt=function(){function A(A,t,e,r,n,i){this.raw=A,this.numberOfContours=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!1}return A.prototype.encode=function(){return this.raw.data},A}(),vt=function(){function A(A,t,e,r,n){var i,s;for(this.raw=A,this.xMin=t,this.yMin=e,this.xMax=r,this.yMax=n,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;s=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&s;)i.pos+=1&s?4:2,128&s?i.pos+=8:64&s?i.pos+=4:8&s&&(i.pos+=2)}return A.prototype.encode=function(){var A,t,e;for(t=new it(mt.call(this.raw.data)),A=0,e=this.glyphIDs.length;A<e;++A)t.pos=this.glyphOffsets[A];return t.data},A}(),Ct=function(A){function t(){return t.__super__.constructor.apply(this,arguments)}return at(t,nt),t.prototype.tag="loca",t.prototype.parse=function(A){var t,e;return A.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],e=0,t=this.length;e<t;e+=2)r.push(2*A.readUInt16());return r}.call(this):function(){var t,r;for(r=[],e=0,t=this.length;e<t;e+=4)r.push(A.readUInt32());return r}.call(this)},t.prototype.indexOf=function(A){return this.offsets[A]},t.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},t.prototype.encode=function(A,t){for(var e=new Uint32Array(this.offsets.length),r=0,n=0,i=0;i<e.length;++i)if(e[i]=r,n<t.length&&t[n]==i){++n,e[i]=r;var s=this.offsets[i],o=this.offsets[i+1]-s;o>0&&(r+=o)}for(var a=new Array(4*e.length),c=0;c<e.length;++c)a[4*c+3]=255&e[c],a[4*c+2]=(65280&e[c])>>8,a[4*c+1]=(16711680&e[c])>>16,a[4*c]=(4278190080&e[c])>>24;return a},t}(),Qt=function(){function A(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return A.prototype.generateCmap=function(){var A,t,e,r,n;for(t in r=this.font.cmap.tables[0].codeMap,A={},n=this.subset)e=n[t],A[t]=r[e];return A},A.prototype.glyphsFor=function(A){var t,e,r,n,i,s,o;for(r={},i=0,s=A.length;i<s;i++)r[n=A[i]]=this.font.glyf.glyphFor(n);for(n in t=[],r)(null!=(e=r[n])?e.compound:void 0)&&t.push.apply(t,e.glyphIDs);if(t.length>0)for(n in o=this.glyphsFor(t))e=o[n],r[n]=e;return r},A.prototype.encode=function(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,p;for(r in e=lt.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(A),h={0:0},p=e.charMap)h[(o=p[r]).old]=o.new;for(f in l=e.maxGlyphID,i)f in h||(h[f]=l++);return c=function(A){var t,e;for(t in e={},A)e[A[t]]=t;return e}(h),u=Object.keys(c).sort((function(A,t){return A-t})),d=function(){var A,t,e;for(e=[],A=0,t=u.length;A<t;A++)s=u[A],e.push(c[s]);return e}(),n=this.font.glyf.encode(i,d,h),a=this.font.loca.encode(n.offsets,d),g={cmap:this.font.cmap.raw(),glyf:n.table,loca:a,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},A}();T.API.PDFObject=function(){var A;function t(){}return A=function(A,t){return(Array(t+1).join("0")+A).slice(-t)},t.convert=function(e){var r,n,i,s;if(Array.isArray(e))return"["+function(){var A,n,i;for(i=[],A=0,n=e.length;A<n;A++)r=e[A],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof e)return"/"+e;if(null!=e?e.isString:void 0)return"("+e+")";if(e instanceof Date)return"(D:"+A(e.getUTCFullYear(),4)+A(e.getUTCMonth(),2)+A(e.getUTCDate(),2)+A(e.getUTCHours(),2)+A(e.getUTCMinutes(),2)+A(e.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(e)){for(n in i=["<<"],e)s=e[n],i.push("/"+n+" "+t.convert(s));return i.push(">>"),i.join("\n")}return""+e},t}(),t["a"]=T}).call(this,e("c8ba"))},c0e9:function(A,t,e){
- /*!
- * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
- * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
- * Released under MIT License
- */
- (function(t,e){A.exports=e()})(0,(function(){"use strict";
- /*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(A[e]=t[e])},A(t,e)};function t(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,r=arguments.length;e<r;e++)for(var n in t=arguments[e],t)Object.prototype.hasOwnProperty.call(t,n)&&(A[n]=t[n]);return A},e.apply(this,arguments)};function r(A,t,e,r){function n(A){return A instanceof e?A:new e((function(t){t(A)}))}return new(e||(e=Promise))((function(e,i){function s(A){try{a(r.next(A))}catch(Gt){i(Gt)}}function o(A){try{a(r["throw"](A))}catch(Gt){i(Gt)}}function a(A){A.done?e(A.value):n(A.value).then(s,o)}a((r=r.apply(A,t||[])).next())}))}function n(A,t){var e,r,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(A){return function(t){return a([A,t])}}function a(i){if(e)throw new TypeError("Generator is already executing.");while(s)try{if(e=1,r&&(n=2&i[0]?r["return"]:i[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(n=s.trys,!(n=n.length>0&&n[n.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(A,s)}catch(Gt){i=[6,Gt],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function i(A,t,e){if(e||2===arguments.length)for(var r,n=0,i=t.length;n<i;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return A.concat(r||t)}for(var s=function(){function A(A,t,e,r){this.left=A,this.top=t,this.width=e,this.height=r}return A.prototype.add=function(t,e,r,n){return new A(this.left+t,this.top+e,this.width+r,this.height+n)},A.fromClientRect=function(t,e){return new A(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height)},A.fromDOMRectList=function(t,e){var r=Array.from(e).find((function(A){return 0!==A.width}));return r?new A(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),o=function(A,t){return s.fromClientRect(A,t.getBoundingClientRect())},a=function(A){var t=A.body,e=A.documentElement;if(!t||!e)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),n=Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight));return new s(0,0,r,n)},c=function(A){var t=[],e=0,r=A.length;while(e<r){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=A.charCodeAt(e++);56320===(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),e--)}else t.push(n)}return t},u=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";var r=[],n=-1,i="";while(++n<e){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f<l.length;f++)h[l.charCodeAt(f)]=f;for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"===typeof Uint8Array?[]:new Uint8Array(256),p=0;p<d.length;p++)g[d.charCodeAt(p)]=p;for(var B=function(A){var t,e,r,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<o;t+=4)e=g[A.charCodeAt(t)],r=g[A.charCodeAt(t+1)],n=g[A.charCodeAt(t+2)],i=g[A.charCodeAt(t+3)],u[a++]=e<<2|r>>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},w=function(A){for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e},m=function(A){for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e},b=5,y=11,v=2,C=y-b,Q=65536>>b,F=1<<b,U=F-1,L=1024>>b,I=Q+L,x=I,E=32,_=x+E,S=65536>>y,H=1<<C,N=H-1,k=function(A,t,e){return A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e))},P=function(A,t,e){return A.slice?A.slice(t,e):new Uint32Array(Array.prototype.slice.call(A,t,e))},D=function(A,t){var e=B(A),r=Array.isArray(e)?m(e):new Uint32Array(e),n=Array.isArray(e)?w(e):new Uint16Array(e),i=24,s=k(n,i/2,r[4]/2),o=2===r[5]?k(n,(i+r[4])/2):P(r,Math.ceil((i+r[4])/4));return new O(r[0],r[1],r[2],r[3],s,o)},O=function(){function A(A,t,e,r,n,i){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>b],t=(t<<v)+(A&U),this.data[t];if(A<=65535)return t=this.index[Q+(A-55296>>b)],t=(t<<v)+(A&U),this.data[t];if(A<this.highStart)return t=_-S+(A>>y),t=this.index[t],t+=A>>b&N,t=this.index[t],t=(t<<v)+(A&U),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",M="undefined"===typeof Uint8Array?[]:new Uint8Array(256),K=0;K<T.length;K++)M[T.charCodeAt(K)]=K;var R="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",j=50,V=1,G=2,z=3,q=4,W=5,X=7,J=8,Y=9,Z=10,$=11,AA=12,tA=13,eA=14,rA=15,nA=16,iA=17,sA=18,oA=19,aA=20,cA=21,uA=22,lA=23,hA=24,fA=25,dA=26,gA=27,pA=28,BA=29,wA=30,mA=31,bA=32,yA=33,vA=34,CA=35,QA=36,FA=37,UA=38,LA=39,IA=40,xA=41,EA=42,_A=43,SA=[9001,65288],HA="!",NA="×",kA="÷",PA=D(R),DA=[wA,QA],OA=[V,G,z,W],TA=[Z,J],MA=[gA,dA],KA=OA.concat(TA),RA=[UA,LA,IA,vA,CA],jA=[rA,tA],VA=function(A,t){void 0===t&&(t="strict");var e=[],r=[],n=[];return A.forEach((function(A,i){var s=PA.get(A);if(s>j?(n.push(!0),s-=j):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(i),e.push(nA);if(s===q||s===$){if(0===i)return r.push(i),e.push(wA);var o=e[i-1];return-1===KA.indexOf(o)?(r.push(r[i-1]),e.push(o)):(r.push(i),e.push(wA))}return r.push(i),s===mA?e.push("strict"===t?cA:FA):s===EA||s===BA?e.push(wA):s===_A?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(FA):e.push(wA):void e.push(s)})),[r,e,n]},GA=function(A,t,e,r){var n=r[e];if(Array.isArray(A)?-1!==A.indexOf(n):A===n){var i=e;while(i<=r.length){i++;var s=r[i];if(s===t)return!0;if(s!==Z)break}}if(n===Z){i=e;while(i>0){i--;var o=r[i];if(Array.isArray(A)?-1!==A.indexOf(o):A===o){var a=e;while(a<=r.length){a++;s=r[a];if(s===t)return!0;if(s!==Z)break}}if(o!==Z)break}}return!1},zA=function(A,t){var e=A;while(e>=0){var r=t[e];if(r!==Z)return r;e--}return 0},qA=function(A,t,e,r,n){if(0===e[r])return NA;var i=r-1;if(Array.isArray(n)&&!0===n[i])return NA;var s=i-1,o=i+1,a=t[i],c=s>=0?t[s]:0,u=t[o];if(a===G&&u===z)return NA;if(-1!==OA.indexOf(a))return HA;if(-1!==OA.indexOf(u))return NA;if(-1!==TA.indexOf(u))return NA;if(zA(i,t)===J)return kA;if(PA.get(A[i])===$)return NA;if((a===bA||a===yA)&&PA.get(A[o])===$)return NA;if(a===X||u===X)return NA;if(a===Y)return NA;if(-1===[Z,tA,rA].indexOf(a)&&u===Y)return NA;if(-1!==[iA,sA,oA,hA,pA].indexOf(u))return NA;if(zA(i,t)===uA)return NA;if(GA(lA,uA,i,t))return NA;if(GA([iA,sA],cA,i,t))return NA;if(GA(AA,AA,i,t))return NA;if(a===Z)return kA;if(a===lA||u===lA)return NA;if(u===nA||a===nA)return kA;if(-1!==[tA,rA,cA].indexOf(u)||a===eA)return NA;if(c===QA&&-1!==jA.indexOf(a))return NA;if(a===pA&&u===QA)return NA;if(u===aA)return NA;if(-1!==DA.indexOf(u)&&a===fA||-1!==DA.indexOf(a)&&u===fA)return NA;if(a===gA&&-1!==[FA,bA,yA].indexOf(u)||-1!==[FA,bA,yA].indexOf(a)&&u===dA)return NA;if(-1!==DA.indexOf(a)&&-1!==MA.indexOf(u)||-1!==MA.indexOf(a)&&-1!==DA.indexOf(u))return NA;if(-1!==[gA,dA].indexOf(a)&&(u===fA||-1!==[uA,rA].indexOf(u)&&t[o+1]===fA)||-1!==[uA,rA].indexOf(a)&&u===fA||a===fA&&-1!==[fA,pA,hA].indexOf(u))return NA;if(-1!==[fA,pA,hA,iA,sA].indexOf(u)){var l=i;while(l>=0){var h=t[l];if(h===fA)return NA;if(-1===[pA,hA].indexOf(h))break;l--}}if(-1!==[gA,dA].indexOf(u)){l=-1!==[iA,sA].indexOf(a)?s:i;while(l>=0){h=t[l];if(h===fA)return NA;if(-1===[pA,hA].indexOf(h))break;l--}}if(UA===a&&-1!==[UA,LA,vA,CA].indexOf(u)||-1!==[LA,vA].indexOf(a)&&-1!==[LA,IA].indexOf(u)||-1!==[IA,CA].indexOf(a)&&u===IA)return NA;if(-1!==RA.indexOf(a)&&-1!==[aA,dA].indexOf(u)||-1!==RA.indexOf(u)&&a===gA)return NA;if(-1!==DA.indexOf(a)&&-1!==DA.indexOf(u))return NA;if(a===hA&&-1!==DA.indexOf(u))return NA;if(-1!==DA.concat(fA).indexOf(a)&&u===uA&&-1===SA.indexOf(A[o])||-1!==DA.concat(fA).indexOf(u)&&a===sA)return NA;if(a===xA&&u===xA){var f=e[i],d=1;while(f>0){if(f--,t[f]!==xA)break;d++}if(d%2!==0)return NA}return a===bA&&u===yA?NA:kA},WA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=VA(A,t.lineBreak),r=e[0],n=e[1],i=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map((function(A){return-1!==[fA,wA,EA].indexOf(A)?FA:A})));var s="keep-all"===t.wordBreak?i.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[r,n,s]},XA=function(){function A(A,t,e,r){this.codePoints=A,this.required=t===HA,this.start=e,this.end=r}return A.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),JA=function(A,t){var e=c(A),r=WA(e,t),n=r[0],i=r[1],s=r[2],o=e.length,a=0,u=0;return{next:function(){if(u>=o)return{done:!0,value:null};var A=NA;while(u<o&&(A=qA(e,i,n,++u,s))===NA);if(A!==NA||u===o){var t=new XA(e,A,a,u);return a=u,{value:t,done:!1}}return{done:!0,value:null}}}},YA=1,ZA=2,$A=4,At=8,tt=10,et=47,rt=92,nt=9,it=32,st=34,ot=61,at=35,ct=36,ut=37,lt=39,ht=40,ft=41,dt=95,gt=45,pt=33,Bt=60,wt=62,mt=64,bt=91,yt=93,vt=61,Ct=123,Qt=63,Ft=125,Ut=124,Lt=126,It=128,xt=65533,Et=42,_t=43,St=44,Ht=58,Nt=59,kt=46,Pt=0,Dt=8,Ot=11,Tt=14,Mt=31,Kt=127,Rt=-1,jt=48,Vt=97,Gt=101,zt=102,qt=117,Wt=122,Xt=65,Jt=69,Yt=70,Zt=85,$t=90,Ae=function(A){return A>=jt&&A<=57},te=function(A){return A>=55296&&A<=57343},ee=function(A){return Ae(A)||A>=Xt&&A<=Yt||A>=Vt&&A<=zt},re=function(A){return A>=Vt&&A<=Wt},ne=function(A){return A>=Xt&&A<=$t},ie=function(A){return re(A)||ne(A)},se=function(A){return A>=It},oe=function(A){return A===tt||A===nt||A===it},ae=function(A){return ie(A)||se(A)||A===dt},ce=function(A){return ae(A)||Ae(A)||A===gt},ue=function(A){return A>=Pt&&A<=Dt||A===Ot||A>=Tt&&A<=Mt||A===Kt},le=function(A,t){return A===rt&&t!==tt},he=function(A,t,e){return A===gt?ae(t)||le(t,e):!!ae(A)||!(A!==rt||!le(A,t))},fe=function(A,t,e){return A===_t||A===gt?!!Ae(t)||t===kt&&Ae(e):Ae(A===kt?t:A)},de=function(A){var t=0,e=1;A[t]!==_t&&A[t]!==gt||(A[t]===gt&&(e=-1),t++);var r=[];while(Ae(A[t]))r.push(A[t++]);var n=r.length?parseInt(u.apply(void 0,r),10):0;A[t]===kt&&t++;var i=[];while(Ae(A[t]))i.push(A[t++]);var s=i.length,o=s?parseInt(u.apply(void 0,i),10):0;A[t]!==Jt&&A[t]!==Gt||t++;var a=1;A[t]!==_t&&A[t]!==gt||(A[t]===gt&&(a=-1),t++);var c=[];while(Ae(A[t]))c.push(A[t++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return e*(n+o*Math.pow(10,-s))*Math.pow(10,a*l)},ge={type:2},pe={type:3},Be={type:4},we={type:13},me={type:8},be={type:21},ye={type:9},ve={type:10},Ce={type:11},Qe={type:12},Fe={type:14},Ue={type:23},Le={type:1},Ie={type:25},xe={type:24},Ee={type:26},_e={type:27},Se={type:28},He={type:29},Ne={type:31},ke={type:32},Pe=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(c(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==ke)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case st:return this.consumeStringToken(st);case at:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),r=this.peekCodePoint(2);if(ce(t)||le(e,r)){var n=he(t,e,r)?ZA:YA,i=this.consumeName();return{type:5,value:i,flags:n}}break;case ct:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),we;break;case lt:return this.consumeStringToken(lt);case ht:return ge;case ft:return pe;case Et:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),Fe;break;case _t:if(fe(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case St:return Be;case gt:var s=A,o=this.peekCodePoint(0),a=this.peekCodePoint(1);if(fe(s,o,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(he(s,o,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===gt&&a===wt)return this.consumeCodePoint(),this.consumeCodePoint(),xe;break;case kt:if(fe(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case et:if(this.peekCodePoint(0)===Et){this.consumeCodePoint();while(1){var c=this.consumeCodePoint();if(c===Et&&(c=this.consumeCodePoint(),c===et))return this.consumeToken();if(c===Rt)return this.consumeToken()}}break;case Ht:return Ee;case Nt:return _e;case Bt:if(this.peekCodePoint(0)===pt&&this.peekCodePoint(1)===gt&&this.peekCodePoint(2)===gt)return this.consumeCodePoint(),this.consumeCodePoint(),Ie;break;case mt:var l=this.peekCodePoint(0),h=this.peekCodePoint(1),f=this.peekCodePoint(2);if(he(l,h,f)){i=this.consumeName();return{type:7,value:i}}break;case bt:return Se;case rt:if(le(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case yt:return He;case vt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),me;break;case Ct:return Ce;case Ft:return Qe;case qt:case Zt:var d=this.peekCodePoint(0),g=this.peekCodePoint(1);return d!==_t||!ee(g)&&g!==Qt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Ut:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),ye;if(this.peekCodePoint(0)===Ut)return this.consumeCodePoint(),be;break;case Lt:if(this.peekCodePoint(0)===ot)return this.consumeCodePoint(),ve;break;case Rt:return ke}return oe(A)?(this.consumeWhiteSpace(),Ne):Ae(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):ae(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:u(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while(ee(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===Qt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var r=parseInt(u.apply(void 0,A.map((function(A){return A===Qt?jt:A}))),16),n=parseInt(u.apply(void 0,A.map((function(A){return A===Qt?Yt:A}))),16);return{type:30,start:r,end:n}}var i=parseInt(u.apply(void 0,A),16);if(this.peekCodePoint(0)===gt&&ee(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var s=[];while(ee(t)&&s.length<6)s.push(t),t=this.consumeCodePoint();n=parseInt(u.apply(void 0,s),16);return{type:30,start:i,end:n}}return{type:30,start:i,end:i}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===ht?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ht?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===lt||t===st){var e=this.consumeStringToken(this.consumeCodePoint());return 0===e.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===ft)?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),Ue)}while(1){var r=this.consumeCodePoint();if(r===Rt||r===ft)return{type:22,value:u.apply(void 0,A)};if(oe(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Rt||this.peekCodePoint(0)===ft?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Ue);if(r===st||r===lt||r===ht||ue(r))return this.consumeBadUrlRemnants(),Ue;if(r===rt){if(!le(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ue;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){while(oe(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ft||A===Rt)return;le(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=5e4,e="";while(A>0){var r=Math.min(t,A);e+=u.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var r=this._value[e];if(r===Rt||void 0===r||r===A)return t+=this.consumeStringSlice(e),{type:0,value:t};if(r===tt)return this._value.splice(0,e),Le;if(r===rt){var n=this._value[e+1];n!==Rt&&void 0!==n&&(n===tt?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):le(r,n)&&(t+=this.consumeStringSlice(e),t+=u(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=$A,e=this.peekCodePoint(0);e!==_t&&e!==gt||A.push(this.consumeCodePoint());while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(e===kt&&Ae(r)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=At;while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((e===Jt||e===Gt)&&((r===_t||r===gt)&&Ae(n)||Ae(r))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=At;while(Ae(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[de(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(he(r,n,i)){var s=this.consumeName();return{type:15,number:t,flags:e,unit:s}}return r===ut?(this.consumeCodePoint(),{type:16,number:t,flags:e}):{type:17,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(ee(A)){var t=u(A);while(ee(this.peekCodePoint(0))&&t.length<6)t+=u(this.consumeCodePoint());oe(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||te(e)||e>1114111?xt:e}return A===Rt?xt:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if(ce(t))A+=u(t);else{if(!le(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=u(this.consumeEscapedCodePoint())}}},A}(),De=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new Pe;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(31===A.type)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(32===t.type)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(32===e.type||ze(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:18};while(1){var e=this.consumeToken();if(32===e.type||3===e.type)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?ke:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Oe=function(A){return 15===A.type},Te=function(A){return 17===A.type},Me=function(A){return 20===A.type},Ke=function(A){return 0===A.type},Re=function(A,t){return Me(A)&&A.value===t},je=function(A){return 31!==A.type},Ve=function(A){return 31!==A.type&&4!==A.type},Ge=function(A){var t=[],e=[];return A.forEach((function(A){if(4===A.type){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}31!==A.type&&e.push(A)})),e.length&&t.push(e),t},ze=function(A,t){return 11===t&&12===A.type||(28===t&&29===A.type||2===t&&3===A.type)},qe=function(A){return 17===A.type||15===A.type},We=function(A){return 16===A.type||qe(A)},Xe=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Je={type:17,number:0,flags:$A},Ye={type:16,number:50,flags:$A},Ze={type:16,number:100,flags:$A},$e=function(A,t,e){var r=A[0],n=A[1];return[Ar(r,t),Ar("undefined"!==typeof n?n:r,e)]},Ar=function(A,t){if(16===A.type)return A.number/100*t;if(Oe(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},tr="deg",er="grad",rr="rad",nr="turn",ir={name:"angle",parse:function(A,t){if(15===t.type)switch(t.unit){case tr:return Math.PI*t.number/180;case er:return Math.PI/200*t.number;case rr:return t.number;case nr:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},sr=function(A){return 15===A.type&&(A.unit===tr||A.unit===er||A.unit===rr||A.unit===nr)},or=function(A){var t=A.filter(Me).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Je,Je];case"to top":case"bottom":return ar(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Je,Ze];case"to right":case"left":return ar(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ze,Ze];case"to bottom":case"top":return ar(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ze,Je];case"to left":case"right":return ar(270)}return 0},ar=function(A){return Math.PI*A/180},cr={name:"color",parse:function(A,t){if(18===t.type){var e=Br[t.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(A,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return hr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var s=t.value.substring(3,4);return hr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(6===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6);return hr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(8===t.value.length){r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),s=t.value.substring(6,8);return hr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(20===t.type){var o=mr[t.value.toUpperCase()];if("undefined"!==typeof o)return o}return mr.TRANSPARENT}},ur=function(A){return 0===(255&A)},lr=function(A){var t=255&A,e=255&A>>8,r=255&A>>16,n=255&A>>24;return t<255?"rgba("+n+","+r+","+e+","+t/255+")":"rgb("+n+","+r+","+e+")"},hr=function(A,t,e,r){return(A<<24|t<<16|e<<8|Math.round(255*r)<<0)>>>0},fr=function(A,t){if(17===A.type)return A.number;if(16===A.type){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},dr=function(A,t){var e=t.filter(Ve);if(3===e.length){var r=e.map(fr),n=r[0],i=r[1],s=r[2];return hr(n,i,s,1)}if(4===e.length){var o=e.map(fr),a=(n=o[0],i=o[1],s=o[2],o[3]);return hr(n,i,s,a)}return 0};function gr(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var pr=function(A,t){var e=t.filter(Ve),r=e[0],n=e[1],i=e[2],s=e[3],o=(17===r.type?ar(r.number):ir.parse(A,r))/(2*Math.PI),a=We(n)?n.number/100:0,c=We(i)?i.number/100:0,u="undefined"!==typeof s&&We(s)?Ar(s,1):1;if(0===a)return hr(255*c,255*c,255*c,1);var l=c<=.5?c*(a+1):c+a-c*a,h=2*c-l,f=gr(h,l,o+1/3),d=gr(h,l,o),g=gr(h,l,o-1/3);return hr(255*f,255*d,255*g,u)},Br={hsl:pr,hsla:pr,rgb:dr,rgba:dr},wr=function(A,t){return cr.parse(A,De.create(t).parseComponentValue())},mr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},br={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Me(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},yr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},vr=function(A,t){var e=cr.parse(A,t[0]),r=t[1];return r&&We(r)?{color:e,stop:r}:{color:e,stop:null}},Cr=function(A,t){var e=A[0],r=A[A.length-1];null===e.stop&&(e.stop=Je),null===r.stop&&(r.stop=Ze);for(var n=[],i=0,s=0;s<A.length;s++){var o=A[s].stop;if(null!==o){var a=Ar(o,t);a>i?n.push(a):n.push(i),i=a}else n.push(null)}var c=null;for(s=0;s<n.length;s++){var u=n[s];if(null===u)null===c&&(c=s);else if(null!==c){for(var l=s-c,h=n[c-1],f=(u-h)/(l+1),d=1;d<=l;d++)n[c+d-1]=f*d;c=null}}return A.map((function(A,e){var r=A.color;return{color:r,stop:Math.max(Math.min(1,n[e]/t),0)}}))},Qr=function(A,t,e){var r=t/2,n=e/2,i=Ar(A[0],t)-r,s=n-Ar(A[1],e);return(Math.atan2(s,i)+2*Math.PI)%(2*Math.PI)},Fr=function(A,t,e){var r="number"===typeof A?A:Qr(A,t,e),n=Math.abs(t*Math.sin(r))+Math.abs(e*Math.cos(r)),i=t/2,s=e/2,o=n/2,a=Math.sin(r-Math.PI/2)*o,c=Math.cos(r-Math.PI/2)*o;return[n,i-c,i+c,s-a,s+a]},Ur=function(A,t){return Math.sqrt(A*A+t*t)},Lr=function(A,t,e,r,n){var i=[[0,0],[0,t],[A,0],[A,t]];return i.reduce((function(A,t){var i=t[0],s=t[1],o=Ur(e-i,r-s);return(n?o<A.optimumDistance:o>A.optimumDistance)?{optimumCorner:t,optimumDistance:o}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Ir=function(A,t,e,r,n){var i=0,s=0;switch(A.size){case 0:0===A.shape?i=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(0===A.shape)i=s=Math.min(Ur(t,e),Ur(t,e-n),Ur(t-r,e),Ur(t-r,e-n));else if(1===A.shape){var o=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(t),Math.abs(t-r)),a=Lr(r,n,t,e,!0),c=a[0],u=a[1];i=Ur(c-t,(u-e)/o),s=o*i}break;case 1:0===A.shape?i=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(0===A.shape)i=s=Math.max(Ur(t,e),Ur(t,e-n),Ur(t-r,e),Ur(t-r,e-n));else if(1===A.shape){o=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(t),Math.abs(t-r));var l=Lr(r,n,t,e,!1);c=l[0],u=l[1];i=Ur(c-t,(u-e)/o),s=o*i}break}return Array.isArray(A.size)&&(i=Ar(A.size[0],r),s=2===A.size.length?Ar(A.size[1],n):i),[i,s]},xr=function(A,t){var e=ar(180),r=[];return Ge(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&"to"===i.value)return void(e=or(t));if(sr(i))return void(e=ir.parse(A,i))}var s=vr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},Er=function(A,t){var e=ar(180),r=[];return Ge(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(e=or(t));if(sr(i))return void(e=(ir.parse(A,i)+ar(270))%ar(360))}var s=vr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},_r=function(A,t){var e=ar(180),r=[],n=1,i=0,s=3,o=[];return Ge(t).forEach((function(t,e){var i=t[0];if(0===e){if(Me(i)&&"linear"===i.value)return void(n=1);if(Me(i)&&"radial"===i.value)return void(n=2)}if(18===i.type)if("from"===i.name){var s=cr.parse(A,i.values[0]);r.push({stop:Je,color:s})}else if("to"===i.name){s=cr.parse(A,i.values[0]);r.push({stop:Ze,color:s})}else if("color-stop"===i.name){var o=i.values.filter(Ve);if(2===o.length){s=cr.parse(A,o[1]);var a=o[0];Te(a)&&r.push({stop:{type:16,number:100*a.number,flags:a.flags},color:s})}}})),1===n?{angle:(e+ar(180))%ar(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:o,type:n}},Sr="closest-side",Hr="farthest-side",Nr="closest-corner",kr="farthest-corner",Pr="circle",Dr="ellipse",Or="cover",Tr="contain",Mr=function(A,t){var e=0,r=3,n=[],i=[];return Ge(t).forEach((function(t,s){var o=!0;if(0===s){var a=!1;o=t.reduce((function(A,t){if(a)if(Me(t))switch(t.value){case"center":return i.push(Ye),A;case"top":case"left":return i.push(Je),A;case"right":case"bottom":return i.push(Ze),A}else(We(t)||qe(t))&&i.push(t);else if(Me(t))switch(t.value){case Pr:return e=0,!1;case Dr:return e=1,!1;case"at":return a=!0,!1;case Sr:return r=0,!1;case Or:case Hr:return r=1,!1;case Tr:case Nr:return r=2,!1;case kr:return r=3,!1}else if(qe(t)||We(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)}if(o){var c=vr(A,t);n.push(c)}})),{size:r,shape:e,stops:n,position:i,type:2}},Kr=function(A,t){var e=0,r=3,n=[],i=[];return Ge(t).forEach((function(t,s){var o=!0;if(0===s?o=t.reduce((function(A,t){if(Me(t))switch(t.value){case"center":return i.push(Ye),!1;case"top":case"left":return i.push(Je),!1;case"right":case"bottom":return i.push(Ze),!1}else if(We(t)||qe(t))return i.push(t),!1;return A}),o):1===s&&(o=t.reduce((function(A,t){if(Me(t))switch(t.value){case Pr:return e=0,!1;case Dr:return e=1,!1;case Tr:case Sr:return r=0,!1;case Hr:return r=1,!1;case Nr:return r=2,!1;case Or:case kr:return r=3,!1}else if(qe(t)||We(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)),o){var a=vr(A,t);n.push(a)}})),{size:r,shape:e,stops:n,position:i,type:2}},Rr=function(A){return 1===A.type},jr=function(A){return 2===A.type},Vr={name:"image",parse:function(A,t){if(22===t.type){var e={url:t.value,type:0};return A.cache.addImage(t.value),e}if(18===t.type){var r=qr[t.name];if("undefined"===typeof r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(A,t.values)}throw new Error("Unsupported image type "+t.type)}};function Gr(A){return!(20===A.type&&"none"===A.value)&&(18!==A.type||!!qr[A.name])}var zr,qr={"linear-gradient":xr,"-moz-linear-gradient":Er,"-ms-linear-gradient":Er,"-o-linear-gradient":Er,"-webkit-linear-gradient":Er,"radial-gradient":Mr,"-moz-radial-gradient":Kr,"-ms-radial-gradient":Kr,"-o-radial-gradient":Kr,"-webkit-radial-gradient":Kr,"-webkit-gradient":_r},Wr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var e=t[0];return 20===e.type&&"none"===e.value?[]:t.filter((function(A){return Ve(A)&&Gr(A)})).map((function(t){return Vr.parse(A,t)}))}},Xr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Me(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Jr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,t){return Ge(t).map((function(A){return A.filter(We)})).map(Xe)}},Yr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,t){return Ge(t).map((function(A){return A.filter(Me).map((function(A){return A.value})).join(" ")})).map(Zr)}},Zr=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};(function(A){A["AUTO"]="auto",A["CONTAIN"]="contain",A["COVER"]="cover"})(zr||(zr={}));var $r,An={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,t){return Ge(t).map((function(A){return A.filter(tn)}))}},tn=function(A){return Me(A)||We(A)},en=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},rn=en("top"),nn=en("right"),sn=en("bottom"),on=en("left"),an=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Xe(t.filter(We))}}},cn=an("top-left"),un=an("top-right"),ln=an("bottom-right"),hn=an("bottom-left"),fn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},dn=fn("top"),gn=fn("right"),pn=fn("bottom"),Bn=fn("left"),wn=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Oe(t)?t.number:0}}},mn=wn("top"),bn=wn("right"),yn=wn("bottom"),vn=wn("left"),Cn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Qn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}},Fn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,t){return t.filter(Me).reduce((function(A,t){return A|Un(t.value)}),0)}},Un=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ln={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},In={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};(function(A){A["NORMAL"]="normal",A["STRICT"]="strict"})($r||($r={}));var xn,En={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"strict":return $r.STRICT;case"normal":default:return $r.NORMAL}}},_n={name:"line-height",initialValue:"normal",prefix:!1,type:4},Sn=function(A,t){return Me(A)&&"normal"===A.value?1.2*t:17===A.type?t*A.number:We(A)?Ar(A,t):t},Hn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,t){return 20===t.type&&"none"===t.value?null:Vr.parse(A,t)}},Nn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},kn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Pn=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},Dn=Pn("top"),On=Pn("right"),Tn=Pn("bottom"),Mn=Pn("left"),Kn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,t){return t.filter(Me).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}}))}},Rn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},jn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Vn=jn("top"),Gn=jn("right"),zn=jn("bottom"),qn=jn("left"),Wn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Xn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Jn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&Re(t[0],"none")?[]:Ge(t).map((function(t){for(var e={color:mr.TRANSPARENT,offsetX:Je,offsetY:Je,blur:Je},r=0,n=0;n<t.length;n++){var i=t[n];qe(i)?(0===r?e.offsetX=i:1===r?e.offsetY=i:e.blur=i,r++):e.color=cr.parse(A,i)}return e}))}},Yn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Zn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var e=ti[t.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return e(t.values)}return null}},$n=function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===t.length?t:null},Ai=function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number})),e=t[0],r=t[1];t[2],t[3];var n=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],o=t[13];return t[14],t[15],16===t.length?[e,r,n,i,s,o]:null},ti={matrix:$n,matrix3d:Ai},ei={type:16,number:50,flags:$A},ri=[ei,ei],ni={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,t){var e=t.filter(We);return 2!==e.length?ri:[e[0],e[1]]}},ii={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};(function(A){A["NORMAL"]="normal",A["BREAK_ALL"]="break-all",A["KEEP_ALL"]="keep-all"})(xn||(xn={}));for(var si={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-all":return xn.BREAK_ALL;case"keep-all":return xn.KEEP_ALL;case"normal":default:return xn.NORMAL}}},oi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,t){if(20===t.type)return{auto:!0,order:0};if(Te(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},ai={name:"time",parse:function(A,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},ci={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,t){return Te(t)?t.number:1}},ui={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},li={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,t){return t.filter(Me).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},hi={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,t){var e=[],r=[];return t.forEach((function(A){switch(A.type){case 20:case 0:e.push(A.value);break;case 17:e.push(A.number.toString());break;case 4:r.push(e.join(" ")),e.length=0;break}})),e.length&&r.push(e.join(" ")),r.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},fi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},di={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,t){if(Te(t))return t.number;if(Me(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},gi={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return t.filter(Me).map((function(A){return A.value}))}},pi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Bi=function(A,t){return 0!==(A&t)},wi={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var e=t[0];return 20===e.type&&"none"===e.value?[]:t}},mi={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var e=t[0];if(20===e.type&&"none"===e.value)return null;for(var r=[],n=t.filter(je),i=0;i<n.length;i++){var s=n[i],o=n[i+1];if(20===s.type){var a=o&&Te(o)?o.number:1;r.push({counter:s.value,increment:a})}}return r}},bi={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return[];for(var e=[],r=t.filter(je),n=0;n<r.length;n++){var i=r[n],s=r[n+1];if(Me(i)&&"none"!==i.value){var o=s&&Te(s)?s.number:0;e.push({counter:i.value,reset:o})}}return e}},yi={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,t){return t.filter(Oe).map((function(t){return ai.parse(A,t)}))}},vi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var e=t[0];if(20===e.type&&"none"===e.value)return null;var r=[],n=t.filter(Ke);if(n.length%2!==0)return null;for(var i=0;i<n.length;i+=2){var s=n[i].value,o=n[i+1].value;r.push({open:s,close:o})}return r}},Ci=function(A,t,e){if(!A)return"";var r=A[Math.min(t,A.length-1)];return r?e?r.open:r.close:""},Qi={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&Re(t[0],"none")?[]:Ge(t).map((function(t){for(var e={color:255,offsetX:Je,offsetY:Je,blur:Je,spread:Je,inset:!1},r=0,n=0;n<t.length;n++){var i=t[n];Re(i,"inset")?e.inset=!0:qe(i)?(0===r?e.offsetX=i:1===r?e.offsetY=i:2===r?e.blur=i:e.spread=i,r++):e.color=cr.parse(A,i)}return e}))}},Fi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,t){var e=[0,1,2],r=[];return t.filter(Me).forEach((function(A){switch(A.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}})),e.forEach((function(A){-1===r.indexOf(A)&&r.push(A)})),r}},Ui={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Li={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Oe(t)?t.number:0}},Ii=function(){function A(A,t){var e,r;this.animationDuration=_i(A,yi,t.animationDuration),this.backgroundClip=_i(A,br,t.backgroundClip),this.backgroundColor=_i(A,yr,t.backgroundColor),this.backgroundImage=_i(A,Wr,t.backgroundImage),this.backgroundOrigin=_i(A,Xr,t.backgroundOrigin),this.backgroundPosition=_i(A,Jr,t.backgroundPosition),this.backgroundRepeat=_i(A,Yr,t.backgroundRepeat),this.backgroundSize=_i(A,An,t.backgroundSize),this.borderTopColor=_i(A,rn,t.borderTopColor),this.borderRightColor=_i(A,nn,t.borderRightColor),this.borderBottomColor=_i(A,sn,t.borderBottomColor),this.borderLeftColor=_i(A,on,t.borderLeftColor),this.borderTopLeftRadius=_i(A,cn,t.borderTopLeftRadius),this.borderTopRightRadius=_i(A,un,t.borderTopRightRadius),this.borderBottomRightRadius=_i(A,ln,t.borderBottomRightRadius),this.borderBottomLeftRadius=_i(A,hn,t.borderBottomLeftRadius),this.borderTopStyle=_i(A,dn,t.borderTopStyle),this.borderRightStyle=_i(A,gn,t.borderRightStyle),this.borderBottomStyle=_i(A,pn,t.borderBottomStyle),this.borderLeftStyle=_i(A,Bn,t.borderLeftStyle),this.borderTopWidth=_i(A,mn,t.borderTopWidth),this.borderRightWidth=_i(A,bn,t.borderRightWidth),this.borderBottomWidth=_i(A,yn,t.borderBottomWidth),this.borderLeftWidth=_i(A,vn,t.borderLeftWidth),this.boxShadow=_i(A,Qi,t.boxShadow),this.color=_i(A,Cn,t.color),this.direction=_i(A,Qn,t.direction),this.display=_i(A,Fn,t.display),this.float=_i(A,Ln,t.cssFloat),this.fontFamily=_i(A,hi,t.fontFamily),this.fontSize=_i(A,fi,t.fontSize),this.fontStyle=_i(A,pi,t.fontStyle),this.fontVariant=_i(A,gi,t.fontVariant),this.fontWeight=_i(A,di,t.fontWeight),this.letterSpacing=_i(A,In,t.letterSpacing),this.lineBreak=_i(A,En,t.lineBreak),this.lineHeight=_i(A,_n,t.lineHeight),this.listStyleImage=_i(A,Hn,t.listStyleImage),this.listStylePosition=_i(A,Nn,t.listStylePosition),this.listStyleType=_i(A,kn,t.listStyleType),this.marginTop=_i(A,Dn,t.marginTop),this.marginRight=_i(A,On,t.marginRight),this.marginBottom=_i(A,Tn,t.marginBottom),this.marginLeft=_i(A,Mn,t.marginLeft),this.opacity=_i(A,ci,t.opacity);var n=_i(A,Kn,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=_i(A,Rn,t.overflowWrap),this.paddingTop=_i(A,Vn,t.paddingTop),this.paddingRight=_i(A,Gn,t.paddingRight),this.paddingBottom=_i(A,zn,t.paddingBottom),this.paddingLeft=_i(A,qn,t.paddingLeft),this.paintOrder=_i(A,Fi,t.paintOrder),this.position=_i(A,Xn,t.position),this.textAlign=_i(A,Wn,t.textAlign),this.textDecorationColor=_i(A,ui,null!==(e=t.textDecorationColor)&&void 0!==e?e:t.color),this.textDecorationLine=_i(A,li,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=_i(A,Jn,t.textShadow),this.textTransform=_i(A,Yn,t.textTransform),this.transform=_i(A,Zn,t.transform),this.transformOrigin=_i(A,ni,t.transformOrigin),this.visibility=_i(A,ii,t.visibility),this.webkitTextStrokeColor=_i(A,Ui,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=_i(A,Li,t.webkitTextStrokeWidth),this.wordBreak=_i(A,si,t.wordBreak),this.zIndex=_i(A,oi,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return ur(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return Bi(this.display,4)||Bi(this.display,33554432)||Bi(this.display,268435456)||Bi(this.display,536870912)||Bi(this.display,67108864)||Bi(this.display,134217728)},A}(),xi=function(){function A(A,t){this.content=_i(A,wi,t.content),this.quotes=_i(A,vi,t.quotes)}return A}(),Ei=function(){function A(A,t){this.counterIncrement=_i(A,mi,t.counterIncrement),this.counterReset=_i(A,bi,t.counterReset)}return A}(),_i=function(A,t,e){var r=new Pe,n=null!==e&&"undefined"!==typeof e?e.toString():t.initialValue;r.write(n);var i=new De(r.read());switch(t.type){case 2:var s=i.parseComponentValue();return t.parse(A,Me(s)?s.value:t.initialValue);case 0:return t.parse(A,i.parseComponentValue());case 1:return t.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return ir.parse(A,i.parseComponentValue());case"color":return cr.parse(A,i.parseComponentValue());case"image":return Vr.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return qe(o)?o:Je;case"length-percentage":var a=i.parseComponentValue();return We(a)?a:Je;case"time":return ai.parse(A,i.parseComponentValue())}break}},Si="data-html2canvas-debug",Hi=function(A){var t=A.getAttribute(Si);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ni=function(A,t){var e=Hi(A);return 1===e||t===e},ki=function(){function A(A,t){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Ni(t,3),this.styles=new Ii(A,window.getComputedStyle(t,null)),Eo(t)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),Ni(t,4)&&(this.flags|=16)}return A}(),Pi="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Di="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oi="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ti=0;Ti<Di.length;Ti++)Oi[Di.charCodeAt(Ti)]=Ti;for(var Mi=function(A){var t,e,r,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var c="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<o;t+=4)e=Oi[A.charCodeAt(t)],r=Oi[A.charCodeAt(t+1)],n=Oi[A.charCodeAt(t+2)],i=Oi[A.charCodeAt(t+3)],u[a++]=e<<2|r>>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},Ki=function(A){for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e},Ri=function(A){for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e},ji=5,Vi=11,Gi=2,zi=Vi-ji,qi=65536>>ji,Wi=1<<ji,Xi=Wi-1,Ji=1024>>ji,Yi=qi+Ji,Zi=Yi,$i=32,As=Zi+$i,ts=65536>>Vi,es=1<<zi,rs=es-1,ns=function(A,t,e){return A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e))},is=function(A,t,e){return A.slice?A.slice(t,e):new Uint32Array(Array.prototype.slice.call(A,t,e))},ss=function(A,t){var e=Mi(A),r=Array.isArray(e)?Ri(e):new Uint32Array(e),n=Array.isArray(e)?Ki(e):new Uint16Array(e),i=24,s=ns(n,i/2,r[4]/2),o=2===r[5]?ns(n,(i+r[4])/2):is(r,Math.ceil((i+r[4])/4));return new os(r[0],r[1],r[2],r[3],s,o)},os=function(){function A(A,t,e,r,n,i){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>ji],t=(t<<Gi)+(A&Xi),this.data[t];if(A<=65535)return t=this.index[qi+(A-55296>>ji)],t=(t<<Gi)+(A&Xi),this.data[t];if(A<this.highStart)return t=As-ts+(A>>Vi),t=this.index[t],t+=A>>ji&rs,t=this.index[t],t=(t<<Gi)+(A&Xi),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),as="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cs="undefined"===typeof Uint8Array?[]:new Uint8Array(256),us=0;us<as.length;us++)cs[as.charCodeAt(us)]=us;var ls,hs=1,fs=2,ds=3,gs=4,ps=5,Bs=7,ws=8,ms=9,bs=10,ys=11,vs=12,Cs=13,Qs=14,Fs=15,Us=function(A){var t=[],e=0,r=A.length;while(e<r){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=A.charCodeAt(e++);56320===(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),e--)}else t.push(n)}return t},Ls=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";var r=[],n=-1,i="";while(++n<e){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Is=ss(Pi),xs="×",Es="÷",_s=function(A){return Is.get(A)},Ss=function(A,t,e){var r=e-2,n=t[r],i=t[e-1],s=t[e];if(i===fs&&s===ds)return xs;if(i===fs||i===ds||i===gs)return Es;if(s===fs||s===ds||s===gs)return Es;if(i===ws&&-1!==[ws,ms,ys,vs].indexOf(s))return xs;if((i===ys||i===ms)&&(s===ms||s===bs))return xs;if((i===vs||i===bs)&&s===bs)return xs;if(s===Cs||s===ps)return xs;if(s===Bs)return xs;if(i===hs)return xs;if(i===Cs&&s===Qs){while(n===ps)n=t[--r];if(n===Qs)return xs}if(i===Fs&&s===Fs){var o=0;while(n===Fs)o++,n=t[--r];if(o%2===0)return xs}return Es},Hs=function(A){var t=Us(A),e=t.length,r=0,n=0,i=t.map(_s);return{next:function(){if(r>=e)return{done:!0,value:null};var A=xs;while(r<e&&(A=Ss(t,i,++r))===xs);if(A!==xs||r===e){var s=Ls.apply(null,t.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},Ns=function(A){var t,e=Hs(A),r=[];while(!(t=e.next()).done)t.value&&r.push(t.value.slice());return r},ks=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=t+"px",r.style.display="block",A.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(A.body.removeChild(r),i===t)return!0}}return!1},Ps=function(A){var t=A.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",A.body.appendChild(t);var e=A.createRange();t.innerHTML="function"===typeof"".repeat?"👨".repeat(10):"";var r=t.firstChild,n=c(r.data).map((function(A){return u(A)})),i=0,s={},o=n.every((function(A,t){e.setStart(r,i),e.setEnd(r,i+A.length);var n=e.getBoundingClientRect();i+=A.length;var o=n.x>s.x||n.y>s.y;return s=n,0===t||o}));return A.body.removeChild(t),o},Ds=function(){return"undefined"!==typeof(new Image).crossOrigin},Os=function(){return"string"===typeof(new XMLHttpRequest).responseType},Ts=function(A){var t=new Image,e=A.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),e.toDataURL()}catch(Gt){return!1}return!0},Ms=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Ks=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=t.toDataURL();n.src=i;var s=Rs(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),js(s).then((function(t){r.drawImage(t,0,0);var n=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var s=A.createElement("div");return s.style.backgroundImage="url("+i+")",s.style.height=e+"px",Ms(n)?js(Rs(e,e,0,0,s)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),Ms(r.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Rs=function(A,t,e,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},js=function(A){return new Promise((function(t,e){var r=new Image;r.onload=function(){return t(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Vs={get SUPPORT_RANGE_BOUNDS(){var A=ks(document);return Object.defineProperty(Vs,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Vs.SUPPORT_RANGE_BOUNDS&&Ps(document);return Object.defineProperty(Vs,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Ts(document);return Object.defineProperty(Vs,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Ks(document):Promise.resolve(!1);return Object.defineProperty(Vs,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Ds();return Object.defineProperty(Vs,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Os();return Object.defineProperty(Vs,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Vs,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"===typeof Intl||!Intl.Segmenter);return Object.defineProperty(Vs,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Gs=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),zs=function(A,t,e,r){var n=Ys(t,e),i=[],o=0;return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(Vs.SUPPORT_RANGE_BOUNDS){var n=Ws(r,o,t.length).getClientRects();if(n.length>1){var a=Xs(t),c=0;a.forEach((function(t){i.push(new Gs(t,s.fromDOMRectList(A,Ws(r,c+o,t.length).getClientRects()))),c+=t.length}))}else i.push(new Gs(t,s.fromDOMRectList(A,n)))}else{var u=r.splitText(t.length);i.push(new Gs(t,qs(A,r))),r=u}else Vs.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));o+=t.length})),i},qs=function(A,t){var e=t.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=o(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return s.EMPTY},Ws=function(A,t,e){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,t),n.setEnd(A,t+e),n},Xs=function(A){if(Vs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return Ns(A)},Js=function(A,t){if(Vs.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return $s(A,t)},Ys=function(A,t){return 0!==t.letterSpacing?Xs(A):Js(A,t)},Zs=[32,160,4961,65792,65793,4153,4241],$s=function(A,t){var e,r=JA(A,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),n=[],i=function(){if(e.value){var A=e.value.slice(),t=c(A),r="";t.forEach((function(A){-1===Zs.indexOf(A)?r+=u(A):(r.length&&n.push(r),n.push(u(A)),r="")})),r.length&&n.push(r)}};while(!(e=r.next()).done)i();return n},Ao=function(){function A(A,t,e){this.text=to(t.data,e.textTransform),this.textBounds=zs(A,this.text,e,t)}return A}(),to=function(A,t){switch(t){case 1:return A.toLowerCase();case 3:return A.replace(eo,ro);case 2:return A.toUpperCase();default:return A}},eo=/(^|\s|:|-|\(|\))([a-z])/g,ro=function(A,t,e){return A.length>0?t+e.toUpperCase():A},no=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.src=e.currentSrc||e.src,r.intrinsicWidth=e.naturalWidth,r.intrinsicHeight=e.naturalHeight,r.context.cache.addImage(r.src),r}return t(e,A),e}(ki),io=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.canvas=e,r.intrinsicWidth=e.width,r.intrinsicHeight=e.height,r}return t(e,A),e}(ki),so=function(A){function e(t,e){var r=A.call(this,t,e)||this,n=new XMLSerializer,i=o(t,e);return e.setAttribute("width",i.width+"px"),e.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),r.intrinsicWidth=e.width.baseVal.value,r.intrinsicHeight=e.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(e,A),e}(ki),oo=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.value=e.value,r}return t(e,A),e}(ki),ao=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.start=e.start,r.reversed="boolean"===typeof e.reversed&&!0===e.reversed,r}return t(e,A),e}(ki),co=[{type:15,flags:0,unit:"px",number:3}],uo=[{type:16,flags:0,number:50}],lo=function(A){return A.width>A.height?new s(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new s(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},ho=function(A){var t=A.type===po?new Array(A.value.length+1).join("•"):A.value;return 0===t.length?A.placeholder||"":t},fo="checkbox",go="radio",po="password",Bo=707406591,wo=function(A){function e(t,e){var r=A.call(this,t,e)||this;switch(r.type=e.type.toLowerCase(),r.checked=e.checked,r.value=ho(e),r.type!==fo&&r.type!==go||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=lo(r.bounds)),r.type){case fo:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=co;break;case go:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=uo;break}return r}return t(e,A),e}(ki),mo=function(A){function e(t,e){var r=A.call(this,t,e)||this,n=e.options[e.selectedIndex||0];return r.value=n&&n.text||"",r}return t(e,A),e}(ki),bo=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.value=e.value,r}return t(e,A),e}(ki),yo=function(A){function e(t,e){var r=A.call(this,t,e)||this;r.src=e.src,r.width=parseInt(e.width,10)||0,r.height=parseInt(e.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement){r.tree=Fo(t,e.contentWindow.document.documentElement);var n=e.contentWindow.document.documentElement?wr(t,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):mr.TRANSPARENT,i=e.contentWindow.document.body?wr(t,getComputedStyle(e.contentWindow.document.body).backgroundColor):mr.TRANSPARENT;r.backgroundColor=ur(n)?ur(i)?r.styles.backgroundColor:i:n}}catch(Gt){}return r}return t(e,A),e}(ki),vo=["OL","UL","MENU"],Co=function(A,t,e,r){for(var n=t.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,Io(n)&&n.data.trim().length>0)e.textNodes.push(new Ao(A,n,e.styles));else if(xo(n))if(zo(n)&&n.assignedNodes)n.assignedNodes().forEach((function(t){return Co(A,t,e,r)}));else{var s=Qo(A,n);s.styles.isVisible()&&(Uo(n,s,r)?s.flags|=4:Lo(s.styles)&&(s.flags|=2),-1!==vo.indexOf(n.tagName)&&(s.flags|=8),e.elements.push(s),n.slot,n.shadowRoot?Co(A,n.shadowRoot,s,r):Vo(n)||Po(n)||Go(n)||Co(A,n,s,r))}},Qo=function(A,t){return Mo(t)?new no(A,t):Oo(t)?new io(A,t):Po(t)?new so(A,t):So(t)?new oo(A,t):Ho(t)?new ao(A,t):No(t)?new wo(A,t):Go(t)?new mo(A,t):Vo(t)?new bo(A,t):Ko(t)?new yo(A,t):new ki(A,t)},Fo=function(A,t){var e=Qo(A,t);return e.flags|=4,Co(A,t,e,e),e},Uo=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Do(A)&&e.styles.isTransparent()},Lo=function(A){return A.isPositioned()||A.isFloating()},Io=function(A){return A.nodeType===Node.TEXT_NODE},xo=function(A){return A.nodeType===Node.ELEMENT_NODE},Eo=function(A){return xo(A)&&"undefined"!==typeof A.style&&!_o(A)},_o=function(A){return"object"===typeof A.className},So=function(A){return"LI"===A.tagName},Ho=function(A){return"OL"===A.tagName},No=function(A){return"INPUT"===A.tagName},ko=function(A){return"HTML"===A.tagName},Po=function(A){return"svg"===A.tagName},Do=function(A){return"BODY"===A.tagName},Oo=function(A){return"CANVAS"===A.tagName},To=function(A){return"VIDEO"===A.tagName},Mo=function(A){return"IMG"===A.tagName},Ko=function(A){return"IFRAME"===A.tagName},Ro=function(A){return"STYLE"===A.tagName},jo=function(A){return"SCRIPT"===A.tagName},Vo=function(A){return"TEXTAREA"===A.tagName},Go=function(A){return"SELECT"===A.tagName},zo=function(A){return"SLOT"===A.tagName},qo=function(A){return A.tagName.indexOf("-")>0},Wo=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,r=A.counterReset,n=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(n=!1,e.length||e.push(1),e[Math.max(0,e.length-1)]+=A.increment)}));var i=[];return n&&r.forEach((function(A){var e=t.counters[A.counter];i.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),i},A}(),Xo={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Jo={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Yo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Zo={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},$o=function(A,t,e,r,n,i){return A<t||A>e?ha(A,n,i.length>0):r.integers.reduce((function(t,e,n){while(A>=e)A-=e,t+=r.values[n];return t}),"")+i},Aa=function(A,t,e,r){var n="";do{e||A--,n=r(A)+n,A/=t}while(A*t>=t);return n},ta=function(A,t,e,r,n){var i=e-t+1;return(A<0?"-":"")+(Aa(Math.abs(A),i,r,(function(A){return u(Math.floor(A%i)+t)}))+n)},ea=function(A,t,e){void 0===e&&(e=". ");var r=t.length;return Aa(Math.abs(A),r,!1,(function(A){return t[Math.floor(A%r)]}))+e},ra=1,na=2,ia=4,sa=8,oa=function(A,t,e,r,n,i){if(A<-9999||A>9999)return ha(A,4,n.length>0);var s=Math.abs(A),o=n;if(0===s)return t[0]+o;for(var a=0;s>0&&a<=4;a++){var c=s%10;0===c&&Bi(i,ra)&&""!==o?o=t[c]+o:c>1||1===c&&0===a||1===c&&1===a&&Bi(i,na)||1===c&&1===a&&Bi(i,ia)&&A>100||1===c&&a>1&&Bi(i,sa)?o=t[c]+(a>0?e[a-1]:"")+o:1===c&&a>0&&(o=e[a-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},aa="十百千萬",ca="拾佰仟萬",ua="マイナス",la="마이너스",ha=function(A,t,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",s=e?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=ta(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return ea(A,"〇一二三四五六七八九",n);case 6:return $o(A,1,3999,Xo,3,r).toLowerCase();case 7:return $o(A,1,3999,Xo,3,r);case 8:return ta(A,945,969,!1,r);case 9:return ta(A,97,122,!1,r);case 10:return ta(A,65,90,!1,r);case 11:return ta(A,1632,1641,!0,r);case 12:case 49:return $o(A,1,9999,Jo,3,r);case 35:return $o(A,1,9999,Jo,3,r).toLowerCase();case 13:return ta(A,2534,2543,!0,r);case 14:case 30:return ta(A,6112,6121,!0,r);case 15:return ea(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return ea(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return oa(A,"零一二三四五六七八九",aa,"負",n,na|ia|sa);case 47:return oa(A,"零壹貳參肆伍陸柒捌玖",ca,"負",n,ra|na|ia|sa);case 42:return oa(A,"零一二三四五六七八九",aa,"负",n,na|ia|sa);case 41:return oa(A,"零壹贰叁肆伍陆柒捌玖",ca,"负",n,ra|na|ia|sa);case 26:return oa(A,"〇一二三四五六七八九","十百千万",ua,n,0);case 25:return oa(A,"零壱弐参四伍六七八九","拾百千万",ua,n,ra|na|ia);case 31:return oa(A,"영일이삼사오육칠팔구","십백천만",la,i,ra|na|ia);case 33:return oa(A,"零一二三四五六七八九","十百千萬",la,i,0);case 32:return oa(A,"零壹貳參四五六七八九","拾百千",la,i,ra|na|ia);case 18:return ta(A,2406,2415,!0,r);case 20:return $o(A,1,19999,Zo,3,r);case 21:return ta(A,2790,2799,!0,r);case 22:return ta(A,2662,2671,!0,r);case 22:return $o(A,1,10999,Yo,3,r);case 23:return ea(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return ea(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ta(A,3302,3311,!0,r);case 28:return ea(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return ea(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return ta(A,3792,3801,!0,r);case 37:return ta(A,6160,6169,!0,r);case 38:return ta(A,4160,4169,!0,r);case 39:return ta(A,2918,2927,!0,r);case 40:return ta(A,1776,1785,!0,r);case 43:return ta(A,3046,3055,!0,r);case 44:return ta(A,3174,3183,!0,r);case 45:return ta(A,3664,3673,!0,r);case 46:return ta(A,3872,3881,!0,r);case 3:default:return ta(A,48,57,!0,r)}},fa="data-html2canvas-ignore",da=function(){function A(A,t,e){if(this.context=A,this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new Wo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,t){var e=this,i=pa(A,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,a=i.contentWindow,c=a.document,u=ma(i).then((function(){return r(e,void 0,void 0,(function(){var A,e;return n(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(Qa),a&&(a.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===t.top&&a.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),A=this.options.onclone,e=this.clonedReferenceElement,"undefined"===typeof e?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,wa(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c,e)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(va(document.doctype)+"<html></html>"),Ca(this.referenceElement.ownerDocument,s,o),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},A.prototype.createElementClone=function(A){if(Ni(A,2),Oo(A))return this.createCanvasClone(A);if(To(A))return this.createVideoClone(A);if(Ro(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return Mo(t)&&(Mo(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),qo(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return ya(A.style,t),t},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=e,r}}catch(Gt){if(this.context.logger.error("Unable to access cssRules property",Gt),"SecurityError"!==Gt.name)throw Gt}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(Gt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var n=A.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&n)i.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var s=null!==(t=A.getContext("webgl2"))&&void 0!==t?t:A.getContext("webgl");if(s){var o=s.getContextAttributes();!1===(null===o||void 0===o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return r}catch(Gt){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},A.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var e=t.getContext("2d");try{return e&&(e.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||e.getImageData(0,0,t.width,t.height)),t}catch(Gt){this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},A.prototype.appendChildNode=function(A,t,e){xo(t)&&(jo(t)||t.hasAttribute(fa)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&xo(t)&&Ro(t)||A.appendChild(this.cloneNode(t,e))},A.prototype.cloneChildNodes=function(A,t,e){for(var r=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(xo(n)&&zo(n)&&"function"===typeof n.assignedNodes){var i=n.assignedNodes();i.length&&i.forEach((function(A){return r.appendChildNode(t,A,e)}))}else this.appendChildNode(t,n,e)},A.prototype.cloneNode=function(A,t){if(Io(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(e&&xo(A)&&(Eo(A)||_o(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var n=e.getComputedStyle(A),i=e.getComputedStyle(A,":before"),s=e.getComputedStyle(A,":after");this.referenceElement===A&&Eo(r)&&(this.clonedReferenceElement=r),Do(r)&&Ea(r);var o=this.counters.parse(new Ei(this.context,n)),a=this.resolvePseudoContent(A,r,i,ls.BEFORE);qo(A)&&(t=!0),To(A)||this.cloneChildNodes(A,r,t),a&&r.insertBefore(a,r.firstChild);var c=this.resolvePseudoContent(A,r,s,ls.AFTER);return c&&r.appendChild(c),this.counters.pop(o),(n&&(this.options.copyStyles||_o(A))&&!Ko(A)||t)&&ya(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Vo(A)||Go(A))&&(Vo(r)||Go(r))&&(r.value=A.value),r}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,r){var n=this;if(e){var i=e.content,s=t.ownerDocument;if(s&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==e.display){this.counters.parse(new Ei(this.context,e));var o=new xi(this.context,e),a=s.createElement("html2canvaspseudoelement");ya(e,a),o.content.forEach((function(t){if(0===t.type)a.appendChild(s.createTextNode(t.value));else if(22===t.type){var e=s.createElement("img");e.src=t.value,e.style.opacity="1",a.appendChild(e)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Me);r.length&&a.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Ve),c=i[0],u=i[1];if(c&&Me(c)){var l=n.counters.getCounterValue(c.value),h=u&&Me(u)?kn.parse(n.context,u.value):3;a.appendChild(s.createTextNode(ha(l,h,!1)))}}else if("counters"===t.name){var f=t.values.filter(Ve),d=(c=f[0],f[1]);u=f[2];if(c&&Me(c)){var g=n.counters.getCounterValues(c.value),p=u&&Me(u)?kn.parse(n.context,u.value):3,B=d&&0===d.type?d.value:"",w=g.map((function(A){return ha(A,p,!1)})).join(B);a.appendChild(s.createTextNode(w))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(s.createTextNode(Ci(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(s.createTextNode(Ci(o.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(s.createTextNode(t.value))}})),a.className=La+" "+Ia;var c=r===ls.BEFORE?" "+La:" "+Ia;return _o(t)?t.className.baseValue+=c:t.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();(function(A){A[A["BEFORE"]=0]="BEFORE",A[A["AFTER"]=1]="AFTER"})(ls||(ls={}));var ga,pa=function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(fa,"true"),A.body.appendChild(e),e},Ba=function(A){return new Promise((function(t){A.complete?t():A.src?(A.onload=t,A.onerror=t):t()}))},wa=function(A){return Promise.all([].slice.call(A.images,0).map(Ba))},ma=function(A){return new Promise((function(t,e){var r=A.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var e=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(e),t(A))}),50)}}))},ba=["all","d","content"],ya=function(A,t){for(var e=A.length-1;e>=0;e--){var r=A.item(e);-1===ba.indexOf(r)&&t.style.setProperty(r,A.getPropertyValue(r))}return t},va=function(A){var t="";return A&&(t+="<!DOCTYPE ",A.name&&(t+=A.name),A.internalSubset&&(t+=A.internalSubset),A.publicId&&(t+='"'+A.publicId+'"'),A.systemId&&(t+='"'+A.systemId+'"'),t+=">"),t},Ca=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Qa=function(A){var t=A[0],e=A[1],r=A[2];t.scrollLeft=e,t.scrollTop=r},Fa=":before",Ua=":after",La="___html2canvas___pseudoelement_before",Ia="___html2canvas___pseudoelement_after",xa='{\n content: "" !important;\n display: none !important;\n}',Ea=function(A){_a(A,"."+La+Fa+xa+"\n ."+Ia+Ua+xa)},_a=function(A,t){var e=A.ownerDocument;if(e){var r=e.createElement("style");r.textContent=t,A.appendChild(r)}},Sa=function(){function A(){}return A.getOrigin=function(t){var e=A._link;return e?(e.href=t,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},A.isSameOrigin=function(t){return A.getOrigin(t)===A._origin},A.setContext=function(t){A._link=t.document.createElement("a"),A._origin=A.getOrigin(t.location.href)},A._origin="about:blank",A}(),Ha=function(){function A(A,t){this.context=A,this._options=t,this._cache={}}return A.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)?t:Ma(A)||Da(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),t):t},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s=this;return n(this,(function(n){switch(n.label){case 0:return t=Sa.isSameOrigin(A),e=!Oa(A)&&!0===this._options.useCORS&&Vs.SUPPORT_CORS_IMAGES&&!t,r=!Oa(A)&&!t&&!Ma(A)&&"string"===typeof this._options.proxy&&Vs.SUPPORT_CORS_XHR&&!e,t||!1!==this._options.allowTaint||Oa(A)||Ma(A)||r||e?(i=A,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,(Ta(i)||e)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return A(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,i){var s=Vs.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return i(A)}),!1),A.readAsDataURL(o.response)}else i("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=i;var a=e.indexOf("?")>-1?"&":"?";if(o.open("GET",""+e+a+"url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),t._options.imageTimeout){var c=t._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}o.send()}))},A}(),Na=/^data:image\/svg\+xml/i,ka=/^data:image\/.*;base64,/i,Pa=/^data:image\/.*/i,Da=function(A){return Vs.SUPPORT_SVG_DRAWING||!Ka(A)},Oa=function(A){return Pa.test(A)},Ta=function(A){return ka.test(A)},Ma=function(A){return"blob"===A.substr(0,4)},Ka=function(A){return"svg"===A.substr(-3).toLowerCase()||Na.test(A)},Ra=function(){function A(A,t){this.type=0,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),ja=function(A,t,e){return new Ra(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},Va=function(){function A(A,t,e,r){this.type=1,this.start=A,this.startControl=t,this.endControl=e,this.end=r}return A.prototype.subdivide=function(t,e){var r=ja(this.start,this.startControl,t),n=ja(this.startControl,this.endControl,t),i=ja(this.endControl,this.end,t),s=ja(r,n,t),o=ja(n,i,t),a=ja(s,o,t);return e?new A(this.start,r,s,a):new A(a,o,i,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ga=function(A){return 1===A.type},za=function(){function A(A){var t=A.styles,e=A.bounds,r=$e(t.borderTopLeftRadius,e.width,e.height),n=r[0],i=r[1],s=$e(t.borderTopRightRadius,e.width,e.height),o=s[0],a=s[1],c=$e(t.borderBottomRightRadius,e.width,e.height),u=c[0],l=c[1],h=$e(t.borderBottomLeftRadius,e.width,e.height),f=h[0],d=h[1],g=[];g.push((n+o)/e.width),g.push((f+u)/e.width),g.push((i+d)/e.height),g.push((a+l)/e.height);var p=Math.max.apply(Math,g);p>1&&(n/=p,i/=p,o/=p,a/=p,u/=p,l/=p,f/=p,d/=p);var B=e.width-o,w=e.height-l,m=e.width-u,b=e.height-d,y=t.borderTopWidth,v=t.borderRightWidth,C=t.borderBottomWidth,Q=t.borderLeftWidth,F=Ar(t.paddingTop,A.bounds.width),U=Ar(t.paddingRight,A.bounds.width),L=Ar(t.paddingBottom,A.bounds.width),I=Ar(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||i>0?qa(e.left+Q/3,e.top+y/3,n-Q/3,i-y/3,ga.TOP_LEFT):new Ra(e.left+Q/3,e.top+y/3),this.topRightBorderDoubleOuterBox=n>0||i>0?qa(e.left+B,e.top+y/3,o-v/3,a-y/3,ga.TOP_RIGHT):new Ra(e.left+e.width-v/3,e.top+y/3),this.bottomRightBorderDoubleOuterBox=u>0||l>0?qa(e.left+m,e.top+w,u-v/3,l-C/3,ga.BOTTOM_RIGHT):new Ra(e.left+e.width-v/3,e.top+e.height-C/3),this.bottomLeftBorderDoubleOuterBox=f>0||d>0?qa(e.left+Q/3,e.top+b,f-Q/3,d-C/3,ga.BOTTOM_LEFT):new Ra(e.left+Q/3,e.top+e.height-C/3),this.topLeftBorderDoubleInnerBox=n>0||i>0?qa(e.left+2*Q/3,e.top+2*y/3,n-2*Q/3,i-2*y/3,ga.TOP_LEFT):new Ra(e.left+2*Q/3,e.top+2*y/3),this.topRightBorderDoubleInnerBox=n>0||i>0?qa(e.left+B,e.top+2*y/3,o-2*v/3,a-2*y/3,ga.TOP_RIGHT):new Ra(e.left+e.width-2*v/3,e.top+2*y/3),this.bottomRightBorderDoubleInnerBox=u>0||l>0?qa(e.left+m,e.top+w,u-2*v/3,l-2*C/3,ga.BOTTOM_RIGHT):new Ra(e.left+e.width-2*v/3,e.top+e.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=f>0||d>0?qa(e.left+2*Q/3,e.top+b,f-2*Q/3,d-2*C/3,ga.BOTTOM_LEFT):new Ra(e.left+2*Q/3,e.top+e.height-2*C/3),this.topLeftBorderStroke=n>0||i>0?qa(e.left+Q/2,e.top+y/2,n-Q/2,i-y/2,ga.TOP_LEFT):new Ra(e.left+Q/2,e.top+y/2),this.topRightBorderStroke=n>0||i>0?qa(e.left+B,e.top+y/2,o-v/2,a-y/2,ga.TOP_RIGHT):new Ra(e.left+e.width-v/2,e.top+y/2),this.bottomRightBorderStroke=u>0||l>0?qa(e.left+m,e.top+w,u-v/2,l-C/2,ga.BOTTOM_RIGHT):new Ra(e.left+e.width-v/2,e.top+e.height-C/2),this.bottomLeftBorderStroke=f>0||d>0?qa(e.left+Q/2,e.top+b,f-Q/2,d-C/2,ga.BOTTOM_LEFT):new Ra(e.left+Q/2,e.top+e.height-C/2),this.topLeftBorderBox=n>0||i>0?qa(e.left,e.top,n,i,ga.TOP_LEFT):new Ra(e.left,e.top),this.topRightBorderBox=o>0||a>0?qa(e.left+B,e.top,o,a,ga.TOP_RIGHT):new Ra(e.left+e.width,e.top),this.bottomRightBorderBox=u>0||l>0?qa(e.left+m,e.top+w,u,l,ga.BOTTOM_RIGHT):new Ra(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=f>0||d>0?qa(e.left,e.top+b,f,d,ga.BOTTOM_LEFT):new Ra(e.left,e.top+e.height),this.topLeftPaddingBox=n>0||i>0?qa(e.left+Q,e.top+y,Math.max(0,n-Q),Math.max(0,i-y),ga.TOP_LEFT):new Ra(e.left+Q,e.top+y),this.topRightPaddingBox=o>0||a>0?qa(e.left+Math.min(B,e.width-v),e.top+y,B>e.width+v?0:Math.max(0,o-v),Math.max(0,a-y),ga.TOP_RIGHT):new Ra(e.left+e.width-v,e.top+y),this.bottomRightPaddingBox=u>0||l>0?qa(e.left+Math.min(m,e.width-Q),e.top+Math.min(w,e.height-C),Math.max(0,u-v),Math.max(0,l-C),ga.BOTTOM_RIGHT):new Ra(e.left+e.width-v,e.top+e.height-C),this.bottomLeftPaddingBox=f>0||d>0?qa(e.left+Q,e.top+Math.min(b,e.height-C),Math.max(0,f-Q),Math.max(0,d-C),ga.BOTTOM_LEFT):new Ra(e.left+Q,e.top+e.height-C),this.topLeftContentBox=n>0||i>0?qa(e.left+Q+I,e.top+y+F,Math.max(0,n-(Q+I)),Math.max(0,i-(y+F)),ga.TOP_LEFT):new Ra(e.left+Q+I,e.top+y+F),this.topRightContentBox=o>0||a>0?qa(e.left+Math.min(B,e.width+Q+I),e.top+y+F,B>e.width+Q+I?0:o-Q+I,a-(y+F),ga.TOP_RIGHT):new Ra(e.left+e.width-(v+U),e.top+y+F),this.bottomRightContentBox=u>0||l>0?qa(e.left+Math.min(m,e.width-(Q+I)),e.top+Math.min(w,e.height+y+F),Math.max(0,u-(v+U)),l-(C+L),ga.BOTTOM_RIGHT):new Ra(e.left+e.width-(v+U),e.top+e.height-(C+L)),this.bottomLeftContentBox=f>0||d>0?qa(e.left+Q+I,e.top+b,Math.max(0,f-(Q+I)),d-(C+L),ga.BOTTOM_LEFT):new Ra(e.left+Q+I,e.top+e.height-(C+L))}return A}();(function(A){A[A["TOP_LEFT"]=0]="TOP_LEFT",A[A["TOP_RIGHT"]=1]="TOP_RIGHT",A[A["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",A[A["BOTTOM_LEFT"]=3]="BOTTOM_LEFT"})(ga||(ga={}));var qa=function(A,t,e,r,n){var i=(Math.sqrt(2)-1)/3*4,s=e*i,o=r*i,a=A+e,c=t+r;switch(n){case ga.TOP_LEFT:return new Va(new Ra(A,c),new Ra(A,c-o),new Ra(a-s,t),new Ra(a,t));case ga.TOP_RIGHT:return new Va(new Ra(A,t),new Ra(A+s,t),new Ra(a,c-o),new Ra(a,c));case ga.BOTTOM_RIGHT:return new Va(new Ra(a,t),new Ra(a,t+o),new Ra(A+s,c),new Ra(A,c));case ga.BOTTOM_LEFT:default:return new Va(new Ra(a,c),new Ra(a-s,c),new Ra(A,t+o),new Ra(A,t))}},Wa=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Xa=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Ja=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Ya=function(){function A(A,t,e){this.offsetX=A,this.offsetY=t,this.matrix=e,this.type=0,this.target=6}return A}(),Za=function(){function A(A,t){this.path=A,this.target=t,this.type=1}return A}(),$a=function(){function A(A){this.opacity=A,this.type=2,this.target=6}return A}(),Ac=function(A){return 0===A.type},tc=function(A){return 1===A.type},ec=function(A){return 2===A.type},rc=function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))},nc=function(A,t,e,r,n){return A.map((function(A,i){switch(i){case 0:return A.add(t,e);case 1:return A.add(t+r,e);case 2:return A.add(t+r,e+n);case 3:return A.add(t,e+n)}return A}))},ic=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),sc=function(){function A(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new za(this.container),this.container.styles.opacity<1&&this.effects.push(new $a(this.container.styles.opacity)),null!==this.container.styles.transform){var e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new Ya(e,r,n))}if(0!==this.container.styles.overflowX){var i=Wa(this.curves),s=Ja(this.curves);rc(i,s)?this.effects.push(new Za(i,6)):(this.effects.push(new Za(i,2)),this.effects.push(new Za(s,4)))}}return A.prototype.getEffects=function(A){var t=-1===[2,3].indexOf(this.container.styles.position),e=this.parent,r=this.effects.slice(0);while(e){var n=e.effects.filter((function(A){return!tc(A)}));if(t||0!==e.container.styles.position||!e.parent){if(r.unshift.apply(r,n),t=-1===[2,3].indexOf(e.container.styles.position),0!==e.container.styles.overflowX){var i=Wa(e.curves),s=Ja(e.curves);rc(i,s)||r.unshift(new Za(s,6))}}else r.unshift.apply(r,n);e=e.parent}return r.filter((function(t){return Bi(t.target,A)}))},A}(),oc=function(A,t,e,r){A.container.elements.forEach((function(n){var i=Bi(n.flags,4),s=Bi(n.flags,2),o=new sc(n,A);Bi(n.styles.display,2048)&&r.push(o);var a=Bi(n.flags,8)?[]:r;if(i||s){var c=i||n.styles.isPositioned()?e:t,u=new ic(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var l=n.styles.zIndex.order;if(l<0){var h=0;c.negativeZIndex.some((function(A,t){return l>A.element.container.styles.zIndex.order?(h=t,!1):h>0})),c.negativeZIndex.splice(h,0,u)}else if(l>0){var f=0;c.positiveZIndex.some((function(A,t){return l>=A.element.container.styles.zIndex.order?(f=t+1,!1):f>0})),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);oc(o,u,i?u:e,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),oc(o,t,e,a);Bi(n.flags,8)&&ac(n,a)}))},ac=function(A,t){for(var e=A instanceof ao?A.start:1,r=A instanceof ao&&A.reversed,n=0;n<t.length;n++){var i=t[n];i.container instanceof oo&&"number"===typeof i.container.value&&0!==i.container.value&&(e=i.container.value),i.listValue=ha(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},cc=function(A){var t=new sc(A,null),e=new ic(t),r=[];return oc(t,e,e,r),ac(t.container,r),e},uc=function(A,t){switch(t){case 0:return gc(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return gc(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return gc(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);case 3:default:return gc(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},lc=function(A,t){switch(t){case 0:return gc(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return gc(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return gc(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);case 3:default:return gc(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},hc=function(A,t){switch(t){case 0:return gc(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return gc(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return gc(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);case 3:default:return gc(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},fc=function(A,t){switch(t){case 0:return dc(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return dc(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return dc(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);case 3:default:return dc(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},dc=function(A,t){var e=[];return Ga(A)?e.push(A.subdivide(.5,!1)):e.push(A),Ga(t)?e.push(t.subdivide(.5,!0)):e.push(t),e},gc=function(A,t,e,r){var n=[];return Ga(A)?n.push(A.subdivide(.5,!1)):n.push(A),Ga(e)?n.push(e.subdivide(.5,!0)):n.push(e),Ga(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Ga(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n},pc=function(A){var t=A.bounds,e=A.styles;return t.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Bc=function(A){var t=A.styles,e=A.bounds,r=Ar(t.paddingLeft,e.width),n=Ar(t.paddingRight,e.width),i=Ar(t.paddingTop,e.width),s=Ar(t.paddingBottom,e.width);return e.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+n),-(t.borderTopWidth+t.borderBottomWidth+i+s))},wc=function(A,t){return 0===A?t.bounds:2===A?Bc(t):pc(t)},mc=function(A,t){return 0===A?t.bounds:2===A?Bc(t):pc(t)},bc=function(A,t,e){var r=wc(Qc(A.styles.backgroundOrigin,t),A),n=mc(Qc(A.styles.backgroundClip,t),A),i=Cc(Qc(A.styles.backgroundSize,t),e,r),s=i[0],o=i[1],a=$e(Qc(A.styles.backgroundPosition,t),r.width-s,r.height-o),c=Fc(Qc(A.styles.backgroundRepeat,t),a,i,r,n),u=Math.round(r.left+a[0]),l=Math.round(r.top+a[1]);return[c,u,l,s,o]},yc=function(A){return Me(A)&&A.value===zr.AUTO},vc=function(A){return"number"===typeof A},Cc=function(A,t,e){var r=t[0],n=t[1],i=t[2],s=A[0],o=A[1];if(!s)return[0,0];if(We(s)&&o&&We(o))return[Ar(s,e.width),Ar(o,e.height)];var a=vc(i);if(Me(s)&&(s.value===zr.CONTAIN||s.value===zr.COVER)){if(vc(i)){var c=e.width/e.height;return c<i!==(s.value===zr.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var u=vc(r),l=vc(n),h=u||l;if(yc(s)&&(!o||yc(o))){if(u&&l)return[r,n];if(!a&&!h)return[e.width,e.height];if(h&&a){var f=u?r:n*i,d=l?n:r/i;return[f,d]}var g=u?r:e.width,p=l?n:e.height;return[g,p]}if(a){var B=0,w=0;return We(s)?B=Ar(s,e.width):We(o)&&(w=Ar(o,e.height)),yc(s)?B=w*i:o&&!yc(o)||(w=B/i),[B,w]}var m=null,b=null;if(We(s)?m=Ar(s,e.width):o&&We(o)&&(b=Ar(o,e.height)),null===m||o&&!yc(o)||(b=u&&l?m/r*n:e.height),null!==b&&yc(s)&&(m=u&&l?b/n*r:e.width),null!==m&&null!==b)return[m,b];throw new Error("Unable to calculate background-size for element")},Qc=function(A,t){var e=A[t];return"undefined"===typeof e?A[0]:e},Fc=function(A,t,e,r,n){var i=t[0],s=t[1],o=e[0],a=e[1];switch(A){case 2:return[new Ra(Math.round(r.left),Math.round(r.top+s)),new Ra(Math.round(r.left+r.width),Math.round(r.top+s)),new Ra(Math.round(r.left+r.width),Math.round(a+r.top+s)),new Ra(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new Ra(Math.round(r.left+i),Math.round(r.top)),new Ra(Math.round(r.left+i+o),Math.round(r.top)),new Ra(Math.round(r.left+i+o),Math.round(r.height+r.top)),new Ra(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new Ra(Math.round(r.left+i),Math.round(r.top+s)),new Ra(Math.round(r.left+i+o),Math.round(r.top+s)),new Ra(Math.round(r.left+i+o),Math.round(r.top+s+a)),new Ra(Math.round(r.left+i),Math.round(r.top+s+a))];default:return[new Ra(Math.round(n.left),Math.round(n.top)),new Ra(Math.round(n.left+n.width),Math.round(n.top)),new Ra(Math.round(n.left+n.width),Math.round(n.height+n.top)),new Ra(Math.round(n.left),Math.round(n.height+n.top))]}},Uc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Lc="Hidden Text",Ic=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,t){var e=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),i=this._document.body;e.style.visibility="hidden",e.style.fontFamily=A,e.style.fontSize=t,e.style.margin="0",e.style.padding="0",e.style.whiteSpace="nowrap",i.appendChild(e),r.src=Uc,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(Lc)),e.appendChild(n),e.appendChild(r);var s=r.offsetTop-n.offsetTop+2;e.removeChild(n),e.appendChild(this._document.createTextNode(Lc)),e.style.lineHeight="normal",r.style.verticalAlign="super";var o=r.offsetTop-e.offsetTop+2;return i.removeChild(e),{baseline:s,middle:o}},A.prototype.getMetrics=function(A,t){var e=A+" "+t;return"undefined"===typeof this._data[e]&&(this._data[e]=this.parseMetrics(A,t)),this._data[e]},A}(),xc=function(){function A(A,t){this.context=A,this.options=t}return A}(),Ec=1e4,_c=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r._activeEffects=[],r.canvas=e.canvas?e.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),e.canvas||(r.canvas.width=Math.floor(e.width*e.scale),r.canvas.height=Math.floor(e.height*e.scale),r.canvas.style.width=e.width+"px",r.canvas.style.height=e.height+"px"),r.fontMetrics=new Ic(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-e.x,-e.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+e.width+"x"+e.height+") with scale "+e.scale),r}return t(e,A),e.prototype.applyEffects=function(A){var t=this;while(this._activeEffects.length)this.popEffect();A.forEach((function(A){return t.applyEffect(A)}))},e.prototype.applyEffect=function(A){this.ctx.save(),ec(A)&&(this.ctx.globalAlpha=A.opacity),Ac(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),tc(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return r(this,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return t=A.element.container.styles,t.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.renderNode=function(A){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return Bi(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(A)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},e.prototype.renderTextWithLetterSpacing=function(A,t,e){var r=this;if(0===t)this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+e);else{var n=Xs(A.text);n.reduce((function(t,n){return r.ctx.fillText(n,t,A.bounds.top+e),t+r.ctx.measureText(n).width}),A.bounds.left)}},e.prototype.createFontStyle=function(A){var t=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),e=Pc(A.fontFamily).join(", "),r=Oe(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,t,A.fontWeight,r,e].join(" "),e,r]},e.prototype.renderTextNode=function(A,t){return r(this,void 0,void 0,(function(){var e,r,i,s,o,a,c,u,l=this;return n(this,(function(n){return e=this.createFontStyle(t),r=e[0],i=e[1],s=e[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(i,s),a=o.baseline,c=o.middle,u=t.paintOrder,A.textBounds.forEach((function(A){u.forEach((function(e){switch(e){case 0:l.ctx.fillStyle=lr(t.color),l.renderTextWithLetterSpacing(A,t.letterSpacing,a);var r=t.textShadow;r.length&&A.text.trim().length&&(r.slice(0).reverse().forEach((function(e){l.ctx.shadowColor=lr(e.color),l.ctx.shadowOffsetX=e.offsetX.number*l.options.scale,l.ctx.shadowOffsetY=e.offsetY.number*l.options.scale,l.ctx.shadowBlur=e.blur.number,l.renderTextWithLetterSpacing(A,t.letterSpacing,a)})),l.ctx.shadowColor="",l.ctx.shadowOffsetX=0,l.ctx.shadowOffsetY=0,l.ctx.shadowBlur=0),t.textDecorationLine.length&&(l.ctx.fillStyle=lr(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+a),A.bounds.width,1);break;case 2:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:l.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+c),A.bounds.width,1);break}})));break;case 1:t.webkitTextStrokeWidth&&A.text.trim().length&&(l.ctx.strokeStyle=lr(t.webkitTextStrokeColor),l.ctx.lineWidth=t.webkitTextStrokeWidth,l.ctx.lineJoin=window.chrome?"miter":"round",l.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+a)),l.ctx.strokeStyle="",l.ctx.lineWidth=0,l.ctx.lineJoin="miter";break}}))})),[2]}))}))},e.prototype.renderReplacedElement=function(A,t,e){if(e&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var r=Bc(A),n=Ja(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return r(this,void 0,void 0,(function(){var t,r,i,o,a,c,u,l,h,f,d,g,p,B,w,m,b,y,v;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,r=A.curves,i=t.styles,o=0,a=t.textNodes,n.label=1;case 1:return o<a.length?(c=a[o],[4,this.renderTextNode(c,i)]):[3,4];case 2:n.sent(),n.label=3;case 3:return o++,[3,1];case 4:if(!(t instanceof no))return[3,8];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return m=n.sent(),this.renderReplacedElement(t,r,m),[3,8];case 7:return n.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof io&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof so))return[3,12];n.label=9;case 9:return n.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return m=n.sent(),this.renderReplacedElement(t,r,m),[3,12];case 11:return n.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof yo&&t.tree?(u=new e(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}),[4,u.render(t.tree)]):[3,14];case 13:l=n.sent(),t.width&&t.height&&this.ctx.drawImage(l,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),n.label=14;case 14:if(t instanceof wo&&(h=Math.min(t.bounds.width,t.bounds.height),t.type===fo?t.checked&&(this.ctx.save(),this.path([new Ra(t.bounds.left+.39363*h,t.bounds.top+.79*h),new Ra(t.bounds.left+.16*h,t.bounds.top+.5549*h),new Ra(t.bounds.left+.27347*h,t.bounds.top+.44071*h),new Ra(t.bounds.left+.39694*h,t.bounds.top+.5649*h),new Ra(t.bounds.left+.72983*h,t.bounds.top+.23*h),new Ra(t.bounds.left+.84*h,t.bounds.top+.34085*h),new Ra(t.bounds.left+.39363*h,t.bounds.top+.79*h)]),this.ctx.fillStyle=lr(Bo),this.ctx.fill(),this.ctx.restore()):t.type===go&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+h/2,t.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=lr(Bo),this.ctx.fill(),this.ctx.restore())),Sc(t)&&t.value.length){switch(f=this.createFontStyle(i),y=f[0],d=f[1],g=this.fontMetrics.getMetrics(y,d).baseline,this.ctx.font=y,this.ctx.fillStyle=lr(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Nc(t.styles.textAlign),v=Bc(t),p=0,t.styles.textAlign){case 1:p+=v.width/2;break;case 2:p+=v.width;break}B=v.add(p,0,0,-v.height/2+1),this.ctx.save(),this.path([new Ra(v.left,v.top),new Ra(v.left+v.width,v.top),new Ra(v.left+v.width,v.top+v.height),new Ra(v.left,v.top+v.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Gs(t.value,B),i.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Bi(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(w=t.styles.listStyleImage,0!==w.type)return[3,18];m=void 0,b=w.url,n.label=15;case 15:return n.trys.push([15,17,,18]),[4,this.context.cache.match(b)];case 16:return m=n.sent(),this.ctx.drawImage(m,t.bounds.left-(m.width+10),t.bounds.top),[3,18];case 17:return n.sent(),this.context.logger.error("Error loading list-style-image "+b),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(y=this.createFontStyle(i)[0],this.ctx.font=y,this.ctx.fillStyle=lr(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",v=new s(t.bounds.left,t.bounds.top+Ar(t.styles.paddingTop,t.bounds.width),t.bounds.width,Sn(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Gs(A.listValue,v),i.letterSpacing,Sn(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),n.label=20;case 20:return[2]}}))}))},e.prototype.renderStackContent=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o,a,c,u,l,h,f,d,g,p;return n(this,(function(n){switch(n.label){case 0:return Bi(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:n.sent(),t=0,e=A.negativeZIndex,n.label=2;case 2:return t<e.length?(p=e[t],[4,this.renderStack(p)]):[3,5];case 3:n.sent(),n.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:n.sent(),r=0,i=A.nonInlineLevel,n.label=7;case 7:return r<i.length?(p=i[r],[4,this.renderNode(p)]):[3,10];case 8:n.sent(),n.label=9;case 9:return r++,[3,7];case 10:s=0,o=A.nonPositionedFloats,n.label=11;case 11:return s<o.length?(p=o[s],[4,this.renderStack(p)]):[3,14];case 12:n.sent(),n.label=13;case 13:return s++,[3,11];case 14:a=0,c=A.nonPositionedInlineLevel,n.label=15;case 15:return a<c.length?(p=c[a],[4,this.renderStack(p)]):[3,18];case 16:n.sent(),n.label=17;case 17:return a++,[3,15];case 18:u=0,l=A.inlineLevel,n.label=19;case 19:return u<l.length?(p=l[u],[4,this.renderNode(p)]):[3,22];case 20:n.sent(),n.label=21;case 21:return u++,[3,19];case 22:h=0,f=A.zeroOrAutoZIndexOrTransformedOrOpacity,n.label=23;case 23:return h<f.length?(p=f[h],[4,this.renderStack(p)]):[3,26];case 24:n.sent(),n.label=25;case 25:return h++,[3,23];case 26:d=0,g=A.positiveZIndex,n.label=27;case 27:return d<g.length?(p=g[d],[4,this.renderStack(p)]):[3,30];case 28:n.sent(),n.label=29;case 29:return d++,[3,27];case 30:return[2]}}))}))},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var t=this;A.forEach((function(A,e){var r=Ga(A)?A.start:A;0===e?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Ga(A)&&t.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},e.prototype.renderRepeat=function(A,t,e,r){this.path(A),this.ctx.fillStyle=t,this.ctx.translate(e,r),this.ctx.fill(),this.ctx.translate(-e,-r)},e.prototype.resizeImage=function(A,t,e){var r;if(A.width===t&&A.height===e)return A;var n=null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document,i=n.createElement("canvas");i.width=Math.max(1,t),i.height=Math.max(1,e);var s=i.getContext("2d");return s.drawImage(A,0,0,A.width,A.height,0,0,t,e),i},e.prototype.renderBackgroundImage=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o;return n(this,(function(a){switch(a.label){case 0:t=A.styles.backgroundImage.length-1,e=function(e){var i,s,o,a,c,u,l,h,f,d,g,p,B,w,m,b,y,v,C,Q,F,U,L,I,x,E,_,S,H,N,k;return n(this,(function(n){switch(n.label){case 0:if(0!==e.type)return[3,5];i=void 0,s=e.url,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r.context.cache.match(s)];case 2:return i=n.sent(),[3,4];case 3:return n.sent(),r.context.logger.error("Error loading background-image "+s),[3,4];case 4:return i&&(o=bc(A,t,[i.width,i.height,i.width/i.height]),b=o[0],U=o[1],L=o[2],C=o[3],Q=o[4],w=r.ctx.createPattern(r.resizeImage(i,C,Q),"repeat"),r.renderRepeat(b,w,U,L)),[3,6];case 5:Rr(e)?(a=bc(A,t,[null,null,null]),b=a[0],U=a[1],L=a[2],C=a[3],Q=a[4],c=Fr(e.angle,C,Q),u=c[0],l=c[1],h=c[2],f=c[3],d=c[4],g=document.createElement("canvas"),g.width=C,g.height=Q,p=g.getContext("2d"),B=p.createLinearGradient(l,f,h,d),Cr(e.stops,u).forEach((function(A){return B.addColorStop(A.stop,lr(A.color))})),p.fillStyle=B,p.fillRect(0,0,C,Q),C>0&&Q>0&&(w=r.ctx.createPattern(g,"repeat"),r.renderRepeat(b,w,U,L))):jr(e)&&(m=bc(A,t,[null,null,null]),b=m[0],y=m[1],v=m[2],C=m[3],Q=m[4],F=0===e.position.length?[Ye]:e.position,U=Ar(F[0],C),L=Ar(F[F.length-1],Q),I=Ir(e,U,L,C,Q),x=I[0],E=I[1],x>0&&E>0&&(_=r.ctx.createRadialGradient(y+U,v+L,0,y+U,v+L,x),Cr(e.stops,2*x).forEach((function(A){return _.addColorStop(A.stop,lr(A.color))})),r.path(b),r.ctx.fillStyle=_,x!==E?(S=A.bounds.left+.5*A.bounds.width,H=A.bounds.top+.5*A.bounds.height,N=E/x,k=1/N,r.ctx.save(),r.ctx.translate(S,H),r.ctx.transform(1,0,0,N,0,0),r.ctx.translate(-S,-H),r.ctx.fillRect(y,k*(v-H)+H,C,Q*k),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return t--,[2]}}))},r=this,i=0,s=A.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<s.length?(o=s[i],[5,e(o)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},e.prototype.renderSolidBorder=function(A,t,e){return r(this,void 0,void 0,(function(){return n(this,(function(r){return this.path(uc(e,t)),this.ctx.fillStyle=lr(A),this.ctx.fill(),[2]}))}))},e.prototype.renderDoubleBorder=function(A,t,e,i){return r(this,void 0,void 0,(function(){var r,s;return n(this,(function(n){switch(n.label){case 0:return t<3?[4,this.renderSolidBorder(A,e,i)]:[3,2];case 1:return n.sent(),[2];case 2:return r=lc(i,e),this.path(r),this.ctx.fillStyle=lr(A),this.ctx.fill(),s=hc(i,e),this.path(s),this.ctx.fill(),[2]}}))}))},e.prototype.renderNodeBackgroundAndBorders=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o,a,c,u=this;return n(this,(function(n){switch(n.label){case 0:return this.applyEffects(A.getEffects(2)),t=A.container.styles,e=!ur(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=Hc(Qc(t.backgroundClip,0),A.curves),e||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ur(t.backgroundColor)||(this.ctx.fillStyle=lr(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:n.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var e=Wa(A.curves),r=t.inset?0:Ec,n=nc(e,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(e),u.ctx.clip(),u.mask(n)):(u.mask(e),u.ctx.clip(),u.path(n)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=lr(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?lr(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),n.label=2;case 2:s=0,o=0,a=r,n.label=3;case 3:return o<a.length?(c=a[o],0!==c.style&&!ur(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,2)]:[3,11]):[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,s,A.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,s,A.curves)];case 10:n.sent(),n.label=11;case 11:s++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(A,t,e,i,s){return r(this,void 0,void 0,(function(){var r,o,a,c,u,l,h,f,d,g,p,B,w,m,b,y;return n(this,(function(n){return this.ctx.save(),r=fc(i,e),o=uc(i,e),2===s&&(this.path(o),this.ctx.clip()),Ga(o[0])?(a=o[0].start.x,c=o[0].start.y):(a=o[0].x,c=o[0].y),Ga(o[1])?(u=o[1].end.x,l=o[1].end.y):(u=o[1].x,l=o[1].y),h=0===e||2===e?Math.abs(a-u):Math.abs(c-l),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(o.slice(0,2)),f=t<3?3*t:2*t,d=t<3?2*t:t,3===s&&(f=t,d=t),g=!0,h<=2*f?g=!1:h<=2*f+d?(p=h/(2*f+d),f*=p,d*=p):(B=Math.floor((h+d)/(f+d)),w=(h-B*f)/(B-1),m=(h-(B+1)*f)/B,d=m<=0||Math.abs(d-w)<Math.abs(d-m)?w:m),g&&(3===s?this.ctx.setLineDash([0,f+d]):this.ctx.setLineDash([f,d])),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=lr(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(Ga(o[0])&&(b=o[3],y=o[0],this.ctx.beginPath(),this.formatPath([new Ra(b.end.x,b.end.y),new Ra(y.start.x,y.start.y)]),this.ctx.stroke()),Ga(o[1])&&(b=o[1],y=o[2],this.ctx.beginPath(),this.formatPath([new Ra(b.end.x,b.end.y),new Ra(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},e.prototype.render=function(A){return r(this,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=lr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=cc(A),[4,this.renderStack(t)];case 1:return e.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},e}(xc),Sc=function(A){return A instanceof bo||(A instanceof mo||A instanceof wo&&A.type!==go&&A.type!==fo)},Hc=function(A,t){switch(A){case 0:return Wa(t);case 2:return Xa(t);case 1:default:return Ja(t)}},Nc=function(A){switch(A){case 1:return"center";case 2:return"right";case 0:default:return"left"}},kc=["-apple-system","system-ui"],Pc=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===kc.indexOf(A)})):A},Dc=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.canvas=e.canvas?e.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=e,r.canvas.width=Math.floor(e.width*e.scale),r.canvas.height=Math.floor(e.height*e.scale),r.canvas.style.width=e.width+"px",r.canvas.style.height=e.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-e.x,-e.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale),r}return t(e,A),e.prototype.render=function(A){return r(this,void 0,void 0,(function(){var t,e;return n(this,(function(r){switch(r.label){case 0:return t=Rs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,Oc(t)];case 1:return e=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=lr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},e}(xc),Oc=function(A){return new Promise((function(t,e){var r=new Image;r.onload=function(){t(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Tc=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&"undefined"!==typeof window&&window.console&&"function"===typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!==typeof window&&window.console&&"function"===typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),Mc=function(){function A(t,e){var r;this.windowBounds=e,this.instanceName="#"+A.instanceCount++,this.logger=new Tc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new Ha(this,t)}return A.instanceCount=1,A}(),Kc=function(A,t){return void 0===t&&(t={}),Rc(A,t)};"undefined"!==typeof window&&Sa.setContext(window);var Rc=function(A,t){return r(void 0,void 0,void 0,(function(){var r,i,c,u,l,h,f,d,g,p,B,w,m,b,y,v,C,Q,F,U,L,I,x,E,_,S,H,N,k,P,D,O,T,M,K,R,j,V,G;return n(this,(function(n){switch(n.label){case 0:if(!A||"object"!==typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(r=A.ownerDocument,!r)throw new Error("Element is not attached to a Document");if(i=r.defaultView,!i)throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(x=t.allowTaint)&&void 0!==x&&x,imageTimeout:null!==(E=t.imageTimeout)&&void 0!==E?E:15e3,proxy:t.proxy,useCORS:null!==(_=t.useCORS)&&void 0!==_&&_},u=e({logging:null===(S=t.logging)||void 0===S||S,cache:t.cache},c),l={windowWidth:null!==(H=t.windowWidth)&&void 0!==H?H:i.innerWidth,windowHeight:null!==(N=t.windowHeight)&&void 0!==N?N:i.innerHeight,scrollX:null!==(k=t.scrollX)&&void 0!==k?k:i.pageXOffset,scrollY:null!==(P=t.scrollY)&&void 0!==P?P:i.pageYOffset},h=new s(l.scrollX,l.scrollY,l.windowWidth,l.windowHeight),f=new Mc(u,h),d=null!==(D=t.foreignObjectRendering)&&void 0!==D&&D,g={allowTaint:null!==(O=t.allowTaint)&&void 0!==O&&O,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:d,copyStyles:d},f.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),p=new da(f,A,g),B=p.clonedReferenceElement,B?[4,p.toIFrame(r,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return w=n.sent(),m=Do(B)||ko(B)?a(B.ownerDocument):o(f,B),b=m.width,y=m.height,v=m.left,C=m.top,Q=jc(f,B,t.backgroundColor),F={canvas:t.canvas,backgroundColor:Q,scale:null!==(M=null!==(T=t.scale)&&void 0!==T?T:i.devicePixelRatio)&&void 0!==M?M:1,x:(null!==(K=t.x)&&void 0!==K?K:0)+v,y:(null!==(R=t.y)&&void 0!==R?R:0)+C,width:null!==(j=t.width)&&void 0!==j?j:Math.ceil(b),height:null!==(V=t.height)&&void 0!==V?V:Math.ceil(y)},d?(f.logger.debug("Document cloned, using foreign object rendering"),I=new Dc(f,F),[4,I.render(B)]):[3,3];case 2:return U=n.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+v+","+C+" with size "+b+"x"+y+" using computed rendering"),f.logger.debug("Starting DOM parsing"),L=Fo(f,B),Q===L.styles.backgroundColor&&(L.styles.backgroundColor=mr.TRANSPARENT),f.logger.debug("Starting renderer for element at "+F.x+","+F.y+" with size "+F.width+"x"+F.height),I=new _c(f,F),[4,I.render(L)];case 4:U=n.sent(),n.label=5;case 5:return(null===(G=t.removeContainer)||void 0===G||G)&&(da.destroy(w)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,U]}}))}))},jc=function(A,t,e){var r=t.ownerDocument,n=r.documentElement?wr(A,getComputedStyle(r.documentElement).backgroundColor):mr.TRANSPARENT,i=r.body?wr(A,getComputedStyle(r.body).backgroundColor):mr.TRANSPARENT,s="string"===typeof e?wr(A,e):null===e?mr.TRANSPARENT:4294967295;return t===r.documentElement?ur(n)?ur(i)?s:i:n:s};return Kc}))}}]);
|