2019-10-27 10:19:41 +00:00
! function ( e ) { var t = { } ; function n ( i ) { if ( t [ i ] ) return t [ i ] . exports ; var r = t [ i ] = { i : i , l : ! 1 , exports : { } } ; return e [ i ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } n . m = e , n . c = t , n . d = function ( e , t , i ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : i } ) } , 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 i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var r in e ) n . d ( i , r , function ( t ) { return e [ t ] } . bind ( null , r ) ) ; return i } , 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 = 679 ) } ( [ function ( e , t , n ) { var i , r , o ;
2018-12-11 19:56:46 +00:00
/ * !
2019-03-06 11:22:49 +00:00
* jQuery JavaScript Library v2 . 1.4
2018-12-11 19:56:46 +00:00
* http : //jquery.com/
*
* Includes Sizzle . js
* http : //sizzlejs.com/
*
2019-03-06 11:22:49 +00:00
* Copyright 2005 , 2014 jQuery Foundation , Inc . and other contributors
2018-12-11 19:56:46 +00:00
* Released under the MIT license
* http : //jquery.org/license
*
2019-03-06 11:22:49 +00:00
* Date : 2015 - 04 - 28 T16 : 01 Z
2019-11-03 08:22:59 +00:00
* /r="undefined"!=typeof window?window:this,o=function(n,r){var o=[],s=o.slice,a=o.concat,l=o.push,c=o.indexOf,u={},d=u.toString,h=u.hasOwnProperty,f={},p=n.document,m=function(e,t){return new m.fn.init(e,t)},g=/ ^ [ \ s\uFEFF \ xA0 ] + | [ \ s\uFEFF \ xA0 ] + $ / g , _ = /^-ms-/ , v = /-([\da-z])/gi , y = function ( e , t ) { return t . toUpperCase ( ) } ; function b ( e ) { var t = "length" in e && e . length , n = m . type ( e ) ; return "function" !== n && ! m . isWindow ( e ) && ( ! ( 1 !== e . nodeType || ! t ) || "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e ) } m . fn = m . prototype = { jquery : "2.1.4" , constructor : m , 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 = m . merge ( this . constructor ( ) , e ) ; return t . prevObject = this , t . context = this . context , t } , each : function ( e , t ) { return m . each ( this , e , t ) } , map : function ( e ) { return this . pushStack ( m . 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 : l , sort : o . sort , splice : o . splice } , m . extend = m . fn . extend = function ( ) { var e , t , n , i , r , o , s = arguments [ 0 ] || { } , a = 1 , l = arguments . length , c = ! 1 ; for ( "boolean" == typeof s && ( c = s , s = arguments [ a ] || { } , a ++ ) , "object" == typeof s || m . isFunction ( s ) || ( s = { } ) , a === l && ( s = this , a -- ) ; a < l ; a ++ ) if ( null != ( e = arguments [ a ] ) ) for ( t in e ) n = s [ t ] , s !== ( i = e [ t ] ) && ( c && i && ( m . isPlainObject ( i ) || ( r = m . isArray ( i ) ) ) ? ( r ? ( r = ! 1 , o = n && m . isArray ( n ) ? n : [ ] ) : o = n && m . isPlainObject ( n ) ? n : { } , s [ t ] = m . extend ( c , o , i ) ) : void 0 !== i && ( s [ t ] = i ) ) ; return s } , m . 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" === m . type ( e ) } , isArray : Array . isArray , isWindow : function ( e ) { return null != e && e === e . window } , isNumeric : function ( e ) { return ! m . isArray ( e ) && e - parseFloat ( e ) + 1 >= 0 } , isPlainObject : function ( e ) { return ! ( "object" !== m . type ( e ) || e . nodeType || m . isWindow ( e ) || e . constructor && ! h . 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 ? u [ d . call ( e ) ] || "object" : typeof e } , globalEval : function ( e ) { var t , n = eval ; ( e = m . trim ( e ) ) && ( 1 === e . indexOf ( "use strict" ) ? ( ( t = p . createElement ( "script" ) ) . text = e , p . head . appendChild ( t ) . parentNode . removeChild ( t ) ) : n ( e ) ) } , camelCase : function ( e ) { return e . replace ( _ , "ms-" ) . replace ( v , y ) } , nodeName : function ( e , t ) { return e . nodeName && e . nodeName . toLowerCase ( ) === t . toLowerCase ( ) } , each : function ( e , t , n ) { var i = 0 , r = e . length , o = b ( e ) ; if ( n ) { if ( o ) for ( ; i < r && ! 1 !== t . apply ( e [ i ] , n ) ; i ++ ) ; else for ( i in e ) if ( ! 1 === t . apply ( e [ i ] , n ) ) break } else if ( o ) for ( ; i < r && ! 1 !== t . call ( e [ i ] , i , e [ i ] ) ; i ++ ) ; else for ( i in e ) if ( ! 1 === t . call ( e [ i ] , i , e [ i ] ) ) break ; return e } , trim : function ( e ) { return null == e ? "" : ( e + "" ) . replace ( g , "" ) } , makeArray : function ( e , t ) { var n = t || [ ] ; return null != e && ( b ( Object ( e ) ) ? m . merge ( n , "string" == typeof e ? [ e ] : e ) : l . call ( n , e ) ) , n } , inArray : function ( e , t , n ) { return null == t ? - 1 : c . call ( t , e , n ) } , merge : function ( e , t ) { for ( var n = + t . length , i = 0 , r = e . length ; i < n ; i ++ ) e [ r ++ ] = t [ i ] ; return e . length = r , e } , grep : function ( e , t , n ) { for ( var i = [ ] , r = 0 , o = e . length , s = ! n ; r < o ; r ++ ) ! t ( e [ r ] , r ) !== s && i . push ( e [ r ] ) ; return i } , map : function ( e , t , n ) { var i , r = 0 , o = e . length , s = [ ] ; if ( b ( e ) ) for ( ; r < o ; r ++ ) null != ( i = t ( e [ r ] , r , n ) ) && s . push ( i ) ; else for ( r in e ) null != ( i = t ( e [ r ] , r , n ) ) && s . push ( i ) ; return a . apply ( [ ] , s ) } , guid : 1 , proxy : function ( e , t ) { var n , i , r ; if ( "string" == typeof t && ( n = e [ t ] , t = e , e = n ) , m . isFunction ( e ) ) return i = s . call ( arguments , 2 ) , ( r = function ( ) { return e . apply ( t || this , i . concat ( s . call ( arguments ) ) ) } ) . guid = e . guid = e . guid || m . guid ++ , r } , now : Date . now , support : f } ) , m . each ( "Boolean Number String Function Array Date RegExp Object Error" . split ( " " ) , ( function ( e , t ) { u [ "[object " + t + "]" ] = t . toLowerCase ( ) } ) ) ; var w =
2018-12-11 19:56:46 +00:00
/ * !
2019-03-06 11:22:49 +00:00
* Sizzle CSS Selector Engine v2 . 2.0 - pre
2018-12-11 19:56:46 +00:00
* http : //sizzlejs.com/
*
2019-03-06 11:22:49 +00:00
* Copyright 2008 , 2014 jQuery Foundation , Inc . and other contributors
2018-12-11 19:56:46 +00:00
* Released under the MIT license
* http : //jquery.org/license
*
2019-03-06 11:22:49 +00:00
* Date : 2014 - 12 - 16
2018-12-11 19:56:46 +00:00
* /
2019-11-24 10:13:21 +00:00
function ( e ) { var t , n , i , r , o , s , a , l , c , u , d , h , f , p , m , g , _ , v , y , b = "sizzle" + 1 * new Date , w = e . document , k = 0 , x = 0 , M = se ( ) , A = se ( ) , L = se ( ) , D = function ( e , t ) { return e === t && ( d = ! 0 ) , 0 } , T = 1 << 31 , S = { } . hasOwnProperty , Y = [ ] , C = Y . pop , E = Y . push , P = Y . push , O = Y . slice , H = function ( e , t ) { for ( var n = 0 , i = e . length ; n < i ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , I = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped" , j = "[\\x20\\t\\r\\n\\f]" , z = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+" , F = z . replace ( "w" , "w#" ) , N = "\\[" + j + "*(" + z + ")(?:" + j + "*([*^$|!~]?=)" + j + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + F + "))|)" + j + "*\\]" , B = ":(" + z + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + N + ")*)|.*)\\)|)" , R = new RegExp ( j + "+" , "g" ) , W = new RegExp ( "^" + j + "+|((?:^|[^\\\\])(?:\\\\.)*)" + j + "+$" , "g" ) , U = new RegExp ( "^" + j + "*," + j + "*" ) , Q = new RegExp ( "^" + j + "*([>+~]|" + j + ")" + j + "*" ) , q = new RegExp ( "=" + j + "*([^\\]'\"]*?)" + j + "*\\]" , "g" ) , V = new RegExp ( B ) , G = new RegExp ( "^" + F + "$" ) , J = { ID : new RegExp ( "^#(" + z + ")" ) , CLASS : new RegExp ( "^\\.(" + z + ")" ) , TAG : new RegExp ( "^(" + z . replace ( "w" , "w*" ) + ")" ) , ATTR : new RegExp ( "^" + N ) , PSEUDO : new RegExp ( "^" + B ) , CHILD : new RegExp ( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + j + "*(even|odd|(([+-]|)(\\d*)n|)" + j + "*(?:([+-]|)" + j + "*(\\d+)|))" + j + "*\\)|)" , "i" ) , bool : new RegExp ( "^(?:" + I + ")$" , "i" ) , needsContext : new RegExp ( "^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)" , "i" ) } , K = /^(?:input|select|textarea|button)$/i , X = /^h\d$/i , Z = /^[^{]+\{\s*\[native \w/ , $ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/ , ee = /[+~]/ , te = /'|\\/g , ne = new RegExp ( "\\\\([\\da-f]{1,6}" + j + "?|(" + j + ")|.)" , "ig" ) , ie = function ( e , t , n ) { var i = "0x" + t - 65536 ; return i != i || n ? t : i < 0 ? String . fromCharCode ( i + 65536 ) : String . fromCharCode ( i >> 10 | 55296 , 1023 & i | 56320 ) } , re = function ( ) { h ( ) } ; try { P . apply ( Y = O . call ( w . childNodes ) , w . childNodes ) , Y [ w . childNodes . length ] . nodeType } catch ( e ) { P = { apply : Y . length ? function ( e , t ) { E . apply ( e , O . call ( t ) ) } : function ( e , t ) { for ( var n = e . length , i = 0 ; e [ n ++ ] = t [ i ++ ] ; ) ; e . length = n - 1 } } } function oe ( e , t , i , r ) { var o , a , c , u , d , p , _ , v , k , x ; if ( ( t ? t . ownerDocument || t : w ) !== f && h ( t ) , i = i || [ ] , u = ( t = t || f ) . nodeType , "string" != typeof e || ! e || 1 !== u && 9 !== u && 11 !== u ) return i ; if ( ! r && m ) { if ( 11 !== u && ( o = $ . exec ( e ) ) ) if ( c = o [ 1 ] ) { if ( 9 === u ) { if ( ! ( a = t . getElementById ( c ) ) || ! a . parentNode ) return i ; if ( a . id === c ) return i . push ( a ) , i } else if ( t . ownerDocument && ( a = t . ownerDocument . getElementById ( c ) ) && y ( t , a ) && a . id === c ) return i . push ( a ) , i } else { if ( o [ 2 ] ) return P . apply ( i , t . getElementsByTagName ( e ) ) , i ; if ( ( c = o [ 3 ] ) && n . getElementsByClassName ) return P . apply ( i , t . getElementsByClassName ( c ) ) , i } if ( n . qsa && ( ! g || ! g . test ( e ) ) ) { if ( v = _ = b , k = t , x = 1 !== u && e , 1 === u && "object" !== t . nodeName . toLowerCase ( ) ) { for ( p = s ( e ) , ( _ = t . getAttribute ( "id" ) ) ? v = _ . replace ( te , "\\$&" ) : t . setAttribute ( "id" , v ) , v = "[id='" + v + "'] " , d = p . length ; d -- ; ) p [ d ] = v + ge ( p [ d ] ) ; k = ee . test ( e ) && pe ( t . parentNode ) || t , x = p . join ( "," ) } if ( x ) try { return P . apply ( i , k . querySelectorAll ( x ) ) , i } catch ( e ) { } finally { _ || t . removeAttribute ( "id" ) } } } return l ( e . replace ( W , "$1" ) , t , i , r ) } function se ( ) { var e = [ ] ; return function t ( n , r ) { return e . push ( n + " " ) > i . cacheLength && delete t [ e . shift ( ) ] , t [ n + " " ] = r } } function ae ( e ) { return e [ b ] = ! 0 , e } function le ( e ) { var t = f . createElement ( "div" ) ; try { return ! ! e ( t ) } catch ( e ) { return ! 1 } finally { t . parentNode && t . parentNode . removeChild ( t ) , t = null } } function ce ( e , t ) { for ( var n = e . split ( "|" ) , r = e . length ; r -- ; ) i . attrHandle [ n [ r ] ] = t } function ue ( e , t ) { var n = t && e , i = n && 1 === e . nodeType && 1 === t . nodeType && ( ~ t . sourceIndex || T ) - ( ~ e . sourceIndex || T ) ; if ( i ) return i ; if ( n ) for ( ; n = n . nextSibling ; ) if ( n === t ) return - 1 ; return e ? 1 : - 1 } function de ( e ) { return function ( t ) { return "input" === t . nodeName . toLowerCase ( ) && t . type === e } } function he ( e ) { return function ( t ) { var n = t . nodeName . toLowerCase ( ) ; return ( "input" === n || "button" === n ) && t . type === e } } function fe ( e ) { return ae ( ( function ( t ) { return t = + t , ae ( ( function ( n , i ) { for ( var r , o = e ( [ ] , n . length , t ) , s = o . length ; s -- ; ) n [ r = o [ s ] ] && ( n [ r ] = ! ( i [ r ] = n [ r ] ) ) } ) ) } ) ) } function pe ( e ) { return e && void 0 !== e . getElementsByTagName && e } for ( t in n = oe . support = { } , o = oe . isXML = function ( e ) { var t = e && ( e . ownerDocument || e ) . documentElement ; return ! ! t && "HTML" !== t . nodeName } , h = oe . 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 R={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,i){this.message(e,t,"alert",R.OK_BUTTON,n,i)},info:function(e,t,n,i){this.message(e,t,"info",R.OK_BUTTON,n,i)},confirm:function(e,t,n,i){return this.message(e,t,"notice",R.YES_NO_BUTTONS,n,i)},confirmDestructive:function(e,t,n,i,r){return this.message(e,t,"none",n,i,r)},confirmHtml:function(e,t,n,i){return this.message(e,t,"notice",R.YES_NO_BUTTONS,n,i,!0)},prompt:function(e,n,i,r,o,s){return a.a.when(this._getMessageTemplate()).then((function(l){var c="oc-dialog-"+R.dialogsCounter+"-content",u="#"+c,h=l.octemplate({dialog_name:c,title:n,message:e,type:"notice"}),f=a()("<input/ > ");f.attr(" type ",s?" password ":" text ").attr(" id ",c+" - input ").attr(" placeholder ",o);var p=a()(" < label / > ").attr(" for ",c+" - input ").text(o+" : ");h.append(p),h.append(f),void 0===r&&(r=!1),a()(" body ").append(h),void 0!==i&&(i=d.a.once(i));var m=[{text:t(" core "," No "),click:function(){void 0!==i&&i(!1,f.val()),a()(u).ocdialog(" close ")}},{text:t(" core "," Yes "),click:function(){void 0!==i&&i(!0,f.val()),a()(u).ocdialog(" close ")},defaultButton:!0}];a()(u).ocdialog({closeOnEscape:!0,modal:r,buttons:m,close:function(){void 0!==i&&i(!1,f.val())}}),f.focus(),R.dialogsCounter++}))},filepicker:function(e,n,i,r,o,s,l,c){var u=this;if(this.filepicker.sortField=" name ",this.filepicker.sortOrder=" asc ",!this.filepicker.loading){void 0===s&&(s=this.FILEPICKER_TYPE_CHOOSE);var h=t(" core "," No files in here "),f=t(" files "," New folder ");s!==this.FILEPICKER_TYPE_COPY&&s!==this.FILEPICKER_TYPE_MOVE&&s!==this.FILEPICKER_TYPE_COPY_MOVE||(h=t(" core "," No more subfolders in here ")),this.filepicker.loading=!0,this.filepicker.filesClient=N.a.Sharing&&N.a.Sharing.PublicApp&&N.a.Sharing.PublicApp.fileList?N.a.Sharing.PublicApp.fileList.filesClient:fe.Files.getClient(),this.filelist=null,l=l||" ",c=Object.assign({allowDirectoryChooser:!1},c),a.a.when(this._getFilePickerTemplate()).then((function(p){u.filepicker.loading=!1;u.$filePicker&&u.$filePicker.ocdialog(" close "),null==r&&(r=[])," string "==typeof r&&(r=[r]),u.$filePicker=p.octemplate({dialog_name:" oc - dialog - filepicker - content ",title:e,emptytext:h,newtext:f,nameCol:t(" core "," Name "),sizeCol:t(" core "," Size "),modifiedCol:t(" core "," Modified ")}).data(" path ",l).data(" multiselect ",i).data(" mimetype ",r).data(" allowDirectoryChooser ",c.allowDirectoryChooser),void 0===o&&(o=!1),void 0===i&&(i=!1),fe.Util.isIE()&&(u.$filePicker.find(" # picker - view - toggle ").remove(),u.$filePicker.find(" # picker - filestable ").removeClass(" view - grid ")),a()(" body ").append(u.$filePicker),u.$showGridView=a()(" input # picker - showgridview "),u.$showGridView.on(" change ",d.a.bind(u._onGridviewChange,u)),fe.Util.isIE()||u._getGridSettings();var m=u.$filePicker.find(" . actions . creatable . button - add ");s===u.FILEPICKER_TYPE_CHOOSE&&m.hide(),m.on(" focus ",(function(){u.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),m.click()}))})),m.on(" blur ",(function(){u.$filePicker.ocdialog(" unsetEnterCallback ")})),fe.registerMenu(m,u.$filePicker.find(" . menu "),(function(){_.focus(),u.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),u.$form.submit()}));var e=_.val(),t=e.lastIndexOf(" . ");-1===t&&(t=e.length),_.selectRange(0,t)}));var g=u.$filePicker.find(" . filenameform "),_=g.find(" input [ type = 'text' ] ");g.find(" input [ type = 'submit' ] ").on(" click ",(function(e){e.stopImmediatePropagation(),e.preventDefault(),g.submit()}));g.on(" submit ",(function(e){if(e.stopPropagation(),e.preventDefault(),function(){var e=_.val();try{if(Files.isFileNameValid(e)){if(u.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){_.attr(" title ",e),_.tooltip({placement:" right ",trigger:" manual ",container:" . newFolderMenu "}),_.tooltip(" fixTitle "),_.tooltip(" show "),_.addClass(" error " ) } return ! 1 } ( ) ) { var n = _ . val ( ) ; u . filepicker . filesClient . createDirectory ( u .
2019-09-25 16:19:42 +00:00
/ * *
2019-01-28 16:00:56 +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 , i e = w i n d o w . _ t h e m e | | { } , r e = r ( 1 ) , o e = r . n ( r e ) ;
2019-02-01 07:51:46 +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-02-01 07:51:46 +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-05-14 09:14:29 +00:00
* /
2019-11-03 08:22:59 +00:00
function se ( e ) { for ( var t , n = [ ] , i = 0 , r = - 1 , o = 0 ; i < e . length ; ) { t = e . charAt ( i ) ; var s = ! o && "." === t || t >= "0" && t <= "9" ; s !== o && ( n [ ++ r ] = "" , o = s ) , n [ r ] += t , i ++ } return n } var ae = { History : { _handlers : [ ] , _pushState : function ( e , t , n ) { var i ; if ( i = "string" == typeof e ? e : fe . buildQueryString ( e ) , window . history . pushState ) { if ( t = t || location . pathname + "?" + i , navigator . userAgent . toLowerCase ( ) . indexOf ( "firefox" ) > - 1 && parseInt ( navigator . userAgent . split ( "/" ) . pop ( ) ) < 51 ) for ( var r , o = document . querySelectorAll ( '[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]' ) , s = 0 , a = o . length ; s < a ; s ++ ) ( r = o [ 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 = "?" + i , 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 = fe . parseQueryString ( this . _decodeQuery ( t ) ) ) , ( e = d . 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 , d . 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 ( 119 ) . a , computerFileSize : function ( e ) { if ( "string" != typeof e ) return null ; var t = e . toLowerCase ( ) . trim ( ) , n = null , i = t . match ( /^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i ) ; return null === i ? null : ( n = parseFloat ( t ) , isFinite ( n ) ? ( i [ 5 ] && ( n *= { b : 1 , k : 1024 , kb : 1024 , mb : 1048576 , m : 1048576 , gb : 1073741824 , g : 1073741824 , tb : 1099511627776 , t : 1099511627776 , pb : 0x4000000000000 , p : 0x4000000000000 } [ i [ 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 a ( ) ( "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 i = e . offsetWidth ; return n === i && ( i = t . clientWidth ) , document . body . removeChild ( t ) , this . _scrollBarWidth = n - i , this . _scrollBarWidth } , stripTime : function ( e ) { return new Date ( e . getFullYear ( ) , e . getMonth ( ) , e . getDate ( ) ) } , naturalSortCompare : function ( e , t ) { var n , i = se ( e ) , r = se ( t ) ; for ( n = 0 ; i [ n ] && r [ n ] ; n ++ ) if ( i [ n ] !== r [ n ] ) { var o = Number ( i [ n ] ) , s = Number ( r [ n ] ) ; return o == i [ n ] && s == r [ n ] ? o - s : i [ n ] . localeCompare ( r [ n ] , fe . getLanguage ( ) ) } return i . length - r . length } , waitFor : function ( e , t ) { ! function n ( ) { ! 0 !== e ( ) && setTimeout ( n , t ) } ( ) } , isCookieSetToValue : function ( e , t ) { for ( var n = document . cookie . split ( ";" ) , i = 0 ; i < n . length ; i ++ ) { var r = n [ i ] . 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 09:14: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-24 10:13:21 +00:00
* / i f ( v o i d 0 = = = c e ) { v a r u 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 ! = = u e ? c e . s u b s t r ( 0 , u 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 d e , h e = c e , f e = i . a = { c o r e A p p s : H . i , m e n u S p e e d : H . j , P E R M I S S I O N _ A L L : H . a , P E R M I S S I O N _ C R E A T E : H . b , P E R M I S S I O N _ D E L E T E : H . c , P E R M I S S I O N _ N O N E : H . d , P E R M I S S I O N _ R E A D : H . e , P E R M I S S I O N _ S H A R E : H . f , P E R M I S S I O N _ U P D A T E : H . g , T A G _ F A V O R I T E : H . 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 ( O . 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 i ; 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 l [ r ] ? n & & n ( ) : ( i = a . a . D e f e r r e d ( ) , a . 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 i . r e s o l v e ( ) } ) ) , l [ r ] = i ) , l [ 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 = = = c . i n d e x O f ( n ) & & ( c . 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 = a ( ) ( ' < 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 + ' " / > ' ) , a ( ) ( " h e a d " ) . a p p e n d ( t ) ) ) } , A p p s : p . a , A p p C o n f i g : _ , a p p C o n f i g : g , 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 } ; a . a . e x t e n d ( n , e ) ; v a r i = a ( ) ( " # a p p s e t t i n g s " ) ; i f ( 0 = = = i . 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 = a ( ) ( " # 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 & & ( a ( ) ( " 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 = a ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ) . a d d C l a s s ( i . 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 o = i . h a s C l a s s ( " t o p r i g h t " ) ? " u p " : " l e f t " ; a . a . g e t ( O b j e c t ( v . 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 ' + o + ' " > < / 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 & & a . a . a j a x S e t u p ( { c a c h e : ! 0 } ) , a . a . g e t S c r i p t ( O b j e c t ( v . 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 : y , B a c k b o n e : C , C o n t a c t s M e n u : I . a , c o n f i g : O , c u r r e n t U s e r : F , d i a l o g s : W , E v e n t S o u r c e : q , 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 : z } } , 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 : Z . 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 : f , _ 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 & & ! f e . _ r e l o a d C a l l e d ) & & ( d . 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 ) & & f 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 ( ! f e . _ u s e r I s N a v i g a t i n g A w a y & & ! f 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 ( ) { h . 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 ) , f e . r e l o a d ( ) ) , e + + } ) , 1 e 3 ) ; f 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 ( ) { f e . _ u s e r I s N a v i g a t i n g A w a y | | f e . _ r e l o a d C a l l e d | | f 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 | | a ( ) ( d o c u m e n t ) . t r i g g e r ( n e w a . 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 ( ) { a ( ) ( d o c u m e n t ) . t r i g g e r ( n e w a . 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 : G ( ) , g e t C a p a b i l i t i e s : G , 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 , i ) { t . a d d C l a s s ( " m e n u " ) ; v a r r = " 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 ( r ? " 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 ( J ) ? K ( ) : ( J & & K ( ) , ! 0 = = = i & & 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 ( H . j , n ) , J = t , e ) ) } ) ) } , s h o w M e n u : f u n c t i o n ( e , t , n ) { t . i s ( J ) | | ( K ( ) , J = t , e , t . t r i g g e r ( n e w a . 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 a . a . E v e n t ( " a f t e r S h o w " ) ) , d . 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 ( J ) & & 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-02 14:03:58 +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
* / O b j e c t ( o . 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 ) { v a r i = n ( 1 4 ) , r = n ( 3 9 ) , o = n ( 7 6 ) , s = n ( 7 2 ) , a = n ( 1 1 0 ) , l = f u n c t i o n ( e , t , n ) { v a r c , u , d , h , f = e & l . F , p = e & l . G , m = e & l . S , g = e & l . P , _ = e & l . B , v = p ? i : m ? i [ t ] | | ( i [ t ] = { } ) : ( i [ t ] | | { } ) . p r o t o t y p e , y = p ? r : r [ t ] | | ( r [ t ] = { } ) , b = y . p r o t o t y p e | | ( y . p r o t o t y p e = { } ) ; f o r ( c i n p & & ( n = t ) , n ) d = ( ( u = ! f & & v & & v o i d 0 ! = = v [ c ] ) ? v : n ) [ c ] , h = _ & & u ? a ( d , i ) : g & & " f u n c t i o n " = = t y p e o f d ? a ( F u n c t i o n . c a l l , d ) : d , v & & s ( v , c , d , e & l . U ) , y [ c ] ! = d & & o ( y , c , h ) , g & & b [ c ] ! = d & & ( b [ c ] = d ) } ; i . c o r e = r , l . F = 1 , l . G = 2 , l . S = 4 , l . P = 8 , l . B = 1 6 , l . W = 3 2 , l . U = 6 4 , l . R = 1 2 8 , e . e x p o r t s = l } , 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 i } ) ) , 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 o } ) ) , 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 a } ) ) , n . d ( t , " g " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n . d ( t , " c " , ( f u n c t i o n ( ) { r e t u r n c } ) ) , n . d ( t , " f " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n d } ) ) , n . d ( t , " h " , ( f u n c t i o n ( ) { r e t u r n h } ) ) ;
2019-09-25 16:19:42 +00:00
/ * *
2019-01-31 17:01:45 +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
*
2019-05-10 11:38:11 +00:00
* This program is free software = you can redistribute it and / or modify
2019-01-31 17:01:45 +00:00
* it under the terms of the GNU Affero General Public License as
2019-05-10 11:38:11 +00:00
* published by the Free Software Foundation either version 3 of the
* License or ( at your option ) any later version .
2019-01-31 17:01:45 +00:00
*
2019-05-10 11:38:11 +00:00
* This program is distributed in the hope that it will be useful
2019-01-31 17:01:45 +00: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 11:38:11 +00:00
* along with this program . If not see < http : //www.gnu.org/licenses/>.
* /
2019-11-10 20:27:17 +00:00
var i = [ "" , "admin" , "log" , "core/search" , "core" , "3rdparty" ] , r = 50 , o = 0 , s = 4 , a = 1 , l = 2 , c = 8 , u = 16 , d = 31 , h = "_$!<Favorite>!$_" } , function ( e , t , n ) { var i = n ( 8 ) , r = n ( 58 ) , o = n ( 86 ) , s = n ( 351 ) , a = i . Symbol , l = r ( "wks" ) ; e . exports = function ( e ) { return l [ e ] || ( l [ e ] = s && a [ e ] || ( s ? a : o ) ( "Symbol." + e ) ) } } , function ( e , t , n ) { "use strict" ; n . d ( t , "e" , ( function ( ) { return a } ) ) , n . d ( t , "h" , ( function ( ) { return l } ) ) , n . d ( t , "g" , ( function ( ) { return c } ) ) , n . d ( t , "f" , ( function ( ) { return u } ) ) , n . d ( t , "b" , ( function ( ) { return d } ) ) , n . d ( t , "d" , ( function ( ) { return h } ) ) , n . d ( t , "a" , ( function ( ) { return f } ) ) , n . d ( t , "c" , ( function ( ) { return p } ) ) ; var i = n ( 2 ) , r = n . n ( i ) , o = n ( 3 ) , s = n ( 5 ) , a = function ( e , t ) { return f ( e , "" , t ) } , l = function ( e ) { return p ( ) + "/remote.php/" + e } , c = function ( e ) { return window . location . protocol + "//" + window . location . host + l ( e ) } , u = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + p ( ) + "/ocs/v" + t + ".php/" + e + "/" } , d = function ( e , t , n ) { var i = n || { } ; r . a . defaults ( i , { escape : ! 0 } ) ; var s = function ( e , t ) { return t = t || [ ] , e . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var r = t [ n ] ; return i . 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 === o . a . config . modRewriteWorking ? p ( ) + s ( e , t ) : p ( ) + "/index.php" + s ( e , t ) } , h = function ( e , t ) { return - 1 === t . indexOf ( "." ) ? f ( e , "img" , t + ".svg" ) : f ( e , "img" , t ) } , f = function ( e , t , n ) { var i = - 1 !== s . i . indexOf ( e ) , r = p ( ) ; return "php" !== n . substring ( n . length - 3 ) || i ? "php" === n . substring ( n . length - 3 ) || i ? ( r += "core" !== e && "search" !== e || "ajax" !== t ? "/" : "/index.php/" , i || ( r += "apps/" ) , "" !== e && ( r += e += "/" ) , t && ( r += t + "/" ) , r += n ) : ( r = o . 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 } , p = function ( ) { return o . a . webroot } } , function ( e , t , n ) { ( function ( t ) { var n = "object" , i = function ( e ) { return e && e . Math == Math && e } ; e . exports = i ( typeof globalThis == n && globalThis ) || i ( typeof window == n && window ) || i ( typeof self == n && self ) || i ( 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" , i = function ( e ) { return e && e . Math == Math && e } ; e . exports = i ( typeof globalThis == n && globalThis ) || i ( typeof window == n && window ) || i ( typeof self == n && self ) || i ( 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 = e . exports = "undefined" != typeof window && window . Math == Math ? window : "undefined" != typeof self && self . Math == Math ? self : Function ( "return this" ) ( ) ; "number" == typeof _ _g && ( _ _g = n ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t , n ) { var i = n ( 17 ) ; e . exports = function ( e ) { if ( ! i ( e ) ) throw TypeError ( e + " is not an object!" ) ; return e } } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , function ( e , t , n ) { var i = n ( 26 ) , r = n ( 23 ) , o = n ( 56 ) ; e . exports = i ? function ( e , t , n ) { return r . f ( e , t , o ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { "use strict" ; t . _ _esModule = ! 0 , t . extend = a , t . indexOf = function ( e , t ) { for ( var n = 0 , i = e . length ; n < i ; 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 ( ! o . test ( e ) ) return e ; return e . replace ( r , s ) } , t . isEmpty = function ( e ) { return ! e && 0 !== e || ! ( ! u ( e ) || 0 !== e . length ) } , t . createFrame = function ( e ) { var t = a ( { } , 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 i = { "&" : "&" , "<" : "<" , ">" : ">" , '"' : """ , "'" : "'" , "`" : "`" , "=" : "=" } , r = /[&<>"'`=]/g , o = /[&<>"'`=]/ ; function s ( e ) { return i [ e ] } function a ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) fo
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 p = function ( e , t , n ) { m ( 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 ) } , m = function ( e ) { return void 0 !== window . _oc _l10n _registry _translations [ e ] && void 0 !== window . _oc _l10n _registry _plural _functions [ e ] } , g = function ( e ) { return { translations : window . _oc _l10n _registry _translations [ e ] || { } , pluralFunction : window . _oc _l10n _registry _plural _functions [ e ] } } ; function _ ( e ) { return ( _ = "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 y } ) ) , n . d ( t , "d" , ( function ( ) { return b } ) ) , n . d ( t , "c" , ( function ( ) { return w } ) ) ; var v = { load : function ( e , t ) { if ( m ( e ) || "en" === f . a . getLocale ( ) ) { var n = s . a . Deferred ( ) , i = n . promise ( ) ; return i . then ( t ) , n . resolve ( ) , i } var r = this , o = f . a . filePath ( e , "l10n" , f . a . getLocale ( ) + ".json" ) ; return s . a . get ( o ) . then ( ( function ( t ) { t . translations && r . register ( e , t . translations , t . pluralForm ) } ) ) . then ( t ) } , register : function ( e , t ) { p ( 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 , i , o ) { var s = o || { } ; r . a . defaults ( s , { escape : ! 0 } ) ; var a = t , c = g ( e ) . translations [ t ] ; return void 0 !== c && ( a = c ) , "object" === _ ( n ) || void 0 !== i ? l . a . sanitize ( function ( e , t , n ) { return e . replace ( /%n/g , n ) . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var i = t [ n ] ; return "string" == typeof i || "number" == typeof i ? s . escape ? l . a . sanitize ( h ( ) ( i ) ) : l . a . sanitize ( i ) : l . a . sanitize ( e ) } ) ) } ( a , n , i ) ) : l . a . sanitize ( a ) } , translatePlural : function ( e , t , n , i , r , o ) { var a = "_" + t + "_::_" + n + "_" , l = g ( e ) , c = l . translations [ a ] ; if ( void 0 !== c ) { var u = c ; if ( s . a . isArray ( u ) ) { var d = l . pluralFunction ( i ) ; return this . translate ( e , u [ d ] , r , i , o ) } } return 1 === i ? this . translate ( e , t , r , i , o ) : this . translate ( e , n , r , i , o ) } , _getPlural : function ( e ) { var t = f . 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 } } } , y = ( t . a = v , function ( ) { var e = b ( ) ; return "string" == typeof e ? e . replace ( /_/g , "-" ) : e } ) , b = function ( ) { return s ( ) ( "html" ) . data ( "locale" ) } , w = function ( ) { return s ( ) ( "html" ) . prop ( "lang" ) } ; u . a . registerH
2019-01-29 13:50:05 +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 , i ) { "post" !== t && "delete" !== t || ! o . a . PasswordConfirmation . requiresPasswordConfirmation ( ) ? ( i = i || { } , r . a . ajax ( { type : t . toUpperCase ( ) , url : o . a . linkToOCS ( "apps/provisioning_api/api/v1" , 2 ) + "config/apps" + n , data : i . data || { } , success : i . success , error : i . error } ) ) : o . a . PasswordConfirmation . requirePasswordConfirmation ( e . bind ( s , this , t , n , i ) ) } function a ( e ) { s ( "get" , "" , e ) } function l ( e , t ) { s ( "get" , "/" + e , t ) } function c ( e , t , n , i ) { ( i = i || { } ) . data = { defaultValue : n } , s ( "get" , "/" + e + "/" + t , i ) } function u ( e , t , n , i ) { ( i = i || { } ) . data = { value : n } , s ( "post" , "/" + e + "/" + t , i ) } function d ( 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" ] ) , i = e ( [ "feBlend" , "feColorMatrix" , "feComponentTransfer" , "feComposite" , "feConvolveMatrix" , "feDiffuseLighting" , "feDisplacementMap" , "feDistantLight" , "feFlood" , "feFuncA" , "feFuncB" , "feFuncG" , "feFuncR" , "feGaussianBlur" , "feMerge" , "feMergeNode" , "feMorphology" , "feOffset" , "fePointLight" , "feSpecularLighting" , "feSpotLight" , "feTile" , "feTurbulence" ] ) , r = 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" ] ) , o = e ( [ "#text" ] ) , s = Object . freeze || function ( e ) { return e } , a = 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" ] ) , l = 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-04-29 16:16:15 +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 i = n ( 8 ) , r = n ( 1 3 1 ) . f , o = n ( 1 9 ) , s = n ( 4 8 ) , a = n ( 8 3 ) , l = n ( 3 4 3 ) , c = 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 , u , d , h , f , p = e . t a r g e t , m = e . g l o b a l , g = e . s t a t ; i f ( n = m ? i : g ? i [ p ] | | a ( p , { } ) : ( i [ p ] | | { } ) . p r o t o t y p e ) f o r ( u i n t ) { i f ( h = t [ u ] , d = e . n o T a r g e t G e t ? ( f = r ( n , u ) ) & & f . v a l u e : n [ u ] , ! c ( m ? u : p + ( g ? " . " : " # " ) + u , e . f o r c e d ) & & v o i d 0 ! = = d ) { i f ( t y p e o f h = = t y p e o f d ) c o n t i n u e ; l ( h , d ) } ( e . s h a m | | d & & d . s h a m ) & & o ( h , " s h a m " , ! 0 ) , s ( n , u , h , e ) } } } , f u n c t i o n ( e , t , n ) { v a r i = n ( 8 ) , r = n ( 5 8 ) , o = n ( 1 9 ) , s = n ( 1 8 ) , a = n ( 8 3 ) , l = n ( 1 3 5 ) , c = n ( 5 9 ) , u = c . g e t , d = c . e n f o r c e , h = S t r i n g ( l ) . s p l i t ( " t o S t r i n g " ) ; r ( " 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 l . c a l l ( e ) } ) ) , ( e . e x p o r t s = f u n c t i o n ( e , t , n , r ) { v a r l = ! ! r & & ! ! r . u n s a f e , c = ! ! r & & ! ! r . e n u m e r a b l e , u = ! ! r & & ! ! r . 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 " ) | | o ( n , " n a m e " , t ) , d ( n ) . s o u r c e = h . j o i n ( " s t r i n g " = = t y p e o f t ? t : " " ) ) , e ! = = i ? ( l ? ! u & & e [ t ] & & ( c = ! 0 ) : d e l e t e e [ t ] , c ? e [ t ] = n : o ( e , t , n ) ) : c ? e [ t ] = n : a ( 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 & & u ( t h i s ) . s o u r c e | | l . 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 i = n ( 6 2 ) , r = n ( 9 7 ) , o = n ( 9 5 ) ; e . e x p o r t s = i ? f u n c t i o n ( e , t , n ) { r e t u r n r . f ( e , t , o ( 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 i = n ( 3 3 8 ) , r = n ( 3 3 9 ) ; v a r o = ( 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 i . 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 r . S i m p l e B u s ) , s = o . s u b s c r i b e . b i n d ( o ) ; t . s u b s c r i b e = s ; v a r a = o . u n s u b s c r i b e . b i n d ( o ) ; t . u n s u b s c r i b e = a ; v a r l = o . e m i t . b i n d ( o ) ; t . e m i t = l } , 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 y { r e t u r n ! ! e ( ) } c a t c h ( e ) { r e t u r n ! 0 } } } , f u n c t i o n ( e , t , n ) { v a r i = n ( 1 2 9 ) ; 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 ( i ( e ) ) } } , 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 i = n ( 1 3 2 ) , r = 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 i ( r ( e ) ) } } , f u n c t i o n ( e , t , n ) { v a r i = n ( 8 ) , r = n ( 8 3 ) , o = n ( 8 4 ) , s = i [ " _ _ c o r e - j s _ s h a r e d _ _ " ] | | r ( " _ _ 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 : o ? " 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 i , r , o , s = n ( 3 4 2 ) , a = n ( 8 ) , l = n ( 1 0 ) , c = n ( 1 9 ) , u = n ( 1 8 ) , d = n ( 8 5 ) , h = n ( 6 0 ) , f = a . W e a k M a p ; i f ( s ) { v a r p = n e w f , m = p . g e t , g = p . h a s , _ = p . s e t ; i = f u n c t i o n ( e , t ) { r e t u r n _ . c a l l ( p , e , t ) , t } , r = f u n c t i o n ( e ) { r e t u r n m . c a l l ( p , e ) | | { } } , o = f u n c t i o n ( e ) { r e t u r n g . c a l l ( p , e ) } } e l s e { v a r v = d ( " s t a t e " ) ; h [ v ] = ! 0 , i = f u n c t i o n ( e , t ) { r e t u r n c ( e , v , t ) , t } , r = f u n c t i o n ( e ) { r e t u r n u ( e , v ) ? e [ v ] : { } } , o = f u n c t i o n ( e ) { r e t u r n u ( e , v ) } } e . e x p o r t s = { s e t : i , g e t : r , h a s : o , e n f o r c e : f u n c t i o n ( e ) { r e t u r n o ( e ) ? r ( e ) : i ( 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 ( ! l ( t ) | | ( n = r ( 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 i = n ( 8 8 ) , r = 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 ? r ( i ( 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 i = n ( 1 2 ) ; e . e x p o r t s = ! i ( ( 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 i = n ( 6 4 ) , 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 i ( r ( e ) ) } } , f u n c t i o n ( e , t , n ) { v a r i = n ( 1 2 ) , r = n ( 6 5 ) , o = " " . s p l i t ; e . e x p o r t s = i ( ( 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 " = = r ( e ) ? o . 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 i = n ( 1 1 ) , r = n ( 9 8 ) , o = n ( 3 8 3 ) , s = i [ " _ _ c o r e - j s _ s h a r e d _ _ " ] | | r ( " _ _ 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 : o ? " 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 , i = 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 ? i : n ) ( e ) } } , f u
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 i=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,r=i.exec(n);if(!r)return n;var o=" ",s=0,a=0;for(s=r.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}a!==s&&(o+=n.substring(a,s)),a=s+1,o+=t}return a!==s?o+n.substring(a,s):o}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},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 i=n(10);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can' t convert object to primitive value ")}},function(e,t,n){var i=n(8),r=n(19);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},function(e,t){e.exports=!1},function(e,t,n){var i=n(58),r=n(86),o=i(" keys ");e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return" Symbol ( "+String(void 0===e?" ":e)+" ) _ "+(++n+i).toString(36)}},function(e,t,n){var i=n(345),r=n(8),o=function(e){return" function "==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e])||o(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t){e.exports=[" constructor "," hasOwnProperty "," isPrototypeOf "," propertyIsEnumerable "," toLocaleString "," toString "," valueOf "]},function(e,t,n){var i=n(81);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(353);e.exports=function(e,t,n){if(i(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,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var i=n(27),r=n(357),o=n(89),s=n(60),a=n(359),l=n(134),c=n(85)(" IE _PROTO "),u=function(){},d=function(){var e,t=l(" iframe "),n=o.length;for(t.style.display=" none ",a.appendChild(t),t.src=String(" javascript : "),(e=t.contentWindow.document).open(),e.write(" < script > document . F = Object < \ / script > "),e.close(),d=e.F;n--;)delete d.prototype[o[n]];return d()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=i(e),n=new u,u.prototype=null,n[c]=e):n=d(),void 0===t?n:r(n,t)},s[c]=!0},function(e,t,n){" use strict ";var i=n(47),r=n(360),o=n(145),s=n(146),a=n(94),l=n(19),c=n(48),u=n(6),d=n(84),h=n(49),f=n(144),p=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=u(" iterator "),_=function(){return this};e.exports=function(e,t,n,u,f,v,y){r(n,t,u);var b,w,k,x=function(e){if(e===f&&T)return T;if(!m&&e in L)return L[e];switch(e){case" keys ":case" values ":case" entries ":return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator ",A=!1,L=e.prototype,D=L[g]||L[" @ @ iterator "]||f&&L[f],T=!m&&D||x(f),S=" Array "==t&&L.entries||D;if(S&&(b=o(S.call(new e)),p!==Object.prototype&&b.next&&(d||o(b)===p||(s?s(b,p):" function "!=typeof b[g]&&l(b,g,_)),a(b,M,!0,!0),d&&(h[M]=_)))," values "==f&&D&&" values "!==D.name&&(A=!0,T=function(){return D.call(this)}),d&&!y||L[g]===T||l(L,g,T),h[t]=T,f)if(w={values:x(" values "),keys:v?T:x(" keys "),entries:x(" entries ")},y)for(k in w)!m&&!A&&k in L||c(L,k,w[k]);else i({target:t,proto:!0,forced:m||A},w);return w}},function(e,t,n){var i=n(23).f,r=n(18),o=n(6)(" toStringTag ");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{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 i=n(28);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&" function "==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if(" function " == typeof ( n = e . valueOf ) && ! i ( r = n . call ( e ) ) ) return r
2019-09-25 16:19:42 +00:00
/ * *
2019-01-31 17:50:59 +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-05-16 14:40:02 +00:00
* /
2019-11-10 20:27:17 +00:00
var i = function ( e ) { var t , n , i , r , o = { } ; 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 a = t [ s ] ; ( i = ( n = a . indexOf ( "=" ) ) >= 0 ? [ a . substr ( 0 , n ) , a . substr ( n + 1 ) ] : [ a ] ) . length && ( ( r = decodeURIComponent ( i [ 0 ] ) ) && ( i . length > 1 ? o [ r ] = decodeURIComponent ( i [ 1 ] ) : o [ r ] = null ) ) } return o } , 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 i = n ( 111 ) ; e . exports = function ( e , t , n ) { if ( i ( e ) , void 0 === t ) return e ; switch ( n ) { case 1 : return function ( n ) { return e . call ( t , n ) } ; case 2 : return function ( n , i ) { return e . call ( t , n , i ) } ; case 3 : return function ( n , i , r ) { return e . call ( t , n , i , r ) } } return function ( ) { return e . apply ( t , arguments ) } } } , function ( e , t ) { e . exports = function ( e ) { if ( "function" != typeof e ) throw TypeError ( e + " is not a function!" ) ; return e } } , function ( e , t ) { var n = Math . ceil , i = Math . floor ; e . exports = function ( e ) { return isNaN ( e = + e ) ? 0 : ( e > 0 ? i : n ) ( e ) } } , function ( e , t , n ) { var i = n ( 470 ) , r = n ( 309 ) , o = n ( 77 ) , s = n ( 295 ) , a = n ( 75 ) , l = n ( 623 ) , c = Object . getOwnPropertyDescriptor ; t . f = n ( 43 ) ? c : function ( e , t ) { if ( e = o ( e ) , t = s ( t , ! 0 ) , l ) try { return c ( e , t ) } catch ( e ) { } if ( a ( e , t ) ) return r ( ! i . f . call ( e , t ) , e [ t ] ) } } , function ( e , t , n ) { var i = n ( 4 ) , r = n ( 39 ) , o = n ( 15 ) ; e . exports = function ( e , t ) { var n = ( r . Object || { } ) [ e ] || Object [ e ] , s = { } ; s [ e ] = t ( n ) , i ( i . S + i . F * o ( ( function ( ) { n ( 1 ) } ) ) , "Object" , s ) } } , function ( e , t , n ) { var i = n ( 110 ) , r = n ( 469 ) , o = n ( 55 ) , s = n ( 30 ) , a = n ( 639 ) ; e . exports = function ( e , t ) { var n = 1 == e , l = 2 == e , c = 3 == e , u = 4 == e , d = 6 == e , h = 5 == e || d , f = t || a ; return function ( t , a , p ) { for ( var m , g , _ = o ( t ) , v = r ( _ ) , y = i ( a , p , 3 ) , b = s ( v . length ) , w = 0 , k = n ? f ( t , b ) : l ? f ( t , 0 ) : void 0 ; b > w ; w ++ ) if ( ( h || w in v ) && ( g = y ( m = v [ w ] , w , _ ) , e ) ) if ( n ) k [ w ] = g ; else if ( g ) switch ( e ) { case 3 : return ! 0 ; case 5 : return m ; case 6 : return w ; case 2 : k . push ( m ) } else if ( u ) return ! 1 ; return d ? - 1 : c || u ? u : k } } } , function ( e , t , n ) { "use strict" ; n . d ( t , "b" , ( function ( ) { return a } ) ) ; var i = n ( 0 ) , r = n . n ( i ) , o = ! 1 , s = { enableDynamicSlideToggle : function ( ) { o = ! 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" ) ) } } , a = function ( ) { var e = r ( ) ( "[data-apps-slide-toggle]" ) ; 0 === e . length && r ( ) ( "#app-navigation" ) . addClass ( "without-app-settings" ) , r ( ) ( document ) . click ( ( function ( t ) { o && ( e = r ( ) ( "[data-apps-slide-toggle]" ) ) , e . each ( ( function ( e , n ) { var i = r ( ) ( n ) . data ( "apps-slide-toggle" ) , o = r ( ) ( i ) ; function s ( ) { o . slideUp ( 4 * OC . menuSpeed , ( function ( ) { o . trigger ( new r . a . Event ( "hide" ) ) } ) ) , o . removeClass ( "opened" ) , r ( ) ( n ) . removeClass ( "opened" ) } if ( ! o . is ( ":animated" ) ) if ( r ( ) ( n ) . is ( r ( ) ( t . target ) . closest ( "[data-apps-slide-toggle]" ) ) ) o . is ( ":visible" ) ? s ( ) : function ( ) { o . slideDown ( 4 * OC . menuSpeed , ( function ( ) { o . trigger ( new r . a . Event ( "show" ) ) } ) ) , o . addClass ( "opened" ) , r ( ) ( n ) . addClass ( "opened" ) ; var e = r ( ) ( i + " [autofocus]" ) ; 1 === e . length && e . focus ( ) } ( ) ; else { var a = r ( ) ( t . target ) . closest ( i ) ; o . is ( ":visible" ) && a [ 0 ] !== o [ 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 , i ) { void 0 === n && ( n = "0" ) , n = "" + n , ( i = i || { } ) . Depth = n , i [ "Content-Type" ] = "application/xml; charset=utf-8" ; var r , o = '<?xml version="1.0"?>\n<d:propfind ' ; for ( r in this . xmlNamespaces ) o += " xmlns:" + this . xmlNamespaces [ r ] + '="' + r + '"' ; for ( var s in o += ">\n <d:prop>\n" , t ) if ( t . hasOwnProperty ( s ) ) { var a = this . parseClarkNotation ( t [ s ] ) ; this . xmlNamespaces [ a . namespace ] ? o += " <" + this . xmlNamespaces [ a . namespace ] + ":" + a . name + " />\n" : o += " <x:" + a . name + ' xmlns:x="' + a . namespace + '" />\n' } return o += " </d:prop>\n" , o += "</d:propfind>" , this . request ( "PROPFIND" , e , i , o ) . 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 : fu
2019-09-25 16:19:42 +00:00
/ * *
2019-05-07 07:03:14 +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
* / 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 ( ) { a ( ) ( " . 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 " , o . 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 = c . 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 = c . 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 , i ) { 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 = o . a . e x t e n d ( r , n ) , l = 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 ( ) & & u . 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 ? l . _ c o n f i r m P a s s w o r d ( t , s ) : o . a . i s F u n c t i o n ( i ) & & i ( ) } ) , ! 0 , s . l a b e l , ! 0 ) . t h e n ( ( f u n c t i o n ( ) { v a r e = a ( ) ( " . 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 = a ( ) ( " < 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 i = t h i s ; a . a . a j a x ( { u r l : u . 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 , o . a . i s F u n c t i o n ( i . c a l l b a c k ) & & i . 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 " ) , u . 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 ( i . 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-14 16:18:31 +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 i ( e , t ) { var n = [ "B" , "KB" , "MB" , "GB" , "TB" ] , i = e > 0 ? Math . floor ( Math . log ( e ) / Math . log ( 1024 ) ) : 0 , r = n [ i = Math . min ( n . length - 1 , i ) ] , o = ( e / Math . pow ( 1024 , i ) ) . toFixed ( 1 ) ; return ! 0 === t && 0 === i ? "0.0" !== o ? "< 1 KB" : "0 KB" : ( o = i < 2 ? parseFloat ( o ) . toFixed ( 0 ) : ".0" === o . substr ( o . length - 2 , 2 ) ? o . substr ( 0 , o . length - 2 ) : parseFloat ( o ) . toLocaleString ( OC . getCanonicalLocale ( ) ) ) + " " + r } n . d ( t , "a" , ( function ( ) { return i } ) ) } , function ( e , t , n ) { var i = n ( 54 ) ; e . exports = ! i ( ( function ( ) { return 7 != Object . defineProperty ( { } , "a" , { get : function ( ) { return 7 } } ) . a } ) ) } , function ( e , t , n ) { var i = n ( 120 ) , r = n ( 301 ) , o = n ( 298 ) ; e . exports = i ? function ( e , t , n ) { return r . f ( e , t , o ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { var i = n ( 33 ) , r = n ( 302 ) , o = n ( 498 ) , s = i [ "__core-js_shared__" ] || r ( "__core-js_shared__" , { } ) ; ( e . exports = function ( e , t ) { return s [ e ] || ( s [ e ] = void 0 !== t ? t : { } ) } ) ( "versions" , [ ] ) . push ( { version : "3.1.3" , mode : o ? "pure" : "global" , copyright : "© 2019 Denis Pushkarev (zloirock.ru)" } ) } , , , , , , 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 ) { "use strict" ; if ( n ( 43 ) ) { var i = n ( 311 ) , r = n ( 14 ) , o = n ( 15 ) , s = n ( 4 ) , a = n ( 487 ) , l = n ( 617 ) , c = n ( 110 ) , u = n ( 324 ) , d = n ( 309 ) , h = n ( 76 ) , f = n ( 325 ) , p = n ( 112 ) , m = n ( 30 ) , g = n ( 650 ) , _ = n ( 313 ) , v = n ( 295 ) , y = n ( 75 ) , b = n ( 471 ) , w = n ( 17 ) , k = n ( 55 ) , x = n ( 609 ) , M = n ( 314 ) , A = n ( 316 ) , L = n ( 315 ) . f , D = n ( 611 ) , T = n ( 310 ) , S = n ( 25 ) , Y = n ( 115 ) , C = n ( 477 ) , E = n ( 472 ) , P = n ( 613 ) , O = n ( 322 ) , H = n ( 480 ) , I = n ( 323 ) , j = n ( 612 ) , z = n ( 641 ) , F = n ( 44 ) , N = n ( 113 ) , B = F . f , R = N . f , W = r . RangeError , U = r . TypeError , Q = r . Uint8Array , q = Array . prototype , V = l . ArrayBuffer , G = l . DataView , J = Y ( 0 ) , K = Y ( 2 ) , X = Y ( 3 ) , Z = Y ( 4 ) , $ = Y ( 5 ) , ee = Y ( 6 ) , te = C ( ! 0 ) , ne = C ( ! 1 ) , ie = P . values , re = P . keys , oe = P . entries , se = q . lastIndexOf , ae = q . reduce , le = q . reduceRight , ce = q . join , ue = q . sort , de = q . slice , he = q . toString , fe = q . toLocaleString , pe = S ( "iterator" ) , me = S ( "toStringTag" ) , ge = T ( "typed_constructor" ) , _e = T ( "def_constructor" ) , ve = a . CONSTR , ye = a . TYPED , be = a . VIEW , we = Y ( 1 , ( function ( e , t ) { return Le ( E ( e , e [ _e ] ) , t ) } ) ) , ke = o ( ( function ( ) { return 1 === new Q ( new Uint16Array ( [ 1 ] ) . buffer ) [ 0 ] } ) ) , xe = ! ! Q && ! ! Q . prototype . set && o ( ( function ( ) { new Q ( 1 ) . set ( { } ) } ) ) , Me = function ( e , t ) { var n = p ( e ) ; if ( n < 0 || n % t ) throw W ( "Wrong offset!" ) ; return n } , Ae = function ( e ) { if ( w ( e ) && ye in e ) return e ; throw U ( e + " is not a typed array!" ) } , Le = function ( e , t ) { if ( ! ( w ( e ) && ge in e ) ) throw U ( "It is not a typed array constructor!" ) ; return new e ( t ) } , De = function ( e , t ) { return Te ( E ( e , e [ _e ] ) , t ) } , Te = function ( e , t ) { for ( var n = 0 , i = t . length , r = Le ( e , i ) ; i > n ; ) r [ n ] = t [ n ++ ] ; return r } , Se = function ( e , t , n ) { B ( e , t , { get : function ( ) { return this . _d [ n ] } } ) } , Ye = function ( e ) { var t , n , i , r , o , s , a = k ( e ) , l = arguments . length , u = l > 1 ? arguments [ 1 ] : void 0 , d = void 0 !== u , h = D ( a ) ; if ( null != h && ! x ( h ) ) { for ( s = h . call ( a ) , i = [ ] , t = 0 ; ! ( o = s . next ( ) ) . done ; t ++ ) i . push ( o . value ) ; a = i } for ( d && l > 2 && ( u = c ( u , arguments [ 2 ] , 2 ) ) , t = 0 , n = m ( a . length ) , r = Le ( this , n ) ; n > t ; t ++ ) r [ t ] = d ? u ( a [ t ] , t ) : a [ t ] ; return r } , Ce = function ( ) { for ( var e = 0 , t = arguments . length , n = Le ( this , t ) ; t > e ; ) n [ e ] = arguments [ e ++ ] ; return n } , Ee = ! ! Q && o ( ( function ( ) { fe . call ( new Q ( 1 ) ) } ) ) , Pe = function ( ) { return fe . apply ( Ee ? de . call ( Ae ( this ) ) : Ae ( this ) , arguments ) } , Oe = { copyWithin : function ( e , t ) { return z . call ( Ae ( this ) , e , t , arguments . length > 2 ? arguments [ 2 ] : void 0 ) } , every : function ( e ) { return Z ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , fill : function ( e ) { return j . apply ( Ae ( this ) , arguments ) } , filter : function ( e ) { return De ( this , K ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) ) } , find : function ( e ) { return $ ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , findIndex : function ( e ) { return ee ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , forEach : function ( e ) { J ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , indexOf : function ( e ) { return ne ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , includes : function ( e ) { return te ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , join : function ( e ) { return ce . apply ( Ae ( this ) , arguments ) } , lastIndexOf : function ( e ) { return se . apply ( Ae ( this ) , arguments ) } , map : function ( e ) { return we ( Ae ( this ) , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } , reduce : function ( e ) { return ae . apply ( Ae ( this ) , arguments ) } , reduceRight : function ( e ) { return le . apply ( Ae ( this ) , arguments ) } , reverse : function ( ) { for ( var
2019-10-21 19:36:17 +00:00
/ * !
* css - vars - ponyfill
* v2 . 1.2
* https : //jhildenbiddle.github.io/css-vars-ponyfill/
* ( c ) 2018 - 2019 John Hildenbiddle < http : //hildenbiddle.com>
* MIT license
* /
2019-11-03 08:22:59 +00:00
function c ( ) { return ( c = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var i in n ) Object . prototype . hasOwnProperty . call ( n , i ) && ( e [ i ] = n [ i ] ) } return e } ) . apply ( this , arguments ) } function u ( e ) { return function ( e ) { if ( Array . isArray ( e ) ) { for ( var t = 0 , n = new Array ( e . length ) ; t < e . length ; t ++ ) n [ t ] = e [ t ] ; return n } } ( e ) || function ( e ) { if ( Symbol . iterator in Object ( e ) || "[object Arguments]" === Object . prototype . toString . call ( e ) ) return Array . from ( e ) } ( e ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance" ) }
2019-10-21 19:36:17 +00:00
/ * !
* get - css - data
* v1 . 6.3
* https : //github.com/jhildenbiddle/get-css-data
* ( c ) 2018 - 2019 John Hildenbiddle < http : //hildenbiddle.com>
* MIT license
* / ( ) } f u n c t i o n d ( e ) { v a r t = a r g u m e n t s . l e n g t h > 1 & & v o i d 0 ! = = a r g u m e n t s [ 1 ] ? a r g u m e n t s [ 1 ] : { } , n = { m i m e T y p e : t . m i m e T y p e | | n u l l , o n B e f o r e S e n d : t . o n B e f o r e S e n d | | F u n c t i o n . p r o t o t y p e , o n S u c c e s s : t . o n S u c c e s s | | F u n c t i o n . p r o t o t y p e , o n E r r o r : t . o n E r r o r | | F u n c t i o n . p r o t o t y p e , o n C o m p l e t e : t . o n C o m p l e t e | | F u n c t i o n . p r o t o t y p e } , i = A r r a y . i s A r r a y ( e ) ? e : [ e ] , r = A r r a y . a p p l y ( n u l l , A r r a y ( i . l e n g t h ) ) . m a p ( ( f u n c t i o n ( e ) { r e t u r n n u l l } ) ) ; f u n c t i o n o ( ) { r e t u r n ! ( " < " = = = ( a r g u m e n t s . l e n g t h > 0 & & v o i d 0 ! = = a r g u m e n t s [ 0 ] ? a r g u m e n t s [ 0 ] : " " ) . t r i m ( ) . c h a r A t ( 0 ) ) } f u n c t i o n s ( e , t ) { n . o n E r r o r ( e , i [ t ] , t ) } f u n c t i o n a ( e , t ) { v a r o = n . o n S u c c e s s ( e , i [ t ] , t ) ; e = ! 1 = = = o ? " " : o | | e , r [ t ] = e , - 1 = = = r . i n d e x O f ( n u l l ) & & n . o n C o m p l e t e ( r ) } v a r l = d o c u m e n t . c r e a t e E l e m e n t ( " a " ) ; i . f o r E a c h ( ( f u n c t i o n ( e , t ) { i f ( l . s e t A t t r i b u t e ( " h r e f " , e ) , l . h r e f = S t r i n g ( l . h r e f ) , B o o l e a n ( d o c u m e n t . a l l & & ! w i n d o w . a t o b ) & & l . h o s t . s p l i t ( " : " ) [ 0 ] ! = = l o c a t i o n . h o s t . s p l i t ( " : " ) [ 0 ] ) { i f ( l . p r o t o c o l = = = l o c a t i o n . p r o t o c o l ) { v a r i = n e w X D o m a i n R e q u e s t ; i . o p e n ( " G E T " , e ) , i . t i m e o u t = 0 , i . o n p r o g r e s s = F u n c t i o n . p r o t o t y p e , i . o n t i m e o u t = F u n c t i o n . p r o t o t y p e , i . o n l o a d = f u n c t i o n ( ) { o ( i . r e s p o n s e T e x t ) ? a ( i . r e s p o n s e T e x t , t ) : s ( i , t ) } , i . o n e r r o r = f u n c t i o n ( e ) { s ( i , t ) } , s e t T i m e o u t ( ( f u n c t i o n ( ) { i . s e n d ( ) } ) , 0 ) } e l s e c o n s o l e . w a r n ( " I n t e r n e t E x p l o r e r 9 C r o s s - O r i g i n ( C O R S ) r e q u e s t s m u s t u s e t h e s a m e p r o t o c o l ( " . c o n c a t ( e , " ) " ) ) , s ( n u l l , t ) } e l s e { v a r r = n e w X M L H t t p R e q u e s t ; r . o p e n ( " G E T " , e ) , n . m i m e T y p e & & r . o v e r r i d e M i m e T y p e & & r . o v e r r i d e M i m e T y p e ( n . m i m e T y p e ) , n . o n B e f o r e S e n d ( r , e , t ) , r . o n r e a d y s t a t e c h a n g e = f u n c t i o n ( ) { 4 = = = r . r e a d y S t a t e & & ( 2 0 0 = = = r . s t a t u s & & o ( r . r e s p o n s e T e x t ) ? a ( r . r e s p o n s e T e x t , t ) : s ( r , t ) ) } , r . s e n d ( ) } } ) ) }
/ * *
* Gets CSS data from < style > and < link > nodes ( including @ imports ) , then
* returns data in order processed by DOM . Allows specifying nodes to
* include / exclude and filtering CSS data using RegEx .
*
* @ preserve
* @ param { object } [ options ] The options object
* @ param { object } [ options . rootElement = document ] Root element to traverse for
* < link > and < style > nodes .
* @ param { string } [ options . include ] CSS selector matching < link > and < style >
* nodes to include
* @ param { string } [ options . exclude ] CSS selector matching < link > and < style >
* nodes to exclude
* @ param { object } [ options . filter ] Regular expression used to filter node CSS
* data . Each block of CSS data is tested against the filter ,
* and only matching data is included .
* @ param { object } [ options . useCSSOM = false ] Determines if CSS data will be
* collected from a stylesheet ' s runtime values instead of its
* text content . This is required to get accurate CSS data
* when a stylesheet has been modified using the deleteRule ( )
* or insertRule ( ) methods because these modifications will
* not be reflected in the stylesheet ' s text content .
* @ param { function } [ options . onBeforeSend ] Callback before XHR is sent . Passes
* 1 ) the XHR object , 2 ) source node reference , and 3 ) the
* source URL as arguments .
* @ param { function } [ options . onSuccess ] Callback on each CSS node read . Passes
* 1 ) CSS text , 2 ) source node reference , and 3 ) the source
* URL as arguments .
* @ param { function } [ options . onError ] Callback on each error . Passes 1 ) the XHR
* object for inspection , 2 ) soure node reference , and 3 ) the
* source URL that failed ( either a < link > href or an @ import )
* as arguments
* @ param { function } [ options . onComplete ] Callback after all nodes have been
* processed . Passes 1 ) concatenated CSS text , 2 ) an array of
* CSS text in DOM order , and 3 ) an array of nodes in DOM
* order as arguments .
*
* @ example
*
* getCssData ( {
* rootElement : document ,
* include : 'style,link[rel="stylesheet"]' ,
* exclude : '[href="skip.css"]' ,
* filter : /red/ ,
* useCSSOM : false ,
* onBeforeSend ( xhr , node , url ) {
* // ...
* }
* onSuccess ( cssText , node , url ) {
* // ...
* }
* onError ( xhr , node , url ) {
* // ...
* } ,
* onComplete ( cssText , cssArray , nodeArray ) {
* // ...
* }
* } ) ;
2019-11-03 08:22:59 +00:00
* /function h(e){var t={cssComments:/ \ / \ * [ \ s \ S ] + ? \ * \ //g,cssImports:/(?:@import\s*)(?:url\(\s*)?(?:['"])([^'"]*)(?:['"])(?:\s*\))?(?:[^;]*;)/g},n={rootElement:e.rootElement||document,include:e.include||'style,link[rel="stylesheet"]',exclude:e.exclude||null,filter:e.filter||null,useCSSOM:e.useCSSOM||!1,onBeforeSend:e.onBeforeSend||Function.prototype,onSuccess:e.onSuccess||Function.prototype,onError:e.onError||Function.prototype,onComplete:e.onComplete||Function.prototype},i=Array.apply(null,n.rootElement.querySelectorAll(n.include)).filter((function(e){return t=e,i=n.exclude,!(t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector).call(t,i);var t,i})),r=Array.apply(null,Array(i.length)).map((function(e){return null}));function o(){if(-1===r.indexOf(null)){var e=r.join("");n.onComplete(e,r,i)}}function s(e,t,i,s){var l=n.onSuccess(e,i,s);(function e(t,i,r,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];var c=a(t,r,l);c.rules.length?d(c.absoluteUrls,{onBeforeSend:function(e,t,r){n.onBeforeSend(e,i,t)},onSuccess:function(e,t,r){var o=n.onSuccess(e,i,t),s=a(e=!1===o?"":o||e,t,l);return s.rules.forEach((function(t,n){e=e.replace(t,s.absoluteRules[n])})),e},onError:function(n,a,u){s.push({xhr:n,url:a}),l.push(c.rules[u]),e(t,i,r,o,s,l)},onComplete:function(n){n.forEach((function(e,n){t=t.replace(c.rules[n],e)})),e(t,i,r,o,s,l)}}):o(t,s)})(e=void 0!==l&&!1===Boolean(l)?"":l||e,i,s,(function(e,s){null===r[t]&&(s.forEach((function(e){return n.onError(e.xhr,i,e.url)})),!n.filter||n.filter.test(e)?r[t]=e:r[t]="",o())}))}function a(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r={};return r.rules=(e.replace(t.cssComments,"").match(t.cssImports)||[]).filter((function(e){return-1===i.indexOf(e)})),r.urls=r.rules.map((function(e){return e.replace(t.cssImports,"$1")})),r.absoluteUrls=r.urls.map((function(e){return f(e,n)})),r.absoluteRules=r.rules.map((function(e,t){var i=r.urls[t],o=f(r.absoluteUrls[t],n);return e.replace(i,o)})),r}i.length?i.forEach((function(e,t){var i=e.getAttribute("href"),a=e.getAttribute("rel"),l="LINK"===e.nodeName&&i&&a&&"stylesheet"===a.toLowerCase(),c="STYLE"===e.nodeName;if(l)d(i,{mimeType:"text/css",onBeforeSend:function(t,i,r){n.onBeforeSend(t,e,i)},onSuccess:function(n,r,o){var a=f(i,location.href);s(n,t,e,a)},onError:function(i,s,a){r[t]="",n.onError(i,e,s),o()}});else if(c){var u=e.textContent;n.useCSSOM&&(u=Array.apply(null,e.sheet.cssRules).map((function(e){return e.cssText})).join("")),s(u,t,e,location.href)}else r[t]="",o()})):n.onComplete("",[])}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location.href,n=document.implementation.createHTMLDocument(""),i=n.createElement("base"),r=n.createElement("a");return n.head.appendChild(i),n.body.appendChild(r),i.href=t,r.href=e,r.href}var p=m;function m(e,t,n){e instanceof RegExp&&(e=g(e,n)),t instanceof RegExp&&(t=g(t,n));var i=_(e,t,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+e.length,i[1]),post:n.slice(i[1]+t.length)}}function g(e,t){var n=t.match(e);return n?n[0]:null}function _(e,t,n){var i,r,o,s,a,l=n.indexOf(e),c=n.indexOf(t,l+1),u=l;if(l>=0&&c>0){for(i=[],o=n.length;u>=0&&!a;)u==l?(i.push(u),l=n.indexOf(e,u+1)):1==i.length?a=[i.pop(),c]:((r=i.pop())<o&&(o=r,s=c),c=n.indexOf(t,u+1)),u=l<c&&l>=0?l:c;i.length&&(a=[o,s])}return a}function v(e){var t=c({},{preserveStatic:!0,removeComments:!1},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});function n(e){throw new Error("CSS parse error: ".concat(e))}function i(t){var n=t.exec(e);if(n)return e=e.slice(n[0].length),n}function r(){return i(/^{\s*/)}function o(){return i(/^}/)}function s(){i(/^\s*/)}function a(){if(s(),"/"===e[0]&&"*"===e[1]){for(var t=2;e[t]&&("*"!==e[t]||"/"!==e[t+1]);)t++;if(!e[t])return n("end of comment is missing");var i=e.slice(2,t);return e=e.slice(t+2),{type:"comment",comment:i}}}function l(){for(var e,n=[];e=a();)n.push(e);return t.removeComments?[]:n
2019-10-21 19:36:17 +00:00
/ * *
* Fetches , parses , and transforms CSS custom properties from specified
* < style > and < link > elements into static values , then appends a new < style >
* element with static values to the DOM to provide CSS custom property
* compatibility for legacy browsers . Also provides a single interface for
* live updates of runtime values in both modern and legacy browsers .
*
* @ preserve
* @ param { object } [ options ] Options object
* @ param { object } [ options . rootElement = document ] Root element to traverse for
* < link > and < style > nodes
* @ param { boolean } [ options . shadowDOM = false ] Determines if shadow DOM < link >
* and < style > nodes will be processed .
* @ param { string } [ options . include = "style,link[rel=stylesheet]" ] CSS selector
* matching < link re = "stylesheet" > and < style > nodes to
* process
* @ param { string } [ options . exclude ] CSS selector matching < link
* rel = "stylehseet" > and < style > nodes to exclude from those
* matches by options . include
* @ param { object } [ options . variables ] A map of custom property name / value
* pairs . Property names can omit or include the leading
* double - hyphen ( — ) , and values specified will override
* previous values
* @ param { boolean } [ options . onlyLegacy = true ] Determines if the ponyfill will
* only generate legacy - compatible CSS in browsers that lack
* native support ( i . e . , legacy browsers )
* @ param { boolean } [ options . preserveStatic = true ] Determines if CSS
* declarations that do not reference a custom property will
* be preserved in the transformed CSS
* @ param { boolean } [ options . preserveVars = false ] Determines if CSS custom
* property declarations will be preserved in the transformed
* CSS
* @ param { boolean } [ options . silent = false ] Determines if warning and error
* messages will be displayed on the console
* @ param { boolean } [ options . updateDOM = true ] Determines if the ponyfill will
* update the DOM after processing CSS custom properties
* @ param { boolean } [ options . updateURLs = true ] Determines if the ponyfill will
* convert relative url ( ) paths to absolute urls
* @ param { boolean } [ options . watch = false ] Determines if a MutationObserver will
* be created that will execute the ponyfill when a < link > or
* < style > DOM mutation is observed
* @ param { function } [ options . onBeforeSend ] Callback before XHR is sent . Passes
* 1 ) the XHR object , 2 ) source node reference , and 3 ) the
* source URL as arguments
* @ param { function } [ options . onWarning ] Callback after each CSS parsing warning
* has occurred . Passes 1 ) a warning message as an argument .
* @ param { function } [ options . onError ] Callback after a CSS parsing error has
* occurred or an XHR request has failed . Passes 1 ) an error
* message , and 2 ) source node reference , 3 ) xhr , and 4 url as
* arguments .
* @ param { function } [ options . onSuccess ] Callback after CSS data has been
* collected from each node and before CSS custom properties
* have been transformed . Allows modifying the CSS data before
* it is transformed by returning any string value ( or false
* to skip ) . Passes 1 ) CSS text , 2 ) source node reference , and
* 3 ) the source URL as arguments .
* @ param { function } [ options . onComplete ] Callback after all CSS has been
* processed , legacy - compatible CSS has been generated , and
* ( optionally ) the DOM has been updated . Passes 1 ) a CSS
* string with CSS variable values resolved , 2 ) an array of
* output < style > node references that have been appended to
* the DOM , 3 ) an object containing all custom properies names
* and values , and 4 ) the ponyfill execution time in
* milliseconds .
*
* @ example
*
* cssVars ( {
* rootElement : document ,
* shadowDOM : false ,
* include : 'style,link[rel="stylesheet"]' ,
* exclude : '' ,
* variables : { } ,
* onlyLegacy : true ,
* preserveStatic : true ,
* preserveVars : false ,
* silent : false ,
* updateDOM : true ,
* updateURLs : true ,
* watch : false ,
* onBeforeSend ( xhr , node , url ) { } ,
* onWarning ( message ) { } ,
* onError ( message , node , xhr , url ) { } ,
* onSuccess ( cssText , node , url ) { } ,
* onComplete ( cssText , styleNode , cssVariables , benchmark ) { }
* } ) ;
* /
2019-11-24 10:13:21 +00:00
function j ( ) { var e = arguments . length > 0 && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } , t = "cssVars(): " , n = c ( { } , S , e ) ; function i ( e , i , r , o ) { ! n . silent && window . console && console . error ( "" . concat ( t ) . concat ( e , "\n" ) , i ) , n . onError ( e , i , r , o ) } function r ( e ) { ! n . silent && window . console && console . warn ( "" . concat ( t ) . concat ( e ) ) , n . onWarning ( e ) } if ( L ) { if ( n . watch ) return n . watch = S . watch , function ( e ) { function t ( e ) { return "LINK" === e . tagName && - 1 !== ( e . getAttribute ( "rel" ) || "" ) . indexOf ( "stylesheet" ) && ! e . disabled } if ( ! window . MutationObserver ) return ; P && ( P . disconnect ( ) , P = null ) ; ( P = new MutationObserver ( ( function ( n ) { n . some ( ( function ( n ) { var i , r = ! 1 ; return "attributes" === n . type ? r = t ( n . target ) : "childList" === n . type && ( i = n . addedNodes , r = Array . apply ( null , i ) . some ( ( function ( e ) { var n = 1 === e . nodeType && e . hasAttribute ( "data-cssvars" ) , i = function ( e ) { return "STYLE" === e . tagName && ! e . disabled } ( e ) && Y . cssVars . test ( e . textContent ) ; return ! n && ( t ( e ) || i ) } ) ) || function ( t ) { return Array . apply ( null , t ) . some ( ( function ( t ) { var n = 1 === t . nodeType , i = n && "out" === t . getAttribute ( "data-cssvars" ) , r = n && "src" === t . getAttribute ( "data-cssvars" ) , o = r ; if ( r || i ) { var s = t . getAttribute ( "data-cssvars-group" ) , a = e . rootElement . querySelector ( '[data-cssvars-group="' . concat ( s , '"]' ) ) ; r && ( B ( e . rootElement ) , C . dom = { } ) , a && a . parentNode . removeChild ( a ) } return o } ) ) } ( n . removedNodes ) ) , r } ) ) && j ( e ) } ) ) ) . observe ( document . documentElement , { attributes : ! 0 , attributeFilter : [ "disabled" , "href" ] , childList : ! 0 , subtree : ! 0 } ) } ( n ) , void j ( n ) ; if ( ! 1 === n . watch && P && ( P . disconnect ( ) , P = null ) , ! n . _ _benchmark ) { if ( E === n . rootElement ) return void function ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : 100 ; clearTimeout ( H ) , H = setTimeout ( ( function ( ) { e . _ _benchmark = null , j ( e ) } ) , t ) } ( e ) ; if ( n . _ _benchmark = N ( ) , n . exclude = [ P ? '[data-cssvars]:not([data-cssvars=""])' : '[data-cssvars="out"]' , n . exclude ] . filter ( ( function ( e ) { return e } ) ) . join ( "," ) , n . variables = function ( ) { var e = arguments . length > 0 && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } , t = /^-{2}/ ; return Object . keys ( e ) . reduce ( ( function ( n , i ) { return n [ t . test ( i ) ? i : "--" . concat ( i . replace ( /^-+/ , "" ) ) ] = e [ i ] , n } ) , { } ) } ( n . variables ) , ! P ) if ( Array . apply ( null , n . rootElement . querySelectorAll ( '[data-cssvars="out"]' ) ) . forEach ( ( function ( e ) { var t = e . getAttribute ( "data-cssvars-group" ) ; ( t ? n . rootElement . querySelector ( '[data-cssvars="src"][data-cssvars-group="' . concat ( t , '"]' ) ) : null ) || e . parentNode . removeChild ( e ) } ) ) , O ) { var o = n . rootElement . querySelectorAll ( '[data-cssvars]:not([data-cssvars="out"])' ) ; o . length < O && ( O = o . length , C . dom = { } ) } } if ( "loading" !== document . readyState ) if ( D && n . onlyLegacy ) { if ( n . updateDOM ) { var s = n . rootElement . host || ( n . rootElement === document ? document . documentElement : n . rootElement ) ; Object . keys ( n . variables ) . forEach ( ( function ( e ) { s . style . setProperty ( e , n . variables [ e ] ) } ) ) } } else ! I && ( n . shadowDOM || n . rootElement . shadowRoot || n . rootElement . host ) ? h ( { rootElement : S . rootElement , include : S . include , exclude : n . exclude , onSuccess : function ( e , t , n ) { return ( e = ( ( e = e . replace ( Y . cssComments , "" ) . replace ( Y . cssMediaQueries , "" ) ) . match ( Y . cssVarDeclRules ) || [ ] ) . join ( "" ) ) || ! 1 } , onComplete : function ( e , t , i ) { y ( e , { store : C . dom , onWarning : r } ) , I = ! 0 , j ( n ) } } ) : ( E = n . rootElement , h ( { rootElement : n . rootElement , include : n . include , exclude : n . exclude , onBeforeSend : n . onBeforeSend , onError : function ( e , t , n ) { var r = e . responseURL || F ( n , location . href ) , o = e . statusText ? "(" . concat ( e . statusText , ")" ) : "Unspecified Error" + ( 0 === e . status ? " (possibly CORS related)" : "" ) ; i ( "CSS XHR Error: " . concat ( r , " " ) . concat ( e . status , " " ) . concat ( o ) , t , e , r ) } , onSuccess : function ( e , t , i ) { var r = n . onSuccess ( e , t , i ) ; return e = void 0 !== r && ! 1 === Boolean ( r ) ? "" : r || e , n . updateURLs && ( e = function ( e , t ) { return ( e . replace ( Y . cssComments , "" ) . match ( Y . cssUrls ) || [ ] ) . forEach ( ( function ( n ) { var i = n . replace ( Y . cssUrls , "$1" ) , r = F ( i , t ) ; e = e . replace ( n , n . replace ( i , r ) ) } ) ) , e } ( e , i ) ) , e } , onComplete : function ( e , t ) { var o = arguments . length > 2 && void 0 !== arguments [ 2 ] ? arguments [ 2 ] : [ ] , s = { } , a = n . updateDOM ? C . dom : Object . keys ( C . job ) . length ? C . job : C . job = JSON . parse ( JSON . stringify ( C . dom ) ) , l = ! 1 ; if ( o . forEach ( ( function ( e , o ) { if ( Y . cssVars . test ( t [ o ] ) ) try { var a = v ( t [ o ] , { preserveStatic : n . preserveStatic , removeComments : ! 0 } ) ; y ( a , { parseHost : Boolean ( n . rootElement . host ) , store : s , onWarning : r } ) , e . _ _cssVars = { tree : a } } catch ( t ) { i ( t . message , e ) } } ) ) , n . update
2019-10-21 19:36:17 +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 G = function ( ) { var e = s ( ) ( "#appmenu li" ) , t = s ( ) ( ".header-right" ) . outerWidth ( ) , n = s ( ) ( "header" ) . outerWidth ( ) - s ( ) ( "#nextcloud" ) . outerWidth ( ) - ( t > 210 ? t : 210 ) , i = s ( ) ( window ) . width ( ) < 1024 ; i || ( n *= . 33 ) ; var r , o = Math . floor ( n / s ( ) ( e ) . width ( ) ) ; i && o > 8 && ( o = 8 ) , ! i && o < 8 && ( o = 8 ) , e . length - 1 - o >= 1 && o -- , s ( ) ( "#more-apps a" ) . removeClass ( "active" ) ; for ( var a = 0 ; a < e . length - 1 ; a ++ ) { var l = s ( ) ( e [ a ] ) . data ( "id" ) ; a < o ? ( s ( ) ( e [ a ] ) . removeClass ( "hidden" ) , s ( ) ( "#apps li[data-id=" + l + "]" ) . addClass ( "in-header" ) , r = e [ a ] ) : ( s ( ) ( e [ a ] ) . addClass ( "hidden" ) , s ( ) ( "#apps li[data-id=" + l + "]" ) . removeClass ( "in-header" ) , o > 0 && s ( ) ( e [ a ] ) . children ( "a" ) . hasClass ( "active" ) && ( s ( ) ( r ) . addClass ( "hidden" ) , s ( ) ( "#apps li[data-id=" + s ( ) ( r ) . data ( "id" ) + "]" ) . removeClass ( "in-header" ) , s ( ) ( e [ a ] ) . removeClass ( "hidden" ) , s ( ) ( "#apps li[data-id=" + l + "]" ) . addClass ( "in-header" ) ) ) } 0 === s ( ) ( "#apps li:not(.in-header)" ) . length ? ( s ( ) ( "#more-apps" ) . hide ( ) , s ( ) ( "#navigation" ) . hide ( ) ) : s ( ) ( "#more-apps" ) . show ( ) } , J = function ( ) { l . a . locale ( U . a . getLocale ( ) ) ; var e , t = window . navigator . userAgent , n = t . indexOf ( "MSIE " ) , i = t . indexOf ( "Trident/" ) , o = t . indexOf ( "Edge/" ) ; if ( n > 0 || i > 0 ? s ( ) ( "html" ) . addClass ( "ie" ) : o > 0 && s ( ) ( "html" ) . addClass ( "edge" ) , ( n > 0 || i > 0 || o > 0 ) && ( console . info ( "Legacy browser detected, applying css vars polyfill" ) , R ( { watch : ! 0 , onlyLegacy : ! ( /Edge\/([0-9]{2})\./i . test ( navigator . userAgent ) && parseInt ( /Edge\/([0-9]{2})\./i . exec ( navigator . userAgent ) [ 1 ] ) < 16 ) } ) ) , s ( ) ( window ) . on ( "unload.main" , ( function ( ) { U . a . _unloadCalled = ! 0 } ) ) , s ( ) ( window ) . on ( "beforeunload.main" , ( function ( ) { setTimeout ( ( function ( ) { U . a . _userIsNavigatingAway = ! 0 , setTimeout ( ( function ( ) { U . a . _unloadCalled || ( U . a . _userIsNavigatingAway = ! 1 ) } ) , 1e4 ) } ) , 1 ) } ) ) , s ( ) ( document ) . on ( "ajaxError.main" , ( function ( e , t , n ) { n && n . allowAuthErrors || U . a . _processAjaxError ( t ) } ) ) , q ( ) , U . a . registerMenu ( s ( ) ( "#expand" ) , s ( ) ( "#expanddiv" ) , ! 1 , ! 0 ) , s ( ) ( document ) . on ( "mouseup.closemenus" , ( function ( e ) { var t = s ( ) ( e . target ) ; if ( t . closest ( ".menu" ) . length || t . closest ( ".menutoggle" ) . length ) return ! 1 ; U . a . hideMenus ( ) } ) ) , function ( ) { U . a . registerMenu ( s ( ) ( "#more-apps > a" ) , s ( ) ( "#navigation" ) ) ; var e = s ( ) ( "#header .header-appname-container" ) , t = s ( ) ( "#navigation" ) , n = s ( ) ( "#appmenu" ) ; U . a . registerMenu ( e , t ) , e . data ( "oldhref" , e . attr ( "href" ) ) , e . attr ( "href" , "#" ) , t . hide ( ) , t . delegate ( "a" , "click" , ( function ( e ) { var t = s ( ) ( e . target ) ; t . is ( "a" ) || ( t = t . closest ( "a" ) ) , 1 !== e . which || e . ctrlKey || e . metaKey ? U . a . hideMenus ( ( function ( ) { return ! 1 } ) ) : ( t . find ( "svg" ) . remove ( ) , t . find ( "div" ) . remove ( ) , t . prepend ( s ( ) ( "<div/>" ) . addClass ( "icon-loading-small" ) ) ) } ) ) , t . delegate ( "a" , "mouseup" , ( function ( e ) { 2 === e . which && U . a . hideMenus ( ( function ( ) { return ! 1 } ) ) } ) ) , n . delegate ( "li:not(#more-apps) > a" , "click" , ( function ( e ) { var t = s ( ) ( e . target ) ; t . is ( "a" ) || ( t = t . closest ( "a" ) ) , 1 !== e . which || e . ctrlKey || e . metaKey || 0 !== t . parent ( "#more-apps" ) . length ? U . a . hideMenus ( ( function ( ) { return ! 1 } ) ) : ( t . find ( "svg" ) . remove ( ) , t . find ( "div" ) . remove ( ) , t . prepend ( s ( ) ( "<div/>" ) . addClass ( OCA . Theming && OCA . Theming . inverted ? "icon-loading-small" : "icon-loading-small-dark" ) ) , window . location = t . attr ( "href" ) ) } ) ) } ( ) , ( e = s ( ) ( "#header #settings" ) ) . delegate ( "a" , "click" , ( function ( e ) { var t = s ( ) ( e . target ) ; t . is ( "a" ) || ( t = t . closest ( "a" ) ) , 1 !== e . which || e . ctrlKey || e . metaKey ? U . a . hideMenus ( ( function ( ) { return ! 1 } ) ) : ( t . find ( "img" ) . remove ( ) , t . find ( "div" ) . remove ( ) , t . prepend ( s ( ) ( "<div/>" ) . addClass ( "icon-loading-small" ) ) ) } ) ) , e . delegate ( "a" , "mouseup" , ( function ( e ) { 2 === e . which && U . a . hideMenus ( ( function ( ) { return ! 1 } ) ) } ) ) , new U . a . ContactsMenu ( { el : s ( ) ( "#contactsmenu .menu" ) , trigger : s ( ) ( "#contactsmenu .menutoggle" ) } ) , s ( ) ( "#navigation" ) . length && ( s ( ) ( "#header #nextcloud + .menutoggle" ) . on ( "click" , ( function ( ) { s ( ) ( "#menu-css-helper" ) . remove ( ) ; var e = s ( ) ( ".header-appname + .icon-caret" ) . offset ( ) . left - 2 ; e > 255 || s ( ) ( "head" ) . append ( '<style id="menu-css-helper">#navigation:after { left: ' + e + "px }</style>" ) } ) ) , s ( ) ( "#header #appmenu .menutoggle" ) . on ( "click" , ( function ( ) { s ( ) ( "#appmenu" ) . toggleClass ( "menu-open" ) , s ( ) ( "#appmenu" ) . is ( ":visible" ) && s ( ) ( "#menu-css-helper" ) . remove ( ) } ) ) ) , s ( ) ( window ) . resize ( G ) , setTimeout ( G , 0 ) , s ( ) ( "#app-navigation" ) . length && ! s ( ) ( "html" ) . hasClass ( "lte9" ) && ! s ( ) ( "#app-content" ) . hasClass ( "no-snapper" ) ) { var a = new Snap ( { element : document . getElementById ( "app-content" ) , disab
2019-01-14 11:01:04 +00:00
/ * !
* clipboard . js v2 . 0.4
* https : //zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
* /
2019-11-10 20:27:17 +00:00
var i ; i = function ( ) { return function ( e ) { var t = { } ; function n ( i ) { if ( t [ i ] ) return t [ i ] . exports ; var r = t [ i ] = { i : i , l : ! 1 , exports : { } } ; return e [ i ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } return n . m = e , n . c = t , n . d = function ( e , t , i ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : i } ) } , 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 i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var r in e ) n . d ( i , r , function ( t ) { return e [ t ] } . bind ( null , r ) ) ; return i } , 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 = 0 ) } ( [ function ( e , t , n ) { "use strict" ; var i = "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 } , r = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var i = t [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( e , i . key , i ) } } return function ( t , n , i ) { return n && e ( t . prototype , n ) , i && e ( t , i ) , t } } ( ) , o = l ( n ( 1 ) ) , s = l ( n ( 3 ) ) , a = l ( n ( 4 ) ) ; function l ( e ) { return e && e . _ _esModule ? e : { default : e } } var c = function ( e ) { function t ( e , n ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) ; var i = function ( e , t ) { if ( ! e ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" ) ; return ! t || "object" != typeof t && "function" != typeof t ? e : t } ( this , ( t . _ _proto _ _ || Object . getPrototypeOf ( t ) ) . call ( this ) ) ; return i . resolveOptions ( n ) , i . listenClick ( e ) , i } return function ( e , t ) { if ( "function" != typeof t && null !== t ) throw new TypeError ( "Super expression must either be null or a function, not " + typeof t ) ; e . prototype = Object . create ( t && t . prototype , { constructor : { value : e , enumerable : ! 1 , writable : ! 0 , configurable : ! 0 } } ) , t && ( Object . setPrototypeOf ? Object . setPrototypeOf ( e , t ) : e . _ _proto _ _ = t ) } ( t , e ) , r ( t , [ { key : "resolveOptions" , value : function ( ) { var e = arguments . length > 0 && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } ; this . action = "function" == typeof e . action ? e . action : this . defaultAction , this . target = "function" == typeof e . target ? e . target : this . defaultTarget , this . text = "function" == typeof e . text ? e . text : this . defaultText , this . container = "object" === i ( e . container ) ? e . container : document . body } } , { key : "listenClick" , value : function ( e ) { var t = this ; this . listener = ( 0 , a . default ) ( e , "click" , ( function ( e ) { return t . onClick ( e ) } ) ) } } , { key : "onClick" , value : function ( e ) { var t = e . delegateTarget || e . currentTarget ; this . clipboardAction && ( this . clipboardAction = null ) , this . clipboardAction = new o . default ( { action : this . action ( t ) , target : this . target ( t ) , text : this . text ( t ) , container : this . container , trigger : t , emitter : this } ) } } , { key : "defaultAction" , value : function ( e ) { return u ( "action" , e ) } } , { key : "defaultTarget" , value : function ( e ) { var t = u ( "target" , e ) ; if ( t ) return document . querySelector ( t ) } } , { key : "defaultText" , value : function ( e ) { return u ( "text" , e ) } } , { key : "destroy" , value : function ( ) { this . listener . destroy ( ) , this . clipboardAction && ( this . clipboardAction . destroy ( ) , this . clipboardAction = null ) } } ] , [ { key : "isSupported" , value : function ( ) { var e = arguments . length > 0 && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : [ "copy" , "cut" ] , t = "string" == typeof e ? [ e ] : e , n = ! ! document . queryCommandSupported ; return t . forEach ( ( function ( e ) { n = n && ! ! document . queryCommandSupported ( e ) } ) ) , n } } ] ) , t } ( s . default ) ; function u ( e , t ) { var n = "data-clipboard-" + e ; if ( t . hasAttribute ( n ) ) return t . getAttribute ( n ) } e . exports = c } , function ( e , t , n ) { "use strict" ; var i , r = "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 } , o = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var i = t [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "
2018-12-11 19:56:46 +00:00
/ * !
autosize 4.0 . 2
license : MIT
http : //www.jacklmoore.com/autosize
2019-11-03 08:22:59 +00:00
* /r=[e,t],void 0===(o="function"==typeof(i=function(e,t){"use strict";var n,i,r="function"==typeof Map?new Map:(n=[],i=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return i[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),i.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i.splice(t,1))}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function s(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!r.has(e)){var t,n=null,i=null,s=null,a=function(){e.clientWidth!==i&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),r.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",r.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",i=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),i="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(i<t?"hidden"===n.overflowY&&(c("scroll"),u(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),u(),i="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),s!==i){s=i;var r=o("autosize:resized");try{e.dispatchEvent(r)}catch(e){}}}}function a(e){var t=r.get(e);t&&t.destroy()}function l(e){var t=r.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return s(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default})?i.apply(t,r):i)||(e.exports=o)},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/ ^ \ n + /,code:/ ^ ( { 4 } [ ^ \ n ] + \ n * ) + /,fences:/ ^ { 0 , 3 } ( ` {3,}|~{3,})([^ ` ~ \ n ] * ) \ n ( ? : | ( [ \ s \ S ] * ? ) \ n ) ( ? : { 0 , 3 } \ 1 [ ~ ` ]* *(?: \n +| $ )| $ )/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?: \* *){3,})(?: \n +| $ )/,heading:/^ {0,3}(#{1,6}) +([^ \n ]*?)(?: +#+)? *(?: \n +| $ )/,blockquote:/^( {0,3}> ?(paragraph|[^ \n ]*)(?: \n | $ ))+/,list:/^( {0,3})(bull) [ \s \S ]+?(?:hr|def| \n {2,}(?! )(?! \1 bull ) \n *| \s * $ )/,html:"^ {0,3}(?:<(script|pre|style)[ \\ s>][ \\ s \\ S]*?(?:</ \\ 1>[^ \\ n]* \\ n+| $ )|comment[^ \\ n]*( \\ n+| $ )|< \\ ?[ \\ s \\ S]*? \\ ?> \\ n*|<![A-Z][ \\ s \\ S]*?> \\ n*|<! \\ [CDATA \\ [[ \\ s \\ S]*? \\ ] \\ ]> \\ n*|</?(tag)(?: +| \\ n|/?>)[ \\ s \\ S]*?(?: \\ n{2,}| $ )|<(?!script|pre|style)([a-z][ \\ w-]*)(?:attribute)*? */?>
2019-09-25 16:19:42 +00:00
/ * !
* Toastify js 1.6 . 1
* https : //github.com/apvarun/toastify-js
* @ license MIT licensed
*
* Copyright ( C ) 2018 Varun A P
* /
2019-10-28 06:46:16 +00:00
var i , r ; i = this , r = function ( e ) { var t = function ( e ) { return new t . lib . init ( e ) } ; function n ( e , t ) { return ! ( ! e || "string" != typeof t || ! ( e . className && e . className . trim ( ) . split ( /\s+/gi ) . indexOf ( t ) > - 1 ) ) } return t . lib = t . prototype = { toastify : "1.6.1" , constructor : t , init : function ( e ) { return e || ( e = { } ) , this . options = { } , this . toastElement = null , this . options . text = e . text || "Hi there!" , this . options . duration = e . duration || 3e3 , this . options . selector = e . selector , this . options . callback = e . callback || function ( ) { } , this . options . destination = e . destination , this . options . newWindow = e . newWindow || ! 1 , this . options . close = e . close || ! 1 , this . options . gravity = "bottom" == e . gravity ? "toastify-bottom" : "toastify-top" , this . options . positionLeft = e . positionLeft || ! 1 , this . options . position = e . position || "" , this . options . backgroundColor = e . backgroundColor , this . options . avatar = e . avatar || "" , this . options . className = e . className || "" , this . options . stopOnFocus = void 0 === e . stopOnFocus || e . stopOnFocus , this } , buildToast : function ( ) { if ( ! this . options ) throw "Toastify is not initialized" ; var e = document . createElement ( "div" ) ; if ( e . className = "toastify on " + this . options . className , this . options . position ? e . className += " toastify-" + this . options . position : ! 0 === this . options . positionLeft ? ( e . className += " toastify-left" , console . warn ( "Property `positionLeft` will be depreciated in further versions. Please use `position` instead." ) ) : e . className += " toastify-right" , e . className += " " + this . options . gravity , this . options . backgroundColor && ( e . style . background = this . options . backgroundColor ) , e . innerHTML = this . options . text , "" !== this . options . avatar ) { var t = document . createElement ( "img" ) ; t . src = this . options . avatar , t . className = "toastify-avatar" , "left" == this . options . position || ! 0 === this . options . positionLeft ? e . appendChild ( t ) : e . insertAdjacentElement ( "beforeend" , t ) } if ( ! 0 === this . options . close ) { var n = document . createElement ( "span" ) ; if ( n . innerHTML = "✖" , n . className = "toast-close" , n . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , this . removeElement ( e . target . parentElement ) , window . clearTimeout ( e . target . parentElement . timeOutValue ) } . bind ( this ) ) , this . options . stopOnFocus && this . options . duration > 0 ) { const t = this ; e . addEventListener ( "mouseover" , ( function ( t ) { window . clearTimeout ( e . timeOutValue ) } ) ) , e . addEventListener ( "mouseleave" , ( function ( ) { e . timeOutValue = window . setTimeout ( ( function ( ) { t . removeElement ( e ) } ) , t . options . duration ) } ) ) } var i = window . innerWidth > 0 ? window . innerWidth : screen . width ; ( "left" == this . options . position || ! 0 === this . options . positionLeft ) && i > 360 ? e . insertAdjacentElement ( "afterbegin" , n ) : e . appendChild ( n ) } return void 0 !== this . options . destination && e . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , ! 0 === this . options . newWindow ? window . open ( this . options . destination , "_blank" ) : window . location = this . options . destination } . bind ( this ) ) , e } , showToast : function ( ) { var e ; if ( this . toastElement = this . buildToast ( ) , ! ( e = void 0 === this . options . selector ? document . body : document . getElementById ( this . options . selector ) ) ) throw "Root element is not defined" ; return e . insertBefore ( this . toastElement , e . firstChild ) , t . reposition ( ) , this . options . duration > 0 && ( this . toastElement . timeOutValue = window . setTimeout ( function ( ) { this . removeElement ( this . toastElement ) } . bind ( this ) , this . options . duration ) ) , this } , hideToast : function ( ) { this . toastElement . timeOutValue && clearTimeout ( this . toastElement . timeOutValue ) , this . removeElement ( this . toastElement ) } , removeElement : function ( e ) { e . className = e . className . replace ( " on" , "" ) , window . setTimeout ( function ( ) { e . parentNode . removeChild ( e ) , this . options . callback . call ( e ) , t . reposition ( ) } . bind ( this ) , 400 ) } } , t . reposition = function ( ) { for ( var e , t = { top : 15 , bottom : 15 } , i = { top : 15 , bottom : 15 } , r = { top : 15 , bottom : 15 } , o = document . getElementsByClassName ( "toastify" ) , s = 0 ; s < o . length ; s ++ ) { e = ! 0 === n ( o [ s ] , "toastify-top" ) ? "toastify-top" : "toastify-bottom" ; var a = o [ s ] . offsetHeight ; e = e . substr ( 9 , e . length - 1 ) , ( window . innerWidth > 0 ? window . innerWidth : screen . width ) <= 360 ? ( o [ s ] . style [ e ] = r [ e ] + "px" , r [ e ] += a + 15 ) : ! 0 === n ( o [ s ] , "toastify-left" ) ? ( o [ s ] . style [ e ] = t [ e ] + "px" , t [ e ] += a + 15 ) : ( o [ s ] . style [ e ] = i [ e ] + "px" , i [ e ] += a + 15 ) } return this } , t . lib . init . prototype = t . lib , t } , e . exports ? e . exports = r ( ) : i . Toastify = r ( ) } , , , , , , , , , , , , function ( e , t , n ) { "use strict" ; n . r ( t
/ * *
2019-10-21 19:36:17 +00:00
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2018 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-28 06:46:16 +00:00
i ( ) ( document ) . ready ( ( function ( ) { Object ( o . a ) ( ) , Object ( s . b ) ( ) , window . history . pushState ? window . onpopstate = e . bind ( r . a . Util . History . _onPopState , r . a . Util . History ) : i ( ) ( window ) . on ( "hashchange" , e . bind ( r . a . Util . History . _onPopState , r . a . Util . History ) ) } ) ) } . call ( this , n ( 2 ) ) } , function ( e , t , n ) { "use strict" ; n ( 681 ) , n ( 682 ) , n ( 683 ) } , function ( e , t ) {
2019-09-25 16:19:42 +00:00
/ * *
2019-01-31 18:07:39 +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-28 06:46:16 +00:00
if ( "undefined" == typeof console || void 0 === console . log ) { window . console || ( window . console = { } ) ; for ( var n = function ( ) { } , i = [ "log" , "debug" , "warn" , "info" , "error" , "assert" , "time" , "timeEnd" ] , r = 0 ; r < i . length ; r ++ ) console [ i [ r ] ] = n } } , function ( e , t ) { Element . prototype . matches || ( Element . prototype . matches = Element . prototype . msMatchesSelector || Element . prototype . webkitMatchesSelector ) , Element . prototype . closest || ( Element . prototype . closest = function ( e ) { var t = this ; do { if ( t . matches ( e ) ) return t ; t = t . parentElement || t . parentNode } while ( null !== t && 1 === t . nodeType ) ; return null } ) } , function ( e , t ) {
2019-01-31 18:07:39 +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
if ( "-ms-user-select" in document . documentElement . style && navigator . userAgent . match ( /IEMobile\/10\.0/ ) ) { var n = document . createElement ( "style" ) ; n . appendChild ( document . createTextNode ( "@-ms-viewport{width:auto!important}" ) ) , document . getElementsByTagName ( "head" ) [ 0 ] . appendChild ( n ) } } , function ( e , t , n ) { "use strict" ; n ( 685 ) ; var i , r = ( i = n ( 857 ) ) && i . _ _esModule ? i : { default : i } ; r . default . _babelPolyfill && "undefined" != typeof console && console . warn && console . warn ( "@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning." ) , r . default . _babelPolyfill = ! 0 } , function ( e , t , n ) { "use strict" ; n ( 686 ) , n ( 829 ) , n ( 831 ) , n ( 834 ) , n ( 836 ) , n ( 838 ) , n ( 840 ) , n ( 842 ) , n ( 844 ) , n ( 846 ) , n ( 848 ) , n ( 850 ) , n ( 852 ) , n ( 856 ) } , function ( e , t , n ) { n ( 687 ) , n ( 690 ) , n ( 691 ) , n ( 692 ) , n ( 693 ) , n ( 694 ) , n ( 695 ) , n ( 696 ) , n ( 697 ) , n ( 698 ) , n ( 699 ) , n ( 700 ) , n ( 701 ) , n ( 702 ) , n ( 703 ) , n ( 704 ) , n ( 705 ) , n ( 706 ) , n ( 707 ) , n ( 708 ) , n ( 709 ) , n ( 710 ) , n ( 711 ) , n ( 712 ) , n ( 713 ) , n ( 714 ) , n ( 715 ) , n ( 716 ) , n ( 717 ) , n ( 718 ) , n ( 719 ) , n ( 720 ) , n ( 721 ) , n ( 722 ) , n ( 723 ) , n ( 724 ) , n ( 725 ) , n ( 726 ) , n ( 727 ) , n ( 728 ) , n ( 729 ) , n ( 730 ) , n ( 731 ) , n ( 733 ) , n ( 734 ) , n ( 735 ) , n ( 736 ) , n ( 737 ) , n ( 738 ) , n ( 739 ) , n ( 740 ) , n ( 741 ) , n ( 742 ) , n ( 743 ) , n ( 744 ) , n ( 745 ) , n ( 746 ) , n ( 747 ) , n ( 748 ) , n ( 749 ) , n ( 750 ) , n ( 751 ) , n ( 752 ) , n ( 753 ) , n ( 754 ) , n ( 755 ) , n ( 756 ) , n ( 757 ) , n ( 758 ) , n ( 759 ) , n ( 760 ) , n ( 761 ) , n ( 762 ) , n ( 763 ) , n ( 764 ) , n ( 765 ) , n ( 766 ) , n ( 768 ) , n ( 769 ) , n ( 771 ) , n ( 772 ) , n ( 773 ) , n ( 774 ) , n ( 775 ) , n ( 776 ) , n ( 777 ) , n ( 779 ) , n ( 780 ) , n ( 781 ) , n ( 782 ) , n ( 783 ) , n ( 784 ) , n ( 785 ) , n ( 786 ) , n ( 787 ) , n ( 788 ) , n ( 789 ) , n ( 790 ) , n ( 791 ) , n ( 613 ) , n ( 792 ) , n ( 643 ) , n ( 793 ) , n ( 644 ) , n ( 794 ) , n ( 795 ) , n ( 796 ) , n ( 797 ) , n ( 645 ) , n ( 800 ) , n ( 801 ) , n ( 802 ) , n ( 803 ) , n ( 804 ) , n ( 805 ) , n ( 806 ) , n ( 807 ) , n ( 808 ) , n ( 809 ) , n ( 810 ) , n ( 811 ) , n ( 812 ) , n ( 813 ) , n ( 814 ) , n ( 815 ) , n ( 816 ) , n ( 817 ) , n ( 818 ) , n ( 819 ) , n ( 820 ) , n ( 821 ) , n ( 822 ) , n ( 823 ) , n ( 824 ) , n ( 825 ) , n ( 826 ) , n ( 827 ) , n ( 828 ) , e . exports = n ( 39 ) } , function ( e , t , n ) { "use strict" ; var i = n ( 14 ) , r = n ( 75 ) , o = n ( 43 ) , s = n ( 4 ) , a = n ( 72 ) , l = n ( 296 ) . KEY , c = n ( 15 ) , u = n ( 476 ) , d = n ( 320 ) , h = n ( 310 ) , f = n ( 25 ) , p = n ( 594 ) , m = n ( 624 ) , g = n ( 689 ) , _ = n ( 479 ) , v = n ( 16 ) , y = n ( 17 ) , b = n ( 55 ) , w = n ( 77 ) , k = n ( 295 ) , x = n ( 309 ) , M = n ( 314 ) , A = n ( 627 ) , L = n ( 113 ) , D = n ( 478 ) , T = n ( 44 ) , S = n ( 312 ) , Y = L . f , C = T . f , E = A . f , P = i . Symbol , O = i . JSON , H = O && O . stringify , I = f ( "_hidden" ) , j = f ( "toPrimitive" ) , z = { } . propertyIsEnumerable , F = u ( "symbol-registry" ) , N = u ( "symbols" ) , B = u ( "op-symbols" ) , R = Object . prototype , W = "function" == typeof P && ! ! D . f , U = i . QObject , Q = ! U || ! U . prototype || ! U . prototype . findChild , q = o && c ( ( function ( ) { return 7 != M ( C ( { } , "a" , { get : function ( ) { return C ( this , "a" , { value : 7 } ) . a } } ) ) . a } ) ) ? function ( e , t , n ) { var i = Y ( R , t ) ; i && delete R [ t ] , C ( e , t , n ) , i && e !== R && C ( R , t , i ) } : C , V = function ( e ) { var t = N [ e ] = M ( P . prototype ) ; return t . _k = e , t } , G = W && "symbol" == typeof P . iterator ? function ( e ) { return "symbol" == typeof e } : function ( e ) { return e instanceof P } , J = function ( e , t , n ) { return e === R && J ( B , t , n ) , v ( e ) , t = k ( t , ! 0 ) , v ( n ) , r ( N , t ) ? ( n . enumerable ? ( r ( e , I ) && e [ I ] [ t ] && ( e [ I ] [ t ] = ! 1 ) , n = M ( n , { enumerable : x ( 0 , ! 1 ) } ) ) : ( r ( e , I ) || C ( e , I , x ( 1 , { } ) ) , e [ I ] [ t ] = ! 0 ) , q ( e , t , n ) ) : C ( e , t , n ) } , K = function ( e , t ) { v ( e ) ; for ( var n , i = g ( t = w ( t ) ) , r = 0 , o = i . length ; o > r ; ) J ( e , n = i [ r ++ ] , t [ n ] ) ; return e } , X = function ( e ) { var t = z . call ( this , e = k ( e , ! 0 ) ) ; return ! ( this === R && r ( N , e ) && ! r ( B , e ) ) && ( ! ( t || ! r ( this , e ) || ! r ( N , e ) || r ( this , I ) && this [ I ] [ e ] ) || t ) } , Z = function ( e , t ) { if ( e = w ( e ) , t = k ( t , ! 0 ) , e !== R || ! r ( N , t ) || r ( B , t ) ) { var n = Y ( e , t ) ; return ! n || ! r ( N , t ) || r ( e , I ) && e [ I ] [ t ] || ( n . enumerable = ! 0 ) , n } } , $ = function ( e ) { for ( var t , n = E ( w ( e ) ) , i = [ ] , o = 0 ; n . length > o ; ) r ( N , t = n [ o ++ ] ) || t == I || t == l || i . push ( t ) ; return i } , ee = function ( e ) { for ( var t , n = e === R , i = E ( n ? B : w ( e ) ) , o = [ ] , s = 0 ; i . length > s ; ) ! r ( N , t = i [ s ++ ] ) || n && ! r ( R , t ) || o . push ( N [ t ] ) ; return o } ; W || ( a ( ( P = function ( ) { if ( this instanceof P ) throw TypeError ( "Symbol is not a constructor!" ) ; var e = h ( arguments . length > 0 ? arguments [ 0 ] : void 0 ) , t = function ( n ) { this === R && t . call ( B , n ) , r ( this , I ) && r ( this [ I ] , e ) && ( this [ I ] [ e ] = ! 1 ) , q ( this , e , x ( 1 , n ) ) } ; return o && Q && q ( R , e , { configurable : ! 0 , set : t } ) , V ( e ) } ) . prototype , "toString" , ( function ( ) { return this . _k } ) ) , L . f = Z , T . f = J , n ( 315 ) . f = A . f = $ , n ( 470 ) . f = X , D . f = ee , o && ! n ( 311 ) && a ( R , "propertyIsEnumerable" , X , ! 0 ) , p . f = function ( e ) { return V ( f ( e ) ) } ) , s ( s . G + s . W + s . F * ! W , { Symbol : P } ) ; for ( var te = " hasInstance , isConcatSpreadable , iterator , match ,
2019-11-03 08:22:59 +00:00
void 0 === e . migrateMute && ( e . migrateMute = ! 0 ) , function ( e , t , n ) { function i ( n ) { var i = t . console ; o [ n ] || ( o [ n ] = ! 0 , e . migrateWarnings . push ( n ) , i && i . warn && ! e . migrateMute && ( i . warn ( "JQMIGRATE: " + n ) , e . migrateTrace && i . trace && i . trace ( ) ) ) } function r ( t , n , r , o ) { if ( Object . defineProperty ) try { return void Object . defineProperty ( t , n , { configurable : ! 0 , enumerable : ! 0 , get : function ( ) { return i ( o ) , r } , set : function ( e ) { i ( o ) , r = e } } ) } catch ( e ) { } e . _definePropertyBroken = ! 0 , t [ n ] = r } e . migrateVersion = "1.4.1" ; var o = { } ; e . migrateWarnings = [ ] , t . console && t . console . log && t . console . log ( "JQMIGRATE: Migrate is installed" + ( e . migrateMute ? "" : " with logging active" ) + ", version " + e . migrateVersion ) , e . migrateTrace === n && ( e . migrateTrace = ! 0 ) , e . migrateReset = function ( ) { o = { } , e . migrateWarnings . length = 0 } , "BackCompat" === document . compatMode && i ( "jQuery is not compatible with Quirks Mode" ) ; var s = e ( "<input/>" , { size : 1 } ) . attr ( "size" ) && e . attrFn , a = e . attr , l = e . attrHooks . value && e . attrHooks . value . get || function ( ) { return null } , c = e . attrHooks . value && e . attrHooks . value . set || function ( ) { return n } , u = /^(?:input|button)$/i , d = /^[238]$/ , h = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i , f = /^(?:checked|selected)$/i ; r ( e , "attrFn" , s || { } , "jQuery.attrFn is deprecated" ) , e . attr = function ( t , r , o , l ) { var c = r . toLowerCase ( ) , p = t && t . nodeType ; return l && ( a . length < 4 && i ( "jQuery.fn.attr( props, pass ) is deprecated" ) , t && ! d . test ( p ) && ( s ? r in s : e . isFunction ( e . fn [ r ] ) ) ) ? e ( t ) [ r ] ( o ) : ( "type" === r && o !== n && u . test ( t . nodeName ) && t . parentNode && i ( "Can't change the 'type' of an input or button in IE 6/7/8" ) , ! e . attrHooks [ c ] && h . test ( c ) && ( e . attrHooks [ c ] = { get : function ( t , i ) { var r , o = e . prop ( t , i ) ; return ! 0 === o || "boolean" != typeof o && ( r = t . getAttributeNode ( i ) ) && ! 1 !== r . nodeValue ? i . toLowerCase ( ) : n } , set : function ( t , n , i ) { var r ; return ! 1 === n ? e . removeAttr ( t , i ) : ( ( r = e . propFix [ i ] || i ) in t && ( t [ r ] = ! 0 ) , t . setAttribute ( i , i . toLowerCase ( ) ) ) , i } } , f . test ( c ) && i ( "jQuery.fn.attr('" + c + "') might use property instead of attribute" ) ) , a . call ( e , t , r , o ) ) } , e . attrHooks . value = { get : function ( e , t ) { var n = ( e . nodeName || "" ) . toLowerCase ( ) ; return "button" === n ? l . apply ( this , arguments ) : ( "input" !== n && "option" !== n && i ( "jQuery.fn.attr('value') no longer gets properties" ) , t in e ? e . value : null ) } , set : function ( e , t ) { var n = ( e . nodeName || "" ) . toLowerCase ( ) ; return "button" === n ? c . apply ( this , arguments ) : ( "input" !== n && "option" !== n && i ( "jQuery.fn.attr('value', val) no longer sets properties" ) , void ( e . value = t ) ) } } ; var p , m , g , _ = e . fn . init , v = e . find , y = e . parseJSON , b = /^\s*</ , w = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/ , k = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g , x = /^([^<]*)(<[\w\W]+>)([^>]*)$/ ; for ( g in e . fn . init = function ( t , r , o ) { var s , a ; return t && "string" == typeof t && ! e . isPlainObject ( r ) && ( s = x . exec ( e . trim ( t ) ) ) && s [ 0 ] && ( b . test ( t ) || i ( "$(html) HTML strings must start with '<' character" ) , s [ 3 ] && i ( "$(html) HTML text after last tag is ignored" ) , "#" === s [ 0 ] . charAt ( 0 ) && ( i ( "HTML string cannot start with a '#' character" ) , e . error ( "JQMIGRATE: Invalid selector string (XSS)" ) ) , r && r . context && r . context . nodeType && ( r = r . context ) , e . parseHTML ) ? _ . call ( this , e . parseHTML ( s [ 2 ] , r && r . ownerDocument || r || document , ! 0 ) , r , o ) : ( a = _ . apply ( this , arguments ) , t && t . selector !== n ? ( a . selector = t . selector , a . context = t . context ) : ( a . selector = "string" == typeof t ? t : "" , t && ( a . context = t . nodeType ? t : r || document ) ) , a ) } , e . fn . init . prototype = e . fn , e . find = function ( e ) { var t = Array . prototype . slice . call ( arguments ) ; if ( "string" == typeof e && w . test ( e ) ) try { document . querySelector ( e ) } catch ( n ) { e = e . replace ( k , ( function ( e , t , n , i ) { return "[" + t + n + '"' + i + '"]' } ) ) ; try { document . querySelector ( e ) , i ( "Attribute selector with '#' must be quoted: " + t [ 0 ] ) , t [ 0 ] = e } catch ( e ) { i ( "Attribute selector with '#' was not fixed: " + t [ 0 ] ) } } return v . apply ( this , t ) } , v ) Object . prototype . hasOwnProperty . call ( v , g ) && ( e . find [ g ] = v [ g ] ) ; e . parseJSON = function ( e ) { return e ? y . apply ( this , arguments ) : ( i ( "jQuery.parseJSON requires a valid JSON string" ) , null ) } , e . uaMatch = function ( e ) { e = e . toLowerCase ( ) ; var t = /(chrome)[ \/]([\w.]+)/ . exec ( e ) || /(webkit)[ \/]([\w.]+)/ . exec ( e ) || /(opera)(?:.*version|)[ \/]([\w.]+)/ . exec ( e ) || /(msie) ([\w.]+)/ . exec ( e ) || e . indexOf ( "compatible" ) < 0 && / ( m o z i l l a ) ( ? : . * ?
2018-12-21 12:30:33 +00:00
/ * ! j Q u e r y U I - v 1 . 1 2 . 1 - 2 0 1 6 - 0 9 - 1 4
* http : //jqueryui.com
* Includes : widget . js , position . js , data . js , disable - selection . js , effect . js , effects / effect - blind . js , effects / effect - bounce . js , effects / effect - clip . js , effects / effect - drop . js , effects / effect - explode . js , effects / effect - fade . js , effects / effect - fold . js , effects / effect - highlight . js , effects / effect - puff . js , effects / effect - pulsate . js , effects / effect - scale . js , effects / effect - shake . js , effects / effect - size . js , effects / effect - slide . js , effects / effect - transfer . js , focusable . js , form - reset - mixin . js , jquery - 1 - 7. js , keycode . js , labels . js , scroll - parent . js , tabbable . js , unique - id . js , widgets / accordion . js , widgets / autocomplete . js , widgets / button . js , widgets / checkboxradio . js , widgets / controlgroup . js , widgets / datepicker . js , widgets / dialog . js , widgets / draggable . js , widgets / droppable . js , widgets / menu . js , widgets / mouse . js , widgets / progressbar . js , widgets / resizable . js , widgets / selectable . js , widgets / selectmenu . js , widgets / slider . js , widgets / sortable . js , widgets / spinner . js , widgets / tabs . js , widgets / tooltip . js
2019-10-04 10:17:09 +00:00
* Copyright jQuery Foundation and other contributors ; Licensed MIT * / r = [ n ( 0 ) ] , v o i d 0 = = = ( o = " f u n c t i o n " = = t y p e o f ( i = f u n c t i o n ( e ) { e . u i = e . u i | | { } , e . u i . v e r s i o n = " 1 . 1 2 . 1 " ; v a r t , n = 0 , i = A r r a y . p r o t o t y p e . s l i c e ;
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Widget 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2019-11-03 08:22:59 +00:00
* / e . c l e a n D a t a = ( t = e . c l e a n D a t a , f u n c t i o n ( n ) { v a r i , r , o ; f o r ( o = 0 ; n u l l ! = ( r = n [ o ] ) ; o + + ) t r y { ( i = e . _ d a t a ( r , " e v e n t s " ) ) & & i . r e m o v e & & e ( r ) . t r i g g e r H a n d l e r ( " r e m o v e " ) } c a t c h ( e ) { } t ( n ) } ) , e . w i d g e t = f u n c t i o n ( t , n , i ) { v a r r , o , s , a = { } , l = t . s p l i t ( " . " ) [ 0 ] , c = l + " - " + ( t = t . s p l i t ( " . " ) [ 1 ] ) ; r e t u r n i | | ( i = n , n = e . W i d g e t ) , e . i s A r r a y ( i ) & & ( i = e . e x t e n d . a p p l y ( n u l l , [ { } ] . c o n c a t ( i ) ) ) , e . e x p r [ " : " ] [ c . t o L o w e r C a s e ( ) ] = f u n c t i o n ( t ) { r e t u r n ! ! e . d a t a ( t , c ) } , e [ l ] = e [ l ] | | { } , r = e [ l ] [ t ] , o = e [ l ] [ t ] = f u n c t i o n ( e , t ) { i f ( ! t h i s . _ c r e a t e W i d g e t ) r e t u r n n e w o ( e , t ) ; a r g u m e n t s . l e n g t h & & t h i s . _ c r e a t e W i d g e t ( e , t ) } , e . e x t e n d ( o , r , { v e r s i o n : i . v e r s i o n , _ p r o t o : e . e x t e n d ( { } , i ) , _ c h i l d C o n s t r u c t o r s : [ ] } ) , ( s = n e w n ) . o p t i o n s = e . w i d g e t . e x t e n d ( { } , s . o p t i o n s ) , e . e a c h ( i , ( f u n c t i o n ( t , i ) { e . i s F u n c t i o n ( i ) ? a [ t ] = f u n c t i o n ( ) { f u n c t i o n e ( ) { r e t u r n n . p r o t o t y p e [ t ] . a p p l y ( t h i s , a r g u m e n t s ) } f u n c t i o n r ( e ) { r e t u r n n . p r o t o t y p e [ t ] . a p p l y ( t h i s , e ) } r e t u r n f u n c t i o n ( ) { v a r t , n = t h i s . _ s u p e r , o = t h i s . _ s u p e r A p p l y ; r e t u r n t h i s . _ s u p e r = e , t h i s . _ s u p e r A p p l y = r , t = i . a p p l y ( t h i s , a r g u m e n t s ) , t h i s . _ s u p e r = n , t h i s . _ s u p e r A p p l y = o , t } } ( ) : a [ t ] = i } ) ) , o . p r o t o t y p e = e . w i d g e t . e x t e n d ( s , { w i d g e t E v e n t P r e f i x : r & & s . w i d g e t E v e n t P r e f i x | | t } , a , { c o n s t r u c t o r : o , n a m e s p a c e : l , w i d g e t N a m e : t , w i d g e t F u l l N a m e : c } ) , r ? ( e . e a c h ( r . _ c h i l d C o n s t r u c t o r s , ( f u n c t i o n ( t , n ) { v a r i = n . p r o t o t y p e ; e . w i d g e t ( i . n a m e s p a c e + " . " + i . w i d g e t N a m e , o , n . _ p r o t o ) } ) ) , d e l e t e r . _ c h i l d C o n s t r u c t o r s ) : n . _ c h i l d C o n s t r u c t o r s . p u s h ( o ) , e . w i d g e t . b r i d g e ( t , o ) , o } , e . w i d g e t . e x t e n d = f u n c t i o n ( t ) { f o r ( v a r n , r , o = i . c a l l ( a r g u m e n t s , 1 ) , s = 0 , a = o . l e n g t h ; s < a ; s + + ) f o r ( n i n o [ s ] ) r = o [ s ] [ n ] , o [ s ] . h a s O w n P r o p e r t y ( n ) & & v o i d 0 ! = = r & & ( e . i s P l a i n O b j e c t ( r ) ? t [ n ] = e . i s P l a i n O b j e c t ( t [ n ] ) ? e . w i d g e t . e x t e n d ( { } , t [ n ] , r ) : e . w i d g e t . e x t e n d ( { } , r ) : t [ n ] = r ) ; r e t u r n t } , e . w i d g e t . b r i d g e = f u n c t i o n ( t , n ) { v a r r = n . p r o t o t y p e . w i d g e t F u l l N a m e | | t ; e . f n [ t ] = f u n c t i o n ( o ) { v a r s = " s t r i n g " = = t y p e o f o , a = i . c a l l ( a r g u m e n t s , 1 ) , l = t h i s ; r e t u r n s ? t h i s . l e n g t h | | " i n s t a n c e " ! = = o ? t h i s . e a c h ( ( f u n c t i o n ( ) { v a r n , i = e . d a t a ( t h i s , r ) ; r e t u r n " i n s t a n c e " = = = o ? ( l = i , ! 1 ) : i ? e . i s F u n c t i o n ( i [ o ] ) & & " _ " ! = = o . c h a r A t ( 0 ) ? ( n = i [ o ] . a p p l y ( i , a ) ) ! = = i & & v o i d 0 ! = = n ? ( l = n & & n . j q u e r y ? l . p u s h S t a c k ( n . g e t ( ) ) : n , ! 1 ) : v o i d 0 : e . e r r o r ( " n o s u c h m e t h o d ' " + o + " ' f o r " + t + " w i d g e t i n s t a n c e " ) : e . e r r o r ( " c a n n o t c a l l m e t h o d s o n " + t + " p r i o r t o i n i t i a l i z a t i o n ; a t t e m p t e d t o c a l l m e t h o d ' " + o + " ' " ) } ) ) : l = v o i d 0 : ( a . l e n g t h & & ( o = e . w i d g e t . e x t e n d . a p p l y ( n u l l , [ o ] . c o n c a t ( a ) ) ) , t h i s . e a c h ( ( f u n c t i o n ( ) { v a r t = e . d a t a ( t h i s , r ) ; t ? ( t . o p t i o n ( o | | { } ) , t . _ i n i t & & t . _ i n i t ( ) ) : e . d a t a ( t h i s , r , n e w n ( o , t h i s ) ) } ) ) ) , l } } , e . W i d g e t = f u n c t i o n ( ) { } , e . W i d g e t . _ c h i l d C o n s t r u c t o r s = [ ] , e . W i d g e t . p r o t o t y p e = { w i d g e t N a m e : " w i d g e t " , w i d g e t E v e n t P r e f i x : " " , d e f a u l t E l e m e n t : " < d i v > " , o p t i o n s : { c l a s s e s : { } , d i s a b l e d : ! 1 , c r e a t e : n u l l } , _ c r e a t e W i d g e t : f u n c t i o n ( t , i ) { i = e ( i | | t h i s . d e f a u l t E l e m e n t | | t h i s ) [ 0 ] , t h i s . e l e m e n t = e ( i ) , t h i s . u u i d = n + + , t h i s . e v e n t N a m e s p a c e = " . " + t h i s . w i d g e t N a m e + t h i s . u u i d , t h i s . b i n d i n g s = e ( ) , t h i s . h o v e r a b l e = e ( ) , t h i s . f o c u s a b l e = e ( ) , t h i s . c l a s s e s E l e m e n t L o o k u p = { } , i ! = = t h i s & & ( e . d a t a ( i , t h i s . w i d g e t F u l l N a m e , t h i s ) , t h i s . _ o n ( ! 0 , t h i s . e l e m e n t , { r e m o v e : f u n c t i o n ( e ) { e . t a r g e t = = = i & & t h i s . d e s t r o y ( ) } } ) , t h i s . d o c u m e n t = e ( i . s t y l e ? i . o w n e r D o c u m e n t : i . d o c u m e n t | | i ) , t h i s . w i n d o w = e ( t h i s . d o c u m e n t [ 0 ] . d e f a u l t V i e w | | t h i s . d o c u m e n t [ 0 ] . p a r e n t W i n d o w ) ) , t h i s . o p t i o n s = e . w i d g e t . e x t e n d ( { } , t h i s . o p t i o n s , t h i s . _ g e t C r e a t e O p t i o n s ( ) , t ) , t h i s . _ c r e a t e ( ) , t h i s . o p t i o n s . d i s a b l e d & & t h i s . _ s e t O p t i o n D i s a b l e d ( t h i s . o p t i o n s . d i s a b l e d ) , t h i s . _ t r i g g e r ( " c r e a t e " , n u l l , t h i s . _ g e t C r e a t e E v e n t D a t a ( ) ) , t h i s . _ i n i t ( ) } , _ g e t C r e a t e O p t i o n s : f u n c t i o n ( ) { r e t u r n { } } , _ g e t C r e a t e E v e n t D a t a : e . n o o p , _ c r e a t e : e . n o o p , _ i n i t : e . n o o p , d e s t r o y : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . _ d e s t r o y ( ) , e . e a c h ( t h i s . c l a s s e s E l e m e n t L o o k u p , ( f u n c t i o n ( e , n ) { t . _ r e m o v e C l a s s ( n , e ) } ) ) , t h i s . e l e m e n t . o f f ( t h i s . e v e n t N a m e s p a c e ) . r e m o v e D a t a ( t h i s . w i d g e t F u l l N a m e ) , t h i s . w i d g e t ( ) . o f f ( t h i s . e v e n t N a m e s p a c e ) . r e m o v e A t t r ( " a r i a - d i s a b l e d " ) , t h i s . b i n d i n g s . o f f ( t h i s . e v e n t N a m e s p a c e ) } , _ d e s t r o y : e . n o o p , w i d g e t : f u n c t i o n ( ) { r e t u r n t h i s . e l e m e n t } , o p t i o n : f u n c t i o n ( t , n ) { v a r i , r , o , s = t ; i f ( 0 = = = a r g u m e n t s . l e n g t h ) r e t u r n e . w i d g e t . e x t e n d ( { } , t h i s . o p t i o n s ) ; i f ( " s t r i n g " = = t y p e o f t ) i f ( s = { } , i = t . s p l i t ( " . " ) , t = i . s h i f t ( ) , i . l e n g t h ) { f o r ( r = s [ t ] = e . w i d g e t . e x t e n d ( { } , t h i s . o p t i o n s [ t ] ) , o = 0 ; o < i . l e n g t h - 1 ; o + + ) r [ i [ o ] ] = r [ i [ o ] ] | | { } , r = r [ i [ o ] ] ; i f ( t = i . p o p ( ) , 1 = = = a r g u m e n t s . l e n g t h ) r e t u r n v o i d 0 = = = r [ t ] ? n u l l : r [ t ] ; r [ t ] = n } e l s e { i f ( 1 = = = a r g u m e n t s . l e n g t h ) r e t u r n v o i d 0 = = = t h i s . o p t i o n s [ t ] ? n u l l : t h i s . o p t i o n s [ t ] ; s [ t ] = n } r e t u r n t h i s . _ s e t O p t i o n s ( s )
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Position 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
*
* http : //api.jqueryui.com/position/
* /
2019-11-03 08:22:59 +00:00
function ( ) { var t , n = Math . max , i = Math . abs , r = /left|center|right/ , o = /top|center|bottom/ , s = /[\+\-]\d+(\.[\d]+)?%?/ , a = /^\w+/ , l = /%$/ , c = e . fn . position ; function u ( e , t , n ) { return [ parseFloat ( e [ 0 ] ) * ( l . test ( e [ 0 ] ) ? t / 100 : 1 ) , parseFloat ( e [ 1 ] ) * ( l . test ( e [ 1 ] ) ? n / 100 : 1 ) ] } function d ( t , n ) { return parseInt ( e . css ( t , n ) , 10 ) || 0 } function h ( t ) { var n = t [ 0 ] ; return 9 === n . nodeType ? { width : t . width ( ) , height : t . height ( ) , offset : { top : 0 , left : 0 } } : e . isWindow ( n ) ? { width : t . width ( ) , height : t . height ( ) , offset : { top : t . scrollTop ( ) , left : t . scrollLeft ( ) } } : n . preventDefault ? { width : 0 , height : 0 , offset : { top : n . pageY , left : n . pageX } } : { width : t . outerWidth ( ) , height : t . outerHeight ( ) , offset : t . offset ( ) } } e . position = { scrollbarWidth : function ( ) { if ( void 0 !== t ) return t ; var n , i , r = e ( "<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>" ) , o = r . children ( ) [ 0 ] ; return e ( "body" ) . append ( r ) , n = o . offsetWidth , r . css ( "overflow" , "scroll" ) , n === ( i = o . offsetWidth ) && ( i = r [ 0 ] . clientWidth ) , r . remove ( ) , t = n - i } , getScrollInfo : function ( t ) { var n = t . isWindow || t . isDocument ? "" : t . element . css ( "overflow-x" ) , i = t . isWindow || t . isDocument ? "" : t . element . css ( "overflow-y" ) , r = "scroll" === n || "auto" === n && t . width < t . element [ 0 ] . scrollWidth ; return { width : "scroll" === i || "auto" === i && t . height < t . element [ 0 ] . scrollHeight ? e . position . scrollbarWidth ( ) : 0 , height : r ? e . position . scrollbarWidth ( ) : 0 } } , getWithinInfo : function ( t ) { var n = e ( t || window ) , i = e . isWindow ( n [ 0 ] ) , r = ! ! n [ 0 ] && 9 === n [ 0 ] . nodeType ; return { element : n , isWindow : i , isDocument : r , offset : i || r ? { left : 0 , top : 0 } : e ( t ) . offset ( ) , scrollLeft : n . scrollLeft ( ) , scrollTop : n . scrollTop ( ) , width : n . outerWidth ( ) , height : n . outerHeight ( ) } } } , e . fn . position = function ( t ) { if ( ! t || ! t . of ) return c . apply ( this , arguments ) ; t = e . extend ( { } , t ) ; var l , f , p , m , g , _ , v = e ( t . of ) , y = e . position . getWithinInfo ( t . within ) , b = e . position . getScrollInfo ( y ) , w = ( t . collision || "flip" ) . split ( " " ) , k = { } ; return _ = h ( v ) , v [ 0 ] . preventDefault && ( t . at = "left top" ) , f = _ . width , p = _ . height , m = _ . offset , g = e . extend ( { } , m ) , e . each ( [ "my" , "at" ] , ( function ( ) { var e , n , i = ( t [ this ] || "" ) . split ( " " ) ; 1 === i . length && ( i = r . test ( i [ 0 ] ) ? i . concat ( [ "center" ] ) : o . test ( i [ 0 ] ) ? [ "center" ] . concat ( i ) : [ "center" , "center" ] ) , i [ 0 ] = r . test ( i [ 0 ] ) ? i [ 0 ] : "center" , i [ 1 ] = o . test ( i [ 1 ] ) ? i [ 1 ] : "center" , e = s . exec ( i [ 0 ] ) , n = s . exec ( i [ 1 ] ) , k [ this ] = [ e ? e [ 0 ] : 0 , n ? n [ 0 ] : 0 ] , t [ this ] = [ a . exec ( i [ 0 ] ) [ 0 ] , a . exec ( i [ 1 ] ) [ 0 ] ] } ) ) , 1 === w . length && ( w [ 1 ] = w [ 0 ] ) , "right" === t . at [ 0 ] ? g . left += f : "center" === t . at [ 0 ] && ( g . left += f / 2 ) , "bottom" === t . at [ 1 ] ? g . top += p : "center" === t . at [ 1 ] && ( g . top += p / 2 ) , l = u ( k . at , f , p ) , g . left += l [ 0 ] , g . top += l [ 1 ] , this . each ( ( function ( ) { var r , o , s = e ( this ) , a = s . outerWidth ( ) , c = s . outerHeight ( ) , h = d ( this , "marginLeft" ) , _ = d ( this , "marginTop" ) , x = a + h + d ( this , "marginRight" ) + b . width , M = c + _ + d ( this , "marginBottom" ) + b . height , A = e . extend ( { } , g ) , L = u ( k . my , s . outerWidth ( ) , s . outerHeight ( ) ) ; "right" === t . my [ 0 ] ? A . left -= a : "center" === t . my [ 0 ] && ( A . left -= a / 2 ) , "bottom" === t . my [ 1 ] ? A . top -= c : "center" === t . my [ 1 ] && ( A . top -= c / 2 ) , A . left += L [ 0 ] , A . top += L [ 1 ] , r = { marginLeft : h , marginTop : _ } , e . each ( [ "left" , "top" ] , ( function ( n , i ) { e . ui . position [ w [ n ] ] && e . ui . position [ w [ n ] ] [ i ] ( A , { targetWidth : f , targetHeight : p , elemWidth : a , elemHeight : c , collisionPosition : r , collisionWidth : x , collisionHeight : M , offset : [ l [ 0 ] + L [ 0 ] , l [ 1 ] + L [ 1 ] ] , my : t . my , at : t . at , within : y , elem : s } ) } ) ) , t . using && ( o = function ( e ) { var r = m . left - A . left , o = r + f - a , l = m . top - A . top , u = l + p - c , d = { target : { element : v , left : m . left , top : m . top , width : f , height : p } , element : { element : s , left : A . left , top : A . top , width : a , height : c } , horizontal : o < 0 ? "left" : r > 0 ? "right" : "center" , vertical : u < 0 ? "top" : l > 0 ? "bottom" : "middle" } ; f < a && i ( r + o ) < f && ( d . horizontal = "center" ) , p < c && i ( l + u ) < p && ( d . vertical = "middle" ) , n ( i ( r ) , i ( o ) ) > n ( i ( l ) , i ( u ) ) ? d . important = "horizontal" : d . important = "vertical" , t . using . call ( this , e , d ) } ) , s . offset ( e . extend ( A , { using : o } ) ) } ) ) } , e . ui . position = { fit : { left : function ( e , t ) { var i , r = t . within , o = r . isWindow ? r . scrollLeft : r . offset . left , s = r . width , a = e . left - t . collisionPosition . marginLeft , l = o - a , c = a + t . collisionWidth - s - o ; t . collisionWidth > s ? l > 0 && c <= 0 ? ( i = e . left + l + t . collisionWidth - s - o , e . left += l - i ) : e . left = c > 0 && l <= 0 ? o : l > c ? o + s - t . collisionWidth : o : l > 0 ? e . left += l : c > 0 ? e . left -= c : e . left = n ( e . left - a , e . left ) } , top : function ( e , t ) { var i , r = t . within , o = r . isWindow ? r . scrollTop : r . offset . top , s = t . within . height , a = e . to
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI : data 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* / e . e f f e c t s = { e f f e c t : { } } ,
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery Color Animations v2 . 1.2
* https : //github.com/jquery/jquery-color
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
*
* Date : Wed Jan 16 08 : 47 : 09 2013 - 0600
* /
2019-11-03 08:22:59 +00:00
function ( e , t ) { var n , i = /^([\-+])=\s*(\d+\.?\d*)/ , r = [ { re : /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/ , parse : function ( e ) { return [ e [ 1 ] , e [ 2 ] , e [ 3 ] , e [ 4 ] ] } } , { re : /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/ , parse : function ( e ) { return [ 2.55 * e [ 1 ] , 2.55 * e [ 2 ] , 2.55 * e [ 3 ] , e [ 4 ] ] } } , { re : /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/ , parse : function ( e ) { return [ parseInt ( e [ 1 ] , 16 ) , parseInt ( e [ 2 ] , 16 ) , parseInt ( e [ 3 ] , 16 ) ] } } , { re : /#([a-f0-9])([a-f0-9])([a-f0-9])/ , parse : function ( e ) { return [ parseInt ( e [ 1 ] + e [ 1 ] , 16 ) , parseInt ( e [ 2 ] + e [ 2 ] , 16 ) , parseInt ( e [ 3 ] + e [ 3 ] , 16 ) ] } } , { re : /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/ , space : "hsla" , parse : function ( e ) { return [ e [ 1 ] , e [ 2 ] / 100 , e [ 3 ] / 100 , e [ 4 ] ] } } ] , o = e . Color = function ( t , n , i , r ) { return new e . Color . fn . parse ( t , n , i , r ) } , s = { rgba : { props : { red : { idx : 0 , type : "byte" } , green : { idx : 1 , type : "byte" } , blue : { idx : 2 , type : "byte" } } } , hsla : { props : { hue : { idx : 0 , type : "degrees" } , saturation : { idx : 1 , type : "percent" } , lightness : { idx : 2 , type : "percent" } } } } , a = { byte : { floor : ! 0 , max : 255 } , percent : { max : 1 } , degrees : { mod : 360 , floor : ! 0 } } , l = o . support = { } , c = e ( "<p>" ) [ 0 ] , u = e . each ; function d ( e , t , n ) { var i = a [ t . type ] || { } ; return null == e ? n || ! t . def ? null : t . def : ( e = i . floor ? ~ ~ e : parseFloat ( e ) , isNaN ( e ) ? t . def : i . mod ? ( e + i . mod ) % i . mod : 0 > e ? 0 : i . max < e ? i . max : e ) } function h ( t ) { var i = o ( ) , a = i . _rgba = [ ] ; return t = t . toLowerCase ( ) , u ( r , ( function ( e , n ) { var r , o = n . re . exec ( t ) , l = o && n . parse ( o ) , c = n . space || "rgba" ; if ( l ) return r = i [ c ] ( l ) , i [ s [ c ] . cache ] = r [ s [ c ] . cache ] , a = i . _rgba = r . _rgba , ! 1 } ) ) , a . length ? ( "0,0,0,0" === a . join ( ) && e . extend ( a , n . transparent ) , i ) : n [ t ] } function f ( e , t , n ) { return 6 * ( n = ( n + 1 ) % 1 ) < 1 ? e + ( t - e ) * n * 6 : 2 * n < 1 ? t : 3 * n < 2 ? e + ( t - e ) * ( 2 / 3 - n ) * 6 : e } c . style . cssText = "background-color:rgba(1,1,1,.5)" , l . rgba = c . style . backgroundColor . indexOf ( "rgba" ) > - 1 , u ( s , ( function ( e , t ) { t . cache = "_" + e , t . props . alpha = { idx : 3 , type : "percent" , def : 1 } } ) ) , o . fn = e . extend ( o . prototype , { parse : function ( t , i , r , a ) { if ( void 0 === t ) return this . _rgba = [ null , null , null , null ] , this ; ( t . jquery || t . nodeType ) && ( t = e ( t ) . css ( i ) , i = void 0 ) ; var l = this , c = e . type ( t ) , f = this . _rgba = [ ] ; return void 0 !== i && ( t = [ t , i , r , a ] , c = "array" ) , "string" === c ? this . parse ( h ( t ) || n . _default ) : "array" === c ? ( u ( s . rgba . props , ( function ( e , n ) { f [ n . idx ] = d ( t [ n . idx ] , n ) } ) ) , this ) : "object" === c ? ( u ( s , t instanceof o ? function ( e , n ) { t [ n . cache ] && ( l [ n . cache ] = t [ n . cache ] . slice ( ) ) } : function ( n , i ) { var r = i . cache ; u ( i . props , ( function ( e , n ) { if ( ! l [ r ] && i . to ) { if ( "alpha" === e || null == t [ e ] ) return ; l [ r ] = i . to ( l . _rgba ) } l [ r ] [ n . idx ] = d ( t [ e ] , n , ! 0 ) } ) ) , l [ r ] && e . inArray ( null , l [ r ] . slice ( 0 , 3 ) ) < 0 && ( l [ r ] [ 3 ] = 1 , i . from && ( l . _rgba = i . from ( l [ r ] ) ) ) } ) , this ) : void 0 } , is : function ( e ) { var t = o ( e ) , n = ! 0 , i = this ; return u ( s , ( function ( e , r ) { var o , s = t [ r . cache ] ; return s && ( o = i [ r . cache ] || r . to && r . to ( i . _rgba ) || [ ] , u ( r . props , ( function ( e , t ) { if ( null != s [ t . idx ] ) return n = s [ t . idx ] === o [ t . idx ] } ) ) ) , n } ) ) , n } , _space : function ( ) { var e = [ ] , t = this ; return u ( s , ( function ( n , i ) { t [ i . cache ] && e . push ( n ) } ) ) , e . pop ( ) } , transition : function ( e , t ) { var n = o ( e ) , i = n . _space ( ) , r = s [ i ] , l = 0 === this . alpha ( ) ? o ( "transparent" ) : this , c = l [ r . cache ] || r . to ( l . _rgba ) , h = c . slice ( ) ; return n = n [ r . cache ] , u ( r . props , ( function ( e , i ) { var r = i . idx , o = c [ r ] , s = n [ r ] , l = a [ i . type ] || { } ; null !== s && ( null === o ? h [ r ] = s : ( l . mod && ( s - o > l . mod / 2 ? o += l . mod : o - s > l . mod / 2 && ( o -= l . mod ) ) , h [ r ] = d ( ( s - o ) * t + o , i ) ) ) } ) ) , this [ i ] ( h ) } , blend : function ( t ) { if ( 1 === this . _rgba [ 3 ] ) return this ; var n = this . _rgba . slice ( ) , i = n . pop ( ) , r = o ( t ) . _rgba ; return o ( e . map ( n , ( function ( e , t ) { return ( 1 - i ) * r [ t ] + i * e } ) ) ) } , toRgbaString : function ( ) { var t = "rgba(" , n = e . map ( this . _rgba , ( function ( e , t ) { return null == e ? t > 2 ? 1 : 0 : e } ) ) ; return 1 === n [ 3 ] && ( n . pop ( ) , t = "rgb(" ) , t + n . join ( ) + ")" } , toHslaString : function ( ) { var t = "hsla(" , n = e . map ( this . hsla ( ) , ( function ( e , t ) { return null == e && ( e = t > 2 ? 1 : 0 ) , t && t < 3 && ( e = Math . round ( 100 * e ) + "%" ) , e } ) ) ; return 1 === n [ 3 ] && ( n . pop ( ) , t = "hsl(" ) , t + n . join ( ) + ")" } , toHexString : function ( t ) { var n = this . _rgba . slice ( ) , i = n . pop ( ) ; return t && n . push ( ~ ~ ( 255 * i ) ) , "#" + e . map ( n , ( function ( e ) { return 1 === ( e = ( e || 0 ) . toString ( 16 ) ) . length ? "0" + e : e } ) ) . join ( "" ) } , toString : function ( ) { return 0 === this . _rgba [ 3 ] ? "transparent" : this . toRgbaString ( ) } } ) , o . fn . parse . prototype = o . fn , s . hsla . to = function ( e ) { if ( null == e [ 0 ] || null == e [ 1 ] || null == e [ 2 ] ) ret
2018-12-21 12:30:33 +00:00
/ * !
* jQuery UI Focusable 1.12 . 1
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
* /
2019-10-04 10:17:09 +00:00
e . ui . focusable = function ( t , n ) { var i , r , o , s , a , l = t . nodeName . toLowerCase ( ) ; return "area" === l ? ( r = ( i = t . parentNode ) . name , ! ( ! t . href || ! r || "map" !== i . nodeName . toLowerCase ( ) ) && ( o = e ( "img[usemap='#" + r + "']" ) ) . length > 0 && o . is ( ":visible" ) ) : ( /^(input|select|textarea|button|object)$/ . test ( l ) ? ( s = ! t . disabled ) && ( a = e ( t ) . closest ( "fieldset" ) [ 0 ] ) && ( s = ! a . disabled ) : s = "a" === l && t . href || n , s && e ( t ) . is ( ":visible" ) && function ( e ) { for ( var t = e . css ( "visibility" ) ; "inherit" === t ; ) t = ( e = e . parent ( ) ) . css ( "visibility" ) ; return "hidden" !== t } ( e ( t ) ) ) } , e . extend ( e . expr [ ":" ] , { focusable : function ( t ) { return e . ui . focusable ( t , null != e . attr ( t , "tabindex" ) ) } } ) , e . ui . focusable , e . fn . form = function ( ) { return "string" == typeof this [ 0 ] . form ? this . closest ( "form" ) : e ( this [ 0 ] . form ) } , e . ui . formResetMixin = { _formResetHandler : function ( ) { var t = e ( this ) ; setTimeout ( ( function ( ) { var n = t . data ( "ui-form-reset-instances" ) ; e . each ( n , ( function ( ) { this . refresh ( ) } ) ) } ) ) } , _bindFormResetHandler : function ( ) { if ( this . form = this . element . form ( ) , this . form . length ) { var e = this . form . data ( "ui-form-reset-instances" ) || [ ] ; e . length || this . form . on ( "reset.ui-form-reset" , this . _formResetHandler ) , e . push ( this ) , this . form . data ( "ui-form-reset-instances" , e ) } } , _unbindFormResetHandler : function ( ) { if ( this . form . length ) { var t = this . form . data ( "ui-form-reset-instances" ) ; t . splice ( e . inArray ( this , t ) , 1 ) , t . length ? this . form . data ( "ui-form-reset-instances" , t ) : this . form . removeData ( "ui-form-reset-instances" ) . off ( "reset.ui-form-reset" ) } } } ,
2018-12-21 12:30:33 +00:00
/ * !
* jQuery UI Support for jQuery core 1.7 . x 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
*
* /
2019-11-03 08:22:59 +00:00
"1.7" === e . fn . jquery . substring ( 0 , 3 ) && ( e . each ( [ "Width" , "Height" ] , ( function ( t , n ) { var i = "Width" === n ? [ "Left" , "Right" ] : [ "Top" , "Bottom" ] , r = n . toLowerCase ( ) , o = { innerWidth : e . fn . innerWidth , innerHeight : e . fn . innerHeight , outerWidth : e . fn . outerWidth , outerHeight : e . fn . outerHeight } ; function s ( t , n , r , o ) { return e . each ( i , ( function ( ) { n -= parseFloat ( e . css ( t , "padding" + this ) ) || 0 , r && ( n -= parseFloat ( e . css ( t , "border" + this + "Width" ) ) || 0 ) , o && ( n -= parseFloat ( e . css ( t , "margin" + this ) ) || 0 ) } ) ) , n } e . fn [ "inner" + n ] = function ( t ) { return void 0 === t ? o [ "inner" + n ] . call ( this ) : this . each ( ( function ( ) { e ( this ) . css ( r , s ( this , t ) + "px" ) } ) ) } , e . fn [ "outer" + n ] = function ( t , i ) { return "number" != typeof t ? o [ "outer" + n ] . call ( this , t ) : this . each ( ( function ( ) { e ( this ) . css ( r , s ( this , t , ! 0 , i ) + "px" ) } ) ) } } ) ) , e . fn . addBack = function ( e ) { return this . add ( null == e ? this . prevObject : this . prevObject . filter ( e ) ) } ) , e . ui . keyCode = { BACKSPACE : 8 , COMMA : 188 , DELETE : 46 , DOWN : 40 , END : 35 , ENTER : 13 , ESCAPE : 27 , HOME : 36 , LEFT : 37 , PAGE _DOWN : 34 , PAGE _UP : 33 , PERIOD : 190 , RIGHT : 39 , SPACE : 32 , TAB : 9 , UP : 38 } , e . ui . escapeSelector = ( a = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g , function ( e ) { return e . replace ( a , "\\$1" ) } ) , e . fn . labels = function ( ) { var t , n , i , r , o ; return this [ 0 ] . labels && this [ 0 ] . labels . length ? this . pushStack ( this [ 0 ] . labels ) : ( r = this . eq ( 0 ) . parents ( "label" ) , ( i = this . attr ( "id" ) ) && ( o = ( t = this . eq ( 0 ) . parents ( ) . last ( ) ) . add ( t . length ? t . siblings ( ) : this . siblings ( ) ) , n = "label[for='" + e . ui . escapeSelector ( i ) + "']" , r = r . add ( o . find ( n ) . addBack ( n ) ) ) , this . pushStack ( r ) ) } , e . fn . scrollParent = function ( t ) { var n = this . css ( "position" ) , i = "absolute" === n , r = t ? /(auto|scroll|hidden)/ : /(auto|scroll)/ , o = this . parents ( ) . filter ( ( function ( ) { var t = e ( this ) ; return ( ! i || "static" !== t . css ( "position" ) ) && r . test ( t . css ( "overflow" ) + t . css ( "overflow-y" ) + t . css ( "overflow-x" ) ) } ) ) . eq ( 0 ) ; return "fixed" !== n && o . length ? o : e ( this [ 0 ] . ownerDocument || document ) } , e . extend ( e . expr [ ":" ] , { tabbable : function ( t ) { var n = e . attr ( t , "tabindex" ) , i = null != n ; return ( ! i || n >= 0 ) && e . ui . focusable ( t , i ) } } ) , e . fn . extend ( { uniqueId : ( s = 0 , function ( ) { return this . each ( ( function ( ) { this . id || ( this . id = "ui-id-" + ++ s ) } ) ) } ) , removeUniqueId : function ( ) { return this . each ( ( function ( ) { /^ui-id-\d+$/ . test ( this . id ) && e ( this ) . removeAttr ( "id" ) } ) ) } } ) , e . widget ( "ui.accordion" , { version : "1.12.1" , options : { active : 0 , animate : { } , classes : { "ui-accordion-header" : "ui-corner-top" , "ui-accordion-header-collapsed" : "ui-corner-all" , "ui-accordion-content" : "ui-corner-bottom" } , collapsible : ! 1 , event : "click" , header : "> li > :first-child, > :not(li):even" , heightStyle : "auto" , icons : { activeHeader : "ui-icon-triangle-1-s" , header : "ui-icon-triangle-1-e" } , activate : null , beforeActivate : null } , hideProps : { borderTopWidth : "hide" , borderBottomWidth : "hide" , paddingTop : "hide" , paddingBottom : "hide" , height : "hide" } , showProps : { borderTopWidth : "show" , borderBottomWidth : "show" , paddingTop : "show" , paddingBottom : "show" , height : "show" } , _create : function ( ) { var t = this . options ; this . prevShow = this . prevHide = e ( ) , this . _addClass ( "ui-accordion" , "ui-widget ui-helper-reset" ) , this . element . attr ( "role" , "tablist" ) , t . collapsible || ! 1 !== t . active && null != t . active || ( t . active = 0 ) , this . _processPanels ( ) , t . active < 0 && ( t . active += this . headers . length ) , this . _refresh ( ) } , _getCreateEventData : function ( ) { return { header : this . active , panel : this . active . length ? this . active . next ( ) : e ( ) } } , _createIcons : function ( ) { var t , n , i = this . options . icons ; i && ( t = e ( "<span>" ) , this . _addClass ( t , "ui-accordion-header-icon" , "ui-icon " + i . header ) , t . prependTo ( this . headers ) , n = this . active . children ( ".ui-accordion-header-icon" ) , this . _removeClass ( n , i . header ) . _addClass ( n , null , i . activeHeader ) . _addClass ( this . headers , "ui-accordion-icons" ) ) } , _destroyIcons : function ( ) { this . _removeClass ( this . headers , "ui-accordion-icons" ) , this . headers . children ( ".ui-accordion-header-icon" ) . remove ( ) } , _destroy : function ( ) { var e ; this . element . removeAttr ( "role" ) , this . headers . removeAttr ( "role aria-expanded aria-selected aria-controls tabIndex" ) . removeUniqueId ( ) , this . _destroyIcons ( ) , e = this . headers . next ( ) . css ( "display" , "" ) . removeAttr ( "role aria-hidden aria-labelledby" ) . removeUniqueId ( ) , "content" !== this . options . heightStyle && e . css ( "height" , "" ) } , _setOption : function ( e , t ) { "active" !== e ? ( "event" === e && ( this . options . event && this . _off ( this . headers , this . options . event ) , this . _se
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Autocomplete 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.autocomplete" , { version : "1.12.1" , defaultElement : "<input>" , options : { appendTo : null , autoFocus : ! 1 , delay : 300 , minLength : 1 , position : { my : "left top" , at : "left bottom" , collision : "none" } , source : null , change : null , close : null , focus : null , open : null , response : null , search : null , select : null } , requestIndex : 0 , pending : 0 , _create : function ( ) { var t , n , i , r = this . element [ 0 ] . nodeName . toLowerCase ( ) , o = "textarea" === r , s = "input" === r ; this . isMultiLine = o || ! s && this . _isContentEditable ( this . element ) , this . valueMethod = this . element [ o || s ? "val" : "text" ] , this . isNewMenu = ! 0 , this . _addClass ( "ui-autocomplete-input" ) , this . element . attr ( "autocomplete" , "off" ) , this . _on ( this . element , { keydown : function ( r ) { if ( this . element . prop ( "readOnly" ) ) return t = ! 0 , i = ! 0 , void ( n = ! 0 ) ; t = ! 1 , i = ! 1 , n = ! 1 ; var o = e . ui . keyCode ; switch ( r . keyCode ) { case o . PAGE _UP : t = ! 0 , this . _move ( "previousPage" , r ) ; break ; case o . PAGE _DOWN : t = ! 0 , this . _move ( "nextPage" , r ) ; break ; case o . UP : t = ! 0 , this . _keyEvent ( "previous" , r ) ; break ; case o . DOWN : t = ! 0 , this . _keyEvent ( "next" , r ) ; break ; case o . ENTER : this . menu . active && ( t = ! 0 , r . preventDefault ( ) , this . menu . select ( r ) ) ; break ; case o . TAB : this . menu . active && this . menu . select ( r ) ; break ; case o . ESCAPE : this . menu . element . is ( ":visible" ) && ( this . isMultiLine || this . _value ( this . term ) , this . close ( r ) , r . preventDefault ( ) ) ; break ; default : n = ! 0 , this . _searchTimeout ( r ) } } , keypress : function ( i ) { if ( t ) return t = ! 1 , void ( this . isMultiLine && ! this . menu . element . is ( ":visible" ) || i . preventDefault ( ) ) ; if ( ! n ) { var r = e . ui . keyCode ; switch ( i . keyCode ) { case r . PAGE _UP : this . _move ( "previousPage" , i ) ; break ; case r . PAGE _DOWN : this . _move ( "nextPage" , i ) ; break ; case r . UP : this . _keyEvent ( "previous" , i ) ; break ; case r . DOWN : this . _keyEvent ( "next" , i ) } } } , input : function ( e ) { if ( i ) return i = ! 1 , void e . preventDefault ( ) ; this . _searchTimeout ( e ) } , focus : function ( ) { this . selectedItem = null , this . previous = this . _value ( ) } , blur : function ( e ) { this . cancelBlur ? delete this . cancelBlur : ( clearTimeout ( this . searching ) , this . close ( e ) , this . _change ( e ) ) } } ) , this . _initSource ( ) , this . menu = e ( "<ul>" ) . appendTo ( this . _appendTo ( ) ) . menu ( { role : null } ) . hide ( ) . menu ( "instance" ) , this . _addClass ( this . menu . element , "ui-autocomplete" , "ui-front" ) , this . _on ( this . menu . element , { mousedown : function ( t ) { t . preventDefault ( ) , this . cancelBlur = ! 0 , this . _delay ( ( function ( ) { delete this . cancelBlur , this . element [ 0 ] !== e . ui . safeActiveElement ( this . document [ 0 ] ) && this . element . trigger ( "focus" ) } ) ) } , menufocus : function ( t , n ) { var i , r ; if ( this . isNewMenu && ( this . isNewMenu = ! 1 , t . originalEvent && /^mouse/ . test ( t . originalEvent . type ) ) ) return this . menu . blur ( ) , void this . document . one ( "mousemove" , ( function ( ) { e ( t . target ) . trigger ( t . originalEvent ) } ) ) ; r = n . item . data ( "ui-autocomplete-item" ) , ! 1 !== this . _trigger ( "focus" , t , { item : r } ) && t . originalEvent && /^key/ . test ( t . originalEvent . type ) && this . _value ( r . value ) , ( i = n . item . attr ( "aria-label" ) || r . value ) && e . trim ( i ) . length && ( this . liveRegion . children ( ) . hide ( ) , e ( "<div>" ) . text ( i ) . appendTo ( this . liveRegion ) ) } , menuselect : function ( t , n ) { var i = n . item . data ( "ui-autocomplete-item" ) , r = this . previous ; this . element [ 0 ] !== e . ui . safeActiveElement ( this . document [ 0 ] ) && ( this . element . trigger ( "focus" ) , this . previous = r , this . _delay ( ( function ( ) { this . previous = r , this . selectedItem = i } ) ) ) , ! 1 !== this . _trigger ( "select" , t , { item : i } ) && this . _value ( i . value ) , this . term = this . _value ( ) , this . close ( t ) , this . selectedItem = i } } ) , this . liveRegion = e ( "<div>" , { role : "status" , "aria-live" : "assertive" , "aria-relevant" : "additions" } ) . appendTo ( this . document [ 0 ] . body ) , this . _addClass ( this . liveRegion , null , "ui-helper-hidden-accessible" ) , this . _on ( this . window , { beforeunload : function ( ) { this . element . removeAttr ( "autocomplete" ) } } ) } , _destroy : function ( ) { clearTimeout ( this . searching ) , this . element . removeAttr ( "autocomplete" ) , this . menu . element . remove ( ) , this . liveRegion . remove ( ) } , _setOption : function ( e , t ) { this . _super ( e , t ) , "source" === e && this . _initSource ( ) , "appendTo" === e && this . menu . element . appendTo ( this . _appendTo ( ) ) , "disabled" === e && t && this . xhr && this . xhr . abort ( ) } , _isEventTargetInWidget : function ( t ) { var n = this . menu . element [ 0 ] ; return t . target === this . element [ 0 ] || t . target === n || e . contains ( n , t . target ) } , _closeOnClickOutside : function ( e ) { this . _isEventTargetInWidget ( e ) || this . close ( ) } , _appendTo : function ( ) { var t = this . options . appendTo ; return t && ( t = t . jquer
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Controlgroup 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2019-11-03 08:22:59 +00:00
* / f u n c t i o n h ( ) { t h i s . _ c u r I n s t = n u l l , t h i s . _ k e y E v e n t = ! 1 , t h i s . _ d i s a b l e d I n p u t s = [ ] , t h i s . _ d a t e p i c k e r S h o w i n g = ! 1 , t h i s . _ i n D i a l o g = ! 1 , t h i s . _ m a i n D i v I d = " u i - d a t e p i c k e r - d i v " , t h i s . _ i n l i n e C l a s s = " u i - d a t e p i c k e r - i n l i n e " , t h i s . _ a p p e n d C l a s s = " u i - d a t e p i c k e r - a p p e n d " , t h i s . _ t r i g g e r C l a s s = " u i - d a t e p i c k e r - t r i g g e r " , t h i s . _ d i a l o g C l a s s = " u i - d a t e p i c k e r - d i a l o g " , t h i s . _ d i s a b l e C l a s s = " u i - d a t e p i c k e r - d i s a b l e d " , t h i s . _ u n s e l e c t a b l e C l a s s = " u i - d a t e p i c k e r - u n s e l e c t a b l e " , t h i s . _ c u r r e n t C l a s s = " u i - d a t e p i c k e r - c u r r e n t - d a y " , t h i s . _ d a y O v e r C l a s s = " u i - d a t e p i c k e r - d a y s - c e l l - o v e r " , t h i s . r e g i o n a l = [ ] , t h i s . r e g i o n a l [ " " ] = { c l o s e T e x t : " D o n e " , p r e v T e x t : " P r e v " , n e x t T e x t : " N e x t " , c u r r e n t T e x t : " T o d a y " , m o n t h N a m e s : [ " J a n u a r y " , " F e b r u a r y " , " M a r c h " , " A p r i l " , " M a y " , " J u n e " , " J u l y " , " A u g u s t " , " S e p t e m b e r " , " O c t o b e r " , " N o v e m b e r " , " D e c e m b e r " ] , m o n t h N a m e s S h o r t : [ " J a n " , " F e b " , " M a r " , " A p r " , " M a y " , " J u n " , " J u l " , " A u g " , " S e p " , " O c t " , " N o v " , " D e c " ] , d a y N a m e s : [ " S u n d a y " , " M o n d a y " , " T u e s d a y " , " W e d n e s d a y " , " T h u r s d a y " , " F r i d a y " , " S a t u r d a y " ] , d a y N a m e s S h o r t : [ " S u n " , " M o n " , " T u e " , " W e d " , " T h u " , " F r i " , " S a t " ] , d a y N a m e s M i n : [ " S u " , " M o " , " T u " , " W e " , " T h " , " F r " , " S a " ] , w e e k H e a d e r : " W k " , d a t e F o r m a t : " m m / d d / y y " , f i r s t D a y : 0 , i s R T L : ! 1 , s h o w M o n t h A f t e r Y e a r : ! 1 , y e a r S u f f i x : " " } , t h i s . _ d e f a u l t s = { s h o w O n : " f o c u s " , s h o w A n i m : " f a d e I n " , s h o w O p t i o n s : { } , d e f a u l t D a t e : n u l l , a p p e n d T e x t : " " , b u t t o n T e x t : " . . . " , b u t t o n I m a g e : " " , b u t t o n I m a g e O n l y : ! 1 , h i d e I f N o P r e v N e x t : ! 1 , n a v i g a t i o n A s D a t e F o r m a t : ! 1 , g o t o C u r r e n t : ! 1 , c h a n g e M o n t h : ! 1 , c h a n g e Y e a r : ! 1 , y e a r R a n g e : " c - 1 0 : c + 1 0 " , s h o w O t h e r M o n t h s : ! 1 , s e l e c t O t h e r M o n t h s : ! 1 , s h o w W e e k : ! 1 , c a l c u l a t e W e e k : t h i s . i s o 8 6 0 1 W e e k , s h o r t Y e a r C u t o f f : " + 1 0 " , m i n D a t e : n u l l , m a x D a t e : n u l l , d u r a t i o n : " f a s t " , b e f o r e S h o w D a y : n u l l , b e f o r e S h o w : n u l l , o n S e l e c t : n u l l , o n C h a n g e M o n t h Y e a r : n u l l , o n C l o s e : n u l l , n u m b e r O f M o n t h s : 1 , s h o w C u r r e n t A t P o s : 0 , s t e p M o n t h s : 1 , s t e p B i g M o n t h s : 1 2 , a l t F i e l d : " " , a l t F o r m a t : " " , c o n s t r a i n I n p u t : ! 0 , s h o w B u t t o n P a n e l : ! 1 , a u t o S i z e : ! 1 , d i s a b l e d : ! 1 } , e . e x t e n d ( t h i s . _ d e f a u l t s , t h i s . r e g i o n a l [ " " ] ) , t h i s . r e g i o n a l . e n = e . e x t e n d ( ! 0 , { } , t h i s . r e g i o n a l [ " " ] ) , t h i s . r e g i o n a l [ " e n - U S " ] = e . e x t e n d ( ! 0 , { } , t h i s . r e g i o n a l . e n ) , t h i s . d p D i v = f ( e ( " < d i v i d = ' " + t h i s . _ m a i n D i v I d + " ' c l a s s = ' u i - d a t e p i c k e r u i - w i d g e t u i - w i d g e t - c o n t e n t u i - h e l p e r - c l e a r f i x u i - c o r n e r - a l l ' > < / d i v > " ) ) } f u n c t i o n f ( t ) { v a r n = " b u t t o n , . u i - d a t e p i c k e r - p r e v , . u i - d a t e p i c k e r - n e x t , . u i - d a t e p i c k e r - c a l e n d a r t d a " ; r e t u r n t . o n ( " m o u s e o u t " , n , ( f u n c t i o n ( ) { e ( t h i s ) . r e m o v e C l a s s ( " u i - s t a t e - h o v e r " ) , - 1 ! = = t h i s . c l a s s N a m e . i n d e x O f ( " u i - d a t e p i c k e r - p r e v " ) & & e ( t h i s ) . r e m o v e C l a s s ( " u i - d a t e p i c k e r - p r e v - h o v e r " ) , - 1 ! = = t h i s . c l a s s N a m e . i n d e x O f ( " u i - d a t e p i c k e r - n e x t " ) & & e ( t h i s ) . r e m o v e C l a s s ( " u i - d a t e p i c k e r - n e x t - h o v e r " ) } ) ) . o n ( " m o u s e o v e r " , n , p ) } f u n c t i o n p ( ) { e . d a t e p i c k e r . _ i s D i s a b l e d D a t e p i c k e r ( u . i n l i n e ? u . d p D i v . p a r e n t ( ) [ 0 ] : u . i n p u t [ 0 ] ) | | ( e ( t h i s ) . p a r e n t s ( " . u i - d a t e p i c k e r - c a l e n d a r " ) . f i n d ( " a " ) . r e m o v e C l a s s ( " u i - s t a t e - h o v e r " ) , e ( t h i s ) . a d d C l a s s ( " u i - s t a t e - h o v e r " ) , - 1 ! = = t h i s . c l a s s N a m e . i n d e x O f ( " u i - d a t e p i c k e r - p r e v " ) & & e ( t h i s ) . a d d C l a s s ( " u i - d a t e p i c k e r - p r e v - h o v e r " ) , - 1 ! = = t h i s . c l a s s N a m e . i n d e x O f ( " u i - d a t e p i c k e r - n e x t " ) & & e ( t h i s ) . a d d C l a s s ( " u i - d a t e p i c k e r - n e x t - h o v e r " ) ) } f u n c t i o n m ( t , n ) { f o r ( v a r i i n e . e x t e n d ( t , n ) , n ) n u l l = = n [ i ] & & ( t [ i ] = n [ i ] ) ; r e t u r n t } e . w i d g e t ( " u i . c o n t r o l g r o u p " , { v e r s i o n : " 1 . 1 2 . 1 " , d e f a u l t E l e m e n t : " < d i v > " , o p t i o n s : { d i r e c t i o n : " h o r i z o n t a l " , d i s a b l e d : n u l l , o n l y V i s i b l e : ! 0 , i t e m s : { b u t t o n : " i n p u t [ t y p e = b u t t o n ] , i n p u t [ t y p e = s u b m i t ] , i n p u t [ t y p e = r e s e t ] , b u t t o n , a " , c o n t r o l g r o u p L a b e l : " . u i - c o n t r o l g r o u p - l a b e l " , c h e c k b o x r a d i o : " i n p u t [ t y p e = ' c h e c k b o x ' ] , i n p u t [ t y p e = ' r a d i o ' ] " , s e l e c t m e n u : " s e l e c t " , s p i n n e r : " . u i - s p i n n e r - i n p u t " } } , _ c r e a t e : f u n c t i o n ( ) { t h i s . _ e n h a n c e ( ) } , _ e n h a n c e : f u n c t i o n ( ) { t h i s . e l e m e n t . a t t r ( " r o l e " , " t o o l b a r " ) , t h i s . r e f r e s h ( ) } , _ d e s t r o y : f u n c t i o n ( ) { t h i s . _ c a l l C h i l d M e t h o d ( " d e s t r o y " ) , t h i s . c h i l d W i d g e t s . r e m o v e D a t a ( " u i - c o n t r o l g r o u p - d a t a " ) , t h i s . e l e m e n t . r e m o v e A t t r ( " r o l e " ) , t h i s . o p t i o n s . i t e m s . c o n t r o l g r o u p L a b e l & & t h i s . e l e m e n t . f i n d ( t h i s . o p t i o n s . i t e m s . c o n t r o l g r o u p L a b e l ) . f i n d ( " . u i - c o n t r o l g r o u p - l a b e l - c o n t e n t s " ) . c o n t e n t s ( ) . u n w r a p ( ) } , _ i n i t W i d g e t s : f u n c t i o n ( ) { v a r t = t h i s , n = [ ] ; e . e a c h ( t h i s . o p t i o n s . i t e m s , ( f u n c t i o n ( i , r ) { v a r o , s = { } ; i f ( r ) r e t u r n " c o n t r o l g r o u p L a b e l " = = = i ? ( ( o = t . e l e m e n t . f i n d ( r ) ) . e a c h ( ( f u n c t i o n ( ) { v a r t = e ( t h i s ) ; t . c h i l d r e n ( " . u i - c o n t r o l g r o u p - l a b e l - c o n t e n t s " ) . l e n g t h | | t . c o n t e n t s ( ) . w r a p A l l ( " < s p a n c l a s s = ' u i - c o n t r o l g r o u p - l a b e l - c o n t e n t s ' > < / s p a n > " ) } ) ) , t . _ a d d C l a s s ( o , n u l l , " u i - w i d g e t u i - w i d g e t - c o n t e n t u i - s t a t e - d e f a u l t " ) , v o i d ( n = n . c o n c a t (
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Checkboxradio 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-09-13 09:04:31 +00:00
e . widget ( "ui.checkboxradio" , [ e . ui . formResetMixin , { version : "1.12.1" , options : { disabled : null , label : null , icon : ! 0 , classes : { "ui-checkboxradio-label" : "ui-corner-all" , "ui-checkboxradio-icon" : "ui-corner-all" } } , _getCreateOptions : function ( ) { var t , n , i = this , r = this . _super ( ) || { } ; return this . _readType ( ) , n = this . element . labels ( ) , this . label = e ( n [ n . length - 1 ] ) , this . label . length || e . error ( "No label found for checkboxradio widget" ) , this . originalLabel = "" , this . label . contents ( ) . not ( this . element [ 0 ] ) . each ( ( function ( ) { i . originalLabel += 3 === this . nodeType ? e ( this ) . text ( ) : this . outerHTML } ) ) , this . originalLabel && ( r . label = this . originalLabel ) , null != ( t = this . element [ 0 ] . disabled ) && ( r . disabled = t ) , r } , _create : function ( ) { var e = this . element [ 0 ] . checked ; this . _bindFormResetHandler ( ) , null == this . options . disabled && ( this . options . disabled = this . element [ 0 ] . disabled ) , this . _setOption ( "disabled" , this . options . disabled ) , this . _addClass ( "ui-checkboxradio" , "ui-helper-hidden-accessible" ) , this . _addClass ( this . label , "ui-checkboxradio-label" , "ui-button ui-widget" ) , "radio" === this . type && this . _addClass ( this . label , "ui-checkboxradio-radio-label" ) , this . options . label && this . options . label !== this . originalLabel ? this . _updateLabel ( ) : this . originalLabel && ( this . options . label = this . originalLabel ) , this . _enhance ( ) , e && ( this . _addClass ( this . label , "ui-checkboxradio-checked" , "ui-state-active" ) , this . icon && this . _addClass ( this . icon , null , "ui-state-hover" ) ) , this . _on ( { change : "_toggleClasses" , focus : function ( ) { this . _addClass ( this . label , null , "ui-state-focus ui-visual-focus" ) } , blur : function ( ) { this . _removeClass ( this . label , null , "ui-state-focus ui-visual-focus" ) } } ) } , _readType : function ( ) { var t = this . element [ 0 ] . nodeName . toLowerCase ( ) ; this . type = this . element [ 0 ] . type , "input" === t && /radio|checkbox/ . test ( this . type ) || e . error ( "Can't create checkboxradio on element.nodeName=" + t + " and element.type=" + this . type ) } , _enhance : function ( ) { this . _updateIcon ( this . element [ 0 ] . checked ) } , widget : function ( ) { return this . label } , _getRadioGroup : function ( ) { var t = this . element [ 0 ] . name , n = "input[name='" + e . ui . escapeSelector ( t ) + "']" ; return t ? ( this . form . length ? e ( this . form [ 0 ] . elements ) . filter ( n ) : e ( n ) . filter ( ( function ( ) { return 0 === e ( this ) . form ( ) . length } ) ) ) . not ( this . element ) : e ( [ ] ) } , _toggleClasses : function ( ) { var t = this . element [ 0 ] . checked ; this . _toggleClass ( this . label , "ui-checkboxradio-checked" , "ui-state-active" , t ) , this . options . icon && "checkbox" === this . type && this . _toggleClass ( this . icon , null , "ui-icon-check ui-state-checked" , t ) . _toggleClass ( this . icon , null , "ui-icon-blank" , ! t ) , "radio" === this . type && this . _getRadioGroup ( ) . each ( ( function ( ) { var t = e ( this ) . checkboxradio ( "instance" ) ; t && t . _removeClass ( t . label , "ui-checkboxradio-checked" , "ui-state-active" ) } ) ) } , _destroy : function ( ) { this . _unbindFormResetHandler ( ) , this . icon && ( this . icon . remove ( ) , this . iconSpace . remove ( ) ) } , _setOption : function ( e , t ) { if ( "label" !== e || t ) { if ( this . _super ( e , t ) , "disabled" === e ) return this . _toggleClass ( this . label , null , "ui-state-disabled" , t ) , void ( this . element [ 0 ] . disabled = t ) ; this . refresh ( ) } } , _updateIcon : function ( t ) { var n = "ui-icon ui-icon-background " ; this . options . icon ? ( this . icon || ( this . icon = e ( "<span>" ) , this . iconSpace = e ( "<span> </span>" ) , this . _addClass ( this . iconSpace , "ui-checkboxradio-icon-space" ) ) , "checkbox" === this . type ? ( n += t ? "ui-icon-check ui-state-checked" : "ui-icon-blank" , this . _removeClass ( this . icon , null , t ? "ui-icon-blank" : "ui-icon-check" ) ) : n += "ui-icon-blank" , this . _addClass ( this . icon , "ui-checkboxradio-icon" , n ) , t || this . _removeClass ( this . icon , null , "ui-icon-check ui-state-checked" ) , this . icon . prependTo ( this . label ) . after ( this . iconSpace ) ) : void 0 !== this . icon && ( this . icon . remove ( ) , this . iconSpace . remove ( ) , delete this . icon ) } , _updateLabel : function ( ) { var e = this . label . contents ( ) . not ( this . element [ 0 ] ) ; this . icon && ( e = e . not ( this . icon [ 0 ] ) ) , this . iconSpace && ( e = e . not ( this . iconSpace [ 0 ] ) ) , e . remove ( ) , this . label . append ( this . options . label ) } , refresh : function ( ) { var e = this . element [ 0 ] . checked , t = this . element [ 0 ] . disabled ; this . _updateIcon ( e ) , this . _toggleClass ( this . label , "ui-checkboxradio-checked" , "ui-state-active" , e ) , null !== this . options . label && this . _updateLabel ( ) , t !== this . options . disabled && this . _setOptions ( { disabled : t } ) } } ] ) , e . ui . checkboxradio ,
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Button 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-10-04 10:17:09 +00:00
e . widget ( "ui.button" , { version : "1.12.1" , defaultElement : "<button>" , options : { classes : { "ui-button" : "ui-corner-all" } , disabled : null , icon : null , iconPosition : "beginning" , label : null , showLabel : ! 0 } , _getCreateOptions : function ( ) { var e , t = this . _super ( ) || { } ; return this . isInput = this . element . is ( "input" ) , null != ( e = this . element [ 0 ] . disabled ) && ( t . disabled = e ) , this . originalLabel = this . isInput ? this . element . val ( ) : this . element . html ( ) , this . originalLabel && ( t . label = this . originalLabel ) , t } , _create : function ( ) { ! this . option . showLabel & ! this . options . icon && ( this . options . showLabel = ! 0 ) , null == this . options . disabled && ( this . options . disabled = this . element [ 0 ] . disabled || ! 1 ) , this . hasTitle = ! ! this . element . attr ( "title" ) , this . options . label && this . options . label !== this . originalLabel && ( this . isInput ? this . element . val ( this . options . label ) : this . element . html ( this . options . label ) ) , this . _addClass ( "ui-button" , "ui-widget" ) , this . _setOption ( "disabled" , this . options . disabled ) , this . _enhance ( ) , this . element . is ( "a" ) && this . _on ( { keyup : function ( t ) { t . keyCode === e . ui . keyCode . SPACE && ( t . preventDefault ( ) , this . element [ 0 ] . click ? this . element [ 0 ] . click ( ) : this . element . trigger ( "click" ) ) } } ) } , _enhance : function ( ) { this . element . is ( "button" ) || this . element . attr ( "role" , "button" ) , this . options . icon && ( this . _updateIcon ( "icon" , this . options . icon ) , this . _updateTooltip ( ) ) } , _updateTooltip : function ( ) { this . title = this . element . attr ( "title" ) , this . options . showLabel || this . title || this . element . attr ( "title" , this . options . label ) } , _updateIcon : function ( t , n ) { var i = "iconPosition" !== t , r = i ? this . options . iconPosition : n , o = "top" === r || "bottom" === r ; this . icon ? i && this . _removeClass ( this . icon , null , this . options . icon ) : ( this . icon = e ( "<span>" ) , this . _addClass ( this . icon , "ui-button-icon" , "ui-icon" ) , this . options . showLabel || this . _addClass ( "ui-button-icon-only" ) ) , i && this . _addClass ( this . icon , null , n ) , this . _attachIcon ( r ) , o ? ( this . _addClass ( this . icon , null , "ui-widget-icon-block" ) , this . iconSpace && this . iconSpace . remove ( ) ) : ( this . iconSpace || ( this . iconSpace = e ( "<span> </span>" ) , this . _addClass ( this . iconSpace , "ui-button-icon-space" ) ) , this . _removeClass ( this . icon , null , "ui-wiget-icon-block" ) , this . _attachIconSpace ( r ) ) } , _destroy : function ( ) { this . element . removeAttr ( "role" ) , this . icon && this . icon . remove ( ) , this . iconSpace && this . iconSpace . remove ( ) , this . hasTitle || this . element . removeAttr ( "title" ) } , _attachIconSpace : function ( e ) { this . icon [ /^(?:end|bottom)/ . test ( e ) ? "before" : "after" ] ( this . iconSpace ) } , _attachIcon : function ( e ) { this . element [ /^(?:end|bottom)/ . test ( e ) ? "append" : "prepend" ] ( this . icon ) } , _setOptions : function ( e ) { var t = void 0 === e . showLabel ? this . options . showLabel : e . showLabel , n = void 0 === e . icon ? this . options . icon : e . icon ; t || n || ( e . showLabel = ! 0 ) , this . _super ( e ) } , _setOption : function ( e , t ) { "icon" === e && ( t ? this . _updateIcon ( e , t ) : this . icon && ( this . icon . remove ( ) , this . iconSpace && this . iconSpace . remove ( ) ) ) , "iconPosition" === e && this . _updateIcon ( e , t ) , "showLabel" === e && ( this . _toggleClass ( "ui-button-icon-only" , null , ! t ) , this . _updateTooltip ( ) ) , "label" === e && ( this . isInput ? this . element . val ( t ) : ( this . element . html ( t ) , this . icon && ( this . _attachIcon ( this . options . iconPosition ) , this . _attachIconSpace ( this . options . iconPosition ) ) ) ) , this . _super ( e , t ) , "disabled" === e && ( this . _toggleClass ( null , "ui-state-disabled" , t ) , this . element [ 0 ] . disabled = t , t && this . element . blur ( ) ) } , refresh : function ( ) { var e = this . element . is ( "input, button" ) ? this . element [ 0 ] . disabled : this . element . hasClass ( "ui-button-disabled" ) ; e !== this . options . disabled && this . _setOptions ( { disabled : e } ) , this . _updateTooltip ( ) } } ) , ! 1 !== e . uiBackCompat && ( e . widget ( "ui.button" , e . ui . button , { options : { text : ! 0 , icons : { primary : null , secondary : null } } , _create : function ( ) { this . options . showLabel && ! this . options . text && ( this . options . showLabel = this . options . text ) , ! this . options . showLabel && this . options . text && ( this . options . text = this . options . showLabel ) , this . options . icon || ! this . options . icons . primary && ! this . options . icons . secondary ? this . options . icon && ( this . options . icons . primary = this . options . icon ) : this . options . icons . primary ? this . options . icon = this . options . icons . primary : ( this . options . icon = this . options . icons . secondary , this . options . iconPosition = "end" ) , this . _super ( ) } , _setOption : function ( e , t ) { "text" !== e ? ( "showLabel" === e && ( this . options . tex
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Datepicker 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-24 10:13:21 +00:00
e . extend ( e . ui , { datepicker : { version : "1.12.1" } } ) , e . extend ( h . prototype , { markerClassName : "hasDatepicker" , maxRows : 4 , _widgetDatepicker : function ( ) { return this . dpDiv } , setDefaults : function ( e ) { return m ( this . _defaults , e || { } ) , this } , _attachDatepicker : function ( t , n ) { var i , r , o ; r = "div" === ( i = t . nodeName . toLowerCase ( ) ) || "span" === i , t . id || ( this . uuid += 1 , t . id = "dp" + this . uuid ) , ( o = this . _newInst ( e ( t ) , r ) ) . settings = e . extend ( { } , n || { } ) , "input" === i ? this . _connectDatepicker ( t , o ) : r && this . _inlineDatepicker ( t , o ) } , _newInst : function ( t , n ) { return { id : t [ 0 ] . id . replace ( /([^A-Za-z0-9_\-])/g , "\\\\$1" ) , input : t , selectedDay : 0 , selectedMonth : 0 , selectedYear : 0 , drawMonth : 0 , drawYear : 0 , inline : n , dpDiv : n ? f ( e ( "<div class='" + this . _inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>" ) ) : this . dpDiv } } , _connectDatepicker : function ( t , n ) { var i = e ( t ) ; n . append = e ( [ ] ) , n . trigger = e ( [ ] ) , i . hasClass ( this . markerClassName ) || ( this . _attachments ( i , n ) , i . addClass ( this . markerClassName ) . on ( "keydown" , this . _doKeyDown ) . on ( "keypress" , this . _doKeyPress ) . on ( "keyup" , this . _doKeyUp ) , this . _autoSize ( n ) , e . data ( t , "datepicker" , n ) , n . settings . disabled && this . _disableDatepicker ( t ) ) } , _attachments : function ( t , n ) { var i , r , o , s = this . _get ( n , "appendText" ) , a = this . _get ( n , "isRTL" ) ; n . append && n . append . remove ( ) , s && ( n . append = e ( "<span class='" + this . _appendClass + "'>" + s + "</span>" ) , t [ a ? "before" : "after" ] ( n . append ) ) , t . off ( "focus" , this . _showDatepicker ) , n . trigger && n . trigger . remove ( ) , "focus" !== ( i = this . _get ( n , "showOn" ) ) && "both" !== i || t . on ( "focus" , this . _showDatepicker ) , "button" !== i && "both" !== i || ( r = this . _get ( n , "buttonText" ) , o = this . _get ( n , "buttonImage" ) , n . trigger = e ( this . _get ( n , "buttonImageOnly" ) ? e ( "<img/>" ) . addClass ( this . _triggerClass ) . attr ( { src : o , alt : r , title : r } ) : e ( "<button type='button'></button>" ) . addClass ( this . _triggerClass ) . html ( o ? e ( "<img/>" ) . attr ( { src : o , alt : r , title : r } ) : r ) ) , t [ a ? "before" : "after" ] ( n . trigger ) , n . trigger . on ( "click" , ( function ( ) { return e . datepicker . _datepickerShowing && e . datepicker . _lastInput === t [ 0 ] ? e . datepicker . _hideDatepicker ( ) : e . datepicker . _datepickerShowing && e . datepicker . _lastInput !== t [ 0 ] ? ( e . datepicker . _hideDatepicker ( ) , e . datepicker . _showDatepicker ( t [ 0 ] ) ) : e . datepicker . _showDatepicker ( t [ 0 ] ) , ! 1 } ) ) ) } , _autoSize : function ( e ) { if ( this . _get ( e , "autoSize" ) && ! e . inline ) { var t , n , i , r , o = new Date ( 2009 , 11 , 20 ) , s = this . _get ( e , "dateFormat" ) ; s . match ( /[DM]/ ) && ( t = function ( e ) { for ( n = 0 , i = 0 , r = 0 ; r < e . length ; r ++ ) e [ r ] . length > n && ( n = e [ r ] . length , i = r ) ; return i } , o . setMonth ( t ( this . _get ( e , s . match ( /MM/ ) ? "monthNames" : "monthNamesShort" ) ) ) , o . setDate ( t ( this . _get ( e , s . match ( /DD/ ) ? "dayNames" : "dayNamesShort" ) ) + 20 - o . getDay ( ) ) ) , e . input . attr ( "size" , this . _formatDate ( e , o ) . length ) } } , _inlineDatepicker : function ( t , n ) { var i = e ( t ) ; i . hasClass ( this . markerClassName ) || ( i . addClass ( this . markerClassName ) . append ( n . dpDiv ) , e . data ( t , "datepicker" , n ) , this . _setDate ( n , this . _getDefaultDate ( n ) , ! 0 ) , this . _updateDatepicker ( n ) , this . _updateAlternate ( n ) , n . settings . disabled && this . _disableDatepicker ( t ) , n . dpDiv . css ( "display" , "block" ) ) } , _dialogDatepicker : function ( t , n , i , r , o ) { var s , a , l , c , u , d = this . _dialogInst ; return d || ( this . uuid += 1 , s = "dp" + this . uuid , this . _dialogInput = e ( "<input type='text' id='" + s + "' style='position: absolute; top: -100px; width: 0px;'/>" ) , this . _dialogInput . on ( "keydown" , this . _doKeyDown ) , e ( "body" ) . append ( this . _dialogInput ) , ( d = this . _dialogInst = this . _newInst ( this . _dialogInput , ! 1 ) ) . settings = { } , e . data ( this . _dialogInput [ 0 ] , "datepicker" , d ) ) , m ( d . settings , r || { } ) , n = n && n . constructor === Date ? this . _formatDate ( d , n ) : n , this . _dialogInput . val ( n ) , this . _pos = o ? o . length ? o : [ o . pageX , o . pageY ] : null , this . _pos || ( a = document . documentElement . clientWidth , l = document . documentElement . clientHeight , c = document . documentElement . scrollLeft || document . body . scrollLeft , u = document . documentElement . scrollTop || document . body . scrollTop , this . _pos = [ a / 2 - 100 + c , l / 2 - 150 + u ] ) , this . _dialogInput . css ( "left" , this . _pos [ 0 ] + 20 + "px" ) . css ( "top" , this . _pos [ 1 ] + "px" ) , d . settings . onSelect = i , this . _inDialog = ! 0 , this . dpDiv . addClass ( this . _dialogClass ) , this . _showDatepicker ( this . _dialogInput [ 0 ] ) , e . blockUI && e . blockUI ( this . dpDiv ) , e . data ( this . _dialogInput [ 0 ] , "datepicker" , d ) , this } , _destroyDatepicker : function ( t ) { var n , i = e ( t ) , r = e . data ( t , "datepicker" ) ; i . h
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Draggable 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.draggable" , e . ui . mouse , { version : "1.12.1" , widgetEventPrefix : "drag" , options : { addClasses : ! 0 , appendTo : "parent" , axis : ! 1 , connectToSortable : ! 1 , containment : ! 1 , cursor : "auto" , cursorAt : ! 1 , grid : ! 1 , handle : ! 1 , helper : "original" , iframeFix : ! 1 , opacity : ! 1 , refreshPositions : ! 1 , revert : ! 1 , revertDuration : 500 , scope : "default" , scroll : ! 0 , scrollSensitivity : 20 , scrollSpeed : 20 , snap : ! 1 , snapMode : "both" , snapTolerance : 20 , stack : ! 1 , zIndex : ! 1 , drag : null , start : null , stop : null } , _create : function ( ) { "original" === this . options . helper && this . _setPositionRelative ( ) , this . options . addClasses && this . _addClass ( "ui-draggable" ) , this . _setHandleClassName ( ) , this . _mouseInit ( ) } , _setOption : function ( e , t ) { this . _super ( e , t ) , "handle" === e && ( this . _removeHandleClassName ( ) , this . _setHandleClassName ( ) ) } , _destroy : function ( ) { ( this . helper || this . element ) . is ( ".ui-draggable-dragging" ) ? this . destroyOnClear = ! 0 : ( this . _removeHandleClassName ( ) , this . _mouseDestroy ( ) ) } , _mouseCapture : function ( t ) { var n = this . options ; return ! ( this . helper || n . disabled || e ( t . target ) . closest ( ".ui-resizable-handle" ) . length > 0 || ( this . handle = this . _getHandle ( t ) , ! this . handle || ( this . _blurActiveElement ( t ) , this . _blockFrames ( ! 0 === n . iframeFix ? "iframe" : n . iframeFix ) , 0 ) ) ) } , _blockFrames : function ( t ) { this . iframeBlocks = this . document . find ( t ) . map ( ( function ( ) { var t = e ( this ) ; return e ( "<div>" ) . css ( "position" , "absolute" ) . appendTo ( t . parent ( ) ) . outerWidth ( t . outerWidth ( ) ) . outerHeight ( t . outerHeight ( ) ) . offset ( t . offset ( ) ) [ 0 ] } ) ) } , _unblockFrames : function ( ) { this . iframeBlocks && ( this . iframeBlocks . remove ( ) , delete this . iframeBlocks ) } , _blurActiveElement : function ( t ) { var n = e . ui . safeActiveElement ( this . document [ 0 ] ) ; e ( t . target ) . closest ( n ) . length || e . ui . safeBlur ( n ) } , _mouseStart : function ( t ) { var n = this . options ; return this . helper = this . _createHelper ( t ) , this . _addClass ( this . helper , "ui-draggable-dragging" ) , this . _cacheHelperProportions ( ) , e . ui . ddmanager && ( e . ui . ddmanager . current = this ) , this . _cacheMargins ( ) , this . cssPosition = this . helper . css ( "position" ) , this . scrollParent = this . helper . scrollParent ( ! 0 ) , this . offsetParent = this . helper . offsetParent ( ) , this . hasFixedAncestor = this . helper . parents ( ) . filter ( ( function ( ) { return "fixed" === e ( this ) . css ( "position" ) } ) ) . length > 0 , this . positionAbs = this . element . offset ( ) , this . _refreshOffsets ( t ) , this . originalPosition = this . position = this . _generatePosition ( t , ! 1 ) , this . originalPageX = t . pageX , this . originalPageY = t . pageY , n . cursorAt && this . _adjustOffsetFromHelper ( n . cursorAt ) , this . _setContainment ( ) , ! 1 === this . _trigger ( "start" , t ) ? ( this . _clear ( ) , ! 1 ) : ( this . _cacheHelperProportions ( ) , e . ui . ddmanager && ! n . dropBehaviour && e . ui . ddmanager . prepareOffsets ( this , t ) , this . _mouseDrag ( t , ! 0 ) , e . ui . ddmanager && e . ui . ddmanager . dragStart ( this , t ) , ! 0 ) } , _refreshOffsets : function ( e ) { this . offset = { top : this . positionAbs . top - this . margins . top , left : this . positionAbs . left - this . margins . left , scroll : ! 1 , parent : this . _getParentOffset ( ) , relative : this . _getRelativeOffset ( ) } , this . offset . click = { left : e . pageX - this . offset . left , top : e . pageY - this . offset . top } } , _mouseDrag : function ( t , n ) { if ( this . hasFixedAncestor && ( this . offset . parent = this . _getParentOffset ( ) ) , this . position = this . _generatePosition ( t , ! 0 ) , this . positionAbs = this . _convertPositionTo ( "absolute" ) , ! n ) { var i = this . _uiHash ( ) ; if ( ! 1 === this . _trigger ( "drag" , t , i ) ) return this . _mouseUp ( new e . Event ( "mouseup" , t ) ) , ! 1 ; this . position = i . position } return this . helper [ 0 ] . style . left = this . position . left + "px" , this . helper [ 0 ] . style . top = this . position . top + "px" , e . ui . ddmanager && e . ui . ddmanager . drag ( this , t ) , ! 1 } , _mouseStop : function ( t ) { var n = this , i = ! 1 ; return e . ui . ddmanager && ! this . options . dropBehaviour && ( i = e . ui . ddmanager . drop ( this , t ) ) , this . dropped && ( i = this . dropped , this . dropped = ! 1 ) , "invalid" === this . options . revert && ! i || "valid" === this . options . revert && i || ! 0 === this . options . revert || e . isFunction ( this . options . revert ) && this . options . revert . call ( this . element , i ) ? e ( this . helper ) . animate ( this . originalPosition , parseInt ( this . options . revertDuration , 10 ) , ( function ( ) { ! 1 !== n . _trigger ( "stop" , t ) && n . _clear ( ) } ) ) : ! 1 !== this . _trigger ( "stop" , t ) && this . _clear ( ) , ! 1 } , _mouseUp : function ( t ) { return this . _unblockFrames ( ) , e . ui . ddmanager && e . ui . ddmanager . dragStop ( this , t ) , this . handleElement . is ( t . target ) && this . element . trigger ( "focus" ) , e . ui . mouse . prototype . _mo
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Resizable 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.resizable" , e . ui . mouse , { version : "1.12.1" , widgetEventPrefix : "resize" , options : { alsoResize : ! 1 , animate : ! 1 , animateDuration : "slow" , animateEasing : "swing" , aspectRatio : ! 1 , autoHide : ! 1 , classes : { "ui-resizable-se" : "ui-icon ui-icon-gripsmall-diagonal-se" } , containment : ! 1 , ghost : ! 1 , grid : ! 1 , handles : "e,s,se" , helper : ! 1 , maxHeight : null , maxWidth : null , minHeight : 10 , minWidth : 10 , zIndex : 90 , resize : null , start : null , stop : null } , _num : function ( e ) { return parseFloat ( e ) || 0 } , _isNumber : function ( e ) { return ! isNaN ( parseFloat ( e ) ) } , _hasScroll : function ( t , n ) { if ( "hidden" === e ( t ) . css ( "overflow" ) ) return ! 1 ; var i , r = n && "left" === n ? "scrollLeft" : "scrollTop" ; return t [ r ] > 0 || ( t [ r ] = 1 , i = t [ r ] > 0 , t [ r ] = 0 , i ) } , _create : function ( ) { var t , n = this . options , i = this ; this . _addClass ( "ui-resizable" ) , e . extend ( this , { _aspectRatio : ! ! n . aspectRatio , aspectRatio : n . aspectRatio , originalElement : this . element , _proportionallyResizeElements : [ ] , _helper : n . helper || n . ghost || n . animate ? n . helper || "ui-resizable-helper" : null } ) , this . element [ 0 ] . nodeName . match ( /^(canvas|textarea|input|select|button|img)$/i ) && ( this . element . wrap ( e ( "<div class='ui-wrapper' style='overflow: hidden;'></div>" ) . css ( { position : this . element . css ( "position" ) , width : this . element . outerWidth ( ) , height : this . element . outerHeight ( ) , top : this . element . css ( "top" ) , left : this . element . css ( "left" ) } ) ) , this . element = this . element . parent ( ) . data ( "ui-resizable" , this . element . resizable ( "instance" ) ) , this . elementIsWrapper = ! 0 , t = { marginTop : this . originalElement . css ( "marginTop" ) , marginRight : this . originalElement . css ( "marginRight" ) , marginBottom : this . originalElement . css ( "marginBottom" ) , marginLeft : this . originalElement . css ( "marginLeft" ) } , this . element . css ( t ) , this . originalElement . css ( "margin" , 0 ) , this . originalResizeStyle = this . originalElement . css ( "resize" ) , this . originalElement . css ( "resize" , "none" ) , this . _proportionallyResizeElements . push ( this . originalElement . css ( { position : "static" , zoom : 1 , display : "block" } ) ) , this . originalElement . css ( t ) , this . _proportionallyResize ( ) ) , this . _setupHandles ( ) , n . autoHide && e ( this . element ) . on ( "mouseenter" , ( function ( ) { n . disabled || ( i . _removeClass ( "ui-resizable-autohide" ) , i . _handles . show ( ) ) } ) ) . on ( "mouseleave" , ( function ( ) { n . disabled || i . resizing || ( i . _addClass ( "ui-resizable-autohide" ) , i . _handles . hide ( ) ) } ) ) , this . _mouseInit ( ) } , _destroy : function ( ) { this . _mouseDestroy ( ) ; var t , n = function ( t ) { e ( t ) . removeData ( "resizable" ) . removeData ( "ui-resizable" ) . off ( ".resizable" ) . find ( ".ui-resizable-handle" ) . remove ( ) } ; return this . elementIsWrapper && ( n ( this . element ) , t = this . element , this . originalElement . css ( { position : t . css ( "position" ) , width : t . outerWidth ( ) , height : t . outerHeight ( ) , top : t . css ( "top" ) , left : t . css ( "left" ) } ) . insertAfter ( t ) , t . remove ( ) ) , this . originalElement . css ( "resize" , this . originalResizeStyle ) , n ( this . originalElement ) , this } , _setOption : function ( e , t ) { switch ( this . _super ( e , t ) , e ) { case "handles" : this . _removeHandles ( ) , this . _setupHandles ( ) } } , _setupHandles : function ( ) { var t , n , i , r , o , s = this . options , a = this ; if ( this . handles = s . handles || ( e ( ".ui-resizable-handle" , this . element ) . length ? { n : ".ui-resizable-n" , e : ".ui-resizable-e" , s : ".ui-resizable-s" , w : ".ui-resizable-w" , se : ".ui-resizable-se" , sw : ".ui-resizable-sw" , ne : ".ui-resizable-ne" , nw : ".ui-resizable-nw" } : "e,s,se" ) , this . _handles = e ( ) , this . handles . constructor === String ) for ( "all" === this . handles && ( this . handles = "n,e,s,w,se,sw,ne,nw" ) , i = this . handles . split ( "," ) , this . handles = { } , n = 0 ; n < i . length ; n ++ ) r = "ui-resizable-" + ( t = e . trim ( i [ n ] ) ) , o = e ( "<div>" ) , this . _addClass ( o , "ui-resizable-handle " + r ) , o . css ( { zIndex : s . zIndex } ) , this . handles [ t ] = ".ui-resizable-" + t , this . element . append ( o ) ; this . _renderAxis = function ( t ) { var n , i , r , o ; for ( n in t = t || this . element , this . handles ) this . handles [ n ] . constructor === String ? this . handles [ n ] = this . element . children ( this . handles [ n ] ) . first ( ) . show ( ) : ( this . handles [ n ] . jquery || this . handles [ n ] . nodeType ) && ( this . handles [ n ] = e ( this . handles [ n ] ) , this . _on ( this . handles [ n ] , { mousedown : a . _mouseDown } ) ) , this . elementIsWrapper && this . originalElement [ 0 ] . nodeName . match ( /^(textarea|input|select|button)$/i ) && ( i = e ( this . handles [ n ] , this . element ) , o = /sw|ne|nw|se|n|s/ . test ( n ) ? i . outerHeight ( ) : i . outerWidth ( ) , r = [ "padding" , /ne|nw|n/ . test ( n ) ? "Top" : /se|sw|s/ . test ( n ) ? "Bottom" : /^e$/ . test ( n ) ? "Right" : "Left" ] . j
2018-12-21 12:30:33 +00:00
/ * !
* jQuery UI Dialog 1.12 . 1
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
* /
2019-10-04 10:17:09 +00:00
e . widget ( "ui.dialog" , { version : "1.12.1" , options : { appendTo : "body" , autoOpen : ! 0 , buttons : [ ] , classes : { "ui-dialog" : "ui-corner-all" , "ui-dialog-titlebar" : "ui-corner-all" } , closeOnEscape : ! 0 , closeText : "Close" , draggable : ! 0 , hide : null , height : "auto" , maxHeight : null , maxWidth : null , minHeight : 150 , minWidth : 150 , modal : ! 1 , position : { my : "center" , at : "center" , of : window , collision : "fit" , using : function ( t ) { var n = e ( this ) . css ( t ) . offset ( ) . top ; n < 0 && e ( this ) . css ( "top" , t . top - n ) } } , resizable : ! 0 , show : null , title : null , width : 300 , beforeClose : null , close : null , drag : null , dragStart : null , dragStop : null , focus : null , open : null , resize : null , resizeStart : null , resizeStop : null } , sizeRelatedOptions : { buttons : ! 0 , height : ! 0 , maxHeight : ! 0 , maxWidth : ! 0 , minHeight : ! 0 , minWidth : ! 0 , width : ! 0 } , resizableRelatedOptions : { maxHeight : ! 0 , maxWidth : ! 0 , minHeight : ! 0 , minWidth : ! 0 } , _create : function ( ) { this . originalCss = { display : this . element [ 0 ] . style . display , width : this . element [ 0 ] . style . width , minHeight : this . element [ 0 ] . style . minHeight , maxHeight : this . element [ 0 ] . style . maxHeight , height : this . element [ 0 ] . style . height } , this . originalPosition = { parent : this . element . parent ( ) , index : this . element . parent ( ) . children ( ) . index ( this . element ) } , this . originalTitle = this . element . attr ( "title" ) , null == this . options . title && null != this . originalTitle && ( this . options . title = this . originalTitle ) , this . options . disabled && ( this . options . disabled = ! 1 ) , this . _createWrapper ( ) , this . element . show ( ) . removeAttr ( "title" ) . appendTo ( this . uiDialog ) , this . _addClass ( "ui-dialog-content" , "ui-widget-content" ) , this . _createTitlebar ( ) , this . _createButtonPane ( ) , this . options . draggable && e . fn . draggable && this . _makeDraggable ( ) , this . options . resizable && e . fn . resizable && this . _makeResizable ( ) , this . _isOpen = ! 1 , this . _trackFocus ( ) } , _init : function ( ) { this . options . autoOpen && this . open ( ) } , _appendTo : function ( ) { var t = this . options . appendTo ; return t && ( t . jquery || t . nodeType ) ? e ( t ) : this . document . find ( t || "body" ) . eq ( 0 ) } , _destroy : function ( ) { var e , t = this . originalPosition ; this . _untrackInstance ( ) , this . _destroyOverlay ( ) , this . element . removeUniqueId ( ) . css ( this . originalCss ) . detach ( ) , this . uiDialog . remove ( ) , this . originalTitle && this . element . attr ( "title" , this . originalTitle ) , ( e = t . parent . children ( ) . eq ( t . index ) ) . length && e [ 0 ] !== this . element [ 0 ] ? e . before ( this . element ) : t . parent . append ( this . element ) } , widget : function ( ) { return this . uiDialog } , disable : e . noop , enable : e . noop , close : function ( t ) { var n = this ; this . _isOpen && ! 1 !== this . _trigger ( "beforeClose" , t ) && ( this . _isOpen = ! 1 , this . _focusedElement = null , this . _destroyOverlay ( ) , this . _untrackInstance ( ) , this . opener . filter ( ":focusable" ) . trigger ( "focus" ) . length || e . ui . safeBlur ( e . ui . safeActiveElement ( this . document [ 0 ] ) ) , this . _hide ( this . uiDialog , this . options . hide , ( function ( ) { n . _trigger ( "close" , t ) } ) ) ) } , isOpen : function ( ) { return this . _isOpen } , moveToTop : function ( ) { this . _moveToTop ( ) } , _moveToTop : function ( t , n ) { var i = ! 1 , r = this . uiDialog . siblings ( ".ui-front:visible" ) . map ( ( function ( ) { return + e ( this ) . css ( "z-index" ) } ) ) . get ( ) , o = Math . max . apply ( null , r ) ; return o >= + this . uiDialog . css ( "z-index" ) && ( this . uiDialog . css ( "z-index" , o + 1 ) , i = ! 0 ) , i && ! n && this . _trigger ( "focus" , t ) , i } , open : function ( ) { var t = this ; this . _isOpen ? this . _moveToTop ( ) && this . _focusTabbable ( ) : ( this . _isOpen = ! 0 , this . opener = e ( e . ui . safeActiveElement ( this . document [ 0 ] ) ) , this . _size ( ) , this . _position ( ) , this . _createOverlay ( ) , this . _moveToTop ( null , ! 0 ) , this . overlay && this . overlay . css ( "z-index" , this . uiDialog . css ( "z-index" ) - 1 ) , this . _show ( this . uiDialog , this . options . show , ( function ( ) { t . _focusTabbable ( ) , t . _trigger ( "focus" ) } ) ) , this . _makeFocusTarget ( ) , this . _trigger ( "open" ) ) } , _focusTabbable : function ( ) { var e = this . _focusedElement ; e || ( e = this . element . find ( "[autofocus]" ) ) , e . length || ( e = this . element . find ( ":tabbable" ) ) , e . length || ( e = this . uiDialogButtonPane . find ( ":tabbable" ) ) , e . length || ( e = this . uiDialogTitlebarClose . filter ( ":tabbable" ) ) , e . length || ( e = this . uiDialog ) , e . eq ( 0 ) . trigger ( "focus" ) } , _keepFocus : function ( t ) { function n ( ) { var t = e . ui . safeActiveElement ( this . document [ 0 ] ) ; this . uiDialog [ 0 ] === t || e . contains ( this . uiDialog [ 0 ] , t ) || this . _focusTabbable ( ) } t . preventDefault ( ) , n . call ( this ) , this . _delay ( n ) } , _createWrapper : function ( ) { this . uiDialog = e ( "<div>" ) . hide ( ) . attr ( { tabIndex : - 1 , role : "dialog" } ) . appendTo ( this . _appendTo
2018-12-21 12:30:33 +00:00
/ * !
* jQuery UI Droppable 1.12 . 1
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.droppable" , { version : "1.12.1" , widgetEventPrefix : "drop" , options : { accept : "*" , addClasses : ! 0 , greedy : ! 1 , scope : "default" , tolerance : "intersect" , activate : null , deactivate : null , drop : null , out : null , over : null } , _create : function ( ) { var t , n = this . options , i = n . accept ; this . isover = ! 1 , this . isout = ! 0 , this . accept = e . isFunction ( i ) ? i : function ( e ) { return e . is ( i ) } , this . proportions = function ( ) { if ( ! arguments . length ) return t || ( t = { width : this . element [ 0 ] . offsetWidth , height : this . element [ 0 ] . offsetHeight } ) ; t = arguments [ 0 ] } , this . _addToManager ( n . scope ) , n . addClasses && this . _addClass ( "ui-droppable" ) } , _addToManager : function ( t ) { e . ui . ddmanager . droppables [ t ] = e . ui . ddmanager . droppables [ t ] || [ ] , e . ui . ddmanager . droppables [ t ] . push ( this ) } , _splice : function ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) e [ t ] === this && e . splice ( t , 1 ) } , _destroy : function ( ) { var t = e . ui . ddmanager . droppables [ this . options . scope ] ; this . _splice ( t ) } , _setOption : function ( t , n ) { if ( "accept" === t ) this . accept = e . isFunction ( n ) ? n : function ( e ) { return e . is ( n ) } ; else if ( "scope" === t ) { var i = e . ui . ddmanager . droppables [ this . options . scope ] ; this . _splice ( i ) , this . _addToManager ( n ) } this . _super ( t , n ) } , _activate : function ( t ) { var n = e . ui . ddmanager . current ; this . _addActiveClass ( ) , n && this . _trigger ( "activate" , t , this . ui ( n ) ) } , _deactivate : function ( t ) { var n = e . ui . ddmanager . current ; this . _removeActiveClass ( ) , n && this . _trigger ( "deactivate" , t , this . ui ( n ) ) } , _over : function ( t ) { var n = e . ui . ddmanager . current ; n && ( n . currentItem || n . element ) [ 0 ] !== this . element [ 0 ] && this . accept . call ( this . element [ 0 ] , n . currentItem || n . element ) && ( this . _addHoverClass ( ) , this . _trigger ( "over" , t , this . ui ( n ) ) ) } , _out : function ( t ) { var n = e . ui . ddmanager . current ; n && ( n . currentItem || n . element ) [ 0 ] !== this . element [ 0 ] && this . accept . call ( this . element [ 0 ] , n . currentItem || n . element ) && ( this . _removeHoverClass ( ) , this . _trigger ( "out" , t , this . ui ( n ) ) ) } , _drop : function ( t , n ) { var i = n || e . ui . ddmanager . current , r = ! 1 ; return ! ( ! i || ( i . currentItem || i . element ) [ 0 ] === this . element [ 0 ] ) && ( this . element . find ( ":data(ui-droppable)" ) . not ( ".ui-draggable-dragging" ) . each ( ( function ( ) { var n = e ( this ) . droppable ( "instance" ) ; if ( n . options . greedy && ! n . options . disabled && n . options . scope === i . options . scope && n . accept . call ( n . element [ 0 ] , i . currentItem || i . element ) && v ( i , e . extend ( n , { offset : n . element . offset ( ) } ) , n . options . tolerance , t ) ) return r = ! 0 , ! 1 } ) ) , ! r && ! ! this . accept . call ( this . element [ 0 ] , i . currentItem || i . element ) && ( this . _removeActiveClass ( ) , this . _removeHoverClass ( ) , this . _trigger ( "drop" , t , this . ui ( i ) ) , this . element ) ) } , ui : function ( e ) { return { draggable : e . currentItem || e . element , helper : e . helper , position : e . position , offset : e . positionAbs } } , _addHoverClass : function ( ) { this . _addClass ( "ui-droppable-hover" ) } , _removeHoverClass : function ( ) { this . _removeClass ( "ui-droppable-hover" ) } , _addActiveClass : function ( ) { this . _addClass ( "ui-droppable-active" ) } , _removeActiveClass : function ( ) { this . _removeClass ( "ui-droppable-active" ) } } ) ; var _ , v = e . ui . intersect = function ( ) { function e ( e , t , n ) { return e >= t && e < t + n } return function ( t , n , i , r ) { if ( ! n . offset ) return ! 1 ; var o = ( t . positionAbs || t . position . absolute ) . left + t . margins . left , s = ( t . positionAbs || t . position . absolute ) . top + t . margins . top , a = o + t . helperProportions . width , l = s + t . helperProportions . height , c = n . offset . left , u = n . offset . top , d = c + n . proportions ( ) . width , h = u + n . proportions ( ) . height ; switch ( i ) { case "fit" : return c <= o && a <= d && u <= s && l <= h ; case "intersect" : return c < o + t . helperProportions . width / 2 && a - t . helperProportions . width / 2 < d && u < s + t . helperProportions . height / 2 && l - t . helperProportions . height / 2 < h ; case "pointer" : return e ( r . pageY , u , n . proportions ( ) . height ) && e ( r . pageX , c , n . proportions ( ) . width ) ; case "touch" : return ( s >= u && s <= h || l >= u && l <= h || s < u && l > h ) && ( o >= c && o <= d || a >= c && a <= d || o < c && a > d ) ; default : return ! 1 } } } ( ) ;
2018-12-11 19:56:46 +00:00
/ * !
2018-12-21 12:30:33 +00:00
* jQuery UI Spinner 1.12 . 1
2018-12-11 19:56:46 +00:00
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
function y ( e ) { return function ( ) { var t = this . element . val ( ) ; e . apply ( this , arguments ) , this . _refresh ( ) , t !== this . element . val ( ) && this . _trigger ( "change" ) } } e . ui . ddmanager = { current : null , droppables : { default : [ ] } , prepareOffsets : function ( t , n ) { var i , r , o = e . ui . ddmanager . droppables [ t . options . scope ] || [ ] , s = n ? n . type : null , a = ( t . currentItem || t . element ) . find ( ":data(ui-droppable)" ) . addBack ( ) ; e : for ( i = 0 ; i < o . length ; i ++ ) if ( ! ( o [ i ] . options . disabled || t && ! o [ i ] . accept . call ( o [ i ] . element [ 0 ] , t . currentItem || t . element ) ) ) { for ( r = 0 ; r < a . length ; r ++ ) if ( a [ r ] === o [ i ] . element [ 0 ] ) { o [ i ] . proportions ( ) . height = 0 ; continue e } o [ i ] . visible = "none" !== o [ i ] . element . css ( "display" ) , o [ i ] . visible && ( "mousedown" === s && o [ i ] . _activate . call ( o [ i ] , n ) , o [ i ] . offset = o [ i ] . element . offset ( ) , o [ i ] . proportions ( { width : o [ i ] . element [ 0 ] . offsetWidth , height : o [ i ] . element [ 0 ] . offsetHeight } ) ) } } , drop : function ( t , n ) { var i = ! 1 ; return e . each ( ( e . ui . ddmanager . droppables [ t . options . scope ] || [ ] ) . slice ( ) , ( function ( ) { this . options && ( ! this . options . disabled && this . visible && v ( t , this , this . options . tolerance , n ) && ( i = this . _drop . call ( this , n ) || i ) , ! this . options . disabled && this . visible && this . accept . call ( this . element [ 0 ] , t . currentItem || t . element ) && ( this . isout = ! 0 , this . isover = ! 1 , this . _deactivate . call ( this , n ) ) ) } ) ) , i } , dragStart : function ( t , n ) { t . element . parentsUntil ( "body" ) . on ( "scroll.droppable" , ( function ( ) { t . options . refreshPositions || e . ui . ddmanager . prepareOffsets ( t , n ) } ) ) } , drag : function ( t , n ) { t . options . refreshPositions && e . ui . ddmanager . prepareOffsets ( t , n ) , e . each ( e . ui . ddmanager . droppables [ t . options . scope ] || [ ] , ( function ( ) { if ( ! this . options . disabled && ! this . greedyChild && this . visible ) { var i , r , o , s = v ( t , this , this . options . tolerance , n ) , a = ! s && this . isover ? "isout" : s && ! this . isover ? "isover" : null ; a && ( this . options . greedy && ( r = this . options . scope , ( o = this . element . parents ( ":data(ui-droppable)" ) . filter ( ( function ( ) { return e ( this ) . droppable ( "instance" ) . options . scope === r } ) ) ) . length && ( ( i = e ( o [ 0 ] ) . droppable ( "instance" ) ) . greedyChild = "isover" === a ) ) , i && "isover" === a && ( i . isover = ! 1 , i . isout = ! 0 , i . _out . call ( i , n ) ) , this [ a ] = ! 0 , this [ "isout" === a ? "isover" : "isout" ] = ! 1 , this [ "isover" === a ? "_over" : "_out" ] . call ( this , n ) , i && "isout" === a && ( i . isout = ! 1 , i . isover = ! 0 , i . _over . call ( i , n ) ) ) } } ) ) } , dragStop : function ( t , n ) { t . element . parentsUntil ( "body" ) . off ( "scroll.droppable" ) , t . options . refreshPositions || e . ui . ddmanager . prepareOffsets ( t , n ) } } , ! 1 !== e . uiBackCompat && e . widget ( "ui.droppable" , e . ui . droppable , { options : { hoverClass : ! 1 , activeClass : ! 1 } , _addActiveClass : function ( ) { this . _super ( ) , this . options . activeClass && this . element . addClass ( this . options . activeClass ) } , _removeActiveClass : function ( ) { this . _super ( ) , this . options . activeClass && this . element . removeClass ( this . options . activeClass ) } , _addHoverClass : function ( ) { this . _super ( ) , this . options . hoverClass && this . element . addClass ( this . options . hoverClass ) } , _removeHoverClass : function ( ) { this . _super ( ) , this . options . hoverClass && this . element . removeClass ( this . options . hoverClass ) } } ) , e . ui . droppable , e . widget ( "ui.progressbar" , { version : "1.12.1" , options : { classes : { "ui-progressbar" : "ui-corner-all" , "ui-progressbar-value" : "ui-corner-left" , "ui-progressbar-complete" : "ui-corner-right" } , max : 100 , value : 0 , change : null , complete : null } , min : 0 , _create : function ( ) { this . oldValue = this . options . value = this . _constrainedValue ( ) , this . element . attr ( { role : "progressbar" , "aria-valuemin" : this . min } ) , this . _addClass ( "ui-progressbar" , "ui-widget ui-widget-content" ) , this . valueDiv = e ( "<div>" ) . appendTo ( this . element ) , this . _addClass ( this . valueDiv , "ui-progressbar-value" , "ui-widget-header" ) , this . _refreshValue ( ) } , _destroy : function ( ) { this . element . removeAttr ( "role aria-valuemin aria-valuemax aria-valuenow" ) , this . valueDiv . remove ( ) } , value : function ( e ) { if ( void 0 === e ) return this . options . value ; this . options . value = this . _constrainedValue ( e ) , this . _refreshValue ( ) } , _constrainedValue : function ( e ) { return void 0 === e && ( e = this . options . value ) , this . indeterminate = ! 1 === e , "number" != typeof e && ( e = 0 ) , ! this . indeterminate && Math . min ( this . options . max , Math . max ( this . min , e ) ) } , _setOptions : function ( e ) { var t = e . value ; delete e . value , this . _super ( e ) , this . options . value = this . _constrainedValue ( t ) , this . _refreshValue ( ) } , _setOption : function ( e , t ) { "max" === e && ( t = Math . max ( this . min , t ) ) , this . _super ( e , t ) } ,
2018-12-11 19:56:46 +00:00
/ * !
* jQuery UI Tabs 1.12 . 1
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.tabs" , { version : "1.12.1" , delay : 300 , options : { active : null , classes : { "ui-tabs" : "ui-corner-all" , "ui-tabs-nav" : "ui-corner-all" , "ui-tabs-panel" : "ui-corner-bottom" , "ui-tabs-tab" : "ui-corner-top" } , collapsible : ! 1 , event : "click" , heightStyle : "content" , hide : null , show : null , activate : null , beforeActivate : null , beforeLoad : null , load : null } , _isLocal : ( _ = /#.*$/ , function ( e ) { var t , n ; t = e . href . replace ( _ , "" ) , n = location . href . replace ( _ , "" ) ; try { t = decodeURIComponent ( t ) } catch ( e ) { } try { n = decodeURIComponent ( n ) } catch ( e ) { } return e . hash . length > 1 && t === n } ) , _create : function ( ) { var t = this , n = this . options ; this . running = ! 1 , this . _addClass ( "ui-tabs" , "ui-widget ui-widget-content" ) , this . _toggleClass ( "ui-tabs-collapsible" , null , n . collapsible ) , this . _processTabs ( ) , n . active = this . _initialActive ( ) , e . isArray ( n . disabled ) && ( n . disabled = e . unique ( n . disabled . concat ( e . map ( this . tabs . filter ( ".ui-state-disabled" ) , ( function ( e ) { return t . tabs . index ( e ) } ) ) ) ) . sort ( ) ) , ! 1 !== this . options . active && this . anchors . length ? this . active = this . _findActive ( n . active ) : this . active = e ( ) , this . _refresh ( ) , this . active . length && this . load ( n . active ) } , _initialActive : function ( ) { var t = this . options . active , n = this . options . collapsible , i = location . hash . substring ( 1 ) ; return null === t && ( i && this . tabs . each ( ( function ( n , r ) { if ( e ( r ) . attr ( "aria-controls" ) === i ) return t = n , ! 1 } ) ) , null === t && ( t = this . tabs . index ( this . tabs . filter ( ".ui-tabs-active" ) ) ) , null !== t && - 1 !== t || ( t = ! ! this . tabs . length && 0 ) ) , ! 1 !== t && - 1 === ( t = this . tabs . index ( this . tabs . eq ( t ) ) ) && ( t = ! n && 0 ) , ! n && ! 1 === t && this . anchors . length && ( t = 0 ) , t } , _getCreateEventData : function ( ) { return { tab : this . active , panel : this . active . length ? this . _getPanelForTab ( this . active ) : e ( ) } } , _tabKeydown : function ( t ) { var n = e ( e . ui . safeActiveElement ( this . document [ 0 ] ) ) . closest ( "li" ) , i = this . tabs . index ( n ) , r = ! 0 ; if ( ! this . _handlePageNav ( t ) ) { switch ( t . keyCode ) { case e . ui . keyCode . RIGHT : case e . ui . keyCode . DOWN : i ++ ; break ; case e . ui . keyCode . UP : case e . ui . keyCode . LEFT : r = ! 1 , i -- ; break ; case e . ui . keyCode . END : i = this . anchors . length - 1 ; break ; case e . ui . keyCode . HOME : i = 0 ; break ; case e . ui . keyCode . SPACE : return t . preventDefault ( ) , clearTimeout ( this . activating ) , void this . _activate ( i ) ; case e . ui . keyCode . ENTER : return t . preventDefault ( ) , clearTimeout ( this . activating ) , void this . _activate ( i !== this . options . active && i ) ; default : return } t . preventDefault ( ) , clearTimeout ( this . activating ) , i = this . _focusNextTab ( i , r ) , t . ctrlKey || t . metaKey || ( n . attr ( "aria-selected" , "false" ) , this . tabs . eq ( i ) . attr ( "aria-selected" , "true" ) , this . activating = this . _delay ( ( function ( ) { this . option ( "active" , i ) } ) , this . delay ) ) } } , _panelKeydown : function ( t ) { this . _handlePageNav ( t ) || t . ctrlKey && t . keyCode === e . ui . keyCode . UP && ( t . preventDefault ( ) , this . active . trigger ( "focus" ) ) } , _handlePageNav : function ( t ) { return t . altKey && t . keyCode === e . ui . keyCode . PAGE _UP ? ( this . _activate ( this . _focusNextTab ( this . options . active - 1 , ! 1 ) ) , ! 0 ) : t . altKey && t . keyCode === e . ui . keyCode . PAGE _DOWN ? ( this . _activate ( this . _focusNextTab ( this . options . active + 1 , ! 0 ) ) , ! 0 ) : void 0 } , _findNextTab : function ( t , n ) { for ( var i = this . tabs . length - 1 ; - 1 !== e . inArray ( ( t > i && ( t = 0 ) , t < 0 && ( t = i ) , t ) , this . options . disabled ) ; ) t = n ? t + 1 : t - 1 ; return t } , _focusNextTab : function ( e , t ) { return e = this . _findNextTab ( e , t ) , this . tabs . eq ( e ) . trigger ( "focus" ) , e } , _setOption : function ( e , t ) { "active" !== e ? ( this . _super ( e , t ) , "collapsible" === e && ( this . _toggleClass ( "ui-tabs-collapsible" , null , t ) , t || ! 1 !== this . options . active || this . _activate ( 0 ) ) , "event" === e && this . _setupEvents ( t ) , "heightStyle" === e && this . _setupHeightStyle ( t ) ) : this . _activate ( t ) } , _sanitizeSelector : function ( e ) { return e ? e . replace ( /[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g , "\\$&" ) : "" } , refresh : function ( ) { var t = this . options , n = this . tablist . children ( ":has(a[href])" ) ; t . disabled = e . map ( n . filter ( ".ui-state-disabled" ) , ( function ( e ) { return n . index ( e ) } ) ) , this . _processTabs ( ) , ! 1 !== t . active && this . anchors . length ? this . active . length && ! e . contains ( this . tablist [ 0 ] , this . active [ 0 ] ) ? this . tabs . length === t . disabled . length ? ( t . active = ! 1 , this . active = e ( ) ) : this . _activate ( this . _findNextTab ( Math . max ( 0 , t . active - 1 ) , ! 1 ) ) : t . active = this . tabs . index ( this . active ) : ( t . active = ! 1 , this . active = e ( ) ) , this . _refresh ( ) } , _refresh : function ( ) { this . _setOptionDisabled ( this . options . disabled ) , this . _setupEvents ( this . options . event ) , this .
2018-12-11 19:56:46 +00:00
/ * !
* jQuery UI Tooltip 1.12 . 1
* http : //jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license .
* http : //jquery.org/license
2018-12-21 12:30:33 +00:00
* /
2019-11-03 08:22:59 +00:00
e . widget ( "ui.tooltip" , { version : "1.12.1" , options : { classes : { "ui-tooltip" : "ui-corner-all ui-widget-shadow" } , content : function ( ) { var t = e ( this ) . attr ( "title" ) || "" ; return e ( "<a>" ) . text ( t ) . html ( ) } , hide : ! 0 , items : "[title]:not([disabled])" , position : { my : "left top+15" , at : "left bottom" , collision : "flipfit flip" } , show : ! 0 , track : ! 1 , close : null , open : null } , _addDescribedBy : function ( t , n ) { var i = ( t . attr ( "aria-describedby" ) || "" ) . split ( /\s+/ ) ; i . push ( n ) , t . data ( "ui-tooltip-id" , n ) . attr ( "aria-describedby" , e . trim ( i . join ( " " ) ) ) } , _removeDescribedBy : function ( t ) { var n = t . data ( "ui-tooltip-id" ) , i = ( t . attr ( "aria-describedby" ) || "" ) . split ( /\s+/ ) , r = e . inArray ( n , i ) ; - 1 !== r && i . splice ( r , 1 ) , t . removeData ( "ui-tooltip-id" ) , ( i = e . trim ( i . join ( " " ) ) ) ? t . attr ( "aria-describedby" , i ) : t . removeAttr ( "aria-describedby" ) } , _create : function ( ) { this . _on ( { mouseover : "open" , focusin : "open" } ) , this . tooltips = { } , this . parents = { } , this . liveRegion = e ( "<div>" ) . attr ( { role : "log" , "aria-live" : "assertive" , "aria-relevant" : "additions" } ) . appendTo ( this . document [ 0 ] . body ) , this . _addClass ( this . liveRegion , null , "ui-helper-hidden-accessible" ) , this . disabledTitles = e ( [ ] ) } , _setOption : function ( t , n ) { var i = this ; this . _super ( t , n ) , "content" === t && e . each ( this . tooltips , ( function ( e , t ) { i . _updateContent ( t . element ) } ) ) } , _setOptionDisabled : function ( e ) { this [ e ? "_disable" : "_enable" ] ( ) } , _disable : function ( ) { var t = this ; e . each ( this . tooltips , ( function ( n , i ) { var r = e . Event ( "blur" ) ; r . target = r . currentTarget = i . element [ 0 ] , t . close ( r , ! 0 ) } ) ) , this . disabledTitles = this . disabledTitles . add ( this . element . find ( this . options . items ) . addBack ( ) . filter ( ( function ( ) { var t = e ( this ) ; if ( t . is ( "[title]" ) ) return t . data ( "ui-tooltip-title" , t . attr ( "title" ) ) . removeAttr ( "title" ) } ) ) ) } , _enable : function ( ) { this . disabledTitles . each ( ( function ( ) { var t = e ( this ) ; t . data ( "ui-tooltip-title" ) && t . attr ( "title" , t . data ( "ui-tooltip-title" ) ) } ) ) , this . disabledTitles = e ( [ ] ) } , open : function ( t ) { var n = this , i = e ( t ? t . target : this . element ) . closest ( this . options . items ) ; i . length && ! i . data ( "ui-tooltip-id" ) && ( i . attr ( "title" ) && i . data ( "ui-tooltip-title" , i . attr ( "title" ) ) , i . data ( "ui-tooltip-open" , ! 0 ) , t && "mouseover" === t . type && i . parents ( ) . each ( ( function ( ) { var t , i = e ( this ) ; i . data ( "ui-tooltip-open" ) && ( ( t = e . Event ( "blur" ) ) . target = t . currentTarget = this , n . close ( t , ! 0 ) ) , i . attr ( "title" ) && ( i . uniqueId ( ) , n . parents [ this . id ] = { element : this , title : i . attr ( "title" ) } , i . attr ( "title" , "" ) ) } ) ) , this . _registerCloseHandlers ( t , i ) , this . _updateContent ( i , t ) ) } , _updateContent : function ( e , t ) { var n , i = this . options . content , r = this , o = t ? t . type : null ; if ( "string" == typeof i || i . nodeType || i . jquery ) return this . _open ( t , e , i ) ; ( n = i . call ( e [ 0 ] , ( function ( n ) { r . _delay ( ( function ( ) { e . data ( "ui-tooltip-open" ) && ( t && ( t . type = o ) , this . _open ( t , e , n ) ) } ) ) } ) ) ) && this . _open ( t , e , n ) } , _open : function ( t , n , i ) { var r , o , s , a , l = e . extend ( { } , this . options . position ) ; function c ( e ) { l . of = e , o . is ( ":hidden" ) || o . position ( l ) } i && ( ( r = this . _find ( n ) ) ? r . tooltip . find ( ".ui-tooltip-content" ) . html ( i ) : ( n . is ( "[title]" ) && ( t && "mouseover" === t . type ? n . attr ( "title" , "" ) : n . removeAttr ( "title" ) ) , r = this . _tooltip ( n ) , o = r . tooltip , this . _addDescribedBy ( n , o . attr ( "id" ) ) , o . find ( ".ui-tooltip-content" ) . html ( i ) , this . liveRegion . children ( ) . hide ( ) , ( a = e ( "<div>" ) . html ( o . find ( ".ui-tooltip-content" ) . html ( ) ) ) . removeAttr ( "name" ) . find ( "[name]" ) . removeAttr ( "name" ) , a . removeAttr ( "id" ) . find ( "[id]" ) . removeAttr ( "id" ) , a . appendTo ( this . liveRegion ) , this . options . track && t && /^mouse/ . test ( t . type ) ? ( this . _on ( this . document , { mousemove : c } ) , c ( t ) ) : o . position ( e . extend ( { of : n } , this . options . position ) ) , o . hide ( ) , this . _show ( o , this . options . show ) , this . options . track && this . options . show && this . options . show . delay && ( s = this . delayedShow = setInterval ( ( function ( ) { o . is ( ":visible" ) && ( c ( l . of ) , clearInterval ( s ) ) } ) , e . fx . interval ) ) , this . _trigger ( "open" , t , { tooltip : o } ) ) ) } , _registerCloseHandlers : function ( t , n ) { var i = { keyup : function ( t ) { if ( t . keyCode === e . ui . keyCode . ESCAPE ) { var i = e . Event ( t ) ; i . currentTarget = n [ 0 ] , this . close ( i , ! 0 ) } } } ; n [ 0 ] !== this . element [ 0 ] && ( i . remove = function ( ) { this . _removeTooltip ( this . _find ( n ) . tooltip ) } ) , t && "mouseover" !== t . type || ( i . mouseleave = "close" ) , t && "focusin" !== t . type || ( i . focusout = "close" ) , this . _on ( ! 0 , n , i ) } , close : function ( t ) { var n , i = this , r = e ( t ? t . currentTarget : this . element ) , o = this . _find ( r ) ; o ? ( n = o . toolt
2019-03-06 19:00:36 +00:00
/ * !
* Bootstrap tooltip . js v4 . 3.1 ( https : //getbootstrap.com/)
* Copyright 2011 - 2019 The Bootstrap Authors ( https : //github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT ( https : //github.com/twbs/bootstrap/blob/master/LICENSE)
* /
2019-11-03 08:22:59 +00:00
e . exports = function ( e , t , n ) { "use strict" ; function i ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var i = t [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( e , i . key , i ) } } function r ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } function o ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = null != arguments [ t ] ? arguments [ t ] : { } , i = Object . keys ( n ) ; "function" == typeof Object . getOwnPropertySymbols && ( i = i . concat ( Object . getOwnPropertySymbols ( n ) . filter ( ( function ( e ) { return Object . getOwnPropertyDescriptor ( n , e ) . enumerable } ) ) ) ) , i . forEach ( ( function ( t ) { r ( e , t , n [ t ] ) } ) ) } return e } e = e && e . hasOwnProperty ( "default" ) ? e . default : e , t = t && t . hasOwnProperty ( "default" ) ? t . default : t , n = n && n . hasOwnProperty ( "default" ) ? n . default : n ; var s = [ "background" , "cite" , "href" , "itemtype" , "longdesc" , "poster" , "src" , "xlink:href" ] , a = { "*" : [ "class" , "dir" , "id" , "lang" , "role" , /^aria-[\w-]*$/i ] , a : [ "target" , "href" , "title" , "rel" ] , area : [ ] , b : [ ] , br : [ ] , col : [ ] , code : [ ] , div : [ ] , em : [ ] , hr : [ ] , h1 : [ ] , h2 : [ ] , h3 : [ ] , h4 : [ ] , h5 : [ ] , h6 : [ ] , i : [ ] , img : [ "src" , "alt" , "title" , "width" , "height" ] , li : [ ] , ol : [ ] , p : [ ] , pre : [ ] , s : [ ] , small : [ ] , span : [ ] , sub : [ ] , sup : [ ] , strong : [ ] , u : [ ] , ul : [ ] } , l = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi , c = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i ; function u ( e , t , n ) { if ( 0 === e . length ) return e ; if ( n && "function" == typeof n ) return n ( e ) ; for ( var i = ( new window . DOMParser ) . parseFromString ( e , "text/html" ) , r = Object . keys ( t ) , o = [ ] . slice . call ( i . body . querySelectorAll ( "*" ) ) , a = function ( e , n ) { var i = o [ e ] , a = i . nodeName . toLowerCase ( ) ; if ( - 1 === r . indexOf ( i . nodeName . toLowerCase ( ) ) ) return i . parentNode . removeChild ( i ) , "continue" ; var u = [ ] . slice . call ( i . attributes ) , d = [ ] . concat ( t [ "*" ] || [ ] , t [ a ] || [ ] ) ; u . forEach ( ( function ( e ) { ( function ( e , t ) { var n = e . nodeName . toLowerCase ( ) ; if ( - 1 !== t . indexOf ( n ) ) return - 1 === s . indexOf ( n ) || Boolean ( e . nodeValue . match ( l ) || e . nodeValue . match ( c ) ) ; for ( var i = t . filter ( ( function ( e ) { return e instanceof RegExp } ) ) , r = 0 , o = i . length ; r < o ; r ++ ) if ( n . match ( i [ r ] ) ) return ! 0 ; return ! 1 } ) ( e , d ) || i . removeAttribute ( e . nodeName ) } ) ) } , u = 0 , d = o . length ; u < d ; u ++ ) a ( u ) ; return i . body . innerHTML } var d = "tooltip" , h = ".bs.tooltip" , f = e . fn [ d ] , p = new RegExp ( "(^|\\s)bs-tooltip\\S+" , "g" ) , m = [ "sanitize" , "whiteList" , "sanitizeFn" ] , g = { animation : "boolean" , template : "string" , title : "(string|element|function)" , trigger : "string" , delay : "(number|object)" , html : "boolean" , selector : "(string|boolean)" , placement : "(string|function)" , offset : "(number|string|function)" , container : "(string|element|boolean)" , fallbackPlacement : "(string|array)" , boundary : "(string|element)" , sanitize : "boolean" , sanitizeFn : "(null|function)" , whiteList : "object" } , _ = { AUTO : "auto" , TOP : "top" , RIGHT : "right" , BOTTOM : "bottom" , LEFT : "left" } , v = { animation : ! 0 , template : '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>' , trigger : "hover focus" , title : "" , delay : 0 , html : ! 1 , selector : ! 1 , placement : "top" , offset : 0 , container : ! 1 , fallbackPlacement : "flip" , boundary : "scrollParent" , sanitize : ! 0 , sanitizeFn : null , whiteList : a } , y = "show" , b = "out" , w = { HIDE : "hide" + h , HIDDEN : "hidden" + h , SHOW : "show" + h , SHOWN : "shown" + h , INSERTED : "inserted" + h , CLICK : "click" + h , FOCUSIN : "focusin" + h , FOCUSOUT : "focusout" + h , MOUSEENTER : "mouseenter" + h , MOUSELEAVE : "mouseleave" + h } , k = "fade" , x = "show" , M = ".tooltip-inner" , A = ".arrow" , L = "hover" , D = "focus" , T = "click" , S = "manual" , Y = function ( ) { function r ( e , n ) { if ( void 0 === t ) throw new TypeError ( "Bootstrap's tooltips require Popper.js (https://popper.js.org/)" ) ; this . _isEnabled = ! 0 , this . _timeout = 0 , this . _hoverState = "" , this . _activeTrigger = { } , this . _popper = null , this . element = e , this . config = this . _getConfig ( n ) , this . tip = null , this . _setListeners ( ) } var s , a , l , c = r . prototype ; return c . enable = function ( ) { this . _isEnabled = ! 0 } , c . disable = function ( ) { this . _isEnabled = ! 1 } , c . toggleEnabled = function ( ) { this . _isEnabled = ! this . _isEnabled } , c . toggle = function ( t ) { if ( this . _isEnabled ) if ( t ) { var n = this . constructor . DATA _KEY , i = e ( t . currentTarget ) . data ( n ) ; i || ( i = new this . constructor ( t . currentTarget , this . _getDelegateConfig ( ) ) , e ( t . currentTarget ) . data ( n , i ) ) , i . _activeTrigger . cli
2019-03-06 19:00:36 +00:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
2019-04-15 08:36:53 +00:00
* @ version 1.15 . 0
2019-03-06 19:00:36 +00:00
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2019-11-24 10:13:21 +00:00
var n = "undefined" != typeof window && "undefined" != typeof document , i = [ "Edge" , "Trident" , "Firefox" ] , r = 0 , o = 0 ; o < i . length ; o += 1 ) if ( n && navigator . userAgent . indexOf ( i [ o ] ) >= 0 ) { r = 1 ; break } var s = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , r ) ) } } ; function a ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function l ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function c ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function u ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = l ( e ) , n = t . overflow , i = t . overflowX , r = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + r + i ) ? e : u ( c ( e ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , h = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( e ) { return 11 === e ? d : 10 === e ? h : d || h } function p ( e ) { if ( ! e ) return document . documentElement ; for ( var t = f ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var i = n && n . nodeName ; return i && "BODY" !== i && "HTML" !== i ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === l ( n , "position" ) ? p ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function m ( e ) { return null !== e . parentNode ? m ( e . parentNode ) : e } function g ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , i = n ? e : t , r = n ? t : e , o = document . createRange ( ) ; o . setStart ( i , 0 ) , o . setEnd ( r , 0 ) ; var s , a , l = o . commonAncestorContainer ; if ( e !== l && t !== l || i . contains ( r ) ) return "BODY" === ( a = ( s = l ) . nodeName ) || "HTML" !== a && p ( s . firstElementChild ) !== s ? p ( l ) : l ; var c = m ( e ) ; return c . host ? g ( c . host , t ) : g ( e , m ( t ) . host ) } function _ ( e ) { var t = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = e . nodeName ; if ( "BODY" === n || "HTML" === n ) { var i = e . ownerDocument . documentElement ; return ( e . ownerDocument . scrollingElement || i ) [ t ] } return e [ t ] } function v ( e , t ) { var n = "x" === t ? "Left" : "Top" , i = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] , 10 ) + parseFloat ( e [ "border" + i + "Width" ] , 10 ) } function y ( e , t , n , i ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , f ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( i [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( i [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( e ) { var t = e . body , n = e . documentElement , i = f ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , t , n , i ) , width : y ( "Width" , t , n , i ) } } var w = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , k = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var i = t [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( e , i . key , i ) } } return function ( t , n , i ) { return n && e ( t . prototype , n ) , i && e ( t , i ) , t } } ( ) , x = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , M = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var i in n ) Object . prototype . hasOwnProperty . call ( n , i ) && ( e [ i ] = n [ i ] ) } return e } ; function A ( e ) { return M ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function L ( e ) { var t = { } ; try { if ( f ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = _ ( e , "top" ) , i = _ ( e , "left" ) ; t . top += n , t . left += i , t . bottom += n , t . right += i } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var r = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , o = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , s = o . width || e . clientWidth || r . right - r . left , a = o . height || e . clientHeight || r . bottom - r . top , c = e . offsetWidth - s , u = e . offsetHeight - a ; if ( c || u ) { var d = l ( e ) ; c -= v ( d , "x" ) , u -= v ( d , "y" ) , r . width -= c , r . height -= u } return A ( r ) } function D ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , i = f ( 10 ) , r = "HTML" === t . nodeName , o = L ( e ) , s = L ( t ) , a = u ( e ) , c = l ( t ) , d = parseFloat ( c . borderTopWidth , 10 ) , h = parseFloat ( c . borderLeftWidth , 10 ) ; n && r && ( s . top = Math . max ( s . t
2019-03-06 19:00:36 +00:00
/ * !
* Bootstrap util . js v4 . 3.1 ( https : //getbootstrap.com/)
* Copyright 2011 - 2019 The Bootstrap Authors ( https : //github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT ( https : //github.com/twbs/bootstrap/blob/master/LICENSE)
* /
2019-10-04 10:17:09 +00:00
e . exports = function ( e ) { "use strict" ; e = e && e . hasOwnProperty ( "default" ) ? e . default : e ; var t = "transitionend" ; function n ( t ) { var n = this , r = ! 1 ; return e ( this ) . one ( i . TRANSITION _END , ( function ( ) { r = ! 0 } ) ) , setTimeout ( ( function ( ) { r || i . triggerTransitionEnd ( n ) } ) , t ) , this } var i = { TRANSITION _END : "bsTransitionEnd" , getUID : function ( e ) { do { e += ~ ~ ( 1e6 * Math . random ( ) ) } while ( document . getElementById ( e ) ) ; return e } , getSelectorFromElement : function ( e ) { var t = e . getAttribute ( "data-target" ) ; if ( ! t || "#" === t ) { var n = e . getAttribute ( "href" ) ; t = n && "#" !== n ? n . trim ( ) : "" } try { return document . querySelector ( t ) ? t : null } catch ( e ) { return null } } , getTransitionDurationFromElement : function ( t ) { if ( ! t ) return 0 ; var n = e ( t ) . css ( "transition-duration" ) , i = e ( t ) . css ( "transition-delay" ) , r = parseFloat ( n ) , o = parseFloat ( i ) ; return r || o ? ( n = n . split ( "," ) [ 0 ] , i = i . split ( "," ) [ 0 ] , 1e3 * ( parseFloat ( n ) + parseFloat ( i ) ) ) : 0 } , reflow : function ( e ) { return e . offsetHeight } , triggerTransitionEnd : function ( n ) { e ( n ) . trigger ( t ) } , supportsTransitionEnd : function ( ) { return Boolean ( t ) } , isElement : function ( e ) { return ( e [ 0 ] || e ) . nodeType } , typeCheckConfig : function ( e , t , n ) { for ( var r in n ) if ( Object . prototype . hasOwnProperty . call ( n , r ) ) { var o = n [ r ] , s = t [ r ] , a = s && i . isElement ( s ) ? "element" : ( l = s , { } . toString . call ( l ) . match ( /\s([a-z]+)/i ) [ 1 ] . toLowerCase ( ) ) ; if ( ! new RegExp ( o ) . test ( a ) ) throw new Error ( e . toUpperCase ( ) + ': Option "' + r + '" provided type "' + a + '" but expected type "' + o + '".' ) } var l } , findShadowRoot : function ( e ) { if ( ! document . documentElement . attachShadow ) return null ; if ( "function" == typeof e . getRootNode ) { var t = e . getRootNode ( ) ; return t instanceof ShadowRoot ? t : null } return e instanceof ShadowRoot ? e : e . parentNode ? i . findShadowRoot ( e . parentNode ) : null } } ; return e . fn . emulateTransitionEnd = n , e . event . special [ i . TRANSITION _END ] = { bindType : t , delegateType : t , handle : function ( t ) { if ( e ( t . target ) . is ( this ) ) return t . handleObj . handler . apply ( this , arguments ) } } , i } ( n ( 0 ) ) } , function ( e , t , n ) { ( function ( e ) { var t ;
2019-03-06 19:00:36 +00:00
/ *
* @ copyright 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ 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
e . prototype . tooltip = ( t = e . prototype . tooltip , function ( e ) { try { return t . call ( this , e ) } catch ( n ) { if ( n instanceof TypeError && "destroy" === e ) return console . error ( "Deprecated call $.tooltip('destroy') has been deprecated and should be removed" ) , t . call ( this , "dispose" ) ; if ( n instanceof TypeError && "fixTitle" === e ) return console . error ( "Deprecated call $.tooltip('fixTitle') has been deprecated and should be removed" ) , t . call ( this , "_fixTitle" ) } } ) } ) . call ( this , n ( 0 ) ) } , function ( e , t , n ) { ( function ( e ) { var t ; ( t = e ) . Jcrop = function ( e , n ) { var i , r = t . extend ( { } , t . Jcrop . defaults ) , o = navigator . userAgent . toLowerCase ( ) , s = /msie/ . test ( o ) , a = /msie [1-6]\./ . test ( o ) ; function l ( e ) { return Math . round ( e ) + "px" } function c ( e ) { return r . baseClass + "-" + e } function u ( e ) { var n = t ( e ) . offset ( ) ; return [ n . left , n . top ] } function d ( e ) { return [ e . pageX - i [ 0 ] , e . pageY - i [ 1 ] ] } function h ( e ) { "object" != typeof e && ( e = { } ) , r = t . extend ( r , e ) , t . each ( [ "onChange" , "onSelect" , "onRelease" , "onDblClick" ] , ( function ( e , t ) { "function" != typeof r [ t ] && ( r [ t ] = function ( ) { } ) } ) ) } function f ( e , t , n ) { if ( i = u ( L ) , K . setCursor ( "move" === e ? e : e + "-resize" ) , "move" === e ) return K . activateHandlers ( function ( e ) { var t = e ; return X . watchKeys ( ) , function ( e ) { V . moveOffset ( [ e [ 0 ] - t [ 0 ] , e [ 1 ] - t [ 1 ] ] ) , t = e , J . update ( ) } } ( t ) , v , n ) ; var o = V . getFixed ( ) , s = p ( e ) , a = V . getCorner ( p ( s ) ) ; V . setPressed ( V . getCorner ( s ) ) , V . setCurrent ( a ) , K . activateHandlers ( function ( e , t ) { return function ( n ) { if ( r . aspectRatio ) switch ( e ) { case "e" : case "w" : n [ 1 ] = t . y + 1 ; break ; case "n" : case "s" : n [ 0 ] = t . x + 1 } else switch ( e ) { case "e" : case "w" : n [ 1 ] = t . y2 ; break ; case "n" : case "s" : n [ 0 ] = t . x2 } V . setCurrent ( n ) , J . update ( ) } } ( e , o ) , v , n ) } function p ( e ) { switch ( e ) { case "n" : return "sw" ; case "s" : case "e" : return "nw" ; case "w" : return "ne" ; case "ne" : return "sw" ; case "nw" : return "se" ; case "se" : return "nw" ; case "sw" : return "ne" } } function m ( e ) { return function ( t ) { return ! ( r . disabled || "move" === e && ! r . allowMove || ( i = u ( L ) , N = ! 0 , f ( e , d ( t ) ) , t . stopPropagation ( ) , t . preventDefault ( ) , 1 ) ) } } function g ( e , t , n ) { var i = e . width ( ) , r = e . height ( ) ; i > t && t > 0 && ( i = t , r = t / e . width ( ) * e . height ( ) ) , r > n && n > 0 && ( r = n , i = n / e . height ( ) * e . width ( ) ) , z = e . width ( ) / i , F = e . height ( ) / r , e . width ( i ) . height ( r ) } function _ ( e ) { return { x : e . x * z , y : e . y * F , x2 : e . x2 * z , y2 : e . y2 * F , w : e . w * z , h : e . h * F } } function v ( e ) { var t = V . getFixed ( ) ; t . w > r . minSelect [ 0 ] && t . h > r . minSelect [ 1 ] ? ( J . enableHandles ( ) , J . done ( ) ) : J . release ( ) , K . setCursor ( r . allowSelect ? "crosshair" : "default" ) } function y ( e ) { if ( r . disabled ) return ! 1 ; if ( ! r . allowSelect ) return ! 1 ; N = ! 0 , i = u ( L ) , J . disableHandles ( ) , K . setCursor ( "crosshair" ) ; var t = d ( e ) ; return V . setPressed ( t ) , J . update ( ) , K . activateHandlers ( b , v , "touch" === e . type . substring ( 0 , 5 ) ) , X . watchKeys ( ) , e . stopPropagation ( ) , e . preventDefault ( ) , ! 1 } function b ( e ) { V . setCurrent ( e ) , J . update ( ) } function w ( ) { var e = t ( "<div></div>" ) . addClass ( c ( "tracker" ) ) ; return s && e . css ( { opacity : 0 , backgroundColor : "white" } ) , e } "object" != typeof e && ( e = t ( e ) [ 0 ] ) , "object" != typeof n && ( n = { } ) , h ( n ) ; var k = { border : "none" , visibility : "visible" , margin : 0 , padding : 0 , position : "absolute" , top : 0 , left : 0 } , x = t ( e ) , M = ! 0 ; if ( "IMG" == e . tagName ) { if ( 0 != x [ 0 ] . width && 0 != x [ 0 ] . height ) x . width ( x [ 0 ] . width ) , x . height ( x [ 0 ] . height ) ; else { var A = new Image ; A . src = x [ 0 ] . src , x . width ( A . width ) , x . height ( A . height ) } var L = x . clone ( ) . removeAttr ( "id" ) . css ( k ) . show ( ) ; L . width ( x . width ( ) ) , L . height ( x . height ( ) ) , x . after ( L ) . hide ( ) } else L = x . css ( k ) . show ( ) , M = ! 1 , null === r . shade && ( r . shade = ! 0 ) ; g ( L , r . boxWidth , r . boxHeight ) ; var D = L . width ( ) , T = L . height ( ) , S = t ( "<div />" ) . width ( D ) . height ( T ) . addClass ( c ( "holder" ) ) . css ( { position : "relative" , backgroundColor : r . bgColor } ) . insertAfter ( x ) . append ( L ) ; r . addClass && S . addClass ( r . addClass ) ; var Y = t ( "<div />" ) , C = t ( "<div />" ) . width ( "100%" ) . height ( "100%" ) . css ( { zIndex : 310 , position : "absolute" , overflow : "hidden" } ) , E = t ( "<div />" ) . width ( "100%" ) . height ( "100%" ) . css ( "zIndex" , 320 ) , P = t ( "<div />" ) . css ( { position : "absolute" , zIndex : 600 } ) . dblclick ( ( function ( ) { var e = V . getFixed ( ) ; r . onDblClick . call ( re , e ) } ) ) . insertBefore ( L ) . append ( C , E ) ; M && ( Y = t ( "<img />" ) . attr ( "src" , L . attr ( "src" ) ) . css ( k ) . width ( D ) . height ( T ) , C . append ( Y ) ) , a && P . css ( { overflowY : "hidden" } ) ; var O , H , I , j , z , F , N , B , R = r . boundary , W = w ( ) . width ( D + 2 * R ) . height ( T + 2 * R ) . css ( { position : "absolute" , top : l ( - R ) , left : l ( - R ) , zIndex : 290 } ) . mousedown ( y ) , U = r . bgColor , Q = r . bgOpacity ; i = u ( L ) ; var q = function ( ) { function e ( ) { var e , t = { } , n = [ " t
2019-10-21 19:36:17 +00:00
/ *
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-31 18:19:47 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-31 18:19:47 +00:00
*
* @ 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
o . a . fn . avatar = function ( e , t , n , i , r , o ) { var a = function ( e ) { e . imageplaceholder ( "?" ) , e . css ( "background-color" , "#b9b9b9" ) } ; if ( void 0 !== e && ( e = String ( e ) ) , void 0 !== o && ( o = String ( o ) ) , void 0 === t && ( t = this . height ( ) > 0 ? this . height ( ) : this . data ( "size" ) > 0 ? this . data ( "size" ) : 64 ) , this . height ( t ) , this . width ( t ) , void 0 === e ) { if ( void 0 === this . data ( "user" ) ) return void a ( this ) ; e = this . data ( "user" ) } e = String ( e ) . replace ( /\//g , "" ) ; var l , c = this ; l = e === s . a . getCurrentUser ( ) . uid ? s . a . generateUrl ( "/avatar/{user}/{size}?v={version}" , { user : e , size : Math . ceil ( t * window . devicePixelRatio ) , version : oc _userconfig . avatar . version } ) : s . a . generateUrl ( "/avatar/{user}/{size}" , { user : e , size : Math . ceil ( t * window . devicePixelRatio ) } ) ; var u = new Image ; u . onload = function ( ) { c . clearimageplaceholder ( ) , c . append ( u ) , "function" == typeof r && r ( ) } , u . onerror = function ( ) { c . clearimageplaceholder ( ) , void 0 !== o ? c . imageplaceholder ( e , o ) : a ( c ) , "function" == typeof r && r ( ) } , t < 32 ? c . addClass ( "icon-loading-small" ) : c . addClass ( "icon-loading" ) , u . width = t , u . height = t , u . src = l , u . alt = "" } ;
2019-10-21 19:36:17 +00:00
/ *
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
* @ 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-28 06:46:16 +00:00
var a = i ( 894 ) ; o . a . fn . contactsMenu = function ( e , n , i ) { if ( - 1 !== [ 0 , 4 , 6 ] . indexOf ( n ) ) { var r = this ; i . append ( '<div class="menu popovermenu menu-left hidden contactsmenu-popover"> <ul> <li> <a> <span class="icon-loading-small"></span> </a> </li> </ul></div>' ) ; var l = i . find ( "div.contactsmenu-popover" ) ; r . click ( ( function ( ) { if ( ! l . hasClass ( "hidden" ) ) return l . addClass ( "hidden" ) , void l . hide ( ) ; l . removeClass ( "hidden" ) , l . show ( ) , l . hasClass ( "loaded" ) || ( l . addClass ( "loaded" ) , o . a . ajax ( s . a . generateUrl ( "/contactsmenu/findOne" ) , { method : "POST" , data : { shareType : n , shareWith : e } } ) . then ( ( function ( e ) { l . find ( "ul" ) . find ( "li" ) . addClass ( "hidden" ) , ( e . topAction ? [ e . topAction ] . concat ( e . actions ) : [ { hyperlink : "#" , title : t ( "core" , "No action available" ) } ] ) . forEach ( ( function ( e ) { var t = a ; l . find ( "ul" ) . append ( t ( e ) ) } ) ) } ) , ( function ( e ) { var n ; l . find ( "ul" ) . find ( "li" ) . addClass ( "hidden" ) , n = 404 === e . status ? t ( "core" , "No action available" ) : t ( "core" , "Error fetching contact actions" ) ; var i = a ; l . find ( "ul" ) . append ( i ( { hyperlink : "#" , title : n } ) ) } ) ) ) } ) ) , o ( ) ( document ) . click ( ( function ( e ) { var t = l . has ( e . target ) . length > 0 , n = r . has ( e . target ) . length > 0 ; r . each ( ( function ( ) { o ( ) ( this ) . is ( e . target ) && ( n = ! 0 ) } ) ) , t || n || ( l . addClass ( "hidden" ) , l . hide ( ) ) } ) ) } } ,
2019-10-21 19:36:17 +00:00
/ * *
2019-03-14 21:34:35 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
2019-03-14 21:34:35 +00:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
* @ 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-01-31 18:19:47 +00:00
* /
2019-10-21 19:36:17 +00:00
o . a . fn . exists = function ( ) { return this . length > 0 } ,
2019-09-25 16:19:42 +00:00
/ * *
2019-10-21 19:36:17 +00:00
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-31 18:19:47 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-31 18:19:47 +00:00
*
* @ 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-21 19:36:17 +00:00
* /
o . a . fn . filterAttr = function ( e , t ) { return this . filter ( ( function ( ) { return o ( ) ( this ) . attr ( e ) === t } ) ) } ,
2019-01-29 09:15:46 +00:00
/ *
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2018 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
o . a . widget ( "oc.ocdialog" , { options : { width : "auto" , height : "auto" , closeButton : ! 0 , closeOnEscape : ! 0 , modal : ! 1 } , _create : function ( ) { var e = this ; this . originalCss = { display : this . element [ 0 ] . style . display , width : this . element [ 0 ] . style . width , height : this . element [ 0 ] . style . height } , this . originalTitle = this . element . attr ( "title" ) , this . options . title = this . options . title || this . originalTitle , this . $dialog = o ( ) ( '<div class="oc-dialog" />' ) . attr ( { tabIndex : - 1 , role : "dialog" } ) . insertBefore ( this . element ) , this . $dialog . append ( this . element . detach ( ) ) , this . element . removeAttr ( "title" ) . addClass ( "oc-dialog-content" ) . appendTo ( this . $dialog ) , this . $dialog . css ( { display : "inline-block" , position : "fixed" } ) , this . enterCallback = null , o ( ) ( document ) . on ( "keydown keyup" , ( function ( t ) { if ( t . target === e . $dialog . get ( 0 ) || 0 !== e . $dialog . find ( o ( ) ( t . target ) ) . length ) { if ( 27 === t . keyCode && "keydown" === t . type && e . options . closeOnEscape ) return t . stopImmediatePropagation ( ) , e . close ( ) , ! 1 ; if ( 13 === t . keyCode ) { if ( t . stopImmediatePropagation ( ) , null !== e . enterCallback ) return e . enterCallback ( ) , t . preventDefault ( ) , ! 1 ; if ( "keyup" === t . type ) return t . preventDefault ( ) , ! 1 ; if ( e . $buttonrow && 0 === e . $buttonrow . find ( o ( ) ( t . target ) ) . length ) { var n = e . $buttonrow . find ( "button.primary" ) ; n && ! n . prop ( "disabled" ) && n . trigger ( "click" ) } else e . $buttonrow && o ( ) ( t . target ) . trigger ( "click" ) ; return ! 1 } } } ) ) , this . _setOptions ( this . options ) , this . _createOverlay ( ) } , _init : function ( ) { this . $dialog . focus ( ) , this . _trigger ( "open" ) } , _setOption : function ( e , t ) { var n = this ; switch ( e ) { case "title" : if ( this . $title ) this . $title . text ( t ) ; else { var i = o ( ) ( '<h2 class="oc-dialog-title">' + t + "</h2>" ) ; this . $title = i . prependTo ( this . $dialog ) } this . _setSizes ( ) ; break ; case "buttons" : if ( this . $buttonrow ) this . $buttonrow . empty ( ) ; else { var r = o ( ) ( '<div class="oc-dialog-buttonrow" />' ) ; this . $buttonrow = r . appendTo ( this . $dialog ) } 1 === t . length ? this . $buttonrow . addClass ( "onebutton" ) : 2 === t . length ? this . $buttonrow . addClass ( "twobuttons" ) : 3 === t . length && this . $buttonrow . addClass ( "threebuttons" ) , o . a . each ( t , ( function ( e , t ) { var i = o ( ) ( "<button>" ) . text ( t . text ) ; t . classes && i . addClass ( t . classes ) , t . defaultButton && ( i . addClass ( "primary" ) , n . $defaultButton = i ) , n . $buttonrow . append ( i ) , i . click ( ( function ( ) { t . click . apply ( n . element [ 0 ] , arguments ) } ) ) } ) ) , this . $buttonrow . find ( "button" ) . on ( "focus" , ( function ( e ) { n . $buttonrow . find ( "button" ) . removeClass ( "primary" ) , o ( ) ( this ) . addClass ( "primary" ) } ) ) , this . _setSizes ( ) ; break ; case "style" : void 0 !== t . buttons && this . $buttonrow . addClass ( t . buttons ) ; break ; case "closeButton" : if ( t ) { var s = o ( ) ( '<a class="oc-dialog-close"></a>' ) ; this . $dialog . prepend ( s ) , s . on ( "click" , ( function ( ) { n . close ( ) } ) ) } else this . $dialog . find ( ".oc-dialog-close" ) . remove ( ) ; break ; case "width" : this . $dialog . css ( "width" , t ) ; break ; case "height" : this . $dialog . css ( "height" , t ) ; break ; case "close" : this . closeCB = t } o . a . Widget . prototype . _setOption . apply ( this , arguments ) } , _setOptions : function ( e ) { o . a . Widget . prototype . _setOptions . apply ( this , arguments ) } , _setSizes : function ( ) { var e = 0 ; this . $title && ( e += this . $title . outerHeight ( ! 0 ) ) , this . $buttonrow && ( e += this . $buttonrow . outerHeight ( ! 0 ) ) , this . element . css ( { height : "calc(100% - " + e + "px)" } ) } , _createOverlay : function ( ) { if ( this . options . modal ) { var e = this ; this . overlay = o ( ) ( "<div>" ) . addClass ( "oc-dialog-dim" ) . appendTo ( o ( ) ( "#content" ) ) , this . overlay . on ( "click keydown keyup" , ( function ( t ) { t . target !== e . $dialog . get ( 0 ) && 0 === e . $dialog . find ( o ( ) ( t . target ) ) . length && ( t . preventDefault ( ) , t . stopPropagation ( ) ) } ) ) } } , _destroyOverlay : function ( ) { this . options . modal && this . overlay && ( this . overlay . off ( "click keydown keyup" ) , this . overlay . remove ( ) , this . overlay = null ) } , widget : function ( ) { return this . $dialog } , setEnterCallback : function ( e ) { this . enterCallback = e } , unsetEnterCallback : function ( ) { this . enterCallback = null } , close : function ( ) { this . _destroyOverlay ( ) ; var e = this ; setTimeout ( ( function ( ) { e . _trigger ( "close" , e ) } ) , 200 ) , e . $dialog . remove ( ) , this . destroy ( ) } , destroy : function ( ) { this . $title && this . $title . remove ( ) , this . $buttonrow && this . $buttonrow . remove ( ) , this . originalTitle && this . element . attr ( "title" , this . originalTitle ) , this . element . removeClass ( "oc-dialog-content" ) . css ( this . originalCss ) . detach ( ) . insertBefore ( this . $dialog ) , this . $dialog . remove ( ) } } ) ; var l = i ( 78 ) , c = { init : function ( e , t , n ) {
2019-02-03 21:29:00 +00:00
/ *
2019-10-21 19:36:17 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-03 21:29:00 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-03 21:29:00 +00:00
*
* @ 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-21 19:36:17 +00:00
* / f u n c t i o n d ( e ) { r e t u r n ( d = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( e ) { r e t u r n t y p e o f e } : f u n c t i o n ( e ) { r e t u r n e & & " f u n c t i o n " = = t y p e o f S y m b o l & & e . c o n s t r u c t o r = = = S y m b o l & & e ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f e } ) ( e ) }
2019-09-25 16:19:42 +00:00
/ * *
2019-01-29 09:15:46 +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
* / o ( ) ( d o c u m e n t ) . o n ( " a j a x S e n d " , ( f u n c t i o n ( e , t , n ) { ! 1 = = = n . c r o s s D o m a i n & & ( t . s e t R e q u e s t H e a d e r ( " r e q u e s t t o k e n " , O b j e c t ( u . a ) ( ) ) , t . s e t R e q u e s t H e a d e r ( " O C S - A P I R E Q U E S T " , " t r u e " ) ) } ) ) ,
2019-09-25 16:19:42 +00:00
/ * *
2019-10-21 19:36:17 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
* @ 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-21 19:36:17 +00:00
o . a . fn . selectRange = function ( e , t ) { return this . each ( ( function ( ) { if ( this . setSelectionRange ) this . focus ( ) , this . setSelectionRange ( e , t ) ; else if ( this . createTextRange ) { var n = this . createTextRange ( ) ; n . collapse ( ! 0 ) , n . moveEnd ( "character" , t ) , n . moveStart ( "character" , e ) , n . select ( ) } } ) ) } ,
2018-12-11 19:56:46 +00:00
/ *
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2018 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-28 06:46:16 +00:00
o . a . fn . extend ( { showPassword : function ( e ) { var t = { fn : null , args : { } } ; t . fn = e ; var n = function ( e , t ) { t . val ( e . val ( ) ) } , i = function ( e , t , i ) { e . is ( ":checked" ) ? ( n ( t , i ) , i . show ( ) , t . hide ( ) ) : ( n ( i , t ) , i . hide ( ) , t . show ( ) ) } ; return this . each ( ( function ( ) { var e = o ( ) ( this ) , r = o ( ) ( e . data ( "typetoggle" ) ) , s = function ( e ) { var t = o ( ) ( e ) , n = o ( ) ( "<input />" ) ; return n . attr ( { type : "text" , class : t . attr ( "class" ) , style : t . attr ( "style" ) , size : t . attr ( "size" ) , name : t . attr ( "name" ) + "-clone" , tabindex : t . attr ( "tabindex" ) , autocomplete : "off" } ) , void 0 !== t . attr ( "placeholder" ) && n . attr ( "placeholder" , t . attr ( "placeholder" ) ) , n } ( e ) ; s . insertAfter ( e ) , t . fn && ( t . args . input = e , t . args . checkbox = r , t . args . clone = s ) , r . bind ( "click" , ( function ( ) { i ( r , e , s ) } ) ) , e . bind ( "keyup" , ( function ( ) { n ( e , s ) } ) ) , s . bind ( "keyup" , ( function ( ) { n ( s , e ) , e . trigger ( "keyup" ) } ) ) , s . bind ( "blur" , ( function ( ) { e . trigger ( "focusout" ) } ) ) , i ( r , e , s ) , s . closest ( "form" ) . submit ( ( function ( e ) { s . prop ( "type" , "password" ) } ) ) , t . fn && t . fn ( t . args ) } ) ) } } ) , o . a . fn . tipsy = function ( e ) { if ( console . warn ( "Deprecation warning: tipsy is deprecated. Use tooltip instead." ) , "object" === d ( e ) && null !== e ) { var t = { placement : "bottom" , delay : { show : 0 , hide : 0 } , trigger : "hover" , html : ! 1 , container : "body" } ; if ( e . gravity ) switch ( e . gravity ) { case "n" : case "nw" : case "ne" : t . placement = "bottom" ; break ; case "s" : case "sw" : case "se" : t . placement = "top" ; break ; case "w" : t . placement = "right" ; break ; case "e" : t . placement = "left" } e . trigger && ( t . trigger = e . trigger ) , e . delayIn && ( t . delay . show = e . delayIn ) , e . delayOut && ( t . delay . hide = e . delayOut ) , e . html && ( t . html = ! 0 ) , e . fallback && ( t . title = e . fallback ) , o . a . fn . tooltip . call ( this , "destroy" ) , o . a . fn . tooltip . call ( this , t ) } else this . tooltip ( e ) , o . a . fn . tooltip . call ( this , e ) ; return this } , o . a . ui . autocomplete . prototype . _resizeMenu = function ( ) { this . menu . element . outerWidth ( this . element . outerWidth ( ) ) } ; i ( 895 ) , i ( 902 ) ;
2019-09-25 16:19:42 +00:00
/ * *
2019-01-29 09:15:46 +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-21 19:36:17 +00:00
* /
2019-11-10 20:27:17 +00:00
o . a . ajaxSetup ( { contents : { script : ! 1 } } ) , o . a . globalEval = function ( ) { } } , function ( e , n , i ) { "use strict" ; var r = { } ; i . r ( r ) , i . d ( r , "plainToRich" , ( function ( ) { return O } ) ) , i . d ( r , "richToPlain" , ( function ( ) { return H } ) ) , i . d ( r , "formatLinksRich" , ( function ( ) { return I } ) ) , i . d ( r , "formatLinksPlain" , ( function ( ) { return j } ) ) ; var o = { } ; i . r ( o ) , i . d ( o , "query" , ( function ( ) { return Q } ) ) , i . d ( o , "dismiss" , ( function ( ) { return q } ) ) ; var s = i ( 491 ) , a = i ( 2 ) , l = i . n ( a ) , c = i ( 0 ) , u = i . n ( c ) , d = ( i ( 870 ) , i ( 871 ) , i ( 872 ) , i ( 874 ) , i ( 663 ) ) , h = i . n ( d ) , f = i ( 21 ) , p = i . n ( f ) , m = ( i ( 876 ) , i ( 879 ) , i ( 622 ) ) , g = i . n ( m ) , _ = i ( 117 ) , v = i . n ( _ ) , y = i ( 32 ) , b = i . n ( y ) , w = i ( 74 ) , k = i . n ( w ) , x = ( i ( 880 ) , i ( 881 ) , i ( 326 ) ) , M = i . n ( x ) , A = i ( 664 ) , L = i . n ( A ) , D = i ( 665 ) , T = i . n ( D ) , S = i ( 1 ) , Y = i . n ( S ) , C = ( i ( 884 ) , i ( 885 ) , i ( 890 ) , i ( 891 ) , i ( 892 ) , i ( 3 ) ) , E = i ( 31 ) , P = /(\s|^)(https?:\/\/)?((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi ; function O ( e ) { return this . formatLinksRich ( e ) } function H ( e ) { return this . formatLinksPlain ( e ) } function I ( e ) { return e . replace ( P , ( function ( e , t , n , i , r ) { var o = i ; return n ? "http://" === n && ( o = n + i ) : n = "https://" , t + '<a class="external" target="_blank" rel="noopener noreferrer" href="' + n + i + '">' + o + "</a>" + r } ) ) } function j ( e ) { var t = u ( ) ( "<div></div>" ) . html ( e ) ; return t . find ( "a" ) . each ( ( function ( ) { var e = u ( ) ( this ) ; e . html ( e . attr ( "href" ) ) } ) ) , t . html ( ) }
2019-10-21 19:36:17 +00:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-05-10 12:18:08 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-05-10 12:18:08 +00:00
*
* @ 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
2019-10-21 19:36:17 +00:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-11-24 10:13:21 +00:00
* / v a r z = { } , F = { } , N = { l o a d S c r i p t : f u n c t i o n ( e , t ) { v a r n = e + t ; r e t u r n z . h a s O w n P r o p e r t y ( n ) ? P r o m i s e . r e s o l v e ( ) : ( z [ n ] = ! 0 , n e w P r o m i s e ( ( f u n c t i o n ( n , i ) { v a r r = O C . f i l e P a t h ( e , " j s " , t ) , o = d o c u m e n t . c r e a t e E l e m e n t ( " s c r i p t " ) ; o . s r c = r , o . s e t A t t r i b u t e ( " n o n c e " , b t o a ( O C . r e q u e s t T o k e n ) ) , o . o n l o a d = f u n c t i o n ( ) { r e t u r n n ( ) } , o . o n e r r o r = f u n c t i o n ( ) { r e t u r n i ( n e w E r r o r ( " F a i l e d t o l o a d s c r i p t f r o m " . c o n c a t ( r ) ) ) } , d o c u m e n t . h e a d . a p p e n d C h i l d ( o ) } ) ) ) } , l o a d S t y l e s h e e t : f u n c t i o n ( e , t ) { v a r n = e + t ; r e t u r n F . h a s O w n P r o p e r t y ( n ) ? P r o m i s e . r e s o l v e ( ) : ( F [ n ] = ! 0 , n e w P r o m i s e ( ( f u n c t i o n ( n , i ) { v a r r = O C . f i l e P a t h ( e , " c s s " , t ) , o = d o c u m e n t . c r e a t e E l e m e n t ( " l i n k " ) ; o . h r e f = r , o . t y p e = " t e x t / c s s " , o . r e l = " s t y l e s h e e t " , o . o n l o a d = f u n c t i o n ( ) { r e t u r n n ( ) } , o . o n e r r o r = f u n c t i o n ( ) { r e t u r n i ( n e w E r r o r ( " F a i l e d t o l o a d s t y l e s h e e t f r o m " . c o n c a t ( r ) ) ) } , d o c u m e n t . h e a d . a p p e n d C h i l d ( o ) } ) ) ) } } , B = i ( 4 7 4 ) , R = { } , W = { r e g i s t e r T y p e : f u n c t i o n ( e , t ) { R [ e ] = t } , t r i g g e r : f u n c t i o n ( e ) { r e t u r n R [ e ] . a c t i o n ( ) } , g e t T y p e s : f u n c t i o n ( ) { r e t u r n O b j e c t . k e y s ( R ) } , g e t I c o n : f u n c t i o n ( e ) { r e t u r n R [ e ] . t y p e I c o n C l a s s | | " " } , g e t L a b e l : f u n c t i o n ( e ) { r e t u r n e s c a p e H T M L ( R [ e ] . t y p e S t r i n g | | e ) } , g e t L i n k : f u n c t i o n ( e , t ) { r e t u r n v o i d 0 ! = = R [ e ] ? R [ e ] . l i n k ( t ) : " " } } , U = i ( 6 6 6 ) ; f u n c t i o n Q ( e ) { v a r n = ( e = e | | { } ) . d i s m i s s | | { } ; u . a . a j a x ( { t y p e : " G E T " , u r l : e . u r l | | C . a . l i n k T o O C S ( " c o r e " , 2 ) + " w h a t s n e w ? f o r m a t = j s o n " , s u c c e s s : e . s u c c e s s | | f u n c t i o n ( e , i , r ) { ! f u n c t i o n ( e , n , i , r ) { i f ( c o n s o l e . d e b u g ( " q u e r y i n g W h a t s N e w d a t a w a s s u c c e s s f u l : " + n ) , c o n s o l e . d e b u g ( e ) , 2 0 0 ! = = i . s t a t u s ) r e t u r n ; v a r o , s , a , c , u = d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ; u . c l a s s L i s t . a d d ( " p o p o v e r m e n u " , " o p e n " , " w h a t s N e w P o p o v e r " , " m e n u - l e f t " ) ; v a r d = d o c u m e n t . c r e a t e E l e m e n t ( " u l " ) ; f o r ( v a r h i n o = d o c u m e n t . c r e a t e E l e m e n t ( " l i " ) , ( s = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . c l a s s N a m e = " m e n u i t e m " , ( a = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . i n n e r T e x t = t ( " c o r e " , " N e w i n " ) + " " + e . o c s . d a t a . p r o d u c t , a . c l a s s N a m e = " c a p t i o n " , s . a p p e n d C h i l d ( a ) , ( c = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . c l a s s N a m e = " i c o n - c l o s e " , c . o n c l i c k = f u n c t i o n ( ) { q ( e . o c s . d a t a . v e r s i o n , r ) } , s . a p p e n d C h i l d ( c ) , o . a p p e n d C h i l d ( s ) , d . a p p e n d C h i l d ( o ) , e . o c s . d a t a . w h a t s N e w . r e g u l a r ) { v a r f = e . o c s . d a t a . w h a t s N e w . r e g u l a r [ h ] ; o = d o c u m e n t . c r e a t e E l e m e n t ( " l i " ) , ( s = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . c l a s s N a m e = " m e n u i t e m " , ( c = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . c l a s s N a m e = " i c o n - c h e c k m a r k " , s . a p p e n d C h i l d ( c ) , ( a = d o c u m e n t . c r e a t e E l e m e n t ( " p " ) ) . i n n e r H T M L = l . a . e s c a p e ( f ) , s . a p p e n d C h i l d ( a ) , o . a p p e n d C h i l d ( s ) , d . a p p e n d C h i l d ( o ) } l . a . i s U n d e f i n e d ( e . o c s . d a t a . c h a n g e l o g U R L ) | | ( o = d o c u m e n t . c r e a t e E l e m e n t ( " l i " ) , ( s = d o c u m e n t . c r e a t e E l e m e n t ( " a " ) ) . h r e f = e . o c s . d a t a . c h a n g e l o g U R L , s . r e l = " n o r e f e r r e r n o o p e n e r " , s . t a r g e t = " _ b l a n k " , ( c = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . c l a s s N a m e = " i c o n - l i n k " , s . a p p e n d C h i l d ( c ) , ( a = d o c u m e n t . c r e a t e E l e m e n t ( " s p a n " ) ) . i n n e r T e x t = t ( " c o r e " , " V i e w c h a n g e l o g " ) , s . a p p e n d C h i l d ( a ) , o . a p p e n d C h i l d ( s ) , d . a p p e n d C h i l d ( o ) ) ; u . a p p e n d C h i l d ( d ) , d o c u m e n t . b o d y . a p p e n d C h i l d ( u ) } ( e , i , r , n ) } , e r r o r : e . e r r o r | | V } ) } f u n c t i o n q ( e , t ) { t = t | | { } , u . a . a j a x ( { t y p e : " P O S T " , u r l : t . u r l | | C . a . l i n k T o O C S ( " c o r e " , 2 ) + " w h a t s n e w " , d a t a : { v e r s i o n : e n c o d e U R I C o m p o n e n t ( e ) } , s u c c e s s : t . s u c c e s s | | G , e r r o r : t . e r r o r | | J } ) , u ( ) ( " . w h a t s N e w P o p o v e r " ) . r e m o v e ( ) } f u n c t i o n V ( e , t , n ) { c o n s o l e . d e b u g ( " q u e r y i n g W h a t s N e w D a t a r e s u l t e d i n a n e r r o r : " + t + n ) , c o n s o l e . d e b u g ( e ) } f u n c t i o n G ( e ) { } f u n c t i o n J ( e ) { c o n s o l e . d e b u g ( " d i s m i s s i n g W h a t s N e w d a t a r e s u l t e d i n a n e r r o r : " + e ) } v a r K = { A p p C o n f i g : E , C o l l a b o r a t i o n : W , C o m m e n t s : r , I n i t i a l S t a t e : { l o a d S t a t e : B . l o a d S t a t e } , L o a d e r : N , T o a s t : U . a , W h a t s N e w : o } , X = i ( 4 5 ) , Z = i ( 7 8 ) , $ = i . n ( Z ) ; v a r e e = i ( 4 0 ) ;
2019-09-25 16:19:42 +00:00
/ * *
2019-01-29 09:15:46 +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-27 10:19:41 +00:00
* / v a r t e = i ( 1 1 9 ) ;
2019-10-21 19:36:17 +00:00
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-29 09:15:46 +00:00
*
* @ 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-10 11:38:11 +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
var ne = function ( ) { void 0 === window . TESTING && console . warn . apply ( console , arguments ) } , ie = function ( e , t , n ) { var i = e , r = function ( ) { return ne ( "The " . concat ( t , " library is deprecated! It will be removed in nextcloud " ) . concat ( n , "." ) ) , i . apply ( this , arguments ) } ; return Object . assign ( r , i ) , r } , re = function ( e , t , n ) { void 0 !== window [ e ] && delete window [ e ] , Object . defineProperty ( window , e , { get : function ( ) { return ne ( n ? "" . concat ( e , " is deprecated: " ) . concat ( n ) : "" . concat ( e , " is deprecated" ) ) , t ( ) } } ) } ; window . _ = l . a , window . $ = u . a , re ( "autosize" , ( function ( ) { return h . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "Backbone" , ( function ( ) { return p . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "Clipboard" , ( function ( ) { return g . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "ClipboardJS" , ( function ( ) { return g . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , window . dav = v . a , re ( "DOMPurify" , ( function ( ) { return b . a } ) , "The global DOMPurify is deprecated, ship your own" ) , re ( "Handlebars" , ( function ( ) { return k . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "jstimezonedetect" , ( function ( ) { return M . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "jstz" , ( function ( ) { return M . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , window . jQuery = u . a , window . marked = ie ( L . a , "marked" , 19 ) , re ( "md5" , ( function ( ) { return T . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , re ( "moment" , ( function ( ) { return Y . a } ) , "please ship your own, this will be removed in Nextcloud 20" ) , window . OC = C . a , re ( "initCore" , ( function ( ) { return s . a } ) , "this is an internal function" ) , re ( "oc_appswebroots" , ( function ( ) { return C . a . appswebroots } ) , "use OC.appswebroots instead" ) , re ( "oc_capabilities" , C . a . getCapabilities , "use OC.getCapabilities instead" ) , re ( "oc_config" , ( function ( ) { return C . a . config } ) , "use OC.config instead" ) , re ( "oc_current_user" , ( function ( ) { return C . a . getCurrentUser ( ) . uid } ) , "use OC.getCurrentUser().uid instead" ) , re ( "oc_debug" , ( function ( ) { return C . a . debug } ) , "use OC.debug instead" ) , re ( "oc_defaults" , ( function ( ) { return C . a . theme } ) , "use OC.theme instead" ) , re ( "oc_isadmin" , C . a . isUserAdmin , "use OC.isUserAdmin() instead" ) , re ( "oc_requesttoken" , ( function ( ) { return Object ( ee . a ) ( ) } ) , "use OC.requestToken instead" ) , re ( "oc_webroot" , ( function ( ) { return C . a . webroot } ) , "use OC.getRootPath() instead" ) , re ( "OCDialogs" , ( function ( ) { return C . a . dialogs } ) , "use OC.dialogs instead" ) , window . OCP = K , window . OCA = X . a , window . escapeHTML = ie ( $ . a , "escapeHTML" , 19 ) , window . formatDate = ie ( (
2019-01-28 14:06:01 +00:00
/ *
2019-10-21 19:36:17 +00:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-28 14:06:01 +00:00
*
2019-10-21 19:36:17 +00:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-01-28 14:06:01 +00:00
*
* @ 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-21 19:36:17 +00:00
* /
2019-11-03 08:22:59 +00:00
function ( e ) { return console . warn ( "formatDate is deprecated, use OC.Util.formatDate instead" ) , C . a . Util . formatDate ( e ) } ) , "formatDate" , 19 ) , window . getURLParameter = ie ( ( function ( e ) { return decodeURIComponent ( ( new RegExp ( "[?|&]" + e + "=([^&;]+?)(&|#|;|$)" ) . exec ( location . search ) || [ , "" ] ) [ 1 ] . replace ( /\+/g , "%20" ) ) || "" } ) , "getURLParameter" , 19 ) , window . humanFileSize = ie ( te . a , "humanFileSize" , 19 ) , window . relative _modified _date = ie ( ( function ( e ) { return console . warn ( "relativeModifiedDate is deprecated, use OC.Util.relativeModifiedDate instead" ) , C . a . Util . relativeModifiedDate ( 1e3 * e ) } ) , "relative_modified_date" , 19 ) , u . a . fn . select2 = ie ( u . a . fn . select2 , "select2" , 19 ) , window . t = l . a . bind ( C . a . L10N . translate , C . a . L10N ) , window . n = l . a . bind ( C . a . L10N . translatePlural , C . a . L10N ) } ] ) ;
2018-12-11 19:56:46 +00:00
//# sourceMappingURL=main.js.map