2020-03-22 21:46:15 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/js/" , n ( n . s = 1064 ) } ( [ function ( e , t , n ) { ( function ( e ) { e . exports = function ( ) { "use strict" ; var t , r ; function o ( ) { return t . apply ( null , arguments ) } function a ( e ) { return e instanceof Array || "[object Array]" === Object . prototype . toString . call ( e ) } function i ( e ) { return null != e && "[object Object]" === Object . prototype . toString . call ( e ) } function s ( e ) { return void 0 === e } function c ( e ) { return "number" == typeof e || "[object Number]" === Object . prototype . toString . call ( e ) } function u ( e ) { return e instanceof Date || "[object Date]" === Object . prototype . toString . call ( e ) } function l ( e , t ) { var n , r = [ ] ; for ( n = 0 ; n < e . length ; ++ n ) r . push ( t ( e [ n ] , n ) ) ; return r } function d ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } function p ( e , t ) { for ( var n in t ) d ( t , n ) && ( e [ n ] = t [ n ] ) ; return d ( t , "toString" ) && ( e . toString = t . toString ) , d ( t , "valueOf" ) && ( e . valueOf = t . valueOf ) , e } function f ( e , t , n , r ) { return Tt ( e , t , n , r , ! 0 ) . utc ( ) } function A ( e ) { return null == e . _pf && ( e . _pf = { empty : ! 1 , unusedTokens : [ ] , unusedInput : [ ] , overflow : - 2 , charsLeftOver : 0 , nullInput : ! 1 , invalidMonth : null , invalidFormat : ! 1 , userInvalidated : ! 1 , iso : ! 1 , parsedDateParts : [ ] , meridiem : null , rfc2822 : ! 1 , weekdayMismatch : ! 1 } ) , e . _pf } function m ( e ) { if ( null == e . _isValid ) { var t = A ( e ) , n = r . call ( t . parsedDateParts , ( function ( e ) { return null != e } ) ) , o = ! isNaN ( e . _d . getTime ( ) ) && t . overflow < 0 && ! t . empty && ! t . invalidMonth && ! t . invalidWeekday && ! t . weekdayMismatch && ! t . nullInput && ! t . invalidFormat && ! t . userInvalidated && ( ! t . meridiem || t . meridiem && n ) ; if ( e . _strict && ( o = o && 0 === t . charsLeftOver && 0 === t . unusedTokens . length && void 0 === t . bigHour ) , null != Object . isFrozen && Object . isFrozen ( e ) ) return o ; e . _isValid = o } return e . _isValid } function M ( e ) { var t = f ( NaN ) ; return null != e ? p ( A ( t ) , e ) : A ( t ) . userInvalidated = ! 0 , t } r = Array . prototype . some ? Array . prototype . some : function ( e ) { for ( var t = Object ( this ) , n = t . length >>> 0 , r = 0 ; r < n ; r ++ ) if ( r in t && e . call ( this , t [ r ] , r , t ) ) return ! 0 ; return ! 1 } ; var h = o . momentProperties = [ ] ; function _ ( e , t ) { var n , r , o ; if ( s ( t . _isAMomentObject ) || ( e . _isAMomentObject = t . _isAMomentObject ) , s ( t . _i ) || ( e . _i = t . _i ) , s ( t . _f ) || ( e . _f = t . _f ) , s ( t . _l ) || ( e . _l = t . _l ) , s ( t . _strict ) || ( e . _strict = t . _strict ) , s ( t . _tzm ) || ( e . _tzm = t . _tzm ) , s ( t . _isUTC ) || ( e . _isUTC = t . _isUTC ) , s ( t . _offset ) || ( e . _offset = t . _offset ) , s ( t . _pf ) || ( e . _pf = A ( t ) ) , s ( t . _locale ) || ( e . _locale = t . _locale ) , h . length > 0 ) for ( n = 0 ; n < h . length ; n ++ ) s ( o = t [ r = h [ n ] ] ) || ( e [ r ] = o ) ; return e } var g = ! 1 ; function v ( e ) { _ ( this , e ) , this . _d = new Date ( null != e . _d ? e . _d . getTime ( ) : NaN ) , this . isValid ( ) || ( this . _d = new Date ( NaN ) ) , ! 1 === g && ( g = ! 0 , o . updateOffset ( this ) , g = ! 1 ) } function b ( e ) { return e instanceof v || null != e && null != e . _isAMomentObject } function y ( e ) { return e < 0 ? Math . ceil ( e ) || 0 : Math . floor ( e ) } function L ( e ) { var t = + e , n = 0 ; return 0 !== t && isFinite ( t ) && ( n = y ( t ) ) , n } function T ( e , t , n ) { var r , o = Math . min ( e . length , t . length ) , a = Math . abs ( e . length - t . length ) , i = 0 ; for ( r = 0 ; r < o ; r ++ ) ( n && e [ r ] !== t [ r ] || ! n && L ( e [ r ] ) !== L ( t [ r ] ) ) && i ++ ; return i + a } function w ( e ) { ! 1 === o . suppressDeprecationWarnings && "undefined" != typeof console && console . warn && console . warn ( "Deprecation warning: " + e ) } function z ( e , t ) { var n = ! 0 ; return p ( ( function ( ) { if ( null != o . deprecationHandler && o . deprecationHandler ( null , e ) , n ) { for ( var r , a = [ ] , i = 0 ; i < arguments . length ; i ++ ) { if ( r = "" , "object" == typeof arguments [ i ] ) { for ( var s in r += "\n[" + i + "] " , arguments [ 0 ] ) r += s + ": " + arguments [ 0 ] [ s ] + ", " ; r = r . slice ( 0 , - 2 ) } else r = arguments
2019-09-11 12:58:57 +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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t , n ) { "use strict" ; n . d ( t , "a" , ( function ( ) { return i } ) ) , n . d ( t , "b" , ( function ( ) { return s } ) ) , n ( 32 ) ; var r = n ( 39 ) , o = Object ( r . getGettextBuilder ) ( ) . detectLocale ( ) ; [ { locale : "cs_CZ" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Pavel Borecki <pavel.borecki@gmail.com>, 2020" , "Language-Team" : "Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "cs_CZ" , "Plural-Forms" : "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n" } , msgstr : [ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (neviditelný)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (omezený)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Zvolit" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Zavřít" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msgstr : [ "Následující" ] } , "No results" : { msgid : "No results" , comments : { reference : "src/components/Multiselect/Multiselect.vue:169\nsrc/components/MultiselectTags/MultiselectTags.vue:78" } , msgstr : [ "Žádné výsledky" ] } , "Pause slideshow" : { msgid : "Pause slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Pozastavit prezentaci" ] } , Previous : { msgid : "Previous" , comments : { reference : "src/components/Modal/Modal.vue:134" } , msgstr : [ "Předchozí" ] } , "Select a tag" : { msgid : "Select a tag" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:100" } , msgstr : [ "Vybrat štítek" ] } , Settings : { msgid : "Settings" , comments : { reference : "src/components/AppNavigationSettings/AppNavigationSettings.vue:53" } , msgstr : [ "Nastavení" ] } , "Start slideshow" : { msgid : "Start slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Spustit prezentaci" ] } } } } } , { locale : "de" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Philipp Fischbeck <pfischbeck@googlemail.com>, 2020" , "Language-Team" : "German (https://www.transifex.com/nextcloud/teams/64236/de/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "de" , "Plural-Forms" : "nplurals=2; plural=(n != 1);" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\nPhilipp Fischbeck <pfischbeck@googlemail.com>, 2020\n" } , msgstr : [ "Last-Translator: Philipp Fischbeck <pfischbeck@googlemail.com>, 2020\nLanguage-Team: German (https://www.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (unsichtbar)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (eingeschränkt)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Auswählen" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Schließen" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msg
2019-09-11 12:58:57 +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-03-22 21:46:15 +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 ( " 2 c 4 4 9 3 8 " ) , " " ) } ) ) } } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 5 0 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 8 6 ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 4 2 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . v u e - t o o l t i p [ d a t a - v - 2 c 4 4 9 3 8 ] { 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] . 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 - 2 c 4 4 9 3 8 ] . 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 , n ) { " u s e s t r i c t " ;
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-09-11 12:58:57 +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-01-16 02:03:29 +03:00
* but WITHOUT ANY WARRANTY without even the implied warranty of
2019-09-11 12:58:57 +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-03-21 12:42:37 +03:00
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function o ( e , t , n ) { var o = [ ] ; o . push ( t ) ; for ( var a = 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 ] ) , i = 1 ; i < e ; i ++ ) { var s = parseInt ( t . r + a [ 0 ] * i , 10 ) , c = parseInt ( t . g + a [ 1 ] * i , 10 ) , u = parseInt ( t . b + a [ 2 ] * i , 10 ) ; o . push ( new r ( s , c , u ) ) } return o } n ( 27 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , a = new r ( 0 , 130 , 201 ) , i = o ( e , t , n ) , s = o ( e , n , a ) , c = o ( e , a , t ) ; return i . concat ( s ) . concat ( c ) } } , , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n . d ( t , "PopoverMenu" , ( function ( ) { return u } ) ) , n ( 20 ) , n ( 16 ) , n ( 3 ) , n ( 21 ) , n ( 17 ) , n ( 18 ) , n ( 23 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , o = ( n ( 64 ) , n ( 66 ) , n ( 0 ) ) , a = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var a = e . _i ( n , null ) ; r . checked ? a < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : a > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , a ) . concat ( n . slice ( a + 1 ) ) ) } else e . $set ( e . item , "model" , o ) } , 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
2019-09-11 12:58:57 +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-03-22 21:46:15 +03:00
* /t.default=u},function(e,t){e.exports=n(51)},function(e,t,n){"use strict";n.r(t),n.d(t,"Avatar",(function(){return _})),n(27),n(63),n(32),n(25),n(3),n(61),n(62);var r=n(15),o=n(48),a=n(49),i=n.n(a),s=n(12),c=(n(19),n(81),n(28),n(60)),u=n.n(c),l=n(45);function d(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){d(a,r,o,i,s,"next",e)}function s(e){d(a,r,o,i,s,"throw",e)}i(void 0)}))}}var f={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.PopoverMenu},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 = u ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( l . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , o = 0 ; o < e . length ; o ++ ) r . push ( parseInt ( e . charAt ( o ) , 16 ) % 16 ) ; for ( var a in r ) n += r [ a ] ; 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 p ( 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 p ( regeneratorRuntime . mark ( ( function t ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , n = encodeURIComponent ( e . user ) , t . next = 4 , i . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = t . sent , o = r . data , e . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , t . next = 12 ; break ; case 9 : t . prev =
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +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
* 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-03-22 21:46:15 +03:00
* / t . d e f a u l t = _ } , , , , , , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 4 4 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 5 3 8 7 e f 8 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 4 6 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " a 3 7 5 d 0 a c " , r , ! 0 , { } ) } , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 8 7 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 9 0 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 7 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 9 9 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 0 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : f l e x ; f l e x : 0 0 a u t o } l i . h i d d e n [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { c u r s o r : p o i n t e r ; l i n e - h e i g h t : 4 4 p x ; 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 ; 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 ; 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 ; f o n t - w e i g h t : n o r m a l ; b o x - s h a d o w : n o n e ; w i d t h : 1 0 0 % ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { m i n - w i d t h : 0 ; m i n - h e i g h t : 0 ; 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 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 2 2 p x 0 2 2 p x 4 4 p x } l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d { m a r g i n - l e f t : 4 4 p x } l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 0 1 4 p x 0 4 4 p x } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > b u t t o n : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i >
2019-10-13 19:26:09 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
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
2019-09-11 12:58:57 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-10-13 19:26:09 +03:00
* /
2020-03-22 21:46:15 +03:00
Object ( r . a ) ( T ) , t . default = T } , , , function ( e , t ) { e . exports = n ( 1001 ) } , function ( e , t ) { e . exports = n ( 1003 ) } , , , , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = n ( 1004 ) } , , , , , , function ( e , t ) { e . exports = n ( 1006 ) } , function ( e , t ) { e . exports = n ( 1007 ) } , function ( e , t ) { e . exports = n ( 1008 ) } , function ( e , t ) { e . exports = n ( 1009 ) } , function ( e , t , n ) { "use strict" ; var r = n ( 56 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".option[data-v-30d8da34]{display:flex;align-items:center;width:100%;height:32px}.option__avatar[data-v-30d8da34]{flex:0 0 32px;width:32px;height:32px;margin-right:6px}.option__desc[data-v-30d8da34]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__desc--lineone[data-v-30d8da34]{color:var(--color-text-light)}.option__desc--linetwo[data-v-30d8da34]{opacity:.7}.option__desc--lineone[data-v-30d8da34],.option__desc--linetwo[data-v-30d8da34]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option__desc--lineone strong[data-v-30d8da34],.option__desc--linetwo strong[data-v-30d8da34]{font-weight:bold}.option__icon[data-v-30d8da34]{flex:0 0 44px;width:44px;height:44px;margin:-6px;opacity:.5;background-position:center;background-size:16px}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { "use strict" ; var r = n ( 57 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".name-parts[data-v-c4325954]{display:flex;max-width:100%}.name-parts__first[data-v-c4325954]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-c4325954],.name-parts__last[data-v-c4325954]{white-space:pre}.name-parts__first strong[data-v-c4325954],.name-parts__last strong[data-v-c4325954]{font-weight:bold}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { var r = n ( 148 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b5985a26" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . multiselect [ data - v - 2 c44938 ] { margin : 0 ; padding : 0 ! important ; display : inline - block ; min - width : 160 px ; position : relative ; background - color : var ( -- color - main - background ) } . multiselect [ data - v - 2 c44938 ] . multiselect -- active input . multiselect _ _input { opacity : 1 ! important ; cursor : text ! important ; border - radius : var ( -- border - radius ) var ( -- border - radius ) 0 0 } . multiselect [ data - v - 2 c44938 ] . multiselect -- active . multiselect _ _limit { display : none } . multiselect [ data - v - 2 c44938 ] . multiselect -- active . multiselect -- above input . multiselect _ _input { border - radius : 0 0 var ( -- border - radius ) var ( -- border - radius ) } . multiselect [ data - v - 2 c44938 ] . multiselect -- disabled , . multiselect [ data - v - 2 c44938 ] . multiselect -- disabled . multiselect _ _single { background - color : var ( -- color - background - dark ) ! important } . multiselect [ data - v - 2 c44938 ] . icon - loading - small : : after { left : 100 % ; margin - left : - 24 px } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags { display : flex ; flex - wrap : nowrap ; overflow : hidden ; border : 1 px solid var ( -- color - border - dark ) ; cursor : pointer ; position : relative ; border - radius : 3 px ; height : 34 px } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap { align - items : center ; display : inline - flex ; overflow : hidden ; max - width : 100 % ; position : relative ; padding : 3 px 5 px ; flex - grow : 1 } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input { opacity : 1 ! important } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input + span : not ( . multiselect _ _single ) { display : none } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag { flex : 1 0 0 ; line - height : 20 px ; padding : 1 px 5 px ; background - image : none ; color : var ( -- color - main - text ) ; border : 1 px solid var ( -- color - border - dark ) ; display : inline - flex ; align - items : center ; border - radius : 3 px ; min - width : 0 ; max - width : 50 % ; max - width : fit - content ; max - width : - moz - fit - content } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : only - child { flex : 0 1 auto } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : not ( : last - child ) { margin - right : 5 px } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag > span { white - space : nowrap ; text - overflow : ellipsis ; overflow : hidden } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multi
2020-01-16 02:03:29 +03:00
/ * !
* Vue . js v2 . 6.11
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2020-03-22 21:46:15 +03:00
var r = Object . freeze ( { } ) ; function o ( e ) { return null == e } function a ( e ) { return null != e } function i ( e ) { return ! 0 === e } function s ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function c ( e ) { return null !== e && "object" == typeof e } var u = Object . prototype . toString ; function l ( e ) { return "[object Object]" === u . call ( e ) } function d ( e ) { return "[object RegExp]" === u . call ( e ) } function p ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function f ( e ) { return a ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function A ( e ) { return null == e ? "" : Array . isArray ( e ) || l ( e ) && e . toString === u ? JSON . stringify ( e , null , 2 ) : String ( e ) } function m ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function M ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } M ( "slot,component" , ! 0 ) ; var h = M ( "key,ref,slot,slot-scope,is" ) ; function _ ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var g = Object . prototype . hasOwnProperty ; function v ( e , t ) { return g . call ( e , t ) } function b ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var y = /-(\w)/g , L = b ( ( function ( e ) { return e . replace ( y , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , T = b ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , w = /\B([A-Z])/g , z = b ( ( function ( e ) { return e . replace ( w , "-$1" ) . toLowerCase ( ) } ) ) ; var O = Function . prototype . bind ? function ( e , t ) { return e . bind ( t ) } : function ( e , t ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? e . apply ( t , arguments ) : e . call ( t , n ) : e . call ( t ) } return n . _length = e . length , n } ; function x ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function S ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function k ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && S ( t , e [ n ] ) ; return t } function N ( e , t , n ) { } var E = function ( e , t , n ) { return ! 1 } , D = function ( e ) { return e } ; function Y ( e , t ) { if ( e === t ) return ! 0 ; var n = c ( e ) , r = c ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var o = Array . isArray ( e ) , a = Array . isArray ( t ) ; if ( o && a ) return e . length === t . length && e . every ( ( function ( e , n ) { return Y ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( o || a ) return ! 1 ; var i = Object . keys ( e ) , s = Object . keys ( t ) ; return i . length === s . length && i . every ( ( function ( n ) { return Y ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function C ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( Y ( e [ n ] , t ) ) return n ; return - 1 } function B ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var W = [ "component" , "directive" , "filter" ] , j = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , q = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : E , isReservedAttr : E , isUnknownElement : E , getTagNamespace : N , parsePlatformTagName : D , mustUseProp : E , async : ! 0 , _lifecycleHooks : j } , P = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function I ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var R = new RegExp ( "[^" + P . source + ".$_\\d]" ) ; var X , H = "__proto__" in { } , F = "undefined" != typeof window , U = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , G = U && WXEnvironment . platform . toLowerCase ( ) , Q = F && window . navigator . userAgent . toLowerCase ( ) , V = Q && /msie|trident/ . test ( Q ) , $ = Q && Q . indexOf ( "msie 9.0" ) > 0 , J = Q && Q . indexOf ( "edge/" ) > 0 , Z = ( Q && Q . indexOf ( "android" ) , Q && /iphone|ipad|ipod|ios/ . test ( Q ) || "ios" === G ) , K = ( Q && /chrome\/\d+/ . test ( Q ) , Q && /phantomjs/ . test ( Q ) , Q && Q . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( F ) try { var ne = { } ; Object . defineProperty ( ne , "passive" , { get : function ( ) { te = ! 0 } } ) , window . addEventListener ( "test-passive" , null , ne ) } catch ( e ) { } var re = function ( ) { return void 0 === X && ( X = ! F && ! U && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , X } , oe = F && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ae ( e ) { return "function" == t
2019-09-11 12:58:57 +03:00
/ * *
2020-03-15 05:18:05 +03:00
* vuex v3 . 1.3
* ( c ) 2020 Evan You
2020-01-16 02:03:29 +03:00
* @ license MIT
* /
2020-03-22 21:46:15 +03:00
function ( e ) { if ( Number ( e . version . split ( "." ) [ 0 ] ) >= 2 ) e . mixin ( { beforeCreate : n } ) ; else { var t = e . prototype . _init ; e . prototype . _init = function ( e ) { void 0 === e && ( e = { } ) , e . init = e . init ? [ n ] . concat ( e . init ) : n , t . call ( this , e ) } } function n ( ) { var e = this . $options ; e . store ? this . $store = "function" == typeof e . store ? e . store ( ) : e . store : e . parent && e . parent . $store && ( this . $store = e . parent . $store ) } } ( u = e ) } d . state . get = function ( ) { return this . _vm . _data . $$state } , d . state . set = function ( e ) { 0 } , l . prototype . commit = function ( e , t , n ) { var r = this , o = h ( e , t , n ) , a = o . type , i = o . payload , s = ( o . options , { type : a , payload : i } ) , c = this . _mutations [ a ] ; c && ( this . _withCommit ( ( function ( ) { c . forEach ( ( function ( e ) { e ( i ) } ) ) } ) ) , this . _subscribers . slice ( ) . forEach ( ( function ( e ) { return e ( s , r . state ) } ) ) ) } , l . prototype . dispatch = function ( e , t ) { var n = this , r = h ( e , t ) , o = r . type , a = r . payload , i = { type : o , payload : a } , s = this . _actions [ o ] ; if ( s ) { try { this . _actionSubscribers . slice ( ) . filter ( ( function ( e ) { return e . before } ) ) . forEach ( ( function ( e ) { return e . before ( i , n . state ) } ) ) } catch ( e ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( ( function ( e ) { return e ( a ) } ) ) ) : s [ 0 ] ( a ) ) . then ( ( function ( e ) { try { n . _actionSubscribers . filter ( ( function ( e ) { return e . after } ) ) . forEach ( ( function ( e ) { return e . after ( i , n . state ) } ) ) } catch ( e ) { 0 } return e } ) ) } } , l . prototype . subscribe = function ( e ) { return p ( e , this . _subscribers ) } , l . prototype . subscribeAction = function ( e ) { return p ( "function" == typeof e ? { before : e } : e , this . _actionSubscribers ) } , l . prototype . watch = function ( e , t , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return e ( r . state , r . getters ) } ) , t , n ) } , l . prototype . replaceState = function ( e ) { var t = this ; this . _withCommit ( ( function ( ) { t . _vm . _data . $$state = e } ) ) } , l . prototype . registerModule = function ( e , t , n ) { void 0 === n && ( n = { } ) , "string" == typeof e && ( e = [ e ] ) , this . _modules . register ( e , t ) , m ( this , this . state , e , this . _modules . get ( e ) , n . preserveState ) , A ( this , this . state ) } , l . prototype . unregisterModule = function ( e ) { var t = this ; "string" == typeof e && ( e = [ e ] ) , this . _modules . unregister ( e ) , this . _withCommit ( ( function ( ) { var n = M ( t . state , e . slice ( 0 , - 1 ) ) ; u . delete ( n , e [ e . length - 1 ] ) } ) ) , f ( this ) } , l . prototype . hotUpdate = function ( e ) { this . _modules . update ( e ) , f ( this , ! 0 ) } , l . prototype . _withCommit = function ( e ) { var t = this . _committing ; this . _committing = ! 0 , e ( ) , this . _committing = t } , Object . defineProperties ( l . prototype , d ) ; var g = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { var t = this . $store . state , n = this . $store . getters ; if ( e ) { var r = w ( this . $store , "mapState" , e ) ; if ( ! r ) return ; t = r . context . state , n = r . context . getters } return "function" == typeof o ? o . call ( this , t , n ) : t [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , v = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { for ( var t = [ ] , n = arguments . length ; n -- ; ) t [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( e ) { var a = w ( this . $store , "mapMutations" , e ) ; if ( ! a ) return ; r = a . context . commit } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( t ) ) : r . apply ( this . $store , [ o ] . concat ( t ) ) } } ) ) , n } ) ) , b = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; o = e + o , n [ r ] = function ( ) { if ( ! e || w ( this . $store , "mapGetters" , e ) ) return this . $store . getters [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , y = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { for ( var t = [ ] , n = arguments . length ; n -- ; ) t [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( e ) { var a = w ( this . $store , "mapActions" , e ) ; if ( ! a ) return ; r = a . context . dispatch } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( t ) ) : r . apply ( this . $store , [ o ] . concat ( t ) ) } } ) ) , n } ) ) ; function L ( e ) { return function ( e ) { return Array . isArray ( e ) || a ( e ) } ( e ) ? Array . isArray ( e ) ? e . map ( ( function ( e ) { return { key : e , val : e } } ) ) : Object . keys ( e ) . map ( ( function ( t ) { return { key : t , val : e [ t ] } } ) ) : [ ] } function T ( e ) { return function ( t , n ) { return "string" != typeof t ? ( n = t , t = "" ) : "/" !== t . charAt ( t . length - 1 ) && ( t += "/" ) , e ( t , n ) } } function w ( e , t , n ) { return e . _modulesNamespaceMap [ n ] } var z = { Store : l , install : _ , version : "3.1.3" , mapState : g , mapMutations : v , mapGetters : b , mapActions : y , createNamespacedHelpers : function ( e ) { return { mapState : g . bind ( null , e ) , mapGetters : b . bind ( null , e ) , mapMutations : v . bind ( null , e ) , mapActions : y . bind ( null , e ) } } } ; t . a = z } ) . call ( this , n ( 19 ) ) } , function ( e , t ) { e . exports = function ( e , t ) { retur
2020-01-16 02:03:29 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +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-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-09-11 12:58:57 +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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , , , function ( e , t ) { e . exports = n ( 396 ) } , , , , function ( e , t ) { e . exports = n ( 245 ) } , function ( e , t ) { e . exports = n ( 402 ) } , function ( e , t ) { e . exports = n ( 403 ) } , function ( e , t , n ) { "use strict" ; n ( 3 ) , n ( 19 ) , n ( 21 ) , n ( 28 ) , t . a = function ( e ) { return Math . random ( ) . toString ( 36 ) . replace ( /[^a-z]+/g , "" ) . substr ( 0 , e || 5 ) } } , , , , , function ( e , t ) { e . exports = n ( 404 ) } , function ( e , t ) { e . exports = n ( 406 ) } , , , , , , function ( e , t , n ) { var r = n ( 80 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0a304400" , r , ! 0 , { } ) } , , , , function ( e , t , n ) { "use strict" ; n ( 27 ) , n ( 52 ) , n ( 20 ) ; var r = n ( 15 ) , o = n ( 12 ) , a = n ( 22 ) , i = ( n ( 77 ) , function ( e ) { var t = e . getBoundingClientRect ( ) , n = document . documentElement . clientHeight , r = document . documentElement . clientWidth , o = Object . assign ( { } ) ; return o . top = t . top < 0 , o . left = t . left < 0 , o . bottom = t . bottom > n , o . right = t . right > r , o . any = o . top || o . left || o . bottom || o . right , o . all = o . top && o . left && o . bottom && o . right , o . offsetY = o . top ? t . top : o . bottom ? t . bottom - n : 0 , o . offsetX = o . left ? t . left : o . right ? t . right - r : 0 , o } ) , s = ( n ( 74 ) , n ( 78 ) , n ( 6 ) , n ( 75 ) , n ( 5 ) ) , c = n . n ( s ) , u = function ( e , t , n ) { void 0 !== e && e . forEach ( ( function ( r , o ) { var a = ! r . componentOptions && r . tag && - 1 === t . indexOf ( r . tag ) , i = ! ! r . componentOptions && "string" == typeof r . componentOptions . tag && - 1 === t . indexOf ( r . componentOptions . tag ) ; ( a || i ) && ( c . a . util . warn ( "" . concat ( a ? r . tag : r . componentOptions . tag , " is not allowed inside the " ) . concat ( n . $options . name , " component" ) , n ) , e . splice ( o , 1 ) ) } ) ) } , l = [ "ActionButton" , "ActionCheckbox" , "ActionInput" , "ActionLink" , "ActionRadio" , "ActionRouter" , "ActionSeparator" , "ActionText" , "ActionTextEditable" ] , d = { name : "Actions" , directives : { ClickOutside : r . directive , tooltip : o . default } , props : { open : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuAlign : { type : String , default : "center" , validator : function ( e ) { return [ "left" , "center" , "right" ] . indexOf ( e ) > - 1 } } , defaultIcon : { type : String , default : "action-item__menutoggle--default-icon" } } , data : function ( ) { return { actions : [ ] , opened : this . open , focusIndex : 0 , randomId : "menu-" + Object ( a . a ) ( ) , offsetX : 0 , offsetY : 0 , offsetYArrow : 0 , rotateArrow : ! 1 , children : this . $children } } , computed : { hasMultipleActions : function ( ) { return this . actions . length > 1 } , isValidSingleAction : function ( ) { return 1 === this . actions . length && null !== this . firstActionElement } , firstActionVNode : function ( ) { return this . actions [ 0 ] } , firstAction : function ( ) { return this . children [ 0 ] ? this . children [ 0 ] : { } } , firstActionBinding : function ( ) { if ( this . firstActionVNode && this . firstActionVNode . componentOptions ) { var e = this . firstActionVNode . componentOptions . tag ; if ( "ActionLink" === e ) return { is : "a" , href : this . firstAction . href , target : this . firstAction . target } ; if ( "ActionRouter" === e ) return { is : "router-link" , to : this . firstAction . to , exact : this . firstAction . exact } ; if ( "ActionButton" === e ) return { is : "button" } } return null } , firstActionEvent : function ( ) { return this . firstActionVNode && this . firstActionVNode . componentOptions && this . firstActionVNode . componentOptions . listeners && this . firstActionVNode . componentOptions . listeners . click } , firstActionEventBinding : function ( ) { return this . firstActionEvent ? "click" : null } , firstActionClass : function ( ) { var e = this . firstActionVNode && this . firstActionVNode . data . staticClass , t = this . firstActionVNode && this . firstActionVNode . data . class ; return "" . concat ( e , " " ) . concat ( t ) } } , watch : { open : function ( e ) { var t = this ; this . opened = e , this . opened && this . $nextTick ( ( function ( ) { t . onOpen ( ) } ) ) } } , beforeMount : function ( ) { this . initActions ( ) , u ( this . $slots . default , l , this ) } , beforeUpdate : function ( ) { this . initActions ( ) , u ( this . $slots . default , l , this ) } , methods : { toggleMenu : function ( e ) { var t = this ; this . opened = ! this . opened , this . opened ? ( this . $nextTick ( ( function ( ) { t . onOpen ( ) , t . focusFirstAction ( ) } ) ) , this . $emit ( "open" , e ) ) : ( this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow = ! 1 ) , this . $emit ( "update:open" , this . opened ) } , closeMenu : function ( e ) { this . opened && ( this . $emit ( "update:open" , ! 1 ) , this . $emit ( "close" , e ) ) , this . opened = ! 1 , this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-09-11 12:58:57 +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-01-16 02:03:29 +03:00
* /
2020-03-22 21:46:15 +03:00
t . default = r . a } , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = n ( 935 ) } , function ( e , t ) { e . exports = n ( 936 ) } , , function ( e , t ) { e . exports = n ( 937 ) } , function ( e , t ) { e . exports = n ( 938 ) } , function ( e , t , n ) { "use strict" ; var r = n ( 34 ) ; n . n ( r ) . a } , function ( e , t , n ) { var r = n ( 1 ) , o = n ( 7 ) , a = n ( 8 ) , i = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; t = r ( ! 1 ) ; var u = o ( a ) , l = o ( i ) , d = o ( s ) , p = o ( c ) ; t . push ( [ e . i , '@font-face{font-family:"iconfont-vue-2c44938";src:url(' + u + ");src:url(" + u + ') format("embedded-opentype"),url(' + l + ') format("woff"),url(' + d + ') format("truetype"),url(' + p + ') format("svg")}.icon[data-v-5acb084b]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-left[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right-double[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.checkmark[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.close[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.confirm[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.menu[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.more[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.pause[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.play[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.triangle-s[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.action-item[data-v-5acb084b]{position:relative;display:inline-block}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active,.action-item__menutoggle[data-v-5acb084b]:hover,.action-item__menutoggle[data-v-5acb084b]:focus,.action-item__menutoggle[data-v-5acb084b]:active{border-radius:22px;background-color:rgba(127,127,127,0.25) !important;opacity:1}.action-item.action-item--open .action-item__menutoggle[data-v-5acb084b]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,0.25)}.action-item--single[data-v-5acb084b],.action-item__menutoggle[data-v-5acb084b]{box-sizing:border-box;width:44px;height:44px;margin:0;padding:14px;cursor:pointer;border:none;background-color:transparent}.action-item__menutoggle[data-v-5acb084b]{display:flex;align-items:center;justify-content:center;opacity:.7}.action-item__menutoggle[data-v-5acb084b]:before{content:\'\'}.action-item__menutoggle--default-icon[data-v-5acb084b]{font-size:16px}.action-item__menutoggle--default-icon[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";font-style:normal;font-weight:400;content:""}.action-item--single[data-v-5acb084b]{opacity:.7}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active{opacity:1}.action-item--single>[hidden][data-v-5acb084b]{display:none}.action-item--multiple[data-v-5acb084b]{position:relative}.action-item__menu[data-v-5acb084b]{position:absolute;z-index:110;right:50%;display:none;margin-bottom:10px;margin-top:-5px;transform:translateX(50%);color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background);filter:drop-shadow(0 1px 3px var(--color-box-shadow))}.action-item__menu ul[data-v-5acb084b]>:not(li){display:none}.action-item__menu.open[data-v-5acb084b]{display:block}.action-item__menu .action-item__menu_arrow[data-v-5acb084b]{position:absolute;right:50%;bottom:100%;width:0;height:0;margin-right:-9px;content:\' \' ; pointer - events : none ; border : solid transparent ; border - width : 9 px ; border - bottom - color : var ( -- color - main - background ) } . action - item _ _menu . menu - right [ data - v - 5 acb084b ] { right : 0 ; left : auto ; transform : none } . action - item _ _menu . menu - right . action - item _ _menu _arrow [ data - v - 5 acb084b ] { right : 13 px ; margin - right : 0 } . action - item _ _menu . menu - left [ data - v - 5 acb084b ] { right : auto ; left : 0 ; transform : none } . action - item _ _menu . menu - left . action - item _ _me
2019-09-11 12:58:57 +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-03-22 21:46:15 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 1 6 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 5 7 ) } , 1 7 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 5 9 ) } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 1 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 r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r a = t [ o ] , i = a [ 0 ] , s = { i d : e + " : " + o , c s s : a [ 1 ] , m e d i a : a [ 2 ] , s o u r c e M a p : a [ 3 ] } ; r [ i ] ? r [ i ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ i ] = { i d : i , 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 f } ) ) ; v a r o = " 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 & & ! o ) 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 a = { } , i = o & & ( 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 , u = ! 1 , l = f u n c t i o n ( ) { } , d = n u l l , p = " 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 f ( e , t , n , o ) { u = n , d = o | | { } ; v a r i = r ( e , t ) ; r e t u r n A ( i ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < i . l e n g t h ; o + + ) { v a r s = i [ o ] ; ( c = a [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? A ( i = r ( e , t ) ) : i = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r u = 0 ; u < c . p a r t s . l e n g t h ; u + + ) c . p a r t s [ u ] ( ) ; d e l e t e a [ c . i d ] } } } } f u n c t i o n A ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = a [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( M ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . 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 i = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) i . p u s h ( M ( n . p a r t s [ o ] ) ) ; a [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : i } } } } 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 " , i . a p p e n d C h i l d ( e ) , e } f u n c t i o n M ( e ) { v a r t , n , r = 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 ( r ) { i f ( u ) r e t u r n l ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( p ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = g . b i n d ( n u l l , r , o , ! 1 ) , n = g . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = v . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . 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 = r ) } e l s e n ( ) } } v a r h , _ = ( 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 g ( e , t , n , r ) { v a r o = n ? " " : r . 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 = _ ( t , o ) ; e l s e { v a r a = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , i = e . c h i l d N o d e s ; i [ t ] & & e . r e m o v e C h i l d ( i [ t ] ) , i . l e n g t h ? e . i n s e r t B e f o r e ( a , i [ t ] ) : e . a p p e n d C h i l d ( a ) } } f u n c t i o n v ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , 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 ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . 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 ( o ) ) ) ) + " * / " ) , 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 3 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 1 9 ) } , 2 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 9 4 6 ) } , 2 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , o = ( n ( 6 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , 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 = o ( 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 ( ) } } } } } , 3 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 3 5 ) } , 4 3 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 1 6 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 5 8 0 9 1 2 " , r , ! 0 , { } ) } , 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 5 1 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = { n a m e : " A c t i o n B u t t o n " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { 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 } } } , o = ( n ( 1
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-10-13 19:26:09 +03:00
* /
2020-03-22 21:46:15 +03:00
t . default = r . a } } ) } , function ( e , t , n ) { "use strict" ; n ( 1019 ) , n ( 1034 ) , n ( 1037 ) , n ( 467 ) , n ( 1042 ) , n ( 1043 ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . getRootUrl = t . generateFilePath = t . imagePath = t . generateUrl = t . generateOcsUrl = t . generateRemoteUrl = t . linkTo = void 0 ; t . linkTo = function ( e , t ) { return r ( e , "" , t ) } ; t . generateRemoteUrl = function ( e ) { return window . location . protocol + "//" + window . location . host + function ( e ) { return o ( ) + "/remote.php/" + e } ( e ) } ; t . generateOcsUrl = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + o ( ) + "/ocs/v" + t + ".php/" + e + "/" } ; t . generateUrl = function ( e , t , n ) { var r = Object . assign ( { escape : ! 0 , noRewrite : ! 1 } , n || { } ) , a = function ( e , t ) { return t = t || { } , e . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var o = t [ n ] ; return r . escape ? "string" == typeof o || "number" == typeof o ? encodeURIComponent ( o . toString ( ) ) : encodeURIComponent ( e ) : "string" == typeof o || "number" == typeof o ? o . toString ( ) : e } ) ) } ; return "/" !== e . charAt ( 0 ) && ( e = "/" + e ) , ! 0 !== OC . config . modRewriteWorking || r . noRewrite ? o ( ) + "/index.php" + a ( e , t || { } ) : o ( ) + a ( e , t || { } ) } ; t . imagePath = function ( e , t ) { return - 1 === t . indexOf ( "." ) ? r ( e , "img" , t + ".svg" ) : r ( e , "img" , t ) } ; var r = function ( e , t , n ) { var r = - 1 !== OC . coreApps . indexOf ( e ) , a = o ( ) ; return "php" !== n . substring ( n . length - 3 ) || r ? "php" === n . substring ( n . length - 3 ) || r ? ( a += "settings" !== e && "core" !== e && "search" !== e || "ajax" !== t ? "/" : "/index.php/" , r || ( a += "apps/" ) , "" !== e && ( a += e += "/" ) , t && ( a += t + "/" ) , a += n ) : ( a = OC . appswebroots [ e ] , t && ( a += "/" + t + "/" ) , "/" !== a . substring ( a . length - 1 ) && ( a += "/" ) , a += n ) : ( a += "/index.php/apps/" + e , "index.php" !== n && ( a += "/" , t && ( a += encodeURI ( t + "/" ) ) , a += n ) ) , a } ; t . generateFilePath = r ; var o = function ( ) { return OC . webroot } ; t . getRootUrl = o } , function ( e , t , n ) { var r = n ( 5 ) , o = n ( 2 ) . document , a = r ( o ) && r ( o . createElement ) ; e . exports = function ( e ) { return a ? o . createElement ( e ) : { } } } , function ( e , t , n ) { t . f = n ( 6 ) } , function ( e , t , n ) { var r = n ( 125 ) ( "keys" ) , o = n ( 70 ) ; e . exports = function ( e ) { return r [ e ] || ( r [ e ] = o ( e ) ) } } , function ( e , t ) { e . exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf" . split ( "," ) } , function ( e , t , n ) { var r = n ( 2 ) . document ; e . exports = r && r . documentElement } , function ( e , t , n ) { var r = n ( 5 ) , o = n ( 4 ) , a = function ( e , t ) { if ( o ( e ) , ! r ( t ) && null !== t ) throw TypeError ( t + ": can't set as prototype!" ) } ; e . exports = { set : Object . setPrototypeOf || ( "__proto__" in { } ? function ( e , t , r ) { try { ( r = n ( 38 ) ( Function . call , n ( 41 ) . f ( Object . prototype , "__proto__" ) . set , 2 ) ) ( e , [ ] ) , t = ! ( e instanceof Array ) } catch ( e ) { t = ! 0 } return function ( e , n ) { return a ( e , n ) , t ? e . _ _proto _ _ = n : r ( e , n ) , e } } ( { } , ! 1 ) : void 0 ) , check : a } } , function ( e , t ) { e . exports = "\t\n\v\f\r \u2028\u2029\ufeff" } , function ( e , t , n ) { var r = n ( 5 ) , o = n ( 186 ) . set ; e . exports = function ( e , t , n ) { var a , i = t . constructor ; return i !== n && "function" == typeof i && ( a = i . prototype ) !== n . prototype && r ( a ) && o && o ( e , a ) , e } } , function ( e , t , n ) { "use strict" ; var r = n ( 40 ) , o = n ( 53 ) ; e . exports = function ( e ) { var t = String ( o ( this ) ) , n = "" , a = r ( e ) ; if ( a < 0 || a == 1 / 0 ) throw RangeError ( "Count can't be negative" ) ; for ( ; a > 0 ; ( a >>>= 1 ) && ( t += t ) ) 1 & a && ( n += t ) ; return n } } , function ( e , t ) { e . exports = Math . sign || function ( e ) { return 0 == ( e = + e ) || e != e ? e : e < 0 ? - 1 : 1 } } , function ( e , t ) { var n = Math . expm1 ; e . exports = ! n || n ( 10 ) > 22025.465794806718 || n ( 10 ) < 22025.465794806718 || - 2e-17 != n ( - 2e-17 ) ? function ( e ) { return 0 == ( e = + e ) ? e : e > - 1e-6 && e < 1e-6 ? e + e * e / 2 : Math . exp ( e ) - 1 } : n } , function ( e , t , n ) { var r = n ( 40 ) , o = n ( 53 ) ; e . exports = function ( e ) { return function ( t , n ) { var a , i , s = String ( o ( t ) ) , c = r ( n ) , u = s . length ; return c < 0 || c >= u ? e ? "" : void 0 : ( a = s . charCodeAt ( c ) ) < 55296 || a > 56319 || c + 1 === u || ( i = s . charCodeAt ( c + 1 ) ) < 56320 || i > 57343 ? e ? s . charAt ( c ) : a : e ? s . slice ( c , c + 2 ) : i - 56320 + ( a - 55296 << 10 ) + 65536 } } } , function ( e , t , n ) { "use strict" ; var r = n ( 71 ) , o = n ( 1 ) , a = n ( 24 ) , i = n ( 30 ) , s = n ( 88 ) , c = n ( 290 ) , u = n ( 86 ) , l = n ( 76 ) , d = n ( 6 ) ( "iterator" ) , p = ! ( [ ] . keys && "next" in [ ] . keys ( ) ) , f = function ( ) { return this } ; e . exports = function ( e , t , n , A , m , M , h ) { c ( n , t , A ) ; var _ , g , v , b = function ( e ) { if ( ! p && e in w ) return w [ e ] ; switch ( e ) { case "keys" : case "values" : return function ( ) { return new n ( this , e ) } } return function ( ) { return new n ( this , e ) } } , y = t + " Iterator" , L = "values" == m , T = ! 1 , w = e . prototype , z = w [ d ] || w [ "@@iterator" ] || m && w [ m ] , O = z || b ( m ) , x = m ? L ? b ( "entries" ) : O : void 0 , S = "Array" == t && w . entries || z ; if ( S && ( v = l ( S . call ( new e ) ) ) !== Object . prototype &&
2019-09-11 12:58:57 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.15 . 0
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2020-03-22 21:46:15 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , a = 0 ; a < r . length ; a += 1 ) if ( n && navigator . userAgent . indexOf ( r [ a ] ) >= 0 ) { o = 1 ; break } var i = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , o ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function c ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function u ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function l ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = c ( e ) , n = t . overflow , r = t . overflowX , o = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? e : l ( u ( e ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( e ) { return 11 === e ? d : 10 === e ? p : d || p } function A ( e ) { if ( ! e ) return document . documentElement ; for ( var t = f ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? A ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function m ( e ) { return null !== e . parentNode ? m ( e . parentNode ) : e } function M ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? e : t , o = n ? t : e , a = document . createRange ( ) ; a . setStart ( r , 0 ) , a . setEnd ( o , 0 ) ; var i , s , c = a . commonAncestorContainer ; if ( e !== c && t !== c || r . contains ( o ) ) return "BODY" === ( s = ( i = c ) . nodeName ) || "HTML" !== s && A ( i . firstElementChild ) !== i ? A ( c ) : c ; var u = m ( e ) ; return u . host ? M ( u . host , t ) : M ( e , m ( t ) . host ) } function h ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === t ? "scrollTop" : "scrollLeft" , r = e . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = e . ownerDocument . documentElement , a = e . ownerDocument . scrollingElement || o ; return a [ n ] } return e [ n ] } function _ ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = h ( t , "top" ) , o = h ( t , "left" ) , a = n ? - 1 : 1 ; return e . top += r * a , e . bottom += r * a , e . left += o * a , e . right += o * a , e } function g ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] , 10 ) + parseFloat ( e [ "border" + r + "Width" ] , 10 ) } function v ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , f ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( e ) { var t = e . body , n = e . documentElement , r = f ( 10 ) && getComputedStyle ( n ) ; return { height : v ( "Height" , t , n , r ) , width : v ( "Width" , t , n , r ) } } var y = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , L = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } return function ( t , n , r ) { return n && e ( t . prototype , n ) , r && e ( t , r ) , t } } ( ) , T = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , w = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ; function z ( e ) { return w ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function O ( e ) { var t = { } ; try { if ( f ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = h ( e , "top" ) , r = h ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var o = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , a = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , i = a . width || e . clientWidth || o . right - o . left , s = a . height || e . clientHeight || o . bottom - o . top , u = e . offsetWidth - i , l = e . offsetHeight - s ; if ( u || l ) { var d = c ( e ) ; u -= g ( d , "x" ) , l -= g ( d , "y" ) , o . width -= u , o . height -= l } return z ( o ) } function x ( e , t ) { var n = arguments . length > 2 && void 0 !== a
2019-09-11 12:58:57 +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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , 2 : function ( e , t , n ) { "use strict" ; function r ( e , t ) { for ( var n = [ ] , r = { } , o = 0 ; o < t . length ; o ++ ) { var a = t [ o ] , i = a [ 0 ] , s = { id : e + ":" + o , css : a [ 1 ] , media : a [ 2 ] , sourceMap : a [ 3 ] } ; r [ i ] ? r [ i ] . parts . push ( s ) : n . push ( r [ i ] = { id : i , parts : [ s ] } ) } return n } n . r ( t ) , n . d ( t , "default" , ( function ( ) { return f } ) ) ; var o = "undefined" != typeof document ; if ( "undefined" != typeof DEBUG && DEBUG && ! o ) throw new Error ( "vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." ) ; var a = { } , i = o && ( document . head || document . getElementsByTagName ( "head" ) [ 0 ] ) , s = null , c = 0 , u = ! 1 , l = function ( ) { } , d = null , p = "undefined" != typeof navigator && /msie [6-9]\b/ . test ( navigator . userAgent . toLowerCase ( ) ) ; function f ( e , t , n , o ) { u = n , d = o || { } ; var i = r ( e , t ) ; return A ( i ) , function ( t ) { for ( var n = [ ] , o = 0 ; o < i . length ; o ++ ) { var s = i [ o ] ; ( c = a [ s . id ] ) . refs -- , n . push ( c ) } for ( t ? A ( i = r ( e , t ) ) : i = [ ] , o = 0 ; o < n . length ; o ++ ) { var c ; if ( 0 === ( c = n [ o ] ) . refs ) { for ( var u = 0 ; u < c . parts . length ; u ++ ) c . parts [ u ] ( ) ; delete a [ c . id ] } } } } function A ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) { var n = e [ t ] , r = a [ n . id ] ; if ( r ) { r . refs ++ ; for ( var o = 0 ; o < r . parts . length ; o ++ ) r . parts [ o ] ( n . parts [ o ] ) ; for ( ; o < n . parts . length ; o ++ ) r . parts . push ( M ( n . parts [ o ] ) ) ; r . parts . length > n . parts . length && ( r . parts . length = n . parts . length ) } else { var i = [ ] ; for ( o = 0 ; o < n . parts . length ; o ++ ) i . push ( M ( n . parts [ o ] ) ) ; a [ n . id ] = { id : n . id , refs : 1 , parts : i } } } } function m ( ) { var e = document . createElement ( "style" ) ; return e . type = "text/css" , i . appendChild ( e ) , e } function M ( e ) { var t , n , r = document . querySelector ( 'style[data-vue-ssr-id~="' + e . id + '"]' ) ; if ( r ) { if ( u ) return l ; r . parentNode . removeChild ( r ) } if ( p ) { var o = c ++ ; r = s || ( s = m ( ) ) , t = g . bind ( null , r , o , ! 1 ) , n = g . bind ( null , r , o , ! 0 ) } else r = m ( ) , t = v . bind ( null , r ) , n = function ( ) { r . parentNode . removeChild ( r ) } ; return t ( e ) , function ( r ) { if ( r ) { if ( r . css === e . css && r . media === e . media && r . sourceMap === e . sourceMap ) return ; t ( e = r ) } else n ( ) } } var h , _ = ( h = [ ] , function ( e , t ) { return h [ e ] = t , h . filter ( Boolean ) . join ( "\n" ) } ) ; function g ( e , t , n , r ) { var o = n ? "" : r . css ; if ( e . styleSheet ) e . styleSheet . cssText = _ ( t , o ) ; else { var a = document . createTextNode ( o ) , i = e . childNodes ; i [ t ] && e . removeChild ( i [ t ] ) , i . length ? e . insertBefore ( a , i [ t ] ) : e . appendChild ( a ) } } function v ( e , t ) { var n = t . css , r = t . media , o = t . sourceMap ; if ( r && e . setAttribute ( "media" , r ) , d . ssrId && e . setAttribute ( "data-vue-ssr-id" , t . id ) , o && ( n += "\n/*# sourceURL=" + o . sources [ 0 ] + " */" , n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) + " */" ) , e . styleSheet ) e . styleSheet . cssText = n ; else { for ( ; e . firstChild ; ) e . removeChild ( e . firstChild ) ; e . appendChild ( document . createTextNode ( n ) ) } } } , 4 : function ( e , t ) { e . exports = n ( 234 ) } , 41 : function ( e , t , n ) { var r = n ( 42 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , 42 : function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . vue - tooltip [ data - v - 2 c44938 ] { position : absolute ; z - index : 100000 ; right : auto ; left : auto ; display : block ; margin : 0 ; margin - top : - 3 px ; padding : 10 px 0 ; text - align : left ; text - align : start ; white - space : normal ; text - decoration : none ; letter - spacing : normal ; word - spacing : normal ; text - transform : none ; word - wrap : normal ; word - break : normal ; opacity : 0 ; text - shadow : none ; font - family : 'Nunito' , 'Open Sans' , Frutiger , Calibri , 'Myriad Pro' , Myriad , sans - serif ; font - size : 12 px ; font - weight : normal ; font - style : normal ; line - height : 1.6 ; line - break : auto ; filter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) } . vue - tooltip [ data - v - 2 c44938 ] [ x - placement ^= 'top' ] . tooltip - arrow { bottom : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 10 px 10 px 0 10 px ; border - right - color : transparent ; border - bottom - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - 2 c44938 ] [ x - placement ^= 'bottom' ] . tooltip - arrow { top : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 0 10 px 10 px 10 px ; border - top - color : transparent ; border - right - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - 2 c44938 ] [ x - placement ^= 'right' ] . tooltip - arrow { right : 100 % ; margin - right : 0 ; margin - left :
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-03-22 21:46:15 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,o=r.exec(n);if(!o)return n;var a=" ",i=0,s=0;for(i=o.index;i<n.length;i++){switch(n.charCodeAt(i)){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!==i&&(a+=n.substring(s,i)),s=i+1,a+=t}return s!==i?a+n.substring(s,i):a}},function(e,t,n){var r,o,a,i,s;r=n(988),o=n(441).utf8,a=n(989),i=n(441).bin,(s=function(e,t){e.constructor==String?e=t&&" binary "===t.encoding?i.stringToBytes(e):o.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,d=-1732584194,p=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var A=s._ff,m=s._gg,M=s._hh,h=s._ii;for(f=0;f<n.length;f+=16){var _=u,g=l,v=d,b=p;u=A(u,l,d,p,n[f+0],7,-680876936),p=A(p,u,l,d,n[f+1],12,-389564586),d=A(d,p,u,l,n[f+2],17,606105819),l=A(l,d,p,u,n[f+3],22,-1044525330),u=A(u,l,d,p,n[f+4],7,-176418897),p=A(p,u,l,d,n[f+5],12,1200080426),d=A(d,p,u,l,n[f+6],17,-1473231341),l=A(l,d,p,u,n[f+7],22,-45705983),u=A(u,l,d,p,n[f+8],7,1770035416),p=A(p,u,l,d,n[f+9],12,-1958414417),d=A(d,p,u,l,n[f+10],17,-42063),l=A(l,d,p,u,n[f+11],22,-1990404162),u=A(u,l,d,p,n[f+12],7,1804603682),p=A(p,u,l,d,n[f+13],12,-40341101),d=A(d,p,u,l,n[f+14],17,-1502002290),u=m(u,l=A(l,d,p,u,n[f+15],22,1236535329),d,p,n[f+1],5,-165796510),p=m(p,u,l,d,n[f+6],9,-1069501632),d=m(d,p,u,l,n[f+11],14,643717713),l=m(l,d,p,u,n[f+0],20,-373897302),u=m(u,l,d,p,n[f+5],5,-701558691),p=m(p,u,l,d,n[f+10],9,38016083),d=m(d,p,u,l,n[f+15],14,-660478335),l=m(l,d,p,u,n[f+4],20,-405537848),u=m(u,l,d,p,n[f+9],5,568446438),p=m(p,u,l,d,n[f+14],9,-1019803690),d=m(d,p,u,l,n[f+3],14,-187363961),l=m(l,d,p,u,n[f+8],20,1163531501),u=m(u,l,d,p,n[f+13],5,-1444681467),p=m(p,u,l,d,n[f+2],9,-51403784),d=m(d,p,u,l,n[f+7],14,1735328473),u=M(u,l=m(l,d,p,u,n[f+12],20,-1926607734),d,p,n[f+5],4,-378558),p=M(p,u,l,d,n[f+8],11,-2022574463),d=M(d,p,u,l,n[f+11],16,1839030562),l=M(l,d,p,u,n[f+14],23,-35309556),u=M(u,l,d,p,n[f+1],4,-1530992060),p=M(p,u,l,d,n[f+4],11,1272893353),d=M(d,p,u,l,n[f+7],16,-155497632),l=M(l,d,p,u,n[f+10],23,-1094730640),u=M(u,l,d,p,n[f+13],4,681279174),p=M(p,u,l,d,n[f+0],11,-358537222),d=M(d,p,u,l,n[f+3],16,-722521979),l=M(l,d,p,u,n[f+6],23,76029189),u=M(u,l,d,p,n[f+9],4,-640364487),p=M(p,u,l,d,n[f+12],11,-421815835),d=M(d,p,u,l,n[f+15],16,530742520),u=h(u,l=M(l,d,p,u,n[f+2],23,-995338651),d,p,n[f+0],6,-198630844),p=h(p,u,l,d,n[f+7],10,1126891415),d=h(d,p,u,l,n[f+14],15,-1416354905),l=h(l,d,p,u,n[f+5],21,-57434055),u=h(u,l,d,p,n[f+12],6,1700485571),p=h(p,u,l,d,n[f+3],10,-1894986606),d=h(d,p,u,l,n[f+10],15,-1051523),l=h(l,d,p,u,n[f+1],21,-2054922799),u=h(u,l,d,p,n[f+8],6,1873313359),p=h(p,u,l,d,n[f+15],10,-30611744),d=h(d,p,u,l,n[f+6],15,-1560198380),l=h(l,d,p,u,n[f+13],21,1309151649),u=h(u,l,d,p,n[f+4],6,-145523070),p=h(p,u,l,d,n[f+11],10,-1120210379),d=h(d,p,u,l,n[f+2],15,718787259),l=h(l,d,p,u,n[f+9],21,-343485551),u=u+_>>>0,l=l+g>>>0,d=d+v>>>0,p=p+b>>>0}return r.endian([u,l,d,p])})._ff=function(e,t,n,r,o,a,i){var s=e+(t&n|~t&r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,n,r,o,a,i){var s=e+(t&r|n&~r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,n,r,o,a,i){var s=e+(t^n^r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,n,r,o,a,i){var s=e+(n^(t|~r))+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error(" Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n=" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + / " , r = { r o t l : f u n c t i o n ( e , t ) { r e t u r n e < < t | e > > > 3 2 - t } , r o t r : f u n c t i o n ( e , t ) { r e t u r n e < < 3 2 - t | e > > > t } , e n d i a n : f u n c t i o n ( e ) { i f ( e . c o n s t r u c t o r = = N u m b e r ) r e t u r n 1 6 7 1 1 9 3 5 & r . r o t l ( e , 8 ) | 4 2 7 8 2 5 5 3 6 0 & r . r o t l ( e , 2 4 ) ; f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) e [ t ] = r . e n d i a n ( e [ t ] ) ; r e t u r n e } , r a n d o m B y t e s : f u n c t i o n ( e ) { f o r ( v a r t = [ ] ; e > 0 ; e - - ) t . p u s h ( M a t h . f l o o r ( 2 5 6 * M a t h . r
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-03-22 21:46:15 +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 ) { "use strict" ; var r , o , a , i , s = n ( 15 ) , c = n ( 94 ) , u = n ( 8 ) , l = n ( 84 ) , d = n ( 991 ) , p = n ( 33 ) , f = n ( 423 ) , A = n ( 97 ) , m = n ( 442 ) , M = n ( 20 ) , h = n ( 156 ) , _ = n ( 260 ) , g = n ( 57 ) , v = n ( 242 ) , b = n ( 992 ) , y = n ( 993 ) , L = n ( 994 ) , T = n ( 443 ) . set , w = n ( 995 ) , z = n ( 996 ) , O = n ( 997 ) , x = n ( 445 ) , S = n ( 998 ) , k = n ( 64 ) , N = n ( 152 ) , E = n ( 7 ) , D = n ( 254 ) , Y = E ( "species" ) , C = "Promise" , B = k . get , W = k . set , j = k . getterFor ( C ) , q = d , P = u . TypeError , I = u . document , R = u . process , X = l ( "fetch" ) , H = x . f , F = H , U = "process" == g ( R ) , G = ! ! ( I && I . createEvent && u . dispatchEvent ) , Q = N ( C , ( function ( ) { if ( ! ( v ( q ) !== String ( q ) ) ) { if ( 66 === D ) return ! 0 ; if ( ! U && "function" != typeof PromiseRejectionEvent ) return ! 0 } if ( c && ! q . prototype . finally ) return ! 0 ; if ( D >= 51 && /native code/ . test ( q ) ) return ! 1 ; var e = q . resolve ( 1 ) , t = function ( e ) { e ( ( function ( ) { } ) , ( function ( ) { } ) ) } ; return ( e . constructor = { } ) [ Y ] = t , ! ( e . then ( ( function ( ) { } ) ) instanceof t ) } ) ) , V = Q || ! y ( ( function ( e ) { q . all ( e ) . catch ( ( function ( ) { } ) ) } ) ) , $ = function ( e ) { var t ; return ! ( ! M ( e ) || "function" != typeof ( t = e . then ) ) && t } , J = function ( e , t , n ) { if ( ! t . notified ) { t . notified = ! 0 ; var r = t . reactions ; w ( ( function ( ) { for ( var o = t . value , a = 1 == t . state , i = 0 ; r . length > i ; ) { var s , c , u , l = r [ i ++ ] , d = a ? l . ok : l . fail , p = l . resolve , f = l . reject , A = l . domain ; try { d ? ( a || ( 2 === t . rejection && te ( e , t ) , t . rejection = 1 ) , ! 0 === d ? s = o : ( A && A . enter ( ) , s = d ( o ) , A && ( A . exit ( ) , u = ! 0 ) ) , s === l . promise ? f ( P ( "Promise-chain cycle" ) ) : ( c = $ ( s ) ) ? c . call ( s , p , f ) : p ( s ) ) : f ( o ) } catch ( e ) { A && ! u && A . exit ( ) , f ( e ) } } t . reactions = [ ] , t . notified = ! 1 , n && ! t . rejection && K ( e , t ) } ) ) } } , Z = function ( e , t , n ) { var r , o ; G ? ( ( r = I . createEvent ( "Event" ) ) . promise = t , r . reason = n , r . initEvent ( e , ! 1 , ! 0 ) , u . dispatchEvent ( r ) ) : r = { promise : t , reason : n } , ( o = u [ "on" + e ] ) ? o ( r ) : "unhandledrejection" === e && O ( "Unhandled promise rejection" , n ) } , K = function ( e , t ) { T . call ( u , ( function ( ) { var n , r = t . value ; if ( ee ( t ) && ( n = S ( ( function ( ) { U ? R . emit ( "unhandledRejection" , r , e ) : Z ( "unhandledrejection" , e , r ) } ) ) , t . rejection = U || ee ( t ) ? 2 : 1 , n . error ) ) throw n . value } ) ) } , ee = function ( e ) { return 1 !== e . rejection && ! e . parent } , te = function ( e , t ) { T . call ( u , ( function ( ) { U ? R . emit ( "rejectionHandled" , e ) : Z ( "rejectionhandled" , e , t . value ) } ) ) } , ne = function ( e , t , n , r ) { return function ( o ) { e ( t , n , o , r ) } } , re = function ( e , t , n , r ) { t . done || ( t . done = ! 0 , r && ( t = r ) , t . value = n , t . state = 2 , J ( e , t , ! 0 ) ) } , oe = function ( e , t , n , r ) { if ( ! t . done ) { t . done = ! 0 , r && ( t = r ) ; try { if ( e === n ) throw P ( "Promise can't be resolved itself" ) ; var o = $ ( n ) ; o ? w ( ( function ( ) { var r = { done : ! 1 } ; try { o . call ( n , ne ( oe , e , r , t ) , ne ( re , e , r , t ) ) } catch ( n ) { re ( e , r , n , t ) } } ) ) : ( t . value = n , t . state = 1 , J ( e , t , ! 1 ) ) } catch ( n ) { re ( e , { done : ! 1 } , n , t ) } } } ; Q && ( q = function ( e ) { _ ( this , q , C ) , h ( e ) , r . call ( this ) ; var t = B ( this ) ; try { e ( ne ( oe , this , t ) , ne ( re , this , t ) ) } catch ( e ) { re ( this , t , e ) } } , ( r = function ( e ) { W ( this , { type : C , done : ! 1 , notified : ! 1 , parent : ! 1 , reactions : [ ] , rejection : ! 1 , state : 0 , value : void 0 } ) } ) . prototype = f ( q . prototype , { then : function ( e , t ) { var n = j ( this ) , r = H ( L ( this , q ) ) ; return r . ok = "function" != typeof e || e , r . fail = "function" == typeof t && t , r . domain = U ? R . domain : void 0 , n . parent = ! 0 , n . reactions . push ( r ) , 0 != n . state && J ( this , n , ! 1 ) , r . promise } , catch : function ( e ) { return this . then ( void 0 , e ) } } ) , o = function ( ) { var e = new r , t = B ( e ) ; this . promise = e , this . resolve = ne ( oe , e , t ) , this . reject = ne ( re , e , t ) } , x . f = H = function ( e ) { return e === q || e === a ? new o ( e ) : F ( e ) } , c || "function" != typeof d || ( i = d . prototype . then , p ( d . prototype , "then" , ( function ( e , t ) { var n = this ; return new q ( ( function ( e , t ) { i . call ( n , e , t ) } ) ) . then ( e , t ) } ) , { unsafe : ! 0 } ) , "function" == typeof X && s ( { global : ! 0 , enumerable : ! 0 , forced : ! 0 } , { fetch : function ( e ) { return z ( q , X . apply ( u , arguments ) ) } } ) ) ) , s ( { global : ! 0 , wrap : ! 0 , forced : Q } , { Promise : q } ) , A ( q , C , ! 1 , ! 0 ) , m ( C ) , a = l ( C ) , s ( { target : C , stat : ! 0 , forced : Q } , { reject : function ( e ) { var t = H ( this ) ; return t . reject . call ( void 0 , e ) , t . promise } } ) , s ( { target : C , stat : ! 0 , forced : c || Q } , { resolve : function ( e ) { return z ( c && this === a ? q : this , e ) } } ) , s ( { target : C , stat : ! 0 , forced : V } , { all : function ( e ) { var t = this , n = H ( t ) , r = n . resolve , o = n . reject , a = S ( ( function ( ) { var n = h ( t . resolve ) , a = [ ] , i = 0 , s = 1 ; b ( e , ( function ( e ) { var c = i ++ , u = ! 1 ; a . push ( void 0 ) , s ++ , n . call ( t , e ) . then ( ( function ( e ) { u || ( u = ! 0 , a [ c ] = e , -- s || r ( a ) ) } ) , o ) } ) ) , -- s || r ( a ) } ) ) ; return a . error && o ( a . value ) , n . promise } , race : function ( e ) { var t = this , n = H ( t ) , r = n . reject , o = S (
2020-02-23 05:13:31 +03:00
//! version : 0.5.28
2019-09-11 12:58:57 +03:00
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2020-03-22 21:46:15 +03:00
! function ( i , s ) { "use strict" ; e . exports ? e . exports = s ( n ( 0 ) ) : ( o = [ n ( 0 ) ] , void 0 === ( a = "function" == typeof ( r = s ) ? r . apply ( t , o ) : r ) || ( e . exports = a ) ) } ( 0 , ( function ( e ) { "use strict" ; var t , n = { } , r = { } , o = { } , a = { } , i = { } ; e && "string" == typeof e . version || S ( "Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/" ) ; var s = e . version . split ( "." ) , c = + s [ 0 ] , u = + s [ 1 ] ; function l ( e ) { return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48 } function d ( e ) { var t = 0 , n = e . split ( "." ) , r = n [ 0 ] , o = n [ 1 ] || "" , a = 1 , i = 0 , s = 1 ; for ( 45 === e . charCodeAt ( 0 ) && ( t = 1 , s = - 1 ) ; t < r . length ; t ++ ) i = 60 * i + l ( r . charCodeAt ( t ) ) ; for ( t = 0 ; t < o . length ; t ++ ) a /= 60 , i += l ( o . charCodeAt ( t ) ) * a ; return i * s } function p ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) e [ t ] = d ( e [ t ] ) } function f ( e , t ) { var n , r = [ ] ; for ( n = 0 ; n < t . length ; n ++ ) r [ n ] = e [ t [ n ] ] ; return r } function A ( e ) { var t = e . split ( "|" ) , n = t [ 2 ] . split ( " " ) , r = t [ 3 ] . split ( "" ) , o = t [ 4 ] . split ( " " ) ; return p ( n ) , p ( r ) , p ( o ) , function ( e , t ) { for ( var n = 0 ; n < t ; n ++ ) e [ n ] = Math . round ( ( e [ n - 1 ] || 0 ) + 6e4 * e [ n ] ) ; e [ t - 1 ] = 1 / 0 } ( o , r . length ) , { name : t [ 0 ] , abbrs : f ( t [ 1 ] . split ( " " ) , r ) , offsets : f ( n , r ) , untils : o , population : 0 | t [ 5 ] } } function m ( e ) { e && this . _set ( A ( e ) ) } function M ( e , t ) { this . name = e , this . zones = t } function h ( e ) { var t = e . toTimeString ( ) , n = t . match ( /\([a-z ]+\)/i ) ; "GMT" === ( n = n && n [ 0 ] ? ( n = n [ 0 ] . match ( /[A-Z]/g ) ) ? n . join ( "" ) : void 0 : ( n = t . match ( /[A-Z]{3,5}/g ) ) ? n [ 0 ] : void 0 ) && ( n = void 0 ) , this . at = + e , this . abbr = n , this . offset = e . getTimezoneOffset ( ) } function _ ( e ) { this . zone = e , this . offsetScore = 0 , this . abbrScore = 0 } function g ( e , t ) { for ( var n , r ; r = 6e4 * ( ( t . at - e . at ) / 12e4 | 0 ) ; ) ( n = new h ( new Date ( e . at + r ) ) ) . offset === e . offset ? e = n : t = n ; return e } function v ( e , t ) { return e . offsetScore !== t . offsetScore ? e . offsetScore - t . offsetScore : e . abbrScore !== t . abbrScore ? e . abbrScore - t . abbrScore : e . zone . population !== t . zone . population ? t . zone . population - e . zone . population : t . zone . name . localeCompare ( e . zone . name ) } function b ( e , t ) { var n , r ; for ( p ( t ) , n = 0 ; n < t . length ; n ++ ) r = t [ n ] , i [ r ] = i [ r ] || { } , i [ r ] [ e ] = ! 0 } function y ( e ) { var t , n , r , o = e . length , s = { } , c = [ ] ; for ( t = 0 ; t < o ; t ++ ) for ( n in r = i [ e [ t ] . offset ] || { } ) r . hasOwnProperty ( n ) && ( s [ n ] = ! 0 ) ; for ( t in s ) s . hasOwnProperty ( t ) && c . push ( a [ t ] ) ; return c } function L ( ) { try { var e = Intl . DateTimeFormat ( ) . resolvedOptions ( ) . timeZone ; if ( e && e . length > 3 ) { var t = a [ T ( e ) ] ; if ( t ) return t ; S ( "Moment Timezone found " + e + " from the Intl api, but did not have that data loaded." ) } } catch ( e ) { } var n , r , o , i = function ( ) { var e , t , n , r = ( new Date ) . getFullYear ( ) - 2 , o = new h ( new Date ( r , 0 , 1 ) ) , a = [ o ] ; for ( n = 1 ; n < 48 ; n ++ ) ( t = new h ( new Date ( r , n , 1 ) ) ) . offset !== o . offset && ( e = g ( o , t ) , a . push ( e ) , a . push ( new h ( new Date ( e . at + 6e4 ) ) ) ) , o = t ; for ( n = 0 ; n < 4 ; n ++ ) a . push ( new h ( new Date ( r + n , 0 , 1 ) ) ) , a . push ( new h ( new Date ( r + n , 6 , 1 ) ) ) ; return a } ( ) , s = i . length , c = y ( i ) , u = [ ] ; for ( r = 0 ; r < c . length ; r ++ ) { for ( n = new _ ( z ( c [ r ] ) , s ) , o = 0 ; o < s ; o ++ ) n . scoreOffsetAt ( i [ o ] ) ; u . push ( n ) } return u . sort ( v ) , u . length > 0 ? u [ 0 ] . zone . name : void 0 } function T ( e ) { return ( e || "" ) . toLowerCase ( ) . replace ( /\//g , "_" ) } function w ( e ) { var t , r , o , i ; for ( "string" == typeof e && ( e = [ e ] ) , t = 0 ; t < e . length ; t ++ ) i = T ( r = ( o = e [ t ] . split ( "|" ) ) [ 0 ] ) , n [ i ] = e [ t ] , a [ i ] = r , b ( i , o [ 2 ] . split ( " " ) ) } function z ( e , t ) { e = T ( e ) ; var o , i = n [ e ] ; return i instanceof m ? i : "string" == typeof i ? ( i = new m ( i ) , n [ e ] = i , i ) : r [ e ] && t !== z && ( o = z ( r [ e ] , z ) ) ? ( ( i = n [ e ] = new m ) . _set ( o ) , i . name = a [ e ] , i ) : null } function O ( e ) { var t , n , o , i ; for ( "string" == typeof e && ( e = [ e ] ) , t = 0 ; t < e . length ; t ++ ) o = T ( ( n = e [ t ] . split ( "|" ) ) [ 0 ] ) , i = T ( n [ 1 ] ) , r [ o ] = i , a [ o ] = n [ 0 ] , r [ i ] = o , a [ i ] = n [ 1 ] } function x ( e ) { var t = "X" === e . _f || "x" === e . _f ; return ! ( ! e . _a || void 0 !== e . _tzm || t ) } function S ( e ) { "undefined" != typeof console && "function" == typeof console . error && console . error ( e ) } function k ( t ) { var n = Array . prototype . slice . call ( arguments , 0 , - 1 ) , r = arguments [ arguments . length - 1 ] , o = z ( r ) , a = e . utc . apply ( null , n ) ; return o && ! e . isMoment ( t ) && x ( a ) && a . add ( o . parse ( a ) , "minutes" ) , a . tz ( r ) , a } ( c < 2 || 2 === c && u < 6 ) && S ( "Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + e . version + ". See momentjs.com" ) , m . prototype = { _set : function ( e ) { this . name = e . name , this . abbrs = e . abbrs , this . untils = e . untils , this . offsets = e . offsets , this . population = e . population } , _index : function ( e ) { var t , n = + e , r = this . untils ; for ( t = 0 ; t < r . length ; t ++ ) if ( n < r [ t ] ) return t } , countries : function ( ) { var e = this . name ; return Object . keys ( o ) . filter ( ( function ( t ) { return - 1 !== o [ t ] . zones . indexOf ( e ) } ) ) } , parse : function ( e ) { va
2019-09-25 19:19:42 +03:00
/ * *
2019-09-11 12:58:57 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-03-22 21:46:15 +03:00
* /o.default.use(a.a);var _=new a.a.Store({state:{rules:[],scope:Object(c.loadState)("workflowengine","scope"),appstoreEnabled:Object(c.loadState)("workflowengine","appstoreenabled"),operations:Object(c.loadState)("workflowengine","operators"),plugins:o.default.observable({checks:{},operators:{}}),entities:Object(c.loadState)("workflowengine","entities"),events:Object(c.loadState)("workflowengine","entities").map((function(e){return e.events.map((function(t){return M({id:"".concat(e.id,"::").concat(t.eventName),entity:e},t)}))})).flat(),checks:Object(c.loadState)("workflowengine","checks")},mutations:{addRule:function(e,t){e.rules.push(M({},t,{valid:!0}))},updateRule:function(e,t){var n=e.rules.findIndex((function(e){return t.id===e.id})),r=Object.assign({},t);o.default.set(e.rules,n,r)},removeRule:function(e,t){var n=e.rules.findIndex((function(e){return t.id===e.id}));e.rules.splice(n,1)},addPluginCheck:function(e,t){o.default.set(e.plugins.checks,t.class,t)},addPluginOperator:function(e,t){t=Object.assign({color:"var(--color-primary-element)"},t,e.operations[t.id]||{}),void 0!==e.operations[t.id]&&o.default.set(e.operations,t.id,t)}},actions:{fetchRules:function(e){return A(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.a.get(l(""));case 2:n=t.sent,r=n.data,Object.values(r.ocs.data).flat().forEach((function(t){e.commit("addRule",t)}));case 5:case"end":return t.stop()}}),t)})))()},createNewRule:function(e,t){var n=null,r=[];!1===t.isComplex&&""===t.fixedEntity&&(r=[(n=(n=e.state.entities.find((function(e){return t.entities&&t.entities[0]===e.id})))||Object.values(e.state.entities)[0]).events[0].eventName]),e.commit("addRule",{id:-(new Date).getTime(),class:t.id,entity:n?n.id:t.fixedEntity,events:r,name:"",checks:[{class:null,operator:null,value:""}],operation:t.operation||""})},updateRule:function(e,t){e.commit("updateRule",M({},t,{events:"string"==typeof t.events?JSON.parse(t.events):t.events}))},removeRule:function(e,t){e.commit("removeRule",t)},pushUpdateRule:function(e,t){return A(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==e.state.scope){n.next=3;break}return n.next=3,p()();case 3:if(!(t.id<0)){n.next=9;break}return n.next=6,s.a.post(l(""),t);case 6:r=n.sent,n.next=12;break;case 9:return n.next=11,s.a.put(l("/ ".concat(t.id)),t);case 11:r=n.sent;case 12:o.default.set(t," id ",r.data.ocs.data.id),e.commit(" updateRule ",t);case 14:case" end ":return n.stop()}}),n)})))()},deleteRule:function(e,t){return A(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p()();case 2:return n.next=4,s.a.delete(l(" / ".concat(t.id)));case 4:e.commit(" removeRule ",t);case 5:case" end ":return n.stop()}}),n)})))()},setValid:function(e,t){var n=t.rule,r=t.valid;n.valid=r,e.commit(" updateRule ",n)}},getters:{getRules:function(e){return e.rules.filter((function(t){return void 0!==e.operations[t.class]})).sort((function(e,t){return e.id-t.id||t.class-e.class}))},getOperationForRule:function(e){return function(t){return e.operations[t.class]}},getEntityForOperation:function(e){return function(t){return e.entities.find((function(e){return t.fixedEntity===e.id}))}},getEventsForOperation:function(e){return function(t){return e.events}},getChecksForEntity:function(e){return function(t){return Object.values(e.checks).filter((function(e){return e.supportedEntities.indexOf(t)>-1||0===e.supportedEntities.length})).map((function(t){return e.plugins.checks[t.id]})).reduce((function(e,t){return e[t.class]=t,e}),{})}}}}),g=r(596),v=r(178),b=r(179),y=r(17),L={name:" Event " , components : { Multiselect : y . Multiselect } , props : { rule : { type : Object , required : ! 0 } } , computed : { entity : function ( ) { return this . $store . getters . getEntityForOperation ( this . operation ) } , operation : function ( ) { return this . $store . getters . getOperationForRule ( this . rule ) } , allEvents : function ( ) { return this . $store . getters . getEventsForOperation ( this . operation
2019-10-02 14:18:17 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-03-22 21:46:15 +03:00
* / v a r y e = [ ] . c o n c a t ( v e ( e e ) , v e ( g e ) ) ;
2019-10-02 14:18:17 +03:00
/ * *
2019-09-11 12:58:57 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-03-22 21:46:15 +03:00
* / w i n d o w . O C A . W o r k f l o w E n g i n e = O b j e c t . a s s i g n ( { } , O C A . W o r k f l o w E n g i n e , { r e g i s t e r C h e c k : f u n c t i o n ( e ) { _ . c o m m i t ( " a d d P l u g i n C h e c k " , e ) } , r e g i s t e r O p e r a t o r : f u n c t i o n ( e ) { _ . c o m m i t ( " a d d P l u g i n O p e r a t o r " , e ) } } ) , y e . f o r E a c h ( ( f u n c t i o n ( e ) { r e t u r n w i n d o w . O C A . W o r k f l o w E n g i n e . r e g i s t e r C h e c k ( e ) } ) ) , o . d e f a u l t . u s e ( a . a ) , o . d e f a u l t . p r o t o t y p e . t = t , n e w ( o . d e f a u l t . e x t e n d ( P ) ) ( { s t o r e : _ } ) . $ m o u n t ( " # w o r k f l o w e n g i n e " ) } ] ) ;
2019-05-09 19:39:40 +03:00
//# sourceMappingURL=workflowengine.js.map