2020-06-04 11:52:03 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var a = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var a in e ) n . d ( r , a , function ( t ) { return e [ t ] } . bind ( null , a ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/js/" , n ( n . s = 347 ) } ( [ function ( e , t , n ) { var r = n ( 2 ) , a = n ( 23 ) . f , i = n ( 16 ) , o = n ( 9 ) , s = n ( 80 ) , c = n ( 133 ) , l = n ( 41 ) ; e . exports = function ( e , t ) { var n , u , p , d , f , h = e . target , m = e . global , v = e . stat ; if ( n = m ? r : v ? r [ h ] || s ( h , { } ) : ( r [ h ] || { } ) . prototype ) for ( u in t ) { if ( d = t [ u ] , p = e . noTargetGet ? ( f = a ( n , u ) ) && f . value : n [ u ] , ! l ( m ? u : h + ( v ? "." : "#" ) + u , e . forced ) && void 0 !== p ) { if ( typeof d == typeof p ) continue ; c ( d , p ) } ( e . sham || p && p . sham ) && i ( d , "sham" , ! 0 ) , o ( n , u , d , e ) } } } , function ( e , t , n ) { var r = n ( 2 ) , a = n ( 79 ) , i = n ( 7 ) , o = n ( 55 ) , s = n ( 82 ) , c = n ( 132 ) , l = a ( "wks" ) , u = r . Symbol , p = c ? u : u && u . withoutSetter || o ; e . exports = function ( e ) { return i ( l , e ) || ( s && i ( u , e ) ? l [ e ] = u [ e ] : l [ e ] = p ( "Symbol." + e ) ) , l [ e ] } } , function ( e , t , n ) { ( function ( t ) { var n = function ( e ) { return e && e . Math == Math && e } ; e . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof t && t ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 11 ) ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t , n ) { var r = n ( 3 ) ; e . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { var r = n ( 5 ) ; e . exports = function ( e ) { if ( ! r ( e ) ) throw TypeError ( String ( e ) + " is not an object" ) ; return e } } , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , function ( e , t , n ) { var r = n ( 4 ) , a = n ( 131 ) , i = n ( 6 ) , o = n ( 36 ) , s = Object . defineProperty ; t . f = r ? s : function ( e , t , n ) { if ( i ( e ) , t = o ( t , ! 0 ) , i ( n ) , a ) try { return s ( e , t , n ) } catch ( e ) { } if ( "get" in n || "set" in n ) throw TypeError ( "Accessors not supported" ) ; return "value" in n && ( e [ t ] = n . value ) , e } } , function ( e , t , n ) { var r = n ( 2 ) , a = n ( 16 ) , i = n ( 7 ) , o = n ( 80 ) , s = n ( 83 ) , c = n ( 19 ) , l = c . get , u = c . enforce , p = String ( String ) . split ( "String" ) ; ( e . exports = function ( e , t , n , s ) { var c = ! ! s && ! ! s . unsafe , l = ! ! s && ! ! s . enumerable , d = ! ! s && ! ! s . noTargetGet ; "function" == typeof n && ( "string" != typeof t || i ( n , "name" ) || a ( n , "name" , t ) , u ( n ) . source = p . join ( "string" == typeof t ? t : "" ) ) , e !== r ? ( c ? ! d && e [ t ] && ( l = ! 0 ) : delete e [ t ] , l ? e [ t ] = n : a ( e , t , n ) ) : l ? e [ t ] = n : o ( t , n ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && l ( this ) . source || s ( this ) } ) ) } , function ( e , t , n ) { "use strict" ; var r = n ( 173 ) , a = Object . prototype . toString ; function i ( e ) { return "[object Array]" === a . call ( e ) } function o ( e ) { return void 0 === e } function s ( e ) { return null !== e && "object" == typeof e } function c ( e ) { return "[object Function]" === a . call ( e ) } function l ( e , t ) { if ( null != e ) if ( "object" != typeof e && ( e = [ e ] ) , i ( e ) ) for ( var n = 0 , r = e . length ; n < r ; n ++ ) t . call ( null , e [ n ] , n , e ) ; else for ( var a in e ) Object . prototype . hasOwnProperty . call ( e , a ) && t . call ( null , e [ a ] , a , e ) } e . exports = { isArray : i , isArrayBuffer : function ( e ) { return "[object ArrayBuffer]" === a . call ( e ) } , isBuffer : function ( e ) { return null !== e && ! o ( e ) && null !== e . constructor && ! o ( e . constructor ) && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } , isFormData : function ( e ) { return "undefined" != typeof FormData && e instanceof FormData } , isArrayBufferView : function ( e ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( e ) : e && e . buffer && e . buffer instanceof ArrayBuffer } , isString : function ( e ) { return "string" == typeof e } , isNumber : function ( e ) { return "number" == typeof e } , isObject : s , isUndefined : o , isDate :
2019-05-17 10:49:47 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-06-04 14:50:12 +03:00
* ( c ) 2014 - 2019 Evan You
2019-05-17 10:49:47 +03:00
* Released under the MIT License .
* /
2020-06-04 11:52:03 +03:00
var r = Object . freeze ( { } ) ; function a ( e ) { return null == e } function i ( e ) { return null != e } function o ( e ) { return ! 0 === e } function s ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function c ( e ) { return null !== e && "object" == typeof e } var l = Object . prototype . toString ; function u ( e ) { return "[object Object]" === l . call ( e ) } function p ( e ) { return "[object RegExp]" === l . call ( e ) } function d ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function f ( e ) { return i ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function h ( e ) { return null == e ? "" : Array . isArray ( e ) || u ( e ) && e . toString === l ? JSON . stringify ( e , null , 2 ) : String ( e ) } function m ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function v ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , a = 0 ; a < r . length ; a ++ ) n [ r [ a ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } v ( "slot,component" , ! 0 ) ; var g = v ( "key,ref,slot,slot-scope,is" ) ; function b ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var A = Object . prototype . hasOwnProperty ; function y ( e , t ) { return A . call ( e , t ) } function x ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var w = /-(\w)/g , _ = x ( ( function ( e ) { return e . replace ( w , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , C = x ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , k = /\B([A-Z])/g , T = x ( ( function ( e ) { return e . replace ( k , "-$1" ) . toLowerCase ( ) } ) ) ; var E = Function . prototype . bind ? function ( e , t ) { return e . bind ( t ) } : function ( e , t ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? e . apply ( t , arguments ) : e . call ( t , n ) : e . call ( t ) } return n . _length = e . length , n } ; function S ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function M ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function O ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && M ( t , e [ n ] ) ; return t } function I ( e , t , n ) { } var N = function ( e , t , n ) { return ! 1 } , L = function ( e ) { return e } ; function D ( e , t ) { if ( e === t ) return ! 0 ; var n = c ( e ) , r = c ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var a = Array . isArray ( e ) , i = Array . isArray ( t ) ; if ( a && i ) return e . length === t . length && e . every ( ( function ( e , n ) { return D ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( a || i ) return ! 1 ; var o = Object . keys ( e ) , s = Object . keys ( t ) ; return o . length === s . length && o . every ( ( function ( n ) { return D ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function P ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( D ( e [ n ] , t ) ) return n ; return - 1 } function j ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var B = [ "component" , "directive" , "filter" ] , F = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , R = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : N , isReservedAttr : N , isUnknownElement : N , getTagNamespace : I , parsePlatformTagName : L , mustUseProp : N , async : ! 0 , _lifecycleHooks : 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 U ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + $ . source + ".$_\\d]" ) ; var V , Y = "__proto__" in { } , H = "undefined" != typeof window , G = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Q = G && WXEnvironment . platform . toLowerCase ( ) , W = H && window . navigator . userAgent . toLowerCase ( ) , q = W && /msie|trident/ . test ( W ) , Z = W && W . indexOf ( "msie 9.0" ) > 0 , X = W && W . indexOf ( "edge/" ) > 0 , K = ( W && W . indexOf ( "android" ) , W && /iphone|ipad|ipod|ios/ . test ( W ) || "ios" === Q ) , J = ( W && /chrome\/\d+/ . test ( W ) , W && /phantomjs/ . test ( W ) , W && W . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( H ) try { var ne = { } ; Object . defineProperty ( ne , "passive" , { get : function ( ) { te = ! 0 } } ) , window . addEventListener ( "test-passive" , null , ne ) } catch ( e ) { } var re = function ( ) { return void 0 === V && ( V = ! H && ! G && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , V } , ae = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ie ( e ) { return "function" == t
2019-10-13 19:26:09 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-13 19:26:09 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-16 02:03:29 +03:00
* /
2020-05-07 22:56:28 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 232 ) } , function ( e , t ) { e . exports = n ( 233 ) } , function ( e , t , n ) { "use strict" ; n ( 12 ) , n ( 28 ) ; var r = n ( 5 ) , a = n . n ( r ) ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-06-04 11:52:03 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(a.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , e | | 5 ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 5 9 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 3 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 6 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 3 6 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 7 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 3 7 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 5 2 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , a = ( n ( 1 2 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { 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 ( e ) { 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 ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = a ( t h i s , " A c t i o n s " ) ; t & & t . c l o s e M e n u & & t . c l o s e M e n u ( ) } } } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 4 2 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 4 7 ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 6 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 4 0 a 2 1 2 a " , r , ! 0 , { } ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 8 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 1 5 ) , n ( 6 5 ) , n ( 1 2 ) ; v a r r = n ( 5 ) , a = n . n ( r ) ; t . a = f u n c t i o n ( e , t , n ) { i f ( v o i d 0 ! = = e ) f o r ( v a r r = e . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r i = e [ r ] , o = ! i . c o m p o n e n t O p t i o n s & & i . t a g & & - 1 = = = t . i n d e x O f ( i . t a g ) , s = ! ! i . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f i . c o m p o n e n t O p t i o n s . t a g , c = s & & - 1 = = = t . i n d e x O f ( i . c o m p o n e n t O p t i o n s . t a g ) ; ( o | | ! s | | c ) & & ( ( o | | c ) & & a . a . u t i l . w a r n ( " " . c o n c a t ( o ? i . t a g : i . c o m p o n e n t O p t i o n s . 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 ( n . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , n ) , e . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 6 ) ; t . a = { m e t h o d s : { n : r . a , t : r . b } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 4 9 ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 7 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 2 e c 4 9 f " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 7 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 c 5 6 1 1 1 6 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 7 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 3 0 9 3 1 4 0 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 4 3 ) ;
2019-06-04 14:50:12 +03:00
/ * *
2019-10-13 19:26:09 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = r . a } , f u n c t i o n ( e , t , n ) { v a r r = n ( 8 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e 9 b 7 7 0 8 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 4 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 0 0 ; r i g h t : a u t o ; l e f t : a u t o ; d i s p l a y : b l o c k ; m a r g i n : 0 ; m a r g i n - t o p : - 3 p x ; p a d d i n g : 1 0 p x 0 ; t e x t - a l i g n : l e f t ; t e x t - a l i g n : s t a r t ; w h i t e - s p a c e : n o r m a l ; t e x t - d e c o r a t i o n : n o n e ; l e t t e r - s p a c i n g : n o r m a l ; w o r d - s p a c i n g : n o r m a l ; t e x t - t r a n s f o r m : n o n e ; w o r d - w r a p : n o r m a l ; w o r d - b r e a k : n o r m a l ; o p a c i t y : 0 ; t e x t - s h a d o w : n o n e ; f o n t - f a m i l y : ' N u n i t o ' , ' O p e n S a n s ' , F r u t i g e r , C a l i b r i , ' M y r i a d P r o ' , M y r i a d , s a n s - s e r i f ; f o n t - s i z e : 1 2 p x ; f o n t - w e i g h t : n o r m a l ; f o n t - s t y l e : n o r m a l ; l i n e - h e i g h t : 1 . 6 ; l i n e - b r e a k : a u t o ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 1 0 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' t o p ' ] . t o o l t i p - a r r o w { b o t t o m : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 0 1 0 p x ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' b o t t o m ' ] . t o o l t i p - a r r o w { t o p : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 0 1 0 p x 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' r i g h t ' ] . t o o l t i p - a r r o w { r i g h t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 1 0 p x 0 ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' l e f t ' ] . t o o l t i p - a r r o w { l e f t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 0 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' t r u e ' ] { v i s i b i l i t y : h i d d e n ; t r a n s i t i o n : o p a c i t y . 1 5 s , v i s i b i l i t y . 1 5 s ; o p a c i t y : 0 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' f a l s e ' ] { v i s i b i l i t y : v i s i b l e ; t r a n s i t i o n : o p a c i t y . 1 5 s ; o p a c i t y : 1 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - i n n e r { m a x - w i d t h : 3 5 0 p x ; p a d d i n g : 5 p x 8 p x ; t e x t - a l i g n : c e n t e r ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 4 6 ) , n ( 1 5 ) ; v a r r = n ( 1 4 ) , a = n ( 1 3 ) , i = n ( 1 7 ) , o = ( n ( 6 4 ) , f u n c t i o n ( e ) { v a r t = e . 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 , r = 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 , a = O b j e c t . a s s i g n ( { } ) ; r e t u r n a . t o p = t . t o p < 0 , a . l e f t = t . l e f t < 0 , a . b o t t o m = t . b o t t o m > n , a . r i g h t = t . r i g h t > r , a . a n y = a . t o p | | a . l e f t | | a . b o t t o m | | a . r i g h t , a . a l l = a . t o p & & a . l e f t & & a . b o t t o m & & a . r i g h t , a . o f f s e t Y = a . t o p ? t . t o p : a . b o t t o m ? t . b o t t o m - n : 0 , a . o f f s e t X = a . l e f t ? t . l e f t : a . r i g h t ? t . r i g h t - r : 0 , a } ) , s = n ( 3 1 ) , c = n ( 6 ) , l = [ " 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 a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , u = { 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 : r . d i r e c t i v e , t o o l t i p : a . 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 } , f o r c e M e n u : { 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 ( e ) { 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 ( e ) > - 1 } } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( c . b ) ( " A c t i o n s " ) } } , 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 ( i . a ) ( ) , o f f s e t X : 0 , o f f s e t Y : 0 , o f f s e t Y A r r o w : 0 , r o t a t e A r r o w : ! 1 , c h i l d r e n : t h i s . $ c h i l d r e n } } , c o m p u t e d : { h a s M u l t i p l e A c t i o n s : 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 . l e n g t h > 1 } , 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 & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : 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 : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r e = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = e ) 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
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-05-07 22:56:28 +03:00
* / t . a = f u n c t i o n ( e ) { e . m o u n t e d ? A r r a y . i s A r r a y ( e . m o u n t e d ) | | ( e . m o u n t e d = [ e . m o u n t e d ] ) : e . m o u n t e d = [ ] , e . 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 ( " e 1 f 5 5 c e " ) , " " ) } ) ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 5 0 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 5 6 ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 e e 2 a 8 2 6 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-02-27 16:23:40 +03:00
*
2019-06-04 14:50:12 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function a ( e , t , n ) { var a = [ ] ; a . push ( t ) ; for ( var i = function ( e , t ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( t [ 1 ] . r - t [ 0 ] . r ) / e , n [ 1 ] = ( t [ 1 ] . g - t [ 0 ] . g ) / e , n [ 2 ] = ( t [ 1 ] . b - t [ 0 ] . b ) / e , n } ( e , [ t , n ] ) , o = 1 ; o < e ; o ++ ) { var s = parseInt ( t . r + i [ 0 ] * o , 10 ) , c = parseInt ( t . g + i [ 1 ] * o , 10 ) , l = parseInt ( t . b + i [ 2 ] * o , 10 ) ; a . push ( new r ( s , c , l ) ) } return a } n ( 25 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , o = a ( e , t , n ) , s = a ( e , n , i ) , c = a ( e , i , t ) ; return o . concat ( s ) . concat ( c ) } } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . 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 ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , a = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( a . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , a = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = e . _i ( n , null ) ; r . checked ? i < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else e . $set ( e . item , "model" , a ) } , e . item . action ] } } ) : "radio" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "radio" } , domProps : { checked : e . _q ( e . item . model , null ) } , on : { change : [ function ( t ) { return e . $set ( e . item , "model" , null ) } , e . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : e . item . input } , domProps : { value : e . item . model } , on : { change : e . item . action , input : function ( t ) { t . target . composing || e . $set ( e . item , "model" , t . target . value ) } } } ) , e . _v ( " " ) , n ( "label" , { attrs : { for : e . key } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : e . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : e . item . active } , attrs : { disabled : e . item . disabled } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
2019-05-17 10:49:47 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-05-07 22:56:28 +03:00
* /t.default=l},function(e,t){e.exports=n(251)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),a=n(51),i=n(52),o=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),u=n(49);function p(e,t,n,r,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){p(i,r,a,o,s,"next",e)}function s(e){p(i,r,a,o,s,"throw",e)}o(void 0)}))}}var f={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:a.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var e = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var t = function ( e ) { var t = e . toLowerCase ( ) ; return null === t . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( t = l ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( u . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , a = 0 ; a < e . length ; a ++ ) r . push ( parseInt ( e . charAt ( a ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } ( this . getUserIdentifier ) ; e . backgroundColor = "rgb(" + t . r + ", " + t . g + ", " + t . b + ")" } return e } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( e ) { return { href : e . hyperlink , icon : e . icon , text : e . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : if ( e . hasMenu ) { t . next = 2 ; break } return t . abrupt ( "return" ) ; case 2 : if ( e . contactsMenuOpenState ) { t . next = 5 ; break } return t . next = 5 , e . fetchContactsMenu ( ) ; case 5 : e . contactsMenuOpenState = ! e . contactsMenuOpenState ; case 6 : case "end" : return t . stop ( ) } } ) , t ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { var n , r , a ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , n = encodeURIComponent ( e . user ) , t . next = 4 , o . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = t . sent , a = r . data , e . contactsMenuActions = a . topAction ? [ a . topAction ] . concat ( a . actions ) : a . actions , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , e . contactsMenuOpenState =
2019-05-17 10:49:47 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-05-17 10:49:47 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-05-17 10:49:47 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = b } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 4 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 1 9 a e 6 0 e " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 1 5 a d e 5 4 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 8 1 f c 7 8 9 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 5 3 8 3 c f 7 b " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " P o p o v e r " , c o m p o n e n t s : { V P o p o v e r : n ( 3 ) . V P o p o v e r } } , a = ( n ( 1 2 8 ) , n ( 0 ) ) , i = n ( 5 5 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t , t = t h i s . _ s e l f . _ c | | e ; r e t u r n t ( " V P o p o v e r " , t h i s . _ g ( t h i s . _ b ( { s t a t i c C l a s s : " p o p o v e r " } , " V P o p o v e r " , t h i s . $ a t t r s , ! 1 ) , t h i s . $ l i s t e n e r s ) , [ t h i s . _ t ( " t r i g g e r " ) , t h i s . _ v ( " " ) , t ( " t e m p l a t e " , { s l o t : " p o p o v e r " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 7 1 f 0 1 3 a a " , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-05-07 22:56:28 +03:00
* / t . d e f a u l t = c } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 3 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 6 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 7 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 ) , a = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = r ( ! 1 ) ; v a r l = a ( i ) , u = a ( o ) , p = a ( s ) , d = a ( c ) ; t . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + p + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + d + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) ! i m p o r t a n t ; o p a c i t y : 1 } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : 1 ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; o p a c i t y : . 7 } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { c o n t e n t : \ ' \ ' } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { f o n t - s i z e : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 ; c o n t e n t : " " } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : . 7 } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { o p a c i t y : 1 } . a c t i o n - i t e m - - s i n g l e > [ h i d d e n ] [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : n o n e } . a c t i o n - i t e m - - m u l t i p l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : r e l a t i v e } . a c t i o n - i t e m _ _ m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 1 0 ; r i g h t : 5 0 % ; d i s p l a y : n o n e ; m a r g i n - b o t t o m : 1 0 p x ; m a r g i n - t o p : - 5 p x ; t r a n s f o r m : t r a n s l a t e X ( 5 0 % ) ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 3 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . a c t i o n - i t e m _ _ m e n u u l [ d a t a - v - 7 b 3 6 8 b 0 c ] > : n o t ( l i ) { d i s p l a y : n o n e } . a c t i o n - i t e m _ _ m e n u . o p e n [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : b l o c k } . a c t i o n - i t e m _ _ m e n u . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; r i g h t : 5 0 % ; b o t t o m : 1 0 0 % ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n - r i g h t : - 9 p x ; c o n t e n t : \ ' \ ' ; p o i n t e r - e v e n t s : n o n e ; b o r d e r : s o l i d t r a n s p a r e n t ; b o r d e r - w i d t h : 9 p x ; b o r d e r - b o t t o m - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 0 ; l e f t : a u t o ; t r a n s f o r m : n o n e } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 1 3 p x ; m a r g i n - r i g h t
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = r . a } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 9 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 9 3 6 7 d 9 8 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 9 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 4 2 c c 3 2 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 0 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 d f a f 5 b 6 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 0 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 8 c 7 f e f d 2 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 0 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 9 e 5 7 6 c 0 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 0 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 6 f 9 a 7 f d " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 0 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 a 8 9 e 6 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 1 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 7 3 2 c 1 4 8 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 1 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 5 8 5 7 6 b 8 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 1 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 3 4 a f 9 b 1 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 1 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 d 8 c 0 1 4 f " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 1 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 3 7 1 3 4 c 2 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 2 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 0 2 9 b d e 6 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 2 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 6 1 f d 1 0 7 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 2 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 7 4 9 4 b 7 0 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 e 3 e c e 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n . d ( t , " d i r e c t i v e " , ( f u n c t i o n ( ) { r e t u r n r } ) ) ;
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Georg Ehrke
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Georg Ehrke < oc . list @ georgehrke . com >
2019-05-17 10:49:47 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-06-04 14:50:12 +03:00
* /
2020-04-10 13:01:29 +03:00
var r = { inserted : function ( e ) { e . focus ( ) } } ; t . default = r } , function ( e , t , n ) { var r = n ( 230 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "45aebdd4" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 232 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "4dd3631b" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 234 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "d7dc05bc" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 239 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "704815e4" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 241 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "68ca4235" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 243 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "6e72f645" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 246 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2c80b26e" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 248 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "fb56f796" , r , ! 0 , { } ) } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = n ( 44 ) , a = ( n ( 84 ) , n ( 122 ) , n ( 156 ) , n ( 18 ) , n ( 71 ) , n ( 22 ) , n ( 121 ) , n ( 33 ) , n ( 4 ) , n ( 19 ) , n ( 20 ) , n ( 21 ) , n ( 123 ) , n ( 45 ) ) , i = n . n ( a ) , o = n ( 53 ) , s = ( n ( 157 ) , n ( 23 ) , n ( 30 ) , { methods : { highlightText : function ( e , t ) { return t . length ? e . replace ( new RegExp ( t , "gi" ) , "<strong>" . concat ( t , "</strong>" ) ) : e } } } ) , c = { name : "AvatarSelectOption" , components : { Avatar : o . default } , mixins : [ s ] , props : { desc : { type : String , default : "" } , displayName : { type : String , required : ! 0 } , icon : { type : String , default : "" } , user : { type : String , default : "" } , isNoUser : { type : Boolean , default : ! 1 } , search : { type : String , default : "" } } , computed : { highlightedDisplayName : function ( ) { return this . highlightText ( i ( ) ( this . displayName ) , this . search ) } , highlightedDesc : function ( ) { return this . highlightText ( i ( ) ( this . desc ) , this . search ) } } } , l = ( n ( 158 ) , n ( 0 ) ) , u = n ( 81 ) , p = n . n ( u ) , d = Object ( l . a ) ( c , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "span" , { staticClass : "option" } , [ n ( "Avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : e . displayName , user : e . user , "is-no-user" : e . isNoUser , "disable-menu" : ! 0 , "disable-tooltip" : ! 0 } } ) , e . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" , domProps : { innerHTML : e . _s ( e . highlightedDisplayName ) } } ) , e . _v ( " " ) , "" !== e . desc ? n ( "span" , { staticClass : "option__desc--linetwo" , domProps : { innerHTML : e . _s ( e . highlightedDesc ) } } ) : e . _e ( ) ] ) , e . _v ( " " ) , "" !== e . icon ? n ( "span" , { staticClass : "icon option__icon" , class : e . icon } ) : e . _e ( ) ] , 1 ) } ) , [ ] , ! 1 , null , "808e3c40" , null ) ; "function" == typeof p . a && p ( ) ( d ) ; var f = d . exports , h = ( n ( 12 ) , { name : "EllipsisedOption" , mixins : [ s ] , props : { option : { type : [ String , Object ] , required : ! 0 , default : "" } , label : { type : String , default : "" } , search : { type : String , default : "" } } , computed : { name : function ( ) { return this . $parent . getOptionLabel ( this . option ) } , needsTruncate : function ( ) { return this . name && this . name . length >= 10 } , part1 : function ( ) { if ( this . needsTruncate ) { var e = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( 0 , this . name . length - e ) } return this . name } , part2 : function ( ) { if ( this . needsTruncate ) { var e = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( this . name . length - e ) } return "" } , highlightedPart1 : function ( ) { return this . highlightText ( i ( ) ( this . part1 ) , this . search ) } , highlightedPart2 : function ( ) { return this . highlightText ( i ( ) ( this . part2 ) , this . search ) } } } ) , m = ( n ( 160 ) , Object ( l . a ) ( h , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "div" , { staticClass : "name-parts" , attrs : { title : e . name } } , [ n ( "span" , { staticClass : "name-parts__first" , domProps : { innerHTML : e . _s ( e . highlightedPart1 ) } } ) , e . _v ( " " ) , e . part2 ? n ( "span" , { staticClass : "name-parts__last" , domProps : { innerHTML : e . _s ( e . highlightedPart2 ) } } ) : e . _e ( ) ] ) } ) , [ ] , ! 1 , null , "2d5d34b0" , null ) . exports ) , v = n ( 32 ) , g = n ( 13 ) , b = n ( 125 ) ; function A ( e ) { return ( A = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } var y = { name : "Multiselect" , componen
2019-06-04 14:50:12 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( C ) , t . default = C } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = { name : "Breadcrumb" , components : { Actions : n ( 38 ) . default } , props : { title : { type : String , required : ! 0 } , to : { type : String , default : void 0 } , href : { type : String , default : void 0 } , icon : { type : String , default : "" } , disableDrop : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } } , data : function ( ) { return { hovering : ! 1 } } , computed : { tag : function ( ) { return this . to ? "router-link" : "a" } } , methods : { onOpenChange : function ( e ) { this . $emit ( "update:open" , e ) } , dropped : function ( e ) { return ! this . disableDrop && ( this . $emit ( "dropped" , e , this . to || this . href ) , this . $parent . $emit ( "dropped" , e , this . to || this . href ) , this . hovering = ! 1 , ! 1 ) } , dragEnter : function ( e ) { this . disableDrop || ( this . hovering = ! 0 ) } , dragLeave : function ( e ) { this . disableDrop || e . target . contains ( e . relatedTarget ) || this . $refs . crumb . contains ( e . relatedTarget ) || ( this . hovering = ! 1 ) } } } , a = ( n ( 154 ) , n ( 0 ) ) , i = n ( 80 ) , o = n . n ( i ) , s = Object ( a . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "div" , { ref : "crumb" , staticClass : "crumb" , class : { "crumb--with-action" : e . $slots . default , "crumb--hovered" : e . hovering } , attrs : { draggable : "false" } , on : { dragstart : function ( e ) { e . preventDefault ( ) } , drop : function ( t ) { return t . preventDefault ( ) , e . dropped ( t ) } , dragover : function ( e ) { e . preventDefault ( ) } , dragenter : e . dragEnter , dragleave : e . dragLeave } } , [ e . title || e . icon ? n ( e . tag , { tag : "element" , attrs : { to : e . to , href : e . href } } , [ e . icon ? n ( "span" , { staticClass : "icon" , class : e . icon } ) : n ( "span" , [ e . _v ( e . _s ( e . title ) ) ] ) ] ) : e . _e ( ) , e . _v ( " " ) , n ( "Actions" , { ref : "actions" , attrs : { "force-menu" : e . forceMenu , open : e . open } , on : { "update:open" : e . onOpenChange } } , [ e . _t ( "default" ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , null , "7d9c1e9f" , null ) ; "function" == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ 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/>.
*
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 4 4 ) , a = ( n ( 3 3 ) , n ( 1 2 4 ) ) , i = { n a m e : " D a t e t i m e P i c k e r " , c o m p o n e n t s : { D a t e P i c k e r : n . n ( a ) . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { c l e a r a b l e : { t y p e : B o o l e a n , d e f a u l t : f u n c t i o n ( ) { r e t u r n ! 1 } } , m i n u t e S t e p : { t y p e : N u m b e r , d e f a u l t : f u n c t i o n ( ) { r e t u r n 1 0 } } , t y p e : { t y p e : S t r i n g , d e f a u l t : " d a t e " } , f o r m a t : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : f u n c t i o n ( ) { v a r e = { d a t e : " Y Y Y Y - M M - D D " , d a t e t i m e : " Y Y Y Y - M M - D D H : m m : s s " , y e a r : " Y Y Y Y " , m o n t h : " Y Y Y Y - M M " , t i m e : " H : m m : s s " , w e e k : " w " } ; r e t u r n e [ t h i s . t y p e ] | | e . d a t e } } , v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n n e w D a t e } } } , m e t h o d s : { h a n d l e S e l e c t Y e a r : f u n c t i o n ( e ) { v a r t = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( t ) t r y { v a r n = n e w D a t e ( n e w D a t e ( t ) . s e t F u l l Y e a r ( e ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , t , e ) } } , h a n d l e S e l e c t M o n t h : f u n c t i o n ( e ) { v a r t = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( t ) t r y { v a r n = n e w D a t e ( n e w D a t e ( t ) . s e t M o n t h ( e ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , t , e ) } } } } , o = n ( 0 ) , s = n ( 7 8 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t ; r e t u r n ( e . _ s e l f . _ c | | t ) ( " D a t e P i c k e r " , e . _ g ( e . _ b ( { r e f : " d a t e p i c k e r " , a t t r s : { c l e a r a b l e : e . c l e a r a b l e , " m i n u t e - s t e p " : e . m i n u t e S t e p , f o r m a t : e . f o r m a t , t y p e : e . t y p e , v a l u e : e . v a l u e , " a p p e n d - t o - b o d y " : ! 1 } , o n : { " s e l e c t - y e a r " : e . h a n d l e S e l e c t Y e a r , " s e l e c t - m o n t h " : e . h a n d l e S e l e c t M o n t h , " u p d a t e : v a l u e " : f u n c t i o n ( t ) { r e t u r n e . $ e m i t ( " u p d a t e : v a l u e " , e . v a l u e ) } } , s c o p e d S l o t s : e . _ u ( [ e . _ l ( e . $ s c o p e d S l o t s , ( f u n c t i o n ( t , n ) { r e t u r n { k e y : n , f n : f u n c t i o n ( t ) { r e t u r n [ e . _ t ( n , n u l l , n u l l , t ) ] } } } ) ) ] , n u l l , ! 0 ) } , " D a t e P i c k e r " , e . $ a t t r s , ! 1 ) , e . $ l i s t e n e r s ) ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ; n ( 1 4 6 ) ,
2019-08-07 18:08:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( u ) , t . default = u } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 19 ) , n ( 120 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "ActionLink" , mixins : [ n ( 26 ) . a ] , props : { href : { type : String , default : "#" , required : ! 0 , validator : function ( e ) { try { return new URL ( e ) } catch ( t ) { return e . startsWith ( "#" ) || e . startsWith ( "/" ) } } } , download : { type : String , default : null } , target : { type : String , default : "_self" , validator : function ( e ) { return [ "_blank" , "_self" , "_parent" , "_top" ] . indexOf ( e ) > - 1 } } } } , a = ( n ( 148 ) , n ( 0 ) ) , i = n ( 79 ) , o = n . n ( i ) , s = Object ( a . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ n ( "a" , { staticClass : "action-link focusable" , attrs : { download : e . download , href : e . href , "aria-label" : e . ariaLabel , target : e . target , rel : "noreferrer noopener" } , on : { click : e . onClick } } , [ n ( "span" , { staticClass : "action-link__icon" , class : [ e . isIconUrl ? "action-link__icon--url" : e . icon ] , style : { backgroundImage : e . isIconUrl ? "url(" + e . icon + ")" : null } } ) , e . _v ( " " ) , e . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-link__title" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . title ) + "\n\t\t\t" ) ] ) , e . _v ( " " ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "action-link__longtext" , domProps : { textContent : e . _s ( e . text ) } } ) ] ) : e . isLongText ? n ( "p" , { staticClass : "action-link__longtext" , domProps : { textContent : e . _s ( e . text ) } } ) : n ( "span" , { staticClass : "action-link__text" } , [ e . _v ( e . _s ( e . text ) ) ] ) , e . _v ( " " ) , e . _e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , null , "2460fb77" , null ) ; "function" == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-06-04 11:52:03 +03:00
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A c t i o n R o u t e r " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { t o : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : " " , r e q u i r e d : ! 0 } , e x a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , a = ( n ( 1 5 0 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , [ n ( " r o u t e r - l i n k " , { s t a t i c C l a s s : " a c t i o n - r o u t e r f o c u s a b l e " , a t t r s : { t o : e . t o , e x a c t : e . e x a c t , " a r i a - l a b e l " : e . a r i a L a b e l , r e l : " n o r e f e r r e r n o o p e n e r " } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ i c o n " , c l a s s : [ e . i s I c o n U r l ? " a c t i o n - r o u t e r _ _ i c o n - - u r l " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) , e . _ v ( " " ) , e . t i t l e ? n ( " p " , [ n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t i t l e " } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , e . _ v ( " " ) , n ( " b r " ) , e . _ v ( " " ) , n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : e . _ s ( e . t e x t ) } } ) ] ) : e . i s L o n g T e x t ? n ( " p " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : e . _ s ( e . t e x t ) } } ) : n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t e x t " } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 7 d e a 1 b 0 e " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 5 ) , a = n e w ( n . n ( r ) . a ) ( { d a t a : f u n c t i o n ( ) { r e t u r n { i s M o b i l e : ! 1 } } , w a t c h : { i s M o b i l e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c h a n g e d " , e ) } } , c r e a t e d : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) , t h i s . h a n d l e W i n d o w R e s i z e ( ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) } , m e t h o d s : { h a n d l e W i n d o w R e s i z e : f u n c t i o n ( ) { t h i s . i s M o b i l e = 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 < 1 0 2 4 } } } ) ; t . d e f a u l t = { d a t a : f u n c t i o n ( ) { r e t u r n { i s M o b i l e : ! 1 } } , m o u n t e d : f u n c t i o n ( ) { a . $ o n ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) , t h i s . i s M o b i l e = a . i s M o b i l e } , b e f o r e D e s t r o y : f u n c t i o n ( ) { a . $ o f f ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) } , m e t h o d s : { o n I s M o b i l e C h a n g e d : f u n c t i o n ( e ) { t h i s . i s M o b i l e = e } } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 2 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 2 2 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 2 3 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 2 4 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 4 6 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 2 6 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 4 7 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 3 3 b a 3 3 0 2 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 3 b a 3 3 0 2 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; p a d d i n g - r i g h t : 1 4 p x ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { o p a c i t y : 1 } . a c t i o n - b u t t o n > s p a n [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p } . a c t i o n - b u t t o n _ _ i c o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; o p a c i t y : 1 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } . a c t i o n - b u t t o n p [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 1 5 0 p x ; p a d d i n g : 7 p x 0 ; m a r g i n : a u t o ; c u r s o r : p o i n t e r ; t e x t - a l i g n : l e f t ; l i n e - h e i g h t : 1 . 6 e m } . a c t i o n - b u t t o n _ _ l o n g t e x t [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : p r e - w r a p } . a c t i o n - b u t t o n _ _ t i t l e [ d a t a - v - 3 3 b a 3 3 0 2 ] { f o n t - w e i g h t : b o l d } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 4 8 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . p o p o v e r [ d a t a - v - 7 1 f 0 1 3 a a ] { p a d d i n g : 0 p x ! i m p o r t a n t } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n . d ( t , " 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 a } ) ) ; v a r r = ( n ( 1 5 2 ) , n ( 0 ) ) , a = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n T o g g l e " , m e t h o d s : { e m i t C l i c k : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l i c k " ) } } } , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t ; r e t u r n ( e . _ s e l f . _ c | | t ) ( " a " , { a t t r s : { i d : " a p p - n a v i g a t i o n - t o g g l e " , t a b i n d e x : " 0 " , h r e f : " # " } , o n : { c l i c k : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , e . e m i t C l i c k ( t ) } , k e y d o w n : f u n c t i o n ( t ) { r e t u r n ! t . t y p e . i n d e x O f ( " k e y " ) & & e . _ k ( t . k e y C o d e , " s p a c e " , 3 2 , t . k e y , [ " " , " S p a c e b a r " ] ) | | t . c t r l K e y | | t . s h i f t K e y | | t . a l t K e y | | t . m e t a K e y ? n u l l : ( t . p r e v e n t D e f a u l t ( ) , e . e m i t C l i c k ( t ) ) } } } ) } ) , [ ] , ! 1 , n u l l , " 3 3 8 2 8 0 f 2 " , n u l l ) . e x p o r t s ; t . d e f a u l t = a } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t ) { } , f u n c t i o n ( e , t ) { } ,
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* 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/>.
*
2020-04-10 13:01:29 +03:00
* /
t . 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 ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = n ( 14 ) , a = n ( 43 ) , i = n ( 70 ) , o = { name : "AppNavigationIconCollapsible" , props : { open : { type : Boolean , default : ! 0 } } , methods : { onClick : function ( e ) { this . $emit ( "click" , e ) } } } , s = ( n ( 218 ) , n ( 0 ) ) , c = Object ( s . a ) ( o , ( function ( ) { var e = this . $createElement ; return ( this . _self . _c || e ) ( "button" , { staticClass : "icon-collapse" , class : { "icon-collapse--rotated" : this . open } , on : { click : this . onClick } } ) } ) , [ ] , ! 1 , null , "24528cd0" , null ) . exports , l = n ( 119 ) , u = { name : "AppNavigationItem" , components : { Actions : a . a , ActionButton : i . a , AppNavigationIconCollapsible : c } , directives : { ClickOutside : r . directive } , mixins : [ l . default ] , props : { title : { type : String , required : ! 0 } , icon : { type : String , default : "" } , loading : { type : Boolean , default : ! 1 } , to : { type : [ String , Object ] , default : "" } , exact : { type : Boolean , default : ! 1 } , allowCollapse : { type : Boolean , default : ! 1 } , editable : { type : Boolean , default : ! 1 } , editLabel : { type : String , default : "" } , editPlaceholder : { type : String , default : "" } , pinned : { type : Boolean , default : ! 1 } , undo : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } , menuOpen : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuIcon : { type : String , default : void 0 } } , data : function ( ) { return { newTitle : "" , opened : this . open , editing : ! 1 } } , computed : { collapsible : function ( ) { return this . allowCollapse && ! ! this . $slots . default } , isIconShown : function ( ) { return ! this . collapsible || this . collapsible && ! this . isMobile } , canHaveChildren : function ( ) { return "AppNavigationItem" !== this . $parent . $options . _componentTag } , hasChildren : function ( ) { return ! ! this . $slots . default } , hasUtils : function ( ) { return ! this . editing && ! ! ( this . $slots . actions || this . $slots . counter || this . editable || this . undo ) } , navElement : function ( ) { return this . to ? { is : "router-link" , tag : "li" , to : this . to , exact : this . exact } : { is : "li" } } , isActive : function ( ) { return this . to && this . $route === this . to } } , watch : { open : function ( e ) { this . opened = e } } , methods : { onMenuToggle : function ( e ) { this . $emit ( "update:menuOpen" , e ) } , toggleCollapse : function ( ) { this . opened = ! this . opened , this . $emit ( "update:open" , this . opened ) } , onClick : function ( e ) { this . $emit ( "click" , e ) } , handleEdit : function ( ) { var e = this ; this . newTitle = this . title , this . editing = ! 0 , this . onMenuToggle ( ! 1 ) , this . $nextTick ( ( function ( ) { e . $refs . inputTitle . focus ( ) } ) ) } , cancelEdit : function ( ) { this . editing = ! 1 } , handleRename : function ( ) { this . $emit ( "update:title" , this . newTitle ) , this . newTitle = "" , this . editing = ! 1 } , handleUndo : function ( ) { this . $emit ( "undo" ) } } } , p = ( n ( 220 ) , n ( 137 ) ) , d = n . n ( p ) , f = Object ( s . a ) ( u , ( function ( ) { var e , t = this , n = t . $createElement , r = t . _self . _c || n ; return r ( "nav-element" , t . _b ( { staticClass : "app-navigation-entry" , class : { "app-navigation-entry--no-icon" : ! t . isIconShown , "app-navigation-entry--opened" : t . opened , "app-navigation-entry--pinned" : t . pinned , "app-navigation-entry--editing" : t . editing , "app-navigation-entry--deleted" : t . undo , "app-navigation-entry--collapsible" : t . collapsible , active : t . isActive } , attrs : { title : t . title } } , "nav-element" , t . navElement , ! 1 ) , [ t . undo || t . editing ? t . _e ( ) : r ( "a" , { staticClass : "app-navigation-entry-link" , attrs : { href : "#" } , on : { click : t . onClick } } , [ r ( "div" , { staticClass : "app-navigation-entry-icon" , class : ( e = { "icon-loading-small" : t . loading } , e [ t . icon ] = t . icon && t . isIconShown , e ) } , [ t . loading ? t . _e ( ) : t . _t ( "icon" ) ] , 2 ) , t . _v ( " " ) , r ( "span" , { staticClass : "app-navigation-entry__title" } , [ t . _v ( t . _s ( t . title ) ) ] ) ] ) , t . _v ( " " ) , t . collapsible ? r ( "AppNavigationIconCollapsible" , { attrs : { open : t . opened } , on : { click : function ( e ) { return e . preventDefault ( ) , e . stopPropagation ( ) , t . toggleCollapse ( e ) } } } ) : t . _e ( ) , t . _v ( " " ) , t . undo ? r ( "div" , { staticClass : "app-navigation-entry__deleted" } , [ r ( "div" , { staticClass : "app-navigation-entry__deleted-description" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . title ) + "\n\t\t" ) ] ) ] ) : t . _e ( ) , t . _v ( " " ) , t . hasUtils ? r ( "div" , { staticClass : "app-navigation-entry__utils" } , [ t . _t ( "counter" ) , t . _v ( " " ) , r ( "Actions" , { attrs : { "menu-align" : " righ
2018-11-19 12:26:04 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2018-11-19 12:26:04 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2018-11-19 12:26:04 +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/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = h } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 4 4 ) , a = ( n ( 1 5 ) , n ( 3 3 ) , n ( 8 3 ) ) , i = n . n ( a ) , o = n ( 3 8 ) , s = n ( 8 8 ) , c = n ( 3 2 ) , l = n ( 6 ) , u = n ( 1 3 ) ;
2019-08-07 18:08:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / f u n c t i o n p ( e , t ) { v a r n , r , a , i = t ; t h i s . s t a r t = f u n c t i o n ( ) { a = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( e , i ) } , t h i s . p a u s e = f u n c t i o n ( ) { a = ! 1 , c l e a r T i m e o u t ( n ) , i - = n e w D a t e - r } , t h i s . c l e a r = f u n c t i o n ( ) { a = ! 1 , c l e a r T i m e o u t ( n ) , i = 0 } , t h i s . g e t T i m e L e f t = f u n c t i o n ( ) { r e t u r n a & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , i } , t h i s . g e t S t a t e R u n n i n g = f u n c t i o n ( ) { r e t u r n a } , t h i s . s t a r t ( ) } v a r d = { n a m e : " M o d a l " , c o m p o n e n t s : { A c t i o n s : o . d e f a u l t , A c t i o n B u t t o n : s . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : u . d e f a u l t } , m i x i n s : [ c . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n - 1 ! = = [ " n o r m a l " , " l a r g e " , " f u l l " ] . i n d e x O f ( e ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d a r k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? O b j e c t ( l . b ) ( " P a u s e s l i d e s h o w " ) : O b j e c t ( l . b ) ( " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( e ) { t h i s . s l i d e s h o w T i m e o u t & & ( e ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , m o u n t e d : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . s h o w M o d a l = ! 0 , t h i s . h a n d l e M o u s e M o v e ( ) , t h i s . m c = n e w i . a ( t h i s . $ r e f s . m a s k ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( t ) { e . h a n d l e S w i p e ( t ) } ) ) , d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( e ) { t h i s . h a s P r e v i o u s & & ( e & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " p r e v i o u s " , e ) ) } , n e x t : f u n c t i o n ( e ) { t h i s . h a s N e x t & & ( e & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " n e x t " , e ) ) } , c l o s e : f u n c t i o n ( e ) { v a r t = t h i s ; t h i s . c a n C l o s e & & ( t h i s . s h o w M o d a l = ! 1 , s e t T i m e o u t ( ( f u n c t i o n ( ) { t . $ e m i t ( " c l o s e " , e ) } ) , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( e ) { s w i t c h ( e . k e y C o d e ) { c a s e 3 7 : t h i s . p r e v i o u s ( e ) ; b r e a k ; c a s e 1 3 : c a s e 3 9 : t h i s . n e x t ( e ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( e ) } } , h a n d l e S w i p e : f u n c t i o n ( e ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = e . t y p e ? t h i s . n e x t ( e ) : " s w i p e r i g h t " = = = e . t y p e & & t h i s . p r e v i o u s ( e ) ) } , h a n d l e M o u s e M o v e : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . c l e a r V i e w D e l a y > 0 & & ( t h i s . c l e a r V i e w = ! 1 , c l e a r T i m e o u t ( t h i s . c l e a r V i e w T i m e o u t ) , t h i s . c l e a r V i e w T i m e o u t = s e t T i m e o u t ( ( f u n c t i o n ( ) { e . c l e a r V i e w = ! 0 } ) , t h i s . c l e a r V i e w D e l a y ) ) } , t o g g l e P l a y P a u s e : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . p l a y i n g ? t h i s . h a n d l e S l i d e s h o w ( ) : t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) } , r e s e t S l i d e s h o w : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t h i s . t o g g l e P l a y P a u s e ( ) } ) ) } , h a n d l e S l i d e s h o w : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . p l a y i n g = ! 0 , t h i s . h a s N e x t ? t h i s . s l i d e s h o w T i m e o u t = n e w p ( ( f u n c t i o n ( ) { e . n e x t ( ) , e . h a n d l e S l i d e s h o w ( ) } ) , t h i s . s l i d e s h o w D e l a y ) : ( t h i s . p l a y i n g = ! 1 , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) ) } , c l e a r S l i d e s h o w T i m e o u t : f u n c t i o n ( ) { t h i s . s l i d e s h o w T i m e o u t & & t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) } } } , f = ( n ( 2 4 2 ) , n ( 0 ) ) , h = n ( 1 4 2 ) , m = n . n ( h ) , v = O b j e c t ( f . a ) ( d , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ n ( " d i v " , { r e f : " m a s k " , s t a t i c C l a s s : " m o d a l - m a s k " , c l a s s : { " m o d a l - m a s k - - d a r k " : e . d a r k } , o n : { c l i c k : e . h a n d l e M o u s e M o v e , m o u s e m o v e : e . h a n d l e M o u s e M o v e , t o u c h m o v e : e . h a n d l e M o u s e M o v e } } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e - v i s i b i l i t y " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! e . c l e a r V i e w , e x p r e s s i o n : " ! c l e a r V i e w " } ] , s t a t i c C l a s s : " m o d a l - h e a d e r " , c l a s s : { i n v i s i b l e : e . c l e a r V i e w } } , [ " " ! = = e . t i t l e . t r i m ( ) ? n ( " d i v " , { s t a t i c C l a s s : " m o d a l - t i t l e " } , [ e . _ v ( " \ n \ t \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : e . _ e ( ) , e . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " i c o n s - m e n u " } , [ e . h a s N e x t & & e . e n a b l e S l i d e s h o w ? n ( " b u t t o n " , { d i r e c t i v e s : [ { n a m e : " t o o l t i p " , r a w N a m e : " v - t o o l t i p . a u t o " , v a l u e : e . p l a y P a u s e T i t l e , e x p r e s s i o n : " p l a y P a u s e T i t l e " , m o d i f i e r s : { a u t o : ! 0 } } ] , s t a t i c C l a s s : " p l a y - p a u s
2019-08-07 18:08:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / O b j e c t ( r . a ) ( g ) , t . d e f a u l t = g } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 4 6 ) , n ( 2 4 4 ) , n ( 2 2 ) , n ( 3 3 ) , n ( 4 ) , n ( 6 8 ) , n ( 6 9 ) ; v a r r = n ( 3 2 ) , a = n ( 1 1 4 ) , i = n ( 5 2 ) , o = n . n ( i ) , s = n ( 1 6 6 ) ; f u n c t i o n c ( e , t , n , r , a , i , o ) { t r y { v a r s = e [ i ] ( o ) , c = s . v a l u e } c a t c h ( e ) { r e t u r n v o i d n ( e ) } s . d o n e ? t ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , a ) }
2020-01-16 02:03:29 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +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
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2020-01-16 02:03:29 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / v a r l = f u n c t i o n ( e ) { v a r t = f u n c t i o n e ( t ) { v a r n = { } ; i f ( 1 = = = t . n o d e T y p e ) { i f ( t . a t t r i b u t e s . l e n g t h > 0 ) { n [ " @ a t t r i b u t e s " ] = { } ; f o r ( v a r r = 0 ; r < t . a t t r i b u t e s . l e n g t h ; r + + ) { v a r a = t . a t t r i b u t e s . i t e m ( r ) ; n [ " @ a t t r i b u t e s " ] [ a . n o d e N a m e ] = a . n o d e V a l u e } } } e l s e 3 = = = t . n o d e T y p e & & ( n = t . n o d e V a l u e ) ; i f ( t . h a s C h i l d N o d e s ( ) ) f o r ( v a r i = 0 ; i < t . c h i l d N o d e s . l e n g t h ; i + + ) { v a r o = t . c h i l d N o d e s . i t e m ( i ) , s = o . n o d e N a m e ; i f ( v o i d 0 = = = n [ s ] ) n [ s ] = e ( o ) ; e l s e { i f ( v o i d 0 = = = n [ s ] . p u s h ) { v a r c = n [ s ] ; n [ s ] = [ ] , n [ s ] . p u s h ( c ) } n [ s ] . p u s h ( e ( o ) ) } } r e t u r n n } ( f u n c t i o n ( e ) { v a r t = n u l l ; t r y { t = ( n e w D O M P a r s e r ) . p a r s e F r o m S t r i n g ( e , " t e x t / x m l " ) } c a t c h ( e ) { c o n s o l e . e r r o r ( " F a i l e d t o p a r s e x m l d o c u m e n t " , e ) } r e t u r n t } ( e ) ) [ " d : m u l t i s t a t u s " ] [ " d : r e s p o n s e " ] , n = [ ] ; f o r ( v a r r i n t ) { v a r a = t [ r ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = a [ " d : s t a t u s " ] [ " # t e x t " ] & & n . p u s h ( { i d : p a r s e I n t ( a [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : a [ " d : p r o p " ] [ " o c : d i s p l a y - n a m e " ] [ " # t e x t " ] , c a n A s s i g n : " t r u e " = = = a [ " d : p r o p " ] [ " o c : c a n - a s s i g n " ] [ " # t e x t " ] , u s e r A s s i g n a b l e : " t r u e " = = = a [ " d : p r o p " ] [ " o c : u s e r - a s s i g n a b l e " ] [ " # t e x t " ] , u s e r V i s i b l e : " t r u e " = = = a [ " d : p r o p " ] [ " o c : u s e r - v i s i b l e " ] [ " # t e x t " ] } ) } r e t u r n n } , u = f u n c t i o n ( ) { v a r e , t = ( e = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r t ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : i f ( ! w i n d o w . N e x t c l o u d V u e D o c s ) { e . n e x t = 2 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " , P r o m i s e . r e s o l v e ( l ( w i n d o w . N e x t c l o u d V u e D o c s . t a g s ) ) ) ; c a s e 2 : r e t u r n e . n e x t = 4 , o ( ) ( { m e t h o d : " P R O P F I N D " , u r l : O b j e c t ( s . g e n e r a t e R e m o t e U r l ) ( " d a v " ) + " / s y s t e m t a g s / " , d a t a : ' < ? x m l v e r s i o n = " 1 . 0 " ? > \ n \ t \ t \ t \ t \ t < d : p r o p f i n d x m l n s : d = " D A V : " x m l n s : o c = " h t t p : / / o w n c l o u d . o r g / n s " > \ n \ t \ t \ t \ t \ t < d : p r o p > \ n \ t \ t \ t \ t \ t \ t < o c : i d / > \ n \ t \ t \ t \ t \ t \ t < o c : d i s p l a y - n a m e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - v i s i b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - a s s i g n a b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : c a n - a s s i g n / > \ n \ t \ t \ t \ t \ t < / d : p r o p > \ n \ t \ t \ t \ t \ t < / d : p r o p f i n d > ' } ) ; c a s e 4 : r e t u r n t = e . s e n t , e . a b r u p t ( " r e t u r n " , l ( t . d a t a ) ) ; c a s e 6 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , a ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n o ( e ) { c ( i , r , a , o , s , " n e x t " , e ) } f u n c t i o n s ( e ) { c ( i , r , a , o , s , " t h r o w " , e ) } o ( v o i d 0 ) } ) ) } ) ; r e t u r n f u n c t i o n ( ) { r e t u r n t . a p p l y ( t h i s , a r g u m e n t s ) } } ( ) , p = n ( 6 ) ; f u n c t i o n d ( e , t , n , r , a , i , o ) { t r y { v a r s = e [ i ] ( o ) , c = s . v a l u e } c a t c h ( e ) { r e t u r n v o i d n ( e ) } s . d o n e ? t ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , a ) } v a r f = { n a m e : " M u l t i s e l e c t T a g s " , c o m p o n e n t s : { M u l t i s e l e c t : a . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { l a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( p . b ) ( " S e l e c t a t a g " ) } , v a l u e : { t y p e : [ N u m b e r , A r r a y ] , r e q u i r e d : ! 0 } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a g s : [ ] } } , c o m p u t e d : { i n p u t V a l u e : f u n c t i o n ( ) { r e t u r n t h i s . g e t V a l u e O b j e c t ( ) } } , b e f o r e C r e a t e : f u n c t i o n ( ) { v a r e , t = t h i s ; r e t u r n ( e = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r n ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : r e t u r n e . p r e v = 0 , e . n e x t = 3 , u ( ) ; c a s e 3 : n = e . s e n t , t . t a g s = n , e . n e x t = 1 0 ; b r e a k ; c a s e 7 : e . p r e v = 7 , e . t 0 = e . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " L o a d i n g s y s t e m t a g s f a i l e d " , e . t 0 ) ; c a s e 1 0 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 0 , 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , a ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n o ( e ) { d ( i , r , a , o , s , " n e x t " , e ) } f u n c t i o n s ( e ) { d ( i , r , a , o , s , " t h r o w " , e ) } o ( v o i d 0 ) } ) ) } ) ( ) } , m e t h o d s : { g e t V a l u e O b j e c t : f u n c t i o n ( ) { v a r e = t h i s ; r e t u r n 0 = = = t h i s . t a g s . l e n g t h ? [ ] : t h i s . m u l t i p l e ? t h i s . v a l u e . f i l t e r ( ( f u n c t i o n ( e ) { r e t u r n " " ! = = e } ) ) . m a p ( ( f u n c t i o n ( t ) { r e t u r n e . t a g s . f i n d ( ( f u n c t i o n ( e ) { r e t u r n e . i d = = = t } ) ) } ) ) : t h i s . t a g s . f i n d ( ( f u n c t i o n ( t ) { r e t u r n t . i d = = = e . v a l u e } ) ) } , u p d a t e : f u n c t i o n ( e ) { t h i s . m u l t i p l e ? t h i s . $ e m i t ( " i n p u t " , e . m a p ( ( f u n c t i o n ( e ) { r e t u r n e . i d } ) ) ) : n u l l = = = e ? t h i s . $ e m i t ( " i n p u t " , n u l l ) : t h i s . $ e m i t ( " i n p u t " , e . i d ) } , t a g L a b e l : f u n c t i o n ( e ) { v a r t = e . d i s p l a y N a m e , n = e . u s e r V i s i b l e , r = e . u s e r A s s i g n a b l e ; r e t u r n ! 1 = = = n ? O b j e c t ( p . b ) ( " { t a g } ( i n v i s i b l e ) " , { t a g : t } ) : ! 1 = = = r ? O b j e c t ( p . b ) ( " { t a g } ( r e s t r i c t e d ) " , { t a g : t } ) : t } } } , h = n ( 0 ) , m = n ( 1 4 3 ) , v = n . n ( m ) , g = O b j e c t ( h . a ) ( f , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " M u l t i s e l e c t " , { a t t r s : { v a l u e : e . i n p u t V a l u e , o p t i o n s : e . t a g s , " o p t i o n s - l i m i t " : 5 , p l a c e h o l d e r : e . l a b e l , " t r a c k - b y " : " i d " , " c u s t o m - l a b e l " : e . t a g L a b e l , m u l t i p l e : e . m u l t i p l e , " c l o s e - o n - s e l e c t " : e . m u l t i p l e , " t a g - w i d t h " : 6 0 , d i s a b l e d : e . d i s a b l e d } , o n : { i n p u t : e . u p d a t e } , s c o p e d S l o t s : e . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( t ) { r e t u r n [ e . _ v ( "
2019-10-13 19:26:09 +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
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* / t . d e f a u l t = b } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { p r o p s : { b u t t o n I d : { t y p e : S t r i n g , r e q u i r e d : ! 1 , d e f a u l t : " " } , b u t t o n C l a s s : { t y p e : [ S t r i n g , A r r a y , O b j e c t ] , r e q u i r e d : ! 1 , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , r e q u i r e d : ! 1 , d e f a u l t : ! 1 } , t e x t : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , a = ( n ( 2 2 2 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - n e w " } , [ n ( " b u t t o n " , { c l a s s : e . b u t t o n C l a s s , a t t r s : { i d : e . b u t t o n I d , t y p e : " b u t t o n " , d i s a b l e d : e . d i s a b l e d } , o n : { c l i c k : f u n c t i o n ( t ) { r e t u r n e . $ e m i t ( " c l i c k " ) } } } , [ e . _ v ( " \ n \ t \ t " + e . _ s ( e . t e x t ) + " \ n \ t " ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " e c e e 3 2 6 e " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 6 2 ) , a = n ( 5 3 ) , i = { n a m e : " U s e r B u b b l e " , c o m p o n e n t s : { P o p o v e r : r . d e f a u l t , A v a t a r : a . d e f a u l t } , p r o p s : { a v a t a r I m a g e : { t y p e : S t r i n g , d e f a u l t : " " } , u s e r : { t y p e : S t r i n g , d e f a u l t : " " } , d i s p l a y N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , u r l : { t y p e : S t r i n g , d e f a u l t : " " } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , p r i m a r y : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s U s e r A v a t a r : f u n c t i o n ( ) { r e t u r n ! t h i s . a v a t a r I m a g e } , 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 . a v a t a r I m a g e ) , ! 0 } c a t c h ( e ) { r e t u r n ! 1 } } , c o m p o n e n t T y p e : f u n c t i o n ( ) { r e t u r n t h i s . u r l ? " d i v " : " a " } , l i n k O r N o t : f u n c t i o n ( ) { r e t u r n " " ! = = t h i s . u r l ? { i s : " a " , h r e f : t h i s . u r l } : { i s : " d i v " } } , p o p o v e r E m p t y : f u n c t i o n ( ) { r e t u r n v o i d 0 = = = t h i s . $ s l o t s . d e f a u l t } } , m e t h o d s : { o n O p e n C h a n g e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " u p d a t e : o p e n " , e ) } } } , o = ( n ( 2 4 7 ) , n ( 0 ) ) , s = n ( 1 4 5 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " P o p o v e r " , { s t a t i c C l a s s : " u s e r - b u b b l e - p o p o v e r " , a t t r s : { t r i g g e r : " h o v e r f o c u s " , o p e n : e . o p e n , d i s a b l e d : e . p o p o v e r E m p t y } , o n : { " u p d a t e : o p e n " : e . o n O p e n C h a n g e } } , [ n ( " d i v " , e . _ b ( { s t a t i c C l a s s : " u s e r - b u b b l e " , c l a s s : e . p r i m a r y ? " u s e r - b u b b l e - p r i m a r y " : " " , a t t r s : { s l o t : " t r i g g e r " } , s l o t : " t r i g g e r " } , " d i v " , e . l i n k O r N o t , ! 1 ) , [ n ( " A v a t a r " , { s t a t i c C l a s s : " a v a t a r " , a t t r s : { u r l : ! e . i s U s e r A v a t a r & & e . i s I c o n U r l ? e . a v a t a r I m a g e : v o i d 0 , " i c o n - c l a s s " : e . i s U s e r A v a t a r | | e . i s I c o n U r l ? v o i d 0 : e . a v a t a r I m a g e , u s e r : e . i s U s e r A v a t a r ? e . u s e r : v o i d 0 , " d i s p l a y - n a m e " : e . i s U s e r A v a t a r ? e . d i s p l a y N a m e : v o i d 0 , s i z e : 1 6 , " d i s a b l e - t o o l t i p " : ! 0 , " d i s a b l e - m e n u " : ! 0 } } ) , e . _ v ( " " ) , n ( " h 6 " , { s t a t i c C l a s s : " u s e r " } , [ e . _ v ( " \ n \ t \ t \ t " + e . _ s ( e . d i s p l a y N a m e ? e . d i s p l a y N a m e : e . u s e r ) + " \ n \ t \ t " ) ] ) ] , 1 ) , e . _ v ( " " ) , e . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 9 b 4 0 e 9 5 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = u } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , a = n ( 1 7 ) , i = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( a . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { c h e c k I n p u t : f u n c t i o n ( e ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , e ) , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ? t h i s . $ e m i t ( " c h e c k " ) : t h i s . $ e m i t ( " u n c h e c k " ) } } } , o = ( n ( 1 9 6 ) , n ( 0 ) ) , s = n ( 1 3 1 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : e . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - c h e c k b o x " } , [ n ( " i n p u t " , { r e f : " c h e c k b o x " , s t a t i c C l a s s : " c h e c k b o x a c t i o n - c h e c k b o x _ _ c h e c k b o x " , c l a s s : { f o c u s a b l e : e . i s F o c u s a b l e } , a t t r s : { i d : e . i d , d i s a b l e d : e . d i s a b l e d , t y p e : " c h e c k b o x " } , d o m P r o p s : { c h e c k e d : e . c h e c k e d , v a l u e : e . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( t ) { r e t u r n ! t . t y p e . i n d e x O f ( " k e y " ) & & e . _ k ( t . k e y C o d e , " e n t e r " , 1 3 , t . k e y , " E n t e r " ) | | t . c t r l K e y | | t . s h i f t K e y | | t . a l t K e y | | t . m e t a K e y ? n u l l : ( t . p r e v e n t D e f a u l t ( ) , e . c h e c k I n p u t ( t ) ) } , c h a n g e : e . o n C h a n g e } } ) , e . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - c h e c k b o x _ _ l a b e l " , a t t r s : { f o r : e . i d } } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 4 7 0 f 0 6 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = u } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { p r o p s : { a p p N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , a = n ( 0 ) , i = n ( 1 4 1 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " d i v " , { c l a s s : " a p p - " + t h i s . a p p N a m e , a t t r s : { i d : " c o n t e n t " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ *
* @ 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/>.
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 3 3 ) ; v a r r = { n a m e : " A p p S i d e b a r T a b " , p r o p s : { i d : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , o r d e r : { t y p e : N u m b e r , d e f a u l t : 0 } } , c o m p u t e d : { i s A c t i v e : f u n c t i o n ( ) { r e t u r n t h i s . $ p a r e n t . a c t i v e T a b = = = t h i s . i d } } } , a = ( n ( 2 3 3 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " s e c t i o n " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : t h i s . i s A c t i v e , e x p r e s s i o n : " i s A c t i v e " } ] , a t t r s : { i d : " t a b - " + t h i s . i d , " a r i a - h i d d e n " : ! t h i s . i s A c t i v e , " a r i a - l a b e l l e d b y " : t h i s . n a m e , t a b i n d e x : " 0 " , r o l e : " t a b p a n e l " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 c 2 d 9 4 7 c " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 4 6 ) , n ( 2 2 8 ) , n ( 1 5 ) , n ( 1 2 ) , n ( 2 8 ) ; v a r r = n ( 5 ) , a = n . n ( r ) , i = n ( 3 8 ) , o = n ( 1 0 5 ) , s = n ( 3 2 ) , c = f u n c t i o n ( e ) { r e t u r n e & & " s t r i n g " = = t y p e o f e & & " " ! = = e . t r i m ( ) & & - 1 = = = e . i n d e x O f ( " " ) } , l = { n a m e : " A p p S i d e b a r " , c o m p o n e n t s : { A c t i o n s : i . d e f a u l t } , d i r e c t i v e s : { f o c u s : o . d e f a u l t } , m i x i n s : [ s . a ] , p r o p s : { a c t i v e : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { 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 E d i t a b l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , t i t l e P l a c e h o l d e r : { t y p e : S t r i n g , d e f a u l t : " " } , s u b t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , b a c k g r o u n d : { t y p e : S t r i n g , d e f a u l t : " " } , s t a r r e d : { t y p e : B o o l e a n , d e f a u l t : n u l l } , s t a r L o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c o m p a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a b s : [ ] , a c t i v e T a b : " " , i s S t a r r e d : t h i s . s t a r r e d , c h i l d r e n : [ ] } } , c o m p u t e d : { c a n S t a r : f u n c t i o n ( ) { r e t u r n n u l l ! = = t h i s . i s S t a r r e d } , h a s F i g u r e : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . h e a d e r | | t h i s . b a c k g r o u n d } , h a s M u l t i p l e T a b s : f u n c t i o n ( ) { r e t u r n t h i s . t a b s . l e n g t h > 1 } , h a s F i g u r e C l i c k L i s t e n e r : f u n c t i o n ( ) { r e t u r n t h i s . $ l i s t e n e r s [ " f i g u r e - c l i c k " ] } , c u r r e n t T a b I n d e x : f u n c t i o n ( ) { v a r e = t h i s ; r e t u r n t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( t ) { r e t u r n t . i d = = = e . a c t i v e T a b } ) ) } } , w a t c h : { a c t i v e : f u n c t i o n ( e ) { e ! = = t h i s . a c t i v e T a b & & t h i s . u p d a t e A c t i v e ( ) } , s t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = t h i s . s t a r r e d } , c h i l d r e n : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) , t h i s . c h i l d r e n = t h i s . $ c h i l d r e n } , m e t h o d s : { c l o s e S i d e b a r : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c l o s e " , e ) } , o n F i g u r e C l i c k : f u n c t i o n ( e ) { t h i s . $ e m i t ( " f i g u r e - c l i c k " , e ) } , s e t A c t i v e : f u n c t i o n ( e ) { v a r t = e . t a r g e t . c l o s e s t ( " a " ) . d a t a s e t . i d ; t h i s . a c t i v e T a b = t , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t ) } , f o c u s P r e v i o u s T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x > 0 & & ( t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x - 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s N e x t T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x < t h i s . t a b s . l e n g t h - 1 & & ( t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x + 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s F i r s t T a b : f u n c t i o n ( ) { t h i s . a c t i v e T a b = t h i s . t a b s [ 0 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s L a s t T a b : f u n c t i o n ( ) { t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . t a b s . l e n g t h - 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s A c t i v e T a b : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , f o c u s A c t i v e T a b C o n t e n t : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # t a b - " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , u p d a t e A c t i v e : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . a c t i v e T a b = t h i s . a c t i v e & & - 1 ! = = t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( t ) { r e t u r n t . i d = = = e . a c t i v e } ) ) ? t h i s . a c t i v e : t h i s . t a b s . l e n g t h > 0 ? t h i s . t a b s [ 0 ] . i d : " " } , t o g g l e S t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = ! t h i s . i s S t a r r e d , t h i s . $ e m i t ( " u p d a t e : s t a r r e d " , t h i s . i s S t a r r e d ) } , u p d a t e T a b s : f u n c t i o n ( ) { v a r e = t h i s . $ c h i l d r e n . f i l t e r ( ( f u n c t i o n ( e ) { r e t u r n e . n a m e & & " s t r i n g " = = t y p e o f e . n a m e & & c ( e . i d ) & & c ( e . i c o n ) } ) ) ; 0 ! = = e . l e n g t h & & e . l e n g t h ! = = t h i s . $ c h i l d r e n . l e n g t h & & a . a . u t i l . w a r n ( " M i x i n g t a b s a n d n o n - t a b - c o n t e n t i s n o t p o s s i b l e . " ) , t h i s . t a b s = e . s o r t ( ( f u n c t i o n ( e , t ) { v a r n = e . o r d e r | | 0 , r = t . o r d e r | | 0 ; r e t u r n n = = = r ? O C . U t i l . n a t u r a l S o r t C o m p a r e ( e . n a m e , t . n a m e ) : n - r } ) ) , t h i s . t a b s . l e n g t h > 0 & & t h i s . u p d a t e A c t i v e ( ) } , o n T i t l e I n p u t : f u n c t i o n ( e ) { t h i s . $ e m i t ( " i n p u t - t i t l e " , e ) , t h i s . $ e m i t ( " u p d a t e : t i t l e " , e . t a r g e t . v a l u e ) } , o n S u b m i t T i t l e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " s u b m i t - t i t l e " , e ) } , o n D i s m i s s E d i t i n g : f u n c t i o n ( ) { t h i s . $ e m i t ( " d i s m i s s - e d i t i n g " ) } } } , u = ( n ( 2 2 9 ) , n ( 2 3 1 ) , n ( 0 ) ) , p = n ( 1 3 8 ) , d = n . n ( p ) , f = O b j e c t ( u . a ) ( l , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - r i g h t " } } , [ n ( " a s i d e " , { a t t r s : { i d : " a p p - s i d
2020-03-10 21:46:25 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = h } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = ( n ( 2 2 6 ) , n ( 0 ) ) , a = O b j e c t ( r . a ) ( { n a m 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 ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - s p a c e r " } ) } ) , [ ] , ! 1 , n u l l , " 4 2 1 9 5 c c 8 " , n u l l ) . e x p o r t s ; t . d e f a u l t = a } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 1 4 ) , a = n ( 6 ) , i = { d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e } , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 1 , d e f a u l t : O b j e c t ( a . b ) ( " S e t t i n g s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n : ! 1 } } , 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 ( ) { t h i s . o p e n = ! t h i s . o p e n } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o p e n = ! 1 } } } , o = ( n ( 2 2 4 ) , n ( 0 ) ) , s = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " c l i c k - o u t s i d e " , r a w N a m e : " v - c l i c k - o u t s i d e " , v a l u e : e . c l o s e M e n u , e x p r e s s i o n : " c l o s e M e n u " } ] , c l a s s : { o p e n : e . o p e n } , a t t r s : { i d : " a p p - s e t t i n g s " } } , [ n ( " d i v " , { a t t r s : { i d : " a p p - s e t t i n g s - h e a d e r " } } , [ n ( " b u t t o n " , { s t a t i c C l a s s : " s e t t i n g s - b u t t o n " , o n : { c l i c k : e . t o g g l e M e n u } } , [ e . _ v ( " \ n \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t " ) ] ) ] ) , e . _ v ( " " ) , n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - u p " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : e . o p e n , e x p r e s s i o n : " o p e n " } ] , a t t r s : { i d : " a p p - s e t t i n g s - c o n t e n t " } } , [ e . _ t ( " d e f a u l t " ) ] , 2 ) ] ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 0 a f 1 7 7 d 6 " , n u l l ) . e x p o r t s ; t . d e f a u l t = s } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 1 5 ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 8 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , a = n ( 1 7 ) , i = { n a m e : " A c t i o n I n p u t " , c o m p o n e n t s : { D a t e t i m e P i c k e r : n ( 1 1 6 ) . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( a . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . t r i m ( ) } } , 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 y p e : { t y p e : S t r i n g , d e f a u l t : " t e x t " , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n [ " d a t e " , " d a t e t i m e - l o c a l " , " m o n t h " , " n u m b e r " , " p a s s w o r d " , " s e a r c h " , " t e l " , " t e x t " , " t i m e " , " u r l " , " w e e k " ] . i n d e x O f ( e ) > - 1 } } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , 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 ( e ) { r e t u r n ! 1 } } , i s D a t e P i c k e r T y p e : f u n c t i o n ( ) { s w i t c h ( t h i s . t y p e ) { c a s e " d a t e " : c a s e " m o n t h " : c a s e " t i m e " : r e t u r n t h i s . t y p e ; c a s e " d a t e t i m e - l o c a l " : r e t u r n " d a t e t i m e " } r e t u r n ! 1 } , i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n L e a v e : f u n c t i o n ( ) { t h i s . $ r e f s . d a t e t i m e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r . c l o s e P o p u p ( ) } , o n I n p u t : f u n c t i o n ( e ) { t h i s . $ e m i t ( " i n p u t " , e ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , e . t a r g e t ? e . t a r g e t . v a l u e : e ) } , o n S u b m i t : f u n c t i o n ( e ) { i f ( e . p r e v e n t D e f a u l t ( ) , e . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , e ) } , o n C h a n g e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c h a n g e " , e ) } } } , o = ( n ( 1 9 8 ) , n ( 0 ) ) , s = n ( 1 3 2 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : e . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t " , c l a s s : { " a c t i o n - i n p u t - - p i c k e r " : e . i s D a t e P i c k e r T y p e , " a c t i o n - i n p u t - p i c k e r - - d i s a b l e d " : e . d i s a b l e d } , o n : { m o u s e l e a v e : e . o n L e a v e } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i c o n " , c l a s s : [ e . i s I c o n U r l ? " a c t i o n - i n p u t _ _ i c o n - - u r l " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) , e . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ f o r m " , a t t r s : { d i s a b l e d : e . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , e . o n S u b m i t ( t ) } } } , [ e . i s D a t e P i c k e r T y p e ? n ( " D a t e t i m e P i c k e r " , e . _ b ( { r e f : " d a t e t i m e p i c k e r " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ p i c k e r " , a t t r s : { v a l u e : e . v a l u e , p l a c e h o l d e r : e . t e x t , d i s a b l e d : e . d i s a b l e d , t y p e : e . i s D a t e P i c k e r T y p e , " i n p u t - c l a s s " : [ " m x - i n p u t " , { f o c u s a b l e : e . i s F o c u s a b l e } ] } , o n : { i n p u t : e . o n I n p u t , c h a n g e : e . o n C h a n g e } } , " D a t e t i m e P i c k e r " , e . $ a t t r s , ! 1 ) ) : [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ s u b m i t " , a t t r s : { i d : e . i d , t y p e : " s u b m i t " } } ) , e . _ v ( " " ) , n ( " i n p u t " , e . _ b ( { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i n p u t " , c l a s s : { f o c u s a b l e : e . i s F o c u s a b l e } , a t t r s : { t y p e : e . t y p e , p l a c e h o l d e r : e . t e x t , d i s a b l e d : e . d i s a b l e d } , d o m P r o p s : { v a l u e : e . v a l u e } , o n : { i n p u t : e . o n I n p u t , c h a n g e : e . o n C h a n g e } } , " i n p u t " , e . $ a t t r s , ! 1 ) ) , e . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! e . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ l a b e l " , a t t r s : { f o r : e . i d } } ) ] ] , 2 ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 2 9 d e d 9 9 8 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +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/>.
*
* / t . d e f a u l t = u } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 8 4 ) , n ( 1 2 2 ) ; v a r r = { n a m e : " S e t t i n g s S e c t i o n " , c o m p o n e n t s : { } , m i x i n s : [ n ( 3 2 ) . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , d e s c r i p t i o n : { t y p e : S t r i n g , d e f a u l t : " " } , d o c U r l : { 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 : { h a s D e s c r i p t i o n : f u n c t i o n ( ) { r e t u r n t h i s . d e s c r i p t i o n . l e n g t h > 0 } , h a s D o c U r l : f u n c t i o n ( ) { r e t u r n t h i s . d o c U r l . l e n g t h > 0 } } } , a = ( n ( 2 4 5 ) , n ( 0 ) ) , i = n ( 1 4 4 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n " } , [ n ( " h 2 " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ t i t l e " } , [ e . _ v ( " \ n \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t " ) , e . h a s D o c U r l ? n ( " a " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ i n f o " , a t t r s : { h r e f : e . d o c U r l , r o l e : " " , t i t l e : e . t ( " E x t e r n a l d o c u m e n t a t i o n f o r { t i t l e } " , { t i t l e : e . t i t l e } ) } } ) : e . _ e ( ) ] ) , e . _ v ( " " ) , e . h a s D e s c r i p t i o n ? n ( " p " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ d e s c " } , [ e . _ v ( " \ n \ t \ t " + e . _ s ( e . d e s c r i p t i o n ) + " \ n \ t " ) ] ) : e . _ e ( ) , e . _ v ( " " ) , e . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 4 1 7 5 9 d c b " , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ * *
* @ copyright Copyright ( c ) 2019 Greta Doci < gretadoci @ gmail . com >
*
* @ author Greta Doci < gretadoci @ gmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 2 2 ) , n ( 4 ) , n ( 2 3 ) ; v a r r = n ( 1 6 5 ) , a = n ( 4 9 ) , i = n ( 3 2 ) , o = n ( 6 2 ) , s = { n a m e : " C o l o r P i c k e r " , c o m p o n e n t s : { C h r o m e : r . C h r o m e , P o p o v e r : o . d e f a u l t } , m i x i n s : [ i . a ] , p r o p s : { v a l u e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } , d a t a : f u n c t i o n ( ) { v a r e = t h i s ; r e t u r n { c u r r e n t C o l o r : t h i s . v a l u e , a d v a n c e d : ! 1 , p a l e t t e : O b j e c t ( a . a ) ( 4 ) . m a p ( ( f u n c t i o n ( t ) { r e t u r n " # " + e . r g b T o H e x ( t . r ) + e . r g b T o H e x ( t . g ) + e . r g b T o H e x ( t . b ) } ) ) , o p e n : ! 0 } } , w a t c h : { v a l u e : f u n c t i o n ( e ) { t h i s . c u r r e n t C o l o r = e } } , m e t h o d s : { h a n d l e C o n f i r m : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " s u b m i t " , t h i s . c u r r e n t C o l o r ) , t h i s . a d v a n c e d = ! 1 } , h a n d l e B a c k : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 1 } , h a n d l e M o r e S e t t i n g s : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 0 } , p i c k C o l o r : f u n c t i o n ( e ) { " s t r i n g " ! = t y p e o f e & & ( e = t h i s . c u r r e n t C o l o r . h e x ) , t h i s . c u r r e n t C o l o r = e , t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , e ) , t h i s . $ e m i t ( " i n p u t " , e ) } , r g b T o H e x : f u n c t i o n ( e ) { v a r t = e . t o S t r i n g ( 1 6 ) ; r e t u r n 1 = = = t . l e n g t h ? " 0 " + t : t } } } , c = ( n ( 2 4 0 ) , n ( 0 ) ) , l = n ( 1 4 0 ) , u = n . n ( l ) , p = O b j e c t ( c . a ) ( s , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " P o p o v e r " , e . _ g ( e . _ b ( { s c o p e d S l o t s : e . _ u ( [ { k e y : " t r i g g e r " , f n : f u n c t i o n ( ) { r e t u r n [ e . _ t ( " d e f a u l t " ) ] } , p r o x y : ! 0 } ] , n u l l , ! 0 ) } , " P o p o v e r " , e . $ a t t r s , ! 1 ) , e . $ l i s t e n e r s ) , [ e . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r " } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e " , m o d e : " o u t - i n " } } , [ e . a d v a n c e d ? e . _ e ( ) : n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e " } , e . _ l ( e . p a l e t t e , ( f u n c t i o n ( t , r ) { r e t u r n n ( " b u t t o n " , { k e y : r , s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e " , c l a s s : { " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e - - a c t i v e " : t = = = e . c u r r e n t C o l o r } , s t y l e : { " b a c k g r o u n d - c o l o r " : t } , o n : { c l i c k : f u n c t i o n ( n ) { r e t u r n e . p i c k C o l o r ( t ) } } } ) } ) ) , 0 ) , e . _ v ( " " ) , e . a d v a n c e d ? n ( " C h r o m e " , { s t a t i c C l a s s : " c o l o r - p i c k e r - a d v a n c e d " , a t t r s : { " d i s a b l e - a l p h a " : ! 0 , " d i s a b l e - f i e l d s " : ! 0 } , o n : { i n p u t : e . p i c k C o l o r } , m o d e l : { v a l u e : e . c u r r e n t C o l o r , c a l l b a c k : f u n c t i o n ( t ) { e . c u r r e n t C o l o r = t } , e x p r e s s i o n : " c u r r e n t C o l o r " } } ) : e . _ e ( ) ] , 1 ) , e . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n " } , [ e . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n b a c k " , o n : { c l i c k : e . h a n d l e B a c k } } ) : e . _ e ( ) , e . _ v ( " " ) , e . a d v a n c e d ? e . _ e ( ) : n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n m o r e - s e t t i n g s " , o n : { c l i c k : e . h a n d l e M o r e S e t t i n g s } } ) , e . _ v ( " " ) , e . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n c o n f i r m " , o n : { c l i c k : e . h a n d l e C o n f i r m } } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t ( " C h o o s e " ) ) + " \ n \ t \ t \ t " ) ] ) : e . _ e ( ) ] ) ] , 1 ) ] ) } ) , [ ] , ! 1 , n u l l , " 6 8 a a 5 3 2 4 " , n u l l ) ; " f u n c t i o n " = = t y p e o f u . a & & u ( ) ( p ) ; v a r d = p . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /t.default=d},function(e,t,n){"use strict";n.r(t),n(120);var r={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(e){return/ ^ # ? ( [ 0 - 9 A - F ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } } , computed : { formattedColor : function ( ) { return this . color . startsWith ( "#" ) ? this . color : "#" + this . color } } , methods : { onClick : function ( e ) { this . $emit ( "click" , e ) } } } , a = ( n ( 216 ) , n ( 0 ) ) , i = n ( 136 ) , o = n . n ( i ) , s = Object ( a . a ) ( r , ( function ( ) { var e = this . $createElement , t = this . _self . _c || e ; return t ( "div" , { staticClass : "app-navigation-entry__icon-bullet" , on : { click : this . onClick } } , [ t ( "div" , { style : { backgroundColor : this . formattedColor } } ) ] ) } ) , [ ] , ! 1 , null , "6d4e6158" , null ) ; "function" == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
/ * *
* @ 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
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A p p N a v i g a t i o n C o u n t e r " , p r o p s : { h i g h l i g h t e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , a = ( n ( 2 1 4 ) , n ( 0 ) ) , i = n ( 1 3 5 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r " , c l a s s : { " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r - - h i g h l i g h t e d " : t h i s . h i g h l i g h t e d } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 3 f 6 3 0 3 5 " , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = c } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A p p N a v i g a t i o n C a p t i o n " , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , a = ( n ( 2 1 2 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - c a p t i o n " } , [ t h i s . _ v ( " \ n \ t " + t h i s . _ s ( t h i s . t i t l e ) + " \ n " ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 6 a d d 6 7 c " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = ( n ( 2 1 0 ) , n ( 0 ) ) , a = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n " } , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " d i v " , { s t a t i c C l a s s : " v u e " , a t t r s : { i d : " a p p - n a v i g a t i o n " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 5 8 3 4 9 d 0 " , n u l l ) . e x p o r t s ; t . d e f a u l t = a } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A p p C o n t e n t L i s t " , p r o p s : { s e l e c t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s h o w D e t a i l s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , a = n ( 0 ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " d i v " , { s t a t i c C l a s s : " a p p - c o n t e n t - l i s t " , c l a s s : { s e l e c t i o n : t h i s . s e l e c t i o n , s h o w d e t a i l s : t h i s . s h o w D e t a i l s } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 0 ) , a = O b j e c t ( r . a ) ( { n a m e : " A p p C o n t e n t D e t a i l s " } , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " d i v " , { s t a t i c C l a s s : " a p p - c o n t e n t - d e t a i l s " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; t . d e f a u l t = a } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 8 3 ) , a = n . n ( r ) , i = { n a m e : " A p p C o n t e n t " , c o m p o n e n t s : { A p p N a v i g a t i o n T o g g l e : n ( 1 3 0 ) . d e f a u l t } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n e d : ! 1 } } , m o u n t e d : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . m c = n e w a . a ( t h i s . $ e l , { c s s P r o p s : { u s e r S e l e c t : " t e x t " } } ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( t ) { e . h a n d l e S w i p e ( t ) } ) ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m e t h o d s : { t o g g l e N a v i g a t i o n : f u n c t i o n ( e ) { t h i s . o p e n e d = e | | ! t h i s . o p e n e d , t h i s . o p e n e d ? d o c u m e n t . b o d y . c l a s s L i s t . a d d ( " n a v - o p e n " ) : d o c u m e n t . b o d y . c l a s s L i s t . r e m o v e ( " n a v - o p e n " ) } , h a n d l e S w i p e : f u n c t i o n ( e ) { v a r t = e . s r c E v e n t . p a g e X - e . d e l t a X , n = M a t h . a b s ( e . d e l t a X ) > 7 0 ; n & & t < 4 0 ? t h i s . t o g g l e N a v i g a t i o n ( ! 0 ) : t h i s . o p e n e d & & n & & t < 3 4 0 & & t h i s . t o g g l e N a v i g a t i o n ( ! 1 ) } } } , o = ( n ( 2 0 8 ) , n ( 0 ) ) , s = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t , t = t h i s . _ s e l f . _ c | | e ; r e t u r n t ( " m a i n " , { s t a t i c C l a s s : " n o - s n a p p e r " , s t y l e : t h i s . o p e n e d ? " t r a n s f o r m : t r a n s l a t e X ( 3 0 0 p x ) " : " " , a t t r s : { i d : " a p p - c o n t e n t " } } , [ t ( " A p p N a v i g a t i o n T o g g l e " , { a t t r s : { " a r i a - e x p a n d e d " : t h i s . o p e n e d , " a r i a - c o n t r o l s " : " a p p - n a v i g a t i o n " } , o n : { c l i c k : t h i s . t o g g l e N a v i g a t i o n } } ) , t h i s . _ v ( " " ) , t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 5 2 1 0 b 8 b 7 " , n u l l ) . e x p o r t s ; t . d e f a u l t = s } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 2 8 ) ; v a r r = n ( 2 6 ) , a = n ( 1 7 ) , i = { n a m e : " A c t i o n T e x t E d i t a b l e " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( a . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . t r i m ( ) } } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u 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 F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n I n p u t : f u n c t i o n ( e ) { t h i s . $ e m i t ( " i n p u t " , e ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , e . t a r g e t . v a l u e ) } , o n S u b m i t : f u n c t i o n ( e ) { i f ( e . p r e v e n t D e f a u l t ( ) , e . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , e ) } } } , o = ( n ( 2 0 6 ) , n ( 0 ) ) , s = n ( 1 3 4 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : e . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e " } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ i c o n " , c l a s s : [ e . i s I c o n U r l ? " a c t i o n - t e x t - e d i t a b l e _ _ i c o n - - u r l " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) , e . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ f o r m " , a t t r s : { d i s a b l e d : e . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , e . o n S u b m i t ( t ) } } } , [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ s u b m i t " , a t t r s : { i d : e . i d , t y p e : " s u b m i t " } } ) , e . _ v ( " " ) , e . t i t l e ? n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t " ) ] ) : e . _ e ( ) , e . _ v ( " " ) , n ( " t e x t a r e a " , e . _ b ( { c l a s s : [ " a c t i o n - t e x t - e d i t a b l e _ _ t e x t a r e a " , { f o c u s a b l e : e . i s F o c u s a b l e } ] , a t t r s : { d i s a b l e d : e . d i s a b l e d } , d o m P r o p s : { v a l u e : e . v a l u e } , o n : { i n p u t : e . o n I n p u t } } , " t e x t a r e a " , e . $ a t t r s , ! 1 ) ) , e . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! e . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = u } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , a = ( n ( 2 0 4 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t " } , [ " " ! = = e . i c o n ? n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ i c o n " , c l a s s : [ e . i s I c o n U r l ? " a c t i o n - t e x t _ _ i c o n - - u r l " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) : e . _ e ( ) , e . _ v ( " " ) , e . t i t l e ? n ( " p " , [ n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , e . _ v ( " " ) , n ( " b r " ) , e . _ v ( " " ) , n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : e . _ s ( e . t e x t ) } } ) ] ) : e . i s L o n g T e x t ? n ( " p " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : e . _ s ( e . t e x t ) } } ) : n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t e x t " } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 7 e c b 1 5 7 c " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = ( n ( 2 0 2 ) , n ( 0 ) ) , a = O b j e c t ( r . a ) ( { n a m e : " A c t i o n S e p a r a t o r " } , ( f u n c t i o n ( ) { v a r e = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | e ) ( " l i " , { s t a t i c C l a s s : " a c t i o n - s e p a r a t o r a c t i o n - - d i s a b l e d " } ) } ) , [ ] , ! 1 , n u l l , " 0 b 3 8 8 6 1 b " , n u l l ) . e x p o r t s ; t . d e f a u l t = a } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , a = n ( 1 7 ) , i = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( a . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { t o g g l e I n p u t : f u n c t i o n ( e ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . r a d i o . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , e ) } } } , o = ( n ( 2 0 0 ) , n ( 0 ) ) , s = n ( 1 3 3 ) , c = n . n ( s ) , l = O b j e c t ( o . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : e . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r a d i o " } , [ n ( " i n p u t " , { r e f : " r a d i o " , s t a t i c C l a s s : " r a d i o a c t i o n - r a d i o _ _ r a d i o " , c l a s s : { f o c u s a b l e : e . i s F o c u s a b l e } , a t t r s : { i d : e . i d , d i s a b l e d : e . d i s a b l e d , n a m e : e . n a m e , t y p e : " r a d i o " } , d o m P r o p s : { c h e c k e d : e . c h e c k e d , v a l u e : e . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( t ) { r e t u r n ! t . t y p e . i n d e x O f ( " k e y " ) & & e . _ k ( t . k e y C o d e , " e n t e r " , 1 3 , t . k e y , " E n t e r " ) | | t . c t r l K e y | | t . s h i f t K e y | | t . a l t K e y | | t . m e t a K e y ? n u l l : ( t . p r e v e n t D e f a u l t ( ) , e . t o g g l e I n p u t ( t ) ) } , c h a n g e : e . o n C h a n g e } } ) , e . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - r a d i o _ _ l a b e l " , a t t r s : { f o r : e . i d } } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 e 7 b 4 0 4 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = u } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 1 6 7 ) , n ( 2 3 5 ) , n ( 2 2 ) , n ( 2 3 6 ) , n ( 1 2 1 ) , n ( 2 3 7 ) , n ( 1 6 8 ) ; v a r r = n ( 5 ) , a = n . n ( r ) , i = n ( 1 6 4 ) , o = n . n ( i ) , s = n ( 3 8 ) , c = n ( 1 1 8 ) , l = n ( 1 1 7 ) , u = n ( 3 1 ) , p = n ( 1 1 5 ) , d = { n a m e : " B r e a d c r u m b s " , c o m p o n e n t s : { A c t i o n s : s . d e f a u l t , A c t i o n R o u t e r : c . d e f a u l t , A c t i o n L i n k : l . d e f a u l t , B r e a d c r u m b : p . d e f a u l t } , p r o p s : { r o o t I c o n : { t y p e : S t r i n g , d e f a u l t : " i c o n - h o m e " } } , d a t a : f u n c t i o n ( ) { r e t u r n { h i d d e n C r u m b s : [ ] , h i d d e n I n d i c e s : [ ] } } , b e f o r e M o u n t : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , c r e a t e d : f u n c t i o n ( ) { v a r e = t h i s ; w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , o ( ) ( ( f u n c t i o n ( ) { e . h a n d l e W i n d o w R e s i z e ( ) } ) , 1 0 0 ) ) } , m o u n t e d : f u n c t i o n ( ) { t h i s . h a n d l e W i n d o w R e s i z e ( ) } , u p d a t e d : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . h a n d l e W i n d o w R e s i z e ( ) } ) ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) } , m e t h o d s : { c l o s e A c t i o n s : f u n c t i o n ( e ) { t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ e l . c o n t a i n s ( e . r e l a t e d T a r g e t ) | | ( t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 1 ) } , h a n d l e W i n d o w R e s i z e : f u n c t i o n ( ) { v a r e = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( t h i s . $ r e f s . c o n t a i n e r ) { v a r t = e . l e n g t h , n = [ ] , r = t h i s . $ r e f s . c o n t a i n e r . o f f s e t W i d t h , a = t h i s . g e t T o t a l W i d t h ( e ) - r ; a + = a > 0 ? 5 1 : 0 ; f o r ( v a r i = 0 , o = M a t h . f l o o r ( t / 2 ) ; a > 0 & & i < t - 2 ; ) { v a r s = o + ( i % 2 ? i + 1 : i ) / 2 * M a t h . p o w ( - 1 , i + t % 2 ) ; a - = t h i s . g e t W i d t h ( e [ s ] . e l m ) , n . p u s h ( s ) , i + + } t h i s . a r r a y s E q u a l ( t h i s . h i d d e n I n d i c e s , n . s o r t ( ( f u n c t i o n ( e , t ) { r e t u r n e - t } ) ) ) | | ( t h i s . h i d d e n C r u m b s = n . m a p ( ( f u n c t i o n ( t ) { r e t u r n e [ t ] } ) ) , t h i s . h i d d e n I n d i c e s = n ) } } , a r r a y s E q u a l : f u n c t i o n ( e , t ) { i f ( e . l e n g t h ! = = t . l e n g t h ) r e t u r n ! 1 ; i f ( e = = = t ) r e t u r n ! 0 ; i f ( n u l l = = = e | | n u l l = = = t ) r e t u r n ! 1 ; f o r ( v a r n = 0 ; n < e . l e n g t h ; + + n ) i f ( e [ n ] ! = = t [ n ] ) r e t u r n ! 1 ; r e t u r n ! 0 } , g e t T o t a l W i d t h : f u n c t i o n ( e ) { v a r t = t h i s ; r e t u r n e . r e d u c e ( ( f u n c t i o n ( e , n , r ) { r e t u r n e + t . g e t W i d t h ( n . e l m ) } ) , 0 ) } , g e t W i d t h : f u n c t i o n ( e ) { i f ( ! e . c l a s s L i s t ) r e t u r n 0 ; v a r t = e . c l a s s L i s t . c o n t a i n s ( " c r u m b - - h i d d e n " ) ; e . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ; v a r n = e . o f f s e t W i d t h ; r e t u r n t & & e . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) , n } , p r e v e n t D e f a u l t : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t & & e . p r e v e n t D e f a u l t ( ) , ! 1 } , d r a g S t a r t : f u n c t i o n ( e ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( e ) } , d r o p p e d : f u n c t i o n ( e , t , n ) { r e t u r n n | | t h i s . $ e m i t ( " d r o p p e d " , e , t ) , t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 1 , d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( e ) { e . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , t h i s . p r e v e n t D e f a u l t ( e ) } , d r a g O v e r : f u n c t i o n ( e ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( e ) } , d r a g E n t e r : f u n c t i o n ( e , t ) { i f ( ! t & & e . t a r g e t . c l o s e s t ) { v a r n = e . t a r g e t . c l o s e s t ( " . c r u m b " ) ; n . c l a s s L i s t & & n . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & ( d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( e ) { e . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , n . c l a s s L i s t . a d d ( " c r u m b - - h o v e r e d " ) ) } } , d r a g L e a v e : f u n c t i o n ( e , t ) { i f ( ! t & & ! e . t a r g e t . c o n t a i n s ( e . r e l a t e d T a r g e t ) & & e . t a r g e t . c l o s e s t ) { v a r n = e . t a r g e t . c l o s e s t ( " . c r u m b " ) ; i f ( n . c o n t a i n s ( e . r e l a t e d T a r g e t ) ) r e t u r n ; n . c l a s s L i s t & & n . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & n . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } } , a d d C r u m b s : f u n c t i o n ( e , t ) { v a r n = t h i s ; t . f o r E a c h ( ( f u n c t i o n ( t , r ) { t . e l m & & t . e l m . c l a s s L i s t & & ( n . h i d d e n C r u m b s . i n c l u d e s ( t ) ? t . e l m . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) : t . e l m . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ) , e . p u s h ( t ) } ) ) } } , r e n d e r : f u n c t i o n ( e ) { v a r t = t h i s , n = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( 0 ! = = n . l e n g t h ) { a . a . s e t ( n [ 0 ] . c o m p o n e n t O p t i o n s . p r o p s D a t a , " i c o n " , t h i s . r o o t I c o n ) ; v a r r = [ ] , i = t h i s . h i d d e n C r u m b s . l e n g t h ? n . s l i c e ( 0 , M a t h . r o u n d ( n . l e n g t h / 2 ) ) : n ; t h i s . a d d C r u m b s ( r , i ) , t h i s . h i d d e n C r u m b s . l e n g t h & & r . p u s h ( e ( " B r e a d c r u m b " , { c l a s s : " d r o p d o w n " , p r o p s : { t i t l e : " " , f o r c e M e n u : ! 0 , d i s a b l e D r o p : ! 0 , h i d e a b l e : ! 1 } , r e f : " a c t i o n s B r e a d c r u m b " , k e y : " a c t i o n s - b r e a d c r u m b - 1 " , n a t i v e O n : { d r a g s t a r t : t h i s . d r a g S t a r t , d r a g e n t e r : f u n c t i o n ( ) { t . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 0 } , d r a g l e a v e : t h i s . c l o s e A c t i o n s } } , t h i s . h i d d e n C r u m b s . m a p ( ( f u n c t i o n ( n ) { v a r r = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . t o , a = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . h r e f , i = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . d i s a b l e D r o p , o = " A c t i o n L i n k " , s = a ; r e t u r n r & & ( o = " A c t i o n R o u t e r " , s = r ) , e ( o , { c l a s s : " c r u m b " , p r o p s : { t o : r , h r e f : a , i c o n : " i c o n - f o l d e r " } , a t t r s : { d r a g g a b l e : ! 1 } , n a t i v e O n : { d r a g s t a r t : t . d r a g S t a r t , d r o p : f u n c t i o n ( e ) { r e t u r n t . d r o p p e d ( e , s , i ) } , d r a g o v e r : t . d r a g O v e r , d r a g e n t e r : f u n c t i o n ( e ) { r e t u r n t . d r a g E n t e r ( e , i ) } , d r a g l e a v e : f u n c t i o n ( e ) { r e t u r n t . d r a g L e a v e ( e , i ) } } } , n . c o m p
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = g } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 8 9 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 3 4 7 0 f 0 6 9 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x : f o c u s + . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - c h e c k b o x - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x - - d i s a b l e d . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { c u r s o r : p o i n t e r } . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : h o v e r . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : f o c u s . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 9 0 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 ) , a = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = r ( ! 1 ) ; v a r l = a ( i ) , u = a ( o ) , p = a ( s ) , d = a ( c ) ; t . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + p + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + d + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 2 9 d e d 9 9 8 ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] { m a r g i n : 0 ; p a d d i n g : 7 p x 6 p x ; c u r s o r : t e x t ; c o l o r : v a r ( - - c o l o r - t e x t - l i g h t e r ) ; b o r d e r : 1 p x s o l i d v a r ( - - c o l o r - b o r d e r - d a r k ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; o u t l i n e : n o n e ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f o n t - s i z e : 1 3 p x } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , b u t t o n : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , t e x t a r e a : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] { b o r d e r - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; o u t l i n e : n o n e } b u t t
2018-11-19 12:26:04 +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/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n Y ( e , t ) { v a r n = O b j e c t . k e y s ( e ) ; i 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 ) { v a r r = 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 ( e ) ; t & & ( r = r . 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 ( e , t ) . e n u m e r a b l e } ) ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } f u n c t i o n H ( e , t , n ) { r e t u r n t i n e ? O b j e c t . d e f i n e P r o p e r t y ( e , t , { 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 } ) : e [ t ] = n , e }
2018-11-19 12:26:04 +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/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n G ( e ) { O b j e c t . v a l u e s ( r ) . f o r E a c h ( ( f u n c t i o n ( t ) { e . c o m p o n e n t ( t . n a m e , 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 & & G ( w i n d o w . V u e ) , t . d e f a u l t = f u n c t i o n ( e ) { f o r ( v a r t = 1 ; t < a r g u m e n t s . l e n g t h ; t + + ) { v a r n = n u l l ! = a r g u m e n t s [ t ] ? a r g u m e n t s [ t ] : { } ; t % 2 ? Y ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( t ) { H ( e , t , n [ t ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( n ) ) : Y ( O b j e c t ( n ) ) . f o r E a c h ( ( f u n c t i o n ( t ) { O b j e c t . d e f i n e P r o p e r t y ( e , t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , t ) ) } ) ) } r e t u r n e } ( { i n s t a l l : G } , r ) } ] ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; ( f u n c t i o n ( e ) { f o r (
2018-11-19 12:26:04 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
2019-06-04 14:50:12 +03:00
* @ version 1.15 . 0
2018-11-19 12:26:04 +03:00
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2020-06-04 11:52:03 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , a = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { a = 1 ; break } var o = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , a ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function c ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function l ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function u ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = c ( e ) , n = t . overflow , r = t . overflowX , a = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + a + r ) ? e : u ( l ( e ) ) } var p = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( e ) { return 11 === e ? p : 10 === e ? d : p || d } function h ( e ) { if ( ! e ) return document . documentElement ; for ( var t = f ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? h ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function m ( e ) { return null !== e . parentNode ? m ( e . parentNode ) : e } function v ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? e : t , a = n ? t : e , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( a , 0 ) ; var o , s , c = i . commonAncestorContainer ; if ( e !== c && t !== c || r . contains ( a ) ) return "BODY" === ( s = ( o = c ) . nodeName ) || "HTML" !== s && h ( o . firstElementChild ) !== o ? h ( c ) : c ; var l = m ( e ) ; return l . host ? v ( l . host , t ) : v ( e , m ( t ) . host ) } function g ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === t ? "scrollTop" : "scrollLeft" , r = e . nodeName ; if ( "BODY" === r || "HTML" === r ) { var a = e . ownerDocument . documentElement , i = e . ownerDocument . scrollingElement || a ; return i [ n ] } return e [ n ] } function b ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( t , "top" ) , a = g ( t , "left" ) , i = n ? - 1 : 1 ; return e . top += r * i , e . bottom += r * i , e . left += a * i , e . right += a * i , e } function A ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] , 10 ) + parseFloat ( e [ "border" + r + "Width" ] , 10 ) } function y ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , f ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function x ( e ) { var t = e . body , n = e . documentElement , r = f ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , t , n , r ) , width : y ( "Width" , t , n , r ) } } var w = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , _ = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } return function ( t , n , r ) { return n && e ( t . prototype , n ) , r && e ( t , r ) , t } } ( ) , C = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , k = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ; function T ( e ) { return k ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function E ( e ) { var t = { } ; try { if ( f ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = g ( e , "top" ) , r = g ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var a = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , i = "HTML" === e . nodeName ? x ( e . ownerDocument ) : { } , o = i . width || e . clientWidth || a . right - a . left , s = i . height || e . clientHeight || a . bottom - a . top , l = e . offsetWidth - o , u = e . offsetHeight - s ; if ( l || u ) { var p = c ( e ) ; l -= A ( p , "x" ) , u -= A ( p , "y" ) , a . width -= l , a . height -= u } return T ( a ) } function S ( e , t ) { var n = arguments . length > 2 && void 0 !== a
2020-01-16 02:03:29 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-06-04 11:52:03 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,a=r.exec(n);if(!a)return n;var i=" ",o=0,s=0;for(o=a.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}s!==o&&(i+=n.substring(s,o)),s=o+1,i+=t}return s!==o?i+n.substring(s,o):i}},function(e,t,n){" use strict ";n(252),Object.defineProperty(t," _ _esModule ",{value:!0}),t.default=void 0;var r,a=(r=n(275))&&r.__esModule?r:{default:r},i=n(292);var o=a.default.create({headers:{requesttoken:(0,i.getRequestToken)()}}),s=Object.assign(o,{CancelToken:a.default.CancelToken,isCancel:a.default.isCancel});(0,i.onRequestTokenUpdate)((function(e){return o.defaults.headers.requesttoken=e}));var c=s;t.default=c},function(e,t,n){var r=n(253),a=n(272);r({target:" Object ",stat:!0,forced:Object.assign!==a},{assign:a})},function(e,t,n){var r=n(22),a=n(157).f,i=n(65),o=n(256),s=n(103),c=n(263),l=n(271);e.exports=function(e,t){var n,u,p,d,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(d=t[u],p=e.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(m?u:h+(v?" . ":" # ")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(e.sham||p&&p.sham)&&i(d," sham ",!0),o(n,u,d,e)}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(22),a=n(64),i=r.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(22),a=n(65),i=n(50),o=n(103),s=n(166),c=n(257),l=c.get,u=c.enforce,p=String(String).split(" String ");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;" function "==typeof n&&(" string "!=typeof t||i(n," name ")||a(n," name ",t),u(n).source=p.join(" string "==typeof t?t:" ")),e!==r?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:a(e,t,n)):l?e[t]=n:o(t,n)})(Function.prototype," toString ",(function(){return" function "==typeof this&&l(this).source||s(this)}))},function(e,t,n){var r,a,i,o=n(258),s=n(22),c=n(64),l=n(65),u=n(50),p=n(259),d=n(168),f=s.WeakMap;if(o){var h=new f,m=h.get,v=h.has,g=h.set;r=function(e,t){return g.call(h,e,t),t},a=function(e){return m.call(h,e)||{}},i=function(e){return v.call(h,e)}}else{var b=p(" state ");d[b]=!0,r=function(e,t){return l(e,b,t),t},a=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:a,has:i,enforce:function(e){return i(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw TypeError(" Incompatible receiver , "+e+" required ");return n}}}},function(e,t,n){var r=n(22),a=n(166),i=r.WeakMap;e.exports=" function "==typeof i&&/native code/.test(a(i))},function(e,t,n){var r=n(260),a=n(262),i=r(" keys ");e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n){var r=n(261),a=n(167);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})(" versions ",[]).push({version:" 3.6 . 4 ",mode:r?" pure ":" global ",copyright:" © 2020 Denis Pushkarev ( zloirock . ru ) "})},function(e,t){e.exports=!1},function(e,t){var n=0,r=Math.random();e.exports=function(e){return" Symbol ( "+String(void 0===e?" ":e)+" ) _ "+(++n+r).toString(36)}},function(e,t,n){var r=n(50),a=n(264),i=n(157),o=n(164);e.exports=function(e,t){for(var n=a(t),s=o.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},function(e,t,n){var r=n(265),a=n(267),i=n(172),o=n(165);e.exports=r(" Reflect "," ownKeys ")||function(e){var t=a.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(266),a=n(22),i=function(e){return" function "==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},function(e,t,n){var r=n(22);e.exports=r},function(e,t,n){var r=n(169),a=n(171).concat(" length "," prototype " ) ; t . f = Object . getOwnPropertyNames || function ( e ) { return r ( e , a ) } } , function ( e , t , n ) { var r = n ( 102 ) , a = n ( 269 ) , i = n ( 270 ) , o = function ( e ) { return function ( t , n , o ) { var s , c = r ( t ) , l = a ( c . length ) , u = i ( o , l ) ; if ( e && n != n ) { for ( ; l > u ; ) if ( ( s = c [ u ++ ] ) != s ) return ! 0 } else for ( ; l > u ; u ++ ) if ( ( e || u in c ) && c [ u ] === n ) return e || u || 0 ; return ! e && - 1 } }
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-06-04 11:52:03 +03:00
e . exports = function ( e ) { return null != e && ( n ( e ) || function ( e ) { return "function" == typeof e . readFloatLE && "function" == typeof e . slice && n ( e . slice ( 0 , 0 ) ) } ( e ) || ! ! e . _isBuffer ) } } , function ( e , t , n ) { var r = n ( 0 ) , a = n ( 149 ) ; r ( { target : "Object" , stat : ! 0 , forced : Object . assign !== a } , { assign : a } ) } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , a = n ( 87 ) , i = n ( 40 ) , o = n ( 14 ) , s = n ( 18 ) , c = n ( 95 ) , l = n ( 47 ) , u = n ( 45 ) , p = n ( 17 ) , d = u ( "splice" ) , f = p ( "splice" , { ACCESSORS : ! 0 , 0 : 0 , 1 : 2 } ) , h = Math . max , m = Math . min ; r ( { target : "Array" , proto : ! 0 , forced : ! d || ! f } , { splice : function ( e , t ) { var n , r , u , p , d , f , v = s ( this ) , g = o ( v . length ) , b = a ( e , g ) , A = arguments . length ; if ( 0 === A ? n = r = 0 : 1 === A ? ( n = 0 , r = g - b ) : ( n = A - 2 , r = m ( h ( i ( t ) , 0 ) , g - b ) ) , g + n - r > 9007199254740991 ) throw TypeError ( "Maximum allowed length exceeded" ) ; for ( u = c ( v , r ) , p = 0 ; p < r ; p ++ ) ( d = b + p ) in v && l ( u , p , v [ d ] ) ; if ( u . length = r , n < r ) { for ( p = b ; p < g - r ; p ++ ) f = p + n , ( d = p + r ) in v ? v [ f ] = v [ d ] : delete v [ f ] ; for ( p = g ; p > g - r + n ; p -- ) delete v [ p - 1 ] } else if ( n > r ) for ( p = g - r ; p > b ; p -- ) f = p + n - 1 , ( d = p + r - 1 ) in v ? v [ f ] = v [ d ] : delete v [ f ] ; for ( p = 0 ; p < n ; p ++ ) v [ p + b ] = arguments [ p + 2 ] ; return v . length = g - r + n , u } } ) } , function ( e , t , n ) { "use strict" ; var r , a , i , o , s = n ( 0 ) , c = n ( 25 ) , l = n ( 2 ) , u = n ( 26 ) , p = n ( 309 ) , d = n ( 9 ) , f = n ( 97 ) , h = n ( 27 ) , m = n ( 106 ) , v = n ( 5 ) , g = n ( 44 ) , b = n ( 46 ) , A = n ( 20 ) , y = n ( 83 ) , x = n ( 105 ) , w = n ( 183 ) , _ = n ( 310 ) , C = n ( 186 ) . set , k = n ( 311 ) , T = n ( 312 ) , E = n ( 313 ) , S = n ( 188 ) , M = n ( 314 ) , O = n ( 19 ) , I = n ( 41 ) , N = n ( 1 ) , L = n ( 96 ) , D = N ( "species" ) , P = "Promise" , j = O . get , B = O . set , F = O . getterFor ( P ) , R = p , $ = l . TypeError , U = l . document , z = l . process , V = u ( "fetch" ) , Y = S . f , H = Y , G = "process" == A ( z ) , Q = ! ! ( U && U . createEvent && l . dispatchEvent ) , W = I ( P , ( function ( ) { if ( ! ( y ( R ) !== String ( R ) ) ) { if ( 66 === L ) return ! 0 ; if ( ! G && "function" != typeof PromiseRejectionEvent ) return ! 0 } if ( c && ! R . prototype . finally ) return ! 0 ; if ( L >= 51 && /native code/ . test ( R ) ) return ! 1 ; var e = R . resolve ( 1 ) , t = function ( e ) { e ( ( function ( ) { } ) , ( function ( ) { } ) ) } ; return ( e . constructor = { } ) [ D ] = t , ! ( e . then ( ( function ( ) { } ) ) instanceof t ) } ) ) , q = W || ! w ( ( function ( e ) { R . all ( e ) . catch ( ( function ( ) { } ) ) } ) ) , Z = function ( e ) { var t ; return ! ( ! v ( e ) || "function" != typeof ( t = e . then ) ) && t } , X = function ( e , t , n ) { if ( ! t . notified ) { t . notified = ! 0 ; var r = t . reactions ; k ( ( function ( ) { for ( var a = t . value , i = 1 == t . state , o = 0 ; r . length > o ; ) { var s , c , l , u = r [ o ++ ] , p = i ? u . ok : u . fail , d = u . resolve , f = u . reject , h = u . domain ; try { p ? ( i || ( 2 === t . rejection && te ( e , t ) , t . rejection = 1 ) , ! 0 === p ? s = a : ( h && h . enter ( ) , s = p ( a ) , h && ( h . exit ( ) , l = ! 0 ) ) , s === u . promise ? f ( $ ( "Promise-chain cycle" ) ) : ( c = Z ( s ) ) ? c . call ( s , d , f ) : d ( s ) ) : f ( a ) } catch ( e ) { h && ! l && h . exit ( ) , f ( e ) } } t . reactions = [ ] , t . notified = ! 1 , n && ! t . rejection && J ( e , t ) } ) ) } } , K = function ( e , t , n ) { var r , a ; Q ? ( ( r = U . createEvent ( "Event" ) ) . promise = t , r . reason = n , r . initEvent ( e , ! 1 , ! 0 ) , l . dispatchEvent ( r ) ) : r = { promise : t , reason : n } , ( a = l [ "on" + e ] ) ? a ( r ) : "unhandledrejection" === e && E ( "Unhandled promise rejection" , n ) } , J = function ( e , t ) { C . call ( l , ( function ( ) { var n , r = t . value ; if ( ee ( t ) && ( n = M ( ( function ( ) { G ? z . emit ( "unhandledRejection" , r , e ) : K ( "unhandledrejection" , e , r ) } ) ) , t . rejection = G || ee ( t ) ? 2 : 1 , n . error ) ) throw n . value } ) ) } , ee = function ( e ) { return 1 !== e . rejection && ! e . parent } , te = function ( e , t ) { C . call ( l , ( function ( ) { G ? z . emit ( "rejectionHandled" , e ) : K ( "rejectionhandled" , e , t . value ) } ) ) } , ne = function ( e , t , n , r ) { return function ( a ) { e ( t , n , a , r ) } } , re = function ( e , t , n , r ) { t . done || ( t . done = ! 0 , r && ( t = r ) , t . value = n , t . state = 2 , X ( e , t , ! 0 ) ) } , ae = function ( e , t , n , r ) { if ( ! t . done ) { t . done = ! 0 , r && ( t = r ) ; try { if ( e === n ) throw $ ( "Promise can't be resolved itself" ) ; var a = Z ( n ) ; a ? k ( ( function ( ) { var r = { done : ! 1 } ; try { a . call ( n , ne ( ae , e , r , t ) , ne ( re , e , r , t ) ) } catch ( n ) { re ( e , r , n , t ) } } ) ) : ( t . value = n , t . state = 1 , X ( e , t , ! 1 ) ) } catch ( n ) { re ( e , { done : ! 1 } , n , t ) } } } ; W && ( R = function ( e ) { b ( this , R , P ) , g ( e ) , r . call ( this ) ; var t = j ( this ) ; try { e ( ne ( ae , this , t ) , ne ( re , this , t ) ) } catch ( e ) { re ( this , t , e ) } } , ( r = function ( e ) { B ( this , { type : P , done : ! 1 , notified : ! 1 , parent : ! 1 , reactions : [ ] , rejection : ! 1 , state : 0 , value : void 0 } ) } ) . prototype = f ( R . prototype , { then : function ( e , t ) { var n = F ( this ) , r = Y ( _ ( this , R ) ) ; return r . ok = "function" != typeof e || e , r . fail = "function" == typeof t && t , r . domain = G ? z . domain : void 0 , n . parent = ! 0 , n . reactions . push ( r ) , 0 != n . state && X ( this , n , ! 1 ) , r . promise } , catch : function ( e ) { return this . then ( void 0 , e ) } } ) , a = function ( ) { var e = new r , t = j ( e ) ; this . promise = e , this . resolve = ne ( ae , e , t ) , this . reject = ne ( re , e , t ) } , S . f = Y = function ( e ) { return e === R || e === i ? new a ( e ) : H ( e ) } , c || "function" != typeof p || ( o = p . prototype . then , d ( p . prototype , "
2020-01-16 02:03:29 +03:00
/ * ! 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 ;
2020-06-04 11:52:03 +03:00
* Licensed under the MIT license * /!function(a,i,o,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(e,t,n){return setTimeout(x(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , i = a . console && ( a . console . warn || a . console . log ) ; return i && i . call ( a . console , r , n ) , e . apply ( this , arguments ) } } c = "function" != typeof Object . assign ? function ( e ) { if ( null == e ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var t = Object ( e ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( null != r ) for ( var a in r ) r . hasOwnProperty ( a ) && ( t [ a ] = r [ a ] ) } return t } : Object . assign ; var b = g ( ( function ( e , t , n ) { for ( var r = Object . keys ( t ) , a = 0 ; a < r . length ; ) ( ! n || n && void 0 === e [ r [ a ] ] ) && ( e [ r [ a ] ] = t [ r [ a ] ] ) , a ++ ; return e } ) , "extend" , "Use `assign`." ) , A = g ( ( function ( e , t ) { return b ( e , t , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function y ( e , t , n ) { var r , a = t . prototype ; ( r = e . prototype = Object . create ( a ) ) . constructor = e , r . _super = a , n && c ( r , n ) } function x ( e , t ) { return function ( ) { return e . apply ( t , arguments ) } } function w ( e , t ) { return "function" == typeof e ? e . apply ( t && t [ 0 ] || void 0 , t ) : e } function _ ( e , t ) { return void 0 === e ? t : e } function C ( e , t , n ) { v ( S ( t ) , ( function ( t ) { e . addEventListener ( t , n , ! 1 ) } ) ) } function k ( e , t , n ) { v ( S ( t ) , ( function ( t ) { e . removeEventListener ( t , n , ! 1 ) } ) ) } function T ( e , t ) { for ( ; e ; ) { if ( e == t ) return ! 0 ; e = e . parentNode } return ! 1 } function E ( e , t ) { return e . indexOf ( t ) > - 1 } function S ( e ) { return e . trim ( ) . split ( /\s+/g ) } function M ( e , t , n ) { if ( e . indexOf && ! n ) return e . indexOf ( t ) ; for ( var r = 0 ; r < e . length ; ) { if ( n && e [ r ] [ n ] == t || ! n && e [ r ] === t ) return r ; r ++ } return - 1 } function O ( e ) { return Array . prototype . slice . call ( e , 0 ) } function I ( e , t , n ) { for ( var r = [ ] , a = [ ] , i = 0 ; i < e . length ; ) { var o = t ? e [ i ] [ t ] : e [ i ] ; M ( a , o ) < 0 && r . push ( e [ i ] ) , a [ i ] = o , i ++ } return n && ( r = t ? r . sort ( ( function ( e , n ) { return e [ t ] > n [ t ] } ) ) : r . sort ( ) ) , r } function N ( e , t ) { for ( var n , r , a = t [ 0 ] . toUpperCase ( ) + t . slice ( 1 ) , i = 0 ; i < l . length ; ) { if ( ( r = ( n = l [ i ] ) ? n + a : t ) in e ) return r ; i ++ } } var L = 1 ; function D ( e ) { var t = e . ownerDocument || e ; return t . defaultView || t . parentWindow || a } var P = "ontouchstart" in a , j = void 0 !== N ( a , "PointerEvent" ) , B = P && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , F = [ "x" , "y" ] , R = [ "clientX" , "clientY" ] ; function $ ( e , t ) { var n = this ; this . manager = e , this . callback = t , this . element = e . element , this . target = e . options . inputTarget , this . domHandler = function ( t ) { w ( e . options . enable , [ e ] ) && n . handler ( t ) } , this . init ( ) } function U ( e , t , n ) { var r = n . pointers . length , a = n . changedPointers . length , i = 1 & t && r - a == 0 , o = 12 & t && r - a == 0 ; n . isFirst = ! ! i , n . isFinal = ! ! o , i && ( e . session = { } ) , n . eventType = t , function ( e , t ) { var n = e . session , r = t . pointers , a = r . length ; n . firstInput || ( n . firstInput = z ( t ) ) ; a > 1 && ! n . firstMultiple ? n . firstMultiple = z ( t ) : 1 === a && ( n . firstMultiple = ! 1 ) ; var i = n . firstInput , o = n . firstMultiple , s = o ? o . center : i . center , c = t . center = V ( r ) ; t . timeStamp = f ( ) , t . deltaTime = t . timeStamp - i . timeStamp , t . angle = Q ( s , c ) , t . distance = G ( s , c ) , function ( e , t ) { var n = t . center , r = e . offsetDelta || { } , a = e . prevDelta || { } , i = e . prevInput || { } ; 1 !== t . eventType && 4 !== i . eventType || ( a = e . prevDelta = { x : i . deltaX || 0 , y : i . deltaY || 0 } , r = e . offsetDelta = { x : n . x , y : n . y } ) ; t . deltaX = a . x + ( n . x - r . x ) , t . deltaY = a . y + ( n . y - r . y ) } ( n , t ) , t . offsetDirection = H ( t . deltaX , t . deltaY ) ; var l = Y ( t . deltaTime , t . deltaX , t . deltaY ) ; t . overallVelocityX = l . x , t . overallVelocityY = l . y , t . overallVelocity = d ( l . x ) > d ( l . y ) ? l . x : l . y , t . scale = o ? ( u = o . pointers , p = r , G ( p [ 0 ] , p [ 1 ] , R ) / G ( u [ 0 ] , u [ 1 ] , R ) ) : 1 , t . rotation = o ? function ( e , t ) { return Q ( t [ 1 ] , t [ 0 ] , R ) + Q ( e [ 1 ] , e [ 0 ] , R ) } ( o . pointers , r ) : 0 , t . maxPointers = n . prevInput ? t . pointers . length > n . prevInput . maxPointers ? t . pointers . length : n . prevInput . maxPointers : t . pointers . length , function ( e , t ) { var n , r , a , i , o = e . lastInterval || t , s = t . timeStamp - o . timeStamp ; if ( 8 != t . eventType && ( s > 25 || void 0 === o . velocity ) ) { var c
2018-06-07 17:23:39 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Joas Schilling < coding @ schilljs . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-02-15 22:31:47 +03:00
* /
2020-05-07 22:56:28 +03:00
i . default . mixin ( { methods : { t : function ( e , t , n , r , a ) { return OC . L10N . translate ( e , t , n , r , a ) } , n : function ( e , t , n , r , a , i ) { return OC . L10N . translatePlural ( e , t , n , r , a , i ) } } } ) , new i . default ( { el : "#updatenotification" , render : function ( e ) { return e ( d ) } } ) } ] ) ;
2018-06-19 07:26:57 +03:00
//# sourceMappingURL=updatenotification.js.map