2021-04-08 15:51:24 +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 = 338 ) } ( [ function ( e , t , n ) { var r = n ( 3 ) , o = n ( 45 ) , s = n ( 5 ) , a = n ( 46 ) , i = n ( 63 ) , l = n ( 100 ) , c = o ( "wks" ) , u = r . Symbol , m = l ? u : u && u . withoutSetter || a ; e . exports = function ( e ) { return s ( c , e ) && ( i || "string" == typeof c [ e ] ) || ( i && s ( u , e ) ? c [ e ] = u [ e ] : c [ e ] = m ( "Symbol." + e ) ) , c [ e ] } } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t , n ) { var r = n ( 3 ) , o = n ( 28 ) . f , s = n ( 13 ) , a = n ( 10 ) , i = n ( 58 ) , l = n ( 95 ) , c = n ( 52 ) ; e . exports = function ( e , t ) { var n , u , m , p , d , f = e . target , g = e . global , A = e . stat ; if ( n = g ? r : A ? r [ f ] || i ( f , { } ) : ( r [ f ] || { } ) . prototype ) for ( u in t ) { if ( p = t [ u ] , m = e . noTargetGet ? ( d = o ( n , u ) ) && d . value : n [ u ] , ! c ( g ? u : f + ( A ? "." : "#" ) + u , e . forced ) && void 0 !== m ) { if ( typeof p == typeof m ) continue ; l ( p , m ) } ( e . sham || m && m . sham ) && s ( p , "sham" , ! 0 ) , a ( n , u , p , e ) } } } , function ( e , t , n ) { ( function ( t ) { var n = function ( e ) { return e && e . Math == Math && e } ; e . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof t && t ) || function ( ) { return this } ( ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 11 ) ) } , function ( e , t , n ) { var r = n ( 6 ) ; e . exports = function ( e ) { if ( ! r ( e ) ) throw TypeError ( String ( e ) + " is not an object" ) ; return e } } , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { var r = n ( 8 ) , o = n ( 94 ) , s = n ( 4 ) , a = n ( 30 ) , i = Object . defineProperty ; t . f = r ? i : function ( e , t , n ) { if ( s ( e ) , t = a ( t , ! 0 ) , s ( n ) , o ) try { return i ( e , t , n ) } catch ( e ) { } if ( "get" in n || "set" in n ) throw TypeError ( "Accessors not supported" ) ; return "value" in n && ( e [ t ] = n . value ) , e } } , function ( e , t , n ) { var r = n ( 1 ) ; e . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( e , t , n ) { "use strict" ; var r = n ( 103 ) , o = Object . prototype . toString ; function s ( e ) { return "[object Array]" === o . call ( e ) } function a ( e ) { return void 0 === e } function i ( e ) { return null !== e && "object" == typeof e } function l ( e ) { if ( "[object Object]" !== o . call ( e ) ) return ! 1 ; var t = Object . getPrototypeOf ( e ) ; return null === t || t === Object . prototype } function c ( e ) { return "[object Function]" === o . call ( e ) } function u ( e , t ) { if ( null != e ) if ( "object" != typeof e && ( e = [ e ] ) , s ( e ) ) for ( var n = 0 , r = e . length ; n < r ; n ++ ) t . call ( null , e [ n ] , n , e ) ; else for ( var o in e ) Object . prototype . hasOwnProperty . call ( e , o ) && t . call ( null , e [ o ] , o , e ) } e . exports = { isArray : s , isArrayBuffer : function ( e ) { return "[object ArrayBuffer]" === o . call ( e ) } , isBuffer : function ( e ) { return null !== e && ! a ( e ) && null !== e . constructor && ! a ( e . constructor ) && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } , isFormData : function ( e ) { return "undefined" != typeof FormData && e instanceof FormData } , isArrayBufferView : function ( e ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( e ) : e && e . buffer && e . buffer instanceof ArrayBuffer } , isString : function ( e ) { return "string" == typeof e } , isNumber : function ( e ) { return "number" == typeof e } , isObject : i , isPlainObject : l , isUndefined : a , isDate : function ( e ) { return "[object Date]" === o . call ( e ) } , isFile : function ( e ) { return "[object File]" === o . call ( e ) } , isBlob : function ( e ) { return "[object Blob]" === o . call ( e ) } , isFunction : c , isStream : function ( e ) { return i ( e ) && c ( e . pipe ) } , isURLSearchParams : function ( e ) { return "undefined" != typeof URLSearchParams && e instanceof URLSearchPar
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-04-19 13:47:12 +03:00
var r = Object . freeze ( { } ) ; function o ( e ) { return null == e } function s ( e ) { return null != e } function a ( e ) { return ! 0 === e } function i ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function l ( e ) { return null !== e && "object" == typeof e } var c = Object . prototype . toString ; function u ( e ) { return "[object Object]" === c . call ( e ) } function m ( e ) { return "[object RegExp]" === c . call ( e ) } function p ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function d ( e ) { return s ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function f ( e ) { return null == e ? "" : Array . isArray ( e ) || u ( e ) && e . toString === c ? JSON . stringify ( e , null , 2 ) : String ( e ) } function g ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function A ( 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 ] } } A ( "slot,component" , ! 0 ) ; var h = A ( "key,ref,slot,slot-scope,is" ) ; function v ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( e , t ) { return y . call ( e , t ) } function C ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var w = /-(\w)/g , x = C ( ( function ( e ) { return e . replace ( w , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , T = C ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , E = /\B([A-Z])/g , k = C ( ( function ( e ) { return e . replace ( E , "-$1" ) . toLowerCase ( ) } ) ) ; var S = 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 M ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function P ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function j ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && P ( t , e [ n ] ) ; return t } function _ ( e , t , n ) { } var B = function ( e , t , n ) { return ! 1 } , N = function ( e ) { return e } ; function I ( e , t ) { if ( e === t ) return ! 0 ; var n = l ( e ) , r = l ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var o = Array . isArray ( e ) , s = Array . isArray ( t ) ; if ( o && s ) return e . length === t . length && e . every ( ( function ( e , n ) { return I ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( o || s ) return ! 1 ; var a = Object . keys ( e ) , i = Object . keys ( t ) ; return a . length === i . length && a . every ( ( function ( n ) { return I ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function L ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( I ( e [ n ] , t ) ) return n ; return - 1 } function F ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var O = [ "component" , "directive" , "filter" ] , D = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , U = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : B , isReservedAttr : B , isUnknownElement : B , getTagNamespace : _ , parsePlatformTagName : N , mustUseProp : B , async : ! 0 , _lifecycleHooks : D } , z = /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 R ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var $ = new RegExp ( "[^" + z . source + ".$_\\d]" ) ; var G , Q = "__proto__" in { } , Y = "undefined" != typeof window , H = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = H && WXEnvironment . platform . toLowerCase ( ) , V = Y && window . navigator . userAgent . toLowerCase ( ) , Z = V && /msie|trident/ . test ( V ) , J = V && V . indexOf ( "msie 9.0" ) > 0 , X = V && V . indexOf ( "edge/" ) > 0 , q = ( V && V . indexOf ( "android" ) , V && /iphone|ipad|ipod|ios/ . test ( V ) || "ios" === W ) , K = ( V && /chrome\/\d+/ . test ( V ) , V && /phantomjs/ . test ( V ) , V && V . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( Y ) 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 === G && ( G = ! Y && ! H && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , G } , oe = Y && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function se ( e ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.16 . 1
* @ 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 .
* /
2021-04-19 13:47:12 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , r = function ( ) { for ( var e = [ "Edge" , "Trident" , "Firefox" ] , t = 0 ; t < e . length ; t += 1 ) if ( n && navigator . userAgent . indexOf ( e [ t ] ) >= 0 ) return 1 ; return 0 } ( ) ; var o = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , r ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function a ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function i ( 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 = a ( e ) , n = t . overflow , r = t . overflowX , o = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? e : l ( i ( e ) ) } function c ( e ) { return e && e . referenceNode ? e . referenceNode : e } var u = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , m = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( e ) { return 11 === e ? u : 10 === e ? m : u || m } function d ( e ) { if ( ! e ) return document . documentElement ; for ( var t = p ( 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" === a ( n , "position" ) ? d ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function f ( e ) { return null !== e . parentNode ? f ( e . parentNode ) : e } function g ( 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 , s = document . createRange ( ) ; s . setStart ( r , 0 ) , s . setEnd ( o , 0 ) ; var a , i , l = s . commonAncestorContainer ; if ( e !== l && t !== l || r . contains ( o ) ) return "BODY" === ( i = ( a = l ) . nodeName ) || "HTML" !== i && d ( a . firstElementChild ) !== a ? d ( l ) : l ; var c = f ( e ) ; return c . host ? g ( c . host , t ) : g ( e , f ( t ) . host ) } function A ( 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 , s = e . ownerDocument . scrollingElement || o ; return s [ n ] } return e [ n ] } function h ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = A ( t , "top" ) , o = A ( t , "left" ) , s = n ? - 1 : 1 ; return e . top += r * s , e . bottom += r * s , e . left += o * s , e . right += o * s , e } function v ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] ) + parseFloat ( e [ "border" + r + "Width" ] ) } function y ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , p ( 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 = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , t , n , r ) , width : y ( "Width" , t , n , r ) } } var C = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , w = 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 } } ( ) , x = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , T = 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 E ( e ) { return T ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function k ( e ) { var t = { } ; try { if ( p ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = A ( e , "top" ) , r = A ( 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 } , s = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , i = s . width || e . clientWidth || o . width , l = s . height || e . clientHeight || o . height , c = e . offsetWidth - i , u = e . offsetHeight - l ; if ( c || u ) { var m = a ( e ) ; c -= v ( m , "x" ) , u -
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ author 2020 Greta Doci < gretadoci @ gmail . 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/>.
*
2021-04-19 13:47:12 +03:00
* /t.default=r.a},2:function(e,t,n){"use strict";var r,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function i(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var m=a(u),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==m?(s[m].references++,s[m].updater(p)):s.push({identifier:u,updater:g(p,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var s=n.nc;s&&(r.nonce=s)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function m(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var s=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(s,a[t]):e.appendChild(s)}}function p(e,t,n){var r=n.css,o=n.media,s=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," * / " ) ) , 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 = r ; 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 ( r ) ) } } v a r d = n u l l , f = 0 ; f u n c t i o n g ( e , t ) { v a r n , r , o ; i f ( t . s i n g l e t o n ) { v a r s = f + + ; n = d | | ( d = l ( t ) ) , r = m . b i n d ( n u l l , n , s , ! 1 ) , o = m . b i n d ( n u l l , n , s , ! 0 ) } e l s e n = l ( t ) , r = p . b i n d ( n u l l , n , t ) , o = f u n c t i o n ( ) { ! f u n c t i o n ( e ) { i f ( n u l l = = = e . p a r e n t N o d e ) r e t u r n ! 1 ; e . p a r e n t N o d e . r e m o v e C h i l d ( e ) } ( n ) } ; r e t u r n r ( e ) , f u n c t i o n ( t ) { i f ( t ) { i f ( t . c s s = = = e . c s s & & t . m e d i a = = = e . m e d i a & & t . 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 ; r ( e = t ) } e l s e o ( ) } } e . e x p o r t s = f u n c t i o n ( e , t ) { ( t = t | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f t . s i n g l e t o n | | ( t . s i n g l e t o n = ( v o i d 0 = = = r & & ( r = B o o l e a n ( w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b ) ) , r ) ) ; v a r n = i ( e = e | | [ ] , t ) ; r e t u r n f u n c t i o n ( e ) { i f ( e = e | | [ ] , " [ o b j e c t A r r a y ] " = = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( e ) ) { f o r ( v a r r = 0 ; r < n . l e n g t h ; r + + ) { v a r o = a ( n [ r ] ) ; s [ o ] . r e f e r e n c e s - - } f o r ( v a r l = i ( e , t ) , c = 0 ; c < n . l e n g t h ; c + + ) { v a r u = a ( n [ c ] ) ; 0 = = = s [ u ] . r e f e r e n c e s & & ( s [ u ] . u p d a t e r ( ) , s . s p l i c e ( u , 1 ) ) } n = l } } } } , 3 : 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 , n , r , o , s , a , i ) { v a r l , c = " f u n c t i o n " = = t y p e o f e ? e . o p t i o n s : e ; i f ( t & & ( c . r e n d e r = t , c . s t a t i c R e n d e r F n s = n , c . _ c o m p i l e d = ! 0 ) , r & & ( c . f u n c t i o n a l = ! 0 ) , s & & ( c . _ s c o p e I d = " d a t a - v - " + s ) , a ? ( l = f u n c t i o n ( e ) { ( e = e | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( e = _ _ V U E _ S S R _ C O N T E X T _ _ ) , o & & o . c a l l ( t h i s , e ) , e & & e . _ r e g i s t e r e d C o m p o n e n t s & & e . _ r e g i s t e r e d C o m p o n e n t s . a d d ( a ) } , c . _ s s r R e g i s t e r = l ) : o & & ( l = i ? f u n c t i o n ( ) { o . c a l l ( t h i s , ( c . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : o ) , l ) i f ( c . f u n c t i o n a l ) { c . _ i n j e c t S t y l e s = l ; v a r u = c . r e n d e r ; c . r e n d e r = f u n c t i o n ( e , t ) { r e t u r n l . c a l l ( t ) , u ( e , t ) } } e l s e { v a r m = c . b e f o r e C r e a t e ; c . b e f o r e C r e a t e = m ? [ ] . c o n c a t ( m , l ) : [ l ] } r e t u r n { e x p o r t s : e , o p t i o n s : c } } n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 9 ) , o = n ( 3 8 ) , s = n ( 6 2 ) , a = n ( 4 ) ; e . e x p o r t s = r ( " R e f l e c t " , " o w n K e y s " ) | | f u n c t i o n ( e ) { v a r t = o . f ( a ( e ) ) , n = s . f ; r e t u r n n ? t . c o n c a t ( n ( e ) ) : 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 ( 2 ) , o = n ( 4 0 ) . m a p ; r ( { t a r g e t : " A r r a y " , p r o t o : ! 0 , f o r c e d : ! n ( 3 4 ) ( " m a p " ) } , { m a p : f u n c t i o n ( e ) { r e t u r n o ( t h i s , e , a r g u m e n t s . l e n g t h > 1 ? a r g u m e n t s [ 1 ] : v o i d 0 ) } } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; O b j e c t . d e f i n e P r o p e r t y ( t , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) , t . s u b s c r i b e = f u n c t i o n ( e , t ) { s . s u b s c r i b e ( e , t ) } , t . u n s u b s c r i b e = f u n c t i o n ( e , t ) { s . u n s u b s c r i b e ( e , t ) } , t . e m i t = f u n c t i o n ( e , t ) { s . e m i t ( e , t ) } ; v a r r = n ( 1 7 2 ) , o = n ( 1 7 7 ) ; v a r s = ( v o i d 0 ! = = w i n d o w . O C & & w i n d o w . O C . _ e v e n t B u s & & v o i d 0 = = = w i n d o w . _ n c _ e v e n t _ b u s & & ( c o n s o l e . w a r n ( " f o u n d o l d e
2021-03-17 11:45:22 +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/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><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" ; var r = n ( 0 ) , o = n . n ( r ) , s = n ( 1 ) , a = n . n ( s ) ( ) ( o . a ) ; a . push ( [ e . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +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/>.
*
* / 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 ( ) : " " } } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 0 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 9 5 ) } , , 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 ( 1 2 ) ; t . a = { m e t h o d s : { n : r . a , t : r . b } } } , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 9 6 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = n ( 2 6 ) ;
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / t . d e f a u l t = r . a } , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 3 9 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 3 8 ) , o = ( n ( 1 5 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( e ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = 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 ( ) } } } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 3 0 ) , n ( 1 5 ) , n ( 9 8 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ; t . a = f u n c t i o n ( e , t , n ) { i f ( v o i d 0 ! = = e ) f o r ( v a r r = e . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r s = e [ r ] , a = ! s . c o m p o n e n t O p t i o n s & & s . t a g & & - 1 = = = t . i n d e x O f ( s . t a g ) , i = ! ! s . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f s . c o m p o n e n t O p t i o n s . t a g , l = i & & - 1 = = = t . i n d e x O f ( s . c o m p o n e n t O p t i o n s . t a g ) ; ( a | | ! i | | l ) & & ( ( a | | l ) & & o . a . u t i l . w a r n ( " " . c o n c a t ( a ? s . t a g : s . c o m p o n e n t O p t i o n s . t a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( n . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , n ) , e . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 6 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 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 ( 0 ) , o = n . n ( r ) , s = n ( 1 ) , a = n . n ( s ) , i = n ( 4 ) , l = n . n ( i ) , c = n ( 8 ) , u = n ( 9 ) , m = n ( 1 0 ) , p = n ( 1 1 ) , d = a ( ) ( o . a ) , f = l ( ) ( c . a ) , g = l ( ) ( u . a ) , A = l ( ) ( m . a ) , h = l ( ) ( p . a ) ; d . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; s r c : u r l ( ' + f + " ) ; s r c : u r l ( " + f + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + A + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + h + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 1 b 3 3 c 3 3 b ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 1 b 3 3 c 3 3 b ] { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d { o p a c i t y : . 3 ! i m p o r t a n t } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : a u t o ; m i n - w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { d i s p l a y : f l e x ; a l i g n -
/ * *
* @ 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/>.
*
* / t . d e f a u l t = r . a } , , , , , , , , , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /t.a=function(e){e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e08a231"),"")}))}},,function(e,t,n){"use strict";n(30),n(51),n(31),n(37),n(6),n(46),n(17),n(18),n(19),n(52),n(40),n(15);var r=n(22),o=n(33),s=n(50),a=n(12),i=n(47);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{tooltip:r.default},components:{Popover:i.default,VNodes:{functional:!0,render:function(e,t){return t.props.vnodes}}},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(a.b)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(o.a)(),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,"aria-label":this.firstAction.ariaLabel};if("ActionRouter"===e)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel};if("ActionButton"===e)return{is:"button","aria-label":this.firstAction.ariaLabel}}return null},firstActionEvent:function(){var e,t,n;return null===(e=this.firstActionVNode)||void 0===e||null===(t=e.componentOptions)||void 0===t||null===(n=t.listeners)||void 0===n?void 0:n.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var e,t;return null===(e=this.firstAction)||void 0===e||null===(t=e.$slots)||void 0===t?void 0:t.icon},firstActionClass:function(){var e=this.firstActionVNode&&this.firstActionVNode.data.staticClass,t=this.firstActionVNode&&this.firstActionVNode.data.class;return"".concat(e," ").concat(t)},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(e){e!==this.opened&&(this.opened=e)}},beforeMount:function(){this.initActions(),Object(s.a)(this.$slots.default,c,this)},beforeUpdate:function(){this.initActions(),Object(s.a)(this.$slots.default,c,this)},methods:{openMenu:function(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"),this.onOpen(e))},closeMenu:function(e){this.opened&&(this.opened=!1,this.$emit("update:open",!1),this.$emit("close"),this.opened=!1,this.focusIndex=0,this.$refs.menuButton.focus())},onOpen:function(e){var t=this;this.$nextTick((function(){t.focusFirstAction(e)}))},onMouseFocusAction:function(e){if(document.activeElement!==e.target){var t=e.target.closest("li");if(t){var n=t.querySelector(".focusable");if(n){var r=function(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ? l ( e , t ) : void 0 } } ( e ) || function ( ) { throw new TypeError ( " Invalid attempt to spread non - iterable instance . \ nIn order to be iterable , non - array objects
/ * *
* @ 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/>.
*
* / t . d e f a u l t = r . a } , , , , , , , , , 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 ( 0 ) , o = n . n ( r ) , s = n ( 1 ) , a = n . n ( s ) , i = n ( 4 ) , l = n . n ( i ) , c = n ( 8 ) , u = n ( 9 ) , m = n ( 1 0 ) , p = n ( 1 1 ) , d = a ( ) ( o . a ) , f = l ( ) ( c . a ) , g = l ( ) ( u . a ) , A = l ( ) ( m . a ) , h = l ( ) ( p . a ) ; d . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; s r c : u r l ( ' + f + " ) ; s r c : u r l ( " + f + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + A + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + h + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 3 e 0 b 1 0 9 b ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . m o d a l - m a s k [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : f i x e d ; z - i n d e x : 9 9 9 8 ; t o p : 0 ; l e f t : 0 ; d i s p l a y : b l o c k ; w i d t h : 1 0 0 % ; h e i g h t : 1 0 0 % ; b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0 , 0 . 5 ) } . m o d a l - m a s k - - d a r k [ d a t a - v - 3 e 0 b 1 0 9 b ] { b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0 , 0 . 9 2 ) } . m o d a l - h e a d e r [ d a t a - v - 3 e 0 b 1 0 9 b ] { 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 1 ; t o p : 0 ; r i g h t : 0 ; l e f t : 0 ; d i s p l a y : f l e x ! i m p o r t a n t ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; w i d t h : 1 0 0 % ; h e i g h t : 5 0 p x ; t r a n s i t i o n : o p a c i t y 2 5 0 m s , v i s i b i l i t y 2 5 0 m s } . m o d a l - h e a d e r . i n v i s i b l e [ s t y l e * = \ ' d i s p l a y : n o n e \ ' ] [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i n v i s i b l e [ s t y l e * = \ ' d i s p l a y : n o n e \ ' ] [ d a t a - v - 3 e 0 b 1 0 9 b ] { v i s i b i l i t y : h i d d e n } . m o d a l - h e a d e r . m o d a l - t i t l e [ d a t a - v - 3 e 0 b 1 0 9 b ] { o v e r f l o w - x : h i d d e n ; b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 1 0 0 % ; p a d d i n g : 0 1 3 2 p x 0 1 2 p x ; t r a n s i t i o n : p a d d i n g e a s e 1 0 0 m s ; w h i t e - s p a c e : n o w r a p ; t e x t - o v e r f l o w : e l l i p s i s ; c o l o r : # f f f ; f o n t - s i z e : 1 4 p x } @ m e d i a o n l y s c r e e n a n d ( m i n - w i d t h : 5 1 2 p x ) { . m o d a l - h e a d e r . m o d a l - t i t l e [ d a t a - v - 3 e 0 b 1 0 9 b ] { t e x t - a l i g n : c e n t e r ; p a d d i n g - l e f t : 1 3 2 p x } } . m o d a l - h e a d e r . i c o n s - m e n u [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : a b s o l u t e ; r i g h t : 0 ; d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : f l e x - e n d } . m o d a l - h e a d e r . i c o n s - m e n u . i c o n - c l o s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { b o x - s i z i n g : b o r d e r - b o x ; m a r g i n : 3 p x ; p a d d i n g : 1 0 p x 1 1 p x ; c o l o r : # f f f ; b a c k g r o u n d - i m a g e : n o n e ; f o n t - s i z e : 2 3 p x } . m o d a l - h e a d e r . i c o n s - m e n u . i c o n - c l o s e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 ; c o n t e n t : " " } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : r e l a t i v e ; w i d t h : 5 0 p x ; h e i g h t : 5 0 p x ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; c o l o r : w h i t e ; b o r d e r : n o n e ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; f o n t - s i z e : 2 2 p x } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : h o v e r . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : h o v e r . i c o n - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : f o c u s . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : f o c u s . i c o n - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { o p a c i t y : 1 ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e . i c o n - p a u s e [ d a t a - v
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / f u n c t i o n m ( e , t ) { v a r n , r , o , s = t ; t h i s . s t a r t = f u n c t i o n ( ) { o = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( e , s ) } , t h i s . p a u s e = f u n c t i o n ( ) { o = ! 1 , c l e a r T i m e o u t ( n ) , s - = n e w D a t e - r } , t h i s . c l e a r = f u n c t i o n ( ) { o = ! 1 , c l e a r T i m e o u t ( n ) , s = 0 } , t h i s . g e t T i m e L e f t = f u n c t i o n ( ) { r e t u r n o & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , s } , t h i s . g e t S t a t e R u n n i n g = f u n c t i o n ( ) { r e t u r n o } , t h i s . s t a r t ( ) } v a r p = { n a m e : " M o d a l " , c o m p o n e n t s : { A c t i o n s : a . d e f a u l t , A c t i o n B u t t o n : i . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : u . d e f a u l t } , m i x i n s : [ l . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n - 1 ! = = [ " n o r m a l " , " l a r g e " , " f u l l " ] . i n d e x O f ( e ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d a r k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c o n t a i n e r : { t y p e : S t r i n g , d e f a u l t : " b o d y " } } , d a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? O b j e c t ( c . b ) ( " P a u s e s l i d e s h o w " ) : O b j e c t ( c . b ) ( " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( e ) { t h i s . s l i d e s h o w T i m e o u t & & ( e ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) , t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m o u n t e d : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . s h o w M o d a l = ! 0 , t h i s . h a n d l e M o u s e M o v e ( ) , t h i s . m c = n e w s . a ( t h i s . $ r e f s . m a s k ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( t ) { e . h a n d l e S w i p e ( t ) } ) ) , " b o d y " = = = t h i s . c o n t a i n e r ? d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) : d o c u m e n t . q u e r y S e l e c t o r ( t h i s . c o n t a i n e r ) . a p p e n d C h i l d ( t h i s . $ e l ) } , d e s t r o y e d : f u n c t i o n ( ) { t h i s . $ e l . r e m o v e ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( e ) { t h i s . h a s P r e v i o u s & & ( e & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " p r e v i o u s " , e ) ) } , n e x t : f u n c t i o n ( e ) { t h i s . h a s N e x t & & ( e & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " n e x t " , e ) ) } , c l o s e : f u n c t i o n ( e ) { v a r t = t h i s ; t h i s . c a n C l o s e & & ( t h i s . s h o w M o d a l = ! 1 , s e t T i m e o u t ( ( f u n c t i o n ( ) { t . $ e m i t ( " c l o s e " , e ) } ) , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( e ) { s w i t c h ( e . k e y C o d e ) { c a s e 3 7 : t h i s . p r e v i o u s ( e ) ; b r e a k ; c a s e 1 3 : c a s e 3 9 : t h i s . n e x t ( e ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( e ) } } , h a n d l e S w i p e : f u n c t i o n ( e ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = e . t y p e ? t h i s . n e x t ( e ) : " s w i p e r i g h t " = = = e . t y p e & & t h i s . p r e v i o u s ( e ) ) } , h a n d l e M o u s e M o v e : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . c l e a r V i e w D e l a y > 0 & & ( t h i s . c l e a r V i e w = ! 1 , c l e a r T i m e o u t ( t h i s . c l e a r V i e w T i m e o u t ) , t h i s . c l e a r V i e w T i m e o u t = s e t T i m e o u t ( ( f u n c t i o n ( ) { e . c l e a r V i e w = ! 0 } ) , t h i s . c l e a r V i e w D e l a y ) ) } , t o g g l e P l a y P a u s e : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . p l a y i n g ? t h i s . h a n d l e S l i d e s h o w ( ) : t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) } , r e s e t S l i d e s h o w : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t h i s . t o g g l e P l a y P a u s e ( ) } ) ) } , h a n d l e S l i d e s h o w : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . p l a y i n g = ! 0 , t h i s . h a s N e x t ? t h i s . s l i d e s h o w T i m e o u t = n e w m ( ( f u n c t i o n ( ) { e . n e x t ( ) , e . h a n d l e S l i d e s h o w ( ) } ) , t h i s . s l i d e s h o w D e l a y ) : ( t h i s . p l a y i n g = ! 1 , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) ) } , c l e a r S l i d e s h o w T i m e o u t : f u n c t i o n ( ) { t h i s . s l i d e s h o w T i m e o u t & & t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) } } } , d = n ( 2 ) , f = n . n ( d ) , g = n ( 1 1 9 ) , A = ( f ( ) ( g . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , g . a . l o c a l s , n ( 3 ) ) , h = n ( 1 2 0 ) , v = n . n ( h ) , y = O b j e c t ( A . a ) ( p , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ n ( " d i v " , { r e f : " m a s k " , s t a t i c C l a s s : " m o d a l - m a s k " , c l a s s : { " m o d a l - m a s k - - d a r k " : e . d a r k } , o n : { c l i c k : e . h a n d l e M o u s e M o v e , m o u s e m o v e : e . h a n d l e M o u s e M o v e , t o u c h m o v e : e . h a n d l e M o u s e M o v e } } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e - v i s i b i l i t y " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! e . c l e a r V i e w , e x p r e s s i o n : " ! c l e a r V i e w " } ] , s t a t i c C l a s s : " m o d a l - h e a d e r " , c l a s s : { i n v i s i b l e : e . c l e a r V i e w } } , [ " " ! = = e . t i t l e . t r i m ( ) ? n ( " d i v " , { s t a t i c C l a s s : " m o d a l - t i t l e " } , [ e . _ v ( " \ n \ t \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : e . _ e ( ) , e . _ v ( " " ) , n ( " d i v " , { s t a t i c C
/ * *
* @ 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/>.
*
* / O b j e c t ( r . a ) ( b ) , t . d e f a u l t = b } ] ) } , , , , f u n c t i o n ( e , t , n ) { v a r r ;
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
2021-04-19 13:47:12 +03:00
* Licensed under the MIT license * /!function(o,s,a,i){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=s.createElement("div"),m=Math.round,p=Math.abs,d=Date.now;function f(e,t,n){return setTimeout(C(e,n),t)}function g(e,t,n){return!!Array.isArray(e)&&(A(e,n[t],n),!0)}function A(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function h(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , s = o . console && ( o . console . warn || o . console . log ) ; return s && s . call ( o . console , r , n ) , e . apply ( this , arguments ) } } l = "function" != typeof Object . assign ? function ( e ) { if ( null == e ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var t = Object ( e ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( null != r ) for ( var o in r ) r . hasOwnProperty ( o ) && ( t [ o ] = r [ o ] ) } return t } : Object . assign ; var v = h ( ( function ( e , t , n ) { for ( var r = Object . keys ( t ) , o = 0 ; o < r . length ; ) ( ! n || n && void 0 === e [ r [ o ] ] ) && ( e [ r [ o ] ] = t [ r [ o ] ] ) , o ++ ; return e } ) , "extend" , "Use `assign`." ) , y = h ( ( function ( e , t ) { return v ( e , t , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function b ( e , t , n ) { var r , o = t . prototype ; ( r = e . prototype = Object . create ( o ) ) . constructor = e , r . _super = o , n && l ( r , n ) } function C ( e , t ) { return function ( ) { return e . apply ( t , arguments ) } } function w ( e , t ) { return "function" == typeof e ? e . apply ( t && t [ 0 ] || void 0 , t ) : e } function x ( e , t ) { return void 0 === e ? t : e } function T ( e , t , n ) { A ( M ( t ) , ( function ( t ) { e . addEventListener ( t , n , ! 1 ) } ) ) } function E ( e , t , n ) { A ( M ( t ) , ( function ( t ) { e . removeEventListener ( t , n , ! 1 ) } ) ) } function k ( e , t ) { for ( ; e ; ) { if ( e == t ) return ! 0 ; e = e . parentNode } return ! 1 } function S ( e , t ) { return e . indexOf ( t ) > - 1 } function M ( e ) { return e . trim ( ) . split ( /\s+/g ) } function P ( e , t , n ) { if ( e . indexOf && ! n ) return e . indexOf ( t ) ; for ( var r = 0 ; r < e . length ; ) { if ( n && e [ r ] [ n ] == t || ! n && e [ r ] === t ) return r ; r ++ } return - 1 } function j ( e ) { return Array . prototype . slice . call ( e , 0 ) } function _ ( e , t , n ) { for ( var r = [ ] , o = [ ] , s = 0 ; s < e . length ; ) { var a = t ? e [ s ] [ t ] : e [ s ] ; P ( o , a ) < 0 && r . push ( e [ s ] ) , o [ s ] = a , s ++ } return n && ( r = t ? r . sort ( ( function ( e , n ) { return e [ t ] > n [ t ] } ) ) : r . sort ( ) ) , r } function B ( e , t ) { for ( var n , r , o = t [ 0 ] . toUpperCase ( ) + t . slice ( 1 ) , s = 0 ; s < c . length ; ) { if ( ( r = ( n = c [ s ] ) ? n + o : t ) in e ) return r ; s ++ } } var N = 1 ; function I ( e ) { var t = e . ownerDocument || e ; return t . defaultView || t . parentWindow || o } var L = "ontouchstart" in o , F = void 0 !== B ( o , "PointerEvent" ) , O = L && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , D = [ "x" , "y" ] , U = [ "clientX" , "clientY" ] ; function z ( e , t ) { var n = this ; this . manager = e , this . callback = t , this . element = e . element , this . target = e . options . inputTarget , this . domHandler = function ( t ) { w ( e . options . enable , [ e ] ) && n . handler ( t ) } , this . init ( ) } function R ( e , t , n ) { var r = n . pointers . length , o = n . changedPointers . length , s = 1 & t && r - o == 0 , a = 12 & t && r - o == 0 ; n . isFirst = ! ! s , n . isFinal = ! ! a , s && ( e . session = { } ) , n . eventType = t , function ( e , t ) { var n = e . session , r = t . pointers , o = r . length ; n . firstInput || ( n . firstInput = $ ( t ) ) ; o > 1 && ! n . firstMultiple ? n . firstMultiple = $ ( t ) : 1 === o && ( n . firstMultiple = ! 1 ) ; var s = n . firstInput , a = n . firstMultiple , i = a ? a . center : s . center , l = t . center = G ( r ) ; t . timeStamp = d ( ) , t . deltaTime = t . timeStamp - s . timeStamp , t . angle = W ( i , l ) , t . distance = H ( i , l ) , function ( e , t ) { var n = t . center , r = e . offsetDelta || { } , o = e . prevDelta || { } , s = e . prevInput || { } ; 1 !== t . eventType && 4 !== s . eventType || ( o = e . prevDelta = { x : s . deltaX || 0 , y : s . deltaY || 0 } , r = e . offsetDelta = { x : n . x , y : n . y } ) ; t . deltaX = o . x + ( n . x - r . x ) , t . deltaY = o . y + ( n . y - r . y ) } ( n , t ) , t . offsetDirection = Y ( t . deltaX , t . deltaY ) ; var c = Q ( t . deltaTime , t . deltaX , t . deltaY ) ; t . overallVelocityX = c . x , t . overallVelocityY = c . y , t . overallVelocity = p ( c . x ) > p ( c . y ) ? c . x : c . y , t . scale = a ? ( u = a . pointers , m = r , H ( m [ 0 ] , m [ 1 ] , U ) / H ( u [ 0 ] , u [ 1 ] , U ) ) : 1 , t . rotation = a ? function ( e , t ) { return W ( t [ 1 ] , t [ 0 ] , U ) + W ( e [ 1 ] , e [ 0 ] , U ) } ( a . pointers , r ) : 0 , t . maxPointers = n . prevInput ? t . pointers . length > n . prevInput . maxPointers ? t . pointers . length : n . prevInput . maxPointers : t . pointers . length , function ( e , t ) { var n , r , o , s , a = e . lastInterval || t , i = t . timeStamp - a . timeStamp ; if ( 8 != t . eventType && ( i > 25 || void 0 === a . velocity ) ) { var l
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2021 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
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
* /
2021-04-19 13:47:12 +03:00
var y = function ( ) { var e , t = ( e = regeneratorRuntime . mark ( ( function e ( ) { var t ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . next = 2 , m . a . get ( Object ( i . generateOcsUrl ) ( "apps/files/api/v1" , 2 ) + "templates" ) ; case 2 : return t = e . sent , e . abrupt ( "return" , t . data . ocs . data ) ; case 4 : case "end" : return e . stop ( ) } } ) , e ) } ) ) , function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , o ) { var s = e . apply ( t , n ) ; function a ( e ) { v ( s , r , o , a , i , "next" , e ) } function i ( e ) { v ( s , r , o , a , i , "throw" , e ) } a ( void 0 ) } ) ) } ) ; return function ( ) { return t . apply ( this , arguments ) } } ( ) , b = { name : "TemplatePreview" , inheritAttrs : ! 1 , props : { basename : { type : String , required : ! 0 } , checked : { type : Boolean , default : ! 1 } , fileid : { type : [ String , Number ] , required : ! 0 } , filename : { type : String , required : ! 0 } , previewUrl : { type : String , default : null } , hasPreview : { type : Boolean , default : ! 0 } , mime : { type : String , required : ! 0 } , ratio : { type : Number , default : null } } , data : function ( ) { return { failedPreview : ! 1 } } , computed : { nameWithoutExt : function ( ) { return this . basename . indexOf ( "." ) > - 1 ? this . basename . split ( "." ) . slice ( 0 , - 1 ) . join ( "." ) : this . basename } , id : function ( ) { return "template-picker-" . concat ( this . fileid ) } , realPreviewUrl : function ( ) { return this . failedPreview && this . mimeIcon ? this . mimeIcon : this . previewUrl ? this . previewUrl : Object ( l . getCurrentUser ) ( ) ? Object ( i . generateUrl ) ( "/core/preview?fileId=" . concat ( this . fileid , "&x=" ) . concat ( 256 , "&y=" ) . concat ( 256 , "&a=1" ) ) : Object ( i . generateUrl ) ( "/apps/files_sharing/publicpreview/" . concat ( document . getElementById ( "sharingToken" ) && document . getElementById ( "sharingToken" ) . value , "?fileId=" ) . concat ( this . fileid , "&file=" ) . concat ( ( e = this . filename , t = ( e . startsWith ( "/" ) ? e : "/" . concat ( e ) ) . split ( "/" ) , n = "" , t . forEach ( ( function ( e ) { "" !== e && ( n += "/" + encodeURIComponent ( e ) ) } ) ) , n ) , "&x=" ) . concat ( 256 , "&y=" ) . concat ( 256 , "&a=1" ) ) ; var e , t , n } , mimeIcon : function ( ) { return OC . MimeType . getIconUrl ( this . mime ) } } , methods : { onCheck : function ( ) { this . $emit ( "check" , this . fileid ) } , onFailure : function ( ) { this . failedPreview = ! 0 } } } , C = r ( 78 ) , w = r . n ( C ) , x = r ( 241 ) , T = { insert : "head" , singleton : ! 1 } , E = ( w ( ) ( x . a , T ) , x . a . locals , r ( 22 ) ) , k = Object ( E . a ) ( b , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , { staticClass : "template-picker__item" } , [ n ( "input" , { staticClass : "radio" , attrs : { id : e . id , type : "radio" , name : "template-picker" } , domProps : { checked : e . checked } , on : { change : e . onCheck } } ) , e . _v ( " " ) , n ( "label" , { staticClass : "template-picker__label" , attrs : { for : e . id } } , [ n ( "div" , { staticClass : "template-picker__preview" , class : e . failedPreview ? "template-picker__preview--failed" : "" } , [ n ( "img" , { staticClass : "template-picker__image" , attrs : { src : e . realPreviewUrl , alt : "" , draggable : "false" } , on : { error : e . onFailure } } ) ] ) , e . _v ( " " ) , n ( "span" , { staticClass : "template-picker__title" } , [ e . _v ( "\n\t\t\t" + e . _s ( e . nameWithoutExt ) + "\n\t\t" ) ] ) ] ) ] ) } ) , [ ] , ! 1 , null , "5a6ba030" , null ) . exports ; function S ( e , t , n , r , o , s , a ) { try { var i = e [ s ] ( a ) , l = i . value } catch ( e ) { return void n ( e ) } i . done ? t ( l ) : Promise . resolve ( l ) . then ( r , o ) } function M ( e ) { return function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , o ) { var s = e . apply ( t , n ) ; function a ( e ) { S ( s , r , o , a , i , "next" , e ) } function i ( e ) { S ( s , r , o , a , i , "throw" , e ) } a ( void 0 ) } ) ) } } var P = { name : "TemplatePicker" , components : { EmptyContent : g . a , Modal : h . a , TemplatePreview : k } , props : { logger : { type : Object , required : ! 0 } } , data : function ( ) { return { checked : - 1 , loading : ! 1 , name : null , opened : ! 1 , provider : null } } , computed : { nameWithoutExt : function ( ) { return this . name . indexOf ( "." ) > - 1 ? this . name . split ( "." ) . slice ( 0 , - 1 ) . join ( "." ) : this . name } , emptyTemplate : function ( ) { var e , n ; return { basename : t ( "files" , "Blank" ) , fileid : - 1 , filename : this . t ( "files" , "Blank" ) , hasPreview : ! 1 , mime : ( null === ( e = this . provider ) || void 0 === e ? void 0 : e . mimetypes [ 0 ] ) || ( null === ( n = this . provider ) || void 0 === n ? void 0 : n . mimetypes ) } } , selectedTemplate : function ( ) { var e = this ; return this . provider . templates . find ( ( function ( t ) { return t . fileid === e . checked } ) ) } , style : function ( ) { return { "--margin" : "8px" , "--width" : "160px" , "--border" : "2px" , "--fullwidth" : "180px" , "--height" : this . provider . ratio ? Math . round ( 160 / this . provider . ratio ) + "px" : null } } } , methods : { open : function ( e , t ) { var n = this ; return M ( regeneratorRuntime . mark ( ( function r ( ) { var o , s ; return regeneratorRuntime . wrap ( (
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-17 11:45:22 +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
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
* /
var I = Object ( o . getLoggerBuilder ) ( ) . setApp ( "files" ) . detectUser ( ) . build ( ) ; p . default . mixin ( { methods : { t : a . translate , n : a . translatePlural } } ) ; var L = document . createElement ( "div" ) ; L . id = "template-picker" , document . body . appendChild ( L ) ; var F = Object ( s . loadState ) ( "files" , "templates" , [ ] ) , O = Object ( s . loadState ) ( "files" , "templates_path" , ! 1 ) ; I . debug ( "Templates providers" , F ) , I . debug ( "Templates folder" , { templatesPath : O } ) ; var D = new ( p . default . extend ( B ) ) ( { name : "TemplatePicker" , propsData : { logger : I } } ) ; D . $mount ( "#template-picker" ) , window . addEventListener ( "DOMContentLoaded" , ( function ( ) { if ( ! O ) { I . debug ( "Templates folder not initialized" ) ; var e = { attach : function ( e ) { e . addMenuEntry ( { id : "template-init" , displayName : Object ( a . translate ) ( "files" , "Set up templates folder" ) , templateName : Object ( a . translate ) ( "files" , "Templates" ) , iconClass : "icon-template-add" , fileType : "file" , actionHandler : function ( t ) { U ( t ) , e . removeMenuEntry ( "template-init" ) } } ) } } ; OC . Plugins . register ( "OCA.Files.NewFileMenu" , e ) } } ) ) , F . forEach ( ( function ( e , t ) { var n = { attach : function ( n ) { var r = n . fileList ; "files" !== r . id && "files.public" !== r . id || n . addMenuEntry ( { id : "template-new-" . concat ( e . app , "-" ) . concat ( t ) , displayName : e . label , templateName : e . label + e . extension , iconClass : e . iconClass || "icon-file" , fileType : "file" , actionHandler : function ( t ) { D . open ( t , e ) } } ) } } ; OC . Plugins . register ( "OCA.Files.NewFileMenu" , n ) } ) ) ; var U = function ( ) { var e , t = ( e = regeneratorRuntime . mark ( ( function e ( t ) { var n , r ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return n = ( c ( ) + "/" . concat ( t ) ) . replace ( "//" , "/" ) , e . prev = 1 , I . debug ( "Initializing the templates directory" , { templatePath : n } ) , e . next = 5 , m . a . post ( Object ( i . generateOcsUrl ) ( "apps/files/api/v1/templates" , 2 ) + "path" , { templatePath : n , copySystemTemplates : ! 0 } ) ; case 5 : r = e . sent , OCA . Files . App . currentFileList . changeDirectory ( n , ! 0 , ! 0 ) , F = r . data . ocs . data . templates , O = r . data . ocs . data . template _path , e . next = 15 ; break ; case 11 : e . prev = 11 , e . t0 = e . catch ( 1 ) , I . error ( "Unable to initialize the templates directory" ) , Object ( d . b ) ( Object ( a . translate ) ( "files" , "Unable to initialize the templates directory" ) ) ; case 15 : case "end" : return e . stop ( ) } } ) , e , null , [ [ 1 , 11 ] ] ) } ) ) , function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , o ) { var s = e . apply ( t , n ) ; function a ( e ) { N ( s , r , o , a , i , "next" , e ) } function i ( e ) { N ( s , r , o , a , i , "throw" , e ) } a ( void 0 ) } ) ) } ) ; return function ( e ) { return t . apply ( this , arguments ) } } ( ) } ] ) ;
2021-01-20 17:00:32 +03:00
//# sourceMappingURL=templates.js.map