1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/public/pdf.built.js

30 lines
1.1 MiB
JavaScript
Raw Normal View History

2017-09-18 08:27:09 +02:00
function ninjaLoadFontVfs(){jQuery.each(window.ninjaFontVfs,function(t,e){jQuery.each(e,function(e,n){window.pdfMake.vfs["fonts/"+t+"/"+e]=n})})}function ninjaAddVFSDoc(t,e){window.pdfMake.vfs["docs/"+t]=e,window.refreshPDF&&refreshPDF(!0),jQuery(document).trigger("ninjaVFSDocAdded")}"undefined"==typeof PDFJS&&(("undefined"!=typeof window?window:this).PDFJS={}),PDFJS.version="0.8.765",PDFJS.build="88ec2bd",function(){"use strict";function t(t){E>=T&&(B("Info: "+t),PDFJS.LogManager.notify("info",t))}function e(t){E>=I&&(B("Warning: "+t),PDFJS.LogManager.notify("warn",t))}function n(t){if(arguments.length>1){var e=["Error:"];e.push.apply(e,arguments),B.apply(null,e),t=[].join.call(arguments," ")}else B("Error: "+t);throw B(i()),PDFJS.LogManager.notify("error",t),new Error(t)}function r(t){e("TODO: "+t)}function i(){try{throw new Error}catch(t){return t.stack?t.stack.split("\n").slice(2).join("\n"):""}}function o(t,e){t||n(e)}function a(t,e){if(!e)return t;if(e.indexOf(":")>=0)return e;if("/"==e.charAt(0)){var n=t.indexOf("://");return n=t.indexOf("/",n+3),t.substring(0,n)+e}var n,r=t.length;n=t.lastIndexOf("#"),r=n>=0?n:r,n=t.lastIndexOf("?",r),r=n>=0?n:r;var i=t.lastIndexOf("/",r);return t.substring(0,i+1)+e}function s(t,e){if(!t)return!1;var n=t.indexOf(":");if(n<0)return e;var r=t.substr(0,n);switch(r){case"http":case"https":case"ftp":case"mailto":return!0;default:return!1}}function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}function l(t){for(var e="",n=t.length,r=0;r<n;++r)e+=String.fromCharCode(t[r]);return e}function c(t){for(var e=t.length,n=new Uint8Array(e),r=0;r<e;++r)n[r]=255&t.charCodeAt(r);return n}function f(t){var e,n=t.length,r="";if("þ"===t[0]&&"ÿ"===t[1])for(e=2;e<n;e+=2)r+=String.fromCharCode(t.charCodeAt(e)<<8|t.charCodeAt(e+1));else for(e=0;e<n;++e){var i=N[t.charCodeAt(e)];r+=i?String.fromCharCode(i):t.charAt(e)}return r}function h(t){return"boolean"==typeof t}function p(t){return"number"==typeof t}function d(t){return"string"==typeof t}function g(t){return t instanceof Name}function v(t,e){if(!(t instanceof Dict))return!1;if(!e)return!0;var n=t.get("Type");return g(n)&&n.name==e}function y(t){return t instanceof Array}function m(t){return"object"==typeof t&&null!==t&&void 0!==t&&"getBytes"in t}function b(t){return"object"==typeof t&&null!==t&&void 0!==t&&"byteLength"in t}function w(t){var e;if("object"!=typeof t)return!1;if(v(t))e=t;else{if(!m(t))return!1;e=t.dict}return e.has("FunctionType")}function A(t,r){this.name=t,this.comObj=r,this.callbackIndex=1,this.postMessageTransfers=!0;var i=this.callbacks={},o=this.actionHandler={};o.console_log=[function(t){B.apply(null,t)}],"console"in C?o.console_error=[function(t){C.console.error.apply(null,t)}]:o.console_error=[function(t){B.apply(null,t)}],o._warn=[function(t){e(t)}],r.onmessage=function(t){var e=t.data;if(e.isReply){var a=e.callbackId;if(e.callbackId in i){var s=i[a];delete i[a],s(e.data)}else n("Cannot resolve callback "+a)}else if(e.action in o){var u=o[e.action];if(e.callbackId){var l=new W;l.then(function(t){r.postMessage({isReply:!0,callbackId:e.callbackId,data:t})}),u[0].call(u[1],e.data,l)}else u[0].call(u[1],e.data)}else n("Unkown action from worker: "+e.action)}}function x(t,e,n){var r=new Image;r.onload=function(){n.resolve(t,r)},r.src=e}function _(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,n}function S(t){t.mozCurrentTransform||(t._scaleX=t._scaleX||1,t._scaleY=t._scaleY||1,t._originalSave=t.save,t._originalRestore=t.restore,t._originalRotate=t.rotate,t._originalScale=t.scale,t._originalTranslate=t.translate,t._originalTransform=t.transform,t._originalSetTransform=t.setTransform,t._transformMatrix=[t._scaleX,0,0,t._scaleY,0,0],t._transformStack=[],Object.defineProperty(t,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(t,"mozCurrentTransformInverse",{get:function(){var t=this._transformMatrix,e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=e*i-n*r,u=n*r-e*i;return[i/s,n/u,r/u,e/s,(i*o-r*a)/u,(n*o-e*a)/s]}}),t.sa
return{type:"Pattern",getPattern:function(){return"hotpink"}}},t.prototype={getIR:function(){return["Dummy"]}},t}();var tt=function(){function t(t,e,n,r,i,o){this.name=t[1][0].name,this.operatorList=t[2],this.matrix=t[3]||[1,0,0,1,0,0],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=e,this.objs=r,this.commonObjs=i,this.baseTransform=o,this.type="Pattern",this.ctx=n}var e={COLORED:1,UNCOLORED:2},i=3e3;return t.getIR=function(t,e,n){var r=e.get("Matrix"),i=e.get("BBox"),o=e.get("XStep"),a=e.get("YStep"),s=e.get("PaintType"),u=e.get("TilingType");return["TilingPattern",n,t,r,i,o,a,s,u]},t.prototype={createPatternCanvas:function(t){var e=this.operatorList,n=this.bbox,o=this.xstep,a=this.ystep,s=this.paintType,u=this.tilingType,l=this.color,c=this.objs,f=this.commonObjs;this.ctx;r("TilingType: "+u);var h=n[0],p=n[1],d=n[2],g=n[3],v=[h,p],y=[h+o,p+a],m=y[0]-v[0],b=y[1]-v[1],w=z.singularValueDecompose2dScale(this.matrix),A=z.singularValueDecompose2dScale(this.baseTransform),x=[w[0]*A[0],w[1]*A[1]];m=Math.min(Math.ceil(Math.abs(m*x[0])),i),b=Math.min(Math.ceil(Math.abs(b*x[1])),i);var _=xt.getCanvas("pattern",m,b,!0),S=_.context,k=new St(S,f,c);k.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(S,s,l),this.setScale(m,b,o,a),this.transformToScale(k);var C=[1,0,0,1,-v[0],-v[1]];return k.transform.apply(k,C),this.clipBbox(k,n,h,p,d,g),k.executeOperatorList(e),_.canvas},setScale:function(t,e,n,r){this.scale=[t/n,e/r]},transformToScale:function(t){var e=this.scale,n=[e[0],0,0,e[1],0,0];t.transform.apply(t,n)},scaleToContext:function(){var t=this.scale;this.ctx.scale(1/t[0],1/t[1])},clipBbox:function(t,e,n,r,i,o){if(e&&y(e)&&4==e.length){var a=i-n,s=o-r;t.rectangle(n,r,a,s),t.clip(),t.endPath()}},setFillAndStrokeStyleToContext:function(t,r,i){switch(r){case e.COLORED:var o=this.ctx;t.fillStyle=o.fillStyle,t.strokeStyle=o.strokeStyle;break;case e.UNCOLORED:var a=U.singletons.rgb.getRgb(i,0),s=z.makeCssRgb(a);t.fillStyle=s,t.strokeStyle=s;break;default:n("Unsupported paint type: "+r)}},getPattern:function(t,e){var n=this.createPatternCanvas(e),t=this.ctx;return t.setTransform.apply(t,this.baseTransform),t.transform.apply(t,this.matrix),this.scaleToContext(),t.createPattern(n,"repeat")}},t}(),et=function(){var t=0,e=2,i=3,o=4;return{getSampleArray:function(t,e,n,r){for(var i=1,o=0,a=t.length;o<a;o++)i*=t[o];i*=e;for(var s=[],u=0,l=0,c=1/(Math.pow(2,n)-1),f=r.getBytes((i*n+7)/8),h=0,o=0;o<i;o++){for(;u<n;)l<<=8,l|=f[h++],u+=8;u-=n,s.push((l>>u)*c),l&=(1<<u)-1}return s},getIR:function(t,e){var r=e.dict;r||(r=e);var i=[this.constructSampled,null,this.constructInterpolated,this.constructStiched,this.constructPostScript],o=r.get("FunctionType"),a=i[o];return a||n("Unknown type of function"),a.call(this,e,r,t)},fromIR:function(n){var r=n[0];switch(r){case t:return this.constructSampledFromIR(n);case e:return this.constructInterpolatedFromIR(n);case i:return this.constructStichedFromIR(n);default:return this.constructPostScriptFromIR(n)}},parse:function(t,e){var n=this.getIR(t,e);return this.fromIR(n)},constructSampled:function(e,i){function o(t){for(var e=t.length,n=(t.length/2,[]),r=0,i=0;i<e;i+=2)n[r]=[t[i],t[i+1]],++r;return n}var a=i.get("Domain"),s=i.get("Range");a&&s||n("No domain or range");var u=a.length/2,l=s.length/2;a=o(a),s=o(s);var c=i.get("Size"),f=i.get("BitsPerSample"),h=i.get("Order")||1;1!==h&&r("No support for cubic spline interpolation: "+h);var p=i.get("Encode");if(!p){p=[];for(var d=0;d<u;++d)p.push(0),p.push(c[d]-1)}p=o(p);var g=i.get("Decode");g=g?o(g):s;var v=this.getSampleArray(c,l,f,e);return[t,u,a,p,g,v,c,l,Math.pow(2,f)-1,s]},constructSampledFromIR:function(t){function e(t,e,n,r,i){return r+(t-e)*((i-r)/(n-e))}return function(r){var i=t[1],o=t[2],a=t[3],s=t[4],u=t[5],l=t[6],c=t[7],f=(t[8],t[9]);i!=r.length&&n("Incorrect number of arguments: "+i+" != "+r.length);for(var h=r,p=1<<i,d=new Float64Array(p),g=new Uint32Array(p),v=0;v<p;v++)d[v]=1;for(var y=c,m=1,b=0;b<i;++b){var w=o[b][0],A=o[b][1],x=Math.min(Math.max(h[b],w),A),_=e(x,w,A,a[b][0],a[b][1]),S=l
initalizeGraphics:function(t){if(!this.cancelled){PDFJS.pdfBug&&"StepperManager"in C&&C.StepperManager.enabled&&(this.stepper=C.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var e=this.params;this.gfx=new St(e.canvasContext,this.commonObjs,this.objs,e.textLayer,e.imageLayer),this.gfx.beginDrawing(e.viewport,t),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}},cancel:function(){this.running=!1,this.cancelled=!0,this.callback("cancelled")},operatorListChanged:function(){return this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),void(this.running||this._continue())):void(this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continue.bind(this)))},_continue:function(){this.running=!0,this.cancelled||(this.params.continueCallback?this.params.continueCallback(this._next.bind(this)):this._next())},_next:function(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continue.bind(this),this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this.callback())))}},t}(),wt=(PDFJS.Metadata=function(){function t(t){return t.replace(/>\\376\\377([^<]+)/g,function(t,e){for(var n=e.replace(/\\([0-3])([0-7])([0-7])/g,function(t,e,n,r){return String.fromCharCode(64*e+8*n+1*r)}),r="",i=0;i<n.length;i+=2){var o=256*n.charCodeAt(i)+n.charCodeAt(i+1);r+="&#x"+(65536+o).toString(16).substring(1)+";"}return">"+r})}function e(e){if("string"==typeof e){e=t(e);var r=new DOMParser;e=r.parseFromString(e,"application/xml")}else e instanceof Document||n("Metadata: Invalid metadata object");this.metaDocument=e,this.metadata={},this.parse()}return e.prototype={parse:function(){var t=this.metaDocument,e=t.documentElement;if("rdf:rdf"!==e.nodeName.toLowerCase())for(e=e.firstChild;e&&"rdf:rdf"!==e.nodeName.toLowerCase();)e=e.nextSibling;var n=e?e.nodeName.toLowerCase():null;if(e&&"rdf:rdf"===n&&e.hasChildNodes()){var r,i,o,a,s,u,l,c=e.childNodes;for(a=0,u=c.length;a<u;a++)if(r=c[a],"rdf:description"===r.nodeName.toLowerCase())for(s=0,l=r.childNodes.length;s<l;s++)"#text"!==r.childNodes[s].nodeName.toLowerCase()&&(i=r.childNodes[s],o=i.nodeName.toLowerCase(),this.metadata[o]=i.textContent.trim())}},get:function(t){return this.metadata[t]||null},has:function(t){return"undefined"!=typeof this.metadata[t]}},e}(),16),At=!0,xt=function(){var t={};return{getCanvas:function(e,n,r,i){var o;if(e in t)o=t[e],o.canvas.width=n,o.canvas.height=r,o.context.setTransform(1,0,0,1,0,0);else{var a=_(n,r),s=a.getContext("2d");i&&S(s),t[e]=o={canvas:a,context:s}}return o},clear:function(){t={}}}}(),_t=function(){function t(t){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=M,this.fontMatrix=O,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=L.FILL,this.textRise=0,this.fillColorSpace=U.singletons.gray,this.fillColorSpaceObj=null,this.strokeColorSpace=U.singletons.gray,this.strokeColorSpaceObj=null,this.fillColorObj=null,this.strokeColorObj=null,this.fillColor="#000000",this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.paintFormXObjectDepth=0,this.old=t}return t.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(t,e){this.x=t,this.y=e}},t}(),St=function(){function i(t,e,n,r,i){this.ctx=t,this.current=new _t,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=e,this.objs=n,this.textLayer=r,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,t&&S(t)}function a(t,e){if("undefined"!=typeof ImageData&&e instanceof ImageData)return void t.putImageData(e,0,0);var n=t.createImageData(e.width,e.height),r=e.data,i=n.data;if("set"in i)i.set(r);else fo
}),t},enumerable:!0})}(),function(){function t(t,e,n,r){var i=t.className||"",o=i.split(/\s+/g);""===o[0]&&o.shift();var a=o.indexOf(e);return a<0&&n&&o.push(e),a>=0&&r&&o.splice(a,1),t.className=o.join(" "),a>=0}var e=document.createElement("div");if(!("classList"in e)){var n={add:function(e){t(this.element,e,!0,!1)},contains:function(e){return t(this.element,e,!1,!1)},remove:function(e){t(this.element,e,!1,!0)},toggle:function(e){t(this.element,e,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var t=Object.create(n,{element:{value:this,writable:!1,enumerable:!0}});return Object.defineProperty(this,"_classList",{value:t,writable:!1,enumerable:!1}),t},enumerable:!0})}}(),function(){"console"in window?"bind"in console.log||(console.log=function(t){return function(e){return t(e)}}(console.log),console.error=function(t){return function(e){return t(e)}}(console.error),console.warn=function(t){return function(e){return t(e)}}(console.warn)):window.console={log:function(){},error:function(){},warn:function(){}}}(),function(){function t(t){e(t.target)&&t.stopPropagation()}function e(t){return t.disabled||t.parentNode&&e(t.parentNode)}navigator.userAgent.indexOf("Opera")!==-1&&document.addEventListener("click",t,!0)}(),function(){navigator.userAgent.indexOf("Trident")>=0&&(PDFJS.disableCreateObjectURL=!0)}(),function(){"language"in navigator||(PDFJS.locale=navigator.userLanguage||"en-US")}(),function(){var t=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,e=/Android\s[0-2][^\d]/,n=e.test(navigator.userAgent),r=/Chrome\/(39|40)\./.test(navigator.userAgent);(t||n||r)&&(PDFJS.disableRange=!0,PDFJS.disableStream=!0)}(),function(){(!history.pushState||navigator.userAgent.indexOf("Android 2.")>=0)&&(PDFJS.disableHistory=!0)}(),function(){if(window.CanvasPixelArray)"function"!=typeof window.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(t){for(var e=0,n=this.length;e<n;e++)this[e]=t[e]});else{var t,e=!1;if(navigator.userAgent.indexOf("Chrom")>=0?(t=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./),e=t&&parseInt(t[2])<21):navigator.userAgent.indexOf("Android")>=0?e=/Android\s[0-4][^\d]/g.test(navigator.userAgent):navigator.userAgent.indexOf("Safari")>=0&&(t=navigator.userAgent.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//),e=t&&parseInt(t[1])<6),e){var n=window.CanvasRenderingContext2D.prototype,r=n.createImageData;n.createImageData=function(t,e){var n=r.call(this,t,e);return n.data.set=function(t){for(var e=0,n=this.length;e<n;e++)this[e]=t[e]},n},n=null}}}(),function(){function t(t){window.setTimeout(t,20)}var e=/(iPad|iPhone|iPod)/g.test(navigator.userAgent);return e?void(window.requestAnimationFrame=t):void("requestAnimationFrame"in window||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t))}(),function(){var t=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e=/Android/g.test(navigator.userAgent);(t||e)&&(PDFJS.maxCanvasPixels=5242880)}(),function(){var t=navigator.userAgent.indexOf("Trident")>=0&&window.parent!==window;t&&(PDFJS.disableFullscreen=!0)}(),function(){"currentScript"in document||Object.defineProperty(document,"currentScript",{get:function(){var t=document.getElementsByTagName("script");return t[t.length-1]},enumerable:!0,configurable:!0})}(),function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){(function(e){t.exports=e.pdfMake=n(1)}).call(e,function(){return this}())},function(t,e,n){(function(e,r){"use strict";function i(t,e,n,r){this.docDefinition=t,this.tableLayouts=e||null,this.fonts=n||l,this.vfs=r}function o(){return!
t.inlines[0].alignment){case"right":t.inlines[0].x+=o;break;case"center":t.inlines[0].x+=o/2}}e=e||0,n=n||0;var s=t.getHeight(),u=t.getAscenderHeight(),l=s-u;x.drawBackground(t,e,n,r);for(var c=0,f=t.inlines.length;c<f;c++){var h=t.inlines[c],p=s-h.font.ascender/1e3*h.fontSize-l;if(r.fill(h.color||"black"),r._font=h.font,r.fontSize(h.fontSize),r.text(h.text,e+h.x,n+p,{lineBreak:!1,textWidth:h.width,characterSpacing:h.characterSpacing,wordCount:1,link:h.link}),h.linkToPage){r.ref({Type:"Action",S:"GoTo",D:[h.linkToPage,0,0]}).end();r.annotate(e+h.x,n+p,h.width,h.height,{Subtype:"Link",Dest:[h.linkToPage-1,"XYZ",null,null,null]})}}x.drawDecorations(t,e,n,r)}function p(t,e){var n=t.watermark;e.fill(n.color),e.opacity(n.opacity),e.save();var r=Math.atan2(e.page.height,e.page.width)*-180/Math.PI;e.rotate(r,{origin:[e.page.width/2,e.page.height/2]});var i=e.page.width/2-n.size.size.width/2,o=e.page.height/2-n.size.size.height/4;e._font=n.font,e.fontSize(n.size.fontSize),e.text(n.text,i,o,{lineBreak:!1}),e.restore()}function d(t,e){switch(e.lineWidth(t.lineWidth||1),t.dash?e.dash(t.dash.length,{space:t.dash.space||t.dash.length,phase:t.dash.phase||0}):e.undash(),e.lineJoin(t.lineJoin||"miter"),t.type){case"ellipse":e.ellipse(t.x,t.y,t.r1,t.r2);break;case"rect":if(t.r?e.roundedRect(t.x,t.y,t.w,t.h,t.r):e.rect(t.x,t.y,t.w,t.h),t.linearGradient){for(var n=e.linearGradient(t.x,t.y,t.x+t.w,t.y),r=1/(t.linearGradient.length-1),i=0;i<t.linearGradient.length;i++)n.stop(i*r,t.linearGradient[i]);t.color=n}break;case"line":e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2);break;case"polyline":if(0===t.points.length)break;e.moveTo(t.points[0].x,t.points[0].y);for(var i=1,o=t.points.length;i<o;i++)e.lineTo(t.points[i].x,t.points[i].y);if(t.points.length>1){var a=t.points[0],s=t.points[t.points.length-1];(t.closePath||a.x===s.x&&a.y===s.y)&&e.closePath()}break;case"path":e.path(t.d)}t.color&&t.lineColor?(e.fillColor(t.color,t.fillOpacity||1),e.strokeColor(t.lineColor,t.strokeOpacity||1),e.fillAndStroke()):t.color?(e.fillColor(t.color,t.fillOpacity||1),e.fill()):(e.strokeColor(t.lineColor||"black",t.strokeOpacity||1),e.stroke())}function g(t,e,n,r){r.image(t.image,t.x,t.y,{width:t._width,height:t._height}),t.link&&r.link(t.x,t.y,t._width,t._height,t.link)}var v=n(7),y=n(9),m=n(10),b=n(30),w=n(296),A=n(297),x=n(298),_=n(15);v.noConflict(),r.prototype.createPdfKitDocument=function(t,e){e=e||{};var n=a(t.pageSize,t.pageOrientation);this.pdfKitDoc=new b({size:[n.width,n.height],autoFirstPage:!1,compress:t.compress||!0}),i(t,this.pdfKitDoc),this.fontProvider=new y(this.fontDescriptors,this.pdfKitDoc),t.images=t.images||{};var r=new m(n,s(t.pageMargins||40),new A(this.pdfKitDoc,t.images));u(r),e.tableLayouts&&r.registerTableLayouts(e.tableLayouts);var l=r.layoutDocument(t.content,this.fontProvider,t.styles||{},t.defaultStyle||{fontSize:12,font:"Roboto"},t.background,t.header,t.footer,t.images,t.watermark,t.pageBreakBefore),c=t.maxPagesNumber||-1;if("number"==typeof c&&c>-1&&(l=l.slice(0,c)),n.height===1/0){var h=o(l,t.pageMargins);this.pdfKitDoc.options.size=[n.width,h]}if(f(l,this.fontProvider,this.pdfKitDoc,e.progressCallback),e.autoPrint){var p=this.pdfKitDoc.ref({Type:"Action",S:"Named",N:"Print"});this.pdfKitDoc._root.data.OpenAction=p,p.end()}return this.pdfKitDoc},t.exports=r,r.prototype.fs=n(55)},function(t,e,n){var r;(function(t,i){(function(){function o(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function s(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function l(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function c(t,e){for(var n=null==t?0:t.length;n--&&e(t[n],n,t)!==!1;);return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function h(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}fun
oi(function(n){var r=this;return t(e,function(t){return s(t,r,n)})})})}function oo(t,e){e=e===it?" ":vi(e);var n=e.length;if(n<2)return n?ii(e,t):e;var r=ii(e,Uc(t/$(e)));return G(e)?Pi(tt(r),0,t).join(""):r.slice(0,t)}function ao(t,e,n,r){function i(){for(var e=-1,u=arguments.length,l=-1,c=r.length,f=ac(c+u),h=this&&this!==sr&&this instanceof i?a:t;++l<c;)f[l]=r[l];for(;u--;)f[l++]=arguments[++e];return s(h,o?n:this,f)}var o=e&yt,a=Ki(t);return i}function so(t){return function(e,n,r){return r&&"number"!=typeof r&&No(e,n,r)&&(n=r=it),e=ku(e),n===it?(n=e,e=0):n=ku(n),r=r===it?e<n?1:-1:ku(r),ri(e,n,r,t)}}function uo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Iu(e),n=Iu(n)),t(e,n)}}function lo(t,e,n,r,i,o,a,s,u,l){var c=e&wt,f=c?a:it,h=c?it:a,p=c?o:it,d=c?it:o;e|=c?xt:_t,e&=~(c?_t:xt),e&bt||(e&=~(yt|mt));var g=[t,e,i,p,f,d,h,s,u,l],v=n.apply(it,g);return Uo(t)&&Rf(v,g),v.placeholder=r,ta(v,t,e)}function co(t){var e=cc[t];return function(t,n){if(t=Iu(t),n=null==n?0:Jc(Cu(n),292)){var r=(Ou(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Ou(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function fo(t){return function(e){var n=Of(e);return n==Kt?q(e):n==ie?J(e):B(e,t(e))}}function ho(t,e,n,r,i,o,a,s){var u=e&mt;if(!u&&"function"!=typeof t)throw new dc(ut);var l=r?r.length:0;if(l||(e&=~(xt|_t),r=i=it),a=a===it?a:Xc(Cu(a),0),s=s===it?s:Cu(s),l-=i?i.length:0,e&_t){var c=r,f=i;r=i=it}var h=u?it:If(t),p=[t,e,n,r,i,c,f,o,a,s];if(h&&Zo(p,h),t=p[0],e=p[1],n=p[2],r=p[3],i=p[4],s=p[9]=p[9]===it?u?0:t.length:Xc(p[9]-l,0),!s&&e&(wt|At)&&(e&=~(wt|At)),e&&e!=yt)d=e==wt||e==At?Qi(t,e,s):e!=xt&&e!=(yt|xt)||i.length?eo.apply(it,p):ao(t,e,n,r);else var d=Zi(t,e,n);var g=h?_f:Rf;return ta(g(d,p),t,e)}function po(t,e,n,r){return t===it||Xs(t,yc[n])&&!wc.call(r,n)?e:t}function go(t,e,n,r,i,o){return uu(t)&&uu(e)&&(o.set(e,t),Yr(t,e,it,go,o),o["delete"](e)),t}function vo(t){return yu(t)?it:t}function yo(t,e,n,r,i,o){var a=n&gt,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t);if(l&&o.get(e))return l==e;var c=-1,f=!0,h=n&vt?new yn:it;for(o.set(t,e),o.set(e,t);++c<s;){var p=t[c],d=e[c];if(r)var g=a?r(d,p,c,e,t,o):r(p,d,c,t,e,o);if(g!==it){if(g)continue;f=!1;break}if(h){if(!b(e,function(t,e){if(!M(h,e)&&(p===t||i(p,t,n,r,o)))return h.push(e)})){f=!1;break}}else if(p!==d&&!i(p,d,n,r,o)){f=!1;break}}return o["delete"](t),o["delete"](e),f}function mo(t,e,n,r,i,o,a){switch(n){case fe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ce:return!(t.byteLength!=e.byteLength||!o(new Tc(t),new Tc(e)));case Ht:case qt:case Qt:return Xs(+t,+e);case Zt:return t.name==e.name&&t.message==e.message;case re:case oe:return t==e+"";case Kt:var s=q;case ie:var u=r&gt;if(s||(s=X),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;r|=vt,a.set(t,e);var c=yo(s(t),s(e),r,i,o,a);return a["delete"](t),c;case ae:if(vf)return vf.call(t)==vf.call(e)}return!1}function bo(t,e,n,r,i,o){var a=n&gt,s=Ao(t),u=s.length,l=Ao(e),c=l.length;if(u!=c&&!a)return!1;for(var f=u;f--;){var h=s[f];if(!(a?h in e:wc.call(e,h)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var d=!0;o.set(t,e),o.set(e,t);for(var g=a;++f<u;){h=s[f];var v=t[h],y=e[h];if(r)var m=a?r(y,v,h,e,t,o):r(v,y,h,t,e,o);if(!(m===it?v===y||i(v,y,n,r,o):m)){d=!1;break}g||(g="constructor"==h)}if(d&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(d=!1)}return o["delete"](t),o["delete"](e),d}function wo(t){return Df(Ko(t,it,ya),t+"")}function Ao(t){return ur(t,Vu,Tf)}function xo(t){return ur(t,Hu,Ef)}function _o(t){for(var e=t.name+"",n=lf[e],r=wc.call(lf,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function So(t){var n=wc.call(e,"placeholder")?e:t;return n.placeholder}function ko(){var t=e.iteratee||Dl;return t=t===Dl?Wr:t,arguments.length?t(arguments[0],arguments[1]):t}function Co(t,e){var n=t.__data__;return jo(e)?n["string"==typeof e?"string":"hash"]:n.map}function Po(t)
t})):this.thru(a)}),eh=Vi(function(t,e,n){wc.call(t,n)?++t[n]:Fn(t,n,1)}),nh=$i(ga),rh=$i(va),ih=Vi(function(t,e,n){wc.call(t,n)?t[n].push(e):Fn(t,n,[e])}),oh=oi(function(t,e,n){var r=-1,i="function"==typeof e,o=Js(t)?ac(t.length):[];return bf(t,function(t){o[++r]=i?s(e,t,n):Ir(t,e,n)}),o}),ah=Vi(function(t,e,n){Fn(t,n,e)}),sh=Vi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),uh=oi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&No(t,e[0],e[1])?e=[]:n>2&&No(e[0],e[1],e[2])&&(e=[e[0]]),Jr(t,tr(e,1),[])}),lh=Wc||function(){return sr.Date.now()},ch=oi(function(t,e,n){var r=yt;if(n.length){var i=Z(n,So(ch));r|=xt}return ho(t,r,e,n,i)}),fh=oi(function(t,e,n){var r=yt|mt;if(n.length){var i=Z(n,So(fh));r|=xt}return ho(e,r,t,n,i)}),hh=oi(function(t,e){return Un(t,1,e)}),ph=oi(function(t,e,n){return Un(t,Iu(e)||0,n)});Ds.Cache=fn;var dh=kf(function(t,e){e=1==e.length&&Ah(e[0])?g(e[0],D(ko())):g(tr(e,1),D(ko()));var n=e.length;return oi(function(r){for(var i=-1,o=Jc(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return s(t,this,r)})}),gh=oi(function(t,e){var n=Z(e,So(gh));return ho(t,xt,it,e,n)}),vh=oi(function(t,e){var n=Z(e,So(vh));return ho(t,_t,it,e,n)}),yh=wo(function(t,e){return ho(t,kt,it,it,it,e)}),mh=uo(fr),bh=uo(function(t,e){return t>=e}),wh=Tr(function(){return arguments}())?Tr:function(t){return lu(t)&&wc.call(t,"callee")&&!Rc.call(t,"callee")},Ah=ac.isArray,xh=pr?D(pr):Er,_h=Hc||Hl,Sh=dr?D(dr):Or,kh=gr?D(gr):Br,Ch=vr?D(vr):Mr,Ph=yr?D(yr):zr,Ih=mr?D(mr):Nr,Th=uo(Gr),Eh=uo(function(t,e){return t<=e}),Oh=Hi(function(t,e){if(Vo(e)||Js(e))return void ji(e,Vu(e),t);for(var n in e)wc.call(e,n)&&On(t,n,e[n])}),Lh=Hi(function(t,e){ji(e,Hu(e),t)}),Rh=Hi(function(t,e,n,r){ji(e,Hu(e),t,r)}),Bh=Hi(function(t,e,n,r){ji(e,Vu(e),t,r)}),Dh=wo(Mn),Fh=oi(function(t){return t.push(it,po),s(Rh,it,t)}),Mh=oi(function(t){return t.push(it,go),s(Uh,it,t)}),zh=no(function(t,e,n){t[e]=n},Ll(Bl)),Nh=no(function(t,e,n){wc.call(t,e)?t[e].push(n):t[e]=[n]},ko),Wh=oi(Ir),jh=Hi(function(t,e,n){Yr(t,e,n)}),Uh=Hi(function(t,e,n,r){Yr(t,e,n,r)}),Gh=wo(function(t,e){var n={};if(null==t)return n;var r=!1;e=g(e,function(e){return e=Ci(e,t),r||(r=e.length>1),e}),ji(t,xo(t),n),r&&(n=Nn(n,ht|pt|dt,vo));for(var i=e.length;i--;)mi(n,e[i]);return n}),Vh=wo(function(t,e){return null==t?{}:Kr(t,e)}),Hh=fo(Vu),qh=fo(Hu),Yh=Ji(function(t,e,n){return e=e.toLowerCase(),t+(n?ul(e):e)}),Zh=Ji(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Xh=Ji(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Jh=Xi("toLowerCase"),Kh=Ji(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Qh=Ji(function(t,e,n){return t+(n?" ":"")+tp(e)}),$h=Ji(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),tp=Xi("toUpperCase"),ep=oi(function(t,e){try{return s(t,it,e)}catch(n){return ru(n)?n:new uc(n)}}),np=wo(function(t,e){return l(e,function(e){e=ra(e),Fn(t,e,ch(t[e],t))}),t}),rp=to(),ip=to(!0),op=oi(function(t,e){return function(n){return Ir(n,t,e)}}),ap=oi(function(t,e){return function(n){return Ir(t,n,e)}}),sp=io(g),up=io(f),lp=io(b),cp=so(),fp=so(!0),hp=ro(function(t,e){return t+e},0),pp=co("ceil"),dp=ro(function(t,e){return t/e},1),gp=co("floor"),vp=ro(function(t,e){return t*e},1),yp=co("round"),mp=ro(function(t,e){return t-e},0);return e.after=Is,e.ary=Ts,e.assign=Oh,e.assignIn=Lh,e.assignInWith=Rh,e.assignWith=Bh,e.at=Dh,e.before=Es,e.bind=ch,e.bindAll=np,e.bindKey=fh,e.castArray=Gs,e.chain=ts,e.chunk=sa,e.compact=ua,e.concat=la,e.cond=El,e.conforms=Ol,e.constant=Ll,e.countBy=eh,e.create=Lu,e.curry=Os,e.curryRight=Ls,e.debounce=Rs,e.defaults=Fh,e.defaultsDeep=Mh,e.defer=hh,e.delay=ph,e.difference=Mf,e.differenceBy=zf,e.differenceWith=Nf,e.drop=ca,e.dropRight=fa,e.dropRightWhile=ha,e.dropWhile=pa,e.fill=da,e.filter=fs,e.flatMap=hs,e.flatMapDeep=ps,e.flatMapDepth=ds,e.flatten=ya,e.flattenDeep=ma,e.flattenDepth=ba,e.flip=Bs,e.flow=rp,e.flowRight=ip,e.fromPairs=wa,e.functions=Nu,e.functionsIn=Wu,e.groupBy=ih,e.initial=_a,e.intersection=Wf,e.intersectionBy=jf,e.intersectionWith=Uf,e.invert=zh,e.invertBy=Nh,e.invokeMap=oh,e.iteratee=Dl,e.keyBy=ah,e.keys=Vu
return 2},paddingBottom:function(t,e){return 2},fillColor:function(t,e){return null},defaultBorder:!0};return u(r,n)}function r(e){for(var n=[],r=0,i=0,o=0,a=t.table.widths.length;o<a;o++){var s=i+e.vLineWidth(o,t)+e.paddingLeft(o,t);n.push(s),r+=s,i=e.paddingRight(o,t)}return r+=i+e.vLineWidth(t.table.widths.length,t),{total:r,offsets:n}}function i(){for(var e,n,r=0,i=g.length;r<i;r++){var a=g[r],s=o(a.col,a.span,t._offsets),u=a.minWidth-s.minWidth,l=a.maxWidth-s.maxWidth;if(u>0)for(e=u/a.span,n=0;n<a.span;n++)t.table.widths[a.col+n]._minWidth+=e;if(l>0)for(e=l/a.span,n=0;n<a.span;n++)t.table.widths[a.col+n]._maxWidth+=e}}function o(e,n,r){for(var i={minWidth:0,maxWidth:0},o=0;o<n;o++)i.minWidth+=t.table.widths[e+o]._minWidth+(o?r.offsets[e+o]:0),i.maxWidth+=t.table.widths[e+o]._maxWidth+(o?r.offsets[e+o]:0);return i}function s(t,e,n){for(var r=1;r<n;r++)t[e+r]={_span:!0,_minWidth:0,_maxWidth:0,rowSpan:t[e].rowSpan}}function l(t,e,n,r){for(var i=1;i<r;i++)t.body[e+i][n]={_span:!0,_minWidth:0,_maxWidth:0,fillColor:t.body[e][n].fillColor}}function c(t){if(t.table.widths||(t.table.widths="auto"),"string"==typeof t.table.widths||t.table.widths instanceof String)for(t.table.widths=[t.table.widths];t.table.widths.length<t.table.body[0].length;)t.table.widths.push(t.table.widths[t.table.widths.length-1]);for(var e=0,n=t.table.widths.length;e<n;e++){var r=t.table.widths[e];("number"==typeof r||r instanceof Number||"string"==typeof r||r instanceof String)&&(t.table.widths[e]={width:r})}}c(t),t._layout=n(this.tableLayouts),t._offsets=r(t._layout);var f,h,p,d,g=[];for(f=0,p=t.table.body[0].length;f<p;f++){var v=t.table.widths[f];for(v._minWidth=0,v._maxWidth=0,h=0,d=t.table.body.length;h<d;h++){var y=t.table.body[h],m=y[f];if(void 0===m)throw"Malformed table row, a cell is undefined.";null===m&&(m=""),m._span||(m=y[f]=this.styleStack.auto(m,e(this,m)),m.colSpan&&m.colSpan>1?(s(y,f,m.colSpan),g.push({col:f,span:m.colSpan,minWidth:m._minWidth,maxWidth:m._maxWidth})):(v._minWidth=Math.max(v._minWidth,m._minWidth),v._maxWidth=Math.max(v._maxWidth,m._maxWidth))),m.rowSpan&&m.rowSpan>1&&l(t.table,h,f,m.rowSpan)}}i();var b=a.measureMinMax(t.table.widths);return t._minWidth=b.min+t._offsets.total,t._maxWidth=b.max+t._offsets.total,t},r.prototype.measureCanvas=function(t){for(var e=0,n=0,r=0,i=t.canvas.length;r<i;r++){var o=t.canvas[r];switch(o.type){case"ellipse":e=Math.max(e,o.x+o.r1),n=Math.max(n,o.y+o.r2);break;case"rect":e=Math.max(e,o.x+o.w),n=Math.max(n,o.y+o.h);break;case"line":e=Math.max(e,o.x1,o.x2),n=Math.max(n,o.y1,o.y2);break;case"polyline":for(var a=0,s=o.points.length;a<s;a++)e=Math.max(e,o.points[a].x),n=Math.max(n,o.points[a].y)}}return t._minWidth=t._maxWidth=e,t._minHeight=t._maxHeight=n,t},r.prototype.measureQr=function(t){return t=l.measure(t),t._alignment=this.styleStack.getProperty("alignment"),t},t.exports=r},function(t,e,n){"use strict";function r(t){this.fontProvider=t}function i(t,e){var n=[];if(t=t.replace("\t"," "),e)return n.push({text:t}),n;for(var r,i=new f(t),o=0;r=i.nextBreak();){var a=t.slice(o,r.position);r.required||a.match(/\r?\n$|\r$/)?(a=a.replace(/\r?\n$|\r$/,""),n.push({text:a,lineEnd:!0})):n.push({text:a}),o=r.position}return n}function o(t,e){e=e||{},t=t||{};for(var n in t)"text"!=n&&t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function a(t,e){var n=[];Array.isArray(t)||(t=[t]);for(var r=0,a=t.length;r<a;r++){var l,c=t[r],f=null,h=u(c||{},e,"noWrap",!1);null!==c&&("object"==typeof c||c instanceof Object)?(l=i(s(c.text),h),f=o(c)):l=i(s(c),h);for(var p=0,d=l.length;p<d;p++){var g={text:l[p].text};l[p].lineEnd&&(g.lineEnd=!0),o(f,g),n.push(g)}}return n}function s(t){return void 0===t||null===t?"":"number"==typeof t?t.toString():"string"==typeof t||t instanceof String?t:t.toString()}function u(t,e,n,r){var i;return void 0!==t[n]&&null!==t[n]?t[n]:e?(e.auto(t,function(){i=e.getProperty(n)}),null!==i&&void 0!==i?i:r):r}function l(t,e,n){var r=a(e,n);return r.forEach(function(e){var r=u(e,n,"font","Roboto"),i=u(e,n,"fontSize",12),o=u(e,n,"bold",!1),a=u(e,n,"italics",!1),s=u(e,n,"color","black"),l=u(e,
this.lastColumnWidth=t},r.prototype.calculateBottomMost=function(t){this.endingCell?(this.saveContextInEndingCell(this.endingCell),this.endingCell=null):t.bottomMost=o(this,t.bottomMost)},r.prototype.markEnding=function(t){this.page=t._columnEndingContext.page,this.x=t._columnEndingContext.x,this.y=t._columnEndingContext.y,this.availableWidth=t._columnEndingContext.availableWidth,this.availableHeight=t._columnEndingContext.availableHeight,this.lastColumnWidth=t._columnEndingContext.lastColumnWidth},r.prototype.saveContextInEndingCell=function(t){t._columnEndingContext={page:this.page,x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,lastColumnWidth:this.lastColumnWidth}},r.prototype.completeColumnGroup=function(){var t=this.snapshots.pop();this.calculateBottomMost(t),this.endingCell=null,this.x=t.x,this.y=t.bottomMost.y,this.page=t.bottomMost.page,this.availableWidth=t.availableWidth,this.availableHeight=t.bottomMost.availableHeight,this.lastColumnWidth=t.lastColumnWidth},r.prototype.addMargin=function(t,e){this.x+=t,this.availableWidth-=t+(e||0)},r.prototype.moveDown=function(t){return this.y+=t,this.availableHeight-=t,this.availableHeight>0},r.prototype.initializePage=function(){this.y=this.pageMargins.top,this.availableHeight=this.getCurrentPage().pageSize.height-this.pageMargins.top-this.pageMargins.bottom,this.pageSnapshot().availableWidth=this.getCurrentPage().pageSize.width-this.pageMargins.left-this.pageMargins.right},r.prototype.pageSnapshot=function(){return this.snapshots[0]?this.snapshots[0]:this},r.prototype.moveTo=function(t,e){void 0!==t&&null!==t&&(this.x=t,this.availableWidth=this.getCurrentPage().pageSize.width-this.x-this.pageMargins.right),void 0!==e&&null!==e&&(this.y=e,this.availableHeight=this.getCurrentPage().pageSize.height-this.y-this.pageMargins.bottom)},r.prototype.beginDetachedBlock=function(){this.snapshots.push({x:this.x,y:this.y,availableHeight:this.availableHeight,availableWidth:this.availableWidth,page:this.page,endingCell:this.endingCell,lastColumnWidth:this.lastColumnWidth})},r.prototype.endDetachedBlock=function(){var t=this.snapshots.pop();this.x=t.x,this.y=t.y,this.availableWidth=t.availableWidth,this.availableHeight=t.availableHeight,this.page=t.page,this.endingCell=t.endingCell,this.lastColumnWidth=t.lastColumnWidth};var s=function(t,e){return e=i(e,t.pageSize.orientation),e!==t.pageSize.orientation?{orientation:e,width:t.pageSize.height,height:t.pageSize.width}:{orientation:t.pageSize.orientation,width:t.pageSize.width,height:t.pageSize.height}};r.prototype.moveToNextPage=function(t){var e=this.page+1,n=this.page,r=this.y,i=e>=this.pages.length;if(i){var o=this.availableWidth,a=this.getCurrentPage().pageSize.orientation,u=s(this.getCurrentPage(),t);this.addPage(u),a===u.orientation&&(this.availableWidth=o)}else this.page=e,this.initializePage();return{newPageCreated:i,prevPage:n,prevY:r,y:this.y}},r.prototype.addPage=function(t){var e={items:[],pageSize:t};return this.pages.push(e),this.page=this.pages.length-1,this.initializePage(),this.tracker.emit("pageAdded"),e},r.prototype.getCurrentPage=function(){return this.page<0||this.page>=this.pages.length?null:this.pages[this.page]},r.prototype.getCurrentPosition=function(){var t=this.getCurrentPage().pageSize,e=t.height-this.pageMargins.top-this.pageMargins.bottom,n=t.width-this.pageMargins.left-this.pageMargins.right;return{pageNumber:this.page+1,pageOrientation:t.orientation,pageInnerHeight:e,pageInnerWidth:n,left:this.x,top:this.y,verticalRatio:(this.y-this.pageMargins.top)/e,horizontalRatio:(this.x-this.pageMargins.left)/n}},t.exports=r},function(t,e,n){"use strict";function r(t,e){this.transactionLevel=0,this.repeatables=[],this.tracker=e,this.writer=new o(t,e)}function i(t,e){var n=e(t);return n||(t.moveToNextPage(),n=e(t)),n}var o=n(27);r.prototype.addLine=function(t,e,n){return i(this,function(r){return r.writer.addLine(t,e,n)})},r.prototype.addImage=function(t,e){return i(this,function(n){return n.writer.addImage(t,e)})},r.prototype.addQr=function(t,e){return i(this,function(n){retur
h._readableState.awaitDrain++,b=!0),h.pause())}function u(e){F("onerror",e),f(),t.removeListener("error",u),0===O(t,"error")&&t.emit("error",e)}function l(){t.removeListener("finish",c),f()}function c(){F("onfinish"),t.removeListener("close",l),f()}function f(){F("unpipe"),h.unpipe(t)}var h=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=t;break;case 1:p.pipes=[p.pipes,t];break;default:p.pipes.push(t)}p.pipesCount+=1,F("pipe count=%d opts=%j",p.pipesCount,n);var d=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,g=d?o:f;p.endEmitted?T(g):h.once("end",g),t.on("unpipe",i);var y=v(h);t.on("drain",y);var m=!1,b=!1;return h.on("data",s),r(t,"error",u),t.once("close",l),t.once("finish",c),t.emit("pipe",h),p.flowing||(F("pipe resume"),h.resume()),t},o.prototype.unpipe=function(t){var e=this._readableState;if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this),this);if(!t){var n=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<r;i++)n[i].emit("unpipe",this);return this}var o=P(e.pipes,t);return o===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this),this)},o.prototype.on=function(t,e){var n=L.prototype.on.call(this,t,e);if("data"===t)this._readableState.flowing!==!1&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&h(this,r):T(y,this))}return n},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){var t=this._readableState;return t.flowing||(F("resume"),t.flowing=!0,m(this,t)),this},o.prototype.pause=function(){return F("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(F("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(t){var e=this._readableState,n=!1,r=this;t.on("end",function(){if(F("wrapped end"),e.decoder&&!e.ended){var t=e.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(i){if(F("wrapped data"),e.decoder&&(i=e.decoder.write(i)),(!e.objectMode||null!==i&&void 0!==i)&&(e.objectMode||i&&i.length)){var o=r.push(i);o||(n=!0,t.pause())}});for(var i in t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<N.length;o++)t.on(N[o],r.emit.bind(r,N[o]));return r._read=function(e){F("wrapped _read",e),n&&(n=!1,t.resume())},r},o._fromList=A}).call(e,n(36))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){g&&p&&(g=!1,p.length?d=p.concat(d):v=-1,d.length&&s())}function s(){if(!g){var t=i(a);g=!0;for(var e=d.length;e;){for(p=d,d=[];++v<e;)p&&p[v].run();v=-1,e=d.length}p=null,g=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function l(){}var c,f,h=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var p,d=[],g=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||g||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.prependListener=l,h.prependOnceListener=l,h.listeners=function(t){return[]},h.bi
this._binding.close();var e=this;r.nextTick(function(){e.emit("close")})}},p.prototype._transform=function(e,n,r){var i,o=this._writableState,a=o.ending||o.ended,s=a&&(!e||o.length===e.length);if(null===!e&&!t.isBuffer(e))return r(new Error("invalid input"));s?i=g.Z_FINISH:(i=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||g.Z_NO_FLUSH));this._processChunk(e,i,r)},p.prototype._processChunk=function(e,n,r){function i(c,p){if(!u._hadError){var d=a-p;if(y(d>=0,"have should not go down"),d>0){var g=u._buffer.slice(u._offset,u._offset+d);u._offset+=d,l?u.push(g):(f.push(g),h+=g.length)}if((0===p||u._offset>=u._chunkSize)&&(a=u._chunkSize,u._offset=0,u._buffer=new t(u._chunkSize)),0===p){if(s+=o-c,o=c,!l)return!0;var v=u._binding.write(n,e,s,o,u._buffer,u._offset,u._chunkSize);return v.callback=i,void(v.buffer=e)}return!!l&&void r()}}var o=e&&e.length,a=this._chunkSize-this._offset,s=0,u=this,l="function"==typeof r;if(!l){var c,f=[],h=0;this.on("error",function(t){c=t});do var p=this._binding.writeSync(n,e,s,o,this._buffer,this._offset,a);while(!this._hadError&&i(p[0],p[1]));if(this._hadError)throw c;var d=t.concat(f,h);return this.close(),d}var g=this._binding.write(n,e,s,o,this._buffer,this._offset,a);g.buffer=e,g.callback=i},v.inherits(a,p),v.inherits(s,p),v.inherits(u,p),v.inherits(l,p),v.inherits(c,p),v.inherits(f,p),v.inherits(h,p)}).call(e,n(2).Buffer,n(36))},function(t,e,n){(function(t,r){function i(t){if(t<e.DEFLATE||t>e.UNZIP)throw new TypeError("Bad argument");this.mode=t,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function o(t,e){for(var n=0;n<t.length;n++)this[e+n]=t[n]}var a=n(60),s=n(61),u=n(62),l=n(67),c=n(70);for(var f in c)e[f]=c[f];e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7,i.prototype.init=function(t,n,r,i,o){switch(this.windowBits=t,this.level=n,this.memLevel=r,this.strategy=i,this.mode!==e.GZIP&&this.mode!==e.GUNZIP||(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),this.mode!==e.DEFLATERAW&&this.mode!==e.INFLATERAW||(this.windowBits=-this.windowBits),this.strm=new s,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:var a=u.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:var a=l.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}return a!==e.Z_OK?void this._error(a):(this.write_in_progress=!1,void(this.init_done=!0))},i.prototype.params=function(){throw new Error("deflateParams Not supported")},i.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(this.mode===e.NONE)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},i.prototype.write=function(e,n,r,i,o,a,s){this._writeCheck(),this.write_in_progress=!0;var u=this;return t.nextTick(function(){u.write_in_progress=!1;var t=u._write(e,n,r,i,o,a,s);u.callback(t[0],t[1]),u.pending_close&&u.close()}),this},i.prototype.writeSync=function(t,e,n,r,i,o,a){return this._writeCheck(),this._write(t,e,n,r,i,o,a)},i.prototype._write=function(t,n,i,a,s,c,f){if(this.write_in_progress=!0,t!==e.Z_NO_FLUSH&&t!==e.Z_PARTIAL_FLUSH&&t!==e.Z_SYNC_FLUSH&&t!==e.Z_FULL_FLUSH&&t!==e.Z_FINISH&&t!==e.Z_BLOCK)throw new Error("Invalid flush value");null==n&&(n=new r(0),a=0,i=0),s._set?s.set=s._set:s.set=o;var h=this.strm;switch(h.avail_in=a,h.input=n,h.next_in=i,h.avail_out=f,h.output=s,h.next_out=c,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:var p=u.deflate(h,t);break;case e.UNZIP:case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:var p=l.inflate(h,t);break;default:throw new Error("Unknown mode "+this.mode)}return p!==e.Z_STREAM_END&&p!==e.Z_OK&&this._error(p),this.write_in_progress=!1,[h.avail_in,h.avail_out]},i.prototype.close=function(){return this.write_in_progress?void(thi
n.head&&xt&&n.length<65536&&(n.head.name+=String.fromCharCode(xt));while(xt&&v<u);if(512&n.flags&&(n.check=w(n.check,i,v,a)),u-=v,a+=v,xt)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=V;case V:if(4096&n.flags){if(0===u)break t;v=0;do xt=i[a+v++],n.head&&xt&&n.length<65536&&(n.head.comment+=String.fromCharCode(xt));while(xt&&v<u);if(512&n.flags&&(n.check=w(n.check,i,v,a)),u-=v,a+=v,xt)break t}else n.head&&(n.head.comment=null);n.mode=H;case H:if(512&n.flags){for(;p<16;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(h!==(65535&n.check)){t.msg="header crc mismatch",n.mode=ht;break}h=0,p=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=Z;break;case q:for(;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}t.adler=n.check=r(h),h=0,p=0,n.mode=Y;case Y:if(0===n.havedict)return t.next_out=s,t.avail_out=l,t.next_in=a,t.avail_in=u,n.hold=h,n.bits=p,O;t.adler=n.check=1,n.mode=Z;case Z:if(e===P||e===I)break t;case X:if(n.last){h>>>=7&p,p-=7&p,n.mode=lt;break}for(;p<3;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}switch(n.last=1&h,h>>>=1,p-=1,3&h){case 0:n.mode=J;break;case 1:if(c(n),n.mode=nt,e===I){h>>>=2,p-=2;break t}break;case 2:n.mode=$;break;case 3:t.msg="invalid block type",n.mode=ht}h>>>=2,p-=2;break;case J:for(h>>>=7&p,p-=7&p;p<32;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if((65535&h)!==(h>>>16^65535)){t.msg="invalid stored block lengths",n.mode=ht;break}if(n.length=65535&h,h=0,p=0,n.mode=K,e===I)break t;case K:n.mode=Q;case Q:if(v=n.length){if(v>u&&(v=u),v>l&&(v=l),0===v)break t;m.arraySet(o,i,a,v,s),u-=v,a+=v,l-=v,s+=v,n.length-=v;break}n.mode=Z;break;case $:for(;p<14;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(n.nlen=(31&h)+257,h>>>=5,p-=5,n.ndist=(31&h)+1,h>>>=5,p-=5,n.ncode=(15&h)+4,h>>>=4,p-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=ht;break}n.have=0,n.mode=tt;case tt:for(;n.have<n.ncode;){for(;p<3;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}n.lens[It[n.have++]]=7&h,h>>>=3,p-=3}for(;n.have<19;)n.lens[It[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,St={bits:n.lenbits},_t=x(_,n.lens,0,19,n.lencode,0,n.work,St),n.lenbits=St.bits,_t){t.msg="invalid code lengths set",n.mode=ht;break}n.have=0,n.mode=et;case et:for(;n.have<n.nlen+n.ndist;){for(;Ct=n.lencode[h&(1<<n.lenbits)-1],vt=Ct>>>24,yt=Ct>>>16&255,mt=65535&Ct,!(vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(mt<16)h>>>=vt,p-=vt,n.lens[n.have++]=mt;else{if(16===mt){for(kt=vt+2;p<kt;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(h>>>=vt,p-=vt,0===n.have){t.msg="invalid bit length repeat",n.mode=ht;break}xt=n.lens[n.have-1],v=3+(3&h),h>>>=2,p-=2}else if(17===mt){for(kt=vt+3;p<kt;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=vt,p-=vt,xt=0,v=3+(7&h),h>>>=3,p-=3}else{for(kt=vt+7;p<kt;){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=vt,p-=vt,xt=0,v=11+(127&h),h>>>=7,p-=7}if(n.have+v>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=ht;break}for(;v--;)n.lens[n.have++]=xt}}if(n.mode===ht)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=ht;break}if(n.lenbits=9,St={bits:n.lenbits},_t=x(S,n.lens,0,n.nlen,n.lencode,0,n.work,St),n.lenbits=St.bits,_t){t.msg="invalid literal/lengths set",n.mode=ht;break}if(n.distbits=6,n.distcode=n.distdyn,St={bits:n.distbits},_t=x(k,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,St),n.distbits=St.bits,_t){t.msg="invalid distances set",n.mode=ht;break}if(n.mode=nt,e===I)break t;case nt:n.mode=rt;case rt:if(u>=6&&l>=258){t.next_out=s,t.avail_out=l,t.next_in=a,t.avail_in=u,n.hold=h,n.bits=p,A(t,g),s=t.next_out,o=t.output,l=t.avail_out,a=t.next_in,i=t.input,u=t.avail_in,h=n.hold,p=n.bits,n.mode===Z&&(n.back=-1);break}for(n.back=0;Ct=n.lencode[h&(1<<n.lenbits)-1],vt=Ct>>>24,yt=Ct>>>16&255,mt=65535&Ct,!(vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}if(yt&&0===(240&yt)){for(bt=vt,wt=yt,At=mt;Ct=n.lencode[At+((h&(1<<bt+wt)-1)>>bt)],vt=Ct>>>24,yt=Ct>>>16&255,mt=65535&Ct,!(bt+vt<=p);){if(0===u)break t;u--,h+=i[a++]<<p,p+=8}h>>>=bt,p-=bt,n.back+=bt}if(h>>>=vt,p-=vt,n.back+=vt,n.length=mt,0===yt){n.mode=ut;break}if(32&yt){n.back=-1,n.mode=Z;break}if(64&yt){t.msg="invalid lite
Pattern:{Sh1:d},ExtGState:{Gs1:a}}}),h.write("/Gs1 gs /Pattern cs /Sh1 scn"),h.end(p.join(" ")+" re f"),this.doc.page.patterns[this.id]=h}else this.doc.page.patterns[this.id]=d;return d}},t.prototype.apply=function(t){var e,n,r,i,o,a,s,u,l,c,f,h,p,d,g;return d=this.doc._ctm.slice(),i=d[0],o=d[1],u=d[2],f=d[3],h=d[4],p=d[5],g=this.transform,a=g[0],s=g[1],l=g[2],c=g[3],e=g[4],n=g[5],r=[i*a+u*s,o*a+f*s,i*l+u*c,o*l+f*c,i*e+u*n+h,o*e+f*n+p],this.embedded&&r.join(" ")===this.matrix.join(" ")||this.embed(r),this.doc.addContent("/"+this.id+" "+t)},t}(),n=function(t){function e(t,n,r,i,o){this.doc=t,this.x1=n,this.y1=r,this.x2=i,this.y2=o,e.__super__.constructor.apply(this,arguments)}return i(e,t),e.prototype.shader=function(t){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:t,Extend:[!0,!0]})},e.prototype.opacityGradient=function(){return new e(this.doc,this.x1,this.y1,this.x2,this.y2)},e}(e),r=function(t){function e(t,n,r,i,o,a,s){this.doc=t,this.x1=n,this.y1=r,this.r1=i,this.x2=o,this.y2=a,this.r2=s,e.__super__.constructor.apply(this,arguments)}return i(e,t),e.prototype.shader=function(t){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:t,Extend:[!0,!0]})},e.prototype.opacityGradient=function(){return new e(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)},e}(e),t.exports={PDFGradient:e,PDFLinearGradient:n,PDFRadialGradient:r}}).call(this)},function(t,e,n){(function(){var e,r,i,o=[].slice;r=n(79),i=n(56).number,e=4*((Math.sqrt(2)-1)/3),t.exports={initVector:function(){return this._ctm=[1,0,0,1,0,0],this._ctmStack=[]},save:function(){return this._ctmStack.push(this._ctm.slice()),this.addContent("q")},restore:function(){return this._ctm=this._ctmStack.pop()||[1,0,0,1,0,0],this.addContent("Q")},closePath:function(){return this.addContent("h")},lineWidth:function(t){return this.addContent(i(t)+" w")},_CAP_STYLES:{BUTT:0,ROUND:1,SQUARE:2},lineCap:function(t){return"string"==typeof t&&(t=this._CAP_STYLES[t.toUpperCase()]),this.addContent(t+" J")},_JOIN_STYLES:{MITER:0,ROUND:1,BEVEL:2},lineJoin:function(t){return"string"==typeof t&&(t=this._JOIN_STYLES[t.toUpperCase()]),this.addContent(t+" j")},miterLimit:function(t){return this.addContent(i(t)+" M")},dash:function(t,e){var n,r,o,a;return null==e&&(e={}),null==t?this:Array.isArray(t)?(t=function(){var e,n,r;for(r=[],e=0,n=t.length;e<n;e++)a=t[e],r.push(i(a));return r}().join(" "),n=e.phase||0,this.addContent("["+t+"] "+i(n)+" d")):(o=null!=(r=e.space)?r:t,n=e.phase||0,this.addContent("["+i(t)+" "+i(o)+"] "+i(n)+" d"))},undash:function(){return this.addContent("[] 0 d")},moveTo:function(t,e){return this.addContent(i(t)+" "+i(e)+" m")},lineTo:function(t,e){return this.addContent(i(t)+" "+i(e)+" l")},bezierCurveTo:function(t,e,n,r,o,a){return this.addContent(i(t)+" "+i(e)+" "+i(n)+" "+i(r)+" "+i(o)+" "+i(a)+" c")},quadraticCurveTo:function(t,e,n,r){return this.addContent(i(t)+" "+i(e)+" "+i(n)+" "+i(r)+" v")},rect:function(t,e,n,r){return this.addContent(i(t)+" "+i(e)+" "+i(n)+" "+i(r)+" re")},roundedRect:function(t,n,r,i,o){var a;return null==o&&(o=0),o=Math.min(o,.5*r,.5*i),a=o*(1-e),this.moveTo(t+o,n),this.lineTo(t+r-o,n),this.bezierCurveTo(t+r-a,n,t+r,n+a,t+r,n+o),this.lineTo(t+r,n+i-o),this.bezierCurveTo(t+r,n+i-a,t+r-a,n+i,t+r-o,n+i),this.lineTo(t+o,n+i),this.bezierCurveTo(t+a,n+i,t,n+i-a,t,n+i-o),this.lineTo(t,n+o),this.bezierCurveTo(t,n+a,t+a,n,t+o,n),this.closePath()},ellipse:function(t,n,r,i){var o,a,s,u,l,c;return null==i&&(i=r),t-=r,n-=i,o=r*e,a=i*e,s=t+2*r,l=n+2*i,u=t+r,c=n+i,this.moveTo(t,c),this.bezierCurveTo(t,c-a,u-o,n,u,n),this.bezierCurveTo(u+o,n,s,c-a,s,c),this.bezierCurveTo(s,c+a,u+o,l,u,l),this.bezierCurveTo(u-o,l,t,c+a,t,c),this.closePath()},circle:function(t,e,n){return this.ellipse(t,e,n)},polygon:function(){var t,e,n,r;for(r=1<=arguments.length?o.call(arguments,0):[],this.moveTo.apply(this,r.shift()),t=0,e=r.length;t<e;t++)n=r[t],this.lineTo.apply(this,n);return this.closePath()},path:function(t){return r.app
startCode:new it.LazyArray(it.uint16,"segCount"),idDelta:new it.LazyArray(it.int16,"segCount"),idRangeOffset:new it.LazyArray(it.uint16,"segCount"),glyphIndexArray:new it.LazyArray(it.uint16,function(t){return(t.length-t._currentOffset)/2})},6:{length:it.uint16,language:it.uint16,firstCode:it.uint16,entryCount:it.uint16,glyphIndices:new it.LazyArray(it.uint16,"entryCount")},8:{reserved:new it.Reserved(it.uint16),length:it.uint32,language:it.uint16,is32:new it.LazyArray(it.uint8,8192),nGroups:it.uint32,groups:new it.LazyArray(Rt,"nGroups")},10:{reserved:new it.Reserved(it.uint16),length:it.uint32,language:it.uint32,firstCode:it.uint32,entryCount:it.uint32,glyphIndices:new it.LazyArray(it.uint16,"numChars")},12:{reserved:new it.Reserved(it.uint16),length:it.uint32,language:it.uint32,nGroups:it.uint32,groups:new it.LazyArray(Rt,"nGroups")},13:{reserved:new it.Reserved(it.uint16),length:it.uint32,language:it.uint32,nGroups:it.uint32,groups:new it.LazyArray(Rt,"nGroups")},14:{length:it.uint32,numRecords:it.uint32,varSelectors:new it.LazyArray(zt,"numRecords")}}),Wt=new it.Struct({platformID:it.uint16,encodingID:it.uint16,table:new it.Pointer(it.uint32,Nt,{type:"parent",lazy:!0})}),jt=new it.Struct({version:it.uint16,numSubtables:it.uint16,tables:new it.Array(Wt,"numSubtables")}),Ut=new it.Struct({version:it.int32,revision:it.int32,checkSumAdjustment:it.uint32,magicNumber:it.uint32,flags:it.uint16,unitsPerEm:it.uint16,created:new it.Array(it.int32,2),modified:new it.Array(it.int32,2),xMin:it.int16,yMin:it.int16,xMax:it.int16,yMax:it.int16,macStyle:new it.Bitfield(it.uint16,["bold","italic","underline","outline","shadow","condensed","extended"]),lowestRecPPEM:it.uint16,fontDirectionHint:it.int16,indexToLocFormat:it.int16,glyphDataFormat:it.int16}),Gt=new it.Struct({version:it.int32,ascent:it.int16,descent:it.int16,lineGap:it.int16,advanceWidthMax:it.uint16,minLeftSideBearing:it.int16,minRightSideBearing:it.int16,xMaxExtent:it.int16,caretSlopeRise:it.int16,caretSlopeRun:it.int16,caretOffset:it.int16,reserved:new it.Reserved(it.int16,4),metricDataFormat:it.int16,numberOfMetrics:it.uint16}),Vt=new it.Struct({advance:it.uint16,bearing:it.int16}),Ht=new it.Struct({metrics:new it.LazyArray(Vt,function(t){return t.parent.hhea.numberOfMetrics}),bearings:new it.LazyArray(it.int16,function(t){return t.parent.maxp.numGlyphs-t.parent.hhea.numberOfMetrics})}),qt=new it.Struct({version:it.int32,numGlyphs:it.uint16,maxPoints:it.uint16,maxContours:it.uint16,maxComponentPoints:it.uint16,maxComponentContours:it.uint16,maxZones:it.uint16,maxTwilightPoints:it.uint16,maxStorage:it.uint16,maxFunctionDefs:it.uint16,maxInstructionDefs:it.uint16,maxStackElements:it.uint16,maxSizeOfInstructions:it.uint16,maxComponentElements:it.uint16,maxComponentDepth:it.uint16}),Yt=[["utf16be","utf16be","utf16be","utf16be","utf16be","utf16be"],["macroman","shift-jis","big5","euc-kr","iso-8859-6","iso-8859-8","macgreek","maccyrillic","symbol","Devanagari","Gurmukhi","Gujarati","Oriya","Bengali","Tamil","Telugu","Kannada","Malayalam","Sinhalese","Burmese","Khmer","macthai","Laotian","Georgian","Armenian","gb-2312-80","Tibetan","Mongolian","Geez","maccenteuro","Vietnamese","Sindhi"],["ascii"],["symbol","utf16be","shift-jis","gb18030","big5","wansung","johab",null,null,null,"utf16be"]],Zt={15:"maciceland",17:"macturkish",18:"maccroatian",24:"maccenteuro",25:"maccenteuro",26:"maccenteuro",27:"maccenteuro",28:"maccenteuro",30:"maciceland",37:"macromania",38:"maccenteuro",39:"maccenteuro",40:"maccenteuro",143:"macinuit",146:"macgaelic"},Xt=[[],{0:"en",30:"fo",60:"ks",90:"rw",1:"fr",31:"fa",61:"ku",91:"rn",2:"de",32:"ru",62:"sd",92:"ny",3:"it",33:"zh",63:"bo",93:"mg",4:"nl",34:"nl-BE",64:"ne",94:"eo",5:"sv",35:"ga",65:"sa",128:"cy",6:"es",36:"sq",66:"mr",129:"eu",7:"da",37:"ro",67:"bn",130:"ca",8:"pt",38:"cz",68:"as",131:"la",9:"no",39:"sk",69:"gu",132:"qu",10:"he",40:"si",70:"pa",133:"gn",11:"ja",41:"yi",71:"or",134:"ay",12:"ar",42:"sr",72:"ml",135:"tt",13:"fi",43:"mk",73:"kn",136:"ug",14:"el",44:"bg",74:"ta",137:"dz",15:"is",45:"uk",75:"te",138:"jv",16:"mt",46:"be",76:"si"
reserved:new it.Reserved(it.uint16),reqFeatureIndex:it.uint16,featureCount:it.uint16,featureIndexes:new it.Array(it.uint16,"featureCount")}),Ce=new it.Struct({tag:new it.String(4),langSys:new it.Pointer(it.uint16,ke,{type:"parent"})}),Pe=new it.Struct({defaultLangSys:new it.Pointer(it.uint16,ke),count:it.uint16,langSysRecords:new it.Array(Ce,"count")}),Ie=new it.Struct({tag:new it.String(4),script:new it.Pointer(it.uint16,Pe,{type:"parent"})}),Te=new it.Array(Ie,it.uint16),Ee=new it.Struct({featureParams:it.uint16,lookupCount:it.uint16,lookupListIndexes:new it.Array(it.uint16,"lookupCount")}),Oe=new it.Struct({tag:new it.String(4),feature:new it.Pointer(it.uint16,Ee,{type:"parent"})}),Le=new it.Array(Oe,it.uint16),Re=new it.Struct({markAttachmentType:it.uint8,flags:new it.Bitfield(it.uint8,["rightToLeft","ignoreBaseGlyphs","ignoreLigatures","ignoreMarks","useMarkFilteringSet"])}),Be=new it.Struct({start:it.uint16,end:it.uint16,startCoverageIndex:it.uint16}),De=new it.VersionedStruct(it.uint16,{1:{glyphCount:it.uint16,glyphs:new it.Array(it.uint16,"glyphCount")},2:{rangeCount:it.uint16,rangeRecords:new it.Array(Be,"rangeCount")}}),Fe=new it.Struct({start:it.uint16,end:it.uint16,"class":it.uint16}),Me=new it.VersionedStruct(it.uint16,{1:{startGlyph:it.uint16,glyphCount:it.uint16,classValueArray:new it.Array(it.uint16,"glyphCount")},2:{classRangeCount:it.uint16,classRangeRecord:new it.Array(Fe,"classRangeCount")}}),ze=new it.Struct({a:it.uint16,b:it.uint16,deltaFormat:it.uint16}),Ne=new it.Struct({sequenceIndex:it.uint16,lookupListIndex:it.uint16}),We=new it.Struct({glyphCount:it.uint16,lookupCount:it.uint16,input:new it.Array(it.uint16,function(t){return t.glyphCount-1}),lookupRecords:new it.Array(Ne,"lookupCount")}),je=new it.Array(new it.Pointer(it.uint16,We),it.uint16),Ue=new it.Struct({glyphCount:it.uint16,lookupCount:it.uint16,classes:new it.Array(it.uint16,function(t){return t.glyphCount-1}),lookupRecords:new it.Array(Ne,"lookupCount")}),Ge=new it.Array(new it.Pointer(it.uint16,Ue),it.uint16),Ve=new it.VersionedStruct(it.uint16,{1:{coverage:new it.Pointer(it.uint16,De),ruleSetCount:it.uint16,ruleSets:new it.Array(new it.Pointer(it.uint16,je),"ruleSetCount")},2:{coverage:new it.Pointer(it.uint16,De),classDef:new it.Pointer(it.uint16,Me),classSetCnt:it.uint16,classSet:new it.Array(new it.Pointer(it.uint16,Ge),"classSetCnt")},3:{glyphCount:it.uint16,lookupCount:it.uint16,coverages:new it.Array(new it.Pointer(it.uint16,De),"glyphCount"),lookupRecords:new it.Array(Ne,"lookupCount")}}),He=new it.Struct({backtrackGlyphCount:it.uint16,backtrack:new it.Array(it.uint16,"backtrackGlyphCount"),inputGlyphCount:it.uint16,input:new it.Array(it.uint16,function(t){return t.inputGlyphCount-1}),lookaheadGlyphCount:it.uint16,lookahead:new it.Array(it.uint16,"lookaheadGlyphCount"),lookupCount:it.uint16,lookupRecords:new it.Array(Ne,"lookupCount")}),qe=new it.Array(new it.Pointer(it.uint16,He),it.uint16),Ye=new it.VersionedStruct(it.uint16,{1:{coverage:new it.Pointer(it.uint16,De),chainCount:it.uint16,chainRuleSets:new it.Array(new it.Pointer(it.uint16,qe),"chainCount")},2:{coverage:new it.Pointer(it.uint16,De),backtrackClassDef:new it.Pointer(it.uint16,Me),inputClassDef:new it.Pointer(it.uint16,Me),lookaheadClassDef:new it.Pointer(it.uint16,Me),chainCount:it.uint16,chainClassSet:new it.Array(new it.Pointer(it.uint16,qe),"chainCount")},3:{backtrackGlyphCount:it.uint16,backtrackCoverage:new it.Array(new it.Pointer(it.uint16,De),"backtrackGlyphCount"),inputGlyphCount:it.uint16,inputCoverage:new it.Array(new it.Pointer(it.uint16,De),"inputGlyphCount"),lookaheadGlyphCount:it.uint16,lookaheadCoverage:new it.Array(new it.Pointer(it.uint16,De),"lookaheadGlyphCount"),lookupCount:it.uint16,lookupRecords:new it.Array(Ne,"lookupCount")}}),Ze=new it.Fixed(16,"BE",14),Xe=new it.Struct({startCoord:Ze,peakCoord:Ze,endCoord:Ze}),Je=new it.Struct({axisCount:it.uint16,regionCount:it.uint16,variationRegions:new it.Array(new it.Array(Xe,"axisCount"),"regionCount")}),Ke=new it.Struct({shortDeltas:new it.Array(it.int16,function(t){return t.parent.shortDeltaCo
}}),_i=new it.Struct({feature:it.uint16,nSettings:it.uint16,settingTable:new it.Pointer(it.uint32,new it.Array(xi,"nSettings"),{type:"parent"}),featureFlags:new it.Bitfield(it.uint8,[null,null,null,null,null,null,"hasDefault","exclusive"]),defaultSetting:it.uint8,nameIndex:it.int16,name:function(t){return t.parent.parent.name.records.fontFeatures[t.nameIndex]}}),Si=new it.Struct({version:it.fixed32,featureNameCount:it.uint16,reserved1:new it.Reserved(it.uint16),reserved2:new it.Reserved(it.uint32),featureNames:new it.Array(_i,"featureNameCount")}),ki=new it.Struct({axisTag:new it.String(4),minValue:it.fixed32,defaultValue:it.fixed32,maxValue:it.fixed32,flags:it.uint16,nameID:it.uint16,name:function(t){return t.parent.parent.name.records.fontFeatures[t.nameID]}}),Ci=new it.Struct({nameID:it.uint16,name:function(t){return t.parent.parent.name.records.fontFeatures[t.nameID]},flags:it.uint16,coord:new it.Array(it.fixed32,function(t){return t.parent.axisCount}),postscriptNameID:new it.Optional(it.uint16,function(t){return t.parent.instanceSize-t._currentOffset>0})}),Pi=new it.Struct({version:it.fixed32,offsetToData:it.uint16,countSizePairs:it.uint16,axisCount:it.uint16,axisSize:it.uint16,instanceCount:it.uint16,instanceSize:it.uint16,axis:new it.Array(ki,"axisCount"),instance:new it.Array(Ci,"instanceCount")}),Ii=new it.Fixed(16,"BE",14),Ti=function(){function t(){ft(this,t)}return t.decode=function(t,e){return e.flags?t.readUInt32BE():2*t.readUInt16BE()},t}(),Ei=new it.Struct({version:it.uint16,reserved:new it.Reserved(it.uint16),axisCount:it.uint16,globalCoordCount:it.uint16,globalCoords:new it.Pointer(it.uint32,new it.Array(new it.Array(Ii,"axisCount"),"globalCoordCount")),glyphCount:it.uint16,flags:it.uint16,offsetToData:it.uint32,offsets:new it.Array(new it.Pointer(Ti,"void",{relativeTo:"offsetToData",allowNull:!1}),function(t){return t.glyphCount+1})}),Oi=new it.Struct({length:it.uint16,coverage:it.uint16,subFeatureFlags:it.uint32,stateTable:new l}),Li=new it.Struct({justClass:it.uint32,beforeGrowLimit:it.fixed32,beforeShrinkLimit:it.fixed32,afterGrowLimit:it.fixed32,afterShrinkLimit:it.fixed32,growFlags:it.uint16,shrinkFlags:it.uint16}),Ri=new it.Array(Li,it.uint32),Bi=new it.VersionedStruct("actionType",{0:{lowerLimit:it.fixed32,upperLimit:it.fixed32,order:it.uint16,glyphs:new it.Array(it.uint16,it.uint16)},1:{addGlyph:it.uint16},2:{substThreshold:it.fixed32,addGlyph:it.uint16,substGlyph:it.uint16},3:{},4:{variationAxis:it.uint32,minimumLimit:it.fixed32,noStretchValue:it.fixed32,maximumLimit:it.fixed32},5:{flags:it.uint16,glyph:it.uint16}}),Di=new it.Struct({actionClass:it.uint16,actionType:it.uint16,actionLength:it.uint32,actionData:Bi,padding:new it.Reserved(it.uint8,function(t){return t.actionLength-t._currentOffset})}),Fi=new it.Array(Di,it.uint32),Mi=new it.Struct({lookupTable:new bi(new it.Pointer(it.uint16,Fi))}),zi=new it.Struct({classTable:new it.Pointer(it.uint16,Oi,{type:"parent"}),wdcOffset:it.uint16,postCompensationTable:new it.Pointer(it.uint16,Mi,{type:"parent"}),widthDeltaClusters:new bi(new it.Pointer(it.uint16,Ri,{type:"parent",relativeTo:"wdcOffset"}))}),Ni=new it.Struct({version:it.uint32,format:it.uint16,horizontal:new it.Pointer(it.uint16,zi),vertical:new it.Pointer(it.uint16,zi)}),Wi={action:it.uint16},ji={markIndex:it.uint16,currentIndex:it.uint16},Ui={currentInsertIndex:it.uint16,markedInsertIndex:it.uint16},Gi=new it.Struct({items:new mi(new it.Pointer(it.uint32,new bi))}),Vi=new it.VersionedStruct("type",{0:{stateTable:new u},1:{stateTable:new u(ji),substitutionTable:new it.Pointer(it.uint32,Gi)},2:{stateTable:new u(Wi),ligatureActions:new it.Pointer(it.uint32,new mi(it.uint32)),components:new it.Pointer(it.uint32,new mi(it.uint16)),ligatureList:new it.Pointer(it.uint32,new mi(it.uint16))},4:{lookupTable:new bi},5:{stateTable:new u(Ui),insertionActions:new it.Pointer(it.uint32,new mi(it.uint16))}}),Hi=new it.Struct({length:it.uint32,coverage:it.uint24,type:it.uint8,subFeatureFlags:it.uint32,table:Vi,padding:new it.Reserved(it.uint8,function(t){return t.length-t._currentOffset})}),qi=new it.
b--;return t},t.prototype.processSubtable=function(t,e){if(this.subtable=t,this.glyphs=e,4===this.subtable.type)return void this.processNoncontextualSubstitutions(this.subtable,this.glyphs);this.ligatureStack=[],this.markedGlyph=null,this.firstGlyph=null,this.lastGlyph=null,this.markedIndex=null;var n=this.getStateMachine(t),r=this.getProcessor(),i=!!(this.subtable.coverage&$o);return n.process(this.glyphs,i,r)},t.prototype.getStateMachine=function(t){return new Go(t.table.stateTable)},t.prototype.getProcessor=function(){switch(this.subtable.type){case 0:return this.processIndicRearragement;case 1:return this.processContextualSubstitution;case 2:return this.processLigature;case 4:return this.processNoncontextualSubstitutions;case 5:return this.processGlyphInsertion;default:throw new Error("Invalid morx subtable type: "+this.subtable.type)}},t.prototype.processIndicRearragement=function(t,e,n){e.flags&Vo&&(this.firstGlyph=n),e.flags&Ho&&(this.lastGlyph=n),_(this.glyphs,e.flags&qo,this.firstGlyph,this.lastGlyph)},t.prototype.processContextualSubstitution=function(t,e,n){var r=this.subtable.table.substitutionTable.items;if(65535!==e.markIndex){var i=r.getItem(e.markIndex),o=new Mo(i);t=this.glyphs[this.markedGlyph];var a=o.lookup(t.id);a&&(this.glyphs[this.markedGlyph]=this.font.getGlyph(a,t.codePoints))}if(65535!==e.currentIndex){var s=r.getItem(e.currentIndex),u=new Mo(s);t=this.glyphs[n];var a=u.lookup(t.id);a&&(this.glyphs[n]=this.font.getGlyph(a,t.codePoints))}e.flags&Yo&&(this.markedGlyph=n)},t.prototype.processLigature=function(t,e,n){if(e.flags&Zo&&this.ligatureStack.push(n),e.flags&Xo){for(var r,i=this.subtable.table.ligatureActions,o=this.subtable.table.components,a=this.subtable.table.ligatureList,s=e.action,u=!1,l=0,c=[],f=[];!u;){var h,p=this.ligatureStack.pop();(h=c).unshift.apply(h,this.glyphs[p].codePoints);var d=i.getItem(s++);u=!!(d&Jo);var g=!!(d&Ko),v=(d&Qo)<<2>>2;v+=this.glyphs[p].id;var y=o.getItem(v);if(l+=y,u||g){var m=a.getItem(l);this.glyphs[p]=this.font.getGlyph(m,c),f.push(p),l=0,c=[]}else this.glyphs[p]=this.font.getGlyph(65535)}(r=this.ligatureStack).push.apply(r,f)}},t.prototype.processNoncontextualSubstitutions=function(t,e,n){var r=new Mo(t.table.lookupTable);for(n=0;n<e.length;n++){var i=e[n];if(65535!==i.id){var o=r.lookup(i.id);o&&(e[n]=this.font.getGlyph(o,i.codePoints))}}},t.prototype._insertGlyphs=function(t,e,n,r){for(var i,o=[];n--;){var a=this.subtable.table.insertionActions.getItem(e++);o.push(this.font.getGlyph(a))}r||t++,(i=this.glyphs).splice.apply(i,[t,0].concat(o))},t.prototype.processGlyphInsertion=function(t,e,n){if(e.flags&Yo&&(this.markedIndex=n),65535!==e.markedInsertIndex){var r=(e.flags&ra)>>>5,i=!!(e.flags&ea);this._insertGlyphs(this.markedIndex,e.markedInsertIndex,r,i)}if(65535!==e.currentInsertIndex){var o=(e.flags&na)>>>5,a=!!(e.flags&ta);this._insertGlyphs(n,e.currentInsertIndex,o,a)}},t.prototype.getSupportedFeatures=function(){for(var t=[],e=this.morx.chains,n=Array.isArray(e),r=0,e=n?e:at(e);;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}for(var o=i,a=o.features,s=Array.isArray(a),u=0,a=s?a:at(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;t.push([c.featureType,c.featureSetting])}}return t},t.prototype.generateInputs=function(t){return this.inputCache||this.generateInputCache(),this.inputCache[t]||[]},t.prototype.generateInputCache=function(){this.inputCache={};for(var t=this.morx.chains,e=Array.isArray(t),n=0,t=e?t:at(t);;){var r;if(e){if(n>=t.length)break;r=t[n++]}else{if(n=t.next(),n.done)break;r=n.value}for(var i=r,o=i.defaultFlags,a=i.subtables,s=Array.isArray(a),u=0,a=s?a:at(a);;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if(u=a.next(),u.done)break;l=u.value}var c=l;c.subFeatureFlags&o&&this.generateInputsForSubtable(c)}}},t.prototype.generateInputsForSubtable=function(t){var e=this;if(2===t.type){var n=!!(t.coverage&$o);if(n)throw new Error("Reverse subtable, not supported.");this.subtable=t,this.ligatureStack=[];var r=this.getStateMachine(t),i=this.getProcess
stateTable:hs,accepting:ps,tags:ds},vs=["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","VS","N","HN","MAbv"],ys={2507:[2503,2494],2508:[2503,2519],2888:[2887,2902],2891:[2887,2878],2892:[2887,2903],3018:[3014,3006],3019:[3015,3006],3020:[3014,3031],3144:[3142,3158],3264:[3263,3285],3271:[3270,3285],3272:[3270,3286],3274:[3270,3266],3275:[3270,3266,3285],3402:[3398,3390],3403:[3399,3390],3404:[3398,3415],3546:[3545,3530],3548:[3545,3535],3549:[3545,3535,3530],3550:[3545,3551],3635:[3661,3634],3763:[3789,3762],3955:[3953,3954],3957:[3953,3956],3958:[4018,3968],3959:[4018,3953,3968],3960:[4019,3968],3961:[4019,3953,3968],3969:[3953,3968],6971:[6970,6965],6973:[6972,6965],6976:[6974,6965],6977:[6975,6965],6979:[6978,6965],69934:[69937,69927],69935:[69938,69927],70475:[70471,70462],70476:[70471,70487],70843:[70841,70842],70844:[70841,70832],70846:[70841,70845],71098:[71096,71087],71099:[71097,71087]},ms=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,23,0,0,2,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,46,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,23,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,23,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,23,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,23,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,23,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,23,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,46,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,46,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,46,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,46,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,46,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,
var e=t>>16;if(0===e)switch(t>>8){case 0:return 173===t;case 3:return 847===t;case 6:return 1564===t;case 23:return 6068<=t&&t<=6069;case 24:return 6155<=t&&t<=6158;case 32:return 8203<=t&&t<=8207||8234<=t&&t<=8238||8288<=t&&t<=8303;case 254:return 65024<=t&&t<=65039||65279===t;case 255:return 65520<=t&&t<=65528;default:return!1}else switch(e){case 1:return 113824<=t&&t<=113827||119155<=t&&t<=119162;case 14:return 917504<=t&&t<=921599;default:return!1}},t.prototype.getAvailableFeatures=function(t,e){var n=[];return this.engine&&n.push.apply(n,this.engine.getAvailableFeatures(t,e)),this.font.kern&&n.indexOf("kern")===-1&&n.push("kern"),n},t.prototype.stringsForGlyph=function(t){for(var e=new xt,n=this.font._cmapProcessor.codePointsForGlyph(t),r=n,i=Array.isArray(r),o=0,r=i?r:at(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;e.add(wt(s))}if(this.engine&&this.engine.stringsForGlyph)for(var u=this.engine.stringsForGlyph(t),l=Array.isArray(u),c=0,u=l?u:at(u);;){var f;if(l){if(c>=u.length)break;f=u[c++]}else{if(c=u.next(),c.done)break;f=c.value}var h=f;e.add(h)}return At(e)},t}(),Hs={moveTo:"M",lineTo:"L",quadraticCurveTo:"Q",bezierCurveTo:"C",closePath:"Z"},qs=function(){function t(){ft(this,t),this.commands=[],this._bbox=null,this._cbox=null}return t.prototype.toFunction=function(){var t=this.commands.map(function(t){return" ctx."+t.command+"("+t.args.join(", ")+");"});return new Function("ctx",t.join("\n"))},t.prototype.toSVG=function(){var t=this.commands.map(function(t){var e=t.args.map(function(t){return Math.round(100*t)/100});return""+Hs[t.command]+e.join(" ")});return t.join("")},t.prototype.mapPoints=function(e){for(var n=new t,r=this.commands,i=Array.isArray(r),o=0,r=i?r:at(r);;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}for(var s=a,u=[],l=0;l<s.args.length;l+=2){var c=e(s.args[l],s.args[l+1]),f=c[0],h=c[1];u.push(f,h)}n[s.command].apply(n,u)}return n},t.prototype.transform=function(t,e,n,r,i,o){return this.mapPoints(function(a,s){return a=t*a+n*s+i,s=e*a+r*s+o,[a,s]})},t.prototype.translate=function(t,e){return this.transform(1,0,0,1,t,e)},t.prototype.rotate=function(t){var e=Math.cos(t),n=Math.sin(t);return this.transform(e,n,-n,e,0,0)},t.prototype.scale=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this.transform(t,0,0,e,0,0)},ht(t,[{key:"cbox",get:function(){if(!this._cbox){for(var t=new ao,e=this.commands,n=Array.isArray(e),r=0,e=n?e:at(e);;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if(r=e.next(),r.done)break;i=r.value}for(var o=i,a=0;a<o.args.length;a+=2)t.addPoint(o.args[a],o.args[a+1])}this._cbox=st(t)}return this._cbox}},{key:"bbox",get:function(){if(this._bbox)return this._bbox;for(var t=new ao,e=0,n=0,r=function(t){return Math.pow(1-t,3)*x[C]+3*Math.pow(1-t,2)*t*_[C]+3*(1-t)*Math.pow(t,2)*S[C]+Math.pow(t,3)*k[C]},i=this.commands,o=Array.isArray(i),a=0,i=o?i:at(i);;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s;switch(u.command){case"moveTo":case"lineTo":var l=u.args,c=l[0],f=l[1];t.addPoint(c,f),e=c,n=f;break;case"quadraticCurveTo":case"bezierCurveTo":if("quadraticCurveTo"===u.command)var h=u.args,p=h[0],d=h[1],g=h[2],v=h[3],y=e+2/3*(p-e),m=n+2/3*(d-n),b=g+2/3*(p-g),w=v+2/3*(d-v);else var A=u.args,y=A[0],m=A[1],b=A[2],w=A[3],g=A[4],v=A[5];t.addPoint(g,v);for(var x=[e,n],_=[y,m],S=[b,w],k=[g,v],C=0;C<=1;C++){var P=6*x[C]-12*_[C]+6*S[C],I=-3*x[C]+9*_[C]-9*S[C]+3*k[C];if(u=3*_[C]-3*x[C],0!==I){var T=Math.pow(P,2)-4*u*I;if(!(T<0)){var E=(-P+Math.sqrt(T))/(2*I);0<E&&E<1&&(0===C?t.addPoint(r(E),t.maxY):1===C&&t.addPoint(t.maxX,r(E)));var O=(-P-Math.sqrt(T))/(2*I);0<O&&O<1&&(0===C?t.addPoint(r(O),t.maxY):1===C&&t.addPoint(t.maxX,r(O)))}}else{if(0===P)continue;var L=-u/P;0<L&&L<1&&(0===C?t.addPoint(r(L),t.maxY):1===C&&t.addPoint(t.maxX,r(L)))}}e=g,n=v}}return this._bbox=st(t)}}]),t}(),Ys=["moveTo","lineTo","quadraticCurveTo","bezierCurveTo","closePath"],Zs=function(){var t=Ys[Xs];qs.prototype[t]=function(){for(var e=arguments.length
}else{if(o=r.next(),o.done)break;a=o.value}var s=a,u=this.cff.fdForGlyph(s);if(null!=u){e[u]||(t.FDArray.push(bt({},this.cff.topDict.FDArray[u])),n.push({})),e[u]=!0,t.FDSelect.fds.push(t.FDArray.length-1);var l=this.font.getGlyph(s);l.path;for(var c in l._usedSubrs)n[n.length-1][c]=!0}}for(var f=0;f<t.FDArray.length;f++){var h=t.FDArray[f];delete h.FontName,h.Private&&h.Private.Subrs&&(h.Private=bt({},h.Private),h.Private.Subrs=this.subsetSubrs(h.Private.Subrs,n[f]))}},n.prototype.createCIDFontdict=function(t){for(var e={},n=this.glyphs,r=Array.isArray(n),i=0,n=r?n:at(n);;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o,s=this.font.getGlyph(a);s.path;for(var u in s._usedSubrs)e[u]=!0}var l=bt({},this.cff.topDict.Private);return l.Subrs=this.subsetSubrs(this.cff.topDict.Private.Subrs,e),t.FDArray=[{Private:l}],t.FDSelect={version:3,nRanges:1,ranges:[{first:0,fd:0}],sentinel:this.charstrings.length}},n.prototype.addString=function(t){return t?(this.strings||(this.strings=[]),this.strings.push(t),be.length+this.strings.length-1):null},n.prototype.encode=function(t){this.subsetCharstrings();var e={version:this.charstrings.length>255?2:1,ranges:[{first:1,nLeft:this.charstrings.length-2}]},n=bt({},this.cff.topDict);n.Private=null,n.charset=e,n.Encoding=null,n.CharStrings=this.charstrings;for(var r=["version","Notice","Copyright","FullName","FamilyName","Weight","PostScript","BaseFontName","FontName"],i=0;i<r.length;i++){var o=r[i];n[o]=this.addString(this.cff.string(n[o]))}n.ROS=[this.addString("Adobe"),this.addString("Identity"),0],n.CIDCount=this.charstrings.length,this.cff.isCIDFont?this.subsetFontdict(n):this.createCIDFontdict(n);var a={version:1,hdrSize:this.cff.hdrSize,offSize:this.cff.length,header:this.cff.header,nameIndex:[this.cff.postscriptName],topDictIndex:[n],stringIndex:this.strings,globalSubrIndex:this.gsubrs};kn.encode(t,a)},n}(Ru),Hu=(Ks=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ft(this,t),this.stream=e,this.variationCoords=n,this._directoryPos=this.stream.pos,this._tables={},this._glyphs={},this._decodeDirectory();for(var r in this.directory.tables){var i=this.directory.tables[r];Ki[r]&&i.length>0&&ct(this,r,{get:this._getTable.bind(this,i)})}}return t.probe=function(t){var e=t.toString("ascii",0,4);return"true"===e||"OTTO"===e||e===String.fromCharCode(0,1,0,0)},t.prototype._getTable=function(t){if(!(t.tag in this._tables))try{this._tables[t.tag]=this._decodeTable(t)}catch(e){Et.logErrors}return this._tables[t.tag]},t.prototype._getTableStream=function(t){var e=this.directory.tables[t];return e?(this.stream.pos=e.offset,this.stream):null},t.prototype._decodeDirectory=function(){return this.directory=$i.decode(this.stream,{_startOffset:0})},t.prototype._decodeTable=function(t){var e=this.stream.pos,n=this._getTableStream(t.tag),r=Ki[t.tag].decode(n,this,t.length);return this.stream.pos=e,r},t.prototype.getName=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=this.name.records[t];return n?n[e]:null},t.prototype.hasGlyphForCodePoint=function(t){return!!this._cmapProcessor.lookup(t)},t.prototype.glyphForCodePoint=function(t){return this.getGlyph(this._cmapProcessor.lookup(t),[t])},t.prototype.glyphsForString=function(t){for(var e=[],n=t.length,r=0,i=-1,o=-1;r<=n;){var a=0,s=0;if(r<n){if(a=t.charCodeAt(r++),55296<=a&&a<=56319&&r<n){var u=t.charCodeAt(r);56320<=u&&u<=57343&&(r++,a=((1023&a)<<10)+(1023&u)+65536)}s=65024<=a&&a<=65039||917760<=a&&a<=917999?1:0}else r++;0===o&&1===s?e.push(this.getGlyph(this._cmapProcessor.lookup(i,a),[i,a])):0===o&&0===s&&e.push(this.glyphForCodePoint(i)),i=a,o=s}return e},t.prototype.layout=function(t,e,n,r,i){return this._layoutEngine.layout(t,e,n,r,i)},t.prototype.stringsForGlyph=function(t){return this._layoutEngine.stringsForGlyph(t)},t.prototype.getAvailableFeatures=function(t,e){return this._layoutEngine.getAvailableFeatures(t,e)},t.prototype._getBaseGlyph=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this._glyphs[t
i=2*o,n[i]=e[r],n[i+1]=e[r+1];return n.toString("ucs2")},o.prototype.end=function(){}},function(t,e){"use strict";t.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cp28591:"iso88591",28591:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",10000:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},function(t,e){"use strict";t.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},function(t,e){t.exports=[["0","\0",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","",9],["a3c1","",25],["a3e1","",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐<EFBFBD><EFBFBD>
},function(t,e){t.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc",""],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]]},function(t,e){t.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3]}},function(t,e){t.exports=[["0","\0",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"<EFBFBD><EFBFBD>
},function(t,e){t.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍<EFBFBD><EFBFBD><EFBFBD>
if(R&&(S=f(R.call(new t)),S!==Object.prototype&&(c(S,C,!0),r||s(S,h)||a(S,h,y))),P&&E&&E.name!==v&&(I=!0,O=function(){return E.call(this)}),r&&!A||!p&&!I&&T[h]||a(T,h,O),u[e]=O,u[C]=y,b)if(x={values:P?O:k(v),keys:w?O:k(g),entries:L},A)for(_ in x)_ in T||o(T,_,x[_]);else i(i.P+i.F*(p||I),e,x);return x}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(144)},function(t,e,n){"use strict";var r=n(158),i=n(130),o=n(171),a={};n(144)(a,n(172)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(146),i=n(159),o=n(169),a=n(166)("IE_PROTO"),s=function(){},u="prototype",l=function(){var t,e=n(137)("iframe"),r=o.length,i="<",a=">";for(e.style.display="none",n(170).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+a+"document.F=Object"+i+"/script"+a),t.close(),l=t.F;r--;)delete l[u][o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=r(t),n=new s,s[u]=null,n[a]=t):n=l(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(145),i=n(146),o=n(160);t.exports=n(135)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(161),i=n(169);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(133),i=n(124),o=n(162)(!1),a=n(166)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var r=n(124),i=n(163),o=n(165);t.exports=function(t){return function(e,n,a){var s,u=r(e),l=i(u.length),c=o(a,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){var r=n(164),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(164),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(167)("keys"),i=n(168);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(138),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){t.exports=n(138).document&&document.documentElement},function(t,e,n){var r=n(145).f,i=n(133),o=n(172)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(167)("wks"),i=n(168),o=n(138).Symbol,a="function"==typeof o,s=t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))};s.store=r},function(t,e,n){var r=n(133),i=n(174),o=n(166)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(127);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(176)(!0);n(154)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(164),i=n(127);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),u=r(n),l=s.length;return u<0||u>=l?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):(o-55296<<10)+(a-56320)+65536)}}},function(t,e,n){var r=n(146),i=n(178);t.exports=n(141).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(179),i=n(172)("iterator"),o=n(153);t.exports=n(141).
w=Math.log2||function(t){return Math.log(t)/Math.LN2},m=function(t){return w(t)+1|0},r=m(b.categories.length-1),a=m(b.combiningClasses.length-1),d=m(b.scripts.length-1),l=m(b.eaw.length-1),h=10,o=a+d+l+h,u=d+l+h,v=l+h,f=h,i=(1<<r)-1,s=(1<<a)-1,g=(1<<d)-1,c=(1<<l)-1,p=(1<<h)-1,e.getCategory=function(t){var e;return e=A.get(t),b.categories[e>>o&i]},e.getCombiningClass=function(t){var e;return e=A.get(t),b.combiningClasses[e>>u&s]},e.getScript=function(t){var e;return e=A.get(t),b.scripts[e>>v&g]},e.getEastAsianWidth=function(t){var e;return e=A.get(t),b.eaw[e>>f&c]},e.getNumericValue=function(t){var e,n,r,i,o;if(o=A.get(t),r=o&p,0===r)return null;if(r<=50)return r-1;if(r<480)return i=(r>>4)-12,e=(15&r)+1,i/e;if(r<768){for(o=(r>>5)-14,n=(31&r)+2;n>0;)o*=10,n--;return o}for(o=(r>>2)-191,n=(3&r)+1;n>0;)o*=60,n--;return o},e.isAlphabetic=function(t){var n;return"Lu"===(n=e.getCategory(t))||"Ll"===n||"Lt"===n||"Lm"===n||"Lo"===n||"Nl"===n},e.isDigit=function(t){return"Nd"===e.getCategory(t)},e.isPunctuation=function(t){var n;return"Pc"===(n=e.getCategory(t))||"Pd"===n||"Pe"===n||"Pf"===n||"Pi"===n||"Po"===n||"Ps"===n},e.isLowerCase=function(t){return"Ll"===e.getCategory(t)},e.isUpperCase=function(t){return"Lu"===e.getCategory(t)},e.isTitleCase=function(t){return"Lt"===e.getCategory(t)},e.isWhiteSpace=function(t){var n;return"Zs"===(n=e.getCategory(t))||"Zl"===n||"Zp"===n},e.isBaseForm=function(t){var n;return"Nd"===(n=e.getCategory(t))||"No"===n||"Nl"===n||"Lu"===n||"Ll"===n||"Lt"===n||"Lm"===n||"Lo"===n||"Me"===n||"Mc"===n},e.isMark=function(t){var n;return"Mn"===(n=e.getCategory(t))||"Me"===n||"Mc"===n}}).call(e,n(2).Buffer)},function(t,e){t.exports={categories:["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],combiningClasses:["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],scripts:["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Tirhuta","Siddham","Modi","Takri","Ahom","Warang_Citi","Pau_Cin_Hau","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Miao","Duployan","SignWriting","Mende_Kikakui"],eaw:["N","Na","A","W","H","F"]}},function(t,e,n){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t["default"]:t}var i=r(n(260)),o=r(n(147)),a=r(n(264)),s=r(n(265)),u=r(n(188)),l
},function(t,e){function n(t,e){this.bits=t,this.value=e}function r(t,e){for(var n=1<<e-1;t&n;)n>>=1;return(t&n-1)+n}function i(t,e,r,i,o){do i-=r,t[e+i]=new n(o.bits,o.value);while(i>0)}function o(t,e,n){for(var r=1<<e-n;e<a&&(r-=t[e],!(r<=0));)++e,r<<=1;return e-n}e.HuffmanCode=n;var a=15;e.BrotliBuildHuffmanTable=function(t,e,s,u,l){var c,f,h,p,d,g,v,y,m,b,w,A=e,x=new Int32Array(a+1),_=new Int32Array(a+1);for(w=new Int32Array(l),h=0;h<l;h++)x[u[h]]++;for(_[1]=0,f=1;f<a;f++)_[f+1]=_[f]+x[f];for(h=0;h<l;h++)0!==u[h]&&(w[_[u[h]]++]=h);if(y=s,m=1<<y,b=m,1===_[a]){for(p=0;p<b;++p)t[e+p]=new n(0,65535&w[0]);return b}for(p=0,h=0,f=1,d=2;f<=s;++f,d<<=1)for(;x[f]>0;--x[f])c=new n(255&f,65535&w[h++]),i(t,e+p,d,m,c),p=r(p,f);for(v=b-1,g=-1,f=s+1,d=2;f<=a;++f,d<<=1)for(;x[f]>0;--x[f])(p&v)!==g&&(e+=m,y=o(x,f,s),m=1<<y,b+=m,g=p&v,t[A+g]=new n(y+s&255,e-A-g&65535)),c=new n(f-s&255,65535&w[h++]),i(t,e+(p>>s),d,m,c),p=r(p,f);return b}},function(t,e){e.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,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,59,60,61,62,63,0,1,2,3,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,59,60,61,62,63,0,1,2,3,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,59,60,61,62,63,0,1,2,3,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,59,60,61,62,63,0,0,0,0,1
this.restore(),this},openImage:function(t){var n;return"string"==typeof t&&(n=this._imageRegistry[t]),n||(n=e.open(t,"I"+ ++this._imageCount),"string"==typeof t&&(this._imageRegistry[t]=n)),n}}}).call(this)},function(t,e,n){(function(e){(function(){var r,i,o,a,s;s=n(55),r=n(291),i=n(292),a=n(293),o=function(){function t(){}return t.open=function(t,n){var r,o;if(e.isBuffer(t))r=t;else if(t instanceof ArrayBuffer)r=new e(new Uint8Array(t));else if(o=/^data:.+;base64,(.*)$/.exec(t))r=new e(o[1],"base64");else if(r=s.readFileSync(t),!r)return;if(255===r[0]&&216===r[1])return new i(r,n);if(137===r[0]&&"PNG"===r.toString("ascii",1,4))return new a(r,n);throw new Error("Unknown image format.")},t}(),t.exports=o}).call(this)}).call(e,n(2).Buffer)},function(t,e){(function(){var e;e=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.byteAt=function(t){return this.data[t]},t.prototype.readBool=function(){return!!this.readByte()},t.prototype.writeBool=function(t){return this.writeByte(t?1:0)},t.prototype.readUInt32=function(){var t,e,n,r;return t=16777216*this.readByte(),e=this.readByte()<<16,n=this.readByte()<<8,r=this.readByte(),t+e+n+r},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return t=this.readUInt32(),t>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){var t,e;return t=this.readByte()<<8,e=this.readByte(),t|e},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return t=this.readUInt16(),t>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,n,r,i;for(i=[],e=n=0,r=t;0<=r?n<r:n>r;e=0<=r?++n:--n)i[e]=String.fromCharCode(this.readByte());return i.join("")},t.prototype.writeString=function(t){var e,n,r,i;for(i=[],e=n=0,r=t.length;0<=r?n<r:n>r;e=0<=r?++n:--n)i.push(this.writeByte(t.charCodeAt(e)));return i},t.prototype.stringAt=function(t,e){return this.pos=t,this.readString(e)},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,n,r,i,o,a,s;return t=this.readByte(),e=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),a=this.readByte(),s=this.readByte(),128&t?(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^i)+65536*(255^o)+256*(255^a)+(255^s)+1)*-1:72057594037927940*t+281474976710656*e+1099511627776*n+4294967296*r+16777216*i+65536*o+256*a+s},t.prototype.writeLongLong=function(t){var e,n;return e=Math.floor(t/4294967296),n=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.slice=function(t,e){return this.data.slice(t,e)},t.prototype.read=function(t){var e,n,r,i;for(e=[],n=r=0,i=t;0<=i?r<i:r>i;n=0<=i?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,n,r,i;for(i=[],n=0,r=t.length;n<r;n++)e=t[n],i.push(this.writeByte(e));return i},t}(),t.exports=e}).call(this)},function(t,e,n){(function(){var e,r,i=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1};r=n(55),e=function(){function t(t,n){var r,o,a;if(this.data=t,this.label=n,65496!==this.data.readUInt16BE(0))throw"SOI not found in JPEG";for(a=2;a<this.data.length&&(o=this.data.readUInt16BE(a),a+=2,!(i.call(e,o)>=0));)a+=this.data.readUInt16BE(a);if(i.
2016-07-24 17:43:03 +02:00
//# sourceMappingURL=pdf.built.js.map