2015-06-02 21:40:54 +02:00
<!DOCTYPE html>
< html dir = "ltr" lang = "en-US" >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" / >
<!--
This is a generated file. DO NOT EDIT.
Copyright (C) 2012-2015 KO GmbH < copyright @ kogmbh . com >
@licstart
This file is the compiled version of the ViewerJS module.
ViewerJS is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License (GNU AGPL)
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
ViewerJS is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with ViewerJS. If not, see < http: / / www . gnu . org / licenses / > .
@licend
@source: http://viewerjs.org/
@source: http://github.com/kogmbh/ViewerJS
-->
< title > ViewerJS< / title >
<!-- If you want to use custom CSS (@font - face rules, for example) you should uncomment
the following reference and use a local.css file for that. See the example.local.css
file for a sample.
< link rel = "stylesheet" type = "text/css" href = "local.css" media = "screen" / >
-->
< meta name = "viewport" content = "width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" / >
2015-06-13 14:19:02 +02:00
< style >
@media print {
.no-print, .no-print * {
display: none !important;
}
}
< / style >
< script type = "text/javascript" >
2015-06-02 21:40:54 +02:00
////< ![CDATA[
var ODFViewerPlugin_css="@namespace cursor url(urn:webodf:names:cursor);.caret {opacity: 0 !important;}";function ODFViewerPlugin(){function b(b){var a=document.createElement("script");a.async=!1;a.src="./webodf.js";a.type="text/javascript";a.onload=function(){runtime.loadClass("gui.HyperlinkClickHandler");runtime.loadClass("odf.OdfCanvas");runtime.loadClass("ops.Session");runtime.loadClass("gui.CaretManager");runtime.loadClass("gui.HyperlinkTooltipView");runtime.loadClass("gui.SessionController");runtime.loadClass("gui.SvgSelectionView");runtime.loadClass("gui.SelectionViewManager");runtime.loadClass("gui.ShadowCursor");
2015-06-13 14:19:02 +02:00
runtime.loadClass("gui.SessionView");b()};document.head.appendChild(a);a=document.createElementNS(document.head.namespaceURI,"style");a.setAttribute("media","screen, print, handheld, projection");a.setAttribute("type","text/css");a.appendChild(document.createTextNode(ODFViewerPlugin_css));document.head.appendChild(a)}var t=this,f=null,y=null,u=null,h=null;this.initialize=function(s,a){b(function(){var e,c,b,s,z,p,k,w;y=document.getElementById("canvas");f=new odf.OdfCanvas(y);f.load(a);f.addListener("statereadychange",
function(){u=f.odfContainer().rootElement;h=f.odfContainer().getDocumentType(u);if("text"===h){f.enableAnnotations(!0,!1);e=new ops.Session(f);b=e.getOdtDocument();s=new gui.ShadowCursor(b);c=new gui.SessionController(e,"localuser",s,{});w=c.getEventManager();p=new gui.CaretManager(c,f.getViewport());z=new gui.SelectionViewManager(gui.SvgSelectionView);new gui.SessionView({caretAvatarsInitiallyVisible:!1},"localuser",e,c.getSessionConstraints(),p,z);z.registerCursor(s);k=new gui.HyperlinkTooltipView(f,
c.getHyperlinkClickHandler().getModifier);w.subscribe("mousemove",k.showTooltip);w.subscribe("mouseout",k.hideTooltip);var a=new ops.OpAddMember;a.init({memberid:"localuser",setProperties:{fillName:runtime.tr("Unknown Author"),color:"blue"}});e.enqueue([a]);c.insertLocalCursor()}t.onLoad()})})};this.isSlideshow=function(){return"presentation"===h};this.onLoad=function(){};this.fitToWidth=function(b){f.fitToWidth(b)};this.fitToHeight=function(b){f.fitToHeight(b)};this.fitToPage=function(b,a){f.fitToContainingElement(b,
a)};this.fitSmart=function(b){f.fitSmart(b)};this.getZoomLevel=function(){return f.getZoomLevel()};this.setZoomLevel=function(b){f.setZoomLevel(b)};this.getPages=function(){var b=Array.prototype.slice.call(u.getElementsByTagNameNS("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","page")),a=[],e,c;for(e=0;e< b.length ; e + = 1 ) c = [b[e].getAttribute("draw:name"),b[e]],a.push(c);return a } ; this . showPage = function(b){f.showPage(b)};this.getPluginName=function(){return"WebODF"};this.getPluginVersion=function(){return"undefined"!==
String(typeof webodf)?webodf.Version:"Unknown"};this.getPluginURL=function(){return"http://webodf.org"}};var PDFViewerPlugin_css=".page {margin: 7px auto 7px auto;position: relative;overflow: hidden;background-clip: content-box;background-color: white;box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);-o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);}.textLayer {position: absolute;left: 0;top: 0;right: 0;bottom: 0;color: #000;font-family: sans-serif;overflow: hidden;}.textLayer > div {color: transparent;position: absolute;line-height: 1;white-space: pre;cursor: text;}::selection { background:rgba(0,0,255,0.3); }::-moz-selection { background:rgba(0,0,255,0.3); }";function PDFViewerPlugin(){function b(d,b){var a=document.createElement("script");a.async=!1;a.src=d;a.type="text/javascript";a.onload=b||a.onload;document.getElementsByTagName("head")[0].appendChild(a)}function t(d){var a;b("./compatibility.js",function(){b("./pdf.js");b("./ui_utils.js");b("./text_layer_builder.js");b("./pdfjsversion.js",d)});a=document.createElementNS(document.head.namespaceURI,"style");a.setAttribute("media","screen, print, handheld, projection");a.setAttribute("type","text/css");
a.appendChild(document.createTextNode(PDFViewerPlugin_css));document.head.appendChild(a)}function f(d){if("none"===d.style.display)return!1;var a=w.scrollTop,b=a+w.clientHeight,c=d.offsetTop;d=c+d.clientHeight;return c>=a& & c< b | | d > =a& & d< b | | c < a & & d > =b}function y(d,a,b){var c=m[d.pageIndex],e=c.getElementsByTagName("canvas")[0],g=c.getElementsByTagName("div")[0],f="scale("+r+", "+r+")";c.style.width=a+"px";c.style.height=b+"px";e.width=a;e.height=b;g.style.width=a+"px";g.style.height=b+"px";CustomStyle.setProp("transform",
g,f);CustomStyle.setProp("transformOrigin",g,"0% 0%");p[d.pageIndex]=p[d.pageIndex]===k.RUNNING?k.RUNNINGOUTDATED:k.BLANK}function u(d){var a,b;p[d.pageIndex]===k.BLANK& & (p[d.pageIndex]=k.RUNNING,a=m[d.pageIndex],b=z[d.pageIndex],a=a.getElementsByTagName("canvas")[0],d.render({canvasContext:a.getContext("2d"),textLayer:b,viewport:d.getViewport(r)}).promise.then(function(){p[d.pageIndex]===k.RUNNINGOUTDATED?(p[d.pageIndex]=k.BLANK,u(d)):p[d.pageIndex]=k.FINISHED}))}function h(){var d=!c.isSlideshow();
m.forEach(function(a){d&&(a.style.display="block"); w.appendChild(a)});c.showPage(1);c.onLoad()}function s(d){var a,b,c,e,f,l;a=d.pageIndex+1;l=d.getViewport(r);f=document.createElement("div");f.id="pageContainer"+a;f.className="page";f.style.display="none";e=document.createElement("canvas");e.id="canvas"+a;b=document.createElement("div");b.className="textLayer";b.id="textLayer"+a;f.appendChild(e);f.appendChild(b);v[d.pageIndex]=d;m[d.pageIndex]=f;p[d.pageIndex]=k.BLANK;y(d,l.width,l.height);C< l.width & &
(C=l.width);B< l.height & & ( B = l.height);l.width<l.height&&(g=!1);c=new TextLayerBuilder ( { textLayerDiv:b , viewport:l , pageIndex:a-1 } ) ; d . getTextContent ( ) . then ( function ( d ) { c . setTextContent ( d ) } ) ; z [ d . pageIndex ] = c ; x + = 1 ; x = ==n.numPages&&h()}function a ( d , a ) { switch ( a ) { case PDFJS . PasswordResponses . NEED_PASSWORD:e ( ! 1 , d ) ; break ; case PDFJS . PasswordResponses . INCORRECT_PASSWORD:e ( ! 0 , d ) } } function e ( d , a ) { var b = prompt(d?"Wrong password entered . Please retry . " : " Password protected PDF . Enter password . " , " " ) ; null ! = b & & a ( b ) } var c =
this,v=[],m=[],z=[],p=[],k={BLANK:0,RUNNING:1,FINISHED:2,RUNNINGOUTDATED:3},w=null,n=null,g=!0,r=1,D=1,C=0,B=0,x=0;this.initialize=function(d,b){var c;t(function(){PDFJS.workerSrc="./pdf.worker.js";PDFJS.getDocument(b,null,a).then(function(a){n=a;w=d;for(c=0;c< n.numPages ; c + = 1 ) n . getPage ( c + 1 ) . then ( s ) } ) } ) } ; this . isSlideshow = function(){return g } ; this . onLoad = function(){};this.getPages=function(){return m } ; this . fitToWidth = function(a){C!==a&&(a/=C,c.setZoomLevel(a))};this.fitToHeight=function(a){B!==a&&(a/=
B,c.setZoomLevel(a))};this.fitToPage=function(a,b){var e=a/C;b/B< e & & ( e = b/B);c.setZoomLevel(e)};this.fitSmart=function(a,b){var e = a/C;b&&b/B<e&&(e=b/B);e=Math.min(1,e);c.setZoomLevel(e)};this.setZoomLevel=function(a){var b ; if ( r ! = = a ) for ( r = a,a=0;a<v.length;a+=1)b=v[a].getViewport(r),y(v[a],b.width,b.height)};this.getZoomLevel=function(){return r } ; this . onScroll = function(){var a ; for ( a = 0;a<m.length;a+=1)f(m[a])&&u(v[a])};this.getPageInView=function(){var a ; if ( c . isSlideshow ( ) ) return D ; for ( a = 0;a<m.length;a+=
1)if(f(m[a]))return a+1};this.showPage=function(a){c.isSlideshow()?(m[D-1].style.display="none",D=a,u(v[a-1]),m[a-1].style.display="block"):(a=m[a-1],a.parentNode.scrollTop=a.offsetTop)};this.getPluginName=function(){return"PDF.js"};this.getPluginVersion=function(){return"undefined"!==String(typeof pdfjs_version)?pdfjs_version:"From Source"};this.getPluginURL=function(){return"https://github.com/mozilla/pdf.js/"}};var ViewerJS_version="0.5.7";var viewer_css="* {padding: 0;margin: 0;}html > body {font-family: sans-serif;overflow: hidden;}.titlebar > span,.toolbarLabel,input,button,select {font: message-box;}#titlebar {position: absolute;z-index: 2;top: 0px;left: 0px;height: 32px;width: 100%;overflow: hidden;-webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);-moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);background-image: url(images/texture.png), linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -webkit-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -moz-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -ms-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));background-image: url(images/texture.png), -o-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));}#titlebar a, #aboutDialog a, #titlebar a:visited, #aboutDialog a:visited {color: #ccc;}#documentName {margin-right: 10px;margin-left: 10px;margin-top: 8px;color: #F2F2F2;line-height: 14px;font-family: sans-serif;}#documentName {font-size: 14px;}#toolbarContainer {position: absolute;z-index: 2;bottom: 0px;left: 0px;height: 32px;width: 100%;overflow: hidden;-webkit-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);-moz-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);background-image: url(images/texture.png), linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -webkit-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -moz-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -ms-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -o-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));}#toolbar {position: relative;}#toolbarMiddleContainer, #toolbarLeft {visibility: hidden;}html[dir='ltr'] #toolbarLeft {margin-left: -1px;}html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {margin-left: -1px;}html[dir='ltr'] #toolbarLeft,html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {position: absolute;top: 0;left: 0;}html[dir='rtl'] #toolbarLeft,html[dir='ltr'] #toolbarRight,html[dir='ltr'] #titlebarRight {position: absolute;top: 0;right: 0;}html[dir='ltr'] #toolbarLeft > *,html[dir='ltr'] #toolbarMiddle > *,html[dir='ltr'] #toolbarRight > *,html[dir='ltr'] #titlebarRight > * {float: left;}html[dir='rtl'] #toolbarLeft > *,html[dir='rtl'] #toolbarMiddle > *,html[dir='rtl'] #toolbarRight > *,html[dir='rtl'] #titlebarRight > * {float: right;}html[dir='ltr'] .outerCenter {float: right;position: relative;right: 50%;}html[dir='rtl'] .outerCenter {float: left;position: relative;left: 50%;}html[dir='ltr'] .innerCenter {float: right;position: relative;right: -50%;}html[dir='rtl'] .innerCenter {float: left;position: relative;left: -50%;}html[dir='ltr'] .splitToolbarButton {margin: 3px 2px 4px 0;display: inline-block;}html[dir='rtl'] .splitToolbarButton {margin: 3px 0 4px 2px;display: inline-block;}html[dir='ltr'] .splitToolbarButton > .toolbarButton {border-radius: 0;float: left;}html[dir='rtl'] .splitToolbarButton > .toolbarButton {border-radius: 0;float: right;}.splitToolbarButton.toggled .toolbarButton {margin: 0;}.toolbarButton {border: 0 none;background-color: rgba(0, 0, 0, 0);min-width: 32px;height: 25px;border-radius: 2px;background-image: none;}h
(b?'< p > Using the < a href = "'+g+'" target = "_blank" > '+e+'< / a > (< span id = "pluginVersion" > '+d+"< / span > ) plugin to show you this document.< / p > ":"")+"< p > Version "+f+'< / p > < p > Supported by < a href = "https://nlnet.nl" target = "_blank" > < br > < img src = "images/nlnet.png" width = "160" height = "60" alt = "NLnet Foundation" > < / a > < / p > < p > Made by < a href = "http://kogmbh.com" target = "_blank" > < br > < img src = "images/kogmbh.png" width = "172" height = "40" alt = "KO GmbH" > < / a > < / p > < button id = "aboutDialogCloseButton" class = "toolbarButton textButton" > Close< / button > ';
K.appendChild(a);a.appendChild(c);c.appendChild(H);a=document.createElement("button");a.id="about";a.className="toolbarButton textButton about";a.title="About";a.innerHTML="ViewerJS";Q.appendChild(a);a.addEventListener("click",function(){K.style.display="block"});document.getElementById("aboutDialogCloseButton").addEventListener("click",function(){K.style.display="none"})}function y(a){var b=R.options,c,e=!1,d;for(d=0;d< b.length ; d + = 1 ) c = b[d],c.value!==a?c.selected=!1:e=c.selected=!0;return e } function u ( a ,
b){if(a!==g.getZoomLevel()){g.setZoomLevel(a);var c=document.createEvent("UIEvents");c.initUIEvent("scalechange",!1,!1,window,0);c.scale=a;c.resetAutoSettings=b;window.dispatchEvent(c)}}function h(){var a;if(b.onScroll)b.onScroll();b.getPageInView& & (a=b.getPageInView())& & (F=a,document.getElementById("pageNumber").value=a)}function s(a){window.clearTimeout(M);M=window.setTimeout(function(){h()},a)}function a(a,c){var e,d;if(e="custom"===a?parseFloat(document.getElementById("customScaleOption").textContent)/
100:parseFloat(a))u(e,!0);else{e=q.clientWidth-r;d=q.clientHeight-r;switch(a){case "page-actual":u(1,c);break;case "page-width":b.fitToWidth(e);break;case "page-height":b.fitToHeight(d);break;case "page-fit":b.fitToPage(e,d);break;case "auto":b.isSlideshow()?b.fitToPage(e+r,d+r):b.fitSmart(e)}y(a)}s(300)}function e(a){var b;return-1!==["auto","page-actual","page-width"].indexOf(a)?a:(b=parseFloat(a))& & D< =b& & b< =C?a:B}function c(a){a=parseInt(a,10);return isNaN(a)?1:a}function v(){d=!d;x& & !d& & g.togglePresentationMode()}
function m(){if(x||b.isSlideshow())J.className="viewer-touched",window.clearTimeout(N),N=window.setTimeout(function(){J.className=""},5E3)}function z(){l.classList.add("viewer-touched");E.classList.add("viewer-touched");window.clearTimeout(O);O=window.setTimeout(function(){p()},5E3)}function p(){l.classList.remove("viewer-touched");E.classList.remove("viewer-touched")}function k(){l.classList.contains("viewer-touched")?p():z()}function w(a){blanked.style.display="block";blanked.style.backgroundColor=
a;p()}function n(a,b){var c=document.getElementById(a);c.addEventListener("click",function(){b();c.blur()})}var g=this,r=40,D=0.25,C=4,B="auto",x=!1,d=!1,L=!1,I,A=document.getElementById("viewer"),q=document.getElementById("canvasContainer"),J=document.getElementById("overlayNavigator"),l=document.getElementById("titlebar"),E=document.getElementById("toolbarContainer"),P=document.getElementById("toolbarLeft"),S=document.getElementById("toolbarMiddleContainer"),R=document.getElementById("scaleSelect"),
K=document.getElementById("dialogOverlay"),Q=document.getElementById("toolbarRight"),H,G=[],F,M,N,O;this.initialize=function(){var d;d=e(t.zoom);I=t.documentUrl;document.title=t.title;var f=document.getElementById("documentName");f.innerHTML="";f.appendChild(f.ownerDocument.createTextNode(t.title));b.onLoad=function(){document.getElementById("pluginVersion").innerHTML=b.getPluginVersion();b.isSlideshow()?(q.classList.add("slideshow"),P.style.visibility="visible"):(S.style.visibility="visible",b.getPageInView& &
(P.style.visibility="visible"));L=!0;G=b.getPages();document.getElementById("numPages").innerHTML="of "+G.length;g.showPage(c(t.startpage));a(d);q.onscroll=h;s()};b.initialize(q,I)};this.showPage=function(a){0>=a?a=1:a>G.length&&(a=G.length); b.showPage(a);F=a;document.getElementById("pageNumber").value=F};this.showNextPage=function(){g.showPage(F+1)};this.showPreviousPage=function(){g.showPage(F-1)};this.download=function(){var a=I.split("#")[0];window.open(a+"& contentDispositionType=attachment",
"_parent")};this.printDocument=function(){window.print()};this.toggleFullScreen=function(){d?document.exitFullscreen?document.exitFullscreen():document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen& & document.msExitFullscreen():A.requestFullscreen?A.requestFullscreen():A.mozRequestFullScreen?
A.mozRequestFullScreen():A.webkitRequestFullscreen?A.webkitRequestFullscreen():A.webkitRequestFullScreen?A.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):A.msRequestFullscreen&&A.msRequestFullscreen()}; this.togglePresentationMode=function(){var b=document.getElementById("overlayCloseButton");x?("block"===blanked.style.display& & (blanked.style.display="none",k()),l.style.display=E.style.display="block",b.style.display="none",q.classList.remove("presentationMode"),q.onmouseup=function(){},q.oncontextmenu=
function(){},q.onmousedown=function(){},a("auto")):(l.style.display=E.style.display="none",b.style.display="block",q.classList.add("presentationMode"),q.onmousedown=function(a){a.preventDefault()},q.oncontextmenu=function(a){a.preventDefault()},q.onmouseup=function(a){a.preventDefault();1===a.which?g.showNextPage():g.showPreviousPage()},a("page-fit"));x=!x};this.getZoomLevel=function(){return b.getZoomLevel()};this.setZoomLevel=function(a){b.setZoomLevel(a)};this.zoomOut=function(){var b=(g.getZoomLevel()/
1.1).toFixed(2),b=Math.max(D,b);a(b,!0)};this.zoomIn=function(){var b=(1.1*g.getZoomLevel()).toFixed(2),b=Math.min(C,b);a(b,!0)};(function(){f();b& & (g.initialize(),document.exitFullscreen||document.cancelFullScreen||document.mozCancelFullScreen||document.webkitExitFullscreen||document.webkitCancelFullScreen||document.msExitFullscreen||(document.getElementById("fullscreen").style.visibility="hidden",document.getElementById("presentation").style.visibility="hidden"),n("overlayCloseButton",g.toggleFullScreen),
n("fullscreen",g.toggleFullScreen),n("print",g.printDocument),n("presentation",function(){d||g.toggleFullScreen();g.togglePresentationMode()}),document.addEventListener("fullscreenchange",v),document.addEventListener("webkitfullscreenchange",v),document.addEventListener("mozfullscreenchange",v),document.addEventListener("MSFullscreenChange",v),n("download",g.download),n("zoomOut",g.zoomOut),n("zoomIn",g.zoomIn),n("previous",g.showPreviousPage),n("next",g.showNextPage),n("previousPage",g.showPreviousPage),
n("nextPage",g.showNextPage),document.getElementById("pageNumber").addEventListener("change",function(){g.showPage(this.value)}),document.getElementById("scaleSelect").addEventListener("change",function(){a(this.value)}),q.addEventListener("click",m),J.addEventListener("click",m),q.addEventListener("click",k),l.addEventListener("click",z),E.addEventListener("click",z),window.addEventListener("scalechange",function(a){var b=document.getElementById("customScaleOption"),c=y(String(a.scale));b.selected=
!1;c||(b.textContent=Math.round(1E4*a.scale)/100+"%",b.selected=!0)},!0),window.addEventListener("resize",function(b){L&&(document.getElementById("pageWidthOption").selected||document.getElementById("pageAutoOption").selected)&&a(document.getElementById("scaleSelect").value); m()}),window.addEventListener("keydown",function(a){var b=a.keyCode;a=a.shiftKey;if("block"===blanked.style.display)switch(b){case 16:case 17:case 18:case 91:case 93:case 224:case 225:break;default:blanked.style.display="none",
k()}else switch(b){case 8:case 33:case 37:case 38:case 80:g.showPreviousPage();break;case 13:case 34:case 39:case 40:case 78:g.showNextPage();break;case 32:a?g.showPreviousPage():g.showNextPage();break;case 66:case 190:x&&w("#000"); break;case 87:case 188:x&&w("#FFF"); break;case 36:g.showPage(1);break;case 35:g.showPage(G.length)}}))})()};(function(){function b(a,b){var c=new XMLHttpRequest;c.onreadystatechange=function(){var a,f;4===c.readyState& & ((200< =c.status& & 300>c.status||0===c.status)& & (a=c.getResponseHeader("content-type"))& & s.some(function(b){return b.supportsMimetype(a)?(f=b,console.log("Found plugin by mimetype and xhr head: "+a),!0):!1}),b(f))};c.open("HEAD",a,!0);c.send()}function t(a){var b;s.some(function(c){return c.supportsFileExtension(a)?(b=c,!0):!1});return b}function f(a){var b=t(a);b& & console.log("Found plugin by parameter type: "+
a);return b}function y(a){a=a.split("?")[0].split(".").pop();var b=t(a);b& & console.log("Found plugin by file extension from path: "+a);return b}function u(a){var b={};(a.search||"?").substr(1).split("&").forEach(function(a){a&&(a=a.split("=",2),b[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}); return b}var h,s=[function(){var a="application/vnd.oasis.opendocument.text application/vnd.oasis.opendocument.text-flat-xml application/vnd.oasis.opendocument.text-template application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.presentation-flat-xml application/vnd.oasis.opendocument.presentation-template application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.spreadsheet-flat-xml application/vnd.oasis.opendocument.spreadsheet-template".split(" "),
b="odt fodt ott odp fodp otp ods fods ots".split(" ");return{supportsMimetype:function(b){return-1!==a.indexOf(b)},supportsFileExtension:function(a){return-1!==b.indexOf(a)},path:"./ODFViewerPlugin",getClass:function(){return ODFViewerPlugin}}}(),{supportsMimetype:function(a){return"application/pdf"===a},supportsFileExtension:function(a){return"pdf"===a},path:"./PDFViewerPlugin",getClass:function(){return PDFViewerPlugin}}];window.onload=function(){var a=document.location.hash.substring(1),e=u(document.location),
c;a?(e.title||(e.title=a.replace(/^.*[\\\/]/,"")),e.documentUrl=a,b(a,function(b){b||(b=e.type?f(e.type):y(a));b?"undefined"!==String(typeof loadPlugin)?loadPlugin(b.path,function(){c=b.getClass();new Viewer(new c,e)}):(c=b.getClass(),new Viewer(new c,e)):new Viewer})):new Viewer};h=document.createElementNS(document.head.namespaceURI,"style");h.setAttribute("media","screen");h.setAttribute("type","text/css");h.appendChild(document.createTextNode(viewer_css));document.head.appendChild(h);h=document.createElementNS(document.head.namespaceURI,
"style");h.setAttribute("media","only screen and (max-device-width: 800px) and (max-device-height: 800px)");h.setAttribute("type","text/css");h.setAttribute("viewerTouch","1");h.appendChild(document.createTextNode(viewerTouch_css));document.head.appendChild(h)})();
2015-06-02 21:40:54 +02:00
//]]>
< / script >
< / head >
< body >
< div id = "viewer" >
2015-06-13 14:19:02 +02:00
< div id = "titlebar" class = "no-print" >
2015-06-02 21:40:54 +02:00
< div id = "documentName" style = "display:none;" > < / div >
< div id = "titlebarRight" >
2015-06-13 14:19:02 +02:00
< button id = "print" class = "toolbarButton print" title = "Print" > < / button >
2015-06-02 21:40:54 +02:00
< button id = "presentation" class = "toolbarButton presentation" title = "Presentation" > < / button >
< button id = "fullscreen" class = "toolbarButton fullscreen" title = "Fullscreen" > < / button >
< button id = "download" class = "toolbarButton download" title = "Download" > < / button >
< / div >
2015-06-13 14:19:02 +02:00
< / div >
< div id = "toolbarContainer" class = "no-print" >
2015-06-02 21:40:54 +02:00
< div id = "toolbar" >
< div id = "toolbarLeft" >
< div id = "navButtons" class = "splitToolbarButton" >
< button id = "previous" class = "toolbarButton pageUp" title = "Previous Page" > < / button >
< div class = "splitToolbarButtonSeparator" > < / div >
< button id = "next" class = "toolbarButton pageDown" title = "Next Page" > < / button >
< / div >
< label id = "pageNumberLabel" class = "toolbarLabel" for = "pageNumber" > Page:< / label >
< input type = "number" id = "pageNumber" class = "toolbarField pageNumber" / >
< span id = "numPages" class = "toolbarLabel" > < / span >
< / div >
< div id = "toolbarMiddleContainer" class = "outerCenter" >
< div id = "toolbarMiddle" class = "innerCenter" >
< div id = 'zoomButtons' class = "splitToolbarButton" >
< button id = "zoomOut" class = "toolbarButton zoomOut" title = "Zoom Out" > < / button >
< div class = "splitToolbarButtonSeparator" > < / div >
< button id = "zoomIn" class = "toolbarButton zoomIn" title = "Zoom In" > < / button >
< / div >
< span id = "scaleSelectContainer" class = "dropdownToolbarButton" >
< select id = "scaleSelect" title = "Zoom" oncontextmenu = "return false;" >
< option id = "pageAutoOption" value = "auto" selected > Automatic< / option >
< option id = "pageActualOption" value = "page-actual" > Actual Size< / option >
< option id = "pageWidthOption" value = "page-width" > Full Width< / option >
< option id = "customScaleOption" value = "custom" > < / option >
< option value = "0.5" > 50%< / option >
< option value = "0.75" > 75%< / option >
< option value = "1" > 100%< / option >
< option value = "1.25" > 125%< / option >
< option value = "1.5" > 150%< / option >
< option value = "2" > 200%< / option >
< / select >
< / span >
< div id = "sliderContainer" >
< div id = "slider" > < / div >
< / div >
< / div >
< / div >
< div id = "toolbarRight" >
< / div >
< / div >
< / div >
< div id = "canvasContainer" >
< div id = "canvas" > < / div >
< / div >
2015-06-13 14:19:02 +02:00
< div id = "overlayNavigator" class = "no-print" >
2015-06-02 21:40:54 +02:00
< div id = "previousPage" > < / div >
< div id = "nextPage" > < / div >
< / div >
2015-06-13 14:19:02 +02:00
< div id = "overlayCloseButton" class = "no-print" >
2015-06-02 21:40:54 +02:00
✖
< / div >
2015-06-13 14:19:02 +02:00
< div id = "dialogOverlay" class = "no-print" > < / div >
< div id = "blanked" class = "no-print" > < / div >
2015-06-02 21:40:54 +02:00
< / div >
< / body >
< / html >