2019-10-28 06:46:16 +00:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "" , n ( n . s = 904 ) } ( [ function ( e , t , n ) { var r , i , a ;
2019-05-16 14:40:02 +00:00
/ * !
* jQuery JavaScript Library v2 . 1.4
* http : //jquery.com/
*
* Includes Sizzle . js
* http : //sizzlejs.com/
*
* Copyright 2005 , 2014 jQuery Foundation , Inc . and other contributors
* Released under the MIT license
* http : //jquery.org/license
*
* Date : 2015 - 04 - 28 T16 : 01 Z
2019-11-03 08:22:59 +00:00
* /i="undefined"!=typeof window?window:this,a=function(n,i){var a=[],s=a.slice,o=a.concat,u=a.push,d=a.indexOf,l={},c=l.toString,f=l.hasOwnProperty,_={},m=n.document,h=function(e,t){return new h.fn.init(e,t)},p=/ ^ [ \ s\uFEFF \ xA0 ] + | [ \ s\uFEFF \ xA0 ] + $ / g , y = /^-ms-/ , g = /-([\da-z])/gi , v = function ( e , t ) { return t . toUpperCase ( ) } ; function M ( e ) { var t = "length" in e && e . length , n = h . type ( e ) ; return "function" !== n && ! h . isWindow ( e ) && ( ! ( 1 !== e . nodeType || ! t ) || "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e ) } h . fn = h . prototype = { jquery : "2.1.4" , constructor : h , selector : "" , length : 0 , toArray : function ( ) { return s . call ( this ) } , get : function ( e ) { return null != e ? e < 0 ? this [ e + this . length ] : this [ e ] : s . call ( this ) } , pushStack : function ( e ) { var t = h . merge ( this . constructor ( ) , e ) ; return t . prevObject = this , t . context = this . context , t } , each : function ( e , t ) { return h . each ( this , e , t ) } , map : function ( e ) { return this . pushStack ( h . map ( this , ( function ( t , n ) { return e . call ( t , n , t ) } ) ) ) } , slice : function ( ) { return this . pushStack ( s . apply ( this , arguments ) ) } , first : function ( ) { return this . eq ( 0 ) } , last : function ( ) { return this . eq ( - 1 ) } , eq : function ( e ) { var t = this . length , n = + e + ( e < 0 ? t : 0 ) ; return this . pushStack ( n >= 0 && n < t ? [ this [ n ] ] : [ ] ) } , end : function ( ) { return this . prevObject || this . constructor ( null ) } , push : u , sort : a . sort , splice : a . splice } , h . extend = h . fn . extend = function ( ) { var e , t , n , r , i , a , s = arguments [ 0 ] || { } , o = 1 , u = arguments . length , d = ! 1 ; for ( "boolean" == typeof s && ( d = s , s = arguments [ o ] || { } , o ++ ) , "object" == typeof s || h . isFunction ( s ) || ( s = { } ) , o === u && ( s = this , o -- ) ; o < u ; o ++ ) if ( null != ( e = arguments [ o ] ) ) for ( t in e ) n = s [ t ] , s !== ( r = e [ t ] ) && ( d && r && ( h . isPlainObject ( r ) || ( i = h . isArray ( r ) ) ) ? ( i ? ( i = ! 1 , a = n && h . isArray ( n ) ? n : [ ] ) : a = n && h . isPlainObject ( n ) ? n : { } , s [ t ] = h . extend ( d , a , r ) ) : void 0 !== r && ( s [ t ] = r ) ) ; return s } , h . extend ( { expando : "jQuery" + ( "2.1.4" + Math . random ( ) ) . replace ( /\D/g , "" ) , isReady : ! 0 , error : function ( e ) { throw new Error ( e ) } , noop : function ( ) { } , isFunction : function ( e ) { return "function" === h . type ( e ) } , isArray : Array . isArray , isWindow : function ( e ) { return null != e && e === e . window } , isNumeric : function ( e ) { return ! h . isArray ( e ) && e - parseFloat ( e ) + 1 >= 0 } , isPlainObject : function ( e ) { return ! ( "object" !== h . type ( e ) || e . nodeType || h . isWindow ( e ) || e . constructor && ! f . call ( e . constructor . prototype , "isPrototypeOf" ) ) } , isEmptyObject : function ( e ) { var t ; for ( t in e ) return ! 1 ; return ! 0 } , type : function ( e ) { return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? l [ c . call ( e ) ] || "object" : typeof e } , globalEval : function ( e ) { var t , n = eval ; ( e = h . trim ( e ) ) && ( 1 === e . indexOf ( "use strict" ) ? ( ( t = m . createElement ( "script" ) ) . text = e , m . head . appendChild ( t ) . parentNode . removeChild ( t ) ) : n ( e ) ) } , camelCase : function ( e ) { return e . replace ( y , "ms-" ) . replace ( g , v ) } , nodeName : function ( e , t ) { return e . nodeName && e . nodeName . toLowerCase ( ) === t . toLowerCase ( ) } , each : function ( e , t , n ) { var r = 0 , i = e . length , a = M ( e ) ; if ( n ) { if ( a ) for ( ; r < i && ! 1 !== t . apply ( e [ r ] , n ) ; r ++ ) ; else for ( r in e ) if ( ! 1 === t . apply ( e [ r ] , n ) ) break } else if ( a ) for ( ; r < i && ! 1 !== t . call ( e [ r ] , r , e [ r ] ) ; r ++ ) ; else for ( r in e ) if ( ! 1 === t . call ( e [ r ] , r , e [ r ] ) ) break ; return e } , trim : function ( e ) { return null == e ? "" : ( e + "" ) . replace ( p , "" ) } , makeArray : function ( e , t ) { var n = t || [ ] ; return null != e && ( M ( Object ( e ) ) ? h . merge ( n , "string" == typeof e ? [ e ] : e ) : u . call ( n , e ) ) , n } , inArray : function ( e , t , n ) { return null == t ? - 1 : d . call ( t , e , n ) } , merge : function ( e , t ) { for ( var n = + t . length , r = 0 , i = e . length ; r < n ; r ++ ) e [ i ++ ] = t [ r ] ; return e . length = i , e } , grep : function ( e , t , n ) { for ( var r = [ ] , i = 0 , a = e . length , s = ! n ; i < a ; i ++ ) ! t ( e [ i ] , i ) !== s && r . push ( e [ i ] ) ; return r } , map : function ( e , t , n ) { var r , i = 0 , a = e . length , s = [ ] ; if ( M ( e ) ) for ( ; i < a ; i ++ ) null != ( r = t ( e [ i ] , i , n ) ) && s . push ( r ) ; else for ( i in e ) null != ( r = t ( e [ i ] , i , n ) ) && s . push ( r ) ; return o . apply ( [ ] , s ) } , guid : 1 , proxy : function ( e , t ) { var n , r , i ; if ( "string" == typeof t && ( n = e [ t ] , t = e , e = n ) , h . isFunction ( e ) ) return r = s . call ( arguments , 2 ) , ( i = function ( ) { return e . apply ( t || this , r . concat ( s . call ( arguments ) ) ) } ) . guid = e . guid = e . guid || h . guid ++ , i } , now : Date . now , support : _ } ) , h . each ( "Boolean Number String Function Array Date RegExp Object Error" . split ( " " ) , ( function ( e , t ) { l [ "[object " + t + "]" ] = t . toLowerCase ( ) } ) ) ; var L =
2019-05-16 14:40:02 +00:00
/ * !
* Sizzle CSS Selector Engine v2 . 2.0 - pre
* http : //sizzlejs.com/
*
* Copyright 2008 , 2014 jQuery Foundation , Inc . and other contributors
* Released under the MIT license
* http : //jquery.org/license
*
* Date : 2014 - 12 - 16
* /
2019-11-24 10:13:21 +00:00
function ( e ) { var t , n , r , i , a , s , o , u , d , l , c , f , _ , m , h , p , y , g , v , M = "sizzle" + 1 * new Date , L = e . document , Y = 0 , k = 0 , w = se ( ) , b = se ( ) , T = se ( ) , D = function ( e , t ) { return e === t && ( c = ! 0 ) , 0 } , x = 1 << 31 , S = { } . hasOwnProperty , j = [ ] , H = j . pop , O = j . push , P = j . push , E = j . slice , A = function ( e , t ) { for ( var n = 0 , r = e . length ; n < r ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , C = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped" , F = "[\\x20\\t\\r\\n\\f]" , N = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+" , W = N . replace ( "w" , "w#" ) , R = "\\[" + F + "*(" + N + ")(?:" + F + "*([*^$|!~]?=)" + F + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + W + "))|)" + F + "*\\]" , I = ":(" + N + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + R + ")*)|.*)\\)|)" , z = new RegExp ( F + "+" , "g" ) , U = new RegExp ( "^" + F + "+|((?:^|[^\\\\])(?:\\\\.)*)" + F + "+$" , "g" ) , $ = new RegExp ( "^" + F + "*," + F + "*" ) , q = new RegExp ( "^" + F + "*([>+~]|" + F + ")" + F + "*" ) , J = new RegExp ( "=" + F + "*([^\\]'\"]*?)" + F + "*\\]" , "g" ) , B = new RegExp ( I ) , V = new RegExp ( "^" + W + "$" ) , G = { ID : new RegExp ( "^#(" + N + ")" ) , CLASS : new RegExp ( "^\\.(" + N + ")" ) , TAG : new RegExp ( "^(" + N . replace ( "w" , "w*" ) + ")" ) , ATTR : new RegExp ( "^" + R ) , PSEUDO : new RegExp ( "^" + I ) , CHILD : new RegExp ( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + F + "*(even|odd|(([+-]|)(\\d*)n|)" + F + "*(?:([+-]|)" + F + "*(\\d+)|))" + F + "*\\)|)" , "i" ) , bool : new RegExp ( "^(?:" + C + ")$" , "i" ) , needsContext : new RegExp ( "^" + F + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + F + "*((?:-\\d)?\\d*)" + F + "*\\)|)(?=[^-]|$)" , "i" ) } , K = /^(?:input|select|textarea|button)$/i , X = /^h\d$/i , Q = /^[^{]+\{\s*\[native \w/ , Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/ , ee = /[+~]/ , te = /'|\\/g , ne = new RegExp ( "\\\\([\\da-f]{1,6}" + F + "?|(" + F + ")|.)" , "ig" ) , re = function ( e , t , n ) { var r = "0x" + t - 65536 ; return r != r || n ? t : r < 0 ? String . fromCharCode ( r + 65536 ) : String . fromCharCode ( r >> 10 | 55296 , 1023 & r | 56320 ) } , ie = function ( ) { f ( ) } ; try { P . apply ( j = E . call ( L . childNodes ) , L . childNodes ) , j [ L . childNodes . length ] . nodeType } catch ( e ) { P = { apply : j . length ? function ( e , t ) { O . apply ( e , E . call ( t ) ) } : function ( e , t ) { for ( var n = e . length , r = 0 ; e [ n ++ ] = t [ r ++ ] ; ) ; e . length = n - 1 } } } function ae ( e , t , r , i ) { var a , o , d , l , c , m , y , g , Y , k ; if ( ( t ? t . ownerDocument || t : L ) !== _ && f ( t ) , r = r || [ ] , l = ( t = t || _ ) . nodeType , "string" != typeof e || ! e || 1 !== l && 9 !== l && 11 !== l ) return r ; if ( ! i && h ) { if ( 11 !== l && ( a = Z . exec ( e ) ) ) if ( d = a [ 1 ] ) { if ( 9 === l ) { if ( ! ( o = t . getElementById ( d ) ) || ! o . parentNode ) return r ; if ( o . id === d ) return r . push ( o ) , r } else if ( t . ownerDocument && ( o = t . ownerDocument . getElementById ( d ) ) && v ( t , o ) && o . id === d ) return r . push ( o ) , r } else { if ( a [ 2 ] ) return P . apply ( r , t . getElementsByTagName ( e ) ) , r ; if ( ( d = a [ 3 ] ) && n . getElementsByClassName ) return P . apply ( r , t . getElementsByClassName ( d ) ) , r } if ( n . qsa && ( ! p || ! p . test ( e ) ) ) { if ( g = y = M , Y = t , k = 1 !== l && e , 1 === l && "object" !== t . nodeName . toLowerCase ( ) ) { for ( m = s ( e ) , ( y = t . getAttribute ( "id" ) ) ? g = y . replace ( te , "\\$&" ) : t . setAttribute ( "id" , g ) , g = "[id='" + g + "'] " , c = m . length ; c -- ; ) m [ c ] = g + pe ( m [ c ] ) ; Y = ee . test ( e ) && me ( t . parentNode ) || t , k = m . join ( "," ) } if ( k ) try { return P . apply ( r , Y . querySelectorAll ( k ) ) , r } catch ( e ) { } finally { y || t . removeAttribute ( "id" ) } } } return u ( e . replace ( U , "$1" ) , t , r , i ) } function se ( ) { var e = [ ] ; return function t ( n , i ) { return e . push ( n + " " ) > r . cacheLength && delete t [ e . shift ( ) ] , t [ n + " " ] = i } } function oe ( e ) { return e [ M ] = ! 0 , e } function ue ( e ) { var t = _ . createElement ( "div" ) ; try { return ! ! e ( t ) } catch ( e ) { return ! 1 } finally { t . parentNode && t . parentNode . removeChild ( t ) , t = null } } function de ( e , t ) { for ( var n = e . split ( "|" ) , i = e . length ; i -- ; ) r . attrHandle [ n [ i ] ] = t } function le ( e , t ) { var n = t && e , r = n && 1 === e . nodeType && 1 === t . nodeType && ( ~ t . sourceIndex || x ) - ( ~ e . sourceIndex || x ) ; if ( r ) return r ; if ( n ) for ( ; n = n . nextSibling ; ) if ( n === t ) return - 1 ; return e ? 1 : - 1 } function ce ( e ) { return function ( t ) { return "input" === t . nodeName . toLowerCase ( ) && t . type === e } } function fe ( e ) { return function ( t ) { var n = t . nodeName . toLowerCase ( ) ; return ( "input" === n || "button" === n ) && t . type === e } } function _e ( e ) { return oe ( ( function ( t ) { return t = + t , oe ( ( function ( n , r ) { for ( var i , a = e ( [ ] , n . length , t ) , s = a . length ; s -- ; ) n [ i = a [ s ] ] && ( n [ i ] = ! ( r [ i ] = n [ i ] ) ) } ) ) } ) ) } function me ( e ) { return e && void 0 !== e . getElementsByTagName && e } for ( t in n = ae . support = { } , a = ae . isXML = function ( e ) { var t = e && ( e . ownerDocument || e ) . documentElement ; return ! ! t && "HTML" !== t . nodeName } , f = ae . setDocument = function ( e ) { var
2019-11-03 08:22:59 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ copyright Copyright ( c ) 2019 Gary Kim < gary @ garykim . dev >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author Gary Kim < gary @ garykim . dev >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-11-24 10:13:21 +00:00
* /var z={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",z.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",z.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",z.YES_NO_BUTTONS,n,r)},confirmDestructive:function(e,t,n,r,i){return this.message(e,t,"none",n,r,i)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",z.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,i,a,s){return o.a.when(this._getMessageTemplate()).then((function(u){var d="oc-dialog-"+z.dialogsCounter+"-content",l="#"+d,f=u.octemplate({dialog_name:d,title:n,message:e,type:"notice"}),_=o()("<input/ > ");_.attr(" type ",s?" password ":" text ").attr(" id ",d+" - input ").attr(" placeholder ",a);var m=o()(" < label / > ").attr(" for ",d+" - input ").text(a+" : ");f.append(m),f.append(_),void 0===i&&(i=!1),o()(" body ").append(f),void 0!==r&&(r=c.a.once(r));var h=[{text:t(" core "," No "),click:function(){void 0!==r&&r(!1,_.val()),o()(l).ocdialog(" close ")}},{text:t(" core "," Yes "),click:function(){void 0!==r&&r(!0,_.val()),o()(l).ocdialog(" close ")},defaultButton:!0}];o()(l).ocdialog({closeOnEscape:!0,modal:i,buttons:h,close:function(){void 0!==r&&r(!1,_.val())}}),_.focus(),z.dialogsCounter++}))},filepicker:function(e,n,r,i,a,s,u,d){var l=this;if(this.filepicker.sortField=" name ",this.filepicker.sortOrder=" asc ",!this.filepicker.loading){void 0===s&&(s=this.FILEPICKER_TYPE_CHOOSE);var f=t(" core "," No files in here "),_=t(" files "," New folder ");s!==this.FILEPICKER_TYPE_COPY&&s!==this.FILEPICKER_TYPE_MOVE&&s!==this.FILEPICKER_TYPE_COPY_MOVE||(f=t(" core "," No more subfolders in here ")),this.filepicker.loading=!0,this.filepicker.filesClient=R.a.Sharing&&R.a.Sharing.PublicApp&&R.a.Sharing.PublicApp.fileList?R.a.Sharing.PublicApp.fileList.filesClient:_e.Files.getClient(),this.filelist=null,u=u||" ",d=Object.assign({allowDirectoryChooser:!1},d),o.a.when(this._getFilePickerTemplate()).then((function(m){l.filepicker.loading=!1;l.$filePicker&&l.$filePicker.ocdialog(" close "),null==i&&(i=[])," string "==typeof i&&(i=[i]),l.$filePicker=m.octemplate({dialog_name:" oc - dialog - filepicker - content ",title:e,emptytext:f,newtext:_,nameCol:t(" core "," Name "),sizeCol:t(" core "," Size "),modifiedCol:t(" core "," Modified ")}).data(" path ",u).data(" multiselect ",r).data(" mimetype ",i).data(" allowDirectoryChooser ",d.allowDirectoryChooser),void 0===a&&(a=!1),void 0===r&&(r=!1),_e.Util.isIE()&&(l.$filePicker.find(" # picker - view - toggle ").remove(),l.$filePicker.find(" # picker - filestable ").removeClass(" view - grid ")),o()(" body ").append(l.$filePicker),l.$showGridView=o()(" input # picker - showgridview "),l.$showGridView.on(" change ",c.a.bind(l._onGridviewChange,l)),_e.Util.isIE()||l._getGridSettings();var h=l.$filePicker.find(" . actions . creatable . button - add ");s===l.FILEPICKER_TYPE_CHOOSE&&h.hide(),h.on(" focus ",(function(){l.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),h.click()}))})),h.on(" blur ",(function(){l.$filePicker.ocdialog(" unsetEnterCallback ")})),_e.registerMenu(h,l.$filePicker.find(" . menu "),(function(){y.focus(),l.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),l.$form.submit()}));var e=y.val(),t=e.lastIndexOf(" . ");-1===t&&(t=e.length),y.selectRange(0,t)}));var p=l.$filePicker.find(" . filenameform "),y=p.find(" input [ type = 'text' ] ");p.find(" input [ type = 'submit' ] ").on(" click ",(function(e){e.stopImmediatePropagation(),e.preventDefault(),p.submit()}));p.on(" submit ",(function(e){if(e.stopPropagation(),e.preventDefault(),function(){var e=y.val();try{if(Files.isFileNameValid(e)){if(l.filelist.find((function(e){return e.name===this}),e))throw t(" files "," { newName } already exists ",{newName:e},void 0,{escape:!1});return!0}}catch(e){y.attr(" title ",e),y.tooltip({placement:" right ",trigger:" manual ",container:" . newFolderMenu "}),y.tooltip(" fixTitle "),y.tooltip(" show "),y.addClass(" error " ) } return ! 1 } ( ) ) { var n = y . val ( ) ; l . filepicker . filesClient . createDirectory ( l .
2019-09-25 16:19:42 +00:00
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-11-03 08:22:59 +00:00
* / t e . c u s t o m R e s u l t s = { } , t e . r e s u l t T y p e s = { } ; v a r n e = t e , r e = w i n d o w . _ t h e m e | | { } , i e = i ( 1 ) , a e = i . n ( i e ) ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-25 16:19:42 +00:00
/ * *
2019-05-16 14:40:02 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-11-03 08:22:59 +00:00
function se ( e ) { for ( var t , n = [ ] , r = 0 , i = - 1 , a = 0 ; r < e . length ; ) { t = e . charAt ( r ) ; var s = ! a && "." === t || t >= "0" && t <= "9" ; s !== a && ( n [ ++ i ] = "" , a = s ) , n [ i ] += t , r ++ } return n } var oe = { History : { _handlers : [ ] , _pushState : function ( e , t , n ) { var r ; if ( r = "string" == typeof e ? e : _e . buildQueryString ( e ) , window . history . pushState ) { if ( t = t || location . pathname + "?" + r , navigator . userAgent . toLowerCase ( ) . indexOf ( "firefox" ) > - 1 && parseInt ( navigator . userAgent . split ( "/" ) . pop ( ) ) < 51 ) for ( var i , a = document . querySelectorAll ( '[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]' ) , s = 0 , o = a . length ; s < o ; s ++ ) ( i = a [ s ] ) . style . fill = i . style . fill , i . style . stroke = i . style . stroke , i . removeAttribute ( "filter" ) , i . setAttribute ( "filter" , "url(#invert)" ) ; n ? window . history . replaceState ( e , "" , t ) : window . history . pushState ( e , "" , t ) } else window . location . hash = "?" + r , this . _cancelPop = ! 0 } , pushState : function ( e , t ) { this . _pushState ( e , t , ! 1 ) } , replaceState : function ( e , t ) { this . _pushState ( e , t , ! 0 ) } , addOnPopStateHandler : function ( e ) { this . _handlers . push ( e ) } , _parseHashQuery : function ( ) { var e = window . location . hash , t = e . indexOf ( "?" ) ; return t >= 0 ? e . substr ( t + 1 ) : e . length ? e . substr ( 1 ) : "" } , _decodeQuery : function ( e ) { return e . replace ( /\+/g , " " ) } , parseUrlQuery : function ( ) { var e , t = this . _parseHashQuery ( ) ; return t && ( e = _e . parseQueryString ( this . _decodeQuery ( t ) ) ) , ( e = c . a . extend ( e || { } , _e . parseQueryString ( this . _decodeQuery ( location . search ) ) ) ) || { } } , _onPopState : function ( e ) { var t ; if ( this . _cancelPop ) this . _cancelPop = ! 1 ; else if ( this . _handlers . length ) { t = e && e . state , c . a . isString ( t ) ? t = _e . parseQueryString ( t ) : t || ( t = this . parseUrlQuery ( ) || { } ) ; for ( var n = 0 ; n < this . _handlers . length ; n ++ ) this . _handlers [ n ] ( t ) } } } , humanFileSize : i ( 119 ) . a , computerFileSize : function ( e ) { if ( "string" != typeof e ) return null ; var t = e . toLowerCase ( ) . trim ( ) , n = null , r = t . match ( /^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i ) ; return null === r ? null : ( n = parseFloat ( t ) , isFinite ( n ) ? ( r [ 5 ] && ( n *= { b : 1 , k : 1024 , kb : 1024 , mb : 1048576 , m : 1048576 , gb : 1073741824 , g : 1073741824 , tb : 1099511627776 , t : 1099511627776 , pb : 0x4000000000000 , p : 0x4000000000000 } [ r [ 5 ] ] ) , n = Math . round ( n ) ) : null ) } , formatDate : function ( e , t ) { return t = t || "LLL" , ae ( ) ( e ) . format ( t ) } , relativeModifiedDate : function ( e ) { var n = ae ( ) ( ) . diff ( ae ( ) ( e ) ) ; return n >= 0 && n < 45e3 ? t ( "core" , "seconds ago" ) : ae ( ) ( e ) . fromNow ( ) } , isIE : function ( ) { return o ( ) ( "html" ) . hasClass ( "ie" ) } , getScrollBarWidth : function ( ) { if ( this . _scrollBarWidth ) return this . _scrollBarWidth ; var e = document . createElement ( "p" ) ; e . style . width = "100%" , e . style . height = "200px" ; var t = document . createElement ( "div" ) ; t . style . position = "absolute" , t . style . top = "0px" , t . style . left = "0px" , t . style . visibility = "hidden" , t . style . width = "200px" , t . style . height = "150px" , t . style . overflow = "hidden" , t . appendChild ( e ) , document . body . appendChild ( t ) ; var n = e . offsetWidth ; t . style . overflow = "scroll" ; var r = e . offsetWidth ; return n === r && ( r = t . clientWidth ) , document . body . removeChild ( t ) , this . _scrollBarWidth = n - r , this . _scrollBarWidth } , stripTime : function ( e ) { return new Date ( e . getFullYear ( ) , e . getMonth ( ) , e . getDate ( ) ) } , naturalSortCompare : function ( e , t ) { var n , r = se ( e ) , i = se ( t ) ; for ( n = 0 ; r [ n ] && i [ n ] ; n ++ ) if ( r [ n ] !== i [ n ] ) { var a = Number ( r [ n ] ) , s = Number ( i [ n ] ) ; return a == r [ n ] && s == i [ n ] ? a - s : r [ n ] . localeCompare ( i [ n ] , _e . getLanguage ( ) ) } return r . length - i . length } , waitFor : function ( e , t ) { ! function n ( ) { ! 0 !== e ( ) && setTimeout ( n , t ) } ( ) } , isCookieSetToValue : function ( e , t ) { for ( var n = document . cookie . split ( ";" ) , r = 0 ; r < n . length ; r ++ ) { var i = n [ r ] . split ( "=" ) ; if ( i [ 0 ] . trim ( ) === e && i [ 1 ] . trim ( ) === t ) return ! 0 } return ! 1 } } , ue = window . _oc _debug , de = window . _oc _webroot ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-11-24 10:13:21 +00:00
* / i f ( v o i d 0 = = = d e ) { v a r l e = ( d e = l o c a t i o n . p a t h n a m e ) . i n d e x O f ( " / i n d e x . p h p / " ) ; d e = - 1 ! = = l e ? d e . s u b s t r ( 0 , l e ) : d e . s u b s t r ( 0 , d e . l a s t I n d e x O f ( " / " ) ) } v a r c e , f e = d e , _ e = r . a = { c o r e A p p s : A . i , m e n u S p e e d : A . j , P E R M I S S I O N _ A L L : A . a , P E R M I S S I O N _ C R E A T E : A . b , P E R M I S S I O N _ D E L E T E : A . c , P E R M I S S I O N _ N O N E : A . d , P E R M I S S I O N _ R E A D : A . e , P E R M I S S I O N _ S H A R E : A . f , P E R M I S S I O N _ U P D A T E : A . g , T A G _ F A V O R I T E : A . h , f i l e I s B l a c k l i s t e d : f u n c t i o n ( e ) { r e t u r n ! ! e . m a t c h ( E . b l a c k l i s t _ f i l e s _ r e g e x ) } , a d d S c r i p t : f u n c t i o n ( e , t , n ) { v a r r ; c o n s o l e . w a r n ( " O C . a d d S c r i p t i s d e p r e c a t e d , u s e O C P . L o a d e r . l o a d S c r i p t i n s t e a d " ) ; v a r i = O C . f i l e P a t h ( e , " j s " , t + " . j s " ) ; r e t u r n u [ i ] ? n & & n ( ) : ( r = o . a . D e f e r r e d ( ) , o . a . g e t S c r i p t ( i , ( f u n c t i o n ( ) { r e t u r n r . r e s o l v e ( ) } ) ) , u [ i ] = r ) , u [ i ] } , a d d S t y l e : f u n c t i o n ( e , t ) { c o n s o l e . w a r n ( " O C . a d d S t y l e i s d e p r e c a t e d , u s e O C P . L o a d e r . l o a d S t y l e s h e e t i n s t e a d " ) ; v a r n = O C . f i l e P a t h ( e , " c s s " , t + " . c s s " ) ; - 1 = = = d . i n d e x O f ( n ) & & ( d . p u s h ( n ) , d o c u m e n t . c r e a t e S t y l e S h e e t ? d o c u m e n t . c r e a t e S t y l e S h e e t ( n ) : ( t = o ( ) ( ' < l i n k r e l = " s t y l e s h e e t " t y p e = " t e x t / c s s " h r e f = " ' + n + ' " / > ' ) , o ( ) ( " h e a d " ) . a p p e n d ( t ) ) ) } , A p p s : m . a , A p p C o n f i g : y , a p p C o n f i g : p , a p p S e t t i n g s : f u n c t i o n ( e ) { i f ( c o n s o l e . w a r n ( " O C . a p p S e t t i n g s i s d e p r e c a t e d a n d w i l l b e r e m o v e d w i t h N e x t c l o u d 1 8 " ) , v o i d 0 = = = e | | v o i d 0 = = = e . a p p i d ) t h r o w { n a m e : " M i s s i n g P a r a m e t e r " , m e s s a g e : " T h e p a r a m e t e r a p p i d i s m i s s i n g " } ; v a r n = { s c r i p t N a m e : " s e t t i n g s . p h p " , c a c h e : ! 0 } ; o . a . e x t e n d ( n , e ) ; v a r r = o ( ) ( " # a p p s e t t i n g s " ) ; i f ( 0 = = = r . l e n g t h ) t h r o w { n a m e : " M i s s i n g D O M E l e m e n t " , m e s s a g e : ' T h e r e h a s b e b e a n e l e m e n t w i t h i d " a p p s e t t i n g s " f o r t h e p o p u p t o s h o w . ' } ; v a r i = o ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ; i f ( 0 = = = i . l e n g t h & & ( o ( ) ( " b o d y " ) . p r e p e n d ( ' < d i v c l a s s = " p o p u p h i d d e n " i d = " a p p s e t t i n g s _ p o p u p " > < / d i v > ' ) , ( i = o ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ) . a d d C l a s s ( r . h a s C l a s s ( " t o p r i g h t " ) ? " t o p r i g h t " : " b o t t o m l e f t " ) ) , i . i s ( " : v i s i b l e " ) ) i . h i d e ( ) . r e m o v e ( ) ; e l s e { v a r a = r . h a s C l a s s ( " t o p r i g h t " ) ? " u p " : " l e f t " ; o . a . g e t ( O b j e c t ( g . a ) ( n . a p p i d , " " , n . s c r i p t N a m e ) , ( f u n c t i o n ( e ) { i . h t m l ( e ) . r e a d y ( ( f u n c t i o n ( ) { i f ( i . p r e p e n d ( ' < s p a n c l a s s = " a r r o w ' + a + ' " > < / s p a n > < h 2 > ' + t ( " c o r e " , " S e t t i n g s " ) + ' < / h 2 > < a c l a s s = " c l o s e " > < / a > ' ) . s h o w ( ) , i . f i n d ( " . c l o s e " ) . b i n d ( " c l i c k " , ( f u n c t i o n ( ) { i . r e m o v e ( ) } ) ) , v o i d 0 ! = = n . l o a d J S ) { v a r e ; i f ( ! 0 = = = n . l o a d J S ) e = " s e t t i n g s . j s " ; e l s e { i f ( " s t r i n g " ! = t y p e o f n . l o a d J S ) t h r o w { n a m e : " I n v a l i d P a r a m e t e r " , m e s s a g e : ' T h e " l o a d J S " p a r a m e t e r m u s t b e e i t h e r b o o l e a n o r a s t r i n g . ' } ; e = n . l o a d J S } n . c a c h e & & o . a . a j a x S e t u p ( { c a c h e : ! 0 } ) , o . a . g e t S c r i p t ( O b j e c t ( g . a ) ( n . a p p i d , " j s " , e ) ) . f a i l ( ( f u n c t i o n ( e , t , n ) { t h r o w n } ) ) } } ) ) . s h o w ( ) } ) , " h t m l " ) } } , a p p s w e b r o o t s : v , B a c k b o n e : H , C o n t a c t s M e n u : C . a , c o n f i g : E , c u r r e n t U s e r : W , d i a l o g s : U , E v e n t S o u r c e : J , g e t C u r r e n t U s e r : f u n c t i o n ( ) { r e t u r n { u i d : W , d i s p l a y N a m e : N } } , i s U s e r A d m i n : f u n c t i o n ( ) { r e t u r n X } , L 1 0 N : Q . a , _ a j a x C o n n e c t i o n L o s t H a n d l e r : _ , _ p r o c e s s A j a x E r r o r : f u n c t i o n ( e ) { ( 0 ! = = e . s t a t u s | | " a b o r t " ! = = e . s t a t u s T e x t & & " t i m e o u t " ! = = e . s t a t u s T e x t & & ! _ e . _ r e l o a d C a l l e d ) & & ( c . a . c o n t a i n s ( [ 3 0 2 , 3 0 3 , 3 0 7 , 4 0 1 ] , e . s t a t u s ) & & _ e . c u r r e n t U s e r ? s e t T i m e o u t ( ( f u n c t i o n ( ) { i f ( ! _ e . _ u s e r I s N a v i g a t i n g A w a y & & ! _ e . _ r e l o a d C a l l e d ) { v a r e = 0 , t = s e t I n t e r v a l ( ( f u n c t i o n ( ) { f . s h o w U p d a t e ( n ( " c o r e " , " P r o b l e m l o a d i n g p a g e , r e l o a d i n g i n % n s e c o n d " , " P r o b l e m l o a d i n g p a g e , r e l o a d i n g i n % n s e c o n d s " , 5 - e ) ) , e > = 5 & & ( c l e a r I n t e r v a l ( t ) , _ e . r e l o a d ( ) ) , e + + } ) , 1 e 3 ) ; _ e . _ r e l o a d C a l l e d = ! 0 } } ) , 1 0 0 ) : 0 = = = e . s t a t u s & & s e t T i m e o u t ( ( f u n c t i o n ( ) { _ e . _ u s e r I s N a v i g a t i n g A w a y | | _ e . _ r e l o a d C a l l e d | | _ e . _ a j a x C o n n e c t i o n L o s t H a n d l e r ( ) } ) , 1 0 0 ) ) } , r e g i s t e r X H R F o r E r r o r P r o c e s s i n g : f u n c t i o n ( e ) { e . a d d E v e n t L i s t e n e r & & ( e . a d d E v e n t L i s t e n e r ( " l o a d " , ( f u n c t i o n ( ) { 4 = = = e . r e a d y S t a t e & & ( e . s t a t u s > = 2 0 0 & & e . s t a t u s < 3 0 0 | | 3 0 4 = = = e . s t a t u s | | o ( ) ( d o c u m e n t ) . t r i g g e r ( n e w o . a . E v e n t ( " a j a x E r r o r " ) , e ) ) } ) ) , e . a d d E v e n t L i s t e n e r ( " e r r o r " , ( f u n c t i o n ( ) { o ( ) ( d o c u m e n t ) . t r i g g e r ( n e w o . a . E v e n t ( " a j a x E r r o r " ) , e ) } ) ) ) } , _ c a p a b i l i t i e s : V ( ) , g e t C a p a b i l i t i e s : V , h i d e M e n u s : K , r e g i s t e r M e n u : f u n c t i o n ( e , t , n , r ) { t . a d d C l a s s ( " m e n u " ) ; v a r i = " A " = = = e . p r o p ( " t a g N a m e " ) | | " B U T T O N " = = = e . p r o p ( " t a g N a m e " ) ; e . o n ( i ? " c l i c k . m e n u " : " c l i c k . m e n u k e y u p . m e n u " , ( f u n c t i o n ( i ) { i . p r e v e n t D e f a u l t ( ) , i . k e y & & " E n t e r " ! = = i . k e y | | ( t . i s ( G ) ? K ( ) : ( G & & K ( ) , ! 0 = = = r & & t . p a r e n t ( ) . a d d C l a s s ( " o p e n e d M e n u " ) , e . a t t r ( " a r i a - e x p a n d e d " , ! 0 ) , t . s l i d e T o g g l e ( A . j , n ) , G = t , e ) ) } ) ) } , s h o w M e n u : f u n c t i o n ( e , t , n ) { t . i s ( G ) | | ( K ( ) , G = t , e , t . t r i g g e r ( n e w o . a . E v e n t ( " b e f o r e S h o w " ) ) , t . s h o w ( ) , t . t r i g g e r ( n e w o . a . E v e n t ( " a f t e r S h o w " ) ) , c . a . i s F u n c t i o n ( n ) & & n ( ) ) } , u n r e g i s t e r M e n u : f u n c t i o n ( e , t ) { t . i s ( G ) & & K ( ) , e . o f f ( " c l i c k . m e n u " ) . r e m o v e C l a s s ( " m e n u t o g g l e " ) , t . r e m o v e C l a s s ( " m
2019-09-25 16:19:42 +00:00
/ * *
2019-05-16 14:40:02 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-10-03 16:48:35 +00:00
* / O b j e c t ( a . s u b s c r i b e ) ( " c s r f - t o k e n - u p d a t e " , ( f u n c t i o n ( e ) { O C . r e q u e s t T o k e n = e . t o k e n , c o n s o l e . i n f o ( " O C . r e q u e s t T o k e n c h a n g e d " , e . t o k e n ) } ) ) } , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . d ( t , " i " , ( f u n c t i o n ( ) { r e t u r n r } ) ) , n . d ( t , " j " , ( f u n c t i o n ( ) { r e t u r n i } ) ) , n . d ( t , " d " , ( f u n c t i o n ( ) { r e t u r n a } ) ) , n . d ( t , " b " , ( f u n c t i o n ( ) { r e t u r n s } ) ) , n . d ( t , " e " , ( f u n c t i o n ( ) { r e t u r n o } ) ) , n . d ( t , " g " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n . d ( t , " c " , ( f u n c t i o n ( ) { r e t u r n d } ) ) , n . d ( t , " f " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n c } ) ) , n . d ( t , " h " , ( f u n c t i o n ( ) { r e t u r n f } ) ) ;
2019-09-25 16:19:42 +00:00
/ * *
2019-05-16 14:40:02 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software = you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation either version 3 of the
* License or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not see < http : //www.gnu.org/licenses/>.
* /
2019-11-24 10:13:21 +00:00
var r = [ "" , "admin" , "log" , "core/search" , "core" , "3rdparty" ] , i = 50 , a = 0 , s = 4 , o = 1 , u = 2 , d = 8 , l = 16 , c = 31 , f = "_$!<Favorite>!$_" } , function ( e , t , n ) { var r = n ( 8 ) , i = n ( 58 ) , a = n ( 86 ) , s = n ( 351 ) , o = r . Symbol , u = i ( "wks" ) ; e . exports = function ( e ) { return u [ e ] || ( u [ e ] = s && o [ e ] || ( s ? o : a ) ( "Symbol." + e ) ) } } , function ( e , t , n ) { "use strict" ; n . d ( t , "e" , ( function ( ) { return o } ) ) , n . d ( t , "h" , ( function ( ) { return u } ) ) , n . d ( t , "g" , ( function ( ) { return d } ) ) , n . d ( t , "f" , ( function ( ) { return l } ) ) , n . d ( t , "b" , ( function ( ) { return c } ) ) , n . d ( t , "d" , ( function ( ) { return f } ) ) , n . d ( t , "a" , ( function ( ) { return _ } ) ) , n . d ( t , "c" , ( function ( ) { return m } ) ) ; var r = n ( 2 ) , i = n . n ( r ) , a = n ( 3 ) , s = n ( 5 ) , o = function ( e , t ) { return _ ( e , "" , t ) } , u = function ( e ) { return m ( ) + "/remote.php/" + e } , d = function ( e ) { return window . location . protocol + "//" + window . location . host + u ( e ) } , l = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + m ( ) + "/ocs/v" + t + ".php/" + e + "/" } , c = function ( e , t , n ) { var r = n || { } ; i . a . defaults ( r , { escape : ! 0 } ) ; var s = function ( e , t ) { return t = t || [ ] , e . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var i = t [ n ] ; return r . escape ? "string" == typeof i || "number" == typeof i ? encodeURIComponent ( i ) : encodeURIComponent ( e ) : "string" == typeof i || "number" == typeof i ? i : e } ) ) } ; return "/" !== e . charAt ( 0 ) && ( e = "/" + e ) , ! 0 === a . a . config . modRewriteWorking ? m ( ) + s ( e , t ) : m ( ) + "/index.php" + s ( e , t ) } , f = function ( e , t ) { return - 1 === t . indexOf ( "." ) ? _ ( e , "img" , t + ".svg" ) : _ ( e , "img" , t ) } , _ = function ( e , t , n ) { var r = - 1 !== s . i . indexOf ( e ) , i = m ( ) ; return "php" !== n . substring ( n . length - 3 ) || r ? "php" === n . substring ( n . length - 3 ) || r ? ( i += "core" !== e && "search" !== e || "ajax" !== t ? "/" : "/index.php/" , r || ( i += "apps/" ) , "" !== e && ( i += e += "/" ) , t && ( i += t + "/" ) , i += n ) : ( i = a . a . appswebroots [ e ] , t && ( i += "/" + t + "/" ) , "/" !== i . substring ( i . length - 1 ) && ( i += "/" ) , i += n ) : ( i += "/index.php/apps/" + e , "index.php" !== n && ( i += "/" , t && ( i += encodeURI ( t + "/" ) ) , i += n ) ) , i } , m = function ( ) { return a . a . webroot } } , function ( e , t , n ) { ( function ( t ) { var n = "object" , r = function ( e ) { return e && e . Math == Math && e } ; e . exports = r ( typeof globalThis == n && globalThis ) || r ( typeof window == n && window ) || r ( typeof self == n && self ) || r ( typeof t == n && t ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 13 ) ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { ( function ( t ) { var n = "object" , r = function ( e ) { return e && e . Math == Math && e } ; e . exports = r ( typeof globalThis == n && globalThis ) || r ( typeof window == n && window ) || r ( typeof self == n && self ) || r ( typeof t == n && t ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 13 ) ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( e ) { "object" == typeof window && ( n = window ) } e . exports = n } , , , , , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , function ( e , t , n ) { var r = n ( 26 ) , i = n ( 23 ) , a = n ( 56 ) ; e . exports = r ? function ( e , t , n ) { return i . f ( e , t , a ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { "use strict" ; t . _ _esModule = ! 0 , t . extend = o , t . indexOf = function ( e , t ) { for ( var n = 0 , r = e . length ; n < r ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , t . escapeExpression = function ( e ) { if ( "string" != typeof e ) { if ( e && e . toHTML ) return e . toHTML ( ) ; if ( null == e ) return "" ; if ( ! e ) return e + "" ; e = "" + e } if ( ! a . test ( e ) ) return e ; return e . replace ( i , s ) } , t . isEmpty = function ( e ) { return ! e && 0 !== e || ! ( ! l ( e ) || 0 !== e . length ) } , t . createFrame = function ( e ) { var t = o ( { } , e ) ; return t . _parent = e , t } , t . blockParams = function ( e , t ) { return e . path = t , e } , t . appendContextPath = function ( e , t ) { return ( e ? e + "." : "" ) + t } ; var r = { "&" : "&" , "<" : "<" , ">" : ">" , '"' : """ , "'" : "'" , "`" : "`" , "=" : "=" } , i = /[&<>"'`=]/g , a = /[&<>"'`=]/ ; function s ( e ) { return r [ e ] } function o ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) for ( var n in arguments [ t ] ) Object . prototype . hasOwnProperty . call ( arguments [ t ] , n ) && ( e [ n ] = arguments [ t ] [ n ] ) ; return e } var u = Object . prototype . toString ; t . toString = u ; var d = function ( e ) { return "function" == typeof e } ; d ( /x/ ) && ( t . isFunction = d = function ( e ) { return "function" == typeof e && "[object Function]" === u . call ( e ) } ) , t . isFunction = d ; var l = Array . isArray || function ( e ) { return ! ( ! e || "object" != typeof e ) && "[object Array]" === u . call ( e ) } ; t . isArray = l } , function ( e , t , n ) { ( function ( r ) { var i , a
2019-09-25 16:19:42 +00:00
/ * *
2019-05-31 11:27:29 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-11-10 20:27:17 +00:00
window . _oc _l10n _registry _translations = window . _oc _l10n _registry _translations || { } , window . _oc _l10n _registry _plural _functions = window . _oc _l10n _registry _plural _functions || { } ; var m = function ( e , t , n ) { h ( e ) ? function ( e , t , n ) { window . _oc _l10n _registry _translations [ e ] = Object . assign ( window . _oc _l10n _registry _translations [ e ] , t ) , window . _oc _l10n _registry _plural _functions [ e ] = n } ( e , t , n ) : function ( e , t , n ) { window . _oc _l10n _registry _translations [ e ] = t , window . _oc _l10n _registry _plural _functions [ e ] = n } ( e , t , n ) } , h = function ( e ) { return void 0 !== window . _oc _l10n _registry _translations [ e ] && void 0 !== window . _oc _l10n _registry _plural _functions [ e ] } , p = function ( e ) { return { translations : window . _oc _l10n _registry _translations [ e ] || { } , pluralFunction : window . _oc _l10n _registry _plural _functions [ e ] } } ; function y ( e ) { return ( y = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } n . d ( t , "b" , ( function ( ) { return v } ) ) , n . d ( t , "d" , ( function ( ) { return M } ) ) , n . d ( t , "c" , ( function ( ) { return L } ) ) ; var g = { load : function ( e , t ) { if ( h ( e ) || "en" === _ . a . getLocale ( ) ) { var n = s . a . Deferred ( ) , r = n . promise ( ) ; return r . then ( t ) , n . resolve ( ) , r } var i = this , a = _ . a . filePath ( e , "l10n" , _ . a . getLocale ( ) + ".json" ) ; return s . a . get ( a ) . then ( ( function ( t ) { t . translations && i . register ( e , t . translations , t . pluralForm ) } ) ) . then ( t ) } , register : function ( e , t ) { m ( e , t , this . _getPlural ) } , _unregister : function ( e ) { delete window . _oc _l10n _registry _translations [ e ] , delete window . _oc _l10n _registry _plural _functions [ e ] } , translate : function ( e , t , n , r , a ) { var s = a || { } ; i . a . defaults ( s , { escape : ! 0 } ) ; var o = t , d = p ( e ) . translations [ t ] ; return void 0 !== d && ( o = d ) , "object" === y ( n ) || void 0 !== r ? u . a . sanitize ( function ( e , t , n ) { return e . replace ( /%n/g , n ) . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var r = t [ n ] ; return "string" == typeof r || "number" == typeof r ? s . escape ? u . a . sanitize ( f ( ) ( r ) ) : u . a . sanitize ( r ) : u . a . sanitize ( e ) } ) ) } ( o , n , r ) ) : u . a . sanitize ( o ) } , translatePlural : function ( e , t , n , r , i , a ) { var o = "_" + t + "_::_" + n + "_" , u = p ( e ) , d = u . translations [ o ] ; if ( void 0 !== d ) { var l = d ; if ( s . a . isArray ( l ) ) { var c = u . pluralFunction ( r ) ; return this . translate ( e , l [ c ] , i , r , a ) } } return 1 === r ? this . translate ( e , t , i , r , a ) : this . translate ( e , n , i , r , a ) } , _getPlural : function ( e ) { var t = _ . a . getLanguage ( ) ; if ( "pt_BR" === t && ( t = "xbr" ) , void 0 === t || "" === t ) return 1 === e ? 0 : 1 ; switch ( t . length > 3 && ( t = t . substring ( 0 , t . lastIndexOf ( "_" ) ) ) , t ) { case "az" : case "bo" : case "dz" : case "id" : case "ja" : case "jv" : case "ka" : case "km" : case "kn" : case "ko" : case "ms" : case "th" : case "tr" : case "vi" : case "zh" : return 0 ; case "af" : case "bn" : case "bg" : case "ca" : case "da" : case "de" : case "el" : case "en" : case "eo" : case "es" : case "et" : case "eu" : case "fa" : case "fi" : case "fo" : case "fur" : case "fy" : case "gl" : case "gu" : case "ha" : case "he" : case "hu" : case "is" : case "it" : case "ku" : case "lb" : case "ml" : case "mn" : case "mr" : case "nah" : case "nb" : case "ne" : case "nl" : case "nn" : case "no" : case "oc" : case "om" : case "or" : case "pa" : case "pap" : case "ps" : case "pt" : case "so" : case "sq" : case "sv" : case "sw" : case "ta" : case "te" : case "tk" : case "ur" : case "zu" : return 1 === e ? 0 : 1 ; case "am" : case "bh" : case "fil" : case "fr" : case "gun" : case "hi" : case "hy" : case "ln" : case "mg" : case "nso" : case "xbr" : case "ti" : case "wa" : return 0 === e || 1 === e ? 0 : 1 ; case "be" : case "bs" : case "hr" : case "ru" : case "sh" : case "sr" : case "uk" : return e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && e % 10 <= 4 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "cs" : case "sk" : return 1 === e ? 0 : e >= 2 && e <= 4 ? 1 : 2 ; case "ga" : return 1 === e ? 0 : 2 === e ? 1 : 2 ; case "lt" : return e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "sl" : return e % 100 == 1 ? 0 : e % 100 == 2 ? 1 : e % 100 == 3 || e % 100 == 4 ? 2 : 3 ; case "mk" : return e % 10 == 1 ? 0 : 1 ; case "mt" : return 1 === e ? 0 : 0 === e || e % 100 > 1 && e % 100 < 11 ? 1 : e % 100 > 10 && e % 100 < 20 ? 2 : 3 ; case "lv" : return 0 === e ? 0 : e % 10 == 1 && e % 100 != 11 ? 1 : 2 ; case "pl" : return 1 === e ? 0 : e % 10 >= 2 && e % 10 <= 4 && ( e % 100 < 12 || e % 100 > 14 ) ? 1 : 2 ; case "cy" : return 1 === e ? 0 : 2 === e ? 1 : 8 === e || 11 === e ? 2 : 3 ; case "ro" : return 1 === e ? 0 : 0 === e || e % 100 > 0 && e % 100 < 20 ? 1 : 2 ; case "ar" : return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 && e % 100 <= 99 ? 4 : 5 ; default : return 0 } } } , v = ( t . a = g , function ( ) { var e = M ( ) ; return "string" == typeof e ? e . replace ( /_/g , "-" ) : e } ) , M = function ( ) { return s ( ) ( "html" ) . data ( "locale" ) } , L = function ( ) { return s ( ) ( "html" ) . prop ( "lang" ) } ; l . a . registerH
2019-05-16 14:40:02 +00:00
/ * *
* @ copyright Copyright ( c ) 2016 Joas Schilling < coding @ schilljs . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2019-11-24 10:13:21 +00:00
function s ( t , n , r ) { "post" !== t && "delete" !== t || ! a . a . PasswordConfirmation . requiresPasswordConfirmation ( ) ? ( r = r || { } , i . a . ajax ( { type : t . toUpperCase ( ) , url : a . a . linkToOCS ( "apps/provisioning_api/api/v1" , 2 ) + "config/apps" + n , data : r . data || { } , success : r . success , error : r . error } ) ) : a . a . PasswordConfirmation . requirePasswordConfirmation ( e . bind ( s , this , t , n , r ) ) } function o ( e ) { s ( "get" , "" , e ) } function u ( e , t ) { s ( "get" , "/" + e , t ) } function d ( e , t , n , r ) { ( r = r || { } ) . data = { defaultValue : n } , s ( "get" , "/" + e + "/" + t , r ) } function l ( e , t , n , r ) { ( r = r || { } ) . data = { value : n } , s ( "post" , "/" + e + "/" + t , r ) } function c ( e , t , n ) { s ( "delete" , "/" + e + "/" + t , n ) } } . call ( this , n ( 2 ) ) } , function ( e , t , n ) { e . exports = function ( ) { "use strict" ; var e = Object . freeze || function ( e ) { return e } , t = e ( [ "a" , "abbr" , "acronym" , "address" , "area" , "article" , "aside" , "audio" , "b" , "bdi" , "bdo" , "big" , "blink" , "blockquote" , "body" , "br" , "button" , "canvas" , "caption" , "center" , "cite" , "code" , "col" , "colgroup" , "content" , "data" , "datalist" , "dd" , "decorator" , "del" , "details" , "dfn" , "dir" , "div" , "dl" , "dt" , "element" , "em" , "fieldset" , "figcaption" , "figure" , "font" , "footer" , "form" , "h1" , "h2" , "h3" , "h4" , "h5" , "h6" , "head" , "header" , "hgroup" , "hr" , "html" , "i" , "img" , "input" , "ins" , "kbd" , "label" , "legend" , "li" , "main" , "map" , "mark" , "marquee" , "menu" , "menuitem" , "meter" , "nav" , "nobr" , "ol" , "optgroup" , "option" , "output" , "p" , "pre" , "progress" , "q" , "rp" , "rt" , "ruby" , "s" , "samp" , "section" , "select" , "shadow" , "small" , "source" , "spacer" , "span" , "strike" , "strong" , "style" , "sub" , "summary" , "sup" , "table" , "tbody" , "td" , "template" , "textarea" , "tfoot" , "th" , "thead" , "time" , "tr" , "track" , "tt" , "u" , "ul" , "var" , "video" , "wbr" ] ) , n = e ( [ "svg" , "a" , "altglyph" , "altglyphdef" , "altglyphitem" , "animatecolor" , "animatemotion" , "animatetransform" , "audio" , "canvas" , "circle" , "clippath" , "defs" , "desc" , "ellipse" , "filter" , "font" , "g" , "glyph" , "glyphref" , "hkern" , "image" , "line" , "lineargradient" , "marker" , "mask" , "metadata" , "mpath" , "path" , "pattern" , "polygon" , "polyline" , "radialgradient" , "rect" , "stop" , "style" , "switch" , "symbol" , "text" , "textpath" , "title" , "tref" , "tspan" , "video" , "view" , "vkern" ] ) , r = e ( [ "feBlend" , "feColorMatrix" , "feComponentTransfer" , "feComposite" , "feConvolveMatrix" , "feDiffuseLighting" , "feDisplacementMap" , "feDistantLight" , "feFlood" , "feFuncA" , "feFuncB" , "feFuncG" , "feFuncR" , "feGaussianBlur" , "feMerge" , "feMergeNode" , "feMorphology" , "feOffset" , "fePointLight" , "feSpecularLighting" , "feSpotLight" , "feTile" , "feTurbulence" ] ) , i = e ( [ "math" , "menclose" , "merror" , "mfenced" , "mfrac" , "mglyph" , "mi" , "mlabeledtr" , "mmultiscripts" , "mn" , "mo" , "mover" , "mpadded" , "mphantom" , "mroot" , "mrow" , "ms" , "mspace" , "msqrt" , "mstyle" , "msub" , "msup" , "msubsup" , "mtable" , "mtd" , "mtext" , "mtr" , "munder" , "munderover" ] ) , a = e ( [ "#text" ] ) , s = Object . freeze || function ( e ) { return e } , o = s ( [ "accept" , "action" , "align" , "alt" , "autocomplete" , "background" , "bgcolor" , "border" , "cellpadding" , "cellspacing" , "checked" , "cite" , "class" , "clear" , "color" , "cols" , "colspan" , "controls" , "coords" , "crossorigin" , "datetime" , "default" , "dir" , "disabled" , "download" , "enctype" , "face" , "for" , "headers" , "height" , "hidden" , "high" , "href" , "hreflang" , "id" , "integrity" , "ismap" , "label" , "lang" , "list" , "loop" , "low" , "max" , "maxlength" , "media" , "method" , "min" , "minlength" , "multiple" , "name" , "noshade" , "novalidate" , "nowrap" , "open" , "optimum" , "pattern" , "placeholder" , "poster" , "preload" , "pubdate" , "radiogroup" , "readonly" , "rel" , "required" , "rev" , "reversed" , "role" , "rows" , "rowspan" , "spellcheck" , "scope" , "selected" , "shape" , "size" , "sizes" , "span" , "srclang" , "start" , "src" , "srcset" , "step" , "style" , "summary" , "tabindex" , "title" , "type" , "usemap" , "valign" , "value" , "width" , "xmlns" ] ) , u = s ( [ "accent-height" , "accumulate" , "additive" , "alignment-baseline" , "ascent" , "attributename" , "attributetype" , "azimuth" , "basefrequency" , "baseline-shift" , "begin" , "bias" , "by" , "class" , "clip" , "clip-path" , "clip-rule" , "color" , "color-interpolation" , "color-interpolation-filters" , "color-profile" , "color-rendering" , "cx" , "cy" , "d" , "dx" , "dy" , "diffuseconstant" , "direction" , "display" , "divisor" , "dur" , "edgemode" , "elevation" , "end" , "fill" , "fill-opacity" , "fill-rule" , "filter" , "filterunits" , "flood-color" , "flood-opacity" , "font-family" , "font-size" , "font-size-adjust" , "font-stretch" , "font-style" , "font-variant" , "font-weight" , "fx" , "fy" , "g1" , "g2" , " g
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-11-10 20:27:17 +00:00
* / t . a = { } } , f u n c t i o n ( e , t , n ) { e . e x p o r t s = n ( 7 4 ) . d e f a u l t } , f u n c t i o n ( e , t , n ) { v a r r = n ( 8 ) , i = n ( 1 3 1 ) . f , a = n ( 1 9 ) , s = n ( 4 8 ) , o = n ( 8 3 ) , u = n ( 3 4 3 ) , d = n ( 1 3 7 ) ; e . e x p o r t s = f u n c t i o n ( e , t ) { v a r n , l , c , f , _ , m = e . t a r g e t , h = e . g l o b a l , p = e . s t a t ; i f ( n = h ? r : p ? r [ m ] | | o ( m , { } ) : ( r [ m ] | | { } ) . p r o t o t y p e ) f o r ( l i n t ) { i f ( f = t [ l ] , c = e . n o T a r g e t G e t ? ( _ = i ( n , l ) ) & & _ . v a l u e : n [ l ] , ! d ( h ? l : m + ( p ? " . " : " # " ) + l , e . f o r c e d ) & & v o i d 0 ! = = c ) { i f ( t y p e o f f = = t y p e o f c ) c o n t i n u e ; u ( f , c ) } ( e . s h a m | | c & & c . s h a m ) & & a ( f , " s h a m " , ! 0 ) , s ( n , l , f , e ) } } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 8 ) , i = n ( 5 8 ) , a = n ( 1 9 ) , s = n ( 1 8 ) , o = n ( 8 3 ) , u = n ( 1 3 5 ) , d = n ( 5 9 ) , l = d . g e t , c = d . e n f o r c e , f = S t r i n g ( u ) . s p l i t ( " t o S t r i n g " ) ; i ( " i n s p e c t S o u r c e " , ( f u n c t i o n ( e ) { r e t u r n u . c a l l ( e ) } ) ) , ( e . e x p o r t s = f u n c t i o n ( e , t , n , i ) { v a r u = ! ! i & & ! ! i . u n s a f e , d = ! ! i & & ! ! i . e n u m e r a b l e , l = ! ! i & & ! ! i . n o T a r g e t G e t ; " f u n c t i o n " = = t y p e o f n & & ( " s t r i n g " ! = t y p e o f t | | s ( n , " n a m e " ) | | a ( n , " n a m e " , t ) , c ( n ) . s o u r c e = f . j o i n ( " s t r i n g " = = t y p e o f t ? t : " " ) ) , e ! = = r ? ( u ? ! l & & e [ t ] & & ( d = ! 0 ) : d e l e t e e [ t ] , d ? e [ t ] = n : a ( e , t , n ) ) : d ? e [ t ] = n : o ( t , n ) } ) ( F u n c t i o n . p r o t o t y p e , " t o S t r i n g " , ( f u n c t i o n ( ) { r e t u r n " f u n c t i o n " = = t y p e o f t h i s & & l ( t h i s ) . s o u r c e | | u . c a l l ( t h i s ) } ) ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = { } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { i f ( n u l l = = e ) t h r o w T y p e E r r o r ( " C a n ' t c a l l m e t h o d o n " + e ) ; r e t u r n e } } , f u n c t i o n ( e , t ) { v a r n = { } . h a s O w n P r o p e r t y ; e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n n . c a l l ( e , t ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 6 2 ) , i = n ( 9 7 ) , a = n ( 9 5 ) ; e . e x p o r t s = r ? f u n c t i o n ( e , t , n ) { r e t u r n i . f ( e , t , a ( 1 , n ) ) } : f u n c t i o n ( e , t , n ) { r e t u r n e [ t ] = n , e } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; O b j e c t . d e f i n e P r o p e r t y ( t , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) , t . e m i t = t . u n s u b s c r i b e = t . s u b s c r i b e = v o i d 0 ; v a r r = n ( 3 3 8 ) , i = n ( 3 3 9 ) ; v a r a = ( v o i d 0 ! = = w i n d o w . O C & & w i n d o w . O C . _ e v e n t B u s & & v o i d 0 = = = w i n d o w . _ n c _ e v e n t _ b u s & & ( c o n s o l e . w a r n ( " f o u n d o l d e v e n t b u s i n s t a n c e a t O C . _ e v e n t B u s . U p d a t e y o u r v e r s i o n ! " ) , w i n d o w . _ n c _ e v e n t _ b u s = w i n d o w . O C . _ e v e n t B u s ) , v o i d 0 ! = = w i n d o w . _ n c _ e v e n t _ b u s ? n e w r . P r o x y B u s ( w i n d o w . _ n c _ e v e n t _ b u s ) : w i n d o w . _ n c _ e v e n t _ b u s = n e w i . S i m p l e B u s ) , s = a . s u b s c r i b e . b i n d ( a ) ; t . s u b s c r i b e = s ; v a r o = a . u n s u b s c r i b e . b i n d ( a ) ; t . u n s u b s c r i b e = o ; v a r u = a . e m i t . b i n d ( a ) ; t . e m i t = u } , , , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n { e n u m e r a b l e : ! ( 1 & e ) , c o n f i g u r a b l e : ! ( 2 & e ) , w r i t a b l e : ! ( 4 & e ) , v a l u e : t } } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 3 2 ) , i = n ( 8 1 ) ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n r ( i ( e ) ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 8 ) , i = n ( 8 3 ) , a = n ( 8 4 ) , s = r [ " _ _ c o r e - j s _ s h a r e d _ _ " ] | | i ( " _ _ c o r e - j s _ s h a r e d _ _ " , { } ) ; ( e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n s [ e ] | | ( s [ e ] = v o i d 0 ! = = t ? t : { } ) } ) ( " v e r s i o n s " , [ ] ) . p u s h ( { v e r s i o n : " 3 . 2 . 1 " , m o d e : a ? " p u r e " : " g l o b a l " , c o p y r i g h t : " © 2 0 1 9 D e n i s P u s h k a r e v ( z l o i r o c k . r u ) " } ) } , f u n c t i o n ( e , t , n ) { v a r r , i , a , s = n ( 3 4 2 ) , o = n ( 8 ) , u = n ( 1 0 ) , d = n ( 1 9 ) , l = n ( 1 8 ) , c = n ( 8 5 ) , f = n ( 6 0 ) , _ = o . W e a k M a p ; i f ( s ) { v a r m = n e w _ , h = m . g e t , p = m . h a s , y = m . s e t ; r = f u n c t i o n ( e , t ) { r e t u r n y . c a l l ( m , e , t ) , t } , i = f u n c t i o n ( e ) { r e t u r n h . c a l l ( m , e ) | | { } } , a = f u n c t i o n ( e ) { r e t u r n p . c a l l ( m , e ) } } e l s e { v a r g = c ( " s t a t e " ) ; f [ g ] = ! 0 , r = f u n c t i o n ( e , t ) { r e t u r n d ( e , g , t ) , t } , i = f u n c t i o n ( e ) { r e t u r n l ( e , g ) ? e [ g ] : { } } , a = f u n c t i o n ( e ) { r e t u r n l ( e , g ) } } e . e x p o r t s = { s e t : r , g e t : i , h a s : a , e n f o r c e : f u n c t i o n ( e ) { r e t u r n a ( e ) ? i ( e ) : r ( e , { } ) } , g e t t e r F o r : f u n c t i o n ( e ) { r e t u r n f u n c t i o n ( t ) { v a r n ; i f ( ! u ( t ) | | ( n = i ( t ) ) . t y p e ! = = e ) t h r o w T y p e E r r o r ( " I n c o m p a t i b l e r e c e i v e r , " + e + " r e q u i r e d " ) ; r e t u r n n } } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = { } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 8 8 ) , i = M a t h . m i n ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n e > 0 ? i ( r ( e ) , 9 0 0 7 1 9 9 2 5 4 7 4 0 9 9 1 ) : 0 } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 ) ; e . e x p o r t s = ! r ( ( f u n c t i o n ( ) { r e t u r n 7 ! = O b j e c t . d e f i n e P r o p e r t y ( { } , " a " , { g e t : f u n c t i o n ( ) { r e t u r n 7 } } ) . a } ) ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 6 4 ) , i = n ( 5 0 ) ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n r ( i ( e ) ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 ) , i = n ( 6 5 ) , a = " " . s p l i t ; e . e x p o r t s = r ( ( f u n c t i o n ( ) { r e t u r n ! O b j e c t ( " z " ) . p r o p e r t y I s E n u m e r a b l e ( 0 ) } ) ) ? f u n c t i o n ( e ) { r e t u r n " S t r i n g " = = i ( e ) ? a . c a l l ( e , " " ) : O b j e c t ( e ) } : O b j e c t } , f u n c t i o n ( e , t ) { v a r n = { } . t o S t r i n g ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n n . c a l l ( e ) . s l i c e ( 8 , - 1 ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 1 ) , i = n ( 9 8 ) , a = n ( 3 8 3 ) , s = r [ " _ _ c o r e - j s _ s h a r e d _ _ " ] | | i ( " _ _ c o r e - j s _ s h a r e d _ _ " , { } ) ; ( e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n s [ e ] | | ( s [ e ] = v o i d 0 ! = = t ? t : { } ) } ) ( " v e r s i o n s " , [ ] ) . p u s h ( { v e r s i o n : " 3 . 1 . 3 " , m o d e : a ? " p u r e " : " g l o b a l " , c o p y r i g h t : " © 2 0 1 9 D e n i s P u s h k a r e v ( z l o i r o c k . r u ) " } ) } , f u n c t i o n ( e , t ) { v a r n = M a t h . c e i l , r = M a t h . f l o o r ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n i s N a N ( e = + e ) ? 0 : ( e > 0 ? r : n ) ( e ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 5 0 ) ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n O b j e c t ( r ( e ) ) } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r , i , a = n ( 4 0 7 ) , s = R e g E x p . p r o t o t y p e . e x e c , o = S t
2019-10-04 11:23:32 +00:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2019-11-10 20:27:17 +00:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,i=r.exec(n);if(!i)return n;var a=" ",s=0,o=0;for(s=i.index;s<n.length;s++){switch(n.charCodeAt(s)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}o!==s&&(a+=n.substring(o,s)),o=s+1,a+=t}return o!==s?a+n.substring(o,s):a}},,function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(" Can 't call method on "+e);return e}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can' t convert object to primitive value ")}},function(e,t,n){var r=n(8),i=n(19);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=!1},function(e,t,n){var r=n(58),i=n(86),a=r(" keys ");e.exports=function(e){return a[e]||(a[e]=i(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return" Symbol ( "+String(void 0===e?" ":e)+" ) _ "+(++n+r).toString(36)}},function(e,t,n){var r=n(345),i=n(8),a=function(e){return" function "==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=[" constructor "," hasOwnProperty "," isPrototypeOf "," propertyIsEnumerable "," toLocaleString "," toString "," valueOf "]},function(e,t,n){var r=n(81);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(353);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(27),i=n(357),a=n(89),s=n(60),o=n(359),u=n(134),d=n(85)(" IE _PROTO "),l=function(){},c=function(){var e,t=u(" iframe "),n=a.length;for(t.style.display=" none ",o.appendChild(t),t.src=String(" javascript : "),(e=t.contentWindow.document).open(),e.write(" < script > document . F = Object < \ / script > "),e.close(),c=e.F;n--;)delete c.prototype[a[n]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[d]=e):n=c(),void 0===t?n:i(n,t)},s[d]=!0},function(e,t,n){" use strict ";var r=n(47),i=n(360),a=n(145),s=n(146),o=n(94),u=n(19),d=n(48),l=n(6),c=n(84),f=n(49),_=n(144),m=_.IteratorPrototype,h=_.BUGGY_SAFARI_ITERATORS,p=l(" iterator "),y=function(){return this};e.exports=function(e,t,n,l,_,g,v){i(n,t,l);var M,L,Y,k=function(e){if(e===_&&x)return x;if(!h&&e in T)return T[e];switch(e){case" keys ":case" values ":case" entries ":return function(){return new n(this,e)}}return function(){return new n(this)}},w=t+" Iterator ",b=!1,T=e.prototype,D=T[p]||T[" @ @ iterator "]||_&&T[_],x=!h&&D||k(_),S=" Array "==t&&T.entries||D;if(S&&(M=a(S.call(new e)),m!==Object.prototype&&M.next&&(c||a(M)===m||(s?s(M,m):" function "!=typeof M[p]&&u(M,p,y)),o(M,w,!0,!0),c&&(f[w]=y)))," values "==_&&D&&" values "!==D.name&&(b=!0,x=function(){return D.call(this)}),c&&!v||T[p]===x||u(T,p,x),f[t]=x,_)if(L={values:k(" values "),keys:g?x:k(" keys "),entries:k(" entries ")},v)for(Y in L)!h&&!b&&Y in T||d(T,Y,L[Y]);else r({target:t,proto:!0,forced:h||b},L);return L}},function(e,t,n){var r=n(23).f,i=n(18),a=n(6)(" toStringTag ");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(28);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&" function "==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(" function "==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&" function " == typeof ( n = e . toString ) && ! r ( i = n . call ( e ) ) ) return i ; throw TypeError
2019-09-25 16:19:42 +00:00
/ * *
2019-05-16 14:40:02 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-10-26 11:55:26 +00:00
var r = function ( e ) { var t , n , r , i , a = { } ; if ( ! e ) return null ; ( n = e . indexOf ( "?" ) ) >= 0 && ( e = e . substr ( n + 1 ) ) , t = e . replace ( /\+/g , "%20" ) . split ( "&" ) ; for ( var s = 0 ; s < t . length ; s ++ ) { var o = t [ s ] ; ( r = ( n = o . indexOf ( "=" ) ) >= 0 ? [ o . substr ( 0 , n ) , o . substr ( n + 1 ) ] : [ o ] ) . length && ( ( i = decodeURIComponent ( r [ 0 ] ) ) && ( r . length > 1 ? a [ i ] = decodeURIComponent ( r [ 1 ] ) : a [ i ] = null ) ) } return a } , i = function ( t ) { return t ? e . map ( t , ( function ( e , t ) { var n = encodeURIComponent ( t ) ; return null != e && ( n += "=" + encodeURIComponent ( e ) ) , n } ) ) . join ( "&" ) : "" } } ) . call ( this , n ( 0 ) ) } , , , , , , , function ( e , t , n ) { "use strict" ; n . d ( t , "b" , ( function ( ) { return o } ) ) ; var r = n ( 0 ) , i = n . n ( r ) , a = ! 1 , s = { enableDynamicSlideToggle : function ( ) { a = ! 0 } , showAppSidebar : function ( e ) { ( e || i ( ) ( "#app-sidebar" ) ) . removeClass ( "disappear" ) . show ( ) , i ( ) ( "#app-content" ) . trigger ( new i . a . Event ( "appresized" ) ) } , hideAppSidebar : function ( e ) { ( e || i ( ) ( "#app-sidebar" ) ) . hide ( ) . addClass ( "disappear" ) , i ( ) ( "#app-content" ) . trigger ( new i . a . Event ( "appresized" ) ) } } , o = function ( ) { var e = i ( ) ( "[data-apps-slide-toggle]" ) ; 0 === e . length && i ( ) ( "#app-navigation" ) . addClass ( "without-app-settings" ) , i ( ) ( document ) . click ( ( function ( t ) { a && ( e = i ( ) ( "[data-apps-slide-toggle]" ) ) , e . each ( ( function ( e , n ) { var r = i ( ) ( n ) . data ( "apps-slide-toggle" ) , a = i ( ) ( r ) ; function s ( ) { a . slideUp ( 4 * OC . menuSpeed , ( function ( ) { a . trigger ( new i . a . Event ( "hide" ) ) } ) ) , a . removeClass ( "opened" ) , i ( ) ( n ) . removeClass ( "opened" ) } if ( ! a . is ( ":animated" ) ) if ( i ( ) ( n ) . is ( i ( ) ( t . target ) . closest ( "[data-apps-slide-toggle]" ) ) ) a . is ( ":visible" ) ? s ( ) : function ( ) { a . slideDown ( 4 * OC . menuSpeed , ( function ( ) { a . trigger ( new i . a . Event ( "show" ) ) } ) ) , a . addClass ( "opened" ) , i ( ) ( n ) . addClass ( "opened" ) ; var e = i ( ) ( r + " [autofocus]" ) ; 1 === e . length && e . focus ( ) } ( ) ; else { var o = i ( ) ( t . target ) . closest ( r ) ; a . is ( ":visible" ) && o [ 0 ] !== a [ 0 ] && s ( ) } } ) ) } ) ) } ; t . a = s } , function ( e , t , n ) { "undefined" == typeof dav && ( dav = { } ) , dav . _XML _CHAR _MAP = { "<" : "<" , ">" : ">" , "&" : "&" , '"' : """ , "'" : "'" } , dav . _escapeXml = function ( e ) { return e . replace ( /[<>&"']/g , ( function ( e ) { return dav . _XML _CHAR _MAP [ e ] } ) ) } , dav . Client = function ( e ) { var t ; for ( t in e ) this [ t ] = e [ t ] } , dav . Client . prototype = { baseUrl : null , userName : null , password : null , xmlNamespaces : { "DAV:" : "d" } , propFind : function ( e , t , n , r ) { void 0 === n && ( n = "0" ) , n = "" + n , ( r = r || { } ) . Depth = n , r [ "Content-Type" ] = "application/xml; charset=utf-8" ; var i , a = '<?xml version="1.0"?>\n<d:propfind ' ; for ( i in this . xmlNamespaces ) a += " xmlns:" + this . xmlNamespaces [ i ] + '="' + i + '"' ; for ( var s in a += ">\n <d:prop>\n" , t ) if ( t . hasOwnProperty ( s ) ) { var o = this . parseClarkNotation ( t [ s ] ) ; this . xmlNamespaces [ o . namespace ] ? a += " <" + this . xmlNamespaces [ o . namespace ] + ":" + o . name + " />\n" : a += " <x:" + o . name + ' xmlns:x="' + o . namespace + '" />\n' } return a += " </d:prop>\n" , a += "</d:propfind>" , this . request ( "PROPFIND" , e , r , a ) . then ( function ( e ) { return "0" === n ? { status : e . status , body : e . body [ 0 ] , xhr : e . xhr } : { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , _renderPropSet : function ( e ) { var t = " <d:set>\n <d:prop>\n" ; for ( var n in e ) if ( e . hasOwnProperty ( n ) ) { var r , i = this . parseClarkNotation ( n ) , a = e [ n ] ; "d:resourcetype" !== ( r = this . xmlNamespaces [ i . namespace ] ? this . xmlNamespaces [ i . namespace ] + ":" + i . name : "x:" + i . name + ' xmlns:x="' + i . namespace + '"' ) && ( a = dav . _escapeXml ( a ) ) , t += " <" + r + ">" + a + "</" + r + ">\n" } return t += " </d:prop>\n" , t += " </d:set>\n" } , propPatch : function ( e , t , n ) { ( n = n || { } ) [ "Content-Type" ] = "application/xml; charset=utf-8" ; var r , i = '<?xml version="1.0"?>\n<d:propertyupdate ' ; for ( r in this . xmlNamespaces ) i += " xmlns:" + this . xmlNamespaces [ r ] + '="' + r + '"' ; return i += ">\n" + this . _renderPropSet ( t ) , i += "</d:propertyupdate>" , this . request ( "PROPPATCH" , e , n , i ) . then ( function ( e ) { return { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , mkcol : function ( e , t , n ) { var r = "" ; if ( ( n = n || { } ) [ "Content-Type" ] = "application/xml; charset=utf-8" , t ) { var i ; for ( i in r = '<?xml version="1.0"?>\n<d:mkcol' , this . xmlNamespaces ) r += " xmlns:" + this . xmlNamespaces [ i ] + '="' + i + '"' ; r += ">\n" + this . _renderPropSet ( t ) , r += "</d:mkcol>" } return this . request ( "MKCOL" , e , n , r ) . then ( function ( e ) { return { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , request : function ( e , t , n , r , i , a ) { var s , o = this , u = this . xhrProvider ( ) ; for ( s in n = n || { } , i = i || "" , this . userName && ( n . Authorization = "Basic " + btoa ( this . userName + ":" + this . password ) ) , u . open ( e , this . resolveUrl ( t
2019-09-25 16:19:42 +00:00
/ * *
2019-05-16 14:40:02 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-10-03 16:48:35 +00:00
* / n . a = { c a l l b a c k : n u l l , p a g e L o a d T i m e : n u l l , i n i t : f u n c t i o n ( ) { o ( ) ( " . p a s s w o r d - c o n f i r m - r e q u i r e d " ) . o n ( " c l i c k " , a . a . b i n d ( t h i s . r e q u i r e P a s s w o r d C o n f i r m a t i o n , t h i s ) ) , t h i s . p a g e L o a d T i m e = d . a . n o w ( ) } , r e q u i r e s P a s s w o r d C o n f i r m a t i o n : f u n c t i o n ( ) { v a r e = t h i s . p a g e L o a d T i m e - 1 e 3 * w i n d o w . n c _ p a g e L o a d , t = d . a . n o w ( ) - ( e + 1 e 3 * w i n d o w . n c _ l a s t L o g i n ) ; r e t u r n w i n d o w . b a c k e n d A l l o w s P a s s w o r d C o n f i r m a t i o n & & t > 1 8 e 5 } , r e q u i r e P a s s w o r d C o n f i r m a t i o n : f u n c t i o n ( e , n , r ) { n = v o i d 0 ! = = n ? n : { } ; v a r i = { t i t l e : t ( " c o r e " , " A u t h e n t i c a t i o n r e q u i r e d " ) , t e x t : t ( " c o r e " , " T h i s a c t i o n r e q u i r e s y o u t o c o n f i r m y o u r p a s s w o r d " ) , c o n f i r m : t ( " c o r e " , " C o n f i r m " ) , l a b e l : t ( " c o r e " , " P a s s w o r d " ) , e r r o r : " " } , s = a . a . e x t e n d ( i , n ) , u = t h i s ; t h i s . r e q u i r e s P a s s w o r d C o n f i r m a t i o n ( ) & & l . a . d i a l o g s . p r o m p t ( s . t e x t , s . t i t l e , ( f u n c t i o n ( e , t ) { e & & " " ! = = t ? u . _ c o n f i r m P a s s w o r d ( t , s ) : a . a . i s F u n c t i o n ( r ) & & r ( ) } ) , ! 0 , s . l a b e l , ! 0 ) . t h e n ( ( f u n c t i o n ( ) { v a r e = o ( ) ( " . o c - d i a l o g : v i s i b l e " ) ; i f ( e . f i n d ( " . u i - i c o n " ) . r e m o v e ( ) , e . a d d C l a s s ( " p a s s w o r d - c o n f i r m a t i o n " ) , " " ! = = s . e r r o r ) v a r t = o ( ) ( " < p > < / p > " ) . a d d C l a s s ( " m s g w a r n i n g " ) . t e x t ( s . e r r o r ) ; e . f i n d ( " . o c - d i a l o g - c o n t e n t " ) . a p p e n d ( t ) , e . f i n d ( " . o c - d i a l o g - b u t t o n r o w " ) . a d d C l a s s ( " a s i d e " ) ; v a r n = e . f i n d ( " b u t t o n " ) ; n . e q ( 0 ) . h i d e ( ) , n . e q ( 1 ) . t e x t ( s . c o n f i r m ) } ) ) , t h i s . c a l l b a c k = e } , _ c o n f i r m P a s s w o r d : f u n c t i o n ( e , n ) { v a r r = t h i s ; o . a . a j a x ( { u r l : l . a . g e n e r a t e U r l ( " / l o g i n / c o n f i r m " ) , d a t a : { p a s s w o r d : e } , t y p e : " P O S T " , s u c c e s s : f u n c t i o n ( e ) { w i n d o w . n c _ l a s t L o g i n = e . l a s t L o g i n , a . a . i s F u n c t i o n ( r . c a l l b a c k ) & & r . c a l l b a c k ( ) } , e r r o r : f u n c t i o n ( ) { n . e r r o r = t ( " c o r e " , " F a i l e d t o a u t h e n t i c a t e , t r y a g a i n " ) , l . a . P a s s w o r d C o n f i r m a t i o n . r e q u i r e P a s s w o r d C o n f i r m a t i o n ( r . c a l l b a c k , n ) } } ) } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-11-24 10:13:21 +00:00
function r ( e , t ) { var n = [ "B" , "KB" , "MB" , "GB" , "TB" ] , r = e > 0 ? Math . floor ( Math . log ( e ) / Math . log ( 1024 ) ) : 0 , i = n [ r = Math . min ( n . length - 1 , r ) ] , a = ( e / Math . pow ( 1024 , r ) ) . toFixed ( 1 ) ; return ! 0 === t && 0 === r ? "0.0" !== a ? "< 1 KB" : "0 KB" : ( a = r < 2 ? parseFloat ( a ) . toFixed ( 0 ) : ".0" === a . substr ( a . length - 2 , 2 ) ? a . substr ( 0 , a . length - 2 ) : parseFloat ( a ) . toLocaleString ( OC . getCanonicalLocale ( ) ) ) + " " + i } n . d ( t , "a" , ( function ( ) { return r } ) ) } , , , , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { var r = n ( 101 ) , i = n ( 439 ) , a = n ( 434 ) ; e . exports = r ? function ( e , t , n ) { return i . f ( e , t , a ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { var r = n ( 71 ) ; e . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , "a" , { get : function ( ) { return 7 } } ) . a } ) ) } , function ( e , t , n ) { var r = n ( 125 ) , i = n ( 462 ) , a = n ( 456 ) ; e . exports = r ? function ( e , t , n ) { return i . f ( e , t , a ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { var r = n ( 34 ) , i = n ( 308 ) , a = n ( 567 ) , s = r [ "__core-js_shared__" ] || i ( "__core-js_shared__" , { } ) ; ( e . exports = function ( e , t ) { return s [ e ] || ( s [ e ] = void 0 !== t ? t : { } ) } ) ( "versions" , [ ] ) . push ( { version : "3.2.1" , mode : a ? "pure" : "global" , copyright : "© 2019 Denis Pushkarev (zloirock.ru)" } ) } , , , , function ( e , t , n ) { var r = n ( 26 ) , i = n ( 341 ) , a = n ( 56 ) , s = n ( 57 ) , o = n ( 82 ) , u = n ( 18 ) , d = n ( 133 ) , l = Object . getOwnPropertyDescriptor ; t . f = r ? l : function ( e , t ) { if ( e = s ( e ) , t = o ( t , ! 0 ) , d ) try { return l ( e , t ) } catch ( e ) { } if ( u ( e , t ) ) return a ( ! i . f . call ( e , t ) , e [ t ] ) } } , function ( e , t , n ) { var r = n ( 9 ) , i = n ( 80 ) , a = "" . split ; e . exports = r ( ( function ( ) { return ! Object ( "z" ) . propertyIsEnumerable ( 0 ) } ) ) ? function ( e ) { return "String" == i ( e ) ? a . call ( e , "" ) : Object ( e ) } : Object } , function ( e , t , n ) { var r = n ( 26 ) , i = n ( 9 ) , a = n ( 134 ) ; e . exports = ! r && ! i ( ( function ( ) { return 7 != Object . defineProperty ( a ( "div" ) , "a" , { get : function ( ) { return 7 } } ) . a } ) ) } , function ( e , t , n ) { var r = n ( 8 ) , i = n ( 10 ) , a = r . document , s = i ( a ) && i ( a . createElement ) ; e . exports = function ( e ) { return s ? a . createElement ( e ) : { } } } , function ( e , t , n ) { var r = n ( 58 ) ; e . exports = r ( "native-function-to-string" , Function . toString ) } , function ( e , t , n ) { var r = n ( 18 ) , i = n ( 57 ) , a = n ( 347 ) . indexOf , s = n ( 60 ) ; e . exports = function ( e , t ) { var n , o = i ( e ) , u = 0 , d = [ ] ; for ( n in o ) ! r ( s , n ) && r ( o , n ) && d . push ( n ) ; for ( ; t . length > u ; ) r ( o , n = t [ u ++ ] ) && ( ~ a ( d , n ) || d . push ( n ) ) ; return d } } , function ( e , t , n ) { var r = n ( 9 ) , i = /#|\.prototype\./ , a = function ( e , t ) { var n = o [ s ( e ) ] ; return n == d || n != u && ( "function" == typeof t ? r ( t ) : ! ! t ) } , s = a . normalize = function ( e ) { return String ( e ) . replace ( i , "." ) . toLowerCase ( ) } , o = a . data = { } , u = a . NATIVE = "N" , d = a . POLYFILL = "P" ; e . exports = a } , function ( e , t , n ) { var r = n ( 80 ) ; e . exports = Array . isArray || function ( e ) { return "Array" == r ( e ) } } , function ( e , t , n ) { var r = n ( 10 ) , i = n ( 138 ) , a = n ( 6 ) ( "species" ) ; e . exports = function ( e , t ) { var n ; return i ( e ) && ( "function" != typeof ( n = e . constructor ) || n !== Array && ! i ( n . prototype ) ? r ( n ) && null === ( n = n [ a ] ) && ( n = void 0 ) : n = void 0 ) , new ( void 0 === n ? Array : n ) ( 0 === t ? 0 : t ) } } , function ( e , t , n ) { var r = n ( 9 ) , i = n ( 6 ) ( "species" ) ; e . exports = function ( e ) { return ! r ( ( function ( ) { var t = [ ] ; return ( t . constructor = { } ) [ i ] = function ( ) { return { foo : 1 } } , 1 !== t [ e ] ( Boolean ) . foo } ) ) } } , function ( e , t , n ) { var r = n ( 91 ) , i = n ( 132 ) , a = n ( 90 ) , s = n ( 61 ) , o = n ( 139 ) , u = [ ] . push , d = function ( e ) { var t = 1 == e , n = 2 == e , d = 3 == e , l = 4 == e , c = 6 == e , f = 5 == e || c ; return function ( _ , m , h , p ) { for ( var y , g , v = a ( _ ) , M = i ( v ) , L = r ( m , h , 3 ) , Y = s ( M . length ) , k = 0 , w = p || o , b = t ? w ( _ , Y ) : n ? w ( _ , 0 ) : void 0 ; Y > k ; k ++ ) if ( ( f || k in M ) && ( g = L ( y = M [ k ] , k , v ) , e ) ) if ( t ) b [ k ] = g ; else if ( g ) switch ( e ) { case 3 : return ! 0 ; case 5 : return y ; case 6 : return k ; case 2 : u . call ( b , y ) } else if ( l ) return ! 1 ; return c ? - 1 : d || l ? l : b } } ; e . exports = { forEach : d ( 0 ) , map : d ( 1 ) , filter : d ( 2 ) , some : d ( 3 ) , every : d ( 4 ) , find : d ( 5 ) , findIndex : d ( 6 ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 141 ) . forEach , i = n ( 355 ) ; e . exports = i ( "forEach" ) ? function ( e ) { return r ( this , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } : [ ] . forEach } , function ( e , t , n ) { "use strict" ; var r = n ( 57 ) , i = n ( 356 ) , a = n ( 49 ) , s = n ( 59 ) , o = n ( 93 ) , u = s . set , d = s . getterFor ( "Array Iterator" ) ; e . exports = o ( Array , "Array" , ( function ( e , t ) { u ( this , { type : "Array Iterator" , target : r ( e ) , index : 0 , kind : t } ) } ) , ( function ( ) { var e = d ( this ) , t = e . target , n = e . kind , r = e . index ++ ; return ! t || r >= t . length ? ( e . target = void 0 , { value : void 0 , done : ! 0 } ) : "keys" == n ? { value : r , done : ! 1 } : "values" == n ? { value : t [ r ] , done : ! 1 } : { value : [ r , t [ r ] ] , done : ! 1 } } ) , "values" ) , a . Arguments = a . Array , i ( "keys" ) , i ( "values" ) , i ( "entries" ) } , functio
2019-05-16 14:40:02 +00:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-11-10 20:27:17 +00:00
e . exports = function ( e ) { return null != e && null != e . constructor && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) , i = n ( 448 ) , a = n ( 547 ) , s = n ( 548 ) , o = n ( 453 ) ; function u ( e ) { this . defaults = e , this . interceptors = { request : new a , response : new a } } u . prototype . request = function ( e ) { "string" == typeof e ? ( e = arguments [ 1 ] || { } ) . url = arguments [ 0 ] : e = e || { } , ( e = o ( this . defaults , e ) ) . method = e . method ? e . method . toLowerCase ( ) : "get" ; var t = [ s , void 0 ] , n = Promise . resolve ( e ) ; for ( this . interceptors . request . forEach ( ( function ( e ) { t . unshift ( e . fulfilled , e . rejected ) } ) ) , this . interceptors . response . forEach ( ( function ( e ) { t . push ( e . fulfilled , e . rejected ) } ) ) ; t . length ; ) n = n . then ( t . shift ( ) , t . shift ( ) ) ; return n } , u . prototype . getUri = function ( e ) { return e = o ( this . defaults , e ) , i ( e . url , e . params , e . paramsSerializer ) . replace ( /^\?/ , "" ) } , r . forEach ( [ "delete" , "get" , "head" , "options" ] , ( function ( e ) { u . prototype [ e ] = function ( t , n ) { return this . request ( r . merge ( n || { } , { method : e , url : t } ) ) } } ) ) , r . forEach ( [ "post" , "put" , "patch" ] , ( function ( e ) { u . prototype [ e ] = function ( t , n , i ) { return this . request ( r . merge ( i || { } , { method : e , url : t , data : n } ) ) } } ) ) , e . exports = u } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) ; function i ( ) { this . handlers = [ ] } i . prototype . use = function ( e , t ) { return this . handlers . push ( { fulfilled : e , rejected : t } ) , this . handlers . length - 1 } , i . prototype . eject = function ( e ) { this . handlers [ e ] && ( this . handlers [ e ] = null ) } , i . prototype . forEach = function ( e ) { r . forEach ( this . handlers , ( function ( t ) { null !== t && e ( t ) } ) ) } , e . exports = i } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) , i = n ( 549 ) , a = n ( 449 ) , s = n ( 450 ) , o = n ( 556 ) , u = n ( 557 ) ; function d ( e ) { e . cancelToken && e . cancelToken . throwIfRequested ( ) } e . exports = function ( e ) { return d ( e ) , e . baseURL && ! o ( e . url ) && ( e . url = u ( e . baseURL , e . url ) ) , e . headers = e . headers || { } , e . data = i ( e . data , e . headers , e . transformRequest ) , e . headers = r . merge ( e . headers . common || { } , e . headers [ e . method ] || { } , e . headers || { } ) , r . forEach ( [ "delete" , "get" , "head" , "post" , "put" , "patch" , "common" ] , ( function ( t ) { delete e . headers [ t ] } ) ) , ( e . adapter || s . adapter ) ( e ) . then ( ( function ( t ) { return d ( e ) , t . data = i ( t . data , t . headers , e . transformResponse ) , t } ) , ( function ( t ) { return a ( t ) || ( d ( e ) , t && t . response && ( t . response . data = i ( t . response . data , t . response . headers , e . transformResponse ) ) ) , Promise . reject ( t ) } ) ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) ; e . exports = function ( e , t , n ) { return r . forEach ( n , ( function ( n ) { e = n ( e , t ) } ) ) , e } } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) ; e . exports = function ( e , t ) { r . forEach ( e , ( function ( n , r ) { r !== t && r . toUpperCase ( ) === t . toUpperCase ( ) && ( e [ t ] = n , delete e [ r ] ) } ) ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 452 ) ; e . exports = function ( e , t , n ) { var i = n . config . validateStatus ; ! i || i ( n . status ) ? e ( n ) : t ( r ( "Request failed with status code " + n . status , n . config , null , n . request , n ) ) } } , function ( e , t , n ) { "use strict" ; e . exports = function ( e , t , n , r , i ) { return e . config = t , n && ( e . code = n ) , e . request = r , e . response = i , e . isAxiosError = ! 0 , e . toJSON = function ( ) { return { message : this . message , name : this . name , description : this . description , number : this . number , fileName : this . fileName , lineNumber : this . lineNumber , columnNumber : this . columnNumber , stack : this . stack , config : this . config , code : this . code } } , e } } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) , i = [ "age" , "authorization" , "content-length" , "content-type" , "etag" , "expires" , "from" , "host" , "if-modified-since" , "if-unmodified-since" , "last-modified" , "location" , "max-forwards" , "proxy-authorization" , "referer" , "retry-after" , "user-agent" ] ; e . exports = function ( e ) { var t , n , a , s = { } ; return e ? ( r . forEach ( e . split ( "\n" ) , ( function ( e ) { if ( a = e . indexOf ( ":" ) , t = r . trim ( e . substr ( 0 , a ) ) . toLowerCase ( ) , n = r . trim ( e . substr ( a + 1 ) ) , t ) { if ( s [ t ] && i . indexOf ( t ) >= 0 ) return ; s [ t ] = "set-cookie" === t ? ( s [ t ] ? s [ t ] : [ ] ) . concat ( [ n ] ) : s [ t ] ? s [ t ] + ", " + n : n } } ) ) , s ) : s } } , function ( e , t , n ) { "use strict" ; var r = n ( 22 ) ; e . exports = r . isStandardBrowserEnv ( ) ? function ( ) { var e , t = /(msie|trident)/i . test ( navigator . userAgent ) , n = document . createElement ( "a" ) ; function i ( e ) { var r = e ; return t && ( n . setAttribute ( "href" , r ) , r = n . href ) , n . setAttribute ( "href" , r ) , { href : n . href , protocol : n . protocol ? n . protocol . replace ( /:$/ , "" ) : "" , host : n . host , search : n . search ? n . search . replace ( /^\?/ , "" ) : "" , hash : n . hash ? n . hash . replace ( /^#/ , "" ) : "" , hostname : n . hostname , port : n . port , pathname : "/" === n . pathname . c
2019-05-16 14:40:02 +00:00
//# sourceMappingURL=maintenance.js.map