revise 3.1.7 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +1677 -184
  2. package/FONT-LICENSE-HAN-EXT-B.txt +91 -0
  3. package/FONT-LICENSE-KATEX.txt +95 -0
  4. package/FONT-LICENSE-LIBERATION.txt +102 -0
  5. package/FONT-LICENSE-NOTO-MULTILINGUAL.txt +93 -0
  6. package/FONT-LICENSE-NOTO-SANS-SC.txt +93 -0
  7. package/FONT-LICENSE-NOTO.txt +94 -0
  8. package/FONT-LICENSE-SOURCE-CODE-PRO.txt +94 -0
  9. package/FONT-LICENSE-SOURCE-SERIF-4.txt +93 -0
  10. package/LICENSE +41 -21
  11. package/README.md +29 -121
  12. package/THIRD-PARTY-NOTICES.md +2751 -0
  13. package/assets/historyMaterializeWorker-ZFUHJDWr.js +619 -0
  14. package/chunks/AgentPageRenderer-CHHktDQ1.js +1 -0
  15. package/chunks/AgentPageRenderer-CN-N65JC.js +1 -0
  16. package/chunks/AttachmentDocumentImporter-DnHC9t7I.js +1 -0
  17. package/chunks/AttachmentDocumentImporter-Dqg7IPtK.js +1 -0
  18. package/chunks/ColorParserFull-BKH72fK8.js +446 -0
  19. package/chunks/DocumentScrubber-Ch_bOtHW.js +1 -0
  20. package/chunks/DocumentScrubber-DRzACkWJ.js +1 -0
  21. package/chunks/DocxConverter-BGPkGmyg.js +13 -0
  22. package/chunks/DocxConverter-DeurS5EF.js +13 -0
  23. package/chunks/DocxGraft-D71OgoMh.js +1 -0
  24. package/chunks/DocxGraft-QLkGEcwQ.js +1 -0
  25. package/chunks/FileImporter-BIT0ZBDY.js +1 -0
  26. package/chunks/FileImporter-Cgwoawuk.js +1 -0
  27. package/chunks/OdtConverter-2pm0SH5c.js +6 -0
  28. package/chunks/OdtConverter-CSUQTfVp.js +6 -0
  29. package/chunks/OfficeImportShared-C_mYnG5V.js +1 -0
  30. package/chunks/OfficeImportShared-O-d47J7O.js +1 -0
  31. package/chunks/PdfConverter-BYg_pr5J.js +21 -0
  32. package/chunks/PdfConverter-Z2HlY84F.js +21 -0
  33. package/chunks/PdfImportService-C2gwK1Sq.js +2 -0
  34. package/chunks/PdfImportService-CxtUtxM6.js +2 -0
  35. package/chunks/RtfConverter-BrtojpDV.js +15 -0
  36. package/chunks/RtfConverter-DlztsAoK.js +15 -0
  37. package/chunks/XmlConverter-3XWISlqr.js +2 -0
  38. package/chunks/XmlConverter-B1Kcohr0.js +2 -0
  39. package/chunks/__vite-browser-external-l0sNRNKZ.js +0 -0
  40. package/chunks/_revise-sdk-lazy-harfbuzz-X8gnYTZL.js +1 -0
  41. package/chunks/ar-vDYSGTpE.js +13 -0
  42. package/chunks/browser-module-BVdVmrPb.js +3 -0
  43. package/chunks/browser-module-CWlRHeO2.js +3 -0
  44. package/chunks/bundle.min-DRpfgV69.js +782 -0
  45. package/chunks/de-CWX4cvtt.js +13 -0
  46. package/chunks/es-DoAhvF6_.js +13 -0
  47. package/chunks/fil-DdAeD8Br.js +13 -0
  48. package/chunks/fr-CazsUjNQ.js +13 -0
  49. package/chunks/html2canvas.esm-CntiHiYW.js +997 -0
  50. package/chunks/index-BWdRWxoH.js +1807 -0
  51. package/chunks/index-D9_PwgOX.js +402 -0
  52. package/chunks/index-DcIXw_KB.js +402 -0
  53. package/chunks/ja-alh_QHTB.js +13 -0
  54. package/chunks/jspdf.es.min-BuJNZ-oY.js +1882 -0
  55. package/chunks/katex-DWj8TvwO.js +1462 -0
  56. package/chunks/pdf-BLWDCiFF.js +1828 -0
  57. package/chunks/persistInlineDocumentImages-DQj2iaqg.js +1 -0
  58. package/chunks/pseudoLocale-Bld5ZUFr.js +1 -0
  59. package/chunks/pseudoLocale-CLm3_c4X.js +1 -0
  60. package/chunks/tree-sitter-D6zWWUMP.js +4 -0
  61. package/chunks/wasmInline.generated-CBYFkdSM.js +1 -0
  62. package/chunks/web-tree-sitter-BXGZGnNj.js +2 -0
  63. package/chunks/zh-20eXwzFZ.js +13 -0
  64. package/cli-shim.js +34 -0
  65. package/full.js +1 -0
  66. package/index.d.ts +995 -13
  67. package/index.js +1 -31
  68. package/legacy/server.d.ts +19 -19
  69. package/legacy/server.js +39 -23
  70. package/package.json +55 -45
  71. package/serverToolContract.d.ts +420 -0
  72. package/serverToolInputs.generated.d.ts +269 -0
  73. package/style.css +1 -0
  74. package/version.d.ts +4 -0
  75. package/version.js +2 -0
  76. package/agent.d.ts +0 -139
  77. package/chunks/chunk-SMTOJL2X.js +0 -2436
  78. package/chunks/chunk-U5X47PZ6.js +0 -135
  79. package/chunks/chunk-U6YKQBKL.js +0 -15
  80. package/chunks/package-5SHL5FOJ.js +0 -14
  81. package/chunks/render-QD5VWKSV.js +0 -109
  82. package/cli-output.schema.json +0 -2159
  83. package/cli.js +0 -4152
  84. package/document.d.ts +0 -439
  85. package/docx.d.ts +0 -73
  86. package/errors.d.ts +0 -14
  87. package/legacy/editor.d.ts +0 -19
  88. package/legacy/editor.js +0 -16
  89. package/legacy/style.css +0 -2
  90. package/package.d.ts +0 -23
  91. package/render.d.ts +0 -27
@@ -0,0 +1,1882 @@
1
+ var q1=Object.defineProperty,R1=(i,e,t)=>e in i?q1(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,_e=(i,e,t)=>R1(i,typeof e!="symbol"?e+"":e,t);function Ac(i,e){(e==null||e>i.length)&&
2
+ (e=i.length);for(var t=0,n=Array(e);t<e;t++)n[t]=i[t];return n}function xc(i,e){return function(t){if(Array.isArray(t))return t}(i)||function(t,n){var a=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||
3
+ t["@@iterator"];if(a!=null){var s,l,u,g,d=[],m=!0,S=!1;try{if(u=(a=a.call(t)).next,n!==0)for(;!(m=(s=u.call(a)).done)&&(d.push(s.value),d.length!==n);m=!0);}catch(k){S=!0,l=k}finally{try{if(!m&&a.return!=
4
+ null&&(g=a.return(),Object(g)!==g))return}finally{if(S)throw l}}return d}}(i,e)||function(t,n){if(t){if(typeof t=="string")return Ac(t,n);var a={}.toString.call(t).slice(8,-1);return a==="Object"&&t.constructor&&
5
+ (a=t.constructor.name),a==="Map"||a==="Set"?Array.from(t):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Ac(t,n):void 0}}(i,e)||function(){throw new TypeError(`Invalid attempt to \
6
+ destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ne(i){return Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:
8
+ function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ne(i)}var ae=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<
9
+ "u"?self:this}();function fo(){ae.console&&typeof ae.console.log=="function"&&ae.console.log.apply(ae.console,arguments)}var Ce={log:fo,warn:function(i){ae.console&&(typeof ae.console.warn=="function"?
10
+ ae.console.warn.apply(ae.console,arguments):fo.call(null,arguments))},error:function(i){ae.console&&(typeof ae.console.error=="function"?ae.console.error.apply(ae.console,arguments):fo(i))}};function po(i,e,t){
11
+ var n=new XMLHttpRequest;n.open("GET",i),n.responseType="blob",n.onload=function(){vn(n.response,e,t)},n.onerror=function(){Ce.error("could not download file")},n.send()}function Nc(i){var e=new XMLHttpRequest;
12
+ e.open("HEAD",i,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function ms(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent(
13
+ "click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(e)}}var vn=ae.saveAs||((typeof window>"u"?"undefined":Ne(window))!=="object"||window!==ae?function(){}:typeof HTMLAnchorElement<"u"&&
14
+ "download"in HTMLAnchorElement.prototype?function(i,e,t){var n=ae.URL||ae.webkitURL,a=document.createElement("a");e=e||i.name||"download",a.download=e,a.rel="noopener",typeof i=="string"?(a.href=i,a.origin!==
15
+ location.origin?Nc(a.href)?po(i,e,t):ms(a,a.target="_blank"):ms(a)):(a.href=n.createObjectURL(i),setTimeout(function(){n.revokeObjectURL(a.href)},4e4),setTimeout(function(){ms(a)},0))}:"msSaveOrOpenBl\
16
+ ob"in navigator?function(i,e,t){if(e=e||i.name||"download",typeof i=="string")if(Nc(i))po(i,e,t);else{var n=document.createElement("a");n.href=i,n.target="_blank",setTimeout(function(){ms(n)})}else navigator.
17
+ msSaveOrOpenBlob(function(a,s){return s===void 0?s={autoBom:!1}:Ne(s)!=="object"&&(Ce.warn("Deprecated: Expected third argument to be a object"),s={autoBom:!s}),s.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.
18
+ test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}(i,t),e)}:function(i,e,t,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),typeof i=="string")return po(
19
+ i,e,t);var a=i.type==="application/octet-stream",s=/constructor/i.test(ae.HTMLElement)||ae.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&s)&&(typeof FileReader>"u"?"undefined":Ne(FileReader))===
20
+ "object"){var u=new FileReader;u.onloadend=function(){var m=u.result;m=l?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=m:location=m,n=null},u.readAsDataURL(i)}else{var g=ae.URL||
21
+ ae.webkitURL,d=g.createObjectURL(i);n?n.location=d:location.href=d,n=null,setTimeout(function(){g.revokeObjectURL(d)},4e4)}});function Sc(i){var e;i=i||"",this.ok=!1,i.charAt(0)=="#"&&(i=i.substr(1,6)),
22
+ i={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"\
23
+ a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"\
24
+ 008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"\
25
+ e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"\
26
+ d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"\
27
+ adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"\
28
+ add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",
29
+ lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",
30
+ mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"\
31
+ 191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",
32
+ palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800\
33
+ 080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"\
34
+ 6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"\
35
+ f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[i=(i=i.replace(/ /g,"")).toLowerCase()]||i;for(var t=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(\
36
+ 123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(
37
+ u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],
38
+ n=0;n<t.length;n++){var a=t[n].re,s=t[n].process,l=a.exec(i);l&&(e=s(l),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.
39
+ 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 u=this.r.toString(16),
40
+ g=this.g.toString(16),d=this.b.toString(16);return u.length==1&&(u="0"+u),g.length==1&&(g="0"+g),d.length==1&&(d="0"+d),"#"+u+g+d}}var vs=ae.atob.bind(ae),kc=ae.btoa.bind(ae);function go(i,e){var t=i[0],
41
+ n=i[1],a=i[2],s=i[3];t=pi(t,n,a,s,e[0],7,-680876936),s=pi(s,t,n,a,e[1],12,-389564586),a=pi(a,s,t,n,e[2],17,606105819),n=pi(n,a,s,t,e[3],22,-1044525330),t=pi(t,n,a,s,e[4],7,-176418897),s=pi(s,t,n,a,e[5],
42
+ 12,1200080426),a=pi(a,s,t,n,e[6],17,-1473231341),n=pi(n,a,s,t,e[7],22,-45705983),t=pi(t,n,a,s,e[8],7,1770035416),s=pi(s,t,n,a,e[9],12,-1958414417),a=pi(a,s,t,n,e[10],17,-42063),n=pi(n,a,s,t,e[11],22,-1990404162),
43
+ t=pi(t,n,a,s,e[12],7,1804603682),s=pi(s,t,n,a,e[13],12,-40341101),a=pi(a,s,t,n,e[14],17,-1502002290),t=gi(t,n=pi(n,a,s,t,e[15],22,1236535329),a,s,e[1],5,-165796510),s=gi(s,t,n,a,e[6],9,-1069501632),a=
44
+ gi(a,s,t,n,e[11],14,643717713),n=gi(n,a,s,t,e[0],20,-373897302),t=gi(t,n,a,s,e[5],5,-701558691),s=gi(s,t,n,a,e[10],9,38016083),a=gi(a,s,t,n,e[15],14,-660478335),n=gi(n,a,s,t,e[4],20,-405537848),t=gi(t,
45
+ n,a,s,e[9],5,568446438),s=gi(s,t,n,a,e[14],9,-1019803690),a=gi(a,s,t,n,e[3],14,-187363961),n=gi(n,a,s,t,e[8],20,1163531501),t=gi(t,n,a,s,e[13],5,-1444681467),s=gi(s,t,n,a,e[2],9,-51403784),a=gi(a,s,t,
46
+ n,e[7],14,1735328473),t=mi(t,n=gi(n,a,s,t,e[12],20,-1926607734),a,s,e[5],4,-378558),s=mi(s,t,n,a,e[8],11,-2022574463),a=mi(a,s,t,n,e[11],16,1839030562),n=mi(n,a,s,t,e[14],23,-35309556),t=mi(t,n,a,s,e[1],
47
+ 4,-1530992060),s=mi(s,t,n,a,e[4],11,1272893353),a=mi(a,s,t,n,e[7],16,-155497632),n=mi(n,a,s,t,e[10],23,-1094730640),t=mi(t,n,a,s,e[13],4,681279174),s=mi(s,t,n,a,e[0],11,-358537222),a=mi(a,s,t,n,e[3],16,
48
+ -722521979),n=mi(n,a,s,t,e[6],23,76029189),t=mi(t,n,a,s,e[9],4,-640364487),s=mi(s,t,n,a,e[12],11,-421815835),a=mi(a,s,t,n,e[15],16,530742520),t=vi(t,n=mi(n,a,s,t,e[2],23,-995338651),a,s,e[0],6,-198630844),
49
+ s=vi(s,t,n,a,e[7],10,1126891415),a=vi(a,s,t,n,e[14],15,-1416354905),n=vi(n,a,s,t,e[5],21,-57434055),t=vi(t,n,a,s,e[12],6,1700485571),s=vi(s,t,n,a,e[3],10,-1894986606),a=vi(a,s,t,n,e[10],15,-1051523),n=
50
+ vi(n,a,s,t,e[1],21,-2054922799),t=vi(t,n,a,s,e[8],6,1873313359),s=vi(s,t,n,a,e[15],10,-30611744),a=vi(a,s,t,n,e[6],15,-1560198380),n=vi(n,a,s,t,e[13],21,1309151649),t=vi(t,n,a,s,e[4],6,-145523070),s=vi(
51
+ s,t,n,a,e[11],10,-1120210379),a=vi(a,s,t,n,e[2],15,718787259),n=vi(n,a,s,t,e[9],21,-343485551),i[0]=Vr(t,i[0]),i[1]=Vr(n,i[1]),i[2]=Vr(a,i[2]),i[3]=Vr(s,i[3])}function bs(i,e,t,n,a,s){return e=Vr(Vr(e,
52
+ i),Vr(n,s)),Vr(e<<a|e>>>32-a,t)}function pi(i,e,t,n,a,s,l){return bs(e&t|~e&n,i,e,a,s,l)}function gi(i,e,t,n,a,s,l){return bs(e&n|t&~n,i,e,a,s,l)}function mi(i,e,t,n,a,s,l){return bs(e^t^n,i,e,a,s,l)}
53
+ function vi(i,e,t,n,a,s,l){return bs(t^(e|~n),i,e,a,s,l)}function Pc(i){var e,t=i.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=i.length;e+=64)go(n,B1(i.substring(e-64,e)));i=i.substring(
54
+ e-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<i.length;e++)a[e>>2]|=i.charCodeAt(e)<<(e%4<<3);if(a[e>>2]|=128<<(e%4<<3),e>55)for(go(n,a),e=0;e<16;e++)a[e]=0;return a[14]=8*t,go(n,a),n}function B1(i){
55
+ var e,t=[];for(e=0;e<64;e+=4)t[e>>2]=i.charCodeAt(e)+(i.charCodeAt(e+1)<<8)+(i.charCodeAt(e+2)<<16)+(i.charCodeAt(e+3)<<24);return t}var Ic="0123456789abcdef".split("");function j1(i){for(var e="",t=0;t<
56
+ 4;t++)e+=Ic[i>>8*t+4&15]+Ic[i>>8*t&15];return e}function T1(i){return String.fromCharCode(255&i,(65280&i)>>8,(16711680&i)>>16,(4278190080&i)>>24)}function mo(i){return function(e){return e.map(T1).join(
57
+ "")}(Pc(i))}var D1=function(i){for(var e=0;e<i.length;e++)i[e]=j1(i[e]);return i.join("")}(Pc("hello"))!="5d41402abc4b2a76b9719d911017c592";function Vr(i,e){if(D1){var t=(65535&i)+(65535&e);return(i>>
58
+ 16)+(e>>16)+(t>>16)<<16|65535&t}return i+e&4294967295}function vo(i,e){var t,n,a,s;if(i!==t){for(var l=(a=i,s=1+(256/i.length|0),new Array(s+1).join(a)),u=[],g=0;g<256;g++)u[g]=g;var d=0;for(g=0;g<256;g++){
59
+ var m=u[g];d=(d+m+l.charCodeAt(g))%256,u[g]=u[d],u[d]=m}t=i,n=u}else u=n;var S=e.length,k=0,f=0,T="";for(g=0;g<S;g++)f=(f+(m=u[k=(k+1)%256]))%256,u[k]=u[f],u[f]=m,l=u[(u[k]+u[f])%256],T+=String.fromCharCode(
60
+ e.charCodeAt(g)^l);return T}var Fc={print:4,modify:8,copy:16,"annot-forms":32};function $n(i,e,t,n){this.v=1,this.r=2;var a=192;i.forEach(function(u){if(Fc.perm!==void 0)throw new Error("Invalid permi\
61
+ ssion: "+u);a+=Fc[u]}),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var s=(e+this.padding).substr(0,32),l=(t+this.padding).substr(0,32);this.O=this.processOwnerPassword(s,l),this.P=-(1+
62
+ (255^a)),this.encryptionKey=mo(s+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=vo(this.encryptionKey,this.padding)}function ws(i){if(/[^\u0000-\u00ff]/.test(i))throw new Error(
63
+ "Invalid PDF Name Object: "+i+", Only accept ASCII characters.");for(var e="",t=i.length,n=0;n<t;n++){var a=i.charCodeAt(n);e+=a<33||a===35||a===37||a===40||a===41||a===47||a===60||a===62||a===91||a===
64
+ 93||a===123||a===125||a>126?"#"+("0"+a.toString(16)).slice(-2):i[n]}return e}function Ec(i){if(Ne(i)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.
65
+ subscribe=function(t,n,a){if(a=a||!1,typeof t!="string"||typeof n!="function"||typeof a!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]=
66
+ {});var s=Math.random().toString(35);return e[t][s]=[n,!!a],s},this.unsubscribe=function(t){for(var n in e)if(e[n][t])return delete e[n][t],Object.keys(e[n]).length===0&&delete e[n],!0;return!1},this.
67
+ publish=function(t){if(e.hasOwnProperty(t)){var n=Array.prototype.slice.call(arguments,1),a=[];for(var s in e[t]){var l=e[t][s];try{l[0].apply(i,n)}catch(u){ae.console&&Ce.error("jsPDF PubSub Error",u.
68
+ message,u)}l[1]&&a.push(s)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function Na(i){if(!(this instanceof Na))return new Na(i);var e="opacity,stroke-opacity".split(",");
69
+ for(var t in i)i.hasOwnProperty(t)&&e.indexOf(t)>=0&&(this[t]=i[t]);this.id="",this.objectNumber=-1}function Cc(i,e){this.gState=i,this.matrix=e,this.id="",this.objectNumber=-1}function Xr(i,e,t,n,a){
70
+ if(!(this instanceof Xr))return new Xr(i,e,t,n,a);this.type=i==="axial"?2:3,this.coords=e,this.colors=t,Cc.call(this,n,a)}function bn(i,e,t,n,a){if(!(this instanceof bn))return new bn(i,e,t,n,a);this.
71
+ boundingBox=i,this.xStep=e,this.yStep=t,this.stream="",this.cloneIndex=0,Cc.call(this,n,a)}function Dt(i){var e,t=typeof arguments[0]=="string"?arguments[0]:"p",n=arguments[1],a=arguments[2],s=arguments[3],
72
+ l=[],u=1,g=16,d="S",m=null;Ne(i=i||{})==="object"&&(t=i.orientation,n=i.unit||n,a=i.format||a,s=i.compress||i.compressPdf||s,(m=i.encryption||null)!==null&&(m.userPassword=m.userPassword||"",m.ownerPassword=
73
+ m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),u=typeof i.userUnit=="number"?Math.abs(i.userUnit):1,i.precision!==void 0&&(e=i.precision),i.floatPrecision!==void 0&&(g=i.floatPrecision),
74
+ d=i.defaultPathOperation||"S"),l=i.filters||(s===!0?["FlateEncode"]:l),n=n||"mm",t=(""+(t||"P")).toLowerCase();var S=i.putOnlyUsedFonts||!1,k={},f={internal:{},__private__:{}};f.__private__.PubSub=Ec;
75
+ var T="1.3",F=f.__private__.getPdfVersion=function(){return T};f.__private__.setPdfVersion=function(c){T=c};var y={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[
76
+ 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,
77
+ 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],
78
+ 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\
79
+ -letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};f.__private__.getPageFormats=function(){return y};var H=f.__private__.getPageFormat=
80
+ function(c){return y[c]};a=a||"a4";var z="compat",M="advanced",Y=z;function at(){this.saveGraphicsState(),P(new Gt(ie,0,0,-ie,0,nn()*ie).toString()+" cm"),this.setFontSize(this.getFontSize()/ie),d="n",
81
+ Y=M}function nt(){this.restoreGraphicsState(),d="S",Y=z}var _t=f.__private__.combineFontStyleAndFontWeight=function(c,v){if(c=="bold"&&v=="normal"||c=="bold"&&v==400||c=="normal"&&v=="italic"||c=="bol\
82
+ d"&&v=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(c=v==400||v==="normal"?c==="italic"?"italic":"normal":v!=700&&v!=="bold"||c!=="normal"?(v==700?"bold":v)+""+
83
+ c:"bold"),c};f.advancedAPI=function(c){var v=Y===z;return v&&at.call(this),typeof c!="function"||(c(this),v&&nt.call(this)),this},f.compatAPI=function(c){var v=Y===M;return v&&nt.call(this),typeof c!=
84
+ "function"||(c(this),v&&at.call(this)),this},f.isAdvancedAPI=function(){return Y===M};var V,B=function(c){if(Y!==M)throw new Error(c+" is only available in 'advanced' API mode. You need to call advanc\
85
+ edAPI() first.")},et=f.roundToPrecision=f.__private__.roundToPrecision=function(c,v){var I=e||v;if(isNaN(c)||isNaN(I))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return c.toFixed(
86
+ I).replace(/0+$/,"")};V=f.hpf=f.__private__.hpf=typeof g=="number"?function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,g)}:g==="smart"?function(c){if(isNaN(c))throw new Error(
87
+ "Invalid argument passed to jsPDF.hpf");return et(c,c>-1&&c<1?16:5)}:function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.hpf");return et(c,16)};var A=f.f2=f.__private__.f2=function(c){
88
+ if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f2");return et(c,2)},R=f.__private__.f3=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.f3");return et(c,3)},U=f.
89
+ scale=f.__private__.scale=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.scale");return Y===z?c*ie:Y===M?c:void 0},D=function(c){return U(function(v){return Y===z?nn()-v:Y===
90
+ M?v:void 0}(c))};f.__private__.setPrecision=f.setPrecision=function(c){typeof parseInt(c,10)=="number"&&(e=parseInt(c,10))};var it,pt="00000000000000000000000000000000",ut=f.__private__.getFileId=function(){
91
+ return pt},rt=f.__private__.setFileId=function(c){return pt=c!==void 0&&/^[a-fA-F0-9]{32}$/.test(c)?c.toUpperCase():pt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).
92
+ join(""),m!==null&&(si=new $n(m.userPermissions,m.userPassword,m.ownerPassword,pt)),pt};f.setFileId=function(c){return rt(c),this},f.getFileId=function(){return ut()};var ft=f.__private__.convertDateToPDFDate=
93
+ function(c){var v=c.getTimezoneOffset(),I=v<0?"+":"-",j=Math.floor(Math.abs(v/60)),J=Math.abs(v%60),ct=[I,q(j),"'",q(J),"'"].join("");return["D:",c.getFullYear(),q(c.getMonth()+1),q(c.getDate()),q(c.getHours()),
94
+ q(c.getMinutes()),q(c.getSeconds()),ct].join("")},gt=f.__private__.convertPDFDateToDate=function(c){var v=parseInt(c.substr(2,4),10),I=parseInt(c.substr(6,2),10)-1,j=parseInt(c.substr(8,2),10),J=parseInt(
95
+ c.substr(10,2),10),ct=parseInt(c.substr(12,2),10),yt=parseInt(c.substr(14,2),10);return new Date(v,I,j,J,ct,yt,0)},wt=f.__private__.setCreationDate=function(c){var v;if(c===void 0&&(c=new Date),c instanceof
96
+ Date)v=ft(c);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])'?$/.
97
+ test(c))throw new Error("Invalid argument passed to jsPDF.setCreationDate");v=c}return it=v},_=f.__private__.getCreationDate=function(c){var v=it;return c==="jsDate"&&(v=gt(it)),v};f.setCreationDate=function(c){
98
+ return wt(c),this},f.getCreationDate=function(c){return _(c)};var O,q=f.__private__.padd2=function(c){return("0"+parseInt(c)).slice(-2)},G=f.__private__.padd2Hex=function(c){return("00"+(c=c.toString())).
99
+ substr(c.length)},K=0,Z=[],st=[],ot=0,mt=[],At=[],St=!1,kt=st;f.__private__.setCustomOutputDestination=function(c){St=!0,kt=c};var Wt=function(c){St||(kt=c)};f.__private__.resetCustomOutputDestination=
100
+ function(){St=!1,kt=st};var P=f.__private__.out=function(c){return c=c.toString(),ot+=c.length+1,kt.push(c),kt},xt=f.__private__.write=function(c){return P(arguments.length===1?c.toString():Array.prototype.
101
+ join.call(arguments," "))},ee=f.__private__.getArrayBuffer=function(c){for(var v=c.length,I=new ArrayBuffer(v),j=new Uint8Array(I);v--;)j[v]=c.charCodeAt(v);return I},Ut=[["Helvetica","helvetica","nor\
102
+ mal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiE\
103
+ ncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier",
104
+ "bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItali\
105
+ c","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];f.__private__.getStandardFonts=function(){return Ut};var bt=i.fontSize||16;f.
106
+ __private__.setFontSize=f.setFontSize=function(c){return bt=Y===M?c/ie:c,this};var zt,Pt=f.__private__.getFontSize=f.getFontSize=function(){return Y===z?bt:bt*ie},Tt=i.R2L||!1;f.__private__.setR2L=f.setR2L=
107
+ function(c){return Tt=c,this},f.__private__.getR2L=f.getR2L=function(){return Tt};var Rt,ce=f.__private__.setZoomMode=function(c){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(c))zt=c;else if(isNaN(c)){if([void 0,
108
+ null,"fullwidth","fullheight","fullpage","original"].indexOf(c)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+c+'\
109
+ " is not recognized.');zt=c}else zt=parseInt(c,10)};f.__private__.getZoomMode=function(){return zt};var he,Kt=f.__private__.setPageMode=function(c){if([void 0,null,"UseNone","UseOutlines","UseThumbs",
110
+ "FullScreen"].indexOf(c)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+c+'" is not recognized.');Rt=c};f.__private__.getPageMode=function(){return Rt};
111
+ var fe=f.__private__.setLayoutMode=function(c){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(c)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft,\
112
+ tworight. "'+c+'" is not recognized.');he=c};f.__private__.getLayoutMode=function(){return he},f.__private__.setDisplayMode=f.setDisplayMode=function(c,v,I){return ce(c),fe(v),Kt(I),this};var ue={title:"",
113
+ subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(c){if(Object.keys(ue).indexOf(c)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ue[c]},
114
+ f.__private__.getDocumentProperties=function(){return ue},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(c){for(var v in ue)ue.hasOwnProperty(v)&&c[v]&&(ue[v]=c[v]);
115
+ return this},f.__private__.setDocumentProperty=function(c,v){if(Object.keys(ue).indexOf(c)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ue[c]=v};var qt,ie,jt,We,
116
+ me,se={},oe={},Me=[],Ht={},Se={},Xt={},Zt={},qe=null,le=0,Vt=[],be=new Ec(f),$r=i.hotfixes||[],li={},gr={},er=[],Gt=function(c,v,I,j,J,ct){if(!(this instanceof Gt))return new Gt(c,v,I,j,J,ct);isNaN(c)&&
117
+ (c=1),isNaN(v)&&(v=0),isNaN(I)&&(I=0),isNaN(j)&&(j=1),isNaN(J)&&(J=0),isNaN(ct)&&(ct=0),this._matrix=[c,v,I,j,J,ct]};Object.defineProperty(Gt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(c){
118
+ this._matrix[0]=c}}),Object.defineProperty(Gt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(c){this._matrix[1]=c}}),Object.defineProperty(Gt.prototype,"shx",{get:function(){return this.
119
+ _matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Gt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Gt.prototype,
120
+ "tx",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Gt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.
121
+ defineProperty(Gt.prototype,"a",{get:function(){return this._matrix[0]},set:function(c){this._matrix[0]=c}}),Object.defineProperty(Gt.prototype,"b",{get:function(){return this._matrix[1]},set:function(c){
122
+ this._matrix[1]=c}}),Object.defineProperty(Gt.prototype,"c",{get:function(){return this._matrix[2]},set:function(c){this._matrix[2]=c}}),Object.defineProperty(Gt.prototype,"d",{get:function(){return this.
123
+ _matrix[3]},set:function(c){this._matrix[3]=c}}),Object.defineProperty(Gt.prototype,"e",{get:function(){return this._matrix[4]},set:function(c){this._matrix[4]=c}}),Object.defineProperty(Gt.prototype,
124
+ "f",{get:function(){return this._matrix[5]},set:function(c){this._matrix[5]=c}}),Object.defineProperty(Gt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(
125
+ Gt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Gt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Gt.prototype,
126
+ "isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Gt.prototype.join=function(c){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.
127
+ ty].map(V).join(c)},Gt.prototype.multiply=function(c){var v=c.sx*this.sx+c.shy*this.shx,I=c.sx*this.shy+c.shy*this.sy,j=c.shx*this.sx+c.sy*this.shx,J=c.shx*this.shy+c.sy*this.sy,ct=c.tx*this.sx+c.ty*this.
128
+ shx+this.tx,yt=c.tx*this.shy+c.ty*this.sy+this.ty;return new Gt(v,I,j,J,ct,yt)},Gt.prototype.decompose=function(){var c=this.sx,v=this.shy,I=this.shx,j=this.sy,J=this.tx,ct=this.ty,yt=Math.sqrt(c*c+v*
129
+ v),Ct=(c/=yt)*I+(v/=yt)*j;I-=c*Ct,j-=v*Ct;var Et=Math.sqrt(I*I+j*j);return Ct/=Et,c*(j/=Et)<v*(I/=Et)&&(c=-c,v=-v,Ct=-Ct,yt=-yt),{scale:new Gt(yt,0,0,Et,0,0),translate:new Gt(1,0,0,1,J,ct),rotate:new Gt(
130
+ c,v,-v,c,0,0),skew:new Gt(1,0,Ct,1,0,0)}},Gt.prototype.toString=function(c){return this.join(" ")},Gt.prototype.inversed=function(){var c=this.sx,v=this.shy,I=this.shx,j=this.sy,J=this.tx,ct=this.ty,yt=1/
131
+ (c*j-v*I),Ct=j*yt,Et=-v*yt,Yt=-I*yt,Qt=c*yt;return new Gt(Ct,Et,Yt,Qt,-Ct*J-Yt*ct,-Et*J-Qt*ct)},Gt.prototype.applyToPoint=function(c){var v=c.x*this.sx+c.y*this.shx+this.tx,I=c.x*this.shy+c.y*this.sy+
132
+ this.ty;return new rn(v,I)},Gt.prototype.applyToRectangle=function(c){var v=this.applyToPoint(c),I=this.applyToPoint(new rn(c.x+c.w,c.y+c.h));return new la(v.x,v.y,I.x-v.x,I.y-v.y)},Gt.prototype.clone=
133
+ function(){var c=this.sx,v=this.shy,I=this.shx,j=this.sy,J=this.tx,ct=this.ty;return new Gt(c,v,I,j,J,ct)},f.Matrix=Gt;var mr=f.matrixMult=function(c,v){return v.multiply(c)},vr=new Gt(1,0,0,1,0,0);f.
134
+ unitMatrix=f.identityMatrix=vr;var qi=function(c,v){if(!Se[c]){var I=(v instanceof Xr?"Sh":"P")+(Object.keys(Ht).length+1).toString(10);v.id=I,Se[c]=I,Ht[I]=v,be.publish("addPattern",v)}};f.ShadingPattern=
135
+ Xr,f.TilingPattern=bn,f.addShadingPattern=function(c,v){return B("addShadingPattern()"),qi(c,v),this},f.beginTilingPattern=function(c){B("beginTilingPattern()"),ua(c.boundingBox[0],c.boundingBox[1],c.
136
+ boundingBox[2]-c.boundingBox[0],c.boundingBox[3]-c.boundingBox[1],c.matrix)},f.endTilingPattern=function(c,v){B("endTilingPattern()"),v.stream=At[O].join(`
137
+ `),qi(c,v),be.publish("endTilingPattern",v),er.pop().restore()};var Ri,Te=f.__private__.newObject=function(){var c=ni();return ai(c,!0),c},ni=f.__private__.newObjectDeferred=function(){return K++,Z[K]=
138
+ function(){return ot},K},ai=function(c,v){return v=typeof v=="boolean"&&v,Z[c]=ot,v&&P(c+" 0 obj"),c},Zr=f.__private__.newAdditionalObject=function(){var c={objId:ni(),content:""};return mt.push(c),c},
139
+ Er=ni(),Gi=ni(),ir=f.__private__.decodeColorString=function(c){var v=c.split(" ");if(v.length!==2||v[1]!=="g"&&v[1]!=="G")v.length!==5||v[4]!=="k"&&v[4]!=="K"||(v=[(1-v[0])*(1-v[3]),(1-v[1])*(1-v[3]),
140
+ (1-v[2])*(1-v[3]),"r"]);else{var I=parseFloat(v[0]);v=[I,I,I,"r"]}for(var j="#",J=0;J<3;J++)j+=("0"+Math.floor(255*parseFloat(v[J])).toString(16)).slice(-2);return j},Vi=f.__private__.encodeColorString=
141
+ function(c){var v;typeof c=="string"&&(c={ch1:c});var I=c.ch1,j=c.ch2,J=c.ch3,ct=c.ch4,yt=c.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof I=="string"&&I.charAt(0)!=="#"){var Ct=new Sc(
142
+ I);if(Ct.ok)I=Ct.toHex();else if(!/^\d*\.?\d*$/.test(I))throw new Error('Invalid color "'+I+'" passed to jsPDF.encodeColorString.')}if(typeof I=="string"&&/^#[0-9A-Fa-f]{3}$/.test(I)&&(I="#"+I[1]+I[1]+
143
+ I[2]+I[2]+I[3]+I[3]),typeof I=="string"&&/^#[0-9A-Fa-f]{6}$/.test(I)){var Et=parseInt(I.substr(1),16);I=Et>>16&255,j=Et>>8&255,J=255&Et}if(j===void 0||ct===void 0&&I===j&&j===J)v=typeof I=="string"?I+
144
+ " "+yt[0]:c.precision===2?A(I/255)+" "+yt[0]:R(I/255)+" "+yt[0];else if(ct===void 0||Ne(ct)==="object"){if(ct&&!isNaN(ct.a)&&ct.a===0)return["1.","1.","1.",yt[1]].join(" ");v=typeof I=="string"?[I,j,J,
145
+ yt[1]].join(" "):c.precision===2?[A(I/255),A(j/255),A(J/255),yt[1]].join(" "):[R(I/255),R(j/255),R(J/255),yt[1]].join(" ")}else v=typeof I=="string"?[I,j,J,ct,yt[2]].join(" "):c.precision===2?[A(I),A(
146
+ j),A(J),A(ct),yt[2]].join(" "):[R(I),R(j),R(J),R(ct),yt[2]].join(" ");return v},Xi=f.__private__.getFilters=function(){return l},Bi=f.__private__.putStream=function(c){var v=(c=c||{}).data||"",I=c.filters||
147
+ Xi(),j=c.alreadyAppliedFilters||[],J=c.addLength1||!1,ct=v.length,yt=c.objectId,Ct=function(Fe){return Fe};if(m!==null&&yt===void 0)throw new Error("ObjectId must be passed to putStream for file encry\
148
+ ption");m!==null&&(Ct=si.encryptor(yt,0));var Et={};I===!0&&(I=["FlateEncode"]);var Yt=c.additionalKeyValues||[],Qt=(Et=Dt.API.processDataByFilters!==void 0?Dt.API.processDataByFilters(v,I):{data:v,reverseChain:[]}).
149
+ reverseChain+(Array.isArray(j)?j.join(" "):j.toString());if(Et.data.length!==0&&(Yt.push({key:"Length",value:Et.data.length}),J===!0&&Yt.push({key:"Length1",value:ct})),Qt.length!=0)if(Qt.split("/").length-
150
+ 1==1)Yt.push({key:"Filter",value:Qt});else{Yt.push({key:"Filter",value:"["+Qt+"]"});for(var pe=0;pe<Yt.length;pe+=1)if(Yt[pe].key==="DecodeParms"){for(var $e=[],Ae=0;Ae<Et.reverseChain.split("/").length-
151
+ 1;Ae+=1)$e.push("null");$e.push(Yt[pe].value),Yt[pe].value="["+$e.join(" ")+"]"}}P("<<");for(var Le=0;Le<Yt.length;Le++)P("/"+Yt[Le].key+" "+Yt[Le].value);P(">>"),Et.data.length!==0&&(P("stream"),P(Ct(
152
+ Et.data)),P("endstream"))},Qr=f.__private__.putPage=function(c){var v=c.number,I=c.data,j=c.objId,J=c.contentsObjId;ai(j,!0),P("<</Type /Page"),P("/Parent "+c.rootDictionaryObjId+" 0 R"),P("/Resources\
153
+ "+c.resourceDictionaryObjId+" 0 R"),P("/MediaBox ["+parseFloat(V(c.mediaBox.bottomLeftX))+" "+parseFloat(V(c.mediaBox.bottomLeftY))+" "+V(c.mediaBox.topRightX)+" "+V(c.mediaBox.topRightY)+"]"),c.cropBox!==
154
+ null&&P("/CropBox ["+V(c.cropBox.bottomLeftX)+" "+V(c.cropBox.bottomLeftY)+" "+V(c.cropBox.topRightX)+" "+V(c.cropBox.topRightY)+"]"),c.bleedBox!==null&&P("/BleedBox ["+V(c.bleedBox.bottomLeftX)+" "+V(
155
+ c.bleedBox.bottomLeftY)+" "+V(c.bleedBox.topRightX)+" "+V(c.bleedBox.topRightY)+"]"),c.trimBox!==null&&P("/TrimBox ["+V(c.trimBox.bottomLeftX)+" "+V(c.trimBox.bottomLeftY)+" "+V(c.trimBox.topRightX)+"\
156
+ "+V(c.trimBox.topRightY)+"]"),c.artBox!==null&&P("/ArtBox ["+V(c.artBox.bottomLeftX)+" "+V(c.artBox.bottomLeftY)+" "+V(c.artBox.topRightX)+" "+V(c.artBox.topRightY)+"]"),typeof c.userUnit=="number"&&
157
+ c.userUnit!==1&&P("/UserUnit "+c.userUnit),be.publish("putPage",{objId:j,pageContext:Vt[v],pageNumber:v,page:I}),P("/Contents "+J+" 0 R"),P(">>"),P("endobj");var ct=I.join(`
158
+ `);return Y===M&&(ct+=`
159
+ Q`),ai(J,!0),Bi({data:ct,filters:Xi(),objectId:J}),P("endobj"),j},rr=f.__private__.putPages=function(){var c,v,I=[];for(c=1;c<=le;c++)Vt[c].objId=ni(),Vt[c].contentsObjId=ni();for(c=1;c<=le;c++)I.push(
160
+ Qr({number:c,data:At[c],objId:Vt[c].objId,contentsObjId:Vt[c].contentsObjId,mediaBox:Vt[c].mediaBox,cropBox:Vt[c].cropBox,bleedBox:Vt[c].bleedBox,trimBox:Vt[c].trimBox,artBox:Vt[c].artBox,userUnit:Vt[c].
161
+ userUnit,rootDictionaryObjId:Er,resourceDictionaryObjId:Gi}));ai(Er,!0),P("<</Type /Pages");var j="/Kids [";for(v=0;v<le;v++)j+=I[v]+" 0 R ";P(j+"]"),P("/Count "+le),P(">>"),P("endobj"),be.publish("po\
162
+ stPutPages")},tn=function(c){be.publish("putFont",{font:c,out:P,newObject:Te,putStream:Bi}),c.isAlreadyPutted!==!0&&(c.objectNumber=Te(),P("<<"),P("/Type /Font"),P("/BaseFont /"+ws(c.postScriptName)),
163
+ P("/Subtype /Type1"),typeof c.encoding=="string"&&P("/Encoding /"+c.encoding),P("/FirstChar 32"),P("/LastChar 255"),P(">>"),P("endobj"))},In=function(c){c.objectNumber=Te();var v=[];v.push({key:"Type",
164
+ value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[V(c.x),V(c.y),V(c.x+c.width),V(c.y+c.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+c.matrix.toString()+
165
+ "]"});var I=c.pages[1].join(`
166
+ `);Bi({data:I,additionalKeyValues:v,objectId:c.objectNumber}),P("endobj")},Fn=function(c,v){v||(v=21);var I=Te(),j=function(yt,Ct){var Et,Yt=[],Qt=1/(Ct-1);for(Et=0;Et<1;Et+=Qt)Yt.push(Et);if(Yt.push(
167
+ 1),yt[0].offset!=0){var pe={offset:0,color:yt[0].color};yt.unshift(pe)}if(yt[yt.length-1].offset!=1){var $e={offset:1,color:yt[yt.length-1].color};yt.push($e)}for(var Ae="",Le=0,Fe=0;Fe<Yt.length;Fe++){
168
+ for(Et=Yt[Fe];Et>yt[Le+1].offset;)Le++;var Be=yt[Le].offset,je=(Et-Be)/(yt[Le+1].offset-Be),bi=yt[Le].color,Ar=yt[Le+1].color;Ae+=G(Math.round((1-je)*bi[0]+je*Ar[0]).toString(16))+G(Math.round((1-je)*
169
+ bi[1]+je*Ar[1]).toString(16))+G(Math.round((1-je)*bi[2]+je*Ar[2]).toString(16))}return Ae.trim()}(c.colors,v),J=[];J.push({key:"FunctionType",value:"0"}),J.push({key:"Domain",value:"[0.0 1.0]"}),J.push(
170
+ {key:"Size",value:"["+v+"]"}),J.push({key:"BitsPerSample",value:"8"}),J.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),J.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Bi({data:j,additionalKeyValues:J,
171
+ alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:I}),P("endobj"),c.objectNumber=Te(),P("<< /ShadingType "+c.type),P("/ColorSpace /DeviceRGB");var ct="/Coords ["+V(parseFloat(c.coords[0]))+" "+V(parseFloat(
172
+ c.coords[1]))+" ";c.type===2?ct+=V(parseFloat(c.coords[2]))+" "+V(parseFloat(c.coords[3])):ct+=V(parseFloat(c.coords[2]))+" "+V(parseFloat(c.coords[3]))+" "+V(parseFloat(c.coords[4]))+" "+V(parseFloat(
173
+ c.coords[5])),P(ct+="]"),c.matrix&&P("/Matrix ["+c.matrix.toString()+"]"),P("/Function "+I+" 0 R"),P("/Extend [true true]"),P(">>"),P("endobj")},En=function(c,v){var I=ni(),j=Te();v.push({resourcesOid:I,
174
+ objectOid:j}),c.objectNumber=j;var J=[];J.push({key:"Type",value:"/Pattern"}),J.push({key:"PatternType",value:"1"}),J.push({key:"PaintType",value:"1"}),J.push({key:"TilingType",value:"1"}),J.push({key:"\
175
+ BBox",value:"["+c.boundingBox.map(V).join(" ")+"]"}),J.push({key:"XStep",value:V(c.xStep)}),J.push({key:"YStep",value:V(c.yStep)}),J.push({key:"Resources",value:I+" 0 R"}),c.matrix&&J.push({key:"Matri\
176
+ x",value:"["+c.matrix.toString()+"]"}),Bi({data:c.stream,additionalKeyValues:J,objectId:c.objectNumber}),P("endobj")},Es=function(c){for(var v in c.objectNumber=Te(),P("<<"),c)switch(v){case"opacity":
177
+ P("/ca "+A(c[v]));break;case"stroke-opacity":P("/CA "+A(c[v]))}P(">>"),P("endobj")},ia=function(c){ai(c.resourcesOid,!0),P("<<"),P("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var v in P(
178
+ "/Font <<"),se)se.hasOwnProperty(v)&&(S===!1||S===!0&&k.hasOwnProperty(v))&&P("/"+v+" "+se[v].objectNumber+" 0 R");P(">>")}(),function(){if(Object.keys(Ht).length>0){for(var v in P("/Shading <<"),Ht)Ht.
179
+ hasOwnProperty(v)&&Ht[v]instanceof Xr&&Ht[v].objectNumber>=0&&P("/"+v+" "+Ht[v].objectNumber+" 0 R");be.publish("putShadingPatternDict"),P(">>")}}(),function(v){if(Object.keys(Ht).length>0){for(var I in P(
180
+ "/Pattern <<"),Ht)Ht.hasOwnProperty(I)&&Ht[I]instanceof f.TilingPattern&&Ht[I].objectNumber>=0&&Ht[I].objectNumber<v&&P("/"+I+" "+Ht[I].objectNumber+" 0 R");be.publish("putTilingPatternDict"),P(">>")}}(
181
+ c.objectOid),function(){if(Object.keys(Xt).length>0){var v;for(v in P("/ExtGState <<"),Xt)Xt.hasOwnProperty(v)&&Xt[v].objectNumber>=0&&P("/"+v+" "+Xt[v].objectNumber+" 0 R");be.publish("putGStateDict"),
182
+ P(">>")}}(),function(){for(var v in P("/XObject <<"),li)li.hasOwnProperty(v)&&li[v].objectNumber>=0&&P("/"+v+" "+li[v].objectNumber+" 0 R");be.publish("putXobjectDict"),P(">>")}(),P(">>"),P("endobj")},
183
+ Ra=function(c){oe[c.fontName]=oe[c.fontName]||{},oe[c.fontName][c.fontStyle]=c.id},Ba=function(c,v,I,j,J){var ct={id:"F"+(Object.keys(se).length+1).toString(10),postScriptName:c,fontName:v,fontStyle:I,
184
+ encoding:j,isStandardFont:J||!1,metadata:{}};return be.publish("addFont",{font:ct,instance:this}),se[ct.id]=ct,Ra(ct),ct.id},ji=f.__private__.pdfEscape=f.pdfEscape=function(c,v){return function(I,j){var J,
185
+ ct,yt,Ct,Et,Yt,Qt,pe,$e;if(yt=(j=j||{}).sourceEncoding||"Unicode",Et=j.outputEncoding,(j.autoencode||Et)&&se[qt].metadata&&se[qt].metadata[yt]&&se[qt].metadata[yt].encoding&&(Ct=se[qt].metadata[yt].encoding,
186
+ !Et&&se[qt].encoding&&(Et=se[qt].encoding),!Et&&Ct.codePages&&(Et=Ct.codePages[0]),typeof Et=="string"&&(Et=Ct[Et]),Et)){for(Qt=!1,Yt=[],J=0,ct=I.length;J<ct;J++)(pe=Et[I.charCodeAt(J)])?Yt.push(String.
187
+ fromCharCode(pe)):Yt.push(I[J]),Yt[J].charCodeAt(0)>>8&&(Qt=!0);I=Yt.join("")}for(J=I.length;Qt===void 0&&J!==0;)I.charCodeAt(J-1)>>8&&(Qt=!0),J--;if(!Qt)return I;for(Yt=j.noBOM?[]:[254,255],J=0,ct=I.
188
+ length;J<ct;J++){if(($e=(pe=I.charCodeAt(J))>>8)>>8)throw new Error("Character at position "+J+" of string '"+I+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Yt.push($e),Yt.push(pe-($e<<8))}return String.
189
+ fromCharCode.apply(void 0,Yt)}(c,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ra=f.__private__.beginPage=function(c){At[++le]=[],Vt[le]={objId:0,contentsObjId:0,userUnit:Number(
190
+ u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(c[0]),topRightY:Number(c[1])}},Ta(le),Wt(At[O])},ja=function(c,v){var I,j,J;switch(t=v||t,
191
+ typeof c=="string"&&(I=H(c.toLowerCase()),Array.isArray(I)&&(j=I[0],J=I[1])),Array.isArray(c)&&(j=c[0]*ie,J=c[1]*ie),isNaN(j)&&(j=a[0],J=a[1]),(j>14400||J>14400)&&(Ce.warn("A page in a PDF can not be \
192
+ wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),j=Math.min(14400,j),J=Math.min(14400,J)),a=[j,J],t.substr(0,1)){case"l":J>j&&(a=[J,j]);break;case"p":j>J&&(a=[J,j])}ra(a),
193
+ Us(Jt),P(Bn),ca!==0&&P(ca+" J"),Mr!==0&&P(Mr+" j"),be.publish("addPage",{pageNumber:le})},na=function(c){c>0&&c<=le&&(At.splice(c,1),Vt.splice(c,1),le--,O>le&&(O=le),this.setPage(O))},Ta=function(c){c>
194
+ 0&&c<=le&&(O=c)},Da=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return At.length-1},Ua=function(c,v,I){var j,J=void 0;return I=I||{},c=c!==void 0?c:se[qt].fontName,v=v!==void 0?v:se[qt].
195
+ fontStyle,j=c.toLowerCase(),oe[j]!==void 0&&oe[j][v]!==void 0?J=oe[j][v]:oe[c]!==void 0&&oe[c][v]!==void 0?J=oe[c][v]:I.disableWarning===!1&&Ce.warn("Unable to look up font label for font '"+c+"', '"+
196
+ v+"'. Refer to getFontList() for available fonts."),J||I.noFallback||(J=oe.times[v])==null&&(J=oe.times.normal),J},nr=f.__private__.putInfo=function(){var c=Te(),v=function(j){return j};for(var I in m!==
197
+ null&&(v=si.encryptor(c,0)),P("<<"),P("/Producer ("+ji(v("jsPDF "+Dt.version))+")"),ue)ue.hasOwnProperty(I)&&ue[I]&&P("/"+I.substr(0,1).toUpperCase()+I.substr(1)+" ("+ji(v(ue[I]))+")");P("/CreationDat\
198
+ e ("+ji(v(it))+")"),P(">>"),P("endobj")},Cn=f.__private__.putCatalog=function(c){var v=(c=c||{}).rootDictionaryObjId||Er;switch(Te(),P("<<"),P("/Type /Catalog"),P("/Pages "+v+" 0 R"),zt||(zt="fullwidt\
199
+ h"),zt){case"fullwidth":P("/OpenAction [3 0 R /FitH null]");break;case"fullheight":P("/OpenAction [3 0 R /FitV null]");break;case"fullpage":P("/OpenAction [3 0 R /Fit]");break;case"original":P("/OpenA\
200
+ ction [3 0 R /XYZ null null 1]");break;default:var I=""+zt;I.substr(I.length-1)==="%"&&(zt=parseInt(zt)/100),typeof zt=="number"&&P("/OpenAction [3 0 R /XYZ null null "+A(zt)+"]")}switch(he||(he="cont\
201
+ inuous"),he){case"continuous":P("/PageLayout /OneColumn");break;case"single":P("/PageLayout /SinglePage");break;case"two":case"twoleft":P("/PageLayout /TwoColumnLeft");break;case"tworight":P("/PageLay\
202
+ out /TwoColumnRight")}Rt&&P("/PageMode /"+Rt),be.publish("putCatalog"),P(">>"),P("endobj")},Cs=f.__private__.putTrailer=function(){P("trailer"),P("<<"),P("/Size "+(K+1)),P("/Root "+K+" 0 R"),P("/Info "+
203
+ (K-1)+" 0 R"),m!==null&&P("/Encrypt "+si.oid+" 0 R"),P("/ID [ <"+pt+"> <"+pt+"> ]"),P(">>")},Ye=f.__private__.putHeader=function(){P("%PDF-"+T),P("%ºß¬à")},za=f.__private__.putXRef=function(){var c="\
204
+ 0000000000";P("xref"),P("0 "+(K+1)),P("0000000000 65535 f ");for(var v=1;v<=K;v++)typeof Z[v]=="function"?P((c+Z[v]()).slice(-10)+" 00000 n "):Z[v]!==void 0?P((c+Z[v]).slice(-10)+" 00000 n "):P("00000\
205
+ 00000 00000 n ")},ar=f.__private__.buildDocument=function(){var c;K=0,ot=0,st=[],Z=[],mt=[],Er=ni(),Gi=ni(),Wt(st),be.publish("buildDocument"),Ye(),rr(),function(){be.publish("putAdditionalObjects");for(var I=0;I<
206
+ mt.length;I++){var j=mt[I];ai(j.objId,!0),P(j.content),P("endobj")}be.publish("postPutAdditionalObjects")}(),c=[],function(){for(var I in se)se.hasOwnProperty(I)&&(S===!1||S===!0&&k.hasOwnProperty(I))&&
207
+ tn(se[I])}(),function(){var I;for(I in Xt)Xt.hasOwnProperty(I)&&Es(Xt[I])}(),function(){for(var I in li)li.hasOwnProperty(I)&&In(li[I])}(),function(I){var j;for(j in Ht)Ht.hasOwnProperty(j)&&(Ht[j]instanceof
208
+ Xr?Fn(Ht[j]):Ht[j]instanceof bn&&En(Ht[j],I))}(c),be.publish("putResources"),c.forEach(ia),ia({resourcesOid:Gi,objectOid:Number.MAX_SAFE_INTEGER}),be.publish("postPutResources"),m!==null&&(si.oid=Te(),
209
+ P("<<"),P("/Filter /Standard"),P("/V "+si.v),P("/R "+si.r),P("/U <"+si.toHexString(si.U)+">"),P("/O <"+si.toHexString(si.O)+">"),P("/P "+si.P),P(">>"),P("endobj")),nr(),Cn();var v=ot;return za(),Cs(),
210
+ P("startxref"),P(""+v),P("%%EOF"),Wt(At[O]),st.join(`
211
+ `)},On=f.__private__.getBlob=function(c){return new Blob([ee(c)],{type:"application/pdf"})},aa=function(c){for(;c.firstChild;)c.removeChild(c.firstChild)},Pi=function(c){var v,I=c.document,j=I.documentElement,
212
+ J=I.head,ct=I.body;return J||(J=I.createElement("head"),j.appendChild(J)),ct||(ct=I.createElement("body"),j.appendChild(ct)),aa(J),aa(ct),(v=I.createElement("style")).appendChild(I.createTextNode("htm\
213
+ l, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),J.appendChild(v),{document:I,body:ct}},Mn=f.output=f.__private__.output=(Ri=function(c,v){switch(typeof(v=v||{})==
214
+ "string"?v={filename:v}:v.filename=v.filename||"generated.pdf",c){case void 0:return ar();case"save":f.save(v.filename);break;case"arraybuffer":return ee(ar());case"blob":return On(ar());case"bloburi":case"\
215
+ bloburl":if(ae.URL!==void 0&&typeof ae.URL.createObjectURL=="function")return ae.URL&&ae.URL.createObjectURL(On(ar()))||void 0;Ce.warn("bloburl is not supported by your system, because URL.createObjec\
216
+ tURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var I="",j=ar();try{I=kc(j)}catch{I=kc(unescape(encodeURIComponent(j)))}return"data:application/pdf;filename="+encodeURIComponent(
217
+ v.filename)+";base64,"+I;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ae)==="[object Window]"){var J="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ct=!v.pdfObjectUrl;
218
+ ct||(J=v.pdfObjectUrl);var yt=ae.open();if(yt!==null){var Ct=Pi(yt),Et=Ct.document.createElement("script"),Yt=this;Et.src=J,ct&&(Et.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37\
219
+ VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",Et.crossOrigin="anonymous"),Et.onload=function(){yt.PDFObject.embed(Yt.output("dataurlstring"),v)},Ct.body.appendChild(Et)}return yt}throw new Error("The option\
220
+ pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(ae)==="[object Window]"){var Qt=v.pdfJsUrl||"examples/PDF.js/web/viewer.html",pe=ae.open();
221
+ if(pe!==null){var $e=Pi(pe),Ae=$e.document.createElement("iframe"),Le=Qt.indexOf("?")===-1?"?":"&";Yt=this,Ae.id="pdfViewer",Ae.width="500px",Ae.height="400px",Ae.src=Qt+Le+"file=&downloadName="+encodeURIComponent(
222
+ v.filename),Ae.onload=function(){pe.document.title=v.filename,Ae.contentWindow.PDFViewerApplication.open(Yt.output("bloburl"))},$e.body.appendChild(Ae)}return pe}throw new Error("The option pdfjsnewwi\
223
+ ndow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(ae)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-enviro\
224
+ nment.");var Fe=ae.open();if(Fe!==null){var Be=Pi(Fe),je=Be.document.createElement("iframe");je.src=this.output("datauristring",v),Be.body.appendChild(je),Fe.document.title=v.filename}if(Fe||typeof safari>
225
+ "u")return Fe;break;case"datauri":case"dataurl":return ae.document.location.href=this.output("datauristring",v);default:return null}},Ri.foo=function(){try{return Ri.apply(this,arguments)}catch(I){var c=I.
226
+ stack||"";~c.indexOf(" at ")&&(c=c.split(" at ")[1]);var v="Error in function "+c.split(`
227
+ `)[0].split("<")[0]+": "+I.message;if(!ae.console)throw new Error(v);ae.console.error(v,I),ae.alert&&alert(v)}},Ri.foo.bar=Ri,Ri.foo),br=function(c){return Array.isArray($r)===!0&&$r.indexOf(c)>-1};switch(n){case"\
228
+ pt":ie=1;break;case"mm":ie=72/25.4;break;case"cm":ie=72/2.54;break;case"in":ie=72;break;case"px":ie=br("px_scaling")==1?.75:96/72;break;case"pc":case"em":ie=12;break;case"ex":ie=6;break;default:if(typeof n!=
229
+ "number")throw new Error("Invalid unit: "+n);ie=n}var si=null;wt(),rt();var Wa=f.__private__.getPageInfo=f.getPageInfo=function(c){if(isNaN(c)||c%1!=0)throw new Error("Invalid argument passed to jsPDF\
230
+ .getPageInfo");return{objId:Vt[c].objId,pageNumber:c,pageContext:Vt[c]}},Os=f.__private__.getPageInfoByObjId=function(c){if(isNaN(c)||c%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageIn\
231
+ foByObjId");for(var v in Vt)if(Vt[v].objId===c)break;return Wa(v)},Ms=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:Vt[O].objId,pageNumber:O,pageContext:Vt[O]}};f.addPage=
232
+ function(){return ja.apply(this,arguments),this},f.setPage=function(){return Ta.apply(this,arguments),Wt.call(this,At[O]),this},f.insertPage=function(c){return this.addPage(),this.movePage(O,c),this},
233
+ f.movePage=function(c,v){var I,j;if(c>v){I=At[c],j=Vt[c];for(var J=c;J>v;J--)At[J]=At[J-1],Vt[J]=Vt[J-1];At[v]=I,Vt[v]=j,this.setPage(v)}else if(c<v){I=At[c],j=Vt[c];for(var ct=c;ct<v;ct++)At[ct]=At[ct+
234
+ 1],Vt[ct]=Vt[ct+1];At[v]=I,Vt[v]=j,this.setPage(v)}return this},f.deletePage=function(){return na.apply(this,arguments),this},f.__private__.text=f.text=function(c,v,I,j,J){var ct,yt,Ct,Et,Yt,Qt,pe,$e,
235
+ Ae,Le=(j=j||{}).scope||this;if(typeof c=="number"&&typeof v=="number"&&(typeof I=="string"||Array.isArray(I))){var Fe=I;I=v,v=c,c=Fe}if(arguments[3]instanceof Gt==0?(Ct=arguments[4],Et=arguments[5],Ne(
236
+ pe=arguments[3])==="object"&&pe!==null||(typeof Ct=="string"&&(Et=Ct,Ct=null),typeof pe=="string"&&(Et=pe,pe=null),typeof pe=="number"&&(Ct=pe,pe=null),j={flags:pe,angle:Ct,align:Et})):(B("The transfo\
237
+ rm parameter of text() with a Matrix value"),Ae=J),isNaN(v)||isNaN(I)||c==null)throw new Error("Invalid arguments passed to jsPDF.text");if(c.length===0)return Le;var Be,je="",bi=typeof j.lineHeightFactor==
238
+ "number"?j.lineHeightFactor:en,Ar=Le.internal.scaleFactor;function fa(ke){return ke=ke.split(" ").join(Array(j.TabLen||9).join(" ")),ji(ke,pe)}function an(ke){for(var Pe,He=ke.concat(),Qe=[],Nr=He.length;Nr--;)
239
+ typeof(Pe=He.shift())=="string"?Qe.push(Pe):Array.isArray(ke)&&(Pe.length===1||Pe[1]===void 0&&Pe[2]===void 0)?Qe.push(Pe[0]):Qe.push([Pe[0],Pe[1],Pe[2]]);return Qe}function sn(ke,Pe){var He;if(typeof ke==
240
+ "string")He=Pe(ke)[0];else if(Array.isArray(ke)){for(var Qe,Nr,ba=ke.concat(),Jn=[],Qa=ba.length;Qa--;)typeof(Qe=ba.shift())=="string"?Jn.push(Pe(Qe)[0]):Array.isArray(Qe)&&typeof Qe[0]=="string"&&(Nr=
241
+ Pe(Qe[0],Qe[1],Qe[2]),Jn.push([Nr[0],Nr[1],Nr[2]]));He=Jn}return He}var qr=!1,on=!0;if(typeof c=="string")qr=!0;else if(Array.isArray(c)){var Un=c.concat();yt=[];for(var zn,ui=Un.length;ui--;)(typeof(zn=
242
+ Un.shift())!="string"||Array.isArray(zn)&&typeof zn[0]!="string")&&(on=!1);qr=on}if(qr===!1)throw new Error('Type of text must be string or Array. "'+c+'" is not recognized.');typeof c=="string"&&(c=c.
243
+ match(/[\r?\n]/)?c.split(/\r\n|\r|\n/g):[c]);var cn=bt/Le.internal.scaleFactor,hn=cn*(bi-1);switch(j.baseline){case"bottom":I-=hn;break;case"top":I+=cn-hn;break;case"hanging":I+=cn-2*hn;break;case"mid\
244
+ dle":I+=cn/2-hn}if((Qt=j.maxWidth||0)>0&&(typeof c=="string"?c=Le.splitTextToSize(c,Qt):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(ke,Pe){return ke.concat(Le.splitTextToSize(
245
+ Pe,Qt))},[]))),ct={text:c,x:v,y:I,options:j,mutex:{pdfEscape:ji,activeFontKey:qt,fonts:se,activeFontSize:bt}},be.publish("preProcessText",ct),c=ct.text,Ct=(j=ct.options).angle,Ae instanceof Gt==0&&Ct&&
246
+ typeof Ct=="number"){Ct*=Math.PI/180,j.rotationDirection===0&&(Ct=-Ct),Y===M&&(Ct=-Ct);var da=Math.cos(Ct),cr=Math.sin(Ct);Ae=new Gt(da,cr,-cr,da,0,0)}else Ct&&Ct instanceof Gt&&(Ae=Ct);Y!==M||Ae||(Ae=
247
+ vr),(Yt=j.charSpace||jn)!==void 0&&(je+=V(U(Yt))+` Tc
248
+ `,this.setCharSpace(this.getCharSpace()||0)),($e=j.horizontalScale)!==void 0&&(je+=V(100*$e)+` Tz
249
+ `),j.lang;var wi=-1,$a=j.renderingMode!==void 0?j.renderingMode:j.stroke,Wn=Le.internal.getCurrentPageInfo().pageContext;switch($a){case 0:case!1:case"fill":wi=0;break;case 1:case!0:case"stroke":wi=1;
250
+ break;case 2:case"fillThenStroke":wi=2;break;case 3:case"invisible":wi=3;break;case 4:case"fillAndAddForClipping":wi=4;break;case 5:case"strokeAndAddPathForClipping":wi=5;break;case 6:case"fillThenStr\
251
+ okeAndAddToPathForClipping":wi=6;break;case 7:case"addToPathForClipping":wi=7}var Za=Wn.usedRenderingMode!==void 0?Wn.usedRenderingMode:-1;wi!==-1?je+=wi+` Tr
252
+ `:Za!==-1&&(je+=`0 Tr
253
+ `),wi!==-1&&(Wn.usedRenderingMode=wi),Et=j.align||"left";var Ti,ln=bt*bi,pa=Le.internal.pageSize.getWidth(),Hn=se[qt];Yt=j.charSpace||jn,Qt=j.maxWidth||0,pe=Object.assign({autoencode:!0,noBOM:!0},j.flags);
254
+ var un=[],ga=function(ke){return Le.getStringUnitWidth(ke,{font:Hn,charSpace:Yt,fontSize:bt,doKerning:!1})*bt/Ar};if(Object.prototype.toString.call(c)==="[object Array]"){var yi;yt=an(c),Et!=="left"&&
255
+ (Ti=yt.map(ga));var xi,Gn=0;if(Et==="right"){v-=Ti[0],c=[],ui=yt.length;for(var Rr=0;Rr<ui;Rr++)Rr===0?(xi=wr(v),yi=yr(I)):(xi=U(Gn-Ti[Rr]),yi=-ln),c.push([yt[Rr],xi,yi]),Gn=Ti[Rr]}else if(Et==="cente\
256
+ r"){v-=Ti[0]/2,c=[],ui=yt.length;for(var Br=0;Br<ui;Br++)Br===0?(xi=wr(v),yi=yr(I)):(xi=U((Gn-Ti[Br])/2),yi=-ln),c.push([yt[Br],xi,yi]),Gn=Ti[Br]}else if(Et==="left"){c=[],ui=yt.length;for(var Vn=0;Vn<
257
+ ui;Vn++)c.push(yt[Vn])}else if(Et==="justify"&&Hn.encoding==="Identity-H"){c=[],ui=yt.length,Qt=Qt!==0?Qt:pa;for(var fn=0,Ze=0;Ze<ui;Ze++)if(yi=Ze===0?yr(I):-ln,xi=Ze===0?wr(v):fn,Ze<ui-1){var Js=U((Qt-
258
+ Ti[Ze])/(yt[Ze].split(" ").length-1)),hr=yt[Ze].split(" ");c.push([hr[0]+" ",xi,yi]),fn=0;for(var Ki=1;Ki<hr.length;Ki++){var dn=(ga(hr[Ki-1]+" "+hr[Ki])-ga(hr[Ki]))*Ar+Js;Ki==hr.length-1?c.push([hr[Ki],
259
+ dn,0]):c.push([hr[Ki]+" ",dn,0]),fn-=dn}}else c.push([yt[Ze],xi,yi]);c.push(["",fn,0])}else{if(Et!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify"\
260
+ .');for(c=[],ui=yt.length,Qt=Qt!==0?Qt:pa,Ze=0;Ze<ui;Ze++){yi=Ze===0?yr(I):-ln,xi=Ze===0?wr(v):0;var ma=yt[Ze].split(" ").length-1,va=ma>0?(Qt-Ti[Ze])/ma:0;Ze<ui-1?un.push(V(U(va))):un.push(0),c.push(
261
+ [yt[Ze],xi,yi])}}}(typeof j.R2L=="boolean"?j.R2L:Tt)===!0&&(c=sn(c,function(ke,Pe,He){return[ke.split("").reverse().join(""),Pe,He]})),ct={text:c,x:v,y:I,options:j,mutex:{pdfEscape:ji,activeFontKey:qt,
262
+ fonts:se,activeFontSize:bt}},be.publish("postProcessText",ct),c=ct.text,Be=ct.mutex.isHex||!1;var Xn=se[qt].encoding;Xn!=="WinAnsiEncoding"&&Xn!=="StandardEncoding"||(c=sn(c,function(ke,Pe,He){return[
263
+ fa(ke),Pe,He]})),yt=an(c),c=[];for(var pn,gn,jr,xr=Array.isArray(yt[0])?1:0,Tr="",Kn=function(ke,Pe,He){var Qe="";return He instanceof Gt?(He=typeof j.angle=="number"?mr(He,new Gt(1,0,0,1,ke,Pe)):mr(new Gt(
264
+ 1,0,0,1,ke,Pe),He),Y===M&&(He=mr(new Gt(1,0,0,-1,0,0),He)),Qe=He.join(" ")+` Tm
265
+ `):Qe=V(ke)+" "+V(Pe)+` Td
266
+ `,Qe},fi=0;fi<yt.length;fi++){switch(Tr="",xr){case 1:jr=(Be?"<":"(")+yt[fi][0]+(Be?">":")"),pn=parseFloat(yt[fi][1]),gn=parseFloat(yt[fi][2]);break;case 0:jr=(Be?"<":"(")+yt[fi]+(Be?">":")"),pn=wr(v),
267
+ gn=yr(I)}un!==void 0&&un[fi]!==void 0&&(Tr=un[fi]+` Tw
268
+ `),fi===0?c.push(Tr+Kn(pn,gn,Ae)+jr):xr===0?c.push(Tr+jr):xr===1&&c.push(Tr+Kn(pn,gn,Ae)+jr)}c=xr===0?c.join(` Tj
269
+ T* `):c.join(` Tj
270
+ `),c+=` Tj
271
+ `;var lr=`BT
272
+ /`;return lr+=qt+" "+bt+` Tf
273
+ `,lr+=V(bt*bi)+` TL
274
+ `,lr+=or+`
275
+ `,lr+=je,lr+=c,P(lr+="ET"),k[qt]=!0,Le};var qs=f.__private__.clip=f.clip=function(c){return P(c==="evenodd"?"W*":"W"),this};f.clipEvenOdd=function(){return qs("evenodd")},f.__private__.discardPath=f.discardPath=
276
+ function(){return P("n"),this};var sr=f.__private__.isValidStyle=function(c){var v=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(c)!==-1&&(v=!0),v};f.__private__.setDefaultPathOperation=
277
+ f.setDefaultPathOperation=function(c){return sr(c)&&(d=c),this};var Ha=f.__private__.getStyle=f.getStyle=function(c){var v=d;switch(c){case"D":case"S":v="S";break;case"F":v="f";break;case"FD":case"DF":
278
+ v="B";break;case"f":case"f*":case"B":case"B*":v=c}return v},qn=f.close=function(){return P("h"),this};f.stroke=function(){return P("S"),this},f.fill=function(c){return Rn("f",c),this},f.fillEvenOdd=function(c){
279
+ return Rn("f*",c),this},f.fillStroke=function(c){return Rn("B",c),this},f.fillStrokeEvenOdd=function(c){return Rn("B*",c),this};var Rn=function(c,v){Ne(v)==="object"?Bs(v,c):P(c)},sa=function(c){c===null||
280
+ Y===M&&c===void 0||(c=Ha(c),P(c))};function Rs(c,v,I,j,J){var ct=new bn(v||this.boundingBox,I||this.xStep,j||this.yStep,this.gState,J||this.matrix);ct.stream=this.stream;var yt=c+"$$"+this.cloneIndex+++
281
+ "$$";return qi(yt,ct),ct}var Bs=function(c,v){var I=Se[c.key],j=Ht[I];if(j instanceof Xr)P("q"),P(js(v)),j.gState&&f.setGState(j.gState),P(c.matrix.toString()+" cm"),P("/"+I+" sh"),P("Q");else if(j instanceof
282
+ bn){var J=new Gt(1,0,0,-1,0,nn());c.matrix&&(J=J.multiply(c.matrix||vr),I=Rs.call(j,c.key,c.boundingBox,c.xStep,c.yStep,J).id),P("q"),P("/Pattern cs"),P("/"+I+" scn"),j.gState&&f.setGState(j.gState),P(
283
+ v),P("Q")}},js=function(c){switch(c){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Cr=f.moveTo=function(c,v){return P(V(U(c))+" "+V(D(v))+
284
+ " m"),this},Ga=f.lineTo=function(c,v){return P(V(U(c))+" "+V(D(v))+" l"),this},Or=f.curveTo=function(c,v,I,j,J,ct){return P([V(U(c)),V(D(v)),V(U(I)),V(D(j)),V(U(J)),V(D(ct)),"c"].join(" ")),this};f.__private__.
285
+ line=f.line=function(c,v,I,j,J){if(isNaN(c)||isNaN(v)||isNaN(I)||isNaN(j)||!sr(J))throw new Error("Invalid arguments passed to jsPDF.line");return Y===z?this.lines([[I-c,j-v]],c,v,[1,1],J||"S"):this.lines(
286
+ [[I-c,j-v]],c,v,[1,1]).stroke()},f.__private__.lines=f.lines=function(c,v,I,j,J,ct){var yt,Ct,Et,Yt,Qt,pe,$e,Ae,Le,Fe,Be,je;if(typeof c=="number"&&(je=I,I=v,v=c,c=je),j=j||[1,1],ct=ct||!1,isNaN(v)||isNaN(
287
+ I)||!Array.isArray(c)||!Array.isArray(j)||!sr(J)||typeof ct!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Cr(v,I),yt=j[0],Ct=j[1],Yt=c.length,Fe=v,Be=I,Et=0;Et<Yt;Et++)(Qt=
288
+ c[Et]).length===2?(Fe=Qt[0]*yt+Fe,Be=Qt[1]*Ct+Be,Ga(Fe,Be)):(pe=Qt[0]*yt+Fe,$e=Qt[1]*Ct+Be,Ae=Qt[2]*yt+Fe,Le=Qt[3]*Ct+Be,Fe=Qt[4]*yt+Fe,Be=Qt[5]*Ct+Be,Or(pe,$e,Ae,Le,Fe,Be));return ct&&qn(),sa(J),this},
289
+ f.path=function(c){for(var v=0;v<c.length;v++){var I=c[v],j=I.c;switch(I.op){case"m":Cr(j[0],j[1]);break;case"l":Ga(j[0],j[1]);break;case"c":Or.apply(this,j);break;case"h":qn()}}return this},f.__private__.
290
+ rect=f.rect=function(c,v,I,j,J){if(isNaN(c)||isNaN(v)||isNaN(I)||isNaN(j)||!sr(J))throw new Error("Invalid arguments passed to jsPDF.rect");return Y===z&&(j=-j),P([V(U(c)),V(D(v)),V(U(I)),V(U(j)),"re"].
291
+ join(" ")),sa(J),this},f.__private__.triangle=f.triangle=function(c,v,I,j,J,ct,yt){if(isNaN(c)||isNaN(v)||isNaN(I)||isNaN(j)||isNaN(J)||isNaN(ct)||!sr(yt))throw new Error("Invalid arguments passed to \
292
+ jsPDF.triangle");return this.lines([[I-c,j-v],[J-I,ct-j],[c-J,v-ct]],c,v,[1,1],yt,!0),this},f.__private__.roundedRect=f.roundedRect=function(c,v,I,j,J,ct,yt){if(isNaN(c)||isNaN(v)||isNaN(I)||isNaN(j)||
293
+ isNaN(J)||isNaN(ct)||!sr(yt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ct=4/3*(Math.SQRT2-1);return J=Math.min(J,.5*I),ct=Math.min(ct,.5*j),this.lines([[I-2*J,0],[J*Ct,0,J,ct-
294
+ ct*Ct,J,ct],[0,j-2*ct],[0,ct*Ct,-J*Ct,ct,-J,ct],[2*J-I,0],[-J*Ct,0,-J,-ct*Ct,-J,-ct],[0,2*ct-j],[0,-ct*Ct,J*Ct,-ct,J,-ct]],c+J,v,[1,1],yt,!0),this},f.__private__.ellipse=f.ellipse=function(c,v,I,j,J){
295
+ if(isNaN(c)||isNaN(v)||isNaN(I)||isNaN(j)||!sr(J))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ct=4/3*(Math.SQRT2-1)*I,yt=4/3*(Math.SQRT2-1)*j;return Cr(c+I,v),Or(c+I,v-yt,c+ct,v-j,
296
+ c,v-j),Or(c-ct,v-j,c-I,v-yt,c-I,v),Or(c-I,v+yt,c-ct,v+j,c,v+j),Or(c+ct,v+j,c+I,v+yt,c+I,v),sa(J),this},f.__private__.circle=f.circle=function(c,v,I,j){if(isNaN(c)||isNaN(v)||isNaN(I)||!sr(j))throw new Error(
297
+ "Invalid arguments passed to jsPDF.circle");return this.ellipse(c,v,I,I,j)},f.setFont=function(c,v,I){return I&&(v=_t(v,I)),qt=Ua(c,v,{disableWarning:!1}),this};var Ts=f.__private__.getFont=f.getFont=
298
+ function(){return se[Ua.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var c,v,I={};for(c in oe)if(oe.hasOwnProperty(c))for(v in I[c]=[],oe[c])oe[c].hasOwnProperty(v)&&I[c].push(
299
+ v);return I},f.addFont=function(c,v,I,j,J){var ct=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ct.indexOf(arguments[3])!==-1?J=arguments[3]:arguments[3]&&
300
+ ct.indexOf(arguments[3])==-1&&(I=_t(I,j)),Ba.call(this,c,v,I,J=J||"Identity-H")};var en,Jt=i.lineWidth||.200025,Ds=f.__private__.getLineWidth=f.getLineWidth=function(){return Jt},Us=f.__private__.setLineWidth=
301
+ f.setLineWidth=function(c){return Jt=c,P(V(U(c))+" w"),this};f.__private__.setLineDash=Dt.API.setLineDash=Dt.API.setLineDashPattern=function(c,v){if(c=c||[],v=v||0,isNaN(v)||!Array.isArray(c))throw new Error(
302
+ "Invalid arguments passed to jsPDF.setLineDash");return c=c.map(function(I){return V(U(I))}).join(" "),v=V(U(v)),P("["+c+"] "+v+" d"),this};var zs=f.__private__.getLineHeight=f.getLineHeight=function(){
303
+ return bt*en};f.__private__.getLineHeight=f.getLineHeight=function(){return bt*en};var Ws=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(c){return typeof(c=c||1.15)=="number"&&(en=c),
304
+ this},Hs=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return en};Ws(i.lineHeight);var wr=f.__private__.getHorizontalCoordinate=function(c){return U(c)},yr=f.__private__.getVerticalCoordinate=
305
+ function(c){return Y===M?c:Vt[O].mediaBox.topRightY-Vt[O].mediaBox.bottomLeftY-U(c)},Gs=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(c){return V(wr(c))},Vs=f.__private__.
306
+ getVerticalCoordinateString=f.getVerticalCoordinateString=function(c){return V(yr(c))},Bn=i.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return ir(Bn)},f.__private__.setStrokeColor=
307
+ f.setDrawColor=function(c,v,I,j){return Bn=Vi({ch1:c,ch2:v,ch3:I,ch4:j,pdfColorType:"draw",precision:2}),P(Bn),this};var oa=i.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return ir(
308
+ oa)},f.__private__.setFillColor=f.setFillColor=function(c,v,I,j){return oa=Vi({ch1:c,ch2:v,ch3:I,ch4:j,pdfColorType:"fill",precision:2}),P(oa),this};var or=i.textColor||"0 g",Xs=f.__private__.getTextColor=
309
+ f.getTextColor=function(){return ir(or)};f.__private__.setTextColor=f.setTextColor=function(c,v,I,j){return or=Vi({ch1:c,ch2:v,ch3:I,ch4:j,pdfColorType:"text",precision:3}),this};var jn=i.charSpace,Ks=f.
310
+ __private__.getCharSpace=f.getCharSpace=function(){return parseFloat(jn||0)};f.__private__.setCharSpace=f.setCharSpace=function(c){if(isNaN(c))throw new Error("Invalid argument passed to jsPDF.setChar\
311
+ Space");return jn=c,this};var ca=0;f.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},f.__private__.setLineCap=f.setLineCap=function(c){
312
+ var v=f.CapJoinStyles[c];if(v===void 0)throw new Error("Line cap style of '"+c+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ca=v,P(v+" J"),this};var Mr=0;f.__private__.
313
+ setLineJoin=f.setLineJoin=function(c){var v=f.CapJoinStyles[c];if(v===void 0)throw new Error("Line join style of '"+c+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Mr=
314
+ v,P(v+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(c){if(c=c||0,isNaN(c))throw new Error("Invalid argument passed to jsPDF.setLi\
315
+ neMiterLimit");return P(V(U(c))+" M"),this},f.GState=Na,f.setGState=function(c){(c=typeof c=="string"?Xt[Zt[c]]:ha(null,c)).equals(qe)||(P("/"+c.id+" gs"),qe=c)};var ha=function(c,v){if(!c||!Zt[c]){var I=!1;
316
+ for(var j in Xt)if(Xt.hasOwnProperty(j)&&Xt[j].equals(v)){I=!0;break}if(I)v=Xt[j];else{var J="GS"+(Object.keys(Xt).length+1).toString(10);Xt[J]=v,v.id=J}return c&&(Zt[c]=v.id),be.publish("addGState",v),
317
+ v}};f.addGState=function(c,v){return ha(c,v),this},f.saveGraphicsState=function(){return P("q"),Me.push({key:qt,size:bt,color:or}),this},f.restoreGraphicsState=function(){P("Q");var c=Me.pop();return qt=
318
+ c.key,bt=c.size,or=c.color,qe=null,this},f.setCurrentTransformationMatrix=function(c){return P(c.toString()+" cm"),this},f.comment=function(c){return P("#"+c),this};var rn=function(c,v){var I=c||0;Object.
319
+ defineProperty(this,"x",{enumerable:!0,get:function(){return I},set:function(ct){isNaN(ct)||(I=parseFloat(ct))}});var j=v||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return j},set:function(ct){
320
+ isNaN(ct)||(j=parseFloat(ct))}});var J="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return J},set:function(ct){J=ct.toString()}}),this},la=function(c,v,I,j){rn.call(this,
321
+ c,v),this.type="rect";var J=I||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return J},set:function(yt){isNaN(yt)||(J=parseFloat(yt))}});var ct=j||0;return Object.defineProperty(this,
322
+ "h",{enumerable:!0,get:function(){return ct},set:function(yt){isNaN(yt)||(ct=parseFloat(yt))}}),this},Tn=function(){this.page=le,this.currentPage=O,this.pages=At.slice(0),this.pagesContext=Vt.slice(0),
323
+ this.x=jt,this.y=We,this.matrix=me,this.width=Va(O),this.height=_r(O),this.outputDestination=kt,this.id="",this.objectNumber=-1};Tn.prototype.restore=function(){le=this.page,O=this.currentPage,Vt=this.
324
+ pagesContext,At=this.pages,jt=this.x,We=this.y,me=this.matrix,Lr(O,this.width),Xa(O,this.height),kt=this.outputDestination};var ua=function(c,v,I,j,J){er.push(new Tn),le=O=0,At=[],jt=c,We=v,me=J,ra([I,
325
+ j])};for(var Dn in f.beginFormObject=function(c,v,I,j,J){return ua(c,v,I,j,J),this},f.endFormObject=function(c){return function(v){if(gr[v])er.pop().restore();else{var I=new Tn,j="Xo"+(Object.keys(li).
326
+ length+1).toString(10);I.id=j,gr[v]=j,li[j]=I,be.publish("addFormObject",I),er.pop().restore()}}(c),this},f.doFormObject=function(c,v){var I=li[gr[c]];return P("q"),P(v.toString()+" cm"),P("/"+I.id+" \
327
+ Do"),P("Q"),this},f.getFormObject=function(c){var v=li[gr[c]];return{x:v.x,y:v.y,width:v.width,height:v.height,matrix:v.matrix}},f.save=function(c,v){return c=c||"generated.pdf",(v=v||{}).returnPromise=
328
+ v.returnPromise||!1,v.returnPromise===!1?(vn(On(ar()),c),typeof vn.unload=="function"&&ae.setTimeout&&setTimeout(vn.unload,911),this):new Promise(function(I,j){try{var J=vn(On(ar()),c);typeof vn.unload==
329
+ "function"&&ae.setTimeout&&setTimeout(vn.unload,911),I(J)}catch(ct){j(ct.message)}})},Dt.API)Dt.API.hasOwnProperty(Dn)&&(Dn==="events"&&Dt.API.events.length?function(c,v){var I,j,J;for(J=v.length-1;J!==
330
+ -1;J--)I=v[J][0],j=v[J][1],c.subscribe.apply(c,[I].concat(typeof j=="function"?[j]:j))}(be,Dt.API.events):f[Dn]=Dt.API[Dn]);function Va(c){return Vt[c].mediaBox.topRightX-Vt[c].mediaBox.bottomLeftX}function Lr(c,v){
331
+ Vt[c].mediaBox.topRightX=v+Vt[c].mediaBox.bottomLeftX}function _r(c){return Vt[c].mediaBox.topRightY-Vt[c].mediaBox.bottomLeftY}function Xa(c,v){Vt[c].mediaBox.topRightY=v+Vt[c].mediaBox.bottomLeftY}var Ka=f.
332
+ getPageWidth=function(c){return Va(c=c||O)/ie},Ja=f.setPageWidth=function(c,v){Lr(c,v*ie)},nn=f.getPageHeight=function(c){return _r(c=c||O)/ie},Ya=f.setPageHeight=function(c,v){Xa(c,v*ie)};return f.internal=
333
+ {pdfEscape:ji,getStyle:Ha,getFont:Ts,getFontSize:Pt,getCharSpace:Ks,getTextColor:Xs,getLineHeight:zs,getLineHeightFactor:Hs,getLineWidth:Ds,write:xt,getHorizontalCoordinate:wr,getVerticalCoordinate:yr,
334
+ getCoordinateString:Gs,getVerticalCoordinateString:Vs,collections:{},newObject:Te,newAdditionalObject:Zr,newObjectDeferred:ni,newObjectDeferredBegin:ai,getFilters:Xi,putStream:Bi,events:be,scaleFactor:ie,
335
+ pageSize:{getWidth:function(){return Ka(O)},setWidth:function(c){Ja(O,c)},getHeight:function(){return nn(O)},setHeight:function(c){Ya(O,c)}},encryptionOptions:m,encryption:si,getEncryptor:function(c){
336
+ return m!==null?si.encryptor(c,0):function(v){return v}},output:Mn,getNumberOfPages:Da,get pages(){return At},out:P,f2:A,f3:R,getPageInfo:Wa,getPageInfoByObjId:Os,getCurrentPageInfo:Ms,getPDFVersion:F,
337
+ Point:rn,Rectangle:la,Matrix:Gt,hasHotfix:br},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return Ka(O)},set:function(c){Ja(O,c)},enumerable:!0,configurable:!0}),Object.defineProperty(
338
+ f.internal.pageSize,"height",{get:function(){return nn(O)},set:function(c){Ya(O,c)},enumerable:!0,configurable:!0}),function(c){for(var v=0,I=Ut.length;v<I;v++){var j=Ba.call(this,c[v][0],c[v][1],c[v][2],
339
+ Ut[v][3],!0);S===!1&&(k[j]=!0);var J=c[v][0].split("-");Ra({id:j,fontName:J[0],fontStyle:J[1]||""})}be.publish("addFonts",{fonts:se,dictionary:oe})}.call(f,Ut),qt="F1",ja(a,t),be.publish("initialized"),
340
+ f}$n.prototype.lsbFirstWord=function(i){return String.fromCharCode(255&i,i>>8&255,i>>16&255,i>>24&255)},$n.prototype.toHexString=function(i){return i.split("").map(function(e){return("0"+(255&e.charCodeAt(
341
+ 0)).toString(16)).slice(-2)}).join("")},$n.prototype.hexToBytes=function(i){for(var e=[],t=0;t<i.length;t+=2)e.push(String.fromCharCode(parseInt(i.substr(t,2),16)));return e.join("")},$n.prototype.processOwnerPassword=
342
+ function(i,e){return vo(mo(e).substr(0,5),i)},$n.prototype.encryptor=function(i,e){var t=mo(this.encryptionKey+String.fromCharCode(255&i,i>>8&255,i>>16&255,255&e,e>>8&255)).substr(0,10);return function(n){
343
+ return vo(t,n)}},Na.prototype.equals=function(i){var e,t="id,objectNumber,equals";if(!i||Ne(i)!==Ne(this))return!1;var n=0;for(e in this)if(!(t.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!i.hasOwnProperty(
344
+ e)||this[e]!==i[e])return!1;n++}for(e in i)i.hasOwnProperty(e)&&t.indexOf(e)<0&&n--;return n===0},Dt.API={events:[]},Dt.version="4.2.1+revise.1";var ze=Dt.API,bo=1,wn=function(i){return i.replace(/\\/g,
345
+ "\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Zn=function(i){return i.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},yn=function(i){return i.toString().replace(/#/g,"#23").replace(
346
+ /[\s\n\r()<>[\]{}\/%]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"#"+(t.length===1?"0"+t:t)})},$t=function(i){return i.toFixed(2)},Kr=function(i){return i.toFixed(5)};ze.__acroform__=
347
+ {};var ki=function(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i},Oc=function(i){return i*bo},ur=function(i){var e=new qc,t=Ft.internal.getHeight(i)||0,n=Ft.internal.getWidth(i)||
348
+ 0;return e.BBox=[0,0,Number($t(n)),Number($t(t))],e},U1=ze.__acroform__.setBit=function(i,e){if(i=i||0,e=e||0,isNaN(i)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.set\
349
+ Bit");return i|1<<e},z1=ze.__acroform__.clearBit=function(i,e){if(i=i||0,e=e||0,isNaN(i)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return i&~(1<<e)},W1=ze.
350
+ __acroform__.getBit=function(i,e){if(isNaN(i)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return i&1<<e?1:0},Xe=ze.__acroform__.getBitForPdf=function(i,e){if(isNaN(
351
+ i)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return W1(i,e-1)},Ke=ze.__acroform__.setBitForPdf=function(i,e){if(isNaN(i)||isNaN(e))throw new Error("I\
352
+ nvalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return U1(i,e-1)},Je=ze.__acroform__.clearBitForPdf=function(i,e){if(isNaN(i)||isNaN(e))throw new Error("Invalid arguments passed to js\
353
+ PDF.API.__acroform__.clearBitForPdf");return z1(i,e-1)},H1=ze.__acroform__.calculateCoordinates=function(i,e){var t=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,a=i[0],s=i[1],
354
+ l=i[2],u=i[3],g={};return g.lowerLeft_X=t(a)||0,g.lowerLeft_Y=n(s+u)||0,g.upperRight_X=t(a+l)||0,g.upperRight_Y=n(s)||0,[Number($t(g.lowerLeft_X)),Number($t(g.lowerLeft_Y)),Number($t(g.upperRight_X)),
355
+ Number($t(g.upperRight_Y))]},G1=function(i){if(i.appearanceStreamContent)return i.appearanceStreamContent;if(i.V||i.DV){var e=[],t=i._V||i.DV,n=wo(i,t),a=i.scope.internal.getFont(i.fontName,i.fontStyle).
356
+ id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(i.scope.__private__.encodeColorString(i.color)),e.push("/"+a+" "+$t(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push(
357
+ "Q"),e.push("EMC");var s=ur(i);return s.scope=i.scope,s.stream=e.join(`
358
+ `),s}},wo=function(i,e){var t=i.fontSize===0?i.maxFontSize:i.fontSize,n={text:"",fontSize:""},a=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");a=i.
359
+ multiline?a.map(function(A){return A.split(`
360
+ `)}):a.map(function(A){return[A]});var s=t,l=Ft.internal.getHeight(i)||0;l=l<0?-l:l;var u=Ft.internal.getWidth(i)||0;u=u<0?-u:u;var g=function(A,R,U){if(A+1<a.length){var D=R+" "+a[A+1][0];return ys(D,
361
+ i,U).width<=u-4}return!1};s++;t:for(;s>0;){e="",s--;var d,m,S=ys("3",i,s).height,k=i.multiline?l-s:(l-S)/2,f=k+=2,T=0,F=0,y=0;if(s<=0){e=`(...) Tj
362
+ `,e+="% Width of Text: "+ys(e,i,s=12).width+", FieldWidth:"+u+`
363
+ `;break}for(var H="",z=0,M=0;M<a.length;M++)if(a.hasOwnProperty(M)){var Y=!1;if(a[M].length!==1&&y!==a[M].length-1){if((S+2)*(z+2)+2>l)continue t;H+=a[M][y],Y=!0,F=M,M--}else{H=(H+=a[M][y]+" ").substr(
364
+ H.length-1)==" "?H.substr(0,H.length-1):H;var at=parseInt(M),nt=g(at,H,s),_t=M>=a.length-1;if(nt&&!_t){H+=" ",y=0;continue}if(nt||_t){if(_t)F=at;else if(i.multiline&&(S+2)*(z+2)+2>l)continue t}else{if(!i.
365
+ multiline||(S+2)*(z+2)+2>l)continue t;F=at}}for(var V="",B=T;B<=F;B++){var et=a[B];if(i.multiline){if(B===F){V+=et[y]+" ",y=(y+1)%et.length;continue}if(B===T){V+=et[et.length-1]+" ";continue}}V+=et[0]+
366
+ " "}switch(V=V.substr(V.length-1)==" "?V.substr(0,V.length-1):V,m=ys(V,i,s).width,i.textAlign){case"right":d=u-m-2;break;case"center":d=(u-m)/2;break;default:d=2}e+=$t(d)+" "+$t(f)+` Td
367
+ `,e+="("+wn(V)+`) Tj
368
+ `,e+=-$t(d)+` 0 Td
369
+ `,f=-(s+2),m=0,T=Y?F:F+1,z++,H=""}break}return n.text=e,n.fontSize=s,n},ys=function(i,e,t){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),a=e.scope.getStringUnitWidth(i,{font:n,fontSize:parseFloat(
370
+ t),charSpace:0})*parseFloat(t);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:a}},V1={fields:[],xForms:[],acroFormDictionaryRoot:null,
371
+ printedOut:!1,internal:null,isInitialized:!1},X1=function(i,e){var t={type:"reference",object:i};e.internal.getPageInfo(i.page).pageContext.annotations.find(function(n){return n.type===t.type&&n.object===
372
+ t.object})===void 0&&e.internal.getPageInfo(i.page).pageContext.annotations.push(t)},K1=function(i,e){if(e.scope=i,i.internal!==void 0&&(i.internal.acroformPlugin===void 0||i.internal.acroformPlugin.isInitialized===
373
+ !1)){if(zi.FieldNum=0,i.internal.acroformPlugin=JSON.parse(JSON.stringify(V1)),i.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");bo=i.internal.
374
+ scaleFactor,i.internal.acroformPlugin.acroFormDictionaryRoot=new Rc,i.internal.acroformPlugin.acroFormDictionaryRoot.scope=i,i.internal.acroformPlugin.acroFormDictionaryRoot._eventID=i.internal.events.
375
+ subscribe("postPutResources",function(){(function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,
376
+ t.internal.acroformPlugin.printedOut=!0})(i)}),i.internal.events.subscribe("buildDocument",function(){(function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=t.internal.acroformPlugin.
377
+ acroFormDictionaryRoot.Fields;for(var a in n)if(n.hasOwnProperty(a)){var s=n[a];s.objId=void 0,s.hasAnnotation&&X1(s,t)}})(i)}),i.internal.events.subscribe("putCatalog",function(){(function(t){if(t.internal.
378
+ acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(i)}),
379
+ i.internal.events.subscribe("postPutPages",function(t){(function(n,a){var s=!n;for(var l in n||(a.internal.newObjectDeferredBegin(a.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),a.internal.
380
+ acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||a.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(l)){var u=n[l],g=[],d=u.Rect;if(u.Rect&&(u.Rect=H1(u.Rect,a)),a.internal.
381
+ newObjectDeferredBegin(u.objId,!0),u.DA=Ft.createDefaultAppearanceStream(u),Ne(u)==="object"&&typeof u.getKeyValueListForStream=="function"&&(g=u.getKeyValueListForStream()),u.Rect=d,u.hasAppearanceStream&&
382
+ !u.appearanceStreamContent){var m=G1(u);g.push({key:"AP",value:"<</N "+m+">>"}),a.internal.acroformPlugin.xForms.push(m)}if(u.appearanceStreamContent){var S="";for(var k in u.appearanceStreamContent)if(u.
383
+ appearanceStreamContent.hasOwnProperty(k)){var f=u.appearanceStreamContent[k];if(S+="/"+k+" ",S+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var l in f)if(f.hasOwnProperty(l)){var T=f[l];typeof T==
384
+ "function"&&(T=T.call(a,u)),S+="/"+l+" "+T+" ",a.internal.acroformPlugin.xForms.indexOf(T)>=0||a.internal.acroformPlugin.xForms.push(T)}}else typeof(T=f)=="function"&&(T=T.call(a,u)),S+="/"+l+" "+T,a.
385
+ internal.acroformPlugin.xForms.indexOf(T)>=0||a.internal.acroformPlugin.xForms.push(T);S+=">>"}g.push({key:"AP",value:`<<
386
+ `+S+">>"})}a.internal.putStream({additionalKeyValues:g,objectId:u.objId}),a.internal.out("endobj")}s&&function(F,y){for(var H in F)if(F.hasOwnProperty(H)){var z=H,M=F[H];y.internal.newObjectDeferredBegin(
387
+ M.objId,!0),Ne(M)==="object"&&typeof M.putStream=="function"&&M.putStream(),delete F[z]}}(a.internal.acroformPlugin.xForms,a)})(t,i)}),i.internal.acroformPlugin.isInitialized=!0}},Mc=ze.__acroform__.arrayToPdfArray=
388
+ function(i,e,t){var n=function(l){return l};if(Array.isArray(i)){for(var a="[",s=0;s<i.length;s++)switch(s!==0&&(a+=" "),Ne(i[s])){case"boolean":case"number":case"object":a+=i[s].toString();break;case"\
389
+ string":i[s].substr(0,1)==="/"?a+="/"+yn(i[s].substr(1)):(e!==void 0&&t&&(n=t.internal.getEncryptor(e)),a+="("+wn(n(i[s].toString()))+")")}return a+"]"}throw new Error("Invalid argument passed to jsPD\
390
+ F.__acroform__.arrayToPdfArray")},yo=function(i,e,t){var n=function(a){return a};return e!==void 0&&t&&(n=t.internal.getEncryptor(e)),(i=i||"").toString(),"("+wn(n(i))+")"},fr=function(){this._objId=void 0,
391
+ this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(i){
392
+ this._objId=i}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fr.prototype.toString=function(){return this.objId+" 0 R"},fr.prototype.putStream=function(){var i=this.getKeyValueListForStream();
393
+ this.scope.internal.putStream({data:this.stream,additionalKeyValues:i,objectId:this.objId}),this.scope.internal.out("endobj")},fr.prototype.getKeyValueListForStream=function(){var i=[],e=Object.getOwnPropertyNames(
394
+ this).filter(function(s){return s!="content"&&s!="appearanceStreamContent"&&s!="scope"&&s!="objId"&&s.substring(0,1)!="_"});for(var t in e)if(Object.getOwnPropertyDescriptor(this,e[t]).configurable===
395
+ !1){var n=e[t],a=this[n];a&&(Array.isArray(a)?i.push({key:n,value:Mc(a,this.objId,this.scope)}):a instanceof fr?(a.scope=this.scope,i.push({key:n,value:a.objId+" 0 R"})):typeof a!="function"&&i.push({
396
+ key:n,value:a}))}return i};var qc=function(){fr.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,
397
+ writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var i,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),
398
+ Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){i=t.trim()},get:function(){return i||
399
+ null}})};ki(qc,fr);var Rc=function(){fr.call(this);var i,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"\
400
+ Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(i){var t=function(n){return n};return this.scope&&(t=
401
+ this.scope.internal.getEncryptor(this.objId)),"("+wn(t(i))+")"}},set:function(t){i=t}})};ki(Rc,fr);var zi=function(){fr.call(this);var i=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,
402
+ get:function(){return i},set:function(y){if(isNaN(y))throw new Error('Invalid value "'+y+'" for attribute F supplied.');i=y}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,
403
+ get:function(){return!!Xe(i,3)},set:function(y){y?this.F=Ke(i,3):this.F=Je(i,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(y){if(isNaN(
404
+ y))throw new Error('Invalid value "'+y+'" for attribute Ff supplied.');e=y}});var t=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(t.length!==0)return t},set:function(y){
405
+ t=y!==void 0?y:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[0])?0:t[0]},set:function(y){t[0]=y}}),Object.defineProperty(this,"y",{enumerable:!0,
406
+ configurable:!0,get:function(){return!t||isNaN(t[1])?0:t[1]},set:function(y){t[1]=y}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[2])?0:t[2]},set:function(y){
407
+ t[2]=y}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!t||isNaN(t[3])?0:t[3]},set:function(y){t[3]=y}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,
408
+ configurable:!1,get:function(){return n},set:function(y){switch(y){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=y;break;default:throw new Error('Invalid value "'+y+'" for attribute FT supplied.')}}});var a=null;
409
+ Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof Ls)return;a="FieldObject"+zi.FieldNum++}var y=function(H){return H};return this.scope&&
410
+ (y=this.scope.internal.getEncryptor(this.objId)),"("+wn(y(a))+")"},set:function(y){a=y.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(y){
411
+ a=y}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(y){s=y}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,
412
+ configurable:!0,get:function(){return l},set:function(y){l=y}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(y){u=y}});var g=void 0;
413
+ Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return g===void 0?50/bo:g},set:function(y){g=y}});var d="black";Object.defineProperty(this,"color",{enumerable:!0,
414
+ configurable:!0,get:function(){return d},set:function(y){d=y}});var m="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!m||this instanceof Ls||this instanceof
415
+ Jr))return yo(m,this.objId,this.scope)},set:function(y){y=y.toString(),m=y}});var S=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(S)return this instanceof ri==0?
416
+ yo(S,this.objId,this.scope):S},set:function(y){y=y.toString(),S=this instanceof ri==0?y.substr(0,1)==="("?Zn(y.substr(1,y.length-2)):Zn(y):y}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,
417
+ configurable:!0,get:function(){return this instanceof ri==1?Zn(S.substr(1,S.length-1)):S},set:function(y){y=y.toString(),S=this instanceof ri==1?"/"+yn(y):y}});var k=null;Object.defineProperty(this,"_\
418
+ V",{enumerable:!1,configurable:!1,get:function(){if(k)return k},set:function(y){this.V=y}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(k)return this instanceof ri==
419
+ 0?yo(k,this.objId,this.scope):k},set:function(y){y=y.toString(),k=this instanceof ri==0?y.substr(0,1)==="("?Zn(y.substr(1,y.length-2)):Zn(y):y}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,
420
+ get:function(){return this instanceof ri==1?Zn(k.substr(1,k.length-1)):k},set:function(y){y=y.toString(),k=this instanceof ri==1?"/"+yn(y):y}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,
421
+ 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,
422
+ "Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var f,T=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){
423
+ return T},set:function(y){y=!!y,T=y}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(f)return f},set:function(y){f=y}}),Object.defineProperty(this,"readOnly",{enumerable:!0,
424
+ configurable:!0,get:function(){return!!Xe(this.Ff,1)},set:function(y){y?this.Ff=Ke(this.Ff,1):this.Ff=Je(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){
425
+ return!!Xe(this.Ff,2)},set:function(y){y?this.Ff=Ke(this.Ff,2):this.Ff=Je(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,3)},set:function(y){
426
+ y?this.Ff=Ke(this.Ff,3):this.Ff=Je(this.Ff,3)}});var F=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(F!==null)return F},set:function(y){if([0,1,2].indexOf(y)===-1)
427
+ throw new Error('Invalid value "'+y+'" for attribute Q supplied.');F=y}}),Object.defineProperty(this,"textAlign",{get:function(){var y;switch(F){case 0:default:y="left";break;case 1:y="center";break;case 2:
428
+ y="right"}return y},configurable:!0,enumerable:!0,set:function(y){switch(y){case"right":case 2:F=2;break;case"center":case 1:F=1;break;default:F=0}}})};ki(zi,fr);var Ln=function(){zi.call(this),this.FT=
429
+ "/Ch",this.V="()",this.fontName="zapfdingbats";var i=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"topInd\
430
+ ex",{enumerable:!0,configurable:!0,get:function(){return i},set:function(t){i=t}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Mc(e,this.objId,this.scope)},
431
+ set:function(t){var n,a;a=[],typeof(n=t)=="string"&&(a=function(s,l,u){u||(u=1);for(var g,d=[];g=l.exec(s);)d.push(g[u]);return d}(n,/\((.*?)\)/g)),e=a}}),this.getOptions=function(){return e},this.setOptions=
432
+ 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();e.indexOf(t)!==
433
+ -1&&(e.splice(e.indexOf(t),1),n!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,18)},set:function(t){t?this.Ff=Ke(this.Ff,18):this.Ff=Je(this.
434
+ Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,19)},set:function(t){this.combo===!0&&(t?this.Ff=Ke(this.Ff,19):this.Ff=Je(this.Ff,19))}}),
435
+ Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,20)},set:function(t){t?(this.Ff=Ke(this.Ff,20),e.sort()):this.Ff=Je(this.Ff,20)}}),Object.defineProperty(
436
+ this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,22)},set:function(t){t?this.Ff=Ke(this.Ff,22):this.Ff=Je(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",
437
+ {enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,23)},set:function(t){t?this.Ff=Ke(this.Ff,23):this.Ff=Je(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,
438
+ get:function(){return!!Xe(this.Ff,27)},set:function(t){t?this.Ff=Ke(this.Ff,27):this.Ff=Je(this.Ff,27)}}),this.hasAppearanceStream=!1};ki(Ln,zi);var _n=function(){Ln.call(this),this.fontName="helvetic\
439
+ a",this.combo=!1};ki(_n,Ln);var An=function(){_n.call(this),this.combo=!0};ki(An,_n);var Sa=function(){An.call(this),this.edit=!0};ki(Sa,An);var ri=function(){zi.call(this),this.FT="/Btn",Object.defineProperty(
440
+ this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,15)},set:function(t){t?this.Ff=Ke(this.Ff,15):this.Ff=Je(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,
441
+ configurable:!0,get:function(){return!!Xe(this.Ff,16)},set:function(t){t?this.Ff=Ke(this.Ff,16):this.Ff=Je(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){
442
+ return!!Xe(this.Ff,17)},set:function(t){t?this.Ff=Ke(this.Ff,17):this.Ff=Je(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,26)},
443
+ set:function(t){t?this.Ff=Ke(this.Ff,26):this.Ff=Je(this.Ff,26)}});var i,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(s){return s};if(this.scope&&(t=
444
+ this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var n,a=[];for(n in a.push("<<"),e)a.push("/"+n+" ("+wn(t(e[n]))+")");return a.push(">>"),a.join(`
445
+ `)}},set:function(t){Ne(t)==="object"&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){typeof t=="string"&&(e.CA=t)}}),Object.
446
+ defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return i},set:function(t){var n=t==null?"":t.toString();n.substr(0,1)==="/"&&(n=n.substr(1)),i="/"+yn(n)}}),Object.defineProperty(
447
+ this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return i.substr(1,i.length-1)},set:function(t){i="/"+yn(t)}})};ki(ri,zi);var ka=function(){ri.call(this),this.pushButton=!0};ki(ka,
448
+ ri);var xn=function(){ri.call(this),this.radio=!0,this.pushButton=!1;var i=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return i},set:function(e){i=e!==void 0?e:[]}})};
449
+ ki(xn,ri);var Ls=function(){var i,e;zi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return i},set:function(a){i=a}}),Object.defineProperty(this,"optionN\
450
+ ame",{enumerable:!1,configurable:!0,get:function(){return e},set:function(a){e=a}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var a=function(u){return u};
451
+ this.scope&&(a=this.scope.internal.getEncryptor(this.objId));var s,l=[];for(s in l.push("<<"),n)l.push("/"+s+" ("+wn(a(n[s]))+")");return l.push(">>"),l.join(`
452
+ `)},set:function(a){Ne(a)==="object"&&(n=a)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(a){typeof a=="string"&&(n.CA=a)}}),Object.
453
+ defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(a){var s=a==null?"":a.toString();s.substr(0,1)==="/"&&(s=s.substr(1)),t="/"+yn(s)}}),Object.defineProperty(
454
+ this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(a){var s=a==null?"":a.toString();s.substr(0,1)==="/"&&(s=s.substr(1)),t="/"+yn(s)}}),this.
455
+ caption="l",this.appearanceState="Off",this._AppearanceType=Ft.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ki(Ls,zi),xn.prototype.setAppearance=
456
+ function(i){if(!("createAppearanceStream"in i)||!("getCA"in i))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(
457
+ e)){var t=this.Kids[e];t.appearanceStreamContent=i.createAppearanceStream(t.optionName),t.caption=i.getCA()}},xn.prototype.createOption=function(i){var e=new Ls;return e.Parent=this,e.optionName=i,this.
458
+ Kids.push(e),J1.call(this.scope,e),e};var Pa=function(){ri.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=
459
+ Ft.CheckBox.createAppearanceStream()};ki(Pa,ri);var Jr=function(){zi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,13)},
460
+ set:function(e){e?this.Ff=Ke(this.Ff,13):this.Ff=Je(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,21)},set:function(e){e?this.
461
+ Ff=Ke(this.Ff,21):this.Ff=Je(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,23)},set:function(e){e?this.Ff=Ke(this.Ff,23):
462
+ this.Ff=Je(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,24)},set:function(e){e?this.Ff=Ke(this.Ff,24):this.Ff=Je(this.Ff,24)}}),
463
+ Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,25)},set:function(e){e?this.Ff=Ke(this.Ff,25):this.Ff=Je(this.Ff,25)}}),Object.defineProperty(this,"r\
464
+ ichText",{enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,26)},set:function(e){e?this.Ff=Ke(this.Ff,26):this.Ff=Je(this.Ff,26)}});var i=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,
465
+ configurable:!1,get:function(){return i},set:function(e){i=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return i},set:function(e){Number.isInteger(e)&&(i=e)}}),
466
+ Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ki(Jr,zi);var Ia=function(){Jr.call(this),Object.defineProperty(this,"password",
467
+ {enumerable:!0,configurable:!0,get:function(){return!!Xe(this.Ff,14)},set:function(i){i?this.Ff=Ke(this.Ff,14):this.Ff=Je(this.Ff,14)}}),this.password=!0};ki(Ia,Jr);var Ft={CheckBox:{createAppearanceStream:function(){
468
+ return{N:{On:Ft.CheckBox.YesNormal},D:{On:Ft.CheckBox.YesPushDown,Off:Ft.CheckBox.OffPushDown}}},YesPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=[],n=i.scope.internal.getFont(i.fontName,i.fontStyle).
469
+ id,a=i.scope.__private__.encodeColorString(i.color),s=wo(i,i.caption);return t.push("0.749023 g"),t.push("0 0 "+$t(Ft.internal.getWidth(i))+" "+$t(Ft.internal.getHeight(i))+" re"),t.push("f"),t.push("\
470
+ BMC"),t.push("q"),t.push("0 0 1 rg"),t.push("/"+n+" "+$t(s.fontSize)+" Tf "+a),t.push("BT"),t.push(s.text),t.push("ET"),t.push("Q"),t.push("EMC"),e.stream=t.join(`
471
+ `),e},YesNormal:function(i){var e=ur(i);e.scope=i.scope;var t=i.scope.internal.getFont(i.fontName,i.fontStyle).id,n=i.scope.__private__.encodeColorString(i.color),a=[],s=Ft.internal.getHeight(i),l=Ft.
472
+ internal.getWidth(i),u=wo(i,i.caption);return a.push("1 g"),a.push("0 0 "+$t(l)+" "+$t(s)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+$t(l-1)+" "+$t(s-1)+" re"),a.push("W"),a.push(
473
+ "n"),a.push("0 g"),a.push("BT"),a.push("/"+t+" "+$t(u.fontSize)+" Tf "+n),a.push(u.text),a.push("ET"),a.push("Q"),e.stream=a.join(`
474
+ `),e},OffPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+$t(Ft.internal.getWidth(i))+" "+$t(Ft.internal.getHeight(i))+" re"),t.push("f"),e.stream=t.
475
+ join(`
476
+ `),e}},RadioButton:{Circle:{createAppearanceStream:function(i){var e={D:{Off:Ft.RadioButton.Circle.OffPushDown},N:{}};return e.N[i]=Ft.RadioButton.Circle.YesNormal,e.D[i]=Ft.RadioButton.Circle.YesPushDown,
477
+ e},getCA:function(){return"l"},YesNormal:function(i){var e=ur(i);e.scope=i.scope;var t=[],n=Ft.internal.getWidth(i)<=Ft.internal.getHeight(i)?Ft.internal.getWidth(i)/4:Ft.internal.getHeight(i)/4;n=Number(
478
+ (.9*n).toFixed(5));var a=Ft.internal.Bezier_C,s=Number((n*a).toFixed(5));return t.push("q"),t.push("1 0 0 1 "+Kr(Ft.internal.getWidth(i)/2)+" "+Kr(Ft.internal.getHeight(i)/2)+" cm"),t.push(n+" 0 m"),t.
479
+ push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),t.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),t.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),t.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),t.push("f"),t.push("Q"),
480
+ e.stream=t.join(`
481
+ `),e},YesPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=[],n=Ft.internal.getWidth(i)<=Ft.internal.getHeight(i)?Ft.internal.getWidth(i)/4:Ft.internal.getHeight(i)/4;n=Number((.9*n).toFixed(5));
482
+ var a=Number((2*n).toFixed(5)),s=Number((a*Ft.internal.Bezier_C).toFixed(5)),l=Number((n*Ft.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+Kr(Ft.internal.getWidth(
483
+ i)/2)+" "+Kr(Ft.internal.getHeight(i)/2)+" cm"),t.push(a+" 0 m"),t.push(a+" "+s+" "+s+" "+a+" 0 "+a+" c"),t.push("-"+s+" "+a+" -"+a+" "+s+" -"+a+" 0 c"),t.push("-"+a+" -"+s+" -"+s+" -"+a+" 0 -"+a+" c"),
484
+ t.push(s+" -"+a+" "+a+" -"+s+" "+a+" 0 c"),t.push("f"),t.push("Q"),t.push("0 g"),t.push("q"),t.push("1 0 0 1 "+Kr(Ft.internal.getWidth(i)/2)+" "+Kr(Ft.internal.getHeight(i)/2)+" cm"),t.push(n+" 0 m"),
485
+ t.push(n+" "+l+" "+l+" "+n+" 0 "+n+" c"),t.push("-"+l+" "+n+" -"+n+" "+l+" -"+n+" 0 c"),t.push("-"+n+" -"+l+" -"+l+" -"+n+" 0 -"+n+" c"),t.push(l+" -"+n+" "+n+" -"+l+" "+n+" 0 c"),t.push("f"),t.push("\
486
+ Q"),e.stream=t.join(`
487
+ `),e},OffPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=[],n=Ft.internal.getWidth(i)<=Ft.internal.getHeight(i)?Ft.internal.getWidth(i)/4:Ft.internal.getHeight(i)/4;n=Number((.9*n).toFixed(5));
488
+ var a=Number((2*n).toFixed(5)),s=Number((a*Ft.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+Kr(Ft.internal.getWidth(i)/2)+" "+Kr(Ft.internal.getHeight(i)/2)+
489
+ " cm"),t.push(a+" 0 m"),t.push(a+" "+s+" "+s+" "+a+" 0 "+a+" c"),t.push("-"+s+" "+a+" -"+a+" "+s+" -"+a+" 0 c"),t.push("-"+a+" -"+s+" -"+s+" -"+a+" 0 -"+a+" c"),t.push(s+" -"+a+" "+a+" -"+s+" "+a+" 0 \
490
+ c"),t.push("f"),t.push("Q"),e.stream=t.join(`
491
+ `),e}},Cross:{createAppearanceStream:function(i){var e={D:{Off:Ft.RadioButton.Cross.OffPushDown},N:{}};return e.N[i]=Ft.RadioButton.Cross.YesNormal,e.D[i]=Ft.RadioButton.Cross.YesPushDown,e},getCA:function(){
492
+ return"8"},YesNormal:function(i){var e=ur(i);e.scope=i.scope;var t=[],n=Ft.internal.calculateCross(i);return t.push("q"),t.push("1 1 "+$t(Ft.internal.getWidth(i)-2)+" "+$t(Ft.internal.getHeight(i)-2)+
493
+ " re"),t.push("W"),t.push("n"),t.push($t(n.x1.x)+" "+$t(n.x1.y)+" m"),t.push($t(n.x2.x)+" "+$t(n.x2.y)+" l"),t.push($t(n.x4.x)+" "+$t(n.x4.y)+" m"),t.push($t(n.x3.x)+" "+$t(n.x3.y)+" l"),t.push("s"),t.
494
+ push("Q"),e.stream=t.join(`
495
+ `),e},YesPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=Ft.internal.calculateCross(i),n=[];return n.push("0.749023 g"),n.push("0 0 "+$t(Ft.internal.getWidth(i))+" "+$t(Ft.internal.getHeight(i))+
496
+ " re"),n.push("f"),n.push("q"),n.push("1 1 "+$t(Ft.internal.getWidth(i)-2)+" "+$t(Ft.internal.getHeight(i)-2)+" re"),n.push("W"),n.push("n"),n.push($t(t.x1.x)+" "+$t(t.x1.y)+" m"),n.push($t(t.x2.x)+" "+
497
+ $t(t.x2.y)+" l"),n.push($t(t.x4.x)+" "+$t(t.x4.y)+" m"),n.push($t(t.x3.x)+" "+$t(t.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join(`
498
+ `),e},OffPushDown:function(i){var e=ur(i);e.scope=i.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+$t(Ft.internal.getWidth(i))+" "+$t(Ft.internal.getHeight(i))+" re"),t.push("f"),e.stream=t.
499
+ join(`
500
+ `),e}}},createDefaultAppearanceStream:function(i){var e=i.scope.internal.getFont(i.fontName,i.fontStyle).id,t=i.scope.__private__.encodeColorString(i.color);return"/"+e+" "+i.fontSize+" Tf "+t}};Ft.internal=
501
+ {Bezier_C:.551915024494,calculateCross:function(i){var e=Ft.internal.getWidth(i),t=Ft.internal.getHeight(i),n=Math.min(e,t);return{x1:{x:(e-n)/2,y:(t-n)/2+n},x2:{x:(e-n)/2+n,y:(t-n)/2},x3:{x:(e-n)/2,y:(t-
502
+ n)/2},x4:{x:(e-n)/2+n,y:(t-n)/2+n}}}},Ft.internal.getWidth=function(i){var e=0;return Ne(i)==="object"&&(e=Oc(i.Rect[2])),e},Ft.internal.getHeight=function(i){var e=0;return Ne(i)==="object"&&(e=Oc(i.
503
+ Rect[3])),e};var J1=ze.addField=function(i){if(K1(this,i),!(i instanceof zi))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=i).scope.internal.acroformPlugin.printedOut&&(e.
504
+ scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),i.page=i.scope.internal.getCurrentPageInfo().
505
+ pageNumber,this};ze.AcroFormChoiceField=Ln,ze.AcroFormListBox=_n,ze.AcroFormComboBox=An,ze.AcroFormEditBox=Sa,ze.AcroFormButton=ri,ze.AcroFormPushButton=ka,ze.AcroFormRadioButton=xn,ze.AcroFormCheckBox=
506
+ Pa,ze.AcroFormTextField=Jr,ze.AcroFormPasswordField=Ia,ze.AcroFormAppearance=Ft,ze.AcroForm={ChoiceField:Ln,ListBox:_n,ComboBox:An,EditBox:Sa,Button:ri,PushButton:ka,RadioButton:xn,CheckBox:Pa,TextField:Jr,
507
+ PasswordField:Ia,Appearance:Ft},Dt.AcroForm={ChoiceField:Ln,ListBox:_n,ComboBox:An,EditBox:Sa,Button:ri,PushButton:ka,RadioButton:xn,CheckBox:Pa,TextField:Jr,PasswordField:Ia,Appearance:Ft},Dt.AcroForm;
508
+ function Bc(i){return i.reduce(function(e,t,n){return e[t]=n,e},{})}(function(i){var e="addImage_";i.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,
509
+ 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:[
510
+ [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]]},a=i.__addimage__.getImageFileTypeByImageData=function(A,R){var U,
511
+ D,it,pt,ut,rt=t;if((R=R||t)==="RGBA"||A.data!==void 0&&A.data instanceof Uint8ClampedArray&&"height"in A&&"width"in A)return"RGBA";if(nt(A))for(ut in n)for(it=n[ut],U=0;U<it.length;U+=1){for(pt=!0,D=0;D<
512
+ it[U].length;D+=1)if(it[U][D]!==void 0&&it[U][D]!==A[D]){pt=!1;break}if(pt===!0){rt=ut;break}}else for(ut in n)for(it=n[ut],U=0;U<it.length;U+=1){for(pt=!0,D=0;D<it[U].length;D+=1)if(it[U][D]!==void 0&&
513
+ it[U][D]!==A.charCodeAt(D)){pt=!1;break}if(pt===!0){rt=ut;break}}return rt===t&&R!==t&&(rt=R),rt},s=function(A){for(var R=this.internal.write,U=this.internal.putStream,D=(0,this.internal.getFilters)();D.
514
+ indexOf("FlateEncode")!==-1;)D.splice(D.indexOf("FlateEncode"),1);A.objectId=this.internal.newObject();var it=[];if(it.push({key:"Type",value:"/XObject"}),it.push({key:"Subtype",value:"/Image"}),it.push(
515
+ {key:"Width",value:A.width}),it.push({key:"Height",value:A.height}),A.colorSpace===H.INDEXED?it.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(A.palette.length/3-1)+" "+("sMask"in A&&A.sMask!==
516
+ void 0?A.objectId+2:A.objectId+1)+" 0 R]"}):(it.push({key:"ColorSpace",value:"/"+A.colorSpace}),A.colorSpace===H.DEVICE_CMYK&&it.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),it.push({key:"BitsPerCo\
517
+ mponent",value:A.bitsPerComponent}),"decodeParameters"in A&&A.decodeParameters!==void 0&&it.push({key:"DecodeParms",value:"<<"+A.decodeParameters+">>"}),"transparency"in A&&Array.isArray(A.transparency)&&
518
+ A.transparency.length>0){for(var pt="",ut=0,rt=A.transparency.length;ut<rt;ut++)pt+=A.transparency[ut]+" "+A.transparency[ut]+" ";it.push({key:"Mask",value:"["+pt+"]"})}A.sMask!==void 0&&it.push({key:"\
519
+ SMask",value:A.objectId+1+" 0 R"});var ft=A.filter!==void 0?["/"+A.filter]:void 0;if(U({data:A.data,additionalKeyValues:it,alreadyAppliedFilters:ft,objectId:A.objectId}),R("endobj"),"sMask"in A&&A.sMask!==
520
+ void 0){var gt,wt=(gt=A.sMaskBitsPerComponent)!==null&&gt!==void 0?gt:A.bitsPerComponent,_={width:A.width,height:A.height,colorSpace:"DeviceGray",bitsPerComponent:wt,data:A.sMask};"filter"in A&&(_.decodeParameters=
521
+ "/Predictor ".concat(A.predictor," /Colors 1 /BitsPerComponent ").concat(wt," /Columns ").concat(A.width),_.filter=A.filter),s.call(this,_)}if(A.colorSpace===H.INDEXED){var O=this.internal.newObject();
522
+ U({data:V(new Uint8Array(A.palette)),objectId:O}),R("endobj")}},l=function(){var A=this.internal.collections[e+"images"];for(var R in A)s.call(this,A[R])},u=function(){var A,R=this.internal.collections[e+
523
+ "images"],U=this.internal.write;for(var D in R)U("/I"+(A=R[D]).index,A.objectId,"0","R")},g=function(){this.internal.collections[e+"images"]||(this.internal.collections[e+"images"]={},this.internal.events.
524
+ subscribe("putResources",l),this.internal.events.subscribe("putXobjectDict",u))},d=function(){var A=this.internal.collections[e+"images"];return g.call(this),A},m=function(){return Object.keys(this.internal.
525
+ collections[e+"images"]).length},S=function(A){return typeof i["process"+A.toUpperCase()]=="function"},k=function(A){return Ne(A)==="object"&&A.nodeType===1},f=function(A,R){if(A.nodeName==="IMG"&&A.hasAttribute(
526
+ "src")){var U=""+A.getAttribute("src");if(U.indexOf("data:image/")===0)return vs(unescape(U).split("base64,").pop());var D=i.loadFile(U,!0);if(D!==void 0)return D}if(A.nodeName==="CANVAS"){if(A.width===
527
+ 0||A.height===0)throw new Error("Given canvas must have data. Canvas width: "+A.width+", height: "+A.height);var it;switch(R){case"PNG":it="image/png";break;case"WEBP":it="image/webp";break;default:it=
528
+ "image/jpeg"}return vs(A.toDataURL(it,1).split("base64,").pop())}},T=function(A){var R=this.internal.collections[e+"images"];if(R){for(var U in R)if(A===R[U].alias)return R[U]}},F=function(A,R,U){return A||
529
+ R||(A=-96,R=-96),A<0&&(A=-1*U.width*72/A/this.internal.scaleFactor),R<0&&(R=-1*U.height*72/R/this.internal.scaleFactor),A===0&&(A=R*U.width/U.height),R===0&&(R=A*U.height/U.width),[A,R]},y=function(A,R,U,D,it,pt){
530
+ var ut=F.call(this,U,D,it),rt=this.internal.getCoordinateString,ft=this.internal.getVerticalCoordinateString,gt=d.call(this);if(U=ut[0],D=ut[1],gt[it.index]=it,pt){pt*=Math.PI/180;var wt=Math.cos(pt),
531
+ _=Math.sin(pt),O=function(G){return G.toFixed(4)},q=[O(wt),O(_),O(-1*_),O(wt),0,0,"cm"]}this.internal.write("q"),pt?(this.internal.write([1,"0","0",1,rt(A),ft(R+D),"cm"].join(" ")),this.internal.write(
532
+ q.join(" ")),this.internal.write([rt(U),"0","0",rt(D),"0","0","cm"].join(" "))):this.internal.write([rt(U),"0","0",rt(D),rt(A),ft(R+D),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,
533
+ -1,0,0,"cm"].join(" ")),this.internal.write("/I"+it.index+" Do"),this.internal.write("Q")},H=i.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",
534
+ CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};i.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"\
535
+ LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var z=i.
536
+ image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},M=i.__addimage__.sHashCode=function(A){var R,U,D=0;if(typeof A=="string")for(U=A.length,R=0;R<U;R++)D=(D<<5)-D+A.charCodeAt(R),D|=
537
+ 0;else if(nt(A))for(U=A.byteLength/2,R=0;R<U;R++)D=(D<<5)-D+A[R],D|=0;return D},Y=i.__addimage__.validateStringAsBase64=function(A){(A=A||"").toString().trim();var R=!0;return A.length===0&&(R=!1),A.length%
538
+ 4!=0&&(R=!1),/^[A-Za-z0-9+/]+$/.test(A.substr(0,A.length-2))===!1&&(R=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(A.substr(-2))===!1&&(R=!1),R},at=i.__addimage__.extractImageFromDataUrl=function(A){
539
+ if(A==null||!(A=A.trim()).startsWith("data:"))return null;var R=A.indexOf(",");return R<0?null:A.substring(0,R).trim().endsWith("base64")?A.substring(R+1):null};i.__addimage__.isArrayBuffer=function(A){
540
+ return A instanceof ArrayBuffer};var nt=i.__addimage__.isArrayBufferView=function(A){return A instanceof Int8Array||A instanceof Uint8Array||A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof
541
+ Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array},_t=i.__addimage__.binaryStringToUint8Array=function(A){for(var R=A.length,U=new Uint8Array(
542
+ R),D=0;D<R;D++)U[D]=A.charCodeAt(D);return U},V=i.__addimage__.arrayBufferToBinaryString=function(A){for(var R="",U=nt(A)?A:new Uint8Array(A),D=0;D<U.length;D+=8192)R+=String.fromCharCode.apply(null,U.
543
+ subarray(D,D+8192));return R};i.addImage=function(){var A,R,U,D,it,pt,ut,rt,ft;if(typeof arguments[1]=="number"?(R=t,U=arguments[1],D=arguments[2],it=arguments[3],pt=arguments[4],ut=arguments[5],rt=arguments[6],
544
+ ft=arguments[7]):(R=arguments[1],U=arguments[2],D=arguments[3],it=arguments[4],pt=arguments[5],ut=arguments[6],rt=arguments[7],ft=arguments[8]),Ne(A=arguments[0])==="object"&&!k(A)&&"imageData"in A){var gt=A;
545
+ A=gt.imageData,R=gt.format||R||t,U=gt.x||U||0,D=gt.y||D||0,it=gt.w||gt.width||it,pt=gt.h||gt.height||pt,ut=gt.alias||ut,rt=gt.compression||rt,ft=gt.rotation||gt.angle||ft}var wt=this.internal.getFilters();
546
+ if(rt===void 0&&wt.indexOf("FlateEncode")!==-1&&(rt="SLOW"),isNaN(U)||isNaN(D))throw new Error("Invalid coordinates passed to jsPDF.addImage");g.call(this);var _=B.call(this,A,R,ut,rt);return y.call(this,
547
+ U,D,it,pt,_,ft),this};var B=function(A,R,U,D){var it,pt,ut;if(typeof A=="string"&&a(A)===t){A=unescape(A);var rt=et(A,!1);(rt!==""||(rt=i.loadFile(A,!0))!==void 0)&&(A=rt)}if(k(A)&&(A=f(A,R)),R=a(A,R),
548
+ !S(R))throw new Error("addImage does not support files of type '"+R+"', please ensure that a plugin for '"+R+"' support is added.");if(((ut=U)==null||ut.length===0)&&(U=function(ft){return typeof ft==
549
+ "string"||nt(ft)?M(ft):nt(ft.data)?M(ft.data):null}(A)),(it=T.call(this,U))||(A instanceof Uint8Array||R==="RGBA"||(pt=A,A=_t(A)),it=this["process"+R.toUpperCase()](A,m.call(this),U,function(ft){return ft&&
550
+ typeof ft=="string"&&(ft=ft.toUpperCase()),ft in i.image_compression?ft:z.NONE}(D),pt)),!it)throw new Error("An unknown error occurred whilst processing the image.");return it},et=i.__addimage__.convertBase64ToBinaryString=
551
+ function(A,R){R=typeof R!="boolean"||R;var U,D="";if(typeof A=="string"){var it;U=(it=at(A))!==null&&it!==void 0?it:A;try{D=vs(U)}catch(pt){if(R)throw Y(U)?new Error("atob-Error in jsPDF.convertBase64\
552
+ ToBinaryString "+pt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return D};i.getImageProperties=function(A){var R,U,D="";if(k(A)&&(A=f(A)),typeof A==
553
+ "string"&&a(A)===t&&((D=et(A,!1))===""&&(D=i.loadFile(A)||""),A=D),U=a(A),!S(U))throw new Error("addImage does not support files of type '"+U+"', please ensure that a plugin for '"+U+"' support is add\
554
+ ed.");if(A instanceof Uint8Array||(A=_t(A)),!(R=this["process"+U.toUpperCase()](A)))throw new Error("An unknown error occurred whilst processing the image");return R.fileType=U,R}})(Dt.API),function(i){
555
+ var e=function(t){if(t!==void 0&&t!="")return!0};Dt.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),i.events.push(["putPage",function(t){for(var n,
556
+ a,s,l=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,g=this.internal.getPageInfoByObjId(t.objId),d=t.pageContext.annotations,m=!1,S=0;S<d.length&&!m;S++)switch((n=d[S]).
557
+ type){case"link":(e(n.options.url)||e(n.options.pageNumber))&&(m=!0);break;case"reference":case"text":case"freetext":m=!0}if(m!=0){this.internal.write("/Annots [");for(var k=0;k<d.length;k++){n=d[k];var f=this.
558
+ internal.pdfEscape,T=this.internal.getEncryptor(t.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var F=this.internal.newAdditionalObject(),y=this.
559
+ internal.newAdditionalObject(),H=this.internal.getEncryptor(F.objId),z=n.title||"Note";s="<</Type /Annot /Subtype /Text "+(a="/Rect ["+l(n.bounds.x)+" "+u(n.bounds.y+n.bounds.h)+" "+l(n.bounds.x+n.bounds.
560
+ w)+" "+u(n.bounds.y)+"] ")+"/Contents ("+f(H(n.contents))+")",s+=" /Popup "+y.objId+" 0 R",s+=" /P "+g.objId+" 0 R",s+=" /T ("+f(H(z))+") >>",F.content=s;var M=F.objId+" 0 R";s="<</Type /Annot /Subtyp\
561
+ e /Popup "+(a="/Rect ["+l(n.bounds.x+30)+" "+u(n.bounds.y+n.bounds.h)+" "+l(n.bounds.x+n.bounds.w+30)+" "+u(n.bounds.y)+"] ")+" /Parent "+M,n.open&&(s+=" /Open true"),s+=" >>",y.content=s,this.internal.
562
+ write(F.objId,"0 R",y.objId,"0 R");break;case"freetext":a="/Rect ["+l(n.bounds.x)+" "+u(n.bounds.y)+" "+l(n.bounds.x+n.bounds.w)+" "+u(n.bounds.y+n.bounds.h)+"] ";var Y="font: Helvetica,sans-serif 12.\
563
+ 0pt; text-align:left; color:#"+(n.color||"#000000");s="<</Type /Annot /Subtype /FreeText "+a+"/Contents ("+f(T(n.contents))+")",s+=" /DS("+f(T(Y))+")",s+=" /Border [0 0 0]",s+=" >>",this.internal.write(
564
+ s);break;case"link":if(n.options.name){var at=this.annotations._nameMap[n.options.name];n.options.pageNumber=at.page,n.options.top=at.y}else n.options.top||(n.options.top=0);if(a="/Rect ["+n.finalBounds.
565
+ x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",s="",n.options.url)s="<</Type /Annot /Subtype /Link "+a+"/Border [0 0 0] /A <</S /URI /URI ("+f(T(n.options.url))+") >>";else if(n.options.
566
+ pageNumber)switch(s="<</Type /Annot /Subtype /Link "+a+"/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"\
567
+ Fit":s+=" /Fit]";break;case"FitH":s+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,s+=" /FitV "+n.options.left+"]";break;default:var nt=u(n.options.top);n.options.left=
568
+ n.options.left||0,n.options.zoom===void 0&&(n.options.zoom=0),s+=" /XYZ "+n.options.left+" "+nt+" "+n.options.zoom+"]"}s!=""&&(s+=" >>",this.internal.write(s))}}this.internal.write("]")}}]),i.createAnnotation=
569
+ function(t){var n=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":n.pageContext.annotations.push(t)}},
570
+ i.link=function(t,n,a,s,l){var u=this.internal.getCurrentPageInfo(),g=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;u.pageContext.annotations.push({finalBounds:{x:g(t),
571
+ y:d(n),w:g(t+a),h:d(n+s)},options:l,type:"link"})},i.textWithLink=function(t,n,a,s){var l,u,g=this.getTextWidth(t),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(s.maxWidth!==void 0){u=s.
572
+ maxWidth;var m=this.splitTextToSize(t,u).length;l=Math.ceil(d*m)}else u=g,l=d;return this.text(t,n,a,s),a+=.2*d,s.align==="center"&&(n-=g/2),s.align==="right"&&(n-=g),this.link(n,a-d,u,l,s),g},i.getTextWidth=
573
+ function(t){var n=this.internal.getFontSize();return this.getStringUnitWidth(t)*n/this.internal.scaleFactor}}(Dt.API),function(i){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,
574
+ 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,
575
+ 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,
576
+ 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],
577
+ 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,
578
+ 65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,
579
+ 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],
580
+ 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,
581
+ 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,
582
+ 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],
583
+ 1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},t={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,
584
+ 65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];i.__arabicParser__=
585
+ {};var s=i.__arabicParser__.isInArabicSubstitutionA=function(F){return e[F.charCodeAt(0)]!==void 0},l=i.__arabicParser__.isArabicLetter=function(F){return typeof F=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.
586
+ test(F)},u=i.__arabicParser__.isArabicEndLetter=function(F){return l(F)&&s(F)&&e[F.charCodeAt(0)].length<=2},g=i.__arabicParser__.isArabicAlfLetter=function(F){return l(F)&&a.indexOf(F.charCodeAt(0))>=
587
+ 0};i.__arabicParser__.arabicLetterHasIsolatedForm=function(F){return l(F)&&s(F)&&e[F.charCodeAt(0)].length>=1};var d=i.__arabicParser__.arabicLetterHasFinalForm=function(F){return l(F)&&s(F)&&e[F.charCodeAt(
588
+ 0)].length>=2};i.__arabicParser__.arabicLetterHasInitialForm=function(F){return l(F)&&s(F)&&e[F.charCodeAt(0)].length>=3};var m=i.__arabicParser__.arabicLetterHasMedialForm=function(F){return l(F)&&s(
589
+ F)&&e[F.charCodeAt(0)].length==4},S=i.__arabicParser__.resolveLigatures=function(F){var y=0,H=t,z="",M=0;for(y=0;y<F.length;y+=1)H[F.charCodeAt(y)]!==void 0?(M++,typeof(H=H[F.charCodeAt(y)])=="number"&&
590
+ (z+=String.fromCharCode(H),H=t,M=0),y===F.length-1&&(H=t,z+=F.charAt(y-(M-1)),y-=M-1,M=0)):(H=t,z+=F.charAt(y-M),y-=M,M=0);return z};i.__arabicParser__.isArabicDiacritic=function(F){return F!==void 0&&
591
+ n[F.charCodeAt(0)]!==void 0};var k=i.__arabicParser__.getCorrectForm=function(F,y,H){return l(F)?s(F)===!1?-1:!d(F)||!l(y)&&!l(H)||!l(H)&&u(y)||u(F)&&!l(y)||u(F)&&g(y)||u(F)&&u(y)?0:m(F)&&l(y)&&!u(y)&&
592
+ l(H)&&d(H)?3:u(F)||!l(H)?1:2:-1},f=function(F){var y=0,H=0,z=0,M="",Y="",at="",nt=(F=F||"").split("\\s+"),_t=[];for(y=0;y<nt.length;y+=1){for(_t.push(""),H=0;H<nt[y].length;H+=1)M=nt[y][H],Y=nt[y][H-1],
593
+ at=nt[y][H+1],l(M)?(z=k(M,Y,at),_t[y]+=z!==-1?String.fromCharCode(e[M.charCodeAt(0)][z]):M):_t[y]+=M;_t[y]=S(_t[y])}return _t.join(" ")},T=i.__arabicParser__.processArabic=i.processArabic=function(){var F,
594
+ y=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,H=[];if(Array.isArray(y)){var z=0;for(H=[],z=0;z<y.length;z+=1)Array.isArray(y[z])?H.push([f(y[z][0]),y[z][1],y[z][2]]):H.push([f(y[z])]);
595
+ F=H}else F=f(y);return typeof arguments[0]=="string"?F:(arguments[0].text=F,arguments[0])};i.events.push(["preProcessText",T])}(Dt.API),Dt.API.autoPrint=function(i){var e;return(i=i||{}).variant=i.variant||
596
+ "non-conform",i.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S \
597
+ /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(
598
+ "/OpenAction "+e+" 0 R")})),this},function(i){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(u){t=u}});var n=150;Object.defineProperty(this,"widt\
599
+ h",{get:function(){return n},set:function(u){n=isNaN(u)||Number.isInteger(u)===!1||u<0?150:u,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var a=300;Object.defineProperty(
600
+ this,"height",{get:function(){return a},set:function(u){a=isNaN(u)||Number.isInteger(u)===!1||u<0?300:u,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var s=[];Object.
601
+ defineProperty(this,"childNodes",{get:function(){return s},set:function(u){s=u}});var l={};Object.defineProperty(this,"style",{get:function(){return l},set:function(u){l=u}}),Object.defineProperty(this,
602
+ "parentNode",{})};e.prototype.getContext=function(t,n){var a;if((t=t||"2d")!=="2d")return null;for(a in n)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=n[a]);return this.pdf.context2d._canvas=
603
+ this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},i.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(Dt.API),function(i){
604
+ var e={left:0,top:0,bottom:0,right:0},t=!1,n=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.
605
+ __cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){
606
+ var g=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return g},set:function(F){g=F}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},
607
+ set:function(F){d=F}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(F){m=F}});var S=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,
608
+ get:function(){return S},set:function(F){S=F}});var k=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return k},set:function(F){k=F}});var f=arguments[5];Object.defineProperty(
609
+ this,"lineNumber",{enumerable:!0,get:function(){return f},set:function(F){f=F}});var T=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return T},set:function(F){T=
610
+ F}}),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,
611
+ this.text,this.lineNumber,this.align]},i.setHeaderFunction=function(g){return n.call(this),this.internal.__cell__.headerFunction=typeof g=="function"?g:void 0,this},i.getTextDimensions=function(g,d){n.
612
+ call(this);var m=(d=d||{}).fontSize||this.getFontSize(),S=d.font||this.getFont(),k=d.scaleFactor||this.internal.scaleFactor,f=0,T=0,F=0,y=this;if(!Array.isArray(g)&&typeof g!="string"){if(typeof g!="n\
613
+ umber")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");g=String(g)}var H=d.maxWidth;H>0?typeof g=="string"?g=this.splitTextToSize(
614
+ g,H):Object.prototype.toString.call(g)==="[object Array]"&&(g=g.reduce(function(M,Y){return M.concat(y.splitTextToSize(Y,H))},[])):g=Array.isArray(g)?g:[g];for(var z=0;z<g.length;z++)f<(F=this.getStringUnitWidth(
615
+ g[z],{font:S})*m)&&(f=F);return f!==0&&(T=g.length),{w:f/=k,h:Math.max((T*m*this.getLineHeightFactor()-m*(this.getLineHeightFactor()-1))/k,0)}},i.cellAddPage=function(){n.call(this),this.addPage();var g=this.
616
+ internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new s(g.left,g.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var l=i.cell=function(){var g;g=arguments[0]instanceof s?arguments[0]:
617
+ new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),n.call(this);var d=this.internal.__cell__.lastCell,m=this.internal.__cell__.padding,S=this.internal.__cell__.
618
+ margins||e,k=this.internal.__cell__.tableHeaderRow,f=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===g.lineNumber?(g.x=(d.x||0)+(d.width||0),g.y=d.y||0):d.y+d.height+
619
+ g.height+S.bottom>this.getPageHeight()?(this.cellAddPage(),g.y=S.top,f&&k&&(this.printHeaderRow(g.lineNumber,!0),g.y+=k[0].height)):g.y=d.y+d.height||g.y),g.text[0]!==void 0&&(this.rect(g.x,g.y,g.width,
620
+ g.height,t===!0?"FD":void 0),g.align==="right"?this.text(g.text,g.x+g.width-m,g.y+m,{align:"right",baseline:"top"}):g.align==="center"?this.text(g.text,g.x+g.width/2,g.y+m,{align:"center",baseline:"to\
621
+ p",maxWidth:g.width-m-m}):this.text(g.text,g.x+m,g.y+m,{align:"left",baseline:"top",maxWidth:g.width-m-m})),this.internal.__cell__.lastCell=g,this};i.table=function(g,d,m,S,k){if(n.call(this),!m)throw new Error(
622
+ "No data for PDF table.");var f,T,F,y,H=[],z=[],M=[],Y={},at={},nt=[],_t=[],V=(k=k||{}).autoSize||!1,B=k.printHeaders!==!1,et=k.css&&k.css["font-size"]!==void 0?16*k.css["font-size"]:k.fontSize||12,A=k.
623
+ margins||Object.assign({width:this.getPageWidth()},e),R=typeof k.padding=="number"?k.padding:3,U=k.headerBackgroundColor||"#c8c8c8",D=k.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=
624
+ B,this.internal.__cell__.margins=A,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=U,this.internal.__cell__.headerTextColor=D,this.
625
+ setFontSize(et),S==null)z=H=Object.keys(m[0]),M=H.map(function(){return"left"});else if(Array.isArray(S)&&Ne(S[0])==="object")for(H=S.map(function(gt){return gt.name}),z=S.map(function(gt){return gt.prompt||
626
+ gt.name||""}),M=S.map(function(gt){return gt.align||"left"}),f=0;f<S.length;f+=1)at[S[f].name]=.7499990551181103*S[f].width;else Array.isArray(S)&&typeof S[0]=="string"&&(z=H=S,M=H.map(function(){return"\
627
+ left"}));if(V||Array.isArray(S)&&typeof S[0]=="string")for(f=0;f<H.length;f+=1){for(Y[y=H[f]]=m.map(function(gt){return gt[y]}),this.setFont(void 0,"bold"),nt.push(this.getTextDimensions(z[f],{fontSize:this.
628
+ internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),T=Y[y],this.setFont(void 0,"normal"),F=0;F<T.length;F+=1)nt.push(this.getTextDimensions(T[F],{fontSize:this.internal.__cell__.
629
+ table_font_size,scaleFactor:this.internal.scaleFactor}).w);at[y]=Math.max.apply(null,nt)+R+R,nt=[]}if(B){var it={};for(f=0;f<H.length;f+=1)it[H[f]]={},it[H[f]].text=z[f],it[H[f]].align=M[f];var pt=u.call(
630
+ this,it,at);_t=H.map(function(gt){return new s(g,d,at[gt],pt,it[gt].text,void 0,it[gt].align)}),this.setTableHeaderRow(_t),this.printHeaderRow(1,!1)}var ut=S.reduce(function(gt,wt){return gt[wt.name]=
631
+ wt.align,gt},{});for(f=0;f<m.length;f+=1){"rowStart"in k&&k.rowStart instanceof Function&&k.rowStart({row:f,data:m[f]},this);var rt=u.call(this,m[f],at);for(F=0;F<H.length;F+=1){var ft=m[f][H[F]];"cel\
632
+ lStart"in k&&k.cellStart instanceof Function&&k.cellStart({row:f,col:F,data:ft},this),l.call(this,new s(g,d,at[H[F]],rt,ft,f+2,ut[H[F]]))}}return this.internal.__cell__.table_x=g,this.internal.__cell__.
633
+ table_y=d,this};var u=function(g,d){var m=this.internal.__cell__.padding,S=this.internal.__cell__.table_font_size,k=this.internal.scaleFactor;return Object.keys(g).map(function(f){var T=g[f];return this.
634
+ splitTextToSize(T.hasOwnProperty("text")?T.text:T,d[f]-m-m)},this).map(function(f){return this.getLineHeightFactor()*f.length*S/k+m+m},this).reduce(function(f,T){return Math.max(f,T)},0)};i.setTableHeaderRow=
635
+ function(g){n.call(this),this.internal.__cell__.tableHeaderRow=g},i.printHeaderRow=function(g,d){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does no\
636
+ t exist.");var m;if(t=!0,typeof this.internal.__cell__.headerFunction=="function"){var S=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(
637
+ S[0],S[1],S[2],S[3],void 0,-1)}this.setFont(void 0,"bold");for(var k=[],f=0;f<this.internal.__cell__.tableHeaderRow.length;f+=1){m=this.internal.__cell__.tableHeaderRow[f].clone(),d&&(m.y=this.internal.
638
+ __cell__.margins.top||0,k.push(m)),m.lineNumber=g;var T=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),l.
639
+ call(this,m),this.setTextColor(T)}k.length>0&&this.setTableHeaderRow(k),this.setFont(void 0,"normal"),t=!1}}(Dt.API);var jc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],
640
+ normal:["normal","oblique","italic"]},Tc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Lo=Bc(Tc),Dc=[100,200,
641
+ 300,400,500,600,700,800,900],Y1=Bc(Dc);function Uc(i){var e=i.family.replace(/"|'/g,"").toLowerCase(),t=function(s){return jc[s=s||"normal"]?s:"normal"}(i.style),n=function(s){return s?typeof s=="numb\
642
+ er"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(i.weight),a=function(s){return typeof Lo[s=s||"normal"]=="number"?s:"normal"}(i.stretch);return{family:e,style:t,
643
+ weight:n,stretch:a,src:i.src||[],ref:i.ref||{name:e,style:[a,t,n].join(" ")}}}function zc(i,e,t,n){var a;for(a=t;a>=0&&a<e.length;a+=n)if(i[e[a]])return i[e[a]];for(a=t;a>=0&&a<e.length;a-=n)if(i[e[a]])
644
+ return i[e[a]]}var $1={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Wc={caption:"times",icon:"times",menu:"times","mes\
645
+ sage-box":"times","small-caption":"times","status-bar":"times"};function Hc(i){return[i.stretch,i.style,i.weight,i.family].join(" ")}function Gc(i){return i.trimLeft()}function Z1(i,e){for(var t=0;t<i.
646
+ length;){if(i.charAt(t)===e)return[i.substring(0,t),i.substring(t+1)];t+=1}return null}function Q1(i){var e=i.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],i.substring(e[0].length)]}
647
+ var Vc=["times"];(function(i){var e,t,n,a,s,l,u,g,d,m=function(_){return _=_||{},this.isStrokeTransparent=_.isStrokeTransparent||!1,this.strokeOpacity=_.strokeOpacity||1,this.strokeStyle=_.strokeStyle||
648
+ "#000000",this.fillStyle=_.fillStyle||"#000000",this.isFillTransparent=_.isFillTransparent||!1,this.fillOpacity=_.fillOpacity||1,this.font=_.font||"10px sans-serif",this.textBaseline=_.textBaseline||"\
649
+ alphabetic",this.textAlign=_.textAlign||"left",this.lineWidth=_.lineWidth||1,this.lineJoin=_.lineJoin||"miter",this.lineCap=_.lineCap||"butt",this.path=_.path||[],this.transform=_.transform!==void 0?_.
650
+ transform.clone():new g,this.globalCompositeOperation=_.globalCompositeOperation||"normal",this.globalAlpha=_.globalAlpha||1,this.clip_path=_.clip_path||[],this.currentPoint=_.currentPoint||new l,this.
651
+ miterLimit=_.miterLimit||10,this.lastPoint=_.lastPoint||new l,this.lineDashOffset=_.lineDashOffset||0,this.lineDash=_.lineDash||[],this.margin=_.margin||[0,0,0,0],this.prevPageLastElemOffset=_.prevPageLastElemOffset||
652
+ 0,this.ignoreClearRect=typeof _.ignoreClearRect!="boolean"||_.ignoreClearRect,this};i.events.push(["initialized",function(){this.context2d=new S(this),e=this.internal.f2,t=this.internal.getCoordinateString,
653
+ n=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,l=this.internal.Point,u=this.internal.Rectangle,g=this.internal.Matrix,d=new m}]);
654
+ var S=function(_){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var O=_;Object.defineProperty(this,"pdf",{get:function(){return O}});var q=!1;Object.defineProperty(
655
+ this,"pageWrapXEnabled",{get:function(){return q},set:function(P){q=!!P}});var G=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return G},set:function(P){G=!!P}});var K=0;Object.defineProperty(
656
+ this,"posX",{get:function(){return K},set:function(P){isNaN(P)||(K=P)}});var Z=0;Object.defineProperty(this,"posY",{get:function(){return Z},set:function(P){isNaN(P)||(Z=P)}}),Object.defineProperty(this,
657
+ "margin",{get:function(){return d.margin},set:function(P){var xt;typeof P=="number"?xt=[P,P,P,P]:((xt=new Array(4))[0]=P[0],xt[1]=P.length>=2?P[1]:xt[0],xt[2]=P.length>=3?P[2]:xt[0],xt[3]=P.length>=4?
658
+ P[3]:xt[1]),d.margin=xt}});var st=!1;Object.defineProperty(this,"autoPaging",{get:function(){return st},set:function(P){st=P}});var ot=0;Object.defineProperty(this,"lastBreak",{get:function(){return ot},
659
+ set:function(P){ot=P}});var mt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return mt},set:function(P){mt=P}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(P){
660
+ P instanceof m&&(d=P)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(P){d.path=P}});var At=[];Object.defineProperty(this,"ctxStack",{get:function(){return At},set:function(P){
661
+ At=P}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(P){var xt;xt=k(P),this.ctx.fillStyle=xt.style,this.ctx.isFillTransparent=xt.a===0,this.ctx.fillOpacity=
662
+ xt.a,this.pdf.setFillColor(xt.r,xt.g,xt.b,{a:xt.a}),this.pdf.setTextColor(xt.r,xt.g,xt.b,{a:xt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(P){
663
+ var xt=k(P);this.ctx.strokeStyle=xt.style,this.ctx.isStrokeTransparent=xt.a===0,this.ctx.strokeOpacity=xt.a,xt.a===0?this.pdf.setDrawColor(255,255,255):(xt.a,this.pdf.setDrawColor(xt.r,xt.g,xt.b))}}),
664
+ Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(P){["butt","round","square"].indexOf(P)!==-1&&(this.ctx.lineCap=P,this.pdf.setLineCap(P))}}),Object.defineProperty(
665
+ this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(P){isNaN(P)||(this.ctx.lineWidth=P,this.pdf.setLineWidth(P))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.
666
+ ctx.lineJoin},set:function(P){["bevel","round","miter"].indexOf(P)!==-1&&(this.ctx.lineJoin=P,this.pdf.setLineJoin(P))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},
667
+ set:function(P){isNaN(P)||(this.ctx.miterLimit=P,this.pdf.setMiterLimit(P))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(P){this.ctx.textBaseline=
668
+ P}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(P){["right","end","center","left","start"].indexOf(P)!==-1&&(this.ctx.textAlign=P)}});var St=null,kt=null,
669
+ Wt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Wt},set:function(P){St=null,kt=null,Wt=P}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(P){
670
+ var xt;if(this.ctx.font=P,(xt=/^\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-z0-9]+?)\s*$/i.
671
+ exec(P))!==null){var ee=xt[1];xt[2];var Ut=xt[3],bt=xt[4];xt[5];var zt=xt[6],Pt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(bt)[2];bt=Math.floor(Pt==="px"?parseFloat(bt)*this.pdf.internal.scaleFactor:
672
+ Pt==="em"?parseFloat(bt)*this.pdf.getFontSize():parseFloat(bt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(bt);var Tt=function(jt){var We,me,se=[],oe=jt.trim();if(oe==="")return Vc;if(oe in Wc)
673
+ return[Wc[oe]];for(;oe!=="";){switch(me=null,We=(oe=Gc(oe)).charAt(0)){case'"':case"'":me=Z1(oe.substring(1),We);break;default:me=Q1(oe)}if(me===null||(se.push(me[0]),(oe=Gc(me[1]))!==""&&oe.charAt(0)!==
674
+ ","))return Vc;oe=oe.replace(/^,/,"")}return se}(zt);if(this.fontFaces){var Rt=function(jt,We){var me=jt.getFontList(),se=JSON.stringify(me);if(St===null||kt!==se){var oe=function(Me){var Ht=[];return Object.
675
+ keys(Me).forEach(function(Se){Me[Se].forEach(function(Xt){var Zt=null;switch(Xt){case"bold":Zt={family:Se,weight:"bold"};break;case"italic":Zt={family:Se,style:"italic"};break;case"bolditalic":Zt={family:Se,
676
+ weight:"bold",style:"italic"};break;case"":case"normal":Zt={family:Se}}Zt!==null&&(Zt.ref={name:Se,style:Xt},Ht.push(Zt))})}),Ht}(me);St=function(Me){for(var Ht={},Se=0;Se<Me.length;++Se){var Xt=Uc(Me[Se]),
677
+ Zt=Xt.family,qe=Xt.stretch,le=Xt.style,Vt=Xt.weight;Ht[Zt]=Ht[Zt]||{},Ht[Zt][qe]=Ht[Zt][qe]||{},Ht[Zt][qe][le]=Ht[Zt][qe][le]||{},Ht[Zt][qe][le][Vt]=Xt}return Ht}(oe.concat(We)),kt=se}return St}(this.
678
+ pdf,this.fontFaces),ce=Tt.map(function(jt){return{family:jt,stretch:"normal",weight:Ut,style:ee}}),he=function(jt,We,me){for(var se=(me=me||{}).defaultFontFamily||"times",oe=Object.assign({},$1,me.genericFontFamilies||
679
+ {}),Me=null,Ht=null,Se=0;Se<We.length;++Se)if(oe[(Me=Uc(We[Se])).family]&&(Me.family=oe[Me.family]),jt.hasOwnProperty(Me.family)){Ht=jt[Me.family];break}if(!(Ht=Ht||jt[se]))throw new Error("Could not \
680
+ find a font-family for the rule '"+Hc(Me)+"' and default family '"+se+"'.");if(Ht=function(Xt,Zt){if(Zt[Xt])return Zt[Xt];var qe=Lo[Xt],le=qe<=Lo.normal?-1:1,Vt=zc(Zt,Tc,qe,le);if(!Vt)throw new Error(
681
+ "Could not find a matching font-stretch value for "+Xt);return Vt}(Me.stretch,Ht),Ht=function(Xt,Zt){if(Zt[Xt])return Zt[Xt];for(var qe=jc[Xt],le=0;le<qe.length;++le)if(Zt[qe[le]])return Zt[qe[le]];throw new Error(
682
+ "Could not find a matching font-style for "+Xt)}(Me.style,Ht),!(Ht=function(Xt,Zt){if(Zt[Xt])return Zt[Xt];if(Xt===400&&Zt[500])return Zt[500];if(Xt===500&&Zt[400])return Zt[400];var qe=Y1[Xt],le=zc(Zt,
683
+ Dc,qe,Xt<400?-1:1);if(!le)throw new Error("Could not find a matching font-weight for value "+Xt);return le}(Me.weight,Ht)))throw new Error("Failed to resolve a font for the rule '"+Hc(Me)+"'.");return Ht}(
684
+ Rt,ce);this.pdf.setFont(he.ref.name,he.ref.style)}else{var Kt="";(Ut==="bold"||parseInt(Ut,10)>=700||ee==="bold")&&(Kt="bold"),ee==="italic"&&(Kt+="italic"),Kt.length===0&&(Kt="normal");for(var fe="",
685
+ ue={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Couri\
686
+ er",cursive:"Times",fantasy:"Times",serif:"Times"},qt=0;qt<Tt.length;qt++){if(this.pdf.internal.getFont(Tt[qt],Kt,{noFallback:!0,disableWarning:!0})!==void 0){fe=Tt[qt];break}if(Kt==="bolditalic"&&this.
687
+ pdf.internal.getFont(Tt[qt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)fe=Tt[qt],Kt="bold";else if(this.pdf.internal.getFont(Tt[qt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){fe=Tt[qt],
688
+ Kt="normal";break}}if(fe===""){for(var ie=0;ie<Tt.length;ie++)if(ue[Tt[ie]]){fe=ue[Tt[ie]];break}}fe=fe===""?"Times":fe,this.pdf.setFont(fe,Kt)}}}}),Object.defineProperty(this,"globalCompositeOperatio\
689
+ n",{get:function(){return this.ctx.globalCompositeOperation},set:function(P){this.ctx.globalCompositeOperation=P}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},
690
+ set:function(P){this.ctx.globalAlpha=P}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(P){this.ctx.lineDashOffset=P,wt.call(this)}}),Object.
691
+ defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(P){this.ctx.lineDash=P,wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.
692
+ ignoreClearRect},set:function(P){this.ctx.ignoreClearRect=!!P}})};S.prototype.setLineDash=function(_){this.lineDash=_},S.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(
693
+ this.lineDash):this.lineDash.slice()},S.prototype.fill=function(){Y.call(this,"fill",!1)},S.prototype.stroke=function(){Y.call(this,"stroke",!1)},S.prototype.beginPath=function(){this.path=[{type:"beg\
694
+ in"}]},S.prototype.moveTo=function(_,O){if(isNaN(_)||isNaN(O))throw Ce.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var q=this.
695
+ ctx.transform.applyToPoint(new l(_,O));this.path.push({type:"mt",x:q.x,y:q.y}),this.ctx.lastPoint=new l(_,O)},S.prototype.closePath=function(){var _=new l(0,0),O=0;for(O=this.path.length-1;O!==-1;O--)
696
+ if(this.path[O].type==="begin"&&Ne(this.path[O+1])==="object"&&typeof this.path[O+1].x=="number"){_=new l(this.path[O+1].x,this.path[O+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new l(
697
+ _.x,_.y)},S.prototype.lineTo=function(_,O){if(isNaN(_)||isNaN(O))throw Ce.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var q=this.
698
+ ctx.transform.applyToPoint(new l(_,O));this.path.push({type:"lt",x:q.x,y:q.y}),this.ctx.lastPoint=new l(q.x,q.y)},S.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Y.
699
+ call(this,null,!0)},S.prototype.quadraticCurveTo=function(_,O,q,G){if(isNaN(q)||isNaN(G)||isNaN(_)||isNaN(O))throw Ce.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("\
700
+ Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var K=this.ctx.transform.applyToPoint(new l(q,G)),Z=this.ctx.transform.applyToPoint(new l(_,O));this.path.push({type:"qct",x1:Z.x,y1:Z.y,
701
+ x:K.x,y:K.y}),this.ctx.lastPoint=new l(K.x,K.y)},S.prototype.bezierCurveTo=function(_,O,q,G,K,Z){if(isNaN(K)||isNaN(Z)||isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G))throw Ce.error("jsPDF.context2d.bezierCur\
702
+ veTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var st=this.ctx.transform.applyToPoint(new l(K,Z)),ot=this.ctx.transform.applyToPoint(new l(_,
703
+ O)),mt=this.ctx.transform.applyToPoint(new l(q,G));this.path.push({type:"bct",x1:ot.x,y1:ot.y,x2:mt.x,y2:mt.y,x:st.x,y:st.y}),this.ctx.lastPoint=new l(st.x,st.y)},S.prototype.arc=function(_,O,q,G,K,Z){
704
+ if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G)||isNaN(K))throw Ce.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Z=!!Z,!this.ctx.transform.
705
+ isIdentity){var st=this.ctx.transform.applyToPoint(new l(_,O));_=st.x,O=st.y;var ot=this.ctx.transform.applyToPoint(new l(0,q)),mt=this.ctx.transform.applyToPoint(new l(0,0));q=Math.sqrt(Math.pow(ot.x-
706
+ mt.x,2)+Math.pow(ot.y-mt.y,2))}Math.abs(K-G)>=2*Math.PI&&(G=0,K=2*Math.PI),this.path.push({type:"arc",x:_,y:O,radius:q,startAngle:G,endAngle:K,counterclockwise:Z})},S.prototype.arcTo=function(_,O,q,G,K){
707
+ throw new Error("arcTo not implemented.")},S.prototype.rect=function(_,O,q,G){if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G))throw Ce.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("I\
708
+ nvalid arguments passed to jsPDF.context2d.rect");this.moveTo(_,O),this.lineTo(_+q,O),this.lineTo(_+q,O+G),this.lineTo(_,O+G),this.lineTo(_,O),this.lineTo(_+q,O),this.lineTo(_,O)},S.prototype.fillRect=
709
+ function(_,O,q,G){if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G))throw Ce.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.
710
+ call(this)){var K={};this.lineCap!=="butt"&&(K.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(K.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(_,O,q,G),this.
711
+ fill(),K.hasOwnProperty("lineCap")&&(this.lineCap=K.lineCap),K.hasOwnProperty("lineJoin")&&(this.lineJoin=K.lineJoin)}},S.prototype.strokeRect=function(_,O,q,G){if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(
712
+ G))throw Ce.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");T.call(this)||(this.beginPath(),this.rect(_,O,q,G),this.
713
+ stroke())},S.prototype.clearRect=function(_,O,q,G){if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G))throw Ce.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passe\
714
+ d to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(_,O,q,G))},S.prototype.save=function(_){_=typeof _!="boolean"||_;for(var O=this.pdf.internal.getCurrentPageInfo().
715
+ pageNumber,q=0;q<this.pdf.internal.getNumberOfPages();q++)this.pdf.setPage(q+1),this.pdf.internal.out("q");if(this.pdf.setPage(O),_){this.ctx.fontSize=this.pdf.internal.getFontSize();var G=new m(this.
716
+ ctx);this.ctxStack.push(this.ctx),this.ctx=G}},S.prototype.restore=function(_){_=typeof _!="boolean"||_;for(var O=this.pdf.internal.getCurrentPageInfo().pageNumber,q=0;q<this.pdf.internal.getNumberOfPages();q++)
717
+ this.pdf.setPage(q+1),this.pdf.internal.out("Q");this.pdf.setPage(O),_&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,
718
+ 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)},S.
719
+ prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var k=function(_){var O,q,G,K;if(_.isCanvasGradient===!0&&(_=_.getColor()),!_)return{r:0,g:0,b:0,a:0,style:_};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.
720
+ test(_))O=0,q=0,G=0,K=0;else{var Z=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(_);if(Z!==null)O=parseInt(Z[1]),q=parseInt(Z[2]),G=parseInt(Z[3]),K=1;else if((Z=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.
721
+ exec(_))!==null)O=parseInt(Z[1]),q=parseInt(Z[2]),G=parseInt(Z[3]),K=parseFloat(Z[4]);else{if(K=1,typeof _=="string"&&_.charAt(0)!=="#"){var st=new Sc(_);_=st.ok?st.toHex():"#000000"}_.length===4?(O=_.
722
+ substring(1,2),O+=O,q=_.substring(2,3),q+=q,G=_.substring(3,4),G+=G):(O=_.substring(1,3),q=_.substring(3,5),G=_.substring(5,7)),O=parseInt(O,16),q=parseInt(q,16),G=parseInt(G,16)}}return{r:O,g:q,b:G,a:K,
723
+ style:_}},f=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},T=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};S.prototype.fillText=function(_,O,q,G){if(isNaN(
724
+ O)||isNaN(q)||typeof _!="string")throw Ce.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(G=isNaN(G)?void 0:G,!f.call(
725
+ this)){var K=rt(this.ctx.transform.rotation),Z=this.ctx.transform.scaleX;R.call(this,{text:_,x:O,y:q,scale:Z,angle:K,align:this.textAlign,maxWidth:G})}},S.prototype.strokeText=function(_,O,q,G){if(isNaN(
726
+ O)||isNaN(q)||typeof _!="string")throw Ce.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!T.call(this)){G=isNaN(
727
+ G)?void 0:G;var K=rt(this.ctx.transform.rotation),Z=this.ctx.transform.scaleX;R.call(this,{text:_,x:O,y:q,scale:Z,renderingMode:"stroke",angle:K,align:this.textAlign,maxWidth:G})}},S.prototype.measureText=
728
+ function(_){if(typeof _!="string")throw Ce.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var O=this.pdf,q=this.
729
+ pdf.internal.scaleFactor,G=O.internal.getFontSize(),K=O.getStringUnitWidth(_)*G/O.internal.scaleFactor;return new function(Z){var st=(Z=Z||{}).width||0;return Object.defineProperty(this,"width",{get:function(){
730
+ return st}}),this}({width:K*=Math.round(96*q/72*1e4)/1e4})},S.prototype.scale=function(_,O){if(isNaN(_)||isNaN(O))throw Ce.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invali\
731
+ d arguments passed to jsPDF.context2d.scale");var q=new g(_,0,0,O,0,0);this.ctx.transform=this.ctx.transform.multiply(q)},S.prototype.rotate=function(_){if(isNaN(_))throw Ce.error("jsPDF.context2d.rot\
732
+ ate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var O=new g(Math.cos(_),Math.sin(_),-Math.sin(_),Math.cos(_),0,0);this.ctx.transform=this.ctx.transform.
733
+ multiply(O)},S.prototype.translate=function(_,O){if(isNaN(_)||isNaN(O))throw Ce.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.t\
734
+ ranslate");var q=new g(1,0,0,1,_,O);this.ctx.transform=this.ctx.transform.multiply(q)},S.prototype.transform=function(_,O,q,G,K,Z){if(isNaN(_)||isNaN(O)||isNaN(q)||isNaN(G)||isNaN(K)||isNaN(Z))throw Ce.
735
+ error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var st=new g(_,O,q,G,K,Z);this.ctx.transform=this.ctx.transform.multiply(
736
+ st)},S.prototype.setTransform=function(_,O,q,G,K,Z){_=isNaN(_)?1:_,O=isNaN(O)?0:O,q=isNaN(q)?0:q,G=isNaN(G)?1:G,K=isNaN(K)?0:K,Z=isNaN(Z)?0:Z,this.ctx.transform=new g(_,O,q,G,K,Z)};var F=function(){return this.
737
+ margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};S.prototype.drawImage=function(_,O,q,G,K,Z,st,ot,mt){var At=this.pdf.getImageProperties(_),St=1,kt=1,Wt=1,P=1;G!==void 0&&ot!==void 0&&
738
+ (Wt=ot/G,P=mt/K,St=At.width/G*ot/G,kt=At.height/K*mt/K),Z===void 0&&(Z=O,st=q,O=0,q=0),G!==void 0&&ot===void 0&&(ot=G,mt=K),G===void 0&&ot===void 0&&(ot=At.width,mt=At.height);var xt=this.ctx.transform.
739
+ decompose(),ee=rt(xt.rotate.shx),Ut=new g,bt=(Ut=(Ut=(Ut=Ut.multiply(xt.translate)).multiply(xt.skew)).multiply(xt.scale)).applyToRectangle(new u(Z-O*Wt,st-q*P,G*St,K*kt));if(this.autoPaging){for(var zt,
740
+ Pt=y.call(this,bt),Tt=[],Rt=0;Rt<Pt.length;Rt+=1)Tt.indexOf(Pt[Rt])===-1&&Tt.push(Pt[Rt]);M(Tt);for(var ce=Tt[0],he=Tt[Tt.length-1],Kt=ce;Kt<he+1;Kt++){this.pdf.setPage(Kt);var fe=this.pdf.internal.pageSize.
741
+ width-this.margin[3]-this.margin[1],ue=Kt===1?this.posY+this.margin[0]:this.margin[0],qt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ie=this.pdf.internal.pageSize.height-
742
+ this.margin[0]-this.margin[2],jt=Kt===1?0:qt+(Kt-2)*ie;if(this.ctx.clip_path.length!==0){var We=this.path;zt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=z(zt,this.posX+this.margin[3],-jt+
743
+ ue+this.ctx.prevPageLastElemOffset),at.call(this,"fill",!0),this.path=We}var me=JSON.parse(JSON.stringify(bt));me=z([me],this.posX+this.margin[3],-jt+ue+this.ctx.prevPageLastElemOffset)[0];var se=(Kt>
744
+ ce||Kt<he)&&F.call(this);se&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],fe,ie,null).clip().discardPath()),this.pdf.addImage(_,"JPEG",me.x,me.y,me.w,me.h,null,null,ee),se&&
745
+ this.pdf.restoreGraphicsState()}}else this.pdf.addImage(_,"JPEG",bt.x,bt.y,bt.w,bt.h,null,null,ee)};var y=function(_,O,q){var G=[];O=O||this.pdf.internal.pageSize.width,q=q||this.pdf.internal.pageSize.
746
+ height-this.margin[0]-this.margin[2];var K=this.posY+this.ctx.prevPageLastElemOffset;switch(_.type){default:case"mt":case"lt":G.push(Math.floor((_.y+K)/q)+1);break;case"arc":G.push(Math.floor((_.y+K-_.
747
+ radius)/q)+1),G.push(Math.floor((_.y+K+_.radius)/q)+1);break;case"qct":var Z=ft(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x,_.y);G.push(Math.floor((Z.y+K)/q)+1),G.push(Math.floor((Z.y+Z.h+
748
+ K)/q)+1);break;case"bct":var st=gt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,_.x1,_.y1,_.x2,_.y2,_.x,_.y);G.push(Math.floor((st.y+K)/q)+1),G.push(Math.floor((st.y+st.h+K)/q)+1);break;case"rect":G.push(
749
+ Math.floor((_.y+K)/q)+1),G.push(Math.floor((_.y+_.h+K)/q)+1)}for(var ot=0;ot<G.length;ot+=1)for(;this.pdf.internal.getNumberOfPages()<G[ot];)H.call(this);return G},H=function(){var _=this.fillStyle,O=this.
750
+ strokeStyle,q=this.font,G=this.lineCap,K=this.lineWidth,Z=this.lineJoin;this.pdf.addPage(),this.fillStyle=_,this.strokeStyle=O,this.font=q,this.lineCap=G,this.lineWidth=K,this.lineJoin=Z},z=function(_,O,q){
751
+ for(var G=0;G<_.length;G++)switch(_[G].type){case"bct":_[G].x2+=O,_[G].y2+=q;case"qct":_[G].x1+=O,_[G].y1+=q;default:_[G].x+=O,_[G].y+=q}return _},M=function(_){return _.sort(function(O,q){return O-q})},
752
+ Y=function(_,O){var q=this.fillStyle,G=this.strokeStyle,K=this.lineCap,Z=this.lineWidth,st=Math.abs(Z*this.ctx.transform.scaleX),ot=this.lineJoin;if(this.autoPaging){for(var mt,At,St=JSON.parse(JSON.stringify(
753
+ this.path)),kt=JSON.parse(JSON.stringify(this.path)),Wt=[],P=0;P<kt.length;P++)if(kt[P].x!==void 0)for(var xt=y.call(this,kt[P]),ee=0;ee<xt.length;ee+=1)Wt.indexOf(xt[ee])===-1&&Wt.push(xt[ee]);for(var Ut=0;Ut<
754
+ Wt.length;Ut++)for(;this.pdf.internal.getNumberOfPages()<Wt[Ut];)H.call(this);M(Wt);for(var bt=Wt[0],zt=Wt[Wt.length-1],Pt=bt;Pt<zt+1;Pt++){this.pdf.setPage(Pt),this.fillStyle=q,this.strokeStyle=G,this.
755
+ lineCap=K,this.lineWidth=st,this.lineJoin=ot;var Tt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Rt=Pt===1?this.posY+this.margin[0]:this.margin[0],ce=this.pdf.internal.pageSize.height-
756
+ this.posY-this.margin[0]-this.margin[2],he=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Kt=Pt===1?0:ce+(Pt-2)*he;if(this.ctx.clip_path.length!==0){var fe=this.path;mt=JSON.parse(JSON.
757
+ stringify(this.ctx.clip_path)),this.path=z(mt,this.posX+this.margin[3],-Kt+Rt+this.ctx.prevPageLastElemOffset),at.call(this,_,!0),this.path=fe}if(At=JSON.parse(JSON.stringify(St)),this.path=z(At,this.
758
+ posX+this.margin[3],-Kt+Rt+this.ctx.prevPageLastElemOffset),O===!1||Pt===0){var ue=(Pt>bt||Pt<zt)&&F.call(this);ue&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Tt,he,null).
759
+ clip().discardPath()),at.call(this,_,O),ue&&this.pdf.restoreGraphicsState()}this.lineWidth=Z}this.path=St}else this.lineWidth=st,at.call(this,_,O),this.lineWidth=Z},at=function(_,O){if((_!=="stroke"||
760
+ O||!T.call(this))&&(_==="stroke"||O||!f.call(this))){for(var q,G,K=[],Z=this.path,st=0;st<Z.length;st++){var ot=Z[st];switch(ot.type){case"begin":K.push({begin:!0});break;case"close":K.push({close:!0});
761
+ break;case"mt":K.push({start:ot,deltas:[],abs:[]});break;case"lt":var mt=K.length;if(Z[st-1]&&!isNaN(Z[st-1].x)&&(q=[ot.x-Z[st-1].x,ot.y-Z[st-1].y],mt>0)){for(;mt>=0;mt--)if(K[mt-1].close!==!0&&K[mt-1].
762
+ begin!==!0){K[mt-1].deltas.push(q),K[mt-1].abs.push(ot);break}}break;case"bct":q=[ot.x1-Z[st-1].x,ot.y1-Z[st-1].y,ot.x2-Z[st-1].x,ot.y2-Z[st-1].y,ot.x-Z[st-1].x,ot.y-Z[st-1].y],K[K.length-1].deltas.push(
763
+ q);break;case"qct":var At=Z[st-1].x+2/3*(ot.x1-Z[st-1].x),St=Z[st-1].y+2/3*(ot.y1-Z[st-1].y),kt=ot.x+2/3*(ot.x1-ot.x),Wt=ot.y+2/3*(ot.y1-ot.y),P=ot.x,xt=ot.y;q=[At-Z[st-1].x,St-Z[st-1].y,kt-Z[st-1].x,
764
+ Wt-Z[st-1].y,P-Z[st-1].x,xt-Z[st-1].y],K[K.length-1].deltas.push(q);break;case"arc":K.push({deltas:[],abs:[],arc:!0}),Array.isArray(K[K.length-1].abs)&&K[K.length-1].abs.push(ot)}}G=O?null:_==="stroke"?
765
+ "stroke":"fill";for(var ee=!1,Ut=0;Ut<K.length;Ut++)if(K[Ut].arc)for(var bt=K[Ut].abs,zt=0;zt<bt.length;zt++){var Pt=bt[zt];Pt.type==="arc"?V.call(this,Pt.x,Pt.y,Pt.radius,Pt.startAngle,Pt.endAngle,Pt.
766
+ counterclockwise,void 0,O,!ee):U.call(this,Pt.x,Pt.y),ee=!0}else if(K[Ut].close===!0)this.pdf.internal.out("h"),ee=!1;else if(K[Ut].begin!==!0){var Tt=K[Ut].start.x,Rt=K[Ut].start.y;D.call(this,K[Ut].
767
+ deltas,Tt,Rt),ee=!0}G&&B.call(this,G),O&&et.call(this)}},nt=function(_){var O=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,q=O*(this.pdf.internal.getLineHeightFactor()-1);switch(this.
768
+ ctx.textBaseline){case"bottom":return _-q;case"top":return _+O-q;case"hanging":return _+O-2*q;case"middle":return _+O/2-q;default:return _}},_t=function(_){return _+this.pdf.internal.getFontSize()/this.
769
+ pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};S.prototype.createLinearGradient=function(){var _=function(){};return _.colorStops=[],_.addColorStop=function(O,q){this.colorStops.
770
+ push([O,q])},_.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},_.isCanvasGradient=!0,_},S.prototype.createPattern=function(){return this.createLinearGradient()},
771
+ S.prototype.createRadialGradient=function(){return this.createLinearGradient()};var V=function(_,O,q,G,K,Z,st,ot,mt){for(var At=pt.call(this,q,G,K,Z),St=0;St<At.length;St++){var kt=At[St];St===0&&(mt?
772
+ A.call(this,kt.x1+_,kt.y1+O):U.call(this,kt.x1+_,kt.y1+O)),it.call(this,_,O,kt.x2,kt.y2,kt.x3,kt.y3,kt.x4,kt.y4)}ot?et.call(this):B.call(this,st)},B=function(_){switch(_){case"stroke":this.pdf.internal.
773
+ out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip(),this.pdf.discardPath()},A=function(_,O){this.pdf.internal.out(t(_)+" "+n(O)+" m")},R=function(_){var O;switch(_.align){case"\
774
+ right":case"end":O="right";break;case"center":O="center";break;default:O="left"}var q,G,K,Z=this.pdf.getTextDimensions(_.text),st=nt.call(this,_.y),ot=_t.call(this,st)-Z.h,mt=this.ctx.transform.applyToPoint(
775
+ new l(_.x,st));if(this.autoPaging){var At=this.ctx.transform.decompose(),St=new g;St=(St=(St=St.multiply(At.translate)).multiply(At.skew)).multiply(At.scale);for(var kt=this.ctx.transform.applyToRectangle(
776
+ new u(_.x,st,Z.w,Z.h)),Wt=St.applyToRectangle(new u(_.x,ot,Z.w,Z.h)),P=y.call(this,Wt),xt=[],ee=0;ee<P.length;ee+=1)xt.indexOf(P[ee])===-1&&xt.push(P[ee]);M(xt);for(var Ut=xt[0],bt=xt[xt.length-1],zt=Ut;zt<
777
+ bt+1;zt++){this.pdf.setPage(zt);var Pt=zt===1?this.posY+this.margin[0]:this.margin[0],Tt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Rt=this.pdf.internal.pageSize.height-
778
+ this.margin[2],ce=Rt-this.margin[0],he=this.pdf.internal.pageSize.width-this.margin[1],Kt=he-this.margin[3],fe=zt===1?0:Tt+(zt-2)*ce;if(this.ctx.clip_path.length!==0){var ue=this.path;q=JSON.parse(JSON.
779
+ stringify(this.ctx.clip_path)),this.path=z(q,this.posX+this.margin[3],-1*fe+Pt),at.call(this,"fill",!0),this.path=ue}var qt=z([JSON.parse(JSON.stringify(Wt))],this.posX+this.margin[3],-fe+Pt+this.ctx.
780
+ prevPageLastElemOffset)[0];_.scale>=.01&&(G=this.pdf.internal.getFontSize(),this.pdf.setFontSize(G*_.scale),K=this.lineWidth,this.lineWidth=K*_.scale);var ie=this.autoPaging!=="text";if(ie||qt.y+qt.h<=
781
+ Rt){if(ie||qt.y>=Pt&&qt.x<=he){var jt=ie?_.text:this.pdf.splitTextToSize(_.text,_.maxWidth||he-qt.x)[0],We=z([JSON.parse(JSON.stringify(kt))],this.posX+this.margin[3],-fe+Pt+this.ctx.prevPageLastElemOffset)[0],
782
+ me=ie&&(zt>Ut||zt<bt)&&F.call(this);me&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Kt,ce,null).clip().discardPath()),this.pdf.text(jt,We.x,We.y,{angle:_.angle,align:O,renderingMode:_.
783
+ renderingMode}),me&&this.pdf.restoreGraphicsState()}}else qt.y<Rt&&(this.ctx.prevPageLastElemOffset+=Rt-qt.y);_.scale>=.01&&(this.pdf.setFontSize(G),this.lineWidth=K)}}else _.scale>=.01&&(G=this.pdf.internal.
784
+ getFontSize(),this.pdf.setFontSize(G*_.scale),K=this.lineWidth,this.lineWidth=K*_.scale),this.pdf.text(_.text,mt.x+this.posX,mt.y+this.posY,{angle:_.angle,align:O,renderingMode:_.renderingMode,maxWidth:_.
785
+ maxWidth}),_.scale>=.01&&(this.pdf.setFontSize(G),this.lineWidth=K)},U=function(_,O,q,G){q=q||0,G=G||0,this.pdf.internal.out(t(_+q)+" "+n(O+G)+" l")},D=function(_,O,q){return this.pdf.lines(_,O,q,null,
786
+ null)},it=function(_,O,q,G,K,Z,st,ot){this.pdf.internal.out([e(a(q+_)),e(s(G+O)),e(a(K+_)),e(s(Z+O)),e(a(st+_)),e(s(ot+O)),"c"].join(" "))},pt=function(_,O,q,G){for(var K=2*Math.PI,Z=Math.PI/2;O>q;)O-=
787
+ K;var st=Math.abs(q-O);st<K&&G&&(st=K-st);for(var ot=[],mt=G?-1:1,At=O;st>1e-5;){var St=At+mt*Math.min(st,Z);ot.push(ut.call(this,_,At,St)),st-=Math.abs(St-At),At=St}return ot},ut=function(_,O,q){var G=(q-
788
+ O)/2,K=_*Math.cos(G),Z=_*Math.sin(G),st=K,ot=-Z,mt=st*st+ot*ot,At=mt+st*K+ot*Z,St=4/3*(Math.sqrt(2*mt*At)-At)/(st*Z-ot*K),kt=st-St*ot,Wt=ot+St*st,P=kt,xt=-Wt,ee=G+O,Ut=Math.cos(ee),bt=Math.sin(ee);return{
789
+ x1:_*Math.cos(O),y1:_*Math.sin(O),x2:kt*Ut-Wt*bt,y2:kt*bt+Wt*Ut,x3:P*Ut-xt*bt,y3:P*bt+xt*Ut,x4:_*Math.cos(q),y4:_*Math.sin(q)}},rt=function(_){return 180*_/Math.PI},ft=function(_,O,q,G,K,Z){var st=_+.5*
790
+ (q-_),ot=O+.5*(G-O),mt=K+.5*(q-K),At=Z+.5*(G-Z),St=Math.min(_,K,st,mt),kt=Math.max(_,K,st,mt),Wt=Math.min(O,Z,ot,At),P=Math.max(O,Z,ot,At);return new u(St,Wt,kt-St,P-Wt)},gt=function(_,O,q,G,K,Z,st,ot){
791
+ var mt,At,St,kt,Wt,P,xt,ee,Ut,bt,zt,Pt,Tt,Rt,ce=q-_,he=G-O,Kt=K-q,fe=Z-G,ue=st-K,qt=ot-Z;for(At=0;At<41;At++)Ut=(xt=(St=_+(mt=At/40)*ce)+mt*((Wt=q+mt*Kt)-St))+mt*(Wt+mt*(K+mt*ue-Wt)-xt),bt=(ee=(kt=O+mt*
792
+ he)+mt*((P=G+mt*fe)-kt))+mt*(P+mt*(Z+mt*qt-P)-ee),At==0?(zt=Ut,Pt=bt,Tt=Ut,Rt=bt):(zt=Math.min(zt,Ut),Pt=Math.min(Pt,bt),Tt=Math.max(Tt,Ut),Rt=Math.max(Rt,bt));return new u(Math.round(zt),Math.round(Pt),
793
+ Math.round(Tt-zt),Math.round(Rt-Pt))},wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var _,O,q=(_=this.ctx.lineDash,O=this.ctx.lineDashOffset,JSON.stringify({lineDash:_,
794
+ lineDashOffset:O}));this.prevLineDash!==q&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=q)}}})(Dt.API);var Zi=Uint8Array,Wi=Uint16Array,_o=Int32Array,Ao=new Zi([0,
795
+ 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]),xo=new Zi([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]),Xc=new Zi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,
796
+ 1,15]),Kc=function(i,e){for(var t=new Wi(31),n=0;n<31;++n)t[n]=e+=1<<i[n-1];var a=new _o(t[30]);for(n=1;n<30;++n)for(var s=t[n];s<t[n+1];++s)a[s]=s-t[n]<<5|n;return{b:t,r:a}},Jc=Kc(Ao,2),tl=Jc.b,No=Jc.
797
+ r;tl[28]=258,No[258]=28;for(var Yc=Kc(xo,0).r,$c=new Wi(32768),Oe=0;Oe<32768;++Oe){var Nn=(43690&Oe)>>1|(21845&Oe)<<1;Nn=(61680&(Nn=(52428&Nn)>>2|(13107&Nn)<<2))>>4|(3855&Nn)<<4,$c[Oe]=((65280&Nn)>>8|
798
+ (255&Nn)<<8)>>1}var Fa=function(i,e,t){for(var n=i.length,a=0,s=new Wi(e);a<n;++a)i[a]&&++s[i[a]-1];var l,u=new Wi(e);for(a=1;a<e;++a)u[a]=u[a-1]+s[a-1]<<1;for(l=new Wi(n),a=0;a<n;++a)i[a]&&(l[a]=$c[u[i[a]-
799
+ 1]++]>>15-i[a]);return l},Sn=new Zi(288);for(Oe=0;Oe<144;++Oe)Sn[Oe]=8;for(Oe=144;Oe<256;++Oe)Sn[Oe]=9;for(Oe=256;Oe<280;++Oe)Sn[Oe]=7;for(Oe=280;Oe<288;++Oe)Sn[Oe]=8;var _s=new Zi(32);for(Oe=0;Oe<32;++Oe)
800
+ _s[Oe]=5;var el=Fa(Sn,9),il=Fa(_s,5),Zc=function(i){return(i+7)/8|0},Ir=function(i,e,t){t<<=7&e;var n=e/8|0;i[n]|=t,i[n+1]|=t>>8},Ea=function(i,e,t){t<<=7&e;var n=e/8|0;i[n]|=t,i[n+1]|=t>>8,i[n+2]|=t>>
801
+ 16},So=function(i,e){for(var t=[],n=0;n<i.length;++n)i[n]&&t.push({s:n,f:i[n]});var a=t.length,s=t.slice();if(!a)return{t:ih,l:0};if(a==1){var l=new Zi(t[0].s+1);return l[t[0].s]=1,{t:l,l:1}}t.sort(function(at,nt){
802
+ return at.f-nt.f}),t.push({s:-1,f:25001});var u=t[0],g=t[1],d=0,m=1,S=2;for(t[0]={s:-1,f:u.f+g.f,l:u,r:g};m!=a-1;)u=t[t[d].f<t[S].f?d++:S++],g=t[d!=m&&t[d].f<t[S].f?d++:S++],t[m++]={s:-1,f:u.f+g.f,l:u,
803
+ r:g};var k=s[0].s;for(n=1;n<a;++n)s[n].s>k&&(k=s[n].s);var f=new Wi(k+1),T=ko(t[m-1],f,0);if(T>e){n=0;var F=0,y=T-e,H=1<<y;for(s.sort(function(at,nt){return f[nt.s]-f[at.s]||at.f-nt.f});n<a;++n){var z=s[n].
804
+ s;if(!(f[z]>e))break;F+=H-(1<<T-f[z]),f[z]=e}for(F>>=y;F>0;){var M=s[n].s;f[M]<e?F-=1<<e-f[M]++-1:++n}for(;n>=0&&F;--n){var Y=s[n].s;f[Y]==e&&(--f[Y],++F)}T=e}return{t:new Zi(f),l:T}},ko=function(i,e,t){
805
+ return i.s==-1?Math.max(ko(i.l,e,t+1),ko(i.r,e,t+1)):e[i.s]=t},Qc=function(i){for(var e=i.length;e&&!i[--e];);for(var t=new Wi(++e),n=0,a=i[0],s=1,l=function(g){t[n++]=g},u=1;u<=e;++u)if(i[u]==a&&u!=e)
806
+ ++s;else{if(!a&&s>2){for(;s>138;s-=138)l(32754);s>2&&(l(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(l(a),--s;s>6;s-=6)l(8304);s>2&&(l(s-3<<5|8208),s=0)}for(;s--;)l(a);s=1,a=i[u]}return{c:t.
807
+ subarray(0,n),n:e}},Ca=function(i,e){for(var t=0,n=0;n<e.length;++n)t+=i[n]*e[n];return t},th=function(i,e,t){var n=t.length,a=Zc(e+2);i[a]=255&n,i[a+1]=n>>8,i[a+2]=255^i[a],i[a+3]=255^i[a+1];for(var s=0;s<
808
+ n;++s)i[a+s+4]=t[s];return 8*(a+4+n)},eh=function(i,e,t,n,a,s,l,u,g,d,m){Ir(e,m++,t),++a[256];for(var S=So(a,15),k=S.t,f=S.l,T=So(s,15),F=T.t,y=T.l,H=Qc(k),z=H.c,M=H.n,Y=Qc(F),at=Y.c,nt=Y.n,_t=new Wi(
809
+ 19),V=0;V<z.length;++V)++_t[31&z[V]];for(V=0;V<at.length;++V)++_t[31&at[V]];for(var B=So(_t,7),et=B.t,A=B.l,R=19;R>4&&!et[Xc[R-1]];--R);var U,D,it,pt,ut=d+5<<3,rt=Ca(a,Sn)+Ca(s,_s)+l,ft=Ca(a,k)+Ca(s,F)+
810
+ l+14+3*R+Ca(_t,et)+2*_t[16]+3*_t[17]+7*_t[18];if(g>=0&&ut<=rt&&ut<=ft)return th(e,m,i.subarray(g,g+d));if(Ir(e,m,1+(ft<rt)),m+=2,ft<rt){U=Fa(k,f),D=k,it=Fa(F,y),pt=F;var gt=Fa(et,A);for(Ir(e,m,M-257),
811
+ Ir(e,m+5,nt-1),Ir(e,m+10,R-4),m+=14,V=0;V<R;++V)Ir(e,m+3*V,et[Xc[V]]);m+=3*R;for(var wt=[z,at],_=0;_<2;++_){var O=wt[_];for(V=0;V<O.length;++V){var q=31&O[V];Ir(e,m,gt[q]),m+=et[q],q>15&&(Ir(e,m,O[V]>>
812
+ 5&127),m+=O[V]>>12)}}}else U=el,D=Sn,it=il,pt=_s;for(V=0;V<u;++V){var G=n[V];if(G>255){Ea(e,m,U[257+(q=G>>18&31)]),m+=D[q+257],q>7&&(Ir(e,m,G>>23&31),m+=Ao[q]);var K=31&G;Ea(e,m,it[K]),m+=pt[K],K>3&&(Ea(
813
+ e,m,G>>5&8191),m+=xo[K])}else Ea(e,m,U[G]),m+=D[G]}return Ea(e,m,U[256]),m+D[256]},rl=new _o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ih=new Zi(0),rh=function(){var i=1,e=0;
814
+ return{p:function(t){for(var n=i,a=e,s=0|t.length,l=0;l!=s;){for(var u=Math.min(l+2655,s);l<u;++l)a+=n+=t[l];n=(65535&n)+15*(n>>16),a=(65535&a)+15*(a>>16)}i=n,e=a},d:function(){return(255&(i%=65521))<<
815
+ 24|(65280&i)<<8|(255&(e%=65521))<<8|e>>8}}},nh=function(i,e,t){for(;t;++e)i[e]=t,t>>>=8};function ah(i,e){e||(e={});var t=rh();t.p(i);var n=function(a,s,l,u,g){if(!g&&(g={l:1},s.dictionary)){var d=s.dictionary.
816
+ subarray(-32768),m=new Zi(d.length+a.length);m.set(d),m.set(a,d.length),a=m,g.w=d.length}return function(S,k,f,T,F,y){var H=y.z||S.length,z=new Zi(T+H+5*(1+Math.ceil(H/7e3))+F),M=z.subarray(T,z.length-
817
+ F),Y=y.l,at=7&(y.r||0);if(k){at&&(M[0]=y.r>>3);for(var nt=rl[k-1],_t=nt>>13,V=8191&nt,B=(1<<f)-1,et=y.p||new Wi(32768),A=y.h||new Wi(B+1),R=Math.ceil(f/3),U=2*R,D=function(ce){return(S[ce]^S[ce+1]<<R^
818
+ S[ce+2]<<U)&B},it=new _o(25e3),pt=new Wi(288),ut=new Wi(32),rt=0,ft=0,gt=y.i||0,wt=0,_=y.w||0,O=0;gt+2<H;++gt){var q=D(gt),G=32767&gt,K=A[q];if(et[G]=K,A[q]=G,_<=gt){var Z=H-gt;if((rt>7e3||wt>24576)&&
819
+ (Z>423||!Y)){at=eh(S,M,0,it,pt,ut,ft,wt,O,gt-O,at),wt=rt=ft=0,O=gt;for(var st=0;st<286;++st)pt[st]=0;for(st=0;st<30;++st)ut[st]=0}var ot=2,mt=0,At=V,St=G-K&32767;if(Z>2&&q==D(gt-St))for(var kt=Math.min(
820
+ _t,Z)-1,Wt=Math.min(32767,gt),P=Math.min(258,Z);St<=Wt&&--At&&G!=K;){if(S[gt+ot]==S[gt+ot-St]){for(var xt=0;xt<P&&S[gt+xt]==S[gt+xt-St];++xt);if(xt>ot){if(ot=xt,mt=St,xt>kt)break;var ee=Math.min(St,xt-
821
+ 2),Ut=0;for(st=0;st<ee;++st){var bt=gt-St+st&32767,zt=bt-et[bt]&32767;zt>Ut&&(Ut=zt,K=bt)}}}St+=(G=K)-(K=et[G])&32767}if(mt){it[wt++]=268435456|No[ot]<<18|Yc[mt];var Pt=31&No[ot],Tt=31&Yc[mt];ft+=Ao[Pt]+
822
+ xo[Tt],++pt[257+Pt],++ut[Tt],_=gt+ot,++rt}else it[wt++]=S[gt],++pt[S[gt]]}}for(gt=Math.max(gt,_);gt<H;++gt)it[wt++]=S[gt],++pt[S[gt]];at=eh(S,M,Y,it,pt,ut,ft,wt,O,gt-O,at),Y||(y.r=7&at|M[at/8|0]<<3,at-=
823
+ 7,y.h=A,y.p=et,y.i=gt,y.w=_)}else{for(gt=y.w||0;gt<H+Y;gt+=65535){var Rt=gt+65535;Rt>=H&&(M[at/8|0]=Y,Rt=H),at=th(M,at+1,S.subarray(gt,Rt))}y.i=H}return function(ce,he,Kt){return(Kt==null||Kt>ce.length)&&
824
+ (Kt=ce.length),new Zi(ce.subarray(he,Kt))}(z,0,T+Zc(at)+F)}(a,s.level==null?6:s.level,s.mem==null?g.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):20:12+s.mem,l,4,g)}(i,e,e.dictionary?6:
825
+ 2);return function(a,s){var l=s.level,u=l==0?0:l<6?1:l==9?3:2;if(a[0]=120,a[1]=u<<6|(s.dictionary&&32),a[1]|=31-(a[0]<<8|a[1])%31,s.dictionary){var g=rh();g.p(s.dictionary),nh(a,2,g.d())}}(n,e),nh(n,n.
826
+ length-4,t.d()),n}var nl=typeof TextDecoder<"u"&&new TextDecoder;try{nl.decode(ih,{stream:!0})}catch{}function sh(i,e="utf8"){return new TextDecoder(e).decode(i)}(function(i){var e=function(l){var u,g,
827
+ d,m,S,k,f,T,F,y;for(g=[],d=0,m=(l+=u="\0\0\0\0".slice(l.length%4||4)).length;m>d;d+=4)(S=(l.charCodeAt(d)<<24)+(l.charCodeAt(d+1)<<16)+(l.charCodeAt(d+2)<<8)+l.charCodeAt(d+3))!==0?(k=(S=((S=((S=((S=(S-
828
+ (y=S%85))/85)-(F=S%85))/85)-(T=S%85))/85)-(f=S%85))/85)%85,g.push(k+33,f+33,T+33,F+33,y+33)):g.push(122);return function(H,z){for(var M=z;M>0;M--)H.pop()}(g,u.length),String.fromCharCode.apply(String,
829
+ g)+"~>"},t=function(l){var u,g,d,m,S,k=String,f="length",T=255,F="charCodeAt",y="slice",H="replace";for(l[y](-2),l=l[y](0,-2)[H](/\s/g,"")[H]("z","!!!!!"),d=[],m=0,S=(l+=u="uuuuu"[y](l[f]%5||5))[f];S>
830
+ m;m+=5)g=52200625*(l[F](m)-33)+614125*(l[F](m+1)-33)+7225*(l[F](m+2)-33)+85*(l[F](m+3)-33)+(l[F](m+4)-33),d.push(T&g>>24,T&g>>16,T&g>>8,T&g);return function(z,M){for(var Y=M;Y>0;Y--)z.pop()}(d,u[f]),k.
831
+ fromCharCode.apply(k,d)},n=function(l){return l.split("").map(function(u){return("0"+u.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(l){var u=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((l=
832
+ l.replace(/\s/g,"")).indexOf(">")!==-1&&(l=l.substr(0,l.indexOf(">"))),l.length%2&&(l+="0"),u.test(l)===!1)return"";for(var g="",d=0;d<l.length;d+=2)g+=String.fromCharCode("0x"+(l[d]+l[d+1]));return g},
833
+ s=function(l){for(var u=new Uint8Array(l.length),g=l.length;g--;)u[g]=l.charCodeAt(g);return(u=ah(u)).reduce(function(d,m){return d+String.fromCharCode(m)},"")};i.processDataByFilters=function(l,u){var g=0,
834
+ d=l||"",m=[];for(typeof(u=u||[])=="string"&&(u=[u]),g=0;g<u.length;g+=1)switch(u[g]){case"ASCII85Decode":case"/ASCII85Decode":d=t(d),m.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Enc\
835
+ ode":d=e(d),m.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":d=a(d),m.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":d=n(d),m.push("/ASCIIHexDecode");
836
+ break;case"FlateEncode":case"/FlateEncode":d=s(d),m.push("/FlateDecode");break;default:throw new Error('The filter: "'+u[g]+'" is not implemented')}return{data:d,reverseChain:m.reverse().join(" ")}}})(
837
+ Dt.API),function(i){i.loadFile=function(e,t,n){return function(a,s,l){s=s!==!1,l=typeof l=="function"?l:function(){};var u=void 0;try{u=function(g,d,m){var S=new XMLHttpRequest,k=0,f=function(T){var F=T.
838
+ length,y=[],H=String.fromCharCode;for(k=0;k<F;k+=1)y.push(H(255&T.charCodeAt(k)));return y.join("")};if(S.open("GET",g,!d),S.overrideMimeType("text/plain; charset=x-user-defined"),d===!1&&(S.onload=function(){
839
+ S.status===200?m(f(this.responseText)):m(void 0)}),S.send(null),d&&S.status===200)return f(S.responseText)}(a,s,l)}catch{}return u}(e,t,n)},i.allowFsRead=void 0,i.loadImageFile=i.loadFile}(Dt.API),Dt.
840
+ API.addJS=function(i){var e,t,n=function(a){for(var s="",l=0;l<a.length;l++){var u=a[l];if(u==="("||u===")"){for(var g=0,d=l-1;d>=0&&a[d]==="\\";d--)g++;s+=g%2==0?"\\"+u:u}else s+=u}return s}(i);return this.
841
+ internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.
842
+ out("endobj"),t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.
843
+ events.subscribe("putCatalog",function(){e!==void 0&&t!==void 0&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")}),this},function(i){var e;i.events.push(["postPutResources",function(){var t=this,
844
+ n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),s=0;s<a.length;s++){var l=a[s],u=n.exec(l);if(u!=null){var g=u[1];t.internal.newObjectDeferredBegin(
845
+ g,!1)}t.internal.write(l)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,m=[];for(s=0;s<d;s++){var S=t.internal.newObject();m.push(S);var k=t.internal.getPageInfo(s+1);t.internal.
846
+ write("<< /D["+k.objId+" 0 R /XYZ null null null]>> endobj")}var f=t.internal.newObject();for(t.internal.write("<< /Names [ "),s=0;s<m.length;s++)t.internal.write("(page_"+(s+1)+")"+m[s]+" 0 R");t.internal.
847
+ write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),i.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>
848
+ 0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),i.events.push(["initialized",function(){var t=this;
849
+ t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(n,a,s){var l={title:a,options:s,children:[]};return n==null&&(n=this.root),n.children.push(l),l},t.outline.render=function(){
850
+ 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(n){n.id=t.internal.newObjectDeferred();
851
+ for(var a=0;a<n.children.length;a++)this.genIds_r(n.children[a])},t.outline.renderRoot=function(n){this.objStart(n),this.line("/Type /Outlines"),n.children.length>0&&(this.line("/First "+this.makeRef(
852
+ n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1]))),this.line("/Count "+this.count_r({count:0},n)),this.objEnd()},t.outline.renderItems=function(n){for(var a=this.ctx.pdf.
853
+ internal.getVerticalCoordinateString,s=0;s<n.children.length;s++){var l=n.children[s];this.objStart(l),this.line("/Title "+this.makeString(l.title)),this.line("/Parent "+this.makeRef(n)),s>0&&this.line(
854
+ "/Prev "+this.makeRef(n.children[s-1])),s<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[s+1])),l.children.length>0&&(this.line("/First "+this.makeRef(l.children[0])),this.line("/Last\
855
+ "+this.makeRef(l.children[l.children.length-1])));var u=this.count=this.count_r({count:0},l);if(u>0&&this.line("/Count "+u),l.options&&l.options.pageNumber){var g=t.internal.getPageInfo(l.options.pageNumber);
856
+ this.line("/Dest ["+g.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var d=0;d<n.children.length;d++)this.renderItems(n.children[d])},t.outline.line=function(n){this.ctx.val+=n+`\r
857
+ `},t.outline.makeRef=function(n){return n.id+" 0 R"},t.outline.makeString=function(n){return"("+t.internal.pdfEscape(n)+")"},t.outline.objStart=function(n){this.ctx.val+=`\r
858
+ `+n.id+` 0 obj\r
859
+ <<\r
860
+ `},t.outline.objEnd=function(){this.ctx.val+=`>> \r
861
+ endobj\r
862
+ `},t.outline.count_r=function(n,a){for(var s=0;s<a.children.length;s++)n.count++,this.count_r(n,a.children[s]);return n.count}}])}(Dt.API),function(i){var e=[192,193,194,195,196,197,198,199];i.processJPEG=
863
+ function(t,n,a,s,l,u){var g,d=this.decode.DCT_DECODE,m=null;if(typeof t=="string"||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=l||t,t=this.__addimage__.isArrayBuffer(
864
+ t)?new Uint8Array(t):t,g=function(S){for(var k,f=256*S.charCodeAt(4)+S.charCodeAt(5),T=S.length,F={width:0,height:0,numcomponents:1},y=4;y<T;y+=2){if(y+=f,e.indexOf(S.charCodeAt(y+1))!==-1){k=256*S.charCodeAt(
865
+ y+5)+S.charCodeAt(y+6),F={width:256*S.charCodeAt(y+7)+S.charCodeAt(y+8),height:k,numcomponents:S.charCodeAt(y+9)};break}f=256*S.charCodeAt(y+2)+S.charCodeAt(y+3)}return F}(t=this.__addimage__.isArrayBufferView(
866
+ t)?this.__addimage__.arrayBufferToBinaryString(t):t),g.numcomponents){case 1:u=this.color_spaces.DEVICE_GRAY;break;case 4:u=this.color_spaces.DEVICE_CMYK;break;case 3:u=this.color_spaces.DEVICE_RGB}m=
867
+ {data:t,width:g.width,height:g.height,colorSpace:u,bitsPerComponent:8,filter:d,index:n,alias:a}}return m}}(Dt.API);const al=new TextEncoder,sl=(()=>{const i=new Uint8Array(4);return!((new Uint32Array(
868
+ i.buffer)[0]=1)&i[0])})(),Po={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,
869
+ uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Uo{constructor(e=8192,t={}){_e(this,"buffer"),_e(this,"byteLength"),
870
+ _e(this,"byteOffset"),_e(this,"length"),_e(this,"offset"),_e(this,"lastWrittenByte"),_e(this,"littleEndian"),_e(this,"_data"),_e(this,"_mark"),_e(this,"_marks");let n=!1;typeof e=="number"?e=new ArrayBuffer(
871
+ e):(n=!0,this.lastWrittenByte=e.byteLength);const a=t.offset?t.offset>>>0:0,s=e.byteLength-a;let l=a;(ArrayBuffer.isView(e)||e instanceof Uo)&&(e.byteLength!==e.buffer.byteLength&&(l=e.byteOffset+a),e=
872
+ e.buffer),this.lastWrittenByte=n?s:0,this.buffer=e,this.length=s,this.byteLength=s,this.byteOffset=l,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,l,s),this._mark=0,this._marks=
873
+ []}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.
874
+ littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this.
875
+ _mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const e=this._marks.pop();if(e===void 0)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=
876
+ 0,this}ensureAvailable(e=1){if(!this.available(e)){const t=2*(this.offset+e),n=new Uint8Array(t);n.set(new Uint8Array(this.buffer)),this.buffer=n.buffer,this.length=t,this.byteLength=t,this._data=new DataView(
877
+ this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){
878
+ return this.readArray(e,"uint8")}readArray(e,t){const n=Po[t].BYTES_PER_ELEMENT*e,a=this.byteOffset+this.offset,s=this.buffer.slice(a,a+n);if(this.littleEndian===sl&&t!=="uint8"&&t!=="int8"){const u=new Uint8Array(
879
+ this.buffer.slice(a,a+n));u.reverse();const g=new Po[t](u.buffer);return this.offset+=n,g.reverse(),g}const l=new Po[t](s);return this.offset+=n,l}readInt16(){const e=this._data.getInt16(this.offset,this.
880
+ littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);
881
+ return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.
882
+ offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.
883
+ offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let n=0;n<
884
+ e;n++)t+=this.readChar();return t}readUtf8(e=1){return sh(this.readBytes(e))}decodeText(e=1,t="utf8"){return sh(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.
885
+ ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),
886
+ this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){
887
+ return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(
888
+ this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this.
889
+ _updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.
890
+ ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,
891
+ e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),
892
+ this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(
893
+ 0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes(function(t){return al.encode(t)}(e))}toArray(){return new Uint8Array(this.
894
+ buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}
895
+ function Qn(i){let e=i.length;for(;--e>=0;)i[e]=0}const ol=new Array(576);Qn(ol);const cl=new Array(60);Qn(cl);const hl=new Array(512);Qn(hl);const ll=new Array(256);Qn(ll);const ul=new Array(29);Qn(ul);
896
+ const fl=new Array(30);Qn(fl);var Io=(i,e,t,n)=>{let a=65535&i,s=i>>>16&65535,l=0;for(;t!==0;){l=t>2e3?2e3:t,t-=l;do a=a+e[n++]|0,s=s+a|0;while(--l);a%=65521,s%=65521}return a|s<<16};const dl=new Uint32Array(
897
+ (()=>{let i,e=[];for(var t=0;t<256;t++){i=t;for(var n=0;n<8;n++)i=1&i?3988292384^i>>>1:i>>>1;e[t]=i}return e})());var dr=(i,e,t,n)=>{const a=dl,s=n+t;i^=-1;for(let l=n;l<s;l++)i=i>>>8^a[255&(i^e[l])];
898
+ return-1^i},Fo={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},oh={Z_NO_FLUSH:0,
899
+ Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const pl=(i,e)=>Object.prototype.hasOwnProperty.call(i,
900
+ e);var gl=function(i){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const t=e.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const n in t)pl(t,n)&&
901
+ (i[n]=t[n])}}return i},ml=i=>{let e=0;for(let n=0,a=i.length;n<a;n++)e+=i[n].length;const t=new Uint8Array(e);for(let n=0,a=0,s=i.length;n<s;n++){let l=i[n];t.set(l,a),a+=l.length}return t};let ch=!0;
902
+ try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{ch=!1}const Oa=new Uint8Array(256);for(let i=0;i<256;i++)Oa[i]=i>=252?6:i>=248?5:i>=240?4:i>=224?3:i>=192?2:1;Oa[254]=Oa[255]=1;var vl=i=>{if(typeof TextEncoder==
903
+ "function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(i);let e,t,n,a,s,l=i.length,u=0;for(a=0;a<l;a++)t=i.charCodeAt(a),(64512&t)==55296&&a+1<l&&(n=i.charCodeAt(a+1),(64512&n)==56320&&
904
+ (t=65536+(t-55296<<10)+(n-56320),a++)),u+=t<128?1:t<2048?2:t<65536?3:4;for(e=new Uint8Array(u),s=0,a=0;s<u;a++)t=i.charCodeAt(a),(64512&t)==55296&&a+1<l&&(n=i.charCodeAt(a+1),(64512&n)==56320&&(t=65536+
905
+ (t-55296<<10)+(n-56320),a++)),t<128?e[s++]=t:t<2048?(e[s++]=192|t>>>6,e[s++]=128|63&t):t<65536?(e[s++]=224|t>>>12,e[s++]=128|t>>>6&63,e[s++]=128|63&t):(e[s++]=240|t>>>18,e[s++]=128|t>>>12&63,e[s++]=128|
906
+ t>>>6&63,e[s++]=128|63&t);return e},bl=(i,e)=>{const t=e||i.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(i.subarray(0,e));let n,a;const s=new Array(
907
+ 2*t);for(a=0,n=0;n<t;){let l=i[n++];if(l<128){s[a++]=l;continue}let u=Oa[l];if(u>4)s[a++]=65533,n+=u-1;else{for(l&=u===2?31:u===3?15:7;u>1&&n<t;)l=l<<6|63&i[n++],u--;u>1?s[a++]=65533:l<65536?s[a++]=l:
908
+ (l-=65536,s[a++]=55296|l>>10&1023,s[a++]=56320|1023&l)}}return((l,u)=>{if(u<65534&&l.subarray&&ch)return String.fromCharCode.apply(null,l.length===u?l:l.subarray(0,u));let g="";for(let d=0;d<u;d++)g+=
909
+ String.fromCharCode(l[d]);return g})(s,a)},wl=(i,e)=>{(e=e||i.length)>i.length&&(e=i.length);let t=e-1;for(;t>=0&&(192&i[t])==128;)t--;return t<0||t===0?e:t+Oa[i[t]]>e?t:e},yl=function(){this.input=null,
910
+ this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const As=16209;var Ll=function(i,e){
911
+ let t,n,a,s,l,u,g,d,m,S,k,f,T,F,y,H,z,M,Y,at,nt,_t,V,B;const et=i.state;t=i.next_in,V=i.input,n=t+(i.avail_in-5),a=i.next_out,B=i.output,s=a-(e-i.avail_out),l=a+(i.avail_out-257),u=et.dmax,g=et.wsize,
912
+ d=et.whave,m=et.wnext,S=et.window,k=et.hold,f=et.bits,T=et.lencode,F=et.distcode,y=(1<<et.lenbits)-1,H=(1<<et.distbits)-1;t:do{f<15&&(k+=V[t++]<<f,f+=8,k+=V[t++]<<f,f+=8),z=T[k&y];e:for(;;){if(M=z>>>24,
913
+ k>>>=M,f-=M,M=z>>>16&255,M===0)B[a++]=65535&z;else{if(!(16&M)){if(64&M){if(32&M){et.mode=16191;break t}i.msg="invalid literal/length code",et.mode=As;break t}z=T[(65535&z)+(k&(1<<M)-1)];continue e}for(Y=
914
+ 65535&z,M&=15,M&&(f<M&&(k+=V[t++]<<f,f+=8),Y+=k&(1<<M)-1,k>>>=M,f-=M),f<15&&(k+=V[t++]<<f,f+=8,k+=V[t++]<<f,f+=8),z=F[k&H];;){if(M=z>>>24,k>>>=M,f-=M,M=z>>>16&255,16&M){if(at=65535&z,M&=15,f<M&&(k+=V[t++]<<
915
+ f,f+=8,f<M&&(k+=V[t++]<<f,f+=8)),at+=k&(1<<M)-1,at>u){i.msg="invalid distance too far back",et.mode=As;break t}if(k>>>=M,f-=M,M=a-s,at>M){if(M=at-M,M>d&&et.sane){i.msg="invalid distance too far back",
916
+ et.mode=As;break t}if(nt=0,_t=S,m===0){if(nt+=g-M,M<Y){Y-=M;do B[a++]=S[nt++];while(--M);nt=a-at,_t=B}}else if(m<M){if(nt+=g+m-M,M-=m,M<Y){Y-=M;do B[a++]=S[nt++];while(--M);if(nt=0,m<Y){M=m,Y-=M;do B[a++]=
917
+ S[nt++];while(--M);nt=a-at,_t=B}}}else if(nt+=m-M,M<Y){Y-=M;do B[a++]=S[nt++];while(--M);nt=a-at,_t=B}for(;Y>2;)B[a++]=_t[nt++],B[a++]=_t[nt++],B[a++]=_t[nt++],Y-=3;Y&&(B[a++]=_t[nt++],Y>1&&(B[a++]=_t[nt++]))}else{
918
+ nt=a-at;do B[a++]=B[nt++],B[a++]=B[nt++],B[a++]=B[nt++],Y-=3;while(Y>2);Y&&(B[a++]=B[nt++],Y>1&&(B[a++]=B[nt++]))}break}if(64&M){i.msg="invalid distance code",et.mode=As;break t}z=F[(65535&z)+(k&(1<<M)-
919
+ 1)]}}break}}while(t<n&&a<l);Y=f>>3,t-=Y,f-=Y<<3,k&=(1<<f)-1,i.next_in=t,i.next_out=a,i.avail_in=t<n?n-t+5:5-(t-n),i.avail_out=a<l?l-a+257:257-(a-l),et.hold=k,et.bits=f};const _l=new Uint16Array([3,4,5,
920
+ 6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Al=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),
921
+ xl=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Nl=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,
922
+ 22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var Ma=(i,e,t,n,a,s,l,u)=>{const g=u.bits;let d,m,S,k,f,T,F=0,y=0,H=0,z=0,M=0,Y=0,at=0,nt=0,_t=0,V=0,B=null;const et=new Uint16Array(16),A=new Uint16Array(
923
+ 16);let R,U,D,it=null;for(F=0;F<=15;F++)et[F]=0;for(y=0;y<n;y++)et[e[t+y]]++;for(M=g,z=15;z>=1&&et[z]===0;z--);if(M>z&&(M=z),z===0)return a[s++]=20971520,a[s++]=20971520,u.bits=1,0;for(H=1;H<z&&et[H]===
924
+ 0;H++);for(M<H&&(M=H),nt=1,F=1;F<=15;F++)if(nt<<=1,nt-=et[F],nt<0)return-1;if(nt>0&&(i===0||z!==1))return-1;for(A[1]=0,F=1;F<15;F++)A[F+1]=A[F]+et[F];for(y=0;y<n;y++)e[t+y]!==0&&(l[A[e[t+y]]++]=y);if(i===
925
+ 0?(B=it=l,T=20):i===1?(B=_l,it=Al,T=257):(B=xl,it=Nl,T=0),V=0,y=0,F=H,f=s,Y=M,at=0,S=-1,_t=1<<M,k=_t-1,i===1&&_t>852||i===2&&_t>592)return 1;for(;;){R=F-at,l[y]+1<T?(U=0,D=l[y]):l[y]>=T?(U=it[l[y]-T],
926
+ D=B[l[y]-T]):(U=96,D=0),d=1<<F-at,m=1<<Y,H=m;do m-=d,a[f+(V>>at)+m]=R<<24|U<<16|D;while(m!==0);for(d=1<<F-1;V&d;)d>>=1;if(d!==0?(V&=d-1,V+=d):V=0,y++,--et[F]===0){if(F===z)break;F=e[t+l[y]]}if(F>M&&(V&
927
+ k)!==S){for(at===0&&(at=M),f+=H,Y=F-at,nt=1<<Y;Y+at<z&&(nt-=et[Y+at],!(nt<=0));)Y++,nt<<=1;if(_t+=1<<Y,i===1&&_t>852||i===2&&_t>592)return 1;S=V&k,a[S]=M<<24|Y<<16|f-s}}return V!==0&&(a[f+V]=F-at<<24|
928
+ 64<<16),u.bits=M,0};const{Z_FINISH:hh,Z_BLOCK:Sl,Z_TREES:xs,Z_OK:kn,Z_STREAM_END:kl,Z_NEED_DICT:Pl,Z_STREAM_ERROR:Hi,Z_DATA_ERROR:lh,Z_MEM_ERROR:uh,Z_BUF_ERROR:Il,Z_DEFLATED:fh}=oh,Ns=16180,Ss=16190,Fr=16191,
929
+ Eo=16192,Co=16194,ks=16199,Ps=16200,Oo=16206,Re=16209,dh=i=>(i>>>24&255)+(i>>>8&65280)+((65280&i)<<8)+((255&i)<<24);function Fl(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.
930
+ flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.
931
+ lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=
932
+ null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Pn=i=>{if(!i)return 1;const e=i.state;return!e||e.strm!==i||e.mode<Ns||e.mode>16211?1:0},El=i=>{if(Pn(i))return Hi;const e=i.state;return i.
933
+ total_in=i.total_out=e.total=0,i.msg="",e.wrap&&(i.adler=1&e.wrap),e.mode=Ns,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=
934
+ e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,kn},ph=i=>{if(Pn(i))return Hi;const e=i.state;return e.wsize=0,e.whave=0,e.wnext=0,El(i)},Cl=(i,e)=>{let t;if(Pn(i))return Hi;const n=i.state;return e<
935
+ 0?(t=0,e=-e):(t=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Hi:(n.window!==null&&n.wbits!==e&&(n.window=null),n.wrap=t,n.wbits=e,ph(i))},Ol=(i,e)=>{if(!i)return Hi;const t=new Fl;i.state=t,t.strm=i,t.window=
936
+ null,t.mode=Ns;const n=Cl(i,e);return n!==kn&&(i.state=null),n};let Mo,qo,gh=!0;const Ml=i=>{if(gh){Mo=new Int32Array(512),qo=new Int32Array(32);let e=0;for(;e<144;)i.lens[e++]=8;for(;e<256;)i.lens[e++]=
937
+ 9;for(;e<280;)i.lens[e++]=7;for(;e<288;)i.lens[e++]=8;for(Ma(1,i.lens,0,288,Mo,0,i.work,{bits:9}),e=0;e<32;)i.lens[e++]=5;Ma(2,i.lens,0,32,qo,0,i.work,{bits:5}),gh=!1}i.lencode=Mo,i.lenbits=9,i.distcode=
938
+ qo,i.distbits=5},mh=(i,e,t,n)=>{let a;const s=i.state;return s.window===null&&(s.window=new Uint8Array(1<<s.wbits)),s.wsize===0&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0),n>=s.wsize?(s.window.set(e.subarray(
939
+ t-s.wsize,t),0),s.wnext=0,s.whave=s.wsize):(a=s.wsize-s.wnext,a>n&&(a=n),s.window.set(e.subarray(t-n,t-n+a),s.wnext),(n-=a)?(s.window.set(e.subarray(t-n,t),0),s.wnext=n,s.whave=s.wsize):(s.wnext+=a,s.
940
+ wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=a))),0};var ql=ph,Rl=Ol,Ro=(i,e)=>{let t,n,a,s,l,u,g,d,m,S,k,f,T,F,y,H,z,M,Y,at,nt,_t,V=0;const B=new Uint8Array(4);let et,A;const R=new Uint8Array(
941
+ [16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Pn(i)||!i.output||!i.input&&i.avail_in!==0)return Hi;t=i.state,t.mode===Fr&&(t.mode=Eo),l=i.next_out,a=i.output,g=i.avail_out,s=i.next_in,n=i.input,
942
+ u=i.avail_in,d=t.hold,m=t.bits,S=u,k=g,_t=kn;t:for(;;)switch(t.mode){case Ns:if(t.wrap===0){t.mode=Eo;break}for(;m<16;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(2&t.wrap&&d===35615){t.wbits===0&&(t.wbits=
943
+ 15),t.check=0,B[0]=255&d,B[1]=d>>>8&255,t.check=dr(t.check,B,2,0),d=0,m=0,t.mode=16181;break}if(t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&d)<<8)+(d>>8))%31){i.msg="incorrect header check",t.mode=Re;
944
+ break}if((15&d)!==fh){i.msg="unknown compression method",t.mode=Re;break}if(d>>>=4,m-=4,nt=8+(15&d),t.wbits===0&&(t.wbits=nt),nt>15||nt>t.wbits){i.msg="invalid window size",t.mode=Re;break}t.dmax=1<<t.
945
+ wbits,t.flags=0,i.adler=t.check=1,t.mode=512&d?16189:Fr,d=0,m=0;break;case 16181:for(;m<16;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(t.flags=d,(255&t.flags)!==fh){i.msg="unknown compression method",
946
+ t.mode=Re;break}if(57344&t.flags){i.msg="unknown header flags set",t.mode=Re;break}t.head&&(t.head.text=d>>8&1),512&t.flags&&4&t.wrap&&(B[0]=255&d,B[1]=d>>>8&255,t.check=dr(t.check,B,2,0)),d=0,m=0,t.mode=
947
+ 16182;case 16182:for(;m<32;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.head&&(t.head.time=d),512&t.flags&&4&t.wrap&&(B[0]=255&d,B[1]=d>>>8&255,B[2]=d>>>16&255,B[3]=d>>>24&255,t.check=dr(t.check,B,4,0)),
948
+ d=0,m=0,t.mode=16183;case 16183:for(;m<16;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.head&&(t.head.xflags=255&d,t.head.os=d>>8),512&t.flags&&4&t.wrap&&(B[0]=255&d,B[1]=d>>>8&255,t.check=dr(t.check,B,2,
949
+ 0)),d=0,m=0,t.mode=16184;case 16184:if(1024&t.flags){for(;m<16;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.length=d,t.head&&(t.head.extra_len=d),512&t.flags&&4&t.wrap&&(B[0]=255&d,B[1]=d>>>8&255,t.check=
950
+ dr(t.check,B,2,0)),d=0,m=0}else t.head&&(t.head.extra=null);t.mode=16185;case 16185:if(1024&t.flags&&(f=t.length,f>u&&(f=u),f&&(t.head&&(nt=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(
951
+ t.head.extra_len)),t.head.extra.set(n.subarray(s,s+f),nt)),512&t.flags&&4&t.wrap&&(t.check=dr(t.check,n,f,s)),u-=f,s+=f,t.length-=f),t.length))break t;t.length=0,t.mode=16186;case 16186:if(2048&t.flags){
952
+ if(u===0)break t;f=0;do nt=n[s+f++],t.head&&nt&&t.length<65536&&(t.head.name+=String.fromCharCode(nt));while(nt&&f<u);if(512&t.flags&&4&t.wrap&&(t.check=dr(t.check,n,f,s)),u-=f,s+=f,nt)break t}else t.
953
+ head&&(t.head.name=null);t.length=0,t.mode=16187;case 16187:if(4096&t.flags){if(u===0)break t;f=0;do nt=n[s+f++],t.head&&nt&&t.length<65536&&(t.head.comment+=String.fromCharCode(nt));while(nt&&f<u);if(512&
954
+ t.flags&&4&t.wrap&&(t.check=dr(t.check,n,f,s)),u-=f,s+=f,nt)break t}else t.head&&(t.head.comment=null);t.mode=16188;case 16188:if(512&t.flags){for(;m<16;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(4&t.
955
+ wrap&&d!==(65535&t.check)){i.msg="header crc mismatch",t.mode=Re;break}d=0,m=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),i.adler=t.check=0,t.mode=Fr;break;case 16189:for(;m<32;){if(u===0)break t;
956
+ u--,d+=n[s++]<<m,m+=8}i.adler=t.check=dh(d),d=0,m=0,t.mode=Ss;case Ss:if(t.havedict===0)return i.next_out=l,i.avail_out=g,i.next_in=s,i.avail_in=u,t.hold=d,t.bits=m,Pl;i.adler=t.check=1,t.mode=Fr;case Fr:
957
+ if(e===Sl||e===xs)break t;case Eo:if(t.last){d>>>=7&m,m-=7&m,t.mode=Oo;break}for(;m<3;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}switch(t.last=1&d,d>>>=1,m-=1,3&d){case 0:t.mode=16193;break;case 1:if(Ml(
958
+ t),t.mode=ks,e===xs){d>>>=2,m-=2;break t}break;case 2:t.mode=16196;break;case 3:i.msg="invalid block type",t.mode=Re}d>>>=2,m-=2;break;case 16193:for(d>>>=7&m,m-=7&m;m<32;){if(u===0)break t;u--,d+=n[s++]<<
959
+ m,m+=8}if((65535&d)!=(d>>>16^65535)){i.msg="invalid stored block lengths",t.mode=Re;break}if(t.length=65535&d,d=0,m=0,t.mode=Co,e===xs)break t;case Co:t.mode=16195;case 16195:if(f=t.length,f){if(f>u&&
960
+ (f=u),f>g&&(f=g),f===0)break t;a.set(n.subarray(s,s+f),l),u-=f,s+=f,g-=f,l+=f,t.length-=f;break}t.mode=Fr;break;case 16196:for(;m<14;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(t.nlen=257+(31&d),d>>>=
961
+ 5,m-=5,t.ndist=1+(31&d),d>>>=5,m-=5,t.ncode=4+(15&d),d>>>=4,m-=4,t.nlen>286||t.ndist>30){i.msg="too many length or distance symbols",t.mode=Re;break}t.have=0,t.mode=16197;case 16197:for(;t.have<t.ncode;){
962
+ for(;m<3;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.lens[R[t.have++]]=7&d,d>>>=3,m-=3}for(;t.have<19;)t.lens[R[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,et={bits:t.lenbits},_t=Ma(0,t.lens,0,19,t.
963
+ lencode,0,t.work,et),t.lenbits=et.bits,_t){i.msg="invalid code lengths set",t.mode=Re;break}t.have=0,t.mode=16198;case 16198:for(;t.have<t.nlen+t.ndist;){for(;V=t.lencode[d&(1<<t.lenbits)-1],y=V>>>24,
964
+ H=V>>>16&255,z=65535&V,!(y<=m);){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(z<16)d>>>=y,m-=y,t.lens[t.have++]=z;else{if(z===16){for(A=y+2;m<A;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(d>>>=y,m-=y,t.have===
965
+ 0){i.msg="invalid bit length repeat",t.mode=Re;break}nt=t.lens[t.have-1],f=3+(3&d),d>>>=2,m-=2}else if(z===17){for(A=y+3;m<A;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}d>>>=y,m-=y,nt=0,f=3+(7&d),d>>>=3,
966
+ m-=3}else{for(A=y+7;m<A;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}d>>>=y,m-=y,nt=0,f=11+(127&d),d>>>=7,m-=7}if(t.have+f>t.nlen+t.ndist){i.msg="invalid bit length repeat",t.mode=Re;break}for(;f--;)t.lens[t.
967
+ have++]=nt}}if(t.mode===Re)break;if(t.lens[256]===0){i.msg="invalid code -- missing end-of-block",t.mode=Re;break}if(t.lenbits=9,et={bits:t.lenbits},_t=Ma(1,t.lens,0,t.nlen,t.lencode,0,t.work,et),t.lenbits=
968
+ et.bits,_t){i.msg="invalid literal/lengths set",t.mode=Re;break}if(t.distbits=6,t.distcode=t.distdyn,et={bits:t.distbits},_t=Ma(2,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,et),t.distbits=et.bits,_t){i.
969
+ msg="invalid distances set",t.mode=Re;break}if(t.mode=ks,e===xs)break t;case ks:t.mode=Ps;case Ps:if(u>=6&&g>=258){i.next_out=l,i.avail_out=g,i.next_in=s,i.avail_in=u,t.hold=d,t.bits=m,Ll(i,k),l=i.next_out,
970
+ a=i.output,g=i.avail_out,s=i.next_in,n=i.input,u=i.avail_in,d=t.hold,m=t.bits,t.mode===Fr&&(t.back=-1);break}for(t.back=0;V=t.lencode[d&(1<<t.lenbits)-1],y=V>>>24,H=V>>>16&255,z=65535&V,!(y<=m);){if(u===
971
+ 0)break t;u--,d+=n[s++]<<m,m+=8}if(H&&!(240&H)){for(M=y,Y=H,at=z;V=t.lencode[at+((d&(1<<M+Y)-1)>>M)],y=V>>>24,H=V>>>16&255,z=65535&V,!(M+y<=m);){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}d>>>=M,m-=M,t.back+=
972
+ M}if(d>>>=y,m-=y,t.back+=y,t.length=z,H===0){t.mode=16205;break}if(32&H){t.back=-1,t.mode=Fr;break}if(64&H){i.msg="invalid literal/length code",t.mode=Re;break}t.extra=15&H,t.mode=16201;case 16201:if(t.
973
+ extra){for(A=t.extra;m<A;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.length+=d&(1<<t.extra)-1,d>>>=t.extra,m-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=16202;case 16202:for(;V=t.distcode[d&(1<<t.distbits)-
974
+ 1],y=V>>>24,H=V>>>16&255,z=65535&V,!(y<=m);){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(!(240&H)){for(M=y,Y=H,at=z;V=t.distcode[at+((d&(1<<M+Y)-1)>>M)],y=V>>>24,H=V>>>16&255,z=65535&V,!(M+y<=m);){if(u===
975
+ 0)break t;u--,d+=n[s++]<<m,m+=8}d>>>=M,m-=M,t.back+=M}if(d>>>=y,m-=y,t.back+=y,64&H){i.msg="invalid distance code",t.mode=Re;break}t.offset=z,t.extra=15&H,t.mode=16203;case 16203:if(t.extra){for(A=t.extra;m<
976
+ A;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}t.offset+=d&(1<<t.extra)-1,d>>>=t.extra,m-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){i.msg="invalid distance too far back",t.mode=Re;break}t.mode=16204;case 16204:
977
+ if(g===0)break t;if(f=k-g,t.offset>f){if(f=t.offset-f,f>t.whave&&t.sane){i.msg="invalid distance too far back",t.mode=Re;break}f>t.wnext?(f-=t.wnext,T=t.wsize-f):T=t.wnext-f,f>t.length&&(f=t.length),F=
978
+ t.window}else F=a,T=l-t.offset,f=t.length;f>g&&(f=g),g-=f,t.length-=f;do a[l++]=F[T++];while(--f);t.length===0&&(t.mode=Ps);break;case 16205:if(g===0)break t;a[l++]=t.length,g--,t.mode=Ps;break;case Oo:
979
+ if(t.wrap){for(;m<32;){if(u===0)break t;u--,d|=n[s++]<<m,m+=8}if(k-=g,i.total_out+=k,t.total+=k,4&t.wrap&&k&&(i.adler=t.check=t.flags?dr(t.check,a,k,l-k):Io(t.check,a,k,l-k)),k=g,4&t.wrap&&(t.flags?d:
980
+ dh(d))!==t.check){i.msg="incorrect data check",t.mode=Re;break}d=0,m=0}t.mode=16207;case 16207:if(t.wrap&&t.flags){for(;m<32;){if(u===0)break t;u--,d+=n[s++]<<m,m+=8}if(4&t.wrap&&d!==(4294967295&t.total)){
981
+ i.msg="incorrect length check",t.mode=Re;break}d=0,m=0}t.mode=16208;case 16208:_t=kl;break t;case Re:_t=lh;break t;case 16210:return uh;default:return Hi}return i.next_out=l,i.avail_out=g,i.next_in=s,
982
+ i.avail_in=u,t.hold=d,t.bits=m,(t.wsize||k!==i.avail_out&&t.mode<Re&&(t.mode<Oo||e!==hh))&&mh(i,i.output,i.next_out,k-i.avail_out),S-=i.avail_in,k-=i.avail_out,i.total_in+=S,i.total_out+=k,t.total+=k,
983
+ 4&t.wrap&&k&&(i.adler=t.check=t.flags?dr(t.check,a,k,i.next_out-k):Io(t.check,a,k,i.next_out-k)),i.data_type=t.bits+(t.last?64:0)+(t.mode===Fr?128:0)+(t.mode===ks||t.mode===Co?256:0),(S===0&&k===0||e===
984
+ hh)&&_t===kn&&(_t=Il),_t},vh=i=>{if(Pn(i))return Hi;let e=i.state;return e.window&&(e.window=null),i.state=null,kn},Bl=(i,e)=>{if(Pn(i))return Hi;const t=i.state;return 2&t.wrap?(t.head=e,e.done=!1,kn):
985
+ Hi},bh=(i,e)=>{const t=e.length;let n,a,s;return Pn(i)?Hi:(n=i.state,n.wrap!==0&&n.mode!==Ss?Hi:n.mode===Ss&&(a=1,a=Io(a,e,t,0),a!==n.check)?lh:(s=mh(i,e,t,t),s?(n.mode=16210,uh):(n.havedict=1,kn)))},
986
+ jl=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const wh=Object.prototype.toString,{Z_NO_FLUSH:Tl,
987
+ Z_FINISH:yh,Z_OK:ta,Z_STREAM_END:Bo,Z_NEED_DICT:jo,Z_STREAM_ERROR:Dl,Z_DATA_ERROR:Lh,Z_MEM_ERROR:Ul,Z_BUF_ERROR:_h}=oh,zl={chunkSize:65536,windowBits:15,to:""};function qa(i){this.options=gl({},zl,i||
988
+ {});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||i&&i.windowBits||(e.windowBits+=
989
+ 32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new yl,this.strm.avail_out=0;let t=Rl(this.strm,e.windowBits);
990
+ if(t!==ta)throw new Error(Fo[t]);if(this.header=new jl,Bl(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=vl(e.dictionary):wh.call(e.dictionary)==="[object ArrayBuffer\
991
+ ]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=bh(this.strm,e.dictionary),t!==ta)))throw new Error(Fo[t])}function Wl(i,e){const t=new qa(e);if(t.push(i,!0),t.err)throw t.msg||Fo[t.err];return t.
992
+ result}qa.prototype.push=function(i,e){const t=this.strm,n=this.options.chunkSize,a=this.options.dictionary;let s,l,u;if(this.ended)return!1;for(l=e===~~e?e:e===!0?yh:Tl,wh.call(i)==="[object ArrayBuf\
993
+ fer]"?t.input=new Uint8Array(i):t.input=i,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(n),t.next_out=0,t.avail_out=n),s=Ro(t,l),s===jo&&a&&(s=bh(t,a),s===ta?s=
994
+ Ro(t,l):s===Lh&&(s=jo));t.avail_in>0&&s===Bo&&2&t.state.wrap&&t.state.flags!==0&&t.input[t.next_in]!==0;)ql(t),s=Ro(t,l);switch(s){case Dl:case Lh:case jo:case Ul:return this.onEnd(s),this.ended=!0,!1}
995
+ if(u=t.avail_out,t.next_out&&(t.avail_out===0||s===Bo||l>0))if(this.options.to==="string"){let g=wl(t.output,t.next_out),d=t.next_out-g,m=bl(t.output,g);t.next_out=d,t.avail_out=n-d,d&&t.output.set(t.
996
+ output.subarray(g,g+d),0),this.onData(m)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out)),t.avail_out=0,t.next_out=0;if(s!==ta&&s!==_h||u!==0){if(s===Bo)return s=
997
+ vh(this.strm),this.onEnd(s),this.ended=!0,!0;if(t.avail_in===0){if(l===yh)return s=vh(this.strm),this.onEnd(s===ta?_h:s),this.ended=!0,!1;break}}}return!0},qa.prototype.onData=function(i){this.chunks.
998
+ push(i)},qa.prototype.onEnd=function(i){i===ta&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ml(this.chunks)),this.chunks=[],this.err=i,this.msg=this.strm.msg};var Hl={Inflate:qa,
999
+ inflate:Wl};const{Inflate:Gl,inflate:Vl}=Hl;var Ah=Gl,Xl=Vl;const xh=[];for(let i=0;i<256;i++){let e=i;for(let t=0;t<8;t++)1&e?e=3988292384^e>>>1:e>>>=1;xh[i]=e}const Nh=4294967295;function Sh(i,e,t){
1000
+ const n=i.readUint32(),a=(function(s,l,u){let g=Nh;for(let d=0;d<u;d++)g=xh[255&(g^l[d])]^g>>>8;return g}(0,new Uint8Array(i.buffer,i.byteOffset+i.offset-e-4,e),e)^Nh)>>>0;if(a!==n)throw new Error(`CR\
1001
+ C mismatch for chunk ${t}. Expected ${n}, found ${a}`)}function kh(i,e,t){for(let n=0;n<t;n++)e[n]=i[n]}function Ph(i,e,t,n){let a=0;for(;a<n;a++)e[a]=i[a];for(;a<t;a++)e[a]=i[a]+e[a-n]&255}function Ih(i,e,t,n){
1002
+ let a=0;if(t.length===0)for(;a<n;a++)e[a]=i[a];else for(;a<n;a++)e[a]=i[a]+t[a]&255}function Fh(i,e,t,n,a){let s=0;if(t.length===0){for(;s<a;s++)e[s]=i[s];for(;s<n;s++)e[s]=i[s]+(e[s-a]>>1)&255}else{for(;s<
1003
+ a;s++)e[s]=i[s]+(t[s]>>1)&255;for(;s<n;s++)e[s]=i[s]+(e[s-a]+t[s]>>1)&255}}function Eh(i,e,t,n,a){let s=0;if(t.length===0){for(;s<a;s++)e[s]=i[s];for(;s<n;s++)e[s]=i[s]+e[s-a]&255}else{for(;s<a;s++)e[s]=
1004
+ i[s]+t[s]&255;for(;s<n;s++)e[s]=i[s]+Kl(e[s-a],t[s],t[s-a])&255}}function Kl(i,e,t){const n=i+e-t,a=Math.abs(n-i),s=Math.abs(n-e),l=Math.abs(n-t);return a<=s&&a<=l?i:s<=l?e:t}function Jl(i,e,t,n,a,s){
1005
+ switch(i){case 0:kh(e,t,a);break;case 1:Ph(e,t,a,s);break;case 2:Ih(e,t,n,a);break;case 3:Fh(e,t,n,a,s);break;case 4:Eh(e,t,n,a,s);break;default:throw new Error(`Unsupported filter: ${i}`)}}const Yl=new Uint16Array(
1006
+ [255]),$l=new Uint8Array(Yl.buffer)[0]===255;function Zl(i){return(255&i)<<8|i>>8&255}const Ql=new Uint16Array([255]),tu=new Uint8Array(Ql.buffer)[0]===255,eu=new Uint8Array(0);function Ch(i){const{data:e,
1007
+ width:t,height:n,channels:a,depth:s}=i,l=Math.ceil(s/8)*a,u=Math.ceil(s/8*a*t),g=new Uint8Array(n*u);let d,m,S=eu,k=0;for(let f=0;f<n;f++){switch(d=e.subarray(k+1,k+1+u),m=g.subarray(f*u,(f+1)*u),e[k]){case 0:
1008
+ kh(d,m,u);break;case 1:Ph(d,m,u,l);break;case 2:Ih(d,m,S,u);break;case 3:Fh(d,m,S,u,l);break;case 4:Eh(d,m,S,u,l);break;default:throw new Error(`Unsupported filter: ${e[k]}`)}S=m,k+=u+1}if(s===16){const f=new Uint16Array(
1009
+ g.buffer);if(tu)for(let T=0;T<f.length;T++)f[T]=iu(f[T]);return f}return g}function iu(i){return(255&i)<<8|i>>8&255}const Is=Uint8Array.of(137,80,78,71,13,10,26,10);function Oh(i){if(!function(e){if(e.
1010
+ length<Is.length)return!1;for(let t=0;t<Is.length;t++)if(e[t]!==Is[t])return!1;return!0}(i.readBytes(Is.length)))throw new Error("wrong PNG signature")}const Mh=new TextDecoder("latin1"),ru=/^[\u0000-\u00FF]*$/;
1011
+ function qh(i){for(i.mark();i.readByte()!==0;);const e=i.offset;i.reset();const t=Mh.decode(i.readBytes(e-i.offset-1));return i.skip(1),function(n){if(function(a){if(!ru.test(a))throw new Error("inval\
1012
+ id latin1 text")}(n),n.length===0||n.length>79)throw new Error("keyword length must be between 1 and 79")}(t),t}class nu extends Uo{constructor(e,t={}){super(e),_e(this,"_checkCrc"),_e(this,"_inflator"),
1013
+ _e(this,"_png"),_e(this,"_apng"),_e(this,"_end"),_e(this,"_hasPalette"),_e(this,"_palette"),_e(this,"_hasTransparency"),_e(this,"_transparency"),_e(this,"_compressionMethod"),_e(this,"_filterMethod"),
1014
+ _e(this,"_interlaceMethod"),_e(this,"_colorType"),_e(this,"_isAnimated"),_e(this,"_numberOfFrames"),_e(this,"_numberOfPlays"),_e(this,"_frames"),_e(this,"_writingDataChunks");const{checkCrc:n=!1}=t;this.
1015
+ _checkCrc=n,this._inflator=new Ah,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,
1016
+ text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=-1,this._filterMethod=-1,this._interlaceMethod=
1017
+ -1,this._colorType=-1,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Oh(this);!this._end;){const e=this.readUint32(),
1018
+ t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(Oh(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.
1019
+ decodeApngImage(),this._apng}decodeChunk(e,t){const n=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=
1020
+ !0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":(function(a,s,l){const u=qh(s);a[u]=function(g,d){return Mh.decode(g.readBytes(d))}(s,l-u.length-1)})(this._png.
1021
+ text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Sh(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){
1022
+ const n=this.offset;switch(t!=="fdAT"&&t!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);
1023
+ break;default:this.decodeChunk(e,t),this.offset=n+e}if(this.offset-n!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Sh(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this.
1024
+ _png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function(a){if(a!==1&&a!==2&&a!==4&&a!==8&&a!==16)throw new Error(`invalid bit depth: ${a}`);return a}(this.readUint8());const t=this.
1025
+ readUint8();let n;switch(this._colorType=t,t){case 0:case 3:n=1;break;case 2:n=3;break;case 4:n=2;break;case 6:n=4;break;default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=n,this.
1026
+ _compressionMethod=this.readUint8(),this._compressionMethod!==0)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=
1027
+ this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),
1028
+ height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(
1029
+ 0)};this._frames.push(e)}decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const n=[];this._palette=n;for(let a=0;a<t;a++)
1030
+ n.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,n=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,n,t)),this.
1031
+ _inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,n=this.offset+this.byteOffset;if(n+=4,t-=4,this.
1032
+ _inflator.push(new Uint8Array(this.buffer,n,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case 0:case 2:
1033
+ if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixe\
1034
+ ls (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break;case 3:{if(e>this.
1035
+ _palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const n=this.readByte();this._palette[t].
1036
+ push(n)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=qh(this),n=this.
1037
+ readUint8();if(n!==0)throw new Error(`Unsupported iCCP compression method: ${n}`);const a=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:Xl(a)}}decodepHYs(){const e=this.readUint32(),
1038
+ t=this.readUint32(),n=this.readByte();this._png.resolution={x:e,y:t,unit:n}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,
1039
+ this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<
1040
+ this._numberOfFrames;e++){const t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:this._apng.depth===8?new Uint8Array(
1041
+ this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},n=this._frames.at(e);if(n){if(n.data=Ch({data:n.data,width:n.width,height:n.
1042
+ height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),e===0||n.xOffset===
1043
+ 0&&n.yOffset===0&&n.width===this._png.width&&n.height===this._png.height)t.data=n.data;else{const a=this._apng.frames.at(e-1);this.disposeFrame(n,a,t),this.addFrameDataToCanvas(t,n)}this._apng.frames.
1044
+ push(t)}}return this._apng}disposeFrame(e,t,n){switch(e.disposeOp){case 0:break;case 1:for(let a=0;a<this._png.height;a++)for(let s=0;s<this._png.width;s++){const l=(a*e.width+s)*this._png.channels;for(let u=0;u<
1045
+ this._png.channels;u++)n.data[l+u]=0}break;case 2:n.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const n=1<<this._png.depth,a=(s,l)=>({index:((s+t.yOffset)*
1046
+ this._png.width+t.xOffset+l)*this._png.channels,frameIndex:(s*t.width+l)*this._png.channels});switch(t.blendOp){case 0:for(let s=0;s<t.height;s++)for(let l=0;l<t.width;l++){const{index:u,frameIndex:g}=a(
1047
+ s,l);for(let d=0;d<this._png.channels;d++)e.data[u+d]=t.data[g+d]}break;case 1:for(let s=0;s<t.height;s++)for(let l=0;l<t.width;l++){const{index:u,frameIndex:g}=a(s,l);for(let d=0;d<this._png.channels;d++){
1048
+ const m=t.data[g+this._png.channels-1]/n,S=d%(this._png.channels-1)==0?1:t.data[g+d],k=Math.floor(m*S+(1-m)*e.data[u+d]);e.data[u+d]+=k}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){
1049
+ if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==0)throw new Error(
1050
+ `Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===0)this._png.data=Ch({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{
1051
+ if(this._interlaceMethod!==1)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function(t){const{data:n,width:a,height:s,channels:l,depth:u}=t,g=[{x:0,y:0,xStep:8,
1052
+ yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],d=Math.ceil(u/8)*l,m=new Uint8Array(
1053
+ s*a*d);let S=0;for(let k=0;k<7;k++){const f=g[k],T=Math.ceil((a-f.x)/f.xStep),F=Math.ceil((s-f.y)/f.yStep);if(T<=0||F<=0)continue;const y=T*d,H=new Uint8Array(y);for(let z=0;z<F;z++){const M=n[S++],Y=n.
1054
+ subarray(S,S+y);S+=y;const at=new Uint8Array(y);Jl(M,Y,at,H,y,d),H.set(at);for(let nt=0;nt<T;nt++){const _t=f.x+nt*f.xStep,V=f.y+z*f.yStep;if(!(_t>=a||V>=s))for(let B=0;B<d;B++)m[(V*a+_t)*d+B]=at[nt*d+
1055
+ B]}}}if(u===16){const k=new Uint16Array(m.buffer);if($l)for(let f=0;f<k.length;f++)k[f]=Zl(k[f]);return k}return m}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this.
1056
+ _png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);
1057
+ t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:0,blendOp:0,data:e}),this._inflator=new Ah,this.
1058
+ _writingDataChunks=!1}}var Rh,ea,Fs,Bh,jh,Th;function Dh(i,e,t,n,a){var s=4,l=zh;switch(a){case Dt.API.image_compression.FAST:s=1,l=Uh;break;case Dt.API.image_compression.MEDIUM:s=6,l=Wh;break;case Dt.
1059
+ API.image_compression.SLOW:s=9,l=Hh}i=function(g,d,m,S){for(var k,f=g.length/d,T=new Uint8Array(g.length+f),F=[au,Uh,zh,Wh,Hh],y=0;y<f;y+=1){var H=y*d,z=g.subarray(H,H+d);if(S)T.set(S(z,m,k),H+y);else{
1060
+ for(var M=F.length,Y=[],at=0;at<M;at+=1)Y[at]=F[at](z,m,k);var nt=ou(Y.concat());T.set(Y[nt],H+y)}k=z}return T}(i,e,Math.ceil(t*n/8),l);var u=ah(i,{level:s});return Dt.API.__addimage__.arrayBufferToBinaryString(
1061
+ u)}function au(i){var e=Array.apply([],i);return e.unshift(0),e}function Uh(i,e){var t=i.length,n=[];n[0]=1;for(var a=0;a<t;a+=1){var s=i[a-e]||0;n[a+1]=i[a]-s+256&255}return n}function zh(i,e,t){var n=i.
1062
+ length,a=[];a[0]=2;for(var s=0;s<n;s+=1){var l=t&&t[s]||0;a[s+1]=i[s]-l+256&255}return a}function Wh(i,e,t){var n=i.length,a=[];a[0]=3;for(var s=0;s<n;s+=1){var l=i[s-e]||0,u=t&&t[s]||0;a[s+1]=i[s]+256-
1063
+ (l+u>>>1)&255}return a}function Hh(i,e,t){var n=i.length,a=[];a[0]=4;for(var s=0;s<n;s+=1){var l=su(i[s-e]||0,t&&t[s]||0,t&&t[s-e]||0);a[s+1]=i[s]-l+256&255}return a}function su(i,e,t){if(i===e&&e===t)
1064
+ return i;var n=Math.abs(e-t),a=Math.abs(i-t),s=Math.abs(i+e-t-t);return n<=a&&n<=s?i:a<=s?e:t}function ou(i){var e=i.map(function(t){return t.reduce(function(n,a){return n+Math.abs(a)},0)});return e.indexOf(
1065
+ Math.min.apply(null,e))}function To(i,e,t){var n=e*t,a=Math.floor(n/8),s=16-(n-8*a+t),l=(1<<t)-1;return Vh(i,a)>>s&l}function Gh(i,e,t,n){var a=t*n,s=Math.floor(a/8),l=16-(a-8*s+n),u=(1<<n)-1,g=(e&u)<<
1066
+ l;(function(d,m,S){if(m+1<d.byteLength)d.setUint16(m,S,!1);else{var k=S>>8&255;d.setUint8(m,k)}})(i,s,Vh(i,s)&~(u<<l)&65535|g)}function Vh(i,e){return e+1<i.byteLength?i.getUint16(e,!1):i.getUint8(e)<<
1067
+ 8}function cu(i){var e=0;if(i[e++]!==71||i[e++]!==73||i[e++]!==70||i[e++]!==56||(i[e++]+1&253)!=56||i[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var t=i[e++]|i[e++]<<8,n=i[e++]|i[e++]<<8,
1068
+ a=i[e++],s=a>>7,l=1<<1+(7&a);i[e++],i[e++];var u=null,g=null;s&&(u=e,g=l,e+=3*l);var d=!0,m=[],S=0,k=null,f=0,T=null;for(this.width=t,this.height=n;d&&e<i.length;)switch(i[e++]){case 33:switch(i[e++]){case 255:
1069
+ if(i[e]!==11||i[e+1]==78&&i[e+2]==69&&i[e+3]==84&&i[e+4]==83&&i[e+5]==67&&i[e+6]==65&&i[e+7]==80&&i[e+8]==69&&i[e+9]==50&&i[e+10]==46&&i[e+11]==48&&i[e+12]==3&&i[e+13]==1&&i[e+16]==0)e+=14,T=i[e++]|i[e++]<<
1070
+ 8,e++;else for(e+=12;;){if(!((A=i[e++])>=0))throw Error("Invalid block size");if(A===0)break;e+=A}break;case 249:if(i[e++]!==4||i[e+4]!==0)throw new Error("Invalid graphics extension block.");var F=i[e++];
1071
+ S=i[e++]|i[e++]<<8,k=i[e++],1&F||(k=null),f=F>>2&7,e++;break;case 254:for(;;){if(!((A=i[e++])>=0))throw Error("Invalid block size");if(A===0)break;e+=A}break;default:throw new Error("Unknown graphic c\
1072
+ ontrol label: 0x"+i[e-1].toString(16))}break;case 44:var y=i[e++]|i[e++]<<8,H=i[e++]|i[e++]<<8,z=i[e++]|i[e++]<<8,M=i[e++]|i[e++]<<8,Y=i[e++],at=Y>>6&1,nt=1<<1+(7&Y),_t=u,V=g,B=!1;Y>>7&&(B=!0,_t=e,V=nt,
1073
+ e+=3*nt);var et=e;for(e++;;){var A;if(!((A=i[e++])>=0))throw Error("Invalid block size");if(A===0)break;e+=A}m.push({x:y,y:H,width:z,height:M,has_local_palette:B,palette_offset:_t,palette_size:V,data_offset:et,
1074
+ data_length:e-et,transparent_index:k,interlaced:!!at,delay:S,disposal:f});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+i[e-1].toString(16))}this.numFrames=function(){return m.
1075
+ length},this.loopCount=function(){return T},this.frameInfo=function(R){if(R<0||R>=m.length)throw new Error("Frame index out of range.");return m[R]},this.decodeAndBlitFrameBGRA=function(R,U){var D=this.
1076
+ frameInfo(R),it=D.width*D.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var pt=new Uint8Array(it);Xh(i,D.data_offset,pt,it);var ut=D.palette_offset,rt=D.
1077
+ transparent_index;rt===null&&(rt=256);var ft=D.width,gt=t-ft,wt=ft,_=4*(D.y*t+D.x),O=4*((D.y+D.height)*t+D.x),q=_,G=4*gt;D.interlaced===!0&&(G+=4*t*7);for(var K=8,Z=0,st=pt.length;Z<st;++Z){var ot=pt[Z];
1078
+ if(wt===0&&(wt=ft,(q+=G)>=O&&(G=4*gt+4*t*(K-1),q=_+(ft+gt)*(K<<1),K>>=1)),ot===rt)q+=4;else{var mt=i[ut+3*ot],At=i[ut+3*ot+1],St=i[ut+3*ot+2];U[q++]=St,U[q++]=At,U[q++]=mt,U[q++]=255}--wt}},this.decodeAndBlitFrameRGBA=
1079
+ function(R,U){var D=this.frameInfo(R),it=D.width*D.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var pt=new Uint8Array(it);Xh(i,D.data_offset,pt,it);var ut=D.
1080
+ palette_offset,rt=D.transparent_index;rt===null&&(rt=256);var ft=D.width,gt=t-ft,wt=ft,_=4*(D.y*t+D.x),O=4*((D.y+D.height)*t+D.x),q=_,G=4*gt;D.interlaced===!0&&(G+=4*t*7);for(var K=8,Z=0,st=pt.length;Z<
1081
+ st;++Z){var ot=pt[Z];if(wt===0&&(wt=ft,(q+=G)>=O&&(G=4*gt+4*t*(K-1),q=_+(ft+gt)*(K<<1),K>>=1)),ot===rt)q+=4;else{var mt=i[ut+3*ot],At=i[ut+3*ot+1],St=i[ut+3*ot+2];U[q++]=mt,U[q++]=At,U[q++]=St,U[q++]=
1082
+ 255}--wt}}}function Xh(i,e,t,n){for(var a=i[e++],s=1<<a,l=s+1,u=l+1,g=a+1,d=(1<<g)-1,m=0,S=0,k=0,f=i[e++],T=new Int32Array(4096),F=null;;){for(;m<16&&f!==0;)S|=i[e++]<<m,m+=8,f===1?f=i[e++]:--f;if(m<g)
1083
+ break;var y=S&d;if(S>>=g,m-=g,y!==s){if(y===l)break;for(var H=y<u?y:F,z=0,M=H;M>s;)M=T[M]>>8,++z;var Y=M;if(k+z+(H!==y?1:0)>n)return void Ce.log("Warning, gif stream longer than expected.");t[k++]=Y;var at=k+=
1084
+ z;for(H!==y&&(t[k++]=Y),M=H;z--;)M=T[M],t[--at]=255&M,M>>=8;F!==null&&u<4096&&(T[u++]=F<<8|Y,u>=d+1&&g<12&&(++g,d=d<<1|1)),F=y}else u=l+1,d=(1<<(g=a+1))-1,F=null}return k!==n&&Ce.log("Warning, gif str\
1085
+ eam shorter than expected."),t}function Do(i){var e,t,n,a,s,l=Math.floor,u=new Array(64),g=new Array(64),d=new Array(64),m=new Array(64),S=new Array(65535),k=new Array(65535),f=new Array(64),T=new Array(
1086
+ 64),F=[],y=0,H=7,z=new Array(64),M=new Array(64),Y=new Array(64),at=new Array(256),nt=new Array(2048),_t=[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,
1087
+ 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],V=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],et=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],A=[
1088
+ 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,
1089
+ 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,
1090
+ 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],R=[0,0,3,1,1,1,1,1,1,1,1,1,
1091
+ 0,0,0,0,0],U=[0,1,2,3,4,5,6,7,8,9,10,11],D=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],it=[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,
1092
+ 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,
1093
+ 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,
1094
+ 230,231,232,233,234,242,243,244,245,246,247,248,249,250];function pt(_,O){for(var q=0,G=0,K=new Array,Z=1;Z<=16;Z++){for(var st=1;st<=_[Z];st++)K[O[G]]=[],K[O[G]][0]=q,K[O[G]][1]=Z,G++,q++;q*=2}return K}
1095
+ function ut(_){for(var O=_[0],q=_[1]-1;q>=0;)O&1<<q&&(y|=1<<H),q--,--H<0&&(y==255?(rt(255),rt(0)):rt(y),H=7,y=0)}function rt(_){F.push(_)}function ft(_){rt(_>>8&255),rt(255&_)}function gt(_,O,q,G,K){for(var Z,
1096
+ st=K[0],ot=K[240],mt=function(bt,zt){var Pt,Tt,Rt,ce,he,Kt,fe,ue,qt,ie,jt=0;for(qt=0;qt<8;++qt){Pt=bt[jt],Tt=bt[jt+1],Rt=bt[jt+2],ce=bt[jt+3],he=bt[jt+4],Kt=bt[jt+5],fe=bt[jt+6];var We=Pt+(ue=bt[jt+7]),
1097
+ me=Pt-ue,se=Tt+fe,oe=Tt-fe,Me=Rt+Kt,Ht=Rt-Kt,Se=ce+he,Xt=ce-he,Zt=We+Se,qe=We-Se,le=se+Me,Vt=se-Me;bt[jt]=Zt+le,bt[jt+4]=Zt-le;var be=.707106781*(Vt+qe);bt[jt+2]=qe+be,bt[jt+6]=qe-be;var $r=.382683433*
1098
+ ((Zt=Xt+Ht)-(Vt=oe+me)),li=.5411961*Zt+$r,gr=1.306562965*Vt+$r,er=.707106781*(le=Ht+oe),Gt=me+er,mr=me-er;bt[jt+5]=mr+li,bt[jt+3]=mr-li,bt[jt+1]=Gt+gr,bt[jt+7]=Gt-gr,jt+=8}for(jt=0,qt=0;qt<8;++qt){Pt=
1099
+ bt[jt],Tt=bt[jt+8],Rt=bt[jt+16],ce=bt[jt+24],he=bt[jt+32],Kt=bt[jt+40],fe=bt[jt+48];var vr=Pt+(ue=bt[jt+56]),qi=Pt-ue,Ri=Tt+fe,Te=Tt-fe,ni=Rt+Kt,ai=Rt-Kt,Zr=ce+he,Er=ce-he,Gi=vr+Zr,ir=vr-Zr,Vi=Ri+ni,Xi=Ri-
1100
+ ni;bt[jt]=Gi+Vi,bt[jt+32]=Gi-Vi;var Bi=.707106781*(Xi+ir);bt[jt+16]=ir+Bi,bt[jt+48]=ir-Bi;var Qr=.382683433*((Gi=Er+ai)-(Xi=Te+qi)),rr=.5411961*Gi+Qr,tn=1.306562965*Xi+Qr,In=.707106781*(Vi=ai+Te),Fn=qi+
1101
+ In,En=qi-In;bt[jt+40]=En+rr,bt[jt+24]=En-rr,bt[jt+8]=Fn+tn,bt[jt+56]=Fn-tn,jt++}for(qt=0;qt<64;++qt)ie=bt[qt]*zt[qt],f[qt]=ie>0?ie+.5|0:ie-.5|0;return f}(_,O),At=0;At<64;++At)T[_t[At]]=mt[At];var St=T[0]-
1102
+ q;q=T[0],St==0?ut(G[0]):(ut(G[k[Z=32767+St]]),ut(S[Z]));for(var kt=63;kt>0&&T[kt]==0;)kt--;if(kt==0)return ut(st),q;for(var Wt,P=1;P<=kt;){for(var xt=P;T[P]==0&&P<=kt;)++P;var ee=P-xt;if(ee>=16){Wt=ee>>
1103
+ 4;for(var Ut=1;Ut<=Wt;++Ut)ut(ot);ee&=15}Z=32767+T[P],ut(K[(ee<<4)+k[Z]]),ut(S[Z]),P++}return kt!=63&&ut(st),q}function wt(_){_=Math.min(Math.max(_,1),100),s!=_&&(function(O){for(var q=[16,11,10,16,24,
1104
+ 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],G=0;G<64;G++){
1105
+ var K=l((q[G]*O+50)/100);K=Math.min(Math.max(K,1),255),u[_t[G]]=K}for(var Z=[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,
1106
+ 99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],st=0;st<64;st++){var ot=l((Z[st]*O+50)/100);ot=Math.min(Math.max(ot,1),255),g[_t[st]]=ot}for(var mt=[1,1.387039845,1.306562965,1.175875602,
1107
+ 1,.785694958,.5411961,.275899379],At=0,St=0;St<8;St++)for(var kt=0;kt<8;kt++)d[At]=1/(u[_t[At]]*mt[St]*mt[kt]*8),m[At]=1/(g[_t[At]]*mt[St]*mt[kt]*8),At++}(_<50?Math.floor(5e3/_):Math.floor(200-2*_)),s=
1108
+ _)}this.encode=function(_,O){O&&wt(O),F=new Array,y=0,H=7,ft(65496),ft(65504),ft(16),rt(74),rt(70),rt(73),rt(70),rt(0),rt(1),rt(1),rt(0),ft(1),ft(1),rt(0),rt(0),function(){ft(65499),ft(132),rt(0);for(var Tt=0;Tt<
1109
+ 64;Tt++)rt(u[Tt]);rt(1);for(var Rt=0;Rt<64;Rt++)rt(g[Rt])}(),function(Tt,Rt){ft(65472),ft(17),rt(8),ft(Rt),ft(Tt),rt(3),rt(1),rt(17),rt(0),rt(2),rt(17),rt(1),rt(3),rt(17),rt(1)}(_.width,_.height),function(){
1110
+ ft(65476),ft(418),rt(0);for(var Tt=0;Tt<16;Tt++)rt(V[Tt+1]);for(var Rt=0;Rt<=11;Rt++)rt(B[Rt]);rt(16);for(var ce=0;ce<16;ce++)rt(et[ce+1]);for(var he=0;he<=161;he++)rt(A[he]);rt(1);for(var Kt=0;Kt<16;Kt++)
1111
+ rt(R[Kt+1]);for(var fe=0;fe<=11;fe++)rt(U[fe]);rt(17);for(var ue=0;ue<16;ue++)rt(D[ue+1]);for(var qt=0;qt<=161;qt++)rt(it[qt])}(),ft(65498),ft(12),rt(3),rt(1),rt(0),rt(2),rt(17),rt(3),rt(17),rt(0),rt(
1112
+ 63),rt(0);var q=0,G=0,K=0;y=0,H=7,this.encode.displayName="_encode_";for(var Z,st,ot,mt,At,St,kt,Wt,P,xt=_.data,ee=_.width,Ut=_.height,bt=4*ee,zt=0;zt<Ut;){for(Z=0;Z<bt;){for(At=bt*zt+Z,kt=-1,Wt=0,P=0;P<
1113
+ 64;P++)St=At+(Wt=P>>3)*bt+(kt=4*(7&P)),zt+Wt>=Ut&&(St-=bt*(zt+1+Wt-Ut)),Z+kt>=bt&&(St-=Z+kt-bt+4),st=xt[St++],ot=xt[St++],mt=xt[St++],z[P]=(nt[st]+nt[ot+256|0]+nt[mt+512|0]>>16)-128,M[P]=(nt[st+768|0]+
1114
+ nt[ot+1024|0]+nt[mt+1280|0]>>16)-128,Y[P]=(nt[st+1280|0]+nt[ot+1536|0]+nt[mt+1792|0]>>16)-128;q=gt(z,d,q,e,n),G=gt(M,m,G,t,a),K=gt(Y,m,K,t,a),Z+=32}zt+=8}if(H>=0){var Pt=[];Pt[1]=H+1,Pt[0]=(1<<H+1)-1,
1115
+ ut(Pt)}return ft(65497),new Uint8Array(F)},i=i||50,function(){for(var _=String.fromCharCode,O=0;O<256;O++)at[O]=_(O)}(),e=pt(V,B),t=pt(R,U),n=pt(et,A),a=pt(D,it),function(){for(var _=1,O=2,q=1;q<=15;q++){
1116
+ for(var G=_;G<O;G++)k[32767+G]=q,S[32767+G]=[],S[32767+G][1]=q,S[32767+G][0]=G;for(var K=-(O-1);K<=-_;K++)k[32767+K]=q,S[32767+K]=[],S[32767+K][1]=q,S[32767+K][0]=O-1+K;_<<=1,O<<=1}}(),function(){for(var _=0;_<
1117
+ 256;_++)nt[_]=19595*_,nt[_+256|0]=38470*_,nt[_+512|0]=7471*_+32768,nt[_+768|0]=-11059*_,nt[_+1024|0]=-21709*_,nt[_+1280|0]=32768*_+8421375,nt[_+1536|0]=-27439*_,nt[_+1792|0]=-5329*_}(),wt(i)}function Qi(i,e){
1118
+ if(this.pos=0,this.buffer=i,this.datav=new DataView(i.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,["B\
1119
+ M","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Kh(i){function e(B){if(!B)throw Error("assert :P")}function t(B,et,A){
1120
+ for(var R=0;4>R;R++)if(B[et+R]!=A.charCodeAt(R))return!0;return!1}function n(B,et,A,R,U){for(var D=0;D<U;D++)B[et+D]=A[R+D]}function a(B,et,A,R){for(var U=0;U<R;U++)B[et+U]=A}function s(B){return new Int32Array(
1121
+ B)}function l(B,et){for(var A=[],R=0;R<B;R++)A.push(new et);return A}function u(B,et){var A=[];return function R(U,D,it){for(var pt=it[D],ut=0;ut<pt&&(U.push(it.length>D+1?[]:new et),!(it.length<D+1));ut++)
1122
+ R(U[ut],D+1,it)}(A,0,B),A}var g=function(){var B=this;function et(r,o){for(var h=1<<o-1>>>0;r&h;)h>>>=1;return h?(r&h-1)+h:r}function A(r,o,h,p,b){e(!(p%h));do r[o+(p-=h)]=b;while(0<p)}function R(r,o,h,p,b){
1123
+ if(e(2328>=b),512>=b)var w=s(512);else if((w=s(b))==null)return 0;return function(L,x,N,E,W,tt){var C,X,$=x,ht=1<<N,Q=s(16),lt=s(16);for(e(W!=0),e(E!=null),e(L!=null),e(0<N),X=0;X<W;++X){if(15<E[X])return 0;
1124
+ ++Q[E[X]]}if(Q[0]==W)return 0;for(lt[1]=0,C=1;15>C;++C){if(Q[C]>1<<C)return 0;lt[C+1]=lt[C]+Q[C]}for(X=0;X<W;++X)C=E[X],0<E[X]&&(tt[lt[C]++]=X);if(lt[15]==1)return(E=new U).g=0,E.value=tt[0],A(L,$,1,ht,
1125
+ E),ht;var dt,Lt=-1,vt=ht-1,Bt=0,It=1,re=1,Ot=1<<N;for(X=0,C=1,W=2;C<=N;++C,W<<=1){if(It+=re<<=1,0>(re-=Q[C]))return 0;for(;0<Q[C];--Q[C])(E=new U).g=C,E.value=tt[X++],A(L,$+Bt,W,Ot,E),Bt=et(Bt,C)}for(C=
1126
+ N+1,W=2;15>=C;++C,W<<=1){if(It+=re<<=1,0>(re-=Q[C]))return 0;for(;0<Q[C];--Q[C]){if(E=new U,(Bt&vt)!=Lt){for($+=Ot,dt=1<<(Lt=C)-N;15>Lt&&!(0>=(dt-=Q[Lt]));)++Lt,dt<<=1;ht+=Ot=1<<(dt=Lt-N),L[x+(Lt=Bt&vt)].
1127
+ g=dt+N,L[x+Lt].value=$-x-Lt}E.g=C-N,E.value=tt[X++],A(L,$+(Bt>>N),W,Ot,E),Bt=et(Bt,C)}}return It!=2*lt[15]-1?0:ht}(r,o,h,p,b,w)}function U(){this.value=this.g=0}function D(){this.value=this.g=0}function it(){
1128
+ this.G=l(5,U),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=l(Hn,D)}function pt(r,o,h,p){e(r!=null),e(o!=null),e(2147483648>p),r.Ca=254,r.I=0,r.b=-8,r.Ka=0,r.oa=o,r.pa=h,r.Jd=o,r.Yc=h+p,r.Zc=4<=
1129
+ p?h+p-4+1:h,st(r)}function ut(r,o){for(var h=0;0<o--;)h|=mt(r,128)<<o;return h}function rt(r,o){var h=ut(r,o);return ot(r)?-h:h}function ft(r,o,h,p){var b,w=0;for(e(r!=null),e(o!=null),e(4294967288>p),
1130
+ r.Sb=p,r.Ra=0,r.u=0,r.h=0,4<p&&(p=4),b=0;b<p;++b)w+=o[h+b]<<8*b;r.Ra=w,r.bb=p,r.oa=o,r.pa=h}function gt(r){for(;8<=r.u&&r.bb<r.Sb;)r.Ra>>>=8,r.Ra+=r.oa[r.pa+r.bb]<<yi-8>>>0,++r.bb,r.u-=8;G(r)&&(r.h=1,
1131
+ r.u=0)}function wt(r,o){if(e(0<=o),!r.h&&o<=ga){var h=q(r)&un[o];return r.u+=o,gt(r),h}return r.h=1,r.u=0}function _(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.
1132
+ Ka=0}function O(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function q(r){return r.Ra>>>(r.u&yi-1)>>>0}function G(r){return e(r.bb<=r.Sb),r.h||r.bb==r.Sb&&r.u>yi}function K(r,o){r.u=
1133
+ o,r.h=G(r)}function Z(r){r.u>=xi&&(e(r.u>=xi),gt(r))}function st(r){e(r!=null&&r.oa!=null),r.pa<r.Zc?(r.I=(r.oa[r.pa++]|r.I<<8)>>>0,r.b+=8):(e(r!=null&&r.oa!=null),r.pa<r.Yc?(r.b+=8,r.I=r.oa[r.pa++]|r.
1134
+ I<<8):r.Ka?r.b=0:(r.I<<=8,r.b+=8,r.Ka=1))}function ot(r){return ut(r,1)}function mt(r,o){var h=r.Ca;0>r.b&&st(r);var p=r.b,b=h*o>>>8,w=(r.I>>>p>b)+0;for(w?(h-=b,r.I-=b+1<<p>>>0):h=b+1,p=h,b=0;256<=p;)
1135
+ b+=8,p>>=8;return p=7^b+Gn[p],r.b-=p,r.Ca=(h<<p)-1,w}function At(r,o,h){r[o+0]=h>>24&255,r[o+1]=h>>16&255,r[o+2]=h>>8&255,r[o+3]=255&h}function St(r,o){return r[o+0]|r[o+1]<<8}function kt(r,o){return St(
1136
+ r,o)|r[o+2]<<16}function Wt(r,o){return St(r,o)|St(r,o+2)<<16}function P(r,o){var h=1<<o;return e(r!=null),e(0<o),r.X=s(h),r.X==null?0:(r.Mb=32-o,r.Xa=o,1)}function xt(r,o){e(r!=null),e(o!=null),e(r.Xa==
1137
+ o.Xa),n(o.X,0,r.X,0,1<<o.Xa)}function ee(){this.X=[],this.Xa=this.Mb=0}function Ut(r,o,h,p){e(h!=null),e(p!=null);var b=h[0],w=p[0];return b==0&&(b=(r*w+o/2)/o),w==0&&(w=(o*b+r/2)/r),0>=b||0>=w?0:(h[0]=
1138
+ b,p[0]=w,1)}function bt(r,o){return r+(1<<o)-1>>>o}function zt(r,o){return((4278255360&r)+(4278255360&o)>>>0&4278255360)+((16711935&r)+(16711935&o)>>>0&16711935)>>>0}function Pt(r,o){B[o]=function(h,p,b,w,L,x,N){
1139
+ var E;for(E=0;E<L;++E){var W=B[r](x[N+E-1],b,w+E);x[N+E]=zt(h[p+E],W)}}}function Tt(){this.ud=this.hd=this.jd=0}function Rt(r,o){return((4278124286&(r^o))>>>1)+(r&o)>>>0}function ce(r){return 0<=r&&256>
1140
+ r?r:0>r?0:255<r?255:void 0}function he(r,o){return ce(r+(r-o+.5>>1))}function Kt(r,o,h){return Math.abs(o-h)-Math.abs(r-h)}function fe(r,o,h,p,b,w,L){for(p=w[L-1],h=0;h<b;++h)w[L+h]=p=zt(r[o+h],p)}function ue(r,o,h,p,b){
1141
+ var w;for(w=0;w<h;++w){var L=r[o+w],x=L>>8&255,N=16711935&(N=(N=16711935&L)+((x<<16)+x));p[b+w]=(4278255360&L)+N>>>0}}function qt(r,o){o.jd=255&r,o.hd=r>>8&255,o.ud=r>>16&255}function ie(r,o,h,p,b,w){
1142
+ var L;for(L=0;L<p;++L){var x=o[h+L],N=x>>>8,E=x,W=255&(W=(W=x>>>16)+((r.jd<<24>>24)*(N<<24>>24)>>>5));E=255&(E=(E+=(r.hd<<24>>24)*(N<<24>>24)>>>5)+((r.ud<<24>>24)*(W<<24>>24)>>>5)),b[w+L]=(4278255360&
1143
+ x)+(W<<16)+E}}function jt(r,o,h,p,b){B[o]=function(w,L,x,N,E,W,tt,C,X){for(N=tt;N<C;++N)for(tt=0;tt<X;++tt)E[W++]=b(x[p(w[L++])])},B[r]=function(w,L,x,N,E,W,tt){var C=8>>w.b,X=w.Ea,$=w.K[0],ht=w.w;if(8>
1144
+ C)for(w=(1<<w.b)-1,ht=(1<<C)-1;L<x;++L){var Q,lt=0;for(Q=0;Q<X;++Q)Q&w||(lt=p(N[E++])),W[tt++]=b($[lt&ht]),lt>>=C}else B["VP8LMapColor"+h](N,E,$,ht,W,tt,L,x,X)}}function We(r,o,h,p,b){for(h=o+h;o<h;){
1145
+ var w=r[o++];p[b++]=w>>16&255,p[b++]=w>>8&255,p[b++]=255&w}}function me(r,o,h,p,b){for(h=o+h;o<h;){var w=r[o++];p[b++]=w>>16&255,p[b++]=w>>8&255,p[b++]=255&w,p[b++]=w>>24&255}}function se(r,o,h,p,b){for(h=
1146
+ o+h;o<h;){var w=(L=r[o++])>>16&240|L>>12&15,L=240&L|L>>28&15;p[b++]=w,p[b++]=L}}function oe(r,o,h,p,b){for(h=o+h;o<h;){var w=(L=r[o++])>>16&248|L>>13&7,L=L>>5&224|L>>3&31;p[b++]=w,p[b++]=L}}function Me(r,o,h,p,b){
1147
+ for(h=o+h;o<h;){var w=r[o++];p[b++]=255&w,p[b++]=w>>8&255,p[b++]=w>>16&255}}function Ht(r,o,h,p,b,w){if(w==0)for(h=o+h;o<h;)At(p,((w=r[o++])[0]>>24|w[1]>>8&65280|w[2]<<8&16711680|w[3]<<24)>>>0),b+=32;else
1148
+ n(p,b,r,o,h)}function Se(r,o){B[o][0]=B[r+"0"],B[o][1]=B[r+"1"],B[o][2]=B[r+"2"],B[o][3]=B[r+"3"],B[o][4]=B[r+"4"],B[o][5]=B[r+"5"],B[o][6]=B[r+"6"],B[o][7]=B[r+"7"],B[o][8]=B[r+"8"],B[o][9]=B[r+"9"],
1149
+ B[o][10]=B[r+"10"],B[o][11]=B[r+"11"],B[o][12]=B[r+"12"],B[o][13]=B[r+"13"],B[o][14]=B[r+"0"],B[o][15]=B[r+"0"]}function Xt(r){return r==Zs||r==Qs||r==as||r==to}function Zt(){this.eb=[],this.size=this.
1150
+ A=this.fb=0}function qe(){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 le(){this.Rd=this.height=this.
1151
+ width=this.S=0,this.f={},this.f.RGBA=new Zt,this.f.kb=new qe,this.sd=null}function Vt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function be(){this.Id=this.fd=this.Md=this.
1152
+ hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function $r(r){return alert("todo:WebPSamplerProcessPlane"),r.T}function li(r,o){var h=r.T,p=o.ba.f.RGBA,b=p.eb,w=p.fb+r.ka*p.
1153
+ A,L=Ui[o.ba.S],x=r.y,N=r.O,E=r.f,W=r.N,tt=r.ea,C=r.W,X=o.cc,$=o.dc,ht=o.Mc,Q=o.Nc,lt=r.ka,dt=r.ka+r.T,Lt=r.U,vt=Lt+1>>1;for(lt==0?L(x,N,null,null,E,W,tt,C,E,W,tt,C,b,w,null,null,Lt):(L(o.ec,o.fc,x,N,X,
1154
+ $,ht,Q,E,W,tt,C,b,w-p.A,b,w,Lt),++h);lt+2<dt;lt+=2)X=E,$=W,ht=tt,Q=C,W+=r.Rc,C+=r.Rc,w+=2*p.A,L(x,(N+=2*r.fa)-r.fa,x,N,X,$,ht,Q,E,W,tt,C,b,w-p.A,b,w,Lt);return N+=r.fa,r.j+dt<r.o?(n(o.ec,o.fc,x,N,Lt),
1155
+ n(o.cc,o.dc,E,W,vt),n(o.Mc,o.Nc,tt,C,vt),h--):1&dt||L(x,N,null,null,E,W,tt,C,E,W,tt,C,b,w+p.A,null,null,Lt),h}function gr(r,o,h){var p=r.F,b=[r.J];if(p!=null){var w=r.U,L=o.ba.S,x=L==ns||L==as;o=o.ba.
1156
+ f.RGBA;var N=[0],E=r.ka;N[0]=r.T,r.Kb&&(E==0?--N[0]:(--E,b[0]-=r.width),r.j+r.ka+r.T==r.o&&(N[0]=r.o-r.j-E));var W=o.eb;E=o.fb+E*o.A,r=Xo(p,b[0],r.width,w,N,W,E+(x?0:3),o.A),e(h==N),r&&Xt(L)&&wa(W,E,x,
1157
+ w,N,o.A)}return 0}function er(r){var o=r.ma,h=o.ba.S,p=11>h,b=h==is||h==rs||h==ns||h==$s||h==12||Xt(h);if(o.memory=null,o.Ib=null,o.Jb=null,o.Nd=null,!Ti(o.Oa,r,b?11:12))return 0;if(b&&Xt(h)&&Ar(),r.da)
1158
+ alert("todo:use_scaling");else{if(p){if(o.Ib=$r,r.Kb){if(h=r.U+1>>1,o.memory=s(r.U+2*h),o.memory==null)return 0;o.ec=o.memory,o.fc=0,o.cc=o.ec,o.dc=o.fc+r.U,o.Mc=o.cc,o.Nc=o.dc+h,o.Ib=li,Ar()}}else alert(
1159
+ "todo:EmitYUV");b&&(o.Jb=gr,p&&je())}if(p&&!hc){for(r=0;256>r;++r)m1[r]=89858*(r-128)+os>>ss,w1[r]=-22014*(r-128)+os,b1[r]=-45773*(r-128),v1[r]=113618*(r-128)+os>>ss;for(r=La;r<ro;++r)o=76283*(r-16)+os>>
1160
+ ss,y1[r-La]=nr(o,255),L1[r-La]=nr(o+8>>4,15);hc=1}return 1}function Gt(r){var o=r.ma,h=r.U,p=r.T;return e(!(1&r.ka)),0>=h||0>=p?0:(h=o.Ib(r,o),o.Jb!=null&&o.Jb(r,o,h),o.Dc+=h,1)}function mr(r){r.ma.memory=
1161
+ null}function vr(r,o,h,p){return wt(r,8)!=47?0:(o[0]=wt(r,14)+1,h[0]=wt(r,14)+1,p[0]=wt(r,1),wt(r,3)!=0?0:!r.h)}function qi(r,o){if(4>r)return r+1;var h=r-2>>1;return(2+(1&r)<<h)+wt(o,h)+1}function Ri(r,o){
1162
+ return 120<o?o-120:1<=(h=((h=i1[o-1])>>4)*r+(8-(15&h)))?h:1;var h}function Te(r,o,h){var p=q(h),b=r[o+=255&p].g-8;return 0<b&&(K(h,h.u+8),p=q(h),o+=r[o].value,o+=p&(1<<b)-1),K(h,h.u+r[o].g),r[o].value}
1163
+ function ni(r,o,h){return h.g+=r.g,h.value+=r.value<<o>>>0,e(8>=h.g),r.g}function ai(r,o,h){var p=r.xc;return e((o=p==0?0:r.vc[r.md*(h>>p)+(o>>p)])<r.Wb),r.Ya[o]}function Zr(r,o,h,p){var b=r.ab,w=r.c*
1164
+ o,L=r.C;o=L+o;var x=h,N=p;for(p=r.Ta,h=r.Ua;0<b--;){var E=r.gc[b],W=L,tt=o,C=x,X=N,$=(N=p,x=h,E.Ea);switch(e(W<tt),e(tt<=E.nc),E.hc){case 2:Vn(C,X,(tt-W)*$,N,x);break;case 0:var ht=W,Q=tt,lt=N,dt=x,Lt=(Ot=
1165
+ E).Ea;ht==0&&(Rr(C,X,null,null,1,lt,dt),fe(C,X+1,0,0,Lt-1,lt,dt+1),X+=Lt,dt+=Lt,++ht);for(var vt=1<<Ot.b,Bt=vt-1,It=bt(Lt,Ot.b),re=Ot.K,Ot=Ot.w+(ht>>Ot.b)*It;ht<Q;){var de=re,ti=Ot,ne=1;for(Br(C,X,lt,
1166
+ dt-Lt,1,lt,dt);ne<Lt;){var Mt=(ne&~Bt)+vt;Mt>Lt&&(Mt=Lt),(0,Ki[de[ti++]>>8&15])(C,X+ +ne,lt,dt+ne-Lt,Mt-ne,lt,dt+ne),ne=Mt}X+=Lt,dt+=Lt,++ht&Bt||(Ot+=It)}tt!=E.nc&&n(N,x-$,N,x+(tt-W-1)*$,$);break;case 1:
1167
+ for($=C,Q=X,Lt=(C=E.Ea)-(dt=C&~(lt=(X=1<<E.b)-1)),ht=bt(C,E.b),vt=E.K,E=E.w+(W>>E.b)*ht;W<tt;){for(Bt=vt,It=E,re=new Tt,Ot=Q+dt,de=Q+C;Q<Ot;)qt(Bt[It++],re),dn(re,$,Q,X,N,x),Q+=X,x+=X;Q<de&&(qt(Bt[It++],
1168
+ re),dn(re,$,Q,Lt,N,x),Q+=Lt,x+=Lt),++W&lt||(E+=ht)}break;case 3:if(C==N&&X==x&&0<E.b){for(Q=N,C=$=x+(tt-W)*$-(dt=(tt-W)*bt(E.Ea,E.b)),X=N,lt=x,ht=[],dt=(Lt=dt)-1;0<=dt;--dt)ht[dt]=X[lt+dt];for(dt=Lt-1;0<=
1169
+ dt;--dt)Q[C+dt]=ht[dt];fn(E,W,tt,N,$,N,x)}else fn(E,W,tt,C,X,N,x)}x=p,N=h}N!=h&&n(p,h,x,N,w)}function Er(r,o){var h=r.V,p=r.Ba+r.c*r.C,b=o-r.C;if(e(o<=r.l.o),e(16>=b),0<b){var w=r.l,L=r.Ta,x=r.Ua,N=w.
1170
+ width;if(Zr(r,b,h,p),b=x=[x],e((h=r.C)<(p=o)),e(w.v<w.va),p>w.o&&(p=w.o),h<w.j){var E=w.j-h;h=w.j,b[0]+=E*N}if(h>=p?h=0:(b[0]+=4*w.v,w.ka=h-w.j,w.U=w.va-w.v,w.T=p-h,h=1),h){if(x=x[0],11>(h=r.ca).S){var W=h.
1171
+ f.RGBA,tt=(p=h.S,b=w.U,w=w.T,E=W.eb,W.A),C=w;for(W=W.fb+r.Ma*W.A;0<C--;){var X=L,$=x,ht=b,Q=E,lt=W;switch(p){case es:ma(X,$,ht,Q,lt);break;case is:va(X,$,ht,Q,lt);break;case Zs:va(X,$,ht,Q,lt),wa(Q,lt,
1172
+ 0,ht,1,0);break;case tc:gn(X,$,ht,Q,lt);break;case rs:Ht(X,$,ht,Q,lt,1);break;case Qs:Ht(X,$,ht,Q,lt,1),wa(Q,lt,0,ht,1,0);break;case ns:Ht(X,$,ht,Q,lt,0);break;case as:Ht(X,$,ht,Q,lt,0),wa(Q,lt,1,ht,1,
1173
+ 0);break;case $s:Xn(X,$,ht,Q,lt);break;case to:Xn(X,$,ht,Q,lt),Vo(Q,lt,ht,1,0);break;case ec:pn(X,$,ht,Q,lt);break;default:e(0)}x+=N,W+=tt}r.Ma+=w}else alert("todo:EmitRescaledRowsYUVA");e(r.Ma<=h.height)}}
1174
+ r.C=o,e(r.C<=r.i)}function Gi(r){var o;if(0<r.ua)return 0;for(o=0;o<r.Wb;++o){var h=r.Ya[o].G,p=r.Ya[o].H;if(0<h[1][p[1]+0].g||0<h[2][p[2]+0].g||0<h[3][p[3]+0].g)return 0}return 1}function ir(r,o,h,p,b,w){
1175
+ if(r.Z!=0){var L=r.qd,x=r.rd;for(e(Ur[r.Z]!=null);o<h;++o)Ur[r.Z](L,x,p,b,p,b,w),L=p,x=b,b+=w;r.qd=L,r.rd=x}}function Vi(r,o){var h=r.l.ma,p=h.Z==0||h.Z==1?r.l.j:r.C;if(p=r.C<p?p:r.C,e(o<=r.l.o),o>p){
1176
+ var b=r.l.width,w=h.ca,L=h.tb+b*p,x=r.V,N=r.Ba+r.c*p,E=r.gc;e(r.ab==1),e(E[0].hc==3),Js(E[0],p,o,x,N,w,L),ir(h,p,o,w,L,b)}r.C=r.Ma=o}function Xi(r,o,h,p,b,w,L){var x=r.$/p,N=r.$%p,E=r.m,W=r.s,tt=h+r.$,
1177
+ C=tt;b=h+p*b;var X=h+p*w,$=280+W.ua,ht=r.Pb?x:16777216,Q=0<W.ua?W.Wa:null,lt=W.wc,dt=tt<X?ai(W,N,x):null;e(r.C<w),e(X<=b);var Lt=!1;t:for(;;){for(;Lt||tt<X;){var vt=0;if(x>=ht){var Bt=tt-h;e((ht=r).Pb),
1178
+ ht.wd=ht.m,ht.xd=Bt,0<ht.s.ua&&xt(ht.s.Wa,ht.s.vb),ht=x+n1}if(N&lt||(dt=ai(W,N,x)),e(dt!=null),dt.Qb&&(o[tt]=dt.qb,Lt=!0),!Lt)if(Z(E),dt.jc){vt=E,Bt=o;var It=tt,re=dt.pd[q(vt)&Hn-1];e(dt.jc),256>re.g?
1179
+ (K(vt,vt.u+re.g),Bt[It]=re.value,vt=0):(K(vt,vt.u+re.g-256),e(256<=re.value),vt=re.value),vt==0&&(Lt=!0)}else vt=Te(dt.G[0],dt.H[0],E);if(E.h)break;if(Lt||256>vt){if(!Lt)if(dt.nd)o[tt]=(dt.qb|vt<<8)>>>
1180
+ 0;else{if(Z(E),Lt=Te(dt.G[1],dt.H[1],E),Z(E),Bt=Te(dt.G[2],dt.H[2],E),It=Te(dt.G[3],dt.H[3],E),E.h)break;o[tt]=(It<<24|Lt<<16|vt<<8|Bt)>>>0}if(Lt=!1,++tt,++N>=p&&(N=0,++x,L!=null&&x<=w&&!(x%16)&&L(r,x),
1181
+ Q!=null))for(;C<tt;)vt=o[C++],Q.X[(506832829*vt&4294967295)>>>Q.Mb]=vt}else if(280>vt){if(vt=qi(vt-256,E),Bt=Te(dt.G[4],dt.H[4],E),Z(E),Bt=Ri(p,Bt=qi(Bt,E)),E.h)break;if(tt-h<Bt||b-tt<vt)break t;for(It=
1182
+ 0;It<vt;++It)o[tt+It]=o[tt+It-Bt];for(tt+=vt,N+=vt;N>=p;)N-=p,++x,L!=null&&x<=w&&!(x%16)&&L(r,x);if(e(tt<=b),N&lt&&(dt=ai(W,N,x)),Q!=null)for(;C<tt;)vt=o[C++],Q.X[(506832829*vt&4294967295)>>>Q.Mb]=vt}else{
1183
+ if(!(vt<$))break t;for(Lt=vt-280,e(Q!=null);C<tt;)vt=o[C++],Q.X[(506832829*vt&4294967295)>>>Q.Mb]=vt;vt=tt,e(!(Lt>>>(Bt=Q).Xa)),o[vt]=Bt.X[Lt],Lt=!0}Lt||e(E.h==G(E))}if(r.Pb&&E.h&&tt<b)e(r.m.h),r.a=5,
1184
+ r.m=r.wd,r.$=r.xd,0<r.s.ua&&xt(r.s.vb,r.s.Wa);else{if(E.h)break t;L?.(r,x>w?w:x),r.a=0,r.$=tt-h}return 1}return r.a=3,0}function Bi(r){e(r!=null),r.vc=null,r.yc=null,r.Ya=null;var o=r.Wa;o!=null&&(o.X=
1185
+ null),r.vb=null,e(r!=null)}function Qr(){var r=new Ct;return r==null?null:(r.a=0,r.xb=nc,Se("Predictor","VP8LPredictors"),Se("Predictor","VP8LPredictors_C"),Se("PredictorAdd","VP8LPredictorsAdd"),Se("\
1186
+ PredictorAdd","VP8LPredictorsAdd_C"),Vn=ue,dn=ie,ma=We,va=me,Xn=se,pn=oe,gn=Me,B.VP8LMapColor32b=Ze,B.VP8LMapColor8b=hr,r)}function rr(r,o,h,p,b){var w=1,L=[r],x=[o],N=p.m,E=p.s,W=null,tt=0;t:for(;;){
1187
+ if(h)for(;w&&wt(N,1);){var C=L,X=x,$=p,ht=1,Q=$.m,lt=$.gc[$.ab],dt=wt(Q,2);if($.Oc&1<<dt)w=0;else{switch($.Oc|=1<<dt,lt.hc=dt,lt.Ea=C[0],lt.nc=X[0],lt.K=[null],++$.ab,e(4>=$.ab),dt){case 0:case 1:lt.b=
1188
+ wt(Q,3)+2,ht=rr(bt(lt.Ea,lt.b),bt(lt.nc,lt.b),0,$,lt.K),lt.K=lt.K[0];break;case 3:var Lt,vt=wt(Q,8)+1,Bt=16<vt?0:4<vt?1:2<vt?2:3;if(C[0]=bt(lt.Ea,Bt),lt.b=Bt,Lt=ht=rr(vt,1,0,$,lt.K)){var It,re=vt,Ot=lt,
1189
+ de=1<<(8>>Ot.b),ti=s(de);if(ti==null)Lt=0;else{var ne=Ot.K[0],Mt=Ot.w;for(ti[0]=Ot.K[0][0],It=1;It<1*re;++It)ti[It]=zt(ne[Mt+It],ti[It-1]);for(;It<4*de;++It)ti[It]=0;Ot.K[0]=null,Ot.K[0]=ti,Lt=1}}ht=Lt;
1190
+ break;case 2:break;default:e(0)}w=ht}}if(L=L[0],x=x[0],w&&wt(N,1)&&!(w=1<=(tt=wt(N,4))&&11>=tt)){p.a=3;break t}var Nt;if(Nt=w)e:{var Ge,te,ge,Ee=p,oi=L,Li=x,De=tt,di=h,_i=Ee.m,ei=Ee.s,ve=[null],we=1,Ue=0,
1191
+ ye=r1[De];i:for(;;){if(di&&wt(_i,1)){var ci=wt(_i,3)+2,Yi=bt(oi,ci),Ve=bt(Li,ci),Ni=Yi*Ve;if(!rr(Yi,Ve,0,Ee,ve))break i;for(ve=ve[0],ei.xc=ci,Ge=0;Ge<Ni;++Ge){var xe=ve[Ge]>>8&65535;ve[Ge]=xe,xe>=we&&
1192
+ (we=xe+1)}}if(_i.h)break i;for(te=0;5>te;++te){var ii=ic[te];!te&&0<De&&(ii+=1<<De),Ue<ii&&(Ue=ii)}var Fi=l(we*ye,U),Ai=we,Ei=l(Ai,it);if(Ei==null)var Ci=null;else e(65536>=Ai),Ci=Ei;var Si=s(Ue);if(Ci==
1193
+ null||Si==null||Fi==null){Ee.a=1;break i}var Oi=Fi;for(Ge=ge=0;Ge<we;++Ge){var Ie=Ci[Ge],Mi=Ie.G,$i=Ie.H,mn=0,kr=1,hi=0;for(te=0;5>te;++te){ii=ic[te],Mi[te]=Oi,$i[te]=ge,!te&&0<De&&(ii+=1<<De);n:{var hs,
1194
+ no=ii,ls=Ee,_a=Si,x1=Oi,N1=ge,ao=0,zr=ls.m,S1=wt(zr,1);if(a(_a,0,0,no),S1){var k1=wt(zr,1)+1,P1=wt(zr,1),fc=wt(zr,P1==0?1:8);_a[fc]=1,k1==2&&(_a[fc=wt(zr,8)]=1);var us=1}else{var dc=s(19),pc=wt(zr,4)+
1195
+ 4;if(19<pc){ls.a=3;var fs=0;break n}for(hs=0;hs<pc;++hs)dc[e1[hs]]=wt(zr,3);var so=void 0,Aa=void 0,gc=ls,I1=dc,ds=no,mc=_a,oo=0,Wr=gc.m,vc=8,bc=l(128,U);r:for(;R(bc,0,7,I1,19);){if(wt(Wr,1)){var F1=2+
1196
+ 2*wt(Wr,3);if((so=2+wt(Wr,F1))>ds)break r}else so=ds;for(Aa=0;Aa<ds&&so--;){Z(Wr);var wc=bc[0+(127&q(Wr))];K(Wr,Wr.u+wc.g);var Yn=wc.value;if(16>Yn)mc[Aa++]=Yn,Yn!=0&&(vc=Yn);else{var E1=Yn==16,yc=Yn-
1197
+ 16,C1=Qh[yc],Lc=wt(Wr,Zh[yc])+C1;if(Aa+Lc>ds)break r;for(var O1=E1?vc:0;0<Lc--;)mc[Aa++]=O1}}oo=1;break r}oo||(gc.a=3),us=oo}(us=us&&!zr.h)&&(ao=R(x1,N1,8,_a,no)),us&&ao!=0?fs=ao:(ls.a=3,fs=0)}if(fs==
1198
+ 0)break i;if(kr&&t1[te]==1&&(kr=Oi[ge].g==0),mn+=Oi[ge].g,ge+=fs,3>=te){var xa,co=Si[0];for(xa=1;xa<ii;++xa)Si[xa]>co&&(co=Si[xa]);hi+=co}}if(Ie.nd=kr,Ie.Qb=0,kr&&(Ie.qb=(Mi[3][$i[3]+0].value<<24|Mi[1][$i[1]+
1199
+ 0].value<<16|Mi[2][$i[2]+0].value)>>>0,mn==0&&256>Mi[0][$i[0]+0].value&&(Ie.Qb=1,Ie.qb+=Mi[0][$i[0]+0].value<<8)),Ie.jc=!Ie.Qb&&6>hi,Ie.jc){var ps,Pr=Ie;for(ps=0;ps<Hn;++ps){var Hr=ps,Gr=Pr.pd[Hr],gs=Pr.
1200
+ G[0][Pr.H[0]+Hr];256<=gs.value?(Gr.g=gs.g+256,Gr.value=gs.value):(Gr.g=0,Gr.value=0,Hr>>=ni(gs,8,Gr),Hr>>=ni(Pr.G[1][Pr.H[1]+Hr],16,Gr),Hr>>=ni(Pr.G[2][Pr.H[2]+Hr],0,Gr),ni(Pr.G[3][Pr.H[3]+Hr],24,Gr))}}}
1201
+ ei.vc=ve,ei.Wb=we,ei.Ya=Ci,ei.yc=Fi,Nt=1;break e}Nt=0}if(!(w=Nt)){p.a=3;break t}if(0<tt){if(E.ua=1<<tt,!P(E.Wa,tt)){p.a=1,w=0;break t}}else E.ua=0;var ho=p,_c=L,M1=x,lo=ho.s,uo=lo.xc;if(ho.c=_c,ho.i=M1,
1202
+ lo.md=bt(_c,uo),lo.wc=uo==0?-1:(1<<uo)-1,h){p.xb=u1;break t}if((W=s(L*x))==null){p.a=1,w=0;break t}w=(w=Xi(p,W,0,L,x,x,null))&&!N.h;break t}return w?(b!=null?b[0]=W:(e(W==null),e(h)),p.$=0,h||Bi(E)):Bi(
1203
+ E),w}function tn(r,o){var h=r.c*r.i,p=h+o+16*o;return e(r.c<=o),r.V=s(p),r.V==null?(r.Ta=null,r.Ua=0,r.a=1,0):(r.Ta=r.V,r.Ua=r.Ba+h+o,1)}function In(r,o){var h=r.C,p=o-h,b=r.V,w=r.Ba+r.c*h;for(e(o<=r.
1204
+ l.o);0<p;){var L=16<p?16:p,x=r.l.ma,N=r.l.width,E=N*L,W=x.ca,tt=x.tb+N*h,C=r.Ta,X=r.Ua;Zr(r,L,b,w),Ko(C,X,W,tt,E),ir(x,h,h+L,W,tt,N),p-=L,b+=L*r.c,h+=L}e(h==o),r.C=r.Ma=o}function Fn(){this.ub=this.yd=
1205
+ this.td=this.Rb=0}function En(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Es(){this.Fb=this.Bb=this.Cb=0,this.Zb=s(4),this.Lb=s(4)}function ia(){this.Yb=function(){var r=[];return function o(h,p,b){
1206
+ for(var w=b[p],L=0;L<w&&(h.push(b.length>p+1?[]:0),!(b.length<p+1));L++)o(h[L],p+1,b)}(r,0,[3,11]),r}()}function Ra(){this.jb=s(3),this.Wc=u([4,8],ia),this.Xc=u([4,17],ia)}function Ba(){this.Pc=this.wb=
1207
+ this.Tb=this.zd=0,this.vd=new s(4),this.od=new s(4)}function ji(){this.ld=this.La=this.dd=this.tc=0}function ra(){this.Na=this.la=0}function ja(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.
1208
+ lc=0}function na(){this.ad=s(384),this.Za=0,this.Ob=s(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ta(){this.uc=this.M=this.Nb=0,this.wa=Array(new ji),this.Y=0,this.ya=Array(new na),
1209
+ this.aa=0,this.l=new Cn}function Da(){this.y=s(16),this.f=s(8),this.ea=s(8)}function Ua(){this.cb=this.a=0,this.sc="",this.m=new _,this.Od=new Fn,this.Kc=new En,this.ed=new Ba,this.Qa=new Es,this.Ic=this.
1210
+ $c=this.Aa=0,this.D=new Ta,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=l(8,_),this.ia=0,this.pb=l(4,ja),this.Pa=new Ra,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.
1211
+ Gd=Array(new Da),this.Hd=0,this.rb=Array(new ra),this.sb=0,this.wa=Array(new ji),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.
1212
+ M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new na),this.L=this.aa=0,this.gd=u([4,2],ji),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.
1213
+ Vc=0}function nr(r,o){return 0>r?0:r>o?o:r}function Cn(){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="V\
1214
+ P8IoPutHook",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 Cs(){
1215
+ var r=new Ua;return r!=null&&(r.a=0,r.sc="OK",r.cb=0,r.Xb=0,ya||(ya=On)),r}function Ye(r,o,h){return r.a==0&&(r.a=o,r.sc=h,r.cb=0),0}function za(r,o,h){return 3<=h&&r[o+0]==157&&r[o+1]==1&&r[o+2]==42}
1216
+ function ar(r,o){if(r==null)return 0;if(r.a=0,r.sc="OK",o==null)return Ye(r,2,"null VP8Io passed to VP8GetHeaders()");var h=o.data,p=o.w,b=o.ha;if(4>b)return Ye(r,7,"Truncated header.");var w=h[p+0]|h[p+
1217
+ 1]<<8|h[p+2]<<16,L=r.Od;if(L.Rb=!(1&w),L.td=w>>1&7,L.yd=w>>4&1,L.ub=w>>5,3<L.td)return Ye(r,3,"Incorrect keyframe parameters.");if(!L.yd)return Ye(r,4,"Frame not displayable.");p+=3,b-=3;var x=r.Kc;if(L.
1218
+ Rb){if(7>b)return Ye(r,7,"cannot parse picture header");if(!za(h,p,b))return Ye(r,3,"Bad code word");x.c=16383&(h[p+4]<<8|h[p+3]),x.Td=h[p+4]>>6,x.i=16383&(h[p+6]<<8|h[p+5]),x.Ud=h[p+6]>>6,p+=7,b-=7,r.
1219
+ za=x.c+15>>4,r.Ub=x.i+15>>4,o.width=x.c,o.height=x.i,o.Da=0,o.j=0,o.v=0,o.va=o.width,o.o=o.height,o.da=0,o.ib=o.width,o.hb=o.height,o.U=o.width,o.T=o.height,a((w=r.Pa).jb,0,255,w.jb.length),e((w=r.Qa)!=
1220
+ null),w.Cb=0,w.Bb=0,w.Fb=1,a(w.Zb,0,0,w.Zb.length),a(w.Lb,0,0,w.Lb)}if(L.ub>b)return Ye(r,7,"bad partition length");pt(w=r.m,h,p,L.ub),p+=L.ub,b-=L.ub,L.Rb&&(x.Ld=ot(w),x.Kd=ot(w)),x=r.Qa;var N,E=r.Pa;
1221
+ if(e(w!=null),e(x!=null),x.Cb=ot(w),x.Cb){if(x.Bb=ot(w),ot(w)){for(x.Fb=ot(w),N=0;4>N;++N)x.Zb[N]=ot(w)?rt(w,7):0;for(N=0;4>N;++N)x.Lb[N]=ot(w)?rt(w,6):0}if(x.Bb)for(N=0;3>N;++N)E.jb[N]=ot(w)?ut(w,8):
1222
+ 255}else x.Bb=0;if(w.Ka)return Ye(r,3,"cannot parse segment header");if((x=r.ed).zd=ot(w),x.Tb=ut(w,6),x.wb=ut(w,3),x.Pc=ot(w),x.Pc&&ot(w)){for(E=0;4>E;++E)ot(w)&&(x.vd[E]=rt(w,6));for(E=0;4>E;++E)ot(
1223
+ w)&&(x.od[E]=rt(w,6))}if(r.L=x.Tb==0?0:x.zd?1:2,w.Ka)return Ye(r,3,"cannot parse filter header");var W=b;if(b=N=p,p=N+W,x=W,r.Xb=(1<<ut(r.m,2))-1,W<3*(E=r.Xb))h=7;else{for(N+=3*E,x-=3*E,W=0;W<E;++W){var tt=h[b+
1224
+ 0]|h[b+1]<<8|h[b+2]<<16;tt>x&&(tt=x),pt(r.Jc[+W],h,N,tt),N+=tt,x-=tt,b+=3}pt(r.Jc[+E],h,N,x),h=N<p?0:5}if(h!=0)return Ye(r,h,"cannot parse partitions");for(h=ut(N=r.m,7),b=ot(N)?rt(N,4):0,p=ot(N)?rt(N,
1225
+ 4):0,x=ot(N)?rt(N,4):0,E=ot(N)?rt(N,4):0,N=ot(N)?rt(N,4):0,W=r.Qa,tt=0;4>tt;++tt){if(W.Cb){var C=W.Zb[tt];W.Fb||(C+=h)}else{if(0<tt){r.pb[tt]=r.pb[0];continue}C=h}var X=r.pb[tt];X.Sc[0]=eo[nr(C+b,127)],
1226
+ X.Sc[1]=io[nr(C+0,127)],X.Eb[0]=2*eo[nr(C+p,127)],X.Eb[1]=101581*io[nr(C+x,127)]>>16,8>X.Eb[1]&&(X.Eb[1]=8),X.Qc[0]=eo[nr(C+E,117)],X.Qc[1]=io[nr(C+N,127)],X.lc=C+N}if(!L.Rb)return Ye(r,4,"Not a key f\
1227
+ rame.");for(ot(w),L=r.Pa,h=0;4>h;++h){for(b=0;8>b;++b)for(p=0;3>p;++p)for(x=0;11>x;++x)E=mt(w,h1[h][b][p][x])?ut(w,8):o1[h][b][p][x],L.Wc[h][b].Yb[p][x]=E;for(b=0;17>b;++b)L.Xc[h][b]=L.Wc[h][l1[b]]}return r.
1228
+ kc=ot(w),r.kc&&(r.Bd=ut(w,8)),r.cb=1}function On(r,o,h,p,b,w,L){var x=o[b].Yb[h];for(h=0;16>b;++b){if(!mt(r,x[h+0]))return b;for(;!mt(r,x[h+1]);)if(x=o[++b].Yb[0],h=0,b==16)return 16;var N=o[b+1].Yb;if(mt(
1229
+ r,x[h+2])){var E=r,W=0;if(mt(E,(C=x)[(tt=h)+3]))if(mt(E,C[tt+6])){for(x=0,tt=2*(W=mt(E,C[tt+8]))+(C=mt(E,C[tt+9+W])),W=0,C=a1[tt];C[x];++x)W+=W+mt(E,C[x]);W+=3+(8<<tt)}else mt(E,C[tt+7])?(W=7+2*mt(E,165),
1230
+ W+=mt(E,145)):W=5+mt(E,159);else W=mt(E,C[tt+4])?3+mt(E,C[tt+5]):2;x=N[2]}else W=1,x=N[1];N=L+s1[b],0>(E=r).b&&st(E);var tt,C=E.b,X=(tt=E.Ca>>1)-(E.I>>C)>>31;--E.b,E.Ca+=X,E.Ca|=1,E.I-=(tt+1&X)<<C,w[N]=
1231
+ ((W^X)-X)*p[(0<b)+0]}return 16}function aa(r){var o=r.rb[r.sb-1];o.la=0,o.Na=0,a(r.zc,0,0,r.zc.length),r.ja=0}function Pi(r,o,h,p,b){b=r[o+h+32*p]+(b>>3),r[o+h+32*p]=-256&b?0>b?0:255:b}function Mn(r,o,h,p,b,w){
1232
+ Pi(r,o,0,h,p+b),Pi(r,o,1,h,p+w),Pi(r,o,2,h,p-w),Pi(r,o,3,h,p-b)}function br(r){return(20091*r>>16)+r}function si(r,o,h,p){var b,w=0,L=s(16);for(b=0;4>b;++b){var x=r[o+0]+r[o+8],N=r[o+0]-r[o+8],E=(35468*
1233
+ r[o+4]>>16)-br(r[o+12]),W=br(r[o+4])+(35468*r[o+12]>>16);L[w+0]=x+W,L[w+1]=N+E,L[w+2]=N-E,L[w+3]=x-W,w+=4,o++}for(b=w=0;4>b;++b)x=(r=L[w+0]+4)+L[w+8],N=r-L[w+8],E=(35468*L[w+4]>>16)-br(L[w+12]),Pi(h,p,
1234
+ 0,0,x+(W=br(L[w+4])+(35468*L[w+12]>>16))),Pi(h,p,1,0,N+E),Pi(h,p,2,0,N-E),Pi(h,p,3,0,x-W),w++,p+=32}function Wa(r,o,h,p){var b=r[o+0]+4,w=35468*r[o+4]>>16,L=br(r[o+4]),x=35468*r[o+1]>>16;Mn(h,p,0,b+L,
1235
+ r=br(r[o+1]),x),Mn(h,p,1,b+w,r,x),Mn(h,p,2,b-w,r,x),Mn(h,p,3,b-L,r,x)}function Os(r,o,h,p,b){si(r,o,h,p),b&&si(r,o+16,h,p+4)}function Ms(r,o,h,p){xr(r,o+0,h,p,1),xr(r,o+32,h,p+128,1)}function qs(r,o,h,p){
1236
+ var b;for(r=r[o+0]+4,b=0;4>b;++b)for(o=0;4>o;++o)Pi(h,p,o,b,r)}function sr(r,o,h,p){r[o+0]&&fi(r,o+0,h,p),r[o+16]&&fi(r,o+16,h,p+4),r[o+32]&&fi(r,o+32,h,p+128),r[o+48]&&fi(r,o+48,h,p+128+4)}function Ha(r,o,h,p){
1237
+ var b,w=s(16);for(b=0;4>b;++b){var L=r[o+0+b]+r[o+12+b],x=r[o+4+b]+r[o+8+b],N=r[o+4+b]-r[o+8+b],E=r[o+0+b]-r[o+12+b];w[0+b]=L+x,w[8+b]=L-x,w[4+b]=E+N,w[12+b]=E-N}for(b=0;4>b;++b)L=(r=w[0+4*b]+3)+w[3+4*
1238
+ b],x=w[1+4*b]+w[2+4*b],N=w[1+4*b]-w[2+4*b],E=r-w[3+4*b],h[p+0]=L+x>>3,h[p+16]=E+N>>3,h[p+32]=L-x>>3,h[p+48]=E-N>>3,p+=64}function qn(r,o,h){var p,b=o-32,w=Ii,L=255-r[b-1];for(p=0;p<h;++p){var x,N=w,E=L+
1239
+ r[o-1];for(x=0;x<h;++x)r[o+x]=N[E+r[b+x]];o+=32}}function Rn(r,o){qn(r,o,4)}function sa(r,o){qn(r,o,8)}function Rs(r,o){qn(r,o,16)}function Bs(r,o){var h;for(h=0;16>h;++h)n(r,o+32*h,r,o-32,16)}function js(r,o){
1240
+ var h;for(h=16;0<h;--h)a(r,o,r[o-1],16),o+=32}function Cr(r,o,h){var p;for(p=0;16>p;++p)a(o,h+32*p,r,16)}function Ga(r,o){var h,p=16;for(h=0;16>h;++h)p+=r[o-1+32*h]+r[o+h-32];Cr(p>>5,r,o)}function Or(r,o){
1241
+ var h,p=8;for(h=0;16>h;++h)p+=r[o-1+32*h];Cr(p>>4,r,o)}function Ts(r,o){var h,p=8;for(h=0;16>h;++h)p+=r[o+h-32];Cr(p>>4,r,o)}function en(r,o){Cr(128,r,o)}function Jt(r,o,h){return r+2*o+h+2>>2}function Ds(r,o){
1242
+ var h,p=o-32;for(p=new Uint8Array([Jt(r[p-1],r[p+0],r[p+1]),Jt(r[p+0],r[p+1],r[p+2]),Jt(r[p+1],r[p+2],r[p+3]),Jt(r[p+2],r[p+3],r[p+4])]),h=0;4>h;++h)n(r,o+32*h,p,0,p.length)}function Us(r,o){var h=r[o-
1243
+ 1],p=r[o-1+32],b=r[o-1+64],w=r[o-1+96];At(r,o+0,16843009*Jt(r[o-1-32],h,p)),At(r,o+32,16843009*Jt(h,p,b)),At(r,o+64,16843009*Jt(p,b,w)),At(r,o+96,16843009*Jt(b,w,w))}function zs(r,o){var h,p=4;for(h=0;4>
1244
+ h;++h)p+=r[o+h-32]+r[o-1+32*h];for(p>>=3,h=0;4>h;++h)a(r,o+32*h,p,4)}function Ws(r,o){var h=r[o-1+0],p=r[o-1+32],b=r[o-1+64],w=r[o-1-32],L=r[o+0-32],x=r[o+1-32],N=r[o+2-32],E=r[o+3-32];r[o+0+96]=Jt(p,
1245
+ b,r[o-1+96]),r[o+1+96]=r[o+0+64]=Jt(h,p,b),r[o+2+96]=r[o+1+64]=r[o+0+32]=Jt(w,h,p),r[o+3+96]=r[o+2+64]=r[o+1+32]=r[o+0+0]=Jt(L,w,h),r[o+3+64]=r[o+2+32]=r[o+1+0]=Jt(x,L,w),r[o+3+32]=r[o+2+0]=Jt(N,x,L),
1246
+ r[o+3+0]=Jt(E,N,x)}function Hs(r,o){var h=r[o+1-32],p=r[o+2-32],b=r[o+3-32],w=r[o+4-32],L=r[o+5-32],x=r[o+6-32],N=r[o+7-32];r[o+0+0]=Jt(r[o+0-32],h,p),r[o+1+0]=r[o+0+32]=Jt(h,p,b),r[o+2+0]=r[o+1+32]=r[o+
1247
+ 0+64]=Jt(p,b,w),r[o+3+0]=r[o+2+32]=r[o+1+64]=r[o+0+96]=Jt(b,w,L),r[o+3+32]=r[o+2+64]=r[o+1+96]=Jt(w,L,x),r[o+3+64]=r[o+2+96]=Jt(L,x,N),r[o+3+96]=Jt(x,N,N)}function wr(r,o){var h=r[o-1+0],p=r[o-1+32],b=r[o-
1248
+ 1+64],w=r[o-1-32],L=r[o+0-32],x=r[o+1-32],N=r[o+2-32],E=r[o+3-32];r[o+0+0]=r[o+1+64]=w+L+1>>1,r[o+1+0]=r[o+2+64]=L+x+1>>1,r[o+2+0]=r[o+3+64]=x+N+1>>1,r[o+3+0]=N+E+1>>1,r[o+0+96]=Jt(b,p,h),r[o+0+64]=Jt(
1249
+ p,h,w),r[o+0+32]=r[o+1+96]=Jt(h,w,L),r[o+1+32]=r[o+2+96]=Jt(w,L,x),r[o+2+32]=r[o+3+96]=Jt(L,x,N),r[o+3+32]=Jt(x,N,E)}function yr(r,o){var h=r[o+0-32],p=r[o+1-32],b=r[o+2-32],w=r[o+3-32],L=r[o+4-32],x=r[o+
1250
+ 5-32],N=r[o+6-32],E=r[o+7-32];r[o+0+0]=h+p+1>>1,r[o+1+0]=r[o+0+64]=p+b+1>>1,r[o+2+0]=r[o+1+64]=b+w+1>>1,r[o+3+0]=r[o+2+64]=w+L+1>>1,r[o+0+32]=Jt(h,p,b),r[o+1+32]=r[o+0+96]=Jt(p,b,w),r[o+2+32]=r[o+1+96]=
1251
+ Jt(b,w,L),r[o+3+32]=r[o+2+96]=Jt(w,L,x),r[o+3+64]=Jt(L,x,N),r[o+3+96]=Jt(x,N,E)}function Gs(r,o){var h=r[o-1+0],p=r[o-1+32],b=r[o-1+64],w=r[o-1+96];r[o+0+0]=h+p+1>>1,r[o+2+0]=r[o+0+32]=p+b+1>>1,r[o+2+
1252
+ 32]=r[o+0+64]=b+w+1>>1,r[o+1+0]=Jt(h,p,b),r[o+3+0]=r[o+1+32]=Jt(p,b,w),r[o+3+32]=r[o+1+64]=Jt(b,w,w),r[o+3+64]=r[o+2+64]=r[o+0+96]=r[o+1+96]=r[o+2+96]=r[o+3+96]=w}function Vs(r,o){var h=r[o-1+0],p=r[o-
1253
+ 1+32],b=r[o-1+64],w=r[o-1+96],L=r[o-1-32],x=r[o+0-32],N=r[o+1-32],E=r[o+2-32];r[o+0+0]=r[o+2+32]=h+L+1>>1,r[o+0+32]=r[o+2+64]=p+h+1>>1,r[o+0+64]=r[o+2+96]=b+p+1>>1,r[o+0+96]=w+b+1>>1,r[o+3+0]=Jt(x,N,E),
1254
+ r[o+2+0]=Jt(L,x,N),r[o+1+0]=r[o+3+32]=Jt(h,L,x),r[o+1+32]=r[o+3+64]=Jt(p,h,L),r[o+1+64]=r[o+3+96]=Jt(b,p,h),r[o+1+96]=Jt(w,b,p)}function Bn(r,o){var h;for(h=0;8>h;++h)n(r,o+32*h,r,o-32,8)}function oa(r,o){
1255
+ var h;for(h=0;8>h;++h)a(r,o,r[o-1],8),o+=32}function or(r,o,h){var p;for(p=0;8>p;++p)a(o,h+32*p,r,8)}function Xs(r,o){var h,p=8;for(h=0;8>h;++h)p+=r[o+h-32]+r[o-1+32*h];or(p>>4,r,o)}function jn(r,o){var h,
1256
+ p=4;for(h=0;8>h;++h)p+=r[o+h-32];or(p>>3,r,o)}function Ks(r,o){var h,p=4;for(h=0;8>h;++h)p+=r[o-1+32*h];or(p>>3,r,o)}function ca(r,o){or(128,r,o)}function Mr(r,o,h){var p=r[o-h],b=r[o+0],w=3*(b-p)+Ys[1020+
1257
+ r[o-2*h]-r[o+h]],L=ts[112+(w+4>>3)];r[o-h]=Ii[255+p+ts[112+(w+3>>3)]],r[o+0]=Ii[255+b-L]}function ha(r,o,h,p){var b=r[o+0],w=r[o+h];return Di[255+r[o-2*h]-r[o-h]]>p||Di[255+w-b]>p}function rn(r,o,h,p){
1258
+ return 4*Di[255+r[o-h]-r[o+0]]+Di[255+r[o-2*h]-r[o+h]]<=p}function la(r,o,h,p,b){var w=r[o-3*h],L=r[o-2*h],x=r[o-h],N=r[o+0],E=r[o+h],W=r[o+2*h],tt=r[o+3*h];return 4*Di[255+x-N]+Di[255+L-E]>p?0:Di[255+
1259
+ r[o-4*h]-w]<=b&&Di[255+w-L]<=b&&Di[255+L-x]<=b&&Di[255+tt-W]<=b&&Di[255+W-E]<=b&&Di[255+E-N]<=b}function Tn(r,o,h,p){var b=2*p+1;for(p=0;16>p;++p)rn(r,o+p,h,b)&&Mr(r,o+p,h)}function ua(r,o,h,p){var b=2*
1260
+ p+1;for(p=0;16>p;++p)rn(r,o+p*h,1,b)&&Mr(r,o+p*h,1)}function Dn(r,o,h,p){var b;for(b=3;0<b;--b)Tn(r,o+=4*h,h,p)}function Va(r,o,h,p){var b;for(b=3;0<b;--b)ua(r,o+=4,h,p)}function Lr(r,o,h,p,b,w,L,x){for(w=
1261
+ 2*w+1;0<b--;){if(la(r,o,h,w,L))if(ha(r,o,h,x))Mr(r,o,h);else{var N=r,E=o,W=h,tt=N[E-2*W],C=N[E-W],X=N[E+0],$=N[E+W],ht=N[E+2*W],Q=27*(dt=Ys[1020+3*(X-C)+Ys[1020+tt-$]])+63>>7,lt=18*dt+63>>7,dt=9*dt+63>>
1262
+ 7;N[E-3*W]=Ii[255+N[E-3*W]+dt],N[E-2*W]=Ii[255+tt+lt],N[E-W]=Ii[255+C+Q],N[E+0]=Ii[255+X-Q],N[E+W]=Ii[255+$-lt],N[E+2*W]=Ii[255+ht-dt]}o+=p}}function _r(r,o,h,p,b,w,L,x){for(w=2*w+1;0<b--;){if(la(r,o,
1263
+ h,w,L))if(ha(r,o,h,x))Mr(r,o,h);else{var N=r,E=o,W=h,tt=N[E-W],C=N[E+0],X=N[E+W],$=ts[112+(4+(ht=3*(C-tt))>>3)],ht=ts[112+(ht+3>>3)],Q=$+1>>1;N[E-2*W]=Ii[255+N[E-2*W]+Q],N[E-W]=Ii[255+tt+ht],N[E+0]=Ii[255+
1264
+ C-$],N[E+W]=Ii[255+X-Q]}o+=p}}function Xa(r,o,h,p,b,w){Lr(r,o,h,1,16,p,b,w)}function Ka(r,o,h,p,b,w){Lr(r,o,1,h,16,p,b,w)}function Ja(r,o,h,p,b,w){var L;for(L=3;0<L;--L)_r(r,o+=4*h,h,1,16,p,b,w)}function nn(r,o,h,p,b,w){
1265
+ var L;for(L=3;0<L;--L)_r(r,o+=4,1,h,16,p,b,w)}function Ya(r,o,h,p,b,w,L,x){Lr(r,o,b,1,8,w,L,x),Lr(h,p,b,1,8,w,L,x)}function c(r,o,h,p,b,w,L,x){Lr(r,o,1,b,8,w,L,x),Lr(h,p,1,b,8,w,L,x)}function v(r,o,h,p,b,w,L,x){
1266
+ _r(r,o+4*b,b,1,8,w,L,x),_r(h,p+4*b,b,1,8,w,L,x)}function I(r,o,h,p,b,w,L,x){_r(r,o+4,1,b,8,w,L,x),_r(h,p+4,1,b,8,w,L,x)}function j(){this.ba=new le,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.
1267
+ dc=this.fc=0,this.Oa=new be,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function J(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.
1268
+ gb=this.Ja=this.Sa=this.P=0}function ct(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function yt(){this.ua=0,this.Wa=new ee,this.vb=new ee,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.
1269
+ Ya=new it,this.yc=new U}function Ct(){this.xb=this.a=0,this.l=new Cn,this.ca=new le,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new O,this.Pb=0,this.wd=new O,this.Ma=this.$=this.C=this.i=this.c=this.
1270
+ xd=0,this.s=new yt,this.ab=0,this.gc=l(4,ct),this.Oc=0}function Et(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Cn,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Yt(r,o,h,p,b,w,L){
1271
+ for(r=r==null?0:r[o+0],o=0;o<L;++o)b[w+o]=r+h[p+o]&255,r=b[w+o]}function Qt(r,o,h,p,b,w,L){var x;if(r==null)Yt(null,null,h,p,b,w,L);else for(x=0;x<L;++x)b[w+x]=r[o+x]+h[p+x]&255}function pe(r,o,h,p,b,w,L){
1272
+ if(r==null)Yt(null,null,h,p,b,w,L);else{var x,N=r[o+0],E=N,W=N;for(x=0;x<L;++x)E=W+(N=r[o+x])-E,W=h[p+x]+(-256&E?0>E?0:255:E)&255,E=N,b[w+x]=W}}function $e(r,o,h,p){var b=o.width,w=o.o;if(e(r!=null&&o!=
1273
+ null),0>h||0>=p||h+p>w)return null;if(!r.Cc){if(r.ga==null){var L;if(r.ga=new Et,(L=r.ga==null)||(L=o.width*o.o,e(r.Gb.length==0),r.Gb=s(L),r.Uc=0,r.Gb==null?L=0:(r.mb=r.Gb,r.nb=r.Uc,r.rc=null,L=1),L=
1274
+ !L),!L){L=r.ga;var x=r.Fa,N=r.P,E=r.qc,W=r.mb,tt=r.nb,C=N+1,X=E-1,$=L.l;if(e(x!=null&&W!=null&&o!=null),Ur[0]=null,Ur[1]=Yt,Ur[2]=Qt,Ur[3]=pe,L.ca=W,L.tb=tt,L.c=o.width,L.i=o.height,e(0<L.c&&0<L.i),1>=
1275
+ E)o=0;else if(L.$a=3&x[N+0],L.Z=x[N+0]>>2&3,L.Lc=x[N+0]>>4&3,N=x[N+0]>>6&3,0>L.$a||1<L.$a||4<=L.Z||1<L.Lc||N)o=0;else if($.put=Gt,$.ac=er,$.bc=mr,$.ma=L,$.width=o.width,$.height=o.height,$.Da=o.Da,$.v=
1276
+ o.v,$.va=o.va,$.j=o.j,$.o=o.o,L.$a)t:{e(L.$a==1),o=Qr();e:for(;;){if(o==null){o=0;break t}if(e(L!=null),L.mc=o,o.c=L.c,o.i=L.i,o.l=L.l,o.l.ma=L,o.l.width=L.c,o.l.height=L.i,o.a=0,ft(o.m,x,C,X),!rr(L.c,
1277
+ L.i,1,o,null)||(o.ab==1&&o.gc[0].hc==3&&Gi(o.s)?(L.ic=1,x=o.c*o.i,o.Ta=null,o.Ua=0,o.V=s(x),o.Ba=0,o.V==null?(o.a=1,o=0):o=1):(L.ic=0,o=tn(o,L.c)),!o))break e;o=1;break t}L.mc=null,o=0}else o=X>=L.c*L.
1278
+ i;L=!o}if(L)return null;r.ga.Lc!=1?r.Ga=0:p=w-h}e(r.ga!=null),e(h+p<=w);t:{if(o=(x=r.ga).c,w=x.l.o,x.$a==0){if(C=r.rc,X=r.Vc,$=r.Fa,N=r.P+1+h*o,E=r.mb,W=r.nb+h*o,e(N<=r.P+r.qc),x.Z!=0)for(e(Ur[x.Z]!=null),
1279
+ L=0;L<p;++L)Ur[x.Z](C,X,$,N,E,W,o),C=E,X=W,W+=o,N+=o;else for(L=0;L<p;++L)n(E,W,$,N,o),C=E,X=W,W+=o,N+=o;r.rc=C,r.Vc=X}else{if(e(x.mc!=null),o=h+p,e((L=x.mc)!=null),e(o<=L.i),L.C>=o)o=1;else if(x.ic||
1280
+ je(),x.ic){x=L.V,C=L.Ba,X=L.c;var ht=L.i,Q=($=1,N=L.$/X,E=L.$%X,W=L.m,tt=L.s,L.$),lt=X*ht,dt=X*o,Lt=tt.wc,vt=Q<dt?ai(tt,E,N):null;e(Q<=lt),e(o<=ht),e(Gi(tt));e:for(;;){for(;!W.h&&Q<dt;){if(E&Lt||(vt=ai(
1281
+ tt,E,N)),e(vt!=null),Z(W),256>(ht=Te(vt.G[0],vt.H[0],W)))x[C+Q]=ht,++Q,++E>=X&&(E=0,++N<=o&&!(N%16)&&Vi(L,N));else{if(!(280>ht)){$=0;break e}ht=qi(ht-256,W);var Bt,It=Te(vt.G[4],vt.H[4],W);if(Z(W),!(Q>=
1282
+ (It=Ri(X,It=qi(It,W)))&&lt-Q>=ht)){$=0;break e}for(Bt=0;Bt<ht;++Bt)x[C+Q+Bt]=x[C+Q+Bt-It];for(Q+=ht,E+=ht;E>=X;)E-=X,++N<=o&&!(N%16)&&Vi(L,N);Q<dt&&E&Lt&&(vt=ai(tt,E,N))}e(W.h==G(W))}Vi(L,N>o?o:N);break e}
1283
+ !$||W.h&&Q<lt?($=0,L.a=W.h?5:3):L.$=Q,o=$}else o=Xi(L,L.V,L.Ba,L.c,L.i,o,In);if(!o){p=0;break t}}h+p>=w&&(r.Cc=1),p=1}if(!p)return null;if(r.Cc&&((p=r.ga)!=null&&(p.mc=null),r.ga=null,0<r.Ga))return alert(
1284
+ "todo:WebPDequantizeLevels"),null}return r.nb+h*b}function Ae(r,o,h,p,b,w){for(;0<b--;){var L,x=r,N=o+(h?1:0),E=r,W=o+(h?0:3);for(L=0;L<p;++L){var tt=E[W+4*L];tt!=255&&(tt*=32897,x[N+4*L+0]=x[N+4*L+0]*
1285
+ tt>>23,x[N+4*L+1]=x[N+4*L+1]*tt>>23,x[N+4*L+2]=x[N+4*L+2]*tt>>23)}o+=w}}function Le(r,o,h,p,b){for(;0<p--;){var w;for(w=0;w<h;++w){var L=r[o+2*w+0],x=15&(E=r[o+2*w+1]),N=4369*x,E=(240&E|E>>4)*N>>16;r[o+
1286
+ 2*w+0]=(240&L|L>>4)*N>>16&240|(15&L|L<<4)*N>>16>>4&15,r[o+2*w+1]=240&E|x}o+=b}}function Fe(r,o,h,p,b,w,L,x){var N,E,W=255;for(E=0;E<b;++E){for(N=0;N<p;++N){var tt=r[o+N];w[L+4*N]=tt,W&=tt}o+=h,L+=x}return W!=
1287
+ 255}function Be(r,o,h,p,b){var w;for(w=0;w<b;++w)h[p+w]=r[o+w]>>8}function je(){wa=Ae,Vo=Le,Xo=Fe,Ko=Be}function bi(r,o,h){B[r]=function(p,b,w,L,x,N,E,W,tt,C,X,$,ht,Q,lt,dt,Lt){var vt,Bt=Lt-1>>1,It=x[N+
1288
+ 0]|E[W+0]<<16,re=tt[C+0]|X[$+0]<<16;e(p!=null);var Ot=3*It+re+131074>>2;for(o(p[b+0],255&Ot,Ot>>16,ht,Q),w!=null&&(Ot=3*re+It+131074>>2,o(w[L+0],255&Ot,Ot>>16,lt,dt)),vt=1;vt<=Bt;++vt){var de=x[N+vt]|
1289
+ E[W+vt]<<16,ti=tt[C+vt]|X[$+vt]<<16,ne=It+de+re+ti+524296,Mt=ne+2*(de+re)>>3;Ot=Mt+It>>1,It=(ne=ne+2*(It+ti)>>3)+de>>1,o(p[b+2*vt-1],255&Ot,Ot>>16,ht,Q+(2*vt-1)*h),o(p[b+2*vt-0],255&It,It>>16,ht,Q+(2*
1290
+ vt-0)*h),w!=null&&(Ot=ne+re>>1,It=Mt+ti>>1,o(w[L+2*vt-1],255&Ot,Ot>>16,lt,dt+(2*vt-1)*h),o(w[L+2*vt+0],255&It,It>>16,lt,dt+(2*vt+0)*h)),It=de,re=ti}1&Lt||(Ot=3*It+re+131074>>2,o(p[b+Lt-1],255&Ot,Ot>>16,
1291
+ ht,Q+(Lt-1)*h),w!=null&&(Ot=3*re+It+131074>>2,o(w[L+Lt-1],255&Ot,Ot>>16,lt,dt+(Lt-1)*h)))}}function Ar(){Ui[es]=f1,Ui[is]=ac,Ui[tc]=d1,Ui[rs]=sc,Ui[ns]=oc,Ui[$s]=cc,Ui[ec]=p1,Ui[Zs]=ac,Ui[Qs]=sc,Ui[as]=
1292
+ oc,Ui[to]=cc}function fa(r){return r&-16384?0>r?0:255:r>>g1}function an(r,o){return fa((19077*r>>8)+(26149*o>>8)-14234)}function sn(r,o,h){return fa((19077*r>>8)-(6419*o>>8)-(13320*h>>8)+8708)}function qr(r,o){
1293
+ return fa((19077*r>>8)+(33050*o>>8)-17685)}function on(r,o,h,p,b){p[b+0]=an(r,h),p[b+1]=sn(r,o,h),p[b+2]=qr(r,o)}function Un(r,o,h,p,b){p[b+0]=qr(r,o),p[b+1]=sn(r,o,h),p[b+2]=an(r,h)}function zn(r,o,h,p,b){
1294
+ var w=sn(r,o,h);o=w<<3&224|qr(r,o)>>3,p[b+0]=248&an(r,h)|w>>5,p[b+1]=o}function ui(r,o,h,p,b){var w=240&qr(r,o)|15;p[b+0]=240&an(r,h)|sn(r,o,h)>>4,p[b+1]=w}function cn(r,o,h,p,b){p[b+0]=255,on(r,o,h,p,
1295
+ b+1)}function hn(r,o,h,p,b){Un(r,o,h,p,b),p[b+3]=255}function da(r,o,h,p,b){on(r,o,h,p,b),p[b+3]=255}function cr(r,o,h){B[r]=function(p,b,w,L,x,N,E,W,tt){for(var C=W+(-2&tt)*h;W!=C;)o(p[b+0],w[L+0],x[N+
1296
+ 0],E,W),o(p[b+1],w[L+0],x[N+0],E,W+h),b+=2,++L,++N,W+=2*h;1&tt&&o(p[b+0],w[L+0],x[N+0],E,W)}}function wi(r,o,h){return h==0?r==0?o==0?6:5:o==0?4:0:h}function $a(r,o,h,p,b){switch(r>>>30){case 3:xr(o,h,
1297
+ p,b,0);break;case 2:Tr(o,h,p,b);break;case 1:fi(o,h,p,b)}}function Wn(r,o){var h,p,b=o.M,w=o.Nb,L=r.oc,x=r.pc+40,N=r.oc,E=r.pc+584,W=r.oc,tt=r.pc+600;for(h=0;16>h;++h)L[x+32*h-1]=129;for(h=0;8>h;++h)N[E+
1298
+ 32*h-1]=129,W[tt+32*h-1]=129;for(0<b?L[x-1-32]=N[E-1-32]=W[tt-1-32]=129:(a(L,x-32-1,127,21),a(N,E-32-1,127,9),a(W,tt-32-1,127,9)),p=0;p<r.za;++p){var C=o.ya[o.aa+p];if(0<p){for(h=-1;16>h;++h)n(L,x+32*
1299
+ h-4,L,x+32*h+12,4);for(h=-1;8>h;++h)n(N,E+32*h-4,N,E+32*h+4,4),n(W,tt+32*h-4,W,tt+32*h+4,4)}var X=r.Gd,$=r.Hd+p,ht=C.ad,Q=C.Hc;if(0<b&&(n(L,x-32,X[$].y,0,16),n(N,E-32,X[$].f,0,8),n(W,tt-32,X[$].ea,0,8)),
1300
+ C.Za){var lt=L,dt=x-32+16;for(0<b&&(p>=r.za-1?a(lt,dt,X[$].y[15],4):n(lt,dt,X[$+1].y,0,4)),h=0;4>h;h++)lt[dt+128+h]=lt[dt+256+h]=lt[dt+384+h]=lt[dt+0+h];for(h=0;16>h;++h,Q<<=2)lt=L,dt=x+lc[h],Ji[C.Ob[h]](
1301
+ lt,dt),$a(Q,ht,16*+h,lt,dt)}else if(lt=wi(p,b,C.Ob[0]),Dr[lt](L,x),Q!=0)for(h=0;16>h;++h,Q<<=2)$a(Q,ht,16*+h,L,x+lc[h]);for(h=C.Gc,lt=wi(p,b,C.Dd),Sr[lt](N,E),Sr[lt](W,tt),Q=ht,lt=N,dt=E,255&(C=0|h)&&
1302
+ (170&C?Kn(Q,256,lt,dt):lr(Q,256,lt,dt)),C=W,Q=tt,255&(h>>=8)&&(170&h?Kn(ht,320,C,Q):lr(ht,320,C,Q)),b<r.Ub-1&&(n(X[$].y,0,L,x+480,16),n(X[$].f,0,N,E+224,8),n(X[$].ea,0,W,tt+224,8)),h=8*w*r.B,X=r.sa,$=
1303
+ r.ta+16*p+16*w*r.R,ht=r.qa,C=r.ra+8*p+h,Q=r.Ha,lt=r.Ia+8*p+h,h=0;16>h;++h)n(X,$+h*r.R,L,x+32*h,16);for(h=0;8>h;++h)n(ht,C+h*r.B,N,E+32*h,8),n(Q,lt+h*r.B,W,tt+32*h,8)}}function Za(r,o,h,p,b,w,L,x,N){var E=[
1304
+ 0],W=[0],tt=0,C=N!=null?N.kd:0,X=N??new J;if(r==null||12>h)return 7;X.data=r,X.w=o,X.ha=h,o=[o],h=[h],X.gb=[X.gb];t:{var $=o,ht=h,Q=X.gb;if(e(r!=null),e(ht!=null),e(Q!=null),Q[0]=0,12<=ht[0]&&!t(r,$[0],
1305
+ "RIFF")){if(t(r,$[0]+8,"WEBP")){Q=3;break t}var lt=Wt(r,$[0]+4);if(12>lt||4294967286<lt){Q=3;break t}if(C&&lt>ht[0]-8){Q=7;break t}Q[0]=lt,$[0]+=12,ht[0]-=12}Q=0}if(Q!=0)return Q;for(lt=0<X.gb[0],h=h[0];;){
1306
+ t:{var dt=r;ht=o,Q=h;var Lt=E,vt=W,Bt=$=[0];if((Ot=tt=[tt])[0]=0,8>Q[0])Q=7;else{if(!t(dt,ht[0],"VP8X")){if(Wt(dt,ht[0]+4)!=10){Q=3;break t}if(18>Q[0]){Q=7;break t}var It=Wt(dt,ht[0]+8),re=1+kt(dt,ht[0]+
1307
+ 12);if(2147483648<=re*(dt=1+kt(dt,ht[0]+15))){Q=3;break t}Bt!=null&&(Bt[0]=It),Lt!=null&&(Lt[0]=re),vt!=null&&(vt[0]=dt),ht[0]+=18,Q[0]-=18,Ot[0]=1}Q=0}}if(tt=tt[0],$=$[0],Q!=0)return Q;if(ht=!!(2&$),
1308
+ !lt&&tt)return 3;if(w!=null&&(w[0]=!!(16&$)),L!=null&&(L[0]=ht),x!=null&&(x[0]=0),L=E[0],$=W[0],tt&&ht&&N==null){Q=0;break}if(4>h){Q=7;break}if(lt&&tt||!lt&&!tt&&!t(r,o[0],"ALPH")){h=[h],X.na=[X.na],X.
1309
+ P=[X.P],X.Sa=[X.Sa];t:{It=r,Q=o,lt=h;var Ot=X.gb;Lt=X.na,vt=X.P,Bt=X.Sa,re=22,e(It!=null),e(lt!=null),dt=Q[0];var de=lt[0];for(e(Lt!=null),e(Bt!=null),Lt[0]=null,vt[0]=null,Bt[0]=0;;){if(Q[0]=dt,lt[0]=
1310
+ de,8>de){Q=7;break t}var ti=Wt(It,dt+4);if(4294967286<ti){Q=3;break t}var ne=8+ti+1&-2;if(re+=ne,0<Ot&&re>Ot){Q=3;break t}if(!t(It,dt,"VP8 ")||!t(It,dt,"VP8L")){Q=0;break t}if(de[0]<ne){Q=7;break t}t(
1311
+ It,dt,"ALPH")||(Lt[0]=It,vt[0]=dt+8,Bt[0]=ti),dt+=ne,de-=ne}}if(h=h[0],X.na=X.na[0],X.P=X.P[0],X.Sa=X.Sa[0],Q!=0)break}h=[h],X.Ja=[X.Ja],X.xa=[X.xa];t:if(Ot=r,Q=o,lt=h,Lt=X.gb[0],vt=X.Ja,Bt=X.xa,It=Q[0],
1312
+ dt=!t(Ot,It,"VP8 "),re=!t(Ot,It,"VP8L"),e(Ot!=null),e(lt!=null),e(vt!=null),e(Bt!=null),8>lt[0])Q=7;else{if(dt||re){if(Ot=Wt(Ot,It+4),12<=Lt&&Ot>Lt-12){Q=3;break t}if(C&&Ot>lt[0]-8){Q=7;break t}vt[0]=
1313
+ Ot,Q[0]+=8,lt[0]-=8,Bt[0]=re}else Bt[0]=5<=lt[0]&&Ot[It+0]==47&&!(Ot[It+4]>>5),vt[0]=lt[0];Q=0}if(h=h[0],X.Ja=X.Ja[0],X.xa=X.xa[0],o=o[0],Q!=0)break;if(4294967286<X.Ja)return 3;if(x==null||ht||(x[0]=X.
1314
+ xa?2:1),L=[L],$=[$],X.xa){if(5>h){Q=7;break}x=L,C=$,ht=w,r==null||5>h?r=0:5<=h&&r[o+0]==47&&!(r[o+4]>>5)?(lt=[0],Ot=[0],Lt=[0],ft(vt=new O,r,o,h),vr(vt,lt,Ot,Lt)?(x!=null&&(x[0]=lt[0]),C!=null&&(C[0]=
1315
+ Ot[0]),ht!=null&&(ht[0]=Lt[0]),r=1):r=0):r=0}else{if(10>h){Q=7;break}x=$,r==null||10>h||!za(r,o+3,h-3)?r=0:(C=r[o+0]|r[o+1]<<8|r[o+2]<<16,ht=16383&(r[o+7]<<8|r[o+6]),r=16383&(r[o+9]<<8|r[o+8]),1&C||3<
1316
+ (C>>1&7)||!(C>>4&1)||C>>5>=X.Ja||!ht||!r?r=0:(L&&(L[0]=ht),x&&(x[0]=r),r=1))}if(!r||(L=L[0],$=$[0],tt&&(E[0]!=L||W[0]!=$)))return 3;N!=null&&(N[0]=X,N.offset=o-N.w,e(4294967286>o-N.w),e(N.offset==N.ha-
1317
+ h));break}return Q==0||Q==7&&tt&&N==null?(w!=null&&(w[0]|=X.na!=null&&0<X.na.length),p!=null&&(p[0]=L),b!=null&&(b[0]=$),0):Q}function Ti(r,o,h){var p=o.width,b=o.height,w=0,L=0,x=p,N=b;if(o.Da=r!=null&&
1318
+ 0<r.Da,o.Da&&(x=r.cd,N=r.bd,w=r.v,L=r.j,11>h||(w&=-2,L&=-2),0>w||0>L||0>=x||0>=N||w+x>p||L+N>b))return 0;if(o.v=w,o.j=L,o.va=w+x,o.o=L+N,o.U=x,o.T=N,o.da=r!=null&&0<r.da,o.da){if(!Ut(x,N,h=[r.ib],w=[r.
1319
+ hb]))return 0;o.ib=h[0],o.hb=w[0]}return o.ob=r!=null&&r.ob,o.Kb=r==null||!r.Sd,o.da&&(o.ob=o.ib<3*p/4&&o.hb<3*b/4,o.Kb=0),1}function ln(r){if(r==null)return 2;if(11>r.S){var o=r.f.RGBA;o.fb+=(r.height-
1320
+ 1)*o.A,o.A=-o.A}else o=r.f.kb,r=r.height,o.O+=(r-1)*o.fa,o.fa=-o.fa,o.N+=(r-1>>1)*o.Ab,o.Ab=-o.Ab,o.W+=(r-1>>1)*o.Db,o.Db=-o.Db,o.F!=null&&(o.J+=(r-1)*o.lb,o.lb=-o.lb);return 0}function pa(r,o,h,p){if(p==
1321
+ null||0>=r||0>=o)return 2;if(h!=null){if(h.Da){var b=h.cd,w=h.bd,L=-2&h.v,x=-2&h.j;if(0>L||0>x||0>=b||0>=w||L+b>r||x+w>o)return 2;r=b,o=w}if(h.da){if(!Ut(r,o,b=[h.ib],w=[h.hb]))return 2;r=b[0],o=w[0]}}
1322
+ p.width=r,p.height=o;t:{var N=p.width,E=p.height;if(r=p.S,0>=N||0>=E||!(r>=es&&13>r))r=2;else{if(0>=p.Rd&&p.sd==null){L=w=b=o=0;var W=(x=N*uc[r])*E;if(11>r||(w=(E+1)/2*(o=(N+1)/2),r==12&&(L=(b=N)*E)),
1323
+ (E=s(W+2*w+L))==null){r=1;break t}p.sd=E,11>r?((N=p.f.RGBA).eb=E,N.fb=0,N.A=x,N.size=W):((N=p.f.kb).y=E,N.O=0,N.fa=x,N.Fd=W,N.f=E,N.N=0+W,N.Ab=o,N.Cd=w,N.ea=E,N.W=0+W+w,N.Db=o,N.Ed=w,r==12&&(N.F=E,N.J=
1324
+ 0+W+2*w),N.Tc=L,N.lb=b)}if(o=1,b=p.S,w=p.width,L=p.height,b>=es&&13>b)if(11>b)r=p.f.RGBA,o&=(x=Math.abs(r.A))*(L-1)+w<=r.size,o&=x>=w*uc[b],o&=r.eb!=null;else{r=p.f.kb,x=(w+1)/2,W=(L+1)/2,N=Math.abs(r.
1325
+ fa),E=Math.abs(r.Ab);var tt=Math.abs(r.Db),C=Math.abs(r.lb),X=C*(L-1)+w;o&=N*(L-1)+w<=r.Fd,o&=E*(W-1)+x<=r.Cd,o=(o&=tt*(W-1)+x<=r.Ed)&N>=w&E>=x&tt>=x,o&=r.y!=null,o&=r.f!=null,o&=r.ea!=null,b==12&&(o&=
1326
+ C>=w,o&=X<=r.Tc,o&=r.F!=null)}else o=0;r=o?0:2}}return r!=0||h!=null&&h.fd&&(r=ln(p)),r}var Hn=64,un=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,
1327
+ 4194303,8388607,16777215],ga=24,yi=32,xi=8,Gn=[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,
1328
+ 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,
1329
+ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Pt("Predictor0","PredictorAdd0"),B.Predictor0=
1330
+ function(){return 4278190080},B.Predictor1=function(r){return r},B.Predictor2=function(r,o,h){return o[h+0]},B.Predictor3=function(r,o,h){return o[h+1]},B.Predictor4=function(r,o,h){return o[h-1]},B.Predictor5=
1331
+ function(r,o,h){return Rt(Rt(r,o[h+1]),o[h+0])},B.Predictor6=function(r,o,h){return Rt(r,o[h-1])},B.Predictor7=function(r,o,h){return Rt(r,o[h+0])},B.Predictor8=function(r,o,h){return Rt(o[h-1],o[h+0])},
1332
+ B.Predictor9=function(r,o,h){return Rt(o[h+0],o[h+1])},B.Predictor10=function(r,o,h){return Rt(Rt(r,o[h-1]),Rt(o[h+0],o[h+1]))},B.Predictor11=function(r,o,h){var p=o[h+0];return 0>=Kt(p>>24&255,r>>24&
1333
+ 255,(o=o[h-1])>>24&255)+Kt(p>>16&255,r>>16&255,o>>16&255)+Kt(p>>8&255,r>>8&255,o>>8&255)+Kt(255&p,255&r,255&o)?p:r},B.Predictor12=function(r,o,h){var p=o[h+0];return(ce((r>>24&255)+(p>>24&255)-((o=o[h-
1334
+ 1])>>24&255))<<24|ce((r>>16&255)+(p>>16&255)-(o>>16&255))<<16|ce((r>>8&255)+(p>>8&255)-(o>>8&255))<<8|ce((255&r)+(255&p)-(255&o)))>>>0},B.Predictor13=function(r,o,h){var p=o[h-1];return(he((r=Rt(r,o[h+
1335
+ 0]))>>24&255,p>>24&255)<<24|he(r>>16&255,p>>16&255)<<16|he(r>>8&255,p>>8&255)<<8|he(255&r,255&p))>>>0};var Rr=B.PredictorAdd0;B.PredictorAdd1=fe,Pt("Predictor2","PredictorAdd2"),Pt("Predictor3","Predi\
1336
+ ctorAdd3"),Pt("Predictor4","PredictorAdd4"),Pt("Predictor5","PredictorAdd5"),Pt("Predictor6","PredictorAdd6"),Pt("Predictor7","PredictorAdd7"),Pt("Predictor8","PredictorAdd8"),Pt("Predictor9","Predict\
1337
+ orAdd9"),Pt("Predictor10","PredictorAdd10"),Pt("Predictor11","PredictorAdd11"),Pt("Predictor12","PredictorAdd12"),Pt("Predictor13","PredictorAdd13");var Br=B.PredictorAdd2;jt("ColorIndexInverseTransfo\
1338
+ rm","MapARGB","32b",function(r){return r>>8&255},function(r){return r}),jt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(r){return r},function(r){return r>>8&255});var Vn,fn=B.ColorIndexInverseTransform,
1339
+ Ze=B.MapARGB,Js=B.VP8LColorIndexInverseTransformAlpha,hr=B.MapAlpha,Ki=B.VP8LPredictorsAdd=[];Ki.length=16,(B.VP8LPredictors=[]).length=16,(B.VP8LPredictorsAdd_C=[]).length=16,(B.VP8LPredictors_C=[]).
1340
+ length=16;var dn,ma,va,Xn,pn,gn,jr,xr,Tr,Kn,fi,lr,ke,Pe,He,Qe,Nr,ba,Jn,Qa,zo,Wo,Ho,Go,wa,Vo,Xo,Ko,Jo=s(511),Yo=s(2041),$o=s(225),Zo=s(767),Qo=0,Ys=Yo,ts=$o,Ii=Zo,Di=Jo,es=0,is=1,tc=2,rs=3,ns=4,$s=5,ec=6,
1341
+ Zs=7,Qs=8,as=9,to=10,Zh=[2,3,7],Qh=[3,3,11],ic=[280,256,256,256,40],t1=[0,1,1,1,0],e1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],i1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,
1342
+ 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,
1343
+ 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],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],n1=8,eo=[4,5,6,7,8,
1344
+ 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,
1345
+ 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],io=[
1346
+ 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,
1347
+ 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,
1348
+ 254,259,264,269,274,279,284],ya=null,a1=[[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]],s1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],rc=[-0,
1349
+ 1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],o1=[[[[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,
1350
+ 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,
1351
+ 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,
1352
+ 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,
1353
+ 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]],
1354
+ [[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,
1355
+ 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]],
1356
+ [[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,
1357
+ 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,
1358
+ 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,
1359
+ 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,
1360
+ 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,
1361
+ 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,
1362
+ 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,
1363
+ 230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,
1364
+ 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],
1365
+ [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,
1366
+ 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,
1367
+ 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,
1368
+ 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,
1369
+ 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,
1370
+ 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]]]],c1=[[[231,120,48,89,115,113,
1371
+ 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,
1372
+ 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,
1373
+ 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,
1374
+ 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,
1375
+ 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,
1376
+ 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,
1377
+ 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],[
1378
+ 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,
1379
+ 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],
1380
+ [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,
1381
+ 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,
1382
+ 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,
1383
+ 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,
1384
+ 224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],
1385
+ [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,
1386
+ 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]]],h1=[[[[255,255,255,255,255,255,255,255,255,255,
1387
+ 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,
1388
+ 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,
1389
+ 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,
1390
+ 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,
1391
+ 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,
1392
+ 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,
1393
+ 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],
1394
+ [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,
1395
+ 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,
1396
+ 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],
1397
+ [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,
1398
+ 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,
1399
+ 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]],
1400
+ [[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,
1401
+ 255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,
1402
+ 255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,
1403
+ 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,
1404
+ 249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,
1405
+ 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,
1406
+ 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,
1407
+ 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,
1408
+ 255,255,255,255,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,
1409
+ 255,255]]]],l1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Dr=[],Ji=[],Sr=[],u1=1,nc=2,Ur=[],Ui=[];bi("UpsampleRgbLinePair",on,3),bi("UpsampleBgrLinePair",Un,3),bi("UpsampleRgbaLinePair",da,4),bi("UpsampleBgr\
1410
+ aLinePair",hn,4),bi("UpsampleArgbLinePair",cn,4),bi("UpsampleRgba4444LinePair",ui,2),bi("UpsampleRgb565LinePair",zn,2);var f1=B.UpsampleRgbLinePair,d1=B.UpsampleBgrLinePair,ac=B.UpsampleRgbaLinePair,sc=B.
1411
+ UpsampleBgraLinePair,oc=B.UpsampleArgbLinePair,cc=B.UpsampleRgba4444LinePair,p1=B.UpsampleRgb565LinePair,ss=16,os=1<<ss-1,La=-227,ro=482,g1=6,hc=0,m1=s(256),v1=s(256),b1=s(256),w1=s(256),y1=s(ro-La),L1=s(
1412
+ ro-La);cr("YuvToRgbRow",on,3),cr("YuvToBgrRow",Un,3),cr("YuvToRgbaRow",da,4),cr("YuvToBgraRow",hn,4),cr("YuvToArgbRow",cn,4),cr("YuvToRgba4444Row",ui,2),cr("YuvToRgb565Row",zn,2);var lc=[0,4,8,12,128,
1413
+ 132,136,140,256,260,264,268,384,388,392,396],cs=[0,2,8],_1=[8,7,6,4,4,2,2,2,1,1,1,1],A1=1;this.WebPDecodeRGBA=function(r,o,h,p,b){var w=is,L=new j,x=new le;L.ba=x,x.S=w,x.width=[x.width],x.height=[x.height];
1414
+ var N=x.width,E=x.height,W=new Vt;if(W==null||r==null)var tt=2;else e(W!=null),tt=Za(r,o,h,W.width,W.height,W.Pd,W.Qd,W.format,null);if(tt!=0?N=0:(N!=null&&(N[0]=W.width[0]),E!=null&&(E[0]=W.height[0]),
1415
+ N=1),N){x.width=x.width[0],x.height=x.height[0],p!=null&&(p[0]=x.width),b!=null&&(b[0]=x.height);t:{if(p=new Cn,(b=new J).data=r,b.w=o,b.ha=h,b.kd=1,o=[0],e(b!=null),((r=Za(b.data,b.w,b.ha,null,null,null,
1416
+ o,null,b))==0||r==7)&&o[0]&&(r=4),(o=r)==0){if(e(L!=null),p.data=b.data,p.w=b.w+b.offset,p.ha=b.ha-b.offset,p.put=Gt,p.ac=er,p.bc=mr,p.ma=L,b.xa){if((r=Qr())==null){L=1;break t}if(function(C,X){var $=[
1417
+ 0],ht=[0],Q=[0];e:for(;;){if(C==null)return 0;if(X==null)return C.a=2,0;if(C.l=X,C.a=0,ft(C.m,X.data,X.w,X.ha),!vr(C.m,$,ht,Q)){C.a=3;break e}if(C.xb=nc,X.width=$[0],X.height=ht[0],!rr($[0],ht[0],1,C,
1418
+ null))break e;return 1}return e(C.a!=0),0}(r,p)){if(p=(o=pa(p.width,p.height,L.Oa,L.ba))==0){e:{p=r;i:for(;;){if(p==null){p=0;break e}if(e(p.s.yc!=null),e(p.s.Ya!=null),e(0<p.s.Wb),e((h=p.l)!=null),e(
1419
+ (b=h.ma)!=null),p.xb!=0){if(p.ca=b.ba,p.tb=b.tb,e(p.ca!=null),!Ti(b.Oa,h,rs)){p.a=2;break i}if(!tn(p,h.width)||h.da)break i;if((h.da||Xt(p.ca.S))&&je(),11>p.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),
1420
+ p.ca.f.kb.F!=null&&je()),p.Pb&&0<p.s.ua&&p.s.vb.X==null&&!P(p.s.vb,p.s.Wa.Xa)){p.a=1;break i}p.xb=0}if(!Xi(p,p.V,p.Ba,p.c,p.i,h.o,Er))break i;b.Dc=p.Ma,p=1;break e}e(p.a!=0),p=0}p=!p}p&&(o=r.a)}else o=
1421
+ r.a}else{if((r=new Cs)==null){L=1;break t}if(r.Fa=b.na,r.P=b.P,r.qc=b.Sa,ar(r,p)){if((o=pa(p.width,p.height,L.Oa,L.ba))==0){if(r.Aa=0,h=L.Oa,e((b=r)!=null),h!=null){if(0<(N=0>(N=h.Md)?0:100<N?255:255*
1422
+ N/100)){for(E=W=0;4>E;++E)12>(tt=b.pb[E]).lc&&(tt.ia=N*_1[0>tt.lc?0:tt.lc]>>3),W|=tt.ia;W&&(alert("todo:VP8InitRandom"),b.ia=1)}b.Ga=h.Id,100<b.Ga?b.Ga=100:0>b.Ga&&(b.Ga=0)}(function(C,X){if(C==null)return 0;
1423
+ if(X==null)return Ye(C,2,"NULL VP8Io parameter in VP8Decode().");if(!C.cb&&!ar(C,X))return 0;if(e(C.cb),X.ac==null||X.ac(X)){X.ob&&(C.L=0);var $=cs[C.L];if(C.L==2?(C.yb=0,C.zb=0):(C.yb=X.v-$>>4,C.zb=X.
1424
+ j-$>>4,0>C.yb&&(C.yb=0),0>C.zb&&(C.zb=0)),C.Va=X.o+15+$>>4,C.Hb=X.va+15+$>>4,C.Hb>C.za&&(C.Hb=C.za),C.Va>C.Ub&&(C.Va=C.Ub),0<C.L){var ht=C.ed;for($=0;4>$;++$){var Q;if(C.Qa.Cb){var lt=C.Qa.Lb[$];C.Qa.
1425
+ Fb||(lt+=ht.Tb)}else lt=ht.Tb;for(Q=0;1>=Q;++Q){var dt=C.gd[$][Q],Lt=lt;if(ht.Pc&&(Lt+=ht.vd[0],Q&&(Lt+=ht.od[0])),0<(Lt=0>Lt?0:63<Lt?63:Lt)){var vt=Lt;0<ht.wb&&(vt=4<ht.wb?vt>>2:vt>>1)>9-ht.wb&&(vt=9-
1426
+ ht.wb),1>vt&&(vt=1),dt.dd=vt,dt.tc=2*Lt+vt,dt.ld=40<=Lt?2:15<=Lt?1:0}else dt.tc=0;dt.La=Q}}}$=0}else Ye(C,6,"Frame setup failed"),$=C.a;if($=$==0){if($){C.$c=0,0<C.Aa||(C.Ic=A1);e:{$=C.Ic,ht=4*(vt=C.za);
1427
+ var Bt=32*vt,It=vt+1,re=0<C.L?vt*(0<C.Aa?2:1):0,Ot=(C.Aa==2?2:1)*vt;if((dt=ht+832+(Q=3*(16*$+cs[C.L])/2*Bt)+(lt=C.Fa!=null&&0<C.Fa.length?C.Kc.c*C.Kc.i:0))!=dt)$=0;else{if(dt>C.Vb){if(C.Vb=0,C.Ec=s(dt),
1428
+ C.Fc=0,C.Ec==null){$=Ye(C,1,"no memory during frame initialization.");break e}C.Vb=dt}dt=C.Ec,Lt=C.Fc,C.Ac=dt,C.Bc=Lt,Lt+=ht,C.Gd=l(Bt,Da),C.Hd=0,C.rb=l(It+1,ra),C.sb=1,C.wa=re?l(re,ji):null,C.Y=0,C.D.
1429
+ Nb=0,C.D.wa=C.wa,C.D.Y=C.Y,0<C.Aa&&(C.D.Y+=vt),e(!0),C.oc=dt,C.pc=Lt,Lt+=832,C.ya=l(Ot,na),C.aa=0,C.D.ya=C.ya,C.D.aa=C.aa,C.Aa==2&&(C.D.aa+=vt),C.R=16*vt,C.B=8*vt,vt=(Bt=cs[C.L])*C.R,Bt=Bt/2*C.B,C.sa=
1430
+ dt,C.ta=Lt+vt,C.qa=C.sa,C.ra=C.ta+16*$*C.R+Bt,C.Ha=C.qa,C.Ia=C.ra+8*$*C.B+Bt,C.$c=0,Lt+=Q,C.mb=lt?dt:null,C.nb=lt?Lt:null,e(Lt+lt<=C.Fc+C.Vb),aa(C),a(C.Ac,C.Bc,0,ht),$=1}}if($){if(X.ka=0,X.y=C.sa,X.O=
1431
+ C.ta,X.f=C.qa,X.N=C.ra,X.ea=C.Ha,X.Vd=C.Ia,X.fa=C.R,X.Rc=C.B,X.F=null,X.J=0,!Qo){for($=-255;255>=$;++$)Jo[255+$]=0>$?-$:$;for($=-1020;1020>=$;++$)Yo[1020+$]=-128>$?-128:127<$?127:$;for($=-112;112>=$;++$)
1432
+ $o[112+$]=-16>$?-16:15<$?15:$;for($=-255;510>=$;++$)Zo[255+$]=0>$?0:255<$?255:$;Qo=1}jr=Ha,xr=Os,Kn=Ms,fi=qs,lr=sr,Tr=Wa,ke=Xa,Pe=Ka,He=Ya,Qe=c,Nr=Ja,ba=nn,Jn=v,Qa=I,zo=Tn,Wo=ua,Ho=Dn,Go=Va,Ji[0]=zs,Ji[1]=
1433
+ Rn,Ji[2]=Ds,Ji[3]=Us,Ji[4]=Ws,Ji[5]=wr,Ji[6]=Hs,Ji[7]=yr,Ji[8]=Vs,Ji[9]=Gs,Dr[0]=Ga,Dr[1]=Rs,Dr[2]=Bs,Dr[3]=js,Dr[4]=Or,Dr[5]=Ts,Dr[6]=en,Sr[0]=Xs,Sr[1]=sa,Sr[2]=Bn,Sr[3]=oa,Sr[4]=Ks,Sr[5]=jn,Sr[6]=ca,
1434
+ $=1}else $=0}$&&($=function(de,ti){for(de.M=0;de.M<de.Va;++de.M){var ne,Mt=de.Jc[de.M&de.Xb],Nt=de.m,Ge=de;for(ne=0;ne<Ge.za;++ne){var te=Nt,ge=Ge,Ee=ge.Ac,oi=ge.Bc+4*ne,Li=ge.zc,De=ge.ya[ge.aa+ne];if(ge.
1435
+ Qa.Bb?De.$b=mt(te,ge.Pa.jb[0])?2+mt(te,ge.Pa.jb[2]):mt(te,ge.Pa.jb[1]):De.$b=0,ge.kc&&(De.Ad=mt(te,ge.Bd)),De.Za=!mt(te,145)+0,De.Za){var di=De.Ob,_i=0;for(ge=0;4>ge;++ge){var ei,ve=Li[0+ge];for(ei=0;4>
1436
+ ei;++ei){ve=c1[Ee[oi+ei]][ve];for(var we=rc[mt(te,ve[0])];0<we;)we=rc[2*we+mt(te,ve[we])];ve=-we,Ee[oi+ei]=ve}n(di,_i,Ee,oi,4),_i+=4,Li[0+ge]=ve}}else ve=mt(te,156)?mt(te,128)?1:3:mt(te,163)?2:0,De.Ob[0]=
1437
+ ve,a(Ee,oi,ve,4),a(Li,0,ve,4);De.Dd=mt(te,142)?mt(te,114)?mt(te,183)?1:3:2:0}if(Ge.m.Ka)return Ye(de,7,"Premature end-of-partition0 encountered.");for(;de.ja<de.za;++de.ja){if(Ge=Mt,te=(Nt=de).rb[Nt.sb-
1438
+ 1],Ee=Nt.rb[Nt.sb+Nt.ja],ne=Nt.ya[Nt.aa+Nt.ja],oi=Nt.kc?ne.Ad:0)te.la=Ee.la=0,ne.Za||(te.Na=Ee.Na=0),ne.Hc=0,ne.Gc=0,ne.ia=0;else{var Ue,ye;if(te=Ee,Ee=Ge,oi=Nt.Pa.Xc,Li=Nt.ya[Nt.aa+Nt.ja],De=Nt.pb[Li.
1439
+ $b],ge=Li.ad,di=0,_i=Nt.rb[Nt.sb-1],ve=ei=0,a(ge,di,0,384),Li.Za)var ci=0,Yi=oi[3];else{we=s(16);var Ve=te.Na+_i.Na;if(Ve=ya(Ee,oi[1],Ve,De.Eb,0,we,0),te.Na=_i.Na=(0<Ve)+0,1<Ve)jr(we,0,ge,di);else{var Ni=we[0]+
1440
+ 3>>3;for(we=0;256>we;we+=16)ge[di+we]=Ni}ci=1,Yi=oi[0]}var xe=15&te.la,ii=15&_i.la;for(we=0;4>we;++we){var Fi=1&ii;for(Ni=ye=0;4>Ni;++Ni)xe=xe>>1|(Fi=(Ve=ya(Ee,Yi,Ve=Fi+(1&xe),De.Sc,ci,ge,di))>ci)<<7,
1441
+ ye=ye<<2|(3<Ve?3:1<Ve?2:ge[di+0]!=0),di+=16;xe>>=4,ii=ii>>1|Fi<<7,ei=(ei<<8|ye)>>>0}for(Yi=xe,ci=ii>>4,Ue=0;4>Ue;Ue+=2){for(ye=0,xe=te.la>>4+Ue,ii=_i.la>>4+Ue,we=0;2>we;++we){for(Fi=1&ii,Ni=0;2>Ni;++Ni)
1442
+ Ve=Fi+(1&xe),xe=xe>>1|(Fi=0<(Ve=ya(Ee,oi[2],Ve,De.Qc,0,ge,di)))<<3,ye=ye<<2|(3<Ve?3:1<Ve?2:ge[di+0]!=0),di+=16;xe>>=2,ii=ii>>1|Fi<<5}ve|=ye<<4*Ue,Yi|=xe<<4<<Ue,ci|=(240&ii)<<Ue}te.la=Yi,_i.la=ci,Li.Hc=
1443
+ ei,Li.Gc=ve,Li.ia=43690&ve?0:De.ia,oi=!(ei|ve)}if(0<Nt.L&&(Nt.wa[Nt.Y+Nt.ja]=Nt.gd[ne.$b][ne.Za],Nt.wa[Nt.Y+Nt.ja].La|=!oi),Ge.Ka)return Ye(de,7,"Premature end-of-file encountered.")}if(aa(de),Nt=ti,Ge=
1444
+ 1,ne=(Mt=de).D,te=0<Mt.L&&Mt.M>=Mt.zb&&Mt.M<=Mt.Va,Mt.Aa==0)e:{if(ne.M=Mt.M,ne.uc=te,Wn(Mt,ne),Ge=1,ne=(ye=Mt.D).Nb,te=(ve=cs[Mt.L])*Mt.R,Ee=ve/2*Mt.B,we=16*ne*Mt.R,Ni=8*ne*Mt.B,oi=Mt.sa,Li=Mt.ta-te+we,
1445
+ De=Mt.qa,ge=Mt.ra-Ee+Ni,di=Mt.Ha,_i=Mt.Ia-Ee+Ni,ii=(xe=ye.M)==0,ei=xe>=Mt.Va-1,Mt.Aa==2&&Wn(Mt,ye),ye.uc)for(Fi=(Ve=Mt).D.M,e(Ve.D.uc),ye=Ve.yb;ye<Ve.Hb;++ye){ci=ye,Yi=Fi;var Ai=(Ei=(hi=Ve).D).Nb;Ue=hi.
1446
+ R;var Ei=Ei.wa[Ei.Y+ci],Ci=hi.sa,Si=hi.ta+16*Ai*Ue+16*ci,Oi=Ei.dd,Ie=Ei.tc;if(Ie!=0)if(e(3<=Ie),hi.L==1)0<ci&&Wo(Ci,Si,Ue,Ie+4),Ei.La&&Go(Ci,Si,Ue,Ie),0<Yi&&zo(Ci,Si,Ue,Ie+4),Ei.La&&Ho(Ci,Si,Ue,Ie);else{
1447
+ var Mi=hi.B,$i=hi.qa,mn=hi.ra+8*Ai*Mi+8*ci,kr=hi.Ha,hi=hi.Ia+8*Ai*Mi+8*ci;Ai=Ei.ld,0<ci&&(Pe(Ci,Si,Ue,Ie+4,Oi,Ai),Qe($i,mn,kr,hi,Mi,Ie+4,Oi,Ai)),Ei.La&&(ba(Ci,Si,Ue,Ie,Oi,Ai),Qa($i,mn,kr,hi,Mi,Ie,Oi,Ai)),
1448
+ 0<Yi&&(ke(Ci,Si,Ue,Ie+4,Oi,Ai),He($i,mn,kr,hi,Mi,Ie+4,Oi,Ai)),Ei.La&&(Nr(Ci,Si,Ue,Ie,Oi,Ai),Jn($i,mn,kr,hi,Mi,Ie,Oi,Ai))}}if(Mt.ia&&alert("todo:DitherRow"),Nt.put!=null){if(ye=16*xe,xe=16*(xe+1),ii?(Nt.
1449
+ y=Mt.sa,Nt.O=Mt.ta+we,Nt.f=Mt.qa,Nt.N=Mt.ra+Ni,Nt.ea=Mt.Ha,Nt.W=Mt.Ia+Ni):(ye-=ve,Nt.y=oi,Nt.O=Li,Nt.f=De,Nt.N=ge,Nt.ea=di,Nt.W=_i),ei||(xe-=ve),xe>Nt.o&&(xe=Nt.o),Nt.F=null,Nt.J=null,Mt.Fa!=null&&0<Mt.
1450
+ Fa.length&&ye<xe&&(Nt.J=$e(Mt,Nt,ye,xe-ye),Nt.F=Mt.mb,Nt.F==null&&Nt.F.length==0)){Ge=Ye(Mt,3,"Could not decode alpha data.");break e}ye<Nt.j&&(ve=Nt.j-ye,ye=Nt.j,e(!(1&ve)),Nt.O+=Mt.R*ve,Nt.N+=Mt.B*(ve>>
1451
+ 1),Nt.W+=Mt.B*(ve>>1),Nt.F!=null&&(Nt.J+=Nt.width*ve)),ye<xe&&(Nt.O+=Nt.v,Nt.N+=Nt.v>>1,Nt.W+=Nt.v>>1,Nt.F!=null&&(Nt.J+=Nt.v),Nt.ka=ye-Nt.j,Nt.U=Nt.va-Nt.v,Nt.T=xe-ye,Ge=Nt.put(Nt))}ne+1!=Mt.Ic||ei||
1452
+ (n(Mt.sa,Mt.ta-te,oi,Li+16*Mt.R,te),n(Mt.qa,Mt.ra-Ee,De,ge+8*Mt.B,Ee),n(Mt.Ha,Mt.Ia-Ee,di,_i+8*Mt.B,Ee))}if(!Ge)return Ye(de,6,"Output aborted.")}return 1}(C,X)),X.bc!=null&&X.bc(X),$&=1}return $?(C.cb=
1453
+ 0,$):0})(r,p)||(o=r.a)}}else o=r.a}o==0&&L.Oa!=null&&L.Oa.fd&&(o=ln(L.ba))}L=o}w=L!=0?null:11>w?x.f.RGBA.eb:x.f.kb.y}else w=null;return w};var uc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(B,et){for(var A="",
1454
+ R=0;R<4;R++)A+=String.fromCharCode(B[et++]);return A}function m(B,et){return B[et+0]|B[et+1]<<8}function S(B,et){return(B[et+0]|B[et+1]<<8|B[et+2]<<16)>>>0}function k(B,et){return(B[et+0]|B[et+1]<<8|B[et+
1455
+ 2]<<16|B[et+3]<<24)>>>0}new g;var f=[0],T=[0],F=[],y=new g,H=i,z=function(B,et){var A={},R=0,U=!1,D=0,it=0;if(A.frames=[],!function(_,O){for(var q=0;q<4;q++)if(_[O+q]!="RIFF".charCodeAt(q))return!0;return!1}(
1456
+ B,et)){for(k(B,et+=4),et+=8;et<B.length;){var pt=d(B,et),ut=k(B,et+=4);et+=4;var rt=ut+(1&ut);switch(pt){case"VP8 ":case"VP8L":A.frames[R]===void 0&&(A.frames[R]={}),(wt=A.frames[R]).src_off=U?it:et-8,
1457
+ wt.src_size=D+ut+8,R++,U&&(U=!1,D=0,it=0);break;case"VP8X":(wt=A.header={}).feature_flags=B[et];var ft=et+4;wt.canvas_width=1+S(B,ft),ft+=3,wt.canvas_height=1+S(B,ft),ft+=3;break;case"ALPH":U=!0,D=rt+
1458
+ 8,it=et-8;break;case"ANIM":(wt=A.header).bgcolor=k(B,et),ft=et+4,wt.loop_count=m(B,ft),ft+=2;break;case"ANMF":var gt,wt;(wt=A.frames[R]={}).offset_x=2*S(B,et),et+=3,wt.offset_y=2*S(B,et),et+=3,wt.width=
1459
+ 1+S(B,et),et+=3,wt.height=1+S(B,et),et+=3,wt.duration=S(B,et),et+=3,gt=B[et++],wt.dispose=1&gt,wt.blend=gt>>1&1}pt!="ANMF"&&(et+=rt)}return A}}(H,0);z.response=H,z.rgbaoutput=!0,z.dataurl=!1;var M=z.header?
1460
+ z.header:null,Y=z.frames?z.frames:null;if(M){M.loop_counter=M.loop_count,f=[M.canvas_height],T=[M.canvas_width];for(var at=0;at<Y.length&&Y[at].blend!=0;at++);}var nt=Y[0],_t=y.WebPDecodeRGBA(H,nt.src_off,
1461
+ nt.src_size,T,f);nt.rgba=_t,nt.imgwidth=T[0],nt.imgheight=f[0];for(var V=0;V<T[0]*f[0]*4;V++)F[V]=_t[V];return this.width=T,this.height=f,this.data=F,this}function hu(){var i,e=this.internal.__metadata__.
1462
+ metadata,t=unescape(encodeURIComponent(e));i=this.internal.__metadata__.rawXml?t:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description \
1463
+ rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+
1464
+ "</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+i.
1465
+ length+" >>"),this.internal.write("stream"),this.internal.write(i),this.internal.write("endstream"),this.internal.write("endobj")}function lu(){this.internal.__metadata__.metadataObjectNumber&&this.internal.
1466
+ write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(i){i[i.UNKNOWN=0]="UNKNOWN",i[i.METRE=1]="METRE"})(Rh||(Rh={})),Dt.API.processPNG=function(i,e,t,n){if(this.__addimage__.
1467
+ isArrayBuffer(i)&&(i=new Uint8Array(i)),this.__addimage__.isArrayBufferView(i)){var a,s=new nu(i,{checkCrc:!1}).decode(),l=s.width,u=s.height,g=s.channels,d=s.palette,m=s.depth;a=d&&g===1?function(V){
1468
+ for(var B=V.width,et=V.height,A=V.data,R=V.palette,U=V.depth,D=!1,it=[],pt=[],ut=void 0,rt=!1,ft=0,gt=0;gt<R.length;gt++){var wt=xc(R[gt],4),_=wt[0],O=wt[1],q=wt[2],G=wt[3];it.push(_,O,q),G!=null&&(G===
1469
+ 0?(ft++,pt.length<1&&pt.push(gt)):G<255&&(rt=!0))}if(rt||ft>1){D=!0,pt=void 0;var K=B*et;ut=new Uint8Array(K);for(var Z=new DataView(A.buffer),st=0;st<K;st++){var ot=xc(R[To(Z,st,U)],4)[3];ut[st]=ot}}else
1470
+ ft===0&&(pt=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:D?8:void 0,colorBytes:A,alphaBytes:ut,needSMask:D,palette:it,mask:pt}}(s):g===2||g===4?function(V){for(var B=V.data,
1471
+ et=V.width,A=V.height,R=V.channels,U=V.depth,D=R===2?"DeviceGray":"DeviceRGB",it=R-1,pt=et*A,ut=it,rt=pt*ut,ft=1*pt,gt=Math.ceil(rt*U/8),wt=Math.ceil(ft*U/8),_=new Uint8Array(gt),O=new Uint8Array(wt),
1472
+ q=new DataView(B.buffer),G=new DataView(_.buffer),K=new DataView(O.buffer),Z=!1,st=0;st<pt;st++){for(var ot=st*R,mt=0;mt<ut;mt++)Gh(G,To(q,ot+mt,U),st*ut+mt,U);var At=To(q,ot+ut,U);At<(1<<U)-1&&(Z=!0),
1473
+ Gh(K,At,1*st,U)}return{colorSpace:D,colorsPerPixel:it,sMaskBitsPerComponent:Z?U:void 0,colorBytes:_,alphaBytes:O,needSMask:Z}}(s):function(V){var B,et=V.data,A=V.channels===1?"DeviceGray":"DeviceRGB",
1474
+ R=A==="DeviceGray"?1:3;return B=et instanceof Uint16Array?function(U){for(var D=U.length,it=new Uint8Array(2*D),pt=new DataView(it.buffer,it.byteOffset,it.byteLength),ut=0;ut<D;ut++)pt.setUint16(2*ut,
1475
+ U[ut],!1);return it}(et):et,{colorSpace:A,colorsPerPixel:R,colorBytes:B,needSMask:!1}}(s);var S,k,f,T=a,F=T.colorSpace,y=T.colorsPerPixel,H=T.sMaskBitsPerComponent,z=T.colorBytes,M=T.alphaBytes,Y=T.needSMask,
1476
+ at=T.palette,nt=T.mask,_t=null;return n!==Dt.API.image_compression.NONE?(_t=function(V){var B;switch(V){case Dt.API.image_compression.FAST:B=11;break;case Dt.API.image_compression.MEDIUM:B=13;break;case Dt.
1477
+ API.image_compression.SLOW:B=14;break;default:B=12}return B}(n),S=this.decode.FLATE_DECODE,k="/Predictor ".concat(_t," /Colors ").concat(y," /BitsPerComponent ").concat(m," /Columns ").concat(l),i=Dh(
1478
+ z,Math.ceil(l*y*m/8),y,m,n),Y&&(f=Dh(M,Math.ceil(l*H/8),1,H,n))):(S=void 0,k=void 0,i=z,Y&&(f=M)),(this.__addimage__.isArrayBuffer(i)||this.__addimage__.isArrayBufferView(i))&&(i=this.__addimage__.arrayBufferToBinaryString(
1479
+ i)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:t,data:i,index:e,filter:S,decodeParameters:k,transparency:nt,
1480
+ palette:at,sMask:f,predictor:_t,width:l,height:u,bitsPerComponent:m,sMaskBitsPerComponent:H,colorSpace:F}}},function(i){i.processGIF89A=function(e,t,n,a){var s=new cu(e),l=s.width,u=s.height,g=[];s.decodeAndBlitFrameRGBA(
1481
+ 0,g);var d={data:g,width:l,height:u},m=new Do(100).encode(d,100);return i.processJPEG.call(this,m,t,n,a)},i.processGIF87A=i.processGIF89A}(Dt.API),Qi.prototype.parseHeader=function(){if(this.fileSize=
1482
+ 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(
1483
+ 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.
1484
+ 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(
1485
+ 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+=
1486
+ 4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var i=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(i);for(var e=0;e<i;e++){var t=this.datav.getUint8(this.pos++,
1487
+ !0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:a,green:n,blue:t,quad:s}}}this.height<0&&(this.height*=-1,this.bottom_up=
1488
+ !1)},Qi.prototype.parseBGR=function(){this.pos=this.offset;var i="bit"+this.bitPP,e=this.width*this.height*4;if(e>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=
1489
+ new Uint8Array(e);try{this[i]()}catch(t){Ce.log("bit decode error:"+t)}},Qi.prototype.bit1=function(){var i,e=Math.ceil(this.width/8),t=e%4;for(i=this.height-1;i>=0;i--){for(var n=this.bottom_up?i:this.
1490
+ height-1-i,a=0;a<e;a++)for(var s=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+8*a*4,u=0;u<8&&8*a+u<this.width;u++){var g=this.palette[s>>7-u&1];this.data[l+4*u]=g.blue,this.data[l+4*u+1]=g.green,
1491
+ this.data[l+4*u+2]=g.red,this.data[l+4*u+3]=255}t!==0&&(this.pos+=4-t)}},Qi.prototype.bit4=function(){for(var i=Math.ceil(this.width/2),e=i%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.
1492
+ height-1-t,a=0;a<i;a++){var s=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+2*a*4,u=s>>4,g=15&s,d=this.palette[u];if(this.data[l]=d.blue,this.data[l+1]=d.green,this.data[l+2]=d.red,this.data[l+3]=
1493
+ 255,2*a+1>=this.width)break;d=this.palette[g],this.data[l+4]=d.blue,this.data[l+4+1]=d.green,this.data[l+4+2]=d.red,this.data[l+4+3]=255}e!==0&&(this.pos+=4-e)}},Qi.prototype.bit8=function(){for(var i=this.
1494
+ width%4,e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;if(a<this.palette.length){var l=this.palette[a];
1495
+ this.data[s]=l.red,this.data[s+1]=l.green,this.data[s+2]=l.blue,this.data[s+3]=255}else this.data[s]=255,this.data[s+1]=255,this.data[s+2]=255,this.data[s+3]=255}i!==0&&(this.pos+=4-i)}},Qi.prototype.
1496
+ bit15=function(){for(var i=this.width%3,e=parseInt("11111",2),t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var s=this.datav.getUint16(this.pos,!0);this.pos+=
1497
+ 2;var l=(s&e)/e*255|0,u=(s>>5&e)/e*255|0,g=(s>>10&e)/e*255|0,d=s>>15?255:0,m=n*this.width*4+4*a;this.data[m]=g,this.data[m+1]=u,this.data[m+2]=l,this.data[m+3]=d}this.pos+=i}},Qi.prototype.bit16=function(){
1498
+ for(var i=this.width%3,e=parseInt("11111",2),t=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,s=0;s<this.width;s++){var l=this.datav.getUint16(this.pos,!0);this.
1499
+ pos+=2;var u=(l&e)/e*255|0,g=(l>>5&t)/t*255|0,d=(l>>11)/e*255|0,m=a*this.width*4+4*s;this.data[m]=d,this.data[m+1]=g,this.data[m+2]=u,this.data[m+3]=255}this.pos+=i}},Qi.prototype.bit24=function(){for(var i=this.
1500
+ height-1;i>=0;i--){for(var e=this.bottom_up?i:this.height-1-i,t=0;t<this.width;t++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),l=e*
1501
+ this.width*4+4*t;this.data[l]=s,this.data[l+1]=a,this.data[l+2]=n,this.data[l+3]=255}this.pos+=this.width%4}},Qi.prototype.bit32=function(){for(var i=this.height-1;i>=0;i--)for(var e=this.bottom_up?i:
1502
+ this.height-1-i,t=0;t<this.width;t++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),l=this.datav.getUint8(this.pos++,!0),u=e*this.width*
1503
+ 4+4*t;this.data[u]=s,this.data[u+1]=a,this.data[u+2]=n,this.data[u+3]=l}},Qi.prototype.getData=function(){return this.data},function(i){i.processBMP=function(e,t,n,a){var s=new Qi(e,!1),l=s.width,u=s.
1504
+ height,g={data:s.getData(),width:l,height:u},d=new Do(100).encode(g,100);return i.processJPEG.call(this,d,t,n,a)}}(Dt.API),Kh.prototype.getData=function(){return this.data},function(i){i.processWEBP=function(e,t,n,a){
1505
+ var s=new Kh(e),l=s.width,u=s.height,g={data:s.getData(),width:l,height:u},d=new Do(100).encode(g,100);return i.processJPEG.call(this,d,t,n,a)}}(Dt.API),Dt.API.processRGBA=function(i,e,t){for(var n=i.
1506
+ data,a=n.length,s=new Uint8Array(a/4*3),l=new Uint8Array(a/4),u=0,g=0,d=0;d<a;d+=4){var m=n[d],S=n[d+1],k=n[d+2],f=n[d+3];s[u++]=m,s[u++]=S,s[u++]=k,l[g++]=f}var T=this.__addimage__.arrayBufferToBinaryString(
1507
+ s);return{alpha:this.__addimage__.arrayBufferToBinaryString(l),data:T,index:e,alias:t,colorSpace:"DeviceRGB",bitsPerComponent:8,width:i.width,height:i.height}},Dt.API.setLanguage=function(i){return this.
1508
+ internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","\
1509
+ 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 (Moro\
1510
+ cco)","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:"Aragon\
1511
+ ese",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:"\
1512
+ 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:"Du\
1513
+ tch (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-N\
1514
+ Z":"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)","\
1515
+ 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)","f\
1516
+ r-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 (St\
1517
+ andard)","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:"H\
1518
+ ebrew",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:"\
1519
+ 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:"\
1520
+ 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:"\
1521
+ Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Roman\
1522
+ ian","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:"Sloven\
1523
+ ian",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":"Span\
1524
+ ish (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)",
1525
+ "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:"\
1526
+ 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:"Ukr\
1527
+ ainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[i]!==void 0&&(this.internal.languageSettings.languageCode=i,this.
1528
+ internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.
1529
+ isSubscribed=!0)),this},ea=Dt.API,Fs=ea.getCharWidthsArray=function(i,e){var t,n,a=(e=e||{}).font||this.internal.getFont(),s=e.fontSize||this.internal.getFontSize(),l=e.charSpace||this.internal.getCharSpace(),
1530
+ u=e.widths?e.widths:a.metadata.Unicode.widths,g=u.fof?u.fof:1,d=e.kerning?e.kerning:a.metadata.Unicode.kerning,m=d.fof?d.fof:1,S=e.doKerning!==!1,k=0,f=i.length,T=0,F=u[0]||g,y=[];for(t=0;t<f;t++)n=i.
1531
+ charCodeAt(t),typeof a.metadata.widthOfString=="function"?y.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(n))+l*(1e3/s)||0)/1e3):(k=S&&Ne(d[n])==="object"&&!isNaN(parseInt(d[n][T],10))?d[n][T]/
1532
+ m:0,y.push((u[n]||F)/g+k)),T=n;return y},Bh=ea.getStringUnitWidth=function(i,e){var t=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),a=e.charSpace||this.internal.getCharSpace();
1533
+ return ea.processArabic&&(i=ea.processArabic(i)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(i,t,a)/t:Fs.apply(this,arguments).reduce(function(s,l){return s+l},0)},jh=function(i,e,t,n){
1534
+ for(var a=[],s=0,l=i.length,u=0;s!==l&&u+e[s]<t;)u+=e[s],s++;a.push(i.slice(0,s));var g=s;for(u=0;s!==l;)u+e[s]>n&&(a.push(i.slice(g,s)),u=0,g=s),u+=e[s],s++;return g!==s&&a.push(i.slice(g,s)),a},Th=function(i,e,t){
1535
+ t||(t={});var n,a,s,l,u,g,d,m=[],S=[m],k=t.textIndent||0,f=0,T=0,F=i.split(" "),y=Fs.apply(this,[" ",t])[0];if(g=t.lineIndent===-1?F[0].length+2:t.lineIndent||0){var H=Array(g).join(" "),z=[];F.map(function(Y){
1536
+ (Y=Y.split(/\s*\n/)).length>1?z=z.concat(Y.map(function(at,nt){return(nt&&at.length?`
1537
+ `:"")+at})):z.push(Y[0])}),F=z,g=Bh.apply(this,[H,t])}for(s=0,l=F.length;s<l;s++){var M=0;if(n=F[s],g&&n[0]==`
1538
+ `&&(n=n.substr(1),M=1),k+f+(T=(a=Fs.apply(this,[n,t])).reduce(function(Y,at){return Y+at},0))>e||M){if(T>e){for(u=jh.apply(this,[n,a,e-(k+f),e]),m.push(u.shift()),m=[u.pop()];u.length;)S.push([u.shift()]);
1539
+ T=a.slice(n.length-(m[0]?m[0].length:0)).reduce(function(Y,at){return Y+at},0)}else m=[n];S.push(m),k=T+g,f=y}else m.push(n),k+=f+T,f=y}return d=g?function(Y,at){return(at?H:"")+Y.join(" ")}:function(Y){
1540
+ return Y.join(" ")},S.map(d)},ea.splitTextToSize=function(i,e,t){var n,a=(t=t||{}).fontSize||this.internal.getFontSize(),s=function(m){if(m.widths&&m.kerning)return{widths:m.widths,kerning:m.kerning};
1541
+ var S=this.internal.getFont(m.fontName,m.fontStyle),k="Unicode";return S.metadata[k]?{widths:S.metadata[k].widths||{0:1},kerning:S.metadata[k].kerning||{}}:{font:S.metadata,fontSize:this.internal.getFontSize(),
1542
+ charSpace:this.internal.getCharSpace()}}.call(this,t);n=Array.isArray(i)?i:String(i).split(/\r?\n/);var l=1*this.internal.scaleFactor*e/a;s.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/
1543
+ a:0,s.lineIndent=t.lineIndent;var u,g,d=[];for(u=0,g=n.length;u<g;u++)d=d.concat(Th.apply(this,[n[u],l,s]));return d},function(i){i.__fontmetrics__=i.__fontmetrics__||{};for(var e="0123456789abcdef",t="\
1544
+ klmnopqrstuvwxyz",n={},a={},s=0;s<16;s++)n[t[s]]=e[s],a[e[s]]=t[s];var l=function(k){return"0x"+parseInt(k,10).toString(16)},u=i.__fontmetrics__.compress=function(k){var f,T,F,y,H=["{"];for(var z in k){
1545
+ if(f=k[z],isNaN(parseInt(z,10))?T="'"+z+"'":(z=parseInt(z,10),T=(T=l(z).slice(2)).slice(0,-1)+a[T.slice(-1)]),typeof f=="number")f<0?(F=l(f).slice(3),y="-"):(F=l(f).slice(2),y=""),F=y+F.slice(0,-1)+a[F.
1546
+ slice(-1)];else{if(Ne(f)!=="object")throw new Error("Don't know what to do with value type "+Ne(f)+".");F=u(f)}H.push(T+F)}return H.push("}"),H.join("")},g=i.__fontmetrics__.uncompress=function(k){if(typeof k!=
1547
+ "string")throw new Error("Invalid argument passed to uncompress.");for(var f,T,F,y,H={},z=1,M=H,Y=[],at="",nt="",_t=k.length-1,V=1;V<_t;V+=1)(y=k[V])=="'"?f?(F=f.join(""),f=void 0):f=[]:f?f.push(y):y==
1548
+ "{"?(Y.push([M,F]),M={},F=void 0):y=="}"?((T=Y.pop())[0][T[1]]=M,F=void 0,M=T[0]):y=="-"?z=-1:F===void 0?n.hasOwnProperty(y)?(at+=n[y],F=parseInt(at,16)*z,z=1,at=""):at+=y:n.hasOwnProperty(y)?(nt+=n[y],
1549
+ M[F]=parseInt(nt,16)*z,z=1,F=void 0,nt=""):nt+=y;return H},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:g("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8\
1550
+ t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},m={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOb\
1551
+ lique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},S={Unicode:{"Courier-Oblique":g("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":g(
1552
+ "{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y\
1553
+ 3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k\
1554
+ 3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4\
1555
+ mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203\
1556
+ k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs1\
1557
+ 7ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{\
1558
+ 4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5\
1559
+ rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5r\
1560
+ s}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscp\
1561
+ s4ls}}}"),"Helvetica-Bold":g("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3\
1562
+ s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6\
1563
+ t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s\
1564
+ 202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr\
1565
+ 3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y\
1566
+ {7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st\
1567
+ 5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17\
1568
+ st5tt5os}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{17su5tu5\
1569
+ os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:g("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":g("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),
1570
+ "Times-Bold":g("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2\
1571
+ l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1\
1572
+ w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4s\
1573
+ cp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3r\
1574
+ fw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'\
1575
+ fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv\
1576
+ 5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucn\
1577
+ ucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17s\
1578
+ s5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}\
1579
+ fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:g("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3\
1580
+ u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:g("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6\
1581
+ o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5\
1582
+ y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4ta\
1583
+ u2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3r\
1584
+ eq5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy\
1585
+ 2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5t\
1586
+ v}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\
1587
+ {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}\
1588
+ 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{17sv5\
1589
+ tv5ow}}}"),"Helvetica-BoldOblique":g("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3\
1590
+ q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6\
1591
+ r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3r\
1592
+ bz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp\
1593
+ 3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5\
1594
+ ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv\
1595
+ }6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5\
1596
+ os}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{\
1597
+ 17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:g("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":g("{'widths'{k3w'fof'6o}'kerning'{'f\
1598
+ of'-6o}}"),"Times-Italic":g("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s\
1599
+ 3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t\
1600
+ 1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x2\
1601
+ 02k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4\
1602
+ nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs\
1603
+ 5ky7mw5os5qx5ru17su5tu}'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{ckucl\
1604
+ ucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17\
1605
+ su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}f\
1606
+ p{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":g("{'widths'{k3n2q4ycx2l201n3m201o6o201s2\
1607
+ l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4\
1608
+ s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7\
1609
+ u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm\
1610
+ 4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'\
1611
+ kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4l\
1612
+ u5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs\
1613
+ 5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4l\
1614
+ t4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{1\
1615
+ 7su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17\
1616
+ sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":g("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2\
1617
+ v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5\
1618
+ w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2\
1619
+ lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu\
1620
+ 3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmuc\
1621
+ nu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs1\
1622
+ 7sv5tv}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\
1623
+ {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}e\
1624
+ v{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}}}")}};i.events.
1625
+ push(["addFont",function(k){var f=k.font,T=S.Unicode[f.postScriptName];T&&(f.metadata.Unicode={},f.metadata.Unicode.widths=T.widths,f.metadata.Unicode.kerning=T.kerning);var F=m.Unicode[f.postScriptName];
1626
+ F&&(f.metadata.Unicode.encoding=F,f.encoding=F.codePages[0])}])}(Dt.API),function(i){var e=function(t){for(var n=t.length,a=new Uint8Array(n),s=0;s<n;s++)a[s]=t.charCodeAt(s);return a};i.API.events.push(
1627
+ ["addFont",function(t){var n=void 0,a=t.font,s=t.instance;if(!a.isStandardFont){if(s===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+
1628
+ "').");if(typeof(n=s.existsFileInVFS(a.postScriptName)===!1?s.loadFile(a.postScriptName):s.getFileFromVFS(a.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import\
1629
+ fonts or remove declaration doc.addFont('"+a.postScriptName+"').");(function(l,u){u=/^\x00\x01\x00\x00/.test(u)?e(u):e(vs(u)),l.metadata=i.API.TTFFont.open(u),l.metadata.Unicode=l.metadata.Unicode||{
1630
+ encoding:{},kerning:{},widths:[]},l.metadata.glyIdsUsed=[0]})(a,n)}}])}(Dt),Dt.API.putTotalPages=function(i){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(i,"g"),t=this.
1631
+ internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(i,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.
1632
+ getNumberOfPages();n++)for(var a=0;a<this.internal.pages[n].length;a++)this.internal.pages[n][a]=this.internal.pages[n][a].replace(e,t);return this},Dt.API.viewerPreferences=function(i,e){var t;i=i||{},
1633
+ e=e||!1;var n,a,s,l={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:[
1634
+ !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:[
1635
+ !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:[
1636
+ !0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"\
1637
+ 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",
1638
+ "BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{
1639
+ defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"\
1640
+ name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppD\
1641
+ efault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{
1642
+ 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,
1643
+ value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(l),g=[],d=0,m=0,S=0;function k(T,F){var y,H=!1;for(y=0;y<T.length;y+=1)T[y]===F&&(H=!0);return H}if(this.internal.viewerpreferences===
1644
+ void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(l)),this.internal.viewerpreferences.isSubscribed=!1),t=this.internal.viewerpreferences.
1645
+ configuration,i==="reset"||e===!0){var f=u.length;for(S=0;S<f;S+=1)t[u[S]].value=t[u[S]].defaultValue,t[u[S]].explicitSet=!1}if(Ne(i)==="object"){for(a in i)if(s=i[a],k(u,a)&&s!==void 0){if(t[a].type===
1646
+ "boolean"&&typeof s=="boolean")t[a].value=s;else if(t[a].type==="name"&&k(t[a].valueSet,s))t[a].value=s;else if(t[a].type==="integer"&&Number.isInteger(s))t[a].value=s;else if(t[a].type==="array"){for(d=
1647
+ 0;d<s.length;d+=1)if(n=!0,s[d].length===1&&typeof s[d][0]=="number")g.push(String(s[d]-1));else if(s[d].length>1){for(m=0;m<s[d].length;m+=1)typeof s[d][m]!="number"&&(n=!1);n===!0&&g.push([s[d][0]-1,
1648
+ s[d][1]-1].join(" "))}t[a].value="["+g.join(" ")+"]"}else t[a].value=t[a].defaultValue;t[a].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("p\
1649
+ utCatalog",function(){var T,F=[];for(T in t)t[T].explicitSet===!0&&(t[T].type==="name"?F.push("/"+T+" /"+t[T].value):F.push("/"+T+" "+t[T].value));F.length!==0&&this.internal.write(`/ViewerPreferences\
1650
+
1651
+ <<
1652
+ `+F.join(`
1653
+ `)+`
1654
+ >>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=t,this},Dt.API.addMetadata=function(i,e){return this.internal.__metadata__===void 0&&(this.internal.
1655
+ __metadata__={metadata:i,namespaceUri:e??"http://jspdf.default.namespaceuri/",rawXml:typeof e=="boolean"&&e},this.internal.events.subscribe("putCatalog",lu),this.internal.events.subscribe("postPutReso\
1656
+ urces",hu)),this},function(i){var e=i.API,t=e.pdfEscape16=function(l,u){for(var g,d=u.metadata.Unicode.widths,m=["","0","00","000","0000"],S=[""],k=0,f=l.length;k<f;++k){if(g=u.metadata.characterToGlyph(
1657
+ l.charCodeAt(k)),u.metadata.glyIdsUsed.push(g),u.metadata.toUnicode[g]=l.charCodeAt(k),d.indexOf(g)==-1&&(d.push(g),d.push([parseInt(u.metadata.widthOfGlyph(g),10)])),g=="0")return S.join("");g=g.toString(
1658
+ 16),S.push(m[4-g.length],g)}return S.join("")},n=function(l){var u,g,d,m,S,k,f;for(S=`/CIDInit /ProcSet findresource begin
1659
+ 12 dict begin
1660
+ begincmap
1661
+ /CIDSystemInfo <<
1662
+ /Registry (Adobe)
1663
+ /Ordering (UCS)
1664
+ /Supplement 0
1665
+ >> def
1666
+ /CMapName /Adobe-Identity-UCS def
1667
+ /CMapType 2 def
1668
+ 1 begincodespacerange
1669
+ <0000><ffff>
1670
+ endcodespacerange`,d=[],k=0,f=(g=Object.keys(l).sort(function(T,F){return T-F})).length;k<f;k++)u=g[k],d.length>=100&&(S+=`
1671
+ `+d.length+` beginbfchar
1672
+ `+d.join(`
1673
+ `)+`
1674
+ endbfchar`,d=[]),l[u]!==void 0&&l[u]!==null&&typeof l[u].toString=="function"&&(m=("0000"+l[u].toString(16)).slice(-4),u=("0000"+(+u).toString(16)).slice(-4),d.push("<"+u+"><"+m+">"));return d.length&&
1675
+ (S+=`
1676
+ `+d.length+` beginbfchar
1677
+ `+d.join(`
1678
+ `)+`
1679
+ endbfchar
1680
+ `),S+`endcmap
1681
+ CMapName currentdict /CMap defineresource pop
1682
+ end
1683
+ end`},a=function(l,u){var g=l.metadata.name&&l.metadata.name.postscriptName||l.fontName;if(!u)return g;for(var d=g+"|"+l.id+"|"+u.join(","),m=2166136261,S=0;S<d.length;S++)m^=d.charCodeAt(S),m=Math.imul(
1684
+ m,16777619)>>>0;for(var k="",f=0;f<6;f++)k+=String.fromCharCode(65+m%26),m=Math.floor(m/26);return k+"+"+g};e.events.push(["putFont",function(l){(function(u){var g=u.font,d=u.out,m=u.newObject,S=u.putStream;
1685
+ if(g.metadata instanceof i.API.TTFFont&&g.encoding==="Identity-H"){for(var k=g.metadata.Unicode.widths,f=g.metadata.subset.encode(g.metadata.glyIdsUsed,1),T="",F=0;F<f.length;F++)T+=String.fromCharCode(
1686
+ f[F]);var y=m();S({data:T,addLength1:!0,objectId:y}),d("endobj");var H=m();S({data:n(g.metadata.toUnicode),addLength1:!0,objectId:H}),d("endobj");var z=ws(a(g,g.metadata.glyIdsUsed)),M=m();d("<<"),d("\
1687
+ /Type /FontDescriptor"),d("/FontName /"+z),d("/FontFile2 "+y+" 0 R"),d("/FontBBox "+i.API.PDFObject.convert(g.metadata.bbox)),d("/Flags "+g.metadata.flags),d("/StemV "+g.metadata.stemV),d("/ItalicAngl\
1688
+ e "+g.metadata.italicAngle),d("/Ascent "+g.metadata.ascender),d("/Descent "+g.metadata.decender),d("/CapHeight "+g.metadata.capHeight),d(">>"),d("endobj");var Y=m();d("<<"),d("/Type /Font"),d("/BaseFo\
1689
+ nt /"+z),d("/FontDescriptor "+M+" 0 R"),d("/W "+i.API.PDFObject.convert(k)),d("/CIDToGIDMap /Identity"),d("/DW 1000"),d("/Subtype /CIDFontType2"),d("/CIDSystemInfo"),d("<<"),d("/Supplement 0"),d("/Reg\
1690
+ istry (Adobe)"),d("/Ordering (Identity)"),d(">>"),d(">>"),d("endobj"),g.objectNumber=m(),d("<<"),d("/Type /Font"),d("/Subtype /Type0"),d("/ToUnicode "+H+" 0 R"),d("/BaseFont /"+z),d("/Encoding /"+g.encoding),
1691
+ d("/DescendantFonts ["+Y+" 0 R]"),d(">>"),d("endobj"),g.isAlreadyPutted=!0}})(l)}]),e.events.push(["putFont",function(l){(function(u){var g=u.font,d=u.out,m=u.newObject,S=u.putStream;if(g.metadata instanceof
1692
+ i.API.TTFFont&&g.encoding==="WinAnsiEncoding"){for(var k=g.metadata.rawData,f="",T=0;T<k.length;T++)f+=String.fromCharCode(k[T]);var F=m();S({data:f,addLength1:!0,objectId:F}),d("endobj");var y=m();S(
1693
+ {data:n(g.metadata.toUnicode),addLength1:!0,objectId:y}),d("endobj");var H=m();d("<<"),d("/Descent "+g.metadata.decender),d("/CapHeight "+g.metadata.capHeight),d("/StemV "+g.metadata.stemV),d("/Type /\
1694
+ FontDescriptor"),d("/FontFile2 "+F+" 0 R"),d("/Flags "+g.metadata.flags),d("/FontBBox "+i.API.PDFObject.convert(g.metadata.bbox)),d("/FontName /"+ws(a(g))),d("/ItalicAngle "+g.metadata.italicAngle),d(
1695
+ "/Ascent "+g.metadata.ascender),d(">>"),d("endobj"),g.objectNumber=m();for(var z=0;z<g.metadata.hmtx.widths.length;z++)g.metadata.hmtx.widths[z]=parseInt(g.metadata.hmtx.widths[z]*(1e3/g.metadata.head.
1696
+ unitsPerEm));d("<</Subtype/TrueType/Type/Font/ToUnicode "+y+" 0 R/BaseFont/"+ws(a(g))+"/FontDescriptor "+H+" 0 R/Encoding/"+g.encoding+" /FirstChar 29 /LastChar 255 /Widths "+i.API.PDFObject.convert(g.
1697
+ metadata.hmtx.widths)+">>"),d("endobj"),g.isAlreadyPutted=!0}})(l)}]);var s=function(l){var u,g=l.text||"",d=l.x,m=l.y,S=l.options||{},k=l.mutex||{},f=k.pdfEscape,T=k.activeFontKey,F=k.fonts,y=T,H="",
1698
+ z=0,M="",Y=F[y].encoding;if(F[y].encoding!=="Identity-H")return{text:g,x:d,y:m,options:S,mutex:k};for(M=g,y=T,Array.isArray(g)&&(M=g[0]),z=0;z<M.length;z+=1)F[y].metadata.hasOwnProperty("cmap")&&(u=F[y].
1699
+ metadata.cmap.unicode.codeMap[M[z].charCodeAt(0)]),u||M[z].charCodeAt(0)<256&&F[y].metadata.hasOwnProperty("Unicode")?H+=M[z]:H+="";var at="";return parseInt(y.slice(1))<14||Y==="WinAnsiEncoding"?at=f(
1700
+ H,y).split("").map(function(nt){return nt.charCodeAt(0).toString(16)}).join(""):Y==="Identity-H"&&(at=t(H,F[y])),k.isHex=!0,{text:at,x:d,y:m,options:S,mutex:k}};e.events.push(["postProcessText",function(l){
1701
+ var u=l.text||"",g=[],d={text:u,x:l.x,y:l.y,options:l.options,mutex:l.mutex};if(Array.isArray(u)){var m=0;for(m=0;m<u.length;m+=1)Array.isArray(u[m])&&u[m].length===3?g.push([s(Object.assign({},d,{text:u[m][0]})).
1702
+ text,u[m][1],u[m][2]]):g.push(s(Object.assign({},d,{text:u[m]})).text);l.text=g}else l.text=s(Object.assign({},d,{text:u})).text}])}(Dt),function(i){var e=function(){return this.internal.vFS===void 0&&
1703
+ (this.internal.vFS={}),!0};i.existsFileInVFS=function(t){return e.call(this),this.internal.vFS[t]!==void 0},i.addFileToVFS=function(t,n){return e.call(this),this.internal.vFS[t]=n,this},i.getFileFromVFS=
1704
+ function(t){return e.call(this),this.internal.vFS[t]!==void 0?this.internal.vFS[t]:null}}(Dt.API),function(i){i.__bidiEngine__=i.prototype.__bidiEngine__=function(n){var a,s,l,u,g,d,m,S=e,k=[[0,3,0,1,
1705
+ 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]],T={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},F={0:0,
1706
+ 5:1,6:2,7:3,32:4,251:5,254:6,255:7},y=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉",
1707
+ "〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],H=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)$/),z=!1,M=0;
1708
+ this.__bidiEngine__={};var Y=function(A){var R=A.charCodeAt(),U=R>>8,D=F[U];return D!==void 0?S[256*D+(255&R)]:U===252||U===253?"AL":H.test(U)?"L":U===8?"R":"N"},at=function(A){for(var R,U=0;U<A.length;U++){
1709
+ if((R=Y(A.charAt(U)))==="L")return!1;if(R==="R")return!0}return!1},nt=function(A,R,U,D){var it,pt,ut,rt,ft=R[D];switch(ft){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":z=!1;break;case"\
1710
+ N":case"AN":break;case"EN":z&&(ft="AN");break;case"AL":z=!0,ft="R";break;case"WS":case"BN":ft="N";break;case"CS":D<1||D+1>=R.length||(it=U[D-1])!=="EN"&&it!=="AN"||(pt=R[D+1])!=="EN"&&pt!=="AN"?ft="N":
1711
+ z&&(pt="AN"),ft=pt===it?pt:"N";break;case"ES":ft=(it=D>0?U[D-1]:"B")==="EN"&&D+1<R.length&&R[D+1]==="EN"?"EN":"N";break;case"ET":if(D>0&&U[D-1]==="EN"){ft="EN";break}if(z){ft="N";break}for(ut=D+1,rt=R.
1712
+ length;ut<rt&&R[ut]==="ET";)ut++;ft=ut<rt&&R[ut]==="EN"?"EN":"N";break;case"NSM":if(l&&!u){for(rt=R.length,ut=D+1;ut<rt&&R[ut]==="NSM";)ut++;if(ut<rt){var gt=A[D],wt=gt>=1425&&gt<=2303||gt===64286;if(it=
1713
+ R[ut],wt&&(it==="R"||it==="AL")){ft="R";break}}}ft=D<1||(it=R[D-1])==="B"?"N":U[D-1];break;case"B":z=!1,a=!0,ft=M;break;case"S":s=!0,ft="N"}return ft},_t=function(A,R,U){var D=A.split("");return U&&V(
1714
+ D,U,{hiLevel:M}),D.reverse(),R&&R.reverse(),D.join("")},V=function(A,R,U){var D,it,pt,ut,rt,ft=-1,gt=A.length,wt=0,_=[],O=M?f:k,q=[];for(z=!1,a=!1,s=!1,it=0;it<gt;it++)q[it]=Y(A[it]);for(pt=0;pt<gt;pt++){
1715
+ if(rt=wt,_[pt]=nt(A,q,_,pt),D=240&(wt=O[rt][T[_[pt]]]),wt&=15,R[pt]=ut=O[wt][5],D>0)if(D===16){for(it=ft;it<pt;it++)R[it]=1;ft=-1}else ft=-1;if(O[wt][6])ft===-1&&(ft=pt);else if(ft>-1){for(it=ft;it<pt;it++)
1716
+ R[it]=ut;ft=-1}q[pt]==="B"&&(R[pt]=0),U.hiLevel|=ut}s&&function(G,K,Z){for(var st=0;st<Z;st++)if(G[st]==="S"){K[st]=M;for(var ot=st-1;ot>=0&&G[ot]==="WS";ot--)K[ot]=M}}(q,R,gt)},B=function(A,R,U,D,it){
1717
+ if(!(it.hiLevel<A)){if(A===1&&M===1&&!a)return R.reverse(),void(U&&U.reverse());for(var pt,ut,rt,ft,gt=R.length,wt=0;wt<gt;){if(D[wt]>=A){for(rt=wt+1;rt<gt&&D[rt]>=A;)rt++;for(ft=wt,ut=rt-1;ft<ut;ft++,
1718
+ ut--)pt=R[ft],R[ft]=R[ut],R[ut]=pt,U&&(pt=U[ft],U[ft]=U[ut],U[ut]=pt);wt=rt}wt++}}},et=function(A,R,U){var D=A.split(""),it={hiLevel:M};return U||(U=[]),V(D,U,it),function(pt,ut,rt){if(rt.hiLevel!==0&&
1719
+ m)for(var ft,gt=0;gt<pt.length;gt++)ut[gt]===1&&(ft=y.indexOf(pt[gt]))>=0&&(pt[gt]=y[ft+1])}(D,U,it),B(2,D,R,U,it),B(1,D,R,U,it),D.join("")};return this.__bidiEngine__.doBidiReorder=function(A,R,U){if(function(it,pt){
1720
+ if(pt)for(var ut=0;ut<it.length;ut++)pt[ut]=ut;u===void 0&&(u=at(it)),d===void 0&&(d=at(it))}(A,R),l||!g||d)if(l&&g&&u^d)M=u?1:0,A=_t(A,R,U);else if(!l&&g&&d)M=u?1:0,A=et(A,R,U),A=_t(A,R);else if(!l||
1721
+ u||g||d){if(l&&!g&&u^d)A=_t(A,R),u?(M=0,A=et(A,R,U)):(M=1,A=et(A,R,U),A=_t(A,R));else if(l&&u&&!g&&d)M=1,A=et(A,R,U),A=_t(A,R);else if(!l&&!g&&u^d){var D=m;u?(M=1,A=et(A,R,U),M=0,m=!1,A=et(A,R,U),m=D):
1722
+ (M=0,A=et(A,R,U),A=_t(A,R),M=1,m=!1,A=et(A,R,U),m=D,A=_t(A,R))}}else M=0,A=et(A,R,U);else M=u?1:0,A=et(A,R,U);return A},this.__bidiEngine__.setOptions=function(A){A&&(l=A.isInputVisual,g=A.isOutputVisual,
1723
+ u=A.isInputRtl,d=A.isOutputRtl,m=A.isSymmetricSwapping)},this.__bidiEngine__.setOptions(n),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN",
1724
+ "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","\
1725
+ 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","\
1726
+ 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",
1727
+ "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",
1728
+ "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",
1729
+ "L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L",
1730
+ "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",
1731
+ "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",
1732
+ "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",
1733
+ "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",
1734
+ "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",
1735
+ "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","A\
1736
+ L","AL","AL","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","\
1737
+ 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",
1738
+ "AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL",
1739
+ "AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL",
1740
+ "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",
1741
+ "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",
1742
+ "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","\
1743
+ 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",
1744
+ "AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL",
1745
+ "AL","AL","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",
1746
+ "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",
1747
+ "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",
1748
+ "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",
1749
+ "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","\
1750
+ 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",
1751
+ "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","\
1752
+ 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",
1753
+ "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",
1754
+ "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","\
1755
+ 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","A\
1756
+ L","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","A\
1757
+ L","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","A\
1758
+ L","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",
1759
+ "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",
1760
+ "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",
1761
+ "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","\
1762
+ 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","A\
1763
+ L","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","A\
1764
+ L","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","A\
1765
+ L","AL","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","E\
1766
+ S","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",
1767
+ "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",
1768
+ "L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L",
1769
+ "L","L","L","L","L","L","L","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",
1770
+ "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"],t=new i.__bidiEngine__(
1771
+ {isInputVisual:!0});i.API.events.push(["postProcessText",function(n){var a=n.text;n.x,n.y;var s=n.options||{};n.mutex,s.lang;var l=[];if(s.isInputVisual=typeof s.isInputVisual!="boolean"||s.isInputVisual,
1772
+ t.setOptions(s),Object.prototype.toString.call(a)==="[object Array]"){var u=0;for(l=[],u=0;u<a.length;u+=1)Object.prototype.toString.call(a[u])==="[object Array]"?l.push([t.doBidiReorder(a[u][0]),a[u][1],
1773
+ a[u][2]]):l.push([t.doBidiReorder(a[u])]);n.text=l}else n.text=t.doBidiReorder(a);t.setOptions({isInputVisual:!0})}])}(Dt),Dt.API.TTFFont=function(){function i(e){var t;if(this.rawData=e,t=this.contents=
1774
+ new Yr(e),this.contents.pos=4,t.readString(4)==="ttcf")throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Nu(this),this.registerTTF()}return i.open=function(e){return new i(e)},
1775
+ i.prototype.parse=function(){return this.directory=new uu(this.contents),this.head=new du(this),this.name=new bu(this),this.cmap=new Yh(this),this.toUnicode={},this.hhea=new pu(this),this.maxp=new wu(
1776
+ this),this.hmtx=new yu(this),this.post=new mu(this),this.os2=new gu(this),this.loca=new xu(this),this.glyf=new Lu(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=
1777
+ 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]},i.prototype.
1778
+ registerTTF=function(){var e,t,n;this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var s,l,u,g;for(g=[],s=0,l=(u=this.bbox).length;s<l;s++)e=u[s],g.push(Math.round(e*this.scaleFactor));return g}.
1779
+ call(this);var a=this.os2.exists&&this.os2.weightClass||400;if(this.stemV=Math.round(50+Math.pow(a/65,2)),this.post.exists?(t=this.post.italicAngle,this.italicAngle=Math.round(t/65536*100)/100):this.italicAngle=
1780
+ 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&&
1781
+ this.os2.capHeight?Math.round(this.os2.capHeight*this.scaleFactor):this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=
1782
+ (n=this.familyClass)===1||n===2||n===3||n===4||n===5||n===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.
1783
+ flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},i.prototype.characterToGlyph=function(e){var t;return((t=this.cmap.unicode)!=
1784
+ null?t.codeMap[e]:void 0)||0},i.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},i.prototype.widthOfString=function(e,t,n){var a,s,l,u;for(l=
1785
+ 0,s=0,u=(e=""+e).length;0<=u?s<u:s>u;s=0<=u?++s:--s)a=e.charCodeAt(s),l+=this.widthOfGlyph(this.characterToGlyph(a))+n*(1e3/t)||0;return l*(t/1e3)},i.prototype.lineHeight=function(e,t){var n;return t==
1786
+ null&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},i}();var tr,Yr=function(){function i(e){this.data=e??[],this.pos=0,this.length=this.data.length}return i.prototype.readByte=function(){
1787
+ return this.data[this.pos++]},i.prototype.writeByte=function(e){return this.data[this.pos++]=e},i.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<
1788
+ 8)+this.readByte()},i.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},i.prototype.readInt32=function(){var e;
1789
+ return(e=this.readUInt32())>=2147483648?e-4294967296:e},i.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},i.prototype.readUInt16=function(){return this.readByte()<<8|
1790
+ this.readByte()},i.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},i.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},i.prototype.
1791
+ writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},i.prototype.readString=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.
1792
+ join("")},i.prototype.writeString=function(e){var t,n,a;for(a=[],t=0,n=e.length;0<=n?t<n:t>n;t=0<=n?++t:--t)a.push(this.writeByte(e.charCodeAt(t)));return a},i.prototype.readShort=function(){return this.
1793
+ readInt16()},i.prototype.writeShort=function(e){return this.writeInt16(e)},i.prototype.readLongLong=function(){var e,t,n,a,s,l,u,g;return e=this.readByte(),t=this.readByte(),n=this.readByte(),a=this.readByte(),
1794
+ s=this.readByte(),l=this.readByte(),u=this.readByte(),g=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^a)+16777216*(255^s)+65536*(255^
1795
+ l)+256*(255^u)+(255^g)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*a+16777216*s+65536*l+256*u+g},i.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),
1796
+ n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(
1797
+ 255&n)},i.prototype.readInt=function(){return this.readInt32()},i.prototype.writeInt=function(e){return this.writeInt32(e)},i.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)
1798
+ t.push(this.readByte());return t},i.prototype.write=function(e){var t,n,a,s;for(s=[],n=0,a=e.length;n<a;n++)t=e[n],s.push(this.writeByte(t));return s},i}(),uu=function(){var i;function e(t){var n,a,s;
1799
+ for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},a=0,s=this.tableCount;0<=s?a<
1800
+ s:a>s;a=0<=s?++a:--a)n={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[n.tag]=n}return e.prototype.encode=function(t){var n,a,s,l,u,g,d,m,S,k,f,T,F;for(F in f=
1801
+ Object.keys(t).length,g=Math.log(2),S=16*Math.floor(Math.log(f)/g),l=Math.floor(S/g),m=16*f-S,(a=new Yr).writeInt(this.scalarType),a.writeShort(f),a.writeShort(S),a.writeShort(l),a.writeShort(m),s=16*
1802
+ f,d=a.pos+s,u=null,T=[],t)for(k=t[F],a.writeString(F),a.writeInt(i(k)),a.writeInt(d),a.writeInt(k.length),T=T.concat(k),F==="head"&&(u=d),d+=k.length;d%4;)T.push(0),d++;return a.write(T),n=2981146554-
1803
+ i(a.data),a.pos=u+8,a.writeUInt32(n),a.data},i=function(t){var n,a,s,l;for(t=$h.call(t);t.length%4;)t.push(0);for(s=new Yr(t),a=0,n=0,l=t.length;n<l;n=n+=4)a+=s.readUInt32();return 4294967295&a},e}(),
1804
+ fu={}.hasOwnProperty,pr=function(i,e){for(var t in e)fu.call(e,t)&&(i[t]=e[t]);function n(){this.constructor=i}return n.prototype=e.prototype,i.prototype=new n,i.__super__=e.prototype,i};tr=function(){
1805
+ function i(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return i.prototype.parse=function(){},
1806
+ i.prototype.encode=function(){},i.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},i}();var du=function(){function i(){return i.
1807
+ __super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="head",i.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=
1808
+ e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),
1809
+ this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=
1810
+ e.readShort()},i.prototype.encode=function(e){var t;return(t=new Yr).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.
1811
+ flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(
1812
+ this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},i}(),Jh=function(){function i(e,t){var n,a,s,l,u,g,d,m,S,
1813
+ k,f,T,F,y,H,z,M;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),S=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=
1814
+ e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(g=0;g<256;++g)this.codeMap[g]=e.readByte();
1815
+ break;case 4:for(f=e.readUInt16(),k=f/2,e.pos+=6,s=function(){var Y,at;for(at=[],g=Y=0;0<=k?Y<k:Y>k;g=0<=k?++Y:--Y)at.push(e.readUInt16());return at}(),e.pos+=2,F=function(){var Y,at;for(at=[],g=Y=0;0<=
1816
+ k?Y<k:Y>k;g=0<=k?++Y:--Y)at.push(e.readUInt16());return at}(),d=function(){var Y,at;for(at=[],g=Y=0;0<=k?Y<k:Y>k;g=0<=k?++Y:--Y)at.push(e.readUInt16());return at}(),m=function(){var Y,at;for(at=[],g=Y=
1817
+ 0;0<=k?Y<k:Y>k;g=0<=k?++Y:--Y)at.push(e.readUInt16());return at}(),a=(this.length-e.pos+this.offset)/2,u=function(){var Y,at;for(at=[],g=Y=0;0<=a?Y<a:Y>a;g=0<=a?++Y:--Y)at.push(e.readUInt16());return at}(),
1818
+ g=H=0,M=s.length;H<M;g=++H)for(y=s[g],n=z=T=F[g];T<=y?z<=y:z>=y;n=T<=y?++z:--z)m[g]===0?l=n+d[g]:(l=u[m[g]/2+(n-T)-(k-g)]||0)!==0&&(l+=d[g]),this.codeMap[n]=65535&l}e.pos=S}return i.encode=function(e,t){
1819
+ var n,a,s,l,u,g,d,m,S,k,f,T,F,y,H,z,M,Y,at,nt,_t,V,B,et,A,R,U,D,it,pt,ut,rt,ft,gt,wt,_,O,q,G,K,Z,st,ot,mt,At,St;switch(D=new Yr,l=Object.keys(e).sort(function(kt,Wt){return kt-Wt}),t){case"macroman":for(F=
1820
+ 0,y=function(){var kt=[];for(T=0;T<256;++T)kt.push(0);return kt}(),z={0:0},s={},it=0,ft=l.length;it<ft;it++)z[ot=e[a=l[it]]]==null&&(z[ot]=++F),s[a]={old:e[a],new:z[e[a]]},y[a]=z[e[a]];return D.writeUInt16(
1821
+ 1),D.writeUInt16(0),D.writeUInt32(12),D.writeUInt16(0),D.writeUInt16(262),D.writeUInt16(0),D.write(y),{charMap:s,subtable:D.data,maxGlyphID:F+1};case"unicode":for(R=[],S=[],M=0,z={},n={},H=d=null,pt=0,
1822
+ gt=l.length;pt<gt;pt++)z[at=e[a=l[pt]]]==null&&(z[at]=++M),n[a]={old:at,new:z[at]},u=z[at]-a,H!=null&&u===d||(H&&S.push(H),R.push(a),d=u),H=a;for(H&&S.push(H),S.push(65535),R.push(65535),et=2*(B=R.length),
1823
+ V=2*Math.pow(Math.log(B)/Math.LN2,2),k=Math.log(V/2)/Math.LN2,_t=2*B-V,g=[],nt=[],f=[],T=ut=0,wt=R.length;ut<wt;T=++ut){if(A=R[T],m=S[T],A===65535){g.push(0),nt.push(0);break}if(A-(U=n[A].new)>=32768)
1824
+ for(g.push(0),nt.push(2*(f.length+B-T)),a=rt=A;A<=m?rt<=m:rt>=m;a=A<=m?++rt:--rt)f.push(n[a].new);else g.push(U-A),nt.push(0)}for(D.writeUInt16(3),D.writeUInt16(1),D.writeUInt32(12),D.writeUInt16(4),D.
1825
+ writeUInt16(16+8*B+2*f.length),D.writeUInt16(0),D.writeUInt16(et),D.writeUInt16(V),D.writeUInt16(k),D.writeUInt16(_t),Z=0,_=S.length;Z<_;Z++)a=S[Z],D.writeUInt16(a);for(D.writeUInt16(0),st=0,O=R.length;st<
1826
+ O;st++)a=R[st],D.writeUInt16(a);for(mt=0,q=g.length;mt<q;mt++)u=g[mt],D.writeUInt16(u);for(At=0,G=nt.length;At<G;At++)Y=nt[At],D.writeUInt16(Y);for(St=0,K=f.length;St<K;St++)F=f[St],D.writeUInt16(F);return{
1827
+ charMap:n,subtable:D.data,maxGlyphID:M+1}}},i}(),Yh=function(){function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="cmap",i.prototype.parse=function(e){var t,
1828
+ n,a;for(e.pos=this.offset,this.version=e.readUInt16(),a=e.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=a?n<a:n>a;n=0<=a?++n:--n)t=new Jh(e,this.offset),this.tables.push(t),t.isUnicode&&this.unicode==
1829
+ null&&(this.unicode=t);return!0},i.encode=function(e,t){var n,a;return t==null&&(t="macroman"),n=Jh.encode(e,t),(a=new Yr).writeUInt16(0),a.writeUInt16(1),n.table=a.data.concat(n.subtable),n},i}(),pu=function(){
1830
+ function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="hhea",i.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.
1831
+ readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),
1832
+ this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},i}(),gu=function(){function i(){
1833
+ return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="OS/2",i.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),
1834
+ this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=
1835
+ e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),
1836
+ this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=
1837
+ 0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),
1838
+ this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(e.readInt());return n}(),
1839
+ this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},i}(),mu=function(){function i(){
1840
+ return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="post",i.prototype.parse=function(e){var t,n,a;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.
1841
+ readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),
1842
+ this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var s;for(n=e.readUInt16(),this.glyphNameIndex=[],s=0;0<=n?s<n:s>n;s=0<=n?++s:--s)this.glyphNameIndex.push(e.readUInt16());
1843
+ for(this.names=[],a=[];e.pos<this.offset+this.length;)t=e.readByte(),a.push(this.names.push(e.readString(t)));return a;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 262144:return this.
1844
+ map=function(){var l,u,g;for(g=[],s=l=0,u=this.file.maxp.numGlyphs;0<=u?l<u:l>u;s=0<=u?++l:--l)g.push(e.readUInt32());return g}.call(this)}},i}(),vu=function(i,e){this.raw=i,this.length=i.length,this.
1845
+ platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},bu=function(){function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="name",
1846
+ i.prototype.parse=function(e){var t,n,a,s,l,u,g,d,m,S,k;for(e.pos=this.offset,e.readShort(),t=e.readShort(),u=e.readShort(),n=[],s=0;0<=t?s<t:s>t;s=0<=t?++s:--s)n.push({platformID:e.readShort(),encodingID:e.
1847
+ readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+u+e.readShort()});for(g={},s=m=0,S=n.length;m<S;s=++m)a=n[s],e.pos=a.offset,d=e.readString(a.length),l=
1848
+ new vu(d,a),g[k=a.nameID]==null&&(g[k]=[]),g[a.nameID].push(l);this.strings=g,this.copyright=g[0],this.fontFamily=g[1],this.fontSubfamily=g[2],this.uniqueSubfamily=g[3],this.fontName=g[4],this.version=
1849
+ g[5];try{this.postscriptName=g[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=g[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=g[7],this.manufacturer=g[8],
1850
+ this.designer=g[9],this.description=g[10],this.vendorUrl=g[11],this.designerUrl=g[12],this.license=g[13],this.licenseUrl=g[14],this.preferredFamily=g[15],this.preferredSubfamily=g[17],this.compatibleFull=
1851
+ g[18],this.sampleText=g[19]},i}(),wu=function(){function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="maxp",i.prototype.parse=function(e){return e.pos=this.
1852
+ offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),
1853
+ this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),
1854
+ this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},i}(),yu=function(){function i(){return i.__super__.constructor.apply(this,arguments)}
1855
+ return pr(i,tr),i.prototype.tag="hmtx",i.prototype.parse=function(e){var t,n,a,s,l,u,g;for(e.pos=this.offset,this.metrics=[],t=0,u=this.file.hhea.numberOfMetrics;0<=u?t<u:t>u;t=0<=u?++t:--t)this.metrics.
1856
+ push({advance:e.readUInt16(),lsb:e.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var d,m;for(m=[],t=d=0;0<=a?d<a:d>a;t=0<=a?++d:--d)m.push(
1857
+ e.readInt16());return m}(),this.widths=function(){var d,m,S,k;for(k=[],d=0,m=(S=this.metrics).length;d<m;d++)s=S[d],k.push(s.advance);return k}.call(this),n=this.widths[this.widths.length-1],g=[],t=l=
1858
+ 0;0<=a?l<a:l>a;t=0<=a?++l:--l)g.push(this.widths.push(n));return g},i.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.
1859
+ leftSideBearings[e-this.metrics.length]}},i}(),$h=[].slice,Lu=function(){function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="glyf",i.prototype.parse=function(){
1860
+ return this.cache={}},i.prototype.glyphFor=function(e){var t,n,a,s,l,u,g,d,m,S;return e in this.cache?this.cache[e]:(s=this.file.loca,t=this.file.contents,n=s.indexOf(e),(a=s.lengthOf(e))===0?this.cache[e]=
1861
+ null:(t.pos=this.offset+n,l=(u=new Yr(t.read(a))).readShort(),d=u.readShort(),S=u.readShort(),g=u.readShort(),m=u.readShort(),this.cache[e]=l===-1?new Au(u,d,S,g,m):new _u(u,l,d,S,g,m),this.cache[e]))},
1862
+ i.prototype.encode=function(e,t,n){var a,s,l,u,g;for(l=[],s=[],u=0,g=t.length;u<g;u++)a=e[t[u]],s.push(l.length),a&&(l=l.concat(a.encode(n)));return s.push(l.length),{table:l,offsets:s}},i}(),_u=function(){
1863
+ function i(e,t,n,a,s,l){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=a,this.xMax=s,this.yMax=l,this.compound=!1}return i.prototype.encode=function(){return this.raw.data},i}(),Au=function(){
1864
+ function i(e,t,n,a,s){var l,u;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=a,this.yMax=s,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],l=this.raw;u=l.readShort(),this.glyphOffsets.push(l.
1865
+ pos),this.glyphIDs.push(l.readUInt16()),32&u;)l.pos+=1&u?4:2,128&u?l.pos+=8:64&u?l.pos+=4:8&u&&(l.pos+=2)}return i.prototype.encode=function(){var e,t,n;for(t=new Yr($h.call(this.raw.data)),e=0,n=this.
1866
+ glyphIDs.length;e<n;++e)t.pos=this.glyphOffsets[e];return t.data},i}(),xu=function(){function i(){return i.__super__.constructor.apply(this,arguments)}return pr(i,tr),i.prototype.tag="loca",i.prototype.
1867
+ parse=function(e){var t,n;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=t===0?function(){var a,s;for(s=[],n=0,a=this.length;n<a;n+=2)s.push(2*e.readUInt16());return s}.call(this):
1868
+ function(){var a,s;for(s=[],n=0,a=this.length;n<a;n+=4)s.push(e.readUInt32());return s}.call(this)},i.prototype.indexOf=function(e){return this.offsets[e]},i.prototype.lengthOf=function(e){return this.
1869
+ offsets[e+1]-this.offsets[e]},i.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),a=0,s=0,l=0;l<n.length;++l)if(n[l]=a,s<t.length&&t[s]==l){++s,n[l]=a;var u=this.offsets[l],
1870
+ g=this.offsets[l+1]-u;g>0&&(a+=g)}for(var d=new Array(4*n.length),m=0;m<n.length;++m)d[4*m+3]=255&n[m],d[4*m+2]=(65280&n[m])>>8,d[4*m+1]=(16711680&n[m])>>16,d[4*m]=(4278190080&n[m])>>24;return d},i}(),
1871
+ Nu=function(){function i(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return i.prototype.generateCmap=function(){var e,t,n,a,s;for(t in a=this.font.cmap.tables[0].codeMap,e={},s=this.subset)
1872
+ n=s[t],e[t]=a[n];return e},i.prototype.glyphsFor=function(e){var t,n,a,s,l,u,g;for(a={},l=0,u=e.length;l<u;l++)a[s=e[l]]=this.font.glyf.glyphFor(s);for(s in t=[],a)(n=a[s])!=null&&n.compound&&t.push.apply(
1873
+ t,n.glyphIDs);if(t.length>0)for(s in g=this.glyphsFor(t))n=g[s],a[s]=n;return a},i.prototype.encode=function(e,t){var n,a,s,l,u,g,d,m,S,k,f,T,F,y,H;for(a in n=Yh.encode(this.generateCmap(),"unicode"),
1874
+ l=this.glyphsFor(e),f={0:0},H=n.charMap)f[(g=H[a]).old]=g.new;for(T in k=n.maxGlyphID,l)T in f||(f[T]=k++);return m=function(z){var M,Y;for(M in Y={},z)Y[z[M]]=M;return Y}(f),S=Object.keys(m).sort(function(z,M){
1875
+ return z-M}),F=function(){var z,M,Y;for(Y=[],z=0,M=S.length;z<M;z++)u=S[z],Y.push(m[u]);return Y}(),s=this.font.glyf.encode(l,F,f),d=this.font.loca.encode(s.offsets,F),y={cmap:this.font.cmap.raw(),glyf:s.
1876
+ table,loca:d,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(y["\
1877
+ OS/2"]=this.font.os2.raw()),this.font.directory.encode(y)},i}();Dt.API.PDFObject=function(){var i;function e(){}return i=function(t,n){return(Array(n+1).join("0")+t).slice(-n)},e.convert=function(t){var n,
1878
+ a,s,l;if(Array.isArray(t))return"["+function(){var u,g,d;for(d=[],u=0,g=t.length;u<g;u++)n=t[u],d.push(e.convert(n));return d}().join(" ")+"]";if(typeof t=="string")return"/"+t;if(t?.isString)return"("+
1879
+ t+")";if(t instanceof Date)return"(D:"+i(t.getUTCFullYear(),4)+i(t.getUTCMonth(),2)+i(t.getUTCDate(),2)+i(t.getUTCHours(),2)+i(t.getUTCMinutes(),2)+i(t.getUTCSeconds(),2)+"Z)";if({}.toString.call(t)===
1880
+ "[object Object]"){for(a in s=["<<"],t)l=t[a],s.push("/"+a+" "+e.convert(l));return s.push(">>"),s.join(`
1881
+ `)}return""+t},e}();export{Ft as AcroFormAppearance,ri as AcroFormButton,Pa as AcroFormCheckBox,Ln as AcroFormChoiceField,An as AcroFormComboBox,Sa as AcroFormEditBox,_n as AcroFormListBox,Ia as AcroFormPasswordField,
1882
+ ka as AcroFormPushButton,xn as AcroFormRadioButton,Jr as AcroFormTextField,Na as GState,Xr as ShadingPattern,bn as TilingPattern,Dt as default,Dt as jsPDF};