@eo-sdk/client 7.15.0-rc.1 → 7.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/eo-framework/upload-overlay/upload-overlay.component.d.ts +1 -3
- package/assets/_default/api/compare/index.html +1 -1
- package/assets/_default/api/error/index.html +1 -1
- package/assets/_default/api/img/index.html +1 -1
- package/assets/_default/api/mail/index.html +1 -1
- package/assets/_default/api/monaco/index.html +1 -1
- package/assets/_default/api/pdf/web/viewer.js +1 -1
- package/assets/_default/api/text/index.html +1 -1
- package/assets/_default/api/video/index.html +1 -1
- package/assets/_default/i18n/de.json +12 -2
- package/assets/_default/i18n/en.json +12 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +11 -16
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +16 -28
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-client/prepare-state/prepare-state/prepare-state.component.js +3 -3
- package/esm2015/app/eo-framework/grid/grid.component.js +1 -1
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +3 -3
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/row-edit/row-edit.component.js +2 -2
- package/esm2015/app/eo-framework/prepare-details/prepare-details.component.js +3 -3
- package/esm2015/app/eo-framework/process/history/process-history.component.js +2 -2
- package/esm2015/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.js +2 -1
- package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +1 -1
- package/esm2015/app/eo-framework/upload-overlay/upload-overlay.component.js +3 -17
- package/esm2015/projects/eo-sdk/core/lib/config/translate-json-loader.js +4 -1
- package/esm2015/projects/eo-sdk/core/lib/model/dms-object-history.model.js +2 -8
- package/esm2015/projects/eo-sdk/core/lib/model/work-item-history.model.js +3 -5
- package/esm2015/projects/eo-sdk/core/lib/service/backend/backend.service.js +3 -3
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +7 -12
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +16 -28
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/misc/scripts/copy-client-assets.js +3 -0
- package/package.json +2 -2
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
- package/projects/eo-sdk/core/lib/model/work-item-history.model.d.ts +0 -2
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -72,10 +72,8 @@ export declare class UploadOverlayComponent implements OnInit, OnDestroy {
|
|
|
72
72
|
private unbindListeners;
|
|
73
73
|
/**
|
|
74
74
|
* Indicates whether or not the current drag event contains one or more files.
|
|
75
|
-
* Microsoft Edge 42.17134.1.0 will always includes 'File' there for we need to check for Edge and dataTransfer length.
|
|
76
|
-
*
|
|
77
75
|
* @param event - the drag event to be checked
|
|
78
|
-
* @returns
|
|
76
|
+
* @returns number of files
|
|
79
77
|
*/
|
|
80
78
|
private dragContainsFiles;
|
|
81
79
|
targetTrackByFn(index: any, item: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Compare</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var e,t,r,o,n,a,i,c,l,s,d,u,p,g,m={835:(e,t,r)=>{r.d(t,{Z:()=>c});var o=r(558),n=r.n(o),a=r(361),i=r.n(a)()(n());i.push([e.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}body{width:100vw;height:100vh;display:block;position:relative;margin:0}iframe{position:absolute;width:100vw;height:100vh;overflow:hidden}.primary iframe{width:100%;height:100%}*{box-sizing:border-box}.img-comp-img{position:absolute;width:100%;height:100%;background-color:var(--main-background);overflow:hidden}.img-comp-img.img-comp-overlay{border-right:1px solid;border-color:rgba(var(--color-accent-rgb), 0.2)}.img-comp-img:not(.img-comp-overlay){right:0;bottom:0}.horizontal .img-comp-img.img-comp-overlay{border-right:0;border-bottom:1px solid;border-color:rgba(var(--color-accent-rgb), 0.3)}.img-comp-slider{--slider-size: 40px;position:absolute;z-index:9;cursor:ew-resize;width:var(--slider-size);height:var(--slider-size);--slider-color: rgba(var(--color-accent-rgb), 0.6);background-color:var(--slider-color);border-radius:50%;opacity:1;transition:opacity 300ms}.horizontal .img-comp-slider{cursor:ns-resize}.auto .img-comp-slider{opacity:0}.dragging .img-comp-img::after{content:'';position:absolute;width:100%;height:100%}.mode{position:absolute;--mode-position: calc(var(--slider-size));padding-top:var(--mode-position);display:none;background-color:var(--slider-color);color:var(--text-color-caption);border-radius:calc(var(--slider-size) / 2);flex-flow:column}.img-comp-slider:hover .mode{display:flex}.horizontal .mode{flex-flow:row;padding-top:0;padding-left:var(--mode-position)}.mode span{height:var(--slider-size);width:var(--slider-size);font-size:35px;line-height:1em;padding:0 4px;cursor:pointer;text-align:center;border-radius:calc(var(--slider-size) / 2)}.mode span:hover{background-color:var(--slider-color);color:var(--text-color-body)}.horizontal .mode span.primary,.horizontal .mode span.secondary{transform:rotate(90deg)}.primary span.primary,.secondary span.secondary,.auto .mode{display:none !important}span.auto:hover:before{content:attr(data-timer);font-size:15px;display:block;position:absolute;text-align:center;top:0;left:0;line-height:var(--slider-size);width:var(--slider-size)}\n",""]);const c=i},361:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},558:e=>{e.exports=function(e){return e[1]}},487:e=>{var t=[];function r(e){for(var r=-1,o=0;o<t.length;o++)if(t[o].identifier===e){r=o;break}return r}function o(e,o){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=o.base?l[0]+o.base:l[0],d=a[s]||0,u="".concat(s," ").concat(d);a[s]=d+1;var p=r(u),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(g);else{var m=n(g,o);o.byIndex=c,t.splice(c,0,{identifier:u,updater:m,references:1})}i.push(u)}return i}function n(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=o(e,n),s=0;s<a.length;s++){var d=r(a[s]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}a=l}}},52:e=>{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},10:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},631:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},329:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},549:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.translateApi=t.errorApi=t.downloadUri=t.httpGet=t.getApi=void 0,t.getApi=function(){return window.api},t.httpGet=function(e,r,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,t.downloadUri)(e,{})),Object.keys(a).forEach((function(e){return i.setRequestHeader(e,a[e])})),i.onload=function(){return n("arraybuffer"===r?i.response:i.responseText)},i.send()},t.downloadUri=function(e,t){return location.pathname.match("assets")?e:t.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(t.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(e)+"&mimeType="+encodeURIComponent(t.mimeType)+"&lang="+encodeURIComponent(t.lang)+"&headers="+encodeURIComponent(t.headers||""):e},t.errorApi=function(e,r,o,n){var a;void 0===n&&(n=!0);var i=(0,t.getApi)();if(!i&&n)return setTimeout((function(){return(0,t.errorApi)(e,r,o,!1)}),500);console.warn(null==e?void 0:e.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(e,r,o)},t.translateApi=function(e,r,o,n){var a;void 0===n&&(n=!0);var i=(0,t.getApi)();if(!i&&n)return setTimeout((function(){return(0,t.translateApi)(e,r,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(e,r):e;o(c.endsWith(e)?"":c)}},91:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applyCustomSettings=t.getParams=void 0,t.getParams=function(e,t){var r;void 0===t&&(t=!0);var o={};location[e||"search"].slice(1).split("&").forEach((function(e){return o[e.split("=")[0]||"_"]=decodeURIComponent(e.split("=")[1])||null}));var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return t&&!(null===(r=o.path)||void 0===r?void 0:r.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},t.applyCustomSettings=function(e){var r=e||(0,t.getParams)("search");r.theme&&document.body.classList.add(r.theme),r.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+r.accentColor),r.lang&&document.querySelector("html").setAttribute("lang",r.lang)}}},f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,exports:{}};return m[e](r,r.exports,h),r.exports}h.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return h.d(t,{a:t}),t},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=h(549),t=h(91);function r(t,o){void 0===o&&(o=!1);var n=(null==t?void 0:t.contentWindow)||t;return n.api=(0,e.getApi)(),o?(t._init=!0,setTimeout((function(){return r(t)}),500),t):n}function o(e){return e.contentWindow.document.querySelector("#viewerContainer")||e.contentWindow}function n(e,t){r(e,!0).addEventListener("load",(function(){r(e),o(e).addEventListener("scroll",(function(r){var n;n=o(e),o(t).scrollTo(n.scrollLeft||n.scrollX||0,n.scrollTop||n.scrollY||0)}))}))}document.addEventListener("DOMContentLoaded",(function(){var r=(0,t.getParams)("search",!1);(0,t.applyCustomSettings)(r);var o=JSON.parse(r.compare);r.mimeType="";var a,i=document.getElementById("iframe1"),c=document.getElementById("iframe2");n(i,c),n(c,i),i.setAttribute("src",(0,e.downloadUri)(o[0],r)),c.setAttribute("src",(0,e.downloadUri)(o[1],r)),function(e,t){var r,o,n=!1,i=!0,c="primary",l=0,s=0;(r=document.querySelector(".img-comp-slider")).style.display="block";var d=r.parentElement.offsetWidth,u=r.parentElement.offsetHeight,p=r.querySelector(".primary"),g=r.querySelector(".secondary"),m=r.querySelector(".auto");function f(t,a,s){if(o&&clearInterval(o),m.setAttribute("data-timer",""),!n){var d=a||parseInt(e.style[i?"width":"height"]),u=c;if(r.parentElement.classList.remove(u),c=s||t.target.classList[0],r.parentElement.classList.add(c),i?w(d):x(d),"auto"===c){n=!0;for(var p=[100];l-- >1;)p=p.concat([0,100]);p.forEach((function(t,r,o){setTimeout((function(){e.style[i?"width":"height"]="100%",e.style.opacity=t/100,o.length===r+1&&setTimeout((function(){n=!1,l=1,f({},d,u)}),300)}),300*r)}))}}}function h(e,t){t&&(r.style.top=u/2-r.offsetHeight/2+"px"),e&&(r.style.left=d/2-r.offsetWidth/2+"px")}function b(e){n||(e.preventDefault(),s=1,r.parentElement.classList.add("dragging"),window.addEventListener("mousemove",y),window.addEventListener("touchmove",y))}function v(){s=0,r.parentElement.classList.remove("dragging")}function y(t){var r,o=i?d:u;if(0==s)return!1;(r=i?function(t){var r,o=0;return t=t||window.event,r=e.getBoundingClientRect(),o=function(e){if(!e.changedTouches)return e.pageX;for(a=0;a<e.changedTouches.length;a++)return e.changedTouches[a].pageX}(t)-r.left,o-window.pageXOffset}(t):function(t){var r,o=0;return t=t||window.event,r=e.getBoundingClientRect(),o=function(e){if(!e.changedTouches)return e.pageY;for(a=0;a<e.changedTouches.length;a++)return e.changedTouches[a].pageY}(t)-r.top,o-window.pageYOffset}(t))<0&&(r=0),r>o&&(r=o),i?w(r):x(r)}function w(o){e.style.width=o+"px",t.style.width="primary"===c?d-o+"px":"100%",r.style.left=e.offsetWidth-r.offsetWidth/2+"px"}function x(o){e.style.height=o+"px",t.style.height="primary"===c?u-o+"px":"100%",r.style.top=e.offsetHeight-r.offsetHeight/2+"px"}p.addEventListener("click",f),g.addEventListener("click",f),m.addEventListener("click",f),p.addEventListener("touchstart",f),g.addEventListener("touchstart",f),m.addEventListener("touchstart",f),m.addEventListener("mousedown",(function(e){e.which>1||(l=1,m.setAttribute("data-timer",""+l++),o=setInterval((function(){m.setAttribute("data-timer",""+l++),l>10&&clearInterval(o)}),250))})),r.parentElement.classList.add(c),r.addEventListener("mousedown",b),window.addEventListener("mouseup",v),r.addEventListener("touchstart",b),window.addEventListener("touchstop",v),r.addEventListener("dblclick",(function(o){n||(i=!i,w(d/2),x(u/2),e.style[i?"height":"width"]="100%",t.style[i?"height":"width"]="100%",r.parentElement.classList[i?"remove":"add"]("horizontal"))})),window.addEventListener("resize",(function(){var e=d!==r.parentElement.offsetWidth,t=u!==r.parentElement.offsetHeight;d=r.parentElement.offsetWidth,u=r.parentElement.offsetHeight,h(e,t),(i&&e||!i&&t)&&f({},(i?d:u)/2,c)})),w(d/2),h(!0,!0)}(document.querySelector(".img-comp-overlay"),a=document.querySelector(".img-comp-img:not(.img-comp-overlay)"))}))})(),e=h(487),t=h.n(e),r=h(631),o=h.n(r),n=h(52),a=h.n(n),i=h(10),c=h.n(i),l=h(469),s=h.n(l),d=h(329),u=h.n(d),p=h(835),(g={}).styleTagTransform=u(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=s(),t()(p.Z,g),p.Z&&p.Z.locals&&p.Z.locals})();</script></head><body><div class="img-comp-img"><iframe id="iframe2" frameborder="0"></iframe></div><div class="img-comp-slider" style="display: none;"><div class="mode"><span class="auto">⚬</span> <span class="primary">⚭</span> <span class="secondary">⚮</span></div></div><div class="img-comp-img img-comp-overlay"><iframe id="iframe1" frameborder="0"></iframe></div></body></html>
|
|
1
|
+
<!doctype html><html><head><title>Compare</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var e,t,r,o,n,a,i,c,l,s,d,u,p,g,m={835:(e,t,r)=>{r.d(t,{Z:()=>c});var o=r(558),n=r.n(o),a=r(361),i=r.n(a)()(n());i.push([e.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}body{width:100vw;height:100vh;display:block;position:relative;margin:0}iframe{position:absolute;width:100vw;height:100vh;overflow:hidden}.primary iframe{width:100%;height:100%}*{box-sizing:border-box}.img-comp-img{position:absolute;width:100%;height:100%;background-color:var(--main-background);overflow:hidden}.img-comp-img.img-comp-overlay{border-right:1px solid;border-color:rgba(var(--color-accent-rgb), 0.2)}.img-comp-img:not(.img-comp-overlay){right:0;bottom:0}.horizontal .img-comp-img.img-comp-overlay{border-right:0;border-bottom:1px solid;border-color:rgba(var(--color-accent-rgb), 0.3)}.img-comp-slider{--slider-size: 40px;position:absolute;z-index:9;cursor:ew-resize;width:var(--slider-size);height:var(--slider-size);--slider-color: rgba(var(--color-accent-rgb), 0.6);background-color:var(--slider-color);border-radius:50%;opacity:1;transition:opacity 300ms}.horizontal .img-comp-slider{cursor:ns-resize}.auto .img-comp-slider{opacity:0}.dragging .img-comp-img::after{content:'';position:absolute;width:100%;height:100%}.mode{position:absolute;--mode-position: calc(var(--slider-size));padding-top:var(--mode-position);display:none;background-color:var(--slider-color);color:var(--text-color-caption);border-radius:calc(var(--slider-size) / 2);flex-flow:column}.img-comp-slider:hover .mode{display:flex}.horizontal .mode{flex-flow:row;padding-top:0;padding-left:var(--mode-position)}.mode span{height:var(--slider-size);width:var(--slider-size);font-size:35px;line-height:1em;padding:0 4px;cursor:pointer;text-align:center;border-radius:calc(var(--slider-size) / 2)}.mode span:hover{background-color:var(--slider-color);color:var(--text-color-body)}.horizontal .mode span.primary,.horizontal .mode span.secondary{transform:rotate(90deg)}.primary span.primary,.secondary span.secondary,.auto .mode{display:none !important}span.auto:hover:before{content:attr(data-timer);font-size:15px;display:block;position:absolute;text-align:center;top:0;left:0;line-height:var(--slider-size);width:var(--slider-size)}\n",""]);const c=i},361:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",o=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),o&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),o&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<e.length;s++){var d=[].concat(e[s]);o&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),r&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=r):d[2]=r),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),t.push(d))}},t}},558:e=>{e.exports=function(e){return e[1]}},487:e=>{var t=[];function r(e){for(var r=-1,o=0;o<t.length;o++)if(t[o].identifier===e){r=o;break}return r}function o(e,o){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],s=o.base?l[0]+o.base:l[0],d=a[s]||0,u="".concat(s," ").concat(d);a[s]=d+1;var p=r(u),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(g);else{var m=n(g,o);o.byIndex=c,t.splice(c,0,{identifier:u,updater:m,references:1})}i.push(u)}return i}function n(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=r(a[i]);t[c].references--}for(var l=o(e,n),s=0;s<a.length;s++){var d=r(a[s]);0===t[d].references&&(t[d].updater(),t.splice(d,1))}a=l}}},52:e=>{var t={};e.exports=function(e,r){var o=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}},469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},10:(e,t,r)=>{e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},631:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var o="";r.supports&&(o+="@supports (".concat(r.supports,") {")),r.media&&(o+="@media ".concat(r.media," {"));var n=void 0!==r.layer;n&&(o+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),o+=r.css,n&&(o+="}"),r.media&&(o+="}"),r.supports&&(o+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},329:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},549:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.translateApi=t.errorApi=t.downloadUri=t.httpGet=t.getApi=void 0,t.getApi=function(){return window.api},t.httpGet=function(e,r,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,t.downloadUri)(e,{})),Object.keys(a).forEach((function(e){return i.setRequestHeader(e,a[e])})),i.onload=function(){return n("arraybuffer"===r?i.response:i.responseText)},i.send()},t.downloadUri=function(e,t){return location.pathname.match("assets")?e:t.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(t.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(e)+"&mimeType="+encodeURIComponent(t.mimeType)+"&lang="+encodeURIComponent(t.lang)+"&headers="+encodeURIComponent(t.headers||""):e},t.errorApi=function(e,r,o,n){var a;void 0===n&&(n=!0);var i=(0,t.getApi)();if(!i&&n)return setTimeout((function(){return(0,t.errorApi)(e,r,o,!1)}),500);console.warn(null==e?void 0:e.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(e,r,o)},t.translateApi=function(e,r,o,n){var a;void 0===n&&(n=!0);var i=(0,t.getApi)();if(!i&&n)return setTimeout((function(){return(0,t.translateApi)(e,r,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(e,r):e;o(c.endsWith(e)?"":c)}},91:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applyCustomSettings=t.getParams=void 0,t.getParams=function(e,t){var r;void 0===t&&(t=!0);var o={};location[e||"search"].slice(1).split("&").forEach((function(e){return o[e.split("=")[0]||"_"]=decodeURIComponent(e.split("=")[1])||null})),o.hasOwnProperty("accentColor")||(o.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return t&&!(null===(r=o.path)||void 0===r?void 0:r.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},t.applyCustomSettings=function(e){var r=e||(0,t.getParams)("search");r.theme&&document.body.classList.add(r.theme),r.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+r.accentColor),r.lang&&document.querySelector("html").setAttribute("lang",r.lang)}}},f={};function h(e){var t=f[e];if(void 0!==t)return t.exports;var r=f[e]={id:e,exports:{}};return m[e](r,r.exports,h),r.exports}h.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return h.d(t,{a:t}),t},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=h(549),t=h(91);function r(t,o){void 0===o&&(o=!1);var n=(null==t?void 0:t.contentWindow)||t;return n.api=(0,e.getApi)(),o?(t._init=!0,setTimeout((function(){return r(t)}),500),t):n}function o(e){return e.contentWindow.document.querySelector("#viewerContainer")||e.contentWindow}function n(e,t){r(e,!0).addEventListener("load",(function(){r(e),o(e).addEventListener("scroll",(function(r){var n;n=o(e),o(t).scrollTo(n.scrollLeft||n.scrollX||0,n.scrollTop||n.scrollY||0)}))}))}document.addEventListener("DOMContentLoaded",(function(){var r=(0,t.getParams)("search",!1);(0,t.applyCustomSettings)(r);var o=JSON.parse(r.compare);r.mimeType="";var a,i=document.getElementById("iframe1"),c=document.getElementById("iframe2");n(i,c),n(c,i),i.setAttribute("src",(0,e.downloadUri)(o[0],r)),c.setAttribute("src",(0,e.downloadUri)(o[1],r)),function(e,t){var r,o,n=!1,i=!0,c="primary",l=0,s=0;(r=document.querySelector(".img-comp-slider")).style.display="block";var d=r.parentElement.offsetWidth,u=r.parentElement.offsetHeight,p=r.querySelector(".primary"),g=r.querySelector(".secondary"),m=r.querySelector(".auto");function f(t,a,s){if(o&&clearInterval(o),m.setAttribute("data-timer",""),!n){var d=a||parseInt(e.style[i?"width":"height"]),u=c;if(r.parentElement.classList.remove(u),c=s||t.target.classList[0],r.parentElement.classList.add(c),i?w(d):x(d),"auto"===c){n=!0;for(var p=[100];l-- >1;)p=p.concat([0,100]);p.forEach((function(t,r,o){setTimeout((function(){e.style[i?"width":"height"]="100%",e.style.opacity=t/100,o.length===r+1&&setTimeout((function(){n=!1,l=1,f({},d,u)}),300)}),300*r)}))}}}function h(e,t){t&&(r.style.top=u/2-r.offsetHeight/2+"px"),e&&(r.style.left=d/2-r.offsetWidth/2+"px")}function b(e){n||(e.preventDefault(),s=1,r.parentElement.classList.add("dragging"),window.addEventListener("mousemove",y),window.addEventListener("touchmove",y))}function v(){s=0,r.parentElement.classList.remove("dragging")}function y(t){var r,o=i?d:u;if(0==s)return!1;(r=i?function(t){var r,o=0;return t=t||window.event,r=e.getBoundingClientRect(),o=function(e){if(!e.changedTouches)return e.pageX;for(a=0;a<e.changedTouches.length;a++)return e.changedTouches[a].pageX}(t)-r.left,o-window.pageXOffset}(t):function(t){var r,o=0;return t=t||window.event,r=e.getBoundingClientRect(),o=function(e){if(!e.changedTouches)return e.pageY;for(a=0;a<e.changedTouches.length;a++)return e.changedTouches[a].pageY}(t)-r.top,o-window.pageYOffset}(t))<0&&(r=0),r>o&&(r=o),i?w(r):x(r)}function w(o){e.style.width=o+"px",t.style.width="primary"===c?d-o+"px":"100%",r.style.left=e.offsetWidth-r.offsetWidth/2+"px"}function x(o){e.style.height=o+"px",t.style.height="primary"===c?u-o+"px":"100%",r.style.top=e.offsetHeight-r.offsetHeight/2+"px"}p.addEventListener("click",f),g.addEventListener("click",f),m.addEventListener("click",f),p.addEventListener("touchstart",f),g.addEventListener("touchstart",f),m.addEventListener("touchstart",f),m.addEventListener("mousedown",(function(e){e.which>1||(l=1,m.setAttribute("data-timer",""+l++),o=setInterval((function(){m.setAttribute("data-timer",""+l++),l>10&&clearInterval(o)}),250))})),r.parentElement.classList.add(c),r.addEventListener("mousedown",b),window.addEventListener("mouseup",v),r.addEventListener("touchstart",b),window.addEventListener("touchstop",v),r.addEventListener("dblclick",(function(o){n||(i=!i,w(d/2),x(u/2),e.style[i?"height":"width"]="100%",t.style[i?"height":"width"]="100%",r.parentElement.classList[i?"remove":"add"]("horizontal"))})),window.addEventListener("resize",(function(){var e=d!==r.parentElement.offsetWidth,t=u!==r.parentElement.offsetHeight;d=r.parentElement.offsetWidth,u=r.parentElement.offsetHeight,h(e,t),(i&&e||!i&&t)&&f({},(i?d:u)/2,c)})),w(d/2),h(!0,!0)}(document.querySelector(".img-comp-overlay"),a=document.querySelector(".img-comp-img:not(.img-comp-overlay)"))}))})(),e=h(487),t=h.n(e),r=h(631),o=h.n(r),n=h(52),a=h.n(n),i=h(10),c=h.n(i),l=h(469),s=h.n(l),d=h(329),u=h.n(d),p=h(835),(g={}).styleTagTransform=u(),g.setAttributes=c(),g.insert=a().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=s(),t()(p.Z,g),p.Z&&p.Z.locals&&p.Z.locals})();</script></head><body><div class="img-comp-img"><iframe id="iframe2" frameborder="0"></iframe></div><div class="img-comp-slider" style="display: none;"><div class="mode"><span class="auto">⚬</span> <span class="primary">⚭</span> <span class="secondary">⚮</span></div></div><div class="img-comp-img img-comp-overlay"><iframe id="iframe1" frameborder="0"></iframe></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Error</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var e,r,t,o,n,a,i,c,l,d,u,s,p,b,g,v,f={114:(e,r,t)=>{t.d(r,{Z:()=>c});var o=t(558),n=t.n(o),a=t(361),i=t.n(a)()(n());i.push([e.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}body{display:flex;flex-flow:column;justify-content:center;align-items:center;background:#eee}.error_wrapper{width:100vw;height:100vh;display:flex;flex-flow:column;align-items:center;justify-content:center}.error_link,.icon{display:none}.icon svg{width:100px;height:100px;opacity:0.1}.error_text{opacity:0.5;font-size:16px;padding:0 20px;text-align:center;margin:0;white-space:normal}\n",""]);const c=i},361:e=>{e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t="",o=void 0!==r[5];return r[4]&&(t+="@supports (".concat(r[4],") {")),r[2]&&(t+="@media ".concat(r[2]," {")),o&&(t+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),t+=e(r),o&&(t+="}"),r[2]&&(t+="}"),r[4]&&(t+="}"),t})).join("")},r.i=function(e,t,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var u=[].concat(e[d]);o&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),r.push(u))}},r}},558:e=>{e.exports=function(e){return e[1]}},487:e=>{var r=[];function t(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function o(e,o){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],d=o.base?l[0]+o.base:l[0],u=a[d]||0,s="".concat(d," ").concat(u);a[d]=u+1;var p=t(s),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)r[p].references++,r[p].updater(b);else{var g=n(b,o);o.byIndex=c,r.splice(c,0,{identifier:s,updater:g,references:1})}i.push(s)}return i}function n(e,r){var t=r.domAPI(r);return t.update(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap&&r.supports===e.supports&&r.layer===e.layer)return;t.update(e=r)}else t.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=t(a[i]);r[c].references--}for(var l=o(e,n),d=0;d<a.length;d++){var u=t(a[d]);0===r[u].references&&(r[u].updater(),r.splice(u,1))}a=l}}},52:e=>{var r={};e.exports=function(e,t){var o=function(e){if(void 0===r[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}r[e]=t}return r[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},469:e=>{e.exports=function(e){var r=document.createElement("style");return e.setAttributes(r,e.attributes),e.insert(r,e.options),r}},10:(e,r,t)=>{e.exports=function(e){var r=t.nc;r&&e.setAttribute("nonce",r)}},631:e=>{e.exports=function(e){var r=e.insertStyleElement(e);return{update:function(t){!function(e,r,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var n=void 0!==t.layer;n&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,n&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),r.styleTagTransform(o,e,r.options)}(r,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)}}}},329:e=>{e.exports=function(e,r){if(r.styleSheet)r.styleSheet.cssText=e;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(e))}}},549:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.translateApi=r.errorApi=r.downloadUri=r.httpGet=r.getApi=void 0,r.getApi=function(){return window.api},r.httpGet=function(e,t,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,r.downloadUri)(e,{})),Object.keys(a).forEach((function(e){return i.setRequestHeader(e,a[e])})),i.onload=function(){return n("arraybuffer"===t?i.response:i.responseText)},i.send()},r.downloadUri=function(e,r){return location.pathname.match("assets")?e:r.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(r.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(e)+"&mimeType="+encodeURIComponent(r.mimeType)+"&lang="+encodeURIComponent(r.lang)+"&headers="+encodeURIComponent(r.headers||""):e},r.errorApi=function(e,t,o,n){var a;void 0===n&&(n=!0);var i=(0,r.getApi)();if(!i&&n)return setTimeout((function(){return(0,r.errorApi)(e,t,o,!1)}),500);console.warn(null==e?void 0:e.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(e,t,o)},r.translateApi=function(e,t,o,n){var a;void 0===n&&(n=!0);var i=(0,r.getApi)();if(!i&&n)return setTimeout((function(){return(0,r.translateApi)(e,t,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(e,t):e;o(c.endsWith(e)?"":c)}},91:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.applyCustomSettings=r.getParams=void 0,r.getParams=function(e,r){var t;void 0===r&&(r=!0);var o={};location[e||"search"].slice(1).split("&").forEach((function(e){return o[e.split("=")[0]||"_"]=decodeURIComponent(e.split("=")[1])||null}));var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return r&&!(null===(t=o.path)||void 0===t?void 0:t.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},r.applyCustomSettings=function(e){var t=e||(0,r.getParams)("search");t.theme&&document.body.classList.add(t.theme),t.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+t.accentColor),t.lang&&document.querySelector("html").setAttribute("lang",t.lang)}}},h={};function m(e){var r=h[e];if(void 0!==r)return r.exports;var t=h[e]={id:e,exports:{}};return f[e](t,t.exports,m),t.exports}m.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return m.d(r,{a:r}),r},m.d=(e,r)=>{for(var t in r)m.o(r,t)&&!m.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},m.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=m(549),r=m(91),document.addEventListener("DOMContentLoaded",(function(t){var o=(0,r.getParams)("search",!1);(0,r.applyCustomSettings)(o);var n="de"===o.lang?{"yuv.viewer.not.authorized":"Keine Berechtigung zur vorschau der Datei.","yuv.viewer.not.found":"Die Datei konnte nicht geladen werden.","yuv.viewer.not.supported":"Nicht unterstütztes Format.","yuv.viewer.not.supported.download.content":"Das Format kann nicht angezeigt werden.\nSie können die Datei mit einem Klick auf diesen Link herunterladen."}:{"yuv.viewer.not.authorized":"Not authorized to preview file.","yuv.viewer.not.found":"File not found.","yuv.viewer.not.supported":"Format not supported.","yuv.viewer.not.supported.download.content":"Unable to display format.\nYou can click this link to download the file."},a="supported.download.content",i=o.path?o.not||a:"found";if(document.querySelector(".icon."+i.split(".")[0]).style.display="block",o.path){var c=(0,e.downloadUri)(o.path,o),l=document.querySelector(".error_link");l.style.display="block",i===a&&l.setAttribute("href",c),i===a&&o.headers&&l.addEventListener("click",(function(r){var t;if(r.isTrusted){r.preventDefault();var o=(0,e.getApi)();c=(null===(t=null==o?void 0:o.content)||void 0===t?void 0:t.validateUrl)?o.content.validateUrl(c):c,l.setAttribute("href",c),l.click()}}));var d=document.querySelector(".error_text"),u="yuv.viewer.not."+i;(0,e.translateApi)(u,{},(function(e){return d.innerText=e||n[u]}))}})),t=m(487),o=m.n(t),n=m(631),a=m.n(n),i=m(52),c=m.n(i),l=m(10),d=m.n(l),u=m(469),s=m.n(u),p=m(329),b=m.n(p),g=m(114),(v={}).styleTagTransform=b(),v.setAttributes=d(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=s(),o()(g.Z,v),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div class="error_wrapper"><div class="icon authorized"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg></div><div class="icon supported"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"/></svg></div><div class="icon found"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M29 4H14.6c-.8 0-1.5.2-2 .6l27.2 27.2v-17L29 4zm-.7 11.6V7.8l7.8 7.8h-7.8zM43.4 40.8l-2.5 2.5-3.5-3.5c-.4.1-.8.2-1.2.2H14.6c-2 0-3.6-1.6-3.6-3.6V13.5L5.9 8.4l2.5-2.5L11 8.4l28.7 28.7 3.1 3.1.6.6z"/></svg></div><a type="download" class="error_link"><pre class="error_text"></pre></a></div></body></html>
|
|
1
|
+
<!doctype html><html><head><title>Error</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var e,r,t,o,n,a,i,c,l,d,u,s,p,b,g,v,f={114:(e,r,t)=>{t.d(r,{Z:()=>c});var o=t(558),n=t.n(o),a=t(361),i=t.n(a)()(n());i.push([e.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}body{display:flex;flex-flow:column;justify-content:center;align-items:center;background:#eee}.error_wrapper{width:100vw;height:100vh;display:flex;flex-flow:column;align-items:center;justify-content:center}.error_link,.icon{display:none}.icon svg{width:100px;height:100px;opacity:0.1}.error_text{opacity:0.5;font-size:16px;padding:0 20px;text-align:center;margin:0;white-space:normal}\n",""]);const c=i},361:e=>{e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t="",o=void 0!==r[5];return r[4]&&(t+="@supports (".concat(r[4],") {")),r[2]&&(t+="@media ".concat(r[2]," {")),o&&(t+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),t+=e(r),o&&(t+="}"),r[2]&&(t+="}"),r[4]&&(t+="}"),t})).join("")},r.i=function(e,t,o,n,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var d=0;d<e.length;d++){var u=[].concat(e[d]);o&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),r.push(u))}},r}},558:e=>{e.exports=function(e){return e[1]}},487:e=>{var r=[];function t(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function o(e,o){for(var a={},i=[],c=0;c<e.length;c++){var l=e[c],d=o.base?l[0]+o.base:l[0],u=a[d]||0,s="".concat(d," ").concat(u);a[d]=u+1;var p=t(s),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)r[p].references++,r[p].updater(b);else{var g=n(b,o);o.byIndex=c,r.splice(c,0,{identifier:s,updater:g,references:1})}i.push(s)}return i}function n(e,r){var t=r.domAPI(r);return t.update(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap&&r.supports===e.supports&&r.layer===e.layer)return;t.update(e=r)}else t.remove()}}e.exports=function(e,n){var a=o(e=e||[],n=n||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=t(a[i]);r[c].references--}for(var l=o(e,n),d=0;d<a.length;d++){var u=t(a[d]);0===r[u].references&&(r[u].updater(),r.splice(u,1))}a=l}}},52:e=>{var r={};e.exports=function(e,t){var o=function(e){if(void 0===r[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}r[e]=t}return r[e]}(e);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},469:e=>{e.exports=function(e){var r=document.createElement("style");return e.setAttributes(r,e.attributes),e.insert(r,e.options),r}},10:(e,r,t)=>{e.exports=function(e){var r=t.nc;r&&e.setAttribute("nonce",r)}},631:e=>{e.exports=function(e){var r=e.insertStyleElement(e);return{update:function(t){!function(e,r,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var n=void 0!==t.layer;n&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,n&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),r.styleTagTransform(o,e,r.options)}(r,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)}}}},329:e=>{e.exports=function(e,r){if(r.styleSheet)r.styleSheet.cssText=e;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(e))}}},549:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.translateApi=r.errorApi=r.downloadUri=r.httpGet=r.getApi=void 0,r.getApi=function(){return window.api},r.httpGet=function(e,t,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,r.downloadUri)(e,{})),Object.keys(a).forEach((function(e){return i.setRequestHeader(e,a[e])})),i.onload=function(){return n("arraybuffer"===t?i.response:i.responseText)},i.send()},r.downloadUri=function(e,r){return location.pathname.match("assets")?e:r.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(r.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(e)+"&mimeType="+encodeURIComponent(r.mimeType)+"&lang="+encodeURIComponent(r.lang)+"&headers="+encodeURIComponent(r.headers||""):e},r.errorApi=function(e,t,o,n){var a;void 0===n&&(n=!0);var i=(0,r.getApi)();if(!i&&n)return setTimeout((function(){return(0,r.errorApi)(e,t,o,!1)}),500);console.warn(null==e?void 0:e.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(e,t,o)},r.translateApi=function(e,t,o,n){var a;void 0===n&&(n=!0);var i=(0,r.getApi)();if(!i&&n)return setTimeout((function(){return(0,r.translateApi)(e,t,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(e,t):e;o(c.endsWith(e)?"":c)}},91:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.applyCustomSettings=r.getParams=void 0,r.getParams=function(e,r){var t;void 0===r&&(r=!0);var o={};location[e||"search"].slice(1).split("&").forEach((function(e){return o[e.split("=")[0]||"_"]=decodeURIComponent(e.split("=")[1])||null})),o.hasOwnProperty("accentColor")||(o.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return r&&!(null===(t=o.path)||void 0===t?void 0:t.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},r.applyCustomSettings=function(e){var t=e||(0,r.getParams)("search");t.theme&&document.body.classList.add(t.theme),t.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+t.accentColor),t.lang&&document.querySelector("html").setAttribute("lang",t.lang)}}},h={};function m(e){var r=h[e];if(void 0!==r)return r.exports;var t=h[e]={id:e,exports:{}};return f[e](t,t.exports,m),t.exports}m.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return m.d(r,{a:r}),r},m.d=(e,r)=>{for(var t in r)m.o(r,t)&&!m.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},m.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=m(549),r=m(91),document.addEventListener("DOMContentLoaded",(function(t){var o=(0,r.getParams)("search",!1);(0,r.applyCustomSettings)(o);var n="de"===o.lang?{"yuv.viewer.not.authorized":"Keine Berechtigung zur vorschau der Datei.","yuv.viewer.not.found":"Die Datei konnte nicht geladen werden.","yuv.viewer.not.supported":"Nicht unterstütztes Format.","yuv.viewer.not.supported.download.content":"Das Format kann nicht angezeigt werden.\nSie können die Datei mit einem Klick auf diesen Link herunterladen."}:{"yuv.viewer.not.authorized":"Not authorized to preview file.","yuv.viewer.not.found":"File not found.","yuv.viewer.not.supported":"Format not supported.","yuv.viewer.not.supported.download.content":"Unable to display format.\nYou can click this link to download the file."},a="supported.download.content",i=o.path?o.not||a:"found";if(document.querySelector(".icon."+i.split(".")[0]).style.display="block",o.path){var c=(0,e.downloadUri)(o.path,o),l=document.querySelector(".error_link");l.style.display="block",i===a&&l.setAttribute("href",c),i===a&&o.headers&&l.addEventListener("click",(function(r){var t;if(r.isTrusted){r.preventDefault();var o=(0,e.getApi)();c=(null===(t=null==o?void 0:o.content)||void 0===t?void 0:t.validateUrl)?o.content.validateUrl(c):c,l.setAttribute("href",c),l.click()}}));var d=document.querySelector(".error_text"),u="yuv.viewer.not."+i;(0,e.translateApi)(u,{},(function(e){return d.innerText=e||n[u]}))}})),t=m(487),o=m.n(t),n=m(631),a=m.n(n),i=m(52),c=m.n(i),l=m(10),d=m.n(l),u=m(469),s=m.n(u),p=m(329),b=m.n(p),g=m(114),(v={}).styleTagTransform=b(),v.setAttributes=d(),v.insert=c().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=s(),o()(g.Z,v),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div class="error_wrapper"><div class="icon authorized"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/></svg></div><div class="icon supported"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"/></svg></div><div class="icon found"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M29 4H14.6c-.8 0-1.5.2-2 .6l27.2 27.2v-17L29 4zm-.7 11.6V7.8l7.8 7.8h-7.8zM43.4 40.8l-2.5 2.5-3.5-3.5c-.4.1-.8.2-1.2.2H14.6c-2 0-3.6-1.6-3.6-3.6V13.5L5.9 8.4l2.5-2.5L11 8.4l28.7 28.7 3.1 3.1.6.6z"/></svg></div><a type="download" class="error_link"><pre class="error_text"></pre></a></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Image</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,t,o,n,a,i,c,l,s,u,d,p,g,b,f,m={677:(r,e,t)=>{t.d(e,{Z:()=>c});var o=t(558),n=t.n(o),a=t(361),i=t.n(a)()(n());i.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}html,body{overflow:inherit}.preview_image{cursor:pointer;width:100%;height:100%;display:block;margin-left:auto;margin-right:auto}.image_wrapper.horizontal{width:100%;overflow:auto}.image_wrapper.vertical{height:100%;overflow:auto}.image_wrapper.horizontal .preview_image{height:auto}.image_wrapper.vertical .preview_image{width:auto}.preview_actions{position:fixed;right:10px;top:0;bottom:0;margin:auto;height:0;overflow:hidden}.preview_actions:hover,.image_wrapper:hover .preview_actions,.preview_image:hover+.preview_actions{height:auto}.preview_actions button{cursor:pointer;height:40px;width:40px;border:1px solid #555;border-radius:50%;background-color:#fff;opacity:0.7;transition:opacity 0.2s;font-size:20px;margin:10px;display:block}\n",""]);const c=i},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var t="",o=void 0!==e[5];return e[4]&&(t+="@supports (".concat(e[4],") {")),e[2]&&(t+="@media ".concat(e[2]," {")),o&&(t+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),t+=r(e),o&&(t+="}"),e[2]&&(t+="}"),e[4]&&(t+="}"),t})).join("")},e.i=function(r,t,o,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<r.length;s++){var u=[].concat(r[s]);o&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),t&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=t):u[2]=t),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function t(r){for(var t=-1,o=0;o<e.length;o++)if(e[o].identifier===r){t=o;break}return t}function o(r,o){for(var a={},i=[],c=0;c<r.length;c++){var l=r[c],s=o.base?l[0]+o.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var p=t(d),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(g);else{var b=n(g,o);o.byIndex=c,e.splice(c,0,{identifier:d,updater:b,references:1})}i.push(d)}return i}function n(r,e){var t=e.domAPI(e);return t.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;t.update(r=e)}else t.remove()}}r.exports=function(r,n){var a=o(r=r||[],n=n||{});return function(r){r=r||[];for(var i=0;i<a.length;i++){var c=t(a[i]);e[c].references--}for(var l=o(r,n),s=0;s<a.length;s++){var u=t(a[s]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=l}}},52:r=>{var e={};r.exports=function(r,t){var o=function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(r){t=null}e[r]=t}return e[r]}(r);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,t)=>{r.exports=function(r){var e=t.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(t){!function(r,e,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var n=void 0!==t.layer;n&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,n&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(o,r,e.options)}(e,r,t)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,t,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return i.setRequestHeader(r,a[r])})),i.onload=function(){return n("arraybuffer"===t?i.response:i.responseText)},i.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,t,o,n){var a;void 0===n&&(n=!0);var i=(0,e.getApi)();if(!i&&n)return setTimeout((function(){return(0,e.errorApi)(r,t,o,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(r,t,o)},e.translateApi=function(r,t,o,n){var a;void 0===n&&(n=!0);var i=(0,e.getApi)();if(!i&&n)return setTimeout((function(){return(0,e.translateApi)(r,t,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(r,t):r;o(c.endsWith(r)?"":c)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var t;void 0===e&&(e=!0);var o={};location[r||"search"].slice(1).split("&").forEach((function(r){return o[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null}));var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return e&&!(null===(t=o.path)||void 0===t?void 0:t.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},e.applyCustomSettings=function(r){var t=r||(0,e.getParams)("search");t.theme&&document.body.classList.add(t.theme),t.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+t.accentColor),t.lang&&document.querySelector("html").setAttribute("lang",t.lang)}}},h={};function v(r){var e=h[r];if(void 0!==e)return e.exports;var t=h[r]={id:r,exports:{}};return m[r](t,t.exports,v),t.exports}v.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return v.d(e,{a:e}),e},v.d=(r,e)=>{for(var t in e)v.o(e,t)&&!v.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},v.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=v(549),e=v(91),document.addEventListener("DOMContentLoaded",(function(t){var o=(0,e.getParams)();(0,e.applyCustomSettings)(o);var n=document.querySelector(".image_wrapper"),a=document.querySelector(".preview_image"),i="vertical",c=0,l=1;"image/tiff"===o.mimeType?(0,r.httpGet)((0,r.downloadUri)(o.path,o),"text","",(function(e){e.startsWith('{"height"')&&JSON.parse(e)?(0,r.errorApi)(new Error("Dimensions:"+e),window,o):a.setAttribute("src",e)})):a.setAttribute("src",(0,r.downloadUri)(o.path,o));var s=function(r,e){a.setAttribute("style","transform: translate(0px, 0px) rotate("+r+"deg) scale("+e+")")},u=function(){n.classList.remove(i),i="vertical"===i?"horizontal":"vertical",n.classList.add(i),s(c=0,l=1)};u(),Object.assign(window,{toggle:u,toggleFullScreen:function(){document.fullscreenElement?document.exitFullscreen&&document.exitFullscreen():document.documentElement.requestFullscreen()},rotate:function(r){s(c+=90*r,l)},scale:function(r){s(c,l+=.1*r)}})})),t=v(487),o=v.n(t),n=v(631),a=v.n(n),i=v(52),c=v.n(i),l=v(10),s=v.n(l),u=v(469),d=v.n(u),p=v(329),g=v.n(p),b=v(677),(f={}).styleTagTransform=g(),f.setAttributes=s(),f.insert=c().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),o()(b.Z,f),b.Z&&b.Z.locals&&b.Z.locals})();</script></head><body><div class="image_wrapper"><img draggable="false" class="preview_image" onclick="toggle()"><div class="preview_actions"><div class="actions"><button class="left" onclick="rotate(1)">↷</button> <button class="right" onclick="rotate(-1)">↶</button> <button class="in" onclick="scale(1)">+</button> <button class="out" onclick="scale(-1)">−</button> <button class="fullscreen" onclick="toggleFullScreen()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490.667 490.667" style="width:16px; height:16px;" xml:space="preserve"><path d="M173.792 301.792 21.333 454.251v-80.917c0-5.891-4.776-10.667-10.667-10.667-5.89 0-10.666 4.775-10.666 10.666V480c0 5.891 4.776 10.667 10.667 10.667h106.667c5.891 0 10.667-4.776 10.667-10.667s-4.776-10.667-10.667-10.667H36.416l152.459-152.459a10.667 10.667 0 0 0-15.083-15.082zM480 0H373.333c-5.891 0-10.667 4.776-10.667 10.667s4.776 10.667 10.667 10.667h80.917L301.792 173.792c-4.237 4.093-4.354 10.845-.262 15.083 4.093 4.237 10.845 4.354 15.083.262.089-.086.176-.173.262-.262L469.333 36.416v80.917c0 5.891 4.776 10.667 10.667 10.667s10.667-4.776 10.667-10.667V10.667C490.667 4.776 485.891 0 480 0zM36.416 21.333h80.917c5.891 0 10.667-4.776 10.667-10.667C128 4.776 123.224 0 117.333 0H10.667C4.776 0 0 4.776 0 10.667v106.667C0 123.224 4.776 128 10.667 128s10.667-4.776 10.667-10.667V36.416l152.459 152.459c4.237 4.093 10.99 3.975 15.083-.262 3.992-4.134 3.992-10.687 0-14.82L36.416 21.333zM480 362.667c-5.891 0-10.667 4.776-10.667 10.667v80.917L316.875 301.792c-4.237-4.093-10.99-3.976-15.083.261-3.993 4.134-3.993 10.688 0 14.821l152.459 152.459h-80.917c-5.891 0-10.667 4.776-10.667 10.667s4.776 10.667 10.667 10.667H480c5.891 0 10.667-4.776 10.667-10.667V373.333c0-5.891-4.776-10.666-10.667-10.666z"/></svg></button></div></div></div></body></html>
|
|
1
|
+
<!doctype html><html><head><title>Image</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,t,o,n,a,i,c,l,s,d,u,p,g,b,f,m={677:(r,e,t)=>{t.d(e,{Z:()=>c});var o=t(558),n=t.n(o),a=t(361),i=t.n(a)()(n());i.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}html,body{overflow:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.image_wrapper{height:100%;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.preview_image{cursor:pointer;max-width:100%;max-height:100%}.preview_actions{position:fixed;right:10px;top:0;bottom:0;margin:auto;height:0;overflow:hidden}.preview_actions:hover,.image_wrapper:hover .preview_actions,.preview_image:hover+.preview_actions{height:auto}.preview_actions button{cursor:pointer;height:40px;width:40px;border:1px solid #555;border-radius:50%;background-color:#fff;opacity:0.7;transition:opacity 0.2s;font-size:20px;margin:10px;display:block}body{--progressBar-color: rgba(var(--color-accent-rgb), 1);--progressBar-indeterminate-blend-color: rgba(var(--color-accent-rgb), 0.5);--progressBar-indeterminate-bg-color: rgba(221, 221, 222, 1)}#loadingBar{position:absolute;top:1px;width:100vw;height:4px;background-color:var(--body-bg-color);border-bottom:1px solid var(--toolbar-border-color);transition-duration:var(--sidebar-transition-duration);transition-timing-function:var(--sidebar-transition-timing-function)}#loadingBar .progress{position:absolute;top:0;left:0;width:0%;height:100%;background-color:var(--progressBar-color);overflow:hidden;transition:width 200ms}@-webkit-keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}@keyframes progressIndeterminate{0%{left:-142px}100%{left:0}}#loadingBar .progress.indeterminate{background-color:var(--progressBar-indeterminate-bg-color);transition:none}#loadingBar .progress.indeterminate .glimmer{position:absolute;top:0;left:0;height:100%;width:calc(100% + 150px);background:repeating-linear-gradient(135deg, var(--progressBar-indeterminate-blend-color) 0, var(--progressBar-indeterminate-bg-color) 5px, var(--progressBar-indeterminate-bg-color) 45px, var(--progressBar-color) 55px, var(--progressBar-color) 95px, var(--progressBar-indeterminate-blend-color) 100px);-webkit-animation:progressIndeterminate 1s linear infinite;animation:progressIndeterminate 1s linear infinite}\n",""]);const c=i},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var t="",o=void 0!==e[5];return e[4]&&(t+="@supports (".concat(e[4],") {")),e[2]&&(t+="@media ".concat(e[2]," {")),o&&(t+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),t+=r(e),o&&(t+="}"),e[2]&&(t+="}"),e[4]&&(t+="}"),t})).join("")},e.i=function(r,t,o,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var i={};if(o)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(i[l]=!0)}for(var s=0;s<r.length;s++){var d=[].concat(r[s]);o&&i[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),t&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=t):d[2]=t),n&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=n):d[4]="".concat(n)),e.push(d))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function t(r){for(var t=-1,o=0;o<e.length;o++)if(e[o].identifier===r){t=o;break}return t}function o(r,o){for(var a={},i=[],c=0;c<r.length;c++){var l=r[c],s=o.base?l[0]+o.base:l[0],d=a[s]||0,u="".concat(s," ").concat(d);a[s]=d+1;var p=t(u),g={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(g);else{var b=n(g,o);o.byIndex=c,e.splice(c,0,{identifier:u,updater:b,references:1})}i.push(u)}return i}function n(r,e){var t=e.domAPI(e);return t.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;t.update(r=e)}else t.remove()}}r.exports=function(r,n){var a=o(r=r||[],n=n||{});return function(r){r=r||[];for(var i=0;i<a.length;i++){var c=t(a[i]);e[c].references--}for(var l=o(r,n),s=0;s<a.length;s++){var d=t(a[s]);0===e[d].references&&(e[d].updater(),e.splice(d,1))}a=l}}},52:r=>{var e={};r.exports=function(r,t){var o=function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(r){t=null}e[r]=t}return e[r]}(r);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,t)=>{r.exports=function(r){var e=t.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(t){!function(r,e,t){var o="";t.supports&&(o+="@supports (".concat(t.supports,") {")),t.media&&(o+="@media ".concat(t.media," {"));var n=void 0!==t.layer;n&&(o+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),o+=t.css,n&&(o+="}"),t.media&&(o+="}"),t.supports&&(o+="}");var a=t.sourceMap;a&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(o,r,e.options)}(e,r,t)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,t,o,n){var a=JSON.parse(o||"{}"),i=new XMLHttpRequest;i.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return i.setRequestHeader(r,a[r])})),i.onload=function(){return n("arraybuffer"===t?i.response:i.responseText)},i.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,t,o,n){var a;void 0===n&&(n=!0);var i=(0,e.getApi)();if(!i&&n)return setTimeout((function(){return(0,e.errorApi)(r,t,o,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(r,t,o)},e.translateApi=function(r,t,o,n){var a;void 0===n&&(n=!0);var i=(0,e.getApi)();if(!i&&n)return setTimeout((function(){return(0,e.translateApi)(r,t,o,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(r,t):r;o(c.endsWith(r)?"":c)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var t;void 0===e&&(e=!0);var o={};location[r||"search"].slice(1).split("&").forEach((function(r){return o[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null})),o.hasOwnProperty("accentColor")||(o.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(o.cors||"kolibri.enaioci.net")+")");return e&&!(null===(t=o.path)||void 0===t?void 0:t.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):o},e.applyCustomSettings=function(r){var t=r||(0,e.getParams)("search");t.theme&&document.body.classList.add(t.theme),t.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+t.accentColor),t.lang&&document.querySelector("html").setAttribute("lang",t.lang)}}},v={};function h(r){var e=v[r];if(void 0!==e)return e.exports;var t=v[r]={id:r,exports:{}};return m[r](t,t.exports,h),t.exports}h.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return h.d(e,{a:e}),e},h.d=(r,e)=>{for(var t in e)h.o(e,t)&&!h.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},h.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=h(549),e=h(91),document.addEventListener("DOMContentLoaded",(function(t){var o=(0,e.getParams)();(0,e.applyCustomSettings)(o);var n=document.querySelector(".image_wrapper"),a=document.querySelector(".preview_image"),i=0,c=1,l=0,s=0,d=0,u=0;"image/tiff"===o.mimeType?(0,r.httpGet)((0,r.downloadUri)(o.path,o),"text","",(function(e){e.startsWith('{"height"')&&JSON.parse(e)?(0,r.errorApi)(new Error("Dimensions:"+e),window,o):a.setAttribute("src",e)})):a.setAttribute("src",(0,r.downloadUri)(o.path,o));var p,g=function(){a.setAttribute("style","transform: translate("+l+"px, "+s+"px) rotate("+i+"deg) scale("+c+")")};(p=document.querySelector("#loadingBar .progress")).setAttribute("style","width:100%; height:100%"),p.classList.add("indeterminate");var b=function(){i=0,c=1,l=0,s=0,d=0,u=0,g()};b();var f=function(r){(c+=.1*r)<.1&&(c=.1),g()},m=function(r){r.preventDefault(),r.stopPropagation()};a.addEventListener("dragstart",(function(r){r.dataTransfer&&(r.dataTransfer.setDragImage&&r.dataTransfer.setDragImage(r.target,2e3,2e3),r.dataTransfer.effectAllowed="move"),d=r.clientX,u=r.clientY})),n.addEventListener("wheel",(function(r){return f(r.deltaY>0?-1:1)})),n.addEventListener("dragover",(function(r){r.dataTransfer&&"move"!==r.dataTransfer.effectAllowed||(l+=r.clientX-d,s+=r.clientY-u,d=r.clientX,u=r.clientY,g(),m(r))})),n.addEventListener("dragenter",m),n.addEventListener("drop",m),Object.assign(window,{reset:b,toggleFullScreen:function(){document.fullscreenElement?document.exitFullscreen&&document.exitFullscreen():document.documentElement.requestFullscreen()},rotate:function(r){i+=90*r,g()},scale:f,onLoad:function(){document.querySelector("#loadingBar").setAttribute("style","display:none;")}})})),t=h(487),o=h.n(t),n=h(631),a=h.n(n),i=h(52),c=h.n(i),l=h(10),s=h.n(l),d=h(469),u=h.n(d),p=h(329),g=h.n(p),b=h(677),(f={}).styleTagTransform=g(),f.setAttributes=s(),f.insert=c().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=u(),o()(b.Z,f),b.Z&&b.Z.locals&&b.Z.locals})();</script></head><body><div id="loadingBar"><div class="progress"><div class="glimmer"></div></div></div><div class="image_wrapper"><img class="preview_image" ondblclick="reset()" onload="onLoad()"><div class="preview_actions"><div class="actions"><button class="left" onclick="rotate(1)">↷</button> <button class="right" onclick="rotate(-1)">↶</button> <button class="in" onclick="scale(1)">+</button> <button class="out" onclick="scale(-1)">−</button> <button class="fullscreen" onclick="toggleFullScreen()"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 490.667 490.667" style="width:16px; height:16px;" xml:space="preserve"><path d="M173.792 301.792 21.333 454.251v-80.917c0-5.891-4.776-10.667-10.667-10.667-5.89 0-10.666 4.775-10.666 10.666V480c0 5.891 4.776 10.667 10.667 10.667h106.667c5.891 0 10.667-4.776 10.667-10.667s-4.776-10.667-10.667-10.667H36.416l152.459-152.459a10.667 10.667 0 0 0-15.083-15.082zM480 0H373.333c-5.891 0-10.667 4.776-10.667 10.667s4.776 10.667 10.667 10.667h80.917L301.792 173.792c-4.237 4.093-4.354 10.845-.262 15.083 4.093 4.237 10.845 4.354 15.083.262.089-.086.176-.173.262-.262L469.333 36.416v80.917c0 5.891 4.776 10.667 10.667 10.667s10.667-4.776 10.667-10.667V10.667C490.667 4.776 485.891 0 480 0zM36.416 21.333h80.917c5.891 0 10.667-4.776 10.667-10.667C128 4.776 123.224 0 117.333 0H10.667C4.776 0 0 4.776 0 10.667v106.667C0 123.224 4.776 128 10.667 128s10.667-4.776 10.667-10.667V36.416l152.459 152.459c4.237 4.093 10.99 3.975 15.083-.262 3.992-4.134 3.992-10.687 0-14.82L36.416 21.333zM480 362.667c-5.891 0-10.667 4.776-10.667 10.667v80.917L316.875 301.792c-4.237-4.093-10.99-3.976-15.083.261-3.993 4.134-3.993 10.688 0 14.821l152.459 152.459h-80.917c-5.891 0-10.667 4.776-10.667 10.667s4.776 10.667 10.667 10.667H480c5.891 0 10.667-4.776 10.667-10.667V373.333c0-5.891-4.776-10.666-10.667-10.666z"/></svg></button></div></div></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Mail</title><base href="./"><meta name="viewport" content="width=device-width,initial-scale=1"/><script>(()=>{"use strict";var e,t,n,r,o,a,i,s,
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Mail</title><base href="./"><meta name="viewport" content="width=device-width,initial-scale=1"/><script>(()=>{"use strict";var e,t,n,r,o,a,i,c,s,l,u,d,p,f,v,m,h={840:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(558),o=n.n(r),a=n(361),i=n.n(a)()(o());i.push([e.id,"iframe{position:absolute;width:100vw;height:100vh;overflow:hidden}\n",""]);const c=i},361:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(i[s]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},558:e=>{e.exports=function(e){return e[1]}},487:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},i=[],c=0;c<e.length;c++){var s=e[c],l=r.base?s[0]+r.base:s[0],u=a[l]||0,d="".concat(l," ").concat(u);a[l]=u+1;var p=n(d),f={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var v=o(f,r);r.byIndex=c,t.splice(c,0,{identifier:d,updater:v,references:1})}i.push(d)}return i}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var c=n(a[i]);t[c].references--}for(var s=r(e,o),l=0;l<a.length;l++){var u=n(a[l]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=s}}},52:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},469:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},10:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},631:e=>{e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},329:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},549:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.translateApi=t.errorApi=t.downloadUri=t.httpGet=t.getApi=void 0,t.getApi=function(){return window.api},t.httpGet=function(e,n,r,o){var a=JSON.parse(r||"{}"),i=new XMLHttpRequest;i.open("GET",(0,t.downloadUri)(e,{})),Object.keys(a).forEach((function(e){return i.setRequestHeader(e,a[e])})),i.onload=function(){return o("arraybuffer"===n?i.response:i.responseText)},i.send()},t.downloadUri=function(e,t){return location.pathname.match("assets")?e:t.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(t.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(e)+"&mimeType="+encodeURIComponent(t.mimeType)+"&lang="+encodeURIComponent(t.lang)+"&headers="+encodeURIComponent(t.headers||""):e},t.errorApi=function(e,n,r,o){var a;void 0===o&&(o=!0);var i=(0,t.getApi)();if(!i&&o)return setTimeout((function(){return(0,t.errorApi)(e,n,r,!1)}),500);console.warn(null==e?void 0:e.message),(null===(a=null==i?void 0:i.content)||void 0===a?void 0:a.triggerError)&&i.content.triggerError(e,n,r)},t.translateApi=function(e,n,r,o){var a;void 0===o&&(o=!0);var i=(0,t.getApi)();if(!i&&o)return setTimeout((function(){return(0,t.translateApi)(e,n,r,!1)}),500);var c=(null===(a=null==i?void 0:i.util)||void 0===a?void 0:a.translate)?i.util.translate(e,n):e;r(c.endsWith(e)?"":c)}},91:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applyCustomSettings=t.getParams=void 0,t.getParams=function(e,t){var n;void 0===t&&(t=!0);var r={};location[e||"search"].slice(1).split("&").forEach((function(e){return r[e.split("=")[0]||"_"]=decodeURIComponent(e.split("=")[1])||null})),r.hasOwnProperty("accentColor")||(r.accentColor="196,34,122");var o=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(r.cors||"kolibri.enaioci.net")+")");return t&&!(null===(n=r.path)||void 0===n?void 0:n.match(o))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):r},t.applyCustomSettings=function(e){var n=e||(0,t.getParams)("search");n.theme&&document.body.classList.add(n.theme),n.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+n.accentColor),n.lang&&document.querySelector("html").setAttribute("lang",n.lang)}}},g={};function y(e){var t=g[e];if(void 0!==t)return t.exports;var n=g[e]={id:e,exports:{}};return h[e](n,n.exports,y),n.exports}y.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return y.d(t,{a:t}),t},y.d=(e,t)=>{for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e=y(549),t=y(91),document.addEventListener("DOMContentLoaded",(function(){var n=(0,t.getParams)();(0,t.applyCustomSettings)(n),document.getElementById("mail").setAttribute("src",(0,e.downloadUri)(n.path,n))})),n=y(487),r=y.n(n),o=y(631),a=y.n(o),i=y(52),c=y.n(i),s=y(10),l=y.n(s),u=y(469),d=y.n(u),p=y(329),f=y.n(p),v=y(840),(m={}).styleTagTransform=f(),m.setAttributes=l(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=d(),r()(v.Z,m),v.Z&&v.Z.locals&&v.Z.locals})();</script></head><body style="margin:0;"><iframe id="mail" frameborder="0"></iframe></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Monaco</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,o,t,n,a,c,i,l,s,u,d,p,b,g,f,v={369:(r,e,o)=>{o.d(e,{Z:()=>i});var t=o(558),n=o.n(t),a=o(361),c=o.n(a)()(n());c.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}\n",""]);const i=c},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=r(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(r,o,t,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var c={};if(t)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(c[l]=!0)}for(var s=0;s<r.length;s++){var u=[].concat(r[s]);t&&c[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function o(r){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===r){o=t;break}return o}function t(r,t){for(var a={},c=[],i=0;i<r.length;i++){var l=r[i],s=t.base?l[0]+t.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var p=o(d),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(b);else{var g=n(b,t);t.byIndex=i,e.splice(i,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function n(r,e){var o=e.domAPI(e);return o.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;o.update(r=e)}else o.remove()}}r.exports=function(r,n){var a=t(r=r||[],n=n||{});return function(r){r=r||[];for(var c=0;c<a.length;c++){var i=o(a[c]);e[i].references--}for(var l=t(r,n),s=0;s<a.length;s++){var u=o(a[s]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=l}}},52:r=>{var e={};r.exports=function(r,o){var t=function(r){if(void 0===e[r]){var o=document.querySelector(r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(r){o=null}e[r]=o}return e[r]}(r);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,o)=>{r.exports=function(r){var e=o.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(o){!function(r,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var n=void 0!==o.layer;n&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,n&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(t,r,e.options)}(e,r,o)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,o,t,n){var a=JSON.parse(t||"{}"),c=new XMLHttpRequest;c.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return c.setRequestHeader(r,a[r])})),c.onload=function(){return n("arraybuffer"===o?c.response:c.responseText)},c.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.errorApi)(r,o,t,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==c?void 0:c.content)||void 0===a?void 0:a.triggerError)&&c.content.triggerError(r,o,t)},e.translateApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.translateApi)(r,o,t,!1)}),500);var i=(null===(a=null==c?void 0:c.util)||void 0===a?void 0:a.translate)?c.util.translate(r,o):r;t(i.endsWith(r)?"":i)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var o;void 0===e&&(e=!0);var t={};location[r||"search"].slice(1).split("&").forEach((function(r){return t[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null}));var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(t.cors||"kolibri.enaioci.net")+")");return e&&!(null===(o=t.path)||void 0===o?void 0:o.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):t},e.applyCustomSettings=function(r){var o=r||(0,e.getParams)("search");o.theme&&document.body.classList.add(o.theme),o.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+o.accentColor),o.lang&&document.querySelector("html").setAttribute("lang",o.lang)}}},m={};function h(r){var e=m[r];if(void 0!==e)return e.exports;var o=m[r]={id:r,exports:{}};return v[r](o,o.exports,h),o.exports}h.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return h.d(e,{a:e}),e},h.d=(r,e)=>{for(var o in e)h.o(e,o)&&!h.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},h.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=h(549),e=h(91),document.addEventListener("DOMContentLoaded",(function(o){var t=(0,e.getParams)();if((0,e.applyCustomSettings)(t),require){require.config({paths:{vs:"./monaco-editor/min/vs"}});var n=["de","es","fr","it","ja","js","ko","ru","zh-cn","zh-tw"].find((function(r){return(t.lang||"").toLowerCase().startsWith(r)}));n&&require.config({"vs/nls":{availableLanguages:{"*":n}}});var a=function(r){var e=monaco.editor.create(document.getElementById("container"),Object.assign({value:r,theme:"dark"===t.theme?"vs-dark":"vs-light",language:t.language||"javascript",readOnly:!0,automaticLayout:!0,formatOnPaste:!0,lineNumbers:t.language?"on":"off"},"true"==t.minimap?{}:{overviewRulerLanes:0,hideCursorInOverviewRuler:!0,overviewRulerBorder:!1,minimap:{enabled:!1}},JSON.parse(t.params||"{}")));window.onresize=function(){return e.layout()}};require(["vs/editor/editor.main"],(function(){(0,r.httpGet)(t.path,"text",t.headers,a)}))}})),o=h(487),t=h.n(o),n=h(631),a=h.n(n),c=h(52),i=h.n(c),l=h(10),s=h.n(l),u=h(469),d=h.n(u),p=h(329),b=h.n(p),g=h(369),(f={}).styleTagTransform=b(),f.setAttributes=s(),f.insert=i().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),t()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div id="container" style="width: 100%; height: 100%"></div><script src="./monaco-editor/min/vs/loader.js"></script></body></html>
|
|
1
|
+
<!doctype html><html><head><title>Monaco</title><base href="./"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><script>(()=>{"use strict";var r,e,o,t,n,a,c,i,l,s,u,d,p,b,g,f,v={369:(r,e,o)=>{o.d(e,{Z:()=>i});var t=o(558),n=o.n(t),a=o(361),c=o.n(a)()(n());c.push([r.id,".dark{--main-background: rgb(40, 40, 40);--color-primary-rgb: 50, 50, 50;--color-primary: rgb(var(--color-primary-rgb));--color-dirty-background: rgba(var(--color-accent-rgb), 0.4);--color-dirty-font: #fff;--panel-background: var(--color-primary);--panel-background-grey: rgb(55, 55, 55);--panel-background-lightgrey: rgb(58, 58, 58);--panel-divider-color: rgb(69, 69, 69);--item-focus-background-color: rgba(255, 255, 255, 0.06);--item-focus-border-color: rgba(255, 255, 255, 0.2);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(255, 255, 255, 0.1);--scrollbar-thumb-color-hover: rgba(255, 255, 255, 0.2);--text-color-body: #fff;--text-color-caption: rgba(255, 255, 255, 0.75);--text-color-hint: rgba(255, 255, 255, 0.5);--button-secondary-background: rgba(255, 255, 255, 0.1);--button-secondary-background-hover: rgba(255, 255, 255, 0.15);--button-background-hover: rgba(255, 255, 255, 0.06)}:root{--main-background: rgb(245, 245, 245);--color-accent-rgb: 0, 130, 147;--color-primary-rgb: 72, 79, 84;--color-primary: rgb(var(--color-primary-rgb));--color-accent: rgb(var(--color-accent-rgb));--color-error: #d33d4c;--color-success: #547f14;--color-warning: #f39200;--color-favorite: #ffc107;--color-admin-primary: #161616;--color-admin-divider: #393939;--color-dirty-background: rgba(var(--color-accent-rgb), 0.15);--color-dirty-font: var(--color-accent);--panel-background: rgb(255, 255, 255);--panel-background-grey: rgb(240, 240, 240);--panel-background-lightgrey: rgb(250, 250, 250);--panel-divider-color: rgb(224, 224, 224);--item-focus-background-color: rgba(0, 0, 0, 0.06);--item-selected-background-color: rgba(var(--color-accent-rgb), 0.2);--item-focus-border-color: rgba(0, 0, 0, 0.1);--app-bar-background: var(--panel-background);--scrollbar-thumb-color: rgba(0, 0, 0, 0.15);--scrollbar-thumb-color-hover: rgba(0, 0, 0, 0.2);--text-color-body: rgba(0, 0, 0, 0.87);--text-color-caption: rgba(0, 0, 0, 0.54);--text-color-hint: rgba(0, 0, 0, 0.36);--text-color-accent: var(--color-accent);--font-hint: 11px;--font-caption: 12px;--font-body: 13px;--font-subhead: 15px;--font-title: 20px;--font-headline: 24px;--font-display: 34px;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-bold: 700;--app-pane-padding: 16px;--button-secondary-background: rgba(0, 0, 0, 0.1);--button-secondary-background-hover: rgba(0, 0, 0, 0.15);--button-background-hover: rgba(0, 0, 0, 0.06)}html,body{width:100%;height:100%;margin:0;padding:0;overflow:hidden}body.rtl *{direction:rtl}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color)}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-color-hover)}::-webkit-scrollbar-button{height:0;width:0}::-webkit-scrollbar-corner{background-color:transparent}\n",""]);const i=c},361:r=>{r.exports=function(r){var e=[];return e.toString=function(){return this.map((function(e){var o="",t=void 0!==e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),t&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=r(e),t&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(r,o,t,n,a){"string"==typeof r&&(r=[[null,r,void 0]]);var c={};if(t)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(c[l]=!0)}for(var s=0;s<r.length;s++){var u=[].concat(r[s]);t&&c[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),n&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=n):u[4]="".concat(n)),e.push(u))}},e}},558:r=>{r.exports=function(r){return r[1]}},487:r=>{var e=[];function o(r){for(var o=-1,t=0;t<e.length;t++)if(e[t].identifier===r){o=t;break}return o}function t(r,t){for(var a={},c=[],i=0;i<r.length;i++){var l=r[i],s=t.base?l[0]+t.base:l[0],u=a[s]||0,d="".concat(s," ").concat(u);a[s]=u+1;var p=o(d),b={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(b);else{var g=n(b,t);t.byIndex=i,e.splice(i,0,{identifier:d,updater:g,references:1})}c.push(d)}return c}function n(r,e){var o=e.domAPI(e);return o.update(r),function(e){if(e){if(e.css===r.css&&e.media===r.media&&e.sourceMap===r.sourceMap&&e.supports===r.supports&&e.layer===r.layer)return;o.update(r=e)}else o.remove()}}r.exports=function(r,n){var a=t(r=r||[],n=n||{});return function(r){r=r||[];for(var c=0;c<a.length;c++){var i=o(a[c]);e[i].references--}for(var l=t(r,n),s=0;s<a.length;s++){var u=o(a[s]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=l}}},52:r=>{var e={};r.exports=function(r,o){var t=function(r){if(void 0===e[r]){var o=document.querySelector(r);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(r){o=null}e[r]=o}return e[r]}(r);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");t.appendChild(o)}},469:r=>{r.exports=function(r){var e=document.createElement("style");return r.setAttributes(e,r.attributes),r.insert(e,r.options),e}},10:(r,e,o)=>{r.exports=function(r){var e=o.nc;e&&r.setAttribute("nonce",e)}},631:r=>{r.exports=function(r){var e=r.insertStyleElement(r);return{update:function(o){!function(r,e,o){var t="";o.supports&&(t+="@supports (".concat(o.supports,") {")),o.media&&(t+="@media ".concat(o.media," {"));var n=void 0!==o.layer;n&&(t+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),t+=o.css,n&&(t+="}"),o.media&&(t+="}"),o.supports&&(t+="}");var a=o.sourceMap;a&&"undefined"!=typeof btoa&&(t+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(t,r,e.options)}(e,r,o)},remove:function(){!function(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(e)}}}},329:r=>{r.exports=function(r,e){if(e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},549:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.translateApi=e.errorApi=e.downloadUri=e.httpGet=e.getApi=void 0,e.getApi=function(){return window.api},e.httpGet=function(r,o,t,n){var a=JSON.parse(t||"{}"),c=new XMLHttpRequest;c.open("GET",(0,e.downloadUri)(r,{})),Object.keys(a).forEach((function(r){return c.setRequestHeader(r,a[r])})),c.onload=function(){return n("arraybuffer"===o?c.response:c.responseText)},c.send()},e.downloadUri=function(r,e){return location.pathname.match("assets")?r:e.headers||["image/tiff","message/rfc822","application/vnd.ms-outlook"].includes(e.mimeType)?location.pathname.replace(/\/view\/api.*/,"")+"/download/?path="+encodeURIComponent(r)+"&mimeType="+encodeURIComponent(e.mimeType)+"&lang="+encodeURIComponent(e.lang)+"&headers="+encodeURIComponent(e.headers||""):r},e.errorApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.errorApi)(r,o,t,!1)}),500);console.warn(null==r?void 0:r.message),(null===(a=null==c?void 0:c.content)||void 0===a?void 0:a.triggerError)&&c.content.triggerError(r,o,t)},e.translateApi=function(r,o,t,n){var a;void 0===n&&(n=!0);var c=(0,e.getApi)();if(!c&&n)return setTimeout((function(){return(0,e.translateApi)(r,o,t,!1)}),500);var i=(null===(a=null==c?void 0:c.util)||void 0===a?void 0:a.translate)?c.util.translate(r,o):r;t(i.endsWith(r)?"":i)}},91:(r,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyCustomSettings=e.getParams=void 0,e.getParams=function(r,e){var o;void 0===e&&(e=!0);var t={};location[r||"search"].slice(1).split("&").forEach((function(r){return t[r.split("=")[0]||"_"]=decodeURIComponent(r.split("=")[1])||null})),t.hasOwnProperty("accentColor")||(t.accentColor="196,34,122");var n=new RegExp("^(blob:)?http(s)?:\\/\\/(localhost:|"+location.hostname+"|"+(t.cors||"kolibri.enaioci.net")+")");return e&&!(null===(o=t.path)||void 0===o?void 0:o.match(n))?(location.href=location.pathname.replace(/\/api.*/,"")+"/api/error/?not=authorized",{}):t},e.applyCustomSettings=function(r){var o=r||(0,e.getParams)("search");o.theme&&document.body.classList.add(o.theme),o.accentColor&&document.querySelector("html").setAttribute("style","--color-accent-rgb:"+o.accentColor),o.lang&&document.querySelector("html").setAttribute("lang",o.lang)}}},m={};function h(r){var e=m[r];if(void 0!==e)return e.exports;var o=m[r]={id:r,exports:{}};return v[r](o,o.exports,h),o.exports}h.n=r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return h.d(e,{a:e}),e},h.d=(r,e)=>{for(var o in e)h.o(e,o)&&!h.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},h.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),r=h(549),e=h(91),document.addEventListener("DOMContentLoaded",(function(o){var t=(0,e.getParams)();if((0,e.applyCustomSettings)(t),require){require.config({paths:{vs:"./monaco-editor/min/vs"}});var n=["de","es","fr","it","ja","js","ko","ru","zh-cn","zh-tw"].find((function(r){return(t.lang||"").toLowerCase().startsWith(r)}));n&&require.config({"vs/nls":{availableLanguages:{"*":n}}});var a=function(r){var e=monaco.editor.create(document.getElementById("container"),Object.assign({value:r,theme:"dark"===t.theme?"vs-dark":"vs-light",language:t.language||"javascript",readOnly:!0,automaticLayout:!0,formatOnPaste:!0,lineNumbers:t.language?"on":"off"},"true"==t.minimap?{}:{overviewRulerLanes:0,hideCursorInOverviewRuler:!0,overviewRulerBorder:!1,minimap:{enabled:!1}},JSON.parse(t.params||"{}")));window.onresize=function(){return e.layout()}};require(["vs/editor/editor.main"],(function(){(0,r.httpGet)(t.path,"text",t.headers,a)}))}})),o=h(487),t=h.n(o),n=h(631),a=h.n(n),c=h(52),i=h.n(c),l=h(10),s=h.n(l),u=h(469),d=h.n(u),p=h(329),b=h.n(p),g=h(369),(f={}).styleTagTransform=b(),f.setAttributes=s(),f.insert=i().bind(null,"head"),f.domAPI=a(),f.insertStyleElement=d(),t()(g.Z,f),g.Z&&g.Z.locals&&g.Z.locals})();</script></head><body><div id="container" style="width: 100%; height: 100%"></div><script src="./monaco-editor/min/vs/loader.js"></script></body></html>
|