2019-08-04 04:13:41 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var i in t ) n . d ( r , i , function ( e ) { return t [ e ] } . bind ( null , i ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/" , n ( n . s = 65 ) } ( [ , function ( t , e , n ) { "use strict" ; var r = n ( 7 ) , i = n ( 26 ) , o = Object . prototype . toString ; function a ( t ) { return "[object Array]" === o . call ( t ) } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === o . call ( t ) } function u ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , a ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var i in t ) Object . prototype . hasOwnProperty . call ( t , i ) && e . call ( null , t [ i ] , i , t ) } t . exports = { isArray : a , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === o . call ( t ) } , isBuffer : i , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isUndefined : function ( t ) { return void 0 === t } , isDate : function ( t ) { return "[object Date]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : c , isStream : function ( t ) { return s ( t ) && c ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : u , merge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = n } for ( var r = 0 , i = arguments . length ; r < i ; r ++ ) u ( arguments [ r ] , n ) ; return e } , deepMerge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = "object" == typeof n ? t ( { } , n ) : n } for ( var r = 0 , i = arguments . length ; r < i ; r ++ ) u ( arguments [ r ] , n ) ; return e } , extend : function ( t , e , n ) { return u ( e , function ( e , i ) { t [ i ] = n && "function" == typeof e ? r ( e , n ) : e } ) , t } , trim : function ( t ) { return t . replace ( /^\s*/ , "" ) . replace ( /\s*$/ , "" ) } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) , function ( t , n ) {
2018-12-21 10:37:57 +03:00
/ * !
2019-06-04 14:50:12 +03:00
* Vue . js v2 . 6.10
* ( c ) 2014 - 2019 Evan You
2018-12-21 10:37:57 +03:00
* Released under the MIT License .
* /
2019-08-07 18:08:12 +03:00
var r = Object . freeze ( { } ) ; function i ( t ) { return null == t } function o ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var u = Object . prototype . toString ; function l ( t ) { return "[object Object]" === u . call ( t ) } function f ( t ) { return "[object RegExp]" === u . call ( t ) } function d ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function p ( t ) { return o ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function h ( t ) { return null == t ? "" : Array . isArray ( t ) || l ( t ) && t . toString === u ? JSON . stringify ( t , null , 2 ) : String ( t ) } function v ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , i = 0 ; i < r . length ; i ++ ) n [ r [ i ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var A = m ( "key,ref,slot,slot-scope,is" ) ; function g ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( t , e ) { return y . call ( t , e ) } function _ ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , x = _ ( function ( t ) { return t . replace ( w , function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) } ) , T = _ ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) , k = /\B([A-Z])/g , C = _ ( function ( t ) { return t . replace ( k , "-$1" ) . toLowerCase ( ) } ) ; var E = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function S ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function O ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function M ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && O ( e , t [ n ] ) ; return e } function I ( t , e , n ) { } var N = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function D ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var i = Array . isArray ( t ) , o = Array . isArray ( e ) ; if ( i && o ) return t . length === e . length && t . every ( function ( t , n ) { return D ( t , e [ n ] ) } ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( i || o ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( function ( n ) { return D ( t [ n ] , e [ n ] ) } ) } catch ( t ) { return ! 1 } } function P ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( D ( t [ n ] , e ) ) return n ; return - 1 } function B ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var j = "data-server-rendered" , R = [ "component" , "directive" , "filter" ] , U = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , $ = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : N , isReservedAttr : N , isUnknownElement : N , getTagNamespace : I , parsePlatformTagName : L , mustUseProp : N , async : ! 0 , _lifecycleHooks : U } , G = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function F ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var Y = new RegExp ( "[^" + G . source + ".$_\\d]" ) ; var H , z = "__proto__" in { } , V = "undefined" != typeof window , Q = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = Q && WXEnvironment . platform . toLowerCase ( ) , q = V && window . navigator . userAgent . toLowerCase ( ) , J = q && /msie|trident/ . test ( q ) , Z = q && q . indexOf ( "msie 9.0" ) > 0 , X = q && q . indexOf ( "edge/" ) > 0 , K = ( q && q . indexOf ( "android" ) , q && /iphone|ipad|ipod|ios/ . test ( q ) || "ios" === W ) , tt = ( q && /chrome\/\d+/ . test ( q ) , q && /phantomjs/ . test ( q ) , q && q . match ( /firefox\/(\d+)/ ) ) , et = { } . watch , nt = ! 1 ; if ( V ) try { var rt = { } ; Object . defineProperty ( rt , "passive" , { get : function ( ) { nt = ! 0 } } ) , window . addEventListener ( "test-passive" , null , rt ) } catch ( t ) { } var it = function ( ) { return void 0 === H && ( H = ! V && ! Q && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , H } , ot = V && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function at ( t ) { retur
2019-01-10 18:04:13 +03:00
/ * *
2019-06-04 14:50:12 +03:00
* vuex v3 . 1.1
* ( c ) 2019 Evan You
2019-01-10 18:04:13 +03:00
* @ license MIT
2019-06-04 14:50:12 +03:00
* /
2019-08-07 18:08:12 +03:00
function ( t ) { if ( Number ( t . version . split ( "." ) [ 0 ] ) >= 2 ) t . mixin ( { beforeCreate : n } ) ; else { var e = t . prototype . _init ; t . prototype . _init = function ( t ) { void 0 === t && ( t = { } ) , t . init = t . init ? [ n ] . concat ( t . init ) : n , e . call ( this , t ) } } function n ( ) { var t = this . $options ; t . store ? this . $store = "function" == typeof t . store ? t . store ( ) : t . store : t . parent && t . parent . $store && ( this . $store = t . parent . $store ) } } ( s = t ) } u . state . get = function ( ) { return this . _vm . _data . $$state } , u . state . set = function ( t ) { 0 } , c . prototype . commit = function ( t , e , n ) { var r = this , i = v ( t , e , n ) , o = i . type , a = i . payload , s = ( i . options , { type : o , payload : a } ) , c = this . _mutations [ o ] ; c && ( this . _withCommit ( function ( ) { c . forEach ( function ( t ) { t ( a ) } ) } ) , this . _subscribers . forEach ( function ( t ) { return t ( s , r . state ) } ) ) } , c . prototype . dispatch = function ( t , e ) { var n = this , r = v ( t , e ) , i = r . type , o = r . payload , a = { type : i , payload : o } , s = this . _actions [ i ] ; if ( s ) { try { this . _actionSubscribers . filter ( function ( t ) { return t . before } ) . forEach ( function ( t ) { return t . before ( a , n . state ) } ) } catch ( t ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( function ( t ) { return t ( o ) } ) ) : s [ 0 ] ( o ) ) . then ( function ( t ) { try { n . _actionSubscribers . filter ( function ( t ) { return t . after } ) . forEach ( function ( t ) { return t . after ( a , n . state ) } ) } catch ( t ) { 0 } return t } ) } } , c . prototype . subscribe = function ( t ) { return l ( t , this . _subscribers ) } , c . prototype . subscribeAction = function ( t ) { return l ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers ) } , c . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( function ( ) { return t ( r . state , r . getters ) } , e , n ) } , c . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( function ( ) { e . _vm . _data . $$state = t } ) } , c . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , p ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , d ( this , this . state ) } , c . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( function ( ) { var n = h ( e . state , t . slice ( 0 , - 1 ) ) ; s . delete ( n , t [ t . length - 1 ] ) } ) , f ( this ) } , c . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , f ( this , ! 0 ) } , c . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( c . prototype , u ) ; var A = w ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { var e = this . $store . state , n = this . $store . getters ; if ( t ) { var r = x ( this . $store , "mapState" , t ) ; if ( ! r ) return ; e = r . context . state , n = r . context . getters } return "function" == typeof i ? i . call ( this , e , n ) : e [ i ] } , n [ r ] . vuex = ! 0 } ) , n } ) , g = w ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( t ) { var o = x ( this . $store , "mapMutations" , t ) ; if ( ! o ) return ; r = o . context . commit } return "function" == typeof i ? i . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ i ] . concat ( e ) ) } } ) , n } ) , y = w ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( function ( e ) { var r = e . key , i = e . val ; i = t + i , n [ r ] = function ( ) { if ( ! t || x ( this . $store , "mapGetters" , t ) ) return this . $store . getters [ i ] } , n [ r ] . vuex = ! 0 } ) , n } ) , b = w ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( t ) { var o = x ( this . $store , "mapActions" , t ) ; if ( ! o ) return ; r = o . context . dispatch } return "function" == typeof i ? i . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ i ] . concat ( e ) ) } } ) , n } ) ; function _ ( t ) { return Array . isArray ( t ) ? t . map ( function ( t ) { return { key : t , val : t } } ) : Object . keys ( t ) . map ( function ( e ) { return { key : e , val : t [ e ] } } ) } function w ( t ) { return function ( e , n ) { return "string" != typeof e ? ( n = e , e = "" ) : "/" !== e . charAt ( e . length - 1 ) && ( e += "/" ) , t ( e , n ) } } function x ( t , e , n ) { return t . _modulesNamespaceMap [ n ] } var T = { Store : c , install : m , version : "3.1.1" , mapState : A , mapMutations : g , mapGetters : y , mapActions : b , createNamespacedHelpers : function ( t ) { return { mapState : A . bind ( null , t ) , mapGetters : y . bind ( null , t ) , mapMutations : g . bind ( null , t ) , mapActions : b . bind ( null , t ) } } } ; e . a = T } ) . call ( this , n ( 3 ) ) } , function ( e , n , r ) { ! function ( t , n ) { e . exports = n ( r ( 2 ) ) } ( window , function ( e ) { return function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i :
2018-10-11 13:20:18 +03:00
/ * *
2019-06-04 14:50:12 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
r . a . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "35ff2a1" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . a . options . defaultHtml = ! 1 , e . default = r . a } , function ( t , e , n ) { "use strict" ; var r = n ( 3 ) , i = n . n ( r ) ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2018-10-11 13:20:18 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-02-27 16:23:40 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2018-10-11 13:20:18 +03:00
* 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-08-07 18:08:12 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(i.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,e,n){"use strict";t.exports=function(t,e){return"string"!=typeof t?t:(/ ^ [ '"].*[' "]$/.test(t)&&(t=t.slice(1,-1)),/[" '() \t\n]/.test(t)||e?' "'.concat(t.replace(/" / g , '\\"' ) . replace ( /\n/g , "\\n" ) , '"' ) : t ) } } , function ( t , e ) { t . exports = " data : application / vnd . ms - fontobject ; base64 , 0 gkAACgJAAABAAIAAAAAAAIABQMAAAAAAAABQJABAAAAAExQAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAA + el5JAAAAAAAAAAAAAAAAAAAAAAAABgAAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAAAAAAAAFgAAVgBlAHIAcwBpAG8AbgAgADEALgAwAAAYAABpAGMAbwBuAGYAbwBuAHQALQB2AHUAZQAAAAAAAQAAAAoAgAADACBPUy8ydOOQiAAAAKwAAABgY21hcOok67wAAAEMAAABSmdseWZ0BZ9ZAAACWAAAAzxoZWFkJUCyrAAABZQAAAA2aGhlYSccE4AAAAXMAAAAJGhtdHgThwAAAAAF8AAAABpsb2NhA5oEoAAABgwAAAAYbWF4cAEYAFcAAAYkAAAAIG5hbWUNIFD5AAAGRAAAAkZwb3N0 + 8 sNdgAACIwAAACcAAQTiAGQAAUAAAxlDawAAAK8DGUNrAAACWAA9QUKAAACAAUDAAAAAAAAAAAAABAAAAAAAAAAAAAAAFBmRWQAQOoB6gsTiAAAAcITiAAAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAAAAAEQAAwABAAAAHAAEACgAAAAGAAQAAQAC6gbqC ///AADqAeoH//8WABX/AAEAAAAAAAAAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAOpg9DAAUACwAACQIRCQQRCQEOpvqCBX77ugRG+oL6ggV++7oERg9C+oL6ggE4BEYERgE4+oL6ggE4BEYERgABAAAAAA1uElAABQAACQERCQERBhsHU/d0CIwJxPit/sgIiwiM/scAAgAAAAAP3w9DAAUACwAACQIRCQQRCQEE4gV++oIERvu6BX4Ff/qBBEb7ugRGBX4Ffv7I+7r7uv7IBX4Ffv7I+7r7ugABAAAAAA6mElAABQAACQERCQERDW74rQiL93UJxAdTATn3dPd1ATgAAQAAAAARFxEXAAsAAAkLERf97frA+sD97QVA+sACEwVABUACE/rABIT97QVA+sACEwVABUACE/rABUD97frAAAH//wAAE5MS7AAzAAABIgcOARcWFwEhJgcGBwYHBhQXFhcWFxY3IQEGBwYXFhceARcWFxY3NjcBNjc2JyYnAS4BCmBlT0pGEBJIBdfx4E0+OiknFBQUFCcpOj5NDiD6KTcaGAMDGxlWNTc7Pjo/NQftOxUVFBU8+BMsdBLsOTSsWWBH+ioBGxguLDk4eDg5LC4YGwL6KTU/Oz46NzZWGRoDAxgZOAfsPFFQT1I8B+wtMgAAAAMAAAAAERcRFwADAAcACwAAAREhEQERIREBESERAnEOpvFaDqbxWg6mERf9jwJx+eb9jwJx+eX9jwJxAAMAAAAAElAMNQAYADEASgAAASIHDgEHBhYXHgEXFjI3PgE3NjQnLgEnJiEiBw4BBwYUFx4BFxYyNz4BNzY0Jy4BJyYhIgcOAQcGFBceARcWMjc+ATc2NCcuAScmA6qAdHCtLzIBMS+tcHT/dHCtLzIyL61wdAWbf3RwrTAxMTCtcHT+dHCtMDExMK1wdAWcgHRwrS8xMS+tcHT/dHCtLzIyL61wdAw1MTCtcHT+dHCtMDExMK1wdP50cK0wMTEwrXB0/nRwrTAxMTCtcHT+dHCtMDExMK1wdP50cK0wMTEwrXB0/nRwrTAxAAAAAgAAAAAP3w/fAAMABwAAAREhESERIREDqgTiAnEE4g/f88sMNfPLDDUAAAABAAAAABEXERcAAgAACQICcQ6m8VoRF/it+K0AAQAAAAEAACR56flfDzz1AAsTiAAAAADZcJWdAAAAANkfuZ7//wAAE5MS7AAAAAgAAgAAAAAAAAABAAATiAAAAAATiP////UTkwABAAAAAAAAAAAAAAAAAAAAAgAAAAATiAAAAAAAAAAAAAD//wAAAAAAAAAAAAAAAAAAACIANgBYAGwAjADmAQQBegGQAZ4AAQAAAAsASwADAAAAAAACAAAACgAKAAAA/wAAAAAAAAAAABAAxgABAAAAAAABAAwAAAABAAAAAAACAAcADAABAAAAAAADAAwAEwABAAAAAAAEAAwAHwABAAAAAAAFAAsAKwABAAAAAAAGAAwANgABAAAAAAAKACsAQgABAAAAAAALABMAbQADAAEECQABABgAgAADAAEECQACAA4AmAADAAEECQADABgApgADAAEECQAEABgAvgADAAEECQAFABYA1gADAAEECQAGABgA7AADAAEECQAKAFYBBAADAAEECQALACYBWmljb25mb250LXZ1ZVJlZ3VsYXJpY29uZm9udC12dWVpY29uZm9udC12dWVWZXJzaW9uIDEuMGljb25mb250LXZ1ZUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUAVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAIAAAAAAAAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAsACwAAAQIBAwEEAQUBBgEHAQgBCQEKAQsRYXJyb3ctbGVmdC1kb3VibGUKYXJyb3ctbGVmdBJhcnJvdy1yaWdodC1kb3VibGULYXJyb3ctcmlnaHQFY2xvc2UMY29uZmlybS1mYWRlBG1lbn
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
*
* / e . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l i c k " , t ) } } } } , f u n c t i o n ( t , e ) { v a r n ; n = f u n c t i o n ( ) { r e t u r n t h i s } ( ) ; t r y { n = n | | n e w F u n c t i o n ( " r e t u r n t h i s " ) ( ) } c a t c h ( t ) { " o b j e c t " = = t y p e o f w i n d o w & & ( n = w i n d o w ) } t . e x p o r t s = n } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; ( f u n c t i o n ( t ) { f o r (
2019-06-04 14:50:12 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.15 . 0
* @ 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-08-07 18:08:12 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , i = 0 , o = 0 ; o < r . length ; o += 1 ) if ( n && navigator . userAgent . indexOf ( r [ o ] ) >= 0 ) { i = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( function ( ) { e = ! 1 , t ( ) } ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( function ( ) { e = ! 1 , t ( ) } , i ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function u ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function l ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , i = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + i + r ) ? t : l ( u ( t ) ) } var f = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? f : 10 === t ? d : f || d } function h ( t ) { if ( ! t ) return document . documentElement ; for ( var e = p ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? h ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function v ( t ) { return null !== t . parentNode ? v ( t . parentNode ) : t } function m ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , i = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( i , 0 ) ; var a , s , c = o . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( i ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( c ) : c ; var u = v ( t ) ; return u . host ? m ( u . host , e ) : m ( t , v ( e ) . host ) } function A ( t ) { var e = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = t . nodeName ; if ( "BODY" === n || "HTML" === n ) { var r = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || r ) [ e ] } return t [ e ] } function g ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , p ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , r = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var _ = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , w = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , x = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , T = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function k ( t ) { return T ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function C ( t ) { var e = { } ; try { if ( p ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = A ( t , "top" ) , r = A ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var i = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , a = o . width || t . clientWidth || i . right - i . left , s = o . height || t . clientHeight || i . bottom - i . top , u = t . offsetWidth - a , l = t . offsetHeight - s ; if ( u || l ) { var f = c ( t ) ; u -= g ( f , "x" ) , l -= g ( f , "y" ) , i . width -= u , i . height -= l } return k ( i ) } function E ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = p ( 10 ) , i = "HTML" === e . nodeName , o = C ( t ) , a = C ( e ) , s = l ( t ) , u = c ( e ) , f = parseFloat ( u . borderTopWidth , 10 ) , d = parseFloat ( u . borderLeftWidth , 10 ) ; n && i && ( a . top = Math . max ( a . top , 0
2018-10-11 13:20:18 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2018-10-11 13:20:18 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +03:00
* 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-08-07 18:08:12 +03:00
* /e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + /g,"").substr(0,t||5)}},function(t,e,n){var r=n(40);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(2).default)("6d914181",r,!0,{})},function(t,e,n){var r=n(42);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(2).default)("c5024e26",r,!0,{})},function(t,e,n){var r=n(44);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),(0,n(2).default)("7947401e",r,!0,{})},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i});var r=void 0;var i={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{compareAndNotify:function(){this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.$emit("notify"))},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!r&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),delete this._resizeObject.onload)}},mounted:function(){var t=this;(function t(){t.init||(t.init=!0,r=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/ ")>0){var n=t.indexOf(" rv : ");return parseInt(t.substring(n+3,t.indexOf(" . ",n)),10)}var r=t.indexOf(" Edge / ");return r>0?parseInt(t.substring(r+5,t.indexOf(" . ",r)),10):-1}())})(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement(" object ");this._resizeObject=e,e.setAttribute(" aria - hidden "," true "),e.setAttribute(" tabindex ",-1),e.onload=this.addResizeHandlers,e.type=" text / html ",r&&this.$el.appendChild(e),e.data=" about : blank ",r||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}},o={version:" 0.4 . 5 ",install:function(t){t.component(" resize - observer ",i),t.component(" ResizeObserver ",i)}},a=null;" undefined "!=typeof window?a=window.Vue:void 0!==t&&(a=t.Vue),a&&a.use(o)}).call(this,n(15))},function(t,e,n){var r=n(79);" string "==typeof r&&(r=[[t.i,r," "]]),r.locals&&(t.exports=r.locals),(0,n(2).default)(" c80b1486 ",r,!0,{})},function(t,e,n){" use strict " ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
* /e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push(function(){this.$el.setAttribute("data-v-".concat("35ff2a1"),"")})}},function(t,e,n){"use strict";n.r(e);var r={name:"PopoverMenuItem",props:{item:{type:Object,required:!0,default:function(){return{key:"nextcloud-link",href:"https:/ / nextcloud . com ",icon:" icon - links ",text:" Nextcloud "}},validator:function(t){return!t.input||-1!==[" text "," checkbox "].indexOf(t.input)}}},computed:{key:function(){return this.item.key?this.item.key:Math.round(16*Math.random()*1e6).toString(16)},iconIsUrl:function(){try{return new URL(this.item.icon),!0}catch(t){return!1}}},methods:{action:function(t){this.item.action&&this.item.action(t)}}},i=(n(39),n(41),n(0)),o={name:" PopoverMenu ",components:{PopoverMenuItem:Object(i.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(" li ",[t.item.href?n(" a ",{staticClass:" focusable ",attrs:{href:t.item.href?t.item.href:" # ",target:t.item.target?t.item.target:" ",download:t.item.download,rel:" noreferrer noopener "},on:{click:t.action}},[t.iconIsUrl?n(" img ",{attrs:{src:t.item.icon}}):n(" span ",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n(" p ",[n(" strong ",{staticClass:" menuitem - text "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.item.text)+" \ n \ t \ t \ t ")]),n(" br "),t._v(" "),n(" span ",{staticClass:" menuitem - text - detail "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.item.longtext)+" \ n \ t \ t \ t ")])]):t.item.text?n(" span ",[t._v(" \ n \ t \ t \ t "+t._s(t.item.text)+" \ n \ t \ t ")]):t.item.longtext?n(" p ",[t._v(" \ n \ t \ t \ t "+t._s(t.item.longtext)+" \ n \ t \ t ")]):t._e()]):t.item.input?n(" span ",{staticClass:" menuitem ",class:{active:t.item.active}},[" checkbox "!==t.item.input?n(" span ",{class:t.item.icon}):t._e(),t._v(" ")," text "===t.item.input?n(" form ",{class:t.item.input,on:{submit:function(e){return e.preventDefault(),t.item.action(e)}}},[n(" input ",{attrs:{type:t.item.input,placeholder:t.item.text,required:" "},domProps:{value:t.item.value}}),t._v(" "),n(" input ",{staticClass:" icon - confirm ",attrs:{type:" submit ",value:" "}})]):[" checkbox "===t.item.input?n(" input ",{directives:[{name:" model ",rawName:" v - model ",value:t.item.model,expression:" item . model "}],class:t.item.input,attrs:{id:t.key,type:" checkbox "},domProps:{checked:Array.isArray(t.item.model)?t._i(t.item.model,null)>-1:t.item.model},on:{change:[function(e){var n=t.item.model,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&t.$set(t.item," model ",n.concat([null])):o>-1&&t.$set(t.item," model ",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(t.item," model ",i)},t.item.action]}}):" radio "===t.item.input?n(" input ",{directives:[{name:" model ",rawName:" v - model ",value:t.item.model,expression:" item . model "}],class:t.item.input,attrs:{id:t.key,type:" radio "},domProps:{checked:t._q(t.item.model,null)},on:{change:[function(e){return t.$set(t.item," model ",null)},t.item.action]}}):n(" input ",{directives:[{name:" model ",rawName:" v - model ",value:t.item.model,expression:" item . model "}],class:t.item.input,attrs:{id:t.key,type:t.item.input},domProps:{value:t.item.model},on:{change:t.item.action,input:function(e){e.target.composing||t.$set(t.item," model ",e.target.value)}}}),t._v(" "),n(" label ",{attrs:{for:t.key},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.item.text)+" \ n \ t \ t \ t ")])]],2):t.item.action?n(" button ",{staticClass:" menuitem focusable ",class:{active:t.item.active},attrs:{disabled:t.item.disabled},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.item.action(e)}}},[n(" span ",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?n(" p ",[n(" strong ",{staticClass:" menuitem - text "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.item.text)+" \ n \ t \ t \ t ")]),n(" br "),t._v(" "),n(" span ",{staticClass:" menuitem - text - detail "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.item.longtext)+" \ n \ t \ t \ t ")])]):t.item.text?n(" span ",[t._v(" \ n \ t \ t \ t "+t._s(t.item.text)+" \ n \ t \ t ")]):t.item.longtext?n(" p ",[t._v(" \ n \ t \ t \ t "+t._s(t.item.longtext)+" \ n \ t \ t ")]):t._e()]):n(" span ",{staticClass:" menuitem ",class:{active:t.item.active}},[n(" span ",{class:t.item.icon}),t._v(" " ) , t . item . t
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-05-17 10:49:47 +03:00
* /
2019-08-07 18:08:12 +03:00
e . default = a } , function ( t , e ) { } , function ( t , e , n ) { var r = n ( 90 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "5717c144" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 94 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0f6af71a" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 96 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2d96898c" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 119 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "fe09620e" , r , ! 0 , { } ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 13 ) , i = n . n ( r ) , o = n ( 6 ) , a = n ( 17 ) , s = n ( 3 ) , c = n . n ( s ) , u = function ( t , e ) { t . $children . forEach ( function ( n , r ) { - 1 === e . indexOf ( n . $options . name ) && ( c . a . util . warn ( "" . concat ( n . $options . _componentTag , " is not allowed inside the " ) . concat ( t . $options . _componentTag , " component" ) , t ) , t . $children . splice ( r , 1 ) , n . $el . remove ( ) ) } ) } , l = [ "ActionButton" , "ActionCheckbox" , "ActionInput" , "ActionLink" , "ActionRouter" , "ActionText" , "ActionTextEditable" ] , f = { name : "Actions" , directives : { ClickOutside : i . a , tooltip : o . default } , props : { open : { type : Boolean , default : ! 1 } , menuAlign : { type : String , default : "center" , validator : function ( t ) { return [ "left" , "center" , "right" ] . indexOf ( t ) > - 1 } } } , data : function ( ) { return { actions : [ ] , opened : this . open , focusIndex : 0 , randomId : "menu-" + Object ( a . a ) ( ) , offsetX : 0 } } , computed : { isValidSingleAction : function ( ) { return 1 === this . actions . length } , firstAction : function ( ) { return this . actions [ 0 ] } , firstActionElement : function ( ) { switch ( this . firstAction . $options . name ) { case "ActionLink" : return { is : "a" , href : this . firstAction . href , target : this . firstAction . target } ; case "ActionRouter" : return { is : "router-link" , to : this . firstAction . to , exact : this . firstAction . exact } ; default : return { is : "button" } } } , firstActionEvent : function ( ) { return this . firstAction && this . firstAction . $listeners && this . firstAction . $listeners . click ? "click" : null } } , watch : { open : function ( t ) { var e = this ; this . opened = t , this . opened && this . $nextTick ( function ( ) { e . onOpen ( ) } ) } } , beforeMount : function ( ) { this . initActions ( ) , u ( this , l ) } , mounted : function ( ) { this . popupItem = this . $el } , beforeUpdate : function ( ) { u ( this , l ) } , methods : { toggleMenu : function ( ) { var t = this ; this . opened = ! this . opened , this . opened && ( this . $nextTick ( function ( ) { t . onOpen ( ) , t . focusFirstAction ( ) } ) , this . $emit ( "open" ) ) , this . $emit ( "update:open" , this . opened ) } , closeMenu : function ( ) { this . offsetX = 0 , this . opened = ! 1 , this . $emit ( "update:open" , this . opened ) , this . $emit ( "close" ) } , onOpen : function ( ) { this . offsetX = 0 ; var t = function ( t ) { var e = t . getBoundingClientRect ( ) , n = document . documentElement . clientHeight , r = document . documentElement . clientWidth , i = Object . assign ( { } ) ; return i . top = e . top < 0 , i . left = e . left < 0 , i . bottom = e . bottom > n , i . right = e . right > r , i . any = i . top || i . left || i . bottom || i . right , i . all = i . top && i . left && i . bottom && i . right , i . offsetY = i . top ? e . top : i . bottom ? e . bottom - n : 0 , i . offsetX = i . left ? e . left : i . right ? e . right - r : 0 , i } ( this . $refs . menu ) ; t . any && ( this . offsetX = t . offsetX > 0 ? Math . round ( t . offsetX ) + 5 : Math . round ( t . offsetX ) - 5 ) } , onMouseFocusAction : function ( t ) { if ( document . activeElement !== t . target ) { var e = t . target . closest ( "li" ) ; if ( e ) { var n = e . querySelector ( ".focusable:not(:disabled)" ) ; if ( n ) { var r = this . $refs . menu . querySelectorAll ( ".focusable:not(:disabled)" ) , i = Array . prototype . indexOf . call ( r , n ) ; i > - 1 && ( this . focusIndex = i , this . focusAction ( ) ) } } } } , removeCurrentActive : function ( ) { var t = this . $refs . menu . querySelector ( "li.active" ) ; t && t . classList . remove ( "active" ) } , focusAction : function ( ) { var t = this . $refs . menu . querySelectorAll ( ".focusable:not(:disabled)" ) [ this . focusIndex ] ; if ( t ) { var e = t . closest ( "li" ) ; t . focus ( ) , e && ( this . removeCurrentActive ( ) , e . classList . add ( "active" ) ) } } , focusPreviousAction : function ( ) { this . focusIndex = Math . max ( this . focusIndex - 1 , 0 ) , this . focusAction ( ) } , focusNextAction : function ( ) { this . focusIndex = Math . min ( this . focusIndex + 1 , this . $el . querySelectorAll ( ".focusable:not(:disabled)" ) . length - 1 ) , this . focusAction ( ) } , focusFirstAction : function ( ) { this . focusIndex = 0 , this . focusAction ( ) } , focusLastAction : function ( ) { this . focusIndex = this . $el . querySelectorAll ( ".focusable:not(:disabled)" ) . length - 1 , this . focusAction ( ) } , execFirstAction : function ( t ) { this . firstAction . $listeners && this . firs
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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-08-07 18:08:12 +03:00
* /
e . default = m } , function ( t , e , n ) { window , t . exports = function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } return n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { configurable : ! 1 , enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "" , n ( n . s = 3 ) } ( [ function ( t , e , n ) { var r ; ! function ( i ) { "use strict" ; var o = { } , a = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g , s = /\d\d?/ , c = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i , u = /\[([^]*?)\]/gm , l = function ( ) { } ; function f ( t , e ) { for ( var n = [ ] , r = 0 , i = t . length ; r < i ; r ++ ) n . push ( t [ r ] . substr ( 0 , e ) ) ; return n } function d ( t ) { return function ( e , n , r ) { var i = r [ t ] . indexOf ( n . charAt ( 0 ) . toUpperCase ( ) + n . substr ( 1 ) . toLowerCase ( ) ) ; ~ i && ( e . month = i ) } } function p ( t , e ) { for ( t = String ( t ) , e = e || 2 ; t . length < e ; ) t = "0" + t ; return t } var h = [ "Sunday" , "Monday" , "Tuesday" , "Wednesday" , "Thursday" , "Friday" , "Saturday" ] , v = [ "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" ] , m = f ( v , 3 ) , A = f ( h , 3 ) ; o . i18n = { dayNamesShort : A , dayNames : h , monthNamesShort : m , monthNames : v , amPm : [ "am" , "pm" ] , DoFn : function ( t ) { return t + [ "th" , "st" , "nd" , "rd" ] [ t % 10 > 3 ? 0 : ( t - t % 10 != 10 ) * t % 10 ] } } ; var g = { D : function ( t ) { return t . getDate ( ) } , DD : function ( t ) { return p ( t . getDate ( ) ) } , Do : function ( t , e ) { return e . DoFn ( t . getDate ( ) ) } , d : function ( t ) { return t . getDay ( ) } , dd : function ( t ) { return p ( t . getDay ( ) ) } , ddd : function ( t , e ) { return e . dayNamesShort [ t . getDay ( ) ] } , dddd : function ( t , e ) { return e . dayNames [ t . getDay ( ) ] } , M : function ( t ) { return t . getMonth ( ) + 1 } , MM : function ( t ) { return p ( t . getMonth ( ) + 1 ) } , MMM : function ( t , e ) { return e . monthNamesShort [ t . getMonth ( ) ] } , MMMM : function ( t , e ) { return e . monthNames [ t . getMonth ( ) ] } , YY : function ( t ) { return String ( t . getFullYear ( ) ) . substr ( 2 ) } , YYYY : function ( t ) { return p ( t . getFullYear ( ) , 4 ) } , h : function ( t ) { return t . getHours ( ) % 12 || 12 } , hh : function ( t ) { return p ( t . getHours ( ) % 12 || 12 ) } , H : function ( t ) { return t . getHours ( ) } , HH : function ( t ) { return p ( t . getHours ( ) ) } , m : function ( t ) { return t . getMinutes ( ) } , mm : function ( t ) { return p ( t . getMinutes ( ) ) } , s : function ( t ) { return t . getSeconds ( ) } , ss : function ( t ) { return p ( t . getSeconds ( ) ) } , S : function ( t ) { return Math . round ( t . getMilliseconds ( ) / 100 ) } , SS : function ( t ) { return p ( Math . round ( t . getMilliseconds ( ) / 10 ) , 2 ) } , SSS : function ( t ) { return p ( t . getMilliseconds ( ) , 3 ) } , a : function ( t , e ) { return t . getHours ( ) < 12 ? e . amPm [ 0 ] : e . amPm [ 1 ] } , A : function ( t , e ) { return t . getHours ( ) < 12 ? e . amPm [ 0 ] . toUpperCase ( ) : e . amPm [ 1 ] . toUpperCase ( ) } , ZZ : function ( t ) { var e = t . getTimezoneOffset ( ) ; return ( e > 0 ? "-" : "+" ) + p ( 100 * Math . floor ( Math . abs ( e ) / 60 ) + Math . abs ( e ) % 60 , 4 ) } } , y = { D : [ s , function ( t , e ) { t . day = e } ] , Do : [ new RegExp ( s . source + c . source ) , function ( t , e ) { t . day = parseInt ( e , 10 ) } ] , M : [ s , function ( t , e ) { t . month = e - 1 } ] , YY : [ s , function ( t , e ) { var n = + ( "" + ( new Date ) . getFullYear ( ) ) . substr ( 0 , 2 ) ; t . year = "" + ( e > 68 ? n - 1 : n ) + e } ] , h : [ s , function ( t , e ) { t . hour = e } ] , m : [ s , function ( t , e ) { t . minute = e } ] , s : [ s , function ( t , e ) { t . second = e } ] , YYYY : [ /\d{4}/ , function ( t , e ) { t . year = e } ] , S : [ /\d/ , function ( t , e ) { t . millisecond = 100 * e } ] , SS : [ /\d{2}/ , function ( t , e ) { t . millisecond = 10 * e } ] , SSS : [ /\d{3}/ , function ( t , e ) { t . millisecond = e } ] , d : [ s , l ] , ddd : [ c , l ] , MMM : [ c , d ( "monthNamesShort" ) ] , MMMM : [ c , d ( "monthNames" ) ] , a : [ c , function ( t , e , n ) { var r = e . toLowerCase ( ) ; r === n . amPm [ 0 ] ? t . isPm = ! 1 : r === n . amPm [ 1 ] && ( t . isPm = ! 0 ) } ] , ZZ : [ /([\+\-]\d\d:?\d\d|Z)/ , function ( t , e ) { "Z" === e && ( e = "+00:00" ) ; var n , r = ( e + "" ) . match ( /([\+\-]|\d\d)/gi ) ; r && ( n = 60 * r [ 1 ] + parseInt ( r [ 2 ] , 10 ) , t . timezoneOffset = "+" === r [ 0 ] ? n : - n ) } ] } ; y . dd = y . d , y . dddd = y . ddd , y . DD = y . D , y . mm = y . m , y . hh = y . H = y . HH = y . h , y . MM = y . M , y . ss = y . s , y . A = y . a , o . masks = { default : "ddd MMM DD YYYY HH:mm:ss" , shortDate : "M/D/YY" , mediumDate : "MMM D, YYYY" , longDate : "MMMM D, YYYY" , fullDate : "dddd, MMMM D, YYYY" , shortTime : "HH:mm" , mediumTime : "HH:mm:ss" , longTime : "HH:mm:ss.SSS" } , o . format = function ( t , e , n ) { var r = n || o . i18n ; if ( "number" == typeof t && ( t = new Date ( t ) ) , "[object Date]"
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
* Licensed under the MIT license * /
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
* Licensed under the MIT license * /!function(i,o,a,s){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=o.createElement("div"),f="function",d=Math.round,p=Math.abs,h=Date.now;function v(t,e,n){return setTimeout(w(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(A(t,n[e],n),!0)}function A(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function g(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , o = i . console && ( i . console . warn || i . console . log ) ; return o && o . call ( i . console , r , n ) , t . apply ( this , arguments ) } } c = "function" != typeof Object . assign ? function ( t ) { if ( t === s || null === t ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var e = Object ( t ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( r !== s && null !== r ) for ( var i in r ) r . hasOwnProperty ( i ) && ( e [ i ] = r [ i ] ) } return e } : Object . assign ; var y = g ( function ( t , e , n ) { for ( var r = Object . keys ( e ) , i = 0 ; i < r . length ; ) ( ! n || n && t [ r [ i ] ] === s ) && ( t [ r [ i ] ] = e [ r [ i ] ] ) , i ++ ; return t } , "extend" , "Use `assign`." ) , b = g ( function ( t , e ) { return y ( t , e , ! 0 ) } , "merge" , "Use `assign`." ) ; function _ ( t , e , n ) { var r , i = e . prototype ; ( r = t . prototype = Object . create ( i ) ) . constructor = t , r . _super = i , n && c ( r , n ) } function w ( t , e ) { return function ( ) { return t . apply ( e , arguments ) } } function x ( t , e ) { return typeof t == f ? t . apply ( e && e [ 0 ] || s , e ) : t } function T ( t , e ) { return t === s ? e : t } function k ( t , e , n ) { A ( O ( e ) , function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) } function C ( t , e , n ) { A ( O ( e ) , function ( e ) { t . removeEventListener ( e , n , ! 1 ) } ) } function E ( t , e ) { for ( ; t ; ) { if ( t == e ) return ! 0 ; t = t . parentNode } return ! 1 } function S ( t , e ) { return t . indexOf ( e ) > - 1 } function O ( t ) { return t . trim ( ) . split ( /\s+/g ) } function M ( t , e , n ) { if ( t . indexOf && ! n ) return t . indexOf ( e ) ; for ( var r = 0 ; r < t . length ; ) { if ( n && t [ r ] [ n ] == e || ! n && t [ r ] === e ) return r ; r ++ } return - 1 } function I ( t ) { return Array . prototype . slice . call ( t , 0 ) } function N ( t , e , n ) { for ( var r = [ ] , i = [ ] , o = 0 ; o < t . length ; ) { var a = e ? t [ o ] [ e ] : t [ o ] ; M ( i , a ) < 0 && r . push ( t [ o ] ) , i [ o ] = a , o ++ } return n && ( r = e ? r . sort ( function ( t , n ) { return t [ e ] > n [ e ] } ) : r . sort ( ) ) , r } function L ( t , e ) { for ( var n , r , i = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , o = 0 ; o < u . length ; ) { if ( ( r = ( n = u [ o ] ) ? n + i : e ) in t ) return r ; o ++ } return s } var D = 1 ; function P ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || i } var B = "ontouchstart" in i , j = L ( i , "PointerEvent" ) !== s , R = B && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , U = 25 , $ = 1 , G = 4 , F = 8 , Y = 1 , H = 2 , z = 4 , V = 8 , Q = 16 , W = H | z , q = V | Q , J = W | q , Z = [ "x" , "y" ] , X = [ "clientX" , "clientY" ] ; function K ( t , e ) { var n = this ; this . manager = t , this . callback = e , this . element = t . element , this . target = t . options . inputTarget , this . domHandler = function ( e ) { x ( t . options . enable , [ t ] ) && n . handler ( e ) } , this . init ( ) } function tt ( t , e , n ) { var r = n . pointers . length , i = n . changedPointers . length , o = e & $ && r - i == 0 , a = e & ( G | F ) && r - i == 0 ; n . isFirst = ! ! o , n . isFinal = ! ! a , o && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , r = e . pointers , i = r . length ; n . firstInput || ( n . firstInput = et ( e ) ) , i > 1 && ! n . firstMultiple ? n . firstMultiple = et ( e ) : 1 === i && ( n . firstMultiple = ! 1 ) ; var o = n . firstInput , a = n . firstMultiple , c = a ? a . center : o . center , u = e . center = nt ( r ) ; e . timeStamp = h ( ) , e . deltaTime = e . timeStamp - o . timeStamp , e . angle = at ( c , u ) , e . distance = ot ( c , u ) , function ( t , e ) { var n = e . center , r = t . offsetDelta || { } , i = t . prevDelta || { } , o = t . prevInput || { } ; e . eventType !== $ && o . eventType !== G || ( i = t . prevDelta = { x : o . deltaX || 0 , y : o . deltaY || 0 } , r = t . offsetDelta = { x : n . x , y : n . y } ) , e . deltaX = i . x + ( n . x - r . x ) , e . deltaY = i . y + ( n . y - r . y ) } ( n , e ) , e . offsetDirection = it ( e . deltaX , e . deltaY ) ; var l , f , d = rt ( e . deltaTime , e . deltaX , e . deltaY ) ; e . overallVelocityX = d . x , e . overallVelocityY = d . y , e . overallVelocity = p ( d . x ) > p ( d . y ) ? d . x : d . y , e . scale = a ? ( l = a . pointers , ot ( ( f = r ) [ 0 ] , f [ 1 ] , X ) / ot ( l [ 0 ] , l [ 1 ] , X ) ) : 1 , e . rotation = a ? function ( t , e ) { return at ( e [ 1 ] , e [ 0 ] , X ) + at ( t [ 1 ] , t [ 0 ] , X ) } ( a . pointers , r ) : 0 , e . maxPointers = n . prevInput ? e . pointers . length > n . prevInput . maxPointers ? e . pointers . length : n . prevInput . maxPointers : e . pointers . length , function ( t , e ) { var n , r , i , o , a = t . lastInterval || e , c = e . timeSt
2019-05-17 10:49:47 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-05-17 10:49:47 +03:00
*
2019-08-07 18:08:12 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-05-17 10:49:47 +03: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-06-04 14:50:12 +03:00
* /
2019-08-07 18:08:12 +03:00
e . default = _ } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "ActionButton" , mixins : [ n ( 14 ) . a ] , props : { disabled : { type : Boolean , default : ! 1 } } } , i = ( n ( 89 ) , n ( 0 ) ) , o = n ( 34 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "button" , { staticClass : "action-button focusable" , attrs : { disabled : t . disabled } , on : { click : t . onClick } } , [ n ( "span" , { staticClass : "action-button__icon" , class : [ t . isIconUrl ? "action-button__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , t . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-button__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-button__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-button__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-button__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } , [ ] , ! 1 , null , "d6d8142c" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ; n . d ( e , "ActionButton" , function ( ) { return c } ) ,
2019-06-04 14:50:12 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2019-08-07 18:08:12 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03: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-08-07 18:08:12 +03:00
e . default = c } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 23 ) , i = n ( 31 ) , o = n . n ( i ) ; o . a . components . CalendarPanel . components . PanelTime . methods . stringifyText = function ( t ) { return t } , o . a . methods . displayPopup = function ( ) { var t = this . $el . querySelector ( ".mx-datepicker-popup" ) ; t && ! t . classList . contains ( "popovermenu" ) && ( t . className += " popovermenu menu-center open" ) } ; var a = { name : "DatetimePicker" , components : { DatePicker : o . a } , inheritAttrs : ! 1 , props : { value : { default : function ( ) { return new Date } } } , methods : { handleSelectYear : function ( t ) { if ( this . value ) try { var e = new Date ( new Date ( this . value ) . setFullYear ( t ) ) ; this . $refs . datepicker . selectDate ( e ) } catch ( e ) { console . error ( "Invalid value" , this . value , t ) } } , handleSelectMonth : function ( t ) { if ( this . value ) try { var e = new Date ( new Date ( this . value ) . setMonth ( t ) ) ; this . $refs . datepicker . selectDate ( e ) } catch ( e ) { console . error ( "Invalid value" , this . value , t ) } } } } , s = n ( 0 ) , c = Object ( s . a ) ( a , function ( ) { var t = this , e = t . $createElement ; return ( t . _self . _c || e ) ( "DatePicker" , t . _g ( t . _b ( { ref : "datepicker" , attrs : { clearable : ! 1 , "minute-step" : 10 , value : t . value } , on : { "select-year" : t . handleSelectYear , "select-month" : t . handleSelectMonth , "update:value" : function ( e ) { return t . $emit ( "update:value" , t . value ) } } } , "DatePicker" , t . $attrs , ! 1 ) , t . $listeners ) ) } , [ ] , ! 1 , null , null , null ) . exports ; n ( 91 ) , n . d ( e , "DatetimePicker" , function ( ) { return c } ) ,
2019-06-04 14:50:12 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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-08-07 18:08:12 +03:00
Object ( r . a ) ( c ) , e . default = c } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "AppNavigationCounter" , props : { highlighted : { type : Boolean , default : ! 1 } } } , i = ( n ( 95 ) , n ( 0 ) ) , o = n ( 35 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , function ( ) { var t = this . $createElement , e = this . _self . _c || t ; return e ( "li" , { staticClass : "app-navigation-entry-utils-counter" , class : { highlighted : this . highlighted } } , [ e ( "span" , [ this . _t ( "default" ) ] , 2 ) ] ) } , [ ] , ! 1 , null , "2003a522" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ; n . d ( e , "AppNavigationCounter" , function ( ) { return c } ) ,
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < ma12co @ pm . me >
*
* @ author Marco Ambrosini < ma12co @ pm . me >
*
* @ 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/>.
*
* /
e . default = c } , function ( t , e , n ) { "use strict" ; t . exports = function ( t , e ) { return function ( ) { for ( var n = new Array ( arguments . length ) , r = 0 ; r < n . length ; r ++ ) n [ r ] = arguments [ r ] ; return t . apply ( e , n ) } } } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) ; function i ( t ) { return encodeURIComponent ( t ) . replace ( /%40/gi , "@" ) . replace ( /%3A/gi , ":" ) . replace ( /%24/g , "$" ) . replace ( /%2C/gi , "," ) . replace ( /%20/g , "+" ) . replace ( /%5B/gi , "[" ) . replace ( /%5D/gi , "]" ) } t . exports = function ( t , e , n ) { if ( ! e ) return t ; var o ; if ( n ) o = n ( e ) ; else if ( r . isURLSearchParams ( e ) ) o = e . toString ( ) ; else { var a = [ ] ; r . forEach ( e , function ( t , e ) { null != t && ( r . isArray ( t ) ? e += "[]" : t = [ t ] , r . forEach ( t , function ( t ) { r . isDate ( t ) ? t = t . toISOString ( ) : r . isObject ( t ) && ( t = JSON . stringify ( t ) ) , a . push ( i ( e ) + "=" + i ( t ) ) } ) ) } ) , o = a . join ( "&" ) } if ( o ) { var s = t . indexOf ( "#" ) ; - 1 !== s && ( t = t . slice ( 0 , s ) ) , t += ( - 1 === t . indexOf ( "?" ) ? "?" : "&" ) + o } return t } } , function ( t , e , n ) { "use strict" ; t . exports = function ( t ) { return ! ( ! t || ! t . _ _CANCEL _ _ ) } } , function ( t , e , n ) { "use strict" ; ( function ( e ) { var r = n ( 4 ) , i = n ( 106 ) , o = { "Content-Type" : "application/x-www-form-urlencoded" } ; function a ( t , e ) { ! r . isUndefined ( t ) && r . isUndefined ( t [ "Content-Type" ] ) && ( t [ "Content-Type" ] = e ) } var s , c = { adapter : ( void 0 !== e && "[object process]" === Object . prototype . toString . call ( e ) ? s = n ( 70 ) : "undefined" != typeof XMLHttpRequest && ( s = n ( 70 ) ) , s ) , transformRequest : [ function ( t , e ) { return i ( e , "Accept" ) , i ( e , "Content-Type" ) , r . isFormData ( t ) || r . isArrayBuffer ( t ) || r . isBuffer ( t ) || r . isStream ( t ) || r . isFile ( t ) || r . isBlob ( t ) ? t : r . isArrayBufferView ( t ) ? t . buffer : r . isURLSearchParams ( t ) ? ( a ( e , "application/x-www-form-urlencoded;charset=utf-8" ) , t . toString ( ) ) : r . isObject ( t ) ? ( a ( e , "application/json;charset=utf-8" ) , JSON . stringify ( t ) ) : t } ] , transformResponse : [ function ( t ) { if ( "string" == typeof t ) try { t = JSON . parse ( t ) } catch ( t ) { } return t } ] , timeout : 0 , xsrfCookieName : "XSRF-TOKEN" , xsrfHeaderName : "X-XSRF-TOKEN" , maxContentLength : - 1 , validateStatus : function ( t ) { return t >= 200 && t < 300 } , headers : { common : { Accept : "application/json, text/plain, */*" } } } ; r . forEach ( [ "delete" , "get" , "head" ] , function ( t ) { c . headers [ t ] = { } } ) , r . forEach ( [ "post" , "put" , "patch" ] , function ( t ) { c . headers [ t ] = r . merge ( o ) } ) , t . exports = c } ) . call ( this , n ( 105 ) ) } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) , i = n ( 107 ) , o = n ( 67 ) , a = n ( 109 ) , s = n ( 110 ) , c = n ( 71 ) ; t . exports = function ( t ) { return new Promise ( function ( e , u ) { var l = t . data , f = t . headers ; r . isFormData ( l ) && delete f [ "Content-Type" ] ; var d = new XMLHttpRequest ; if ( t . auth ) { var p = t . auth . username || "" , h = t . auth . password || "" ; f . Authorization = "Basic " + btoa ( p + ":" + h ) } if ( d . open ( t . method . toUpperCase ( ) , o ( t . url , t . params , t . paramsSerializer ) , ! 0 ) , d . timeout = t . timeout , d . onreadystatechange = function ( ) { if ( d && 4 === d . readyState && ( 0 !== d . status || d . responseURL && 0 === d . responseURL . indexOf ( "file:" ) ) ) { var n = "getAllResponseHeaders" in d ? a ( d . getAllResponseHeaders ( ) ) : null , r = { data : t . responseType && "text" !== t . responseType ? d . response : d . responseText , status : d . status , statusText : d . statusText , headers : n , config : t , request : d } ; i ( e , u , r ) , d = null } } , d . onabort = function ( ) { d && ( u ( c ( "Request aborted" , t , "ECONNABORTED" , d ) ) , d = null ) } , d . onerror = function ( ) { u ( c ( "Network Error" , t , null , d ) ) , d = null } , d . ontimeout = function ( ) { u ( c ( "timeout of " + t . timeout + "ms exceeded" , t , "ECONNABORTED" , d ) ) , d = null } , r . isStandardBrowserEnv ( ) ) { var v = n ( 111 ) , m = ( t . withCredentials || s ( t . url ) ) && t . xsrfCookieName ? v . read ( t . xsrfCookieName ) : void 0 ; m && ( f [ t . xsrfHeaderName ] = m ) } if ( "setRequestHeader" in d && r . forEach ( f , function ( t , e ) { void 0 === l && "content-type" === e . toLowerCase ( ) ? delete f [ e ] : d . setRequestHeader ( e , t ) } ) , t . withCredentials && ( d . withCredentials = ! 0 ) , t . responseType ) try { d . responseType = t . responseType } catch ( e ) { if ( "json" !== t . responseType ) throw e } "function" == typeof t . onDownloadProgress && d . addEventListener ( "progress" , t . onDownloadProgress ) , "function" == typeof t . onUploadProgress && d . upload && d . upload . addEventListener ( "progress" , t . onUploadProgress ) , t . cancelToken && t . cancelToken . promise . then ( function ( t ) { d && ( d . abort ( ) , u ( t ) , d = null ) } ) , void 0 === l && ( l = null ) , d . send ( l ) } ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 108 ) ; t . exports = function ( t , e , n , i , o ) { var a = new Error ( t ) ; return r ( a , e , n , i , o ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) ; t . exports = function ( t , e ) { e = e || { } ; var n = { } ; return r . forEach ( [ "url" , "method" , "params" , "data" ] , function ( t ) { void 0 !== e [ t ] &&
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-08-07 18:08:12 +03:00
e . default = i } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e , n ) { "use strict" ;
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,i=r.exec(n);if(!i)return n;var o=" ",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=e}return s!==a?o+n.substring(s,a):o}},function(t,e){},function(t,e){},function(t,e,n){" use strict ";var r=n(26);n.n(r).a},function(t,e,n){(t.exports=n(1)(!1)).push([t.i,'@charset " UTF - 8 ";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli[data-v-d6d8142c]:hover, li.active[data-v-d6d8142c] {\n box-shadow: inset 4px 0 var(--color-primary);\n}\n.action-button[data-v-d6d8142c] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n padding-right: 14px;\n cursor: pointer;\n white-space: nowrap;\n opacity: 0.7;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n line-height: 44px;\n}\n.action-button[data-v-d6d8142c]:hover, .action-button[data-v-d6d8142c]:focus {\n opacity: 1;\n}\n.action-button > span[data-v-d6d8142c] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-button__icon[data-v-d6d8142c] {\n width: 44px;\n height: 44px;\n opacity: 1;\n background-position: 14px center;\n background-size: 16px;\n}\n.action-button p[data-v-d6d8142c] {\n width: 150px;\n padding: 7px 0;\n cursor: pointer;\n text-align: left;\n line-height: 1.6em;\n}\n.action-button__longtext[data-v-d6d8142c] {\n cursor: pointer;\n white-space: pre-wrap;\n}\n.action-button__title[data-v-d6d8142c] {\n font-weight: bold;\n}\n'," "])},function(t,e,n){var r=n(92);" string "==typeof r&&(r=[[t.i,r," "]]),r.locals&&(t.exports=r.locals),(0,n(2).default)(" 56 ea6c9e ",r,!0,{})},function(t,e,n){e=t.exports=n(1)(!1);var r=n(8),i=r(n(9)),o=r(n(10)),a=r(n(11)),s=r(n(12));e.push([t.i,'@charset " UTF - 8 " ; \ n / * * \ n * @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com > \ n * \ n * @ author John Molakvoæ < skjnldsv @ protonmail . com > \ n * \ n * @ license GNU AGPL version 3 or any later version \ n * \ n * This program is free software : you can redistribute it and / or modify \ n * it under the terms of the GNU Affero General Public License as \ n * published by the Fre
2019-06-04 14:50:12 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-08-07 18:08:12 +03:00
t . exports = function ( t ) { return null != t && null != t . constructor && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) , i = n ( 67 ) , o = n ( 102 ) , a = n ( 103 ) , s = n ( 72 ) ; function c ( t ) { this . defaults = t , this . interceptors = { request : new o , response : new o } } c . prototype . request = function ( t ) { "string" == typeof t ? ( t = arguments [ 1 ] || { } ) . url = arguments [ 0 ] : t = t || { } , ( t = s ( this . defaults , t ) ) . method = t . method ? t . method . toLowerCase ( ) : "get" ; var e = [ a , void 0 ] , n = Promise . resolve ( t ) ; for ( this . interceptors . request . forEach ( function ( t ) { e . unshift ( t . fulfilled , t . rejected ) } ) , this . interceptors . response . forEach ( function ( t ) { e . push ( t . fulfilled , t . rejected ) } ) ; e . length ; ) n = n . then ( e . shift ( ) , e . shift ( ) ) ; return n } , c . prototype . getUri = function ( t ) { return t = s ( this . defaults , t ) , i ( t . url , t . params , t . paramsSerializer ) . replace ( /^\?/ , "" ) } , r . forEach ( [ "delete" , "get" , "head" , "options" ] , function ( t ) { c . prototype [ t ] = function ( e , n ) { return this . request ( r . merge ( n || { } , { method : t , url : e } ) ) } } ) , r . forEach ( [ "post" , "put" , "patch" ] , function ( t ) { c . prototype [ t ] = function ( e , n , i ) { return this . request ( r . merge ( i || { } , { method : t , url : e , data : n } ) ) } } ) , t . exports = c } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) ; function i ( ) { this . handlers = [ ] } i . prototype . use = function ( t , e ) { return this . handlers . push ( { fulfilled : t , rejected : e } ) , this . handlers . length - 1 } , i . prototype . eject = function ( t ) { this . handlers [ t ] && ( this . handlers [ t ] = null ) } , i . prototype . forEach = function ( t ) { r . forEach ( this . handlers , function ( e ) { null !== e && t ( e ) } ) } , t . exports = i } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) , i = n ( 104 ) , o = n ( 68 ) , a = n ( 69 ) , s = n ( 112 ) , c = n ( 113 ) ; function u ( t ) { t . cancelToken && t . cancelToken . throwIfRequested ( ) } t . exports = function ( t ) { return u ( t ) , t . baseURL && ! s ( t . url ) && ( t . url = c ( t . baseURL , t . url ) ) , t . headers = t . headers || { } , t . data = i ( t . data , t . headers , t . transformRequest ) , t . headers = r . merge ( t . headers . common || { } , t . headers [ t . method ] || { } , t . headers || { } ) , r . forEach ( [ "delete" , "get" , "head" , "post" , "put" , "patch" , "common" ] , function ( e ) { delete t . headers [ e ] } ) , ( t . adapter || a . adapter ) ( t ) . then ( function ( e ) { return u ( t ) , e . data = i ( e . data , e . headers , t . transformResponse ) , e } , function ( e ) { return o ( e ) || ( u ( t ) , e && e . response && ( e . response . data = i ( e . response . data , e . response . headers , t . transformResponse ) ) ) , Promise . reject ( e ) } ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) ; t . exports = function ( t , e , n ) { return r . forEach ( n , function ( n ) { t = n ( t , e ) } ) , t } } , function ( t , e ) { var n , r , i = t . exports = { } ; function o ( ) { throw new Error ( "setTimeout has not been defined" ) } function a ( ) { throw new Error ( "clearTimeout has not been defined" ) } function s ( t ) { if ( n === setTimeout ) return setTimeout ( t , 0 ) ; if ( ( n === o || ! n ) && setTimeout ) return n = setTimeout , setTimeout ( t , 0 ) ; try { return n ( t , 0 ) } catch ( e ) { try { return n . call ( null , t , 0 ) } catch ( e ) { return n . call ( this , t , 0 ) } } } ! function ( ) { try { n = "function" == typeof setTimeout ? setTimeout : o } catch ( t ) { n = o } try { r = "function" == typeof clearTimeout ? clearTimeout : a } catch ( t ) { r = a } } ( ) ; var c , u = [ ] , l = ! 1 , f = - 1 ; function d ( ) { l && c && ( l = ! 1 , c . length ? u = c . concat ( u ) : f = - 1 , u . length && p ( ) ) } function p ( ) { if ( ! l ) { var t = s ( d ) ; l = ! 0 ; for ( var e = u . length ; e ; ) { for ( c = u , u = [ ] ; ++ f < e ; ) c && c [ f ] . run ( ) ; f = - 1 , e = u . length } c = null , l = ! 1 , function ( t ) { if ( r === clearTimeout ) return clearTimeout ( t ) ; if ( ( r === a || ! r ) && clearTimeout ) return r = clearTimeout , clearTimeout ( t ) ; try { r ( t ) } catch ( e ) { try { return r . call ( null , t ) } catch ( e ) { return r . call ( this , t ) } } } ( t ) } } function h ( t , e ) { this . fun = t , this . array = e } function v ( ) { } i . nextTick = function ( t ) { var e = new Array ( arguments . length - 1 ) ; if ( arguments . length > 1 ) for ( var n = 1 ; n < arguments . length ; n ++ ) e [ n - 1 ] = arguments [ n ] ; u . push ( new h ( t , e ) ) , 1 !== u . length || l || s ( p ) } , h . prototype . run = function ( ) { this . fun . apply ( null , this . array ) } , i . title = "browser" , i . browser = ! 0 , i . env = { } , i . argv = [ ] , i . version = "" , i . versions = { } , i . on = v , i . addListener = v , i . once = v , i . off = v , i . removeListener = v , i . removeAllListeners = v , i . emit = v , i . prependListener = v , i . prependOnceListener = v , i . listeners = function ( t ) { return [ ] } , i . binding = function ( t ) { throw new Error ( "process.binding is not supported" ) } , i . cwd = function ( ) { return "/" } , i . chdir = function ( t ) { throw new Error ( "process.chdir is not supported" ) } , i . umask = function ( ) { return 0 } } , function ( t , e , n ) { "use strict" ; var r = n ( 4 ) ; t . exports = function ( t , e ) { r . forEach ( t , function ( n , r ) { r !== e && r . toUpperCase ( ) === e . toUpperCa
2019-06-04 14:50:12 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2019-08-07 18:08:12 +03:00
* / t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n n u l l ! = t & & ( n ( t ) | | f u n c t i o n ( t ) { r e t u r n " f u n c t i o n " = = t y p e o f t . r e a d F l o a t L E & & " f u n c t i o n " = = t y p e o f t . s l i c e & & n ( t . s l i c e ( 0 , 0 ) ) } ( t ) | | ! ! t . _ i s B u f f e r ) } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { e = t . e x p o r t s = n ( 1 ) ( ! 1 ) ; v a r r = n ( 8 ) , i = r ( n ( 9 ) ) , o = r ( n ( 1 0 ) ) , a = r ( n ( 1 1 ) ) , s = r ( n ( 1 2 ) ) ; e . p u s h ( [ t . i , ' @ c h a r s e t " U T F - 8 " ; \ n / * * \ n * @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 9 J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * \ n * @ a u t h o r J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * \ n * @ l i c e n s e G N U A G P L v e r s i o n 3 o r a n y l a t e r v e r s i o n \ n * \ n * T h i s p r o g r a m i s f r e e s o f t w a r e : y o u c a n r e d i s t r i b u t e i t a n d / o r m o d i f y \ n * i t u n d e r t h e t e r m s o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e a s \ n * p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n , e i t h e r v e r s i o n 3 o f t h e \ n * L i c e n s e , o r ( a t y o u r o p t i o n ) a n y l a t e r v e r s i o n . \ n * \ n * T h i s p r o g r a m i s d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n * b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n * M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n * G N U A f f e r o G e n e r a l P u b l i c L i c e n s e f o r m o r e d e t a i l s . \ n * \ n * Y o u s h o u l d h a v e r e c e i v e d a c o p y o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e \ n * a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n * \ n * / \ n @ f o n t - f a c e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n s r c : u r l ( ' + i + " ) ; \ n / * I E 9 C o m p a t M o d e s * / \ n s r c : u r l ( " + i + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + o + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + a + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + s + ' ) f o r m a t ( " s v g " ) ; \ n / * L e g a c y i O S * / \ n } \ n . i c o n [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n f o n t - s t y l e : n o r m a l ; \ n f o n t - w e i g h t : 4 0 0 ; \ n } \ n . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . a r r o w - l e f t [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . a r r o w - r i g h t [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . c l o s e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . c o n f i r m - f a d e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . c o n f i r m [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . m e n u [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . p a u s e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . i c o n . p l a y [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n c o n t e n t : " " ; \ n } \ n . a v a t a r d i v [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n p o s i t i o n : r e l a t i v e ; \ n d i s p l a y : i n l i n e - b l o c k ; \ n } \ n . a v a t a r d i v - - u n k n o w n [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n p o s i t i o n : r e l a t i v e ; \ n b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - t e x t - m a x c o n t r a s t ) ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n c u r s o r : p o i n t e r ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n p o s i t i o n : a b s o l u t e ; \ n t o p : 0 ; \ n l e f t : 0 ; \ n d i s p l a y : f l e x ; \ n a l i g n - i t e m s : c e n t e r ; \ n j u s t i f y - c o n t e n t : c e n t e r ; \ n w i d t h : i n h e r i t ; \ n h e i g h t : i n h e r i t ; \ n c u r s o r : p o i n t e r ; \ n o p a c i t y : 0 ; \ n b a c k g r o u n d : n o n e ; \ n f o n t - s i z e : 1 8 p x ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : b e f o r e { \ n f o n t - f a m i l y : " i c o n f o n t - v u e " ; \ n f o n t - s t y l e : n o r m a l ; \ n f o n t - w e i g h t : 4 0 0 ; \ n c o n t e n t : " " ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] : : b e f o r e { \ n d i s p l a y : b l o c k ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u : f o c u s . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] , . a v a t a r d i v - - w i t h - m e n u : h o v e r . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n o p a c i t y : 1 ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u : f o c u s i m g [ d a t a - v - 6 0 1 5 a 0 9 2 ] , . a v a t a r d i v - - w i t h - m e n u : h o v e r i m g [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n o p a c i t y : 0 ; \ n } \ n . a v a t a r d i v - - w i t h - m e n u . i c o n - m o r e [ d a t a - v - 6 0 1 5 a 0 9 2 ] , \ n . a v a t a r d i v - - w i t h - m e n u i m g [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n t r a n s i t i o n : o p a c i t y v a r ( - - a n i m a t i o n - q u i c k ) ; \ n } \ n . a v a t a r d i v > . u n k n o w n [ d a t a - v - 6 0 1 5 a 0 9 2 ] { \ n p o s i t i o n : a b s o l u t e ; \ n t o p : 0 ; \ n l e f t : 0 ; \ n d i s p l a y : b l o c k ; \ n w i d t h : 1 0 0 % ; \ n t e x t - a l i
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
*
* /
e . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) ,
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = { data : function ( ) { return { isMobile : this . _isMobile ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isMobile = this . _isMobile ( ) } , _isMobile : function ( ) { return document . documentElement . clientWidth < 768 } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 23 ) , i = n ( 120 ) , o = n . n ( i ) , a = n ( 86 ) , s = n . n ( a ) , c = { name : "AvatarSelectOption" , components : { Avatar : n ( 62 ) . default } , props : { desc : { type : String , default : "" } , displayName : { type : String , required : ! 0 } , icon : { type : String , default : "" } , user : { type : String , default : "" } , isNoUser : { type : Boolean , default : ! 1 } } , computed : { search : function ( ) { return this . $parent . search } , escapedDisplayName : function ( ) { return s ( ) ( this . displayName ) } , escapedDesc : function ( ) { return s ( ) ( this . desc ) } } , methods : { highlightPhrase : function ( t ) { return this . search . length ? t . replace ( new RegExp ( this . search , "gi" ) , "<strong>" . concat ( this . search , "</strong>" ) ) : t } } } , u = ( n ( 174 ) , n ( 0 ) ) , l = n ( 87 ) , f = n . n ( l ) , d = Object ( u . a ) ( c , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "span" , { staticClass : "option" } , [ n ( "Avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : t . displayName , user : t . user , "is-no-user" : t . isNoUser , "disable-menu" : ! 0 , "disable-tooltip" : ! 0 } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" , domProps : { innerHTML : t . _s ( t . highlightPhrase ( t . escapedDisplayName ) ) } } ) , t . _v ( " " ) , "" !== t . desc ? n ( "span" , { staticClass : "option__desc--linetwo" , domProps : { innerHTML : t . _s ( t . highlightPhrase ( t . escapedDesc ) ) } } ) : t . _e ( ) ] ) , t . _v ( " " ) , "" !== t . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . icon } ) : t . _e ( ) ] , 1 ) } , [ ] , ! 1 , null , "6cf052c1" , null ) ; "function" == typeof f . a && f ( ) ( d ) ; var p = d . exports , h = { name : "EllipsisedOption" , props : { option : { type : [ String , Object ] , required : ! 0 , default : "" } , label : { type : String , default : "" } } , computed : { name : function ( ) { return this . label ? this . option [ this . label ] : this . option } , needsTruncate : function ( ) { return this . name && this . name . length >= 10 } , part1 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( 0 , this . name . length - t ) } return this . name } , part2 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( this . name . length - t ) } return "" } } } , v = ( n ( 176 ) , Object ( u . a ) ( h , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { staticClass : "name-parts" , attrs : { title : t . name } } , [ n ( "span" , { staticClass : "name-parts__first" } , [ t . _v ( t . _s ( t . part1 ) ) ] ) , t . _v ( " " ) , t . part2 ? n ( "span" , { staticClass : "name-parts__last" } , [ t . _v ( t . _s ( t . part2 ) ) ] ) : t . _e ( ) ] ) } , [ ] , ! 1 , null , "19682187" , null ) . exports ) , m = n ( 6 ) , A = n ( 121 ) , g = { name : "Multiselect" , components : { AvatarSelectOption : p , EllipsisedOption : v , VueMultiselect : n . n ( A ) . a } , directives : { tooltip : m . default } , inheritAttrs : ! 1 , props : { value : { default : function ( ) { return [ ] } } , multiple : { type : Boolean , default : ! 1 } , limit : { type : Number , default : 99999 } , label : { type : String , default : "" } , trackBy : { type : String , default : "" } , userSelect : { type : Boolean , default : ! 1 } , loading : { type : Boolean , default : ! 1 } , autoLimit : { type : Boolean , default : ! 0 } , tagWidth : { type : Number , default : 150 , validator : function ( t ) { return t > 0 } } } , data : function ( ) { return { elWidth : 0 } } , computed : { maxOptions : function ( ) { if ( this . autoLimit && this . elWidth > 0 && 0 !== this . tagWidth ) { var t = Math . floor ( this . elWidth / this . tagWidth ) ; return t > 0 ? t : 1 } return this . limit ? this . limit : 9999 } , limitString : function ( ) { return "+" . concat ( this . value . length - this . maxOptions ) } } , watch : { value : function ( ) { this . updateWidth ( ) } } , mounted : function ( ) { this . updateWidth ( ) , window . addEventListener ( "resize" , this . updateWidth ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . updateWidth ) } , methods : { formatLimitTitle : function ( t ) { var e = this ; if ( Array . isArray ( t ) && t . length > 0 ) { var n = t ; return "object" === o ( ) ( t [ 0 ] ) && ( n = t . map ( function ( t ) { return t [ e . label ] } ) ) , n . slice ( this . maxOptions ) . join ( ", " ) } return "" } , updateWidth : function ( ) { this . $el && ( this . elWidth = this . $el . querySelector ( ".multiselect__tags-wrap" ) . offsetWidth - 10 ) } } } , y = n ( 88 ) , b = n . n ( y ) , _ = Object ( u . a ) ( g , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; retur
2019-05-17 10:49:47 +03:00
/ * *
2019-06-03 13:44:03 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-06-04 14:50:12 +03:00
* 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-08-07 18:08:12 +03:00
Object ( r . a ) ( w ) , e . default = w } , function ( e , n , r ) { "use strict" ; r . r ( n ) ; var i = r ( 23 ) , o = r ( 38 ) , a = r . n ( o ) , s = r ( 30 ) , c = r ( 63 ) , u = r ( 6 ) ;
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
*
* / f u n c t i o n l ( t , e ) { v a r n , r , i , o = e ; t h i s . s t a r t = f u n c t i o n ( ) { i = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( t , o ) } , t h i s . p a u s e = f u n c t i o n ( ) { i = ! 1 , c l e a r T i m e o u t ( n ) , o - = n e w D a t e - r } , t h i s . c l e a r = f u n c t i o n ( ) { i = ! 1 , c l e a r T i m e o u t ( n ) , o = 0 } , t h i s . g e t T i m e L e f t = f u n c t i o n ( ) { r e t u r n i & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , o } , t h i s . g e t S t a t e R u n n i n g = f u n c t i o n ( ) { r e t u r n i } , t h i s . s t a r t ( ) } v a r f = { n a m e : " M o d a l " , c o m p o n e n t s : { A c t i o n s : s . d e f a u l t , A c t i o n B u t t o n : c . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : u . d e f a u l t } , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n - 1 ! = = [ " n o r m a l " , " l a r g e " , " f u l l " ] . i n d e x O f ( t ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? t ( " c o r e " , " P a u s e s l i d e s h o w " ) : t ( " c o r e " , " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( t ) { t h i s . s l i d e s h o w T i m e o u t & & ( t ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , m o u n t e d : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . s h o w M o d a l = ! 0 , t h i s . h a n d l e M o u s e M o v e ( ) , t h i s . m c = n e w a . a ( t h i s . $ r e f s . m a s k ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , f u n c t i o n ( e ) { t . h a n d l e S w i p e ( e ) } ) , d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( t ) { t h i s . h a s P r e v i o u s & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " p r e v i o u s " , t ) ) } , n e x t : f u n c t i o n ( t ) { t h i s . h a s N e x t & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " n e x t " , t ) ) } , c l o s e : f u n c t i o n ( t ) { v a r e = t h i s ; t h i s . c a n C l o s e & & ( t h i s . s h o w M o d a l = ! 1 , s e t T i m e o u t ( f u n c t i o n ( ) { e . $ e m i t ( " c l o s e " , t ) } , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( t ) { s w i t c h ( t . k e y C o d e ) { c a s e 3 7 : t h i s . p r e v i o u s ( t ) ; b r e a k ; c a s e 1 3 : c a s e 3 9 : t h i s . n e x t ( t ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( t ) } } , h a n d l e S w i p e : f u n c t i o n ( t ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = t . t y p e ? t h i s . n e x t ( t ) : " s w i p e r i g h t " = = = t . t y p e & & t h i s . p r e v i o u s ( t ) ) } , h a n d l e M o u s e M o v e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . c l e a r V i e w D e l a y > 0 & & ( t h i s . c l e a r V i e w = ! 1 , c l e a r T i m e o u t ( t h i s . c l e a r V i e w T i m e o u t ) , t h i s . c l e a r V i e w T i m e o u t = s e t T i m e o u t ( f u n c t i o n ( ) { t . c l e a r V i e w = ! 0 } , t h i s . c l e a r V i e w D e l a y ) ) } , t o g g l e P l a y P a u s e : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . p l a y i n g ? t h i s . h a n d l e S l i d e s h o w ( ) : t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) } , r e s e t S l i d e s h o w : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) , t h i s . $ n e x t T i c k ( f u n c t i o n ( ) { t h i s . t o g g l e P l a y P a u s e ( ) } ) } , h a n d l e S l i d e s h o w : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . p l a y i n g = ! 0 , t h i s . h a s N e x t ? t h i s . s l i d e s h o w T i m e o u t = n e w l ( f u n c t i o n ( ) { t . n e x t ( ) , t . h a n d l e S l i d e s h o w ( ) } , t h i s . s l i d e s h o w D e l a y ) : ( t h i s . p l a y i n g = ! 1 , t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) ) } } } , d = ( r ( 1 7 2 ) , r ( 0 ) ) , p = r ( 8 5 ) , h = r . n ( p ) , v = O b j e c t ( d . a ) ( f , f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ n ( " d i v " , { r e f : " m a s k " , s t a t i c C l a s s : " m o d a l - m a s k " , o n : { c l i c k : t . h a n d l e M o u s e M o v e , m o u s e m o v e : t . h a n d l e M o u s e M o v e , t o u c h m o v e : t . h a n d l e M o u s e M o v e } } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e - v i s i b i l i t y " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . c l e a r V i e w , e x p r e s s i o n : " ! c l e a r V i e w " } ] , s t a t i c C l a s s : " m o d a l - h e a d e r " , c l a s s : { i n v i s i b l e : t . c l e a r V i e w } } , [ " " ! = = t . t i t l e . t r i m ( ) ? n ( " d i v " , { s t a t i c C l a s s : " m o d a l - t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " i c o n s - m e n u " } , [ n ( " A c t i o n s " , { s t a t i c C l a s s : " h e a d e r - a c t i o n s " } , [ t . _ t ( " a c t i o n s " ) ] , 2 ) , t . _ v ( " " ) , t . h a s N e x t & & t . e n a b l e S l i d e s h o w ? n ( " b u t t o n " , { d i r e c t i v e s : [ { n a m e : " t o o l t i p " , r a w N a m e : " v - t o o l t i p . a u t o " , v a l u e : t . p l a y P a u s e T i t l e , e x p r e s s i o n : " p l a y P a u s e T i t l e " , m o d i f i e r s : { a u t o : ! 0 } } ] , s t a t i c C l a s s : " p l a y - p a u s e " , c l a s s : { " p l a y - p a u s e - - p a u s e d " : t . s l i d e s h o w P a u s e d } , o n : { c l i c k : t . t o g g l e P l a y P a u s e } } , [ n ( " d i v " , { c l a s s : [ t . p l a y i n g
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
*
* /
Object ( i . a ) ( m ) , n . default = m } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 7 ) , i = n ( 17 ) , o = { name : "ActionCheckbox" , mixins : [ r . a ] , props : { id : { type : String , default : function ( ) { return "action-" + Object ( i . a ) ( ) } , validator : function ( t ) { return "" !== t . trim ( ) } } , checked : { type : Boolean , default : ! 1 } , value : { type : [ String , Number ] , default : "" } , disabled : { type : Boolean , default : ! 1 } } , methods : { checkInput : function ( t ) { this . $refs . label . click ( ) } , onChange : function ( t ) { this . $emit ( "change" , t ) , this . $refs . checkbox . checked ? this . $emit ( "check" , ! 0 ) : this . $emit ( "uncheck" , ! 0 ) , this . $emit ( "update:checked" , this . $refs . checkbox . checked ) } } } , a = ( n ( 144 ) , n ( 0 ) ) , s = n ( 81 ) , c = n . n ( s ) , u = Object ( a . a ) ( o , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-checkbox" , class : { "action-checkbox--disabled" : t . disabled } } , [ n ( "input" , { ref : "checkbox" , staticClass : "focusable checkbox action-checkbox__checkbox" , attrs : { id : t . id , disabled : t . disabled , type : "checkbox" } , domProps : { checked : t . checked , value : t . value } , on : { keydown : function ( e ) { return ! e . type . indexOf ( "key" ) && t . _k ( e . keyCode , "enter" , 13 , e . key , "Enter" ) ? null : e . ctrlKey || e . shiftKey || e . altKey || e . metaKey ? null : ( e . preventDefault ( ) , t . checkInput ( e ) ) } , change : t . onChange } } ) , t . _v ( " " ) , n ( "label" , { ref : "label" , staticClass : "action-checkbox__label" , attrs : { for : t . id } } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } , [ ] , ! 1 , null , "7ce5690e" , null ) ; "function" == typeof c . a && c ( ) ( u ) ; var l = u . exports ; n . d ( e , "ActionCheckbox" , function ( ) { return l } ) ,
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
*
* /
e . default = l } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 7 ) , i = n ( 17 ) , o = { name : "ActionInput" , components : { DatetimePicker : n ( 64 ) . default } , mixins : [ r . a ] , props : { id : { type : String , default : function ( ) { return "action-" + Object ( i . a ) ( ) } , validator : function ( t ) { return "" !== t . trim ( ) } } , icon : { type : String , default : "" , required : ! 0 } , type : { type : String , default : "text" , validator : function ( t ) { return [ "date" , "datetime-local" , "month" , "number" , "password" , "search" , "tel" , "text" , "time" , "url" , "week" ] . indexOf ( t ) > - 1 } } , value : { type : String , default : "" } , disabled : { type : Boolean , default : ! 1 } } , computed : { isIconUrl : function ( ) { try { return new URL ( this . icon ) } catch ( t ) { return ! 1 } } , isDatePickerType : function ( ) { switch ( this . type ) { case "date" : case "month" : case "time" : return this . type ; case "datetime-local" : return "datetime" } return ! 1 } } , methods : { onInput : function ( t ) { this . $emit ( "input" , t ) , this . $emit ( "update:value" , t . target ? t . target . value : t ) } , onSubmit : function ( t ) { if ( t . preventDefault ( ) , t . stopPropagation ( ) , this . disabled ) return ! 1 ; this . $emit ( "submit" , t ) } , onChange : function ( t ) { this . $emit ( "change" , t ) } } } , a = ( n ( 146 ) , n ( 0 ) ) , s = n ( 82 ) , c = n . n ( s ) , u = Object ( a . a ) ( o , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-input" , class : { "action-input--picker" : t . isDatePickerType } } , [ n ( "span" , { staticClass : "action-input__icon" , class : [ t . isIconUrl ? "action-input__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , n ( "form" , { ref : "form" , staticClass : "action-input__form" , attrs : { disabled : t . disabled } , on : { submit : function ( e ) { return e . preventDefault ( ) , t . onSubmit ( e ) } } } , [ t . isDatePickerType ? n ( "DatetimePicker" , t . _b ( { staticClass : "action-input__picker" , attrs : { value : t . value , placeholder : t . text , disabled : t . disabled , type : t . isDatePickerType , "input-class" : [ "mx-input" , "focusable" ] } , on : { input : t . onInput , change : t . onChange } } , "DatetimePicker" , t . $attrs , ! 1 ) ) : [ n ( "input" , { staticClass : "action-input__submit" , attrs : { id : t . id , type : "submit" } } ) , t . _v ( " " ) , n ( "input" , t . _b ( { staticClass : "action-input__input focusable" , attrs : { type : t . type , placeholder : t . text , disabled : t . disabled } , domProps : { value : t . value } , on : { input : t . onInput , change : t . onChange } } , "input" , t . $attrs , ! 1 ) ) , t . _v ( " " ) , n ( "label" , { directives : [ { name : "show" , rawName : "v-show" , value : ! t . disabled , expression : "!disabled" } ] , staticClass : "action-input__label" , attrs : { for : t . id } } ) ] ] , 2 ) ] ) ] ) } , [ ] , ! 1 , null , "689a7d04" , null ) ; "function" == typeof c . a && c ( ) ( u ) ; var l = u . exports ; n . d ( e , "ActionInput" , function ( ) { return l } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = l } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "ActionLink" , mixins : [ n ( 14 ) . a ] , props : { href : { type : String , default : "#" , required : ! 0 , validator : function ( t ) { try { return new URL ( t ) } catch ( e ) { return t . startsWith ( "#" ) || t . startsWith ( "/" ) } } } , download : { type : String , default : "" } , target : { type : String , default : "_self" , validator : function ( t ) { return [ "_blank" , "_self" , "_parent" , "_top" ] . indexOf ( t ) > - 1 } } } } , i = ( n ( 148 ) , n ( 0 ) ) , o = n ( 83 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "a" , { staticClass : "action-link focusable" , attrs : { download : t . download , href : t . href , target : t . target , rel : "noreferrer noopener" } , on : { click : t . onClick } } , [ n ( "span" , { staticClass : "action-link__icon" , class : [ t . isIconUrl ? "action-link__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , t . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-link__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-link__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } , [ ] , ! 1 , null , "3adcef72" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ; n . d ( e , "ActionLink" , function ( ) { return c } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = c } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "ActionRouter" , mixins : [ n ( 14 ) . a ] , props : { to : { type : [ String , Object ] , default : "" , required : ! 0 } , exact : { type : Boolean , default : ! 1 } } } , i = ( n ( 150 ) , n ( 0 ) ) , o = Object ( i . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "router-link" , { staticClass : "action-router focusable" , attrs : { to : t . to , exact : t . exact , rel : "noreferrer noopener" } } , [ n ( "span" , { staticClass : "action-router__icon" , class : [ t . isIconUrl ? "action-router__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , t . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-router__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-router__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-router__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-router__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] , 1 ) } , [ ] , ! 1 , null , "4b10ba60" , null ) . exports ; n . d ( e , "ActionRouter" , function ( ) { return o } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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
2019-05-17 10:49:47 +03:00
* 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-06-04 14:50:12 +03:00
* /
2019-08-07 18:08:12 +03:00
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "ActionText" , mixins : [ n ( 14 ) . a ] , props : { disabled : { type : Boolean , default : ! 1 } } } , i = ( n ( 152 ) , n ( 0 ) ) , o = Object ( i . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-text" } , [ n ( "span" , { staticClass : "action-text__icon" , class : [ t . isIconUrl ? "action-text__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , t . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-text__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-text__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-text__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-text__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } , [ ] , ! 1 , null , "02357c5a" , null ) . exports ; n . d ( e , "ActionText" , function ( ) { return o } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 14 ) , i = n ( 17 ) , o = { name : "ActionTextEditable" , mixins : [ r . a ] , props : { id : { type : String , default : function ( ) { return "action-" + Object ( i . a ) ( ) } , validator : function ( t ) { return "" !== t . trim ( ) } } , disabled : { type : Boolean , default : ! 1 } , value : { type : String , default : "" } } , methods : { onInput : function ( t ) { this . $emit ( "input" , t ) , this . $emit ( "update:value" , t . target . value ) } , onSubmit : function ( t ) { if ( t . preventDefault ( ) , t . stopPropagation ( ) , this . disabled ) return ! 1 ; this . $emit ( "submit" , t ) } } } , a = ( n ( 154 ) , n ( 0 ) ) , s = n ( 84 ) , c = n . n ( s ) , u = Object ( a . a ) ( o , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-text-editable" } , [ n ( "span" , { staticClass : "action-text-editable__icon" , class : [ t . isIconUrl ? "action-text-editable__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , n ( "form" , { ref : "form" , staticClass : "action-text-editable__form" , attrs : { disabled : t . disabled } , on : { submit : function ( e ) { return e . preventDefault ( ) , t . onSubmit ( e ) } } } , [ n ( "input" , { staticClass : "action-text-editable__submit" , attrs : { id : t . id , type : "submit" } } ) , t . _v ( " " ) , t . title ? n ( "strong" , { staticClass : "action-text__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "textarea" , t . _b ( { staticClass : "action-text-editable__textarea focusable" , attrs : { disabled : t . disabled } , domProps : { value : t . value } , on : { input : t . onInput } } , "textarea" , t . $attrs , ! 1 ) ) , t . _v ( " " ) , n ( "label" , { directives : [ { name : "show" , rawName : "v-show" , value : ! t . disabled , expression : "!disabled" } ] , staticClass : "action-text-editable__label" , attrs : { for : t . id } } ) ] ) ] ) ] ) } , [ ] , ! 1 , null , "967ce79a" , null ) ; "function" == typeof c . a && c ( ) ( u ) ; var l = u . exports ; n . d ( e , "ActionTextEditable" , function ( ) { return l } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = l } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 38 ) , i = n . n ( r ) , o = { name : "AppContent" , components : { AppNavigationToggle : n ( 80 ) . default } , data : function ( ) { return { opened : ! 1 } } , mounted : function ( ) { var t = this ; this . mc = new i . a ( this . $el , { cssProps : { userSelect : "text" } } ) , this . mc . on ( "swipeleft swiperight" , function ( e ) { t . handleSwipe ( e ) } ) } , unmounted : function ( ) { this . mc . off ( "swipeleft swiperight" ) , this . mc . destroy ( ) } , methods : { toggleNavigation : function ( t ) { this . opened = t || ! this . opened , this . opened ? document . body . classList . add ( "nav-open" ) : document . body . classList . remove ( "nav-open" ) } , handleSwipe : function ( t ) { var e = t . srcEvent . pageX - t . deltaX , n = Math . abs ( t . deltaX ) > 70 ; n && e < 40 ? this . toggleNavigation ( ! 0 ) : this . opened && n && e < 340 && this . toggleNavigation ( ! 1 ) } } } , a = ( n ( 156 ) , n ( 0 ) ) , s = Object ( a . a ) ( o , function ( ) { var t = this . $createElement , e = this . _self . _c || t ; return e ( "div" , { staticClass : "no-snapper" , style : this . opened ? "transform: translateX(300px)" : "" , attrs : { id : "app-content" } } , [ e ( "AppNavigationToggle" , { attrs : { "aria-expanded" : this . opened , "aria-controls" : "app-navigation" } , on : { click : this . toggleNavigation } } ) , this . _v ( " " ) , this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , "0fe2f738" , null ) . exports ; n . d ( e , "AppContent" , function ( ) { return s } ) ,
2019-06-04 14:50:12 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
e . default = s } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 0 ) , i = Object ( r . a ) ( { name : "AppContentDetails" } , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "div" , { staticClass : "app-content-details" } , [ this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , null , null ) . exports ; n . d ( e , "AppContentDetails" , function ( ) { return i } ) ,
/ *
* @ 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/>.
* /
e . default = i } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "AppContentList" , props : { selection : { type : Boolean , default : ! 1 } , showDetails : { type : Boolean , default : ! 1 } } } , i = n ( 0 ) , o = Object ( i . a ) ( r , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "div" , { staticClass : "app-content-list" , class : { selection : this . selection , showdetails : this . showDetails } } , [ this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , null , null ) . exports ; n . d ( e , "AppContentList" , function ( ) { return o } ) ,
/ *
* @ 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-08-07 18:08:12 +03:00
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = ( n ( 158 ) , n ( 0 ) ) , i = Object ( r . a ) ( { name : "AppNavigation" } , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "div" , { attrs : { id : "app-navigation" } } , [ this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , null , null ) . exports ; n . d ( e , "AppNavigation" , function ( ) { return i } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-08-07 18:08:12 +03:00
e . default = i } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "AppNavigationCaption" , props : { text : { type : String , required : ! 0 } } } , i = ( n ( 160 ) , n ( 0 ) ) , o = Object ( i . a ) ( r , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "li" , { staticClass : "app-navigation-caption--item" } , [ this . _v ( "\n\t" + this . _s ( this . text ) + "\n" ) ] ) } , [ ] , ! 1 , null , "9639e4a4" , null ) . exports ; n . d ( e , "AppNavigationCaption" , function ( ) { return o } ) , e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 24 ) , i = n ( 13 ) , o = n . n ( i ) , a = n ( 65 ) , s = { name : "AppNavigationItem" , components : { PopoverMenu : r . PopoverMenu , AppNavigationCounter : a . AppNavigationCounter } , directives : { ClickOutside : o . a } , props : { item : { type : Object , required : ! 0 } , open : { type : Boolean , default : ! 1 } , menuOpen : { type : Boolean , default : ! 1 } } , data : function ( ) { return { opened : this . open , openedMenu : this . menuOpen } } , computed : { collapsible : function ( ) { return this . item . collapsible && this . item . children && this . item . children . length > 0 } , simpleAction : function ( ) { return this . collapsible && ! this . item . action ? this . toggleCollapse : this . item . action } } , watch : { open : function ( t ) { this . opened = t } , menuOpen : function ( t ) { this . openedMenu = t } } , mounted : function ( ) { this . popupItem = this . $el } , methods : { hideMenu : function ( ) { this . openedMenu = ! 1 , this . $emit ( "update:menuOpen" , this . openedMenu ) } , toggleMenu : function ( ) { this . openedMenu = ! this . openedMenu , this . $emit ( "update:menuOpen" , this . openedMenu ) } , toggleCollapse : function ( ) { this . opened = ! this . opened , this . $emit ( "update:open" , this . opened ) } , callPreventStop : function ( t , e ) { t && ( e . preventDefault ( ) , e . stopPropagation ( ) , t ( ) ) } , cancelEdit : function ( t ) { Array . isArray ( this . item . classes ) && ( this . item . classes = this . item . classes . filter ( function ( t ) { return "editing" !== t } ) ) , this . item . edit . reset ( t ) } , navElement : function ( t ) { if ( t . router ) { var e = t . router . exact ; return void 0 === t . router . exact && ( e = ! 0 ) , { is : "router-link" , tag : "li" , to : t . router , exact : e } } return { is : "li" } } } } , c = n ( 0 ) , u = Object ( c . a ) ( s , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "nav-element" , t . _b ( { class : [ { "icon-loading-small" : t . item . loading , open : t . opened , collapsible : t . collapsible } , t . item . classes ] , attrs : { id : t . item . id , title : t . item . title } } , "nav-element" , t . navElement ( t . item ) , ! 1 ) , [ t . item . bullet ? n ( "div" , { staticClass : "app-navigation-entry-bullet" , style : { backgroundColor : t . item . bullet } } ) : t . _e ( ) , t . _v ( " " ) , t . collapsible ? n ( "button" , { staticClass : "collapse" , on : { click : function ( e ) { return e . preventDefault ( ) , e . stopPropagation ( ) , t . toggleCollapse ( e ) } } } ) : t . _e ( ) , t . _v ( " " ) , n ( "a" , { class : t . item . icon , attrs : { href : t . item . href ? t . item . href : "#" } , on : { click : function ( e ) { return t . callPreventStop ( t . simpleAction , e ) } } } , [ t . item . iconUrl ? n ( "img" , { attrs : { alt : t . item . text , src : t . item . iconUrl } } ) : t . _e ( ) , t . _v ( "\n\t\t" + t . _s ( t . item . text ) + "\n\t" ) ] ) , t . _v ( " " ) , t . item . utils ? n ( "div" , { staticClass : "app-navigation-entry-utils" } , [ n ( "ul" , [ t . item . utils . counter ? n ( "AppNavigationCounter" , { attrs : { highlighted : ! 0 === t . item . utils . counter _highlighted } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . utils . counter ) + "\n\t\t\t" ) ] ) : t . _e ( ) , t . _v ( " " ) , t . item . utils . actions && 1 === t . item . utils . actions . length ? n ( "li" , { staticClass : "app-navigation-entry-utils-menu-button" } , [ n ( "button" , { class : t . item . utils . actions [ 0 ] . icon , attrs : { title : t . item . utils . actions [ 0 ] . text } , on : { click : t . item . utils . actions [ 0 ] . action } } ) ] ) : t . item . utils . actions && t . item . utils . actions . length > 1 ? n ( "li" , { staticClass : "app-navigation-entry-utils-menu-button" } , [ n ( "button" , { directives : [ { name : "click-outside" , rawName : "v-click-outside" , value : t . hideMenu , expression : "hideMenu" } ] , on : { click : t . toggleMenu } } ) ] ) : t . _e ( ) ] , 1 ) ] ) : t . _e ( ) , t . _v ( " " ) , t . item . utils && t . item . utils . actions && t . item . utils . actions . length > 1 ? n ( "div" , { staticClass : "app-navigation-entry-menu" , class : { open : t . openedMenu } } , [ n ( "PopoverMenu" , { attrs : { menu : t . item . utils . actions } } ) ] , 1 ) : t . _e ( ) , t . _v ( " " ) , t . item . undo ? n ( "div" , { staticClass : "app-navigation-entry-deleted" } , [ n ( "div" , { staticClass : "app-navigation-entry-deleted-description" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . undo . text ) + "\n\t\t" ) ] ) , t . _v ( " " ) , n ( "button" , { staticClass : "app-navigation-entry-deleted-button icon-history" , attrs : { title : t . t ( "settings" , "Undo" ) } } ) ] ) : t . _e ( ) , t . _v ( " " ) , t . item . edit ? n ( "div" , { staticClass : "app-navigation-entry-edit" } , [ n ( "form" , { on : { submit : function (
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
e . default = u } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { props : { buttonId : { type : String , required : ! 1 , default : "" } , buttonClass : { type : [ String , Array , Object ] , required : ! 1 , default : "" } , disabled : { type : Boolean , required : ! 1 , default : ! 1 } , text : { type : String , required : ! 0 } } } , i = n ( 0 ) , o = Object ( i . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { staticClass : "app-navigation-new" } , [ n ( "button" , { class : t . buttonClass , attrs : { id : t . buttonId , type : "button" , disabled : t . disabled } , on : { click : function ( e ) { return t . $emit ( "click" ) } } } , [ t . _v ( "\n\t\t" + t . _s ( t . text ) + "\n\t" ) ] ) ] ) } , [ ] , ! 1 , null , null , null ) . exports ; n . d ( e , "AppNavigationNew" , function ( ) { return o } ) ,
2019-06-04 14:50:12 +03: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-08-07 18:08:12 +03:00
e . default = o } , function ( e , n , r ) { "use strict" ; r . r ( n ) ; var i = r ( 13 ) , o = { directives : { ClickOutside : r . n ( i ) . a } , props : { title : { type : String , required : ! 1 , default : t ( "core" , "Settings" ) } } , data : function ( ) { return { open : ! 1 } } , methods : { toggleMenu : function ( ) { this . open = ! this . open } , closeMenu : function ( ) { this . open = ! 1 } } } , a = ( r ( 162 ) , r ( 0 ) ) , s = Object ( a . a ) ( o , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { directives : [ { name : "click-outside" , rawName : "v-click-outside" , value : t . closeMenu , expression : "closeMenu" } ] , class : { open : t . open } , attrs : { id : "app-settings" } } , [ n ( "div" , { attrs : { id : "app-settings-header" } } , [ n ( "button" , { staticClass : "settings-button" , on : { click : t . toggleMenu } } , [ t . _v ( "\n\t\t\t" + t . _s ( t . title ) + "\n\t\t" ) ] ) ] ) , t . _v ( " " ) , n ( "transition" , { attrs : { name : "slide-up" } } , [ n ( "div" , { directives : [ { name : "show" , rawName : "v-show" , value : t . open , expression : "open" } ] , attrs : { id : "app-settings-content" } } , [ t . _t ( "default" ) ] , 2 ) ] ) ] , 1 ) } , [ ] , ! 1 , null , "7f13ea43" , null ) . exports ; r . d ( n , "AppNavigationSettings" , function ( ) { return s } ) ,
2019-06-04 14:50:12 +03: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-08-07 18:08:12 +03:00
n . default = s } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = ( n ( 164 ) , n ( 0 ) ) , i = Object ( r . a ) ( { name : "AppNavigationSpacer" } , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "li" , { staticClass : "app-navigation-spacer" } ) } , [ ] , ! 1 , null , "18241e10" , null ) . exports ; n . d ( e , "AppNavigationSpacer" , function ( ) { return i } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-08-07 18:08:12 +03:00
e . default = i } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 3 ) , i = n . n ( r ) , o = n ( 30 ) , a = function ( t ) { return t && "string" == typeof t && "" !== t . trim ( ) && - 1 === t . indexOf ( " " ) } , s = { name : "AppSidebar" , components : { Actions : o . default } , props : { active : { type : String , default : "" } , title : { type : String , default : "" , required : ! 0 } , subtitle : { type : String , default : "" } , background : { type : String , default : "" } , starred : { type : Boolean , default : null } , starLoading : { type : Boolean , default : ! 1 } , compact : { type : Boolean , default : ! 1 } } , data : function ( ) { return { tabs : [ ] , activeTab : "" , isStarred : this . starred } } , computed : { canStar : function ( ) { return null !== this . isStarred } , hasFigure : function ( ) { return this . $slots . header || this . background } , hasMultipleTabs : function ( ) { return this . tabs . length > 1 } , hasFigureClickListener : function ( ) { return this . $listeners [ "figure-click" ] } , currentTabIndex : function ( ) { var t = this ; return this . tabs . findIndex ( function ( e ) { return e . id === t . activeTab } ) } } , watch : { active : function ( t ) { t !== this . activeTab && this . updateActive ( ) } , starred : function ( ) { this . isStarred = this . starred } } , mounted : function ( ) { this . updateTabs ( ) } , methods : { closeSidebar : function ( t ) { this . $emit ( "close" , t ) } , onFigureClick : function ( t ) { this . $emit ( "figure-click" , t ) } , setActive : function ( t ) { var e = t . target . closest ( "a" ) . dataset . id ; this . activeTab = e , this . $emit ( "update:active" , e ) } , focusPreviousTab : function ( ) { this . currentTabIndex > 0 && ( this . activeTab = this . tabs [ this . currentTabIndex - 1 ] . id , this . $emit ( "update:active" , this . activeTab ) ) , this . focusActiveTab ( ) } , focusNextTab : function ( ) { this . currentTabIndex < this . tabs . length - 1 && ( this . activeTab = this . tabs [ this . currentTabIndex + 1 ] . id , this . $emit ( "update:active" , this . activeTab ) ) , this . focusActiveTab ( ) } , focusFirstTab : function ( ) { this . activeTab = this . tabs [ 0 ] . id , this . $emit ( "update:active" , this . activeTab ) , this . focusActiveTab ( ) } , focusLastTab : function ( ) { this . activeTab = this . tabs [ this . tabs . length - 1 ] . id , this . $emit ( "update:active" , this . activeTab ) , this . focusActiveTab ( ) } , focusActiveTab : function ( ) { this . $el . querySelector ( "#" + this . activeTab ) . focus ( ) } , focusActiveTabContent : function ( ) { this . $el . querySelector ( "#tab-" + this . activeTab ) . focus ( ) } , updateActive : function ( ) { var t = this ; this . activeTab = this . active && - 1 !== this . tabs . findIndex ( function ( e ) { return e . id === t . active } ) ? this . active : this . tabs . length > 0 ? this . tabs [ 0 ] . id : "" } , toggleStarred : function ( ) { this . isStarred = ! this . isStarred , this . $emit ( "update:starred" , this . isStarred ) } , updateTabs : function ( ) { var t = this . $children . reduce ( function ( t , e ) { return e . name && "string" == typeof e . name ? a ( e . id ) ? a ( e . icon ) ? ( t . push ( e ) , t ) : ( i . a . util . warn ( "This tab is missing a valid icon: " . concat ( e . icon ) , e ) , t ) : ( i . a . util . warn ( "This tab is missing a valid id: " . concat ( e . id ) , e ) , t ) : ( i . a . util . warn ( "This tab is missing a valid name: " . concat ( e . name ) , e ) , t ) } , [ ] ) ; this . tabs = t . sort ( function ( t , e ) { var n = t . order || 0 , r = e . order || 0 ; return n === r ? OC . Util . naturalSortCompare ( t . name , e . name ) : n - r } ) , this . tabs . length > 0 && this . updateActive ( ) } } } , c = ( n ( 166 ) , n ( 168 ) , n ( 0 ) ) , u = Object ( c . a ) ( s , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "transition" , { attrs : { name : "slide-right" } } , [ n ( "aside" , { attrs : { id : "app-sidebar" } } , [ n ( "header" , { staticClass : "app-sidebar-header" , class : { "app-sidebar-header--with-figure" : t . hasFigure , "app-sidebar-header--compact" : t . compact } } , [ n ( "a" , { staticClass : "icon-close" , attrs : { href : "#" , title : t . t ( "core" , "close" ) } , on : { click : t . closeSidebar } } ) , t . _v ( " " ) , t . hasFigure ? n ( "div" , { staticClass : "app-sidebar-header__figure" , class : { "app-sidebar-header__figure--with-action" : t . hasFigureClickListener } , style : { backgroundImage : "url(" + t . background + ")" } , on : { click : t . onFigureClick } } , [ t . _t ( "header" ) ] , 2 ) : t . _e ( ) , t . _v ( " " ) , n ( "div" , { staticClass : "app-sidebar-header__desc" , class : { "app-sidebar-header__desc--with-star" : t . canStar , "app-sidebar-header__desc--with-subtitle" : t . subtitle } } , [ t . canStar ? n ( "a" , { staticClass : "app-sidebar-header__star" , class : { "icon-starred" : t . isStarred && ! t . starLoading , "icon-star" : ! t . isStarred && ! t . starLoading , "icon-loading-small" : t . starLoading } , on : { click : function ( e ) { return e . preventDefault ( ) , t . toggleStarred ( e ) } } } ) : t . _e ( ) , t . _v ( " " ) , n ( "h3" , { staticClass : "app-sidebar-header__title" } , [ t . _v ( "\n\t\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t\t" ) ] ) , t . _v ( " " ) , "" !== t . sub
2019-06-04 14:50:12 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-08-07 18:08:12 +03:00
e . default = u } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "AppSidebarTab" , props : { name : { type : String , default : "" , required : ! 0 } , icon : { type : String , default : "" , required : ! 0 } } , computed : { id : function ( ) { return this . name . toLowerCase ( ) . replace ( / /g , "-" ) } , isActive : function ( ) { return this . $parent . activeTab === this . id } } } , i = ( n ( 170 ) , n ( 0 ) ) , o = Object ( i . a ) ( r , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "section" , { directives : [ { name : "show" , rawName : "v-show" , value : this . isActive , expression : "isActive" } ] , attrs : { id : "tab-" + this . id , "aria-hidden" : ! this . isActive , "aria-labelledby" : this . name , tabindex : "0" , role : "tabpanel" } } , [ this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , "067ef8fa" , null ) . exports ; n . d ( e , "AppSidebarTab" , function ( ) { return o } ) ,
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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/>.
* /
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { props : { appName : { type : String , required : ! 0 } } } , i = n ( 0 ) , o = Object ( i . a ) ( r , function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "div" , { class : "app-" + this . appName , attrs : { id : "content" } } , [ this . _t ( "default" ) ] , 2 ) } , [ ] , ! 1 , null , null , null ) . exports ; n . d ( e , "Content" , function ( ) { return o } ) ,
/ *
* @ 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-08-07 18:08:12 +03:00
e . default = o } , function ( t , e , n ) { "use strict" ; var r = n ( 45 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( t . exports = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , '@charset "UTF-8";\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nli[data-v-7ce5690e]:hover, li.active[data-v-7ce5690e] {\n box-shadow: inset 4px 0 var(--color-primary);\n}\n.action-checkbox[data-v-7ce5690e] {\n display: flex;\n align-items: flex-start;\n width: 100%;\n height: auto;\n margin: 0;\n padding: 0;\n cursor: pointer;\n white-space: nowrap;\n color: var(--color-main-text);\n border: 0;\n border-radius: 0;\n background-color: transparent;\n box-shadow: none;\n font-weight: normal;\n line-height: 44px;\n /* checkbox/radio fixes */\n}\n.action-checkbox__checkbox[data-v-7ce5690e] {\n position: absolute;\n top: auto;\n left: -10000px;\n overflow: hidden;\n width: 1px;\n height: 1px;\n}\n.action-checkbox__checkbox:focus + .action-checkbox__label[data-v-7ce5690e] {\n opacity: 1;\n}\n.action-checkbox__label[data-v-7ce5690e] {\n display: flex;\n align-items: center;\n width: 100%;\n padding: 0 !important;\n padding-right: 14px !important;\n opacity: 0.7;\n}\n.action-checkbox__label[data-v-7ce5690e]::before {\n margin: 0 14px 0 !important;\n}\n.action-checkbox--disabled[data-v-7ce5690e],\n .action-checkbox--disabled .action-checkbox__label[data-v-7ce5690e] {\n cursor: pointer;\n}\n.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-7ce5690e], .action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-7ce5690e] {\n opacity: 1;\n}\n' , "" ] ) } , function ( t , e , n ) { "use strict" ; var r = n ( 46 ) ; n . n ( r ) . a } , function ( t , e , n ) { e = t . exports = n ( 1 ) ( ! 1 ) ; var r = n ( 8 ) , i = r ( n ( 9 ) ) , o = r ( n ( 10 ) ) , a = r ( n ( 11 ) ) , s = r ( n ( 12 ) ) ; e . push ( [ t . i , ' @ charset "UTF-8" ; \ n / * * \ n * @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com > \ n * \ n * @ author John Molakvoæ < skjnldsv @ protonmail . com > \ n * \ n * @ license GNU AGPL version 3 or any later version \ n * \ n * This program is free software : you can redistribute it and / or modify \ n * it under the terms of the GNU Affero General Public License as \ n * published by the Free Software Foundation , either version 3 of the \ n * License , or ( at your option ) any later version . \ n * \ n * This program is distributed in the hope that it will be useful , \ n * but WITHOUT ANY WARRANTY ; without even the implied warrant
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
* / f u n c t i o n B ( t ) { O b j e c t . v a l u e s ( r ) . f o r E a c h ( f u n c t i o n ( e ) { t . c o m p o n e n t ( e . n a m e , e ) } ) }
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . 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-08-07 18:08:12 +03:00
* / n . d ( e , " A c t i o n B u t t o n " , f u n c t i o n ( ) { r e t u r n a . d e f a u l t } ) , n . d ( e , " A c t i o n C h e c k b o x " , f u n c t i o n ( ) { r e t u r n s . d e f a u l t } ) , n . d ( e , " A c t i o n I n p u t " , f u n c t i o n ( ) { r e t u r n c . d e f a u l t } ) , n . d ( e , " A c t i o n L i n k " , f u n c t i o n ( ) { r e t u r n u . d e f a u l t } ) , n . d ( e , " A c t i o n R o u t e r " , f u n c t i o n ( ) { r e t u r n l . d e f a u l t } ) , n . d ( e , " A c t i o n T e x t " , f u n c t i o n ( ) { r e t u r n f . d e f a u l t } ) , n . d ( e , " A c t i o n T e x t E d i t a b l e " , f u n c t i o n ( ) { r e t u r n d . d e f a u l t } ) , n . d ( e , " A c t i o n s " , f u n c t i o n ( ) { r e t u r n p . d e f a u l t } ) , n . d ( e , " A p p C o n t e n t " , f u n c t i o n ( ) { r e t u r n h . d e f a u l t } ) , n . d ( e , " A p p C o n t e n t D e t a i l s " , f u n c t i o n ( ) { r e t u r n v . d e f a u l t } ) , n . d ( e , " A p p C o n t e n t L i s t " , f u n c t i o n ( ) { r e t u r n m . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n " , f u n c t i o n ( ) { r e t u r n A . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n C a p t i o n " , f u n c t i o n ( ) { r e t u r n g . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n C o u n t e r " , f u n c t i o n ( ) { r e t u r n y . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n I t e m " , f u n c t i o n ( ) { r e t u r n b . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n N e w " , f u n c t i o n ( ) { r e t u r n _ . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n S e t t i n g s " , f u n c t i o n ( ) { r e t u r n w . d e f a u l t } ) , n . d ( e , " A p p N a v i g a t i o n S p a c e r " , f u n c t i o n ( ) { r e t u r n x . d e f a u l t } ) , n . d ( e , " A p p S i d e b a r " , f u n c t i o n ( ) { r e t u r n T . d e f a u l t } ) , n . d ( e , " A p p S i d e b a r T a b " , f u n c t i o n ( ) { r e t u r n k . d e f a u l t } ) , n . d ( e , " A v a t a r " , f u n c t i o n ( ) { r e t u r n C . d e f a u l t } ) , n . d ( e , " C o n t e n t " , f u n c t i o n ( ) { r e t u r n E . d e f a u l t } ) , n . d ( e , " D a t e t i m e P i c k e r " , f u n c t i o n ( ) { r e t u r n S . d e f a u l t } ) , n . d ( e , " M o d a l " , f u n c t i o n ( ) { r e t u r n O . d e f a u l t } ) , n . d ( e , " M u l t i s e l e c t " , f u n c t i o n ( ) { r e t u r n M . d e f a u l t } ) , n . d ( e , " P o p o v e r M e n u " , f u n c t i o n ( ) { r e t u r n I . d e f a u l t } ) , n . d ( e , " T o o l t i p " , f u n c t i o n ( ) { r e t u r n N . d e f a u l t } ) , n . d ( e , " i s F u l l s c r e e n " , f u n c t i o n ( ) { r e t u r n L . d e f a u l t } ) , n . d ( e , " i s M o b i l e " , f u n c t i o n ( ) { r e t u r n D . d e f a u l t } ) , " u n d e f i n e d " ! = t y p e o f w i n d o w & & w i n d o w . V u e & & B ( w i n d o w . V u e ) , e . d e f a u l t = f u n c t i o n ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = n u l l ! = a r g u m e n t s [ e ] ? a r g u m e n t s [ e ] : { } ; e % 2 ? P ( n , ! 0 ) . f o r E a c h ( f u n c t i o n ( e ) { o ( ) ( t , e , n [ e ] ) } ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( n ) ) : P ( n ) . f o r E a c h ( f u n c t i o n ( e ) { O b j e c t . d e f i n e P r o p e r t y ( t , e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , e ) ) } ) } r e t u r n t } ( { i n s t a l l : B } , r ) } ] ) } ) } , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; t . e x p o r t s = f u n c t i o n ( t ) { v a r e = [ ] ; r e t u r n e . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( f u n c t i o n ( e ) { v a r n = f u n c t i o n ( t , e ) { v a r n = t [ 1 ] | | " " , r = t [ 3 ] ; i f ( ! r ) r e t u r n n ; i f ( e & & " f u n c t i o n " = = t y p e o f b t o a ) { v a r i = ( a = r , s = b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( a ) ) ) ) , c = " s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( s ) , " / * # " . c o n c a t ( c , " * / " ) ) , o = r . s o u r c e s . m a p ( f u n c t i o n ( t ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( r . s o u r c e R o o t ) . c o n c a t ( t , " * / " ) } ) ; r e t u r n [ n ] . c o n c a t ( o ) . c o n c a t ( [ i ] ) . j o i n ( " \ n " ) } v a r a , s , c ; r e t u r n [ n ] . j o i n ( " \ n " ) } ( e , t ) ; r e t u r n e [ 2 ] ? " @ m e d i a " . c o n c a t ( e [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) . j o i n ( " " ) } , e . i = f u n c t i o n ( t , n ) { " s t r i n g " = = t y p e o f t & & ( t = [ [ n u l l , t , " " ] ] ) ; f o r ( v a r r = { } , i = 0 ; i < t h i s . l e n g t h ; i + + ) { v a r o = t h i s [ i ] [ 0 ] ; n u l l ! = o & & ( r [ o ] = ! 0 ) } f o r ( v a r a = 0 ; a < t . l e n g t h ; a + + ) { v a r s = t [ a ] ; n u l l ! = s [ 0 ] & & r [ s [ 0 ] ] | | ( n & & ! s [ 2 ] ? s [ 2 ] = n : n & & ( s [ 2 ] = " ( " . c o n c a t ( s [ 2 ] , " ) a n d ( " ) . c o n c a t ( n , " ) " ) ) , e . p u s h ( s ) ) } } , e } } , f u n c t i o n ( t , e , n ) { v a r r , i , o = { } , a = ( r = f u n c t i o n ( ) { r e t u r n w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b } , f u n c t i o n ( ) { r e t u r n v o i d 0 = = = i & & ( i = r . a p p l y ( t h i s , a r g u m e n t s ) ) , i } ) , s = f u n c t i o n ( t ) { v a r e = { } ; r e t u r n f u n c t i o n ( t , n ) { i f ( " f u n c t i o n " = = t y p e o f t ) r e t u r n t ( ) ; i f ( v o i d 0 = = = e [ t ] ) { v a r r = f u n c t i o n ( t , e ) { r e t u r n e ? e . q u e r y S e l e c t o r ( t ) : d o c u m e n t . q u e r y S e l e c t o r ( t ) } . c a l l ( t h i s , t , n ) ; i f ( w i n d o w . H T M L I F r a m e E l e m e n t & & r i n s t a n c e o f w i n d o w . H T M L I F r a m e E l e m e n t ) t r y { r = r . c o n t e n t D o c u m e n t . h e a d } c a t c h ( t ) { r = n u l l } e [ t ] = r } r e t u r n e [ t ] } } ( ) , c = n u l l , u = 0 , l = [ ] , f = n ( 4 8 ) ; f u n c t i o n d ( t , e ) { f o r ( v a r n = 0 ; n < t . l e n g t h ; n + + ) { v a r r = t [ n ] , i = o [ r . i d ] ; i f ( i ) { i . r e f s + + ; f o r ( v a r a = 0 ; a < i . p a r t s . l e n g t h ; a + + ) i . p a r t s [ a ] ( r . p a r t s [ a ] ) ; f o r ( ; a < r . p a r t s . l e n g t h ; a + + ) i . p a r t s . p u s h ( g ( r . p a r t s [ a ] , e ) ) } e l s e { v a r s = [ ] ; f o r ( a = 0 ; a < r . p a r t s . l e n g t h ; a + + ) s . p u s h ( g ( r . p a r t s [ a ] , e ) ) ; o [ r . i d ] = { i d : r . i d , r e f s : 1 , p a r t s : s } } } } f u n c t i o n p ( t , e ) { f o r ( v a r n = [ ] , r = { } , i = 0 ; i < t . l e n g t h ; i + + ) { v a r o = t [ i ] , a = e . b a s e ? o [ 0 ] + e . b a s e : o [ 0 ] , s = { c s s : o [ 1 ] , m e d i a : o [ 2 ] , s o u r c e M a p : o [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } f u n c t i o n h ( t , e ) { v a r n = s ( t . i n s e r t I n t o ) ; i f ( ! n ) t h r o w n e w E r r o r ( " C o u l d n ' t f i n d a s t y l e t a r g e t . T h i s p r o b a b l y m e a n s t h a t t h e v a l u e f o r t h e ' i n s e r t I n t o ' p a r a m e t e r i s i n v a l i d . " ) ; v a r r = l [ l . l e n g t h - 1 ] ; i f ( " t o p " = = = t . i n s e r t A t ) r ? r . n e x t S i b l i n g ? n . i n s e r t B e f o r e ( e , r . n e x t S i b l i n g ) : n . a p p e n d C h i l d ( e ) : n . i n s e r t B e f o r e ( e , n . f i r s
2019-05-17 10:49:47 +03:00
/ * *
* @ license
* Lodash < https : //lodash.com/>
2019-07-11 02:20:56 +03:00
* Copyright OpenJS Foundation and other contributors < https : //openjsf.org/>
2019-05-17 10:49:47 +03:00
* Released under MIT license < https : //lodash.com/license>
* Based on Underscore . js 1.8 . 3 < http : //underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas , DocumentCloud and Investigative Reporters & Editors
2019-08-07 18:08:12 +03:00
* /(function(){var o,a=200,s="Unsupported core-js use. Try https:/ / npms . io / search ? q = ponyfill . ",c=" Expected a function ",u=" _ _lodash _hash _undefined _ _ ",l=500,f=" _ _lodash _placeholder _ _ ",d=1,p=2,h=4,v=1,m=2,A=1,g=2,y=4,b=8,_=16,w=32,x=64,T=128,k=256,C=512,E=30,S=" ... ",O=800,M=16,I=1,N=2,L=1/0,D=9007199254740991,P=17976931348623157e292,B=NaN,j=4294967295,R=j-1,U=j>>>1,$=[[" ary ",T],[" bind ",A],[" bindKey ",g],[" curry ",b],[" curryRight ",_],[" flip ",C],[" partial ",w],[" partialRight ",x],[" rearg ",k]],G=" [ object Arguments ] ",F=" [ object Array ] ",Y=" [ object AsyncFunction ] ",H=" [ object Boolean ] ",z=" [ object Date ] ",V=" [ object DOMException ] ",Q=" [ object Error ] ",W=" [ object Function ] ",q=" [ object GeneratorFunction ] ",J=" [ object Map ] ",Z=" [ object Number ] ",X=" [ object Null ] ",K=" [ object Object ] ",tt=" [ object Proxy ] ",et=" [ object RegExp ] ",nt=" [ object Set ] ",rt=" [ object String ] ",it=" [ object Symbol ] ",ot=" [ object Undefined ] ",at=" [ object WeakMap ] ",st=" [ object WeakSet ] ",ct=" [ object ArrayBuffer ] ",ut=" [ object DataView ] ",lt=" [ object Float32Array ] ",ft=" [ object Float64Array ] ",dt=" [ object Int8Array ] ",pt=" [ object Int16Array ] ",ht=" [ object Int32Array ] ",vt=" [ object Uint8Array ] ",mt=" [ object Uint8ClampedArray ] ",At=" [ object Uint16Array ] ",gt=" [ object Uint32Array ] ",yt=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,_t=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,xt=/[&<>" ']/g,Tt=RegExp(wt.source),kt=RegExp(xt.source),Ct=/<%-([\s\S]+?)%>/g,Et=/<%([\s\S]+?)%>/g,St=/<%=([\s\S]+?)%>/g,Ot=/\.|\[(?:[^[\]]*|(["' ] ) ( ? : ( ? ! \ 1 ) [ ^ \ \ ] | \ \ . ) * ? \ 1 ) \ ] / , Mt = /^\w*$/ , It = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g , Nt = /[\\^$.*+?()[\]{}|]/g , Lt = RegExp ( Nt . source ) , Dt = /^\s+|\s+$/g , Pt = /^\s+/ , Bt = /\s+$/ , jt = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/ , Rt = /\{\n\/\* \[wrapped with (.+)\] \*/ , Ut = /,? & / , $t = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g , Gt = /\\(\\)?/g , Ft = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g , Yt = /\w*$/ , Ht = /^[-+]0x[0-9a-f]+$/i , zt = /^0b[01]+$/i , Vt = /^\[object .+?Constructor\]$/ , Qt = /^0o[0-7]+$/i , Wt = /^(?:0|[1-9]\d*)$/ , qt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g , Jt = /($^)/ , Zt = /['\n\r\u2028\u2029\\]/g , Xt = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff" , Kt = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000" , te = "[\\ud800-\\udfff]" , ee = "[" + Kt + "]" , ne = "[" + Xt + "]" , re = "\\d+" , ie = "[\\u2700-\\u27bf]" , oe = "[a-z\\xdf-\\xf6\\xf8-\\xff]" , ae = "[^\\ud800-\\udfff" + Kt + re + "\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]" , se = "\\ud83c[\\udffb-\\udfff]" , ce = "[^\\ud800-\\udfff]" , ue = "(?:\\ud83c[\\udde6-\\uddff]){2}" , le = "[\\ud800-\\udbff][\\udc00-\\udfff]" , fe = "[A-Z\\xc0-\\xd6\\xd8-\\xde]" , de = "(?:" + oe + "|" + ae + ")" , pe = "(?:" + fe + "|" + ae + ")" , he = "(?:" + ne + "|" + se + ")" + "?" , ve = "[\\ufe0e\\ufe0f]?" + he + ( "(?:\\u200d(?:" + [ ce , ue , le ] . join ( "|" ) + ")[\\ufe0e\\ufe0f]?" + he + ")*" ) , me = "(?:" + [ ie , ue , le ] . join ( "|" ) + ")" + ve , Ae = "(?:" + [ ce + ne + "?" , ne , ue , le , te ] . join ( "|" ) + ")" , ge = RegExp ( "['’ ]" , "g" ) , ye = RegExp ( ne , "g" ) , be = RegExp ( se + "(?=" + se + ")|" + Ae + ve , "g" ) , _e = RegExp ( [ fe + "?" + oe + "+(?:['’ ](?:d|ll|m|re|s|t|ve))?(?=" + [ ee , fe , "$" ] . join ( "|" ) + ")" , pe + "+(?:['’ ](?:D|LL|M|RE|S|T|VE))?(?=" + [ ee , fe + de , "$" ] . join ( "|" ) + ")" , fe + "?" + de + "+(?:['’ ](?:d|ll|m|re|s|t|ve))?" , fe + "+(?:['’ ](?:D|LL|M|RE|S|T|VE))?" , "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])" , "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])" , re , me ] . join ( "|" ) , "g" ) , we = RegExp ( "[\\u200d\\ud800-\\udfff" + Xt + "\\ufe0e\\ufe0f]" ) , xe = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ , Te = [ "Array" , "Buffer" , "DataView" , "Date" , "Error" , "Float32Array" , "Float64Array" , "Function" , "Int8Array" , "Int16Array" , "Int32Array" , "Map" , "Math" , "Object" , "Promise" , "RegExp" , "Set" , "String" , "Symbol" , "TypeError" , "Uint8Array" , "Uint8ClampedArray" , "Uint16Array" , "Uint32Array" , "WeakMap" , "_" , "clearTimeout" , "isFinite" , "parseInt" , "setTimeout" ] , ke = - 1 , Ce = { } ; Ce [ lt ] = Ce [ ft ] = Ce [ dt ] = Ce [ pt ] = Ce [ ht ] = Ce [ vt ] = Ce [ mt ] = Ce [ At ] = Ce [ gt ] = ! 0 , Ce [ G ] = Ce [ F ] = Ce [ ct ] = Ce [ H ] = Ce [ ut ] = Ce [ z ] = Ce [ Q ] = Ce [ W ] = Ce [ J ] = Ce [ Z ] = Ce [ K ] = Ce [ et ] = Ce [ nt ] = Ce [
2019-02-26 21:43:59 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-07-05 16:06:01 +03:00
t . exports = function ( t ) { return null != t && null != t . constructor && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) , i = n ( 8 ) , o = n ( 28 ) , a = n ( 29 ) , s = n ( 13 ) ; function c ( t ) { this . defaults = t , this . interceptors = { request : new o , response : new o } } c . prototype . request = function ( t ) { "string" == typeof t ? ( t = arguments [ 1 ] || { } ) . url = arguments [ 0 ] : t = t || { } , ( t = s ( this . defaults , t ) ) . method = t . method ? t . method . toLowerCase ( ) : "get" ; var e = [ a , void 0 ] , n = Promise . resolve ( t ) ; for ( this . interceptors . request . forEach ( function ( t ) { e . unshift ( t . fulfilled , t . rejected ) } ) , this . interceptors . response . forEach ( function ( t ) { e . push ( t . fulfilled , t . rejected ) } ) ; e . length ; ) n = n . then ( e . shift ( ) , e . shift ( ) ) ; return n } , c . prototype . getUri = function ( t ) { return t = s ( this . defaults , t ) , i ( t . url , t . params , t . paramsSerializer ) . replace ( /^\?/ , "" ) } , r . forEach ( [ "delete" , "get" , "head" , "options" ] , function ( t ) { c . prototype [ t ] = function ( e , n ) { return this . request ( r . merge ( n || { } , { method : t , url : e } ) ) } } ) , r . forEach ( [ "post" , "put" , "patch" ] , function ( t ) { c . prototype [ t ] = function ( e , n , i ) { return this . request ( r . merge ( i || { } , { method : t , url : e , data : n } ) ) } } ) , t . exports = c } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) ; function i ( ) { this . handlers = [ ] } i . prototype . use = function ( t , e ) { return this . handlers . push ( { fulfilled : t , rejected : e } ) , this . handlers . length - 1 } , i . prototype . eject = function ( t ) { this . handlers [ t ] && ( this . handlers [ t ] = null ) } , i . prototype . forEach = function ( t ) { r . forEach ( this . handlers , function ( e ) { null !== e && t ( e ) } ) } , t . exports = i } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) , i = n ( 30 ) , o = n ( 9 ) , a = n ( 10 ) , s = n ( 37 ) , c = n ( 38 ) ; function u ( t ) { t . cancelToken && t . cancelToken . throwIfRequested ( ) } t . exports = function ( t ) { return u ( t ) , t . baseURL && ! s ( t . url ) && ( t . url = c ( t . baseURL , t . url ) ) , t . headers = t . headers || { } , t . data = i ( t . data , t . headers , t . transformRequest ) , t . headers = r . merge ( t . headers . common || { } , t . headers [ t . method ] || { } , t . headers || { } ) , r . forEach ( [ "delete" , "get" , "head" , "post" , "put" , "patch" , "common" ] , function ( e ) { delete t . headers [ e ] } ) , ( t . adapter || a . adapter ) ( t ) . then ( function ( e ) { return u ( t ) , e . data = i ( e . data , e . headers , t . transformResponse ) , e } , function ( e ) { return o ( e ) || ( u ( t ) , e && e . response && ( e . response . data = i ( e . response . data , e . response . headers , t . transformResponse ) ) ) , Promise . reject ( e ) } ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) ; t . exports = function ( t , e , n ) { return r . forEach ( n , function ( n ) { t = n ( t , e ) } ) , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) ; t . exports = function ( t , e ) { r . forEach ( t , function ( n , r ) { r !== e && r . toUpperCase ( ) === e . toUpperCase ( ) && ( t [ e ] = n , delete t [ r ] ) } ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 12 ) ; t . exports = function ( t , e , n ) { var i = n . config . validateStatus ; ! i || i ( n . status ) ? t ( n ) : e ( r ( "Request failed with status code " + n . status , n . config , null , n . request , n ) ) } } , function ( t , e , n ) { "use strict" ; t . exports = function ( t , e , n , r , i ) { return t . config = e , n && ( t . code = n ) , t . request = r , t . response = i , t . isAxiosError = ! 0 , t . toJSON = function ( ) { return { message : this . message , name : this . name , description : this . description , number : this . number , fileName : this . fileName , lineNumber : this . lineNumber , columnNumber : this . columnNumber , stack : this . stack , config : this . config , code : this . code } } , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) , i = [ "age" , "authorization" , "content-length" , "content-type" , "etag" , "expires" , "from" , "host" , "if-modified-since" , "if-unmodified-since" , "last-modified" , "location" , "max-forwards" , "proxy-authorization" , "referer" , "retry-after" , "user-agent" ] ; t . exports = function ( t ) { var e , n , o , a = { } ; return t ? ( r . forEach ( t . split ( "\n" ) , function ( t ) { if ( o = t . indexOf ( ":" ) , e = r . trim ( t . substr ( 0 , o ) ) . toLowerCase ( ) , n = r . trim ( t . substr ( o + 1 ) ) , e ) { if ( a [ e ] && i . indexOf ( e ) >= 0 ) return ; a [ e ] = "set-cookie" === e ? ( a [ e ] ? a [ e ] : [ ] ) . concat ( [ n ] ) : a [ e ] ? a [ e ] + ", " + n : n } } ) , a ) : a } } , function ( t , e , n ) { "use strict" ; var r = n ( 1 ) ; t . exports = r . isStandardBrowserEnv ( ) ? function ( ) { var t , e = /(msie|trident)/i . test ( navigator . userAgent ) , n = document . createElement ( "a" ) ; function i ( t ) { var r = t ; return e && ( n . setAttribute ( "href" , r ) , r = n . href ) , n . setAttribute ( "href" , r ) , { href : n . href , protocol : n . protocol ? n . protocol . replace ( /:$/ , "" ) : "" , host : n . host , search : n . search ? n . search . replace ( /^\?/ , "" ) : "" , hash : n . hash ? n . hash . replace ( /^#/ , "" ) : "" , hostname : n . hostname , port : n . port , pathname : "/" === n . pathname . charAt ( 0 ) ? n . pathname : "/" + n . pathname } } retur
2019-01-10 18:04:13 +03:00
/ *
* @ copyright 2019 Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ author 2019 Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ 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-06-04 14:50:12 +03:00
i . default . use ( s . a ) ; var h = { setEnforced : function ( t , e ) { i . default . set ( t , "enforced" , e ) } , setEnforcedGroups : function ( t , e ) { i . default . set ( t , "enforcedGroups" , e ) } , setExcludedGroups : function ( t , e ) { i . default . set ( t , "excludedGroups" , e ) } } , v = { save : function ( t ) { var e = t . commit ; return e ( "setEnabled" , ! 1 ) , generateCodes ( ) . then ( function ( t ) { var n = t . codes , r = t . state ; return e ( "setEnabled" , r . enabled ) , e ( "setTotal" , r . total ) , e ( "setUsed" , r . used ) , e ( "setCodes" , n ) , ! 0 } ) } } , m = new s . a . Store ( { strict : ! 1 , state : { enforced : ! 1 , enforcedGroups : [ ] , excludedGroups : [ ] } , mutations : h , actions : v } ) ; r . nc = btoa ( OC . requestToken ) , i . default . prototype . t = t , window . OC = window . OC || { } , window . OC . Settings = window . OC . Settings || { } , m . replaceState ( OCP . InitialState . loadState ( "settings" , "mandatory2FAState" ) ) , new ( i . default . extend ( p ) ) ( { store : m } ) . $mount ( "#two-factor-auth-settings" ) } ] ) ;
2019-08-07 18:08:12 +03:00
//# sourceMappingURL=vue-settings-admin-security.js.map?v=ebdaecd7a814db5fa314