2019-05-14 19:18:31 +03:00
! function ( e ) { var t = { } ; function n ( a ) { if ( t [ a ] ) return t [ a ] . exports ; var r = t [ a ] = { i : a , l : ! 1 , exports : { } } ; return e [ a ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } n . m = e , n . c = t , n . d = function ( e , t , a ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : a } ) } , 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 a = Object . create ( null ) ; if ( n . r ( a ) , Object . defineProperty ( a , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var r in e ) n . d ( a , r , function ( t ) { return e [ t ] } . bind ( null , r ) ) ; return a } , 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 = 532 ) } ( [ function ( e , t , n ) { var a , r , i ;
2019-01-30 19:06:01 +03: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
* /
/ * !
* 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
* /
r = "undefined" != typeof window ? window : this , i = function ( n , r ) { var i = [ ] , s = i . slice , o = i . concat , d = i . push , u = i . indexOf , l = { } , c = l . toString , _ = l . hasOwnProperty , m = { } , h = n . document , f = function ( e , t ) { return new f . fn . init ( e , t ) } , p = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g , y = /^-ms-/ , M = /-([\da-z])/gi , g = function ( e , t ) { return t . toUpperCase ( ) } ; function L ( e ) { var t = "length" in e && e . length , n = f . type ( e ) ; return "function" !== n && ! f . isWindow ( e ) && ( ! ( 1 !== e . nodeType || ! t ) || ( "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e ) ) } f . fn = f . prototype = { jquery : "2.1.4" , constructor : f , 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 = f . merge ( this . constructor ( ) , e ) ; return t . prevObject = this , t . context = this . context , t } , each : function ( e , t ) { return f . each ( this , e , t ) } , map : function ( e ) { return this . pushStack ( f . 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 : d , sort : i . sort , splice : i . splice } , f . extend = f . fn . extend = function ( ) { var e , t , n , a , r , i , s = arguments [ 0 ] || { } , o = 1 , d = arguments . length , u = ! 1 ; for ( "boolean" == typeof s && ( u = s , s = arguments [ o ] || { } , o ++ ) , "object" == typeof s || f . isFunction ( s ) || ( s = { } ) , o === d && ( s = this , o -- ) ; o < d ; o ++ ) if ( null != ( e = arguments [ o ] ) ) for ( t in e ) n = s [ t ] , s !== ( a = e [ t ] ) && ( u && a && ( f . isPlainObject ( a ) || ( r = f . isArray ( a ) ) ) ? ( r ? ( r = ! 1 , i = n && f . isArray ( n ) ? n : [ ] ) : i = n && f . isPlainObject ( n ) ? n : { } , s [ t ] = f . extend ( u , i , a ) ) : void 0 !== a && ( s [ t ] = a ) ) ; return s } , f . 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" === f . type ( e ) } , isArray : Array . isArray , isWindow : function ( e ) { return null != e && e === e . window } , isNumeric : function ( e ) { return ! f . isArray ( e ) && e - parseFloat ( e ) + 1 >= 0 } , isPlainObject : function ( e ) { return "object" === f . type ( e ) && ! e . nodeType && ! f . isWindow ( e ) && ! ( e . constructor && ! _ . 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 = f . trim ( e ) ) && ( 1 === e . indexOf ( "use strict" ) ? ( ( t = h . createElement ( "script" ) ) . text = e , h . head . appendChild ( t ) . parentNode . removeChild ( t ) ) : n ( e ) ) } , camelCase : function ( e ) { return e . replace ( y , "ms-" ) . replace ( M , g ) } , nodeName : function ( e , t ) { return e . nodeName && e . nodeName . toLowerCase ( ) === t . toLowerCase ( ) } , each : function ( e , t , n ) { var a = 0 , r = e . length , i = L ( e ) ; if ( n ) { if ( i ) for ( ; a < r && ! 1 !== t . apply ( e [ a ] , n ) ; a ++ ) ; else for ( a in e ) if ( ! 1 === t . apply ( e [ a ] , n ) ) break } else if ( i ) for ( ; a < r && ! 1 !== t . call ( e [ a ] , a , e [ a ] ) ; a ++ ) ; else for ( a in e ) if ( ! 1 === t . call ( e [ a ] , a , e [ a ] ) ) break ; return e } , trim : function ( e ) { return null == e ? "" : ( e + "" ) . replace ( p , "" ) } , makeArray : function ( e , t ) { var n = t || [ ] ; return null != e && ( L ( Object ( e ) ) ? f . merge ( n , "string" == typeof e ? [ e ] : e ) : d . call ( n , e ) ) , n } , inArray : function ( e , t , n ) { return null == t ? - 1 : u . call ( t , e , n ) } , merge : function ( e , t ) { for ( var n = + t . length , a = 0 , r = e . length ; a < n ; a ++ ) e [ r ++ ] = t [ a ] ; return e . length = r , e } , grep : function ( e , t , n ) { for ( var a = [ ] , r = 0 , i = e . length , s = ! n ; r < i ; r ++ ) ! t ( e [ r ] , r ) !== s && a . push ( e [ r ] ) ; return a } , map : function ( e , t , n ) { var a , r = 0 , i = e . length , s = [ ] ; if ( L ( e ) ) for ( ; r < i ; r ++ ) null != ( a = t ( e [ r ] , r , n ) ) && s . push ( a ) ; else for ( r in e ) null != ( a = t ( e [ r ] , r , n ) ) && s . push ( a ) ; return o . apply ( [ ] , s ) } , guid : 1 , proxy : function ( e , t ) { var n , a , r ; if ( "string" == typeof t && ( n = e [ t ] , t = e , e = n ) , f . isFunction ( e ) ) return a = s . call ( arguments , 2 ) , ( r = function ( ) { return e . apply ( t || this , a . concat ( s . call ( arguments ) ) ) } ) . guid = e . guid = e . guid || f . guid ++ , r } , now : Date . now , support : m } ) , f . each ( "Boolean Number String Function Array Date RegExp Object Error" . split ( " " ) , function ( e , t ) { l [ "[object " + t + "]" ] = t . toLowerCase ( ) } ) ; var v =
/ * !
* 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-05-14 19:25:47 +03:00
function ( e ) { var t , n , a , r , i , s , o , d , u , l , c , _ , m , h , f , p , y , M , g , L = "sizzle" + 1 * new Date , v = e . document , Y = 0 , k = 0 , w = se ( ) , D = se ( ) , T = se ( ) , b = function ( e , t ) { return e === t && ( c = ! 0 ) , 0 } , x = 1 << 31 , S = { } . hasOwnProperty , H = [ ] , j = H . pop , P = H . push , A = H . push , O = H . slice , E = function ( e , t ) { for ( var n = 0 , a = e . length ; n < a ; 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]" , W = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+" , N = W . replace ( "w" , "w#" ) , I = "\\[" + F + "*(" + W + ")(?:" + F + "*([*^$|!~]?=)" + F + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + F + "*\\]" , z = ":(" + W + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + I + ")*)|.*)\\)|)" , R = new RegExp ( F + "+" , "g" ) , $ = new RegExp ( "^" + F + "+|((?:^|[^\\\\])(?:\\\\.)*)" + F + "+$" , "g" ) , J = new RegExp ( "^" + F + "*," + F + "*" ) , U = new RegExp ( "^" + F + "*([>+~]|" + F + ")" + F + "*" ) , q = new RegExp ( "=" + F + "*([^\\]'\"]*?)" + F + "*\\]" , "g" ) , B = new RegExp ( z ) , V = new RegExp ( "^" + N + "$" ) , G = { ID : new RegExp ( "^#(" + W + ")" ) , CLASS : new RegExp ( "^\\.(" + W + ")" ) , TAG : new RegExp ( "^(" + W . replace ( "w" , "w*" ) + ")" ) , ATTR : new RegExp ( "^" + I ) , PSEUDO : new RegExp ( "^" + z ) , 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 , Z = /^[^{]+\{\s*\[native \w/ , Q = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/ , ee = /[+~]/ , te = /'|\\/g , ne = new RegExp ( "\\\\([\\da-f]{1,6}" + F + "?|(" + F + ")|.)" , "ig" ) , ae = function ( e , t , n ) { var a = "0x" + t - 65536 ; return a != a || n ? t : a < 0 ? String . fromCharCode ( a + 65536 ) : String . fromCharCode ( a >> 10 | 55296 , 1023 & a | 56320 ) } , re = function ( ) { _ ( ) } ; try { A . apply ( H = O . call ( v . childNodes ) , v . childNodes ) , H [ v . childNodes . length ] . nodeType } catch ( e ) { A = { apply : H . length ? function ( e , t ) { P . apply ( e , O . call ( t ) ) } : function ( e , t ) { for ( var n = e . length , a = 0 ; e [ n ++ ] = t [ a ++ ] ; ) ; e . length = n - 1 } } } function ie ( e , t , a , r ) { var i , o , u , l , c , h , y , M , Y , k ; if ( ( t ? t . ownerDocument || t : v ) !== m && _ ( t ) , a = a || [ ] , l = ( t = t || m ) . nodeType , "string" != typeof e || ! e || 1 !== l && 9 !== l && 11 !== l ) return a ; if ( ! r && f ) { if ( 11 !== l && ( i = Q . exec ( e ) ) ) if ( u = i [ 1 ] ) { if ( 9 === l ) { if ( ! ( o = t . getElementById ( u ) ) || ! o . parentNode ) return a ; if ( o . id === u ) return a . push ( o ) , a } else if ( t . ownerDocument && ( o = t . ownerDocument . getElementById ( u ) ) && g ( t , o ) && o . id === u ) return a . push ( o ) , a } else { if ( i [ 2 ] ) return A . apply ( a , t . getElementsByTagName ( e ) ) , a ; if ( ( u = i [ 3 ] ) && n . getElementsByClassName ) return A . apply ( a , t . getElementsByClassName ( u ) ) , a } if ( n . qsa && ( ! p || ! p . test ( e ) ) ) { if ( M = y = L , Y = t , k = 1 !== l && e , 1 === l && "object" !== t . nodeName . toLowerCase ( ) ) { for ( h = s ( e ) , ( y = t . getAttribute ( "id" ) ) ? M = y . replace ( te , "\\$&" ) : t . setAttribute ( "id" , M ) , M = "[id='" + M + "'] " , c = h . length ; c -- ; ) h [ c ] = M + pe ( h [ c ] ) ; Y = ee . test ( e ) && he ( t . parentNode ) || t , k = h . join ( "," ) } if ( k ) try { return A . apply ( a , Y . querySelectorAll ( k ) ) , a } catch ( e ) { } finally { y || t . removeAttribute ( "id" ) } } } return d ( e . replace ( $ , "$1" ) , t , a , r ) } function se ( ) { var e = [ ] ; return function t ( n , r ) { return e . push ( n + " " ) > a . cacheLength && delete t [ e . shift ( ) ] , t [ n + " " ] = r } } function oe ( e ) { return e [ L ] = ! 0 , e } function de ( e ) { var t = m . createElement ( "div" ) ; try { return ! ! e ( t ) } catch ( e ) { return ! 1 } finally { t . parentNode && t . parentNode . removeChild ( t ) , t = null } } function ue ( e , t ) { for ( var n = e . split ( "|" ) , r = e . length ; r -- ; ) a . attrHandle [ n [ r ] ] = t } function le ( e , t ) { var n = t && e , a = n && 1 === e . nodeType && 1 === t . nodeType && ( ~ t . sourceIndex || x ) - ( ~ e . sourceIndex || x ) ; if ( a ) return a ; 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 _e ( e ) { return function ( t ) { var n = t . nodeName . toLowerCase ( ) ; return ( "input" === n || "button" === n ) && t . type === e } } function me ( e ) { return oe ( function ( t ) { return t = + t , oe ( function ( n , a ) { for ( var r , i = e ( [ ] , n . length , t ) , s = i . length ; s -- ; ) n [ r = i [ s ] ] && ( n [ r ] = ! ( a [ r ] = n [ r ] ) ) } ) } ) } function he ( e ) { return e && void 0 !== e . getElementsByTagName && e } for ( t in n = ie . support = { } , i = ie . isXML = function ( e ) { var t = e && ( e . ownerDocument || e ) . documentElement ; return ! ! t && "HTML" !== t . nodeName } , _ = ie . setDocument = function ( e ) { var t , r
2019-01-30 19:06:01 +03: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-05-14 19:25:47 +03:00
* /function K(e){return(K="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)}var X={_bundles:{},_pluralFunctions:{},load:function(e,t){if(this._bundles[e]||"en"===fe.getLocale()){var n=s.a.Deferred(),a=n.promise();return a.then(t),n.resolve(),a}var r=this,i=fe.filePath(e,"l10n",fe.getLocale()+".json");return s.a.get(i).then(function(t){t.translations&&r.register(e,t.translations,t.pluralForm)}).then(t)},register:function(e,t,n){M.a.isUndefined(this._bundles[e])?(this._bundles[e]=t||{},this._pluralFunctions[e]=this._getPlural):M.a.extend(this._bundles[e],t)},translate:function(e,t,n,a,r){var i=r||{};M.a.defaults(i,{escape:!0});var s=t,o=(this._bundles[e]||{})[t];return void 0!==o&&(s=o),"object"===K(n)||void 0!==a?DOMPurify.sanitize(function(e,t,n){return e.replace(/ % n / g , n ) . replace ( /{([^{}]*)}/g , function ( e , n ) { var a = t [ n ] ; return "string" == typeof a || "number" == typeof a ? i . escape ? DOMPurify . sanitize ( escapeHTML ( a ) ) : DOMPurify . sanitize ( a ) : DOMPurify . sanitize ( e ) } ) } ( s , n , a ) ) : DOMPurify . sanitize ( s ) } , translatePlural : function ( e , t , n , a , r , i ) { var o = "_" + t + "_::_" + n + "_" , d = ( this . _bundles [ e ] || { } ) [ o ] ; if ( void 0 !== d ) { var u = d ; if ( s . a . isArray ( u ) ) { var l = this . _pluralFunctions [ e ] ( a ) ; return this . translate ( e , u [ l ] , r , a , i ) } } return 1 === a ? this . translate ( e , t , r , a , i ) : this . translate ( e , n , r , a , i ) } , _getPlural : function ( e ) { var t = fe . 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 1 == e % 10 && 11 != e % 100 ? 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 1 == e % 10 && 11 != e % 100 ? 0 : e % 10 >= 2 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "sl" : return 1 == e % 100 ? 0 : 2 == e % 100 ? 1 : 3 == e % 100 || 4 == e % 100 ? 2 : 3 ; case "mk" : return 1 == e % 10 ? 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 : 1 == e % 10 && 11 != e % 100 ? 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 } } } , Z = X , Q = function ( ) { return s ( ) ( "html" ) . data ( "locale" ) } ; r . n ( G ) . a . registerHelper ( "t" , function ( e , t ) { return X . translate ( e , t ) } ) ;
/ *
* @ 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/>.
* / v a r e e = { s t a r t S a v i n g : f u n c t i o n ( e ) { t h i s . s t a r t A c t i o n ( e , t ( " c o r e " , " S a v i n g . . . " ) ) } , s t a r t A c t i o n : f u n c t i o n ( e , t ) { s ( ) ( e ) . t e x t ( t ) . r e m o v e C l a s s ( " s u c c e s s " ) . r e m o v e C l a s s ( " e r r o r " ) . s t o p ( ! 0 , ! 0 ) . s h o w ( ) } , f i n i s h e d S a v i n g : f u n c t i o n ( e , t ) { t h i s . f i n i s h e d A c t i o n ( e , t ) } , f i n i s h e d A c t i o n : f u n c t i o n ( e , t ) { " s u c c e s s " = = = t . s t a t u s ? t h i s . f i n i s h e d S u c c e s s ( e , t . d a t a . m e s s a g e ) : t h i s . f i n i s h e d E r r o r ( e , t . d a t a . m e s s a g e ) } , f i n i s h e d S u c c e s s : f u n c t i o n ( e , t ) { s ( ) ( e ) . t e x t ( t ) . a d d C l a s s ( " s u c c e s s " ) . r e m o v e C l a s s ( " e r r o r " ) . s t o p ( ! 0 , ! 0 ) . d e l a y ( 3 e 3 ) . f a d e O u t ( 9 0 0 ) . s h o w ( ) } , f i n i s h e d E r r o r : f u n c t i o n ( e , t ) { s ( ) ( e ) . t e x t ( t ) . a d d C l a s s ( " e r r o r " ) . r e m o v e C l a s s ( " s u c c e s s " ) . s h o w ( ) } } , t e = { q u e u e d N o t i f i c a t i o n s : [ ] , g e t D e f a u l t N o t i f i c a t i o n F u n c t i o n : n u l l , n o t i f i c a t i o n T i m e r s : [ ] , s e t D e f a u l t : f u n c t i o n ( e ) { t h i s . g e t D e f a u l t N o t i f i c a t i o n F u n c t i o n = e } , h i d e : f u n c t i o n ( e , t ) { v a r n = t h i s , a = s ( ) ( " # n o t i f i c a t i o n " ) ; i f ( M . a . i s F u n c t i o n ( e ) & & ( t = e , e = v o i d 0 ) , e | | ( c o n s o l e . w a r n ( " M i s s i n g a r g u m e n t $ r o w i n O C . N o t i f i c a t i o n . h i d e ( ) c a l l , c a l l e r n e e d s t o b e a d j u s t e d t o o n l y d i s m i s s i t s o w n n o t i f i c a t i o n " ) , e = a . f i n d ( " . r o w : f i r s t " ) ) , e & & a . f i n d ( " . r o w " ) . l e n g t h > 1 ) r e t u r n e . r e m o v e ( ) , v o i d ( t & & t . c a l l ( ) ) ; M . a . d e f e r ( f u n c t i o n ( ) { a . f i n d ( " . r o w " ) . l e n g t h > 1 ? e . r e m o v e ( ) : a . f a d e O u t ( " 4 0 0 " , f u n c t i o n ( ) { n . i s H i d d e n ( ) & & n . g e t D e f a u l t N o t i f i c a t i o n F u n c t i o n & & n . g e t D e f a u l t N o t i f i c a t i o n F u n c t i o n . c a l l ( ) , t & & t . c a l l ( ) , a . e m p t y ( ) } ) } ) } , s h o w H t m l : f u n c t i o n ( e , n ) { n = n | | { } , M . a . d e f a u l t s ( n , { t i m e o u t : 0 } ) ; v a r a = t h i s , r = s ( ) ( " # n o t i f i c a t i o n " ) ; t h i s . i s H i d d e n ( ) & & r . f a d e I n ( ) . c s s ( " d i s p l a y " , " i n l i n e - b l o c k " ) ; v a r i = s ( ) ( ' < d i v c l a s s = " r o w " > < / d i v > ' ) ; i f ( n . t y p e & & i . a d d C l a s s ( " t y p e - " + n . t y p e ) , " e r r o r " = = = n . t y p e ) { v a r o = s ( ) ( ' < a c l a s s = " a c t i o n c l o s e i c o n - c l o s e " h r e f = " # " > < / a > ' ) ; o . a t t r ( " a l t " , t ( " c o r e " , " D i s m i s s " ) ) , i . a p p e n d ( o ) , o . o n e ( " c l i c k " , f u n c t i o n ( ) { r e t u r n a . h i d e ( i ) , ! 1 } ) , i . a d d C l a s s ( " c l o s e a b l e " ) } r e t u r n i . p r e p e n d ( e ) , r . a p p e n d ( i ) , n . t i m e o u t > 0 & & t h i s . n o t i f i c a t i o n T i m e r s . p u s h ( s e t T i m e o u t ( f u n c t i o n ( ) { a . h i d e ( i ) } , 1 e 3 * n . t i m e o u t ) ) , i } , s h o w : f u n c t i o n ( e , t ) { r e t u r n t h i s . s h o w H t m l ( s ( ) ( " < d i v / > " ) . t e x t ( e ) . h t m l ( ) , t ) } , s h o w U p d a t e : f u n c t i o n ( e ) { v a r t = s ( ) ( " # n o t i f i c a t i o n " ) , n = s ( ) ( " < d i v / > " ) . t e x t ( e ) . h t m l ( ) ; i f ( e & & 0 = = t . f i n d ( " . r o w " ) . l e n g t h ) r e t u r n t h i s . s h o w H t m l ( n ) ; v a r a = s ( ) ( ' < d i v c l a s s = " r o w " > < / d i v > ' ) . p r e p e n d ( n ) ; r e t u r n t . h t m l ( a ) , a } , s h o w T e m p o r a r y : f u n c t i o n ( e , t ) { r e t u r n t = t | | { } , M . a . d e f a u l t s ( t , { i s H T M L : ! 1 , t i m e o u t : 7 } ) , t . i s H T M L ? t h i s . s h o w H t m l ( e , t ) : t h i s . s h o w ( e , t ) } , i s H i d d e n : f u n c t i o n ( ) { r e t u r n ! s ( ) ( " # n o t i f i c a t i o n " ) . f i n d ( " . r o w " ) . l e n g t h } } , n e = r ( 5 6 ) , a e = f u n c t i o n ( e ) { f e . S e a r c h . s e a r c h ( e , n u l l , 0 , 3 0 ) } ;
2019-01-30 19:06:01 +03: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-05-14 19:18:31 +03:00
* / a e . c u s t o m R e s u l t s = { } , a e . r e s u l t T y p e s = { } ; v a r r e = a e , i e = w i n d o w . _ t h e m e | | { } , s e = r ( 1 ) , o e = r . n ( s e ) ;
2019-01-30 19:06:01 +03: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/>.
* /
/ *
* @ 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-05-14 12:14:29 +03:00
* /
2019-05-14 19:25:47 +03:00
function de ( e ) { for ( var t , n = [ ] , a = 0 , r = - 1 , i = 0 ; a < e . length ; ) { t = e . charAt ( a ) ; var s = ! i && "." === t || t >= "0" && t <= "9" ; s !== i && ( n [ ++ r ] = "" , i = s ) , n [ r ] += t , a ++ } return n } var ue = { History : { _handlers : [ ] , _pushState : function ( e , t , n ) { var a ; if ( a = "string" == typeof e ? e : fe . buildQueryString ( e ) , window . history . pushState ) { if ( t = t || location . pathname + "?" + a , navigator . userAgent . toLowerCase ( ) . indexOf ( "firefox" ) > - 1 && parseInt ( navigator . userAgent . split ( "/" ) . pop ( ) ) < 51 ) for ( var r , i = document . querySelectorAll ( '[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]' ) , s = 0 , o = i . length ; s < o ; s ++ ) ( r = i [ s ] ) . style . fill = r . style . fill , r . style . stroke = r . style . stroke , r . removeAttribute ( "filter" ) , r . setAttribute ( "filter" , "url(#invert)" ) ; n ? window . history . replaceState ( e , "" , t ) : window . history . pushState ( e , "" , t ) } else window . location . hash = "?" + a , this . _cancelPop = ! 0 } , pushState : function ( e , t ) { return this . _pushState ( e , t , ! 1 ) } , replaceState : function ( e , t ) { return 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 = fe . parseQueryString ( this . _decodeQuery ( t ) ) ) , ( e = M . a . extend ( e || { } , fe . 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 , M . a . isString ( t ) ? t = fe . parseQueryString ( t ) : t || ( t = this . parseUrlQuery ( ) || { } ) ; for ( var n = 0 ; n < this . _handlers . length ; n ++ ) this . _handlers [ n ] ( t ) } } } , humanFileSize : r ( 57 ) . a , computerFileSize : function ( e ) { if ( "string" != typeof e ) return null ; var t = e . toLowerCase ( ) . trim ( ) , n = null , a = t . match ( /^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i ) ; return null === a ? null : ( n = parseFloat ( t ) , isFinite ( n ) ? ( a [ 5 ] && ( n *= { b : 1 , k : 1024 , kb : 1024 , mb : 1048576 , m : 1048576 , gb : 1073741824 , g : 1073741824 , tb : 1099511627776 , t : 1099511627776 , pb : 0x4000000000000 , p : 0x4000000000000 } [ a [ 5 ] ] ) , n = Math . round ( n ) ) : null ) } , formatDate : function ( e , t ) { return t = t || "LLL" , oe ( ) ( e ) . format ( t ) } , relativeModifiedDate : function ( e ) { var n = oe ( ) ( ) . diff ( oe ( ) ( e ) ) ; return n >= 0 && n < 45e3 ? t ( "core" , "seconds ago" ) : oe ( ) ( e ) . fromNow ( ) } , isIE : function ( ) { return s ( ) ( "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 a = e . offsetWidth ; return n === a && ( a = t . clientWidth ) , document . body . removeChild ( t ) , this . _scrollBarWidth = n - a , this . _scrollBarWidth } , stripTime : function ( e ) { return new Date ( e . getFullYear ( ) , e . getMonth ( ) , e . getDate ( ) ) } , naturalSortCompare : function ( e , t ) { var n , a = de ( e ) , r = de ( t ) ; for ( n = 0 ; a [ n ] && r [ n ] ; n ++ ) if ( a [ n ] !== r [ n ] ) { var i = Number ( a [ n ] ) , s = Number ( r [ n ] ) ; return i == a [ n ] && s == r [ n ] ? i - s : a [ n ] . localeCompare ( r [ n ] , fe . getLanguage ( ) ) } return a . length - r . length } , waitFor : function ( e , t ) { ! function n ( ) { ! 0 !== e ( ) && setTimeout ( n , t ) } ( ) } , isCookieSetToValue : function ( e , t ) { for ( var n = document . cookie . split ( ";" ) , a = 0 ; a < n . length ; a ++ ) { var r = n [ a ] . split ( "=" ) ; if ( r [ 0 ] . trim ( ) === e && r [ 1 ] . trim ( ) === t ) return ! 0 } return ! 1 } } , le = window . _oc _debug , ce = window . _oc _webroot ;
2019-05-14 12:14:29 +03: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-05-14 19:25:47 +03:00
* / i f ( v o i d 0 = = = c e ) { v a r _ e = ( c 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 / " ) ; c e = - 1 ! = = _ e ? c e . s u b s t r ( 0 , _ e ) : c e . s u b s t r ( 0 , c e . l a s t I n d e x O f ( " / " ) ) } v a r m e , h e = c e , f e = a . 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 ( P . 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 a ; 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 r = O C . f i l e P a t h ( e , " j s " , t + " . j s " ) ; r e t u r n o [ r ] ? n & & n ( ) : ( a = s . a . D e f e r r e d ( ) , s . a . g e t S c r i p t ( r , f u n c t i o n ( ) { r e t u r n a . r e s o l v e ( ) } ) , o [ r ] = a ) , o [ r ] } , 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 = s ( ) ( ' < 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 + ' " / > ' ) , s ( ) ( " h e a d " ) . a p p e n d ( t ) ) ) } , A p p s : u . a , A p p C o n f i g : _ , a p p C o n f i g : c , 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 } ; s . a . e x t e n d ( n , e ) ; v a r a = s ( ) ( " # a p p s e t t i n g s " ) ; i f ( 0 = = = a . 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 r = s ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ; i f ( 0 = = = r . l e n g t h & & ( s ( ) ( " 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 > ' ) , ( r = s ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ) . a d d C l a s s ( a . 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 " ) ) , r . i s ( " : v i s i b l e " ) ) r . h i d e ( ) . r e m o v e ( ) ; e l s e { v a r i = a . h a s C l a s s ( " t o p r i g h t " ) ? " u p " : " l e f t " ; s . a . g e t ( O b j e c t ( m . 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 ) { r . h t m l ( e ) . r e a d y ( f u n c t i o n ( ) { i f ( r . p r e p e n d ( ' < s p a n c l a s s = " a r r o w ' + i + ' " > < / 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 ( ) , r . 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 ( ) { r . 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 & & s . a . a j a x S e t u p ( { c a c h e : ! 0 } ) , s . a . g e t S c r i p t ( O b j e c t ( m . 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 : h , B a c k b o n e : x , C o n t a c t s M e n u : O . a , c o n f i g : P , c u r r e n t U s e r : F , d i a l o g s : I , E v e n t S o u r c e : $ , 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 : F , d i s p l a y N a m e : C } } , 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 V } , L 1 0 N : Z , _ c a p a b i l i t i e s : U ( ) , g e t C a p a b i l i t i e s : U , h i d e M e n u s : B , r e g i s t e r M e n u : f u n c t i o n ( e , t , n , a ) { t . a d d C l a s s ( " m e n u " ) , e . o n ( " A " = = = e . p r o p ( " t a g N a m e " ) ? " 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 ( r ) { r . p r e v e n t D e f a u l t ( ) , r . k e y & & " E n t e r " ! = = r . k e y | | ( t . i s ( q ) ? B ( ) : ( q & & B ( ) , ! 0 = = = a & & 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 ) , q = t , e ) ) } ) } , s h o w M e n u : f u n c t i o n ( e , t , n ) { t . i s ( q ) | | ( B ( ) , q = t , e , t . t r i g g e r ( n e w s . 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 s . a . E v e n t ( " a f t e r S h o w " ) ) , M . 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 ( q ) & & B ( ) , 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 e n u " ) } , b a s e n a m e : f u n c t i o n ( e ) { r e t u r n e . r e p l a c e ( / \ \ / g , " / " ) . r e p l a c e ( / . * \ / / , " " ) } , e n c o d e P a t h : f u n c t i o n ( e ) { i f ( ! e ) r e t u r n e ; f o r ( v a r t = e . s p l i t ( " / " ) , n = [ ] , a = 0 ; a < t . l e n g t h ; a + + ) n . p u s h ( e n c o d e U R I C o m p o n e n t ( t [ a ] ) ) ; r e t u r n n . j o i n ( " / " ) } , d i r n a m e : f u n c t i o n ( e ) { r e t u r n e . r e p l a c e ( / \ \ / g , " / " ) . r e p l a c e ( / \ / [ ^ \ / ] * $ / , " " ) } , i s S a m e P a t h : f u n c t i o n ( e , t ) { v a r n = ( e | | " " ) . s p l i t ( " / " ) . f i l t e r ( f u n c t i o n ( e ) { r e t u r n " . " ! = = e } ) , a = ( t | | " " ) . s p l i t ( " / " ) . f i l t e r ( f u n c t i o n ( e ) { r e t u r n " . " ! = = e } ) ; r e t u r n ( e = H . a p p l y ( v o i d 0 , n ) ) = = = ( t = H . a p p l y ( v o i d 0 , a ) ) } , j o i n P a t h s : H , g e t H o s t : f u n c t i o n ( ) { r e t u r n w i n d o w . l o c a t i o n . h o s t } , g e t H o s t N a m e : f u n c t i o n ( ) { r e t u r n w i n d o w . l o c a t i o n . h o s t n a m e } , g e t P o r t : f u n c t i o n ( ) { r e t u r n w i n d o w . l o c a t i o n . p o r t } , g e t P r o t o c o l : f u n c t i o n ( ) { r e t u r n w i n d o w . l o c a t i o n . p r o t o c o l . s p l i t ( " : " ) [ 0 ] } , g e t C a n o n i c a l L o c a l e : f u n c t i o n ( ) { v a r e = Q ( ) ; r e t u r n " s t r i n g " = = t y p e o f e ? e . r e p l a c e ( / _ / g , " - " ) : e } , g e t L o c a l e : Q , g e t L a n g u a g e : f u n c t i o n ( ) { r e t u r n s ( ) ( " h t m l " ) . p r o p ( " l a n g " ) } , a d d T r a n s l a t i o n s : Z . l o a d , b u i l d Q u e r y S t r i n g : j . a , p a r s e Q u e r y S t r i n g : j . b , m s g : e e , N o t i f i c a t i o n : t e , P a s s w o r d C o n f i r m a t i o n : n e . a , P l u g i n s : { _ p l u
2019-01-30 19:06:01 +03: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-05-14 19:25:47 +03:00
* / O b j e c t ( z . c ) ( f u n c t i o n ( e ) { r e t u r n O C . r e q u e s t T o k e n = e } ) } , 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 a } ) , n . d ( t , " j " , f u n c t i o n ( ) { r e t u r n r } ) , n . d ( t , " d " , f u n c t i o n ( ) { r e t u r n i } ) , 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 d } ) , n . d ( t , " c " , f u n c t i o n ( ) { r e t u r n u } ) , 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 _ } ) ;
2019-01-30 19:06:01 +03: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
*
2019-05-10 14:38:11 +03:00
* This program is free software = you can redistribute it and / or modify
2019-01-30 19:06:01 +03:00
* it under the terms of the GNU Affero General Public License as
2019-05-10 14:38:11 +03:00
* published by the Free Software Foundation either version 3 of the
* License or ( at your option ) any later version .
2019-01-30 19:06:01 +03:00
*
2019-05-10 14:38:11 +03:00
* This program is distributed in the hope that it will be useful
2019-01-30 19:06:01 +03:00
* 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
2019-05-10 14:38:11 +03:00
* along with this program . If not see < http : //www.gnu.org/licenses/>.
* /
2019-05-14 19:25:47 +03:00
var a = [ "" , "admin" , "log" , "core/search" , "settings" , "core" , "3rdparty" ] , r = 50 , i = 0 , s = 4 , o = 1 , d = 2 , u = 8 , l = 16 , c = 31 , _ = "_$!<Favorite>!$_" } , , , , , function ( e , t , n ) { "use strict" ; n . d ( t , "e" , function ( ) { return o } ) , n . d ( t , "h" , function ( ) { return d } ) , n . d ( t , "g" , function ( ) { return u } ) , n . d ( t , "f" , function ( ) { return l } ) , n . d ( t , "b" , function ( ) { return c } ) , n . d ( t , "d" , function ( ) { return _ } ) , n . d ( t , "a" , function ( ) { return m } ) , n . d ( t , "c" , function ( ) { return h } ) ; var a = n ( 2 ) , r = n . n ( a ) , i = n ( 4 ) , s = n ( 5 ) , o = function ( e , t ) { return m ( e , "" , t ) } , d = function ( e ) { return h ( ) + "/remote.php/" + e } , u = function ( e ) { return window . location . protocol + "//" + window . location . host + d ( e ) } , l = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + h ( ) + "/ocs/v" + t + ".php/" + e + "/" } , c = function ( e , t , n ) { var a = n || { } ; r . a . defaults ( a , { escape : ! 0 } ) ; var i = function ( e , t ) { return t = t || [ ] , e . replace ( /{([^{}]*)}/g , function ( e , n ) { var r = t [ n ] ; return a . escape ? "string" == typeof r || "number" == typeof r ? encodeURIComponent ( r ) : encodeURIComponent ( e ) : "string" == typeof r || "number" == typeof r ? r : e } ) } ; return "/" !== e . charAt ( 0 ) && ( e = "/" + e ) , ! 0 === oc _config . modRewriteWorking ? h ( ) + i ( e , t ) : h ( ) + "/index.php" + i ( e , t ) } , _ = function ( e , t ) { return - 1 === t . indexOf ( "." ) ? m ( e , "img" , t + ".svg" ) : m ( e , "img" , t ) } , m = function ( e , t , n ) { var a = - 1 !== s . i . indexOf ( e ) , r = h ( ) ; return "php" !== n . substring ( n . length - 3 ) || a ? "php" === n . substring ( n . length - 3 ) || a ? ( r += "settings" !== e && "core" !== e && "search" !== e || "ajax" !== t ? "/" : "/index.php/" , a || ( r += "apps/" ) , "" !== e && ( r += e += "/" ) , t && ( r += t + "/" ) , r += n ) : ( r = i . a . appswebroots [ e ] , t && ( r += "/" + t + "/" ) , "/" !== r . substring ( r . length - 1 ) && ( r += "/" ) , r += n ) : ( r += "/index.php/apps/" + e , "index.php" !== n && ( r += "/" , t && ( r += encodeURI ( t + "/" ) ) , r += n ) ) , r } , h = function ( ) { return i . a . webroot } } , , , , function ( e , t , n ) { "use strict" ; t . _ _esModule = ! 0 , t . extend = o , t . indexOf = function ( e , t ) { for ( var n = 0 , a = e . length ; n < a ; 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 ( ! i . test ( e ) ) return e ; return e . replace ( r , 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 a = { "&" : "&" , "<" : "<" , ">" : ">" , '"' : """ , "'" : "'" , "`" : "`" , "=" : "=" } , r = /[&<>"'`=]/g , i = /[&<>"'`=]/ ; function s ( e ) { return a [ 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 d = Object . prototype . toString ; t . toString = d ; var u = function ( e ) { return "function" == typeof e } ; u ( /x/ ) && ( t . isFunction = u = function ( e ) { return "function" == typeof e && "[object Function]" === d . call ( e ) } ) , t . isFunction = u ; var l = Array . isArray || function ( e ) { return ! ( ! e || "object" != typeof e ) && "[object Array]" === d . call ( e ) } ; t . isArray = l } , , function ( e , t , n ) { ( function ( a ) { var r , i , s ; s = "object" == typeof self && self . self === self && self || "object" == typeof a && a . global === a && a , r = [ n ( 2 ) , n ( 0 ) , t ] , void 0 === ( i = function ( e , t , n ) { s . Backbone = function ( e , t , n , a ) { var r = e . Backbone , i = Array . prototype . slice ; t . VERSION = "1.4.0" , t . $ = a , t . noConflict = function ( ) { return e . Backbone = r , this } , t . emulateHTTP = ! 1 , t . emulateJSON = ! 1 ; var s , o = t . Events = { } , d = /\s+/ , u = function ( e , t , a , r , i ) { var s , o = 0 ; if ( a && "object" == typeof a ) { void 0 !== r && "context" in i && void 0 === i . context && ( i . context = r ) ; for ( s = n . keys ( a ) ; o < s . length ; o ++ ) t = u ( e , t , s [ o ] , a [ s [ o ] ] , i ) } else if ( a && d . test ( a ) ) for ( s = a . split ( d ) ; o < s . length ; o ++ ) t = e ( t , s [ o ] , r , i ) ; else t = e ( t , a , r , i ) ; return t } ; o . on = function ( e , t , n ) { if ( this . _events = u ( l , this . _events || { } , e , t , { context : n , ctx : this , listening : s } ) , s ) { var a = this . _listeners || ( this . _listeners = { } ) ; a [ s . id ] = s , s . interop = ! 1 } return this } , o . listenTo = function ( e , t , a ) { if ( ! e ) return this ; var r = e . _listenId || ( e . _listenId = n . uniqueId ( "l" ) ) , i = this . _listeningTo || ( this . _listeningTo = { } ) , o = s = i [ r ] ; o || ( this . _listenId || ( this . _listenId = n . uniqueId ( "l" ) ) , o = s = i [ r ] = new p ( this , e ) ) ; var d = c ( e , t , a , this ) ; if ( s = void 0 , d ) throw d ; return o . interop && o . on ( t , a ) , this } ; var l = function ( e , t , n , a ) { if ( n ) { var r = e [ t ] || ( e [ t ] = [ ] ) , i = a . context , s = a . ctx , o = a . listening ; o && o . count ++ , r . push ( { callback : n , context : i , ctx : i || s , listening :
2019-05-10 15:18:08 +03: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/>.
* /
var a = document . getElementsByTagName ( "head" ) [ 0 ] . getAttribute ( "data-requesttoken" ) , r = [ ] , i = function ( ) { return a } , s = function ( e ) { return r . push ( e ) } , o = function ( e ) { a = e , r . forEach ( function ( e ) { return e ( a ) } ) } } , function ( e , t , n ) { "use strict" ; n . r ( t ) , function ( e ) { n . d ( t , "getApps" , function ( ) { return o } ) , n . d ( t , "getKeys" , function ( ) { return d } ) , n . d ( t , "getValue" , function ( ) { return u } ) , n . d ( t , "setValue" , function ( ) { return l } ) , n . d ( t , "deleteKey" , function ( ) { return c } ) ; var a = n ( 0 ) , r = n . n ( a ) , i = n ( 4 ) ;
2019-01-30 19:06:01 +03: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/>.
*
* /
function s ( t , n , a ) { "post" !== t && "delete" !== t || ! i . a . PasswordConfirmation . requiresPasswordConfirmation ( ) ? ( a = a || { } , r . a . ajax ( { type : t . toUpperCase ( ) , url : i . a . linkToOCS ( "apps/provisioning_api/api/v1" , 2 ) + "config/apps" + n , data : a . data || { } , success : a . success , error : a . error } ) ) : i . a . PasswordConfirmation . requirePasswordConfirmation ( e . bind ( s , this , t , n , a ) ) } function o ( e ) { s ( "get" , "" , e ) } function d ( e , t ) { s ( "get" , "/" + e , t ) } function u ( e , t , n , a ) { ( a = a || { } ) . data = { defaultValue : n } , s ( "get" , "/" + e + "/" + t , a ) } function l ( e , t , n , a ) { ( a = a || { } ) . data = { value : n } , s ( "post" , "/" + e + "/" + t , a ) } function c ( e , t , n ) { s ( "delete" , "/" + e + "/" + t , n ) } } . call ( this , n ( 2 ) ) } , , , , function ( e , t , n ) { "use strict" ;
/ *
* @ 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-05-08 21:54:18 +03:00
* /t.a={}},,,,function(e,t,n){"use strict";t.__esModule=!0;var a=["description","fileName","lineNumber","message","name","number","stack"];function r(e,t){var n=t&&t.loc,i=void 0,s=void 0;n&&(e+=" - "+(i=n.start.line)+":"+(s=n.start.column));for(var o=Error.prototype.constructor.call(this,e),d=0;d<a.length;d++)this[a[d]]=o[a[d]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=i,Object.defineProperty?Object.defineProperty(this,"column",{value:s,enumerable:!0}):this.column=s)}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default},,,,,,,,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,n){"use strict";n.d(t,"b",function(){return o});var a=n(0),r=n.n(a),i=!1,s={enableDynamicSlideToggle:function(){i=!0},showAppSidebar:function(e){(e||r()("#app-sidebar")).removeClass("disappear").show(),r()("#app-content").trigger(new r.a.Event("appresized"))},hideAppSidebar:function(e){(e||r()("#app-sidebar")).hide().addClass("disappear"),r()("#app-content").trigger(new r.a.Event("appresized"))}},o=function(){var e=r()("[data-apps-slide-toggle]");0===e.length&&r()("#app-navigation").addClass("without-app-settings"),r()(document).click(function(t){i&&(e=r()("[data-apps-slide-toggle]")),e.each(function(e,n){var a=r()(n).data("apps-slide-toggle"),i=r()(a);function s(){i.slideUp(4*OC.menuSpeed,function(){i.trigger(new r.a.Event("hide"))}),i.removeClass("opened"),r()(n).removeClass("opened")}if(!i.is(":animated"))if(r()(n).is(r()(t.target).closest("[data-apps-slide-toggle]")))i.is(":visible")?s():function(){i.slideDown(4*OC.menuSpeed,function(){i.trigger(new r.a.Event("show"))}),i.addClass("opened"),r()(n).addClass("opened");var e=r()(a+" [autofocus]");1===e.length&&e.focus()}();else{var o=r()(t.target).closest(a);i.is(":visible")&&o[0]!==i[0]&&s()}})})};t.a=s},function(e,t){"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,a){void 0===n&&(n=" 0 "),n=" "+n,(a=a||{}).Depth=n,a[" Content - Type "]=" application / xml ; charset = utf - 8 ";var r,i='<?xml version=" 1.0 "?>\n<d:propfind ';for(r in this.xmlNamespaces)i+=" xmlns : "+this.xmlNamespaces[r]+'=" '+r+' "';for(var s in i+=" > \ n < d : prop > \ n ",t)if(t.hasOwnProperty(s)){var o=this.parseClarkNotation(t[s]);this.xmlNamespaces[o.namespace]?i+=" < "+this.xmlNamespaces[o.namespace]+" : "+o.name+" / > \ n ":i+=" < x : "+o.name+' xmlns:x=" '+o.namespace+' " />\n'}return i+=" < / d : p r o p > \ n " , i + = " < / d : p r o p f i n d > " , t h i s . r e q u e s t ( " P R O P F I N D " , e , a , i ) . t h e n ( f u n c t i o n ( e ) { r e t u r n " 0 " = = = n ? { s t a t u s : e . s t a t u s , b o d y : e . b o d y [ 0 ] , x h r : e . x h r } : { s t a t u s : e . s t a t u s , b o d y : e . b o d y , x h r : e . x h r } } . b i n d ( t h i s ) ) } , _ r e n d e r P r o p S e t : f u n c t i o n ( e ) { v a r t = " < d : s e t > \ n < d : p r o p > \ n " ; f o r ( v a r n i n e ) i f ( e . h a s O w n P r o p e r t y ( n ) ) { v a r a , r = t h i s . p a r s e C l a r k N o t a t i o n ( n ) , i = e [ n ] ; " d : r e s o u r c e t y p e " ! = = ( a = t h i s . x m l N a m e s p a c e s [ r . n a m e s p a c e ] ? t h i s . x m l N a m e s p a c e s [ r . n a m e s p a c e ] + " : " + r . n a m e : " x : " + r . n a m e + ' x m l n s : x = " ' + r . n a m e s p a c e + ' " ' ) & & ( i = d a v . _ e s c a p e X m l ( i ) ) , t + = " < " + a + " > " + i + " < / " + a + " > \ n " } r e t u r n t + = " < / d : p r o p > \ n " , t + = " < / d : s e t > \ n " } , p r o p P a t c h : f u n c t i o n ( e , t , n ) { ( n = n | | { } ) [ " C o n t e n t - T y p e " ] = " a p p l i c a t i o n / x m l ; c h a r s e t = u t f - 8 " ; v a r a , r = ' < ? x m l v e r s i o n = " 1 . 0 " ? > \ n < d : p r o p e r t y u p d a t e ' ; f o r ( a i n t h i s . x m l N a m e s p a c e s ) r + = " x m l n s : " + t h i s . x m l N a m e s p a c e s [ a ] + ' = " ' + a + ' " ' ; r e t u r n r + = " > \ n " + t h i s . _ r e n d e r P r o p S e t ( t ) , r + = " < / d : p r o p e r t y u p d a t e > " , t h i s . r e q u e s t ( " P R O P P A T C H " , e , n , r ) . t h e n ( f u n c t i o n ( e ) { r e t u r n { s t a t u s : e . s t a t u s , b o d y : e . b o d y , x h r : e . x h r } } . b i n d ( t h i s ) ) } , m k c o l : f u n c t i o n ( e , t , n ) { v a r a = " " ; i f ( ( n = n | | { } ) [ " C o n t e n t - T y p e " ] = " a p p l i c a t i o n / x m l ; c h a r s e t = u t f - 8 " , t ) { v a r r ; f o r ( r i n a = ' < ? x m l v e r s i o n = " 1 . 0 " ? > \ n < d : m k c o l ' , t h i s . x m l N a m e s p a c e s ) a + = " x m l n s : " + t h i s . x m l N a m e s p a c e s [ r ] + ' = " ' + r + ' " ' ; a + = " > \ n " + t h i s . _ r e n d e r P r o p S e t ( t ) , a + = " < / d : m k c o l > " } r e t u r n t h i s . r e q u e s t ( " M K C O L " , e , n , a ) . t h e n ( f u n c t i o n ( e ) { r e t u r n { s t a t u s : e . s t a
2019-01-30 19:06:01 +03: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-05-10 14:38:11 +03: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 " , i . 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 = u . 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 * n c _ p a g e L o a d , t = u . a . n o w ( ) - ( e + 1 e 3 * n c _ l a s t L o g i n ) ; r e t u r n 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 , a ) { n = v o i d 0 ! = = n ? n : { } ; v a r r = { 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 = i . a . e x t e n d ( r , n ) , d = 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 ? d . _ c o n f i r m P a s s w o r d ( t , s ) : i . a . i s F u n c t i o n ( a ) & & a ( ) } , ! 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 a = 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 ) { n c _ l a s t L o g i n = e . l a s t L o g i n , i . a . i s F u n c t i o n ( a . c a l l b a c k ) & & a . 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 ( a . 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-01-30 19:06:01 +03: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-05-10 14:38:11 +03:00
* /
2019-05-14 19:18:31 +03:00
function a ( e , t ) { var n = [ "B" , "KB" , "MB" , "GB" , "TB" ] , a = e > 0 ? Math . floor ( Math . log ( e ) / Math . log ( 1024 ) ) : 0 , r = n [ a = Math . min ( n . length - 1 , a ) ] , i = ( e / Math . pow ( 1024 , a ) ) . toFixed ( 1 ) ; return ! 0 === t && 0 === a ? "0.0" !== i ? "< 1 KB" : "0 KB" : ( i = a < 2 ? parseFloat ( i ) . toFixed ( 0 ) : ".0" === i . substr ( i . length - 2 , 2 ) ? i . substr ( 0 , i . length - 2 ) : parseFloat ( i ) . toLocaleString ( OC . getCanonicalLocale ( ) ) ) + " " + r } n . d ( t , "a" , function ( ) { return a } ) } , function ( e , t , n ) { "use strict" ; ( function ( e ) { n . d ( t , "b" , function ( ) { return a } ) , n . d ( t , "a" , function ( ) { return r } ) ;
/ *
* @ 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/>.
* /
var a = function ( e ) { var t , n , a , r , i = { } ; 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 ] ; ( a = ( n = o . indexOf ( "=" ) ) >= 0 ? [ o . substr ( 0 , n ) , o . substr ( n + 1 ) ] : [ o ] ) . length && ( ( r = decodeURIComponent ( a [ 0 ] ) ) && ( a . length > 1 ? i [ r ] = decodeURIComponent ( a [ 1 ] ) : i [ r ] = null ) ) } return i } , r = 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 ) { var a , r ; ( r = function ( ) { "use strict" ; var e = { DAY : 864e5 , HOUR : 36e5 , MINUTE : 6e4 , SECOND : 1e3 , BASELINE _YEAR : 2014 , MAX _SCORE : 864e6 , AMBIGUITIES : { "America/Denver" : [ "America/Mazatlan" ] , "Europe/London" : [ "Africa/Casablanca" ] , "America/Chicago" : [ "America/Mexico_City" ] , "America/Asuncion" : [ "America/Campo_Grande" , "America/Santiago" ] , "America/Montevideo" : [ "America/Sao_Paulo" , "America/Santiago" ] , "Asia/Beirut" : [ "Asia/Amman" , "Asia/Jerusalem" , "Europe/Helsinki" , "Asia/Damascus" , "Africa/Cairo" , "Asia/Gaza" , "Europe/Minsk" ] , "Pacific/Auckland" : [ "Pacific/Fiji" ] , "America/Los_Angeles" : [ "America/Santa_Isabel" ] , "America/New_York" : [ "America/Havana" ] , "America/Halifax" : [ "America/Goose_Bay" ] , "America/Godthab" : [ "America/Miquelon" ] , "Asia/Dubai" : [ "Asia/Yerevan" ] , "Asia/Jakarta" : [ "Asia/Krasnoyarsk" ] , "Asia/Shanghai" : [ "Asia/Irkutsk" , "Australia/Perth" ] , "Australia/Sydney" : [ "Australia/Lord_Howe" ] , "Asia/Tokyo" : [ "Asia/Yakutsk" ] , "Asia/Dhaka" : [ "Asia/Omsk" ] , "Asia/Baku" : [ "Asia/Yerevan" ] , "Australia/Brisbane" : [ "Asia/Vladivostok" ] , "Pacific/Noumea" : [ "Asia/Vladivostok" ] , "Pacific/Majuro" : [ "Asia/Kamchatka" , "Pacific/Fiji" ] , "Pacific/Tongatapu" : [ "Pacific/Apia" ] , "Asia/Baghdad" : [ "Europe/Minsk" , "Europe/Moscow" ] , "Asia/Karachi" : [ "Asia/Yekaterinburg" ] , "Africa/Johannesburg" : [ "Asia/Gaza" , "Africa/Cairo" ] } } , t = function ( e ) { var t = - e . getTimezoneOffset ( ) ; return null !== t ? t : 0 } , n = function ( e ) { for ( var t = new Date ( e , 0 , 1 , 0 , 0 , 1 , 0 ) . getTime ( ) , n = new Date ( e , 12 , 31 , 23 , 59 , 59 ) . getTime ( ) , r = t , i = new Date ( r ) . getTimezoneOffset ( ) , s = null , o = null ; r < n - 864e5 ; ) { var d = new Date ( r ) , u = d . getTimezoneOffset ( ) ; u !== i && ( u < i && ( s = d ) , u > i && ( o = d ) , i = u ) , r += 864e5 } return ! ( ! s || ! o ) && { s : a ( s ) . getTime ( ) , e : a ( o ) . getTime ( ) } } , a = function t ( n , a , r ) { void 0 === a && ( a = e . DAY , r = e . HOUR ) ; for ( var i = new Date ( n . getTime ( ) - a ) . getTime ( ) , s = n . getTime ( ) + a , o = new Date ( i ) . getTimezoneOffset ( ) , d = i , u = null ; d < s - r ; ) { var l = new Date ( d ) ; if ( l . getTimezoneOffset ( ) !== o ) { u = l ; break } d += r } return a === e . DAY ? t ( u , e . HOUR , e . MINUTE ) : a === e . HOUR ? t ( u , e . MINUTE , e . SECOND ) : u } , i = function ( t ) { var a = function ( ) { for ( var e = [ ] , t = 0 ; t < r . olson . dst _rules . years . length ; t ++ ) { var a = n ( r . olson . dst _rules . years [ t ] ) ; e . push ( a ) } return e } ( ) ; return function ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) if ( ! 1 !== e [ t ] ) return ! 0 ; return ! 1 } ( a ) ? function ( t , n ) { for ( var a = function ( a ) { for ( var r = 0 , i = 0 ; i < t . length ; i ++ ) if ( a . rules [ i ] && t [ i ] ) { if ( ! ( t [ i ] . s >= a . rules [ i ] . s && t [ i ] . e <= a . rules [ i ] . e ) ) { r = "N/A" ; break } if ( r = 0 , r += Math . abs ( t [ i ] . s - a . rules [ i ] . s ) , ( r += Math . abs ( a . rules [ i ] . e - t [ i ] . e ) ) > e . MAX _SCORE ) { r = "N/A" ; break } } return r = function ( e , t , n , a ) { if ( "N/A" !== n ) return n ; if ( "Asia/Beirut" === t ) { if ( "Africa/Cairo" === a . name && 13983768e5 === e [ 6 ] . s && 14116788e5 === e [ 6 ] . e ) return 0 ; if ( "Asia/Jerusalem" === a . name && 13959648e5 === e [ 6 ] . s && 14118588e5 === e [ 6 ] . e ) return 0 } else if ( "America/Santiago" === t ) { if ( "America/Asuncion" === a . name && 14124816e5 === e [ 6 ] . s && 1397358e6 === e [ 6 ] . e ) return 0 ; if ( "America/Campo_Grande" === a . name && 14136912e5 === e [ 6 ] . s && 13925196e5 === e [ 6 ] . e ) return 0 } else if ( "America/Montevideo" === t ) { if ( "America/Sao_Paulo" === a . name && 14136876e5 === e [ 6 ] . s && 1392516e6 === e [ 6 ] . e ) return 0 } else if ( "Pacific/Auckland" === t && "Pacific/Fiji" === a . name && 14142456e5 === e [ 6 ] . s && 13961016e5 === e [ 6 ] . e ) return 0 ; return n } ( t , n , r , a ) } , i = { } , s = r . olson . dst _rules . zones , o = s . length , d = e . AMBIGUITIES [ n ] , u = 0 ; u < o ; u ++ ) { var l = s [ u ] , c = a ( s [ u ] ) ; "N/A" !== c && ( i [ l . name ] = c ) } for ( var _ in i ) if ( i . hasOwnProperty ( _ ) ) for ( var m = 0 ; m < d . length ; m ++ ) if ( d [ m ] === _ ) return _ ; return n } ( a , t ) : t } ; return { determine : function ( ) { var n , a , s , o = function ( ) { var e , t ; if ( "undefined" != typeof Intl && void 0 !== Intl . DateTimeFormat && void 0 !== ( e = Intl . DateTimeFormat ( ) ) && void 0 !== e . resolvedOptions ) return ( t = e . resolvedOptions ( ) . timeZone ) && ( t . indexOf ( "/" ) > - 1 || "UTC" === t ) ? t : void 0 } ( ) ; return o || ( o = r . olson . timezon
2019-01-30 19:06:01 +03:00
//# sourceMappingURL=login.js.map