2020-04-12 04:20:47 +03:00
( window . webpackJsonpSettings = window . webpackJsonpSettings || [ ] ) . push ( [ [ 0 ] , [ , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , , , 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 ( 10 ) ) } , , , , , , , , , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , , , , , , , , , , , , function ( e , t , n ) { var a = n ( 16 ) ; e . exports = ! a ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , , , , , , , , function ( e , t , n ) { var a = n ( 40 ) , r = n ( 175 ) , i = n ( 171 ) ; e . exports = a ? function ( e , t , n ) { return r . f ( e , t , i ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { var a = n ( 70 ) ; e . exports = function ( e ) { if ( ! a ( e ) ) throw TypeError ( String ( e ) + " is not an object" ) ; return e } } , , , , , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = function ( e ) { if ( null == e ) throw TypeError ( "Can't call method on " + e ) ; return e } } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { var a = n ( 19 ) , r = n ( 48 ) , i = n ( 28 ) , o = n ( 100 ) , s = n ( 176 ) , c = n ( 287 ) , l = c . get , u = c . enforce , d = String ( String ) . split ( "String" ) ; ( e . exports = function ( e , t , n , s ) { var c = ! ! s && ! ! s . unsafe , l = ! ! s && ! ! s . enumerable , A = ! ! s && ! ! s . noTargetGet ; "function" == typeof n && ( "string" != typeof t || i ( n , "name" ) || r ( n , "name" , t ) , u ( n ) . source = d . join ( "string" == typeof t ? t : "" ) ) , e !== a ? ( c ? ! A && e [ t ] && ( l = ! 0 ) : delete e [ t ] , l ? e [ t ] = n : r ( 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 ) { var n = Math . ceil , a = Math . floor ; e . exports = function ( e ) { return isNaN ( e = + e ) ? 0 : ( e > 0 ? a : n ) ( e ) } } , , , , , , , , , , , , , , , , , , , , , , , function ( e , t , n ) { "use strict" ; var a = n ( 3 ) , r = n ( 96 ) ; a ( { target : "RegExp" , proto : ! 0 , forced : /./ . exec !== r } , { exec : r } ) } , function ( e , t , n ) { "use strict" ; var a , r , i = n ( 142 ) , o = n ( 192 ) , s = RegExp . prototype . exec , c = String . prototype . replace , l = s , u = ( a = /a/ , r = /b*/g , s . call ( a , "a" ) , s . call ( r , "a" ) , 0 !== a . lastIndex || 0 !== r . lastIndex ) , d = o . UNSUPPORTED _Y || o . BROKEN _CARET , A = void 0 !== /()??/ . exec ( "" ) [ 1 ] ; ( u || A || d ) && ( l = function ( e ) { var t , n , a , r , o = this , l = d && o . sticky , p = i . call ( o ) , f = o . source , m = 0 , g = e ; return l && ( - 1 === ( p = p . replace ( "y" , "" ) ) . indexOf ( "g" ) && ( p += "g" ) , g = String ( e ) . slice ( o . lastIndex ) , o . lastIndex > 0 && ( ! o . multiline || o . multiline && "\n" !== e [ o . lastIndex - 1 ] ) && ( f = "(?: " + f + ")" , g = " " + g , m ++ ) , n = new RegExp ( "^(?:" + f + ")" , p ) ) , A && ( n = new RegExp ( "^" + f + "$(?!\\s)" , p ) ) , u && ( t = o . lastIndex ) , a = s . call ( l ? n : o , g ) , l ? a ? ( a . input = a . input . slice ( m ) , a [ 0 ] = a [ 0 ] . slice ( m ) , a . index = o . lastIndex , o . lastIndex += a [ 0 ] . length ) : o . lastIndex = 0 : u && a && ( o . lastIndex = o . global ? a . index + a [ 0 ] . length : t ) , A && a && a . length > 1 && c . call ( a [ 0 ] , n , ( function ( ) { for ( r = 1 ; r < arguments . length - 2 ; r ++ ) void 0 === arguments [ r ] && ( a [ r ] = void 0 ) } ) ) , a } ) , e . exports = l } , function ( e , t , n ) { var a = n ( 19 ) , r = n ( 169 ) . f , i = n ( 48 ) , o = n ( 71 ) , s = n ( 100 ) , c = n ( 291 ) , l = n ( 297 ) ; e . exports = function ( e , t ) { var n , u , d , A , p , f = e . target , m = e . global , g = e . stat ; if ( n = m ? a : g ? a [ f ] || s ( f , { } ) : ( a [ f ] || { } ) . prototype ) for ( u in t ) { if ( A = t [ u ] , d = e . noTargetGet ? ( p = r ( n , u ) ) && p . value : n [ u ] , ! l ( m ? u : f + ( g ? "." : "#" ) + u , e . forced ) && void 0 !== d ) { if ( typeof A == typeof d ) continue ; c ( A , d ) } ( e . sham || d && d . sham ) && i ( A , "sham" , ! 0 ) , o ( n , u , A , e ) } } } , function ( e , t , n ) { var a = n ( 172 ) , r = n ( 69 ) ; e . exports = function ( e ) { return a ( r ( e ) ) } } , function ( e , t ) { var n = { } . toString ; e . exports = function ( e ) { return n . call ( e ) . slice ( 8 , - 1 ) } } , function ( e , t , n ) { var a = n ( 19 ) , r = n ( 48 ) ; e . exports = function ( e , t ) { try { r ( a , e , t ) } catch ( n ) { a [ e ] = t } return t } } , function ( e , t , n ) { var a = { } ; a [ n ( 102 ) ( "toStringTag" ) ] = "z" , e . exports = "[object z]" === String ( a ) } , function ( e , t , n ) { var a = n ( 19 ) , r = n ( 178 ) , i = n ( 28 ) , o = n ( 179 ) , s = n ( 187 ) , c = n ( 304 ) , l = r ( "wks" ) , u = a . Symbol , d = c ? u : u && u . withoutSetter || o ; e . exports = function ( e ) { return i ( l , e ) || ( s && i ( u , e ) ? l [ e ] = u [ e ] : l [ e ] = d ( "Symbol." + e ) ) , l [ e ] } } , function ( e , t , n ) { "use strict" ; var a , r , i = n ( 189 ) , o = n ( 307 ) , s = RegExp . prototype . exec , c = String . prototype . replace , l = s , u = ( a = /a/ , r = /b*/g , s . call ( a , "a" ) , s . call ( r , "a" ) , 0 !== a . lastIndex || 0 !== r . lastIndex ) , d = o . UNSUPPORTED _Y || o . BROKEN _CARET , A = void 0 !== /()??/ . exec ( "" ) [ 1 ] ; ( u || A || d ) && ( l = function ( e ) { var t , n , a , r , o = this , l = d && o . sticky , p = i . call ( o ) , f = o . source , m = 0 , g
2019-12-23 11:31:48 +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-04-10 13:01:29 +03:00
a . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , a . VTooltip . options . defaultHtml = ! 1 , t . default = a . VTooltip } , function ( e , t ) { e . exports = n ( 259 ) } , function ( e , t ) { e . exports = n ( 262 ) } , function ( e , t , n ) { "use strict" ; n ( 12 ) , n ( 28 ) ; var a = n ( 5 ) , r = n . n ( a ) ;
2018-10-01 08:03:23 +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-04-10 13:01:29 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(r.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 0 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 7 8 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 0 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 6 4 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 3 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 7 9 ) } , 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 a = n ( 1 6 ) , r = ( 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 : [ a . 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 = r ( 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 6 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 4 ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 6 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 4 0 a 2 1 2 a " , a , ! 0 , { } ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 6 5 ) } , 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 a = n ( 5 ) , r = n . n ( a ) ; 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 a = e . l e n g t h - 1 ; a > = 0 ; a - - ) { v a r i = e [ a ] , 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 ) & & r . 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 ( a , 1 ) ) } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r a = n ( 6 ) ; t . a = { m e t h o d s : { n : a . a , t : a . b } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 4 3 ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 7 3 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 2 e c 4 9 f " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 7 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 c 5 6 1 1 1 6 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 7 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 3 0 9 3 1 4 0 " , a , ! 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 a = 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 >
2018-10-01 08:03:23 +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
2018-10-01 08:03:23 +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 = a . a } , f u n c t i o n ( e , t , n ) { v a r a = n ( 8 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e 9 b 7 7 0 8 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 4 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , a , ! 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 a = n ( 1 4 ) , r = 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 , a = 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 , r = O b j e c t . a s s i g n ( { } ) ; r e t u r n r . t o p = t . t o p < 0 , r . l e f t = t . l e f t < 0 , r . b o t t o m = t . b o t t o m > n , r . r i g h t = t . r i g h t > a , r . a n y = r . t o p | | r . l e f t | | r . b o t t o m | | r . r i g h t , r . a l l = r . t o p & & r . l e f t & & r . b o t t o m & & r . r i g h t , r . o f f s e t Y = r . t o p ? t . t o p : r . b o t t o m ? t . b o t t o m - n : 0 , r . o f f s e t X = r . l e f t ? t . l e f t : r . r i g h t ? t . r i g h t - a : 0 , r } ) , 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 : a . d i r e c t i v e , t o o l t i p : r . d e f a u l t } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , 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-04-10 13:01:29 +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 ( 3 4 4 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 4 ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 2 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 e e 2 a 8 2 6 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
2018-10-01 08:03:23 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2018-10-01 08:03:23 +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-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
* /
function a ( e , t , n ) { this . r = e , this . g = t , this . b = n } function r ( e , t , n ) { var r = [ ] ; r . 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 ) ; r . push ( new a ( s , c , l ) ) } return r } n ( 25 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new a ( 182 , 70 , 157 ) , n = new a ( 221 , 203 , 85 ) , i = new a ( 0 , 130 , 201 ) , o = r ( e , t , n ) , s = r ( e , n , i ) , c = r ( 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 a = { 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 ) } } } , r = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( r . a ) ( a , ( 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 , a = t . target , r = ! ! a . checked ; if ( Array . isArray ( n ) ) { var i = e . _i ( n , null ) ; a . 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" , r ) } , 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-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 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 >
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
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.default=l},function(e,t){e.exports=n(35)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var a=n(14),r=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 d(e,t,n,a,r,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(a,r)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){d(i,a,r,o,s,"next",e)}function s(e){d(i,a,r,o,s,"throw",e)}o(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:a.directive},components:{PopoverMenu:r.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 , a = [ ] , r = 0 ; r < e . length ; r ++ ) a . push ( parseInt ( e . charAt ( r ) , 16 ) % 16 ) ; for ( var i in a ) n += a [ 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 A ( 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 A ( regeneratorRuntime . mark ( ( function t ( ) { var n , a , r ; 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 : a = t . sent , r = a . data , e . contactsMenuActions = r . topAction ? [ r . topAction ] . concat ( r . actions ) : r . actions , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , e . contactsMenuOpenState = !
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
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
2019-10-13 19:26:09 +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 = v } , 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 a = n ( 1 4 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 1 9 a e 6 0 e " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 5 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 1 5 a d e 5 4 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 5 3 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 8 1 f c 7 8 9 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 5 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 5 3 8 3 c f 7 b " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , a , ! 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 a = { 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 } } , r = ( n ( 1 2 8 ) , n ( 0 ) ) , i = n ( 5 5 ) , o = n . n ( i ) , s = O b j e c t ( r . a ) ( a , ( 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-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +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-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-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 ) { e . e x p o r t s = n ( 3 4 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 6 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r a = n ( 2 9 ) ; n . n ( a ) . a } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 ) , r = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = a ( ! 1 ) ; v a r l = r ( i ) , u = r ( o ) , d = r ( s ) , A = r ( 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 ( ' + d + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + A + ' ) 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-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03: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
* 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 = a . a } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 9 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 9 3 6 7 d 9 8 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 9 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 4 2 c c 3 2 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 0 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 d f a f 5 b 6 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 0 3 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 8 c 7 f e f d 2 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 0 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 9 e 5 7 6 c 0 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 0 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 6 f 9 a 7 f d " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 0 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 a 8 9 e 6 1 5 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 7 3 2 c 1 4 8 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 3 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 5 8 5 7 6 b 8 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 3 4 a f 9 b 1 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 d 8 c 0 1 4 f " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 9 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 3 7 1 3 4 c 2 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 2 1 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 0 2 9 b d e 6 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 2 3 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 6 1 f d 1 0 7 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 2 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 7 4 9 4 b 7 0 " , a , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r a = n ( 2 2 7 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 e 3 e c e 1 5 " , a , ! 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 a } ) ) ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Georg Ehrke
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Georg Ehrke < oc . list @ georgehrke . 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
var a = { inserted : function ( e ) { e . focus ( ) } } ; t . default = a } , function ( e , t , n ) { var a = n ( 230 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "45aebdd4" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 232 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "4dd3631b" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 234 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "d7dc05bc" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 239 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "704815e4" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 241 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "68ca4235" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 243 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "6e72f645" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 246 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "2c80b26e" , a , ! 0 , { } ) } , function ( e , t , n ) { var a = n ( 248 ) ; "string" == typeof a && ( a = [ [ e . i , a , "" ] ] ) , a . locals && ( e . exports = a . locals ) , ( 0 , n ( 2 ) . default ) ( "fb56f796" , a , ! 0 , { } ) } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var a = n ( 44 ) , r = ( 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 ( r ) , 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 ) , d = n . n ( u ) , A = 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 d . a && d ( ) ( A ) ; var p = A . exports , f = ( 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 ) ( f , ( 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 ) , g = n ( 32 ) , h = n ( 13 ) , v = n ( 125 ) ; function b ( e ) { return ( b = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } var x = { 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 ( a . a ) ( T ) , t . default = T } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var a = { 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 ) } } } , r = ( n ( 154 ) , n ( 0 ) ) , i = n ( 80 ) , o = n . n ( i ) , s = Object ( r . a ) ( a , ( 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 a = n ( 4 4 ) , r = ( 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 ( r ) . 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 ( a . 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 a = { 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 } } } } , r = ( n ( 148 ) , n ( 0 ) ) , i = n ( 79 ) , o = n . n ( i ) , s = Object ( r . a ) ( a , ( 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-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 a = { 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 } } } , r = ( n ( 1 5 0 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( a , ( 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 a = n ( 5 ) , r = n e w ( n . n ( a ) . 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 ( ) { r . $ 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 = r . 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 ( ) { r . $ 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 6 8 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 2 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 3 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 4 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 8 2 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 5 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r a = n ( 4 7 ) ; n . n ( a ) . 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 a = n ( 4 8 ) ; n . n ( a ) . 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 r } ) ) ; v a r a = ( n ( 1 5 2 ) , n ( 0 ) ) , r = O b j e c t ( a . 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 = r } , 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 a = n ( 14 ) , r = 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 : r . a , ActionButton : i . a , AppNavigationIconCollapsible : c } , directives : { ClickOutside : a . 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" ) } } } , d = ( n ( 220 ) , n ( 137 ) ) , A = n . n ( d ) , p = Object ( s . a ) ( u , ( function ( ) { var e , t = this , n = t . $createElement , a = t . _self . _c || n ; return a ( "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 ( ) : a ( "a" , { staticClass : "app-navigation-entry-link" , attrs : { href : "#" } , on : { click : t . onClick } } , [ a ( "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 ( " " ) , a ( "span" , { staticClass : "app-navigation-entry__title" } , [ t . _v ( t . _s ( t . title ) ) ] ) ] ) , t . _v ( " " ) , t . collapsible ? a ( "AppNavigationIconCollapsible" , { attrs : { open : t . opened } , on : { click : function ( e ) { return e . preventDefault ( ) , e . stopPropagation ( ) , t . toggleCollapse ( e ) } } } ) : t . _e ( ) , t . _v ( " " ) , t . undo ? a ( "div" , { staticClass : "app-navigation-entry__deleted" } , [ a ( "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 ? a ( "div" , { staticClass : "app-navigation-entry__utils" } , [ t . _t ( "counter" ) , t . _v ( " " ) , a ( "Actions" , { attrs : { "menu-align" : " righ
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
2019-06-04 14:50:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = f } , 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 a = n ( 4 4 ) , r = ( n ( 1 5 ) , n ( 3 3 ) , n ( 8 3 ) ) , i = n . n ( r ) , 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 d ( e , t ) { v a r n , a , r , i = t ; t h i s . s t a r t = f u n c t i o n ( ) { r = ! 0 , a = 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 ( ) { r = ! 1 , c l e a r T i m e o u t ( n ) , i - = n e w D a t e - a } , t h i s . c l e a r = f u n c t i o n ( ) { r = ! 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 r & & ( 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 r } , t h i s . s t a r t ( ) } v a r A = { 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 d ( ( 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 ( ) } } } , p = ( n ( 2 4 2 ) , n ( 0 ) ) , f = n ( 1 4 2 ) , m = n . n ( f ) , g = O b j e c t ( p . a ) ( A , ( 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 ( a . a ) ( h ) , 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 ) , n ( 4 6 ) , n ( 2 4 4 ) , n ( 2 2 ) , n ( 3 3 ) , n ( 4 ) , n ( 6 8 ) , n ( 6 9 ) ; v a r a = n ( 3 2 ) , r = 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 , a , r , 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 ( a , r ) }
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 a = 0 ; a < t . a t t r i b u t e s . l e n g t h ; a + + ) { v a r r = t . a t t r i b u t e s . i t e m ( a ) ; n [ " @ a t t r i b u t e s " ] [ r . n o d e N a m e ] = r . 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 a i n t ) { v a r r = t [ a ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = r [ " 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 ( r [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : r [ " 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 " = = = r [ " 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 " = = = r [ " 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 " = = = r [ " 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 ( a , r ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n o ( e ) { c ( i , a , r , o , s , " n e x t " , e ) } f u n c t i o n s ( e ) { c ( i , a , r , 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 ) } } ( ) , d = n ( 6 ) ; f u n c t i o n A ( e , t , n , a , r , 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 ( a , r ) } v a r p = { 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 : r . d e f a u l t } , m i x i n s : [ a . 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 ( d . 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 ( a , r ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n o ( e ) { A ( i , a , r , o , s , " n e x t " , e ) } f u n c t i o n s ( e ) { A ( i , a , r , 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 , a = 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 ( d . b ) ( " { t a g } ( i n v i s i b l e ) " , { t a g : t } ) : ! 1 = = = a ? O b j e c t ( d . b ) ( " { t a g } ( r e s t r i c t e d ) " , { t a g : t } ) : t } } } , f = n ( 0 ) , m = n ( 1 4 3 ) , g = n . n ( m ) , h = O b j e c t ( f . a ) ( p , ( 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 = v } , 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 a = { 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 } } } , r = ( n ( 2 2 2 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( a , ( 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 a = n ( 6 2 ) , r = 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 : a . d e f a u l t , A v a t a r : r . 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 a = n ( 1 6 ) , r = 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 : [ a . 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 ( r . 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 a = { 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 } } } , r = n ( 0 ) , i = n ( 1 4 1 ) , o = n . n ( i ) , s = O b j e c t ( r . a ) ( a , ( 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 a = { 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 } } } , r = ( n ( 2 3 3 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( a , ( 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 a = n ( 5 ) , r = n . n ( a ) , 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 & & r . 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 , a = t . o r d e r | | 0 ; r e t u r n n = = = a ? 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 - a } ) ) , 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 ) ) , d = n ( 1 3 8 ) , A = n . n ( d ) , p = 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
2019-05-17 10:49:47 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
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 = f } , 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 a = ( n ( 2 2 6 ) , n ( 0 ) ) , r = O b j e c t ( a . 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 = r } , 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 a = n ( 1 4 ) , r = 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 : a . 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 ( r . 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 a = n ( 1 6 ) , r = 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 : [ a . 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 ( r . 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 a = { 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 } } } , r = ( n ( 2 4 5 ) , n ( 0 ) ) , i = n ( 1 4 4 ) , o = n . n ( i ) , s = O b j e c t ( r . a ) ( a , ( 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 a = n ( 1 6 5 ) , r = 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 : a . 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 ( r . 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 ) , d = 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 , a ) { r e t u r n n ( " b u t t o n " , { k e y : a , 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 ( ) ( d ) ; v a r A = d . 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=A},function(e,t,n){"use strict";n.r(t),n(120);var a={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 ) } } } , r = ( n ( 216 ) , n ( 0 ) ) , i = n ( 136 ) , o = n . n ( i ) , s = Object ( r . a ) ( a , ( 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 a = { 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 } } } , r = ( n ( 2 1 4 ) , n ( 0 ) ) , i = n ( 1 3 5 ) , o = n . n ( i ) , s = O b j e c t ( r . a ) ( a , ( 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 a = { 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 } } } , r = ( n ( 2 1 2 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( a , ( 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 a = ( n ( 2 1 0 ) , n ( 0 ) ) , r = O b j e c t ( a . 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 = r } , 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 a = { 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 } } } , r = n ( 0 ) , i = O b j e c t ( r . a ) ( a , ( 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 a = n ( 0 ) , r = O b j e c t ( a . 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 = r } , 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 a = n ( 8 3 ) , r = n . n ( a ) , 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 r . 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 a = n ( 2 6 ) , r = 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 : [ a . 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 ( r . 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
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 a = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , r = ( n ( 2 0 4 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( a , ( 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 a = ( n ( 2 0 2 ) , n ( 0 ) ) , r = O b j e c t ( a . 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 = r } , 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 a = n ( 1 6 ) , r = 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 : [ a . 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 ( r . 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 a = n ( 5 ) , r = n . n ( a ) , 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 ) , d = n ( 1 1 5 ) , A = { 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 : d . 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 = [ ] , a = 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 , r = t h i s . g e t T o t a l W i d t h ( e ) - a ; r + = r > 0 ? 5 1 : 0 ; f o r ( v a r i = 0 , o = M a t h . f l o o r ( t / 2 ) ; r > 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 ) ; r - = 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 , a ) { 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 , a ) { 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 ) { r . 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 a = [ ] , 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 ( a , i ) , t h i s . h i d d e n C r u m b s . l e n g t h & & a . 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 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 . t o , 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 . 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 = r ; r e t u r n a & & ( o = " A c t i o n R o u t e r " , s = a ) , e ( o , { c l a s s : " c r u m b " , p r o p s : { t o : a , h r e f : r , 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-01-16 02:03:29 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2020-01-16 02:03:29 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
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
* 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 " ; v a r a = n ( 8 9 ) ; n . n ( a ) . 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 a = n ( 9 0 ) ; n . n ( a ) . a } , f u n c t i o n ( e , t , n ) { v a r a = n ( 1 ) , r = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = a ( ! 1 ) ; v a r l = r ( i ) , u = r ( o ) , d = r ( s ) , A = r ( 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 ( ' + d + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + A + ' ) 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
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n R ( 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 a = 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 & & ( a = a . 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 , a ) } r e t u r n n } f u n c t i o n Z ( 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 }
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /function H(e){Object.values(a).forEach((function(t){e.component(t.name,t)}))}"undefined"!=typeof window&&window.Vue&&H(window.Vue),t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({install:H},a)}])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a=n(5),r=n(9).f,i=Function.prototype,o=i.toString,s=/ ^ \ s * function ( [ ^ ( ] * ) / ; a && ! ( "name" in i ) && r ( i , "name" , { configurable : ! 0 , get : function ( ) { try { return o . call ( this ) . match ( s ) [ 1 ] } catch ( e ) { return "" } } } ) } , , , , function ( e , t , n ) { e . exports = function ( ) { var e = "__v-click-outside" , t = "undefined" != typeof window , n = "undefined" != typeof navigator , a = t && ( "ontouchstart" in window || n && navigator . msMaxTouchPoints > 0 ) ? [ "touchstart" ] : [ "click" ] ; function r ( t , n ) { var r = function ( e ) { var t = "function" == typeof e ; if ( ! t && "object" != typeof e ) throw new Error ( "v-click-outside: Binding value must be a function or an object" ) ; return { handler : t ? e : e . handler , middleware : e . middleware || function ( e ) { return e } , events : e . events || a , isActive : ! ( ! 1 === e . isActive ) } } ( n . value ) , i = r . handler , o = r . middleware ; r . isActive && ( t [ e ] = r . events . map ( ( function ( e ) { return { event : e , handler : function ( e ) { return function ( e ) { var t = e . el , n = e . event , a = e . handler , r = e . middleware , i = n . path || n . composedPath && n . composedPath ( ) , o = i ? i . indexOf ( t ) < 0 : ! t . contains ( n . target ) ; n . target !== t && o && r ( n ) && a ( n ) } ( { event : e , el : t , handler : i , middleware : o } ) } } } ) ) , t [ e ] . forEach ( ( function ( n ) { var a = n . event , r = n . handler ; return setTimeout ( ( function ( ) { t [ e ] && document . documentElement . addEventListener ( a , r , ! 1 ) } ) , 0 ) } ) ) ) } function i ( t ) { ( t [ e ] || [ ] ) . forEach ( ( function ( e ) { return document . documentElement . removeEventListener ( e . event , e . handler , ! 1 ) } ) ) , delete t [ e ] } var o = t ? { bind : r , update : function ( e , t ) { var n = t . value , a = t . oldValue ; JSON . stringify ( n ) !== JSON . stringify ( a ) && ( i ( e ) , r ( e , { value : n } ) ) } , unbind : i } : { } ; return { install : function ( e ) { e . directive ( "click-outside" , o ) } , directive : o } } ( ) } , function ( e , t , n ) { "use strict" ; var a = n ( 3 ) , r = n ( 41 ) . map , i = n ( 42 ) , o = n ( 21 ) , s = i ( "map" ) , c = o ( "map" ) ; a ( { target : "Array" , proto : ! 0 , forced : ! s || ! c } , { map : function ( e ) { return r ( this , e , arguments . length > 1 ? arguments [ 1 ] : void 0 ) } } ) } , function ( e , t , n ) { "use strict" ; n ( 68 ) , n ( 95 ) , n ( 164 ) , n ( 165 ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . getGettextBuilder = function ( ) { return new l } ; var a , r = ( a = n ( 280 ) ) && a . _ _esModule ? a : { default : a } , i = n ( 283 ) ; function o ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } function s ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var a = t [ n ] ; a . enumerable = a . enumerable || ! 1 , a . configurable = ! 0 , "value" in a && ( a . writable = ! 0 ) , Object . defineProperty ( e , a . key , a ) } } function c ( e , t , n ) { return t && s ( e . prototype , t ) , n && s ( e , n ) , e } var l = function ( ) { function e ( ) { o ( this , e ) , this . translations = { } , this . debug = ! 1 } return c ( e , [ { key : "setLanguage" , value : function ( e ) { return this . locale = e , this } } , { key : "detectLocale" , value : function ( ) { return this . setLanguage ( ( 0 , i . getLanguage ) ( ) ) } } , { key : "addTranslation" , value : function ( e , t ) { return this . translations [ e ] = t , this } } , { key : "enableDebugMode" , value : function ( ) { return this . debug = ! 0 , this } } , { key : "build" , value : function ( ) { return new u ( this . locale || "en" , this . translations , this . debug ) } } ] ) , e } ( ) , u = function ( ) { function e ( t , n , a ) { for ( var i in o ( this , e ) , this . gt = new r . default ( { debug : a , sourceLocale : "en" } ) , n ) this . gt . addTranslations ( i , "messages" , n [ i ] ) ; this . gt . setLocale ( t ) } return c ( e , [ { key : "subtitudePlaceholders" , value : function ( e , t ) { return e . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var a = t [ n ] ; return "string" == typeof a || "number" == typeof a ? a . toString ( ) : e } ) ) } } , { key : "gettext" , value : function ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : { } ; return this . subtitudePlaceholders ( this . gt . gettext ( e ) , t ) } } , { key : "ngettext" , value : function ( e , t , n ) { var a = arguments . length > 3 && void 0 !== arguments [ 3 ] ? arguments [ 3 ] : { } ; return this . subtitudePlaceholders ( this . gt . ngettext ( e , t , n ) . replace ( /%n/g , n . toString ( ) ) , a ) } } ] ) , e } ( ) } , function ( e , t , n ) { "use strict" ; var 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-04-10 13:01:29 +03:00
* /var a=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,r=a.exec(n);if(!r)return n;var i=" ",o=0,s=0;for(o=r.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){var a,r,i,o,s;a=n(359),r=n(267).utf8,i=n(360),o=n(267).bin,(s=function(e,t){e.constructor==String?e=t&&" binary "===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=a.bytesToWords(e),c=8*e.length,l=1732584193,u=-271733879,d=-1732584194,A=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var f=s._ff,m=s._gg,g=s._hh,h=s._ii;for(p=0;p<n.length;p+=16){var v=l,b=u,x=d,y=A;l=f(l,u,d,A,n[p+0],7,-680876936),A=f(A,l,u,d,n[p+1],12,-389564586),d=f(d,A,l,u,n[p+2],17,606105819),u=f(u,d,A,l,n[p+3],22,-1044525330),l=f(l,u,d,A,n[p+4],7,-176418897),A=f(A,l,u,d,n[p+5],12,1200080426),d=f(d,A,l,u,n[p+6],17,-1473231341),u=f(u,d,A,l,n[p+7],22,-45705983),l=f(l,u,d,A,n[p+8],7,1770035416),A=f(A,l,u,d,n[p+9],12,-1958414417),d=f(d,A,l,u,n[p+10],17,-42063),u=f(u,d,A,l,n[p+11],22,-1990404162),l=f(l,u,d,A,n[p+12],7,1804603682),A=f(A,l,u,d,n[p+13],12,-40341101),d=f(d,A,l,u,n[p+14],17,-1502002290),l=m(l,u=f(u,d,A,l,n[p+15],22,1236535329),d,A,n[p+1],5,-165796510),A=m(A,l,u,d,n[p+6],9,-1069501632),d=m(d,A,l,u,n[p+11],14,643717713),u=m(u,d,A,l,n[p+0],20,-373897302),l=m(l,u,d,A,n[p+5],5,-701558691),A=m(A,l,u,d,n[p+10],9,38016083),d=m(d,A,l,u,n[p+15],14,-660478335),u=m(u,d,A,l,n[p+4],20,-405537848),l=m(l,u,d,A,n[p+9],5,568446438),A=m(A,l,u,d,n[p+14],9,-1019803690),d=m(d,A,l,u,n[p+3],14,-187363961),u=m(u,d,A,l,n[p+8],20,1163531501),l=m(l,u,d,A,n[p+13],5,-1444681467),A=m(A,l,u,d,n[p+2],9,-51403784),d=m(d,A,l,u,n[p+7],14,1735328473),l=g(l,u=m(u,d,A,l,n[p+12],20,-1926607734),d,A,n[p+5],4,-378558),A=g(A,l,u,d,n[p+8],11,-2022574463),d=g(d,A,l,u,n[p+11],16,1839030562),u=g(u,d,A,l,n[p+14],23,-35309556),l=g(l,u,d,A,n[p+1],4,-1530992060),A=g(A,l,u,d,n[p+4],11,1272893353),d=g(d,A,l,u,n[p+7],16,-155497632),u=g(u,d,A,l,n[p+10],23,-1094730640),l=g(l,u,d,A,n[p+13],4,681279174),A=g(A,l,u,d,n[p+0],11,-358537222),d=g(d,A,l,u,n[p+3],16,-722521979),u=g(u,d,A,l,n[p+6],23,76029189),l=g(l,u,d,A,n[p+9],4,-640364487),A=g(A,l,u,d,n[p+12],11,-421815835),d=g(d,A,l,u,n[p+15],16,530742520),l=h(l,u=g(u,d,A,l,n[p+2],23,-995338651),d,A,n[p+0],6,-198630844),A=h(A,l,u,d,n[p+7],10,1126891415),d=h(d,A,l,u,n[p+14],15,-1416354905),u=h(u,d,A,l,n[p+5],21,-57434055),l=h(l,u,d,A,n[p+12],6,1700485571),A=h(A,l,u,d,n[p+3],10,-1894986606),d=h(d,A,l,u,n[p+10],15,-1051523),u=h(u,d,A,l,n[p+1],21,-2054922799),l=h(l,u,d,A,n[p+8],6,1873313359),A=h(A,l,u,d,n[p+15],10,-30611744),d=h(d,A,l,u,n[p+6],15,-1560198380),u=h(u,d,A,l,n[p+13],21,1309151649),l=h(l,u,d,A,n[p+4],6,-145523070),A=h(A,l,u,d,n[p+11],10,-1120210379),d=h(d,A,l,u,n[p+2],15,718787259),u=h(u,d,A,l,n[p+9],21,-343485551),l=l+v>>>0,u=u+b>>>0,d=d+x>>>0,A=A+y>>>0}return a.endian([l,u,d,A])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error(" Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},function(e,t,n){" use strict ";var a,r,i,o,s=n(3),c=n(26),l=n(2),u=n(24),d=n(361),A=n(11),p=n(94),f=n(25),m=n(105),g=n(6),h=n(58),v=n(43),b=n(23),x=n(84),y=n(88),w=n(159),M=n(362),T=n(268).set,C=n(363),_=n(364),k=n(365),E=n(270),S=n(366),B=n(20),I=n(52),N=n(0),D=n(87),L=N(" species "),P=" Promise ",F=B.get,O=B.set,j=B.getterFor(P),Q=d,U=l.TypeError,Y=l.document,G=l.process,z=u(" fetch "),R=E.f,Z=R,H=" proces
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-04-10 13:01:29 +03:00
* Licensed under the MIT license * /!function(r,i,o,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d=Math.round,A=Math.abs,p=Date.now;function f(e,t,n){return setTimeout(y(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var a;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(a=0;a<e.length;)t.call(n,e[a],a,e),a++;else for(a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a,e)}function h(e,t,n){var a="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 = r . console && ( r . console . warn || r . console . log ) ; return i && i . call ( r . console , a , 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 a = arguments [ n ] ; if ( null != a ) for ( var r in a ) a . hasOwnProperty ( r ) && ( t [ r ] = a [ r ] ) } return t } : Object . assign ; var v = h ( ( function ( e , t , n ) { for ( var a = Object . keys ( t ) , r = 0 ; r < a . length ; ) ( ! n || n && void 0 === e [ a [ r ] ] ) && ( e [ a [ r ] ] = t [ a [ r ] ] ) , r ++ ; return e } ) , "extend" , "Use `assign`." ) , b = h ( ( function ( e , t ) { return v ( e , t , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function x ( e , t , n ) { var a , r = t . prototype ; ( a = e . prototype = Object . create ( r ) ) . constructor = e , a . _super = r , n && c ( a , n ) } function y ( 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 M ( e , t ) { return void 0 === e ? t : e } function T ( e , t , n ) { g ( E ( t ) , ( function ( t ) { e . addEventListener ( t , n , ! 1 ) } ) ) } function C ( e , t , n ) { g ( E ( t ) , ( function ( t ) { e . removeEventListener ( t , n , ! 1 ) } ) ) } function _ ( e , t ) { for ( ; e ; ) { if ( e == t ) return ! 0 ; e = e . parentNode } return ! 1 } function k ( e , t ) { return e . indexOf ( t ) > - 1 } function E ( e ) { return e . trim ( ) . split ( /\s+/g ) } function S ( e , t , n ) { if ( e . indexOf && ! n ) return e . indexOf ( t ) ; for ( var a = 0 ; a < e . length ; ) { if ( n && e [ a ] [ n ] == t || ! n && e [ a ] === t ) return a ; a ++ } return - 1 } function B ( e ) { return Array . prototype . slice . call ( e , 0 ) } function I ( e , t , n ) { for ( var a = [ ] , r = [ ] , i = 0 ; i < e . length ; ) { var o = t ? e [ i ] [ t ] : e [ i ] ; S ( r , o ) < 0 && a . push ( e [ i ] ) , r [ i ] = o , i ++ } return n && ( a = t ? a . sort ( ( function ( e , n ) { return e [ t ] > n [ t ] } ) ) : a . sort ( ) ) , a } function N ( e , t ) { for ( var n , a , r = t [ 0 ] . toUpperCase ( ) + t . slice ( 1 ) , i = 0 ; i < l . length ; ) { if ( ( a = ( n = l [ i ] ) ? n + r : t ) in e ) return a ; i ++ } } var D = 1 ; function L ( e ) { var t = e . ownerDocument || e ; return t . defaultView || t . parentWindow || r } var P = "ontouchstart" in r , F = void 0 !== N ( r , "PointerEvent" ) , O = P && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , j = [ "x" , "y" ] , Q = [ "clientX" , "clientY" ] ; function U ( 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 Y ( e , t , n ) { var a = n . pointers . length , r = n . changedPointers . length , i = 1 & t && a - r == 0 , o = 12 & t && a - r == 0 ; n . isFirst = ! ! i , n . isFinal = ! ! o , i && ( e . session = { } ) , n . eventType = t , function ( e , t ) { var n = e . session , a = t . pointers , r = a . length ; n . firstInput || ( n . firstInput = G ( t ) ) ; r > 1 && ! n . firstMultiple ? n . firstMultiple = G ( t ) : 1 === r && ( n . firstMultiple = ! 1 ) ; var i = n . firstInput , o = n . firstMultiple , s = o ? o . center : i . center , c = t . center = z ( a ) ; t . timeStamp = p ( ) , t . deltaTime = t . timeStamp - i . timeStamp , t . angle = V ( s , c ) , t . distance = H ( s , c ) , function ( e , t ) { var n = t . center , a = e . offsetDelta || { } , r = e . prevDelta || { } , i = e . prevInput || { } ; 1 !== t . eventType && 4 !== i . eventType || ( r = e . prevDelta = { x : i . deltaX || 0 , y : i . deltaY || 0 } , a = e . offsetDelta = { x : n . x , y : n . y } ) ; t . deltaX = r . x + ( n . x - a . x ) , t . deltaY = r . y + ( n . y - a . y ) } ( n , t ) , t . offsetDirection = Z ( t . deltaX , t . deltaY ) ; var l = R ( t . deltaTime , t . deltaX , t . deltaY ) ; t . overallVelocityX = l . x , t . overallVelocityY = l . y , t . overallVelocity = A ( l . x ) > A ( l . y ) ? l . x : l . y , t . scale = o ? ( u = o . pointers , d = a , H ( d [ 0 ] , d [ 1 ] , Q ) / H ( u [ 0 ] , u [ 1 ] , Q ) ) : 1 , t . rotation = o ? function ( e , t ) { return V ( t [ 1 ] , t [ 0 ] , Q ) + V ( e [ 1 ] , e [ 0 ] , Q ) } ( o . pointers , a ) : 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 , a , r , i , o = e . lastInterval || t , s = t . timeStamp - o . timeStamp ; if ( 8 != t . eventType && ( s > 25 || void 0 === o . velocity ) ) { var c
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-04-10 13:01:29 +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 a = n ( 2 ) ; e . exports = a . Promise } , function ( e , t , n ) { var a = n ( 7 ) , r = n ( 58 ) , i = n ( 0 ) ( "species" ) ; e . exports = function ( e , t ) { var n , o = a ( e ) . constructor ; return void 0 === o || null == ( n = a ( o ) [ i ] ) ? t : r ( n ) } } , function ( e , t , n ) { var a , r , i , o , s , c , l , u , d = n ( 2 ) , A = n ( 29 ) . f , p = n ( 23 ) , f = n ( 268 ) . set , m = n ( 269 ) , g = d . MutationObserver || d . WebKitMutationObserver , h = d . process , v = d . Promise , b = "process" == p ( h ) , x = A ( d , "queueMicrotask" ) , y = x && x . value ; y || ( a = function ( ) { var e , t ; for ( b && ( e = h . domain ) && e . exit ( ) ; r ; ) { t = r . fn , r = r . next ; try { t ( ) } catch ( e ) { throw r ? o ( ) : i = void 0 , e } } i = void 0 , e && e . enter ( ) } , b ? o = function ( ) { h . nextTick ( a ) } : g && ! m ? ( s = ! 0 , c = document . createTextNode ( "" ) , new g ( a ) . observe ( c , { characterData : ! 0 } ) , o = function ( ) { c . data = s = ! s } ) : v && v . resolve ? ( l = v . resolve ( void 0 ) , u = l . then , o = function ( ) { u . call ( l , a ) } ) : o = function ( ) { f . call ( d , a ) } ) , e . exports = y || function ( e ) { var t = { fn : e , next : void 0 } ; i && ( i . next = t ) , r || ( r = t , o ( ) ) , i = t } } , function ( e , t , n ) { var a = n ( 7 ) , r = n ( 6 ) , i = n ( 270 ) ; e . exports = function ( e , t ) { if ( a ( e ) , r ( t ) && t . constructor === e ) return t ; var n = i . f ( e ) ; return ( 0 , n . resolve ) ( t ) , n . promise } } , function ( e , t , n ) { var a = n ( 2 ) ; e . exports = function ( e , t ) { var n = a . console ; n && n . error && ( 1 === arguments . length ? n . error ( e ) : n . error ( e , t ) ) } } , function ( e , t ) { e . exports = function ( e ) { try { return { error : ! 1 , value : e ( ) } } catch ( e ) { return { error : ! 0 , value : e } } } } , function ( e , t , n ) { var a = n ( 17 ) , r = n ( 57 ) . f , i = { } . toString , o = "object" == typeof window && window && Object . getOwnPropertyNames ? Object . getOwnPropertyNames ( window ) : [ ] ; e . exports . f = function ( e ) { return o && "[object Window]" == i . call ( e ) ? function ( e ) { try { return r ( e ) } catch ( e ) { return o . slice ( ) } } ( e ) : r ( a ( e ) ) } } , function ( e , t , n ) { "use strict" ; var a , r = n ( 3 ) , i = n ( 29 ) . f , o = n ( 15 ) , s = n ( 273 ) , c = n ( 22 ) , l = n ( 275 ) , u = n ( 26 ) , d = "" . startsWith , A = Math . min , p = l ( "startsWith" ) ; r ( { target : "String" , proto : ! 0 , forced : ! ! ( u || p || ( a = i ( String . prototype , "startsWith" ) , ! a || a . writable ) ) && ! p } , { startsWith : function ( e ) { var t = String ( c ( this ) ) ; s ( e ) ; var n = o ( A ( arguments . length > 1 ? arguments [ 1 ] : void 0 , t . length ) ) , a = String ( e ) ; return d ? d . call ( t , a , n ) : t . slice ( n , n + a . length ) === a } } ) } , function ( e , t ) { e . exports = Object . is || function ( e , t ) { return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t } } , function ( e , t ) { function n ( e , t , n ) { var a , r , i , o , s ; function c ( ) { var l = Date . now ( ) - o ; l < t && l >= 0 ? a = setTimeout ( c , t - l ) : ( a = null , n || ( s = e . apply ( i , r ) , i = r = null ) ) } null == t && ( t = 100 ) ; var l = function ( ) { i = this , r = arguments , o = Date . now ( ) ; var l = n && ! a ; return a || ( a = setTimeout ( c , t ) ) , l && ( s = e . apply ( i , r ) , i = r = null ) , s } ; return l . clear = function ( ) { a && ( clearTimeout ( a ) , a = null ) } , l . flush = function ( ) { a && ( s = e . apply ( i , r ) , i = r = null , clearTimeout ( a ) , a = null ) } , l } n . debounce = n , e . exports = n } , function ( e , t , n ) { ( function ( t ) { "undefined" != typeof self && self , e . exports = function ( e ) { function t ( a ) { if ( n [ a ] ) return n [ a ] . exports ; var r = n [ a ] = { i : a , l : ! 1 , exports : { } } ; return e [ a ] . call ( r . exports , r , r . exports , t ) , r . l = ! 0 , r . exports } var n = { } ; return t . m = e , t . c = n , t . d = function ( e , n , a ) { t . o ( e , n ) || Object . defineProperty ( e , n , { configurable : ! 1 , enumerable : ! 0 , get : a } ) } , t . n = function ( e ) { var n = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return t . d ( n , "a" , n ) , n } , t . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , t . p = "" , t ( t . s = 22 ) } ( [ function ( e , t ) { function n ( e , t ) { var n = e [ 1 ] || "" , a = e [ 3 ] ; if ( ! a ) return n ; if ( t && "function" == typeof btoa ) { var r = function ( e ) { return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( e ) ) ) ) + " */" } ( a ) ; return [ n ] . concat ( a . sources . map ( ( function ( e ) { return "/*# sourceURL=" + a . sourceRoot + e + " */" } ) ) ) . concat ( [ r ] ) . join ( "\n" ) } return [ n ] . join ( "\n" ) } e . exports = function ( e ) { var t = [ ] ; return t . toString = function ( ) { return this . map ( ( function ( t ) { var a = n ( t , e ) ; return t [ 2 ] ? "@media " + t [ 2 ] + "{" + a + "}" : a } ) ) . join ( "" ) } , t . i = function ( e , n ) { "string" == typeof e && ( e = [ [ null , e , "" ] ] ) ; for ( var a = { } , r = 0 ; r < this . length ; r ++ ) { var i = this [ r ] [ 0 ] ; "number" == typeof i && ( a [ i ] = ! 0 ) } for ( r = 0 ; r < e . length ; r ++ ) { var o = e [ r ] ; "number" == typeof o [ 0 ] && a [ o [ 0 ] ] || ( n && ! o [ 2 ] ? o [ 2 ] = n : n && ( o [ 2 ] = "(" + o [ 2 ] + ") and (" + n + ")" ) , t . push ( o ) ) } } , t } } , function ( e , t , n ) { function a ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) { var n = e [ t ] , a = u [ n . id ] ; if ( a ) { a . refs ++
2020-01-16 02:03:29 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / t . d e f a u l t = c } , 2 : 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 a ( e , t ) { f o r ( v a r n = [ ] , a = { } , r = 0 ; r < t . l e n g t h ; r + + ) { v a r i = t [ r ] , o = i [ 0 ] , s = { i d : e + " : " + r , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; a [ o ] ? a [ o ] . p a r t s . p u s h ( s ) : n . p u s h ( a [ o ] = { i d : o , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r r = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! r ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , o = r & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , u = f u n c t i o n ( ) { } , d = n u l l , A = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , r ) { l = n , d = r | | { } ; v a r o = a ( e , t ) ; r e t u r n f ( o ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , r = 0 ; r < o . l e n g t h ; r + + ) { v a r s = o [ r ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( o = a ( e , t ) ) : o = [ ] , r = 0 ; r < n . l e n g t h ; r + + ) { v a r c ; i f ( 0 = = = ( c = n [ r ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , a = i [ n . i d ] ; i f ( a ) { a . r e f s + + ; f o r ( v a r r = 0 ; r < a . p a r t s . l e n g t h ; r + + ) a . p a r t s [ r ] ( n . p a r t s [ r ] ) ; f o r ( ; r < n . p a r t s . l e n g t h ; r + + ) a . p a r t s . p u s h ( g ( n . p a r t s [ r ] ) ) ; a . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( a . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r o = [ ] ; f o r ( r = 0 ; r < n . p a r t s . l e n g t h ; r + + ) o . p u s h ( g ( n . p a r t s [ r ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : o } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , o . a p p e n d C h i l d ( e ) , e } f u n c t i o n g ( e ) { v a r t , n , a = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( a ) { i f ( l ) r e t u r n u ; a . p a r e n t N o d e . r e m o v e C h i l d ( a ) } i f ( A ) { v a r r = c + + ; a = s | | ( s = m ( ) ) , t = b . b i n d ( n u l l , a , r , ! 1 ) , n = b . b i n d ( n u l l , a , r , ! 0 ) } e l s e a = m ( ) , t = x . b i n d ( n u l l , a ) , n = f u n c t i o n ( ) { a . p a r e n t N o d e . r e m o v e C h i l d ( a ) } ; r e t u r n t ( e ) , f u n c t i o n ( a ) { i f ( a ) { i f ( a . c s s = = = e . c s s & & a . m e d i a = = = e . m e d i a & & a . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = a ) } e l s e n ( ) } } v a r h , v = ( h = [ ] , f u n c t i o n ( e , t ) { r e t u r n h [ e ] = t , h . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n b ( e , t , n , a ) { v a r r = n ? " " : a . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , r ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( r ) , o = e . c h i l d N o d e s ; o [ t ] & & e . r e m o v e C h i l d ( o [ t ] ) , o . l e n g t h ? e . i n s e r t B e f o r e ( i , o [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n x ( e , t ) { v a r n = t . c s s , a = t . m e d i a , r = t . s o u r c e M a p ; i f ( a & & e . s e t A t t r i b u t e ( " m e d i a " , a ) , d . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , r & & ( n + = " \ n / * # s o u r c e U R L = " + r . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( r ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 1 4 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r a = n ( 9 8 ) ; n . n ( a ) . a } , 2 1 5 : f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . 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 [ d a t a - v - 0 3 f 6 3 0 3 5 ] { o v e r f l o w : h i d d e n ; m a x - w i d t h : 4 4 p x ; m a r g i n : 4 p x ; p a d d i n g : 0 4 p x ; t e x t - a l i g n : c e n t e r ; t e x t - o v e r f l o w : e l l i p s i s ; l i n e - h e i g h t : 1 e m } . 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 [ d a t a - v - 0 3 f 6 3 0 3 5 ] { p a d d i n g : 4 p x 6 p x ; c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; b o r d e r - r a d i u s : 1 0 p x ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y ) } \ n " , " " ] ) , e . e x p o r t s = t } , 9 8 : f u n c t i o n ( e , t , n ) { v a r a = n ( 2 1 5 ) ; " s t r i n g " = = t y p e o f a & & ( a = [ [ e . i , a , " " ] ] ) , a . l o c a l s & & ( e . e x p o r t s = a . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 3 4 a f 9 b 1 " , a , ! 0 , { } ) } } ) } , f u n c t i o n ( e , t , n ) { w i n d o w , e . e x p o r t s = f u n c t i o n ( e ) { v a r t = { } ; f u n c t i o n n ( a ) { i f ( t [ a ] ) r e t u r n t [ a ] . e x p o r t s ; v a r r = t [ a ] = { i : a , l : ! 1 , e x p o r t s : { } } ; r e t u r n e [ a ] . c a l l ( r . e x p o r t s , r , r . e x p o r t s , n ) , r . l = ! 0 , r . e x p o r t s } r e t u r n n . m = e , n . c = t , n . d = f u n c t i o n ( e , t , a ) { n . o ( e , t ) | | O b j e c t . d e f i n e P r o p e r t y ( e , t , { e n u m e r a b l e : ! 0 , g e t : a } ) } , n . r = f u n c t i o n ( e ) { " u n d e f i n e d " ! = t y p e o f S y m b o l & & S y m b o l . t o S t r i n g T a g & & O b j e c t . d e f i n e P r o p e r t y ( e , S y m b o l . t o S t r i n g T a g , { v a l u e : " M o d u l e " } ) , O b j e c t . d e f i n e P r o p e r t y ( e , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) } , n . t = f u n c t i o n ( e , t ) { i f ( 1 & t & & ( e = n ( e ) ) , 8 & t ) r e t u r n e ; i f ( 4 & t & & " o b j e c t " = = t y p e o f e & & e & & e . _ _ e s M o d u l e ) r e t u r n e ; v a r a = O b j e c t . c r e a t e ( n u l l ) ; i f ( n . r ( a ) , O b j e c t . d e f i n e P r o p e r t y ( a , " d e f a u l t " , { e n u m e r a b l e : ! 0 , v a l u e : e } ) , 2 & t & & " s t r i n g " ! = t y p e o f e ) f o r ( v a r r i n e ) n . d ( a , r , f u n c t i o n ( t ) { r e t u r n e [ t ] } . b i n d ( n u l l , r ) ) ; r e t u r n a } , n . n = f u n c t i o n ( e ) { v a r t = e & & e . _ _ e s M o d u l e ? f u n c t i o n ( ) { r e t u r n e . d e f a u l t } : f u n c t i o n ( ) { r e t u r n e } ; r e t u r n n . d ( t , " a " , t ) , t } , n . o = f u n c t i o n ( e , t ) { r e t u r n O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( e , t ) } , n . p = " / d i s t / " , n ( n . s = 1 7 0
2020-01-16 02:03:29 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
a . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , a . VTooltip . options . defaultHtml = ! 1 , t . default = a . VTooltip } , 137 : function ( e , t ) { } , 14 : function ( e , t ) { e . exports = n ( 259 ) } , 15 : function ( e , t ) { e . exports = n ( 262 ) } , 16 : function ( e , t , n ) { "use strict" ; n ( 12 ) , n ( 28 ) ; var a = n ( 5 ) , r = n . n ( a ) ;
2020-01-16 02:03:29 +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.a={before:function(){this.$slots.default&&""!==this.text.trim()||(r.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():""}}}},17: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 ) } } , 1 7 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 a = n ( 1 4 ) , r = n ( 4 3 ) , i = n ( 7 0 ) , o = { n a m e : " A p p N a v i g a t i o n I c o n C o l l a p s i b l e " , 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 : ! 0 } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c l i c k " , e ) } } } , s = ( n ( 2 1 8 ) , n ( 0 ) ) , c = O b j e c t ( s . a ) ( o , ( 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 ) ( " b u t t o n " , { s t a t i c C l a s s : " i c o n - c o l l a p s e " , c l a s s : { " i c o n - c o l l a p s e - - r o t a t e d " : t h i s . o p e n } , o n : { c l i c k : t h i s . o n C l i c k } } ) } ) , [ ] , ! 1 , n u l l , " 2 4 5 2 8 c d 0 " , n u l l ) . e x p o r t s , l = n ( 1 1 9 ) , u = { n a m e : " A p p N a v i g a t i o n I t e m " , c o m p o n e n t s : { A c t i o n s : r . a , A c t i o n B u t t o n : i . a , A p p N a v i g a t i o n I c o n C o l l a p s i b l e : c } , d i r e c t i v e s : { C l i c k O u t s i d e : a . d i r e c t i v e } , m i x i n s : [ l . d e f a u l t ] , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , 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 } , 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 : " " } , 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 l l o w C o l l a p s e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , 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 } , e d i t L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , e d i t 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 : " " } , p i n n e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , u n d o : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u 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 I c o n : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { n e w T i t l e : " " , o p e n e d : t h i s . o p e n , e d i t i n g : ! 1 } } , c o m p u t e d : { c o l l a p s i b l e : f u n c t i o n ( ) { r e t u r n t h i s . a l l o w C o l l a p s e & & ! ! t h i s . $ s l o t s . d e f a u l t } , i s I c o n S h o w n : f u n c t i o n ( ) { r e t u r n ! t h i s . c o l l a p s i b l e | | t h i s . c o l l a p s i b l e & & ! t h i s . i s M o b i l e } , c a n H a v e C h i l d r e n : f u n c t i o n ( ) { r e t u r n " A p p N a v i g a t i o n I t e m " ! = = t h i s . $ p a r e n t . $ o p t i o n s . _ c o m p o n e n t T a g } , h a s C h i l d r e n : f u n c t i o n ( ) { r e t u r n ! ! t h i s . $ s l o t s . d e f a u l t } , h a s U t i l s : f u n c t i o n ( ) { r e t u r n ! t h i s . e d i t i n g & & ! ! ( t h i s . $ s l o t s . a c t i o n s | | t h i s . $ s l o t s . c o u n t e r | | t h i s . e d i t a b l e | | t h i s . u n d o ) } , n a v E l e m e n t : f u n c t i o n ( ) { r e t u r n t h i s . t o ? { i s : " r o u t e r - l i n k " , t a g : " l i " , t o : t h i s . t o , e x a c t : t h i s . e x a c t } : { i s : " l i " } } , 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 . t o & & t h i s . $ r o u t e = = = t h i s . t o } } , w a t c h : { o p e n : f u n c t i o n ( e ) { t h i s . o p e n e d = e } } , m e t h o d s : { o n M e n u T o g g l e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " u p d a t e : m e n u O p e n " , e ) } , t o g g l e C o l l a p s e : f u n c t i o n ( ) { t h i s . o p e n e d = ! t h i s . o p e n e d , t h i s . $ e m i t ( " u p d a t e : o p e n " , t h i s . o p e n e d ) } , o n C l i c k : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c l i c k " , e ) } , h a n d l e E d i t : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . n e w T i t l e = t h i s . t i t l e , t h i s . e d i t i n g = ! 0 , t h i s . o n M e n u T o g g l e ( ! 1 ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . $ r e f s . i n p u t T i t l e . f o c u s ( ) } ) ) } , c a n c e l E d i t : f u n c t i o n ( ) { t h i s . e d i t i n g = ! 1 } , h a n d l e R e n a m e : f u n c t i o n ( ) { t h i s . $ e m i t ( " u p d a t e : t i t l e " , t h i s . n e w T i t l e ) , t h i s . n e w T i t l e = " " , t h i s . e d i t i n g = ! 1 } , h a n d l e U n d o : f u n c t i o n ( ) { t h i s . $ e m i t ( " u n d o " ) } } } , d = ( n ( 2 2 0 ) , n ( 1 3 7 ) ) , A = n . n ( d ) , p = O b j e c t ( s . a ) ( u , ( f u n c t i o n ( ) { v a r e , t = t h i s , n = t . $ c r e a t e E l e m e n t , a = t . _ s e l f . _ c | | n ; r e t u r n a ( " n a v - e l e m e n t " , t . _ b ( { 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 l a s s : { " a p p - n a v i g a t i o n - e n t r y - - n o - i c o n " : ! t . i s I c o n S h o w n , " a p p - n a v i g a t i o n - e n t r y - - o p e n e d " : t . o p e n e d , " a p p - n a v i g a t i o n - e n t r y - - p i n n e d " : t . p i n n e d , " a p p - n a v i g a t i o n - e n t r y - - e d i t i n g " : t . e d i t i n g , " a p p - n a v i g a t i o n - e n t r y - - d e l e t e d " : t . u n d o , " a p p - n a v i g a t i o n - e n t r y - - c o l l a p s i b l e " : t . c o l l a p s i b l e , a c t i v e : t . i s A c t i v e } , a t t r s : { t i t l e : t . t i t l e } } , " n a v - e l e m e n t " , t . n a v E l e m e n t , ! 1 ) , [ t . u n d o | | t . e d i t i n g ? t . _ e ( ) : a ( " a " , { 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 - l i n k " , a t t r s : { h r e f : " # " } , o n : { c l i c k : t . o n C l i c k } } , [ a ( " 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 - i c o n " , c l a s s : ( e = { " i c o n - l o a d i n g - s m a l l " : t . l o a d i n g } , e [ t . i c o n ] = t . i c o n & & t . i s I c o n S h o w n , e ) } , [ t . l o a d i n g ? t . _ e ( ) : t . _ t ( " i c o n " ) ] , 2 ) , t . _ v ( " " ) , a ( " s p a n " , { 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 _ _ t i t l e " } , [ t . _ v ( t . _ s ( t . t i t l e ) ) ] ) ] ) , t . _ v ( " " ) , t . c o l l a p s i b l e ? a ( " A p p N a v i g a t i o n I c o n C o l l a p s i b l e " , { a t t r s : { o p e n : t . o p e n e d } , o n : { c l i c k : 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 . s t o p P r o p a g a t i o n ( ) , t . t o g g l e C o l l a p s e ( e ) } } } ) : t . _ e ( ) , t . _ v ( " " ) , t . u n d o ? a ( " 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
2020-01-16 02:03:29 +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
* / t . d e f a u l t = f } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 5 0 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 7 8 ) } , 2 : 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 a ( e , t ) { f o r ( v a r n = [ ] , a = { } , r = 0 ; r < t . l e n g t h ; r + + ) { v a r i = t [ r ] , o = i [ 0 ] , s = { i d : e + " : " + r , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; a [ o ] ? a [ o ] . p a r t s . p u s h ( s ) : n . p u s h ( a [ o ] = { i d : o , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r r = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! r ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , o = r & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , u = f u n c t i o n ( ) { } , d = n u l l , A = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , r ) { l = n , d = r | | { } ; v a r o = a ( e , t ) ; r e t u r n f ( o ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , r = 0 ; r < o . l e n g t h ; r + + ) { v a r s = o [ r ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( o = a ( e , t ) ) : o = [ ] , r = 0 ; r < n . l e n g t h ; r + + ) { v a r c ; i f ( 0 = = = ( c = n [ r ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , a = i [ n . i d ] ; i f ( a ) { a . r e f s + + ; f o r ( v a r r = 0 ; r < a . p a r t s . l e n g t h ; r + + ) a . p a r t s [ r ] ( n . p a r t s [ r ] ) ; f o r ( ; r < n . p a r t s . l e n g t h ; r + + ) a . p a r t s . p u s h ( g ( n . p a r t s [ r ] ) ) ; a . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( a . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r o = [ ] ; f o r ( r = 0 ; r < n . p a r t s . l e n g t h ; r + + ) o . p u s h ( g ( n . p a r t s [ r ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : o } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , o . a p p e n d C h i l d ( e ) , e } f u n c t i o n g ( e ) { v a r t , n , a = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( a ) { i f ( l ) r e t u r n u ; a . p a r e n t N o d e . r e m o v e C h i l d ( a ) } i f ( A ) { v a r r = c + + ; a = s | | ( s = m ( ) ) , t = b . b i n d ( n u l l , a , r , ! 1 ) , n = b . b i n d ( n u l l , a , r , ! 0 ) } e l s e a = m ( ) , t = x . b i n d ( n u l l , a ) , n = f u n c t i o n ( ) { a . p a r e n t N o d e . r e m o v e C h i l d ( a ) } ; r e t u r n t ( e ) , f u n c t i o n ( a ) { i f ( a ) { i f ( a . c s s = = = e . c s s & & a . m e d i a = = = e . m e d i a & & a . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = a ) } e l s e n ( ) } } v a r h , v = ( h = [ ] , f u n c t i o n ( e , t ) { r e t u r n h [ e ] = t , h . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n b ( e , t , n , a ) { v a r r = n ? " " : a . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , r ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( r ) , o = e . c h i l d N o d e s ; o [ t ] & & e . r e m o v e C h i l d ( o [ t ] ) , o . l e n g t h ? e . i n s e r t B e f o r e ( i , o [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n x ( e , t ) { v a r n = t . c s s , a = t . m e d i a , r = t . s o u r c e M a p ; i f ( a & & e . s e t A t t r i b u t e ( " m e d i a " , a ) , d . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , r & & ( n + = " \ n / * # s o u r c e U R L = " + r . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( r ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 1 ) } , 2 1 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 5 ) } , 2 1 8 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r a = n ( 1 0 0 ) ; n . n ( a ) . a } , 2 1 9 : f u n c t i o n ( e , t , n ) { v a r a = n ( 1 ) , r = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = a ( ! 1 ) ; v a r l = r ( i ) , u = r ( o ) , d = r ( s ) , A = r ( 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 ( ' + d + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + A + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 2 4 5 2 8 c d 0 ] { 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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 4 5 2 8 c d 0 ] : 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
/ *
* @ 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 ) { ( f u n c t i o n ( t ) {
2020-01-16 02:03:29 +03:00
/ * *
* vue - local - storage v0 . 6.0
* ( c ) 2017 Alexander Avakov
* @ license MIT
* /
2020-04-10 13:01:29 +03:00
e . exports = function ( ) { "use strict" ; var e = function ( ) { this . _properties = { } , this . _namespace = "" , this . _isSupported = ! 0 } , n = { namespace : { } } ; n . namespace . get = function ( ) { return this . _namespace } , n . namespace . set = function ( e ) { this . _namespace = e ? e + "." : "" } , e . prototype . _getLsKey = function ( e ) { return "" + this . _namespace + e } , e . prototype . _lsSet = function ( e , t , n ) { var a = this . _getLsKey ( e ) , r = n && [ Array , Object ] . includes ( n ) ? JSON . stringify ( t ) : t ; window . localStorage . setItem ( a , r ) } , e . prototype . _lsGet = function ( e ) { var t = this . _getLsKey ( e ) ; return window . localStorage [ t ] } , e . prototype . get = function ( e , t , n ) { if ( void 0 === t && ( t = null ) , void 0 === n && ( n = String ) , ! this . _isSupported ) return null ; if ( this . _lsGet ( e ) ) { var a = n ; for ( var r in this . _properties ) if ( r === e ) { a = this . _properties [ r ] . type ; break } return this . _process ( a , this . _lsGet ( e ) ) } return null !== t ? t : null } , e . prototype . set = function ( e , t ) { if ( ! this . _isSupported ) return null ; for ( var n in this . _properties ) { var a = this . _properties [ n ] . type ; if ( n === e ) return this . _lsSet ( e , t , a ) , t } return this . _lsSet ( e , t ) , t } , e . prototype . remove = function ( e ) { return this . _isSupported ? window . localStorage . removeItem ( e ) : null } , e . prototype . addProperty = function ( e , t , n ) { void 0 === n && ( n = void 0 ) , t = t || String , this . _properties [ e ] = { type : t } , this . _lsGet ( e ) || null === n || this . _lsSet ( e , n , t ) } , e . prototype . _process = function ( e , t ) { switch ( e ) { case Boolean : return "true" === t ; case Number : return parseFloat ( t ) ; case Array : try { var n = JSON . parse ( t ) ; return Array . isArray ( n ) ? n : [ ] } catch ( e ) { return [ ] } case Object : try { return JSON . parse ( t ) } catch ( e ) { return { } } default : return t } } , Object . defineProperties ( e . prototype , n ) ; var a = new e ; return { install : function ( e , n ) { if ( void 0 === n && ( n = { } ) , void 0 === t || ! ( t . server || t . SERVER _BUILD || t . env && "server" === t . env . VUE _ENV ) ) { var r = ! 0 ; try { var i = "__vue-localstorage-test__" ; window . localStorage . setItem ( i , i ) , window . localStorage . removeItem ( i ) } catch ( e ) { r = ! 1 , a . _isSupported = ! 1 , console . error ( "Local storage is not supported" ) } var o = n . name || "localStorage" , s = n . bind ; n . namespace && ( a . namespace = n . namespace ) , e . mixin ( { beforeCreate : function ( ) { var t = this ; r && this . $options [ o ] && Object . keys ( this . $options [ o ] ) . forEach ( ( function ( n ) { var r = t . $options [ o ] [ n ] , i = [ r . type , r . default ] , c = i [ 0 ] , l = i [ 1 ] ; if ( a . addProperty ( n , c , l ) , Object . getOwnPropertyDescriptor ( a , n ) ) e . config . silent || console . log ( n + ": is already defined and will be reused" ) ; else { var u = { get : function ( ) { return e . localStorage . get ( n , l ) } , set : function ( t ) { return e . localStorage . set ( n , t ) } , configurable : ! 0 } ; Object . defineProperty ( a , n , u ) , e . util . defineReactive ( a , n , l ) } ( s || r . bind ) && ! 1 !== r . bind && ( t . $options . computed = t . $options . computed || { } , t . $options . computed [ n ] || ( t . $options . computed [ n ] = { get : function ( ) { return e . localStorage [ n ] } , set : function ( t ) { e . localStorage [ n ] = t } } ) ) } ) ) } } ) , e [ o ] = a , e . prototype [ "$" + o ] = a } } } } ( ) } ) . call ( this , n ( 60 ) ) } ] ] ) ;
2020-04-12 04:20:47 +03:00
//# sourceMappingURL=vue-0.js.map?v=15d3c37bd96346b2d034