!function(n){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).PDFDocument=n()}}(function(){return function n(e,r,a){function t(c,o){if(!r[c]){if(!e[c]){var s="function"==typeof require&&require;if(!o&&s)return s(c,!0);if(i)return i(c,!0);var X=new Error("Cannot find module '"+c+"'");throw X.code="MODULE_NOT_FOUND",X}var u=r[c]={exports:{}};e[c][0].call(u.exports,function(n){var r=e[c][1][n];return t(r||n)},u,u.exports,n,e,r,a)}return r[c].exports}for(var i="function"==typeof require&&require,c=0;c>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},n.prototype.readInt32=function(){var n;return(n=this.readUInt32())>=2147483648?n-4294967296:n},n.prototype.writeInt32=function(n){return n<0&&(n+=4294967296),this.writeUInt32(n)},n.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},n.prototype.writeUInt16=function(n){return this.writeByte(n>>8&255),this.writeByte(255&n)},n.prototype.readInt16=function(){var n;return(n=this.readUInt16())>=32768?n-65536:n},n.prototype.writeInt16=function(n){return n<0&&(n+=65536),this.writeUInt16(n)},n.prototype.readString=function(n){var e,r,a;for(r=[],e=a=0;0<=n?an;e=0<=n?++a:--a)r[e]=String.fromCharCode(this.readByte());return r.join("")},n.prototype.writeString=function(n){var e,r,a,t;for(t=[],e=r=0,a=n.length;0<=a?ra;e=0<=a?++r:--r)t.push(this.writeByte(n.charCodeAt(e)));return t},n.prototype.stringAt=function(n,e){return this.pos=n,this.readString(e)},n.prototype.readShort=function(){return this.readInt16()},n.prototype.writeShort=function(n){return this.writeInt16(n)},n.prototype.readLongLong=function(){var n,e,r,a,t,i,c,o;return n=this.readByte(),e=this.readByte(),r=this.readByte(),a=this.readByte(),t=this.readByte(),i=this.readByte(),c=this.readByte(),o=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^a)+16777216*(255^t)+65536*(255^i)+256*(255^c)+(255^o)+1):72057594037927940*n+281474976710656*e+1099511627776*r+4294967296*a+16777216*t+65536*i+256*c+o},n.prototype.writeLongLong=function(n){var e,r;return e=Math.floor(n/4294967296),r=4294967295&n,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},n.prototype.readInt=function(){return this.readInt32()},n.prototype.writeInt=function(n){return this.writeInt32(n)},n.prototype.slice=function(n,e){return this.data.slice(n,e)},n.prototype.read=function(n){var e,r;for(e=[],r=0;0<=n?rn;0<=n?++r:--r)e.push(this.readByte());return e},n.prototype.write=function(n){var e,r,a,t;for(t=[],r=0,a=n.length;rc;a=0<=c?++i:--i)r=e.charCodeAt(a),r=n[r]||r,t.push(r.toString(16));return t},r.prototype.glyphsForString=function(n){var e,r,a,t,i;for(r=[],a=t=0,i=n.length;0<=i?ti;a=0<=i?++t:--t)e=n.charCodeAt(a),r.push(this.characterToGlyph(e));return r},r.prototype.characterToGlyph=function(r){return e[n[r]||r]||".notdef"},r.prototype.widthOfGlyph=function(n){return this.glyphWidths[n]||0},r.prototype.getKernPair=function(n,e){return this.kernPairs[n+"\0"+e]||0},r.prototype.advancesForGlyphs=function(n){var e,r,a,t,i,c;for(e=[],r=i=0,c=n.length;i>8,t=0,this.font.post.isFixedPitch&&(t|=1),1<=a&&a<=7&&(t|=2),t|=4,10===a&&(t|=8),this.font.head.macStyle.italic&&(t|=64),o=function(){var n,e;for(e=[],n=0;n<6;++n)e.push(String.fromCharCode(26*Math.random()+65));return e}().join("")+"+"+this.font.postscriptName,n=this.font.bbox,r=this.document.ref({Type:"FontDescriptor",FontName:o,Flags:t,FontBBox:[n.minX*this.scale,n.minY*this.scale,n.maxX*this.scale,n.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0}),c?r.data.FontFile3=i:r.data.FontFile2=i,r.end(),(e=this.document.ref({Type:"Font",Subtype:c?"CIDFontType0":"CIDFontType2",BaseFont:o,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:r,W:[0,this.widths]})).end(),this.dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:o,Encoding:"Identity-H",DescendantFonts:[e],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()},e=function(){var n,e;return e=1<=arguments.length?c.call(arguments,0):[],function(){var r,a,t;for(t=[],r=0,a=e.length;r65535&&(i-=65536,a.push(e(i>>>10&1023|55296)),i=56320|1023&i),a.push(e(i));t.push("<"+a.join(" ")+">")}return n.end("/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000>\nendcodespacerange\n1 beginbfrange\n<0000> <"+e(t.length-1)+"> ["+t.join(" ")+"]\nendbfrange\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"),n},r}(),e.exports=a},{"../font":3,"../object":18}],6:[function(n,e,r){var a,t,i,c={}.hasOwnProperty;a=n("./afm"),t=n("../font"),n("fs"),i=function(n){var e;function r(n,r,t){var i;this.document=n,this.name=r,this.id=t,this.font=new a(e[this.name]()),i=this.font,this.ascender=i.ascender,this.descender=i.descender,this.bbox=i.bbox,this.lineGap=i.lineGap}return function(n,e){for(var r in e)c.call(e,r)&&(n[r]=e[r]);function a(){this.constructor=n}a.prototype=e.prototype,n.prototype=new a,n.__super__=e.prototype}(r,t),r.prototype.embed=function(){return this.dictionary.data={Type:"Font",BaseFont:this.name,Subtype:"Type1",Encoding:"WinAnsiEncoding"},this.dictionary.end()},r.prototype.encode=function(n){var e,r,a,t,i,c,o,s;for(r=this.font.encodeText(n),t=this.font.glyphsForString(""+n),e=this.font.advancesForGlyphs(t),c=[],i=o=0,s=t.length;oU;X=0<=U?++k:--k)a.push(0,1),X+2!==this.stops.length&&n.push(this.stops[X+1][0]),t=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[X+0][1],C1:this.stops[X+1][1],N:1}),x.push(t),t.end();if(1===x.length?t=x[0]:(t=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:x,Bounds:n,Encode:a})).end(),this.id="Sh"+ ++this.doc._gradCount,K=(P=this.doc._ctm.slice())[0],l=P[1],g=P[2],A=P[3],v=P[4],p=P[5],m=(Y=this.transform)[0],d=Y[1],h=Y[2],f=Y[3],e=Y[4],r=Y[5],P[0]=K*m+g*d,P[1]=l*m+A*d,P[2]=K*h+g*f,P[3]=l*h+A*f,P[4]=K*e+g*r+v,P[5]=l*e+A*r+p,(N=this.shader(t)).end(),y=this.doc.ref({Type:"Pattern",PatternType:2,Shading:N,Matrix:function(){var n,e,r;for(r=[],n=0,e=P.length;n=0));)c+=this.data.readUInt16BE(c);if(t.call(n,i)<0)throw"Invalid JPEG.";c+=2,this.bits=this.data[c++],this.height=this.data.readUInt16BE(c),c+=2,this.width=this.data.readUInt16BE(c),c+=2,a=this.data[c++],this.colorSpace=function(){switch(a){case 1:return"DeviceGray";case 3:return"DeviceRGB";case 4:return"DeviceCMYK"}}(),this.obj=null}return n=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],e.prototype.embed=function(n){if(!this.obj)return this.obj=n.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode"}),"DeviceCMYK"===this.colorSpace&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null},e}(),e.exports=a},{fs:59}],10:[function(n,e,r){(function(r){var a,t,i;i=n("zlib"),a=n("png-js"),t=function(){function n(n,e){this.label=e,this.image=new a(n),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}return n.prototype.embed=function(n){var e,a,t,i,c,o,s,X;if(this.document=n,!this.obj){if(this.obj=this.document.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bits,Width:this.width,Height:this.height,Filter:"FlateDecode"}),this.image.hasAlphaChannel||(t=this.document.ref({Predictor:15,Colors:this.image.colors,BitsPerComponent:this.image.bits,Columns:this.width}),this.obj.data.DecodeParms=t,t.end()),0===this.image.palette.length?this.obj.data.ColorSpace=this.image.colorSpace:((a=this.document.ref()).end(new r(this.image.palette)),this.obj.data.ColorSpace=["Indexed","DeviceRGB",this.image.palette.length/3-1,a]),this.image.transparency.grayscale)return c=this.image.transparency.greyscale,this.obj.data.Mask=[c,c];if(this.image.transparency.rgb){for(e=[],s=0,X=(i=this.image.transparency.rgb).length;sthis.lineWidth+this.continuedX)for(s=o,i={};P.length;){for(c=P.length;u>this.spaceLeft;)u=this.wordWidth(P.slice(0,--c));if(i.required=cthis.maxY||i>this.maxY)&&this.nextSection(),r="",c=0,o=0,t=0,s=this.document.y,X=this,a=function(){return e.textWidth=c+X.wordSpacing*(o-1),e.wordCount=o,e.lineWidth=X.lineWidth,s=X.document.y,X.emit("line",r,e,X),t++},this.emit("sectionStart",e,this),this.eachWord(n,function(n){return function(t,i,s,X){var u;if((null==X||X.required)&&(n.emit("firstLine",e,n),n.spaceLeft=n.lineWidth),i<=n.spaceLeft&&(r+=t,c+=i,o++),s.required||i>n.spaceLeft){if(s.required&&n.emit("lastLine",e,n),u=n.document.currentLineHeight(!0),null!=n.height&&n.ellipsis&&n.document.y+2*u>n.maxY&&n.column>=n.columns){for(!0===n.ellipsis&&(n.ellipsis="…"),r=r.replace(/\s+$/,""),c=n.wordWidth(r+n.ellipsis);c>n.lineWidth;)r=r.slice(0,-1).replace(/\s+$/,""),c=n.wordWidth(r+n.ellipsis);r+=n.ellipsis}return a(),n.document.y+u>n.maxY&&!n.nextSection()?(o=0,r="",!1):s.required?(i>n.spaceLeft&&(r=t,c=i,o=1,a()),n.spaceLeft=n.lineWidth,r="",c=0,o=0):(n.spaceLeft=n.lineWidth-i,r=t,c=i,o=1)}return n.spaceLeft-=i}}(this)),o>0&&(this.emit("lastLine",e,this),a()),this.emit("sectionEnd",e,this),!0===e.continued?(t>1&&(this.continuedX=0),this.continuedX+=e.textWidth,this.document.y=s):this.document.x=this.startX},e.prototype.nextSection=function(n){var e;if(this.emit("sectionEnd",n,this),++this.column>this.columns){if(null!=this.height)return!1;this.document.addPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.document.x=this.startX,this.document._fillColor&&(e=this.document).fillColor.apply(e,this.document._fillColor),this.emit("pageBreak",n,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit("columnBreak",n,this);return this.emit("sectionStart",n,this),!0},e}(),e.exports=i},{events:164,linebreak:173}],12:[function(n,e,r){e.exports={annotate:function(n,e,r,a,t){var i,c,o;for(i in t.Type="Annot",t.Rect=this._convertRect(n,e,r,a),t.Border=[0,0,0],"Link"!==t.Subtype&&null==t.C&&(t.C=this._normalizeColor(t.color||[0,0,0])),delete t.color,"string"==typeof t.Dest&&(t.Dest=new String(t.Dest)),t)o=t[i],t[i[0].toUpperCase()+i.slice(1)]=o;return c=this.ref(t),this.page.annotations.push(c),c.end(),this},note:function(n,e,r,a,t,i){return null==i&&(i={}),i.Subtype="Text",i.Contents=new String(t),i.Name="Comment",null==i.color&&(i.color=[243,223,92]),this.annotate(n,e,r,a,i)},link:function(n,e,r,a,t,i){return null==i&&(i={}),i.Subtype="Link",i.A=this.ref({S:"URI",URI:new String(t)}),i.A.end(),this.annotate(n,e,r,a,i)},_markup:function(n,e,r,a,t){var i,c,o,s,X;return null==t&&(t={}),i=(X=this._convertRect(n,e,r,a))[0],o=X[1],c=X[2],s=X[3],t.QuadPoints=[i,s,c,s,i,o,c,o],t.Contents=new String,this.annotate(n,e,r,a,t)},highlight:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="Highlight",null==t.color&&(t.color=[241,238,148]),this._markup(n,e,r,a,t)},underline:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="Underline",this._markup(n,e,r,a,t)},strike:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="StrikeOut",this._markup(n,e,r,a,t)},lineAnnotation:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="Line",t.Contents=new String,t.L=[n,this.page.height-e,r,this.page.height-a],this.annotate(n,e,r,a,t)},rectAnnotation:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="Square",t.Contents=new String,this.annotate(n,e,r,a,t)},ellipseAnnotation:function(n,e,r,a,t){return null==t&&(t={}),t.Subtype="Circle",t.Contents=new String,this.annotate(n,e,r,a,t)},textAnnotation:function(n,e,r,a,t,i){return null==i&&(i={}),i.Subtype="FreeText",i.Contents=new String(t),i.DA=new String,this.annotate(n,e,r,a,i)},_convertRect:function(n,e,r,a){var t,i,c,o,s,X,u,P,K;return P=e,e+=a,u=n+r,t=(K=this._ctm)[0],i=K[1],c=K[2],o=K[3],[n=t*n+c*e+(s=K[4]),e=i*n+o*e+(X=K[5]),u=t*u+c*P+s,P=i*u+o*P+X]}}},{}],13:[function(n,e,r){var a,t,i,c,o;o=n("../gradient"),a=o.PDFGradient,t=o.PDFLinearGradient,i=o.PDFRadialGradient,e.exports={initColor:function(){return this._opacityRegistry={},this._opacityCount=0,this._gradCount=0},_normalizeColor:function(n){var e,r;return n instanceof a?n:("string"==typeof n&&("#"===n.charAt(0)?(4===n.length&&(n=n.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,"#$1$1$2$2$3$3")),e=parseInt(n.slice(1),16),n=[e>>16,e>>8&255,255&e]):c[n]&&(n=c[n])),Array.isArray(n)?(3===n.length?n=function(){var e,a,t;for(t=[],e=0,a=n.length;eo?(l=s,X=s/K):(X=c,l=c*K),"center"===i.align?e=e+s/2-l/2:"right"===i.align&&(e=e+s-l),"center"===i.valign?t=t+c/2-X/2:"bottom"===i.valign&&(t=t+c-X)),this.y===t&&(this.y+=X),this.save(),this.transform(l,0,0,-X,e,t+X),this.addContent("/"+P.label+" Do"),this.restore(),this}}}).call(this,{isBuffer:n("../../node_modules/is-buffer/index.js")})},{"../../node_modules/is-buffer/index.js":168,"../image":8}],16:[function(n,e,r){var a;a=n("../line_wrapper"),e.exports={initText:function(){return this.x=0,this.y=0,this._lineGap=0},lineGap:function(n){return this._lineGap=n,this},moveDown:function(n){return null==n&&(n=1),this.y+=this.currentLineHeight(!0)*n+this._lineGap,this},moveUp:function(n){return null==n&&(n=1),this.y-=this.currentLineHeight(!0)*n+this._lineGap,this},_text:function(n,e,r,t,i){var c,o,s,X;if(n=""+n,(t=this._initOptions(e,r,t)).wordSpacing&&(n=n.replace(/\s{2,}/g," ")),t.width)(c=this._wrapper)||(c=new a(this,t)).on("line",i),this._wrapper=t.continued?c:null,this._textOptions=t.continued?t:null,c.wrap(n,t);else for(o=0,s=(X=n.split("\n")).length;o "+-e)),m=n},R=this,P=function(n){if(t(n),o.length>0)return R.addContent("["+o.join(" ")+"] TJ"),o.length=0},l=k=0,T=A.length;k127){u=!0;break}return u&&(l=i(new r("\ufeff"+l,"utf16le")).toString("binary")),"("+l+")"}if(r.isBuffer(o))return"<"+o.toString("hex")+">";if(o instanceof t)return o.toString();if(o instanceof Date)return"(D:"+a(o.getUTCFullYear(),4)+a(o.getUTCMonth()+1,2)+a(o.getUTCDate(),2)+a(o.getUTCHours(),2)+a(o.getUTCMinutes(),2)+a(o.getUTCSeconds(),2)+"Z)";if(Array.isArray(o))return"["+function(){var n,e,r;for(r=[],n=0,e=o.length;n>"),K.join("\n")}return""+o},c}(),e.exports=a,t=n("./reference")}).call(this,n("buffer").Buffer)},{"./reference":21,buffer:60}],19:[function(n,e,r){var a;a=function(){var n,e;function r(r,a){var t,i;this.document=r,null==a&&(a={}),this.size=a.size||"letter",this.layout=a.layout||"portrait","number"==typeof a.margin?this.margins={top:a.margin,left:a.margin,bottom:a.margin,right:a.margin}:this.margins=a.margins||n,t=Array.isArray(this.size)?this.size:e[this.size.toUpperCase()],this.width=t["portrait"===this.layout?0:1],this.height=t["portrait"===this.layout?1:0],this.content=this.document.ref(),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),Object.defineProperties(this,{fonts:{get:(i=this,function(){var n;return null!=(n=i.resources.data).Font?n.Font:n.Font={}})},xobjects:{get:function(n){return function(){var e;return null!=(e=n.resources.data).XObject?e.XObject:e.XObject={}}}(this)},ext_gstates:{get:function(n){return function(){var e;return null!=(e=n.resources.data).ExtGState?e.ExtGState:e.ExtGState={}}}(this)},patterns:{get:function(n){return function(){var e;return null!=(e=n.resources.data).Pattern?e.Pattern:e.Pattern={}}}(this)},annotations:{get:function(n){return function(){var e;return null!=(e=n.dictionary.data).Annots?e.Annots:e.Annots=[]}}(this)}}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources})}return r.prototype.maxY=function(){return this.height-this.margins.bottom},r.prototype.write=function(n){return this.content.write(n)},r.prototype.end=function(){return this.dictionary.end(),this.resources.end(),this.content.end()},n={top:72,left:72,bottom:72,right:72},e={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]},r}(),e.exports=a},{}],20:[function(n,e,r){var a;a=function(){var n,e,r,a,t,i,c,o,s,X,u,P,K,l;function m(){}return m.apply=function(e,r){var a;return a=c(r),n(a,e)},i={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},c=function(n){var e,r,a,t,c,o,s,X,u;for(s=[],e=[],t="",c=!1,o=0,X=0,u=n.length;X0&&(e[e.length]=+t),s[s.length]={cmd:a,args:e},e=[],t="",c=!1),a=r;else if(" "===r||","===r||"-"===r&&t.length>0&&"e"!==t[t.length-1]||"."===r&&c){if(0===t.length)continue;e.length===o?(s[s.length]={cmd:a,args:e},e=[+t],"M"===a&&(a="L"),"m"===a&&(a="l")):e[e.length]=+t,c="."===r,t="-"===r||"."===r?r:""}else t+=r,"."===r&&(c=!0);return t.length>0&&(e.length===o?(s[s.length]={cmd:a,args:e},e=[+t],"M"===a&&(a="L"),"m"===a&&(a="l")):e[e.length]=+t),s[s.length]={cmd:a,args:e},s},r=a=o=s=K=l=0,n=function(n,e){var t,i,c,u,P;for(r=a=o=s=K=l=0,i=c=0,u=n.length;c1&&(r*=h=Math.sqrt(h),a*=h),(p=1/(((O=(P=d/r)*n+(K=C/r)*e)-(x=P*X+K*u))*(O-x)+((T=(l=-C/a)*n+(m=d/a)*e)-(w=l*X+m*u))*(T-w))-.25)<0&&(p=0),v=Math.sqrt(p),i===t&&(v=-v),k=.5*(x+O)-v*(T-w),U=.5*(w+T)+v*(O-x),W=Math.atan2(w-U,x-k),(b=Math.atan2(T-U,O-k)-W)<0&&1===i?b+=2*Math.PI:b>0&&0===i&&(b-=2*Math.PI),A=Math.ceil(Math.abs(b/(.5*Math.PI+.001))),f=[],g=Y=0;0<=A?YA;g=0<=A?++Y:--Y)B=W+g*b/A,N=W+(g+1)*b/A,f[g]=[k,U,B,N,r,a,C,d];return f},u=function(n,e,r,a,i,c,o,s){var X,u,P,K,l,m,d,g,h,f,A,v;return X=s*i,u=-o*c,P=o*i,K=s*c,m=.5*(a-r),l=8/3*Math.sin(.5*m)*Math.sin(.5*m)/Math.sin(m),d=t(n+Math.cos(r)-l*Math.sin(r)),f=t(e+Math.sin(r)+l*Math.cos(r)),h=t(n+Math.cos(a)),v=t(e+Math.sin(a)),[X*d+u*f,P*d+K*f,X*(g=t(h+l*Math.sin(a)))+u*(A=t(v-l*Math.cos(a))),P*g+K*A,X*h+u*v,P*h+K*v]},t=function(n){return Math.abs(Math.round(n)-n)<1e-13?Math.round(n):n},m}(),e.exports=a},{}],21:[function(n,e,r){(function(r){var a,t,i,c,o=function(n,e){return function(){return n.apply(e,arguments)}},s={}.hasOwnProperty;c=n("zlib"),i=n("stream"),t=function(n){function e(n,r,a){this.document=n,this.id=r,this.data=null!=a?a:{},this.finalize=o(this.finalize,this),e.__super__.constructor.call(this,{decodeStrings:!1}),this.gen=0,this.deflate=null,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.chunks=[]}return function(n,e){for(var r in e)s.call(e,r)&&(n[r]=e[r]);function a(){this.constructor=n}a.prototype=e.prototype,n.prototype=new a,n.__super__=e.prototype}(e,i.Writable),e.prototype.initDeflate=function(){var n;return this.data.Filter="FlateDecode",this.deflate=c.createDeflate(),this.deflate.on("data",(n=this,function(e){return n.chunks.push(e),n.data.Length+=e.length})),this.deflate.on("end",this.finalize)},e.prototype._write=function(n,e,a){var t;return r.isBuffer(n)||(n=new r(n+"\n","binary")),this.uncompressedLength+=n.length,null==(t=this.data).Length&&(t.Length=0),this.compress?(this.deflate||this.initDeflate(),this.deflate.write(n)):(this.chunks.push(n),this.data.Length+=n.length),a()},e.prototype.end=function(n){return e.__super__.end.apply(this,arguments),this.deflate?this.deflate.end():this.finalize()},e.prototype.finalize=function(){var n,e,r,t;if(this.offset=this.document._offset,this.document._write(this.id+" "+this.gen+" obj"),this.document._write(a.convert(this.data)),this.chunks.length){for(this.document._write("stream"),e=0,r=(t=this.chunks).length;e=0;o--)if(s[o]!=X[o])return!1;for(o=s.length-1;o>=0;o--)if(c=s[o],!P(n[c],e[c]))return!1;return!0}(n,e):n==e}function K(n){return"[object Arguments]"==Object.prototype.toString.call(n)}function l(n,e){return!(!n||!e)&&("[object RegExp]"==Object.prototype.toString.call(e)?e.test(n):n instanceof e||!0===e.call({},n))}function m(n,e,r,t){var i;a.isString(r)&&(t=r,r=null);try{e()}catch(n){i=n}if(t=(r&&r.name?" ("+r.name+").":".")+(t?" "+t:"."),n&&!i&&X(i,r,"Missing expected exception"+t),!n&&l(i,r)&&X(i,r,"Got unwanted exception"+t),n&&i&&r&&!l(i,r)||!n&&i)throw i}c.AssertionError=function(n){this.name="AssertionError",this.actual=n.actual,this.expected=n.expected,this.operator=n.operator,n.message?(this.message=n.message,this.generatedMessage=!1):(this.message=function(n){return s(JSON.stringify(n.actual,o),128)+" "+n.operator+" "+s(JSON.stringify(n.expected,o),128)}(this),this.generatedMessage=!0);var e=n.stackStartFunction||X;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var a=r.stack,t=e.name,i=a.indexOf("\n"+t);if(i>=0){var c=a.indexOf("\n",i+1);a=a.substring(c+1)}this.stack=a}}},a.inherits(c.AssertionError,Error),c.fail=X,c.ok=u,c.equal=function(n,e,r){n!=e&&X(n,e,r,"==",c.equal)},c.notEqual=function(n,e,r){n==e&&X(n,e,r,"!=",c.notEqual)},c.deepEqual=function(n,e,r){P(n,e)||X(n,e,r,"deepEqual",c.deepEqual)},c.notDeepEqual=function(n,e,r){P(n,e)&&X(n,e,r,"notDeepEqual",c.notDeepEqual)},c.strictEqual=function(n,e,r){n!==e&&X(n,e,r,"===",c.strictEqual)},c.notStrictEqual=function(n,e,r){n===e&&X(n,e,r,"!==",c.notStrictEqual)},c.throws=function(n,e,r){m.apply(this,[!0].concat(t.call(arguments)))},c.doesNotThrow=function(n,e){m.apply(this,[!1].concat(t.call(arguments)))},c.ifError=function(n){if(n)throw n};var d=Object.keys||function(n){var e=[];for(var r in n)i.call(n,r)&&e.push(r);return e}},{"util/":224}],23:[function(n,e,r){e.exports={default:n("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":62}],24:[function(n,e,r){e.exports={default:n("core-js/library/fn/get-iterator"),__esModule:!0}},{"core-js/library/fn/get-iterator":63}],25:[function(n,e,r){e.exports={default:n("core-js/library/fn/is-iterable"),__esModule:!0}},{"core-js/library/fn/is-iterable":64}],26:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":65}],27:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":66}],28:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/define-properties"),__esModule:!0}},{"core-js/library/fn/object/define-properties":67}],29:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":68}],30:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/freeze"),__esModule:!0}},{"core-js/library/fn/object/freeze":69}],31:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/get-own-property-descriptor"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-descriptor":70}],32:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":71}],33:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":72}],34:[function(n,e,r){e.exports={default:n("core-js/library/fn/object/set-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/set-prototype-of":73}],35:[function(n,e,r){e.exports={default:n("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":74}],36:[function(n,e,r){e.exports={default:n("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":75}],37:[function(n,e,r){"use strict";r.__esModule=!0,r.default=function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}},{}],38:[function(n,e,r){"use strict";r.__esModule=!0;var a,t=n("../core-js/object/define-property"),i=(a=t)&&a.__esModule?a:{default:a};r.default=function(){function n(n,e){for(var r=0;r0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===n[X-2]?2:"="===n[X-1]?1:0,s=new i(3*X/4-o),a=o>0?X-4:X;var u=0;for(e=0,r=0;e>16&255,s[u++]=c>>8&255,s[u++]=255&c;2===o?(c=t[n.charCodeAt(e)]<<2|t[n.charCodeAt(e+1)]>>4,s[u++]=255&c):1===o&&(c=t[n.charCodeAt(e)]<<10|t[n.charCodeAt(e+1)]<<4|t[n.charCodeAt(e+2)]>>2,s[u++]=c>>8&255,s[u++]=255&c);return s},r.fromByteArray=function(n){for(var e,r=n.length,t=r%3,i="",o=[],s=0,X=r-t;sX?X:s+16383));1===t?(e=n[r-1],i+=a[e>>2],i+=a[e<<4&63],i+="=="):2===t&&(e=(n[r-2]<<8)+n[r-1],i+=a[e>>10],i+=a[e>>4&63],i+=a[e<<2&63],i+="=");return o.push(i),o.join("")};var a=[],t=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array;function c(n,e,r){for(var t,i,c=[],o=e;o>18&63]+a[i>>12&63]+a[i>>6&63]+a[63&i]);return c.join("")}!function(){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=n.length;e0},i.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var n=this.buf_ptr_,e=this.input_.read(this.buf_,n,4096);if(e<0)throw new Error("Unexpected end of input");if(e<4096){this.eos_=1;for(var r=0;r<32;r++)this.buf_[n+e+r]=0}if(0===n){for(r=0;r<32;r++)this.buf_[8192+r]=this.buf_[r];this.buf_ptr_=4096}else this.buf_ptr_=0;this.bit_end_pos_+=e<<3}},i.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[8191&this.pos_]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},i.prototype.readBits=function(n){32-this.bit_pos_>>this.bit_pos_&t[n];return this.bit_pos_+=n,e},e.exports=i},{}],47:[function(n,e,r){r.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),r.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},{}],48:[function(n,e,r){var a=n("./streams").BrotliInput,t=n("./streams").BrotliOutput,i=n("./bit_reader"),c=n("./dictionary"),o=n("./huffman").HuffmanCode,s=n("./huffman").BrotliBuildHuffmanTable,X=n("./context"),u=n("./prefix"),P=n("./transform");const K=8,l=16,m=256,d=704,g=26,h=6,f=2,A=8,v=255,p=1080,C=18,y=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),W=16,B=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),N=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),b=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function x(n){var e;return 0===n.readBits(1)?16:(e=n.readBits(3))>0?17+e:(e=n.readBits(3))>0?8+e:17}function O(n){if(n.readBits(1)){var e=n.readBits(3);return 0===e?1:n.readBits(e)+(1<1&&0===i)throw new Error("Invalid size byte");t.meta_block_length|=i<<8*a}}else for(a=0;a4&&0===c)throw new Error("Invalid size nibble");t.meta_block_length|=c<<4*a}return++t.meta_block_length,t.input_end||t.is_metadata||(t.is_uncompressed=n.readBits(1)),t}function T(n,e,r){var a;return r.fillBitWindow(),(a=n[e+=r.val_>>>r.bit_pos_&v].bits-A)>0&&(r.bit_pos_+=A,e+=n[e].value,e+=r.val_>>>r.bit_pos_&(1<>=1,++u;for(d=0;d0;++d){var p,W=y[d],B=0;a.fillBitWindow(),B+=a.val_>>>a.bit_pos_&15,a.bit_pos_+=v[B].bits,p=v[B].value,g[W]=p,0!==p&&(h-=32>>p,++f)}if(1!==f&&0!==h)throw new Error("[ReadHuffmanCode] invalid num_codes or space");!function(n,e,r,a){for(var t=0,i=K,c=0,X=0,u=32768,P=[],m=0;m<32;m++)P.push(new o(0,0));for(s(P,0,5,n,C);t0;){var d,g=0;if(a.readMoreInput(),a.fillBitWindow(),g+=a.val_>>>a.bit_pos_&31,a.bit_pos_+=P[g].bits,(d=255&P[g].value)>d);else{var h,f,A=d-14,v=0;if(d===l&&(v=i),X!==v&&(c=0,X=v),h=c,c>0&&(c-=2,c<<=A),t+(f=(c+=a.readBits(A)+3)-h)>e)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var p=0;p>>5]),this.htrees=new Uint32Array(e)}function L(n,e){var r,a,t={num_htrees:null,context_map:null},i=0;e.readMoreInput();var c=t.num_htrees=O(e)+1,s=t.context_map=new Uint8Array(n);if(c<=1)return t;for(e.readBits(1)&&(i=e.readBits(4)+1),r=[],a=0;a=n)throw new Error("[DecodeContextMap] i >= context_map_size");s[a]=0,++a}else s[a]=X-i,++a}return e.readBits(1)&&function(n,e){var r,a=new Uint8Array(256);for(r=0;r<256;++r)a[r]=r;for(r=0;r=n&&(o-=n),a[r]=o,t[s+(1&i[X])]=o,++i[X]}function V(n,e,r,a,t,c){var o,s=t+1,X=r&t,u=c.pos_&i.IBUF_MASK;if(e<8||c.bit_pos_+(e<<3)0;)c.readMoreInput(),a[X++]=c.readBits(8),X===s&&(n.write(a,s),X=0);else{if(c.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;c.bit_pos_<32;)a[X]=c.val_>>>c.bit_pos_,c.bit_pos_+=8,++X,--e;if(u+(o=c.bit_end_pos_-c.bit_pos_>>3)>i.IBUF_MASK){for(var P=i.IBUF_MASK+1-u,K=0;K=s){n.write(a,s),X-=s;for(K=0;K=s;){if(o=s-X,c.input_.read(a,X,o)0;--tn)y.readMoreInput(),y.readBits(8);else if(0!==tn)if(M)y.bit_pos_=y.bit_pos_+7&-8,V(e,tn,B,l,K,y),B+=tn;else{for(r=0;r<3;++r)sn[r]=O(y)+1,sn[r]>=2&&(U(sn[r]+2,v,r*p,y),U(g,C,r*p,y),cn[r]=Y(C,r*p,y),un[r]=1);for(y.readMoreInput(),H=(1<<(j=y.readBits(2)))-1,Z=(J=W+(y.readBits(4)<0;){var pn,Cn,yn,Wn,Bn,Nn,bn,xn,On,kn,wn,Tn;for(y.readMoreInput(),0===cn[1]&&(E(sn[1],v,1,on,Xn,un,y),cn[1]=Y(C,p,y),an=q[1].htrees[on[1]]),--cn[1],(Cn=(pn=T(q[1].codes,an,y))>>6)>=2?(Cn-=2,bn=-1):bn=0,yn=u.kInsertRangeLut[Cn]+(pn>>3&7),Wn=u.kCopyRangeLut[Cn]+(7&pn),Bn=u.kInsertLengthPrefixCode[yn].offset+y.readBits(u.kInsertLengthPrefixCode[yn].nbits),Nn=u.kCopyLengthPrefixCode[Wn].offset+y.readBits(u.kCopyLengthPrefixCode[Wn].nbits),On=0;On4?3:Nn-2))],(bn=T(q[2].codes,q[2].htrees[dn],y))>=J)Tn=(bn-=J)&H,bn=J+((Un=(2+(1&(bn>>=j))<<(wn=1+(bn>>1)))-4)+y.readBits(wn)<(b=B=c.minDictionaryWordLength&&Nn<=c.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+B+" distance: "+xn+" len: "+Nn+" bytes left: "+tn);var Un=c.offsetsByLength[Nn],Yn=xn-b-1,Sn=c.sizeBitsByLength[Nn],Rn=Yn>>Sn;if(Un+=(Yn&(1<=A){e.write(l,s);for(var Ln=0;Ln0&&(k[3&R]=xn,++R),Nn>tn)throw new Error("Invalid backward reference. pos: "+B+" distance: "+xn+" len: "+Nn+" bytes left: "+tn);for(On=0;On>=1;return(n&r-1)+r}function c(n,e,r,t,i){do{n[e+(t-=r)]=new a(i.bits,i.value)}while(t>0)}function o(n,e,r){for(var a=1<0;--p[u])c(n,e+K,l,h,new a(255&u,65535&A[P++])),K=i(K,u);for(d=f-1,m=-1,u=r+1,l=2;u<=t;++u,l<<=1)for(;p[u]>0;--p[u])(K&d)!==m&&(e+=h,f+=h=1<<(g=o(p,u,r)),n[v+(m=K&d)]=new a(g+r&255,e-v-m&65535)),c(n,e+(K>>r),l,h,new a(u-r&255,65535&A[P++])),K=i(K,u);return f}},{}],52:[function(n,e,r){function a(n,e){this.offset=n,this.nbits=e}r.kBlockLengthPrefixCode=[new a(1,2),new a(5,2),new a(9,2),new a(13,2),new a(17,3),new a(25,3),new a(33,3),new a(41,3),new a(49,4),new a(65,4),new a(81,4),new a(97,4),new a(113,5),new a(145,5),new a(177,5),new a(209,5),new a(241,6),new a(305,6),new a(369,7),new a(497,8),new a(753,9),new a(1265,10),new a(2289,11),new a(4337,12),new a(8433,13),new a(16625,24)],r.kInsertLengthPrefixCode=[new a(0,0),new a(1,0),new a(2,0),new a(3,0),new a(4,0),new a(5,0),new a(6,1),new a(8,1),new a(10,2),new a(14,2),new a(18,3),new a(26,3),new a(34,4),new a(50,4),new a(66,5),new a(98,5),new a(130,6),new a(194,7),new a(322,8),new a(578,9),new a(1090,10),new a(2114,12),new a(6210,14),new a(22594,24)],r.kCopyLengthPrefixCode=[new a(2,0),new a(3,0),new a(4,0),new a(5,0),new a(6,0),new a(7,0),new a(8,0),new a(9,0),new a(10,1),new a(12,1),new a(14,2),new a(18,2),new a(22,3),new a(30,3),new a(38,4),new a(54,4),new a(70,5),new a(102,5),new a(134,6),new a(198,7),new a(326,8),new a(582,9),new a(1094,10),new a(2118,24)],r.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],r.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},{}],53:[function(n,e,r){function a(n){this.buffer=n,this.pos=0}function t(n){this.buffer=n,this.pos=0}a.prototype.read=function(n,e,r){this.pos+r>this.buffer.length&&(r=this.buffer.length-this.pos);for(var a=0;athis.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(n.subarray(0,e),this.pos),this.pos+=e,e},r.BrotliOutput=t},{}],54:[function(n,e,r){var a=n("./dictionary");function t(n,e,r){this.prefix=new Uint8Array(n.length),this.transform=e,this.suffix=new Uint8Array(r.length);for(var a=0;a'),new t("",0,"\n"),new t("",3,""),new t("",0,"]"),new t("",0," for "),new t("",14,""),new t("",2,""),new t("",0," a "),new t("",0," that "),new t(" ",10,""),new t("",0,". "),new t(".",0,""),new t(" ",0,", "),new t("",15,""),new t("",0," with "),new t("",0,"'"),new t("",0," from "),new t("",0," by "),new t("",16,""),new t("",17,""),new t(" the ",0,""),new t("",4,""),new t("",0,". The "),new t("",11,""),new t("",0," on "),new t("",0," as "),new t("",0," is "),new t("",7,""),new t("",1,"ing "),new t("",0,"\n\t"),new t("",0,":"),new t(" ",0,". "),new t("",0,"ed "),new t("",20,""),new t("",18,""),new t("",6,""),new t("",0,"("),new t("",10,", "),new t("",8,""),new t("",0," at "),new t("",0,"ly "),new t(" the ",0," of "),new t("",5,""),new t("",9,""),new t(" ",10,", "),new t("",10,'"'),new t(".",0,"("),new t("",11," "),new t("",10,'">'),new t("",0,'="'),new t(" ",0,"."),new t(".com/",0,""),new t(" the ",0," of the "),new t("",10,"'"),new t("",0,". This "),new t("",0,","),new t(".",0," "),new t("",10,"("),new t("",10,"."),new t("",0," not "),new t(" ",0,'="'),new t("",0,"er "),new t(" ",11," "),new t("",0,"al "),new t(" ",11,""),new t("",0,"='"),new t("",11,'"'),new t("",10,". "),new t(" ",0,"("),new t("",0,"ful "),new t(" ",10,". "),new t("",0,"ive "),new t("",0,"less "),new t("",11,"'"),new t("",0,"est "),new t(" ",10,"."),new t("",11,'">'),new t(" ",0,"='"),new t("",10,","),new t("",0,"ize "),new t("",11,"."),new t(" ",0,""),new t(" ",0,","),new t("",10,'="'),new t("",11,'="'),new t("",0,"ous "),new t("",11,", "),new t("",10,"='"),new t(" ",10,","),new t(" ",11,'="'),new t(" ",11,", "),new t("",11,","),new t("",11,"("),new t("",11,". "),new t(" ",11,"."),new t("",11,"='"),new t(" ",11,". "),new t(" ",10,'="'),new t(" ",11,"='"),new t(" ",10,"='")];function c(n,e){return n[e]<192?(n[e]>=97&&n[e]<=122&&(n[e]^=32),1):n[e]<224?(n[e+1]^=32,2):(n[e+2]^=5,3)}r.kTransforms=i,r.kNumTransforms=i.length,r.transformDictionaryWord=function(n,e,r,t,o){var s,X=i[o].prefix,u=i[o].suffix,P=i[o].transform,K=P<12?0:P-11,l=0,m=e;K>t&&(K=t);for(var d=0;d0;){var g=c(n,s);s+=g,t-=g}for(var h=0;hr.UNZIP)throw new TypeError("Bad argument");this.mode=n,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function P(n,e){for(var r=0;rr.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+n.chunkSize);if(n.windowBits&&(n.windowBitsr.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+n.windowBits);if(n.level&&(n.levelr.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+n.level);if(n.memLevel&&(n.memLevelr.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+n.memLevel);if(n.strategy&&n.strategy!=r.Z_FILTERED&&n.strategy!=r.Z_HUFFMAN_ONLY&&n.strategy!=r.Z_RLE&&n.strategy!=r.Z_FIXED&&n.strategy!=r.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+n.strategy);if(n.dictionary&&!a.isBuffer(n.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new i.Zlib(e);var c=this;this._hadError=!1,this._binding.onerror=function(n,e){c._binding=null,c._hadError=!0;var a=new Error(n);a.errno=e,a.code=r.codes[e],c.emit("error",a)};var o=r.Z_DEFAULT_COMPRESSION;"number"==typeof n.level&&(o=n.level);var s=r.Z_DEFAULT_STRATEGY;"number"==typeof n.strategy&&(s=n.strategy),this._binding.init(n.windowBits||r.Z_DEFAULT_WINDOWBITS,o,n.memLevel||r.Z_DEFAULT_MEMLEVEL,s,n.dictionary),this._buffer=new a(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=s,this.once("end",this.close)}i.Z_MIN_WINDOWBITS=8,i.Z_MAX_WINDOWBITS=15,i.Z_DEFAULT_WINDOWBITS=15,i.Z_MIN_CHUNK=64,i.Z_MAX_CHUNK=1/0,i.Z_DEFAULT_CHUNK=16384,i.Z_MIN_MEMLEVEL=1,i.Z_MAX_MEMLEVEL=9,i.Z_DEFAULT_MEMLEVEL=8,i.Z_MIN_LEVEL=-1,i.Z_MAX_LEVEL=9,i.Z_DEFAULT_LEVEL=i.Z_DEFAULT_COMPRESSION,Object.keys(i).forEach(function(n){n.match(/^Z/)&&(r[n]=i[n])}),r.codes={Z_OK:i.Z_OK,Z_STREAM_END:i.Z_STREAM_END,Z_NEED_DICT:i.Z_NEED_DICT,Z_ERRNO:i.Z_ERRNO,Z_STREAM_ERROR:i.Z_STREAM_ERROR,Z_DATA_ERROR:i.Z_DATA_ERROR,Z_MEM_ERROR:i.Z_MEM_ERROR,Z_BUF_ERROR:i.Z_BUF_ERROR,Z_VERSION_ERROR:i.Z_VERSION_ERROR},Object.keys(r.codes).forEach(function(n){r.codes[r.codes[n]]=n}),r.Deflate=u,r.Inflate=P,r.Gzip=K,r.Gunzip=l,r.DeflateRaw=m,r.InflateRaw=d,r.Unzip=g,r.createDeflate=function(n){return new u(n)},r.createInflate=function(n){return new P(n)},r.createDeflateRaw=function(n){return new m(n)},r.createInflateRaw=function(n){return new d(n)},r.createGzip=function(n){return new K(n)},r.createGunzip=function(n){return new l(n)},r.createUnzip=function(n){return new g(n)},r.deflate=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new u(e),n,r)},r.deflateSync=function(n,e){return X(new u(e),n)},r.gzip=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new K(e),n,r)},r.gzipSync=function(n,e){return X(new K(e),n)},r.deflateRaw=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new m(e),n,r)},r.deflateRawSync=function(n,e){return X(new m(e),n)},r.unzip=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new g(e),n,r)},r.unzipSync=function(n,e){return X(new g(e),n)},r.inflate=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new P(e),n,r)},r.inflateSync=function(n,e){return X(new P(e),n)},r.gunzip=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new l(e),n,r)},r.gunzipSync=function(n,e){return X(new l(e),n)},r.inflateRaw=function(n,e,r){return"function"==typeof e&&(r=e,e={}),s(new d(e),n,r)},r.inflateRawSync=function(n,e){return X(new d(e),n)},c.inherits(h,t),h.prototype.params=function(n,a,t){if(nr.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+n);if(a!=r.Z_FILTERED&&a!=r.Z_HUFFMAN_ONLY&&a!=r.Z_RLE&&a!=r.Z_FIXED&&a!=r.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+a);if(this._level!==n||this._strategy!==a){var c=this;this.flush(i.Z_SYNC_FLUSH,function(){c._binding.params(n,a),c._hadError||(c._level=n,c._strategy=a,t&&t())})}else e.nextTick(t)},h.prototype.reset=function(){return this._binding.reset()},h.prototype._flush=function(n){this._transform(new a(0),"",n)},h.prototype.flush=function(n,r){var t=this._writableState;if(("function"==typeof n||void 0===n&&!r)&&(r=n,n=i.Z_FULL_FLUSH),t.ended)r&&e.nextTick(r);else if(t.ending)r&&this.once("end",r);else if(t.needDrain){var c=this;this.once("drain",function(){c.flush(r)})}else this._flushFlag=n,this.write(new a(0),"",r)},h.prototype.close=function(n){if(n&&e.nextTick(n),!this._closed){this._closed=!0,this._binding.close();var r=this;e.nextTick(function(){r.emit("close")})}},h.prototype._transform=function(n,e,r){var t,c=this._writableState,o=(c.ending||c.ended)&&(!n||c.length===n.length);if(null===!n&&!a.isBuffer(n))return r(new Error("invalid input"));o?t=i.Z_FINISH:(t=this._flushFlag,n.length>=c.length&&(this._flushFlag=this._opts.flush||i.Z_NO_FLUSH));this._processChunk(n,t,r)},h.prototype._processChunk=function(n,e,r){var t=n&&n.length,i=this._chunkSize-this._offset,c=0,s=this,X="function"==typeof r;if(!X){var u,P=[],K=0;this.on("error",function(n){u=n});do{var l=this._binding.writeSync(e,n,c,t,this._buffer,this._offset,i)}while(!this._hadError&&g(l[0],l[1]));if(this._hadError)throw u;var m=a.concat(P,K);return this.close(),m}var d=this._binding.write(e,n,c,t,this._buffer,this._offset,i);function g(u,l){if(!s._hadError){var m=i-l;if(o(m>=0,"have should not go down"),m>0){var d=s._buffer.slice(s._offset,s._offset+m);s._offset+=m,X?s.push(d):(P.push(d),K+=d.length)}if((0===l||s._offset>=s._chunkSize)&&(i=s._chunkSize,s._offset=0,s._buffer=new a(s._chunkSize)),0===l){if(c+=t-u,t=u,!X)return!0;var h=s._binding.write(e,n,c,t,s._buffer,s._offset,s._chunkSize);return h.callback=g,void(h.buffer=n)}if(!X)return!1;r()}}d.buffer=n,d.callback=g},c.inherits(u,h),c.inherits(P,h),c.inherits(K,h),c.inherits(l,h),c.inherits(m,h),c.inherits(d,h),c.inherits(g,h)}).call(this,n("_process"),n("buffer").Buffer)},{"./binding":57,_process:188,_stream_transform:197,assert:22,buffer:60,util:224}],59:[function(n,e,r){arguments[4][56][0].apply(r,arguments)},{dup:56}],60:[function(n,e,r){(function(e){"use strict";var a=n("base64-js"),t=n("ieee754"),i=n("isarray");function c(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(n,e){if(c()=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|n}function m(n,e){if(s.isBuffer(n))return n.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(n)||n instanceof ArrayBuffer))return n.byteLength;"string"!=typeof n&&(n=""+n);var r=n.length;if(0===r)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return D(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(n).length;default:if(a)return D(n).length;e=(""+e).toLowerCase(),a=!0}}function d(n,e,r){var a=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(n||(n="utf8");;)switch(n){case"hex":return k(this,e,r);case"utf8":case"utf-8":return N(this,e,r);case"ascii":return x(this,e,r);case"latin1":case"binary":return O(this,e,r);case"base64":return B(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),a=!0}}function g(n,e,r){var a=n[e];n[e]=n[r],n[r]=a}function h(n,e,r,a,t){if(0===n.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=t?0:n.length-1),r<0&&(r=n.length+r),r>=n.length){if(t)return-1;r=n.length-1}else if(r<0){if(!t)return-1;r=0}if("string"==typeof e&&(e=s.from(e,a)),s.isBuffer(e))return 0===e.length?-1:f(n,e,r,a,t);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?t?Uint8Array.prototype.indexOf.call(n,e,r):Uint8Array.prototype.lastIndexOf.call(n,e,r):f(n,[e],r,a,t);throw new TypeError("val must be string, number or Buffer")}function f(n,e,r,a,t){var i,c=1,o=n.length,s=e.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(n.length<2||e.length<2)return-1;c=2,o/=2,s/=2,r/=2}function X(n,e){return 1===c?n[e]:n.readUInt16BE(e*c)}if(t){var u=-1;for(i=r;io&&(r=o-s),i=r;i>=0;i--){for(var P=!0,K=0;Kt&&(a=t):a=t;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");a>i/2&&(a=i/2);for(var c=0;c>8,t=r%256,i.push(t),i.push(a);return i}(e,n.length-r),n,r,a)}function B(n,e,r){return 0===e&&r===n.length?a.fromByteArray(n):a.fromByteArray(n.slice(e,r))}function N(n,e,r){r=Math.min(n.length,r);for(var a=[],t=e;t239?4:X>223?3:X>191?2:1;if(t+P<=r)switch(P){case 1:X<128&&(u=X);break;case 2:128==(192&(i=n[t+1]))&&(s=(31&X)<<6|63&i)>127&&(u=s);break;case 3:i=n[t+1],c=n[t+2],128==(192&i)&&128==(192&c)&&(s=(15&X)<<12|(63&i)<<6|63&c)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=n[t+1],c=n[t+2],o=n[t+3],128==(192&i)&&128==(192&c)&&128==(192&o)&&(s=(15&X)<<18|(63&i)<<12|(63&c)<<6|63&o)>65535&&s<1114112&&(u=s)}null===u?(u=65533,P=1):u>65535&&(u-=65536,a.push(u>>>10&1023|55296),u=56320|1023&u),a.push(u),t+=P}return function(n){var e=n.length;if(e<=b)return String.fromCharCode.apply(String,n);var r="",a=0;for(;a0&&(n=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(n+=" ... ")),""},s.prototype.compare=function(n,e,r,a,t){if(!s.isBuffer(n))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=n?n.length:0),void 0===a&&(a=0),void 0===t&&(t=this.length),e<0||r>n.length||a<0||t>this.length)throw new RangeError("out of range index");if(a>=t&&e>=r)return 0;if(a>=t)return-1;if(e>=r)return 1;if(this===n)return 0;for(var i=(t>>>=0)-(a>>>=0),c=(r>>>=0)-(e>>>=0),o=Math.min(i,c),X=this.slice(a,t),u=n.slice(e,r),P=0;Pt)&&(r=t),n.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");a||(a="utf8");for(var i=!1;;)switch(a){case"hex":return A(this,n,e,r);case"utf8":case"utf-8":return v(this,n,e,r);case"ascii":return p(this,n,e,r);case"latin1":case"binary":return C(this,n,e,r);case"base64":return y(this,n,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return W(this,n,e,r);default:if(i)throw new TypeError("Unknown encoding: "+a);a=(""+a).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function x(n,e,r){var a="";r=Math.min(n.length,r);for(var t=e;ta)&&(r=a);for(var t="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function U(n,e,r,a,t,i){if(!s.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>t||en.length)throw new RangeError("Index out of range")}function Y(n,e,r,a){e<0&&(e=65535+e+1);for(var t=0,i=Math.min(n.length-r,2);t>>8*(a?t:1-t)}function S(n,e,r,a){e<0&&(e=4294967295+e+1);for(var t=0,i=Math.min(n.length-r,4);t>>8*(a?t:3-t)&255}function R(n,e,r,a,t,i){if(r+a>n.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(n,e,r,a,i){return i||R(n,0,r,4),t.write(n,e,r,a,23,4),r+4}function L(n,e,r,a,i){return i||R(n,0,r,8),t.write(n,e,r,a,52,8),r+8}s.prototype.slice=function(n,e){var r,a=this.length;if((n=~~n)<0?(n+=a)<0&&(n=0):n>a&&(n=a),(e=void 0===e?a:~~e)<0?(e+=a)<0&&(e=0):e>a&&(e=a),e0&&(t*=256);)a+=this[n+--e]*t;return a},s.prototype.readUInt8=function(n,e){return e||T(n,1,this.length),this[n]},s.prototype.readUInt16LE=function(n,e){return e||T(n,2,this.length),this[n]|this[n+1]<<8},s.prototype.readUInt16BE=function(n,e){return e||T(n,2,this.length),this[n]<<8|this[n+1]},s.prototype.readUInt32LE=function(n,e){return e||T(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]},s.prototype.readUInt32BE=function(n,e){return e||T(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])},s.prototype.readIntLE=function(n,e,r){n|=0,e|=0,r||T(n,e,this.length);for(var a=this[n],t=1,i=0;++i=(t*=128)&&(a-=Math.pow(2,8*e)),a},s.prototype.readIntBE=function(n,e,r){n|=0,e|=0,r||T(n,e,this.length);for(var a=e,t=1,i=this[n+--a];a>0&&(t*=256);)i+=this[n+--a]*t;return i>=(t*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(n,e){return e||T(n,1,this.length),128&this[n]?-1*(255-this[n]+1):this[n]},s.prototype.readInt16LE=function(n,e){e||T(n,2,this.length);var r=this[n]|this[n+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(n,e){e||T(n,2,this.length);var r=this[n+1]|this[n]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(n,e){return e||T(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},s.prototype.readInt32BE=function(n,e){return e||T(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},s.prototype.readFloatLE=function(n,e){return e||T(n,4,this.length),t.read(this,n,!0,23,4)},s.prototype.readFloatBE=function(n,e){return e||T(n,4,this.length),t.read(this,n,!1,23,4)},s.prototype.readDoubleLE=function(n,e){return e||T(n,8,this.length),t.read(this,n,!0,52,8)},s.prototype.readDoubleBE=function(n,e){return e||T(n,8,this.length),t.read(this,n,!1,52,8)},s.prototype.writeUIntLE=function(n,e,r,a){(n=+n,e|=0,r|=0,a)||U(this,n,e,r,Math.pow(2,8*r)-1,0);var t=1,i=0;for(this[e]=255&n;++i=0&&(i*=256);)this[e+t]=n/i&255;return e+r},s.prototype.writeUInt8=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),this[e]=255&n,e+1},s.prototype.writeUInt16LE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&n,this[e+1]=n>>>8):Y(this,n,e,!0),e+2},s.prototype.writeUInt16BE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=n>>>8,this[e+1]=255&n):Y(this,n,e,!1),e+2},s.prototype.writeUInt32LE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=n>>>24,this[e+2]=n>>>16,this[e+1]=n>>>8,this[e]=255&n):S(this,n,e,!0),e+4},s.prototype.writeUInt32BE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=n>>>24,this[e+1]=n>>>16,this[e+2]=n>>>8,this[e+3]=255&n):S(this,n,e,!1),e+4},s.prototype.writeIntLE=function(n,e,r,a){if(n=+n,e|=0,!a){var t=Math.pow(2,8*r-1);U(this,n,e,r,t-1,-t)}var i=0,c=1,o=0;for(this[e]=255&n;++i>0)-o&255;return e+r},s.prototype.writeIntBE=function(n,e,r,a){if(n=+n,e|=0,!a){var t=Math.pow(2,8*r-1);U(this,n,e,r,t-1,-t)}var i=r-1,c=1,o=0;for(this[e+i]=255&n;--i>=0&&(c*=256);)n<0&&0===o&&0!==this[e+i+1]&&(o=1),this[e+i]=(n/c>>0)-o&255;return e+r},s.prototype.writeInt8=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(n=Math.floor(n)),n<0&&(n=255+n+1),this[e]=255&n,e+1},s.prototype.writeInt16LE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&n,this[e+1]=n>>>8):Y(this,n,e,!0),e+2},s.prototype.writeInt16BE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=n>>>8,this[e+1]=255&n):Y(this,n,e,!1),e+2},s.prototype.writeInt32LE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&n,this[e+1]=n>>>8,this[e+2]=n>>>16,this[e+3]=n>>>24):S(this,n,e,!0),e+4},s.prototype.writeInt32BE=function(n,e,r){return n=+n,e|=0,r||U(this,n,e,4,2147483647,-2147483648),n<0&&(n=4294967295+n+1),s.TYPED_ARRAY_SUPPORT?(this[e]=n>>>24,this[e+1]=n>>>16,this[e+2]=n>>>8,this[e+3]=255&n):S(this,n,e,!1),e+4},s.prototype.writeFloatLE=function(n,e,r){return _(this,n,e,!0,r)},s.prototype.writeFloatBE=function(n,e,r){return _(this,n,e,!1,r)},s.prototype.writeDoubleLE=function(n,e,r){return L(this,n,e,!0,r)},s.prototype.writeDoubleBE=function(n,e,r){return L(this,n,e,!1,r)},s.prototype.copy=function(n,e,r,a){if(r||(r=0),a||0===a||(a=this.length),e>=n.length&&(e=n.length),e||(e=0),a>0&&a=this.length)throw new RangeError("sourceStart out of bounds");if(a<0)throw new RangeError("sourceEnd out of bounds");a>this.length&&(a=this.length),n.length-e=0;--t)n[t+e]=this[t+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(t=0;t>>=0,r=void 0===r?this.length:r>>>0,n||(n=0),"number"==typeof n)for(i=e;i55295&&r<57344){if(!t){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(c+1===a){(e-=3)>-1&&i.push(239,191,189);continue}t=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),t=r;continue}r=65536+(t-55296<<10|r-56320)}else t&&(e-=3)>-1&&i.push(239,191,189);if(t=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function F(n){return a.toByteArray(function(n){if((n=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(n).replace(E,"")).length<2)return"";for(;n.length%4!=0;)n+="=";return n}(n))}function I(n,e,r,a){for(var t=0;t=e.length||t>=n.length);++t)e[t+r]=n[t];return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":45,ieee754:166,isarray:169}],61:[function(n,e,r){(function(n){var r=function(){"use strict";function e(r,t,i,c){"object"==typeof t&&(i=t.depth,c=t.prototype,t.filter,t=t.circular);var o=[],s=[],X=void 0!==n;return void 0===t&&(t=!0),void 0===i&&(i=1/0),function r(i,u){if(null===i)return null;if(0==u)return i;var P,K;if("object"!=typeof i)return i;if(e.__isArray(i))P=[];else if(e.__isRegExp(i))P=new RegExp(i.source,a(i)),i.lastIndex&&(P.lastIndex=i.lastIndex);else if(e.__isDate(i))P=new Date(i.getTime());else{if(X&&n.isBuffer(i))return P=new n(i.length),i.copy(P),P;void 0===c?(K=Object.getPrototypeOf(i),P=Object.create(K)):(P=Object.create(c),K=c)}if(t){var l=o.indexOf(i);if(-1!=l)return s[l];o.push(i),s.push(P)}for(var m in i){var d;K&&(d=Object.getOwnPropertyDescriptor(K,m)),d&&null==d.set||(P[m]=r(i[m],u-1))}return P}(r,i)}function r(n){return Object.prototype.toString.call(n)}function a(n){var e="";return n.global&&(e+="g"),n.ignoreCase&&(e+="i"),n.multiline&&(e+="m"),e}return e.clonePrototype=function(n){if(null===n)return null;var e=function(){};return e.prototype=n,new e},e.__objToStr=r,e.__isDate=function(n){return"object"==typeof n&&"[object Date]"===r(n)},e.__isArray=function(n){return"object"==typeof n&&"[object Array]"===r(n)},e.__isRegExp=function(n){return"object"==typeof n&&"[object RegExp]"===r(n)},e.__getRegExpFlags=a,e}();"object"==typeof e&&e.exports&&(e.exports=r)}).call(this,n("buffer").Buffer)},{buffer:60}],62:[function(n,e,r){n("../../modules/es6.string.iterator"),n("../../modules/es6.array.from"),e.exports=n("../../modules/_core").Array.from},{"../../modules/_core":82,"../../modules/es6.array.from":143,"../../modules/es6.string.iterator":155}],63:[function(n,e,r){n("../modules/web.dom.iterable"),n("../modules/es6.string.iterator"),e.exports=n("../modules/core.get-iterator")},{"../modules/core.get-iterator":141,"../modules/es6.string.iterator":155,"../modules/web.dom.iterable":159}],64:[function(n,e,r){n("../modules/web.dom.iterable"),n("../modules/es6.string.iterator"),e.exports=n("../modules/core.is-iterable")},{"../modules/core.is-iterable":142,"../modules/es6.string.iterator":155,"../modules/web.dom.iterable":159}],65:[function(n,e,r){n("../../modules/es6.object.assign"),e.exports=n("../../modules/_core").Object.assign},{"../../modules/_core":82,"../../modules/es6.object.assign":145}],66:[function(n,e,r){n("../../modules/es6.object.create");var a=n("../../modules/_core").Object;e.exports=function(n,e){return a.create(n,e)}},{"../../modules/_core":82,"../../modules/es6.object.create":146}],67:[function(n,e,r){n("../../modules/es6.object.define-properties");var a=n("../../modules/_core").Object;e.exports=function(n,e){return a.defineProperties(n,e)}},{"../../modules/_core":82,"../../modules/es6.object.define-properties":147}],68:[function(n,e,r){n("../../modules/es6.object.define-property");var a=n("../../modules/_core").Object;e.exports=function(n,e,r){return a.defineProperty(n,e,r)}},{"../../modules/_core":82,"../../modules/es6.object.define-property":148}],69:[function(n,e,r){n("../../modules/es6.object.freeze"),e.exports=n("../../modules/_core").Object.freeze},{"../../modules/_core":82,"../../modules/es6.object.freeze":149}],70:[function(n,e,r){n("../../modules/es6.object.get-own-property-descriptor");var a=n("../../modules/_core").Object;e.exports=function(n,e){return a.getOwnPropertyDescriptor(n,e)}},{"../../modules/_core":82,"../../modules/es6.object.get-own-property-descriptor":150}],71:[function(n,e,r){n("../../modules/es6.object.get-prototype-of"),e.exports=n("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":82,"../../modules/es6.object.get-prototype-of":151}],72:[function(n,e,r){n("../../modules/es6.object.keys"),e.exports=n("../../modules/_core").Object.keys},{"../../modules/_core":82,"../../modules/es6.object.keys":152}],73:[function(n,e,r){n("../../modules/es6.object.set-prototype-of"),e.exports=n("../../modules/_core").Object.setPrototypeOf},{"../../modules/_core":82,"../../modules/es6.object.set-prototype-of":153}],74:[function(n,e,r){n("../../modules/es6.symbol"),n("../../modules/es6.object.to-string"),n("../../modules/es7.symbol.async-iterator"),n("../../modules/es7.symbol.observable"),e.exports=n("../../modules/_core").Symbol},{"../../modules/_core":82,"../../modules/es6.object.to-string":154,"../../modules/es6.symbol":156,"../../modules/es7.symbol.async-iterator":157,"../../modules/es7.symbol.observable":158}],75:[function(n,e,r){n("../../modules/es6.string.iterator"),n("../../modules/web.dom.iterable"),e.exports=n("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":138,"../../modules/es6.string.iterator":155,"../../modules/web.dom.iterable":159}],76:[function(n,e,r){e.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},{}],77:[function(n,e,r){e.exports=function(){}},{}],78:[function(n,e,r){var a=n("./_is-object");e.exports=function(n){if(!a(n))throw TypeError(n+" is not an object!");return n}},{"./_is-object":100}],79:[function(n,e,r){var a=n("./_to-iobject"),t=n("./_to-length"),i=n("./_to-index");e.exports=function(n){return function(e,r,c){var o,s=a(e),X=t(s.length),u=i(c,X);if(n&&r!=r){for(;X>u;)if((o=s[u++])!=o)return!0}else for(;X>u;u++)if((n||u in s)&&s[u]===r)return n||u||0;return!n&&-1}}},{"./_to-index":130,"./_to-iobject":132,"./_to-length":133}],80:[function(n,e,r){var a=n("./_cof"),t=n("./_wks")("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=function(n){var e,r,c;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(r=function(n,e){try{return n[e]}catch(n){}}(e=Object(n),t))?r:i?a(e):"Object"==(c=a(e))&&"function"==typeof e.callee?"Arguments":c}},{"./_cof":81,"./_wks":139}],81:[function(n,e,r){var a={}.toString;e.exports=function(n){return a.call(n).slice(8,-1)}},{}],82:[function(n,e,r){var a=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=a)},{}],83:[function(n,e,r){"use strict";var a=n("./_object-dp"),t=n("./_property-desc");e.exports=function(n,e,r){e in n?a.f(n,e,t(0,r)):n[e]=r}},{"./_object-dp":112,"./_property-desc":123}],84:[function(n,e,r){var a=n("./_a-function");e.exports=function(n,e,r){if(a(n),void 0===e)return n;switch(r){case 1:return function(r){return n.call(e,r)};case 2:return function(r,a){return n.call(e,r,a)};case 3:return function(r,a,t){return n.call(e,r,a,t)}}return function(){return n.apply(e,arguments)}}},{"./_a-function":76}],85:[function(n,e,r){e.exports=function(n){if(null==n)throw TypeError("Can't call method on "+n);return n}},{}],86:[function(n,e,r){e.exports=!n("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":91}],87:[function(n,e,r){var a=n("./_is-object"),t=n("./_global").document,i=a(t)&&a(t.createElement);e.exports=function(n){return i?t.createElement(n):{}}},{"./_global":92,"./_is-object":100}],88:[function(n,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],89:[function(n,e,r){var a=n("./_object-keys"),t=n("./_object-gops"),i=n("./_object-pie");e.exports=function(n){var e=a(n),r=t.f;if(r)for(var c,o=r(n),s=i.f,X=0;o.length>X;)s.call(n,c=o[X++])&&e.push(c);return e}},{"./_object-gops":117,"./_object-keys":120,"./_object-pie":121}],90:[function(n,e,r){var a=n("./_global"),t=n("./_core"),i=n("./_ctx"),c=n("./_hide"),o=function(n,e,r){var s,X,u,P=n&o.F,K=n&o.G,l=n&o.S,m=n&o.P,d=n&o.B,g=n&o.W,h=K?t:t[e]||(t[e]={}),f=h.prototype,A=K?a:l?a[e]:(a[e]||{}).prototype;for(s in K&&(r=e),r)(X=!P&&A&&void 0!==A[s])&&s in h||(u=X?A[s]:r[s],h[s]=K&&"function"!=typeof A[s]?r[s]:d&&X?i(u,a):g&&A[s]==u?function(n){var e=function(e,r,a){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,r)}return new n(e,r,a)}return n.apply(this,arguments)};return e.prototype=n.prototype,e}(u):m&&"function"==typeof u?i(Function.call,u):u,m&&((h.virtual||(h.virtual={}))[s]=u,n&o.R&&f&&!f[s]&&c(f,s,u)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,e.exports=o},{"./_core":82,"./_ctx":84,"./_global":92,"./_hide":94}],91:[function(n,e,r){e.exports=function(n){try{return!!n()}catch(n){return!0}}},{}],92:[function(n,e,r){var a=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=a)},{}],93:[function(n,e,r){var a={}.hasOwnProperty;e.exports=function(n,e){return a.call(n,e)}},{}],94:[function(n,e,r){var a=n("./_object-dp"),t=n("./_property-desc");e.exports=n("./_descriptors")?function(n,e,r){return a.f(n,e,t(1,r))}:function(n,e,r){return n[e]=r,n}},{"./_descriptors":86,"./_object-dp":112,"./_property-desc":123}],95:[function(n,e,r){e.exports=n("./_global").document&&document.documentElement},{"./_global":92}],96:[function(n,e,r){e.exports=!n("./_descriptors")&&!n("./_fails")(function(){return 7!=Object.defineProperty(n("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":86,"./_dom-create":87,"./_fails":91}],97:[function(n,e,r){var a=n("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==a(n)?n.split(""):Object(n)}},{"./_cof":81}],98:[function(n,e,r){var a=n("./_iterators"),t=n("./_wks")("iterator"),i=Array.prototype;e.exports=function(n){return void 0!==n&&(a.Array===n||i[t]===n)}},{"./_iterators":106,"./_wks":139}],99:[function(n,e,r){var a=n("./_cof");e.exports=Array.isArray||function(n){return"Array"==a(n)}},{"./_cof":81}],100:[function(n,e,r){e.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},{}],101:[function(n,e,r){var a=n("./_an-object");e.exports=function(n,e,r,t){try{return t?e(a(r)[0],r[1]):e(r)}catch(e){var i=n.return;throw void 0!==i&&a(i.call(n)),e}}},{"./_an-object":78}],102:[function(n,e,r){"use strict";var a=n("./_object-create"),t=n("./_property-desc"),i=n("./_set-to-string-tag"),c={};n("./_hide")(c,n("./_wks")("iterator"),function(){return this}),e.exports=function(n,e,r){n.prototype=a(c,{next:t(1,r)}),i(n,e+" Iterator")}},{"./_hide":94,"./_object-create":111,"./_property-desc":123,"./_set-to-string-tag":126,"./_wks":139}],103:[function(n,e,r){"use strict";var a=n("./_library"),t=n("./_export"),i=n("./_redefine"),c=n("./_hide"),o=n("./_has"),s=n("./_iterators"),X=n("./_iter-create"),u=n("./_set-to-string-tag"),P=n("./_object-gpo"),K=n("./_wks")("iterator"),l=!([].keys&&"next"in[].keys()),m=function(){return this};e.exports=function(n,e,r,d,g,h,f){X(r,e,d);var A,v,p,C=function(n){if(!l&&n in N)return N[n];switch(n){case"keys":case"values":return function(){return new r(this,n)}}return function(){return new r(this,n)}},y=e+" Iterator",W="values"==g,B=!1,N=n.prototype,b=N[K]||N["@@iterator"]||g&&N[g],x=b||C(g),O=g?W?C("entries"):x:void 0,k="Array"==e&&N.entries||b;if(k&&(p=P(k.call(new n)))!==Object.prototype&&(u(p,y,!0),a||o(p,K)||c(p,K,m)),W&&b&&"values"!==b.name&&(B=!0,x=function(){return b.call(this)}),a&&!f||!l&&!B&&N[K]||c(N,K,x),s[e]=x,s[y]=m,g)if(A={values:W?x:C("values"),keys:h?x:C("keys"),entries:O},f)for(v in A)v in N||i(N,v,A[v]);else t(t.P+t.F*(l||B),e,A);return A}},{"./_export":90,"./_has":93,"./_hide":94,"./_iter-create":102,"./_iterators":106,"./_library":108,"./_object-gpo":118,"./_redefine":124,"./_set-to-string-tag":126,"./_wks":139}],104:[function(n,e,r){var a=n("./_wks")("iterator"),t=!1;try{var i=[7][a]();i.return=function(){t=!0},Array.from(i,function(){throw 2})}catch(n){}e.exports=function(n,e){if(!e&&!t)return!1;var r=!1;try{var i=[7],c=i[a]();c.next=function(){return{done:r=!0}},i[a]=function(){return c},n(i)}catch(n){}return r}},{"./_wks":139}],105:[function(n,e,r){e.exports=function(n,e){return{value:e,done:!!n}}},{}],106:[function(n,e,r){e.exports={}},{}],107:[function(n,e,r){var a=n("./_object-keys"),t=n("./_to-iobject");e.exports=function(n,e){for(var r,i=t(n),c=a(i),o=c.length,s=0;o>s;)if(i[r=c[s++]]===e)return r}},{"./_object-keys":120,"./_to-iobject":132}],108:[function(n,e,r){e.exports=!0},{}],109:[function(n,e,r){var a=n("./_uid")("meta"),t=n("./_is-object"),i=n("./_has"),c=n("./_object-dp").f,o=0,s=Object.isExtensible||function(){return!0},X=!n("./_fails")(function(){return s(Object.preventExtensions({}))}),u=function(n){c(n,a,{value:{i:"O"+ ++o,w:{}}})},P=e.exports={KEY:a,NEED:!1,fastKey:function(n,e){if(!t(n))return"symbol"==typeof n?n:("string"==typeof n?"S":"P")+n;if(!i(n,a)){if(!s(n))return"F";if(!e)return"E";u(n)}return n[a].i},getWeak:function(n,e){if(!i(n,a)){if(!s(n))return!0;if(!e)return!1;u(n)}return n[a].w},onFreeze:function(n){return X&&P.NEED&&s(n)&&!i(n,a)&&u(n),n}}},{"./_fails":91,"./_has":93,"./_is-object":100,"./_object-dp":112,"./_uid":136}],110:[function(n,e,r){"use strict";var a=n("./_object-keys"),t=n("./_object-gops"),i=n("./_object-pie"),c=n("./_to-object"),o=n("./_iobject"),s=Object.assign;e.exports=!s||n("./_fails")(function(){var n={},e={},r=Symbol(),a="abcdefghijklmnopqrst";return n[r]=7,a.split("").forEach(function(n){e[n]=n}),7!=s({},n)[r]||Object.keys(s({},e)).join("")!=a})?function(n,e){for(var r=c(n),s=arguments.length,X=1,u=t.f,P=i.f;s>X;)for(var K,l=o(arguments[X++]),m=u?a(l).concat(u(l)):a(l),d=m.length,g=0;d>g;)P.call(l,K=m[g++])&&(r[K]=l[K]);return r}:s},{"./_fails":91,"./_iobject":97,"./_object-gops":117,"./_object-keys":120,"./_object-pie":121,"./_to-object":134}],111:[function(n,e,r){var a=n("./_an-object"),t=n("./_object-dps"),i=n("./_enum-bug-keys"),c=n("./_shared-key")("IE_PROTO"),o=function(){},s=function(){var e,r=n("./_dom-create")("iframe"),a=i.length;for(r.style.display="none",n("./_html").appendChild(r),r.src="javascript:",(e=r.contentWindow.document).open(),e.write("