2020-04-10 13:01:29 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var i = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var i in t ) n . d ( r , i , function ( e ) { return t [ e ] } . bind ( null , i ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 650 ) } ( [ function ( t , e , n ) { var r = n ( 2 ) , i = n ( 85 ) , o = n ( 4 ) , a = n ( 54 ) , s = n ( 86 ) , c = n ( 156 ) , l = i ( "wks" ) , u = r . Symbol , f = c ? u : u && u . withoutSetter || a ; t . exports = function ( t ) { return o ( l , t ) || ( s && o ( u , t ) ? l [ t ] = u [ t ] : l [ t ] = f ( "Symbol." + t ) ) , l [ t ] } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof e && e ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 10 ) ) } , function ( t , e , n ) { var r = n ( 2 ) , i = n ( 29 ) . f , o = n ( 12 ) , a = n ( 11 ) , s = n ( 63 ) , c = n ( 153 ) , l = n ( 52 ) ; t . exports = function ( t , e ) { var n , u , f , p , d , h = t . target , v = t . global , m = t . stat ; if ( n = v ? r : m ? r [ h ] || s ( h , { } ) : ( r [ h ] || { } ) . prototype ) for ( u in e ) { if ( p = e [ u ] , f = t . noTargetGet ? ( d = i ( n , u ) ) && d . value : n [ u ] , ! l ( v ? u : h + ( m ? "." : "#" ) + u , t . forced ) && void 0 !== f ) { if ( typeof p == typeof f ) continue ; c ( p , f ) } ( t . sham || f && f . sham ) && o ( p , "sham" , ! 0 ) , a ( n , u , p , t ) } } } , function ( t , e ) { var n = { } . hasOwnProperty ; t . exports = function ( t , e ) { return n . call ( t , e ) } } , function ( t , e , n ) { var r = n ( 1 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { var r = n ( 6 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e , n ) { "use strict" ; var r = n ( 122 ) , i = Object . prototype . toString ; function o ( t ) { return "[object Array]" === i . call ( t ) } function a ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === i . call ( t ) } function l ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , o ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var i in t ) Object . prototype . hasOwnProperty . call ( t , i ) && e . call ( null , t [ i ] , i , t ) } t . exports = { isArray : o , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === i . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! a ( t ) && null !== t . constructor && ! a ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isUndefined : a , isDate : function ( t ) { return "[object Date]" === i . call ( t ) } , isFile : function ( t ) { return "[object File]" === i . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === i . call ( t ) } , isFunction : c , isStream : function ( t ) { return s ( t ) && c ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : l , merge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = n } for ( var r = 0 , i = arguments . length ; r < i ; r ++ ) l ( arguments [ r ] , n ) ; return e } , deepMerge : function t ( ) { var e = { } ; fun
2018-12-21 10:37:57 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-06-04 14:50:12 +03:00
* ( c ) 2014 - 2019 Evan You
2018-12-21 10:37:57 +03:00
* Released under the MIT License .
* /
2020-04-10 13:01:29 +03:00
var r = Object . freeze ( { } ) ; function i ( t ) { return null == t } function o ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var l = Object . prototype . toString ; function u ( t ) { return "[object Object]" === l . call ( t ) } function f ( t ) { return "[object RegExp]" === l . call ( t ) } function p ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function d ( t ) { return o ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function h ( t ) { return null == t ? "" : Array . isArray ( t ) || u ( t ) && t . toString === l ? JSON . stringify ( t , null , 2 ) : String ( t ) } function v ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , i = 0 ; i < r . length ; i ++ ) n [ r [ i ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "key,ref,slot,slot-scope,is" ) ; function b ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var A = Object . prototype . hasOwnProperty ; function y ( t , e ) { return A . call ( t , e ) } function x ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var _ = /-(\w)/g , w = x ( ( function ( t ) { return t . replace ( _ , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , C = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , k = /\B([A-Z])/g , T = x ( ( function ( t ) { return t . replace ( k , "-$1" ) . toLowerCase ( ) } ) ) ; var E = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function S ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function M ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function O ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && M ( e , t [ n ] ) ; return e } function I ( t , e , n ) { } var N = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function D ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var i = Array . isArray ( t ) , o = Array . isArray ( e ) ; if ( i && o ) return t . length === e . length && t . every ( ( function ( t , n ) { return D ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( i || o ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return D ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function j ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( D ( t [ n ] , e ) ) return n ; return - 1 } function P ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var B = [ "component" , "directive" , "filter" ] , F = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , R = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : N , isReservedAttr : N , isUnknownElement : N , getTagNamespace : I , parsePlatformTagName : L , mustUseProp : N , async : ! 0 , _lifecycleHooks : F } , $ = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function U ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + $ . source + ".$_\\d]" ) ; var V , G = "__proto__" in { } , Y = "undefined" != typeof window , H = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = H && WXEnvironment . platform . toLowerCase ( ) , Q = Y && window . navigator . userAgent . toLowerCase ( ) , q = Q && /msie|trident/ . test ( Q ) , Z = Q && Q . indexOf ( "msie 9.0" ) > 0 , K = Q && Q . indexOf ( "edge/" ) > 0 , X = ( Q && Q . indexOf ( "android" ) , Q && /iphone|ipad|ipod|ios/ . test ( Q ) || "ios" === W ) , J = ( Q && /chrome\/\d+/ . test ( Q ) , Q && /phantomjs/ . test ( Q ) , Q && Q . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( Y ) try { var nt = { } ; Object . defineProperty ( nt , "passive" , { get : function ( ) { et = ! 0 } } ) , window . addEventListener ( "test-passive" , null , nt ) } catch ( t ) { } var rt = function ( ) { return void 0 === V && ( V = ! Y && ! H && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , V } , it = Y && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ot ( t ) { return "function" == t
2020-01-16 02:03:29 +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-04-10 13:01:29 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , i = 0 , o = 0 ; o < r . length ; o += 1 ) if ( n && navigator . userAgent . indexOf ( r [ o ] ) >= 0 ) { i = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , i ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function u ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , i = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + i + r ) ? t : u ( l ( t ) ) } var f = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function d ( t ) { return 11 === t ? f : 10 === t ? p : f || p } function h ( t ) { if ( ! t ) return document . documentElement ; for ( var e = d ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? h ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function v ( t ) { return null !== t . parentNode ? v ( t . parentNode ) : t } function m ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , i = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( i , 0 ) ; var a , s , c = o . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( i ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( c ) : c ; var l = v ( t ) ; return l . host ? m ( l . host , e ) : m ( t , v ( e ) . host ) } function g ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === e ? "scrollTop" : "scrollLeft" , r = t . nodeName ; if ( "BODY" === r || "HTML" === r ) { var i = t . ownerDocument . documentElement , o = t . ownerDocument . scrollingElement || i ; return o [ n ] } return t [ n ] } function b ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( e , "top" ) , i = g ( e , "left" ) , o = n ? - 1 : 1 ; return t . top += r * o , t . bottom += r * o , t . left += i * o , t . right += i * o , t } function A ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , d ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function x ( t ) { var e = t . body , n = t . documentElement , r = d ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var _ = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , w = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , C = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , k = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function T ( t ) { return k ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function E ( t ) { var e = { } ; try { if ( d ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = g ( t , "top" ) , r = g ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var i = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? x ( t . ownerDocument ) : { } , a = o . width || t . clientWidth || i . right - i . left , s = o . height || t . clientHeight || i . bottom - i . top , l = t . offsetWidth - a , u = t . offsetHeight - s ; if ( l || u ) { var f = c ( t ) ; l -= A ( f , "x" ) , u -= A ( f , "y" ) , i . width -= l , i . height -= u } return T ( i ) } function S ( t , e ) { var n = arguments . length > 2 && void 0 !== a
2019-10-13 19:26:09 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-13 19:26:09 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-16 02:03:29 +03:00
* /
2020-04-10 13:01:29 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e ) { t . exports = n ( 259 ) } , function ( t , e ) { t . exports = n ( 262 ) } , function ( t , e , n ) { "use strict" ; n ( 12 ) , n ( 28 ) ; var r = n ( 5 ) , i = n . n ( r ) ;
2018-10-11 13:20:18 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(i.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,e,n){"use strict";n(4),n(21),n(23),n(30),e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , t | | 5 ) } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 1 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 9 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 6 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , i = ( n ( 1 2 ) , f u n c t i o n ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . 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 ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { i f ( t h i s . $ e m i t ( " c l i c k " , t ) , t h i s . c l o s e A f t e r C l i c k ) { v a r e = i ( t h i s , " A c t i o n s " ) ; e & & e . c l o s e M e n u & & e . c l o s e M e n u ( ) } } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 1 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 4 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 6 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 4 0 a 2 1 2 a " , r , ! 0 , { } ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 6 5 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 1 5 ) , n ( 6 5 ) , n ( 1 2 ) ; v a r r = n ( 5 ) , i = n . n ( r ) ; e . a = f u n c t i o n ( t , e , n ) { i f ( v o i d 0 ! = = t ) f o r ( v a r r = t . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r o = t [ r ] , a = ! o . c o m p o n e n t O p t i o n s & & o . t a g & & - 1 = = = e . i n d e x O f ( o . t a g ) , s = ! ! o . 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 o . c o m p o n e n t O p t i o n s . t a g , c = s & & - 1 = = = e . i n d e x O f ( o . c o m p o n e n t O p t i o n s . t a g ) ; ( a | | ! s | | c ) & & ( ( a | | c ) & & i . a . u t i l . w a r n ( " " . c o n c a t ( a ? o . t a g : o . 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 ) , t . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 6 ) ; e . a = { m e t h o d s : { n : r . a , t : r . b } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 3 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 2 e c 4 9 f " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 c 5 6 1 1 1 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 3 0 9 3 1 4 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 3 ) ;
2019-06-04 14:50:12 +03:00
/ * *
2019-10-13 19:26:09 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2018-10-11 13:20:18 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2018-10-11 13:20:18 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = r . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 8 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e 9 b 7 7 0 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 4 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . 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 ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 0 0 ; r i g h t : a u t o ; l e f t : a u t o ; d i s p l a y : b l o c k ; m a r g i n : 0 ; m a r g i n - t o p : - 3 p x ; p a d d i n g : 1 0 p x 0 ; t e x t - a l i g n : l e f t ; t e x t - a l i g n : s t a r t ; w h i t e - s p a c e : n o r m a l ; t e x t - d e c o r a t i o n : n o n e ; l e t t e r - s p a c i n g : n o r m a l ; w o r d - s p a c i n g : n o r m a l ; t e x t - t r a n s f o r m : n o n e ; w o r d - w r a p : n o r m a l ; w o r d - b r e a k : n o r m a l ; o p a c i t y : 0 ; t e x t - s h a d o w : n o n e ; f o n t - f a m i l y : ' N u n i t o ' , ' O p e n S a n s ' , F r u t i g e r , C a l i b r i , ' M y r i a d P r o ' , M y r i a d , s a n s - s e r i f ; f o n t - s i z e : 1 2 p x ; f o n t - w e i g h t : n o r m a l ; f o n t - s t y l e : n o r m a l ; l i n e - h e i g h t : 1 . 6 ; l i n e - b r e a k : a u t o ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 1 0 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' t o p ' ] . t o o l t i p - a r r o w { b o t t o m : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 0 1 0 p x ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' b o t t o m ' ] . t o o l t i p - a r r o w { t o p : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 0 1 0 p x 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' r i g h t ' ] . t o o l t i p - a r r o w { r i g h t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 1 0 p x 0 ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' l e f t ' ] . t o o l t i p - a r r o w { l e f t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 0 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' t r u e ' ] { v i s i b i l i t y : h i d d e n ; t r a n s i t i o n : o p a c i t y . 1 5 s , v i s i b i l i t y . 1 5 s ; o p a c i t y : 0 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' f a l s e ' ] { v i s i b i l i t y : v i s i b l e ; t r a n s i t i o n : o p a c i t y . 1 5 s ; o p a c i t y : 1 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - i n n e r { m a x - w i d t h : 3 5 0 p x ; p a d d i n g : 5 p x 8 p x ; t e x t - a l i g n : c e n t e r ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 4 6 ) , n ( 1 5 ) ; v a r r = n ( 1 4 ) , i = n ( 1 3 ) , o = n ( 1 7 ) , a = ( n ( 6 4 ) , f u n c t i o n ( t ) { v a r e = t . g e t B o u n d i n g C l i e n t R e c t ( ) , n = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t , r = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , i = O b j e c t . a s s i g n ( { } ) ; r e t u r n i . t o p = e . t o p < 0 , i . l e f t = e . l e f t < 0 , i . b o t t o m = e . b o t t o m > n , i . r i g h t = e . r i g h t > r , i . a n y = i . t o p | | i . l e f t | | i . b o t t o m | | i . r i g h t , i . a l l = i . t o p & & i . l e f t & & i . b o t t o m & & i . r i g h t , i . o f f s e t Y = i . t o p ? e . t o p : i . b o t t o m ? e . b o t t o m - n : 0 , i . o f f s e t X = i . l e f t ? e . l e f t : i . r i g h t ? e . r i g h t - r : 0 , i } ) , s = n ( 3 1 ) , c = n ( 6 ) , l = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , u = { n a m e : " A c t i o n s " , d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e , t o o l t i p : i . d e f a u l t } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u A l i g n : { t y p e : S t r i n g , d e f a u l t : " c e n t e r " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " l e f t " , " c e n t e r " , " r i g h t " ] . i n d e x O f ( t ) > - 1 } } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( c . b ) ( " A c t i o n s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( o . a ) ( ) , o f f s e t X : 0 , o f f s e t Y : 0 , o f f s e t Y A r r o w : 0 , r o t a t e A r r o w : ! 1 , c h i l d r e n : t h i s . $ c h i l d r e n } } , c o m p u t e d : { h a s M u l t i p l e A c t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s . l e n g t h > 1 } , i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r t = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = t ) r e t u r n { i s : " a " , h r e f : t h i s . f i r s t A c t i o n . h r e f , t a r g e t
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . a = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " e 1 f 5 5 c e " ) , " " ) } ) ) } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 4 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 2 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 e e 2 a 8 2 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ;
2018-10-11 13:20:18 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2018-10-11 13:20:18 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function i ( t , e , n ) { var i = [ ] ; i . push ( e ) ; for ( var o = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + o [ 0 ] * a , 10 ) , c = parseInt ( e . g + o [ 1 ] * a , 10 ) , l = parseInt ( e . b + o [ 2 ] * a , 10 ) ; i . push ( new r ( s , c , l ) ) } return i } n ( 25 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , o = new r ( 0 , 130 , 201 ) , a = i ( t , e , n ) , s = i ( t , n , o ) , c = i ( t , o , e ) ; return a . concat ( s ) . concat ( c ) } } , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , i = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , o = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( i . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , i = ! ! r . checked ; if ( Array . isArray ( n ) ) { var o = t . _i ( n , null ) ; r . checked ? o < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : o > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , o ) . concat ( n . slice ( o + 1 ) ) ) } else t . $set ( t . item , "model" , i ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /e.default=l},function(t,e){t.exports=n(35)},function(t,e,n){"use strict";n.r(e),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),i=n(51),o=n(52),a=n.n(o),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),u=n(49);function f(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}var d={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:i.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , 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 t = { 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 e = function ( t ) { var e = t . toLowerCase ( ) ; return null === e . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( e = l ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( u . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , i = 0 ; i < t . length ; i ++ ) r . push ( parseInt ( t . charAt ( i ) , 16 ) % 16 ) ; for ( var o in r ) n += r [ o ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , 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 ( t ) { return { href : t . hyperlink , icon : t . icon , text : t . 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 t = this ; return p ( regeneratorRuntime . mark ( ( function e ( ) { return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : if ( t . hasMenu ) { e . next = 2 ; break } return e . abrupt ( "return" ) ; case 2 : if ( t . contactsMenuOpenState ) { e . next = 5 ; break } return e . next = 5 , t . fetchContactsMenu ( ) ; case 5 : t . contactsMenuOpenState = ! t . contactsMenuOpenState ; case 6 : case "end" : return e . stop ( ) } } ) , e ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var t = this ; return p ( regeneratorRuntime . mark ( ( function e ( ) { var n , r , i ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . prev = 0 , n = encodeURIComponent ( t . user ) , e . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = e . sent , i = r . data , t . contactsMenuActions = i . topAction ? [ i . topAction ] . concat ( i . actions ) : i . actions , e . next = 12 ; break ; case 9 : e . prev = 9 , e . t0 = e . catch ( 0 ) , t . contactsMenuOpenState = !
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = b } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 1 9 a e 6 0 e " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 1 5 a d e 5 4 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 8 1 f c 7 8 9 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 5 3 8 3 c f 7 b " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " P o p o v e r " , c o m p o n e n t s : { V P o p o v e r : n ( 3 ) . V P o p o v e r } } , i = ( n ( 1 2 8 ) , n ( 0 ) ) , o = n ( 5 5 ) , a = n . n ( o ) , s = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t , e = t h i s . _ s e l f . _ c | | t ; r e t u r n e ( " V P o p o v e r " , t h i s . _ g ( t h i s . _ b ( { s t a t i c C l a s s : " p o p o v e r " } , " V P o p o v e r " , t h i s . $ a t t r s , ! 1 ) , t h i s . $ l i s t e n e r s ) , [ t h i s . _ t ( " t r i g g e r " ) , t h i s . _ v ( " " ) , e ( " t e m p l a t e " , { s l o t : " p o p o v e r " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 7 1 f 0 1 3 a a " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 6 ) } , f u n c t i o n ( t , e , 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 ( t , e , n ) { v a r r = n ( 1 ) , i = n ( 7 ) , o = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r l = i ( o ) , u = i ( a ) , f = i ( s ) , p = i ( c ) ; e . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + f + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + p + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) ! i m p o r t a n t ; o p a c i t y : 1 } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : 1 ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; o p a c i t y : . 7 } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { c o n t e n t : \ ' \ ' } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { f o n t - s i z e : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 ; c o n t e n t : " " } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : . 7 } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { o p a c i t y : 1 } . a c t i o n - i t e m - - s i n g l e > [ h i d d e n ] [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : n o n e } . a c t i o n - i t e m - - m u l t i p l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : r e l a t i v e } . a c t i o n - i t e m _ _ m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 1 0 ; r i g h t : 5 0 % ; d i s p l a y : n o n e ; m a r g i n - b o t t o m : 1 0 p x ; m a r g i n - t o p : - 5 p x ; t r a n s f o r m : t r a n s l a t e X ( 5 0 % ) ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 3 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . a c t i o n - i t e m _ _ m e n u u l [ d a t a - v - 7 b 3 6 8 b 0 c ] > : n o t ( l i ) { d i s p l a y : n o n e } . a c t i o n - i t e m _ _ m e n u . o p e n [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : b l o c k } . a c t i o n - i t e m _ _ m e n u . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; r i g h t : 5 0 % ; b o t t o m : 1 0 0 % ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n - r i g h t : - 9 p x ; c o n t e n t : \ ' \ ' ; p o i n t e r - e v e n t s : n o n e ; b o r d e r : s o l i d t r a n s p a r e n t ; b o r d e r - w i d t h : 9 p x ; b o r d e r - b o t t o m - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 0 ; l e f t : a u t o ; t r a n s f o r m : n o n e } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 1 3 p x ; m a r g i n - r i g h t
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = r . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 9 3 6 7 d 9 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 4 2 c c 3 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 d f a f 5 b 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 8 c 7 f e f d 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 9 e 5 7 6 c 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 6 f 9 a 7 f d " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 a 8 9 e 6 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 7 3 2 c 1 4 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 5 8 5 7 6 b 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 3 4 a f 9 b 1 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 d 8 c 0 1 4 f " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 3 7 1 3 4 c 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 0 2 9 b d e 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 6 1 f d 1 0 7 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 7 4 9 4 b 7 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 e 3 e c e 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " d i r e c t i v e " , ( f u n c t i o n ( ) { r e t u r n r } ) ) ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Georg Ehrke
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Georg Ehrke < oc . list @ georgehrke . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
var r = { inserted : function ( t ) { t . focus ( ) } } ; e . default = r } , function ( t , e , n ) { var r = n ( 230 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "45aebdd4" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 232 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "4dd3631b" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 234 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "d7dc05bc" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 239 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "704815e4" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 241 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "68ca4235" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 243 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "6e72f645" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 246 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2c80b26e" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 248 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "fb56f796" , r , ! 0 , { } ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 44 ) , i = ( n ( 84 ) , n ( 122 ) , n ( 156 ) , n ( 18 ) , n ( 71 ) , n ( 22 ) , n ( 121 ) , n ( 33 ) , n ( 4 ) , n ( 19 ) , n ( 20 ) , n ( 21 ) , n ( 123 ) , n ( 45 ) ) , o = n . n ( i ) , a = n ( 53 ) , s = ( n ( 157 ) , n ( 23 ) , n ( 30 ) , { methods : { highlightText : function ( t , e ) { return e . length ? t . replace ( new RegExp ( e , "gi" ) , "<strong>" . concat ( e , "</strong>" ) ) : t } } } ) , c = { name : "AvatarSelectOption" , components : { Avatar : a . default } , mixins : [ s ] , props : { desc : { type : String , default : "" } , displayName : { type : String , required : ! 0 } , icon : { type : String , default : "" } , user : { type : String , default : "" } , isNoUser : { type : Boolean , default : ! 1 } , search : { type : String , default : "" } } , computed : { highlightedDisplayName : function ( ) { return this . highlightText ( o ( ) ( this . displayName ) , this . search ) } , highlightedDesc : function ( ) { return this . highlightText ( o ( ) ( this . desc ) , this . search ) } } } , l = ( n ( 158 ) , n ( 0 ) ) , u = n ( 81 ) , f = n . n ( u ) , p = Object ( l . a ) ( c , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "span" , { staticClass : "option" } , [ n ( "Avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : t . displayName , user : t . user , "is-no-user" : t . isNoUser , "disable-menu" : ! 0 , "disable-tooltip" : ! 0 } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" , domProps : { innerHTML : t . _s ( t . highlightedDisplayName ) } } ) , t . _v ( " " ) , "" !== t . desc ? n ( "span" , { staticClass : "option__desc--linetwo" , domProps : { innerHTML : t . _s ( t . highlightedDesc ) } } ) : t . _e ( ) ] ) , t . _v ( " " ) , "" !== t . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . icon } ) : t . _e ( ) ] , 1 ) } ) , [ ] , ! 1 , null , "808e3c40" , null ) ; "function" == typeof f . a && f ( ) ( p ) ; var d = p . exports , h = ( n ( 12 ) , { name : "EllipsisedOption" , mixins : [ s ] , props : { option : { type : [ String , Object ] , required : ! 0 , default : "" } , label : { type : String , default : "" } , search : { type : String , default : "" } } , computed : { name : function ( ) { return this . $parent . getOptionLabel ( this . option ) } , needsTruncate : function ( ) { return this . name && this . name . length >= 10 } , part1 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( 0 , this . name . length - t ) } return this . name } , part2 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( this . name . length - t ) } return "" } , highlightedPart1 : function ( ) { return this . highlightText ( o ( ) ( this . part1 ) , this . search ) } , highlightedPart2 : function ( ) { return this . highlightText ( o ( ) ( this . part2 ) , this . search ) } } } ) , v = ( n ( 160 ) , Object ( l . a ) ( h , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { staticClass : "name-parts" , attrs : { title : t . name } } , [ n ( "span" , { staticClass : "name-parts__first" , domProps : { innerHTML : t . _s ( t . highlightedPart1 ) } } ) , t . _v ( " " ) , t . part2 ? n ( "span" , { staticClass : "name-parts__last" , domProps : { innerHTML : t . _s ( t . highlightedPart2 ) } } ) : t . _e ( ) ] ) } ) , [ ] , ! 1 , null , "2d5d34b0" , null ) . exports ) , m = n ( 32 ) , g = n ( 13 ) , b = n ( 125 ) ; function A ( t ) { return ( A = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } var y = { name : "Multiselect" , componen
2019-06-04 14:50:12 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( C ) , e . default = C } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "Breadcrumb" , components : { Actions : n ( 38 ) . default } , props : { title : { type : String , required : ! 0 } , to : { type : String , default : void 0 } , href : { type : String , default : void 0 } , icon : { type : String , default : "" } , disableDrop : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } } , data : function ( ) { return { hovering : ! 1 } } , computed : { tag : function ( ) { return this . to ? "router-link" : "a" } } , methods : { onOpenChange : function ( t ) { this . $emit ( "update:open" , t ) } , dropped : function ( t ) { return ! this . disableDrop && ( this . $emit ( "dropped" , t , this . to || this . href ) , this . $parent . $emit ( "dropped" , t , this . to || this . href ) , this . hovering = ! 1 , ! 1 ) } , dragEnter : function ( t ) { this . disableDrop || ( this . hovering = ! 0 ) } , dragLeave : function ( t ) { this . disableDrop || t . target . contains ( t . relatedTarget ) || this . $refs . crumb . contains ( t . relatedTarget ) || ( this . hovering = ! 1 ) } } } , i = ( n ( 154 ) , n ( 0 ) ) , o = n ( 80 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { ref : "crumb" , staticClass : "crumb" , class : { "crumb--with-action" : t . $slots . default , "crumb--hovered" : t . hovering } , attrs : { draggable : "false" } , on : { dragstart : function ( t ) { t . preventDefault ( ) } , drop : function ( e ) { return e . preventDefault ( ) , t . dropped ( e ) } , dragover : function ( t ) { t . preventDefault ( ) } , dragenter : t . dragEnter , dragleave : t . dragLeave } } , [ t . title || t . icon ? n ( t . tag , { tag : "element" , attrs : { to : t . to , href : t . href } } , [ t . icon ? n ( "span" , { staticClass : "icon" , class : t . icon } ) : n ( "span" , [ t . _v ( t . _s ( t . title ) ) ] ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "Actions" , { ref : "actions" , attrs : { "force-menu" : t . forceMenu , open : t . open } , on : { "update:open" : t . onOpenChange } } , [ t . _t ( "default" ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , null , "7d9c1e9f" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 4 ) , i = ( n ( 3 3 ) , n ( 1 2 4 ) ) , o = { n a m e : " D a t e t i m e P i c k e r " , c o m p o n e n t s : { D a t e P i c k e r : n . n ( i ) . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { c l e a r a b l e : { t y p e : B o o l e a n , d e f a u l t : f u n c t i o n ( ) { r e t u r n ! 1 } } , m i n u t e S t e p : { t y p e : N u m b e r , d e f a u l t : f u n c t i o n ( ) { r e t u r n 1 0 } } , t y p e : { t y p e : S t r i n g , d e f a u l t : " d a t e " } , f o r m a t : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : f u n c t i o n ( ) { v a r t = { d a t e : " Y Y Y Y - M M - D D " , d a t e t i m e : " Y Y Y Y - M M - D D H : m m : s s " , y e a r : " Y Y Y Y " , m o n t h : " Y Y Y Y - M M " , t i m e : " H : m m : s s " , w e e k : " w " } ; r e t u r n t [ t h i s . t y p e ] | | t . d a t e } } , v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n n e w D a t e } } } , m e t h o d s : { h a n d l e S e l e c t Y e a r : f u n c t i o n ( t ) { v a r e = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( e ) t r y { v a r n = n e w D a t e ( n e w D a t e ( e ) . s e t F u l l Y e a r ( t ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , e , t ) } } , h a n d l e S e l e c t M o n t h : f u n c t i o n ( t ) { v a r e = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( e ) t r y { v a r n = n e w D a t e ( n e w D a t e ( e ) . s e t M o n t h ( t ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , e , t ) } } } } , a = n ( 0 ) , s = n ( 7 8 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t ; r e t u r n ( t . _ s e l f . _ c | | e ) ( " D a t e P i c k e r " , t . _ g ( t . _ b ( { r e f : " d a t e p i c k e r " , a t t r s : { c l e a r a b l e : t . c l e a r a b l e , " m i n u t e - s t e p " : t . m i n u t e S t e p , f o r m a t : t . f o r m a t , t y p e : t . t y p e , v a l u e : t . v a l u e , " a p p e n d - t o - b o d y " : ! 1 } , o n : { " s e l e c t - y e a r " : t . h a n d l e S e l e c t Y e a r , " s e l e c t - m o n t h " : t . h a n d l e S e l e c t M o n t h , " u p d a t e : v a l u e " : f u n c t i o n ( e ) { r e t u r n t . $ e m i t ( " u p d a t e : v a l u e " , t . v a l u e ) } } , s c o p e d S l o t s : t . _ u ( [ t . _ l ( t . $ s c o p e d S l o t s , ( f u n c t i o n ( e , n ) { r e t u r n { k e y : n , f n : f u n c t i o n ( e ) { r e t u r n [ t . _ t ( n , n u l l , n u l l , e ) ] } } } ) ) ] , n u l l , ! 0 ) } , " D a t e P i c k e r " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ; n ( 1 4 6 ) ,
2019-08-07 18:08:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( u ) , e . default = u } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 19 ) , n ( 120 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "ActionLink" , mixins : [ n ( 26 ) . a ] , props : { href : { type : String , default : "#" , required : ! 0 , validator : function ( t ) { try { return new URL ( t ) } catch ( e ) { return t . startsWith ( "#" ) || t . startsWith ( "/" ) } } } , download : { type : String , default : null } , target : { type : String , default : "_self" , validator : function ( t ) { return [ "_blank" , "_self" , "_parent" , "_top" ] . indexOf ( t ) > - 1 } } } } , i = ( n ( 148 ) , n ( 0 ) ) , o = n ( 79 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "a" , { staticClass : "action-link focusable" , attrs : { download : t . download , href : t . href , "aria-label" : t . ariaLabel , target : t . target , rel : "noreferrer noopener" } , on : { click : t . onClick } } , [ n ( "span" , { staticClass : "action-link__icon" , class : [ t . isIconUrl ? "action-link__icon--url" : t . icon ] , style : { backgroundImage : t . isIconUrl ? "url(" + t . icon + ")" : null } } ) , t . _v ( " " ) , t . title ? n ( "p" , [ n ( "strong" , { staticClass : "action-link__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-link__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , null , "2460fb77" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A c t i o n R o u t e r " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { t o : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : " " , r e q u i r e d : ! 0 } , e x a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , i = ( n ( 1 5 0 ) , n ( 0 ) ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , [ n ( " r o u t e r - l i n k " , { s t a t i c C l a s s : " a c t i o n - r o u t e r f o c u s a b l e " , a t t r s : { t o : t . t o , e x a c t : t . e x a c t , " a r i a - l a b e l " : t . a r i a L a b e l , r e l : " n o r e f e r r e r n o o p e n e r " } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - r o u t e r _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , t . t i t l e ? n ( " p " , [ n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , t . _ v ( " " ) , n ( " b r " ) , t . _ v ( " " ) , n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) ] ) : t . i s L o n g T e x t ? n ( " p " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) : n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 7 d e a 1 b 0 e " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 5 ) , i = n e w ( n . n ( r ) . a ) ( { d a t a : f u n c t i o n ( ) { r e t u r n { i s M o b i l e : ! 1 } } , w a t c h : { i s M o b i l e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c h a n g e d " , t ) } } , c r e a t e d : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) , t h i s . h a n d l e W i n d o w R e s i z e ( ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) } , m e t h o d s : { h a n d l e W i n d o w R e s i z e : f u n c t i o n ( ) { t h i s . i s M o b i l e = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h < 1 0 2 4 } } } ) ; e . d e f a u l t = { d a t a : f u n c t i o n ( ) { r e t u r n { i s M o b i l e : ! 1 } } , m o u n t e d : f u n c t i o n ( ) { i . $ o n ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) , t h i s . i s M o b i l e = i . i s M o b i l e } , b e f o r e D e s t r o y : f u n c t i o n ( ) { i . $ o f f ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) } , m e t h o d s : { o n I s M o b i l e C h a n g e d : f u n c t i o n ( t ) { t h i s . i s M o b i l e = t } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 6 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 8 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 5 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 4 7 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 3 3 b a 3 3 0 2 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 3 b a 3 3 0 2 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; p a d d i n g - r i g h t : 1 4 p x ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { o p a c i t y : 1 } . a c t i o n - b u t t o n > s p a n [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p } . a c t i o n - b u t t o n _ _ i c o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; o p a c i t y : 1 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } . a c t i o n - b u t t o n p [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 1 5 0 p x ; p a d d i n g : 7 p x 0 ; m a r g i n : a u t o ; c u r s o r : p o i n t e r ; t e x t - a l i g n : l e f t ; l i n e - h e i g h t : 1 . 6 e m } . a c t i o n - b u t t o n _ _ l o n g t e x t [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : p r e - w r a p } . a c t i o n - b u t t o n _ _ t i t l e [ d a t a - v - 3 3 b a 3 3 0 2 ] { f o n t - w e i g h t : b o l d } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 4 8 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . p o p o v e r [ d a t a - v - 7 1 f 0 1 3 a a ] { p a d d i n g : 0 p x ! i m p o r t a n t } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A p p N a v i g a t i o n S p a c e r " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; v a r r = ( n ( 1 5 2 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n T o g g l e " , m e t h o d s : { e m i t C l i c k : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l i c k " ) } } } , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t ; r e t u r n ( t . _ s e l f . _ c | | e ) ( " a " , { a t t r s : { i d : " a p p - n a v i g a t i o n - t o g g l e " , t a b i n d e x : " 0 " , h r e f : " # " } , o n : { c l i c k : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . e m i t C l i c k ( e ) } , k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " s p a c e " , 3 2 , e . k e y , [ " " , " S p a c e b a r " ] ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . e m i t C l i c k ( e ) ) } } } ) } ) , [ ] , ! 1 , n u l l , " 3 3 8 2 8 0 f 2 " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } ,
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /
e . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 14 ) , i = n ( 43 ) , o = n ( 70 ) , a = { name : "AppNavigationIconCollapsible" , props : { open : { type : Boolean , default : ! 0 } } , methods : { onClick : function ( t ) { this . $emit ( "click" , t ) } } } , s = ( n ( 218 ) , n ( 0 ) ) , c = Object ( s . a ) ( a , ( function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "button" , { staticClass : "icon-collapse" , class : { "icon-collapse--rotated" : this . open } , on : { click : this . onClick } } ) } ) , [ ] , ! 1 , null , "24528cd0" , null ) . exports , l = n ( 119 ) , u = { name : "AppNavigationItem" , components : { Actions : i . a , ActionButton : o . a , AppNavigationIconCollapsible : c } , directives : { ClickOutside : r . directive } , mixins : [ l . default ] , props : { title : { type : String , required : ! 0 } , icon : { type : String , default : "" } , loading : { type : Boolean , default : ! 1 } , to : { type : [ String , Object ] , default : "" } , exact : { type : Boolean , default : ! 1 } , allowCollapse : { type : Boolean , default : ! 1 } , editable : { type : Boolean , default : ! 1 } , editLabel : { type : String , default : "" } , editPlaceholder : { type : String , default : "" } , pinned : { type : Boolean , default : ! 1 } , undo : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } , menuOpen : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuIcon : { type : String , default : void 0 } } , data : function ( ) { return { newTitle : "" , opened : this . open , editing : ! 1 } } , computed : { collapsible : function ( ) { return this . allowCollapse && ! ! this . $slots . default } , isIconShown : function ( ) { return ! this . collapsible || this . collapsible && ! this . isMobile } , canHaveChildren : function ( ) { return "AppNavigationItem" !== this . $parent . $options . _componentTag } , hasChildren : function ( ) { return ! ! this . $slots . default } , hasUtils : function ( ) { return ! this . editing && ! ! ( this . $slots . actions || this . $slots . counter || this . editable || this . undo ) } , navElement : function ( ) { return this . to ? { is : "router-link" , tag : "li" , to : this . to , exact : this . exact } : { is : "li" } } , isActive : function ( ) { return this . to && this . $route === this . to } } , watch : { open : function ( t ) { this . opened = t } } , methods : { onMenuToggle : function ( t ) { this . $emit ( "update:menuOpen" , t ) } , toggleCollapse : function ( ) { this . opened = ! this . opened , this . $emit ( "update:open" , this . opened ) } , onClick : function ( t ) { this . $emit ( "click" , t ) } , handleEdit : function ( ) { var t = this ; this . newTitle = this . title , this . editing = ! 0 , this . onMenuToggle ( ! 1 ) , this . $nextTick ( ( function ( ) { t . $refs . inputTitle . focus ( ) } ) ) } , cancelEdit : function ( ) { this . editing = ! 1 } , handleRename : function ( ) { this . $emit ( "update:title" , this . newTitle ) , this . newTitle = "" , this . editing = ! 1 } , handleUndo : function ( ) { this . $emit ( "undo" ) } } } , f = ( n ( 220 ) , n ( 137 ) ) , p = n . n ( f ) , d = Object ( s . a ) ( u , ( function ( ) { var t , e = this , n = e . $createElement , r = e . _self . _c || n ; return r ( "nav-element" , e . _b ( { staticClass : "app-navigation-entry" , class : { "app-navigation-entry--no-icon" : ! e . isIconShown , "app-navigation-entry--opened" : e . opened , "app-navigation-entry--pinned" : e . pinned , "app-navigation-entry--editing" : e . editing , "app-navigation-entry--deleted" : e . undo , "app-navigation-entry--collapsible" : e . collapsible , active : e . isActive } , attrs : { title : e . title } } , "nav-element" , e . navElement , ! 1 ) , [ e . undo || e . editing ? e . _e ( ) : r ( "a" , { staticClass : "app-navigation-entry-link" , attrs : { href : "#" } , on : { click : e . onClick } } , [ r ( "div" , { staticClass : "app-navigation-entry-icon" , class : ( t = { "icon-loading-small" : e . loading } , t [ e . icon ] = e . icon && e . isIconShown , t ) } , [ e . loading ? e . _e ( ) : e . _t ( "icon" ) ] , 2 ) , e . _v ( " " ) , r ( "span" , { staticClass : "app-navigation-entry__title" } , [ e . _v ( e . _s ( e . title ) ) ] ) ] ) , e . _v ( " " ) , e . collapsible ? r ( "AppNavigationIconCollapsible" , { attrs : { open : e . opened } , on : { click : function ( t ) { return t . preventDefault ( ) , t . stopPropagation ( ) , e . toggleCollapse ( t ) } } } ) : e . _e ( ) , e . _v ( " " ) , e . undo ? r ( "div" , { staticClass : "app-navigation-entry__deleted" } , [ r ( "div" , { staticClass : "app-navigation-entry__deleted-description" } , [ e . _v ( "\n\t\t\t" + e . _s ( e . title ) + "\n\t\t" ) ] ) ] ) : e . _e ( ) , e . _v ( " " ) , e . hasUtils ? r ( "div" , { staticClass : "app-navigation-entry__utils" } , [ e . _t ( "counter" ) , e . _v ( " " ) , r ( "Actions" , { attrs : { "menu-align" : " righ
2019-05-17 10:49:47 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-06-04 14:50:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = h } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 4 ) , i = ( n ( 1 5 ) , n ( 3 3 ) , n ( 8 3 ) ) , o = n . n ( i ) , a = n ( 3 8 ) , s = n ( 8 8 ) , c = n ( 3 2 ) , l = n ( 6 ) , u = n ( 1 3 ) ;
2019-08-07 18:08:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / f u n c t i o n f ( t , e ) { v a r n , r , i , o = e ; t h i s . s t a r t = f u n c t i o n ( ) { i = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( t , o ) } , t h i s . p a u s e = f u n c t i o n ( ) { i = ! 1 , c l e a r T i m e o u t ( n ) , o - = 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 ( ) { i = ! 1 , c l e a r T i m e o u t ( n ) , o = 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 i & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , o } , 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 i } , 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 : s . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : u . d e f a u l t } , m i x i n s : [ c . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( t ) { 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 ( t ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d a r k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? O b j e c t ( l . b ) ( " P a u s e s l i d e s h o w " ) : O b j e c t ( l . b ) ( " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( t ) { t h i s . s l i d e s h o w T i m e o u t & & ( t ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , m o u n t e d : f u n c t i o n ( ) { v a r t = 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 o . 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 ( e ) { t . h a n d l e S w i p e ( e ) } ) ) , d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( t ) { t h i s . h a s P r e v i o u s & & ( t & & 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 " , t ) ) } , n e x t : f u n c t i o n ( t ) { t h i s . h a s N e x t & & ( t & & 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 " , t ) ) } , c l o s e : f u n c t i o n ( t ) { v a r e = 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 ( ) { e . $ e m i t ( " c l o s e " , t ) } ) , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( t ) { s w i t c h ( t . 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 ( t ) ; 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 ( t ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( t ) } } , h a n d l e S w i p e : f u n c t i o n ( t ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = t . t y p e ? t h i s . n e x t ( t ) : " s w i p e r i g h t " = = = t . t y p e & & t h i s . p r e v i o u s ( t ) ) } , 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 t = 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 ( ) { t . 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 t = 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 f ( ( f u n c t i o n ( ) { t . n e x t ( ) , t . 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 4 2 ) , n ( 0 ) ) , h = n ( 1 4 2 ) , v = n . n ( h ) , m = O b j e c t ( d . a ) ( p , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n 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 " : t . d a r k } , o n : { c l i c k : t . h a n d l e M o u s e M o v e , m o u s e m o v e : t . h a n d l e M o u s e M o v e , t o u c h m o v e : t . 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 : ! t . 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 : t . c l e a r V i e w } } , [ " " ! = = t . 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 " } , [ t . _ v ( " \ n \ t \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " i c o n s - m e n u " } , [ t . h a s N e x t & & t . e n a b l e S l i d e s h o w ? n ( " b u t t o n " , { d i r e c t i v e s : [ { n a m e : " t o o l t i p " , r a w N a m e : " v - t o o l t i p . a u t o " , v a l u e : t . p l a y P a u s e T i t l e , e x p r e s s i o n : " p l a y P a u s e T i t l e " , m o d i f i e r s : { a u t o : ! 0 } } ] , s t a t i c C l a s s : " p l a y - p a u s
2019-08-07 18:08:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / O b j e c t ( r . a ) ( g ) , e . d e f a u l t = g } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 4 6 ) , n ( 2 4 4 ) , n ( 2 2 ) , n ( 3 3 ) , n ( 4 ) , n ( 6 8 ) , n ( 6 9 ) ; v a r r = n ( 3 2 ) , i = n ( 1 1 4 ) , o = n ( 5 2 ) , a = n . n ( o ) , s = n ( 1 6 6 ) ; f u n c t i o n c ( t , e , n , r , i , o , a ) { t r y { v a r s = t [ o ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } s . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , i ) }
2020-01-16 02:03:29 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2020-01-16 02:03:29 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / v a r l = f u n c t i o n ( t ) { v a r e = f u n c t i o n t ( e ) { v a r n = { } ; i f ( 1 = = = e . n o d e T y p e ) { i f ( e . a t t r i b u t e s . l e n g t h > 0 ) { n [ " @ a t t r i b u t e s " ] = { } ; f o r ( v a r r = 0 ; r < e . a t t r i b u t e s . l e n g t h ; r + + ) { v a r i = e . a t t r i b u t e s . i t e m ( r ) ; n [ " @ a t t r i b u t e s " ] [ i . n o d e N a m e ] = i . n o d e V a l u e } } } e l s e 3 = = = e . n o d e T y p e & & ( n = e . n o d e V a l u e ) ; i f ( e . h a s C h i l d N o d e s ( ) ) f o r ( v a r o = 0 ; o < e . c h i l d N o d e s . l e n g t h ; o + + ) { v a r a = e . c h i l d N o d e s . i t e m ( o ) , s = a . n o d e N a m e ; i f ( v o i d 0 = = = n [ s ] ) n [ s ] = t ( a ) ; e l s e { i f ( v o i d 0 = = = n [ s ] . p u s h ) { v a r c = n [ s ] ; n [ s ] = [ ] , n [ s ] . p u s h ( c ) } n [ s ] . p u s h ( t ( a ) ) } } r e t u r n n } ( f u n c t i o n ( t ) { v a r e = n u l l ; t r y { e = ( n e w D O M P a r s e r ) . p a r s e F r o m S t r i n g ( t , " t e x t / x m l " ) } c a t c h ( t ) { c o n s o l e . e r r o r ( " F a i l e d t o p a r s e x m l d o c u m e n t " , t ) } r e t u r n e } ( t ) ) [ " d : m u l t i s t a t u s " ] [ " d : r e s p o n s e " ] , n = [ ] ; f o r ( v a r r i n e ) { v a r i = e [ r ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = i [ " d : s t a t u s " ] [ " # t e x t " ] & & n . p u s h ( { i d : p a r s e I n t ( i [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : i [ " d : p r o p " ] [ " o c : d i s p l a y - n a m e " ] [ " # t e x t " ] , c a n A s s i g n : " t r u e " = = = i [ " d : p r o p " ] [ " o c : c a n - a s s i g n " ] [ " # t e x t " ] , u s e r A s s i g n a b l e : " t r u e " = = = i [ " d : p r o p " ] [ " o c : u s e r - a s s i g n a b l e " ] [ " # t e x t " ] , u s e r V i s i b l e : " t r u e " = = = i [ " d : p r o p " ] [ " o c : u s e r - v i s i b l e " ] [ " # t e x t " ] } ) } r e t u r n n } , u = f u n c t i o n ( ) { v a r t , e = ( t = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r e ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : i f ( ! w i n d o w . N e x t c l o u d V u e D o c s ) { t . n e x t = 2 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " , P r o m i s e . r e s o l v e ( l ( w i n d o w . N e x t c l o u d V u e D o c s . t a g s ) ) ) ; c a s e 2 : r e t u r n t . n e x t = 4 , a ( ) ( { m e t h o d : " P R O P F I N D " , u r l : O b j e c t ( s . g e n e r a t e R e m o t e U r l ) ( " d a v " ) + " / s y s t e m t a g s / " , d a t a : ' < ? x m l v e r s i o n = " 1 . 0 " ? > \ n \ t \ t \ t \ t \ t < d : p r o p f i n d x m l n s : d = " D A V : " x m l n s : o c = " h t t p : / / o w n c l o u d . o r g / n s " > \ n \ t \ t \ t \ t \ t < d : p r o p > \ n \ t \ t \ t \ t \ t \ t < o c : i d / > \ n \ t \ t \ t \ t \ t \ t < o c : d i s p l a y - n a m e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - v i s i b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - a s s i g n a b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : c a n - a s s i g n / > \ n \ t \ t \ t \ t \ t < / d : p r o p > \ n \ t \ t \ t \ t \ t < / d : p r o p f i n d > ' } ) ; c a s e 4 : r e t u r n e = t . s e n t , t . a b r u p t ( " r e t u r n " , l ( e . d a t a ) ) ; c a s e 6 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t ) } ) ) , f u n c t i o n ( ) { v a r e = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , i ) { v a r o = t . a p p l y ( e , n ) ; f u n c t i o n a ( t ) { c ( o , r , i , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { c ( o , r , i , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } ) ; r e t u r n f u n c t i o n ( ) { r e t u r n e . a p p l y ( t h i s , a r g u m e n t s ) } } ( ) , f = n ( 6 ) ; f u n c t i o n p ( t , e , n , r , i , o , a ) { t r y { v a r s = t [ o ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } s . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , i ) } v a r d = { n a m e : " M u l t i s e l e c t T a g s " , c o m p o n e n t s : { M u l t i s e l e c t : i . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { l a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( f . b ) ( " S e l e c t a t a g " ) } , v a l u e : { t y p e : [ N u m b e r , A r r a y ] , r e q u i r e d : ! 0 } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a g s : [ ] } } , c o m p u t e d : { i n p u t V a l u e : f u n c t i o n ( ) { r e t u r n t h i s . g e t V a l u e O b j e c t ( ) } } , b e f o r e C r e a t e : f u n c t i o n ( ) { v a r t , e = t h i s ; r e t u r n ( t = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r n ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : r e t u r n t . p r e v = 0 , t . n e x t = 3 , u ( ) ; c a s e 3 : n = t . s e n t , e . t a g s = n , t . n e x t = 1 0 ; b r e a k ; c a s e 7 : t . p r e v = 7 , t . t 0 = t . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " L o a d i n g s y s t e m t a g s f a i l e d " , t . t 0 ) ; c a s e 1 0 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 0 , 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r e = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , i ) { v a r o = t . a p p l y ( e , n ) ; f u n c t i o n a ( t ) { p ( o , r , i , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { p ( o , r , i , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } ) ( ) } , m e t h o d s : { g e t V a l u e O b j e c t : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n 0 = = = t h i s . t a g s . l e n g t h ? [ ] : t h i s . m u l t i p l e ? t h i s . v a l u e . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n " " ! = = t } ) ) . m a p ( ( f u n c t i o n ( e ) { r e t u r n t . t a g s . f i n d ( ( f u n c t i o n ( t ) { r e t u r n t . i d = = = e } ) ) } ) ) : t h i s . t a g s . f i n d ( ( f u n c t i o n ( e ) { r e t u r n e . i d = = = t . v a l u e } ) ) } , u p d a t e : f u n c t i o n ( t ) { t h i s . m u l t i p l e ? t h i s . $ e m i t ( " i n p u t " , t . m a p ( ( f u n c t i o n ( t ) { r e t u r n t . i d } ) ) ) : n u l l = = = t ? t h i s . $ e m i t ( " i n p u t " , n u l l ) : t h i s . $ e m i t ( " i n p u t " , t . i d ) } , t a g L a b e l : f u n c t i o n ( t ) { v a r e = t . d i s p l a y N a m e , n = t . u s e r V i s i b l e , r = t . u s e r A s s i g n a b l e ; r e t u r n ! 1 = = = n ? O b j e c t ( f . b ) ( " { t a g } ( i n v i s i b l e ) " , { t a g : e } ) : ! 1 = = = r ? O b j e c t ( f . b ) ( " { t a g } ( r e s t r i c t e d ) " , { t a g : e } ) : e } } } , h = n ( 0 ) , v = n ( 1 4 3 ) , m = n . n ( v ) , g = O b j e c t ( h . a ) ( d , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " M u l t i s e l e c t " , { a t t r s : { v a l u e : t . i n p u t V a l u e , o p t i o n s : t . t a g s , " o p t i o n s - l i m i t " : 5 , p l a c e h o l d e r : t . l a b e l , " t r a c k - b y " : " i d " , " c u s t o m - l a b e l " : t . t a g L a b e l , m u l t i p l e : t . m u l t i p l e , " c l o s e - o n - s e l e c t " : t . m u l t i p l e , " t a g - w i d t h " : 6 0 , d i s a b l e d : t . d i s a b l e d } , o n : { i n p u t : t . u p d a t e } , s c o p e d S l o t s : t . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( e ) { r e t u r n [ t . _ v ( "
2019-10-13 19:26:09 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* / e . d e f a u l t = b } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { p r o p s : { b u t t o n I d : { t y p e : S t r i n g , r e q u i r e d : ! 1 , d e f a u l t : " " } , b u t t o n C l a s s : { t y p e : [ S t r i n g , A r r a y , O b j e c t ] , r e q u i r e d : ! 1 , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , r e q u i r e d : ! 1 , d e f a u l t : ! 1 } , t e x t : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = ( n ( 2 2 2 ) , n ( 0 ) ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - n e w " } , [ n ( " b u t t o n " , { c l a s s : t . b u t t o n C l a s s , a t t r s : { i d : t . b u t t o n I d , t y p e : " b u t t o n " , d i s a b l e d : t . d i s a b l e d } , o n : { c l i c k : f u n c t i o n ( e ) { r e t u r n t . $ e m i t ( " c l i c k " ) } } } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . t e x t ) + " \ n \ t " ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " e c e e 3 2 6 e " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 6 2 ) , i = n ( 5 3 ) , o = { n a m e : " U s e r B u b b l e " , c o m p o n e n t s : { P o p o v e r : r . d e f a u l t , A v a t a r : i . d e f a u l t } , p r o p s : { a v a t a r I m a g e : { t y p e : S t r i n g , d e f a u l t : " " } , u s e r : { t y p e : S t r i n g , d e f a u l t : " " } , d i s p l a y N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , u r l : { t y p e : S t r i n g , d e f a u l t : " " } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , p r i m a r y : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s U s e r A v a t a r : f u n c t i o n ( ) { r e t u r n ! t h i s . a v a t a r I m a g e } , i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . a v a t a r I m a g e ) , ! 0 } c a t c h ( t ) { r e t u r n ! 1 } } , c o m p o n e n t T y p e : f u n c t i o n ( ) { r e t u r n t h i s . u r l ? " d i v " : " a " } , l i n k O r N o t : f u n c t i o n ( ) { r e t u r n " " ! = = t h i s . u r l ? { i s : " a " , h r e f : t h i s . u r l } : { i s : " d i v " } } , p o p o v e r E m p t y : f u n c t i o n ( ) { r e t u r n v o i d 0 = = = t h i s . $ s l o t s . d e f a u l t } } , m e t h o d s : { o n O p e n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : o p e n " , t ) } } } , a = ( n ( 2 4 7 ) , n ( 0 ) ) , s = n ( 1 4 5 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " P o p o v e r " , { s t a t i c C l a s s : " u s e r - b u b b l e - p o p o v e r " , a t t r s : { t r i g g e r : " h o v e r f o c u s " , o p e n : t . o p e n , d i s a b l e d : t . p o p o v e r E m p t y } , o n : { " u p d a t e : o p e n " : t . o n O p e n C h a n g e } } , [ n ( " d i v " , t . _ b ( { s t a t i c C l a s s : " u s e r - b u b b l e " , c l a s s : t . p r i m a r y ? " u s e r - b u b b l e - p r i m a r y " : " " , a t t r s : { s l o t : " t r i g g e r " } , s l o t : " t r i g g e r " } , " d i v " , t . l i n k O r N o t , ! 1 ) , [ n ( " A v a t a r " , { s t a t i c C l a s s : " a v a t a r " , a t t r s : { u r l : ! t . i s U s e r A v a t a r & & t . i s I c o n U r l ? t . a v a t a r I m a g e : v o i d 0 , " i c o n - c l a s s " : t . i s U s e r A v a t a r | | t . i s I c o n U r l ? v o i d 0 : t . a v a t a r I m a g e , u s e r : t . i s U s e r A v a t a r ? t . u s e r : v o i d 0 , " d i s p l a y - n a m e " : t . i s U s e r A v a t a r ? t . d i s p l a y N a m e : v o i d 0 , s i z e : 1 6 , " d i s a b l e - t o o l t i p " : ! 0 , " d i s a b l e - m e n u " : ! 0 } } ) , t . _ v ( " " ) , n ( " h 6 " , { s t a t i c C l a s s : " u s e r " } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . d i s p l a y N a m e ? t . d i s p l a y N a m e : t . u s e r ) + " \ n \ t \ t " ) ] ) ] , 1 ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 9 b 4 0 e 9 5 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , i = n ( 1 7 ) , o = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { c h e c k I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ? t h i s . $ e m i t ( " c h e c k " ) : t h i s . $ e m i t ( " u n c h e c k " ) } } } , a = ( n ( 1 9 6 ) , n ( 0 ) ) , s = n ( 1 3 1 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - c h e c k b o x " } , [ n ( " i n p u t " , { r e f : " c h e c k b o x " , s t a t i c C l a s s : " c h e c k b o x a c t i o n - c h e c k b o x _ _ c h e c k b o x " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , t y p e : " c h e c k b o x " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . c h e c k I n p u t ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - c h e c k b o x _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 4 7 0 f 0 6 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { p r o p s : { a p p N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = n ( 0 ) , o = n ( 1 4 1 ) , a = n . n ( o ) , s = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { c l a s s : " a p p - " + t h i s . a p p N a m e , a t t r s : { i d : " c o n t e n t " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ *
* @ copyright 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2018 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) ; v a r r = { n a m e : " A p p S i d e b a r T a b " , p r o p s : { i d : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , o r d e r : { t y p e : N u m b e r , d e f a u l t : 0 } } , c o m p u t e d : { i s A c t i v e : f u n c t i o n ( ) { r e t u r n t h i s . $ p a r e n t . a c t i v e T a b = = = t h i s . i d } } } , i = ( n ( 2 3 3 ) , n ( 0 ) ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " s e c t i o n " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : t h i s . i s A c t i v e , e x p r e s s i o n : " i s A c t i v e " } ] , a t t r s : { i d : " t a b - " + t h i s . i d , " a r i a - h i d d e n " : ! t h i s . i s A c t i v e , " a r i a - l a b e l l e d b y " : t h i s . n a m e , t a b i n d e x : " 0 " , r o l e : " t a b p a n e l " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 c 2 d 9 4 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 4 6 ) , n ( 2 2 8 ) , n ( 1 5 ) , n ( 1 2 ) , n ( 2 8 ) ; v a r r = n ( 5 ) , i = n . n ( r ) , o = n ( 3 8 ) , a = n ( 1 0 5 ) , s = n ( 3 2 ) , c = f u n c t i o n ( t ) { r e t u r n t & & " s t r i n g " = = t y p e o f t & & " " ! = = t . t r i m ( ) & & - 1 = = = t . i n d e x O f ( " " ) } , l = { n a m e : " A p p S i d e b a r " , c o m p o n e n t s : { A c t i o n s : o . d e f a u l t } , d i r e c t i v e s : { f o c u s : a . d e f a u l t } , m i x i n s : [ s . a ] , p r o p s : { a c t i v e : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , t i t l e E d i t a b l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , t i t l e P l a c e h o l d e r : { t y p e : S t r i n g , d e f a u l t : " " } , s u b t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , b a c k g r o u n d : { t y p e : S t r i n g , d e f a u l t : " " } , s t a r r e d : { t y p e : B o o l e a n , d e f a u l t : n u l l } , s t a r L o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c o m p a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a b s : [ ] , a c t i v e T a b : " " , i s S t a r r e d : t h i s . s t a r r e d , c h i l d r e n : [ ] } } , c o m p u t e d : { c a n S t a r : f u n c t i o n ( ) { r e t u r n n u l l ! = = t h i s . i s S t a r r e d } , h a s F i g u r e : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . h e a d e r | | t h i s . b a c k g r o u n d } , h a s M u l t i p l e T a b s : f u n c t i o n ( ) { r e t u r n t h i s . t a b s . l e n g t h > 1 } , h a s F i g u r e C l i c k L i s t e n e r : f u n c t i o n ( ) { r e t u r n t h i s . $ l i s t e n e r s [ " f i g u r e - c l i c k " ] } , c u r r e n t T a b I n d e x : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( e ) { r e t u r n e . i d = = = t . a c t i v e T a b } ) ) } } , w a t c h : { a c t i v e : f u n c t i o n ( t ) { t ! = = t h i s . a c t i v e T a b & & t h i s . u p d a t e A c t i v e ( ) } , s t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = t h i s . s t a r r e d } , c h i l d r e n : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) , t h i s . c h i l d r e n = t h i s . $ c h i l d r e n } , m e t h o d s : { c l o s e S i d e b a r : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l o s e " , t ) } , o n F i g u r e C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " f i g u r e - c l i c k " , t ) } , s e t A c t i v e : f u n c t i o n ( t ) { v a r e = t . t a r g e t . c l o s e s t ( " a " ) . d a t a s e t . i d ; t h i s . a c t i v e T a b = e , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , e ) } , f o c u s P r e v i o u s T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x > 0 & & ( t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x - 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s N e x t T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x < t h i s . t a b s . l e n g t h - 1 & & ( t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x + 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s F i r s t T a b : f u n c t i o n ( ) { t h i s . a c t i v e T a b = t h i s . t a b s [ 0 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s L a s t T a b : f u n c t i o n ( ) { t h i s . a c t i v e T a b = t h i s . t a b s [ t h i s . t a b s . l e n g t h - 1 ] . i d , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s A c t i v e T a b : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , f o c u s A c t i v e T a b C o n t e n t : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # t a b - " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , u p d a t e A c t i v e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . a c t i v e T a b = t h i s . a c t i v e & & - 1 ! = = t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( e ) { r e t u r n e . i d = = = t . a c t i v e } ) ) ? t h i s . a c t i v e : t h i s . t a b s . l e n g t h > 0 ? t h i s . t a b s [ 0 ] . i d : " " } , t o g g l e S t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = ! t h i s . i s S t a r r e d , t h i s . $ e m i t ( " u p d a t e : s t a r r e d " , t h i s . i s S t a r r e d ) } , u p d a t e T a b s : f u n c t i o n ( ) { v a r t = t h i s . $ c h i l d r e n . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n t . n a m e & & " s t r i n g " = = t y p e o f t . n a m e & & c ( t . i d ) & & c ( t . i c o n ) } ) ) ; 0 ! = = t . l e n g t h & & t . l e n g t h ! = = t h i s . $ c h i l d r e n . l e n g t h & & i . a . u t i l . w a r n ( " M i x i n g t a b s a n d n o n - t a b - c o n t e n t i s n o t p o s s i b l e . " ) , t h i s . t a b s = t . s o r t ( ( f u n c t i o n ( t , e ) { v a r n = t . o r d e r | | 0 , r = e . o r d e r | | 0 ; r e t u r n n = = = r ? O C . U t i l . n a t u r a l S o r t C o m p a r e ( t . n a m e , e . n a m e ) : n - r } ) ) , t h i s . t a b s . l e n g t h > 0 & & t h i s . u p d a t e A c t i v e ( ) } , o n T i t l e I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t - t i t l e " , t ) , t h i s . $ e m i t ( " u p d a t e : t i t l e " , t . t a r g e t . v a l u e ) } , o n S u b m i t T i t l e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " s u b m i t - t i t l e " , t ) } , o n D i s m i s s E d i t i n g : f u n c t i o n ( ) { t h i s . $ e m i t ( " d i s m i s s - e d i t i n g " ) } } } , u = ( n ( 2 2 9 ) , n ( 2 3 1 ) , n ( 0 ) ) , f = n ( 1 3 8 ) , p = n . n ( f ) , d = O b j e c t ( u . a ) ( l , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - r i g h t " } } , [ n ( " a s i d e " , { a t t r s : { i d : " a p p - s i d
2020-03-10 21:46:25 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-05-17 10:49:47 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = h } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 2 6 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n S p a c e r " } , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - s p a c e r " } ) } ) , [ ] , ! 1 , n u l l , " 4 2 1 9 5 c c 8 " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 1 4 ) , i = n ( 6 ) , o = { d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e } , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 1 , d e f a u l t : O b j e c t ( i . b ) ( " S e t t i n g s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n : ! 1 } } , m e t h o d s : { t o g g l e M e n u : f u n c t i o n ( ) { t h i s . o p e n = ! t h i s . o p e n } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o p e n = ! 1 } } } , a = ( n ( 2 2 4 ) , n ( 0 ) ) , s = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " c l i c k - o u t s i d e " , r a w N a m e : " v - c l i c k - o u t s i d e " , v a l u e : t . c l o s e M e n u , e x p r e s s i o n : " c l o s e M e n u " } ] , c l a s s : { o p e n : t . o p e n } , a t t r s : { i d : " a p p - s e t t i n g s " } } , [ n ( " d i v " , { a t t r s : { i d : " a p p - s e t t i n g s - h e a d e r " } } , [ n ( " b u t t o n " , { s t a t i c C l a s s : " s e t t i n g s - b u t t o n " , o n : { c l i c k : t . t o g g l e M e n u } } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t " ) ] ) ] ) , t . _ v ( " " ) , n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - u p " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : t . o p e n , e x p r e s s i o n : " o p e n " } ] , a t t r s : { i d : " a p p - s e t t i n g s - c o n t e n t " } } , [ t . _ t ( " d e f a u l t " ) ] , 2 ) ] ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 0 a f 1 7 7 d 6 " , n u l l ) . e x p o r t s ; e . d e f a u l t = s } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 5 ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 8 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , i = n ( 1 7 ) , o = { n a m e : " A c t i o n I n p u t " , c o m p o n e n t s : { D a t e t i m e P i c k e r : n ( 1 1 6 ) . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , t y p e : { t y p e : S t r i n g , d e f a u l t : " t e x t " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " d a t e " , " d a t e t i m e - l o c a l " , " m o n t h " , " n u m b e r " , " p a s s w o r d " , " s e a r c h " , " t e l " , " t e x t " , " t i m e " , " u r l " , " w e e k " ] . i n d e x O f ( t ) > - 1 } } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } , i s D a t e P i c k e r T y p e : f u n c t i o n ( ) { s w i t c h ( t h i s . t y p e ) { c a s e " d a t e " : c a s e " m o n t h " : c a s e " t i m e " : r e t u r n t h i s . t y p e ; c a s e " d a t e t i m e - l o c a l " : r e t u r n " d a t e t i m e " } r e t u r n ! 1 } , i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n L e a v e : f u n c t i o n ( ) { t h i s . $ r e f s . d a t e t i m e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r . c l o s e P o p u p ( ) } , o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t ? t . t a r g e t . v a l u e : t ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c h a n g e " , t ) } } } , a = ( n ( 1 9 8 ) , n ( 0 ) ) , s = n ( 1 3 2 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t " , c l a s s : { " a c t i o n - i n p u t - - p i c k e r " : t . i s D a t e P i c k e r T y p e , " a c t i o n - i n p u t - p i c k e r - - d i s a b l e d " : t . d i s a b l e d } , o n : { m o u s e l e a v e : t . o n L e a v e } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - i n p u t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ t . i s D a t e P i c k e r T y p e ? n ( " D a t e t i m e P i c k e r " , t . _ b ( { r e f : " d a t e t i m e p i c k e r " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ p i c k e r " , a t t r s : { v a l u e : t . v a l u e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d , t y p e : t . i s D a t e P i c k e r T y p e , " i n p u t - c l a s s " : [ " m x - i n p u t " , { f o c u s a b l e : t . i s F o c u s a b l e } ] } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " D a t e t i m e P i c k e r " , t . $ a t t r s , ! 1 ) ) : [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , n ( " i n p u t " , t . _ b ( { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i n p u t " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { t y p e : t . t y p e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " i n p u t " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ l a b e l " , a t t r s : { f o r : t . i d } } ) ] ] , 2 ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 2 9 d e d 9 9 8 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 8 4 ) , n ( 1 2 2 ) ; v a r r = { n a m e : " S e t t i n g s S e c t i o n " , c o m p o n e n t s : { } , m i x i n s : [ n ( 3 2 ) . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , d e s c r i p t i o n : { t y p e : S t r i n g , d e f a u l t : " " } , d o c U r l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { h a s D e s c r i p t i o n : f u n c t i o n ( ) { r e t u r n t h i s . d e s c r i p t i o n . l e n g t h > 0 } , h a s D o c U r l : f u n c t i o n ( ) { r e t u r n t h i s . d o c U r l . l e n g t h > 0 } } } , i = ( n ( 2 4 5 ) , n ( 0 ) ) , o = n ( 1 4 4 ) , a = n . n ( o ) , s = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n " } , [ n ( " h 2 " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t " ) , t . h a s D o c U r l ? n ( " a " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ i n f o " , a t t r s : { h r e f : t . d o c U r l , r o l e : " " , t i t l e : t . t ( " E x t e r n a l d o c u m e n t a t i o n f o r { t i t l e } " , { t i t l e : t . t i t l e } ) } } ) : t . _ e ( ) ] ) , t . _ v ( " " ) , t . h a s D e s c r i p t i o n ? n ( " p " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ d e s c " } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . d e s c r i p t i o n ) + " \ n \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 4 1 7 5 9 d c b " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ * *
* @ copyright Copyright ( c ) 2019 Greta Doci < gretadoci @ gmail . com >
*
* @ author Greta Doci < gretadoci @ gmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 2 2 ) , n ( 4 ) , n ( 2 3 ) ; v a r r = n ( 1 6 5 ) , i = n ( 4 9 ) , o = n ( 3 2 ) , a = n ( 6 2 ) , s = { n a m e : " C o l o r P i c k e r " , c o m p o n e n t s : { C h r o m e : r . C h r o m e , P o p o v e r : a . d e f a u l t } , m i x i n s : [ o . a ] , p r o p s : { v a l u e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } , d a t a : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n { c u r r e n t C o l o r : t h i s . v a l u e , a d v a n c e d : ! 1 , p a l e t t e : O b j e c t ( i . a ) ( 4 ) . m a p ( ( f u n c t i o n ( e ) { r e t u r n " # " + t . r g b T o H e x ( e . r ) + t . r g b T o H e x ( e . g ) + t . r g b T o H e x ( e . b ) } ) ) , o p e n : ! 0 } } , w a t c h : { v a l u e : f u n c t i o n ( t ) { t h i s . c u r r e n t C o l o r = t } } , m e t h o d s : { h a n d l e C o n f i r m : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " s u b m i t " , t h i s . c u r r e n t C o l o r ) , t h i s . a d v a n c e d = ! 1 } , h a n d l e B a c k : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 1 } , h a n d l e M o r e S e t t i n g s : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 0 } , p i c k C o l o r : f u n c t i o n ( t ) { " s t r i n g " ! = t y p e o f t & & ( t = t h i s . c u r r e n t C o l o r . h e x ) , t h i s . c u r r e n t C o l o r = t , t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t ) , t h i s . $ e m i t ( " i n p u t " , t ) } , r g b T o H e x : f u n c t i o n ( t ) { v a r e = t . t o S t r i n g ( 1 6 ) ; r e t u r n 1 = = = e . l e n g t h ? " 0 " + e : e } } } , c = ( n ( 2 4 0 ) , n ( 0 ) ) , l = n ( 1 4 0 ) , u = n . n ( l ) , f = O b j e c t ( c . a ) ( s , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " P o p o v e r " , t . _ g ( t . _ b ( { s c o p e d S l o t s : t . _ u ( [ { k e y : " t r i g g e r " , f n : f u n c t i o n ( ) { r e t u r n [ t . _ t ( " d e f a u l t " ) ] } , p r o x y : ! 0 } ] , n u l l , ! 0 ) } , " P o p o v e r " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) , [ t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r " } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e " , m o d e : " o u t - i n " } } , [ t . a d v a n c e d ? t . _ e ( ) : n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e " } , t . _ l ( t . p a l e t t e , ( f u n c t i o n ( e , r ) { r e t u r n n ( " b u t t o n " , { k e y : r , s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e " , c l a s s : { " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e - - a c t i v e " : e = = = t . c u r r e n t C o l o r } , s t y l e : { " b a c k g r o u n d - c o l o r " : e } , o n : { c l i c k : f u n c t i o n ( n ) { r e t u r n t . p i c k C o l o r ( e ) } } } ) } ) ) , 0 ) , t . _ v ( " " ) , t . a d v a n c e d ? n ( " C h r o m e " , { s t a t i c C l a s s : " c o l o r - p i c k e r - a d v a n c e d " , a t t r s : { " d i s a b l e - a l p h a " : ! 0 , " d i s a b l e - f i e l d s " : ! 0 } , o n : { i n p u t : t . p i c k C o l o r } , m o d e l : { v a l u e : t . c u r r e n t C o l o r , c a l l b a c k : f u n c t i o n ( e ) { t . c u r r e n t C o l o r = e } , e x p r e s s i o n : " c u r r e n t C o l o r " } } ) : t . _ e ( ) ] , 1 ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n " } , [ t . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n b a c k " , o n : { c l i c k : t . h a n d l e B a c k } } ) : t . _ e ( ) , t . _ v ( " " ) , t . a d v a n c e d ? t . _ e ( ) : n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n m o r e - s e t t i n g s " , o n : { c l i c k : t . h a n d l e M o r e S e t t i n g s } } ) , t . _ v ( " " ) , t . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n c o n f i r m " , o n : { c l i c k : t . h a n d l e C o n f i r m } } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t ( " C h o o s e " ) ) + " \ n \ t \ t \ t " ) ] ) : t . _ e ( ) ] ) ] , 1 ) ] ) } ) , [ ] , ! 1 , n u l l , " 6 8 a a 5 3 2 4 " , n u l l ) ; " f u n c t i o n " = = t y p e o f u . a & & u ( ) ( f ) ; v a r p = f . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /e.default=p},function(t,e,n){"use strict";n.r(e),n(120);var r={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(t){return/ ^ # ? ( [ 0 - 9 A - F ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } } , computed : { formattedColor : function ( ) { return this . color . startsWith ( "#" ) ? this . color : "#" + this . color } } , methods : { onClick : function ( t ) { this . $emit ( "click" , t ) } } } , i = ( n ( 216 ) , n ( 0 ) ) , o = n ( 136 ) , a = n . n ( o ) , s = Object ( i . a ) ( r , ( function ( ) { var t = this . $createElement , e = this . _self . _c || t ; return e ( "div" , { staticClass : "app-navigation-entry__icon-bullet" , on : { click : this . onClick } } , [ e ( "div" , { style : { backgroundColor : this . formattedColor } } ) ] ) } ) , [ ] , ! 1 , null , "6d4e6158" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A p p N a v i g a t i o n C o u n t e r " , p r o p s : { h i g h l i g h t e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , i = ( n ( 2 1 4 ) , n ( 0 ) ) , o = n ( 1 3 5 ) , a = n . n ( o ) , s = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r " , c l a s s : { " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r - - h i g h l i g h t e d " : t h i s . h i g h l i g h t e d } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 3 f 6 3 0 3 5 " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A p p N a v i g a t i o n C a p t i o n " , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = ( n ( 2 1 2 ) , n ( 0 ) ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - c a p t i o n " } , [ t h i s . _ v ( " \ n \ t " + t h i s . _ s ( t h i s . t i t l e ) + " \ n " ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 6 a d d 6 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 1 0 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n " } , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " v u e " , a t t r s : { i d : " a p p - n a v i g a t i o n " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 5 8 3 4 9 d 0 " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A p p C o n t e n t L i s t " , p r o p s : { s e l e c t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s h o w D e t a i l s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , i = n ( 0 ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " a p p - c o n t e n t - l i s t " , c l a s s : { s e l e c t i o n : t h i s . s e l e c t i o n , s h o w d e t a i l s : t h i s . s h o w D e t a i l s } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 0 ) , i = O b j e c t ( r . a ) ( { n a m e : " A p p C o n t e n t D e t a i l s " } , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " a p p - c o n t e n t - d e t a i l s " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 8 3 ) , i = n . n ( r ) , o = { n a m e : " A p p C o n t e n t " , c o m p o n e n t s : { A p p N a v i g a t i o n T o g g l e : n ( 1 3 0 ) . d e f a u l t } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n e d : ! 1 } } , m o u n t e d : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . m c = n e w i . a ( t h i s . $ e l , { c s s P r o p s : { u s e r S e l e c t : " t e x t " } } ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( e ) { t . h a n d l e S w i p e ( e ) } ) ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m e t h o d s : { t o g g l e N a v i g a t i o n : f u n c t i o n ( t ) { t h i s . o p e n e d = t | | ! t h i s . o p e n e d , t h i s . o p e n e d ? d o c u m e n t . b o d y . c l a s s L i s t . a d d ( " n a v - o p e n " ) : d o c u m e n t . b o d y . c l a s s L i s t . r e m o v e ( " n a v - o p e n " ) } , h a n d l e S w i p e : f u n c t i o n ( t ) { v a r e = t . s r c E v e n t . p a g e X - t . d e l t a X , n = M a t h . a b s ( t . d e l t a X ) > 7 0 ; n & & e < 4 0 ? t h i s . t o g g l e N a v i g a t i o n ( ! 0 ) : t h i s . o p e n e d & & n & & e < 3 4 0 & & t h i s . t o g g l e N a v i g a t i o n ( ! 1 ) } } } , a = ( n ( 2 0 8 ) , n ( 0 ) ) , s = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t , e = t h i s . _ s e l f . _ c | | t ; r e t u r n e ( " m a i n " , { s t a t i c C l a s s : " n o - s n a p p e r " , s t y l e : t h i s . o p e n e d ? " t r a n s f o r m : t r a n s l a t e X ( 3 0 0 p x ) " : " " , a t t r s : { i d : " a p p - c o n t e n t " } } , [ e ( " A p p N a v i g a t i o n T o g g l e " , { a t t r s : { " a r i a - e x p a n d e d " : t h i s . o p e n e d , " a r i a - c o n t r o l s " : " a p p - n a v i g a t i o n " } , o n : { c l i c k : t h i s . t o g g l e N a v i g a t i o n } } ) , t h i s . _ v ( " " ) , t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 5 2 1 0 b 8 b 7 " , n u l l ) . e x p o r t s ; e . d e f a u l t = s } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 2 8 ) ; v a r r = n ( 2 6 ) , i = n ( 1 7 ) , o = { n a m e : " A c t i o n T e x t E d i t a b l e " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t . v a l u e ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } } } , a = ( n ( 2 0 6 ) , n ( 0 ) ) , s = n ( 1 3 4 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e " } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t - e d i t a b l e _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , t . t i t l e ? n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , n ( " t e x t a r e a " , t . _ b ( { c l a s s : [ " a c t i o n - t e x t - e d i t a b l e _ _ t e x t a r e a " , { f o c u s a b l e : t . i s F o c u s a b l e } ] , a t t r s : { d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t } } , " t e x t a r e a " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , i = ( n ( 2 0 4 ) , n ( 0 ) ) , o = O b j e c t ( i . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t " } , [ " " ! = = t . i c o n ? n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) : t . _ e ( ) , t . _ v ( " " ) , t . t i t l e ? n ( " p " , [ n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , t . _ v ( " " ) , n ( " b r " ) , t . _ v ( " " ) , n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) ] ) : t . i s L o n g T e x t ? n ( " p " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) : n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 7 e c b 1 5 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 0 2 ) , n ( 0 ) ) , i = O b j e c t ( r . a ) ( { n a m e : " A c t i o n S e p a r a t o r " } , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " l i " , { s t a t i c C l a s s : " a c t i o n - s e p a r a t o r a c t i o n - - d i s a b l e d " } ) } ) , [ ] , ! 1 , n u l l , " 0 b 3 8 8 6 1 b " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , i = n ( 1 7 ) , o = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { t o g g l e I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . r a d i o . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , a = ( n ( 2 0 0 ) , n ( 0 ) ) , s = n ( 1 3 3 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r a d i o " } , [ n ( " i n p u t " , { r e f : " r a d i o " , s t a t i c C l a s s : " r a d i o a c t i o n - r a d i o _ _ r a d i o " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , n a m e : t . n a m e , t y p e : " r a d i o " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . t o g g l e I n p u t ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - r a d i o _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 e 7 b 4 0 4 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 6 7 ) , n ( 2 3 5 ) , n ( 2 2 ) , n ( 2 3 6 ) , n ( 1 2 1 ) , n ( 2 3 7 ) , n ( 1 6 8 ) ; v a r r = n ( 5 ) , i = n . n ( r ) , o = n ( 1 6 4 ) , a = n . n ( o ) , s = n ( 3 8 ) , c = n ( 1 1 8 ) , l = n ( 1 1 7 ) , u = n ( 3 1 ) , f = n ( 1 1 5 ) , p = { n a m e : " B r e a d c r u m b s " , c o m p o n e n t s : { A c t i o n s : s . d e f a u l t , A c t i o n R o u t e r : c . d e f a u l t , A c t i o n L i n k : l . d e f a u l t , B r e a d c r u m b : f . d e f a u l t } , p r o p s : { r o o t I c o n : { t y p e : S t r i n g , d e f a u l t : " i c o n - h o m e " } } , d a t a : f u n c t i o n ( ) { r e t u r n { h i d d e n C r u m b s : [ ] , h i d d e n I n d i c e s : [ ] } } , b e f o r e M o u n t : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , c r e a t e d : f u n c t i o n ( ) { v a r t = t h i s ; w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , a ( ) ( ( f u n c t i o n ( ) { t . h a n d l e W i n d o w R e s i z e ( ) } ) , 1 0 0 ) ) } , m o u n t e d : f u n c t i o n ( ) { t h i s . h a n d l e W i n d o w R e s i z e ( ) } , u p d a t e d : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t . h a n d l e W i n d o w R e s i z e ( ) } ) ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) } , m e t h o d s : { c l o s e A c t i o n s : f u n c t i o n ( t ) { t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ e l . c o n t a i n s ( t . r e l a t e d T a r g e t ) | | ( t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 1 ) } , h a n d l e W i n d o w R e s i z e : f u n c t i o n ( ) { v a r t = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( t h i s . $ r e f s . c o n t a i n e r ) { v a r e = t . l e n g t h , n = [ ] , r = t h i s . $ r e f s . c o n t a i n e r . o f f s e t W i d t h , i = t h i s . g e t T o t a l W i d t h ( t ) - r ; i + = i > 0 ? 5 1 : 0 ; f o r ( v a r o = 0 , a = M a t h . f l o o r ( e / 2 ) ; i > 0 & & o < e - 2 ; ) { v a r s = a + ( o % 2 ? o + 1 : o ) / 2 * M a t h . p o w ( - 1 , o + e % 2 ) ; i - = t h i s . g e t W i d t h ( t [ s ] . e l m ) , n . p u s h ( s ) , o + + } t h i s . a r r a y s E q u a l ( t h i s . h i d d e n I n d i c e s , n . s o r t ( ( f u n c t i o n ( t , e ) { r e t u r n t - e } ) ) ) | | ( t h i s . h i d d e n C r u m b s = n . m a p ( ( f u n c t i o n ( e ) { r e t u r n t [ e ] } ) ) , t h i s . h i d d e n I n d i c e s = n ) } } , a r r a y s E q u a l : f u n c t i o n ( t , e ) { i f ( t . l e n g t h ! = = e . l e n g t h ) r e t u r n ! 1 ; i f ( t = = = e ) r e t u r n ! 0 ; i f ( n u l l = = = t | | n u l l = = = e ) r e t u r n ! 1 ; f o r ( v a r n = 0 ; n < t . l e n g t h ; + + n ) i f ( t [ n ] ! = = e [ n ] ) r e t u r n ! 1 ; r e t u r n ! 0 } , g e t T o t a l W i d t h : f u n c t i o n ( t ) { v a r e = t h i s ; r e t u r n t . r e d u c e ( ( f u n c t i o n ( t , n , r ) { r e t u r n t + e . g e t W i d t h ( n . e l m ) } ) , 0 ) } , g e t W i d t h : f u n c t i o n ( t ) { i f ( ! t . c l a s s L i s t ) r e t u r n 0 ; v a r e = t . c l a s s L i s t . c o n t a i n s ( " c r u m b - - h i d d e n " ) ; t . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ; v a r n = t . o f f s e t W i d t h ; r e t u r n e & & t . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) , n } , p r e v e n t D e f a u l t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t & & t . p r e v e n t D e f a u l t ( ) , ! 1 } , d r a g S t a r t : f u n c t i o n ( t ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( t ) } , d r o p p e d : f u n c t i o n ( t , e , n ) { r e t u r n n | | t h i s . $ e m i t ( " d r o p p e d " , t , e ) , t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 1 , d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( t ) { t . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , t h i s . p r e v e n t D e f a u l t ( t ) } , d r a g O v e r : f u n c t i o n ( t ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( t ) } , d r a g E n t e r : f u n c t i o n ( t , e ) { i f ( ! e & & t . t a r g e t . c l o s e s t ) { v a r n = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; n . c l a s s L i s t & & n . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & ( d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( t ) { t . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , n . c l a s s L i s t . a d d ( " c r u m b - - h o v e r e d " ) ) } } , d r a g L e a v e : f u n c t i o n ( t , e ) { i f ( ! e & & ! t . t a r g e t . c o n t a i n s ( t . r e l a t e d T a r g e t ) & & t . t a r g e t . c l o s e s t ) { v a r n = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; i f ( n . c o n t a i n s ( t . r e l a t e d T a r g e t ) ) r e t u r n ; n . c l a s s L i s t & & n . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & n . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } } , a d d C r u m b s : f u n c t i o n ( t , e ) { v a r n = t h i s ; e . f o r E a c h ( ( f u n c t i o n ( e , r ) { e . e l m & & e . e l m . c l a s s L i s t & & ( n . h i d d e n C r u m b s . i n c l u d e s ( e ) ? e . e l m . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) : e . e l m . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ) , t . p u s h ( e ) } ) ) } } , r e n d e r : f u n c t i o n ( t ) { v a r e = t h i s , n = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( 0 ! = = n . l e n g t h ) { i . a . s e t ( n [ 0 ] . c o m p o n e n t O p t i o n s . p r o p s D a t a , " i c o n " , t h i s . r o o t I c o n ) ; v a r r = [ ] , o = t h i s . h i d d e n C r u m b s . l e n g t h ? n . s l i c e ( 0 , M a t h . r o u n d ( n . l e n g t h / 2 ) ) : n ; t h i s . a d d C r u m b s ( r , o ) , t h i s . h i d d e n C r u m b s . l e n g t h & & r . p u s h ( t ( " B r e a d c r u m b " , { c l a s s : " d r o p d o w n " , p r o p s : { t i t l e : " " , f o r c e M e n u : ! 0 , d i s a b l e D r o p : ! 0 , h i d e a b l e : ! 1 } , r e f : " a c t i o n s B r e a d c r u m b " , k e y : " a c t i o n s - b r e a d c r u m b - 1 " , n a t i v e O n : { d r a g s t a r t : t h i s . d r a g S t a r t , d r a g e n t e r : f u n c t i o n ( ) { e . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 0 } , d r a g l e a v e : t h i s . c l o s e A c t i o n s } } , t h i s . h i d d e n C r u m b s . m a p ( ( f u n c t i o n ( n ) { v a r r = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . t o , i = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . h r e f , o = n . c o m p o n e n t O p t i o n s . p r o p s D a t a . d i s a b l e D r o p , a = " A c t i o n L i n k " , s = i ; r e t u r n r & & ( a = " A c t i o n R o u t e r " , s = r ) , t ( a , { c l a s s : " c r u m b " , p r o p s : { t o : r , h r e f : i , i c o n : " i c o n - f o l d e r " } , a t t r s : { d r a g g a b l e : ! 1 } , n a t i v e O n : { d r a g s t a r t : e . d r a g S t a r t , d r o p : f u n c t i o n ( t ) { r e t u r n e . d r o p p e d ( t , s , o ) } , d r a g o v e r : e . d r a g O v e r , d r a g e n t e r : f u n c t i o n ( t ) { r e t u r n e . d r a g E n t e r ( t , o ) } , d r a g l e a v e : f u n c t i o n ( t ) { r e t u r n e . d r a g L e a v e ( t , o ) } } } , n . c o m p
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = g } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 3 4 7 0 f 0 6 9 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x : f o c u s + . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - c h e c k b o x - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x - - d i s a b l e d . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { c u r s o r : p o i n t e r } . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : h o v e r . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : f o c u s . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 9 0 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , i = n ( 7 ) , o = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r l = i ( o ) , u = i ( a ) , f = i ( s ) , p = i ( c ) ; e . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + f + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + p + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 2 9 d e d 9 9 8 ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] { m a r g i n : 0 ; p a d d i n g : 7 p x 6 p x ; c u r s o r : t e x t ; c o l o r : v a r ( - - c o l o r - t e x t - l i g h t e r ) ; b o r d e r : 1 p x s o l i d v a r ( - - c o l o r - b o r d e r - d a r k ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; o u t l i n e : n o n e ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f o n t - s i z e : 1 3 p x } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , b u t t o n : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , t e x t a r e a : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] { b o r d e r - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; o u t l i n e : n o n e } b u t t
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n G ( t , e ) { v a r n = O b j e c t . k e y s ( t ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( t ) ; e & & ( r = r . f i l t e r ( ( f u n c t i o n ( e ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( t , e ) . e n u m e r a b l e } ) ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } f u n c t i o n Y ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ e ] = n , t }
2019-06-04 14:50:12 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n H ( t ) { O b j e c t . v a l u e s ( r ) . f o r E a c h ( ( f u n c t i o n ( e ) { t . c o m p o n e n t ( e . n a m e , e ) } ) ) } " u n d e f i n e d " ! = t y p e o f w i n d o w & & w i n d o w . V u e & & H ( w i n d o w . V u e ) , e . d e f a u l t = f u n c t i o n ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = n u l l ! = a r g u m e n t s [ e ] ? a r g u m e n t s [ e ] : { } ; e % 2 ? G ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { Y ( t , e , n [ e ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( n ) ) : G ( O b j e c t ( n ) ) . f o r E a c h ( ( f u n c t i o n ( e ) { O b j e c t . d e f i n e P r o p e r t y ( t , e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , e ) ) } ) ) } r e t u r n t } ( { i n s t a l l : H } , r ) } ] ) } , f u n c t i o n ( t , e , n ) { ( f u n c t i o n ( t ) { v a r r = v o i d 0 ! = = t & & t | | " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f | | w i n d o w , i = F u n c t i o n . p r o t o t y p e . a p p l y ; f u n c t i o n o ( t , e ) { t h i s . _ i d = t , t h i s . _ c l e a r F n = e } e . s e t T i m e o u t = f u n c t i o n ( ) { r e t u r n n e w o ( i . c a l l ( s e t T i m e o u t , r , a r g u m e n t s ) , c l e a r T i m e o u t ) } , e . s e t I n t e r v a l = f u n c t i o n ( ) { r e t u r n n e w o ( i . c a l l ( s e t I n t e r v a l , r , a r g u m e n t s ) , c l e a r I n t e r v a l ) } , e . c l e a r T i m e o u t = e . c l e a r I n t e r v a l = f u n c t i o n ( t ) { t & & t . c l o s e ( ) } , o . p r o t o t y p e . u n r e f = o . p r o t o t y p e . r e f = f u n c t i o n ( ) { } , o . p r o t o t y p e . c l o s e = f u n c t i o n ( ) { t h i s . _ c l e a r F n . c a l l ( r , t h i s . _ i d ) } , e . e n r o l l = f u n c t i o n ( t , e ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) , t . _ i d l e T i m e o u t = e } , e . u n e n r o l l = f u n c t i o n ( t ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) , t . _ i d l e T i m e o u t = - 1 } , e . _ u n r e f A c t i v e = e . a c t i v e = f u n c t i o n ( t ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) ; v a r e = t . _ i d l e T i m e o u t ; e > = 0 & & ( t . _ i d l e T i m e o u t I d = s e t T i m e o u t ( ( f u n c t i o n ( ) { t . _ o n T i m e o u t & & t . _ o n T i m e o u t ( ) } ) , e ) ) } , n ( 1 9 7 ) , e . s e t I m m e d i a t e = " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f . s e t I m m e d i a t e | | v o i d 0 ! = = t & & t . s e t I m m e d i a t e | | t h i s & & t h i s . s e t I m m e d i a t e , e . c l e a r I m m e d i a t e = " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f . c l e a r I m m e d i a t e | | v o i d 0 ! = = t & & t . c l e a r I m m e d i a t e | | t h i s & & t h i s . c l e a r I m m e d i a t e } ) . c a l l ( t h i s , n ( 1 0 ) ) } , f u n c t i o n ( t , e , n ) { ( f u n c t i o n ( t , e ) { ! f u n c t i o n ( t , n ) { " u s e s t r i c t " ; i f ( ! t . s e t I m m e d i a t e ) { v a r r , i , o , a , s , c = 1 , l = { } , u = ! 1 , f = t . d o c u m e n t , p = O b j e c t . g e t P r o t o t y p e O f & & O b j e c t . g e t P r o t o t y p e O f ( t ) ; p = p & & p . s e t T i m e o u t ? p : t , " [ o b j e c t p r o c e s s ] " = = = { } . t o S t r i n g . c a l l ( t . p r o c e s s ) ? r = f u n c t i o n ( t ) { e . n e x t T i c k ( ( f u n c t i o n ( ) { h ( t ) } ) ) } : ! f u n c t i o n ( ) { i f ( t . p o s t M e s s a g e & & ! t . i m p o r t S c r i p t s ) { v a r e = ! 0 , n = t . o n m e s s a g e ; r e t u r n t . o n m e s s a g e = f u n c t i o n ( ) { e = ! 1 } , t . p o s t M e s s a g e ( " " , " * " ) , t . o n m e s s a g e = n , e } } ( ) ? t . M e s s a g e C h a n n e l ? ( ( o = n e w M e s s a g e C h a n n e l ) . p o r t 1 . o n m e s s a g e = f u n c t i o n ( t ) { h ( t . d a t a ) } , r = f u n c t i o n ( t ) { o . p o r t 2 . p o s t M e s s a g e ( t ) } ) : f & & " o n r e a d y s t a t e c h a n g e " i n f . c r e a t e E l e m e n t ( " s c r i p t " ) ? ( i = f . d o c u m e n t E l e m e n t , r = f u n c t i o n ( t ) { v a r e = f . c r e a t e E l e m e n t ( " s c r i p t " ) ; e . o n r e a d y s t a t e c h a n g e = f u n c t i o n ( ) { h ( t ) , e . o n r e a d y s t a t e c h a n g e = n u l l , i . r e m o v e C h i l d ( e ) , e = n u l l } , i . a p p e n d C h i l d ( e ) } ) : r = f u n c t i o n ( t ) { s e t T i m e o u t ( h , 0 , t ) } : ( a = " s e t I m m e d i a t e $ " + M a t h . r a n d o m ( ) + " $ " , s = f u n c t i o n ( e ) { e . s o u r c e = = = t & & " s t r i n g " = = t y p e o f e . d a t a & & 0 = = = e . d a t a . i n d e x O f ( a ) & & h ( + e . d a t a . s l i c e ( a . l e n g t h ) ) } , t . a d d E v e n t L i s t e n e r ? t . a d d E v e n t L i s t e n e r ( " m e s s a g e " , s , ! 1 ) : t . a t t a c h E v e n t ( " o n m e s s a g e " , s ) , r = f u n c t i o n ( e ) { t . p o s t M e s s a g e ( a + e , " * " ) } ) , p . s e t I m m e d i a t e = f u n c t i o n ( t ) { " f u n c t i o n " ! = t y p e o f t & & ( t = n e w F u n c t i o n ( " " + t ) ) ; f o r ( v a r e = n e w A r r a y ( a r g u m e n t s . l e n g t h - 1 ) , n = 0 ; n < e . l e n g t h ; n + + ) e [ n ] = a r g u m e n t s [ n + 1 ] ; v a r i = { c a l l b a c k : t , a r g s : e } ; r e t u r n l [ c ] = i , r ( c ) , c + + } , p . c l e a r I m m e d i a t e = d } f u n c t i o n d ( t ) { d e l e t e l [ t ] } f u n c t i o n h ( t ) { i f ( u ) s e t T i m e o u t ( h , 0 , t ) ; e l s e { v a r e = l [ t ] ; i f ( e ) { u = ! 0 ; t r y { ! f u n c t i o n ( t ) { v a r e = t . c a l l b a c k , n = t . a r g s ; s w i t c h ( n . l e n g t h ) { c a s e 0 : e ( ) ; b r e a k ; c a s e 1 : e ( n [ 0 ] ) ; b r e a k ; c a s e 2 : e ( n [ 0 ] , n [ 1 ] ) ; b r e a k ; c a s e 3 : e ( n [ 0 ] , n [ 1 ] , n [ 2 ] ) ; b r e a k ; d e f a u l t : e . a p p l y ( v o i d 0 , n ) } } ( e ) } f i n a l l y { d ( t ) , u = ! 1 } } } } } ( " u n d e f i n e d " = = t y p e o f s e l f ? v o i d 0 = = = t ? t h i s : t : s e l f ) } ) . c a l l ( t h i s , n ( 1 0 ) , n ( 6 0 ) ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 9 ) , i = n ( 2 1 8 ) ; r ( { t a r g e t : " O b j e c t " , s t a t : ! 0 , f o r c e d : O b j e c t . a s s i g n ! = = i } , { a s s i g n : i } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , i = n ( 1 0 6 ) . f , o = n ( 4 6 ) , a = n ( 2 0 2 ) , s = n ( 6 2 ) , c = n ( 2 0 9 ) , l = n ( 2 1 7 ) ; t . e x p o r t s = f u n c t i o n ( t , e ) { v a r n , u , f , p , d , h = t . t a r g e t , v = t . g l o b a l , m = t . s t a t ; i f ( n = v ? r : m ? r [ h ] | | s ( h , { } ) : ( r [ h ] | | { } ) . p r o t o t y p e ) f o r ( u i n e ) { i f ( p = e [ u ] , f = t . n o T a r g e t G e t ? ( d = i ( n , u ) ) & & d . v a l u e : n [ u ] , ! l ( v ? u : h + ( m ? " . " : " # " ) + u , t . f o r c e d ) & & v o i d 0 ! = = f ) { i f ( t y p e o f p = = t y p e o f f ) c o n t i n u e ; c ( p , f ) } ( t . s h a m | | f & & f . s h a m ) & & o ( p , " s h a m " , ! 0 ) , a ( n , u , p , t ) } } } , f u n c t i o n ( t , e ) { v a r n = { } . t o S t r i n g ; t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n n . c a l l ( t ) . s l i c e ( 8 , - 1 ) } } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , i = n ( 4 5 ) , o = r . d o c u m e n t , a = i ( o ) & & i ( o . c r e a t e E l e m e n t ) ; t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n a ? o . c r e a t e E l e m e n t ( t ) : { } } } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , i = n ( 4 6 ) , o = n ( 3 3 ) , a = n ( 6 2 ) , s = n ( 1 1 5 ) , c = n ( 2 0 3 ) , l = c . g e t , u = c . e n f o r c e , f = S t r i n g ( S t r i n g ) . s p l i t ( " S t r i n g " ) ; ( t . e
2019-09-25 19:19:42 +03:00
/ * *
2020-03-15 05:18:05 +03:00
* vuex v3 . 1.3
* ( c ) 2020 Evan You
2019-09-25 19:19:42 +03:00
* @ license MIT
* /
2020-04-10 13:01:29 +03:00
function ( t ) { if ( Number ( t . version . split ( "." ) [ 0 ] ) >= 2 ) t . mixin ( { beforeCreate : n } ) ; else { var e = t . prototype . _init ; t . prototype . _init = function ( t ) { void 0 === t && ( t = { } ) , t . init = t . init ? [ n ] . concat ( t . init ) : n , e . call ( this , t ) } } function n ( ) { var t = this . $options ; t . store ? this . $store = "function" == typeof t . store ? t . store ( ) : t . store : t . parent && t . parent . $store && ( this . $store = t . parent . $store ) } } ( c = t ) } u . state . get = function ( ) { return this . _vm . _data . $$state } , u . state . set = function ( t ) { 0 } , l . prototype . commit = function ( t , e , n ) { var r = this , i = m ( t , e , n ) , o = i . type , a = i . payload , s = ( i . options , { type : o , payload : a } ) , c = this . _mutations [ o ] ; c && ( this . _withCommit ( ( function ( ) { c . forEach ( ( function ( t ) { t ( a ) } ) ) } ) ) , this . _subscribers . slice ( ) . forEach ( ( function ( t ) { return t ( s , r . state ) } ) ) ) } , l . prototype . dispatch = function ( t , e ) { var n = this , r = m ( t , e ) , i = r . type , o = r . payload , a = { type : i , payload : o } , s = this . _actions [ i ] ; if ( s ) { try { this . _actionSubscribers . slice ( ) . filter ( ( function ( t ) { return t . before } ) ) . forEach ( ( function ( t ) { return t . before ( a , n . state ) } ) ) } catch ( t ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( ( function ( t ) { return t ( o ) } ) ) ) : s [ 0 ] ( o ) ) . then ( ( function ( t ) { try { n . _actionSubscribers . filter ( ( function ( t ) { return t . after } ) ) . forEach ( ( function ( t ) { return t . after ( a , n . state ) } ) ) } catch ( t ) { 0 } return t } ) ) } } , l . prototype . subscribe = function ( t ) { return f ( t , this . _subscribers ) } , l . prototype . subscribeAction = function ( t ) { return f ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers ) } , l . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return t ( r . state , r . getters ) } ) , e , n ) } , l . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( ( function ( ) { e . _vm . _data . $$state = t } ) ) } , l . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , h ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , d ( this , this . state ) } , l . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( ( function ( ) { var n = v ( e . state , t . slice ( 0 , - 1 ) ) ; c . delete ( n , t [ t . length - 1 ] ) } ) ) , p ( this ) } , l . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , p ( this , ! 0 ) } , l . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( l . prototype , u ) ; var b = w ( ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { var e = this . $store . state , n = this . $store . getters ; if ( t ) { var r = C ( this . $store , "mapState" , t ) ; if ( ! r ) return ; e = r . context . state , n = r . context . getters } return "function" == typeof i ? i . call ( this , e , n ) : e [ i ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , A = w ( ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( t ) { var o = C ( this . $store , "mapMutations" , t ) ; if ( ! o ) return ; r = o . context . commit } return "function" == typeof i ? i . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ i ] . concat ( e ) ) } } ) ) , n } ) ) , y = w ( ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( ( function ( e ) { var r = e . key , i = e . val ; i = t + i , n [ r ] = function ( ) { if ( ! t || C ( this . $store , "mapGetters" , t ) ) return this . $store . getters [ i ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , x = w ( ( function ( t , e ) { var n = { } ; return _ ( e ) . forEach ( ( function ( e ) { var r = e . key , i = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( t ) { var o = C ( this . $store , "mapActions" , t ) ; if ( ! o ) return ; r = o . context . dispatch } return "function" == typeof i ? i . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ i ] . concat ( e ) ) } } ) ) , n } ) ) ; function _ ( t ) { return function ( t ) { return Array . isArray ( t ) || i ( t ) } ( t ) ? Array . isArray ( t ) ? t . map ( ( function ( t ) { return { key : t , val : t } } ) ) : Object . keys ( t ) . map ( ( function ( e ) { return { key : e , val : t [ e ] } } ) ) : [ ] } function w ( t ) { return function ( e , n ) { return "string" != typeof e ? ( n = e , e = "" ) : "/" !== e . charAt ( e . length - 1 ) && ( e += "/" ) , t ( e , n ) } } function C ( t , e , n ) { return t . _modulesNamespaceMap [ n ] } var k = { Store : l , install : g , version : "3.1.3" , mapState : b , mapMutations : A , mapGetters : y , mapActions : x , createNamespacedHelpers : function ( t ) { return { mapState : b . bind ( null , t ) , mapGetters : y . bind ( null , t ) , mapMutations : A . bind ( null , t ) , mapActions : x . bind ( null , t ) } } } ; e . a = k } ) . call ( this , n ( 10 ) ) } , function ( t , e , n ) { var r = n ( 5 ) , i = n ( 9 ) . f , o = Funct
2019-05-17 10:49:47 +03:00
/ * *
* @ license
* Lodash < https : //lodash.com/>
2019-07-11 02:20:56 +03:00
* Copyright OpenJS Foundation and other contributors < https : //openjsf.org/>
2019-05-17 10:49:47 +03:00
* Released under MIT license < https : //lodash.com/license>
* Based on Underscore . js 1.8 . 3 < http : //underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas , DocumentCloud and Investigative Reporters & Editors
2020-04-10 13:01:29 +03:00
* /(function(){var o="Expected a function",a="__lodash_placeholder__",s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",l="[object Array]",u="[object Boolean]",f="[object Date]",p="[object Error]",d="[object Function]",h="[object GeneratorFunction]",v="[object Map]",m="[object Number]",g="[object Object]",b="[object RegExp]",A="[object Set]",y="[object String]",x="[object Symbol]",_="[object WeakMap]",w="[object ArrayBuffer]",C="[object DataView]",k="[object Float32Array]",T="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",M="[object Int32Array]",O="[object Uint8Array]",I="[object Uint16Array]",N="[object Uint32Array]",L=/ \ b _ _p \ += '' ; /g,D=/ \ b ( _ _p \ += ) '' \ + /g,j=/ ( _ _e \ ( . * ? \ ) | \ b _ _t \ ) ) \ + \ n '' ; /g,P=/ & ( ? : amp | lt | gt | quot | # 39 ) ; /g,B=/ [ & < > "']/g,F=RegExp(P.source),R=RegExp(B.source),$=/<%-([\s\S]+?)%>/g,U=/<%([\s\S]+?)%>/g,z=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|([" '])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["' ] ) ( ( ? : ( ? ! \ 2 ) [ ^ \ \ ] | \ \ . ) * ? ) \ 2 ) \ ] | ( ? = ( ? : \ . | \ [ \ ] ) ( ? : \ . | \ [ \ ] | $ ) ) / g , H = /[\\^$.*+?()[\]{}|]/g , W = RegExp ( H . source ) , Q = /^\s+|\s+$/g , q = /^\s+/ , Z = /\s+$/ , K = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/ , X = /\{\n\/\* \[wrapped with (.+)\] \*/ , J = /,? & / , tt = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g , et = /\\(\\)?/g , nt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g , rt = /\w*$/ , it = /^[-+]0x[0-9a-f]+$/i , ot = /^0b[01]+$/i , at = /^\[object .+?Constructor\]$/ , st = /^0o[0-7]+$/i , ct = /^(?:0|[1-9]\d*)$/ , lt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g , ut = /($^)/ , ft = /['\n\r\u2028\u2029\\]/g , pt = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff" , dt = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000" , ht = "[\\ud800-\\udfff]" , vt = "[" + dt + "]" , mt = "[" + pt + "]" , gt = "\\d+" , bt = "[\\u2700-\\u27bf]" , At = "[a-z\\xdf-\\xf6\\xf8-\\xff]" , yt = "[^\\ud800-\\udfff" + dt + gt + "\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]" , xt = "\\ud83c[\\udffb-\\udfff]" , _t = "[^\\ud800-\\udfff]" , wt = "(?:\\ud83c[\\udde6-\\uddff]){2}" , Ct = "[\\ud800-\\udbff][\\udc00-\\udfff]" , kt = "[A-Z\\xc0-\\xd6\\xd8-\\xde]" , Tt = "(?:" + At + "|" + yt + ")" , Et = "(?:" + kt + "|" + yt + ")" , St = "(?:" + mt + "|" + xt + ")" + "?" , Mt = "[\\ufe0e\\ufe0f]?" + St + ( "(?:\\u200d(?:" + [ _t , wt , Ct ] . join ( "|" ) + ")[\\ufe0e\\ufe0f]?" + St + ")*" ) , Ot = "(?:" + [ bt , wt , Ct ] . join ( "|" ) + ")" + Mt , It = "(?:" + [ _t + mt + "?" , mt , wt , Ct , ht ] . join ( "|" ) + ")" , Nt = RegExp ( "['’ ]" , "g" ) , Lt = RegExp ( mt , "g" ) , Dt = RegExp ( xt + "(?=" + xt + ")|" + It + Mt , "g" ) , jt = RegExp ( [ kt + "?" + At + "+(?:['’ ](?:d|ll|m|re|s|t|ve))?(?=" + [ vt , kt , "$" ] . join ( "|" ) + ")" , Et + "+(?:['’ ](?:D|LL|M|RE|S|T|VE))?(?=" + [ vt , kt + Tt , "$" ] . join ( "|" ) + ")" , kt + "?" + Tt + "+(?:['’ ](?:d|ll|m|re|s|t|ve))?" , kt + "+(?:['’ ](?:D|LL|M|RE|S|T|VE))?" , "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])" , "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])" , gt , Ot ] . join ( "|" ) , "g" ) , Pt = RegExp ( "[\\u200d\\ud800-\\udfff" + pt + "\\ufe0e\\ufe0f]" ) , Bt = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/ , Ft = [ "Array" , "Buffer" , "DataView" , "Date" , "Error" , "Float32Array" , "Float64Array" , "Function" , "Int8Array" , "Int16Array" , "Int32Array" , "Map" , "Math" , "Object" , "Promise" , "RegExp" , "Set" , "String" , "Symbol" , "TypeError" , "Uint8Array" , "Uint8ClampedArray" , "Uint16Array" , "Uint32Array" , "WeakMap" , "_" , "clearTimeout" , "isFinite" , "parseInt" , "setTimeout" ] , Rt = - 1 , $t = { } ; $t [ k ] = $t [ T ] = $t [ E ] = $t [ S ] = $t [ M ] = $t [ O ] = $t [ "[object Uint8ClampedArray]" ] = $t [ I ] = $t [ N ] = ! 0 , $t [ c ] = $t [ l ] = $t [ w ] = $t [ u ] = $t [ C ] = $t [ f ] = $t [ p ] = $t [ d ] = $t [ v ] = $t [ m ] = $t [ g ] = $t [ b ] = $t [ A ] = $t [ y ] = $t [ _ ] = ! 1 ; var Ut = { } ; Ut [ c ] = Ut [ l ] = Ut [ w ] = Ut [ C ] = Ut [ u ] = Ut [ f ] = Ut [ k ] = Ut [ T ] = Ut [ E ] = Ut [ S ] = Ut [ M ] = Ut [ v ] = Ut [ m ] = Ut [ g ] = Ut [ b ] = Ut [ A ] = Ut [ y ] = Ut [ x ] = Ut [ O ] = Ut [ "[object Uint8ClampedArray]" ] = Ut [ I ] = Ut [ N ] = ! 0 , Ut [ p ] = Ut [ d ] = Ut [ _ ] = ! 1 ; var zt = { "\\" : "\\" , "'" : "'" , "\n" : "n" , "\r" : "r" , "\u2028" : "u2028" , "\u2029" : "u2029" } , Vt = parseFloat , Gt = parseInt , Yt = "object" == typeof t && t && t . Object === Object && t , Ht = "object" == typeof self && self && self . Object === Object && self , Wt = Yt || Ht || Function ( "return this" ) ( ) , Qt = e && ! e . nodeType && e , qt = Qt &
2020-01-16 02:03:29 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-04-10 13:01:29 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,i=r.exec(n);if(!i)return n;var o=" ",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=e}return s!==a?o+n.substring(s,a):o}},function(t,e,n){var r,i,o,a,s;r=n(359),i=n(267).utf8,o=n(360),a=n(267).bin,(s=function(t,e){t.constructor==String?t=e&&" binary "===e.encoding?a.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),c=8*t.length,l=1732584193,u=-271733879,f=-1732584194,p=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var h=s._ff,v=s._gg,m=s._hh,g=s._ii;for(d=0;d<n.length;d+=16){var b=l,A=u,y=f,x=p;l=h(l,u,f,p,n[d+0],7,-680876936),p=h(p,l,u,f,n[d+1],12,-389564586),f=h(f,p,l,u,n[d+2],17,606105819),u=h(u,f,p,l,n[d+3],22,-1044525330),l=h(l,u,f,p,n[d+4],7,-176418897),p=h(p,l,u,f,n[d+5],12,1200080426),f=h(f,p,l,u,n[d+6],17,-1473231341),u=h(u,f,p,l,n[d+7],22,-45705983),l=h(l,u,f,p,n[d+8],7,1770035416),p=h(p,l,u,f,n[d+9],12,-1958414417),f=h(f,p,l,u,n[d+10],17,-42063),u=h(u,f,p,l,n[d+11],22,-1990404162),l=h(l,u,f,p,n[d+12],7,1804603682),p=h(p,l,u,f,n[d+13],12,-40341101),f=h(f,p,l,u,n[d+14],17,-1502002290),l=v(l,u=h(u,f,p,l,n[d+15],22,1236535329),f,p,n[d+1],5,-165796510),p=v(p,l,u,f,n[d+6],9,-1069501632),f=v(f,p,l,u,n[d+11],14,643717713),u=v(u,f,p,l,n[d+0],20,-373897302),l=v(l,u,f,p,n[d+5],5,-701558691),p=v(p,l,u,f,n[d+10],9,38016083),f=v(f,p,l,u,n[d+15],14,-660478335),u=v(u,f,p,l,n[d+4],20,-405537848),l=v(l,u,f,p,n[d+9],5,568446438),p=v(p,l,u,f,n[d+14],9,-1019803690),f=v(f,p,l,u,n[d+3],14,-187363961),u=v(u,f,p,l,n[d+8],20,1163531501),l=v(l,u,f,p,n[d+13],5,-1444681467),p=v(p,l,u,f,n[d+2],9,-51403784),f=v(f,p,l,u,n[d+7],14,1735328473),l=m(l,u=v(u,f,p,l,n[d+12],20,-1926607734),f,p,n[d+5],4,-378558),p=m(p,l,u,f,n[d+8],11,-2022574463),f=m(f,p,l,u,n[d+11],16,1839030562),u=m(u,f,p,l,n[d+14],23,-35309556),l=m(l,u,f,p,n[d+1],4,-1530992060),p=m(p,l,u,f,n[d+4],11,1272893353),f=m(f,p,l,u,n[d+7],16,-155497632),u=m(u,f,p,l,n[d+10],23,-1094730640),l=m(l,u,f,p,n[d+13],4,681279174),p=m(p,l,u,f,n[d+0],11,-358537222),f=m(f,p,l,u,n[d+3],16,-722521979),u=m(u,f,p,l,n[d+6],23,76029189),l=m(l,u,f,p,n[d+9],4,-640364487),p=m(p,l,u,f,n[d+12],11,-421815835),f=m(f,p,l,u,n[d+15],16,530742520),l=g(l,u=m(u,f,p,l,n[d+2],23,-995338651),f,p,n[d+0],6,-198630844),p=g(p,l,u,f,n[d+7],10,1126891415),f=g(f,p,l,u,n[d+14],15,-1416354905),u=g(u,f,p,l,n[d+5],21,-57434055),l=g(l,u,f,p,n[d+12],6,1700485571),p=g(p,l,u,f,n[d+3],10,-1894986606),f=g(f,p,l,u,n[d+10],15,-1051523),u=g(u,f,p,l,n[d+1],21,-2054922799),l=g(l,u,f,p,n[d+8],6,1873313359),p=g(p,l,u,f,n[d+15],10,-30611744),f=g(f,p,l,u,n[d+6],15,-1560198380),u=g(u,f,p,l,n[d+13],21,1309151649),l=g(l,u,f,p,n[d+4],6,-145523070),p=g(p,l,u,f,n[d+11],10,-1120210379),f=g(f,p,l,u,n[d+2],15,718787259),u=g(u,f,p,l,n[d+9],21,-343485551),l=l+b>>>0,u=u+A>>>0,f=f+y>>>0,p=p+x>>>0}return r.endian([l,u,f,p])})._ff=function(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._gg=function(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._hh=function(t,e,n,r,i,o,a){var s=t+(e^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._ii=function(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error(" Illegal argument "+t);var n=r.wordsToBytes(s(t,e));return e&&e.asBytes?n:e&&e.asString?a.bytesToString(n):r.bytesToHex(n)}},function(t,e,n){" use strict ";var r,i,o,a,s=n(3),c=n(26),l=n(2),u=n(24),f=n(361),p=n(11),d=n(94),h=n(25),v=n(105),m=n(6),g=n(58),b=n(43),A=n(23),y=n(84),x=n(88),_=n(159),w=n(362),C=n(268).set,k=n(363),T=n(364),E=n(365),S=n(270),M=n(366),O=n(20),I=n(52),N=n(0),L=n(87),D=N(" species "),j=" Promise ",P=O.get,B=O.set,F=O.getterFor(j),R=f,$=l.TypeError,U=l.document,z=l.process,V=u(" fetch "),G=S.f,Y=G,H=" proces
2020-01-16 02:03:29 +03:00
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
2020-04-10 13:01:29 +03:00
* Licensed under the MIT license * /!function(i,o,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=o.createElement("div"),f=Math.round,p=Math.abs,d=Date.now;function h(t,e,n){return setTimeout(x(t,n),e)}function v(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function g(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , o = i . console && ( i . console . warn || i . console . log ) ; return o && o . call ( i . console , r , n ) , t . apply ( this , arguments ) } } c = "function" != typeof Object . assign ? function ( t ) { if ( null == t ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var e = Object ( t ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( null != r ) for ( var i in r ) r . hasOwnProperty ( i ) && ( e [ i ] = r [ i ] ) } return e } : Object . assign ; var b = g ( ( function ( t , e , n ) { for ( var r = Object . keys ( e ) , i = 0 ; i < r . length ; ) ( ! n || n && void 0 === t [ r [ i ] ] ) && ( t [ r [ i ] ] = e [ r [ i ] ] ) , i ++ ; return t } ) , "extend" , "Use `assign`." ) , A = g ( ( function ( t , e ) { return b ( t , e , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function y ( t , e , n ) { var r , i = e . prototype ; ( r = t . prototype = Object . create ( i ) ) . constructor = t , r . _super = i , n && c ( r , n ) } function x ( t , e ) { return function ( ) { return t . apply ( e , arguments ) } } function _ ( t , e ) { return "function" == typeof t ? t . apply ( e && e [ 0 ] || void 0 , e ) : t } function w ( t , e ) { return void 0 === t ? e : t } function C ( t , e , n ) { m ( S ( e ) , ( function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) ) } function k ( t , e , n ) { m ( S ( e ) , ( function ( e ) { t . removeEventListener ( e , n , ! 1 ) } ) ) } function T ( t , e ) { for ( ; t ; ) { if ( t == e ) return ! 0 ; t = t . parentNode } return ! 1 } function E ( t , e ) { return t . indexOf ( e ) > - 1 } function S ( t ) { return t . trim ( ) . split ( /\s+/g ) } function M ( t , e , n ) { if ( t . indexOf && ! n ) return t . indexOf ( e ) ; for ( var r = 0 ; r < t . length ; ) { if ( n && t [ r ] [ n ] == e || ! n && t [ r ] === e ) return r ; r ++ } return - 1 } function O ( t ) { return Array . prototype . slice . call ( t , 0 ) } function I ( t , e , n ) { for ( var r = [ ] , i = [ ] , o = 0 ; o < t . length ; ) { var a = e ? t [ o ] [ e ] : t [ o ] ; M ( i , a ) < 0 && r . push ( t [ o ] ) , i [ o ] = a , o ++ } return n && ( r = e ? r . sort ( ( function ( t , n ) { return t [ e ] > n [ e ] } ) ) : r . sort ( ) ) , r } function N ( t , e ) { for ( var n , r , i = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , o = 0 ; o < l . length ; ) { if ( ( r = ( n = l [ o ] ) ? n + i : e ) in t ) return r ; o ++ } } var L = 1 ; function D ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || i } var j = "ontouchstart" in i , P = void 0 !== N ( i , "PointerEvent" ) , B = j && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , F = [ "x" , "y" ] , R = [ "clientX" , "clientY" ] ; function $ ( t , e ) { var n = this ; this . manager = t , this . callback = e , this . element = t . element , this . target = t . options . inputTarget , this . domHandler = function ( e ) { _ ( t . options . enable , [ t ] ) && n . handler ( e ) } , this . init ( ) } function U ( t , e , n ) { var r = n . pointers . length , i = n . changedPointers . length , o = 1 & e && r - i == 0 , a = 12 & e && r - i == 0 ; n . isFirst = ! ! o , n . isFinal = ! ! a , o && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , r = e . pointers , i = r . length ; n . firstInput || ( n . firstInput = z ( e ) ) ; i > 1 && ! n . firstMultiple ? n . firstMultiple = z ( e ) : 1 === i && ( n . firstMultiple = ! 1 ) ; var o = n . firstInput , a = n . firstMultiple , s = a ? a . center : o . center , c = e . center = V ( r ) ; e . timeStamp = d ( ) , e . deltaTime = e . timeStamp - o . timeStamp , e . angle = W ( s , c ) , e . distance = H ( s , c ) , function ( t , e ) { var n = e . center , r = t . offsetDelta || { } , i = t . prevDelta || { } , o = t . prevInput || { } ; 1 !== e . eventType && 4 !== o . eventType || ( i = t . prevDelta = { x : o . deltaX || 0 , y : o . deltaY || 0 } , r = t . offsetDelta = { x : n . x , y : n . y } ) ; e . deltaX = i . x + ( n . x - r . x ) , e . deltaY = i . y + ( n . y - r . y ) } ( n , e ) , e . offsetDirection = Y ( e . deltaX , e . deltaY ) ; var l = G ( e . deltaTime , e . deltaX , e . deltaY ) ; e . overallVelocityX = l . x , e . overallVelocityY = l . y , e . overallVelocity = p ( l . x ) > p ( l . y ) ? l . x : l . y , e . scale = a ? ( u = a . pointers , f = r , H ( f [ 0 ] , f [ 1 ] , R ) / H ( u [ 0 ] , u [ 1 ] , R ) ) : 1 , e . rotation = a ? function ( t , e ) { return W ( e [ 1 ] , e [ 0 ] , R ) + W ( t [ 1 ] , t [ 0 ] , R ) } ( a . pointers , r ) : 0 , e . maxPointers = n . prevInput ? e . pointers . length > n . prevInput . maxPointers ? e . pointers . length : n . prevInput . maxPointers : e . pointers . length , function ( t , e ) { var n , r , i , o , a = t . lastInterval || e , s = e . timeStamp - a . timeStamp ; if ( 8 != e . eventType && ( s > 25 || void 0 === a . velocity ) ) { var c
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-04-10 13:01:29 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = r . Promise } , function ( t , e , n ) { var r = n ( 7 ) , i = n ( 58 ) , o = n ( 0 ) ( "species" ) ; t . exports = function ( t , e ) { var n , a = r ( t ) . constructor ; return void 0 === a || null == ( n = r ( a ) [ o ] ) ? e : i ( n ) } } , function ( t , e , n ) { var r , i , o , a , s , c , l , u , f = n ( 2 ) , p = n ( 29 ) . f , d = n ( 23 ) , h = n ( 268 ) . set , v = n ( 269 ) , m = f . MutationObserver || f . WebKitMutationObserver , g = f . process , b = f . Promise , A = "process" == d ( g ) , y = p ( f , "queueMicrotask" ) , x = y && y . value ; x || ( r = function ( ) { var t , e ; for ( A && ( t = g . domain ) && t . exit ( ) ; i ; ) { e = i . fn , i = i . next ; try { e ( ) } catch ( t ) { throw i ? a ( ) : o = void 0 , t } } o = void 0 , t && t . enter ( ) } , A ? a = function ( ) { g . nextTick ( r ) } : m && ! v ? ( s = ! 0 , c = document . createTextNode ( "" ) , new m ( r ) . observe ( c , { characterData : ! 0 } ) , a = function ( ) { c . data = s = ! s } ) : b && b . resolve ? ( l = b . resolve ( void 0 ) , u = l . then , a = function ( ) { u . call ( l , r ) } ) : a = function ( ) { h . call ( f , r ) } ) , t . exports = x || function ( t ) { var e = { fn : t , next : void 0 } ; o && ( o . next = e ) , i || ( i = e , a ( ) ) , o = e } } , function ( t , e , n ) { var r = n ( 7 ) , i = n ( 6 ) , o = n ( 270 ) ; t . exports = function ( t , e ) { if ( r ( t ) , i ( e ) && e . constructor === t ) return e ; var n = o . f ( t ) ; return ( 0 , n . resolve ) ( e ) , n . promise } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = function ( t , e ) { var n = r . console ; n && n . error && ( 1 === arguments . length ? n . error ( t ) : n . error ( t , e ) ) } } , function ( t , e ) { t . exports = function ( t ) { try { return { error : ! 1 , value : t ( ) } } catch ( t ) { return { error : ! 0 , value : t } } } } , function ( t , e , n ) { var r = n ( 17 ) , i = n ( 57 ) . f , o = { } . toString , a = "object" == typeof window && window && Object . getOwnPropertyNames ? Object . getOwnPropertyNames ( window ) : [ ] ; t . exports . f = function ( t ) { return a && "[object Window]" == o . call ( t ) ? function ( t ) { try { return i ( t ) } catch ( t ) { return a . slice ( ) } } ( t ) : i ( r ( t ) ) } } , function ( t , e , n ) { "use strict" ; var r , i = n ( 3 ) , o = n ( 29 ) . f , a = n ( 15 ) , s = n ( 273 ) , c = n ( 22 ) , l = n ( 275 ) , u = n ( 26 ) , f = "" . startsWith , p = Math . min , d = l ( "startsWith" ) ; i ( { target : "String" , proto : ! 0 , forced : ! ! ( u || d || ( r = o ( String . prototype , "startsWith" ) , ! r || r . writable ) ) && ! d } , { startsWith : function ( t ) { var e = String ( c ( this ) ) ; s ( t ) ; var n = a ( p ( arguments . length > 1 ? arguments [ 1 ] : void 0 , e . length ) ) , r = String ( t ) ; return f ? f . call ( e , r , n ) : e . slice ( n , n + r . length ) === r } } ) } , function ( t , e ) { t . exports = Object . is || function ( t , e ) { return t === e ? 0 !== t || 1 / t == 1 / e : t != t && e != e } } , function ( t , e ) { function n ( t , e , n ) { var r , i , o , a , s ; function c ( ) { var l = Date . now ( ) - a ; l < e && l >= 0 ? r = setTimeout ( c , e - l ) : ( r = null , n || ( s = t . apply ( o , i ) , o = i = null ) ) } null == e && ( e = 100 ) ; var l = function ( ) { o = this , i = arguments , a = Date . now ( ) ; var l = n && ! r ; return r || ( r = setTimeout ( c , e ) ) , l && ( s = t . apply ( o , i ) , o = i = null ) , s } ; return l . clear = function ( ) { r && ( clearTimeout ( r ) , r = null ) } , l . flush = function ( ) { r && ( s = t . apply ( o , i ) , o = i = null , clearTimeout ( r ) , r = null ) } , l } n . debounce = n , t . exports = n } , function ( t , e , n ) { ( function ( e ) { "undefined" != typeof self && self , t . exports = function ( t ) { function e ( r ) { if ( n [ r ] ) return n [ r ] . exports ; var i = n [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( i . exports , i , i . exports , e ) , i . l = ! 0 , i . exports } var n = { } ; return e . m = t , e . c = n , e . d = function ( t , n , r ) { e . o ( t , n ) || Object . defineProperty ( t , n , { configurable : ! 1 , enumerable : ! 0 , get : r } ) } , e . n = function ( t ) { var n = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return e . d ( n , "a" , n ) , n } , e . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , e . p = "" , e ( e . s = 22 ) } ( [ function ( t , e ) { function n ( t , e ) { var n = t [ 1 ] || "" , r = t [ 3 ] ; if ( ! r ) return n ; if ( e && "function" == typeof btoa ) { var i = function ( t ) { return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( t ) ) ) ) + " */" } ( r ) ; return [ n ] . concat ( r . sources . map ( ( function ( t ) { return "/*# sourceURL=" + r . sourceRoot + t + " */" } ) ) ) . concat ( [ i ] ) . join ( "\n" ) } return [ n ] . join ( "\n" ) } t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( ( function ( e ) { var r = n ( e , t ) ; return e [ 2 ] ? "@media " + e [ 2 ] + "{" + r + "}" : r } ) ) . join ( "" ) } , e . i = function ( t , n ) { "string" == typeof t && ( t = [ [ null , t , "" ] ] ) ; for ( var r = { } , i = 0 ; i < this . length ; i ++ ) { var o = this [ i ] [ 0 ] ; "number" == typeof o && ( r [ o ] = ! 0 ) } for ( i = 0 ; i < t . length ; i ++ ) { var a = t [ i ] ; "number" == typeof a [ 0 ] && r [ a [ 0 ] ] || ( n && ! a [ 2 ] ? a [ 2 ] = n : n && ( a [ 2 ] = "(" + a [ 2 ] + ") and (" + n + ")" ) , e . push ( a ) ) } } , e } } , function ( t , e , n ) { function r ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) { var n = t [ e ] , r = u [ n . id ] ; if ( r ) { r . refs ++
2019-09-25 19:19:42 +03:00
/ * *
2019-01-10 18:04:13 +03:00
* @ copyright 2019 Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ author 2019 Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2020-04-10 13:01:29 +03:00
o . default . use ( h . a ) ; var v = { setEnforced : function ( t , e ) { o . default . set ( t , "enforced" , e ) } , setEnforcedGroups : function ( t , e ) { o . default . set ( t , "enforcedGroups" , e ) } , setExcludedGroups : function ( t , e ) { o . default . set ( t , "excludedGroups" , e ) } } , m = new h . a . Store ( { strict : ! 1 , state : { enforced : ! 1 , enforcedGroups : [ ] , excludedGroups : [ ] } , mutations : v } ) ; r . nc = btoa ( OC . requestToken ) , o . default . prototype . t = t , window . OC = window . OC || { } , window . OC . Settings = window . OC . Settings || { } , m . replaceState ( Object ( i . loadState ) ( "settings" , "mandatory2FAState" ) ) , new ( o . default . extend ( d ) ) ( { store : m } ) . $mount ( "#two-factor-auth-settings" ) } ] ) ;
//# sourceMappingURL=vue-settings-admin-security.js.map?v=7f5c73abb72150f6f841