2021-05-30 00:53:04 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var a = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . 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 a in t ) n . d ( r , a , function ( e ) { return t [ e ] } . bind ( null , a ) ) ; 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 = "" , n ( n . s = 942 ) } ( [ , , , function ( t , e , n ) { var r = n ( 5 ) , a = n ( 29 ) . f , o = n ( 18 ) , i = n ( 21 ) , s = n ( 52 ) , l = n ( 110 ) , u = n ( 94 ) ; t . exports = function ( t , e ) { var n , c , p , f , A , d = t . target , h = t . global , m = t . stat ; if ( n = h ? r : m ? r [ d ] || s ( d , { } ) : ( r [ d ] || { } ) . prototype ) for ( c in e ) { if ( f = e [ c ] , p = t . noTargetGet ? ( A = a ( n , c ) ) && A . value : n [ c ] , ! u ( h ? c : d + ( m ? "." : "#" ) + c , t . forced ) && void 0 !== p ) { if ( typeof f == typeof p ) continue ; l ( f , p ) } ( t . sham || p && p . sham ) && o ( f , "sham" , ! 0 ) , i ( n , c , f , 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 } ( ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 17 ) ) } , , , function ( t , e , n ) { var r = n ( 10 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e , n ) { var r = n ( 5 ) , a = n ( 47 ) , o = n ( 13 ) , i = n ( 56 ) , s = n ( 67 ) , l = n ( 111 ) , u = a ( "wks" ) , c = r . Symbol , p = l ? c : c && c . withoutSetter || i ; t . exports = function ( t ) { return o ( u , t ) && ( s || "string" == typeof u [ t ] ) || ( s && o ( c , t ) ? u [ t ] = c [ t ] : u [ t ] = p ( "Symbol." + t ) ) , u [ t ] } } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { var r = n ( 4 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e , n ) { "use strict" ; n ( 151 ) , n ( 91 ) , n ( 105 ) , n ( 40 ) , n ( 123 ) , n ( 62 ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . getRootUrl = e . generateFilePath = e . imagePath = e . generateUrl = e . generateOcsUrl = e . generateRemoteUrl = e . linkTo = void 0 ; e . linkTo = function ( t , e ) { return r ( t , "" , e ) } ; e . generateRemoteUrl = function ( t ) { return window . location . protocol + "//" + window . location . host + function ( t ) { return a ( ) + "/remote.php/" + t } ( t ) } ; e . generateOcsUrl = function ( t , e ) { return e = 2 !== e ? 1 : 2 , window . location . protocol + "//" + window . location . host + a ( ) + "/ocs/v" + e + ".php/" + t + "/" } ; e . generateUrl = function ( t , e , n ) { var r = Object . assign ( { escape : ! 0 , noRewrite : ! 1 } , n || { } ) , o = function ( t , e ) { return e = e || { } , t . replace ( /{([^{}]*)}/g , ( function ( t , n ) { var a = e [ n ] ; return r . escape ? "string" == typeof a || "number" == typeof a ? encodeURIComponent ( a . toString ( ) ) : encodeURIComponent ( t ) : "string" == typeof a || "number" == typeof a ? a . toString ( ) : t } ) ) } ; return "/" !== t . charAt ( 0 ) && ( t = "/" + t ) , ! 0 !== OC . config . modRewriteWorking || r . noRewrite ? a ( ) + "/index.php" + o ( t , e || { } ) : a ( ) + o ( t , e || { } ) } ; e . imagePath = function ( t , e ) { return - 1 === e . indexOf ( "." ) ? r ( t , "img" , e + ".svg" ) : r ( t , "img" , e ) } ; var r = function ( t , e , n ) { var r = - 1 !== OC . coreApps . indexOf ( t ) , o = a ( ) ; return "php" !== n . substring ( n . length - 3 ) || r ? "php" === n . substring ( n . length - 3 ) || r ? ( o += "settings" !== t && "core" !== t && "search" !== t || "ajax" !== e ? "/" : "/index.php/" , r || ( o += "apps/" ) , "" !== t && ( o += t += "/" ) , e && ( o += e + "/" ) , o += n ) : ( o = OC . appswebroots [ t ] , e && ( o += "/" + e + "/" ) , "/" !== o . substring ( o . length - 1 ) && ( o += "/" ) , o += n ) : ( o += "/index.php/apps/" + t , "index.php" !== n && ( o += "/" , e && ( o += encodeURI ( e + "/" ) ) , o += n ) ) , o } ; e . generateFilePath = r ; var a = function ( ) { return OC . webroot } ; e . getRootUrl = a } , function ( t , e , n ) { var r = n ( 14 ) , a = { } . hasOwnProperty ; t . exports = Object . hasOwn || function ( t , e ) { return a . call ( r ( t ) , e ) } } , function ( t , e , n ) { var r = n ( 20 ) ; t . exports = function ( t ) { return Object ( r ( t ) ) } } , function ( t , e , n ) { var r = n ( 23 ) , a = Math . min ; t . exports = function ( t ) { return t > 0 ? a ( r ( t ) ,
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-05-30 00:53:04 +03:00
var r = Object . freeze ( { } ) ; function a ( t ) { return null == t } function o ( t ) { return null != t } function i ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function l ( t ) { return null !== t && "object" == typeof t } var u = Object . prototype . toString ; function c ( t ) { return "[object Object]" === u . call ( t ) } function p ( t ) { return "[object RegExp]" === u . call ( t ) } function f ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function A ( t ) { return o ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function d ( t ) { return null == t ? "" : Array . isArray ( t ) || c ( t ) && t . toString === u ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , a = 0 ; a < r . length ; a ++ ) n [ r [ a ] ] = ! 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 v ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( t , e ) { return y . call ( t , e ) } function x ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , C = x ( ( function ( t ) { return t . replace ( w , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , T = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , E = /\B([A-Z])/g , _ = x ( ( function ( t ) { return t . replace ( E , "-$1" ) . toLowerCase ( ) } ) ) ; var S = 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 I ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function k ( 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 ] && k ( e , t [ n ] ) ; return e } function M ( t , e , n ) { } var B = function ( t , e , n ) { return ! 1 } , N = function ( t ) { return t } ; function j ( t , e ) { if ( t === e ) return ! 0 ; var n = l ( t ) , r = l ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var a = Array . isArray ( t ) , o = Array . isArray ( e ) ; if ( a && o ) return t . length === e . length && t . every ( ( function ( t , n ) { return j ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( a || o ) return ! 1 ; var i = Object . keys ( t ) , s = Object . keys ( e ) ; return i . length === s . length && i . every ( ( function ( n ) { return j ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function L ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( j ( t [ n ] , e ) ) return n ; return - 1 } function F ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var D = [ "component" , "directive" , "filter" ] , P = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , U = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : B , isReservedAttr : B , isUnknownElement : B , getTagNamespace : M , parsePlatformTagName : N , mustUseProp : B , async : ! 0 , _lifecycleHooks : P } , R = /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 z ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var $ = new RegExp ( "[^" + R . source + ".$_\\d]" ) ; var Q , G = "__proto__" in { } , H = "undefined" != typeof window , Y = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = Y && WXEnvironment . platform . toLowerCase ( ) , V = H && window . navigator . userAgent . toLowerCase ( ) , Z = V && /msie|trident/ . test ( V ) , q = V && V . indexOf ( "msie 9.0" ) > 0 , J = V && V . indexOf ( "edge/" ) > 0 , X = ( V && V . indexOf ( "android" ) , V && /iphone|ipad|ipod|ios/ . test ( V ) || "ios" === W ) , K = ( V && /chrome\/\d+/ . test ( V ) , V && /phantomjs/ . test ( V ) , V && V . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( H ) 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 === Q && ( Q = ! H && ! Y && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , Q } , at = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ot ( t ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.16 . 1
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2021-05-30 00:53:04 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , r = function ( ) { for ( var t = [ "Edge" , "Trident" , "Firefox" ] , e = 0 ; e < t . length ; e += 1 ) if ( n && navigator . userAgent . indexOf ( t [ e ] ) >= 0 ) return 1 ; return 0 } ( ) ; 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 ( ) } ) , r ) ) } } ; function o ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function i ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function s ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function l ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = i ( t ) , n = e . overflow , r = e . overflowX , a = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + a + r ) ? t : l ( s ( t ) ) } function u ( t ) { return t && t . referenceNode ? t . referenceNode : t } var c = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( t ) { return 11 === t ? c : 10 === t ? p : c || p } function A ( t ) { if ( ! t ) return document . documentElement ; for ( var e = f ( 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" === i ( n , "position" ) ? A ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function d ( t ) { return null !== t . parentNode ? d ( t . parentNode ) : t } function h ( 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 , a = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( a , 0 ) ; var i , s , l = o . commonAncestorContainer ; if ( t !== l && e !== l || r . contains ( a ) ) return "BODY" === ( s = ( i = l ) . nodeName ) || "HTML" !== s && A ( i . firstElementChild ) !== i ? A ( l ) : l ; var u = d ( t ) ; return u . host ? h ( u . host , e ) : h ( t , d ( e ) . host ) } function m ( 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 a = t . ownerDocument . documentElement , o = t . ownerDocument . scrollingElement || a ; return o [ n ] } return t [ n ] } function g ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = m ( e , "top" ) , a = m ( e , "left" ) , o = n ? - 1 : 1 ; return t . top += r * o , t . bottom += r * o , t . left += a * o , t . right += a * o , t } function v ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] ) + parseFloat ( t [ "border" + r + "Width" ] ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , f ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , r = f ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var x = 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 } , T = 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 E ( t ) { return T ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function _ ( t ) { var e = { } ; try { if ( f ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = m ( t , "top" ) , r = m ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var a = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , s = o . width || t . clientWidth || a . width , l = o . height || t . clientHeight || a . height , u = t . offsetWidth - s , c = t . offsetHeight - l ; if ( u || c ) { var p = i ( t ) ; u -= v ( p , "x" ) , c -
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* /e.default=r.a},14:function(t,e){t.exports=n(471)},16:function(t,e){t.exports=n(163)},17:function(t,e){t.exports=n(227)},18:function(t,e){t.exports=n(475)},2:function(t,e,n){"use strict";var r,a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),o=[];function i(t){for(var e=-1,n=0;n<o.length;n++)if(o[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],a=0;a<t.length;a++){var s=t[a],l=e.base?s[0]+e.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var p=i(c),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==p?(o[p].references++,o[p].updater(f)):o.push({identifier:c,updater:h(f,e),references:1}),r.push(c)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(e)}return e}var u,c=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function p(t,e,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=c(e,a);else{var o=document.createTextNode(a),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(o,i[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * / " ) ) , t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = r ; e l s e { f o r ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( r ) ) } } v a r A = n u l l , d = 0 ; f u n c t i o n h ( t , e ) { v a r n , r , a ; i f ( e . s i n g l e t o n ) { v a r o = d + + ; n = A | | ( A = l ( e ) ) , r = p . b i n d ( n u l l , n , o , ! 1 ) , a = p . b i n d ( n u l l , n , o , ! 0 ) } e l s e n = l ( e ) , r = f . b i n d ( n u l l , n , e ) , a = f u n c t i o n ( ) { ! f u n c t i o n ( t ) { i f ( n u l l = = = t . p a r e n t N o d e ) r e t u r n ! 1 ; t . p a r e n t N o d e . r e m o v e C h i l d ( t ) } ( n ) } ; r e t u r n r ( t ) , f u n c t i o n ( e ) { i f ( e ) { i f ( e . c s s = = = t . c s s & & e . m e d i a = = = t . m e d i a & & e . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; r ( t = e ) } e l s e a ( ) } } t . e x p o r t s = f u n c t i o n ( t , e ) { ( e = e | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f e . s i n g l e t o n | | ( e . s i n g l e t o n = ( v o i d 0 = = = r & & ( r = B o o l e a n ( w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b ) ) , r ) ) ; v a r n = s ( t = t | | [ ] , e ) ; r e t u r n f u n c t i o n ( t ) { i f ( t = t | | [ ] , " [ o b j e c t A r r a y ] " = = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( t ) ) { f o r ( v a r r = 0 ; r < n . l e n g t h ; r + + ) { v a r a = i ( n [ r ] ) ; o [ a ] . r e f e r e n c e s - - } f o r ( v a r l = s ( t , e ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = i ( n [ u ] ) ; 0 = = = o [ c ] . r e f e r e n c e s & & ( o [ c ] . u p d a t e r ( ) , o . s p l i c e ( c , 1 ) ) } n = l } } } } , 2 2 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 4 ) } , 3 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e , n , r , a , o , i , s ) { v a r l , u = " f u n c t i o n " = = t y p e o f t ? t . o p t i o n s : t ; i f ( e & & ( u . r e n d e r = e , u . s t a t i c R e n d e r F n s = n , u . _ c o m p i l e d = ! 0 ) , r & & ( u . f u n c t i o n a l = ! 0 ) , o & & ( u . _ s c o p e I d = " d a t a - v - " + o ) , i ? ( l = f u n c t i o n ( t ) { ( t = t | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( t = _ _ V U E _ S S R _ C O N T E X T _ _ ) , a & & a . c a l l ( t h i s , t ) , t & & t . _ r e g i s t e r e d C o m p o n e n t s & & t . _ r e g i s t e r e d C o m p o n e n t s . a d d ( i ) } , u . _ s s r R e g i s t e r = l ) : a & & ( l = s ? f u n c t i o n ( ) { a . c a l l ( t h i s , ( u . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : a ) , l ) i f ( u . f u n c t i o n a l ) { u . _ i n j e c t S t y l e s = l ; v a r c = u . r e n d e r ; u . r e n d e r = f u n c t i o n ( t , e ) { r e t u r n l . c a l l ( e ) , c ( t , e ) } } e l s e { v a r p = u . b e f o r e C r e a t e ; u . b e f o r e C r e a t e = p ? [ ] . c o n c a t ( p , l ) : [ l ] } r e t u r n { e x p o r t s : t , o p t i o n s : u } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } , 3 9 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 2 ) , n ( 1 4 ) ; v a r r = n ( 5 ) , a = n . n ( r ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* / e . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( a . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 4 0 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 6 2 4 ) } , 4 9 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 4 0 ) ; v a r r = n ( 3 9 ) , a = ( n ( 1 4 ) , 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 = a ( 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 ( ) } } } } } , 5 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 1 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 0 5 ) } , 9 4 : 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 ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 4 2 b 2 8 4 3 6 ] { b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - h o v e r ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 - 4 2 b 2 8 4 3 6 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 4 2 b 2 8 4 3 6 ] : 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 - 4 2 b 2 8 4 3 6 ] { 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 - 4 2 b 2 8 4 3 6 ] { 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 ; f o n t - s i z e : v a r ( - - d e f a u l t - f o n t - s i z e ) ; 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 - 4 2 b 2 8 4 3 6 ] : h o v e r , . a c t i o n - b u t t o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] : 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 - 4 2 b 2 8 4 3 6 ] { 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 - 4 2 b 2 8 4 3 6 ] { 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 ; b a c k g r o u n d - r e p e a t : n o - r e p e a t } . a c t i o n - b u t t o n . m a t e r i a l - d e s i g n - i c o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 } . a c t i o n - b u t t o n . m a t e r i a l - d e s i g n - i c o n . m a t e r i a l - d e s i g n - i c o n _ _ s v g [ d a t a - v - 4 2 b 2 8 4 3 6 ] { v e r t i c a l - a l i g n : m i d d l e } . a c t i o n - b u t t o n p [ d a t a - v - 4 2 b 2 8 4 3 6 ] { m a x - w i d t h : 2 2 0 p x ; l i n e - h e i g h t : 1 . 6 e m ; p a d d i n g : 1 0 . 8 p x 0 ; 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 ; o v e r f l o w : h i d d e n ; t e x t - o v e r f l o w : e l l i p s i s } . 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 - 4 2 b 2 8 4 3 6 ] { 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 - 4 2 b 2 8 4 3 6 ] { f o n t - w e i g h t : b o l d ; t e x t - o v e r f l o w : e l l i p s i s ; o v e r f l o w : h i d d e n ; w h i t e - s p a c e : n o w r a p ; m a x - w i d t h : 1 0 0 % ; d i s p l a y : i n l i n e - b l o c k } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / . . / . . / a s s e t s / a c t i o n . s c s s " , " w e b p a c k : / / . / . . / . . / a s s e t s / v a r i a b l e s . s c s s " ] , n a m e s : [ ] , m a p p i n g s : " A A w B C , 2 B A E E , 8 C A A + C , C A C / C , m C A M D , m B A A o B , C A C p B , U C Q m B , C D V p B , k F A I E , c A A e , C A C f , U C K k B , C D V p B , q C A Q E , o B A A q B , C A C r B , g C A O D , Y A A a , C A C b , s B A A u B , C A E v B , U A A W , C A C X , W A A Y , C A C Z , Q A A S , C A C T , S A A U , C A C V , k B C t B 8 C , C D w B 9 C , c A A e , C A C f , k B A A m B , C A E n B , U C j B i B , C D k B j B , 4 B A A 6 B , C A C 7 B , Q A A S , C A C T , e A A g B , C A C h B , 4 B A A 6 B , C A C 7 B , e A A g B , C A E h B , k B A A m B , C A C n B , k C A A m C , C A C n C , g B C 5 C m B , C D s B p B , 4 E A 0 B E , S C 7 B a , C D G f , q C A 8 B E , c A A e , C A C f , k B A A m B , C A C n B , s C A G A , U C z D k B , C D 0 D l B , W C 1 D k B , C D 2 D l B , S C x C a , C D y C b , + B A A w C , C A C x C , o B C z D a , C D 0 D b , 2 B A A 4 B , C A x C 9 B , s D A 4 C E , U C l E k B , C D m E l B , W C n E k B , C D o E l B , S C j D a , C D G f , i F A i D G , q B A A s B , C A j D z B , k C A u D E , e A A g B , C A C h B , i B A A k B , C A G l B , g B A A 8 C , C A E 9 C , c A A e , C A C f , e A A g B , C A G h B , e A A g B , C A C h B , s B A A u B , C A C v B , 0 C A G A , c A A e , C A E f , o B A A q B , C A C r B , u C A G A , g B A A i B , C A C j B , s B A A u B , C A C v B , e A A g B , C A C h B , k B A A m B , C A C n B , c A A e , C A C f , o B A A q B " , s o u r c e s C o n t e n t : [ " / * * \ n * @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 9 J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * \ n * @ a u t h o r J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * @ a u t h o r M a r c o A m b r o s i n i < m a r c o a m b r o s i n i @ p m . m e > \ n * \ n * @ l i c e n s e G N U A G P L v e r s i o n 3 o r a n y l a t e r v e r s i o n \ n * \ n * T h i s p r o g r a m i s f r e e s o f t w a r e : y o u c a n r e d i s t r i b u t e i t a n d / o r m o d i f y \ n * i t u n d e r t h e t e r m s o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e a s \ n * p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n , e i t h e r v e r s i o n 3 o f t h e \ n * L i c e n s e ,
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-05-30 00:53:04 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "84c461f" , '><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 ( 504 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . push ( [ t . i , ".vue-tooltip[data-v-84c461f]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-84c461f][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-84c461f][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-84c461f][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-84c461f] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-84c461f] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"84c461f\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* / e . d e f a u l t = r . a } , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 3 5 ) , n ( 1 4 ) , n ( 1 0 1 ) ; v a r r = n ( 5 ) , a = 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 ] , i = ! 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 , l = 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 ) ; ( i | | ! s | | l ) & & ( ( i | | l ) & & a . a . u t i l . w a r n ( " " . c o n c a t ( i ? 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 ) { t . e x p o r t s = n ( 1 9 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 9 2 ) } , , , , , , , , , , , , , , , 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 ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) , s = n ( 4 ) , l = n . n ( s ) , u = n ( 8 ) , c = n ( 9 ) , p = n ( 1 0 ) , f = n ( 1 1 ) , A = i ( ) ( a . a ) , d = l ( ) ( u . a ) , h = l ( ) ( c . a ) , m = l ( ) ( p . a ) , g = l ( ) ( f . a ) ; A . 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 - 8 4 c 4 6 1 f " ; s r c : u r l ( ' + d + " ) ; s r c : u r l ( " + d + ' ) 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 ( ' + h + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + m + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e [ d a t a - v - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : a c t i v e { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 5 4 b a 5 2 7 a ] : d i s a b l e d , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 5 4 b a 5 2 7 a ] : d i s a b l e d { o p a c i t y : . 3 ! i m p o r t a n t } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 5 4 b a 5 2 7 a ] { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 5 4 b a 5 2 7 a ] , . 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 - 5 4 b a 5 2 7 a ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : a u t o ; m i n - w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 5 4 b a 5 2 7 a ] { 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 ; f o n t - w e i g h t : b o l d ; l i n e - h e i g h t : 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 a t a - v - 5 4 b a 5 2 7 a ] s p a n { w i d t h : 1 6 p x ; h e i g h t : 1 6 p x ; l i n e - h e i g h t : 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 a t a - v - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 8 4 c 4 6 1 f " ; 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 _ _ 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 - 5 4 b a 5 2 7 a ] : : b e f o r e { 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 - - w i t h - t i t l e [ d a t a - v - 5 4 b a 5 2 7 a ] { p o s i t i o n : r e l a t i v e ; p a d d i n g - l e f t : 4
2021-03-17 11:45:22 +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/>.
*
2021-05-30 00:53:04 +03:00
* / e . d e f a u l t = r . a } , , , , , , , , , , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 2 ) , n ( 5 1 ) , n ( 6 9 ) , n ( 3 1 ) , n ( 7 1 ) , n ( 2 7 ) , n ( 7 2 ) , n ( 3 8 ) , n ( 6 ) , n ( 4 6 ) , n ( 1 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 5 2 ) , n ( 4 1 ) , n ( 1 4 ) ; v a r r = n ( 2 1 ) , a = n ( 3 3 ) , o = n ( 5 0 ) , i = n ( 1 2 ) , s = n ( 4 7 ) ; f u n c t i o n l ( t , e ) { ( n u l l = = e | | e > t . l e n g t h ) & & ( e = t . l e n g t h ) ; f o r ( v a r n = 0 , r = n e w A r r a y ( e ) ; n < e ; n + + ) r [ n ] = t [ n ] ; r e t u r n r } f u n c t i o n u ( 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 c ( 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 ? u ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { p ( 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 ) ) : u ( 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 } f u n c t i o n p ( 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 } v a r f = [ " 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 " ] , A = { n a m e : " A c t i o n s " , d i r e c t i v e s : { t o o l t i p : r . d e f a u l t } , c o m p o n e n t s : { P o p o v e r : s . d e f a u l t , V N o d e s : { f u n c t i o n a l : ! 0 , r e n d e r : f u n c t i o n ( t , e ) { r e t u r n e . p r o p s . v n o d e s } } } , 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 T i t l e : { t y p e : S t r i n g , d e f a u l t : n u l l } , 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 } , 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 ( i . b ) ( " A c t i o n s " ) } , p l a c e m e n t : { t y p e : S t r i n g , d e f a u l t : " b o t t o m " } , b o u n d a r i e s E l e m e n t : { t y p e : E l e m e n t , d e f a u l t : f u n c t i o n ( ) { r e t u r n d o c u m e n t . q u e r y S e l e c t o r ( " b o d y " ) } } , c o n t a i n e r : { t y p e : S t r i n g , d e f a u l t : " b o d y " } , d 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 } } , 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 ( a . a ) ( ) , 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 c ( c ( { 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 : t h i s . f i r s t A c t i o n . t a r g e t , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) ; i f ( " A c t i o n R o u t e r " = = = t ) r e t u r n c ( c ( { i s : " r o u t e r - l i n k " , t o : t h i s . f i r s t A c t i o n . t o , e x a c t : t h i s . f i r s t A c t i o n . e x a c t , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) ; i f ( " A c t i o n B u t t o n " = = = t ) r e t u r n c ( c ( { i s : " b u t t o n " , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) } r e t u r n n u l l } , f i r s t A c t i o n E v e n t : f u n c t i o n ( ) { v a r t , e , n ; r e t u r n n u l l = = = ( t = t h i s . f i r s t A c t i o n V N o d e ) | | v o i d 0 = = = t | | n u l l = = = ( e = t . c o m p o n e n t O p t i o n s ) | | v o i d 0 = = = e | | n u l l = = = ( n = e . l i s t e n e r s ) | | v o i d 0 = = = n ? v o i d 0 : n . c l i c k } , f i r s t A c t i o n E v e n t B i n d i n g : f u n c t i o n ( ) { r e t u r n t h i s . f i r s t A c t i o n E v e n t ? " c l i c k " : n u l l } , f i r s t A c t i o n I c o n S l o t : f u n c t i o n ( ) { v a r t , e ; r e t u r n n u l l = = = ( t = t h i s . f i r s t A c t i o n ) | | v o i d 0 = = = t | | n u l l = = = ( e = t . $ s l o t s ) | | v o i d 0 = = = e ? v o i d 0 : e . i c o n } , f i r s t A c t i o n C l a s s : f u n c t i o n ( ) { r e t u r n ( ( 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 . d a t a . s t a t i c C l a s s ) + " " + ( 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 . d a t a . c l a s s ) ) . t r i m ( ) } , i c o n S l o t I s P o p u l a t e d : f u n c t i o n ( ) { r e t u r n ! ! t h i s . $ s l o t s . i c o n } } , w a t c h : { o p e n : f u n c t i o n ( t ) { t ! = = t h i s . o p e n e d & & ( t h i s . o p e n e d = t ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , O b j e c t ( o . a ) ( t h i s . $ s l o t s . d e f a u l t , f , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , O b j e c t ( o . a ) ( t h i s . $ s l o t s . d e f a u l t , f , t h i s ) } , m e t h o d s : { o p e n M e n u : f u n c t i o n ( t ) { t h i s . o p e n e d | | ( t h i s . o p e n e d = ! 0 , t h i s . $ e m i t ( " u p d a t e : o p e n " , ! 0 ) , t h i s . $ e m i t ( " o p e n " ) ) } , c l o s e M e n u : f u n c t i o n ( t ) { t h i s . o p e n e d & & ( t h i s . o p e n e d = ! 1 , t h i s . $ e m i t ( " u p d a t e : o p e n " , ! 1 ) , t h i s . $ e m i t ( " c l o s e " ) , t h i s . o p e n e d = ! 1 , t h i s . f o c u s I n d e x = 0 , t h i s . $ r e f s . m e n u B u t t o n . f o c u s ( ) ) } , o n O p e n : f u n c t i o n ( t ) { v a r e = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . f o c u s F i r s t A c t i o n ( t ) } ) ) } , o n M o u s e F o c u s A c t i o n : f u n c t i o n ( t )
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ author 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* /e.default=r.a},2:function(t,e,n){"use strict";var r,a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),o=[];function i(t){for(var e=-1,n=0;n<o.length;n++)if(o[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],a=0;a<t.length;a++){var s=t[a],l=e.base?s[0]+e.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var p=i(c),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==p?(o[p].references++,o[p].updater(f)):o.push({identifier:c,updater:h(f,e),references:1}),r.push(c)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(e)}return e}var u,c=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function p(t,e,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=c(e,a);else{var o=document.createTextNode(a),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(o,i[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * / " ) ) , t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = r ; e l s e { f o r ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( r ) ) } } v a r A = n u l l , d = 0 ; f u n c t i o n h ( t , e ) { v a r n , r , a ; i f ( e . s i n g l e t o n ) { v a r o = d + + ; n = A | | ( A = l ( e ) ) , r = p . b i n d ( n u l l , n , o , ! 1 ) , a = p . b i n d ( n u l l , n , o , ! 0 ) } e l s e n = l ( e ) , r = f . b i n d ( n u l l , n , e ) , a = f u n c t i o n ( ) { ! f u n c t i o n ( t ) { i f ( n u l l = = = t . p a r e n t N o d e ) r e t u r n ! 1 ; t . p a r e n t N o d e . r e m o v e C h i l d ( t ) } ( n ) } ; r e t u r n r ( t ) , f u n c t i o n ( e ) { i f ( e ) { i f ( e . c s s = = = t . c s s & & e . m e d i a = = = t . m e d i a & & e . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; r ( t = e ) } e l s e a ( ) } } t . e x p o r t s = f u n c t i o n ( t , e ) { ( e = e | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f e . s i n g l e t o n | | ( e . s i n g l e t o n = ( v o i d 0 = = = r & & ( r = B o o l e a n ( w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b ) ) , r ) ) ; v a r n = s ( t = t | | [ ] , e ) ; r e t u r n f u n c t i o n ( t ) { i f ( t = t | | [ ] , " [ o b j e c t A r r a y ] " = = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( t ) ) { f o r ( v a r r = 0 ; r < n . l e n g t h ; r + + ) { v a r a = i ( n [ r ] ) ; o [ a ] . r e f e r e n c e s - - } f o r ( v a r l = s ( t , e ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = i ( n [ u ] ) ; 0 = = = o [ c ] . r e f e r e n c e s & & ( o [ c ] . u p d a t e r ( ) , o . s p l i c e ( c , 1 ) ) } n = l } } } } , 3 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e , n , r , a , o , i , s ) { v a r l , u = " f u n c t i o n " = = t y p e o f t ? t . o p t i o n s : t ; i f ( e & & ( u . r e n d e r = e , u . s t a t i c R e n d e r F n s = n , u . _ c o m p i l e d = ! 0 ) , r & & ( u . f u n c t i o n a l = ! 0 ) , o & & ( u . _ s c o p e I d = " d a t a - v - " + o ) , i ? ( l = f u n c t i o n ( t ) { ( t = t | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( t = _ _ V U E _ S S R _ C O N T E X T _ _ ) , a & & a . c a l l ( t h i s , t ) , t & & t . _ r e g i s t e r e d C o m p o n e n t s & & t . _ r e g i s t e r e d C o m p o n e n t s . a d d ( i ) } , u . _ s s r R e g i s t e r = l ) : a & & ( l = s ? f u n c t i o n ( ) { a . c a l l ( t h i s , ( u . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : a ) , l ) i f ( u . f u n c t i o n a l ) { u . _ i n j e c t S t y l e s = l ; v a r c = u . r e n d e r ; u . r e n d e r = f u n c t i o n ( t , e ) { r e t u r n l . c a l l ( e ) , c ( t , e ) } } e l s e { v a r p = u . b e f o r e C r e a t e ; u . b e f o r e C r e a t e = p ? [ ] . c o n c a t ( p , l ) : [ l ] } r e t u r n { e x p o r t s : t , o p t i o n s : u } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } } ) } , f u n c t i o n ( t , e , n ) { t . e x p o r t s = f u n c t i o n ( ) { v a r t = " u n d e f i n e d " ! = t y p e o f w i n d o w , e = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r , n = t & & ( " o n t o u c h s t a r t " i n w i n d o w | | e & & n a v i g a t o r . m s M a x T o u c h P o i n t s > 0 ) ? [ " t o u c h s t a r t " ] : [ " c l i c k " ] ; f u n c t i o n r ( t ) { v a r e = t . e v e n t , n = t . h a n d l e r ; ( 0 , t . m i d d l e w a r e ) ( e ) & & n ( e ) } f u n c t i o n a ( t , e ) { v a r a = f u n c t i o n ( t ) { v a r e = " f u n c t i o n " = = t y p e o f t ; i f ( ! e & & " o b j e c t " ! = t y p e o f t ) t h r o w n e w E r r o r ( " v - c l i c k - o u t s i d e : B i n d i n g v a l u e m u s t b e a f u n c t i o n o r a n o b j e c t " ) ; r e t u r n { h a n d l e r : e ? t : t . h a n d l e r , m i d d l e w a r e : t . m i d d l e w a r e | | f u n c t i o n ( t ) { r e t u r n t } , e v e n t s : t . e v e n t s | | n , i s A c t i v e : ! ( ! 1 = = = t . i s A c t i v e ) , d e t e c t I f r a m e : ! ( ! 1 = = = t . d e t e c t I f r a m e ) } } ( e . v a l u e ) , o = a . h a n d l e r , i = a . m i d d l e w a r e , s = a . d e t e c t I f r a m e ; i f ( a . i s A c t i v e ) { i
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ author Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* / n . r ( e ) , n ( 4 1 ) , n ( 6 ) , n ( 1 4 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 8 ) , n ( 4 6 ) , n ( 1 6 ) , n ( 1 8 ) , e . d e f a u l t = { p r o p s : { e x c l u d e C l i c k O u t s i d e C l a s s e s : { t y p e : S t r i n g | A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } } , m e t h o d s : { c l i c k O u t s i d e M i d d l e w a r e : f u n c t i o n ( t ) { v a r e = A r r a y . i s A r r a y ( t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ) ? t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s : [ t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ] ; r e t u r n 0 = = = e . l e n g t h | | ! t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( t . t a r g e t , e ) } , h a s N o d e O r A n y P a r e n t C l a s s : f u n c t i o n ( t , e ) { v a r n , a = r ( e ) ; t r y { f o r ( a . s ( ) ; ! ( n = a . n ( ) ) . d o n e ; ) { v a r o , i = n . v a l u e ; i f ( n u l l ! = t & & n u l l ! = = ( o = t . c l a s s L i s t ) & & v o i d 0 ! = = o & & o . c o n t a i n s ( i ) ) r e t u r n ! 0 } } c a t c h ( t ) { a . e ( t ) } f i n a l l y { a . f ( ) } r e t u r n ! ! t . p a r e n t E l e m e n t & & t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( t . p a r e n t E l e m e n t , e ) } } } } } ) } , f u n c t i o n ( t , e , n ) { w i n d o w , t . e x p o r t s = f u n c t i o n ( t ) { v a r e = { } ; f u n c t i o n n ( r ) { i f ( e [ r ] ) r e t u r n e [ r ] . e x p o r t s ; v a r a = e [ r ] = { i : r , l : ! 1 , e x p o r t s : { } } ; r e t u r n t [ r ] . c a l l ( a . e x p o r t s , a , a . e x p o r t s , n ) , a . l = ! 0 , a . e x p o r t s } r e t u r n n . m = t , n . c = e , n . d = f u n c t i o n ( t , e , r ) { n . o ( t , e ) | | O b j e c t . d e f i n e P r o p e r t y ( t , e , { e n u m e r a b l e : ! 0 , g e t : r } ) } , n . r = f u n c t i o n ( t ) { " u n d e f i n e d " ! = t y p e o f S y m b o l & & S y m b o l . t o S t r i n g T a g & & O b j e c t . d e f i n e P r o p e r t y ( t , S y m b o l . t o S t r i n g T a g , { v a l u e : " M o d u l e " } ) , O b j e c t . d e f i n e P r o p e r t y ( t , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) } , n . t = f u n c t i o n ( t , e ) { i f ( 1 & e & & ( t = n ( t ) ) , 8 & e ) r e t u r n t ; i f ( 4 & e & & " o b j e c t " = = t y p e o f t & & t & & t . _ _ e s M o d u l e ) r e t u r n t ; v a r r = O b j e c t . c r e a t e ( n u l l ) ; i f ( n . r ( r ) , O b j e c t . d e f i n e P r o p e r t y ( r , " d e f a u l t " , { e n u m e r a b l e : ! 0 , v a l u e : t } ) , 2 & e & & " s t r i n g " ! = t y p e o f t ) f o r ( v a r a i n t ) n . d ( r , a , f u n c t i o n ( e ) { r e t u r n t [ e ] } . b i n d ( n u l l , a ) ) ; r e t u r n r } , n . n = f u n c t i o n ( t ) { v a r e = t & & t . _ _ e s M o d u l e ? f u n c t i o n ( ) { r e t u r n t . d e f a u l t } : f u n c t i o n ( ) { r e t u r n t } ; r e t u r n n . d ( e , " a " , e ) , e } , n . o = f u n c t i o n ( t , e ) { r e t u r n O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( t , e ) } , n . p = " / d i s t / " , n ( n . s = 7 4 ) } ( { 1 5 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 0 ) } , 2 4 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 3 6 ) } , 2 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 5 ) } , 3 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e , n , r , a , o , i , s ) { v a r l , u = " f u n c t i o n " = = t y p e o f t ? t . o p t i o n s : t ; i f ( e & & ( u . r e n d e r = e , u . s t a t i c R e n d e r F n s = n , u . _ c o m p i l e d = ! 0 ) , r & & ( u . f u n c t i o n a l = ! 0 ) , o & & ( u . _ s c o p e I d = " d a t a - v - " + o ) , i ? ( l = f u n c t i o n ( t ) { ( t = t | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( t = _ _ V U E _ S S R _ C O N T E X T _ _ ) , a & & a . c a l l ( t h i s , t ) , t & & t . _ r e g i s t e r e d C o m p o n e n t s & & t . _ r e g i s t e r e d C o m p o n e n t s . a d d ( i ) } , u . _ s s r R e g i s t e r = l ) : a & & ( l = s ? f u n c t i o n ( ) { a . c a l l ( t h i s , ( u . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : a ) , l ) i f ( u . f u n c t i o n a l ) { u . _ i n j e c t S t y l e s = l ; v a r c = u . r e n d e r ; u . r e n d e r = f u n c t i o n ( t , e ) { r e t u r n l . c a l l ( e ) , c ( t , e ) } } e l s e { v a r p = u . b e f o r e C r e a t e ; u . b e f o r e C r e a t e = p ? [ ] . c o n c a t ( p , l ) : [ l ] } r e t u r n { e x p o r t s : t , o p t i o n s : u } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } , 3 1 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 6 5 ) } , 5 1 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 9 0 ) } , 6 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 2 ) } , 7 0 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / e . a = f u n c t i o n ( t , e ) { f o r ( v a r n = [ ] , r = 0 , a = t . t o L o w e r C a s e ( ) . i n d e x O f ( e . t o L o w e r C a s e ( ) , r ) , o = 0 ; a > - 1 & & o < t . l e n g t h ; ) r = a + e . l e n g t h , n . p u s h ( { s t a r t : a , e n d : r } ) , a = t . t o L o w e r C a s e ( ) . i n d e x O f ( e . t o L o w e r C a s e ( ) , a + 1 ) , o + + ; r e t u r n n } } , 7 1 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 9 9 ) } , 7 2 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 0 ) } , 7 4 : 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 ( 9 8 ) , n ( 9 3 ) , n ( 2 4 ) , n ( 6 9 ) , n ( 3 1 ) , n ( 5 1 ) , n ( 7 1 ) , n ( 2 7 ) , n ( 7 2 ) ; v a r r = n ( 7 0 ) ; f u n c t i o n a ( 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 o ( 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 ? a ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { i ( 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 ) ) : a ( 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 } f u n c t i o n i ( 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 } v a r s = { n a m e : " H i g h l i g h t " , p r o p s : { t e x t : { t y p e : S t r i n g , d e f a u l t : " " } , s e a r c h : { t y p e : S t r i n g , d e f a u l t : " " } , h i g h l i g h t : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } } , c o m p u t e d : { r a n g e s : f u n c t i o n ( ) { v a r t = t h i s , e = [ ] ; r e t u r n t h i s . s e a r c h | | 0 ! = = t h i s . h i g h l i g h t . l e n g t h ? ( e = t h i s . h i g h l i g h t . l e n g t h > 0 ? t h i s . h i g h l i g h t : O b j e c t ( r . a ) ( t h i s . t e x t , t h i s . s e a r c h ) ) . r e d u c e ( ( f u n c t i o n ( e , n ) { r e t u r n n . s t a r t < t . t e x t . l e n g t h & & n . e n d > 0 & & e . p u s h ( { s t a r t : n . s t a r t < 0 ? 0 : n . s t a r t , e n d : n . e n d > t . t e x t . l e n g t h ? t . t e x t . l e n g t h : n . e n d } ) , e } ) , [ ] ) : e } , c h u n k s : f u n c t i o n ( ) { i f ( 0 = = = t h i s . r a n g e s . l e n g t h ) r e t u r n [ { s t a r t : 0 , e n d : t h i s . t e x t . l e n g t h , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t } ] ; f o r ( v a r t = [ ] , e = 0 , n = 0 ; e < t h i s . t e x t . l e n g t h ; ) { v a r r = t h i s . r a n g e s [ n ] ; r . s t a r t ! = = e ? ( t . p u s h ( { s t a r t : e , e n d : r . s t a r t , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t . s u b s t r ( e , r . s t a r t - e ) } ) , e = r . s t a r t ) : ( t . p u s h ( o ( o ( { } , r ) , { } , { h i g h l i g h t : ! 0 , t e x t : t h i s . t e x t . s u b s t r ( r . s t a r t , r . e n d - r . s t a r t ) } ) ) , n + + , e = r . e n d , n > = t h i s . r a n g e s . l e n g t h & & e < t h i s . t e x t . l e n g t h & & ( t . p u s h ( { s t a r t : e , e n d : t h i s . t e x t . l e n g t h , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t . s u b s t r ( e , t h i s . t e x t . l e n g t h - e ) } ) , e = t h i s . t e x t . l e n g t h ) ) } r e t u r n t } } , r e n d e r : f u n c t i o n ( t ) { r e t u r n t h i s . r a n g e s . l e n g t h ? t ( " s p a n " , { } , t h i s . c h u n k s . m a p ( ( f u n c t i o n ( e ) { r e t u r n e . h i g h l i g h t ? t ( " s t r o n g " , { } , e . t e x t ) : e . t e x t } ) ) ) : t ( " s p a n " , { } , t h i s . t e x t ) } } , l = n ( 3 ) , u = n ( 7 8 ) , c = n . n ( u ) , p = O b j e c t ( l . a ) ( s , v o i d 0 , v o i d 0 , ! 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 ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / e . d e f a u l t = f } , 7 8 : f u n c t i o n ( t , e ) { } , 9 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 3 7 ) } , 9 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 6 2 2 ) } } ) } , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , f u n c t i o n ( t ) { n . d ( e , " V C l o s e P o p o v e r " , ( f u n c t i o n ( ) { r e t u r n s t } ) ) , n . d ( e , " V P o p o v e r " , ( f u n c t i o n ( ) { r e t u r n l t } ) ) , n . d ( e , " V T o o l t i p " , ( f u n c t i o n ( ) { r e t u r n i t } ) ) , n . d ( e , " c r e a t e T o o l t i p " , ( f u n c t i o n ( ) { r e t u r n F } ) ) , n . d ( e , " d e s t r o y T o o l t i p " , ( f u n c t i o n ( ) { r e t u r n D } ) ) , n . d ( e , " i n s t a l l " , ( f u n c t i o n ( ) { r e t u r n o t } ) ) ; v a r r = n ( 4 8 1 ) , a = n . n ( r ) , o = n ( 2 3 4 ) , i = n . n ( o ) , s = n ( 6 9 0 ) , l = n . n ( s ) , u = n ( 6 9 1 ) , c = n . n ( u ) , p = n ( 2 2 8 ) , f = n ( 6 9 2 ) , A = n . n ( f ) , d = n ( 6 9 3 ) , h = n ( 6 9 4 ) , m = n . n ( h ) , g = f u n c t i o n ( ) { } ; f u n c t i o n v ( t ) { r e t u r n " s t r i n g " = = t y p e o f t & & ( t = t . s p l i t ( " " ) ) , t } f u n c t i o n y ( t , e ) { v a r n , r = v ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f g ? v ( t . c l a s s N a m e . b a s e V a l ) : v ( t . c l a s s N a m e ) , r . f o r E a c h ( ( f u n c t i o n ( t ) { - 1 = = = n . i n d e x O f ( t ) & & n . p u s h ( t ) } ) ) , t i n s t a n c e o f S V G E l e m e n t ? t . s e t A t t r i b u t e ( " c l a s s " , n . j o i n ( " " ) ) : t . c l a s s N a m e = n . j o i n ( " " ) } f u n c t i o n b ( t , e ) { v a r n , r = v ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f g ? v ( t . c l a s s N a m e . b a s e V a l ) : v ( t . c l a s s N a m e ) , r . f o r E a c h ( ( f u n c t i o n ( t ) { v a r e = n . i n d e x O f ( t ) ; - 1 ! = = e & & n . s p l i c e ( e , 1 ) } ) ) , t i n s t a n c e o f S V G E l e m e n t ? t . s e t A t t r i b u t e ( " c l a s s " , n . j o i n ( " " ) ) : t . c l a s s N a m e = n . j o i n ( " " ) } " u n d e f i n e d " ! = t y p e o f w i n d o w & & ( g = w i n d o w . S V G A n i m a t e d S t r i n g ) ; v a r x = ! 1 ; i f ( " u n d e f i n e d " ! = t y p e o f w i n d o w ) { x = ! 1 ; t r y { v a r w = O b j e c t . d e f i n e P r o p e r t y ( { } , " p a s s i v e " , { g e t : f u n c t i o n ( ) { x = ! 0 } } ) ; w i n d o w . a d d E v e n t L i s t e n e r ( " t e s t " , n u l l , w ) } c a t c h ( t ) { } } f u n c t i o n C ( 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 T ( 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 ? C ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { i ( ) ( 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 ) ) : C ( 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 } v a r E = { c o n t a i n e r : ! 1 , d e l a y : 0 , h t m l : ! 1 , p l a c e m e n t : " t o p " , t i t l e : " " , t e m p l a t e : ' < d i v c l a s s = " t o o l t i p " r o l e = " t o o l t i p " > < d i v c l a s s = " t o o l t i p - a r r o w " > < / d i v > < d i v c l a s s = " t o o l t i p - i n n e r " > < / d i v > < / d i v > ' , t r i g g e r : " h o v e r f o c u s " , o f f s e t : 0 } , _ = [ ] , S = f u n c t i o n ( ) { f u n c t i o n t ( e , n ) { v a r r = t h i s ; l ( ) ( t h i s , t ) , i ( ) ( t h i s , " _ e v e n t s " , [ ] ) , i ( ) ( t h i s , " _ s e t T o o l t i p N o d e E v e n t " , ( f u n c t i o n ( t , e , n , a ) { v a r o = t . r e l a t e d r e f e r e n c e | | t . t o E l e m e n t | | t . r e l a t e d T a r g e t ; r e t u r n ! ! r . _ t o o l t i p N o d e . c o n t a i n s ( o ) & & ( r . _ t o o l t i p N o d e . a d d E v e n t L i s t e n e r ( t . t y p e , ( f u n c t i o n n ( o ) { v a r i = o . r e l a t e d r e f e r e n c e | | o . t o E l e m e n t | | o . r e l a t e d T a r g e t ; r . _ t o o l t i p N o d e . r e m o v e E v e n t L i s t e n e r ( t . t y p e , n ) , e . c o n t a i n s ( i ) | | r . _ s c h e d u l e H i d e ( e , a . d e l a y , a , o ) } ) ) , ! 0 ) } ) ) , n = T ( T ( { } , E ) , n ) , e . j q u e r y & & ( e = e [ 0 ] ) , t h i s . s h o w = t h i s . s h o w . b i n d ( t h i s ) , t h i s . h i d e = t h i s . h i d e . b i n d ( t h i s ) , t h i s . r e f e r e n c e = e , t h i s . o p t i o n s = n , t h i s . _ i s O p e n = ! 1 , t h i s . _ i n i t ( ) } r e t u r n c ( ) ( t , [ { k e y : " s h o w " , v a l u e : f u n c t i o n ( ) { t h i s . _ s h o w ( t h i s . r e f e r e n c e , t h i s . o p t i o n s ) } } , { k e y : " h i d e " , v a l u e : f u n c t i o n ( ) { t h i s . _ h i d e ( ) } } , { k e y : " d i s p o s e " , v a l u e : f u n c t i o n ( ) { t h i s . _ d i s p o s e ( ) } } , { k e y : " t o g g l e " , v a l u e : f u n c t i o n ( ) { r e t u r n t h i s . _ i s O p e n ? t h i s . h i d e ( ) : t h i s . s h o w ( ) } } , { k e y : " s e t C l a s s e s " , v a l u e : f u n c t i o n ( t ) { t h i s . _ c l a s s e s = t } } , { k e y : " s e t C o n t e n t " , v a l u e : f u n c t i o n ( t ) { t h i s . o p t i o n s . t i t l e = t , t h i s . _ t o o l t i p N o d e & & t h i s . _ s e t C o n t e n t ( t , t h i s . o p t i o n s ) } } , { k e y : " s e t O p t i o n s " , v a l u e : f u n c t i o n ( t ) { v a r e = ! 1 , n = t & & t . c l a s s e s | | U . o p t i o n s . d e f a u l t C l a s s ; A ( ) ( t h i s . _ c l a s s e s , n ) | | ( t h i s . s e t C l a s s e s ( n ) , e = ! 0 ) , t = N ( t ) ; v a r r = ! 1 , a = ! 1 ; f o r ( v a r o i n t h i s . o p t i o n s . o f f s e t = = = t . o f f s e t & & t h i s . o p t i o n s . p l a c e m e n t = = = t . p l a c e m e n t | | ( r = ! 0 ) , ( t h i s . o p t i o n s . t e m p l a t e ! = = t . t e m p l a t e | | t h i s . o p t i o n s . t r i g g e r ! = = t . t r i g g e r | | t h i s . o p t i o n s . c o n t a i n e r ! = = t . c o n t a i n e r | | e ) & & ( a = ! 0 ) , t ) t h i s . o p t i o n s [ o ] = t [ o ] ; i f ( t h i s . _ t o o l t i p N o d e ) i f ( a ) { v a r i = t h i s . _ i s O p e n ; t h i s . d i s p o s e ( ) , t h i s . _ i n i t ( ) , i & & t h i s . s h o w ( ) } e l s e r & & t h i s . p o p p e r I n s t a n c e . u p d a t e ( ) } } , { k e y : " _ i n i t " , v a l u e : f u n c t i o n ( ) { v a r t = " s t r i n g " = = t y p e o f t h i s . o p t i o n s . t r i g g e r ? t h i s . o p t i o n s . t r i g g e r . s p l i t ( " " ) : [ ] ; t h i s . _ i s D i s p o s e d = ! 1 , t h i s . _ e n a b l e D o c u m e n t T o u c h = - 1 = = = t . i n d e x O f ( " m a n u a l " ) , t = t . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n - 1 ! = = [ " c l i c k " , " h o v e
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright 2020 , John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-03-31 13:34:13 +03:00
* @ author Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author Daniel Calviño Sánchez < danxuliu @ gmail . com >
* @ author Joas Schilling < coding @ schilljs . com >
2021-03-17 11:45:22 +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
2021-03-31 13:34:13 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-21 17:53:02 +03:00
* /
2021-05-30 00:53:04 +03:00
const A = Object ( c . loadState ) ( "unified-search" , "limit-default" ) , d = /[^-]in:([a-z_-]+)/gi , h = /-in:([a-z_-]+)/gi ; async function m ( ) { try { const { data : t } = await f . a . get ( Object ( a . generateOcsUrl ) ( "search" , 2 ) + "providers" , { params : { from : window . location . pathname . replace ( "/index.php" , "" ) + window . location . search } } ) ; if ( "ocs" in t && "data" in t . ocs && Array . isArray ( t . ocs . data ) && t . ocs . data . length > 0 ) return t . ocs . data } catch ( t ) { console . error ( t ) } return [ ] } function g ( { type : t , query : e , cursor : n } ) { const r = f . a . CancelToken . source ( ) ; return { request : async ( ) => f . a . get ( Object ( a . generateOcsUrl ) ( "search" , 2 ) + "providers/" . concat ( t , "/search" ) , { cancelToken : r . token , params : { term : e , cursor : n , from : window . location . pathname . replace ( "/index.php" , "" ) + window . location . search } } ) , cancel : r . cancel } } var v = r ( 42 ) , y = r ( 688 ) , b = r . n ( y ) , x = r ( 689 ) , w = r . n ( x ) , C = r ( 695 ) , T = r . n ( C ) , E = r ( 696 ) , _ = r . n ( E ) , S = { name : "MagnifyIcon" , props : { title : { type : String , default : "Magnify icon" } , decorative : { type : Boolean , default : ! 1 } , fillColor : { type : String , default : "currentColor" } , size : { type : Number , default : 24 } } } , I = r ( 46 ) , k = Object ( I . a ) ( S , ( function ( t , e ) { var n = e . _c ; return n ( "span" , e . _g ( e . _b ( { staticClass : "material-design-icon magnify-icon" , class : [ e . data . class , e . data . staticClass ] , attrs : { "aria-hidden" : e . props . decorative , "aria-label" : e . props . title , role : "img" } } , "span" , e . data . attrs , ! 1 ) , e . listeners ) , [ n ( "svg" , { staticClass : "material-design-icon__svg" , attrs : { fill : e . props . fillColor , width : e . props . size , height : e . props . size , viewBox : "0 0 24 24" } } , [ n ( "path" , { attrs : { d : "M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" } } , [ n ( "title" , [ e . _v ( e . _s ( e . props . title ) ) ] ) ] ) ] ) ] ) } ) , [ ] , ! 0 , null , null , null ) . exports , O = r ( 697 ) , M = r ( 698 ) , B = r . n ( M ) , N = { name : "HeaderMenu" , directives : { ClickOutside : O . directive } , mixins : [ B . a ] , props : { id : { type : String , required : ! 0 } , open : { type : Boolean , default : ! 1 } } , data ( ) { return { opened : this . open , clickOutsideConfig : { handler : this . closeMenu , middleware : this . clickOutsideMiddleware } } } , watch : { open ( t ) { this . opened = t , this . $nextTick ( ( ) => { this . opened ? this . openMenu ( ) : this . closeMenu ( ) } ) } } , mounted ( ) { document . addEventListener ( "keydown" , this . onKeyDown ) } , beforeDestroy ( ) { document . removeEventListener ( "keydown" , this . onKeyDown ) } , methods : { toggleMenu ( ) { this . opened ? this . closeMenu ( ) : this . openMenu ( ) } , closeMenu ( ) { this . opened && ( this . opened = ! 1 , this . $emit ( "close" ) , this . $emit ( "update:open" , ! 1 ) ) } , openMenu ( ) { this . opened || ( this . opened = ! 0 , this . $emit ( "open" ) , this . $emit ( "update:open" , ! 0 ) ) } , onKeyDown ( t ) { "Escape" === t . key && this . opened && ( t . preventDefault ( ) , this . $emit ( "cancel" ) , this . opened = ! 1 , this . $emit ( "update:open" , ! 1 ) ) } } } , j = r ( 25 ) , L = r . n ( j ) , F = r ( 642 ) , D = { insert : "head" , singleton : ! 1 } , P = ( L ( ) ( F . a , D ) , F . a . locals , Object ( I . a ) ( N , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { directives : [ { name : "click-outside" , rawName : "v-click-outside" , value : t . clickOutsideConfig , expression : "clickOutsideConfig" } ] , staticClass : "header-menu" , class : { "header-menu--opened" : t . opened } , attrs : { id : t . id } } , [ n ( "a" , { staticClass : "header-menu__trigger" , attrs : { href : "#" , "aria-controls" : "header-menu-" + t . id , "aria-expanded" : t . opened , "aria-haspopup" : "true" } , on : { click : function ( e ) { return e . preventDefault ( ) , t . toggleMenu ( e ) } } } , [ t . _t ( "trigger" ) ] , 2 ) , t . _v ( " " ) , t . opened ? n ( "div" , { staticClass : "header-menu__wrapper" , attrs : { id : "header-menu-" + t . id , role : "menu" } } , [ n ( "div" , { staticClass : "header-menu__carret" } ) , t . _v ( " " ) , n ( "div" , { staticClass : "header-menu__content" } , [ t . _t ( "default" ) ] , 2 ) ] ) : t . _e ( ) ] ) } ) , [ ] , ! 1 , null , "a58f012a" , null ) . exports ) , U = r ( 699 ) , R = { name : "SearchResult" , components : { Highlight : r . n ( U ) . a } , props : { thumbnailUrl : { type : String , default : null } , title : { type : String , required : ! 0 } , subline : { type : String , default : null } , resourceUrl : { type : String , default : null } , icon : { type : String , default : "" } , rounded : { type : Boolean , default : ! 1 } , query : { type : String , default : "" } , focused : { type : Boolean , default : ! 1 } } , data ( ) { return { hasValidThumbnail : this . thumbnailUrl && "" !== this . thumbnailUrl . trim ( ) , loaded : ! 1 } } , computed : { isIconUrl ( ) { if ( this . icon . startsWith ( "/" ) ) return ! 0 ; try { new URL ( th
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 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
2021-03-31 13:34:13 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-03-17 11:45:22 +03:00
* /
2021-05-29 13:14:51 +03:00
r . nc = btoa ( Object ( i . getRequestToken ) ( ) ) , r . p = Object ( a . generateFilePath ) ( "core" , "" , "js/" ) ; const X = Object ( o . getLoggerBuilder ) ( ) . setApp ( "unified-search" ) . detectUser ( ) . build ( ) ; l . default . mixin ( { data : ( ) => ( { logger : X } ) , methods : { t : s . translate , n : s . translatePlural } } ) ; n . default = new l . default ( { el : "#unified-search" , name : "UnifiedSearchRoot" , render : t => t ( J ) } ) } ] ) ;
2020-08-03 13:54:37 +03:00
//# sourceMappingURL=unified-search.js.map