1function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var A=Object.prototype.toString.call(t).slice(8,-1);return"Object"===A&&t.constructor&&(A=t.constructor.name),"Map"===A||"Set"===A?Array.from(t):"Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A)?_arrayLikeToArray(t,e):void 0}}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var A=0,n=new Array(e);A<e;A++)n[A]=t[A];return n}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var A=0;A<e.length;A++){var n=e[A];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _createClass(t,e,A){return e&&_defineProperties(t.prototype,e),A&&_defineProperties(t,A),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"16wW":function(t,e,A){"use strict";var n={};(0,A("vn/o").assign)(n,A("QSbz"),A("cX6o"),A("LOvY")),t.exports=n},"7tol":function(t,e,A){"use strict";var n=function(){for(var t,e=[],A=0;A<256;A++){t=A;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[A]=t}return e}();t.exports=function(t,e,A,r){var i=n,o=r+A;t^=-1;for(var a=r;a<o;a++)t=t>>>8^i[255&(t^e[a])];return-1^t}},AD3X:function(t,e,A){"use strict";A.r(e),A.d(e,"ConsultationModule",(function(){return kn}));var n=A("ofXK"),r=A("tyNb"),i=A("AytR"),o=A("16wW"),a=A.n(o),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function c(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var l={log:c,warn:function(t){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):c.call(null,arguments))},error:function(t){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):c(t))}};function u(t,e,A){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){g(n.response,e,A)},n.onerror=function(){l.error("could not download file")},n.send()}function h(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function f(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(A){var e=document.createEvent("MouseEvents");
vendor: 3,137 bytes, line 1
1e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var d,p,g=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype?function(t,e,A){var n=s.URL||s.webkitURL,r=document.createElement("a");r.download=e=e||t.name||"download",r.rel="noopener","string"==typeof t?(r.href=t,r.origin!==location.origin?h(r.href)?u(t,e,A):f(r,r.target="_blank"):f(r)):(r.href=n.createObjectURL(t),setTimeout((function(){n.revokeObjectURL(r.href)}),4e4),setTimeout((function(){f(r)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,A){if(e=e||t.name||"download","string"==typeof t)if(h(t))u(t,e,A);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout((function(){f(n)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(l.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,A),e)}:function(t,e,A,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof t)return u(t,e,A);var r="application/octet-stream"===t.type,i=/constructor/i.test(s.HTMLElement)||s.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||r&&i)&&"object"==typeof FileReader){var a=new FileReader;a.onloadend=function(){var t=a.result;t=o?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=t:location=t,n=null},a.readAsDataURL(t)}else{var c=s.URL||s.webkitURL,l=c.createObjectURL(t);n?n.location=l:location.href=l,n=null,setTimeout((function(){c.revokeObjectURL(l)}),4e4)}});function B(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={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:"90ee9
10",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"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var A=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<A.length;n++){var r=A[n].process,i=A[n].re.exec(t);i&&(e=r(i),this.r=e[0],this.g=e[1],this.b=e[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 t=this.r.toString(16),e=this.g.toString(16),A=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==A.length&&(A="0"+A),"#"+t+e+A}}function b(t,e){var A=t[0],n=t[1],r=t[2],i=t[3];A=m(A,n,r,i,e[0],7,-680876936),i=m(i,A,n,r,e[1],12,-389564586),r=m(r,i,A,n,e[2],17,606105819),n=m(n,r,i,A,e[3],22,-1044525330),A=m(A,n,r,i,e[4],7,-176418897),i=m(i,A,n,r,e[5],12,1200080426),r=m(r,i,A,n,e[6],17,-1473231341),n=m(n,r,i,A,e[7],22,-45705983),A=m(A,n,r,i,e[8],7,1770035416),i=m(i,A,n,r,e[9],12,-1958414417),r=m(r,i,A,n,e[10],17,-42063),n=m(n,r,i,A,e[11],22,-1990404162),A=m(A,n,r,i,e[12],7,1804603682),i=m(i,A,n,r,e[13],12,-40341101),r=m(r,i,A,n,e[14],17,-1502002290),A=v(A,n=m(n,r,i,A,e[15],22,1236535329),r,i,e[1],5,-165796510),i=v(i,A,n,r,e[6],9,-1069501632),r=v(r,i,A,n,e[11],14,643717713),n=v(n,r,i,A,e[0],20,-373897302),A=v(A,n,r,i,e[5],5,-701558691),i=v(i,A,n,r,e[10],9,38016083),r=v(r,i,A,n,e[15],14,-660478335),n=v(n,r,i,A,e[4],20,-405537848),A=v(A,n,r,i,e[9],5,568446438),i=v(i,A,n,r,e[14],9,-1019803690),r=v(r,i,A,n,e[3],14,-187363961),n=v(n,r,i,A,e[8],20,1163531501),A=v(A,n,r,i,e[13],5,-1444681467),i=v(i,A,n,r,e[2],9,-51403784),r=v(r,i,A,n,e[7],14,1735328473),A=y(A,n=v(n,r,i,A,e[12],20,-1926607734),r,i,e[5],4,-378558),i=y(i,A,n,r,e[8],11,-2022574463),r=y(r,i,A,n,e[11],16,1839030562),n=y(n,r,i,A,e[14],23,-35309556),A=y(A,n,r,i,e[1],4,-1530992060),i=y(i,A,n,r,e[4],11,1272893353),r=y(r,i,A,n,e[7],16,-155497632),n=y(n,r,i,A,e[10],23,-1094730640),A=y(A,n,r,i,e[13],4,681279174),i=y(i,A,n,r,e[0],11,-358537222),r=y(r,i,A,n,e[3],16,-722521979),n=y(n,r,i,A,e[6],23,76029189),A=y(A,n,r,i,e[9],4,-640364487),i=y(i,A,n,r,e[12],11,-421815835),r=y(r,i,A,n,e[15],16,530742520),A=C(A,n=y(n,r,i,A,e[2],23,-995338651),r,i,e[0],6,-198630844),i=C(i,A,n,r,e[7],10,1126891415),r=C(r,i,A,n,e[14],15,-1416354905),n=C(n,r,i,A,e[5],21,-57434055),A=C(A,n,r,i,e[12],6,1700485571),i=C(i,A,n,r,e[3],10,-1894986606),r=C(r,i,A,n,e[10],15,-1051523),n=C(n,r,i,A,e[1],21,-2054922799),A=C(A,n,r,i,e[8],6,1873313359),i=C(i,A,n,r,e[15],10,-30611744),r=C(r,i,A,n,e[6],15,-1560198380),n=C(n,r,i,A,e[13],21,1309151649),A=C(A,n,r,i,e[4],6,-145523070),i=C(i,A,n,r,e[11],10,-1120210379),r=C(r,i,A,n,e[2],15,718787259),n=C(n,r,i,A,e[9],21,-343485551),t[0]=S(A,t[0]),t[1]=S(n,t[1]),t[2]=S(r,t[2]),t[3]=S(i,t[3])}function w(t,e,A,n,r,i){return e=S(S(e,t),S(n,i)),S(e<<r|e>>>32-r,A)}function m(t,e,A,n,r,i,o){return w(e&A|~e&n,t,e,r,i,o)}function v(t,e,A,n,r,i,o){return w(e&n|A&~n,t,e,r,i,o)}function y(t,e,A,n,r,i,o){return w(e^A^n,t,e,r,i,o)}function C(t,e,A,n,r,i,o){return w(A^(e|~n),t,e,r,i,o)}function Q(t){var e,A=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;
vendor: 11,299 bytes, line 1
1e+=64)b(n,U(t.substring(e-64,e)));t=t.substring(e-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)r[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(b(n,r),e=0;e<16;e++)r[e]=0;return r[14]=8*A,b(n,r),n}function U(t){var e,A=[];for(e=0;e<64;e+=4)A[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return A}d=s.atob.bind(s),p=s.btoa.bind(s);var F="0123456789abcdef".split("");function N(t){for(var e="",A=0;A<4;A++)e+=F[t>>8*A+4&15]+F[t>>8*A&15];return e}function E(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function _(t){return Q(t).map(E).join("")}function S(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=N(t[e]);return t.join("")}(Q("hello")));function L(t,e){var A,n,r;if(t!==A){for(var i=(r=t,new Array(1+(256/t.length>>0)+1).join(r)),o=[],a=0;a<256;a++)o[a]=a;var s=0;for(a=0;a<256;a++){var c=o[a];s=(s+c+i.charCodeAt(a))%256,o[a]=o[s],o[s]=c}A=t,n=o}else o=n;var l=e.length,u=0,h=0,f="";for(a=0;a<l;a++)h=(h+(c=o[u=(u+1)%256]))%256,o[u]=o[h],o[h]=c,i=o[(o[u]+o[h])%256],f+=String.fromCharCode(e.charCodeAt(a)^i);return f}var I={print:4,modify:8,copy:16,"annot-forms":32};function x(t,e,A,n){this.v=1,this.r=2;var r=192;t.forEach((function(t){if(void 0!==I.perm)throw new Error("Invalid permission: "+t);r+=I[t]})),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var i=(e+this.padding).substr(0,32),o=(A+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,o),this.P=-(1+(255^r)),this.encryptionKey=_(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=L(this.encryptionKey,this.padding)}function T(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,A,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof A||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var r=Math.random().toString(35);return e[t][r]=[A,!!n],r},this.unsubscribe=function(t){for(var A in e)if(e[A][t])return delete e[A][t],0===Object.keys(e[A]).length&&delete e[A],!0;return!1},this.publish=function(A){if(e.hasOwnProperty(A)){var n=Array.prototype.slice.call(arguments,1),r=[];for(var i in e[A]){var o=e[A][i];try{o[0].apply(t,n)}catch(t){s.console&&l.error("jsPDF PubSub Error",t.message,t)}o[1]&&r.push(i)}r.length&&r.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function H(t){if(!(this instanceof H))return new H(t);var e="opacity,stroke-opacity".split(",");for(var A in t)t.hasOwnProperty(A)&&e.indexOf(A)>=0&&(this[A]=t[A]);this.id="",this.objectNumber=-1}function k(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function P(t,e,A,n,r){if(!(this instanceof P))return new P(t,e,A,n,r);this.type="axial"===t?2:3,this.coords=e,this.colors=A,k.call(this,n,r)}function D(t,e,A,n,r){if(!(this instanceof D))return new D(t,e,A,n,r);this.boundingBox=t,this.xStep=e,this.yStep=A,this.stream="",this.cloneIndex=0,k.call(this,n,r)}function K(t){var e,A="string"==typeof arguments[0]?arguments[0]:"p",n=arguments[1],r=arguments[2],i=arguments[3],o=[],a=1,c=16,u="S",h=null;"object"==typeof(t=t||{})&&(A=t.orientation,n=t.unit||n,r=t.format||r,i=t.compress||t.compressPdf||i,null!==(h=t.encryption||null)&&(h.userPassword=h.userPassword||"",h.ownerPassword=h.ownerPassword||"",h.userPermissions=h.userPermissions||[]),a="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(c=t.floatPrecision),u=t.defaultPathOperation||"S"),o=t.filters||(!0===i?["FlateEncode"]:o),n=n||"mm",A=(""+(A||"P")).toLowerCase();var f=t.putOnlyUsedFonts||!1,d={},b={internal:{},__private__:{}};b.__private__.PubSub=T;var w="1.3",m=b.__private__.getPdfVersion=function(){return w};b.__private__.setPdfVersion=function(t){w=t};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]};b.__private__.getPageFormats=function(){return v};var y=b.__private__.getPageFormat=function(t){return v[t]};r=r||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},Q=C.COMPAT;function U(){this.saveGraphicsState(),st(new Mt(Ct,0,0,-Ct,0,HA()*Ct).toString()+" cm"),this.setFontSize(this.getFontSize()/Ct),u="n",Q=C.ADVANCED}function F(){this.restoreGraphicsState(),u="S",Q=C.COMPAT}b.advancedAPI=function(t){var e=Q===C.COMPAT;return e&&U.call(this),"function"!=typeof t||(t(this),e&&F.call(this)),this},b.compatAPI=function(t){var e=Q===C.ADVANCED;return e&&F.call(this),"function"!=typeof t||(t(this),e&&U.call(this)),this},b.isAdvancedAPI=function(){return Q===C.ADVANCED};var N,E=function(t){if(Q!==C.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},_=b.roundToPrecision=b.__private__.roundToPrecision=function(t,A){var n=e||A;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};N=b.hpf=b.__private__.hpf="number"==typeof c?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,c)}:"smart"===c?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return _(t,16)};var S=b.f2=b.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return _(t,2)},L=b.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return _(t,3)},I=b.scale=b.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return Q===C.COMPAT?t*Ct:Q===C.ADVANCED?t:void 0},k=function(t){return Q===C.COMPAT?HA()-t:Q===C.ADVANCED?t:void 0},O=function(t){return I(k(t))};b.__private__.setPrecision=b.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var R,M="00000000000000000000000000000000",z=b.__private__.getFileId=function(){return M},j=b.__private__.setFileId=function(t){return M=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():M.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==h&&(je=new x(h.userPermissions,h.userPassword,h.ownerPassword,M)),M};b.setFileId=function(t){return j(t),this},b.getFileId=function(){return z()};var V=b.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),A=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),i=[A,W(n),"'",W(r),"'"].join("");return["D:",t.getFullYear(),W(t.getMonth()+1),W(t.getDate()),W(t.getHours()),W(t.getMinutes()),W(t.getSeconds()),i].join("")},q=b.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),A=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),r=parseInt(t.substr(10,2),10),i=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,A,n,r,i,o,0)},G=b.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=V(t);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(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return R=e},X=b.__private__.getCreationDate=function(t){var e=R;return"jsDate"===t&&(e=q(R)),e};b.setCreationDate=function(t){return G(t),this},b.getCreationDate=function(t){return X(t)};var J,W=b.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},Y=b.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},Z=0,$=[],tt=[],et=0,At=[],nt=[],rt=!1,it=tt,ot=function(){Z=0,et=0,tt=[],$=[],At=[],Wt=Gt(),Yt=Gt()};b.__private__.setCustomOutputDestination=function(t){rt=!0,it=t};var at=function(t){rt||(it=t)};b.__private__.resetCustomOutputDestination=function(){rt=!1,it=tt};var st=b.__private__.out=function(t){return t=t.toString(),et+=t.length+1,it.push(t),it},ct=b.__private__.write=function(t){return st(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},lt=b.__private__.getArrayBuffer=function(t){for(var e=t.length,A=new ArrayBuffer(e),n=new Uint8Array(A);e--;)n[e]=t.charCodeAt(e);return A},ut=[["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]];b.__private__.getStandardFonts=function(){return ut};var ht=t.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(t){return ht=Q===C.ADVANCED?t/Ct:t,this};var ft,dt=b.__private__.getFontSize=b.getFontSize=function(){return Q===C.COMPAT?ht:ht*Ct},pt=t.R2L||!1;b.__private__.setR2L=b.setR2L=function(t){return pt=t,this},b.__private__.getR2L=b.getR2L=function(){return pt};var gt,Bt=b.__private__.setZoomMode=function(t){if(/^\d*\.?\d*%$/.test(t))ft=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');ft=t}else ft=parseInt(t,10)};b.__private__.getZoomMode=function(){return ft};var bt,wt=b.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');gt=t};b.__private__.getPageMode=function(){return gt};var mt=b.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');bt=t};b.__private__.getLayoutMode=function(){return bt}
vendor: 4,888 bytes, line 1
1,b.__private__.setDisplayMode=b.setDisplayMode=function(t,e,A){return Bt(t),mt(e),wt(A),this};var vt={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(t){if(-1===Object.keys(vt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return vt[t]},b.__private__.getDocumentProperties=function(){return vt},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(t){for(var e in vt)vt.hasOwnProperty(e)&&t[e]&&(vt[e]=t[e]);return this},b.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(vt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return vt[t]=e};var yt,Ct,Qt,Ut,Ft,Nt={},Et={},_t=[],St={},Lt={},It={},xt={},Tt=null,Ht=0,kt=[],Pt=new T(b),Dt=t.hotfixes||[],Kt={},Ot={},Rt=[],Mt=function t(e,A,n,r,i,o){if(!(this instanceof t))return new t(e,A,n,r,i,o);isNaN(e)&&(e=1),isNaN(A)&&(A=0),isNaN(n)&&(n=0),isNaN(r)&&(r=1),isNaN(i)&&(i=0),isNaN(o)&&(o=0),this._matrix=[e,A,n,r,i,o]};Object.defineProperty(Mt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Mt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Mt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Mt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Mt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Mt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Mt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Mt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Mt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Mt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Mt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Mt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Mt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Mt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Mt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Mt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Mt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(N).join(t)},Mt.prototype.multiply=function(t){return new Mt(t.sx*this.sx+t.shy*this.shx,t.sx*this.shy+t.shy*this.sy,t.shx*this.sx+t.sy*this.shx,t.shx*this.shy+t.sy*this.sy,t.tx*this.sx+t.ty*this.shx+this.tx,t.tx*this.shy+t.ty*this.sy+this.ty)},Mt.prototype.decompose=function(){var t=this.sx,e=this.shy,A=this.shx,n=this.sy,r=this.tx,i=this.ty,o=Math.sqrt(t*t+e*e),a=(t/=o)*A+(e/=o)*n;A-=t*a,n-=e*a;var s=Math.sqrt(A*A+n*n);return a/=s,t*(n/=s)<e*(A/=s)&&(t=-t,e=-e,a=-a,o=-o),{scale:new Mt(o,0,0,s,0,0),translate:new Mt(1,0,0,1,r,i),rotate:new Mt(t,e,-e,t,0,0),skew:new Mt(1,0,a,1,0,0)}},Mt.prototype.toString=function(t){return this.join(" ")},Mt.prototype.inversed=function(){var t=this.sx,e=this.shy,A=this.shx,n=this.sy,r=this.tx,i=this.ty,o=1/(t*n-e*A),a=n*o,s=-e*o,c=-A*o,l=t*o;return new Mt(a,s,c,l,-a*r-c*i,-s*r-l*i)},Mt.prototype.applyToPoint=function(t){return new NA(t.x*this.sx+t.y*this.shx+this.tx,t.x*this.shy+t.y*this.sy+this.ty)},Mt.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),A=this.applyToPoint(new NA(t.x+t.w,t.y+t.h));return new EA(e.x,e.y,A.x-e.x,A.y-e.y)},Mt.prototype.clone=function(){return new Mt(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},b.Matrix=Mt;var zt=b.matrixMult=function(t,e){return e.multiply(t)},jt=new Mt(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=jt;var Vt=function(t,e){if(!Lt[t]){var A=(e instanceof P?"Sh":"P")+(Object.keys(St).length+1).toString(10);e.id=A,Lt[t]=A,St[A]=e,Pt.publish("addPattern",e)}};b.ShadingPattern=P,b.TilingPattern=D,b.addShadingPattern=function(t,e){return E("addShadingPattern()"),Vt(t,e),this},b.beginTilingPattern=function(t){E("beginTilingPattern()"),SA(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},b.endTilingPattern=function(t,e){E("endTilingPattern()"),e.stream=nt[J].join("\n"),Vt(t,e),Pt.publish("endTilingPattern",e),Rt.pop().restore(
vendor: 18,331 bytes, line 1
1)};var qt=b.__private__.newObject=function(){var t=Gt();return Xt(t,!0),t},Gt=b.__private__.newObjectDeferred=function(){return Z++,$[Z]=function(){return et},Z},Xt=function(t,e){return e="boolean"==typeof e&&e,$[t]=et,e&&st(t+" 0 obj"),t},Jt=b.__private__.newAdditionalObject=function(){var t={objId:Gt(),content:""};return At.push(t),t},Wt=Gt(),Yt=Gt(),Zt=b.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1])5!==e.length||"k"!==e[4]&&"K"!==e[4]||(e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]);else{var A=parseFloat(e[0]);e=[A,A,A,"r"]}for(var n="#",r=0;r<3;r++)n+=("0"+Math.floor(255*parseFloat(e[r])).toString(16)).slice(-2);return n},$t=b.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var A=t.ch1,n=t.ch2,r=t.ch3,i=t.ch4,o="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof A&&"#"!==A.charAt(0)){var a=new B(A);if(a.ok)A=a.toHex();else if(!/^\d*\.?\d*$/.test(A))throw new Error('Invalid color "'+A+'" passed to jsPDF.encodeColorString.')}if("string"==typeof A&&/^#[0-9A-Fa-f]{3}$/.test(A)&&(A="#"+A[1]+A[1]+A[2]+A[2]+A[3]+A[3]),"string"==typeof A&&/^#[0-9A-Fa-f]{6}$/.test(A)){var s=parseInt(A.substr(1),16);A=s>>16&255,n=s>>8&255,r=255&s}if(void 0===n||void 0===i&&A===n&&n===r)if("string"==typeof A)e=A+" "+o[0];else switch(t.precision){case 2:e=S(A/255)+" "+o[0];break;case 3:default:e=L(A/255)+" "+o[0]}else if(void 0===i||"object"==typeof i){if(i&&!isNaN(i.a)&&0===i.a)return["1.","1.","1.",o[1]].join(" ");if("string"==typeof A)e=[A,n,r,o[1]].join(" ");else switch(t.precision){case 2:e=[S(A/255),S(n/255),S(r/255),o[1]].join(" ");break;default:case 3:e=[L(A/255),L(n/255),L(r/255),o[1]].join(" ")}}else if("string"==typeof A)e=[A,n,r,i,o[2]].join(" ");else switch(t.precision){case 2:e=[S(A),S(n),S(r),S(i),o[2]].join(" ");break;case 3:default:e=[L(A),L(n),L(r),L(i),o[2]].join(" ")}return e},te=b.__private__.getFilters=function(){return o},ee=b.__private__.putStream=function(t){var e=(t=t||{}).data||"",A=t.filters||te(),n=t.alreadyAppliedFilters||[],r=t.addLength1||!1,i=e.length,o=t.objectId,a=function(t){return t};if(null!==h&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==h&&(a=je.encryptor(o,0));var s={};!0===A&&(A=["FlateEncode"]);var c=t.additionalKeyValues||[],l=(s=void 0!==K.API.processDataByFilters?K.API.processDataByFilters(e,A):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==s.data.length&&(c.push({key:"Length",value:s.data.length}),!0===r&&c.push({key:"Length1",value:i})),0!=l.length)if(l.split("/").length-1==1)c.push({key:"Filter",value:l});else{c.push({key:"Filter",value:"["+l+"]"});for(var u=0;u<c.length;u+=1)if("DecodeParms"===c[u].key){for(var f=[],d=0;d<s.reverseChain.split("/").length-1;d+=1)f.push("null");f.push(c[u].value),c[u].value="["+f.join(" ")+"]"}}st("<<");for(var p=0;p<c.length;p++)st("/"+c[p].key+" "+c[p].value);st(">>"),0!==s.data.length&&(st("stream"),st(a(s.data)),st("endstream"))},Ae=b.__private__.putPage=function(t){var e=t.number,A=t.data,n=t.objId,r=t.contentsObjId;Xt(n,!0),st("<</Type /Page"),st("/Parent "+t.rootDictionaryObjId+" 0 R"),st("/Resources "+t.resourceDictionaryObjId+" 0 R"),st("/MediaBox ["+parseFloat(N(t.mediaBox.bottomLeftX))+" "+parseFloat(N(t.mediaBox.bottomLeftY))+" "+N(t.mediaBox.topRightX)+" "+N(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&st("/CropBox ["+N(t.cropBox.bottomLeftX)+" "+N(t.cropBox.bottomLeftY)+" "+N(t.cropBox.topRightX)+" "+N(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&st("/BleedBox ["+N(t.bleedBox.bottomLeftX)+" "+N(t.bleedBox.bottomLeftY)+" "+N(t.bleedBox.topRightX)+" "+N(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&st("/TrimBox ["+N(t.trimBox.bottomLeftX)+" "+N(t.trimBox.bottomLeftY)+" "+N(t.trimBox.topRightX)+" "+N(t.trimBox.topRightY)+"]"),null!==t.artBox&&st("/ArtBox ["+N(t.artBox.bottomLeftX)+" "+N(t.artBox.bottomLeftY)+" "+N(t.artBox.topRightX)+" "+N(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&st("/UserUnit "+t.userUnit),Pt.publish("putPage",{objId:n,pageContext:kt[e],pageNumber:e,page:A}),st("/Contents "+r+" 0 R"),st(">>"),st("endobj");var i=A.join("\n");return Q===C.ADVANCED&&(i+="\nQ"),Xt(r,!0),ee({data:i,filters:te(),objectId:r}),st("endobj"),n},ne=b.__private__.putPages=function(){var t,e,A=[];for(t=1;t<=Ht;t++)kt[t].objId=Gt(),kt[t].contentsObjId=Gt();for(t=1;t<=Ht;t++)A.push(Ae({number:t,data:nt[t],objId:kt[t].objId,contentsObjId:kt[t].contentsObjId,mediaBox:kt[t].mediaBox,cropBox:kt[t].cropBox,bleedBox:kt[t].bleedBox,trimBox:kt[t].trimBox,artBox:kt[t].artBox,userUnit:kt[t].userUnit,rootDictionaryObjId:Wt,resourceDictionaryObjId:Yt}));Xt(Wt,!0),st("<</Type /Pages");var n="/Kids [";for(e=0;e<Ht;e++)n+=A[e]+" 0 R ";st(n+"]"),st("/Count "+Ht),st(">>"),st("endobj"),Pt.publish("postPutPages")},re=function(t){var e=function(t,e){return-1!==t.indexOf(" ")?"("+Ee(t,e)+")":Ee(t,e)};Pt.publish("putFont",{font:t,out:st,newObject:qt,putStream:ee,pdfEscapeWithNeededParanthesis:e}),!0!==t.isAlreadyPutted&&(t.objectNumber=qt(),st("<<"),st("/Type /Font"),st("/BaseFont /"+e(t.postScriptName)),st("/Subtype /Type1"),"string"==typeof t.encoding&&st("/Encoding /"+t.encoding),st("/FirstChar 32"),st("/LastChar 255"),st(">>"),st("endobj"))},ie=function(){for(var t in Nt)Nt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&re(Nt[t])},oe=function(t){t.objectNumber=qt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[N(t.x),N(t.y),N(t.x+t.width),N(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var A=t.pages[1].join("\n");ee({data:A,additionalKeyValues:e,objectId:t.objectNumber}),st("endobj")},ae=function(){for(var t in Kt)Kt.hasOwnProperty(t)&&oe(Kt[t])},se=function(t,e){var A,n=[],r=1/(e-1);for(A=0;A<1;A+=r)n.push(A);n.push(1),0!=t[0].offset&&t.unshift({offset:0,color:t[0].color}),1!=t[t.length-1].offset&&t.push({offset:1,color:t[t.length-1].color});for(var i="",o=0,a=0;a<n.length;a++){for(A=n[a];A>t[o+1].offset;)o++;var s=t[o].offset,c=(A-s)/(t[o+1].offset-s),l=t[o].color,u=t[o+1].color;i+=Y(Math.round((1-c)*l[0]+c*u[0]).toString(16))+Y(Math.round((1-c)*l[1]+c*u[1]).toString(16))+Y(Math.round((1-c)*l[2]+c*u[2]).toString(16))}return i.trim()},ce=function(t,e){e||(e=21);var A=qt(),n=se(t.colors,e),r=[];r.push({key:"FunctionType",value:"0"}),r.push({key:"Domain",value:"[0.0 1.0]"}),r.push({key:"Size",value:"["+e+"]"}),r.push({key:"BitsPerSample",value:"8"}),r.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),r.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ee({data:n,additionalKeyValues:r,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:A}),st("endobj"),t.objectNumber=qt(),st("<< /ShadingType "+t.type),st("/ColorSpace /DeviceRGB");var i="/Coords ["+N(parseFloat(t.coords[0]))+" "+N(parseFloat(t.coords[1]))+" ";i+=2===t.type?N(parseFloat(t.coords[2]))+" "+N(parseFloat(t.coords[3])):N(parseFloat(t.coords[2]))+" "+N(parseFloat(t.coords[3]))+" "+N(parseFloat(t.coords[4]))+" "+N(parseFloat(t.coords[5])),st(i+="]"),t.matrix&&st("/Matrix ["+t.matrix.toString()+"]"),st("/Function "+A+" 0 R"),st("/Extend [true true]"),st(">>"),st("endobj")},le=function(t,e){var A=Gt(),n=qt();e.push({resourcesOid:A,objectOid:n}),t.objectNumber=n;var r=[];r.push({key:"Type",value:"/Pattern"}),r.push({key:"PatternType",value:"1"}),r.push({key:"PaintType",value:"1"}),r.push({key:"TilingType",value:"1"}),r.push({key:"BBox",value:"["+t.boundingBox.map(N).join(" ")+"]"}),r.push({key:"XStep",value:N(t.xStep)}),r.push({key:"YStep",value:N(t.yStep)}),r.push({key:"Resources",value:A+" 0 R"}),t.matrix&&r.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ee({data:t.stream,additionalKeyValues:r,objectId:t.objectNumber}),st("endobj")},ue=function(t){var e;for(e in St)St.hasOwnProperty(e)&&(St[e]instanceof P?ce(St[e]):St[e]instanceof D&&le(St[e],t))},he=function(t){for(var e in t.objectNumber=qt(),st("<<"),t)switch(e){case"opacity":st("/ca "+S(t[e]));break;case"stroke-opacity":st("/CA "+S(t[e]))}st(">>"),st("endobj")},fe=function(){var t;for(t in It)It.hasOwnProperty(t)&&he(It[t])},de=function(){for(var t in st("/XObject <<"),Kt)Kt.hasOwnProperty(t)&&Kt[t].objectNumber>=0&&st("/"+t+" "+Kt[t].objectNumber+" 0 R");Pt.publish("putXobjectDict"),st(">>")},pe=function(){je.oid=qt(),st("<<"),st("/Filter /Standard"),st("/V "+je.v),st("/R "+je.r),st("/U <"+je.toHexString(je.U)+">"),st("/O <"+je.toHexString(je.O)+">"),st("/P "+je.P),st(">>"),st("endobj")},ge=function(){for(var t in st("/Font <<"),Nt)Nt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&st("/"+t+" "+Nt[t].objectNumber+" 0 R");st(">>")},Be=function(){if(Object.keys(St).length>0){for(var t in st("/Shading <<"),St)St.hasOwnProperty(t)&&St[t]instanceof P&&St[t].objectNumber>=0&&st("/"+t+" "+St[t].objectNumber+" 0 R");Pt.publish("putShadingPatternDict"),st(">>")}},be=function(t){if(Object.keys(St).length>0){for(var e in st("/Pattern <<"),St)St.hasOwnProperty(e)&&St[e]instanceof b.TilingPattern&&St[e].objectNumber>=0&&St[e].objectNumber<t&&st("/"+e+" "+St[e].objectNumber+" 0 R");Pt.publish("putTilingPatternDict"),st(">>")}},we=function(){if(Object.keys(It).length>0){var t;for(t in st("/ExtGState <<"),It)It.hasOwnProperty(t)&&It[t].objectNumber>=0&&st("/"+t+" "+It[t].objectNumber+" 0 R");Pt.publish("putGStateDict"),st(">>")}},me=function(t){Xt(t.resourcesOid,!0),st("<<"),st("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ge(),Be(),be(t.objectOid),we(),de(),st(">>"),st("endobj")},ve=function(){var t=[];ie(),fe(),ae(),ue(t),Pt.publish("putResources"),t.forEach(me),me({resourcesOid:Yt,objectOid:Number.MAX_SAFE_INTEGER}),Pt.publish("postPutResources")},ye=function(){Pt.publish("putAdditionalObjects");for(var t=0;t<At.length;t++){var e=At[t];Xt(e.objId,!0),st(e.content),st("endobj")}Pt.publish("postPutAdditionalObjects")},Ce=function(t){Et[t.fontName]=Et[t.fontName]||{},Et[t.fontName][t.fontStyle]=t.id},Qe=function(t,e,A,n,r){var i={id:"F"+(Object.keys(Nt).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:A,encoding:n,isStandardFont:r||!1,metadata:{}};return Pt.publish("addFont",{font:i,instance:this}),Nt[i.id]=i,Ce(i),i.id},Ue=function(t){for(var e=0,A=ut.length;e<A;e++){var n=Qe.call(this,t[e][0],t[e][1],t[e][2],ut[e][3],!0);!1===f&&(d[n]=!0);var r=t[e][0].split("-");Ce({id:n,fontName:r[0],fontStyle:r[1]||""})}Pt.publish("addFonts",{fonts:Nt,dictionary:Et})},Fe=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var A="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!s.console)throw new Error(A);s.console.error(A,t),s.alert&&alert(A)}},t.foo.bar=t,t.foo},Ne=function(t,e){var A,n,r,i,o,a,s,c,l;if(r=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&Nt[yt].metadata&&Nt[yt].metadata[r]&&Nt[yt].metadata[r].encoding&&(i=Nt[yt].metadata[r].encoding,!o&&Nt[yt].encoding&&(o=Nt[yt].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(s=!1,a=[],A=0,n=t.length;A<n;A++)(c=o[t.charCodeAt(A)])?a.push(String.fromCharCode(c)):a.push(t[A]),a[A].charCodeAt(0)>>8&&(s=!0);t=a.join("")}for(A=t.length;void 0===s&&0!==A;)t.charCodeAt(A-1)>>8&&(s=!0),A--;if(!s)return t;for(a=e.noBOM?[]:[254,255],A=0,n=t.length;A<n;A++){if((l=(c=t.charCodeAt(A))>>8)>>8)throw new Error("Character at position "+A+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(l),a.push(c-(l<<8))}return String.fromCharCode.apply(void 0,a)},Ee=b.__private__.pdfEscape=b.pdfEscape=function(t,e){return Ne(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},_e=b.__private__.beginPage=function(t){nt[++Ht]=[],kt[Ht]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Ie(Ht),at(nt[J])},Se=function(t,e){var n,i,o;switch(A=e||A,"string"==typeof t&&(n=y(t.toLowerCase()),Array.isArray(n)&&(i=n[0],o=n[1])),Array.isArray(t)&&(i=t[0]*Ct,o=t[1]*Ct),isNaN(i)&&(i=r[0],o=r[1]),(i>14400||o>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),o=Math.min(14400,o)),r=[i,o],A.substr(0,1)){case"l":o>i&&(r=[o,i]);break;case"p":i>o&&(r=[o,i])}_e(r),lA(cA),st(bA),0!==QA&&st(QA+" J"),0!==UA&&st(UA+" j"),Pt.publish("addPage",{pageNumber:Ht})},Le=function(t){t>0&&t<=Ht&&(nt.splice(t,1),kt.splice(t,1),Ht--,J>Ht&&(J=Ht),this.setPage(J))},Ie=function(t){t>0&&t<=Ht&&(J=t)},xe=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return nt.length-1},Te=function(t,e,A){var n,r=void 0;return A=A||{},e=void 0!==e?e:Nt[yt].fontStyle,n=(t=void 0!==t?t:Nt[yt].fontName).toLowerCase(),void 0!==Et[n]&&void 0!==Et[n][e]?r=Et[n][e]:void 0!==Et[t]&&void 0!==Et[t][e]?r=Et[t][e]:!1===A.disableWarning&&l.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),r||A.noFallback||null==(r=Et.times[e])&&(r=Et.times.normal),r},He=b.__private__.putInfo=function(){var t=qt(),e=function(t){return t};for(var A in null!==h&&(e=je.encryptor(t,0)),st("<<"),st("/Producer ("+Ee(e("jsPDF "+K.version))+")"),vt)vt.hasOwnProperty(A)&&vt[A]&&st("/"+A.substr(0,1).toUpperCase()+A.substr(1)+" ("+Ee(e(vt[A]))+")");st("/CreationDate ("+Ee(e(R))+")"),st(">>"),st("endobj")},ke=b.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Wt;switch(qt(),st("<<"),st("/Type /Catalog"),st("/Pages "+e+" 0 R"),ft||(ft="fullwidth"),ft){case"fullwidth":st("/OpenAction [3 0 R /FitH null]");break;case"fullheight":st("/OpenAction [3 0 R /FitV null]");break;case"fullpage":st("/OpenAction [3 0 R /Fit]");break;case"original":st("/OpenAction [3 0 R /XYZ null null 1]");break;default:var A=""+ft;"%"===A.substr(A.length-1)&&(ft=parseInt(ft)/100),"number"==typeof ft&&st("/OpenAction [3 0 R /XYZ null null "+S(ft)+"]")}switch(bt||(bt="continuous"),bt){case"continuous":st("/PageLayout /OneColumn");break;case"single":st("/PageLayout /SinglePage");break;case"two":case"twoleft":st("/PageLayout /TwoColumnLeft");break;case"tworight":st("/PageLayout /TwoColumnRight")}gt&&st("/PageMode /"+gt),Pt.publish("putCatalog"),st(">>"),st("endobj")},Pe=b.__private__.putTrailer=function(){st("trailer"),st("<<"),st("/Size "+(Z+1)),st("/Root "+Z+" 0 R"),st("/Info "+(Z-1)+" 0 R"),null!==h&&st("/Encrypt "+je.oid+" 0 R"),st("/ID [ <"+M+"> <"+M+"> ]"),st(">>")},De=b.__private__.putHeader=function(){st("%PDF-"+w),st("%\xba\xdf\xac\xe0")},Ke=b.__private__.putXRef=function(){var t="0000000000";st("xref"),st("0 "+(Z+1)),st("0000000000 65535 f ");for(var e=1;e<=Z;e++)st("function"==typeof $[e]?(t+$[e]()).slice(-10)+" 00000 n ":void 0!==$[e]?(t+$[e]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},Oe=b.__private__.buildDocument=function(){ot(),at(tt),Pt.publish("buildDocument"),De(),ne(),ye(),ve(),null!==h&&pe(),He(),ke();var t=et;return Ke(),Pe(),st("startxref"),st(""+t),st("%%EOF"),at(nt[J]),tt.join("\n")},Re=b.__private__.getBlob=function(t){return new Blob([lt(t)],{type:"application/pdf"})},Me=b.output=b.__private__.output=Fe((function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return Oe();case"save":b.save(e.filename);break;case"arraybuffer":return lt(Oe());case"blob":return Re(Oe());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(Re(Oe()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var A="",n=Oe();try{A=p(n)}catch(t){A=p(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+A;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var r='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(e.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(e)+");<\/script></body></html>",i=s.open();return null!==i&&i.document.write(r),i}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(e.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+e.filename+'" width="500px" height="400px" /></body></html>',a=s.open();if(null!==a){a.document.write(o);var c=this;a.document.documentElement.querySelector("#pdfViewer").onload=function(){a.document.title=e.filename,a.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return a}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 u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",e)+'"></iframe></body></html>',h=s.open();if(null!==h&&(h.document.write(u),h.document.title=e.filename),h||"undefined"==typeof safari)return h;break;case"datauri":case"dataurl":return s.document.location.href=this.output("datauristring",e);default:return null}})),ze=function(t){return!0===Array.isArray(Dt)&&Dt.indexOf(t)>-1};switch(n){case"pt":Ct=1;break;case"mm":Ct=72/25.4;break;case"cm":Ct=72/2.54;break;case"in":Ct=72;break;case"px":Ct=1==ze("px_scaling")?.75:96/72;break;case"pc":case"em":Ct=12;break;case"ex":Ct=6;break;default:throw new Error("Invalid unit: "+n)}var je=null;G(),j();var Ve=function(t){return null!==h?je.encryptor(t,0):function(t){return t}},qe=b.__private__.getPageInfo=b.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to
1jsPDF.getPageInfo");return{objId:kt[t].objId,pageNumber:t,pageContext:kt[t]}},Ge=b.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in kt)if(kt[e].objId===t)break;return qe(e)},Xe=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:kt[J].objId,pageNumber:J,pageContext:kt[J]}};b.addPage=function(){return Se.apply(this,arguments),this},b.setPage=function(){return Ie.apply(this,arguments),at.call(this,nt[J]),this},b.insertPage=function(t){return this.addPage(),this.movePage(J,t),this},b.movePage=function(t,e){var A,n;if(t>e){A=nt[t],n=kt[t];for(var r=t;r>e;r--)nt[r]=nt[r-1],kt[r]=kt[r-1];nt[e]=A,kt[e]=n,this.setPage(e)}else if(t<e){A=nt[t],n=kt[t];for(var i=t;i<e;i++)nt[i]=nt[i+1],kt[i]=kt[i+1];nt[e]=A,kt[e]=n,this.setPage(e)}return this},b.deletePage=function(){return Le.apply(this,arguments),this},b.__private__.text=b.text=function(t,e,A,n,r){var i,o,a,s,c,l,u,h,f=(n=n||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof A||Array.isArray(A))){var p=A;A=e,e=t,t=p}if(arguments[3]instanceof Mt==0?(a=arguments[4],s=arguments[5],"object"==typeof(u=arguments[3])&&null!==u||("string"==typeof a&&(s=a,a=null),"string"==typeof u&&(s=u,u=null),"number"==typeof u&&(a=u,u=null),n={flags:u,angle:a,align:s})):(E("The transform parameter of text() with a Matrix value"),h=r),isNaN(e)||isNaN(A)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return f;var g="",B=!1,b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:sA,w=f.internal.scaleFactor;function m(t){return t=t.split("\t").join(Array(n.TabLen||9).join(" ")),Ee(t,u)}function v(t){for(var e,A=t.concat(),n=[],r=A.length;r--;)"string"==typeof(e=A.shift())?n.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?n.push(e[0]):n.push([e[0],e[1],e[2]]);return n}function y(t,e){var A;if("string"==typeof t)A=e(t)[0];else if(Array.isArray(t)){for(var n,r,i=t.concat(),o=[],a=i.length;a--;)"string"==typeof(n=i.shift())?o.push(e(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(r=e(n[0],n[1],n[2]),o.push([r[0],r[1],r[2]]));A=o}return A}var U=!1,F=!0;if("string"==typeof t)U=!0;else if(Array.isArray(t)){var _=t.concat();o=[];for(var S,L=_.length;L--;)("string"!=typeof(S=_.shift())||Array.isArray(S)&&"string"!=typeof S[0])&&(F=!1);U=F}if(!1===U)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var x=ht/f.internal.scaleFactor,T=x*(sA-1);switch(n.baseline){case"bottom":A-=T;break;case"top":A+=x-T;break;case"hanging":A+=x-2*T;break;case"middle":A+=x/2-T}if((l=n.maxWidth||0)>0&&("string"==typeof t?t=f.splitTextToSize(t,l):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(f.splitTextToSize(e,l))}),[]))),Pt.publish("preProcessText",i={text:t,x:e,y:A,options:n,mutex:{pdfEscape:Ee,activeFontKey:yt,fonts:Nt,activeFontSize:ht}}),t=i.text,a=(n=i.options).angle,h instanceof Mt==0&&a&&"number"==typeof a){a*=Math.PI/180,0===n.rotationDirection&&(a=-a),Q===C.ADVANCED&&(a=-a);var H=Math.cos(a),k=Math.sin(a);h=new Mt(H,k,-k,H,0,0)}else a&&a instanceof Mt&&(h=a);Q!==C.ADVANCED||h||(h=jt),void 0!==(c=n.charSpace||yA)&&(g+=N(I(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0));var P=-1,D=void 0!==n.renderingMode?n.renderingMode:n.stroke,K=f.internal.getCurrentPageInfo().pageContext;switch(D){case 0:case!1:case"fill":P=0;break;case 1:case!0:case"stroke":P=1;break;case 2:case"fillThenStroke":P=2;break;case 3:case"invisible":P=3;break;case 4:case"fillAndAddForClipping":P=4;break;case 5:case"strokeAndAddPathForClipping":P=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":P=6;break;case 7:case"addToPathForClipping":P=7}var O=void 0!==K.usedRenderingMode?K.usedRenderingMode:-1;-1!==P?g+=P+" Tr\n":-1!==O&&(g+="0 Tr\n"),-1!==P&&(K.usedRenderingMode=P),s=n.align||"left";var R,M=ht*b,z=f.internal.pageSize.getWidth(),j=Nt[yt];c=n.charSpace||yA,l=n.maxWidth||0,u={};var V=[];if("[object Array]"===Object.prototype.toString.call(t)){var q;o=v(t),"left"!==s&&(R=o.map((function(t){return f.getStringUnitWidth(t,{font:j,charSpace:c,fontSize:ht,doKerning:!1})*ht/w}
vendor: 4,314 bytes, line 1
1)));var G,X=0;if("right"===s){e-=R[0],t=[],L=o.length;for(var J=0;J<L;J++)0===J?(G=dA(e),q=pA(A)):(G=I(X-R[J]),q=-M),t.push([o[J],G,q]),X=R[J]}else if("center"===s){e-=R[0]/2,t=[],L=o.length;for(var W=0;W<L;W++)0===W?(G=dA(e),q=pA(A)):(G=I((X-R[W])/2),q=-M),t.push([o[W],G,q]),X=R[W]}else if("left"===s){t=[],L=o.length;for(var Y=0;Y<L;Y++)t.push(o[Y])}else{if("justify"!==s)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],L=o.length,l=0!==l?l:z;for(var Z=0;Z<L;Z++)q=0===Z?pA(A):-M,G=0===Z?dA(e):0,Z<L-1&&V.push(N(I((l-R[Z])/(o[Z].split(" ").length-1)))),t.push([o[Z],G,q])}}var $="boolean"==typeof n.R2L?n.R2L:pt;!0===$&&(t=y(t,(function(t,e,A){return[t.split("").reverse().join(""),e,A]}))),Pt.publish("postProcessText",i={text:t,x:e,y:A,options:n,mutex:{pdfEscape:Ee,activeFontKey:yt,fonts:Nt,activeFontSize:ht}}),t=i.text,B=i.mutex.isHex||!1;var tt=Nt[yt].encoding;"WinAnsiEncoding"!==tt&&"StandardEncoding"!==tt||(t=y(t,(function(t,e,A){return[m(t),e,A]}))),o=v(t),t=[];for(var et,At,nt,rt=0,it=1,ot=Array.isArray(o[0])?it:rt,at="",ct=function(t,e,A){var r="";return A instanceof Mt?(A="number"==typeof n.angle?zt(A,new Mt(1,0,0,1,t,e)):zt(new Mt(1,0,0,1,t,e),A),Q===C.ADVANCED&&(A=zt(new Mt(1,0,0,-1,0,0),A)),r=A.join(" ")+" Tm\n"):r=N(t)+" "+N(e)+" Td\n",r},lt=0;lt<o.length;lt++){switch(at="",ot){case it:nt=(B?"<":"(")+o[lt][0]+(B?">":")"),et=parseFloat(o[lt][1]),At=parseFloat(o[lt][2]);break;case rt:nt=(B?"<":"(")+o[lt]+(B?">":")"),et=dA(e),At=pA(A)}void 0!==V&&void 0!==V[lt]&&(at=V[lt]+" Tw\n"),0===lt?t.push(at+ct(et,At,h)+nt):ot===rt?t.push(at+nt):ot===it&&t.push(at+ct(et,At,h)+nt)}t=t.join(ot===rt?" Tj\nT* ":" Tj\n"),t+=" Tj\n";var ut="BT\n/";return ut+=yt+" "+ht+" Tf\n",ut+=N(ht*b)+" TL\n",ut+=mA+"\n",ut+=g,ut+=t,st(ut+="ET"),d[yt]=!0,f};var Je=b.__private__.clip=b.clip=function(t){return st("evenodd"===t?"W*":"W"),this};b.clipEvenOdd=function(){return Je("evenodd")},b.__private__.discardPath=b.discardPath=function(){return st("n"),this};var We=b.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(t){return We(t)&&(u=t),this};var Ye=b.__private__.getStyle=b.getStyle=function(t){var e=u;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},Ze=b.close=function(){return st("h"),this};b.stroke=function(){return st("S"),this},b.fill=function(t){return $e("f",t),this},b.fillEvenOdd=function(t){return $e("f*",t),this},b.fillStroke=function(t){return $e("B",t),this},b.fillStrokeEvenOdd=function(t){return $e("B*",t),this};var $e=function(t,e){"object"==typeof e?AA(e,t):st(t)},tA=function(t){null===t||Q===C.ADVANCED&&void 0===t||(t=Ye(t),st(t))};function eA(t,e,A,n,r){var i=new D(e||this.boundingBox,A||this.xStep,n||this.yStep,this.gState,r||this.matrix);i.stream=this.stream;var o=t+"$$"+this.cloneIndex+++"$$";return Vt(o,i),i}var AA=function(t,e){var A=Lt[t.key],n=St[A];if(n instanceof P)st("q"),st(nA(e)),n.gState&&b.setGState(n.gState),st(t.matrix.toString()+" cm"),st("/"+A+" sh"),st("Q");else if(n instanceof D){var r=new Mt(1,0,0,-1,0,HA());t.matrix&&(r=r.multiply(t.matrix||jt),A=eA.call(n,t.key,t.boundingBox,t.xStep,t.yStep,r).id),st("q"),st("/Pattern cs"),st("/"+A+" scn"),n.gState&&b.setGState(n.gState),st(e),st("Q")}},nA=function(t){switch(t){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"}},rA=b.moveTo=function(t,e){return st(N(I(t))+" "+N(O(e))+" m"),this},iA=b.lineTo=function(t,e){return st(N(I(t))+" "+N(O(e))+" l"),this},oA=b.curveTo=function(t,e,A,n,r,i){return st([N(I(t)),N(O(e)),N(I(A)),N(O(n)),N(I(r)),N(O(i)),"c"].join(" ")),this};b.__private__.line=b.line=function(t,e,A,n,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||!We(r))throw new Error("Invalid arguments passed to jsPDF.line");return Q===C.COMPAT?this.lines([[A-t,n-e]],t,e,[1,1],r||"S"):this.lines([[A-t,n-e]],t,e,[1,1]).stroke()},b.__private__.lines=b.lines=function(t,e,A,n,r,i){var o,a,s,c,l,u,h,f;if("number"==typeof t&&(f=A,A=e,e=t,t=f),n=n||[1,1],i=i||!1,isNaN(e)||isNaN(A)||!Array.isArray(t)||!Array.isArray(n)||
vendor: 1,700 bytes, line 1
1!We(r)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(rA(e,A),o=n[0],a=n[1],c=t.length,u=e,h=A,s=0;s<c;s++)2===(l=t[s]).length?iA(u=l[0]*o+u,h=l[1]*a+h):oA(l[0]*o+u,l[1]*a+h,l[2]*o+u,l[3]*a+h,u=l[4]*o+u,h=l[5]*a+h);return i&&Ze(),tA(r),this},b.path=function(t){for(var e=0;e<t.length;e++){var A=t[e],n=A.c;switch(A.op){case"m":rA(n[0],n[1]);break;case"l":iA(n[0],n[1]);break;case"c":oA.apply(this,n);break;case"h":Ze()}}return this},b.__private__.rect=b.rect=function(t,e,A,n,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||!We(r))throw new Error("Invalid arguments passed to jsPDF.rect");return Q===C.COMPAT&&(n=-n),st([N(I(t)),N(O(e)),N(I(A)),N(I(n)),"re"].join(" ")),tA(r),this},b.__private__.triangle=b.triangle=function(t,e,A,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||isNaN(r)||isNaN(i)||!We(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[A-t,n-e],[r-A,i-n],[t-r,e-i]],t,e,[1,1],o,!0),this},b.__private__.roundedRect=b.roundedRect=function(t,e,A,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||isNaN(r)||isNaN(i)||!We(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return r=Math.min(r,.5*A),i=Math.min(i,.5*n),this.lines([[A-2*r,0],[r*a,0,r,i-i*a,r,i],[0,n-2*i],[0,i*a,-r*a,i,-r,i],[2*r-A,0],[-r*a,0,-r,-i*a,-r,-i],[0,2*i-n],[0,-i*a,r*a,-i,r,-i]],t+r,e,[1,1],o,!0),this},b.__private__.ellipse=b.ellipse=function(t,e,A,n,r){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||!We(r))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*A,o=4/3*(Math.SQRT2-1)*n;return rA(t+A,e),oA(t+A,e-o,t+i,e-n,t,e-n),oA(t-i,e-n,t-A,e-o,t-A,e),oA(t-A,e+
vendor: 9,980 bytes, line 1
1o,t-i,e+n,t,e+n),oA(t+i,e+n,t+A,e+o,t+A,e),tA(r),this},b.__private__.circle=b.circle=function(t,e,A,n){if(isNaN(t)||isNaN(e)||isNaN(A)||!We(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,A,A,n)},b.setFont=function(t,e){return yt=Te(t,e,{disableWarning:!1}),this};var aA=b.__private__.getFont=b.getFont=function(){return Nt[Te.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var t,e,A={};for(t in Et)if(Et.hasOwnProperty(t))for(e in A[t]=[],Et[t])Et[t].hasOwnProperty(e)&&A[t].push(e);return A},b.addFont=function(t,e,A,n){return Qe.call(this,t,e,A,n=n||"Identity-H")};var sA,cA=t.lineWidth||.200025,lA=b.__private__.setLineWidth=b.setLineWidth=function(t){return st(N(I(t))+" w"),this};b.__private__.setLineDash=K.API.setLineDash=K.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return N(I(t))})).join(" "),e=N(I(e)),st("["+t+"] "+e+" d"),this};var uA=b.__private__.getLineHeight=b.getLineHeight=function(){return ht*sA};b.__private__.getLineHeight=b.getLineHeight=function(){return ht*sA};var hA=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(sA=t),this},fA=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return sA};hA(t.lineHeight);var dA=b.__private__.getHorizontalCoordinate=function(t){return I(t)},pA=b.__private__.getVerticalCoordinate=function(t){return Q===C.ADVANCED?t:kt[J].mediaBox.topRightY-kt[J].mediaBox.bottomLeftY-I(t)},gA=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(t){return N(dA(t))},BA=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(t){return N(pA(t))},bA=t.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Zt(bA)},b.__private__.setStrokeColor=b.setDrawColor=function(t,e,A,n){return bA=$t({ch1:t,ch2:e,ch3:A,ch4:n,pdfColorType:"draw",precision:2}),st(bA),this};var wA=t.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Zt(wA)},b.__private__.setFillColor=b.setFillColor=function(t,e,A,n){return wA=$t({ch1:t,ch2:e,ch3:A,ch4:n,pdfColorType:"fill",precision:2}),st(wA),this};var mA=t.textColor||"0 g",vA=b.__private__.getTextColor=b.getTextColor=function(){return Zt(mA)};b.__private__.setTextColor=b.setTextColor=function(t,e,A,n){return mA=$t({ch1:t,ch2:e,ch3:A,ch4:n,pdfColorType:"text",precision:3}),this};var yA=t.charSpace,CA=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(yA||0)};b.__private__.setCharSpace=b.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return yA=t,this};var QA=0;b.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},b.__private__.setLineCap=b.setLineCap=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return QA=e,st(e+" J"),this};var UA=0;b.__private__.setLineJoin=b.setLineJoin=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return UA=e,st(e+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return st(N(I(t))+" M"),this},b.GState=H,b.setGState=function(t){(t="string"==typeof t?It[xt[t]]:FA(null,t)).equals(Tt)||(st("/"+t.id+" gs"),Tt=t)};var FA=function(t,e){if(!t||!xt[t]){var A=!1;for(var n in It)if(It.hasOwnProperty(n)&&It[n].equals(e)){A=!0;break}if(A)e=It[n];else{var r="GS"+(Object.keys(It).length+1).toString(10);It[r]=e,e.id=r}return t&&(xt[t]=e.id),Pt.publish("addGState",e),e}};b.addGState=function(t,e){return FA(t,e),this},b.saveGraphicsState=function(){return st("q"),_t.push({key:yt,size:ht,color:mA}),this},b.restoreGraphicsState=function(){st("Q");var t=_t.pop();return yt=t.key,ht=t.size,mA=t.color,Tt=null,this},b.setCurrentTransformationMatrix=function(t){return st(t.toString()+" cm"),this},b.comment=function(t){return st("#"+t),this};var NA=function(t,e){var A=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return A},set:function(t){isNaN(t)||(A=parseFloat(t))}});var n=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var r="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return r},set:function(t){r=t.toString()}}),this},EA=function(t,e,A,n){NA.call(this,t,e),this.type="rect";var r=A||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var i=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}}),this},_A=function(){this.page=Ht,this.currentPage=J,this.pages=nt.slice(0),this.pagesContext=kt.slice(0),this.x=Qt,this.y=Ut,this.matrix=Ft,this.width=xA(J),this.height=HA(J),this.outputDestination=it,this.id="",this.objectNumber=-1};_A.prototype.restore=function(){Ht=this.page,kt=this.pagesContext,nt=this.pages,Qt=this.x,Ut=this.y,Ft=this.matrix,TA(J=this.currentPage,this.width),kA(J,this.height),it=this.outputDestination};var SA=function(t,e,A,n,r){Rt.push(new _A),Ht=J=0,nt=[],Qt=t,Ut=e,Ft=r,_e([A,n])},LA=function(t){if(!Ot[t]){var e=new _A,A="Xo"+(Object.keys(Kt).length+1).toString(10);e.id=A,Ot[t]=A,Kt[A]=e,Pt.publish("addFormObject",e),Rt.pop().restore()}};for(var IA in b.beginFormObject=function(t,e,A,n,r){return SA(t,e,A,n,r),this},b.endFormObject=function(t){return LA(t),this},b.doFormObject=function(t,e){var A=Kt[Ot[t]];return st("q"),st(e.toString()+" cm"),st("/"+A.id+" Do"),st("Q"),this},b.getFormObject=function(t){var e=Kt[Ot[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},b.save=function(t,e){return t=t||"generated.pdf",(e=e||{}).returnPromise=e.returnPromise||!1,!1===e.returnPromise?(g(Re(Oe()),t),"function"==typeof g.unload&&s.setTimeout&&setTimeout(g.unload,911),this):new Promise((function(e,A){try{var n=g(Re(Oe()),t);"function"==typeof g.unload&&s.setTimeout&&setTimeout(g.unload,911),e(n)}catch(t){A(t.message)}}))},K.API)K.API.hasOwnProperty(IA)&&("events"===IA&&K.API.events.length?function(t,e){var A,n;for(n=e.length-1;-1!==n;n--)t.subscribe.apply(t,[e[n][0]].concat("function"==typeof(A=e[n][1])?[A]:A))}(Pt,K.API.events):b[IA]=K.API[IA]);var xA=b.getPageWidth=function(t){return(kt[t=t||J].mediaBox.topRightX-kt[t].mediaBox.bottomLeftX)/Ct},TA=b.setPageWidth=function(t,e){kt[t].mediaBox.topRightX=e*Ct+kt[t].mediaBox.bottomLeftX},HA=b.getPageHeight=function(t){return(kt[t=t||J].mediaBox.topRightY-kt[t].mediaBox.bottomLeftY)/Ct},kA=b.setPageHeight=function(t,e){kt[t].mediaBox.topRightY=e*Ct+kt[t].mediaBox.bottomLeftY};return b.internal={pdfEscape:Ee,getStyle:Ye,getFont:aA,getFontSize:dt,getCharSpace:CA,getTextColor:vA,getLineHeight:uA,getLineHeightFactor:fA,write:ct,getHorizontalCoordinate:dA,getVerticalCoordinate:pA,getCoordinateString:gA,getVerticalCoordinateString:BA,collections:{},newObject:qt,newAdditionalObject:Jt,newObjectDeferred:Gt,newObjectDeferredBegin:Xt,getFilters:te,putStream:ee,events:Pt,scaleFactor:Ct,pageSize:{getWidth:function(){return xA(J)},setWidth:function(t){TA(J,t)},getHeight:function(){return HA(J)},setHeight:function(t){kA(J,t)}},encryptionOptions:h,encryption:je,getEncryptor:Ve,output:Me,getNumberOfPages:xe,pages:nt,out:st,f2:S,f3:L,getPageInfo:qe,getPageInfoByObjId:Ge,getCurrentPageInfo:Xe,getPDFVersion:m,Point:NA,Rectangle:EA,Matrix:Mt,hasHotfix:ze},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return xA(J)},set:function(t){TA(J,t)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return HA(J)},set:function(t){kA(J,t)},enumerable:!0,configurable:!0}),Ue.call(b,ut),yt="F1",Se(r,A),Pt.publish("initialized"),b}x.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},x.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},x.prototype.hexToBytes=function(t){for(var e=[],A=0;A<t.length;A+=2)e.push(String.fromCharCode(parseInt(t.substr(A,2),16)));return e.join("")},x.prototype.processOwnerPassword=function(t,e){return L(_(e).substr(0,5),t)},x.prototype.encryptor=function(t,e){var A=_(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return L(A,t)}},H.prototype.equals=function(t){var e,A="id,objectNumber,equals";if(!t||typeof t!=typeof this)return!1;var n=0;for(e in this)if(!(A.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&A.indexOf(e)<0&&n--;return 0===n},K.API={events:[]},K.version="2.2.0";var O=K.API,R=1,M=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},z=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},j=function(t){return t.toFixed(2)},V=function(t){return t.toFixed(5)};O.__acroform__={};var q=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},G=function(t){return t*R},X=function(t){var e=new lt,A=Qt.internal.getHeight(t)||0,n=Qt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(j(n)),Number(j(A))],e},J=O.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<e},W=O.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to
1jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},Y=O.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},Z=O.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Y(t,e-1)},$=O.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return J(t,e-1)},tt=O.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return W(t,e-1)},et=O.__acroform__.calculateCoordinates=function(t,e){var A=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,r=t[0],i=t[1],o=t[2],a=t[3],s={};return s.lowerLeft_X=A(r)||0,s.lowerLeft_Y=n(i+a)||0,s.upperRight_X=A(r+o)||0,s.upperRight_Y=n(i)||0,[Number(j(s.lowerLeft_X)),Number(j(s.lowerLeft_Y)),Number(j(s.upperRight_X)),Number(j(s.upperRight_Y))]},At=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],A=nt(t,t._V||t.DV),n=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+n+" "+j(A.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(A.text),e.push("ET"),e.push("Q"),e.push("EMC");var r=X(t);return r.scope=t.scope,r.stream=e.join("\n"),r}},nt=function(t,e){var A=0===t.fontSize?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},r=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),i=A,o=Qt.internal.getHeight(t)||0;o=o<0?-o:o;var a=Qt.internal.getWidth(t)||0;a=a<0?-a:a;var s=function(e,A,n){return e+1<r.length&&rt(A+" "+r[e+1],t,n).width<=a-4};i++;t:for(;i>0;){e="",i--;var c,l,u=rt("3",t,i).height,h=t.multiline?o-i:(o-u)/2,f=h+=2,d=0,p=0;if(i<=0){e="(...) Tj\n",e+="% Width of Text: "+rt(e,t,i=12).width+", FieldWidth:"+a+"\n";break}var g="",B=0;for(var b in r)if(r.hasOwnProperty(b)){g=" "==(g+=r[b]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var w=parseInt(b),m=s(w,g,i),v=b>=r.length-1;if(m&&!v){g+=" ";continue}if(m||v){if(v)p=w;else if(t.multiline&&(u+2)*(B+2)+2>o)continue t}else{if(!t.multiline)continue t;if((u+2)*(B+2)+2>o)continue t;p=w}for(var y="",C=d;C<=p;C++)y+=r[C]+" ";switch(y=" "==y.substr(y.length-1)?y.substr(0,y.length-1):y,l=rt(y,t,i).width,t.textAlign){case"right":c=a-l-2;break;case"center":c=(a-l)/2;break;case"left":default:c=2}e+=j(c)+" "+j(f)+" Td\n",e+="("+M(y)+") Tj\n",e+=-j(c)+" 0 Td\n",f=-(i+2),l=0,d=p+1,B++,g=""}break}return n.text=e,n.fontSize=i,n},rt=function(t,e,A){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),r=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(A),charSpace:0})*parseFloat(A);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(A),charSpace:0})*parseFloat(A)*1.5,width:r}},it={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},ot=function(t,e){var A={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===A.type&&t.object===A.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(A)},at=O.__acroform__.arrayToPdfArray=function(t,e,A){var n=function(t){return t};if(Array.isArray(t)){for(var r="[",i=0;i<t.length;i++)switch(0!==i&&(r+=" "),typeof t[i]){case"boolean":case"number":case"object":r+=t[i].toString();break;case"string":"/"!==t[i].substr(0,1)?(void 0!==e&&A&&(n=A.internal.getEncryptor(e)),r+="("+M(n(t[i].toString()))+")"):r+=t[i].toString()}return r+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},st=function(t,e,A){var n=function(t){return t};return void 0!==e&&A&&(n=A.internal.getEncryptor(e)),(t=t||"").toString(),"("+M(n(t))+")"},ct=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(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ct.prototype.toString=function(){return this.objId+" 0 R"},ct.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},ct.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var A in e)if(!1===Object.getOwnPropertyDescriptor(this,e[A]).configurable){var n=e[A],r=this[n];r&&(Array.isArray(r)?t.push({key:n,value:at(r,this.objId,this.scope)}):r instanceof ct?(r.scope=this.scope,t.push({key:n,value:r.objId+" 0 R"})):"function"!=typeof r&&t.push({key:n,value:r}))}return t};
vendor: 3,307 bytes, line 1
1var lt=function(){ct.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 t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};q(lt,ct);var ut=function(){ct.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+M(e(t))+")"}},set:function(e){t=e}})};q(ut,ct);var ht=function t(){ct.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(e,3))},set:function(t){this.F=!0===Boolean(t)?$(e,3):tt(e,3)}});var A=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');A=t}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==n.length)return n},set:function(t){n=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(t){n[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(t){n[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(t){n[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(t){n[3]=t}});var r="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return r},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":r=t;break;default:throw new Error('Invalid value "'+t+'" 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 mt)return;i="FieldObject"+t.FieldNum++}var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+M(e(i))+")"},set:function(t){i=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(t){i=t}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a}
vendor: 6,545 bytes, line 1
1,set:function(t){a=t}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/R:c},set:function(t){c=t}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(t){l=t}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof mt||this instanceof yt))return st(u,this.objId,this.scope)},set:function(t){t=t.toString(),u=t}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof Bt==0?st(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof Bt==0?"("===t.substr(0,1)?z(t.substr(1,t.length-2)):z(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Bt==1?z(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof Bt==1?"/"+t:t}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof Bt==0?st(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof Bt==0?"("===t.substr(0,1)?z(t.substr(1,t.length-2)):z(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Bt==1?z(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof Bt==1?"/"+t:t}}),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,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(t){t=Boolean(t),p=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(t){d=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,1))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,1):tt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,2))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,2):tt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,3))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,3):tt(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');g=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(g){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};q(ht,ct);var ft=function(){ht.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return at(e,this.objId,this.scope)},set:function(t){var A,n;n=[],"string"==typeof(A=t)&&(n=function(t,e,A){A||(A=1);for(var n,r=[];n=e.exec(t);)r.push(n[A]);return r}(A,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,A){for(A=A||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==A););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,18))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,18):tt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,19))},set:function(t){!0===this.combo&&(this.Ff=!0===Boolean(t)?$(this.Ff,19):tt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=$(this.Ff,20),e.sort()):this.Ff=tt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,22))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,22):tt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,23):tt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,27))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,27):tt(this.Ff,27)}}),this.hasAppearanceStream=!1};q(ft,ht);var dt=function(){ft.call(this),this.fontName="helvetica",this.combo=!1};q(dt,ft);var pt=function(){dt.call(this),this.combo=!0};q(pt,dt);var gt=function(){pt.call(this),this.edit=!0};q(gt,pt);var Bt=function(){ht.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,15))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,15):tt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,16))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,16):tt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,17))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,17):tt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,26):tt(this.Ff,26)}});var t,e={};
vendor: 4,493 bytes, line 1
1Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var A,n=[];for(A in n.push("<<"),e)n.push("/"+A+" ("+M(t(e[A]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"==typeof t&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};q(Bt,ht);var bt=function(){Bt.call(this),this.pushButton=!0};q(bt,Bt);var wt=function(){Bt.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};q(wt,Bt);var mt=function(){var t,e;ht.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var A,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,A=[];for(e in A.push("<<"),n)A.push("/"+e+" ("+M(t(n[e]))+")");return A.push(">>"),A.join("\n")},set:function(t){"object"==typeof t&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),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}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Qt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};q(mt,ht),wt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var A=this.Kids[e];A.appearanceStreamContent=t.createAppearanceStream(A.optionName),A.caption=t.getCA()}},wt.prototype.createOption=function(t){var e=new mt;return e.Parent=this,e.optionName=t,this.Kids.push(e),St.call(this.scope,e),e};var vt=function(){Bt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Qt.CheckBox.createAppearanceStream()};q(vt,Bt);var yt=function(){ht.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,13))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,13):tt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,21))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,21):tt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,23))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,23):tt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,24))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,24):tt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,25))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,25):tt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,26))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,26):tt(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};q(yt,ht);
vendor: 4,195 bytes, line 1
1var Ct=function(){yt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Z(this.Ff,14))},set:function(t){this.Ff=!0===Boolean(t)?$(this.Ff,14):tt(this.Ff,14)}}),this.password=!0};q(Ct,yt);var Qt={CheckBox:{createAppearanceStream:function(){return{N:{On:Qt.CheckBox.YesNormal},D:{On:Qt.CheckBox.YesPushDown,Off:Qt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var A=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),i=nt(t,t.caption);return A.push("0.749023 g"),A.push("0 0 "+j(Qt.internal.getWidth(t))+" "+j(Qt.internal.getHeight(t))+" re"),A.push("f"),A.push("BMC"),A.push("q"),A.push("0 0 1 rg"),A.push("/"+n+" "+j(i.fontSize)+" Tf "+r),A.push("BT"),A.push(i.text),A.push("ET"),A.push("Q"),A.push("EMC"),e.stream=A.join("\n"),e},YesNormal:function(t){var e=X(t);e.scope=t.scope;var A=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),r=[],i=Qt.internal.getHeight(t),o=Qt.internal.getWidth(t),a=nt(t,t.caption);return r.push("1 g"),r.push("0 0 "+j(o)+" "+j(i)+" re"),r.push("f"),r.push("q"),r.push("0 0 1 rg"),r.push("0 0 "+j(o-1)+" "+j(i-1)+" re"),r.push("W"),r.push("n"),r.push("0 g"),r.push("BT"),r.push("/"+A+" "+j(a.fontSize)+" Tf "+n),r.push(a.text),r.push("ET"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+j(Qt.internal.getWidth(t))+" "+j(Qt.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:Qt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=Qt.RadioButton.Circle.YesNormal,e.D[t]=Qt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var A=[],n=Qt.internal.getWidth(t)<=Qt.internal.getHeight(t)?Qt.internal.getWidth(t)/4:Qt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var r=Number((n*Qt.internal.Bezier_C).toFixed(5));return A.push("q"),A.push("1 0 0 1 "+V(Qt.internal.getWidth(t)/2)+" "+V(Qt.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+r+" "+r+" "+n+" 0 "+n+" c"),A.push("-"+r+" "+n+" -"+n+" "+r+" -"+n+" 0 c"),A.push("-"+n+" -"+r+" -"+r+" -"+n+" 0 -"+n+" c"),A.push(r+" -"+n+" "+n+" -"+r+" "+n+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var A=[],n=Qt.internal.getWidth(t)<=Qt.internal.getHeight(t)?Qt.internal.getWidth(t)/4:Qt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var r=Number((2*n).toFixed(5)),i=Number((r*Qt.internal.Bezier_C).toFixed(5)),o=Number((n*Qt.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+V(Qt.internal.getWidth(t)/2)+" "+V(Qt.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),A.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),A.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),A.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),A.push("f"),A.push("Q"),A.push("0 g"),A.push("q"),A.push("1 0 0 1 "+V(Qt.internal.getWidth(t)/2)+" "+V(Qt.internal.getHeight(t)/2)+" cm"),A.push(n+" 0 m"),A.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),A.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),A.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),A.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var A=[],n=Qt.internal.getWidth(t)<=Qt.internal.getHeight(t)?Qt.internal.getWidth(t)/4:Qt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var r=Number((2*n).toFixed(5)),i=Number((r*Qt.internal.Bezier_C).toFixed(5));return A.push("0.749023 g"),A.push("q"),A.push("1 0 0 1 "+V(Qt.internal.getWidth(t)/2)+" "+V(Qt.internal.getHeight(t)/2)+" cm"),A.push(r+" 0 m"),A.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),A.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),A.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),A.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),A.push("f"),A.push("Q"),e.stream=A.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:Qt.RadioButton.Cross.OffPushDown},N:{}}
vendor: 4,705 bytes, line 1
1;return e.N[t]=Qt.RadioButton.Cross.YesNormal,e.D[t]=Qt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=X(t);e.scope=t.scope;var A=[],n=Qt.internal.calculateCross(t);return A.push("q"),A.push("1 1 "+j(Qt.internal.getWidth(t)-2)+" "+j(Qt.internal.getHeight(t)-2)+" re"),A.push("W"),A.push("n"),A.push(j(n.x1.x)+" "+j(n.x1.y)+" m"),A.push(j(n.x2.x)+" "+j(n.x2.y)+" l"),A.push(j(n.x4.x)+" "+j(n.x4.y)+" m"),A.push(j(n.x3.x)+" "+j(n.x3.y)+" l"),A.push("s"),A.push("Q"),e.stream=A.join("\n"),e},YesPushDown:function(t){var e=X(t);e.scope=t.scope;var A=Qt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+j(Qt.internal.getWidth(t))+" "+j(Qt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+j(Qt.internal.getWidth(t)-2)+" "+j(Qt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(j(A.x1.x)+" "+j(A.x1.y)+" m"),n.push(j(A.x2.x)+" "+j(A.x2.y)+" l"),n.push(j(A.x4.x)+" "+j(A.x4.y)+" m"),n.push(j(A.x3.x)+" "+j(A.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=X(t);e.scope=t.scope;var A=[];return A.push("0.749023 g"),A.push("0 0 "+j(Qt.internal.getWidth(t))+" "+j(Qt.internal.getHeight(t))+" re"),A.push("f"),e.stream=A.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,A=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+A}};Qt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=Qt.internal.getWidth(t),A=Qt.internal.getHeight(t),n=Math.min(e,A);return{x1:{x:(e-n)/2,y:(A-n)/2+n},x2:{x:(e-n)/2+n,y:(A-n)/2},x3:{x:(e-n)/2,y:(A-n)/2},x4:{x:(e-n)/2+n,y:(A-n)/2+n}}}},Qt.internal.getWidth=function(t){var e=0;return"object"==typeof t&&(e=G(t.Rect[2])),e},Qt.internal.getHeight=function(t){var e=0;return"object"==typeof t&&(e=G(t.Rect[3])),e};var Ut,Ft,Nt,Et,_t,St=O.addField=function(t){if(function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(ht.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(it)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");R=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new ut,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(t)})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var A in e)if(e.hasOwnProperty(A)){var n=e[A];n.objId=void 0,n.hasAnnotation&&ot(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var A=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var r=t[n],i=[],o=r.Rect;if(r.Rect&&(r.Rect=et(r.Rect,e)),e.internal.newObjectDeferredBegin(r.objId,!0),r.DA=Qt.createDefaultAppearanceStream(r),"object"==typeof r&&"function"==typeof r.getKeyValueListForStream&&(i=r.getKeyValueListForStream()),r.Rect=o,r.hasAppearanceStream&&!r.appearanceStreamContent){var a=At(r);i.push({key:"AP",value:"<</N "+a+">>"}),e.internal.acroformPlugin.xForms.push(a)}if(r.appearanceStreamContent){var s="";for(var c in r.appearanceStreamContent)if(r.appearanceStreamContent.hasOwnProperty(c)){var l=r.appearanceStreamContent[c];if(s+="/"+c+" ",s+="<<",Object.keys(l).length>=1||Array.isArray(l)){for(var n in l)if(l.hasOwnProperty(n)){var u=l[n];"function"==typeof u&&(u=u.call(e,r)),s+="/"+n+" "+u+" ",e.internal.acroformPlugin.xForms.indexOf(u)>=0||e.internal.acroformPlugin.xForms.push(u)}}else"function"==typeof(u=l)&&(u=u.call(e,r)),s+="/"+n+" "+u,e.internal.acroformPlugin.xForms.indexOf(u)>=0||e.internal.acroformPlugin.xForms.push(u);s+=">>"}i.push({key:"AP",value:"<<\n"+s+">>"})}e.internal.putStream({additionalKeyValues:i,objectId:r.objId}
vendor: 6,788 bytes, line 1
1),e.internal.out("endobj")}A&&function(t,e){for(var A in t)if(t.hasOwnProperty(A)){var n=A,r=t[A];e.internal.newObjectDeferredBegin(r.objId,!0),"object"==typeof r&&"function"==typeof r.putStream&&r.putStream(),delete t[n]}}(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}}(this,t),!(t instanceof ht))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};O.AcroFormChoiceField=ft,O.AcroFormListBox=dt,O.AcroFormComboBox=pt,O.AcroFormEditBox=gt,O.AcroFormButton=Bt,O.AcroFormPushButton=bt,O.AcroFormRadioButton=wt,O.AcroFormCheckBox=vt,O.AcroFormTextField=yt,O.AcroFormPasswordField=Ct,O.AcroFormAppearance=Qt,O.AcroForm={ChoiceField:ft,ListBox:dt,ComboBox:pt,EditBox:gt,Button:Bt,PushButton:bt,RadioButton:wt,CheckBox:vt,TextField:yt,PasswordField:Ct,Appearance:Qt},K.AcroForm={ChoiceField:ft,ListBox:dt,ComboBox:pt,EditBox:gt,Button:Bt,PushButton:bt,RadioButton:wt,CheckBox:vt,TextField:yt,PasswordField:Ct,Appearance:Qt},function(t){t.__addimage__={};var e="UNKNOWN",A={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]]},n=t.__addimage__.getImageFileTypeByImageData=function(t,n){var r,i;n=n||e;var o,a,s,c=e;if(Q(t))for(s in A)for(o=A[s],r=0;r<o.length;r+=1){for(a=!0,i=0;i<o[r].length;i+=1)if(void 0!==o[r][i]&&o[r][i]!==t[i]){a=!1;break}if(!0===a){c=s;break}}else for(s in A)for(o=A[s],r=0;r<o.length;r+=1){for(a=!0,i=0;i<o[r].length;i+=1)if(void 0!==o[r][i]&&o[r][i]!==t.charCodeAt(i)){a=!1;break}if(!0===a){c=s;break}}return c===e&&n!==e&&(c=n),c},r=function t(e){for(var A=this.internal.write,n=this.internal.putStream,r=(0,this.internal.getFilters)();-1!==r.indexOf("FlateEncode");)r.splice(r.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:e.width}),i.push({key:"Height",value:e.height}),e.colorSpace===b.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===b.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var o="",a=0,s=e.transparency.length;a<s;a++)o+=e.transparency[a]+" "+e.transparency[a]+" ";i.push({key:"Mask",value:"["+o+"]"})}if(void 0!==e.sMask&&i.push({key:"SMask",value:e.objectId+1+" 0 R"}),n({data:e.data,additionalKeyValues:i,alreadyAppliedFilters:void 0!==e.filter?["/"+e.filter]:void 0,objectId:e.objectId}),A("endobj"),"sMask"in e&&void 0!==e.sMask){var c={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:"/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,data:e.sMask};"filter"in e&&(c.filter=e.filter),t.call(this,c)}if(e.colorSpace===b.INDEXED){var l=this.internal.newObject();n({data:F(new Uint8Array(e.palette)),objectId:l}),A("endobj")}},i=function(){var t=this.internal.collections.addImage_images;for(var e in t)r.call(this,t[e])},o=function(){var t,e=this.internal.collections.addImage_images,A=this.internal.write;for(var n in e)A("/I"+(t=e[n]).index,t.objectId,"0","R")},a=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",o))},s=function(){var t=this.internal.collections.addImage_images;return a.call(this),t},c=function(){return Object.keys(this.internal.collections.addImage_images).length},l=function(e){return"function"==typeof t["process"+e.toUpperCase()]},u=function(t){return"object"==typeof t&&1===t.nodeType},h=function(e,A){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return d(unescape(n).split("base64,").pop());var r=t.loadFile(n,!0);if(void 0!==r)return r}if("CANVAS"===e.nodeName){var i;switch(A){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;case"JPEG":case"JPG":default:i="image/jpeg"}return d(e.toDataURL(i,1).split("base64,").pop())}},f=function(t){var e=this.internal.collections.addImage_images;if(e)for(var A in e)if(t===e[A].alias)return e[A]},g=function(t,e,A){return t||e||(t=-96,e=-96),t<0&&(t=-1*A.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*A.height*72/e/this.internal.scaleFactor),0===t&&(t=e*A.width/A.height),0===e&&(e=t*A.height/A.width),[t,e]},B=function(t,e,A,n,r,i){var o=g.call(this,A,n,r),a=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=s.call(this);if(A=o[0],n=o[1],l[r.index]=r,i){i*=Math.PI/180;var u=Math.cos(i),h=Math.sin(i),f=function(t){return t.toFixed(4)},d=[f(u),f(h),f(-1*h),f(u),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,a(t),c(e+n),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([a(A),"0","0",a(n),"0","0","cm"].join(" "))):this.internal.write([a(A),"0","0",a(n),a(t),c(e+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+r.index+" Do"),this.internal.write("Q")},b=t.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"};t.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 w=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},m=t.__addimage__.sHashCode=function(t){var e,A,n=0;if("string"==typeof t)for(A=t.length,e=0;e<A;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;else if(Q(t))for(A=t.byteLength/2,e=0;e<A;e++)n=(n<<5)-n+t[e],n|=0;return n}
vendor: 4,368 bytes, line 1
1,v=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},y=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),A=null;if(2===e.length){var n=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(e[0]);Array.isArray(n)&&(A={mimeType:n[1],charset:n[2],data:e[1]})}return A},C=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return C()&&t instanceof ArrayBuffer};var Q=t.__addimage__.isArrayBufferView=function(t){return C()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},U=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,A=new Uint8Array(e),n=0;n<e;n++)A[n]=t.charCodeAt(n);return A},F=t.__addimage__.arrayBufferToBinaryString=function(t){try{return d(p(String.fromCharCode.apply(null,t)))}catch(e){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(t).reduce((function(t,e){return t.push(String.fromCharCode(e)),t}),[]).join("")}};t.addImage=function(){var t,A,n,r,i,o,s,c,l;if("number"==typeof arguments[1]?(A=e,n=arguments[1],r=arguments[2],i=arguments[3],o=arguments[4],s=arguments[5],c=arguments[6],l=arguments[7]):(A=arguments[1],n=arguments[2],r=arguments[3],i=arguments[4],o=arguments[5],s=arguments[6],c=arguments[7],l=arguments[8]),"object"==typeof(t=arguments[0])&&!u(t)&&"imageData"in t){var h=t;t=h.imageData,A=h.format||A||e,n=h.x||n||0,r=h.y||r||0,i=h.w||h.width||i,o=h.h||h.height||o,s=h.alias||s,c=h.compression||c,l=h.rotation||h.angle||l}var f=this.internal.getFilters();if(void 0===c&&-1!==f.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(r))throw new Error("Invalid coordinates passed to jsPDF.addImage");a.call(this);var d=N.call(this,t,A,s,c);return B.call(this,n,r,i,o,d,l),this};var N=function(A,r,i,o){var a,s,d;if("string"==typeof A&&n(A)===e){A=unescape(A);var p=E(A,!1);(""!==p||void 0!==(p=t.loadFile(A,!0)))&&(A=p)}if(u(A)&&(A=h(A,r)),r=n(A,r),!l(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(d=i)||0===d.length)&&(i=function(t){return"string"==typeof t||Q(t)?m(t):null}(A)),(a=f.call(this,i))||(C()&&(A instanceof Uint8Array||(s=A,A=U(A))),a=this["process"+r.toUpperCase()](A,c.call(this),i,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:w.NONE}(o),s)),!a)throw new Error("An unknown error occurred whilst processing the image.");return a},E=t.__addimage__.convertBase64ToBinaryString=function(t,e){var A;e="boolean"!=typeof e||e;var n,r="";if("string"==typeof t){n=null!==(A=y(t))?A.data:t;try{r=d(n)}catch(t){if(e)throw v(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return r};t.getImageProperties=function(A){var r,i,o="";if(u(A)&&(A=h(A)),"string"==typeof A&&n(A)===e&&(""===(o=E(A,!1))&&(o=t.loadFile(A)||""),A=o),i=n(A),!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()||A instanceof Uint8Array||(A=U(A)),!(r=this["process"+i.toUpperCase()](A)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=i,r}}(K.API),Et=K.API,_t=function(t){if(void 0!==t&&""!=t)return!0},K.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),Et.events.push(["putPage",function(t){for(var e,A,n,r=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getPageInfoByObjId(t.objId),a=t.pageContext.annotations,s=!1,c=0;c<a.length&&!s;c++)switch((e=a[c]).type){case"link":(_t(e.options.url)||_t(e.options.pageNumber))&&(s=!0);break;case"reference":case"text":case"freetext":s=!0}
vendor: 4,309 bytes, line 1
1if(0!=s){this.internal.write("/Annots [");for(var l=0;l<a.length;l++){e=a[l];var u=this.internal.pdfEscape,h=this.internal.getEncryptor(t.objId);switch(e.type){case"reference":this.internal.write(" "+e.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),d=this.internal.newAdditionalObject(),p=this.internal.getEncryptor(f.objId),g=e.title||"Note";n="<</Type /Annot /Subtype /Text "+(A="/Rect ["+r(e.bounds.x)+" "+i(e.bounds.y+e.bounds.h)+" "+r(e.bounds.x+e.bounds.w)+" "+i(e.bounds.y)+"] ")+"/Contents ("+u(p(e.contents))+")",n+=" /Popup "+d.objId+" 0 R",n+=" /P "+o.objId+" 0 R",n+=" /T ("+u(p(g))+") >>",f.content=n;var B=f.objId+" 0 R";n="<</Type /Annot /Subtype /Popup "+(A="/Rect ["+r(e.bounds.x+30)+" "+i(e.bounds.y+e.bounds.h)+" "+r(e.bounds.x+e.bounds.w+30)+" "+i(e.bounds.y)+"] ")+" /Parent "+B,e.open&&(n+=" /Open true"),d.content=n+=" >>",this.internal.write(f.objId,"0 R",d.objId,"0 R");break;case"freetext":A="/Rect ["+r(e.bounds.x)+" "+i(e.bounds.y)+" "+r(e.bounds.x+e.bounds.w)+" "+i(e.bounds.y+e.bounds.h)+"] ";var b=e.color||"#000000";n="<</Type /Annot /Subtype /FreeText "+A+"/Contents ("+u(h(e.contents))+")",n+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+b+")",n+=" /Border [0 0 0]",this.internal.write(n+=" >>");break;case"link":if(e.options.name){var w=this.annotations._nameMap[e.options.name];e.options.pageNumber=w.page,e.options.top=w.y}else e.options.top||(e.options.top=0);if(A="/Rect ["+e.finalBounds.x+" "+e.finalBounds.y+" "+e.finalBounds.w+" "+e.finalBounds.h+"] ",n="",e.options.url)n="<</Type /Annot /Subtype /Link "+A+"/Border [0 0 0] /A <</S /URI /URI ("+u(h(e.options.url))+") >>";else if(e.options.pageNumber)switch(n="<</Type /Annot /Subtype /Link "+A+"/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 m=i(e.options.top);e.options.left=e.options.left||0,void 0===e.options.zoom&&(e.options.zoom=0),n+=" /XYZ "+e.options.left+" "+m+" "+e.options.zoom+"]"}""!=n&&this.internal.write(n+=" >>")}}this.internal.write("]")}}]),Et.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},Et.link=function(t,e,A,n,r){var i=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:o(t),y:a(e),w:o(t+A),h:a(e+n)},options:r,type:"link"})},Et.textWithLink=function(t,e,A,n){var r=this.getTextWidth(t),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,A,n),this.link(e,(A+=.2*i)-i,r,i,n),r},Et.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor},function(t){var e={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,6437
vendor: 13,872 bytes, line 1
17],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]},A={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}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},r=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},a=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&i(t)&&e[t.charCodeAt(0)].length<=2},s=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&r.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&i(t)&&e[t.charCodeAt(0)].length>=1};var c=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&i(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&i(t)&&e[t.charCodeAt(0)].length>=3};var l=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&i(t)&&4==e[t.charCodeAt(0)].length},u=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=A,r="",i=0;for(e=0;e<t.length;e+=1)void 0!==n[t.charCodeAt(e)]?(i++,"number"==typeof(n=n[t.charCodeAt(e)])&&(r+=String.fromCharCode(n),n=A,i=0),e===t.length-1&&(n=A,r+=t.charAt(e-(i-1)),e-=i-1,i=0)):(n=A,r+=t.charAt(e-i),e-=i,i=0);return r};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==n[t.charCodeAt(0)]};var h=t.__arabicParser__.getCorrectForm=function(t,e,A){return o(t)?!1===i(t)?-1:!c(t)||!o(e)&&!o(A)||!o(A)&&a(e)||a(t)&&!o(e)||a(t)&&s(e)||a(t)&&a(e)?0:l(t)&&o(e)&&!a(e)&&o(A)&&c(A)?3:a(t)||!o(A)?1:2:-1},f=function(t){var A=0,n=0,r=0,i="",a="",s="",c=(t=t||"").split("\\s+"),l=[];for(A=0;A<c.length;A+=1){for(l.push(""),n=0;n<c[A].length;n+=1)a=c[A][n-1],s=c[A][n+1],o(i=c[A][n])?(r=h(i,a,s),l[A]+=-1!==r?String.fromCharCode(e[i.charCodeAt(0)][r]):i):l[A]+=i;l[A]=u(l[A])}return l.join(" ")},d=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,A=[];if(Array.isArray(e)){var n=0;for(A=[],n=0;n<e.length;n+=1)Array.isArray(e[n])?A.push([f(e[n][0]),e[n][1],e[n][2]]):A.push([f(e[n])]);t=A}else t=f(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",d])}(K.API),K.API.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){e=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 "+e+" 0 R")}))}return this},function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(t){A=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var r={};Object.defineProperty(this,"style",{get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var A;if("2d"!==(t=t||"2d"))return null;for(A in e)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=e[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(K.API),function(t){var e={left:0,top:0,bottom:0,right:0},A=!1,n=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({},e),this.internal.__cell__.margins.width=this.getPageWidth(),r.call(this))},r=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var A=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var r=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(t){o=t}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var A=(e=e||{}).fontSize||this.getFontSize(),r=e.font||this.getFont(),i=e.scaleFactor||this.internal.scaleFactor,o=0,a=0,s=0;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}var c=e.maxWidth;c>0?"string"==typeof t?t=this.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(scope.splitTextToSize(e,c))}),[])):t=Array.isArray(t)?t:[t];for(var l=0;l<t.length;l++)o<(s=this.getStringUnitWidth(t[l],{font:r})*A)&&(o=s);return 0!==o&&(a=t.length),{w:o/=i,h:Math.max((a*A*this.getLineHeightFactor()-A*(this.getLineHeightFactor()-1))/i,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new i(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=t.cell=function(){var t;t=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var r=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,a=this.internal.__cell__.margins||e,s=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==r.lineNumber&&(r.lineNumber===t.lineNumber?(t.x=(r.x||0)+(r.width||0),t.y=r.y||0):r.y+r.height+t.height+a.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=a.top,c&&s&&(this.printHeaderRow(t.lineNumber,!0),t.y+=s[0].height)):t.y=r.y+r.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===A?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,A,s,c,l){if(n.call(this),!s)throw new Error("No data for PDF table.");var u,h,f,d,p=[],g=[],B=[],b={},w={},m=[],v=[],y=(l=l||{}).autoSize||!1,C=!1!==l.printHeaders,Q=l.css&&void 0!==l.css["font-size"]?16*l.css["font-size"]:l.fontSize||12,U=l.margins||Object.assign({width:this.getPageWidth()},e),F="number"==typeof l.padding?l.padding:3,N=l.headerBackgroundColor||"#c8c8c8";if(r.call(this),this.internal.__cell__.printHeaders=C,this.internal.__cell__.margins=U,this.internal.__cell__.table_font_size=Q,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=N,this.setFontSize(Q),null==c)g=p=Object.keys(s[0]),B=p.map((function(){return"left"}));else if(Array.isArray(c)&&"object"==typeof c[0])for(p=c.map((function(t){return t.name})),g=c.map((function(t){return t.prompt||t.name||""})),B=p.map((function(t){return t.align||"left"})),u=0;u<c.length;u+=1)w[c[u].name]=c[u].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(g=p=c,B=p.map((function(){return"left"})));if(y)for(u=0;u<p.length;u+=1){for(b[d=p[u]]=s.map((function(t){return t[d]})),this.setFont(void 0,"bold"),m.push(this.getTextDimensions(g[u],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[d],this.setFont(void 0,"normal"),f=0;f<h.length;f+=1)m.push(this.getTextDimensions(h[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[d]=Math.max.apply(null,m)+F+F,m=[]}if(C){var E={};for(u=0;u<p.length;u+=1)E[p[u]]={},E[p[u]].text=g[u],E[p[u]].align=B[u];var _=a.call(this,E,w);v=p.map((function(e){return new i(t,A,w[e],_,E[e].text,void 0,E[e].align)})),this.setTableHeaderRow(v),this.printHeaderRow(1,!1)}var S=c.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(u=0;u<s.length;u+=1){var L=a.call(this,s[u],w);for(f=0;f<p.length;f+=1)o.call(this,new i(t,A,w[p[f]],L,s[u][p[f]],u+2,S[p[f]]))}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=A,this};var a=function(t,e){var A=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,r=this.internal.scaleFactor;return Object.keys(t).map((function(n){var r=t[n];return this.splitTextToSize(r.hasOwnProperty("text")?r.text:r,e[n]-A-A)}),this).map((function(t){return this.getLineHeightFactor()*t.length*n/r+A+A}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){n.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var r;if(A=!0,"function"==typeof this.internal.__cell__.headerFunction){var a=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(a[0],a[1],a[2],a[3],void 0,-1)}this.setFont(void 0,"bold");for(var s=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1)r=this.internal.__cell__.tableHeaderRow[c].clone(),e&&(r.y=this.internal.__cell__.margins.top||0,s.push(r)),r.lineNumber=t,this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,r);s.length>0&&this.setTableHeaderRow(s),this.setFont(void 0,"normal"),A=!1}}(K.API),function(t){var e,A,n,r,i,o,a,s,c,u=function(t){return this.isStrokeTransparent=(t=t||{}).isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new s,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new o,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new o,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new h(this),e=this.internal.f2,A=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,r=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,o=this.internal.Point,a=this.internal.Rectangle,s=this.internal.Matrix,c=new u}]);var h=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var A=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return A},set:function(t){A=Boolean(t)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var r=0;Object.defineProperty(this,"posX",{get:function(){return r},set:function(t){isNaN(t)||(r=t)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(t){o=Boolean(t)}});var a=0;Object.defineProperty(this,"lastBreak",{get:function(){return a}
1,set:function(t){a=t}});var s=[];Object.defineProperty(this,"pageBreaks",{get:function(){return s},set:function(t){s=t}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(t){t instanceof u&&(c=t)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(t){c.path=t}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(t){l=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=f(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=f(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(e.r,e.g,e.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\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(t))){var A=e[1],n=e[3],r=e[4],i=e[6],o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(r)[2];r="px"===o?Math.floor(parseFloat(r)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(r)*this.pdf.getFontSize()):Math.floor(parseFloat(r)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(r);var a="";("bold"===n||parseInt(n,10)>=700||"bold"===A)&&(a="bold"),"italic"===A&&(a+="italic"),0===a.length&&(a="normal");for(var s="",c=i.replace(/"|'/g,"").split(/\s*,\s*/),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"},u=0;u<c.length;u++){if(void 0!==this.pdf.internal.getFont(c[u],a,{noFallback:!0,disableWarning:!0})){s=c[u];break}if("bolditalic"===a&&void 0!==this.pdf.internal.getFont(c[u],"bold",{noFallback:!0,disableWarning:!0}))s=c[u],a="bold";else if(void 0!==this.pdf.internal.getFont(c[u],"normal",{noFallback:!0,disableWarning:!0})){s=c[u],a="normal";break}}if(""===s)for(var h=0;h<c.length;h++)if(l[c[h]]){s=l[c[h]];break}this.pdf.setFont(s=""===s?"Times":s,a)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};h.prototype.fill=function(){v.call(this,"fill",!1)},h.prototype.stroke=function(){v.call(this,"stroke",!1)},h.prototype.beginPath=function(){this.path=[{type:"begin"}]},h.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw l.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
1jsPDF.context2d.moveTo");var A=this.ctx.transform.applyToPoint(new o(t,e));this.path.push({type:"mt",x:A.x,y:A.y}),this.ctx.lastPoint=new o(t,e)},h.prototype.closePath=function(){var t=new o(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"==typeof this.path[e+1]&&"number"==typeof this.path[e+1].x){t=new o(this.path[e+1].x,this.path[e+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"==typeof this.path[e+2]&&"number"==typeof this.path[e+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[e+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new o(t.x,t.y)},h.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw l.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var A=this.ctx.transform.applyToPoint(new o(t,e));this.path.push({type:"lt",x:A.x,y:A.y}),this.ctx.lastPoint=new o(A.x,A.y)},h.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),v.call(this,null,!0)},h.prototype.quadraticCurveTo=function(t,e,A,n){if(isNaN(A)||isNaN(n)||isNaN(t)||isNaN(e))throw l.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var r=this.ctx.transform.applyToPoint(new o(A,n)),i=this.ctx.transform.applyToPoint(new o(t,e));this.path.push({type:"qct",x1:i.x,y1:i.y,x:r.x,y:r.y}),this.ctx.lastPoint=new o(r.x,r.y)},h.prototype.bezierCurveTo=function(t,e,A,n,r,i){if(isNaN(r)||isNaN(i)||isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n))throw l.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var a=this.ctx.transform.applyToPoint(new o(r,i)),s=this.ctx.transform.applyToPoint(new o(t,e)),c=this.ctx.transform.applyToPoint(new o(A,n));this.path.push({type:"bct",x1:s.x,y1:s.y,x2:c.x,y2:c.y,x:a.x,y:a.y}),this.ctx.lastPoint=new o(a.x,a.y)},h.prototype.arc=function(t,e,A,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||isNaN(r))throw l.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 a=this.ctx.transform.applyToPoint(new o(t,e));t=a.x,e=a.y;var s=this.ctx.transform.applyToPoint(new o(0,A)),c=this.ctx.transform.applyToPoint(new o(0,0));A=Math.sqrt(Math.pow(s.x-c.x,2)+Math.pow(s.y-c.y,2))}Math.abs(r-n)>=2*Math.PI&&(n=0,r=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radiu
vendor: 4,104 bytes, line 1
1s:A,startAngle:n,endAngle:r,counterclockwise:i})},h.prototype.arcTo=function(t,e,A,n,r){throw new Error("arcTo not implemented.")},h.prototype.rect=function(t,e,A,n){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n))throw l.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+A,e),this.lineTo(t+A,e+n),this.lineTo(t,e+n),this.lineTo(t,e),this.lineTo(t+A,e),this.lineTo(t,e)},h.prototype.fillRect=function(t,e,A,n){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n))throw l.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var r={};"butt"!==this.lineCap&&(r.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(r.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,A,n),this.fill(),r.hasOwnProperty("lineCap")&&(this.lineCap=r.lineCap),r.hasOwnProperty("lineJoin")&&(this.lineJoin=r.lineJoin)}},h.prototype.strokeRect=function(t,e,A,n){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n))throw l.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");p.call(this)||(this.beginPath(),this.rect(t,e,A,n),this.stroke())},h.prototype.clearRect=function(t,e,A,n){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n))throw l.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,A,n))},h.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,A=0;A<this.pdf.internal.getNumberOfPages();A++)this.pdf.setPage(A+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new u(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},h.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,A=0;A<this.pdf.internal.getNumberOfPages();A++)this.pdf.setPage(A+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&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)},h.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(t){var e,A,n,r;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,A=0,n=0,r=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==i)e=parseInt(i[1]),A=parseInt(i[2]),n=parseInt(i[3]),r=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(i[1]),A=parseInt(i[2]),n=parseInt(i[3]),r=parseFloat(i[4]);else{if(r=1,"string"==typeof t&&"#"!==t.charAt(0)){var o=new B(t);t=o.ok?o.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,A=t.substring(2,3),A+=A,n=t.substring(3,4),n+=n):(e=t.substring(1,3),A=t.substring(3,5),n=t.substring(5,7)),e=parseInt(e,16),A=parseInt(A,16),n=parseInt(n,16)}}return{r:e,g:A,b:n,a:r,style:t}},d=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},p=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};h.prototype.fillText=function(t,e,A,n){if(isNaN(e)||isNaN(A)||"string"!=typeof t)throw l.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(n=isNaN(n)?void 0:n,!d.call(this)){A=C.call(this,A);var r=T(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:t,x:e,y:A,scale:i,angle:r,align:this.textAlign,maxWidth:n})}},h.prototype.strokeText=function(t,e,A,n){if(isNaN(e)||isNaN(A)||"string"!=typeof t)throw l.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to
1jsPDF.context2d.strokeText");if(!p.call(this)){n=isNaN(n)?void 0:n,A=C.call(this,A);var r=T(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:t,x:e,y:A,scale:i,renderingMode:"stroke",angle:r,align:this.textAlign,maxWidth:n})}},h.prototype.measureText=function(t){if("string"!=typeof t)throw l.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,A=this.pdf.internal.scaleFactor,n=e.internal.getFontSize(),r=e.getStringUnitWidth(t)*n/e.internal.scaleFactor,i=function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this};return new i({width:r*=Math.round(96*A/72*1e4)/1e4})},h.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw l.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var A=new s(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(A)},h.prototype.rotate=function(t){if(isNaN(t))throw l.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new s(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},h.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw l.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var A=new s(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(A)},h.prototype.transform=function(t,e,A,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(A)||isNaN(n)||isNaN(r)||isNaN(i))throw l.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new s(t,e,A,n,r,i);this.ctx.transform=this.ctx.transform.multiply(o)},h.prototype.setTransform=function(t,e,A,n,r,i){t=isNaN(t)?1:t,e=isNaN(e)?0:e,A=isNaN(A)?0:A,n=isNaN(n)?1:n,r=isNaN(r)?0:r,i=isNaN(i)?0:i,this.ctx.transform=new s(t,e,A,n,r,i)},h.prototype.drawImage=function(t,e,A,n,r,i,o,c,l){var u=this.pdf.getImageProperties(t),h=1,f=1,d=1,p=1;void 0!==n&&void 0!==c&&(d=c/n,p=l/r,h=u.width/n*c/n,f=u.height/r*l/r),void 0===i&&(i=e,o=A,e=0,A=0),void 0!==n&&void 0===c&&(c=n,l=r),void 0===n&&void 0===c&&(c=u.width,l=u.height);for(var B,b=this.ctx.transform.decompose(),v=T(b.rotate.shx),C=new s,Q=(C=(C=(C=C.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new a(i-e*d,o-A*p,n*h,r*f)),U=g.call(this,Q),F=[],N=0;N<U.length;N+=1)-1===F.indexOf(U[N])&&F.push(U[N]);if(m(F),this.autoPaging)for(var E=F[F.length-1],_=F[0];_<E+1;_++){if(this.pdf.setPage(_),0!==this.ctx.clip_path.length){var S=this.path;B=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(B,this.posX,-1*this.pdf.internal.pageSize.height*(_-1)+this.posY),y.call(this,"fill",!0),this.path=S}var L=JSON.parse(JSON.stringify(Q));L=w([L],this.posX,-1*this.pdf.internal.pageSize.height*(_-1)+this.posY)[0],this.pdf.addImage(t,"JPEG",L.x,L.y,L.w,L.h,null,null,v)}else this.pdf.addImage(t,"JPEG",Q.x,Q.y,Q.w,Q.h,null,null,v)};var g=function(t,e,A){var n=[];switch(e=e||this.pdf.internal.pageSize.width,A=A||this.pdf.internal.pageSize.height,t.type){default:case"mt":case"lt":n.push(Math.floor((t.y+this.posY)/A)+1);break;case"arc":n.push(Math.floor((t.y+this.posY-t.radius)/A)+1),n.push(Math.floor((t.y+this.posY+t.radius)/A)+1);break;case"qct":var r=H(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);n.push(Math.floor(r.y/A)+1),n.push(Math.floor((r.y+r.h)/A)+1);break;case"bct":var i=k(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);n.push(Math.floor(i.y/A)+1),n.push(Math.floor((i.y+i.h)/A)+1);break;case"rect":n.push(Math.floor((t.y+this.posY)/A)+1),n.push(Math.floor((t.y+t.h+this.posY)/A)+1)}for(var o=0;o<n.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<n[o];)b.call(this);return n},b=function(){var t=this.fillStyle,e=this.strokeStyle,A=this.font,n=this.lineCap,r=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=A,this.lineCap=n,this.lineWidth=r,this.lineJoin=i},w=function(t,e,A){for(var n=0;n<t.length;n++)switch(t[n].type){case"bct":t[n].x2+=e,t[n].y2+=A;case"qct":t[n].x1+=e,t[n].y1+=A;case"mt":case"lt":case"arc":default:t[n].x+=e,t[n].y+=A}return t},m=function(t){return t.sort((function(t,e){return t-e}))},v=function(t,e){for(var A,n,r=this.fillStyle,i=this.strokeStyle,o=this.lineCap,a=this.lineWidth,s=a*this.ctx.transform.scaleX,c=this.lineJoin,l=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),h=[],f=0;f<u.length;f++)if(void 0!==u[f].x)for(var d=g.call(this,u[f]),p=0;p<d.length;p+=1)-1===h.indexOf(d[p])&&h.push(d[p]);for(var B=0;B<h.length;B++)for(;this.pdf.internal.getNumberOfPages()<h[B];)b.call(this);if(m(h),this.autoPaging)for(var v=h[h.length-1],C=h[0];C<v+1;C++){if(this.pdf.setPage(C),this.fillStyle=r,this.strokeStyle=i,this.lineCap=o,this.lineWidth=s,this.lineJoin=c,0!==this.ctx.clip_path.length){var Q=this.path;A=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(A,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),y.call(this,t,!0),this.path=Q}n=JSON.parse(JSON.stringify(l)),this.path=w(n,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),!1!==e&&0!==C||y.call(this,t,e),this.lineWidth=a}else this.lineWidth=s,y.call(this,t,e),this.lineWidth=a;this.path=l},y=function(t,e){if(("stroke"!==t||e||!p.call(this))&&("stroke"===t||e||!d.call(this))){for(var A,n,r=[],i=this.path,o=0;o<i.length;o++){var a=i[o];switch(a.type){case"begin":r.push({begin:!0}
1);break;case"close":r.push({close:!0});break;case"mt":r.push({start:a,deltas:[],abs:[]});break;case"lt":var s=r.length;if(!isNaN(i[o-1].x)&&(A=[a.x-i[o-1].x,a.y-i[o-1].y],s>0))for(;s>=0;s--)if(!0!==r[s-1].close&&!0!==r[s-1].begin){r[s-1].deltas.push(A),r[s-1].abs.push(a);break}break;case"bct":r[r.length-1].deltas.push(A=[a.x1-i[o-1].x,a.y1-i[o-1].y,a.x2-i[o-1].x,a.y2-i[o-1].y,a.x-i[o-1].x,a.y-i[o-1].y]);break;case"qct":r[r.length-1].deltas.push(A=[i[o-1].x+2/3*(a.x1-i[o-1].x)-i[o-1].x,i[o-1].y+2/3*(a.y1-i[o-1].y)-i[o-1].y,a.x+2/3*(a.x1-a.x)-i[o-1].x,a.y+2/3*(a.y1-a.y)-i[o-1].y,a.x-i[o-1].x,a.y-i[o-1].y]);break;case"arc":r.push({deltas:[],abs:[],arc:!0}),Array.isArray(r[r.length-1].abs)&&r[r.length-1].abs.push(a)}}n=e?null:"stroke"===t?"stroke":"fill";for(var c=0;c<r.length;c++){if(r[c].arc){for(var l=r[c].abs,u=0;u<l.length;u++){var h=l[u];"arc"===h.type?Q.call(this,h.x,h.y,h.radius,h.startAngle,h.endAngle,h.counterclockwise,void 0,e):_.call(this,h.x,h.y)}U.call(this,n),this.pdf.internal.out("h")}r[c].arc||!0===r[c].close||!0===r[c].begin||S.call(this,r[c].deltas,r[c].start.x,r[c].start.y)}n&&U.call(this,n),e&&F.call(this)}},C=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,A=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-A;case"top":return t+e-A;case"hanging":return t+e-2*A;case"middle":return t+e/2-A;case"ideographic":return t;case"alphabetic":default:return t}};h.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},h.prototype.createPattern=function(){return this.createLinearGradient()},h.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Q=function(t,e,A,n,r,i,o,a){for(var s=I.call(this,A,n,r,i),c=0;c<s.length;c++){var l=s[c];0===c&&N.call(this,l.x1+t,l.y1+e),L.call(this,t,e,l.x2,l.y2,l.x3,l.y3,l.x4,l.y4)}a?F.call(this):U.call(this,o)},U=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},F=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(t,e){this.pdf.internal.out(A(t)+" "+n(e)+" m")},E=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;case"left":case"start":default:e="left"}var A=this.ctx.transform.applyToPoint(new o(t.x,t.y)),n=this.ctx.transform.decompose(),r=new s;r=(r=(r=r.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var i,c,l,u=this.pdf.getTextDimensions(t.text),h=this.ctx.transform.applyToRectangle(new a(t.x,t.y,u.w,u.h)),f=r.applyToRectangle(new a(t.x,t.y-u.h,u.w,u.h)),d=g.call(this,f),p=[],B=0;B<d.length;B+=1)-1===p.indexOf(d[B])&&p.push(d[B]);if(m(p),!0===this.autoPaging)for(var b=p[p.length-1],v=p[0];v<b+1;v++){if(this.pdf.setPage(v),0!==this.ctx.clip_path.length){var C=this.path;i=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=w(i,this.posX,-1*this.pdf.internal.pageSize.height*(v-1)+this.posY),y.call(this,"fill",!0),this.path=C}var Q=JSON.parse(JSON.stringify(h));Q=w([Q],this.posX,-1*this.pdf.internal.pageSize.height*(v-1)+this.posY)[0],t.scale>=.01&&(c=this.pdf.internal.getFontSize(),this.pdf.setFontSize(c*t.scale),this.lineWidth=(l=this.lineWidth)*t.scale),this.pdf.text(t.text,Q.x,Q.y,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(c),this.lineWidth=l)}else t.scale>=.01&&(c=this.pdf.internal.getFontSize(),this.pdf.setFontSize(c*t.scale),this.lineWidth=(l=this.lineWidth)*t.scale),this.pdf.text(t.text,A.x+this.posX,A.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(c),this.lineWidth=l)},_=function(t,e,r,i){i=i||0,this.pdf.internal.out(A(t+(r=r||0))+" "+n(e+i)+" l")},S=function(t,e,A){return this.pdf.lines(t,e,A,null,null)},L=function(t,A,n,o,a,s,c,l){this.pdf.internal.out([e(r(n+t)),e(i(o+A)),e(r(a+t)),e(i(s+A)),e(r(c+t)),e(i(l+A)),"c"].join(" "))},I=function(t,e,A,n){for(var r=2*Math.PI,i=Math.PI/2;e>A;)e-=r;var o=Math.abs(A-e);o<r&&n&&(o=r-o);for(var a=[],s=n?-1:1,c=e;o>1e-5;){var l=c+s*Math.min(o,i);a.push(x.call(this,t,c,l)),o-=Math.abs(l-c),c=l}return a},x=function(t,e,A){var n=(A-e)/2,r=t*Math.cos(n),i=t*Math.sin(n),o=r,a=-i,s=o*o+a*a,c=s+o*r+a*i,l=4/3*(Math.sqrt(2*s*c)-c)/(o*i-a*r),u=o-l*a,h=a+l*o,f=u,d=-h,p=n+e,g=Math.cos(p),B=Math.sin(p);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:u*g-h*B,y2:u*B+h*g,x3:f*g-d*B,y3:f*B+d*g,x4:t*Math.cos(A),y4:t*Math.sin(A)}},T=function(t){return 180*t/Math.PI},H=function(t,e,A,n,r,i){var o=t+.5*(A-t),s=e+.5*(n-e),c=r+.5*(A-r),l=i+.5*(n-i),u=Math.min(t,r,o,c),h=Math.max(t,r,o,c),f=Math.min(e,i,s,l),d=Math.max(e,i,s,l);return new a(u,f,h-u,d-f)},k=function(t,e,A,n,r,i,o,s){var c,l,u,h,f,d,p,g,B,b,w,m,v,y,C=A-t,Q=n-e,U=r-A,F=i-n,N=o-r,E=s-i;for(l=0;l<41;l++)B=(p=(u=t+(c=l/40)*C)+c*((f=A+c*U)-u))+c*(f+c*(r+c*N-f)-p),b=(g=(h=e+c*Q)+c*((d=n+c*F)-h))+c*(d+c*(i+c*E-d)-g),0==l?(w=B,m=b,v=B,y=b):(w=Math.min(w,B),m=Math.min(m,b),v=Math.max(v,B),y=Math.max(y,b));return new a(Math.round(w),Math.round(m),Math.round(v-w),Math.round(y-m))}}(K.API),function(t){var e=function(t){var e,A,n,r,i,o,a,s,c,l;
vendor: 17,642 bytes, line 1
1for(/[^\x00-\xFF]/.test(t),A=[],n=0,r=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;r>n;n+=4)0!==(i=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(o=(i=((i=((i=((i=(i-(l=i%85))/85)-(c=i%85))/85)-(s=i%85))/85)-(a=i%85))/85)%85,A.push(o+33,a+33,s+33,c+33,l+33)):A.push(122);return function(t,e){for(var A=e;A>0;A--)t.pop()}(A,e.length),String.fromCharCode.apply(String,A)+"~>"},A=function(t){var e,A,n,r,i,o=String,a="length",s=255,c="charCodeAt",l="slice",u="replace";for(t[l](-2),t=t[l](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),n=[],r=0,i=(t+=e="uuuuu"[l](t[a]%5||5))[a];i>r;r+=5)A=52200625*(t[c](r)-33)+614125*(t[c](r+1)-33)+7225*(t[c](r+2)-33)+85*(t[c](r+3)-33)+(t[c](r+4)-33),n.push(s&A>>24,s&A>>16,s&A>>8,s&A);return function(t,e){for(var A=e;A>0;A--)t.pop()}(n,e[a]),o.fromCharCode.apply(o,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var A="",n=0;n<t.length;n+=2)A+=String.fromCharCode("0x"+(t[n]+t[n+1]));return A},r=function(e){for(var A,n=[],r=e.length;r--;)n[r]=e.charCodeAt(r);return A=t.adler32cs.from(e),e=a.a.deflate(n),(n=new Uint8Array(e.byteLength+4)).set(e,0),n.set(new Uint8Array([255&A,A>>8&255,A>>16&255,A>>24&255]),e.byteLength),n.reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,i){var o=0,a=t||"",s=[];for("string"==typeof(i=i||[])&&(i=[i]),o=0;o<i.length;o+=1)switch(i[o]){case"ASCII85Decode":case"/ASCII85Decode":a=A(a),s.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=e(a),s.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=n(a),s.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=a.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",s.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=r(a),s.push("/FlateDecode");break;default:throw new Error('The filter: "'+i[o]+'" is not implemented')}return{data:a,reverseChain:s.reverse().join(" ")}}}(K.API),function(t){t.loadFile=function(t,e,A){return function(t,e,A){e=!1!==e,A="function"==typeof A?A:function(){};var n=void 0;try{n=function(t,e,A){var n=new XMLHttpRequest,r=0,i=function(t){var e=t.length,A=[],n=String.fromCharCode;for(r=0;r<e;r+=1)A.push(n(255&t.charCodeAt(r)));return A.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){A(200===n.status?i(this.responseText):void 0)}),n.send(null),e&&200===n.status)return i(n.responseText)}(t,e,A)}catch(t){}return n}(t,e,A)},t.loadImageFile=t.loadFile}(K.API),function(t){function e(){return(s.html2canvas?Promise.resolve(s.html2canvas):Promise.resolve().then(A.t.bind(null,"wOnQ",7))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function n(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):A.e(20).then(A.t.bind(null,"wMS7",7))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var r=function(t){var e=typeof t;return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},i=function(t,e){var A=document.createElement(t);for(var n in e.className&&(A.className=e.className),e.innerHTML&&e.dompurify&&(A.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)A.style[n]=e.style[n];return A},o=function t(e){var A=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),A);return(n=n.setProgress(1,t,1,[t])).set(e)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(t,e){return t.__proto__=e||o.prototype,t},o.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"}},o.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(r(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(n).then((function(e){return this.set({src:i("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},o.prototype.to=function(t){switch(t){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.")}},o.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 t={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,A){for(var n=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),r=e.firstChild;r;r=r.nextSibling)!0!==A&&1===r.nodeType&&"SCRIPT"===r.nodeName||n.appendChild(t(r,A));return 1===e.nodeType&&("CANVAS"===e.nodeName?(n.width=e.width,n.height=e.height,n.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(n.value=e.value),n.addEventListener("load",(function(){n.scrollTop=e.scrollTop,n.scrollLeft=e.scrollLeft}),!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(i("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"}))},o.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(e).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},o.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(e).then((function(t){var e=this.opt.jsPDF,A=Object.assign({async:!0,allowTaint:!0,scale:1,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);return delete A.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,A.windowHeight=A.windowHeight||0,A.windowHeight=0==A.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):A.windowHeight,t(this.prop.container,A)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},o.prototype.output=function(t,e,A){return"img"===(A=A||"pdf").toLowerCase()||"image"===A.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},o.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},o.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){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 "'+t+'" is not supported.'}}))},o.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},o.prototype.set=function(t){if("object"!==r(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in o.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}}),this);return this.then((function(){return this.thenList(e)}))},o.prototype.get=function(t,e){return this.then((function(){var A=t in o.template.prop?this.prop[t]:this.opt[t];return e?e(A):A}))},o.prototype.setMargin=function(t){return this.then((function(){switch(r(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},o.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||K.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},o.prototype.setProgress=function(t,e,A,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=A&&(this.progress.n=A),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(t,e,A,n){return this.setProgress(t?this.progress.val+t:null,e||null,A?this.progress.n+A:null,n?this.progress.stack.concat(n):null)},o.prototype.then=function(t,e){var A=this;return this.thenCore(t,e,(function(t,e){return A.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return A.updateProgress(null,t),e})).then(t,e).then((function(t){return A.updateProgress(1),t}))}))},o.prototype.thenCore=function(t,e,A){A=A||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:o.convert(Object.assign({},this),Promise.prototype),r=A.call(n,t,e);return o.convert(r,this.__proto__)},o.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},o.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},o.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return o.convert(e,this)},o.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},o.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,K.getPageSize=function(t,e,A){if("object"==typeof t){var n=t;t=n.orientation,e=n.unit||e,A=n.format||A}e=e||"mm",A=A||"a4",t=(""+(t||"P")).toLowerCase();var r,i=(""+A).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(e){case"pt":r=1;break;case"mm":r=72/25.4;break;case"cm":r=72/2.54;break;case"in":r=72;break;case"px":r=.75;break;case"pc":case"em":r=12;break;case"ex":r=6;break;default:throw"Invalid unit: "+e}var a,s=0,c=0;if(o.hasOwnProperty(i))s=o[i][1]/r,c=o[i][0]/r;else try{s=A[1],c=A[0]}catch(t){throw new Error("Invalid format: "+A)}if("p"===t||"portrait"===t)t="p",c>s&&(a=c,c=s,s=a);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",s>c&&(a=c,c=s,s=a)}return{width:c,height:s,unit:e,k:r,orientation:t}},t.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this;var A=new o(e);return e.worker?A:A.from(t).doCallback()}}(K.API),K.API.addJS=function(t){return Nt=t,this.internal.events.subscribe("postPutResources",(function(){Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ut+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ft=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Nt+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ut&&void 0!==Ft&&this.internal.out("/Names <</JavaScript "+Ut+" 0 R>>")})),this},function(t){var e;t.events.push(["postPutResources",function(){var t=this,A=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),r=0;r<n.length;r++){var i=n[r],o=A.exec(i);null!=o&&t.internal.newObjectDeferredBegin(o[1],!1),t.internal.write(i)}if(this.outline.createNamedDestinations){var a=this.internal.pages.length,s=[];for(r=0;r<a;r++){var c=t.internal.newObject();s.push(c);var l=t.internal.getPageInfo(r+1);t.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var u=t.internal.newObject();for(t.internal.write("<< /Names [ "),r=0;r<s.length;r++)t.internal.write("(page_"+(r+1)+")"+s[r]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+u+" 0 R"),t.internal.write(">>","endobj")}}]),t.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 "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,A){var n={title:e,options:A,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var A=0;A<e.children.length;A++)this.genIds_r(e.children[A])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<e.children.length;n++){var r=e.children[n];this.objStart(r),this.line("/Title "+this.makeString(r.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1])));var i=this.count=this.count_r({count:0},r);if(i>0&&this.line("/Count "+i),r.options&&r.options.pageNumber){var o=t.internal.getPageInfo(r.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var a=0;a<e.children.length;a++)this.renderItems(e.children[a])}
1,t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var A=0;A<e.children.length;A++)t.count++,this.count_r(t,e.children[A]);return t.count}}])}(K.API),function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,A,n,r,i,o){var a,s=this.decode.DCT_DECODE,c=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=this.__addimage__.isArrayBuffer(t=i||t)?new Uint8Array(t):t,(a=function(t){for(var A,n=256*t.charCodeAt(4)+t.charCodeAt(5),r=t.length,i={width:0,height:0,numcomponents:1},o=4;o<r;o+=2){if(-1!==e.indexOf(t.charCodeAt((o+=n)+1))){A=256*t.charCodeAt(o+5)+t.charCodeAt(o+6),i={width:256*t.charCodeAt(o+7)+t.charCodeAt(o+8),height:A,numcomponents:t.charCodeAt(o+9)};break}n=256*t.charCodeAt(o+2)+t.charCodeAt(o+3)}return i}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}c={data:t,width:a.width,height:a.height,colorSpace:o,bitsPerComponent:8,filter:s,index:A,alias:n}}return c}}(K.API);var Lt,It,xt,Tt,Ht,kt=function(){function t(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return t.prototype={ensureBuffer:function(t){var e=this.buffer,A=e?e.byteLength:0;if(t<A)return e;for(var n=512;n<t;)n<<=1;for(var r=new Uint8Array(n),i=0;i<A;++i)r[i]=e[i];return this.buffer=r},getByte:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(t){var e=this.pos;if(t){this.ensureBuffer(e+t);for(var A=e+t;!this.eof&&this.bufferLength<A;)this.readBlock();var n=this.bufferLength;A>n&&(A=n)}else{for(;!this.eof;)this.readBlock();A=this.bufferLength}return this.pos=A,this.buffer.subarray(e,A)},lookChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(t,e,A){for(var n=t+e;this.bufferLength<=n&&!this.eof;)this.readBlock();return new Stream(this.buffer,t,e,A)},skip:function(t){t||(t=1),this.pos+=t},reset:function(){this.pos=0}},t}(),Pt=("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()).FlateStream=function(){if("undefined"!=typeof Uint32Array){var t=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),e=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),A=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),n=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,5243
vendor: 5,763 bytes, line 1
169,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],r=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(o.prototype=Object.create(kt.prototype)).getBits=function(t){for(var e,A=this.codeSize,n=this.codeBuf,r=this.bytes,o=this.bytesPos;A<t;)void 0===(e=r[o++])&&i("Bad encoding in flate stream"),n|=e<<A,A+=8;return e=n&(1<<t)-1,this.codeBuf=n>>t,this.codeSize=A-=t,this.bytesPos=o,e},o.prototype.getCode=function(t){for(var e=t[0],A=t[1],n=this.codeSize,r=this.codeBuf,o=this.bytes,a=this.bytesPos;n<A;){var s;void 0===(s=o[a++])&&i("Bad encoding in flate stream"),r|=s<<n,n+=8}var c=e[r&(1<<A)-1],l=c>>16,u=65535&c;return(0==n||n<l||0==l)&&i("Bad encoding in flate stream"),this.codeBuf=r>>l,this.codeSize=n-l,this.bytesPos=a,u},o.prototype.generateHuffmanTable=function(t){for(var e=t.length,A=0,n=0;n<e;++n)t[n]>A&&(A=t[n]);for(var r=1<<A,i=new Uint32Array(r),o=1,a=0,s=2;o<=A;++o,a<<=1,s<<=1)for(var c=0;c<e;++c)if(t[c]==o){var l=0,u=a;for(n=0;n<o;++n)l=l<<1|1&u,u>>=1;for(n=l;n<r;n+=s)i[n]=o<<16|c;++a}return[i,A]},o.prototype.readBlock=function(){function o(t,e,A,n,r){for(var i=t.getBits(A)+n;i-- >0;)e[d++]=r}var a=this.getBits(3);if(1&a&&(this.eof=!0),0!=(a>>=1)){var s,c;if(1==a)s=n,c=r;else if(2==a){for(var l=this.getBits(5)+257,u=this.getBits(5)+1,h=this.getBits(4)+4,f=Array(t.length),d=0;d<h;)f[t[d++]]=this.getBits(3);for(var p=this.generateHuffmanTable(f),g=0,B=(d=0,l+u),b=new Array(B);d<B;){var w=this.getCode(p);16==w?o(this,b,2,3,g):17==w?o(this,b,3,3,g=0):18==w?o(this,b,7,11,g=0):b[d++]=g=w}s=this.generateHuffmanTable(b.slice(0,l)),c=this.generateHuffmanTable(b.slice(l,B))}else i("Unknown block type in flate stream");for(var m=(I=this.buffer)?I.length:0,v=this.bufferLength;;){var y=this.getCode(s);if(y<256)v+1>=m&&(m=(I=this.ensureBuffer(v+1)).length),I[v++]=y;else{if(256==y)return void(this.bufferLength=v);var C=(y=e[y-=257])>>16;C>0&&(C=this.getBits(C)),g=(65535&y)+C,y=this.getCode(c),(C=(y=A[y])>>16)>0&&(C=this.getBits(C));var Q=(65535&y)+C;v+g>=m&&(m=(I=this.ensureBuffer(v+g)).length);for(var U=0;U<g;++U,++v)I[v]=I[v-Q]}}}else{var F,N=this.bytes,E=this.bytesPos;void 0===(F=N[E++])&&i("Bad block header in flate stream");var _=F;void 0===(F=N[E++])&&i("Bad block header in flate stream"),_|=F<<8,void 0===(F=N[E++])&&i("Bad block header in flate stream");var S=F;void 0===(F=N[E++])&&i("Bad block header in flate stream"),(S|=F<<8)!=(65535&~_)&&i("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var L=this.bufferLength,I=this.ensureBuffer(L+_),x=L+_;this.bufferLength=x;for(var T=L;T<x;++T){if(void 0===(F=N[E++])){this.eof=!0;break}I[T]=F}this.bytesPos=E}},o}function i(t){throw new Error(t)}function o(t){var e=0,A=t[e++],n=t[e++];-1!=A&&-1!=n||i("Invalid header in flate stream"),8!=(15&A)&&i("Unknown compression method in flate stream"),((A<<8)+n)%31!=0&&i("Bad FCHECK in flate stream"),32&n&&i("FDICT bit set in flate stream"),this.bytes=t,this.bytesPos=2,this.co
vendor: 33,474 bytes, line 1
1deSize=0,this.codeBuf=0,kt.call(this)}}(),Dt=function(){var t,e,A;function n(t){var e,A,n,r,i,o,a,s,c,l,u,h,f;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(e=this.readUInt32(),s=(function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}).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(e);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},r=this.readUInt16(),n=this.readUInt16()||100,i.delay=1e3*r/n,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===s&&(this.pos+=4,e-=4),t=(null!=i?i.data:void 0)||this.imgData,u=0;0<=e?u<e:u>e;0<=e?++u:--u)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(A=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>A)throw new Error("More transparent colors than palette size");if((c=A-this.transparency.indexed.length)>0)for(h=0;0<=c?h<c:h>c;0<=c?++h:--h)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":o=(l=this.read(e)).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 i&&this.animation.frames.push(i),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===(f=this.colorType)||6===f,this.pixelBitlength=this.bits*(this.colors+(this.hasAlphaChannel?1:0)),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+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}n.prototype.read=function(t){var e,A;for(A=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)A.push(this.data[this.pos++]);return A},n.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},n.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,A=new Uint8Array(this.width*this.height*e),n=0,r=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function i(i,o,a,s){var c,l,u,h,f,d,p,g,B,b,w,m,v,y,C,Q,U,F,N,E,_=Math.ceil((r.width-i)/a),S=Math.ceil((r.height-o)/s),L=r.width==_&&r.height==S;for(v=e*_,w=L?A:new Uint8Array(v*S),d=t.length,m=0,l=0;m<S&&n<d;){switch(t[n++]){case 0:for(h=Q=0;Q<v;h=Q+=1)w[l++]=t[n++];break;case 1:for(h=U=0;U<v;h=U+=1)c=t[n++],f=h<e?0:w[l-e],w[l++]=(c+f)%256;break;case 2:for(h=F=0;F<v;h=F+=1)c=t[n++],u=(h-h%e)/e,w[l++]=((y=m&&w[(m-1)*v+u*e+h%e])+c)%256;break;case 3:for(h=N=0;N<v;h=N+=1)c=t[n++],u=(h-h%e)/e,f=h<e?0:w[l-e],y=m&&w[(m-1)*v+u*e+h%e],w[l++]=(c+Math.floor((f+y)/2))%256;break;case 4:for(h=E=0;E<v;h=E+=1)c=t[n++],u=(h-h%e)/e,0===m?y=C=0:(y=w[(m-1)*v+u*e+h%e],C=u&&w[(m-1)*v+(u-1)*e+h%e]),p=(f=h<e?0:w[l-e])+y-C,g=Math.abs(p-f),B=Math.abs(p-y),b=Math.abs(p-C),w[l++]=(c+(g<=B&&g<=b?f:B<=b?y:C))%256;break;default:throw new Error("Invalid filter algorithm: "+t[n-1])}if(!L){var I=((o+m*s)*r.width+i)*e,x=m*v;for(h=0;h<_;h+=1){for(var T=0;T<e;T+=1)A[I++]=w[x++];I+=(a-1)*e}}m++}}return t=(t=new Pt(t)).getBytes(),1==r.interlaceMethod?(i(0,0,8,8),i(4,0,8,8),i(0,4,4,8),i(2,0,4,4),i(0,2,2,4),i(1,0,2,2),i(0,1,1,2)):i(0,0,1,1),A},n.prototype.decodePalette=function(){var t,e,A,n,r,i,o,a,s;for(A=this.palette,i=this.transparency.indexed||[],r=new Uint8Array((i.length||0)+A.length),n=0,t=0,e=o=0,a=A.length;o<a;e=o+=3)r[n++]=A[e],r[n++]=A[e+1],r[n++]=A[e+2],r[n++]=null!=(s=i[t++])?s:255;return r},n.prototype.copyToImageData=function(t,e){var A,n,r,i,o,a,s,c,l,u,h;if(n=this.colors,l=null,A=this.hasAlphaChannel,this.palette.length&&(l=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,A=!0),c=(r=t.data||t).length,o=l||e,i=a=0,1===n)for(;i<c;)s=l?4*e[i/4]:a,u=o[s++],r[i++]=u,r[i++]=u,r[i++]=u,r[i++]=A?o[s++]:255,a=s;else for(;i<c;)s=l?4*e[i/4]:a,r[i++]=o[s++],r[i++]=o[s++],r[i++]=o[s++],r[i++]=A?o[s++]:255,a=s},n.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var r=function(){if("[object Window]"===Object.prototype.toString.call(s)){try{e=s.document.createElement("canvas"),A=e.getContext("2d")}catch(t){return!1}return!0}return!1};return r(),t=function(t){var n;if(!0===r())return A.width=t.width,A.height=t.height,A.clearRect(0,0,t.width,t.height),A.putImageData(t,0,0),(n=new Image).src=e.toDataURL(),n;throw new Error("This method requires a Browser with Canvas-capability.")},n.prototype.decodeFrames=function(e){var A,n,r,i,o,a,s,c;if(this.animation){for(c=[],n=o=0,a=(s=this.animation.frames).length;o<a;n=++o)r=e.createImageData((A=s[n]).width,A.height),i=this.decodePixels(new Uint8Array(A.data)),this.copyToImageData(r,i),A.imageData=r,c.push(A.image=t(r));return c}},n.prototype.renderFrame=function(t,e){var A,n,r;return A=(n=this.animation.frames)[e],r=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=r?r.disposeOp:void 0)?t.clearRect(r.xOffset,r.yOffset,r.width,r.height):2===(null!=r?r.disposeOp:void 0)&&t.putImageData(r.imageData,r.xOffset,r.yOffset),0===A.blendOp&&t.clearRect(A.xOffset,A.yOffset,A.width,A.height),t.drawImage(A.image,A.xOffset,A.yOffset)},n.prototype.animate=function(t){var e,A,n,r,i,o,a=this;return A=0,r=(o=this.animation).numFrames,n=o.frames,i=o.numPlays,(e=function(){var o,s;if(o=A++%r,s=n[o],a.renderFrame(t,o),r>1&&A/r<i)return a.animation._timeout=setTimeout(e,s.delay)})()},n.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},n.prototype.render=function(t){var e,A;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(A=e.createImageData(this.width,this.height),this.copyToImageData(A,this.decodePixels()),e.putImageData(A,0,0))},n}();function Kt(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var A=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,r=t[e++],i=1<<1+(7&r);e++,e++;var o=null,a=null;r>>7&&(o=e,a=i,e+=3*i);var s=!0,c=[],l=0,u=null,h=0,f=null;for(this.width=A,this.height=n;s&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,f=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var d=t[e++];l=t[e++]|t[e++]<<8,u=t[e++],0==(1&d)&&(u=null),h=d>>2&7,e++;break;case 254:for(;;){if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var p=t[e++]|t[e++]<<8,g=t[e++]|t[e++]<<8,B=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,w=t[e++],m=w>>6&1,v=1<<1+(7&w),y=o,C=a,Q=!1;w>>7&&(Q=!0,y=e,C=v,e+=3*v);var U=e;for(e++;;){var F;if(!((F=t[e++])>=0))throw Error("Invalid block size");if(0===F)break;e+=F}c.push({x:p,y:g,width:B,height:b,has_local_palette:Q,palette_offset:y,palette_size:C,data_offset:U,data_length:e-U,transparent_index:u,interlaced:!!m,delay:l,disposal:h});break;case 59:s=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return f},this.frameInfo=function(t){if(t<0||t>=c.length)throw new Error("Frame index out of range.");return c[t]},this.decodeAndBlitFrameBGRA=function(e,n){var r=this.frameInfo(e),i=r.width*r.height,o=new Uint8Array(i);Ot(t,r.data_offset,o,i);var a=r.palette_offset,s=r.transparent_index;null===s&&(s=256);var c=r.width,l=A-c,u=c,h=4*(r.y*A+r.x),f=4*((r.y+r.height)*A+r.x),d=h,p=4*l;!0===r.interlaced&&(p+=4*A*7);for(var g=8,B=0,b=o.length;B<b;++B){var w=o[B];if(0===u&&(u=c,(d+=p)>=f&&(p=4*l+4*A*(g-1),d=h+(c+l)*(g<<1),g>>=1)),w===s)d+=4;else{var m=t[a+3*w],v=t[a+3*w+1];n[d++]=t[a+3*w+2],n[d++]=v,n[d++]=m,n[d++]=255}--u}},this.decodeAndBlitFrameRGBA=function(e,n){var r=this.frameInfo(e),i=r.width*r.height,o=new Uint8Array(i);Ot(t,r.data_offset,o,i);var a=r.palette_offset,s=r.transparent_index;null===s&&(s=256);var c=r.width,l=A-c,u=c,h=4*(r.y*A+r.x),f=4*((r.y+r.height)*A+r.x),d=h,p=4*l;!0===r.interlaced&&(p+=4*A*7);for(var g=8,B=0,b=o.length;B<b;++B){var w=o[B];if(0===u&&(u=c,(d+=p)>=f&&(p=4*l+4*A*(g-1),d=h+(c+l)*(g<<1),g>>=1)),w===s)d+=4;else{var m=t[a+3*w+1],v=t[a+3*w+2];n[d++]=t[a+3*w],n[d++]=m,n[d++]=v,n[d++]=255}--u}}}function Ot(t,e,A,n){for(var r=t[e++],i=1<<r,o=i+1,a=o+1,s=r+1,c=(1<<s)-1,u=0,h=0,f=0,d=t[e++],p=new Int32Array(4096),g=null;;){for(;u<16&&0!==d;)h|=t[e++]<<u,u+=8,1===d?d=t[e++]:--d;if(u<s)break;var B=h&c;if(h>>=s,u-=s,B!==i){if(B===o)break;for(var b=B<a?B:g,w=0,m=b;m>i;)m=p[m]>>8,++w;var v=m;if(f+w+(b!==B?1:0)>n)return void l.log("Warning, gif stream longer than expected.");A[f++]=v;var y=f+=w;for(b!==B&&(A[f++]=v),m=b;w--;)A[--y]=255&(m=p[m]),m>>=8;null!==g&&a<4096&&(p[a++]=g<<8|v,a>=c+1&&s<12&&(++s,c=c<<1|1)),g=B}else a=o+1,c=(1<<(s=r+1))-1,g=null}return f!==n&&l.log("Warning, gif stream shorter than expected."),A}function Rt(t){var e,A,n,r,i,o=Math.floor,a=new Array(64),s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(65535),h=new Array(65535),f=new Array(64),d=new Array(64),p=[],g=0,B=7,b=new Array(64),w=new Array(64),m=new Array(64),v=new Array(256),y=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],U=[0,1,2,3,4,5,6,7,8,9,10,11],F=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[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],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],_=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],L=[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 I(t,e){for(var A=0,n=0,r=new Array,i=1;i<=16;i++){for(var o=1;o<=t[i];o++)r[e[n]]=[],r[e[n]][0]=A,r[e[n]][1]=i,n++,A++;A*=2}return r}function x(t){for(var e=t[0],A=t[1]-1;A>=0;)e&1<<A&&(g|=1<<B),A--,--B<0&&(255==g?(T(255),T(0)):T(g),B=7,g=0)}function T(t){p.push(t)}function H(t){T(t>>8&255),T(255&t)}function k(t,e,A,n,r){for(var i,o=r[0],a=r[240],s=function(t,e){var A,n,r,i,o,a,s,c,l,u,h=0;for(l=0;l<8;++l){var d=(A=t[h])+(c=t[h+7]),p=A-c,g=(n=t[h+1])+(s=t[h+6]),B=n-s,b=(r=t[h+2])+(a=t[h+5]),w=r-a,m=(i=t[h+3])+(o=t[h+4]),v=i-o,y=d+m,C=d-m,Q=g+b,U=g-b;t[h]=y+Q,t[h+4]=y-Q;var F=.707106781*(U+C);t[h+2]=C+F,t[h+6]=C-F;var N=.382683433*((y=v+w)-(U=B+p)),E=.5411961*y+N,_=1.306562965*U+N,S=.707106781*(Q=w+B),L=p+S,I=p-S;t[h+5]=I+E,t[h+3]=I-E,t[h+1]=L+_,t[h+7]=L-_,h+=8}for(h=0,l=0;l<8;++l){var x=(A=t[h])+(c=t[h+56]),T=A-c,H=(n=t[h+8])+(s=t[h+48]),k=n-s,P=(r=t[h+16])+(a=t[h+40]),D=r-a,K=(i=t[h+24])+(o=t[h+32]),O=i-o,R=x+K,M=x-K,z=H+P,j=H-P;t[h]=R+z,t[h+32]=R-z;var V=.707106781*(j+M);t[h+16]=M+V,t[h+48]=M-V;var q=.382683433*((R=O+D)-(j=k+T)),G=.5411961*R+q,X=1.306562965*j+q,J=.707106781*(z=D+k),W=T+J,Y=T-J;t[h+40]=Y+G,t[h+24]=Y-G,t[h+8]=W+X,t[h+56]=W-X,h++}for(l=0;l<64;++l)f[l]=(u=t[l]*e[l])>0?u+.5|0:u-.5|0;return f}(t,e),c=0;c<64;++c)d[C[c]]=s[c];var l=d[0]-A;A=d[0],0==l?x(n[0]):(x(n[h[i=32767+l]]),x(u[i]));for(var p=63;p>0&&0==d[p];)p--;if(0==p)return x(o),A;for(var g,B=1;B<=p;){for(var b=B;0==d[B]&&B<=p;)++B;var w=B-b;if(w>=16){g=w>>4;for(var m=1;m<=g;++m)x(a);w&=15}x(r[(w<<4)+h[i=32767+d[B]]]),x(u[i]),B++}return 63!=p&&x(o),A}function P(t){t=Math.min(Math.max(t,1),100),i!=t&&(function(t){for(var e=[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],A=0;A<64;A++){var n=o((e[A]*t+50)/100);n=Math.min(Math.max(n,1),255),a[C[A]]=n}for(var r=[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 u=o((r[i]*t+50)/100);u=Math.min(Math.max(u,1),255),s[C[i]]=u}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,d=0;d<8;d++)for(var p=0;p<8;p++)c[f]=1/(a[C[f]]*h[d]*h[p]*8),l[f]=1/(s[C[f]]*h[d]*h[p]*8),f++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),i=t)}this.encode=function(t,i){i&&P(i),p=new Array,g=0,B=7,H(65496),H(65504),H(16),T(74),T(70),T(73),T(70),T(0),T(1),T(1),T(0),H(1),H(1),T(0),T(0),function(){H(65499),H(132),T(0);for(var t=0;t<64;t++)T(a[t]);T(1);for(var e=0;e<64;e++)T(s[e])}(),function(t,e){H(65472),H(17),T(8),H(e),H(t),T(3),T(1),T(17),T(0),T(2),T(17),T(1),T(3),T(17),T(1)}(t.width,t.height),function(){H(65476),H(418),T(0);for(var t=0;t<16;t++)T(Q[t+1]);for(var e=0;e<=11;e++)T(U[e]);T(16);for(var A=0;A<16;A++)T(F[A+1]);for(var n=0;n<=161;n++)T(N[n]);T(1);for(var r=0;r<16;r++)T(E[r+1]);for(var i=0;i<=11;i++)T(_[i]);T(17);for(var o=0;o<16;o++)T(S[o+1]);for(var a=0;a<=161;a++)T(L[a])}(),H(65498),H(12),T(3),T(1),T(0),T(2),T(17),T(3),T(17),T(0),T(63),T(0);var o=0,u=0,h=0;g=0,B=7,this.encode.displayName="_encode_";for(var f,d,v,C,I,D,K,O,R,M=t.data,z=t.height,j=4*t.width,V=0;V<z;){for(f=0;f<j;){for(I=j*V+f,K=-1,O=0,R=0;R<64;R++)D=I+(O=R>>3)*j+(K=4*(7&R)),V+O>=z&&(D-=j*(V+1+O-z)),f+K>=j&&(D-=f+K-j+4),d=M[D++],v=M[D++],C=M[D++],b[R]=(y[d]+y[v+256>>0]+y[C+512>>0]>>16)-128,w[R]=(y[d+768>>0]+y[v+1024>>0]+y[C+1280>>0]>>16)-128,m[R]=(y[d+1280>>0]+y[v+1536>>0]+y[C+1792>>0]>>16)-128;o=k(b,c,o,e,n),u=k(w,l,u,A,r),h=k(m,l,h,A,r),f+=32}V+=8}if(B>=0){var q=[];q[1]=B+1,q[0]=(1<<B+1)-1,x(q)}return H(65497),new Uint8Array(p)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)v[e]=t(e)}(),e=I(Q,U),A=I(E,_),n=I(F,N),r=I(S,L),function(){for(var t=1,e=2,A=1;A<=15;A++){for(var n=t;n<e;n++)h[32767+n]=A,u[32767+n]=[],u[32767+n][1]=A,u[32767+n][0]=n;for(var r=-(e-1);r<=-t;r++)h[32767+r]=A,u[32767+r]=[],u[32767+r][1]=A,u[32767+r][0]=e-1+r;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)y[t]=19595*t,y[t+256>>0]=38470*t,y[t+512>>0]=7471*t+32768,y[t+768>>0]=-11059*t,y[t+1024>>0]=-21709*t,y[t+1280>>0]=32768*t+8421375,y[t+1536>>0]=-27439*t,y[t+1792>>0]=-5329*t}(),P(t)}function Mt(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,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 zt(t){function e(t){if(!t)throw Error("assert :P")}function A(t,e,A){for(var n=0;4>n;n++)if(t[e+n]!=A.charCodeAt(n))return!0;return!1}function n(t,e,A,n,r){for(var i=0;i<r;i++)t[e+i]=A[n+i]}function r(t,e,A,n){for(var r=0;r<n;r++)t[e+r]=A}function i(t){return new Int32Array(t)}function o(t,e){for(var A=[],n=0;n<t;n++)A.push(new e);return A}function a(t,e){var A=[];return function t(A,n,r){for(var i=r[n],o=0;o<i&&(A.push(r.length>n+1?[]:new e),!(r.length<n+1));o++)t(A[o],n+1,r)}(A,0,t),A}function s(t,e){for(var A="",n=0;n<4;n++)A+=String.fromCharCode(t[e++]);return A}function c(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16)>>>0}function l(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new(zt=function(){var t=this;function s(t,e){for(var A=1<<e-1>>>0;t&A;)A>>>=1;return A?(t&A-1)+A:t}function c(t,A,n,r,i){e(!(r%n));do{t[A+(r-=n)]=i}while(0<r)}function l(t,A,n,r,o){if(e(2328>=o),512>=o)var a=i(512);else if(null==(a=i(o)))return 0;return function(t,A,n,r,o,a){var l,h,f=A,d=1<<n,p=i(16),g=i(16);for(e(0!=o),e(null!=r),e(null!=t),e(0<n),h=0;h<o;++h){if(15<r[h])return 0;++p[r[h]]}if(p[0]==o)return 0;for(g[1]=0,l=1;15>l;++l){if(p[l]>1<<l)return 0;g[l+1]=g[l]+p[l]}for(h=0;h<o;++h)l=r[h],0<r[h]&&(a[g[l]++]=h);if(1==g[15])return(r=new u).g=0,r.value=a[0],c(t,f,1,d,r),d;var B,b=-1,w=d-1,m=0,v=1,y=1,C=1<<n;for(h=0,l=1,o=2;l<=n;++l,o<<=1){if(v+=y<<=1,0>(y-=p[l]))return 0;for(;0<p[l];--p[l])(r=new u).g=l,r.value=a[h++],c(t,f+m,o,C,r),m=s(m,l)}for(l=n+1,o=2;15>=l;++l,o<<=1){if(v+=y<<=1,0>(y-=p[l]))return 0;for(;0<p[l];--p[l]){if(r=new u,(m&w)!=b){for(f+=C,B=1<<(b=l)-n;15>b&&!(0>=(B-=p[b]));)++b,B<<=1;d+=C=1<<(B=b-n),t[A+(b=m&w)].g=B+n,t[A+b].value=f-A-b}r.g=l-n,r.value=a[h++],c(t,f+(m>>n),o,C,r),m=s(m,l)}}return v!=2*g[15]-1?0:d}(t,A,n,r,o,a)}function u(){this.value=this.g=0}function h(){this.value=this.g=0}function f(){this.G=o(5,u),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(DA,h)}function d(t,A,n,r){e(null!=t),e(null!=A),e(2147483648>r),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=A,t.pa=n,t.Jd=A,t.Yc=n+r,t.Zc=4<=r?n+r-4+1:n,F(t)}function p(t,e){for(var A=0;0<e--;)A|=E(t,128)<<e;return A}function g(t,e){var A=p(t,e);return N(t)?-A:A}function B(t,A,n,r){var i,o=0;for(e(null!=t),e(null!=A),e(4294967288>r),t.Sb=r,t.Ra=0,t.u=0,t.h=0,4<r&&(r=4),i=0;i<r;++i)o+=A[n+i]<<8*i;t.Ra=o,t.bb=r,t.oa=A,t.pa=n}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<RA-8>>>0,++t.bb,t.u-=8;C(t)&&(t.h=1,t.u=0)}function w(t,A){if(e(0<=A),!t.h&&A<=OA){var n=y(t)&KA[A];return t.u+=A,b(t),n}return t.h=1,t.u=0}function m(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function v(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function y(t){return t.Ra>>>(t.u&RA-1)>>>0}function C(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>RA}function Q(t,e){t.u=e,t.h=C(t)}function U(t){t.u>=MA&&(e(t.u>=MA),b(t))}function F(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function N(t){return p(t,1)}function E(t,e){var A=t.Ca;0>t.b&&F(t);var n=t.b,r=A*e>>>8,i=(t.I>>>n>r)+0;for(i?(A-=r,t.I-=r+1<<n>>>0):A=r+1,n=A,r=0;256<=n;)r+=8,n>>=8;return t.b-=n=7^r+zA[n],t.Ca=(A<<n)-1,i}function _(t,e,A){t[e+0]=A>>24&255,t[e+1]=A>>16&255,t[e+2]=A>>8&255,t[e+3]=A>>0&255}function S(t,e){return t[e+0]<<0|t[e+1]<<8}function L(t,e){return S(t,e)|t[e+2]<<16}function I(t,e){return S(t,e)|S(t,e+2)<<16}function x(t,A){var n=1<<A;return e(null!=t),e(0<A),t.X=i(n),null==t.X?0:(t.Mb=32-A,t.Xa=A,1)}function T(t,A){e(null!=t),e(null!=A),e(t.Xa==A.Xa),n(A.X,0,t.X,0,1<<A.Xa)}function H(){this.X=[],this.Xa=this.Mb=0}function k(t,A,n,r){e(null!=n),e(null!=r);var i=n[0],o=r[0];return 0==i&&(i=(t*o+A/2)/A),0==o&&(o=(A*i+t/2)/t),0>=i||0>=o?0:(n[0]=i,r[0]=o,1)}function P(t,e){return t+(1<<e)-1>>>e}function D(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function K(e,A){t[A]=function(A,n,r,i,o,a,s){var c;for(c=0;c<o;++c){var l=t[e](a[s+c-1],r,i+c);a[s+c]=D(A[n+c],l)}}}function O(){this.ud=this.hd=this.jd=0}function R(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function M(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function z(t,e){return M(t+(t-e+.5>>1))}function j(t,e,A){return Math.abs(e-A)-Math.abs(t-A)}function V(t,e,A,n,r,i,o){for(n=i[o-1],A=0;A<r;++A)i[o+A]=n=D(t[e+A],n)}function q(t,e,A,n,r){var i;for(i=0;i<A;++i){var o=t[e+i],a=o>>8&255,s=16711935&(s=(s=16711935&o)+((a<<16)+a));n[r+i]=(4278255360&o)+s>>>0}}function G(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function X(t,e,A,n,r,i){var o;for(o=0;o<n;++o){var a=e[A+o],s=a>>>8,c=a,l=255&(l=(l=a>>>16)+((t.jd<<24>>24)*(s<<24>>24)>>>5));c=255&(c=(c+=(t.hd<<24>>24)*(s<<24>>24)>>>5)+((t.ud<<24>>24)*(l<<24>>24)>>>5)),r[i+o]=(4278255360&a)+(l<<16)+c}}function J(e,A,n,r,i){t[A]=function(t,e,A,n,o,a,s,c,l){for(n=s;n<c;++n)for(s=0;s<l;++s)o[a++]=i(A[r(t[e++])])},t[e]=function(e,A,o,a,s,c,l){var u=8>>e.b,h=e.Ea,f=e.K[0],d=e.w;if(8>u)for(e=(1<<e.b)-1,d=(1<<u)-1;A<o;++A){var p,g=0;for(p=0;p<h;++p)p&e||(g=r(a[s++])),c[l++]=i(f[g&d]),g>>=u}else t["VP8LMapColor"+n](a,s,f,d,c,l,A,o,h)}}function W(t,e,A,n,r){for(A=e+A;e<A;){var i=t[e++];n[r++]=i>>16&255,n[r++]=i>>8&255,n[r++]=i>>0&255}}function Y(t,e,A,n,r){for(A=e+A;e<A;){var i=t[e++];n[r++]=i>>16&255,n[r++]=i>>8&255,n[r++]=i>>0&255,n[r++]=i>>24&255}}function Z(t,e,A,n,r){for(A=e+A;e<A;){var i=(o=t[e++])>>16&240|o>>12&15,o=o>>0&240|o>>28&15;n[r++]=i,n[r++]=o}}function $(t,e,A,n,r){for(A=e+A;e<A;){var i=(o=t[e++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[r++]=i,n[r++]=o}}function tt(t,e,A,n,r){for(A=e+A;e<A;){var i=t[e++];n[r++]=i>>0&255,n[r++]=i>>8&255,n[r++]=i>>16&255}}function et(t,e,A,r,i,o){if(0==o)for(A=e+A;e<A;)_(r,((o=t[e++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),i+=32;else n(r,i,t,e,A)}function At(e,A){t[A][0]=t[e+"0"],t[A][1]=t[e+"1"],t[A][2]=t[e+"2"],t[A][3]=t[e+"3"],t[A][4]=t[e+"4"],t[A][5]=t[e+"5"],t[A][6]=t[e+"6"],t[A][7]=t[e+"7"],t[A][8]=t[e+"8"],t[A][9]=t[e+"9"],t[A][10]=t[e+"10"],t[A][11]=t[e+"11"],t[A][12]=t[e+"12"],t[A][13]=t[e+"13"],t[A][14]=t[e+"0"],t[A][15]=t[e+"0"]}function nt(t){return t==zn||t==jn||t==Vn||t==qn}function rt(){this.eb=[],this.size=this.A=this.fb=0}function it(){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 ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new rt,this.f.kb=new it,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function st(){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 ct(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function lt(t,e){var A=t.T,r=e.ba.f.RGBA,i=r.eb,o=r.fb+t.ka*r.A,a=Br[e.ba.S],s=t.y,c=t.O,l=t.f,u=t.N,h=t.ea,f=t.W,d=e.cc,p=e.dc,g=e.Mc,B=e.Nc,b=t.ka,w=t.ka+t.T,m=t.U,v=m+1>>1;for(0==b?a(s,c,null,null,l,u,h,f,l,u,h,f,i,o,null,null,m):(a(e.ec,e.fc,s,c,d,p,g,B,l,u,h,f,i,o-r.A,i,o,m),++A);b+2<w;b+=2)a(s,(c+=2*t.fa)-t.fa,s,c,d=l,p=u,g=h,B=f,l,u+=t.Rc,h,f+=t.Rc,i,(o+=2*r.A)-r.A,i,o,m);return c+=t.fa,t.j+w<t.o?(n(e.ec,e.fc,s,c,m),n(e.cc,e.dc,l,u,v),n(e.Mc,e.Nc,h,f,v),A--):1&w||a(s,c,null,null,l,u,h,f,l,u,h,f,i,o+r.A,null,null,m),A}function ut(t,A,n){var r=t.F,i=[t.J];if(null!=r){var o=t.U,a=A.ba.S,s=a==On||a==Vn;A=A.ba.f.RGBA;var c=[0],l=t.ka;c[0]=t.T,t.Kb&&(0==l?--c[0]:(--l,i[0]-=t.width),t.j+t.ka+t.T==t.o&&(c[0]=t.o-t.j-l));var u=A.eb;t=Un(r,i[0],t.width,o,c,u,(l=A.fb+l*A.A)+(s?0:3),A.A),e(n==c),t&&nt(a)&&Cn(u,l,s,o,c,A.A)}return 0}function ht(t){var e=t.ma,A=e.ba.S,n=11>A,r=A==Pn||A==Kn||A==On||A==Rn||12==A||nt(A);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!HA(e.Oa,t,r?11:12))return 0;if(r&&nt(A)&&bA(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ct,t.Kb){if(e.memory=i(t.U+2*(A=t.U+1>>1)),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+A,e.Ib=lt,bA()}}else alert("todo:EmitYUV");r&&(e.Jb=ut,n&&gA())}if(n&&!Lr){for(t=0;256>t;++t)Ir[t]=89858*(t-128)+Fr>>Ur,Hr[t]=-22014*(t-128)+Fr,Tr[t]=-45773*(t-128),xr[t]=113618*(t-128)+Fr>>Ur;for(t=Nr;t<Er;++t)kr[t-Nr]=Vt(e=76283*(t-16)+Fr>>Ur,255),Pr[t-Nr]=Vt(e+8>>4,15);Lr=1}return 1}function ft(t){var A=t.ma,n=t.U,r=t.T;return e(!(1&t.ka)),0>=n||0>=r?0:(n=A.Ib(t,A),null!=A.Jb&&A.Jb(t,A,n),A.Dc+=n,1)}function dt(t){t.ma.memory=null}function pt(t,e,A,n){return 47!=w(t,8)?0:(e[0]=w(t,14)+1,A[0]=w(t,14)+1,n[0]=w(t,1),0!=w(t,3)?0:!t.h)}function gt(t,e){if(4>t)return t+1;var A=t-2>>1;return(2+(1&t)<<A)+w(e,A)+1}function Bt(t,e){return 120<e?e-120:1<=(A=((A=Zn[e-1])>>4)*t+(8-(15&A)))?A:1;var A}function bt(t,e,A){var n=y(A),r=t[e+=255&n].g-8;return 0<r&&(Q(A,A.u+8),n=y(A),e+=t[e].value,e+=n&(1<<r)-1),Q(A,A.u+t[e].g),t[e].value}function wt(t,A,n){return n.g+=t.g,n.value+=t.value<<A>>>0,e(8>=n.g),t.g}function mt(t,A,n){var r=t.xc;return e((A=0==r?0:t.vc[t.md*(n>>r)+(A>>r)])<t.Wb),t.Ya[A]}function vt(t,A,r,i){var o=t.ab,a=t.c*A,s=t.C;A=s+A;var c=r,l=i;for(i=t.Ta,r=t.Ua;0<o--;){var u=t.gc[o],h=s,f=A,d=c,p=l,g=(l=i,c=r,u.Ea);switch(e(h<f),e(f<=u.nc),u.hc){case 2:qA(d,p,(f-h)*g,l,c);break;case 0:var B=h,b=f,w=l,m=c,v=(F=u).Ea;0==B&&(jA(d,p,null,null,1,w,m),V(d,p+1,0,0,v-1,w,m+1),p+=v,m+=v,++B);for(var y=1<<F.b,C=y-1,Q=P(v,F.b),U=F.K,F=F.w+(B>>F.b)*Q;B<b;){var N=U,E=F,_=1;for(VA(d,p,w,m-v,1,w,m);_<v;){var S=(_&~C)+y;S>v&&(S=v),(0,YA[N[E++]>>8&15])(d,p+ +_,w,m+_-v,S-_,w,m+_),_=S}p+=v,m+=v,++B&C||(F+=Q)}f!=u.nc&&n(l,c-g,l,c+(f-h-1)*g,g);break;case 1:for(g=d,b=p,v=(d=u.Ea)-(m=d&~(w=(p=1<<u.b)-1)),B=P(d,u.b),y=u.K,u=u.w+(h>>u.b)*B;h<f;){for(C=y,Q=u,U=new O,F=b+m,N=b+d;b<F;)G(C[Q++],U),ZA(U,g,b,p,l,c),b+=p,c+=p;b<N&&(G(C[Q++],U),ZA(U,g,b,v,l,c),b+=v,c+=v),++h&w||(u+=B)}break;case 3:if(d==l&&p==c&&0<u.b){for(b=l,d=g=c+(f-h)*g-(m=(f-h)*P(u.Ea,u.b)),p=l,w=c,B=[],m=(v=m)-1;0<=m;--m)B[m]=p[w+m];for(m=v-1;0<=m;--m)b[d+m]=B[m];GA(u,h,f,l,g,l,c)}else GA(u,h,f,d,p,l,c)}c=i,l=r}l!=r&&n(i,r,c,l,a)}function yt(t,A){var n=t.V,r=t.Ba+t.c*t.C,i=A-t.C;if(e(A<=t.l.o),e(16>=i),0<i){var o=t.l,a=t.Ta,s=t.Ua,c=o.width;if(vt(t,i,n,r),i=s=[s],e((n=t.C)<(r=A)),e(o.v<o.va),r>o.o&&(r=o.o),n<o.j){var l=o.j-n;n=o.j,i[0]+=l*c}if(n>=r?n=0:(i[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=r-n,n=1),n){if(s=s[0],11>(n=t.ca).S){var u=n.f.RGBA,h=(r=n.S,i=o.U,o=o.T,l=u.eb,u.A),f=o;for(u=u.fb+t.Ma*u.A;0<f--;){var d=a,p=s,g=i,B=l,b=u;switch(r){case kn:$A(d,p,g,B,b);break;case Pn:tn(d,p,g,B,b);break;case zn:tn(d,p,g,B,b),Cn(B,b,0,g,1,0);break;case Dn:nn(d,p,g,B,b);break;case Kn:et(d,p,g,B,b,1);break;case jn:et(d,p,g,B,b,1),Cn(B,b,0,g,1,0);break;case On:et(d,p,g,B,b,0);break;case Vn:et(d,p,g,B,b,0),Cn(B,b,1,g,1,0);break;case Rn:en(d,p,g,B,b);break;case qn:en(d,p,g,B,b),Qn(B,b,g,1,0);break;case Mn:An(d,p,g,B,b);break;default:e(0)}s+=c,u+=h}t.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=n.height)}}t.C=A,e(t.C<=t.i)}function Ct(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var A=t.Ya[e].G,n=t.Ya[e].H;if(0<A[1][n[1]+0].g||0<A[2][n[2]+0].g||0<A[3][n[3]+0].g)return 0}return 1}function Qt(t,A,n,r,i,o){if(0!=t.Z){var a=t.qd,s=t.rd;for(e(null!=gr[t.Z]);A<n;++A)gr[t.Z](a,s,r,i,r,i,o),a=r,s=i,i+=o;t.qd=a,t.rd=s}}function Ut(t,A){var n=t.l.ma,r=0==n.Z||1==n.Z?t.l.j:t.C;if(r=t.C<r?r:t.C,e(A<=t.l.o),A>r){var i=t.l.width,o=n.ca,a=n.tb+i*r,s=t.V,c=t.Ba+t.c*r,l=t.gc;e(1==t.ab),e(3==l[0].hc),JA(l[0],r,A,s,c,o,a),Qt(n,r,A,o,a,i)}t.C=t.Ma=A}function Ft(t,A,n,r,i,o,a){var s=t.$/r,c=t.$%r,l=t.m,u=t.s,h=n+t.$,f=h;i=n+r*i;var d=n+r*o,p=280+u.ua,g=t.Pb?s:16777216,B=0<u.ua?u.Wa:null,b=u.wc,w=h<d?mt(u,c,s):null;e(t.C<o),e(d<=i);var m=!1;t:for(;;){for(;m||h<d;){var v=0;if(s>=g){var F=h-n;e((g=t).Pb),g.wd=g.m,g.xd=F,0<g.s.ua&&T(g.s.Wa,g.s.vb),g=s+tr}if(c&b||(w=mt(u,c,s)),e(null!=w),w.Qb&&(A[h]=w.qb,m=!0),!m)if(U(l),w.jc){F=A;var N=h,E=w.pd[y(v=l)&DA-1];e(w.jc),256>E.g?(Q(v,v.u+E.g),F[N]=E.value,v=0):(Q(v,v.u+E.g-256),e(256<=E.value),v=E.value),0==v&&(m=!0)}else v=bt(w.G[0],w.H[0],l);if(l.h)break;if(m||256>v){if(!m)if(w.nd)A[h]=(w.qb|v<<8)>>>0;else{if(U(l),m=bt(w.G[1],w.H[1],l),U(l),F=bt(w.G[2],w.H[2],l),N=bt(w.G[3],w.H[3],l),l.h)break;A[h]=(N<<24|m<<16|v<<8|F)>>>0}if(m=!1,++h,++c>=r&&(c=0,++s,null!=a&&s<=o&&!(s%16)&&a(t,s),null!=B))for(;f<h;)v=A[f++],B.X[(506832829*v&4294967295)>>>B.Mb]=v}else if(280>v){if(v=gt(v-256,l),F=bt(w.G[4],w.H[4],l),U(l),F=Bt(r,F=gt(F,l)),l.h)break;if(h-n<F||i-h<v)break t;for(N=0;N<v;++N)A[h+N]=A[h+N-F];for(h+=v,c+=v;c>=r;)c-=r,++s,null!=a&&s<=o&&!(s%16)&&a(t,s);if(e(h<=i),c&b&&(w=mt(u,c,s)),null!=B)for(;f<h;)v=A[f++],B.X[(506832829*v&4294967295)>>>B.Mb]=v}else{if(!(v<p))break t;for(m=v-280,e(null!=B);f<h;)v=A[f++],B.X[(506832829*v&4294967295)>>>B.Mb]=v;v=h,e(!(m>>>(F=B).Xa)),A[v]=F.X[m],m=!0}m||e(l.h==C(l))}if(t.Pb&&l.h&&h<i)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&T(t.s.vb,t.s.Wa);else{if(l.h)break t;null!=a&&a(t,s>o?o:s),t.a=0,t.$=h-n}return 1}return t.a=3,0}function Nt(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var A=t.Wa;null!=A&&(A.X=null),t.vb=null,e(null!=t)}function Et(){var e=new oA;return null==e?null:(e.a=0,e.xb=pr,At("Predictor","VP8LPredictors"),At("Predictor","VP8LPredictors_C"),At("PredictorAdd","VP8LPredictorsAdd"),At("PredictorAdd","VP8LPredictorsAdd_C"),qA=q,ZA=X,$A=W,tn=Y,en=Z,An=$,nn=tt,t.VP8LMapColor32b=XA,t.VP8LMapColor8b=WA,e)}function _t(t,A,n,a,s){var c=1,h=[t],d=[A],p=a.m,g=a.s,B=null,b=0;t:for(;;){if(n)for(;c&&w(p,1);){var m=h,v=d,C=a,F=1,N=C.m,E=C.gc[C.ab],_=w(N,2);if(C.Oc&1<<_)c=0;else{switch(C.Oc|=1<<_,E.hc=_,E.Ea=m[0],E.nc=v[0],E.K=[null],++C.ab,e(4>=C.ab),_){case 0:case 1:E.b=w(N,3)+2,F=_t(P(E.Ea,E.b),P(E.nc,E.b),0,C,E.K),E.K=E.K[0];break;case 3:var S,L=w(N,8)+1,I=16<L?0:4<L?1:2<L?2:3;if(m[0]=P(E.Ea,I),E.b=I,S=F=_t(L,1,0,C,E.K)){var T,H=L,k=E,K=1<<(8>>k.b),O=i(K);if(null==O)S=0;else{var R=k.K[0],M=k.w;for(O[0]=k.K[0][0],T=1;T<1*H;++T)O[T]=D(R[M+T],O[T-1]);for(;T<4*K;++T)O[T]=0;k.K[0]=null,k.K[0]=O,S=1}}F=S;break;case 2:break;default:e(0)}c=F}}if(h=h[0],d=d[0],c&&w(p,1)&&!(c=1<=(b=w(p,4))&&11>=b)){a.a=3;break t}var z;if(z=c)e:{var j,V,q,G=a,X=h,J=d,W=b,Y=n,Z=G.m,$=G.s,tt=[null],et=1,At=0,nt=$n[W];A:for(;;){if(Y&&w(Z,1)){var rt=w(Z,3)+2,it=P(X,rt),ot=P(J,rt),at=it*ot;if(!_t(it,ot,0,G,tt))break A;for(tt=tt[0],$.xc=rt,j=0;j<at;++j){var st=tt[j]>>8&65535;tt[j]=st,st>=et&&(et=st+1)}}if(Z.h)break A;for(V=0;5>V;++V){var ct=Jn[V];!V&&0<W&&(ct+=1<<W),At<ct&&(At=ct)}var lt=o(et*nt,u),ut=et,ht=o(ut,f);if(null==ht)var ft=null;else e(65536>=ut),ft=ht;var dt=i(At);if(null==ft||null==dt||null==lt){G.a=1;break A}var pt=lt;for(j=q=0;j<et;++j){var gt=ft[j],Bt=gt.G,bt=gt.H,mt=0,vt=1,yt=0;for(V=0;5>V;++V){ct=Jn[V],Bt[V]=pt,bt[V]=q,!V&&0<W&&(ct+=1<<W);n:{var Ct,Qt=ct,Ut=G,Et=dt,St=pt,Lt=q,It=0,xt=Ut.m,Tt=w(xt,1);if(r(Et,0,0,Qt),Tt){var Ht=w(xt,1)+1,kt=w(xt,1),Pt=w(xt,0==kt?1:8);Et[Pt]=1,2==Ht&&(Et[Pt=w(xt,8)]=1);var Dt=1}else{var Kt=i(19),Ot=w(xt,4)+4;if(19<Ot){Ut.a=3;var Rt=0;break n}for(Ct=0;Ct<Ot;++Ct)Kt[Yn[Ct]]=w(xt,3);var Mt=void 0,zt=void 0,jt=Ut,Vt=Kt,qt=Qt,Gt=Et,Xt=0,Jt=jt.m,Wt=8,Yt=o(128,u);r:for(;l(Yt,0,7,Vt,19);){if(w(Jt,1)){var Zt=2+2*w(Jt,3);if((Mt=2+w(Jt,Zt))>qt)break r}else Mt=qt;for(zt=0;zt<qt&&Mt--;){U(Jt);var $t=Yt[0+(127&y(Jt))];Q(Jt,Jt.u+$t.g);var te=$t.value;if(16>te)Gt[zt++]=te,0!=te&&(Wt=te);else{var ee=16==te,Ae=te-16,ne=Xn[Ae],re=w(Jt,Gn[Ae])+ne;if(zt+re>qt)break r;for(var ie=ee?Wt:0;0<re--;)Gt[zt++]=ie}}Xt=1;break r}Xt||(jt.a=3),Dt=Xt}(Dt=Dt&&!xt.h)&&(It=l(St,Lt,8,Et,Qt)),Dt&&0!=It?Rt=It:(Ut.a=3,Rt=0)}if(0==Rt)break A;if(vt&&1==Wn[V]&&(vt=0==pt[q].g),mt+=pt[q].g,q+=Rt,3>=V){var oe,ae=dt[0];for(oe=1;oe<ct;++oe)dt[oe]>ae&&(ae=dt[oe]);yt+=ae}}if(gt.nd=vt,gt.Qb=0,vt&&(gt.qb=(Bt[3][bt[3]+0].value<<24|Bt[1][bt[1]+0].value<<16|Bt[2][bt[2]+0].value)>>>0,0==mt&&256>Bt[0][bt[0]+0].value&&(gt.Qb=1,gt.qb+=Bt[0][bt[0]+0].value<<8)),gt.jc=!gt.Qb&&6>yt,gt.jc){var se,ce=gt;for(se=0;se<DA;++se){var le=se,ue=ce.pd[le],he=ce.G[0][ce.H[0]+le];256<=he.value?(ue.g=he.g+256,ue.value=he.value):(ue.g=0,ue.value=0,le>>=wt(he,8,ue),le>>=wt(ce.G[1][ce.H[1]+le],16,ue),le>>=wt(ce.G[2][ce.H[2]+le],0,ue),wt(ce.G[3][ce.H[3]+le],24,ue))}}}$.vc=tt,$.Wb=et,$.Ya=ft,$.yc=lt,z=1;break e}z=0}if(!(c=z)){a.a=3;break t}if(0<b){if(g.ua=1<<b,!x(g.Wa,b)){a.a=1,c=0;break t}}else g.ua=0;var fe=a,de=h,pe=d,ge=fe.s,Be=ge.xc;if(fe.c=de,fe.i=pe,ge.md=P(de,Be),ge.wc=0==Be?-1:(1<<Be)-1,n){a.xb=dr;break t}if(null==(B=i(h*d))){a.a=1,c=0;break t}c=(c=Ft(a,B,0,h,d,d,null))&&!p.h;break t}return c?(null!=s?s[0]=B:(e(null==B),e(n)),a.$=0,n||Nt(g)):Nt(g),c}function St(t,A){var n=t.c*t.i,r=n+A+16*A;return e(t.c<=A),t.V=i(r),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+n+A,1)}function Lt(t,A){var n=t.C,r=A-n,i=t.V,o=t.Ba+t.c*n;for(e(A<=t.l.o);0<r;){var a=16<r?16:r,s=t.l.ma,c=t.l.width,l=c*a,u=s.ca,h=s.tb+c*n,f=t.Ta,d=t.Ua;vt(t,a,i,o),Fn(f,d,u,h,l),Qt(s,n,n+a,u,h,c),r-=a,i+=a*t.c,n+=a}e(n==A),t.C=t.Ma=A}function It(){this.ub=this.yd=this.td=this.Rb=0}
vendor: 7,037 bytes, line 1
1function xt(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Tt(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function Ht(){this.Yb=function(){var t=[];return function t(e,A,n){for(var r=n[A],i=0;i<r&&(e.push(n.length>A+1?[]:0),!(n.length<A+1));i++)t(e[i],A+1,n)}(t,0,[3,11]),t}()}function kt(){this.jb=i(3),this.Wc=a([4,8],Ht),this.Xc=a([4,17],Ht)}function Pt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function Dt(){this.ld=this.La=this.dd=this.tc=0}function Kt(){this.Na=this.la=0}function Ot(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Rt(){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 Mt(){this.uc=this.M=this.Nb=0,this.wa=Array(new Dt),this.Y=0,this.ya=Array(new Rt),this.aa=0,this.l=new qt}function zt(){this.y=i(16),this.f=i(8),this.ea=i(8)}function jt(){this.cb=this.a=0,this.sc="",this.m=new m,this.Od=new It,this.Kc=new xt,this.ed=new Pt,this.Qa=new Tt,this.Ic=this.$c=this.Aa=0,this.D=new Mt,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,m),this.ia=0,this.pb=o(4,Ot),this.Pa=new kt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new zt),this.Hd=0,this.rb=Array(new Kt),this.sb=0,this.wa=Array(new Dt),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 Rt),this.L=this.aa=0,this.gd=a([4,2],Dt),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 Vt(t,e){return 0>t?0:t>e?e:t}function qt(){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 Gt(){var t=new jt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,nr||(nr=Yt)),t}function Xt(t,e,A){return 0==t.a&&(t.a=e,t.sc=A,t.cb=0),0}function Jt(t,e,A){return 3<=A&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Wt(t,A){if(null==t)return 0;if(t.a=0,t.sc="OK",null==A)return Xt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=A.data,i=A.w,o=A.ha;if(4>o)return Xt(t,7,"Truncated header.");var a=n[i+0]|n[i+1]<<8|n[i+2]<<16,s=t.Od;if(s.Rb=!(1&a),s.td=a>>1&7,s.yd=a>>4&1,s.ub=a>>5,3<s.td)return Xt(t,3,"Incorrect keyframe parameters.");if(!s.yd)return Xt(t,4,"Frame not displayable.");i+=3,o-=3;var c=t.Kc;if(s.Rb){if(7>o)return Xt(t,7,"cannot parse picture header");if(!Jt(n,i,o))return Xt(t,3,"Bad code word");c.c=16383&(n[i+4]<<8|n[i+3]),c.Td=n[i+4]>>6,c.i=16383&(n[i+6]<<8|n[i+5]),c.Ud=n[i+6]>>6,i+=7,o-=7,t.za=c.c+15>>4,t.Ub=c.i+15>>4,A.width=c.c,A.height=c.i,A.Da=0,A.j=0,A.v=0,A.va=A.width,A.o=A.height,A.da=0,A.ib=A.width,A.hb=A.height,A.U=A.width,A.T=A.height,r((a=t.Pa).jb,0,255,a.jb.length),e(null!=(a=t.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,r(a.Zb,0,0,a.Zb.length),r(a.Lb,0,0,a.Lb)}if(s.ub>o)return Xt(t,7,"bad partition length");d(a=t.m,n,i,s.ub),i+=s.ub,o-=s.ub,s.Rb&&(c.Ld=N(a),c.Kd=N(a)),c=t.Qa;var l,u=t.Pa;if(e(null!=a),e(null!=c),c.Cb=N(a),c.Cb){if(c.Bb=N(a),N(a)){for(c.Fb=N(a),l=0;4>l;++l)c.Zb[l]=N(a)?g(a,7):0;for(l=0;4>l;++l)c.Lb[l]=N(a)?g(a,6):0}if(c.Bb)for(l=0;3>l;++l)u.jb[l]=N(a)?p(a,8):255}else c.Bb=0;if(a.Ka)return Xt(t,3,"cannot parse segment header");if((c=t.ed).zd=N(a),c.Tb=p(a,6),c.wb=p(a,3),c.Pc=N(a),c.Pc&&N(a)){for(u=0;4>u;++u)N(a)&&(c.vd[u]=g(a,6));for(u=0;4>u;++u)N(a)&&(c.od[u]=g(a,6))}if(t.L=0==c.Tb?0:c.zd?1:2,a.Ka)return Xt(t,3,"cannot parse filter header");var h=o;if(o=l=i,i=l+h,c=h,t.Xb=(1<<p(t.m,2))-1,h<3*(u=t.Xb))n=7;else{for(l+=3*u,c-=3*u,h=0;h<u;++h){var f=n[o+0]|n[o+1]<<8|n[o+2]<<16;f>c&&(f=c),d(t.Jc[+h],n,l,f),l+=f,c-=f,o+=3}d(t.Jc[+u],n,l,c),n=l<i?0:5}if(0!=n)return Xt(t,n,"cannot parse partitions");for(n=p(l=t.m,7),o=N(l)?g(l,4):0,i=N(l)?g(l,4):0,c=N(l)?g(l,4):0,u=N(l)?g(l,4):0,l=N(l)?g(l,4):0,h=t.Qa,f=0;4>f;++f){if(h.Cb){var B=h.Zb[f];h.Fb||(B+=n)}else{if(0<f){t.pb[f]=t.pb[0];continue}B=n}var b=t.pb[f];b.Sc[0]=er[Vt(B+o,127)],b.Sc[1]=Ar[Vt(B+0,127)],b.Eb[0]=2*er[Vt(B+i,127)],b.Eb[1]=101581*Ar[Vt(B+c,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=er[Vt(B+u,117)],b.Qc[1]=Ar[Vt(B+l,127)],b.lc=B+l}if(!s.Rb)return Xt(t,4,"Not a key frame.");for(N(a),s=t.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(i=0;3>i;++i)for(c=0;11>c;++c)u=E(a,cr[n][o][i][c])?p(a,8):ar[n][o][i][c],s.Wc[n][o].Yb[i][c]=u;for(o=0;17>o;++o)s.Xc[n][o]=s.Wc[n][lr[o]]}return t.kc=N(a),t.kc&&(t.Bd=p(a,8)),t.cb=1}function Yt(t,e,A,n,r,i,o){var a=e[r].Yb[A];for(A=0;16>r;++r){if(!E(t,a[A+0]))return r;for(;!E(t,a[A+1]);)if(a=e[++r].Yb[0],A=0,16==r)return 16;var s=e[r+1].Yb;if(E(t,a[A+2])){var c=t,l=0;if(E(c,(h=a)[(u=A)+3]))if(E(c,h[u+6])){for(a=0,u=2*(l=E(c,h[u+8]))+(h=E(c,h[u+9+l])),l=0,h=rr[u];h[a];++a)l+=l+E(c,h[a]);l+=3+(8<<u)}else E(c,h[u+7])?(l=7+2*E(c,165),l+=E(c,145)):l=5+E(c,159);else l=E(c,h[u+4])?3+E(c,h[u+5]):2;a=s[2]}else l=1,a=s[1];s=o+ir[r],0>(c=t).b&&F(c);var u,h=c.b,f=(u=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=f,c.Ca|=1,c.I-=(u+1&f)<<h,i[s]=((l^f)-f)*n[(0<r)+0]}return 16}function Zt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,r(t.zc,0,0,t.zc.length),t.ja=0}function $t(t,A){if(null==t)return 0;if(null==A)return Xt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Wt(t,A))return 0;if(e(t.cb),null==A.ac||A.ac(A)){A.ob&&(t.L=0);var a=Kr[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=A.v-a>>4,t.zb=A.j-a>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=A.o+15+a>>4,t.Hb=A.va+15+a>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var s=t.ed;for(a=0;4>a;++a){var c;if(t.Qa.Cb){var l=t.Qa.Lb[a];t.Qa.Fb||(l+=s.Tb)}else l=s.Tb;for(c=0;1>=c;++c){var u=t.gd[a][c],h=l;if(s.Pc&&(h+=s.vd[0],c&&(h+=s.od[0])),0<(h=0>h?0:63<h?63:h)){var f=h;0<s.wb&&(f=4<s.wb?f>>2:f>>1)>9-s.wb&&(f=9-s.wb),1>f&&(f=1),u.dd=f,u.tc=2*h+f,u.ld=40<=h?2:15<=h?1:0}else u.tc=0;u.La=c}}}a=0}else Xt(t,6,"Frame setup failed"),a=t.a;if(a=0==a){if(a){t.$c=0,0<t.Aa||(t.Ic=Rr);t:{s=4*(f=t.za);var d=32*f,p=f+1,g=0<t.L?f*(0<t.Aa?2:1):0,B=(2==t.Aa?2:1)*f;if((u=s+832+(c=3*(16*(a=t.Ic)+Kr[t.L])/2*d)+(l=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=u)a=0;else{if(u>t.Vb){if(t.Vb=0,t.Ec=i(u),t.Fc=0,null==t.Ec){a=Xt(t,1,"no memory during frame initialization.");break t}t.Vb=u}h=t.Fc,t.Ac=u=t.Ec,t.Bc=h,h+=s,t.Gd=o(d,zt),t.Hd=0,t.rb=o(p+1,Kt),t.sb=1,t.wa=g?o(g,Dt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=f),e(!0),t.oc=u,t.pc=h,h+=832,t.ya=o(B,Rt),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=f),t.R=16*f,t.B=8*f,f=(d=Kr[t.L])*t.R,d=d/2*t.B,t.sa=u,t.ta=h+f,t.qa=t.sa,t.ra=t.ta+16*a*t.R+d,t.Ha=t.qa,t.Ia=t.ra+8*a*t.B+d,t.$c=0,h+=c,t.mb=l?u:null,t.nb=l?h:null,e(h+l<=t.Fc+t.Vb),Zt(t),r(t.Ac,t.Bc,0,s),a=1}}if(a){if(A.ka=0,A.y=t.sa,A.O=t.ta,A.f=t.qa,A.N=t.ra,A.ea=t.Ha,A.Vd=t.Ia,A.fa=t.R,A.Rc=t.B,A.F=null,A.J=0,!Ln){for(a=-255;255>=a;++a)Nn[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)En[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;
vendor: 19,660 bytes, line 1
1++a)_n[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)Sn[255+a]=0>a?0:255<a?255:a;Ln=1}rn=ce,on=ie,sn=oe,cn=ae,ln=se,an=re,un=Xe,hn=Je,fn=Ze,dn=$e,pn=We,gn=Ye,Bn=tA,bn=eA,wn=Me,mn=ze,vn=je,yn=Ve,hr[0]=Qe,hr[1]=ue,hr[2]=ye,hr[3]=Ce,hr[4]=Ue,hr[5]=Ne,hr[6]=Fe,hr[7]=Ee,hr[8]=Se,hr[9]=_e,ur[0]=Be,ur[1]=fe,ur[2]=de,ur[3]=pe,ur[4]=be,ur[5]=we,ur[6]=me,fr[0]=Te,fr[1]=he,fr[2]=Le,fr[3]=Ie,fr[4]=ke,fr[5]=He,fr[6]=Pe,a=1}else a=0}a&&(a=function(t,A){for(t.M=0;t.M<t.Va;++t.M){var o,a=t.Jc[t.M&t.Xb],s=t.m,c=t;for(o=0;o<c.za;++o){var l=s,u=c,h=u.Ac,f=u.Bc+4*o,d=u.zc,p=u.ya[u.aa+o];if(p.$b=u.Qa.Bb?E(l,u.Pa.jb[0])?2+E(l,u.Pa.jb[2]):E(l,u.Pa.jb[1]):0,u.kc&&(p.Ad=E(l,u.Bd)),p.Za=!E(l,145)+0,p.Za){var g=p.Ob,B=0;for(u=0;4>u;++u){var b,w=d[0+u];for(b=0;4>b;++b){for(var m=or[E(l,(w=sr[h[f+b]][w])[0])];0<m;)m=or[2*m+E(l,w[m])];h[f+b]=w=-m}n(g,B,h,f,4),B+=4,d[0+u]=w}}else w=E(l,156)?E(l,128)?1:3:E(l,163)?2:0,p.Ob[0]=w,r(h,f,w,4),r(d,0,w,4);p.Dd=E(l,142)?E(l,114)?E(l,183)?1:3:2:0}if(c.m.Ka)return Xt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(c=a,l=(s=t).rb[s.sb-1],h=s.rb[s.sb+s.ja],o=s.ya[s.aa+s.ja],f=s.kc?o.Ad:0)l.la=h.la=0,o.Za||(l.Na=h.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var v,y;if(l=h,h=c,f=s.Pa.Xc,p=s.pb[(d=s.ya[s.aa+s.ja]).$b],B=s.rb[s.sb-1],w=b=0,r(u=d.ad,g=0,0,384),d.Za)var C=0,Q=f[3];else{m=i(16);var U=l.Na+B.Na;if(U=nr(h,f[1],U,p.Eb,0,m,0),l.Na=B.Na=(0<U)+0,1<U)rn(m,0,u,g);else{var F=m[0]+3>>3;for(m=0;256>m;m+=16)u[g+m]=F}C=1,Q=f[0]}var N=15&l.la,_=15&B.la;for(m=0;4>m;++m){var S=1&_;for(F=y=0;4>F;++F)N=N>>1|(S=(U=nr(h,Q,U=S+(1&N),p.Sc,C,u,g))>C)<<7,y=y<<2|(3<U?3:1<U?2:0!=u[g+0]),g+=16;N>>=4,_=_>>1|S<<7,b=(b<<8|y)>>>0}for(Q=N,C=_>>4,v=0;4>v;v+=2){for(y=0,N=l.la>>4+v,_=B.la>>4+v,m=0;2>m;++m){for(S=1&_,F=0;2>F;++F)N=N>>1|(S=0<(U=nr(h,f[2],U=S+(1&N),p.Qc,0,u,g)))<<3,y=y<<2|(3<U?3:1<U?2:0!=u[g+0]),g+=16;N>>=2,_=_>>1|S<<5}w|=y<<4*v,Q|=N<<4<<v,C|=(240&_)<<v}l.la=Q,B.la=C,d.Hc=b,d.Gc=w,d.ia=43690&w?0:p.ia,f=!(b|w)}if(0<s.L&&(s.wa[s.Y+s.ja]=s.gd[o.$b][o.Za],s.wa[s.Y+s.ja].La|=!f),c.Ka)return Xt(t,7,"Premature end-of-file encountered.")}if(Zt(t),s=A,c=1,o=(a=t).D,l=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(o.M=a.M,o.uc=l,xA(a,o),c=1,o=(y=a.D).Nb,l=(w=Kr[a.L])*a.R,f=a.sa,d=a.ta-l+(m=16*o*a.R),p=a.qa,u=a.ra-(h=w/2*a.B)+(F=8*o*a.B),g=a.Ha,B=a.Ia-h+F,_=0==(N=y.M),b=N>=a.Va-1,2==a.Aa&&xA(a,y),y.uc)for(S=(U=a).D.M,e(U.D.uc),y=U.yb;y<U.Hb;++y){Q=S;var L=(I=(R=U).D).Nb,I=I.wa[I.Y+(C=y)],x=R.sa,T=R.ta+16*L*(v=R.R)+16*C,H=I.dd,k=I.tc;if(0!=k)if(e(3<=k),1==R.L)0<C&&mn(x,T,v,k+4),I.La&&yn(x,T,v,k),0<Q&&wn(x,T,v,k+4),I.La&&vn(x,T,v,k);else{var P=R.B,D=R.qa,K=R.ra+8*L*P+8*C,O=R.Ha,R=R.Ia+8*L*P+8*C;L=I.ld,0<C&&(hn(x,T,v,k+4,H,L),dn(D,K,O,R,P,k+4,H,L)),I.La&&(gn(x,T,v,k,H,L),bn(D,K,O,R,P,k,H,L)),0<Q&&(un(x,T,v,k+4,H,L),fn(D,K,O,R,P,k+4,H,L)),I.La&&(pn(x,T,v,k,H,L),Bn(D,K,O,R,P,k,H,L))}}if(a.ia&&alert("todo:DitherRow"),null!=s.put){if(y=16*N,N=16*(N+1),_?(s.y=a.sa,s.O=a.ta+m,s.f=a.qa,s.N=a.ra+F,s.ea=a.Ha,s.W=a.Ia+F):(y-=w,s.y=f,s.O=d,s.f=p,s.N=u,s.ea=g,s.W=B),b||(N-=w),N>s.o&&(N=s.o),s.F=null,s.J=null,null!=a.Fa&&0<a.Fa.length&&y<N&&(s.J=uA(a,s,y,N-y),s.F=a.mb,null==s.F&&0==s.F.length)){c=Xt(a,3,"Could not decode alpha data.");break t}y<s.j&&(w=s.j-y,y=s.j,e(!(1&w)),s.O+=a.R*w,s.N+=a.B*(w>>1),s.W+=a.B*(w>>1),null!=s.F&&(s.J+=s.width*w)),y<N&&(s.O+=s.v,s.N+=s.v>>1,s.W+=s.v>>1,null!=s.F&&(s.J+=s.v),s.ka=y-s.j,s.U=s.va-s.v,s.T=N-y,c=s.put(s))}o+1!=a.Ic||b||(n(a.sa,a.ta-l,f,d+16*a.R,l),n(a.qa,a.ra-h,p,u+8*a.B,h),n(a.Ha,a.Ia-h,g,B+8*a.B,h))}if(!c)return Xt(t,6,"Output aborted.")}return 1}(t,A)),null!=A.bc&&A.bc(A),a&=1}return a?(t.cb=0,a):0}function te(t,e,A,n,r){t[e+A+32*n]=-256&(r=t[e+A+32*n]+(r>>3))?0>r?0:255:r}function ee(t,e,A,n,r,i){te(t,e,0,A,n+r),te(t,e,1,A,n+i),te(t,e,2,A,n-i),te(t,e,3,A,n-r)}function Ae(t){return(20091*t>>16)+t}function ne(t,e,A,n){var r,o=0,a=i(16);for(r=0;4>r;++r){var s=t[e+0]+t[e+8],c=t[e+0]-t[e+8],l=(35468*t[e+4]>>16)-Ae(t[e+12]),u=Ae(t[e+4])+(35468*t[e+12]>>16);a[o+0]=s+u,a[o+1]=c+l,a[o+2]=c-l,a[o+3]=s-u,o+=4,e++}for(r=o=0;4>r;++r)s=(t=a[o+0]+4)+a[o+8],c=t-a[o+8],l=(35468*a[o+4]>>16)-Ae(a[o+12]),te(A,n,0,0,s+(u=Ae(a[o+4])+(35468*a[o+12]>>16))),te(A,n,1,0,c+l),te(A,n,2,0,c-l),te(A,n,3,0,s-u),o++,n+=32}function re(t,e,A,n){var r=t[e+0]+4,i=35468*t[e+4]>>16,o=Ae(t[e+4]),a=35468*t[e+1]>>16;ee(A,n,0,r+o,t=Ae(t[e+1]),a),ee(A,n,1,r+i,t,a),ee(A,n,2,r-i,t,a),ee(A,n,3,r-o,t,a)}function ie(t,e,A,n,r){ne(t,e,A,n),r&&ne(t,e+16,A,n+4)}function oe(t,e,A,n){on(t,e+0,A,n,1),on(t,e+32,A,n+128,1)}function ae(t,e,A,n){var r;for(t=t[e+0]+4,r=0;4>r;++r)for(e=0;4>e;++e)te(A,n,e,r,t)}function se(t,e,A,n){t[e+0]&&cn(t,e+0,A,n),t[e+16]&&cn(t,e+16,A,n+4),t[e+32]&&cn(t,e+32,A,n+128),t[e+48]&&cn(t,e+48,A,n+128+4)}function ce(t,e,A,n){var r,o=i(16);for(r=0;4>r;++r){var a=t[e+0+r]+t[e+12+r],s=t[e+4+r]+t[e+8+r],c=t[e+4+r]-t[e+8+r],l=t[e+0+r]-t[e+12+r];o[0+r]=a+s,o[8+r]=a-s,o[4+r]=l+c,o[12+r]=l-c}for(r=0;4>r;++r)a=(t=o[0+4*r]+3)+o[3+4*r],c=o[1+4*r]-o[2+4*r],l=t-o[3+4*r],A[n+0]=a+(s=o[1+4*r]+o[2+4*r])>>3,A[n+16]=l+c>>3,A[n+32]=a-s>>3,A[n+48]=l-c>>3,n+=64}function le(t,e,A){var n,r=e-32,i=Tn,o=255-t[r-1];for(n=0;n<A;++n){var a,s=i,c=o+t[e-1];for(a=0;a<A;++a)t[e+a]=s[c+t[r+a]];e+=32}}function ue(t,e){le(t,e,4)}function he(t,e){le(t,e,8)}function fe(t,e){le(t,e,16)}function de(t,e){var A;for(A=0;16>A;++A)n(t,e+32*A,t,e-32,16)}function pe(t,e){var A;for(A=16;0<A;--A)r(t,e,t[e-1],16),e+=32}function ge(t,e,A){var n;for(n=0;16>n;++n)r(e,A+32*n,t,16)}function Be(t,e){var A,n=16;for(A=0;16>A;++A)n+=t[e-1+32*A]+t[e+A-32];ge(n>>5,t,e)}function be(t,e){var A,n=8;for(A=0;16>A;++A)n+=t[e-1+32*A];ge(n>>4,t,e)}function we(t,e){var A,n=8;for(A=0;16>A;++A)n+=t[e+A-32];ge(n>>4,t,e)}function me(t,e){ge(128,t,e)}function ve(t,e,A){return t+2*e+A+2>>2}function ye(t,e){var A,r=e-32;for(r=new Uint8Array([ve(t[r-1],t[r+0],t[r+1]),ve(t[r+0],t[r+1],t[r+2]),ve(t[r+1],t[r+2],t[r+3]),ve(t[r+2],t[r+3],t[r+4])]),A=0;4>A;++A)n(t,e+32*A,r,0,r.length)}function Ce(t,e){var A=t[e-1],n=t[e-1+32],r=t[e-1+64],i=t[e-1+96];_(t,e+0,16843009*ve(t[e-1-32],A,n)),_(t,e+32,16843009*ve(A,n,r)),_(t,e+64,16843009*ve(n,r,i)),_(t,e+96,16843009*ve(r,i,i))}function Qe(t,e){var A,n=4;for(A=0;4>A;++A)n+=t[e+A-32]+t[e-1+32*A];for(n>>=3,A=0;4>A;++A)r(t,e+32*A,n,4)}function Ue(t,e){var A=t[e-1+0],n=t[e-1+32],r=t[e-1+64],i=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],c=t[e+3-32];t[e+0+96]=ve(n,r,t[e-1+96]),t[e+1+96]=t[e+0+64]=ve(A,n,r),t[e+2+96]=t[e+1+64]=t[e+0+32]=ve(i,A,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=ve(o,i,A),t[e+3+64]=t[e+2+32]=t[e+1+0]=ve(a,o,i),t[e+3+32]=t[e+2+0]=ve(s,a,o),t[e+3+0]=ve(c,s,a)}function Fe(t,e){var A=t[e+1-32],n=t[e+2-32],r=t[e+3-32],i=t[e+4-32],o=t[e+5-32],a=t[e+6-32],s=t[e+7-32];t[e+0+0]=ve(t[e+0-32],A,n),t[e+1+0]=t[e+0+32]=ve(A,n,r),t[e+2+0]=t[e+1+32]=t[e+0+64]=ve(n,r,i),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=ve(r,i,o),t[e+3+32]=t[e+2+64]=t[e+1+96]=ve(i,o,a),t[e+3+64]=t[e+2+96]=ve(o,a,s),t[e+3+96]=ve(a,s,s)}function Ne(t,e){var A=t[e-1+0],n=t[e-1+32],r=t[e-1+64],i=t[e-1-32],o=t[e+0-32],a=t[e+1-32],s=t[e+2-32],c=t[e+3-32];t[e+0+0]=t[e+1+64]=i+o+1>>1,t[e+1+0]=t[e+2+64]=o+a+1>>1,t[e+2+0]=t[e+3+64]=a+s+1>>1,t[e+3+0]=s+c+1>>1,t[e+0+96]=ve(r,n,A),t[e+0+64]=ve(n,A,i),t[e+0+32]=t[e+1+96]=ve(A,i,o),t[e+1+32]=t[e+2+96]=ve(i,o,a),t[e+2+32]=t[e+3+96]=ve(o,a,s),t[e+3+32]=ve(a,s,c)}function Ee(t,e){var A=t[e+0-32],n=t[e+1-32],r=t[e+2-32],i=t[e+3-32],o=t[e+4-32],a=t[e+5-32],s=t[e+6-32],c=t[e+7-32];t[e+0+0]=A+n+1>>1,t[e+1+0]=t[e+0+64]=n+r+1>>1,t[e+2+0]=t[e+1+64]=r+i+1>>1,t[e+3+0]=t[e+2+64]=i+o+1>>1,t[e+0+32]=ve(A,n,r),t[e+1+32]=t[e+0+96]=ve(n,r,i),t[e+2+32]=t[e+1+96]=ve(r,i,o),t[e+3+32]=t[e+2+96]=ve(i,o,a),t[e+3+64]=ve(o,a,s),t[e+3+96]=ve(a,s,c)}function _e(t,e){var A=t[e-1+0],n=t[e-1+32],r=t[e-1+64],i=t[e-1+96];t[e+0+0]=A+n+1>>1,t[e+2+0]=t[e+0+32]=n+r+1>>1,t[e+2+32]=t[e+0+64]=r+i+1>>1,t[e+1+0]=ve(A,n,r),t[e+3+0]=t[e+1+32]=ve(n,r,i),t[e+3+32]=t[e+1+64]=ve(r,i,i),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=i}function Se(t,e){var A=t[e-1+0],n=t[e-1+32],r=t[e-1+64],i=t[e-1+96],o=t[e-1-32],a=t[e+0-32],s=t[e+1-32],c=t[e+2-32];t[e+0+0]=t[e+2+32]=A+o+1>>1,t[e+0+32]=t[e+2+64]=n+A+1>>1,t[e+0+64]=t[e+2+96]=r+n+1>>1,t[e+0+96]=i+r+1>>1,t[e+3+0]=ve(a,s,c),t[e+2+0]=ve(o,a,s),t[e+1+0]=t[e+3+32]=ve(A,o,a),t[e+1+32]=t[e+3+64]=ve(n,A,o),t[e+1+64]=t[e+3+96]=ve(r,n,A),t[e+1+96]=ve(i,r,n)}function Le(t,e){var A;for(A=0;8>A;++A)n(t,e+32*A,t,e-32,8)}function Ie(t,e){var A;for(A=0;8>A;++A)r(t,e,t[e-1],8),e+=32}function xe(t,e,A){var n;for(n=0;8>n;++n)r(e,A+32*n,t,8)}function Te(t,e){var A,n=8;for(A=0;8>A;++A)n+=t[e+A-32]+t[e-1+32*A];xe(n>>4,t,e)}function He(t,e){var A,n=4;for(A=0;8>A;++A)n+=t[e+A-32];xe(n>>3,t,e)}function ke(t,e){var A,n=4;for(A=0;8>A;++A)n+=t[e-1+32*A];xe(n>>3,t,e)}function Pe(t,e){xe(128,t,e)}function De(t,e,A){var n=t[e-A],r=t[e+0],i=3*(r-n)+In[1020+t[e-2*A]-t[e+A]],o=xn[112+(i+4>>3)];t[e-A]=Tn[255+n+xn[112+(i+3>>3)]],t[e+0]=Tn[255+r-o]}function Ke(t,e,A,n){return Hn[255+t[e-2*A]-t[e-A]]>n||Hn[255+t[e+A]-t[e+0]]>n}function Oe(t,e,A,n){return 4*Hn[255+t[e-A]-t[e+0]]+Hn[255+t[e-2*A]-t[e+A]]<=n}function Re(t,e,A,n,r){var i=t[e-3*A],o=t[e-2*A],a=t[e-A],s=t[e+0],c=t[e+A],l=t[e+2*A];return 4*Hn[255+a-s]+Hn[255+o-c]>n?0:Hn[255+t[e-4*A]-i]<=r&&Hn[255+i-o]<=r&&Hn[255+o-a]<=r&&Hn[255+t[e+3*A]-l]<=r&&Hn[255+l-c]<=r&&Hn[255+c-s]<=r}function Me(t,e,A,n){var r=2*n+1;for(n=0;16>n;++n)Oe(t,e+n,A,r)&&De(t,e+n,A)}function ze(t,e,A,n){var r=2*n+1;for(n=0;16>n;++n)Oe(t,e+n*A,1,r)&&De(t,e+n*A,1)}function je(t,e,A,n){var r;for(r=3;0<r;--r)Me(t,e+=4*A,A,n)}function Ve(t,e,A,n){var r;for(r=3;0<r;--r)ze(t,e+=4,A,n)}function qe(t,e,A,n,r,i,o,a){for(i=2*i+1;0<r--;){if(Re(t,e,A,i,o))if(Ke(t,e,A,a))De(t,e,A);else{var s=t,c=e,l=A,u=s[c-2*l],h=s[c-l],f=s[c+0],d=s[c+l],p=s[c+2*l],g=27*(b=In[1020+3*(f-h)+In[1020+u-d]])+63>>7,B=18*b+63>>7,b=9*b+63>>7;s[c-3*l]=Tn[255+s[c-3*l]+b],s[c-2*l]=Tn[255+u+B],s[c-l]=Tn[255+h+g],s[c+0]=Tn[255+f-g],s[c+l]=Tn[255+d-B],s[c+2*l]=Tn[255+p-b]}e+=n}}function Ge(t,e,A,n,r,i,o,a){for(i=2*i+1;0<r--;){if(Re(t,e,A,i,o))if(Ke(t,e,A,a))De(t,e,A);else{var s=t,c=e,l=A,u=s[c-l],h=s[c+0],f=s[c+l],d=xn[112+(4+(p=3*(h-u))>>3)],p=xn[112+(p+3>>3)],g=d+1>>1;s[c-2*l]=Tn[255+s[c-2*l]+g],s[c-l]=Tn[255+u+p],s[c+0]=Tn[255+h-d],s[c+l]=Tn[255+f-g]}e+=n}}function Xe(t,e,A,n,r,i){qe(t,e,A,1,16,n,r,i)}function Je(t,e,A,n,r,i){qe(t,e,1,A,16,n,r,i)}function We(t,e,A,n,r,i){var o;for(o=3;0<o;--o)Ge(t,e+=4*A,A,1,16,n,r,i)}function Ye(t,e,A,n,r,i){var o;for(o=3;0<o;--o)Ge(t,e+=4,1,A,16,n,r,i)}function Ze(t,e,A,n,r,i,o,a){qe(t,e,r,1,8,i,o,a),qe(A,n,r,1,8,i,o,a)}function $e(t,e,A,n,r,i,o,a){qe(t,e,1,r,8,i,o,a),qe(A,n,1,r,8,i,o,a)}function tA(t,e,A,n,r,i,o,a){Ge(t,e+4*r,r,1,8,i,o,a),Ge(A,n+4*r,r,1,8,i,o,a)}function eA(t,e,A,n,r,i,o,a){Ge(t,e+4,1,r,8,i,o,a),Ge(A,n+4,1,r,8,i,o,a)}function AA(){this.ba=new ot,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new st,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nA(){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 rA(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function iA(){this.ua=0,this.Wa=new H,this.vb=new H,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new u}function oA(){this.xb=this.a=0,this.l=new qt,this.ca=new ot,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new v,this.Pb=0,this.wd=new v,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new iA,this.ab=0,this.gc=o(4,rA),this.Oc=0}function aA(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new qt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function sA(t,e,A,n,r,i,o){for(t=null==t?0:t[e+0],e=0;e<o;++e)r[i+e]=t+A[n+e]&255,t=r[i+e]}function cA(t,e,A,n,r,i,o){var a;if(null==t)sA(null,null,A,n,r,i,o);else for(a=0;a<o;++a)r[i+a]=t[e+a]+A[n+a]&255}function lA(t,e,A,n,r,i,o){if(null==t)sA(null,null,A,n,r,i,o);else{var a,s=t[e+0],c=s,l=s;for(a=0;a<o;++a)c=l+(s=t[e+a])-c,l=A[n+a]+(-256&c?0>c?0:255:c)&255,c=s,r[i+a]=l}}function uA(t,A,r,o){var a=A.width,s=A.o;if(e(null!=t&&null!=A),0>r||0>=o||r+o>s)return null;if(!t.Cc){if(null==t.ga){var c;if(t.ga=new aA,(c=null==t.ga)||(c=A.width*A.o,e(0==t.Gb.length),t.Gb=i(c),t.Uc=0,null==t.Gb?c=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,c=1),c=!c),!c){var l=t.Fa,u=t.P,h=t.qc,f=t.mb,d=t.nb,p=u+1,g=h-1,b=(c=t.ga).l;if(e(null!=l&&null!=f&&null!=A),gr[0]=null,gr[1]=sA,gr[2]=cA,gr[3]=lA,c.ca=f,c.tb=d,c.c=A.width,c.i=A.height,e(0<c.c&&0<c.i),1>=h)A=0;else if(c.$a=l[u+0]>>0&3,c.Z=l[u+0]>>2&3,c.Lc=l[u+0]>>4&3,u=l[u+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||u)A=0;else if(b.put=ft,b.ac=ht,b.bc=dt,b.ma=c,b.width=A.width,b.height=A.height,b.Da=A.Da,b.v=A.v,b.va=A.va,b.j=A.j,b.o=A.o,c.$a)t:{e(1==c.$a),A=Et();e:for(;;){if(null==A){A=0;break t}if(e(null!=c),c.mc=A,A.c=c.c,A.i=c.i,A.l=c.l,A.l.ma=c,A.l.width=c.c,A.l.height=c.i,A.a=0,B(A.m,l,p,g),!_t(c.c,c.i,1,A,null))break e;if(1==A.ab&&3==A.gc[0].hc&&Ct(A.s)?(c.ic=1,l=A.c*A.i,A.Ta=null,A.Ua=0,A.V=i(l),A.Ba=0,null==A.V?(A.a=1,A=0):A=1):(c.ic=0,A=St(A,c.c)),!A)break e;A=1;break t}c.mc=null,A=0}else A=g>=c.c*c.i;c=!A}if(c)return null;1!=t.ga.Lc?t.Ga=0:o=s-r}e(null!=t.ga),e(r+o<=s);t:{if(A=(l=t.ga).c,s=l.l.o,0==l.$a){if(p=t.rc,g=t.Vc,b=t.Fa,h=t.mb,f=t.nb+r*A,e((u=t.P+1+r*A)<=t.P+t.qc),0!=l.Z)for(e(null!=gr[l.Z]),c=0;c<o;++c)gr[l.Z](p,g,b,u,h,f,A),p=h,g=f,f+=A,u+=A;else for(c=0;c<o;++c)n(h,f,b,u,A),p=h,g=f,f+=A,u+=A;t.rc=p,t.Vc=g}else{if(e(null!=l.mc),A=r+o,e(null!=(c=l.mc)),e(A<=c.i),c.C>=A)A=1;else if(l.ic||gA(),l.ic){l=c.V,p=c.Ba;var w=c.i,m=(b=1,u=c.$/(g=c.c),h=c.$%g,f=c.m,d=c.s,c.$),v=g*w,y=g*A,Q=d.wc,F=m<y?mt(d,h,u):null;e(m<=v),e(A<=w),e(Ct(d));e:for(;;){for(;!f.h&&m<y;){if(h&Q||(F=mt(d,h,u)),e(null!=F),U(f),256>(w=bt(F.G[0],F.H[0],f)))l[p+m]=w,++m,++h>=g&&(h=0,++u<=A&&!(u%16)&&Ut(c,u));else{if(!(280>w)){b=0;break e}w=gt(w-256,f);var N,E=bt(F.G[4],F.H[4],f);if(U(f),!(m>=(E=Bt(g,E=gt(E,f)))&&v-m>=w)){b=0;break e}for(N=0;N<w;++N)l[p+m+N]=l[p+m+N-E];for(m+=w,h+=w;h>=g;)h-=g,++u<=A&&!(u%16)&&Ut(c,u);m<y&&h&Q&&(F=mt(d,h,u))}e(f.h==C(f))}Ut(c,u>A?A:u);break e}!b||f.h&&m<v?(b=0,c.a=f.h?5:3):c.$=m,A=b}else A=Ft(c,c.V,c.Ba,c.c,c.i,A,Lt);if(!A){o=0;break t}}r+o>=s&&(t.Cc=1),o=1}if(!o)return null;if(t.Cc&&(null!=(o=t.ga)&&(o.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+r*a}function hA(t,e,A,n,r,i){for(;0<r--;){var o,a=t,s=e+(A?1:0),c=t,l=e+(A?0:3);for(o=0;o<n;++o){var u=c[l+4*o];255!=u&&(a[s+4*o+0]=a[s+4*o+0]*(u*=32897)>>23,a[s+4*o+1]=a[s+4*o+1]*u>>23,a[s+4*o+2]=a[s+4*o+2]*u>>23)}e+=i}}function fA(t,e,A,n,r){for(;0<n--;){var i;for(i=0;i<A;++i){var o=t[e+2*i+0],a=15&(c=t[e+2*i+1]),s=4369*a,c=(240&c|c>>4)*s>>16;t[e+2*i+0]=(240&o|o>>4)*s>>16&240|(15&o|o<<4)*s>>16>>4&15,t[e+2*i+1]=240&c|a}e+=r}}function dA(t,e,A,n,r,i,o,a){var s,c,l=255;for(c=0;c<r;++c){for(s=0;s<n;++s){var u=t[e+s];i[o+4*s]=u,l&=u}e+=A,o+=a}return 255!=l}function pA(t,e,A,n,r){var i;for(i=0;i<r;++i)A[n+i]=t[e+i]>>8}function gA(){Cn=hA,Qn=fA,Un=dA,Fn=pA}function BA(A,n,r){t[A]=function(t,A,i,o,a,s,c,l,u,h,f,d,p,g,B,b,w){var m,v=w-1>>1,y=a[s+0]|c[l+0]<<16,C=u[h+0]|f[d+0]<<16;e(null!=t);var Q=3*y+C+131074>>2;for(n(t[A+0],255&Q,Q>>16,p,g),null!=i&&n(i[o+0],255&(Q=3*C+y+131074>>2),Q>>16,B,b),m=1;m<=v;++m){var U=a[s+m]|c[l+m]<<16,F=u[h+m]|f[d+m]<<16,N=y+U+C+F+524296,E=N+2*(U+C)>>3;Q=E+y>>1,y=(N=N+2*(y+F)>>3)+U>>1,n(t[A+2*m-1],255&Q,Q>>16,p,g+(2*m-1)*r),n(t[A+2*m-0],255&y,y>>16,p,g+(2*m-0)*r),null!=i&&(y=E+F>>1,n(i[o+2*m-1],255&(Q=N+C>>1),Q>>16,B,b+(2*m-1)*r),n(i[o+2*m+0],255&y,y>>16,B,b+(2*m+0)*r)),y=U,C=F}1&w||(n(t[A+w-1],255&(Q=3*y+C+131074>>2),Q>>16,p,g+(w-1)*r),null!=i&&n(i[o+w-1],255&(Q=3*C+y+131074>>2),Q>>16,B,b+(w-1)*r))}}function bA(){Br[kn]=br,Br[Pn]=mr,Br[Dn]=wr,Br[Kn]=vr,Br[On]=yr,Br[Rn]=Cr,Br[Mn]=Qr,Br[zn]=mr,Br[jn]=vr,Br[Vn]=yr,Br[qn]=Cr}function wA(t){return t&~Sr?0>t?0:255:t>>_r}function mA(t,e){return wA((19077*t>>8)+(26149*e>>8)-14234)}function vA(t,e,A){return wA((19077*t>>8)-(6419*e>>8)-(13320*A>>8)+8708)}function yA(t,e){return wA((19077*t>>8)+(33050*e>>8)-17685)}function CA(t,e,A,n,r){n[r+0]=mA(t,A),n[r+1]=vA(t,e,A),n[r+2]=yA(t,e)}function QA(t,e,A,n,r){n[r+0]=yA(t,e),n[r+1]=vA(t,e,A),n[r+2]=mA(t,A)}function UA(t,e,A,n,r){var i=vA(t,e,A);e=i<<3&224|yA(t,e)>>3,n[r+0]=248&mA(t,A)|i>>5,n[r+1]=e}function FA(t,e,A,n,r){var i=240&yA(t,e)|15;n[r+0]=240&mA(t,A)|vA(t,e,A)>>4,n[r+1]=i}function NA(t,e,A,n,r){n[r+0]=255,CA(t,e,A,n,r+1)}function EA(t,e,A,n,r){QA(t,e,A,n,r),n[r+3]=255}function _A(t,e,A,n,r){CA(t,e,A,n,r),n[r+3]=255}function Vt(t,e){return 0>t?0:t>e?e:t}function SA(e,A,n){t[e]=function(t,e,r,i,o,a,s,c,l){for(var u=c+(-2&l)*n;c!=u;)A(t[e+0],r[i+0],o[a+0],s,c),A(t[e+1],r[i+0],o[a+0],s,c+n),e+=2,++i,++a,c+=2*n;1&l&&A(t[e+0],r[i+0],o[a+0],s,c)}}function LA(t,e,A){return 0==A?0==t?0==e?6:5:0==e?4:0:A}function IA(t,e,A,n,r){switch(t>>>30){case 3:on(e,A,n,r,0);break;case 2:an(e,A,n,r);break;case 1:cn(e,A,n,r)}}function xA(t,e){var A,i,o=e.M,a=e.Nb,s=t.oc,c=t.pc+40,l=t.oc,u=t.pc+584,h=t.oc,f=t.pc+600;for(A=0;16>A;++A)s[c+32*A-1]=129;for(A=0;8>A;++A)l[u+32*A-1]=129,h[f+32*A-1]=129;for(0<o?s[c-1-32]=l[u-1-32]=h[f-1-32]=129:(r(s,c-32-1,127,21),r(l,u-32-1,127,9),r(h,f-32-1,127,9)),i=0;i<t.za;++i){var d=e.ya[e.aa+i];if(0<i){for(A=-1;16>A;++A)n(s,c+32*A-4,s,c+32*A+12,4);for(A=-1;8>A;++A)n(l,u+32*A-4,l,u+32*A+4,4),n(h,f+32*A-4,h,f+32*A+4,4)}var p=t.Gd,g=t.Hd+i,B=d.ad,b=d.Hc;if(0<o&&(n(s,c-32,p[g].y,0,16),n(l,u-32,p[g].f,0,8),n(h,f-32,p[g].ea,0,8)),d.Za){var w=s,m=c-32+16;for(0<o&&(i>=t.za-1?r(w,m,p[g].y[15],4):n(w,m,p[g+1].y,0,4)),A=0;4>A;A++)w[m+128+A]=w[m+256+A]=w[m+384+A]=w[m+0+A];for(A=0;16>A;++A,b<<=2)hr[d.Ob[A]](w=s,m=c+Dr[A]),IA(b,B,16*+A,w,m)}else if(w=LA(i,o,d.Ob[0]),ur[w](s,c),0!=b)for(A=0;16>A;++A,b<<=2)IA(b,B,16*+A,s,c+Dr[A]);for(A=d.Gc,w=LA(i,o,d.Dd),fr[w](l,u),fr[w](h,f),b=B,w=l,m=u,255&(d=A>>0)&&(170&d?sn(b,256,w,m):ln(b,256,w,m)),d=h,b=f,255&(A>>=8)&&(170&A?sn(B,320,d,b):ln(B,320,d,b)),o<t.Ub-1&&(n(p[g].y,0,s,c+480,16),n(p[g].f,0,l,u+224,8),n(p[g].ea,0,h,f+224,8)),p=t.sa,g=t.ta+16*i+16*a*t.R,B=t.qa,d=t.ra+8*i+(A=8*a*t.B),b=t.Ha,w=t.Ia+8*i+A,A=0;16>A;++A)n(p,g+A*t.R,s,c+32*A,16);for(A=0;8>A;++A)n(B,d+A*t.B,l,u+32*A,8),n(b,w+A*t.B,h,f+32*A,8)}}function TA(t,n,r,i,o,a,s,c,l){var u=[0],h=[0],f=0,d=null!=l?l.kd:0,p=null!=l?l:new nA;if(null==t||12>r)return 7;p.data=t,p.w=n,p.ha=r,n=[n],r=[r],p.gb=[p.gb];t:{var g=n,b=r,w=p.gb;if(e(null!=t),e(null!=b),e(null!=w),w[0]=0,12<=b[0]&&!A(t,g[0],"RIFF")){if(A(t,g[0]+8,"WEBP")){w=3;break t}var m=I(t,g[0]+4);if(12>m||4294967286<m){w=3;break t}if(d&&m>b[0]-8){w=7;break t}w[0]=m,g[0]+=12,b[0]-=12}w=0}if(0!=w)return w;for(m=0<p.gb[0],r=r[0];;){t:{var y=t;b=n,w=r;var C=u,Q=h,U=g=[0];if((E=f=[f])[0]=0,8>w[0])w=7;else{if(!A(y,b[0],"VP8X")){if(10!=I(y,b[0]+4)){w=3;break t}if(18>w[0]){w=7;break t}var F=I(y,b[0]+8),N=1+L(y,b[0]+12);if(2147483648<=N*(y=1+L(y,b[0]+15))){w=3;break t}null!=U&&(U[0]=F),null!=C&&(C[0]=N),null!=Q&&(Q[0]=y),b[0]+=18,w[0]-=18,E[0]=1}w=0}}if(f=f[0],0!=w)return w;if(b=!!(2&(g=g[0])),!m&&f)return 3;if(null!=a&&(a[0]=!!(16&g)),null!=s&&(s[0]=b),null!=c&&(c[0]=0),s=u[0],g=h[0],f&&b&&null==l){w=0;break}if(4>r){w=7;break}if(m&&f||!m&&!f&&!A(t,n[0],"ALPH")){r=[r],p.na=[p.na],p.P=[p.P],p.Sa=[p.Sa];t:{w=n,m=r;var E=p.gb;C=p.na,Q=p.P,U=p.Sa,N=22,e(null!=(F=t)),e(null!=m),y=w[0];var _=m[0];for(e(null!=C),e(null!=U),C[0]=null,Q[0]=null,U[0]=0;;){if(w[0]=y,m[0]=_,8>_){w=7;break t}var S=I(F,y+4);if(4294967286<S){w=3;break t}var x=8+S+1&-2;if(N+=x,0<E&&N>E){w=3;break t}if(!A(F,y,"VP8 ")||!A(F,y,"VP8L")){w=0;break t}if(_[0]<x){w=7;break t}A(F,y,"ALPH")||(C[0]=F,Q[0]=y+8,U[0]=S),y+=x,_-=x}}if(r=r[0],p.na=p.na[0],p.P=p.P[0],p.Sa=p.Sa[0],0!=w)break}r=[r],p.Ja=[p.Ja],p.xa=[p.xa];t:if(E=t,w=n,m=r,C=p.gb[0],Q=p.Ja,U=p.xa,F=w[0],y=!A(E,F,"VP8 "),N=!A(E,F,"VP8L"),e(null!=E),e(null!=m),e(null!=
vendor: 5,276 bytes, line 1
1Q),e(null!=U),8>m[0])w=7;else{if(y||N){if(E=I(E,F+4),12<=C&&E>C-12){w=3;break t}if(d&&E>m[0]-8){w=7;break t}Q[0]=E,w[0]+=8,m[0]-=8,U[0]=N}else U[0]=5<=m[0]&&47==E[F+0]&&!(E[F+4]>>5),Q[0]=m[0];w=0}if(r=r[0],p.Ja=p.Ja[0],p.xa=p.xa[0],n=n[0],0!=w)break;if(4294967286<p.Ja)return 3;if(null==c||b||(c[0]=p.xa?2:1),s=[s],g=[g],p.xa){if(5>r){w=7;break}c=s,d=g,b=a,null==t||5>r?t=0:5<=r&&47==t[n+0]&&!(t[n+4]>>5)?(m=[0],E=[0],C=[0],B(Q=new v,t,n,r),pt(Q,m,E,C)?(null!=c&&(c[0]=m[0]),null!=d&&(d[0]=E[0]),null!=b&&(b[0]=C[0]),t=1):t=0):t=0}else{if(10>r){w=7;break}c=g,null==t||10>r||!Jt(t,n+3,r-3)?t=0:(d=t[n+0]|t[n+1]<<8|t[n+2]<<16,b=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&d||3<(d>>1&7)||!(d>>4&1)||d>>5>=p.Ja||!b||!t?t=0:(s&&(s[0]=b),c&&(c[0]=t),t=1))}if(!t)return 3;if(s=s[0],g=g[0],f&&(u[0]!=s||h[0]!=g))return 3;null!=l&&(l[0]=p,l.offset=n-l.w,e(4294967286>n-l.w),e(l.offset==l.ha-r));break}return 0==w||7==w&&f&&null==l?(null!=a&&(a[0]|=null!=p.na&&0<p.na.length),null!=i&&(i[0]=s),null!=o&&(o[0]=g),0):w}function HA(t,e,A){var n=e.width,r=e.height,i=0,o=0,a=n,s=r;if(e.Da=null!=t&&0<t.Da,e.Da&&(a=t.cd,s=t.bd,i=t.v,o=t.j,11>A||(i&=-2,o&=-2),0>i||0>o||0>=a||0>=s||i+a>n||o+s>r))return 0;if(e.v=i,e.j=o,e.va=i+a,e.o=o+s,e.U=a,e.T=s,e.da=null!=t&&0<t.da,e.da){if(!k(a,s,A=[t.ib],i=[t.hb]))return 0;e.ib=A[0],e.hb=i[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*n/4&&e.hb<3*r/4,e.Kb=0),1}function kA(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else(e=t.f.kb).O+=((t=t.height)-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function PA(t,e,A,n){if(null==n||0>=t||0>=e)return 2;if(null!=A){if(A.Da){var r=A.cd,o=A.bd,a=-2&A.v,s=-2&A.j;if(0>a||0>s||0>=r||0>=o||a+r>t||s+o>e)return 2;t=r,e=o}if(A.da){if(!k(t,e,r=[A.ib],o=[A.hb]))return 2;t=r[0],e=o[0]}}n.width=t,n.height=e;t:{var c=n.width,l=n.height;if(t=n.S,0>=c||0>=l||!(t>=kn&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){a=o=r=e=0;var u=(s=c*Mr[t])*l;if(11>t||(o=(l+1)/2*(e=(c+1)/2),12==t&&(a=(r=c)*l)),null==(l=i(u+2*o+a))){t=1;break t}n.sd=l,11>t?((c=n.f.RGBA).eb=l,c.fb=0,c.A=s,c.size=u):((c=n.f.kb).y=l,c.O=0,c.fa=s,c.Fd=u,c.f=l,c.N=0+u,c.Ab=e,c.Cd=o,c.ea=l,c.W=0+u+o,c.Db=e,c.Ed=o,12==t&&(c.F=l,c.J=0+u+2*o),c.Tc=a,c.lb=r)}if(e=1,o=n.width,a=n.height,(r=n.S)>=kn&&13>r)if(11>r)t=n.f.RGBA,e&=(s=Math.abs(t.A))*(a-1)+o<=t.size,e&=s>=o*Mr[r],e&=null!=t.eb;else{t=n.f.kb,s=(o+1)/2,u=(a+1)/2,c=Math.abs(t.fa),l=Math.abs(t.Ab);var h=Math.abs(t.Db),f=Math.abs(t.lb);e&=c*(a-1)+o<=t.Fd,e&=l*(u-1)+s<=t.Cd,e=(e&=h*(u-1)+s<=t.Ed)&c>=o&l>=s&h>=s,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==r&&(e&=f>=o,e&=f*(a-1)+o<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=A&&A.fd&&(t=kA(n)),t}var DA=64,KA=[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],OA=24,RA=32,MA=8,zA=[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];K("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,A){return e[A+0]},t.Predictor3=function(t,e,A){return e[A+1]},t.Predictor4=function(t,e,A){return e[A-1]},t.Predictor5=function(t,e,A){return R(R(t,e[A+1]),e[A+0])},t.Predictor6=function(t,e,A){return R(t,e[A-1])},t.Predictor7=function(t,e,A){return R(t,e[A+0])},t.Predictor8=function(t,e,A){return R(e[A-1],e[A+0])},t.Predictor9=function(t,e,A){return R(e[A+0],e[A+1])},t.Predictor10=function(t,e,A){return R(R(t,e[A-1]),R(e[A+0],e[A+1]))},t.Predictor11=function(t,e,A){var n=e[A+0];return 0>=j(n>>24&255,t>>24&255,(e=e[A-1])>>24&255)+j(n>>16&255,t>>16&255,e>>16&255)+j(n>>8&255,t>>8&255,e>>8&255)+j(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,A){var n=e[A+0];return(M((t>>24&255)+(n>>24&255)-((e=e[A-1])>>24&255))<<24|M((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|M((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|M((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,A){var n=e[A-1];return(z((t=R(t,e[A+0]))>>24&255,n>>24&255)<<24|z(t>>16&255,n>>16&255)<<16|z(t>>8&255,n>>8&255)<<8|z(t>>0&255,n>>0&255))>>>0};var jA=t.PredictorAdd0;t.PredictorAdd1=V,K("Predictor2","PredictorAdd2"),K("Predictor3","PredictorAdd3"),K("Predictor4","PredictorAdd4"),K("Predictor5","PredictorAdd5"),K("Predictor6","PredictorAdd6"),K("Predictor7","PredictorAdd7"),K("Predictor8","PredictorAdd8"),K("Predictor9","PredictorAdd9"),K("Predictor10","PredictorAdd10"),K("Predictor11","PredictorAdd11"),K("Predictor12","PredictorAdd12"),K("Predictor13","PredictorAdd13");var VA=t.PredictorAdd2;J("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),J("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}
vendor: 5,063 bytes, line 1
1));var qA,GA=t.ColorIndexInverseTransform,XA=t.MapARGB,JA=t.VP8LColorIndexInverseTransformAlpha,WA=t.MapAlpha,YA=t.VP8LPredictorsAdd=[];YA.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var ZA,$A,tn,en,An,nn,rn,on,an,sn,cn,ln,un,hn,fn,dn,pn,gn,Bn,bn,wn,mn,vn,yn,Cn,Qn,Un,Fn,Nn=i(511),En=i(2041),_n=i(225),Sn=i(767),Ln=0,In=En,xn=_n,Tn=Sn,Hn=Nn,kn=0,Pn=1,Dn=2,Kn=3,On=4,Rn=5,Mn=6,zn=7,jn=8,Vn=9,qn=10,Gn=[2,3,7],Xn=[3,3,11],Jn=[280,256,256,256,40],Wn=[0,1,1,1,0],Yn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[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],$n=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],tr=8,er=[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],Ar=[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],nr=null,rr=[[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]],ir=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],or=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ar=[[[[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,25
15,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]]]],sr=[[[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,
11,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]]],cr=[[[[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,25
vendor: 14,042 bytes, line 1
15,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]]]],lr=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],ur=[],hr=[],fr=[],dr=1,pr=2,gr=[],Br=[];BA("UpsampleRgbLinePair",CA,3),BA("UpsampleBgrLinePair",QA,3),BA("UpsampleRgbaLinePair",_A,4),BA("UpsampleBgraLinePair",EA,4),BA("UpsampleArgbLinePair",NA,4),BA("UpsampleRgba4444LinePair",FA,2),BA("UpsampleRgb565LinePair",UA,2);var br=t.UpsampleRgbLinePair,wr=t.UpsampleBgrLinePair,mr=t.UpsampleRgbaLinePair,vr=t.UpsampleBgraLinePair,yr=t.UpsampleArgbLinePair,Cr=t.UpsampleRgba4444LinePair,Qr=t.UpsampleRgb565LinePair,Ur=16,Fr=1<<Ur-1,Nr=-227,Er=482,_r=6,Sr=(256<<_r)-1,Lr=0,Ir=i(256),xr=i(256),Tr=i(256),Hr=i(256),kr=i(Er-Nr),Pr=i(Er-Nr);SA("YuvToRgbRow",CA,3),SA("YuvToBgrRow",QA,3),SA("YuvToRgbaRow",_A,4),SA("YuvToBgraRow",EA,4),SA("YuvToArgbRow",NA,4),SA("YuvToRgba4444Row",FA,2),SA("YuvToRgb565Row",UA,2);var Dr=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Kr=[0,2,8],Or=[8,7,6,4,4,2,2,2,1,1,1,1],Rr=1;this.WebPDecodeRGBA=function(t,A,n,r,i){var o=Pn,a=new AA,s=new ot;a.ba=s,s.S=o,s.width=[s.width],s.height=[s.height];var c=s.width,l=s.height,u=new at;if(null==u||null==t)var h=2;else e(null!=u),h=TA(t,A,n,u.width,u.height,u.Pd,u.Qd,u.format,null);if(0!=h?c=0:(null!=c&&(c[0]=u.width[0]),null!=l&&(l[0]=u.height[0]),c=1),c){s.width=s.width[0],s.height=s.height[0],null!=r&&(r[0]=s.width),null!=i&&(i[0]=s.height);t:{if(r=new qt,(i=new nA).data=t,i.w=A,i.ha=n,i.kd=1,A=[0],e(null!=i),(0==(t=TA(i.data,i.w,i.ha,null,null,null,A,null,i))||7==t)&&A[0]&&(t=4),0==(A=t)){if(e(null!=a),r.data=i.data,r.w=i.w+i.offset,r.ha=i.ha-i.offset,r.put=ft,r.ac=ht,r.bc=dt,r.ma=a,i.xa){if(null==(t=Et())){a=1;break t}if(function(t,A){var n=[0],r=[0],i=[0];e:for(;;){if(null==t)return 0;if(null==A)return t.a=2,0;if(t.l=A,t.a=0,B(t.m,A.data,A.w,A.ha),!pt(t.m,n,r,i)){t.a=3;break e}if(t.xb=pr,A.width=n[0],A.height=r[0],!_t(n[0],r[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,r)){if(r=0==(A=PA(r.width,r.height,a.Oa,a.ba))){e:{r=t;A:for(;;){if(null==r){r=0;break e}if(e(null!=r.s.yc),e(null!=r.s.Ya),e(0<r.s.Wb),e(null!=(n=r.l)),e(null!=(i=n.ma)),0!=r.xb){if(r.ca=i.ba,r.tb=i.tb,e(null!=r.ca),!HA(i.Oa,n,Kn)){r.a=2;break A}if(!St(r,n.width))break A;if(n.da)break A;if((n.da||nt(r.ca.S))&&gA(),11>r.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=r.ca.f.kb.F&&gA()),r.Pb&&0<r.s.ua&&null==r.s.vb.X&&!x(r.s.vb,r.s.Wa.Xa)){r.a=1;break A}r.xb=0}if(!Ft(r,r.V,r.Ba,r.c,r.i,n.o,yt))break A;i.Dc=r.Ma,r=1;break e}e(0!=r.a),r=0}r=!r}r&&(A=t.a)}else A=t.a}else{if(null==(t=new Gt)){a=1;break t}if(t.Fa=i.na,t.P=i.P,t.qc=i.Sa,Wt(t,r)){if(0==(A=PA(r.width,r.height,a.Oa,a.ba))){if(t.Aa=0,n=a.Oa,e(null!=(i=t)),null!=n){if(0<(c=0>(c=n.Md)?0:100<c?255:255*c/100)){for(l=u=0;4>l;++l)12>(h=i.pb[l]).lc&&(h.ia=c*Or[0>h.lc?0:h.lc]>>3),u|=h.ia;u&&(alert("todo:VP8InitRandom"),i.ia=1)}i.Ga=n.Id,100<i.Ga?i.Ga=100:0>i.Ga&&(i.Ga=0)}$t(t,r)||(A=t.a)}}else A=t.a}0==A&&null!=a.Oa&&a.Oa.fd&&(A=kA(a.ba))}a=A}o=0!=a?null:11>o?s.f.RGBA.eb:s.f.kb.y}else o=null;return o};var Mr=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var u=[0],h=[0],f=[],d=new zt,p=t,g=function(t,e){var A={},n=0,r=!1,i=0,o=0;if(A.frames=[],!function(t,e,A,n){for(var r=0;r<4;r++)if(t[e+r]!="RIFF".charCodeAt(r))return!0;return!1}(t,e)){var a,u;for(l(t,e+=4),e+=8;e<t.length;){var h=s(t,e),f=l(t,e+=4);e+=4;var d=f+(1&f);switch(h){case"VP8 ":case"VP8L":void 0===A.frames[n]&&(A.frames[n]={}),(B=A.frames[n]).src_off=r?o:e-8,B.src_size=i+f+8,n++,r&&(r=!1,i=0,o=0);break;case"VP8X":(B=A.header={}).feature_flags=t[e];var p=e+4;B.canvas_width=1+c(t,p),B.canvas_height=1+c(t,p+=3),p+=3;break;case"ALPH":r=!0,i=d+8,o=e-8;break;case"ANIM":(B=A.header).bgcolor=l(t,e),B.loop_count=(a=t)[(u=p=e+4)+0]<<0|a[u+1]<<8,p+=2;break;case"ANMF":var g,B;(B=A.frames[n]={}).offset_x=2*c(t,e),B.offset_y=2*c(t,e+=3),B.width=1+c(t,e+=3),B.height=1+c(t,e+=3),B.duration=c(t,e+=3),e+=3,g=t[e++],B.dispose=1&g,B.blend=g>>1&1}"ANMF"!=h&&(e+=d)}return A}}(p,0);g.response=p,g.rgbaoutput=!0,g.dataurl=!1;var B=g.header?g.header:null,b=g.frames?g.frames:null;if(B){B.loop_counter=B.loop_count,u=[B.canvas_height],h=[B.canvas_width];for(var w=0;w<b.length&&0!=b[w].blend;w++);}var m=b[0],v=d.WebPDecodeRGBA(p,m.src_off,m.src_size,h,u);m.rgba=v,m.imgwidth=h[0],m.imgheight=u[0];for(var y=0;y<h[0]*u[0]*4;y++)f[y]=v[y];return this.width=h,this.height=u,this.data=f,this}!function(t){var e=function(e,n,c,l){var u=5,h=i;switch(l){case t.image_compression.FAST:u=3,h=r;break;case t.image_compression.MEDIUM:u=6,h=o;break;case t.image_compression.SLOW:u=9,h=s}e=A(e,n,c,h);var f=K.API.adler32cs.fromBuffer(e.buffer),d=new a.a.Deflate({level:u});d.push(e,!0);var p=d.result,g=p.length,B=new Uint8Array(p.length+4);return B.set(p,0),B[g++]=f>>>24&255,B[g++]=f>>>16&255,B[g++]=f>>>8&255,B[g++]=255&f,t.__addimage__.arrayBufferToBinaryString(B)},A=function(t,e,A,n){for(var r,i,o,a=t.length/e,s=new Uint8Array(t.length+a),c=l(),h=0;h<a;h+=1){if(r=t.subarray(o=h*e,o+e),n)s.set(n(r,A,i),o+h);else{for(var f,d=c.length,p=[];f<d;f+=1)p[f]=c[f](r,A,i);var g=u(p.concat());s.set(p[g],o+h)}i=r}return s},n=function(t){var e=Array.apply([],t);return e.unshift(0),e},r=function(t,e){var A=[],n=t.length;A[0]=1;for(var r=0;r<n;r+=1)A[r+1]=t[r]-(t[r-e]||0)+256&255;return A},i=function(t,e,A){var n=[],r=t.length;n[0]=2;for(var i=0;i<r;i+=1)n[i+1]=t[i]-(A&&A[i]||0)+256&255;return n},o=function(t,e,A){var n=[],r=t.length;n[0]=3;for(var i=0;i<r;i+=1)n[i+1]=t[i]+256-((t[i-e]||0)+(A&&A[i]||0)>>>1)&255;return n},s=function(t,e,A){var n,r=[],i=t.length;r[0]=4;for(var o=0;o<i;o+=1)n=c(t[o-e]||0,A&&A[o]||0,A&&A[o-e]||0),r[o+1]=t[o]-n+256&255;return r},c=function(t,e,A){if(t===e&&e===A)return t;var n=Math.abs(e-A),r=Math.abs(t-A),i=Math.abs(t+e-A-A);return n<=r&&n<=i?t:r<=i?e:A},l=function(){return[n,r,i,o,s]},u=function(t){var e=t.map((function(t){return t.reduce((function(t,e){return t+Math.abs(e)}),0)}));return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(A,n,r,i){var o,s,c,l,u,h,f,d,p,g,B,b,w,m,v,y=this.decode.FLATE_DECODE,C="";if(this.__addimage__.isArrayBuffer(A)&&(A=new Uint8Array(A)),this.__addimage__.isArrayBufferView(A)){if(A=(c=new Dt(A)).imgData,s=c.bits,o=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){p=(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(p*c.colors),g=new Uint8Array(p);var Q,U=c.pixelBitlength-c.bits;for(m=0,v=0;m<p;m++){for(w=d[m],Q=0;Q<U;)B[v++]=w>>>Q&255,Q+=c.bits;g[m]=w>>>Q&255}}if(16===c.bits){p=(d=new Uint32Array(c.decodePixels().buffer)).length,B=new Uint8Array(p*(32/c.pixelBitlength)*c.colors),g=new Uint8Array(p*(32/c.pixelBitlength)),b=c.colors>1,m=0,v=0;for(var F=0;m<p;)w=d[m++],B[v++]=w>>>0&255,b&&(B[v++]=w>>>16&255,w=d[m++],B[v++]=w>>>0&255),g[F++]=w>>>16&255;s=8}i!==t.image_compression.NONE&&"function"==typeof a.a.deflate?(A=e(B,c.width*c.colors,c.colors,i),f=e(g,c.width,1,i)):(A=B,f=g,y=void 0)}if(3===c.colorType&&(o=this.color_spaces.INDEXED,h=c.palette,c.transparency.indexed)){var N=c.transparency.indexed,E=0;for(m=0,p=N.length;m<p;++m)E+=N[m];if((E/=255)==p-1&&-1!==N.indexOf(0))l=[N.indexOf(0)];else if(E!==p){for(d=c.decodePixels(),g=new Uint8Array(d.length),m=0,p=d.length;m<p;m++)g[m]=N[d[m]];f=e(g,c.width,1)}}var _=function(e){var A;switch(e){case t.image_compression.FAST:A=11;break;case t.image_compression.MEDIUM:A=13;break;case t.image_compression.SLOW:A=14;break;default:A=12}return A}(i);return y===this.decode.FLATE_DECODE&&(C="/Predictor "+_+" "),C+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A))&&(A=this.__addimage__.arrayBufferToBinaryString(A)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:r,data:A,index:n,filter:y,decodeParameters:C,transparency:l,palette:h,sMask:f,predictor:_,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:o}}}}(K.API),function(t){t.processGIF89A=function(e,A,n,r){var i=new Kt(e),o=i.width,a=i.height,s=[];i.decodeAndBlitFrameRGBA(0,s);var c={data:s,width:o,height:a},l=new Rt(100).encode(c,100);return t.processJPEG.call(this,l,A,n,r)},t.processGIF87A=t.processGIF89A}(K.API),Mt.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 t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var A=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:r,green:n,blue:A,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Mt.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[t]()}catch(t){l.log("bit decode error:"+t)}},Mt.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),A=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<e;r++)for(var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+8*r*4,a=0;a<8&&8*r+a<this.width;a++){var s=this.palette[i>>7-a&1];this.data[o+4*a]=s.blue,this.data[o+4*a+1]=s.green,this.data[o+4*a+2]=s.red,this.data[o+4*a+3]=255}0!==A&&(this.pos+=4-A)}},Mt.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,A=this.height-1;A>=0;A--){for(var n=this.bottom_up?A:this.height-1-A,r=0;r<t;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+2*r*4,a=15&i,s=this.palette[i>>4];if(this.data[o]=s.blue,this.data[o+1]=s.green,this.data[o+2]=s.red,this.data[o+3]=255,2*r+1>=this.width)break;this.data[o+4]=(s=this.palette[a]).blue,this.data[o+4+1]=s.green,this.data[o+4+2]=s.red,this.data[o+4+3]=255}0!==e&&(this.pos+=4-e)}},Mt.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var A=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=A*this.width*4+4*n;if(r<this.palette.length){var o=this.palette[r];this.data[i]=o.red,this.data[i+1]=o.green,this.data[i+2]=o.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!==t&&(this.pos+=4-t)}},Mt.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),A=this.height-1;A>=0;A--){for(var n=this.bottom_up?A:this.height-1-A,r=0;r<this.width;r++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(i&e)/e*255|0,a=(i>>5&e)/e*255|0,s=i>>15?255:0,c=n*this.width*4+4*r;this.data[c]=(i>>10&e)/e*255|0,this.data[c+1]=a,this.data[c+2]=o,this.data[c+3]=s}this.pos+=t}},Mt.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),A=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&e)/e*255|0,s=(o>>5&A)/A*255|0,c=r*this.width*4+4*i;this.data[c]=(o>>11)/e*255|0,this.data[c+1]=s,this.data[c+2]=a,this.data[c+3]=255}this.pos+=t}},Mt.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,A=0;A<this.width;A++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*A;this.data[o]=i,this.data[o+1]=r,this.data[o+2]=n,this.data[o+3]=255}this.pos+=this.width%4}},Mt.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,A=0;A<this.width;A++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*A;this.data[a]=i,this.data[a+1]=r,this.data[a+2]=n,this.data[a+3]=o}},Mt.prototype.getData=function(){return this.data},function(t){t.processBMP=function(e,A,n,r){var i=new Mt(e,!1),o=i.width,a=i.height,s={data:i.getData(),width:o,height:a},c=new Rt(100).encode(s,100);return t.processJPEG.call(this,c,A,n,r)}}(K.API),zt.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(e,A,n,r){var i=new zt(e,!1),o=i.width,a=i.height,s={data:i.getData(),width:o,height:a},c=new Rt(100).encode(s,100);return t.processJPEG.call(this,c,A,n,r)}}(K.API),K.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq
vendor: 7,402 bytes, line 1
1:"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:"FYRO Macedonian",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"}[t]&&(this.internal.languageSettings.languageCode=t,!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},It=(Lt=K.API).getCharWidthsArray=function(t,e){var A,n,r=(e=e||{}).font||this.internal.getFont(),i=e.fontSize||this.internal.getFontSize(),o=e.charSpace||this.internal.getCharSpace(),a=e.widths?e.widths:r.metadata.Unicode.widths,s=a.fof?a.fof:1,c=e.kerning?e.kerning:r.metadata.Unicode.kerning,l=c.fof?c.fof:1,u=!1!==e.doKerning,h=0,f=t.length,d=0,p=a[0]||s,g=[];for(A=0;A<f;A++)n=t.charCodeAt(A),"function"==typeof r.metadata.widthOfString?g.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(n))+o*(1e3/i)||0)/1e3):(h=u&&"object"==typeof c[n]&&!isNaN(parseInt(c[n][d],10))?c[n][d]/l:0,g.push((a[n]||p)/s+h)),d=n;return g},xt=Lt.getStringUnitWidth=function(t,e){var A=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),r=e.charSpace||this.internal.getCharSpace();return Lt.processArabic&&(t=Lt.processArabic(t)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(t,A,r)/A:It.apply(this,arguments).reduce((function(t,e){return t+e}),0)},Tt=function(t,e,A,n){for(var r=[],i=0,o=t.length,a=0;i!==o&&a+e[i]<A;)a+=e[i],i++;r.push(t.slice(0,i));var s=i;for(a=0;i!==o;)a+e[i]>n&&(r.push(t.slice(s,i)),a=0,s=i),a+=e[i],i++;return s!==i&&r.push(t.slice(s,i)),r},Ht=function(t,e,A){A||(A={});var n,r,i,o,a,s,c=[],l=[c],u=A.textIndent||0,h=0,f=0,d=t.split(" "),p=It.apply(this,[" ",A])[0];if(s=-1===A.lineIndent?d[0].length+2:A.lineIndent||0){var g=Array(s).join(" "),B=[];d.map((function(t){(t=t.split(/\s*\n/)).length>1?B=B.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):B.push(t[0])})),d=B,s=xt.apply(this,[g,A])}for(i=0,o=d.length;i<o;i++){var b=0;if(n=d[i],s&&"\n"==n[0]&&(n=n.substr(1),b=1),u+h+(f=(r=It.apply(this,[n,A])).reduce((function(t,e){return t+e}),0))>e||b){if(f>e){for(a=Tt.apply(this,[n,r,e-(u+h),e]),c.push(a.shift()),c=[a.pop()];a.length;)l.push([a.shift()]);f=r.slice(n.length-(c[0]?c[0].length:0)).reduce((function(t,e){return t+e}),0)}else c=[n];l.push(c),u=f+s,h=p}else c.push(n),u+=h+f,h=p}return l.map(s?function(t,e){return(e?g:"")+t.join(" ")}:function(t){return t.join(" ")})},Lt.splitTextToSize=function(t,e,A){var n,r=(A=A||{}).fontSize||this.internal.getFontSize(),i=(function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,A);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/r;i.textIndent=A.textIndent?1*A.textIndent*this.internal.scaleFactor/r:0,i.lineIndent=A.lineIndent;var a,s,c=[];for(a=0,s=n.length;a<s;a++)c=c.concat(Ht.apply(this,[n[a],o,i]));return c},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",A={},n={},r=0;r<e.length;r++)A[e[r]]="0123456789abcdef"[r],n["0123456789abcdef"[r]]=e[r];var i=function(t){return"0x"+parseInt(t,10).toString(16)},o=t.__fontmetrics__.compress=function(t){var e,A,r,a,s=["{"];for(var c in t){if(e=t[c],isNaN(parseInt(c,10))?A="'"+c+"'":(c=parseInt(c,10),A=(A=i(c).slice(2)).slice(0,-1)+n[A.slice(-1)]),"number"==typeof e)e<0?(r=i(e).slice(3),a="-"):(r=i(e).slice(2),a=""),r=a+r.slice(0,-1)+n[r.slice(-1)];
vendor: 1,094 bytes, line 1
1else{if("object"!=typeof e)throw new Error("Don't know what to do with value type "+typeof e+".");r=o(e)}s.push(A+r)}return s.push("}"),s.join("")},a=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,n,r,i,o={},a=1,s=o,c=[],l="",u="",h=t.length-1,f=1;f<h;f+=1)"'"==(i=t[f])?e?(r=e.join(""),e=void 0):e=[]:e?e.push(i):"{"==i?(c.push([s,r]),s={},r=void 0):"}"==i?((n=c.pop())[0][n[1]]=s,r=void 0,s=n[0]):"-"==i?a=-1:void 0===r?A.hasOwnProperty(i)?(l+=A[i],r=parseInt(l,16)*a,a=1,l=""):l+=i:A.hasOwnProperty(i)?(u+=A[i],s[r]=parseInt(u,16)*a,a=1,r=void 0,u=""):u+=i;return o},s={codePages:["WinAnsiEncoding"],WinAnsiEncoding:a("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:s,"Courier-Bold":s,"Courier-BoldOblique":s,"Courier-Oblique":s,Helvetica:s,"Helvetica-Bold":s,"Helvetica-BoldOblique":s,"Helvetica-Oblique":s,"Times-Roman":s,"Times-Bold":s,"Times-BoldItalic":s,"Times-Italic":s
vendor: 14,731 bytes, line 1
1}},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}}}")}};t.events.push(["addFont",function(
vendor: 11,960 bytes, line 1
1t){var e=t.font,A=l.Unicode[e.postScriptName];A&&(e.metadata.Unicode={},e.metadata.Unicode.widths=A.widths,e.metadata.Unicode.kerning=A.kerning);var n=c.Unicode[e.postScriptName];n&&(e.metadata.Unicode.encoding=n,e.encoding=n.codePages[0])}])}(K.API),function(t){var e=function(t){for(var e=t.length,A=new Uint8Array(e),n=0;n<e;n++)A[n]=t.charCodeAt(n);return A};t.API.events.push(["addFont",function(A){var n=void 0,r=A.font,i=A.instance;if(!r.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if("string"!=typeof(n=!1===i.existsFileInVFS(r.postScriptName)?i.loadFile(r.postScriptName):i.getFileFromVFS(r.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");!function(A,n){n=/^\x00\x01\x00\x00/.test(n)?e(n):e(d(n)),A.metadata=t.API.TTFFont.open(n),A.metadata.Unicode=A.metadata.Unicode||{encoding:{},kerning:{},widths:[]},A.metadata.glyIdsUsed=[0]}(r,n)}}])}(K),function(t){function e(){return(s.canvg?Promise.resolve(s.canvg):A.e(9).then(A.bind(null,"DXPr"))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}K.API.addSvgAsImage=function(t,A,n,r,i,o,a,s){if(isNaN(A)||isNaN(n))throw l.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw l.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=r,c.height=i;var u=c.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,c.width,c.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},f=this;return e().then((function(e){return e.fromString(u,t,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){f.addImage(c.toDataURL("image/jpeg",1),A,n,r,i,a,s)}))}}(),K.API.putTotalPages=function(t){var e,A=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),A=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),A=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(e,A);return this},K.API.viewerPreferences=function(t,e){var A;t=t||{},e=e||!1;var n,r,i,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),s=[],c=0,l=0,u=0;function h(t,e){var A,n=!1;for(A=0;A<t.length;A+=1)t[A]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),A=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var f=a.length;for(u=0;u<f;u+=1)A[a[u]].value=A[a[u]].defaultValue,A[a[u]].explicitSet=!1}if("object"==typeof t)for(r in t)if(i=t[r],h(a,r)&&void 0!==i){if("boolean"===A[r].type&&"boolean"==typeof i)A[r].value=i;else if("name"===A[r].type&&h(A[r].valueSet,i))A[r].value=i;else if("integer"===A[r].type&&Number.isInteger(i))A[r].value=i;else if("array"===A[r].type){for(c=0;c<i.length;c+=1)if(n=!0,1===i[c].length&&"number"==typeof i[c][0])s.push(String(i[c]-1));else if(i[c].length>1){for(l=0;l<i[c].length;l+=1)"number"!=typeof i[c][l]&&(n=!1);!0===n&&s.push([i[c][0]-1,i[c][1]-1].join(" "))}A[r].value="["+s.join(" ")+"]"}else A[r].value=A[r].defaultValue;A[r].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in A)!0===A[t].explicitSet&&e.push("name"===A[t].type?"/"+t+" /"+A[t].value:"/"+t+" "+A[t].value);0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=A,this},function(t){var e=function(){var t='<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>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),A=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),r=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),o=A.length+n.length+r.length+e.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(e+A+n+r+i),this.internal.write("endstream"),this.internal.write("endobj")},A=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",A),this.internal.events.subscribe("postPutResources",e)),this}}(K.API),function(t){var e=t.API,A=e.pdfEscape16=function(t,e){for(var A,n=e.metadata.Unicode.widths,r=["","0","00","000","0000"],i=[""],o=0,a=t.length;o<a;++o){if(A=e.metadata.characterToGlyph(t.charCodeAt(o)),e.metadata.glyIdsUsed.push(A),e.metadata.toUnicode[A]=t.charCodeAt(o),-1==n.indexOf(A)&&(n.push(A),n.push([parseInt(e.metadata.widthOfGlyph(A),10)])),"0"==A)return i.join("");A=A.toString(16),i.push(r[4-A.length],A)}return i.join("")},n=function(t){var e,A,n,r,i,o,a;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",n=[],o=0,a=(A=Object.keys(t).sort((function(t,e){return t-e}))).length;o<a;o++)e=A[o],n.length>=100&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),null!=t[e]&&"function"==typeof t[e].toString&&(r=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+r+">"));return n.length&&(i+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var A=e.font,r=e.out,i=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(A.metadata instanceof t.API.TTFFont&&"Identity-H"===A.encoding){for(var s=A.metadata.Unicode.widths,c=A.metadata.subset.encode(A.metadata.glyIdsUsed,1),l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var h=i();o({data:l,addLength1:!0,objectId:h}),r("endobj");var f=i();o({data:n(A.metadata.toUnicode),addLength1:!0,objectId:f}),r("endobj");var d=i();r("<<"),r("/Type /FontDescriptor"),r("/FontName /"+a(A.fontName)),r("/FontFile2 "+h+" 0 R"),r("/FontBBox "+t.API.PDFObject.convert(A.metadata.bbox)),r("/Flags "+A.metadata.flags),r("/StemV "+A.metadata.stemV),r("/ItalicAngle "+A.metadata.italicAngle),r("/Ascent "+A.metadata.ascender),r("/Descent "+A.metadata.decender),r("/CapHeight "+A.metadata.capHeight),r(">>"),r("endobj");var p=i();r("<<"),r("/Type /Font"),r("/BaseFont /"+a(A.fontName)),r("/FontDescriptor "+d+" 0 R"),r("/W "+t.API.PDFObject.convert(s)),r("/CIDToGIDMap /Identity"),r("/DW 1000"),r("/Subtype /CIDFontType2"),r("/CIDSystemInfo"),r("<<"),r("/Supplement 0"),r("/Registry (Adobe)"),r("/Ordering ("+A.encoding+")"),r(">>"),r(">>"),r("endobj"),A.objectNumber=i(),r("<<"),r("/Type /Font"),r("/Subtype /Type0"),r("/ToUnicode "+f+" 0 R"),r("/BaseFont /"+a(A.fontName)),r("/Encoding /"+A.encoding),r("/DescendantFonts ["+p+" 0 R]"),r(">>"),r("endobj"),A.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var A=e.font,r=e.out,i=e.newObject,o=e.putStream,a=e.pdfEscapeWithNeededParanthesis;if(A.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===A.encoding){for(var s=A.metadata.rawData,c="",l=0;l<s.length;l++)c+=String.fromCharCode(s[l]);var u=i();o({data:c,addLength1:!0,objectId:u}),r("endobj");var h=i();o({data:n(A.metadata.toUnicode),addLength1:!0,objectId:h}),r("endobj");var f=i();r("<<"),r("/Descent "+A.metadata.decender),r("/CapHeight "+A.metadata.capHeight),r("/StemV "+A.metadata.stemV),r("/Type /FontDescriptor"),r("/FontFile2 "+u+" 0 R"),r("/Flags 96"),r("/FontBBox "+t.API.PDFObject.convert(A.metadata.bbox)),r("/FontName /"+a(A.fontName)),r("/ItalicAngle "+A.metadata.italicAngle),r("/Ascent "+A.metadata.ascender),r(">>"),r("endobj"),A.objectNumber=i();for(var d=0;d<A.metadata.hmtx.widths.length;d++)A.metadata.hmtx.widths[d]=parseInt(A.metadata.hmtx.widths[d]*(1e3/A.metadata.head.unitsPerEm));r("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+a(A.fontName)+"/FontDescriptor "+f+" 0 R/Encoding/"+A.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(A.metadata.hmtx.widths)+">>"),r("endobj"),A.isAlreadyPutted=!0}}(e)}]);var r=function(t){var e,n=t.text||"",r=t.x,i=t.y,o=t.options||{},a=t.mutex||{},s=a.pdfEscape,c=a.activeFontKey,l=a.fonts,u=c,h="",f=0,d="",p=l[u].encoding;if("Identity-H"!==l[u].encoding)return{text:n,x:r,y:i,options:o,mutex:a};for(d=n,u=c,Array.isArray(n)&&(d=n[0]),f=0;f<d.length;f+=1)l[u].metadata.hasOwnProperty("cmap")&&(e=l[u].metadata.cmap.unicode.codeMap[d[f].charCodeAt(0)]),e||d[f].charCodeAt(0)<256&&l[u].metadata.hasOwnProperty("Unicode")?h+=d[f]:h+="";var g="";return parseInt(u.slice(1))<14||"WinAnsiEncoding"===p?g=s(h,u).split("").map((function(t){return t.charCodeAt(0).toString(16)}
vendor: 29,733 bytes, line 1
1)).join(""):"Identity-H"===p&&(g=A(h,l[u])),a.isHex=!0,{text:g,x:r,y:i,options:o,mutex:a}};e.events.push(["postProcessText",function(t){var e=t.text||"",A=[],n={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var i=0;for(i=0;i<e.length;i+=1)Array.isArray(e[i])&&3===e[i].length?A.push([r(Object.assign({},n,{text:e[i][0]})).text,e[i][1],e[i][2]]):A.push(r(Object.assign({},n,{text:e[i]})).text);t.text=A}else t.text=r(Object.assign({},n,{text:e})).text}])}(K),function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,A){return e.call(this),this.internal.vFS[t]=A,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(K.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var A,n,r,i,o,a,s,c=e,l=[[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]],u=[[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=["(",")","(","<",">","<","[","]","[","{","}","{","\xab","\xbb","\xab","\u2039","\u203a","\u2039","\u2045","\u2046","\u2045","\u207d","\u207e","\u207d","\u208d","\u208e","\u208d","\u2264","\u2265","\u2264","\u2329","\u232a","\u2329","\ufe59","\ufe5a","\ufe59","\ufe5b","\ufe5c","\ufe5b","\ufe5d","\ufe5e","\ufe5d","\ufe64","\ufe65","\ufe64"],p=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)$/),g=!1,B=0;this.__bidiEngine__={};var b=function(t){var e=t.charCodeAt(),A=e>>8,n=f[A];return void 0!==n?c[256*n+(255&e)]:252===A||253===A?"AL":p.test(A)?"L":8===A?"R":"N"},w=function(t){for(var e,A=0;A<t.length;A++){if("L"===(e=b(t.charAt(A))))return!1;if("R"===e)return!0}return!1},m=function(t,e,o,a){var s,c,l,u,h=e[a];switch(h){case"L":case"R":g=!1;break;case"N":case"AN":break;case"EN":g&&(h="AN");break;case"AL":g=!0,h="R";break;case"WS":h="N";break;case"CS":a<1||a+1>=e.length||"EN"!==(s=o[a-1])&&"AN"!==s||"EN"!==(c=e[a+1])&&"AN"!==c?h="N":g&&(c="AN"),h=c===s?c:"N";break;case"ES":h="EN"===(s=a>0?o[a-1]:"B")&&a+1<e.length&&"EN"===e[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===o[a-1]){h="EN";break}if(g){h="N";break}for(l=a+1,u=e.length;l<u&&"ET"===e[l];)l++;h=l<u&&"EN"===e[l]?"EN":"N";break;case"NSM":if(r&&!i){for(u=e.length,l=a+1;l<u&&"NSM"===e[l];)l++;if(l<u){var f=t[a];if(s=e[l],(f>=1425&&f<=2303||64286===f)&&("R"===s||"AL"===s)){h="R";break}}}h=a<1||"B"===(s=e[a-1])?"N":o[a-1];break;case"B":g=!1,A=!0,h=B;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":g=!1;break;case"BN":h="N"}return h},v=function(t,e,A){var n=t.split("");return A&&y(n,A,{hiLevel:B}),n.reverse(),e&&e.reverse(),n.join("")},y=function(t,e,r){var i,o,a,s,c,f=-1,d=t.length,p=0,w=[],v=B?u:l,y=[];for(g=!1,A=!1,n=!1,o=0;o<d;o++)y[o]=b(t[o]);for(a=0;a<d;a++){if(c=p,w[a]=m(t,y,w,a),i=240&(p=v[c][h[w[a]]]),e[a]=s=v[p&=15][5],i>0)if(16===i){for(o=f;o<a;o++)e[o]=1;f=-1}else f=-1;if(v[p][6])-1===f&&(f=a);else if(f>-1){for(o=f;o<a;o++)e[o]=s;f=-1}"B"===y[a]&&(e[a]=0),r.hiLevel|=s}n&&function(t,e,A){for(var n=0;n<A;n++)if("S"===t[n]){e[n]=B;for(var r=n-1;r>=0&&"WS"===t[r];r--)e[r]=B}}(y,e,d)},C=function(t,e,n,r,i){if(!(i.hiLevel<t)){if(1===t&&1===B&&!A)return e.reverse(),void(n&&n.reverse());for(var o,a,s,c,l=e.length,u=0;u<l;){if(r[u]>=t){for(s=u+1;s<l&&r[s]>=t;)s++;for(c=u,a=s-1;c<a;c++,a--)o=e[c],e[c]=e[a],e[a]=o,n&&(o=n[c],n[c]=n[a],n[a]=o);u=s}u++}}},Q=function(t,e,A){var n=t.split(""),r={hiLevel:B};return A||(A=[]),y(n,A,r),function(t,e,A){if(0!==A.hiLevel&&s)for(var n,r=0;r<t.length;r++)1===e[r]&&(n=d.indexOf(t[r]))>=0&&(t[r]=d[n+1])}(n,A,r),C(2,n,e,A,r),C(1,n,e,A,r),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,A){if(function(t,e){if(e)for(var A=0;A<t.length;A++)e[A]=A;void 0===i&&(i=w(t)),void 0===a&&(a=w(t))}(t,e),r||!o||a)if(r&&o&&i^a)B=i?1:0,t=v(t,e,A);else if(!r&&o&&a)B=i?1:0,t=Q(t,e,A),t=v(t,e);else if(!r||i||o||a){if(r&&!o&&i^a)t=v(t,e),i?(B=0,t=Q(t,e,A)):(B=1,t=Q(t,e,A),t=v(t,e));else if(r&&i&&!o&&a)B=1,t=Q(t,e,A),t=v(t,e);else if(!r&&!o&&i^a){var n=s;i?(B=1,t=Q(t,e,A),B=0,s=!1,t=Q(t,e,A),s=n):(B=0,t=Q(t,e,A),t=v(t,e),B=1,s=!1,t=Q(t,e,A),s=n,t=v(t,e))}}else B=0,t=Q(t,e,A);else B=i?1:0,t=Q(t,e,A);return t},this.__bidiEngine__.setOptions=function(t){t&&(r=t.isInputVisual,o=t.isOutputVisual,i=t.isInputRtl,a=t.isOutputRtl,s=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["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"],A=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,n=t.options||{},r=[];if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,A.setOptions(n),"[object Array]"===Object.prototype.toString.call(e)){var i=0;for(r=[],i=0;i<e.length;i+=1)"[object Array]"===Object.prototype.toString.call(e[i])?r.push([A.doBidiReorder(e[i][0]),e[i][1],e[i][2]]):r.push([A.doBidiReorder(e[i])]);t.text=r}else t.text=A.doBidiReorder(e);A.setOptions({isInputVisual:!0})}])}(K),K.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new Vt(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new le(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new qt(this.contents),this.head=new Jt(this),this.name=new Ae(this),this.cmap=new Yt(this),this.toUnicode={},this.hhea=new Zt(this),this.maxp=new ne(this),this.hmtx=new re(this),this.post=new te(this),this.os2=new $t(this),this.loca=new ce(this),this.glyf=new oe(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]},t.prototype.registerTTF=function(){var t,e,A,n;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var t,e,A,n;for(n=[],t=0,e=(A=this.bbox).length;t<e;t++)n.push(Math.round(A[t]*this.scaleFactor));return n}).call(this),this.stemV=0,this.post.exists?(e=255&(A=this.post.italic_angle),0!=(32768&(t=A>>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")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,A){var n,r,i,o;for(i=0,r=0,o=(t=""+t).length;0<=o?r<o:r>o;r=0<=o?++r:--r)n=t.charCodeAt(r),i+=this.widthOfGlyph(this.characterToGlyph(n))+A*(1e3/e)||0;return i*(e/1e3)},t.prototype.lineHeight=function(t,e){return null==e&&(e=!1),(this.ascender+(e?this.lineGap:0)-this.decender)/1e3*t},t}();var jt,Vt=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,A;for(A=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)A[e]=String.fromCharCode(this.readByte());return A.join("")},t.prototype.writeString=function(t){var e,A,n;for(n=[],e=0,A=t.length;0<=A?e<A:e>A;e=0<=A?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,A,n,r,i,o,a;return t=this.readByte(),e=this.readByte(),A=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^A)+4294967296*(255^n)+16777216*(255^r)+65536*(255^i)+256*(255^o)+(255^a)+1):72057594037927940*t+281474976710656*e+1099511627776*A+4294967296*n+16777216*r+65536*i+256*o+a},t.prototype.writeLongLong=function(t){var e,A;return e=Math.floor(t/4294967296),A=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(A>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,A;for(e=[],A=0;0<=t?A<t:A>t;A=0<=t?++A:--A)e.push(this.readByte());return e},t.prototype.write=function(t){var e,A,n;for(n=[],e=0,A=t.length;e<A;e++)n.push(this.writeByte(t[e]));return n},t}(),qt=function(){var t;function e(t){var e,A,n;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},A=0,n=this.tableCount;0<=n?A<n:A>n;A=0<=n?++A:--A)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var A,n,r,i,o,a,s,c,l,u,h,f;for(f in u=Object.keys(e).length,o=Math.log(2),c=16*Math.floor(Math.log(u)/o),r=Math.floor(c/o),s=16*u-c,(n=new Vt).writeInt(this.scalarType),n.writeShort(u),n.writeShort(c),n.writeShort(r),n.writeShort(s),a=n.pos+16*u,i=null,h=[],e)for(l=e[f],n.writeString(f),n.writeInt(t(l)),n.writeInt(a),n.writeInt(l.length),h=h.concat(l),"head"===f&&(i=a),a+=l.length;a%4;)h.push(0),a++;return n.write(h),A=2981146554-t(n.data),n.pos=i+8,n.writeUInt32(A),n.data},t=function(t){var e,A,n,r;for(t=ie.call(t);t.length%4;)t.push(0);for(n=new Vt(t),A=0,e=0,r=t.length;e<r;e=e+=4)A+=n.readUInt32();return 4294967295&A},e}(),Gt={}.hasOwnProperty,Xt=function(t,e){for(var A in e)Gt.call(e,A)&&(t[A]=e[A]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t};jt=function(){function t(t){var e;this.file=t,this.exists=!!(e=this.file.directory.tables[this.tag]),e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var Jt=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var e;return(e=new Vt).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},e}(),Wt=function(){function t(t,e){var A,n,r,i,o,a,s,c,l,u,h,f,d,p,g,B,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),l=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.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(a=0;a<256;++a)this.codeMap[a]=t.readByte();break;case 4:for(h=t.readUInt16(),u=h/2,t.pos+=6,r=function(){var e,A;for(A=[],a=e=0;0<=u?e<u:e>u;a=0<=u?++e:--e)A.push(t.readUInt16());return A}(),t.pos+=2,d=function(){var e,A;for(A=[],a=e=0;0<=u?e<u:e>u;a=0<=u?++e:--e)A.push(t.readUInt16());return A}(),s=function(){var e,A;for(A=[],a=e=0;0<=u?e<u:e>u;a=0<=u?++e:--e)A.push(t.readUInt16());return A}(),c=function(){var e,A;for(A=[],a=e=0;0<=u?e<u:e>u;a=0<=u?++e:--e)A.push(t.readUInt16());return A}(),n=(this.length-t.pos+this.offset)/2,o=function(){var e,A;for(A=[],a=e=0;0<=n?e<n:e>n;a=0<=n?++e:--e)A.push(t.readUInt16());return A}(),a=g=0,b=r.length;g<b;a=++g)for(p=r[a],A=B=f=d[a];f<=p?B<=p:B>=p;A=f<=p?++B:--B)0===c[a]?i=A+s[a]:0!==(i=o[c[a]/2+(A-f)-(u-a)]||0)&&(i+=s[a]),this.codeMap[A]=65535&i}t.pos=l}return t.encode=function(t,e){var A,n,r,i,o,a,s,c,l,u,h,f,d,p,g,B,b,w,m,v,y,C,Q,U,F,N,E,_,S,L,I,x,T,H,k,P,D,K,O,R,M,z,j,V,q;switch(E=new Vt,i=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(d=0,p=function(){var t=[];for(f=0;f<256;++f)t.push(0);return t}(),B={0:0},r={},_=0,x=i.length;_<x;_++)null==B[z=t[n=i[_]]]&&(B[z]=++d),r[n]={old:t[n],new:B[t[n]]},p[n]=B[t[n]];return E.writeUInt16(1),E.writeUInt16(0),E.writeUInt32(12),E.writeUInt16(0),E.writeUInt16(262),E.writeUInt16(0),E.write(p),{charMap:r,subtable:E.data,maxGlyphID:d+1};case"unicode":for(F=[],l=[],b=0,B={},A={},g=s=null,S=0,T=i.length;S<T;S++)null==B[w=t[n=i[S]]]&&(B[w]=++b),A[n]={old:w,new:B[w]},o=B[w]-n,null!=g&&o===s||(g&&l.push(g),F.push(n),s=o),g=n;for(g&&l.push(g),l.push(65535),F.push(65535),Q=2*(C=F.length),y=2*Math.pow(Math.log(C)/Math.LN2,2),u=Math.log(y/2)/Math.LN2,v=2*C-y,a=[],m=[],h=[],f=L=0,H=F.length;L<H;f=++L){if(c=l[f],65535===(U=F[f])){a.push(0),m.push(0);break}if(U-(N=A[U].new)>=32768)for(a.push(0),m.push(2*(h.length+C-f)),n=I=U;U<=c?I<=c:I>=c;n=U<=c?++I:--I)h.push(A[n].new);else a.push(N-U),m.push(0)}for(E.writeUInt16(3),E.writeUInt16(1),E.writeUInt32(12),E.writeUInt16(4),E.writeUInt16(16+8*C+2*h.length),E.writeUInt16(0),E.writeUInt16(Q),E.writeUInt16(y),E.writeUInt16(u),E.writeUInt16(v),R=0,k=l.length;R<k;R++)E.writeUInt16(n=l[R]);for(E.writeUInt16(0),M=0,P=F.length;M<P;M++)E.writeUInt16(n=F[M]);for(j=0,D=a.length;j<D;j++)E.writeUInt16(o=a[j]);for(V=0,K=m.length;V<K;V++)E.writeUInt16(m[V]);for(q=0,O=h.length;q<O;q++)E.writeUInt16(d=h[q]);return{charMap:A,subtable:E.data,maxGlyphID:b+1}}},t}(),Yt=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,A,n;for(t.pos=this.offset,this.version=t.readUInt16(),n=t.readUInt16(),this.tables=[],this.unicode=null,A=0;0<=n?A<n:A>n;A=0<=n?++A:--A)e=new Wt(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var A,n;return null==e&&(e="macroman"),A=Wt.encode(t,e),(n=new Vt).writeUInt16(0),n.writeUInt16(1),A.table=n.data.concat(A.subtable),A},e}(),Zt=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(),$t=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,A;for(A=[],e=0;e<10;++e)A.push(t.readByte());return A}(),this.charRange=function(){var e,A;for(A=[],e=0;e<4;++e)A.push(t.readInt());return A}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,A;for(A=[],e=0;e<2;e=++e)A.push(t.readInt());return A}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(),te=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="post",e.prototype.parse=function(t){var e,A,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:break;case 131072:var r;for(A=t.readUInt16(),this.glyphNameIndex=[],r=0;0<=A?r<A:r>A;r=0<=A?++r:--r)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.pos<this.offset+this.length;)e=t.readByte(),n.push(this.names.push(t.readString(e)));return n;case 151552:return A=t.readUInt16(),this.offsets=t.read(A);case 196608:break;case 262144:return this.map=(function(){var e,A,n;for(n=[],r=e=0,A=this.file.maxp.numGlyphs;0<=A?e<A:e>A;r=0<=A?++e:--e)n.push(t.readUInt32());return n}).call(this)}},e}(),ee=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},Ae=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="name",e.prototype.parse=function(t){var e,A,n,r,i,o,a,s,c,l,u;for(t.pos=this.offset,t.readShort(),e=t.readShort(),o=t.readShort(),A=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)A.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(a={},r=c=0,l=A.length;c<l;r=++c)t.pos=(n=A[r]).offset,s=t.readString(n.length),i=new ee(s,n),null==a[u=n.nameID]&&(a[u]=[]),a[n.nameID].push(i);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfam
1ily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},e}(),ne=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(),re=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,A,n,r,i,o;for(t.pos=this.offset,this.metrics=[],e=0,i=this.file.hhea.numberOfMetrics;0<=i?e<i:e>i;e=0<=i?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var A,r;for(r=[],e=A=0;0<=n?A<n:A>n;e=0<=n?++A:--A)r.push(t.readInt16());return r}(),this.widths=(function(){var t,e,A,n;for(n=[],t=0,e=(A=this.metrics).length;t<e;t++)n.push(A[t].advance);return n}).call(this),A=this.widths[this.widths.length-1],o=[],e=r=0;0<=n?r<n:r>n;e=0<=n?++r:--r)o.push(this.widths.push(A));return o},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(),ie=[].slice,oe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,A,n,r,i,o,a,s,c,l;return t in this.cache?this.cache[t]:(e=this.file.contents,A=(r=this.file.loca).indexOf(t),0===(n=r.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+A,i=(o=new Vt(e.read(n))).readShort(),s=o.readShort(),l=o.readShort(),a=o.readShort(),c=o.readShort(),this.cache[t]=-1===i?new se(o,s,l,a,c):new ae(o,i,s,l,a,c),this.cache[t]))},e.prototype.encode=function(t,e,A){var n,r,i,o,a;for(i=[],r=[],o=0,a=e.length;o<a;o++)n=t[e[o]],r.push(i.length),n&&(i=i.concat(n.encode(A)));return r.push(i.length),{table:i,offsets:r}},e}(),ae=function(){function t(t,e,A,n,r,i){this.raw=t,this.numberOfContours=e,this.xMin=A,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),se=function(){function t(t,e,A,n,r){var i,o;for(this.raw=t,this.xMin=e,this.yMin=A,this.xMax=n,this.yMax=r,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;o=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&o;)i.pos+=1&o?4:2,128&o?i.pos+=8:64&o?i.pos+=4:8&o&&(i.pos+=2)}return t.prototype.encode=function(){var t,e,A;for(e=new Vt(ie.call(this.raw.data)),t=0,A=this.glyphIDs.length;t<A;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),ce=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return Xt(e,jt),e.prototype.tag="loca",e.prototype.parse=function(t){var e;return t.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?(function(){var A,n;for(n=[],e=0,A=this.length;e<A;e+=2)n.push(2*t.readUInt16());return n}).call(this):(function(){var A,n;for(n=[],e=0,A=this.length;e<A;e+=4)n.push(t.readUInt32());return n}).call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,e){for(var A=new Uint32Array(this.offsets.length),n=0,r=0,i=0;i<A.length;++i)if(A[i]=n,r<e.length&&e[r]==i){++r,A[i]=n;var o=this.offsets[i+1]-this.offsets[i];o>0&&(n+=o)}for(var a=new Array(4*A.length),s=0;s<A.length;++s)a[4*s+3]=255&A[s],a[4*s+2]=(65280&A[s])>>8,a[4*s+1]=(16711680&A[s])>>16,a[4*s]=(4278190080&A[s])>>24;return a},e}(),le=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,A,n;for(e in A=this.font.cmap.tables[0].codeMap,t={},n=this.subset)t[e]=A[n[e]];return t},t.prototype.glyphsFor=function(t){var e,A,n,r,i,o,a;for(n={},i=0,o=t.length;i<o;i++)n[r=t[i]]=this.font.glyf.glyphFor(r);for(r in e=[],n)(null!=(A=n[r])?A.compound:void 0)&&e.push.apply(e,A.glyphIDs);if(e.length>0)for(r in a=this.glyphsFor(e))n[r]=A=a[r];return n},t.prototype.encode=function(t,e){var A,n,r,i,o,a,s,c,l,u,h,f,d,p;for(n in A=Yt.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(t),u={0:0},p=A.charMap)u[(o=p[n]).old]=o.new;for(h in l=A.maxGlyphID,i)h in u||(u[h]=l++);return s=function(t){var e,A;for(e in A={},t)A[t[e]]=e;return A}(u),c=Object.keys(s).sort((function(t,e){return t-e})),f=function(){var t,e,A;for(A=[],t=0,e=c.length;t<e;t++)A.push(s[c[t]]);return A}(),r=this.font.glyf.encode(i,f,u),a=this.font.loca.encode(r.offsets,f),d={cmap:this.font.cmap.raw(),glyf:r.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(e)},this.font.os2.exists&&(d["OS/2"]=this.font.os2.raw()),this.font.directory.encode(d)},t}();K.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(A){var n,r;if(Array.isArray(A))return"["+function(){var t,n,r;for(r=[],t=0,n=A.length;t<n;t++)r.push(e.convert(A[t]));return r}().join(" ")+"]";if("string"==typeof A)return"/"+A;if(null!=A?A.isString:void 0)return"("+A+")";if(A instanceof Date)return"(D:"+t(A.getUTCFullYear(),4)+t(A.getUTCMonth(),2)+t(A.getUTCDate(),2)+t(A.getUTCHours(),2)+t(A.getUTCMinutes(),2)+t(A.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(A)){for(n in r=["<<"],A)r.push("/"+n+" "+e.convert(A[n]));return r.push(">>"),r.join("\n")}return""+A},e}(),function(t,e){t.API.adler32cs=function(){var t,e,A,n,r,i="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,o=null,a=function(){if(!i)return function(){return!1};try{var t={};"function"==typeof t.Buffer&&(o=t.Buffer)}catch(i){}return function(t){return t instanceof ArrayBuffer||null!==o&&t instanceof o}}(),s=null!==o?function(t){return new o(t,"utf8").toString("binary")}:function(t){return unescape(encodeURIComponent(t))},c=function(t,e){for(var A=65535&t,n=t>>>16,r=0,i=e.length;r<i;r++)n=(n+(A=(A+(255&e.charCodeAt(r)))%65521))%65521;return(n<<16|A)>>>0},l=function(t,e){for(var A=65535&t,n=t>>>16,r=0,i=e.length;r<i;
1r++)n=(n+(A=(A+e[r])%65521))%65521;return(n<<16|A)>>>0},u={},h=u.Adler32=((r=(n=function(t){if(!(this instanceof n))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(t=null===t?1:+t))throw new Error("First arguments needs to be a finite number.");this.checksum=t>>>0}).prototype={}).constructor=n,n.from=((t=function(t){if(!(this instanceof n))throw new TypeError("Constructor cannot called be as a function.");if(null===t)throw new Error("First argument needs to be a string.");this.checksum=c(1,t.toString())}).prototype=r,t),n.fromUtf8=((e=function(t){if(!(this instanceof n))throw new TypeError("Constructor cannot called be as a function.");if(null===t)throw new Error("First argument needs to be a string.");var e=s(t.toString());this.checksum=c(1,e)}).prototype=r,e),i&&(n.fromBuffer=((A=function(t){if(!(this instanceof n))throw new TypeError("Constructor cannot called be as a function.");if(!a(t))throw new Error("First argument needs to be ArrayBuffer.");var e=new Uint8Array(t);return this.checksum=l(1,e)}).prototype=r,A)),r.update=function(t){if(null===t)throw new Error("First argument needs to be a string.");return t=t.toString(),this.checksum=c(this.checksum,t)},r.updateUtf8=function(t){if(null===t)throw new Error("First argument needs to be a string.");var e=s(t.toString());return this.checksum=c(this.checksum,e)},i&&(r.updateBuffer=function(t){if(!a(t))throw new Error("First argument needs to be ArrayBuffer.");var e=new Uint8Array(t);return this.checksum=l(this.checksum,e)}),r.clone=function(){return new h(this.checksum)},n);return u.from=function(t){if(null===t)throw new Error("First argument needs to be a string.");return c(1,t.toString())},u.fromUtf8=function(t){if(null===t)throw new Error("First argument needs to be a string.");var e=s(t.toString());return c(1,e)},i&&(u.fromBuffer=function(t){if(!a(t))throw new Error("First argument need to be ArrayBuffer.");var e=new Uint8Array(t);return l(1,e)}),u}()}(K);var ue,he,fe=A("wOnQ"),de=A.n(fe),pe=A("fXoL"),ge=A("Im7X"),Be=A("Ezu3"),be=A("1kSV"),we=A("OiFK"),me=A("5eHb"),ve=A("7dP1"),ye=A("3Pt+"),Ce=A("oZYh"),Qe={appointmentTypes:[{id:1,value:"Initial Meeting"},{id:2,value:"Follow Up Disscussion"}],pricePlans:[{id:5,type:"New consultation"},{id:3,type:"Existing follow up Appointment"},{id:4,type:"Personalized Trichological Consultation Appointment"}],imageType:[{id:1,type:"Left Image"},{id:2,type:"Right Image"},{id:3,type:"Front Image"},{id:4,type:"Back Image"}],meetingNotes:[{value:1,title:"Initial meeting notes"},{value:2,title:"Follow up meeting notes"}],notes:[{condition_id:5,consultation_note:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages",created_by:1,fname:"Bridgette",id:1,lname:"Hill",note_type:1},{condition_id:5,consultation_note:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages",created_by:1,fname:"Bridgette",id:2,lname:"Hill",note_type:2},{condition_id:7,consultation_note:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting",created_by:1,fname:"Rachit",id:3,lname:"Mathurr",note_type:1},{condition_id:5,consultation_note:"asasasas",created_by:1,fname:"Bridgette",id:4,lname:"Hill",note_type:1}]},Ue=((he=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"transform",value:function(t){var e=Qe.appointmentTypes.find((function(e){return e.id==t}));return e?e.value:"None"}}]),t}()).\u0275fac=function(t){return new(t||he)},he.\u0275pipe=pe.Mb({name:"appointmentType",type:he,pure:!0}),he),Fe=((ue=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"transform",value:function(t){var e;switch(t){case 3:e="15 Minutes";break;case 5:e="30 Minutes";break;case 6:e="60 Minutes"}return e}}]),t}()).\u0275fac=function(t){return new(t||ue)},ue.\u0275pipe=pe.Mb({name:"planTimingStatus",type:ue,pure:!0}),ue),Ne=["pdfModal"];function Ee(t,e){if(1&t&&(pe.Tb(0,"span"),pe.Kc(1),pe.ic(2,"appointmentType"),pe.Sb()),2&t){var A=pe.hc().$implicit;pe.zb(1),pe.Lc(pe.jc(2,1,A.appointment_type))}}function _e(t,e){if(1&t&&(pe.Tb(0,"span"),pe.Kc(1),pe.ic(2,"planTimingStatus"),pe.Sb()),2&t){var A=pe.hc().$implicit;pe.zb(1),pe.Mc("General Consultation - ",pe.jc(2,1,null==A?null:A.plan_id),"")}}function Se(t,e){if(1&t&&(pe.Tb(0,"tr"),pe.Tb(1,"td",32),pe.Ic(2,Ee,3,3,"span",33),pe.Ic(3,_e,3,3,"span",33),pe.Sb(),pe.Tb(4,"td"),pe.Kc(5,"1"),pe.Sb(),pe.Tb(6,"td",34),pe.Kc(7),pe.ic(8,"currency"),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(2),pe.oc("ngIf",null==A?null:A.appointment_type),pe.zb(1),pe.oc("ngIf",!(null!=A&&A.appointment_type)),pe.zb(4),pe.Lc(pe.jc(8,3,A.amount))}}var Le,Ie,xe,Te,He=((Le=function(){function t(e,A,n,r){_classCallCheck(this,t),this.modalService=e,this.utils=A,this.consultationService=n,this.sharedService=r,this.currentDate=new Date}return _createClass(t,[{key:"ngOnInit",value:function(){this.userData=this.utils.getItem("currentUser").user,this.getCountries()}},{key:"dismissModal",value:function(){this.modalService.dismissAll()}},{key:"downloadPDF",value:function(){var t=this.pdfTable.nativeElement;de()(t).then((function(t){console.log(200,100);var e=t.toDataURL("image/png");console.log(e);var A=new K("p","mm","a4");A.addImage(e,0,0,205,0),A.save("newPDF.pdf")}
1))}},{key:"onPrintInvoice",value:function(){var t=this.pdfTable.nativeElement;de()(t).then((function(t){var e=t.toDataURL("image/png");console.log(e);var A=window.open("","");A.document.write('<img src="'.concat(e,'">')),A.document.close(),A.focus(),A.print()}))}},{key:"downloadInvoice",value:function(){var t=this;this.consultationService.generateInvoice({consultationId:this.consultationId,userId:this.userData.id}).subscribe((function(e){t.utils.downLoadFile(e,"application/pdf","invoice-"+t.consultationId+".pdf")}))}},{key:"printInvoice",value:function(){var t=this;this.consultationService.generateInvoice({consultationId:this.consultationId,userId:this.userData.id}).subscribe((function(e){t.printPdf(e,"application/pdf")}))}},{key:"downLoadFile",value:function(t,e){var A=new Blob([t],{type:e}),n=window.URL.createObjectURL(A);console.log(n);var r=document.createElement("a");r.href=n,r.target="_blank",r.download="invoice-"+this.consultationId+".pdf",document.body.appendChild(r),r.click()}},{key:"printPdf",value:function(t,e){var A=new Blob([t],{type:e}),n=window.URL.createObjectURL(A);console.log(n);var r=document.createElement("iframe");r.style.display="none",r.src=n,document.body.appendChild(r),window.setTimeout((function(){r.contentWindow.print()}),1e3),r.contentWindow.print()}},{key:"getCountries",value:function(){var t=this;this.sharedService.getCountryList().subscribe((function(e){200!==e.status||e.error||(t.countryList=e.data[0],console.log(t.countryList))})),this.getStateList()}},{key:"getStateList",value:function(){var t=this;this.sharedService.getStateList({country_id:this.userData.country}).subscribe((function(e){200!==e.status||e.error||(t.stateList=e.data,console.log(t.stateList),t.userStateList=t.stateList.find((function(e){return e.id==t.userData.state})),console.log(t.userStateList))}))}},{key:"getTotalPrice",get:function(){return console.log(this.invoiceData),this.invoiceData.map((function(t){return t.amount})).reduce((function(t,e){return t+e}),0)}}]),t}()).\u0275fac=function(t){return new(t||Le)(pe.Nb(be.l),pe.Nb(we.a),pe.Nb(Be.a),pe.Nb(ge.a))},Le.\u0275cmp=pe.Hb({type:Le,selectors:[["app-view-reciepts"]],viewQuery:function(t,e){var A;1&t&&pe.Pc(Ne,!0),2&t&&pe.xc(A=pe.gc())&&(e.pdfTable=A.first)},inputs:{invoiceData:"invoiceData",consultationId:"consultationId"},decls:72,vars:13,consts:[["id","pdfModal"],["pdfModal",""],[1,"modal-header","border-0","p-0"],[1,"close-modal","cursor-pointer",3,"click"],[1,"ic","ic-cross-modal"],[1,"modal-body","text-center","p-5"],[1,"d-flex","justify-content-between","mb-5"],[1,"d-inline-flex"],["src","assets/images/common/logo.svg","width","170.87px"],[1,"mr-5"],[1,"ic","ic-download","cursor-pointer",3,"click"],[1,"mr-3"],[1,"ic","ic-print","cursor-pointer",3,"click"],[1,"d-flex","justify-content-center","mb-5"],[1,"d-block","invoice-address-from",2,"width","136px","margin-right","95px","text-align","left"],[1,"fz-16","fw-m","text-uppercase"],[1,"fz-16","fw-r"],[1,"d-block","invoice-address-to","mr-0",2,"width","136px","margin-right","95px","text-align","left"],[1,"d-block","text-left"],[1,"fz-16","fw-m","fw-r","text-uppercase"],[1,"d-block"],[1,"table","text-left",2,"width","500px"],["colspan","6","scope","col",1,"fw-m","text-uppercase"],["scope","col",1,"fw-m","text-uppercase"],["scope","col",1,"text-right","fw-m","text-uppercase"],[4,"ngFor","ngForOf"],["colspan","12",1,"text-right"],[1,"d-inline-block"],[1,"mb-0","fw-m","text-uppercase"],[1,"fw-r"],[1,"d-flex","justify-content-end"],[1,"d-block","info","text-left",2,"width","500px"],["colspan","6",1,"fw-r"],[4,"ngIf"],[1,"fw-r","text-right"]],template:function(t,e){1&t&&(pe.Tb(0,"div",0,1),pe.Tb(2,"div",2),pe.Tb(3,"span",3),pe.fc("click",(function(){return e.dismissModal()})),pe.Ob(4,"i",4),pe.Sb(),pe.Sb(),pe.Tb(5,"div",5),pe.Tb(6,"div",6),pe.Tb(7,"div",7),pe.Ob(8,"img",8),pe.Sb(),pe.Tb(9,"div",7),pe.Tb(10,"span",9),pe.Tb(11,"i",10),pe.fc("click",(function(){return e.downloadInvoice()})),pe.Sb(),pe.Sb(),pe.Tb(12,"span",11),pe.Tb(13,"i",12),pe.fc("click",(function(){return e.printInvoice()})),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(14,"div",13),pe.Tb(15,"div",14),pe.Tb(16,"h3",15),pe.Kc(17,"Invoice From"),pe.Sb(),pe.Tb(18,"p",16),pe.Kc(19,"Bridgette Hill 310 NW 1st Street, Delray Beach, FL 33444"),pe.Sb(),pe.Sb(),pe.Tb(20,"div",17),pe.Tb(21,"h3",15),pe.Kc(22,"Invoice To"),pe.Sb(),pe.Tb(23,"p",16),pe.Tb(24,"span"),pe.Kc(25),pe.Sb(),pe.Ob(26,"br"),pe.Tb(27,"span"),pe.Kc(28),pe.Sb(),pe.Ob(29,"br"),pe.Tb(30,"span"),pe.Kc(31),pe.
1Sb(),pe.Ob(32,"br"),pe.Tb(33,"span"),pe.Kc(34),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(35,"div",6),pe.Tb(36,"div",18),pe.Tb(37,"h3",15),pe.Kc(38,"Analysis ID"),pe.Sb(),pe.Tb(39,"p",16),pe.Kc(40),pe.Sb(),pe.Tb(41,"h3",19),pe.Kc(42,"Issued"),pe.Sb(),pe.Tb(43,"p",16),pe.Kc(44),pe.ic(45,"date"),pe.Sb(),pe.Sb(),pe.Tb(46,"div",20),pe.Tb(47,"table",21),pe.Tb(48,"thead"),pe.Tb(49,"tr"),pe.Tb(50,"th",22),pe.Kc(51,"Description"),pe.Sb(),pe.Tb(52,"th",23),pe.Kc(53,"Quantity"),pe.Sb(),pe.Tb(54,"th",24),pe.Kc(55,"Total"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(56,"tbody"),pe.Ic(57,Se,9,5,"tr",25),pe.Sb(),pe.Tb(58,"tfoot"),pe.Tb(59,"td",26),pe.Tb(60,"div",27),pe.Tb(61,"p",28),pe.Kc(62," Order Total: "),pe.Tb(63,"span",29),pe.Kc(64),pe.ic(65,"currency"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(66,"div",30),pe.Tb(67,"div",31),pe.Tb(68,"h3",15),pe.Kc(69,"Other Information"),pe.Sb(),pe.Tb(70,"p",16),pe.Kc(71,"This virtual consultation service is NON-REFUNDABLE. You will receive your personalized Root Cause Scalp Analysis\u2122 report via email within 3 - 5 business days from the completed order date. Once received, you will be able to schedule your appointment to review the report with certified trichologist, Bridgette Hill. Your scheduled appointment can be canceled within 48 hours and rescheduled for up to two (2) individual times within the 48 hours. After two (2) cancellations or if you are a no show at your scheduled appointment time, your appointment and analysis will be forfeited."),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb()),2&t&&(pe.zb(25),pe.Lc((null==e.userData?null:e.userData.fname)+" "+(null==e.userData?null:e.userData.lname)),pe.zb(3),pe.Lc(null==e.userData?null:e.userData.address),pe.zb(3),pe.Lc((null==e.countryList?null:e.countryList.country_name)+", "+(null==e.userStateList?null:e.userStateList.state_name)),pe.zb(3),pe.Lc((null==e.userData?null:e.userData.city)+", "+(null==e.userData?null:e.userData.zip_code)),pe.zb(6),pe.Lc(e.consultationId),pe.zb(4),pe.Lc(pe.kc(45,8,e.currentDate,"d MMM, y")),pe.zb(13),pe.oc("ngForOf",e.invoiceData),pe.zb(7),pe.Lc(pe.jc(65,11,e.getTotalPrice)))},directives:[n.l,n.m],pipes:[n.e,n.c,Ue,Fe],styles:[""]}),Le),ke=A("QUrN"),Pe=((Te=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"transform",value:function(t){var e;switch(t){case 0:e="Pending";break;case 1:e="Review Pending";break;case 2:e="Under Review";break;case 3:e="Report Generated";break;case 4:e="Payment Pending";break;case 5:e="Scalp Images Pending"}return e}}]),t}()).\u0275fac=function(t){return new(t||Te)},Te.\u0275pipe=pe.Mb({name:"consultationStatus",type:Te,pure:!0}),Te),De=((xe=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"transform",value:function(t){var e;switch(t){case 1:e="Left";break;case 2:e="Right";break;case 3:e="Front";break;case 4:e="Back";break;case 5:e="Top"}return e}}]),t}()).\u0275fac=function(t){return new(t||xe)},xe.\u0275pipe=pe.Mb({name:"imageViewFrom",type:xe,pure:!0}),xe),Ke=((Ie=function(){function t(e){_classCallCheck(this,t),this.utils=e}return _createClass(t,[{key:"transform",value:function(t){var e=t.split(":");return this.utils.dateConversion(e)}}]),t}()).\u0275fac=function(t){return new(t||Ie)(pe.Nb(we.a))},Ie.\u0275pipe=pe.Mb({name:"timeConversion",type:Ie,pure:!0}),Ie),Oe=["content"],Re=["thankyou"],Me=["container"],ze=["downloadCar"];function je(t,e){1&t&&(pe.Tb(0,"div",2),pe.Tb(1,"div",46),pe.Tb(2,"h2",47),pe.Kc(3,"Analysis Details"),pe.Sb(),pe.Sb(),pe.Sb())}function Ve(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",48),pe.Tb(1,"div",49),pe.fc("click",(function(){return pe.Bc(A),pe.hc().onBack()})),pe.Ob(2,"i",50),pe.Tb(3,"span",51),pe.Kc(4,"Go Back"),pe.Sb(),pe.Sb(),pe.Tb(5,"div",52),pe.Tb(6,"h2",47),pe.Kc(7,"Root Cause Scalp Analysis"),pe.Sb(),pe.Sb(),pe.Ob(8,"div",53),pe.Sb()}}function qe(t,e){1&t&&(pe.Tb(0,"span",14),pe.Kc(1,"Status: "),pe.Sb())}function Ge(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",57),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(2),e=pe.yc(91);return t.openModal(e,"lg"),t.onScheduleMeeting(1)})),pe.Kc(1," SCHEDULE VIRTUAL CONSULTATION "),pe.Sb()}}function Xe(t,e){1&t&&(pe.Tb(0,"button",58),pe.Kc(1," SCHEDULE Follow Up "),pe.Sb()),2&t&&pe.oc("disabled",!0)}function Je(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",57),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(2),e=pe.yc(91);return t.openModal(e,"lg"),t.onScheduleMeeting(2)})),pe.Kc(1," SCHEDULE Follow Up "),pe.Sb()}}function We(t,e){1&t&&(pe.Tb(0,"button",58),pe.Kc(1," SCHEDULE Follow Up "),pe.Sb()),2&t&&pe.oc("disabled",!0)}function Ye(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",57),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(2),e=pe.yc(91);return t.openModal(e,"lg"),t.onScheduleMeeting(3)})),pe.Kc(1," SCHEDULE Follow Up "),pe.Sb()}}function Ze(t,e){if(1&t&&(pe.Tb(0,"div",54),pe.Ic(1,Ge,2,0,"button",55),pe.Ic(2,Xe,2,1,"button",56),pe.Ic(3,Je,2,0,"button",55),pe.Ic(4,We,2,1,"button",56),pe.Ic(5,Ye,2,0,"button",55),pe.Sb()),2&t){var A=pe.hc();pe.zb(1),pe.oc("ngIf",0===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status)),pe.zb(1),pe.oc("ngIf",1===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status)||2===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status)),pe.zb(1),pe.oc("ngIf",3===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status)),pe.zb(1),pe.oc("ngIf",4===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status)),pe.zb(1),pe.oc("ngIf",5===(null==A.consultationDetail?null:A.consultationDetail.scheduled_status))}}function $e(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",59),pe.fc("click",(function(){return pe.Bc(A),pe.hc().generateAnalysisReportPdf()})),pe.Ob(1,"i",60),pe.Tb(2,"span",61),pe.Kc(3," Download RCSAR"),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(1),pe.oc("ngClass",n.isMobile?"sm":""),pe.zb(1),pe.oc("ngClass",n.isMobile?"fz-10":"fz-14")}}function tA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",59),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(),e=pe.yc(89);return t.openModal(e,"xl"),t.getConsultationInvoice()})),pe.Ob(1,"i",62),pe.Tb(2,"span",61),pe.Kc(3,"View receipt"),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(1),pe.oc("ngClass",n.isMobile?"sm":""),pe.zb(1),pe.oc("ngClass",n.isMobile?"fz-10":"fz-14")}}function eA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",59),pe.fc("click",(function(){return pe.Bc(A),pe.hc().downloadInvoice()})),pe.Ob(1,"i",62),pe.Tb(2,"span",61),pe.Kc(3,"View receipt"),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(1),pe.oc("ngClass",n.isMobile?"sm":""),pe.zb(1),pe.oc("ngClass",n.isMobile?"fz-10":"fz-14")}}function AA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",59),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(2),e=pe.yc(87);return t.openModal(e,"md")})),pe.Ob(1,"i",63),pe.Tb(2,"span",61),pe.Kc(3,"Provide Feedback"),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc(2);pe.zb(1),pe.oc("ngClass",n.isMobile?"sm":""),pe.zb(1),pe.oc("ngClass",n.isMobile?"fz-10":"fz-14")}}function nA(t,e){if(1&t&&(pe.Rb(0),pe.Ic(1,AA,4,2,"div",19),pe.Qb()),2&t){var A=pe.hc();pe.zb(1),pe.oc("ngIf",0===(null==A.consultationDetail?null:A.consultationDetail.feedback_rating))}}function rA(t,e){if(1&t&&(pe.Rb(0),pe.Tb(1,"div",28),pe.Tb(2,"h3",29),pe.Kc(3,"Analysis ID:"),pe.Sb(),pe.Tb(4,"p",30),pe.Kc(5),pe.Sb(),pe.Sb(),pe.Tb(6,"div",28),pe.Tb(7,"h3",29),pe.Kc(8,"Date:"),pe.Sb(),pe.Tb(9,"p",30),pe.Kc(10),pe.ic(11,"amDateFormat"),pe.Sb(),pe.Sb(),pe.Qb()),2&t){var A=pe.hc();pe.zb(1),pe.oc("ngClass",A.isMobile?"d-inline-flex":""),pe.zb(3),pe.oc("ngClass",A.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",null==A.consultationDetail?null:A.consultationDetail.id," "),pe.zb(1),pe.oc("ngClass",A.isMobile?"d-inline-flex":""),pe.zb(3),pe.oc("ngClass",A.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",pe.kc(11,6,null==A.consultationDetail?null:A.consultationDetail.consultant_created_at,"LL")," ")}}function iA(t,e){if(1&t&&(pe.Tb(0,"div",64),pe.Tb(1,"div",65),pe.Ob(2,"img",66),pe.Sb(),pe.Tb(3,"p",67),pe.Kc(4),pe.ic(5,"imageViewFrom"),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit,n=pe.hc();pe.zb(2),pe.pc("src-fallback",n.defaultImage),pe.oc("src",A.file_url,pe.Dc),pe.zb(2),pe.Mc(" ",pe.jc(5,3,null==A?null:A.file_view_from)," ")}}function oA(t,e){1&t&&(pe.Tb(0,"h1",68),pe.Kc(1," Hand-picked for your scalp-care routine "),pe.Sb())}function aA(t,e){if(1&t&&(pe.Tb(0,"div",69),pe.Tb(1,"div",65),pe.Ob(2,"img",66),pe.Sb(),pe.Tb(3,"div",70),pe.Tb(4,"p",71),pe.Kc(5),pe.Sb(),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit,n=pe.hc();pe.zb(2),pe.pc("src-fallback",n.defaultImage),pe.oc("src",null==A||null==A.product_image[0]?null:A.product_image[0].product_image_url,pe.Dc),pe.zb(3),pe.Lc(null==A?null:A.product_title)}}function sA(t,e){1&t&&(pe.Tb(0,"span",91),pe.Kc(1,"Initial"),pe.Sb())}function cA(t,e){1&t&&(pe.Tb(0,"span",91),pe.Kc(1,"Follow-up"),pe.Sb())}function lA(t,e){if(1&t&&(pe.Tb(0,"div",79),pe.Tb(1,"div",80),pe.Tb(2,"div",81),pe.Tb(3,"h3",82),pe.Kc(4,"Note Type"),pe.Sb(),pe.Ic(5,sA,2,0,"span",83),pe.Ic(6,cA,2,0,"span",83),pe.Sb(),pe.Tb(7,"div",81),pe.Tb(8,"div",84),pe.Tb(9,"div",85),pe.Tb(10,"h3",86),pe.Kc(11,"Created By"),pe.Sb(),pe.Tb(12,"
1span",87),pe.Kc(13),pe.Sb(),pe.Sb(),pe.Ob(14,"div",88),pe.Tb(15,"div",85),pe.Tb(16,"h3",86),pe.Kc(17,"Created On"),pe.Sb(),pe.Tb(18,"span",89),pe.Kc(19),pe.ic(20,"date"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ob(21,"hr"),pe.Tb(22,"div",90),pe.Tb(23,"span"),pe.Kc(24),pe.Sb(),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(5),pe.oc("ngIf",1==(null==A?null:A.note_type)),pe.zb(1),pe.oc("ngIf",2==(null==A?null:A.note_type)),pe.zb(7),pe.Nc(" ",null==A?null:A.fname," ",null==A?null:A.lname," "),pe.zb(6),pe.Mc(" ",pe.jc(20,6,null==A?null:A.created_at)," "),pe.zb(5),pe.Lc(null==A?null:A.consultation_note)}}function uA(t,e){if(1&t&&(pe.Tb(0,"div",77),pe.Ic(1,lA,25,8,"div",78),pe.ic(2,"slice"),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(1),pe.oc("ngForOf",pe.lc(2,1,null==A.consultationDetail?null:A.consultationDetail.notes,0,A.notesStart))}}function hA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",92),pe.Tb(1,"a",93),pe.fc("click",(function(){return pe.Bc(A),pe.hc(2).loadMore()})),pe.Kc(2," Load More "),pe.Sb(),pe.Sb()}}function fA(t,e){if(1&t&&(pe.Rb(0),pe.Tb(1,"div",72),pe.Tb(2,"div",73),pe.Tb(3,"h3",74),pe.Kc(4," Follow-up Notes "),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(5,uA,3,5,"div",75),pe.Ic(6,hA,3,0,"div",76),pe.Qb()),2&t){var A=pe.hc();pe.zb(5),pe.oc("ngIf",(null==A.consultationDetail?null:A.consultationDetail.notes.length)>0),pe.zb(1),pe.oc("ngIf",A.notesStart<(null==A.consultationDetail?null:A.consultationDetail.notes.length))}}function dA(t,e){1&t&&(pe.Tb(0,"span",99),pe.Kc(1,"\u2605"),pe.Sb()),2&t&&pe.Eb("filled",100===e.fill)}function pA(t,e){if(1&t&&(pe.Rb(0),pe.Tb(1,"div",94),pe.Tb(2,"div",95),pe.Tb(3,"h1",96),pe.Kc(4,"Your Feedback"),pe.Sb(),pe.Sb(),pe.Tb(5,"div",95),pe.Tb(6,"p",97),pe.Kc(7),pe.Sb(),pe.Sb(),pe.Tb(8,"div",95),pe.Tb(9,"ngb-rating",98),pe.Ic(10,dA,2,2,"ng-template"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Qb()),2&t){var A=pe.hc();pe.zb(7),pe.Mc(" ",null==A.consultationDetail?null:A.consultationDetail.feedback_text," "),pe.zb(2),pe.oc("rate",A.consultationDetail.feedback_rating)("max",5)}}function gA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",112),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc(4),e=pe.yc(93);return t.openModal(e,"lg"),t.onChangeAppointment(t.appointment)})),pe.Kc(1," change/cancel appointment "),pe.Sb()}}function BA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",106),pe.Tb(1,"div",31),pe.Tb(2,"p",107),pe.Kc(3,"Initial Meeting"),pe.Sb(),pe.Sb(),pe.Tb(4,"div",31),pe.Tb(5,"p",107),pe.Tb(6,"span",108),pe.Kc(7,"Analysis ID:"),pe.Sb(),pe.Tb(8,"span",109),pe.Kc(9),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(10,"div",31),pe.Tb(11,"p",107),pe.Tb(12,"span",108),pe.Kc(13,"Date:"),pe.Sb(),pe.Tb(14,"span",109),pe.Kc(15),pe.ic(16,"date"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(17,"div",31),pe.Tb(18,"p",107),pe.Tb(19,"span",108),pe.Kc(20,"Time:"),pe.Sb(),pe.Tb(21,"span",109),pe.Kc(22),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(23,"div",31),pe.Tb(24,"p",107),pe.Tb(25,"span",108),pe.Kc(26,"Time Slot:"),pe.Sb(),pe.Tb(27,"span",109),pe.Kc(28),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(29,"div",31),pe.Tb(30,"button",110),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc(3).confirmAppointment(null==t?null:t.id)})),pe.Kc(31," Confirm "),pe.Sb(),pe.Ic(32,gA,2,0,"button",111),pe.Sb(),pe.Sb()}if(2&t){var n=e.$implicit;pe.zb(9),pe.Lc(null==n?null:n.consultation_id),pe.zb(6),pe.Lc(pe.jc(16,5,null==n?null:n.appointment_date)),pe.zb(7),pe.Lc(null==n?null:n.appointment_time),pe.zb(6),pe.Lc(null==n?null:n.appointment_duration),pe.zb(4),pe.oc("ngIf",null==n?null:n.status)}}function bA(t,e){if(1&t&&(pe.Tb(0,"div",104),pe.Ic(1,BA,33,7,"div",105),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(1),pe.oc("ngForOf",null==A.consultationDetail?null:A.consultationDetail.appointments)}}function wA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",120),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).confirmAppointment(null==t?null:t.id)})),pe.Kc(1," CONFIRM "),pe.Sb()}}function mA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",121),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit,e=pe.hc(3),n=pe.yc(93);return e.openModal(n,"lg"),e.onChangeAppointment(t)})),pe.Kc(1," CHANGE/CANCEL "),pe.Sb()}}function vA(t,e){if(1&t&&(pe.Tb(0,"tr"),pe.Tb(1,"td"),pe.Kc(2),pe.ic(3,"date"),pe.Sb(),pe.Tb(4,"td"),pe.Kc(5),pe.Sb(),pe.Tb(6,"td"),pe.Kc(7),pe.Sb(),pe.Tb(8,"td"),pe.Kc(9),pe.ic(10,"appointmentType"),pe.Sb(),pe.Tb(11,"td",116),pe.Kc(12),pe.Sb(),pe.Tb(13,"td",117),pe.Ic(14,wA,2,0,"button",118),pe.Sb(),pe.Tb(15,"td",117),pe.Ic(16,mA,2,0,"button",119),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(2),pe.Mc(" ",pe.kc(3,7,null==A?null:A.appointment_date,"MM/dd
1/yyyy")," "),pe.zb(3),pe.Lc((null==A?null:A.consultation_id)||"-"),pe.zb(2),pe.Lc(null==A?null:A.appointment_time),pe.zb(2),pe.Lc(pe.jc(10,10,null==A?null:A.appointment_type)),pe.zb(3),pe.Mc(" ",null==A?null:A.appointment_duration," "),pe.zb(2),pe.oc("ngIf",0===(null==A?null:A.appointment_status)),pe.zb(2),pe.oc("ngIf",null==A?null:A.status)}}function yA(t,e){if(1&t&&(pe.Tb(0,"table",113),pe.Tb(1,"thead"),pe.Tb(2,"tr"),pe.Tb(3,"th",114),pe.Kc(4,"DATE"),pe.Sb(),pe.Tb(5,"th",114),pe.Kc(6,"Analysis ID"),pe.Sb(),pe.Tb(7,"th",114),pe.Kc(8,"TIME"),pe.Sb(),pe.Tb(9,"th",114),pe.Kc(10,"TYPE"),pe.Sb(),pe.Tb(11,"th",114),pe.Kc(12,"TIME SLOT"),pe.Sb(),pe.Ob(13,"th",114),pe.Ob(14,"th",114),pe.Sb(),pe.Sb(),pe.Tb(15,"tbody"),pe.Ic(16,vA,17,12,"tr",115),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(16),pe.oc("ngForOf",null==A.consultationDetail?null:A.consultationDetail.appointments)}}function CA(t,e){if(1&t&&(pe.Rb(0),pe.Tb(1,"div",100),pe.Tb(2,"h1",101),pe.Kc(3,"Scheduled appointments"),pe.Sb(),pe.Tb(4,"p",97),pe.Kc(5," Your analysis history of your scalp type and scalp concern "),pe.Sb(),pe.Sb(),pe.Tb(6,"div",3),pe.Ic(7,bA,2,1,"div",102),pe.Ic(8,yA,17,1,"ng-template",null,103,pe.Jc),pe.Sb(),pe.Qb()),2&t){var A=pe.yc(9),n=pe.hc();pe.zb(7),pe.oc("ngIf",n.isMobile)("ngIfElse",A)}}function QA(t,e){1&t&&(pe.Tb(0,"span",99),pe.Kc(1,"\u2605"),pe.Sb()),2&t&&pe.Eb("filled",100===e.fill)}function UA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",122),pe.Tb(1,"h4",123),pe.Kc(2," YOUR FEEDBACK "),pe.Sb(),pe.Tb(3,"span",124),pe.fc("click",(function(){return e.$implicit.dismiss("Cross click")})),pe.Ob(4,"i",125),pe.Sb(),pe.Sb(),pe.Tb(5,"div",126),pe.Tb(6,"div",127),pe.Tb(7,"label",128),pe.Kc(8,"Your Feedback"),pe.Sb(),pe.Tb(9,"textarea",129),pe.fc("ngModelChange",(function(t){return pe.Bc(A),pe.hc().feedback=t})),pe.Sb(),pe.Tb(10,"p",130),pe.Kc(11),pe.Sb(),pe.Sb(),pe.Tb(12,"div",131),pe.Tb(13,"p",132),pe.Kc(14,"Rate Us"),pe.Sb(),pe.Tb(15,"ngb-rating",133),pe.fc("rateChange",(function(t){return pe.Bc(A),pe.hc().currentRate=t})),pe.Ic(16,QA,2,2,"ng-template"),pe.Sb(),pe.Sb(),pe.Tb(17,"div",134),pe.Tb(18,"button",135),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc().onSubmit(),t.dismiss()})),pe.Kc(19," SAVE "),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(9),pe.oc("ngModel",n.feedback),pe.zb(2),pe.Mc(" ",n.feedback.length,"/500 Characters "),pe.zb(4),pe.oc("rate",n.currentRate)("max",5)}}function FA(t,e){if(1&t&&pe.Ob(0,"app-view-reciepts",136),2&t){var A=pe.hc();pe.oc("invoiceData",A.invoiceDetail)("consultationId",A.consultationId)}}function NA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"li",154),pe.Tb(1,"label",16),pe.Tb(2,"input",155),pe.fc("change",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).onSelectTimeSlot(t)})),pe.Sb(),pe.Tb(3,"span",156),pe.Tb(4,"span",157),pe.Kc(5),pe.ic(6,"timeConversion"),pe.ic(7,"timeConversion"),pe.Sb(),pe.Tb(8,"span",81),pe.Kc(9,"(EST)"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc().$implicit,r=pe.hc(3);pe.zb(1),pe.oc("ngClass",r.isMobile?"time-box":"item"),pe.zb(1),pe.oc("value",n)("checked",n===r.selectedSlot),pe.zb(3),pe.Nc("",pe.jc(6,5,null==n?null:n.start)," - ",pe.jc(7,7,null==n?null:n.end)," ")}}function EA(t,e){if(1&t&&(pe.Rb(0),pe.Ic(1,NA,10,9,"li",153),pe.Qb()),2&t){var A=e.$implicit;pe.zb(1),pe.oc("ngIf",!A.is_booked)}}function _A(t,e){if(1&t&&(pe.Tb(0,"div",151),pe.Tb(1,"ul",152),pe.Ic(2,EA,2,1,"ng-container",115),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(2),pe.oc("ngForOf",A.availableSlots)}}function SA(t,e){1&t&&(pe.Tb(0,"div",151),pe.Tb(1,"p",158),pe.Kc(2," We apologize there are no available times on this day, please choose another day. "),pe.Sb(),pe.Sb())}var LA=function(){return{standalone:!0}};function IA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",122),pe.Tb(1,"h4",137),pe.Kc(2),pe.Sb(),pe.Tb(3,"span",124),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit,n=pe.hc();return t.dismiss("Cross click"),n.resetRescheduleAppointment()})),pe.Ob(4,"i",125),pe.Sb(),pe.Sb(),pe.Tb(5,"div",138),pe.Tb(6,"div",139),pe.Tb(7,"input",140,141),pe.fc("ngModelChange",(function(t){return pe.Bc(A),pe.hc().selectAp
1pointmentDate=t}))("ngModelChange",(function(){return pe.Bc(A),pe.hc().getConsultationSlots()})),pe.Sb(),pe.Tb(9,"div",142),pe.Tb(10,"span",143),pe.Tb(11,"i",144),pe.fc("click",(function(){return pe.Bc(A),pe.yc(8).toggle()})),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(12,"div",145),pe.Tb(13,"input",146),pe.fc("ngModelChange",(function(t){return pe.Bc(A),pe.hc().selectAppointmentTime=t})),pe.Sb(),pe.Tb(14,"div",142),pe.Tb(15,"span",143),pe.Ob(16,"i",147),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(17,_A,3,1,"div",148),pe.Ic(18,SA,3,0,"div",148),pe.Tb(19,"div",149),pe.Tb(20,"button",150),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc().onScheduleAppointment(),t.dismiss()})),pe.Kc(21," Schedule "),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(2),pe.Mc(" ",n.meetingType," "),pe.zb(5),pe.oc("minDate",n.minDate)("ngModel",n.selectAppointmentDate)("ngModelOptions",pe.sc(8,LA)),pe.zb(6),pe.oc("ngModel",n.selectAppointmentTime),pe.zb(4),pe.oc("ngIf",(null==n.availableSlots?null:n.availableSlots.length)>0),pe.zb(1),pe.oc("ngIf",0===(null==n.availableSlots?null:n.availableSlots.length)&&n.isSlotAvailable),pe.zb(2),pe.oc("disabled",0===(null==n.availableSlots?null:n.availableSlots.length))}}function xA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"li",154),pe.Tb(1,"label",173),pe.Tb(2,"input",155),pe.fc("change",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).onSelectTimeSlot(t)})),pe.Sb(),pe.Tb(3,"span",174),pe.Tb(4,"span",157),pe.Kc(5),pe.ic(6,"timeConversion"),pe.ic(7,"timeConversion"),pe.Sb(),pe.Tb(8,"span",81),pe.Kc(9,"(EST)"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc().$implicit,r=pe.hc(3);pe.zb(2),pe.oc("value",n)("checked",n===r.selectedSlot),pe.zb(3),pe.Nc("",pe.jc(6,4,null==n?null:n.start)," - ",pe.jc(7,6,null==n?null:n.end)," ")}}function TA(t,e){if(1&t&&(pe.Rb(0),pe.Ic(1,xA,10,8,"li",153),pe.Qb()),2&t){var A=e.$implicit;pe.zb(1),pe.oc("ngIf",!A.is_booked)}}function HA(t,e){if(1&t&&(pe.Tb(0,"div",172),pe.Tb(1,"ul",152),pe.Ic(2,TA,2,1,"ng-container",115),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(2),pe.oc("ngForOf",A.availableSlots)}}var kA=function(){return{year:1900,month:1,day:1}};function PA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",122),pe.Tb(1,"h4",123),pe.Kc(2," RE-SCHEDULE APPOINTMENT "),pe.Sb(),pe.Tb(3,"span",124),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit,n=pe.hc();return t.dismiss(),n.onLoadModal()})),pe.Ob(4,"i",125),pe.Sb(),pe.Sb(),pe.Tb(5,"div",159),pe.Tb(6,"form",160),pe.Tb(7,"div",161),pe.Tb(8,"label",162),pe.Kc(9,"Select available date"),pe.Sb(),pe.Tb(10,"div",163),pe.Tb(11,"input",164,141),pe.fc("ngModelChange",(function(){return pe.Bc(A),pe.hc().getReScheduleConsultationSlots()})),pe.Sb(),pe.Tb(13,"div",142),pe.Tb(14,"span",143),pe.Tb(15,"i",165),pe.fc("click",(function(){return pe.Bc(A),pe.yc(12).toggle()})),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(16,"div",161),pe.Tb(17,"label",162),pe.Kc(18,"Select available time"),pe.Sb(),pe.Tb(19,"div",163),pe.Ob(20,"input",166),pe.Tb(21,"div",142),pe.Tb(22,"span",143),pe.Ob(23,"i",167),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(24,HA,3,1,"div",168),pe.Sb(),pe.Tb(25,"div",169),pe.Tb(26,"button",170),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc().onCancelAppointment(),t.dismiss()})),pe.Kc(27," Cancel Appointment "),pe.Sb(),pe.Tb(28,"button",171),pe.fc("click",(function(){return pe.Bc(A),pe.hc().onSubmitRescheduleAppointment()})),pe.Kc(29," Re-Schedule "),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(6),pe.oc("formGroup",n.form),pe.zb(5),pe.oc("minDate",pe.sc(3,kA)),pe.zb(13),pe.oc("ngIf",(null==n.availableSlots?null:n.availableSlots.length)>0)}}function DA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",175),pe.Tb(1,"h4",123),pe.Kc(2,"Appointment"),pe.Sb(),pe.Sb(),pe.Tb(3,"div",176),pe.Tb(4,"div",39),pe.Tb(5,"div",177),pe.Tb(6,"p"),pe.Kc(7," Type: "),pe.Tb(8,"span",178),pe.Kc(9),pe.ic(10,"appointmentType"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(11,"div",177),pe.Tb(12,"p"),pe.Kc(13," Date: "),pe.Tb(14,"span",178),pe.Kc(15),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(16,"div",177),pe.Tb(17,"p"),pe.Kc(18," Time: "),pe.Tb(19,"span",178),pe.Kc(20),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(21,"div",177),pe.Tb(22,"p"),pe.Kc(23," Duration: "),pe.Tb(24,"span",178),pe.Kc(25),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(26,"div",179),pe.Tb(27,"button",180),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit,n=pe.hc();return n.confirmAppointment(null==n.appointmentDetails?null:n.appointmentDetails.id),t.dismiss()})),pe.Kc(28," Confirm "),pe.Sb(),pe.Tb(29,"button",180),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit,n=pe.hc(),r=pe.yc(93);return t.dismiss(),n.openModal(r,"lg"),n.onChangeAppointment(n.appointmentDetails)})),pe.Kc(30," Reschedule "),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(9),pe.Mc("",pe.jc(10,4,null==n.appointmentDetails?null:n.appointmentDetails.appointment_type)," "),pe.zb(6),pe.Lc(null==n.appointmentDetails?null:n.appointmentDetails.appointment_date),pe.zb(5),pe.Mc(" ",null==n.appointmentDetails?null:n.appointmentDetails.appointment_time,""),pe.zb(5),pe.Mc("",null==n.appointmentDetails?null:n.appointmentDetails.appointment_duration," Minutes")}}function KA(t,e){1&t&&(pe.Tb(0,"div",181),pe.Tb(1,"div",182),pe.Ob(2,"img",183),pe.Sb(),pe.Rb(3),pe.Tb(4,"p",184),pe.Kc(5," Thank y
1ou! Your appointment is confirmed and a meeting invite with a link will be sent to you shortly. "),pe.Sb(),pe.Tb(6,"button",185),pe.fc("click",(function(){return e.$implicit.dismiss("Cross click")})),pe.Kc(7," OK "),pe.Sb(),pe.Qb(),pe.Sb())}var OA,RA=((OA=function(){function t(e,A,n,r,o,a,s,c,l,u,h){_classCallCheck(this,t),this.sharedService=e,this.consultationService=A,this.modalService=n,this.activatedRoute=r,this.utils=o,this.location=a,this.toastr=s,this.authService=c,this.formBuilder=l,this.router=u,this.config=h,this.currentRate=4,this.feedback="",this.isFeedback=!1,this.scheduledConsultation=!0,this.isMobile=!1,this.defaultImage=i.a.defaultImage,this.availableSlots=[],this.isSlotAvailable=!1,this.invoiceDetail=[],this.notesStart=3;var f=new Date;this.config.minDate={year:f.getFullYear(),month:f.getMonth()+1,day:f.getDate()},this.config.outsideDays="hidden",this.minDate={year:f.getFullYear(),month:f.getMonth()+1,day:f.getDate()}}return _createClass(t,[{key:"ngOnInit",value:function(){this.isMobile=this.utils.checkMobile(),this.headerOptions={isBackButton:!0,isTitle:!0,centerTitle:"Consultation Detail",isleftTitle:!1,isNewConsultation:!1,isScheduleButton:!0,isProfileIcon:!1,isLogoutIcon:!1},this.sharedService.setHeaderOption(this.headerOptions),this.consultationId=this.activatedRoute.snapshot.paramMap.get("id"),this.getConsultationDetails(),this.getUserData(),this.initiallizeForm(),this.activatedRoute.snapshot.queryParamMap.get("appointmentId")?this.getAppointmentId=this.activatedRoute.snapshot.queryParamMap.get("appointmentId"):console.log("condition need to test")}},{key:"ngAfterViewInit",value:function(){}},{key:"getUserData",value:function(){var t=this;this.authService.getProfileData().subscribe((function(e){200===e.status&&(t.userData=e.data)}))}},{key:"initiallizeForm",value:function(){this.form=this.formBuilder.group({appointmentDate:[""],appointmentTime:[""]})}},{key:"getConsultationDetails",value:function(){var t=this;this.consultationService.getConsulationDetails(this.consultationId).subscribe((function(e){if(200!==e.status||e.error)t.router.navigate(["/analysis"]),t.toastr.error("",e.message);else{var A=e.data.consultation_detail;A.appointments=A.appointments.map((function(e){return t.mapScheduleAppointments(e)})),t.consultationDetail=A,t.changeFormat(),t.onLoadModal(),console.log(t.consultationDetail)}}))}},{key:"getAppointments",value:function(){var t=this;this.consultationService.getAppointment(this.getAppointmentId).subscribe((function(e){var A,n;200==e.status&&(t.appointmentDetails=e.data,t.appointmentDetails.appointment_time=t.timeFormat(null===(A=t.appointmentDetails)||void 0===A?void 0:A.appointment_time),t.appointmentDetails.appointment_end_time=t.timeFormat(null===(n=t.appointmentDetails)||void 0===n?void 0:n.appointment_end_time))}))}},{key:"mapScheduleAppointments",value:function(t){var e=new Date("01/01/2007 "+t.appointment_time),A=new Date("01/01/2007 "+t.appointment_end_time).getTime()-e.getTime(),n=Math.floor(A/1e3/60);t.appointment_duration=n+" Min.";var r=new Date,i=new Date(t.appointment_date);return t.status=r<i?1:0,t}},{key:"openModal",value:function(t,e){this.modalService.open(t,{centered:!0,size:e})}},{key:"onBack",value:function(){this.location.back()}},{key:"downloadPDF",value:function(){var t=this.downloadCar.nativeElement;de()(t,{logging:!0,onclone:function(t){document.appendChild(t)}}).then((function(t){console.log(200,100);var e=t.toDataURL("image/png"),A=new K("p","mm","a4");A.addImage(e,0,0,205,0),A.save("newPDF.pdf")}))}},{key:"onScheduleMeeting",value:function(t){switch(this.appointmentType=t,t){case 1:this.meetingType="SCHEDULE VIRTUAL CONSULTATION";break;case 2:this.meetingType="SCHEDULE FOLLOW UP MEETING";break;case 3:this.meetingType="SCHEDULE FOLLOW UP MEETING";default:this.meetingType="SCHEDULE VIRTUAL CONSULTATION"}}},{key:"getConsultationSlots",value:function(){var t,e=this,A={appointment_date:this.utils.format(this.selectAppointmentDate),appointment_type:this.appointmentType,consultation_id:null===(t=this.consultationDetail)||void 0===t?void 0:t.id};this.consultationService.getAvailableSlots(A).subscribe((function(t){200===t.status&&(console.log(t),e.availableSlots=t.data,e.isSlotAvailable=!0)}))}},{key:"onSelectTimeSlot",value:function(t){this.selectedSlot=t;var e=this.timeFormat(this.selectedSlot.start),A=this.timeFormat(this.selectedSlot.end);
1this.selectAppointmentTime="".concat(e," - ").concat(A),this.form.get("appointmentTime").patchValue("".concat(e," - ").concat(A))}},{key:"onChangeAppointment",value:function(t){var e;this.appointment=t;var A=this.utils.dateToNgbDateStruct(null===(e=this.appointment)||void 0===e?void 0:e.appointment_date);this.form.get("appointmentDate").patchValue(A),this.getReScheduleConsultationSlots(),console.log(this.appointment)}},{key:"getReScheduleConsultationSlots",value:function(){var t,e=this,A=this.utils.format(this.form.value.appointmentDate);console.log(this.appointment);var n={appointment_date:A,appointment_type:this.appointment.appointment_type,consultation_id:null===(t=this.consultationDetail)||void 0===t?void 0:t.id};this.consultationService.getAvailableSlots(n).subscribe((function(t){200===t.status&&(console.log(t),e.availableSlots=t.data)}))}},{key:"onScheduleAppointment",value:function(){var t=this,e=this.utils.format(this.selectAppointmentDate);this.consultationService.addConsultationAppointment({appointment_date:e,appointment_time:this.selectedSlot.start,appointment_end_time:this.selectedSlot.end,appointment_type:this.appointmentType,consultation_id:this.consultationId}).subscribe((function(e){200===e.status&&(3!==t.appointmentType&&t.toastr.success("Success!",e.message),3===t.appointmentType&&t.router.navigate(["/checkout"],{queryParams:{consultationId:t.consultationId,consultationType:4,appointmentId:e.data.id,planId:3}}),t.ngOnInit())}))}},{key:"confirmAppointment",value:function(t){var e=this;this.consultationService.confirmAppointment(t).subscribe((function(t){200===t.status&&(e.toastr.success("Success!",t.message),e.getConsultationDetails())}))}},{key:"rescheduleAppointment",value:function(t){var e,A;console.log(t),this.appointmentDetails=t;var n=this.utils.dateToNgbDateStruct(null===(e=this.appointmentDetails)||void 0===e?void 0:e.appointment_date);this.form.get("appointmentDate").patchValue(n),this.form.get("appointmentTime").patchValue("".concat(null===(A=this.appointmentDetails)||void 0===A?void 0:A.appointment_time," - ").concat(this.appointmentDetails.appointment_end_time))}},{key:"onSubmit",value:function(){var t=this;this.isFeedback=!0,this.consultationService.addFeedbackToConsultation({consultation_id:this.consultationId,feedback_rating:this.currentRate,feedback_text:this.feedback}).subscribe((function(e){200===e.status&&(t.toastr.success("Feedback Submited!",e.message),t.getConsultationDetails(),t.isFeedback=!1)}))}},{key:"onCancelAppointment",value:function(){var t=this;this.consultationService.cancelAppointment(this.appointment.id).subscribe((function(e){200===e.status&&(t.toastr.success("Success!",e.message),t.ngOnInit())}))}},{key:"onSubmitRescheduleAppointment",value:function(){var t=this;console.log(this.form.value);var e=this.utils.format(this.form.value.appointmentDate);this.consultationService.rescheduleConsultationAppointment({appointment_date:e,appointment_time:this.selectedSlot.start,appointment_end_time:this.selectedSlot.end,appointment_type:this.appointment.appointment_type,consultation_id:this.consultationDetail.id,appointment_id:this.appointment.id}).subscribe((function(e){200===e.status&&(t.toastr.success("Success!",e.message),t.ngOnInit()),t.dismissModal(),t.thankYouModal()}))}},{key:"getConsultationInvoice",value:function(){var t=this;this.consultationService.getConsultationInvoice(this.consultationId).subscribe((function(e){200!==e.status||e.error||(console.log(e),t.invoiceDetail=e.data)}))}},{key:"downloadInvoice",value:function(){var t=this;this.consultationService.generateInvoice({consultationId:this.consultationId,userId:this.userData.id}).subscribe((function(e){t.utils.downLoadFile(e,"application/pdf","invoice-"+t.consultationDetail.id+".pdf")}))}},{key:"generateAnalysisReportPdf",value:function(){var t=this;this.consultationService.generateAnalysisReportPdf({consultationId:this.consultationDetail.id,userId:this.userData.id}).subscribe((function(e){t.utils.downLoadFile(e,"application/pdf","analysis-report"+t.consultationDetail.id+".pdf")}))}},{key:"loadMore",value:function(){this.notesStart+=3}},{key:"onLoadModal",value:function(){var t=this,e=this.activatedRoute.snapshot.queryParamMap.get("appointmentId");this.consultationDetail.appointments.map((function(A){A.id==e&&0==A.appointment_status&&(t.openModal2(),t.getAppointments())}))}},{key:"openModal2",value:function(){this.modalService.open(this.content,{centered:!0,backdrop:"static",keyboard:!1})}},{key:"thankYouModal",value:function(){this.modalService.open(this.thankyou)}},{key:"dismissModal",value:function(){this.modalService.dismissAll()}},{key:"timeFormat",value:function(t){var e=t.split(":");return this.utils.dateConversion(e)}},{key:"changeFormat",value:function(){var t,e=this;(null===(t=this.consultationDetail)||void 0===t?void 0:t.appointments).map((function(t){return console.log(t.appointment_time),t.appointment_time=e.timeFormat(t.appointment_time),t.appointment_end_time=e.timeFormat(t.appointment_end_time),t}))}},{key:"resetRescheduleAppointment",value:function(){this.selectAp
1pointmentDate="",this.selectAppointmentTime="",this.availableSlots=[],this.isSlotAvailable=!1}},{key:"getAppointementStatus",get:function(){var t,e=null===(t=this.consultationDetail.appointments)||void 0===t?void 0:t.length;if(e){var A=new Date(this.consultationDetail.appointments[e-1].appointment_date);return new Date<A}return!1}}]),t}()).\u0275fac=function(t){return new(t||OA)(pe.Nb(ge.a),pe.Nb(Be.a),pe.Nb(be.l),pe.Nb(r.a),pe.Nb(we.a),pe.Nb(n.i),pe.Nb(me.b),pe.Nb(ve.a),pe.Nb(ye.e),pe.Nb(r.f),pe.Nb(be.f))},OA.\u0275cmp=pe.Hb({type:OA,selectors:[["app-consultation-details"]],viewQuery:function(t,e){var A;1&t&&(pe.Pc(Oe,!0),pe.Pc(Re,!0),pe.Pc(Me,!0),pe.Pc(ze,!0)),2&t&&(pe.xc(A=pe.gc())&&(e.content=A.first),pe.xc(A=pe.gc())&&(e.thankyou=A.first),pe.xc(A=pe.gc())&&(e.container=A.first),pe.xc(A=pe.gc())&&(e.downloadCar=A.first))},decls:98,vars:43,consts:[[1,"page-consulation-main"],[1,"container"],[1,"row","mb-3"],[1,"col-lg-12"],[1,"head","mb-5","text-center"],[1,"fz-28"],[1,"text-gray-4f4f","mr-1","fw-l"],[1,"text-gray-4f4f","mr-1","fw-r","fw-m"],[1,"head","text-center",3,"ngClass"],[1,"text-red-aa182c","mb-3","fw-b","sub-heading-2"],["class","row mb-3",4,"ngIf","ngIfElse"],["notMobile",""],[1,"consultation-header"],[1,"align-items-center"],[1,"fw-b","fz-14","mr-3"],["class","fw-b fz-14 mr-3",4,"ngIf"],[3,"ngClass"],["class","d-flex justify-content-center mb-5",4,"ngIf"],[1,"d-flex","justify-content-center",3,"ngClass"],["class","d-inline-flex mx-4 cursor-pointer align-items-center",3,"click",4,"ngIf"],[4,"ngIf"],[1,"row","mb-5"],[1,"col-lg-12","p-0"],[1,"card","shadow-sm"],[1,"card-body","bg-white"],["downloadCar",""],[1,"col-lg-12","mb-5"],[1,"",3,"ngClass"],[1,"col-md-2","mb-3",3,"ngClass"],[1,"text-gray-4f4","fz-16","fw-b"],[1,"fz-16","mb-1",3,"ngClass"],[1,"col-md-12"],[3,"innerHTML"],[1,"image-box","mb-5"],[1,"fz-14","fw-b","text-uppercase","text-left"],[1,"row",3,"ngClass"],["class","col-md-3 mb-3 text-center",4,"ngFor","ngForOf"],["class","mb-3 fz-24 fw-r text-gray-4f4 text-center",4,"ngIf"],["class","col-md-4 product-box",4,"ngFor","ngForOf"],[1,"row"],["feedbackModal",""],["pdfModal",""],["scheduleAppointmentModal",""],["reScheduleConsultationModal",""],["content",""],["thankyou",""],[1,"col-lg-12","text-center"],[1,"fw-l","fz-32"],[1,"row","mb-3","align-items-center"],[1,"col-lg-4","fz-14","fw-b",3,"click"],[1,"fas","fa-chevron-left","mr-2","cursor-pointer"],[1,"cursor-pointer","text-uppercase"],[1,"col-lg-4","text-center"],[1,"col-lg-4"],[1,"d-flex","justify-content-center","mb-5"],["class","btn btn-dark mx-2 px-5 py-3 fw-m",3,"click",4,"ngIf"],["class","btn btn-dark mx-2 px-5 py-3 fw-m",3,"disabled",4,"ngIf"],[1,"btn","btn-dark","mx-2","px-5","py-3","fw-m",3,"click"],[1,"btn","btn-dark","mx-2","px-5","py-3","fw-m",3,"disabled"],[1,"d-inline-flex","mx-4","cursor-pointer","align-items-center",3,"click"],[1,"ic","md","ic-download-outline","mr-2",3,"ngClass"],[1,"text-uppercase","fw-m",3,"ngClass"],[1,"ic","md","ic-invoice-outline","mr-2",3,"ngClass"],[1,"ic","md","ic-feedback-outline","mr-2",3,"ngClass"],[1,"col-md-3","mb-3","text-center"],[1,"image"],["alt","",3,"src","src-fallback"],[1,"fw-r"],[1,"mb-3","fz-24","fw-r","text-gray-4f4","text-center"],[1,"col-md-4","product-box"],[1,"product-name","fw-r"],[1,"mb-0","mt-1"],[1,"col-md-12","mt-5"],[1,"d-flex","justify-content-between","mb-2"],[1,"fw-r","fz-26","text-left",2,"width","100%"],["class","col-md-12 px-0 mb-3",4,"ngIf"],["class","col-md-12 text-center",4,"ngIf"],[1,"col-md-12","px-0","mb-3"],["class","card main mb-2 px-3 py-3 rounded-0",4,"ngFor","ngForOf"],[1,"card","main","mb-2","px-3","py-3","rounded-0"],[1,"card-header","bg-white","d-flex","justify-content-between"],[1,"d-block"],[1,"fz-16","text-gray-4f4","fw-m"],["class","fz-14",4,"ngIf"],[1,"d-flex"],[1,"d-block","mx-3"],[1,"text-gray-4f4","fz-16","fw-m"],[1,"fz-14","mb-1","text-capitalize"],[1,"vr"],[1,"fz-14","mb-1"],[1,"card-body"],[1,"fz-14"],[1,"col-md-12","text-center"],["href","javascript:void(0)",1,"text-primary","btn-load-more","fw-r","mt-4",3,"click"],[1,"head","row","text-center","justify-content-center","align-items-center","mb-4"],[1,"col-lg-12","mb-3"],[1,"mb-0","fz-24"],[1,"fz-14","mb-3"],["readonly","true",3,"rate","max"],[1,"star"],[1,"col-lg-12","text-center","mb-3"],[1,"mb-0","fz-24","mb-3"],["class","list",4,"ngIf","ngIfElse"],["webContent",""],[1,"list"],["class","row py-4 border-top border-bottom",4,"ngFor","ngForOf"],[1,"row","py-4","border-top","border-bottom"],[1,"fz-20"],[1,"font-weight-bold"],[1,"ml-1"],[1,"btn","btn-primary","px-5","fz-14","text-uppercase","mb-2",3,"click"],["class","btn btn-primary px-5 fz-14 text-uppercase",3,"click",4,"ngIf"],[1,"btn","btn-primary","px-5","fz-14","text-uppercase",3,"click"],[1,"table"],["scope","col"],[4,"ngFor","ngForOf"],[1,"text-capitalize"],[1,"text-capitalize","text-right"],["class","btn btn-primary px-5 fz-14",3,"click",4,"ngIf"],["class","btn btn-primary px-5 fz-14 ml-2",3,"click",4,"ngIf"],[1,"btn","btn-primary","px-5","fz-14",3,"click"],[1,"btn","btn-primary","px-5","fz-14","ml-2",3,"click"],[1,"modal-header","border-0"],["
1id","modal-basic-title",1,"modal-title","fz-20","fw-b"],[1,"close-modal","cursor-pointer",3,"click"],[1,"ic","ic-cross-modal"],[1,"modal-body","py-3","px-4"],[1,"form-group","mb-5"],[1,"text-uppercase"],["id","exampleFormControlTextarea1","rows","4","maxlength","500","placeholder","Write your detailed feedback here",1,"form-control","feedback",3,"ngModel","ngModelChange"],[1,"float-right","fz-14","mt-1"],[1,"form-group","text-left","mb-3"],[1,"mb-0","fz-16","fw-m"],[3,"rate","max","rateChange"],[1,"d-flex","align-items-end","justify-content-end"],[1,"btn","btn-dark","px-5","py-3","fw-m","text-uppercase",3,"click"],[3,"invoiceData","consultationId"],["id","modal-basic-title",1,"modal-title","fz-16","fw-b"],[1,"modal-body"],[1,"input-group","mb-5"],["ngbDatepicker","","placeholder","Select date","aria-describedby","basic-addon2","format","dd-mm-yyy","onkeydown","return false",1,"form-control","custom-datepicker","border-right-0","border-left-0",3,"minDate","ngModel","ngModelOptions","ngModelChange"],["d","ngbDatepicker"],[1,"input-group-append"],["id","basic-addon2",1,"input-group-text","bg-white","rounded-0"],[1,"ic","md","ic-calender","cursor-ponter",3,"click"],[1,"input-group","mb-3","mt-3"],["placeholder","Select time","aria-describedby","basic-addon2","onkeydown","return false",1,"form-control","border-right-0","border-left-0",3,"ngModel","ngModelChange"],[1,"ic","md","ic-clock","cursor-ponter"],["class","form-group mt-2",4,"ngIf"],[1,"text-right"],["type","submit",1,"btn","btn-primary","px-5","py-3","mt-4",3,"disabled","click"],[1,"form-group","mt-2"],[1,"time-slot"],["class","time-slot-item",4,"ngIf"],[1,"time-slot-item"],["type","checkbox",3,"value","checked","change"],[1,"checkmark"],[2,"height","18px"],[1,"fw-m","fz-20","text-center","px-5"],[1,"modal-body","pb-5","px-4"],[3,"formGroup"],[1,"form-group","mb-20"],[1,"fz-16","text-uppercase"],[1,"input-group","mb-3"],["ngbDatepicker","","placeholder","Select","aria-describedby","basic-addon2","formControlName","appointmentDate",1,"form-control","custom-datepicker","border-right-0","border-left-0",3,"minDate","ngModelChange"],[1,"ic","ic-calender","cursor-ponter",3,"click"],["formControlName","appointmentTime",1,"form-control","border-right-0","border-left-0"],[1,"ic","ic-clock-black","cursor-ponter"],["class","form-group",4,"ngIf"],[1,"d-flex","justify-content-center","w-100","mt-5","ml-2"],[1,"btn","btn-primary","py-3","fw-r","mr-4","px-4",3,"click"],[1,"btn","btn-primary","py-3","fw-r","mr-4",3,"click"],[1,"form-group"],[1,"item"],[1,"checkmark","fz-10"],[1,"modal-header"],[1,"modal-body","bg-white"],[1,"appointment_detail_div"],[1,"fw-m","ml-2"],[1,"d-flex","justify-content-center","w-100","mt-5","ml-4"],["type","submit",1,"btn","btn-primary","py-3","fw-r","mr-4","px-4",3,"click"],[1,"modal-body","text-center","py-5","px-4"],[1,"image-container"],["src","assets/images/common/success.png","width","70","height","70","alt",""],[1,"fz-24","text-center","font-weight-bold","mt-4"],["type","submit",1,"btn","btn-dark","px-5","py-3","mt-4",3,"click"]],template:function(t,e){if(1&t&&(pe.Tb(0,"div",0),pe.Tb(1,"div",1),pe.Tb(2,"div",2),pe.Tb(3,"div",3),pe.Tb(4,"div",4),pe.Tb(5,"h1",5),pe.Tb(6,"span",6),pe.Kc(7,"Hello again,"),pe.Sb(),pe.Tb(8,"span",7),pe.Kc(9),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(10,"div",8),pe.Tb(11,"h3",9),pe.Kc(12,"MY ACCOUNT"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(13,je,4,0,"div",10),pe.Ic(14,Ve,9,0,"ng-template",null,11,pe.Jc),pe.Ob(16,"hr"),pe.Tb(17,"div",12),pe.Tb(18,"div",13),pe.Tb(19,"span",14),pe.Kc(20,"Date:"),pe.Sb(),pe.Tb(21,"span"),pe.Kc(22),pe.ic(23,"amDateFormat"),pe.Sb(),pe.Sb(),pe.Tb(24,"div",13),pe.Tb(25,"span",14),pe.Kc(26,"Analysis ID:"),pe.Sb(),pe.Tb(27,"span"),pe.Kc(28),pe.Sb(),pe.Sb(),pe.Tb(29,"div",13),pe.Ic(30,qe,2,0,"span",15),pe.Tb(31,"span",16),pe.Kc(32),pe.ic(33,"consultationStatus"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(34,Ze,6,5,"div",17),pe.Ob(35,"hr"),pe.Tb(36,"div",18),pe.Ic(37,$e,4,2,"div",19),pe.Ic(38,tA,4,2,"div",19),pe.Ic(39,eA,4,2,"div",19),pe.Ic(40,nA,2,1,"ng-container",20),pe.
1Sb(),pe.Tb(41,"div",21),pe.Tb(42,"div",22),pe.Tb(43,"div",23),pe.Tb(44,"div",24,25),pe.Tb(46,"div",2),pe.Tb(47,"div",26),pe.Tb(48,"h2",27),pe.Kc(49," Root Cause Scalp Analysis Report (RCSAR) "),pe.Sb(),pe.Sb(),pe.Tb(50,"div",28),pe.Tb(51,"h3",29),pe.Kc(52,"Name:"),pe.Sb(),pe.Tb(53,"p",30),pe.Kc(54),pe.Sb(),pe.Sb(),pe.Tb(55,"div",28),pe.Tb(56,"h3",29),pe.Kc(57,"Age:"),pe.Sb(),pe.Tb(58,"p",30),pe.Kc(59),pe.Sb(),pe.Sb(),pe.Tb(60,"div",28),pe.Tb(61,"h3",29),pe.Kc(62,"Gender:"),pe.Sb(),pe.Tb(63,"p",30),pe.Kc(64),pe.Sb(),pe.Sb(),pe.Tb(65,"div",28),pe.Tb(66,"h3",29),pe.Kc(67,"Email:"),pe.Sb(),pe.Tb(68,"p",30),pe.Kc(69),pe.Sb(),pe.Sb(),pe.Ic(70,rA,12,9,"ng-container",20),pe.Sb(),pe.Tb(71,"div",2),pe.Tb(72,"div",31),pe.Ob(73,"p",32),pe.Sb(),pe.Sb(),pe.Tb(74,"div",33),pe.Tb(75,"h1",34),pe.Kc(76,"Images"),pe.Sb(),pe.Tb(77,"div",35),pe.Ic(78,iA,6,5,"div",36),pe.Sb(),pe.Sb(),pe.Ic(79,oA,2,0,"h1",37),pe.Tb(80,"div",35),pe.Ic(81,aA,6,3,"div",38),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(82,fA,7,2,"ng-container",20),pe.Sb(),pe.Ic(83,pA,11,3,"ng-container",20),pe.Tb(84,"div",39),pe.Ic(85,CA,10,2,"ng-container",20),pe.
1Sb(),pe.Sb(),pe.Ic(86,UA,20,4,"ng-template",null,40,pe.Jc),pe.Ic(88,FA,1,2,"ng-template",null,41,pe.Jc),pe.Ic(90,IA,22,9,"ng-template",null,42,pe.Jc),pe.Ic(92,PA,30,4,"ng-template",null,43,pe.Jc),pe.Sb(),pe.Ic(94,DA,31,6,"ng-template",null,44,pe.Jc),pe.Ic(96,KA,8,0,"ng-template",null,45,pe.Jc)),2&t){var A=pe.yc(15);pe.zb(9),pe.Lc(null==e.userData?null:e.userData.fname),pe.zb(1),pe.oc("ngClass",e.isMobile?"mb-3":"mb-5"),pe.zb(3),pe.oc("ngIf",e.isMobile)("ngIfElse",A),pe.zb(9),pe.Lc(pe.kc(23,38,null==e.consultationDetail?null:e.consultationDetail.consultant_created_at,"LL")),pe.zb(6),pe.Lc(null==e.consultationDetail?null:e.consultationDetail.id),pe.zb(2),pe.oc("ngIf",!e.isMobile),pe.zb(1),pe.oc("ngClass",e.isMobile?"fw-b fz-14":""),pe.zb(1),pe.Lc(pe.jc(33,41,null==e.consultationDetail?null:e.consultationDetail.consultant_status)),pe.zb(2),pe.oc("ngIf",2!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)&&1!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)),pe.zb(2),pe.oc("ngClass",e.isMobile?"mt-4 mb-4":"mt-5 mb-5"),pe.zb(1),pe.oc("ngIf",2!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)&&1!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)),pe.zb(1),pe.oc("ngIf",!e.isMobile),pe.zb(1),pe.oc("ngIf",e.isMobile),pe.zb(1),pe.oc("ngIf",2!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)&&1!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)),pe.zb(8),pe.oc("ngClass",e.isMobile?"fz-20 text-center fw-r":"fz-28 fw-r text-center"),pe.zb(2),pe.oc("ngClass",e.isMobile?"d-inline-flex":""),pe.zb(3),pe.oc("ngClass",e.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",null==e.consultationDetail?null:e.consultationDetail.name," "),pe.zb(1),pe.oc("ngClass",e.isMobile?"d-inline-flex":""),pe.zb(3),pe.oc("ngClass",e.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",null==e.consultationDetail?null:e.consultationDetail.age," "),pe.zb(1),pe.oc("ngClass",e.isMobile?"d-inline-flex":""),pe.zb(3),pe.oc("ngClass",e.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",null==e.consultationDetail?null:e.consultationDetail.gender," "),pe.zb(1),pe.oc("ngClass",e.isMobile?"d-inline-flex":"p-0"),pe.zb(3),pe.oc("ngClass",e.isMobile?"ml-2 fw-r":"fw-r"),pe.zb(1),pe.Mc(" ",null==e.consultationDetail?null:e.consultationDetail.email," "),pe.zb(1),pe.oc("ngIf",2!==(null==e.consultationDetail?null:e.consultationDetail.consultant_status)),pe.zb(3),pe.oc("innerHTML",null==e.consultationDetail?null:e.consultationDetail.car_report_response,pe.Cc),pe.zb(4),pe.oc("ngClass",e.isMobile?"text-center":""),pe.zb(1),pe.oc("ngForOf",null==e.consultationDetail?null:e.consultationDetail.files),pe.zb(1),pe.oc("ngIf",(null==e.consultationDetail||null==e.consultationDetail.products?null:e.consultationDetail.products.length)>0),pe.zb(1),pe.oc("ngClass",e.isMobile?"text-center justify-content-center":"mx-5"),pe.zb(1),pe.oc("ngForOf",null==e.consultationDetail?null:e.consultationDetail.products),pe.zb(1),pe.oc("ngIf",(null==e.consultationDetail?null:e.consultationDetail.notes.length)>0),pe.zb(1),pe.oc("ngIf",(null==e.consultationDetail?null:e.consultationDetail.feedback_rating)>0),pe.zb(2),pe.oc("ngIf",(null==e.consultationDetail||null==e.consultationDetail.appointments?null:e.consultationDetail.appointments.length)>0)}},directives:[n.k,n.m,n.l,Ce.a,be.v,ye.b,ye.l,ye.o,ye.q,He,be.k,ye.y,ye.p,ye.j,ye.h],pipes:[ke.a,Pe,De,n.s,n.e,Ue,Ke],styles:[".modal-header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{width:100%;text-align:center}.appointment_detail_div[_ngcontent-%COMP%]{line-height:12px;padding:2px 16px;margin-top:10px;width:100%}.modal-body[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:large}"]}),OA),MA=A("mrSG"),zA=A("8GXW"),jA=A("/4yM"),VA=["pendingConsultationModal"];function qA(t,e){1&t&&(pe.Tb(0,"p",25),pe.Kc(1," Your analysis history of your scalp type and scalp concern "),pe.Sb())}function GA(t,e){1&t&&(pe.Tb(0,"p",26),pe.Kc(1," No previous analysis , Schedule a one now "),pe.Sb())}function XA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"a",41),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit,e=pe.hc(3),n=pe.yc(39);return e.getPreviewImages(t,n)})),pe.Kc(1,"View images"),pe.Sb()}}function JA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",42),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).generateAnalysisReportPdf(t.id)})),pe.Kc(1," Download SAR "),pe.Sb()}}function WA(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",43),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).onCompleteCar(t)})),pe.Kc(1," Complete Scalp Analysis "),pe.Sb()}}var YA=function(t){return[t]};function ZA(t,e){if(1&t&&(pe.Tb(0,"button",44),pe.Kc(1," View Details "),pe.Sb()),2&t){var A=pe.hc().$implicit;pe.oc("routerLink",pe.tc(1,YA,"/analysis/details/"+A.id))}}function $A(t,e){if(1&t&&(pe.Tb(0,"div",30),pe.Tb(1,"div",31),pe.Tb(2,"p",32),pe.Kc(3),pe.ic(4,"consultationStatus"),pe.Sb(),pe.Sb(),pe.Tb(5,"div",31),pe.Ic(6,XA,2,0,"a",33),pe.Sb(),pe.Tb(7,"div",34),pe.Tb(8,"p",35),pe.Tb(9,"span",36),pe.Kc(10,"Analysis ID:"),pe.Sb(),pe.Tb(11,"span",37),pe.Kc(12),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(13,"div",34),pe.Tb(14,"p",35),pe.Tb(15,"span",36),pe.Kc(16,"Date:"),pe.Sb(),pe.Tb(17,"span",37),pe.Kc(18),pe.ic(19,"amDateFormat"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(20,"div",34),pe.Ic(21,JA,2,0,"button",38),pe.Ic(22,WA,2,0,"button",39),pe.Ic(23,ZA,2,3,"button",40),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(3),pe.Mc(" ",pe.jc(4,7,null==A?null:A.consultant_status)," "),pe.zb(3),pe.oc("ngIf",(null==A||null==A.files?null:A.files.length)>0),pe.zb(6),pe.Lc(null==A?null:A.id),pe.zb(6),pe.Lc(pe.kc(19,9,null==A?null:A.consultant_created_at,"LL")),pe.zb(3),pe.oc("ngIf",3===(null==A?null:A.consultant_status)),pe.zb(1),pe.oc("ngIf",0===(null==A?null:A.consultant_status)||4===(null==A?null:A.consultant_status)||5===(null==A?null:A.consultant_status)),pe.zb(1),pe.oc("ngIf",0!==(null==A?null:A.consultant_status)&&4!==(null==A?null:A.consultant_status)&&5!==(null==A?null:A.consultant_status))}}function tn(t,e){if(1&t&&(pe.Tb(0,"div",28),pe.Ic(1,$A,24,12,"div",29),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(1),pe.oc("ngForOf",A.consultationList)}}function en(t,e){if(1&t){var A=pe.Ub();pe.Rb(0),pe.Tb(1,"span",53),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit,e=pe.hc(3),n=pe.yc(39);return e.getPreviewImages(t,n)})),pe.Kc(2,"View Images"),pe.Sb(),pe.Qb()}}function An(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",54),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).generateAnalysisReportPdf(t.id)})),pe.Kc(1," Download SAR "),pe.Sb()}}function nn(t,e){if(1&t&&(pe.Tb(0,"button",55),pe.Kc(1," View Details "),pe.Sb()),2&t){var A=pe.hc().$implicit;pe.oc("routerLink",pe.tc(1,YA,"/analysis/details/"+A.id))}}function rn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",56),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).onCompleteCar(t)})),pe.Kc(1," Complete Scalp Analysis "),pe.Sb()}}function on(t,e){if(1&t&&(pe.Tb(0,"tr"),pe.Tb(1,"td"),pe.Kc(2),pe.ic(3,"amDateFormat"),pe.Sb(),pe.Tb(4,"td"),pe.Kc(5),pe.Sb(),pe.Tb(6,"td",48),pe.Kc(7),pe.ic(8,"consultationStatus"),pe.Sb(),pe.Tb(9,"td",49),pe.Ic(10,en,3,0,"ng-container",13),pe.Ic(11,An,2,0,"button",50),pe.Ic(12,nn,2,3,"button",51),pe.Ic(13,rn,2,0,"button",52),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(2),pe.Mc(" ",pe.kc(3,7,null==A?null:A.consultant_created_at,"LL")," "),pe.zb(3),pe.Lc(null==A?null:A.id),pe.zb(2),pe.Mc(" ",pe.jc(8,10,null==A?null:A.consultant_status)," "),pe.zb(3),pe.oc("ngIf",(null==A||null==A.files?null:A.files.length)>0),pe.zb(1),pe.oc("ngIf",3===(null==A?null:A.consultant_status)),pe.zb(1),pe.oc("ngIf",0!==(null==A?null:A.consultant_status)&&4!==(null==A?null:A.consultant_status)&&5!==(null==A?null:A.consultant_status)),pe.zb(1),pe.oc("ngIf",0===(null==A?null:A.consultant_status)||4===(null==A?null:A.consultant_status)||5===(null==A?null:A.consultant_status))}}function an(t,e){if(1&t&&(pe.Tb(0,"table",45),pe.Tb(1,"thead"),pe.Tb(2,"tr"),pe.Tb(3,"th",46),pe.Kc(4,"DATE"),pe.Sb(),pe.Tb(5,"th",46),pe.Kc(6,"Analysis ID"),pe.Sb(),pe.Tb(7,"th",46),pe.Kc(8,"STATUS"),pe.Sb(),pe.Ob(9,"th",46),pe.Ob(10,"th",46),pe.Ob(11,"th",46),pe.Sb(),pe.Sb(),pe.Tb(12,"tbody"),pe.Ic(13,on,14,12,"tr",47),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(13),pe.oc("ngForOf",A.consultationList)}}function sn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",57),pe.Tb(1,"a",58),pe.fc("click",(function(){return pe.Bc(A),pe.hc(2).loadMore()})),pe.Kc(2," Load More "),pe.Sb(),pe.Sb()}}function cn(t,e){if(1&t&&(pe.Rb(0),pe.Tb(1,"div",18),pe.Ic(2,tn,2,1,"div",19),pe.Ic(3,an,14,1,"ng-template",null,20,pe.Jc),pe.Ic(5,sn,3,0,"div",27),pe.Sb(),pe.Qb()),2&t){var A=pe.yc(4),n=pe.hc();pe.zb(2),pe.oc("ngIf",n.isMobile)("ngIfElse",A),pe.zb(3),pe.oc("ngIf",n.consultationCount>n.consultationList.length)}}function ln(t,e){1&t&&(pe.Tb(0,"p",59),pe.Kc(1," Your all appointments scheduleded "),pe.Sb())}function un(t,e){1&t&&(pe.Tb(0,"p",60),pe.Kc(1,"No Appointments scheduled"),pe.Sb())}function hn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",63),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(2).confirmAppointment(null==t?null:t.id)})),pe.Kc(1," CONFIRM "),pe.Sb()}}function fn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",56),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit,e=pe.hc(2),n=pe.yc(37);return e.openModal(n),e.onChangeAppointment(t)})),pe.Kc(1," change/cancel "),pe.Sb()}}function dn(t,e){if(1&t&&(pe.Tb(0,"div",30),pe.Tb(1,"div",34),pe.Tb(2,"p",61),pe.Kc(3,"Initial Meeting"),pe.Sb(),pe.Sb(),pe.Tb(4,"div",34),pe.Tb(5,"p",61),pe.Tb(6,"span",36),pe.Kc(7,"Analysis ID:"),pe.Sb(),pe.Tb(8,"span",37),pe.Kc(9),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(10,"div",34),pe.Tb(11,"p",61),pe.Tb(12,"
1span",36),pe.Kc(13,"Date:"),pe.Sb(),pe.Tb(14,"span",37),pe.Kc(15),pe.ic(16,"amDateFormat"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(17,"div",34),pe.Tb(18,"p",61),pe.Tb(19,"span",36),pe.Kc(20,"Time:"),pe.Sb(),pe.Tb(21,"span",37),pe.Kc(22),pe.ic(23,"timeConversion"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(24,"div",34),pe.Tb(25,"p",61),pe.Tb(26,"span",36),pe.Kc(27,"Time Slot:"),pe.Sb(),pe.Tb(28,"span",37),pe.Kc(29),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(30,"div",34),pe.Ic(31,hn,2,0,"button",62),pe.Ic(32,fn,2,0,"button",52),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(9),pe.Lc(null==A?null:A.consultation_id),pe.zb(6),pe.Lc(pe.kc(16,6,null==A?null:A.appointment_date,"LL")),pe.zb(7),pe.Lc(pe.jc(23,9,null==A?null:A.appointment_time)),pe.zb(7),pe.Lc(null==A?null:A.appointment_duration),pe.zb(2),pe.oc("ngIf",0==(null==A?null:A.appointment_status)),pe.zb(1),pe.oc("ngIf",null==A?null:A.status)}}function pn(t,e){if(1&t&&(pe.Tb(0,"div",28),pe.Ic(1,dn,33,11,"div",29),pe.ic(2,"slice"),pe.Sb()),2&t){var A=pe.hc();pe.zb(1),pe.oc("ngForOf",pe.lc(2,1,A.scheduledConsultation,0,A.showData))}}function gn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",56),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).confirmAppointment(null==t?null:t.id)})),pe.Kc(1," CONFIRM "),pe.Sb()}}function Bn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"button",56),pe.fc("click",(function(){pe.Bc(A);var t=pe.hc().$implicit,e=pe.hc(3),n=pe.yc(37);return e.openModal(n),e.onChangeAppointment(t)})),pe.Kc(1," CHANGE/CANCEL "),pe.Sb()}}function bn(t,e){if(1&t&&(pe.Tb(0,"tr"),pe.Tb(1,"td"),pe.Kc(2),pe.ic(3,"amDateFormat"),pe.Sb(),pe.Tb(4,"td"),pe.Kc(5),pe.Sb(),pe.Tb(6,"td"),pe.Kc(7),pe.ic(8,"timeConversion"),pe.Sb(),pe.Tb(9,"td"),pe.Kc(10),pe.ic(11,"appointmentType"),pe.Sb(),pe.Tb(12,"td",48),pe.Kc(13),pe.Sb(),pe.Tb(14,"td",65),pe.Ic(15,gn,2,0,"button",52),pe.Sb(),pe.Tb(16,"td",65),pe.Ic(17,Bn,2,0,"button",52),pe.Sb(),pe.Sb()),2&t){var A=e.$implicit;pe.zb(2),pe.Lc(pe.kc(3,7,null==A?null:A.appointment_date,"LL")),pe.zb(3),pe.Lc(null==A?null:A.consultation_id),pe.zb(2),pe.Lc(pe.jc(8,10,null==A?null:A.appointment_time)),pe.zb(3),pe.Lc(pe.jc(11,12,null==A?null:A.appointment_type)),pe.zb(3),pe.Mc(" ",null==A?null:A.appointment_duration," "),pe.zb(2),pe.oc("ngIf",0==(null==A?null:A.appointment_status)),pe.zb(2),pe.oc("ngIf",null==A?null:A.status)}}function wn(t,e){if(1&t&&(pe.Tb(0,"table",45),pe.Tb(1,"thead"),pe.Tb(2,"tr"),pe.Tb(3,"th",46),pe.Kc(4,"DATE"),pe.Sb(),pe.Tb(5,"th",46),pe.Kc(6,"Analysis ID"),pe.Sb(),pe.Tb(7,"th",46),pe.Kc(8,"TIME"),pe.Sb(),pe.Tb(9,"th",46),pe.Kc(10,"TYPE"),pe.Sb(),pe.Tb(11,"th",46),pe.Kc(12,"TIME SLOT"),pe.Sb(),pe.Ob(13,"th",46),pe.Ob(14,"th",46),pe.Sb(),pe.Sb(),pe.Tb(15,"tbody"),pe.Ic(16,bn,18,14,"tr",47),pe.ic(17,"slice"),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(16),pe.oc("ngForOf",pe.lc(17,1,A.scheduledConsultation,0,A.showData))}}function mn(t,e){if(1&t&&pe.Ic(0,wn,18,5,"table",64),2&t){var A=pe.hc();pe.oc("ngIf",(null==A.scheduledConsultation?null:A.scheduledConsultation.length)>0)}}function vn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",66),pe.Tb(1,"a",67),pe.fc("click",(function(){return pe.Bc(A),pe.hc().loadScheduleMore()})),pe.Kc(2,"Load More"),pe.Sb(),pe.Sb()}}function yn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"li",92),pe.Tb(1,"label",93),pe.Tb(2,"input",94),pe.fc("change",(function(){pe.Bc(A);var t=pe.hc().$implicit;return pe.hc(3).onSelectTimeSlot(t)})),pe.Sb(),pe.Tb(3,"span",95),pe.Tb(4,"span",96),pe.Kc(5),pe.ic(6,"timeConversion"),pe.ic(7,"timeConversion"),pe.Sb(),pe.Tb(8,"span",97),pe.Kc(9,"(EST)"),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc().$implicit,r=pe.hc(3);pe.zb(2),pe.oc("value",n)("checked",n===r.selectedSlot),pe.zb(3),pe.Nc("",pe.jc(6,4,null==n?null:n.start)," - ",pe.jc(7,6,null==n?null:n.end)," ")}}function Cn(t,e){if(1&t&&(pe.Rb(0),pe.Ic(1,yn,10,8,"li",91),pe.Qb()),2&t){var A=e.$implicit;pe.zb(1),pe.oc("ngIf",!A.is_booked)}}function Qn(t,e){if(1&t&&(pe.Tb(0,"div",89),pe.Tb(1,"ul",90),pe.Ic(2,Cn,2,1,"ng-container",47),pe.Sb(),pe.Sb()),2&t){var A=pe.hc(2);pe.zb(2),pe.oc("ngForOf",A.availableSlots)}}function Un(t,e){1&t&&(pe.Tb(0,"div",98),pe.Tb(1,"p",99),pe.Kc(2," We apologize there are no available times on this day, please choose another day. "),pe.Sb(),pe.Sb())}function Fn(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",68),pe.Tb(1,"h4",69),pe.Kc(2," RE-SCHEDULE APPOINTMENT "),pe.Sb(),pe.Tb(3,"span",70),pe.fc("click",(function(){return pe.Bc(A),pe.hc().dismissModal()})),pe.Ob(4,"i",71),pe.Sb(),pe.Sb(),pe.Tb(5,"div",72),pe.Tb(6,"form",73),pe.Tb(7,"div",74),pe.Tb(8,"label"),pe.Kc(9,"Select available date"),pe.Sb(),pe.Tb(10,"div",75),pe.Tb(11,"input",76,77),pe.fc("ngModelChange",(function(){return pe.Bc(A),pe.hc().getConsultationSlots()})),pe.Sb(),pe.Tb(13,"div",78),pe.Tb(14,"span",79),pe.Tb(15,"i",80),pe.fc("click",(function(){return pe.Bc(A),pe.
1yc(12).toggle()})),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(16,"div",81),pe.Tb(17,"label"),pe.Kc(18,"Select available time"),pe.Sb(),pe.Tb(19,"div",75),pe.Ob(20,"input",82),pe.Tb(21,"div",78),pe.Tb(22,"span",79),pe.Ob(23,"i",83),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(24,Qn,3,1,"div",84),pe.Ic(25,Un,3,0,"div",85),pe.Sb(),pe.Tb(26,"div",86),pe.Tb(27,"button",87),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc().onCancelAppointment(),t.dismiss()})),pe.Kc(28," Cancel Appointment "),pe.Sb(),pe.Tb(29,"button",88),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit;return pe.hc().onSubmit(),t.dismiss()})),pe.Kc(30," Re-Schedule "),pe.Sb(),pe.Sb(),pe.Sb()}if(2&t){var n=pe.hc();pe.zb(6),pe.oc("formGroup",n.form),pe.zb(5),pe.oc("minDate",n.minDate),pe.zb(13),pe.oc("ngIf",(null==n.availableSlots?null:n.availableSlots.length)>0),pe.zb(1),pe.oc("ngIf",0===(null==n.availableSlots?null:n.availableSlots.length)&&n.isSlotAvailable)}}function Nn(t,e){if(1&t&&pe.Ob(0,"app-image-preview",100),2&t){var A=pe.hc();pe.oc("images",A.previewImage)}}function En(t,e){if(1&t){var A=pe.Ub();pe.Tb(0,"div",68),pe.Tb(1,"span",70),pe.fc("click",(function(){return pe.Bc(A),pe.hc().dismissModal()})),pe.Ob(2,"i",71),pe.Sb(),pe.Sb(),pe.Tb(3,"div",101),pe.Tb(4,"h3"),pe.Kc(5," Hello & Welcome Back! Please note that you have a pending analysis. You can either choose to complete your current analysis or click on to start a new analysis. "),pe.Sb(),pe.Tb(6,"div",102),pe.Tb(7,"button",87),pe.fc("click",(function(){pe.Bc(A);var t=e.$implicit,n=pe.hc();return n.onCompleteCar(n.pendingConsultation),t.dismiss()})),pe.Kc(8," Complete Analysis "),pe.Sb(),pe.Tb(9,"button",88),pe.fc("click",(function(){return pe.Bc(A),pe.hc().startMyAnalysis()}))("click",(function(){return e.$implicit.dismiss()})),pe.Kc(10," New Analysis "),pe.Sb(),pe.Sb(),pe.Sb()}}var _n,Sn,Ln,In=[{path:"",component:(_n=function(){function t(e,A,n,r,i,o,a,s,c,l){_classCallCheck(this,t),this.sharedService=e,this.consultationService=A,this.modalService=n,this.utils=r,this.authService=i,this.router=o,this.formBuilder=a,this.toastr=s,this.questionaireService=c,this.config=l,this.consultationList=[],this.scheduledConsultation=[],this.consultImages=new Array(6),this.consultationPageNumber=1,this.showData=3,this.isMobile=!1,this.previewImage=[],this.scheduleConsultationPage=0,this.isSlotAvailable=!1;var u=new Date;this.config.minDate={year:u.getFullYear(),month:u.getMonth()+1,day:u.getDate()},this.config.outsideDays="hidden",this.minDate={year:u.getFullYear(),month:u.getMonth()+1,day:u.getDate()}}return _createClass(t,[{key:"ngOnInit",value:function(){this.isMobile=this.utils.checkMobile(),this.getUserData(),console.log(this.isMobile),this.headerOptions={isBackButton:!1,isTitle:!1,isleftTitle:!1,isNewConsultation:!0,isScheduleButton:!1,isProfileIcon:!0,isLogoutIcon:!0},this.sharedService.setHeaderOption(this.headerOptions),this.consultationList=[],this.scheduledConsultation=[],this.getConsultationList(),this.getScheduledConsultation(),this.initiallizeForm()}},{key:"getUserData",value:function(){var t=this;this.authService.getProfileData().subscribe((function(e){200===e.status&&(t.userData=e.data)}))}},{key:"initiallizeForm",value:function(){this.form=this.formBuilder.group({appointmentDate:[""],appointmentTime:[""]})}},{key:"getConsultationList",value:function(){var t=this;this.consultationService.getConsulationList(this.consultationPageNumber,0).subscribe((function(e){var A;200!==e.status||e.error||(t.consultationCount=e.data.count,(A=t.consultationList).push.apply(A,_toConsumableArray(e.data.consultation_detail)),console.log(t.consultationList))}))}},{key:"getScheduledConsultation",value:function(){var t=this;this.consultationService.getScheduledConsultation({page:this.scheduleConsultationPage,no_of_record:3}).subscribe((function(e){if(200==e.status&&!e.error){var A;t.scheduledConsultationCount=e.data.count;var n=e.data.shedule_appointment;n=n.map((function(e){return t.mapScheduleAppointments(e)})),(A=t.scheduledConsultation).push.apply(A,_toConsumableArray(n))}}))}},{key:"mapScheduleAppointments",value:function(t){var e=new Date("01/01/2007 "+t.appointment_time),A=new Date("01/01/2007 "+t.appointment_end_time).getTime()-e.getTime(),n=Math.floor(A/1e3/60);t.appointment_duration=n+" Min.";var r=new Date,i=new Date(t.appointment_date);return t.status=r<i?1:0,t}},{key:"loadMore",value:function(){this.consultationPageNumber++,this.getConsultationList()}},{key:"loadScheduleMore",value:function(){this.scheduleConsultationPage++,this.get
1ScheduledConsultation()}},{key:"openModal",value:function(t){this.modalService.open(t,{centered:!0,size:"lg"})}},{key:"getPreviewImages",value:function(t,e){this.previewImage=t.files.map((function(t){return t.file_url})),this.modalService.open(e,{centered:!0,size:"md"})}},{key:"onCompleteCar",value:function(t){var e=this;t.next_question_id?this.questionaireService.getQuestionDetailById(null==t?void 0:t.next_question_id).subscribe((function(A){var n;if(200===A.status&&!A.error){console.log(A);var r=A.data;(null===(n=null==r?void 0:r.ques)||void 0===n?void 0:n.video)?e.router.navigate(["/questionaire-v2/main/video/"],{queryParams:{videoLevel:"",quesId:r.ques.id,consultationId:null==t?void 0:t.id}}):r.option.some((function(t){return t.option_image}))?e.router.navigate(["/questionaire-v2/main/personalized"],{queryParams:{quesId:r.ques.id,consultationId:null==t?void 0:t.id}}):null===r.ques?e.router.navigate(["/questionaire-v2/main/upload-image-left"],{queryParams:{consultationId:null==t?void 0:t.id}}):e.router.navigate(["/questionaire-v2/main/form"],{queryParams:{quesId:r.ques.id,consultationId:null==t?void 0:t.id}})}})):4===t.consultant_status?this.router.navigate(["/checkout"],{queryParams:{consultationId:null==t?void 0:t.id,consultationType:5,appointmentId:0}}):this.router.navigate(["/questionaire-v2/main/upload-image-left"],{queryParams:{consultationId:null==t?void 0:t.id,previousQuestionId:0}})}},{key:"dismissModal",value:function(){this.modalService.dismissAll()}},{key:"onChangeAppointment",value:function(t){var e;this.appointment=t;var A=this.utils.dateToNgbDateStruct(null===(e=this.appointment)||void 0===e?void 0:e.appointment_date);this.form.get("appointmentDate").patchValue(A),console.log(this.appointment),this.getConsultationSlots(),this.changeFormat()}},{key:"onSelectTimeSlot",value:function(t){var e,A;this.selectedSlot=t,console.log("in here");var n=this.timeFormat(null===(e=this.selectedSlot)||void 0===e?void 0:e.start),r=this.timeFormat(null===(A=this.selectedSlot)||void 0===A?void 0:A.end);this.form.get("appointmentTime").patchValue("".concat(n," - ").concat(r))}},{key:"getConsultationSlots",value:function(){var t,e=this,A={appointment_date:this.utils.format(this.form.value.appointmentDate),appointment_type:this.appointment.appointment_type,consultation_id:null===(t=this.appointment)||void 0===t?void 0:t.consultation_id};this.consultationService.getAvailableSlots(A).subscribe((function(t){200===t.status&&(console.log(t),e.availableSlots=t.data,e.isSlotAvailable=!0)}))}},{key:"onCancelAppointment",value:function(){var t=this;this.consultationService.cancelAppointment(this.appointment.id).subscribe((function(e){200===e.status&&(t.toastr.success("Success!",e.message),t.ngOnInit())}))}},{key:"onSubmit",value:function(){var t=this;console.log(this.form.value);var e=this.utils.format(this.form.value.appointmentDate);this.consultationService.rescheduleConsultationAppointment({appointment_date:e,appointment_time:this.selectedSlot.start,appointment_end_time:this.selectedSlot.end,appointment_type:this.appointment.appointment_type,consultation_id:this.appointment.consultation_id,appointment_id:this.appointment.id}).subscribe((function(e){200===e.status&&t.toastr.success("Success!",e.message)}))}},{key:"generateAnalysisReportPdf",value:function(t){var e=this;this.consultationService.generateAnalysisReportPdf({consultationId:t,userId:this.userData.id}).subscribe((function(A){e.downLoadFile(A,"application/pdf",t)}))}},{key:"downLoadFile",value:function(t,e,A){var n=new Blob([t],{type:e}),r=window.URL.createObjectURL(n);console.log(r);var i=document.createElement("a");i.href=r,i.target="_blank",i.download="analysis-report-"+A+".pdf",document.body.appendChild(i),i.click()}},{key:"onNewAnalysis",value:function(){var t=this;this.consultationService.getConsulationList(0,0).subscribe((function(e){if(200===e.status&&!e.error){console.log(e.data);var A=e.data.consultation_detail;t.pendingConsultation=A.find((function(t){if(0===(null==t?void 0:t.consultant_status)||4===(null==t?void 0:t.consultant_status)||5===(null==t?void 0:t.consultant_status))return t})),A.length>
10&&t.pendingConsultation?(console.log(t.pendingConsultation),t.openModal(t.pendingConsultationModal)):t.startMyAnalysis()}}))}},{key:"startMyAnalysis",value:function(){this.utils.removeItem("questionData"),this.utils.removeItem("currentConsultationId"),this.utils.removeItem("currentQuestionId"),this.router.navigate(["/questionaire-v2/profile-info"],{queryParams:{action:"new"}})}},{key:"timeConversion",value:function(){var t=this;this.scheduledConsultation.map((function(e){var A=e.appointment_time;console.log(A);var n=A.split(":"),r=t.utils.dateConversion(n);return e.appointment_time=r,e}))}},{key:"confirmAppointment",value:function(t){var e=this;this.consultationService.confirmAppointment(t).subscribe((function(t){200===t.status&&(e.toastr.success("Success!",t.message),e.ngOnInit())}))}},{key:"timeFormat",value:function(t){var e=t.split(":"),A=this.utils.dateConversion(e);return t=A,console.log(t),A}},{key:"changeFormat",value:function(){return Object(MA.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e,A;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.timeFormat(this.appointment.appointment_time),A=this.timeFormat(this.appointment.appointment_end_time),this.form.get("appointmentTime").patchValue("".concat(e," - ").concat(A));case 2:case"end":return t.stop()}}),t,this)})))}}]),t}(),_n.\u0275fac=function(t){return new(t||_n)(pe.Nb(ge.a),pe.Nb(Be.a),pe.Nb(be.l),pe.Nb(we.a),pe.Nb(ve.a),pe.Nb(r.f),pe.Nb(ye.e),pe.Nb(me.b),pe.Nb(zA.a),pe.Nb(be.f))},_n.\u0275cmp=pe.Hb({type:_n,selectors:[["app-consultation-main"]],viewQuery:function(t,e){var A;1&t&&pe.Pc(VA,!0),2&t&&pe.xc(A=pe.gc())&&(e.pendingConsultationModal=A.first)},decls:42,vars:9,consts:[[1,"page-consulation-main","py-5"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"head","mb-5","text-center"],[1,"fz-28"],[1,"text-gray-4f4f","fw-l","mr-1"],[1,"text-gray-4f4f","mr-1","fw-m"],[1,"text-red-aa182c","mb-3","fw-b","sub-heading-2"],[1,"mb-3","fw-l","consultation-title"],["class","fw-l fz-12 mb-4",4,"ngIf","ngIfElse"],["noConsultation",""],[1,"btn","btn-primary","px-5","fz-14","py-3","fw-m",3,"click"],[4,"ngIf"],[1,"row","mt-4"],[1,"head","mb-3","text-center"],[1,"fw-l","fz-32"],["class","fw-l fz-14 mb-4",4,"ngIf","ngIfElse"],[1,"col-lg-12","mb-5"],["class","list",4,"ngIf","ngIfElse"],["webContent",""],["class","load-more text-center",4,"ngIf"],["newConsultationModal",""],["imagePreviewModal",""],["pendingConsultationModal",""],[1,"fw-l","fz-12","mb-4"],[1,"fw-400","fz-14","mb-4"],["class","text-center",4,"ngIf"],[1,"list"],["class","row py-4 border-top border-bottom",4,"ngFor","ngForOf"],[1,"row","py-4","border-top","border-bottom"],[1,"col-6"],[1,"consultation-status","text-capitalize","fw-b"],["class","fz-16 border-bottom border-dark text-underline float-right text-uppercase","href","javacript:void(0)",3,"click",4,"ngIf"],[1,"col-md-12"],[1,"fz-18"],[1,"fw-b"],[1,"ml-1"],["class","btn btn-outline-primary px-5 py-3 fw-m fz-14 mb-3",3,"click",4,"ngIf"],["class","btn btn-primary px-5 fz-14 mb-3 py-3 fw-m",3,"click",4,"ngIf"],["class","btn btn-primary px-5 fz-14 mb-3 py-3 fw-m",3,"routerLink",4,"ngIf"],["href","javacript:void(0)",1,"fz-16","border-bottom","border-dark","text-underline","float-right","text-uppercase",3,"click"],[1,"btn","btn-outline-primary","px-5","py-3","fw-m","fz-14","mb-3",3,"click"],[1,"btn","btn-primary","px-5","fz-14","mb-3","py-3","fw-m",3,"click"],[1,"btn","btn-primary","px-5","fz-14","mb-3","py-3","fw-m",3,"routerLink"],[1,"table"],["scope","col"],[4,"ngFor","ngForOf"],[1,"text-capitalize"],["colspan","3",1,"text-right","pr-0"],["class","btn btn-download btn-outline-primary text-center px-3 py-3 fz-14 w-160 mr-3",3,"click",4,"ngIf"],["class","btn btn-details btn-primary px-3 py-3 text-center fz-14 w-160",3,"routerLink",4,"ngIf"],["class","btn btn-details btn-primary px-3 py-3 text-center fz-14 w-160",3,"click",4,"ngIf"],[1,"cursor-pointer","read-more","mr-4","text-center","fz-12","fw-b","w-160","text-uppercase",3,"click"],[1,"btn","btn-download","btn-outline-primary","text-center","px-3","py-3","fz-14","w-160","mr-3",3,"click"],[1,"btn","btn-details","btn-primary","px-3","py-3","text-center","fz-14","w-160",3,"routerLink"],[1,"btn","btn-details","btn-primary","px-3","py-3","text-center","fz-14","w-160",3,"click"],[1,"text-center"],["href","javascript:void(0)",1,"text-primary","btn-load-more","fw-r","mt-4",3,"click"],[1,"fw-l","fz-14","mb-4"],[1,"fw-400","fz-14","mb-4","fw-l"],[1,"fz-20"],["class","btn btn-details btn-primary px-3 py-3 text-center fz-14 w-160 mb-3",3,"click",4,"ngIf"],[1,"btn","btn-details","btn-primary","px-3","py-3","text-center","fz-14","w-160","mb-3",3,"click"],["class","table",4,"ngIf"],[1,"text-capitalize","text-right","pr-0"],[1,"load-more","text-center"],["href","javascript:void(0)",1,"text-primary","text-underline",3,"click"],[1,"modal-header","border-0"],["
1id","modal-basic-title",1,"modal-title","fz-16","fw-b"],[1,"close-modal","cursor-pointer",3,"click"],[1,"ic","ic-cross-modal"],[1,"modal-body","pb-5","px-4"],[3,"formGroup"],[1,"form-group","mb-5"],[1,"input-group","mb-3"],["ngbDatepicker","","placeholder","Select available date","aria-describedby","basic-addon2","formControlName","appointmentDate","onkeydown","return false",1,"form-control","custom-datepicker","border-right-0","border-left-0",3,"minDate","ngModelChange"],["d","ngbDatepicker"],[1,"input-group-append"],["id","basic-addon2",1,"input-group-text","bg-white","rounded-0"],[1,"ic","md","ic-calender","cursor-ponter",3,"click"],[1,"form-group","mb-20"],["formControlName","appointmentTime","onkeydown","return false",1,"form-control","border-right-0","border-left-0"],[1,"ic","md","ic-clock-black","cursor-ponter"],["class","form-group",4,"ngIf"],["class","form-group mt-2",4,"ngIf"],[1,"d-flex","align-items-center","justify-content-end","mt-5"],[1,"btn","btn-outline-primary","px-5","mr-3","py-3",3,"click"],[1,"btn","btn-primary","px-5","py-3",3,"click"],[1,"form-group"],[1,"time-slot"],["class","time-slot-item",4,"ngIf"],[1,"time-slot-item"],[1,"item"],["type","checkbox",3,"value","checked","change"],[1,"checkmark","fz-10"],[2,"height","18px"],[1,"d-block"],[1,"form-group","mt-2"],[1,"fw-m","fz-20","text-center","px-5"],[3,"images"],[1,"modal-body","pb-5","px-4","text-center"],[1,"d-flex","align-items-center","justify-content-center","mt-5"]],template:function(t,e){if(1&t&&(pe.Tb(0,"div",0),pe.Tb(1,"div",1),pe.Tb(2,"div",2),pe.Tb(3,"div",3),pe.Tb(4,"div",4),pe.Tb(5,"h1",5),pe.Tb(6,"span",6),pe.Kc(7,"Hello again,"),pe.Sb(),pe.Tb(8,"span",7),pe.Kc(9),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Sb(),pe.Tb(10,"div",2),pe.Tb(11,"div",3),pe.Tb(12,"div",4),pe.Tb(13,"h3",8),pe.Kc(14,"MY ACCOUNT"),pe.Sb(),pe.Tb(15,"p",9),pe.Kc(16," My Root Cause Scalp Analysis "),pe.Sb(),pe.Ic(17,qA,2,0,"p",10),pe.Ic(18,GA,2,0,"ng-template",null,11,pe.Jc),pe.Tb(20,"button",12),pe.fc("click",(function(){return e.onNewAnalysis()})),pe.Kc(21," New Analysis "),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(22,cn,6,3,"ng-container",13),pe.Sb(),pe.Tb(23,"div",14),pe.Tb(24,"div",3),pe.Tb(25,"div",15),pe.Tb(26,"h3",16),pe.Kc(27,"Scheduled Appointments"),pe.Sb(),pe.Ic(28,ln,2,0,"p",17),pe.Ic(29,un,2,0,"ng-template",null,11,pe.Jc),pe.Sb(),pe.Sb(),pe.Tb(31,"div",18),pe.Ic(32,pn,3,5,"div",19),pe.Ic(33,mn,1,1,"ng-template",null,20,pe.Jc),pe.Ic(35,vn,3,0,"div",21),pe.Sb(),pe.Sb(),pe.Sb(),pe.Ic(36,Fn,31,4,"ng-template",null,22,pe.Jc),pe.Ic(38,Nn,1,1,"ng-template",null,23,pe.Jc),pe.Ic(40,En,11,0,"ng-template",null,24,pe.Jc),pe.Sb()),2&t){var A=pe.yc(19),n=pe.yc(34);pe.zb(9),pe.Lc(null==e.userData?null:e.userData.fname),pe.zb(8),pe.oc("ngIf",(null==e.consultationList?null:e.consultationList.length)>0)("ngIfElse",A),pe.zb(5),pe.oc("ngIf",(null==e.consultationList?null:e.consultationList.length)>0),pe.zb(6),pe.oc("ngIf",(null==e.scheduledConsultation?null:e.scheduledConsultation.length)>0)("ngIfElse",A),pe.zb(4),pe.oc("ngIf",e.isMobile)("ngIfElse",n),pe.zb(3),pe.oc("ngIf",e.scheduledConsultationCount>e.scheduledConsultation.length)}},directives:[n.m,n.l,r.g,ye.y,ye.p,ye.j,be.k,ye.b,ye.o,ye.h,jA.a],pipes:[Pe,ke.a,n.s,Ke,Ue],styles:[""]}),_n)},{path:"details/:id",component:RA}],xn=((Sn=function t(){_classCallCheck(this,t)}).\u0275mod=pe.Lb({type:Sn}),Sn.\u0275inj=pe.Kb({factory:function(t){return new(t||Sn)},imports:[[r.i.forChild(In)],r.i]}),Sn),Tn=A("PCNd"),Hn=A("7XxN"),kn=((Ln=function t(){_classCallCheck(this,t)}).\u0275mod=pe.Lb({type:Ln}),Ln.\u0275inj=pe.Kb({factory:function(t){return new(t||Ln)},imports:[[n.b,xn,Tn.a,Hn.a]]}),Ln)},"B/RK":function(t,e,A){"use strict";var n=A("vn/o");function r(t){for(var e=t.length;--e>=0;)t[e]=0}var i=[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],o=[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],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],s=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);r(c);var l=new Array(60);r(l);var u=new Array(512);r(u);var h=new Array(256);r(h);var f=new Array(29);r(f);var d,p,g,B=new Array(30);function b(t,e,A,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=A,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function m(t){return t<256?u[t]:u[256+(t>>
vendor: 9,562 bytes, line 1
1>7)]}function v(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function y(t,e,A){t.bi_valid>16-A?(t.bi_buf|=e<<t.bi_valid&65535,v(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=A-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=A)}function C(t,e,A){y(t,A[2*e],A[2*e+1])}function Q(t,e){var A=0;do{A|=1&t,t>>>=1,A<<=1}while(--e>0);return A>>>1}function U(t,e,A){var n,r,i=new Array(16),o=0;for(n=1;n<=15;n++)i[n]=o=o+A[n-1]<<1;for(r=0;r<=e;r++){var a=t[2*r+1];0!==a&&(t[2*r]=Q(i[a]++,a))}}function F(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function N(t){t.bi_valid>8?v(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function E(t,e,A,n){var r=2*e,i=2*A;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[A]}function _(t,e,A){for(var n=t.heap[A],r=A<<1;r<=t.heap_len&&(r<t.heap_len&&E(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!E(e,n,t.heap[r],t.depth));)t.heap[A]=t.heap[r],A=r,r<<=1;t.heap[A]=n}function S(t,e,A){var n,r,a,s,c=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*c]<<8|t.pending_buf[t.d_buf+2*c+1],r=t.pending_buf[t.l_buf+c],c++,0===n?C(t,r,e):(C(t,(a=h[r])+256+1,e),0!==(s=i[a])&&y(t,r-=f[a],s),C(t,a=m(--n),A),0!==(s=o[a])&&y(t,n-=B[a],s))}while(c<t.last_lit);C(t,256,e)}function L(t,e){var A,n,r,i=e.dyn_tree,o=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,A=0;A<s;A++)0!==i[2*A]?(t.heap[++t.heap_len]=c=A,t.depth[A]=0):i[2*A+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[r]=0,t.opt_len--,a&&(t.static_len-=o[2*r+1]);for(e.max_code=c,A=t.heap_len>>1;A>=1;A--)_(t,i,A);r=s;do{A=t.heap[1],t.heap[1]=t.heap[t.heap_len--],_(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=A,t.heap[--t.heap_max]=n,i[2*r]=i[2*A]+i[2*n],t.depth[r]=(t.depth[A]>=t.depth[n]?t.depth[A]:t.depth[n])+1,i[2*A+1]=i[2*n+1]=r,t.heap[1]=r++,_(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var A,n,r,i,o,a,s=e.dyn_tree,c=e.max_code,l=e.stat_desc.static_tree,u=e.stat_desc.has_stree,h=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,d=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(s[2*t.heap[t.heap_max]+1]=0,A=t.heap_max+1;A<573;A++)(i=s[2*s[2*(n=t.heap[A])+1]+1]+1)>d&&(i=d,p++),s[2*n+1]=i,n>c||(t.bl_count[i]++,o=0,n>=f&&(o=h[n-f]),t.opt_len+=(a=s[2*n])*(i+o),u&&(t.static_len+=a*(l[2*n+1]+o)));if(0!==p){do{for(i=d-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[d]--,p-=2}while(p>0);for(i=d;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--A])>c||(s[2*r+1]!==i&&(t.opt_len+=(i-s[2*r+1])*s[2*r],s[2*r+1]=i),n--)}}(t,e),U(i,c,t.bl_count)}function I(t,e,A){var n,r,i=-1,o=e[1],a=0,s=7,c=4;for(0===o&&(s=138,c=3),e[2*(A+1)+1]=65535,n=0;n<=A;n++)r=o,o=e[2*(n+1)+1],++a<s&&r===o||(a<c?t.bl_tree[2*r]+=a:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):a<=10?t.bl_tree[34]++:t.bl_tree[36]++,a=0,i=r,0===o?(s=138,c=3):r===o?(s=6,c=3):(s=7,c=4))}function x(t,e,A){var n,r,i=-1,o=e[1],a=0,s=7,c=4;for(0===o&&(s=138,c=3),n=0;n<=A;n++)if(r=o,o=e[2*(n+1)+1],!(++a<s&&r===o)){if(a<c)do{C(t,r,t.bl_tree)}while(0!=--a);else 0!==r?(r!==i&&(C(t,r,t.bl_tree),a--),C(t,16,t.bl_tree),y(t,a-3,2)):a<=10?(C(t,17,t.bl_tree),y(t,a-3,3)):(C(t,18,t.bl_tree),y(t,a-11,7));a=0,i=r,0===o?(s=138,c=3):r===o?(s=6,c=3):(s=7,c=4)}}r(B);var T=!1;function H(t,e,A,r){y(t,0+(r?1:0),3),function(t,e,A,r){N(t),v(t,A),v(t,~A),n.arraySet(t.pending_buf,t.window,e,A,t.pending),t.pending+=A}(t,e,A)}e._tr_init=function(t){T||(function(){var t,e,A,n,r,s=new Array(16);for(A=0,n=0;n<28;n++)for(f[n]=A,t=0;t<1<<i[n];t++)h[A++]=n;for(h[A-1]=n,r=0,n=0;n<16;n++)for(B[n]=r,t=0;t<1<<o[n];t++)u[r++]=n;for(r>>=7;n<30;n++)for(B[n]=r<<7,t=0;t<1<<o[n]-7;t++)u[256+r++]=n;for(e=0;e<=15;e++)s[e]=0;for(t=0;t<=143;)c[2*t+1]=8,t++,s[8]++;for(;t<=255;)c[2*t+1]=9,t++,s[9]++;for(;t<=279;)c[2*t+1]=7,t++,s[7]++;for(;t<=287;)c[2*t+1]=8,t++,s[8]++;for(U(c,287,s),t=0;t<30;t++)l[2*t+1]=5,l[2*t]=Q(t,5);d=new b(c,i,257,286,15),p=new b(l,o,0,30,15),g=new b(new Array(0),a,0,19,7)}(),T=!0),t.l_desc=new w(t.dyn_ltree,d),t.d_desc=new w(t.dyn_dtree,p),t.bl_desc=new w(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,F(t)},e._tr_stored_block=H,e._tr_flush_block=function(t,e,A,n){var r,i,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,A=4093624447;for(e=0;e<=31;e++,A>>>=1)if(1&A&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),L(t,t.l_desc),L(t,t.d_desc),o=function(t){var e;for(I(t,t.dyn_ltree,t.l_desc.max_code),I(t,t.dyn_dtree,t.d_desc.max_code),L(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*s[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),(i=t.static_len+3+7>>>3)<=(r=t.opt_len+3+7>>>3)&&(r=i)):r=i=A+5,A+4<=r&&-1!==e?H(t,e,A,n):4===t.strategy||i===r?(y(t,2+(n?1:0),3),S(t,c,l)):(y(t,4+(n?1:0),3),function(t,e,A,n){var r;for(y(t,e-257,5),y(t,A-1,5),y(t,n-4,4),r=0;r<n;r++)y(t,t.bl_tree[2*s[r]+1],3);x(t,t.dyn_ltree,e-1),x(t,t.dyn_dtree,A-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),S(t,t.dyn_ltree,t.dyn_dtree)),F(t),n&&N(t)},e._tr_tally=function(t,e,A){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&A,t.last_lit++,0===e?t.dyn_ltree[2*A]++:(t.matches++,e--,t.dyn_ltree[2*(h[A]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){y(t,2,3),C(t,256,c),function(t){16===t.bi_valid?(v(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},LOvY:function(t,e,A){"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}},QSbz:function(t,e,A){"use strict";var n=A("oXfm"),r=A("vn/o"),i=A("eydS"),o=A("Tcbo"),a=A("iTZm"),s=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=r.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var A=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==A)throw new Error(o[A]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var l;if(l="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===s.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(A=n.deflateSetDictionary(this.strm,l)))throw new Error(o[A]);this._dict_set=!0}}function l(t,e){var A=new c(e);if(A.push(t,!0),A.err)throw A.msg||o[A.err];return A.result}c.prototype.push=function(t,e){var A,o,a=this.strm,c=this.options.chunkSize;if(this.ended)return!1;o=e===~~e?e:!0===e?4:0,a.input="string"==typeof t?i.string2buf(t):"[object ArrayBuffer]"===s.call(t)?new Uint8Array(t):t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new r.Buf8(c),a.next_out=0,a.avail_out=c),1!==(A=n.deflate(a,o))&&0!==A)return this.onEnd(A),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==o&&2!==o)||this.onData("string"===this.options.to?i.buf2binstring(r.shrinkBuf(a.output,a.next_out)):r.shrinkBuf(a.output,a.next_out))}while((a.avail_in>0||0===a.avail_out)&&1!==A);return 4===o?(A=n.deflateEnd(this.strm),this.onEnd(A),this.ended=!0,0===A):2!==o||(this.onEnd(0),a.avail_out=0,!0)},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){0===t&&(this.result="string"===this.options.to?this.chunks.join(""):r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=c,e.deflate=l,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,l(t,e)}},Tcbo:function(t,e,A){"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"}},aFNf:function(t,e,A){"use strict";var n=A("vn/o"),r=[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],i=[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],o=[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],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,A,s,c,l,u,h){var f,d,p,g,B,b,w,m,v,y=h.bits,C=0,Q=0,U=0,F=0,N=0,E=0,_=0,S=0,L=0,I=0,x=null,T=0,H=new n.Buf16(16),k=new n.Buf16(16),P=null,D=0;for(C=0;C<=15;C++)H[C]=0;for(Q=0;Q<s;Q++)H[e[A+Q]]++;for(N=y,F=15;F>=1&&0===H[F];F--);if(N>F&&(N=F),0===F)return c[l++]=20971520,c[l++]=20971520,h.bits=1,0;for(U=1;U<F&&0===H[U];U++);for(N<U&&(N=U),S=1,C=1;C<=15;C++)if(S<<=1,(S-=H[C])<0)return-1;if(S>0&&(0===t||1!==F))return-1;for(k[1]=0,C=1;C<15;C++)k[C+1]=k[C]+H[C];for(Q=0;Q<s;Q++)0!==e[A+Q]&&(u[k[e[A+Q]]++]=Q);if(0===t?(x=P=u,b=19):1===t?(x=r,T-=257,P=i,D-=257,b=256):(x=o,P=
vendor: 4,797 bytes, line 1
1a,b=-1),I=0,Q=0,C=U,B=l,E=N,_=0,p=-1,g=(L=1<<N)-1,1===t&&L>852||2===t&&L>592)return 1;for(;;){w=C-_,u[Q]<b?(m=0,v=u[Q]):u[Q]>b?(m=P[D+u[Q]],v=x[T+u[Q]]):(m=96,v=0),f=1<<C-_,U=d=1<<E;do{c[B+(I>>_)+(d-=f)]=w<<24|m<<16|v|0}while(0!==d);for(f=1<<C-1;I&f;)f>>=1;if(0!==f?(I&=f-1,I+=f):I=0,Q++,0==--H[C]){if(C===F)break;C=e[A+u[Q]]}if(C>N&&(I&g)!==p){for(0===_&&(_=N),B+=U,S=1<<(E=C-_);E+_<F&&!((S-=H[E+_])<=0);)E++,S<<=1;if(L+=1<<E,1===t&&L>852||2===t&&L>592)return 1;c[p=I&g]=N<<24|E<<16|B-l|0}}return 0!==I&&(c[B+I]=C-_<<24|64<<16|0),h.bits=N,0}},cX6o:function(t,e,A){"use strict";var n=A("nm4c"),r=A("vn/o"),i=A("eydS"),o=A("LOvY"),a=A("Tcbo"),s=A("iTZm"),c=A("gBP8"),l=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var A=n.inflateInit2(this.strm,e.windowBits);if(A!==o.Z_OK)throw new Error(a[A]);if(this.header=new c,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=i.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(A=n.inflateSetDictionary(this.strm,e.dictionary))!==o.Z_OK))throw new Error(a[A])}function h(t,e){var A=new u(e);if(A.push(t,!0),A.err)throw A.msg||a[A.err];return A.result}u.prototype.push=function(t,e){var A,a,s,c,u,h=this.strm,f=this.options.chunkSize,d=this.options.dictionary,p=!1;if(this.ended)return!1;a=e===~~e?e:!0===e?o.Z_FINISH:o.Z_NO_FLUSH,h.input="string"==typeof t?i.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?new Uint8Array(t):t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new r.Buf8(f),h.next_out=0,h.avail_out=f),(A=n.inflate(h,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&d&&(A=n.inflateSetDictionary(this.strm,d)),A===o.Z_BUF_ERROR&&!0===p&&(A=o.Z_OK,p=!1),A!==o.Z_STREAM_END&&A!==o.Z_OK)return this.onEnd(A),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&A!==o.Z_STREAM_END&&(0!==h.avail_in||a!==o.Z_FINISH&&a!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(s=i.utf8border(h.output,h.next_out),c=h.next_out-s,u=i.buf2string(h.output,s),h.next_out=c,h.avail_out=f-c,c&&r.arraySet(h.output,h.output,s,c,0),this.onData(u)):this.onData(r.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(p=!0)}while((h.avail_in>0||0===h.avail_out)&&A!==o.Z_STREAM_END);return A===o.Z_STREAM_END&&(a=o.Z_FINISH),a===o.Z_FINISH?(A=n.inflateEnd(this.strm),this.onEnd(A),this.ended=!0,A===o.Z_OK):a!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),h.avail_out=0,!0)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){t===o.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=u,e.inflate=h,e.inflateRaw=function(t,e){return(e=e||{}).raw=!0,h(t,e)},e.ungzip=h},eydS:function(t,e,A){"use strict";var n=A("vn/o"),r=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(c){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){i=!1}for(var o=new n.Buf8(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function s(t,e){if(e<65534&&(t.subarray&&i||!t.subarray&&r))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var A="",o=0;o<e;o++)A+=String.fromCharCode(t[o]);return A}o[254]=o[254]=1,e.string2buf=function(t){var e,A,r,i,o,a=t.length,s=0;for(i=0;i<a;i++)55296==(64512&(A=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(A=65536+(A-55296<<10)+(r-56320),i++),s+=A<128?1:A<2048?2:A<65536?3:4;for(e=new n.Buf8(s),o=0,i=0;o<s;i++)55296==(64512&(A=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(A=65536+(A-55296<<10)+(r-56320),i++),A<128?e[o++]=A:A<2048?(e[o++]=192|A>>>6,e[o++]=128|63&A):A<65536?(e[o++]=224|A>>>12,e[o++]=128|A>>>6&63,e[o++]=128|63&A):(e[o++]=240|A>>>18,e[o++]=128|A>>>12&63,e[o++]=128|A>>>6&63,e[o++]=128|63&A);return e},e.buf2binstring=function(t){return s(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),A=0,r=e.length;A<r;A++)e[A]=t.charCodeAt(A);return e},e.buf2string=function(t,e){var A,n,r,i,a=e||t.length,c=new Array(2*a);for(n=0,A=0;A<a;)if((r=t[A++])<128)c[n++]=r;else if((i=o[r])>4)c[n++]=65533,A+=i-1;else{for(r&=2===i?31:3===i?15:7;i>1&&A<a;)r=r<<6|63&t[A++],i--;i>1?c[n++]=65533:r<65536?c[n++]=r:(c[n++]=55296|(r-=65536)>>10&1023,c[n++]=56320|1023&r)}return s(c,n)},e.utf8border=function(t,e){var A;
1for((e=e||t.length)>t.length&&(e=t.length),A=e-1;A>=0&&128==(192&t[A]);)A--;return A<0||0===A?e:A+o[t[A]]>e?A:e}},frGm:function(t,e,A){"use strict";t.exports=function(t,e){var A,n,r,i,o,a,s,c,l,u,h,f,d,p,g,B,b,w,m,v,y,C,Q,U,F;U=t.input,r=(n=t.next_in)+(t.avail_in-5),F=t.output,o=(i=t.next_out)-(e-t.avail_out),a=i+(t.avail_out-257),s=(A=t.state).dmax,c=A.wsize,l=A.whave,u=A.wnext,h=A.window,f=A.hold,d=A.bits,p=A.lencode,g=A.distcode,B=(1<<A.lenbits)-1,b=(1<<A.distbits)-1;t:do{d<15&&(f+=U[n++]<<d,f+=U[n++]<<(d+=8),d+=8),w=p[f&B];e:for(;;){if(f>>>=m=w>>>24,d-=m,0==(m=w>>>16&255))F[i++]=65535&w;else{if(!(16&m)){if(0==(64&m)){w=p[(65535&w)+(f&(1<<m)-1)];continue e}if(32&m){A.mode=12;break t}t.msg="invalid literal/length code",A.mode=30;break t}v=65535&w,(m&=15)&&(d<m&&(f+=U[n++]<<d,d+=8),v+=f&(1<<m)-1,f>>>=m,d-=m),d<15&&(f+=U[n++]<<d,f+=U[n++]<<(d+=8),d+=8),w=g[f&b];A:for(;;){if(f>>>=m=w>>>24,d-=m,!(16&(m=w>>>16&255))){if(0==(64&m)){w=g[(65535&w)+(f&(1<<m)-1)];continue A}t.msg="invalid distance code",A.mode=30;break t}if(y=65535&w,d<(m&=15)&&(f+=U[n++]<<d,(d+=8)<m&&(f+=U[n++]<<d,d+=8)),(y+=f&(1<<m)-1)>s){t.msg="invalid distance too far back",A.mode=30;break t}if(f>>>=m,d-=m,y>(m=i-o)){if((m=y-m)>l&&A.sane){t.msg="invalid distance too far back",A.mode=30;break t}if(C=0,Q=h,0===u){if(C+=c-m,m<v){v-=m;do{F[i++]=h[C++]}while(--m);C=i-y,Q=F}}else if(u<m){if(C+=c+u-m,(m-=u)<v){v-=m;do{F[i++]=h[C++]}while(--m);if(C=0,u<v){v-=m=u;do{F[i++]=h[C++]}while(--m);C=i-y,Q=F}}}else if(C+=u-m,m<v){v-=m;do{F[i++]=h[C++]}while(--m);C=i-y,Q=F}for(;v>2;)F[i++]=Q[C++],F[i++]=Q[C++],F[i++]=Q[C++],v-=3;v&&(F[i++]=Q[C++],v>1&&(F[i++]=Q[C++]))}else{C=i-y;do{F[i++]=F[C++],F[i++]=F[C++],F[i++]=F[C++],v-=3}while(v>2);v&&(F[i++]=F[C++],v>1&&(F[i++]=F[C++]))}break}}break}}while(n<r&&i<a);f&=(1<<(d-=(v=d>>3)<<3))-1,t.next_in=n-=v,t.next_out=i,t.avail_in=n<r?r-n+5:5-(n-r),t.avail_out=i<a?a-i+257:257-(i-a),A.hold=f,A.bits=d}},gBP8:function(t,e,A){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},iTZm:function(t,e,A){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},nm4c:function(t,e,A){"use strict";var n=A("vn/o"),r=A("yDR0"),i=A("7tol"),o=A("frGm"),a=A("aFNf");function s(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function c(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(t){var e;return t&&t.state?(t.total_in=t.total_out=(e=t.state).total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(852),e.distcode=e.distdyn=new n.Buf32(592),e.sane=1,e.back=-1,0):-2}function u(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,l(t)):-2}function h(t,e){var A,n;return t&&t.state?(e<0?(A=0,e=-e):(A=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==(n=t.state).window&&n.wbits!==e&&(n.window=null),n.wrap=A,n.wbits=e,u(t))):-2}function f(t,e){var A,n;return t?(n=new c,t.state=n,n.window=null,0!==(A=h(t,e))&&(t.state=null),A):-2}var d,p,g=!0;function B(t){if(g){var e;for(d=new n.Buf32(512),p=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(a(1,t.lens,0,288,d,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;a(2,t.lens,0,32,p,0,t.work,{bits:5}),g=!1}t.lencode=d,t.lenbits=9,t.distcode=p,t.distbits=5}function b(t,e,A,r){var i,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),r>=o.wsize?(n.arraySet(o.window,e,A-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),n.arraySet(o.window,e,A-r,i,o.wnext),(r-=i)?(n.arraySet(o.window,e,A-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}e.inflateReset=u,e.inflateReset2=h,e.inflateResetKeep=l,e.inflateInit=function(t){return f(t,15)},e.inflateInit2=f,e.inflate=function(t,e){var A,c,l,u,h,f,d,p,g,w,m,v,y,C,Q,U,F,N,E,_,S,L,I,x,T=0,H=new n.Buf8(4),k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;
vendor: 5,205 bytes, line 1
112===(A=t.state).mode&&(A.mode=13),h=t.next_out,l=t.output,u=t.next_in,c=t.input,p=A.hold,g=A.bits,w=f=t.avail_in,m=d=t.avail_out,L=0;t:for(;;)switch(A.mode){case 1:if(0===A.wrap){A.mode=13;break}for(;g<16;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(2&A.wrap&&35615===p){A.check=0,H[0]=255&p,H[1]=p>>>8&255,A.check=i(A.check,H,2,0),p=0,g=0,A.mode=2;break}if(A.flags=0,A.head&&(A.head.done=!1),!(1&A.wrap)||(((255&p)<<8)+(p>>8))%31){t.msg="incorrect header check",A.mode=30;break}if(8!=(15&p)){t.msg="unknown compression method",A.mode=30;break}if(g-=4,S=8+(15&(p>>>=4)),0===A.wbits)A.wbits=S;else if(S>A.wbits){t.msg="invalid window size",A.mode=30;break}A.dmax=1<<S,t.adler=A.check=1,A.mode=512&p?10:12,p=0,g=0;break;case 2:for(;g<16;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(A.flags=p,8!=(255&A.flags)){t.msg="unknown compression method",A.mode=30;break}if(57344&A.flags){t.msg="unknown header flags set",A.mode=30;break}A.head&&(A.head.text=p>>8&1),512&A.flags&&(H[0]=255&p,H[1]=p>>>8&255,A.check=i(A.check,H,2,0)),p=0,g=0,A.mode=3;case 3:for(;g<32;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.head&&(A.head.time=p),512&A.flags&&(H[0]=255&p,H[1]=p>>>8&255,H[2]=p>>>16&255,H[3]=p>>>24&255,A.check=i(A.check,H,4,0)),p=0,g=0,A.mode=4;case 4:for(;g<16;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.head&&(A.head.xflags=255&p,A.head.os=p>>8),512&A.flags&&(H[0]=255&p,H[1]=p>>>8&255,A.check=i(A.check,H,2,0)),p=0,g=0,A.mode=5;case 5:if(1024&A.flags){for(;g<16;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.length=p,A.head&&(A.head.extra_len=p),512&A.flags&&(H[0]=255&p,H[1]=p>>>8&255,A.check=i(A.check,H,2,0)),p=0,g=0}else A.head&&(A.head.extra=null);A.mode=6;case 6:if(1024&A.flags&&((v=A.length)>f&&(v=f),v&&(A.head&&(S=A.head.extra_len-A.length,A.head.extra||(A.head.extra=new Array(A.head.extra_len)),n.arraySet(A.head.extra,c,u,v,S)),512&A.flags&&(A.check=i(A.check,c,v,u)),f-=v,u+=v,A.length-=v),A.length))break t;A.length=0,A.mode=7;case 7:if(2048&A.flags){if(0===f)break t;v=0;do{S=c[u+v++],A.head&&S&&A.length<65536&&(A.head.name+=String.fromCharCode(S))}while(S&&v<f);if(512&A.flags&&(A.check=i(A.check,c,v,u)),f-=v,u+=v,S)break t}else A.head&&(A.head.name=null);A.length=0,A.mode=8;case 8:if(4096&A.flags){if(0===f)break t;v=0;do{S=c[u+v++],A.head&&S&&A.length<65536&&(A.head.comment+=String.fromCharCode(S))}while(S&&v<f);if(512&A.flags&&(A.check=i(A.check,c,v,u)),f-=v,u+=v,S)break t}else A.head&&(A.head.comment=null);A.mode=9;case 9:if(512&A.flags){for(;g<16;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(p!==(65535&A.check)){t.msg="header crc mismatch",A.mode=30;break}p=0,g=0}A.head&&(A.head.hcrc=A.flags>>9&1,A.head.done=!0),t.adler=A.check=0,A.mode=12;break;case 10:for(;g<32;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}t.adler=A.check=s(p),p=0,g=0,A.mode=11;case 11:if(0===A.havedict)return t.next_out=h,t.avail_out=d,t.next_in=u,t.avail_in=f,A.hold=p,A.bits=g,2;t.adler=A.check=1,A.mode=12;case 12:if(5===e||6===e)break t;case 13:if(A.last){p>>>=7&g,g-=7&g,A.mode=27;break}for(;g<3;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}switch(A.last=1&p,g-=1,3&(p>>>=1)){case 0:A.mode=14;break;case 1:if(B(A),A.mode=20,6===e){p>>>=2,g-=2;break t}break;case 2:A.mode=17;break;case 3:t.msg="invalid block type",A.mode=30}p>>>=2,g-=2;break;case 14:for(p>>>=7&g,g-=7&g;g<32;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if((65535&p)!=(p>>>16^65535)){t.msg="invalid stored block lengths",A.mode=30;break}if(A.length=65535&p,p=0,g=0,A.mode=15,6===e)break t;case 15:A.mode=16;case 16:if(v=A.length){if(v>f&&(v=f),v>d&&(v=d),0===v)break t;n.arraySet(l,c,u,v,h),f-=v,u+=v,d-=v,h+=v,A.length-=v;break}A.mode=12;break;case 17:for(;g<14;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(A.nlen=257+(31&p),g-=5,A.ndist=1+(31&(p>>>=5)),g-=5,A.ncode=4+(15&(p>>>=5)),p>>>=4,g-=4,A.nlen>286||A.ndist>30){t.msg="too many length or distance symbols",A.mode=30;break}A.have=0,A.mode=18;case 18:for(;A.have<A.ncode;){for(;g<3;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.lens[k[A.have++]]=7&p,p>>>=3,g-=3}for(;A.have<19;)A.lens[k[A.have++]]=0;if(A.lencode=A.lendyn,A.lenbits=7,L=a(0,A.lens,0,19,A.lencode,0,A.work,I={bits:A.lenbits}),A.lenbits=I.bits,L){t.msg="invalid code lengths set",A.mode=30;break}A.have=0,A.mode=19;case 19:for(;A.have<A.nlen+A.ndist;){for(;U=(T=A.lencode[p&(1<<A.lenbits)-1])>>>16&255,F=65535&T,!((Q=T>>>24)<=g);){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(F<16)p>>>=Q,g-=Q,A.lens[A.have++]=F;else{if(16===F){for(x=Q+2;g<x;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(p>>>=Q,g-=Q,0===A.have){t.msg="invalid bit length repeat",A.mode=30;break}S=A.lens[A.have-1],v=3+(3&p),p>>>=2,g-=2}else if(17===F){for(x=Q+3;g<x;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}g-=Q,S=0,v=3+(7&(p>>>=Q)),p>>>=3,g-=3}else{for(x=Q+7;g<x;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}g-=Q,S=0,v=11+(127&(p>>>=Q)),p>>>=7,g-=7}if(A.have+v>A.nlen+A.ndist){t.msg="invalid bit length repeat",A.mode=30;break}for(;v--;)A.lens[A.have++]=S}}if(30===A.mode)break;if(0===A.lens[256]){t.msg="invalid code -- missing end-of-block",A.mode=30;break}if(A.lenbits=9,L=a(1,A.lens,0,A.nlen,A.lencode,0,A.work,I={bits:A.lenbits}),A.lenbits=I.bits,L){t.msg="invalid literal/lengths set",A.mode=30;break}if(A.distbits=6,A.distcode=A.distdyn,L=a(2,A.lens,A.nlen,A.ndist,A.distc
vendor: 10,974 bytes, line 1
1ode,0,A.work,I={bits:A.distbits}),A.distbits=I.bits,L){t.msg="invalid distances set",A.mode=30;break}if(A.mode=20,6===e)break t;case 20:A.mode=21;case 21:if(f>=6&&d>=258){t.next_out=h,t.avail_out=d,t.next_in=u,t.avail_in=f,A.hold=p,A.bits=g,o(t,m),h=t.next_out,l=t.output,d=t.avail_out,u=t.next_in,c=t.input,f=t.avail_in,p=A.hold,g=A.bits,12===A.mode&&(A.back=-1);break}for(A.back=0;U=(T=A.lencode[p&(1<<A.lenbits)-1])>>>16&255,F=65535&T,!((Q=T>>>24)<=g);){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(U&&0==(240&U)){for(N=Q,E=U,_=F;U=(T=A.lencode[_+((p&(1<<N+E)-1)>>N)])>>>16&255,F=65535&T,!(N+(Q=T>>>24)<=g);){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}p>>>=N,g-=N,A.back+=N}if(p>>>=Q,g-=Q,A.back+=Q,A.length=F,0===U){A.mode=26;break}if(32&U){A.back=-1,A.mode=12;break}if(64&U){t.msg="invalid literal/length code",A.mode=30;break}A.extra=15&U,A.mode=22;case 22:if(A.extra){for(x=A.extra;g<x;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.length+=p&(1<<A.extra)-1,p>>>=A.extra,g-=A.extra,A.back+=A.extra}A.was=A.length,A.mode=23;case 23:for(;U=(T=A.distcode[p&(1<<A.distbits)-1])>>>16&255,F=65535&T,!((Q=T>>>24)<=g);){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(0==(240&U)){for(N=Q,E=U,_=F;U=(T=A.distcode[_+((p&(1<<N+E)-1)>>N)])>>>16&255,F=65535&T,!(N+(Q=T>>>24)<=g);){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}p>>>=N,g-=N,A.back+=N}if(p>>>=Q,g-=Q,A.back+=Q,64&U){t.msg="invalid distance code",A.mode=30;break}A.offset=F,A.extra=15&U,A.mode=24;case 24:if(A.extra){for(x=A.extra;g<x;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}A.offset+=p&(1<<A.extra)-1,p>>>=A.extra,g-=A.extra,A.back+=A.extra}if(A.offset>A.dmax){t.msg="invalid distance too far back",A.mode=30;break}A.mode=25;case 25:if(0===d)break t;if(A.offset>(v=m-d)){if((v=A.offset-v)>A.whave&&A.sane){t.msg="invalid distance too far back",A.mode=30;break}y=v>A.wnext?A.wsize-(v-=A.wnext):A.wnext-v,v>A.length&&(v=A.length),C=A.window}else C=l,y=h-A.offset,v=A.length;v>d&&(v=d),d-=v,A.length-=v;do{l[h++]=C[y++]}while(--v);0===A.length&&(A.mode=21);break;case 26:if(0===d)break t;l[h++]=A.length,d--,A.mode=21;break;case 27:if(A.wrap){for(;g<32;){if(0===f)break t;f--,p|=c[u++]<<g,g+=8}if(t.total_out+=m-=d,A.total+=m,m&&(t.adler=A.check=A.flags?i(A.check,l,m,h-m):r(A.check,l,m,h-m)),m=d,(A.flags?p:s(p))!==A.check){t.msg="incorrect data check",A.mode=30;break}p=0,g=0}A.mode=28;case 28:if(A.wrap&&A.flags){for(;g<32;){if(0===f)break t;f--,p+=c[u++]<<g,g+=8}if(p!==(4294967295&A.total)){t.msg="incorrect length check",A.mode=30;break}p=0,g=0}A.mode=29;case 29:L=1;break t;case 30:L=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=h,t.avail_out=d,t.next_in=u,t.avail_in=f,A.hold=p,A.bits=g,(A.wsize||m!==t.avail_out&&A.mode<30&&(A.mode<27||4!==e))&&b(t,t.output,t.next_out,m-t.avail_out)?(A.mode=31,-4):(m-=t.avail_out,t.total_in+=w-=t.avail_in,t.total_out+=m,A.total+=m,A.wrap&&m&&(t.adler=A.check=A.flags?i(A.check,l,m,t.next_out-m):r(A.check,l,m,t.next_out-m)),t.data_type=A.bits+(A.last?64:0)+(12===A.mode?128:0)+(20===A.mode||15===A.mode?256:0),(0===w&&0===m||4===e)&&0===L&&(L=-5),L)},e.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},e.inflateGetHeader=function(t,e){var A;return t&&t.state?0==(2&(A=t.state).wrap)?-2:(A.head=e,e.done=!1,0):-2},e.inflateSetDictionary=function(t,e){var A,n=e.length;return t&&t.state?0!==(A=t.state).wrap&&11!==A.mode?-2:11===A.mode&&r(1,e,n,0)!==A.check?-3:b(t,e,n,n)?(A.mode=31,-4):(A.havedict=1,0):-2},e.inflateInfo="pako inflate (from Nodeca project)"},oXfm:function(t,e,A){"use strict";var n,r=A("vn/o"),i=A("B/RK"),o=A("yDR0"),a=A("7tol"),s=A("Tcbo");function c(t,e){return t.msg=s[e],e}function l(t){return(t<<1)-(t>4?9:0)}function u(t){for(var e=t.length;--e>=0;)t[e]=0}function h(t){var e=t.state,A=e.pending;A>t.avail_out&&(A=t.avail_out),0!==A&&(r.arraySet(t.output,e.pending_buf,e.pending_out,A,t.next_out),t.next_out+=A,e.pending_out+=A,t.total_out+=A,t.avail_out-=A,e.pending-=A,0===e.pending&&(e.pending_out=0))}function f(t,e){i._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,h(t.strm)}function d(t,e){t.pending_buf[t.pending++]=e}function p(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function g(t,e){var A,n,r=t.max_chain_length,i=t.strstart,o=t.prev_length,a=t.nice_match,s=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,c=t.window,l=t.w_mask,u=t.prev,h=t.strstart+258,f=c[i+o-1],d=c[i+o];t.prev_length>=t.good_match&&(r>>=2),a>t.lookahead&&(a=t.lookahead);do{if(c[(A=e)+o]===d&&c[A+o-1]===f&&c[A]===c[i]&&c[++A]===c[i+1]){i+=2,A++;do{}while(c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&c[++i]===c[++A]&&i<h);if(n=258-(h-i),i=h-258,n>o){if(t.match_start=e,o=n,n>=a)break;f=c[i+o-1],d=c[i+o]}}}while((e=u[e&l])>s&&0!=--r);return o<=t.lookahead?o:t.lookahead}function B(t){var e,A,n,i,s,c,l,u,h,f,d=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-262)){r.arraySet(t.window,t.window,d,d,0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=A=t.hash_size;do{n=t.head[--e],t.head[e]=n>=d?n-d:0}while(--A);e=A=d;do{n=t.prev[--e],t.prev[e]=n>=d?n-d:0}while(--A);i+=d}if(0===t.strm.avail_in)break;if(l=t.window,u=t.strstart+t.lookahead,f=void 0,(f=(c=t.strm).avail_in)>(h=i)&&(f=h),A=0===f?0:(c.avail_in-=f,r.arraySet(l,c.input,c.next_in,f,u),1===c.state.wrap?c.adler=o(c.adler,l,f,u):2===c.state.wrap&&(c.adler=a(c.adler,l,f,u)),c.next_in+=f,c.total_in+=f,f),t.lookahead+=A,t.lookahead+t.insert>=3)for(t.ins_h=t.window[s=t.strstart-t.insert],t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[s+3-1])&t.hash_mask,t.prev[s&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=s,s++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function b(t,e){for(var A,n;;){if(t.lookahead<262){if(B(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(A=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==A&&t.strstart-A<=t.w_size-262&&(t.match_length=g(t,A)),t.match_length>=3)if(n=i._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(f(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(f(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(f(t,!1),0===t.strm.avail_out)?1:2}function w(t,e){for(var A,n,r;;){if(t.lookahead<262){if(B(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(A=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==A&&t.prev_length<t.max_lazy_match&&t.strstart-A<=t.w_size-262&&(t.match_length=g(t,A),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(f(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=i._tr_tally(t,0,t.window[t.strstart-1]))&&f(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(f(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(f(t,!1),0===t.strm.avail_out)?1:2}function m(t,e,A,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=A,this.max_chain=n,this.func=r}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(1146),this.dyn_dtree=new r.Buf16(122),this.bl_tree=new r.Buf16(78),u(this.dyn_ltree),u(this.dyn_dtree),u(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(16),this.heap=new r.Buf16(573),u(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(573),u(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 y(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,i._tr_init(e),0):c(t,-2)}function C(t){var e,A=y(t);return 0===A&&((e=t.state).window_size=2*e.w_size,u(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),A}function Q(t,e,A,n,i,o){if(!t)return-2;var a=1;if(-1===e&&(e=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),i<1||i>9||8!==A||n<8||n>15||e<0||e>9||o<0||o>4)return c(t,-2);8===n&&(n=9);var s=new v;return t.state=s,s.strm=t,s.wrap=a,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new r.Buf8(2*s.w_size),s.head=new r.Buf16(s.hash_size),s.prev=new r.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new r.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=o,s.method=A,C(t)}n=[new m(0,0,0,0,(function(t,e){var A=65535;for(A>
vendor: 5,856 bytes, line 1
1t.pending_buf_size-5&&(A=t.pending_buf_size-5);;){if(t.lookahead<=1){if(B(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+A;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,f(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(f(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(f(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&f(t,!1),1)})),new m(4,4,8,4,b),new m(4,5,16,8,b),new m(4,6,32,32,b),new m(4,4,16,16,w),new m(8,16,32,32,w),new m(8,16,128,128,w),new m(8,32,128,256,w),new m(32,128,258,1024,w),new m(32,258,258,4096,w)],e.deflateInit=function(t,e){return Q(t,e,8,15,8,0)},e.deflateInit2=Q,e.deflateReset=C,e.deflateResetKeep=y,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},e.deflate=function(t,e){var A,r,o,s;if(!t||!t.state||e>5||e<0)return t?c(t,-2):-2;if(r=t.state,!t.output||!t.input&&0!==t.avail_in||666===r.status&&4!==e)return c(t,0===t.avail_out?-5:-2);if(r.strm=t,A=r.last_flush,r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,d(r,31),d(r,139),d(r,8),r.gzhead?(d(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),d(r,255&r.gzhead.time),d(r,r.gzhead.time>>8&255),d(r,r.gzhead.time>>16&255),d(r,r.gzhead.time>>24&255),d(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),d(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(d(r,255&r.gzhead.extra.length),d(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=a(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(d(r,0),d(r,0),d(r,0),d(r,0),d(r,0),d(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),d(r,3),r.status=113);else{var g=8+(r.w_bits-8<<4)<<8;g|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(g|=32),g+=31-g%31,r.status=113,p(r,g),0!==r.strstart&&(p(r,t.adler>>>16),p(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),h(t),o=r.pending,r.pending!==r.pending_buf_size));)d(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),h(t),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,d(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),h(t),o=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,d(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>o&&(t.adler=a(t.adler,r.pending_buf,r.pending-o,o)),0===s&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&h(t),r.pending+2<=r.pending_buf_size&&(d(r,255&t.adler),d(r,t.adler>>8&255),t.adler=0,r.status=113)):r.status=113),0!==r.pending){if(h(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&l(e)<=l(A)&&4!==e)return c(t,-5);if(666===r.status&&0!==t.avail_in)return c(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&666!==r.status){var b=2===r.strategy?function(t,e){for(var A;;){if(0===t.lookahead&&(B(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,A=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,A&&(f(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(f(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(f(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var A,n,r,o,a=t.window;;){if(t.lookahead<=258){if(B(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=a[r=t.strstart-1])===a[++r]&&n===a[++r]&&n===a[++r]){o=t.strstart+258;do{}while(n===a[++r]&&n===a[++r]&&n===a[++r]&&n===a[++r]&&n===a[++r]&&n===a[++r]&&n===a[++r]&&n===a[++r]&&r<o);t.match_length=258-(o-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(A=i._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(A=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),A&&(f(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(f(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(f(t,!1),0===t.strm.avail_out)?1:2}(r,e):n[r.level].func(r,e);if(3!==b&&4!==b||(r.status=666),1===b||3===b)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===b&&(1===e?i._tr_align(r):5!==e&&(i._tr_stored_block(r,0,0,!1),3===e&&(u(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),h(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(d(r,255&t.adler),d(r,t.adler>>8&255),d(r,t.adler>>16&255),d(r,t.adler>>24&255),d(r,255&t.total_in),d(r,t.total_in>>8&255),d(r,t.total_in>>16&255),d(r,t.total_in>>24&255)):(p(r,t.adler>>>16),p(r,65535&t.adler)),h(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},e.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?c(t,-2):(t.state=null,113===e?c(t,-3):0):-2},e.deflateSetDictionary=function(t,e){var A,n,i,a,s,c,l,h,f=e.length;if(!t||!t.state)return-2;if(2===(a=(A=t.state).wrap)||1===a&&42!==A.status||A.lookahead)return-2;
1for(1===a&&(t.adler=o(t.adler,e,f,0)),A.wrap=0,f>=A.w_size&&(0===a&&(u(A.head),A.strstart=0,A.block_start=0,A.insert=0),h=new r.Buf8(A.w_size),r.arraySet(h,e,f-A.w_size,A.w_size,0),e=h,f=A.w_size),s=t.avail_in,c=t.next_in,l=t.input,t.avail_in=f,t.next_in=0,t.input=e,B(A);A.lookahead>=3;){n=A.strstart,i=A.lookahead-2;do{A.ins_h=(A.ins_h<<A.hash_shift^A.window[n+3-1])&A.hash_mask,A.prev[n&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=n,n++}while(--i);A.strstart=n,A.lookahead=2,B(A)}return A.strstart+=A.lookahead,A.block_start=A.strstart,A.insert=A.lookahead,A.lookahead=0,A.match_length=A.prev_length=2,A.match_available=0,t.next_in=c,t.input=l,t.avail_in=s,A.wrap=a,0},e.deflateInfo="pako deflate (from Nodeca project)"},"vn/o":function(t,e,A){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var A=e.shift();if(A){if("object"!=typeof A)throw new TypeError(A+"must be non-object");for(var n in A)r(A,n)&&(t[n]=A[n])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var i={arraySet:function(t,e,A,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(A,A+n),r);else for(var i=0;i<n;i++)t[r+i]=e[A+i]},flattenChunks:function(t){var e,A,n,r,i,o;for(n=0,e=0,A=t.length;e<A;e++)n+=t[e].length;for(o=new Uint8Array(n),r=0,e=0,A=t.length;e<A;e++)o.set(i=t[e],r),r+=i.length;return o}},o={arraySet:function(t,e,A,n,r){for(var i=0;i<n;i++)t[r+i]=e[A+i]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,i)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,o))},e.setTyped(n)},wOnQ:function(t,e,A){t.exports=function(){"use strict";var t=function(e,A){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var A in e)e.hasOwnProperty(A)&&(t[A]=e[A])})(e,A)};function e(e,A){function n(){this.constructor=e}t(e,A),e.prototype=null===A?Object.create(A):(n.prototype=A.prototype,new n)}var A=function(){return(A=Object.assign||function(t){for(var e,A=1,n=arguments.length;A<n;A++)for(var r in e=arguments[A])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function n(t,e,A,n){return new(A||(A=Promise))((function(r,i){function o(t){try{s(n.next(t))}catch(e){i(e)}}function a(t){try{s(n.throw(t))}catch(e){i(e)}}function s(t){t.done?r(t.value):new A((function(e){e(t.value)})).then(o,a)}s((n=n.apply(t,e||[])).next())}))}function r(t,e){var A,n,r,i,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(A)throw new TypeError("Generator is already executing.");for(;o;)try{if(A=1,n&&(r=2&i[0]?n.return:i[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,i[1])).done)return r;switch(n=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,n=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){o.label=i[1];break}if(6===i[0]&&o.label<r[1]){o.label=r[1],r=i;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(i);break}r[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(a){i=[6,a],n=0}finally{A=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}for(var i=function(){function t(t,e,A,n){this.left=t,this.top=e,this.width=A,this.height=n}return t.prototype.add=function(e,A,n,r){return new t(this.left+e,this.top+A,this.width+n,this.height+r)},t.fromClientRect=function(e){return new t(e.left,e.top,e.width,e.height)},t}(),o=function(t){return i.fromClientRect(t.getBoundingClientRect())},a=function(t){for(var e=[],A=0,n=t.length;A<n;){var r=t.charCodeAt(A++);if(r>=55296&&r<=56319&&A<n){var i=t.charCodeAt(A++);56320==(64512&i)?e.push(((1023&r)<<10)+(1023&i)+65536):(e.push(r),A--)}else e.push(r)}return e},s=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var A=t.length;if(!A)return"";for(var n=[],r=-1,i="";++r<A;){var o=t[r];o<=65535?n.push(o):n.push(55296+((o-=65536)>>10),o%1024+56320),(r+1===A||n.length>16384)&&(i+=String.fromCharCode.apply(String,n),n.length=0)}return i},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",l="undefined"==typeof Uint8Array?[]:new Uint8Array(256),u=0;u<c.length;u++)l[c.charCodeAt(u)]=u;var h,f,d,p,g,B,b,w,m=function(t,e,A){return t.slice?t.slice(e,A):new Uint16Array(Array.prototype.slice.call(t,e,A))},v=function(){function t(t,e,A,n,r,i){this.initialValue=t,this.errorValue=e,this.highStart=A,this.highValueIndex=n,this.index=r,this.data=i}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return this.data[e=((e=this.index[t>>5])<<2)+(31&t)];if(t<=65535)return this.data[e=((e=this.index[2048+(t-55296>>5)])<<2)+(31&t)];if(t<this.highStart)return e=this.index[e=2080+(t>>11)],this.data[e=((e=this.index[e+=t>>5&63])<<2)+(31&t)];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),y=10,C=13,Q=15,U=17,F=18,N=19,E=20,_=21,S=22,L=24,I=25,x=26,T=27,H=28,k=30,P=32,D=33,K=34,O=35,R=37,M=38,z=39,j=40,V=42,q=(p=function(t){var e,A,n,r,i,o=.75*t.length,a=t.length,s=0;"="===t[t.length-1]&&(o--,"="===t[t.length-2]&&o--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(o):new Array(o),u=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<a;e+=4)A=l[t.charCodeAt(e)],n=l[t.charCodeAt(e+1)],r=l[t.charCodeAt(e+2)],i=l[t.charCodeAt(e+3)],u[s++]=A<<2|n>>4,u[s++]=(15&n)<<4|r>>2,u[s++]=(3&r)<<6|63&i;return c}(
vendor: 50,626 bytes, line 1
1"KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"
1),g=Array.isArray(p)?function(t){for(var e=t.length,A=[],n=0;n<e;n+=4)A.push(t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]);return A}(p):new Uint32Array(p),b=m(B=Array.isArray(p)?function(t){for(var e=t.length,A=[],n=0;n<e;n+=2)A.push(t[n+1]<<8|t[n]);return A}(p):new Uint16Array(p),12,g[4]/2),w=2===g[5]?m(B,(24+g[4])/2):(f=g,d=Math.ceil((24+g[4])/4),f.slice?f.slice(d,void 0):new Uint32Array(Array.prototype.slice.call(f,d,void 0))),new v(g[0],g[1],g[2],g[3],b,w)),G=[k,36],X=[1,2,3,5],J=[y,8],W=[T,x],Y=X.concat(J),Z=[M,z,j,K,O],$=[Q,C],tt=function(t,e,A,n){var r=n[A];if(Array.isArray(t)?-1!==t.indexOf(r):t===r)for(var i=A;i<=n.length;){if((s=n[++i])===e)return!0;if(s!==y)break}if(r===y)for(i=A;i>0;){var o=n[--i];if(Array.isArray(t)?-1!==t.indexOf(o):t===o)for(var a=A;a<=n.length;){var s;if((s=n[++a])===e)return!0;if(s!==y)break}if(o!==y)break}return!1},et=function(t,e){for(var A=t;A>=0;){var n=e[A];if(n!==y)return n;A--}return 0},At=function(t,e,A,n,r){if(0===A[n])return"\xd7";var i=n-1;if(Array.isArray(r)&&!0===r[i])return"\xd7";var o=i-1,a=i+1,s=e[i],c=o>=0?e[o]:0,l=e[a];if(2===s&&3===l)return"\xd7";if(-1!==X.indexOf(s))return"!";if(-1!==X.indexOf(l))return"\xd7";if(-1!==J.indexOf(l))return"\xd7";if(8===et(i,e))return"\xf7";if(11===q.get(t[i])&&(l===R||l===P||l===D))return"\xd7";if(7===s||7===l)return"\xd7";if(9===s)return"\xd7";if(-1===[y,C,Q].indexOf(s)&&9===l)return"\xd7";if(-1!==[U,F,N,L,H].indexOf(l))return"\xd7";if(et(i,e)===S)return"\xd7";if(tt(23,S,i,e))return"\xd7";if(tt([U,F],_,i,e))return"\xd7";if(tt(12,12,i,e))return"\xd7";if(s===y)return"\xf7";if(23===s||23===l)return"\xd7";if(16===l||16===s)return"\xf7";if(-1!==[C,Q,_].indexOf(l)||14===s)return"\xd7";if(36===c&&-1!==$.indexOf(s))return"\xd7";if(s===H&&36===l)return"\xd7";if(l===E&&-1!==G.concat(E,N,I,R,P,D).indexOf(s))return"\xd7";if(-1!==G.indexOf(l)&&s===I||-1!==G.indexOf(s)&&l===I)return"\xd7";if(s===T&&-1!==[R,P,D].indexOf(l)||-1!==[R,P,D].indexOf(s)&&l===x)return"\xd7";if(-1!==G.indexOf(s)&&-1!==W.indexOf(l)||-1!==W.indexOf(s)&&-1!==G.indexOf(l))return"\xd7";if(-1!==[T,x].indexOf(s)&&(l===I||-1!==[S,Q].indexOf(l)&&e[a+1]===I)||-1!==[S,Q].indexOf(s)&&l===I||s===I&&-1!==[I,H,L].indexOf(l))return"\xd7";if(-1!==[I,H,L,U,F].indexOf(l))for(var u=i;u>=0;){if((h=e[u])===I)return"\xd7";if(-1===[H,L].indexOf(h))break;u--}if(-1!==[T,x].indexOf(l))for(u=-1!==[U,F].indexOf(s)?o:i;u>=0;){var h;if((h=e[u])===I)return"\xd7";if(-1===[H,L].indexOf(h))break;u--}if(M===s&&-1!==[M,z,K,O].indexOf(l)||-1!==[z,K].indexOf(s)&&-1!==[z,j].indexOf(l)||-1!==[j,O].indexOf(s)&&l===j)return"\xd7";if(-1!==Z.indexOf(s)&&-1!==[E,x].indexOf(l)||-1!==Z.indexOf(l)&&s===T)return"\xd7";if(-1!==G.indexOf(s)&&-1!==G.indexOf(l))return"\xd7";if(s===L&&-1!==G.indexOf(l))return"\xd7";
1if(-1!==G.concat(I).indexOf(s)&&l===S||-1!==G.concat(I).indexOf(l)&&s===F)return"\xd7";if(41===s&&41===l){for(var f=A[i],d=1;f>0&&41===e[--f];)d++;if(d%2!=0)return"\xd7"}return s===P&&l===D?"\xd7":"\xf7"},nt=function(){function t(t,e,A,n){this.codePoints=t,this.required="!"===e,this.start=A,this.end=n}return t.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},t}();!function(t){t[t.STRING_TOKEN=0]="STRING_TOKEN",t[t.BAD_STRING_TOKEN=1]="BAD_STRING_TOKEN",t[t.LEFT_PARENTHESIS_TOKEN=2]="LEFT_PARENTHESIS_TOKEN",t[t.RIGHT_PARENTHESIS_TOKEN=3]="RIGHT_PARENTHESIS_TOKEN",t[t.COMMA_TOKEN=4]="COMMA_TOKEN",t[t.HASH_TOKEN=5]="HASH_TOKEN",t[t.DELIM_TOKEN=6]="DELIM_TOKEN",t[t.AT_KEYWORD_TOKEN=7]="AT_KEYWORD_TOKEN",t[t.PREFIX_MATCH_TOKEN=8]="PREFIX_MATCH_TOKEN",t[t.DASH_MATCH_TOKEN=9]="DASH_MATCH_TOKEN",t[t.INCLUDE_MATCH_TOKEN=10]="INCLUDE_MATCH_TOKEN",t[t.LEFT_CURLY_BRACKET_TOKEN=11]="LEFT_CURLY_BRACKET_TOKEN",t[t.RIGHT_CURLY_BRACKET_TOKEN=12]="RIGHT_CURLY_BRACKET_TOKEN",t[t.SUFFIX_MATCH_TOKEN=13]="SUFFIX_MATCH_TOKEN",t[t.SUBSTRING_MATCH_TOKEN=14]="SUBSTRING_MATCH_TOKEN",t[t.DIMENSION_TOKEN=15]="DIMENSION_TOKEN",t[t.PERCENTAGE_TOKEN=16]="PERCENTAGE_TOKEN",t[t.NUMBER_TOKEN=17]="NUMBER_TOKEN",t[t.FUNCTION=18]="FUNCTION",t[t.FUNCTION_TOKEN=19]="FUNCTION_TOKEN",t[t.IDENT_TOKEN=20]="IDENT_TOKEN",t[t.COLUMN_TOKEN=21]="COLUMN_TOKEN",t[t.URL_TOKEN=22]="URL_TOKEN",t[t.BAD_URL_TOKEN=23]="BAD_URL_TOKEN",t[t.CDC_TOKEN=24]="CDC_TOKEN",t[t.CDO_TOKEN=25]="CDO_TOKEN",t[t.COLON_TOKEN=26]="COLON_TOKEN",t[t.SEMICOLON_TOKEN=27]="SEMICOLON_TOKEN",t[t.LEFT_SQUARE_BRACKET_TOKEN=28]="LEFT_SQUARE_BRACKET_TOKEN",t[t.RIGHT_SQUARE_BRACKET_TOKEN=29]="RIGHT_SQUARE_BRACKET_TOKEN",t[t.UNICODE_RANGE_TOKEN=30]="UNICODE_RANGE_TOKEN",t[t.WHITESPACE_TOKEN=31]="WHITESPACE_TOKEN",t[t.EOF_TOKEN=32]="EOF_TOKEN"}
1(h||(h={}));var rt=function(t){return t>=48&&t<=57},it=function(t){return rt(t)||t>=65&&t<=70||t>=97&&t<=102},ot=function(t){return 10===t||9===t||32===t},at=function(t){return function(t){return function(t){return t>=97&&t<=122}(t)||function(t){return t>=65&&t<=90}(t)}(t)||function(t){return t>=128}(t)||95===t},st=function(t){return at(t)||rt(t)||45===t},ct=function(t){return t>=0&&t<=8||11===t||t>=14&&t<=31||127===t},lt=function(t,e){return 92===t&&10!==e},ut=function(t,e,A){return 45===t?at(e)||lt(e,A):!!at(t)||!(92!==t||!lt(t,e))},ht=function(t,e,A){return 43===t||45===t?!!rt(e)||46===e&&rt(A):rt(46===t?e:t)},ft=function(t){var e=0,A=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(A=-1),e++);for(var n=[];rt(t[e]);)n.push(t[e++]);var r=n.length?parseInt(s.apply(void 0,n),10):0;46===t[e]&&e++;for(var i=[];rt(t[e]);)i.push(t[e++]);var o=i.length,a=o?parseInt(s.apply(void 0,i),10):0;69!==t[e]&&101!==t[e]||e++;var c=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(c=-1),e++);for(var l=[];rt(t[e]);)l.push(t[e++]);var u=l.length?parseInt(s.apply(void 0,l),10):0;return A*(r+a*Math.pow(10,-o))*Math.pow(10,c*u)},dt={type:h.LEFT_PARENTHESIS_TOKEN},pt={type:h.RIGHT_PARENTHESIS_TOKEN},gt={type:h.COMMA_TOKEN},Bt={type:h.SUFFIX_MATCH_TOKEN},bt={type:h.PREFIX_MATCH_TOKEN},wt={type:h.COLUMN_TOKEN},mt={type:h.DASH_MATCH_TOKEN},vt={type:h.INCLUDE_MATCH_TOKEN},yt={type:h.LEFT_CURLY_BRACKET_TOKEN},Ct={type:h.RIGHT_CURLY_BRACKET_TOKEN},Qt={type:h.SUBSTRING_MATCH_TOKEN},Ut={type:h.BAD_URL_TOKEN},Ft={type:h.BAD_STRING_TOKEN},Nt={type:h.CDO_TOKEN},Et={type:h.CDC_TOKEN},_t={type:h.COLON_TOKEN},St={type:h.SEMICOLON_TOKEN},Lt={type:h.LEFT_SQUARE_BRACKET_TOKEN},It={type:h.RIGHT_SQUARE_BRACKET_TOKEN},xt={type:h.WHITESPACE_TOKEN},Tt={type:h.EOF_TOKEN},Ht=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(a(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Tt;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),A=this.peekCodePoint(1),n=this.peekCodePoint(2);if(st(e)||lt(A,n)){var r=ut(e,A,n)?2:1,i=this.consumeName();return{type:h.HASH_TOKEN,value:i,flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Bt;break;case 39:return this.consumeStringToken(39);case 40:return dt;case 41:return pt;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),Qt;break;case 43:if(ht(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 44:return gt;case 45:var o=t,a=this.peekCodePoint(0),c=this.peekCodePoint(1);if(ht(o,a,c))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(ut(o,a,c))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(45===a&&62===c)return this.consumeCodePoint(),this.consumeCodePoint(),Et;break;case 46:if(ht(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(-1===l)return this.consumeToken()}break;case 58:return _t;case 59:return St;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Nt;break;case 64:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(ut(u,f,d))return i=this.consumeName(),{type:h.AT_KEYWORD_TOKEN,value:i};break;case 91:return Lt;case 92:if(lt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case 93:return It;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),bt;break;case 123:return yt;case 125:return Ct;case 117:case 85:var p=this.peekCodePoint(0),g=this.peekCodePoint(1);return 43!==p||!it(g)&&63!==g||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),mt;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),wt;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),vt;break;case-1:return Tt}return ot(t)?(this.consumeWhiteSpace(),xt):rt(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):at(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:h.DELIM_TOKEN,value:s(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();it(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var A=!1;63===e&&t.length<6;)t.push(e),e=this.consumeCodePoint(),A=!0;if(A){var n=parseInt(s.apply(void 0,t.map((function(t){return 63===t?48:t}))),16),r=parseInt(s.apply(void 0,t.map((function(t){return 63===t?70:t}))),16);return{type:h.UNICODE_RANGE_TOKEN,start:n,end:r}}var i=parseInt(s.apply(void 0,t),16);if(45===this.peekCodePoint(0)&&it(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var o=[];it(e)&&o.length<6;)o.push(e),e=this.consumeCodePoint();return r=parseInt(s.apply(void 0,o),16),{type:h.UNICODE_RANGE_TOKEN,start:i,end:r}}return{type:h.UNICODE_RANGE_TOKEN,start:i,end:i}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.FUNCTION_TOKEN,value:t}):{type:h.IDENT_TOKEN,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:h.URL_TOKEN,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var A=this.consumeStringToken(this.consumeCodePoint());return A.type===h.STRING_TOKEN&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:A.value}):(this.consumeBadUrlRemnants(),Ut)}for(;;){var n=this.consumeCodePoint();if(-1===n||41===n)return{type:h.URL_TOKEN,value:s.apply(void 0,t)};if(ot(n))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:h.URL_TOKEN,value:s.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Ut);if(34===n||39===n||40===n||ct(n))return this.consumeBadUrlRemnants(),Ut;if(92===n){if(!lt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Ut;t.push(this.consumeEscapedCodePoint())}else t.push(n)}},t.prototype.consumeWhiteSpace=function(){for(;ot(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(41===t||-1===t)return;lt(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e="";t>0;){var A=Math.min(6e4,t);e+=s.apply(void 0,this._value.splice(0,A)),t-=A}return this._value.shift(),e},t.prototype.consumeStringToken=function(t){for(var e="",A=0;;){var n=this._value[A];
1if(-1===n||void 0===n||n===t)return e+=this.consumeStringSlice(A),{type:h.STRING_TOKEN,value:e};if(10===n)return this._value.splice(0,A),Ft;if(92===n){var r=this._value[A+1];-1!==r&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(A),A=-1,this._value.shift()):lt(n,r)&&(e+=this.consumeStringSlice(A),e+=s(this.consumeEscapedCodePoint()),A=-1))}A++}},t.prototype.consumeNumber=function(){var t=[],e=4,A=this.peekCodePoint(0);for(43!==A&&45!==A||t.push(this.consumeCodePoint());rt(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(46===A&&rt(n))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;rt(this.peekCodePoint(0));)t.push(this.consumeCodePoint());A=this.peekCodePoint(0),n=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===A||101===A)&&((43===n||45===n)&&rt(r)||rt(n)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;rt(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[ft(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],A=t[1],n=this.peekCodePoint(0),r=this.peekCodePoint(1),i=this.peekCodePoint(2);if(ut(n,r,i)){var o=this.consumeName();return{type:h.DIMENSION_TOKEN,number:e,flags:A,unit:o}}return 37===n?(this.consumeCodePoint(),{type:h.PERCENTAGE_TOKEN,number:e,flags:A}):{type:h.NUMBER_TOKEN,number:e,flags:A}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(it(t)){for(var e=s(t);it(this.peekCodePoint(0))&&e.length<6;)e+=s(this.consumeCodePoint());ot(this.peekCodePoint(0))&&this.consumeCodePoint();var A=parseInt(e,16);return 0===A||function(t){return t>=55296&&t<=57343}(A)||A>1114111?65533:A}return-1===t?65533:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(st(e))t+=s(e);else{if(!lt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=s(this.consumeEscapedCodePoint())}}},t}(),kt=function(){function t(t){this._tokens=t}return t.create=function(e){var A=new Ht;return A.write(e),new t(A.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===h.WHITESPACE_TOKEN;)t=this.consumeToken();if(t.type===h.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(t.type===h.WHITESPACE_TOKEN);if(t.type===h.EOF_TOKEN)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(e.type===h.EOF_TOKEN)return t;
1t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case h.LEFT_CURLY_BRACKET_TOKEN:case h.LEFT_SQUARE_BRACKET_TOKEN:case h.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(t.type);case h.FUNCTION_TOKEN:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},A=this.consumeToken();;){if(A.type===h.EOF_TOKEN||Vt(A,t))return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue()),A=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:h.FUNCTION};;){var A=this.consumeToken();if(A.type===h.EOF_TOKEN||A.type===h.RIGHT_PARENTHESIS_TOKEN)return e;this.reconsumeToken(A),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Tt:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),Pt=function(t){return t.type===h.DIMENSION_TOKEN},Dt=function(t){return t.type===h.NUMBER_TOKEN},Kt=function(t){return t.type===h.IDENT_TOKEN},Ot=function(t){return t.type===h.STRING_TOKEN},Rt=function(t,e){return Kt(t)&&t.value===e},Mt=function(t){return t.type!==h.WHITESPACE_TOKEN},zt=function(t){return t.type!==h.WHITESPACE_TOKEN&&t.type!==h.COMMA_TOKEN},jt=function(t){var e=[],A=[];return t.forEach((function(t){if(t.type===h.COMMA_TOKEN){if(0===A.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(A),void(A=[])}t.type!==h.WHITESPACE_TOKEN&&A.push(t)})),A.length&&e.push(A),e},Vt=function(t,e){return e===h.LEFT_CURLY_BRACKET_TOKEN&&t.type===h.RIGHT_CURLY_BRACKET_TOKEN||e===h.LEFT_SQUARE_BRACKET_TOKEN&&t.type===h.RIGHT_SQUARE_BRACKET_TOKEN||e===h.LEFT_PARENTHESIS_TOKEN&&t.type===h.RIGHT_PARENTHESIS_TOKEN},qt=function(t){return t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN},Gt=function(t){return t.type===h.PERCENTAGE_TOKEN||qt(t)},Xt=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Jt={type:h.NUMBER_TOKEN,number:0,flags:4},Wt={type:h.PERCENTAGE_TOKEN,number:50,flags:4},Yt={type:h.PERCENTAGE_TOKEN,number:100,flags:4},Zt=function(t,e,A){var n=t[0],r=t[1];return[$t(n,e),$t(void 0!==r?r:n,A)]},$t=function(t,e){if(t.type===h.PERCENTAGE_TOKEN)return t.number/100*e;if(Pt(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},te=function(t){if(t.type===h.DIMENSION_TOKEN)switch(t.unit){case"deg":return Math.PI*t.number/180;case"grad":return Math.PI/200*t.number;case"rad":return t.number;case"turn":return 2*Math.PI*t.number}throw new Error("Unsupported angle type")},ee=function(t){return t.type===h.DIMENSION_TOKEN&&("deg"===t.unit||"grad"===t.unit||"rad"===t.unit||"turn"===t.unit)},Ae=function(t){switch(t.filter(Kt).map((function(t){return t.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Jt,Jt];case"to top":case"bottom":return ne(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Jt,Yt];case"to right":case"left":return ne(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Yt,Yt];case"to bottom":case"top":return ne(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Yt,Jt];case"to left":case"right":return ne(270)}return 0},ne=function(t){return Math.PI*t/180},re=function(t){if(t.type===h.FUNCTION){var e=de[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(t.values)}if(t.type===h.HASH_TOKEN){if(3===t.value.length){var A=t.value.substring(0,1),n=t.value.substring(1,2),r=t.value.substring(2,3);return ae(parseInt(A+A,16),parseInt(n+n,16),parseInt(r+r,16),1)}if(4===t.value.length){A=t.value.substring(0,1),n=t.value.substring(1,2),r=t.value.substring(2,3);var i=t.value.substring(3,4);return ae(parseInt(A+A,16),parseInt(n+n,16),parseInt(r+r,16),parseInt(i+i,16)/255)}if(6===t.value.length)return A=t.value.substring(0,2),n=t.value.substring(2,4),r=t.value.substring(4,6),ae(parseInt(A,16),parseInt(n,16),parseInt(r,16),1);if(8===t.value.length)return A=t.value.substring(0,2),n=t.value.substring(2,4),r=t.value.substring(4,6),i=t.value.substring(6,8),ae(parseInt(A,16),parseInt(n,16),parseInt(r,16),parseInt(i,16)/255)}if(t.type===h.IDENT_TOKEN){var o=pe[t.value.toUpperCase()];if(void 0!==o)return o}return pe.TRANSPARENT},ie=function(t){return 0==(255&t)},oe=function(t){var e=255&t,A=255&t>>8,n=255&t>>16,r=255&t>>24;return e<255?"rgba("+r+","+n+","+A+","+e/255+")":"rgb("+r+","+n+","+A+")"},ae=function(t,e,A,n){return(t<<24|e<<16|A<<8|Math.round(255*n)<<0)>>>0},se=function(t,e){if(t.type===h.NUMBER_TOKEN)return t.number;if(t.type===h.PERCENTAGE_TOKEN){var A=3===e?1:255;return 3===e?t.number/100*A:Math.round(t.number/100*A)}return 0},ce=function(t){var e=t.filter(zt);if(3===e.length){var A=e.map(se);return ae(A[0],A[1],A[2],1)}if(4===e.length){var n=e.map(se);return ae(n[0],n[1],n[2],n[3])}return 0};function le(t,e,A){return A<0&&(A+=1),A>=1&&(A-=1),A<1/6?(e-t)*A*6+t:A<.5?e:A<2/3?6*(e-t)*(2/3-A)+t:t}var ue,he,fe=function(t){var e=t.filter(zt),A=e[0],n=e[1],r=e[2],i=e[3],o=(A.type===h.NUMBER_TOKEN?ne(A.number):te(A))/(2*Math.PI),a=Gt(n)?n.number/100:0,s=Gt(r)?r.number/100:0,
vendor: 1,474 bytes, line 1
1c=void 0!==i&&Gt(i)?$t(i,1):1;if(0===a)return ae(255*s,255*s,255*s,1);var l=s<=.5?s*(a+1):s+a-s*a,u=2*s-l,f=le(u,l,o+1/3),d=le(u,l,o),p=le(u,l,o-1/3);return ae(255*f,255*d,255*p,c)},de={hsl:fe,hsla:fe,rgb:ce,rgba:ce},pe={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:404164
11215,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};(function(t){t[t.VALUE=0]="VALUE",t[t.LIST=1]="LIST",t[t.IDENT_VALUE=2]="IDENT_VALUE",t[t.TYPE_VALUE=3]="TYPE_VALUE",t[t.TOKEN_VALUE=4]="TOKEN_VALUE"})(ue||(ue={})),function(t){t[t.BORDER_BOX=0]="BORDER_BOX",t[t.PADDING_BOX=1]="PADDING_BOX",t[t.CONTENT_BOX=2]="CONTENT_BOX"}(he||(he={}));var ge,Be,be,we={name:"background-clip",initialValue:"border-box",prefix:!1,type:ue.LIST,parse:function(t){return t.map((function(t){if(Kt(t))switch(t.value){case"padding-box":return he.PADDING_BOX;case"content-box":return he.CONTENT_BOX}return he.BORDER_BOX}))}},me={name:"background-color",initialValue:"transparent",prefix:!1,type:ue.TYPE_VALUE,format:"color"},ve=function(t){var e=re(t[0]),A=t[1];return A&&Gt(A)?{color:e,stop:A}:{color:e,stop:null}},ye=function(t,e){var A=t[0],n=t[t.length-1];null===A.stop&&(A.stop=Jt),null===n.stop&&(n.stop=Yt);for(var r=[],i=0,o=0;o<t.length;o++){var a=t[o].stop;if(null!==a){var s=$t(a,e);r.push(s>i?s:i),i=s}else r.push(null)}var c=null;for(o=0;o<r.length;o++){var l=r[o];if(null===l)null===c&&(c=o);else if(null!==c){for(var u=o-c,h=(l-r[c-1])/(u+1),f=1;f<=u;f++)r[c+f-1]=h*f;c=null}}return t.map((function(t,A){return{color:t.color,stop:Math.max(Math.min(1,r[A]/e),0)}}))},Ce=function(t,e){return Math.sqrt(t*t+e*e)},Qe=function(t,e,A,n,r){return[[0,0],[0,e],[t,0],[t,e]].reduce((function(t,e){var i=Ce(A-e[0],n-e[1]);return(r?i<t.optimumDistance:i>t.optimumDistance)?{optimumCorner:e,optimumDistance:i}:t}),{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},Ue=function(t){var e=ne(180),A=[];return jt(t).forEach((function(t,n){if(0===n){var r=t[0];if(r.type===h.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(r.value))return void(e=Ae(t));if(ee(r))return void(e=(te(r)+ne(270))%ne(360))}var i=ve(t);A.push(i)})),{angle:e,stops:A,type:ge.LINEAR_GRADIENT}},Fe=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Ne=function(t,e,A,n,r){var i="http://www.w3.org/2000/svg",o=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return o.setAttributeNS(null,"width",t.toString()),o.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",A.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(r),o},Ee=function(t){return new Promise((function(e,A){var n=new Image;n.onload=function(){return e(n)},n.onerror=A,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},_e={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var A=t.createElement("boundtest");A.style.height="123px",A.style.display="block",t.body.appendChild(A),e.selectNode(A);var n=e.getBoundingClientRect(),r=Math.round(n.height);if(t.body.removeChild(A),123===r)return!0}}return!1}(document);return Object.defineProperty(_e,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var e=new Image,A=t.createElement("canvas"),n=A.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),A.toDataURL()}catch(r){return!1}return!0}(document);return Object.defineProperty(_e,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?function(t){var e=t.createElement("canvas");e.width=100,e.height=100;var A=e.getContext("2d");if(!A)return Promise.reject(!1);A.fillStyle="rgb(0, 255, 0)",A.fillRect(0,0,100,100);var n=new Image,r=e.toDataURL();n.src=r;var i=Ne(100,100,0,0,n);return A.fillStyle="red",A.fillRect(0,0,100,100),Ee(i).then((function(e){A.drawImage(e,0,0);var n=A.getImageData(0,0,100,100).data;A.fillStyle="red",A.fillRect(0,0,100,100);var i=t.createElement("div");return i.style.backgroundImage="url("+r+")",i.style.height="100px",Fe(n)?Ee(Ne(100,100,0,0,i)):Promise.reject(!1)})).then((function(t){return A.drawImage(t,0,0),Fe(A.getImageData(0,0,100,100).data)})).catch((function(){return!1}))}
1(document):Promise.resolve(!1);return Object.defineProperty(_e,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(_e,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(_e,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(_e,"SUPPORT_CORS_XHR",{value:t}),t}},Se=function(){function t(t){var e=t.enabled;this.id=t.id,this.enabled=e,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,[this.id,this.getTime()+"ms"].concat(t)):this.info.apply(this,t))},t.prototype.getTime=function(){return Date.now()-this.start},t.create=function(e){t.instances[e.id]=new t(e)},t.destroy=function(e){delete t.instances[e]},t.getInstance=function(e){var A=t.instances[e];if(void 0===A)throw new Error("No logger instance found with id "+e);return A},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,[this.id,this.getTime()+"ms"].concat(t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,[this.id,this.getTime()+"ms"].concat(t)):this.info.apply(this,t))},t.instances={},t}(),Le=function(){function t(){}return t.create=function(e,A){return t._caches[e]=new Ie(e,A)},t.destroy=function(e){delete t._caches[e]},t.open=function(e){var A=t._caches[e];if(void 0!==A)return A;throw new Error('Cache with key "'+e+'" not found')},t.getOrigin=function(e){var A=t._link;return A?(A.href=e,A.href=A.href,A.protocol+A.hostname+A.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t.getInstance=function(){var e=t._current;if(null===e)throw new Error("No cache instance attached");return e},t.attachInstance=function(e){t._current=e},t.detachInstance=function(){t._current=null},t._caches={},t._origin="about:blank",t._current=null,t}(),Ie=function(){function t(t,e){this.id=t,this._options=e,this._cache={}}return t.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)?e:Ke(t)||ke(t)?(this._cache[t]=this.loadImage(t),e):e},t.prototype.match=function(t){return this._cache[t]},t.prototype.loadImage=function(t){return n(this,void 0,void 0,(function(){var e,A,n,i,o=this;return r(this,(function(r){switch(r.label){case 0:return e=Le.isSameOrigin(t),A=!Pe(t)&&!0===this._options.useCORS&&_e.SUPPORT_CORS_IMAGES&&!e,n=!Pe(t)&&!e&&"string"==typeof this._options.proxy&&_e.SUPPORT_CORS_XHR&&!A,e||!1!==this._options.allowTaint||Pe(t)||n||A?(i=t,n?[4,this.proxy(i)]:[3,2]):[2];case 1:i=r.sent(),r.label=2;case 2:return Se.getInstance(this.id).debug("Added image "+t.substring(0,256)),[4,new Promise((function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,(De(i)||A)&&(n.crossOrigin="anonymous"),n.src=i,!0===n.complete&&setTimeout((function(){return t(n)}),500),o._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+o._options.imageTimeout+"ms) loading image")}),o._options.imageTimeout)}))];case 3:return[2,r.sent()]}}))}))},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,A=this._options.proxy;if(!A)throw new Error("No proxy defined");var n=t.substring(0,256);return new Promise((function(r,i){var o=_e.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;if(a.onload=function(){if(200===a.status)if("text"===o)r(a.response);else{var t=new FileReader;t.addEventListener("load",(function(){return r(t.result)}),!1),t.addEventListener("error",(function(t){return i(t)}
1),!1),t.readAsDataURL(a.response)}else i("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=i,a.open("GET",A+"?url="+encodeURIComponent(t)+"&responseType="+o),"text"!==o&&a instanceof XMLHttpRequest&&(a.responseType=o),e._options.imageTimeout){var s=e._options.imageTimeout;a.timeout=s,a.ontimeout=function(){return i("Timed out ("+s+"ms) proxying "+n)}}a.send()}))},t}(),xe=/^data:image\/svg\+xml/i,Te=/^data:image\/.*;base64,/i,He=/^data:image\/.*/i,ke=function(t){return _e.SUPPORT_SVG_DRAWING||!Oe(t)},Pe=function(t){return He.test(t)},De=function(t){return Te.test(t)},Ke=function(t){return"blob"===t.substr(0,4)},Oe=function(t){return"svg"===t.substr(-3).toLowerCase()||xe.test(t)},Re=function(t){var e=Be.CIRCLE,A=be.FARTHEST_CORNER,n=[],r=[];return jt(t).forEach((function(t,i){var o=!0;if(0===i?o=t.reduce((function(t,e){if(Kt(e))switch(e.value){case"center":return r.push(Wt),!1;case"top":case"left":return r.push(Jt),!1;case"right":case"bottom":return r.push(Yt),!1}else if(Gt(e)||qt(e))return r.push(e),!1;return t}),o):1===i&&(o=t.reduce((function(t,n){if(Kt(n))switch(n.value){case"circle":return e=Be.CIRCLE,!1;case"ellipse":return e=Be.ELLIPSE,!1;case"contain":case"closest-side":return A=be.CLOSEST_SIDE,!1;case"farthest-side":return A=be.FARTHEST_SIDE,!1;case"closest-corner":return A=be.CLOSEST_CORNER,!1;case"cover":case"farthest-corner":return A=be.FARTHEST_CORNER,!1}else if(qt(n)||Gt(n))return Array.isArray(A)||(A=[]),A.push(n),!1;return t}),o)),o){var a=ve(t);n.push(a)}})),{size:A,shape:e,stops:n,position:r,type:ge.RADIAL_GRADIENT}};!function(t){t[t.URL=0]="URL",t[t.LINEAR_GRADIENT=1]="LINEAR_GRADIENT",t[t.RADIAL_GRADIENT=2]="RADIAL_GRADIENT"}(ge||(ge={})),function(t){t[t.CIRCLE=0]="CIRCLE",t[t.ELLIPSE=1]="ELLIPSE"}(Be||(Be={})),function(t){t[t.CLOSEST_SIDE=0]="CLOSEST_SIDE",t[t.FARTHEST_SIDE=1]="FARTHEST_SIDE",t[t.CLOSEST_CORNER=2]="CLOSEST_CORNER",t[t.FARTHEST_CORNER=3]="FARTHEST_CORNER"}(be||(be={}));var Me,ze=function(t){if(t.type===h.URL_TOKEN){var e={url:t.value,type:ge.URL};return Le.getInstance().addImage(t.value),e}if(t.type===h.FUNCTION){var A=je[t.name];if(void 0===A)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return A(t.values)}throw new Error("Unsupported image type")},je={"linear-gradient":function(t){var e=ne(180),A=[];return jt(t).forEach((function(t,n){if(0===n){var r=t[0];if(r.type===h.IDENT_TOKEN&&"to"===r.value)return void(e=Ae(t));if(ee(r))return void(e=te(r))}var i=ve(t);A.push(i)})),{angle:e,stops:A,type:ge.LINEAR_GRADIENT}},"-moz-linear-gradient":Ue,"-ms-linear-gradient":Ue,"-o-linear-gradient":Ue,"-webkit-linear-gradient":Ue,"radial-gradient":function(t){var e=Be.CIRCLE,A=be.FARTHEST_CORNER,n=[],r=[];return jt(t).forEach((function(t,i){var o=!0;if(0===i){var a=!1;o=t.reduce((function(t,n){if(a)if(Kt(n))switch(n.value){case"center":return r.push(Wt),t;case"top":case"left":return r.push(Jt),t;case"right":case"bottom":return r.push(Yt),t}else(Gt(n)||qt(n))&&r.push(n);else if(Kt(n))switch(n.value){case"circle":return e=Be.CIRCLE,!1;case"ellipse":return e=Be.ELLIPSE,!1;case"at":return a=!0,!1;case"closest-side":return A=be.CLOSEST_SIDE,!1;case"cover":case"farthest-side":return A=be.FARTHEST_SIDE,!1;case"contain":case"closest-corner":return A=be.CLOSEST_CORNER,!1;case"farthest-corner":return A=be.FARTHEST_CORNER,!1}else if(qt(n)||Gt(n))return Array.isArray(A)||(A=[]),A.push(n),!1;return t}),o)}if(o){var s=ve(t);n.push(s)}})),{size:A,shape:e,stops:n,position:r,type:ge.RADIAL_GRADIENT}},"-moz-radial-gradient":Re,"-ms-radial-gradient":Re,"-o-radial-gradient":Re,"-webkit-radial-gradient":Re,"-webkit-gradient":function(t){var e=ne(180),A=[],n=ge.LINEAR_GRADIENT,r=Be.CIRCLE,i=be.FARTHEST_CORNER;return jt(t).forEach((function(t,e){var r=t[0];if(0===e){if(Kt(r)&&"linear"===r.value)return void(n=ge.LINEAR_GRADIENT);if(Kt(r)&&"radial"===r.value)return void(n=ge.RADIAL_GRADIENT)}if(r.type===h.FUNCTION)if("from"===r.name){var i=re(r.values[0]);A.push({stop:Jt,color:i})}else if("to"===r.name)i=re(r.values[0]),A.push({stop:Yt,color:i});else if("color-stop"===r.name){var o=r.values.filter(zt);if(2===o.length){i=re(o[1]);var a=o[0];Dt(a)&&A.push({stop:{type:h.PERCENTAGE_TOKEN,number:100*a.number,flags:a.flags},color:i})}}})),n===ge.LINEAR_GRADIENT?{angle:(e+ne(180))%ne(360),stops:A,type:n}:{size:i,shape:r,stops:A,position:[],type:n}}},Ve={name:"background-image",initialValue:"none",type:ue.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===h.IDENT_TOKEN&&"none"===e.value?[]:t.filter((function(t){return zt(t)&&function(t){return t.type!==h.FUNCTION||je[t.name]}(t)})).map(ze)}},qe={name:"background-origin",initialValue:"border-box",prefix:!1,type:ue.LIST,parse:function(t){return t.map((function(t){if(Kt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ge={name:"background-position",initialValue:"0% 0%",type:ue.LIST,prefix:!1,parse:function(t){return jt(t).map((function(t){return t.filter(Gt)})).map(Xt)}};!function(t){t[t.REPEAT=0]="REPEAT",t[t.NO_REPEAT=1]="NO_REPEAT",t[t.REPEAT_X=2]="REPEAT_X",t[t.REPEAT_Y=3]="REPEAT_Y"}(Me||(Me={}));var Xe,Je={name:"background-repeat",initialValue:"repeat",prefix:!1,type:ue.LIST,parse:function(t){return jt(t).map((function(t){return t.filter(Kt).map((function(t){return t.value})).join(" ")})).map(We)}},We=function(t){switch(t){case"no-repeat":return Me.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return Me.REPEAT_X;case"repeat-y":case"no-repeat repeat":return Me.REPEAT_Y;case"repeat":default:return Me.REPEAT}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(Xe||(Xe={}));var Ye,Ze={name:"background-size",initialValue:"0",prefix:!1,type:ue.LIST,parse:function(t){return jt(t).map((function(t){return t.filter($e)}))}},$e=function(t){return Kt(t)||Gt(t)},tA=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:ue.TYPE_VALUE,format:"color"}},eA=tA("top"),AA=tA("right"),nA=tA("bottom"),rA=tA("left"),iA=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:ue.LIST,parse:function(t){return Xt(t.filter(Gt))}}},oA=iA("top-left"),aA=iA("top-right"),sA=iA("bottom-right"),cA=iA("bottom-left");!function(t){t[t.NONE=0]="NONE",t[t.SOLID=1]="SOLID"}(Ye||(Ye={}));var lA,uA=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"none":return Ye.NONE}return Ye.SOLID}}},hA=uA("top"),fA=uA("right"),dA=uA("bottom"),pA=uA("left"),gA=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:ue.VALUE,prefix:!1,parse:function(t){return Pt(t)?t.number:0}}},BA=gA("top"),bA=gA("right"),wA=gA("bottom"),mA=gA("left"),vA={name:"color",initialValue:"transparent",prefix:!1,type:ue.TYPE_VALUE,format:"color"}
1,yA={name:"display",initialValue:"inline-block",prefix:!1,type:ue.LIST,parse:function(t){return t.filter(Kt).reduce((function(t,e){return t|CA(e.value)}),0)}},CA=function(t){switch(t){case"block":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};!function(t){t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.INLINE_START=3]="INLINE_START",t[t.INLINE_END=4]="INLINE_END"}(lA||(lA={}));var QA,UA={name:"float",initialValue:"none",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"left":return lA.LEFT;case"right":return lA.RIGHT;case"inline-start":return lA.INLINE_START;case"inline-end":return lA.INLINE_END}return lA.NONE}},FA={name:"letter-spacing",initialValue:"0",prefix:!1,type:ue.VALUE,parse:function(t){return t.type===h.IDENT_TOKEN&&"normal"===t.value?0:t.type===h.NUMBER_TOKEN||t.type===h.DIMENSION_TOKEN?t.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(QA||(QA={}));var NA,EA={name:"line-break",initialValue:"normal",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"strict":return QA.STRICT;case"normal":default:return QA.NORMAL}}},_A={name:"line-height",initialValue:"normal",prefix:!1,type:ue.TOKEN_VALUE},SA={name:"list-style-image",initialValue:"none",type:ue.VALUE,prefix:!1,parse:function(t){return t.type===h.IDENT_TOKEN&&"none"===t.value?null:ze(t)}};!function(t){t[t.INSIDE=0]="INSIDE",t[t.OUTSIDE=1]="OUTSIDE"}(NA||(NA={}));var LA,IA={name:"list-style-position",initialValue:"outside",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"inside":return NA.INSIDE;case"outside":default:return NA.OUTSIDE}}};!function(t){t[t.NONE=-1]="NONE",t[t.DISC=0]="DISC",t[t.CIRCLE=1]="CIRCLE",t[t.SQUARE=2]="SQUARE",t[t.DECIMAL=3]="DECIMAL",t[t.CJK_DECIMAL=4]="CJK_DECIMAL",t[t.DECIMAL_LEADING_ZERO=5]="DECIMAL_LEADING_ZERO",t[t.LOWER_ROMAN=6]="LOWER_ROMAN",t[t.UPPER_ROMAN=7]="UPPER_ROMAN",t[t.LOWER_GREEK=8]="LOWER_GREEK",t[t.LOWER_ALPHA=9]="LOWER_ALPHA",t[t.UPPER_ALPHA=10]="UPPER_ALPHA",t[t.ARABIC_INDIC=11]="ARABIC_INDIC",t[t.ARMENIAN=12]="ARMENIAN",t[t.BENGALI=13]="BENGALI",t[t.CAMBODIAN=14]="CAMBODIAN",t[t.CJK_EARTHLY_BRANCH=15]="CJK_EARTHLY_BRANCH",t[t.CJK_HEAVENLY_STEM=16]="CJK_HEAVENLY_STEM",t[t.CJK_IDEOGRAPHIC=17]="CJK_IDEOGRAPHIC",t[t.DEVANAGARI=18]="DEVANAGARI",t[t.ETHIOPIC_NUMERIC=19]="ETHIOPIC_NUMERIC",t[t.GEORGIAN=20]="GEORGIAN",t[t.GUJARATI=21]="GUJARATI",t[t.GURMUKHI=22]="GURMUKHI",t[t.HEBREW=22]="HEBREW",t[t.HIRAGANA=23]="HIRAGANA",t[t.HIRAGANA_IROHA=24]="HIRAGANA_IROHA",t[t.JAPANESE_FORMAL=25]="JAPANESE_FORMAL",t[t.JAPANESE_INFORMAL=26]="JAPANESE_INFORMAL",t[t.KANNADA=27]="KANNADA",t[t.KATAKANA=28]="KATAKANA",t[t.KATAKANA_IROHA=29]="KATAKA
1NA_IROHA",t[t.KHMER=30]="KHMER",t[t.KOREAN_HANGUL_FORMAL=31]="KOREAN_HANGUL_FORMAL",t[t.KOREAN_HANJA_FORMAL=32]="KOREAN_HANJA_FORMAL",t[t.KOREAN_HANJA_INFORMAL=33]="KOREAN_HANJA_INFORMAL",t[t.LAO=34]="LAO",t[t.LOWER_ARMENIAN=35]="LOWER_ARMENIAN",t[t.MALAYALAM=36]="MALAYALAM",t[t.MONGOLIAN=37]="MONGOLIAN",t[t.MYANMAR=38]="MYANMAR",t[t.ORIYA=39]="ORIYA",t[t.PERSIAN=40]="PERSIAN",t[t.SIMP_CHINESE_FORMAL=41]="SIMP_CHINESE_FORMAL",t[t.SIMP_CHINESE_INFORMAL=42]="SIMP_CHINESE_INFORMAL",t[t.TAMIL=43]="TAMIL",t[t.TELUGU=44]="TELUGU",t[t.THAI=45]="THAI",t[t.TIBETAN=46]="TIBETAN",t[t.TRAD_CHINESE_FORMAL=47]="TRAD_CHINESE_FORMAL",t[t.TRAD_CHINESE_INFORMAL=48]="TRAD_CHINESE_INFORMAL",t[t.UPPER_ARMENIAN=49]="UPPER_ARMENIAN",t[t.DISCLOSURE_OPEN=50]="DISCLOSURE_OPEN",t[t.DISCLOSURE_CLOSED=51]="DISCLOSURE_CLOSED"}(LA||(LA={}));var xA,TA={name:"list-style-type",initialValue:"none",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"disc":return LA.DISC;case"circle":return LA.CIRCLE;case"square":return LA.SQUARE;case"decimal":return LA.DECIMAL;case"cjk-decimal":return LA.CJK_DECIMAL;case"decimal-leading-zero":return LA.DECIMAL_LEADING_ZERO;case"lower-roman":return LA.LOWER_ROMAN;case"upper-roman":return LA.UPPER_ROMAN;case"lower-greek":return LA.LOWER_GREEK;case"lower-alpha":return LA.LOWER_ALPHA;case"upper-alpha":return LA.UPPER_ALPHA;case"arabic-indic":return LA.ARABIC_INDIC;case"armenian":return LA.ARMENIAN;case"bengali":return LA.BENGALI;case"cambodian":return LA.CAMBODIAN;case"cjk-earthly-branch":return LA.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return LA.CJK_HEAVENLY_STEM;case"cjk-ideographic":return LA.CJK_IDEOGRAPHIC;case"devanagari":return LA.DEVANAGARI;case"ethiopic-numeric":return LA.ETHIOPIC_NUMERIC;case"georgian":return LA.GEORGIAN;case"gujarati":return LA.GUJARATI;case"gurmukhi":return LA.GURMUKHI;case"hebrew":return LA.HEBREW;case"hiragana":return LA.HIRAGANA;case"hiragana-iroha":return LA.HIRAGANA_IROHA;case"japanese-formal":return LA.JAPANESE_FORMAL;case"japanese-informal":return LA.JAPANESE_INFORMAL;case"kannada":return LA.KANNADA;case"katakana":return LA.KATAKANA;case"katakana-iroha":return LA.KATAKANA_IROHA;case"khmer":return LA.KHMER;case"korean-hangul-formal":return LA.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return LA.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return LA.KOREAN_HANJA_INFORMAL;case"lao":return LA.LAO;case"lower-armenian":return LA.LOWER_ARMENIAN;case"malayalam":return LA.MALAYALAM;case"mongolian":return LA.MONGOLIAN;case"myanmar":return LA.MYANMAR;case"oriya":return LA.ORIYA;case"persian":return LA.PERSIAN;case"simp-chinese-formal":return LA.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return LA.SIMP_CHINESE_INFORMAL;case"tamil":return LA.TAMIL;case"telugu":return LA.TELUGU;case"thai":return LA.THAI;case"tibetan":return LA.TIBETAN;case"trad-chinese-formal":return LA.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return LA.TRAD_CHINESE_INFORMAL;case"upper-armenian":return LA.UPPER_ARMENIAN;case"disclosure-open":return LA.DISCLOSURE_OPEN;case"disclosure-closed":return LA.DISCLOSURE_CLOSED;case"none":default:return LA.NONE}}},HA=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:ue.TOKEN_VALUE}},kA=HA("top"),PA=HA("right"),DA=HA("bottom"),KA=HA("left");!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.SCROLL=2]="SCROLL",t[t.AUTO=3]="AUTO"}(xA||(xA={}));var OA,RA={name:"overflow",initialValue:"visible",prefix:!1,type:ue.LIST,parse:function(t){return t.filter(Kt).map((function(t){switch(t.value){case"hidden":return xA.HIDDEN;case"scroll":return xA.SCROLL;case"auto":return xA.AUTO;case"visible":default:return xA.VISIBLE}}))}};!function(t){t.NORMAL="normal",t.BREAK_WORD="break-word"}(OA||(OA={}));var MA,zA={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"break-word":return OA.BREAK_WORD;case"normal":default:return OA.NORMAL}}},jA=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:ue.TYPE_VALUE,format:"length-percentage"}},VA=jA("top"),qA=jA("right"),GA=jA("bottom"),XA=jA("left");!function(t){t[t.LEFT=0]="LEFT",t[t.CENTER=1]="CENTER",t[t.RIGHT=2]="RIGHT"}(MA||(MA={}));var JA,WA={name:"text-align",initialValue:"left",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"right":return MA.RIGHT;case"center":case"justify":return MA.CENTER;case"left":default:return MA.LEFT}}};!function(t){t[t.STATIC=0]="STATIC",t[t.RELATIVE=1]="RELATIVE",t[t.ABSOLUTE=2]="ABSOLUTE",t[t.FIXED=3]="FIXED",t[t.STICKY=4]="STICKY"}(JA||(JA={}));var YA,ZA={name:"position",initialValue:"static",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"relative":return JA.RELATIVE;case"absolute":return JA.ABSOLUTE;case"fixed":return JA.FIXED;case"sticky":return JA.STICKY}return JA.STATIC}},$A={name:"text-shadow",initialValue:"none",type:ue.LIST,prefix:!1,parse:function(t){return 1===t.length&&Rt(t[0],"none")?[]:jt(t).map((function(t){for(var e={color:pe.TRANSPARENT,offsetX:Jt,offsetY:Jt,blur:Jt},A=0,n=0;n<t.length;n++){var r=t[n];qt(r)?(0===A?e.offsetX=r:1===A?e.offsetY=r:e.blur=r,A++):e.color=re(r)}return e}))}};!function(t){t[t.NONE=0]="NONE",t[t.LOWERCASE=1]="LOWERCASE",t[t.UPPERCASE=2]="UPPERCASE",t[t.CAPITALIZE=3]="CAPITALIZE"}(YA||(YA={}));var tn,en={name:"text-transform",initialValue:"none",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"uppercase":return YA.UPPERCASE;case"lowercase":return YA.LOWERCASE;case"capitalize":return YA.CAPITALIZE}return YA.NONE}},An={name:"transform",initialValue:"none",prefix:!0,type:ue.VALUE,parse:function(t){if(t.type===h.IDENT_TOKEN&&"none"===t.value)return null;if(t.type===h.FUNCTION){var e=nn[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return e(t.values)}return null}},nn={matrix:function(t){var e=t.filter((function(t){return t.type===h.NUMBER_TOKEN})).map((function(t){return t.number}));return 6===e.length?e:null},matrix3d:function(t){var e=t.filter((function(t){return t.type===h.NUMBER_TOKEN})).map((function(t){return t.number}));return 16===e.length?[e[0],e[1],e[4],e[5],e[12],e[13]]:null}},rn={type:h.PERCENTAGE_TOKEN,number:50,flags:4},on=[rn,rn],an={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:ue.LIST,parse:function(t){var e=t.filter(Gt);return 2!==e.length?on:[e[0],e[1]]}};!function(t){t[t.VISIBLE=0]="VISIBLE",t[t.HIDDEN=1]="HIDDEN",t[t.COLLAPSE=2]="COLLAPSE"}(tn||(tn={}));
1var sn,cn={name:"visible",initialValue:"none",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"hidden":return tn.HIDDEN;case"collapse":return tn.COLLAPSE;case"visible":default:return tn.VISIBLE}}};!function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"}(sn||(sn={}));var ln,un={name:"word-break",initialValue:"normal",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"break-all":return sn.BREAK_ALL;case"keep-all":return sn.KEEP_ALL;case"normal":default:return sn.NORMAL}}},hn={name:"z-index",initialValue:"auto",prefix:!1,type:ue.VALUE,parse:function(t){if(t.type===h.IDENT_TOKEN)return{auto:!0,order:0};if(Dt(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},fn={name:"opacity",initialValue:"1",type:ue.VALUE,prefix:!1,parse:function(t){return Dt(t)?t.number:1}},dn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:ue.TYPE_VALUE,format:"color"},pn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:ue.LIST,parse:function(t){return t.filter(Kt).map((function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(t){return 0!==t}))}},gn={name:"font-family",initialValue:"",prefix:!1,type:ue.LIST,parse:function(t){var e=[],A=[];return t.forEach((function(t){switch(t.type){case h.IDENT_TOKEN:case h.STRING_TOKEN:e.push(t.value);break;case h.NUMBER_TOKEN:e.push(t.number.toString());break;case h.COMMA_TOKEN:A.push(e.join(" ")),e.length=0}})),e.length&&A.push(e.join(" ")),A.map((function(t){return-1===t.indexOf(" ")?t:"'"+t+"'"}))}},Bn={name:"font-size",initialValue:"0",prefix:!1,type:ue.TYPE_VALUE,format:"length"},bn={name:"font-weight",initialValue:"normal",type:ue.VALUE,prefix:!1,parse:function(t){if(Dt(t))return t.number;if(Kt(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},wn={name:"font-variant",initialValue:"none",type:ue.LIST,prefix:!1,parse:function(t){return t.filter(Kt).map((function(t){return t.value}))}};!function(t){t.NORMAL="normal",t.ITALIC="italic",t.OBLIQUE="oblique"}(ln||(ln={}));var mn,vn={name:"font-style",initialValue:"normal",prefix:!1,type:ue.IDENT_VALUE,parse:function(t){switch(t){case"oblique":return ln.OBLIQUE;case"italic":return ln.ITALIC;case"normal":default:return ln.NORMAL}}},yn=function(t,e){return 0!=(t&e)},Cn={name:"content",initialValue:"none",type:ue.LIST,prefix:!1,parse:function(t){if(0===t.length)return[];var e=t[0];return e.type===h.IDENT_TOKEN&&"none"===e.value?[]:t}},Qn={name:"counter-increment",initialValue:"none",prefix:!0,type:ue.LIST,parse:function(t){if(0===t.length)return null;var e=t[0];if(e.type===h.IDENT_TOKEN&&"none"===e.value)return null;for(var A=[],n=t.filter(Mt),r=0;r<n.length;r++){var i=n[r],o=n[r+1];if(i.type===h.IDENT_TOKEN){var a=o&&Dt(o)?o.number:1;A.push({counter:i.value,increment:a})}}return A}},Un={name:"counter-reset",initialValue:"none",prefix:!0,type:ue.LIST,parse:function(t){if(0===t.length)return[];for(var e=[],A=t.filter(Mt),n=0;n<A.length;n++){var r=A[n],i=A[n+1];if(Kt(r)&&"none"!==r.value){var o=i&&Dt(i)?i.number:0;e.push({counter:r.value,reset:o})}}return e}},Fn={name:"quotes",initialValue:"none",prefix:!0,type:ue.LIST,parse:function(t){if(0===t.length)return null;var e=t[0];if(e.type===h.IDENT_TOKEN&&"none"===e.value)return null;var A=[],n=t.filter(Ot);if(n.length%2!=0)return null;for(var r=0;r<n.length;r+=2)A.push({open:n[r].value,close:n[r+1].value});return A}},Nn=function(t,e,A){if(!t)return"";var n=t[Math.min(e,t.length-1)];return n?A?n.open:n.close:""},En={name:"box-shadow",initialValue:"none",type:ue.LIST,prefix:!1,parse:function(t){return 1===t.length&&Rt(t[0],"none")?[]:jt(t).map((function(t){for(var e={color:255,offsetX:Jt,offsetY:Jt,blur:Jt,spread:Jt,inset:!1},A=0,n=0;n<t.length;n++){var r=t[n];Rt(r,"inset")?e.inset=!0:qt(r)?(0===A?e.offsetX=r:1===A?e.offsetY=r:2===A?e.blur=r:e.spread=r,A++):e.color=re(r)}return e}))}},_n=function(){function t(t){this.backgroundClip=In(we,t.backgroundClip),this.backgroundColor=In(me,t.backgroundColor),this.backgroundImage=In(Ve,t.backgroundImage),this.backgroundOrigin=In(qe,t.backgroundOrigin),this.backgroundPosition=In(Ge,t.backgroundPosition),this.backgroundRepeat=In(Je,t.backgroundRepeat),this.backgroundSize=In(Ze,t.backgroundSize),this.borderTopColor=In(eA,t.borderTopColor),this.borderRightColor=In(AA,t.borderRightColor),this.borderBottomColor=In(nA,t.borderBottomColor),this.borderLeftColor=In(rA,t.borderLeftColor),this.borderTopLeftRadius=In(oA,t.borderTopLeftRadius),this.borderTopRightRadius=In(aA,t.borderTopRightRadius),this.borderBottomRightRadius=In(sA,t.borderBottomRightRadius),this.borderBottomLeftRadius=In(cA,t.borderBottomLeftRadius),this.borderTopStyle=In(hA,t.borderTopStyle),this.borderRightStyle=In(fA,t.borderRightStyle),this.borderBottomStyle=In(dA,t.borderBottomStyle),this.borderLeftStyle=In(pA,t.borderLeftStyle),this.borderTopWidth=In(BA,t.borderTopWidth),this.borderRightWidth=In(bA,t.borderRightWidth),this.borderBottomWidth=In(wA,t.borderBottomWidth),this.borderLeftWidth=In(mA,t.borderLeftWidth),this.boxShadow=In(En,t.boxShadow),this.color=In(vA,t.color),this.display=In(yA,t.display),this.float=In(UA,t.cssFloat),this.fontFamily=In(gn,t.fontFamily),this.fontSize=In(Bn,t.fontSize),this.fontStyle=In(vn,t.fontStyle),this.fontVariant=In(wn,t.fontVariant),this.fontWeight=In(bn,t.fontWeight),this.letterSpacing=In(FA,t.letterSpacing),this.lineBreak=In(EA,t.lineBreak),this.lineHeight=In(_A,t.lineHeight),this.listStyleImage=In(SA,t.listStyleImage),this.listStylePosition=In(IA,t.listStylePosition),this.listStyleType=In(TA,t.listStyleType),this.marginTop=In(kA,t.marginTop),this.marginRight=In(PA,t.marginRight),this.marginBottom=In(DA,t.marginBottom),this.marginLeft=In(KA,t.marginLeft),this.opacity=In(fn,t.opacity);var e=In(RA,t.overflow);this.overflowX=e[0],this.overflowY=e[e.length>1?1:0],this.overflowWrap=In(zA,t.overflowWrap),this.paddingTop=In(VA,t.paddingTop),this.paddingRight=In(qA,t.paddingRight),this.paddingBottom=In(GA,t.paddingBottom),this.paddingLeft=In(XA,t.paddingLeft),this.position=In(ZA,t.position),this.textAlign=In(WA,t.textAlign),this.textDecorationColor=In(dn,t.textDecorationColor||t.color),this.textDecorationLine=In(pn,t.textDecorationLine),this.textShadow=In($A,t.textShadow),this.textTransform=In(en,t.textTransform),this.transform=In(An,t.transform),this.transformOrigin=In(an,t.transformOrigin),this.visibility=In(cn,t.visibility),this.wordBreak=In(un,t.wordBreak),this.zIndex=In(hn,t.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===tn.VISIBLE},t.prototype.isTransparent=function(){return ie(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return this.position!==JA.STATIC},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return this.float!==lA.NONE},t.prototype.isInlineLevel=function(){return yn(this.display,4)||yn(this.display,33554432)||yn(this.display,268435456)||yn(this.display,536870912)||yn(this.display,67108864)||yn(this.display,134217728)},t}(),Sn=function(t){this.content=In(Cn,t.content),this.quotes=In(Fn,t.quotes)},Ln=function(t){this.counterIncrement=In(Qn,t.counterIncrement),this.counterReset=In(Un,t.counterReset)},In=function(t,e){var A=new Ht,n=null!=e?e.toString():t.initialValue;A.write(n);var r=new kt(A.read());switch(t.type){case ue.IDENT_VALUE:var i=r.parseComponentValue();return t.parse(Kt(i)?i.value:t.initialValue);case ue.VALUE:return t.parse(r.parseComponentValue());case ue.LIST:return t.parse(r.parseComponentValues());case ue.TOKEN_VALUE:return r.parseComponentValue();case ue.TYPE_VALUE:switch(t.format){case"angle":return te(r.parseComponentValue());case"color":return re(r.parseComponentValue());case"image":return ze(r.parseComponentValue());case"length":var o=r.parseComponentValue();return qt(o)?o:Jt;case"length-percentage":var a=r.parseComponentValue();return Gt(a)?a:Jt}}throw new Error("Attempting to parse unsupported css format type "+t.format)},xn=function(t){this.styles=new _n(window.getComputedStyle(t,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&rr(t)&&(t.style.transform="none"),this.bounds=o(t),this.flags=0},Tn=function(t,e){this.text=t,this.bounds=e},Hn=function(t,e){this.text=kn(t.data,e.textTransform),this.textBounds=function(t,e,A){var n=function(t,e){return 0!==e.letterSpacing?a(t).map((function(t){return s(t)})):function(t,e){for(var A,n=function(t,e){var A=a(t),n=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var A=function(t,e){void 0===e&&(e="strict");var A=[],n=[],r=[];return t.forEach((function(t,i){var o=q.get(t);if(o>50?(r.push(!0),o-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return n.push(i),A.push(16);if(4===o||11===o){if(0===i)return n.push(i),A.push(k);var a=A[i-1];return-1===Y.indexOf(a)?(n.push(n[i-1]),A.push(a)):(n.push(i),A.push(k))}return n.push(i),31===o?A.push("strict"===e?_:R):o===V||29===o?A.push(k):43===o?A.push(t>=131072&&t<=196605||t>=196608&&t<=262141?R:k):void A.push(o)})),[n,A,r]}(t,e.lineBreak),n=A[0],r=A[1],i=A[2];return"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(r=r.map((function(t){return-1!==[I,k,V].indexOf(t)?R:t}))),[n,r,"keep-all"===e.wordBreak?i.map((function(e,A){return e&&t[A]>=19968&&t[A]<=40959})):void 0]}(A,e),r=n[0],i=n[1],o=n[2],s=A.length,c=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};for(var t="\xd7";l<s&&"\xd7"===(t=At(A,i,r,++l,o)););if("\xd7"!==t||l===s){var e=new nt(A,t,c,l);return c=l,{value:e,done:!1}}return{done:!0,value:null}}}}(t,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap===OA.BREAK_WORD?"break-word":e.wordBreak}),r=[];!(A=n.next()).done;)A.value&&r.push(A.value.slice());return r}(t,e)}(t,e),r=[],c=0;
1return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(_e.SUPPORT_RANGE_BOUNDS)r.push(new Tn(t,function(t,e,A){var n=t.ownerDocument;if(!n)throw new Error("Node has no owner document");var r=n.createRange();return r.setStart(t,e),r.setEnd(t,e+A),i.fromClientRect(r.getBoundingClientRect())}(A,c,t.length)));else{var n=A.splitText(t.length);r.push(new Tn(t,function(t){var e=t.ownerDocument;if(e){var A=e.createElement("html2canvaswrapper");A.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(A,t);var r=o(A);return A.firstChild&&n.replaceChild(A.firstChild,A),r}}return new i(0,0,0,0)}(A))),A=n}else _e.SUPPORT_RANGE_BOUNDS||(A=A.splitText(t.length));c+=t.length})),r}(this.text,e,t)},kn=function(t,e){switch(e){case YA.LOWERCASE:return t.toLowerCase();case YA.CAPITALIZE:return t.replace(Pn,Dn);case YA.UPPERCASE:return t.toUpperCase();default:return t}},Pn=/(^|\s|:|-|\(|\))([a-z])/g,Dn=function(t,e,A){return t.length>0?e+A.toUpperCase():t},Kn=function(t){function A(e){var A=t.call(this,e)||this;return A.src=e.currentSrc||e.src,A.intrinsicWidth=e.naturalWidth,A.intrinsicHeight=e.naturalHeight,Le.getInstance().addImage(A.src),A}return e(A,t),A}(xn),On=function(t){function A(e){var A=t.call(this,e)||this;return A.canvas=e,A.intrinsicWidth=e.width,A.intrinsicHeight=e.height,A}return e(A,t),A}(xn),Rn=function(t){function A(e){var A=t.call(this,e)||this,n=new XMLSerializer;return A.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),A.intrinsicWidth=e.width.baseVal.value,A.intrinsicHeight=e.height.baseVal.value,Le.getInstance().addImage(A.svg),A}return e(A,t),A}(xn),Mn=function(t){function A(e){var A=t.call(this,e)||this;return A.value=e.value,A}return e(A,t),A}(xn),zn=function(t){function A(e){var A=t.call(this,e)||this;return A.start=e.start,A.reversed="boolean"==typeof e.reversed&&!0===e.reversed,A}return e(A,t),A}(xn),jn=[{type:h.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Vn=[{type:h.PERCENTAGE_TOKEN,flags:0,number:50}],qn=function(t){function A(e){var A,n,r,o=t.call(this,e)||this;switch(o.type=e.type.toLowerCase(),o.checked=e.checked,o.value=0===(n="password"===(A=e).type?new Array(A.value.length+1).join("\u2022"):A.value).length?A.placeholder||"":n,"checkbox"!==o.type&&"radio"!==o.type||(o.styles.backgroundColor=3739148031,o.styles.borderTopColor=o.styles.borderRightColor=o.styles.borderBottomColor=o.styles.borderLeftColor=2779096575,o.styles.borderTopWidth=o.styles.borderRightWidth=o.styles.borderBottomWidth=o.styles.borderLeftWidth=1,o.styles.borderTopStyle=o.styles.borderRightStyle=o.styles.borderBottomStyle=o.styles.borderLeftStyle=Ye.SOLID,o.styles.backgroundClip=[he.BORDER_BOX],o.styles.backgroundOrigin=[0],o.bounds=(r=o.bounds).width>r.height?new i(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width<r.height?new i(r.left,r.top+(r.height-r.width)/2,r.width,r.width):r),o.type){case"checkbox":o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=jn;break;case"radio":o.styles.borderTopRightRadius=o.styles.borderTopLeftRadius=o.styles.borderBottomRightRadius=o.styles.borderBottomLeftRadius=Vn}return o}return e(A,t),A}(xn),Gn=function(t){function A(e){var A=t.call(this,e)||this,n=e.options[e.selectedIndex||0];return A.value=n&&n.text||"",A}return e(A,t),A}(xn),Xn=function(t){function A(e){var A=t.call(this,e)||this;return A.value=e.value,A}return e(A,t),A}(xn),Jn=function(t){return re(kt.create(t).parseComponentValue())},Wn=function(t){function A(e){var A=t.call(this,e)||this;A.src=e.src,A.width=parseInt(e.width,10)||0,A.height=parseInt(e.height,10)||0,A.backgroundColor=A.styles.backgroundColor;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement){A.tree=$n(e.contentWindow.document.documentElement);var n=e.contentWindow.document.documentElement?Jn(getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):pe.TRANSPARENT,r=e.contentWindow.document.body?Jn(getComputedStyle(e.contentWindow.document.body).backgroundColor):pe.TRANSPARENT;A.backgroundColor=ie(n)?ie(r)?A.styles.backgroundColor:r:n}}catch(i){}return A}return e(A,t),A}(xn),Yn=["OL","UL","MENU"],Zn=function(t){return hr(t)?new Kn(t):ur(t)?new On(t):cr(t)?new Rn(t):or(t)?new Mn(t):ar(t)?new zn(t):sr(t)?new qn(t):Br(t)?new Gn(t):gr(t)?new Xn(t):fr(t)?new Wn(t):new xn(t)},$n=function(t){var e=Zn(t);return e.flags|=4,function t(e,A,n){for(var r=e.firstChild,i=void 0;r;r=i)if(i=r.nextSibling,Ar(r)&&r.data.trim().length>0)A.textNodes.push(new Hn(r,A.styles));else if(nr(r)){var o=Zn(r);o.styles.isVisible()&&(tr(r,o,n)?o.flags|=4:er(o.styles)&&(o.flags|=2),-1!==Yn.indexOf(r.tagName)&&(o.flags|=8),A.elements.push(o),gr(r)||cr(r)||Br(r)||t(r,o,n))}}(t,e,e),e},tr=function(t,e,A){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||lr(t)&&A.styles.isTransparent
1()},er=function(t){return t.isPositioned()||t.isFloating()},Ar=function(t){return t.nodeType===Node.TEXT_NODE},nr=function(t){return t.nodeType===Node.ELEMENT_NODE},rr=function(t){return nr(t)&&void 0!==t.style&&!ir(t)},ir=function(t){return"object"==typeof t.className},or=function(t){return"LI"===t.tagName},ar=function(t){return"OL"===t.tagName},sr=function(t){return"INPUT"===t.tagName},cr=function(t){return"svg"===t.tagName},lr=function(t){return"BODY"===t.tagName},ur=function(t){return"CANVAS"===t.tagName},hr=function(t){return"IMG"===t.tagName},fr=function(t){return"IFRAME"===t.tagName},dr=function(t){return"STYLE"===t.tagName},pr=function(t){return"SCRIPT"===t.tagName},gr=function(t){return"TEXTAREA"===t.tagName},Br=function(t){return"SELECT"===t.tagName},br=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){return this.counters[t]||[]},t.prototype.pop=function(t){var e=this;t.forEach((function(t){return e.counters[t].pop()}))},t.prototype.parse=function(t){var e=this,A=t.counterIncrement,n=t.counterReset,r=!0;null!==A&&A.forEach((function(t){var A=e.counters[t.counter];A&&0!==t.increment&&(r=!1,A[Math.max(0,A.length-1)]+=t.increment)}));var i=[];
1return r&&n.forEach((function(t){var A=e.counters[t.counter];i.push(t.counter),A||(A=e.counters[t.counter]=[]),A.push(t.reset)})),i},t}(),wr={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"]},mr={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:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054f","\u054e","\u054d","\u054c","\u054b","\u054a","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053f","\u053e","\u053d","\u053c","\u053b","\u053a","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},vr={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:["\u05d9\u05f3","\u05d8\u05f3","\u05d7\u05f3","\u05d6\u05f3","\u05d5\u05f3","\u05d4\u05f3","\u05d3\u05f3","\u05d2\u05f3","\u05d1\u05f3","\u05d0\u05f3","\u05ea","\u05e9","\u05e8","\u05e7","\u05e6","\u05e4","\u05e2","\u05e1","\u05e0","\u05de","\u05dc","\u05db","\u05d9\u05d8","\u05d9\u05d7","\u05d9\u05d6","\u05d8\u05d6","\u05d8\u05d5","\u05d9","\u05d8","\u05d7","\u05d6","\u05d5","\u05d4","\u05d3","\u05d2","\u05d1","\u05d0"]},yr={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
10,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10f5","\u10f0","\u10ef","\u10f4","\u10ee","\u10ed","\u10ec","\u10eb","\u10ea","\u10e9","\u10e8","\u10e7","\u10e6","\u10e5","\u10e4","\u10f3","\u10e2","\u10e1","\u10e0","\u10df","\u10de","\u10dd","\u10f2","\u10dc","\u10db","\u10da","\u10d9","\u10d8","\u10d7","\u10f1","\u10d6","\u10d5","\u10d4","\u10d3","\u10d2","\u10d1","\u10d0"]},Cr=function(t,e,A,n,r,i){return t<e||t>A?Er(t,r,i.length>0):n.integers.reduce((function(e,A,r){for(;t>=A;)t-=A,e+=n.values[r];return e}),"")+i},Qr=function(t,e,A,n){var r="";do{A||t--,r=n(t)+r,t/=e}while(t*e>=e);return r},Ur=function(t,e,A,n,r){var i=A-e+1;return(t<0?"-":"")+(Qr(Math.abs(t),i,n,(function(t){return s(Math.floor(t%i)+e)}))+r)},Fr=function(t,e,A){void 0===A&&(A=". ");var n=e.length;return Qr(Math.abs(t),n,!1,(function(t){return e[Math.floor(t%n)]}))+A},Nr=function(t,e,A,n,r,i){if(t<-9999||t>9999)return Er(t,LA.CJK_DECIMAL,r.length>0);var o=Math.abs(t),a=r;if(0===o)return e[0]+a;for(var s=0;o>0&&s<=4;s++){var c=o%10;0===c&&yn(i,1)&&""!==a?a=e[c]+a:c>1||1===c&&0===s||1===c&&1===s&&yn(i,2)||1===c&&1===s&&yn(i,4)&&t>100||1===c&&s>1&&yn(i,8)?a=e[c]+(s>0?A[s-1]:"")+a:1===c&&s>0&&(a=A[s-1]+a),o=Math.floor(o/10)}return(t<0?n:"")+a},Er=function(t,e,A){var n=A?". ":"",r=A?"\u3001":"",i=A?", ":"",o=A?" ":"";switch(e){case LA.DISC:return"\u2022"+o;case LA.CIRCLE:return"\u25e6"+o;case LA.SQUARE:return"\u25fe"+o;case LA.DECIMAL_LEADING_ZERO:var a=Ur(t,48,57,!0,n);return a.length<4?"0"+a:a;case LA.CJK_DECIMAL:return Fr(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d",r);case LA.LOWER_ROMAN:return Cr(t,1,3999,wr,LA.DECIMAL,n).toLowerCase();case LA.UPPER_ROMAN:return Cr(t,1,3999,wr,LA.DECIMAL,n);case LA.LOWER_GREEK:return Ur(t,945,969,!1,n);case LA.LOWER_ALPHA:return Ur(t,97,122,!1,n);case LA.UPPER_ALPHA:return Ur(t,65,90,!1,n);case LA.ARABIC_INDIC:return Ur(t,1632,1641,!0,n);case LA.ARMENIAN:case LA.UPPER_ARMENIAN:return Cr(t,1,9999,mr,LA.DECIMAL,n);case LA.LOWER_ARMENIAN:return Cr(t,1,9999,mr,LA.DECIMAL,n).toLowerCase();case LA.BENGALI:return Ur(t,2534,2543,!0,n);case LA.CAMBODIAN:case LA.KHMER:return Ur(t,6112,6121,!0,n);case LA.CJK_EARTHLY_BRANCH:return Fr(t,"\u5b50\u4e11\u5bc5\u536f\u8fb0\u5df3\u5348\u672a\u7533\u9149\u620c\u4ea5",r);case LA.CJK_HEAVENLY_STEM:return Fr(t,"\u7532\u4e59\u4e19\u4e01\u620a\u5df1\u5e9a\u8f9b\u58ec\u7678",r);case LA.CJK_IDEOGRAPHIC:case LA.TRAD_CHINESE_INFORMAL:return Nr(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8ca0",r,14);case LA.TRAD_CHINESE_FORMAL:return Nr(t,"\u96f6\u58f9\u8cb3\u53c3\u8086\u4f0d\u9678\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8ca0",r,15);case LA.SIMP_CHINESE_INFORMAL:return Nr(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\u8d1f",r,14);case LA.SIMP_CHINESE_FORMAL:return Nr(t,"\u96f6\u58f9\u8d30\u53c1\u8086\u4f0d\u9646\u67d2\u634c\u7396","\u62fe\u4f70\u4edf\u842c","\u8d1f",r,15);case LA.JAPANESE_INFORMAL:return Nr(t,"\u3007\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",r,0);case LA.JAPANESE_FORMAL:return Nr(t,"\u96f6\u58f1\u5f10\u53c2\u56db\u4f0d\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343\u4e07","\u30de\u30a4\u30ca\u30b9",r,7);case LA.KOREAN_HANGUL_FORMAL:return Nr(t,"\uc601\uc77c\uc774\uc0bc\uc0ac\uc624\uc721\uce60\ud314\uad6c","\uc2ed\ubc31\ucc9c\ub9cc","\ub9c8\uc774\ub108\uc2a4",i,7);case LA.KOREAN_HANJA_INFORMAL:return Nr(t,"\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u5341\u767e\u5343\u842c","\ub9c8\uc774\ub108\uc2a4",i,0);case LA.KOREAN_HANJA_FORMAL:return Nr(t,"\u96f6\u58f9\u8cb3\u53c3\u56db\u4e94\u516d\u4e03\u516b\u4e5d","\u62fe\u767e\u5343","\ub9c8\uc774\ub108\uc2a4",i,7);case LA.DEVANAGARI:return Ur(t,2406,2415,!0,n);case LA.GEORGIAN:return Cr(t,1,19999,yr,LA.DECIMAL,n);case LA.GUJARATI:return Ur(t,2790,2799,!0,n);case LA.GURMUKHI:return Ur(t,2662,2671,!0,n);case LA.HEBREW:return Cr(t,1,10999,vr,LA.DECIMAL,n);case LA.HIRAGANA:return Fr(t,"\u3042\u3044\u3046\u3048\u304a\u304b\u304d\u304f\u3051\u3053\u3055\u3057\u3059\u305b\u305d\u305f\u3061\u3064\u3066\u3068\u306a\u306b\u306c\u306d\u306e\u306f\u3072\u3075\u3078\u307b\u307e\u307f\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308a\u308b\u308c\u308d\u308f\u3090\u3091\u3092\u3093");case LA.HIRAGANA_IROHA:return Fr(t,"\u3044\u308d\u306f\u306b\u307b\u3078\u3068\u3061\u308a\u306c\u308b\u3092\u308f\u304b\u3088\u305f\u308c\u305d\u3064\u306d\u306a\u3089\u3080\u3046\u3090\u306e\u304a\u304f\u3084\u307e\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304d\u3086\u3081\u307f\u3057\u3091\u3072\u3082\u305b\u3059");case LA.KANNADA:return Ur(t,3302,3311,!0,n);case LA.KATAKANA:return Fr(t,"\u30a2\u30a4\u30a6\u30a8\u30aa\u30ab\u30ad\u30af\u30b1\u30b3\u30b5\u30b7\u30b9\u30bb\u30bd\u30bf\u30c1\u30c4\u30c6\u30c8\u30ca\u30cb\u30cc\u30cd\u30ce\u30cf\u30d2\u30d5\u30d8\u30db\u30de\u30df\u30e0\u30e1\u30e2\u30e4\u30e6\u30e8\u30e9\u30ea\u30eb\u30ec\u30ed\u30ef\u30f0\u30f1\u30f2\u30f3",r);case LA.KATAKANA_IROHA:return Fr(t,"\u30a4\u30ed\u30cf\u30cb\u30db\u30d8\u30c8\u30c1\u30ea\u30cc\u30eb\u30f2\u30ef\u30ab\u30e8\u30bf\u30ec\u30bd\u30c4\u30cd\u30ca\u30e9\u30e0\u30a6\u30f0\u30ce\u30aa\u30af\u30e4\u30de\u30b1\u30d5\u30b3\u30a8\u30c6\u30a2\u30b5\u30ad\u30e6\u30e1\u30df\u30b7\u30f1\u30d2\u30e2\u30bb\u30b9",r);case LA.LAO:return Ur(t,3792,3801,!0,n);case LA.MONGOLIAN:return Ur(t,6160,6169,!0,n);case LA.MYANMAR:return Ur(t,4160,4169,!0,n);case LA.ORIYA:return Ur(t,2918,2927,!0,n);case LA.PERSIAN:return Ur(t,1776,1785,!0,n);case LA.TAMIL:return Ur(t,3046,3055,!0,n);case LA.TELUGU:return Ur(t,3174,3183,!0,n);case LA.THAI:return Ur(t,3664,3673,!0,n);case LA.TIBETAN:return Ur(t,3872,3881,!0,n);case LA.DECIMAL:default:return Ur(t,48,57,!0,n)}},_r=function(){function t(t,e){if(this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new br,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return t.prototype.toIFrame=function(t,e){var A=this,i=Lr(t,e);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,a=t.defaultView.pageYOffset,s=i.contentWindow,c=s.document,l=Ir(i).then((function(){return n(A,void 0,void 0,(function(){var t;return r(this,(function(A){switch(A.label){case 0:return this.scrolledElements.forEac
1h(kr),s&&(s.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||s.scrollY===e.top&&s.scrollX===e.left||(c.documentElement.style.top=-e.top+"px",c.documentElement.style.left=-e.left+"px",c.documentElement.style.position="absolute")),t=this.options.onclone,void 0===this.clonedReferenceElement?[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:A.sent(),A.label=2;case 2:return"function"==typeof t?[2,Promise.resolve().then((function(){return t(c)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(Tr(document.doctype)+"<html></html>"),Hr(this.referenceElement.ownerDocument,o,a),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},t.prototype.createElementClone=function(t){if(ur(t))return this.createCanvasClone(t);if(dr(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return hr(e)&&"lazy"===e.loading&&(e.loading="eager"),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var A=[].slice.call(e.cssRules,0).reduce((function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t}),""),n=t.cloneNode(!1);return n.textContent=A,n}}catch(r){if(Se.getInstance(this.options.id).error("Unable to access cssRules property",r),"SecurityError"!==r.name)throw r}return t.cloneNode(!1)}
1,t.prototype.createCanvasClone=function(t){if(this.options.inlineImages&&t.ownerDocument){var e=t.ownerDocument.createElement("img");try{return e.src=t.toDataURL(),e}catch(i){Se.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var A=t.cloneNode(!1);try{A.width=t.width,A.height=t.height;var n=t.getContext("2d"),r=A.getContext("2d");return r&&(n?r.putImageData(n.getImageData(0,0,t.width,t.height),0,0):r.drawImage(t,0,0)),A}catch(i){}return A},t.prototype.cloneNode=function(t){if(Ar(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var e=t.ownerDocument.defaultView;if(e&&nr(t)&&(rr(t)||ir(t))){var A=this.createElementClone(t),n=e.getComputedStyle(t),r=e.getComputedStyle(t,":before"),i=e.getComputedStyle(t,":after");this.referenceElement===t&&rr(A)&&(this.clonedReferenceElement=A),lr(A)&&Kr(A);for(var o=this.counters.parse(new Ln(n)),a=this.resolvePseudoContent(t,A,r,mn.BEFORE),s=t.firstChild;s;s=s.nextSibling)nr(s)&&(pr(s)||s.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.options.copyStyles&&nr(s)&&dr(s)||A.appendChild(this.cloneNode(s));a&&A.insertBefore(a,A.firstChild);var c=this.resolvePseudoContent(t,A,i,mn.AFTER);return c&&A.appendChild(c),this.counters.pop(o),n&&(this.options.copyStyles||ir(t))&&!fr(t)&&xr(n,A),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([A,t.scrollLeft,t.scrollTop]),(gr(t)||Br(t))&&(gr(A)||Br(A))&&(A.value=t.value),A}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,A,n){var r=this;if(A){var i=A.content,o=e.ownerDocument;if(o&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==A.display){this.counters.parse(new Ln(A));var a=new Sn(A),s=o.createElement("html2canvaspseudoelement");xr(A,s),a.content.forEach((function(e){if(e.type===h.STRING_TOKEN)s.appendChild(o.createTextNode(e.value));else if(e.type===h.URL_TOKEN){var A=o.createElement("img");A.src=e.value,A.style.opacity="1",s.appendChild(A)}else if(e.type===h.FUNCTION){if("attr"===e.name){var n=e.values.filter(Kt);n.length&&s.appendChild(o.createTextNode(t.getAttribute(n[0].value)||""))}else if("counter"===e.name){var i=e.values.filter(zt),c=i[1];if((f=i[0])&&Kt(f)){var l=r.counters.getCounterValue(f.value),u=c&&Kt(c)?TA.parse(c.value):LA.DECIMAL;s.appendChild(o.createTextNode(Er(l,u,!1)))}}else if("counters"===e.name){var f,d=e.values.filter(zt),p=d[1];if(c=d[2],(f=d[0])&&Kt(f)){var g=r.counters.getCounterValues(f.value),B=c&&Kt(c)?TA.parse(c.value):LA.DECIMAL,b=p&&p.type===h.STRING_TOKEN?p.value:"",w=g.map((function(t){return Er(t,B,!1)})).join(b);s.appendChild(o.createTextNode(w))}}}else if(e.type===h.IDENT_TOKEN)switch(e.value){case"open-quote":s.appendChild(o.createTextNode(Nn(a.quotes,r.quoteDepth++,!0)));break;case"close-quote":s.appendChild(o.createTextNode(Nn(a.quotes,--r.quoteDepth,!1)));break;default:s.appendChild(o.createTextNode(e.value))}})),s.className=Pr+" "+Dr;var c=n===mn.BEFORE?" "+Pr:" "+Dr;return ir(e)?e.className.baseValue+=c:e.className+=c,s}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(mn||(mn={}));var Sr,Lr=function(t,e){var A=t.createElement("iframe");return A.className="html2canvas-container",A.style.visibility="hidden",A.style.position="fixed",A.style.left="-10000px",A.style.top="0px",A.style.border="0",A.width=e.width.toString(),A.height=e.height.toString(),A.scrolling="no",A.setAttribute("data-html2canvas-ignore","true"),t.body.appendChild(A),A},Ir=function(t){return new Promise((function(e,A){var n=t.contentWindow;if(!n)return A("No window assigned for iframe");var r=n.document;n.onload=t.onload=r.onreadystatechange=function(){n.onload=t.onload=r.onreadystatechange=null;var A=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(A),e(t))}),50)}}))},xr=function(t,e){for(var A=t.length-1;A>=0;A--){var n=t.item(A);"content"!==n&&e.style.setProperty(n,t.getPropertyValue(n))}return e},Tr=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},Hr=function(t,e,A){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||A!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,A)},kr=function(t){var e=t[0],A=t[2];e.scrollLeft=t[1],e.scrollTop=A},Pr="___html2canvas___pseudoelement_before",Dr="___html2canvas___pseudoelement_after",Kr=function(t){Or(t,"."+Pr+':before{\n content: "" !important;\n display: none !important;\n}\n .'+Dr+':after{\n content: "" !important;\n display: none !important;\n}')},Or=function(t,e){var A=t.ownerDocument;if(A){var n=A.createElement("style");n.textContent=e,t.appendChild(n)}};!function(t){t[t.VECTOR=0]="VECTOR",t[t.BEZIER_CURVE=1]="BEZIER_CURVE"}(Sr||(Sr={}));var Rr,Mr=function(t,e){return t.length===e.length&&t.some((function(t,A){return t===e[A]}))},zr=function(){function t(t,e){this.type=Sr.VECTOR,this.x=t,this.y=e}return t.prototype.add=function(e,A){return new t(this.x+e,this.y+A)},t}(),jr=function(t,e,A){return new zr(t.x+(e.x-t.x)*A,t.y+(e.y-t.y)*A)},Vr=function(){function t(t,e,A,n){this.type=Sr.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=A,this.end=n}return t.prototype.subdivide=function(e,A){var n=jr(this.start,this.startControl,e),r=jr(this.startControl,this.endControl,e),i=jr(this.endControl,this.end,e),o=jr(n,r,e),a=jr(r,i,e),s=jr(o,a,e);return A?new t(this.start,n,o,s):new t(s,a,i,this.end)},t.prototype.add=function(e,A){return new t(this.start.add(e,A),this.startControl.add(e,A),this.endControl.add(e,A),this.end.add(e,A))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),qr=function(t){return t.type===Sr.BEZIER_CURVE},Gr=function(t){var e=t.styles,A=t.bounds,n=Zt(e.borderTopLeftRadius,A.width,A.height),r=n[0],i=n[1],o=Zt(e.borderTopRightRadius,A.width,A.height),a=o[0],s=o[1],c=Zt(e.borderBottomRightRadius,A.width,A.height),l=c[0],u=c[1],h=Zt(e.borderBottomLeftRadius,A.width,A.height),f=h[0],d=h[1],p=[];p.push((r+a)/A.width),p.push((f+l)/A.width),p.push((i+d)/A.height),p.push((s+u)/A.height);var g=Math.max.apply(Math,p);g>1&&(r/=g,i/=g,a/=g,s/=g,l/=g,u/=g,f/=g,d/=g);var B=A.width-a,b=A.height-u,w=A.width-l,m=A.height-d,v=e.borderTopWidth,y=e.borderRightWidth,C=e.borderBottomWidth,Q=e.borderLeftWidth,U=$t(e.paddingTop,t.bounds.width),F=$t(e.paddingRight,t.bounds.width),N=$t(e.paddingBottom,t.bounds.width),E=$t(e.paddingLeft,t.bounds.width);this.topLeftBorderBox=r>0||i>0?Xr(A.left,A.top,r,i,Rr.TOP_LEFT):new zr(A.left,A.top),this.topRightBorderBox=a>0||s>
10?Xr(A.left+B,A.top,a,s,Rr.TOP_RIGHT):new zr(A.left+A.width,A.top),this.bottomRightBorderBox=l>0||u>0?Xr(A.left+w,A.top+b,l,u,Rr.BOTTOM_RIGHT):new zr(A.left+A.width,A.top+A.height),this.bottomLeftBorderBox=f>0||d>0?Xr(A.left,A.top+m,f,d,Rr.BOTTOM_LEFT):new zr(A.left,A.top+A.height),this.topLeftPaddingBox=r>0||i>0?Xr(A.left+Q,A.top+v,Math.max(0,r-Q),Math.max(0,i-v),Rr.TOP_LEFT):new zr(A.left+Q,A.top+v),this.topRightPaddingBox=a>0||s>0?Xr(A.left+Math.min(B,A.width+Q),A.top+v,B>A.width+Q?0:a-Q,s-v,Rr.TOP_RIGHT):new zr(A.left+A.width-y,A.top+v),this.bottomRightPaddingBox=l>0||u>0?Xr(A.left+Math.min(w,A.width-Q),A.top+Math.min(b,A.height+v),Math.max(0,l-y),u-C,Rr.BOTTOM_RIGHT):new zr(A.left+A.width-y,A.top+A.height-C),this.bottomLeftPaddingBox=f>0||d>0?Xr(A.left+Q,A.top+m,Math.max(0,f-Q),d-C,Rr.BOTTOM_LEFT):new zr(A.left+Q,A.top+A.height-C),this.topLeftContentBox=r>0||i>0?Xr(A.left+Q+E,A.top+v+U,Math.max(0,r-(Q+E)),Math.max(0,i-(v+U)),Rr.TOP_LEFT):new zr(A.left+Q+E,A.top+v+U),this.topRightContentBox=a>0||s>0?Xr(A.left+Math.min(B,A.width+Q+E),A.top+v+U,B>A.width+Q+E?0:a-Q+E,s-(v+U),Rr.TOP_RIGHT):new zr(A.left+A.width-(y+F),A.top+v+U),this.bottomRightContentBox=l>0||u>0?Xr(A.left+Math.min(w,A.width-(Q+E)),A.top+Math.min(b,A.height+v+U),Math.max(0,l-(y+F)),u-(C+N),Rr.BOTTOM_RIGHT):new zr(A.left+A.width-(y+F),A.top+A.height-(C+N)),this.bottomLeftContentBox=f>0||d>0?Xr(A.left+Q+E,A.top+m,Math.max(0,f-(Q+E)),d-(C+N),Rr.BOTTOM_LEFT):new zr(A.left+Q+E,A.top+A.height-(C+N))};!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Rr||(Rr={}));var Xr=function(t,e,A,n,r){var i=(Math.sqrt(2)-1)/3*4,o=A*i,a=n*i,s=t+A,c=e+n;switch(r){case Rr.TOP_LEFT:return new Vr(new zr(t,c),new zr(t,c-a),new zr(s-o,e),new zr(s,e));case Rr.TOP_RIGHT:return new Vr(new zr(t,e),new zr(t+o,e),new zr(s,c-a),new zr(s,c));case Rr.BOTTOM_RIGHT:return new Vr(new zr(s,e),new zr(s,e+a),new zr(t+o,c),new zr(t,c));case Rr.BOTTOM_LEFT:default:return new Vr(new zr(s,c),new zr(s-o,c),new zr(t,e+a),new zr(t,e))}},Jr=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},Wr=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},Yr=function(t,e,A){this.type=0,this.offsetX=t,this.offsetY=e,this.matrix=A,this.target=6},Zr=function(t,e){this.type=1,this.target=e,this.path=t},$r=function(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},ti=function(){function t(t,e){if(this.container=t,this.effects=e.slice(0),this.curves=new Gr(t),null!==t.styles.transform&&this.effects.push(new Yr(t.bounds.left+t.styles.transformOrigin[0].number,t.bounds.top+t.styles.transformOrigin[1].number,t.styles.transform)),t.styles.overflowX!==xA.VISIBLE){var A=Jr(this.curves),n=Wr(this.curves);Mr(A,n)?this.effects.push(new Zr(A,6)):(this.effects.push(new Zr(A,2)),this.effects.push(new Zr(n,4)))}}return t.prototype.getParentEffects=function(){var t=this.effects.slice(0);if(this.container.styles.overflowX!==xA.VISIBLE){var e=Jr(this.curves),A=Wr(this.curves);Mr(e,A)||t.push(new Zr(A,6))}return t},t}(),ei=function(t,e){for(var A=t instanceof zn?t.start:1,n=t instanceof zn&&t.reversed,r=0;r<e.length;r++){var i=e[r];i.container instanceof Mn&&"number"==typeof i.container.value&&0!==i.container.value&&(A=i.container.value),i.listValue=Er(A,i.container.styles.listStyleType,!0),A+=n?-1:1}},Ai=function(t,e,A,n){var r=[];return qr(t)?r.push(t.subdivide(.5,!1)):r.push(t),qr(A)?r.push(A.subdivide(.5,!0)):r.push(A),qr(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),qr(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},ni=function(t){var e=t.styles;return t.bounds.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},ri=function(t){var e=t.styles,A=t.bounds,n=$t(e.paddingLeft,A.width),r=$t(e.paddingRight,A.width),i=$t(e.paddingTop,A.width),o=$t(e.paddingBottom,A.width);return A.add(n+e.borderLeftWidth,i+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+r),-(e.borderTopWidth+e.borderBottomWidth+i+o))},ii=function(t,e,A){var n=function(t,e){return 0===t?e.bounds:2===t?ri(e):ni(e)}(ci(t.styles.backgroundOrigin,e),t),r=function(t,e){return t===he.BORDER_BOX?e.boun
vendor: 4,151 bytes, line 1
1ds:t===he.CONTENT_BOX?ri(e):ni(e)}(ci(t.styles.backgroundClip,e),t),i=si(ci(t.styles.backgroundSize,e),A,n),o=i[0],a=i[1],s=Zt(ci(t.styles.backgroundPosition,e),n.width-o,n.height-a);return[li(ci(t.styles.backgroundRepeat,e),s,i,n,r),Math.round(n.left+s[0]),Math.round(n.top+s[1]),o,a]},oi=function(t){return Kt(t)&&t.value===Xe.AUTO},ai=function(t){return"number"==typeof t},si=function(t,e,A){var n=e[0],r=e[1],i=e[2],o=t[0],a=t[1];if(Gt(o)&&a&&Gt(a))return[$t(o,A.width),$t(a,A.height)];var s=ai(i);if(Kt(o)&&(o.value===Xe.CONTAIN||o.value===Xe.COVER))return ai(i)?A.width/A.height<i!=(o.value===Xe.COVER)?[A.width,A.width/i]:[A.height*i,A.height]:[A.width,A.height];var c=ai(n),l=ai(r),u=c||l;if(oi(o)&&(!a||oi(a)))return c&&l?[n,r]:s||u?u&&s?[c?n:r*i,l?r:n/i]:[c?n:A.width,l?r:A.height]:[A.width,A.height];if(s){var h=0,f=0;return Gt(o)?h=$t(o,A.width):Gt(a)&&(f=$t(a,A.height)),oi(o)?h=f*i:a&&!oi(a)||(f=h/i),[h,f]}var d=null,p=null;if(Gt(o)?d=$t(o,A.width):a&&Gt(a)&&(p=$t(a,A.height)),null===d||a&&!oi(a)||(p=c&&l?d/n*r:A.height),null!==p&&oi(o)&&(d=c&&l?p/r*n:A.width),null!==d&&null!==p)return[d,p];throw new Error("Unable to calculate background-size for element")},ci=function(t,e){var A=t[e];return void 0===A?t[0]:A},li=function(t,e,A,n,r){var i=e[0],o=e[1],a=A[0],s=A[1];switch(t){case Me.REPEAT_X:return[new zr(Math.round(n.left),Math.round(n.top+o)),new zr(Math.round(n.left+n.width),Math.round(n.top+o)),new zr(Math.round(n.left+n.width),Math.round(s+n.top+o)),new zr(Math.round(n.left),Math.round(s+n.top+o))];case Me.REPEAT_Y:return[new zr(Math.round(n.left+i),Math.round(n.top)),new zr(Math.round(n.left+i+a),Math.round(n.top)),new zr(Math.round(n.left+i+a),Math.round(n.height+n.top)),new zr(Math.round(n.left+i),Math.round(n.height+n.top))];case Me.NO_REPEAT:return[new zr(Math.round(n.left+i),Math.round(n.top+o)),new zr(Math.round(n.left+i+a),Math.round(n.top+o)),new zr(Math.round(n.left+i+a),Math.round(n.top+o+s)),new zr(Math.round(n.left+i),Math.round(n.top+o+s))];default:return[new zr(Math.round(r.left),Math.round(r.top)),new zr(Math.round(r.left+r.width),Math.round(r.top)),new zr(Math.round(r.left+r.width),Math.round(r.height+r.top)),new zr(Math.round(r.left),Math.round(r.height+r.top))]}},ui=function(){function t(t){this._data={},this._document=t}return t.prototype.parseMetrics=function(t,e){var A=this._document.createElement("div"),n=this._document.createElement("img"),r=this._document.createElement("span"),i=this._document.body;A.style.visibility="hidden",A.style.fontFamily=t,A.style.fontSize=e,A.style.margin="0",A.style.padding="0",i.appendChild(A),n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",r.style.fontFamily=t,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.appendChild(this._document.createTextNode("Hidden Text")),A.appendChild(r),A.appendChild(n);var o=n.offsetTop-r.offsetTop+2;A.removeChild(r),A.appendChild(this._document.createTextNode("Hidden Text")),A.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-A.offsetTop+2;return i.removeChild(A),{baseline:o,middle:a}},t.prototype.getMetrics=function(t,e){var A=t+" "+e;return void 0===this._data[A]&&(this._data[A]=this.parseMetrics(t,e)),this._data[A]},t}(),hi=function(){function t(t){this._activeEffects=[],this.canvas=t.canvas?t.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=t,t.canvas||(this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=t.width+"px",this.canvas.style.height=t.height+"px"),this.fontMetrics=new ui(document),this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x+t.scrollX,-t.y+t.scrollY),this.ctx.textBaseline="bottom",this._activeEffects=[],Se.getInstance(t.id).debug("Canvas renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale)}return t.prototype.applyEffects=function(t,e){for(var A=this;this._activeEffects.length;)this.popEffect();t.filter((function(t){return yn(t.target,e)}
1)).forEach((function(t){return A.applyEffect(t)}))},t.prototype.applyEffect=function(t){this.ctx.save(),function(t){return 0===t.type}(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),function(t){return 1===t.type}(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(t){return n(this,void 0,void 0,(function(){var e;return r(this,(function(A){switch(A.label){case 0:return(e=t.element.container.styles).isVisible()?(this.ctx.globalAlpha=e.opacity,[4,this.renderStackContent(t)]):[3,2];case 1:A.sent(),A.label=2;case 2:return[2]}}))}))},t.prototype.renderNode=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(t)];case 2:e.sent(),e.label=3;case 3:return[2]}}
1))}))},t.prototype.renderTextWithLetterSpacing=function(t,e){var A=this;0===e?this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+t.bounds.height):a(t.text).map((function(t){return s(t)})).reduce((function(e,n){return A.ctx.fillText(n,e,t.bounds.top+t.bounds.height),e+A.ctx.measureText(n).width}),t.bounds.left)},t.prototype.createFontStyle=function(t){var e=t.fontVariant.filter((function(t){return"normal"===t||"small-caps"===t})).join(""),A=t.fontFamily.join(", "),n=Pt(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,e,t.fontWeight,n,A].join(" "),A,n]},t.prototype.renderTextNode=function(t,e){return n(this,void 0,void 0,(function(){var A,n,i,o=this;return r(this,(function(r){return A=this.createFontStyle(e),n=A[1],i=A[2],this.ctx.font=A[0],t.textBounds.forEach((function(t){o.ctx.fillStyle=oe(e.color),o.renderTextWithLetterSpacing(t,e.letterSpacing);var A=e.textShadow;A.length&&t.text.trim().length&&(A.slice(0).reverse().forEach((function(e){o.ctx.shadowColor=oe(e.color),o.ctx.shadowOffsetX=e.offsetX.number*o.options.scale,o.ctx.shadowOffsetY=e.offsetY.number*o.options.scale,o.ctx.shadowBlur=e.blur.number,o.ctx.fillText(t.text,t.bounds.left,t.bounds.top+t.bounds.height)})),o.ctx.shadowColor="",o.ctx.shadowOffsetX=0,o.ctx.shadowOffsetY=0,o.ctx.shadowBlur=0),e.textDecorationLine.length&&(o.ctx.fillStyle=oe(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:var A=o.fontMetrics.getMetrics(n,i).baseline;o.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top+A),t.bounds.width,1);break;case 2:o.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top),t.bounds.width,1);break;case 3:var r=o.fontMetrics.getMetrics(n,i).middle;o.ctx.fillRect(t.bounds.left,Math.ceil(t.bounds.top+r),t.bounds.width,1)}})))})),[2]}))}))},t.prototype.renderReplacedElement=function(t,e,A){if(A&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var n=ri(t),r=Wr(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(A,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(e){return n(this,void 0,void 0,(function(){var A,n,o,a,s,c,l,u,f,d,p,g,B;return r(this,(function(r){switch(r.label){case 0:this.applyEffects(e.effects,4),n=e.curves,o=(A=e.container).styles,a=0,s=A.textNodes,r.label=1;case 1:return a<s.length?[4,this.renderTextNode(s[a],o)]:[3,4];case 2:r.sent(),r.label=3;case 3:return a++,[3,1];case 4:if(!(A instanceof Kn))return[3,8];r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.options.cache.match(A.src)];case 6:return p=r.sent(),this.renderReplacedElement(A,n,p),[3,8];case 7:return r.sent(),Se.getInstance(this.options.id).error("Error loading image "+A.src),[3,8];case 8:if(A instanceof On&&this.renderReplacedElement(A,n,A.canvas),!(A instanceof Rn))return[3,12];r.label=9;case 9:return r.trys.push([9,11,,12]),[4,this.options.cache.match(A.svg)];case 10:return p=r.sent(),this.renderReplacedElement(A,n,p),[3,12];case 11:return r.sent(),Se.getInstance(this.options.id).error("Error loading svg "+A.svg.substring(0,255)),[3,12];case 12:return A instanceof Wn&&A.tree?[4,new t({id:this.options.id,scale:this.options.scale,backgroundColor:A.backgroundColor,x:0,y:0,scrollX:0,scrollY:0,width:A.width,height:A.height,cache:this.options.cache,windowWidth:A.width,windowHeight:A.height}).render(A.tree)]:[3,14];case 13:c=r.sent(),A.width&&A.height&&this.ctx.drawImage(c,0,0,A.width,A.height,A.bounds.left,A.bounds.top,A.bounds.width,A.bounds.height),r.label=14;case 14:if(A instanceof qn&&(l=Math.min(A.bounds.width,A.bounds.height),"checkbox"===A.type?A.checked&&(this.ctx.save(),this.path([new zr(A.bounds.left+.39363*l,A.bounds.top+.79*l),new zr(A.bounds.left+.16*l,A.bounds.top+.5549*l),new zr(A.bounds.left+.27347*l,A.bounds.top+.44071*l),new zr(A.bounds.left+.39694*l,A.bounds.top+.5649*l),new zr(A.bounds.left+.72983*l,A.bounds.top+.23*l),new zr(A.bounds.left+.84*l,A.bounds.top+.34085*l),new zr(A.bounds.left+.39363*l,A.bounds.top+.79*l)]),this.ctx.fillStyle=oe(707406591),this.ctx.fill(),this.ctx.restore()):"radio"===A.type&&A.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(A.bounds.left+l/2,A.boun
vendor: 1,750 bytes, line 1
1ds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=oe(707406591),this.ctx.fill(),this.ctx.restore())),fi(A)&&A.value.length){switch(this.ctx.font=this.createFontStyle(o)[0],this.ctx.fillStyle=oe(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign=pi(A.styles.textAlign),B=ri(A),u=0,A.styles.textAlign){case MA.CENTER:u+=B.width/2;break;case MA.RIGHT:u+=B.width}f=B.add(u,0,0,-B.height/2+1),this.ctx.save(),this.path([new zr(B.left,B.top),new zr(B.left+B.width,B.top),new zr(B.left+B.width,B.top+B.height),new zr(B.left,B.top+B.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Tn(A.value,f),o.letterSpacing),this.ctx.restore(),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"}if(!yn(A.styles.display,2048))return[3,20];if(null===A.styles.listStyleImage)return[3,19];if((d=A.styles.listStyleImage).type!==ge.URL)return[3,18];p=void 0,g=d.url,r.label=15;case 15:return r.trys.push([15,17,,18]),[4,this.options.cache.match(g)];case 16:return p=r.sent(),this.ctx.drawImage(p,A.bounds.left-(p.width+10),A.bounds.top),[3,18];case 17:return r.sent(),Se.getInstance(this.options.id).error("Error loading list-style-image "+g),[3,18];case 18:return[3,20];case 19:e.listValue&&A.styles.listStyleType!==LA.NONE&&(this.ctx.font=this.createFontStyle(o)[0],this.ctx.fillStyle=oe(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",B=new i(A.bounds.left,A.bounds.top+$t(A.styles.paddingTop,A.bounds.width),A.bounds.width,function(t,e){return Kt(t)&&"normal"===t.value?1.2*e:t.type===h.NUMBER_TOKEN?e*t.number:Gt(t)?$t(t,e):e}(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Tn(e.listValue,B),o.letterSpacing),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),r.label=20;case 20:return[2]}}
1))}))},t.prototype.renderStackContent=function(t){return n(this,void 0,void 0,(function(){var e,A,n,i,o,a,s,c,l,u,h,f,d,p;return r(this,(function(r){switch(r.label){case 0:return[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:r.sent(),e=0,A=t.negativeZIndex,r.label=2;case 2:return e<A.length?[4,this.renderStack(A[e])]:[3,5];case 3:r.sent(),r.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:r.sent(),n=0,i=t.nonInlineLevel,r.label=7;case 7:return n<i.length?[4,this.renderNode(i[n])]:[3,10];case 8:r.sent(),r.label=9;case 9:return n++,[3,7];case 10:o=0,a=t.nonPositionedFloats,r.label=11;case 11:return o<a.length?[4,this.renderStack(a[o])]:[3,14];case 12:r.sent(),r.label=13;case 13:return o++,[3,11];case 14:s=0,c=t.nonPositionedInlineLevel,r.label=15;case 15:return s<c.length?[4,this.renderStack(c[s])]:[3,18];case 16:r.sent(),r.label=17;case 17:return s++,[3,15];case 18:l=0,u=t.inlineLevel,r.label=19;case 19:return l<u.length?[4,this.renderNode(u[l])]:[3,22];case 20:r.sent(),r.label=21;case 21:return l++,[3,19];case 22:h=0,f=t.zeroOrAutoZIndexOrTransformedOrOpacity,r.label=23;case 23:return h<f.length?[4,this.renderStack(f[h])]:[3,26];case 24:r.sent(),r.label=25;case 25:return h++,[3,23];case 26:d=0,p=t.positiveZIndex,r.label=27;case 27:return d<p.length?[4,this.renderStack(p[d])]:[3,30];case 28:r.sent(),r.label=29;case 29:return d++,[3,27];case 30:return[2]}}
1))}))},t.prototype.mask=function(t){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(t.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},t.prototype.formatPath=function(t){var e=this;t.forEach((function(t,A){var n=qr(t)?t.start:t;0===A?e.ctx.moveTo(n.x,n.y):e.ctx.lineTo(n.x,n.y),qr(t)&&e.ctx.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)}))},t.prototype.renderRepeat=function(t,e,A,n){this.path(t),this.ctx.fillStyle=e,this.ctx.translate(A,n),this.ctx.fill(),this.ctx.translate(-A,-n)},t.prototype.resizeImage=function(t,e,A){if(t.width===e&&t.height===A)return t;var n=this.canvas.ownerDocument.createElement("canvas");return n.width=e,n.height=A,n.getContext("2d").drawImage(t,0,0,t.width,t.height,0,0,e,A),n},t.prototype.renderBackgroundImage=function(t){return n(this,void 0,void 0,(function(){var e,A,n,i,o;return r(this,(function(a){switch(a.label){case 0:e=t.styles.backgroundImage.length-1,A=function(A){var i,o,a,s,c,l,u,h,f,d,p,g,B,b,w,m,v,y,C,Q,U,F,N,E,_,S,L,I,x,T,H;return r(this,(function(r){switch(r.label){case 0:if(A.type!==ge.URL)return[3,5];i=void 0,o=A.url,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n.options.cache.match(o)];case 2:return i=r.sent(),[3,4];case 3:return r.sent(),Se.getInstance(n.options.id).error("Error loading background-image "+o),[3,4];case 4:return i&&(a=ii(t,e,[i.width,i.height,i.width/i.height]),m=a[0],F=a[1],N=a[2],b=n.ctx.createPattern(n.resizeImage(i,C=a[3],Q=a[4]),"repeat"),n.renderRepeat(m,b,F,N)),[3,6];case 5:A.type===ge.LINEAR_GRADIENT?(s=ii(t,e,[null,null,null]),m=s[0],F=s[1],N=s[2],c=function(t,e,A){var n="number"==typeof t?t:function(t,e,A){var n=e/2,r=A/2,i=$t(t[0],e)-n,o=r-$t(t[1],A);return(Math.atan2(o,i)+2*Math.PI)%(2*Math.PI)}(t,e,A),r=Math.abs(e*Math.sin(n))+Math.abs(A*Math.cos(n)),i=e/2,o=A/2,a=r/2,s=Math.sin(n-Math.PI/2)*a,c=Math.cos(n-Math.PI/2)*a;return[r,i-c,i+c,o-s,o+s]}(A.angle,C=s[3],Q=s[4]),l=c[0],u=c[1],h=c[2],f=c[3],d=c[4],(p=document.createElement("canvas")).width=C,p.height=Q,g=p.getContext("2d"),B=g.createLinearGradient(u,f,h,d),ye(A.stops,l).forEach((function(t){return B.addColorStop(t.stop,oe(t.color))})),g.fillStyle=B,g.fillRect(0,0,C,Q),C>0&&Q>0&&(b=n.ctx.createPattern(p,"repeat"),n.renderRepeat(m,b,F,N))):A.type===ge.RADIAL_GRADIENT&&(w=ii(t,e,[null,null,null]),m=w[0],v=w[1],y=w[2],Q=w[4],F=$t((U=0===A.position.length?[Wt]:A.position)[0],C=w[3]),N=$t(U[U.length-1],Q),E=function(t,e,A,n,r){var i=0,o=0;switch(t.size){case be.CLOSEST_SIDE:t.shape===Be.CIRCLE?i=o=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(A),Math.abs(A-r)):t.shape===Be.ELLIPSE&&(i=Math.min(Math.abs(e),Math.abs(e-n)),o=Math.min(Math.abs(A),Math.abs(A-r)));break;case be.CLOSEST_CORNER:if(t.shape===Be.CIRCLE)i=o=Math.min(Ce(e,A),Ce(e,A-r),Ce(e-n,A),Ce(e-n,A-r));else if(t.shape===Be.ELLIPSE){var a=Math.min(Math.abs(A),Math.abs(A-r))/Math.min(Math.abs(e),Math.abs(e-n)),s=Qe(n,r,e,A,!0);o=a*(i=Ce(s[0]-e,(s[1]-A)/a))}break;case be.FARTHEST_SIDE:t.shape===Be.CIRCLE?i=o=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(A),Math.abs(A-r)):t.shape===Be.ELLIPSE&&(i=Math.max(Math.abs(e),Math.abs(e-n)),o=Math.max(Math.abs(A),Math.abs(A-r)));break;case be.FARTHEST_CORNER:if(t.shape===Be.CIRCLE)i=o=Math.max(Ce(e,A),Ce(e,A-r),Ce(e-n,A),Ce(e-n,A-r));else if(t.shape===Be.ELLIPSE){a=Math.max(Math.abs(A),Math.abs(A-r))/Math.max(Math.abs(e),Math.abs(e-n));var c=Qe(n,r,e,A,!1);o=a*(i=Ce(c[0]-e,(c[1]-A)/a))}}return Array.isArray(t.size)&&(i=$t(t.size[0],n),o=2===t.size.length?$t(t.size[1],r):i),[i,o]}(A,F,N,C,Q),S=E[1],(_=E[0])>0&&_>0&&(L=n.ctx.createRadialGradient(v+F,y+N,0,v+F,y+N,_),ye(A.stops,2*_).forEach((function(t){return L.addColorStop(t.stop,oe(t.color))})),n.path(m),n.ctx.fillStyle=L,_!==S?(I=t.bounds.left+.5*t.bounds.width,x=t.bounds.top+.5*t.bounds.height,H=1/(T=S/_),n.ctx.save(),n.ctx.translate(I,x),n.ctx.transform(1,0,0,T,0,0),n.ctx.translate(-I,-x),n.ctx.fillRect(v,H*(y-x)+x,C,Q*H),n.ctx.restore(
1)):n.ctx.fill())),r.label=6;case 6:return e--,[2]}}))},n=this,i=0,o=t.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<o.length?[5,A(o[i])]:[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},t.prototype.renderBorder=function(t,e,A){return n(this,void 0,void 0,(function(){return r(this,(function(n){return this.path(function(t,e){switch(e){case 0:return Ai(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Ai(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Ai(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Ai(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}}(A,e)),this.ctx.fillStyle=oe(t),this.ctx.fill(),[2]}))}))},t.prototype.renderNodeBackgroundAndBorders=function(t){return n(this,void 0,void 0,(function(){var e,A,n,i,o,a,s,c,l=this;return r(this,(function(r){switch(r.label){case 0:return this.applyEffects(t.effects,2),A=!ie((e=t.container.styles).backgroundColor)||e.backgroundImage.length,n=[{style:e.borderTopStyle,color:e.borderTopColor},{style:e.borderRightStyle,color:e.borderRightColor},{style:e.borderBottomStyle,color:e.borderBottomColor},{style:e.borderLeftStyle,color:e.borderLeftColor}],i=di(ci(e.backgroundClip,0),t.curves),A||e.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),ie(e.backgroundColor)||(this.ctx.fillStyle=oe(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:r.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){l.ctx.save();var A,n,r,i,o=Jr(t.curves),a=e.inset?0:1e4,s=(A=(e.inset?1:-1)*e.spread.number-a,n=(e.inset?1:-1)*e.spread.number,r=e.spread.number*(e.inset?-2:2),i=e.spread.number*(e.inset?-2:2),o.map((function(t,e){switch(e){case 0:return t.add(A,n);case 1:return t.add(A+r,n);case 2:return t.add(A+r,n+i);case 3:return t.add(A,n+i)}return t})));e.inset?(l.path(o),l.ctx.clip(),l.mask(s)):(l.mask(o),l.ctx.clip(),l.path(s)),l.ctx.shadowOffsetX=e.offsetX.number+a,l.ctx.shadowOffsetY=e.offsetY.number,l.ctx.shadowColor=oe(e.color),l.ctx.shadowBlur=e.blur.number,l.ctx.fillStyle=e.inset?oe(e.color):"rgba(0,0,0,1)",l.ctx.fill(),l.ctx.restore()})),r.label=2;case 2:o=0,a=0,s=n,r.label=3;case 3:return a<s.length?(c=s[a]).style===Ye.NONE||ie(c.color)?[3,5]:[4,this.renderBorder(c.color,o,t.curves)]:[3,7];case 4:r.sent(),r.label=5;case 5:o++,r.label=6;case 6:return a++,[3,3];case 7:return[2]}}
1))}))},t.prototype.render=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=oe(this.options.backgroundColor),this.ctx.fillRect(this.options.x-this.options.scrollX,this.options.y-this.options.scrollY,this.options.width,this.options.height)),function t(e,A,n,r){e.container.elements.forEach((function(i){var o=yn(i.flags,4),a=yn(i.flags,2),s=new ti(i,e.getParentEffects());yn(i.styles.display,2048)&&r.push(s);var c=yn(i.flags,8)?[]:r;if(o||a){var l=o||i.styles.isPositioned()?n:A,u=new $r(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var h=i.styles.zIndex.order;if(h<0){var f=0;l.negativeZIndex.some((function(t,e){return h>t.element.container.styles.zIndex.order?(f=e,!1):f>0})),l.negativeZIndex.splice(f,0,u)}else if(h>0){var d=0;l.positiveZIndex.some((function(t,e){return h>=t.element.container.styles.zIndex.order?(d=e+1,!1):d>0})),l.positiveZIndex.splice(d,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else i.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);t(s,u,o?u:n,c)}else i.styles.isInlineLevel()?A.inlineLevel.push(s):A.nonInlineLevel.push(s),t(s,A,n,c);yn(i.flags,8)&&ei(i,c)}))}(A=new ti(t,[]),n=new $r(A),n,r=[]),ei(A.container,r),[4,this.renderStack(n)];case 1:return e.sent(),this.applyEffects([],2),[2,this.canvas]}var A,n,r}))}))},t}(),fi=function(t){return t instanceof Xn||t instanceof Gn||t instanceof qn&&"radio"!==t.type&&"checkbox"!==t.type},di=function(t,e){switch(t){case he.BORDER_BOX:return Jr(e);case he.CONTENT_BOX:return function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]}(e);case he.PADDING_BOX:default:return Wr(e)}},pi=function(t){switch(t){case MA.CENTER:return"center";case MA.RIGHT:return"right";case MA.LEFT:default:return"left"}},gi=function(){function t(t){this.canvas=t.canvas?t.canvas:document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.options=t,this.canvas.width=Math.floor(t.width*t.scale),this.canvas.height=Math.floor(t.height*t.scale),this.canvas.style.width=t.width+"px",this.canvas.style.height=t.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-t.x+t.scrollX,-t.y+t.scrollY),Se.getInstance(t.id).debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale)}return t.prototype.render=function(t){return n(this,void 0,void 0,(function(){var e,A;return r(this,(function(n){switch(n.label){case 0:return e=Ne(Math.max(this.options.windowWidth,this.options.width)*this.options.scale,Math.max(this.options.windowHeight,this.options.height)*this.options.scale,this.options.scrollX*this.options.scale,this.options.scrollY*this.options.scale,t),[4,Bi(e)];case 1:return A=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=oe(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(A,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},t}(),Bi=function(t){return new Promise((function(e,A){var n=new Image;n.onload=function(){e(n)},n.onerror=A,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))}))},bi=function(t){return re(kt.create(t).parseComponentValue())};return"undefined"!=typeof window&&Le.setContext(window),function(t,e){return void 0===e&&(e={}),function(t,e){return n(void 0,void 0,void 0,(function(){var n,a,s,c,l,u,h,f,d,p,g,B,b,w,m,v,y,C,Q,U,F,N,E;return r(this,(function(r){switch(r.label){case 0:if(!(n=t.ownerDocument))throw new Error("Element is not attached to a Document");if(!(a=n.defaultView))throw new Error("Document is not attached to a Window");return s=(Math.round(1e3*Math.random())+Date.now()).toString(16),c=lr(t)||"HTML"===t.tagName?function(t){var e=t.body,A=t.documentElement;if(!e||!A)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,A.scrollWidth),Math.max(e.offsetWidth,A.offsetWidth),Math.max(e.clientWidth,A.clientWidth)),r=Math.max(Math.max(e.scrollHeight,A.scrollHeight),Math.max(e.offsetHeight,A.offsetHeight),Math.max(e.clientHeight,A.clientHeight));return new i(0,0,n,r)}(n):o(t),l=c.width,u=c.height,h=c.left,f=c.top,d=A({},{allowTaint:!1,imageTimeout:15e3,proxy:void 0,useCORS:!1},e),p={backgroundColor:"#ffffff",cache:e.cache?e.cache:Le.create(s,d),logging:!0,removeContainer:!0,foreignObjectRendering:!1,scale:a.devicePixelRatio||1,windowWidth:a.innerWidth,windowHeight:a.innerHeight,scrollX:a.pageXOffset,scrollY:a.pageYOffset,x:
1h,y:f,width:Math.ceil(l),height:Math.ceil(u),id:s},g=A({},p,d,e),B=new i(g.scrollX,g.scrollY,g.windowWidth,g.windowHeight),Se.create({id:s,enabled:g.logging}),Se.getInstance(s).debug("Starting document clone"),b=new _r(t,{id:s,onclone:g.onclone,ignoreElements:g.ignoreElements,inlineImages:g.foreignObjectRendering,copyStyles:g.foreignObjectRendering}),(w=b.clonedReferenceElement)?[4,b.toIFrame(n,B)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=r.sent(),v=n.documentElement?bi(getComputedStyle(n.documentElement).backgroundColor):pe.TRANSPARENT,y=n.body?bi(getComputedStyle(n.body).backgroundColor):pe.TRANSPARENT,Q="string"==typeof(C=e.backgroundColor)?bi(C):null===C?pe.TRANSPARENT:4294967295,U=t===n.documentElement?ie(v)?ie(y)?Q:y:v:Q,F={id:s,cache:g.cache,canvas:g.canvas,backgroundColor:U,scale:g.scale,x:g.x,y:g.y,scrollX:g.scrollX,scrollY:g.scrollY,width:g.width,height:g.height,windowWidth:g.windowWidth,windowHeight:g.windowHeight},g.foreignObjectRendering?(Se.getInstance(s).debug("Document cloned, using foreign object rendering"),[4,new gi(F).render(w)]):[3,3];case 2:return N=r.sent(),[3,5];case 3:return Se.getInstance(s).debug("Document cloned, using computed rendering"),Le.attachInstance(g.cache),Se.getInstance(s).debug("Starting DOM parsing"),E=$n(w),Le.detachInstance(),U===E.styles.backgroundColor&&(E.styles.backgroundColor=pe.TRANSPARENT),Se.getInstance(s).debug("Starting renderer"),[4,new hi(F).render(E)];case 4:N=r.sent(),r.label=5;case 5:return!0===g.removeContainer&&(_r.destroy(m)||Se.getInstance(s).error("Cannot detach cloned iframe as it is not in the DOM anymore")),Se.getInstance(s).debug("Finished rendering"),Se.destroy(s),Le.destroy(s),[2,N]}}))}))}(t,e)}}()},yDR0:function(t,e,A){"use strict";t.exports=function(t,e,A,n){for(var r=65535&t|0,i=t>>>16&65535|0,o=0;0!==A;){A-=o=A>2e3?2e3:A;do{i=i+(r=r+e[n++]|0)|0}while(--o);r%=65521,i%=65521}return r|i<<16|0}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.