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 >
2015-06-17 02:11:21 +02:00
.video-js {
width: 100% !important;
height: 100% !important;
}
2015-06-13 14:19:02 +02:00
@media print {
.no-print, .no-print * {
display: none !important;
}
}
< / style >
2015-06-17 02:11:21 +02:00
< link href = "http://vjs.zencdn.net/4.12/video-js.css" rel = "stylesheet" >
< script src = "http://vjs.zencdn.net/4.12/video.js" > < / script >
2015-06-13 14:19:02 +02:00
< script type = "text/javascript" >
2015-06-02 21:40:54 +02:00
////< ![CDATA[
2015-06-17 02:11:21 +02:00
var ODFViewerPlugin_css="@namespace cursor url(urn:webodf:names:cursor);.caret {opacity: 0 !important;}";function ODFViewerPlugin(){function a(a){var b=document.createElement("script");b.async=!1;b.src="./webodf.js";b.type="text/javascript";b.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");
runtime.loadClass("gui.SessionView");a()};document.head.appendChild(b);b=document.createElementNS(document.head.namespaceURI,"style");b.setAttribute("media","screen, print, handheld, projection");b.setAttribute("type","text/css");b.appendChild(document.createTextNode(ODFViewerPlugin_css));document.head.appendChild(b)}var g=this,c=null,r=null,u=null,k=null;this.initialize=function(w,b){a(function(){var a,d,l,w,z,s,m,x;r=document.getElementById("canvas");c=new odf.OdfCanvas(r);c.load(b);c.addListener("statereadychange",
function(){u=c.odfContainer().rootElement;k=c.odfContainer().getDocumentType(u);if("text"===k){c.enableAnnotations(!0,!1);a=new ops.Session(c);l=a.getOdtDocument();w=new gui.ShadowCursor(l);d=new gui.SessionController(a,"localuser",w,{});x=d.getEventManager();s=new gui.CaretManager(d,c.getViewport());z=new gui.SelectionViewManager(gui.SvgSelectionView);new gui.SessionView({caretAvatarsInitiallyVisible:!1},"localuser",a,d.getSessionConstraints(),s,z);z.registerCursor(w);m=new gui.HyperlinkTooltipView(c,
d.getHyperlinkClickHandler().getModifier);x.subscribe("mousemove",m.showTooltip);x.subscribe("mouseout",m.hideTooltip);var b=new ops.OpAddMember;b.init({memberid:"localuser",setProperties:{fillName:runtime.tr("Unknown Author"),color:"blue"}});a.enqueue([b]);d.insertLocalCursor()}g.onLoad()})})};this.isSlideshow=function(){return"presentation"===k};this.onLoad=function(){};this.fitToWidth=function(a){c.fitToWidth(a)};this.fitToHeight=function(a){c.fitToHeight(a)};this.fitToPage=function(a,b){c.fitToContainingElement(a,
b)};this.fitSmart=function(a){c.fitSmart(a)};this.getZoomLevel=function(){return c.getZoomLevel()};this.setZoomLevel=function(a){c.setZoomLevel(a)};this.getPages=function(){var a=Array.prototype.slice.call(u.getElementsByTagNameNS("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","page")),b=[],c,d;for(c=0;c< a.length ; c + = 1 ) d = [a[c].getAttribute("draw:name"),a[c]],b.push(d);return b } ; this . showPage = function(a){c.showPage(a)};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 a(h,a){var b=document.createElement("script");b.async=!1;b.src=h;b.type="text/javascript";b.onload=a||b.onload;document.getElementsByTagName("head")[0].appendChild(b)}function g(h){var b;a("./compatibility.js",function(){a("./pdf.js");a("./ui_utils.js");a("./text_layer_builder.js");a("./pdfjsversion.js",h)});b=document.createElementNS(document.head.namespaceURI,"style");b.setAttribute("media","screen, print, handheld, projection");b.setAttribute("type","text/css");
b.appendChild(document.createTextNode(PDFViewerPlugin_css));document.head.appendChild(b)}function c(h){if("none"===h.style.display)return!1;var a=x.scrollTop,b=a+x.clientHeight,d=h.offsetTop;h=d+h.clientHeight;return d>=a& & d< b | | h > =a& & h< b | | d < a & & h > =b}function r(h,a,b){var d=p[h.pageIndex],c=d.getElementsByTagName("canvas")[0],e=d.getElementsByTagName("div")[0],f="scale("+v+", "+v+")";d.style.width=a+"px";d.style.height=b+"px";c.width=a;c.height=b;e.style.width=a+"px";e.style.height=b+"px";CustomStyle.setProp("transform",
e,f);CustomStyle.setProp("transformOrigin",e,"0% 0%");s[h.pageIndex]=s[h.pageIndex]===m.RUNNING?m.RUNNINGOUTDATED:m.BLANK}function u(a){var b,d;s[a.pageIndex]===m.BLANK& & (s[a.pageIndex]=m.RUNNING,b=p[a.pageIndex],d=z[a.pageIndex],b=b.getElementsByTagName("canvas")[0],a.render({canvasContext:b.getContext("2d"),textLayer:d,viewport:a.getViewport(v)}).promise.then(function(){s[a.pageIndex]===m.RUNNINGOUTDATED?(s[a.pageIndex]=m.BLANK,u(a)):s[a.pageIndex]=m.FINISHED}))}function k(){var a=!d.isSlideshow();
p.forEach(function(b){a&&(b.style.display="block"); x.appendChild(b)});d.showPage(1);d.onLoad()}function w(a){var b,d,c,f,g,n;b=a.pageIndex+1;n=a.getViewport(v);g=document.createElement("div");g.id="pageContainer"+b;g.className="page";g.style.display="none";f=document.createElement("canvas");f.id="canvas"+b;d=document.createElement("div");d.className="textLayer";d.id="textLayer"+b;g.appendChild(f);g.appendChild(d);l[a.pageIndex]=a;p[a.pageIndex]=g;s[a.pageIndex]=m.BLANK;r(a,n.width,n.height);C< n.width & &
(C=n.width);B< n.height & & ( B = n.height);n.width<n.height&&(e=!1);c=new TextLayerBuilder ( { textLayerDiv:d , viewport:n , pageIndex:b-1 } ) ; a . getTextContent ( ) . then ( function ( a ) { c . setTextContent ( a ) } ) ; z [ a . pageIndex ] = c ; y + = 1 ; y = ==q.numPages&&k()}function b ( a , b ) { switch ( b ) { case PDFJS . PasswordResponses . NEED_PASSWORD:f ( ! 1 , a ) ; break ; case PDFJS . PasswordResponses . INCORRECT_PASSWORD:f ( ! 0 , a ) } } function f ( a , b ) { var d = prompt(a?"Wrong password entered . Please retry . " : " Password protected PDF . Enter password . " , " " ) ; null ! = d & & b ( d ) } var d =
this,l=[],p=[],z=[],s=[],m={BLANK:0,RUNNING:1,FINISHED:2,RUNNINGOUTDATED:3},x=null,q=null,e=!0,v=1,D=1,C=0,B=0,y=0;this.initialize=function(a,d){var c;g(function(){PDFJS.workerSrc="./pdf.worker.js";PDFJS.getDocument(d,null,b).then(function(b){q=b;x=a;for(c=0;c< q.numPages ; c + = 1 ) q . getPage ( c + 1 ) . then ( w ) } ) } ) } ; this . isSlideshow = function(){return e } ; this . onLoad = function(){};this.getPages=function(){return p } ; this . fitToWidth = function(a){C!==a&&(a/=C,d.setZoomLevel(a))};this.fitToHeight=function(a){B!==a&&(a/=
B,d.setZoomLevel(a))};this.fitToPage=function(a,b){var c=a/C;b/B< c & & ( c = b/B);d.setZoomLevel(c)};this.fitSmart=function(a,b){var c = a/C;b&&b/B<c&&(c=b/B);c=Math.min(1,c);d.setZoomLevel(c)};this.setZoomLevel=function(a){var b ; if ( v ! = = a ) for ( v = a,a=0;a<l.length;a+=1)b=l[a].getViewport(v),r(l[a],b.width,b.height)};this.getZoomLevel=function(){return v } ; this . onScroll = function(){var a ; for ( a = 0;a<p.length;a+=1)c(p[a])&&u(l[a])};this.getPageInView=function(){var a ; if ( d . isSlideshow ( ) ) return D ; for ( a = 0;a<p.length;a+=
1)if(c(p[a]))return a+1};this.showPage=function(a){d.isSlideshow()?(p[D-1].style.display="none",D=a,u(l[a-1]),p[a-1].style.display="block"):(a=p[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/"}};function ImageViewerPlugin(){var a=void 0,g=this;this.initialize=function(c,r){a=document.createElement("img");a.setAttribute("src",r);a.setAttribute("alt","na");c.appendChild(a);c.style.overflow="auto";g.onLoad()};this.isSlideshow=function(){return!1};this.onLoad=function(){};this.fitToWidth=function(c){a.width=c};this.fitToHeight=function(c){a.height=c};this.fitToPage=function(c,g){a.width=c};this.fitSmart=function(c){a.width=c};this.getZoomLevel=function(){return a.width/a.naturalWidth};this.setZoomLevel=
function(c){a.width=c*a.naturalWidth};this.getPages=function(){return[a]};this.showPage=function(a){};this.getPluginName=function(){return"ImageViewerPlugin"};this.getPluginVersion=function(){return"From Source"};this.getPluginURL=function(){return"https://github.com/in4mates/ViewerJS"}};function MultimediaViewerPlugin(){var a=void 0,g=void 0,c=this;this.initialize=function(r,u){0===window.mimetype.indexOf("audio/")?(a=document.createElement("audio"),a.setAttribute("poster","images/musicbg.png")):a=document.createElement("video");a.setAttribute("preload","auto");a.setAttribute("id","multimedia_viewer");a.setAttribute("controls","controls");a.setAttribute("class","video-js vjs-default-skin");g=document.createElement("source");g.setAttribute("src",u);g.setAttribute("type",window.mimetype);
a.appendChild(g);r.appendChild(a);r.style.overflow="auto";videojs(document.getElementById("multimedia_viewer"),{controls:"enabled"},function(){});c.onLoad()};this.isSlideshow=function(){return!1};this.onLoad=function(){};this.fitToWidth=function(a){};this.fitToHeight=function(a){};this.fitToPage=function(a,c){};this.fitSmart=function(a){};this.getZoomLevel=function(){};this.setZoomLevel=function(a){};this.getPages=function(){return[a]};this.showPage=function(a){document.getElementById("toolbarMiddleContainer").style.visibility=
"hidden"};this.getPluginName=function(){return"MultimediaViewerPlugin"};this.getPluginVersion=function(){return"From Source"};this.getPluginURL=function(){return"https://sprinternet.at"}};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;}html[dir='ltr'] .toolbarButton,html[dir='ltr'] .dropdownToolbarButton {margin: 3px 2px 4px 0;}html[dir='rtl'] .toolbarButton,html[dir='rtl'] .dropdownToolbarButton {margin: 3px 0 4px 2px;}.toolbarButton:hover,.toolbarButton:focus,.
(a?'< p > Using the < a href = "'+e+'" target = "_blank" > '+c+'< / a > (< span id = "pluginVersion" > '+f+"< / span > ) plugin to show you this document.< / p > ":"")+"< p > Version "+g+'< / 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(b);b.appendChild(d);d.appendChild(H);b=document.createElement("button");b.id="about";b.className="toolbarButton textButton about";b.title="About";b.innerHTML="ViewerJS";Q.appendChild(b);b.addEventListener("click",function(){K.style.display="block"});document.getElementById("aboutDialogCloseButton").addEventListener("click",function(){K.style.display="none"})}function r(a){var b=R.options,d,c=!1,f;for(f=0;f< b.length ; f + = 1 ) d = b[f],d.value!==a?d.selected=!1:c=d.selected=!0;return c } function u ( a ,
b){if(a!==e.getZoomLevel()){e.setZoomLevel(a);var d=document.createEvent("UIEvents");d.initUIEvent("scalechange",!1,!1,window,0);d.scale=a;d.resetAutoSettings=b;window.dispatchEvent(d)}}function k(){var b;if(a.onScroll)a.onScroll();a.getPageInView& & (b=a.getPageInView())& & (F=b,document.getElementById("pageNumber").value=b)}function w(a){window.clearTimeout(M);M=window.setTimeout(function(){k()},a)}function b(b,d){var c,f;if(c="custom"===b?parseFloat(document.getElementById("customScaleOption").textContent)/
100:parseFloat(b))u(c,!0);else{c=t.clientWidth-v;f=t.clientHeight-v;switch(b){case "page-actual":u(1,d);break;case "page-width":a.fitToWidth(c);break;case "page-height":a.fitToHeight(f);break;case "page-fit":a.fitToPage(c,f);break;case "auto":a.isSlideshow()?a.fitToPage(c+v,f+v):a.fitSmart(c)}r(b)}w(300)}function f(a){var b;return-1!==["auto","page-actual","page-width"].indexOf(a)?a:(b=parseFloat(a))& & D< =b& & b< =C?a:B}function d(a){a=parseInt(a,10);return isNaN(a)?1:a}function l(){h=!h;y& & !h& & e.togglePresentationMode()}
function p(){if(y||a.isSlideshow())J.className="viewer-touched",window.clearTimeout(N),N=window.setTimeout(function(){J.className=""},5E3)}function z(){n.classList.add("viewer-touched");E.classList.add("viewer-touched");window.clearTimeout(O);O=window.setTimeout(function(){s()},5E3)}function s(){n.classList.remove("viewer-touched");E.classList.remove("viewer-touched")}function m(){n.classList.contains("viewer-touched")?s():z()}function x(a){blanked.style.display="block";blanked.style.backgroundColor=
a;s()}function q(a,b){var d=document.getElementById(a);d.addEventListener("click",function(){b();d.blur()})}var e=this,v=40,D=0.25,C=4,B="auto",y=!1,h=!1,L=!1,I,A=document.getElementById("viewer"),t=document.getElementById("canvasContainer"),J=document.getElementById("overlayNavigator"),n=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 c;c=f(g.zoom);I=g.documentUrl;document.title=g.title;var l=document.getElementById("documentName");l.innerHTML="";l.appendChild(l.ownerDocument.createTextNode(g.title));a.onLoad=function(){document.getElementById("pluginVersion").innerHTML=a.getPluginVersion();a.isSlideshow()?(t.classList.add("slideshow"),P.style.visibility="visible"):(S.style.visibility="visible",a.getPageInView& &
(P.style.visibility="visible"));L=!0;G=a.getPages();document.getElementById("numPages").innerHTML="of "+G.length;e.showPage(d(g.startpage));b(c);t.onscroll=k;w()};a.initialize(t,I)};this.showPage=function(b){0>=b?b=1:b>G.length&&(b=G.length); a.showPage(b);F=b;document.getElementById("pageNumber").value=F};this.showNextPage=function(){e.showPage(F+1)};this.showPreviousPage=function(){e.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(){h?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 a=document.getElementById("overlayCloseButton");y?("block"===blanked.style.display& & (blanked.style.display="none",m()),n.style.display=E.style.display="block",a.style.display="none",t.classList.remove("presentationMode"),t.onmouseup=function(){},t.oncontextmenu=
function(){},t.onmousedown=function(){},b("auto")):(n.style.display=E.style.display="none",a.style.display="block",t.classList.add("presentationMode"),t.onmousedown=function(a){a.preventDefault()},t.oncontextmenu=function(a){a.preventDefault()},t.onmouseup=function(a){a.preventDefault();1===a.which?e.showNextPage():e.showPreviousPage()},b("page-fit"));y=!y};this.getZoomLevel=function(){return a.getZoomLevel()};this.setZoomLevel=function(b){a.setZoomLevel(b)};this.zoomOut=function(){var a=(e.getZoomLevel()/
1.1).toFixed(2),a=Math.max(D,a);b(a,!0)};this.zoomIn=function(){var a=(1.1*e.getZoomLevel()).toFixed(2),a=Math.min(C,a);b(a,!0)};(function(){c();a& & (e.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"),q("overlayCloseButton",e.toggleFullScreen),
q("fullscreen",e.toggleFullScreen),q("print",e.printDocument),q("presentation",function(){h||e.toggleFullScreen();e.togglePresentationMode()}),document.addEventListener("fullscreenchange",l),document.addEventListener("webkitfullscreenchange",l),document.addEventListener("mozfullscreenchange",l),document.addEventListener("MSFullscreenChange",l),q("download",e.download),q("zoomOut",e.zoomOut),q("zoomIn",e.zoomIn),q("previous",e.showPreviousPage),q("next",e.showNextPage),q("previousPage",e.showPreviousPage),
q("nextPage",e.showNextPage),document.getElementById("pageNumber").addEventListener("change",function(){e.showPage(this.value)}),document.getElementById("scaleSelect").addEventListener("change",function(){b(this.value)}),t.addEventListener("click",p),J.addEventListener("click",p),t.addEventListener("click",m),n.addEventListener("click",z),E.addEventListener("click",z),window.addEventListener("scalechange",function(a){var b=document.getElementById("customScaleOption"),d=r(String(a.scale));b.selected=
!1;d||(b.textContent=Math.round(1E4*a.scale)/100+"%",b.selected=!0)},!0),window.addEventListener("resize",function(a){L&&(document.getElementById("pageWidthOption").selected||document.getElementById("pageAutoOption").selected)&&b(document.getElementById("scaleSelect").value); p()}),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",
m()}else switch(b){case 8:case 33:case 37:case 38:case 80:e.showPreviousPage();break;case 13:case 34:case 39:case 40:case 78:e.showNextPage();break;case 32:a?e.showPreviousPage():e.showNextPage();break;case 66:case 190:y&&x("#000"); break;case 87:case 188:y&&x("#FFF"); break;case 36:e.showPage(1);break;case 35:e.showPage(G.length)}}))})()};(function(){function a(a,c){var d=new XMLHttpRequest;d.onreadystatechange=function(){var a,b;4===d.readyState& & ((200< =d.status& & 300>d.status||0===d.status)& & (a=d.getResponseHeader("content-type"))& & w.some(function(d){return d.supportsMimetype(a)?(b=d,console.log("Found plugin by mimetype and xhr head: "+a),window.mimetype=a,!0):!1}),c(b))};d.open("HEAD",a,!0);d.send()}function g(a){var c;w.some(function(d){return d.supportsFileExtension(a)?(c=d,!0):!1});return c}function c(a){var c=g(a);c& & console.log("Found plugin by parameter type: "+
a);return c}function r(a){a=a.split("?")[0].split(".").pop();var c=g(a);c& & console.log("Found plugin by file extension from path: "+a);return c}function u(a){var c={};(a.search||"?").substr(1).split("&").forEach(function(a){a&&(a=a.split("=",2),c[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}); return c}var k,w=[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(" "),
c="odt fodt ott odp fodp otp ods fods ots".split(" ");return{supportsMimetype:function(c){return-1!==a.indexOf(c)},supportsFileExtension:function(a){return-1!==c.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}},function(){var a=["image/jpeg","image/pjpeg","image/gif","image/png","image/bmp"],
c=["png","jpg","jpeg","gif","bmp"];return{supportsMimetype:function(c){return-1!==a.indexOf(c)},supportsFileExtension:function(a){return-1!==c.indexOf(a)},path:"./ImageViewerPlugin",getClass:function(){return ImageViewerPlugin}}}(),function(){var a="video/mp4 video/ogg video/webm audio/aac audio/mp4 audio/mpeg audio/ogg audio/wav audio/webm".split(" "),c="aac mp4 m4a mp3 mpg mpeg ogg wav webm m4v ogv oga mp1 mp2".split(" ");return{supportsMimetype:function(c){return-1!==a.indexOf(c)},supportsFileExtension:function(a){return-1!==
c.indexOf(a)},path:"./ImageViewerPlugin",getClass:function(){return MultimediaViewerPlugin}}}()];window.onload=function(){var b=document.location.hash.substring(1),f=u(document.location),d;b?(f.title||(f.title=b.replace(/^.*[\\\/]/,"")),f.documentUrl=b,a(b,function(a){a||(a=f.type?c(f.type):r(b));a?"undefined"!==String(typeof loadPlugin)?loadPlugin(a.path,function(){d=a.getClass();new Viewer(new d,f)}):(d=a.getClass(),new Viewer(new d,f)):new Viewer})):new Viewer};k=document.createElementNS(document.head.namespaceURI,
"style");k.setAttribute("media","screen");k.setAttribute("type","text/css");k.appendChild(document.createTextNode(viewer_css));document.head.appendChild(k);k=document.createElementNS(document.head.namespaceURI,"style");k.setAttribute("media","only screen and (max-device-width: 800px) and (max-device-height: 800px)");k.setAttribute("type","text/css");k.setAttribute("viewerTouch","1");k.appendChild(document.createTextNode(viewerTouch_css));document.head.appendChild(k)})();
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 >