2 lines
838 KiB
JavaScript
2 lines
838 KiB
JavaScript
|
$wnd.web3d.runAsyncCallback12('function m6l(){}\nfunction n6l(){}\nfunction Qyk(a){this.g=a}\nfunction Ryk(a){this.g=a}\nfunction Syk(a){this.g=a}\nfunction Tyk(a){this.g=a}\nfunction Uyk(a){this.g=a}\nfunction Vyk(a){this.g=a}\nfunction Wyk(a){this.g=a}\nfunction Xyk(a){this.g=a}\nfunction Yyk(a){this.g=a}\nfunction Qtm(a){this.g=a}\nfunction Stm(a){this.g=a}\nfunction Ttm(a){this.g=a}\nfunction Rtm(a,b){this.g=a;this.i=b}\nfunction Utm(a,b){this.g=a;this.i=b}\nfunction Pyk(a,b){this.g=a;this.i=b}\nfunction Lyk(a,b){Nyk(a.t,b)}\nfunction Nyk(a,b){uMc(a.g,b+\'%\')}\nfunction Hyk(a){!!a.n||a.o.yb.click()}\nfunction o6l(){o6l=iuc;k6l=new m6l}\nfunction p6l(){p6l=iuc;l6l=new n6l}\nfunction Mtm(a,b){if(!a.i){return}Kyk(a.i,b)}\nfunction Byk(a,b){(b.g[n1m]|0)==13&&xyk(a,false)}\nfunction Dyk(a){qMc(a.g,l5n);jMc(a.g,syn);a.j=false}\nfunction Cyk(a){qMc(a.g,l5n);jMc(a.g,_0m);a.j=true}\nfunction Eyk(a){qMc(a.g,l5n);jMc(a.g,\'hover\')}\nfunction Fyk(a){a.j||(qMc(a.g,l5n),jMc(a.g,syn))}\nfunction Gyk(a){var b;b=a.s;JQl(a.Q,\'pdf.png\',b)}\nfunction zyk(a,b){var c;c=b.yb;Iyk(a,c.files.item(0))}\nfunction Kyk(a,b){a.r.yb.setAttribute(ven,b);a.s=b}\nfunction Otm(a,b){if(b>0&&b<=a.g.numPages){a.j=b;return true}return false}\nfunction Gtm(a,b){var c;c={};c[\'canvasContext\']=b;c[\'viewport\']=a;return c}\nfunction Htm(a,b){var c;if(b.lengthComputable){c=b.loaded/b.total*100;Lyk(a.i,c)}return null}\nfunction Ayk(a,b){var c;c=b.dataTransfer.files;Iyk(a,c.item(0));b.stopPropagation();b.preventDefault()}\nfunction Ktm(a,b){var c;c=$wnd.window.pdfjsLib.getDocument(b);c.promise.then(juc(Stm.prototype.jj,Stm,[a]))}\nfunction yyk(a,b,c,d){var e;e=new JOj(c,null,24,24);zMc(e.yb,d,true);_dm(e.yb,UJn,new bgm(e,a));bJj(b,e,b.yb);return e}\nfunction Oyk(a){this.i=a;CIj.call(this);zMc(this.yb,\'progressBar\',true);this.g=new CIj;zIj(this,this.g);uMc(this.g,\'0%\')}\nfunction Jyk(a){Otm(a.n,1);wyk(a);if(a.n.g.numPages==1){jMc(a.k,CMn);jMc(a.u,CMn);tMc(a.q,false)}else{Pvl(a.g,\'\'+a.n.j)}XPj(a.L,false)}\nfunction Jtm(a,b){var c,d,e;d=b.getViewport((e={},e[kbn]=2,e));c=b.render(Gtm(d,a.getContext(W0m)));a.width=d.width;a.height=d.height;return c.promise}\nfunction Ptm(a,b){var c;this.i=b;c=new $wnd.FileReader;c.onprogress=juc(Qtm.prototype.gj,Qtm,[this]);c.addEventListener(lLn,new Rtm(this,c));!!a&&c.readAsDataURL(a)}\nfunction Ntm(a){var b;if(a.j>1){Otm(a,a.j-1);b=(ked(),ged).createElement(n2m);a.g.getPage(a.j).then(juc(Ttm.prototype.jj,Ttm,[b])).then(juc(Utm.prototype.jj,Utm,[a,b]))}}\nfunction Ltm(a){var b;if(a.j<a.g.numPages){Otm(a,a.j+1);b=(ked(),ged).createElement(n2m);a.g.getPage(a.j).then(juc(Ttm.prototype.jj,Ttm,[b])).then(juc(Utm.prototype.jj,Utm,[a,b]))}}\nfunction Itm(a,b){var c;a.g=b;Jyk(a.i.t.i);c=(ked(),ged).createElement(n2m);a.g.getPage(a.j).then(juc(Ttm.prototype.jj,Ttm,[c])).then(juc(Utm.prototype.jj,Utm,[a,c]));return null}\nfunction xyk(b,c){var d,e,f;try{e=Ifd((f=b.g.L.j.yb[T0m],f==null?null:\'\'+f),10);Otm(b.n,e)||c||Pvl(b.g,\'\'+b.n.j)}catch(a){a=Atc(a);if(ff(a,192)){d=a;Bwj(\'page nr not exists: \'+d.p)}else throw Btc(a)}}\nfunction Iyk(a,b){var c;oJj(a.p);kMc(a.p,\'withPdf\');a.i=new rJj;jMc(a.i,m5n);a.t=new Oyk(a);nJj(a.p,a.t);c=new nSj(Ulm(a.Q.sb,\'PdfLoadText\'));zMc(c.yb,\'pdfDialogText\',true);zMc(c.yb,\'loadText\',true);nJj(a.i,a.t);nJj(a.i,c);nJj(a.p,a.i);a.n=new Ptm(b,a)}\nfunction wyk(a){var b,c,d;oJj(a.p);jMc(a.p,\'withPdf\');d=new rJj;zMc(d.yb,\'pdfPreview\',true);a.r=new bfm(\'\');jMc(a.r,\'previewImage\');a.k=yyk(a,d,(rKj(),KJj),\'leftBtn\');nJj(d,a.r);a.u=yyk(a,d,(sKj(),LJj),\'rightBtn\');a.q=new rJj;jMc(a.q,\'pdfPageText\');a.g=new Zvl(3,a.Q);Pvl(a.g,\'1\');jMc(a.g,\'curPageField\');c=new nSj(Ulm(a.Q.sb,gVn));nJj(a.q,c);nJj(a.q,a.g);b=new nSj(Ulm(a.Q.sb,\'of\')+\' \'+a.n.g.numPages);nJj(a.q,b);nJj(a.p,d);nJj(a.p,a.q);Tul(a.g,new Ryk(a));Uul(a.g,new Syk(a));CMc(a.g.L.j,new Tyk(a),(vlk(),vlk(),ulk));CMc(a.g.L.j,new Uyk(a),(iJm(),iJm(),hJm));CMc(a.g.L.j,new Vyk(a),(lKm(),lKm(),kKm));CMc(a.g.L.j,new Wyk(a),(iKm(),iKm(),hKm))}\nfunction Myk(a,b){var c,d,e,f,g;dQj.call(this,a,b,false,true);this.o=(c=new I0k,CMc(c,new
|