"use strict";(self.webpackChunkstudio_client=self.webpackChunkstudio_client||[]).push([[3882],{2596:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(2018),o=r(5842),i=r(3955);const s=function(){function t(t,e){this.name=t,this.args=e||[]}return t.prototype.clone=function(e){for(var r=new Array(this.args.length),o=0,i=r.length;o{var n;r.d(e,{Z:()=>o}),function(t){t.NonStrokingColor="sc",t.NonStrokingColorN="scn",t.NonStrokingColorRgb="rg",t.NonStrokingColorGray="g",t.NonStrokingColorCmyk="k",t.NonStrokingColorspace="cs",t.StrokingColor="SC",t.StrokingColorN="SCN",t.StrokingColorRgb="RG",t.StrokingColorGray="G",t.StrokingColorCmyk="K",t.StrokingColorspace="CS",t.BeginMarkedContentSequence="BDC",t.BeginMarkedContent="BMC",t.EndMarkedContent="EMC",t.MarkedContentPointWithProps="DP",t.MarkedContentPoint="MP",t.DrawObject="Do",t.ConcatTransformationMatrix="cm",t.PopGraphicsState="Q",t.PushGraphicsState="q",t.SetFlatness="i",t.SetGraphicsStateParams="gs",t.SetLineCapStyle="J",t.SetLineDashPattern="d",t.SetLineJoinStyle="j",t.SetLineMiterLimit="M",t.SetLineWidth="w",t.SetTextMatrix="Tm",t.SetRenderingIntent="ri",t.AppendRectangle="re",t.BeginInlineImage="BI",t.BeginInlineImageData="ID",t.EndInlineImage="EI",t.ClipEvenOdd="W*",t.ClipNonZero="W",t.CloseAndStroke="s",t.CloseFillEvenOddAndStroke="b*",t.CloseFillNonZeroAndStroke="b",t.ClosePath="h",t.AppendBezierCurve="c",t.CurveToReplicateFinalPoint="y",t.CurveToReplicateInitialPoint="v",t.EndPath="n",t.FillEvenOddAndStroke="B*",t.FillEvenOdd="f*",t.FillNonZeroAndStroke="B",t.FillNonZero="f",t.LegacyFillNonZero="F",t.LineTo="l",t.MoveTo="m",t.ShadingFill="sh",t.StrokePath="S",t.BeginText="BT",t.EndText="ET",t.MoveText="Td",t.MoveTextSetLeading="TD",t.NextLine="T*",t.SetCharacterSpacing="Tc",t.SetFontAndSize="Tf",t.SetTextHorizontalScaling="Tz",t.SetTextLineHeight="TL",t.SetTextRenderingMode="Tr",t.SetTextRise="Ts",t.SetWordSpacing="Tw",t.ShowText="Tj",t.ShowTextAdjusted="TJ",t.ShowTextLine="'",t.ShowTextLineAndSpace='"',t.Type3D0="d0",t.Type3D1="d1",t.BeginCompatibilitySection="BX",t.EndCompatibilitySection="EX"}(n||(n={}));const o=n},6276:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(1732),o=r(4774),i=r(5842);const s=function(){function t(t){this.idx=0,this.line=0,this.column=0,this.bytes=t,this.length=this.bytes.length}return t.prototype.moveTo=function(t){this.idx=t},t.prototype.next=function(){var t=this.bytes[this.idx++];return t===i.Z.Newline?(this.line+=1,this.column=0):this.column+=1,t},t.prototype.assertNext=function(t){if(this.peek()!==t)throw new n.ze(this.position(),t,this.peek());return this.next()},t.prototype.peek=function(){return this.bytes[this.idx]},t.prototype.peekAhead=function(t){return this.bytes[this.idx+t]},t.prototype.peekAt=function(t){return this.bytes[t]},t.prototype.done=function(){return this.idx>=this.length},t.prototype.offset=function(){return this.idx},t.prototype.slice=function(t,e){return this.bytes.slice(t,e)},t.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},t.of=function(e){return new t(e)},t.fromPDFRawStream=function(e){return t.of((0,o.y)(e).decode())},t}()},1847:(t,e,r)=>{r.d(e,{Z:()=>j});var n=r(7638),o=r(1732),i=r(4055),s=r(4650),a=r(7802),h=r(8158),c=r(5268),f=r(8430),u=r(3225),p=r(351),d=r(4911),y=r(4222),l=r(5842),b=r(986),m=r(9685),Z=r(3955),v=l.Z.Newline,g=l.Z.CarriageReturn;const w=function(){function t(t,e){void 0===e&&(e=!1),this.bytes=t,this.capNumbers=e}return t.prototype.parseRawInt=function(){for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(!b.FT[e])break;t+=(0,Z.D_)(this.bytes.next())}var r=Number(t);if(!t||!isFinite(r))throw new o.RS(this.bytes.position(),t);return r},t.prototype.parseRawNumber=function(){for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(!b.BE[e])break;if(t+=(0,Z.D_)(this.bytes.next()),e===l.Z.Period)break}for(;!this.bytes.done();){e=this.bytes.peek();if(!b.FT[e])break;t+=(0,Z.D_)(this.bytes.next())}var r=Number(t);if(!t||!isFinite(r))throw new o.RS(this.bytes.position(),t);if(r>Number.MAX_SAFE_INTEGER){if(this.capNumbers){var n="Parsed number that is too large for some PDF readers: "+t+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(n),Number.MAX_SAFE_INTEGER}n="Parsed number that is too large for some PDF readers: "+t+", not capping.";console.warn(n)}return r},t.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&m.a[this.bytes.peek()];)this.bytes.next()},t.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===v||t===g)return;this.bytes.next()}},t.prototype.skipComment=function(){if(this.bytes.peek()!==l.Z.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===v||t===g)return!0;this.bytes.next()}return!0},t.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},t.prototype.matchKeyword=function(t){for(var e=this.bytes.offset(),r=0,n=t.length;r{r.d(e,{Z:()=>u});var n=r(7638),o=r(1732),i=r(5268),s=r(3225),a=r(4911),h=r(6276),c=r(1847),f=r(3955);const u=function(t){function e(e,r){var n=t.call(this,h.Z.fromPDFRawStream(e),e.dict.context)||this,o=e.dict;return n.alreadyParsed=!1,n.shouldWaitForTick=r||function(){return!1},n.firstOffset=o.lookup(i.Z.of("First"),s.Z).asNumber(),n.objectCount=o.lookup(i.Z.of("N"),s.Z).asNumber(),n}return(0,n.ZT)(e,t),e.prototype.parseIntoContext=function(){return(0,n.mG)(this,void 0,void 0,(function(){var t,e,r,i,s,h,c,u;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:if(this.alreadyParsed)throw new o.aj("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,t=this.parseOffsetsAndObjectNumbers(),e=0,r=t.length,n.label=1;case 1:return e{r.d(e,{Z:()=>C});var n=r(7638),o=r(95),i=r(1617),s=r(9176),a=r(1732),h=r(7802),c=r(314),f=r(5268),u=r(351),p=r(4911),d=r(6276),y=r(1847),l=r(8947),b=r(2791),m=r(6834),Z=r(5842),v=r(3042),g=r(986),w=r(3955);const C=function(t){function e(e,r,n,o){void 0===r&&(r=1/0),void 0===n&&(n=!1),void 0===o&&(o=!1);var i=t.call(this,d.Z.of(e),m.Z.create(),o)||this;return i.alreadyParsed=!1,i.parsedObjects=0,i.shouldWaitForTick=function(){return i.parsedObjects+=1,i.parsedObjects%i.objectsPerTick==0},i.objectsPerTick=r,i.throwOnInvalidObject=n,i}return(0,n.ZT)(e,t),e.prototype.parseDocument=function(){return(0,n.mG)(this,void 0,void 0,(function(){var t,e;return(0,n.Jh)(this,(function(r){switch(r.label){case 0:if(this.alreadyParsed)throw new a.aj("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),r.label=1;case 1:return this.bytes.done()?[3,3]:[4,this.parseDocumentSection()];case 2:if(r.sent(),(e=this.bytes.offset())===t)throw new a.Dr(this.bytes.position());return t=e,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(p.Z.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(p.Z.of(0))),[2,this.context]}}))}))},e.prototype.maybeRecoverRoot=function(){var t=function(t){return t instanceof h.Z&&t.lookup(f.Z.of("Type"))===f.Z.of("Catalog")};if(!t(this.context.lookup(this.context.trailerInfo.Root)))for(var e=this.context.enumerateIndirectObjects(),r=0,n=e.length;r=Z.Z.Space&&e<=Z.Z.Tilde&&(this.matchKeyword(v.L.xref)||this.matchKeyword(v.L.trailer)||this.matchKeyword(v.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,r,n,o){return new e(t,r,n,o)},e}(y.Z)},2791:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(1732),o=r(4055),i=r(5268),s=r(3225),a=r(4911),h=r(6276);const c=function(){function t(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=h.Z.fromPDFRawStream(t),this.context=this.dict.context;var e=this.dict.lookup(i.Z.of("Size"),s.Z),r=this.dict.lookup(i.Z.of("Index"));if(r instanceof o.Z){this.subsections=[];for(var n=0,a=r.size();n{r.d(e,{y:()=>S});var n=r(1732),o=r(4055),i=r(7802),s=r(5268),a=r(3225),h=r(7638);const c=function(){function t(t,e,r){this.bytes=t,this.start=e||0,this.pos=this.start,this.end=e&&r?e+r: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 r=this.bytes,n=this.pos,o=this.end;if(t){var i=n+t;i>o&&(i=o),this.pos=i;s=r.subarray(n,i);return e?new Uint8ClampedArray(s):s}var s=r.subarray(n,o);return e?new Uint8ClampedArray(s):s},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var r=this.getBytes(t,e);return this.pos-=r.length,r},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,r){return new t(this.bytes,e,r)},t.prototype.decode=function(){return this.bytes},t}();var f=new Uint8Array(0);const u=function(){function t(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=f,this.minBufferLength=512,t)for(;this.minBufferLengtho&&(r=o)}else{for(;!this.eof;)this.readBlock();r=this.bufferLength}this.pos=r;var i=this.buffer.subarray(n,r);return!e||i instanceof Uint8ClampedArray?i:new Uint8ClampedArray(i)},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var r=this.getBytes(t,e);return this.pos-=r.length,r},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=0},t.prototype.makeSubStream=function(t,e){for(var r=t+e;this.bufferLength<=r&&!this.eof;)this.readBlock();return new c(this.buffer,t,e)},t.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},t.prototype.readBlock=function(){throw new n.iQ(this.constructor.name,"readBlock")},t.prototype.ensureBuffer=function(t){var e=this.buffer;if(t<=e.byteLength)return e;for(var r=this.minBufferLength;r=0;--n)r[o+n]=255&s,s>>=8}}else this.eof=!0},e}(u);const y=function(t){function e(e,r){var n=t.call(this,r)||this;return n.stream=e,n.firstDigit=-1,r&&(r*=.5),n}return(0,h.ZT)(e,t),e.prototype.readBlock=function(){var t=this.stream.getBytes(8e3);if(t.length){for(var e=t.length+1>>1,r=this.ensureBuffer(this.bufferLength+e),n=this.bufferLength,o=this.firstDigit,i=0,s=t.length;i=48&&a<=57)h=15&a;else{if(!(a>=65&&a<=70||a>=97&&a<=102)){if(62===a){this.eof=!0;break}continue}h=9+(15&a)}o<0?o=h:(r[n++]=o<<4|h,o=-1)}o>=0&&this.eof&&(r[n++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=n}else this.eof=!0},e}(u);var l=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),b=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]),m=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]),Z=[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];const g=function(t){function e(e,r){var n=t.call(this,r)||this;n.stream=e;var o=e.getByte(),i=e.getByte();if(-1===o||-1===i)throw new Error("Invalid header in flate stream: "+o+", "+i);if(8!=(15&o))throw new Error("Unknown compression method in flate stream: "+o+", "+i);if(((o<<8)+i)%31!=0)throw new Error("Bad FCHECK in flate stream: "+o+", "+i);if(32&i)throw new Error("FDICT bit set in flate stream: "+o+", "+i);return n.codeSize=0,n.codeBuf=0,n}return(0,h.ZT)(e,t),e.prototype.readBlock=function(){var t,e,r=this.stream,n=this.getBits(3);if(1&n&&(this.eof=!0),0!==(n>>=1)){var o,i;if(1===n)o=Z,i=v;else{if(2!==n)throw new Error("Unknown block type in flate stream");var s=this.getBits(5)+257,a=this.getBits(5)+1,h=this.getBits(4)+4,c=new Uint8Array(l.length),f=void 0;for(f=0;f0;)d[f++]=w}o=this.generateHuffmanTable(d.subarray(0,s)),i=this.generateHuffmanTable(d.subarray(s,p))}for(var S=(t=this.buffer)?t.length:0,x=this.bufferLength;;){var B=this.getCode(o);if(B<256)x+1>=S&&(S=(t=this.ensureBuffer(x+1)).length),t[x++]=B;else{if(256===B)return void(this.bufferLength=x);var T=(B=b[B-=257])>>16;T>0&&(T=this.getBits(T)),e=(65535&B)+T,B=this.getCode(i),(T=(B=m[B])>>16)>0&&(T=this.getBits(T));var j=(65535&B)+T;x+e>=S&&(S=(t=this.ensureBuffer(x+e)).length);for(var I=0;I>t,this.codeSize=n-=t,e},e.prototype.getCode=function(t){for(var e,r=this.stream,n=t[0],o=t[1],i=this.codeSize,s=this.codeBuf;i>16,c=65535&a;if(h<1||i>h,this.codeSize=i-h,c},e.prototype.generateHuffmanTable=function(t){var e,r=t.length,n=0;for(e=0;en&&(n=t[e]);for(var o=1<>=1;for(e=f;e0;if(!m||m<256)p[0]=m,d=1;else{if(!(m>=258)){if(256===m){f=9,s=258,d=0;continue}this.eof=!0,delete this.lzwState;break}if(m=0;e--)p[e]=a[r],r=c[r];else p[d++]=p[0]}if(Z&&(c[s]=u,h[s]=h[u]+1,a[s]=p[0],f=++s+i&s+i-1?f:0|Math.min(Math.log(s+i)/.6931471805599453+1,12)),u=m,n<(y+=d)){do{n+=512}while(n>>e&(1<0){var o=this.stream.getBytes(n);e.set(o,r),r+=n}}else{n=257-n;var i=t[1];e=this.ensureBuffer(r+n+1);for(var s=0;s{r.d(e,{Z:()=>h});var n=r(7638),o=r(7802),i=r(5268),s=r(6139),a=r(8071);const h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.ZT)(e,t),e.prototype.Pages=function(){return this.lookup(i.Z.of("Pages"),o.Z)},e.prototype.AcroForm=function(){return this.lookupMaybe(i.Z.of("AcroForm"),o.Z)},e.prototype.getAcroForm=function(){var t=this.AcroForm();if(t)return s.PS.fromDict(t)},e.prototype.getOrCreateAcroForm=function(){var t=this.getAcroForm();if(!t){t=s.PS.create(this.context);var e=this.context.register(t.dict);this.set(i.Z.of("AcroForm"),e)}return t},e.prototype.ViewerPreferences=function(){return this.lookupMaybe(i.Z.of("ViewerPreferences"),o.Z)},e.prototype.getViewerPreferences=function(){var t=this.ViewerPreferences();if(t)return a.ZP.fromDict(t)},e.prototype.getOrCreateViewerPreferences=function(){var t=this.getViewerPreferences();if(!t){t=a.ZP.create(this.context);var e=this.context.register(t.dict);this.set(i.Z.of("ViewerPreferences"),e)}return t},e.prototype.insertLeafNode=function(t,e){var r=this.get(i.Z.of("Pages"));return this.Pages().insertLeafNode(t,e)||r},e.prototype.removeLeafNode=function(t){this.Pages().removeLeafNode(t)},e.withContextAndPages=function(t,r){var n=new Map;return n.set(i.Z.of("Type"),i.Z.of("Catalog")),n.set(i.Z.of("Pages"),r),new e(n,t)},e.fromMapWithContext=function(t,r){return new e(t,r)},e}(o.Z)},9153:(t,e,r)=>{r.d(e,{Z:()=>s});var n=r(7638),o=r(3238),i=r(5842);const s=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e,n)||this;return o.operators=r,o}return(0,n.ZT)(e,t),e.prototype.push=function(){for(var t,e=[],r=0;r{r.d(e,{Z:()=>c});var n,o=r(7638),i=r(5268),s=r(4911),a=r(3238),h=r(3955);!function(t){t[t.Deleted=0]="Deleted",t[t.Uncompressed=1]="Uncompressed",t[t.Compressed=2]="Compressed"}(n||(n={}));const c=function(t){function e(e,r,o){void 0===o&&(o=!0);var s=t.call(this,e,o)||this;return s.computeIndex=function(){for(var t=[],e=0,r=0,n=s.entries.length;r1&&(t.push(e),t.push(o.ref.objectNumber),e=0),e+=1}return t.push(e),t},s.computeEntryTuples=function(){for(var t=new Array(s.entries.length),e=0,r=s.entries.length;ee[0]&&(e[0]=f),u>e[1]&&(e[1]=u),p>e[2]&&(e[2]=p)}return e},s.entries=r||[],s.entryTuplesCache=h.Ct.populatedBy(s.computeEntryTuples),s.maxByteWidthsCache=h.Ct.populatedBy(s.computeMaxEntryByteWidths),s.indexCache=h.Ct.populatedBy(s.computeIndex),e.set(i.Z.of("Type"),i.Z.of("XRef")),s}return(0,o.ZT)(e,t),e.prototype.addDeletedEntry=function(t,e){var r=n.Deleted;this.entries.push({type:r,ref:t,nextFreeObjectNumber:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(t,e){var r=n.Uncompressed;this.entries.push({type:r,ref:t,offset:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(t,e,r){var o=n.Compressed;this.entries.push({type:o,ref:t,objectStreamRef:e,index:r}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(t){var r=this,n=r.dict,o=r.entries,i=r.encode;return e.of(n.clone(t),o.slice(),i)},e.prototype.getContentsString=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r="",n=0,o=t.length;n=0;d--)r+=(f[d]||0).toString(2);for(d=e[1]-1;d>=0;d--)r+=(u[d]||0).toString(2);for(d=e[2]-1;d>=0;d--)r+=(p[d]||0).toString(2)}return r},e.prototype.getUnencodedContents=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),r=new Uint8Array(this.getUnencodedContentsSize()),n=0,o=0,i=t.length;o=0;y--)r[n++]=u[y]||0;for(y=e[1]-1;y>=0;y--)r[n++]=p[y]||0;for(y=e[2]-1;y>=0;y--)r[n++]=d[y]||0}return r},e.prototype.getUnencodedContentsSize=function(){var t=this.maxByteWidthsCache.access();return(0,h.Sm)(t)*this.entries.length},e.prototype.updateDict=function(){t.prototype.updateDict.call(this);var e=this.maxByteWidthsCache.access(),r=this.indexCache.access(),n=this.dict.context;this.dict.set(i.Z.of("W"),n.obj(e)),this.dict.set(i.Z.of("Index"),n.obj(r))},e.create=function(t,r){void 0===r&&(r=!0);var n=new e(t,[],r);return n.addDeletedEntry(s.Z.of(0,65535),0),n},e.of=function(t,r,n){return void 0===n&&(n=!0),new e(t,r,n)},e}(a.Z)},3238:(t,e,r)=>{r.d(e,{Z:()=>f});var n=r(7638),o=r(9591),i=r.n(o),s=r(1732),a=r(5268),h=r(6962),c=r(3955);const f=function(t){function e(e,r){var n=t.call(this,e)||this;return n.computeContents=function(){var t=n.getUnencodedContents();return n.encode?i().deflate(t):t},n.encode=r,r&&e.set(a.Z.of("Filter"),a.Z.of("FlateDecode")),n.contentsCache=c.Ct.populatedBy(n.computeContents),n}return(0,n.ZT)(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 s.iQ(this.constructor.name,"getUnencodedContents")},e}(h.Z)},4245:(t,e,r)=>{r.d(e,{Z:()=>c});var n=r(7638),o=r(5268),i=r(3225),s=r(3238),a=r(5842),h=r(3955);const c=function(t){function e(e,r,n){void 0===n&&(n=!0);var s=t.call(this,e.obj({}),n)||this;return s.objects=r,s.offsets=s.computeObjectOffsets(),s.offsetsString=s.computeOffsetsString(),s.dict.set(o.Z.of("Type"),o.Z.of("ObjStm")),s.dict.set(o.Z.of("N"),i.Z.of(s.objects.length)),s.dict.set(o.Z.of("First"),i.Z.of(s.offsetsString.length)),s}return(0,n.ZT)(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,r=this.objects.length;e{r.d(e,{Z:()=>c});var n=r(7638),o=r(4055),i=r(7802),s=r(5268),a=r(3225),h=r(6962);const c=function(t){function e(e,r,n){void 0===n&&(n=!0);var o=t.call(this,e,r)||this;return o.normalized=!1,o.autoNormalizeCTM=n,o}return(0,n.ZT)(e,t),e.prototype.clone=function(t){for(var r=e.fromMapWithContext(new Map,t||this.context,this.autoNormalizeCTM),n=this.entries(),o=0,i=n.length;o{r.d(e,{Z:()=>f});var n=r(7638),o=r(4055),i=r(7802),s=r(5268),a=r(3225),h=r(4874),c=r(1732);const f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,n.ZT)(e,t),e.prototype.Parent=function(){return this.lookup(s.Z.of("Parent"))},e.prototype.Kids=function(){return this.lookup(s.Z.of("Kids"),o.Z)},e.prototype.Count=function(){return this.lookup(s.Z.of("Count"),a.Z)},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,r){var n=this.Kids(),o=this.Count().asNumber();if(r>o)throw new c.Y8(r,o);for(var i=r,s=0,a=n.size();si)return u.insertLeafNode(t,i)||f;i-=u.Count().asNumber()}u instanceof h.Z&&(i-=1)}if(0!==i)throw new c.bg(r,"insertLeafNode");this.insertLeafKid(n.size(),t)},e.prototype.removeLeafNode=function(t,r){void 0===r&&(r=!0);var n=this.Kids(),o=this.Count().asNumber();if(t>=o)throw new c.Y8(t,o);for(var i=t,s=0,a=n.size();si)return u.removeLeafNode(i,r),void(r&&0===u.Kids().size()&&n.remove(s));i-=u.Count().asNumber()}if(u instanceof h.Z){if(0===i)return void this.removeKid(s);i-=1}}throw new c.bg(t,"removeLeafNode")},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.traverse=function(t){for(var r=this.Kids(),n=0,o=r.size();n{var n;r.d(e,{Z:()=>o}),function(t){t[t.Null=0]="Null",t[t.Backspace=8]="Backspace",t[t.Tab=9]="Tab",t[t.Newline=10]="Newline",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationPoint=33]="ExclamationPoint",t[t.Hash=35]="Hash",t[t.Percent=37]="Percent",t[t.LeftParen=40]="LeftParen",t[t.RightParen=41]="RightParen",t[t.Plus=43]="Plus",t[t.Minus=45]="Minus",t[t.Dash=45]="Dash",t[t.Period=46]="Period",t[t.ForwardSlash=47]="ForwardSlash",t[t.Zero=48]="Zero",t[t.One=49]="One",t[t.Two=50]="Two",t[t.Three=51]="Three",t[t.Four=52]="Four",t[t.Five=53]="Five",t[t.Six=54]="Six",t[t.Seven=55]="Seven",t[t.Eight=56]="Eight",t[t.Nine=57]="Nine",t[t.LessThan=60]="LessThan",t[t.GreaterThan=62]="GreaterThan",t[t.A=65]="A",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.O=79]="O",t[t.P=80]="P",t[t.R=82]="R",t[t.LeftSquareBracket=91]="LeftSquareBracket",t[t.BackSlash=92]="BackSlash",t[t.RightSquareBracket=93]="RightSquareBracket",t[t.a=97]="a",t[t.b=98]="b",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.i=105]="i",t[t.j=106]="j",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.x=120]="x",t[t.LeftCurly=123]="LeftCurly",t[t.RightCurly=125]="RightCurly",t[t.Tilde=126]="Tilde"}(n||(n={}));const o=n},2558:(t,e,r)=>{r.d(e,{p:()=>o});var n=r(5842),o=new Uint8Array(256);o[n.Z.LeftParen]=1,o[n.Z.RightParen]=1,o[n.Z.LessThan]=1,o[n.Z.GreaterThan]=1,o[n.Z.LeftSquareBracket]=1,o[n.Z.RightSquareBracket]=1,o[n.Z.LeftCurly]=1,o[n.Z.RightCurly]=1,o[n.Z.ForwardSlash]=1,o[n.Z.Percent]=1},2736:(t,e,r)=>{r.d(e,{m:()=>s});for(var n=r(5842),o=r(2558),i=r(9685),s=new Uint8Array(256),a=0;a<256;a++)s[a]=i.a[a]||o.p[a]?1:0;s[n.Z.Hash]=1},3042:(t,e,r)=>{r.d(e,{L:()=>f});var n=r(7638),o=r(5842),i=o.Z.Space,s=o.Z.CarriageReturn,a=o.Z.Newline,h=[o.Z.s,o.Z.t,o.Z.r,o.Z.e,o.Z.a,o.Z.m],c=[o.Z.e,o.Z.n,o.Z.d,o.Z.s,o.Z.t,o.Z.r,o.Z.e,o.Z.a,o.Z.m],f={header:[o.Z.Percent,o.Z.P,o.Z.D,o.Z.F,o.Z.Dash],eof:[o.Z.Percent,o.Z.Percent,o.Z.E,o.Z.O,o.Z.F],obj:[o.Z.o,o.Z.b,o.Z.j],endobj:[o.Z.e,o.Z.n,o.Z.d,o.Z.o,o.Z.b,o.Z.j],xref:[o.Z.x,o.Z.r,o.Z.e,o.Z.f],trailer:[o.Z.t,o.Z.r,o.Z.a,o.Z.i,o.Z.l,o.Z.e,o.Z.r],startxref:[o.Z.s,o.Z.t,o.Z.a,o.Z.r,o.Z.t,o.Z.x,o.Z.r,o.Z.e,o.Z.f],true:[o.Z.t,o.Z.r,o.Z.u,o.Z.e],false:[o.Z.f,o.Z.a,o.Z.l,o.Z.s,o.Z.e],null:[o.Z.n,o.Z.u,o.Z.l,o.Z.l],stream:h,streamEOF1:(0,n.pr)(h,[i,s,a]),streamEOF2:(0,n.pr)(h,[s,a]),streamEOF3:(0,n.pr)(h,[s]),streamEOF4:(0,n.pr)(h,[a]),endstream:c,EOF1endstream:(0,n.pr)([s,a],c),EOF2endstream:(0,n.pr)([s],c),EOF3endstream:(0,n.pr)([a],c)}},986:(t,e,r)=>{r.d(e,{BE:()=>s,FT:()=>o});var n=r(5842),o=new Uint8Array(256);o[n.Z.Zero]=1,o[n.Z.One]=1,o[n.Z.Two]=1,o[n.Z.Three]=1,o[n.Z.Four]=1,o[n.Z.Five]=1,o[n.Z.Six]=1,o[n.Z.Seven]=1,o[n.Z.Eight]=1,o[n.Z.Nine]=1;var i=new Uint8Array(256);i[n.Z.Period]=1,i[n.Z.Plus]=1,i[n.Z.Minus]=1;for(var s=new Uint8Array(256),a=0;a<256;a++)s[a]=o[a]||i[a]?1:0},9685:(t,e,r)=>{r.d(e,{a:()=>o});var n=r(5842),o=new Uint8Array(256);o[n.Z.Null]=1,o[n.Z.Tab]=1,o[n.Z.Newline]=1,o[n.Z.FormFeed]=1,o[n.Z.CarriageReturn]=1,o[n.Z.Space]=1},4237:(t,e,r)=>{r.d(e,{Z:()=>l});var n=r(7638),o=r(1617),i=r(9176),s=r(314),a=r(5268),h=r(3225),c=r(4911),f=r(6962),u=r(4776),p=r(4245),d=r(2862),y=r(3955);const l=function(t){function e(e,r,n,o){var i=t.call(this,e,r)||this;return i.encodeStreams=n,i.objectsPerStream=o,i}return(0,n.ZT)(e,t),e.prototype.computeBufferSize=function(){return(0,n.mG)(this,void 0,void 0,(function(){var t,e,r,d,l,b,m,Z,v,g,w,C,k,S,x,B,T,j,I;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:t=this.context.largestObjectNumber+1,e=o.Z.forVersion(1,7),r=e.sizeInBytes()+2,d=u.Z.create(this.createTrailerDict(),this.encodeStreams),l=[],b=[],m=[],Z=this.context.enumerateIndirectObjects(),C=0,k=Z.length,n.label=1;case 1:return C{r.d(e,{Z:()=>u});var n=r(7638),o=r(95),i=r(1617),s=r(9176),a=r(8799),h=r(4245),c=r(5842),f=r(3955);const u=function(){function t(t,e){var r=this;this.parsedObjects=0,this.shouldWaitForTick=function(t){return r.parsedObjects+=t,r.parsedObjects%r.objectsPerTick==0},this.context=t,this.objectsPerTick=e}return t.prototype.serializeToBuffer=function(){return(0,n.mG)(this,void 0,void 0,(function(){var t,e,r,o,i,s,a,u,p,d,y,l,b,m,Z,v,g;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:return[4,this.computeBufferSize()];case 1:t=n.sent(),e=t.size,r=t.header,o=t.indirectObjects,i=t.xref,s=t.trailerDict,a=t.trailer,u=0,p=new Uint8Array(e),u+=r.copyBytesInto(p,u),p[u++]=c.Z.Newline,p[u++]=c.Z.Newline,d=0,y=o.length,n.label=2;case 2:return d