import{_ as ve,g as Yc}from"./@babel.80d29b7b.js";import{z as $o,u as Xc}from"./fflate.0418c72f.js";const Kc="modulepreload",Zc=function(i){return"/admin/"+i},Ms={},Qo=function(e,n,a){if(!n||n.length===0)return e();const u=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Zc(o),o in Ms)return;Ms[o]=!0;const l=o.endsWith(".css"),h=l?'[rel="stylesheet"]':"";if(!!a)for(let A=u.length-1;A>=0;A--){const N=u[A];if(N.href===o&&(!l||N.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${h}`))return;const g=document.createElement("link");if(g.rel=l?"stylesheet":Kc,l||(g.as="script",g.crossOrigin=""),g.href=o,document.head.appendChild(g),l)return new Promise((A,N)=>{g.addEventListener("load",A),g.addEventListener("error",()=>N(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>e())};var Ut=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Go(){Ut.console&&typeof Ut.console.log=="function"&&Ut.console.log.apply(Ut.console,arguments)}var me={log:Go,warn:function(i){Ut.console&&(typeof Ut.console.warn=="function"?Ut.console.warn.apply(Ut.console,arguments):Go.call(null,arguments))},error:function(i){Ut.console&&(typeof Ut.console.error=="function"?Ut.console.error.apply(Ut.console,arguments):Go(i))}};function Jo(i,e,n){var a=new XMLHttpRequest;a.open("GET",i),a.responseType="blob",a.onload=function(){Rr(a.response,e,n)},a.onerror=function(){me.error("could not download file")},a.send()}function Es(i){var e=new XMLHttpRequest;e.open("HEAD",i,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Za(i){try{i.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),i.dispatchEvent(e)}}var ea,ts,Rr=Ut.saveAs||((typeof window>"u"?"undefined":ve(window))!=="object"||window!==Ut?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(i,e,n){var a=Ut.URL||Ut.webkitURL,u=document.createElement("a");e=e||i.name||"download",u.download=e,u.rel="noopener",typeof i=="string"?(u.href=i,u.origin!==location.origin?Es(u.href)?Jo(i,e,n):Za(u,u.target="_blank"):Za(u)):(u.href=a.createObjectURL(i),setTimeout(function(){a.revokeObjectURL(u.href)},4e4),setTimeout(function(){Za(u)},0))}:"msSaveOrOpenBlob"in navigator?function(i,e,n){if(e=e||i.name||"download",typeof i=="string")if(Es(i))Jo(i,e,n);else{var a=document.createElement("a");a.href=i,a.target="_blank",setTimeout(function(){Za(a)})}else navigator.msSaveOrOpenBlob(function(u,o){return o===void 0?o={autoBom:!1}:ve(o)!=="object"&&(me.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob([String.fromCharCode(65279),u],{type:u.type}):u}(i,n),e)}:function(i,e,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),typeof i=="string")return Jo(i,e,n);var u=i.type==="application/octet-stream",o=/constructor/i.test(Ut.HTMLElement)||Ut.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||u&&o)&&(typeof FileReader>"u"?"undefined":ve(FileReader))==="object"){var h=new FileReader;h.onloadend=function(){var A=h.result;A=l?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=A:location=A,a=null},h.readAsDataURL(i)}else{var f=Ut.URL||Ut.webkitURL,g=f.createObjectURL(i);a?a.location=g:location.href=g,a=null,setTimeout(function(){f.revokeObjectURL(g)},4e4)}});/** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function Qs(i){var e;i=i||"",this.ok=!1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[i=(i=i.replace(/ /g,"")).toLowerCase()]||i;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(h){return[parseInt(h[1]),parseInt(h[2]),parseInt(h[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(h){return[parseInt(h[1],16),parseInt(h[2],16),parseInt(h[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(h){return[parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16),parseInt(h[3]+h[3],16)]}}],a=0;a255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var h=this.r.toString(16),f=this.g.toString(16),g=this.b.toString(16);return h.length==1&&(h="0"+h),f.length==1&&(f="0"+f),g.length==1&&(g="0"+g),"#"+h+f+g}}/** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */function Yo(i,e){var n=i[0],a=i[1],u=i[2],o=i[3];n=Xe(n,a,u,o,e[0],7,-680876936),o=Xe(o,n,a,u,e[1],12,-389564586),u=Xe(u,o,n,a,e[2],17,606105819),a=Xe(a,u,o,n,e[3],22,-1044525330),n=Xe(n,a,u,o,e[4],7,-176418897),o=Xe(o,n,a,u,e[5],12,1200080426),u=Xe(u,o,n,a,e[6],17,-1473231341),a=Xe(a,u,o,n,e[7],22,-45705983),n=Xe(n,a,u,o,e[8],7,1770035416),o=Xe(o,n,a,u,e[9],12,-1958414417),u=Xe(u,o,n,a,e[10],17,-42063),a=Xe(a,u,o,n,e[11],22,-1990404162),n=Xe(n,a,u,o,e[12],7,1804603682),o=Xe(o,n,a,u,e[13],12,-40341101),u=Xe(u,o,n,a,e[14],17,-1502002290),n=Ke(n,a=Xe(a,u,o,n,e[15],22,1236535329),u,o,e[1],5,-165796510),o=Ke(o,n,a,u,e[6],9,-1069501632),u=Ke(u,o,n,a,e[11],14,643717713),a=Ke(a,u,o,n,e[0],20,-373897302),n=Ke(n,a,u,o,e[5],5,-701558691),o=Ke(o,n,a,u,e[10],9,38016083),u=Ke(u,o,n,a,e[15],14,-660478335),a=Ke(a,u,o,n,e[4],20,-405537848),n=Ke(n,a,u,o,e[9],5,568446438),o=Ke(o,n,a,u,e[14],9,-1019803690),u=Ke(u,o,n,a,e[3],14,-187363961),a=Ke(a,u,o,n,e[8],20,1163531501),n=Ke(n,a,u,o,e[13],5,-1444681467),o=Ke(o,n,a,u,e[2],9,-51403784),u=Ke(u,o,n,a,e[7],14,1735328473),n=Ze(n,a=Ke(a,u,o,n,e[12],20,-1926607734),u,o,e[5],4,-378558),o=Ze(o,n,a,u,e[8],11,-2022574463),u=Ze(u,o,n,a,e[11],16,1839030562),a=Ze(a,u,o,n,e[14],23,-35309556),n=Ze(n,a,u,o,e[1],4,-1530992060),o=Ze(o,n,a,u,e[4],11,1272893353),u=Ze(u,o,n,a,e[7],16,-155497632),a=Ze(a,u,o,n,e[10],23,-1094730640),n=Ze(n,a,u,o,e[13],4,681279174),o=Ze(o,n,a,u,e[0],11,-358537222),u=Ze(u,o,n,a,e[3],16,-722521979),a=Ze(a,u,o,n,e[6],23,76029189),n=Ze(n,a,u,o,e[9],4,-640364487),o=Ze(o,n,a,u,e[12],11,-421815835),u=Ze(u,o,n,a,e[15],16,530742520),n=$e(n,a=Ze(a,u,o,n,e[2],23,-995338651),u,o,e[0],6,-198630844),o=$e(o,n,a,u,e[7],10,1126891415),u=$e(u,o,n,a,e[14],15,-1416354905),a=$e(a,u,o,n,e[5],21,-57434055),n=$e(n,a,u,o,e[12],6,1700485571),o=$e(o,n,a,u,e[3],10,-1894986606),u=$e(u,o,n,a,e[10],15,-1051523),a=$e(a,u,o,n,e[1],21,-2054922799),n=$e(n,a,u,o,e[8],6,1873313359),o=$e(o,n,a,u,e[15],10,-30611744),u=$e(u,o,n,a,e[6],15,-1560198380),a=$e(a,u,o,n,e[13],21,1309151649),n=$e(n,a,u,o,e[4],6,-145523070),o=$e(o,n,a,u,e[11],10,-1120210379),u=$e(u,o,n,a,e[2],15,718787259),a=$e(a,u,o,n,e[9],21,-343485551),i[0]=Ar(n,i[0]),i[1]=Ar(a,i[1]),i[2]=Ar(u,i[2]),i[3]=Ar(o,i[3])}function no(i,e,n,a,u,o){return e=Ar(Ar(e,i),Ar(a,o)),Ar(e<>>32-u,n)}function Xe(i,e,n,a,u,o,l){return no(e&n|~e&a,i,e,u,o,l)}function Ke(i,e,n,a,u,o,l){return no(e&a|n&~a,i,e,u,o,l)}function Ze(i,e,n,a,u,o,l){return no(e^n^a,i,e,u,o,l)}function $e(i,e,n,a,u,o,l){return no(n^(e|~a),i,e,u,o,l)}function tc(i){var e,n=i.length,a=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=i.length;e+=64)Yo(a,$c(i.substring(e-64,e)));i=i.substring(e-64);var u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=i.charCodeAt(e)<<(e%4<<3);if(u[e>>2]|=128<<(e%4<<3),e>55)for(Yo(a,u),e=0;e<16;e++)u[e]=0;return u[14]=8*n,Yo(a,u),a}function $c(i){var e,n=[];for(e=0;e<64;e+=4)n[e>>2]=i.charCodeAt(e)+(i.charCodeAt(e+1)<<8)+(i.charCodeAt(e+2)<<16)+(i.charCodeAt(e+3)<<24);return n}ea=Ut.atob.bind(Ut),ts=Ut.btoa.bind(Ut);var qs="0123456789abcdef".split("");function Qc(i){for(var e="",n=0;n<4;n++)e+=qs[i>>8*n+4&15]+qs[i>>8*n&15];return e}function tu(i){return String.fromCharCode((255&i)>>0,(65280&i)>>8,(16711680&i)>>16,(4278190080&i)>>24)}function es(i){return tc(i).map(tu).join("")}var eu=function(i){for(var e=0;e>16)+(e>>16)+(n>>16)<<16|65535&n}return i+e&4294967295}/** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function ns(i,e){var n,a,u,o;if(i!==n){for(var l=(u=i,o=1+(256/i.length>>0),new Array(o+1).join(u)),h=[],f=0;f<256;f++)h[f]=f;var g=0;for(f=0;f<256;f++){var A=h[f];g=(g+A+l.charCodeAt(f))%256,h[f]=h[g],h[g]=A}n=i,a=h}else h=a;var N=e.length,_=0,p=0,B="";for(f=0;f\x80/\f\xA9\xFEdSiz";var o=(e+this.padding).substr(0,32),l=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,l),this.P=-(1+(255^u)),this.encryptionKey=es(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(a)).substr(0,5),this.U=ns(this.encryptionKey,this.padding)}function xi(i){if(/[^\u0000-\u00ff]/.test(i))throw new Error("Invalid PDF Name Object: "+i+", Only accept ASCII characters.");for(var e="",n=i.length,a=0;a126?e+="#"+("0"+u.toString(16)).slice(-2):e+=i[a]}return e}function Rs(i){if(ve(i)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(n,a,u){if(u=u||!1,typeof n!="string"||typeof a!="function"||typeof u!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(n)||(e[n]={});var o=Math.random().toString(35);return e[n][o]=[a,!!u],o},this.unsubscribe=function(n){for(var a in e)if(e[a][n])return delete e[a][n],Object.keys(e[a]).length===0&&delete e[a],!0;return!1},this.publish=function(n){if(e.hasOwnProperty(n)){var a=Array.prototype.slice.call(arguments,1),u=[];for(var o in e[n]){var l=e[n][o];try{l[0].apply(i,a)}catch(h){Ut.console&&me.error("jsPDF PubSub Error",h.message,h)}l[1]&&u.push(o)}u.length&&u.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function oa(i){if(!(this instanceof oa))return new oa(i);var e="opacity,stroke-opacity".split(",");for(var n in i)i.hasOwnProperty(n)&&e.indexOf(n)>=0&&(this[n]=i[n]);this.id="",this.objectNumber=-1}function ec(i,e){this.gState=i,this.matrix=e,this.id="",this.objectNumber=-1}function Nr(i,e,n,a,u){if(!(this instanceof Nr))return new Nr(i,e,n,a,u);this.type=i==="axial"?2:3,this.coords=e,this.colors=n,ec.call(this,a,u)}function Tr(i,e,n,a,u){if(!(this instanceof Tr))return new Tr(i,e,n,a,u);this.boundingBox=i,this.xStep=e,this.yStep=n,this.stream="",this.cloneIndex=0,ec.call(this,a,u)}function Tt(i){var e,n=typeof arguments[0]=="string"?arguments[0]:"p",a=arguments[1],u=arguments[2],o=arguments[3],l=[],h=1,f=16,g="S",A=null;ve(i=i||{})==="object"&&(n=i.orientation,a=i.unit||a,u=i.format||u,o=i.compress||i.compressPdf||o,(A=i.encryption||null)!==null&&(A.userPassword=A.userPassword||"",A.ownerPassword=A.ownerPassword||"",A.userPermissions=A.userPermissions||[]),h=typeof i.userUnit=="number"?Math.abs(i.userUnit):1,i.precision!==void 0&&(e=i.precision),i.floatPrecision!==void 0&&(f=i.floatPrecision),g=i.defaultPathOperation||"S"),l=i.filters||(o===!0?["FlateEncode"]:l),a=a||"mm",n=(""+(n||"P")).toLowerCase();var N=i.putOnlyUsedFonts||!1,_={},p={internal:{},__private__:{}};p.__private__.PubSub=Rs;var B="1.3",I=p.__private__.getPdfVersion=function(){return B};p.__private__.setPdfVersion=function(s){B=s};var q={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return q};var S=p.__private__.getPageFormat=function(s){return q[s]};u=u||"a4";var M={COMPAT:"compat",ADVANCED:"advanced"},Z=M.COMPAT;function st(){this.saveGraphicsState(),O(new zt(Ft,0,0,-Ft,0,ur()*Ft).toString()+" cm"),this.setFontSize(this.getFontSize()/Ft),g="n",Z=M.ADVANCED}function dt(){this.restoreGraphicsState(),g="S",Z=M.COMPAT}var Nt=p.__private__.combineFontStyleAndFontWeight=function(s,v){if(s=="bold"&&v=="normal"||s=="bold"&&v==400||s=="normal"&&v=="italic"||s=="bold"&&v=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(s=v==400||v==="normal"?s==="italic"?"italic":"normal":v!=700&&v!=="bold"||s!=="normal"?(v==700?"bold":v)+""+s:"bold"),s};p.advancedAPI=function(s){var v=Z===M.COMPAT;return v&&st.call(this),typeof s!="function"||(s(this),v&&dt.call(this)),this},p.compatAPI=function(s){var v=Z===M.ADVANCED;return v&&dt.call(this),typeof s!="function"||(s(this),v&&st.call(this)),this},p.isAdvancedAPI=function(){return Z===M.ADVANCED};var rt,G=function(s){if(Z!==M.ADVANCED)throw new Error(s+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},vt=p.roundToPrecision=p.__private__.roundToPrecision=function(s,v){var C=e||v;if(isNaN(s)||isNaN(C))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return s.toFixed(C).replace(/0+$/,"")};rt=p.hpf=p.__private__.hpf=typeof f=="number"?function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.hpf");return vt(s,f)}:f==="smart"?function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.hpf");return vt(s,s>-1&&s<1?16:5)}:function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.hpf");return vt(s,16)};var bt=p.f2=p.__private__.f2=function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.f2");return vt(s,2)},k=p.__private__.f3=function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.f3");return vt(s,3)},F=p.scale=p.__private__.scale=function(s){if(isNaN(s))throw new Error("Invalid argument passed to jsPDF.scale");return Z===M.COMPAT?s*Ft:Z===M.ADVANCED?s:void 0},H=function(s){return Z===M.COMPAT?ur()-s:Z===M.ADVANCED?s:void 0},R=function(s){return F(H(s))};p.__private__.setPrecision=p.setPrecision=function(s){typeof parseInt(s,10)=="number"&&(e=parseInt(s,10))};var ct,ot="00000000000000000000000000000000",mt=p.__private__.getFileId=function(){return ot},tt=p.__private__.setFileId=function(s){return ot=s!==void 0&&/^[a-fA-F0-9]{32}$/.test(s)?s.toUpperCase():ot.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),A!==null&&(Je=new Ai(A.userPermissions,A.userPassword,A.ownerPassword,ot)),ot};p.setFileId=function(s){return tt(s),this},p.getFileId=function(){return mt()};var pt=p.__private__.convertDateToPDFDate=function(s){var v=s.getTimezoneOffset(),C=v<0?"+":"-",D=Math.floor(Math.abs(v/60)),Y=Math.abs(v%60),it=[C,E(D),"'",E(Y),"'"].join("");return["D:",s.getFullYear(),E(s.getMonth()+1),E(s.getDate()),E(s.getHours()),E(s.getMinutes()),E(s.getSeconds()),it].join("")},ft=p.__private__.convertPDFDateToDate=function(s){var v=parseInt(s.substr(2,4),10),C=parseInt(s.substr(6,2),10)-1,D=parseInt(s.substr(8,2),10),Y=parseInt(s.substr(10,2),10),it=parseInt(s.substr(12,2),10),yt=parseInt(s.substr(14,2),10);return new Date(v,C,D,Y,it,yt,0)},Et=p.__private__.setCreationDate=function(s){var v;if(s===void 0&&(s=new Date),s instanceof Date)v=pt(s);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(s))throw new Error("Invalid argument passed to jsPDF.setCreationDate");v=s}return ct=v},w=p.__private__.getCreationDate=function(s){var v=ct;return s==="jsDate"&&(v=ft(ct)),v};p.setCreationDate=function(s){return Et(s),this},p.getCreationDate=function(s){return w(s)};var j,E=p.__private__.padd2=function(s){return("0"+parseInt(s)).slice(-2)},W=p.__private__.padd2Hex=function(s){return("00"+(s=s.toString())).substr(s.length)},J=0,$=[],et=[],Q=0,At=[],Lt=[],Ot=!1,jt=et,Wt=function(){J=0,Q=0,et=[],$=[],At=[],Zn=Oe(),_n=Oe()};p.__private__.setCustomOutputDestination=function(s){Ot=!0,jt=s};var at=function(s){Ot||(jt=s)};p.__private__.resetCustomOutputDestination=function(){Ot=!1,jt=et};var O=p.__private__.out=function(s){return s=s.toString(),Q+=s.length+1,jt.push(s),jt},Kt=p.__private__.write=function(s){return O(arguments.length===1?s.toString():Array.prototype.join.call(arguments," "))},Mt=p.__private__.getArrayBuffer=function(s){for(var v=s.length,C=new ArrayBuffer(v),D=new Uint8Array(C);v--;)D[v]=s.charCodeAt(v);return C},wt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return wt};var xt=i.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(s){return xt=Z===M.ADVANCED?s/Ft:s,this};var kt,Pt=p.__private__.getFontSize=p.getFontSize=function(){return Z===M.COMPAT?xt:xt*Ft},qt=i.R2L||!1;p.__private__.setR2L=p.setR2L=function(s){return qt=s,this},p.__private__.getR2L=p.getR2L=function(){return qt};var Gt,Qt=p.__private__.setZoomMode=function(s){var v=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(s))kt=s;else if(isNaN(s)){if(v.indexOf(s)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+s+'" is not recognized.');kt=s}else kt=parseInt(s,10)};p.__private__.getZoomMode=function(){return kt};var te,ie=p.__private__.setPageMode=function(s){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(s)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+s+'" is not recognized.');Gt=s};p.__private__.getPageMode=function(){return Gt};var fe=p.__private__.setLayoutMode=function(s){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(s)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+s+'" is not recognized.');te=s};p.__private__.getLayoutMode=function(){return te},p.__private__.setDisplayMode=p.setDisplayMode=function(s,v,C){return Qt(s),fe(v),ie(C),this};var Ht={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(s){if(Object.keys(Ht).indexOf(s)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ht[s]},p.__private__.getDocumentProperties=function(){return Ht},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(s){for(var v in Ht)Ht.hasOwnProperty(v)&&s[v]&&(Ht[v]=s[v]);return this},p.__private__.setDocumentProperty=function(s,v){if(Object.keys(Ht).indexOf(s)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ht[s]=v};var ee,Ft,Ge,oe,An,pe={},we={},qn=[],ce={},_r={},Ne={},xn={},Kn=null,Ae=0,Jt=[],ue=new Rs(p),Pr=i.hotfixes||[],He={},Dn={},Rn=[],zt=function s(v,C,D,Y,it,yt){if(!(this instanceof s))return new s(v,C,D,Y,it,yt);isNaN(v)&&(v=1),isNaN(C)&&(C=0),isNaN(D)&&(D=0),isNaN(Y)&&(Y=1),isNaN(it)&&(it=0),isNaN(yt)&&(yt=0),this._matrix=[v,C,D,Y,it,yt]};Object.defineProperty(zt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(s){this._matrix[0]=s}}),Object.defineProperty(zt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(s){this._matrix[1]=s}}),Object.defineProperty(zt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(s){this._matrix[2]=s}}),Object.defineProperty(zt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(s){this._matrix[3]=s}}),Object.defineProperty(zt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(s){this._matrix[4]=s}}),Object.defineProperty(zt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(s){this._matrix[5]=s}}),Object.defineProperty(zt.prototype,"a",{get:function(){return this._matrix[0]},set:function(s){this._matrix[0]=s}}),Object.defineProperty(zt.prototype,"b",{get:function(){return this._matrix[1]},set:function(s){this._matrix[1]=s}}),Object.defineProperty(zt.prototype,"c",{get:function(){return this._matrix[2]},set:function(s){this._matrix[2]=s}}),Object.defineProperty(zt.prototype,"d",{get:function(){return this._matrix[3]},set:function(s){this._matrix[3]=s}}),Object.defineProperty(zt.prototype,"e",{get:function(){return this._matrix[4]},set:function(s){this._matrix[4]=s}}),Object.defineProperty(zt.prototype,"f",{get:function(){return this._matrix[5]},set:function(s){this._matrix[5]=s}}),Object.defineProperty(zt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(zt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(zt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(zt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),zt.prototype.join=function(s){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(rt).join(s)},zt.prototype.multiply=function(s){var v=s.sx*this.sx+s.shy*this.shx,C=s.sx*this.shy+s.shy*this.sy,D=s.shx*this.sx+s.sy*this.shx,Y=s.shx*this.shy+s.sy*this.sy,it=s.tx*this.sx+s.ty*this.shx+this.tx,yt=s.tx*this.shy+s.ty*this.sy+this.ty;return new zt(v,C,D,Y,it,yt)},zt.prototype.decompose=function(){var s=this.sx,v=this.shy,C=this.shx,D=this.sy,Y=this.tx,it=this.ty,yt=Math.sqrt(s*s+v*v),It=(s/=yt)*C+(v/=yt)*D;C-=s*It,D-=v*It;var Dt=Math.sqrt(C*C+D*D);return It/=Dt,s*(D/=Dt)>16&255,D=Dt>>8&255,Y=255&Dt}if(D===void 0||it===void 0&&C===D&&D===Y)if(typeof C=="string")v=C+" "+yt[0];else switch(s.precision){case 2:v=bt(C/255)+" "+yt[0];break;case 3:default:v=k(C/255)+" "+yt[0]}else if(it===void 0||ve(it)==="object"){if(it&&!isNaN(it.a)&&it.a===0)return v=["1.","1.","1.",yt[1]].join(" ");if(typeof C=="string")v=[C,D,Y,yt[1]].join(" ");else switch(s.precision){case 2:v=[bt(C/255),bt(D/255),bt(Y/255),yt[1]].join(" ");break;default:case 3:v=[k(C/255),k(D/255),k(Y/255),yt[1]].join(" ")}}else if(typeof C=="string")v=[C,D,Y,it,yt[2]].join(" ");else switch(s.precision){case 2:v=[bt(C),bt(D),bt(Y),bt(it),yt[2]].join(" ");break;case 3:default:v=[k(C),k(D),k(Y),k(it),yt[2]].join(" ")}return v},zn=p.__private__.getFilters=function(){return l},gn=p.__private__.putStream=function(s){var v=(s=s||{}).data||"",C=s.filters||zn(),D=s.alreadyAppliedFilters||[],Y=s.addLength1||!1,it=v.length,yt=s.objectId,It=function(Ye){return Ye};if(A!==null&&yt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");A!==null&&(It=Je.encryptor(yt,0));var Dt={};C===!0&&(C=["FlateEncode"]);var Zt=s.additionalKeyValues||[],Yt=(Dt=Tt.API.processDataByFilters!==void 0?Tt.API.processDataByFilters(v,C):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(D)?D.join(" "):D.toString());if(Dt.data.length!==0&&(Zt.push({key:"Length",value:Dt.data.length}),Y===!0&&Zt.push({key:"Length1",value:it})),Yt.length!=0)if(Yt.split("/").length-1==1)Zt.push({key:"Filter",value:Yt});else{Zt.push({key:"Filter",value:"["+Yt+"]"});for(var re=0;re>"),Dt.data.length!==0&&(O("stream"),O(It(Dt.data)),O("endstream"))},Un=p.__private__.putPage=function(s){var v=s.number,C=s.data,D=s.objId,Y=s.contentsObjId;ln(D,!0),O("<>"),O("endobj");var it=C.join(` `);return Z===M.ADVANCED&&(it+=` Q`),ln(Y,!0),gn({data:it,filters:zn(),objectId:Y}),O("endobj"),D},kr=p.__private__.putPages=function(){var s,v,C=[];for(s=1;s<=Ae;s++)Jt[s].objId=Oe(),Jt[s].contentsObjId=Oe();for(s=1;s<=Ae;s++)C.push(Un({number:s,data:Lt[s],objId:Jt[s].objId,contentsObjId:Jt[s].contentsObjId,mediaBox:Jt[s].mediaBox,cropBox:Jt[s].cropBox,bleedBox:Jt[s].bleedBox,trimBox:Jt[s].trimBox,artBox:Jt[s].artBox,userUnit:Jt[s].userUnit,rootDictionaryObjId:Zn,resourceDictionaryObjId:_n}));ln(Zn,!0),O("<>"),O("endobj"),ue.publish("postPutPages")},Jr=function(s){ue.publish("putFont",{font:s,out:O,newObject:qe,putStream:gn}),s.isAlreadyPutted!==!0&&(s.objectNumber=qe(),O("<<"),O("/Type /Font"),O("/BaseFont /"+xi(s.postScriptName)),O("/Subtype /Type1"),typeof s.encoding=="string"&&O("/Encoding /"+s.encoding),O("/FirstChar 32"),O("/LastChar 255"),O(">>"),O("endobj"))},Yr=function(){for(var s in pe)pe.hasOwnProperty(s)&&(N===!1||N===!0&&_.hasOwnProperty(s))&&Jr(pe[s])},Xr=function(s){s.objectNumber=qe();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[rt(s.x),rt(s.y),rt(s.x+s.width),rt(s.y+s.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+s.matrix.toString()+"]"});var C=s.pages[1].join(` `);gn({data:C,additionalKeyValues:v,objectId:s.objectNumber}),O("endobj")},Kr=function(){for(var s in He)He.hasOwnProperty(s)&&Xr(He[s])},sa=function(s,v){var C,D=[],Y=1/(v-1);for(C=0;C<1;C+=Y)D.push(C);if(D.push(1),s[0].offset!=0){var it={offset:0,color:s[0].color};s.unshift(it)}if(s[s.length-1].offset!=1){var yt={offset:1,color:s[s.length-1].color};s.push(yt)}for(var It="",Dt=0,Zt=0;Zts[Dt+1].offset;)Dt++;var Yt=s[Dt].offset,re=(C-Yt)/(s[Dt+1].offset-Yt),Le=s[Dt].color,xe=s[Dt+1].color;It+=W(Math.round((1-re)*Le[0]+re*xe[0]).toString(16))+W(Math.round((1-re)*Le[1]+re*xe[1]).toString(16))+W(Math.round((1-re)*Le[2]+re*xe[2]).toString(16))}return It.trim()},ro=function(s,v){v||(v=21);var C=qe(),D=sa(s.colors,v),Y=[];Y.push({key:"FunctionType",value:"0"}),Y.push({key:"Domain",value:"[0.0 1.0]"}),Y.push({key:"Size",value:"["+v+"]"}),Y.push({key:"BitsPerSample",value:"8"}),Y.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Y.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gn({data:D,additionalKeyValues:Y,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:C}),O("endobj"),s.objectNumber=qe(),O("<< /ShadingType "+s.type),O("/ColorSpace /DeviceRGB");var it="/Coords ["+rt(parseFloat(s.coords[0]))+" "+rt(parseFloat(s.coords[1]))+" ";s.type===2?it+=rt(parseFloat(s.coords[2]))+" "+rt(parseFloat(s.coords[3])):it+=rt(parseFloat(s.coords[2]))+" "+rt(parseFloat(s.coords[3]))+" "+rt(parseFloat(s.coords[4]))+" "+rt(parseFloat(s.coords[5])),O(it+="]"),s.matrix&&O("/Matrix ["+s.matrix.toString()+"]"),O("/Function "+C+" 0 R"),O("/Extend [true true]"),O(">>"),O("endobj")},io=function(s,v){var C=Oe(),D=qe();v.push({resourcesOid:C,objectOid:D}),s.objectNumber=D;var Y=[];Y.push({key:"Type",value:"/Pattern"}),Y.push({key:"PatternType",value:"1"}),Y.push({key:"PaintType",value:"1"}),Y.push({key:"TilingType",value:"1"}),Y.push({key:"BBox",value:"["+s.boundingBox.map(rt).join(" ")+"]"}),Y.push({key:"XStep",value:rt(s.xStep)}),Y.push({key:"YStep",value:rt(s.yStep)}),Y.push({key:"Resources",value:C+" 0 R"}),s.matrix&&Y.push({key:"Matrix",value:"["+s.matrix.toString()+"]"}),gn({data:s.stream,additionalKeyValues:Y,objectId:s.objectNumber}),O("endobj")},Zr=function(s){var v;for(v in ce)ce.hasOwnProperty(v)&&(ce[v]instanceof Nr?ro(ce[v]):ce[v]instanceof Tr&&io(ce[v],s))},ca=function(s){for(var v in s.objectNumber=qe(),O("<<"),s)switch(v){case"opacity":O("/ca "+bt(s[v]));break;case"stroke-opacity":O("/CA "+bt(s[v]))}O(">>"),O("endobj")},ao=function(){var s;for(s in Ne)Ne.hasOwnProperty(s)&&ca(Ne[s])},Si=function(){for(var s in O("/XObject <<"),He)He.hasOwnProperty(s)&&He[s].objectNumber>=0&&O("/"+s+" "+He[s].objectNumber+" 0 R");ue.publish("putXobjectDict"),O(">>")},oo=function(){Je.oid=qe(),O("<<"),O("/Filter /Standard"),O("/V "+Je.v),O("/R "+Je.r),O("/U <"+Je.toHexString(Je.U)+">"),O("/O <"+Je.toHexString(Je.O)+">"),O("/P "+Je.P),O(">>"),O("endobj")},ua=function(){for(var s in O("/Font <<"),pe)pe.hasOwnProperty(s)&&(N===!1||N===!0&&_.hasOwnProperty(s))&&O("/"+s+" "+pe[s].objectNumber+" 0 R");O(">>")},so=function(){if(Object.keys(ce).length>0){for(var s in O("/Shading <<"),ce)ce.hasOwnProperty(s)&&ce[s]instanceof Nr&&ce[s].objectNumber>=0&&O("/"+s+" "+ce[s].objectNumber+" 0 R");ue.publish("putShadingPatternDict"),O(">>")}},$r=function(s){if(Object.keys(ce).length>0){for(var v in O("/Pattern <<"),ce)ce.hasOwnProperty(v)&&ce[v]instanceof p.TilingPattern&&ce[v].objectNumber>=0&&ce[v].objectNumber>")}},co=function(){if(Object.keys(Ne).length>0){var s;for(s in O("/ExtGState <<"),Ne)Ne.hasOwnProperty(s)&&Ne[s].objectNumber>=0&&O("/"+s+" "+Ne[s].objectNumber+" 0 R");ue.publish("putGStateDict"),O(">>")}},Pe=function(s){ln(s.resourcesOid,!0),O("<<"),O("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ua(),so(),$r(s.objectOid),co(),Si(),O(">>"),O("endobj")},la=function(){var s=[];Yr(),ao(),Kr(),Zr(s),ue.publish("putResources"),s.forEach(Pe),Pe({resourcesOid:_n,objectOid:Number.MAX_SAFE_INTEGER}),ue.publish("postPutResources")},ha=function(){ue.publish("putAdditionalObjects");for(var s=0;s>8&&(Dt=!0);s=It.join("")}for(C=s.length;Dt===void 0&&C!==0;)s.charCodeAt(C-1)>>8&&(Dt=!0),C--;if(!Dt)return s;for(It=v.noBOM?[]:[254,255],C=0,D=s.length;C>8)>>8)throw new Error("Character at position "+C+" of string '"+s+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");It.push(Yt),It.push(Zt-(Yt<<8))}return String.fromCharCode.apply(void 0,It)},rn=p.__private__.pdfEscape=p.pdfEscape=function(s,v){return Qr(s,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pi=p.__private__.beginPage=function(s){Lt[++Ae]=[],Jt[Ae]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(s[0]),topRightY:Number(s[1])}},pa(Ae),at(Lt[j])},da=function(s,v){var C,D,Y;switch(n=v||n,typeof s=="string"&&(C=S(s.toLowerCase()),Array.isArray(C)&&(D=C[0],Y=C[1])),Array.isArray(s)&&(D=s[0]*Ft,Y=s[1]*Ft),isNaN(D)&&(D=u[0],Y=u[1]),(D>14400||Y>14400)&&(me.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),D=Math.min(14400,D),Y=Math.min(14400,Y)),u=[D,Y],n.substr(0,1)){case"l":Y>D&&(u=[Y,D]);break;case"p":D>Y&&(u=[Y,D])}Pi(u),wa(Ci),O(In),Oi!==0&&O(Oi+" J"),Bi!==0&&O(Bi+" j"),ue.publish("addPage",{pageNumber:Ae})},lo=function(s){s>0&&s<=Ae&&(Lt.splice(s,1),Jt.splice(s,1),Ae--,j>Ae&&(j=Ae),this.setPage(j))},pa=function(s){s>0&&s<=Ae&&(j=s)},ho=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return Lt.length-1},ga=function(s,v,C){var D,Y=void 0;return C=C||{},s=s!==void 0?s:pe[ee].fontName,v=v!==void 0?v:pe[ee].fontStyle,D=s.toLowerCase(),we[D]!==void 0&&we[D][v]!==void 0?Y=we[D][v]:we[s]!==void 0&&we[s][v]!==void 0?Y=we[s][v]:C.disableWarning===!1&&me.warn("Unable to look up font label for font '"+s+"', '"+v+"'. Refer to getFontList() for available fonts."),Y||C.noFallback||(Y=we.times[v])==null&&(Y=we.times.normal),Y},fo=p.__private__.putInfo=function(){var s=qe(),v=function(D){return D};for(var C in A!==null&&(v=Je.encryptor(s,0)),O("<<"),O("/Producer ("+rn(v("jsPDF "+Tt.version))+")"),Ht)Ht.hasOwnProperty(C)&&Ht[C]&&O("/"+C.substr(0,1).toUpperCase()+C.substr(1)+" ("+rn(v(Ht[C]))+")");O("/CreationDate ("+rn(v(ct))+")"),O(">>"),O("endobj")},ki=p.__private__.putCatalog=function(s){var v=(s=s||{}).rootDictionaryObjId||Zn;switch(qe(),O("<<"),O("/Type /Catalog"),O("/Pages "+v+" 0 R"),kt||(kt="fullwidth"),kt){case"fullwidth":O("/OpenAction [3 0 R /FitH null]");break;case"fullheight":O("/OpenAction [3 0 R /FitV null]");break;case"fullpage":O("/OpenAction [3 0 R /Fit]");break;case"original":O("/OpenAction [3 0 R /XYZ null null 1]");break;default:var C=""+kt;C.substr(C.length-1)==="%"&&(kt=parseInt(kt)/100),typeof kt=="number"&&O("/OpenAction [3 0 R /XYZ null null "+bt(kt)+"]")}switch(te||(te="continuous"),te){case"continuous":O("/PageLayout /OneColumn");break;case"single":O("/PageLayout /SinglePage");break;case"two":case"twoleft":O("/PageLayout /TwoColumnLeft");break;case"tworight":O("/PageLayout /TwoColumnRight")}Gt&&O("/PageMode /"+Gt),ue.publish("putCatalog"),O(">>"),O("endobj")},po=p.__private__.putTrailer=function(){O("trailer"),O("<<"),O("/Size "+(J+1)),O("/Root "+J+" 0 R"),O("/Info "+(J-1)+" 0 R"),A!==null&&O("/Encrypt "+Je.oid+" 0 R"),O("/ID [ <"+ot+"> <"+ot+"> ]"),O(">>")},go=p.__private__.putHeader=function(){O("%PDF-"+B),O("%\xBA\xDF\xAC\xE0")},mo=p.__private__.putXRef=function(){var s="0000000000";O("xref"),O("0 "+(J+1)),O("0000000000 65535 f ");for(var v=1;v<=J;v++)typeof $[v]=="function"?O((s+$[v]()).slice(-10)+" 00000 n "):$[v]!==void 0?O((s+$[v]).slice(-10)+" 00000 n "):O("0000000000 00000 n ")},$n=p.__private__.buildDocument=function(){Wt(),at(et),ue.publish("buildDocument"),go(),kr(),ha(),la(),A!==null&&oo(),fo(),ki();var s=Q;return mo(),po(),O("startxref"),O(""+s),O("%%EOF"),at(Lt[j]),et.join(` `)},ti=p.__private__.getBlob=function(s){return new Blob([Mt(s)],{type:"application/pdf"})},ei=p.output=p.__private__.output=Fn(function(s,v){switch(typeof(v=v||{})=="string"?v={filename:v}:v.filename=v.filename||"generated.pdf",s){case void 0:return $n();case"save":p.save(v.filename);break;case"arraybuffer":return Mt($n());case"blob":return ti($n());case"bloburi":case"bloburl":if(Ut.URL!==void 0&&typeof Ut.URL.createObjectURL=="function")return Ut.URL&&Ut.URL.createObjectURL(ti($n()))||void 0;me.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var C="",D=$n();try{C=ts(D)}catch{C=ts(unescape(encodeURIComponent(D)))}return"data:application/pdf;filename="+v.filename+";base64,"+C;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ut)==="[object Window]"){var Y="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",it=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';v.pdfObjectUrl&&(Y=v.pdfObjectUrl,it="");var yt='