vendor: 2,256 bytes, line 1
1(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),s=n("fc6a"),a=n("a04b"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=s(t),e=a(e),l)try{return u(t,e)}catch(n){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},"0b42":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),s=o("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)?r(e)&&(e=e[s],null===e&&(e=void 0)):e=void 0),void 0===e?Array:e}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),o=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){o=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(c){}return n}},"1cdc":function(t,e,n){var r=n("342f");
vendor: 8,281 bytes, line 1
1t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),s=n("0366"),a=n("9a1f"),c=n("35a1"),l=n("2a62"),u=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var f,h,d,p,g,m,v,b=n&&n.that,y=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),x=s(e,b,1+y+_),A=function(t){return f&&l(f,"normal",t),new u(!0,t)},L=function(t){return y?(r(t),_?x(t[0],t[1],A):x(t[0],t[1])):_?x(t,A):x(t)};if(w)f=t;else{if(h=c(t),"function"!=typeof h)throw TypeError("Target is not iterable");if(i(h)){for(d=0,p=o(t.length);p>d;d++)if(g=L(t[d]),g&&g instanceof u)return g;return new u(!1)}f=a(t,h)}m=f.next;while(!(v=m.call(f)).done){try{g=L(v.value)}catch(N){l(f,"throw",N)}if("object"==typeof g&&g&&g instanceof u)return g}return new u(!1)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),s=n("6eeb"),a=n("ce4e"),c=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,f,h,d,p,g=t.target,m=t.global,v=t.stat;if(u=m?r:v?r[g]||a(g,{}):(r[g]||{}).prototype,u)for(f in e){if(d=e[f],t.noTargetGet?(p=i(u,f),h=p&&p.value):h=u[f],n=l(m?f:g+(v?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof d===typeof h)continue;c(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),s(u,f,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),s=n("83ab"),a=o("species");t.exports=function(t){var e=r(t),n=i.f;s&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},"2a62":function(t,e,n){var r=n("825a");t.exports=function(t,e,n){var i,o;r(t);try{if(i=t["return"],void 0===i){if("throw"===e)throw n;return n}i=i.call(t)}catch(s){o=!0,i=s}if("throw"===e)throw n;if(o)throw i;return r(i),n}},"2cf4":function(t,e,n){var r,i,o,s,a=n("da84"),c=n("d039"),l=n("0366"),u=n("1be4"),f=n("cc12"),h=n("1cdc"),d=n("605d"),p=a.setImmediate,g=a.clearImmediate,m=a.process,v=a.MessageChannel,b=a.Dispatch,y=0,w={},_="onreadystatechange";try{r=a.location}catch(S){}var x=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},A=function(t){return function(){x(t)}},L=function(t){x(t.data)},N=function(t){a.postMessage(String(t),r.protocol+"//"+r.host)};p&&g||(p=function(t){var e=[],n=arguments.length,r=1;while(n>r)e.push(arguments[r++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(y),y},g=function(t){delete w[t]},d?i=function(t){m.nextTick(A(t))}:b&&b.now?i=function(t){b.now(A(t))}:v&&!h?(o=new v,s=o.port2,o.port1.onmessage=L,i=l(s.postMessage,s,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&r&&"file:"!==r.protocol&&!c(N)?(i=N,a.addEventListener("message",L,!1)):i=_ in f("script")?function(t){u.appendChild(f("script"))[_]=function(){u.removeChild(this),x(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:p,clear:g}},"2d00":function(t,e,n){var r,i,o=n("da84"),s=n("342f"),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u?(r=u.split("."),i=r[0]<4?1:r[0]+r[1]):s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),s=o("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||i[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),s=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=s(e),a=r.length,c=0;while(a>c)i.f(t,n=r[c++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("577e"),o=n("69f3"),s=n("7dd0"),a="String Iterator",c=o.set,l=o.getterFor(a);s(String,"String",(function(t){c(this,{type:a,string:i(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),s=r("unscopables"),a=Array.prototype;void 0==a[s]&&o.f(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),s=o("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[s])?e:i(n)}},"485a":function(t,e,n){var r=n("861d");t.exports=function(t,e){var n,i;if("string"===e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),i=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),s=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e,n){var r=n("7b0b"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return i.call(r(t),e)}},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.17.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),i=n("241c"),o=n("7418"),s=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=o.f;return n?e.concat(n(t)):e}},"577e":function(t,e,n){var r=n("d9b5");t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"605d":function(t,e,n){var r=n("c6b6"),i=n("da84");t.exports="process"==r(i.process)},6069:function(t,e){t.exports="object"==typeof window},"60da":function(t,e,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("df75"),s=n("7418"),a=n("d1e7"),c=n("7b0b"),l=n("44ad"),u=Object.assign,f=Object.defineProperty;t.exports=!u||i((function(){if(r&&1!==u({b:1},u(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||o(u({},e)).join("")!=i}))?function(t,e){var n=c(t),i=arguments.length,u=1,f=s.f,h=a.f;while(i>u){var d,p=l(arguments[u++]),g=f?o(p).concat(f(p)):o(p),m=g.length,v=0;while(m>v)d=g[v++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},6547:function(t,e,n){var r=n("a691"),i=n("577e"),o=n("1d80"),s=function(t){return function(e,n){var s,a,c=i(o(e)),l=r(n),u=c.length;return l<0||l>=u?t?"":void 0:(s=c.charCodeAt(l),s<55296||s>56319||l+1===u||(a=c.charCodeAt(l+1))<56320||a>57343?t?c.charAt(l):s:t?c.slice(l,l+2):a-56320+(s-55296<<10)+65536)}};t.exports={codeAt:s(!1),charAt:s(!0)}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,s=n("7f9a"),a=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),f=n("c6cd"),h=n("f772"),d=n("d012"),p="Object already initialized",g
1=a.WeakMap,m=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var b=f.state||(f.state=new g),y=b.get,w=b.has,_=b.set;r=function(t,e){if(w.call(b,t))throw new TypeError(p);return e.facade=t,_.call(b,t,e),e},i=function(t){return y.call(b,t)||{}},o=function(t){return w.call(b,t)}}else{var x=h("state");d[x]=!0,r=function(t,e){if(u(t,x))throw new TypeError(p);return e.facade=t,l(t,x,e),e},i=function(t){return u(t,x)?t[x]:{}},o=function(t){return u(t,x)}}t.exports={set:r,get:i,has:o,enforce:m,getterFor:v}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),s=n("ce4e"),a=n("8925"),c=n("69f3"),l=c.get,u=c.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var c,l=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),c=u(n),c.source||(c.source=f.join("string"==typeof e?e:""))),t!==r?(l?!d&&t[e]&&(h=!0):delete t[e],h?t[e]=n:i(t,e,n)):h?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a(this)}))},7037:function(t,e,n){function r(e){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports["default"]=t.exports,t.exports.__esModule=!0),r(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),t.exports=r,t.exports["default"]=t.exports,t.exports.__esModule=!0},"70b0":function(t,e,n){(function(e){"use strict";var n=y(),r=w(),i=_(),o=x(),s={imagePlaceholder:void 0,cacheBust:!1},a={toSvg:c,toPng:u,toJpeg:f,toBlob:h,toPixelData:l,impl:{fontFaces:i,images:o,util:n,inliner:r,options:{}}};function c(t,e){return e=e||{},d(e),Promise.resolve(t).then((function(t){return g(t,e.filter,!0)})).then(m).then(v).then(r).then((function(r){return b(r,e.width||n.width(t),e.height||n.height(t))}));function r(t){return e.bgcolor&&(t.style.backgroundColor=e.bgcolor),e.width&&(t.style.width=e.width+"px"),e.height&&(t.style.height=e.height+"px"),e.style&&Object.keys(e.style).forEach((function(n){t.style[n]=e.style[n]})),t}}function l(t,e){return p(t,e||{}).then((function(e){return e.getContext("2d").getImageData(0,0,n.width(t),n.height(t)).data}))}function u(t,e){return p(t,e||{}).then((function(t){return t.toDataURL()}))}function f(t,e){return e=e||{},p(t,e).then((function(t){return t.toDataURL("image/jpeg",e.quality||1)}))}function h(t,e){return p(t,e||{}).then(n.canvasToBlob)}function d(t){"undefined"===typeof t.imagePlaceholder?a.impl.options.imagePlaceholder=s.imagePlaceholder:a.impl.options.imagePlaceholder=t.imagePlaceholder,"undefined"===typeof t.cac
1heBust?a.impl.options.cacheBust=s.cacheBust:a.impl.options.cacheBust=t.cacheBust}function p(t,e){return c(t,e).then(n.makeImage).then(n.delay(100)).then((function(e){var n=r(t);return n.getContext("2d").drawImage(e,0,0),n}));function r(t){var r=document.createElement("canvas");if(r.width=e.width||n.width(t),r.height=e.height||n.height(t),e.bgcolor){var i=r.getContext("2d");i.fillStyle=e.bgcolor,i.fillRect(0,0,r.width,r.height)}return r}}function g(t,e,r){return r||!e||e(t)?Promise.resolve(t).then(i).then((function(n){return o(t,n,e)})).then((function(e){return s(t,e)})):Promise.resolve();function i(t){return t instanceof HTMLCanvasElement?n.makeImage(t.toDataURL()):t.cloneNode(!1)}function o(t,e,r){var i=t.childNodes;return 0===i.length?Promise.resolve(e):o(e,n.asArray(i),r).then((function(){return e}));function o(t,e,n){var r=Promise.resolve();return e.forEach((function(e){r=r.then((function(){return g(e,n)})).then((function(e){e&&t.appendChild(e)}))})),r}}function s(t,e){return e instanceof Element?Promise.resolve().then(r).then(i).then(o).then(s).then((function(){return e})):e;function r(){function r(t,e){function r(t,e){n.asArray(t).forEach((function(n){e.setProperty(n,t.getPropertyValue(n),t.getPropertyPriority(n))}))}t.cssText?e.cssText=t.cssText:r(t,e)}r(window.getComputedStyle(t),e.style)}function i(){function r(r){var i=window.getComputedStyle(t,r),o=i.getPropertyValue("content");if(""!==o&&"none"!==o){var s=n.uid();e.className=e.className+" "+s;var a=document.createElement("style");a.appendChild(c(s,r,i)),e.appendChild(a)}function c(t,e,r){var i="."+t+":"+e,o=r.cssText?s(r):a(r);return document.createTextNode(i+"{"+o+"}");function s(t){var e=t.getPropertyValue("content");return t.cssText+" content: "+e+";"}function a(t){return n.asArray(t).map(e).join("; ")+";";function e(e){return e+": "+t.getPropertyValue(e)+(t.getPropertyPriority(e)?" !important":"")}}}}[":before",":after"].forEach((function(t){r(t)}))}function o(){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function s(){e instanceof SVGElement&&(e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e instanceof SVGRectElement&&["width","height"].forEach((function(t){var n=e.getAttribute(t);n&&e.style.setProperty(t,n)})))}}}function m(t){return i.resolveAll().then((function(e){var n=document.createElement("style");return t.appendChild(n),n.appendChild(document.createTextNode(e)),t}))}function v(t){return o.inlineAll(t).then((function(){return t}))}function b(t,e,r){return Promise.resolve(t).then((function(t){return t.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(t)})).then(n.escapeXhtml).then((function(t){return'<foreignObject x="0" y="0" width="100%" height="100%">'+t+"</foreignObject>"})).then((function(t){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+r+'">'+t+"</svg>"})).then((function(t){return"data:image/svg+xml;charset=utf-8,"+t}))}function y(){return{escape:h,parseExtension:e,mimeType:n,dataAsUrl:f,isDataUrl:r,canvasToBlob:o,resolveUrl:s,getAndEncode:u,uid:c(),delay:d,asArray:p,escapeXhtml:g,makeImage:l,width:m,height:v};function t(){var t="application/font-woff",e="image/jpeg";return{woff:t,woff2:t,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:e,jpeg:e,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}function e(t){var e=/\.([^\.\/]*?)$/g.exec(t);return e?e[1]:""}function n(n){var r=e(n).toLowerCase();return t()[r]||""}function r(t){return-1!==t.search(/^(data:)/)}function i(t){return new Promise((function(e){for(var n=window.atob(t.toDataURL().split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);e(new Blob([i],{type:"image/png"}))}))}function o(t){return t.toBlob?new Promise((function(e){t.toBlob(e)})):i(t)}function s(t,e){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var i=n.createElement("a");return n.body.appendChild(i),r.href=e,i.href=t,i.href}function c(){var t=0;return function(){return"u"+e()+t++;function e(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}function l(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=n,r.src=t}))}function u(t){var e=3e4;return a.impl.options.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime()),new Promise((function(n){var r,i=new XMLHttpRequest;if(i.onreadystatechange=s,i.ontimeout=c,i.responseType="blob",i.timeout=e,i.open("GET",t,!0),i.send(),a.impl.options.imagePlaceholder){var o=a.impl.options.imagePlaceholder.split(/,/);o&&o[1]&&(r=o[1])}function s(){if(4===i.readyState)if(200===i.status){var e=new FileReader;e.onloadend=function(){var t=e.result.split(/,/)[1];n(t)}
1,e.readAsDataURL(i.response)}else r?n(r):l("cannot fetch resource: "+t+", status: "+i.status)}function c(){r?n(r):l("timeout of "+e+"ms occured while fetching resource: "+t)}function l(t){console.error(t),n("")}}))}function f(t,e){return"data:"+e+";base64,"+t}function h(t){return t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}function d(t){return function(e){return new Promise((function(n){setTimeout((function(){n(e)}),t)}))}}function p(t){for(var e=[],n=t.length,r=0;r<n;r++)e.push(t[r]);return e}function g(t){return t.replace(/#/g,"%23").replace(/\n/g,"%0A")}function m(t){var e=b(t,"border-left-width"),n=b(t,"border-right-width");return t.scrollWidth+e+n}function v(t){var e=b(t,"border-top-width"),n=b(t,"border-bottom-width");return t.scrollHeight+e+n}function b(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return parseFloat(n.replace("px",""))}}function w(){var t=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:o,shouldProcess:e,impl:{readUrls:r,inline:i}};function e(e){return-1!==e.search(t)}function r(e){var r,i=[];while(null!==(r=t.exec(e)))i.push(r[1]);return i.filter((function(t){return!n.isDataUrl(t)}))}function i(t,e,r,i){return Promise.resolve(e).then((function(t){return r?n.resolveUrl(t,r):t})).then(i||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e))})).then((function(n){return t.replace(o(e),"$1"+n+"$3")}));function o(t){return new RegExp("(url\\(['\"]?)("+n.escape(t)+")(['\"]?\\))","g")}}function o(t,n,o){return s()?Promise.resolve(t):Promise.resolve(t).then(r).then((function(e){var r=Promise.resolve(t);return e.forEach((function(t){r=r.then((function(e){return i(e,t,n,o)}))})),r}));function s(){return!e(t)}}}function _(){return{resolveAll:t,impl:{readAll:e}};function t(){return e(document).then((function(t){return Promise.all(t.map((function(t){return t.resolve()})))})).then((function(t){return t.join("\n")}))}function e(){return Promise.resolve(n.asArray(document.styleSheets)).then(e).then(t).then((function(t){return t.map(i)}));function t(t){return t.filter((function(t){return t.type===CSSRule.FONT_FACE_RULE})).filter((function(t){return r.shouldProcess(t.style.getPropertyValue("src"))}))}function e(t){var e=[];return t.forEach((function(t){try{n.asArray(t.cssRules||[]).forEach(e.push.bind(e))}catch(r){console.log("Error while reading CSS rules from "+t.href,r.toString())}})),e}function i(t){return{resolve:function(){var e=(t.parentStyleSheet||{}).href;return r.inlineAll(t.cssText,e)},src:function(){return t.style.getPropertyValue("src")}}}}}function x(){return{inlineAll:e,impl:{newImage:t}};function t(t){return{inline:e};function e(e){return n.isDataUrl(t.src)?Promise.resolve():Promise.resolve(t.src).then(e||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t.src))})).then((function(e){return new Promise((function(n,r){t.onload=n,t.onerror=r,t.src=e}))}))}}function e(i){return i instanceof Element?o(i).then((function(){return i instanceof HTMLImageElement?t(i).inline():Promise.all(n.asArray(i.childNodes).map((function(t){return e(t)})))})):Promise.resolve(i);function o(t){var e=t.style.getPropertyValue("background");return e?r.inlineAll(e).then((function(e){t.style.setProperty("background",e,t.style.getPropertyPriority("background"))})).then((function(){return t})):Promise.resolve(t)}}}t.exports=a})()},"72ba":function(t,e,n){"use strict";n.d(e,"b",(function(){return Y})),n.d(e,"a",(function(){return X}));var r=Uint8Array,i=Uint16Array,o=Uint32Array,s=new r([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),a=new r([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),c=new r([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),l=function(t,e){for(var n=new i(31),r=0;r<31;++r)n[r]=e+=1<<t[r-1];var s=new o(n[30]);for(r=1;r<30;++r)for(var a=n[r];a<n[r+1];++a)s[a]=a-n[r]<<5|r;return[n,s]},u=l(s,2),f=u[0],h=u[1];f[28]=258,h[258]=28;for(var d=l(a,0),p=d[0],g=d[1],m=new i(32768),v=0;v<32768;++v){var b=(43690&v)>>>1|(21845&v)<<1;b=(52428&b)>>>2|(13107&b)<<2,b=(61680&b)>>>4|(3855&b)<<4,m[v]=((65280&b)>>>8|(255&b)<<8)>>>1}var y=function(t,e,n){for(var r=t.length,o=0,s=new i(e);o<r;++o)++s[t[o]-1];var a,c=new i(e);for(o=0;o<e;++o)c[o]=c[o-1]+s[o-1]<<1;if(n){a=new i(1<<e);var l=15-e;for(o=0;o<r;++o)if(t[o])for(var u=o<<4|t[o],f=e-t[o],h=c[t[o]-1]++<<f,d=h|(1<<f)-1;h<=d;++h)a[m[h]>>>l]=u}else for(a=new i(r),o=0;o<r;++o)a[o]=m[c[t[o]-1]++]>>>15-t[o];return a},w=new r(288);for(v=0;v<144;++v)w[v]=8;for(v=144;v<256;++v)w[v]=9;for(v=256;v<280;++v)w[v]=7;for(v=280;v<288;++v)w[v]=8;var _=new r(32);for(v=0;v<32;++v)_[v]=5;var x=y(w,9,0),A=y(w,9,1),L=y(_,5,0),N=y(_,5,1),S=function(t){for(var e=t[0],n=1;n<t.length;++n)t[n]>e&&(e=t[n]);return e},P=function(t,e,n){var r=e/8>>0;return(t[r]|t[r+1]<<8)>>>(7&e)&n},O=function(t,e){var n=e/8>>0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>>(7&e)},j=function(t){return(t/8>>
vendor: 4,918 bytes, line 1
10)+(7&t&&1)},k=function(t,e,n){(null==e||e<0)&&(e=0),(null==n||n>t.length)&&(n=t.length);var s=new(t instanceof i?i:t instanceof o?o:r)(n-e);return s.set(t.subarray(e,n)),s},C=function(t,e,n){var i=t.length,o=!e||n,l=!n||n.i;n||(n={}),e||(e=new r(3*i));var u=function(t){var n=e.length;if(t>n){var i=new r(Math.max(2*n,t));i.set(e),e=i}},h=n.f||0,d=n.p||0,g=n.b||0,m=n.l,v=n.d,b=n.m,w=n.n,_=8*i;do{if(!m){n.f=h=P(t,d,1);var x=P(t,d+1,3);if(d+=3,!x){var L=j(d)+4,C=t[L-4]|t[L-3]<<8,E=L+C;if(E>i){if(l)throw"unexpected EOF";break}o&&u(g+C),e.set(t.subarray(L,E),g),n.b=g+=C,n.p=d=8*E;continue}if(1==x)m=A,v=N,b=9,w=5;else{if(2!=x)throw"invalid block type";var I=P(t,d,31)+257,F=P(t,d+10,15)+4,T=I+P(t,d+5,31)+1;d+=14;for(var M=new r(T),D=new r(19),B=0;B<F;++B)D[c[B]]=P(t,d+3*B,7);d+=3*F;var R=S(D),q=(1<<R)-1;if(!l&&d+T*(R+7)>_)break;var U=y(D,R,1);for(B=0;B<T;){var z=U[P(t,d,q)];d+=15&z;L=z>>>4;if(L<16)M[B++]=L;else{var H=0,W=0;16==L?(W=3+P(t,d,3),d+=2,H=M[B-1]):17==L?(W=3+P(t,d,7),d+=3):18==L&&(W=11+P(t,d,127),d+=7);while(W--)M[B++]=H}}var V=M.subarray(0,I),G=M.subarray(I);b=S(V),w=S(G),m=y(V,b,1),v=y(G,w,1)}if(d>_)throw"unexpected EOF"}o&&u(g+131072);var $=(1<<b)-1,Y=(1<<w)-1,X=b+w+18;while(l||d+X<_){H=m[O(t,d)&$];var J=H>>>4;if(d+=15&H,d>_)throw"unexpected EOF";if(!H)throw"invalid length/literal";if(J<256)e[g++]=J;else{if(256==J){m=null;break}var K=J-254;if(J>264){B=J-257;var Q=s[B];K=P(t,d,(1<<Q)-1)+f[B],d+=Q}var Z=v[O(t,d)&Y],tt=Z>>>4;if(!Z)throw"invalid distance";d+=15&Z;G=p[tt];if(tt>3){Q=a[tt];G+=O(t,d)&(1<<Q)-1,d+=Q}if(d>_)throw"unexpected EOF";o&&u(g+131072);for(var et=g+K;g<et;g+=4)e[g]=e[g-G],e[g+1]=e[g+1-G],e[g+2]=e[g+2-G],e[g+3]=e[g+3-G];g=et}}n.l=m,n.p=d,n.b=g,m&&(h=1,n.m=b,n.d=v,n.n=w)}while(!h);return g==e.length?e:k(e,0,g)},E=function(t,e,n){n<<=7&e;var r=e/8>>0;t[r]|=n,t[r+1]|=n>>>8},I=function(t,e,n){n<<=7&e;var r=e/8>>0;t[r]|=n,t[r+1]|=n>>>8,t[r+2]|=n>>>16},F=function(t,e){for(var n=[],o=0;o<t.length;++o)t[o]&&n.push({s:o,f:t[o]});var s=n.length,a=n.slice();if(!s)return[new r(0),0];if(1==s){var c=new r(n[0].s+1);return c[n[0].s]=1,[c,1]}n.sort((function(t,e){return t.f-e.f})),n.push({s:-1,f:25001});var l=n[0],u=n[1],f=0,h=1,d=2;n[0]={s:-1,f:l.f+u.f,l:l,r:u};while(h!=s-1)l=n[n[f].f<n[d].f?f++:d++],u=n[f!=h&&n[f].f<n[d].f?f++:d++],n[h++]={s:-1,f:l.f+u.f,l:l,r:u};var p=a[0].s;for(o=1;o<s;++o)a[o].s>p&&(p=a[o].s);var g=new i(p+1),m=T(n[h-1],g,0);if(m>e){o=0;var v=0,b=m-e,y=1<<b;for(a.sort((function(t,e){return g[e.s]-g[t.s]||t.f-e.f}));o<s;++o){var w=a[o].s;if(!(g[w]>e))break;v+=y-(1<<m-g[w]),g[w]=e}v>>>=b;while(v>0){var _=a[o].s;g[_]<e?v-=1<<e-g[_]++-1:++o}for(;o>=0&&v;--o){var x=a[o].s;g[x]==e&&(--g[x],++v)}m=e}return[new r(g),m]},T=function(t,e,n){return-1==t.s?Math.max(T(t.l,e,n+1),T(t.r,e,n+1)):e[t.s]=n},M=function(t){var e=t.length;while(e&&!t[--e]);for(var n=new i(++e),r=0,o=t[0],s=1,a=function(t){n[r++]=t},c=1;c<=e;++c)if(t[c]==o&&c!=e)++s;else{if(!o&&s>2){for(;s>138;s-=138)a(32754);s>2&&(a(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(a(o),--s;s>6;s-=6)a(8304);s>2&&(a(s-3<<5|8208),s=0)}while(s--)a(o);s=1,o=t[c]}return[n.subarray(0,r),e]},D=function(t,e){for(var n=0,r=0;r<e.length;++r)n+=t[r]*e[r];return n},B=function(t,e,n){var r=n.length,i=j(e+2);t[i]=255&r,t[i+1]=r>>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var o=0;o<r;++o)t[i+o+4]=n[o];return 8*(i+4+r)},R=function(t,e,n,r,o,l,u,f,h,d,p){E(e,p++,n),++o[256];for(var g=F(o,15),m=g[0],v=g[1],b=F(l,15),A=b[0],N=b[1],S=M(m),P=S[0],O=S[1],j=M(A),k=j[0],C=j[1],T=new i(19),R=0;R<P.length;++R)T[31&P[R]]++;for(R=0;R<k.length;++R)T[31&k[R]]++;for(var q=F(T,7),U=q[0],z=q[1],H=19;H>4&&!U[c[H-1]];--H);var W,V,G,$,Y=d+5<<3,X=D(o,w)+D(l,_)+u,J=D(o,m)+D(l,A)+u+14+3*H+D(T,U)+(2*T[16]+3*T[17]+7*T[18]);if(Y<=X&&Y<=J)return B(e,p,t.subarray(h,h+d));if(E(e,p,1+(J<X)),p+=2,J<X){W=y(m,v,0),V=m,G=y(A,N,0),$=A;var K=y(U,z,0);E(e,p,O-257),E(e,p+5,C-1),E(e,p+10,H-4),p+=14;for(R=0;R<H;++R)E(e,p+3*R,U[c[R]]);p+=3*H;for(var Q=[P,k],Z=0;Z<2;++Z){var tt=Q[Z];for(R=0;R<tt.length;++R){var et=31&tt[R];E(e,p,K[et]),p+=U[et],et>15&&(E(e,p,tt[R]>>>5&127),p+=tt[R]>>>12)}}}else W=x,V=w,G=L,$=_;for(R=0;R<f;++R)if(r[R]>255){et=r[R]>>>18&31;I(e,p,W[et+257]),p+=V[et+257],et>7&&(E(e,p,r[R]>>>23&31),p+=s[et]);var nt=31&r[R];I(e,p,G[nt]),p+=$[nt],nt>3&&(I(e,p,r[R]>>>5&8191),p+=a[nt])}else I(e,p,W[r[R]]),p+=V[r[R]];return I(e,p,W[256]),p+V[256]},q=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),U=new r(0),z=function(t,e,n,c,l,u){var f=t.length,d=new r(c+f+5*(1+Math.floor(f/7e3))+l),p=d.subarray(c,d.length-l),m=0;if(!e||f<8)for(var v=0;v<=f;v+=65535){var b=v+65535;b<f?m=B(p,m,t.subarray(v,b)):(p[v]=u,m=B(p,m,t.subarray(v,f)))}else{for(var y=q[e-1],w=y>>>13,_=8191&y,x=(1<<n)-1,A=new i(32768),L=new i(x+1),N=Math.ceil(n/3),S=2*N,P=function(e){return(t[e]^t[e+1]<<N^t[e+2]<<S)&x},O=new o(25e3),C=new i(288),E=new i(32),I=0,F=0,T=(v=0,0),M=0,D=0;v<f;++v){var z=P(v),H=32767&v,W=L[z];
1if(A[H]=W,L[z]=H,M<=v){var V=f-v;if((I>7e3||T>24576)&&V>423){m=R(t,p,0,O,C,E,F,T,D,v-D,m),T=I=F=0,D=v;for(var G=0;G<286;++G)C[G]=0;for(G=0;G<30;++G)E[G]=0}var $=2,Y=0,X=_,J=H-W&32767;if(V>2&&z==P(v-J)){var K=Math.min(w,V)-1,Q=Math.min(32767,v),Z=Math.min(258,V);while(J<=Q&&--X&&H!=W){if(t[v+$]==t[v+$-J]){for(var tt=0;tt<Z&&t[v+tt]==t[v+tt-J];++tt);if(tt>$){if($=tt,Y=J,tt>K)break;var et=Math.min(J,tt-2),nt=0;for(G=0;G<et;++G){var rt=v-J+G+32768&32767,it=A[rt],ot=rt-it+32768&32767;ot>nt&&(nt=ot,W=rt)}}}H=W,W=A[H],J+=H-W+32768&32767}}if(Y){O[T++]=268435456|h[$]<<18|g[Y];var st=31&h[$],at=31&g[Y];F+=s[st]+a[at],++C[257+st],++E[at],M=v+$,++I}else O[T++]=t[v],++C[t[v]]}}m=R(t,p,u,O,C,E,F,T,D,v-D,m),u||(m=B(p,m,U))}return k(d,0,c+j(m)+l)},H=function(){var t=1,e=0;return{p:function(n){for(var r=t,i=e,o=n.length,s=0;s!=o;){for(var a=Math.min(s+5552,o);s<a;++s)r+=n[s],i+=r;r%=65521,i%=65521}t=r,e=i},d:function(){return(t>>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},W=function(t,e,n,r,i){return z(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,n,r,!i)},V=function(t,e,n){for(;n;++e)t[e]=n,n>>>=8},G=function(t,e){var n=e.level,r=0==n?0:n<6?1:9==n?3:2;t[0]=120,t[1]=r<<6|(r?32-2*r:1)},$=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};function Y(t,e){void 0===e&&(e={});var n=H();n.p(t);var r=W(t,e,2,4);return G(r,e),V(r,r.length-4,n.d()),r}function X(t,e){return C(($(t),t.subarray(2,-4)),e)}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),s=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||s(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(t,e,n){var r=n("cc12"),i=r("span").classList,o=i&&i.constructor&&i.constructor.prototype;t.exports=o===Object.prototype?void 0:o},"7a23":function(t,e,n){"use strict";n.d(e,"i",(function(){return r["H"]})),n.d(e,"j",(function(){return r["I"]})),n.d(e,"n",(function(){return r["K"]})),n.d(e,"a",(function(){return Cn})),n.d(e,"c",(function(){return nr})),n.d(e,"d",(function(){return zn})),n.d(e,"e",(function(){return Xn})),n.d(e,"f",(function(){return er})),n.d(e,"g",(function(){return tr})),n.d(e,"h",(function(){return Jn})),n.d(e,"k",(function(){return Dn})),n.d(e,"l",(function(){return ar})),n.d(e,"m",(function(){return Pn})),n.d(e,"b",(function(){return fo}));var r=n("9ff4");let i;const o=[];class s{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&i&&(this.parent=i,this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(t){if(this.active)try{return this.on(),t()}finally{this.off()}else 0}on(){this.active&&(o.push(this),i=this)}off(){this.active&&(o.pop(),i=o[o.length-1])}stop(t){if(this.active){if(this.effects.forEach(t=>t.stop()),this.cleanups.forEach(t=>t()),this.scopes&&this.scopes.forEach(t=>t.stop(!0)),this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function a(t,e){e=e||i,e&&e.active&&e.effects.push(t)}const c=t=>{const e=new Set(t);return e.w=0,e.n=0,e},l=t=>(t.w&g)>0,u=t=>(t.n&g)>0,f=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=g},h=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const i=e[r];l(i)&&!u(i)?i.delete(t):e[n++]=i,i.w&=~g,i.n&=~g}e.length=n}},d=new WeakMap;let p=0,g=1;const m=30,v=[];let b;const y=Symbol(""),w=Symbol("");class _{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],a(this,n)}run(){if(!this.active)return this.fn();if(!v.includes(this))try{return v.push(b=this),S(),g=1<<++p,p<=m?f(this):x(this),this.fn()}finally{p<=m&&h(this),g=1<<--p,P(),v.pop();const t=v.length;b=t>0?v[t-1]:void 0}}stop(){this.active&&(x(this),this.onStop&&this.onStop(),this.active=!1)}}function x(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let A=!0;const L=[];function N(){L.push(A),A=!1}function S(){L.push(A),A=!0}function P(){const t=L.pop();A=void 0===t||t}function O(t,e,n){if(!j())return;let r=d.get(t);r||d.set(t,r=new Map);let i=r.get(n);i||r.set(n,i=c());const o=void 0;k(i,o)}function j(){return A&&void 0!==b}function k(t,e){let n=!1;p<=m?u(t)||(t.n|=g,n=!l(t)):n=!t.has(b),n&&(t.add(b),b.deps.push(t))}function C(t,e,n,i,o,s){const a=d.get(t);if(!a)return;let l=[];
1if("clear"===e)l=[...a.values()];else if("length"===n&&Object(r["n"])(t))a.forEach((t,e)=>{("length"===e||e>=i)&&l.push(t)});else switch(void 0!==n&&l.push(a.get(n)),e){case"add":Object(r["n"])(t)?Object(r["r"])(n)&&l.push(a.get("length")):(l.push(a.get(y)),Object(r["s"])(t)&&l.push(a.get(w)));break;case"delete":Object(r["n"])(t)||(l.push(a.get(y)),Object(r["s"])(t)&&l.push(a.get(w)));break;case"set":Object(r["s"])(t)&&l.push(a.get(y));break}if(1===l.length)l[0]&&E(l[0]);else{const t=[];for(const e of l)e&&t.push(...e);E(c(t))}}function E(t,e){for(const n of Object(r["n"])(t)?t:[...t])(n!==b||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const I=Object(r["G"])("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(r["D"])),T=q(),M=q(!1,!0),D=q(!0),B=R();function R(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...t){const n=Et(this);for(let e=0,i=this.length;e<i;e++)O(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Et)):r}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...t){N();const n=Et(this)[e].apply(this,t);return P(),n}}),t}function q(t=!1,e=!1){return function(n,i,o){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_raw"===i&&o===(t?e?xt:_t:e?wt:yt).get(n))return n;const s=Object(r["n"])(n);if(!t&&s&&Object(r["j"])(B,i))return Reflect.get(B,i,o);const a=Reflect.get(n,i,o);if(Object(r["D"])(i)?F.has(i):I(i))return a;if(t||O(n,"get",i),e)return a;
1if(Mt(a)){const t=!s||!Object(r["r"])(i);return t?a.value:a}return Object(r["u"])(a)?t?Pt(a):Nt(a):a}}const U=H(),z=H(!0);function H(t=!1){return function(e,n,i,o){let s=e[n];if(!t&&(i=Et(i),s=Et(s),!Object(r["n"])(e)&&Mt(s)&&!Mt(i)))return s.value=i,!0;const a=Object(r["n"])(e)&&Object(r["r"])(n)?Number(n)<e.length:Object(r["j"])(e,n),c=Reflect.set(e,n,i,o);return e===Et(o)&&(a?Object(r["i"])(i,s)&&C(e,"set",n,i,s):C(e,"add",n,i)),c}}function W(t,e){const n=Object(r["j"])(t,e),i=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&C(t,"delete",e,void 0,i),o}function V(t,e){const n=Reflect.has(t,e);return Object(r["D"])(e)&&F.has(e)||O(t,"has",e),n}function G(t){return O(t,"iterate",Object(r["n"])(t)?"length":y),Reflect.ownKeys(t)}const $={get:T,set:U,deleteProperty:W,has:V,ownKeys:G},Y={get:D,set(t,e){return!0},deleteProperty(t,e){return!0}},X=Object(r["h"])({},$,{get:M,set:z}),J=t=>Object(r["u"])(t)?Nt(t):t,K=t=>Object(r["u"])(t)?Pt(t):t,Q=t=>t,Z=t=>Reflect.getPrototypeOf(t);function tt(t,e,n=!1,r=!1){t=t["__v_raw"];const i=Et(t),o=Et(e);e!==o&&!n&&O(i,"get",e),!n&&O(i,"get",o);const{has:s}=Z(i),a=r?Q:n?K:J;return s.call(i,e)?a(t.get(e)):s.call(i,o)?a(t.get(o)):void(t!==i&&t.get(e))}function et(t,e=!1){const n=this["__v_raw"],r=Et(n),i=Et(t);return t!==i&&!e&&O(r,"has",t),!e&&O(r,"has",i),t===i?n.has(t):n.has(t)||n.has(i)}function nt(t,e=!1){return t=t["__v_raw"],!e&&O(Et(t),"iterate",y),Reflect.get(t,"size",t)}function rt(t){t=Et(t);const e=Et(this),n=Z(e),r=n.has.call(e,t);return r||(e.add(t),C(e,"add",t,t)),this}function it(t,e){e=Et(e);const n=Et(this),{has:i,get:o}=Z(n);let s=i.call(n,t);s||(t=Et(t),s=i.call(n,t));const a=o.call(n,t);return n.set(t,e),s?Object(r["i"])(e,a)&&C(n,"set",t,e,a):C(n,"add",t,e),this}function ot(t){const e=Et(this),{has:n,get:r}=Z(e);let i=n.call(e,t);i||(t=Et(t),i=n.call(e,t));const o=r?r.call(e,t):void 0,s=e.delete(t);return i&&C(e,"delete",t,void 0,o),s}function st(){const t=Et(this),e=0!==t.size,n=void 0,r=t.clear();return e&&C(t,"clear",void 0,void 0,n),r}function at(t,e){return function(n,r){const i=this,o=i["__v_raw"],s=Et(o),a=e?Q:t?K:J;return!t&&O(s,"iterate",y),o.forEach((t,e)=>n.call(r,a(t),a(e),i))}}function ct(t,e,n){return function(...i){const o=this["__v_raw"],s=Et(o),a=Object(r["s"])(s),c="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,u=o[t](...i),f=n?Q:e?K:J;return!e&&O(s,"iterate",l?w:y),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:c?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function lt(t){return function(...e){return"delete"!==t&&this}}function ut(){const t={get(t){return tt(this,t)},get size(){return nt(this)},has:et,add:rt,set:it,delete:ot,clear:st,forEach:at(!1,!1)},e={get(t){return tt(this,t,!1,!0)},get size(){return nt(this)},has:et,add:rt,set:it,delete:ot,clear:st,forEach:at(!1,!0)},n={get(t){return tt(this,t,!0)},get size(){return nt(this,!0)},has(t){return et.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:at(!0,!1)},r={get(t){return tt(this,t,!0,!0)},get size(){return nt(this,!0)},has(t){return et.call(this,t,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:at(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach(i=>{t[i]=ct(i,!1,!1),n[i]=ct(i,!0,!1),e[i]=ct(i,!1,!0),r[i]=ct(i,!0,!0)}),[t,n,e,r]}const[ft,ht,dt,pt]=ut();function gt(t,e){const n=e?t?pt:dt:t?ht:ft;return(e,i,o)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(Object(r["j"])(n,i)&&i in e?n:e,i,o)}const mt={get:gt(!1,!1)},vt={get:gt(!1,!0)},bt={get:gt(!0,!1)};const yt=new WeakMap,wt=new WeakMap,_t=new WeakMap,xt=new WeakMap;function At(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:At(Object(r["N"])(t))}function Nt(t){return t&&t["__v_isReadonly"]?t:Ot(t,!1,$,mt,yt)}function St(t){return Ot(t,!1,X,vt,wt)}function Pt(t){return Ot(t,!0,Y,bt,_t)}function Ot(t,e,n,i,o){if(!Object(r["u"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=o.get(t);if(s)return s;const a=Lt(t);if(0===a)return t;const c=new Proxy(t,2===a?i:n);return o.set(t,c),c}function jt(t){return kt(t)?jt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function kt(t){return!(!t||!t["__v_isReadonly"])}function Ct(t){return jt(t)||kt(t)}function Et(t){const e=t&&t["__v_raw"];
1return e?Et(e):t}function It(t){return Object(r["g"])(t,"__v_skip",!0),t}function Ft(t){j()&&(t=Et(t),t.dep||(t.dep=c()),k(t.dep))}function Tt(t,e){t=Et(t),t.dep&&E(t.dep)}function Mt(t){return Boolean(t&&!0===t.__v_isRef)}function Dt(t){return Mt(t)?t.value:t}const Bt={get:(t,e,n)=>Dt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Mt(i)&&!Mt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Rt(t){return jt(t)?t:new Proxy(t,Bt)}class qt{constructor(t,e,n){this._setter=e,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new _(t,()=>{this._dirty||(this._dirty=!0,Tt(this))}),this["__v_isReadonly"]=n}get value(){const t=Et(this);return Ft(t),t._dirty&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ut(t,e){let n,i;Object(r["o"])(t)?(n=t,i=r["d"]):(n=t.get,i=t.set);const o=new qt(n,i,Object(r["o"])(t)||!t.set);return o}Promise.resolve();new Set;new Map;Object.create(null),Object.create(null);function zt(t,e,...n){const i=t.vnode.props||r["b"];let o=n;const s=e.startsWith("update:"),a=s&&e.slice(7);if(a&&a in i){const t=("modelValue"===a?"model":a)+"Modifiers",{number:e,trim:s}=i[t]||r["b"];s?o=n.map(t=>t.trim()):e&&(o=n.map(r["M"]))}let c;let l=i[c=Object(r["L"])(e)]||i[c=Object(r["L"])(Object(r["e"])(e))];!l&&s&&(l=i[c=Object(r["L"])(Object(r["k"])(e))]),l&&Er(l,t,6,o);const u=i[c+"Once"];if(u){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,Er(u,t,6,o)}}function Ht(t,e,n=!1){const i=e.emitsCache,o=i.get(t);if(void 0!==o)return o;const s=t.emits;let a={},c=!1;if(!Object(r["o"])(t)){const i=t=>{const n=Ht(t,e,!0);n&&(c=!0,Object(r["h"])(a,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return s||c?(Object(r["n"])(s)?s.forEach(t=>a[t]=null):Object(r["h"])(a,s),i.set(t,a),a):(i.set(t,null),null)}function Wt(t,e){return!(!t||!Object(r["v"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(r["j"])(t,e[0].toLowerCase()+e.slice(1))||Object(r["j"])(t,Object(r["k"])(e))||Object(r["j"])(t,e))}let Vt=null,Gt=null;function $t(t){const e=Vt;return Vt=t,Gt=t&&t.type.__scopeId||null,e}function Yt(t,e=Vt,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&qn(-1);const i=$t(e),o=t(...n);return $t(i),r._d&&qn(1),o};return r._n=!0,r._c=!0,r._d=!0,r}function Xt(t){const{type:e,vnode:n,proxy:i,withProxy:o,props:s,propsOptions:[a],slots:c,attrs:l,emit:u,render:f,renderCache:h,data:d,setupState:p,ctx:g,inheritAttrs:m}=t;let v;const b=$t(t);try{let t;if(4&n.shapeFlag){const e=o||i;v=rr(f.call(e,e,h,s,p,d,g)),t=l}else{const n=e;0,v=rr(n.length>1?n(s,{attrs:l,slots:c,emit:u}):n(s,null)),t=e.props?l:Jt(l)}let b=v;if(t&&!1!==m){const e=Object.keys(t),{shapeFlag:n}=b;e.length&&7&n&&(a&&e.some(r["t"])&&(t=Kt(t,a)),b=Zn(b,t))}0,n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b}catch(y){Tn.length=0,Ir(y,t,1),v=Jn(In)}return $t(b),v}const Jt=t=>{let e;for(const n in t)("class"===n||"style"===n||Object(r["v"])(n))&&((e||(e={}))[n]=t[n]);return e},Kt=(t,e)=>{const n={};for(const i in t)Object(r["t"])(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function Qt(t,e,n){const{props:r,children:i,component:o}=t,{props:s,children:a,patchFlag:c}=e,l=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&c>=0))return!(!i&&!a||a&&a.$stable)||r!==s&&(r?!s||Zt(r,s,l):!!s);if(1024&c)return!0;if(16&c)return r?Zt(r,s,l):!!s;if(8&c){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(s[n]!==r[n]&&!Wt(l,n))return!0}}return!1}function Zt(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(e[o]!==t[o]&&!Wt(n,o))return!0}return!1}function te({vnode:t,parent:e},n){while(e&&e.subTree===t)(t=e.vnode).el=n,e=e.parent}const ee=t=>t.__isSuspense;function ne(t,e){e&&e.pendingBranch?Object(r["n"])(t)?e.effects.push(...t):e.effects.push(t):ei(t)}function re(t,e){if(pr){let n=pr.provides;const r=pr.parent&&pr.parent.provides;r===n&&(n=pr.provides=Object.create(r)),n[t]=e}else 0}function ie(t,e,n=!1){const i=pr||Vt;if(i){const o=null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Object(r["o"])(e)?e.call(i.proxy):e}else 0}function oe(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leav
1ingVNodes:new Map};return Pe(()=>{t.isMounted=!0}),ke(()=>{t.isUnmounting=!0}),t}const se=[Function,Array],ae={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:se,onEnter:se,onAfterEnter:se,onEnterCancelled:se,onBeforeLeave:se,onLeave:se,onAfterLeave:se,onLeaveCancelled:se,onBeforeAppear:se,onAppear:se,onAfterAppear:se,onAppearCancelled:se},setup(t,{slots:e}){const n=gr(),r=oe();let i;return()=>{const o=e.default&&pe(e.default(),!0);if(!o||!o.length)return;const s=Et(t),{mode:a}=s;const c=o[0];if(r.isLeaving)return fe(c);const l=he(c);if(!l)return fe(c);const u=ue(l,s,r,n);de(l,u);const f=n.subTree,h=f&&he(f);let d=!1;const{getTransitionKey:p}=l.type;if(p){const t=p();void 0===i?i=t:t!==i&&(i=t,d=!0)}if(h&&h.type!==In&&(!Vn(l,h)||d)){const t=ue(h,s,r,n);if(de(h,t),"out-in"===a)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,n.update()},fe(c);"in-out"===a&&l.type!==In&&(t.delayLeave=(t,e,n)=>{const i=le(r,h);i[String(h.key)]=h,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}},ce=ae;function le(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function ue(t,e,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:d,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:b}=e,y=String(t.key),w=le(n,t),_=(t,e)=>{t&&Er(t,r,9,e)},x={mode:o,persisted:s,beforeEnter(e){let r=a;if(!n.isMounted){if(!i)return;r=g||a}e._leaveCb&&e._leaveCb(!0);const o=w[y];o&&Vn(t,o)&&o.el._leaveCb&&o.el._leaveCb(),_(r,[e])},enter(t){let e=c,r=l,o=u;if(!n.isMounted){if(!i)return;e=m||c,r=v||l,o=b||u}let s=!1;const a=t._enterCb=e=>{s||(s=!0,_(e?o:r,[t]),x.delayedLeave&&x.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,r){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();_(f,[e]);let o=!1;const s=e._leaveCb=n=>{o||(o=!0,r(),_(n?p:d,[e]),e._leaveCb=void 0,w[i]===t&&delete w[i])};w[i]=t,h?(h(e,s),h.length<=1&&s()):s()},clone(t){return ue(t,e,n,r)}};return x}function fe(t){if(me(t))return t=Zn(t),t.children=null,t}function he(t){return me(t)?t.children?t.children[0]:void 0:t}function de(t,e){6&t.shapeFlag&&t.component?de(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function pe(t,e=!1){let n=[],r=0;for(let i=0;i<t.length;i++){const o=t[i];o.type===Cn?(128&o.patchFlag&&r++,n=n.concat(pe(o.children,e))):(e||o.type!==In)&&n.push(o)}if(r>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}const ge=t=>!!t.type.__asyncLoader;const me=t=>t.type.__isKeepAlive;RegExp,RegExp;function ve(t,e){return Object(r["n"])(t)?t.some(t=>ve(t,e)):Object(r["C"])(t)?t.split(",").indexOf(e)>-1:!!t.test&&t.test(e)}function be(t,e){we(t,"a",e)}function ye(t,e){we(t,"da",e)}function we(t,e,n=pr){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}t()});if(Le(e,r,n),n){let t=n.parent;while(t&&t.parent)me(t.parent.vnode)&&_e(r,e,n,t),t=t.parent}}function _e(t,e,n,i){const o=Le(e,t,i,!0);Ce(()=>{Object(r["J"])(i[e],o)},n)}function xe(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function Ae(t){return 128&t.shapeFlag?t.ssContent:t}function Le(t,e,n=pr,r=!1){if(n){const i=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...r)=>{if(n.isUnmounted)return;N(),mr(n);const i=Er(e,n,t,r);return vr(),P(),i});return r?i.unshift(o):i.push(o),o}}const Ne=t=>(e,n=pr)=>(!_r||"sp"===t)&&Le(t,e,n),Se=Ne("bm"),Pe=Ne("m"),Oe=Ne("bu"),je=Ne("u"),ke=Ne("bum"),Ce=Ne("um"),Ee=Ne("sp"),Ie=Ne("rtg"),Fe=Ne("rtc");function Te(t,e=pr){Le("ec",t,e)}let Me=!0;function De(t){const e=Ue(t),n=t.proxy,i=t.ctx;Me=!1,e.beforeCreate&&Re(e.beforeCreate,t,"bc");const{data:o,computed:s,methods:a,watch:c,provide:l,inject:u,created:f,beforeMount:h,mounted:d,beforeUpdate:p,updated:g,activated:m,deactivated:v,beforeDestroy:b,beforeUnmount:y,destroyed:w,unmounted:_,render:x,renderTracked:A,renderTriggered:L,errorCaptured:N,serverPrefetch:S,expose:P,inheritAttrs:O,components:j,directives:k,filters:C}=e,E=null;if(u&&Be(u,i,E,t.appContext.config.unwrapInjectedRef),a)for(const F in a){const t=a[F];Object(r["o"])(t)&&(i[F]=t.bind(n))}if(o){0;const e=o.call(n,n);0,Object(r["u"])(e)&&(t.data=Nt(e))}if(Me=!0,s)for(const F in s){const t=s[F],e=Object(r["o"])(t)?t.bind(n,n):Object(r["o"])(t.get)?t.get.bind(n,n):r["d"];0;const o=!Object(r["o"])(t)&&Object(r["o"])(t.set)?t.set.bind(n):r["d"],a=Ut({get:e,set:o});Object.defineProperty(i,F,{enumerable:!0,configurable:!0,get:()=>a.value,set:t=>a.value=t})}if(c)for(const r in c)qe(c[r],i,n,r);if(l){const t=Object(r["o"])(l)?l.call(n):l;
1Reflect.ownKeys(t).forEach(e=>{re(e,t[e])})}function I(t,e){Object(r["n"])(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(f&&Re(f,t,"c"),I(Se,h),I(Pe,d),I(Oe,p),I(je,g),I(be,m),I(ye,v),I(Te,N),I(Fe,A),I(Ie,L),I(ke,y),I(Ce,_),I(Ee,S),Object(r["n"])(P))if(P.length){const e=t.exposed||(t.exposed={});P.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});x&&t.render===r["d"]&&(t.render=x),null!=O&&(t.inheritAttrs=O),j&&(t.components=j),k&&(t.directives=k)}function Be(t,e,n=r["d"],i=!1){Object(r["n"])(t)&&(t=Ge(t));for(const o in t){const n=t[o];let s;s=Object(r["u"])(n)?"default"in n?ie(n.from||o,n.default,!0):ie(n.from||o):ie(n),Mt(s)&&i?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t}):e[o]=s}}function Re(t,e,n){Er(Object(r["n"])(t)?t.map(t=>t.bind(e.proxy)):t.bind(e.proxy),e,n)}function qe(t,e,n,i){const o=i.includes(".")?ui(n,i):()=>n[i];if(Object(r["C"])(t)){const n=e[t];Object(r["o"])(n)&&ai(o,n)}else if(Object(r["o"])(t))ai(o,t.bind(n));else if(Object(r["u"])(t))if(Object(r["n"])(t))t.forEach(t=>qe(t,e,n,i));else{const i=Object(r["o"])(t.handler)?t.handler.bind(n):e[t.handler];Object(r["o"])(i)&&ai(o,i,t)}else 0}function Ue(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=t.appContext,a=o.get(e);let c;return a?c=a:i.length||n||r?(c={},i.length&&i.forEach(t=>ze(c,t,s,!0)),ze(c,e,s)):c=e,o.set(e,c),c}function ze(t,e,n,r=!1){const{mixins:i,extends:o}=e;o&&ze(t,o,n,!0),i&&i.forEach(e=>ze(t,e,n,!0));for(const s in e)if(r&&"expose"===s);else{const r=He[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const He={data:We,props:Ye,emits:Ye,methods:Ye,computed:Ye,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:Ye,directives:Ye,watch:Xe,provide:We,inject:Ve};function We(t,e){return e?t?function(){return Object(r["h"])(Object(r["o"])(t)?t.call(this,this):t,Object(r["o"])(e)?e.call(this,this):e)}:e:t}function Ve(t,e){return Ye(Ge(t),Ge(e))}function Ge(t){if(Object(r["n"])(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function $e(t,e){return t?[...new Set([].concat(t,e))]:e}function Ye(t,e){return t?Object(r["h"])(Object(r["h"])(Object.create(null),t),e):e}function Xe(t,e){if(!t)return e;if(!e)return t;const n=Object(r["h"])(Object.create(null),t);for(const r in e)n[r]=$e(t[r],e[r]);return n}function Je(t,e,n,i=!1){const o={},s={};Object(r["g"])(s,Gn,1),t.propsDefaults=Object.create(null),Qe(t,e,o,s);for(const r in t.propsOptions[0])r in o||(o[r]=void 0);n?t.props=i?o:St(o):t.type.props?t.props=o:t.props=s,t.attrs=s}function Ke(t,e,n,i){const{props:o,attrs:s,vnode:{patchFlag:a}}=t,c=Et(o),[l]=t.propsOptions;let u=!1;if(!(i||a>0)||16&a){let i;Qe(t,e,o,s)&&(u=!0);for(const s in c)e&&(Object(r["j"])(e,s)||(i=Object(r["k"])(s))!==s&&Object(r["j"])(e,i))||(l?!n||void 0===n[s]&&void 0===n[i]||(o[s]=Ze(l,c,s,void 0,t,!0)):delete o[s]);if(s!==c)for(const t in s)e&&Object(r["j"])(e,t)||(delete s[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];const f=e[a];if(l)if(Object(r["j"])(s,a))f!==s[a]&&(s[a]=f,u=!0);else{const e=Object(r["e"])(a);o[e]=Ze(l,c,e,f,t,!1)}else f!==s[a]&&(s[a]=f,u=!0)}}u&&C(t,"set","$attrs")}function Qe(t,e,n,i){const[o,s]=t.propsOptions;let a,c=!1;if(e)for(let l in e){if(Object(r["y"])(l))continue;const u=e[l];let f;o&&Object(r["j"])(o,f=Object(r["e"])(l))?s&&s.includes(f)?(a||(a={}))[f]=u:n[f]=u:Wt(t.emitsOptions,l)||u!==i[l]&&(i[l]=u,c=!0)}if(s){const e=Et(n),i=a||r["b"];for(let a=0;a<s.length;a++){const c=s[a];n[c]=Ze(o,e,c,i[c],t,!Object(r["j"])(i,c))}}return c}function Ze(t,e,n,i,o,s){const a=t[n];if(null!=a){const t=Object(r["j"])(a,"default");if(t&&void 0===i){const t=a.default;if(a.type!==Function&&Object(r["o"])(t)){const{propsDefaults:r}=o;n in r?i=r[n]:(mr(o),i=r[n]=t.call(null,e),vr())}else i=t}a[0]&&(s&&!t?i=!1:!a[1]||""!==i&&i!==Object(r["k"])(n)||(i=!0))}return i}function tn(t,e,n=!1){const i=e.propsCache,o=i.get(t);if(o)return o;const s=t.props,a={},c=[];let l=!1;if(!Object(r["o"])(t)){const i=t=>{l=!0;const[n,i]=tn(t,e,!0);Object(r["h"])(a,n),i&&c.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!s&&!l)return i.set(t,r["a"]),r["a"];if(Object(r["n"])(s))for(let f=0;f<s.length;f++){0;const t=Object(r["e"])(s[f]);en(t)&&(a[t]=r["b"])}else if(s){0;for(const t in s){const e=Object(r["e"])(t);if(en(e)){const n=s[t],i=a[e]=Object(r["n"])(n)||Object(r["o"])(n)?{type:n}:n;if(i){const t=on(Boolean,i.type),n=on(String,i.type);i[0]=t>-1,i[1]=n<0||t<n,(t>-1||Object(r["j"])(i,"default"))&&c.push(e)}}}}const u=[a,c];return i.set(t,u),u}function en(t){return"$"!==t[0]}function nn(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function rn(t,e){return nn(t)===nn(e)}function on(t,e){return Object(r["n"])(e)?e.findIndex(e=>rn(e,t)):Object(r["o"])(e)&&rn(e,t)?0:-1}const sn=t=>"_"===t[0]||"$stable"===t,an=t=>Object(r["n"])(t)?t.map(rr):[rr(t)],cn=(t,e,n)=>{const r=Yt((...t)=>an(e(...t)),n);return r._c=!1,r},ln=(t,e,n)=>{const i=t._ctx;for(const o in t){if(sn(o))continue;const n=t[o];if(Object(r["o"])(n))e[o]=cn(o,n,i);else if(null!=n){0;const t=an(n);e[o]=()=>t}}},un=(t,e)=>{const n=an(e);t.slots.default=()=>n},fn=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=Et(e),Object(r["g"])(e,"_",n)):ln(e,t.slots={})}else t.slots={},e&&un(t,e);Object(r["g"])(t.slots,Gn,1)},hn=(t,e,n)=>{const{vnode:i,slots:o}=t;let s=!0,a=r["b"];if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:(Object(r["h"])(o,e),n||1!==t||delete o._):(s=!e.$stable,ln(e,o)),a=e}else e&&(un(t,e),a={default:1});if(s)for(const r in o)sn(r)||r in a||delete o[r]};function dn(t,e,n,r){const i=t.dirs,o=e&&e.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let c=a.dir[r];c&&(N(),Er(c,n,8,[t.el,a,t,e]),P())}}function pn(){return{app:null,config:{isNativeTag:r["c"],performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gn=0;function mn(t,e){return function(n,i=null){null==i||Object(r["u"])(i)||(i=null);const o=pn(),s=new Set;let a=!1;const c=o.app={_uid:gn++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:di,get config(){return o.config},set config(t){0},use(t,...e){return s.has(t)||(t&&Object(r["o"])(t.install)?(s.add(t),t.install(c,...e)):Object(r["o"])(t)&&(s.add(t),t(c,...e))),c},mixin(t){return o.mixins.includes(t)||o.mixins.push(t),c},component(t,e){return e?(o.components[t]=e,c):o.components[t]},directive(t,e){return e?(o.directives[t]=e,c):o.directives[t]},mount(r,s,l){if(!a){const u=Jn(n,i);return u.appContext=o,s&&e?e(u,r):t(u,r,l),a=!0,c._container=r,r.__vue_app__=c,u.component.proxy}},unmount(){a&&(t(null,c._container),delete c._container.__vue_app__)},provide(t,e){return o.provides[t]=e,c}};return c}}function vn(){}const bn=ne;function yn(t){return wn(t)}function wn(t,e){vn();const{insert:n,remove:i,patchProp:o,createElement:s,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=r["d"],cloneNode:p,insertStaticContent:g}=t,m=(t,e,n,r=null,i=null,o=null,s=!1,a=null,c=!!e.dynamicChildren)=>{if(t===e)return;t&&!Vn(t,e)&&(r=$(t),z(t,i,o,!0),t=null),-2===e.patchFlag&&(c=!1,e.dynamicChildren=null);const{type:l,ref:u,shapeFlag:f}=e;switch(l){case En:v(t,e,n,r);break;case In:b(t,e,n,r);break;
1case Fn:null==t&&y(e,n,r,s);break;case Cn:E(t,e,n,r,i,o,s,a,c);break;default:1&f?A(t,e,n,r,i,o,s,a,c):6&f?I(t,e,n,r,i,o,s,a,c):(64&f||128&f)&&l.process(t,e,n,r,i,o,s,a,c,X)}null!=u&&i&&_n(u,t&&t.ref,o,e||t,!e)},v=(t,e,r,i)=>{if(null==t)n(e.el=a(e.children),r,i);else{const n=e.el=t.el;e.children!==t.children&&l(n,e.children)}},b=(t,e,r,i)=>{null==t?n(e.el=c(e.children||""),r,i):e.el=t.el},y=(t,e,n,r)=>{[t.el,t.anchor]=g(t.children,e,n,r)},w=({el:t,anchor:e},r,i)=>{let o;while(t&&t!==e)o=h(t),n(t,r,i),t=o;n(e,r,i)},x=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=h(t),i(t),t=n;i(e)},A=(t,e,n,r,i,o,s,a,c)=>{s=s||"svg"===e.type,null==t?L(e,n,r,i,o,s,a,c):j(t,e,i,o,s,a,c)},L=(t,e,i,a,c,l,f,h)=>{let d,g;const{type:m,props:v,shapeFlag:b,transition:y,patchFlag:w,dirs:_}=t;if(t.el&&void 0!==p&&-1===w)d=t.el=p(t.el);else{if(d=t.el=s(t.type,l,v&&v.is,v),8&b?u(d,t.children):16&b&&O(t.children,d,null,a,c,l&&"foreignObject"!==m,f,h),_&&dn(t,null,a,"created"),v){for(const e in v)"value"===e||Object(r["y"])(e)||o(d,e,null,v[e],l,t.children,a,c,G);"value"in v&&o(d,"value",null,v.value),(g=v.onVnodeBeforeMount)&&xn(g,a,t)}S(d,t,t.scopeId,f,a)}_&&dn(t,null,a,"beforeMount");const x=(!c||c&&!c.pendingBranch)&&y&&!y.persisted;x&&y.beforeEnter(d),n(d,e,i),((g=v&&v.onVnodeMounted)||x||_)&&bn(()=>{g&&xn(g,a,t),x&&y.enter(d),_&&dn(t,null,a,"mounted")},c)},S=(t,e,n,r,i)=>{if(n&&d(t,n),r)for(let o=0;o<r.length;o++)d(t,r[o]);if(i){let n=i.subTree;if(e===n){const e=i.vnode;S(t,e,e.scopeId,e.slotScopeIds,i.parent)}}},O=(t,e,n,r,i,o,s,a,c=0)=>{for(let l=c;l<t.length;l++){const c=t[l]=a?ir(t[l]):rr(t[l]);m(null,c,e,n,r,i,o,s,a)}},j=(t,e,n,i,s,a,c)=>{const l=e.el=t.el;let{patchFlag:f,dynamicChildren:h,dirs:d}=e;f|=16&t.patchFlag;const p=t.props||r["b"],g=e.props||r["b"];let m;(m=g.onVnodeBeforeUpdate)&&xn(m,n,e,t),d&&dn(e,t,n,"beforeUpdate");const v=s&&"foreignObject"!==e.type;if(h?k(t.dynamicChildren,h,l,n,i,v,a):c||B(t,e,l,null,n,i,v,a,!1),f>0){if(16&f)C(l,e,p,g,n,i,s);else if(2&f&&p.class!==g.class&&o(l,"class",null,g.class,s),4&f&&o(l,"style",p.style,g.style,s),8&f){const r=e.dynamicProps;for(let e=0;e<r.length;e++){const a=r[e],c=p[a],u=g[a];u===c&&"value"!==a||o(l,a,c,u,s,t.children,n,i,G)}}1&f&&t.children!==e.children&&u(l,e.children)}else c||null!=h||C(l,e,p,g,n,i,s);((m=g.onVnodeUpdated)||d)&&bn(()=>{m&&xn(m,n,e,t),d&&dn(e,t,n,"updated")},i)},k=(t,e,n,r,i,o,s)=>{for(let a=0;a<e.length;a++){const c=t[a],l=e[a],u=c.el&&(c.type===Cn||!Vn(c,l)||70&c.shapeFlag)?f(c.el):n;m(c,l,u,null,r,i,o,s,!0)}},C=(t,e,n,i,s,a,c)=>{if(n!==i){for(const l in i){if(Object(r["y"])(l))continue;const u=i[l],f=n[l];u!==f&&"value"!==l&&o(t,l,f,u,c,e.children,s,a,G)}if(n!==r["b"])for(const l in n)Object(r["y"])(l)||l in i||o(t,l,n[l],null,c,e.children,s,a,G);"value"in i&&o(t,"value",n.value,i.value)}},E=(t,e,r,i,o,s,c,l,u)=>{const f=e.el=t?t.el:a(""),h=e.anchor=t?t.anchor:a("");let{patchFlag:d,dynamicChildren:p,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(n(f,r,i),n(h,r,i),O(e.children,r,h,o,s,c,l,u)):d>0&&64&d&&p&&t.dynamicChildren?(k(t.dynamicChildren,p,r,o,s,c,l),(null!=e.key||o&&e===o.subTree)&&An(t,e,!0)):B(t,e,r,h,o,s,c,l,u)},I=(t,e,n,r,i,o,s,a,c)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?i.ctx.activate(e,n,r,s,c):F(e,n,r,i,o,s,c):T(t,e,c)},F=(t,e,n,r,i,o,s)=>{const a=t.component=dr(t,r,i);if(me(t)&&(a.ctx.renderer=X),xr(a),a.asyncDep){if(i&&i.registerDep(a,M),!t.el){const t=a.subTree=Jn(In);b(null,t,e,n)}}else M(a,t,e,n,i,o,s)},T=(t,e,n)=>{const r=e.component=t.component;if(Qt(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void D(r,e,n);
1r.next=e,Qr(r.update),r.update()}else e.component=t.component,e.el=t.el,r.vnode=e},M=(t,e,n,i,o,s,a)=>{const c=()=>{if(t.isMounted){let e,{next:n,bu:i,u:c,parent:u,vnode:h}=t,d=n;0,l.allowRecurse=!1,n?(n.el=h.el,D(t,n,a)):n=h,i&&Object(r["m"])(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&xn(e,u,n,h),l.allowRecurse=!0;const p=Xt(t);0;const g=t.subTree;t.subTree=p,m(g,p,f(g.el),$(g),t,o,s),n.el=p.el,null===d&&te(t,p.el),c&&bn(c,o),(e=n.props&&n.props.onVnodeUpdated)&&bn(()=>xn(e,u,n,h),o)}else{let a;const{el:c,props:u}=e,{bm:f,m:h,parent:d}=t,p=ge(e);if(l.allowRecurse=!1,f&&Object(r["m"])(f),!p&&(a=u&&u.onVnodeBeforeMount)&&xn(a,d,e),l.allowRecurse=!0,c&&K){const n=()=>{t.subTree=Xt(t),K(c,t.subTree,t,o,null)};p?e.type.__asyncLoader().then(()=>!t.isUnmounted&&n()):n()}else{0;const r=t.subTree=Xt(t);0,m(null,r,n,i,t,o,s),e.el=r.el}if(h&&bn(h,o),!p&&(a=u&&u.onVnodeMounted)){const t=e;bn(()=>xn(a,d,t),o)}256&e.shapeFlag&&t.a&&bn(t.a,o),t.isMounted=!0,e=n=i=null}},l=new _(c,()=>Jr(t.update),t.scope),u=t.update=l.run.bind(l);u.id=t.uid,l.allowRecurse=u.allowRecurse=!0,u()},D=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,Ke(t,e.props,r,n),hn(t,e.children,n),N(),ni(void 0,t.update),P()},B=(t,e,n,r,i,o,s,a,c=!1)=>{const l=t&&t.children,f=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:p}=e;if(d>0){if(128&d)return void q(l,h,n,r,i,o,s,a,c);if(256&d)return void R(l,h,n,r,i,o,s,a,c)}8&p?(16&f&&G(l,i,o),h!==l&&u(n,h)):16&f?16&p?q(l,h,n,r,i,o,s,a,c):G(l,i,o,!0):(8&f&&u(n,""),16&p&&O(h,n,r,i,o,s,a,c))},R=(t,e,n,i,o,s,a,c,l)=>{t=t||r["a"],e=e||r["a"];const u=t.length,f=e.length,h=Math.min(u,f);let d;for(d=0;d<h;d++){const r=e[d]=l?ir(e[d]):rr(e[d]);m(t[d],r,n,null,o,s,a,c,l)}u>f?G(t,o,s,!0,!1,h):O(e,n,i,o,s,a,c,l,h)},q=(t,e,n,i,o,s,a,c,l)=>{let u=0;const f=e.length;let h=t.length-1,d=f-1;while(u<=h&&u<=d){const r=t[u],i=e[u]=l?ir(e[u]):rr(e[u]);if(!Vn(r,i))break;m(r,i,n,null,o,s,a,c,l),u++}while(u<=h&&u<=d){const r=t[h],i=e[d]=l?ir(e[d]):rr(e[d]);if(!Vn(r,i))break;m(r,i,n,null,o,s,a,c,l),h--,d--}if(u>h){if(u<=d){const t=d+1,r=t<f?e[t].el:i;while(u<=d)m(null,e[u]=l?ir(e[u]):rr(e[u]),n,r,o,s,a,c,l),u++}}else if(u>d)while(u<=h)z(t[u],o,s,!0),u++;else{const p=u,g=u,v=new Map;for(u=g;u<=d;u++){const t=e[u]=l?ir(e[u]):rr(e[u]);null!=t.key&&v.set(t.key,u)}let b,y=0;const w=d-g+1;let _=!1,x=0;const A=new Array(w);for(u=0;u<w;u++)A[u]=0;for(u=p;u<=h;u++){const r=t[u];if(y>=w){z(r,o,s,!0);continue}let i;if(null!=r.key)i=v.get(r.key);else for(b=g;b<=d;b++)if(0===A[b-g]&&Vn(r,e[b])){i=b;break}void 0===i?z(r,o,s,!0):(A[i-g]=u+1,i>=x?x=i:_=!0,m(r,e[i],n,null,o,s,a,c,l),y++)}const L=_?Ln(A):r["a"];for(b=L.length-1,u=w-1;u>=0;u--){const t=g+u,r=e[t],h=t+1<f?e[t+1].el:i;0===A[u]?m(null,r,n,h,o,s,a,c,l):_&&(b<0||u!==L[b]?U(r,n,h,2):b--)}}},U=(t,e,r,i,o=null)=>{const{el:s,type:a,transition:c,children:l,shapeFlag:u}=t;if(6&u)return void U(t.component.subTree,e,r,i);if(128&u)return void t.suspense.move(e,r,i);if(64&u)return void a.move(t,e,r,X);if(a===Cn){n(s,e,r);for(let t=0;t<l.length;t++)U(l[t],e,r,i);return void n(t.anchor,e,r)}if(a===Fn)return void w(t,e,r);const f=2!==i&&1&u&&c;if(f)if(0===i)c.beforeEnter(s),n(s,e,r),bn(()=>c.enter(s),o);else{const{leave:t,delayLeave:i,afterLeave:o}=c,a=()=>n(s,e,r),l=()=>{t(s,()=>{a(),o&&o()})};i?i(s,a,l):l()}else n(s,e,r)},z=(t,e,n,r=!1,i=!1)=>{const{type:o,props:s,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:f,dirs:h}=t;if(null!=a&&_n(a,null,n,t,!0),256&u)return void e.ctx.deactivate(t);const d=1&u&&h,p=!ge(t);let g;if(p&&(g=s&&s.onVnodeBeforeUnmount)&&xn(g,e,t),6&u)V(t.component,n,r);else{if(128&u)return void t.suspense.unmount(n,r);d&&dn(t,null,e,"beforeUnmount"),64&u?t.type.remove(t,e,n,i,X,r):l&&(o!==Cn||f>0&&64&f)?G(l,e,n,!1,!0):(o===Cn&&384&f||!i&&16&u)&&G(c,e,n),r&&H(t)}(p&&(g=s&&s.onVnodeUnmounted)||d)&&bn(()=>{g&&xn(g,e,t),d&&dn(t,null,e,"unmounted")},n)},H=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===Cn)return void W(n,r);if(e===Fn)return void x(t);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,i=()=>e(n,s);r?r(t.el,s,i):i()}else s()},W=(t,e)=>{let n;while(t!==e)n=h(t),i(t),t=n;i(e)},V=(t,e,n)=>{const{bum:i,scope:o,update:s,subTree:a,um:c}=t;i&&Object(r["m"])(i),o.stop(),s&&(s.active=!1,z(a,t,e,n)),c&&bn(c,e),bn(()=>{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},G=(t,e,n,r=!1,i=!1,o=0)=>{for(let s=o;s<t.length;s++)z(t[s],e,n,r,i)},$=t=>6&t.shapeFlag?$(t.component.subTree):128&t.shapeFlag?t.suspense.next():h(t.anchor||t.el),Y=(t,e,n)=>{null==t?e._vnode&&z(e._vnode,null,null,!0):m(e._vnode||null,t,e,null,null,null,n),ri(),e._vnode=t},X={p:m,um:z,m:U,r:H,mt:F,mc:O,pc:B,pbc:k,n:$,o:t};let J,K;return e&&([J,K]=e(X)),{render:Y,hydrate:J,createApp:mn(Y,J)}}function _n(t,e,n,i,o=!1){if(Object(r["n"])(t))return void t.forEach((t,s)=>_n(t,e&&(Object(r["n"])(e)?e[s]:e),n,i,o));
1if(ge(i)&&!o)return;const s=4&i.shapeFlag?Or(i.component)||i.component.proxy:i.el,a=o?null:s,{i:c,r:l}=t;const u=e&&e.r,f=c.refs===r["b"]?c.refs={}:c.refs,h=c.setupState;if(null!=u&&u!==l&&(Object(r["C"])(u)?(f[u]=null,Object(r["j"])(h,u)&&(h[u]=null)):Mt(u)&&(u.value=null)),Object(r["C"])(l)){const t=()=>{f[l]=a,Object(r["j"])(h,l)&&(h[l]=a)};a?(t.id=-1,bn(t,n)):t()}else if(Mt(l)){const t=()=>{l.value=a};a?(t.id=-1,bn(t,n)):t()}else Object(r["o"])(l)&&Cr(l,c,12,[a,f])}function xn(t,e,n,r=null){Er(t,e,7,[n,r])}function An(t,e,n=!1){const i=t.children,o=e.children;if(Object(r["n"])(i)&&Object(r["n"])(o))for(let r=0;r<i.length;r++){const t=i[r];let e=o[r];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=o[r]=ir(o[r]),e.el=t.el),n||An(t,e))}}function Ln(t){const e=t.slice(),n=[0];let r,i,o,s,a;const c=t.length;for(r=0;r<c;r++){const c=t[r];if(0!==c){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}o=0,s=n.length-1;while(o<s)a=o+s>>1,t[n[a]]<c?o=a+1:s=a;c<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}o=n.length,s=n[o-1];while(o-- >0)n[o]=s,s=e[s];return n}const Nn=t=>t.__isTeleport;const Sn="components";function Pn(t,e){return jn(Sn,t,!0,e)||t}const On=Symbol();function jn(t,e,n=!0,i=!1){const o=Vt||pr;if(o){const n=o.type;if(t===Sn){const t=jr(n);if(t&&(t===e||t===Object(r["e"])(e)||t===Object(r["f"])(Object(r["e"])(e))))return n}const s=kn(o[t]||n[t],e)||kn(o.appContext[t],e);return!s&&i?n:s}}function kn(t,e){return t&&(t[e]||t[Object(r["e"])(e)]||t[Object(r["f"])(Object(r["e"])(e))])}const Cn=Symbol(void 0),En=Symbol(void 0),In=Symbol(void 0),Fn=Symbol(void 0),Tn=[];let Mn=null;function Dn(t=!1){Tn.push(Mn=t?null:[])}function Bn(){Tn.pop(),Mn=Tn[Tn.length-1]||null}let Rn=1;function qn(t){Rn+=t}function Un(t){return t.dynamicChildren=Rn>0?Mn||r["a"]:null,Bn(),Rn>0&&Mn&&Mn.push(t),t}function zn(t,e,n,r,i,o){return Un(Xn(t,e,n,r,i,o,!0))}function Hn(t,e,n,r,i){return Un(Jn(t,e,n,r,i,!0))}function Wn(t){return!!t&&!0===t.__v_isVNode}function Vn(t,e){return t.type===e.type&&t.key===e.key}const Gn="__vInternal",$n=({key:t})=>null!=t?t:null,Yn=({ref:t})=>null!=t?Object(r["C"])(t)||Mt(t)||Object(r["o"])(t)?{i:Vt,r:t}:t:null;function Xn(t,e=null,n=null,i=0,o=null,s=(t===Cn?0:1),a=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&$n(e),ref:e&&Yn(e),scopeId:Gt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null};return c?(or(l,n),128&s&&t.normalize(l)):n&&(l.shapeFlag|=Object(r["C"])(n)?8:16),Rn>0&&!a&&Mn&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Mn.push(l),l}const Jn=Kn;function Kn(t,e=null,n=null,i=0,o=null,s=!1){if(t&&t!==On||(t=In),Wn(t)){const r=Zn(t,e,!0);return n&&or(r,n),r}if(kr(t)&&(t=t.__vccOpts),e){e=Qn(e);let{class:t,style:n}=e;t&&!Object(r["C"])(t)&&(e.class=Object(r["H"])(t)),Object(r["u"])(n)&&(Ct(n)&&!Object(r["n"])(n)&&(n=Object(r["h"])({},n)),e.style=Object(r["I"])(n))}const a=Object(r["C"])(t)?1:ee(t)?128:Nn(t)?64:Object(r["u"])(t)?4:Object(r["o"])(t)?2:0;return Xn(t,e,n,i,o,a,s,!0)}function Qn(t){return t?Ct(t)||Gn in t?Object(r["h"])({},t):t:null}function Zn(t,e,n=!1){const{props:i,ref:o,patchFlag:s,children:a}=t,c=e?sr(i||{},e):i,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&$n(c),ref:e&&e.ref?n&&o?Object(r["n"])(o)?o.concat(Yn(e)):[o,Yn(e)]:Yn(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Cn?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Zn(t.ssContent),ssFallback:t.ssFallback&&Zn(t.ssFallback),el:t.el,anchor:t.anchor};return l}function tr(t=" ",e=0){return Jn(En,null,t,e)}function er(t,e){const n=Jn(Fn,null,t);return n.staticCount=e,n}function nr(t="",e=!1){return e?(Dn(),Hn(In,null,t)):Jn(In,null,t)}function rr(t){return null==t||"boolean"===typeof t?Jn(In):Object(r["n"])(t)?Jn(Cn,null,t.slice()):"object"===typeof t?ir(t):Jn(En,null,String(t))}function ir(t){return null===t.el||t.memo?t:Zn(t)}function or(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(Object(r["n"])(e))n=16;else if("object"===typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),or(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Gn in e?3===r&&Vt&&(1===Vt.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=Vt}}else Object(r["o"])(e)?(e={default:e,_ctx:Vt},n=32):(e=String(e),64&i?(n=16,e=[tr(e)]):n=8);t.children=e,t.shapeFlag|=n}function sr(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=Object(r["H"])([e.class,i.class]));else if("style"===t)e.style=Object(r["I"])([e.style,i.style]);else if(Object(r["v"])(t)){const n=e[t],r=i[t];n!==r&&(e[t]=n?[].concat(n,r):r)}else""!==t&&(e[t]=i[t])}return e}function ar(t,e,n,i){let o;const s=n&&n[i];if(Object(r["n"])(t)||Object(r["C"])(t)){o=new Array(t.length);for(let n=0,r=t.length;n<r;n++)o[n]=e(t[n],n,void 0,s&&s[n])}else if("number"===typeof t){0,o=new Array(t);for(let n=0;n<t;n++)o[n]=e(n+1,n,void 0,s&&s[n])}else if(Object(r["u"])(t))if(t[Symbol.iterator])o=Array.from(t,(t,n)=>e(t,n,void 0,s&&s[n]));else{const n=Object.keys(t);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=e(t[i],i,r,s&&s[r])}}else o=[];return n&&(n[i]=o),o}const cr=t=>t?br(t)?Or(t)||t.proxy:cr(t.parent):null,lr=Object(r["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>cr(t.parent),$root:t=>cr(t.root),$emit:t=>t.emit,$options:t=>Ue(t),$forceUpdate:t=>()=>Jr(t.update),$nextTick:t=>Yr.bind(t.proxy),$watch:t=>li.bind(t)}),ur={get({_:t},e){const{ctx:n,setupState:i,data:o,props:s,accessCache:a,type:c,appContext:l}=t;let u;if("$"!==e[0]){const c=a[e];if(void 0!==c)switch(c){case 0:return i[e];case 1:return o[e];case 3:return n[e];case 2:return s[e]}else{if(i!==r["b"]&&Object(r["j"])(i,e))return a[e]=0,i[e];if(o!==r["b"]&&Object(r["j"])(o,e))return a[e]=1,o[e];if((u=t.propsOptions[0])&&Object(r["j"])(u,e))return a[e]=2,s[e];if(n!==r["b"]&&Object(r["j"])(n,e))return a[e]=3,n[e];Me&&(a[e]=4)}}const f=lr[e];let h,d;return f?("$attrs"===e&&O(t,"get",e),f(t)):(h=c.__cssModules)&&(h=h[e])?h:n!==r["b"]&&Object(r["j"])(n,e)?(a[e]=3,n[e]):(d=l.config.globalProperties,Object(r["j"])(d,e)?d[e]:void 0)},set({_:t},e,n){const{data:i,setupState:o,ctx:s}=t;if(o!==r["b"]&&Object(r["j"])(o,e))o[e]=n;else if(i!==r["b"]&&Object(r["j"])(i,e))i[e]=n;else if(Object(r["j"])(t.props,e))return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:o,propsOptions:s}},a){let c;return void 0!==n[a]||t!==r["b"]&&Object(r["j"])(t,a)||e!==r["b"]&&Object(r["j"])(e,a)||(c=s[0])&&Object(r["j"])(c,a)||Object(r["j"])(i,a)||Object(r["j"])(lr,a)||Object(r["j"])(o.config.globalProperties,a)}};const fr=pn();let hr=0;function dr(t,e,n){const i=t.type,o=(e?e.appContext:t.appContext)||fr,a={uid:hr++,vnode:t,type:i,parent:e,appContext:o,root:null,next:null,subTree:null,update:null,scope:new s(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tn(i,o),emitsOptions:Ht(i,o),emit:null,emitted:null,propsDefaults:r["b"],inheritAttrs:i.inheritAttrs,ctx:r["b"],data:r["b"],props:r["b"],attrs:r["b"],slots:r["b"],refs:r["b"],setupState:r["b"],setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
1sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=zt.bind(null,a),t.ce&&t.ce(a),a}let pr=null;const gr=()=>pr||Vt,mr=t=>{pr=t,t.scope.on()},vr=()=>{pr&&pr.scope.off(),pr=null};function br(t){return 4&t.vnode.shapeFlag}let yr,wr,_r=!1;function xr(t,e=!1){_r=e;const{props:n,children:r}=t.vnode,i=br(t);Je(t,n,i,e),fn(t,r);const o=i?Ar(t,e):void 0;return _r=!1,o}function Ar(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=It(new Proxy(t.ctx,ur));const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?Pr(t):null;mr(t),N();const o=Cr(i,t,0,[t.props,n]);if(P(),vr(),Object(r["x"])(o)){if(o.then(vr,vr),e)return o.then(n=>{Lr(t,n,e)}).catch(e=>{Ir(e,t,0)});t.asyncDep=o}else Lr(t,o,e)}else Nr(t,e)}function Lr(t,e,n){Object(r["o"])(e)?t.render=e:Object(r["u"])(e)&&(t.setupState=Rt(e)),Nr(t,n)}function Nr(t,e,n){const i=t.type;if(!t.render){if(yr&&!i.render){const e=i.template;if(e){0;const{isCustomElement:n,compilerOptions:o}=t.appContext.config,{delimiters:s,compilerOptions:a}=i,c=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:s},o),a);i.render=yr(e,c)}}t.render=i.render||r["d"],wr&&wr(t)}mr(t),N(),De(t),P(),vr()}function Sr(t){return new Proxy(t.attrs,{get(e,n){return O(t,"get","$attrs"),e[n]}})}function Pr(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=Sr(t))},slots:t.slots,emit:t.emit,expose:e}}function Or(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Rt(It(t.exposed)),{get(e,n){return n in e?e[n]:n in lr?lr[n](t):void 0}}))}function jr(t){return Object(r["o"])(t)&&t.displayName||t.name}function kr(t){return Object(r["o"])(t)&&"__vccOpts"in t}function Cr(t,e,n,r){let i;try{i=r?t(...r):t()}catch(o){Ir(o,e,n)}return i}function Er(t,e,n,i){if(Object(r["o"])(t)){const o=Cr(t,e,n,i);return o&&Object(r["x"])(o)&&o.catch(t=>{Ir(t,e,n)}),o}const o=[];for(let r=0;r<t.length;r++)o.push(Er(t[r],e,n,i));return o}function Ir(t,e,n,r=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const i=e.proxy,o=n;while(r){const e=r.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,i,o))return;r=r.parent}const s=e.appContext.config.errorHandler;if(s)return void Cr(s,null,10,[t,i,o])}Fr(t,n,i,r)}function Fr(t,e,n,r=!0){console.error(t)}let Tr=!1,Mr=!1;const Dr=[];let Br=0;const Rr=[];let qr=null,Ur=0;const zr=[];let Hr=null,Wr=0;const Vr=Promise.resolve();let Gr=null,$r=null;function Yr(t){const e=Gr||Vr;return t?e.then(this?t.bind(this):t):e}function Xr(t){let e=Br+1,n=Dr.length;while(e<n){const r=e+n>>>1,i=ii(Dr[r]);i<t?e=r+1:n=r}return e}function Jr(t){Dr.length&&Dr.includes(t,Tr&&t.allowRecurse?Br+1:Br)||t===$r||(null==t.id?Dr.push(t):Dr.splice(Xr(t.id),0,t),Kr())}function Kr(){Tr||Mr||(Mr=!0,Gr=Vr.then(oi))}function Qr(t){const e=Dr.indexOf(t);e>Br&&Dr.splice(e,1)}function Zr(t,e,n,i){Object(r["n"])(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?i+1:i)||n.push(t),Kr()}function ti(t){Zr(t,qr,Rr,Ur)}function ei(t){Zr(t,Hr,zr,Wr)}function ni(t,e=null){if(Rr.length){for($r=e,qr=[...new Set(Rr)],Rr.length=0,Ur=0;Ur<qr.length;Ur++)qr[Ur]();qr=null,Ur=0,$r=null,ni(t,e)}}function ri(t){if(zr.length){const t=[...new Set(zr)];if(zr.length=0,Hr)return void Hr.push(...t);for(Hr=t,Hr.sort((t,e)=>ii(t)-ii(e)),Wr=0;Wr<Hr.length;Wr++)Hr[Wr]();Hr=null,Wr=0}}const ii=t=>null==t.id?1/0:t.id;function oi(t){Mr=!1,Tr=!0,ni(t),Dr.sort((t,e)=>ii(t)-ii(e));try{for(Br=0;Br<Dr.length;Br++){const t=Dr[Br];t&&!1!==t.active&&Cr(t,null,14)}}finally{Br=0,Dr.length=0,ri(t),Tr=!1,Gr=null,(Dr.length||Rr.length||zr.length)&&oi(t)}}const si={};function ai(t,e,n){return ci(t,e,n)}function ci(t,e,{immediate:n,deep:i,flush:o,onTrack:s,onTrigger:a}=r["b"]){const c=pr;let l,u,f=!1,h=!1;if(Mt(t)?(l=()=>t.value,f=!!t._shallow):jt(t)?(l=()=>t,i=!0):Object(r["n"])(t)?(h=!0,f=t.some(jt),l=()=>t.map(t=>Mt(t)?t.value:jt(t)?fi(t):Object(r["o"])(t)?Cr(t,c,2):void 0)):l=Object(r["o"])(t)?e?()=>Cr(t,c,2):()=>{if(!c||!c.isUnmounted)return u&&u(),Er(t,c,3,[d])}:r["d"],e&&i){const t=l;l=()=>fi(t())}let d=t=>{u=v.onStop=()=>{Cr(t,c,4)}},p=h?[]:si;const g=()=>{if(v.active)if(e){const t=v.run();(i||f||(h?t.some((t,e)=>Object(r["i"])(t,p[e])):Object(r["i"])(t,p)))&&(u&&u(),Er(e,c,3,[t,p===si?void 0:p,d]
1),p=t)}else v.run()};let m;g.allowRecurse=!!e,m="sync"===o?g:"post"===o?()=>bn(g,c&&c.suspense):()=>{!c||c.isMounted?ti(g):g()};const v=new _(l,m);return e?n?g():p=v.run():"post"===o?bn(v.run.bind(v),c&&c.suspense):v.run(),()=>{v.stop(),c&&c.scope&&Object(r["J"])(c.scope.effects,v)}}function li(t,e,n){const i=this.proxy,o=Object(r["C"])(t)?t.includes(".")?ui(i,t):()=>i[t]:t.bind(i,i);let s;Object(r["o"])(e)?s=e:(s=e.handler,n=e);const a=pr;mr(this);const c=ci(o,s.bind(i),n);return a?mr(a):vr(),c}function ui(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function fi(t,e=new Set){if(!Object(r["u"])(t)||t["__v_skip"])return t;if(e=e||new Set,e.has(t))return t;if(e.add(t),Mt(t))fi(t.value,e);else if(Object(r["n"])(t))for(let n=0;n<t.length;n++)fi(t[n],e);else if(Object(r["A"])(t)||Object(r["s"])(t))t.forEach(t=>{fi(t,e)});else if(Object(r["w"])(t))for(const n in t)fi(t[n],e);return t}function hi(t,e,n){const i=arguments.length;return 2===i?Object(r["u"])(e)&&!Object(r["n"])(e)?Wn(e)?Jn(t,null,[e]):Jn(t,e):Jn(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Wn(n)&&(n=[n]),Jn(t,e,n))}Symbol("");const di="3.2.11",pi="http://www.w3.org/2000/svg",gi="undefined"!==typeof document?document:null,mi=new Map,vi={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?gi.createElementNS(pi,t):gi.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&i.setAttribute("multiple",r.multiple),i},createText:t=>gi.createTextNode(t),createComment:t=>gi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>gi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,r){const i=n?n.previousSibling:e.lastChild;let o=mi.get(t);if(!o){const e=gi.createElement("template");if(e.innerHTML=r?`<svg>${t}</svg>`:t,o=e.content,r){const t=o.firstChild;while(t.firstChild)o.appendChild(t.firstChild);o.removeChild(t)}mi.set(t,o)}return e.insertBefore(o.cloneNode(!0),n),[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function bi(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function yi(t,e,n){const i=t.style,o=i.display;if(n)if(Object(r["C"])(n))e!==n&&(i.cssText=n);else{for(const t in n)_i(i,t,n[t]);if(e&&!Object(r["C"])(e))for(const t in e)null==n[t]&&_i(i,t,"")}else t.removeAttribute("style");"_vod"in t&&(i.display=o)}const wi=/\s*!important$/;function _i(t,e,n){if(Object(r["n"])(n))n.forEach(n=>_i(t,e,n));else if(e.startsWith("--"))t.setProperty(e,n);else{const i=Li(t,e);wi.test(n)?t.setProperty(Object(r["k"])(i),n.replace(wi,""),"important"):t[i]=n}}const xi=["Webkit","Moz","ms"],Ai={};function Li(t,e){const n=Ai[e];if(n)return n;let i=Object(r["e"])(e);if("filter"!==i&&i in t)return Ai[e]=i;i=Object(r["f"])(i);for(let r=0;r<xi.length;r++){const n=xi[r]+i;if(n in t)return Ai[e]=n}return e}const Ni="http://www.w3.org/1999/xlink";function Si(t,e,n,i,o){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(Ni,e.slice(6,e.length)):t.setAttributeNS(Ni,e,n);else{const i=Object(r["B"])(e);null==n||i&&!Object(r["l"])(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}function Pi(t,e,n,i,o,s,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,o,s),void(t[e]=null==n?"":n);if("value"===e&&"PROGRESS"!==t.tagName){t._value=n;const r=null==n?"":n;return t.value!==r&&(t.value=r),void(null==n&&t.removeAttribute(e))}if(""===n||null==n){const i=typeof t[e];if("boolean"===i)return void(t[e]=Object(r["l"])(n));if(null==n&&"string"===i)return t[e]="",void t.removeAttribute(e);if("number"===i){try{t[e]=0}catch(c){}return void t.removeAttribute(e)}}try{t[e]=n}catch(l){0}}let Oi=Date.now,ji=!1;if("undefined"!==typeof window){Oi()>document.createEvent("Event").timeStamp&&(Oi=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);ji=!!(t&&Number(t[1])<=53)}let ki=0;
1const Ci=Promise.resolve(),Ei=()=>{ki=0},Ii=()=>ki||(Ci.then(Ei),ki=Oi());function Fi(t,e,n,r){t.addEventListener(e,n,r)}function Ti(t,e,n,r){t.removeEventListener(e,n,r)}function Mi(t,e,n,r,i=null){const o=t._vei||(t._vei={}),s=o[e];if(r&&s)s.value=r;else{const[n,a]=Bi(e);if(r){const s=o[e]=Ri(r,i);Fi(t,n,s,a)}else s&&(Ti(t,n,s,a),o[e]=void 0)}}const Di=/(?:Once|Passive|Capture)$/;function Bi(t){let e;if(Di.test(t)){let n;e={};while(n=t.match(Di))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[Object(r["k"])(t.slice(2)),e]}function Ri(t,e){const n=t=>{const r=t.timeStamp||Oi();(ji||r>=n.attached-1)&&Er(qi(t,n.value),e,5,[t])};return n.value=t,n.attached=Ii(),n}function qi(t,e){if(Object(r["n"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t(e))}return e}const Ui=/^on[a-z]/,zi=(t,e,n,i,o=!1,s,a,c,l)=>{"class"===e?bi(t,i,o):"style"===e?yi(t,n,i):Object(r["v"])(e)?Object(r["t"])(e)||Mi(t,e,n,i,a):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):Hi(t,e,i,o))?Pi(t,e,i,s,a,c,l):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),Si(t,e,i,o))};function Hi(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&Ui.test(e)&&Object(r["o"])(n)):"spellcheck"!==e&&"draggable"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!Ui.test(e)||!Object(r["C"])(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const Wi="transition",Vi="animation",Gi=(t,{slots:e})=>hi(ce,Ji(t),e);Gi.displayName="Transition";const $i={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yi=(Gi.props=Object(r["h"])({},ce.props,$i),(t,e=[])=>{Object(r["n"])(t)?t.forEach(t=>t(...e)):t&&t(...e)}),Xi=t=>!!t&&(Object(r["n"])(t)?t.some(t=>t.length>1):t.length>1);function Ji(t){const e={};for(const r in t)r in $i||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:i,duration:o,enterFromClass:s=n+"-enter-from",enterActiveClass:a=n+"-enter-active",enterToClass:c=n+"-enter-to",appearFromClass:l=s,appearActiveClass:u=a,appearToClass:f=c,leaveFromClass:h=n+"-leave-from",leaveActiveClass:d=n+"-leave-active",leaveToClass:p=n+"-leave-to"}=t,g=Ki(o),m=g&&g[0],v=g&&g[1],{onBeforeEnter:b,onEnter:y,onEnterCancelled:w,onLeave:_,onLeaveCancelled:x,onBeforeAppear:A=b,onAppear:L=y,onAppearCancelled:N=w}=e,S=(t,e,n)=>{to(t,e?f:c),to(t,e?u:a),n&&n()},P=(t,e)=>{to(t,p),to(t,d),e&&e()},O=t=>(e,n)=>{const r=t?L:y,o=()=>S(e,t,n);Yi(r,[e,o]),eo(()=>{to(e,t?l:s),Zi(e,t?f:c),Xi(r)||ro(e,i,m,o)})};return Object(r["h"])(e,{onBeforeEnter(t){Yi(b,[t]),Zi(t,s),Zi(t,a)},onBeforeAppear(t){Yi(A,[t]),Zi(t,l),Zi(t,u)},onEnter:O(!1),onAppear:O(!0),onLeave(t,e){const n=()=>P(t,e);Zi(t,h),ao(),Zi(t,d),eo(()=>{to(t,h),Zi(t,p),Xi(_)||ro(t,i,v,n)}),Yi(_,[t,n])},onEnterCancelled(t){S(t,!1),Yi(w,[t])},onAppearCancelled(t){S(t,!0),Yi(N,[t])},onLeaveCancelled(t){P(t),Yi(x,[t])}})}function Ki(t){if(null==t)return null;if(Object(r["u"])(t))return[Qi(t.enter),Qi(t.leave)];{const e=Qi(t);return[e,e]}}function Qi(t){const e=Object(r["M"])(t);return e}function Zi(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function to(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function eo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let no=0;function ro(t,e,n,r){const i=t._endId=++no,o=()=>{i===t._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:c}=io(t,e);if(!s)return r();const l=s+"end";let u=0;const f=()=>{t.removeEventListener(l,h),o()},h=e=>{e.target===t&&++u>=c&&f()};setTimeout(()=>{u<c&&f()},a+1),t.addEventListener(l,h)}function io(t,e){const n=window.getComputedStyle(t),r=t=>(n[t]||"").split(", "),i=r(Wi+"Delay"),o=r(Wi+"Duration"),s=oo(i,o),a=r(Vi+"Delay"),c=r(Vi+"Duration"),l=oo(a,c);let u=null,f=0,h=0;e===Wi?s>0&&(u=Wi,f=s,h=o.length):e===Vi?l>0&&(u=Vi,f=l,h=c.length):(f=Math.max(s,l),u=f>0?s>l?Wi:Vi:null,h=u?u===Wi?o.length:c.length:0);const d=u===Wi&&/\b(transform|all)(,|$)/.test(n[Wi+"Property"]);return{type:u,timeout:f,propCount:h,hasTransform:d}}function oo(t,e){while(t.length<e.length)t=t.concat(t);return Math.max(...e.map((e,n)=>so(e)+so(t[n])))}function so(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ao(){return document.body.offsetHeight}new WeakMap,new WeakMap;const co=Object(r["h"])({patchProp:zi},vi);let lo;function uo(){return lo||(lo=yn(co))}const fo=(...t)=>{const e=uo().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=ho(t);if(!i)return;const o=e._component;Object(r["o"])(o)||o.render||o.template||(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function ho(t){if(Object(r["C"])(t)){const e=document.querySelector(t);return e}return t}},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7b17":function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"top",(function(){return i})),n.d(r,"bottom",(function(){return o}
vendor: 3,223 bytes, line 1
1)),n.d(r,"right",(function(){return s})),n.d(r,"left",(function(){return a})),n.d(r,"auto",(function(){return c})),n.d(r,"basePlacements",(function(){return l})),n.d(r,"start",(function(){return u})),n.d(r,"end",(function(){return f})),n.d(r,"clippingParents",(function(){return h})),n.d(r,"viewport",(function(){return d})),n.d(r,"popper",(function(){return p})),n.d(r,"reference",(function(){return g})),n.d(r,"variationPlacements",(function(){return m})),n.d(r,"placements",(function(){return v})),n.d(r,"beforeRead",(function(){return b})),n.d(r,"read",(function(){return y})),n.d(r,"afterRead",(function(){return w})),n.d(r,"beforeMain",(function(){return _})),n.d(r,"main",(function(){return x})),n.d(r,"afterMain",(function(){return A})),n.d(r,"beforeWrite",(function(){return L})),n.d(r,"write",(function(){return N})),n.d(r,"afterWrite",(function(){return S})),n.d(r,"modifierPhases",(function(){return P})),n.d(r,"applyStyles",(function(){return T})),n.d(r,"arrow",(function(){return ot})),n.d(r,"computeStyles",(function(){return ft})),n.d(r,"eventListeners",(function(){return pt})),n.d(r,"flip",(function(){return Mt})),n.d(r,"hide",(function(){return qt})),n.d(r,"offset",(function(){return Ht})),n.d(r,"popperOffsets",(function(){return Vt})),n.d(r,"preventOverflow",(function(){return Yt})),n.d(r,"popperGenerator",(function(){return oe})),n.d(r,"detectOverflow",(function(){return Et})),n.d(r,"createPopperBase",(function(){return se})),n.d(r,"createPopper",(function(){return ce})),n.d(r,"createPopperLite",(function(){return ue}));var i="top",o="bottom",s="right",a="left",c="auto",l=[i,o,s,a],u="start",f="end",h="clippingParents",d="viewport",p="popper",g="reference",m=l.reduce((function(t,e){return t.concat([e+"-"+u,e+"-"+f])}),[]),v=[].concat(l,[c]).reduce((function(t,e){return t.concat([e,e+"-"+u,e+"-"+f])}),[]),b="beforeRead",y="read",w="afterRead",_="beforeMain",x="main",A="afterMain",L="beforeWrite",N="write",S="afterWrite",P=[b,y,w,_,x,A,L,N,S];function O(t){return t?(t.nodeName||"").toLowerCase():null}function j(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function k(t){var e=j(t).Element;return t instanceof e||t instanceof Element}function C(t){var e=j(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function E(t){if("undefined"===typeof ShadowRoot)return!1;var e=j(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function I(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];C(i)&&O(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))}function F(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),s=o.reduce((function(t,e){return t[e]="",t}),{});
vendor: 13,927 bytes, line 1
1C(r)&&O(r)&&(Object.assign(r.style,s),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}}var T={name:"applyStyles",enabled:!0,phase:"write",fn:I,effect:F,requires:["computeStyles"]};function M(t){return t.split("-")[0]}var D=Math.round;function B(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(C(t)&&e){var o=t.offsetHeight,s=t.offsetWidth;s>0&&(r=n.width/s||1),o>0&&(i=n.height/o||1)}return{width:D(n.width/r),height:D(n.height/i),top:D(n.top/i),right:D(n.right/r),bottom:D(n.bottom/i),left:D(n.left/r),x:D(n.left/r),y:D(n.top/i)}}function R(t){var e=B(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function q(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&E(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function U(t){return j(t).getComputedStyle(t)}function z(t){return["table","td","th"].indexOf(O(t))>=0}function H(t){return((k(t)?t.ownerDocument:t.document)||window.document).documentElement}function W(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(E(t)?t.host:null)||H(t)}function V(t){return C(t)&&"fixed"!==U(t).position?t.offsetParent:null}function G(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&C(t)){var r=U(t);if("fixed"===r.position)return null}var i=W(t);while(C(i)&&["html","body"].indexOf(O(i))<0){var o=U(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}function $(t){var e=j(t),n=V(t);while(n&&z(n)&&"static"===U(n).position)n=V(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===U(n).position)?e:n||G(t)||e}function Y(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var X=Math.max,J=Math.min,K=Math.round;function Q(t,e,n){return X(t,J(e,n))}function Z(){return{top:0,right:0,bottom:0,left:0}}function tt(t){return Object.assign({},Z(),t)}function et(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var nt=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,tt("number"!==typeof t?t:et(t,l))};function rt(t){var e,n=t.state,r=t.name,c=t.options,l=n.elements.arrow,u=n.modifiersData.popperOffsets,f=M(n.placement),h=Y(f),d=[a,s].indexOf(f)>=0,p=d?"height":"width";if(l&&u){var g=nt(c.padding,n),m=R(l),v="y"===h?i:a,b="y"===h?o:s,y=n.rects.reference[p]+n.rects.reference[h]-u[h]-n.rects.popper[p],w=u[h]-n.rects.reference[h],_=$(l),x=_?"y"===h?_.clientHeight||0:_.clientWidth||0:0,A=y/2-w/2,L=g[v],N=x-m[p]-g[b],S=x/2-m[p]/2+A,P=Q(L,S,N),O=h;n.modifiersData[r]=(e={},e[O]=P,e.centerOffset=P-S,e)}}function it(t){var e=t.state,n=t.options,r=n.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"!==typeof i||(i=e.elements.popper.querySelector(i),i))&&q(e.elements.popper,i)&&(e.elements.arrow=i)}var ot={name:"arrow",enabled:!0,phase:"main",fn:rt,effect:it,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function st(t){return t.split("-")[1]}var at={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(t){var e=t.x,n=t.y,r=window,i=r.devicePixelRatio||1;return{x:K(K(e*i)/i)||0,y:K(K(n*i)/i)||0}}function lt(t){var e,n=t.popper,r=t.popperRect,c=t.placement,l=t.variation,u=t.offsets,h=t.position,d=t.gpuAcceleration,p=t.adaptive,g=t.roundOffsets,m=!0===g?ct(u):"function"===typeof g?g(u):u,v=m.x,b=void 0===v?0:v,y=m.y,w=void 0===y?0:y,_=u.hasOwnProperty("x"),x=u.hasOwnProperty("y"),A=a,L=i,N=window;if(p){var S=$(n),P="clientHeight",O="clientWidth";S===j(n)&&(S=H(n),"static"!==U(S).position&&"absolute"===h&&(P="scrollHeight",O="scrollWidth")),S=S,c!==i&&(c!==a&&c!==s||l!==f)||(L=o,w-=S[P]-r.height,w*=d?1:-1),c!==a&&(c!==i&&c!==o||l!==f)||(A=s,b-=S[O]-r.width,b*=d?1:-1)}var k,C=Object.assign({position:h},p&&at);return d?Object.assign({},C,(k={},k[L]=x?"0":"",k[A]=_?"0":"",k.transform=(N.devicePixelRatio||1)<=1?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",k)):Object.assign({},C,(e={},e[L]=x?w+"px":"",e[A]=_?b+"px":"",e.transform="",e))}function ut(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,l={placement:M(e.placement),variation:st(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,lt(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,lt(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var ft={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ut,data:{}},ht={passive:!0};function dt(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,c=j(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&l.forEach((function(t){t.addEventListener("scroll",n.update,ht)})),a&&c.addEventListener("resize",n.update,ht),function(){o&&l.forEach((function(t){t.removeEventListener("scroll",n.update,ht)})),a&&c.removeEventListener("resize",n.update,ht)}}var pt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dt,data:{}},gt={left:"right",right:"left",bottom:"top",top:"bottom"};function mt(t){return t.replace(/left|right|bottom|top/g,(function(t){return gt[t]}))}var vt={start:"end",end:"start"};function bt(t){return t.replace(/start|end/g,(function(t){return vt[t]}))}function yt(t){var e=j(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function wt(t){return B(H(t)).left+yt(t).scrollLeft}function _t(t){var e=j(t),n=H(t),r=e.visualViewport,i=n.clientWidth,o=n.clientHeight,s=0,a=0;return r&&(i=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=r.offsetLeft,a=r.offsetTop)),{width:i,height:o,x:s+wt(t),y:a}}function xt(t){var e,n=H(t),r=yt(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=X(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=X(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+wt(t),c=-r.scrollTop;return"rtl"===U(i||n).direction&&(a+=X(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}function At(t){var e=U(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Lt(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:C(t)&&At(t)?t:Lt(W(t))}function Nt(t,e){var n;void 0===e&&(e=[]);var r=Lt(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=j(r),s=i?[o].concat(o.visualViewport||[],At(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(Nt(W(s)))}function St(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Pt(t){var e=B(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function Ot(t,e){return e===d?St(_t(t)):C(e)?Pt(e):St(xt(H(t)))}function jt(t){var e=Nt(W(t)),n=["absolute","fixed"].indexOf(U(t).position)>=0,r=n&&C(t)?$(t):t;return k(r)?e.filter((function(t){return k(t)&&q(t,r)&&"body"!==O(t)})):[]}function kt(t,e,n){var r="clippingParents"===e?jt(t):[].concat(e),i=[].concat(r,[n]),o=i[0],s=i.reduce((function(e,n){var r=Ot(t,n);return e.top=X(r.top,e.top),e.right=J(r.right,e.right),e.bottom=J(r.bottom,e.bottom),e.left=X(r.left,e.left),e}),Ot(t,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Ct(t){var e,n=t.reference,r=t.element,c=t.placement,l=c?M(c):null,h=c?st(c):null,d=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2;switch(l){case i:e={x:d,y:n.y-r.height};break;case o:e={x:d,y:n.y+n.height};break;case s:e={x:n.x+n.width,y:p};break;case a:e={x:n.x-r.width,y:p};break;default:e={x:n.x,y:n.y}}var g=l?Y(l):null;if(null!=g){var m="y"===g?"height":"width";switch(h){case u:e[g]=e[g]-(n[m]/2-r[m]/2);break;case f:e[g]=e[g]+(n[m]/2-r[m]/2);break;default:}}return e}function Et(t,e){void 0===e&&(e={});var n=e,r=n.placement,a=void 0===r?t.placement:r,c=n.boundary,u=void 0===c?h:c,f=n.rootBoundary,m=void 0===f?d:f,v=n.elementContext,b=void 0===v?p:v,y=n.altBoundary,w=void 0!==y&&y,_=n.padding,x=void 0===_?0:_,A=tt("number"!==typeof x?x:et(x,l)),L=b===p?g:p,N=t.rects.popper,S=t.elements[w?L:b],P=kt(k(S)?S:S.contextElement||H(t.elements.popper),u,m),O=B(t.elements.reference),j=Ct({reference:O,element:N,strategy:"absolute",placement:a}),C=St(Object.assign({},N,j)),E=b===p?C:O,I={top:P.top-E.top+A.top,bottom:E.bottom-P.bottom+A.bottom,left:P.left-E.left+A.left,right:E.right-P.right+A.right},F=t.modifiersData.offset;if(b===p&&F){var T=F[a];Object.keys(I).forEach((function(t){var e=[s,o].indexOf(t)>=0?1:-1,n=[i,o].indexOf(t)>=0?"y":"x";I[t]+=T[n]*e}))}return I}function It(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,f=st(r),h=f?a?m:m.filter((function(t){return st(t)===f})):l,d=h.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=h);var p=d.reduce((function(e,n){return e[n]=Et(t,{placement:n,boundary:i,rootBoundary:o,padding:s})[M(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}function Ft(t){if(M(t)===c)return[];var e=mt(t);return[bt(t),e,bt(e)]}function Tt(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var l=n.mainAxis,f=void 0===l||l,h=n.altAxis,d=void 0===h||h,p=n.fallbackPlacements,g=n.padding,m=n.boundary,v=n.rootBoundary,b=n.altBoundary,y=n.flipVariations,w=void 0===y||y,_=n.allowedAutoPlacements,x=e.options.placement,A=M(x),L=A===x,N=p||(L||!w?[mt(x)]:Ft(x)),S=[x].concat(N).reduce((function(t,n){return t.concat(M(n)===c?It(e,{placement:n,boundary:m,rootBoundary:v,padding:g,flipVariations:w,allowedAutoPlacements:_}):n)}),[]),P=e.rects.reference,O=e.rects.popper,j=new Map,k=!0,C=S[0],E=0;E<S.length;E++){var I=S[E],F=M(I),T=st(I)===u,D=[i,o].indexOf(F)>=0,B=D?"width":"height",R=Et(e,{placement:I,boundary:m,rootBoundary:v,altBoundary:b,padding:g}),q=D?T?s:a:T?o:i;P[B]>O[B]&&(q=mt(q));var U=mt(q),z=[];if(f&&z.push(R[F]<=0),d&&z.push(R[q]<=0,R[U]<=0),z.every((function(t){return t}))){C=I,k=!1;break}j.set(I,z)}if(k)for(var H=w?3:1,W=function(t){var e=S.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return C=e,"break"},V=H;V>0;V--){var G=W(V);if("break"===G)break}e.placement!==C&&(e.modifiersData[r]._skip=!0,e.placement=C,e.reset=!0)}}var Mt={name:"flip",enabled:!0,phase:"main",fn:Tt,requiresIfExists:["offset"],data:{_skip:!1}};function Dt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Bt(t){return[i,s,o,a].some((function(e){return t[e]>=0}))}function Rt(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=Et(e,{elementContext:"reference"}),a=Et(e,{altBoundary:!0}),c=Dt(s,r),l=Dt(a,i,o),u=Bt(c),f=Bt(l);e.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}var qt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rt};function Ut(t,e,n){var r=M(t),o=[a,i].indexOf(r)>=0?-1:1,c="function"===typeof n?n(Object.assign({},e,{placement:t})):n,l=c[0],u=c[1];return l=l||0,u=(u||0)*o,[a,s].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function zt(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=void 0===i?[0,0]:i,s=v.reduce((function(t,n){return t[n]=Ut(n,e.rects,o),t}),{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[r]=s}var Ht={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zt};function Wt(t){var e=t.state,n=t.name;e.modifiersData[n]=Ct({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var Vt={name:"popperOffsets",enabled:!0,phase:"read",fn:Wt,data:{}};function Gt(t){return"x"===t?"y":"x"}function $t(t){var e=t.state,n=t.options,r=t.name,c=n.mainAxis,l=void 0===c||c,f=n.altAxis,h=void 0!==f&&f,d=n.boundary,p=n.rootBoundary,g=n.altBoundary,m=n.padding,v=n.tether,b=void 0===v||v,y=n.tetherOffset,w=void 0===y?0:y,_=Et(e,{boundary:d,rootBoundary:p,padding:m,altBoundary:g}),x=M(e.placement),A=st(e.placement),L=!A,N=Y(x),S=Gt(N),P=e.modifiersData.popperOffsets,O=e.rects.reference,j=e.rects.popper,k="function"===typeof w?w(Object.assign({},e.rects,{placement:e.placement})):w,C={x:0,y:0};if(P){if(l||h){var E="y"===N?i:a,I="y"===N?o:s,F="y"===N?"height":"width",T=P[N],D=P[N]+_[E],B=P[N]-_[I],q=b?-j[F]/2:0,U=A===u?O[F]:j[F],z=A===u?-j[F]:-O[F],H=e.elements.arrow,W=b&&H?R(H):{width:0,height:0},V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Z(),G=V[E],K=V[I],tt=Q(0,O[F],W[F]),et=L?O[F]/2-q-tt-G-k:U-tt-G-k,nt=L?-O[F]/2+q+tt+K+k:z+tt+K+k,rt=e.elements.arrow&&$(e.elements.arrow),it=rt?"y"===N?rt.clientTop||0:rt.clientLeft||0:0,ot=e.modifiersData.offset?e.modifiersData.offset[e.placement][N]:0,at=P[N]+et-ot-it,ct=P[N]+nt-ot;if(l){var lt=Q(b?J(D,at):D,T,b?X(B,ct):B);P[N]=lt,C[N]=lt-T}if(h){var ut="x"===N?i:a,ft="x"===N?o:s,ht=P[S],dt=ht+_[ut],pt=ht-_[ft],gt=Q(b?J(dt,at):dt,ht,b?X(pt,ct):pt);P[S]=gt,C[S]=gt-ht}}e.modifiersData[r]=C}
vendor: 4,819 bytes, lines 1-7
1}var Yt={name:"preventOverflow",enabled:!0,phase:"main",fn:$t,requiresIfExists:["offset"]};function Xt(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Jt(t){return t!==j(t)&&C(t)?Xt(t):yt(t)}function Kt(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return 1!==n||1!==r}function Qt(t,e,n){void 0===n&&(n=!1);var r=C(e),i=C(e)&&Kt(e),o=H(e),s=B(t,i),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==O(e)||At(o))&&(a=Jt(e)),C(e)?(c=B(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=wt(o))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Zt(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}function te(t){var e=Zt(t);return P.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function ee(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function ne(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var re={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function oe(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?re:i;return function(t,e,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},re,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,c={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;u(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:k(t)?Nt(t):t.contextElement?Nt(t.contextElement):[],popper:Nt(e)};var a=te(ne([].concat(r,i.options.modifiers)));return i.orderedModifiers=a.filter((function(t){return t.enabled})),l(),c.update()},forceUpdate:function(){if(!a){var t=i.elements,e=t.reference,n=t.popper;if(ie(e,n)){i.rects={reference:Qt(e,$(n),"fixed"===i.options.strategy),popper:R(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(t){return i.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],s=o.fn,l=o.options,u=void 0===l?{}:l,f=o.name;"function"===typeof s&&(i=s({state:i,options:u,name:f,instance:c})||i)}else i.reset=!1,r=-1}}},update:ee((function(){return new Promise((function(t){c.forceUpdate(),t(i)}))})),destroy:function(){u(),a=!0}};if(!ie(t,e))return c;function l(){i.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"===typeof o){var a=o({state:i,name:e,instance:c,options:r}),l=function(){};s.push(a||l)}}))}function u(){s.forEach((function(t){return t()})),s=[]}return c.setOptions(n).then((function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)})),c}}var se=oe(),ae=[pt,Vt,ft,T,Ht,Mt,Yt,ot,qt],ce=oe({defaultModifiers:ae}),le=[pt,Vt,ft,T],ue=oe({defaultModifiers:le}); 2/*! 3 * Bootstrap v5.1.1 (https://getbootstrap.com/) 4 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 5 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 6 */ 7const fe=1e6,he=1e3,de="transitionend",pe=t=>null===t||void 0===t?""+t:{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),ge=t=>{do{t+=Math.floor(Math.random()*fe)}while(document.getElementById(t));return t},me=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#"+n.split("#")[1]),e=n&&"#"!==n?n.trim():null}return e},ve=t=>{const e=me(t);return e&&document.querySelector(e)?e:null},be=t=>{const e=me(t);return e?document.querySelector(e):null},ye=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return r||i?(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*he):0},we=t=>{t.dispatchEvent(new Event(de))},_e=t=>!(!t||"object"!==typeof t)&&("undefined"!==typeof t.jquery&&(t=t[0]),"undefined"!==typeof t.nodeType),xe=t=>_e(t)?t.jquery?t[0]:t:"string"===typeof t&&t.length>0?document.querySelector(t):null,Ae=(t,e,n)=>
7{Object.keys(n).forEach(r=>{const i=n[r],o=e[r],s=o&&_e(o)?"element":pe(o);if(!new RegExp(i).test(s))throw new TypeError(`${t.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${i}".`)})},Le=t=>!(!_e(t)||0===t.getClientRects().length)&&"visible"===getComputedStyle(t).getPropertyValue("visibility"),Ne=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||("undefined"!==typeof t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),Se=t=>{if(!document.documentElement.attachShadow)return null;if("function"===typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?Se(t.parentNode):null},Pe=()=>{},Oe=t=>{t.offsetHeight},je=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},ke=[],Ce=t=>{"loading"===document.readyState?(ke.length||document.addEventListener("DOMContentLoaded",()=>{ke.forEach(t=>t())}),ke.push(t)):t()},Ee=()=>"rtl"===document.documentElement.dir,Ie=t=>{Ce(()=>{const e=je();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},Fe=t=>{"function"===typeof t&&t()},Te=(t,e,n=!0)=>{if(!n)return void Fe(t);const r=5,i=ye(e)+r;let o=!1;const s=({target:n})=>{n===e&&(o=!0,e.removeEventListener(de,s),Fe(t))};e.addEventListener(de,s),setTimeout(()=>{o||we(e)},i)},Me=(t,e,n,r)=>{let i=t.indexOf(e);if(-1===i)return t[!n&&r?t.length-1:0];const o=t.length;return i+=n?1:-1,r&&(i=(i+o)%o),t[Math.max(0,Math.min(i,o-1))]},De=/[^.]*(?=\..*)\.|.*/,Be=/\..*/,Re=/::\d+$/,qe={};let Ue=1;
vendor: 2,064 bytes, line 7
7const ze={mouseenter:"mouseover",mouseleave:"mouseout"},He=/^(mouseenter|mouseleave)/i,We=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Ve(t,e){return e&&`${e}::${Ue++}`||t.uidEvent||Ue++}function Ge(t){const e=Ve(t);return t.uidEvent=e,qe[e]=qe[e]||{},qe[e]}function $e(t,e){return function n(r){return r.delegateTarget=t,n.oneOff&&en.off(t,r.type,e),e.apply(t,[r])}}function Ye(t,e,n){return function r(i){const o=t.querySelectorAll(e);for(let{target:s}=i;s&&s!==this;s=s.parentNode)for(let a=o.length;a--;)if(o[a]===s)return i.delegateTarget=s,r.oneOff&&en.off(t,i.type,e,n),n.apply(s,[i]);return null}}function Xe(t,e,n=null){const r=Object.keys(t);for(let i=0,o=r.length;i<o;i++){const o=t[r[i]];if(o.originalHandler===e&&o.delegationSelector===n)return o}return null}function Je(t,e,n){const r="string"===typeof e,i=r?n:e;let o=tn(t);const s=We.has(o);return s||(o=t),[r,i,o]}function Ke(t,e,n,r,i){if("string"!==typeof e||!t)return;if(n||(n=r,r=null),He.test(e)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r?r=t(r):n=t(n)}const[o,s,a]=Je(e,n,r),c=Ge(t),l=c[a]||(c[a]={}),u=Xe(l,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const f=Ve(s,e.replace(De,"")),h=o?Ye(t,n,r):$e(t,n);h.delegationSelector=o?n:null,h.originalHandler=s,h.oneOff=i,h.uidEvent=f,l[f]=h,t.addEventListener(a,h,o)}function Qe(t,e,n,r,i){const o=Xe(e[n],r,i);o&&(t.removeEventListener(n,o,Boolean(i)),delete e[n][o.uidEvent])}function Ze(t,e,n,r){const i=e[n]||{};
7Object.keys(i).forEach(o=>{if(o.includes(r)){const r=i[o];Qe(t,e,n,r.originalHandler,r.delegationSelector)}})}function tn(t){return t=t.replace(Be,""),ze[t]||t}const en={on(t,e,n,r){Ke(t,e,n,r,!1)},one(t,e,n,r){Ke(t,e,n,r,!0)},off(t,e,n,r){if("string"!==typeof e||!t)return;const[i,o,s]=Je(e,n,r),a=s!==e,c=Ge(t),l=e.startsWith(".");if("undefined"!==typeof o){if(!c||!c[s])return;return void Qe(t,c,s,o,i?n:null)}l&&Object.keys(c).forEach(n=>{Ze(t,c,n,e.slice(1))});const u=c[s]||{};Object.keys(u).forEach(n=>{const r=n.replace(Re,"");if(!a||e.includes(r)){const e=u[n];Qe(t,c,s,e.originalHandler,e.delegationSelector)}})},trigger(t,e,n){if("string"!==typeof e||!t)return null;const r=je(),i=tn(e),o=e!==i,s=We.has(i);let a,c=!0,l=!0,u=!1,f=null;return o&&r&&(a=r.Event(e,n),r(t).trigger(a),c=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(f=document.createEvent("HTMLEvents"),f.initEvent(i,c,!0)):f=new CustomEvent(e,{bubbles:c,cancelable:!0}),"undefined"!==typeof n&&Object.keys(n).forEach(t=>{Object.defineProperty(f,t,{get(){return n[t]}})}),u&&f.preventDefault(),l&&t.dispatchEvent(f),f.defaultPrevented&&"undefined"!==typeof a&&a.preventDefault(),f}},nn=new Map;var rn={set(t,e,n){nn.has(t)||nn.set(t,new Map);const r=nn.get(t);r.has(e)||0===r.size?r.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get(t,e){return nn.has(t)&&nn.get(t).get(e)||null},remove(t,e){if(!nn.has(t))return;const n=nn.get(t);n.delete(e),0===n.size&&nn.delete(t)}};const on="5.1.1";class sn{constructor(t){t=xe(t),t&&(this._element=t,rn.set(this._element,this.constructor.DATA_KEY,this))}dispose(){rn.remove(this._element,this.constructor.DATA_KEY),en.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(t=>{this[t]=null})}_queueCallback(t,e,n=!0){Te(t,e,n)}static getInstance(t){return rn.get(xe(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"===typeof e?e:null)}static get VERSION(){return on}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}}const an=(t,e="hide")=>{const n="click.dismiss"+t.EVENT_KEY,r=t.NAME;en.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Ne(this))return;const i=be(this)||this.closest("."+r),o=t.getOrCreateInstance(i);o[e]()}))},cn="alert",ln="bs.alert",un="."+ln,fn="close"+un,hn="closed"+un,dn="fade",pn="show";class gn extends sn{static get NAME(){return cn}close(){const t=en.trigger(this._element,fn);if(t.defaultPrevented)return;this._element.classList.remove(pn);const e=this._element.classList.contains(dn);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),en.trigger(this._element,hn),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=gn.getOrCreateInstance(this);if("string"===typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}an(gn,"close"),Ie(gn);const mn="button",vn="bs.button",bn="."+vn,yn=".data-api",wn="active",_n='[data-bs-toggle="button"]',xn=`click${bn}${yn}`;class An extends sn{static get NAME(){return mn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wn))}static jQueryInterface(t){return this.each((function(){const e=An.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}function Ln(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Nn(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}en.on(document,xn,_n,t=>{t.preventDefault();const e=t.target.closest(_n),n=An.getOrCreateInstance(e);n.toggle()}),Ie(An);const Sn={setDataAttribute(t,e,n){t.setAttribute("data-bs-"+Nn(e),n)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+Nn(e))},getDataAttributes(t){if(!t)return{};const e={};return Object.keys(t.dataset).filter(t=>
7t.startsWith("bs")).forEach(n=>{let r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),e[r]=Ln(t.dataset[n])}),e},getDataAttribute(t,e){return Ln(t.getAttribute("data-bs-"+Nn(e)))},offset(t){const e=t.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position(t){return{top:t.offsetTop,left:t.offsetLeft}}},Pn=3,On={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(t=>t.matches(e))},parents(t,e){const n=[];let r=t.parentNode;while(r&&r.nodeType===Node.ELEMENT_NODE&&r.nodeType!==Pn)r.matches(e)&&n.push(r),r=r.parentNode;return n},prev(t,e){let n=t.previousElementSibling;while(n){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;while(n){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(", ");return this.find(e,t).filter(t=>!Ne(t)&&Le(t))}},jn="carousel",kn="bs.carousel",Cn="."+kn,En=".data-api",In="ArrowLeft",Fn="ArrowRight",Tn=500,Mn=40,Dn={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Bn={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Rn="next",qn="prev",Un="left",zn="right",Hn={[In]:zn,[Fn]:Un},Wn="slide"+Cn,Vn="slid"+Cn,Gn="keydown"+Cn,$n="mouseenter"+Cn,Yn="mouseleave"+Cn,Xn="touchstart"+Cn,Jn="touchmove"+Cn,Kn="touchend"+Cn,Qn="pointerdown"+Cn,Zn="pointerup"+Cn,tr="dragstart"+Cn,er=`load${Cn}${En}`,nr=`click${Cn}${En}`,rr="carousel",ir="active",or="slide",sr="carousel-item-end",ar="carousel-item-start",cr="carousel-item-next",lr="carousel-item-prev",ur="pointer-event",fr=".active",hr=".active.carousel-item",dr=".carousel-item",pr=".carousel-item img",gr=".carousel-item-next, .carousel-item-prev",mr=".carousel-indicators",vr="[data-bs-target]",br="[data-bs-slide], [data-bs-slide-to]",yr='[data-bs-ride="carousel"]',wr="touch",_r="pen";class xr extends sn{constructor(t,e){super(t),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._indicatorsElement=On.findOne(mr,this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Dn}static get NAME(){return jn}
7next(){this._slide(Rn)}nextWhenVisible(){!document.hidden&&Le(this._element)&&this.next()}prev(){this._slide(qn)}pause(t){t||(this._isPaused=!0),On.findOne(gr,this._element)&&(we(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=On.findOne(hr,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void en.one(this._element,Vn,()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const n=t>e?Rn:qn;this._slide(n,this._items[t])}_getConfig(t){return t={...Dn,...Sn.getDataAttributes(this._element),..."object"===typeof t?t:{}},Ae(jn,t,Bn),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=Mn)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?zn:Un)}_addEventListeners(){this._config.keyboard&&en.on(this._element,Gn,t=>this._keydown(t)),"hover"===this._config.pause&&(en.on(this._element,$n,t=>this.pause(t)),en.on(this._element,Yn,t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&(t.pointerType===_r||t.pointerType===wr),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},n=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},r=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),Tn+this._config.interval))};On.find(pr,this._element).forEach(t=>{en.on(t,tr,t=>t.preventDefault())}),this._pointerEvent?(en.on(this._element,Qn,t=>e(t)),en.on(this._element,Zn,t=>r(t)),this._element.classList.add(ur)):(en.on(this._element,Xn,t=>e(t)),en.on(this._element,Jn,t=>n(t)),en.on(this._element,Kn,t=>r(t)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Hn[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(t){return this._items=t&&t.parentNode?On.find(dr,t.parentNode):[],this._items.indexOf(t)}_getItemByOrder(t,e){const n=t===Rn;return Me(this._items,e,n,this._config.wrap)}_triggerSlideEvent(t,e){const n=this._getItemIndex(t),r=this._getItemIndex(On.findOne(hr,this._element));return en.trigger(this._element,Wn,{relatedTarget:t,direction:e,from:r,to:n})}_setActiveIndicatorElement(t){if(this._indicatorsElement){const e=On.findOne(fr,this._indicatorsElement);e.classList.remove(ir),e.removeAttribute("aria-current");const n=On.find(vr,this._indicatorsElement);for(let r=0;r<n.length;r++)if(Number.parseInt(n[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(t)){n[r].classList.add(ir),n[r].setAttribute("aria-current","true");break}}}_updateInterval(){const t=this._activeElement||On.findOne(hr,this._element);if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(t,e){const n=this._directionToOrder(t),r=On.findOne(hr,this._element),i=this._getItemIndex(r),o=e||this._getItemByOrder(n,r),s=this._getItemIndex(o),a=Boolean(this._interval),c=n===Rn,l=c?ar:sr,u=c?cr:lr,f=this._orderToDirection(n);if(o&&o.classList.contains(ir))return void(this._isSliding=!1);if(this._isSliding)return;const h=this._triggerSlideEvent(o,f);if(h.defaultPrevented)return;if(!r||!o)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const d=()=>{en.trigger(this._element,Vn,{relatedTarget:o,direction:f,from:i,to:s})};if(this._element.classList.contains(or)){o.classList.add(u),Oe(o),r.classList.add(l),o.classList.add(l);const t=()=>{o.classList.remove(l,u),o.classList.add(ir),r.classList.remove(ir,u,l),this._isSliding=!1,setTimeout(d,0)};this._queueCallback(t,r,!0)}else r.classList.remove(ir),o.classList.add(ir),this._isSliding=!1,d();a&&this.cycle()}_directionToOrder(t){return[zn,Un].includes(t)?Ee()?t===Un?qn:Rn:t===Un?Rn:qn:t}_orderToDirection(t){return[Rn,qn].includes(t)?Ee()?t===qn?Un:zn:t===qn?zn:Un:t}static carouselInterface(t,e){const n=xr.getOrCreateInstance(t,e);let{_config:r}=n;"object"===typeof e&&(r={...r,...e});const i="string"===typeof e?e:r.slide;if("number"===typeof e)n.to(e);else if("string"===typeof i){if("undefined"===typeof n[i])throw new TypeError(`No method n
7amed "${i}"`);n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}static jQueryInterface(t){return this.each((function(){xr.carouselInterface(this,t)}))}static dataApiClickHandler(t){const e=be(this);if(!e||!e.classList.contains(rr))return;const n={...Sn.getDataAttributes(e),...Sn.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),xr.carouselInterface(e,n),r&&xr.getInstance(e).to(r),t.preventDefault()}}en.on(document,nr,br,xr.dataApiClickHandler),en.on(window,er,()=>{const t=On.find(yr);for(let e=0,n=t.length;e<n;e++)xr.carouselInterface(t[e],xr.getInstance(t[e]))}),Ie(xr);const Ar="collapse",Lr="bs.collapse",Nr="."+Lr,Sr=".data-api",Pr={toggle:!0,parent:null},Or={toggle:"boolean",parent:"(null|element)"},jr="show"+Nr,kr="shown"+Nr,Cr="hide"+Nr,Er="hidden"+Nr,Ir=`click${Nr}${Sr}`,Fr="show",Tr="collapse",Mr="collapsing",Dr="collapsed",Br="collapse-horizontal",Rr="width",qr="height",Ur=".collapse.show, .collapse.collapsing",zr='[data-bs-toggle="collapse"]';class Hr extends sn{constructor(t,e){super(t),this._isTransitioning=!1,this._config=this._getConfig(e),this._triggerArray=[];const n=On.find(zr);for(let r=0,i=n.length;r<i;r++){const t=n[r],e=ve(t),i=On.find(e).filter(t=>t===this._element);null!==e&&i.length&&(this._selector=e,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pr}static get NAME(){return Ar}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=On.find(`.${Tr} .${Tr}`,this._config.parent);e=On.find(Ur,this._config.parent).filter(e=>!t.includes(e))}const n=On.findOne(this._selector);if(e.length){const r=e.find(t=>n!==t);if(t=r?Hr.getInstance(r):null,t&&t._isTransitioning)return}const r=en.trigger(this._element,jr);if(r.defaultPrevented)return;e.forEach(e=>{n!==e&&Hr.getOrCreateInstance(e,{toggle:!1}).hide(),t||rn.set(e,Lr,null)});const i=this._getDimension();this._element.classList.remove(Tr),this._element.classList.add(Mr),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Mr),this._element.classList.add(Tr,Fr),this._element.style[i]="",en.trigger(this._element,kr)},s=i[0].toUpperCase()+i.slice(1),a="scroll"+s;this._queueCallback(o,this._element,!0),this._element.style[i]=this._element[a]+"px"}hide(){if(this._isTransitioning||!this._isShown())return;const t=en.trigger(this._element,Cr);if(t.defaultPrevented)return;const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",Oe(this._element),this._element.classList.add(Mr),this._element.classList.remove(Tr,Fr);const n=this._triggerArray.length;for(let i=0;i<n;i++){const t=this._triggerArray[i],e=be(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Mr),this._element.classList.add(Tr),en.trigger(this._element,Er)};this._element.style[e]="",this._queueCallback(r,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Fr)}_getConfig(t){return t={...Pr,...Sn.getDataAttributes(this._element),...t},t.toggle=Boolean(t.toggle),t.parent=xe(t.parent),Ae(Ar,t,Or),t}_getDimension(){return this._element.classList.contains(Br)?Rr:qr}_initializeChildren(){if(!this._config.parent)return;const t=On.find(`.${Tr} .${Tr}`,this._config.parent);On.find(zr,this._config.parent).filter(e=>!t.includes(e)).forEach(t=>{const e=be(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))})}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach(t=>{e?t.classList.remove(Dr):t.classList.add(Dr),t.setAttribute("aria-expanded",e)})}static jQueryInterface(t){return this.each((function(){const e={};"string"===typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const n=Hr.getOrCreateInstance(this,e);if("string"===typeof t){if("undefined"===typeof n[t])throw new TypeError(`No method n
7amed "${t}"`);n[t]()}}))}}en.on(document,Ir,zr,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=ve(this),n=On.find(e);n.forEach(t=>{Hr.getOrCreateInstance(t,{toggle:!1}).toggle()})})),Ie(Hr);const Wr="dropdown",Vr="bs.dropdown",Gr="."+Vr,$r=".data-api",Yr="Escape",Xr="Space",Jr="Tab",Kr="ArrowUp",Qr="ArrowDown",Zr=2,ti=new RegExp(`${Kr}|${Qr}|${Yr}`),ei="hide"+Gr,ni="hidden"+Gr,ri="show"+Gr,ii="shown"+Gr,oi=`click${Gr}${$r}`,si=`keydown${Gr}${$r}`,ai=`keyup${Gr}${$r}`,ci="show",li="dropup",ui="dropend",fi="dropstart",hi="navbar",di='[data-bs-toggle="dropdown"]',pi=".dropdown-menu",gi=".navbar-nav",mi=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",vi=Ee()?"top-end":"top-start",bi=Ee()?"top-start":"top-end",yi=Ee()?"bottom-end":"bottom-start",wi=Ee()?"bottom-start":"bottom-end",_i=Ee()?"left-start":"right-start",xi=Ee()?"right-start":"left-start",Ai={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},Li={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class Ni extends sn{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Ai}static get DefaultType(){return Li}static get NAME(){return Wr}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Ne(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element},e=en.trigger(this._element,ri,t);if(e.defaultPrevented)return;const n=Ni.getParentFromElement(this._element);this._inNavbar?Sn.setDataAttribute(this._menu,"popper","none"):this._createPopper(n),"ontouchstart"in document.documentElement&&!n.closest(gi)&&[].concat(...document.body.children).forEach(t=>en.on(t,"mouseover",Pe)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ci),this._element.classList.add(ci),en.trigger(this._element,ii,t)}hide(){if(Ne(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){const e=en.trigger(this._element,ei,t);e.defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>en.off(t,"mouseover",Pe)),this._popper&&this._popper.destroy(),this._menu.classList.remove(ci),this._element.classList.remove(ci),this._element.setAttribute("aria-expanded","false"),Sn.removeDataAttribute(this._menu,"popper"),en.trigger(this._element,ni,t))}_getConfig(t){if(t={...this.constructor.Default,...Sn.getDataAttributes(this._element),...t},Ae(Wr,t,this.constructor.DefaultType),"object"===typeof t.reference&&!_e(t.reference)&&"function"!==typeof t.reference.getBoundingClientRect)throw new TypeError(Wr.toUpperCase()+': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');return t}_createPopper(t){if("undefined"===typeof r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:_e(this._config.reference)?e=xe(this._config.reference):"object"===typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),i=n.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=ce(e,this._menu,n),i&&Sn.setDataAttribute(this._menu,"popper","static")}_isShown(t=this._element){return t.classList.contains(ci)}_getMenuElement(){return On.next(this._element,pi)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains(ui))return _i;if(t.classList.contains(fi))return xi;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains(li)?e?bi:vi:e?wi:yi}_detectNavbar(){return null!==this._element.closest("."+hi)}_getOffset(){const{offset:t}=this._config;return"string"===typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"===typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boun
7dary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"===typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=On.find(mi,this._menu).filter(Le);n.length&&Me(n,e,t===Qr,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=Ni.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(t&&(t.button===Zr||"keyup"===t.type&&t.key!==Jr))return;const e=On.find(di);for(let n=0,r=e.length;n<r;n++){const r=Ni.getInstance(e[n]);if(!r||!1===r._config.autoClose)continue;if(!r._isShown())continue;const i={relatedTarget:r._element};if(t){const e=t.composedPath(),n=e.includes(r._menu);if(e.includes(r._element)||"inside"===r._config.autoClose&&!n||"outside"===r._config.autoClose&&n)continue;if(r._menu.contains(t.target)&&("keyup"===t.type&&t.key===Jr||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(i.clickEvent=t)}r._completeHide(i)}}static getParentFromElement(t){return be(t)||t.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===Xr||t.key!==Yr&&(t.key!==Qr&&t.key!==Kr||t.target.closest(pi)):!ti.test(t.key))return;const e=this.classList.contains(ci);if(!e&&t.key===Yr)return;if(t.preventDefault(),t.stopPropagation(),Ne(this))return;const n=this.matches(di)?this:On.prev(this,di)[0],r=Ni.getOrCreateInstance(n);if(t.key!==Yr)return t.key===Kr||t.key===Qr?(e||r.show(),void r._selectMenuItem(t)):void(e&&t.key!==Xr||Ni.clearMenus());r.hide()}}en.on(document,si,di,Ni.dataApiKeydownHandler),en.on(document,si,pi,Ni.dataApiKeydownHandler),en.on(document,oi,Ni.clearMenus),en.on(document,ai,Ni.clearMenus),en.on(document,oi,di,(function(t){t.preventDefault(),Ni.getOrCreateInstance(this).toggle()})),Ie(Ni);const Si=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Pi=".sticky-top";class Oi{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes(Si,"paddingRight",e=>e+t),this._setElementAttributes(Pi,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const r=this.getWidth(),i=t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+r)return;this._saveInitialAttribute(t,e);const i=window.getComputedStyle(t)[e];t.style[e]=n(Number.parseFloat(i))+"px"};this._applyManipulationCallback(t,i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Si,"paddingRight"),this._resetElementAttributes(Pi,"marginRight")}_saveInitialAttribute(t,e){const n=t.style[e];n&&Sn.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){const n=t=>{const n=Sn.getDataAttribute(t,e);"undefined"===typeof n?t.style.removeProperty(e):(Sn.removeDataAttribute(t,e),t.style[e]=n)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,e){_e(t)?e(t):On.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const ji={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},ki={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Ci="backdrop",Ei="fade",Ii="show",Fi="mousedown.bs."+Ci;class Ti{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&Oe(this._getElement()),this._getElement().classList.add(Ii),this._emulateAnimation(()=>{Fe(t)})):Fe(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(Ii),this._emulateAnimation(()=>{this.dispose(),Fe(t)}
7)):Fe(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Ei),this._element=t}return this._element}_getConfig(t){return t={...ji,..."object"===typeof t?t:{}},t.rootElement=xe(t.rootElement),Ae(Ci,t,ki),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),en.on(this._getElement(),Fi,()=>{Fe(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(en.off(this._element,Fi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){Te(t,this._getElement(),this._config.isAnimated)}}const Mi={trapElement:null,autofocus:!0},Di={trapElement:"element",autofocus:"boolean"},Bi="focustrap",Ri="bs.focustrap",qi="."+Ri,Ui="focusin"+qi,zi="keydown.tab"+qi,Hi="Tab",Wi="forward",Vi="backward";class Gi{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),en.off(document,qi),en.on(document,Ui,t=>this._handleFocusin(t)),en.on(document,zi,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,en.off(document,qi))}_handleFocusin(t){const{target:e}=t,{trapElement:n}=this._config;if(e===document||e===n||n.contains(e))return;const r=On.focusableChildren(n);0===r.length?n.focus():this._lastTabNavDirection===Vi?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){t.key===Hi&&(this._lastTabNavDirection=t.shiftKey?Vi:Wi)}_getConfig(t){return t={...Mi,..."object"===typeof t?t:{}},Ae(Bi,t,Di),t}}const $i="modal",Yi="bs.modal",Xi="."+Yi,Ji=".data-api",Ki="Escape",Qi={backdrop:!0,keyboard:!0,focus:!0},Zi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},to="hide"+Xi,eo="hidePrevented"+Xi,no="hidden"+Xi,ro="show"+Xi,io="shown"+Xi,oo="resize"+Xi,so="click.dismiss"+Xi,ao="keydown.dismiss"+Xi,co="mouseup.dismiss"+Xi,lo="mousedown.dismiss"+Xi,uo=`click${Xi}${Ji}`,fo="modal-open",ho="fade",po="show",go="modal-static",mo=".modal.show",vo=".modal-dialog",bo=".modal-body",yo='[data-bs-toggle="modal"]';class wo extends sn{constructor(t,e){super(t),this._config=this._getConfig(e),this._dialog=On.findOne(vo,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new Oi}static get Default(){return Qi}static get NAME(){return $i}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;const e=en.trigger(this._element,ro,{relatedTarget:t});e.defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(fo),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),en.on(this._dialog,lo,()=>{en.one(this._element,co,t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;const t=en.trigger(this._element,to);if(t.defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(po),en.off(this._element,so),en.off(this._dialog,lo),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(t=>en.off(t,Xi)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ti({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Gi({trapElement:this._element})}_getConfig(t){return t={...Qi,...Sn.getDataAttributes(this._element),..."object"===typeof t?t:{}},Ae($i,t,Zi),t}_showElement(t){const e=this._isAnimated(),n=On.findOne(bo,this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),e&&Oe(this._element),this._element.classList.add(po);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,en.trigger(this._element,io,{relatedTarget:t})};this._queueCallback(r,this._dialog,e)}_setEscapeEvent(){this._isShown?en.on(this._element,ao,t=>{this._config.keyboard&&t.key===Ki?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==Ki||this._triggerBackdropTransition()}):en.off(this._element,ao)}_setResizeEvent(){this._isShown?en.on(window,oo,()=>this._adjustDialog()):en.off(window,oo)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(fo),this._resetAdjustments(),this._scrollBar.reset(),en.trigger(this._element,no)})}_showBackdrop(t){en.on(this._element,so,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains(ho)}_triggerBackdropTransition(){const t=en.trigger(this._element,eo);if(t.defaultPrevented)return;const{classList:e,scrollHeight:n,style:r}=this._element,i=n>document.documentElement.clientHeight;!i&&"hidden"===r.overflowY||e.contains(go)||(i||(r.overflowY="hidden"),e.add(go),this._queueCallback(()=>{e.remove(go),i||this._queueCallback(()=>{r.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;(!n&&t&&!Ee()||n&&!t&&Ee())&&(this._element.style.paddingLeft=e+"px"),(n&&!t&&!Ee()||!n&&t&&Ee())&&(this._element.style.paddingRight=e+"px")}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=wo.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof n[t])throw new TypeError(`No method n
7amed "${t}"`);n[t](e)}}))}}en.on(document,uo,yo,(function(t){const e=be(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),en.one(e,ro,t=>{t.defaultPrevented||en.one(e,no,()=>{Le(this)&&this.focus()})});const n=On.findOne(mo);n&&wo.getInstance(n).hide();const r=wo.getOrCreateInstance(e);r.toggle(this)})),an(wo),Ie(wo);const _o="offcanvas",xo="bs.offcanvas",Ao="."+xo,Lo=".data-api",No=`load${Ao}${Lo}`,So="Escape",Po={backdrop:!0,keyboard:!0,scroll:!1},Oo={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},jo="show",ko="offcanvas-backdrop",Co=".offcanvas.show",Eo="show"+Ao,Io="shown"+Ao,Fo="hide"+Ao,To="hidden"+Ao,Mo=`click${Ao}${Lo}`,Do="keydown.dismiss"+Ao,Bo='[data-bs-toggle="offcanvas"]';class Ro extends sn{constructor(t,e){super(t),this._config=this._getConfig(e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return _o}static get Default(){return Po}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;const e=en.trigger(this._element,Eo,{relatedTarget:t});if(e.defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new Oi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(jo);const n=()=>{this._config.scroll||this._focustrap.activate(),en.trigger(this._element,Io,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown)return;const t=en.trigger(this._element,Fo);if(t.defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(jo),this._backdrop.hide();const e=()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new Oi).reset(),en.trigger(this._element,To)};this._queueCallback(e,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Po,...Sn.getDataAttributes(this._element),..."object"===typeof t?t:{}},Ae(_o,t,Oo),t}_initializeBackDrop(){return new Ti({className:ko,isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Gi({trapElement:this._element})}_addEventListeners(){en.on(this._element,Do,t=>{this._config.keyboard&&t.key===So&&this.hide()})}static jQueryInterface(t){return this.each((function(){const e=Ro.getOrCreateInstance(this,t);if("string"===typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}en.on(document,Mo,Bo,(function(t){const e=be(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Ne(this))return;en.one(e,To,()=>{Le(this)&&this.focus()});const n=On.findOne(Co);n&&n!==e&&Ro.getInstance(n).hide();const r=Ro.getOrCreateInstance(e);r.toggle(this)})),en.on(window,No,()=>On.find(Co).forEach(t=>Ro.getOrCreateInstance(t).show())),an(Ro),Ie(Ro);const qo=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Uo=/^aria-[\w-]*$/i,zo=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,Ho=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Wo=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n))return!qo.has(n)||Boolean(zo.test(t.nodeValue)||Ho.test(t.nodeValue));const r=e.filter(t=>t instanceof RegExp);for(let i=0,o=r.length;i<o;i++)if(r[i].test(n))return!0;return!1},Vo={"*":["class","dir","id","lang","role",Uo],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function Go(t,e,n){if(!t.length)return t;if(n&&"function"===typeof n)return n(t);const r=new window.DOMParser,i=r.parseFromString(t,"text/html"),o=Object.keys(e),s=[].concat(...i.body.querySelectorAll("*"));for(let a=0,c=s.length;a<c;a++){const t=s[a],n=t.nodeName.toLowerCase();if(!o.includes(n)){t.remove();continue}const r=[].concat(...t.attributes),i=[].concat(e["*"]||[],e[n]||[]);
7r.forEach(e=>{Wo(e,i)||t.removeAttribute(e.nodeName)})}return i.body.innerHTML}const $o="tooltip",Yo="bs.tooltip",Xo="."+Yo,Jo="bs-tooltip",Ko=new Set(["sanitize","allowList","sanitizeFn"]),Qo={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Zo={AUTO:"auto",TOP:"top",RIGHT:Ee()?"left":"right",BOTTOM:"bottom",LEFT:Ee()?"right":"left"},ts={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:Vo,popperConfig:null},es={HIDE:"hide"+Xo,HIDDEN:"hidden"+Xo,SHOW:"show"+Xo,SHOWN:"shown"+Xo,INSERTED:"inserted"+Xo,CLICK:"click"+Xo,FOCUSIN:"focusin"+Xo,FOCUSOUT:"focusout"+Xo,MOUSEENTER:"mouseenter"+Xo,MOUSELEAVE:"mouseleave"+Xo},ns="fade",rs="modal",is="show",os="show",ss="out",as=".tooltip-inner",cs="."+rs,ls="hide.bs.modal",us="hover",fs="focus",hs="click",ds="manual";class ps extends sn{constructor(t,e){if("undefined"===typeof r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return ts}static get NAME(){return $o}static get Event(){return es}static get DefaultType(){return Qo}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(is))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),en.off(this._element.closest(cs),ls,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=en.trigger(this._element,this.constructor.Event.SHOW),e=Se(this._element),n=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(as).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),i=ge(this.constructor.NAME);r.setAttribute("id",i),this._element.setAttribute("aria-describedby",i),this._config.animation&&r.classList.add(ns);const o="function"===typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,s=this._getAttachment(o);this._addAttachmentClass(s);const{container:a}=this._config;rn.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(r),en.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=ce(this._element,r,this._getPopperConfig(s)),r.classList.add(is);const c=this._resolvePossibleFunction(this._config.customClass);c&&r.classList.add(...c.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{en.on(t,"mouseover",Pe)});const l=()=>{const t=this._hoverState;this._hoverState=null,en.trigger(this._element,this.constructor.Event.SHOWN),t===ss&&this._leave(null,this)},u=this.tip.classList.contains(ns);this._queueCallback(l,this.tip,u)}
7hide(){if(!this._popper)return;const t=this.getTipElement(),e=()=>{this._isWithActiveTrigger()||(this._hoverState!==os&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),en.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},n=en.trigger(this._element,this.constructor.Event.HIDE);if(n.defaultPrevented)return;t.classList.remove(is),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>en.off(t,"mouseover",Pe)),this._activeTrigger[hs]=!1,this._activeTrigger[fs]=!1,this._activeTrigger[us]=!1;const r=this.tip.classList.contains(ns);this._queueCallback(e,this.tip,r),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(ns,is),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),as)}_sanitizeAndSetContent(t,e,n){const r=On.findOne(n,t);e||!r?this.setElementContent(r,e):r.remove()}setElementContent(t,e){if(null!==t)return _e(e)?(e=xe(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=Go(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){const t=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"===typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"===typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return"function"===typeof t?t.call(this._element):t}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...e,..."function"===typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return Zo[t.toUpperCase()]}_setListeners(){const t=this._config.trigger.split(" ");t.forEach(t=>{if("click"===t)en.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if(t!==ds){const e=t===us?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=t===us?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;en.on(this._element,e,this._config.selector,t=>this._enter(t)),en.on(this._element,n,this._config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this._element&&this.hide()},en.on(this._element.closest(cs),ls,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?fs:us]=!0),e.getTipElement().classList.contains(is)||e._hoverState===os?e._hoverState=os:(clearTimeout(e._timeout),e._hoverState=os,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===os&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?fs:us]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=ss,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{e._hoverState===ss&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=Sn.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{Ko.has(t)&&delete e[t]}),t={...this.constructor.Default,...e,..."object"===typeof t&&t?t:{}},t.container=!1===t.container?document.body:xe(t.container),"number"===typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"===typeof t.title&&(t.title=t.title.toString()),"number"===typeof t.content&&(t.content=t.content.toString()),Ae($o,t,this.constructor.DefaultType),t.sanitize&&(t.template=Go(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=t.getAttribute("class").match(e);null!==n&&n.length>0&&n.map(t=>
7t.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return Jo}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each((function(){const e=ps.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Ie(ps);const gs="popover",ms="bs.popover",vs="."+ms,bs="bs-popover",ys={...ps.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},ws={...ps.DefaultType,content:"(string|element|function)"},_s={HIDE:"hide"+vs,HIDDEN:"hidden"+vs,SHOW:"show"+vs,SHOWN:"shown"+vs,INSERTED:"inserted"+vs,CLICK:"click"+vs,FOCUSIN:"focusin"+vs,FOCUSOUT:"focusout"+vs,MOUSEENTER:"mouseenter"+vs,MOUSELEAVE:"mouseleave"+vs},xs=".popover-header",As=".popover-body";class Ls extends ps{static get Default(){return ys}static get NAME(){return gs}static get Event(){return _s}static get DefaultType(){return ws}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),xs),this._sanitizeAndSetContent(t,this._getContent(),As)}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return bs}static jQueryInterface(t){return this.each((function(){const e=Ls.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}Ie(Ls);const Ns="scrollspy",Ss="bs.scrollspy",Ps="."+Ss,Os=".data-api",js={offset:10,method:"auto",target:""},ks={offset:"number",method:"string",target:"(string|element)"},Cs="activate"+Ps,Es="scroll"+Ps,Is=`load${Ps}${Os}`,Fs="dropdown-item",Ts="active",Ms='[data-bs-spy="scroll"]',Ds=".nav, .list-group",Bs=".nav-link",Rs=".nav-item",qs=".list-group-item",Us=`${Bs}, ${qs}, .${Fs}`,zs=".dropdown",Hs=".dropdown-toggle",Ws="offset",Vs="position";class Gs extends sn{constructor(t,e){super(t),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,en.on(this._scrollElement,Es,()=>this._process()),this.refresh(),this._process()}static get Default(){return js}static get NAME(){return Ns}refresh(){const t=this._scrollElement===this._scrollElement.window?Ws:Vs,e="auto"===this._config.method?t:this._config.method,n=e===Vs?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();const r=On.find(Us,this._config.target);r.map(t=>{const r=ve(t),i=r?On.findOne(r):null;if(i){const t=i.getBoundingClientRect();if(t.width||t.height)return[Sn[e](i).top+n,r]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){en.off(this._scrollElement,Ps),super.dispose()}_getConfig(t){return t={...js,...Sn.getDataAttributes(this._element),..."object"===typeof t&&t?t:{}},t.target=xe(t.target)||document.documentElement,Ae(Ns,t,ks),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];this._activeTarget!==t&&this._activate(t)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let e=this._offsets.length;e--;){const n=this._activeTarget!==this._targets[e]&&t>=this._offsets[e]&&("undefined"===typeof this._offsets[e+1]||t<this._offsets[e+1]);n&&this._activate(this._targets[e])}}}_activate(t){this._activeTarget=t,this._clear();const e=Us.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),n=On.findOne(e.join(","),this._config.target);n.classList.add(Ts),n.classList.contains(Fs)?On.findOne(Hs,n.closest(zs)).classList.add(Ts):On.parents(n,Ds).forEac
7h(t=>{On.prev(t,`${Bs}, ${qs}`).forEach(t=>t.classList.add(Ts)),On.prev(t,Rs).forEach(t=>{On.children(t,Bs).forEach(t=>t.classList.add(Ts))})}),en.trigger(this._scrollElement,Cs,{relatedTarget:t})}_clear(){On.find(Us,this._config.target).filter(t=>t.classList.contains(Ts)).forEach(t=>t.classList.remove(Ts))}static jQueryInterface(t){return this.each((function(){const e=Gs.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}en.on(window,Is,()=>{On.find(Ms).forEach(t=>new Gs(t))}),Ie(Gs);const $s="tab",Ys="bs.tab",Xs="."+Ys,Js=".data-api",Ks="hide"+Xs,Qs="hidden"+Xs,Zs="show"+Xs,ta="shown"+Xs,ea=`click${Xs}${Js}`,na="dropdown-menu",ra="active",ia="fade",oa="show",sa=".dropdown",aa=".nav, .list-group",ca=".active",la=":scope > li > .active",ua='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',fa=".dropdown-toggle",ha=":scope > .dropdown-menu .active";class da extends sn{static get NAME(){return $s}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(ra))return;let t;const e=be(this._element),n=this._element.closest(aa);if(n){const e="UL"===n.nodeName||"OL"===n.nodeName?la:ca;t=On.find(e,n),t=t[t.length-1]}const r=t?en.trigger(t,Ks,{relatedTarget:this._element}):null,i=en.trigger(this._element,Zs,{relatedTarget:t});if(i.defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,n);const o=()=>{en.trigger(t,Qs,{relatedTarget:this._element}),en.trigger(this._element,ta,{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(t,e,n){const r=!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?On.children(e,ca):On.find(la,e),i=r[0],o=n&&i&&i.classList.contains(ia),s=()=>this._transitionComplete(t,i,n);i&&o?(i.classList.remove(oa),this._queueCallback(s,t,!0)):s()}_transitionComplete(t,e,n){if(e){e.classList.remove(ra);const t=On.findOne(ha,e.parentNode);t&&t.classList.remove(ra),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(ra),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),Oe(t),t.classList.contains(ia)&&t.classList.add(oa);let r=t.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&r.classList.contains(na)){const e=t.closest(sa);e&&On.find(fa,e).forEach(t=>t.classList.add(ra)),t.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(t){return this.each((function(){const e=da.getOrCreateInstance(this);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}en.on(document,ea,ua,(function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Ne(this))return;const e=da.getOrCreateInstance(this);e.show()})),Ie(da);const pa="toast",ga="bs.toast",ma="."+ga,va="mouseover"+ma,ba="mouseout"+ma,ya="focusin"+ma,wa="focusout"+ma,_a="hide"+ma,xa="hidden"+ma,Aa="show"+ma,La="shown"+ma,Na="fade",Sa="hide",Pa="show",Oa="showing",ja={animation:"boolean",autohide:"boolean",delay:"number"},ka={animation:!0,autohide:!0,delay:5e3};class Ca extends sn{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return ja}static get Default(){return ka}static get NAME(){return pa}show(){const t=en.trigger(this._element,Aa);if(t.defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Na);const e=()=>{this._element.classList.remove(Oa),en.trigger(this._element,La),this._maybeScheduleHide()};this._element.classList.remove(Sa),Oe(this._element),this._element.classList.add(Pa),this._element.classList.add(Oa),this._queueCallback(e,this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Pa))return;const t=en.trigger(this._element,_a);if(t.defaultPrevented)return;const e=()=>{this._element.classList.add(Sa),this._element.classList.remove(Oa),this._element.classList.remove(Pa),en.trigger(this._element,xa)};this._element.classList.add(Oa),this._queueCallback(e,this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Pa)&&this._element.classList.remove(Pa),super.dispose()}_getConfig(t){return t={...ka,...Sn.getDataAttributes(this._element),..."object"===typeof t&&t?t:{}},Ae(pa,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e;break}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){en.on(this._element,va,t=>this._onInteraction(t,!0)),en.on(this._element,ba,t=>this._onInteraction(t,!1)),en.on(this._element,ya,t=>this._onInteraction(t,!0)),en.on(this._element,wa,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Ca.getOrCreateInstance(this,t);if("string"===typeof t){if("undefined"===typeof e[t])throw new TypeError(`No method n
7amed "${t}"`);e[t](this)}}))}}an(Ca),Ie(Ca)},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),s=n("7839"),a=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),f=">",h="<",d="prototype",p="script",g=u("IE_PROTO"),m=function(){},v=function(t){return h+p+f+t+h+"/"+p+f},b=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=l("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&r?b(r):y():b(r);var t=s.length;while(t--)delete w[d][s[t]];return w()};a[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[d]=i(t),n=new m,m[d]=null,n[g]=t):n=w(),void 0===e?n:o(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),s=n("d2bb"),a=n("d44e"),c=n("9112"),l=n("6eeb"),u=n("b622"),f=n("c430"),h=n("3f8c"),d=n("ae93"),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),v="keys",b="values",y="entries",w=function(){return this};t.exports=function(t,e,n,u,d,_,x){i(n,e,u);var A,L,N,S=function(t){if(t===d&&C)return C;if(!g&&t in j)return j[t];switch(t){case v:return function(){return new n(this,t)};case b:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",O=!1,j=t.prototype,k=j[m]||j["@@iterator"]||d&&j[d],C=!g&&k||S(d),E="Array"==e&&j.entries||k;if(E&&(A=o(E.call(new t)),A!==Object.prototype&&A.next&&(f||o(A)===p||(s?s(A,p):"function"!=typeof A[m]&&c(A,m,w)),a(A,P,!0,!0),f&&(h[P]=w))),d==b&&k&&k.name!==b&&(O=!0,C=function(){return k.call(this)}),f&&!x||j[m]===C||c(j,m,C),h[e]=C,d)if(L={values:S(b),keys:_?C:S(v),entries:S(y)},x)for(N in L)(g||O||!(N in j))&&l(j,N,L[N]);else r({target:e,proto:!0,forced:g||O},L);return L}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"857a":function(t,e,n){var r=n("1d80"),i=n("577e"),o=/"/g;t.exports=function(t,e,n,s){var a=i(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+i(s).replace(o,""")+'"'),c+">"+a+"</"+e+">"}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8baf":function(t,e,n){"use strict";(function(t){var r=n("7037"),i=n.n(r),o=n("72ba"),s=function(){return"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:this}();function a(){s.console&&"function"==typeof s.console.log&&s.console.log.apply(s.console,arguments)}var c={log:a,warn:function(t){s.console&&("function"==typeof s.console.warn?s.console.warn.apply(s.console,arguments):a.call(null,arguments))},error:function(t){s.console&&("function"==typeof s.console.error?s.console.error.apply(s.console,arguments):a(t))}};function l(t,e,n){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){p(r.response,e,n)},r.onerror=function(){c.error("could not download file")},r.send()}function u(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(n){var e=document.createEvent("MouseEvents");
vendor: 3,448 bytes, lines 7-13
7e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var h,d,p=s.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==s?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,e,n){var r=s.URL||s.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?u(i.href)?l(t,e,n):f(i,i.target="_blank"):f(i)):(i.href=r.createObjectURL(t),setTimeout((function(){r.revokeObjectURL(i.href)}),4e4),setTimeout((function(){f(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,n){if(e=e||t.name||"download","string"==typeof t)if(u(t))l(t,e,n);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout((function(){f(r)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!==i()(e)&&(c.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,n),e)}:function(t,e,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return l(t,e,n);var o="application/octet-stream"===t.type,a=/constructor/i.test(s.HTMLElement)||s.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&a)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var u=new FileReader;u.onloadend=function(){var t=u.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},u.readAsDataURL(t)}else{var f=s.URL||s.webkitURL,h=f.createObjectURL(t);r?r.location=h:location.href=h,r=null,setTimeout((function(){f.revokeObjectURL(h)}),4e4)}}); 8/** 9 * A class to parse color values 10 * @author Stoyan Stefanov <[email protected]> 11 * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} 12 * @license Use it if you like it 13 */function g(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
130",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 n=[{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)]}}],r=0;r<n.length;r++){var i=n[r].re,o=n[r].process,s=i.exec(t);
vendor: 6,610 bytes, lines 13-41
13s&&(e=o(s),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),n=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==n.length&&(n="0"+n),"#"+t+e+n 14/** 15 * @license 16 * Joseph Myers does not specify a particular license for his work. 17 * 18 * Author: Joseph Myers 19 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js 20 * 21 * Modified by: Owen Leong 22 */}}function m(t,e){var n=t[0],r=t[1],i=t[2],o=t[3];n=b(n,r,i,o,e[0],7,-680876936),o=b(o,n,r,i,e[1],12,-389564586),i=b(i,o,n,r,e[2],17,606105819),r=b(r,i,o,n,e[3],22,-1044525330),n=b(n,r,i,o,e[4],7,-176418897),o=b(o,n,r,i,e[5],12,1200080426),i=b(i,o,n,r,e[6],17,-1473231341),r=b(r,i,o,n,e[7],22,-45705983),n=b(n,r,i,o,e[8],7,1770035416),o=b(o,n,r,i,e[9],12,-1958414417),i=b(i,o,n,r,e[10],17,-42063),r=b(r,i,o,n,e[11],22,-1990404162),n=b(n,r,i,o,e[12],7,1804603682),o=b(o,n,r,i,e[13],12,-40341101),i=b(i,o,n,r,e[14],17,-1502002290),n=y(n,r=b(r,i,o,n,e[15],22,1236535329),i,o,e[1],5,-165796510),o=y(o,n,r,i,e[6],9,-1069501632),i=y(i,o,n,r,e[11],14,643717713),r=y(r,i,o,n,e[0],20,-373897302),n=y(n,r,i,o,e[5],5,-701558691),o=y(o,n,r,i,e[10],9,38016083),i=y(i,o,n,r,e[15],14,-660478335),r=y(r,i,o,n,e[4],20,-405537848),n=y(n,r,i,o,e[9],5,568446438),o=y(o,n,r,i,e[14],9,-1019803690),i=y(i,o,n,r,e[3],14,-187363961),r=y(r,i,o,n,e[8],20,1163531501),n=y(n,r,i,o,e[13],5,-1444681467),o=y(o,n,r,i,e[2],9,-51403784),i=y(i,o,n,r,e[7],14,1735328473),n=w(n,r=y(r,i,o,n,e[12],20,-1926607734),i,o,e[5],4,-378558),o=w(o,n,r,i,e[8],11,-2022574463),i=w(i,o,n,r,e[11],16,1839030562),r=w(r,i,o,n,e[14],23,-35309556),n=w(n,r,i,o,e[1],4,-1530992060),o=w(o,n,r,i,e[4],11,1272893353),i=w(i,o,n,r,e[7],16,-155497632),r=w(r,i,o,n,e[10],23,-1094730640),n=w(n,r,i,o,e[13],4,681279174),o=w(o,n,r,i,e[0],11,-358537222),i=w(i,o,n,r,e[3],16,-722521979),r=w(r,i,o,n,e[6],23,76029189),n=w(n,r,i,o,e[9],4,-640364487),o=w(o,n,r,i,e[12],11,-421815835),i=w(i,o,n,r,e[15],16,530742520),n=_(n,r=w(r,i,o,n,e[2],23,-995338651),i,o,e[0],6,-198630844),o=_(o,n,r,i,e[7],10,1126891415),i=_(i,o,n,r,e[14],15,-1416354905),r=_(r,i,o,n,e[5],21,-57434055),n=_(n,r,i,o,e[12],6,1700485571),o=_(o,n,r,i,e[3],10,-1894986606),i=_(i,o,n,r,e[10],15,-1051523),r=_(r,i,o,n,e[1],21,-2054922799),n=_(n,r,i,o,e[8],6,1873313359),o=_(o,n,r,i,e[15],10,-30611744),i=_(i,o,n,r,e[6],15,-1560198380),r=_(r,i,o,n,e[13],21,1309151649),n=_(n,r,i,o,e[4],6,-145523070),o=_(o,n,r,i,e[11],10,-1120210379),i=_(i,o,n,r,e[2],15,718787259),r=_(r,i,o,n,e[9],21,-343485551),t[0]=j(n,t[0]),t[1]=j(r,t[1]),t[2]=j(i,t[2]),t[3]=j(o,t[3])}function v(t,e,n,r,i,o){return e=j(j(e,t),j(r,o)),j(e<<i|e>>>32-i,n)}function b(t,e,n,r,i,o,s){return v(e&n|~e&r,t,e,i,o,s)}function y(t,e,n,r,i,o,s){return v(e&r|n&~r,t,e,i,o,s)}function w(t,e,n,r,i,o,s){return v(e^n^r,t,e,i,o,s)}function _(t,e,n,r,i,o,s){return v(n^(e|~r),t,e,i,o,s)}function x(t){var e,n=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)m(r,A(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(m(r,i),e=0;e<16;e++)i[e]=0;return i[14]=8*n,m(r,i),r}function A(t){var e,n=[];for(e=0;e<64;e+=4)n[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return n}h=s.atob.bind(s),d=s.btoa.bind(s);var L="0123456789abcdef".split("");function N(t){for(var e="",n=0;n<4;n++)e+=L[t>>8*n+4&15]+L[t>>8*n&15];return e}function S(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function P(t){return x(t).map(S).join("")}var O="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=N(t[e]);return t.join("")}(x("hello"));function j(t,e){if(O){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}return t+e&4294967295} 23/** 24 * @license 25 * FPDF is released under a permissive license: there is no usage restriction. 26 * You may embed it freely in your application (commercial or not), with or 27 * without modifications. 28 * 29 * Reference: http://www.fpdf.org/en/script/script37.php 30 */function k(t,e){var n,r,i,o;if(t!==n){for(var s=(i=t,o=1+(256/t.length>>0),new Array(o+1).join(i)),a=[],c=0;c<256;c++)a[c]=c;var l=0;for(c=0;c<256;c++){var u=a[c];l=(l+u+s.charCodeAt(c))%256,a[c]=a[l],a[l]=u}n=t,r=a}else a=r;var f=e.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(u=a[h=(h+1)%256]))%256,a[h]=a[d],a[d]=u,s=a[(a[h]+a[d])%256],p+=String.fromCharCode(e.charCodeAt(c)^s);return p} 31/** 32 * @license 33 * Licensed under the MIT License. 34 * http://opensource.org/licenses/mit-license 35 * Author: Owen Leong (@owenl131) 36 * Date: 15 Oct 2020 37 * References: 38 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt 39 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js 40 * http://www.fpdf.org/en/script/script37.php 41 */var C={print:4,modify:8,copy:16,"annot-forms":32};function E(t,e,n,r){this.v=1,this.r=2;var i=192;t.forEach((function(t){if(void 0!==C.perm)throw new Error("Invalid permission: "+t);i+=C[t]})),this.padding="(¿N^NuÂAd\0NVÿú�\b..\0¶Ãh>Â/\f©þdSiz";var o=(e+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,s),this.P=-(1+(255^i)),this.encryptionKey=P(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=k(this.encryptionKey,this.padding)}function I(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",n=t.length,r=0;r<n;r++){var i=t.charCodeAt(r);e+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):t[r]}return e}function F(t){if("object"!==i()(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,n,r){if(r=r||!1,"string"!=typeof t||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[n,!!r],i},this.unsubscribe=function(t){for(var n in e)if(e[n][t])return delete e[n][t],0===Object.keys(e[n]).length&&delete e[n],!0;return!1},this.publish=function(n){if(e.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1
vendor: 4,150 bytes, line 41
41),i=[];for(var o in e[n]){var a=e[n][o];try{a[0].apply(t,r)}catch(n){s.console&&c.error("jsPDF PubSub Error",n.message,n)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function T(t){if(!(this instanceof T))return new T(t);var e="opacity,stroke-opacity".split(",");for(var n in t)t.hasOwnProperty(n)&&e.indexOf(n)>=0&&(this[n]=t[n]);this.id="",this.objectNumber=-1}function M(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function D(t,e,n,r,i){if(!(this instanceof D))return new D(t,e,n,r,i);this.type="axial"===t?2:3,this.coords=e,this.colors=n,M.call(this,r,i)}function B(t,e,n,r,i){if(!(this instanceof B))return new B(t,e,n,r,i);this.boundingBox=t,this.xStep=e,this.yStep=n,this.stream="",this.cloneIndex=0,M.call(this,r,i)}function R(t){var e,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],o=arguments[2],a=arguments[3],l=[],u=1,f=16,h="S",m=null;"object"===i()(t=t||{})&&(n=t.orientation,r=t.unit||r,o=t.format||o,a=t.compress||t.compressPdf||a,null!==(m=t.encryption||null)&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),u="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(f=t.floatPrecision),h=t.defaultPathOperation||"S"),l=t.filters||(!0===a?["FlateEncode"]:l),r=r||"mm",n=(""+(n||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,b={},y={internal:{},__private__:{}};y.__private__.PubSub=F;var w="1.3",_=y.__private__.getPdfVersion=function(){return w};y.__private__.setPdfVersion=function(t){w=t};var x={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]};y.__private__.getPageFormats=function(){return x};var A=y.__private__.getPageFormat=function(t){return x[t]};o=o||"a4";var L={COMPAT:"compat",ADVANCED:"advanced"},N=L.COMPAT;function S(){this.saveGraphicsState(),ft(new Vt(St,0,0,-St,0,Rn()*St).toString()+" cm"),this.setFontSize(this.getFontSize()/St),h="n",N=L.ADVANCED}function P(){this.restoreGraphicsState(),h="S",N=L.COMPAT}var O=y.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};y.advancedAPI=function(t){var e=N===L.COMPAT;return e&&S.call(this),"function"!=typeof t||(t(this),e&&P.call(this)),this},y.compatAPI=function(t){var e=N===L.ADVANCED;return e&&P.call(this),"function"!=typeof t||(t(this),e&&S.call(this)),this},y.isAdvancedAPI=function(){return N===L.ADVANCED};var j,k=function(t){if(N!==L.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},C=y.roundToPrecision=y.__private__.roundToPrecision=function(t,n){var r=e||n;if(isNaN(t)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(r).replace(/0+$/,"")};j=y.hpf=y.__private__.hpf="number"==typeof f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return C(t,f)}:"smart"===f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return C(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to
41jsPDF.hpf");return C(t,16)};var M=y.f2=y.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return C(t,2)},q=y.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return C(t,3)},U=y.scale=y.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return N===L.COMPAT?t*St:N===L.ADVANCED?t:void 0},z=function(t){return N===L.COMPAT?Rn()-t:N===L.ADVANCED?t:void 0},H=function(t){return U(z(t))};y.__private__.setPrecision=y.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var W,V="00000000000000000000000000000000",G=y.__private__.getFileId=function(){return V},$=y.__private__.setFileId=function(t){return V=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():V.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==m&&($e=new E(m.userPermissions,m.userPassword,m.ownerPassword,V)),V};y.setFileId=function(t){return $(t),this},y.getFileId=function(){return G()};var Y=y.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),n=e<0?"+":"-",r=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),o=[n,Z(r),"'",Z(i),"'"].join("");return["D:",t.getFullYear(),Z(t.getMonth()+1),Z(t.getDate()),Z(t.getHours()),Z(t.getMinutes()),Z(t.getSeconds()),o].join("")},X=y.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),n=parseInt(t.substr(6,2),10)-1,r=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),o=parseInt(t.substr(12,2),10),s=parseInt(t.substr(14,2),10);return new Date(e,n,r,i,o,s,0)},J=y.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=Y(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 W=e},K=y.__private__.getCreationDate=function(t){var e=W;return"jsDate"===t&&(e=X(W)),e};y.setCreationDate=function(t){return J(t),this},y.getCreationDate=function(t){return K(t)};var Q,Z=y.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},tt=y.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},et=0,nt=[],rt=[],it=0,ot=[],st=[],at=!1,ct=rt,lt=function(){et=0,it=0,rt=[],nt=[],ot=[],Zt=Jt(),te=Jt()};y.__private__.setCustomOutputDestination=function(t){at=!0,ct=t};var ut=function(t){at||(ct=t)};y.__private__.resetCustomOutputDestination=function(){at=!1,ct=rt};var ft=y.__private__.out=function(t){return t=t.toString(),it+=t.length+1,ct.push(t),ct},ht=y.__private__.write=function(t){return ft(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},dt=y.__private__.getArrayBuffer=function(t){for(var e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n);e--;)r[e]=t.charCodeAt(e);return n},pt=[["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]];y.__private__.getStandardFonts=function(){return pt};var gt=t.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(t){return gt=N===L.ADVANCED?t/St:t,this};var mt,vt=y.__private__.getFontSize=y.getFontSize=function(){return N===L.COMPAT?gt:gt*St},bt=t.R2L||!1;y.__private__.setR2L=y.setR2L=function(t){return bt=t,this},y.__private__.getR2L=y.getR2L=function(){return bt};var yt,wt=y.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];
vendor: 5,854 bytes, line 41
41if(/^\d*\.?\d*%$/.test(t))mt=t;else if(isNaN(t)){if(-1===e.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.');mt=t}else mt=parseInt(t,10)};y.__private__.getZoomMode=function(){return mt};var _t,xt=y.__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.');yt=t};y.__private__.getPageMode=function(){return yt};var At=y.__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.');_t=t};y.__private__.getLayoutMode=function(){return _t},y.__private__.setDisplayMode=y.setDisplayMode=function(t,e,n){return wt(t),At(e),xt(n),this};var Lt={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(t){if(-1===Object.keys(Lt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Lt[t]},y.__private__.getDocumentProperties=function(){return Lt},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(t){for(var e in Lt)Lt.hasOwnProperty(e)&&t[e]&&(Lt[e]=t[e]);return this},y.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(Lt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Lt[t]=e};var Nt,St,Pt,Ot,jt,kt={},Ct={},Et=[],It={},Ft={},Tt={},Mt={},Dt=null,Bt=0,Rt=[],qt=new F(y),Ut=t.hotfixes||[],zt={},Ht={},Wt=[],Vt=function t(e,n,r,i,o,s){if(!(this instanceof t))return new t(e,n,r,i,o,s);isNaN(e)&&(e=1),isNaN(n)&&(n=0),isNaN(r)&&(r=0),isNaN(i)&&(i=1),isNaN(o)&&(o=0),isNaN(s)&&(s=0),this._matrix=[e,n,r,i,o,s]};Object.defineProperty(Vt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Vt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Vt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Vt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Vt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Vt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Vt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Vt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(j).join(t)},Vt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,n=t.sx*this.shy+t.shy*this.sy,r=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,o=t.tx*this.sx+t.ty*this.shx+this.tx,s=t.tx*this.shy+t.ty*this.sy+this.ty;return new Vt(e,n,r,i,o,s)},Vt.prototype.decompose=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,s=Math.sqrt(t*t+e*e),a=(t/=s)*n+(e/=s)*r;n-=t*a,r-=e*a;var c=Math.sqrt(n*n+r*r);return a/=c,t*(r/=c)<e*(n/=c)&&(t=-t,e=-e,a=-a,s=-s),{scale:new Vt(s,0,0,c,0,0),translate:new Vt(1,0,0,1,i,o),rotate:new Vt(t,e,-e,t,0,0),skew:new Vt(1,0,a,1,0,0)}},Vt.prototype.toString=function(t){return this.join(" ")},Vt.prototype.inversed=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,s=1/(t*r-e*n),a=r*s,c=-e*s,l=-n*s,u=t*s;return new Vt(a,c,l,u,-a*i-l*o,-c*i-u*o)},Vt.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,n=t.x*this.shy+t.y*this.sy+this.ty;return new Cn(e,n)},Vt.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),n=this.applyToPoint(new Cn(t.x+t.w,t.y+t.h));return new En(e.x,e.y,n.x-e.x,n.y-e.y)},Vt.prototype.clone=function(){var t=this.sx,e=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty;return new Vt(t,e,n,r,i,o)},y.Matrix=Vt;var Gt=y.matrixMult=function(t,e){return e.multiply(t)},$t=new Vt(1,0,0,1,0,0);y.unitMatrix=y.identityMatrix=$t;var Yt=function(t,e){if(!Ft[t]){var n=(e instanceof D?"Sh":"P")+(Object.keys(It).length+1).toString(10);e.id=n,Ft[t]=n,It[n]=e,qt.publish("addPattern",e)}};y.ShadingPattern=D,y.TilingPattern=B,y.addShadingPattern=function(t,e){return k("addShadingPattern()"),Yt(t,e),this},y.beginTilingPattern=function(t){k("beginTilingPattern()"),Fn(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},y.endTilingPattern=function(t,e){k("endTilingPattern()"),e.stream=st[Q].join("\n"),Yt(t,e),qt.publish("endTilingPattern",e),Wt.pop().restore(
vendor: 18,268 bytes, line 41
41)};var Xt=y.__private__.newObject=function(){var t=Jt();return Kt(t,!0),t},Jt=y.__private__.newObjectDeferred=function(){return et++,nt[et]=function(){return it},et},Kt=function(t,e){return e="boolean"==typeof e&&e,nt[t]=it,e&&ft(t+" 0 obj"),t},Qt=y.__private__.newAdditionalObject=function(){var t={objId:Jt(),content:""};return ot.push(t),t},Zt=Jt(),te=Jt(),ee=y.__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 n=parseFloat(e[0]);e=[n,n,n,"r"]}for(var r="#",i=0;i<3;i++)r+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return r},ne=y.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var n=t.ch1,r=t.ch2,o=t.ch3,s=t.ch4,a="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof n&&"#"!==n.charAt(0)){var c=new g(n);if(c.ok)n=c.toHex();else if(!/^\d*\.?\d*$/.test(n))throw new Error('Invalid color "'+n+'" passed to jsPDF.encodeColorString.')}if("string"==typeof n&&/^#[0-9A-Fa-f]{3}$/.test(n)&&(n="#"+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var l=parseInt(n.substr(1),16);n=l>>16&255,r=l>>8&255,o=255&l}if(void 0===r||void 0===s&&n===r&&r===o)if("string"==typeof n)e=n+" "+a[0];else switch(t.precision){case 2:e=M(n/255)+" "+a[0];break;case 3:default:e=q(n/255)+" "+a[0]}else if(void 0===s||"object"===i()(s)){if(s&&!isNaN(s.a)&&0===s.a)return["1.","1.","1.",a[1]].join(" ");if("string"==typeof n)e=[n,r,o,a[1]].join(" ");else switch(t.precision){case 2:e=[M(n/255),M(r/255),M(o/255),a[1]].join(" ");break;default:case 3:e=[q(n/255),q(r/255),q(o/255),a[1]].join(" ")}}else if("string"==typeof n)e=[n,r,o,s,a[2]].join(" ");else switch(t.precision){case 2:e=[M(n),M(r),M(o),M(s),a[2]].join(" ");break;case 3:default:e=[q(n),q(r),q(o),q(s),a[2]].join(" ")}return e},re=y.__private__.getFilters=function(){return l},ie=y.__private__.putStream=function(t){var e=(t=t||{}).data||"",n=t.filters||re(),r=t.alreadyAppliedFilters||[],i=t.addLength1||!1,o=e.length,s=t.objectId,a=function(t){return t};if(null!==m&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==m&&(a=$e.encryptor(s,0));var c={};!0===n&&(n=["FlateEncode"]);var l=t.additionalKeyValues||[],u=(c=void 0!==R.API.processDataByFilters?R.API.processDataByFilters(e,n):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===i&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[f].value),l[f].value="["+h.join(" ")+"]"}}ft("<<");for(var p=0;p<l.length;p++)ft("/"+l[p].key+" "+l[p].value);ft(">>"),0!==c.data.length&&(ft("stream"),ft(a(c.data)),ft("endstream"))},oe=y.__private__.putPage=function(t){var e=t.number,n=t.data,r=t.objId,i=t.contentsObjId;Kt(r,!0),ft("<</Type /Page"),ft("/Parent "+t.rootDictionaryObjId+" 0 R"),ft("/Resources "+t.resourceDictionaryObjId+" 0 R"),ft("/MediaBox ["+parseFloat(j(t.mediaBox.bottomLeftX))+" "+parseFloat(j(t.mediaBox.bottomLeftY))+" "+j(t.mediaBox.topRightX)+" "+j(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&ft("/CropBox ["+j(t.cropBox.bottomLeftX)+" "+j(t.cropBox.bottomLeftY)+" "+j(t.cropBox.topRightX)+" "+j(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&ft("/BleedBox ["+j(t.bleedBox.bottomLeftX)+" "+j(t.bleedBox.bottomLeftY)+" "+j(t.bleedBox.topRightX)+" "+j(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&ft("/TrimBox ["+j(t.trimBox.bottomLeftX)+" "+j(t.trimBox.bottomLeftY)+" "+j(t.trimBox.topRightX)+" "+j(t.trimBox.topRightY)+"]"),null!==t.artBox&&ft("/ArtBox ["+j(t.artBox.bottomLeftX)+" "+j(t.artBox.bottomLeftY)+" "+j(t.artBox.topRightX)+" "+j(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&ft("/UserUnit "+t.userUnit),qt.publish("putPage",{objId:r,pageContext:Rt[e],pageNumber:e,page:n}),ft("/Contents "+i+" 0 R"),ft(">>"),ft("endobj");var o=n.join("\n");return N===L.ADVANCED&&(o+="\nQ"),Kt(i,!0),ie({data:o,filters:re(),objectId:i}),ft("endobj"),r},se=y.__private__.putPages=function(){var t,e,n=[];for(t=1;t<=Bt;t++)Rt[t].objId=Jt(),Rt[t].contentsObjId=Jt();for(t=1;t<=Bt;t++)n.push(oe({number:t,data:st[t],objId:Rt[t].objId,contentsObjId:Rt[t].contentsObjId,mediaBox:Rt[t].mediaBox,cropBox:Rt[t].cropBox,bleedBox:Rt[t].bleedBox,trimBox:Rt[t].trimBox,artBox:Rt[t].artBox,userUnit:Rt[t].userUnit,rootDictionaryObjId:Zt,resourceDictionaryObjId:te}));Kt(Zt,!0),ft("<</Type /Pages");var r="/Kids [";for(e=0;e<Bt;e++)r+=n[e]+" 0 R ";ft(r+"]"),ft("/Count "+Bt),ft(">>"),ft("endobj"),qt.publish("postPutPages")},ae=function(t){qt.publish("putFont",{font:t,out:ft,newObject:Xt,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=Xt(),ft("<<"),ft("/Type /Font"),ft("/BaseFont /"+I(t.postScriptName)),ft("/Subtype /Type1"),"string"==typeof t.encoding&&ft("/Encoding /"+t.encoding),ft("/FirstChar 32"),ft("/LastChar 255"),ft(">>"),ft("endobj"))},ce=function(){for(var t in kt)kt.hasOwnProperty(t)&&(!1===v||!0===v&&b.hasOwnProperty(t))&&ae(kt[t])},le=function(t){t.objectNumber=Xt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[j(t.x),j(t.y),j(t.x+t.width),j(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var n=t.pages[1].join("\n");ie({data:n,additionalKeyValues:e,objectId:t.objectNumber}),ft("endobj")},ue=function(){for(var t in zt)zt.hasOwnProperty(t)&&le(zt[t])},fe=function(t,e){var n,r=[],i=1/(e-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=t[0].offset){var o={offset:0,color:t[0].color};t.unshift(o)}if(1!=t[t.length-1].offset){var s={offset:1,color:t[t.length-1].color};t.push(s)}for(var a="",c=0,l=0;l<r.length;l++){for(n=r[l];n>t[c+1].offset;)c++;var u=t[c].offset,f=(n-u)/(t[c+1].offset-u),h=t[c].color,d=t[c+1].color;a+=tt(Math.round((1-f)*h[0]+f*d[0]).toString(16))+tt(Math.round((1-f)*h[1]+f*d[1]).toString(16))+tt(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return a.trim()},he=function(t,e){e||(e=21);var n=Xt(),r=fe(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),ft("endobj"),t.objectNumber=Xt(),ft("<< /ShadingType "+t.type),ft("/ColorSpace /DeviceRGB");var o="/Coords ["+j(parseFloat(t.coords[0]))+" "+j(parseFloat(t.coords[1]))+" ";2===t.type?o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3])):o+=j(parseFloat(t.coords[2]))+" "+j(parseFloat(t.coords[3]))+" "+j(parseFloat(t.coords[4]))+" "+j(parseFloat(t.coords[5])),ft(o+="]"),t.matrix&&ft("/Matrix ["+t.matrix.toString()+"]"),ft("/Function "+n+" 0 R"),ft("/Extend [true true]"),ft(">>"),ft("endobj")},de=function(t,e){var n=Jt(),r=Xt();e.push({resourcesOid:n,objectOid:r}),t.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(j).join(" ")+"]"}),i.push({key:"XStep",value:j(t.xStep)}),i.push({key:"YStep",value:j(t.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ft("endobj")},pe=function(t){var e;for(e in It)It.hasOwnProperty(e)&&(It[e]instanceof D?he(It[e]):It[e]instanceof B&&de(It[e],t))},ge=function(t){for(var e in t.objectNumber=Xt(),ft("<<"),t)switch(e){case"opacity":ft("/ca "+M(t[e]));break;case"stroke-opacity":ft("/CA "+M(t[e]))}ft(">>"),ft("endobj")},me=function(){var t;for(t in Tt)Tt.hasOwnProperty(t)&&ge(Tt[t])},ve=function(){for(var t in ft("/XObject <<"),zt)zt.hasOwnProperty(t)&&zt[t].objectNumber>=0&&ft("/"+t+" "+zt[t].objectNumber+" 0 R");qt.publish("putXobjectDict"),ft(">>")},be=function(){$e.oid=Xt(),ft("<<"),ft("/Filter /Standard"),ft("/V "+$e.v),ft("/R "+$e.r),ft("/U <"+$e.toHexString($e.U)+">"),ft("/O <"+$e.toHexString($e.O)+">"),ft("/P "+$e.P),ft(">>"),ft("endobj")},ye=function(){for(var t in ft("/Font <<"),kt)kt.hasOwnProperty(t)&&(!1===v||!0===v&&b.hasOwnProperty(t))&&ft("/"+t+" "+kt[t].objectNumber+" 0 R");ft(">>")},we=function(){if(Object.keys(It).length>0){for(var t in ft("/Shading <<"),It)It.hasOwnProperty(t)&&It[t]instanceof D&&It[t].objectNumber>=0&&ft("/"+t+" "+It[t].objectNumber+" 0 R");qt.publish("putShadingPatternDict"),ft(">>")}},_e=function(t){if(Object.keys(It).length>0){for(var e in ft("/Pattern <<"),It)It.hasOwnProperty(e)&&It[e]instanceof y.TilingPattern&&It[e].objectNumber>=0&&It[e].objectNumber<t&&ft("/"+e+" "+It[e].objectNumber+" 0 R");qt.publish("putTilingPatternDict"),ft(">>")}},xe=function(){if(Object.keys(Tt).length>0){var t;for(t in ft("/ExtGState <<"),Tt)Tt.hasOwnProperty(t)&&Tt[t].objectNumber>=0&&ft("/"+t+" "+Tt[t].objectNumber+" 0 R");qt.publish("putGStateDict"),ft(">>")}},Ae=function(t){Kt(t.resourcesOid,!0),ft("<<"),ft("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ye(),we(),_e(t.objectOid),xe(),ve(),ft(">>"),ft("endobj")},Le=function(){var t=[];ce(),me(),ue(),pe(t),qt.publish("putResources"),t.forEach(Ae),Ae({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),qt.publish("postPutResources")},Ne=function(){qt.publish("putAdditionalObjects");for(var t=0;t<ot.length;t++){var e=ot[t];Kt(e.objId,!0),ft(e.content),ft("endobj")}qt.publish("postPutAdditionalObjects")},Se=function(t){Ct[t.fontName]=Ct[t.fontName]||{},Ct[t.fontName][t.fontStyle]=t.id},Pe=function(t,e,n,r,i){var o={id:"F"+(Object.keys(kt).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return qt.publish("addFont",{font:o,instance:this}),kt[o.id]=o,Se(o),o.id},Oe=function(t){for(var e=0,n=pt.length;e<n;e++){var r=Pe.call(this,t[e][0],t[e][1],t[e][2],pt[e][3],!0);!1===v&&(b[r]=!0);var i=t[e][0].split("-");Se({id:r,fontName:i[0],fontStyle:i[1]||""})}qt.publish("addFonts",{fonts:kt,dictionary:Ct})},je=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 n="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!s.console)throw new Error(n);s.console.error(n,t),s.alert&&alert(n)}},t.foo.bar=t,t.foo},ke=function(t,e){var n,r,i,o,s,a,c,l,u;if(i=(e=e||{}).sourceEncoding||"Unicode",s=e.outputEncoding,(e.autoencode||s)&&kt[Nt].metadata&&kt[Nt].metadata[i]&&kt[Nt].metadata[i].encoding&&(o=kt[Nt].metadata[i].encoding,!s&&kt[Nt].encoding&&(s=kt[Nt].encoding),!s&&o.codePages&&(s=o.codePages[0]),"string"==typeof s&&(s=o[s]),s)){for(c=!1,a=[],n=0,r=t.length;n<r;n++)(l=s[t.charCodeAt(n)])?a.push(String.fromCharCode(l)):a.push(t[n]),a[n].charCodeAt(0)>>8&&(c=!0);t=a.join("")}for(n=t.length;void 0===c&&0!==n;)t.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return t;for(a=e.noBOM?[]:[254,255],n=0,r=t.length;n<r;n++){if((u=(l=t.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(u),a.push(l-(u<<8))}return String.fromCharCode.apply(void 0,a)},Ce=y.__private__.pdfEscape=y.pdfEscape=function(t,e){return ke(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ee=y.__private__.beginPage=function(t){st[++Bt]=[],Rt[Bt]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Te(Bt),ut(st[Q])},Ie=function(t,e){var r,i,s;switch(n=e||n,"string"==typeof t&&(r=A(t.toLowerCase()),Array.isArray(r)&&(i=r[0],s=r[1])),Array.isArray(t)&&(i=t[0]*St,s=t[1]*St),isNaN(i)&&(i=o[0],s=o[1]),(i>14400||s>14400)&&(c.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),s=Math.min(14400,s)),o=[i,s],n.substr(0,1)){case"l":s>i&&(o=[s,i]);break;case"p":i>s&&(o=[s,i])}Ee(o),pn(dn),ft(xn),0!==On&&ft(On+" J"),0!==jn&&ft(jn+" j"),qt.publish("addPage",{pageNumber:Bt})},Fe=function(t){t>0&&t<=Bt&&(st.splice(t,1),Rt.splice(t,1),Bt--,Q>Bt&&(Q=Bt),this.setPage(Q))},Te=function(t){t>0&&t<=Bt&&(Q=t)},Me=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return st.length-1},De=function(t,e,n){var r,i=void 0;return n=n||{},t=void 0!==t?t:kt[Nt].fontName,e=void 0!==e?e:kt[Nt].fontStyle,r=t.toLowerCase(),void 0!==Ct[r]&&void 0!==Ct[r][e]?i=Ct[r][e]:void 0!==Ct[t]&&void 0!==Ct[t][e]?i=Ct[t][e]:!1===n.disableWarning&&c.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Ct.times[e])&&(i=Ct.times.normal),i},Be=y.__private__.putInfo=function(){var t=Xt(),e=function(t){return t};for(var n in null!==m&&(e=$e.encryptor(t,0)),ft("<<"),ft("/Producer ("+Ce(e("jsPDF "+R.version))+")"),Lt)Lt.hasOwnProperty(n)&&Lt[n]&&ft("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+Ce(e(Lt[n]))+")");ft("/CreationDate ("+Ce(e(W))+")"),ft(">>"),ft("endobj")},Re=y.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Zt;switch(Xt(),ft("<<"),ft("/Type /Catalog"),ft("/Pages "+e+" 0 R"),mt||(mt="fullwidth"),mt){case"fullwidth":ft("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ft("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ft("/OpenAction [3 0 R /Fit]");break;case"original":ft("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+mt;"%"===n.substr(n.length-1)&&(mt=parseInt(mt)/100),"number"==typeof mt&&ft("/OpenAction [3 0 R /XYZ null null "+M(mt)+"]")}switch(_t||(_t="continuous"),_t){case"continuous":ft("/PageLayout /OneColumn");break;case"single":ft("/PageLayout /SinglePage");break;case"two":case"twoleft":ft("/PageLayout /TwoColumnLeft");break;case"tworight":ft("/PageLayout /TwoColumnRight")}yt&&ft("/PageMode /"+yt),qt.publish("putCatalog"),ft(">>"),ft("endobj")},qe=y.__private__.putTrailer=function(){ft("trailer"),ft("<<"),ft("/Size "+(et+1)),ft("/Root "+et+" 0 R"),ft("/Info "+(et-1)+" 0 R"),null!==m&&ft("/Encrypt "+$e.oid+" 0 R"),ft("/ID [ <"+V+"> <"+V+"> ]"),ft(">>")},Ue=y.__private__.putHeader=function(){ft("%PDF-"+w),ft("%ºÃˆ ")},ze=y.__private__.putXRef=function(){var t="0000000000";ft("xref"),ft("0 "+(et+1)),ft("0000000000 65535 f ");for(var e=1;e<=et;e++)"function"==typeof nt[e]?ft((t+nt[e]()).slice(-10)+" 00000 n "):void 0!==nt[e]?ft((t+nt[e]).slice(-10)+" 00000 n "):ft("0000000000 00000 n ")},He=y.__private__.buildDocument=function(){lt(),ut(rt),qt.publish("buildDocument"),Ue(),se(),Ne(),Le(),null!==m&&be(),Be(),Re();var t=it;return ze(),qe(),ft("startxref"),ft(""+t),ft("%%EOF"),ut(st[Q]),rt.join("\n")},We=y.__private__.getBlob=function(t){return new Blob([dt(t)],{type:"application/pdf"})},Ve=y.output=y.__private__.output=je((function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return He();case"save":y.save(e.filename);break;case"arraybuffer":return dt(He());case"blob":return We(He());case"bloburi":case"bloburl":if(void 0!==s.URL&&"function"==typeof s.URL.createObjectURL)return s.URL&&s.URL.createObjectURL(We(He()))||void 0;c.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=He();try{n=d(r)}catch(t){n=d(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+e.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var i='<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>",o=s.open();return null!==o&&o.document.write(i),o}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(s)){var a='<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>',l=s.open();if(null!==l){l.document.write(a);var u=this;l.document.documentElement.querySelector("#pdfViewer").onload=function(){l.document.title=e.filename,l.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(u.output("bloburl"))}}return l}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(s))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var f='<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(f),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}})),Ge=function(t){return!0===Array.isArray(Ut)&&Ut.indexOf(t)>-1};switch(r){case"pt":St=1;break;case"mm":St=72/25.4;break;case"cm":St=72/2.54;break;case"in":St=72;break;case"px":St=1==Ge("px_scaling")?.75:96/72;break;case"pc":case"em":St=12;break;case"ex":St=6;break;default:throw new Error("Invalid unit: "+r)}var $e=null;J(),$();var Ye=function(t){return null!==m?$e.encryptor(t,0):function(t){return t}},Xe=y.__private__.getPageInfo=y.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to
41jsPDF.getPageInfo");return{objId:Rt[t].objId,pageNumber:t,pageContext:Rt[t]}},Je=y.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in Rt)if(Rt[e].objId===t)break;return Xe(e)},Ke=y.__private__.getCurrentPageInfo=y.getCurrentPageInfo=function(){return{objId:Rt[Q].objId,pageNumber:Q,pageContext:Rt[Q]}};y.addPage=function(){return Ie.apply(this,arguments),this},y.setPage=function(){return Te.apply(this,arguments),ut.call(this,st[Q]),this},y.insertPage=function(t){return this.addPage(),this.movePage(Q,t),this},y.movePage=function(t,e){var n,r;if(t>e){n=st[t],r=Rt[t];for(var i=t;i>e;i--)st[i]=st[i-1],Rt[i]=Rt[i-1];st[e]=n,Rt[e]=r,this.setPage(e)}else if(t<e){n=st[t],r=Rt[t];for(var o=t;o<e;o++)st[o]=st[o+1],Rt[o]=Rt[o+1];st[e]=n,Rt[e]=r,this.setPage(e)}return this},y.deletePage=function(){return Fe.apply(this,arguments),this},y.__private__.text=y.text=function(t,e,n,r,o){var s,a,c,l,u,f,h,d,p=(r=r||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof n||Array.isArray(n))){var g=n;n=e,e=t,t=g}if(arguments[3]instanceof Vt==0?(c=arguments[4],l=arguments[5],"object"===i()(h=arguments[3])&&null!==h||("string"==typeof c&&(l=c,c=null),"string"==typeof h&&(l=h,h=null),"number"==typeof h&&(c=h,h=null),r={flags:h,angle:c,align:l})):(k("The transform parameter of text() with a Matrix value"),d=o),isNaN(e)||isNaN(n)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return p;var m="",v=!1,y="number"==typeof r.lineHeightFactor?r.lineHeightFactor:hn,w=p.internal.scaleFactor;function _(t){return t=t.split("\t").join(Array(r.TabLen||9).join(" ")),Ce(t,h)}function x(t){for(var e,n=t.concat(),r=[],i=n.length;i--;)"string"==typeof(e=n.shift())?r.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?r.push(e[0]):r.push([e[0],e[1],e[2]]);return r}function A(t,e){var n;if("string"==typeof t)n=e(t)[0];else if(Array.isArray(t)){for(var r,i,o=t.concat(),s=[],a=o.length;a--;)"string"==typeof(r=o.shift())?s.push(e(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(i=e(r[0],r[1],r[2]),s.push([i[0],i[1],i[2]]));n=s}return n}var S=!1,P=!0;if("string"==typeof t)S=!0;else if(Array.isArray(t)){var O=t.concat();a=[];for(var C,E=O.length;E--;)("string"!=typeof(C=O.shift())||Array.isArray(C)&&"string"!=typeof C[0])&&(P=!1);S=P}if(!1===S)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 I=gt/p.internal.scaleFactor,F=I*(hn-1);switch(r.baseline){case"bottom":n-=F;break;case"top":n+=I-F;break;case"hanging":n+=I-2*F;break;case"middle":n+=I/2-F}if((f=r.maxWidth||0)>0&&("string"==typeof t?t=p.splitTextToSize(t,f):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(p.splitTextToSize(e,f))}),[]))),s={text:t,x:e,y:n,options:r,mutex:{pdfEscape:Ce,activeFontKey:Nt,fonts:kt,activeFontSize:gt}},qt.publish("preProcessText",s),t=s.text,c=(r=s.options).angle,d instanceof Vt==0&&c&&"number"==typeof c){c*=Math.PI/180,0===r.rotationDirection&&(c=-c),N===L.ADVANCED&&(c=-c);var T=Math.cos(c),M=Math.sin(c);d=new Vt(T,M,-M,T,0,0)}else c&&c instanceof Vt&&(d=c);N!==L.ADVANCED||d||(d=$t),void 0!==(u=r.charSpace||Sn)&&(m+=j(U(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),r.lang;var D=-1,B=void 0!==r.renderingMode?r.renderingMode:r.stroke,R=p.internal.getCurrentPageInfo().pageContext;switch(B){case 0:case!1:case"fill":D=0;break;case 1:case!0:case"stroke":D=1;break;case 2:case"fillThenStroke":D=2;break;case 3:case"invisible":D=3;break;case 4:case"fillAndAddForClipping":D=4;break;case 5:case"strokeAndAddPathForClipping":D=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":D=6;break;case 7:case"addToPathForClipping":D=7}var q=void 0!==R.usedRenderingMode?R.usedRenderingMode:-1;-1!==D?m+=D+" Tr\n":-1!==q&&(m+="0 Tr\n"),-1!==D&&(R.usedRenderingMode=D),l=r.align||"left";var z,H=gt*y,W=p.internal.pageSize.getWidth(),V=kt[Nt];u=r.charSpace||Sn,f=r.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},r.flags);var G=[];if("[object Array]"===Object.prototype.toString.call(t)){var $;a=x(t),"left"!==l&&(z=a.map((function(t){return p.getStringUnitWidth(t,{font:V,charSpace:u,fontSize:gt,doKerning:!1})*gt/w})));var Y,X=0;
vendor: 4,401 bytes, line 41
41if("right"===l){e-=z[0],t=[],E=a.length;for(var J=0;J<E;J++)0===J?(Y=bn(e),$=yn(n)):(Y=U(X-z[J]),$=-H),t.push([a[J],Y,$]),X=z[J]}else if("center"===l){e-=z[0]/2,t=[],E=a.length;for(var K=0;K<E;K++)0===K?(Y=bn(e),$=yn(n)):(Y=U((X-z[K])/2),$=-H),t.push([a[K],Y,$]),X=z[K]}else if("left"===l){t=[],E=a.length;for(var Q=0;Q<E;Q++)t.push(a[Q])}else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],E=a.length,f=0!==f?f:W;for(var Z=0;Z<E;Z++)$=0===Z?yn(n):-H,Y=0===Z?bn(e):0,Z<E-1?G.push(j(U((f-z[Z])/(a[Z].split(" ").length-1)))):G.push(0),t.push([a[Z],Y,$])}}var tt="boolean"==typeof r.R2L?r.R2L:bt;!0===tt&&(t=A(t,(function(t,e,n){return[t.split("").reverse().join(""),e,n]}))),s={text:t,x:e,y:n,options:r,mutex:{pdfEscape:Ce,activeFontKey:Nt,fonts:kt,activeFontSize:gt}},qt.publish("postProcessText",s),t=s.text,v=s.mutex.isHex||!1;var et=kt[Nt].encoding;"WinAnsiEncoding"!==et&&"StandardEncoding"!==et||(t=A(t,(function(t,e,n){return[_(t),e,n]}))),a=x(t),t=[];for(var nt,rt,it,ot=0,st=1,at=Array.isArray(a[0])?st:ot,ct="",lt=function(t,e,n){var i="";return n instanceof Vt?(n="number"==typeof r.angle?Gt(n,new Vt(1,0,0,1,t,e)):Gt(new Vt(1,0,0,1,t,e),n),N===L.ADVANCED&&(n=Gt(new Vt(1,0,0,-1,0,0),n)),i=n.join(" ")+" Tm\n"):i=j(t)+" "+j(e)+" Td\n",i},ut=0;ut<a.length;ut++){switch(ct="",at){case st:it=(v?"<":"(")+a[ut][0]+(v?">":")"),nt=parseFloat(a[ut][1]),rt=parseFloat(a[ut][2]);break;case ot:it=(v?"<":"(")+a[ut]+(v?">":")"),nt=bn(e),rt=yn(n)}void 0!==G&&void 0!==G[ut]&&(ct=G[ut]+" Tw\n"),0===ut?t.push(ct+lt(nt,rt,d)+it):at===ot?t.push(ct+it):at===st&&t.push(ct+lt(nt,rt,d)+it)}t=at===ot?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var ht="BT\n/";return ht+=Nt+" "+gt+" Tf\n",ht+=j(gt*y)+" TL\n",ht+=Ln+"\n",ht+=m,ht+=t,ft(ht+="ET"),b[Nt]=!0,p};var Qe=y.__private__.clip=y.clip=function(t){return ft("evenodd"===t?"W*":"W"),this};y.clipEvenOdd=function(){return Qe("evenodd")},y.__private__.discardPath=y.discardPath=function(){return ft("n"),this};var Ze=y.__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};y.__private__.setDefaultPathOperation=y.setDefaultPathOperation=function(t){return Ze(t)&&(h=t),this};var tn=y.__private__.getStyle=y.getStyle=function(t){var e=h;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},en=y.close=function(){return ft("h"),this};y.stroke=function(){return ft("S"),this},y.fill=function(t){return nn("f",t),this},y.fillEvenOdd=function(t){return nn("f*",t),this},y.fillStroke=function(t){return nn("B",t),this},y.fillStrokeEvenOdd=function(t){return nn("B*",t),this};var nn=function(t,e){"object"===i()(e)?sn(e,t):ft(t)},rn=function(t){null===t||N===L.ADVANCED&&void 0===t||(t=tn(t),ft(t))};function on(t,e,n,r,i){var o=new B(e||this.boundingBox,n||this.xStep,r||this.yStep,this.gState,i||this.matrix);o.stream=this.stream;var s=t+"$$"+this.cloneIndex+++"$$";return Yt(s,o),o}var sn=function(t,e){var n=Ft[t.key],r=It[n];if(r instanceof D)ft("q"),ft(an(e)),r.gState&&y.setGState(r.gState),ft(t.matrix.toString()+" cm"),ft("/"+n+" sh"),ft("Q");else if(r instanceof B){var i=new Vt(1,0,0,-1,0,Rn());t.matrix&&(i=i.multiply(t.matrix||$t),n=on.call(r,t.key,t.boundingBox,t.xStep,t.yStep,i).id),ft("q"),ft("/Pattern cs"),ft("/"+n+" scn"),r.gState&&y.setGState(r.gState),ft(e),ft("Q")}},an=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"}},cn=y.moveTo=function(t,e){return ft(j(U(t))+" "+j(H(e))+" m"),this},ln=y.lineTo=function(t,e){return ft(j(U(t))+" "+j(H(e))+" l"),this},un=y.curveTo=function(t,e,n,r,i,o){return ft([j(U(t)),j(H(e)),j(U(n)),j(H(r)),j(U(i)),j(H(o)),"c"].join(" ")),this};y.__private__.line=y.line=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.line");return N===L.COMPAT?this.lines([[n-t,r-e]],t,e,[1,1],i||"S"):this.lines([[n-t,r-e]],t,e,[1,1]).stroke()},y.__private__.lines=y.lines=function(t,e,n,r,i,o){var s,a,c,l,u,f,h,d,p,g,m,v;if("number"==typeof t&&(v=n,n=e,e=t,t=v),r=r||[1,1],o=o||!1,isNaN(e)||isNaN(n)||!Array.isArray(t)||!Array.isArray(r)||!Ze(i)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to
41jsPDF.lines");for(cn(e,n),s=r[0],a=r[1],l=t.length,g=e,m=n,c=0;c<l;c++)2===(u=t[c]).length?(g=u[0]*s+g,m=u[1]*a+m,ln(g,m)):(f=u[0]*s+g,h=u[1]*a+m,d=u[2]*s+g,p=u[3]*a+m,g=u[4]*s+g,m=u[5]*a+m,un(f,h,d,p,g,m));return o&&en(),rn(i),this},y.path=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=n.c;switch(n.op){case"m":cn(r[0],r[1]);break;case"l":ln(r[0],r[1]);break;case"c":un.apply(this,r);break;case"h":en()}}return this},y.__private__.rect=y.rect=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.rect");return N===L.COMPAT&&(r=-r),ft([j(U(t)),j(H(e)),j(U(n)),j(U(r)),"re"].join(" ")),rn(i),this},y.__private__.triangle=y.triangle=function(t,e,n,r,i,o,s){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!Ze(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-t,r-e],[i-n,o-r],[t-i,e-o]],t,e,[1,1],s,!0),this},y.__private__.roundedRect=y.roundedRect=function(t,e,n,r,i,o,s){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o)||!Ze(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*n),o=Math.min(o,.5*r),this.lines([[n-2*i,0],[i*a,0,i,o-o*a,i,o],[0,r-2*o],[0,o*a,-i*a,o,-i,o],[2*i-n,0],[-i*a,0,-i,-o*a,-i,-o],[0,2*o-r],[0,-o*a,i*a,-o,i,-o]],t+i,e,[1,1],s,!0),this},y.__private__.ellipse=y.ellipse=function(t,e,n,r,i){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*n,s=4/3*(Math.SQRT2-1)*r;return cn(t+n,e),un(t+n,e-s,t+o,e-r,t,e-r),un(t-o,e-r,t-n,e-s,t-n,e),un(t-n,e+s,t-o,e+r,t,e+r),un(t+o,e+r,t+n,e+s,t+n,e),rn(i),this},y.__private__.circle=y.circle=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||!Ze(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,n,n,r)},y.setFont=function(t,e,n){return n&&(e=O(e,n)),Nt=De(t,e,{disableWarning:!1}),this};var fn=y.__private__.getFont=y.getFont=function(){return kt[De.apply(y,arguments)]};y.__private__.getFontList=y.getFontList=function(){var t,e,n={};for(t in Ct)if(Ct.hasOwnProperty(t))for(e in n[t]=[],Ct[t])Ct[t].hasOwnProperty(e)&&n[t].push(e);return n},y.addFont=function(t,e,n,r,i){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(n=O(n,r)),i=i||"Identity-H",Pe.call(this,t,e,n,i)};var hn,dn=t.lineWidth||.200025,pn=y.__private__.setLineWidth=y.setLineWidth=function(t){return ft(j(U(t))+" w"),this};y.__private__.setLineDash=R.API.setLineDash=R.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 j(U(t))})).join(" "),e=j(U(e)),ft("["+t+"] "+e+" d"),this};var gn=y.__private__.getLineHeight=y.getLineHeight=function(){return gt*hn};y.__private__.getLineHeight=y.getLineHeight=function(){return gt*hn};var mn=y.__private__.setLineHeightFactor=y.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(hn=t),this},vn=y.__private__.getLineHeightFactor=y.getLineHeightFactor=function(){return hn};mn(t.lineHeight);var bn=y.__private__.getHorizontalCoordinate=function(t){return U(t)},yn=y.__private__.getVerticalCoordinate=function(t){return N===L.ADVANCED?t:Rt[Q].mediaBox.topRightY-Rt[Q].mediaBox.bottomLeftY-U(t)},wn=y.__private__.getHorizontalCoordinateString=y.getHorizontalCoordinateString=function(t){return j(bn(t))},_n=y.__private__.getVerticalCoordinateString=y.getVerticalCoordinateString=function(t){return j(yn(t))},xn=t.strokeColor||"0 G";y.__private__.getStrokeColor=y.getDrawColor=function(){return ee(xn)},y.__private__.setStrokeColor=y.setDrawColor=function(t,e,n,r){return xn=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),ft(xn),this};var An=t.fillColor||"0 g";y.__private__.getFillColor=y.getFillColor=function(){return ee(An)},y.__private__.setFillColor=y.setFillColor=function(t,e,n,r){return An=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),ft(An),this};var Ln=t.textColor||"0 g",Nn=y.__private__.getTextColor=y.getTextColor=function(){return ee(Ln)};y.__private__.setTextColor=y.setTextColor=function(t,e,n,r){return Ln=ne({ch1:t,ch2:e,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this};var Sn=t.charSpace,Pn=y.__private__.getCharSpace=y.getCharSpace=function(){return parseFloat(Sn||0)};y.__private__.setCharSpace=y.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to
41jsPDF.setCharSpace");return Sn=t,this};var On=0;y.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},y.__private__.setLineCap=y.setLineCap=function(t){var e=y.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 On=e,ft(e+" J"),this};var jn=0;y.__private__.setLineJoin=y.setLineJoin=function(t){var e=y.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 jn=e,ft(e+" j"),this},y.__private__.setLineMiterLimit=y.__private__.setMiterLimit=y.setLineMiterLimit=y.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ft(j(U(t))+" M"),this},y.GState=T,y.setGState=function(t){(t="string"==typeof t?Tt[Mt[t]]:kn(null,t)).equals(Dt)||(ft("/"+t.id+" gs"),Dt=t)};var kn=function(t,e){if(!t||!Mt[t]){var n=!1;for(var r in Tt)if(Tt.hasOwnProperty(r)&&Tt[r].equals(e)){n=!0;break}if(n)e=Tt[r];else{var i="GS"+(Object.keys(Tt).length+1).toString(10);Tt[i]=e,e.id=i}return t&&(Mt[t]=e.id),qt.publish("addGState",e),e}};y.addGState=function(t,e){return kn(t,e),this},y.saveGraphicsState=function(){return ft("q"),Et.push({key:Nt,size:gt,color:Ln}),this},y.restoreGraphicsState=function(){ft("Q");var t=Et.pop();return Nt=t.key,gt=t.size,Ln=t.color,Dt=null,this},y.setCurrentTransformationMatrix=function(t){return ft(t.toString()+" cm"),this},y.comment=function(t){return ft("#"+t),this};var Cn=function(t,e){var n=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var r=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},En=function(t,e,n,r){Cn.call(this,t,e),this.type="rect";var i=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var o=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(t){isNaN(t)||(o=parseFloat(t))}}),this},In=function(){this.page=Bt,this.currentPage=Q,this.pages=st.slice(0),this.pagesContext=Rt.slice(0),this.x=Pt,this.y=Ot,this.matrix=jt,this.width=Dn(Q),this.height=Rn(Q),this.outputDestination=ct,this.id="",this.objectNumber=-1};In.prototype.restore=function(){Bt=this.page,Q=this.currentPage,Rt=this.pagesContext,st=this.pages,Pt=this.x,Ot=this.y,jt=this.matrix,Bn(Q,this.width),qn(Q,this.height),ct=this.outputDestination};var Fn=function(t,e,n,r,i){Wt.push(new In),Bt=Q=0,st=[],Pt=t,Ot=e,jt=i,Ee([n,r])},Tn=function(t){if(Ht[t])Wt.pop().restore();else{var e=new In,n="Xo"+(Object.keys(zt).length+1).toString(10);e.id=n,Ht[t]=n,zt[n]=e,qt.publish("addFormObject",e),Wt.pop().restore()}};for(var Mn in y.beginFormObject=function(t,e,n,r,i){return Fn(t,e,n,r,i),this},y.endFormObject=function(t){return Tn(t),this},y.doFormObject=function(t,e){var n=zt[Ht[t]];return ft("q"),ft(e.toString()+" cm"),ft("/"+n.id+" Do"),ft("Q"),this},y.getFormObject=function(t){var e=zt[Ht[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},y.save=function(t,e){return t=t||"generated.pdf",(e=e||{}).returnPromise=e.returnPromise||!1,!1===e.returnPromise?(p(We(He()),t),"function"==typeof p.unload&&s.setTimeout&&setTimeout(p.unload,911),this):new Promise((function(e,n){try{var r=p(We(He()),t);"function"==typeof p.unload&&s.setTimeout&&setTimeout(p.unload,911),e(r)}catch(t){n(t.message)}}))},R.API)R.API.hasOwnProperty(Mn)&&("events"===Mn&&R.API.events.length?function(t,e){var n,r,i;for(i=e.length-1;-1!==i;i--)n=e[i][0],r=e[i][1],t.subscribe.apply(t,[n].concat("function"==typeof r?[r]:r))}(qt,R.API.events):y[Mn]=R.API[Mn]);var Dn=y.getPageWidth=function(t){return(Rt[t=t||Q].mediaBox.topRightX-Rt[t].mediaBox.bottomLeftX)/St},Bn=y.setPageWidth=function(t,e){Rt[t].mediaBox.topRightX=e*St+Rt[t].mediaBox.bottomLeftX},Rn=y.getPageHeight=function(t){return(Rt[t=t||Q].mediaBox.topRightY-Rt[t].mediaBox.bottomLeftY)/St},qn=y.setPageHeight=function(t,e){Rt[t].mediaBox.topRightY=e*St+Rt[t].mediaBox.bottomLeftY};return y.internal={pdfEscape:Ce,getStyle:tn,getFont:fn,getFontSize:vt,getCharSpace:Pn,getTextColor:Nn,getLineHeight:gn,getLineHeightFactor:vn,write:ht,getHorizontalCoordinate:bn,getVerticalCoordinate:yn,getCoordinateString:wn,getVerticalCoordinateString:_n,collections:{},newObject:Xt,newAdditionalObject:Qt,newObjectDeferred:Jt,newObjectDeferredBegin:Kt,getFilters:re,putStream:ie,events:qt,scaleFactor:St,pageSize:{getWidth:function(){return Dn(Q)},setWidth:function(t){Bn(Q,t)},getHeight:function(){return Rn(Q)},setHeight:function(t){qn(Q,t)}},encryptionOptions:m,encryption:$e,getEncryptor:Ye,output:Ve,getNumberOfPages:Me,pages:st,out:ft,f2:M,f3:q,getPageInfo:Xe,getPageInfoByObjId:Je,getCurrentPageInfo:Ke,getPDFVersion:_,Point:Cn,Rectangle:En,Matrix:Vt,hasHotfix:Ge},Object.defineProperty(y.internal.pageSize,"width",{get:function(){return Dn(Q)},set:function(t){Bn(Q,t)},enumerable:!0,configurable:!0}),Object.defineProperty(y.internal.pageSize,"height",{get:function(){return Rn(Q)},set:function(t){qn(Q,t)},enumerable:!0,configurable:!0}),Oe.call(y,pt),Nt="F1",Ie(o,n),qt.publish("initialized"),y}E.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},E.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},E.prototype.hexToBytes=function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(String.fromCharCode(parseInt(t.substr(n,2),16)));return e.join("")},E.prototype.processOwnerPassword=function(t,e){return k(P(e).substr(0,5),t)},E.prototype.encryptor=function(t,e){var n=P(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return k(n,t)}},T.prototype.equals=function(t){var e,n="id,objectNumber,equals";if(!t||i()(t)!==i()(this))return!1;var r=0;for(e in this)if(!(n.indexOf(e)>
vendor: 9,194 bytes, line 41
41=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;r++}for(e in t)t.hasOwnProperty(e)&&n.indexOf(e)<0&&r--;return 0===r},R.API={events:[]},R.version="2.4.0";var q=R.API,U=1,z=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},H=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},W=function(t){return t.toFixed(2)},V=function(t){return t.toFixed(5)};q.__acroform__={};var G=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},$=function(t){return t*U},Y=function(t){var e=new ht,n=St.internal.getHeight(t)||0,r=St.internal.getWidth(t)||0;return e.BBox=[0,0,Number(W(r)),Number(W(n))],e},X=q.__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},J=q.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<e)},K=q.__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},Q=q.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return K(t,e-1)},Z=q.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return X(t,e-1)},tt=q.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return J(t,e-1)},et=q.__acroform__.calculateCoordinates=function(t,e){var n=e.internal.getHorizontalCoordinate,r=e.internal.getVerticalCoordinate,i=t[0],o=t[1],s=t[2],a=t[3],c={};return c.lowerLeft_X=n(i)||0,c.lowerLeft_Y=r(o+a)||0,c.upperRight_X=n(i+s)||0,c.upperRight_Y=r(o)||0,[Number(W(c.lowerLeft_X)),Number(W(c.lowerLeft_Y)),Number(W(c.upperRight_X)),Number(W(c.upperRight_Y))]},nt=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],n=t._V||t.DV,r=rt(t,n),i=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("/"+i+" "+W(r.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(r.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=Y(t);return o.scope=t.scope,o.stream=e.join("\n"),o}},rt=function(t,e){var n=0===t.fontSize?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),o=n,s=St.internal.getHeight(t)||0;s=s<0?-s:s;var a=St.internal.getWidth(t)||0;a=a<0?-a:a;var c=function(e,n,r){if(e+1<i.length){var o=n+" "+i[e+1];return it(o,t,r).width<=a-4}return!1};o++;t:for(;o>0;){e="",o--;var l,u,f=it("3",t,o).height,h=t.multiline?s-o:(s-f)/2,d=h+=2,p=0,g=0;if(o<=0){e="(...) Tj\n",e+="% Width of Text: "+it(e,t,o=12).width+", FieldWidth:"+a+"\n";break}var m="",v=0;for(var b in i)if(i.hasOwnProperty(b)){m=" "==(m+=i[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=c(y,m,o),_=b>=i.length-1;if(w&&!_){m+=" ";continue}if(w||_){if(_)g=y;else if(t.multiline&&(f+2)*(v+2)+2>s)continue t}else{if(!t.multiline)continue t;if((f+2)*(v+2)+2>s)continue t;g=y}for(var x="",A=p;A<=g;A++)x+=i[A]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=it(x,t,o).width,t.textAlign){case"right":l=a-u-2;break;case"center":l=(a-u)/2;break;case"left":default:l=2}e+=W(l)+" "+W(d)+" Td\n",e+="("+z(x)+") Tj\n",e+=-W(l)+" 0 Td\n",d=-(o+2),u=0,p=g+1,v++,m=""}break}return r.text=e,r.fontSize=o,r},it=function(t,e,n){var r=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:e.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},ot={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},st=function(t,e){var n={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===n.type&&t.object===n.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(n)},at=function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=n,o=t[n];e.internal.newObjectDeferredBegin(o.objId,!0),"object"===i()(o)&&"function"==typeof o.putStream&&o.putStream(),delete t[r]}},ct=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(pt.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(ot)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");U=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new dt,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 n in e)if(e.hasOwnProperty(n)){var r=e[n];r.objId=void 0,r.hasAnnotation&&st(r,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 n=!t;for(var r 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(r)){var o=t[r],s=[],a=o.Rect;if(o.Rect&&(o.Rect=et(o.Rect,e)),e.internal.newObjectDeferredBegin(o.objId,!0),o.DA=St.createDefaultAppearanceStream(o),"object"===i()(o)&&"function"==typeof o.getKeyValueListForStream&&(s=o.getKeyValueListForStream()),o.Rect=a,o.hasAppearanceStream&&!o.appearanceStreamContent){var c=nt(o);s.push({key:"AP",value:"<</N "+c+">>"}),e.internal.acroformPlugin.xForms.push(c)}if(o.appearanceStreamContent){var l="";for(var u in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(u)){var f=o.appearanceStreamContent[u];if(l+="/"+u+" ",l+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var r in f)if(f.hasOwnProperty(r)){var h=f[r];"function"==typeof h&&(h=h.call(e,o)),l+="/"+r+" "+h+" ",e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=f)&&(h=h.call(e,o)),l+="/"+r+" "+h,e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h);l+=">>"}s.push({key:"AP",value:"<<\n"+l+">>"})}e.internal.putStream({additionalKeyValues:s,objectId:o.objId}),e.internal.out("endobj")}n&&at(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},lt=q.__acroform__.arrayToPdfArray=function(t,e,n){var r=function(t){return t};if(Array.isArray(t)){for(var o="[",s=0;s<t.length;s++)switch(0!==s&&(o+=" "),i()(t[s])){case"boolean":case"number":case"object":o+=t[s].toString();break;case"string":"/"!==t[s].substr(0,1)?(void 0!==e&&n&&(r=n.internal.getEncryptor(e)),o+="("+z(r(t[s].toString()))+")"):o+=t[s].toString()}return o+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},ut=function(t,e,n){var r=function(t){return t};return void 0!==e&&n&&(r=n.internal.getEncryptor(e)),(t=t||"").toString(),"("+z(r(t))+")"},ft=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})};ft.prototype.toString=function(){return this.objId+" 0 R"},ft.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},ft.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 n in e)if(!1===Object.getOwnPropertyDescriptor(this,e[n]).configurable){var r=e[n],i=this[r];i&&(Array.isArray(i)?t.push({key:r,value:lt(i,this.objId,this.scope)}):i instanceof ft?(i.scope=this.scope,t.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:r,value:i}))}return t};
vendor: 3,314 bytes, line 41
41var ht=function(){ft.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}})};G(ht,ft);var dt=function(){ft.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)),"("+z(e(t))+")"}},set:function(e){t=e}})};G(dt,ft);var pt=function t(){ft.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(Q(e,3))},set:function(t){!0===Boolean(t)?this.F=Z(e,3):this.F=tt(e,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');n=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof xt)return;o="FieldObject"+t.FieldNum++}var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+z(e(o))+")"},set:function(t){o=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(t){o=t}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a}
vendor: 6,641 bytes, line 41
41,set:function(t){a=t}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===l?50/U:l},set:function(t){l=t}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(t){u=t}});var f="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!f||this instanceof xt||this instanceof Lt))return ut(f,this.objId,this.scope)},set:function(t){t=t.toString(),f=t}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof yt==0?ut(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof yt==0?"("===t.substr(0,1)?H(t.substr(1,t.length-2)):H(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof yt==1?H(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof yt==1?"/"+t:t}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof yt==0?ut(d,this.objId,this.scope):d},set:function(t){t=t.toString(),d=this instanceof yt==0?"("===t.substr(0,1)?H(t.substr(1,t.length-2)):H(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof yt==1?H(d.substr(1,d.length-1)):d},set:function(t){t=t.toString(),d=this instanceof yt==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 p,g=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return g},set:function(t){t=Boolean(t),g=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(p)return p},set:function(t){p=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,1):this.Ff=tt(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,2):this.Ff=tt(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,3):this.Ff=tt(this.Ff,3)}});var m=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==m)return m},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');m=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(m){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:m=2;break;case"center":case 1:m=1;break;case"left":case 0:default:m=0}}})};G(pt,ft);var gt=function(){pt.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 lt(e,this.objId,this.scope)},set:function(t){var n,r;r=[],"string"==typeof(n=t)&&(r=function(t,e,n){n||(n=1);for(var r,i=[];r=e.exec(t);)i.push(r[n]);return i}(n,/\((.*?)\)/g)),e=r}}),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,n){for(n=n||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,18):this.Ff=tt(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=Z(this.Ff,19):this.Ff=tt(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=Z(this.Ff,20),e.sort()):this.Ff=tt(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,22):this.Ff=tt(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,27):this.Ff=tt(this.Ff,27)}}),this.hasAppearanceStream=!1};G(gt,pt);var mt=function(){gt.call(this),this.fontName="helvetica",this.combo=!1};G(mt,gt);var vt=function(){mt.call(this),this.combo=!0};G(vt,mt);var bt=function(){vt.call(this),this.edit=!0};G(bt,vt);var yt=function(){pt.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,15):this.Ff=tt(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,16):this.Ff=tt(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,17):this.Ff=tt(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,26):this.Ff=tt(this.Ff,26)}});var t,e={};
vendor: 4,539 bytes, line 41
41Object.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 n,r=[];for(n in r.push("<<"),e)r.push("/"+n+" ("+z(t(e[n]))+")");return r.push(">>"),r.join("\n")}},set:function(t){"object"===i()(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}})};G(yt,pt);var wt=function(){yt.call(this),this.pushButton=!0};G(wt,yt);var _t=function(){yt.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:[]}})};G(_t,yt);var xt=function(){var t,e;pt.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 n,r={};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,n=[];for(e in n.push("<<"),r)n.push("/"+e+" ("+z(t(r[e]))+")");return n.push(">>"),n.join("\n")},set:function(t){"object"===i()(t)&&(r=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(t){"string"==typeof t&&(r.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=St.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};G(xt,pt),_t.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 n=this.Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n.optionName),n.caption=t.getCA()}},_t.prototype.createOption=function(t){var e=new xt;return e.Parent=this,e.optionName=t,this.Kids.push(e),Pt.call(this.scope,e),e};var At=function(){yt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=St.CheckBox.createAppearanceStream()};G(At,yt);var Lt=function(){pt.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,13):this.Ff=tt(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,21):this.Ff=tt(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,23):this.Ff=tt(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,24):this.Ff=tt(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,25):this.Ff=tt(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,26):this.Ff=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}})};G(Lt,pt);
vendor: 8,522 bytes, line 41
41var Nt=function(){Lt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Q(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=Z(this.Ff,14):this.Ff=tt(this.Ff,14)}}),this.password=!0};G(Nt,Lt);var St={CheckBox:{createAppearanceStream:function(){return{N:{On:St.CheckBox.YesNormal},D:{On:St.CheckBox.YesPushDown,Off:St.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=rt(t,t.caption);return n.push("0.749023 g"),n.push("0 0 "+W(St.internal.getWidth(t))+" "+W(St.internal.getHeight(t))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+W(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),e.stream=n.join("\n"),e},YesNormal:function(t){var e=Y(t);e.scope=t.scope;var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),i=[],o=St.internal.getHeight(t),s=St.internal.getWidth(t),a=rt(t,t.caption);return i.push("1 g"),i.push("0 0 "+W(s)+" "+W(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+W(s-1)+" "+W(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+W(a.fontSize)+" Tf "+r),i.push(a.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+W(St.internal.getWidth(t))+" "+W(St.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:St.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=St.RadioButton.Circle.YesNormal,e.D[t]=St.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=Y(t);e.scope=t.scope;var n=[],r=St.internal.getWidth(t)<=St.internal.getHeight(t)?St.internal.getWidth(t)/4:St.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=St.internal.Bezier_C,o=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+V(St.internal.getWidth(t)/2)+" "+V(St.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=[],r=St.internal.getWidth(t)<=St.internal.getHeight(t)?St.internal.getWidth(t)/4:St.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*St.internal.Bezier_C).toFixed(5)),s=Number((r*St.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+V(St.internal.getWidth(t)/2)+" "+V(St.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+V(St.internal.getWidth(t)/2)+" "+V(St.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),n.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),n.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),n.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=[],r=St.internal.getWidth(t)<=St.internal.getHeight(t)?St.internal.getWidth(t)/4:St.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*St.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+V(St.internal.getWidth(t)/2)+" "+V(St.internal.getHeight(t)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),n.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),n.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),n.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:St.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=St.RadioButton.Cross.YesNormal,e.D[t]=St.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=Y(t);e.scope=t.scope;var n=[],r=St.internal.calculateCross(t);return n.push("q"),n.push("1 1 "+W(St.internal.getWidth(t)-2)+" "+W(St.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(W(r.x1.x)+" "+W(r.x1.y)+" m"),n.push(W(r.x2.x)+" "+W(r.x2.y)+" l"),n.push(W(r.x4.x)+" "+W(r.x4.y)+" m"),n.push(W(r.x3.x)+" "+W(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=St.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+W(St.internal.getWidth(t))+" "+W(St.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+W(St.internal.getWidth(t)-2)+" "+W(St.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(W(n.x1.x)+" "+W(n.x1.y)+" m"),r.push(W(n.x2.x)+" "+W(n.x2.y)+" l"),r.push(W(n.x4.x)+" "+W(n.x4.y)+" m"),r.push(W(n.x3.x)+" "+W(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=Y(t);e.scope=t.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+W(St.internal.getWidth(t))+" "+W(St.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+n}};St.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=St.internal.getWidth(t),n=St.internal.getHeight(t),r=Math.min(e,n);return{x1:{x:(e-r)/2,y:(n-r)/2+r},x2:{x:(e-r)/2+r,y:(n-r)/2},x3:{x:(e-r)/2,y:(n-r)/2},x4:{x:(e-r)/2+r,y:(n-r)/2+r}}}},St.internal.getWidth=function(t){var e=0;return"object"===i()(t)&&(e=$(t.Rect[2])),e},St.internal.getHeight=function(t){var e=0;return"object"===i()(t)&&(e=$(t.Rect[3])),e};var Pt=q.addField=function(t){if(ct(this,t),!(t instanceof pt))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};q.AcroFormChoiceField=gt,q.AcroFormListBox=mt,q.AcroFormComboBox=vt,q.AcroFormEditBox=bt,q.AcroFormButton=yt,q.AcroFormPushButton=wt,q.AcroFormRadioButton=_t,q.AcroFormCheckBox=At,q.AcroFormTextField=Lt,q.AcroFormPasswordField=Nt,q.AcroFormAppearance=St,q.AcroForm={ChoiceField:gt,ListBox:mt,ComboBox:vt,EditBox:bt,Button:yt,PushButton:wt,RadioButton:_t,CheckBox:At,TextField:Lt,PasswordField:Nt,Appearance:St},R.AcroForm={ChoiceField:gt,ListBox:mt,ComboBox:vt,EditBox:bt,Button:yt,PushButton:wt,RadioButton:_t,CheckBox:At,TextField:Lt,PasswordField:Nt,Appearance:St};R.AcroForm;function Ot(t){return t.reduce((function(t,e,n){return t[e]=n,t}),{})}!function(t){t.__addimage__={};var e="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.__addimage__.getImageFileTypeByImageData=function(t,r){var i,o,s,a,c,l=e;if("RGBA"===(r=r||e)||void 0!==t.data&&t.data instanceof Uint8ClampedArray&&"height"in t&&"width"in t)return"RGBA";if(L(t))for(c in n)for(s=n[c],i=0;i<s.length;i+=1){for(a=!0,o=0;o<s[i].length;o+=1)if(void 0!==s[i][o]&&s[i][o]!==t[o]){a=!1;break}if(!0===a){l=c;break}}else for(c in n)for(s=n[c],i=0;i<s.length;i+=1){for(a=!0,o=0;o<s[i].length;o+=1)if(void 0!==s[i][o]&&s[i][o]!==t.charCodeAt(o)){a=!1;break}if(!0===a){l=c;break}}return l===e&&r!==e&&(l=r),l},o=function t(e){for(var n=this.internal.write,r=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}
vendor: 4,395 bytes, line 41
41),e.colorSpace===b.INDEXED?o.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]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===b.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var s="",a=0,c=e.transparency.length;a<c;a++)s+=e.transparency[a]+" "+e.transparency[a]+" ";o.push({key:"Mask",value:"["+s+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var l=void 0!==e.filter?["/"+e.filter]:void 0;if(r({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:e.objectId}),n("endobj"),"sMask"in e&&void 0!==e.sMask){var u="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:u,data:e.sMask};"filter"in e&&(f.filter=e.filter),t.call(this,f)}if(e.colorSpace===b.INDEXED){var h=this.internal.newObject();r({data:S(new Uint8Array(e.palette)),objectId:h}),n("endobj")}},s=function(){var t=this.internal.collections.addImage_images;for(var e in t)o.call(this,t[e])},a=function(){var t,e=this.internal.collections.addImage_images,n=this.internal.write;for(var r in e)n("/I"+(t=e[r]).index,t.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",a))},l=function(){var t=this.internal.collections.addImage_images;return c.call(this),t},u=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(e){return"function"==typeof t["process"+e.toUpperCase()]},d=function(t){return"object"===i()(t)&&1===t.nodeType},p=function(e,n){if("IMG"===e.nodeName&&e.hasAttribute("src")){var r=""+e.getAttribute("src");if(0===r.indexOf("data:image/"))return h(unescape(r).split("base64,").pop());var i=t.loadFile(r,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){if(0===e.width||0===e.height)throw new Error("Given canvas must have data. Canvas width: "+e.width+", height: "+e.height);var o;switch(n){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return h(e.toDataURL(o,1).split("base64,").pop())}},g=function(t){var e=this.internal.collections.addImage_images;if(e)for(var n in e)if(t===e[n].alias)return e[n]},m=function(t,e,n){return t||e||(t=-96,e=-96),t<0&&(t=-1*n.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*n.height*72/e/this.internal.scaleFactor),0===t&&(t=e*n.width/n.height),0===e&&(e=t*n.height/n.width),[t,e]},v=function(t,e,n,r,i,o){var s=m.call(this,n,r,i),a=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,u=l.call(this);if(n=s[0],r=s[1],u[i.index]=i,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(t){return t.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,a(t),c(e+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([a(n),"0","0",a(r),"0","0","cm"].join(" "))):this.internal.write([a(n),"0","0",a(r),a(t),c(e+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.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 y=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=t.__addimage__.sHashCode=function(t){var e,n,r=0;if("string"==typeof t)for(n=t.length,e=0;e<n;e++)r=(r<<5)-r+t.charCodeAt(e),r|=0;else if(L(t))for(n=t.byteLength/2,e=0;e<n;e++)r=(r<<5)-r+t[e],r|=0;return r}
vendor: 4,205 bytes, lines 41-49
41,_=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},x=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),n=null;if(2===e.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:e[1]})}return n},A=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return A()&&t instanceof ArrayBuffer};var L=t.__addimage__.isArrayBufferView=function(t){return A()&&"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)},N=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;r++)n[r]=t.charCodeAt(r);return n},S=t.__addimage__.arrayBufferToBinaryString=function(t){for(var e="",n=L(t)?t:new Uint8Array(t),r=0;r<n.length;r+=8192)e+=String.fromCharCode.apply(null,n.subarray(r,r+8192));return e};t.addImage=function(){var t,n,r,o,s,a,l,u,f;if("number"==typeof arguments[1]?(n=e,r=arguments[1],o=arguments[2],s=arguments[3],a=arguments[4],l=arguments[5],u=arguments[6],f=arguments[7]):(n=arguments[1],r=arguments[2],o=arguments[3],s=arguments[4],a=arguments[5],l=arguments[6],u=arguments[7],f=arguments[8]),"object"===i()(t=arguments[0])&&!d(t)&&"imageData"in t){var h=t;t=h.imageData,n=h.format||n||e,r=h.x||r||0,o=h.y||o||0,s=h.w||h.width||s,a=h.h||h.height||a,l=h.alias||l,u=h.compression||u,f=h.rotation||h.angle||f}var p=this.internal.getFilters();if(void 0===u&&-1!==p.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(o))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var g=P.call(this,t,n,l,u);return v.call(this,r,o,s,a,g,f),this};var P=function(n,i,o,s){var a,c,l;if("string"==typeof n&&r(n)===e){n=unescape(n);var h=O(n,!1);(""!==h||void 0!==(h=t.loadFile(n,!0)))&&(n=h)}if(d(n)&&(n=p(n,i)),i=r(n,i),!f(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(t){return"string"==typeof t||L(t)?w(t):L(t.data)?w(t.data):null}(n)),(a=g.call(this,o))||(A()&&(n instanceof Uint8Array||"RGBA"===i||(c=n,n=N(n))),a=this["process"+i.toUpperCase()](n,u.call(this),o,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:y.NONE}(s),c)),!a)throw new Error("An unknown error occurred whilst processing the image.");return a},O=t.__addimage__.convertBase64ToBinaryString=function(t,e){var n;e="boolean"!=typeof e||e;var r,i="";if("string"==typeof t){r=null!==(n=x(t))?n.data:t;try{i=h(r)}catch(t){if(e)throw _(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(n){var i,o,s="";if(d(n)&&(n=p(n)),"string"==typeof n&&r(n)===e&&(""===(s=O(n,!1))&&(s=t.loadFile(n)||""),n=s),o=r(n),!f(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!A()||n instanceof Uint8Array||(n=N(n)),!(i=this["process"+o.toUpperCase()](n)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=o,i}}(R.API), 42/** 43 * @license 44 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 45 * 46 * Licensed under the MIT License. 47 * http://opensource.org/licenses/mit-license 48 */ 49function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};R.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var n,r,i,o=this.internal.getCoordinateString,
vendor: 4,535 bytes, lines 49-57
49s=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(t.objId),c=t.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((n=c[u]).type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){n=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=n.title||"Note";i="<</Type /Annot /Subtype /Text "+(r="/Rect ["+o(n.bounds.x)+" "+s(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y)+"] ")+"/Contents ("+h(m(n.contents))+")",i+=" /Popup "+g.objId+" 0 R",i+=" /P "+a.objId+" 0 R",i+=" /T ("+h(m(v))+") >>",p.content=i;var b=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+o(n.bounds.x+30)+" "+s(n.bounds.y+n.bounds.h)+" "+o(n.bounds.x+n.bounds.w+30)+" "+s(n.bounds.y)+"] ")+" /Parent "+b,n.open&&(i+=" /Open true"),i+=" >>",g.content=i,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":r="/Rect ["+o(n.bounds.x)+" "+s(n.bounds.y)+" "+o(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+h(d(n.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(n.options.name){var w=this.annotations._nameMap[n.options.name];n.options.pageNumber=w.page,n.options.top=w.y}else n.options.top||(n.options.top=0);if(r="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",i="",n.options.url)i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(n.options.url))+") >>";else if(n.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,i+=" /FitV "+n.options.left+"]";break;case"XYZ":default:var _=s(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),i+=" /XYZ "+n.options.left+" "+_+" "+n.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.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)}},t.link=function(t,e,n,r,i){var o=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:s(t),y:a(e),w:s(t+n),h:a(e+r)},options:i,type:"link"})},t.textWithLink=function(t,e,n,r){var i=this.getTextWidth(t),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,n,r),n+=.2*o,"center"===r.align&&(e-=i/2),"right"===r.align&&(e-=i),this.link(e,n-o,i,o,r),i},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(R.API), 50/** 51 * @license 52 * Copyright (c) 2017 Aras Abbasi 53 * 54 * Licensed under the MIT License. 55 * http://opensource.org/licenses/mit-license 56 */ 57function(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,652
vendor: 10,984 bytes, lines 57-65
5766,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},s=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 s(t)&&o(t)&&e[t.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(t){return s(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return s(t)&&o(t)&&e[t.charCodeAt(0)].length>=1};var l=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return s(t)&&o(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return s(t)&&o(t)&&e[t.charCodeAt(0)].length>=3};var u=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return s(t)&&o(t)&&4==e[t.charCodeAt(0)].length},f=t.__arabicParser__.resolveLigatures=function(t){var e=0,r=n,i="",o=0;for(e=0;e<t.length;e+=1)void 0!==r[t.charCodeAt(e)]?(o++,"number"==typeof(r=r[t.charCodeAt(e)])&&(i+=String.fromCharCode(r),r=n,o=0),e===t.length-1&&(r=n,i+=t.charAt(e-(o-1)),e-=o-1,o=0)):(r=n,i+=t.charAt(e-o),e-=o,o=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==r[t.charCodeAt(0)]};var h=t.__arabicParser__.getCorrectForm=function(t,e,n){return s(t)?!1===o(t)?-1:!l(t)||!s(e)&&!s(n)||!s(n)&&a(e)||a(t)&&!s(e)||a(t)&&c(e)||a(t)&&a(e)?0:u(t)&&s(e)&&!a(e)&&s(n)&&l(n)?3:a(t)||!s(n)?1:2:-1},d=function(t){var n=0,r=0,i=0,o="",a="",c="",l=(t=t||"").split("\\s+"),u=[];for(n=0;n<l.length;n+=1){for(u.push(""),r=0;r<l[n].length;r+=1)o=l[n][r],a=l[n][r-1],c=l[n][r+1],s(o)?(i=h(o,a,c),u[n]+=-1!==i?String.fromCharCode(e[o.charCodeAt(0)][i]):o):u[n]+=o;u[n]=f(u[n])}return u.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,n=[];if(Array.isArray(e)){var r=0;for(n=[],r=0;r<e.length;r+=1)Array.isArray(e[r])?n.push([d(e[r][0]),e[r][1],e[r][2]]):n.push([d(e[r])]);t=n}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(R.API),R.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}, 58/** 59 * @license 60 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 61 * 62 * Licensed under the MIT License. 63 * http://opensource.org/licenses/mit-license 64 */ 65function(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 n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(t){n=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var n;if("2d"!==(t=t||"2d"))return null;for(n in e)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=e[n]);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}])}(R.API),function(t){var e={left:0,top:0,bottom:0,right:0},n=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=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 n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(t){o=t}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(t){s=t}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){r.call(this);var n=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),o=e.scaleFactor||this.internal.scaleFactor,s=0,a=0,c=0,l=this;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 u=e.maxWidth;u>0?"string"==typeof t?t=this.splitTextToSize(t,u):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(l.splitTextToSize(e,u))}),[])):t=Array.isArray(t)?t:[t];for(var f=0;f<t.length;f++)s<(c=this.getStringUnitWidth(t[f],{font:i})*n)&&(s=c);return 0!==s&&(a=t.length),{w:s/=o,h:Math.max((a*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/o,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new s(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=t.cell=function(){var t;t=arguments[0]instanceof s?arguments[0]:new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,a=this.internal.__cell__.margins||e,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===t.lineNumber?(t.x=(i.x||0)+(i.width||0),t.y=i.y||0):i.y+i.height+t.height+a.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=a.top,l&&c&&(this.printHeaderRow(t.lineNumber,!0),t.y+=c[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===n?"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,n,l,u,f){if(r.call(this),!l)throw new Error("No data for PDF table.");var h,d,p,g,m=[],v=[],b=[],y={},w={},_=[],x=[],A=(f=f||{}).autoSize||!1,L=!1!==f.printHeaders,N=f.css&&void 0!==f.css["font-size"]?16*f.css["font-size"]:f.fontSize||12,S=f.margins||Object.assign({width:this.getPageWidth()},e),P="number"==typeof f.padding?f.padding:3,O=f.headerBackgroundColor||"#c8c8c8",j=f.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=L,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=N,this.internal.__cell__.padding=P,this.internal.__cell__.headerBackgroundColor=O,this.internal.__cell__.headerTextColor=j,this.setFontSize(N),null==u)v=m=Object.keys(l[0]),b=m.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===i()(u[0]))for(m=u.map((function(t){return t.name})),v=u.map((function(t){return t.prompt||t.name||""})),b=u.map((function(t){return t.align||"left"})),h=0;h<u.length;h+=1)w[u[h].name]=u[h].width*(19.049976/25.4);else Array.isArray(u)&&"string"==typeof u[0]&&(v=m=u,b=m.map((function(){return"left"})));if(A||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<m.length;h+=1){for(y[g=m[h]]=l.map((function(t){return t[g]})),this.setFont(void 0,"bold"),_.push(this.getTextDimensions(v[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=y[g],this.setFont(void 0,"normal"),p=0;p<d.length;p+=1)_.push(this.getTextDimensions(d[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);w[g]=Math.max.apply(null,_)+P+P,_=[]}if(L){var k={};for(h=0;h<m.length;h+=1)k[m[h]]={},k[m[h]].text=v[h],k[m[h]].align=b[h];var C=c.call(this,k,w);x=m.map((function(e){return new s(t,n,w[e],C,k[e].text,void 0,k[e].align)})),this.setTableHeaderRow(x),this.printHeaderRow(1,!1)}var E=u.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(h=0;h<l.length;
vendor: 5,610 bytes, line 65
65h+=1){"rowStart"in f&&f.rowStart instanceof Function&&f.rowStart({row:h,data:l[h]},this);var I=c.call(this,l[h],w);for(p=0;p<m.length;p+=1){var F=l[h][m[p]];"cellStart"in f&&f.cellStart instanceof Function&&f.cellStart({row:h,col:p,data:F},this),a.call(this,new s(t,n,w[m[p]],I,F,h+2,E[m[p]]))}}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=n,this};var c=function(t,e){var n=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map((function(r){var i=t[r];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[r]-n-n)}),this).map((function(t){return this.getLineHeightFactor()*t.length*r/i+n+n}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){r.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(n=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1){i=this.internal.__cell__.tableHeaderRow[l].clone(),e&&(i.y=this.internal.__cell__.margins.top||0,c.push(i)),i.lineNumber=t;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,i),this.setTextColor(u)}c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),n=!1}}(R.API);var jt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},kt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ct=Ot(kt),Et=[100,200,300,400,500,600,700,800,900],It=Ot(Et);function Ft(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),n=function(t){return jt[t=t||"normal"]?t:"normal"}(t.style),r=function(t){if(!t)return 400;if("number"==typeof t)return t>=100&&t<=900&&t%100==0?t:400;if(/^\d00$/.test(t))return parseInt(t);switch(t){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(t){return"number"==typeof Ct[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:n,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,n,r].join(" ")}}}function Tt(t,e,n,r){var i;for(i=n;i>=0&&i<e.length;i+=r)if(t[e[i]])return t[e[i]];for(i=n;i>=0&&i<e.length;i-=r)if(t[e[i]])return t[e[i]]}var Mt={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Dt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Bt(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Rt(t,e,n){for(var r=(n=n||{}).defaultFontFamily||"times",i=Object.assign({},Mt,n.genericFontFamilies||{}),o=null,s=null,a=0;a<e.length;++a)if(i[(o=Ft(e[a])).family]&&(o.family=i[o.family]),t.hasOwnProperty(o.family)){s=t[o.family];break}if(!(s=s||t[r]))throw new Error("Could not find a font-family for the rule '"+Bt(o)+"' and default family '"+r+"'.");if(s=function(t,e){if(e[t])return e[t];var n=Ct[t],r=n<=Ct.normal?-1:1,i=Tt(e,kt,n,r);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(o.stretch,s),s=function(t,e){if(e[t])return e[t];for(var n=jt[t],r=0;r<n.length;++r)if(e[n[r]])return e[n[r]];throw new Error("Could not find a matching font-style for "+t)}(o.style,s),!(s=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var n=It[t],r=Tt(e,Et,n,t<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+t);return r}(o.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Bt(o)+"'.");return s}function qt(t){return t.trimLeft()}function Ut(t,e){for(var n=0;n<t.length;){if(t.charAt(n)===e)return[t.substring(0,n),t.substring(n+1)];n+=1}return null}function zt(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var Ht,Wt,Vt,Gt=["times"];!function(t){var e,n,r,o,s,a,l,u,f,h=function(t){return t=t||{},this.isStrokeTransparent=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 u,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new a,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new a,this.lineDashOffset=t.lineDashOffset||0,this.lineDash=t.lineDash||[],this.margin=t.margin||[0,0,0,0],this.prevPageLastElemOffset=t.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,
vendor: 1,139 bytes, line 65
65s=this.internal.getVerticalCoordinate,a=this.internal.Point,l=this.internal.Rectangle,u=this.internal.Matrix,f=new h}]);var d=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 n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(t){isNaN(t)||(o=t)}}),Object.defineProperty(this,"margin",{get:function(){return f.margin},set:function(t){var e;"number"==typeof t?e=[t,t,t,t]:((e=new Array(4))[0]=t[0],e[1]=t.length>=2?t[1]:e[0],e[2]=t.length>=3?t[2]:e[0],e[3]=t.length>=4?t[3]:e[1]),f.margin=e}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(t){s=t}});var a=0;Object.defineProperty(this,"lastBreak",{get:function(){return a}
vendor: 4,000 bytes, line 65
65,set:function(t){a=t}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(t){c=t}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(t){t instanceof h&&(f=t)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(t){f.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=p(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=p(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):(e.a,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)}});var u=null;function d(t,e){if(null===u){var n=function(t){var e=[];return Object.keys(t).forEach((function(n){t[n].forEach((function(t){var r=null;switch(t){case"bold":r={family:n,weight:"bold"};break;case"italic":r={family:n,style:"italic"};break;case"bolditalic":r={family:n,weight:"bold",style:"italic"};break;case"":case"normal":r={family:n}}null!==r&&(r.ref={name:n,style:t},e.push(r))}))})),e}(t.getFontList());u=function(t){for(var e={},n=0;n<t.length;++n){var r=Ft(t[n]),i=r.family,o=r.stretch,s=r.style,a=r.weight;e[i]=e[i]||{},e[i][o]=e[i][o]||{},e[i][o][s]=e[i][o][s]||{},e[i][o][s][a]=r}return e}(n.concat(e))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(t){u=null,g=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 n=e[1],r=(e[2],e[3]),i=e[4],o=(e[5],e[6]),s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===s?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var a=function(t){var e,n,r=[],i=t.trim();if(""===i)return Gt;if(i in Dt)return[Dt[i]];for(;""!==i;){switch(n=null,e=(i=qt(i)).charAt(0)){case'"':case"'":n=Ut(i.substring(1),e);break;default:n=zt(i)}if(null===n)return Gt;if(r.push(n[0]),""!==(i=qt(n[1]))&&","!==i.charAt(0))return Gt;i=i.replace(/^,/,"")}return r}(o);if(this.fontFaces){var c=Rt(d(this.pdf,this.fontFaces),a.map((function(t){return{family:t,stretch:"normal",weight:r,style:n}})));this.pdf.setFont(c.ref.name,c.ref.style)}
vendor: 4,250 bytes, line 65
65else{var l="";("bold"===r||parseInt(r,10)>=700||"bold"===n)&&(l="bold"),"italic"===n&&(l+="italic"),0===l.length&&(l="normal");for(var u="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<a.length;h++){if(void 0!==this.pdf.internal.getFont(a[h],l,{noFallback:!0,disableWarning:!0})){u=a[h];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(a[h],"bold",{noFallback:!0,disableWarning:!0}))u=a[h],l="bold";else if(void 0!==this.pdf.internal.getFont(a[h],"normal",{noFallback:!0,disableWarning:!0})){u=a[h],l="normal";break}}if(""===u)for(var p=0;p<a.length;p++)if(f[a[p]]){u=f[a[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),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,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(t){this.ctx.lineDashOffset=t,q.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(t){this.ctx.lineDash=t,q.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};d.prototype.setLineDash=function(t){this.lineDash=t},d.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},d.prototype.fill=function(){A.call(this,"fill",!1)},d.prototype.stroke=function(){A.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new a(t,e));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(t,e)},d.prototype.closePath=function(){var t=new a(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"===i()(this.path[e+1])&&"number"==typeof this.path[e+1].x){t=new a(this.path[e+1].x,this.path[e+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"===i()(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 a(t.x,t.y)},d.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new a(t,e));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new a(n.x,n.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),A.call(this,null,!0)},d.prototype.quadraticCurveTo=function(t,e,n,r){if(isNaN(n)||isNaN(r)||isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var i=this.ctx.transform.applyToPoint(new a(n,r)),o=this.ctx.transform.applyToPoint(new a(t,e));this.path.push({type:"qct",x1:o.x,y1:o.y,x:i.x,y:i.y}),this.ctx.lastPoint=new a(i.x,i.y)},d.prototype.bezierCurveTo=function(t,e,n,r,i,o){if(isNaN(i)||isNaN(o)||isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw c.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var s=this.ctx.transform.applyToPoint(new a(i,o)),l=this.ctx.transform.applyToPoint(new a(t,e)),u=this.ctx.transform.applyToPoint(new a(n,r));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:s.x,y:s.y}),this.ctx.lastPoint=new a(s.x,s.y)},d.prototype.arc=function(t,e,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i))throw c.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to
65jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var s=this.ctx.transform.applyToPoint(new a(t,e));t=s.x,e=s.y;var l=this.ctx.transform.applyToPoint(new a(0,n)),u=this.ctx.transform.applyToPoint(new a(0,0));n=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(i-r)>=2*Math.PI&&(r=0,i=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:n,startAngle:r,endAngle:i,counterclockwise:o})},d.prototype.arcTo=function(t,e,n,r,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw c.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.lineTo(t+n,e),this.lineTo(t,e)},d.prototype.fillRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw c.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!m.call(this)){var i={};"butt"!==this.lineCap&&(i.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(i.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,n,r),this.fill(),i.hasOwnProperty("lineCap")&&(this.lineCap=i.lineCap),i.hasOwnProperty("lineJoin")&&(this.lineJoin=i.lineJoin)}},d.prototype.strokeRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw c.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(t,e,n,r),this.stroke())},d.prototype.clearRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw c.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,n,r))},d.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},d.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+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,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(t){var e,n,r,i;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,n=0,r=0,i=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==o)e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(o[1]),n=parseInt(o[2]),r=parseInt(o[3]),i=parseFloat(o[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var s=new g(t);t=s.ok?s.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,n=t.substring(2,3),n+=n,r=t.substring(3,4),r+=r):(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7)),e=parseInt(e,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:e,g:n,b:r,a:i,style:t}},m=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},v=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw c.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to
65jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!m.call(this)){var i=D(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;C.call(this,{text:t,x:e,y:n,scale:o,angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.strokeText=function(t,e,n,r){if(isNaN(e)||isNaN(n)||"string"!=typeof t)throw c.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){r=isNaN(r)?void 0:r;var i=D(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;C.call(this,{text:t,x:e,y:n,scale:o,renderingMode:"stroke",angle:i,align:this.textAlign,maxWidth:r})}},d.prototype.measureText=function(t){if("string"!=typeof t)throw c.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,n=this.pdf.internal.scaleFactor,r=e.internal.getFontSize(),i=e.getStringUnitWidth(t)*r/e.internal.scaleFactor,o=function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this};return new o({width:i*=Math.round(96*n/72*1e4)/1e4})},d.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new u(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.rotate=function(t){if(isNaN(t))throw c.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new u(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},d.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw c.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new u(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(n)},d.prototype.transform=function(t,e,n,r,i,o){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r)||isNaN(i)||isNaN(o))throw c.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new u(t,e,n,r,i,o);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(t,e,n,r,i,o){t=isNaN(t)?1:t,e=isNaN(e)?0:e,n=isNaN(n)?0:n,r=isNaN(r)?1:r,i=isNaN(i)?0:i,o=isNaN(o)?0:o,this.ctx.transform=new u(t,e,n,r,i,o)};var b=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};d.prototype.drawImage=function(t,e,n,r,i,o,s,a,c){var f=this.pdf.getImageProperties(t),h=1,d=1,p=1,g=1;void 0!==r&&void 0!==a&&(p=a/r,g=c/i,h=f.width/r*a/r,d=f.height/i*c/i),void 0===o&&(o=e,s=n,e=0,n=0),void 0!==r&&void 0===a&&(a=r,c=i),void 0===r&&void 0===a&&(a=f.width,c=f.height);for(var m,v=this.ctx.transform.decompose(),w=D(v.rotate.shx),A=new u,N=(A=(A=(A=A.multiply(v.translate)).multiply(v.skew)).multiply(v.scale)).applyToRectangle(new l(o-e*p,s-n*g,r*h,i*d)),S=y.call(this,N),P=[],O=0;O<S.length;O+=1)-1===P.indexOf(S[O])&&P.push(S[O]);if(x(P),this.autoPaging)for(var j=P[0],k=P[P.length-1],C=j;C<k+1;C++){this.pdf.setPage(C);var E=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===C?this.posY+this.margin[0]:this.margin[0],F=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],T=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],M=1===C?0:F+(C-2)*T;if(0!==this.ctx.clip_path.length){var B=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(m,this.posX+this.margin[3],-M+I+this.ctx.prevPageLastElemOffset),L.call(this,"fill",!0),this.path=B}var R=JSON.parse(JSON.stringify(N));R=_([R],this.posX+this.margin[3],-M+I+this.ctx.prevPageLastElemOffset)[0];var q=(C>j||C<k)&&b.call(this);q&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],E,T,null).clip().discardPath()),this.pdf.addImage(t,"JPEG",R.x,R.y,R.w,R.h,null,null,w),q&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(t,"JPEG",N.x,N.y,N.w,N.h,null,null,w)};var y=function(t,e,n){var r=[];e=e||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var i=this.posY+this.ctx.prevPageLastElemOffset;switch(t.type){default:case"mt":case"lt":r.push(Math.floor((t.y+i)/n)+1);break;case"arc":r.push(Math.floor((t.y+i-t.radius)/n)+1),r.push(Math.floor((t.y+i+t.radius)/n)+1);break;case"qct":var o=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);r.push(Math.floor((o.y+i)/n)+1),r.push(Math.floor((o.y+o.h+i)/n)+1);break;case"bct":var s=R(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);r.push(Math.floor((s.y+i)/n)+1),r.push(Math.floor((s.y+s.h+i)/n)+1);break;
vendor: 6,096 bytes, line 65
65case"rect":r.push(Math.floor((t.y+i)/n)+1),r.push(Math.floor((t.y+t.h+i)/n)+1)}for(var a=0;a<r.length;a+=1)for(;this.pdf.internal.getNumberOfPages()<r[a];)w.call(this);return r},w=function(){var t=this.fillStyle,e=this.strokeStyle,n=this.font,r=this.lineCap,i=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=n,this.lineCap=r,this.lineWidth=i,this.lineJoin=o},_=function(t,e,n){for(var r=0;r<t.length;r++)switch(t[r].type){case"bct":t[r].x2+=e,t[r].y2+=n;case"qct":t[r].x1+=e,t[r].y1+=n;case"mt":case"lt":case"arc":default:t[r].x+=e,t[r].y+=n}return t},x=function(t){return t.sort((function(t,e){return t-e}))},A=function(t,e){for(var n,r,i=this.fillStyle,o=this.strokeStyle,s=this.lineCap,a=this.lineWidth,c=Math.abs(a*this.ctx.transform.scaleX),l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=y.call(this,f[d]),g=0;g<p.length;g+=1)-1===h.indexOf(p[g])&&h.push(p[g]);for(var m=0;m<h.length;m++)for(;this.pdf.internal.getNumberOfPages()<h[m];)w.call(this);if(x(h),this.autoPaging)for(var v=h[0],A=h[h.length-1],N=v;N<A+1;N++){this.pdf.setPage(N),this.fillStyle=i,this.strokeStyle=o,this.lineCap=s,this.lineWidth=c,this.lineJoin=l;var S=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],P=1===N?this.posY+this.margin[0]:this.margin[0],O=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],j=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],k=1===N?0:O+(N-2)*j;if(0!==this.ctx.clip_path.length){var C=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(n,this.posX+this.margin[3],-k+P+this.ctx.prevPageLastElemOffset),L.call(this,t,!0),this.path=C}if(r=JSON.parse(JSON.stringify(u)),this.path=_(r,this.posX+this.margin[3],-k+P+this.ctx.prevPageLastElemOffset),!1===e||0===N){var E=(N>v||N<A)&&b.call(this);E&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],S,j,null).clip().discardPath()),L.call(this,t,e),E&&this.pdf.restoreGraphicsState()}this.lineWidth=a}else this.lineWidth=c,L.call(this,t,e),this.lineWidth=a;this.path=u},L=function(t,e){if(("stroke"!==t||e||!v.call(this))&&("stroke"===t||e||!m.call(this))){for(var n,r,i=[],o=this.path,s=0;s<o.length;s++){var a=o[s];switch(a.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:a,deltas:[],abs:[]});break;case"lt":var c=i.length;if(!isNaN(o[s-1].x)&&(n=[a.x-o[s-1].x,a.y-o[s-1].y],c>0))for(;c>=0;c--)if(!0!==i[c-1].close&&!0!==i[c-1].begin){i[c-1].deltas.push(n),i[c-1].abs.push(a);break}break;case"bct":n=[a.x1-o[s-1].x,a.y1-o[s-1].y,a.x2-o[s-1].x,a.y2-o[s-1].y,a.x-o[s-1].x,a.y-o[s-1].y],i[i.length-1].deltas.push(n);break;case"qct":var l=o[s-1].x+2/3*(a.x1-o[s-1].x),u=o[s-1].y+2/3*(a.y1-o[s-1].y),f=a.x+2/3*(a.x1-a.x),h=a.y+2/3*(a.y1-a.y),d=a.x,p=a.y;n=[l-o[s-1].x,u-o[s-1].y,f-o[s-1].x,h-o[s-1].y,d-o[s-1].x,p-o[s-1].y],i[i.length-1].deltas.push(n);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(a)}}r=e?null:"stroke"===t?"stroke":"fill";for(var g=0;g<i.length;g++){if(i[g].arc){for(var b=i[g].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?P.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,e):E.call(this,w.x,w.y)}O.call(this,r),this.pdf.internal.out("h")}if(!i[g].arc&&!0!==i[g].close&&!0!==i[g].begin){var _=i[g].start.x,x=i[g].start.y;I.call(this,i[g].deltas,_,x)}}r&&O.call(this,r),e&&j.call(this)}},N=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-n;case"top":return t+e-n;case"hanging":return t+e-2*n;case"middle":return t+e/2-n;case"ideographic":return t;case"alphabetic":default:return t}},S=function(t){return t+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};d.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},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var P=function(t,e,n,r,i,o,s,a){for(var c=T.call(this,n,r,i,o),l=0;l<c.length;l++){var u=c[l];0===l&&k.call(this,u.x1+t,u.y1+e),F.call(this,t,e,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}a?j.call(this):O.call(this,s)},O=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},j=function(){this.pdf.clip(),this.pdf.discardPath()},k=function(t,e){this.pdf.internal.out(n(t)+" "+r(e)+" m")},C=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 n=this.pdf.getTextDimensions(t.text),r=N.call(this,t.y),i=S.call(this,r)-n.h,o=this.ctx.transform.applyToPoint(new a(t.x,r)),s=this.ctx.transform.decompose(),c=new u;c=(c=(c=c.multiply(s.translate)).multiply(s.skew)).multiply(s.scale);for(var f,h,d,p=this.ctx.transform.applyToRectangle(new l(t.x,r,n.w,n.h)),g=c.applyToRectangle(new l(t.x,i,n.w,n.h)),m=y.call(this,g),v=[],w=0;w<m.length;w+=1)-1===v.indexOf(m[w])&&v.push(m[w]);if(x(v),this.autoPaging)for(var A=v[0],P=v[v.length-1],O=A;O<P+1;O++){this.pdf.setPage(O);var j=1===O?this.posY+this.margin[0]:this.margin[0],k=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],C=this.pdf.internal.pageSize.height-this.margin[2],E=C-this.margin[0],I=this.pdf.internal.pageSize.width-this.margin[1],F=I-this.margin[3],T=1===O?0:k+(O-2)*E;if(0!==this.ctx.clip_path.length){var M=this.path;f=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=_(f,this.posX+this.margin[3],-1*T+j),L.call(this,"fill",!0),this.path=M}var D=_([JSON.parse(JSON.stringify(g))],this.posX+this.margin[3],-T+j+this.ctx.prevPageLastElemOffset)[0];t.scale>
vendor: 5,519 bytes, lines 65-83
65=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale);var B="text"!==this.autoPaging;if(B||D.y+D.h<=C){if(B||D.y>=j&&D.x<=I){var R=B?t.text:this.pdf.splitTextToSize(t.text,t.maxWidth||I-D.x)[0],q=_([JSON.parse(JSON.stringify(p))],this.posX+this.margin[3],-T+j+this.ctx.prevPageLastElemOffset)[0],U=B&&(O>A||O<P)&&b.call(this);U&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],F,E,null).clip().discardPath()),this.pdf.text(R,q.x,q.y,{angle:t.angle,align:e,renderingMode:t.renderingMode}),U&&this.pdf.restoreGraphicsState()}}else D.y<C&&(this.ctx.prevPageLastElemOffset+=C-D.y);t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)}else t.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*t.scale),d=this.lineWidth,this.lineWidth=d*t.scale),this.pdf.text(t.text,o.x+this.posX,o.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=d)},E=function(t,e,i,o){i=i||0,o=o||0,this.pdf.internal.out(n(t+i)+" "+r(e+o)+" l")},I=function(t,e,n){return this.pdf.lines(t,e,n,null,null)},F=function(t,n,r,i,a,c,l,u){this.pdf.internal.out([e(o(r+t)),e(s(i+n)),e(o(a+t)),e(s(c+n)),e(o(l+t)),e(s(u+n)),"c"].join(" "))},T=function(t,e,n,r){for(var i=2*Math.PI,o=Math.PI/2;e>n;)e-=i;var s=Math.abs(n-e);s<i&&r&&(s=i-s);for(var a=[],c=r?-1:1,l=e;s>1e-5;){var u=l+c*Math.min(s,o);a.push(M.call(this,t,l,u)),s-=Math.abs(u-l),l=u}return a},M=function(t,e,n){var r=(n-e)/2,i=t*Math.cos(r),o=t*Math.sin(r),s=i,a=-o,c=s*s+a*a,l=c+s*i+a*o,u=4/3*(Math.sqrt(2*c*l)-l)/(s*o-a*i),f=s-u*a,h=a+u*s,d=f,p=-h,g=r+e,m=Math.cos(g),v=Math.sin(g);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:t*Math.cos(n),y4:t*Math.sin(n)}},D=function(t){return 180*t/Math.PI},B=function(t,e,n,r,i,o){var s=t+.5*(n-t),a=e+.5*(r-e),c=i+.5*(n-i),u=o+.5*(r-o),f=Math.min(t,i,s,c),h=Math.max(t,i,s,c),d=Math.min(e,o,a,u),p=Math.max(e,o,a,u);return new l(f,d,h-f,p-d)},R=function(t,e,n,r,i,o,s,a){var c,u,f,h,d,p,g,m,v,b,y,w,_,x,A=n-t,L=r-e,N=i-n,S=o-r,P=s-i,O=a-o;for(u=0;u<41;u++)v=(g=(f=t+(c=u/40)*A)+c*((d=n+c*N)-f))+c*(d+c*(i+c*P-d)-g),b=(m=(h=e+c*L)+c*((p=r+c*S)-h))+c*(p+c*(o+c*O-p)-m),0==u?(y=v,w=b,_=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),_=Math.max(_,v),x=Math.max(x,b));return new l(Math.round(y),Math.round(w),Math.round(_-y),Math.round(x-w))},q=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var t,e,n=(t=this.ctx.lineDash,e=this.ctx.lineDashOffset,JSON.stringify({lineDash:t,lineDashOffset:e}));this.prevLineDash!==n&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=n)}}}(R.API), 66/** 67 * @license 68 * jsPDF filters PlugIn 69 * Copyright (c) 2014 Aras Abbasi 70 * 71 * Licensed under the MIT License. 72 * http://opensource.org/licenses/mit-license 73 */ 74function(t){var e=function(t){var e,n,r,i,o,s,a,c,l,u;for(/[^\x00-\xFF]/.test(t),n=[],r=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>r;r+=4)0!==(o=(t.charCodeAt(r)<<24)+(t.charCodeAt(r+1)<<16)+(t.charCodeAt(r+2)<<8)+t.charCodeAt(r+3))?(s=(o=((o=((o=((o=(o-(u=o%85))/85)-(l=o%85))/85)-(c=o%85))/85)-(a=o%85))/85)%85,n.push(s+33,a+33,c+33,l+33,u+33)):n.push(122);return function(t,e){for(var n=e;n>0;n--)t.pop()}(n,e.length),String.fromCharCode.apply(String,n)+"~>"},n=function(t){var e,n,r,i,o,s=String,a="length",c=255,l="charCodeAt",u="slice",f="replace";for(t[u](-2),t=t[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),r=[],i=0,o=(t+=e="uuuuu"[u](t[a]%5||5))[a];o>i;i+=5)n=52200625*(t[l](i)-33)+614125*(t[l](i+1)-33)+7225*(t[l](i+2)-33)+85*(t[l](i+3)-33)+(t[l](i+4)-33),r.push(c&n>>24,c&n>>16,c&n>>8,c&n);return function(t,e){for(var n=e;n>0;n--)t.pop()}(r,e[a]),s.fromCharCode.apply(s,r)},r=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 n="",r=0;r<t.length;r+=2)n+=String.fromCharCode("0x"+(t[r]+t[r+1]));return n},i=function(t){for(var e=new Uint8Array(t.length),n=t.length;n--;)e[n]=t.charCodeAt(n);return(e=Object(o["b"])(e)).reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,o){var s=0,a=t||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),s=0;s<o.length;s+=1)switch(o[s]){case"ASCII85Decode":case"/ASCII85Decode":a=n(a),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=e(a),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=r(a),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=a.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[s]+'" is not implemented')}return{data:a,reverseChain:c.reverse().join(" ")}}}(R.API), 75/** 76 * @license 77 * jsPDF fileloading PlugIn 78 * Copyright (c) 2018 Aras Abbasi ([email protected]) 79 * 80 * Licensed under the MIT License. 81 * http://opensource.org/licenses/mit-license 82 */ 83function(t){t.loadFile=function(t,e,n){return function(t,e,n){e=!1!==e,n="function"==typeof n?n:function(){};var r=void 0;try{r=function(t,e,n){var r=new XMLHttpRequest,i=0,o=function(t){var e=t.length,n=[],r=String.fromCharCode;for(i=0;i<e;i+=1)n.push(r(255&t.charCodeAt(i)));return n.join("")};if(r.open("GET",t,!e),r.overrideMimeType("text/plain;
83 charset=x-user-defined"),!1===e&&(r.onload=function(){200===r.status?n(o(this.responseText)):n(void 0)}),r.send(null),e&&200===r.status)return o(r.responseText)}(t,e,n)}catch(t){}return r}(t,e,n)},t.loadImageFile=t.loadFile}(R.API),function(t){function e(){return(s.html2canvas?Promise.resolve(s.html2canvas):n.e("chunk-2d216257").then(n.t.bind(null,"c0e9",7))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function r(){return(s.DOMPurify?Promise.resolve(s.DOMPurify):n.e("chunk-2d216214").then(n.t.bind(null,"c0c4",7))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var o=function(t){var e=i()(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"},a=function(t,e){var n=document.createElement(t);for(var r in e.className&&(n.className=e.className),e.innerHTML&&e.dompurify&&(n.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)n.style[r]=e.style[r];return n},c=function t(e){var n=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),r=t.convert(Promise.resolve(),n);return(r=r.setProgress(1,t,1,[t])).set(e)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(t,e){return t.__proto__=e||c.prototype,t},c.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"}},c.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(o(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(r).then((function(e){return this.set({src:a("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.")}}))},c.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.")}},c.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:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=function t(e,n){for(var r=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;i=i.nextSibling)!0!==n&&1===i.nodeType&&"SCRIPT"===i.nodeName||r.appendChild(t(i,n));return 1===e.nodeType&&("CANVAS"===e.nodeName?(r.width=e.width,r.height=e.height,r.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(r.value=e.value),r.addEventListener("load",(function(){r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft}),!0)),r}(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=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(a("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"}))},c.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).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)}))},c.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(e).then((function(t){var e=this.opt.jsPDF,n=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,i=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete i.onrendered,e.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.margin=this.opt.margin,e.context2d.fontFaces=n,n)for(var o=0;o<n.length;++o){var s=n[o],a=s.src.find((function(t){return"truetype"===t.format}));a&&e.addFont(a.url,s.ref.name,s.ref.style)}
vendor: 21,931 bytes, lines 83-150
83return i.windowHeight=i.windowHeight||0,i.windowHeight=0==i.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):i.windowHeight,t(this.prop.container,i)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},c.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}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(t,e,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},c.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},c.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.'}}))},c.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)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(t){if("object"!==o(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in c.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)}))},c.prototype.get=function(t,e){return this.then((function(){var n=t in c.template.prop?this.prop[t]:this.opt[t];return e?e(n):n}))},c.prototype.setMargin=function(t){return this.then((function(){switch(o(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)},c.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||R.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}))},c.prototype.setProgress=function(t,e,n,r){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(t,e,n,r){return this.setProgress(t?this.progress.val+t:null,e||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},c.prototype.then=function(t,e){var n=this;return this.thenCore(t,e,(function(t,e){return n.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return n.updateProgress(null,t),e})).then(t,e).then((function(t){return n.updateProgress(1),t}))}))},c.prototype.thenCore=function(t,e,n){n=n||Promise.prototype.then,t&&(t=t.bind(this)),e&&(e=e.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),i=n.call(r,t,e);return c.convert(i,this.__proto__)},c.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},c.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},c.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return c.convert(e,this)},c.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},c.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,R.getPageSize=function(t,e,n){if("object"===i()(t)){var r=t;t=r.orientation,e=r.unit||e,n=r.format||n}e=e||"mm",n=n||"a4",t=(""+(t||"P")).toLowerCase();var o,s=(""+n).toLowerCase(),a={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":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":o=6;break;default:throw"Invalid unit: "+e}var c,l=0,u=0;if(a.hasOwnProperty(s))l=a[s][1]/o,u=a[s][0]/o;else try{l=n[1],u=n[0]}catch(f){throw new Error("Invalid format: "+n)}if("p"===t||"portrait"===t)t="p",u>l&&(c=u,u=l,l=c);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",l>u&&(c=u,u=l,l=c)}return{width:u,height:l,unit:e,k:o,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,e.fontFaces=e.fontFaces?e.fontFaces.map(Ft):null;var n=new c(e);return e.worker?n:n.from(t).doCallback()}}(R.API),R.API.addJS=function(t){return Vt=t,this.internal.events.subscribe("postPutResources",(function(){Ht=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ht+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Wt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Vt+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Ht&&void 0!==Wt&&this.internal.out("/Names <</JavaScript "+Ht+" 0 R>>")})),this 84/** 85 * @license 86 * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected] 87 * 88 * Licensed under the MIT License. 89 * http://opensource.org/licenses/mit-license 90 */},function(t){var e;t.events.push(["postPutResources",function(){var t=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=t.outline.render().split(/\r\n/),i=0;i<r.length;i++){var o=r[i],s=n.exec(o);if(null!=s){var a=s[1];t.internal.newObjectDeferredBegin(a,!1)}t.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(i=0;i<c;i++){var u=t.internal.newObject();l.push(u);var f=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<l.length;i++)t.internal.write("(page_"+(i+1)+")"+l[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+h+" 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,n){var r={title:e,options:n,children:[]};return null==t&&(t=this.root),t.children.push(r),r},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 n=0;n<e.children.length;n++)this.genIds_r(e.children[n])},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 n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<e.children.length;r++){var i=e.children[r];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),r>0&&this.line("/Prev "+this.makeRef(e.children[r-1])),r<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var o=this.count=this.count_r({count:0},i);if(o>0&&this.line("/Count "+o),i.options&&i.options.pageNumber){var s=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var a=0;a<e.children.length;a++)this.renderItems(e.children[a])},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 n=0;n<e.children.length;n++)t.count++,this.count_r(t,e.children[n]);return t.count}}])}(R.API), 91/** 92 * @license 93 * 94 * Licensed under the MIT License. 95 * http://opensource.org/licenses/mit-license 96 */ 97function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,n,r,i,o,s){var a,c=this.decode.DCT_DECODE,l=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=o||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(a=function(t){for(var n,r=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,o={width:0,height:0,numcomponents:1},s=4;s<i;s+=2){if(s+=r,-1!==e.indexOf(t.charCodeAt(s+1))){n=256*t.charCodeAt(s+5)+t.charCodeAt(s+6),o={width:256*t.charCodeAt(s+7)+t.charCodeAt(s+8),height:n,numcomponents:t.charCodeAt(s+9)};break}r=256*t.charCodeAt(s+2)+t.charCodeAt(s+3)}return o}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}l={data:t,width:a.width,height:a.height,colorSpace:s,bitsPerComponent:8,filter:c,index:n,alias:r}}return l}}(R.API);var $t,Yt,Xt,Jt,Kt,Qt=function(){var t,e,n;function r(t){var e,n,r,i,o,s,a,c,l,u,f,h,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},s=null;;){switch(e=this.readUInt32(),l=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":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,s.delay=1e3*o/i,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,e-=4),t=(null!=s?s.data:void 0)||this.imgData,h=0;0<=e?h<e:h>e;0<=e?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if((u=r-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)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":a=(f=this.read(e)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,a)),this.text[c]=String.fromCharCode.apply(String,f.slice(a+1));break;case"IEND":return s&&this.animation.frames.push(s),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,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")}}r.prototype.read=function(t){var e,n;for(n=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*e),r=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function s(o,s,a,c){var l,u,f,h,d,p,g,m,v,b,y,w,_,x,A,L,N,S,P,O,j,k=Math.ceil((i.width-o)/a),C=Math.ceil((i.height-s)/c),E=i.width==k&&i.height==C;for(x=e*k,w=E?n:new Uint8Array(x*C),p=t.length,_=0,u=0;_<C&&r<p;){switch(t[r++]){case 0:for(h=N=0;N<x;h=N+=1)w[u++]=t[r++];break;case 1:for(h=S=0;S<x;h=S+=1)l=t[r++],d=h<e?0:w[u-e],w[u++]=(l+d)%256;break;case 2:for(h=P=0;P<x;h=P+=1)l=t[r++],f=(h-h%e)/e,A=_&&w[(_-1)*x+f*e+h%e],w[u++]=(A+l)%256;break;case 3:for(h=O=0;O<x;h=O+=1)l=t[r++],f=(h-h%e)/e,d=h<e?0:w[u-e],A=_&&w[(_-1)*x+f*e+h%e],w[u++]=(l+Math.floor((d+A)/2))%256;break;case 4:for(h=j=0;j<x;h=j+=1)l=t[r++],f=(h-h%e)/e,d=h<e?0:w[u-e],0===_?A=L=0:(A=w[(_-1)*x+f*e+h%e],L=f&&w[(_-1)*x+(f-1)*e+h%e]),g=d+A-L,m=Math.abs(g-d),b=Math.abs(g-A),y=Math.abs(g-L),v=m<=b&&m<=y?d:b<=y?A:L,w[u++]=(l+v)%256;break;default:throw new Error("Invalid filter algorithm: "+t[r-1])}if(!E){var I=((s+_*c)*i.width+o)*e,F=_*x;for(h=0;h<k;h+=1){for(var T=0;T<e;T+=1)n[I++]=w[F++];I+=(a-1)*e}}_++}}return t=Object(o["a"])(t),1==i.interlaceMethod?(s(0,0,8,8),s(4,0,8,8),s(0,4,4,8),s(2,0,4,4),s(0,2,2,4),s(1,0,2,2),s(0,1,1,2)):s(0,0,1,1),n},r.prototype.decodePalette=function(){var t,e,n,r,i,o,s,a,c;for(n=this.palette,o=this.transparency.indexed||[],i=new Uint8Array((o.length||0)+n.length),r=0,t=0,e=s=0,a=n.length;s<a;e=s+=3)i[r++]=n[e],i[r++]=n[e+1],i[r++]=n[e+2],i[r++]=null!=(c=o[t++])?c:255;return i},r.prototype.copyToImageData=function(t,e){var n,r,i,o,s,a,c,l,u,f,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),l=(i=t.data||t).length,s=u||e,o=a=0,1===r)for(;o<l;)c=u?4*e[o/4]:a,f=s[c++],i[o++]=f,i[o++]=f,i[o++]=f,i[o++]=n?s[c++]:255,a=c;else for(;o<l;)c=u?4*e[o/4]:a,i[o++]=s[c++],i[o++]=s[c++],i[o++]=s[c++],i[o++]=n?s[c++]:255,a=c},r.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var i=function(){if("[object Window]"===Object.prototype.toString.call(s)){try{e=s.document.createElement("canvas"),n=e.getContext("2d")}catch(t){return!1}return!0}return!1};return i(),t=function(t){var r;if(!0===i())return n.width=t.width,n.height=t.height,n.clearRect(0,0,t.width,t.height),n.putImageData(t,0,0),(r=new Image).src=e.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(e){var n,r,i,o,s,a,c,l;if(this.animation){for(l=[],r=s=0,a=(c=this.animation.frames).length;s<a;r=++s)n=c[r],i=e.createImageData(n.width,n.height),o=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(i,o),n.imageData=i,l.push(n.image=t(i));return l}},r.prototype.renderFrame=function(t,e){var n,r,i;return n=(r=this.animation.frames)[e],i=r[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===n.blendOp&&t.clearRect(n.xOffset,n.yOffset,n.width,n.height),t.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(t){var e,n,r,i,o,s,a=this;return n=0,s=this.animation,i=s.numFrames,r=s.frames,o=s.numPlays,(e=function(){var s,c;if(s=n++%i,c=r[s],a.renderFrame(t,s),i>1&&n/i<o)return a.animation._timeout=setTimeout(e,c.delay)})()},r.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},r.prototype.render=function(t){var e,n;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)):(n=e.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),e.putImageData(n,0,0))},r}(); 98/** 99 * @license 100 * 101 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb 102 * 103 * Permission is hereby granted, free of charge, to any person obtaining 104 * a copy of this software and associated documentation files (the 105 * "Software"), to deal in the Software without restriction, including 106 * without limitation the rights to use, copy, modify, merge, publish, 107 * distribute, sublicense, and/or sell copies of the Software, and to 108 * permit persons to whom the Software is furnished to do so, subject to 109 * the following conditions: 110 * 111 * The above copyright notice and this permission notice shall be 112 * included in all copies or substantial portions of the Software. 113 * 114 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 115 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 116 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 117 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 118 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 119 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 120 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 121 * ==================================================================== 122 */ 123/** 124 * @license 125 * (c) Dean McNamee <[email protected]>, 2013. 126 * 127 * https://github.com/deanm/omggif 128 * 129 * Permission is hereby granted, free of charge, to any person obtaining a copy 130 * of this software and associated documentation files (the "Software"), to 131 * deal in the Software without restriction, including without limitation the 132 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 133 * sell copies of the Software, and to permit persons to whom the Software is 134 * furnished to do so, subject to the following conditions: 135 * 136 * The above copyright notice and this permission notice shall be included in 137 * all copies or substantial portions of the Software. 138 * 139 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 140 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 141 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 142 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 143 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 144 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 145 * IN THE SOFTWARE. 146 * 147 * omggif is a JavaScript implementation of a GIF 89a encoder and decoder, 148 * including animation and compression. It does not rely on any specific 149 * underlying system, so should run in the browser, Node, or Plask. 150 */function Zt(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 n=t[e++]|t[e++]<<8,r=t[e++]|t[e++]<<8,i=t[e++],o=i>>7,s=1<<1+(7&i);t[e++],t[e++];var a=null,c=null;o&&(a=e,c=s,e+=3*s);var l=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=n,this.height=r;l&&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,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var g=t[e++];f=t[e++]|t[e++]<<8,h=t[e++],0==(1&g)&&(h=null),d=g>>2&7,e++;break;case 254:for(;;){if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;
vendor: 6,190 bytes, lines 150-182
150case 44:var m=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],_=w>>6&1,x=1<<1+(7&w),A=a,L=c,N=!1;w>>7&&(N=!0,A=e,L=x,e+=3*x);var S=e;for(e++;;){var P;if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}u.push({x:m,y:v,width:b,height:y,has_local_palette:N,palette_offset:A,palette_size:L,data_offset:S,data_length:e-S,transparent_index:h,interlaced:!!_,delay:f,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=u.length)throw new Error("Frame index out of range.");return u[t]},this.decodeAndBlitFrameBGRA=function(e,r){var i=this.frameInfo(e),o=i.width*i.height,s=new Uint8Array(o);te(t,i.data_offset,s,o);var a=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var l=i.width,u=n-l,f=l,h=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=h,g=4*u;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,b=s.length;v<b;++v){var y=s[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*n*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=t[a+3*y],_=t[a+3*y+1],x=t[a+3*y+2];r[p++]=x,r[p++]=_,r[p++]=w,r[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(e,r){var i=this.frameInfo(e),o=i.width*i.height,s=new Uint8Array(o);te(t,i.data_offset,s,o);var a=i.palette_offset,c=i.transparent_index;null===c&&(c=256);var l=i.width,u=n-l,f=l,h=4*(i.y*n+i.x),d=4*((i.y+i.height)*n+i.x),p=h,g=4*u;!0===i.interlaced&&(g+=4*n*7);for(var m=8,v=0,b=s.length;v<b;++v){var y=s[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*n*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=t[a+3*y],_=t[a+3*y+1],x=t[a+3*y+2];r[p++]=w,r[p++]=_,r[p++]=x,r[p++]=255}--f}}}function te(t,e,n,r){for(var i=t[e++],o=1<<i,s=o+1,a=s+1,l=i+1,u=(1<<l)-1,f=0,h=0,d=0,p=t[e++],g=new Int32Array(4096),m=null;;){for(;f<16&&0!==p;)h|=t[e++]<<f,f+=8,1===p?p=t[e++]:--p;if(f<l)break;var v=h&u;if(h>>=l,f-=l,v!==o){if(v===s)break;for(var b=v<a?v:m,y=0,w=b;w>o;)w=g[w]>>8,++y;var _=w;if(d+y+(b!==v?1:0)>r)return void c.log("Warning, gif stream longer than expected.");n[d++]=_;var x=d+=y;for(b!==v&&(n[d++]=_),w=b;y--;)w=g[w],n[--x]=255&w,w>>=8;null!==m&&a<4096&&(g[a++]=m<<8|_,a>=u+1&&l<12&&(++l,u=u<<1|1)),m=v}else a=s+1,u=(1<<(l=i+1))-1,m=null}return d!==r&&c.log("Warning, gif stream shorter than expected."),n} 151/** 152 * @license 153 Copyright (c) 2008, Adobe Systems Incorporated 154 All rights reserved. 155 156 Redistribution and use in source and binary forms, with or without 157 modification, are permitted provided that the following conditions are 158 met: 159 160 * Redistributions of source code must retain the above copyright notice, 161 this list of conditions and the following disclaimer. 162 163 * Redistributions in binary form must reproduce the above copyright 164 notice, this list of conditions and the following disclaimer in the 165 documentation and/or other materials provided with the distribution. 166 167 * Neither the name of Adobe Systems Incorporated nor the names of its 168 contributors may be used to endorse or promote products derived from 169 this software without specific prior written permission. 170 171 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 172 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 173 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 174 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 175 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 176 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 177 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 178 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 179 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 180 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 181 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 182*/function ee(t){var e,n,r,i,o,s=Math.floor,a=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),_=new Array(256),x=new Array(2048),A=[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],L=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],N=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],P=[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],O=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],C=[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 E(t,e){for(var n=0,r=0,i=new Array,o=1;o<=16;o++){for(var s=1;s<=t[o];s++)i[e[r]]=[],i[e[r]][0]=n,i[e[r]][1]=o,r++,n++;n*=2}return i}function I(t){for(var e=t[0],n=t[1]-1;n>=0;)e&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(F(255),F(0)):F(m),v=7,m=0)}function F(t){g.push(t)}function T(t){F(t>>8&255),F(255&t)}function M(t,e,n,r,i){for(var o,s=i[0],a=i[240],c=function(t,e){var n,r,i,o,s,a,c,l,u,f,h=0;for(u=0;
vendor: 5,331 bytes, lines 182-189
182u<8;++u){n=t[h],r=t[h+1],i=t[h+2],o=t[h+3],s=t[h+4],a=t[h+5],c=t[h+6];var p=n+(l=t[h+7]),g=n-l,m=r+c,v=r-c,b=i+a,y=i-a,w=o+s,_=o-s,x=p+w,A=p-w,L=m+b,N=m-b;t[h]=x+L,t[h+4]=x-L;var S=.707106781*(N+A);t[h+2]=A+S,t[h+6]=A-S;var P=.382683433*((x=_+y)-(N=v+g)),O=.5411961*x+P,j=1.306562965*N+P,k=.707106781*(L=y+v),C=g+k,E=g-k;t[h+5]=E+O,t[h+3]=E-O,t[h+1]=C+j,t[h+7]=C-j,h+=8}for(h=0,u=0;u<8;++u){n=t[h],r=t[h+8],i=t[h+16],o=t[h+24],s=t[h+32],a=t[h+40],c=t[h+48];var I=n+(l=t[h+56]),F=n-l,T=r+c,M=r-c,D=i+a,B=i-a,R=o+s,q=o-s,U=I+R,z=I-R,H=T+D,W=T-D;t[h]=U+H,t[h+32]=U-H;var V=.707106781*(W+z);t[h+16]=z+V,t[h+48]=z-V;var G=.382683433*((U=q+B)-(W=M+F)),$=.5411961*U+G,Y=1.306562965*W+G,X=.707106781*(H=B+M),J=F+X,K=F-X;t[h+40]=K+$,t[h+24]=K-$,t[h+8]=J+Y,t[h+56]=J-Y,h++}for(u=0;u<64;++u)f=t[u]*e[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(t,e),l=0;l<64;++l)p[A[l]]=c[l];var u=p[0]-n;n=p[0],0==u?I(r[0]):(I(r[h[o=32767+u]]),I(f[o]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return I(s),n;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)I(a);y&=15}o=32767+p[v],I(i[(y<<4)+h[o]]),I(f[o]),v++}return 63!=g&&I(s),n}function D(t){t=Math.min(Math.max(t,1),100),o!=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],n=0;n<64;n++){var r=s((e[n]*t+50)/100);r=Math.min(Math.max(r,1),255),a[A[n]]=r}for(var i=[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],o=0;o<64;o++){var f=s((i[o]*t+50)/100);f=Math.min(Math.max(f,1),255),c[A[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)l[d]=1/(a[A[d]]*h[p]*h[g]*8),u[d]=1/(c[A[d]]*h[p]*h[g]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),o=t)}this.encode=function(t,o){o&&D(o),g=new Array,m=0,v=7,T(65496),T(65504),T(16),F(74),F(70),F(73),F(70),F(0),F(1),F(1),F(0),T(1),T(1),F(0),F(0),function(){T(65499),T(132),F(0);for(var t=0;t<64;t++)F(a[t]);F(1);for(var e=0;e<64;e++)F(c[e])}(),function(t,e){T(65472),T(17),F(8),T(e),T(t),F(3),F(1),F(17),F(0),F(2),F(17),F(1),F(3),F(17),F(1)}(t.width,t.height),function(){T(65476),T(418),F(0);for(var t=0;t<16;t++)F(L[t+1]);for(var e=0;e<=11;e++)F(N[e]);F(16);for(var n=0;n<16;n++)F(S[n+1]);for(var r=0;r<=161;r++)F(P[r]);F(1);for(var i=0;i<16;i++)F(O[i+1]);for(var o=0;o<=11;o++)F(j[o]);F(17);for(var s=0;s<16;s++)F(k[s+1]);for(var a=0;a<=161;a++)F(C[a])}(),T(65498),T(12),F(3),F(1),F(0),F(2),F(17),F(3),F(17),F(0),F(63),F(0);var s=0,f=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,_,A,E,B,R,q,U,z=t.data,H=t.width,W=t.height,V=4*H,G=0;G<W;){for(d=0;d<V;){for(E=V*G+d,R=-1,q=0,U=0;U<64;U++)B=E+(q=U>>3)*V+(R=4*(7&U)),G+q>=W&&(B-=V*(G+1+q-W)),d+R>=V&&(B-=d+R-V+4),p=z[B++],_=z[B++],A=z[B++],b[U]=(x[p]+x[_+256>>0]+x[A+512>>0]>>16)-128,y[U]=(x[p+768>>0]+x[_+1024>>0]+x[A+1280>>0]>>16)-128,w[U]=(x[p+1280>>0]+x[_+1536>>0]+x[A+1792>>0]>>16)-128;s=M(b,l,s,e,r),f=M(y,u,f,n,i),h=M(w,u,h,n,i),d+=32}G+=8}if(v>=0){var $=[];$[1]=v+1,$[0]=(1<<v+1)-1,I($)}return T(65497),new Uint8Array(g)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)_[e]=t(e)}(),e=E(L,N),n=E(O,j),r=E(S,P),i=E(k,C),function(){for(var t=1,e=2,n=1;n<=15;n++){for(var r=t;r<e;r++)h[32767+r]=n,f[32767+r]=[],f[32767+r][1]=n,f[32767+r][0]=r;for(var i=-(e-1);i<=-t;i++)h[32767+i]=n,f[32767+i]=[],f[32767+i][1]=n,f[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)x[t]=19595*t,x[t+256>>0]=38470*t,x[t+512>>0]=7471*t+32768,x[t+768>>0]=-11059*t,x[t+1024>>0]=-21709*t,x[t+1280>>0]=32768*t+8421375,x[t+1536>>0]=-27439*t,x[t+1792>>0]=-5329*t}(),D(t)} 183/** 184 * @license 185 * Copyright (c) 2017 Aras Abbasi 186 * 187 * Licensed under the MIT License. 188 * http://opensource.org/licenses/mit-license 189 */function ne(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 re(t){function e(t){if(!t)throw Error("assert :P")}function n(t,e,n){for(var r=0;4>r;r++)if(t[e+r]!=n.charCodeAt(r))return!0;return!1}function r(t,e,n,r,i){for(var o=0;o<i;o++)t[e+o]=n[r+o]}function i(t,e,n,r){for(var i=0;i<r;i++)t[e+i]=n}function o(t){return new Int32Array(t)}function s(t,e){for(var n=[],r=0;r<t;r++)n.push(new e);return n}function a(t,e){var n=[];return function t(n,r,i){for(var o=i[r],s=0;s<o&&(n.push(i.length>r+1?[]:new e),!(i.length<r+1));s++)t(n[s],r+1,i)}(n,0,t),n}var c=function(){var t=this;function c(t,e){for(var n=1<<e-1>>>0;t&n;)n>>>=1;return n?(t&n-1)+n:t}function l(t,n,r,i,o){e(!(i%r));do{t[n+(i-=r)]=o}while(0<i)}function u(t,n,r,i,s){if(e(2328>=s),512>=s)var a=o(512);else if(null==(a=o(s)))return 0;return function(t,n,r,i,s,a){var u,h,d=n,p=1<<r,g=o(16),m=o(16);for(e(0!=s),e(null!=i),e(null!=t),e(0<r),h=0;h<s;++h){if(15<i[h])return 0;++g[i[h]]}if(g[0]==s)return 0;for(m[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;m[u+1]=m[u]+g[u]}for(h=0;h<s;
vendor: 34,526 bytes, line 189
189++h)u=i[h],0<i[h]&&(a[m[u]++]=h);if(1==m[15])return(i=new f).g=0,i.value=a[0],l(t,d,1,p,i),p;var v,b=-1,y=p-1,w=0,_=1,x=1,A=1<<r;for(h=0,u=1,s=2;u<=r;++u,s<<=1){if(_+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u])(i=new f).g=u,i.value=a[h++],l(t,d+w,s,A,i),w=c(w,u)}for(u=r+1,s=2;15>=u;++u,s<<=1){if(_+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u]){if(i=new f,(w&y)!=b){for(d+=A,v=1<<(b=u)-r;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=A=1<<(v=b-r),t[n+(b=w&y)].g=v+r,t[n+b].value=d-n-b}i.g=u-r,i.value=a[h++],l(t,d+(w>>r),s,A,i),w=c(w,u)}}return _!=2*m[15]-1?0:p}(t,n,r,i,s,a)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=s(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(Rn,h)}function p(t,n,r,i){e(null!=t),e(null!=n),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=n,t.pa=r,t.Jd=n,t.Yc=r+i,t.Zc=4<=i?r+i-4+1:r,S(t)}function g(t,e){for(var n=0;0<e--;)n|=O(t,128)<<e;return n}function m(t,e){var n=g(t,e);return P(t)?-n:n}function v(t,n,r,i){var o,s=0;for(e(null!=t),e(null!=n),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),o=0;o<i;++o)s+=n[r+o]<<8*o;t.Ra=s,t.bb=i,t.oa=n,t.pa=r}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<zn-8>>>0,++t.bb,t.u-=8;A(t)&&(t.h=1,t.u=0)}function y(t,n){if(e(0<=n),!t.h&&n<=Un){var r=x(t)&qn[n];return t.u+=n,b(t),r}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function _(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(t){return t.Ra>>>(t.u&zn-1)>>>0}function A(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>zn}function L(t,e){t.u=e,t.h=A(t)}function N(t){t.u>=Hn&&(e(t.u>=Hn),b(t))}function S(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 P(t){return g(t,1)}function O(t,e){var n=t.Ca;0>t.b&&S(t);var r=t.b,i=n*e>>>8,o=(t.I>>>r>i)+0;for(o?(n-=i,t.I-=i+1<<r>>>0):n=i+1,r=n,i=0;256<=r;)i+=8,r>>=8;return r=7^i+Wn[r],t.b-=r,t.Ca=(n<<r)-1,o}function j(t,e,n){t[e+0]=n>>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=n>>0&255}function k(t,e){return t[e+0]<<0|t[e+1]<<8}function C(t,e){return k(t,e)|t[e+2]<<16}function E(t,e){return k(t,e)|k(t,e+2)<<16}function I(t,n){var r=1<<n;return e(null!=t),e(0<n),t.X=o(r),null==t.X?0:(t.Mb=32-n,t.Xa=n,1)}function F(t,n){e(null!=t),e(null!=n),e(t.Xa==n.Xa),r(n.X,0,t.X,0,1<<n.Xa)}function T(){this.X=[],this.Xa=this.Mb=0}function M(t,n,r,i){e(null!=r),e(null!=i);var o=r[0],s=i[0];return 0==o&&(o=(t*s+n/2)/n),0==s&&(s=(n*o+t/2)/t),0>=o||0>=s?0:(r[0]=o,i[0]=s,1)}function D(t,e){return t+(1<<e)-1>>>e}function B(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function R(e,n){t[n]=function(n,r,i,o,s,a,c){var l;for(l=0;l<s;++l){var u=t[e](a[c+l-1],i,o+l);a[c+l]=B(n[r+l],u)}}}function q(){this.ud=this.hd=this.jd=0}function U(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function z(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function H(t,e){return z(t+(t-e+.5>>1))}function W(t,e,n){return Math.abs(e-n)-Math.abs(t-n)}function V(t,e,n,r,i,o,s){for(r=o[s-1],n=0;n<i;++n)o[s+n]=r=B(t[e+n],r)}function G(t,e,n,r,i){var o;for(o=0;o<n;++o){var s=t[e+o],a=s>>8&255,c=16711935&(c=(c=16711935&s)+((a<<16)+a));r[i+o]=(4278255360&s)+c>>>0}}function $(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function Y(t,e,n,r,i,o){var s;for(s=0;s<r;++s){var a=e[n+s],c=a>>>8,l=a,u=255&(u=(u=a>>>16)+((t.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(t.hd<<24>>24)*(c<<24>>24)>>>5)+((t.ud<<24>>24)*(u<<24>>24)>>>5)),i[o+s]=(4278255360&a)+(u<<16)+l}}function X(e,n,r,i,o){t[n]=function(t,e,n,r,s,a,c,l,u){for(r=c;r<l;++r)for(c=0;c<u;++c)s[a++]=o(n[i(t[e++])])},t[e]=function(e,n,s,a,c,l,u){var f=8>>e.b,h=e.Ea,d=e.K[0],p=e.w;if(8>f)for(e=(1<<e.b)-1,p=(1<<f)-1;n<s;++n){var g,m=0;for(g=0;g<h;++g)g&e||(m=i(a[c++])),l[u++]=o(d[m&p]),m>>=f}else t["VP8LMapColor"+r](a,c,d,p,l,u,n,s,h)}}function J(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255}}function K(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=o>>16&255,r[i++]=o>>8&255,r[i++]=o>>0&255,r[i++]=o>>24&255}}function Q(t,e,n,r,i){for(n=e+n;e<n;){var o=(s=t[e++])>>16&240|s>>12&15,s=s>>0&240|s>>28&15;r[i++]=o,r[i++]=s}}function Z(t,e,n,r,i){for(n=e+n;e<n;){var o=(s=t[e++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;r[i++]=o,r[i++]=s}}function tt(t,e,n,r,i){for(n=e+n;e<n;){var o=t[e++];r[i++]=o>>0&255,r[i++]=o>>8&255,r[i++]=o>>16&255}}function et(t,e,n,i,o,s){if(0==s)for(n=e+n;e<n;)j(i,((s=t[e++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),o+=32;else r(i,o,t,e,n)}function nt(e,n){t[n][0]=t[e+"0"],t[n][1]=t[e+"1"],t[n][2]=t[e+"2"],t[n][3]=t[e+"3"],t[n][4]=t[e+"4"],t[n][5]=t[e+"5"],t[n][6]=t[e+"6"],t[n][7]=t[e+"7"],t[n][8]=t[e+"8"],t[n][9]=t[e+"9"],t[n][10]=t[e+"10"],t[n][11]=t[e+"11"],t[n][12]=t[e+"12"],t[n][13]=t[e+"13"],t[n][14]=t[e+"0"],t[n][15]=t[e+"0"]}function rt(t){return t==Hr||t==Wr||t==Vr||t==Gr}function it(){this.eb=[],this.size=this.A=this.fb=0}function ot(){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 st(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new ot,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ct(){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 lt(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ut(t,e){var n=t.T,i=e.ba.f.RGBA,o=i.eb,s=i.fb+t.ka*i.A,a=vi[e.ba.S],c=t.y,l=t.O,u=t.f,f=t.N,h=t.ea,d=t.W,p=e.cc,g=e.dc,m=e.Mc,v=e.Nc,b=t.ka,y=t.ka+t.T,w=t.U,_=w+1>>1;for(0==b?a(c,l,null,null,u,f,h,d,u,f,h,d,o,s,null,null,w):(a(e.ec,e.fc,c,l,p,g,m,v,u,f,h,d,o,s-i.A,o,s,w),++n);b+2<y;b+=2)p=u,g=f,m=h,v=d,f+=t.Rc,d+=t.Rc,s+=2*i.A,a(c,(l+=2*t.fa)-t.fa,c,l,p,g,m,v,u,f,h,d,o,s-i.A,o,s,w);return l+=t.fa,t.j+y<t.o?(r(e.ec,e.fc,c,l,w),r(e.cc,e.dc,u,f,_),r(e.Mc,e.Nc,h,d,_),n--):1&y||a(c,l,null,null,u,f,h,d,u,f,h,d,o,s+i.A,null,null,w),n}function ft(t,n,r){var i=t.F,o=[t.J];if(null!=i){var s=t.U,a=n.ba.S,c=a==qr||a==Vr;n=n.ba.f.RGBA;var l=[0],u=t.ka;l[0]=t.T,t.Kb&&(0==u?--l[0]:(--u,o[0]-=t.width),t.j+t.ka+t.T==t.o&&(l[0]=t.o-t.j-u));var f=n.eb;u=n.fb+u*n.A,t=Nr(i,o[0],t.width,s,l,f,u+(c?0:3),n.A),e(r==l),t&&rt(a)&&Ar(f,u,c,s,l,n.A)}return 0}function ht(t){var e=t.ma,n=e.ba.S,r=11>n,i=n==Dr||n==Rr||n==qr||n==Ur||12==n||rt(n);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Mn(e.Oa,t,i?11:12))return 0;if(i&&rt(n)&&yn(),t.da)alert("todo:use_scaling");else{if(r){if(e.Ib=lt,t.Kb){if(n=t.U+1>>1,e.memory=o(t.U+2*n),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+n,e.Ib=ut,yn()}}else alert("todo:EmitYUV");i&&(e.Jb=ft,r&&vn())}if(r&&!Ci){for(t=0;256>t;++t)Ei[t]=89858*(t-128)+Si>>Ni,Ti[t]=-22014*(t-128)+Si,Fi[t]=-45773*(t-128),Ii[t]=113618*(t-128)+Si>>Ni;for(t=Pi;t<Oi;++t)e=76283*(t-16)+Si>>Ni,Mi[t-Pi]=Vt(e,255),Di[t-Pi]=Vt(e+8>>4,15);Ci=1}return 1}function dt(t){var n=t.ma,r=t.U,i=t.T;return e(!(1&t.ka)),0>=r||0>=i?0:(r=n.Ib(t,n),null!=n.Jb&&n.Jb(t,n,r),n.Dc+=r,1)}function pt(t){t.ma.memory=null}function gt(t,e,n,r){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,n[0]=y(t,14)+1,r[0]=y(t,1),0!=y(t,3)?0:!t.h)}function mt(t,e){if(4>t)return t+1;var n=t-2>>1;return(2+(1&t)<<n)+y(e,n)+1}function vt(t,e){return 120<e?e-120:1<=(n=((n=Qr[e-1])>>4)*t+(8-(15&n)))?n:1;var n}function bt(t,e,n){var r=x(n),i=t[e+=255&r].g-8;return 0<i&&(L(n,n.u+8),r=x(n),e+=t[e].value,e+=r&(1<<i)-1),L(n,n.u+t[e].g),t[e].value}function yt(t,n,r){return r.g+=t.g,r.value+=t.value<<n>>>0,e(8>=r.g),t.g}function wt(t,n,r){var i=t.xc;return e((n=0==i?0:t.vc[t.md*(r>>i)+(n>>i)])<t.Wb),t.Ya[n]}function _t(t,n,i,o){var s=t.ab,a=t.c*n,c=t.C;n=c+n;var l=i,u=o;for(o=t.Ta,i=t.Ua;0<s--;){var f=t.gc[s],h=c,d=n,p=l,g=u,m=(u=o,l=i,f.Ea);switch(e(h<d),e(d<=f.nc),f.hc){case 2:$n(p,g,(d-h)*m,u,l);break;case 0:var v=h,b=d,y=u,w=l,_=(S=f).Ea;0==v&&(Vn(p,g,null,null,1,y,w),V(p,g+1,0,0,_-1,y,w+1),g+=_,w+=_,++v);for(var x=1<<S.b,A=x-1,L=D(_,S.b),N=S.K,S=S.w+(v>>S.b)*L;v<b;){var P=N,O=S,j=1;for(Gn(p,g,y,w-_,1,y,w);j<_;){var k=(j&~A)+x;k>_&&(k=_),(0,Qn[P[O++]>>8&15])(p,g+ +j,y,w+j-_,k-j,y,w+j),j=k}g+=_,w+=_,++v&A||(S+=L)}d!=f.nc&&r(u,l-m,u,l+(d-h-1)*m,m);break;case 1:for(m=p,b=g,_=(p=f.Ea)-(w=p&~(y=(g=1<<f.b)-1)),v=D(p,f.b),x=f.K,f=f.w+(h>>f.b)*v;h<d;){for(A=x,L=f,N=new q,S=b+w,P=b+p;b<S;)$(A[L++],N),Zn(N,m,b,g,u,l),b+=g,l+=g;b<P&&($(A[L++],N),Zn(N,m,b,_,u,l),b+=_,l+=_),++h&y||(f+=v)}break;case 3:if(p==u&&g==l&&0<f.b){for(b=u,p=m=l+(d-h)*m-(w=(d-h)*D(f.Ea,f.b)),g=u,y=l,v=[],w=(_=w)-1;0<=w;--w)v[w]=g[y+w];for(w=_-1;0<=w;--w)b[p+w]=v[w];Yn(f,h,d,u,m,u,l)}else Yn(f,h,d,p,g,u,l)}l=o,u=i}u!=i&&r(o,i,l,u,a)}function xt(t,n){var r=t.V,i=t.Ba+t.c*t.C,o=n-t.C;if(e(n<=t.l.o),e(16>=o),0<o){var s=t.l,a=t.Ta,c=t.Ua,l=s.width;if(_t(t,o,r,i),o=c=[c],e((r=t.C)<(i=n)),e(s.v<s.va),i>s.o&&(i=s.o),r<s.j){var u=s.j-r;r=s.j,o[0]+=u*l}if(r>=i?r=0:(o[0]+=4*s.v,s.ka=r-s.j,s.U=s.va-s.v,s.T=i-r,r=1),r){if(c=c[0],11>(r=t.ca).S){var f=r.f.RGBA,h=(i=r.S,o=s.U,s=s.T,u=f.eb,f.A),d=s;for(f=f.fb+t.Ma*f.A;0<d--;){var p=a,g=c,m=o,v=u,b=f;switch(i){case Mr:tr(p,g,m,v,b);break;case Dr:er(p,g,m,v,b);break;case Hr:er(p,g,m,v,b),Ar(v,b,0,m,1,0);break;case Br:ir(p,g,m,v,b);break;case Rr:et(p,g,m,v,b,1);break;case Wr:et(p,g,m,v,b,1),Ar(v,b,0,m,1,0);break;case qr:et(p,g,m,v,b,0);break;case Vr:et(p,g,m,v,b,0),Ar(v,b,1,m,1,0);break;case Ur:nr(p,g,m,v,b);break;case Gr:nr(p,g,m,v,b),Lr(v,b,m,1,0);break;case zr:rr(p,g,m,v,b);break;default:e(0)}c+=l,f+=h}t.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=r.height)}}t.C=n,e(t.C<=t.i)}function At(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var n=t.Ya[e].G,r=t.Ya[e].H;if(0<n[1][r[1]+0].g||0<n[2][r[2]+0].g||0<n[3][r[3]+0].g)return 0}return 1}function Lt(t,n,r,i,o,s){if(0!=t.Z){var a=t.qd,c=t.rd;for(e(null!=mi[t.Z]);n<r;++n)mi[t.Z](a,c,i,o,i,o,s),a=i,c=o,o+=s;t.qd=a,t.rd=c}}function Nt(t,n){var r=t.l.ma,i=0==r.Z||1==r.Z?t.l.j:t.C;if(i=t.C<i?i:t.C,e(n<=t.l.o),n>i){var o=t.l.width,s=r.ca,a=r.tb+o*i,c=t.V,l=t.Ba+t.c*i,u=t.gc;e(1==t.ab),e(3==u[0].hc),Jn(u[0],i,n,c,l,s,a),Lt(r,i,n,s,a,o)}t.C=t.Ma=n}function St(t,n,r,i,o,s,a){var c=t.$/i,l=t.$%i,u=t.m,f=t.s,h=r+t.$,d=h;o=r+i*o;var p=r+i*s,g=280+f.ua,m=t.Pb?c:16777216,v=0<f.ua?f.Wa:null,b=f.wc,y=h<p?wt(f,l,c):null;e(t.C<s),e(p<=o);var w=!1;t:for(;;){for(;w||h<p;){var _=0;if(c>=m){var S=h-r;e((m=t).Pb),m.wd=m.m,m.xd=S,0<m.s.ua&&F(m.s.Wa,m.s.vb),m=c+ti}if(l&b||(y=wt(f,l,c)),e(null!=y),y.Qb&&(n[h]=y.qb,w=!0),!w)if(N(u),y.jc){_=u,S=n;var P=h,O=y.pd[x(_)&Rn-1];e(y.jc),256>O.g?(L(_,_.u+O.g),S[P]=O.value,_=0):(L(_,_.u+O.g-256),e(256<=O.value),_=O.value),0==_&&(w=!0)}else _=bt(y.G[0],y.H[0],u);if(u.h)break;if(w||256>_){if(!w)if(y.nd)n[h]=(y.qb|_<<8)>>>0;else{if(N(u),w=bt(y.G[1],y.H[1],u),N(u),S=bt(y.G[2],y.H[2],u),P=bt(y.G[3],y.H[3],u),u.h)break;n[h]=(P<<24|w<<16|_<<8|S)>>>0}if(w=!1,++h,++l>=i&&(l=0,++c,null!=a&&c<=s&&!(c%16)&&a(t,c),null!=v))for(;d<h;)_=n[d++],v.X[(506832829*_&4294967295)>>>v.Mb]=_}else if(280>_){if(_=mt(_-256,u),S=bt(y.G[4],y.H[4],u),N(u),S=vt(i,S=mt(S,u)),u.h)break;if(h-r<S||o-h<_)break t;for(P=0;P<_;++P)n[h+P]=n[h+P-S];for(h+=_,l+=_;l>=i;)l-=i,++c,null!=a&&c<=s&&!(c%16)&&a(t,c);if(e(h<=o),l&b&&(y=wt(f,l,c)),null!=v)for(;d<h;)_=n[d++],v.X[(506832829*_&4294967295)>>>v.Mb]=_}else{if(!(_<g))break t;for(w=_-280,e(null!=v);d<h;)_=n[d++],v.X[(506832829*_&4294967295)>>>v.Mb]=_;_=h,e(!(w>>>(S=v).Xa)),n[_]=S.X[w],w=!0}w||e(u.h==A(u))}if(t.Pb&&u.h&&h<o)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&F(t.s.vb,t.s.Wa);else{if(u.h)break t;null!=a&&a(t,c>s?s:c),t.a=0,t.$=h-r}return 1}return t.a=3,0}function Pt(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var n=t.Wa;null!=n&&(n.X=null),t.vb=null,e(null!=t)}function Ot(){var e=new an;return null==e?null:(e.a=0,e.xb=gi,nt("Predictor","VP8LPredictors"),nt("Predictor","VP8LPredictors_C"),nt("PredictorAdd","VP8LPredictorsAdd"),nt("PredictorAdd","VP8LPredictorsAdd_C"),$n=G,Zn=Y,tr=J,er=K,nr=Q,rr=Z,ir=tt,t.VP8LMapColor32b=Xn,t.VP8LMapColor8b=Kn,e)}function jt(t,n,r,a,c){var l=1,h=[t],p=[n],g=a.m,m=a.s,v=null,b=0;t:for(;;){if(r)for(;l&&y(g,1);){var w=h,_=p,A=a,S=1,P=A.m,O=A.gc[A.ab],j=y(P,2);if(A.Oc&1<<j)l=0;else{switch(A.Oc|=1<<j,O.hc=j,O.Ea=w[0],O.nc=_[0],O.K=[null],++A.ab,e(4>=A.ab),j){case 0:case 1:O.b=y(P,3)+2,S=jt(D(O.Ea,O.b),D(O.nc,O.b),0,A,O.K),O.K=O.K[0];break;case 3:var k,C=y(P,8)+1,E=16<C?0:4<C?1:2<C?2:3;if(w[0]=D(O.Ea,E),O.b=E,k=S=jt(C,1,0,A,O.K)){var F,T=C,M=O,R=1<<(8>>M.b),q=o(R);if(null==q)k=0;else{var U=M.K[0],z=M.w;for(q[0]=M.K[0][0],F=1;F<1*T;++F)q[F]=B(U[z+F],q[F-1]);for(;F<4*R;++F)q[F]=0;M.K[0]=null,M.K[0]=q,k=1}}S=k;break;case 2:break;default:e(0)}l=S}}if(h=h[0],p=p[0],l&&y(g,1)&&!(l=1<=(b=y(g,4))&&11>=b)){a.a=3;break t}var H;if(H=l)e:{var W,V,G,$=a,Y=h,X=p,J=b,K=r,Q=$.m,Z=$.s,tt=[null],et=1,nt=0,rt=Zr[J];n:for(;;){if(K&&y(Q,1)){var it=y(Q,3)+2,ot=D(Y,it),st=D(X,it),at=ot*st;if(!jt(ot,st,0,$,tt))break n;for(tt=tt[0],Z.xc=it,W=0;W<at;++W){var ct=tt[W]>>8&65535;tt[W]=ct,ct>=et&&(et=ct+1)}}if(Q.h)break n;for(V=0;5>V;++V){var lt=Xr[V];!V&&0<J&&(lt+=1<<J),nt<lt&&(nt=lt)}var ut=s(et*rt,f),ft=et,ht=s(ft,d);if(null==ht)var dt=null;else e(65536>=ft),dt=ht;var pt=o(nt);if(null==dt||null==pt||null==ut){$.a=1;break n}var gt=ut;for(W=G=0;W<et;++W){var mt=dt[W],vt=mt.G,bt=mt.H,wt=0,_t=1,xt=0;for(V=0;5>V;++V){lt=Xr[V],vt[V]=gt,bt[V]=G,!V&&0<J&&(lt+=1<<J);r:{var At,Lt=lt,Nt=$,Ot=pt,kt=gt,Ct=G,Et=0,It=Nt.m,Ft=y(It,1);if(i(Ot,0,0,Lt),Ft){var Tt=y(It,1)+1,Mt=y(It,1),Dt=y(It,0==Mt?1:8);Ot[Dt]=1,2==Tt&&(Ot[Dt=y(It,8)]=1);var Bt=1}else{var Rt=o(19),qt=y(It,4)+4;if(19<qt){Nt.a=3;var Ut=0;break r}for(At=0;At<qt;++At)Rt[Kr[At]]=y(It,3);var zt=void 0,Ht=void 0,Wt=Nt,Vt=Rt,Gt=Lt,$t=Ot,Yt=0,Xt=Wt.m,Jt=8,Kt=s(128,f);i:for(;u(Kt,0,7,Vt,19);){if(y(Xt,1)){var Qt=2+2*y(Xt,3);if((zt=2+y(Xt,Qt))>Gt)break i}else zt=Gt;for(Ht=0;Ht<Gt&&zt--;){N(Xt);var Zt=Kt[0+(127&x(Xt))];L(Xt,Xt.u+Zt.g);var te=Zt.value;if(16>te)$t[Ht++]=te,0!=te&&(Jt=te);else{var ee=16==te,ne=te-16,re=Yr[ne],ie=y(Xt,$r[ne])+re;if(Ht+ie>Gt)break i;for(var oe=ee?Jt:0;0<ie--;)$t[Ht++]=oe}}Yt=1;break i}Yt||(Wt.a=3),Bt=Yt}(Bt=Bt&&!It.h)&&(Et=u(kt,Ct,8,Ot,Lt)),Bt&&0!=Et?Ut=Et:(Nt.a=3,Ut=0)}if(0==Ut)break n;if(_t&&1==Jr[V]&&(_t=0==gt[G].g),wt+=gt[G].g,G+=Ut,3>=V){var se,ae=pt[0];for(se=1;se<lt;++se)pt[se]>ae&&(ae=pt[se]);xt+=ae}}if(mt.nd=_t,mt.Qb=0,_t&&(mt.qb=(vt[3][bt[3]+0].value<<24|vt[1][bt[1]+0].value<<16|vt[2][bt[2]+0].value)>>>0,0==wt&&256>vt[0][bt[0]+0].value&&(mt.Qb=1,mt.qb+=vt[0][bt[0]+0].value<<8)),mt.jc=!mt.Qb&&6>xt,mt.jc){var ce,le=mt;for(ce=0;ce<Rn;++ce){var ue=ce,fe=le.pd[ue],he=le.G[0][le.H[0]+ue];256<=he.value?(fe.g=he.g+256,fe.value=he.value):(fe.g=0,fe.value=0,ue>>=yt(he,8,fe),ue>>=yt(le.G[1][le.H[1]+ue],16,fe),ue>>=yt(le.G[2][le.H[2]+ue],0,fe),yt(le.G[3][le.H[3]+ue],24,fe))}}}Z.vc=tt,Z.Wb=et,Z.Ya=dt,Z.yc=ut,H=1;break e}H=0}if(!(l=H)){a.a=3;break t}if(0<b){if(m.ua=1<<b,!I(m.Wa,b)){a.a=1,l=0;break t}}else m.ua=0;var de=a,pe=h,ge=p,me=de.s,ve=me.xc;if(de.c=pe,de.i=ge,me.md=D(pe,ve),me.wc=0==ve?-1:(1<<ve)-1,r){a.xb=pi;break t}if(null==(v=o(h*p))){a.a=1,l=0;break t}l=(l=St(a,v,0,h,p,p,null))&&!g.h;break t}return l?(null!=c?c[0]=v:(e(null==v),e(r)),a.$=0,r||Pt(m)):Pt(m),l}function kt(t,n){var r=t.c*t.i,i=r+n+16*n;return e(t.c<=n),t.V=o(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+r+n,1)}function Ct(t,n){var r=t.C,i=n-r,o=t.V,s=t.Ba+t.c*r;for(e(n<=t.l.o);0<i;){var a=16<i?16:i,c=t.l.ma,l=t.l.width,u=l*a,f=c.ca,h=c.tb+l*r,d=t.Ta,p=t.Ua;_t(t,a,o,s),Sr(d,p,f,h,u),Lt(c,r,r+a,f,h,l),i-=a,o+=a*t.c,r+=a}e(r==n),t.C=t.Ma=n}function Et(){this.ub=this.yd=this.td=this.Rb=0}function It(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ft(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Tt(){this.Yb=function(){var t=[];return function t(e,n,r){for(var i=r[n],o=0;o<i&&(e.push(r.length>n+1?[]:0),!(r.length<n+1));o++)t(e[o],n+1,r)}(t,0,[3,11]),t}()}function Mt(){this.jb=o(3),this.Wc=a([4,8],Tt),this.Xc=a([4,17],Tt)}function Dt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Bt(){this.ld=this.La=this.dd=this.tc=0}function Rt(){this.Na=this.la=0}function qt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ut(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function zt(){this.uc=this.M=this.Nb=0,this.wa=Array(new Bt),this.Y=0,this.ya=Array(new Ut),this.aa=0,this.l=new Gt}function Ht(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Wt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Et,this.Kc=new It,this.ed=new Dt,this.Qa=new Ft,this.Ic=this.$c=this.Aa=0,this.D=new zt,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,w),this.ia=0,this.pb=s(4,qt),this.Pa=new Mt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ht),this.Hd=0,this.rb=Array(new Rt),this.sb=0,this.wa=Array(new Bt),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 Ut),this.L=this.aa=0,this.gd=a([4,2],Bt),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 Gt(){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 $t(){var t=new Wt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ri||(ri=Kt)),t}function Yt(t,e,n){return 0==t.a&&(t.a=e,t.sc=n,t.cb=0),0}function Xt(t,e,n){return 3<=n&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Jt(t,n){if(null==t)return 0;if(t.a=0,t.sc="OK",null==n)return Yt(t,2,"null VP8Io passed to VP8GetHeaders()");var r=n.data,o=n.w,s=n.ha;if(4>s)return Yt(t,7,"Truncated header.");var a=r[o+0]|r[o+1]<<8|r[o+2]<<16,c=t.Od;if(c.Rb=!(1&a),c.td=a>>1&7,c.yd=a>>4&1,c.ub=a>>5,3<c.td)return Yt(t,3,"Incorrect keyframe parameters.");if(!c.yd)return Yt(t,4,"Frame not displayable.");o+=3,s-=3;var l=t.Kc;if(c.Rb){if(7>s)return Yt(t,7,"cannot parse picture header");if(!Xt(r,o,s))return Yt(t,3,"Bad code word");l.c=16383&(r[o+4]<<8|r[o+3]),l.Td=r[o+4]>>6,l.i=16383&(r[o+6]<<8|r[o+5]),l.Ud=r[o+6]>>6,o+=7,s-=7,t.za=l.c+15>>4,t.Ub=l.i+15>>4,n.width=l.c,n.height=l.i,n.Da=0,n.j=0,n.v=0,n.va=n.width,n.o=n.height,n.da=0,n.ib=n.width,n.hb=n.height,n.U=n.width,n.T=n.height,i((a=t.Pa).jb,0,255,a.jb.length),e(null!=(a=t.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,i(a.Zb,0,0,a.Zb.length),i(a.Lb,0,0,a.Lb)}if(c.ub>s)return Yt(t,7,"bad partition length");p(a=t.m,r,o,c.ub),o+=c.ub,s-=c.ub,c.Rb&&(l.Ld=P(a),l.Kd=P(a)),l=t.Qa;var u,f=t.Pa;if(e(null!=a),e(null!=l),l.Cb=P(a),l.Cb){if(l.Bb=P(a),P(a)){for(l.Fb=P(a),u=0;4>u;++u)l.Zb[u]=P(a)?m(a,7):0;for(u=0;4>u;++u)l.Lb[u]=P(a)?m(a,6):0}if(l.Bb)for(u=0;3>u;++u)f.jb[u]=P(a)?g(a,8):255}else l.Bb=0;if(a.Ka)return Yt(t,3,"cannot parse segment header");if((l=t.ed).zd=P(a),l.Tb=g(a,6),l.wb=g(a,3),l.Pc=P(a),l.Pc&&P(a)){for(f=0;4>f;++f)P(a)&&(l.vd[f]=m(a,6));for(f=0;4>f;++f)P(a)&&(l.od[f]=m(a,6))}if(t.L=0==l.Tb?0:l.zd?1:2,a.Ka)return Yt(t,3,"cannot parse filter header");var h=s;if(s=u=o,o=u+h,l=h,t.Xb=(1<<g(t.m,2))-1,h<3*(f=t.Xb))r=7;else{for(u+=3*f,l-=3*f,h=0;h<f;++h){var d=r[s+0]|r[s+1]<<8|r[s+2]<<16;d>l&&(d=l),p(t.Jc[+h],r,u,d),u+=d,l-=d,s+=3}p(t.Jc[+f],r,u,l),r=u<o?0:5}if(0!=r)return Yt(t,r,"cannot parse partitions");for(r=g(u=t.m,7),s=P(u)?m(u,4):0,o=P(u)?m(u,4):0,l=P(u)?m(u,4):0,f=P(u)?m(u,4):0,u=P(u)?m(u,4):0,h=t.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=r)}else{if(0<d){t.pb[d]=t.pb[0];continue}v=r}var b=t.pb[d];b.Sc[0]=ei[Vt(v+s,127)],b.Sc[1]=ni[Vt(v+0,127)],b.Eb[0]=2*ei[Vt(v+o,127)],b.Eb[1]=101581*ni[Vt(v+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ei[Vt(v+f,117)],b.Qc[1]=ni[Vt(v+u,127)],b.lc=v+u}if(!c.Rb)return Yt(t,4,"Not a key frame.");for(P(a),c=t.Pa,r=0;4>r;++r){for(s=0;8>s;++s)for(o=0;3>o;++o)for(l=0;11>l;++l)f=O(a,li[r][s][o][l])?g(a,8):ai[r][s][o][l],c.Wc[r][s].Yb[o][l]=f;for(s=0;17>s;++s)c.Xc[r][s]=c.Wc[r][ui[s]]}return t.kc=P(a),t.kc&&(t.Bd=g(a,8)),t.cb=1}function Kt(t,e,n,r,i,o,s){var a=e[i].Yb[n];for(n=0;16>i;++i){if(!O(t,a[n+0]))return i;for(;!O(t,a[n+1]);)if(a=e[++i].Yb[0],n=0,16==i)return 16;var c=e[i+1].Yb;if(O(t,a[n+2])){var l=t,u=0;if(O(l,(h=a)[(f=n)+3]))if(O(l,h[f+6])){for(a=0,f=2*(u=O(l,h[f+8]))+(h=O(l,h[f+9+u])),u=0,h=ii[f];h[a];++a)u+=u+O(l,h[a]);u+=3+(8<<f)}else O(l,h[f+7])?(u=7+2*O(l,165),u+=O(l,145)):u=5+O(l,159);else u=O(l,h[f+4])?3+O(l,h[f+5]):2;a=c[2]}else u=1,a=c[1];c=s+oi[i],0>(l=t).b&&S(l);var f,h=l.b,d=(f=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(f+1&d)<<h,o[c]=((u^d)-d)*r[(0<i)+0]}return 16}function Qt(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Zt(t,n){if(null==t)return 0;if(null==n)return Yt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Jt(t,n))return 0;if(e(t.cb),null==n.ac||n.ac(n)){n.ob&&(t.L=0);var a=Ri[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=n.v-a>>4,t.zb=n.j-a>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=n.o+15+a>>4,t.Hb=n.va+15+a>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var c=t.ed;for(a=0;4>a;++a){var l;if(t.Qa.Cb){var u=t.Qa.Lb[a];t.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var f=t.gd[a][l],h=u;if(c.Pc&&(h+=c.vd[0],l&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=l}}}a=0}else Yt(t,6,"Frame setup failed"),a=t.a;if(a=0==a){if(a){t.$c=0,0<t.Aa||(t.Ic=Ui);t:{a=t.Ic,c=4*(d=t.za);var p=32*d,g=d+1,m=0<t.L?d*(0<t.Aa?2:1):0,v=(2==t.Aa?2:1)*d;if((f=c+832+(l=3*(16*a+Ri[t.L])/2*p)+(u=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=f)a=0;else{if(f>t.Vb){if(t.Vb=0,t.Ec=o(f),t.Fc=0,null==t.Ec){a=Yt(t,1,"no memory during frame initialization.");break t}t.Vb=f}f=t.Ec,h=t.Fc,t.Ac=f,t.Bc=h,h+=c,t.Gd=s(p,Ht),t.Hd=0,t.rb=s(g+1,Rt),t.sb=1,t.wa=m?s(m,Bt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=f,t.pc=h,h+=832,t.ya=s(v,Ut),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Ri[t.L])*t.R,p=p/2*t.B,t.sa=f,t.ta=h+d,t.qa=t.sa,t.ra=t.ta+16*a*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*a*t.B+p,t.$c=0,h+=l,t.mb=u?f:null,t.nb=u?h:null,e(h+u<=t.Fc+t.Vb),Qt(t),i(t.Ac,t.Bc,0,c),a=1}}if(a){if(n.ka=0,n.y=t.sa,n.O=t.ta,n.f=t.qa,n.N=t.ra,n.ea=t.Ha,n.Vd=t.Ia,n.fa=t.R,n.Rc=t.B,n.F=null,n.J=0,!Cr){for(a=-255;255>=a;++a)Pr[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)Or[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;++a)jr[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)kr[255+a]=0>a?0:255<a?255:a;Cr=1}or=le,sr=oe,cr=se,lr=ae,ur=ce,ar=ie,fr=Ye,hr=Xe,dr=Qe,pr=Ze,gr=Je,mr=Ke,vr=tn,br=en,yr=ze,wr=He,_r=We,xr=Ve,hi[0]=Le,hi[1]=fe,hi[2]=xe,hi[3]=Ae,hi[4]=Ne,hi[5]=Pe,hi[6]=Se,hi[7]=Oe,hi[8]=ke,hi[9]=je,fi[0]=ve,fi[1]=de,fi[2]=pe,fi[3]=ge,fi[4]=be,fi[5]=ye,fi[6]=we,di[0]=Fe,di[1]=he,di[2]=Ce,di[3]=Ee,di[4]=Me,di[5]=Te,di[6]=De,a=1}else a=0}a&&(a=function(t,n){for(t.M=0;t.M<t.Va;++t.M){var s,a=t.Jc[t.M&t.Xb],c=t.m,l=t;for(s=0;s<l.za;++s){var u=c,f=l,h=f.Ac,d=f.Bc+4*s,p=f.zc,g=f.ya[f.aa+s];if(f.Qa.Bb?g.$b=O(u,f.Pa.jb[0])?2+O(u,f.Pa.jb[2]):O(u,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=O(u,f.Bd)),g.Za=!O(u,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=ci[h[d+b]][y];for(var w=si[O(u,y[0])];0<w;)w=si[2*w+O(u,y[w])];y=-w,h[d+b]=y}r(m,v,h,d,4),v+=4,p[0+f]=y}}else y=O(u,156)?O(u,128)?1:3:O(u,163)?2:0,g.Ob[0]=y,i(h,d,y,4),i(p,0,y,4);g.Dd=O(u,142)?O(u,114)?O(u,183)?1:3:2:0}if(l.m.Ka)return Yt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(l=a,u=(c=t).rb[c.sb-1],h=c.rb[c.sb+c.ja],s=c.ya[c.aa+c.ja],d=c.kc?s.Ad:0)u.la=h.la=0,s.Za||(u.Na=h.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var _,x;if(u=h,h=l,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],g=c.pb[p.$b],f=p.ad,m=0,v=c.rb[c.sb-1],y=b=0,i(f,m,0,384),p.Za)var A=0,L=d[3];else{w=o(16);var N=u.Na+v.Na;if(N=ri(h,d[1],N,g.Eb,0,w,0),u.Na=v.Na=(0<N)+0,1<N)or(w,0,f,m);else{var S=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=S}A=1,L=d[0]}var P=15&u.la,j=15&v.la;for(w=0;4>w;++w){var k=1&j;for(S=x=0;4>S;++S)P=P>>1|(k=(N=ri(h,L,N=k+(1&P),g.Sc,A,f,m))>A)<<7,x=x<<2|(3<N?3:1<N?2:0!=f[m+0]),m+=16;P>>=4,j=j>>1|k<<7,b=(b<<8|x)>>>0}for(L=P,A=j>>4,_=0;4>_;_+=2){for(x=0,P=u.la>>4+_,j=v.la>>4+_,w=0;2>w;++w){for(k=1&j,S=0;2>S;++S)N=k+(1&P),P=P>>1|(k=0<(N=ri(h,d[2],N,g.Qc,0,f,m)))<<3,x=x<<2|(3<N?3:1<N?2:0!=f[m+0]),m+=16;P>>=2,j=j>>1|k<<5}y|=x<<4*_,L|=P<<4<<_,A|=(240&j)<<_}u.la=L,v.la=A,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[s.$b][s.Za],c.wa[c.Y+c.ja].La|=!d),l.Ka)return Yt(t,7,"Premature end-of-file encountered.")}if(Qt(t),c=n,l=1,s=(a=t).D,u=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(s.M=a.M,s.uc=u,Fn(a,s),l=1,s=(x=a.D).Nb,u=(y=Ri[a.L])*a.R,h=y/2*a.B,w=16*s*a.R,S=8*s*a.B,d=a.sa,p=a.ta-u+w,g=a.qa,f=a.ra-h+S,m=a.Ha,v=a.Ia-h+S,j=0==(P=x.M),b=P>=a.Va-1,2==a.Aa&&Fn(a,x),x.uc)for(k=(N=a).D.M,e(N.D.uc),x=N.yb;x<N.Hb;++x){A=x,L=k;var C=(E=(U=N).D).Nb;_=U.R;var E=E.wa[E.Y+A],I=U.sa,F=U.ta+16*C*_+16*A,T=E.dd,M=E.tc;if(0!=M)if(e(3<=M),1==U.L)0<A&&wr(I,F,_,M+4),E.La&&xr(I,F,_,M),0<L&&yr(I,F,_,M+4),E.La&&_r(I,F,_,M);else{var D=U.B,B=U.qa,R=U.ra+8*C*D+8*A,q=U.Ha,U=U.Ia+8*C*D+8*A;C=E.ld,0<A&&(hr(I,F,_,M+4,T,C),pr(B,R,q,U,D,M+4,T,C)),E.La&&(mr(I,F,_,M,T,C),br(B,R,q,U,D,M,T,C)),0<L&&(fr(I,F,_,M+4,T,C),dr(B,R,q,U,D,M+4,T,C)),E.La&&(gr(I,F,_,M,T,C),vr(B,R,q,U,D,M,T,C))}}if(a.ia&&alert("todo:DitherRow"),null!=c.put){if(x=16*P,P=16*(P+1),j?(c.y=a.sa,c.O=a.ta+w,c.f=a.qa,c.N=a.ra+S,c.ea=a.Ha,c.W=a.Ia+S):(x-=y,c.y=d,c.O=p,c.f=g,c.N=f,c.ea=m,c.W=v),b||(P-=y),P>c.o&&(P=c.o),c.F=null,c.J=null,null!=a.Fa&&0<a.Fa.length&&x<P&&(c.J=hn(a,c,x,P-x),c.F=a.mb,null==c.F&&0==c.F.length)){l=Yt(a,3,"Could not decode alpha data.");break t}x<c.j&&(y=c.j-x,x=c.j,e(!(1&y)),c.O+=a.R*y,c.N+=a.B*(y>>1),c.W+=a.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),x<P&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=x-c.j,c.U=c.va-c.v,c.T=P-x,l=c.put(c))}s+1!=a.Ic||b||(r(a.sa,a.ta-u,d,p+16*a.R,u),r(a.qa,a.ra-h,g,f+8*a.B,h),r(a.Ha,a.Ia-h,m,v+8*a.B,h))}if(!l)return Yt(t,6,"Output aborted.")}return 1}(t,n)),null!=n.bc&&n.bc(n),a&=1}return a?(t.cb=0,a):0}function te(t,e,n,r,i){i=t[e+n+32*r]+(i>>3),t[e+n+32*r]=-256&i?0>i?0:255:i}function ee(t,e,n,r,i,o){te(t,e,0,n,r+i),te(t,e,1,n,r+o),te(t,e,2,n,r-o),te(t,e,3,n,r-i)}function ne(t){return(20091*t>>16)+t}function re(t,e,n,r){var i,s=0,a=o(16);for(i=0;4>i;++i){var c=t[e+0]+t[e+8],l=t[e+0]-t[e+8],u=(35468*t[e+4]>>16)-ne(t[e+12]),f=ne(t[e+4])+(35468*t[e+12]>>16);a[s+0]=c+f,a[s+1]=l+u,a[s+2]=l-u,a[s+3]=c-f,s+=4,e++}for(i=s=0;4>i;++i)c=(t=a[s+0]+4)+a[s+8],l=t-a[s+8],u=(35468*a[s+4]>>16)-ne(a[s+12]),te(n,r,0,0,c+(f=ne(a[s+4])+(35468*a[s+12]>>16))),te(n,r,1,0,l+u),te(n,r,2,0,l-u),te(n,r,3,0,c-f),s++,r+=32}function ie(t,e,n,r){var i=t[e+0]+4,o=35468*t[e+4]>>16,s=ne(t[e+4]),a=35468*t[e+1]>>16;ee(n,r,0,i+s,t=ne(t[e+1]),a),ee(n,r,1,i+o,t,a),ee(n,r,2,i-o,t,a),ee(n,r,3,i-s,t,a)}function oe(t,e,n,r,i){re(t,e,n,r),i&&re(t,e+16,n,r+4)}function se(t,e,n,r){sr(t,e+0,n,r,1),sr(t,e+32,n,r+128,1)}function ae(t,e,n,r){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(n,r,e,i,t)}function ce(t,e,n,r){t[e+0]&&lr(t,e+0,n,r),t[e+16]&&lr(t,e+16,n,r+4),t[e+32]&&lr(t,e+32,n,r+128),t[e+48]&&lr(t,e+48,n,r+128+4)}function le(t,e,n,r){var i,s=o(16);for(i=0;4>i;++i){var a=t[e+0+i]+t[e+12+i],c=t[e+4+i]+t[e+8+i],l=t[e+4+i]-t[e+8+i],u=t[e+0+i]-t[e+12+i];s[0+i]=a+c,s[8+i]=a-c,s[4+i]=u+l,s[12+i]=u-l}for(i=0;4>i;++i)a=(t=s[0+4*i]+3)+s[3+4*i],c=s[1+4*i]+s[2+4*i],l=s[1+4*i]-s[2+4*i],u=t-s[3+4*i],n[r+0]=a+c>>3,n[r+16]=u+l>>3,n[r+32]=a-c>>3,n[r+48]=u-l>>3,r+=64}function ue(t,e,n){var r,i=e-32,o=Fr,s=255-t[i-1];for(r=0;r<n;++r){var a,c=o,l=s+t[e-1];for(a=0;a<n;++a)t[e+a]=c[l+t[i+a]];e+=32}}function fe(t,e){ue(t,e,4)}function he(t,e){ue(t,e,8)}function de(t,e){ue(t,e,16)}function pe(t,e){var n;for(n=0;16>n;++n)r(t,e+32*n,t,e-32,16)}function ge(t,e){var n;for(n=16;0<n;--n)i(t,e,t[e-1],16),e+=32}function me(t,e,n){var r;for(r=0;16>r;++r)i(e,n+32*r,t,16)}function ve(t,e){var n,r=16;for(n=0;16>n;++n)r+=t[e-1+32*n]+t[e+n-32];me(r>>5,t,e)}function be(t,e){var n,r=8;for(n=0;16>n;++n)r+=t[e-1+32*n];me(r>>4,t,e)}function ye(t,e){var n,r=8;for(n=0;16>n;++n)r+=t[e+n-32];me(r>>4,t,e)}function we(t,e){me(128,t,e)}function _e(t,e,n){return t+2*e+n+2>>2}function xe(t,e){var n,i=e-32;for(i=new Uint8Array([_e(t[i-1],t[i+0],t[i+1]),_e(t[i+0],t[i+1],t[i+2]),_e(t[i+1],t[i+2],t[i+3]),_e(t[i+2],t[i+3],t[i+4])]),n=0;4>n;++n)r(t,e+32*n,i,0,i.length)}function Ae(t,e){var n=t[e-1],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96];j(t,e+0,16843009*_e(t[e-1-32],n,r)),j(t,e+32,16843009*_e(n,r,i)),j(t,e+64,16843009*_e(r,i,o)),j(t,e+96,16843009*_e(i,o,o))}function Le(t,e){var n,r=4;for(n=0;4>n;++n)r+=t[e+n-32]+t[e-1+32*n];for(r>>=3,n=0;4>n;++n)i(t,e+32*n,r,4)}function Ne(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1-32],s=t[e+0-32],a=t[e+1-32],c=t[e+2-32],l=t[e+3-32];t[e+0+96]=_e(r,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=_e(n,r,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=_e(o,n,r),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=_e(s,o,n),t[e+3+64]=t[e+2+32]=t[e+1+0]=_e(a,s,o),t[e+3+32]=t[e+2+0]=_e(c,a,s),t[e+3+0]=_e(l,c,a)}function Se(t,e){var n=t[e+1-32],r=t[e+2-32],i=t[e+3-32],o=t[e+4-32],s=t[e+5-32],a=t[e+6-32],c=t[e+7-32];t[e+0+0]=_e(t[e+0-32],n,r),t[e+1+0]=t[e+0+32]=_e(n,r,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=_e(r,i,o),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=_e(i,o,s),t[e+3+32]=t[e+2+64]=t[e+1+96]=_e(o,s,a),t[e+3+64]=t[e+2+96]=_e(s,a,c),t[e+3+96]=_e(a,c,c)}function Pe(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1-32],s=t[e+0-32],a=t[e+1-32],c=t[e+2-32],l=t[e+3-32];t[e+0+0]=t[e+1+64]=o+s+1>>1,t[e+1+0]=t[e+2+64]=s+a+1>>1,t[e+2+0]=t[e+3+64]=a+c+1>>1,t[e+3+0]=c+l+1>>1,t[e+0+96]=_e(i,r,n),t[e+0+64]=_e(r,n,o),t[e+0+32]=t[e+1+96]=_e(n,o,s),t[e+1+32]=t[e+2+96]=_e(o,s,a),t[e+2+32]=t[e+3+96]=_e(s,a,c),t[e+3+32]=_e(a,c,l)}function Oe(t,e){var n=t[e+0-32],r=t[e+1-32],i=t[e+2-32],o=t[e+3-32],s=t[e+4-32],a=t[e+5-32],c=t[e+6-32],l=t[e+7-32];t[e+0+0]=n+r+1>>1,t[e+1+0]=t[e+0+64]=r+i+1>>1,t[e+2+0]=t[e+1+64]=i+o+1>>1,t[e+3+0]=t[e+2+64]=o+s+1>>1,t[e+0+32]=_e(n,r,i),t[e+1+32]=t[e+0+96]=_e(r,i,o),t[e+2+32]=t[e+1+96]=_e(i,o,s),t[e+3+32]=t[e+2+96]=_e(o,s,a),t[e+3+64]=_e(s,a,c),t[e+3+96]=_e(a,c,l)}function je(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96];t[e+0+0]=n+r+1>>1,t[e+2+0]=t[e+0+32]=r+i+1>>1,t[e+2+32]=t[e+0+64]=i+o+1>>1,t[e+1+0]=_e(n,r,i),t[e+3+0]=t[e+1+32]=_e(r,i,o),t[e+3+32]=t[e+1+64]=_e(i,o,o),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=o}function ke(t,e){var n=t[e-1+0],r=t[e-1+32],i=t[e-1+64],o=t[e-1+96],s=t[e-1-32],a=t[e+0-32],c=t[e+1-32],l=t[e+2-32];t[e+0+0]=t[e+2+32]=n+s+1>>1,t[e+0+32]=t[e+2+64]=r+n+1>>1,t[e+0+64]=t[e+2+96]=i+r+1>>1,t[e+0+96]=o+i+1>>1,t[e+3+0]=_e(a,c,l),t[e+2+0]=_e(s,a,c),t[e+1+0]=t[e+3+32]=_e(n,s,a),t[e+1+32]=t[e+3+64]=_e(r,n,s),t[e+1+64]=t[e+3+96]=_e(i,r,n),t[e+1+96]=_e(o,i,r)}function Ce(t,e){var n;for(n=0;8>n;++n)r(t,e+32*n,t,e-32,8)}function Ee(t,e){var n;for(n=0;8>n;++n)i(t,e,t[e-1],8),e+=32}function Ie(t,e,n){var r;for(r=0;8>r;++r)i(e,n+32*r,t,8)}function Fe(t,e){var n,r=8;for(n=0;8>n;++n)r+=t[e+n-32]+t[e-1+32*n];Ie(r>>4,t,e)}function Te(t,e){var n,r=4;for(n=0;8>n;++n)r+=t[e+n-32];Ie(r>>3,t,e)}function Me(t,e){var n,r=4;for(n=0;8>n;++n)r+=t[e-1+32*n];Ie(r>>3,t,e)}function De(t,e){Ie(128,t,e)}function Be(t,e,n){var r=t[e-n],i=t[e+0],o=3*(i-r)+Er[1020+t[e-2*n]-t[e+n]],s=Ir[112+(o+4>>3)];t[e-n]=Fr[255+r+Ir[112+(o+3>>3)]],t[e+0]=Fr[255+i-s]}function Re(t,e,n,r){var i=t[e+0],o=t[e+n];return Tr[255+t[e-2*n]-t[e-n]]>r||Tr[255+o-i]>r}function qe(t,e,n,r){return 4*Tr[255+t[e-n]-t[e+0]]+Tr[255+t[e-2*n]-t[e+n]]<=r}function Ue(t,e,n,r,i){var o=t[e-3*n],s=t[e-2*n],a=t[e-n],c=t[e+0],l=t[e+n],u=t[e+2*n],f=t[e+3*n];return 4*Tr[255+a-c]+Tr[255+s-l]>r?0:Tr[255+t[e-4*n]-o]<=i&&Tr[255+o-s]<=i&&Tr[255+s-a]<=i&&Tr[255+f-u]<=i&&Tr[255+u-l]<=i&&Tr[255+l-c]<=i}function ze(t,e,n,r){var i=2*r+1;for(r=0;16>r;++r)qe(t,e+r,n,i)&&Be(t,e+r,n)}function He(t,e,n,r){var i=2*r+1;for(r=0;16>r;++r)qe(t,e+r*n,1,i)&&Be(t,e+r*n,1)}function We(t,e,n,r){var i;for(i=3;0<i;--i)ze(t,e+=4*n,n,r)}function Ve(t,e,n,r){var i;for(i=3;0<i;--i)He(t,e+=4,n,r)}function Ge(t,e,n,r,i,o,s,a){for(o=2*o+1;0<i--;){if(Ue(t,e,n,o,s))if(Re(t,e,n,a))Be(t,e,n);else{var c=t,l=e,u=n,f=c[l-2*u],h=c[l-u],d=c[l+0],p=c[l+u],g=c[l+2*u],m=27*(b=Er[1020+3*(d-h)+Er[1020+f-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;c[l-3*u]=Fr[255+c[l-3*u]+b],c[l-2*u]=Fr[255+f+v],c[l-u]=Fr[255+h+m],c[l+0]=Fr[255+d-m],c[l+u]=Fr[255+p-v],c[l+2*u]=Fr[255+g-b]}e+=r}}function $e(t,e,n,r,i,o,s,a){for(o=2*o+1;0<i--;){if(Ue(t,e,n,o,s))if(Re(t,e,n,a))Be(t,e,n);else{var c=t,l=e,u=n,f=c[l-u],h=c[l+0],d=c[l+u],p=Ir[112+(4+(g=3*(h-f))>>3)],g=Ir[112+(g+3>>3)],m=p+1>>1;c[l-2*u]=Fr[255+c[l-2*u]+m],c[l-u]=Fr[255+f+g],c[l+0]=Fr[255+h-p],c[l+u]=Fr[255+d-m]}e+=r}}function Ye(t,e,n,r,i,o){Ge(t,e,n,1,16,r,i,o)}function Xe(t,e,n,r,i,o){Ge(t,e,1,n,16,r,i,o)}function Je(t,e,n,r,i,o){var s;for(s=3;0<s;--s)$e(t,e+=4*n,n,1,16,r,i,o)}function Ke(t,e,n,r,i,o){var s;for(s=3;0<s;--s)$e(t,e+=4,1,n,16,r,i,o)}function Qe(t,e,n,r,i,o,s,a){Ge(t,e,i,1,8,o,s,a),Ge(n,r,i,1,8,o,s,a)}function Ze(t,e,n,r,i,o,s,a){Ge(t,e,1,i,8,o,s,a),Ge(n,r,1,i,8,o,s,a)}function tn(t,e,n,r,i,o,s,a){$e(t,e+4*i,i,1,8,o,s,a),$e(n,r+4*i,i,1,8,o,s,a)}function en(t,e,n,r,i,o,s,a){$e(t,e+4,1,i,8,o,s,a),$e(n,r+4,1,i,8,o,s,a)}function nn(){this.ba=new st,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ct,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function rn(){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 on(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function sn(){this.ua=0,this.Wa=new T,this.vb=new T,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function an(){this.xb=this.a=0,this.l=new Gt,this.ca=new st,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new _,this.Pb=0,this.wd=new _,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new sn,this.ab=0,this.gc=s(4,on),this.Oc=0}function cn(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ln(t,e,n,r,i,o,s){for(t=null==t?0:t[e+0],e=0;e<s;++e)i[o+e]=t+n[r+e]&255,t=i[o+e]}function un(t,e,n,r,i,o,s){var a;if(null==t)ln(null,null,n,r,i,o,s);else for(a=0;a<s;++a)i[o+a]=t[e+a]+n[r+a]&255}
vendor: 4,670 bytes, line 189
189function fn(t,e,n,r,i,o,s){if(null==t)ln(null,null,n,r,i,o,s);else{var a,c=t[e+0],l=c,u=c;for(a=0;a<s;++a)l=u+(c=t[e+a])-l,u=n[r+a]+(-256&l?0>l?0:255:l)&255,l=c,i[o+a]=u}}function hn(t,n,i,s){var a=n.width,c=n.o;if(e(null!=t&&null!=n),0>i||0>=s||i+s>c)return null;if(!t.Cc){if(null==t.ga){var l;if(t.ga=new cn,(l=null==t.ga)||(l=n.width*n.o,e(0==t.Gb.length),t.Gb=o(l),t.Uc=0,null==t.Gb?l=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,l=1),l=!l),!l){l=t.ga;var u=t.Fa,f=t.P,h=t.qc,d=t.mb,p=t.nb,g=f+1,m=h-1,b=l.l;if(e(null!=u&&null!=d&&null!=n),mi[0]=null,mi[1]=ln,mi[2]=un,mi[3]=fn,l.ca=d,l.tb=p,l.c=n.width,l.i=n.height,e(0<l.c&&0<l.i),1>=h)n=0;else if(l.$a=u[f+0]>>0&3,l.Z=u[f+0]>>2&3,l.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||f)n=0;else if(b.put=dt,b.ac=ht,b.bc=pt,b.ma=l,b.width=n.width,b.height=n.height,b.Da=n.Da,b.v=n.v,b.va=n.va,b.j=n.j,b.o=n.o,l.$a)t:{e(1==l.$a),n=Ot();e:for(;;){if(null==n){n=0;break t}if(e(null!=l),l.mc=n,n.c=l.c,n.i=l.i,n.l=l.l,n.l.ma=l,n.l.width=l.c,n.l.height=l.i,n.a=0,v(n.m,u,g,m),!jt(l.c,l.i,1,n,null))break e;if(1==n.ab&&3==n.gc[0].hc&&At(n.s)?(l.ic=1,u=n.c*n.i,n.Ta=null,n.Ua=0,n.V=o(u),n.Ba=0,null==n.V?(n.a=1,n=0):n=1):(l.ic=0,n=kt(n,l.c)),!n)break e;n=1;break t}l.mc=null,n=0}else n=m>=l.c*l.i;l=!n}if(l)return null;1!=t.ga.Lc?t.Ga=0:s=c-i}e(null!=t.ga),e(i+s<=c);t:{if(n=(u=t.ga).c,c=u.l.o,0==u.$a){if(g=t.rc,m=t.Vc,b=t.Fa,f=t.P+1+i*n,h=t.mb,d=t.nb+i*n,e(f<=t.P+t.qc),0!=u.Z)for(e(null!=mi[u.Z]),l=0;l<s;++l)mi[u.Z](g,m,b,f,h,d,n),g=h,m=d,d+=n,f+=n;else for(l=0;l<s;++l)r(h,d,b,f,n),g=h,m=d,d+=n,f+=n;t.rc=g,t.Vc=m}else{if(e(null!=u.mc),n=i+s,e(null!=(l=u.mc)),e(n<=l.i),l.C>=n)n=1;else if(u.ic||vn(),u.ic){u=l.V,g=l.Ba,m=l.c;var y=l.i,w=(b=1,f=l.$/m,h=l.$%m,d=l.m,p=l.s,l.$),_=m*y,x=m*n,L=p.wc,S=w<x?wt(p,h,f):null;e(w<=_),e(n<=y),e(At(p));e:for(;;){for(;!d.h&&w<x;){if(h&L||(S=wt(p,h,f)),e(null!=S),N(d),256>(y=bt(S.G[0],S.H[0],d)))u[g+w]=y,++w,++h>=m&&(h=0,++f<=n&&!(f%16)&&Nt(l,f));else{if(!(280>y)){b=0;break e}y=mt(y-256,d);var P,O=bt(S.G[4],S.H[4],d);if(N(d),!(w>=(O=vt(m,O=mt(O,d)))&&_-w>=y)){b=0;break e}for(P=0;P<y;++P)u[g+w+P]=u[g+w+P-O];for(w+=y,h+=y;h>=m;)h-=m,++f<=n&&!(f%16)&&Nt(l,f);w<x&&h&L&&(S=wt(p,h,f))}e(d.h==A(d))}Nt(l,f>n?n:f);break e}!b||d.h&&w<_?(b=0,l.a=d.h?5:3):l.$=w,n=b}else n=St(l,l.V,l.Ba,l.c,l.i,n,Ct);if(!n){s=0;break t}}i+s>=c&&(t.Cc=1),s=1}if(!s)return null;if(t.Cc&&(null!=(s=t.ga)&&(s.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*a}function dn(t,e,n,r,i,o){for(;0<i--;){var s,a=t,c=e+(n?1:0),l=t,u=e+(n?0:3);for(s=0;s<r;++s){var f=l[u+4*s];255!=f&&(f*=32897,a[c+4*s+0]=a[c+4*s+0]*f>>23,a[c+4*s+1]=a[c+4*s+1]*f>>23,a[c+4*s+2]=a[c+4*s+2]*f>>23)}e+=o}}function pn(t,e,n,r,i){for(;0<r--;){var o;for(o=0;o<n;++o){var s=t[e+2*o+0],a=15&(l=t[e+2*o+1]),c=4369*a,l=(240&l|l>>4)*c>>16;t[e+2*o+0]=(240&s|s>>4)*c>>16&240|(15&s|s<<4)*c>>16>>4&15,t[e+2*o+1]=240&l|a}e+=i}}function gn(t,e,n,r,i,o,s,a){var c,l,u=255;for(l=0;l<i;++l){for(c=0;c<r;++c){var f=t[e+c];o[s+4*c]=f,u&=f}e+=n,s+=a}return 255!=u}function mn(t,e,n,r,i){var o;for(o=0;o<i;++o)n[r+o]=t[e+o]>>8}function vn(){Ar=dn,Lr=pn,Nr=gn,Sr=mn}function bn(n,r,i){t[n]=function(t,n,o,s,a,c,l,u,f,h,d,p,g,m,v,b,y){var w,_=y-1>>1,x=a[c+0]|l[u+0]<<16,A=f[h+0]|d[p+0]<<16;e(null!=t);var L=3*x+A+131074>>2;for(r(t[n+0],255&L,L>>16,g,m),null!=o&&(L=3*A+x+131074>>2,r(o[s+0],255&L,L>>16,v,b)),w=1;w<=_;++w){var N=a[c+w]|l[u+w]<<16,S=f[h+w]|d[p+w]<<16,P=x+N+A+S+524296,O=P+2*(N+A)>>3;L=O+x>>1,x=(P=P+2*(x+S)>>3)+N>>1,r(t[n+2*w-1],255&L,L>>16,g,m+(2*w-1)*i),r(t[n+2*w-0],255&x,x>>16,g,m+(2*w-0)*i),null!=o&&(L=P+A>>1,x=O+S>>1,r(o[s+2*w-1],255&L,L>>16,v,b+(2*w-1)*i),r(o[s+2*w+0],255&x,x>>16,v,b+(2*w+0)*i)),x=N,A=S}1&y||(L=3*x+A+131074>>2,r(t[n+y-1],255&L,L>>16,g,m+(y-1)*i),null!=o&&(L=3*A+x+131074>>2,r(o[s+y-1],255&L,L>>16,v,b+(y-1)*i)))}}function yn(){vi[Mr]=bi,vi[Dr]=wi,vi[Br]=yi,vi[Rr]=_i,vi[qr]=xi,vi[Ur]=Ai,vi[zr]=Li,vi[Hr]=wi,vi[Wr]=_i,vi[Vr]=xi,vi[Gr]=Ai}function wn(t){return t&~ki?0>t?0:255:t>>ji}function _n(t,e){return wn((19077*t>>8)+(26149*e>>8)-14234)}function xn(t,e,n){return wn((19077*t>>8)-(6419*e>>8)-(13320*n>>8)+8708)}function An(t,e){return wn((19077*t>>8)+(33050*e>>8)-17685)}function Ln(t,e,n,r,i){r[i+0]=_n(t,n),r[i+1]=xn(t,e,n),r[i+2]=An(t,e)}function Nn(t,e,n,r,i){r[i+0]=An(t,e),r[i+1]=xn(t,e,n),r[i+2]=_n(t,n)}function Sn(t,e,n,r,i){var o=xn(t,e,n);e=o<<3&224|An(t,e)>>3,r[i+0]=248&_n(t,n)|o>>5,r[i+1]=e}function Pn(t,e,n,r,i){var o=240&An(t,e)|15;r[i+0]=240&_n(t,n)|xn(t,e,n)>>4,r[i+1]=o}function On(t,e,n,r,i){r[i+0]=255,Ln(t,e,n,r,i+1)}function jn(t,e,n,r,i){Nn(t,e,n,r,i),r[i+3]=255}function kn(t,e,n,r,i){Ln(t,e,n,r,i),r[i+3]=255}function Vt(t,e){return 0>t?0:t>e?e:t}
vendor: 2,380 bytes, line 189
189function Cn(e,n,r){t[e]=function(t,e,i,o,s,a,c,l,u){for(var f=l+(-2&u)*r;l!=f;)n(t[e+0],i[o+0],s[a+0],c,l),n(t[e+1],i[o+0],s[a+0],c,l+r),e+=2,++o,++a,l+=2*r;1&u&&n(t[e+0],i[o+0],s[a+0],c,l)}}function En(t,e,n){return 0==n?0==t?0==e?6:5:0==e?4:0:n}function In(t,e,n,r,i){switch(t>>>30){case 3:sr(e,n,r,i,0);break;case 2:ar(e,n,r,i);break;case 1:lr(e,n,r,i)}}function Fn(t,e){var n,o,s=e.M,a=e.Nb,c=t.oc,l=t.pc+40,u=t.oc,f=t.pc+584,h=t.oc,d=t.pc+600;for(n=0;16>n;++n)c[l+32*n-1]=129;for(n=0;8>n;++n)u[f+32*n-1]=129,h[d+32*n-1]=129;for(0<s?c[l-1-32]=u[f-1-32]=h[d-1-32]=129:(i(c,l-32-1,127,21),i(u,f-32-1,127,9),i(h,d-32-1,127,9)),o=0;o<t.za;++o){var p=e.ya[e.aa+o];if(0<o){for(n=-1;16>n;++n)r(c,l+32*n-4,c,l+32*n+12,4);for(n=-1;8>n;++n)r(u,f+32*n-4,u,f+32*n+4,4),r(h,d+32*n-4,h,d+32*n+4,4)}var g=t.Gd,m=t.Hd+o,v=p.ad,b=p.Hc;if(0<s&&(r(c,l-32,g[m].y,0,16),r(u,f-32,g[m].f,0,8),r(h,d-32,g[m].ea,0,8)),p.Za){var y=c,w=l-32+16;for(0<s&&(o>=t.za-1?i(y,w,g[m].y[15],4):r(y,w,g[m+1].y,0,4)),n=0;4>n;n++)y[w+128+n]=y[w+256+n]=y[w+384+n]=y[w+0+n];for(n=0;16>n;++n,b<<=2)y=c,w=l+Bi[n],hi[p.Ob[n]](y,w),In(b,v,16*+n,y,w)}else if(y=En(o,s,p.Ob[0]),fi[y](c,l),0!=b)for(n=0;16>n;++n,b<<=2)In(b,v,16*+n,c,l+Bi[n]);for(n=p.Gc,y=En(o,s,p.Dd),di[y](u,f),di[y](h,d),b=v,y=u,w=f,255&(p=n>>0)&&(170&p?cr(b,256,y,w):ur(b,256,y,w)),p=h,b=d,255&(n>>=8)&&(170&n?cr(v,320,p,b):ur(v,320,p,b)),s<t.Ub-1&&(r(g[m].y,0,c,l+480,16),r(g[m].f,0,u,f+224,8),r(g[m].ea,0,h,d+224,8)),n=8*a*t.B,g=t.sa,m=t.ta+16*o+16*a*t.R,v=t.qa,p=t.ra+8*o+n,b=t.Ha,y=t.Ia+8*o+n,n=0;16>n;++n)r(g,m+n*t.R,c,l+32*n,16);for(n=0;8>n;++n)r(v,p+n*t.B,u,f+32*n,8),r(b,y+n*t.B,h,d+32*n,8)}}function Tn(t,r,i,o,s,a,c,l,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,g=null!=u?u:new rn;if(null==t||12>i)return 7;g.data=t,g.w=r,g.ha=i,r=[r],i=[i],g.gb=[g.gb];t:{var m=r,b=i,y=g.gb;if(e(null!=t),e(null!=b),e(null!=y),y[0]=0,12<=b[0]&&!n(t,m[0],"RIFF")){if(n(t,m[0]+8,"WEBP")){y=3;break t}var w=E(t,m[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>b[0]-8){y=7;break t}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],i=i[0];;){t:{var x=t;b=r,y=i;var A=f,L=h,N=m=[0];if((O=d=[d])[0]=0,8>y[0])y=7;else{if(!n(x,b[0],"VP8X")){if(10!=E(x,b[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var S=E(x,b[0]+8),P=1+C(x,b[0]+12);if(2147483648<=P*(x=1+C(x,b[0]+15))){y=3;break t}null!=N&&(N[0]=S),null!=A&&(A[0]=P),null!=L&&(L[0]=x),b[0]+=18,y[0]-=18,O[0]=1}
vendor: 6,133 bytes, line 189
189y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=a&&(a[0]=!!(16&m)),null!=c&&(c[0]=b),null!=l&&(l[0]=0),c=f[0],m=h[0],d&&b&&null==u){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!n(t,r[0],"ALPH")){i=[i],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];t:{S=t,y=r,w=i;var O=g.gb;A=g.na,L=g.P,N=g.Sa,P=22,e(null!=S),e(null!=w),x=y[0];var j=w[0];for(e(null!=A),e(null!=N),A[0]=null,L[0]=null,N[0]=0;;){if(y[0]=x,w[0]=j,8>j){y=7;break t}var k=E(S,x+4);if(4294967286<k){y=3;break t}var I=8+k+1&-2;if(P+=I,0<O&&P>O){y=3;break t}if(!n(S,x,"VP8 ")||!n(S,x,"VP8L")){y=0;break t}if(j[0]<I){y=7;break t}n(S,x,"ALPH")||(A[0]=S,L[0]=x+8,N[0]=k),x+=I,j-=I}}if(i=i[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}i=[i],g.Ja=[g.Ja],g.xa=[g.xa];t:if(O=t,y=r,w=i,A=g.gb[0],L=g.Ja,N=g.xa,S=y[0],x=!n(O,S,"VP8 "),P=!n(O,S,"VP8L"),e(null!=O),e(null!=w),e(null!=L),e(null!=N),8>w[0])y=7;else{if(x||P){if(O=E(O,S+4),12<=A&&O>A-12){y=3;break t}if(p&&O>w[0]-8){y=7;break t}L[0]=O,y[0]+=8,w[0]-=8,N[0]=P}else N[0]=5<=w[0]&&47==O[S+0]&&!(O[S+4]>>5),L[0]=w[0];y=0}if(i=i[0],g.Ja=g.Ja[0],g.xa=g.xa[0],r=r[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==l||b||(l[0]=g.xa?2:1),c=[c],m=[m],g.xa){if(5>i){y=7;break}l=c,p=m,b=a,null==t||5>i?t=0:5<=i&&47==t[r+0]&&!(t[r+4]>>5)?(w=[0],O=[0],A=[0],v(L=new _,t,r,i),gt(L,w,O,A)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=O[0]),null!=b&&(b[0]=A[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}l=m,null==t||10>i||!Xt(t,r+3,i-3)?t=0:(p=t[r+0]|t[r+1]<<8|t[r+2]<<16,b=16383&(t[r+7]<<8|t[r+6]),t=16383&(t[r+9]<<8|t[r+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!t?t=0:(c&&(c[0]=b),l&&(l[0]=t),t=1))}if(!t)return 3;if(c=c[0],m=m[0],d&&(f[0]!=c||h[0]!=m))return 3;null!=u&&(u[0]=g,u.offset=r-u.w,e(4294967286>r-u.w),e(u.offset==u.ha-i));break}return 0==y||7==y&&d&&null==u?(null!=a&&(a[0]|=null!=g.na&&0<g.na.length),null!=o&&(o[0]=c),null!=s&&(s[0]=m),0):y}function Mn(t,e,n){var r=e.width,i=e.height,o=0,s=0,a=r,c=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(a=t.cd,c=t.bd,o=t.v,s=t.j,11>n||(o&=-2,s&=-2),0>o||0>s||0>=a||0>=c||o+a>r||s+c>i))return 0;if(e.v=o,e.j=s,e.va=o+a,e.o=s+c,e.U=a,e.T=c,e.da=null!=t&&0<t.da,e.da){if(!M(a,c,n=[t.ib],o=[t.hb]))return 0;e.ib=n[0],e.hb=o[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*r/4&&e.hb<3*i/4,e.Kb=0),1}function Dn(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,t=t.height,e.O+=(t-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 Bn(t,e,n,r){if(null==r||0>=t||0>=e)return 2;if(null!=n){if(n.Da){var i=n.cd,s=n.bd,a=-2&n.v,c=-2&n.j;if(0>a||0>c||0>=i||0>=s||a+i>t||c+s>e)return 2;t=i,e=s}if(n.da){if(!M(t,e,i=[n.ib],s=[n.hb]))return 2;t=i[0],e=s[0]}}r.width=t,r.height=e;t:{var l=r.width,u=r.height;if(t=r.S,0>=l||0>=u||!(t>=Mr&&13>t))t=2;else{if(0>=r.Rd&&null==r.sd){a=s=i=e=0;var f=(c=l*zi[t])*u;if(11>t||(s=(u+1)/2*(e=(l+1)/2),12==t&&(a=(i=l)*u)),null==(u=o(f+2*s+a))){t=1;break t}r.sd=u,11>t?((l=r.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=f):((l=r.f.kb).y=u,l.O=0,l.fa=c,l.Fd=f,l.f=u,l.N=0+f,l.Ab=e,l.Cd=s,l.ea=u,l.W=0+f+s,l.Db=e,l.Ed=s,12==t&&(l.F=u,l.J=0+f+2*s),l.Tc=a,l.lb=i)}if(e=1,i=r.S,s=r.width,a=r.height,i>=Mr&&13>i)if(11>i)t=r.f.RGBA,e&=(c=Math.abs(t.A))*(a-1)+s<=t.size,e&=c>=s*zi[i],e&=null!=t.eb;else{t=r.f.kb,c=(s+1)/2,f=(a+1)/2,l=Math.abs(t.fa),u=Math.abs(t.Ab);var h=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(a-1)+s;e&=l*(a-1)+s<=t.Fd,e&=u*(f-1)+c<=t.Cd,e=(e&=h*(f-1)+c<=t.Ed)&l>=s&u>=c&h>=c,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=s,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=n&&n.fd&&(t=Dn(r)),t}var Rn=64,qn=[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],Un=24,zn=32,Hn=8,Wn=[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];R("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,n){return e[n+0]},t.Predictor3=function(t,e,n){return e[n+1]},t.Predictor4=function(t,e,n){return e[n-1]},t.Predictor5=function(t,e,n){return U(U(t,e[n+1]),e[n+0])},t.Predictor6=function(t,e,n){return U(t,e[n-1])},t.Predictor7=function(t,e,n){return U(t,e[n+0])},t.Predictor8=function(t,e,n){return U(e[n-1],e[n+0])},t.Predictor9=function(t,e,n){return U(e[n+0],e[n+1])},t.Predictor10=function(t,e,n){return U(U(t,e[n-1]),U(e[n+0],e[n+1]))},t.Predictor11=function(t,e,n){var r=e[n+0];return 0>=W(r>>24&255,t>>24&255,(e=e[n-1])>>24&255)+W(r>>16&255,t>>16&255,e>>16&255)+W(r>>8&255,t>>8&255,e>>8&255)+W(255&r,255&t,255&e)?r:t},t.Predictor12=function(t,e,n){var r=e[n+0];return(z((t>>24&255)+(r>>24&255)-((e=e[n-1])>>24&255))<<24|z((t>>16&255)+(r>>16&255)-(e>>16&255))<<16|z((t>>8&255)+(r>>8&255)-(e>>8&255))<<8|z((255&t)+(255&r)-(255&e)))>>>0},t.Predictor13=function(t,e,n){var r=e[n-1];return(H((t=U(t,e[n+0]))>>24&255,r>>24&255)<<24|H(t>>16&255,r>>16&255)<<16|H(t>>8&255,r>>8&255)<<8|H(t>>0&255,r>>0&255))>>>0};var Vn=t.PredictorAdd0;t.PredictorAdd1=V,R("Predictor2","PredictorAdd2"),R("Predictor3","PredictorAdd3"),R("Predictor4","PredictorAdd4"),R("Predictor5","PredictorAdd5"),R("Predictor6","PredictorAdd6"),R("Predictor7","PredictorAdd7"),R("Predictor8","PredictorAdd8"),R("Predictor9","PredictorAdd9"),R("Predictor10","PredictorAdd10"),R("Predictor11","PredictorAdd11"),R("Predictor12","PredictorAdd12"),R("Predictor13","PredictorAdd13");var Gn=t.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}
vendor: 5,063 bytes, line 189
189));var $n,Yn=t.ColorIndexInverseTransform,Xn=t.MapARGB,Jn=t.VP8LColorIndexInverseTransformAlpha,Kn=t.MapAlpha,Qn=t.VP8LPredictorsAdd=[];Qn.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Zn,tr,er,nr,rr,ir,or,sr,ar,cr,lr,ur,fr,hr,dr,pr,gr,mr,vr,br,yr,wr,_r,xr,Ar,Lr,Nr,Sr,Pr=o(511),Or=o(2041),jr=o(225),kr=o(767),Cr=0,Er=Or,Ir=jr,Fr=kr,Tr=Pr,Mr=0,Dr=1,Br=2,Rr=3,qr=4,Ur=5,zr=6,Hr=7,Wr=8,Vr=9,Gr=10,$r=[2,3,7],Yr=[3,3,11],Xr=[280,256,256,256,40],Jr=[0,1,1,1,0],Kr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Qr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Zr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[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],ni=[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],ri=null,ii=[[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]],oi=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],si=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ai=[[[[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
1895,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]]]],ci=[[[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,
1891,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]]],li=[[[[255,255,255,255,255,255,255,255,255,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: 6,003 bytes, lines 189-198
1895,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]]]],ui=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fi=[],hi=[],di=[],pi=1,gi=2,mi=[],vi=[];bn("UpsampleRgbLinePair",Ln,3),bn("UpsampleBgrLinePair",Nn,3),bn("UpsampleRgbaLinePair",kn,4),bn("UpsampleBgraLinePair",jn,4),bn("UpsampleArgbLinePair",On,4),bn("UpsampleRgba4444LinePair",Pn,2),bn("UpsampleRgb565LinePair",Sn,2);var bi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,_i=t.UpsampleBgraLinePair,xi=t.UpsampleArgbLinePair,Ai=t.UpsampleRgba4444LinePair,Li=t.UpsampleRgb565LinePair,Ni=16,Si=1<<Ni-1,Pi=-227,Oi=482,ji=6,ki=(256<<ji)-1,Ci=0,Ei=o(256),Ii=o(256),Fi=o(256),Ti=o(256),Mi=o(Oi-Pi),Di=o(Oi-Pi);Cn("YuvToRgbRow",Ln,3),Cn("YuvToBgrRow",Nn,3),Cn("YuvToRgbaRow",kn,4),Cn("YuvToBgraRow",jn,4),Cn("YuvToArgbRow",On,4),Cn("YuvToRgba4444Row",Pn,2),Cn("YuvToRgb565Row",Sn,2);var Bi=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ri=[0,2,8],qi=[8,7,6,4,4,2,2,2,1,1,1,1],Ui=1;this.WebPDecodeRGBA=function(t,n,r,i,o){var s=Dr,a=new nn,c=new st;a.ba=c,c.S=s,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,f=new at;if(null==f||null==t)var h=2;else e(null!=f),h=Tn(t,n,r,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?l=0:(null!=l&&(l[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=i&&(i[0]=c.width),null!=o&&(o[0]=c.height);t:{if(i=new Gt,(o=new rn).data=t,o.w=n,o.ha=r,o.kd=1,n=[0],e(null!=o),(0==(t=Tn(o.data,o.w,o.ha,null,null,null,n,null,o))||7==t)&&n[0]&&(t=4),0==(n=t)){if(e(null!=a),i.data=o.data,i.w=o.w+o.offset,i.ha=o.ha-o.offset,i.put=dt,i.ac=ht,i.bc=pt,i.ma=a,o.xa){if(null==(t=Ot())){a=1;break t}if(function(t,n){var r=[0],i=[0],o=[0];e:for(;;){if(null==t)return 0;if(null==n)return t.a=2,0;if(t.l=n,t.a=0,v(t.m,n.data,n.w,n.ha),!gt(t.m,r,i,o)){t.a=3;break e}if(t.xb=gi,n.width=r[0],n.height=i[0],!jt(r[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(n=Bn(i.width,i.height,a.Oa,a.ba))){e:{i=t;n:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(r=i.l)),e(null!=(o=r.ma)),0!=i.xb){if(i.ca=o.ba,i.tb=o.tb,e(null!=i.ca),!Mn(o.Oa,r,Rr)){i.a=2;break n}if(!kt(i,r.width))break n;if(r.da)break n;if((r.da||rt(i.ca.S))&&vn(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&vn()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!I(i.s.vb,i.s.Wa.Xa)){i.a=1;break n}i.xb=0}if(!St(i,i.V,i.Ba,i.c,i.i,r.o,xt))break n;o.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(n=t.a)}else n=t.a}else{if(null==(t=new $t)){a=1;break t}if(t.Fa=o.na,t.P=o.P,t.qc=o.Sa,Jt(t,i)){if(0==(n=Bn(i.width,i.height,a.Oa,a.ba))){if(t.Aa=0,r=a.Oa,e(null!=(o=t)),null!=r){if(0<(l=0>(l=r.Md)?0:100<l?255:255*l/100)){for(u=f=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=l*qi[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=r.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Zt(t,i)||(n=t.a)}}else n=t.a}0==n&&null!=a.Oa&&a.Oa.fd&&(n=Dn(a.ba))}a=n}s=0!=a?null:11>s?c.f.RGBA.eb:c.f.kb.y}else s=null;return s};var zi=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(t,e){for(var n="",r=0;r<4;r++)n+=String.fromCharCode(t[e++]);return n}function u(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16)>>>0}function f(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new c;var h=[0],d=[0],p=[],g=new c,m=t,v=function(t,e){var n={},r=0,i=!1,o=0,s=0;if(n.frames=[],! 190/** @license 191 * Copyright (c) 2017 Dominik Homberger 192 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 193 The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 194 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 195 https://webpjs.appspot.com 196 WebPRiffParser [email protected] 197 */ 198function(t,e,n,r){for(var i=0;i<r;i++)if(t[e+i]!=n.charCodeAt(i))return!0;return!1}(t,e,"RIFF",4)){var a,c;for(f(t,e+=4),e+=8;e<t.length;){var h=l(t,e),d=f(t,e+=4);e+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===n.frames[r]&&(n.frames[r]={}),(v=n.frames[r]).src_off=i?s:e-8,v.src_size=o+d+8,r++,i&&(i=!1,o=0,s=0);break;case"VP8X":(v=n.header={}).feature_flags=t[e];var g=e+4;v.canvas_width=1+u(t,g),g+=3,v.canvas_height=1+u(t,g),g+=3;break;case"ALPH":i=!0,o=p+8,s=e-8;break;case"ANIM":(v=n.header).bgcolor=f(t,e),g=e+4,v.loop_count=(a=t)[(c=g)+0]<<0|a[c+1]<<8,g+=2;break;case"ANMF":var m,v;(v=n.frames[r]={}).offset_x=2*u(t,e),e+=3,v.offset_y=2*u(t,e),e+=3,v.width=1+u(t,e),e+=3,v.height=1+u(t,e),e+=3,v.duration=u(t,e),e+=3,m=t[e++
vendor: 7,768 bytes, line 198
198],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=h&&(e+=p)}return n}}(m,0);v.response=m,v.rgbaoutput=!0,v.dataurl=!1;var b=v.header?v.header:null,y=v.frames?v.frames:null;if(b){b.loop_counter=b.loop_count,h=[b.canvas_height],d=[b.canvas_width];for(var w=0;w<y.length&&0!=y[w].blend;w++);}var _=y[0],x=g.WebPDecodeRGBA(m,_.src_off,_.src_size,d,h);_.rgba=x,_.imgwidth=d[0],_.imgheight=h[0];for(var A=0;A<d[0]*h[0]*4;A++)p[A]=x[A];return this.width=d,this.height=h,this.data=p,this}!function(t){var e=function(){return"function"==typeof o["b"]},n=function(e,n,i,u){var f=4,h=a;switch(u){case t.image_compression.FAST:f=1,h=s;break;case t.image_compression.MEDIUM:f=6,h=c;break;case t.image_compression.SLOW:f=9,h=l}e=r(e,n,i,h);var d=Object(o["b"])(e,{level:f});return t.__addimage__.arrayBufferToBinaryString(d)},r=function(t,e,n,r){for(var i,o,s,a=t.length/e,c=new Uint8Array(t.length+a),l=f(),u=0;u<a;u+=1){if(s=u*e,i=t.subarray(s,s+e),r)c.set(r(i,n,o),s+u);else{for(var d,p=l.length,g=[];d<p;d+=1)g[d]=l[d](i,n,o);var m=h(g.concat());c.set(g[m],s+u)}o=i}return c},i=function(t){var e=Array.apply([],t);return e.unshift(0),e},s=function(t,e){var n,r=[],i=t.length;r[0]=1;for(var o=0;o<i;o+=1)n=t[o-e]||0,r[o+1]=t[o]-n+256&255;return r},a=function(t,e,n){var r,i=[],o=t.length;i[0]=2;for(var s=0;s<o;s+=1)r=n&&n[s]||0,i[s+1]=t[s]-r+256&255;return i},c=function(t,e,n){var r,i,o=[],s=t.length;o[0]=3;for(var a=0;a<s;a+=1)r=t[a-e]||0,i=n&&n[a]||0,o[a+1]=t[a]+256-(r+i>>>1)&255;return o},l=function(t,e,n){var r,i,o,s,a=[],c=t.length;a[0]=4;for(var l=0;l<c;l+=1)r=t[l-e]||0,i=n&&n[l]||0,o=n&&n[l-e]||0,s=u(r,i,o),a[l+1]=t[l]-s+256&255;return a},u=function(t,e,n){if(t===e&&e===n)return t;var r=Math.abs(e-n),i=Math.abs(t-n),o=Math.abs(t+e-n-n);return r<=i&&r<=o?t:i<=o?e:n},f=function(){return[i,s,a,c,l]},h=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(r,i,o,s){var a,c,l,u,f,h,d,p,g,m,v,b,y,w,_,x=this.decode.FLATE_DECODE,A="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(l=new Qt(r)).imgData,c=l.bits,a=l.colorSpace,f=l.colors,-1!==[4,6].indexOf(l.colorType)){if(8===l.bits){g=(p=32==l.pixelBitlength?new Uint32Array(l.decodePixels().buffer):16==l.pixelBitlength?new Uint16Array(l.decodePixels().buffer):new Uint8Array(l.decodePixels().buffer)).length,v=new Uint8Array(g*l.colors),m=new Uint8Array(g);var L,N=l.pixelBitlength-l.bits;for(w=0,_=0;w<g;w++){for(y=p[w],L=0;L<N;)v[_++]=y>>>L&255,L+=l.bits;m[w]=y>>>L&255}}if(16===l.bits){g=(p=new Uint32Array(l.decodePixels().buffer)).length,v=new Uint8Array(g*(32/l.pixelBitlength)*l.colors),m=new Uint8Array(g*(32/l.pixelBitlength)),b=l.colors>1,w=0,_=0;for(var S=0;w<g;)y=p[w++],v[_++]=y>>>0&255,b&&(v[_++]=y>>>16&255,y=p[w++],v[_++]=y>>>0&255),m[S++]=y>>>16&255;c=8}s!==t.image_compression.NONE&&e()?(r=n(v,l.width*l.colors,l.colors,s),d=n(m,l.width,1,s)):(r=v,d=m,x=void 0)}if(3===l.colorType&&(a=this.color_spaces.INDEXED,h=l.palette,l.transparency.indexed)){var P=l.transparency.indexed,O=0;for(w=0,g=P.length;w<g;++w)O+=P[w];if((O/=255)===g-1&&-1!==P.indexOf(0))u=[P.indexOf(0)];else if(O!==g){for(p=l.decodePixels(),m=new Uint8Array(p.length),w=0,g=p.length;w<g;w++)m[w]=P[p[w]];d=n(m,l.width,1)}}var j=function(e){var n;switch(e){case t.image_compression.FAST:n=11;break;case t.image_compression.MEDIUM:n=13;break;case t.image_compression.SLOW:n=14;break;default:n=12}return n}(s);return x===this.decode.FLATE_DECODE&&(A="/Predictor "+j+" "),A+="/Colors "+f+" /BitsPerComponent "+c+" /Columns "+l.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:o,data:r,index:i,filter:x,decodeParameters:A,transparency:u,palette:h,sMask:d,predictor:j,width:l.width,height:l.height,bitsPerComponent:c,colorSpace:a}}}}(R.API),function(t){t.processGIF89A=function(e,n,r,i){var o=new Zt(e),s=o.width,a=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:s,height:a},u=new ee(100).encode(l,100);return t.processJPEG.call(this,u,n,r,i)},t.processGIF87A=t.processGIF89A}(R.API),ne.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 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);this.palette[e]={red:i,green:r,blue:n,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},ne.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){c.log("bit decode error:"+t)}},ne.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),n=e%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*i*4,a=0;a<8&&8*i+a<this.width;a++){var c=this.palette[o>>7-a&1];this.data[s+4*a]=c.blue,this.data[s+4*a+1]=c.green,this.data[s+4*a+2]=c.red,this.data[s+4*a+3]=255}0!==n&&(this.pos+=4-n)}},ne.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*i*4,a=o>>4,c=15&o,l=this.palette[a];if(this.data[s]=l.blue,this.data[s+1]=l.green,this.data[s+2]=l.red,this.data[s+3]=255,2*i+1>=this.width)break;l=this.palette[c],this.data[s+4]=l.blue,this.data[s+4+1]=l.green,this.data[s+4+2]=l.red,this.data[s+4+3]=255}0!==e&&(this.pos+=4-e)}},ne.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*r;if(i<this.palette.length){var s=this.palette[i];this.data[o]=s.red,this.data[o+1]=s.green,this.data[o+2]=s.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==t&&(this.pos+=4-t)}},ne.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",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 s=(o&e)/e*255|0,a=(o>>5&e)/e*255|0,c=(o>>10&e)/e*255|0,l=o>>15?255:0,u=r*this.width*4+4*i;this.data[u]=c,this.data[u+1]=a,this.data[u+2]=s,this.data[u+3]=l}this.pos+=t}},ne.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(s&e)/e*255|0,c=(s>>
vendor: 4,889 bytes, lines 198-214
1985&n)/n*255|0,l=(s>>11)/e*255|0,u=i*this.width*4+4*o;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=a,this.data[u+3]=255}this.pos+=t}},ne.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*n;this.data[s]=o,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},ne.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*n;this.data[a]=o,this.data[a+1]=i,this.data[a+2]=r,this.data[a+3]=s}},ne.prototype.getData=function(){return this.data}, 199/** 200 * @license 201 * Copyright (c) 2018 Aras Abbasi 202 * 203 * Licensed under the MIT License. 204 * http://opensource.org/licenses/mit-license 205 */ 206function(t){t.processBMP=function(e,n,r,i){var o=new ne(e,!1),s=o.width,a=o.height,c={data:o.getData(),width:s,height:a},l=new ee(100).encode(c,100);return t.processJPEG.call(this,l,n,r,i)}}(R.API),re.prototype.getData=function(){return this.data}, 207/** 208 * @license 209 * Copyright (c) 2019 Aras Abbasi 210 * 211 * Licensed under the MIT License. 212 * http://opensource.org/licenses/mit-license 213 */ 214function(t){t.processWEBP=function(e,n,r,i){var o=new re(e,!1),s=o.width,a=o.height,c={data:o.getData(),width:s,height:a},l=new ee(100).encode(c,100);return t.processJPEG.call(this,l,n,r,i)}}(R.API),R.API.processRGBA=function(t,e,n){for(var r=t.data,i=r.length,o=new Uint8Array(i/4*3),s=new Uint8Array(i/4),a=0,c=0,l=0;l<i;l+=4){var u=r[l],f=r[l+1],h=r[l+2],d=r[l+3];o[a++]=u,o[a++]=f,o[a++]=h,s[c++]=d}var p=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:p,index:e,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},R.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rh
214aeto-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},$t=R.API,Yt=$t.getCharWidthsArray=function(t,e){var n,r,o=(e=e||{}).font||this.internal.getFont(),s=e.fontSize||this.internal.getFontSize(),a=e.charSpace||this.internal.getCharSpace(),c=e.widths?e.widths:o.metadata.Unicode.widths,l=c.fof?c.fof:1,u=e.kerning?e.kerning:o.metadata.Unicode.kerning,f=u.fof?u.fof:1,h=!1!==e.doKerning,d=0,p=t.length,g=0,m=c[0]||l,v=[];for(n=0;n<p;n++)r=t.charCodeAt(n),"function"==typeof o.metadata.widthOfString?v.push((o.metadata.widthOfGlyph(o.metadata.characterToGlyph(r))+a*(1e3/s)||0)/1e3):(d=h&&"object"===i()(u[r])&&!isNaN(parseInt(u[r][g],10))?u[r][g]/f:0,v.push((c[r]||m)/l+d)),g=r;return v},Xt=$t.getStringUnitWidth=function(t,e){var n=(e=e||{}).fontSize||this.internal.getFontSize(),r=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return $t.processArabic&&(t=$t.processArabic(t)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(t,n,i)/n:Yt.apply(this,arguments).reduce((function(t,e){return t+e}),0)},Jt=function(t,e,n,r){for(var i=[],o=0,s=t.length,a=0;o!==s&&a+e[o]<n;)a+=e[o],o++;i.push(t.slice(0,o));var c=o;for(a=0;o!==s;)a+e[o]>r&&(i.push(t.slice(c,o)),a=0,c=o),a+=e[o],o++;return c!==o&&i.push(t.slice(c,o)),i},Kt=function(t,e,n){n||(n={});var r,i,o,s,a,c,l,u=[],f=[u],h=n.textIndent||0,d=0,p=0,g=t.split(" "),m=Yt.apply(this,[" ",n])[0];if(c=-1===n.lineIndent?g[0].length+2:n.lineIndent||0){var v=Array(c).join(" "),b=[];g.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])})),g=b,c=Xt.apply(this,[v,n])}for(o=0,s=g.length;o<s;o++){var y=0;if(r=g[o],c&&"\n"==r[0]&&(r=r.substr(1),y=1),h+d+(p=(i=Yt.apply(this,[r,n])).reduce((function(t,e){return t+e}),0))>e||y){if(p>e){for(a=Jt.apply(this,[r,i,e-(h+d),e]),u.push(a.shift()),u=[a.pop()];a.length;)f.push([a.shift()]);p=i.slice(r.length-(u[0]?u[0].length:0)).reduce((function(t,e){return t+e}),0)}else u=[r];f.push(u),h=p+c,d=m}else u.push(r),h+=d+p,d=m}return l=c?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},f.map(l)},$t.splitTextToSize=function(t,e,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),o=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,n);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var s=1*this.internal.scaleFactor*e/i;o.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=n.lineIndent;var a,c,l=[];for(a=0,c=r.length;a<c;a++)l=l.concat(Kt.apply(this,[r[a],s,o]));return l},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",n={},r={},o=0;o<e.length;o++)n[e[o]]="0123456789abcdef"[o],r["0123456789abcdef"[o]]=e[o];var s=function(t){return"0x"+parseInt(t,10).toString(16)},a=t.__fontmetrics__.compress=function(t){var e,n,o,c,l=["{"];for(var u in t){if(e=t[u],isNaN(parseInt(u,10))?n="'"+u+"'":(u=parseInt(u,10),n=(n=s(u).slice(2)).slice(0,-1)+r[n.slice(-1)]),"number"==typeof e)e<0?(o=s(e).slice(3),c="-"):(o=s(e).slice(2),c=""),o=c+o.slice(0,-1)+r[o.slice(-1)];
vendor: 1,095 bytes, line 214
214else{if("object"!==i()(e))throw new Error("Don't know what to do with value type "+i()(e)+".");o=a(e)}l.push(n+o)}return l.push("}"),l.join("")},c=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,r,i,o,s={},a=1,c=s,l=[],u="",f="",h=t.length-1,d=1;d<h;d+=1)"'"==(o=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(o):"{"==o?(l.push([c,i]),c={},i=void 0):"}"==o?((r=l.pop())[0][r[1]]=c,i=void 0,c=r[0]):"-"==o?a=-1:void 0===i?n.hasOwnProperty(o)?(u+=n[o],i=parseInt(u,16)*a,a=1,u=""):u+=o:n.hasOwnProperty(o)?(f+=n[o],c[i]=parseInt(f,16)*a,a=1,i=void 0,f=""):f+=o;return s},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},u={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},f
vendor: 14,693 bytes, line 214
214={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'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":c("{'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:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'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:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'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":c("{'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:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'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":c("{'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":c("{'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}}}")}};
vendor: 3,048 bytes, lines 214-244
214t.events.push(["addFont",function(t){var e=t.font,n=f.Unicode[e.postScriptName];n&&(e.metadata.Unicode={},e.metadata.Unicode.widths=n.widths,e.metadata.Unicode.kerning=n.kerning);var r=u.Unicode[e.postScriptName];r&&(e.metadata.Unicode.encoding=r,e.encoding=r.codePages[0])}])}(R.API), 215/** 216 * @license 217 * Licensed under the MIT License. 218 * http://opensource.org/licenses/mit-license 219 */ 220function(t){var e=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;r++)n[r]=t.charCodeAt(r);return n};t.API.events.push(["addFont",function(n){var r=void 0,i=n.font,o=n.instance;if(!i.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===o.existsFileInVFS(i.postScriptName)?o.loadFile(i.postScriptName):o.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(n,r){r=/^\x00\x01\x00\x00/.test(r)?e(r):e(h(r)),n.metadata=t.API.TTFFont.open(r),n.metadata.Unicode=n.metadata.Unicode||{encoding:{},kerning:{},widths:[]},n.metadata.glyIdsUsed=[0]}(i,r)}}])}(R), 221/** @license 222 * Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems 223 * 224 * Permission is hereby granted, free of charge, to any person obtaining 225 * a copy of this software and associated documentation files (the 226 * "Software"), to deal in the Software without restriction, including 227 * without limitation the rights to use, copy, modify, merge, publish, 228 * distribute, sublicense, and/or sell copies of the Software, and to 229 * permit persons to whom the Software is furnished to do so, subject to 230 * the following conditions: 231 * 232 * The above copyright notice and this permission notice shall be 233 * included in all copies or substantial portions of the Software. 234 * 235 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 236 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 237 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 238 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 239 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 240 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 241 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 242 * ==================================================================== 243 */ 244function(t){function e(){return(s.canvg?Promise.resolve(s.canvg):n.e("chunk-3728dd5e").then(n.bind(null,"0d73"))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}R.API.addSvgAsImage=function(t,n,r,i,o,s,a,l){if(isNaN(n)||isNaN(r))throw c.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw c.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to
244jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=i,u.height=o;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(f,t,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),n,r,i,o,a,l)}))}}(),R.API.putTotalPages=function(t){var e,n=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),n=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),n=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(e,n);return this},R.API.viewerPreferences=function(t,e){var n;t=t||{},e=e||!1;var r,o,s,a={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}},c=Object.keys(a),l=[],u=0,f=0,h=0;function d(t,e){var n,r=!1;for(n=0;n<t.length;n+=1)t[n]===e&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var p=c.length;for(h=0;h<p;h+=1)n[c[h]].value=n[c[h]].defaultValue,n[c[h]].explicitSet=!1}if("object"===i()(t))for(o in t)if(s=t[o],d(c,o)&&void 0!==s){if("boolean"===n[o].type&&"boolean"==typeof s)n[o].value=s;else if("name"===n[o].type&&d(n[o].valueSet,s))n[o].value=s;else if("integer"===n[o].type&&Number.isInteger(s))n[o].value=s;else if("array"===n[o].type){for(u=0;u<s.length;u+=1)if(r=!0,1===s[u].length&&"number"==typeof s[u][0])l.push(String(s[u]-1));else if(s[u].length>1){for(f=0;f<s[u].length;f+=1)"number"!=typeof s[u][f]&&(r=!1);!0===r&&l.push([s[u][0]-1,s[u][1]-1].join(" "))}n[o].value="["+l.join(" ")+"]"}else n[o].value=n[o].defaultValue;n[o].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this 245/** ==================================================================== 246 * @license 247 * jsPDF XMP metadata plugin 248 * Copyright (c) 2016 Jussi Utunen, [email protected] 249 * 250 * Permission is hereby granted, free of charge, to any person obtaining 251 * a copy of this software and associated documentation files (the 252 * "Software"), to deal in the Software without restriction, including 253 * without limitation the rights to use, copy, modify, merge, publish, 254 * distribute, sublicense, and/or sell copies of the Software, and to 255 * permit persons to whom the Software is furnished to do so, subject to 256 * the following conditions: 257 * 258 * The above copyright notice and this permission notice shall be 259 * included in all copies or substantial portions of the Software. 260 * 261 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 262 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 263 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 264 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 265 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 266 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 267 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 268 * ==================================================================== 269 */},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/">')),n=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+r.length+i.length+e.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(e+n+r+i+o),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",e)),this}}(R.API),function(t){var e=t.API,n=e.pdfEscape16=function(t,e){for(var n,r=e.metadata.Unicode.widths,i=["","0","00","000","0000"],o=[""],s=0,a=t.length;s<a;
vendor: 5,341 bytes, lines 269-280
269++s){if(n=e.metadata.characterToGlyph(t.charCodeAt(s)),e.metadata.glyIdsUsed.push(n),e.metadata.toUnicode[n]=t.charCodeAt(s),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(e.metadata.widthOfGlyph(n),10)])),"0"==n)return o.join("");n=n.toString(16),o.push(i[4-n.length],n)}return o.join("")},r=function(t){var e,n,r,i,o,s,a;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],s=0,a=(n=Object.keys(t).sort((function(t,e){return t-e}))).length;s<a;s++)e=n[s],r.length>=100&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),r.push("<"+e+"><"+i+">"));return r.length&&(o+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var n=e.font,i=e.out,o=e.newObject,s=e.putStream;if(n.metadata instanceof t.API.TTFFont&&"Identity-H"===n.encoding){for(var a=n.metadata.Unicode.widths,c=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var f=o();s({data:l,addLength1:!0,objectId:f}),i("endobj");var h=o();s({data:r(n.metadata.toUnicode),addLength1:!0,objectId:h}),i("endobj");var d=o();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+I(n.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(n.metadata.bbox)),i("/Flags "+n.metadata.flags),i("/StemV "+n.metadata.stemV),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i(">>"),i("endobj");var p=o();i("<<"),i("/Type /Font"),i("/BaseFont /"+I(n.fontName)),i("/FontDescriptor "+d+" 0 R"),i("/W "+t.API.PDFObject.convert(a)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+n.encoding+")"),i(">>"),i(">>"),i("endobj"),n.objectNumber=o(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+h+" 0 R"),i("/BaseFont /"+I(n.fontName)),i("/Encoding /"+n.encoding),i("/DescendantFonts ["+p+" 0 R]"),i(">>"),i("endobj"),n.isAlreadyPutted=!0}}(e)}]),e.events.push(["putFont",function(e){!function(e){var n=e.font,i=e.out,o=e.newObject,s=e.putStream;if(n.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var a=n.metadata.rawData,c="",l=0;l<a.length;l++)c+=String.fromCharCode(a[l]);var u=o();s({data:c,addLength1:!0,objectId:u}),i("endobj");var f=o();s({data:r(n.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var h=o();i("<<"),i("/Descent "+n.metadata.decender),i("/CapHeight "+n.metadata.capHeight),i("/StemV "+n.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+u+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(n.metadata.bbox)),i("/FontName /"+I(n.fontName)),i("/ItalicAngle "+n.metadata.italicAngle),i("/Ascent "+n.metadata.ascender),i(">>"),i("endobj"),n.objectNumber=o();for(var d=0;d<n.metadata.hmtx.widths.length;d++)n.metadata.hmtx.widths[d]=parseInt(n.metadata.hmtx.widths[d]*(1e3/n.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+I(n.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+n.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(n.metadata.hmtx.widths)+">>"),i("endobj"),n.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,r=t.text||"",i=t.x,o=t.y,s=t.options||{},a=t.mutex||{},c=a.pdfEscape,l=a.activeFontKey,u=a.fonts,f=l,h="",d=0,p="",g=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:r,x:i,y:o,options:s,mutex:a};for(p=r,f=l,Array.isArray(r)&&(p=r[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(e=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),e||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=c(h,f).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=n(h,u[f])),a.isHex=!0,{text:m,x:i,y:o,options:s,mutex:a}};e.events.push(["postProcessText",function(t){var e=t.text||"",n=[],r={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var o=0;for(o=0;o<e.length;o+=1)Array.isArray(e[o])&&3===e[o].length?n.push([i(Object.assign({},r,{text:e[o][0]})).text,e[o][1],e[o][2]]):n.push(i(Object.assign({},r,{text:e[o]})).text);t.text=n}else t.text=i(Object.assign({},r,{text:e})).text}])}(R), 270/** 271 * @license 272 * jsPDF virtual FileSystem functionality 273 * 274 * Licensed under the MIT License. 275 * http://opensource.org/licenses/mit-license 276 */ 277function(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,n){return e.call(this),this.internal.vFS[t]=n,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(R.API), 278/** 279 * @license 280 * Unicode Bidi Engine based on the work of Alex Shensis (@asthe
vendor: 1,287 bytes, lines 280-283
280nsis) 281 * MIT License 282 */ 283function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var n,r,i,o,s,a,c,l=e,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[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},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","â¹","âº","â¹","â ","â","â ","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(t){var e=t.charCodeAt(),n=e>>8,r=d[n];return void 0!==r?l[256*r+(255&e)]:252===n||253===n?"AL":g.test(n)?"L":8===n?"R":"N"},y=function(t){for(var e,n=0;n<t.length;n++){if("L"===(e=b(t.charAt(n))))return!1;if("R"===e)return!0}return!1},w=function(t,e,s,a){var c,l,u,f,h=e[a];switch(h){case"L":case"R":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":h="N";break;case"CS":a<1||a+1>=e.length||"EN"!==(c=s[a-1])&&"AN"!==c||"EN"!==(l=e[a+1])&&"AN"!==l?h="N":m&&(l="AN"),h=l
vendor: 16,384 bytes, line 283
283===c?l:"N";break;case"ES":h="EN"===(c=a>0?s[a-1]:"B")&&a+1<e.length&&"EN"===e[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===s[a-1]){h="EN";break}if(m){h="N";break}for(u=a+1,f=e.length;u<f&&"ET"===e[u];)u++;h=u<f&&"EN"===e[u]?"EN":"N";break;case"NSM":if(i&&!o){for(f=e.length,u=a+1;u<f&&"NSM"===e[u];)u++;if(u<f){var d=t[a],p=d>=1425&&d<=2303||64286===d;if(c=e[u],p&&("R"===c||"AL"===c)){h="R";break}}}h=a<1||"B"===(c=e[a-1])?"N":s[a-1];break;case"B":m=!1,n=!0,h=v;break;case"S":r=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"BN":h="N"}return h},_=function(t,e,n){var r=t.split("");return n&&x(r,n,{hiLevel:v}),r.reverse(),e&&e.reverse(),r.join("")},x=function(t,e,i){var o,s,a,c,l,d=-1,p=t.length,g=0,y=[],_=v?f:u,x=[];for(m=!1,n=!1,r=!1,s=0;s<p;s++)x[s]=b(t[s]);for(a=0;a<p;a++){if(l=g,y[a]=w(t,x,y,a),o=240&(g=_[l][h[y[a]]]),g&=15,e[a]=c=_[g][5],o>0)if(16===o){for(s=d;s<a;s++)e[s]=1;d=-1}else d=-1;if(_[g][6])-1===d&&(d=a);else if(d>-1){for(s=d;s<a;s++)e[s]=c;d=-1}"B"===x[a]&&(e[a]=0),i.hiLevel|=c}r&&function(t,e,n){for(var r=0;r<n;r++)if("S"===t[r]){e[r]=v;for(var i=r-1;i>=0&&"WS"===t[i];i--)e[i]=v}}(x,e,p)},A=function(t,e,r,i,o){if(!(o.hiLevel<t)){if(1===t&&1===v&&!n)return e.reverse(),void(r&&r.reverse());for(var s,a,c,l,u=e.length,f=0;f<u;){if(i[f]>=t){for(c=f+1;c<u&&i[c]>=t;)c++;for(l=f,a=c-1;l<a;l++,a--)s=e[l],e[l]=e[a],e[a]=s,r&&(s=r[l],r[l]=r[a],r[a]=s);f=c}f++}}},L=function(t,e,n){var r=t.split(""),i={hiLevel:v};return n||(n=[]),x(r,n,i),function(t,e,n){if(0!==n.hiLevel&&c)for(var r,i=0;i<t.length;i++)1===e[i]&&(r=p.indexOf(t[i]))>=0&&(t[i]=p[r+1])}(r,n,i),A(2,r,e,n,i),A(1,r,e,n,i),r.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,n){if(function(t,e){if(e)for(var n=0;n<t.length;n++)e[n]=n;void 0===o&&(o=y(t)),void 0===a&&(a=y(t))}(t,e),i||!s||a)if(i&&s&&o^a)v=o?1:0,t=_(t,e,n);else if(!i&&s&&a)v=o?1:0,t=L(t,e,n),t=_(t,e);else if(!i||o||s||a){if(i&&!s&&o^a)t=_(t,e),o?(v=0,t=L(t,e,n)):(v=1,t=L(t,e,n),t=_(t,e));else if(i&&o&&!s&&a)v=1,t=L(t,e,n),t=_(t,e);else if(!i&&!s&&o^a){var r=c;o?(v=1,t=L(t,e,n),v=0,c=!1,t=L(t,e,n),c=r):(v=0,t=L(t,e,n),t=_(t,e),v=1,c=!1,t=L(t,e,n),c=r,t=_(t,e))}}else v=0,t=L(t,e,n);else v=o?1:0,t=L(t,e,n);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,s=t.isOutputVisual,o=t.isInputRtl,a=t.isOutputRtl,c=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"],n=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,r=(t.x,t.y,t.options||{}),i=(t.mutex,r.lang,[]);if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,n.setOptions(r),"[object Array]"===Object.prototype.toString.call(e)){var o=0;for(i=[],o=0;o<e.length;o+=1)"[object Array]"===Object.prototype.toString.call(e[o])?i.push([n.doBidiReorder(e[o][0]),e[o][1],e[o][2]]):i.push([n.doBidiReorder(e[o])]);t.text=i}else t.text=n.doBidiReorder(e);n.setOptions({isInputVisual:!0})}])}(R),R.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new oe(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 se(this.contents),this.head=new le(this),this.name=new me(this),this.cmap=new fe(this),this.toUnicode={},this.hhea=new he(this),this.maxp=new ve(this),this.hmtx=new be(this),this.post=new pe(this),this.os2=new de(this),this.loca=new Ae(this),this.glyf=new we(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,n,r,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,n,r,i;for(i=[],e=0,n=(r=this.bbox).length;e<n;e++)t=r[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),0!=(32768&(e=r>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+n)):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===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,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,n){var r,i,o,s;for(o=0,i=0,s=(t=""+t).length;0<=s?i<s:i>s;i=0<=s?++i:--i)r=t.charCodeAt(i),o+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/e)||0;return o*(e/1e3)},t.prototype.lineHeight=function(t,e){var n;return null==e&&(e=!1),n=e?this.lineGap:0,(this.ascender+n-this.decender)/1e3*t},t}();var ie,oe=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,n;for(n=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)n[e]=String.fromCharCode(this.readByte());return n.join("")},t.prototype.writeString=function(t){var e,n,r;for(r=[],e=0,n=t.length;0<=n?e<n:e>n;e=0<=n?++e:--e)r.push(this.writeByte(t.charCodeAt(e)));return r},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.write
vendor: 4,334 bytes, line 283
283Int16(t)},t.prototype.readLongLong=function(){var t,e,n,r,i,o,s,a;return t=this.readByte(),e=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),s=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^s)+(255^a)+1):72057594037927940*t+281474976710656*e+1099511627776*n+4294967296*r+16777216*i+65536*o+256*s+a},t.prototype.writeLongLong=function(t){var e,n;return e=Math.floor(t/4294967296),n=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,n;for(e=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)e.push(this.readByte());return e},t.prototype.write=function(t){var e,n,r,i;for(i=[],n=0,r=t.length;n<r;n++)e=t[n],i.push(this.writeByte(e));return i},t}(),se=function(){var t;function e(t){var e,n,r;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:n>r;n=0<=r?++n:--n)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 n,r,i,o,s,a,c,l,u,f,h,d,p;for(p in h=Object.keys(e).length,a=Math.log(2),u=16*Math.floor(Math.log(h)/a),o=Math.floor(u/a),l=16*h-u,(r=new oe).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(o),r.writeShort(l),i=16*h,c=r.pos+i,s=null,d=[],e)for(f=e[p],r.writeString(p),r.writeInt(t(f)),r.writeInt(c),r.writeInt(f.length),d=d.concat(f),"head"===p&&(s=c),c+=f.length;c%4;)d.push(0),c++;return r.write(d),n=2981146554-t(r.data),r.pos=s+8,r.writeUInt32(n),r.data},t=function(t){var e,n,r,i;for(t=ye.call(t);t.length%4;)t.push(0);for(r=new oe(t),n=0,e=0,i=t.length;e<i;e=e+=4)n+=r.readUInt32();return 4294967295&n},e}(),ae={}.hasOwnProperty,ce=function(t,e){for(var n in e)ae.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t};ie=function(){function t(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,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 le=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),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 oe).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}(),ue=function(){function t(t,e){var n,r,i,o,s,a,c,l,u,f,h,d,p,g,m,v,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),u=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.co
vendor: 7,228 bytes, line 283
283deMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=t.readByte();break;case 4:for(h=t.readUInt16(),f=h/2,t.pos+=6,i=function(){var e,n;for(n=[],a=e=0;0<=f?e<f:e>f;a=0<=f?++e:--e)n.push(t.readUInt16());return n}(),t.pos+=2,p=function(){var e,n;for(n=[],a=e=0;0<=f?e<f:e>f;a=0<=f?++e:--e)n.push(t.readUInt16());return n}(),c=function(){var e,n;for(n=[],a=e=0;0<=f?e<f:e>f;a=0<=f?++e:--e)n.push(t.readUInt16());return n}(),l=function(){var e,n;for(n=[],a=e=0;0<=f?e<f:e>f;a=0<=f?++e:--e)n.push(t.readUInt16());return n}(),r=(this.length-t.pos+this.offset)/2,s=function(){var e,n;for(n=[],a=e=0;0<=r?e<r:e>r;a=0<=r?++e:--e)n.push(t.readUInt16());return n}(),a=m=0,b=i.length;m<b;a=++m)for(g=i[a],n=v=d=p[a];d<=g?v<=g:v>=g;n=d<=g?++v:--v)0===l[a]?o=n+c[a]:0!==(o=s[l[a]/2+(n-d)-(f-a)]||0)&&(o+=c[a]),this.codeMap[n]=65535&o}t.pos=u}return t.encode=function(t,e){var n,r,i,o,s,a,c,l,u,f,h,d,p,g,m,v,b,y,w,_,x,A,L,N,S,P,O,j,k,C,E,I,F,T,M,D,B,R,q,U,z,H,W,V,G,$;switch(j=new oe,o=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,g=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),v={0:0},i={},k=0,F=o.length;k<F;k++)null==v[W=t[r=o[k]]]&&(v[W]=++p),i[r]={old:t[r],new:v[t[r]]},g[r]=v[t[r]];return j.writeUInt16(1),j.writeUInt16(0),j.writeUInt32(12),j.writeUInt16(0),j.writeUInt16(262),j.writeUInt16(0),j.write(g),{charMap:i,subtable:j.data,maxGlyphID:p+1};case"unicode":for(P=[],u=[],b=0,v={},n={},m=c=null,C=0,T=o.length;C<T;C++)null==v[w=t[r=o[C]]]&&(v[w]=++b),n[r]={old:w,new:v[w]},s=v[w]-r,null!=m&&s===c||(m&&u.push(m),P.push(r),c=s),m=r;for(m&&u.push(m),u.push(65535),P.push(65535),N=2*(L=P.length),A=2*Math.pow(Math.log(L)/Math.LN2,2),f=Math.log(A/2)/Math.LN2,x=2*L-A,a=[],_=[],h=[],d=E=0,M=P.length;E<M;d=++E){if(S=P[d],l=u[d],65535===S){a.push(0),_.push(0);break}if(S-(O=n[S].new)>=32768)for(a.push(0),_.push(2*(h.length+L-d)),r=I=S;S<=l?I<=l:I>=l;r=S<=l?++I:--I)h.push(n[r].new);else a.push(O-S),_.push(0)}for(j.writeUInt16(3),j.writeUInt16(1),j.writeUInt32(12),j.writeUInt16(4),j.writeUInt16(16+8*L+2*h.length),j.writeUInt16(0),j.writeUInt16(N),j.writeUInt16(A),j.writeUInt16(f),j.writeUInt16(x),z=0,D=u.length;z<D;z++)r=u[z],j.writeUInt16(r);for(j.writeUInt16(0),H=0,B=P.length;H<B;H++)r=P[H],j.writeUInt16(r);for(V=0,R=a.length;V<R;V++)s=a[V],j.writeUInt16(s);for(G=0,q=_.length;G<q;G++)y=_[G],j.writeUInt16(y);for($=0,U=h.length;$<U;$++)p=h[$],j.writeUInt16(p);return{charMap:n,subtable:j.data,maxGlyphID:b+1}}},t}(),fe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,n,r;for(t.pos=this.offset,this.version=t.readUInt16(),r=t.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)e=new ue(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var n,r;return null==e&&(e="macroman"),n=ue.encode(t,e),(r=new oe).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},e}(),he=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),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}(),de=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),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,n;for(n=[],e=0;e<10;++e)n.push(t.readByte());return n}(),this.charRange=function(){var e,n;for(n=[],e=0;e<4;++e)n.push(t.readInt());return n}(),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,n;for(n=[],e=0;e<2;e=++e)n.push(t.readInt());return n}(),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}(),pe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="post",e.prototype.parse=function(t){var e,n,r;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 i;for(n=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],r=[];t.pos<this.offset+this.length;)e=t.readByte(),r.push(this.names.push(t.readString(e)));return r;case 151552:return n=t.readUInt16(),this.offsets=t.read(n);case 196608:break;case 262144:return this.map=function(){var e,n,r;for(r=[],i=e=0,n=this.file.maxp.numGlyphs;0<=n?e<n:e>n;i=0<=n?++e:--e)r.push(t.readUInt32());return r}.call(this)}},e}(),ge=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},me=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="name",e.prototype.parse=function(t){var e,n,r,i,o,s,a,c,l,u,f;for(t.pos=this.offset,t.readShort(),e=t.readShort(),s=t.readShort(),n=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)n.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+s+t.readShort()});for(a={},i=l=0,u=n.length;l<u;i=++l)r=n[i],t.pos=r.offset,c=t.readString(r.length),o=new ge(c,r),null==a[f=r.nameID]&&(a[f]=[]),a[r.nameID].push(o);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=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[
vendor: 4,116 bytes, line 283
28312],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}(),ve=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),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}(),be=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,n,r,i,o,s,a;for(t.pos=this.offset,this.metrics=[],e=0,s=this.file.hhea.numberOfMetrics;0<=s?e<s:e>s;e=0<=s?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var n,i;for(i=[],e=n=0;0<=r?n<r:n>r;e=0<=r?++n:--n)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,n,r;for(r=[],t=0,e=(n=this.metrics).length;t<e;t++)i=n[t],r.push(i.advance);return r}.call(this),n=this.widths[this.widths.length-1],a=[],e=o=0;0<=r?o<r:o>r;e=0<=r?++o:--o)a.push(this.widths.push(n));return a},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}(),ye=[].slice,we=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,n,r,i,o,s,a,c,l,u;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,n=i.indexOf(t),0===(r=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+n,o=(s=new oe(e.read(r))).readShort(),c=s.readShort(),u=s.readShort(),a=s.readShort(),l=s.readShort(),this.cache[t]=-1===o?new xe(s,c,u,a,l):new _e(s,o,c,u,a,l),this.cache[t]))},e.prototype.encode=function(t,e,n){var r,i,o,s,a;for(o=[],i=[],s=0,a=e.length;s<a;s++)r=t[e[s]],i.push(o.length),r&&(o=o.concat(r.encode(n)));return i.push(o.length),{table:o,offsets:i}},e}(),_e=function(){function t(t,e,n,r,i,o){this.raw=t,this.numberOfContours=e,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),xe=function(){function t(t,e,n,r,i){var o,s;for(this.raw=t,this.xMin=e,this.yMin=n,this.xMax=r,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;s=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&s;)o.pos+=1&s?4:2,128&s?o.pos+=8:64&s?o.pos+=4:8&s&&(o.pos+=2)}return t.prototype.encode=function(){var t,e,n;for(e=new oe(ye.call(this.raw.data)),t=0,n=this.glyphIDs.length;t<n;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),Ae=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return ce(e,ie),e.prototype.tag="loca",e.prototype.parse=function(t){var e,n;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,r;for(r=[],n=0,e=this.length;n<e;n+=2)r.push(2*t.readUInt16());return r}.call(this):function(){var e,r;for(r=[],n=0,e=this.length;n<e;n+=4)r.push(t.readUInt32());return r}.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 n=new Uint32Array(this.offsets.length),r=0,i=0,o=0;o<n.length;++o)if(n[o]=r,i<e.length&&e[i]==o){++i,n[o]=r;var s=this.offsets[o],a=this.offsets[o+1]-s;a>0&&(r+=a)}for(var c=new Array(4*n.length),l=0;l<n.length;++l)c[4*l+3]=255&n[l],c[4*l+2]=(65280&n[l])>>
2838,c[4*l+1]=(16711680&n[l])>>16,c[4*l]=(4278190080&n[l])>>24;return c},e}(),Le=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,n,r,i;for(e in r=this.font.cmap.tables[0].codeMap,t={},i=this.subset)n=i[e],t[e]=r[n];return t},t.prototype.glyphsFor=function(t){var e,n,r,i,o,s,a;for(r={},o=0,s=t.length;o<s;o++)r[i=t[o]]=this.font.glyf.glyphFor(i);for(i in e=[],r)(null!=(n=r[i])?n.compound:void 0)&&e.push.apply(e,n.glyphIDs);if(e.length>0)for(i in a=this.glyphsFor(e))n=a[i],r[i]=n;return r},t.prototype.encode=function(t,e){var n,r,i,o,s,a,c,l,u,f,h,d,p,g,m;for(r in n=fe.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),h={0:0},m=n.charMap)h[(a=m[r]).old]=a.new;for(d in f=n.maxGlyphID,o)d in h||(h[d]=f++);return l=function(t){var e,n;for(e in n={},t)n[t[e]]=e;return n}(h),u=Object.keys(l).sort((function(t,e){return t-e})),p=function(){var t,e,n;for(n=[],t=0,e=u.length;t<e;t++)s=u[t],n.push(l[s]);return n}(),i=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(i.offsets,p),g={cmap:this.font.cmap.raw(),glyf:i.table,loca:c,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&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},t}();R.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(n){var r,i,o,s;if(Array.isArray(n))return"["+function(){var t,i,o;for(o=[],t=0,i=n.length;t<i;t++)r=n[t],o.push(e.convert(r));return o}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+t(n.getUTCFullYear(),4)+t(n.getUTCMonth(),2)+t(n.getUTCDate(),2)+t(n.getUTCHours(),2)+t(n.getUTCMinutes(),2)+t(n.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(n)){for(i in o=["<<"],n)s=n[i],o.push("/"+i+" "+e.convert(s));return o.push(">>"),o.join("\n")}return""+n},e}(),e["a"]=R}).call(this,n("c8ba"))},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),i=/#|\.prototype\./,o=function(t,e){var n=a[s(t)];return n==l||n!=c&&("function"==typeof e?r(e):!!e)},s=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},9911:function(t,e,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("link")},{link:function(t){return i(this,"a","href",t)}})},"9a1f":function(t,e,n){var r=n("825a"),i=n("35a1");t.exports=function(t,e){var n=arguments.length<2?i(t):e;if("function"!=typeof n)throw TypeError(String(t)+" is not iterable");return r(n.call(t))}},"9bf2":function(t,e,n){var r=n("83ab"),i=n("0cfb"),o=n("825a"),s=n("a04b"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(o(t),e=s(e),o(n),i)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,i=n("7c73"),o=n("5c6c"),s=n("d44e"),a=n("3f8c"),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=i(r,{next:o(1,n)}),s(t,l,!1,!0),a[l]=c,t}},"9ff4":function(t,e,n){"use strict";(function(t){function r(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i<r.length;i++)n[r[i]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return L})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return S})),n.d(e,"d",(function(){return N})),n.d(e,"e",(function(){return K})),n.d(e,"f",(function(){return tt})),n.d(e,"g",(function(){return it})),n.d(e,"h",(function(){return k})),n.d(e,"i",(function(){return nt})),n.d(e,"j",(function(){return I})),n.d(e,"k",(function(){return Z})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return rt})),n.d(e,"n",(function(){return F})),n.d(e,"o",(function(){return B})),n.d(e,"p",(function(){return o}
283)),n.d(e,"q",(function(){return m})),n.d(e,"r",(function(){return $})),n.d(e,"s",(function(){return T})),n.d(e,"t",(function(){return j})),n.d(e,"u",(function(){return U})),n.d(e,"v",(function(){return O})),n.d(e,"w",(function(){return G})),n.d(e,"x",(function(){return z})),n.d(e,"y",(function(){return Y})),n.d(e,"z",(function(){return v})),n.d(e,"A",(function(){return M})),n.d(e,"B",(function(){return a})),n.d(e,"C",(function(){return R})),n.d(e,"D",(function(){return q})),n.d(e,"E",(function(){return y})),n.d(e,"F",(function(){return w})),n.d(e,"G",(function(){return r})),n.d(e,"H",(function(){return d})),n.d(e,"I",(function(){return l})),n.d(e,"J",(function(){return C})),n.d(e,"K",(function(){return _})),n.d(e,"L",(function(){return et})),n.d(e,"M",(function(){return ot})),n.d(e,"N",(function(){return V}));const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",o=r(i);const s="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=r(s);function c(t){return!!t||""===t}function l(t){if(F(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=R(r)?h(r):l(r);if(i)for(const t in i)e[t]=i[t]}return e}return R(t)||U(t)?t:void 0}const u=/;(?![^(]*\))/g,f=/:(.+)/;function h(t){const e={};return t.split(u).forEach(t=>{if(t){const n=t.split(f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function d(t){let e="";if(R(t))e=t;else if(F(t))for(let n=0;n<t.length;n++){const r=d(t[n]);r&&(e+=r+" ")}else if(U(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const p="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",g="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",m=r(p),v=r(g);function b(t,e){if(t.length!==e.length)return!1;let n=!0;for(let r=0;n&&r<t.length;r++)n=y(t[r],e[r]);return n}function y(t,e){if(t===e)return!0;let n=D(t),r=D(e);if(n||r)return!(!n||!r)&&t.getTime()===e.getTime();if(n=F(t),r=F(e),n||r)return!(!n||!r)&&b(t,e);if(n=U(t),r=U(e),n||r){if(!n||!r)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const n in t){const r=t.hasOwnProperty(n),i=e.hasOwnProperty(n);if(r&&!i||!r&&i||!y(t[n],e[n]))return!1}}return String(t)===String(e)}function w(t,e){return t.findIndex(t=>y(t,e))}const _=t=>null==t?"":F(t)||U(t)&&(t.toString===H||!B(t.toString))?JSON.stringify(t,x,2):String(t),x=(t,e)=>e&&e.__v_isRef?x(t,e.value):T(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[e,n])=>(t[e+" =>"]=n,t),{})}:M(e)?{[`Set(${e.size})`]:[...e.values()]}:!U(e)||F(e)||G(e)?e:String(e),A={},L=[],N=()=>{},S=()=>!1,P=/^on[^a-z]/,O=t=>P.test(t),j=t=>t.startsWith("onUpdate:"),k=Object.assign,C=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},E=Object.prototype.hasOwnProperty,I=(t,e)=>E.call(t,e),F=Array.isArray,T=t=>"[object Map]"===W(t),M=t=>"[object Set]"===W(t),D=t=>t instanceof Date,B=t=>"function"===typeof t,R=t=>"string"===typeof t,q=t=>"symbol"===typeof t,U=t=>null!==t&&"object"===typeof t,z=t=>U(t)&&B(t.then)&&B(t.catch),H=Object.prototype.toString,W=t=>H.call(t),V=t=>W(t).slice(8,-1),G=t=>"[object Object]"===W(t),$=t=>R(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,Y=r(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),X=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},J=/-(\w)/g,K=X(t=>t.replace(J,(t,e)=>e?e.toUpperCase():"")),Q=/\B([A-Z])/g,Z=X(t=>t.replace(Q,"-$1").toLowerCase()),tt=X(t=>t.charAt(0).toUpperCase()+t.slice(1)),et=X(t=>t?"on"+tt(t):""),nt=(t,e)=>!Object.is(t,e),rt=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},it=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ot=t=>{const e=parseFloat(t);return isNaN(e)?t:e}}).call(this,n("c8ba"))},a04b:function(t,e,n){var r=n("c04e"),i=n("d9b5");t.exports=function(t){var e=r(t,"string");return i(e)?e:String(e)}},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d066"),s=n("c430"),a=n("83ab"),c=n("4930"),l=n("d039"),u=n("5135"),f=n("e8b5"),h=n("861d"),d=n("d9b5"),p=n("825a"),g=n("7b0b"),m=n("fc6a"),v=n("a04b"),b=n("577e"),y=n("5c6c"),w=n("7c73"),_=n("df75"),x=n("241c"),A=n("057f"),L=n("7418"),N=n("06cf"),S=n("9bf2"),P=n("d1e7"),O=n("9112"),j=n("6eeb"),k=n("5692"),C=n("f772"),E=n("d012"),I=n("90e3"),F=n("b622"),T=n("e538"),M=n("746f"),D=n("d44e"),B=n("69f3"),R=n("b727").forEach,q=C("hidden"),U="Symbol",z="prototype",H=F("toPrimitive"),W=B.set,V=B.getterFor(U),G=Object[z],$=i.Symbol,Y=o("JSON","stringify"),X=N.f,J=S.f,K=A.f,Q=P.f,Z=k("symbols"),tt=k("op-symbol
283s"),et=k("string-to-symbol-registry"),nt=k("symbol-to-string-registry"),rt=k("wks"),it=i.QObject,ot=!it||!it[z]||!it[z].findChild,st=a&&l((function(){return 7!=w(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=X(G,e);r&&delete G[e],J(t,e,n),r&&t!==G&&J(G,e,r)}:J,at=function(t,e){var n=Z[t]=w($[z]);return W(n,{type:U,tag:t,description:e}),a||(n.description=e),n},ct=function(t,e,n){t===G&&ct(tt,e,n),p(t);var r=v(e);return p(n),u(Z,r)?(n.enumerable?(u(t,q)&&t[q][r]&&(t[q][r]=!1),n=w(n,{enumerable:y(0,!1)})):(u(t,q)||J(t,q,y(1,{})),t[q][r]=!0),st(t,r,n)):J(t,r,n)},lt=function(t,e){p(t);var n=m(e),r=_(n).concat(pt(n));return R(r,(function(e){a&&!ft.call(n,e)||ct(t,e,n[e])})),t},ut=function(t,e){return void 0===e?w(t):lt(w(t),e)},ft=function(t){var e=v(t),n=Q.call(this,e);return!(this===G&&u(Z,e)&&!u(tt,e))&&(!(n||!u(this,e)||!u(Z,e)||u(this,q)&&this[q][e])||n)},ht=function(t,e){var n=m(t),r=v(e);if(n!==G||!u(Z,r)||u(tt,r)){var i=X(n,r);return!i||!u(Z,r)||u(n,q)&&n[q][r]||(i.enumerable=!0),i}},dt=function(t){var e=K(m(t)),n=[];return R(e,(function(t){u(Z,t)||u(E,t)||n.push(t)})),n},pt=function(t){var e=t===G,n=K(e?tt:m(t)),r=[];return R(n,(function(t){!u(Z,t)||e&&!u(G,t)||r.push(Z[t])})),r};if(c||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,e=I(t),n=function(t){this===G&&n.call(tt,t),u(this,q)&&u(this[q],e)&&(this[q][e]=!1),st(this,e,y(1,t))};return a&&ot&&st(G,e,{configurable:!0,set:n}),at(e,t)},j($[z],"toString",(function(){return V(this).tag})),j($,"withoutSetter",(function(t){return at(I(t),t)})),P.f=ft,S.f=ct,N.f=ht,x.f=A.f=dt,L.f=pt,T.f=function(t){return at(F(t),t)},a&&(J($[z],"description",{configurable:!0,get:function(){return V(this).description}}),s||j(G,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:$}),R(_(rt),(function(t){M(t)})),r({target:U,stat:!0,forced:!c},{for:function(t){var e=b(t);if(u(et,e))return et[e];var n=$(e);return et[e]=n,nt[n]=e,n},keyFor:function(t){if(!d(t))throw TypeError(t+" is not a symbol");if(u(nt,t))return nt[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!a},{create:ut,defineProperty:ct,defineProperties:lt,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt,getOwnPropertySymbols:pt}),r({target:"Object",stat:!0,forced:l((function(){L.f(1)}))},{getOwnPropertySymbols:function(t){return L.f(g(t))}}),Y){var gt=!c||l((function(){var t=$();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}));r({target:"JSON",stat:!0,forced:gt},{stringify:function(t,e,n){var r,i=[t],o=1;while(arguments.length>o)i.push(arguments[o++]);if(r=e,(h(e)||void 0!==t)&&!d(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!d(e))return e}),i[1]=e,Y.apply(null,i)}})}$[z][H]||O($[z],H,$[z].valueOf),D($,U),E[q]=!0},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a79d:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("fea9"),s=n("d039"),a=n("d066"),c=n("4840"),l=n("cdf9"),u=n("6eeb"),f=!!o&&s((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(t){var e=c(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!i&&"function"==typeof o){var h=a("Promise").prototype["finally"];o.prototype["finally"]!==h&&u(o.prototype,"finally",h,{unsafe:!0})}},ab8b:function(t,e,n){},ae93:function(t,e,n){"use strict";var r,i,o,s=n("d039"),a=n("7c73"),c=n("e163"),l=n("9112"),u=n("b622"),f=n("c430"),h=u("iterator"),d=!1;[].keys&&(o=[].keys(),"next"in o?(i=c(c(o)),i!==Object.prototype&&(r=i)):d=!0);var p=void 0==r||s((function(){var t={};return r[h].call(t)!==t}));p?r={}:f&&(r=a(r)),"function"!==typeof r[h]&&l(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,c="name";r&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,i,o,s,a,c,l,u,f=n("da84"),h=n("06cf").f,d=n("2cf4").set,p=n("1cdc"),g=n("d4c3"),m=n("a4b4"),v=n("605d"),b=f.MutationObserver||f.WebKitMutationObserver,y=f.document,w=f.process,_=f.Promise,x=h(f,"queueMicrotask"),A=x&&x.value;A||(r=function(){var t,e;v&&(t=w.domain)&&t.exit();while(i){e=i.fn,i=i.next;try{e()}catch(n){throw i?s():o=void 0,n}}o=void 0,t&&t.enter()},p||v||m||!b||!y?!g&&_&&_.resolve?(l=_.resolve(void 0),l.constructor=_,u=l.then,s=function(){u.call(l,r)}):s=v?function(){w.nextTick(r)}:function(){d.call(f,r)}:(a=!0,c=y.createTextNode(""),new b(r).observe(c,{characterData:!0}
vendor: 7,553 bytes, line 283
283),s=function(){c.data=a=!a})),t.exports=A||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,s()),o=e}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),s=n("90e3"),a=n("4930"),c=n("fdbf"),l=i("wks"),u=r.Symbol,f=c?u:u&&u.withoutSetter||s;t.exports=function(t){return o(l,t)&&(a||"string"==typeof l[t])||(a&&o(u,t)?l[t]=u[t]:l[t]=f("Symbol."+t)),l[t]}},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),s=n("50c4"),a=n("65f0"),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,f=6==t,h=7==t,d=5==t||f;return function(p,g,m,v){for(var b,y,w=o(p),_=i(w),x=r(g,m,3),A=s(_.length),L=0,N=v||a,S=e?N(p,A):n||h?N(p,0):void 0;A>L;L++)if((d||L in _)&&(b=_[L],y=x(b,L,w),t))if(e)S[L]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return L;case 2:c.call(S,b)}else switch(t){case 4:return!1;case 7:c.call(S,b)}return f?-1:l||u?u:S}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},c04e:function(t,e,n){var r=n("861d"),i=n("d9b5"),o=n("485a"),s=n("b622"),a=s("toPrimitive");t.exports=function(t,e){if(!r(t)||i(t))return t;var n,s=t[a];if(void 0!==s){if(void 0===e&&(e="default"),n=s.call(t,e),!r(n)||i(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,s=n("d012");t.exports=function(t,e){var n,a=i(t),c=0,l=[];for(n in a)!r(s,n)&&r(a,n)&&l.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),i=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cdf9:function(t,e,n){var r=n("825a"),i=n("861d"),o=n("f069");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},ce4e:function(t,e,n){var r=n("da84");t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("6eeb"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,i=n("5135"),o=n("b622"),s=o("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,s)&&r(t,s,{configurable:!0,value:e})}},d4c3:function(t,e,n){var r=n("342f"),i=n("da84");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},d959:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n}},d9b5:function(t,e,n){var r=n("d066"),i=n("fdbf");t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("785a"),s=n("e260"),a=n("9112"),c=n("b622"),l=c("iterator"),u=c("toStringTag"),f=s.values,h=function(t,e){if(t){if(t[l]!==f)try{a(t,l,f)}catch(r){t[l]=f}if(t[u]||a(t,u,e),i[e])for(var n in s)if(t[n]!==s[n])try{a(t,n,s[n])}catch(r){t[n]=s[n]}}};for(var d in i)h(r[d]&&r[d].prototype,d);h(o,"DOMTokenList")},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),s=n("5135"),a=n("861d"),c=n("9bf2").f,l=n("e893"),u=o.Symbol;if(i&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var f={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new u(t):void 0===t?u():u(t);return""===t&&(f[e]=!0),e};l(h,u);var d=h.prototype=u.prototype;d.constructor=h;var p=d.toString,g="Symbol(test)"==String(u("test")),m=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=p.call(t);if(s(f,t))return"";var n=g?e.slice(7,-1):e.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),i=n("7b0b"),o=n("f772"),s=n("e177"),a=o("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),s=n("69f3"),a=n("7dd0"),c="Array Iterator",l=s.set,u=s.getterFor(c);t.exports=a(Array,"Array",(function(t,e){l(this,{type:c,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var r,i,o,s,a=n("23e7"),c=n("c430"),l=n("da84"),u=n("d066"),f=n("fea9"),h=n("6eeb"),d=n("e2cc"),p=n("d2bb"),g=n("d44e"),m=n("2626"),v=n("861d"),b=n("1c0b"),y=n("19aa"),w=n("8925"),_=n("2266"),x=n("1c7e"),A=n("4840"),L=n("2cf4").set,N=n("b575"),S=n("cdf9"),P=n("44de"),O=n("f069"),j=n("e667"),k=n("69f3"),C=n("94ca"),E=n("b622"),I=n("6069"),F=n("605d"),T=n("2d00"),M=E("species"),D="Promise",B=k.get,R=k.set,q=k.getterFor(D),U=f&&f.prototype,z=f,H=U,W=l.TypeError,V=l.document,G=l.process,$=O.f,Y=$,X=!!(V&&V.createEvent&&l.dispatchEvent),J="function"==typeof PromiseRejectionEvent,K="unhandledrejection",Q="rejectionhandled",Z=0,tt=1,et=2,nt=1,rt=2,it=!1,ot=C(D,(function(){var t=w(z),e=t!==String(z);if(!e&&66===T)return!0;
vendor: 5,443 bytes, lines 283-284
283if(c&&!H["finally"])return!0;if(T>=51&&/native code/.test(t))return!1;var n=new z((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))},i=n.constructor={};return i[M]=r,it=n.then((function(){}))instanceof r,!it||!e&&I&&!J})),st=ot||!x((function(t){z.all(t)["catch"]((function(){}))})),at=function(t){var e;return!(!v(t)||"function"!=typeof(e=t.then))&&e},ct=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;N((function(){var r=t.value,i=t.state==tt,o=0;while(n.length>o){var s,a,c,l=n[o++],u=i?l.ok:l.fail,f=l.resolve,h=l.reject,d=l.domain;try{u?(i||(t.rejection===rt&&ht(t),t.rejection=nt),!0===u?s=r:(d&&d.enter(),s=u(r),d&&(d.exit(),c=!0)),s===l.promise?h(W("Promise-chain cycle")):(a=at(s))?a.call(s,f,h):f(s)):h(r)}catch(p){d&&!c&&d.exit(),h(p)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ut(t)}))}},lt=function(t,e,n){var r,i;X?(r=V.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),l.dispatchEvent(r)):r={promise:e,reason:n},!J&&(i=l["on"+t])?i(r):t===K&&P("Unhandled promise rejection",n)},ut=function(t){L.call(l,(function(){var e,n=t.facade,r=t.value,i=ft(t);if(i&&(e=j((function(){F?G.emit("unhandledRejection",r,n):lt(K,n,r)})),t.rejection=F||ft(t)?rt:nt,e.error))throw e.value}))},ft=function(t){return t.rejection!==nt&&!t.parent},ht=function(t){L.call(l,(function(){var e=t.facade;F?G.emit("rejectionHandled",e):lt(Q,e,t.value)}))},dt=function(t,e,n){return function(r){t(e,r,n)}},pt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=et,ct(t,!0))},gt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw W("Promise can't be resolved itself");var r=at(e);r?N((function(){var n={done:!1};try{r.call(e,dt(gt,n,t),dt(pt,n,t))}catch(i){pt(n,i,t)}})):(t.value=e,t.state=tt,ct(t,!1))}catch(i){pt({done:!1},i,t)}}};if(ot&&(z=function(t){y(this,z,D),b(t),r.call(this);var e=B(this);try{t(dt(gt,e),dt(pt,e))}catch(n){pt(e,n)}},H=z.prototype,r=function(t){R(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Z,value:void 0})},r.prototype=d(H,{then:function(t,e){var n=q(this),r=$(A(this,z));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=F?G.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=Z&&ct(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=B(t);this.promise=t,this.resolve=dt(gt,e),this.reject=dt(pt,e)},O.f=$=function(t){return t===z||t===o?new i(t):Y(t)},!c&&"function"==typeof f&&U!==Object.prototype)){s=U.then,it||(h(U,"then",(function(t,e){var n=this;return new z((function(t,e){s.call(n,t,e)})).then(t,e)}),{unsafe:!0}),h(U,"catch",H["catch"],{unsafe:!0}));try{delete U.constructor}catch(mt){}p&&p(U,H)}a({global:!0,wrap:!0,forced:ot},{Promise:z}),g(z,D,!1,!0),m(D),o=u(D),a({target:D,stat:!0,forced:ot},{reject:function(t){var e=$(this);return e.reject.call(void 0,t),e.promise}}),a({target:D,stat:!0,forced:c||ot},{resolve:function(t){return S(c&&this===o?z:this,t)}}),a({target:D,stat:!0,forced:st},{all:function(t){var e=this,n=$(e),r=n.resolve,i=n.reject,o=j((function(){var n=b(e.resolve),o=[],s=0,a=1;_(t,(function(t){var c=s++,l=!1;o.push(void 0),a++,n.call(e,t).then((function(t){l||(l=!0,o[c]=t,--a||r(o))}),i)})),--a||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=$(e),r=n.reject,i=j((function(){var i=b(e.resolve);_(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),s=n("9bf2");t.exports=function(t,e){for(var n=i(e),a=s.f,c=o.f,l=0;l<n.length;l++){var u=n[l];r(t,u)||a(t,u,c(e,u))}}},e8b5:function(t,e,n){var r=n("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},f069:function(t,e,n){"use strict";var r=n("1c0b"),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},f5df:function(t,e,n){var r=n("00ee"),i=n("c6b6"),o=n("b622"),s=o("toStringTag"),a="Arguments"==i(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),s))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fc6a:function(t,e,n){var r=n("44ad"),i=n("1d80");t.exports=function(t){return r(i(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}}]); 284//# sourceMappingURL=chunk-vendors.8340f385.js.map
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.