UNPKG

biojs-vis-pdbviewer

Version:

A BioJS 2.0 component to view protein structures

121 lines 61.3 kB
(function(I,J,K,u,L,k,C,m,n,p,M,t,N,v,D,r,E,z,x,A,q,y,F,G,w,O,P,Q,R,S,T,H,U,V,W,X,Y,Z,$,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,d,g){k("JSV.export");m(["JSV.api.ExportInterface"],"JSV.export.Exporter","JU.Base64 $.PT JSV.common.Annotation $.ExportType $.JSVFileManager $.JSViewer".split(" "),function(){c$=z(JSV["export"],"Exporter",null,JSV.api.ExportInterface);t(c$,function(){});g(c$,"write",function(a,b,c){if(null==b)return this.printPDF(a,null,!1);var e=null,f=null,d,j,s=a.selectedPanel;
try{switch(b.size()){default:return"WRITE what?";case 1:f=JU.PT.trimQuotes(b.get(0));f.indexOf(".");if(null==s)return null;d=JSV.common.ExportType.getType(f);switch(d){case JSV.common.ExportType.PDF:case JSV.common.ExportType.PNG:case JSV.common.ExportType.JPG:return this.exportTheSpectrum(a,d,null,null,-1,-1,null,!1);default:a.fileHelper.setFileChooser(d);var h=this.getExportableItems(a,d.equals(JSV.common.ExportType.SOURCE)),g=null==h?-1:a.getOptionFromDialog(h,"Export","Choose a spectrum to export");
if(-2147483648==g)return null;var B=a.fileHelper.getFile(this.getSuggestedFileName(a,d),s,!0);if(null==B)return null;j=a.getOutputChannel(B.getFullPath(),!1);var k=this.exportSpectrumOrImage(a,d,g,j);k.startsWith("OK")&&a.si.siUpdateRecentMenus(B.getFullPath());return k}case 2:e=b.get(0).toUpperCase(),f=JU.PT.trimQuotes(b.get(1))}var m=f.substring(f.lastIndexOf(".")+1).toUpperCase();m.equals("BASE64")?f=";base64,":m.equals("JDX")?null==e&&(e="XY"):JSV.common.ExportType.isExportMode(m)?e=m:JSV.common.ExportType.isExportMode(e)&&
(f+="."+e);d=JSV.common.ExportType.getType(e);c&&d===JSV.common.ExportType.SVG&&(d=JSV.common.ExportType.SVGI);j=a.getOutputChannel(f,!1);return this.exportSpectrumOrImage(a,d,-1,j)}catch(n){if(v(n,Exception))return System.out.println(n),null;throw n;}},"JSV.common.JSViewer,JU.Lst,~B");d(c$,"exportSpectrumOrImage",function(a,b,c,e){var f,d=a.pd();if(0>c&&0>(c=d.getCurrentSpectrumIndex()))return"Error exporting spectrum: No spectrum selected";f=d.getSpectrumAt(c);var j=d.getStartingPointIndex(c);c=
d.getEndingPointIndex(c);var s=null;try{var h=e.isBase64(),s=this.exportTheSpectrum(a,b,e,f,j,c,d,h);if(h)return s;if(s.startsWith("OK"))return"OK - Exported "+b.name()+": "+e.getFileName()+s.substring(2)}catch(g){if(v(g,Exception))s=g.toString();else throw g;}return"Error exporting "+e.getFileName()+": "+s},"JSV.common.JSViewer,JSV.common.ExportType,~N,JU.OC");d(c$,"exportTheSpectrum",function(a,b,c,e,f,d,j,s){var h=a.selectedPanel;j=b.name();switch(b){case JSV.common.ExportType.DIF:case JSV.common.ExportType.DIFDUP:case JSV.common.ExportType.FIX:case JSV.common.ExportType.PAC:case JSV.common.ExportType.SQZ:case JSV.common.ExportType.XY:j=
"JDX";break;case JSV.common.ExportType.JPG:case JSV.common.ExportType.PNG:if(null==h)return null;a.fileHelper.setFileChooser(b);b=this.getSuggestedFileName(a,b);b=a.fileHelper.getFile(b,h,!0);if(null==b)return null;if(a.isJS){h=b.getName();j=j.equals(JSV.common.ExportType.PNG);b=a.display.toDataURL(j?"png":"jpeg");!j&&b.contains("/png")&&(h=h.split(".jp")[0]+".png");try{c=a.getOutputChannel(h,!0);var g=JU.Base64.decodeBase64(b);c.write(g,0,g.length);c.closeChannel();return"OK "+c.getByteCount()+" bytes"}catch(k){if(v(k,
Exception))return k.toString();throw k;}}return h.saveImage(j.toLowerCase(),b);case JSV.common.ExportType.PDF:return this.printPDF(a,"PDF",s);case JSV.common.ExportType.SOURCE:return null==h?null:JSV["export"].Exporter.fileCopy(h.getPanelData().getSpectrum().getFilePath(),c);case JSV.common.ExportType.UNK:return null}return JSV.common.JSViewer.getInterface("JSV.export."+j.toUpperCase()+"Exporter").exportTheSpectrum(a,b,c,e,f,d,null,!1)},"JSV.common.JSViewer,JSV.common.ExportType,JU.OC,JSV.common.Spectrum,~N,~N,JSV.common.PanelData,~B");
d(c$,"printPDF",function(a,b,c){var e=null==b||0==b.length;if(!c&&!a.si.isSigned())return"Error: Applet must be signed for the PRINT command.";var f=a.pd();if(null==f)return null;f.closeAllDialogsExcept(JSV.common.Annotation.AType.NONE);var d;d=new JSV.common.PrintLayout;d.asPDF=!0;e&&d.asPDF&&(e=!1,b="PDF");var j=a.selectedPanel;if(!c&&!e){var g=a.fileHelper;g.setFileChooser(JSV.common.ExportType.PDF);if(b.equals("?")||b.equalsIgnoreCase("PDF"))b=this.getSuggestedFileName(a,JSV.common.ExportType.PDF);
b=g.getFile(b,j,!0);if(null==b)return null;a.isJS||a.setProperty("directoryLastExportedFile",g.setDirLastExported(b.getParentAsFile().getFullPath()));b=b.getFullPath()}g=null;try{var h=e?null:a.getOutputChannel(c?null:b,!0),k=f.getPrintJobTitle(!0);if(d.showTitle&&(k=j.getInput("Title?","Title for Printing",k),null==k))return null;j.printPanel(d,h,k);g=c?JU.Base64.getBase64(h.toByteArray()).toString():h.toString()}catch(m){if(v(m,Exception))j.showMessage(m.toString(),"File Error");else throw m;}return g},
"JSV.common.JSViewer,~S,~B");d(c$,"getExportableItems",function(a,b){var c=a.pd(),e=a.currentSource.isView,f=c.getNumberOfSpectraInCurrentSet();if(1==f||!e&&b||0<=c.getCurrentSpectrumIndex())return null;for(var e=Array(f),d=0;d<f;d++)e[d]=c.getSpectrumAt(d).getTitle();return e},"JSV.common.JSViewer,~B");d(c$,"getSuggestedFileName",function(a,b){var c=a.pd(),e=c.getSpectrum().getFilePath(),e=JSV.common.JSVFileManager.getTagName(e);e.startsWith("$")&&(e=e.substring(1));var f=e.lastIndexOf("."),e=0>
f?e:e.substring(0,f),f=".jdx",d=!1;switch(b){case JSV.common.ExportType.XY:case JSV.common.ExportType.FIX:case JSV.common.ExportType.PAC:case JSV.common.ExportType.SQZ:case JSV.common.ExportType.DIF:case JSV.common.ExportType.DIFDUP:case JSV.common.ExportType.SOURCE:e.endsWith("_"+b)||(e+="_"+b);f=".jdx";break;case JSV.common.ExportType.AML:f=".xml";break;case JSV.common.ExportType.JPG:case JSV.common.ExportType.PNG:case JSV.common.ExportType.PDF:d=!0;default:f="."+b.toString().toLowerCase()}a.currentSource.isView&&
(e=c.getPrintJobTitle(d));return e+f},"JSV.common.JSViewer,JSV.common.ExportType");c$.fileCopy=d(c$,"fileCopy",function(a,b){try{for(var c=JSV.common.JSVFileManager.getBufferedReaderFromName(a,null),e=null;null!=(e=c.readLine());)b.append(e),b.append(JSV["export"].Exporter.newLine);b.closeChannel();return"OK "+b.getByteCount()+" bytes"}catch(f){if(v(f,Exception))return f.toString();throw f;}},"~S,JU.OC");c$.newLine=c$.prototype.newLine=System.getProperty("line.separator")});k("JSV.api");m(["JSV.api.JSVExporter"],
"JSV.api.ExportInterface",null,function(){y(JSV.api,"ExportInterface",JSV.api.JSVExporter)});k("JSV.api");y(JSV.api,"JSVExporter");k("JSV.api");y(JSV.api,"JSVPdfWriter");k("JSV.common");m(["JSV.api.JSVGraphics","$.JSVPdfWriter"],"JSV.common.PDFWriter",["java.util.Hashtable","javajs.export.PDFCreator","JU.CU","JSV.common.JSVersion"],function(){c$=p(function(){this.pdf=this.date=this.g2d=null;this.inPath=!1;this.rgb=null;n(this,arguments)},JSV.common,"PDFWriter",null,[JSV.api.JSVGraphics,JSV.api.JSVPdfWriter]);
x(c$,function(){this.rgb=E(3,0)});t(c$,function(){this.pdf=new javajs["export"].PDFCreator});g(c$,"createPdfDocument",function(a,b,c){var e=b.layout.equals("landscape");this.date=b.date;this.pdf.setOutputStream(c);this.g2d=a.getPanelData().g2d;try{this.pdf.newDocument(b.paperWidth,b.paperHeight,e);var f=new java.util.Hashtable;f.put("Producer",JSV.common.JSVersion.VERSION);f.put("Creator","JSpecView "+JSV.common.JSVersion.VERSION);f.put("Author","JSpecView");null!=this.date&&f.put("CreationDate",
this.date);this.pdf.addInfo(f);a.getPanelData().printPdf(this,b);this.pdf.closeDocument()}catch(d){if(v(d,Exception))a.showMessage(d.toString(),"PDF Creation Error");else throw d;}},"JSV.api.JSVPanel,JSV.common.PrintLayout,java.io.OutputStream");g(c$,"canDoLineTo",function(){return!0});g(c$,"doStroke",function(a,b){(this.inPath=b)||this.pdf.stroke()},"~O,~B");g(c$,"drawCircle",function(a,b,c,e){this.pdf.doCircle(b,c,u(e/2),!1)},"~O,~N,~N,~N");g(c$,"drawLine",function(a,b,c,e,f){this.pdf.moveto(b,
c);this.pdf.lineto(e,f);this.inPath||this.pdf.stroke()},"~O,~N,~N,~N,~N");g(c$,"drawPolygon",function(a,b,c,e){this.pdf.doPolygon(b,c,e,!1)},"~O,~A,~A,~N");g(c$,"drawRect",function(a,b,c,e,f){this.pdf.doRect(b,c,e,f,!1)},"~O,~N,~N,~N,~N");g(c$,"drawString",function(a,b,c,e){this.pdf.drawStringRotated(b,c,e,0)},"~O,~S,~N,~N");g(c$,"drawStringRotated",function(a,b,c,e,f){this.pdf.drawStringRotated(b,c,e,u(f))},"~O,~S,~N,~N,~N");g(c$,"fillBackground",function(){},"~O,javajs.api.GenericColor");g(c$,"fillCircle",
function(a,b,c,e){this.pdf.doCircle(b,c,u(e/2),!0)},"~O,~N,~N,~N");g(c$,"fillPolygon",function(a,b,c,e){this.pdf.doPolygon(c,b,e,!0)},"~O,~A,~A,~N");g(c$,"fillRect",function(a,b,c,e,f){this.pdf.doRect(b,c,e,f,!0)},"~O,~N,~N,~N,~N");g(c$,"lineTo",function(a,b,c){this.pdf.lineto(b,c)},"~O,~N,~N");g(c$,"setGraphicsColor",function(a,b){JU.CU.toRGB3f(b.getRGB(),this.rgb);this.pdf.setColor(this.rgb,!0);this.pdf.setColor(this.rgb,!1)},"~O,javajs.api.GenericColor");g(c$,"setFont",function(a,b){var c="/Helvetica";
switch(b.idFontStyle){case 1:c+="-Bold";break;case 3:c+="-BoldOblique";break;case 2:c+="-Oblique"}this.pdf.setFont(c,b.fontSizeNominal);return b},"~O,javajs.awt.Font");g(c$,"setStrokeBold",function(a,b){this.pdf.setLineWidth(b?2:1)},"~O,~B");g(c$,"translateScale",function(a,b,c,e){this.pdf.translateScale(b,c,e)},"~O,~N,~N,~N");g(c$,"newGrayScaleImage",function(a,b,c,e,f){this.pdf.addImageResource(b,c,e,f,!1);return b},"~O,~O,~N,~N,~A");g(c$,"drawGrayScaleImage",function(a,b,c,e,f,d,j,g,h,k){this.pdf.drawImage(b,
c,e,f,d,j,g,h,k)},"~O,~O,~N,~N,~N,~N,~N,~N,~N,~N");g(c$,"setWindowParameters",function(){},"~N,~N");d(c$,"getColor1",function(a){return this.g2d.getColor1(a)},"~N");d(c$,"getColor3",function(a,b,c){return this.g2d.getColor3(a,b,c)},"~N,~N,~N");d(c$,"getColor4",function(a,b,c,e){return this.g2d.getColor4(a,b,c,e)},"~N,~N,~N,~N")});k("javajs.export");m(null,"javajs.export.PDFCreator",["java.lang.Double","java.util.Hashtable","javajs.export.PDFObject","JU.Lst","$.SB"],function(){c$=p(function(){this.graphics=
this.root=this.indirectObjects=this.os=null;this.width=this.height=this.count=this.xrefPt=this.pt=0;this.images=this.fonts=null;n(this,arguments)},javajs["export"],"PDFCreator");t(c$,function(){});d(c$,"setOutputStream",function(a){this.os=a},"java.io.OutputStream");d(c$,"newDocument",function(a,b,c){this.width=c?b:a;this.height=c?a:b;System.out.println("Creating PDF with width="+this.width+" and height="+this.height);this.fonts=new java.util.Hashtable;this.indirectObjects=new JU.Lst;this.root=this.newObject("Catalog");
var e=this.newObject("Pages"),f=this.newObject("Page"),d=this.newObject(null);this.graphics=this.newObject("XObject");this.root.addDef("Pages",e.getRef());e.addDef("Count","1");e.addDef("Kids","[ "+f.getRef()+" ]");f.addDef("Parent",e.getRef());f.addDef("MediaBox","[ 0 0 "+a+" "+b+" ]");c&&f.addDef("Rotate","90");d.addDef("Length","?");d.append((c?"q 0 1 1 0 0 0 ":"q 1 0 0 -1 0 "+b)+" cm /"+this.graphics.getID()+" Do Q");f.addDef("Contents",d.getRef());this.addProcSet(f);this.addProcSet(this.graphics);
this.graphics.addDef("Subtype","/Form");this.graphics.addDef("FormType","1");this.graphics.addDef("BBox","[0 0 "+this.width+" "+this.height+"]");this.graphics.addDef("Matrix","[1 0 0 1 0 0]");this.graphics.addDef("Length","?");f.addResource("XObject",this.graphics.getID(),this.graphics.getRef());this.g("q 1 w 1 J 1 j 10 M []0 d q ");this.clip(0,0,this.width,this.height)},"~N,~N,~B");d(c$,"addProcSet",function(a){a.addResource(null,"ProcSet","[/PDF /Text /ImageB /ImageC /ImageI]")},"javajs.export.PDFObject");
d(c$,"clip",function(a,b,c,e){this.moveto(a,b);this.lineto(c,b);this.lineto(c,e);this.lineto(a,e);this.g("h W n")},"~N,~N,~N,~N");d(c$,"moveto",function(a,b){this.g(a+" "+b+" m")},"~N,~N");d(c$,"lineto",function(a,b){this.g(a+" "+b+" l")},"~N,~N");d(c$,"newObject",function(a){var b=new javajs["export"].PDFObject(++this.count);null!=a&&b.addDef("Type","/"+a);this.indirectObjects.addLast(b);return b},"~S");d(c$,"addInfo",function(a){var b=new java.util.Hashtable,c;for(a=a.entrySet().iterator();a.hasNext()&&
((c=a.next())||1);){var e="("+c.getValue().$replace(")","_").$replace("(","_")+")";b.put(c.getKey(),e)}this.root.addDef("Info",b)},"java.util.Map");d(c$,"addFontResource",function(a){var b=this.newObject("Font");this.fonts.put(a,b);b.addDef("BaseFont",a);b.addDef("Encoding","/WinAnsiEncoding");b.addDef("Subtype","/Type1");this.graphics.addResource("Font",b.getID(),b.getRef());return b},"~S");d(c$,"addImageResource",function(a,b,c,e,d){var l=this.newObject("XObject");null==this.images&&(this.images=
new java.util.Hashtable);this.images.put(a,l);l.addDef("Subtype","/Image");l.addDef("Length","?");l.addDef("ColorSpace",d?"/DeviceRGB":"/DeviceGray");l.addDef("BitsPerComponent","8");l.addDef("Width",""+b);l.addDef("Height",""+c);this.graphics.addResource("XObject",l.getID(),l.getRef());a=e.length;b=q(a*(d?3:1),0);if(d)for(c=d=0;d<a;d++)b[c++]=e[d]>>16&255,b[c++]=e[d]>>8&255,b[c++]=e[d]&255;else for(d=0;d<a;d++)b[d]=e[d];l.setStream(b);this.graphics.addResource("XObject",l.getID(),l.getRef())},"~O,~N,~N,~A,~B");
d(c$,"g",function(a){this.graphics.append(a).appendC("\n")},"~S");d(c$,"output",function(a){a=a.getBytes();this.os.write(a,0,a.length);this.pt+=a.length},"~S");d(c$,"closeDocument",function(){this.g("Q Q");this.outputHeader();this.writeObjects();this.writeXRefTable();this.writeTrailer();this.os.flush();this.os.close()});d(c$,"outputHeader",function(){this.output("%PDF-1.3\n%");var a=[-1,-1,-1,-1];this.os.write(a,0,a.length);this.pt+=4;this.output("\n")});d(c$,"writeTrailer",function(){var a=new javajs["export"].PDFObject(-2);
this.output("trailer");a.addDef("Size",""+this.indirectObjects.size());a.addDef("Root",this.root.getRef());a.output(this.os);this.output("startxref\n");this.output(""+this.xrefPt+"\n");this.output("%%EOF\n")});d(c$,"writeObjects",function(){for(var a=this.indirectObjects.size(),b=0;b<a;b++){var c=this.indirectObjects.get(b);c.isFont()&&(c.pt=this.pt,this.pt+=c.output(this.os))}for(b=0;b<a;b++)c=this.indirectObjects.get(b),c.isFont()||(c.pt=this.pt,this.pt+=c.output(this.os))});d(c$,"writeXRefTable",
function(){this.xrefPt=this.pt;var a=this.indirectObjects.size(),b=new JU.SB;b.append("xref\n0 "+(a+1)+"\n0000000000 65535 f\r\n");for(var c=0;c<a;c++){var e="0000000000"+this.indirectObjects.get(c).pt;b.append(e.substring(e.length-10));b.append(" 00000 n\r\n")}this.output(b.toString())});d(c$,"canDoLineTo",function(){return!0});d(c$,"fill",function(){this.g("f")});d(c$,"stroke",function(){this.g("S")});d(c$,"doCircle",function(a,b,c,e){var d=4*c*(Math.sqrt(2)-1)/3;this.g(a+c+" "+b+" m");this.g(a+
c+" "+(b+d)+" "+(a+d)+" "+(b+c)+" "+a+" "+(b+c)+"  c");this.g(a-d+" "+(b+c)+" "+(a-c)+" "+(b+d)+" "+(a-c)+" "+b+" c");this.g(a-c+" "+(b-d)+" "+(a-d)+" "+(b-c)+" "+a+" "+(b-c)+" c");this.g(a+d+" "+(b-c)+" "+(a+c)+" "+(b-d)+" "+(a+c)+" "+b+" c");this.g(e?"f":"s")},"~N,~N,~N,~B");d(c$,"doPolygon",function(a,b,c,e){this.moveto(a[0],b[0]);for(var d=1;d<c;d++)this.lineto(a[d],b[d]);this.g(e?"f":"s")},"~A,~A,~N,~B");d(c$,"doRect",function(a,b,c,e,d){this.g(a+" "+b+" "+c+" "+e+" re "+(d?"f":"s"))},"~N,~N,~N,~N,~B");
d(c$,"drawImage",function(a,b,c,e,d,l,j,g,h){a=this.images.get(a);if(null!=a){this.g("q");this.clip(b,c,e,d);var k=Double.parseDouble(a.getDef("Width")),m=Double.parseDouble(a.getDef("Height"));e=(e-b+1)/(g-l+1);d=(d-c+1)/(h-j+1);this.g(e*k+" 0 0 "+-d*m+" "+(b-l*e)+" "+(c+(m-j)*d)+" cm");this.g("/"+a.getID()+" Do");this.g("Q")}},"~O,~N,~N,~N,~N,~N,~N,~N,~N");d(c$,"drawStringRotated",function(a,b,c,e){this.g("q "+this.getRotation(e)+" "+b+" "+c+" cm BT("+a+")Tj ET Q")},"~S,~N,~N,~N");d(c$,"getRotation",
function(a){var b=0,c=0;switch(a){case 0:b=1;break;case 90:c=1;break;case -90:c=-1;break;case 180:b=-1;break;default:a=3.141592653589793*(a/180),b=Math.cos(a),c=Math.sin(a),1E-4>Math.abs(b)&&(b=0),1E-4>Math.abs(c)&&(c=0)}return b+" "+c+" "+c+" "+-b},"~N");d(c$,"setColor",function(a,b){this.g(a[0]+" "+a[1]+" "+a[2]+(b?" rg":" RG"))},"~A,~B");d(c$,"setFont",function(a,b){var c=this.fonts.get(a);null==c&&(c=this.addFontResource(a));this.g("/"+c.getID()+" "+b+" Tf")},"~S,~N");d(c$,"setLineWidth",function(a){this.g(a+
" w")},"~N");d(c$,"translateScale",function(a,b,c){this.g(c+" 0 0 "+c+" "+a+" "+b+" cm")},"~N,~N,~N")});k("javajs.export");m(["JU.SB"],"javajs.export.PDFObject",["java.io.ByteArrayOutputStream","java.util.Hashtable","$.Map","java.util.zip.Deflater","$.DeflaterOutputStream"],function(){c$=p(function(){this.stream=this.dictionary=null;this.index=0;this.type=null;this.pt=this.len=0;n(this,arguments)},javajs["export"],"PDFObject",JU.SB);t(c$,function(a){A(this,javajs["export"].PDFObject,[]);this.index=
a},"~N");d(c$,"getRef",function(){return this.index+" 0 R"});d(c$,"getID",function(){return this.type.substring(0,1)+this.index});d(c$,"isFont",function(){return"Font".equals(this.type)});d(c$,"setStream",function(a){this.stream=a},"~A");d(c$,"getDef",function(a){return this.dictionary.get(a)},"~S");d(c$,"addDef",function(a,b){null==this.dictionary&&(this.dictionary=new java.util.Hashtable);this.dictionary.put(a,b);a.equals("Type")&&(this.type=b.substring(1))},"~S,~O");d(c$,"setAsStream",function(){this.stream=
this.toBytes(0,-1);this.setLength(0)});d(c$,"output",function(a){0<this.index&&this.write(a,(this.index+" 0 obj\n").getBytes(),0);var b=0;if(null!=this.dictionary){if(this.dictionary.containsKey("Length")){null==this.stream&&this.setAsStream();b=this.stream.length;if(1E3<b){var c=new java.util.zip.Deflater(9),e=new java.io.ByteArrayOutputStream(1024),c=new java.util.zip.DeflaterOutputStream(e,c);c.write(this.stream,0,b);c.finish();this.stream=e.toByteArray();this.dictionary.put("Filter","/FlateDecode");
b=this.stream.length}this.dictionary.put("Length",""+b)}this.write(a,this.getDictionaryText(this.dictionary,"\n").getBytes(),0)}0<this.length()&&this.write(a,this.toString().getBytes(),0);null!=this.stream&&(this.write(a,"stream\r\n".getBytes(),0),this.write(a,this.stream,b),this.write(a,"\r\nendstream\r\n".getBytes(),0));0<this.index&&this.write(a,"endobj\n".getBytes(),0);return this.len},"java.io.OutputStream");d(c$,"write",function(a,b,c){0==c&&(c=b.length);this.len+=c;a.write(b,0,c)},"java.io.OutputStream,~A,~N");
d(c$,"getDictionaryText",function(a,b){var c=new JU.SB;c.append("<<");a.containsKey("Type")&&c.append("/Type").appendO(a.get("Type"));for(var e,d=a.entrySet().iterator();d.hasNext()&&((e=d.next())||1);){var l=e.getKey();!l.equals("Type")&&!l.startsWith("!")&&(c.append("/"+l),l=e.getValue(),C(l,java.util.Map)?c.append(this.getDictionaryText(l,"")):(l=e.getValue(),l.startsWith("/")||c.append(" "),c.appendO(l)))}return 3<c.length()?c.append(">>").append(b).toString():""},"java.util.Map,~S");d(c$,"createSubdict",
function(a,b){var c=a.get(b);null==c&&a.put(b,c=new java.util.Hashtable);return c},"java.util.Map,~S");d(c$,"addResource",function(a,b,c){var e=this.createSubdict(this.dictionary,"Resources");null!=a&&(e=this.createSubdict(e,a));e.put(b,c)},"~S,~S,~S")});k("java.util.zip");m(["JU.Deflater"],"java.util.zip.Deflater",null,function(){c$=z(java.util.zip,"Deflater",JU.Deflater);t(c$,function(a){2147483647!=a&&this.init(a,0,!1)},"~N");r(c$,"DEFAULT_COMPRESSION",-1)});k("java.util.zip");m(["JU.DeflaterOutputStream"],
"java.util.zip.DeflaterOutputStream",null,function(){c$=z(java.util.zip,"DeflaterOutputStream",JU.DeflaterOutputStream);t(c$,function(){A(this,java.util.zip.DeflaterOutputStream,[])});t(c$,function(a,b){A(this,java.util.zip.DeflaterOutputStream,[]);this.setDOS(a,b)},"java.io.ByteArrayOutputStream,java.util.zip.Deflater");d(c$,"setDOS",function(a,b){this.jzSetDOS(a,b,0,!0)},"java.io.OutputStream,java.util.zip.Deflater")});k("JU");m(["JU.ZStream"],"JU.Deflater",["JU.Deflate"],function(){c$=p(function(){this.$finished=
!1;n(this,arguments)},JU,"Deflater",JU.ZStream);d(c$,"init",function(a,b,c){0==b&&(b=15);this.$finished=!1;this.setAdler32();this.dstate=new JU.Deflate(this);this.dstate.deflateInit2(a,c?-b:b);return this},"~N,~N,~B");g(c$,"deflate",function(a){if(null==this.dstate)return-2;a=this.dstate.deflate(a);1==a&&(this.$finished=!0);return a},"~N");g(c$,"end",function(){this.$finished=!0;if(null==this.dstate)return-2;var a=this.dstate.deflateEnd();this.dstate=null;this.free();return a});d(c$,"params",function(a,
b){return null==this.dstate?-2:this.dstate.deflateParams(a,b)},"~N,~N");d(c$,"setDictionary",function(a,b){return null==this.dstate?-2:this.dstate.deflateSetDictionary(a,b)},"~A,~N");g(c$,"finished",function(){return this.$finished});d(c$,"finish",function(){});d(c$,"getBytesRead",function(){return this.dstate.getBytesRead()});d(c$,"getBytesWritten",function(){return this.dstate.getBytesWritten()});r(c$,"MAX_WBITS",15,"Z_STREAM_END",1,"$Z_STREAM_ERROR",-2)});k("JU");m(["java.io.FilterOutputStream"],
"JU.DeflaterOutputStream",["java.io.IOException","java.lang.IndexOutOfBoundsException"],function(){c$=p(function(){this.buffer=this.deflater=null;this.syncFlush=this.closed=!1;this.buf1=null;this.mydeflater=!1;this.close_out=!0;n(this,arguments)},JU,"DeflaterOutputStream",java.io.FilterOutputStream);x(c$,function(){this.buf1=q(1,0)});d(c$,"jzSetDOS",function(a,b,c,e){this.jzSetFOS(a);0==c&&(c=512);this.deflater=b;this.buffer=q(c,0);this.close_out=e},"java.io.OutputStream,JU.Deflater,~N,~B");g(c$,
"writeByteAsInt",function(a){this.buf1[0]=a&255;this.write(this.buf1,0,1)},"~N");d(c$,"write",function(a,b,c){if(this.deflater.finished())throw new java.io.IOException("finished");if((new Boolean((new Boolean(0>b|0>c)).valueOf()|b+c>a.length)).valueOf())throw new IndexOutOfBoundsException;if(0!=c){var e=this.syncFlush?2:0;for(this.deflater.setInput(a,b,c,!0);0<this.deflater.avail_in&&1!=this.deflate(e););}},"~A,~N,~N");d(c$,"finish",function(){for(;!this.deflater.finished();)this.deflate(4)});g(c$,
"close",function(){this.closed||(this.finish(),this.mydeflater&&this.deflater.end(),this.close_out&&this.out.close(),this.closed=!0)});d(c$,"deflate",function(a){this.deflater.setOutput(this.buffer,0,this.buffer.length);var b=this.deflater.deflate(a);switch(b){case 0:case 1:break;case -5:if(0>=this.deflater.avail_in&&4!=a)break;default:throw new java.io.IOException("failed to deflate");}a=this.deflater.next_out_index;0<a&&this.out.write(this.buffer,0,a);return b},"~N");g(c$,"flush",function(){if(this.syncFlush&&
!this.deflater.finished())for(;;){var a=this.deflate(2);if(this.deflater.next_out_index<this.buffer.length)break;if(1==a)break}this.out.flush()});d(c$,"getTotalIn",function(){return this.deflater.getTotalIn()});d(c$,"getTotalOut",function(){return this.deflater.getTotalOut()});d(c$,"setSyncFlush",function(a){this.syncFlush=a},"~B");d(c$,"getSyncFlush",function(){return this.syncFlush});d(c$,"getDeflater",function(){return this.deflater});r(c$,"DEFAULT_BUFSIZE",512)});k("JU");m(null,"JU.ZStream",["JU.Adler32"],
function(){c$=p(function(){this.next_in=null;this.total_in=this.avail_in=this.next_in_index=0;this.next_out=null;this.total_out=this.avail_out=this.next_out_index=0;this.istate=this.dstate=this.msg=null;this.data_type=0;this.checksum=null;n(this,arguments)},JU,"ZStream");d(c$,"setAdler32",function(){this.checksum=new JU.Adler32});d(c$,"inflate",function(a){return null==this.istate?-2:this.istate.inflate(a)},"~N");d(c$,"deflate",function(a){return null==this.dstate?-2:this.dstate.deflate(a)},"~N");
d(c$,"flush_pending",function(){var a=this.dstate.pending;a>this.avail_out&&(a=this.avail_out);0!=a&&(System.arraycopy(this.dstate.pending_buf,this.dstate.pending_out,this.next_out,this.next_out_index,a),this.next_out_index+=a,this.dstate.pending_out+=a,this.total_out+=a,this.avail_out-=a,this.dstate.pending-=a,0==this.dstate.pending&&(this.dstate.pending_out=0))});d(c$,"read_buf",function(a,b,c){var e=this.avail_in;e>c&&(e=c);if(0==e)return 0;this.avail_in-=e;0!=this.dstate.wrap&&this.checksum.update(this.next_in,
this.next_in_index,e);System.arraycopy(this.next_in,this.next_in_index,a,b,e);this.next_in_index+=e;this.total_in+=e;return e},"~A,~N,~N");d(c$,"getAdler",function(){return this.checksum.getValue()});d(c$,"free",function(){this.msg=this.next_out=this.next_in=null});d(c$,"setOutput",function(a,b,c){this.next_out=a;this.next_out_index=b;this.avail_out=c},"~A,~N,~N");d(c$,"setInput",function(a,b,c,e){0>=c&&e&&null!=this.next_in||(0<this.avail_in&&e?(e=q(this.avail_in+c,0),System.arraycopy(this.next_in,
this.next_in_index,e,0,this.avail_in),System.arraycopy(a,b,e,this.avail_in,c),this.next_in=e,this.next_in_index=0,this.avail_in+=c):(this.next_in=a,this.next_in_index=b,this.avail_in=c))},"~A,~N,~N,~B");d(c$,"getAvailIn",function(){return this.avail_in});d(c$,"getTotalOut",function(){return this.total_out});d(c$,"getTotalIn",function(){return this.total_in});c$.getBytes=d(c$,"getBytes",function(a){for(var b=[],c=0;c<a.length;c++){var e=a.charCodeAt(c);127>=e?b.push(e):2047>=e?(b.push(192|e>>6&31),
b.push(128|e&63)):65535>=e?(b.push(224|e>>12&15),b.push(128|e>>6&63),b.push(128|e&63)):b.push(63)}return Int32Array!=Array?new Int32Array(b):b},"~S");r(c$,"Z_STREAM_ERROR",-2)});k("JU");m(["JU.Tree"],"JU.Deflate",["JU.CRC32","$.GZIPHeader","$.StaticTree"],function(){c$=p(function(){this.strm=null;this.status=0;this.pending_buf=null;this.pending=this.pending_out=this.pending_buf_size=0;this.wrap=1;this.w_mask=this.w_bits=this.w_size=this.last_flush=this.method=this.data_type=0;this.window=null;this.window_size=
0;this.head=this.prev=null;this.nice_match=this.good_match=this.strategy=this.level=this.max_lazy_match=this.max_chain_length=this.prev_length=this.lookahead=this.match_start=this.strstart=this.match_available=this.prev_match=this.match_length=this.block_start=this.hash_shift=this.hash_mask=this.hash_bits=this.hash_size=this.ins_h=0;this.heap=this.bl_count=this.bl_desc=this.d_desc=this.l_desc=this.bl_tree=this.dyn_dtree=this.dyn_ltree=null;this.heap_max=this.heap_len=0;this.depth=null;this.bi_valid=
this.bi_buf=this.last_eob_len=this.matches=this.static_len=this.opt_len=this.d_buf=this.last_lit=this.lit_bufsize=this.l_buf=0;this.gheader=null;n(this,arguments)},JU,"Deflate");x(c$,function(){this.l_desc=new JU.Tree;this.d_desc=new JU.Tree;this.bl_desc=new JU.Tree;this.bl_count=w(16,0);this.heap=D(573,0);this.depth=q(573,0)});t(c$,function(a){this.strm=a;this.dyn_ltree=w(1146,0);this.dyn_dtree=w(122,0);this.bl_tree=w(78,0)},"JU.ZStream");d(c$,"deflateInit",function(a){return this.deflateInit2(a,
15)},"~N");d(c$,"deflateInit2",function(a,b){return this.deflateInit5(a,8,b,8,0)},"~N,~N");d(c$,"deflateInit3",function(a,b,c){return this.deflateInit5(a,8,b,c,0)},"~N,~N,~N");d(c$,"lm_init",function(){this.window_size=2*this.w_size;for(var a=this.head[this.hash_size-1]=0;a<this.hash_size-1;a++)this.head[a]=0;this.max_lazy_match=JU.Deflate.config_table[this.level].max_lazy;this.good_match=JU.Deflate.config_table[this.level].good_length;this.nice_match=JU.Deflate.config_table[this.level].nice_length;
this.max_chain_length=JU.Deflate.config_table[this.level].max_chain;this.lookahead=this.block_start=this.strstart=0;this.match_length=this.prev_length=2;this.ins_h=this.match_available=0});d(c$,"tr_init",function(){this.l_desc.dyn_tree=this.dyn_ltree;this.l_desc.stat_desc=JU.StaticTree.static_l_desc;this.d_desc.dyn_tree=this.dyn_dtree;this.d_desc.stat_desc=JU.StaticTree.static_d_desc;this.bl_desc.dyn_tree=this.bl_tree;this.bl_desc.stat_desc=JU.StaticTree.static_bl_desc;this.bi_valid=this.bi_buf=0;
this.last_eob_len=8;this.init_block()});d(c$,"init_block",function(){for(var a=0;286>a;a++)this.dyn_ltree[2*a]=0;for(a=0;30>a;a++)this.dyn_dtree[2*a]=0;for(a=0;19>a;a++)this.bl_tree[2*a]=0;this.dyn_ltree[512]=1;this.last_lit=this.matches=this.opt_len=this.static_len=0});d(c$,"pqdownheap",function(a,b){for(var c=this.heap[b],e=b<<1;e<=this.heap_len;){e<this.heap_len&&JU.Deflate.smaller(a,this.heap[e+1],this.heap[e],this.depth)&&e++;if(JU.Deflate.smaller(a,c,this.heap[e],this.depth))break;this.heap[b]=
this.heap[e];b=e;e<<=1}this.heap[b]=c},"~A,~N");c$.smaller=d(c$,"smaller",function(a,b,c,e){var d=a[2*b];a=a[2*c];return d<a||d==a&&e[b]<=e[c]},"~A,~N,~N,~A");d(c$,"scan_tree",function(a,b){var c,e=-1,d,l=a[1],j=0,g=7,h=4;0==l&&(g=138,h=3);a[2*(b+1)+1]=65535;for(c=0;c<=b;c++)d=l,l=a[2*(c+1)+1],++j<g&&d==l||(j<h?this.bl_tree[2*d]+=j:0!=d?(d!=e&&this.bl_tree[2*d]++,this.bl_tree[32]++):10>=j?this.bl_tree[34]++:this.bl_tree[36]++,j=0,e=d,0==l?(g=138,h=3):d==l?(g=6,h=3):(g=7,h=4))},"~A,~N");d(c$,"build_bl_tree",
function(){var a;this.scan_tree(this.dyn_ltree,this.l_desc.max_code);this.scan_tree(this.dyn_dtree,this.d_desc.max_code);this.bl_desc.build_tree(this);for(a=18;3<=a&&0==this.bl_tree[2*JU.Tree.bl_order[a]+1];a--);this.opt_len+=3*(a+1)+14;return a});d(c$,"send_all_trees",function(a,b,c){var e;this.send_bits(a-257,5);this.send_bits(b-1,5);this.send_bits(c-4,4);for(e=0;e<c;e++)this.send_bits(this.bl_tree[2*JU.Tree.bl_order[e]+1],3);this.send_tree(this.dyn_ltree,a-1);this.send_tree(this.dyn_dtree,b-1)},
"~N,~N,~N");d(c$,"send_tree",function(a,b){var c,e=-1,d,l=a[1],j=0,g=7,h=4;0==l&&(g=138,h=3);for(c=0;c<=b;c++)if(d=l,l=a[2*(c+1)+1],!(++j<g&&d==l)){if(j<h){do this.send_code(d,this.bl_tree);while(0!=--j)}else 0!=d?(d!=e&&(this.send_code(d,this.bl_tree),j--),this.send_code(16,this.bl_tree),this.send_bits(j-3,2)):10>=j?(this.send_code(17,this.bl_tree),this.send_bits(j-3,3)):(this.send_code(18,this.bl_tree),this.send_bits(j-11,7));j=0;e=d;0==l?(g=138,h=3):d==l?(g=6,h=3):(g=7,h=4)}},"~A,~N");d(c$,"put_byte",
function(a,b,c){System.arraycopy(a,b,this.pending_buf,this.pending,c);this.pending+=c},"~A,~N,~N");d(c$,"put_byteB",function(a){this.pending_buf[this.pending++]=a&255},"~N");d(c$,"put_short",function(a){this.put_byteB(a);this.put_byteB(a>>>8)},"~N");d(c$,"putShortMSB",function(a){this.put_byteB(a>>8);this.put_byteB(a)},"~N");d(c$,"send_code",function(a,b){var c=2*a;this.send_bits(b[c]&65535,b[c+1]&65535)},"~N,~A");d(c$,"send_bits",function(a,b){this.bi_valid>16-b?(this.bi_buf|=a<<this.bi_valid&65535,
this.put_short(this.bi_buf),this.bi_buf=a>>>16-this.bi_valid&65535,this.bi_valid+=b-16):(this.bi_buf|=a<<this.bi_valid&65535,this.bi_valid+=b)},"~N,~N");d(c$,"_tr_align",function(){this.send_bits(2,3);this.send_code(256,JU.StaticTree.static_ltree);this.bi_flush();9>1+this.last_eob_len+10-this.bi_valid&&(this.send_bits(2,3),this.send_code(256,JU.StaticTree.static_ltree),this.bi_flush());this.last_eob_len=7});d(c$,"_tr_tally",function(a,b){this.pending_buf[this.d_buf+2*this.last_lit]=a>>>8;this.pending_buf[this.d_buf+
2*this.last_lit+1]=a;this.pending_buf[this.l_buf+this.last_lit]=b;this.last_lit++;0==a?this.dyn_ltree[2*b]++:(this.matches++,a--,this.dyn_ltree[2*(JU.Tree._length_code[b]+256+1)]++,this.dyn_dtree[2*JU.Tree.d_code(a)]++);if(0==(this.last_lit&8191)&&2<this.level){var c=8*this.last_lit,e=this.strstart-this.block_start,d;for(d=0;30>d;d++)c+=this.dyn_dtree[2*d]*(5+JU.Tree.extra_dbits[d]);c>>>=3;if(this.matches<u(this.last_lit/2)&&c<u(e/2))return!0}return this.last_lit==this.lit_bufsize-1},"~N,~N");d(c$,
"compress_block",function(a,b){var c,e,d=0,l,g;if(0!=this.last_lit){do c=this.pending_buf[this.d_buf+2*d]<<8&65280|this.pending_buf[this.d_buf+2*d+1]&255,e=this.pending_buf[this.l_buf+d]&255,d++,0==c?this.send_code(e,a):(l=JU.Tree._length_code[e],this.send_code(l+256+1,a),g=JU.Tree.extra_lbits[l],0!=g&&(e-=JU.Tree.base_length[l],this.send_bits(e,g)),c--,l=JU.Tree.d_code(c),this.send_code(l,b),g=JU.Tree.extra_dbits[l],0!=g&&(c-=JU.Tree.base_dist[l],this.send_bits(c,g)));while(d<this.last_lit)}this.send_code(256,
a);this.last_eob_len=a[513]},"~A,~A");d(c$,"set_data_type",function(){for(var a=0,b=0,c=0;7>a;)c+=this.dyn_ltree[2*a],a++;for(;128>a;)b+=this.dyn_ltree[2*a],a++;for(;256>a;)c+=this.dyn_ltree[2*a],a++;this.data_type=c>b>>>2?0:1});d(c$,"bi_flush",function(){16==this.bi_valid?(this.put_short(this.bi_buf),this.bi_valid=this.bi_buf=0):8<=this.bi_valid&&(this.put_byteB(this.bi_buf),this.bi_buf>>>=8,this.bi_valid-=8)});d(c$,"bi_windup",function(){8<this.bi_valid?this.put_short(this.bi_buf):0<this.bi_valid&&
this.put_byteB(this.bi_buf);this.bi_valid=this.bi_buf=0});d(c$,"copy_block",function(a,b,c){this.bi_windup();this.last_eob_len=8;c&&(this.put_short(b),this.put_short(~b));this.put_byte(this.window,a,b)},"~N,~N,~B");d(c$,"flush_block_only",function(a){this._tr_flush_block(0<=this.block_start?this.block_start:-1,this.strstart-this.block_start,a);this.block_start=this.strstart;this.strm.flush_pending()},"~B");d(c$,"deflate_stored",function(a){var b=65535,c;for(b>this.pending_buf_size-5&&(b=this.pending_buf_size-
5);;){if(1>=this.lookahead){this.fill_window();if(0==this.lookahead&&0==a)return 0;if(0==this.lookahead)break}this.strstart+=this.lookahead;this.lookahead=0;c=this.block_start+b;if(0==this.strstart||this.strstart>=c)if(this.lookahead=this.strstart-c,this.strstart=c,this.flush_block_only(!1),0==this.strm.avail_out)return 0;if(this.strstart-this.block_start>=this.w_size-262&&(this.flush_block_only(!1),0==this.strm.avail_out))return 0}this.flush_block_only(4==a);return 0==this.strm.avail_out?4==a?2:
0:4==a?3:1},"~N");d(c$,"_tr_stored_block",function(a,b,c){this.send_bits(0+(c?1:0),3);this.copy_block(a,b,!0)},"~N,~N,~B");d(c$,"_tr_flush_block",function(a,b,c){var d,f,g=0;0<this.level?(2==this.data_type&&this.set_data_type(),this.l_desc.build_tree(this),this.d_desc.build_tree(this),g=this.build_bl_tree(),d=this.opt_len+3+7>>>3,f=this.static_len+3+7>>>3,f<=d&&(d=f)):d=f=b+5;b+4<=d&&-1!=a?this._tr_stored_block(a,b,c):f==d?(this.send_bits(2+(c?1:0),3),this.compress_block(JU.StaticTree.static_ltree,
JU.StaticTree.static_dtree)):(this.send_bits(4+(c?1:0),3),this.send_all_trees(this.l_desc.max_code+1,this.d_desc.max_code+1,g+1),this.compress_block(this.dyn_ltree,this.dyn_dtree));this.init_block();c&&this.bi_windup()},"~N,~N,~B");d(c$,"fill_window",function(){var a,b,c,d;do{d=this.window_size-this.lookahead-this.strstart;if(0==d&&0==this.strstart&&0==this.lookahead)d=this.w_size;else if(-1==d)d--;else if(this.strstart>=this.w_size+this.w_size-262){System.arraycopy(this.window,this.w_size,this.window,
0,this.w_size);this.match_start-=this.w_size;this.strstart-=this.w_size;this.block_start-=this.w_size;c=a=this.hash_size;do b=this.head[--c]&65535,this.head[c]=b>=this.w_size?b-this.w_size:0;while(0!=--a);c=a=this.w_size;do b=this.prev[--c]&65535,this.prev[c]=b>=this.w_size?b-this.w_size:0;while(0!=--a);d+=this.w_size}if(0==this.strm.avail_in)break;a=this.strm.read_buf(this.window,this.strstart+this.lookahead,d);this.lookahead+=a;3<=this.lookahead&&(this.ins_h=this.window[this.strstart]&255,this.ins_h=
(this.ins_h<<this.hash_shift^this.window[this.strstart+1]&255)&this.hash_mask)}while(262>this.lookahead&&0!=this.strm.avail_in)});d(c$,"deflate_fast",function(a){for(var b=0,c;;){if(262>this.lookahead){this.fill_window();if(262>this.lookahead&&0==a)return 0;if(0==this.lookahead)break}3<=this.lookahead&&(this.ins_h=(this.ins_h<<this.hash_shift^this.window[this.strstart+2]&255)&this.hash_mask,b=this.head[this.ins_h]&65535,this.prev[this.strstart&this.w_mask]=this.head[this.ins_h],this.head[this.ins_h]=
this.strstart);0!=b&&(this.strstart-b&65535)<=this.w_size-262&&2!=this.strategy&&(this.match_length=this.longest_match(b));if(3<=this.match_length)if(c=this._tr_tally(this.strstart-this.match_start,this.match_length-3),this.lookahead-=this.match_length,this.match_length<=this.max_lazy_match&&3<=this.lookahead){this.match_length--;do this.strstart++,this.ins_h=(this.ins_h<<this.hash_shift^this.window[this.strstart+2]&255)&this.hash_mask,b=this.head[this.ins_h]&65535,this.prev[this.strstart&this.w_mask]=
this.head[this.ins_h],this.head[this.ins_h]=this.strstart;while(0!=--this.match_length);this.strstart++}else this.strstart+=this.match_length,this.match_length=0,this.ins_h=this.window[this.strstart]&255,this.ins_h=(this.ins_h<<this.hash_shift^this.window[this.strstart+1]&255)&this.hash_mask;else c=this._tr_tally(0,this.window[this.strstart]&255),this.lookahead--,this.strstart++;if(c&&(this.flush_block_only(!1),0==this.strm.avail_out))return 0}this.flush_block_only(4==a);return 0==this.strm.avail_out?
4==a?2:0:4==a?3:1},"~N");d(c$,"deflate_slow",function(a){for(var b=0,c;;){if(262>this.lookahead){this.fill_window();if(262>this.lookahead&&0==a)return 0;if(0==this.lookahead)break}3<=this.lookahead&&(this.ins_h=(this.ins_h<<this.hash_shift^this.window[this.strstart+2]&255)&this.hash_mask,b=this.head[this.ins_h]&65535,this.prev[this.strstart&this.w_mask]=this.head[this.ins_h],this.head[this.ins_h]=this.strstart);this.prev_length=this.match_length;this.prev_match=this.match_start;this.match_length=
2;if(0!=b&&(this.prev_length<this.max_lazy_match&&(this.strstart-b&65535)<=this.w_size-262)&&(2!=this.strategy&&(this.match_length=this.longest_match(b)),5>=this.match_length&&(1==this.strategy||3==this.match_length&&4096<this.strstart-this.match_start)))this.match_length=2;if(3<=this.prev_length&&this.match_length<=this.prev_length){var d=this.strstart+this.lookahead-3;c=this._tr_tally(this.strstart-1-this.prev_match,this.prev_length-3);this.lookahead-=this.prev_length-1;this.prev_length-=2;do++this.strstart<=
d&&(this.ins_h=(this.ins_h<<this.hash_shift^this.window[this.strstart+2]&255)&this.hash_mask,b=this.head[this.ins_h]&65535,this.prev[this.strstart&this.w_mask]=this.head[this.ins_h],this.head[this.ins_h]=this.strstart);while(0!=--this.prev_length);this.match_available=0;this.match_length=2;this.strstart++;if(c&&(this.flush_block_only(!1),0==this.strm.avail_out))return 0}else if(0!=this.match_available){if((c=this._tr_tally(0,this.window[this.strstart-1]&255))&&this.flush_block_only(!1),this.strstart++,
this.lookahead--,0==this.strm.avail_out)return 0}else this.match_available=1,this.strstart++,this.lookahead--}0!=this.match_available&&(this._tr_tally(0,this.window[this.strstart-1]&255),this.match_available=0);this.flush_block_only(4==a);return 0==this.strm.avail_out?4==a?2:0:4==a?3:1},"~N");d(c$,"longest_match",function(a){var b=this.max_chain_length,c=this.strstart,d,f=this.prev_length,g=this.strstart>this.w_size-262?this.strstart-(this.w_size-262):0,j=this.nice_match,k=this.w_mask,h=this.strstart+
258,m=this.window[c+f-1],n=this.window[c+f];this.prev_length>=this.good_match&&(b>>=2);j>this.lookahead&&(j=this.lookahead);do if(d=a,!(this.window[d+f]!=n||this.window[d+f-1]!=m||this.window[d]!=this.window[c]||this.window[++d]!=this.window[c+1])){c+=2;d++;do;while(this.window[++c]==this.window[++d]&&this.window[++c]==this.window[++d]&&this.window[++c]==this.window[++d]&&this.window[++c]==this.window[++d]&&this.window[++c]==this.window[++d]&&this.window[++c]==this.window[++d]&&this.window[++c]==
this.window[++d]&&this.window[++c]==this.window[++d]&&c<h);d=258-(h-c);c=h-258;if(d>f){this.match_start=a;f=d;if(d>=j)break;m=this.window[c+f-1];n=this.window[c+f]}}while((a=this.prev[a&k]&65535)>g&&0!=--b);return f<=this.lookahead?f:this.lookahead},"~N");d(c$,"deflateInit5",function(a,b,c,d,f){var g=1;this.strm.msg=null;-1==a&&(a=6);0>c?(g=0,c=-c):15<c&&(g=2,c-=16,this.strm.checksum=new JU.CRC32);if(1>d||9<d||8!=b||9>c||15<c||0>a||9<a||0>f||2<f)return-2;this.strm.dstate=this;this.wrap=g;this.w_bits=
c;this.w_size=1<<this.w_bits;this.w_mask=this.w_size-1;this.hash_bits=d+7;this.hash_size=1<<this.hash_bits;this.hash_mask=this.hash_size-1;this.hash_shift=u((this.hash_bits+3-1)/3);this.window=q(2*this.w_size,0);this.prev=w(this.w_size,0);this.head=w(this.hash_size,0);this.lit_bufsize=1<<d+6;this.pending_buf=q(4*this.lit_bufsize,0);this.pending_buf_size=4*this.lit_bufsize;this.d_buf=u(this.lit_bufsize/2);this.l_buf=3*this.lit_bufsize;this.level=a;this.strategy=f;this.method=b;return this.deflateReset()},
"~N,~N,~N,~N,~N");d(c$,"deflateReset",function(){this.strm.total_in=this.strm.total_out=0;this.strm.msg=null;this.strm.data_type=2;this.pending_out=this.pending=0;0>this.wrap&&(this.wrap=-this.wrap);this.status=0==this.wrap?113:42;this.strm.checksum.reset();this.last_flush=0;this.tr_init();this.lm_init();return 0});d(c$,"deflateEnd",function(){if(42!=this.status&&113!=this.status&&666!=this.status)return-2;this.window=this.prev=this.head=this.pending_buf=null;return 113==this.status?-3:0});d(c$,"deflateParams",
function(a,b){var c=0;-1==a&&(a=6);if(0>a||9<a||0>b||2<b)return-2;JU.Deflate.config_table[this.level].func!=JU.Deflate.config_table[a].func&&0!=this.strm.total_in&&(c=this.strm.deflate(1));this.level!=a&&(this.level=a,this.max_lazy_match=JU.Deflate.config_table[this.level].max_lazy,this.good_match=JU.Deflate.config_table[this.level].good_length,this.nice_match=JU.Deflate.config_table[this.level].nice_length,this.max_chain_length=JU.Deflate.config_table[this.level].max_chain);this.strategy=b;return c},
"~N,~N");d(c$,"deflateSetDictionary",function(a,b){var c=b,d=0;if(null==a||42!=this.status)return-2;this.strm.checksum.update(a,0,b);if(3>c)return 0;c>this.w_size-262&&(c=this.w_size-262,d=b-c);System.arraycopy(a,d,this.window,0,c);this.block_start=this.strstart=c;this.ins_h=this.window[0]&255;this.ins_h=(this.ins_h<<this.hash_shift^this.window[1]&255)&this.hash_mask;for(d=0;d<=c-3;d++)this.ins_h=(this.ins_h<<this.hash_shift^this.window[d+2]&255)&this.hash_mask,this.prev[d&this.w_mask]=this.head[this.ins_h],
this.head[this.ins_h]=d;return 0},"~A,~N");d(c$,"deflate",function(a){var b;if(4<a||0>a)return-2;if(null==this.strm.next_out||null==this.strm.next_in&&0!=this.strm.avail_in||666==this.status&&4!=a)return this.strm.msg=JU.Deflate.z_errmsg[4],-2;if(0==this.strm.avail_out)return this.strm.msg=JU.Deflate.z_errmsg[7],-5;b=this.last_flush;this.last_flush=a;if(42==this.status){if(2==this.wrap)this.getGZIPHeader().put(this),this.status=113;else{var c=8+(this.w_bits-8<<4)<<8,d=(this.level-1&255)>>1;3<d&&(d=
3);c|=d<<6;0!=this.strstart&&(c|=32);this.status=113;this.putShortMSB(c+(31-c%31));0!=this.strstart&&(c=this.strm.checksum.getValue(),this.putShortMSB(c>>>16),this.putShortMSB(c&65535))}this.strm.checksum.reset()}if(0!=this.pending){if(this.strm.flush_pending(),0==this.strm.avail_out)return this.last_flush=-1,0}else if(0==this.strm.avail_in&&a<=b&&4!=a)return this.strm.msg=JU.Deflate.z_errmsg[7],-5;if(666==this.status&&0!=this.strm.avail_in)return this.strm.msg=JU.Deflate.z_errmsg[7],-5;if(0!=this.strm.avail_in||
0!=this.lookahead||0!=a&&666!=this.status){b=-1;switch(JU.Deflate.config_table[this.level].func){case 0:b=this.deflate_stored(a);break;case 1:b=this.deflate_fast(a);break;case 2:b=this.deflate_slow(a)}if(2==b||3==b)this.status=666;if(0==b||2==b)return 0==this.strm.avail_out&&(this.last_flush=-1),0;if(1==b){if(1==a)this._tr_align();else if(this._tr_stored_block(0,0,!1),3==a)for(b=0;b<this.hash_size;b++)this.head[b]=0;this.strm.flush_pending();if(0==this.strm.avail_out)return this.last_flush=-1,0}}if(4!=
a)return 0;if(0>=this.wrap)return 1;2==this.wrap?(c=this.strm.checksum.getValue(),this.put_byteB(c&255),this.put_byteB(c>>8&255),this.put_byteB(c>>16&255),this.put_byteB(c>>24&255),this.put_byteB(this.strm.total_in&255),this.put_byteB(this.strm.total_in>>8&255),this.put_byteB(this.strm.total_in>>16&255),this.put_byteB(this.strm.total_in>>24&255),this.getGZIPHeader().setCRC(c)):(c=this.strm.checksum.getValue(),this.putShortMSB(c>>>16),this.putShortMSB(c&65535));this.strm.flush_pending();0<this.wrap&&
(this.wrap=-this.wrap);return 0!=this.pending?0:1},"~N");d(c$,"getGZIPHeader",function(){null==this.gheader&&(this.gheader=new JU.GZIPHeader);return this.gheader});d(c$,"getBytesRead",function(){return this.strm.total_in});d(c$,"getBytesWritten",function(){return this.strm.total_out});G(self.c$);c$=p(function(){this.func=this.max_chain=this.nice_length=this.max_lazy=this.good_length=0;n(this,arguments)},JU.Deflate,"Config");t(c$,function(a,b,c,d,f){this.good_length=a;this.max_lazy=b;this.nice_length=
c;this.max_chain=d;this.func=f},"~N,~N,~N,~N,~N");c$=F();r(c$,"MAX_MEM_LEVEL",9,"Z_DEFAULT_COMPRESSION",-1,"MAX_WBITS",15,"DEF_MEM_LEVEL",8,"STORED",0,"FAST",1,"SLOW",2,"config_table",null);JU.Deflate.config_table=Array(10);JU.Deflate.config_table[0]=new JU.Deflate.Config(0,0,0,0,0);JU.Deflate.config_table[1]=new JU.Deflate.Config(4,4,8,4,1);JU.Deflate.config_table[2]=new JU.Deflate.Config(4,5,16,8,1);JU.Deflate.config_table[3]=new JU.Deflate.Config(4,6,32,32,1);JU.Deflate.config_table[4]=new JU.Deflate.Config(4,
4,16,16,2);JU.Deflate.config_table[5]=new JU.Deflate.Config(8,16,32,32,2);JU.Deflate.config_table[6]=new JU.Deflate.Config(8,16,128,128,2);JU.Deflate.config_table[7]=new JU.Deflate.Config(8,32,128,256,2);JU.Deflate.config_table[8]=new JU.Deflate.Config(32,128,258,1024,2);JU.Deflate.config_table[9]=new JU.Deflate.Config(32,258,258,4096,2);r(c$,"z_errmsg","need dictionary;stream end;;file error;stream error;data error;insufficient memory;buffer error;incompatible version;".split(";"),"NeedMore",0,"BlockDone",
1,"FinishStarted",2,"FinishDone",3,"PRESET_DICT",32,"Z_FILTERED",1,"Z_HUFFMAN_ONLY",2,"Z_DEFAULT_STRATEGY",0,"Z_NO_FLUSH",0,"Z_PARTIAL_FLUSH",1,"Z_FULL_FLUSH",3,"Z_FINISH",4,"Z_OK",0,"Z_STREAM_END",1,"Z_NEED_DICT",2,"Z_STREAM_ERROR",-2,"Z_DATA_ERROR",-3,"Z_BUF_ERROR",-5,"INIT_STATE",42,"BUSY_STATE",113,"FINISH_STATE",666,"Z_DEFLATED",8,"STORED_BLOCK",0,"STATIC_TREES",1,"DYN_TREES",2,"Z_BINARY",0,"Z_ASCII",1,"Z_UNKNOWN",2,"Buf_size",16,"REP_3_6",16,"REPZ_3_10",17,"REPZ_11_138",18,"MIN_MATCH",3,"MAX_MATCH",
258,"MIN_LOOKAHEAD",262,"MAX_BITS",15,"D_CODES",30,"BL_CODES",19,"LENGTH_CODES",29,"LITERALS",256,"L_CODES",286,"HEAP_SIZE",573,"END_BLOCK",256)});m(["java.io.OutputStream"],"java.io.FilterOutputStream",["java.lang.IndexOutOfBoundsException"],function(){c$=p(function(){this.out=null;n(this,arguments)},java.io,"FilterOutputStream",java.io.OutputStream);d(c$,"jzSetFOS",function(a){this.out=a},"java.io.OutputStream");d(c$,"writeByteAsInt",function(a){this.out.writeByteAsInt(a)},"~N");d(c$,"write",function(a,
b,c){if(0>(b|c|a.length-(c+b)|b+c))throw new IndexOutOfBoundsException;for(var d=0;d<c;d++)this.writeByteAsInt(a[b+d])},"~A,~N,~N");d(c$,"flush",function(){this.out.flush()});d(c$,"close",function(){try{this.flush()}catch(a){if(!v(a,java.io.IOException))throw a;}this.out.close()})});k("JU");m(["JU.Checksum"],"JU.Adler32",null,function(){c$=p(function(){this.s1=1;this.s2=0;this.b1=null;n(this,arguments)},JU,"Adler32",null,JU.Checksum);x(c$,function(){this.b1=q(1,0)});g(c$,"resetLong",function(a){this.s1=
a&65535;this.s2=a>>16&65535},"~N");g(c$,"reset",function(){this.s1=1;this.s2=0});g(c$,"getValue",function(){return this.s2<<16|this.s1});g(c$,"update",function(a,b,c){if(1==c)this.s1+=a[b++]&255,this.s2+=this.s1;else{for(var d=u(c/5552),f=c%5552;0<d--;){var g=5552;for(c-=g;0<g--;)this.s1+=a[b++]&255,this.s2+=this.s1;this.s1%=65521;this.s2%=65521}for(g=f;0<g--;)this.s1+=a[b++]&255,this.s2+=this.s1}this.s1%=65521;this.s2%=65521},"~A,~N,~N");g(c$,"updateByteAsInt",function(a){this.b1[0]=a;this.update(this.b1,
0,1)},"~N");r(c$,"BASE",65521,"NMAX",5552)});k("JU");c$=p(function(){this.dyn_tree=null;this.max_code=0;this.stat_desc=null;n(this,arguments)},JU,"Tree");c$.d_code=d(c$,"d_code",function(a){return 256>a?JU.Tree._dist_code[a]:JU.Tree._dist_code[256+(a>>>7)]},"~N");d(c$,"gen_bitlen",function(a){var b=this.dyn_tree,c=this.stat_desc.static_tree,d=this.stat_desc.extra_bits,f=this.stat_desc.extra_base,g=this.stat_desc.max_length,j,k,h,m,n,p=0;for(h=0;15>=h;h++)a.bl_count[h]=0;b[2*a.heap[a.heap_max]+1]=
0;for(j=a.heap_max+1;573>j;j++)k=a.heap[j],h=b[2*b[2*k+1]+1]+1,h>g&&(h=g,p++),b[2*k+1]=h,k>this.max_code||(a.bl_count[h]++,m=0,k>=f&&(m=d[k-f]),n=b[2*k],a.opt_len+=n*(h+m),null!=c&&(a.static_len+=n*(c[2*k+1]+m)));if(0!=p){do{for(h=g-1;0==a.bl_count[h];)h--;a.bl_count[h]--;a.bl_count[h+1]+=2;a.bl_count[g]--;p-=2}while(0<p);for(h=g;0!=h;h--)for(k=a.bl_count[h];0!=k;)c=a.heap[--j],c>this.max_code||(b[2*c+1]!=h&&(a.opt_len+=(h-b[2*c+1])*b[2*c],b[2*c+1]=h),k--)}},"JU.Deflate");d(c$,"build_tree",function(a){var b=
this.dyn_tree,c=this.stat_desc.static_tree,d=this.stat_desc.elems,f,g=-1,j;a.heap_len=0;a.heap_max=573;for(f=0;f<d;f++)0!=b[2*f]?(a.heap[++a.heap_len]=g=f,a.depth[f]=0):b[2*f+1]=0;for(;2>a.heap_len;)j=a.heap[++a.heap_len]=2>g?++g:0,b[2*j]=1,a.depth[j]=0,a.opt_len--,null!=c&&(a.static_len-=c[2*j+1]);this.max_code=g;for(f=u(a.heap_len/2);1<=f;f--)a.pqdownheap(b,f);j=d;do f=a.heap[1],a.heap[1]=a.heap[a.heap_len--],a.pqdownheap(b,1),c=a.heap[1],a.heap[--a.heap_max]=f,a.heap[--a.heap_max]=c,b[2*j]=b[2*
f]+b[2*c],a.depth[j]=Math.max(a.depth[f],a.depth[c])+1,b[2*f+1]=b[2*c+1]=j,a.heap[1]=j++,a.pqdownheap(b,1);while(2<=a.heap_len);a.heap[--a.heap_max]=a.heap[1];this.gen_bitlen(a);JU.Tree.gen_codes(b,g,a.bl_count)},"JU.Deflate");c$.gen_codes=d(c$,"gen_codes",function(a,b,c){var d=0,f;JU.Tree.next_code[0]=0;for(f=1;15>=f;f++)JU.Tree.next_code[f]=d=d+c[f-1]<<1;for(c=0;c<=b;c++)d=a[2*c+1],0!=d&&(a[2*c]=JU.Tree.bi_reverse(JU.Tree.next_code[d]++,d))},"~A,~N,~A");c$.bi_reverse=d(c$,"bi_reverse",function(a,
b){var c=0;do c|=a&1,a>>>=1,c<<=1;while(0<--b);return c>>>1},"~N,~N");r(c$,"MAX_BITS",15,"LITERALS",256,"LENGTH_CODES",29,"L_CODES",286,"HEAP_SIZE",573,"MAX_BL_BITS",7,"END_BLOCK",256,"REP_3_6",16,"REPZ_3_10",17,"REPZ_11_138",18,"extra_lbits",[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],"extra_dbits",[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],"extra_blbits",[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],"bl_order",[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],
"Buf_size",16,"DIST_CODE_LEN",512,"_dist_code",[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,
14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,
26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,
29,29,29,29,29,29,29,29,29,29,29,29,29,29,29],"_length_code",[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,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,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],"base_length",[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],"base_dist",[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,
3072,4096,6144,8192,12288,16384,24576],"next_code",w(16,0));k("JU");m(["JU.Checksum"],"JU.CRC32",null,function(){c$=p(function(){this.crc=0;this.b1=null;n(this,arguments)},JU,"CRC32",null,JU.Checksum);x(c$,function(){this.b1=q(1,0)});g(c$,"update",function(a,b,c){for(var d=~this.crc;0<=--c;)d=JU.CRC32.crc_table[(d^a[b++])&255]^d>>>8;this.crc=~d},"~A,~N,~N");g(c$,"reset",function(){this.crc=0});g(c$,"resetLong",function(a){this.crc=a&4294967295},"~N");g(c$,"getValue",function(){return this.crc&4294967295});
g(c$,"updateByteAsInt",function(a){this.b1[0]=a;this.update(this.b1,0,1)},"~N");r(c$,"crc_table",[0,1996959894,-301047508,-1727442502,124634137,1886057615,-379345611,-1637575261,249268274,2044508324,-522852066,-1747789432,162941995,2125561021,-407360249,-1866523247,498536548,1789927666,-205950648,-2067906082,450548861,1843258603,-187386543,-2083289657,325883990,1684777152,-43845254,-1973040660,335633487,1661365465,-99664541,-1928851979,997073096,1281953886,-715111964,-1570279054,1006888145,1258607687,
-770865667,-1526024853,901097722,1119000684,-608450090,-1396901568,853044451,1172266101,-589951537,-1412350631,651767980,1373503546,-925412992,-1076862698,565507253,1454621731,-809855591,-1195530993,671266974,1594198024,-972236366,-1324619484,795835527,1483230225,-1050600021,-1234817731,1994146192,31158534,-1731059524,-271249366,1907459465,112637215,-1614814043,-390540237,2013776290,251722036,-1777751922,-519137256,2137656763,141376813,-1855689577,-429695999,1802195444,476864866,-2056965928,-228458418,
1812370925,453092731,-2113342271,-183516073,1706088902,314042704,-1950435094,-54949764,1658658271,366619977,-1932296973,-69972891,1303535960,984961486,-1547960204,-725929758,1256170817,1037604311,-1529756563,-740887301,1131014506,879679996,-1385723834,-631195440,1141124467,855842277,-1442165665,-586318647,1342533948,654459306,-1106571248,-921952122,1466479909,544179635,-1184443383,-832445281,1591671054,702138776,-1328506846,-942167884,1504918807,783551873,-1212326853,-1061524307,-306674912,-1698712650,
62317068,1957810842,-355121351,-1647151185,81470997,1943803523,-480048366,-1805370492,225274430,2053790376,-468791541,-1828061283,167816743,2097651377,-267414716,-2029476910,503444072,1762050814,-144550051,-2140837941,426522225,1852507879,-19653770,-1982649376,282753626,1742555852,-105259153,-1900089351,397917763,1622183637,-690576408,-1580100738,953729732,1340076626,-776247311,-1497606297,1068828381,1219638859,-670225446,-1358292148,906185462,1090812512,-547295293,-1469587627,829329135,1181335161,
-882789492,-1134132454,628085408,1382605366,-871598187,-1156888829,570562233,1426400815,-977650754,-1296233688,733239954,1555261956,-1026031705,-1244606671,752459403,1541320221,-1687895376,-328994266,1969922972,40735498,-1677130071,-351390145,1913087877,83908371,-1782625662,-491226604,2075208622,213261112,-1831694693,-438977011,2094854071,198958881,-2032938284,-237706686,1759359992,534414190,-2118248755,-155638181,1873836001,414664567,-2012718362,-15766928,1711684554,285281116,-1889165569,-127750551,
1634467795,376229701,-1609899400,-686959890,1308918612,956543938,-1486412191,-799009033,1231636301,1047427035,-1362007478,-640263460,1088359270,936918E3,-1447252397,-558129467,1202900863,817233897,-1111625188,-893730166,1404277552,615818150,-1160759803,-841546093,1423857449,601450431,-1285129682,-1000256840,1567103746,711928724,-1274298825,-1022587231,1510334235,755167117])});k("JU");m(null,"JU.GZIPHeader",["JU.ZStream","java.lang.IllegalArgumentException","$.InternalError"],function(){c$=p(function(){this.fhcrc=
this.text=!1;this.xflags=this.time=0;this.os=255;this.comment=this.name=this.extra=null;this.crc=this.hcrc=0;this.done=!1;this.mtime=0;n(this,arguments)},JU,"GZIPHeader",null,Cloneable);d(c$,"setModifiedTime",function(a){this.mtime=a},"~N");d(c$,"getModifiedTime",function(){return this.mtime});d(c$,"setOS",function(a){if(0<=a&&13>=a||255==a)this.os=a;else throw new IllegalArgumentException("os: "+a);},"~N");d(c$,"getOS",function(){return this.os});d(c$,"setName",function(a){this.name=JU.ZStream.getBytes(a)},
"~S");d(c$,"getName",function(){if(null==this.name)return"";try{return String.instantialize(this.name,"ISO-8859-1")}catch(a){if(v(a,java.io.UnsupportedEncodingException))throw new InternalError(a.toString());throw a;}});d(c$,"setComment",function(a){this.comment=JU.ZStream.getBytes(a)},"~S");d(c$,"getComment",function(){if(null==this.comment)return"";try{return String.instantialize(this.comment,"ISO-8859-1")}catch(a){if(v(a,java.io.UnsupportedEncodingException))throw new InternalError(a.toString());
throw a;}});d(c$,"setCRC",function(a){this.crc=a},"~N");d(c$,"getCRC",function(){return this.crc});d(c$,"put",function(a){var b=0;this.text&&(b|=1);this.fhcrc&&(b|=2);null!=this.extra&&(b|=4);null!=this.name&&(b|=8);null!=this.comment&&(b|=16);var c=0;1==a.level?c|=4:9==a.level&&(c|=2);a.put_short(35615);a.put_byteB(8);a.put_byteB(b);a.put_byteB(this.mtime);a.put_byteB(this.mtime>>8);a.put_byteB(this.mtime>>16);a.put_byteB(this.mtime>>24);a.put_byteB(c);a.put_byteB(this.os);null!=this.extra&&(a.put_byteB(this.extra.length),
a.put_byteB(this.extra.length>>8),a.put_byte(this.extra,0,this.extra.length));null!=this.name&&(a.put_byte(this.name,0,this.name.length),a.put_byteB(0));null!=this.comment&&(a.put_byte(this.comment,0,this.comment.length),a.put_byteB(0))},"JU.Deflate");d(c$,"clone",function(){var a=H(this,JU.GZIPHeader,"clone",[]),b;null!=a.extra&&(b=q(a.extra.length,0),System.arraycopy(a.extra,0,b,0,b.length),a.extra=b);null!=a.name&&(b=q(a.name.length,0),System.arraycopy(a.name,0,b,0,b.length),a.name=b);null!=a.comment&&
(b=q(a.comment.length,0),System.arraycopy(a.comment,0,b,0,b.length),a.comment=b);return a});r(c$,"OS_MSDOS",0,"OS_AMIGA",1,"OS_VMS",2,"OS_UNIX",3,"OS_ATARI",5,"OS_OS2",6,"OS_MACOS",7,"OS_TOPS20",10,"OS_WIN32",11,"OS_VMCMS",4,"OS_ZSYSTEM",8,"OS_CPM",9,"OS_QDOS",12,"OS_RISCOS",13,"OS_UNKNOWN",255)});k("JU");m(["JU.Tree"],"JU.StaticTree",null,function(){c$=p(function(){this.extra_bits=this.static_tree=null;this.max_length=this.elems=this.extra_base=0;n(this,arguments)},JU,"StaticTree");t(c$,function(a,
b,c,d,f){this.static_tree=a;this.extra_bits=b;this.extra_base=c;this.elems=d;this.max_length=f},"~A,~A,~N,~N,~N");r(c$,"MAX_BITS",15,"BL_CODES",19,"D_CODES",30,"LITERALS",256,"LENGTH_CODES",29,"L_CODES",286,"MAX_BL_BITS",7,"static_ltree",[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,
250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,
157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,
9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],"static_dtree",[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,
7,5,23,5]);c$.static_l_desc=c$.prototype.static_l_desc=new JU.StaticTree(JU.StaticTree.static_ltree,JU.Tree.extra_lbits,257,286,15);c$.static_d_desc=c$.prototype.static_d_desc=new JU.StaticTree(JU.StaticTree.static_dtree,JU.Tree.extra_dbits,0,30,15);c$.static_bl_desc=c$.prototype.static_bl_desc=new JU.StaticTree(null,JU.Tree.extra_blbits,0,19,7)});k("JU");y(JU,"Checksum")})(Clazz,Clazz.newLongArray,Clazz.doubleToByte,Clazz.doubleToInt,Clazz.doubleToLong,Clazz.declarePackage,Clazz.instanceOf,Clazz.load,
Clazz.instantialize,Clazz.decorateAsClass,Clazz.floatToInt,Clazz.makeConstructor,Clazz.defineEnumConstant,Clazz.exceptionOf,Clazz.newIntArray,Clazz.defineStatics,Clazz.newFloatArray,Clazz.declareType,Clazz.prepareFields,Clazz.superConstructor,Clazz.newByteArray,Clazz.declareInterface,Clazz.p0p,Clazz.pu$h,Clazz.newShortArray,Clazz.innerTypeInstance,Clazz.isClassDefined,Clazz.prepareCallback,Clazz.newArray,Clazz.castNullAs,Clazz.floatToShort,Clazz.superCall,Clazz.decorateAsType,Clazz.newBooleanArray,
Clazz.newCharArray,Clazz.implementOf,Clazz.newDoubleArray,Clazz.overrideConstructor,Clazz.clone,Clazz.doubleToShort,Clazz.getInheritedLevel,Clazz.getParamsType,Clazz.isAF,Clazz.isAI,Clazz.isAS,Clazz.isASS,Clazz.isAP,Clazz.isAFloat,Clazz.isAII,Clazz.isAFF,Clazz.isAFFF,Clazz.tryToSearchAndExecute,Clazz.getStackTrace,Clazz.inheritArgs,Clazz.alert,Clazz.defineMethod,Clazz.overrideMethod,Clazz.declareAnonymous,Clazz.cloneFinals);