fika-editor 3.6.8 → 3.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=2085;export const __rspack_esm_ids=[2085];export const __webpack_modules__={97728(t,e,o){var n,r;(r=n||(n={}))[r.Fastest=1/0]="Fastest",r[r.Fast=1500]="Fast",r[r.Medium=500]="Medium",r[r.Slow=100]="Slow",o.d(e,{A:()=>n})},78448(t,e,o){var n=o(81205),r=o(42810),i=o(67531),a=o(44910);e.A=function(){function t(t,e,o){this.alreadyEmbedded=!1,(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[r.A,"PDFDocument"]]),(0,a.jo)(o,"embedder",[[i.kO,"PDFPageEmbedder"]]),this.ref=t,this.doc=e,this.width=o.width,this.height=o.height,this.embedder=o}return t.prototype.scale=function(t){return(0,a.jo)(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:if(this.alreadyEmbedded)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.alreadyEmbedded=!0,t.label=2;case 2:return[2]}})})},t.of=function(e,o,n){return new t(e,o,n)},t}()},25064(t,e,o){var n=o(81205),r=o(42810),i=o(67531),a=o(44910);e.A=function(){function t(t,e,o){this.modified=!0,(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[r.A,"PDFDocument"]]),(0,a.jo)(o,"embedder",[[i.pp,"CustomFontEmbedder"],[i.hM,"StandardFontEmbedder"]]),this.ref=t,this.doc=e,this.name=o.fontName,this.embedder=o}return t.prototype.encodeText=function(t){return(0,a.jo)(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},t.prototype.widthOfTextAtSize=function(t,e){return(0,a.jo)(t,"text",["string"]),(0,a.jo)(e,"size",["number"]),this.embedder.widthOfTextAtSize(t,e)},t.prototype.heightAtSize=function(t,e){var o;return(0,a.jo)(t,"size",["number"]),(0,a.wU)(null==e?void 0:e.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:null==(o=null==e?void 0:e.descender)||o})},t.prototype.sizeAtHeight=function(t){return(0,a.jo)(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},t.prototype.getCharacterSet=function(){return this.embedder instanceof i.hM?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},t.prototype.embed=function(){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:if(!this.modified)return[3,2];return[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.modified=!1,t.label=2;case 2:return[2]}})})},t.of=function(e,o,n){return new t(e,o,n)},t}()},13684(t,e,o){var n=o(81205),r=o(42810),i=o(67531),a=o(44910);e.A=function(){function t(t,e,o){(0,a.jo)(t,"ref",[[i.so,"PDFRef"]]),(0,a.jo)(e,"doc",[[r.A,"PDFDocument"]]),(0,a.jo)(o,"embedder",[[i.Dm,"JpegEmbedder"],[i.cV,"PngEmbedder"]]),this.ref=t,this.doc=e,this.width=o.width,this.height=o.height,this.embedder=o}return t.prototype.scale=function(t){return(0,a.jo)(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},t.prototype.scaleToFit=function(t,e){(0,a.jo)(t,"width",["number"]),(0,a.jo)(e,"height",["number"]);var o=Math.min(t/this.width,e/this.height);return this.scale(o)},t.prototype.size=function(){return this.scale(1)},t.prototype.embed=function(){return(0,n.sH)(this,void 0,void 0,function(){var t,e,o;return(0,n.YH)(this,function(n){switch(n.label){case 0:if(!this.embedder)return[2];return this.embedTask||(t=this,e=t.doc,o=t.ref,this.embedTask=this.embedder.embedIntoContext(e.context,o)),[4,this.embedTask];case 1:return n.sent(),this.embedder=void 0,[2]}})})},t.of=function(e,o,n){return new t(e,o,n)},t}()},97202(t,e,o){var n=o(81205),r=o(67531);e.A=function(){function t(t,e,o){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=o}return t.prototype.embed=function(){return(0,n.sH)(this,void 0,void 0,function(){var t,e,o,i,a,s,u;return(0,n.YH)(this,function(n){switch(n.label){case 0:if(this.alreadyEmbedded)return[3,2];return e=(t=this.doc).catalog,o=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:i=n.sent(),e.has(r.S5.of("Names"))||e.set(r.S5.of("Names"),o.obj({})),(a=e.lookup(r.S5.of("Names"),r.Ri)).has(r.S5.of("JavaScript"))||a.set(r.S5.of("JavaScript"),o.obj({})),(s=a.lookup(r.S5.of("JavaScript"),r.Ri)).has(r.S5.of("Names"))||s.set(r.S5.of("Names"),o.obj([])),(u=s.lookup(r.S5.of("Names"),r.y3)).push(r.lv.fromText(this.embedder.scriptName)),u.push(i),this.alreadyEmbedded=!0,n.label=2;case 2:return[2]}})})},t.of=function(e,o,n){return new t(e,o,n)},t}()},72434(t,e,o){var n=o(81205),r=o(65231),i=o(57333),a=o(45198),s=o(42810),u=o(78448),c=o(25064),l=o(13684),h=o(97490),f=o(58184),d=o(37934),p=o(67531),y=o(44910);e.A=function(){function t(t,e,o){this.fontSize=24,this.fontColor=(0,r.Qh)(0,0,0),this.lineHeight=24,this.x=0,this.y=0,(0,y.jo)(t,"leafNode",[[p.y1,"PDFPageLeaf"]]),(0,y.jo)(e,"ref",[[p.so,"PDFRef"]]),(0,y.jo)(o,"doc",[[s.A,"PDFDocument"]]),this.node=t,this.ref=e,this.doc=o}return t.prototype.setRotation=function(t){var e=(0,f.xW)(t);(0,y.vW)(e,"degreesAngle",90),this.node.set(p.S5.of("Rotate"),this.doc.context.obj(e))},t.prototype.getRotation=function(){var t=this.node.Rotate();return(0,f.uj)(t?t.asNumber():0)},t.prototype.setSize=function(t,e){(0,y.jo)(t,"width",["number"]),(0,y.jo)(e,"height",["number"]);var o=this.getMediaBox();this.setMediaBox(o.x,o.y,t,e);var n=this.getCropBox(),r=this.getBleedBox(),i=this.getTrimBox(),a=this.getArtBox(),s=this.node.CropBox(),u=this.node.BleedBox(),c=this.node.TrimBox(),l=this.node.ArtBox();s&&(0,y.N8)(n,o)&&this.setCropBox(o.x,o.y,t,e),u&&(0,y.N8)(r,o)&&this.setBleedBox(o.x,o.y,t,e),c&&(0,y.N8)(i,o)&&this.setTrimBox(o.x,o.y,t,e),l&&(0,y.N8)(a,o)&&this.setArtBox(o.x,o.y,t,e)},t.prototype.setWidth=function(t){(0,y.jo)(t,"width",["number"]),this.setSize(t,this.getSize().height)},t.prototype.setHeight=function(t){(0,y.jo)(t,"height",["number"]),this.setSize(this.getSize().width,t)},t.prototype.setMediaBox=function(t,e,o,n){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),(0,y.jo)(o,"width",["number"]),(0,y.jo)(n,"height",["number"]);var r=this.doc.context.obj([t,e,t+o,e+n]);this.node.set(p.S5.MediaBox,r)},t.prototype.setCropBox=function(t,e,o,n){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),(0,y.jo)(o,"width",["number"]),(0,y.jo)(n,"height",["number"]);var r=this.doc.context.obj([t,e,t+o,e+n]);this.node.set(p.S5.CropBox,r)},t.prototype.setBleedBox=function(t,e,o,n){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),(0,y.jo)(o,"width",["number"]),(0,y.jo)(n,"height",["number"]);var r=this.doc.context.obj([t,e,t+o,e+n]);this.node.set(p.S5.BleedBox,r)},t.prototype.setTrimBox=function(t,e,o,n){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),(0,y.jo)(o,"width",["number"]),(0,y.jo)(n,"height",["number"]);var r=this.doc.context.obj([t,e,t+o,e+n]);this.node.set(p.S5.TrimBox,r)},t.prototype.setArtBox=function(t,e,o,n){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),(0,y.jo)(o,"width",["number"]),(0,y.jo)(n,"height",["number"]);var r=this.doc.context.obj([t,e,t+o,e+n]);this.node.set(p.S5.ArtBox,r)},t.prototype.getSize=function(){var t=this.getMediaBox();return{width:t.width,height:t.height}},t.prototype.getWidth=function(){return this.getSize().width},t.prototype.getHeight=function(){return this.getSize().height},t.prototype.getMediaBox=function(){return this.node.MediaBox().asRectangle()},t.prototype.getCropBox=function(){var t,e=this.node.CropBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getMediaBox()},t.prototype.getBleedBox=function(){var t,e=this.node.BleedBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getTrimBox=function(){var t,e=this.node.TrimBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.getArtBox=function(){var t,e=this.node.ArtBox();return null!=(t=null==e?void 0:e.asRectangle())?t:this.getCropBox()},t.prototype.translateContent=function(t,e){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),this.node.normalize(),this.getContentStream();var o=this.createContentStream((0,a.Tl)(),(0,a.kJ)(t,e)),n=this.doc.context.register(o),r=this.createContentStream((0,a.eH)()),i=this.doc.context.register(r);this.node.wrapContentStreams(n,i)},t.prototype.scale=function(t,e){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*e),this.scaleContent(t,e),this.scaleAnnotations(t,e)},t.prototype.scaleContent=function(t,e){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),this.node.normalize(),this.getContentStream();var o=this.createContentStream((0,a.Tl)(),(0,a.hs)(t,e)),n=this.doc.context.register(o),r=this.createContentStream((0,a.eH)()),i=this.doc.context.register(r);this.node.wrapContentStreams(n,i)},t.prototype.scaleAnnotations=function(t,e){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]);var o=this.node.Annots();if(o)for(var n=0;n<o.size();n++){var r=o.lookup(n);r instanceof p.Ri&&this.scaleAnnot(r,t,e)}},t.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},t.prototype.setFont=function(t){(0,y.jo)(t,"font",[[c.A,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},t.prototype.setFontSize=function(t){(0,y.jo)(t,"fontSize",["number"]),this.fontSize=t},t.prototype.setFontColor=function(t){(0,y.jo)(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},t.prototype.setLineHeight=function(t){(0,y.jo)(t,"lineHeight",["number"]),this.lineHeight=t},t.prototype.getPosition=function(){return{x:this.x,y:this.y}},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.moveTo=function(t,e){(0,y.jo)(t,"x",["number"]),(0,y.jo)(e,"y",["number"]),this.x=t,this.y=e},t.prototype.moveDown=function(t){(0,y.jo)(t,"yDecrease",["number"]),this.y-=t},t.prototype.moveUp=function(t){(0,y.jo)(t,"yIncrease",["number"]),this.y+=t},t.prototype.moveLeft=function(t){(0,y.jo)(t,"xDecrease",["number"]),this.x-=t},t.prototype.moveRight=function(t){(0,y.jo)(t,"xIncrease",["number"]),this.x+=t},t.prototype.pushOperators=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];(0,y.k)(t,"operator",[[p.VK,"PDFOperator"]]);var o=this.getContentStream();o.push.apply(o,t)},t.prototype.drawText=function(t,e){void 0===e&&(e={}),(0,y.jo)(t,"text",["string"]),(0,y.wU)(e.color,"options.color",[[Object,"Color"]]),(0,y.Dw)(e.opacity,"opacity.opacity",0,1),(0,y.wU)(e.font,"options.font",[[c.A,"PDFFont"]]),(0,y.wU)(e.size,"options.size",["number"]),(0,y.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,y.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,y.wU)(e.x,"options.x",["number"]),(0,y.wU)(e.y,"options.y",["number"]),(0,y.wU)(e.lineHeight,"options.lineHeight",["number"]),(0,y.wU)(e.maxWidth,"options.maxWidth",["number"]),(0,y.wU)(e.wordBreaks,"options.wordBreaks",[Array]),(0,y.DU)(e.blendMode,"options.blendMode",h.N);for(var o,n,r,a,s,u,l,d=this.setOrEmbedFont(e.font),p=d.oldFont,g=d.newFont,v=d.newFontKey,m=e.size||this.fontSize,b=e.wordBreaks||this.doc.defaultWordBreaks,A=void 0===e.maxWidth?(0,y.JQ)((0,y.X5)(t)):(0,y.YF)(t,b,e.maxWidth,function(t){return g.widthOfTextAtSize(t,m)}),C=Array(A.length),w=0,S=A.length;w<S;w++)C[w]=g.encodeText(A[w]);var x=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),F=this.getContentStream();F.push.apply(F,(0,i.EF)(C,{color:null!=(o=e.color)?o:this.fontColor,font:v,size:m,rotate:null!=(n=e.rotate)?n:(0,f.uj)(0),xSkew:null!=(r=e.xSkew)?r:(0,f.uj)(0),ySkew:null!=(a=e.ySkew)?a:(0,f.uj)(0),x:null!=(s=e.x)?s:this.x,y:null!=(u=e.y)?u:this.y,lineHeight:null!=(l=e.lineHeight)?l:this.lineHeight,graphicsState:x})),e.font&&(p?this.setFont(p):this.resetFont())},t.prototype.drawImage=function(t,e){void 0===e&&(e={}),(0,y.jo)(t,"image",[[l.A,"PDFImage"]]),(0,y.wU)(e.x,"options.x",["number"]),(0,y.wU)(e.y,"options.y",["number"]),(0,y.wU)(e.width,"options.width",["number"]),(0,y.wU)(e.height,"options.height",["number"]),(0,y.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,y.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,y.Dw)(e.opacity,"opacity.opacity",0,1),(0,y.DU)(e.blendMode,"options.blendMode",h.N);var o,n,r,a,s,u,c,d=this.node.newXObject("Image",t.ref),p=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),g=this.getContentStream();g.push.apply(g,(0,i.aC)(d,{x:null!=(o=e.x)?o:this.x,y:null!=(n=e.y)?n:this.y,width:null!=(r=e.width)?r:t.size().width,height:null!=(a=e.height)?a:t.size().height,rotate:null!=(s=e.rotate)?s:(0,f.uj)(0),xSkew:null!=(u=e.xSkew)?u:(0,f.uj)(0),ySkew:null!=(c=e.ySkew)?c:(0,f.uj)(0),graphicsState:p}))},t.prototype.drawPage=function(t,e){void 0===e&&(e={}),(0,y.jo)(t,"embeddedPage",[[u.A,"PDFEmbeddedPage"]]),(0,y.wU)(e.x,"options.x",["number"]),(0,y.wU)(e.y,"options.y",["number"]),(0,y.wU)(e.xScale,"options.xScale",["number"]),(0,y.wU)(e.yScale,"options.yScale",["number"]),(0,y.wU)(e.width,"options.width",["number"]),(0,y.wU)(e.height,"options.height",["number"]),(0,y.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,y.wU)(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,y.Dw)(e.opacity,"opacity.opacity",0,1),(0,y.DU)(e.blendMode,"options.blendMode",h.N);var o,n,r,a,s,c=this.node.newXObject("EmbeddedPdfPage",t.ref),l=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),d=void 0!==e.width?e.width/t.width:void 0!==e.xScale?e.xScale:1,p=void 0!==e.height?e.height/t.height:void 0!==e.yScale?e.yScale:1,g=this.getContentStream();g.push.apply(g,(0,i.wl)(c,{x:null!=(o=e.x)?o:this.x,y:null!=(n=e.y)?n:this.y,xScale:d,yScale:p,rotate:null!=(r=e.rotate)?r:(0,f.uj)(0),xSkew:null!=(a=e.xSkew)?a:(0,f.uj)(0),ySkew:null!=(s=e.ySkew)?s:(0,f.uj)(0),graphicsState:l}))},t.prototype.drawSvgPath=function(t,e){void 0===e&&(e={}),(0,y.jo)(t,"path",["string"]),(0,y.wU)(e.x,"options.x",["number"]),(0,y.wU)(e.y,"options.y",["number"]),(0,y.wU)(e.scale,"options.scale",["number"]),(0,y.wU)(e.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(e.borderWidth,"options.borderWidth",["number"]),(0,y.wU)(e.color,"options.color",[[Object,"Color"]]),(0,y.Dw)(e.opacity,"opacity.opacity",0,1),(0,y.wU)(e.borderColor,"options.borderColor",[[Object,"Color"]]),(0,y.wU)(e.borderDashArray,"options.borderDashArray",[Array]),(0,y.wU)(e.borderDashPhase,"options.borderDashPhase",["number"]),(0,y.DU)(e.borderLineCap,"options.borderLineCap",a.uT),(0,y.Dw)(e.borderOpacity,"options.borderOpacity",0,1),(0,y.DU)(e.blendMode,"options.blendMode",h.N);var o,n,s,u,c,l,d,p,g,v=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});"color"in e||"borderColor"in e||(e.borderColor=(0,r.Qh)(0,0,0));var m=this.getContentStream();m.push.apply(m,(0,i.wd)(t,{x:null!=(o=e.x)?o:this.x,y:null!=(n=e.y)?n:this.y,scale:e.scale,rotate:null!=(s=e.rotate)?s:(0,f.uj)(0),color:null!=(u=e.color)?u:void 0,borderColor:null!=(c=e.borderColor)?c:void 0,borderWidth:null!=(l=e.borderWidth)?l:0,borderDashArray:null!=(d=e.borderDashArray)?d:void 0,borderDashPhase:null!=(p=e.borderDashPhase)?p:void 0,borderLineCap:null!=(g=e.borderLineCap)?g:void 0,graphicsState:v}))},t.prototype.drawLine=function(t){(0,y.jo)(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),(0,y.jo)(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),(0,y.jo)(t.start.x,"options.start.x",["number"]),(0,y.jo)(t.start.y,"options.start.y",["number"]),(0,y.jo)(t.end.x,"options.end.x",["number"]),(0,y.jo)(t.end.y,"options.end.y",["number"]),(0,y.wU)(t.thickness,"options.thickness",["number"]),(0,y.wU)(t.color,"options.color",[[Object,"Color"]]),(0,y.wU)(t.dashArray,"options.dashArray",[Array]),(0,y.wU)(t.dashPhase,"options.dashPhase",["number"]),(0,y.DU)(t.lineCap,"options.lineCap",a.uT),(0,y.Dw)(t.opacity,"opacity.opacity",0,1),(0,y.DU)(t.blendMode,"options.blendMode",h.N);var e,o,n,s,u,c=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=(0,r.Qh)(0,0,0));var l=this.getContentStream();l.push.apply(l,(0,i.V6)({start:t.start,end:t.end,thickness:null!=(e=t.thickness)?e:1,color:null!=(o=t.color)?o:void 0,dashArray:null!=(n=t.dashArray)?n:void 0,dashPhase:null!=(s=t.dashPhase)?s:void 0,lineCap:null!=(u=t.lineCap)?u:void 0,graphicsState:c}))},t.prototype.drawRectangle=function(t){void 0===t&&(t={}),(0,y.wU)(t.x,"options.x",["number"]),(0,y.wU)(t.y,"options.y",["number"]),(0,y.wU)(t.width,"options.width",["number"]),(0,y.wU)(t.height,"options.height",["number"]),(0,y.wU)(t.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),(0,y.wU)(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),(0,y.wU)(t.borderWidth,"options.borderWidth",["number"]),(0,y.wU)(t.color,"options.color",[[Object,"Color"]]),(0,y.Dw)(t.opacity,"opacity.opacity",0,1),(0,y.wU)(t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,y.wU)(t.borderDashArray,"options.borderDashArray",[Array]),(0,y.wU)(t.borderDashPhase,"options.borderDashPhase",["number"]),(0,y.DU)(t.borderLineCap,"options.borderLineCap",a.uT),(0,y.Dw)(t.borderOpacity,"options.borderOpacity",0,1),(0,y.DU)(t.blendMode,"options.blendMode",h.N);var e,o,n,s,u,c,l,d,p,g,v,m,b,A=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=(0,r.Qh)(0,0,0));var C=this.getContentStream();C.push.apply(C,(0,i.CQ)({x:null!=(e=t.x)?e:this.x,y:null!=(o=t.y)?o:this.y,width:null!=(n=t.width)?n:150,height:null!=(s=t.height)?s:100,rotate:null!=(u=t.rotate)?u:(0,f.uj)(0),xSkew:null!=(c=t.xSkew)?c:(0,f.uj)(0),ySkew:null!=(l=t.ySkew)?l:(0,f.uj)(0),borderWidth:null!=(d=t.borderWidth)?d:0,color:null!=(p=t.color)?p:void 0,borderColor:null!=(g=t.borderColor)?g:void 0,borderDashArray:null!=(v=t.borderDashArray)?v:void 0,borderDashPhase:null!=(m=t.borderDashPhase)?m:void 0,graphicsState:A,borderLineCap:null!=(b=t.borderLineCap)?b:void 0}))},t.prototype.drawSquare=function(t){void 0===t&&(t={});var e=t.size;(0,y.wU)(e,"size",["number"]),this.drawRectangle((0,n.Cl)((0,n.Cl)({},t),{width:e,height:e}))},t.prototype.drawEllipse=function(t){void 0===t&&(t={}),(0,y.wU)(t.x,"options.x",["number"]),(0,y.wU)(t.y,"options.y",["number"]),(0,y.wU)(t.xScale,"options.xScale",["number"]),(0,y.wU)(t.yScale,"options.yScale",["number"]),(0,y.wU)(t.rotate,"options.rotate",[[Object,"Rotation"]]),(0,y.wU)(t.color,"options.color",[[Object,"Color"]]),(0,y.Dw)(t.opacity,"opacity.opacity",0,1),(0,y.wU)(t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,y.Dw)(t.borderOpacity,"options.borderOpacity",0,1),(0,y.wU)(t.borderWidth,"options.borderWidth",["number"]),(0,y.wU)(t.borderDashArray,"options.borderDashArray",[Array]),(0,y.wU)(t.borderDashPhase,"options.borderDashPhase",["number"]),(0,y.DU)(t.borderLineCap,"options.borderLineCap",a.uT),(0,y.DU)(t.blendMode,"options.blendMode",h.N);var e,o,n,s,u,c,l,f,d,p,g,v=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});"color"in t||"borderColor"in t||(t.color=(0,r.Qh)(0,0,0));var m=this.getContentStream();m.push.apply(m,(0,i.n)({x:null!=(e=t.x)?e:this.x,y:null!=(o=t.y)?o:this.y,xScale:null!=(n=t.xScale)?n:100,yScale:null!=(s=t.yScale)?s:100,rotate:null!=(u=t.rotate)?u:void 0,color:null!=(c=t.color)?c:void 0,borderColor:null!=(l=t.borderColor)?l:void 0,borderWidth:null!=(f=t.borderWidth)?f:0,borderDashArray:null!=(d=t.borderDashArray)?d:void 0,borderDashPhase:null!=(p=t.borderDashPhase)?p:void 0,borderLineCap:null!=(g=t.borderLineCap)?g:void 0,graphicsState:v}))},t.prototype.drawCircle=function(t){void 0===t&&(t={});var e=t.size,o=void 0===e?100:e;(0,y.wU)(o,"size",["number"]),this.drawEllipse((0,n.Cl)((0,n.Cl)({},t),{xScale:o,yScale:o}))},t.prototype.setOrEmbedFont=function(t){var e=this.font,o=this.fontKey;return t?this.setFont(t):this.getFont(),{oldFont:e,oldFontKey:o,newFont:this.font,newFontKey:this.fontKey}},t.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(d.q.Helvetica);this.setFont(t)}return[this.font,this.fontKey]},t.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},t.prototype.getContentStream=function(t){return void 0===t&&(t=!0),t&&this.contentStream||(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef)),this.contentStream},t.prototype.createContentStream=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=this.doc.context.obj({});return p.CB.of(o,t)},t.prototype.maybeEmbedGraphicsState=function(t){var e=t.opacity,o=t.borderOpacity,n=t.blendMode;if(void 0!==e||void 0!==o||void 0!==n){var r=this.doc.context.obj({Type:"ExtGState",ca:e,CA:o,BM:n});return this.node.newExtGState("GS",r)}},t.prototype.scaleAnnot=function(t,e,o){for(var n=["RD","CL","Vertices","QuadPoints","L","Rect"],r=0,i=n.length;r<i;r++){var a=t.lookup(p.S5.of(n[r]));a instanceof p.y3&&a.scalePDFNumbers(e,o)}var s=t.lookup(p.S5.of("InkList"));if(s instanceof p.y3)for(var r=0,i=s.size();r<i;r++){var u=s.lookup(r);u instanceof p.y3&&u.scalePDFNumbers(e,o)}},t.of=function(e,o,n){return new t(e,o,n)},t.create=function(e){(0,y.jo)(e,"doc",[[s.A,"PDFDocument"]]);var o=p.so.of(-1),n=p.y1.withContextAndParent(e.context,o),r=e.context.register(n);return new t(n,r,e)},t}()},97490(t,e,o){var n,r;(r=n||(n={})).Normal="Normal",r.Multiply="Multiply",r.Screen="Screen",r.Overlay="Overlay",r.Darken="Darken",r.Lighten="Lighten",r.ColorDodge="ColorDodge",r.ColorBurn="ColorBurn",r.HardLight="HardLight",r.SoftLight="SoftLight",r.Difference="Difference",r.Exclusion="Exclusion",o.d(e,{N:()=>n})},37934(t,e,o){var n,r;(r=n||(n={})).Courier="Courier",r.CourierBold="Courier-Bold",r.CourierOblique="Courier-Oblique",r.CourierBoldOblique="Courier-BoldOblique",r.Helvetica="Helvetica",r.HelveticaBold="Helvetica-Bold",r.HelveticaOblique="Helvetica-Oblique",r.HelveticaBoldOblique="Helvetica-BoldOblique",r.TimesRoman="Times-Roman",r.TimesRomanBold="Times-Bold",r.TimesRomanItalic="Times-Italic",r.TimesRomanBoldItalic="Times-BoldItalic",r.Symbol="Symbol",r.ZapfDingbats="ZapfDingbats",o.d(e,{q:()=>n})},65231(t,e,o){var n,r,i=o(45198),a=o(44910);(n=r||(r={})).Grayscale="Grayscale",n.RGB="RGB",n.CMYK="CMYK";var s=function(t){return(0,a.Qb)(t,"gray",0,1),{type:r.Grayscale,gray:t}},u=function(t,e,o){return(0,a.Qb)(t,"red",0,1),(0,a.Qb)(e,"green",0,1),(0,a.Qb)(o,"blue",0,1),{type:r.RGB,red:t,green:e,blue:o}},c=function(t,e,o,n){return(0,a.Qb)(t,"cyan",0,1),(0,a.Qb)(e,"magenta",0,1),(0,a.Qb)(o,"yellow",0,1),(0,a.Qb)(n,"key",0,1),{type:r.CMYK,cyan:t,magenta:e,yellow:o,key:n}},l=r.Grayscale,h=r.RGB,f=r.CMYK,d=function(t){return t.type===l?(0,i.Cq)(t.gray):t.type===h?(0,i._u)(t.red,t.green,t.blue):t.type===f?(0,i.J2)(t.cyan,t.magenta,t.yellow,t.key):(0,a.z3)("Invalid color: "+JSON.stringify(t))},p=function(t){return t.type===l?(0,i.U4)(t.gray):t.type===h?(0,i.Ie)(t.red,t.green,t.blue):t.type===f?(0,i.FP)(t.cyan,t.magenta,t.yellow,t.key):(0,a.z3)("Invalid color: "+JSON.stringify(t))},y=function(t,e){return void 0===e&&(e=1),(null==t?void 0:t.length)===1?s(t[0]*e):(null==t?void 0:t.length)===3?u(t[0]*e,t[1]*e,t[2]*e):(null==t?void 0:t.length)===4?c(t[0]*e,t[1]*e,t[2]*e,t[3]*e):void 0},g=function(t){return t.type===l?[t.gray]:t.type===h?[t.red,t.green,t.blue]:t.type===f?[t.cyan,t.magenta,t.yellow,t.key]:(0,a.z3)("Invalid color: "+JSON.stringify(t))};o.d(e,{CM:()=>s,Qh:()=>u,T7:()=>c,ZP:()=>p,b5:()=>g,fS:()=>y,zN:()=>d})},39560(t,e,o){var n,r,i=o(81205),a=function(t){function e(){return t.call(this,"Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.")||this}return(0,i.C6)(e,t),e}(Error),s=function(t){function e(){return t.call(this,"Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.")||this}return(0,i.C6)(e,t),e}(Error),u=function(t){function e(){return t.call(this,"A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.")||this}return(0,i.C6)(e,t),e}(Error),c=function(t){function e(){return t.call(this,"PDFDocument has no pages so `PDFDocument.removePage` cannot be called")||this}return(0,i.C6)(e,t),e}(Error),l=function(t){function e(e){return t.call(this,'PDFDocument has no form field with the name "'+e+'"')||this}return(0,i.C6)(e,t),e}(Error),h=function(t){function e(e,o,n){var r,i,a='Expected field "'+e+'" to be of type '+(null==o?void 0:o.name)+", but it is actually of type "+(null!=(i=null==(r=null==n?void 0:n.constructor)?void 0:r.name)?i:n);return t.call(this,a)||this}return(0,i.C6)(e,t),e}(Error);n=Error,(0,i.C6)(function(t){return n.call(this,'Failed to select check box due to missing onValue: "'+t+'"')||this},n);var f=function(t){function e(e){return t.call(this,'A field already exists with the specified name: "'+e+'"')||this}return(0,i.C6)(e,t),e}(Error),d=function(t){function e(e){return t.call(this,'Field name contains invalid component: "'+e+'"')||this}return(0,i.C6)(e,t),e}(Error);r=Error,(0,i.C6)(function(t){return r.call(this,'A non-terminal field already exists with the specified name: "'+t+'"')||this},r);var p=function(t){function e(e){return t.call(this,"Reading rich text fields is not supported: Attempted to read rich text field: "+e)||this}return(0,i.C6)(e,t),e}(Error),y=function(t){function e(e,o){return t.call(this,"Failed to layout combed text as lineLength="+e+" is greater than cellCount="+o)||this}return(0,i.C6)(e,t),e}(Error),g=function(t){function e(e,o,n){return t.call(this,"Attempted to set text with length="+e+" for TextField with maxLength="+o+" and name="+n)||this}return(0,i.C6)(e,t),e}(Error),v=function(t){function e(e,o,n){var r="Attempted to set maxLength="+o+", which is less than "+e+", the length of this field's current value (name="+n+")";return t.call(this,r)||this}return(0,i.C6)(e,t),e}(Error);o.d(e,{A:()=>y,BY:()=>f,KI:()=>g,OY:()=>c,ZT:()=>a,eW:()=>v,iB:()=>u,k0:()=>p,or:()=>h,vs:()=>l,wT:()=>d,xC:()=>s})},66516(t,e,o){var n=o(81205),r=o(72434),i=o(25064),a=o(76396),s=o(60853),u=o(45410),c=o(65231),l=o(58184),h=o(67531),f=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,f.jo)(e,"acroButton",[[h.OR,"PDFAcroPushButton"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.setImage=function(t,e){void 0===e&&(e=a.n.Center);for(var o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var i=o[n],s=this.createImageAppearanceStream(i,t,e);this.updateWidgetAppearances(i,{normal:s})}this.markAsClean()},e.prototype.setFontSize=function(t){(0,f.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.addToPage=function(t,e,o){(0,f.wU)(t,"text",["string"]),(0,f.wU)(e,"page",[[r.A,"PDFPage"]]),(0,u.B)(o);var n,i,a,s,h,d,p,y,g,v,m,b=this.createWidget({x:(null!=(n=null==o?void 0:o.x)?n:0)-(null!=(i=null==o?void 0:o.borderWidth)?i:0)/2,y:(null!=(a=null==o?void 0:o.y)?a:0)-(null!=(s=null==o?void 0:o.borderWidth)?s:0)/2,width:null!=(h=null==o?void 0:o.width)?h:100,height:null!=(d=null==o?void 0:o.height)?d:50,textColor:null!=(p=null==o?void 0:o.textColor)?p:(0,c.Qh)(0,0,0),backgroundColor:null!=(y=null==o?void 0:o.backgroundColor)?y:(0,c.Qh)(.75,.75,.75),borderColor:null==o?void 0:o.borderColor,borderWidth:null!=(g=null==o?void 0:o.borderWidth)?g:0,rotate:null!=(v=null==o?void 0:o.rotate)?v:(0,l.uj)(0),caption:t,hidden:null==o?void 0:o.hidden,page:e.ref}),A=this.doc.context.register(b.dict);this.acroField.addWidget(A);var C=null!=(m=null==o?void 0:o.font)?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(b,C),e.node.addAnnot(A)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++)if(!((null==(t=e[o].getAppearances())?void 0:t.normal)instanceof h.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,f.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,f.jo)(t,"font",[[i.A,"PDFFont"]]),(0,f.wU)(e,"provider",[Function]);for(var o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var a=o[n];this.updateWidgetAppearance(a,t,e)}},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:s.p6,r=(0,s.QK)(n(this,t,e));this.updateWidgetAppearanceWithFont(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(u.A)},57014(t,e,o){var n=o(81205),r=o(72434),i=o(60853),a=o(65231),s=o(58184),u=o(45410),c=o(67531),l=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,l.jo)(e,"acroCheckBox",[[c.RL,"PDFAcroCheckBox"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.check=function(){var t,e=null!=(t=this.acroField.getOnValue())?t:c.S5.of("Yes");this.markAsDirty(),this.acroField.setValue(e)},e.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(c.S5.of("Off"))},e.prototype.isChecked=function(){var t=this.acroField.getOnValue();return!!t&&t===this.acroField.getValue()},e.prototype.addToPage=function(t,e){(0,l.jo)(t,"page",[[r.A,"PDFPage"]]),(0,u.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,a.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,a.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,a.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var o,n,i,h,f,d,p=this.createWidget({x:null!=(o=e.x)?o:0,y:null!=(n=e.y)?n:0,width:null!=(i=e.width)?i:50,height:null!=(h=e.height)?h:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(f=e.borderWidth)?f:0,rotate:null!=(d=e.rotate)?d:(0,s.uj)(0),hidden:e.hidden,page:t.ref}),y=this.doc.context.register(p.dict);this.acroField.addWidget(y),p.setAppearanceState(c.S5.of("Off")),this.updateWidgetAppearance(p,c.S5.of("Yes")),t.node.addAnnot(y)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++){var r=e[o],i=r.getAppearanceState(),a=null==(t=r.getAppearances())?void 0:t.normal;if(!(a instanceof c.Ri)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){(0,l.wU)(t,"provider",[Function]);for(var e,o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var i=o[n],a=null!=(e=i.getOnValue())?e:c.S5.of("Yes");a&&this.updateWidgetAppearance(i,a,t)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:i.kb,r=(0,i.QK)(n(this,t));this.updateOnOffWidgetAppearance(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(u.A)},11641(t,e,o){var n=o(81205),r=o(72434),i=o(25064),a=o(45410),s=o(60853),u=o(65231),c=o(58184),l=o(67531),h=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,h.jo)(e,"acroComboBox",[[l.Bi,"PDFAcroComboBox"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),o=0,n=e.length;o<n;o++){var r=t[o],i=r.display,a=r.value;e[o]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]=t[o].decodeText();return e},e.prototype.setOptions=function(t){(0,h.jo)(t,"options",[Array]);for(var e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]={value:l.lv.fromText(t[o])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){(0,h.jo)(t,"options",["string",Array]);for(var e=Array.isArray(t)?t:[t],o=this.acroField.getOptions(),n=Array(e.length),r=0,i=e.length;r<i;r++)n[r]={value:l.lv.fromText(e[r])};this.acroField.setOptions(o.concat(n))},e.prototype.select=function(t,e){void 0===e&&(e=!1),(0,h.jo)(t,"options",["string",Array]),(0,h.jo)(e,"merge",["boolean"]);var o=Array.isArray(t)?t:[t],n=this.getOptions();o.find(function(t){return!n.includes(t)})&&this.enableEditing(),this.markAsDirty(),(o.length>1||1===o.length&&e)&&this.enableMultiselect();for(var r=Array(o.length),i=0,a=o.length;i<a;i++)r[i]=l.lv.fromText(o[i]);if(e){var s=this.acroField.getValues();this.acroField.setValues(s.concat(r))}else this.acroField.setValues(r)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){(0,h.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isEditable=function(){return this.acroField.hasFlag(l.qM.Edit)},e.prototype.enableEditing=function(){this.acroField.setFlagTo(l.qM.Edit,!0)},e.prototype.disableEditing=function(){this.acroField.setFlagTo(l.qM.Edit,!1)},e.prototype.isSorted=function(){return this.acroField.hasFlag(l.qM.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(l.qM.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(l.qM.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(l.qM.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(l.qM.DoNotSpellCheck,!0)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(l.qM.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){(0,h.jo)(t,"page",[[r.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var o,n,i,s,l,f,d,p=this.createWidget({x:null!=(o=e.x)?o:0,y:null!=(n=e.y)?n:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(f=e.rotate)?f:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),y=this.doc.context.register(p.dict);this.acroField.addWidget(y);var g=null!=(d=e.font)?d:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,g),t.node.addAnnot(y)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++)if(!((null==(t=e[o].getAppearances())?void 0:t.normal)instanceof l.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),(0,h.wU)(e,"provider",[Function]);for(var o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var a=o[n];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:s.q2,r=(0,s.QK)(n(this,t,e));this.updateWidgetAppearanceWithFont(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(a.A)},45410(t,e,o){o.d(e,{B:()=>h});var n=o(81205),r=o(42810),i=o(65231),a=o(58184),s=o(67531),u=o(44910),c=o(63033),l=o(57333),h=function(t){(0,u.wU)(null==t?void 0:t.x,"options.x",["number"]),(0,u.wU)(null==t?void 0:t.y,"options.y",["number"]),(0,u.wU)(null==t?void 0:t.width,"options.width",["number"]),(0,u.wU)(null==t?void 0:t.height,"options.height",["number"]),(0,u.wU)(null==t?void 0:t.textColor,"options.textColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.borderColor,"options.borderColor",[[Object,"Color"]]),(0,u.wU)(null==t?void 0:t.borderWidth,"options.borderWidth",["number"]),(0,u.wU)(null==t?void 0:t.rotate,"options.rotate",[[Object,"Rotation"]])};e.A=function(){function t(t,e,o){(0,u.jo)(t,"acroField",[[s.AC,"PDFAcroTerminal"]]),(0,u.jo)(e,"ref",[[s.so,"PDFRef"]]),(0,u.jo)(o,"doc",[[r.A,"PDFDocument"]]),this.acroField=t,this.ref=e,this.doc=o}return t.prototype.getName=function(){var t;return null!=(t=this.acroField.getFullyQualifiedName())?t:""},t.prototype.isReadOnly=function(){return this.acroField.hasFlag(s.Zo.ReadOnly)},t.prototype.enableReadOnly=function(){this.acroField.setFlagTo(s.Zo.ReadOnly,!0)},t.prototype.disableReadOnly=function(){this.acroField.setFlagTo(s.Zo.ReadOnly,!1)},t.prototype.isRequired=function(){return this.acroField.hasFlag(s.Zo.Required)},t.prototype.enableRequired=function(){this.acroField.setFlagTo(s.Zo.Required,!0)},t.prototype.disableRequired=function(){this.acroField.setFlagTo(s.Zo.Required,!1)},t.prototype.isExported=function(){return!this.acroField.hasFlag(s.Zo.NoExport)},t.prototype.enableExporting=function(){this.acroField.setFlagTo(s.Zo.NoExport,!1)},t.prototype.disableExporting=function(){this.acroField.setFlagTo(s.Zo.NoExport,!0)},t.prototype.needsAppearancesUpdate=function(){throw new s.ju(this.constructor.name,"needsAppearancesUpdate")},t.prototype.defaultUpdateAppearances=function(t){throw new s.ju(this.constructor.name,"defaultUpdateAppearances")},t.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},t.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},t.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},t.prototype.createWidget=function(t){var e,o=t.textColor,n=t.backgroundColor,r=t.borderColor,c=t.borderWidth,l=(0,a.xW)(t.rotate),h=t.caption,f=t.x,d=t.y,p=t.width+c,y=t.height+c,g=!!t.hidden,v=t.page;(0,u.vW)(l,"degreesAngle",90);var m=s.Ml.create(this.doc.context,this.ref),b=(0,a.P8)({x:f,y:d,width:p,height:y},c,l);m.setRectangle(b),v&&m.setP(v);var A=m.getOrCreateAppearanceCharacteristics();n&&A.setBackgroundColor((0,i.b5)(n)),A.setRotation(l),h&&A.setCaptions({normal:h}),r&&A.setBorderColor((0,i.b5)(r));var C=m.getOrCreateBorderStyle();if(void 0!==c&&C.setWidth(c),m.setFlagTo(s.bO.Print,!0),m.setFlagTo(s.bO.Hidden,g),m.setFlagTo(s.bO.Invisible,!1),o){var w=(null!=(e=this.acroField.getDefaultAppearance())?e:"")+"\n"+(0,i.zN)(o).toString();this.acroField.setDefaultAppearance(w)}return m},t.prototype.updateWidgetAppearanceWithFont=function(t,e,o){var n=o.normal,r=o.rollover,i=o.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,n,e),rollover:r&&this.createAppearanceStream(t,r,e),down:i&&this.createAppearanceStream(t,i,e)})},t.prototype.updateOnOffWidgetAppearance=function(t,e,o){var n=o.normal,r=o.rollover,i=o.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,n,e),rollover:r&&this.createAppearanceDict(t,r,e),down:i&&this.createAppearanceDict(t,i,e)})},t.prototype.updateWidgetAppearances=function(t,e){var o=e.normal,n=e.rollover,r=e.down;t.setNormalAppearance(o),n?t.setRolloverAppearance(n):t.removeRolloverAppearance(),r?t.setDownAppearance(r):t.removeDownAppearance()},t.prototype.createAppearanceStream=function(t,e,o){var n,r=this.acroField.dict.context,i=t.getRectangle(),a=i.width,s=i.height,u=o&&{Font:((n={})[o.name]=o.ref,n)},c=r.formXObject(e,{Resources:u,BBox:r.obj([0,0,a,s]),Matrix:r.obj([1,0,0,1,0,0])});return r.register(c)},t.prototype.createImageAppearanceStream=function(t,e,o){var r,i,s=this.acroField.dict.context,u=t.getRectangle(),h=t.getAppearanceCharacteristics(),f=t.getBorderStyle(),d=null!=(i=null==f?void 0:f.getWidth())?i:0,p=(0,a.du)(null==h?void 0:h.getRotation()),y=(0,l.Il)((0,n.Cl)((0,n.Cl)({},u),{rotation:p})),g=(0,a.S3)(u,p),v=e.scaleToFit(g.width-2*d,g.height-2*d),m={x:d,y:d,width:v.width,height:v.height,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)};o===c.n.Center?(m.x+=(g.width-2*d)/2-v.width/2,m.y+=(g.height-2*d)/2-v.height/2):o===c.n.Right&&(m.x=g.width-d-v.width,m.y=g.height-d-v.height);var b=this.doc.context.addRandomSuffix("Image",10),A=(0,n.aN)(y,(0,l.aC)(b,m)),C={XObject:((r={})[b]=e.ref,r)},w=s.formXObject(A,{Resources:C,BBox:s.obj([0,0,u.width,u.height]),Matrix:s.obj([1,0,0,1,0,0])});return s.register(w)},t.prototype.createAppearanceDict=function(t,e,o){var n=this.acroField.dict.context,r=this.createAppearanceStream(t,e.on),i=this.createAppearanceStream(t,e.off),a=n.obj({});return a.set(o,r),a.set(s.S5.of("Off"),i),a},t}()},55774(t,e,o){var n=o(81205),r=o(42810),i=o(66516),a=o(57014),s=o(11641),u=o(86337),c=o(45606),l=o(22120),h=o(63899),f=o(39560),d=o(25064),p=o(37934),y=o(57333),g=o(45198),v=o(67531),m=o(44910);e.A=function(){function t(t,e){var o=this;this.embedDefaultFont=function(){return o.doc.embedStandardFont(p.q.Helvetica)},(0,m.jo)(t,"acroForm",[[v.In,"PDFAcroForm"]]),(0,m.jo)(e,"doc",[[r.A,"PDFDocument"]]),this.acroForm=t,this.doc=e,this.dirtyFields=new Set,this.defaultFontCache=m.l2.populatedBy(this.embedDefaultFont)}return t.prototype.hasXFA=function(){return this.acroForm.dict.has(v.S5.of("XFA"))},t.prototype.deleteXFA=function(){this.acroForm.dict.delete(v.S5.of("XFA"))},t.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),e=[],o=0,n=t.length;o<n;o++){var r=t[o],i=b(r[0],r[1],this.doc);i&&e.push(i)}return e},t.prototype.getFieldMaybe=function(t){(0,m.jo)(t,"name",["string"]);for(var e=this.getFields(),o=0,n=e.length;o<n;o++){var r=e[o];if(r.getName()===t)return r}},t.prototype.getField=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getFieldMaybe(t);if(e)return e;throw new f.vs(t)},t.prototype.getButton=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof i.A)return e;throw new f.or(t,i.A,e)},t.prototype.getCheckBox=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof a.A)return e;throw new f.or(t,a.A,e)},t.prototype.getDropdown=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof s.A)return e;throw new f.or(t,s.A,e)},t.prototype.getOptionList=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof u.A)return e;throw new f.or(t,u.A,e)},t.prototype.getRadioGroup=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof c.A)return e;throw new f.or(t,c.A,e)},t.prototype.getSignature=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof l.A)return e;throw new f.or(t,l.A,e)},t.prototype.getTextField=function(t){(0,m.jo)(t,"name",["string"]);var e=this.getField(t);if(e instanceof h.A)return e;throw new f.or(t,h.A,e)},t.prototype.createButton=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.OR.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),i.A.of(n,n.ref,this.doc)},t.prototype.createCheckBox=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.RL.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),a.A.of(n,n.ref,this.doc)},t.prototype.createDropdown=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.Bi.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),s.A.of(n,n.ref,this.doc)},t.prototype.createOptionList=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.ld.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),u.A.of(n,n.ref,this.doc)},t.prototype.createRadioGroup=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.b$.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),c.A.of(n,n.ref,this.doc)},t.prototype.createTextField=function(t){(0,m.jo)(t,"name",["string"]);var e=A(t),o=this.findOrCreateNonTerminals(e.nonTerminal),n=v.BM.create(this.doc.context);return n.setPartialName(e.terminal),C(o,[n,n.ref],e.terminal),h.A.of(n,n.ref,this.doc)},t.prototype.flatten=function(t){void 0===t&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var e=this.getFields(),o=0,r=e.length;o<r;o++){for(var i=e[o],a=i.acroField.getWidgets(),s=0,u=a.length;s<u;s++){var c=a[s],l=this.findWidgetPage(c),h=this.findWidgetAppearanceRef(i,c),f=l.node.newXObject("FlatWidget",h),d=c.getRectangle(),p=(0,n.aN)([(0,g.Tl)(),(0,g.kJ)(d.x,d.y)],(0,y.Il)((0,n.Cl)((0,n.Cl)({},d),{rotation:0})),[(0,g.aS)(f),(0,g.eH)()]).filter(Boolean);l.pushOperators.apply(l,p)}this.removeField(i)}},t.prototype.removeField=function(t){for(var e=t.acroField.getWidgets(),o=new Set,n=0,r=e.length;n<r;n++){var i=e[n],a=this.findWidgetAppearanceRef(t,i),s=this.findWidgetPage(i);o.add(s),s.node.removeAnnot(a)}o.forEach(function(e){return e.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var u=t.acroField.normalizedEntries().Kids,c=u.size(),l=0;l<c;l++){var h=u.get(l);h instanceof v.so&&this.doc.context.delete(h)}this.doc.context.delete(t.ref)},t.prototype.updateFieldAppearances=function(t){(0,m.wU)(t,"font",[[d.A,"PDFFont"]]),t=null!=t?t:this.getDefaultFont();for(var e=this.getFields(),o=0,n=e.length;o<n;o++){var r=e[o];r.needsAppearancesUpdate()&&r.defaultUpdateAppearances(t)}},t.prototype.markFieldAsDirty=function(t){(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.add(t)},t.prototype.markFieldAsClean=function(t){(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.delete(t)},t.prototype.fieldIsDirty=function(t){return(0,m.wU)(t,"fieldRef",[[v.so,"PDFRef"]]),this.dirtyFields.has(t)},t.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},t.prototype.findWidgetPage=function(t){var e=t.P(),o=this.doc.getPages().find(function(t){return t.ref===e});if(void 0===o){var n=this.doc.context.getObjectRef(t.dict);if(void 0===n)throw Error("Could not find PDFRef for PDFObject");if(void 0===(o=this.doc.findPageForAnnotationRef(n)))throw Error("Could not find page for PDFRef "+n)}return o},t.prototype.findWidgetAppearanceRef=function(t,e){var o,n=e.getNormalAppearance();if(n instanceof v.Ri&&(t instanceof a.A||t instanceof c.A)){var r=t.acroField.getValue(),i=null!=(o=n.get(r))?o:n.get(v.S5.of("Off"));i instanceof v.so&&(n=i)}if(!(n instanceof v.so))throw Error("Failed to extract appearance ref for: "+t.getName());return n},t.prototype.findOrCreateNonTerminals=function(t){for(var e=[this.acroForm],o=0,n=t.length;o<n;o++){var r=t[o];if(!r)throw new f.wT(r);var i=e[0],a=e[1],s=this.findNonTerminal(r,i);if(s)e=s;else{var u=v.z5.create(this.doc.context);u.setPartialName(r),u.setParent(a);var c=this.doc.context.register(u.dict);i.addField(c),e=[u,c]}}return e},t.prototype.findNonTerminal=function(t,e){for(var o=e instanceof v.In?this.acroForm.getFields():(0,v.h$)(e.Kids()),n=0,r=o.length;n<r;n++){var i=o[n],a=i[0],s=i[1];if(a.getPartialName()===t){if(a instanceof v.z5)return[a,s];throw new f.BY(t)}}},t.of=function(e,o){return new t(e,o)},t}();var b=function(t,e,o){return t instanceof v.OR?i.A.of(t,e,o):t instanceof v.RL?a.A.of(t,e,o):t instanceof v.Bi?s.A.of(t,e,o):t instanceof v.ld?u.A.of(t,e,o):t instanceof v.BM?h.A.of(t,e,o):t instanceof v.b$?c.A.of(t,e,o):t instanceof v.oz?l.A.of(t,e,o):void 0},A=function(t){if(0===t.length)throw Error("PDF field names must not be empty strings");for(var e=t.split("."),o=0,n=e.length;o<n;o++)if(""===e[o])throw Error('Periods in PDF field names must be separated by at least one character: "'+t+'"');return 1===e.length?{nonTerminal:[],terminal:e[0]}:{nonTerminal:e.slice(0,e.length-1),terminal:e[e.length-1]}},C=function(t,e,o){for(var n=t[0],r=t[1],i=e[0],a=e[1],s=n.normalizedEntries(),u=(0,v.h$)("Kids"in s?s.Kids:s.Fields),c=0,l=u.length;c<l;c++)if(u[c][0].getPartialName()===o)throw new f.BY(o);n.addField(a),i.setParent(r)}},86337(t,e,o){var n=o(81205),r=o(72434),i=o(25064),a=o(45410),s=o(60853),u=o(65231),c=o(58184),l=o(67531),h=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,h.jo)(e,"acroListBox",[[l.ld,"PDFAcroListBox"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.getOptions=function(){for(var t=this.acroField.getOptions(),e=Array(t.length),o=0,n=e.length;o<n;o++){var r=t[o],i=r.display,a=r.value;e[o]=(null!=i?i:a).decodeText()}return e},e.prototype.getSelected=function(){for(var t=this.acroField.getValues(),e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]=t[o].decodeText();return e},e.prototype.setOptions=function(t){(0,h.jo)(t,"options",[Array]),this.markAsDirty();for(var e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]={value:l.lv.fromText(t[o])};this.acroField.setOptions(e)},e.prototype.addOptions=function(t){(0,h.jo)(t,"options",["string",Array]),this.markAsDirty();for(var e=Array.isArray(t)?t:[t],o=this.acroField.getOptions(),n=Array(e.length),r=0,i=e.length;r<i;r++)n[r]={value:l.lv.fromText(e[r])};this.acroField.setOptions(o.concat(n))},e.prototype.select=function(t,e){void 0===e&&(e=!1),(0,h.jo)(t,"options",["string",Array]),(0,h.jo)(e,"merge",["boolean"]);var o=Array.isArray(t)?t:[t],n=this.getOptions();(0,h.hc)(o,"option",n),this.markAsDirty(),(o.length>1||1===o.length&&e)&&this.enableMultiselect();for(var r=Array(o.length),i=0,a=o.length;i<a;i++)r[i]=l.lv.fromText(o[i]);if(e){var s=this.acroField.getValues();this.acroField.setValues(s.concat(r))}else this.acroField.setValues(r)},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},e.prototype.setFontSize=function(t){(0,h.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isSorted=function(){return this.acroField.hasFlag(l.qM.Sort)},e.prototype.enableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!0)},e.prototype.disableSorting=function(){this.acroField.setFlagTo(l.qM.Sort,!1)},e.prototype.isMultiselect=function(){return this.acroField.hasFlag(l.qM.MultiSelect)},e.prototype.enableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!0)},e.prototype.disableMultiselect=function(){this.acroField.setFlagTo(l.qM.MultiSelect,!1)},e.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(l.qM.CommitOnSelChange)},e.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!0)},e.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(l.qM.CommitOnSelChange,!1)},e.prototype.addToPage=function(t,e){(0,h.jo)(t,"page",[[r.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var o,n,i,s,l,f,d,p=this.createWidget({x:null!=(o=e.x)?o:0,y:null!=(n=e.y)?n:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:100,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(f=e.rotate)?f:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),y=this.doc.context.register(p.dict);this.acroField.addWidget(y);var g=null!=(d=e.font)?d:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(p,g),t.node.addAnnot(y)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++)if(!((null==(t=e[o].getAppearances())?void 0:t.normal)instanceof l.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,h.jo)(t,"font",[[i.A,"PDFFont"]]),(0,h.wU)(e,"provider",[Function]);for(var o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var a=o[n];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:s.Wy,r=(0,s.QK)(n(this,t,e));this.updateWidgetAppearanceWithFont(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(a.A)},45606(t,e,o){var n=o(81205),r=o(72434),i=o(45410),a=o(60853),s=o(65231),u=o(58184),c=o(67531),l=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,l.jo)(e,"acroRadioButton",[[c.b$,"PDFAcroRadioButton"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.getOptions=function(){var t=this.acroField.getExportValues();if(t){for(var e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]=t[o].decodeText();return e}for(var r=this.acroField.getOnValues(),i=Array(r.length),o=0,n=i.length;o<n;o++)i[o]=r[o].decodeText();return i},e.prototype.getSelected=function(){var t=this.acroField.getValue();if(t!==c.S5.of("Off")){var e=this.acroField.getExportValues();if(e){for(var o=this.acroField.getOnValues(),n=0,r=o.length;n<r;n++)if(o[n]===t)return e[n].decodeText()}return t.decodeText()}},e.prototype.select=function(t){(0,l.jo)(t,"option",["string"]);var e=this.getOptions();(0,l.Co)(t,"option",e),this.markAsDirty();var o=this.acroField.getOnValues(),n=this.acroField.getExportValues();if(n)for(var r=0,i=n.length;r<i;r++)n[r].decodeText()===t&&this.acroField.setValue(o[r]);else for(var r=0,i=o.length;r<i;r++){var a=o[r];a.decodeText()===t&&this.acroField.setValue(a)}},e.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(c.S5.of("Off"))},e.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(c.Tz.NoToggleToOff)},e.prototype.enableOffToggling=function(){this.acroField.setFlagTo(c.Tz.NoToggleToOff,!1)},e.prototype.disableOffToggling=function(){this.acroField.setFlagTo(c.Tz.NoToggleToOff,!0)},e.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(c.Tz.RadiosInUnison)},e.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(c.Tz.RadiosInUnison,!1)},e.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(c.Tz.RadiosInUnison,!0)},e.prototype.addOptionToPage=function(t,e,o){(0,l.jo)(t,"option",["string"]),(0,l.jo)(e,"page",[[r.A,"PDFPage"]]),(0,i.B)(o);var n,a,h,f,d,p,y,g,v,m=this.createWidget({x:null!=(n=null==o?void 0:o.x)?n:0,y:null!=(a=null==o?void 0:o.y)?a:0,width:null!=(h=null==o?void 0:o.width)?h:50,height:null!=(f=null==o?void 0:o.height)?f:50,textColor:null!=(d=null==o?void 0:o.textColor)?d:(0,s.Qh)(0,0,0),backgroundColor:null!=(p=null==o?void 0:o.backgroundColor)?p:(0,s.Qh)(1,1,1),borderColor:null!=(y=null==o?void 0:o.borderColor)?y:(0,s.Qh)(0,0,0),borderWidth:null!=(g=null==o?void 0:o.borderWidth)?g:1,rotate:null!=(v=null==o?void 0:o.rotate)?v:(0,u.uj)(0),hidden:null==o?void 0:o.hidden,page:e.ref}),b=this.doc.context.register(m.dict),A=this.acroField.addWidgetWithOpt(b,c.lv.fromText(t),!this.isMutuallyExclusive());m.setAppearanceState(c.S5.of("Off")),this.updateWidgetAppearance(m,A),e.node.addAnnot(b)},e.prototype.needsAppearancesUpdate=function(){for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++){var r=e[o],i=r.getAppearanceState(),a=null==(t=r.getAppearances())?void 0:t.normal;if(!(a instanceof c.Ri)||i&&!a.has(i))return!0}return!1},e.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},e.prototype.updateAppearances=function(t){(0,l.wU)(t,"provider",[Function]);for(var e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++){var r=e[o],i=r.getOnValue();i&&this.updateWidgetAppearance(r,i,t)}},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:a.vM,r=(0,a.QK)(n(this,t));this.updateOnOffWidgetAppearance(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(i.A)},22120(t,e,o){var n=o(81205),r=o(45410),i=o(67531),a=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,a.jo)(e,"acroSignature",[[i.oz,"PDFAcroSignature"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.needsAppearancesUpdate=function(){return!1},e.of=function(t,o,n){return new e(t,o,n)},e}(r.A)},63899(t,e,o){var n=o(81205),r=o(72434),i=o(25064),a=o(45410),s=o(60853),u=o(65231),c=o(58184),l=o(39560),h=o(76396),f=o(85530),d=o(67531),p=o(44910);e.A=function(t){function e(e,o,n){var r=t.call(this,e,o,n)||this;return(0,p.jo)(e,"acroText",[[d.BM,"PDFAcroText"]]),r.acroField=e,r}return(0,n.C6)(e,t),e.prototype.getText=function(){var t=this.acroField.getValue();if(!t&&this.isRichFormatted())throw new l.k0(this.getName());return null==t?void 0:t.decodeText()},e.prototype.setText=function(t){(0,p.wU)(t,"text",["string"]);var e=this.getMaxLength();if(void 0!==e&&t&&t.length>e)throw new l.KI(t.length,e,this.getName());this.markAsDirty(),this.disableRichFormatting(),t?this.acroField.setValue(d.lv.fromText(t)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var t=this.acroField.getQuadding();return 0===t?f.D.Left:1===t?f.D.Center:2===t?f.D.Right:f.D.Left},e.prototype.setAlignment=function(t){(0,p.Co)(t,"alignment",f.D),this.markAsDirty(),this.acroField.setQuadding(t)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(t){if((0,p.Dw)(t,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===t)this.acroField.removeMaxLength();else{var e=this.getText();if(e&&e.length>t)throw new l.eW(e.length,t,this.getName());this.acroField.setMaxLength(t)}},e.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},e.prototype.setImage=function(t){for(var e=this.getAlignment(),o=e===f.D.Center?h.n.Center:e===f.D.Right?h.n.Right:h.n.Left,n=this.acroField.getWidgets(),r=0,i=n.length;r<i;r++){var a=n[r],s=this.createImageAppearanceStream(a,t,o);this.updateWidgetAppearances(a,{normal:s})}this.markAsClean()},e.prototype.setFontSize=function(t){(0,p.a_)(t,"fontSize"),this.acroField.setFontSize(t),this.markAsDirty()},e.prototype.isMultiline=function(){return this.acroField.hasFlag(d.Il.Multiline)},e.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(d.Il.Multiline,!0)},e.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(d.Il.Multiline,!1)},e.prototype.isPassword=function(){return this.acroField.hasFlag(d.Il.Password)},e.prototype.enablePassword=function(){this.acroField.setFlagTo(d.Il.Password,!0)},e.prototype.disablePassword=function(){this.acroField.setFlagTo(d.Il.Password,!1)},e.prototype.isFileSelector=function(){return this.acroField.hasFlag(d.Il.FileSelect)},e.prototype.enableFileSelection=function(){this.acroField.setFlagTo(d.Il.FileSelect,!0)},e.prototype.disableFileSelection=function(){this.acroField.setFlagTo(d.Il.FileSelect,!1)},e.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(d.Il.DoNotSpellCheck)},e.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(d.Il.DoNotSpellCheck,!1)},e.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(d.Il.DoNotSpellCheck,!0)},e.prototype.isScrollable=function(){return!this.acroField.hasFlag(d.Il.DoNotScroll)},e.prototype.enableScrolling=function(){this.acroField.setFlagTo(d.Il.DoNotScroll,!1)},e.prototype.disableScrolling=function(){this.acroField.setFlagTo(d.Il.DoNotScroll,!0)},e.prototype.isCombed=function(){return this.acroField.hasFlag(d.Il.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&void 0!==this.getMaxLength()},e.prototype.enableCombing=function(){void 0===this.getMaxLength()&&console.warn("PDFTextFields must have a max length in order to be combed"),this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(d.Il.Comb,!0)},e.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(d.Il.Comb,!1)},e.prototype.isRichFormatted=function(){return this.acroField.hasFlag(d.Il.RichText)},e.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(d.Il.RichText,!0)},e.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(d.Il.RichText,!1)},e.prototype.addToPage=function(t,e){(0,p.jo)(t,"page",[[r.A,"PDFPage"]]),(0,a.B)(e),e||(e={}),"textColor"in e||(e.textColor=(0,u.Qh)(0,0,0)),"backgroundColor"in e||(e.backgroundColor=(0,u.Qh)(1,1,1)),"borderColor"in e||(e.borderColor=(0,u.Qh)(0,0,0)),"borderWidth"in e||(e.borderWidth=1);var o,n,i,s,l,h,f,d=this.createWidget({x:null!=(o=e.x)?o:0,y:null!=(n=e.y)?n:0,width:null!=(i=e.width)?i:200,height:null!=(s=e.height)?s:50,textColor:e.textColor,backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:null!=(l=e.borderWidth)?l:0,rotate:null!=(h=e.rotate)?h:(0,c.uj)(0),hidden:e.hidden,page:t.ref}),y=this.doc.context.register(d.dict);this.acroField.addWidget(y);var g=null!=(f=e.font)?f:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,g),t.node.addAnnot(y)},e.prototype.needsAppearancesUpdate=function(){if(this.isDirty())return!0;for(var t,e=this.acroField.getWidgets(),o=0,n=e.length;o<n;o++)if(!((null==(t=e[o].getAppearances())?void 0:t.normal)instanceof d.h0))return!0;return!1},e.prototype.defaultUpdateAppearances=function(t){(0,p.jo)(t,"font",[[i.A,"PDFFont"]]),this.updateAppearances(t)},e.prototype.updateAppearances=function(t,e){(0,p.jo)(t,"font",[[i.A,"PDFFont"]]),(0,p.wU)(e,"provider",[Function]);for(var o=this.acroField.getWidgets(),n=0,r=o.length;n<r;n++){var a=o[n];this.updateWidgetAppearance(a,t,e)}this.markAsClean()},e.prototype.updateWidgetAppearance=function(t,e,o){var n=null!=o?o:s.S0,r=(0,s.QK)(n(this,t,e));this.updateWidgetAppearanceWithFont(t,e,r)},e.of=function(t,o,n){return new e(t,o,n)},e}(a.A)},60853(t,e,o){var n=o(81205),r=o(57333),i=o(65231),a=o(58184),s=o(23205),u=o(85530),c=o(45198),l=o(44910),h=function(t){return"normal"in t?t:{normal:t}},f=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,d=function(t){var e,o,n=null!=(e=t.getDefaultAppearance())?e:"",r=Number((null!=(o=(0,l.dJ)(n,f).match)?o:[])[2]);return isFinite(r)?r:void 0},p=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,y=function(t){var e,o=null!=(e=t.getDefaultAppearance())?e:"",n=(0,l.dJ)(o,p).match,r=null!=n?n:[],a=r[1],s=r[2],u=r[3],c=r[4],h=r[5];return"g"===h&&a?(0,i.CM)(Number(a)):"rg"===h&&a&&s&&u?(0,i.Qh)(Number(a),Number(s),Number(u)):"k"===h&&a&&s&&u&&c?(0,i.T7)(Number(a),Number(s),Number(u),Number(c)):void 0},g=function(t,e,o,n){void 0===n&&(n=0);var r,a=[(0,i.zN)(e).toString(),(0,c.M8)(null!=(r=null==o?void 0:o.name)?r:"dummy__noop",n).toString()].join("\n");t.setDefaultAppearance(a)},v=function(t,e){var o,s,u,c=y(e),l=y(t.acroField),h=e.getRectangle(),f=e.getAppearanceCharacteristics(),d=e.getBorderStyle(),p=null!=(o=null==d?void 0:d.getWidth())?o:0,v=(0,a.du)(null==f?void 0:f.getRotation()),m=(0,a.S3)(h,v),b=m.width,A=m.height,C=(0,r.Il)((0,n.Cl)((0,n.Cl)({},h),{rotation:v})),w=(0,i.Qh)(0,0,0),S=null!=(s=(0,i.fS)(null==f?void 0:f.getBorderColor()))?s:w,x=(0,i.fS)(null==f?void 0:f.getBackgroundColor()),F=(0,i.fS)(null==f?void 0:f.getBackgroundColor(),.8),k=null!=(u=null!=c?c:l)?u:w;c?g(e,k):g(t.acroField,k);var D={x:0+p/2,y:0+p/2,width:b-p,height:A-p,thickness:1.5,borderWidth:p,borderColor:S,markColor:k};return{normal:{on:(0,n.aN)(C,(0,r.oS)((0,n.Cl)((0,n.Cl)({},D),{color:x,filled:!0}))),off:(0,n.aN)(C,(0,r.oS)((0,n.Cl)((0,n.Cl)({},D),{color:x,filled:!1})))},down:{on:(0,n.aN)(C,(0,r.oS)((0,n.Cl)((0,n.Cl)({},D),{color:F,filled:!0}))),off:(0,n.aN)(C,(0,r.oS)((0,n.Cl)((0,n.Cl)({},D),{color:F,filled:!1})))}}},m=function(t,e){var o,s,u,c=y(e),l=y(t.acroField),h=e.getRectangle(),f=e.getAppearanceCharacteristics(),d=e.getBorderStyle(),p=null!=(o=null==d?void 0:d.getWidth())?o:0,v=(0,a.du)(null==f?void 0:f.getRotation()),m=(0,a.S3)(h,v),b=m.width,A=m.height,C=(0,r.Il)((0,n.Cl)((0,n.Cl)({},h),{rotation:v})),w=(0,i.Qh)(0,0,0),S=null!=(s=(0,i.fS)(null==f?void 0:f.getBorderColor()))?s:w,x=(0,i.fS)(null==f?void 0:f.getBackgroundColor()),F=(0,i.fS)(null==f?void 0:f.getBackgroundColor(),.8),k=null!=(u=null!=c?c:l)?u:w;c?g(e,k):g(t.acroField,k);var D={x:b/2,y:A/2,width:b-p,height:A-p,borderWidth:p,borderColor:S,dotColor:k};return{normal:{on:(0,n.aN)(C,(0,r.Ew)((0,n.Cl)((0,n.Cl)({},D),{color:x,filled:!0}))),off:(0,n.aN)(C,(0,r.Ew)((0,n.Cl)((0,n.Cl)({},D),{color:x,filled:!1})))},down:{on:(0,n.aN)(C,(0,r.Ew)((0,n.Cl)((0,n.Cl)({},D),{color:F,filled:!0}))),off:(0,n.aN)(C,(0,r.Ew)((0,n.Cl)((0,n.Cl)({},D),{color:F,filled:!1})))}}},b=function(t,e,o){var c,l,h,f,p,v=y(e),m=y(t.acroField),b=d(e),A=d(t.acroField),C=e.getRectangle(),w=e.getAppearanceCharacteristics(),S=e.getBorderStyle(),x=null==w?void 0:w.getCaptions(),F=null!=(c=null==x?void 0:x.normal)?c:"",k=null!=(h=null!=(l=null==x?void 0:x.down)?l:F)?h:"",D=null!=(f=null==S?void 0:S.getWidth())?f:0,B=(0,a.du)(null==w?void 0:w.getRotation()),j=(0,a.S3)(C,B),T=j.width,P=j.height,O=(0,r.Il)((0,n.Cl)((0,n.Cl)({},C),{rotation:B})),N=(0,i.Qh)(0,0,0),W=(0,i.fS)(null==w?void 0:w.getBorderColor()),I=(0,i.fS)(null==w?void 0:w.getBackgroundColor()),R=(0,i.fS)(null==w?void 0:w.getBackgroundColor(),.8),M={x:D,y:D,width:T-2*D,height:P-2*D},z=(0,s.sK)(F,{alignment:u.D.Center,fontSize:null!=b?b:A,font:o,bounds:M}),E=(0,s.sK)(k,{alignment:u.D.Center,fontSize:null!=b?b:A,font:o,bounds:M}),U=Math.min(z.fontSize,E.fontSize),L=null!=(p=null!=v?v:m)?p:N;v||void 0!==b?g(e,L,o,U):g(t.acroField,L,o,U);var V={x:0+D/2,y:0+D/2,width:T-D,height:P-D,borderWidth:D,borderColor:W,textColor:L,font:o.name,fontSize:U};return{normal:(0,n.aN)(O,(0,r.XW)((0,n.Cl)((0,n.Cl)({},V),{color:I,textLines:[z.line]}))),down:(0,n.aN)(O,(0,r.XW)((0,n.Cl)((0,n.Cl)({},V),{color:R,textLines:[E.line]})))}},A=function(t,e,o){var u,c,l,h,f,p,v=y(e),m=y(t.acroField),b=d(e),A=d(t.acroField),C=e.getRectangle(),w=e.getAppearanceCharacteristics(),S=e.getBorderStyle(),x=null!=(u=t.getText())?u:"",F=null!=(c=null==S?void 0:S.getWidth())?c:0,k=(0,a.du)(null==w?void 0:w.getRotation()),D=(0,a.S3)(C,k),B=D.width,j=D.height,T=(0,r.Il)((0,n.Cl)((0,n.Cl)({},C),{rotation:k})),P=(0,i.Qh)(0,0,0),O=(0,i.fS)(null==w?void 0:w.getBorderColor()),N=(0,i.fS)(null==w?void 0:w.getBackgroundColor()),W=+!t.isCombed(),I={x:F+W,y:F+W,width:B-(F+W)*2,height:j-(F+W)*2};if(t.isMultiline()){var R=(0,s.Tf)(x,{alignment:t.getAlignment(),fontSize:null!=b?b:A,font:o,bounds:I});f=R.lines,p=R.fontSize}else if(t.isCombed()){var R=(0,s.k7)(x,{fontSize:null!=b?b:A,font:o,bounds:I,cellCount:null!=(l=t.getMaxLength())?l:0});f=R.cells,p=R.fontSize}else{var R=(0,s.sK)(x,{alignment:t.getAlignment(),fontSize:null!=b?b:A,font:o,bounds:I});f=[R.line],p=R.fontSize}var M=null!=(h=null!=v?v:m)?h:P;v||void 0!==b?g(e,M,o,p):g(t.acroField,M,o,p);var z={x:0+F/2,y:0+F/2,width:B-F,height:j-F,borderWidth:null!=F?F:0,borderColor:O,textColor:M,font:o.name,fontSize:p,color:N,textLines:f,padding:W};return(0,n.aN)(T,(0,r.iW)(z))},C=function(t,e,o){var c,l,h,f=y(e),p=y(t.acroField),v=d(e),m=d(t.acroField),b=e.getRectangle(),A=e.getAppearanceCharacteristics(),C=e.getBorderStyle(),w=null!=(c=t.getSelected()[0])?c:"",S=null!=(l=null==C?void 0:C.getWidth())?l:0,x=(0,a.du)(null==A?void 0:A.getRotation()),F=(0,a.S3)(b,x),k=F.width,D=F.height,B=(0,r.Il)((0,n.Cl)((0,n.Cl)({},b),{rotation:x})),j=(0,i.Qh)(0,0,0),T=(0,i.fS)(null==A?void 0:A.getBorderColor()),P=(0,i.fS)(null==A?void 0:A.getBackgroundColor()),O=(0,s.sK)(w,{alignment:u.D.Left,fontSize:null!=v?v:m,font:o,bounds:{x:S+1,y:S+1,width:k-(S+1)*2,height:D-(S+1)*2}}),N=O.line,W=O.fontSize,I=null!=(h=null!=f?f:p)?h:j;f||void 0!==v?g(e,I,o,W):g(t.acroField,I,o,W);var R={x:0+S/2,y:0+S/2,width:k-S,height:D-S,borderWidth:null!=S?S:0,borderColor:T,textColor:I,font:o.name,fontSize:W,color:P,textLines:[N],padding:1};return(0,n.aN)(B,(0,r.iW)(R))},w=function(t,e,o){var c,l,h=y(e),f=y(t.acroField),p=d(e),v=d(t.acroField),m=e.getRectangle(),b=e.getAppearanceCharacteristics(),A=e.getBorderStyle(),C=null!=(c=null==A?void 0:A.getWidth())?c:0,w=(0,a.du)(null==b?void 0:b.getRotation()),S=(0,a.S3)(m,w),x=S.width,F=S.height,k=(0,r.Il)((0,n.Cl)((0,n.Cl)({},m),{rotation:w})),D=(0,i.Qh)(0,0,0),B=(0,i.fS)(null==b?void 0:b.getBorderColor()),j=(0,i.fS)(null==b?void 0:b.getBackgroundColor()),T=t.getOptions(),P=t.getSelected();t.isSorted()&&T.sort();for(var O="",N=0,W=T.length;N<W;N++)O+=T[N],N<W-1&&(O+="\n");for(var I=(0,s.Tf)(O,{alignment:u.D.Left,fontSize:null!=p?p:v,font:o,bounds:{x:C+1,y:C+1,width:x-(C+1)*2,height:F-(C+1)*2}}),R=I.lines,M=I.fontSize,z=I.lineHeight,E=[],N=0,W=R.length;N<W;N++){var U=R[N];P.includes(U.text)&&E.push(N)}var L=(0,i.Qh)(.6,193/255,218/255),V=null!=(l=null!=h?h:f)?l:D;return h||void 0!==p?g(e,V,o,M):g(t.acroField,V,o,M),(0,n.aN)(k,(0,r.Aw)({x:0+C/2,y:0+C/2,width:x-C,height:F-C,borderWidth:null!=C?C:0,borderColor:B,textColor:V,font:o.name,fontSize:M,color:j,textLines:R,lineHeight:z,selectedColor:L,selectedLines:E,padding:1}))};o.d(e,{QK:()=>h,S0:()=>A,Wy:()=>w,kb:()=>v,p6:()=>b,q2:()=>C,vM:()=>m})},76396(t,e,o){var n,r;(r=n||(n={}))[r.Left=0]="Left",r[r.Center=1]="Center",r[r.Right=2]="Right",o.d(e,{n:()=>n})},63033(t,e,o){var n=o(76396);o.d(e,{n:()=>n.n})},80285(t,e,o){o.d(e,{UL:()=>n.A}),o(60853),o(66516),o(57014),o(11641),o(45410),o(55774),o(86337),o(45606),o(22120),o(63899),o(85530),o(23205),o(65231),o(39560),o(63033),o(6031),o(57333),o(45198),o(58184),o(97490),o(97728),o(37934);var n=o(42810);o(25064),o(13684),o(72434),o(78448),o(97202)},6031(t,e,o){var n=o(67531),r=function(t){return t instanceof n.S5?t:n.S5.of(t)},i=function(t){return t instanceof n.iu?t:n.iu.of(t)},a=function(t){return t instanceof n.iu?t.asNumber():t};o.d(e,{i:()=>a,q0:()=>i,yd:()=>r})},57333(t,e,o){o.d(e,{XW:()=>I,oS:()=>N,n:()=>j,aC:()=>w,V6:()=>x,EF:()=>C,Aw:()=>z,wl:()=>S,Ew:()=>W,CQ:()=>F,wd:()=>T,iW:()=>M,Il:()=>O});var n=o(81205),r=o(65231),i=o(45198),a=o(58184),s=0,u=0,c=0,l=0,h=0,f=0,d=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),p=function(t){for(var e,o=[],n=[],r="",i=!1,a=0,s=0;s<t.length;s++){var u=t[s];if(d.has(u))a=d.get(u),e&&(r.length>0&&(n[n.length]=+r),o[o.length]={cmd:e,args:n},n=[],r="",i=!1),e=u;else if([" ",","].includes(u)||"-"===u&&r.length>0&&"e"!==r[r.length-1]||"."===u&&i){if(0===r.length)continue;n.length===a?(o[o.length]={cmd:e,args:n},n=[+r],"M"===e&&(e="L"),"m"===e&&(e="l")):n[n.length]=+r,i="."===u,r=["-","."].includes(u)?u:""}else r+=u,"."===u&&(i=!0)}return r.length>0&&(n.length===a?(o[o.length]={cmd:e,args:n},n=[+r],"M"===e&&(e="L"),"m"===e&&(e="l")):n[n.length]=+r),o[o.length]={cmd:e,args:n},o},y=function(t){s=u=c=l=h=f=0;for(var e=[],o=0;o<t.length;o++){var n=t[o];if(n.cmd&&"function"==typeof g[n.cmd]){var r=g[n.cmd](n.args);Array.isArray(r)?e=e.concat(r):e.push(r)}}return e},g={M:function(t){return s=t[0],u=t[1],c=l=null,h=s,f=u,(0,i.tw)(s,u)},m:function(t){return s+=t[0],u+=t[1],c=l=null,h=s,f=u,(0,i.tw)(s,u)},C:function(t){return s=t[4],u=t[5],c=t[2],l=t[3],(0,i.v$)(t[0],t[1],t[2],t[3],t[4],t[5])},c:function(t){var e=(0,i.v$)(t[0]+s,t[1]+u,t[2]+s,t[3]+u,t[4]+s,t[5]+u);return c=s+t[2],l=u+t[3],s+=t[4],u+=t[5],e},S:function(t){(null===c||null===l)&&(c=s,l=u);var e=(0,i.v$)(s-(c-s),u-(l-u),t[0],t[1],t[2],t[3]);return c=t[0],l=t[1],s=t[2],u=t[3],e},s:function(t){(null===c||null===l)&&(c=s,l=u);var e=(0,i.v$)(s-(c-s),u-(l-u),s+t[0],u+t[1],s+t[2],u+t[3]);return c=s+t[0],l=u+t[1],s+=t[2],u+=t[3],e},Q:function(t){return c=t[0],l=t[1],s=t[2],u=t[3],(0,i.a_)(t[0],t[1],s,u)},q:function(t){var e=(0,i.a_)(t[0]+s,t[1]+u,t[2]+s,t[3]+u);return c=s+t[0],l=u+t[1],s+=t[2],u+=t[3],e},T:function(t){null===c||null===l?(c=s,l=u):(c=s-(c-s),l=u-(l-u));var e=(0,i.a_)(c,l,t[0],t[1]);return c=s-(c-s),l=u-(l-u),s=t[0],u=t[1],e},t:function(t){null===c||null===l?(c=s,l=u):(c=s-(c-s),l=u-(l-u));var e=(0,i.a_)(c,l,s+t[0],u+t[1]);return s+=t[0],u+=t[1],e},A:function(t){var e=v(s,u,t);return s=t[5],u=t[6],e},a:function(t){t[5]+=s,t[6]+=u;var e=v(s,u,t);return s=t[5],u=t[6],e},L:function(t){return s=t[0],u=t[1],c=l=null,(0,i.a5)(s,u)},l:function(t){return s+=t[0],u+=t[1],c=l=null,(0,i.a5)(s,u)},H:function(t){return s=t[0],c=l=null,(0,i.a5)(s,u)},h:function(t){return s+=t[0],c=l=null,(0,i.a5)(s,u)},V:function(t){return u=t[0],c=l=null,(0,i.a5)(s,u)},v:function(t){return u+=t[0],c=l=null,(0,i.a5)(s,u)},Z:function(){var t=(0,i.OE)();return s=h,u=f,t},z:function(){var t=(0,i.OE)();return s=h,u=f,t}},v=function(t,e,o){for(var n=o[0],r=o[1],a=o[2],s=o[3],u=o[4],c=m(o[5],o[6],n,r,s,u,a,t,e),l=[],h=0;h<c.length;h++){var f=b.apply(void 0,c[h]);l.push(i.v$.apply(void 0,f))}return l},m=function(t,e,o,n,r,i,a,s,u){var h=Math.PI/180*a,f=Math.sin(h),d=Math.cos(h);o=Math.abs(o),n=Math.abs(n);var p=(c=d*(s-t)*.5+f*(u-e)*.5)*c/(o*o)+(l=d*(u-e)*.5-f*(s-t)*.5)*l/(n*n);p>1&&(o*=p=Math.sqrt(p),n*=p);var y=d/o,g=f/o,v=-f/n,m=d/n,b=y*s+g*u,A=v*s+m*u,C=y*t+g*e,w=v*t+m*e,S=1/((C-b)*(C-b)+(w-A)*(w-A))-.25;S<0&&(S=0);var x=Math.sqrt(S);i===r&&(x=-x);var F=.5*(b+C)-x*(w-A),k=.5*(A+w)+x*(C-b),D=Math.atan2(A-k,b-F),B=Math.atan2(w-k,C-F)-D;B<0&&1===i?B+=2*Math.PI:B>0&&0===i&&(B-=2*Math.PI);for(var j=Math.ceil(Math.abs(B/(.5*Math.PI+.001))),T=[],P=0;P<j;P++){var O=D+P*B/j,N=D+(P+1)*B/j;T[P]=[F,k,O,N,o,n,f,d]}return T},b=function(t,e,o,n,r,i,a,s){var u=s*r,c=-a*i,l=a*r,h=s*i,f=.5*(n-o),d=8/3*Math.sin(.5*f)*Math.sin(.5*f)/Math.sin(f),p=t+Math.cos(o)-d*Math.sin(o),y=e+Math.sin(o)+d*Math.cos(o),g=t+Math.cos(n),v=e+Math.sin(n),m=g+d*Math.sin(n),b=v-d*Math.cos(n);return[u*p+c*y,l*p+h*y,u*m+c*b,l*m+h*b,u*g+c*v,l*g+h*v]},A=o(6031),C=function(t,e){for(var o=[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.VS)(),(0,r.zN)(e.color),(0,i.M8)(e.font,e.size),(0,i.Kz)(e.lineHeight),(0,i.BK)((0,a.eh)(e.rotate),(0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew),e.x,e.y)].filter(Boolean),n=0,s=t.length;n<s;n++)o.push((0,i.h$)(t[n]),(0,i.sE)());return o.push((0,i.Z4)(),(0,i.eH)()),o},w=function(t,e){return[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(e.rotate)),(0,i.hs)(e.width,e.height),(0,i.db)((0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew)),(0,i.aS)(t),(0,i.eH)()].filter(Boolean)},S=function(t,e){return[(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(e.rotate)),(0,i.hs)(e.xScale,e.yScale),(0,i.db)((0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew)),(0,i.aS)(t),(0,i.eH)()].filter(Boolean)},x=function(t){var e,o;return[(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,r.ZP)(t.color),(0,i.Hm)(t.thickness),(0,i.Vv)(null!=(e=t.dashArray)?e:[],null!=(o=t.dashPhase)?o:0),(0,i.tw)(t.start.x,t.start.y),t.lineCap&&(0,i.Jl)(t.lineCap),(0,i.tw)(t.start.x,t.start.y),(0,i.a5)(t.end.x,t.end.y),(0,i.TB)(),(0,i.eH)()].filter(Boolean)},F=function(t){var e,o;return[(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,r.zN)(t.color),t.borderColor&&(0,r.ZP)(t.borderColor),(0,i.Hm)(t.borderWidth),t.borderLineCap&&(0,i.Jl)(t.borderLineCap),(0,i.Vv)(null!=(e=t.borderDashArray)?e:[],null!=(o=t.borderDashPhase)?o:0),(0,i.kJ)(t.x,t.y),(0,i.y4)((0,a.eh)(t.rotate)),(0,i.db)((0,a.eh)(t.xSkew),(0,a.eh)(t.ySkew)),(0,i.tw)(0,0),(0,i.a5)(0,t.height),(0,i.a5)(t.width,t.height),(0,i.a5)(t.width,0),(0,i.OE)(),t.color&&t.borderWidth?(0,i.HF)():t.color?(0,i.GS)():t.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()].filter(Boolean)},k=(Math.sqrt(2)-1)/3*4,D=function(t){var e=(0,A.i)(t.x),o=(0,A.i)(t.y),n=(0,A.i)(t.xScale),r=(0,A.i)(t.yScale);e-=n,o-=r;var a=n*k,s=r*k,u=e+2*n,c=o+2*r,l=e+n,h=o+r;return[(0,i.Tl)(),(0,i.tw)(e,h),(0,i.v$)(e,h-s,l-a,o,l,o),(0,i.v$)(l+a,o,u,h-s,u,h),(0,i.v$)(u,h+s,l+a,c,l,c),(0,i.v$)(l-a,c,e,h+s,e,h),(0,i.eH)()]},B=function(t){var e=(0,A.i)(t.x),o=(0,A.i)(t.y),n=(0,A.i)(t.xScale),r=(0,A.i)(t.yScale),s=-n,u=-r,c=n*k,l=r*k,h=s+2*n,f=u+2*r,d=s+n,p=u+r;return[(0,i.kJ)(e,o),(0,i.y4)((0,a.eh)(t.rotate)),(0,i.tw)(s,p),(0,i.v$)(s,p-l,d-c,u,d,u),(0,i.v$)(d+c,u,h,p-l,h,p),(0,i.v$)(h,p+l,d+c,f,d,f),(0,i.v$)(d-c,f,s,p+l,s,p)]},j=function(t){var e,o,s;return(0,n.aN)([(0,i.Tl)(),t.graphicsState&&(0,i.XG)(t.graphicsState),t.color&&(0,r.zN)(t.color),t.borderColor&&(0,r.ZP)(t.borderColor),(0,i.Hm)(t.borderWidth),t.borderLineCap&&(0,i.Jl)(t.borderLineCap),(0,i.Vv)(null!=(e=t.borderDashArray)?e:[],null!=(o=t.borderDashPhase)?o:0)],void 0===t.rotate?D({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale}):B({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:null!=(s=t.rotate)?s:(0,a.uj)(0)}),[t.color&&t.borderWidth?(0,i.HF)():t.color?(0,i.GS)():t.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()]).filter(Boolean)},T=function(t,e){var o,s,u;return(0,n.aN)([(0,i.Tl)(),e.graphicsState&&(0,i.XG)(e.graphicsState),(0,i.kJ)(e.x,e.y),(0,i.y4)((0,a.eh)(null!=(o=e.rotate)?o:(0,a.uj)(0))),e.scale?(0,i.hs)(e.scale,-e.scale):(0,i.hs)(1,-1),e.color&&(0,r.zN)(e.color),e.borderColor&&(0,r.ZP)(e.borderColor),e.borderWidth&&(0,i.Hm)(e.borderWidth),e.borderLineCap&&(0,i.Jl)(e.borderLineCap),(0,i.Vv)(null!=(s=e.borderDashArray)?s:[],null!=(u=e.borderDashPhase)?u:0)],y(p(t)),[e.color&&e.borderWidth?(0,i.HF)():e.color?(0,i.GS)():e.borderColor?(0,i.TB)():(0,i.OE)(),(0,i.eH)()]).filter(Boolean)},P=function(t){var e=(0,A.i)(t.size);return[(0,i.Tl)(),t.color&&(0,r.ZP)(t.color),(0,i.Hm)(t.thickness),(0,i.kJ)(t.x,t.y),(0,i.tw)(-.675*e,(-((-.675- -.25)*.94)/.965+-.49)*e),(0,i.a5)(-.25*e,-.49*e),(0,i.a5)(.69*e,.475*e),(0,i.TB)(),(0,i.eH)()].filter(Boolean)},O=function(t){return 0===t.rotation?[(0,i.kJ)(0,0),(0,i.t5)(0)]:90===t.rotation?[(0,i.kJ)(t.width,0),(0,i.t5)(90)]:180===t.rotation?[(0,i.kJ)(t.width,t.height),(0,i.t5)(180)]:270===t.rotation?[(0,i.kJ)(0,t.height),(0,i.t5)(270)]:[]},N=function(t){var e=F({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)});if(!t.filled)return e;var o=(0,A.i)(t.width),r=(0,A.i)(t.height),s=Math.min(o,r)/2,u=P({x:o/2,y:r/2,size:s,thickness:t.thickness,color:t.markColor});return(0,n.aN)([(0,i.Tl)()],e,u,[(0,i.eH)()])},W=function(t){var e=Math.min((0,A.i)(t.width),(0,A.i)(t.height))/2,o=j({x:t.x,y:t.y,xScale:e,yScale:e,color:t.color,borderColor:t.borderColor,borderWidth:t.borderWidth});if(!t.filled)return o;var r=j({x:t.x,y:t.y,xScale:.45*e,yScale:.45*e,color:t.dotColor,borderColor:void 0,borderWidth:0});return(0,n.aN)([(0,i.Tl)()],o,r,[(0,i.eH)()])},I=function(t){var e=F({x:(0,A.i)(t.x),y:(0,A.i)(t.y),width:(0,A.i)(t.width),height:(0,A.i)(t.height),borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),o=R(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)});return(0,n.aN)([(0,i.Tl)()],e,o,[(0,i.eH)()])},R=function(t,e){for(var o=[(0,i.VS)(),(0,r.zN)(e.color),(0,i.M8)(e.font,e.size)],n=0,s=t.length;n<s;n++){var u=t[n],c=u.encoded,l=u.x,h=u.y;o.push((0,i.BK)((0,a.eh)(e.rotate),(0,a.eh)(e.xSkew),(0,a.eh)(e.ySkew),l,h),(0,i.h$)(c))}return o.push((0,i.Z4)()),o},M=function(t){var e=(0,A.i)(t.x),o=(0,A.i)(t.y),r=(0,A.i)(t.width),s=(0,A.i)(t.height),u=(0,A.i)(t.borderWidth),c=(0,A.i)(t.padding),l=e+u/2+c,h=o+u/2+c,f=r-(u/2+c)*2,d=s-(u/2+c)*2,p=[(0,i.tw)(l,h),(0,i.a5)(l,h+d),(0,i.a5)(l+f,h+d),(0,i.a5)(l+f,h),(0,i.OE)(),(0,i.$Q)(),(0,i.R)()],y=F({x:e,y:o,width:r,height:s,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),g=R(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),v=(0,n.aN)([(0,i.rk)("Tx"),(0,i.Tl)()],g,[(0,i.eH)(),(0,i.Tw)()]);return(0,n.aN)([(0,i.Tl)()],y,p,v,[(0,i.eH)()])},z=function(t){for(var e=(0,A.i)(t.x),o=(0,A.i)(t.y),r=(0,A.i)(t.width),s=(0,A.i)(t.height),u=(0,A.i)(t.lineHeight),c=(0,A.i)(t.borderWidth),l=(0,A.i)(t.padding),h=e+c/2+l,f=o+c/2+l,d=r-(c/2+l)*2,p=s-(c/2+l)*2,y=[(0,i.tw)(h,f),(0,i.a5)(h,f+p),(0,i.a5)(h+d,f+p),(0,i.a5)(h+d,f),(0,i.OE)(),(0,i.$Q)(),(0,i.R)()],g=F({x:e,y:o,width:r,height:s,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),v=[],m=0,b=t.selectedLines.length;m<b;m++){var C=t.textLines[t.selectedLines[m]];v.push.apply(v,F({x:C.x-l,y:C.y-(u-C.height)/2,width:r-c,height:C.height+(u-C.height)/2,borderWidth:0,color:t.selectedColor,borderColor:void 0,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}))}var w=R(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:(0,a.uj)(0),xSkew:(0,a.uj)(0),ySkew:(0,a.uj)(0)}),S=(0,n.aN)([(0,i.rk)("Tx"),(0,i.Tl)()],w,[(0,i.eH)(),(0,i.Tw)()]);return(0,n.aN)([(0,i.Tl)()],g,v,y,S,[(0,i.eH)()])}},45198(t,e,o){var n,r,i,a,s,u,c=o(6031),l=o(58184),h=o(67531),f=function(){return h.VK.of(h.Zt.ClipNonZero)},d=Math.cos,p=Math.sin,y=Math.tan,g=function(t,e,o,n,r,i){return h.VK.of(h.Zt.ConcatTransformationMatrix,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o),(0,c.q0)(n),(0,c.q0)(r),(0,c.q0)(i)])},v=function(t,e){return g(1,0,0,1,t,e)},m=function(t,e){return g(t,0,0,e,0,0)},b=function(t){return g(d((0,c.i)(t)),p((0,c.i)(t)),-p((0,c.i)(t)),d((0,c.i)(t)),0,0)},A=function(t){return b((0,l.tR)((0,c.i)(t)))},C=function(t,e){return g(1,y((0,c.i)(t)),y((0,c.i)(e)),1,0,0)},w=function(t,e){return h.VK.of(h.Zt.SetLineDashPattern,["["+t.map(c.q0).join(" ")+"]",(0,c.q0)(e)])};(n=a||(a={}))[n.Butt=0]="Butt",n[n.Round=1]="Round",n[n.Projecting=2]="Projecting";var S=function(t){return h.VK.of(h.Zt.SetLineCapStyle,[(0,c.q0)(t)])};(r=s||(s={}))[r.Miter=0]="Miter",r[r.Round=1]="Round",r[r.Bevel=2]="Bevel";var x=function(t){return h.VK.of(h.Zt.SetGraphicsStateParams,[(0,c.yd)(t)])},F=function(){return h.VK.of(h.Zt.PushGraphicsState)},k=function(){return h.VK.of(h.Zt.PopGraphicsState)},D=function(t){return h.VK.of(h.Zt.SetLineWidth,[(0,c.q0)(t)])},B=function(t,e,o,n,r,i){return h.VK.of(h.Zt.AppendBezierCurve,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o),(0,c.q0)(n),(0,c.q0)(r),(0,c.q0)(i)])},j=function(t,e,o,n){return h.VK.of(h.Zt.CurveToReplicateInitialPoint,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o),(0,c.q0)(n)])},T=function(){return h.VK.of(h.Zt.ClosePath)},P=function(t,e){return h.VK.of(h.Zt.MoveTo,[(0,c.q0)(t),(0,c.q0)(e)])},O=function(t,e){return h.VK.of(h.Zt.LineTo,[(0,c.q0)(t),(0,c.q0)(e)])},N=function(){return h.VK.of(h.Zt.StrokePath)},W=function(){return h.VK.of(h.Zt.FillNonZero)},I=function(){return h.VK.of(h.Zt.FillNonZeroAndStroke)},R=function(){return h.VK.of(h.Zt.EndPath)},M=function(){return h.VK.of(h.Zt.NextLine)},z=function(t){return h.VK.of(h.Zt.ShowText,[t])},E=function(){return h.VK.of(h.Zt.BeginText)},U=function(){return h.VK.of(h.Zt.EndText)},L=function(t,e){return h.VK.of(h.Zt.SetFontAndSize,[(0,c.yd)(t),(0,c.q0)(e)])},V=function(t){return h.VK.of(h.Zt.SetTextLineHeight,[(0,c.q0)(t)])};(i=u||(u={}))[i.Fill=0]="Fill",i[i.Outline=1]="Outline",i[i.FillAndOutline=2]="FillAndOutline",i[i.Invisible=3]="Invisible",i[i.FillAndClip=4]="FillAndClip",i[i.OutlineAndClip=5]="OutlineAndClip",i[i.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",i[i.Clip=7]="Clip";var H=function(t,e,o,n,r){var i,a,s,u;return i=d((0,c.i)(t)),a=p((0,c.i)(t))+y((0,c.i)(e)),s=-p((0,c.i)(t))+y((0,c.i)(o)),u=d((0,c.i)(t)),h.VK.of(h.Zt.SetTextMatrix,[(0,c.q0)(i),(0,c.q0)(a),(0,c.q0)(s),(0,c.q0)(u),(0,c.q0)(n),(0,c.q0)(r)])},K=function(t){return h.VK.of(h.Zt.DrawObject,[(0,c.yd)(t)])},q=function(t){return h.VK.of(h.Zt.NonStrokingColorGray,[(0,c.q0)(t)])},G=function(t){return h.VK.of(h.Zt.StrokingColorGray,[(0,c.q0)(t)])},Z=function(t,e,o){return h.VK.of(h.Zt.NonStrokingColorRgb,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o)])},Q=function(t,e,o){return h.VK.of(h.Zt.StrokingColorRgb,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o)])},X=function(t,e,o,n){return h.VK.of(h.Zt.NonStrokingColorCmyk,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o),(0,c.q0)(n)])},J=function(t,e,o,n){return h.VK.of(h.Zt.StrokingColorCmyk,[(0,c.q0)(t),(0,c.q0)(e),(0,c.q0)(o),(0,c.q0)(n)])},Y=function(t){return h.VK.of(h.Zt.BeginMarkedContent,[(0,c.yd)(t)])},_=function(){return h.VK.of(h.Zt.EndMarkedContent)};o.d(e,{$Q:()=>f,BK:()=>H,Cq:()=>q,FP:()=>J,GS:()=>W,HF:()=>I,Hm:()=>D,Ie:()=>Q,J2:()=>X,Jl:()=>S,Kz:()=>V,M8:()=>L,OE:()=>T,R:()=>R,TB:()=>N,Tl:()=>F,Tw:()=>_,U4:()=>G,VS:()=>E,Vv:()=>w,XG:()=>x,Z4:()=>U,_u:()=>Z,a5:()=>O,aS:()=>K,a_:()=>j,db:()=>C,eH:()=>k,h$:()=>z,hs:()=>m,kJ:()=>v,rk:()=>Y,sE:()=>M,t5:()=>A,tw:()=>P,uT:()=>a,v$:()=>B,y4:()=>b})},58184(t,e,o){var n,r,i=o(44910);(n=r||(r={})).Degrees="degrees",n.Radians="radians";var a=function(t){return(0,i.jo)(t,"degreeAngle",["number"]),{type:r.Degrees,angle:t}},s=r.Radians,u=r.Degrees,c=function(t){return t*Math.PI/180},l=function(t){return t.type===s?t.angle:t.type===u?c(t.angle):(0,i.z3)("Invalid rotation: "+JSON.stringify(t))},h=function(t){return t.type===s?180*t.angle/Math.PI:t.type===u?t.angle:(0,i.z3)("Invalid rotation: "+JSON.stringify(t))},f=function(t){void 0===t&&(t=0);var e=t/90%4;return 0===e?0:1===e?90:2===e?180:270*(3===e)},d=function(t,e){void 0===e&&(e=0);var o=f(e);return 90===o||270===o?{width:t.height,height:t.width}:{width:t.width,height:t.height}},p=function(t,e,o){void 0===e&&(e=0),void 0===o&&(o=0);var n=t.x,r=t.y,i=t.width,a=t.height,s=f(o),u=e/2;return 0===s?{x:n-u,y:r-u,width:i,height:a}:90===s?{x:n-a+u,y:r-u,width:a,height:i}:180===s?{x:n-i+u,y:r-a+u,width:i,height:a}:270===s?{x:n-u,y:r-i+u,width:a,height:i}:{x:n-u,y:r-u,width:i,height:a}};o.d(e,{P8:()=>p,S3:()=>d,du:()=>f,eh:()=>l,tR:()=>c,uj:()=>a,xW:()=>h})},85530(t,e,o){var n,r;(r=n||(n={}))[r.Left=0]="Left",r[r.Center=1]="Center",r[r.Right=2]="Right",o.d(e,{D:()=>n})},23205(t,e,o){var n=o(39560),r=o(85530),i=o(44910),a=function(t,e,o,n){void 0===n&&(n=!1);for(var r=4;r<500;){for(var i=0,a=0,s=t.length;a<s;a++){i+=1;for(var u=t[a].split(" "),c=o.width,l=0,h=u.length;l<h;l++){var f=l===h-1?u[l]:u[l]+" ",d=e.widthOfTextAtSize(f,r);(c-=d)<=0&&(i+=1,c=o.width-d)}}if(!n&&i>t.length)return r-1;var p=e.heightAtSize(r);if((p+.2*p)*i>Math.abs(o.height))return r-1;r+=1}return r},s=function(t,e,o,n){for(var r=o.width/n,a=o.height,s=4,u=(0,i.BP)(t);s<500;){for(var c=0,l=u.length;c<l;c++){var h=u[c];if(e.widthOfTextAtSize(h,s)>.75*r)return s-1}if(e.heightAtSize(s,{descender:!1})>a)return s-1;s+=1}return s},u=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},c=function(t,e,o,n){for(var r,i=t.length;i>0;){var a=t.substring(0,i),s=o.encodeText(a),c=o.widthOfTextAtSize(a,n);if(c<e)return{line:a,encoded:s,width:c,remainder:t.substring(i)||void 0};i=null!=(r=u(a))?r:0}return{line:t,encoded:o.encodeText(t),width:o.widthOfTextAtSize(t,n),remainder:void 0}},l=function(t,e){var o=e.alignment,n=e.fontSize,s=e.font,u=e.bounds,l=(0,i.JQ)((0,i.X5)(t));(void 0===n||0===n)&&(n=a(l,s,u,!0));for(var h=s.heightAtSize(n),f=h+.2*h,d=[],p=u.x,y=u.y,g=u.x+u.width,v=u.y+u.height,m=u.y+u.height,b=0,A=l.length;b<A;b++)for(var C=l[b];void 0!==C;){var w=c(C,u.width,s,n),S=w.line,x=w.encoded,F=w.width,k=w.remainder,D=o===r.D.Left?u.x:o===r.D.Center?u.x+u.width/2-F/2:o===r.D.Right?u.x+u.width-F:u.x;m-=f,D<p&&(p=D),m<y&&(y=m),D+F>g&&(g=D+F),m+h>v&&(v=m+h),d.push({text:S,encoded:x,width:F,height:h,x:D,y:m}),C=null==k?void 0:k.trim()}return{fontSize:n,lineHeight:f,lines:d,bounds:{x:p,y:y,width:g-p,height:v-y}}},h=function(t,e){var o=e.fontSize,r=e.font,a=e.bounds,u=e.cellCount,c=(0,i.Ac)((0,i.X5)(t));if(c.length>u)throw new n.A(c.length,u);(void 0===o||0===o)&&(o=s(c,r,a,u));for(var l=a.width/u,h=r.heightAtSize(o,{descender:!1}),f=a.y+(a.height/2-h/2),d=[],p=a.x,y=a.y,g=a.x+a.width,v=a.y+a.height,m=0,b=0;m<u;){var A=(0,i.sR)(c,b),C=A[0],w=A[1],S=r.encodeText(C),x=r.widthOfTextAtSize(C,o),F=a.x+(l*m+l/2)-x/2;F<p&&(p=F),f<y&&(y=f),F+x>g&&(g=F+x),f+h>v&&(v=f+h),d.push({text:c,encoded:S,width:x,height:h,x:F,y:f}),m+=1,b+=w}return{fontSize:o,cells:d,bounds:{x:p,y:y,width:g-p,height:v-y}}},f=function(t,e){var o=e.alignment,n=e.fontSize,s=e.font,u=e.bounds,c=(0,i.Ac)((0,i.X5)(t));(void 0===n||0===n)&&(n=a([c],s,u));var l=s.encodeText(c),h=s.widthOfTextAtSize(c,n),f=s.heightAtSize(n,{descender:!1}),d=o===r.D.Left?u.x:o===r.D.Center?u.x+u.width/2-h/2:o===r.D.Right?u.x+u.width-h:u.x,p=u.y+(u.height/2-f/2);return{fontSize:n,line:{text:c,encoded:l,width:h,height:f,x:d,y:p},bounds:{x:d,y:p,width:h,height:f}}};o.d(e,{Tf:()=>l,k7:()=>h,sK:()=>f})},94460(t,e,o){var n,r,i=o(81205),a=o(9326),s=o(15291);(n=r||(r={})).Source="Source",n.Data="Data",n.Alternative="Alternative",n.Supplement="Supplement",n.EncryptedPayload="EncryptedPayload",n.FormData="EncryptedPayload",n.Schema="Schema",n.Unspecified="Unspecified",e.A=function(){function t(t,e,o){void 0===o&&(o={}),this.fileData=t,this.fileName=e,this.options=o}return t.for=function(e,o,n){return void 0===n&&(n={}),new t(e,o,n)},t.prototype.embedIntoContext=function(t,e){return(0,i.sH)(this,void 0,void 0,function(){var o,n,r,u,c,l,h,f,d;return(0,i.YH)(this,function(i){return(n=(o=this.options).mimeType,r=o.description,u=o.creationDate,c=o.modificationDate,l=o.afRelationship,h=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:null!=n?n:void 0,Params:{Size:this.fileData.length,CreationDate:u?a.A.fromDate(u):void 0,ModDate:c?a.A.fromDate(c):void 0}}),f=t.register(h),d=t.obj({Type:"Filespec",F:a.A.of(this.fileName),UF:s.A.fromText(this.fileName),EF:{F:f},Desc:r?s.A.fromText(r):void 0,AFRelationship:null!=l?l:void 0}),e)?(t.assign(e,d),[2,e]):[2,t.register(d)]})})},t}(),o.d(e,{G:()=>r})},47387(t,e,o){var n,r=o(81205),i=o(44910),a=function(t){function e(e,o){return t.call(this,"Method "+e+"."+o+"() not implemented")||this}return(0,r.C6)(e,t),e}(Error),s=function(t){function e(e){return t.call(this,"Cannot construct "+e+" - it has a private constructor")||this}return(0,r.C6)(e,t),e}(Error),u=function(t){function e(e,o){var n=function(t){var e,o;return null!=(e=null==t?void 0:t.name)?e:null==(o=null==t?void 0:t.constructor)?void 0:o.name},r="Expected instance of "+(Array.isArray(e)?e.map(n):[n(e)]).join(" or ")+", but got instance of "+(o?n(o):o);return t.call(this,r)||this}return(0,r.C6)(e,t),e}(Error),c=function(t){function e(e){return t.call(this,e+" stream encoding not supported")||this}return(0,r.C6)(e,t),e}(Error),l=function(t){function e(e,o){return t.call(this,"Cannot call "+e+"."+o+"() more than once")||this}return(0,r.C6)(e,t),e}(Error);n=Error,(0,r.C6)(function(t){return n.call(this,"Missing catalog (ref="+t+")")||this},n);var h=function(t){function e(){return t.call(this,"Can't embed page with missing Contents")||this}return(0,r.C6)(e,t),e}(Error),f=function(t){function e(e){var o,n,r,i=null!=(r=null!=(n=null==(o=null==e?void 0:e.contructor)?void 0:o.name)?n:null==e?void 0:e.name)?r:e;return t.call(this,"Unrecognized stream type: "+i)||this}return(0,r.C6)(e,t),e}(Error),d=function(t){function e(){return t.call(this,"Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.")||this}return(0,r.C6)(e,t),e}(Error),p=function(t){function e(e){return t.call(this,"Attempted to convert PDFArray with "+e+" elements to rectangle, but must have exactly 4 elements.")||this}return(0,r.C6)(e,t),e}(Error),y=function(t){function e(e){return t.call(this,'Attempted to convert "'+e+'" to a date, but it does not match the PDF date string format.')||this}return(0,r.C6)(e,t),e}(Error),g=function(t){function e(e,o){return t.call(this,"Invalid targetIndex specified: targetIndex="+e+" must be less than Count="+o)||this}return(0,r.C6)(e,t),e}(Error),v=function(t){function e(e,o){return t.call(this,"Failed to "+o+" at targetIndex="+e+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid")||this}return(0,r.C6)(e,t),e}(Error),m=function(t){function e(e,o,n){return t.call(this,"index should be at least "+o+" and at most "+n+", but was actually "+e)||this}return(0,r.C6)(e,t),e}(Error),b=function(t){function e(){return t.call(this,"Attempted to set invalid field value")||this}return(0,r.C6)(e,t),e}(Error),A=function(t){function e(){return t.call(this,"Attempted to select multiple values for single-select field")||this}return(0,r.C6)(e,t),e}(Error),C=function(t){function e(e){return t.call(this,"No /DA (default appearance) entry found for field: "+e)||this}return(0,r.C6)(e,t),e}(Error),w=function(t){function e(e){return t.call(this,"No Tf operator found for DA of field: "+e)||this}return(0,r.C6)(e,t),e}(Error),S=function(t){function e(e,o){var n="Failed to parse number "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset+'): "')+o+'"';return t.call(this,n)||this}return(0,r.C6)(e,t),e}(Error),x=function(t){function e(e,o){var n="Failed to parse PDF document "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset)+"): "+o;return t.call(this,n)||this}return(0,r.C6)(e,t),e}(Error),F=function(t){function e(e,o,n){return t.call(this,e,"Expected next byte to be "+o+" but it was actually "+n)||this}return(0,r.C6)(e,t),e}(x),k=function(t){function e(e,o){return t.call(this,e,"Failed to parse PDF object starting with the following byte: "+o)||this}return(0,r.C6)(e,t),e}(x),D=function(t){function e(e){return t.call(this,e,"Failed to parse invalid PDF object")||this}return(0,r.C6)(e,t),e}(x),B=function(t){function e(e){return t.call(this,e,"Failed to parse PDF stream")||this}return(0,r.C6)(e,t),e}(x),j=function(t){function e(e){return t.call(this,e,"Failed to parse PDF literal string due to unbalanced parenthesis")||this}return(0,r.C6)(e,t),e}(x),T=function(t){function e(e){return t.call(this,e,"Parser stalled")||this}return(0,r.C6)(e,t),e}(x),P=function(t){function e(e){return t.call(this,e,"No PDF header found")||this}return(0,r.C6)(e,t),e}(x),O=function(t){function e(e,o){var n="Did not find expected keyword '"+(0,i.pZ)(o)+"'";return t.call(this,e,n)||this}return(0,r.C6)(e,t),e}(x);o.d(e,{$T:()=>u,B4:()=>c,EQ:()=>s,F2:()=>w,FY:()=>D,Hi:()=>A,I8:()=>S,IX:()=>f,JA:()=>d,Jl:()=>T,Kc:()=>P,OT:()=>p,PU:()=>g,Qj:()=>j,bq:()=>y,cR:()=>b,cZ:()=>O,eM:()=>F,fx:()=>m,jM:()=>l,ju:()=>a,m2:()=>k,o4:()=>C,tV:()=>B,tX:()=>h,vV:()=>v})},67531(t,e,o){o.d(e,{Tz:()=>S,qM:()=>F,Zo:()=>w,Il:()=>x,bO:()=>k,pp:()=>tg,Bo:()=>tv,Dm:()=>tA,ju:()=>D.ju,RL:()=>tR,Bi:()=>tE,In:()=>t5,ld:()=>tq,z5:()=>tU,OR:()=>tH,b$:()=>tK,oz:()=>tL,AC:()=>tW,BM:()=>tV,y3:()=>W.A,am:()=>t2,CB:()=>J,yQ:()=>$,Ri:()=>z.A,lv:()=>th.A,S5:()=>E.A,iu:()=>L.A,Gw:()=>te,VK:()=>Z,Zt:()=>Q,kO:()=>tF,y1:()=>tt,KF:()=>t1,gS:()=>en,so:()=>G,h0:()=>V,k_:()=>tc,mA:()=>ty.A,Ml:()=>tN,Sl:()=>ta,JA:()=>D.JA,cV:()=>tw,hM:()=>tf,$T:()=>D.$T,h$:()=>tG});var n,r,i,a,s,u,c,l,h,f,d,p,y,g,v,m,b,A,C,w,S,x,F,k,D=o(47387),B=o(56706),j=o(81205),T=o(51668),P=o.n(T),O=o(44910),N=function(){function t(t,e){this.major=String(t),this.minor=String(e)}return t.prototype.toString=function(){var t=(0,O.sJ)(129);return"%PDF-"+this.major+"."+this.minor+"\n%"+t+t+t+t},t.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},t.prototype.copyBytesInto=function(t,e){var o=e;return t[e++]=B.A.Percent,t[e++]=B.A.P,t[e++]=B.A.D,t[e++]=B.A.F,t[e++]=B.A.Dash,e+=(0,O.BO)(this.major,t,e),t[e++]=B.A.Period,e+=(0,O.BO)(this.minor,t,e),t[e++]=B.A.Newline,t[e++]=B.A.Percent,t[e++]=129,t[e++]=129,t[e++]=129,t[e++]=129,e-o},t.forVersion=function(e,o){return new t(e,o)},t}(),W=o(42762),I=o(84416),R={},M=function(t){function e(e,o){var n=this;if(e!==R)throw new D.EQ("PDFBool");return(n=t.call(this)||this).value=o,n}return(0,j.C6)(e,t),e.prototype.asBoolean=function(){return this.value},e.prototype.clone=function(){return this},e.prototype.toString=function(){return String(this.value)},e.prototype.sizeInBytes=function(){return this.value?4:5},e.prototype.copyBytesInto=function(t,e){return this.value?(t[e++]=B.A.t,t[e++]=B.A.r,t[e++]=B.A.u,t[e++]=B.A.e,4):(t[e++]=B.A.f,t[e++]=B.A.a,t[e++]=B.A.l,t[e++]=B.A.s,t[e++]=B.A.e,5)},e.True=new e(R,!0),e.False=new e(R,!1),e}(I.A),z=o(76187),E=o(21860),U=o(34714),L=o(28278),V=function(t){function e(e){var o=t.call(this)||this;return o.dict=e,o}return(0,j.C6)(e,t),e.prototype.clone=function(t){throw new D.ju(this.constructor.name,"clone")},e.prototype.getContentsString=function(){throw new D.ju(this.constructor.name,"getContentsString")},e.prototype.getContents=function(){throw new D.ju(this.constructor.name,"getContents")},e.prototype.getContentsSize=function(){throw new D.ju(this.constructor.name,"getContentsSize")},e.prototype.updateDict=function(){var t=this.getContentsSize();this.dict.set(E.A.Length,L.A.of(t))},e.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},e.prototype.toString=function(){this.updateDict();var t=this.dict.toString();return t+="\nstream\n",t+=this.getContentsString(),t+="\nendstream"},e.prototype.copyBytesInto=function(t,e){this.updateDict();var o=e;e+=this.dict.copyBytesInto(t,e),t[e++]=B.A.Newline,t[e++]=B.A.s,t[e++]=B.A.t,t[e++]=B.A.r,t[e++]=B.A.e,t[e++]=B.A.a,t[e++]=B.A.m,t[e++]=B.A.Newline;for(var n=this.getContents(),r=0,i=n.length;r<i;r++)t[e++]=n[r];return t[e++]=B.A.Newline,t[e++]=B.A.e,t[e++]=B.A.n,t[e++]=B.A.d,t[e++]=B.A.s,t[e++]=B.A.t,t[e++]=B.A.r,t[e++]=B.A.e,t[e++]=B.A.a,t[e++]=B.A.m,e-o},e}(I.A),H=function(t){function e(e,o){var n=t.call(this,e)||this;return n.contents=o,n}return(0,j.C6)(e,t),e.prototype.asUint8Array=function(){return this.contents.slice()},e.prototype.clone=function(t){return e.of(this.dict.clone(t),this.contents.slice())},e.prototype.getContentsString=function(){return(0,O.pZ)(this.contents)},e.prototype.getContents=function(){return this.contents},e.prototype.getContentsSize=function(){return this.contents.length},e.of=function(t,o){return new e(t,o)},e}(V),K={},q=new Map,G=function(t){function e(e,o,n){var r=this;if(e!==K)throw new D.EQ("PDFRef");return(r=t.call(this)||this).objectNumber=o,r.generationNumber=n,r.tag=o+" "+n+" R",r}return(0,j.C6)(e,t),e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.tag},e.prototype.sizeInBytes=function(){return this.tag.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,O.BO)(this.tag,t,e),this.tag.length},e.of=function(t,o){void 0===o&&(o=0);var n=t+" "+o+" R",r=q.get(n);return r||(r=new e(K,t,o),q.set(n,r)),r},e}(I.A),Z=function(){function t(t,e){this.name=t,this.args=e||[]}return t.prototype.clone=function(e){for(var o=Array(this.args.length),n=0,r=o.length;n<r;n++){var i=this.args[n];o[n]=i instanceof I.A?i.clone(e):i}return t.of(this.name,o)},t.prototype.toString=function(){for(var t="",e=0,o=this.args.length;e<o;e++)t+=String(this.args[e])+" ";return t+this.name},t.prototype.sizeInBytes=function(){for(var t=0,e=0,o=this.args.length;e<o;e++){var n=this.args[e];t+=(n instanceof I.A?n.sizeInBytes():n.length)+1}return t+this.name.length},t.prototype.copyBytesInto=function(t,e){for(var o=e,n=0,r=this.args.length;n<r;n++){var i=this.args[n];i instanceof I.A?e+=i.copyBytesInto(t,e):e+=(0,O.BO)(i,t,e),t[e++]=B.A.Space}return(e+=(0,O.BO)(this.name,t,e))-o},t.of=function(e,o){return new t(e,o)},t}();(n=y||(y={})).NonStrokingColor="sc",n.NonStrokingColorN="scn",n.NonStrokingColorRgb="rg",n.NonStrokingColorGray="g",n.NonStrokingColorCmyk="k",n.NonStrokingColorspace="cs",n.StrokingColor="SC",n.StrokingColorN="SCN",n.StrokingColorRgb="RG",n.StrokingColorGray="G",n.StrokingColorCmyk="K",n.StrokingColorspace="CS",n.BeginMarkedContentSequence="BDC",n.BeginMarkedContent="BMC",n.EndMarkedContent="EMC",n.MarkedContentPointWithProps="DP",n.MarkedContentPoint="MP",n.DrawObject="Do",n.ConcatTransformationMatrix="cm",n.PopGraphicsState="Q",n.PushGraphicsState="q",n.SetFlatness="i",n.SetGraphicsStateParams="gs",n.SetLineCapStyle="J",n.SetLineDashPattern="d",n.SetLineJoinStyle="j",n.SetLineMiterLimit="M",n.SetLineWidth="w",n.SetTextMatrix="Tm",n.SetRenderingIntent="ri",n.AppendRectangle="re",n.BeginInlineImage="BI",n.BeginInlineImageData="ID",n.EndInlineImage="EI",n.ClipEvenOdd="W*",n.ClipNonZero="W",n.CloseAndStroke="s",n.CloseFillEvenOddAndStroke="b*",n.CloseFillNonZeroAndStroke="b",n.ClosePath="h",n.AppendBezierCurve="c",n.CurveToReplicateFinalPoint="y",n.CurveToReplicateInitialPoint="v",n.EndPath="n",n.FillEvenOddAndStroke="B*",n.FillEvenOdd="f*",n.FillNonZeroAndStroke="B",n.FillNonZero="f",n.LegacyFillNonZero="F",n.LineTo="l",n.MoveTo="m",n.ShadingFill="sh",n.StrokePath="S",n.BeginText="BT",n.EndText="ET",n.MoveText="Td",n.MoveTextSetLeading="TD",n.NextLine="T*",n.SetCharacterSpacing="Tc",n.SetFontAndSize="Tf",n.SetTextHorizontalScaling="Tz",n.SetTextLineHeight="TL",n.SetTextRenderingMode="Tr",n.SetTextRise="Ts",n.SetWordSpacing="Tw",n.ShowText="Tj",n.ShowTextAdjusted="TJ",n.ShowTextLine="'",n.ShowTextLineAndSpace='"',n.Type3D0="d0",n.Type3D1="d1",n.BeginCompatibilitySection="BX",n.EndCompatibilitySection="EX";var Q=y,X=function(t){function e(e,o){var n=t.call(this,e)||this;return n.computeContents=function(){var t=n.getUnencodedContents();return n.encode?P().deflate(t):t},n.encode=o,o&&e.set(E.A.of("Filter"),E.A.of("FlateDecode")),n.contentsCache=O.l2.populatedBy(n.computeContents),n}return(0,j.C6)(e,t),e.prototype.getContents=function(){return this.contentsCache.access()},e.prototype.getContentsSize=function(){return this.contentsCache.access().length},e.prototype.getUnencodedContents=function(){throw new D.ju(this.constructor.name,"getUnencodedContents")},e}(V),J=function(t){function e(e,o,n){void 0===n&&(n=!0);var r=t.call(this,e,n)||this;return r.operators=o,r}return(0,j.C6)(e,t),e.prototype.push=function(){for(var t,e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];(t=this.operators).push.apply(t,e)},e.prototype.clone=function(t){for(var o=Array(this.operators.length),n=0,r=this.operators.length;n<r;n++)o[n]=this.operators[n].clone(t);var i=this.dict,a=this.encode;return e.of(i.clone(t),o,a)},e.prototype.getContentsString=function(){for(var t="",e=0,o=this.operators.length;e<o;e++)t+=this.operators[e]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=0,o=0,n=this.operators.length;o<n;o++)e+=this.operators[o].copyBytesInto(t,e),t[e++]=B.A.Newline;return t},e.prototype.getUnencodedContentsSize=function(){for(var t=0,e=0,o=this.operators.length;e<o;e++)t+=this.operators[e].sizeInBytes()+1;return t},e.of=function(t,o,n){return void 0===n&&(n=!0),new e(t,o,n)},e}(X),Y=o(55267),_=function(t,e){var o=t[0],n=e[0];return o.objectNumber-n.objectNumber},$=function(){function t(){this.largestObjectNumber=0,this.header=N.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Y.I.withSeed(1)}return t.prototype.assign=function(t,e){this.indirectObjects.set(t,e),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},t.prototype.nextRef=function(){return this.largestObjectNumber+=1,G.of(this.largestObjectNumber)},t.prototype.register=function(t){var e=this.nextRef();return this.assign(e,t),e},t.prototype.delete=function(t){return this.indirectObjects.delete(t)},t.prototype.lookupMaybe=function(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];var n=e.includes(U.A),r=t instanceof G?this.indirectObjects.get(t):t;if(r&&(r!==U.A||n)){for(var i=0,a=e.length;i<a;i++){var s=e[i];if(s===U.A){if(r===U.A)return r}else if(r instanceof s)return r}throw new D.$T(e,r)}},t.prototype.lookup=function(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];var n=t instanceof G?this.indirectObjects.get(t):t;if(0===e.length)return n;for(var r=0,i=e.length;r<i;r++){var a=e[r];if(a===U.A){if(n===U.A)return n}else if(n instanceof a)return n}throw new D.$T(e,n)},t.prototype.getObjectRef=function(t){for(var e=Array.from(this.indirectObjects.entries()),o=0,n=e.length;o<n;o++){var r=e[o],i=r[0];if(r[1]===t)return i}},t.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(_)},t.prototype.obj=function(t){if(t instanceof I.A)return t;if(null==t)return U.A;if("string"==typeof t)return E.A.of(t);if("number"==typeof t)return L.A.of(t);if("boolean"==typeof t)return t?M.True:M.False;else if(Array.isArray(t)){for(var e=W.A.withContext(this),o=0,n=t.length;o<n;o++)e.push(this.obj(t[o]));return e}else{for(var r=z.A.withContext(this),i=Object.keys(t),o=0,n=i.length;o<n;o++){var a=i[o],s=t[a];void 0!==s&&r.set(E.A.of(a),this.obj(s))}return r}},t.prototype.stream=function(t,e){return void 0===e&&(e={}),H.of(this.obj(e),(0,O.dp)(t))},t.prototype.flateStream=function(t,e){return void 0===e&&(e={}),this.stream(P().deflate((0,O.dp)(t)),(0,j.Cl)((0,j.Cl)({},e),{Filter:"FlateDecode"}))},t.prototype.contentStream=function(t,e){return void 0===e&&(e={}),J.of(this.obj(e),t)},t.prototype.formXObject=function(t,e){return void 0===e&&(e={}),this.contentStream(t,(0,j.Cl)((0,j.Cl)({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},e),{Type:"XObject",Subtype:"Form"}))},t.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),e=Z.of(Q.PushGraphicsState),o=J.of(t,[e]);return this.pushGraphicsStateContentStreamRef=this.register(o),this.pushGraphicsStateContentStreamRef},t.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),e=Z.of(Q.PopGraphicsState),o=J.of(t,[e]);return this.popGraphicsStateContentStreamRef=this.register(o),this.popGraphicsStateContentStreamRef},t.prototype.addRandomSuffix=function(t,e){return void 0===e&&(e=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,e))},t.create=function(){return new t},t}(),tt=function(t){function e(e,o,n){void 0===n&&(n=!0);var r=t.call(this,e,o)||this;return r.normalized=!1,r.autoNormalizeCTM=n,r}return(0,j.C6)(e,t),e.prototype.clone=function(t){for(var o=e.fromMapWithContext(new Map,t||this.context,this.autoNormalizeCTM),n=this.entries(),r=0,i=n.length;r<i;r++){var a=n[r],s=a[0],u=a[1];o.set(s,u)}return o},e.prototype.Parent=function(){return this.lookupMaybe(E.A.Parent,z.A)},e.prototype.Contents=function(){return this.lookup(E.A.of("Contents"))},e.prototype.Annots=function(){return this.lookupMaybe(E.A.Annots,W.A)},e.prototype.BleedBox=function(){return this.lookupMaybe(E.A.BleedBox,W.A)},e.prototype.TrimBox=function(){return this.lookupMaybe(E.A.TrimBox,W.A)},e.prototype.ArtBox=function(){return this.lookupMaybe(E.A.ArtBox,W.A)},e.prototype.Resources=function(){var t=this.getInheritableAttribute(E.A.Resources);return this.context.lookupMaybe(t,z.A)},e.prototype.MediaBox=function(){var t=this.getInheritableAttribute(E.A.MediaBox);return this.context.lookup(t,W.A)},e.prototype.CropBox=function(){var t=this.getInheritableAttribute(E.A.CropBox);return this.context.lookupMaybe(t,W.A)},e.prototype.Rotate=function(){var t=this.getInheritableAttribute(E.A.Rotate);return this.context.lookupMaybe(t,L.A)},e.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(o){e||(e=o.get(t))}),e},e.prototype.setParent=function(t){this.set(E.A.Parent,t)},e.prototype.addContentStream=function(t){var e=this.normalizedEntries().Contents||this.context.obj([]);this.set(E.A.Contents,e),e.push(t)},e.prototype.wrapContentStreams=function(t,e){var o=this.Contents();return o instanceof W.A&&(o.insert(0,t),o.push(e),!0)},e.prototype.addAnnot=function(t){this.normalizedEntries().Annots.push(t)},e.prototype.removeAnnot=function(t){var e=this.normalizedEntries().Annots,o=e.indexOf(t);void 0!==o&&e.remove(o)},e.prototype.setFontDictionary=function(t,e){this.normalizedEntries().Font.set(t,e)},e.prototype.newFontDictionaryKey=function(t){return this.normalizedEntries().Font.uniqueKey(t)},e.prototype.newFontDictionary=function(t,e){var o=this.newFontDictionaryKey(t);return this.setFontDictionary(o,e),o},e.prototype.setXObject=function(t,e){this.normalizedEntries().XObject.set(t,e)},e.prototype.newXObjectKey=function(t){return this.normalizedEntries().XObject.uniqueKey(t)},e.prototype.newXObject=function(t,e){var o=this.newXObjectKey(t);return this.setXObject(o,e),o},e.prototype.setExtGState=function(t,e){this.normalizedEntries().ExtGState.set(t,e)},e.prototype.newExtGStateKey=function(t){return this.normalizedEntries().ExtGState.uniqueKey(t)},e.prototype.newExtGState=function(t,e){var o=this.newExtGStateKey(t);return this.setExtGState(o,e),o},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.normalize=function(){if(!this.normalized){var t=this.context,e=this.get(E.A.Contents);this.context.lookup(e)instanceof V&&this.set(E.A.Contents,t.obj([e])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var o=this.getInheritableAttribute(E.A.Resources),n=t.lookupMaybe(o,z.A)||t.obj({});this.set(E.A.Resources,n);var r=n.lookupMaybe(E.A.Font,z.A)||t.obj({});n.set(E.A.Font,r);var i=n.lookupMaybe(E.A.XObject,z.A)||t.obj({});n.set(E.A.XObject,i);var a=n.lookupMaybe(E.A.ExtGState,z.A)||t.obj({});n.set(E.A.ExtGState,a);var s=this.Annots()||t.obj([]);this.set(E.A.Annots,s),this.normalized=!0}},e.prototype.normalizedEntries=function(){this.normalize();var t=this.Annots(),e=this.Resources();return{Annots:t,Resources:e,Contents:this.Contents(),Font:e.lookup(E.A.Font,z.A),XObject:e.lookup(E.A.XObject,z.A),ExtGState:e.lookup(E.A.ExtGState,z.A)}},e.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],e.withContextAndParent=function(t,o){var n=new Map;return n.set(E.A.Type,E.A.Page),n.set(E.A.Parent,o),n.set(E.A.Resources,t.obj({})),n.set(E.A.MediaBox,t.obj([0,0,612,792])),new e(n,t,!1)},e.fromMapWithContext=function(t,o,n){return void 0===n&&(n=!0),new e(t,o,n)},e}(z.A),te=function(){function t(t,e){var o=this;this.traversedObjects=new Map,this.copy=function(t){return t instanceof tt?o.copyPDFPage(t):t instanceof z.A?o.copyPDFDict(t):t instanceof W.A?o.copyPDFArray(t):t instanceof V?o.copyPDFStream(t):t instanceof G?o.copyPDFIndirectObject(t):t.clone()},this.copyPDFPage=function(t){for(var e=t.clone(),n=tt.InheritableEntries,r=0,i=n.length;r<i;r++){var a=E.A.of(n[r]),s=e.getInheritableAttribute(a);!e.get(a)&&s&&e.set(a,s)}return e.delete(E.A.of("Parent")),o.copyPDFDict(e)},this.copyPDFDict=function(t){if(o.traversedObjects.has(t))return o.traversedObjects.get(t);var e=t.clone(o.dest);o.traversedObjects.set(t,e);for(var n=t.entries(),r=0,i=n.length;r<i;r++){var a=n[r],s=a[0],u=a[1];e.set(s,o.copy(u))}return e},this.copyPDFArray=function(t){if(o.traversedObjects.has(t))return o.traversedObjects.get(t);var e=t.clone(o.dest);o.traversedObjects.set(t,e);for(var n=0,r=t.size();n<r;n++){var i=t.get(n);e.set(n,o.copy(i))}return e},this.copyPDFStream=function(t){if(o.traversedObjects.has(t))return o.traversedObjects.get(t);var e=t.clone(o.dest);o.traversedObjects.set(t,e);for(var n=t.dict.entries(),r=0,i=n.length;r<i;r++){var a=n[r],s=a[0],u=a[1];e.dict.set(s,o.copy(u))}return e},this.copyPDFIndirectObject=function(t){if(!o.traversedObjects.has(t)){var e=o.dest.nextRef();o.traversedObjects.set(t,e);var n=o.src.lookup(t);if(n){var r=o.copy(n);o.dest.assign(e,r)}}return o.traversedObjects.get(t)},this.src=t,this.dest=e}return t.for=function(e,o){return new t(e,o)},t}(),to=function(){function t(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=+!!t}return t.prototype.addEntry=function(t,e){this.append({ref:t,offset:e,deleted:!1})},t.prototype.addDeletedEntry=function(t,e){this.append({ref:t,offset:e,deleted:!0})},t.prototype.toString=function(){for(var t="xref\n",e=0,o=this.subsections.length;e<o;e++){var n=this.subsections[e];t+=n[0].ref.objectNumber+" "+n.length+"\n";for(var r=0,i=n.length;r<i;r++){var a=n[r];t+=(0,O.CF)(String(a.offset),10,"0"),t+=" ",t+=(0,O.CF)(String(a.ref.generationNumber),5,"0"),t+=" ",t+=a.deleted?"f":"n",t+=" \n"}}return t},t.prototype.sizeInBytes=function(){for(var t=5,e=0,o=this.subsections.length;e<o;e++){var n=this.subsections[e],r=n.length;t+=2,t+=String(n[0].ref.objectNumber).length,t+=String(r).length,t+=20*r}return t},t.prototype.copyBytesInto=function(t,e){var o=e;return t[e++]=B.A.x,t[e++]=B.A.r,t[e++]=B.A.e,t[e++]=B.A.f,t[e++]=B.A.Newline,(e+=this.copySubsectionsIntoBuffer(this.subsections,t,e))-o},t.prototype.copySubsectionsIntoBuffer=function(t,e,o){for(var n=o,r=t.length,i=0;i<r;i++){var a=this.subsections[i],s=String(a[0].ref.objectNumber);o+=(0,O.BO)(s,e,o),e[o++]=B.A.Space;var u=String(a.length);o+=(0,O.BO)(u,e,o),e[o++]=B.A.Newline,o+=this.copyEntriesIntoBuffer(a,e,o)}return o-n},t.prototype.copyEntriesIntoBuffer=function(t,e,o){for(var n=t.length,r=0;r<n;r++){var i=t[r],a=(0,O.CF)(String(i.offset),10,"0");o+=(0,O.BO)(a,e,o),e[o++]=B.A.Space;var s=(0,O.CF)(String(i.ref.generationNumber),5,"0");o+=(0,O.BO)(s,e,o),e[o++]=B.A.Space,e[o++]=i.deleted?B.A.f:B.A.n,e[o++]=B.A.Space,e[o++]=B.A.Newline}return 20*n},t.prototype.append=function(t){if(0===this.chunkLength){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var e=this.subsections[this.chunkIdx],o=e[this.chunkLength-1];t.ref.objectNumber-o.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(e.push(t),this.chunkLength+=1)},t.create=function(){return new t({ref:G.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}(),tn=function(){function t(t){this.lastXRefOffset=String(t)}return t.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(t,e){var o=e;return t[e++]=B.A.s,t[e++]=B.A.t,t[e++]=B.A.a,t[e++]=B.A.r,t[e++]=B.A.t,t[e++]=B.A.x,t[e++]=B.A.r,t[e++]=B.A.e,t[e++]=B.A.f,t[e++]=B.A.Newline,e+=(0,O.BO)(this.lastXRefOffset,t,e),t[e++]=B.A.Newline,t[e++]=B.A.Percent,t[e++]=B.A.Percent,t[e++]=B.A.E,t[e++]=B.A.O,t[e++]=B.A.F,e-o},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}(),tr=function(){function t(t){this.dict=t}return t.prototype.toString=function(){return"trailer\n"+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(t,e){var o=e;return t[e++]=B.A.t,t[e++]=B.A.r,t[e++]=B.A.a,t[e++]=B.A.i,t[e++]=B.A.l,t[e++]=B.A.e,t[e++]=B.A.r,t[e++]=B.A.Newline,(e+=this.dict.copyBytesInto(t,e))-o},t.of=function(e){return new t(e)},t}(),ti=function(t){function e(e,o,n){void 0===n&&(n=!0);var r=t.call(this,e.obj({}),n)||this;return r.objects=o,r.offsets=r.computeObjectOffsets(),r.offsetsString=r.computeOffsetsString(),r.dict.set(E.A.of("Type"),E.A.of("ObjStm")),r.dict.set(E.A.of("N"),L.A.of(r.objects.length)),r.dict.set(E.A.of("First"),L.A.of(r.offsetsString.length)),r}return(0,j.C6)(e,t),e.prototype.getObjectsCount=function(){return this.objects.length},e.prototype.clone=function(t){return e.withContextAndObjects(t||this.dict.context,this.objects.slice(),this.encode)},e.prototype.getContentsString=function(){for(var t=this.offsetsString,e=0,o=this.objects.length;e<o;e++)t+=this.objects[e][1]+"\n";return t},e.prototype.getUnencodedContents=function(){for(var t=new Uint8Array(this.getUnencodedContentsSize()),e=(0,O.BO)(this.offsetsString,t,0),o=0,n=this.objects.length;o<n;o++){var r=this.objects[o][1];e+=r.copyBytesInto(t,e),t[e++]=B.A.Newline}return t},e.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+(0,O.HV)(this.offsets)[1]+(0,O.HV)(this.objects)[1].sizeInBytes()+1},e.prototype.computeOffsetsString=function(){for(var t="",e=0,o=this.offsets.length;e<o;e++){var n=this.offsets[e];t+=n[0]+" "+n[1]+" "}return t},e.prototype.computeObjectOffsets=function(){for(var t=0,e=Array(this.objects.length),o=0,n=this.objects.length;o<n;o++){var r=this.objects[o],i=r[0],a=r[1];e[o]=[i.objectNumber,t],t+=a.sizeInBytes()+1}return e},e.withContextAndObjects=function(t,o,n){return void 0===n&&(n=!0),new e(t,o,n)},e}(X),ta=function(){function t(t,e){var o=this;this.parsedObjects=0,this.shouldWaitForTick=function(t){return o.parsedObjects+=t,o.parsedObjects%o.objectsPerTick==0},this.context=t,this.objectsPerTick=e}return t.prototype.serializeToBuffer=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e,o,n,r,i,a,s,u,c,l,h,f,d,p,y,g;return(0,j.YH)(this,function(v){switch(v.label){case 0:return[4,this.computeBufferSize()];case 1:e=(t=v.sent()).size,o=t.header,n=t.indirectObjects,r=t.xref,i=t.trailerDict,a=t.trailer,s=0,u=new Uint8Array(e),s+=o.copyBytesInto(u,s),u[s++]=B.A.Newline,u[s++]=B.A.Newline,c=0,l=n.length,v.label=2;case 2:if(!(c<l))return[3,5];if(f=(h=n[c])[0],d=h[1],p=String(f.objectNumber),s+=(0,O.BO)(p,u,s),u[s++]=B.A.Space,y=String(f.generationNumber),s+=(0,O.BO)(y,u,s),u[s++]=B.A.Space,u[s++]=B.A.o,u[s++]=B.A.b,u[s++]=B.A.j,u[s++]=B.A.Newline,s+=d.copyBytesInto(u,s),u[s++]=B.A.Newline,u[s++]=B.A.e,u[s++]=B.A.n,u[s++]=B.A.d,u[s++]=B.A.o,u[s++]=B.A.b,u[s++]=B.A.j,u[s++]=B.A.Newline,u[s++]=B.A.Newline,g=d instanceof ti?d.getObjectsCount():1,!this.shouldWaitForTick(g))return[3,4];return[4,(0,O.KP)()];case 3:v.sent(),v.label=4;case 4:return c++,[3,2];case 5:return r&&(s+=r.copyBytesInto(u,s),u[s++]=B.A.Newline),i&&(s+=i.copyBytesInto(u,s),u[s++]=B.A.Newline,u[s++]=B.A.Newline),s+=a.copyBytesInto(u,s),[2,u]}})})},t.prototype.computeIndirectObjectSize=function(t){var e=t[0],o=t[1];return e.sizeInBytes()+3+(o.sizeInBytes()+9)},t.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},t.prototype.computeBufferSize=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e,o,n,r,i,a,s,u,c,l;return(0,j.YH)(this,function(h){switch(h.label){case 0:e=(t=N.forVersion(1,7)).sizeInBytes()+2,o=to.create(),n=this.context.enumerateIndirectObjects(),r=0,i=n.length,h.label=1;case 1:if(!(r<i))return[3,4];if(s=(a=n[r])[0],o.addEntry(s,e),e+=this.computeIndirectObjectSize(a),!this.shouldWaitForTick(1))return[3,3];return[4,(0,O.KP)()];case 2:h.sent(),h.label=3;case 3:return r++,[3,1];case 4:return u=e,e+=o.sizeInBytes()+1,c=tr.of(this.createTrailerDict()),e+=c.sizeInBytes()+2,l=tn.forLastCrossRefSectionOffset(u),[2,{size:e+=l.sizeInBytes(),header:t,indirectObjects:n,xref:o,trailerDict:c,trailer:l}]}})})},t.forContext=function(e,o){return new t(e,o)},t}(),ts=function(t){function e(e){var o=t.call(this)||this;return o.data=e,o}return(0,j.C6)(e,t),e.prototype.clone=function(){return e.of(this.data.slice())},e.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" bytes)"},e.prototype.sizeInBytes=function(){return this.data.length},e.prototype.copyBytesInto=function(t,e){for(var o=this.data.length,n=0;n<o;n++)t[e++]=this.data[n];return o},e.of=function(t){return new e(t)},e}(I.A);(r=g||(g={}))[r.Deleted=0]="Deleted",r[r.Uncompressed=1]="Uncompressed",r[r.Compressed=2]="Compressed";var tu=function(t){function e(e,o,n){void 0===n&&(n=!0);var r=t.call(this,e,n)||this;return r.computeIndex=function(){for(var t=[],e=0,o=0,n=r.entries.length;o<n;o++){var i=r.entries[o],a=r.entries[o-1];0===o?t.push(i.ref.objectNumber):i.ref.objectNumber-a.ref.objectNumber>1&&(t.push(e),t.push(i.ref.objectNumber),e=0),e+=1}return t.push(e),t},r.computeEntryTuples=function(){for(var t=Array(r.entries.length),e=0,o=r.entries.length;e<o;e++){var n=r.entries[e];if(n.type===g.Deleted){var i=n.type,a=n.nextFreeObjectNumber,s=n.ref;t[e]=[i,a,s.generationNumber]}if(n.type===g.Uncompressed){var i=n.type,u=n.offset,s=n.ref;t[e]=[i,u,s.generationNumber]}if(n.type===g.Compressed){var i=n.type,c=n.objectStreamRef,l=n.index;t[e]=[i,c.objectNumber,l]}}return t},r.computeMaxEntryByteWidths=function(){for(var t=r.entryTuplesCache.access(),e=[0,0,0],o=0,n=t.length;o<n;o++){var i=t[o],a=i[0],s=i[1],u=i[2],c=(0,O.Wl)(a),l=(0,O.Wl)(s),h=(0,O.Wl)(u);c>e[0]&&(e[0]=c),l>e[1]&&(e[1]=l),h>e[2]&&(e[2]=h)}return e},r.entries=o||[],r.entryTuplesCache=O.l2.populatedBy(r.computeEntryTuples),r.maxByteWidthsCache=O.l2.populatedBy(r.computeMaxEntryByteWidths),r.indexCache=O.l2.populatedBy(r.computeIndex),e.set(E.A.of("Type"),E.A.of("XRef")),r}return(0,j.C6)(e,t),e.prototype.addDeletedEntry=function(t,e){var o=g.Deleted;this.entries.push({type:o,ref:t,nextFreeObjectNumber:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(t,e){var o=g.Uncompressed;this.entries.push({type:o,ref:t,offset:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(t,e,o){var n=g.Compressed;this.entries.push({type:n,ref:t,objectStreamRef:e,index:o}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(t){var o=this.dict,n=this.entries,r=this.encode;return e.of(o.clone(t),n.slice(),r)},e.prototype.getContentsString=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),o="",n=0,r=t.length;n<r;n++){for(var i=t[n],a=i[0],s=i[1],u=i[2],c=(0,O.q7)((0,O.D_)(a)),l=(0,O.q7)((0,O.D_)(s)),h=(0,O.q7)((0,O.D_)(u)),f=e[0]-1;f>=0;f--)o+=(c[f]||0).toString(2);for(var f=e[1]-1;f>=0;f--)o+=(l[f]||0).toString(2);for(var f=e[2]-1;f>=0;f--)o+=(h[f]||0).toString(2)}return o},e.prototype.getUnencodedContents=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),o=new Uint8Array(this.getUnencodedContentsSize()),n=0,r=0,i=t.length;r<i;r++){for(var a=t[r],s=a[0],u=a[1],c=a[2],l=(0,O.q7)((0,O.D_)(s)),h=(0,O.q7)((0,O.D_)(u)),f=(0,O.q7)((0,O.D_)(c)),d=e[0]-1;d>=0;d--)o[n++]=l[d]||0;for(var d=e[1]-1;d>=0;d--)o[n++]=h[d]||0;for(var d=e[2]-1;d>=0;d--)o[n++]=f[d]||0}return o},e.prototype.getUnencodedContentsSize=function(){var t=this.maxByteWidthsCache.access();return(0,O.cz)(t)*this.entries.length},e.prototype.updateDict=function(){t.prototype.updateDict.call(this);var e=this.maxByteWidthsCache.access(),o=this.indexCache.access(),n=this.dict.context;this.dict.set(E.A.of("W"),n.obj(e)),this.dict.set(E.A.of("Index"),n.obj(o))},e.create=function(t,o){void 0===o&&(o=!0);var n=new e(t,[],o);return n.addDeletedEntry(G.of(0,65535),0),n},e.of=function(t,o,n){return void 0===n&&(n=!0),new e(t,o,n)},e}(X),tc=function(t){function e(e,o,n,r){var i=t.call(this,e,o)||this;return i.encodeStreams=n,i.objectsPerStream=r,i}return(0,j.C6)(e,t),e.prototype.computeBufferSize=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e,o,n,r,i,a,s,u,c,l,h,f,d,p,y,g,v,m;return(0,j.YH)(this,function(b){switch(b.label){case 0:t=this.context.largestObjectNumber+1,o=(e=N.forVersion(1,7)).sizeInBytes()+2,n=tu.create(this.createTrailerDict(),this.encodeStreams),r=[],i=[],a=[],s=this.context.enumerateIndirectObjects(),u=0,c=s.length,b.label=1;case 1:if(!(u<c))return[3,6];if(h=(l=s[u])[0],f=l[1],!(h===this.context.trailerInfo.Encrypt||f instanceof V||f instanceof ts||0!==h.generationNumber))return[3,4];if(r.push(l),n.addUncompressedEntry(h,o),o+=this.computeIndirectObjectSize(l),!this.shouldWaitForTick(1))return[3,3];return[4,(0,O.KP)()];case 2:b.sent(),b.label=3;case 3:return[3,5];case 4:d=(0,O.HV)(i),p=(0,O.HV)(a),d&&d.length%this.objectsPerStream!=0||(d=[],i.push(d),p=G.of(t++),a.push(p)),n.addCompressedEntry(h,p,d.length),d.push(l),b.label=5;case 5:return u++,[3,1];case 6:u=0,c=i.length,b.label=7;case 7:if(!(u<c))return[3,10];if(d=i[u],h=a[u],y=ti.withContextAndObjects(this.context,d,this.encodeStreams),n.addUncompressedEntry(h,o),o+=this.computeIndirectObjectSize([h,y]),r.push([h,y]),!this.shouldWaitForTick(d.length))return[3,9];return[4,(0,O.KP)()];case 8:b.sent(),b.label=9;case 9:return u++,[3,7];case 10:return g=G.of(t++),n.dict.set(E.A.of("Size"),L.A.of(t)),n.addUncompressedEntry(g,o),v=o,o+=this.computeIndirectObjectSize([g,n]),r.push([g,n]),m=tn.forLastCrossRefSectionOffset(v),[2,{size:o+=m.sizeInBytes(),header:e,indirectObjects:r,trailer:m}]}})})},e.forContext=function(t,o,n,r){return void 0===n&&(n=!0),void 0===r&&(r=50),new e(t,o,n,r)},e}(ta),tl=o(35377),th=o(15291),tf=function(){function t(t,e){this.encoding=t===tl.sD.ZapfDingbats?tl.p6.ZapfDingbats:t===tl.sD.Symbol?tl.p6.Symbol:tl.p6.WinAnsi,this.font=tl.KQ.load(t),this.fontName=this.font.FontName,this.customName=e}return t.prototype.encodeText=function(t){for(var e=this.encodeTextAsGlyphs(t),o=Array(e.length),n=0,r=e.length;n<r;n++)o[n]=(0,O.U5)(e[n].code);return th.A.of(o.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var o=this.encodeTextAsGlyphs(t),n=0,r=0,i=o.length;r<i;r++){var a=o[r].name,s=(o[r+1]||{}).name,u=this.font.getXAxisKerningForPair(a,s)||0;n+=this.widthOfGlyph(a)+u}return e/1e3*n},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var o=e.descender,n=this.font,r=n.Ascender,i=n.Descender,a=n.FontBBox,s=(r||a[3])-(i||a[1]);return void 0===o||o||(s+=i||0),s/1e3*t},t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,o=e.Ascender,n=e.Descender,r=e.FontBBox;return 1e3*t/((o||r[3])-(n||r[1]))},t.prototype.embedIntoContext=function(t,e){var o=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===tl.p6.WinAnsi?"WinAnsiEncoding":void 0});return e?(t.assign(e,o),e):t.register(o)},t.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},t.prototype.encodeTextAsGlyphs=function(t){for(var e=Array.from(t),o=Array(e.length),n=0,r=e.length;n<r;n++){var i=(0,O.XX)(e[n]);o[n]=this.encoding.encodeUnicodeCodePoint(i)}return o},t.for=function(e,o){return new t(e,o)},t}(),td=o(28315),tp=o(89384),ty=o(9326),tg=function(){function t(t,e,o,n){var r=this;this.allGlyphsInFontSortedById=function(){for(var t=Array(r.font.characterSet.length),e=0,o=t.length;e<o;e++){var n=r.font.characterSet[e];t[e]=r.font.glyphForCodePoint(n)}return(0,O.TR)(t.sort(O.nM),function(t){return t.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=e,this.fontName=this.font.postscriptName||"Font",this.customName=o,this.fontFeatures=n,this.baseFontName="",this.glyphCache=O.l2.populatedBy(this.allGlyphsInFontSortedById)}return t.for=function(e,o,n,r){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(i){switch(i.label){case 0:return[4,e.create(o)];case 1:return[2,new t(i.sent(),o,n,r)]}})})},t.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,o=Array(e.length),n=0,r=e.length;n<r;n++)o[n]=(0,O.vu)(e[n].id,4);return th.A.of(o.join(""))},t.prototype.widthOfTextAtSize=function(t,e){for(var o=this.font.layout(t,this.fontFeatures).glyphs,n=0,r=0,i=o.length;r<i;r++)n+=o[r].advanceWidth*this.scale;return e/1e3*n},t.prototype.heightOfFontAtSize=function(t,e){void 0===e&&(e={});var o=e.descender,n=this.font,r=n.ascent,i=n.descent,a=n.bbox,s=(r||a.maxY)*this.scale-(i||a.minY)*this.scale;return void 0===o||o||(s-=Math.abs(i)||0),s/1e3*t},t.prototype.sizeOfFontAtHeight=function(t){var e=this.font,o=e.ascent,n=e.descent,r=e.bbox;return 1e3*t/((o||r.maxY)*this.scale-(n||r.minY)*this.scale)},t.prototype.embedIntoContext=function(t,e){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,e)},t.prototype.embedFontDict=function(t,e){return(0,j.sH)(this,void 0,void 0,function(){var o,n,r;return(0,j.YH)(this,function(i){switch(i.label){case 0:return[4,this.embedCIDFontDict(t)];case 1:if(o=i.sent(),n=this.embedUnicodeCmap(t),r=t.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[o],ToUnicode:n}),e)return t.assign(e,r),[2,e];return[2,t.register(r)]}})})},t.prototype.isCFF=function(){return this.font.cff},t.prototype.embedCIDFontDict=function(t){return(0,j.sH)(this,void 0,void 0,function(){var e,o;return(0,j.YH)(this,function(n){switch(n.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return e=n.sent(),o=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:ty.A.of("Adobe"),Ordering:ty.A.of("Identity"),Supplement:0},FontDescriptor:e,W:this.computeWidths()}),[2,t.register(o)]}})})},t.prototype.embedFontDescriptor=function(t){return(0,j.sH)(this,void 0,void 0,function(){var e,o,n,r,i,a,s,u,c,l,h,f,d,p,y;return(0,j.YH)(this,function(g){switch(g.label){case 0:return[4,this.embedFontStream(t)];case 1:return e=g.sent(),o=this.scale,r=(n=this.font).italicAngle,i=n.ascent,a=n.descent,s=n.capHeight,u=n.xHeight,l=(c=this.font.bbox).minX,h=c.minY,f=c.maxX,d=c.maxY,p=t.obj(((y={Type:"FontDescriptor",FontName:this.baseFontName,Flags:(0,tp.g)(this.font),FontBBox:[l*o,h*o,f*o,d*o],ItalicAngle:r,Ascent:i*o,Descent:a*o,CapHeight:(s||i)*o,XHeight:(u||0)*o,StemV:0})[this.isCFF()?"FontFile3":"FontFile2"]=e,y)),[2,t.register(p)]}})})},t.prototype.serializeFont=function(){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(t){return[2,this.fontData]})})},t.prototype.embedFontStream=function(t){return(0,j.sH)(this,void 0,void 0,function(){var e,o,n;return(0,j.YH)(this,function(r){switch(r.label){case 0:return n=(o=t).flateStream,[4,this.serializeFont()];case 1:return e=n.apply(o,[r.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(e)]}})})},t.prototype.embedUnicodeCmap=function(t){var e=(0,td.W)(this.glyphCache.access(),this.glyphId.bind(this)),o=t.flateStream(e);return t.register(o)},t.prototype.glyphId=function(t){return t?t.id:-1},t.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),e=[],o=[],n=0,r=t.length;n<r;n++){var i=t[n],a=t[n-1],s=this.glyphId(i),u=this.glyphId(a);0===n?e.push(s):s-u!=1&&(e.push(o),e.push(s),o=[]),o.push(i.advanceWidth*this.scale)}return e.push(o),e},t}(),tv=function(t){function e(e,o,n,r){var i=t.call(this,e,o,n,r)||this;return i.subset=i.font.createSubset(),i.glyphs=[],i.glyphCache=O.l2.populatedBy(function(){return i.glyphs}),i.glyphIdMap=new Map,i}return(0,j.C6)(e,t),e.for=function(t,o,n,r){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(i){switch(i.label){case 0:return[4,t.create(o)];case 1:return[2,new e(i.sent(),o,n,r)]}})})},e.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,o=Array(e.length),n=0,r=e.length;n<r;n++){var i=e[n],a=this.subset.includeGlyph(i);this.glyphs[a-1]=i,this.glyphIdMap.set(i.id,a),o[n]=(0,O.vu)(a,4)}return this.glyphCache.invalidate(),th.A.of(o.join(""))},e.prototype.isCFF=function(){return this.subset.cff},e.prototype.glyphId=function(t){return t?this.glyphIdMap.get(t.id):-1},e.prototype.serializeFont=function(){var t=this;return new Promise(function(e,o){var n=[];t.subset.encodeStream().on("data",function(t){return n.push(t)}).on("end",function(){return e((0,O.FP)(n))}).on("error",function(t){return o(t)})})},e}(tg);o(94460);var tm=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487];(i=v||(v={})).DeviceGray="DeviceGray",i.DeviceRGB="DeviceRGB",i.DeviceCMYK="DeviceCMYK";var tb={1:v.DeviceGray,3:v.DeviceRGB,4:v.DeviceCMYK},tA=function(){function t(t,e,o,n,r){this.imageData=t,this.bitsPerComponent=e,this.width=o,this.height=n,this.colorSpace=r}return t.for=function(e){return(0,j.sH)(this,void 0,void 0,function(){var o,n,r,i,a,s,u;return(0,j.YH)(this,function(c){if(65496!==(o=new DataView(e.buffer)).getUint16(0))throw Error("SOI not found in JPEG");for(n=2;n<o.byteLength&&(r=o.getUint16(n),n+=2,!tm.includes(r));)n+=o.getUint16(n);if(!tm.includes(r))throw Error("Invalid JPEG");if(n+=2,i=o.getUint8(n++),a=o.getUint16(n),n+=2,s=o.getUint16(n),n+=2,!(u=tb[o.getUint8(n++)]))throw Error("Unknown JPEG channel.");return[2,new t(e,i,s,a,u)]})})},t.prototype.embedIntoContext=function(t,e){return(0,j.sH)(this,void 0,void 0,function(){var o;return(0,j.YH)(this,function(n){return(o=t.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===v.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),e)?(t.assign(e,o),[2,e]):[2,t.register(o)]})})},t}(),tC=o(22193),tw=function(){function t(t){this.image=t,this.bitsPerComponent=t.bitsPerComponent,this.width=t.width,this.height=t.height,this.colorSpace="DeviceRGB"}return t.for=function(e){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(o){return[2,new t(tC.O.load(e))]})})},t.prototype.embedIntoContext=function(t,e){return(0,j.sH)(this,void 0,void 0,function(){var o,n;return(0,j.YH)(this,function(r){return(o=this.embedAlphaChannel(t),n=t.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:o}),e)?(t.assign(e,n),[2,e]):[2,t.register(n)]})})},t.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var e=t.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return t.register(e)}},t}(),tS=o(76075),tx=function(t){var e=t.MediaBox();return{left:0,bottom:0,right:e.lookup(2,L.A).asNumber()-e.lookup(0,L.A).asNumber(),top:e.lookup(3,L.A).asNumber()-e.lookup(1,L.A).asNumber()}},tF=function(){function t(t,e,o){this.page=t;var n=null!=e?e:tx(t);this.width=n.right-n.left,this.height=n.top-n.bottom,this.boundingBox=n,this.transformationMatrix=null!=o?o:[1,0,0,1,-n.left,-n.bottom]}return t.for=function(e,o,n){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(r){return[2,new t(e,o,n)]})})},t.prototype.embedIntoContext=function(t,e){return(0,j.sH)(this,void 0,void 0,function(){var o,n,r,i,a,s,u,c,l,h;return(0,j.YH)(this,function(f){if(n=(o=this.page.normalizedEntries()).Contents,r=o.Resources,!n)throw new D.tX;return(i=this.decodeContents(n),s=(a=this.boundingBox).left,u=a.bottom,c=a.right,l=a.top,h=t.flateStream(i,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[s,u,c,l],Matrix:this.transformationMatrix,Resources:r}),e)?(t.assign(e,h),[2,e]):[2,t.register(h)]})})},t.prototype.decodeContents=function(t){for(var e=Uint8Array.of(B.A.Newline),o=[],n=0,r=t.size();n<r;n++){var i=t.lookup(n,V),a=void 0;if(i instanceof H)a=(0,tS.j)(i).decode();else if(i instanceof J)a=i.getUnencodedContents();else throw new D.IX(i);o.push(a,e)}return O.If.apply(void 0,o)},t}(),tk=function(t,e){if(void 0!==t)return e[t]};(a=m||(m={})).UseNone="UseNone",a.UseOutlines="UseOutlines",a.UseThumbs="UseThumbs",a.UseOC="UseOC",(s=b||(b={})).L2R="L2R",s.R2L="R2L",(u=A||(A={})).None="None",u.AppDefault="AppDefault",(c=C||(C={})).Simplex="Simplex",c.DuplexFlipShortEdge="DuplexFlipShortEdge",c.DuplexFlipLongEdge="DuplexFlipLongEdge";var tD=function(){function t(t){this.dict=t}return t.prototype.lookupBool=function(t){var e=this.dict.lookup(E.A.of(t));if(e instanceof M)return e},t.prototype.lookupName=function(t){var e=this.dict.lookup(E.A.of(t));if(e instanceof E.A)return e},t.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},t.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},t.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},t.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},t.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},t.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},t.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},t.prototype.Direction=function(){return this.lookupName("Direction")},t.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},t.prototype.Duplex=function(){return this.lookupName("Duplex")},t.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},t.prototype.PrintPageRange=function(){var t=this.dict.lookup(E.A.of("PrintPageRange"));if(t instanceof W.A)return t},t.prototype.NumCopies=function(){var t=this.dict.lookup(E.A.of("NumCopies"));if(t instanceof L.A)return t},t.prototype.getHideToolbar=function(){var t,e;return null!=(e=null==(t=this.HideToolbar())?void 0:t.asBoolean())&&e},t.prototype.getHideMenubar=function(){var t,e;return null!=(e=null==(t=this.HideMenubar())?void 0:t.asBoolean())&&e},t.prototype.getHideWindowUI=function(){var t,e;return null!=(e=null==(t=this.HideWindowUI())?void 0:t.asBoolean())&&e},t.prototype.getFitWindow=function(){var t,e;return null!=(e=null==(t=this.FitWindow())?void 0:t.asBoolean())&&e},t.prototype.getCenterWindow=function(){var t,e;return null!=(e=null==(t=this.CenterWindow())?void 0:t.asBoolean())&&e},t.prototype.getDisplayDocTitle=function(){var t,e;return null!=(e=null==(t=this.DisplayDocTitle())?void 0:t.asBoolean())&&e},t.prototype.getNonFullScreenPageMode=function(){var t,e;return null!=(e=tk(null==(t=this.NonFullScreenPageMode())?void 0:t.decodeText(),m))?e:m.UseNone},t.prototype.getReadingDirection=function(){var t,e;return null!=(e=tk(null==(t=this.Direction())?void 0:t.decodeText(),b))?e:b.L2R},t.prototype.getPrintScaling=function(){var t,e;return null!=(e=tk(null==(t=this.PrintScaling())?void 0:t.decodeText(),A))?e:A.AppDefault},t.prototype.getDuplex=function(){var t;return tk(null==(t=this.Duplex())?void 0:t.decodeText(),C)},t.prototype.getPickTrayByPDFSize=function(){var t;return null==(t=this.PickTrayByPDFSize())?void 0:t.asBoolean()},t.prototype.getPrintPageRange=function(){var t=this.PrintPageRange();if(!t)return[];for(var e=[],o=0;o<t.size();o+=2){var n=t.lookup(o,L.A).asNumber(),r=t.lookup(o+1,L.A).asNumber();e.push({start:n,end:r})}return e},t.prototype.getNumCopies=function(){var t,e;return null!=(e=null==(t=this.NumCopies())?void 0:t.asNumber())?e:1},t.prototype.setHideToolbar=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("HideToolbar"),e)},t.prototype.setHideMenubar=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("HideMenubar"),e)},t.prototype.setHideWindowUI=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("HideWindowUI"),e)},t.prototype.setFitWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("FitWindow"),e)},t.prototype.setCenterWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("CenterWindow"),e)},t.prototype.setDisplayDocTitle=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("DisplayDocTitle"),e)},t.prototype.setNonFullScreenPageMode=function(t){(0,O.Co)(t,"nonFullScreenPageMode",m);var e=E.A.of(t);this.dict.set(E.A.of("NonFullScreenPageMode"),e)},t.prototype.setReadingDirection=function(t){(0,O.Co)(t,"readingDirection",b);var e=E.A.of(t);this.dict.set(E.A.of("Direction"),e)},t.prototype.setPrintScaling=function(t){(0,O.Co)(t,"printScaling",A);var e=E.A.of(t);this.dict.set(E.A.of("PrintScaling"),e)},t.prototype.setDuplex=function(t){(0,O.Co)(t,"duplex",C);var e=E.A.of(t);this.dict.set(E.A.of("Duplex"),e)},t.prototype.setPickTrayByPDFSize=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("PickTrayByPDFSize"),e)},t.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var e=[],o=0,n=t.length;o<n;o++)e.push(t[o].start),e.push(t[o].end);(0,O.k)(e,"printPageRange",["number"]);var r=this.dict.context.obj(e);this.dict.set(E.A.of("PrintPageRange"),r)},t.prototype.setNumCopies=function(t){(0,O.Qb)(t,"numCopies",1,Number.MAX_VALUE),(0,O.vk)(t,"numCopies");var e=this.dict.context.obj(t);this.dict.set(E.A.of("NumCopies"),e)},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({}))},t}(),tB=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,tj=function(){function t(t,e){this.dict=t,this.ref=e}return t.prototype.T=function(){return this.dict.lookupMaybe(E.A.of("T"),ty.A,th.A)},t.prototype.Ff=function(){var t=this.getInheritableAttribute(E.A.of("Ff"));return this.dict.context.lookupMaybe(t,L.A)},t.prototype.V=function(){var t=this.getInheritableAttribute(E.A.of("V"));return this.dict.context.lookup(t)},t.prototype.Kids=function(){return this.dict.lookupMaybe(E.A.of("Kids"),W.A)},t.prototype.DA=function(){var t=this.dict.lookup(E.A.of("DA"));if(t instanceof ty.A||t instanceof th.A)return t},t.prototype.setKids=function(t){this.dict.set(E.A.of("Kids"),this.dict.context.obj(t))},t.prototype.getParent=function(){var e=this.dict.get(E.A.of("Parent"));if(e instanceof G)return new t(this.dict.lookup(E.A.of("Parent"),z.A),e)},t.prototype.setParent=function(t){t?this.dict.set(E.A.of("Parent"),t):this.dict.delete(E.A.of("Parent"))},t.prototype.getFullyQualifiedName=function(){var t=this.getParent();return t?t.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},t.prototype.getPartialName=function(){var t;return null==(t=this.T())?void 0:t.decodeText()},t.prototype.setPartialName=function(t){t?this.dict.set(E.A.of("T"),th.A.fromText(t)):this.dict.delete(E.A.of("T"))},t.prototype.setDefaultAppearance=function(t){this.dict.set(E.A.of("DA"),ty.A.of(t))},t.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof th.A?t.decodeText():null==t?void 0:t.asString()},t.prototype.setFontSize=function(t){var e,o=null!=(e=this.getFullyQualifiedName())?e:"",n=this.getDefaultAppearance();if(!n)throw new D.o4(o);var r=(0,O.dJ)(n,tB);if(!r.match)throw new D.F2(o);var i=n.slice(0,r.pos-r.match[0].length),a=r.pos<=n.length?n.slice(r.pos):"",s=i+" /"+r.match[1]+" "+t+" Tf "+a;this.setDefaultAppearance(s)},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.Ff())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(E.A.of("Ff"),L.A.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(o){e||(e=o.dict.get(t))}),e},t.prototype.ascend=function(t){t(this);var e=this.getParent();e&&e.ascend(t)},t}(),tT=o(82137),tP=function(){function t(t){this.dict=t}return t.prototype.Rect=function(){return this.dict.lookup(E.A.of("Rect"),W.A)},t.prototype.AP=function(){return this.dict.lookupMaybe(E.A.of("AP"),z.A)},t.prototype.F=function(){var t=this.dict.lookup(E.A.of("F"));return this.dict.context.lookupMaybe(t,L.A)},t.prototype.getRectangle=function(){var t,e=this.Rect();return null!=(t=null==e?void 0:e.asRectangle())?t:{x:0,y:0,width:0,height:0}},t.prototype.setRectangle=function(t){var e=t.x,o=t.y,n=t.width,r=t.height,i=this.dict.context.obj([e,o,e+n,o+r]);this.dict.set(E.A.of("Rect"),i)},t.prototype.getAppearanceState=function(){var t=this.dict.lookup(E.A.of("AS"));if(t instanceof E.A)return t},t.prototype.setAppearanceState=function(t){this.dict.set(E.A.of("AS"),t)},t.prototype.setAppearances=function(t){this.dict.set(E.A.of("AP"),t)},t.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(E.A.of("AP"),t)),t},t.prototype.getNormalAppearance=function(){var t=this.ensureAP().get(E.A.of("N"));if(t instanceof G||t instanceof z.A)return t;throw Error("Unexpected N type: "+(null==t?void 0:t.constructor.name))},t.prototype.setNormalAppearance=function(t){this.ensureAP().set(E.A.of("N"),t)},t.prototype.setRolloverAppearance=function(t){this.ensureAP().set(E.A.of("R"),t)},t.prototype.setDownAppearance=function(t){this.ensureAP().set(E.A.of("D"),t)},t.prototype.removeRolloverAppearance=function(){var t=this.AP();null==t||t.delete(E.A.of("R"))},t.prototype.removeDownAppearance=function(){var t=this.AP();null==t||t.delete(E.A.of("D"))},t.prototype.getAppearances=function(){var t=this.AP();if(t)return{normal:t.lookup(E.A.of("N"),z.A,V),rollover:t.lookupMaybe(E.A.of("R"),z.A,V),down:t.lookupMaybe(E.A.of("D"),z.A,V)}},t.prototype.getFlags=function(){var t,e;return null!=(e=null==(t=this.F())?void 0:t.asNumber())?e:0},t.prototype.setFlags=function(t){this.dict.set(E.A.of("F"),L.A.of(t))},t.prototype.hasFlag=function(t){return(this.getFlags()&t)!=0},t.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},t.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},t.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},t.fromDict=function(e){return new t(e)},t}(),tO=function(){function t(t){this.dict=t}return t.prototype.R=function(){var t=this.dict.lookup(E.A.of("R"));if(t instanceof L.A)return t},t.prototype.BC=function(){var t=this.dict.lookup(E.A.of("BC"));if(t instanceof W.A)return t},t.prototype.BG=function(){var t=this.dict.lookup(E.A.of("BG"));if(t instanceof W.A)return t},t.prototype.CA=function(){var t=this.dict.lookup(E.A.of("CA"));if(t instanceof th.A||t instanceof ty.A)return t},t.prototype.RC=function(){var t=this.dict.lookup(E.A.of("RC"));if(t instanceof th.A||t instanceof ty.A)return t},t.prototype.AC=function(){var t=this.dict.lookup(E.A.of("AC"));if(t instanceof th.A||t instanceof ty.A)return t},t.prototype.getRotation=function(){var t;return null==(t=this.R())?void 0:t.asNumber()},t.prototype.getBorderColor=function(){var t=this.BC();if(t){for(var e=[],o=0,n=null==t?void 0:t.size();o<n;o++){var r=t.get(o);r instanceof L.A&&e.push(r.asNumber())}return e}},t.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var e=[],o=0,n=null==t?void 0:t.size();o<n;o++){var r=t.get(o);r instanceof L.A&&e.push(r.asNumber())}return e}},t.prototype.getCaptions=function(){var t=this.CA(),e=this.RC(),o=this.AC();return{normal:null==t?void 0:t.decodeText(),rollover:null==e?void 0:e.decodeText(),down:null==o?void 0:o.decodeText()}},t.prototype.setRotation=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("R"),e)},t.prototype.setBorderColor=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("BC"),e)},t.prototype.setBackgroundColor=function(t){var e=this.dict.context.obj(t);this.dict.set(E.A.of("BG"),e)},t.prototype.setCaptions=function(t){var e=th.A.fromText(t.normal);if(this.dict.set(E.A.of("CA"),e),t.rollover){var o=th.A.fromText(t.rollover);this.dict.set(E.A.of("RC"),o)}else this.dict.delete(E.A.of("RC"));if(t.down){var n=th.A.fromText(t.down);this.dict.set(E.A.of("AC"),n)}else this.dict.delete(E.A.of("AC"))},t.fromDict=function(e){return new t(e)},t}(),tN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.MK=function(){var t=this.dict.lookup(E.A.of("MK"));if(t instanceof z.A)return t},e.prototype.BS=function(){var t=this.dict.lookup(E.A.of("BS"));if(t instanceof z.A)return t},e.prototype.DA=function(){var t=this.dict.lookup(E.A.of("DA"));if(t instanceof ty.A||t instanceof th.A)return t},e.prototype.P=function(){var t=this.dict.get(E.A.of("P"));if(t instanceof G)return t},e.prototype.setP=function(t){this.dict.set(E.A.of("P"),t)},e.prototype.setDefaultAppearance=function(t){this.dict.set(E.A.of("DA"),ty.A.of(t))},e.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof th.A?t.decodeText():null==t?void 0:t.asString()},e.prototype.getAppearanceCharacteristics=function(){var t=this.MK();if(t)return tO.fromDict(t)},e.prototype.getOrCreateAppearanceCharacteristics=function(){var t=this.MK();if(t)return tO.fromDict(t);var e=tO.fromDict(this.dict.context.obj({}));return this.dict.set(E.A.of("MK"),e.dict),e},e.prototype.getBorderStyle=function(){var t=this.BS();if(t)return tT.A.fromDict(t)},e.prototype.getOrCreateBorderStyle=function(){var t=this.BS();if(t)return tT.A.fromDict(t);var e=tT.A.fromDict(this.dict.context.obj({}));return this.dict.set(E.A.of("BS"),e.dict),e},e.prototype.getOnValue=function(){var t,e=null==(t=this.getAppearances())?void 0:t.normal;if(e instanceof z.A)for(var o=e.keys(),n=0,r=o.length;n<r;n++){var i=o[n];if(i!==E.A.of("Off"))return i}},e.fromDict=function(t){return new e(t)},e.create=function(t,o){return new e(t.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:o}))},e}(tP),tW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.FT=function(){var t=this.getInheritableAttribute(E.A.of("FT"));return this.dict.context.lookup(t,E.A)},e.prototype.getWidgets=function(){var t=this.Kids();if(!t)return[tN.fromDict(this.dict)];for(var e=Array(t.size()),o=0,n=t.size();o<n;o++){var r=t.lookup(o,z.A);e[o]=tN.fromDict(r)}return e},e.prototype.addWidget=function(t){this.normalizedEntries().Kids.push(t)},e.prototype.removeWidget=function(t){var e=this.Kids();if(e){if(t<0||t>e.size())throw new D.fx(t,0,e.size());e.remove(t)}else{if(0!==t)throw new D.fx(t,0,0);this.setKids([])}},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([this.ref]),this.dict.set(E.A.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,o){return new e(t,o)},e}(tj),tI=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.Opt=function(){return this.dict.lookupMaybe(E.A.of("Opt"),ty.A,th.A,W.A)},e.prototype.setOpt=function(t){this.dict.set(E.A.of("Opt"),this.dict.context.obj(t))},e.prototype.getExportValues=function(){var t=this.Opt();if(t){if(t instanceof ty.A||t instanceof th.A)return[t];for(var e=[],o=0,n=t.size();o<n;o++){var r=t.lookup(o);(r instanceof ty.A||r instanceof th.A)&&e.push(r)}return e}},e.prototype.removeExportValue=function(t){var e=this.Opt();if(e)if(e instanceof ty.A||e instanceof th.A){if(0!==t)throw new D.fx(t,0,0);this.setOpt([])}else{if(t<0||t>e.size())throw new D.fx(t,0,e.size());e.remove(t)}},e.prototype.normalizeExportValues=function(){for(var t,e,o,n,r=null!=(t=this.getExportValues())?t:[],i=[],a=this.getWidgets(),s=0,u=a.length;s<u;s++){var c=a[s],l=null!=(e=r[s])?e:th.A.fromText(null!=(n=null==(o=c.getOnValue())?void 0:o.decodeText())?n:"");i.push(l)}this.setOpt(i)},e.prototype.addOpt=function(t,e){this.normalizeExportValues();var o,n,r=t.decodeText();if(e)for(var i=null!=(o=this.getExportValues())?o:[],a=0,s=i.length;a<s;a++)i[a].decodeText()===r&&(n=a);var u=this.Opt();return u.push(t),null!=n?n:u.size()-1},e.prototype.addWidgetWithOpt=function(t,e,o){var n=this.addOpt(e,o),r=E.A.of(String(n));return this.addWidget(t),r},e}(tW),tR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.setValue=function(t){if(t!==(null!=(e=this.getOnValue())?e:E.A.of("Yes"))&&t!==E.A.of("Off"))throw new D.cR;this.dict.set(E.A.of("V"),t);for(var e,o=this.getWidgets(),n=0,r=o.length;n<r;n++){var i=o[n],a=i.getOnValue()===t?t:E.A.of("Off");i.setAppearanceState(a)}},e.prototype.getValue=function(){var t=this.V();return t instanceof E.A?t:E.A.of("Off")},e.prototype.getOnValue=function(){var t=this.getWidgets()[0];return null==t?void 0:t.getOnValue()},e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Btn",Kids:[]}),n=t.register(o);return new e(o,n)},e}(tI),tM=function(t){return 1<<t};(l=w||(w={}))[l.ReadOnly=tM(0)]="ReadOnly",l[l.Required=tM(1)]="Required",l[l.NoExport=tM(2)]="NoExport",(h=S||(S={}))[h.NoToggleToOff=tM(14)]="NoToggleToOff",h[h.Radio=tM(15)]="Radio",h[h.PushButton=tM(16)]="PushButton",h[h.RadiosInUnison=tM(25)]="RadiosInUnison",(f=x||(x={}))[f.Multiline=tM(12)]="Multiline",f[f.Password=tM(13)]="Password",f[f.FileSelect=tM(20)]="FileSelect",f[f.DoNotSpellCheck=tM(22)]="DoNotSpellCheck",f[f.DoNotScroll=tM(23)]="DoNotScroll",f[f.Comb=tM(24)]="Comb",f[f.RichText=tM(25)]="RichText",(d=F||(F={}))[d.Combo=tM(17)]="Combo",d[d.Edit=tM(18)]="Edit",d[d.Sort=tM(19)]="Sort",d[d.MultiSelect=tM(21)]="MultiSelect",d[d.DoNotSpellCheck=tM(22)]="DoNotSpellCheck",d[d.CommitOnSelChange=tM(26)]="CommitOnSelChange";var tz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.setValues=function(t){if(this.hasFlag(F.Combo)&&!this.hasFlag(F.Edit)&&!this.valuesAreValid(t))throw new D.cR;if(0===t.length&&this.dict.delete(E.A.of("V")),1===t.length&&this.dict.set(E.A.of("V"),t[0]),t.length>1){if(!this.hasFlag(F.MultiSelect))throw new D.Hi;this.dict.set(E.A.of("V"),this.dict.context.obj(t))}this.updateSelectedIndices(t)},e.prototype.valuesAreValid=function(t){for(var e=this.getOptions(),o=0,n=t.length;o<n;o++){var r=function(o){var n=t[o].decodeText();if(!e.find(function(t){return n===(t.display||t.value).decodeText()}))return{value:!1}}(o);if("object"==typeof r)return r.value}return!0},e.prototype.updateSelectedIndices=function(t){if(t.length>1){for(var e=Array(t.length),o=this.getOptions(),n=0,r=t.length;n<r;n++)!function(n){var r=t[n].decodeText();e[n]=o.findIndex(function(t){return r===(t.display||t.value).decodeText()})}(n);this.dict.set(E.A.of("I"),this.dict.context.obj(e.sort()))}else this.dict.delete(E.A.of("I"))},e.prototype.getValues=function(){var t=this.V();if(t instanceof ty.A||t instanceof th.A)return[t];if(t instanceof W.A){for(var e=[],o=0,n=t.size();o<n;o++){var r=t.lookup(o);(r instanceof ty.A||r instanceof th.A)&&e.push(r)}return e}return[]},e.prototype.Opt=function(){return this.dict.lookupMaybe(E.A.of("Opt"),ty.A,th.A,W.A)},e.prototype.setOptions=function(t){for(var e=Array(t.length),o=0,n=t.length;o<n;o++){var r=t[o],i=r.value,a=r.display;e[o]=this.dict.context.obj([i,a||i])}this.dict.set(E.A.of("Opt"),this.dict.context.obj(e))},e.prototype.getOptions=function(){var t=this.Opt();if(t instanceof ty.A||t instanceof th.A)return[{value:t,display:t}];if(t instanceof W.A){for(var e=[],o=0,n=t.size();o<n;o++){var r=t.lookup(o);if((r instanceof ty.A||r instanceof th.A)&&e.push({value:r,display:r}),r instanceof W.A&&r.size()>0){var i=r.lookup(0,ty.A,th.A),a=r.lookupMaybe(1,ty.A,th.A);e.push({value:i,display:a||i})}}return e}return[]},e}(tW),tE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Ch",Ff:F.Combo,Kids:[]}),n=t.register(o);return new e(o,n)},e}(tz),tU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.addField=function(t){var e=this.normalizedEntries().Kids;null==e||e.push(t)},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([]),this.dict.set(E.A.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({}),n=t.register(o);return new e(o,n)},e}(tj),tL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.fromDict=function(t,o){return new e(t,o)},e}(tW),tV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.MaxLen=function(){var t=this.dict.lookup(E.A.of("MaxLen"));if(t instanceof L.A)return t},e.prototype.Q=function(){var t=this.dict.lookup(E.A.of("Q"));if(t instanceof L.A)return t},e.prototype.setMaxLength=function(t){this.dict.set(E.A.of("MaxLen"),L.A.of(t))},e.prototype.removeMaxLength=function(){this.dict.delete(E.A.of("MaxLen"))},e.prototype.getMaxLength=function(){var t;return null==(t=this.MaxLen())?void 0:t.asNumber()},e.prototype.setQuadding=function(t){this.dict.set(E.A.of("Q"),L.A.of(t))},e.prototype.getQuadding=function(){var t;return null==(t=this.Q())?void 0:t.asNumber()},e.prototype.setValue=function(t){this.dict.set(E.A.of("V"),t)},e.prototype.removeValue=function(){this.dict.delete(E.A.of("V"))},e.prototype.getValue=function(){var t=this.V();if(t instanceof ty.A||t instanceof th.A)return t},e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Tx",Kids:[]}),n=t.register(o);return new e(o,n)},e}(tW),tH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Btn",Ff:S.PushButton,Kids:[]}),n=t.register(o);return new e(o,n)},e}(tI),tK=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.setValue=function(t){if(!this.getOnValues().includes(t)&&t!==E.A.of("Off"))throw new D.cR;this.dict.set(E.A.of("V"),t);for(var e=this.getWidgets(),o=0,n=e.length;o<n;o++){var r=e[o],i=r.getOnValue()===t?t:E.A.of("Off");r.setAppearanceState(i)}},e.prototype.getValue=function(){var t=this.V();return t instanceof E.A?t:E.A.of("Off")},e.prototype.getOnValues=function(){for(var t=this.getWidgets(),e=[],o=0,n=t.length;o<n;o++){var r=t[o].getOnValue();r&&e.push(r)}return e},e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Btn",Ff:S.Radio,Kids:[]}),n=t.register(o);return new e(o,n)},e}(tI),tq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.fromDict=function(t,o){return new e(t,o)},e.create=function(t){var o=t.obj({FT:"Ch",Kids:[]}),n=t.register(o);return new e(o,n)},e}(tz),tG=function(t){if(!t)return[];for(var e=[],o=0,n=t.size();o<n;o++){var r=t.get(o),i=t.lookup(o);r instanceof G&&i instanceof z.A&&e.push([tZ(i,r),r])}return e},tZ=function(t,e){return tQ(t)?tU.fromDict(t,e):tX(t,e)},tQ=function(t){var e=t.lookup(E.A.of("Kids"));if(e instanceof W.A)for(var o=0,n=e.size();o<n;o++){var r=e.lookup(o);if(r instanceof z.A&&r.has(E.A.of("T")))return!0}return!1},tX=function(t,e){var o=t$(t,E.A.of("FT")),n=t.context.lookup(o,E.A);return n===E.A.of("Btn")?tJ(t,e):n===E.A.of("Ch")?tY(t,e):n===E.A.of("Tx")?tV.fromDict(t,e):n===E.A.of("Sig")?tL.fromDict(t,e):tW.fromDict(t,e)},tJ=function(t,e){var o,n=t$(t,E.A.of("Ff")),r=t.context.lookupMaybe(n,L.A),i=null!=(o=null==r?void 0:r.asNumber())?o:0;return t_(i,S.PushButton)?tH.fromDict(t,e):t_(i,S.Radio)?tK.fromDict(t,e):tR.fromDict(t,e)},tY=function(t,e){var o,n=t$(t,E.A.of("Ff")),r=t.context.lookupMaybe(n,L.A);return t_(null!=(o=null==r?void 0:r.asNumber())?o:0,F.Combo)?tE.fromDict(t,e):tq.fromDict(t,e)},t_=function(t,e){return(t&e)!=0},t$=function(t,e){var o;return t0(t,function(t){o||(o=t.get(e))}),o},t0=function(t,e){e(t);var o=t.lookupMaybe(E.A.of("Parent"),z.A);o&&t0(o,e)},t5=function(){function t(t){this.dict=t}return t.prototype.Fields=function(){var t=this.dict.lookup(E.A.of("Fields"));if(t instanceof W.A)return t},t.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,e=Array(t.size()),o=0,n=t.size();o<n;o++){var r=t.get(o),i=t.lookup(o,z.A);e[o]=[tZ(i,r),r]}return e},t.prototype.getAllFields=function(){var t=[],e=function(o){if(o)for(var n=0,r=o.length;n<r;n++){var i=o[n];t.push(i);var a=i[0];a instanceof tU&&e(tG(a.Kids()))}};return e(this.getFields()),t},t.prototype.addField=function(t){var e=this.normalizedEntries().Fields;null==e||e.push(t)},t.prototype.removeField=function(t){var e=t.getParent(),o=void 0===e?this.normalizedEntries().Fields:e.Kids(),n=null==o?void 0:o.indexOf(t.ref);if(void 0===o||void 0===n)throw Error("Tried to remove inexistent field "+t.getFullyQualifiedName());o.remove(n),void 0!==e&&0===o.size()&&this.removeField(e)},t.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(E.A.of("Fields"),t)),{Fields:t}},t.fromDict=function(e){return new t(e)},t.create=function(e){return new t(e.obj({Fields:[]}))},t}(),t2=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.Pages=function(){return this.lookup(E.A.of("Pages"),z.A)},e.prototype.AcroForm=function(){return this.lookupMaybe(E.A.of("AcroForm"),z.A)},e.prototype.getAcroForm=function(){var t=this.AcroForm();if(t)return t5.fromDict(t)},e.prototype.getOrCreateAcroForm=function(){var t=this.getAcroForm();if(!t){t=t5.create(this.context);var e=this.context.register(t.dict);this.set(E.A.of("AcroForm"),e)}return t},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(E.A.of("ViewerPreferences"),z.A)},e.prototype.getViewerPreferences=function(){var t=this.ViewerPreferences();if(t)return tD.fromDict(t)},e.prototype.getOrCreateViewerPreferences=function(){var t=this.getViewerPreferences();if(!t){t=tD.create(this.context);var e=this.context.register(t.dict);this.set(E.A.of("ViewerPreferences"),e)}return t},e.prototype.insertLeafNode=function(t,e){var o=this.get(E.A.of("Pages"));return this.Pages().insertLeafNode(t,e)||o},e.prototype.removeLeafNode=function(t){this.Pages().removeLeafNode(t)},e.withContextAndPages=function(t,o){var n=new Map;return n.set(E.A.of("Type"),E.A.of("Catalog")),n.set(E.A.of("Pages"),o),new e(n,t)},e.fromMapWithContext=function(t,o){return new e(t,o)},e}(z.A),t1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,j.C6)(e,t),e.prototype.Parent=function(){return this.lookup(E.A.of("Parent"))},e.prototype.Kids=function(){return this.lookup(E.A.of("Kids"),W.A)},e.prototype.Count=function(){return this.lookup(E.A.of("Count"),L.A)},e.prototype.pushTreeNode=function(t){this.Kids().push(t)},e.prototype.pushLeafNode=function(t){var e=this.Kids();this.insertLeafKid(e.size(),t)},e.prototype.insertLeafNode=function(t,o){var n=this.Kids(),r=this.Count().asNumber();if(o>r)throw new D.PU(o,r);for(var i=o,a=0,s=n.size();a<s;a++){if(0===i)return void this.insertLeafKid(a,t);var u=n.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i)return c.insertLeafNode(t,i)||u;else i-=c.Count().asNumber();c instanceof tt&&(i-=1)}if(0===i)return void this.insertLeafKid(n.size(),t);throw new D.vV(o,"insertLeafNode")},e.prototype.removeLeafNode=function(t,o){void 0===o&&(o=!0);var n=this.Kids(),r=this.Count().asNumber();if(t>=r)throw new D.PU(t,r);for(var i=t,a=0,s=n.size();a<s;a++){var u=n.get(a),c=this.context.lookup(u);if(c instanceof e)if(c.Count().asNumber()>i){c.removeLeafNode(i,o),o&&0===c.Kids().size()&&n.remove(a);return}else i-=c.Count().asNumber();if(c instanceof tt)if(0===i)return void this.removeKid(a);else i-=1}throw new D.vV(t,"removeLeafNode")},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.traverse=function(t){for(var o=this.Kids(),n=0,r=o.size();n<r;n++){var i=o.get(n),a=this.context.lookup(i);a instanceof e&&a.traverse(t),t(a,i)}},e.prototype.insertLeafKid=function(t,e){var o=this.Kids();this.ascend(function(t){var e=t.Count().asNumber()+1;t.set(E.A.of("Count"),L.A.of(e))}),o.insert(t,e)},e.prototype.removeKid=function(t){var e=this.Kids();e.lookup(t)instanceof tt&&this.ascend(function(t){var e=t.Count().asNumber()-1;t.set(E.A.of("Count"),L.A.of(e))}),e.remove(t)},e.withContext=function(t,o){var n=new Map;return n.set(E.A.of("Type"),E.A.of("Pages")),n.set(E.A.of("Kids"),t.obj([])),n.set(E.A.of("Count"),t.obj(0)),o&&n.set(E.A.of("Parent"),o),new e(n,t)},e.fromMapWithContext=function(t,o){return new e(t,o)},e}(z.A),t4=o(55372),t3=o(6644),t9=o(99444),t6=o(73146),t8=o(47819),t7=o(35491),et=function(t){function e(e,o,n){void 0===n&&(n=!1);var r=t.call(this,e,n)||this;return r.context=o,r}return(0,j.C6)(e,t),e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.true))return M.True;if(this.matchKeyword(t6.L.false))return M.False;if(this.matchKeyword(t6.L.null))return U.A;var t=this.bytes.peek();if(t===B.A.LessThan&&this.bytes.peekAhead(1)===B.A.LessThan)return this.parseDictOrStream();if(t===B.A.LessThan)return this.parseHexString();if(t===B.A.LeftParen)return this.parseString();if(t===B.A.ForwardSlash)return this.parseName();if(t===B.A.LeftSquareBracket)return this.parseArray();if(t8.U$[t])return this.parseNumberOrRef();throw new D.m2(this.bytes.position(),t)},e.prototype.parseNumberOrRef=function(){var t=this.parseRawNumber();this.skipWhitespaceAndComments();var e=this.bytes.offset();if(t8.Uo[this.bytes.peek()]){var o=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===B.A.R)return this.bytes.assertNext(B.A.R),G.of(t,o)}return this.bytes.moveTo(e),L.A.of(t)},e.prototype.parseHexString=function(){var t="";for(this.bytes.assertNext(B.A.LessThan);!this.bytes.done()&&this.bytes.peek()!==B.A.GreaterThan;)t+=(0,O.sJ)(this.bytes.next());return this.bytes.assertNext(B.A.GreaterThan),th.A.of(t)},e.prototype.parseString=function(){for(var t=0,e=!1,o="";!this.bytes.done();){var n=this.bytes.next();if(o+=(0,O.sJ)(n),e||(n===B.A.LeftParen&&(t+=1),n===B.A.RightParen&&(t-=1)),n===B.A.BackSlash?e=!e:e&&(e=!1),0===t)return ty.A.of(o.substring(1,o.length-1))}throw new D.Qj(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(B.A.ForwardSlash);for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(t7.I[e]||t9.i[e])break;t+=(0,O.sJ)(e),this.bytes.next()}return E.A.of(t)},e.prototype.parseArray=function(){this.bytes.assertNext(B.A.LeftSquareBracket),this.skipWhitespaceAndComments();for(var t=W.A.withContext(this.context);this.bytes.peek()!==B.A.RightSquareBracket;){var e=this.parseObject();t.push(e),this.skipWhitespaceAndComments()}return this.bytes.assertNext(B.A.RightSquareBracket),t},e.prototype.parseDict=function(){this.bytes.assertNext(B.A.LessThan),this.bytes.assertNext(B.A.LessThan),this.skipWhitespaceAndComments();for(var t=new Map;!this.bytes.done()&&this.bytes.peek()!==B.A.GreaterThan&&this.bytes.peekAhead(1)!==B.A.GreaterThan;){var e=this.parseName(),o=this.parseObject();t.set(e,o),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(B.A.GreaterThan),this.bytes.assertNext(B.A.GreaterThan);var n=t.get(E.A.of("Type"));return n===E.A.of("Catalog")?t2.fromMapWithContext(t,this.context):n===E.A.of("Pages")?t1.fromMapWithContext(t,this.context):n===E.A.of("Page")?tt.fromMapWithContext(t,this.context):z.A.fromMapWithContext(t,this.context)},e.prototype.parseDictOrStream=function(){var t,e=this.bytes.position(),o=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(t6.L.streamEOF1)&&!this.matchKeyword(t6.L.streamEOF2)&&!this.matchKeyword(t6.L.streamEOF3)&&!this.matchKeyword(t6.L.streamEOF4)&&!this.matchKeyword(t6.L.stream))return o;var n=this.bytes.offset(),r=o.get(E.A.of("Length"));r instanceof L.A?(t=n+r.asNumber(),this.bytes.moveTo(t),this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.endstream)||(this.bytes.moveTo(n),t=this.findEndOfStreamFallback(e))):t=this.findEndOfStreamFallback(e);var i=this.bytes.slice(n,t);return H.of(o,i)},e.prototype.findEndOfStreamFallback=function(t){for(var e=1,o=this.bytes.offset();!this.bytes.done()&&(o=this.bytes.offset(),this.matchKeyword(t6.L.stream)?e+=1:this.matchKeyword(t6.L.EOF1endstream)||this.matchKeyword(t6.L.EOF2endstream)||this.matchKeyword(t6.L.EOF3endstream)||this.matchKeyword(t6.L.endstream)?e-=1:this.bytes.next(),0!==e););if(0!==e)throw new D.tV(t);return o},e.forBytes=function(t,o,n){return new e(t3.A.of(t),o,n)},e.forByteStream=function(t,o,n){return void 0===n&&(n=!1),new e(t,o,n)},e}(t4.A),ee=function(t){function e(e,o){var n=t.call(this,t3.A.fromPDFRawStream(e),e.dict.context)||this,r=e.dict;return n.alreadyParsed=!1,n.shouldWaitForTick=o||function(){return!1},n.firstOffset=r.lookup(E.A.of("First"),L.A).asNumber(),n.objectCount=r.lookup(E.A.of("N"),L.A).asNumber(),n}return(0,j.C6)(e,t),e.prototype.parseIntoContext=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e,o,n,r,i,a,s;return(0,j.YH)(this,function(u){switch(u.label){case 0:if(this.alreadyParsed)throw new D.jM("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,t=this.parseOffsetsAndObjectNumbers(),e=0,o=t.length,u.label=1;case 1:if(!(e<o))return[3,4];if(r=(n=t[e]).objectNumber,i=n.offset,this.bytes.moveTo(this.firstOffset+i),a=this.parseObject(),s=G.of(r,0),this.context.assign(s,a),!this.shouldWaitForTick())return[3,3];return[4,(0,O.KP)()];case 2:u.sent(),u.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},e.prototype.parseOffsetsAndObjectNumbers=function(){for(var t=[],e=0,o=this.objectCount;e<o;e++){this.skipWhitespaceAndComments();var n=this.parseRawInt();this.skipWhitespaceAndComments();var r=this.parseRawInt();t.push({objectNumber:n,offset:r})}return t},e.forStream=function(t,o){return new e(t,o)},e}(et),eo=function(){function t(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=t3.A.fromPDFRawStream(t),this.context=this.dict.context;var e=this.dict.lookup(E.A.of("Size"),L.A),o=this.dict.lookup(E.A.of("Index"));if(o instanceof W.A){this.subsections=[];for(var n=0,r=o.size();n<r;n+=2){var i=o.lookup(n+0,L.A).asNumber(),a=o.lookup(n+1,L.A).asNumber();this.subsections.push({firstObjectNumber:i,length:a})}}else this.subsections=[{firstObjectNumber:0,length:e.asNumber()}];var s=this.dict.lookup(E.A.of("W"),W.A);this.byteWidths=[-1,-1,-1];for(var n=0,r=s.size();n<r;n++)this.byteWidths[n]=s.lookup(n,L.A).asNumber()}return t.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new D.jM("PDFXRefStreamParser","parseIntoContext");return this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(E.A.of("Root")),Encrypt:this.dict.get(E.A.of("Encrypt")),Info:this.dict.get(E.A.of("Info")),ID:this.dict.get(E.A.of("ID"))},this.parseEntries()},t.prototype.parseEntries=function(){for(var t=[],e=this.byteWidths,o=e[0],n=e[1],r=e[2],i=0,a=this.subsections.length;i<a;i++)for(var s=this.subsections[i],u=s.firstObjectNumber,c=s.length,l=0;l<c;l++){for(var h=0,f=0,d=o;f<d;f++)h=h<<8|this.bytes.next();for(var p=0,f=0,d=n;f<d;f++)p=p<<8|this.bytes.next();for(var y=0,f=0,d=r;f<d;f++)y=y<<8|this.bytes.next();0===o&&(h=1);var g=u+l,v={ref:G.of(g,y),offset:p,deleted:0===h,inObjectStream:2===h};t.push(v)}return t},t.forStream=function(e){return new t(e)},t}(),en=function(t){function e(e,o,n,r){void 0===o&&(o=1/0),void 0===n&&(n=!1),void 0===r&&(r=!1);var i=t.call(this,t3.A.of(e),$.create(),r)||this;return i.alreadyParsed=!1,i.parsedObjects=0,i.shouldWaitForTick=function(){return i.parsedObjects+=1,i.parsedObjects%i.objectsPerTick==0},i.objectsPerTick=o,i.throwOnInvalidObject=n,i}return(0,j.C6)(e,t),e.prototype.parseDocument=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e;return(0,j.YH)(this,function(o){switch(o.label){case 0:if(this.alreadyParsed)throw new D.jM("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),o.label=1;case 1:if(this.bytes.done())return[3,3];return[4,this.parseDocumentSection()];case 2:if(o.sent(),(e=this.bytes.offset())===t)throw new D.Jl(this.bytes.position());return t=e,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(G.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(G.of(0))),[2,this.context]}})})},e.prototype.maybeRecoverRoot=function(){var t=function(t){return t instanceof z.A&&t.lookup(E.A.of("Type"))===E.A.of("Catalog")};if(!t(this.context.lookup(this.context.trailerInfo.Root)))for(var e=this.context.enumerateIndirectObjects(),o=0,n=e.length;o<n;o++){var r=e[o],i=r[0];t(r[1])&&(this.context.trailerInfo.Root=i)}},e.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(t6.L.header)){var t=this.parseRawInt();this.bytes.assertNext(B.A.Period);var e=this.parseRawInt(),o=N.forVersion(t,e);return this.skipBinaryHeaderComment(),o}this.bytes.next()}throw new D.Kc(this.bytes.position())},e.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var t=this.parseRawInt();this.skipWhitespaceAndComments();var e=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(t6.L.obj))throw new D.cZ(this.bytes.position(),t6.L.obj);return G.of(t,e)},e.prototype.matchIndirectObjectHeader=function(){var t=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch(e){return this.bytes.moveTo(t),!1}},e.prototype.parseIndirectObject=function(){return(0,j.sH)(this,void 0,void 0,function(){var t,e;return(0,j.YH)(this,function(o){switch(o.label){case 0:if(t=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),e=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.endobj),!(e instanceof H&&e.dict.lookup(E.A.of("Type"))===E.A.of("ObjStm")))return[3,2];return[4,ee.forStream(e,this.shouldWaitForTick).parseIntoContext()];case 1:return o.sent(),[3,3];case 2:e instanceof H&&e.dict.lookup(E.A.of("Type"))===E.A.of("XRef")?eo.forStream(e).parseIntoContext():this.context.assign(t,e),o.label=3;case 3:return[2,t]}})})},e.prototype.tryToParseInvalidIndirectObject=function(){var t=this.bytes.position(),e="Trying to parse invalid object: "+JSON.stringify(t)+")";if(this.throwOnInvalidObject)throw Error(e);console.warn(e);var o=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+o),this.skipWhitespaceAndComments();for(var n=this.bytes.offset(),r=!0;!this.bytes.done()&&(this.matchKeyword(t6.L.endobj)&&(r=!1),r);)this.bytes.next();if(r)throw new D.FY(t);var i=this.bytes.offset()-t6.L.endobj.length,a=ts.of(this.bytes.slice(n,i));return this.context.assign(o,a),o},e.prototype.parseIndirectObjects=function(){return(0,j.sH)(this,void 0,void 0,function(){var t;return(0,j.YH)(this,function(e){switch(e.label){case 0:this.skipWhitespaceAndComments(),e.label=1;case 1:if(!(!this.bytes.done()&&t8.Uo[this.bytes.peek()]))return[3,8];t=this.bytes.offset(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return e.sent(),[3,5];case 4:return e.sent(),this.bytes.moveTo(t),this.tryToParseInvalidIndirectObject(),[3,5];case 5:if(this.skipWhitespaceAndComments(),this.skipJibberish(),!this.shouldWaitForTick())return[3,7];return[4,(0,O.KP)()];case 6:e.sent(),e.label=7;case 7:return[3,1];case 8:return[2]}})})},e.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.xref)){this.skipWhitespaceAndComments();for(var t=-1,e=to.createEmpty();!this.bytes.done()&&t8.Uo[this.bytes.peek()];){var o=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();this.skipWhitespaceAndComments();var r=this.bytes.peek();if(r===B.A.n||r===B.A.f){var i=G.of(t,n);this.bytes.next()===B.A.n?e.addEntry(i,o):e.addDeletedEntry(i,o),t+=1}else t=o;this.skipWhitespaceAndComments()}return e}},e.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.trailer)){this.skipWhitespaceAndComments();var t=this.parseDict(),e=this.context;e.trailerInfo={Root:t.get(E.A.of("Root"))||e.trailerInfo.Root,Encrypt:t.get(E.A.of("Encrypt"))||e.trailerInfo.Encrypt,Info:t.get(E.A.of("Info"))||e.trailerInfo.Info,ID:t.get(E.A.of("ID"))||e.trailerInfo.ID}}},e.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.startxref)){this.skipWhitespaceAndComments();var t=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(t6.L.eof),this.skipWhitespaceAndComments(),this.matchKeyword(t6.L.eof),this.skipWhitespaceAndComments(),tn.forLastCrossRefSectionOffset(t)}},e.prototype.parseDocumentSection=function(){return(0,j.sH)(this,void 0,void 0,function(){return(0,j.YH)(this,function(t){switch(t.label){case 0:return[4,this.parseIndirectObjects()];case 1:return t.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},e.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var t=this.bytes.offset(),e=this.bytes.peek();if(e>=B.A.Space&&e<=B.A.Tilde&&(this.matchKeyword(t6.L.xref)||this.matchKeyword(t6.L.trailer)||this.matchKeyword(t6.L.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(t);break}this.bytes.next()}},e.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var t=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(t)}catch(t){this.bytes.next(),this.skipWhitespaceAndComments()}},e.forBytesWithOptions=function(t,o,n,r){return new e(t,o,n,r)},e}(et),er=function(t){return 1<<t};(p=k||(k={}))[p.Invisible=er(0)]="Invisible",p[p.Hidden=er(1)]="Hidden",p[p.Print=er(2)]="Print",p[p.NoZoom=er(3)]="NoZoom",p[p.NoRotate=er(4)]="NoRotate",p[p.NoView=er(5)]="NoView",p[p.ReadOnly=er(6)]="ReadOnly",p[p.Locked=er(7)]="Locked",p[p.ToggleNoView=er(8)]="ToggleNoView",p[p.LockedContents=er(9)]="LockedContents"},42762(t,e,o){var n=o(81205),r=o(28278),i=o(84416),a=o(56706),s=o(47387);e.A=function(t){function e(e){var o=t.call(this)||this;return o.array=[],o.context=e,o}return(0,n.C6)(e,t),e.prototype.size=function(){return this.array.length},e.prototype.push=function(t){this.array.push(t)},e.prototype.insert=function(t,e){this.array.splice(t,0,e)},e.prototype.indexOf=function(t){var e=this.array.indexOf(t);return -1===e?void 0:e},e.prototype.remove=function(t){this.array.splice(t,1)},e.prototype.set=function(t,e){this.array[t]=e},e.prototype.get=function(t){return this.array[t]},e.prototype.lookupMaybe=function(t){for(var e,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return(e=this.context).lookupMaybe.apply(e,(0,n.aN)([this.get(t)],o))},e.prototype.lookup=function(t){for(var e,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];return(e=this.context).lookup.apply(e,(0,n.aN)([this.get(t)],o))},e.prototype.asRectangle=function(){if(4!==this.size())throw new s.OT(this.size());var t=this.lookup(0,r.A).asNumber(),e=this.lookup(1,r.A).asNumber();return{x:t,y:e,width:this.lookup(2,r.A).asNumber()-t,height:this.lookup(3,r.A).asNumber()-e}},e.prototype.asArray=function(){return this.array.slice()},e.prototype.clone=function(t){for(var o=e.withContext(t||this.context),n=0,r=this.size();n<r;n++)o.push(this.array[n]);return o},e.prototype.toString=function(){for(var t="[ ",e=0,o=this.size();e<o;e++)t+=this.get(e).toString(),t+=" ";return t+"]"},e.prototype.sizeInBytes=function(){for(var t=3,e=0,o=this.size();e<o;e++)t+=this.get(e).sizeInBytes()+1;return t},e.prototype.copyBytesInto=function(t,e){var o=e;t[e++]=a.A.LeftSquareBracket,t[e++]=a.A.Space;for(var n=0,r=this.size();n<r;n++)e+=this.get(n).copyBytesInto(t,e),t[e++]=a.A.Space;return t[e++]=a.A.RightSquareBracket,e-o},e.prototype.scalePDFNumbers=function(t,e){for(var o=0,n=this.size();o<n;o++){var i=this.lookup(o);if(i instanceof r.A){var a=o%2==0?t:e;this.set(o,r.A.of(i.asNumber()*a))}}},e.withContext=function(t){return new e(t)},e}(i.A)},76187(t,e,o){var n=o(81205),r=o(21860),i=o(34714),a=o(84416),s=o(56706);e.A=function(t){function e(e,o){var n=t.call(this)||this;return n.dict=e,n.context=o,n}return(0,n.C6)(e,t),e.prototype.keys=function(){return Array.from(this.dict.keys())},e.prototype.values=function(){return Array.from(this.dict.values())},e.prototype.entries=function(){return Array.from(this.dict.entries())},e.prototype.set=function(t,e){this.dict.set(t,e)},e.prototype.get=function(t,e){void 0===e&&(e=!1);var o=this.dict.get(t);if(o!==i.A||e)return o},e.prototype.has=function(t){var e=this.dict.get(t);return void 0!==e&&e!==i.A},e.prototype.lookupMaybe=function(t){for(var e,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];var a=o.includes(i.A),s=(e=this.context).lookupMaybe.apply(e,(0,n.aN)([this.get(t,a)],o));if(s!==i.A||a)return s},e.prototype.lookup=function(t){for(var e,o=[],r=1;r<arguments.length;r++)o[r-1]=arguments[r];var a=o.includes(i.A),s=(e=this.context).lookup.apply(e,(0,n.aN)([this.get(t,a)],o));if(s!==i.A||a)return s},e.prototype.delete=function(t){return this.dict.delete(t)},e.prototype.asMap=function(){return new Map(this.dict)},e.prototype.uniqueKey=function(t){void 0===t&&(t="");for(var e=this.keys(),o=r.A.of(this.context.addRandomSuffix(t,10));e.includes(o);)o=r.A.of(this.context.addRandomSuffix(t,10));return o},e.prototype.clone=function(t){for(var o=e.withContext(t||this.context),n=this.entries(),r=0,i=n.length;r<i;r++){var a=n[r],s=a[0],u=a[1];o.set(s,u)}return o},e.prototype.toString=function(){for(var t="<<\n",e=this.entries(),o=0,n=e.length;o<n;o++){var r=e[o],i=r[0],a=r[1];t+=i.toString()+" "+a.toString()+"\n"}return t+">>"},e.prototype.sizeInBytes=function(){for(var t=5,e=this.entries(),o=0,n=e.length;o<n;o++){var r=e[o],i=r[0],a=r[1];t+=i.sizeInBytes()+a.sizeInBytes()+2}return t},e.prototype.copyBytesInto=function(t,e){var o=e;t[e++]=s.A.LessThan,t[e++]=s.A.LessThan,t[e++]=s.A.Newline;for(var n=this.entries(),r=0,i=n.length;r<i;r++){var a=n[r],u=a[0],c=a[1];e+=u.copyBytesInto(t,e),t[e++]=s.A.Space,e+=c.copyBytesInto(t,e),t[e++]=s.A.Newline}return t[e++]=s.A.GreaterThan,t[e++]=s.A.GreaterThan,e-o},e.withContext=function(t){return new e(new Map,t)},e.fromMapWithContext=function(t,o){return new e(t,o)},e}(a.A)},15291(t,e,o){var n=o(81205),r=o(84416),i=o(56706),a=o(44910),s=o(47387);e.A=function(t){function e(e){var o=t.call(this)||this;return o.value=e,o}return(0,n.C6)(e,t),e.prototype.asBytes=function(){for(var t=this.value+(this.value.length%2==1?"0":""),e=t.length,o=new Uint8Array(t.length/2),n=0,r=0;n<e;){var i=parseInt(t.substring(n,n+2),16);o[r]=i,n+=2,r+=1}return o},e.prototype.decodeText=function(){var t=this.asBytes();return(0,a.pJ)(t)?(0,a.NJ)(t):(0,a.IE)(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=(0,a._U)(t);if(!e)throw new s.bq(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"<"+this.value+">"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.LessThan,e+=(0,a.BO)(this.value,t,e),t[e++]=i.A.GreaterThan,this.value.length+2},e.of=function(t){return new e(t)},e.fromText=function(t){for(var o=(0,a.bW)(t),n="",r=0,i=o.length;r<i;r++)n+=(0,a.vu)(o[r],4);return new e(n)},e}(r.A)},21860(t,e,o){var n=o(81205),r=o(47387),i=o(84416),a=o(56706),s=o(35653),u=o(44910),c={},l=new Map;e.A=function(t){function e(e,o){var n=this;if(e!==c)throw new r.EQ("PDFName");n=t.call(this)||this;for(var i="/",l=0,h=o.length;l<h;l++){var f=o[l],d=(0,u.VW)(f);i+=d>=a.A.ExclamationPoint&&d<=a.A.Tilde&&!s.C[d]?f:"#"+(0,u.U5)(d)}return n.encodedName=i,n}return(0,n.C6)(e,t),e.prototype.asBytes=function(){for(var t=[],e="",o=!1,n=function(e){void 0!==e&&t.push(e),o=!1},r=1,i=this.encodedName.length;r<i;r++){var s=this.encodedName[r],c=(0,u.VW)(s),l=this.encodedName[r+1];o?c>=a.A.Zero&&c<=a.A.Nine||c>=a.A.a&&c<=a.A.f||c>=a.A.A&&c<=a.A.F?2!==(e+=s).length&&(l>="0"&&l<="9"||l>="a"&&l<="f"||l>="A"&&l<="F")||(n(parseInt(e,16)),e=""):n(c):c===a.A.Hash?o=!0:n(c)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return String.fromCharCode.apply(String,Array.from(t))},e.prototype.asString=function(){return this.encodedName},e.prototype.value=function(){return this.encodedName},e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.encodedName},e.prototype.sizeInBytes=function(){return this.encodedName.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,u.BO)(this.encodedName,t,e),this.encodedName.length},e.of=function(t){var o=t.replace(/#([\dABCDEF]{2})/g,function(t,e){return(0,u.Di)(e)}),n=l.get(o);return n||(n=new e(c,o),l.set(o,n)),n},e.Length=e.of("Length"),e.FlateDecode=e.of("FlateDecode"),e.Resources=e.of("Resources"),e.Font=e.of("Font"),e.XObject=e.of("XObject"),e.ExtGState=e.of("ExtGState"),e.Contents=e.of("Contents"),e.Type=e.of("Type"),e.Parent=e.of("Parent"),e.MediaBox=e.of("MediaBox"),e.Page=e.of("Page"),e.Annots=e.of("Annots"),e.TrimBox=e.of("TrimBox"),e.ArtBox=e.of("ArtBox"),e.BleedBox=e.of("BleedBox"),e.CropBox=e.of("CropBox"),e.Rotate=e.of("Rotate"),e.Title=e.of("Title"),e.Author=e.of("Author"),e.Subject=e.of("Subject"),e.Creator=e.of("Creator"),e.Keywords=e.of("Keywords"),e.Producer=e.of("Producer"),e.CreationDate=e.of("CreationDate"),e.ModDate=e.of("ModDate"),e}(i.A)},34714(t,e,o){var n=o(81205),r=o(84416),i=o(56706);e.A=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.C6)(e,t),e.prototype.asNull=function(){return null},e.prototype.clone=function(){return this},e.prototype.toString=function(){return"null"},e.prototype.sizeInBytes=function(){return 4},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.n,t[e++]=i.A.u,t[e++]=i.A.l,t[e++]=i.A.l,4},e}(r.A))},28278(t,e,o){var n=o(81205),r=o(44910);e.A=function(t){function e(e){var o=t.call(this)||this;return o.numberValue=e,o.stringValue=(0,r.um)(e),o}return(0,n.C6)(e,t),e.prototype.asNumber=function(){return this.numberValue},e.prototype.value=function(){return this.numberValue},e.prototype.clone=function(){return e.of(this.numberValue)},e.prototype.toString=function(){return this.stringValue},e.prototype.sizeInBytes=function(){return this.stringValue.length},e.prototype.copyBytesInto=function(t,e){return e+=(0,r.BO)(this.stringValue,t,e),this.stringValue.length},e.of=function(t){return new e(t)},e}(o(84416).A)},84416(t,e,o){var n=o(47387);e.A=function(){function t(){}return t.prototype.clone=function(t){throw new n.ju(this.constructor.name,"clone")},t.prototype.toString=function(){throw new n.ju(this.constructor.name,"toString")},t.prototype.sizeInBytes=function(){throw new n.ju(this.constructor.name,"sizeInBytes")},t.prototype.copyBytesInto=function(t,e){throw new n.ju(this.constructor.name,"copyBytesInto")},t}()},9326(t,e,o){var n=o(81205),r=o(84416),i=o(56706),a=o(44910),s=o(47387);e.A=function(t){function e(e){var o=t.call(this)||this;return o.value=e,o}return(0,n.C6)(e,t),e.prototype.asBytes=function(){for(var t=[],e="",o=!1,n=function(e){void 0!==e&&t.push(e),o=!1},r=0,s=this.value.length;r<s;r++){var u=this.value[r],c=(0,a.VW)(u),l=this.value[r+1];o?c===i.A.Newline||c===i.A.CarriageReturn?n():c===i.A.n?n(i.A.Newline):c===i.A.r?n(i.A.CarriageReturn):c===i.A.t?n(i.A.Tab):c===i.A.b?n(i.A.Backspace):c===i.A.f?n(i.A.FormFeed):c===i.A.LeftParen?n(i.A.LeftParen):c===i.A.RightParen?n(i.A.RightParen):c===i.A.Backspace?n(i.A.BackSlash):c>=i.A.Zero&&c<=i.A.Seven?3!==(e+=u).length&&l>="0"&&l<="7"||(n(parseInt(e,8)),e=""):n(c):c===i.A.BackSlash?o=!0:n(c)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return(0,a.pJ)(t)?(0,a.NJ)(t):(0,a.IE)(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=(0,a._U)(t);if(!e)throw new s.bq(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=i.A.LeftParen,e+=(0,a.BO)(this.value,t,e),t[e++]=i.A.RightParen,this.value.length+2},e.of=function(t){return new e(t)},e.fromDate=function(t){return new e("D:"+(0,a.CF)(String(t.getUTCFullYear()),4,"0")+(0,a.CF)(String(t.getUTCMonth()+1),2,"0")+(0,a.CF)(String(t.getUTCDate()),2,"0")+(0,a.CF)(String(t.getUTCHours()),2,"0")+(0,a.CF)(String(t.getUTCMinutes()),2,"0")+(0,a.CF)(String(t.getUTCSeconds()),2,"0")+"Z")},e}(r.A)},46442(t,e){e.A=function(){function t(t,e,o){this.bytes=t,this.start=e||0,this.pos=this.start,this.end=e&&o?e+o:this.bytes.length}return Object.defineProperty(t.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.length},enumerable:!1,configurable:!0}),t.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},t.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return -1===t||-1===e?-1:(t<<8)+e},t.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},t.prototype.getBytes=function(t,e){void 0===e&&(e=!1);var o=this.bytes,n=this.pos,r=this.end;if(t){var i=n+t;i>r&&(i=r),this.pos=i;var a=o.subarray(n,i);return e?new Uint8ClampedArray(a):a}var a=o.subarray(n,r);return e?new Uint8ClampedArray(a):a},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var o=this.getBytes(t,e);return this.pos-=o.length,o},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=this.start},t.prototype.moveStart=function(){this.start=this.pos},t.prototype.makeSubStream=function(e,o){return new t(this.bytes,e,o)},t.prototype.decode=function(){return this.bytes},t}()},76075(t,e,o){o.d(e,{j:()=>S});var n=o(47387),r=o(42762),i=o(76187),a=o(21860),s=o(28278),u=o(81205),c=o(10528),l=function(t){return 32===t||9===t||13===t||10===t},h=function(t){function e(e,o){var n=t.call(this,o)||this;return n.stream=e,n.input=new Uint8Array(5),o&&(o*=.8),n}return(0,u.C6)(e,t),e.prototype.readBlock=function(){for(var t,e,o=this.stream,n=o.getByte();l(n);)n=o.getByte();if(-1===n||126===n){this.eof=!0;return}var r=this.bufferLength;if(122===n){for(t=this.ensureBuffer(r+4),e=0;e<4;++e)t[r+e]=0;this.bufferLength+=4}else{var i=this.input;for(i[0]=n,e=1;e<5;++e){for(n=o.getByte();l(n);)n=o.getByte();if(i[e]=n,-1===n||126===n)break}if(t=this.ensureBuffer(r+e-1),this.bufferLength+=e-1,e<5){for(;e<5;++e)i[e]=117;this.eof=!0}var a=0;for(e=0;e<5;++e)a=85*a+(i[e]-33);for(e=3;e>=0;--e)t[r+e]=255&a,a>>=8}},e}(c.A),f=function(t){function e(e,o){var n=t.call(this,o)||this;return n.stream=e,n.firstDigit=-1,o&&(o*=.5),n}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t=this.stream.getBytes(8e3);if(!t.length){this.eof=!0;return}for(var e=t.length+1>>1,o=this.ensureBuffer(this.bufferLength+e),n=this.bufferLength,r=this.firstDigit,i=0,a=t.length;i<a;i++){var s=t[i],u=void 0;if(s>=48&&s<=57)u=15&s;else if(s>=65&&s<=70||s>=97&&s<=102)u=(15&s)+9;else{if(62!==s)continue;this.eof=!0;break}r<0?r=u:(o[n++]=r<<4|u,r=-1)}r>=0&&this.eof&&(o[n++]=r<<4,r=-1),this.firstDigit=r,this.bufferLength=n},e}(c.A),d=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),p=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),y=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),g=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],v=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],m=function(t){function e(e,o){var n=t.call(this,o)||this;n.stream=e;var r=e.getByte(),i=e.getByte();if(-1===r||-1===i)throw Error("Invalid header in flate stream: "+r+", "+i);if((15&r)!=8)throw Error("Unknown compression method in flate stream: "+r+", "+i);if(((r<<8)+i)%31!=0)throw Error("Bad FCHECK in flate stream: "+r+", "+i);if(32&i)throw Error("FDICT bit set in flate stream: "+r+", "+i);return n.codeSize=0,n.codeBuf=0,n}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e,o,n,r=this.stream,i=this.getBits(3);if(1&i&&(this.eof=!0),0==(i>>=1)){var a=void 0;if(-1===(a=r.getByte()))throw Error("Bad block header in flate stream");var s=a;if(-1===(a=r.getByte())||(s|=a<<8,-1===(a=r.getByte())))throw Error("Bad block header in flate stream");var u=a;if(-1===(a=r.getByte()))throw Error("Bad block header in flate stream");if((u|=a<<8)!=(65535&~s)&&(0!==s||0!==u))throw Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var c=this.bufferLength;t=this.ensureBuffer(c+s);var l=c+s;if(this.bufferLength=l,0===s)-1===r.peekByte()&&(this.eof=!0);else for(var h=c;h<l;++h){if(-1===(a=r.getByte())){this.eof=!0;break}t[h]=a}return}if(1===i)o=g,n=v;else if(2===i){var f=this.getBits(5)+257,m=this.getBits(5)+1,b=this.getBits(4)+4,A=new Uint8Array(d.length),C=void 0;for(C=0;C<b;++C)A[d[C]]=this.getBits(3);var w=this.generateHuffmanTable(A);e=0,C=0;for(var S=f+m,x=new Uint8Array(S),F=void 0,k=void 0,D=void 0;C<S;){var B=this.getCode(w);if(16===B)F=2,k=3,D=e;else if(17===B)F=3,k=3,D=e=0;else if(18===B)F=7,k=11,D=e=0;else{x[C++]=e=B;continue}for(var j=this.getBits(F)+k;j-- >0;)x[C++]=D}o=this.generateHuffmanTable(x.subarray(0,f)),n=this.generateHuffmanTable(x.subarray(f,S))}else throw Error("Unknown block type in flate stream");for(var T=(t=this.buffer)?t.length:0,P=this.bufferLength;;){var O=this.getCode(o);if(O<256){P+1>=T&&(T=(t=this.ensureBuffer(P+1)).length),t[P++]=O;continue}if(256===O){this.bufferLength=P;return}O-=257;var N=(O=p[O])>>16;N>0&&(N=this.getBits(N)),e=(65535&O)+N,(N=(O=y[O=this.getCode(n)])>>16)>0&&(N=this.getBits(N));var W=(65535&O)+N;P+e>=T&&(T=(t=this.ensureBuffer(P+e)).length);for(var I=0;I<e;++I,++P)t[P]=t[P-W]}},e.prototype.getBits=function(t){for(var e,o=this.stream,n=this.codeSize,r=this.codeBuf;n<t;){if(-1===(e=o.getByte()))throw Error("Bad encoding in flate stream");r|=e<<n,n+=8}return e=r&(1<<t)-1,this.codeBuf=r>>t,this.codeSize=n-=t,e},e.prototype.getCode=function(t){for(var e,o=this.stream,n=t[0],r=t[1],i=this.codeSize,a=this.codeBuf;i<r&&-1!==(e=o.getByte());)a|=e<<i,i+=8;var s=n[a&(1<<r)-1];"number"==typeof n&&console.log("FLATE:",s);var u=s>>16;if(u<1||i<u)throw Error("Bad encoding in flate stream");return this.codeBuf=a>>u,this.codeSize=i-u,65535&s},e.prototype.generateHuffmanTable=function(t){var e,o=t.length,n=0;for(e=0;e<o;++e)t[e]>n&&(n=t[e]);for(var r=1<<n,i=new Int32Array(r),a=1,s=0,u=2;a<=n;++a,s<<=1,u<<=1)for(var c=0;c<o;++c)if(t[c]===a){var l=0,h=s;for(e=0;e<a;++e)l=l<<1|1&h,h>>=1;for(e=l;e<r;e+=u)i[e]=a<<16|c;++s}return[i,n]},e}(c.A),b=function(t){function e(e,o,n){var r=t.call(this,o)||this;r.stream=e,r.cachedData=0,r.bitsCached=0;for(var i={earlyChange:n,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(4096),dictionaryLengths:new Uint16Array(4096),dictionaryPrevCodes:new Uint16Array(4096),currentSequence:new Uint8Array(4096),currentSequenceLength:0},a=0;a<256;++a)i.dictionaryValues[a]=a,i.dictionaryLengths[a]=1;return r.lzwState=i,r}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e,o,n=1024,r=this.lzwState;if(r){var i=r.earlyChange,a=r.nextCode,s=r.dictionaryValues,u=r.dictionaryLengths,c=r.dictionaryPrevCodes,l=r.codeLength,h=r.prevCode,f=r.currentSequence,d=r.currentSequenceLength,p=0,y=this.bufferLength,g=this.ensureBuffer(this.bufferLength+n);for(t=0;t<512;t++){var v=this.readBits(l),m=d>0;if(!v||v<256)f[0]=v,d=1;else if(v>=258)if(v<a)for(e=(d=u[v])-1,o=v;e>=0;e--)f[e]=s[o],o=c[o];else f[d++]=f[0];else if(256===v){l=9,a=258,d=0;continue}else{this.eof=!0,delete this.lzwState;break}if(m&&(c[a]=h,u[a]=u[h]+1,s[a]=f[0],l=++a+i&a+i-1?l:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),h=v,n<(p+=d)){do n+=512;while(n<p)g=this.ensureBuffer(this.bufferLength+n)}for(e=0;e<d;e++)g[y++]=f[e]}r.nextCode=a,r.codeLength=l,r.prevCode=h,r.currentSequenceLength=d,this.bufferLength=y}},e.prototype.readBits=function(t){for(var e=this.bitsCached,o=this.cachedData;e<t;){var n=this.stream.getByte();if(-1===n)return this.eof=!0,null;o=o<<8|n,e+=8}return this.bitsCached=e-=t,this.cachedData=o,o>>>e&(1<<t)-1},e}(c.A),A=function(t){function e(e,o){var n=t.call(this,o)||this;return n.stream=e,n}return(0,u.C6)(e,t),e.prototype.readBlock=function(){var t,e=this.stream.getBytes(2);if(!e||e.length<2||128===e[0]){this.eof=!0;return}var o=this.bufferLength,n=e[0];if(n<128){if((t=this.ensureBuffer(o+n+1))[o++]=e[1],n>0){var r=this.stream.getBytes(n);t.set(r,o),o+=n}}else{n=257-n;var i=e[1];t=this.ensureBuffer(o+n+1);for(var a=0;a<n;a++)t[o++]=i}this.bufferLength=o},e}(c.A),C=o(46442),w=function(t,e,o){if(e===a.A.of("FlateDecode"))return new m(t);if(e===a.A.of("LZWDecode")){var r=1;if(o instanceof i.A){var u=o.lookup(a.A.of("EarlyChange"));u instanceof s.A&&(r=u.asNumber())}return new b(t,void 0,r)}if(e===a.A.of("ASCII85Decode"))return new h(t);if(e===a.A.of("ASCIIHexDecode"))return new f(t);if(e===a.A.of("RunLengthDecode"))return new A(t);throw new n.B4(e.asString())},S=function(t){var e=t.dict,o=t.contents,s=new C.A(o),u=e.lookup(a.A.of("Filter")),c=e.lookup(a.A.of("DecodeParms"));if(u instanceof a.A)s=w(s,u,c);else if(u instanceof r.A)for(var l=0,h=u.size();l<h;l++)s=w(s,u.lookup(l,a.A),c&&c.lookupMaybe(l,i.A));else if(u)throw new n.$T([a.A,r.A],u);return s}},56706(t,e){var o,n;(n=o||(o={}))[n.Null=0]="Null",n[n.Backspace=8]="Backspace",n[n.Tab=9]="Tab",n[n.Newline=10]="Newline",n[n.FormFeed=12]="FormFeed",n[n.CarriageReturn=13]="CarriageReturn",n[n.Space=32]="Space",n[n.ExclamationPoint=33]="ExclamationPoint",n[n.Hash=35]="Hash",n[n.Percent=37]="Percent",n[n.LeftParen=40]="LeftParen",n[n.RightParen=41]="RightParen",n[n.Plus=43]="Plus",n[n.Minus=45]="Minus",n[n.Dash=45]="Dash",n[n.Period=46]="Period",n[n.ForwardSlash=47]="ForwardSlash",n[n.Zero=48]="Zero",n[n.One=49]="One",n[n.Two=50]="Two",n[n.Three=51]="Three",n[n.Four=52]="Four",n[n.Five=53]="Five",n[n.Six=54]="Six",n[n.Seven=55]="Seven",n[n.Eight=56]="Eight",n[n.Nine=57]="Nine",n[n.LessThan=60]="LessThan",n[n.GreaterThan=62]="GreaterThan",n[n.A=65]="A",n[n.D=68]="D",n[n.E=69]="E",n[n.F=70]="F",n[n.O=79]="O",n[n.P=80]="P",n[n.R=82]="R",n[n.LeftSquareBracket=91]="LeftSquareBracket",n[n.BackSlash=92]="BackSlash",n[n.RightSquareBracket=93]="RightSquareBracket",n[n.a=97]="a",n[n.b=98]="b",n[n.d=100]="d",n[n.e=101]="e",n[n.f=102]="f",n[n.i=105]="i",n[n.j=106]="j",n[n.l=108]="l",n[n.m=109]="m",n[n.n=110]="n",n[n.o=111]="o",n[n.r=114]="r",n[n.s=115]="s",n[n.t=116]="t",n[n.u=117]="u",n[n.x=120]="x",n[n.LeftCurly=123]="LeftCurly",n[n.RightCurly=125]="RightCurly",n[n.Tilde=126]="Tilde",e.A=o},64772(t,e,o){var n=o(80285),r=o(67531);o(44910),o.d(e,{PDFDict:()=>r.Ri,PDFDocument:()=>n.UL,PDFHexString:()=>r.lv,PDFName:()=>r.S5,PDFString:()=>r.mA})},44910(t,e,o){o.d(e,{l2:()=>Y,pZ:()=>y,k:()=>V,vk:()=>G,jo:()=>U,Co:()=>R,DU:()=>M,hc:()=>z,vW:()=>q,wU:()=>L,a_:()=>Z,Qb:()=>H,Dw:()=>K,YF:()=>l.YF,nM:()=>g,D_:()=>k.D_,ou:()=>w,sR:()=>l.sR,sJ:()=>l.sJ,Di:()=>l.Di,BP:()=>l.BP,X5:()=>l.X5,BO:()=>l.BO,XP:()=>a,z3:()=>D.z,dJ:()=>l.dJ,pJ:()=>F.pJ,Pz:()=>P,HV:()=>h,JQ:()=>l.JQ,If:()=>d,Ac:()=>l.Ac,FP:()=>p,um:()=>k.um,CF:()=>l.CF,_U:()=>l._U,IE:()=>J,f8:()=>C,y1:()=>A,N8:()=>O,q7:()=>m,Wl:()=>k.Wl,TR:()=>v,cz:()=>b,VW:()=>l.VW,XX:()=>l.XX,U5:()=>l.U5,vu:()=>l.vu,Fo:()=>S,dp:()=>f,NJ:()=>F.NJ,bW:()=>F.bW,KP:()=>x.K});for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),i=0;i<n.length;i++)r[n.charCodeAt(i)]=i;for(var a=function(t){for(var e="",o=t.length,r=0;r<o;r+=3)e+=n[t[r]>>2],e+=n[(3&t[r])<<4|t[r+1]>>4],e+=n[(15&t[r+1])<<2|t[r+2]>>6],e+=n[63&t[r+2]];return o%3==2?e=e.substring(0,e.length-1)+"=":o%3==1&&(e=e.substring(0,e.length-2)+"=="),e},s=function(t){var e,o,n,i,a,s=.75*t.length,u=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new Uint8Array(s);for(e=0;e<u;e+=4)o=r[t.charCodeAt(e)],n=r[t.charCodeAt(e+1)],i=r[t.charCodeAt(e+2)],a=r[t.charCodeAt(e+3)],l[c++]=o<<2|n>>4,l[c++]=(15&n)<<4|i>>2,l[c++]=(3&i)<<6|63&a;return l},u=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,c=function(t){var e=t.trim(),o=e.substring(0,100).match(u);if(!o)return s(e);var n=o[0];return s(e.substring(n.length))},l=o(32896),h=function(t){return t[t.length-1]},f=function(t){if(t instanceof Uint8Array)return t;for(var e=t.length,o=new Uint8Array(e),n=0;n<e;n++)o[n]=t.charCodeAt(n);return o},d=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var o=t.length,n=[],r=0;r<o;r++){var i=t[r];n[r]=i instanceof Uint8Array?i:f(i)}for(var a=0,r=0;r<o;r++)a+=t[r].length;for(var s=new Uint8Array(a),u=0,c=0;c<o;c++)for(var l=n[c],h=0,d=l.length;h<d;h++)s[u++]=l[h];return s},p=function(t){for(var e=0,o=0,n=t.length;o<n;o++)e+=t[o].length;for(var r=new Uint8Array(e),i=0,o=0,n=t.length;o<n;o++){var a=t[o];r.set(a,i),i+=a.length}return r},y=function(t){for(var e="",o=0,n=t.length;o<n;o++)e+=(0,l.sJ)(t[o]);return e},g=function(t,e){return t.id-e.id},v=function(t,e){for(var o=[],n=0,r=t.length;n<r;n++){var i=t[n],a=t[n-1];(0===n||e(i)!==e(a))&&o.push(i)}return o},m=function(t){for(var e=t.length,o=0,n=Math.floor(e/2);o<n;o++){var r=o,i=e-o-1,a=t[o];t[r]=t[i],t[i]=a}return t},b=function(t){for(var e=0,o=0,n=t.length;o<n;o++)e+=t[o];return e},A=function(t,e){for(var o=Array(e-t),n=0,r=o.length;n<r;n++)o[n]=t+n;return o},C=function(t,e){for(var o=Array(e.length),n=0,r=e.length;n<r;n++)o[n]=t[e[n]];return o},w=function(t){return t instanceof Uint8Array||t instanceof ArrayBuffer||"string"==typeof t},S=function(t){if("string"==typeof t)return c(t);if(t instanceof ArrayBuffer)return new Uint8Array(t);if(t instanceof Uint8Array)return t;throw TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},x=o(69882),F=o(18885),k=o(29100),D=o(6123),B=o(35377),j=function(t){return Object.keys(t).map(function(e){return t[e]})},T=j(B.sD),P=function(t){return T.includes(t)},O=function(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},N=function(t){return"`"+t+"`"},W=function(t){var e=typeof t;return"string"===e?"'"+t+"'":"undefined"===e?N(t):t},I=function(t,e,o){for(var n=Array(o.length),r=0,i=o.length;r<i;r++){var a=o[r];n[r]=W(a)}var s=n.join(" or ");return N(e)+" must be one of "+s+", but was actually "+W(t)},R=function(t,e,o){Array.isArray(o)||(o=j(o));for(var n=0,r=o.length;n<r;n++)if(t===o[n])return;throw TypeError(I(t,e,o))},M=function(t,e,o){Array.isArray(o)||(o=j(o)),R(t,e,o.concat(void 0))},z=function(t,e,o){Array.isArray(o)||(o=j(o));for(var n=0,r=t.length;n<r;n++)R(t[n],e,o)},E=function(t,e,o){for(var n=Array(o.length),r=0,i=o.length;r<i;r++){var a=o[r];"null"===a&&(n[r]=N("null")),"undefined"===a&&(n[r]=N("undefined")),"string"===a?n[r]=N("string"):"number"===a?n[r]=N("number"):"boolean"===a?n[r]=N("boolean"):"symbol"===a?n[r]=N("symbol"):"bigint"===a?n[r]=N("bigint"):a===Array?n[r]=N("Array"):a===Uint8Array?n[r]=N("Uint8Array"):a===ArrayBuffer?n[r]=N("ArrayBuffer"):n[r]=N(a[1])}var s=n.join(" or ");return N(e)+" must be of type "+s+", but was actually of type "+N(null===t?"null":void 0===t?"undefined":"string"==typeof t?"string":isNaN(t)?"NaN":"number"==typeof t?"number":"boolean"==typeof t?"boolean":"symbol"==typeof t?"symbol":"bigint"==typeof t?"bigint":t.constructor&&t.constructor.name?t.constructor.name:t.name?t.name:t.constructor?String(t.constructor):String(t))},U=function(t,e,o){for(var n,r=0,i=o.length;r<i;r++)if("null"===(n=o[r])?null===t:"undefined"===n?void 0===t:"string"===n?"string"==typeof t:"number"===n?"number"==typeof t&&!isNaN(t):"boolean"===n?"boolean"==typeof t:"symbol"===n?"symbol"==typeof t:"bigint"===n?"bigint"==typeof t:n===Date?t instanceof Date:n===Array?t instanceof Array:n===Uint8Array?t instanceof Uint8Array:n===ArrayBuffer?t instanceof ArrayBuffer:n===Function?t instanceof Function:t instanceof n[0])return;throw TypeError(E(t,e,o))},L=function(t,e,o){U(t,e,o.concat("undefined"))},V=function(t,e,o){for(var n=0,r=t.length;n<r;n++)U(t[n],e,o)},H=function(t,e,o,n){if(U(t,e,["number"]),U(o,"min",["number"]),U(n,"max",["number"]),n=Math.max(o,n),t<o||t>n)throw Error(N(e)+" must be at least "+o+" and at most "+n+", but was actually "+t)},K=function(t,e,o,n){U(t,e,["number","undefined"]),"number"==typeof t&&H(t,e,o,n)},q=function(t,e,o){if(U(t,e,["number"]),t%o!=0)throw Error(N(e)+" must be a multiple of "+o+", but was actually "+t)},G=function(t,e){if(!Number.isInteger(t))throw Error(N(e)+" must be an integer, but was actually "+t)},Z=function(t,e){if(![1,0].includes(Math.sign(t)))throw Error(N(e)+" must be a positive number or 0, but was actually "+t)},Q=new Uint16Array(256),X=0;X<256;X++)Q[X]=X;Q[22]=(0,l.VW)("\x17"),Q[24]=(0,l.VW)("˘"),Q[25]=(0,l.VW)("ˇ"),Q[26]=(0,l.VW)("ˆ"),Q[27]=(0,l.VW)("˙"),Q[28]=(0,l.VW)("˝"),Q[29]=(0,l.VW)("˛"),Q[30]=(0,l.VW)("˚"),Q[31]=(0,l.VW)("˜"),Q[127]=(0,l.VW)("�"),Q[128]=(0,l.VW)("•"),Q[129]=(0,l.VW)("†"),Q[130]=(0,l.VW)("‡"),Q[131]=(0,l.VW)("…"),Q[132]=(0,l.VW)("—"),Q[133]=(0,l.VW)("–"),Q[134]=(0,l.VW)("ƒ"),Q[135]=(0,l.VW)("⁄"),Q[136]=(0,l.VW)("‹"),Q[137]=(0,l.VW)("›"),Q[138]=(0,l.VW)("−"),Q[139]=(0,l.VW)("‰"),Q[140]=(0,l.VW)("„"),Q[141]=(0,l.VW)("“"),Q[142]=(0,l.VW)("”"),Q[143]=(0,l.VW)("‘"),Q[144]=(0,l.VW)("’"),Q[145]=(0,l.VW)("‚"),Q[146]=(0,l.VW)("™"),Q[147]=(0,l.VW)("fi"),Q[148]=(0,l.VW)("fl"),Q[149]=(0,l.VW)("Ł"),Q[150]=(0,l.VW)("Œ"),Q[151]=(0,l.VW)("Š"),Q[152]=(0,l.VW)("Ÿ"),Q[153]=(0,l.VW)("Ž"),Q[154]=(0,l.VW)("ı"),Q[155]=(0,l.VW)("ł"),Q[156]=(0,l.VW)("œ"),Q[157]=(0,l.VW)("š"),Q[158]=(0,l.VW)("ž"),Q[159]=(0,l.VW)("�"),Q[160]=(0,l.VW)("€"),Q[173]=(0,l.VW)("�");var J=function(t){for(var e=Array(t.length),o=0,n=t.length;o<n;o++)e[o]=Q[t[o]];return String.fromCodePoint.apply(String,e)},Y=function(){function t(t){this.populate=t,this.value=void 0}return t.prototype.getValue=function(){return this.value},t.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},t.prototype.invalidate=function(){this.value=void 0},t.populatedBy=function(e){return new t(e)},t}()},32896(t,e,o){var n=function(t){return t.charCodeAt(0)},r=function(t){return t.codePointAt(0)},i=function(t,e){return c(t.toString(16),e,"0").toUpperCase()},a=function(t){return i(t,2)},s=function(t){return String.fromCharCode(t)},u=function(t){return s(parseInt(t,16))},c=function(t,e,o){for(var n="",r=0,i=e-t.length;r<i;r++)n+=o;return n+t},l=function(t,e,o){for(var n=t.length,r=0;r<n;r++)e[o++]=t.charCodeAt(r);return n},h=function(t){return t.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},f=["\\n","\\f","\\r","\\u000B"],d=function(t){return/^[\n\f\r\u000B]$/.test(t)},p=function(t){return t.split(/[\n\f\r\u000B]/)},y=function(t){return t.replace(/[\n\f\r\u000B]/g," ")},g=function(t,e){var o,n=t.charCodeAt(e),r=e+1,i=1;return n>=55296&&n<=56319&&t.length>r&&(o=t.charCodeAt(r))>=56320&&o<=57343&&(i=2),[t.slice(e,e+i),i]},v=function(t){for(var e=[],o=0,n=t.length;o<n;){var r=g(t,o),i=r[0],a=r[1];e.push(i),o+=a}return e},m=function(t){for(var e=f.join("|"),o=["$"],n=0,r=t.length;n<r;n++){var i=t[n];if(d(i))throw TypeError("`wordBreak` must not include "+e);o.push(""===i?".":i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))}return RegExp("("+e+")|((.*?)("+o.join("|")+"))","gm")},b=function(t,e,o,n){for(var r=m(e),i=h(t).match(r),a="",s=0,u=[],c=function(){""!==a&&u.push(a),a="",s=0},l=0,f=i.length;l<f;l++){var p=i[l];if(d(p))c();else{var y=n(p);s+y>o&&c(),a+=p,s+=y}}return c(),u},A=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,C=function(t){var e=t.match(A);if(e){var o=e[1],n=e[2],r=e[3],i=e[4],a=e[5],s=e[6],u=e[7],c=void 0===u?"Z":u,l=e[8],h=e[9];return new Date(o+"-"+(void 0===n?"01":n)+"-"+(void 0===r?"01":r)+"T"+(void 0===i?"00":i)+":"+(void 0===a?"00":a)+":"+(void 0===s?"00":s)+("Z"===c?"Z":""+c+(void 0===l?"00":l)+":"+(void 0===h?"00":h)))}},w=function(t,e){for(var o,n,r=0;r<t.length;){var i=t.substring(r).match(e);if(!i)break;n=i,r+=(null!=(o=i.index)?o:0)+i[0].length}return{match:n,pos:r}};o.d(e,{Ac:()=>y,BO:()=>l,BP:()=>v,CF:()=>c,Di:()=>u,JQ:()=>p,U5:()=>a,VW:()=>n,X5:()=>h,XX:()=>r,YF:()=>b,_U:()=>C,dJ:()=>w,sJ:()=>s,sR:()=>g,vu:()=>i})},18885(t,e,o){var n,r,i=o(32896),a=function(t,e){void 0===e&&(e=!0);var o=[];e&&o.push(65279);for(var n=0,r=t.length;n<r;){var a=t.codePointAt(n);if(a<65536)o.push(a),n+=1;else if(a<1114112)o.push(c(a),l(a)),n+=2;else throw Error("Invalid code point: 0x"+(0,i.U5)(a))}return new Uint16Array(o)},s=function(t){return t>=0&&t<=65535},u=function(t){return t>=65536&&t<=1114111},c=function(t){return Math.floor((t-65536)/1024)+55296},l=function(t){return(t-65536)%1024+56320};(n=r||(r={})).BigEndian="BigEndian",n.LittleEndian="LittleEndian";var h=function(t,e){if(void 0===e&&(e=!0),t.length<=1)return String.fromCodePoint(65533);for(var o=e?y(t):r.BigEndian,n=2*!!e,i=[];t.length-n>=2;){var a=p(t[n++],t[n++],o);if(f(a))if(t.length-n<2)i.push(65533);else{var s=p(t[n++],t[n++],o);d(s)?i.push(a,s):i.push(65533)}else d(a)?(n+=2,i.push(65533)):i.push(a)}return n<t.length&&i.push(65533),String.fromCodePoint.apply(String,i)},f=function(t){return t>=55296&&t<=56319},d=function(t){return t>=56320&&t<=57343},p=function(t,e,o){if(o===r.LittleEndian)return e<<8|t;if(o===r.BigEndian)return t<<8|e;throw Error("Invalid byteOrder: "+o)},y=function(t){return g(t)?r.BigEndian:v(t)?r.LittleEndian:r.BigEndian},g=function(t){return 254===t[0]&&255===t[1]},v=function(t){return 255===t[0]&&254===t[1]},m=function(t){return g(t)||v(t)};o.d(e,{HH:()=>s,NJ:()=>h,P1:()=>l,bW:()=>a,me:()=>u,pJ:()=>m,rN:()=>c})}};
@@ -0,0 +1,7 @@
1
+ export const __rspack_esm_id=2258;export const __rspack_esm_ids=[2258];export const __webpack_modules__={79305(e,t,r){var a=r(64772);function p(e){return e.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F￾￿]/g,"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let o={x:"adobe:ns:meta/",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",xmp:"http://ns.adobe.com/xap/1.0/",pdf:"http://ns.adobe.com/pdf/1.3/",dc:"http://purl.org/dc/elements/1.1/",Iptc4xmpExt:"http://iptc.org/std/Iptc4xmpExt/2008-02-29/"};function n(e){return/^[\x20-\x7e]*$/.test(e)&&!/[()\\]/.test(e)?a.PDFString.of(e):a.PDFHexString.fromText(e)}function d(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.setCreator(t.generator),e.setProducer(t.generator),t.title&&e.setTitle(t.title);let d=e.context.lookup(e.context.trailerInfo.Info,a.PDFDict);d.set(a.PDFName.of("AIGenerated"),n(t.aiGenerated?"true":"false")),d.set(a.PDFName.of("DigitalSourceType"),n(t.digitalSourceType)),t.statement&&d.set(a.PDFName.of("AIStatement"),n(t.statement));let i=new TextEncoder().encode(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t.date??new Date).toISOString().replace(/\.\d{3}Z$/,"Z"),a=e.title??t.title,n=e=>`<rdf:Alt><rdf:li xml:lang="x-default">${p(e)}</rdf:li></rdf:Alt>`,d=e.xmpNamespace,i=Object.entries(o).filter(e=>{let[t]=e;return"x"!==t&&"rdf"!==t}).map(e=>{let[t,r]=e;return` xmlns:${t}="${r}"`}).join("")+(d?` xmlns:${d.prefix}="${p(d.uri)}"`:""),c=[`<xmp:CreatorTool>${p(e.generator)}</xmp:CreatorTool>`,`<xmp:CreateDate>${r}</xmp:CreateDate>`,`<xmp:ModifyDate>${r}</xmp:ModifyDate>`,`<xmp:MetadataDate>${r}</xmp:MetadataDate>`,`<pdf:Producer>${p(e.generator)}</pdf:Producer>`,"<dc:format>application/pdf</dc:format>",a?`<dc:title>${n(a)}</dc:title>`:"",e.statement?`<dc:description>${n(e.statement)}</dc:description>`:"",`<Iptc4xmpExt:DigitalSourceType>${p(e.digitalSourceType)}</Iptc4xmpExt:DigitalSourceType>`,...Object.entries(d?.properties??{}).map(e=>{let[t,r]=e;return`<${d.prefix}:${t}>${p(r)}</${d.prefix}:${t}>`})].filter(Boolean).map(e=>` ${e}
2
+ `).join(""),l=`${" ".repeat(99)}
3
+ `.repeat(20);return`<?xpacket begin="\uFEFF" id="W5M0MpCehiHzreSzNTczkc9d"?>
4
+ <x:xmpmeta xmlns:x="${o.x}">
5
+ <rdf:RDF xmlns:rdf="${o.rdf}">
6
+ <rdf:Description rdf:about=""${i}>
7
+ `+c+" </rdf:Description>\n </rdf:RDF>\n</x:xmpmeta>\n"+l+'<?xpacket end="w"?>'}(t,r)),c=e.context.stream(i,{Type:"Metadata",Subtype:"XML",Length:i.length});e.catalog.set(a.PDFName.of("Metadata"),e.context.register(c))}r.d(t,{applyPdfExportMetadata:()=>d})}};