2019-05-29 16:20:19 +03:00
! function ( t ) { var e = { } ; function n ( i ) { if ( e [ i ] ) return e [ i ] . exports ; var o = e [ i ] = { i : i , l : ! 1 , exports : { } } ; return t [ i ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = t , n . c = e , n . d = function ( t , e , i ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : i } ) } , 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 i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( i , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return i } , 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 = 64 ) } ( [ , function ( t , e , n ) { "use strict" ; var i = n ( 8 ) , o = n ( 24 ) , r = Object . prototype . toString ; function a ( t ) { return "[object Array]" === r . call ( t ) } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === r . call ( t ) } function l ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , a ( t ) ) for ( var n = 0 , i = t . length ; n < i ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var o in t ) Object . prototype . hasOwnProperty . call ( t , o ) && e . call ( null , t [ o ] , o , t ) } t . exports = { isArray : a , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === r . call ( t ) } , isBuffer : o , 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]" === r . call ( t ) } , isFile : function ( t ) { return "[object File]" === r . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === r . 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 ) && "undefined" != typeof window && "undefined" != typeof document } , forEach : l , merge : function t ( ) { var e = { } ; function n ( n , i ) { "object" == typeof e [ i ] && "object" == typeof n ? e [ i ] = t ( e [ i ] , n ) : e [ i ] = n } for ( var i = 0 , o = arguments . length ; i < o ; i ++ ) l ( arguments [ i ] , n ) ; return e } , extend : function ( t , e , n ) { return l ( e , function ( e , o ) { t [ o ] = n && "function" == typeof e ? i ( 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 ) {
2019-02-26 21:43:59 +03:00
/ * !
2019-04-11 21:11:18 +03:00
* Vue . js v2 . 6.10
2019-02-26 21:43:59 +03:00
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2019-05-26 04:14:09 +03:00
var i = Object . freeze ( { } ) ; function o ( t ) { return null == t } function r ( 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 l = Object . prototype . toString ; function u ( t ) { return "[object Object]" === l . call ( t ) } function d ( t ) { return "[object RegExp]" === l . call ( t ) } function f ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function p ( t ) { return r ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function h ( t ) { return null == t ? "" : Array . isArray ( t ) || u ( t ) && t . toString === l ? 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 ) , i = t . split ( "," ) , o = 0 ; o < i . length ; o ++ ) n [ i [ o ] ] = ! 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 w ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var _ = /-(\w)/g , x = w ( function ( t ) { return t . replace ( _ , function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) } ) , T = w ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) , C = /\B([A-Z])/g , k = w ( function ( t ) { return t . replace ( C , "-$1" ) . toLowerCase ( ) } ) ; var E = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var i = arguments . length ; return i ? i > 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 , i = new Array ( n ) ; n -- ; ) i [ n ] = t [ n + e ] ; return i } function O ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function N ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && O ( e , t [ n ] ) ; return e } function M ( t , e , n ) { } var I = function ( t , e , n ) { return ! 1 } , P = function ( t ) { return t } ; function L ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , i = c ( e ) ; if ( ! n || ! i ) return ! n && ! i && String ( t ) === String ( e ) ; try { var o = Array . isArray ( t ) , r = Array . isArray ( e ) ; if ( o && r ) return t . length === e . length && t . every ( function ( t , n ) { return L ( t , e [ n ] ) } ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || r ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( function ( n ) { return L ( t [ n ] , e [ n ] ) } ) } catch ( t ) { return ! 1 } } function D ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( L ( t [ n ] , e ) ) return n ; return - 1 } function B ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var R = "data-server-rendered" , j = [ "component" , "directive" , "filter" ] , $ = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , U = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : I , isReservedAttr : I , isUnknownElement : I , getTagNamespace : M , parsePlatformTagName : P , mustUseProp : I , async : ! 0 , _lifecycleHooks : $ } , F = /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 G ( t , e , n , i ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! i , writable : ! 0 , configurable : ! 0 } ) } var Y = new RegExp ( "[^" + F . 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 ) , X = q && q . indexOf ( "msie 9.0" ) > 0 , Z = 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 it = { } ; Object . defineProperty ( it , "passive" , { get : function ( ) { nt = ! 0 } } ) , window . addEventListener ( "test-passive" , null , it ) } catch ( t ) { } var ot = function ( ) { return void 0 === H && ( H = ! V && ! Q && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , H } , rt = V && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function at ( t ) { retur
2019-05-17 10:49:47 +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/>.
*
* /
i . a . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2535e10" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , e . default = i . a } , function ( t , e ) { function n ( t ) { return "function" == typeof t . value || ( console . warn ( "[Vue-click-outside:] provided expression" , t . expression , "is not a function." ) , ! 1 ) } function i ( t ) { return void 0 !== t . componentInstance && t . componentInstance . $isServer } t . exports = { bind : function ( t , e , o ) { function r ( e ) { if ( o . context ) { var n = e . path || e . composedPath && e . composedPath ( ) ; n && n . length > 0 && n . unshift ( e . target ) , t . contains ( e . target ) || function ( t , e ) { if ( ! t || ! e ) return ! 1 ; for ( var n = 0 , i = e . length ; n < i ; n ++ ) try { if ( t . contains ( e [ n ] ) ) return ! 0 ; if ( e [ n ] . contains ( t ) ) return ! 1 } catch ( t ) { return ! 1 } return ! 1 } ( o . context . popupItem , n ) || t . _ _vueClickOutside _ _ . callback ( e ) } } n ( e ) && ( t . _ _vueClickOutside _ _ = { handler : r , callback : e . value } , ! i ( o ) && document . addEventListener ( "click" , r ) ) } , update : function ( t , e ) { n ( e ) && ( t . _ _vueClickOutside _ _ . callback = e . value ) } , unbind : function ( t , e , n ) { ! i ( n ) && document . removeEventListener ( "click" , t . _ _vueClickOutside _ _ . handler ) , delete t . _ _vueClickOutside _ _ } } } , function ( t , e ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( t ) { "object" == typeof window && ( n = window ) } t . exports = n } , function ( t , e , n ) { "use strict" ; var i = n ( 4 ) , o = n . n ( i ) ;
/ * *
* @ 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 = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 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 ) { n . d ( e , " a " , f u n c t i o n ( ) { r e t u r n N e } ) ; v a r i = n ( 1 0 ) , o = n ( 2 1 ) ; f u n c t i o n r ( t ) { r e t u r n ( r = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } f u n c t i o n a ( t , e ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r i = e [ n ] ; i . e n u m e r a b l e = i . e n u m e r a b l e | | ! 1 , i . c o n f i g u r a b l e = ! 0 , " v a l u e " i n i & & ( i . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( t , i . k e y , i ) } } f u n c t i o n s ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ e ] = n , t } f u n c t i o n c ( 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 ] : { } , i = O b j e c t . k e y s ( n ) ; " f u n c t i o n " = = t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s & & ( i = i . c o n c a t ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( n ) . f i l t e r ( f u n c t i o n ( t ) { r e t u r n 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 , t ) . e n u m e r a b l e } ) ) ) , i . f o r E a c h ( f u n c t i o n ( e ) { s ( t , e , n [ e ] ) } ) } r e t u r n t } v a r l = f u n c t i o n ( ) { } ; f u n c t i o n u ( t ) { r e t u r n " s t r i n g " = = t y p e o f t & & ( t = t . s p l i t ( " " ) ) , t } f u n c t i o n d ( t , e ) { v a r n , i = u ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f l ? u ( t . c l a s s N a m e . b a s e V a l ) : u ( t . c l a s s N a m e ) , i . f o r E a c h ( f u n c t i o n ( t ) { - 1 = = = n . i n d e x O f ( t ) & & n . p u s h ( t ) } ) , t i n s t a n c e o f S V G E l e m e n t ? t . s e t A t t r i b u t e ( " c l a s s " , n . j o i n ( " " ) ) : t . c l a s s N a m e = n . j o i n ( " " ) } f u n c t i o n f ( t , e ) { v a r n , i = u ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f l ? u ( t . c l a s s N a m e . b a s e V a l ) : u ( t . c l a s s N a m e ) , i . f o r E a c h ( f u n c t i o n ( t ) { v a r e = n . i n d e x O f ( t ) ; - 1 ! = = e & & n . s p l i c e ( e , 1 ) } ) , t i n s t a n c e o f S V G E l e m e n t ? t . s e t A t t r i b u t e ( " c l a s s " , n . j o i n ( " " ) ) : t . c l a s s N a m e = n . j o i n ( " " ) } " u n d e f i n e d " ! = t y p e o f w i n d o w & & ( l = w i n d o w . S V G A n i m a t e d S t r i n g ) ; v a r p = ! 1 ; i f ( " u n d e f i n e d " ! = t y p e o f w i n d o w ) { p = ! 1 ; t r y { v a r h = O b j e c t . d e f i n e P r o p e r t y ( { } , " p a s s i v e " , { g e t : f u n c t i o n ( ) { p = ! 0 } } ) ; w i n d o w . a d d E v e n t L i s t e n e r ( " t e s t " , n u l l , h ) } c a t c h ( t ) { } } v a r v = { c o n t a i n e r : ! 1 , d e l a y : 0 , h t m l : ! 1 , p l a c e m e n t : " t o p " , t i t l e : " " , t e m p l a t e : ' < d i v c l a s s = " t o o l t i p " r o l e = " t o o l t i p " > < d i v c l a s s = " t o o l t i p - a r r o w " > < / d i v > < d i v c l a s s = " t o o l t i p - i n n e r " > < / d i v > < / d i v > ' , t r i g g e r : " h o v e r f o c u s " , o f f s e t : 0 } , m = [ ] , A = f u n c t i o n ( ) { f u n c t i o n t ( e , n ) { v a r i = t h i s ; ! f u n c t i o n ( t , e ) { i f ( ! ( t i n s t a n c e o f e ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , t ) , s ( t h i s , " _ e v e n t s " , [ ] ) , s ( t h i s , " _ s e t T o o l t i p N o d e E v e n t " , f u n c t i o n ( t , e , n , o ) { v a r r = t . r e l a t e d r e f e r e n c e | | t . t o E l e m e n t | | t . r e l a t e d T a r g e t ; r e t u r n ! ! i . _ t o o l t i p N o d e . c o n t a i n s ( r ) & & ( i . _ t o o l t i p N o d e . a d d E v e n t L i s t e n e r ( t . t y p e , f u n c t i o n n ( r ) { v a r a = r . r e l a t e d r e f e r e n c e | | r . t o E l e m e n t | | r . r e l a t e d T a r g e t ; i . _ t o o l t i p N o d e . r e m o v e E v e n t L i s t e n e r ( t . t y p e , n ) , e . c o n t a i n s ( a ) | | i . _ s c h e d u l e H i d e ( e , o . d e l a y , o , r ) } ) , ! 0 ) } ) , n = c ( { } , v , n ) , e . j q u e r y & & ( e = e [ 0 ] ) , t h i s . s h o w = t h i s . s h o w . b i n d ( t h i s ) , t h i s . h i d e = t h i s . h i d e . b i n d ( t h i s ) , t h i s . r e f e r e n c e = e , t h i s . o p t i o n s = n , t h i s . _ i s O p e n = ! 1 , t h i s . _ i n i t ( ) } v a r e , n ; r e t u r n e = t , ( n = [ { k e y : " s h o w " , v a l u e : f u n c t i o n ( ) { t h i s . _ s h o w ( t h i s . r e f e r e n c e , t h i s . o p t i o n s ) } } , { k e y : " h i d e " , v a l u e : f u n c t i o n ( ) { t h i s . _ h i d e ( ) } } , { k e y : " d i s p o s e " , v a l u e : f u n c t i o n ( ) { t h i s . _ d i s p o s e ( ) } } , { k e y : " t o g g l e " , v a l u e : f u n c t i o n ( ) { r e t u r n t h i s . _ i s O p e n ? t h i s . h i d e ( ) : t h i s . s h o w ( ) } } , { k e y : " s e t C l a s s e s " , v a l u e : f u n c t i o n ( t ) { t h i s . _ c l a s s e s = t } } , { k e y : " s e t C o n t e n t " , v a l u e : f u n c t i o n ( t ) { t h i s . o p t i o n s . t i t l e = t , t h i s . _ t o o l t i p N o d e & & t h i s . _ s e t C o n t e n t ( t , t h i s . o p t i o n s ) } } , { k e y : " s e t O p t i o n s " , v a l u e : f u n c t i o n ( t ) { v a r e = ! 1 , n = t & & t . c l a s s e s | | k . o p t i o n s . d e f a u l t C l a s s ; t h i s . _ c l a s s e s ! = = n & & ( t h i s . s e t C l a s s e s ( n ) , e = ! 0 ) , t = w ( t ) ; v a r i = ! 1 , o = ! 1 ; f o r ( v a r r i n t h i s . o p t i o n s . o f f s e t = = = t . o f f s e t & & t h i s . o p t i o n s . p l a c e m e n t = = = t . p l a c e m e n t | | ( i = ! 0 ) , ( t h i s . o p t i o n s . t e m p l a t e ! = = t . t e m p l a t e | | t h i s . o p t i o n s . t r i g g e r ! = = t . t r i g g e r | | t h i s . o p t i o n s . c o n t a i n e r ! = = t . c o n t a i n e r | | e ) & & ( o = ! 0 ) , t ) t h i s . o p t i o n s [ r ] = t [ r ] ; i f ( t h i s . _ t o o l t i p N o d e ) i f ( o ) { v a r a = t h i s . _ i s O p e n ; t h i s . d i s p o s e ( ) , t h i s . _ i n i t ( ) , a & & t h i s . s h o w ( ) } e l s e i & & t h i s . p o p p e r I n s t a n c e . u p d a t e ( ) } } , { k e y : " _ i n i t " , v a l u e : f u n c t i o n ( ) { v a r t = " s t r i n g " = = t y p e o f t h i s . o p t i o n s . t r i g g e r ? t h i s .
2019-04-15 11:36:53 +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-05-17 10:49:47 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , i = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , r = 0 ; r < i . length ; r += 1 ) if ( n && navigator . userAgent . indexOf ( i [ r ] ) >= 0 ) { o = 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 ( ) } , o ) ) } } ; 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 l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function u ( 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 , i = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + i ) ? t : u ( l ( t ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , f = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? d : 10 === t ? f : d || f } 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 i = n && n . nodeName ; return i && "BODY" !== i && "HTML" !== i ? - 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 , i = n ? t : e , o = n ? e : t , r = document . createRange ( ) ; r . setStart ( i , 0 ) , r . setEnd ( o , 0 ) ; var a , s , c = r . commonAncestorContainer ; if ( t !== c && e !== c || i . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( c ) : c ; var l = v ( t ) ; return l . host ? m ( l . 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 i = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || i ) [ e ] } return t [ e ] } function g ( t , e ) { var n = "x" === e ? "Left" : "Top" , i = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + i + "Width" ] , 10 ) } function y ( t , e , n , i ) { 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 ( i [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( i [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , i = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , i ) , width : y ( "Width" , e , n , i ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , _ = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( t , i . key , i ) } } return function ( e , n , i ) { return n && t ( e . prototype , n ) , i && t ( e , i ) , 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 i in n ) Object . prototype . hasOwnProperty . call ( n , i ) && ( t [ i ] = n [ i ] ) } return t } ; function C ( t ) { return T ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function k ( t ) { var e = { } ; try { if ( p ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = A ( t , "top" ) , i = A ( t , "left" ) ; e . top += n , e . left += i , e . bottom += n , e . right += i } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , r = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , a = r . width || t . clientWidth || o . right - o . left , s = r . height || t . clientHeight || o . bottom - o . top , l = t . offsetWidth - a , u = t . offsetHeight - s ; if ( l || u ) { var d = c ( t ) ; l -= g ( d , "x" ) , u -= g ( d , "y" ) , o . width -= l , o . height -= u } return C ( o ) } function E ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , i = p ( 10 ) , o = "HTML" === e . nodeName , r = k ( t ) , a = k ( e ) , s = u ( t ) , l = c ( e ) , d = parseFloat ( l . borderTopWidth , 10 ) , f = parseFloat ( l . borderLeftWidth , 10 ) ; n && o && ( a . top = Math . max ( a . top , 0
/ * *
* @ 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 : [ i . 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 , n ) { " u s e s t r i c t " ;
/ * *
* @ 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/>.
*
* /e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + /g,"").substr(0,t||5)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return o});var i=void 0;var o={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&&(!i&&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,i=-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 i=t.indexOf(" Edge / ");return i>0?parseInt(t.substring(i+5,t.indexOf(" . ",i)),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 ",i&&this.$el.appendChild(e),e.data=" about : blank ",i||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}},r={version:" 0.4 . 5 ",install:function(t){t.component(" resize - observer ",o),t.component(" ResizeObserver ",o)}},a=null;" undefined "!=typeof window?a=window.Vue:void 0!==t&&(a=t.Vue),a&&a.use(r)}).call(this,n(7))},function(t,e,n){var i=n(68);" string "==typeof i&&(i=[[t.i,i," "]]),i.locals&&(t.exports=i.locals),(0,n(2).default)(" 78 c7dee6 ",i,!0,{})},function(t,e,n){" use strict ";n.r(e);var i={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)}}},o=(n(33),n(35),n(0)),r={name:"PopoverMenu",components:{PopoverMenuItem:Object(o.a)(i,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,a
2019-02-26 21:43:59 +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
e . default = a } , function ( t , e , n ) { "use strict" ;
2019-02-26 21:43:59 +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
* / e . a = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " 2 5 3 5 e 1 0 " ) , " " ) } ) } } , f u n c t i o n ( t , e , n ) { v a r i = n ( 7 1 ) ; " s t r i n g " = = t y p e o f i & & ( i = [ [ t . i , i , " " ] ] ) , i . l o c a l s & & ( t . e x p o r t s = i . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 5 e f b 9 1 1 " , i , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r i = n ( 7 3 ) ; " s t r i n g " = = t y p e o f i & & ( i = [ [ t . i , i , " " ] ] ) , i . l o c a l s & & ( t . e x p o r t s = i . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 1 4 6 b d 6 9 " , i , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r i = n ( 9 5 ) ; " s t r i n g " = = t y p e o f i & & ( i = [ [ t . i , i , " " ] ] ) , i . l o c a l s & & ( t . e x p o r t s = i . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " c 2 3 d 7 4 a 2 " , i , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r i = n ( 6 ) , o = n . n ( i ) , r = n ( 5 ) , a = n ( 2 0 ) , s = n ( 4 ) , c = n . n ( s ) , l = f u n c t i o n ( t , e ) { t . $ c h i l d r e n . f o r E a c h ( f u n c t i o n ( n , i ) { - 1 = = = e . i n d e x O f ( n . $ o p t i o n s . n a m e ) & & ( c . a . u t i l . w a r n ( " " . c o n c a t ( n . $ o p t i o n s . _ c o m p o n e n t T a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( t . $ o p t i o n s . _ c o m p o n e n t T a g , " c o m p o n e n t " ) , t ) , t . $ c h i l d r e n . s p l i c e ( i , 1 ) , n . $ e l . r e m o v e ( ) ) } ) } , u = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R o u t e r " , " A c t i o n T e x t " ] , d = { n a m e : " A c t i o n s " , d i r e c t i v e s : { C l i c k O u t s i d e : o . a , t o o l t i p : r . d e f a u l t } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u A l i g n : { t y p e : S t r i n g , d e f a u l t : " c e n t e r " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " l e f t " , " c e n t e r " , " r i g h t " ] . i n d e x O f ( t ) > - 1 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( a . a ) ( ) , o f f s e t X : 0 } } , c o m p u t e d : { i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n E l e m e n t : f u n c t i o n ( ) { s w i t c h ( t h i s . f i r s t A c t i o n . $ o p t i o n s . n a m e ) { c a s e " A c t i o n L i n k " : r e t u r n { i s : " a " , h r e f : t h i s . f i r s t A c t i o n . h r e f , t a r g e t : t h i s . f i r s t A c t i o n . t a r g e t } ; c a s e " A c t i o n R o u t e r " : r e t u r n { i s : " r o u t e r - l i n k " , t o : t h i s . f i r s t A c t i o n . t o , e x a c t : t h i s . f i r s t A c t i o n . e x a c t } ; d e f a u l t : r e t u r n { i s : " b u t t o n " } } } , f i r s t A c t i o n E v e n t : f u n c t i o n ( ) { r e t u r n t h i s . f i r s t A c t i o n & & t h i s . f i r s t A c t i o n . $ l i s t e n e r s & & t h i s . f i r s t A c t i o n . $ l i s t e n e r s . c l i c k ? " c l i c k " : n u l l } } , w a t c h : { o p e n : f u n c t i o n ( t ) { v a r e = t h i s ; t h i s . o p e n e d = t , t h i s . o p e n e d & & t h i s . $ n e x t T i c k ( f u n c t i o n ( ) { e . o n O p e n ( ) } ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , l ( t h i s , u ) } , m o u n t e d : f u n c t i o n ( ) { t h i s . p o p u p I t e m = t h i s . $ e l } , b e f o r e U p d a t e : f u n c t i o n ( ) { l ( t h i s , u ) } , m e t h o d s : { t o g g l e M e n u : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . o p e n e d = ! t h i s . o p e n e d , t h i s . o p e n e d & & t h i s . $ n e x t T i c k ( f u n c t i o n ( ) { t . o n O p e n ( ) , t . f o c u s F i r s t A c t i o n ( ) } ) , t h i s . $ e m i t ( " u p d a t e : o p e n " , t h i s . o p e n e d ) } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o f f s e t X = 0 , t h i s . o p e n e d = ! 1 , t h i s . $ e m i t ( " u p d a t e : o p e n " , t h i s . o p e n e d ) } , o n O p e n : f u n c t i o n ( ) { t h i s . o f f s e t X = 0 ; v a r t = f u n c t i o n ( t ) { v a r e = t . g e t B o u n d i n g C l i e n t R e c t ( ) , n = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t , i = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , o = O b j e c t . a s s i g n ( { } ) ; r e t u r n o . t o p = e . t o p < 0 , o . l e f t = e . l e f t < 0 , o . b o t t o m = e . b o t t o m > n , o . r i g h t = e . r i g h t > i , o . a n y = o . t o p | | o . l e f t | | o . b o t t o m | | o . r i g h t , o . a l l = o . t o p & & o . l e f t & & o . b o t t o m & & o . r i g h t , o . o f f s e t Y = o . t o p ? e . t o p : o . b o t t o m ? e . b o t t o m - n : 0 , o . o f f s e t X = o . l e f t ? e . l e f t : o . r i g h t ? e . r i g h t - i : 0 , o } ( t h i s . $ r e f s . m e n u ) ; t . a n y & & ( t h i s . o f f s e t X = t . o f f s e t X > 0 ? M a t h . r o u n d ( t . o f f s e t X ) + 5 : M a t h . r o u n d ( t . o f f s e t X ) - 5 ) } , u n F o c u s : f u n c t i o n ( ) { t h i s . $ r e f s . m e n u . f o c u s ( ) , t h i s . r e m o v e C u r r e n t A c t i v e ( ) } , r e m o v e C u r r e n t A c t i v e : f u n c t i o n ( ) { v a r t = t h i s . $ r e f s . m e n u . q u e r y S e l e c t o r ( " l i . a c t i v e " ) ; t & & t . c l a s s L i s t . r e m o v e ( " a c t i v e " ) } , f o c u s A c t i o n : f u n c t i o n ( ) { v a r t = t h i s . $ r e f s . m e n u . q u e r y S e l e c t o r A l l ( " . f o c u s a b l e : n o t ( : d i s a b l e d ) " ) [ t h i s . f o c u s I n d e x ] ; i f ( t ) { v a r e = t . c l o s e s t ( " l i " ) ; t . f o c u s ( ) , e & & ( t h i s . r e m o v e C u r r e n t A c t i v e ( ) , e . c l a s s L i s t . a d d ( " a c t i v e " ) ) } } , f o c u s P r e v i o u s A c t i o n : f u n c t i o n ( ) { t h i s . f o c u s I n d e x = M a t h . m a x ( t h i s . f o c u s I n d e x - 1 , 0 ) , t h i s . f o c u s A c t i o n ( ) } , f o c u s N e x t A c t i o n : f u n c t i o n ( ) { t h i s . f o c u s I n d e x = M a t h . m i n ( t h i s . f o c u s I n d e x + 1 , t h i s . $ e l . q u e r y S e l e c t o r A l l ( " . f o c u s a b l e : n o t ( : d i s a b l e d ) " ) . l e n g t h - 1 ) , t h i s . f o c u s A c t i o n ( ) } , f o c u s F i r s t A c t i o n : f u n c t i o n ( ) { t h i s . f o c u s I n d e x = 0 , t h i s . f o c u s A c t i o n ( ) } , f o c u s L a s t A c t i o n : f u n c t i o n ( ) { t h i s . f o c u s I n d e x = t h i s . $ e l . q u e r y S e l e c t o r A l l ( " . f o c u s a b l e : n o t ( : d i s a b l e d ) " ) . l e n g t h - 1 , t h i s . f o c u s A c t i o n ( ) } , e x e c F i r s t A c t i o n : f u n c t i o n ( t ) { t h i s . f i r s t A c t i o n . $ l i s t e n e r s & & t h i s . f i r s t A c t i o n . $ l i s t e n e r s . c l i c k & & ( t h i s . f i r s t A c t i o n . $ l i s t e n e r s . c l i c k ( t ) , t . p r e v e n t D e f a u l t ( ) ) } , i n i t A c t i o n s : f u n c t i o n ( ) { t h i s . a c t i o n s = t h i s . $ c h i l d r e n | | [ ] } } } , f = ( n ( 6 7 ) , n ( 0 ) ) , p = O b j e c t ( f . a ) ( d , 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 t . i s V a l i d S i n g l e A c t i o n ? n ( " e l e m e n t " , t . _ b ( { d i r e c t i v e s : [ { n a m
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-02-26 21:43:59 +03:00
*
2019-05-17 10:49:47 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-02-26 21:43:59 +03:00
*
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-02-26 21:43:59 +03:00
*
* /
2019-05-17 10:49:47 +03:00
e . default = p } , function ( t , e , n ) { var i = n ( 30 ) ; "string" == typeof i && ( i = [ [ t . i , i , "" ] ] ) , i . locals && ( t . exports = i . locals ) , ( 0 , n ( 2 ) . default ) ( "cb7584ea" , i , ! 0 , { } ) } , 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 /* popovermenu arrow width from the triangle center */ \ n /* opacities */ \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n . vue - tooltip [ data - v - 2535e10 ] { \ n position : absolute ; \ n z - index : 100000 ; \ n right : auto ; \ n left : auto ; \ n display : block ; \ n margin : 0 ; \ n /* default to top */ \ n margin - top : - 3 px ; \ n padding : 10 px 0 ; \ n text - align : left ; \ n text - align : start ; \ n white - space : normal ; \ n text - decoration : none ; \ n letter - spacing : normal ; \ n word - spacing : normal ; \ n text - transform : none ; \ n word - wrap : normal ; \ n word - break : normal ; \ n opacity : 0 ; \ n text - shadow : none ; \ n font - family : 'Nunito' , 'Open Sans' , Frutiger , Calibri , 'Myriad Pro' , Myriad , sans - serif ; \ n font - size : 12 px ; \ n font - weight : normal ; \ n font - style : normal ; \ n line - height : 1.6 ; \ n line - break : auto ; \ n filter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ x - placement ^= 'top' ] . tooltip - arrow { \ n bottom : 0 ; \ n left : calc ( 50 % - 10 px ) ! important ; \ n margin - top : 0 ; \ n margin - bottom : 0 ; \ n border - width : 10 px 10 px 0 10 px ; \ n border - right - color : transparent ; \ n border - bottom - color : transparent ; \ n border - left - color : transparent ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ x - placement ^= 'bottom' ] . tooltip - arrow { \ n top : 0 ; \ n left : calc ( 50 % - 10 px ) ! important ; \ n margin - top : 0 ; \ n margin - bottom : 0 ; \ n border - width : 0 10 px 10 px 10 px ; \ n border - top - color : transparent ; \ n border - right - color : transparent ; \ n border - left - color : transparent ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ x - placement ^= 'right' ] . tooltip - arrow { \ n top : calc ( 50 % - 10 px ) ! important ; \ n right : 100 % ; \ n margin - right : 0 ; \ n margin - left : 0 ; \ n border - width : 10 px 10 px 10 px 0 ; \ n border - top - color : transparent ; \ n border - bottom - color : transparent ; \ n border - left - color : transparent ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ x - placement ^= 'left' ] . tooltip - arrow { \ n top : calc ( 50 % - 10 px ) ! important ; \ n left : 100 % ; \ n margin - right : 0 ; \ n margin - left : 0 ; \ n border - width : 10 px 0 10 px 10 px ; \ n border - top - color : transparent ; \ n border - right - color : transparent ; \ n border - bottom - color : transparent ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ aria - hidden = 'true' ] { \ n visibility : hidden ; \ n transition : opacity . 15 s , visibility . 15 s ; \ n opacity : 0 ; } \ n . vue - tooltip [ data - v - 2535e10 ] [ aria - hidden = 'false' ] { \ n visibility : visible ; \ n transition : opacity . 15 s ; \ n opacity : 1 ; } \ n . vue - tooltip [ data - v - 2535e10 ] . tooltip - inner { \ n max - width : 350 px ; \ n padding : 5 px 8 px ; \ n text - a
/ * ! 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(o,r,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=r.createElement("div"),d="function",f=Math.round,p=Math.abs,h=Date.now;function v(t,e,n){return setTimeout(_(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(A(t,n[e],n),!0)}function A(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function g(t,e,n){var i="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" , r = o . console && ( o . console . warn || o . console . log ) ; return r && r . call ( o . console , i , 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 i = arguments [ n ] ; if ( i !== s && null !== i ) for ( var o in i ) i . hasOwnProperty ( o ) && ( e [ o ] = i [ o ] ) } return e } : Object . assign ; var y = g ( function ( t , e , n ) { for ( var i = Object . keys ( e ) , o = 0 ; o < i . length ; ) ( ! n || n && t [ i [ o ] ] === s ) && ( t [ i [ o ] ] = e [ i [ o ] ] ) , o ++ ; return t } , "extend" , "Use `assign`." ) , b = g ( function ( t , e ) { return y ( t , e , ! 0 ) } , "merge" , "Use `assign`." ) ; function w ( t , e , n ) { var i , o = e . prototype ; ( i = t . prototype = Object . create ( o ) ) . constructor = t , i . _super = o , n && c ( i , n ) } function _ ( t , e ) { return function ( ) { return t . apply ( e , arguments ) } } function x ( t , e ) { return typeof t == d ? t . apply ( e && e [ 0 ] || s , e ) : t } function T ( t , e ) { return t === s ? e : t } function C ( t , e , n ) { A ( O ( e ) , function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) } function k ( 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 N ( t , e , n ) { if ( t . indexOf && ! n ) return t . indexOf ( e ) ; for ( var i = 0 ; i < t . length ; ) { if ( n && t [ i ] [ n ] == e || ! n && t [ i ] === e ) return i ; i ++ } return - 1 } function M ( t ) { return Array . prototype . slice . call ( t , 0 ) } function I ( t , e , n ) { for ( var i = [ ] , o = [ ] , r = 0 ; r < t . length ; ) { var a = e ? t [ r ] [ e ] : t [ r ] ; N ( o , a ) < 0 && i . push ( t [ r ] ) , o [ r ] = a , r ++ } return n && ( i = e ? i . sort ( function ( t , n ) { return t [ e ] > n [ e ] } ) : i . sort ( ) ) , i } function P ( t , e ) { for ( var n , i , o = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , r = 0 ; r < l . length ; ) { if ( ( i = ( n = l [ r ] ) ? n + o : e ) in t ) return i ; r ++ } return s } var L = 1 ; function D ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || o } var B = "ontouchstart" in o , R = P ( o , "PointerEvent" ) !== s , j = B && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , $ = 25 , U = 1 , F = 4 , G = 8 , Y = 1 , H = 2 , z = 4 , V = 8 , Q = 16 , W = H | z , q = V | Q , J = W | q , X = [ "x" , "y" ] , Z = [ "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 i = n . pointers . length , o = n . changedPointers . length , r = e & U && i - o == 0 , a = e & ( F | G ) && i - o == 0 ; n . isFirst = ! ! r , n . isFinal = ! ! a , r && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , i = e . pointers , o = i . length ; n . firstInput || ( n . firstInput = et ( e ) ) , o > 1 && ! n . firstMultiple ? n . firstMultiple = et ( e ) : 1 === o && ( n . firstMultiple = ! 1 ) ; var r = n . firstInput , a = n . firstMultiple , c = a ? a . center : r . center , l = e . center = nt ( i ) ; e . timeStamp = h ( ) , e . deltaTime = e . timeStamp - r . timeStamp , e . angle = at ( c , l ) , e . distance = rt ( c , l ) , function ( t , e ) { var n = e . center , i = t . offsetDelta || { } , o = t . prevDelta || { } , r = t . prevInput || { } ; e . eventType !== U && r . eventType !== F || ( o = t . prevDelta = { x : r . deltaX || 0 , y : r . deltaY || 0 } , i = t . offsetDelta = { x : n . x , y : n . y } ) , e . deltaX = o . x + ( n . x - i . x ) , e . deltaY = o . y + ( n . y - i . y ) } ( n , e ) , e . offsetDirection = ot ( e . deltaX , e . deltaY ) ; var u , d , f = it ( e . deltaTime , e . deltaX , e . deltaY ) ; e . overallVelocityX = f . x , e . overallVelocityY = f . y , e . overallVelocity = p ( f . x ) > p ( f . y ) ? f . x : f . y , e . scale = a ? ( u = a . pointers , rt ( ( d = i ) [ 0 ] , d [ 1 ] , Z ) / rt ( u [ 0 ] , u [ 1 ] , Z ) ) : 1 , e . rotation = a ? function ( t , e ) { return at ( e [ 1 ] , e [ 0 ] , Z ) + at ( t [ 1 ] , t [ 0 ] , Z ) } ( a . pointers , i ) : 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 , i , o , r , a = t . lastInterval || e , c = e . timeSt
2019-02-26 21:43:59 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2019-05-17 10:49:47 +03:00
e . default = h } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { name : "ActionButton" , mixins : [ n ( 19 ) . a ] , props : { disabled : { type : Boolean , default : ! 1 } } } , o = ( n ( 70 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 , "82f09c54" , null ) . exports ; n . d ( e , "ActionButton" , function ( ) { return r } ) ,
2019-02-26 21:43:59 +03:00
/ * *
2019-05-17 10:49:47 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-02-26 21:43:59 +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
* 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
e . default = r } , function ( t , e , n ) { window , t . exports = function ( t ) { var e = { } ; function n ( i ) { if ( e [ i ] ) return e [ i ] . exports ; var o = e [ i ] = { i : i , l : ! 1 , exports : { } } ; return t [ i ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = t , n . c = e , n . d = function ( t , e , i ) { n . o ( t , e ) || Object . defineProperty ( t , e , { configurable : ! 1 , enumerable : ! 0 , get : i } ) } , 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 i ; ! function ( o ) { "use strict" ; var r = { } , 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 , l = /\[([^]*?)\]/gm , u = function ( ) { } ; function d ( t , e ) { for ( var n = [ ] , i = 0 , o = t . length ; i < o ; i ++ ) n . push ( t [ i ] . substr ( 0 , e ) ) ; return n } function f ( t ) { return function ( e , n , i ) { var o = i [ t ] . indexOf ( n . charAt ( 0 ) . toUpperCase ( ) + n . substr ( 1 ) . toLowerCase ( ) ) ; ~ o && ( e . month = o ) } } 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 = d ( v , 3 ) , A = d ( h , 3 ) ; r . 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 , u ] , ddd : [ c , u ] , MMM : [ c , f ( "monthNamesShort" ) ] , MMMM : [ c , f ( "monthNames" ) ] , a : [ c , function ( t , e , n ) { var i = e . toLowerCase ( ) ; i === n . amPm [ 0 ] ? t . isPm = ! 1 : i === n . amPm [ 1 ] && ( t . isPm = ! 0 ) } ] , ZZ : [ /([\+\-]\d\d:?\d\d|Z)/ , function ( t , e ) { "Z" === e && ( e = "+00:00" ) ; var n , i = ( e + "" ) . match ( /([\+\-]|\d\d)/gi ) ; i && ( n = 60 * i [ 1 ] + parseInt ( i [ 2 ] , 10 ) , t . timezoneOffset = "+" === i [ 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 , r . 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" } , r . format = function ( t , e , n ) { var i = n || r . i18n ; if ( "number" == typeof t && ( t = new Date ( t ) ) , "[object Date]"
2019-02-26 21:43:59 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2019-05-17 10:49:47 +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 i = n ( 3 ) , o = n ( 7 9 ) , r = n ( 8 1 ) , a = n ( 8 2 ) , s = n ( 8 3 ) , c = n ( 6 1 ) , l = " 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 . b t o a & & w i n d o w . b t o a . b i n d ( w i n d o w ) | | n ( 8 4 ) ; t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n n e w P r o m i s e ( f u n c t i o n ( e , u ) { v a r d = t . d a t a , f = t . h e a d e r s ; i . i s F o r m D a t a ( d ) & & d e l e t e f [ " C o n t e n t - T y p e " ] ; v a r p = n e w X M L H t t p R e q u e s t , h = " o n r e a d y s t a t e c h a n g e " , v = ! 1 ; i f ( " 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 . X D o m a i n R e q u e s t | | " w i t h C r e d e n t i a l s " i n p | | s ( t . u r l ) | | ( p = n e w w i n d o w . X D o m a i n R e q u e s t , h = " o n l o a d " , v = ! 0 , p . o n p r o g r e s s = f u n c t i o n ( ) { } , p . o n t i m e o u t = f u n c t i o n ( ) { } ) , t . a u t h ) { v a r m = t . a u t h . u s e r n a m e | | " " , A = t . a u t h . p a s s w o r d | | " " ; f . A u t h o r i z a t i o n = " B a s i c " + l ( m + " : " + A ) } i f ( p . o p e n ( t . m e t h o d . t o U p p e r C a s e ( ) , r ( t . u r l , t . p a r a m s , t . p a r a m s S e r i a l i z e r ) , ! 0 ) , p . t i m e o u t = t . t i m e o u t , p [ h ] = f u n c t i o n ( ) { i f ( p & & ( 4 = = = p . r e a d y S t a t e | | v ) & & ( 0 ! = = p . s t a t u s | | p . r e s p o n s e U R L & & 0 = = = p . r e s p o n s e U R L . i n d e x O f ( " f i l e : " ) ) ) { v a r n = " g e t A l l R e s p o n s e H e a d e r s " i n p ? a ( p . g e t A l l R e s p o n s e H e a d e r s ( ) ) : n u l l , i = { d a t a : t . r e s p o n s e T y p e & & " t e x t " ! = = t . r e s p o n s e T y p e ? p . r e s p o n s e : p . r e s p o n s e T e x t , s t a t u s : 1 2 2 3 = = = p . s t a t u s ? 2 0 4 : p . s t a t u s , s t a t u s T e x t : 1 2 2 3 = = = p . s t a t u s ? " N o C o n t e n t " : p . s t a t u s T e x t , h e a d e r s : n , c o n f i g : t , r e q u e s t : p } ; o ( e , u , i ) , p = n u l l } } , p . o n e r r o r = f u n c t i o n ( ) { u ( c ( " N e t w o r k E r r o r " , t , n u l l , p ) ) , p = n u l l } , p . o n t i m e o u t = f u n c t i o n ( ) { u ( c ( " t i m e o u t o f " + t . t i m e o u t + " m s e x c e e d e d " , t , " E C O N N A B O R T E D " , p ) ) , p = n u l l } , i . i s S t a n d a r d B r o w s e r E n v ( ) ) { v a r g = n ( 8 5 ) , y = ( t . w i t h C r e d e n t i a l s | | s ( t . u r l ) ) & & t . x s r f C o o k i e N a m e ? g . r e a d ( t . x s r f C o o k i e N a m e ) : v o i d 0 ; y & & ( f [ t . x s r f H e a d e r N a m e ] = y ) } i f ( " s e t R e q u e s t H e a d e r " i n p & & i . f o r E a c h ( f , f u n c t i o n ( t , e ) { v o i d 0 = = = d & & " c o n t e n t - t y p e " = = = e . t o L o w e r C a s e ( ) ? d e l e t e f [ e ] : p . s e t R e q u e s t H e a d e r ( e , t ) } ) , t . w i t h C r e d e n t i a l s & & ( p . w i t h C r e d e n t i a l s = ! 0 ) , t . r e s p o n s e T y p e ) t r y { p . r e s p o n s e T y p e = t . r e s p o n s e T y p e } c a t c h ( e ) { i f ( " j s o n " ! = = t . r e s p o n s e T y p e ) t h r o w e } " f u n c t i o n " = = t y p e o f t . o n D o w n l o a d P r o g r e s s & & p . a d d E v e n t L i s t e n e r ( " p r o g r e s s " , t . o n D o w n l o a d P r o g r e s s ) , " f u n c t i o n " = = t y p e o f t . o n U p l o a d P r o g r e s s & & p . u p l o a d & & p . u p l o a d . a d d E v e n t L i s t e n e r ( " p r o g r e s s " , t . o n U p l o a d P r o g r e s s ) , t . c a n c e l T o k e n & & t . c a n c e l T o k e n . p r o m i s e . t h e n ( f u n c t i o n ( t ) { p & & ( p . a b o r t ( ) , u ( t ) , p = n u l l ) } ) , v o i d 0 = = = d & & ( d = n u l l ) , p . s e n d ( d ) } ) } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r i = n ( 8 0 ) ; t . e x p o r t s = f u n c t i o n ( t , e , n , o , r ) { v a r a = n e w E r r o r ( t ) ; r e t u r n i ( a , e , n , o , 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 ) { r e t u r n ! ( ! t | | ! t . _ _ C A N C E L _ _ ) } } , 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 i ( t ) { t h i s . m e s s a g e = t } i . p r o t o t y p e . t o S t r i n g = f u n c t i o n ( ) { r e t u r n " C a n c e l " + ( t h i s . m e s s a g e ? " : " + t h i s . m e s s a g e : " " ) } , i . p r o t o t y p e . _ _ C A N C E L _ _ = ! 0 , t . e x p o r t s = i } , f u n c t i o n ( t , e ) { v a r n = { u t f 8 : { s t r i n g T o B y t e s : f u n c t i o n ( t ) { r e t u r n n . b i n . s t r i n g T o B y t e s ( 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 ( t ) ) ) } , b y t e s T o S t r i n g : f u n c t i o n ( t ) { r e t u r n d e c o d e U R I C o m p o n e n t ( e s c a p e ( n . b i n . b y t e s T o S t r i n g ( t ) ) ) } } , b i n : { s t r i n g T o B y t e s : f u n c t i o n ( t ) { f o r ( v a r e = [ ] , n = 0 ; n < t . l e n g t h ; n + + ) e . p u s h ( 2 5 5 & t . c h a r C o d e A t ( n ) ) ; r e t u r n e } , b y t e s T o S t r i n g : f u n c t i o n ( t ) { f o r ( v a r e = [ ] , n = 0 ; n < t . l e n g t h ; n + + ) e . p u s h ( S t r i n g . f r o m C h a r C o d e ( t [ n ] ) ) ; r e t u r n e . j o i n ( " " ) } } } ; 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 " ; O b j e c t . d e f i n e P r o p e r t y ( e , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) ; v a r i = n ( 7 4 ) . d e f a u l t . c r e a t e ( { h e a d e r s : { r e q u e s t t o k e n : O C . r e q u e s t T o k e n } } ) ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { v a r i , o , r , a , s ; i = n ( 9 3 ) , o = n ( 6 4 ) . u t f 8 , r = n ( 5 9 ) , a = n ( 6 4 ) . b i n , ( s = f u n c t i o n ( t , e ) { t . c o n s t r u c t o r = = S t r i n g ? t = e & & " b i n a r y " = = = e . e n c o d i n g ? a . s t r i n g T o B y t e s ( t ) : o . s t r i n g T o B y t e s ( t ) : r ( t ) ? t = A r r a y . p r o t o t y p e . s l i c e . c a l l ( t , 0 ) : A r r a y . i s A r r a y ( t ) | | ( t = t . t o S t r i n g ( ) ) ; f o r ( v a r n = i . b y t e s T o W o r d s ( t ) , c = 8 * t . l e n g t h , l = 1 7 3 2 5 8 4 1 9 3 , u = - 2 7 1 7 3 3 8 7 9 , d = - 1 7 3 2 5 8 4 1 9 4 , f = 2 7 1 7 3 3 8 7 8 , p = 0 ; p < n . l e n g t h ; p + + ) n [ p ] = 1 6 7 1 1 9 3 5 & ( n [ p ] < < 8 | n [ p ] > > > 2 4 ) | 4 2 7 8 2 5 5 3 6 0 & ( n [ p ] < < 2 4 | n [ p ] > > > 8 ) ; n [ c > > > 5 ] | = 1 2 8 < < c % 3 2 , n [ 1 4 + ( c + 6 4 > > > 9 < < 4 ) ] = c ; v a r h = s . _ f f , v = s . _ g g , m = s . _ h h , A = s . _ i i ; f o r ( p = 0 ; p < n . l e n g t h ; p + = 1 6 ) { v a r g = l , y = u , b = d , w = f ; l = h ( l , u , d , f , n [ p + 0 ] , 7 , - 6 8 0 8 7 6 9 3 6 ) , f = h ( f , l , u , d , n [ p + 1 ] , 1 2 , - 3 8 9 5 6 4 5 8 6 ) , d = h ( d , f , l , u , n [ p + 2 ] , 1 7 , 6 0 6 1 0 5 8 1 9 ) , u = h ( u , d , f , l , n [ p + 3 ] , 2 2 , - 1 0 4 4 5 2 5 3 3 0 ) , l = h ( l , u , d , f , n [ p + 4 ] , 7 , - 1 7 6 4 1 8 8 9 7 ) , f = h ( f , l , u , d , n [ p + 5 ] , 1 2 , 1 2 0 0 0 8 0 4 2 6 ) , d = h ( d , f , l , u , n [ p + 6 ] , 1 7 , - 1 4 7 3 2 3 1 3 4 1 ) , u = h ( u , d , f , l , n [ p + 7 ] , 2 2 , - 4 5 7 0 5 9 8 3 ) , l = h ( l , u , d , f , n [ p + 8 ] , 7 , 1 7 7 0 0 3 5 4 1 6 ) , f = h ( f , l , u , d , n [ p + 9 ] , 1 2 , - 1 9 5 8 4 1 4 4 1 7 ) , d = h ( d , f , l , u , n [ p + 1 0 ] , 1 7 , - 4 2 0 6 3 ) , u = h ( u , d , f , l , n [ p + 1 1 ] , 2 2 , - 1 9 9 0 4 0 4 1 6 2 ) , l = h ( l , u , d , f , n [ p + 1 2 ] , 7 , 1 8 0 4 6 0 3 6 8 2 )
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-26 21:43:59 +03:00
*
2019-05-17 10:49:47 +03:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-26 21:43:59 +03:00
*
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/>.
* /
e . default = o } , function ( t , e , n ) { "use strict" ; var i = n ( 25 ) ; n . n ( i ) . 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/* popovermenu arrow width from the triangle center */\n/* opacities */\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-82f09c54]:hover, li.active[data-v-82f09c54] {\n box-shadow: inset 4px 0 var(--color-primary);\n}\n.action-button[data-v-82f09c54] {\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-82f09c54]:hover, .action-button[data-v-82f09c54]:focus {\n opacity: 1;\n}\n.action-button > span[data-v-82f09c54] {\n cursor: pointer;\n white-space: nowrap;\n}\n.action-button__icon[data-v-82f09c54] {\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-82f09c54] {\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-82f09c54] {\n cursor: pointer;\n white-space: pre;\n}\n.action-button__title[data-v-82f09c54] {\n font-weight: bold;\n}\n' , "" ] ) } , function ( t , e , n ) { "use strict" ; var i = n ( 26 ) ; n . n ( i ) . a } , function ( t , e , n ) { e = t . exports = n ( 1 ) ( ! 1 ) ; var i = n ( 11 ) , o = i ( n ( 12 ) ) , r = i ( n ( 13 ) ) , a = i ( n ( 14 ) ) , s = i ( n ( 15 ) ) ; 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 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 c
/ * *
* @ 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/>.
*
* /
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 i = n ( 24 ) , o = { name : "AvatarSelectOption" , components : { Avatar : n ( 55 ) . default } , props : { option : { type : Object , default : function ( ) { return { desc : "" , displayName : "Admin" , icon : "icon-user" , user : "admin" , isNoUser : ! 1 } } , validator : function ( t ) { return "displayName" in t } } } } , r = ( n ( 146 ) , n ( 0 ) ) , a = Object ( r . a ) ( o , 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 . option . displayName , user : t . option . user , "disable-tooltip" : ! 0 , "is-no-user" : t . option . isNoUser } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . option . displayName ) + "\n\t\t" ) ] ) , t . _v ( " " ) , t . option . desc ? n ( "span" , { staticClass : "option__desc--linetwo" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . option . desc ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) , t . _v ( " " ) , t . option . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . option . icon } ) : t . _e ( ) ] , 1 ) } , [ ] , ! 1 , null , "5fcb244d" , null ) . exports , s = { 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 . 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 "" } } } , c = ( n ( 148 ) , Object ( r . a ) ( s , 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 , "e9d10674" , null ) . exports ) , l = n ( 5 ) , u = n ( 96 ) ; function d ( t ) { return ( d = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } var f = { name : "Multiselect" , components : { AvatarSelectOption : a , EllipsisedOption : c , VueMultiselect : n . n ( u ) . a } , directives : { tooltip : l . 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" === d ( 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 ) } } } , p = Object ( r . a ) ( f , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "VueMultiselect" , t . _g ( t . _b ( { class : [ { "icon-loading-small" : t . loading } , t . multiple ? "multiselect--multiple" : "multiselect--single" ] , attrs : { value : t . value , limit : t . maxOptions , "close-on-select" : ! t . multiple , multiple :
2019-02-26 21:43:59 +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
Object ( i . a ) ( p ) , e . default = p } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = n ( 8 ) , o = n ( 20 ) , r = { name : "ActionCheckbox" , mixins : [ i . a ] , props : { id : { type : String , default : function ( ) { return "action-" + Object ( o . a ) ( ) } , validator : function ( t ) { return "" !== t . trim ( ) } } , checked : { type : Boolean , default : ! 1 } , disabled : { type : Boolean , default : ! 1 } } , methods : { checkInput : function ( t ) { this . $refs . label . click ( ) } , onChange : function ( t ) { this . $emit ( "change" , t ) } } } , a = ( n ( 116 ) , n ( 0 ) ) , s = Object ( a . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-checkbox" } , [ n ( "input" , { staticClass : "focusable checkbox action-checkbox__checkbox" , attrs : { id : t . id , disabled : t . disabled , type : "checkbox" } , domProps : { checked : t . checked } , 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 , "d5db5c6a" , null ) . exports ; n . d ( e , "ActionCheckbox" , function ( ) { return s } ) ,
/ * *
* @ 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 = s } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = n ( 8 ) , o = n ( 20 ) , r = { name : "ActionInput" , mixins : [ i . a ] , props : { id : { type : String , default : function ( ) { return "action-" + Object ( o . 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 } } } , 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 ( 118 ) , n ( 0 ) ) , s = Object ( a . a ) ( r , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "span" , { staticClass : "action-input" } , [ 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 ) } } } , [ n ( "input" , { staticClass : "action-input__submit" , attrs : { id : t . id , type : "submit" } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "action-input__input focusable" , attrs : { type : t . type , placeholder : t . text , disabled : t . disabled , required : "" } , domProps : { value : t . value } , on : { input : t . onInput } } ) , t . _v ( " " ) , n ( "label" , { directives : [ { name : "show" , rawName : "v-show" , value : ! t . disabled , expression : "!disabled" } ] , staticClass : "action-input__label" , attrs : { for : t . id } } ) ] ) ] ) ] ) } , [ ] , ! 1 , null , "5fc35168" , null ) . exports ; n . d ( e , "ActionInput" , function ( ) { return s } ) ,
/ * *
* @ 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 = s } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { name : "ActionLink" , mixins : [ n ( 19 ) . 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 } } } } , o = ( n ( 120 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 , "4fa6fa84" , null ) . exports ; n . d ( e , "ActionLink" , function ( ) { return r } ) ,
/ * *
* @ 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 = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { name : "ActionRouter" , mixins : [ n ( 19 ) . a ] , props : { to : { type : [ String , Object ] , default : "" , required : ! 0 } , exact : { type : Boolean , default : ! 1 } } } , o = ( n ( 122 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 , "4ba2977c" , null ) . exports ; n . d ( e , "ActionRouter" , function ( ) { return r } ) ,
/ * *
* @ 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 = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { name : "ActionText" , mixins : [ n ( 19 ) . a ] , props : { disabled : { type : Boolean , default : ! 1 } } } , o = ( n ( 124 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 , "7beb9c23" , null ) . exports ; n . d ( e , "ActionText" , function ( ) { return r } ) ,
/ * *
* @ 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 = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = n ( 32 ) , o = n . n ( i ) , r = { name : "AppContent" , components : { AppNavigationToggle : n ( 69 ) . default } , data : function ( ) { return { opened : ! 1 } } , mounted : function ( ) { var t = this ; this . mc = new o . a ( this . $el ) , 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 ( 126 ) , n ( 0 ) ) , s = Object ( a . a ) ( r , 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 , "9065484a" , null ) . exports ; n . d ( e , "AppContent" , function ( ) { return s } ) ,
2019-02-26 21:43:59 +03:00
/ *
2019-05-17 10:49:47 +03:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-26 21:43:59 +03:00
*
2019-05-17 10:49:47 +03:00
* @ 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 i = ( n ( 128 ) , n ( 0 ) ) , o = Object ( i . 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 o } ) ,
/ * *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-02-26 21:43:59 +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-05-17 10:49:47 +03:00
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = n ( 23 ) , o = n ( 6 ) , r = n . n ( o ) , a = { name : "AppNavigationItem" , components : { PopoverMenu : i . PopoverMenu } , directives : { ClickOutside : r . 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" } } } } , s = n ( 0 ) , c = Object ( s . a ) ( a , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return t . item . caption ? n ( "li" , { staticClass : "app-navigation-caption" } , [ t . _v ( "\n\t" + t . _s ( t . item . text ) + "\n" ) ] ) : 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" , [ Number . isInteger ( t . item . utils . counter ) && t . item . utils . counter > 0 ? n ( "li" , { staticClass : "app-navigation-entry-utils-counter" } , [ 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 ( ) ] ) ] ) : 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 ( e ) { return e . preventDefault ( ) , e . stopPropagation ( ) , t . item . edit . action ( e ) } } } , [ n ( "input" , { attrs : { placeholder : t . item . edit . text , type : "text" } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-close" , attrs : { type : "submit" , value : "" } , on : { click : function ( e ) { return e . stopPropagati
2019-02-26 21:43:59 +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
e . default = c } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { 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 } } } , o = n ( 0 ) , r = Object ( o . a ) ( i , 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 r } ) ,
2019-02-26 21:43:59 +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-05-17 10:49:47 +03:00
e . default = r } , function ( e , n , i ) { "use strict" ; i . r ( n ) ; var o = i ( 6 ) , r = { directives : { ClickOutside : i . n ( o ) . 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 = ( i ( 130 ) , i ( 0 ) ) , s = Object ( a . a ) ( r , 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 ; i . d ( n , "AppNavigationSettings" , function ( ) { return s } ) ,
2019-02-26 21:43:59 +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-05-17 10:49:47 +03:00
n . default = s } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = ( n ( 132 ) , n ( 0 ) ) , o = Object ( i . 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 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/>.
* /
e . default = o } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { name : "AppSidebar" , components : { Actions : n ( 28 ) . 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 } } , 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 } , 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 . tabs = this . $children . reduce ( function ( t , e ) { return e . name && "string" == typeof e . name && e . id && "string" == typeof e . id && - 1 === e . id . indexOf ( " " ) && e . icon && "string" == typeof e . icon && - 1 === e . icon . indexOf ( " " ) && t . push ( e ) , t } , [ ] ) , this . tabs . length > 0 && this . updateActive ( ) } , methods : { closeSidebar : function ( ) { this . $emit ( "close" ) } , setActive : function ( t ) { var e = t . target . dataset . id ; this . activeTab = e , this . $emit ( "update:active" , e ) } , focusPreviousTab : function ( t ) { this . currentTabIndex > 0 && ( this . activeTab = this . tabs [ this . currentTabIndex - 1 ] . id , this . $emit ( "update:active" , this . activeTab ) ) , this . focusActiveTab ( ) } , focusNextTab : function ( t ) { this . currentTabIndex < this . tabs . length - 1 && ( this . activeTab = this . tabs [ this . currentTabIndex + 1 ] . id , this . $emit ( "update:active" , this . activeTab ) ) , this . focusActiveTab ( ) } , focusFirstTab : function ( t ) { this . activeTab = this . tabs [ 0 ] . id , this . $emit ( "update:active" , this . activeTab ) , this . focusActiveTab ( ) } , focusLastTab : function ( t ) { 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 ? this . tabs [ 0 ] . id : "" } , toggleStarred : function ( ) { this . isStarred = ! this . isStarred , this . $emit ( "update:starred" , this . isStarred ) } } } , o = ( n ( 134 ) , n ( 136 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 } } , [ 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" , style : { backgroundImage : "url(" + t . background + ")" } } , [ t . _t ( "header" ) ] , 2 ) : t . _e ( ) , t . _v ( " " ) , n ( "div" , { staticClass : "app-sidebar-header__desc" , class : { "app-sidebar-header__desc--with-star" : t . canStar } } , [ t . canStar ? n ( "a" , { staticClass : "app-sidebar-header__star" , class : { "icon-starred" : t . isStarred , "icon-star" : ! t . isStarred , "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 ( " " ) , n ( "h4" , { staticClass : "app-sidebar-header__subtitle" } , [ t . _v ( "\n\t\t\t\t\t" + t . _s ( t . subtitle ) + "\n\t\t\t\t" ) ] ) , t . _v ( " " ) , t . $slots [ "secondary-actions" ] ? n ( "Actions" , { staticClass : "app-sidebar-header__menu" } , [ t . _t ( "secondary-actions" ) ] , 2 ) : t . _e ( ) ] , 1 ) , t . _v ( " " ) , t . $slots [ "primary-actions" ] ? n ( "div" , { staticClass : "app-sidebar-header__action" } , [ t . _t ( "primary-actions" ) ] , 2 ) : t . _e ( ) ] ) , t . _v ( " " ) , t . hasMultipleTabs ? n ( "nav" , { staticClass : "app-sidebar-tabs__nav" , on : { keydown : [ function ( e ) { return ! e . type . indexOf ( "key" ) && t . _k ( e . keyCode , "left" , 37 , e . key , [ "Left" , "ArrowLeft" ] ) ? null : "button" in e && 0 !== e . button ? null : e . ctrlKey || e . shiftKey || e . altKey || e . metaKey ? null : ( e . preventDefault ( ) , t . focusPreviousTab ( e ) ) } , function ( e ) { return ! e . type . indexOf ( "key" ) && t . _k ( e . keyCode , "right" , 39 , e . key , [ "Right" , "ArrowRight" ] ) ? null : "button" in e && 2 !== e . bu
/ *
* @ 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 = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { 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 } } } , o = ( n ( 138 ) , n ( 0 ) ) , r = Object ( o . a ) ( i , 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 , "0a1c06c1" , null ) . exports ; n . d ( e , "AppSidebarTab" , function ( ) { return r } ) ,
/ * *
* @ 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 = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = { props : { appName : { type : String , required : ! 0 } } } , o = n ( 0 ) , r = Object ( o . a ) ( i , 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 r } ) ,
/ *
* @ 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/>.
* /
e . default = r } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var i = n ( 24 ) , o = n ( 57 ) , r = n . n ( o ) ; r . a . components . CalendarPanel . components . PanelTime . methods . stringifyText = function ( t ) { return t } , r . 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 : r . 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 ( 140 ) , n . d ( e , "DatetimePicker" , function ( ) { return c } ) ,
2019-02-26 21:43:59 +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
Object ( i . a ) ( c ) , e . default = c } , function ( e , n , i ) { "use strict" ; i . r ( n ) ; var o = i ( 24 ) , r = i ( 32 ) , a = i . n ( r ) , s = i ( 28 ) , c = i ( 56 ) , l = i ( 5 ) , u = { name : "Modal" , components : { Actions : s . default , ActionButton : c . default } , directives : { tooltip : l . default } , props : { title : { type : String , default : "" } , hasPrevious : { type : Boolean , default : ! 1 } , hasNext : { type : Boolean , default : ! 1 } , outTransition : { type : Boolean , default : ! 1 } , enableSlideshow : { type : Boolean , default : ! 1 } , clearViewDelay : { type : Number , default : 5e3 } , slideshowDelay : { type : Number , default : 3e3 } , enableSwipe : { type : Boolean , default : ! 0 } , spreadNavigation : { type : Boolean , default : ! 1 } , size : { type : String , default : "normal" , validator : function ( t ) { return - 1 !== [ "normal" , "large" , "full" ] . indexOf ( t ) } } , canClose : { type : Boolean , default : ! 0 } } , data : function ( ) { return { mc : null , showModal : ! 1 , clearView : ! 1 , clearViewTimeout : null , playing : ! 1 , slideshowTimeout : null } } , computed : { modalTransitionName : function ( ) { return "modal-" . concat ( this . outTransition ? "out" : "in" ) } , playPauseTitle : function ( ) { return this . playing ? t ( "core" , "Pause" ) : t ( "core" , "Play" ) } } , beforeMount : function ( ) { window . addEventListener ( "keydown" , this . handleKeydown ) } , beforeDestroy : function ( ) { window . removeEventListener ( "keydown" , this . handleKeydown ) } , mounted : function ( ) { var t = this ; this . showModal = ! 0 , this . handleMouseMove ( ) , this . mc = new a . a ( this . $refs . mask ) , this . mc . on ( "swipeleft swiperight" , function ( e ) { t . handleSwipe ( e ) } ) , document . body . insertBefore ( this . $el , document . body . lastChild ) } , unmounted : function ( ) { this . mc . off ( "swipeleft swiperight" ) , this . mc . destroy ( ) } , methods : { previous : function ( t ) { this . hasPrevious && ( t && this . resetSlideshow ( ) , this . $emit ( "previous" , t ) ) } , next : function ( t ) { this . hasNext && ( t && this . resetSlideshow ( ) , this . $emit ( "next" , t ) ) } , close : function ( t ) { var e = this ; this . canClose && ( this . showModal = ! 1 , setTimeout ( function ( ) { e . $emit ( "close" , t ) } , 300 ) ) } , handleKeydown : function ( t ) { switch ( t . keyCode ) { case 37 : this . previous ( t ) ; break ; case 13 : case 39 : this . next ( t ) ; break ; case 27 : this . close ( t ) } } , handleSwipe : function ( t ) { this . enableSwipe && ( "swipeleft" === t . type ? this . next ( t ) : "swiperight" === t . type && this . previous ( t ) ) } , handleMouseMove : function ( ) { var t = this ; this . clearViewDelay > 0 && ( this . clearView = ! 1 , clearTimeout ( this . clearViewTimeout ) , this . clearViewTimeout = setTimeout ( function ( ) { t . clearView = ! 0 } , this . clearViewDelay ) ) } , togglePlayPause : function ( ) { this . playing = ! this . playing , this . playing ? this . handleSlideshow ( ) : clearTimeout ( this . slideshowTimeout ) } , resetSlideshow : function ( ) { this . playing = ! this . playing , clearTimeout ( this . slideshowTimeout ) , this . $nextTick ( function ( ) { this . togglePlayPause ( ) } ) } , handleSlideshow : function ( ) { var t = this ; this . playing = ! 0 , this . hasNext ? this . slideshowTimeout = setTimeout ( function ( ) { t . next ( ) , t . handleSlideshow ( ) } , this . slideshowDelay ) : ( this . playing = ! 1 , clearTimeout ( this . slideshowTimeout ) ) } } } , d = ( i ( 142 ) , i ( 144 ) , i ( 0 ) ) , f = Object ( d . a ) ( u , function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "transition" , { attrs : { name : "fade" } } , [ n ( "div" , { ref : "mask" , staticClass : "modal-mask" , on : { click : t . handleMouseMove , mousemove : t . handleMouseMove , touchmove : t . handleMouseMove } } , [ n ( "transition" , { attrs : { name : "fade-visibility" } } , [ n ( "div" , { directives : [ { name : "show" , rawName : "v-show" , value : ! t . clearView , expression : "!clearView" } ] , staticClass : "modal-header" , class : { invisible : t . clearView } } , [ "" !== t . title . trim ( ) ? n ( "div" , { staticClass : "modal-title" } , [ t . _v ( "\n\t\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t\t" ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "div" , { staticClass : "icons-menu" } , [ n ( "Actions" , { staticClass : "header-actions" } , [ t . _t ( "actions" ) ] , 2 ) , t . _v ( " " ) , t . hasNext && t . enableSlideshow ? n ( "button" , { directives : [ { name : "tooltip" , rawName : "v-tooltip.auto" , value : t . playPauseTitle , expression : "playPauseTitle" , modifiers : { auto : ! 0 } } ] , staticClass : "play-pause" , on : { click : t . togglePlayPause } } , [ n ( "div" , { class : [ t . playing ? "icon-pause" : "icon-play" ] } , [ n ( "span" , { staticClass : "hidden-visually" } , [ t . _v ( "\n\t\t\t\t\t\t\t\t" + t . _s ( t . playPauseTitle ) + "\n\t\t\t\t\t\t\t" ) ] ) ] ) , t . _v ( " " ) , t . playing ? n ( "svg" , { staticClass : "progress-ring" , attrs : { height : "50" , width : "50" } } , [ n ( "circle" , { staticClass : "progress-ring__circle" , attrs : { stroke : "white" , "stroke-width" : "2" , fill : "transparent" , r : "15" , cx : "25" , cy : "25" } } ) ] ) : t . _e ( ) ] ) : t . _e ( ) , t . _v ( " " ) , t . canClose ? n ( "Actions" , { staticCla
2019-02-26 21:43:59 +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-05-17 10:49:47 +03:00
Object ( o . a ) ( f ) , n . default = f } , function ( t , e , n ) { "use strict" ; var i = n ( 39 ) ; n . n ( i ) . 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/* popovermenu arrow width from the triangle center */\n/* opacities */\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-d5db5c6a]:hover, li.active[data-v-d5db5c6a] {\n box-shadow: inset 4px 0 var(--color-primary);\n}\n.action-checkbox[data-v-d5db5c6a] {\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-d5db5c6a] {\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-d5db5c6a] {\n opacity: 1;\n}\n.action-checkbox__label[data-v-d5db5c6a] {\n display: flex;\n align-items: baseline;\n width: 100%;\n padding: 0 !important;\n padding-right: 14px;\n opacity: 0.7;\n}\n.action-checkbox__label[data-v-d5db5c6a]::before {\n margin: 0 14px 0 !important;\n}\n.action-checkbox:hover .action-checkbox__label[data-v-d5db5c6a], .action-checkbox:focus .action-checkbox__label[data-v-d5db5c6a] {\n opacity: 1;\n}\n' , "" ] ) } , function ( t , e , n ) { "use strict" ; var i = n ( 40 ) ; n . n ( i ) . a } , function ( t , e , n ) { e = t . exports = n ( 1 ) ( ! 1 ) ; var i = n ( 11 ) , o = i ( n ( 12 ) ) , r = i ( n ( 13 ) ) , a = i ( n ( 14 ) ) , s = i ( n ( 15 ) ) ; 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 warranty of \ n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the \ n * GNU Affero General Public License for more details . \
2019-02-26 21:43:59 +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
* / f u n c t i o n O ( t ) { O b j e c t . v a l u e s ( i ) . 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-02-26 21:43:59 +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
* / 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 o . 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 r . 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 a . 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 s . 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 c . 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 l . 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 u . 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 d . 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 f . 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 p . 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 h . 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 v . 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 m . 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 A . 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 g . 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 y . 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 b . 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 w . 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 _ . 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 x . 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 T . 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 C . 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 k . 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 E . 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 & & O ( 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 ] : { } , i = O b j e c t . k e y s ( n ) ; " f u n c t i o n " = = t y p e o f O b j e c t . g e t O w n P r o p e r t y S y m b o l s & & ( i = i . c o n c a t ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( n ) . f i l t e r ( f u n c t i o n ( t ) { r e t u r n 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 , t ) . e n u m e r a b l e } ) ) ) , i . f o r E a c h ( f u n c t i o n ( e ) { S ( t , e , n [ e ] ) } ) } r e t u r n t } ( { i n s t a l l : O } , i ) } ] ) } , e . e x p o r t s = o ( i ( 2 ) ) } , f u n c t i o n ( t , e , n ) { w i n d o w , t . e x p o r t s = f u n c t i o n ( t ) { v a r e = { } ; f u n c t i o n n ( i ) { i f ( e [ i ] ) r e t u r n e [ i ] . e x p o r t s ; v a r o = e [ i ] = { i : i , l : ! 1 , e x p o r t s : { } } ; r e t u r n t [ i ] . c a l l ( o . e x p o r t s , o , o . e x p o r t s , n ) , o . l = ! 0 , o . e x p o r t s } r e t u r n n . m = t , n . c = e , n . d = f u n c t i o n ( t , e , i ) { n . o ( t , e ) | | O b j e c t . d e f i n e P r o p e r t y ( t , e , { e n u m e r a b l e : ! 0 , g e t : i } ) } , n . r = f u n c t i o n ( t ) { " u n d e f i n e d " ! = t y p e o f S y m b o l & & S y m b o l . t o S t r i n g T a g & & O b j e c t . d e f i n e P r o p e r t y ( t , S y m b o l . t o S t r i n g T a g , { v a l u e : " M o d u l e " } ) , O b j e c t . d e f i n e P r o p e r t y ( t , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) } , n . t = f u n c t i o n ( t , e ) { i f ( 1 & e & & ( t = n ( t ) ) , 8 & e ) r e t u r n t ; i f ( 4 & e & & " o b j e c t " = = t y p e o f t & & t & & t . _ _ e s M o d u l e ) r e t u r n t ; v a r i = O b j e c t . c r e a t e ( n u l l ) ; i f ( n . r ( i ) , O b j e c t . d e f i n e P r o p e r t y ( i , " d e f a u l t " , { e n u m e r a b l e : ! 0 , v a l u e : t } ) , 2 & e & & " s t r i n g " ! = t y p e o f t ) f o r ( v a r o i n t ) n . d ( i , o , f u n c t i o n ( e ) { r e t u r n t [ e ] } . b i n d ( n u l l , o ) ) ; r e t u r n i } , n . n = f u n c t i o n ( t ) { v a r e = t & & t . _ _ e s M o d u l e ? f u n c t i o n ( ) { r e t u r n t . d e f a u l t } : f u n c t i o n ( ) { r e t u r n t } ; r e t u r n n . d ( e , " a " , e ) , e } , n . o = f u n c t i o n ( t , e ) { r e t u r n O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( t , e ) } , n . p = " " , n ( n . s = 0 ) } ( [ 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 i ( ) { r e t u r n " u n d e f i n e d " = = t y p e o f O C ? P r o m i s e . r e j e c t ( n e w E r r o r ( " O C n o t d e f i n e d " ) ) : v o i d 0 = = = O C . P a s s w o r d C o n f i r m a t i o n ? P r o m i s e . r e j e c t ( n e w E r r o r ( " O C . P a s s w o r d C o n f i r m a t i o n n o t d e f i n e d " ) ) : O C . P a s s w o r d C o n f i r m a t i o n . r e q u i r e s P a s s w o r d C o n f i r m a t i o n ( ) ? n e w P r o m i s e ( f u n c t i o n ( t , e ) { O C . P a s s w o r d C o n f i r m a t i o n . r e q u i r e P a s s w o r d C o n f i r m a t i o n ( t , { } , e ) } ) : P r o m i s e . r e s o l v e ( ) } n . r ( e ) , n . d ( e , " d e f a u l t " , f u n c t i o n ( ) { r e t u r n i } ) } ] ) } , 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 (
/ * * !
* @ 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-05-29 16:20:19 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , i = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , r = 0 ; r < i . length ; r += 1 ) if ( n && navigator . userAgent . indexOf ( i [ r ] ) >= 0 ) { o = 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 ( ) } , o ) ) } } ; 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 l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function u ( 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 , i = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + i ) ? t : u ( l ( t ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , f = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? d : 10 === t ? f : d || f } 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 i = n && n . nodeName ; return i && "BODY" !== i && "HTML" !== i ? - 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 , i = n ? t : e , o = n ? e : t , r = document . createRange ( ) ; r . setStart ( i , 0 ) , r . setEnd ( o , 0 ) ; var a , s , c = r . commonAncestorContainer ; if ( t !== c && e !== c || i . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( c ) : c ; var l = v ( t ) ; return l . host ? m ( l . 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 i = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || i ) [ e ] } return t [ e ] } function g ( t , e ) { var n = "x" === e ? "Left" : "Top" , i = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + i + "Width" ] , 10 ) } function y ( t , e , n , i ) { 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 ( i [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( i [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , i = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , i ) , width : y ( "Width" , e , n , i ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , _ = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( t , i . key , i ) } } return function ( e , n , i ) { return n && t ( e . prototype , n ) , i && t ( e , i ) , 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 i in n ) Object . prototype . hasOwnProperty . call ( n , i ) && ( t [ i ] = n [ i ] ) } return t } ; function C ( t ) { return T ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function k ( t ) { var e = { } ; try { if ( p ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = A ( t , "top" ) , i = A ( t , "left" ) ; e . top += n , e . left += i , e . bottom += n , e . right += i } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , r = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , a = r . width || t . clientWidth || o . right - o . left , s = r . height || t . clientHeight || o . bottom - o . top , l = t . offsetWidth - a , u = t . offsetHeight - s ; if ( l || u ) { var d = c ( t ) ; l -= g ( d , "x" ) , u -= g ( d , "y" ) , o . width -= l , o . height -= u } return C ( o ) } function E ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , i = p ( 10 ) , o = "HTML" === e . nodeName , r = k ( t ) , a = k ( e ) , s = u ( t ) , l = c ( e ) , d = parseFloat ( l . borderTopWidth , 10 ) , f = parseFloat ( l . borderLeftWidth , 10 ) ; n && o && ( a . top = Math . max ( a . top , 0
2019-02-26 21:43:59 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-05-29 16:20:19 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { "use strict" ; var i = n ( 6 ) , o = n ( 1 ) , r = n ( 34 ) , a = n ( 35 ) ; function s ( t ) { this . defaults = t , this . interceptors = { request : new r , response : new r } } s . prototype . request = function ( t ) { "string" == typeof t && ( t = o . merge ( { url : arguments [ 0 ] } , arguments [ 1 ] ) ) , ( t = o . merge ( i , { method : "get" } , this . defaults , t ) ) . method = t . method . toLowerCase ( ) ; 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 } , o . forEach ( [ "delete" , "get" , "head" , "options" ] , function ( t ) { s . prototype [ t ] = function ( e , n ) { return this . request ( o . merge ( n || { } , { method : t , url : e } ) ) } } ) , o . forEach ( [ "post" , "put" , "patch" ] , function ( t ) { s . prototype [ t ] = function ( e , n , i ) { return this . request ( o . merge ( i || { } , { method : t , url : e , data : n } ) ) } } ) , t . exports = s } , function ( t , e , n ) { "use strict" ; var i = n ( 1 ) ; t . exports = function ( t , e ) { i . forEach ( t , function ( n , i ) { i !== e && i . toUpperCase ( ) === e . toUpperCase ( ) && ( t [ e ] = n , delete t [ i ] ) } ) } } , function ( t , e , n ) { "use strict" ; var i = n ( 10 ) ; t . exports = function ( t , e , n ) { var o = n . config . validateStatus ; n . status && o && ! o ( n . status ) ? e ( i ( "Request failed with status code " + n . status , n . config , null , n . request , n ) ) : t ( n ) } } , function ( t , e , n ) { "use strict" ; t . exports = function ( t , e , n , i , o ) { return t . config = e , n && ( t . code = n ) , t . request = i , t . response = o , t } } , function ( t , e , n ) { "use strict" ; var i = n ( 1 ) ; function o ( 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 r ; if ( n ) r = n ( e ) ; else if ( i . isURLSearchParams ( e ) ) r = e . toString ( ) ; else { var a = [ ] ; i . forEach ( e , function ( t , e ) { null != t && ( i . isArray ( t ) ? e += "[]" : t = [ t ] , i . forEach ( t , function ( t ) { i . isDate ( t ) ? t = t . toISOString ( ) : i . isObject ( t ) && ( t = JSON . stringify ( t ) ) , a . push ( o ( e ) + "=" + o ( t ) ) } ) ) } ) , r = a . join ( "&" ) } return r && ( t += ( - 1 === t . indexOf ( "?" ) ? "?" : "&" ) + r ) , t } } , function ( t , e , n ) { "use strict" ; var i = n ( 1 ) , o = [ "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 , r , a = { } ; return t ? ( i . forEach ( t . split ( "\n" ) , function ( t ) { if ( r = t . indexOf ( ":" ) , e = i . trim ( t . substr ( 0 , r ) ) . toLowerCase ( ) , n = i . trim ( t . substr ( r + 1 ) ) , e ) { if ( a [ e ] && o . 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 i = n ( 1 ) ; t . exports = i . isStandardBrowserEnv ( ) ? function ( ) { var t , e = /(msie|trident)/i . test ( navigator . userAgent ) , n = document . createElement ( "a" ) ; function o ( t ) { var i = t ; return e && ( n . setAttribute ( "href" , i ) , i = n . href ) , n . setAttribute ( "href" , i ) , { 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 } } return t = o ( window . location . href ) , function ( e ) { var n = i . isString ( e ) ? o ( e ) : e ; return n . protocol === t . protocol && n . host === t . host } } ( ) : function ( ) { return ! 0 } } , function ( t , e , n ) { "use strict" ; var i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" ; function o ( ) { this . message = "String contains an invalid character" } o . prototype = new Error , o . prototype . code = 5 , o . prototype . name = "InvalidCharacterError" , t . exports = function ( t ) { for ( var e , n , r = String ( t ) , a = "" , s = 0 , c = i ; r . charAt ( 0 | s ) || ( c = "=" , s % 1 ) ; a += c . charAt ( 63 & e >> 8 - s % 1 * 8 ) ) { if ( ( n = r . charCodeAt ( s += . 75 ) ) > 255 ) throw new o ; e = e << 8 | n } return a } } , function ( t , e , n ) { "use strict" ; var i = n ( 1 ) ; t . exports = i . isStandardBrowserEnv ( ) ? { write : function ( t , e , n , o , r , a ) { var s = [ ] ; s . push ( t + "=" + encodeURIComponent ( e ) ) , i . isNumber ( n ) && s . push ( "expires=" + new Date ( n ) . toGMTString ( ) ) , i . isString ( o ) && s . push ( "path=" + o ) , i . isString ( r ) && s . push ( "domain=" + r ) , ! 0 === a && s . push ( "secure" ) , document . cookie = s . join ( "; " ) } , read : function ( t ) { var
2019-03-01 11:15:56 +03:00
/ * !
* vue - qrcode v1 . 0.0
* https : //fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018 - present Chen Fengyuan
* Released under the MIT license
*
* Date : 2018 - 10 - 21 T13 : 04 : 02.951 Z
* /
2019-05-26 04:14:09 +03:00
var n = "undefined" != typeof window ? window : void 0 !== t ? t : "undefined" != typeof self ? self : { } ; function i ( ) { throw new Error ( "Dynamic requires are not currently supported by rollup-plugin-commonjs" ) } var o = function ( t , e ) { return t ( e = { exports : { } } , e . exports ) , e . exports } ( function ( t , e ) { t . exports = function t ( e , n , o ) { function r ( s , c ) { if ( ! n [ s ] ) { if ( ! e [ s ] ) { var l = i ; if ( ! c && l ) return l ( s , ! 0 ) ; if ( a ) return a ( s , ! 0 ) ; var u = new Error ( "Cannot find module '" + s + "'" ) ; throw u . code = "MODULE_NOT_FOUND" , u } var d = n [ s ] = { exports : { } } ; e [ s ] [ 0 ] . call ( d . exports , function ( t ) { var n = e [ s ] [ 1 ] [ t ] ; return r ( n || t ) } , d , d . exports , t , e , n , o ) } return n [ s ] . exports } for ( var a = i , s = 0 ; s < o . length ; s ++ ) r ( o [ s ] ) ; return r } ( { 1 : [ function ( t , e , n ) { var i = t ( "./utils" ) . getSymbolSize ; n . getRowColCoords = function ( t ) { if ( 1 === t ) return [ ] ; for ( var e = Math . floor ( t / 7 ) + 2 , n = i ( t ) , o = 145 === n ? 26 : 2 * Math . ceil ( ( n - 13 ) / ( 2 * e - 2 ) ) , r = [ n - 7 ] , a = 1 ; a < e - 1 ; a ++ ) r [ a ] = r [ a - 1 ] - o ; return r . push ( 6 ) , r . reverse ( ) } , n . getPositions = function ( t ) { for ( var e = [ ] , i = n . getRowColCoords ( t ) , o = i . length , r = 0 ; r < o ; r ++ ) for ( var a = 0 ; a < o ; a ++ ) 0 === r && 0 === a || 0 === r && a === o - 1 || r === o - 1 && 0 === a || e . push ( [ i [ r ] , i [ a ] ] ) ; return e } } , { "./utils" : 20 } ] , 2 : [ function ( t , e , n ) { var i = t ( "./mode" ) , o = [ "0" , "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "A" , "B" , "C" , "D" , "E" , "F" , "G" , "H" , "I" , "J" , "K" , "L" , "M" , "N" , "O" , "P" , "Q" , "R" , "S" , "T" , "U" , "V" , "W" , "X" , "Y" , "Z" , " " , "$" , "%" , "*" , "+" , "-" , "." , "/" , ":" ] ; function r ( t ) { this . mode = i . ALPHANUMERIC , this . data = t } r . getBitsLength = function ( t ) { return 11 * Math . floor ( t / 2 ) + t % 2 * 6 } , r . prototype . getLength = function ( ) { return this . data . length } , r . prototype . getBitsLength = function ( ) { return r . getBitsLength ( this . data . length ) } , r . prototype . write = function ( t ) { var e ; for ( e = 0 ; e + 2 <= this . data . length ; e += 2 ) { var n = 45 * o . indexOf ( this . data [ e ] ) ; n += o . indexOf ( this . data [ e + 1 ] ) , t . put ( n , 11 ) } this . data . length % 2 && t . put ( o . indexOf ( this . data [ e ] ) , 6 ) } , e . exports = r } , { "./mode" : 13 } ] , 3 : [ function ( t , e , n ) { function i ( ) { this . buffer = [ ] , this . length = 0 } i . prototype = { get : function ( t ) { var e = Math . floor ( t / 8 ) ; return 1 == ( this . buffer [ e ] >>> 7 - t % 8 & 1 ) } , put : function ( t , e ) { for ( var n = 0 ; n < e ; n ++ ) this . putBit ( 1 == ( t >>> e - n - 1 & 1 ) ) } , getLengthInBits : function ( ) { return this . length } , putBit : function ( t ) { var e = Math . floor ( this . length / 8 ) ; this . buffer . length <= e && this . buffer . push ( 0 ) , t && ( this . buffer [ e ] |= 128 >>> this . length % 8 ) , this . length ++ } } , e . exports = i } , { } ] , 4 : [ function ( t , e , n ) { var i = t ( "../utils/buffer" ) ; function o ( t ) { if ( ! t || t < 1 ) throw new Error ( "BitMatrix size must be defined and greater than 0" ) ; this . size = t , this . data = new i ( t * t ) , this . data . fill ( 0 ) , this . reservedBit = new i ( t * t ) , this . reservedBit . fill ( 0 ) } o . prototype . set = function ( t , e , n , i ) { var o = t * this . size + e ; this . data [ o ] = n , i && ( this . reservedBit [ o ] = ! 0 ) } , o . prototype . get = function ( t , e ) { return this . data [ t * this . size + e ] } , o . prototype . xor = function ( t , e , n ) { this . data [ t * this . size + e ] ^= n } , o . prototype . isReserved = function ( t , e ) { return this . reservedBit [ t * this . size + e ] } , e . exports = o } , { "../utils/buffer" : 27 } ] , 5 : [ function ( t , e , n ) { var i = t ( "../utils/buffer" ) , o = t ( "./mode" ) ; function r ( t ) { this . mode = o . BYTE , this . data = new i ( t ) } r . getBitsLength = function ( t ) { return 8 * t } , r . prototype . getLength = function ( ) { return this . data . length } , r . prototype . getBitsLength = function ( ) { return r . getBitsLength ( this . data . length ) } , r . prototype . write = function ( t ) { for ( var e = 0 , n = this . data . length ; e < n ; e ++ ) t . put ( this . data [ e ] , 8 ) } , e . exports = r } , { "../utils/buffer" : 27 , "./mode" : 13 } ] , 6 : [ function ( t , e , n ) { var i = t ( "./error-correction-level" ) , o = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 , 2 , 4 , 1 , 2 , 4 , 4 , 2 , 4 , 4 , 4 , 2 , 4 , 6 , 5 , 2 , 4 , 6 , 6 , 2 , 5 , 8 , 8 , 4 , 5 , 8 , 8 , 4 , 5 , 8 , 11 , 4 , 8 , 10 , 11 , 4 , 9 , 12 , 16 , 4 , 9 , 16 , 16 , 6 , 10 , 12 , 18 , 6 , 10 , 17 , 16 , 6 , 11 , 16 , 19 , 6 , 13 , 18 , 21 , 7 , 14 , 21 , 25 , 8 , 16 , 20 , 25 , 8 , 17 , 23 , 25 , 9 , 17 , 23 , 34 , 9 , 18 , 25 , 30 , 10 , 20 , 27 , 32 , 12 , 21 , 29 , 35 , 12 , 23 , 34 , 37 , 12 , 25 , 34 , 40 , 13 , 26 , 35 , 42 , 14 , 28 , 38 , 45 , 15 , 29 , 40 , 48 , 16 , 31 , 43 , 51 , 17 , 33 , 45 , 54 , 18 , 35 , 48 , 57 , 19 , 37 , 51 , 60 , 19 , 38 , 53 , 63 , 20 , 40 , 56 , 66 , 21 , 43 , 59 , 70 , 22 , 45 , 62 , 74 , 24 , 47 , 65 , 77 , 25 , 49 , 68 , 81 ] , r = [ 7 , 10 , 13 , 17 , 10 , 16 , 22 , 28 , 15 , 26 , 36 , 44 , 20 , 36 , 52 , 64 , 26 , 48 , 72 , 88 , 36 , 64 , 96 , 112 , 40 , 72 , 108 , 130 , 48 , 88 , 132 , 156 , 60 , 110 , 160 , 192 , 72 , 130 , 192 , 224 , 80 , 150 , 224 , 264 , 96 , 176 , 260 , 308 , 104 , 198 , 288 , 352 , 120 , 216 , 320 , 384 , 132 , 240 , 360 , 432 , 144 , 280 , 408 , 480 , 168 , 308 , 448 , 532 , 180 , 338 , 504 , 588 , 196 , 364 , 546 , 650 , 224 , 416 , 600 , 700 , 224 , 442 , 644 , 750 , 252 , 476 , 690 , 816 , 270 , 504 , 750 , 900 , 300 , 560 , 810 , 960 , 312 , 588 , 870 , 1050 , 336 , 644 , 952 , 1
2019-02-26 21:43:59 +03:00
/ * !
* clipboard . js v2 . 0.4
* https : //zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
* /
2019-05-29 16:20:19 +03:00
t . exports = function ( t ) { var e = { } ; function n ( i ) { if ( e [ i ] ) return e [ i ] . exports ; var o = e [ i ] = { i : i , l : ! 1 , exports : { } } ; return t [ i ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return n . m = t , n . c = e , n . d = function ( t , e , i ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : i } ) } , 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 i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( i , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return i } , 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 = 0 ) } ( [ function ( t , e , n ) { "use strict" ; var i = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } , o = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( t , i . key , i ) } } return function ( e , n , i ) { return n && t ( e . prototype , n ) , i && t ( e , i ) , e } } ( ) , r = c ( n ( 1 ) ) , a = c ( n ( 3 ) ) , s = c ( n ( 4 ) ) ; function c ( t ) { return t && t . _ _esModule ? t : { default : t } } var l = function ( t ) { function e ( t , n ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) ; var i = function ( t , e ) { if ( ! t ) throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" ) ; return ! e || "object" != typeof e && "function" != typeof e ? t : e } ( this , ( e . _ _proto _ _ || Object . getPrototypeOf ( e ) ) . call ( this ) ) ; return i . resolveOptions ( n ) , i . listenClick ( t ) , i } return function ( t , e ) { if ( "function" != typeof e && null !== e ) throw new TypeError ( "Super expression must either be null or a function, not " + typeof e ) ; t . prototype = Object . create ( e && e . prototype , { constructor : { value : t , enumerable : ! 1 , writable : ! 0 , configurable : ! 0 } } ) , e && ( Object . setPrototypeOf ? Object . setPrototypeOf ( t , e ) : t . _ _proto _ _ = e ) } ( e , a . default ) , o ( e , [ { key : "resolveOptions" , value : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } ; this . action = "function" == typeof t . action ? t . action : this . defaultAction , this . target = "function" == typeof t . target ? t . target : this . defaultTarget , this . text = "function" == typeof t . text ? t . text : this . defaultText , this . container = "object" === i ( t . container ) ? t . container : document . body } } , { key : "listenClick" , value : function ( t ) { var e = this ; this . listener = ( 0 , s . default ) ( t , "click" , function ( t ) { return e . onClick ( t ) } ) } } , { key : "onClick" , value : function ( t ) { var e = t . delegateTarget || t . currentTarget ; this . clipboardAction && ( this . clipboardAction = null ) , this . clipboardAction = new r . default ( { action : this . action ( e ) , target : this . target ( e ) , text : this . text ( e ) , container : this . container , trigger : e , emitter : this } ) } } , { key : "defaultAction" , value : function ( t ) { return u ( "action" , t ) } } , { key : "defaultTarget" , value : function ( t ) { var e = u ( "target" , t ) ; if ( e ) return document . querySelector ( e ) } } , { key : "defaultText" , value : function ( t ) { return u ( "text" , t ) } } , { key : "destroy" , value : function ( ) { this . listener . destroy ( ) , this . clipboardAction && ( this . clipboardAction . destroy ( ) , this . clipboardAction = null ) } } ] , [ { key : "isSupported" , value : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : [ "copy" , "cut" ] , e = "string" == typeof t ? [ t ] : t , n = ! ! document . queryCommandSupported ; return e . forEach ( function ( t ) { n = n && ! ! document . queryCommandSupported ( t ) } ) , n } } ] ) , e } ( ) ; function u ( t , e ) { var n = "data-clipboard-" + t ; if ( e . hasAttribute ( n ) ) return e . getAttribute ( n ) } t . exports = l } , function ( t , e , n ) { "use strict" ; var i , o = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } , r = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writab
2019-02-26 21:43:59 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-05-17 10:49:47 +03:00
i . nc = btoa ( OC . requestToken ) , o . default . use ( a . a ) , o . default . use ( s . a ) , o . default . prototype . t = t , new ( o . default . extend ( k ) ) ( { propsData : { tokens : OCP . InitialState . loadState ( "settings" , "app_tokens" ) } } ) . $mount ( "#security" ) } ] ) ;
2019-02-26 21:43:59 +03:00
//# sourceMappingURL=vue-settings-personal-security.js.map