2021-04-08 15:51:24 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . 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 o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 354 ) } ( [ 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 ( 21 ) ) } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { var r = n ( 0 ) , o = n ( 56 ) , i = n ( 6 ) , s = n ( 57 ) , a = n ( 92 ) , c = n ( 139 ) , l = o ( "wks" ) , A = r . Symbol , u = c ? A : A && A . withoutSetter || s ; t . exports = function ( t ) { return i ( l , t ) && ( a || "string" == typeof l [ t ] ) || ( a && i ( A , t ) ? l [ t ] = A [ t ] : l [ t ] = u ( "Symbol." + t ) ) , l [ t ] } } , function ( t , e , n ) { var r = n ( 0 ) , o = n ( 33 ) . f , i = n ( 15 ) , s = n ( 14 ) , a = n ( 64 ) , c = n ( 136 ) , l = n ( 58 ) ; t . exports = function ( t , e ) { var n , A , u , m , d , p = t . target , g = t . global , f = t . stat ; if ( n = g ? r : f ? r [ p ] || a ( p , { } ) : ( r [ p ] || { } ) . prototype ) for ( A in e ) { if ( m = e [ A ] , u = t . noTargetGet ? ( d = o ( n , A ) ) && d . value : n [ A ] , ! l ( g ? A : p + ( f ? "." : "#" ) + A , t . forced ) && void 0 !== u ) { if ( typeof m == typeof u ) continue ; c ( m , u ) } ( t . sham || u && u . sham ) && i ( m , "sham" , ! 0 ) , s ( n , A , m , t ) } } } , function ( t , e , n ) { var r = n ( 5 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e ) { var n = { } . hasOwnProperty ; t . exports = function ( t , e ) { return n . call ( t , e ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 124 ) , o = Object . prototype . toString ; function i ( t ) { return "[object Array]" === o . call ( t ) } function s ( t ) { return void 0 === t } function a ( t ) { return null !== t && "object" == typeof t } function c ( t ) { if ( "[object Object]" !== o . call ( t ) ) return ! 1 ; var e = Object . getPrototypeOf ( t ) ; return null === e || e === Object . prototype } function l ( t ) { return "[object Function]" === o . call ( t ) } function A ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , i ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var o in t ) Object . prototype . hasOwnProperty . call ( t , o ) && e . call ( null , t [ o ] , o , t ) } t . exports = { isArray : i , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === o . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! s ( t ) && null !== t . constructor && ! s ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : a , isPlainObject : c , isUndefined : s , isDate : function ( t ) { return "[object Date]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : l , isStream : function ( t ) { return a ( t ) && l ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : A , merge : function t ( ) { var e = { } ; function n ( n , r ) { c ( e [ r ] ) && c ( n ) ? e [ r ] = t ( e [ r ] , n ) : c ( n ) ? e [ r ] = t ( { } , n ) : i ( n ) ? e [ r ] = n . slice ( ) : e [ r ] = n } for ( var r = 0 , o = argume
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-04-08 15:51:24 +03:00
var r = Object . freeze ( { } ) ; function o ( t ) { return null == t } function i ( t ) { return null != t } function s ( t ) { return ! 0 === t } function a ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var l = Object . prototype . toString ; function A ( t ) { return "[object Object]" === l . call ( t ) } function u ( t ) { return "[object RegExp]" === l . call ( t ) } function m ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function d ( t ) { return i ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function p ( t ) { return null == t ? "" : Array . isArray ( t ) || A ( t ) && t . toString === l ? JSON . stringify ( t , null , 2 ) : String ( t ) } function g ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function f ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } f ( "slot,component" , ! 0 ) ; var h = f ( "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 b = Object . prototype . hasOwnProperty ; function C ( t , e ) { return b . call ( t , e ) } function y ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var x = /-(\w)/g , w = y ( ( function ( t ) { return t . replace ( x , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , E = y ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , k = /\B([A-Z])/g , M = y ( ( function ( t ) { return t . replace ( k , "-$1" ) . toLowerCase ( ) } ) ) ; var T = 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 B ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function S ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function I ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && S ( e , t [ n ] ) ; return e } function P ( t , e , n ) { } var j = function ( t , e , n ) { return ! 1 } , N = function ( t ) { return t } ; function _ ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var o = Array . isArray ( t ) , i = Array . isArray ( e ) ; if ( o && i ) return t . length === e . length && t . every ( ( function ( t , n ) { return _ ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || i ) return ! 1 ; var s = Object . keys ( t ) , a = Object . keys ( e ) ; return s . length === a . length && s . every ( ( function ( n ) { return _ ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function D ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( _ ( t [ n ] , e ) ) return n ; return - 1 } function O ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var L = [ "component" , "directive" , "filter" ] , U = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , F = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : j , isReservedAttr : j , isUnknownElement : j , getTagNamespace : P , parsePlatformTagName : N , mustUseProp : j , async : ! 0 , _lifecycleHooks : U } , z = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function Q ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var R = new RegExp ( "[^" + z . source + ".$_\\d]" ) ; var G , Y = "__proto__" in { } , $ = "undefined" != typeof window , H = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = H && WXEnvironment . platform . toLowerCase ( ) , Z = $ && window . navigator . userAgent . toLowerCase ( ) , J = Z && /msie|trident/ . test ( Z ) , V = Z && Z . indexOf ( "msie 9.0" ) > 0 , X = Z && Z . indexOf ( "edge/" ) > 0 , K = ( Z && Z . indexOf ( "android" ) , Z && /iphone|ipad|ipod|ios/ . test ( Z ) || "ios" === W ) , q = ( Z && /chrome\/\d+/ . test ( Z ) , Z && /phantomjs/ . test ( Z ) , Z && Z . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( $ ) 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 === G && ( G = ! $ && ! H && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , G } , ot = $ && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function it ( t ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2021-04-08 15:51:24 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,o=r.exec(n);if(!o)return n;var i=" ",s=0,a=0;for(s=o.index;s<n.length;s++){switch(n.charCodeAt(s)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}a!==s&&(i+=n.substring(a,s)),a=s+1,i+=e}return a!==s?i+n.substring(a,s):i}},function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return 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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=" / dist / ",n(n.s=76)}([function(t,e,n){" use strict ";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(" undefined "!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||function(t,e){if(t){if(" string "==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return" Object "===n&&t.constructor&&(n=t.constructor.name)," Map "===n||" Set "===n?Array.from(t):" Arguments "===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t,e)||function(){throw new TypeError(" Invalid attempt to destructure non - iterable instance . \ nIn order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}t.exports=function(t){var e=r(t,4),n=e[1],o=e[3];if(" function "==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s=" sourceMappingURL = data : application / json ; charset = utf - 8 ; base64 , ".concat(i),a=" /*# ".concat(s," */ "),c=o.sources.map((function(t){return" /*# sourceURL=".concat(o.sourceRoot||"").concat(t," */ ")}));return[n].concat(c).concat([a]).join(" \ n ")}return[n].join(" \ n ")}},function(t,e,n){" use strict ";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?" @ media ".concat(e[2]," { ").concat(n," } "):n})).join(" ")},e.i=function(t,n,r){" string "==typeof t&&(t=[[null,t," "]]);var o={};if(r)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);r&&o[c[0]]||(n&&(c[2]?c[2]=" ".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},function(t,e,n){" use strict ";var r,o=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]}}(),i=[];function s(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function a(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],l=n[c]||0,A=" ".concat(c," ").concat(l);n[c]=l+1;var u=s(A),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:A,updater:g(m,e),references:1}),r.push(A)}return r}function c(t){var e=document.createElement(" style "),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])}))," function "==typeof t.insert)t.insert(e);else{var s=o(t.insert||" head " ) ; if ( ! s ) throw new
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 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/>.
*
* / v a r d = { d a t a : f u n c t i o n ( ) { r e t u r n { h a s S t a t u s : ! 1 , u s e r S t a t u s : { s t a t u s : n u l l , m e s s a g e : n u l l , i c o n : n u l l } } } , m e t h o d s : { f e t c h U s e r S t a t u s : f u n c t i o n ( t ) { v a r e , n = t h i s ; r e t u r n ( e = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r r , o , i , s , a , m , d , p , g ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : i f ( r = O b j e c t ( A . g e t C a p a b i l i t i e s ) ( ) , 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 ( r , " u s e r _ s t a t u s " ) & & r . u s e r _ s t a t u s . e n a b l e d ) { e . n e x t = 3 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 3 : i f ( O b j e c t ( u . g e t C u r r e n t U s e r ) ( ) ) { e . n e x t = 5 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 5 : r e t u r n e . p r e v = 5 , e . n e x t = 8 , c . a . g e t ( O b j e c t ( l . g e n e r a t e O c s U r l ) ( " a p p s / u s e r _ s t a t u s / a p i / v 1 " , 2 ) + " s t a t u s e s / " . c o n c a t ( e n c o d e U R I C o m p o n e n t ( t ) ) ) ; c a s e 8 : o = e . s e n t , i = o . d a t a , s = i . o c s . d a t a , a = s . s t a t u s , m = s . m e s s a g e , d = s . i c o n , n . u s e r S t a t u s . s t a t u s = a , n . u s e r S t a t u s . m e s s a g e = m | | " " , n . u s e r S t a t u s . i c o n = d | | " " , n . h a s S t a t u s = ! 0 , e . n e x t = 2 2 ; b r e a k ; c a s e 1 7 : i f ( e . p r e v = 1 7 , e . t 0 = e . c a t c h ( 5 ) , 4 0 4 ! = = e . t 0 . r e s p o n s e . s t a t u s | | 0 ! = = ( n u l l = = = ( p = e . t 0 . r e s p o n s e . d a t a . o c s ) | | v o i d 0 = = = p | | n u l l = = = ( g = p . d a t a ) | | v o i d 0 = = = g ? v o i d 0 : g . l e n g t h ) ) { e . n e x t = 2 1 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 2 1 : c o n s o l e . e r r o r ( e . t 0 ) ; c a s e 2 2 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 5 , 1 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n s ( t ) { m ( i , r , o , s , a , " n e x t " , t ) } f u n c t i o n a ( t ) { m ( i , r , o , s , a , " t h r o w " , t ) } s ( v o i d 0 ) } ) ) } ) ( ) } } } ;
/ * *
* @ 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/>.
*
* / } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 7 ) } , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 0 7 ) } , , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 8 ) } , 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 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / P o p o v e r M e n u I t e m . v u e " ] , n a m e s : [ ] , m a p p i n g s : " ; A A 4 H A ; C A C A , g B A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , u B A A A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , 4 C A A A ; C A C A , g B A A A ; A A C A " , s o u r c e s C o n t e n t : [ ' \ x 3 c ! - - \ n - @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 8 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 - \ 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 , o r ( a t y o u r o p t i o n ) 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 d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n - b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n - M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n - 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 f o r m o r e d e t a i l s . \ n - \ n - Y o u s h o u l d h a v e r e c e i v e d a c o p y 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 \ n - a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n - \ n - - \ x 3 e \ n \ n < t e m p l a t e > \ n \ t < l i c l a s s = " p o p o v e r _ _ m e n u i t e m " > \ n \ t \ t \ x 3 c ! - - I f i t e m . h r e f i s s e t , a l i n k w i l l b e d i r e c t l y u s e d - - \ x 3 e \ n \ t \ t < a v - i f = " i t e m . h r e f " \ n \ t \ t \ t : h r e f = " ( i t e m . h r e f ) ? i t e m . h r e f : \ ' # \ ' " \ n \ t \ t \ t : t a r g e t = " ( i t e m . t a r g e t ) ? i t e m . t a r g e t : \ ' \ ' " \ n \ t \ t \ t : d o w n l o a d = " i t e m . d o w n l o a d " \ n \ t \ t \ t c l a s s = " f o c u s a b l e " \ n \ t \ t \ t r e l = " n o r e f e r r e r n o o p e n e r " \ n \ t \ t \ t @ c l i c k = " a c t i o n " > \ n \ t \ t \ t < s p a n v - i f = " ! i c o n I s U r l " : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < i m g v - e l s e : s r c = " i t e m . i c o n " > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n \ t \ t \ t < / p > \ n \ t \ t \ t < s p a n v - e l s e - i f = " i t e m . t e x t " > \ n \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t < / s p a n > \ n \ t \ t \ t < p v - e l s e - i f = " i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t < / p > \ n \ t \ t < / a > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . i n p u t i s s e t i n s t e a d , a n p u t w i l l b e u s e d - - \ x 3 e \ n \ t \ t < s p a n v - e l s e - i f = " i t e m . i n p u t " c l a s s = " m e n u i t e m " : c l a s s = " { a c t i v e : i t e m . a c t i v e } " > \ n \ t \ t \ t \ x 3 c ! - - d o e s n o t s h o w i f i n p u t i s c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < s p a n v - i f = " i t e m . i n p u t ! = = \ ' c h e c k b o x \ ' " : c l a s s = " i t e m . i c o n " / > \ n \ n \ t \ t \ t \ x 3 c ! - - o n l y s h o w s i f i n p u t i s t e x t - - \ x 3 e \ n \ t \ t \ t < f o r m v - i f = " i t e m . i n p u t = = = \ ' t e x t \ ' " \ n \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t @ s u b m i t . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < i n p u t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : v a l u e = " i t e m . v a l u e " \ n \ t \ t \ t \ t \ t : p l a c e h o l d e r = " i t e m . t e x t " \ n \ t \ t \ t \ t \ t r e q u i r e d > \ n \ t \ t \ t \ t < i n p u t t y p e = " s u b m i t " v a l u e = " " c l a s s = " i c o n - c o n f i r m " > \ n \ t \ t \ t < / f o r m > \ n \ n \ t \ t \ t \ x 3 c ! - - c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < t e m p l a t e v - e l s e > \ n \ t \ t \ t \ t < i n p u t : i d = " k e y " \ n \ t \ t \ t \ t \ t v - m o d e l = " i t e m . m o d e l " \ n \ t \ t \ t \ t \ t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t @ c h a n g e = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < l a b e l : f o r = " k e y " @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / l a b e l > \ n \ t \ t \ t < / t e m p l a t e > \ n \ t \ t < / s p a n > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . a c t i o n i s s e t i n s t e a d , a b u t t o n w i l l b e u s e d - - \ x 3 e \ n \ t \ t < b u t t o n v - e l s e - i f = " i t e m . a c t i o n " \ n \ t \ t \ t c l a s s = " m e n u i t e m f o c u s a b l e " \ n \ t \ t \ t : c l a s s = " { a c t i v e : i t e m . a c t i v e } " \ n \ t \ t \ t : d i s a b l e d = " i t e m . d i s a b l e d " \ n \ t \ t \ t @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t < s p a n : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n
/ * *
* @ 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/>.
*
* /
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , s = 1 ; s < t ; s ++ ) { var a = parseInt ( e . r + i [ 0 ] * s , 10 ) , c = parseInt ( e . g + i [ 1 ] * s , 10 ) , l = parseInt ( e . b + i [ 2 ] * s , 10 ) ; o . push ( new r ( a , c , l ) ) } return o } n ( 30 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , s = o ( t , e , n ) , a = o ( t , n , i ) , c = o ( t , i , e ) ; return s . concat ( a ) . concat ( c ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 10 ) , m = n ( 11 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . push ( [ t . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + p + ");src:url(" + p + ') format("embedded-opentype"),url(' + g + ') format("woff"),url(' + f + ') format("truetype"),url(' + h + ' ) format ( "svg" ) } . icon [ data - v - 1 bfc7bfe ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - left [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . breadcrumb [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . checkmark [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . close [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . confirm [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . info [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . menu [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . pause [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . play [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . triangle - s [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - away [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - dnd [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - invisible [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - online [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . avatardiv [ data - v - 1 bfc7bfe ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 1 bfc7bfe ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # fff ! important ; box - shadow : 0 0 5 px rgba ( 0 , 0 , 0 , 0.05 ) inset } body . theme -- dark . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] { display : flex ; cursor : pointer ; opacity : 0 ; background : none ; font - size : 18 px ; align - items : center ; justify - content : center } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 1 bfc7bfe ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover img [ data - v - 1 bfc7bfe ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu img [ data - v - 1 bfc7bfe ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 1 bfc7bfe ] { position : absolute ; top : 0 ; left : 0 ; display : block ; width : 100 % ; text - align : center ; font - weight : normal ; color : var ( -- color - main - background ) } . avatardiv img [ data - v - 1 bfc7bfe ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 1 b
/ * *
* @ 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/>.
*
* / n . r ( e ) , n ( 4 0 ) , n ( 6 ) , n ( 1 5 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 4 6 ) , n ( 1 8 ) , n ( 1 9 ) , 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 , o = r ( e ) ; t r y { f o r ( o . s ( ) ; ! ( n = o . n ( ) ) . d o n e ; ) { v a r i , s = n . v a l u e ; i f ( n u l l ! = t & & n u l l ! = = ( i = t . c l a s s L i s t ) & & v o i d 0 ! = = i & & i . c o n t a i n s ( s ) ) r e t u r n ! 0 } } c a t c h ( t ) { o . e ( t ) } f i n a l l y { o . 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 ) { " u s e s t r i c t " ; n . r ( e ) ,
/ * *
* @ 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/>.
*
* /
e . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 6 ) , n ( 25 ) , n ( 39 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = n ( 2 ) , i = n . n ( o ) , s = n ( 53 ) , a = ( i ( ) ( s . a , { insert : "head" , singleton : ! 1 } ) , s . a . locals , n ( 54 ) ) , c = ( i ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , n ( 3 ) ) , l = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( c . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , { staticClass : "popover__menuitem" } , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" )
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* /e.default=p},,function(t,e){t.exports=n(155)},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(86),n(101),n(102),n(30),n(13),n(57),n(59),n(6);var r=n(82),o=n(41),i=n(73),s=n(34),a=n(27),c=n(36),l=n.n(c),A=n(14),u=n(22),m=n(80),d=n(45),p=n(26);function g(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(t){g(i,r,o,s,a,"next",t)}function a(t){g(i,r,o,s,a,"throw",t)}s(void 0)}))}}var h=Object(r.getBuilder)("nextcloud").persist().build();function v(t){var e=h.getItem("user-has-avatar."+t);return"string"==typeof e?Boolean(e):null}function b(t,e){t&&h.setItem("user-has-avatar."+t,e)}var C={name:"Avatar",directives:{tooltip:u.default,ClickOutside:o.directive},components:{Popover:p.a,PopoverMenu:i.default},mixins:[d.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } , menuContainer : { type : String , default : "body" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuLoading : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { canDisplayUserStatus : function ( ) { return this . showUserStatus && this . hasStatus && [ "online" , "away" , "dnd" ] . includes ( this . userStatus . status ) } , showUserStatusIconOnAvatar : function ( ) { return this . showUserStatus && this . showUserStatusCompact && this . hasStatus && "dnd" !== this . userStatus . status && this . userStatus . icon } , getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { var t ; return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === ( null === ( t = Object ( s . getCurrentUser ) ( ) ) || void 0 === t ? void 0 : t . uid ) || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = Object ( m . default ) ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { var t ; if ( this . shouldShowPlaceholder ) { var e = this . getUserIdentifier , n = e . indexOf ( " " ) ; "" === e ? t = "?" : ( t = String . fromCodePoint ( e . codePointAt ( 0 ) ) , - 1 !== n && ( t = t . concat ( String . fromCodePoint ( e . codePointAt ( n + 1 ) ) ) ) ) } return t . toUpperCase ( ) } , menu : function ( ) { var t , e , n , r = this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , longtext : t . title } } ) ) ; return this . showUserStatus && ( this . userStatus . icon || this . userStatus . message ) ? [ { href : "#" , icon : "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>" . concat ( ( t = this . userStatus . icon , e = document . createTextNode ( t ) , n = document . createElement ( "p" ) , n . appendChild ( e ) , n . innerHTML ) , "</text></svg>" ) , text : "" . concat ( this . userStatus . message ) } ] . concat ( r ) : r } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : fun
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /e.default=B},function(t,e){t.exports=n(212)},function(t,e){t.exports=n(213)},,function(t,e,n){"use strict";n.r(e),n(89),n(16),n(24);var r=n(77),o=n.n(r),i=n(63);e.default=function(t){var e=t.toLowerCase();return null===e.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( e = o ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( i . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } } , , function ( t , e ) { t . exports = n ( 214 ) } , , , , function ( t , e ) { t . exports = n ( 225 ) } , function ( t , e ) { t . exports = n ( 226 ) } , function ( t , e ) { t . exports = n ( 227 ) } , function ( t , e ) { t . exports = n ( 228 ) } , , , , , , , , , , , , function ( t , e ) { t . exports = n ( 229 ) } , function ( t , e ) { t . exports = n ( 230 ) } ] ) } , function ( t , e ) { t . exports = { } } , function ( t , e , n ) { var r = n ( 9 ) , o = n ( 10 ) . f , i = Function . prototype , s = i . toString , a = /^\s*function ([^ (]*)/ ; r && ! ( "name" in i ) && o ( i , "name" , { configurable : ! 0 , get : function ( ) { try { return s . call ( this ) . match ( a ) [ 1 ] } catch ( t ) { return "" } } } ) } , function ( t , e , n ) { var r , o = n ( 4 ) , i = n ( 141 ) , s = n ( 67 ) , a = n ( 45 ) , c = n ( 142 ) , l = n ( 84 ) , A = n ( 55 ) , u = A ( "IE_PROTO" ) , m = function ( ) { } , d = function ( t ) { return "<script>" + t + "<\/script>" } , p = function ( ) { try { r = document . domain && new ActiveXObject ( "htmlfile" ) } catch ( t ) { } var t , e ; p = r ? function ( t ) { t . write ( d ( "" ) ) , t . close ( ) ; var e = t . parentWindow . Object ; return t = null , e } ( r ) : ( ( e = l ( "iframe" ) ) . style . display = "none" , c . appendChild ( e ) , e . src = String ( "javascript:" ) , ( t = e . contentWindow . document ) . open ( ) , t . write ( d ( "document.F=Object" ) ) , t . close ( ) , t . F ) ; for ( var n = s . length ; n -- ; ) delete p . prototype [ s [ n ] ] ; return p ( ) } ; a [ u ] = ! 0 , t . exports = Object . create || function ( t , e ) { var n ; return null !== t ? ( m . prototype = o ( t ) , n = new m , m . prototype = null , n [ u ] = t ) : n = p ( ) , void 0 === e ? n : i ( n , e ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 3 ) , o = n ( 1 ) , i = n ( 59 ) , s = n ( 5 ) , a = n ( 17 ) , c = n ( 16 ) , l = n ( 77 ) , A = n ( 74 ) , u = n ( 60 ) , m = n ( 2 ) , d = n ( 53 ) , p = m ( "isConcatSpreadable" ) , g = d >= 51 || ! o ( ( function ( ) { var t = [ ] ; return t [ p ] = ! 1 , t . concat ( ) [ 0 ] !== t } ) ) , f = u ( "concat" ) , h = function ( t ) { if ( ! s ( t ) ) return ! 1 ; var e = t [ p ] ; return void 0 !== e ? ! ! e : i ( t ) } ; r ( { target : "Array" , proto : ! 0 , forced : ! g || ! f } , { concat : function ( t ) { var e , n , r , o , i , s = a ( this ) , u = A ( s , 0 ) , m = 0 ; for ( e = - 1 , r = arguments . length ; e < r ; e ++ ) if ( h ( i = - 1 === e ? s : arguments [ e ] ) ) { if ( m + ( o = c ( i . length ) ) > 9007199254740991 ) throw TypeError ( "Maximum allowed index exceeded" ) ; for ( n = 0 ; n < o ; n ++ , m ++ ) n in i && l ( u , m , i [ n ] ) } else { if ( m >= 9007199254740991 ) throw TypeError ( "Maximum allowed index exceeded" ) ; l ( u , m ++ , i ) } return u . length = m , u } } ) } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { window , t . exports = function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return 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 o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; 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 = "/dist/" , n ( n . s = 110 ) } ( { 0 : function ( t , e , n ) { "use strict" ; function r ( t , e ) { return function ( t ) { if ( Array . isArray ( t ) ) return t } ( t ) || function ( t , e ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( t ) ) { var n = [ ] , r = ! 0 , o = ! 1 , i = void 0 ; try { for ( var s , a = t [ Symbol . iterator ] ( ) ; ! ( r = ( s = a . next ( ) ) . done ) && ( n . push ( s . value ) , ! e || n . length !== e ) ; r = ! 0 ) ; } catch ( t ) { o = ! 0 , i = t } finally { try { r || null == a . return || a . return ( ) } finally { if ( o ) throw i } } return n } } ( t , e ) || function ( t , e ) { if ( t ) { if ( "string" == typeof t ) return o ( t , e ) ; var n = Object . prototype . toString . call ( t ) . slice ( 8 , - 1 ) ; return "Object" === n && t . constructor && ( n = t . constructor . name ) , "Map" === n || "Set" === n ? Array . from ( t ) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ? o ( t , e ) : void 0 } } ( t , e ) || functio
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/>.
*
* /e.default=r.a},15:function(t,e){t.exports=n(46)},17:function(t,e){t.exports=n(31)},18:function(t,e){t.exports=n(27)},19:function(t,e){t.exports=n(40)},2:function(t,e,n){"use strict";var r,o=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]}}(),i=[];function s(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function a(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],l=n[c]||0,A="".concat(c," ").concat(l);n[c]=l+1;var u=s(A),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:A,updater:g(m,e),references:1}),r.push(A)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var l,A=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function u(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=A(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function m(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," * / " ) ) , 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 d = n u l l , p = 0 ; f u n c t i o n g ( t , e ) { v a r n , r , o ; i f ( e . s i n g l e t o n ) { v a r i = p + + ; n = d | | ( d = c ( e ) ) , r = u . b i n d ( n u l l , n , i , ! 1 ) , o = u . b i n d ( n u l l , n , i , ! 0 ) } e l s e n = c ( e ) , r = m . b i n d ( n u l l , n , e ) , o = 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 o ( ) } } 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 = a ( 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 o = s ( n [ r ] ) ; i [ o ] . r e f e r e n c e s - - } f o r ( v a r c = a ( t , e ) , l = 0 ; l < n . l e n g t h ; l + + ) { v a r A = s ( n [ l ] ) ; 0 = = = i [ A ] . r e f e r e n c e s & & ( i [ A ] . u p d a t e r ( ) , i . s p l i c e ( A , 1 ) ) } n = c } } } } , 2 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 6 1 ) } , 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 , o , i , s , a ) { v a r c , l = " 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 & & ( l . r e n d e r = e , l . s t a t i c R e n d e r F n s = n , l . _ c o m p i l e d = ! 0 ) , r & & ( l . f u n c t i o n a l = ! 0 ) , i & & ( l . _ s c o p e I d = " d a t a - v - " + i ) , s ? ( c = 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 _ _ ) , o & & o . 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 ( s ) } , l . _ s s r R e g i s t e r = c ) : o & & ( c = a ? f u n c t i o n ( ) { o . c a l l ( t h i s , ( l . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : o ) , c ) i f ( l . f u n c t i o n a l ) { l . _ i n j e c t S t y l e s = c ; v a r A = l . r e n d e r ; l . r e n d e r = f u n c t i o n ( t , e ) { r e t u r n c . c a l l ( e ) , A ( t , e ) } } e l s e { v a r u = l . b e f o r e C r e a t e ; l . b e f o r e C r e a t e = u ? [ ] . c o n c a t ( u , c ) : [ c ] } r e t u r n { e x p o r t s : t , o p t i o n s : l } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } , 3 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ;
/ * *
* @ 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-04-08 15:51:24 +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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 3 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , 4 9 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 3 9 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 3 8 ) , o = ( n ( 1 5 ) , f u n c t i o n ( 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 = o ( 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 ( 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 ) } , 9 1 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . 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 ] { w i d t h : 2 2 0 p x ; p a d d i n g : 7 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 ; l i n e - h e i g h t : 1 . 6 e m ; 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 , W A A Y , C A C Z , a A A 8 B , C A E 9 B , c A A e , C A C f , e A A g B , C A E h B , i B A A k B , C A G l 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 , o r ( a t y o u r o
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , 23 : function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-widt
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/>.
*
* /
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
/ * *
* @ 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/>.
*
* / 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 0 ) , n ( 1 5 ) , n ( 9 8 ) ; v a r r = n ( 5 ) , o = 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 i = t [ r ] , s = ! i . c o m p o n e n t O p t i o n s & & i . t a g & & - 1 = = = e . i n d e x O f ( i . t a g ) , a = ! ! i . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f i . c o m p o n e n t O p t i o n s . t a g , c = a & & - 1 = = = e . i n d e x O f ( i . c o m p o n e n t O p t i o n s . t a g ) ; ( s | | ! a | | c ) & & ( ( s | | c ) & & o . a . u t i l . w a r n ( " " . c o n c a t ( s ? i . t a g : i . c o m p o n e n t O p t i o n s . t a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( n . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , n ) , 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 ( 7 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 8 ) } , , , , , , , , , , , , , , 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 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 1 0 ) , m = n ( 1 1 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; s r c : u r l ( ' + p + " ) ; s r c : u r l ( " + p + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + f + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + h + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 1 b 3 3 c 3 3 b ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 1 b 3 3 c 3 3 b ] { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d { o p a c i t y : . 3 ! i m p o r t a n t } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : a u t o ; m i n - w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { d i s p l a y : f l e x ; a l i g n - 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 - 1 b 3 3 c 3 3 b ] 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 - 1 b 3 3 c 3 3 b ] : 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 - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; 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 - 1 b 3 3 c 3 3 b ] : : 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 - 1 b 3 3 c 3 3 b ] { 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 4 p x
/ * *
* @ 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-04-08 15:51:24 +03:00
* /e.default=r.a},,,,,,,,,,,,function(t,e,n){"use strict";n(30),n(51),n(31),n(37),n(6),n(46),n(17),n(18),n(19),n(52),n(40),n(15);var r=n(22),o=n(33),i=n(50),s=n(12),a=n(47);function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],A={name:"Actions",directives:{tooltip:r.default},components:{Popover:a.default,VNodes:{functional:!0,render:function(t,e){return e.props.vnodes}}},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(s.b)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(o.a)(),children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var t=this.firstActionVNode.componentOptions.tag;if("ActionLink"===t)return{is:"a",href:this.firstAction.href,target:this.firstAction.target,"aria-label":this.firstAction.ariaLabel};if("ActionRouter"===t)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel};if("ActionButton"===t)return{is:"button","aria-label":this.firstAction.ariaLabel}}return null},firstActionEvent:function(){var t,e,n;return null===(t=this.firstActionVNode)||void 0===t||null===(e=t.componentOptions)||void 0===e||null===(n=e.listeners)||void 0===n?void 0:n.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var t,e;return null===(t=this.firstAction)||void 0===t||null===(e=t.$slots)||void 0===e?void 0:e.icon},firstActionClass:function(){var t=this.firstActionVNode&&this.firstActionVNode.data.staticClass,e=this.firstActionVNode&&this.firstActionVNode.data.class;return"".concat(t," ").concat(e)},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(t){t!==this.opened&&(this.opened=t)}},beforeMount:function(){this.initActions(),Object(i.a)(this.$slots.default,l,this)},beforeUpdate:function(){this.initActions(),Object(i.a)(this.$slots.default,l,this)},methods:{openMenu:function(t){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"),this.onOpen(t))},closeMenu:function(t){this.opened&&(this.opened=!1,this.$emit("update:open",!1),this.$emit("close"),this.opened=!1,this.focusIndex=0,this.$refs.menuButton.focus())},onOpen:function(t){var e=this;this.$nextTick((function(){e.focusFirstAction(t)}))},onMouseFocusAction:function(t){if(document.activeElement!==t.target){var e=t.target.closest("li");if(e){var n=e.querySelector(".focusable");if(n){var r=function(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ? c ( t , e ) : void 0 } } ( t ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } ( this . $refs . menu . querySelectorAll ( ".focusable" ) ) . indexOf ( n ) ; r > - 1 && ( this . focusIndex = r , this . focusAction ( ) )
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/>.
*
* /e.default=u},15:function(t,e){t.exports=n(46)},17:function(t,e){t.exports=n(31)},18:function(t,e){t.exports=n(27)},19:function(t,e){t.exports=n(40)},2:function(t,e,n){"use strict";var r,o=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]}}(),i=[];function s(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function a(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],l=n[c]||0,A="".concat(c," ").concat(l);n[c]=l+1;var u=s(A),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:A,updater:g(m,e),references:1}),r.push(A)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var l,A=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function u(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=A(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function m(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," * / " ) ) , 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 d = n u l l , p = 0 ; f u n c t i o n g ( t , e ) { v a r n , r , o ; i f ( e . s i n g l e t o n ) { v a r i = p + + ; n = d | | ( d = c ( e ) ) , r = u . b i n d ( n u l l , n , i , ! 1 ) , o = u . b i n d ( n u l l , n , i , ! 0 ) } e l s e n = c ( e ) , r = m . b i n d ( n u l l , n , e ) , o = 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 o ( ) } } 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 = a ( 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 o = s ( n [ r ] ) ; i [ o ] . r e f e r e n c e s - - } f o r ( v a r c = a ( t , e ) , l = 0 ; l < n . l e n g t h ; l + + ) { v a r A = s ( n [ l ] ) ; 0 = = = i [ A ] . r e f e r e n c e s & & ( i [ A ] . u p d a t e r ( ) , i . s p l i c e ( A , 1 ) ) } n = c } } } } , 2 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 6 1 ) } , 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 , o , i , s , a ) { v a r c , l = " 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 & & ( l . r e n d e r = e , l . s t a t i c R e n d e r F n s = n , l . _ c o m p i l e d = ! 0 ) , r & & ( l . f u n c t i o n a l = ! 0 ) , i & & ( l . _ s c o p e I d = " d a t a - v - " + i ) , s ? ( c = 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 _ _ ) , o & & o . 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 ( s ) } , l . _ s s r R e g i s t e r = c ) : o & & ( c = a ? f u n c t i o n ( ) { o . c a l l ( t h i s , ( l . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : o ) , c ) i f ( l . f u n c t i o n a l ) { l . _ i n j e c t S t y l e s = c ; v a r A = l . r e n d e r ; l . r e n d e r = f u n c t i o n ( t , e ) { r e t u r n c . c a l l ( e ) , A ( t , e ) } } e l s e { v a r u = l . b e f o r e C r e a t e ; l . b e f o r e C r e a t e = u ? [ ] . c o n c a t ( u , c ) : [ c ] } r e t u r n { e x p o r t s : t , o p t i o n s : l } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } , 3 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ;
/ * *
* @ 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-04-08 15:51:24 +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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 3 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , 4 9 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 3 9 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 3 8 ) , o = ( n ( 1 5 ) , f u n c t i o n ( 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 = o ( 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 ( 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 ) } , 6 2 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 5 4 ) } } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 9 ) , o = n ( 1 ) , i = n ( 8 4 ) ; t . e x p o r t s = ! r & & ! o ( ( f u n c t i o n ( ) { r e t u r n 7 ! = O b j e c t . d e f i n e P r o p e r t y ( i ( " d i v " ) , " a " , { g e t : f u n c t i o n ( ) { r e t u r n 7 } } ) . a } ) ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 6 ) , o = n ( 2 4 ) , i = n ( 8 6 ) . i n d e x O f , s = n ( 4 5 ) ; t . e x p o r t s = f u n c t i o n ( t , e ) { v a r n , a = o ( t ) , c = 0 , l = [ ] ; f o r ( n i n a ) ! r ( s , n ) & & r ( a , n ) & & l . p u s h ( n ) ; f o r ( ; e . l e n g t h > c ; ) r ( a , n = e [ c + + ] ) & & ( ~ i ( l , n ) | | l . p u s h ( n ) ) ; r e t u r n l } } , 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 ( 1 ) ; f u n c t i o n o ( t , e ) { r e t u r n R e g E x p ( t , e ) } e . U N S U P P O R T E D _ Y = r ( ( f u n c t i o n ( ) { v a r t = o ( " a " , " y " ) ; r e t u r n t . l a s t I n d e x = 2 , n u l l ! = t . e x e c ( " a b c d " ) } ) ) , e . B R O K E N _ C A R E T = r ( ( f u n c t i o n ( ) { v a r t = o ( " ^ r " , " g y " ) ; r e t u r n t . l a s t I n d e x = 2 , n u l l ! = t . e x e c ( " s t r " ) } ) ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 3 0 ) ; t . e x p o r t s = r ( " n a v i g a t o r " , " u s e r A g e n t " ) | | " " } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 6 9 ) . c h a r A t ; t . e x p o r t s = f u n c t i o n ( t , e , n ) { r e t u r n e + ( n ? r ( t , e ) . l e n g t h : 1 ) } } , 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 A r } ) ) , 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 u r } ) ) , 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 l r } ) ) , 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 t n } ) ) , 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 e n } ) ) , n . d ( e , " i n s t a l l " , ( f u n c t i o n ( ) { r e t u r n c r } ) ) ; v a r r = n ( 2 3 3 ) , o = n ( 2 8 4 ) ; f u n c t i o n i ( t ) { r e t u r n ( i = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } f u n c t i o n s ( t ) { r e t u r n ( s = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = = i ( S y m b o l . i t e r a t o r ) ? f u n c t i o n ( t ) { r e t u r n i ( t ) } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : i ( t ) } ) ( t ) } f u n c t i o n a ( t , e ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r r = e [ n ] ; r . e n u m e r a b l e = r . e n u m e r a b l e | | ! 1 , r . c o n f i g u r a b l e = ! 0 , " v a l u e " i n r & & ( r . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( t , r . k e y , r ) } } f u n c t i o n c ( 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 } f u n c t i o n l ( 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 A ( 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 ? l ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { c ( 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 ) ) : l ( 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 u = f u n c t i o n ( ) { } ; f u n c t i o n m ( 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 d ( t , e ) { v a r n , r = m ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f u ? m ( t . c l a s s N a m e . b a s e V a l ) : m ( 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 p ( t , e ) { v a r n , r = m ( e ) ; n = t . c l a s s N a m e i n s t a n c e o f u ? m ( t . c l a s s N a m e . b a s e V a l ) : m ( 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
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 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/>.
*
* / v a r d = { d a t a : f u n c t i o n ( ) { r e t u r n { h a s S t a t u s : ! 1 , u s e r S t a t u s : { s t a t u s : n u l l , m e s s a g e : n u l l , i c o n : n u l l } } } , m e t h o d s : { f e t c h U s e r S t a t u s : f u n c t i o n ( t ) { v a r e , n = t h i s ; r e t u r n ( e = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r r , o , i , s , a , m , d , p , g ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : i f ( r = O b j e c t ( A . g e t C a p a b i l i t i e s ) ( ) , 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 ( r , " u s e r _ s t a t u s " ) & & r . u s e r _ s t a t u s . e n a b l e d ) { e . n e x t = 3 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 3 : i f ( O b j e c t ( u . g e t C u r r e n t U s e r ) ( ) ) { e . n e x t = 5 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 5 : r e t u r n e . p r e v = 5 , e . n e x t = 8 , c . a . g e t ( O b j e c t ( l . g e n e r a t e O c s U r l ) ( " a p p s / u s e r _ s t a t u s / a p i / v 1 " , 2 ) + " s t a t u s e s / " . c o n c a t ( e n c o d e U R I C o m p o n e n t ( t ) ) ) ; c a s e 8 : o = e . s e n t , i = o . d a t a , s = i . o c s . d a t a , a = s . s t a t u s , m = s . m e s s a g e , d = s . i c o n , n . u s e r S t a t u s . s t a t u s = a , n . u s e r S t a t u s . m e s s a g e = m | | " " , n . u s e r S t a t u s . i c o n = d | | " " , n . h a s S t a t u s = ! 0 , e . n e x t = 2 2 ; b r e a k ; c a s e 1 7 : i f ( e . p r e v = 1 7 , e . t 0 = e . c a t c h ( 5 ) , 4 0 4 ! = = e . t 0 . r e s p o n s e . s t a t u s | | 0 ! = = ( n u l l = = = ( p = e . t 0 . r e s p o n s e . d a t a . o c s ) | | v o i d 0 = = = p | | n u l l = = = ( g = p . d a t a ) | | v o i d 0 = = = g ? v o i d 0 : g . l e n g t h ) ) { e . n e x t = 2 1 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 2 1 : c o n s o l e . e r r o r ( e . t 0 ) ; c a s e 2 2 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 5 , 1 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n s ( t ) { m ( i , r , o , s , a , " n e x t " , t ) } f u n c t i o n a ( t ) { m ( i , r , o , s , a , " t h r o w " , t ) } s ( v o i d 0 ) } ) ) } ) ( ) } } } ;
/ * *
* @ 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/>.
*
* / } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 7 ) } , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 0 7 ) } , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 8 ) } , 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 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / P o p o v e r M e n u I t e m . v u e " ] , n a m e s : [ ] , m a p p i n g s : " ; A A 4 H A ; C A C A , g B A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , u B A A A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , 4 C A A A ; C A C A , g B A A A ; A A C A " , s o u r c e s C o n t e n t : [ ' \ x 3 c ! - - \ n - @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 8 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 - \ 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 , o r ( a t y o u r o p t i o n ) 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 d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n - b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n - M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n - 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 f o r m o r e d e t a i l s . \ n - \ n - Y o u s h o u l d h a v e r e c e i v e d a c o p y 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 \ n - a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n - \ n - - \ x 3 e \ n \ n < t e m p l a t e > \ n \ t < l i c l a s s = " p o p o v e r _ _ m e n u i t e m " > \ n \ t \ t \ x 3 c ! - - I f i t e m . h r e f i s s e t , a l i n k w i l l b e d i r e c t l y u s e d - - \ x 3 e \ n \ t \ t < a v - i f = " i t e m . h r e f " \ n \ t \ t \ t : h r e f = " ( i t e m . h r e f ) ? i t e m . h r e f : \ ' # \ ' " \ n \ t \ t \ t : t a r g e t = " ( i t e m . t a r g e t ) ? i t e m . t a r g e t : \ ' \ ' " \ n \ t \ t \ t : d o w n l o a d = " i t e m . d o w n l o a d " \ n \ t \ t \ t c l a s s = " f o c u s a b l e " \ n \ t \ t \ t r e l = " n o r e f e r r e r n o o p e n e r " \ n \ t \ t \ t @ c l i c k = " a c t i o n " > \ n \ t \ t \ t < s p a n v - i f = " ! i c o n I s U r l " : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < i m g v - e l s e : s r c = " i t e m . i c o n " > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n \ t \ t \ t < / p > \ n \ t \ t \ t < s p a n v - e l s e - i f = " i t e m . t e x t " > \ n \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t < / s p a n > \ n \ t \ t \ t < p v - e l s e - i f = " i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t < / p > \ n \ t \ t < / a > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . i n p u t i s s e t i n s t e a d , a n p u t w i l l b e u s e d - - \ x 3 e \ n \ t \ t < s p a n v - e l s e - i f = " i t e m . i n p u t " c l a s s = " m e n u i t e m " : c l a s s = " { a c t i v e : i t e m . a c t i v e } " > \ n \ t \ t \ t \ x 3 c ! - - d o e s n o t s h o w i f i n p u t i s c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < s p a n v - i f = " i t e m . i n p u t ! = = \ ' c h e c k b o x \ ' " : c l a s s = " i t e m . i c o n " / > \ n \ n \ t \ t \ t \ x 3 c ! - - o n l y s h o w s i f i n p u t i s t e x t - - \ x 3 e \ n \ t \ t \ t < f o r m v - i f = " i t e m . i n p u t = = = \ ' t e x t \ ' " \ n \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t @ s u b m i t . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < i n p u t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : v a l u e = " i t e m . v a l u e " \ n \ t \ t \ t \ t \ t : p l a c e h o l d e r = " i t e m . t e x t " \ n \ t \ t \ t \ t \ t r e q u i r e d > \ n \ t \ t \ t \ t < i n p u t t y p e = " s u b m i t " v a l u e = " " c l a s s = " i c o n - c o n f i r m " > \ n \ t \ t \ t < / f o r m > \ n \ n \ t \ t \ t \ x 3 c ! - - c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < t e m p l a t e v - e l s e > \ n \ t \ t \ t \ t < i n p u t : i d = " k e y " \ n \ t \ t \ t \ t \ t v - m o d e l = " i t e m . m o d e l " \ n \ t \ t \ t \ t \ t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t @ c h a n g e = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < l a b e l : f o r = " k e y " @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / l a b e l > \ n \ t \ t \ t < / t e m p l a t e > \ n \ t \ t < / s p a n > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . a c t i o n i s s e t i n s t e a d , a b u t t o n w i l l b e u s e d - - \ x 3 e \ n \ t \ t < b u t t o n v - e l s e - i f = " i t e m . a c t i o n " \ n \ t \ t \ t c l a s s = " m e n u i t e m f o c u s a b l e " \ n \ t \ t \ t : c l a s s = " { a c t i v e : i t e m . a c t i v e } " \ n \ t \ t \ t : d i s a b l e d = " i t e m . d i s a b l e d " \ n \ t \ t \ t @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t < s p a n : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m .
/ * *
* @ 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/>.
*
* /
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , s = 1 ; s < t ; s ++ ) { var a = parseInt ( e . r + i [ 0 ] * s , 10 ) , c = parseInt ( e . g + i [ 1 ] * s , 10 ) , l = parseInt ( e . b + i [ 2 ] * s , 10 ) ; o . push ( new r ( a , c , l ) ) } return o } n ( 30 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , s = o ( t , e , n ) , a = o ( t , n , i ) , c = o ( t , i , e ) ; return s . concat ( a ) . concat ( c ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 10 ) , m = n ( 11 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . push ( [ t . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + p + ");src:url(" + p + ') format("embedded-opentype"),url(' + g + ') format("woff"),url(' + f + ') format("truetype"),url(' + h + ' ) format ( "svg" ) } . icon [ data - v - 1 bfc7bfe ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - left [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . breadcrumb [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . checkmark [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . close [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . confirm [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . info [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . menu [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . pause [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . play [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . triangle - s [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - away [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - dnd [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - invisible [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - online [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . avatardiv [ data - v - 1 bfc7bfe ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 1 bfc7bfe ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # fff ! important ; box - shadow : 0 0 5 px rgba ( 0 , 0 , 0 , 0.05 ) inset } body . theme -- dark . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] { display : flex ; cursor : pointer ; opacity : 0 ; background : none ; font - size : 18 px ; align - items : center ; justify - content : center } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 1 bfc7bfe ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover img [ data - v - 1 bfc7bfe ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu img [ data - v - 1 bfc7bfe ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 1 bfc7bfe ] { position : absolute ; top : 0 ; left : 0 ; display : block ; width : 100 % ; text - align : center ; font - weight : normal ; color : var ( -- color - main - background ) } . avatardiv img [ data - v - 1 bfc7bfe ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 1 b
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . a = f u n c t i o n ( t , e ) { f o r ( v a r n = [ ] , r = 0 , o = 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 ) , i = 0 ; o > - 1 & & i < t . l e n g t h ; ) r = o + e . l e n g t h , n . p u s h ( { s t a r t : o , e n d : r } ) , o = 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 ( ) , o + 1 ) , i + + ; r e t u r n n } } , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 9 5 ) , n ( 1 6 ) , n ( 9 0 ) , n ( 1 3 ) , n ( 1 0 0 ) , n ( 3 1 ) , n ( 5 1 ) , n ( 1 0 5 ) , n ( 8 5 ) , n ( 1 0 6 ) ; v a r r = n ( 6 8 ) ; f u n c t i o n o ( 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 i ( 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 ? o ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { s ( 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 ) ) : o ( 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 s ( 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 a = { 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 ( i ( i ( { } , 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 ) } } , c = n ( 3 ) , l = n ( 7 4 ) , A = n . n ( l ) , u = O b j e c t ( c . a ) ( a , 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 A . a & & A ( ) ( u ) ; v a r m = u . e x p o r t s ;
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /e.default=m},function(t,e,n){"use strict";function r(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ? o ( t , e ) : void 0 } } ( t ) ) || e && t && "number" == typeof t . length ) { n && ( t = n ) ; var r = 0 , i = function ( ) { } ; return { s : i , n : function ( ) { return r >= t . length ? { done : ! 0 } : { done : ! 1 , value : t [ r ++ ] } } , e : function ( t ) { throw t } , f : i } } throw new TypeError ( "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } var s , a = ! 0 , c = ! 1 ; return { s : function ( ) { n = t [ Symbol . iterator ] ( ) } , n : function ( ) { var t = n . next ( ) ; return a = t . done , t } , e : function ( t ) { c = ! 0 , s = t } , f : function ( ) { try { a || null == n . return || n . return ( ) } finally { if ( c ) throw s } } } } function o ( t , e ) { ( null == e || e > t . length ) && ( e = t . length ) ; for ( var n = 0 , r = new Array ( e ) ; n < e ; n ++ ) r [ n ] = t [ n ] ; return r }
/ * *
* @ 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/>.
*
* / n . r ( e ) , n ( 4 0 ) , n ( 6 ) , n ( 1 5 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 4 6 ) , n ( 1 8 ) , n ( 1 9 ) , 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 , o = r ( e ) ; t r y { f o r ( o . s ( ) ; ! ( n = o . n ( ) ) . d o n e ; ) { v a r i , s = n . v a l u e ; i f ( n u l l ! = t & & n u l l ! = = ( i = t . c l a s s L i s t ) & & v o i d 0 ! = = i & & i . c o n t a i n s ( s ) ) r e t u r n ! 0 } } c a t c h ( t ) { o . e ( t ) } f i n a l l y { o . 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 ) { " u s e s t r i c t " ; n . r ( e ) ,
/ * *
* @ 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/>.
*
* /
e . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 6 ) , n ( 25 ) , n ( 39 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = n ( 2 ) , i = n . n ( o ) , s = n ( 53 ) , a = ( i ( ) ( s . a , { insert : "head" , singleton : ! 1 } ) , s . a . locals , n ( 54 ) ) , c = ( i ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , n ( 3 ) ) , l = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( c . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , { staticClass : "popover__menuitem" } , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" )
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* /e.default=p},function(t,e){},function(t,e){t.exports=n(155)},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(86),n(101),n(102),n(30),n(13),n(57),n(59),n(6);var r=n(82),o=n(41),i=n(73),s=n(34),a=n(27),c=n(36),l=n.n(c),A=n(14),u=n(22),m=n(80),d=n(45),p=n(26);function g(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(t){g(i,r,o,s,a,"next",t)}function a(t){g(i,r,o,s,a,"throw",t)}s(void 0)}))}}var h=Object(r.getBuilder)("nextcloud").persist().build();function v(t){var e=h.getItem("user-has-avatar."+t);return"string"==typeof e?Boolean(e):null}function b(t,e){t&&h.setItem("user-has-avatar."+t,e)}var C={name:"Avatar",directives:{tooltip:u.default,ClickOutside:o.directive},components:{Popover:p.a,PopoverMenu:i.default},mixins:[d.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } , menuContainer : { type : String , default : "body" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuLoading : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { canDisplayUserStatus : function ( ) { return this . showUserStatus && this . hasStatus && [ "online" , "away" , "dnd" ] . includes ( this . userStatus . status ) } , showUserStatusIconOnAvatar : function ( ) { return this . showUserStatus && this . showUserStatusCompact && this . hasStatus && "dnd" !== this . userStatus . status && this . userStatus . icon } , getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { var t ; return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === ( null === ( t = Object ( s . getCurrentUser ) ( ) ) || void 0 === t ? void 0 : t . uid ) || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = Object ( m . default ) ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { var t ; if ( this . shouldShowPlaceholder ) { var e = this . getUserIdentifier , n = e . indexOf ( " " ) ; "" === e ? t = "?" : ( t = String . fromCodePoint ( e . codePointAt ( 0 ) ) , - 1 !== n && ( t = t . concat ( String . fromCodePoint ( e . codePointAt ( n + 1 ) ) ) ) ) } return t . toUpperCase ( ) } , menu : function ( ) { var t , e , n , r = this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , longtext : t . title } } ) ) ; return this . showUserStatus && ( this . userStatus . icon || this . userStatus . message ) ? [ { href : "#" , icon : "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>" . concat ( ( t = this . userStatus . icon , e = document . createTextNode ( t ) , n = document . createElement ( "p" ) , n . appendChild ( e ) , n . innerHTML ) , "</text></svg>" ) , text : "" . concat ( this . userStatus . message ) } ] . concat ( r ) : r } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatar
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / e . d e f a u l t = B } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 1 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 1 3 ) } , 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 ) 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-04-08 15:51:24 +03:00
* /e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e08a231"),"")}))}},function(t,e,n){"use strict";n.r(e),n(89),n(16),n(24);var r=n(77),o=n.n(r),i=n(63);e.default=function(t){var e=t.toLowerCase();return null===e.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( e = o ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( i . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } } , , function ( t , e ) { t . exports = n ( 214 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".option[data-v-26f84d14]{display:flex;align-items:center;width:100%;height:var(--height)}.option__avatar[data-v-26f84d14]{margin-right:var(--margin)}.option__details[data-v-26f84d14]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-26f84d14]{color:var(--color-text-light)}.option__linetwo[data-v-26f84d14]{opacity:.7}.option__lineone[data-v-26f84d14],.option__linetwo[data-v-26f84d14]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-26f84d14],.option__linetwo strong[data-v-26f84d14]{font-weight:bold}.option__icon[data-v-26f84d14]{flex:0 0 44px;width:44px;height:44px;opacity:.5;background-position:center;background-size:16px}\n" , "" , { version : 3 , sources : [ "webpack://./ListItemIcon.vue" , "webpack://./../../assets/variables.scss" ] , names : [ ] , mappings : "AA6NA,yBACC,YAAa,CACb,kBAAmB,CACnB,UAAW,CACX,oBAAqB,CAErB,iCACC,0BAA2B,CAC3B,kCAGA,YAAa,CACb,QAAS,CACT,qBAAsB,CACtB,sBAAuB,CACvB,WAAY,CACZ,kCAGA,6BAA8B,CAC9B,kCAEA,UCxMiB,CDyMjB,oEAGA,eAAgB,CAChB,kBAAmB,CACnB,sBAAuB,CACvB,iBAAkB,CALlB,kFAOC,gBAAiB,CACjB,+BAID,aCxOmB,CDyOnB,UCzOmB,CD0OnB,WC1OmB,CD2OnB,UC1NmB,CD2NnB,0BAA2B,CAC3B,oBAAqB" , sourcesContent : [ "$scope_version:\"e08a231\"; @import 'variables';\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.option {\n\tdisplay: flex;\n\talign-items: center;\n\twidth: 100%;\n\theight: var(--height);\n\n\t&__avatar {\n\t\tmargin-right: var(--margin);\n\t}\n\n\t&__details {\n\t\tdisplay: flex;\n\t\tflex: 1 1;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tmin-width: 0;\n\t}\n\n\t&__lineone {\n\t\tcolor: var(--color-text-light);\n\t}\n\t&__linetwo {\n\t\topacity: $opacity_normal;\n\t}\n\t&__lineone,\n\t&__linetwo {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\tline-height: 1.1em;\n\t\tstrong {\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 $clickable-area;\n\t\twidth: $clickable-area;\n\t\theight: $clickable-area;\n\t\topacity: $opacity_disabled;\n\t\tbackground-position: center;\n\t\tbackground-size: 16px;\n\t}\n}\n\n" , " /**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */ \ n \ n // https://uxplanet.org
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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . d e f a u l t = p } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 9 ) , n ( 1 3 ) , n ( 5 7 ) , n ( 4 0 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 6 ) , n ( 4 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 1 0 8 ) , o = n . n ( r ) , i = ( n ( 1 5 ) , n ( 7 5 ) , n ( 1 6 ) , n ( 9 5 ) , n ( 7 0 ) ) , s = n ( 6 8 ) , a = { n a m e : " E l l i p s i s e d O p t i o n " , c o m p o n e n t s : { H i g h l i g h t : i . d e f a u l t } , p r o p s : { o p t i o n : { t y p e : [ S t r i n g , O b j e c t ] , r e q u i r e d : ! 0 , d e f a u l t : " " } , l a b e l : { 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 : " " } , n a m e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { n e e d s T r u n c a t e : f u n c t i o n ( ) { r e t u r n t h i s . n a m e & & t h i s . n a m e . l e n g t h > = 1 0 } , s p l i t : f u n c t i o n ( ) { r e t u r n t h i s . n a m e . l e n g t h - M a t h . m i n ( M a t h . f l o o r ( t h i s . n a m e . l e n g t h / 2 ) , 1 0 ) } , p a r t 1 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( 0 , t h i s . s p l i t ) : t h i s . n a m e } , p a r t 2 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( t h i s . s p l i t ) : " " } , h i g h l i g h t 1 : f u n c t i o n ( ) { r e t u r n t h i s . s e a r c h ? O b j e c t ( s . a ) ( t h i s . n a m e , t h i s . s e a r c h ) : [ ] } , h i g h l i g h t 2 : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n t h i s . h i g h l i g h t 1 . m a p ( ( f u n c t i o n ( e ) { r e t u r n { s t a r t : e . s t a r t - t . s p l i t , e n d : e . e n d - t . s p l i t } } ) ) } } } , c = n ( 2 ) , l = n . n ( c ) , A = n ( 9 3 ) , u = ( l ( ) ( A . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , A . a . l o c a l s , n ( 3 ) ) , m = O b j e c t ( u . a ) ( a , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " n a m e - p a r t s " , a t t r s : { t i t l e : t . n a m e } } , [ n ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ f i r s t " , a t t r s : { t e x t : t . p a r t 1 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 1 } } ) , t . _ v ( " " ) , t . p a r t 2 ? n ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ l a s t " , a t t r s : { t e x t : t . p a r t 2 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 2 } } ) : t . _ e ( ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " f 8 5 5 c 4 b 8 " , n u l l ) . e x p o r t s , d = n ( 4 2 ) , p = n ( 9 6 ) , g = n ( 2 2 ) ; f u n c t i o n f ( t ) { r e t u r n ( f = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } v a r h = { n a m e : " M u l t i s e l e c t " , c o m p o n e n t s : { E l l i p s i s e d O p t i o n : m , L i s t I t e m I c o n : p . d e f a u l t , V u e M u l t i s e l e c t : o . a } , d i r e c t i v e s : { t o o l t i p : g . d e f a u l t } , m i x i n s : [ d . a ] , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l i m i t : { t y p e : N u m b e r , d e f a u l t : 9 9 9 9 9 } , l a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , t r a c k B y : { t y p e : S t r i n g , d e f a u l t : " " } , o p t i o n s : { t y p e : A r r a y , r e q u i r e d : ! 0 } , u s e r S e l e c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o L i m i t : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , t a g W i d t h : { t y p e : N u m b e r , d e f a u l t : 1 5 0 , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n t > 0 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { e l W i d t h : 0 } } , c o m p u t e d : { m a x O p t i o n s : f u n c t i o n ( ) { i f ( t h i s . a u t o L i m i t & & t h i s . e l W i d t h > 0 & & 0 ! = = t h i s . t a g W i d t h ) { v a r t = M a t h . f l o o r ( t h i s . e l W i d t h / t h i s . t a g W i d t h ) ; r e t u r n t > 0 ? t : 1 } r e t u r n t h i s . l i m i t ? t h i s . l i m i t : 9 9 9 9 } , l i m i t S t r i n g : f u n c t i o n ( ) { r e t u r n " + " . c o n c a t ( t h i s . v a l u e . l e n g t h - t h i s . m a x O p t i o n s ) } , l o c a l V a l u e : { g e t : f u n c t i o n ( ) { r e t u r n t h i s . t r a c k B y & & t h i s . o p t i o n s & & " o b j e c t " ! = = f ( t h i s . v a l u e ) & & t h i s . o p t i o n s [ t h i s . v a l u e ] ? t h i s . o p t i o n s [ t h i s . v a l u e ] : t h i s . v a l u e } , s e t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : v a l u e " , t ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , w a t c h : { v a l u e : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) , w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , m e t h o d s : { g e t O p t i o n L a b e l : f u n c t i o n ( t ) { v a r e ; r e t u r n S t r i n g ( n u l l = = = ( e = t h i s . $ r e f s . V u e M u l t i s e l e c t ) | | v o i d 0 = = = e ? v o i d 0 : e . g e t O p t i o n L a b e l ( t ) ) } , f o r m a t L i m i t T i t l e : f u n c t i o n ( t ) { v a r e = t h i s ; i f ( A r r a y . i s A r r a y ( t ) & & t . l e n g t h > 0 ) { v a r n = t ; r e t u r n " o b j e c t " = = = f ( t [ 0 ] ) & & ( n = t . m a p ( ( f u n c t i o n ( t ) { r e t u r n t [ e . l a b e l ] } ) ) ) , n . s l i c e ( t h i s . m a x O p t i o n s ) . j o i n ( " , " ) } r e t u r n " " } , u p d a t e W i d t h : f u n c t i o n ( ) { t h i s . $ e l & & t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) & & ( t h i s . e l W i d t h = t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) . o f f s e t W i d t h - 1 0 ) } } } , v = n ( 9 4 ) , b = n . n ( v ) , C = O b j e c t ( u . a ) ( h , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " V u e M u l t i s e l e c t " , t . _ g ( t . _ b ( { r e f : " V u e M u l t i s e l e c t " , c l a s s : [ { " i c o n - l o a d i n g - s m a l l " : t . l o a d i n g } , t . m u l t i p l e ? " m u l t i s e l e c t - - m u l t i p l e " : " m u l t i s e l e c t - - s i n g l e " ] , a t t r s : { o p t i o n s : t . o p t i o n s , l i m i t : t . m a x O p t i o n s , " c l o s e - o n - s e l e c t " : ! t . m u l t i p l e , m u l t i p l e : t . m u l t i p l e , l a b e l : t . l a b e l , " t r a c k - b y " : t . t r a c k B y , " t a g - p l a c e h o l d e r " : " c r e a t e " } , s c o p e d S l o t s : t . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( e ) { r e t u r n [ t . u s e r S e l e c t & & ! t . $ s c o p e d S l o t s . o p t i o n ? n ( " L i s t I t e m I c o n " , t . _ b ( { a t t r s : { t i t l e : e . o p t i o n [ t . l a b e l ] , s e a r c h : e . s e a r c h } } , " L i s t I t e m I c o n " , e . o p t i o n , ! 1 ) ) : t . $ s c o p e d S l o t s . o p t i o n ? t . _ t ( " o p t i o n " , n u l l , n u l l , e ) : n ( "
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
Object ( r . a ) ( o . a ) , e . default = o . a } , function ( t , e ) { t . exports = n ( 281 ) } ] ) } , function ( t , e ) { function n ( t , e , n ) { var r , o , i , s , a ; function c ( ) { var l = Date . now ( ) - s ; l < e && l >= 0 ? r = setTimeout ( c , e - l ) : ( r = null , n || ( a = t . apply ( i , o ) , i = o = null ) ) } null == e && ( e = 100 ) ; var l = function ( ) { i = this , o = arguments , s = Date . now ( ) ; var l = n && ! r ; return r || ( r = setTimeout ( c , e ) ) , l && ( a = t . apply ( i , o ) , i = o = null ) , a } ; return l . clear = function ( ) { r && ( clearTimeout ( r ) , r = null ) } , l . flush = function ( ) { r && ( a = t . apply ( i , o ) , i = o = null , clearTimeout ( r ) , r = null ) } , l } n . debounce = n , t . exports = n } , function ( t , e , n ) { window , t . exports = function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } return 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 o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; 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 = "/dist/" , n ( n . s = 199 ) } ( { 0 : function ( t , e , n ) { "use strict" ; function r ( t , e ) { return function ( t ) { if ( Array . isArray ( t ) ) return t } ( t ) || function ( t , e ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( t ) ) { var n = [ ] , r = ! 0 , o = ! 1 , i = void 0 ; try { for ( var s , a = t [ Symbol . iterator ] ( ) ; ! ( r = ( s = a . next ( ) ) . done ) && ( n . push ( s . value ) , ! e || n . length !== e ) ; r = ! 0 ) ; } catch ( t ) { o = ! 0 , i = t } finally { try { r || null == a . return || a . return ( ) } finally { if ( o ) throw i } } return n } } ( t , e ) || function ( t , e ) { if ( t ) { if ( "string" == typeof t ) return o ( t , e ) ; var n = Object . prototype . toString . call ( t ) . slice ( 8 , - 1 ) ; return "Object" === n && t . constructor && ( n = t . constructor . name ) , "Map" === n || "Set" === n ? Array . from ( t ) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ? o ( t , e ) : void 0 } } ( t , e ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } function o ( t , e ) { ( null == e || e > t . length ) && ( e = t . length ) ; for ( var n = 0 , r = new Array ( e ) ; n < e ; n ++ ) r [ n ] = t [ n ] ; return r } t . exports = function ( t ) { var e = r ( t , 4 ) , n = e [ 1 ] , o = e [ 3 ] ; if ( "function" == typeof btoa ) { var i = btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) , s = "sourceMappingURL=data:application/json;charset=utf-8;base64," . concat ( i ) , a = "/*# " . concat ( s , " */" ) , c = o . sources . map ( ( function ( t ) { return "/*# sourceURL=" . concat ( o . sourceRoot || "" ) . concat ( t , " */" ) } ) ) ; return [ n ] . concat ( c ) . concat ( [ a ] ) . join ( "\n" ) } return [ n ] . join ( "\n" ) } } , 1 : function ( t , e , n ) { "use strict" ; t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( ( function ( e ) { var n = t ( e ) ; return e [ 2 ] ? "@media " . concat ( e [ 2 ] , " {" ) . concat ( n , "}" ) : n } ) ) . join ( "" ) } , e . i = function ( t , n , r ) { "string" == typeof t && ( t = [ [ null , t , "" ] ] ) ; var o = { } ; if ( r ) for ( var i = 0 ; i < this . length ; i ++ ) { var s = this [ i ] [ 0 ] ; null != s && ( o [ s ] = ! 0 ) } for ( var a = 0 ; a < t . length ; a ++ ) { var c = [ ] . concat ( t [ a ] ) ; r && o [ c [ 0 ] ] || ( n && ( c [ 2 ] ? c [ 2 ] = "" . concat ( n , " and " ) . concat ( c [ 2 ] ) : c [ 2 ] = n ) , e . push ( c ) ) } } , e } } , 143 : function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , " li . active [ data - v - 90 adea72 ] { background - color : var ( -- color - background - hover ) } . action - text [ data - v - 90 adea72 ] { display : flex ; align - items : flex - start ; width : 100 % ; height : auto ; margin : 0 ; padding : 0 ; padding - right : 14 px ; cursor : pointer ; white - space : nowrap ; opacity : . 7 ; color : var ( -- color - main - text ) ; border : 0 ; border - radius : 0 ; background - color : transparent ; box - shadow : none ; font - weight : normal ; font - size : var ( -- default - font - size ) ; line - height : 44 px } . action - text [ data - v - 90 adea72 ] : hover , . action - text [ data - v - 90 adea72 ] : focus { opacity : 1 } . action - text > span [ data - v - 90 adea72 ] { cursor : pointer ; white - space : nowrap } . action - text _ _icon [ data - v - 90 adea72 ] { width : 44 px ; height : 44 px ; opacity : 1 ; background - position : 14 px center ; background - size : 16 px
/ * *
* @ 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/>.
*
* / 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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 3 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , 4 9 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 3 9 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 3 8 ) , o = ( n ( 1 5 ) , f u n c t i o n ( 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 = o ( 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 ( 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 ) } } ) } , 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 o = 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 ( o . e x p o r t s , o , o . e x p o r t s , n ) , o . l = ! 0 , o . 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 o i n t ) n . d ( r , o , 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 , o ) ) ; 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 = 1 9 5 ) } ( { 0 : 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 ) { r e t u r n f u n c t i o n ( t ) { i f ( A r r a y . i s A r r a y ( t ) ) r e t u r n t } ( t ) | | f u n c t i o n ( t , e ) { i f ( " 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 . i t e r a t o r i n O b j e c t ( t ) ) { v a r n = [ ] , r = ! 0 , o = ! 1 , i = v o i d 0 ; t r y { f o r ( v a r s , a = t [ S y m b o l . i t e r a t o r ] ( ) ; ! ( r = ( s = a . n e x t ( ) ) . d o n e ) & & ( n . p u s h ( s . v a l u e ) , ! e | | n . l e n g t h ! = = e ) ; r = ! 0 ) ; } c a t c h ( t ) { o = ! 0 , i = t } f i n a l l y { t r y { r | | n u l l = = a . r e t u r n | | a . r e t u r n ( ) } f i n a l l y { i f ( o ) t h r o w i } } r e t u r n n } } ( t , e ) | | f u n c t i o n ( t , e ) { i f ( t ) { i f ( " s t r i n g " = = t y p e o f t ) r e t u r n o ( t , e ) ; v a r n = 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 ) . s l i c e ( 8 , - 1 ) ; r e t u r n " O b j e c t " = = = n & & t . c o n s t r u c t o r & & ( n = t . c o n s t r u c t o r . n a m e ) , " M a p " = = = n | | " S e t " = = = n ? A r r a y . f r o m ( t ) : " A r g u m e n t s " = = = n | | / ^ ( ? : U i | I ) n t ( ? : 8 | 1 6 | 3 2 ) ( ? : C l a m p e d ) ? A r r a y $ / . t e s t ( n ) ? o ( t , e ) : v o i d 0 } } ( t , e ) | | f u n c t i o n ( ) { t h r o w n e w T y p e E r r o r ( " I n v a l i d a t t e m p t t o d e s t r u c t u r e n o n - i t e r a b l e i n s t a n c e . \ n I n o r d e r t o b e i t e r a b l e , n o n - a r r a y o b j e c t s m u s t h a v e a [ S y m b o l . i t e r a t o r ] ( ) m e t h o d . " ) } ( ) } f u n c t i o n o ( 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 } t . e x p o r t s = f u n c t i o n ( t ) { v a r e = r ( t , 4 ) , n = e [ 1 ] , o = e [ 3 ] ; i f ( " f u n c t i o n " = = t y p e o f b t o a ) { v a r i = b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) , s = " s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( i ) , a = " / * # " . c o n c a t ( s , " * / " ) , c = o . s o u r c e s . m a p ( ( f u n c t i o n ( t ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( o . s o u r c e R o o t | | " " ) . c o n c a t ( t , " * / " ) } ) ) ; r e t u r n [ n ] . c o n c a t ( c ) . c o n c a t ( [ a ] ) . j o i n ( " \ n " ) } r e t u r n [ n ] . j o i n ( " \ n " ) } } , 1 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; t . e x p o r t s = f u n c t i o n ( t ) { v a r e = [ ] ; r e t u r n e . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( e ) { v a r n = t ( e ) ; r e t u r n e [ 2 ] ? " @ m e d i a " . c o n c a t ( e [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) ) . j o i n ( " " ) } , e . i = f u n c t i o n ( t , n , r ) { " s t r i n g " = = t y p e o f t & & ( t = [ [ n u l l , t , " " ] ] ) ; v a r o = { } ; i f ( r ) f o r ( v a r i = 0 ; i < t h i s . l e n g t h ; i + + ) { v a r s = t h i s [ i ] [ 0 ] ; n u l l ! = s & & ( o [ s ] = ! 0 ) } f o r ( v a r a = 0 ; a < t . l e n g t h ; a + + ) { v a r c = [ ] . c o n c a t ( t [ a ] ) ; r & & o [ c [ 0 ] ] | | ( n & & ( c [ 2 ] ? c [ 2 ] = " " . c o n c a t ( n , " a n d " ) . c o n c a t ( c [ 2 ] ) : c [ 2 ] = n ) , e . p u s h ( c ) ) } } , e } } , 1 3 6 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 3 9 5 f a 6 a c ] { 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
/ * *
* @ 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-04-08 15:51:24 +03:00
* /e.default=d},2:function(t,e,n){"use strict";var r,o=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]}}(),i=[];function s(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function a(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],l=n[c]||0,A="".concat(c," ").concat(l);n[c]=l+1;var u=s(A),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:A,updater:g(m,e),references:1}),r.push(A)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var l,A=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function u(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=A(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function m(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," * /")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var d=null,p=0;function g(t,e){var n,r,o;if(e.singleton){var i=p++;n=d||(d=c(e)),r=u.bind(null,n,i,!1),o=u.bind(null,n,i,!0)}else n=c(e),r=m.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=s(n[r]);i[o].references--}for(var c=a(t,e),l=0;l<n.length;l++){var A=s(n[l]);0===i[A].references&&(i[A].updater(),i.splice(A,1))}n=c}}}},24:function(t,e){t.exports=n(29)},25:function(t,e){t.exports=n(41)},28:function(t,e){t.exports=n(61)},29:function(t,e){t.exports=n(123)},3:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var A=l.render;l.render=function(t,e){return c.call(e),A(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},33:function(t,e,n){"use strict";n(24),n(16),n(6),n(25),e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , t | | 5 ) } } , 3 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , o = 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-04-08 15:51:24 +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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 5 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 ) } } ) } , 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 o = 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 ( o . e x p o r t s , o , o . e x p o r t s , n ) , o . l = ! 0 , o . 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 o i n t ) n . d ( r , o , 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 , o ) ) ; 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 = 1 9 6 ) } ( [ 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 ) { r e t u r n f u n c t i o n ( t ) { i f ( A r r a y . i s A r r a y ( t ) ) r e t u r n t } ( t ) | | f u n c t i o n ( t , e ) { i f ( " 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 . i t e r a t o r i n O b j e c t ( t ) ) { v a r n = [ ] , r = ! 0 , o = ! 1 , i = v o i d 0 ; t r y { f o r ( v a r s , a = t [ S y m b o l . i t e r a t o r ] ( ) ; ! ( r = ( s = a . n e x t ( ) ) . d o n e ) & & ( n . p u s h ( s . v a l u e ) , ! e | | n . l e n g t h ! = = e ) ; r = ! 0 ) ; } c a t c h ( t ) { o = ! 0 , i = t } f i n a l l y { t r y { r | | n u l l = = a . r e t u r n | | a . r e t u r n ( ) } f i n a l l y { i f ( o ) t h r o w i } } r e t u r n n } } ( t , e ) | | f u n c t i o n ( t , e ) { i f ( t ) { i f ( " s t r i n g " = = t y p e o f t ) r e t u r n o ( t , e ) ; v a r n = 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 ) . s l i c e ( 8 , - 1 ) ; r e t u r n " O b j e c t " = = = n & & t . c o n s t r u c t o r & & ( n = t . c o n s t r u c t o r . n a m e ) , " M a p " = = = n | | " S e t " = = = n ? A r r a y . f r o m ( t ) : " A r g u m e n t s " = = = n | | / ^ ( ? : U i | I ) n t ( ? : 8 | 1 6 | 3 2 ) ( ? : C l a m p e d ) ? A r r a y $ / . t e s t ( n ) ? o ( t , e ) : v o i d 0 } } ( t , e ) | | f u n c t i o n ( ) { t h r o w n e w T y p e E r r o r ( " I n v a l i d a t t e m p t t o d e s t r u c t u r e n o n - i t e r a b l e i n s t a n c e . \ n I n o r d e r t o b e i t e r a b l e , n o n - a r r a y o b j e c t s m u s t h a v e a [ S y m b o l . i t e r a t o r ] ( ) m e t h o d . " ) } ( ) } f u n c t i o n o ( 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 } t . e x p o r t s = f u n c t i o n ( t ) { v a r e = r ( t , 4 ) , n = e [ 1 ] , o = e [ 3 ] ; i f ( " f u n c t i o n " = = t y p e o f b t o a ) { v a r i = b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) , s = " s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( i ) , a = " / * # " . c o n c a t ( s , " * / " ) , c = o . s o u r c e s . m a p ( ( f u n c t i o n ( t ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( o . s o u r c e R o o t | | " " ) . c o n c a t ( t , " * / " ) } ) ) ; r e t u r n [ n ] . c o n c a t ( c ) . c o n c a t ( [ a ] ) . j o i n ( " \ n " ) } r e t u r n [ n ] . j o i n ( " \ n " ) } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; t . e x p o r t s = f u n c t i o n ( t ) { v a r e = [ ] ; r e t u r n e . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( e ) { v a r n = t ( e ) ; r e t u r n e [ 2 ] ? " @ m e d i a " . c o n c a t ( e [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) ) . j o i n ( " " ) } , e . i = f u n c t i o n ( t , n , r ) { " s t r i n g " = = t y p e o f t & & ( t = [ [ n u l l , t , " " ] ] ) ; v a r o = { } ; i f ( r ) f o r ( v a r i = 0 ; i < t h i s . l e n g t h ; i + + ) { v a r s = t h i s [ i ] [ 0 ] ; n u l l ! = s & & ( o [ s ] = ! 0 ) } f o r ( v a r a = 0 ; a < t . l e n g t h ; a + + ) { v a r c = [ ] . c o n c a t ( t [ a ] ) ; r & & o [ c [ 0 ] ] | | ( n & & ( c [ 2 ] ? c [ 2 ] = " " . c o n c a t ( n , " a n d " ) . c o n c a t ( c [ 2 ] ) : c [ 2 ] = n ) , e . p u s h ( c ) ) } } , e } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r , o = f u n c t i o n ( ) { v a r t = { } ; r e t u r n f u n c t i o n ( e ) { i f ( v o i d 0 = = = t [ e ] ) { v a r n = d o c u m e n t . q u e r y S e l e c t o r ( e ) ; i f ( w i n d o w . H T M L I F r a m e E l e m e n t & & n i n s t a n c e o f w i n d o w . H T M L I F r a m e E l e m e n t ) t r y { n = n . c o n t e n t D o c u m e n t . h e a d } c a t c h ( t ) { n = n u l l } t [ e ] = n } r e t u r n t [ e ] } } ( ) , i = [ ] ; f u n c t i o n s ( t ) { f o r ( v a r e = - 1 , n = 0 ; n < i . l e n g t h ; n + + ) i f ( i [ n ] . i d e n t i f i e r = = = t ) { e = n ; b r e a k } r e t u r n e } f u n c t i o n a ( t , e ) { f o r ( v a r n = { } , r = [ ] , o = 0 ; o < t . l e n g t h ; o + + ) { v a r a = t [ o ] , c = e . b a s e ? a [ 0 ] + e . b a s e : a [ 0 ] , l = n [ c ] | | 0 , A = " " . c o n c a t ( c , " " ) . c o n c a t ( l ) ; n [ c ] = l + 1 ; v a r u = s ( A ) , m = { c s s : a [ 1 ] , m e d i a : a [ 2 ] , s o u r c e M a p : a [ 3 ] } ; - 1 ! = = u ? ( i [ u ] . r e f e r e n c e s + + , i [ u ] . u p d a t e r ( m ) ) : i . p u s h ( { i d e n t i f i e r : A , u p d a t e r : g ( m , e ) , r e f e r e n c e s : 1 } ) , r . p u s h ( A ) } r e t u r n r } f u n c t i o n c ( t ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) , r = t . a t t r i b u t e s | | { } ; i f ( v o i d
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e08a231][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / 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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 6 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 0 5 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 1 2 ) ; e . a = { m e t h o d s : { n : r . a , t : r . b } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 0 6 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . p u s h ( [ t . i , " . m e n t i o n - b u b b l e - - p r i m a r y . m e n t i o n - b u b b l e _ _ c o n t e n t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) } . m e n t i o n - b u b b l e _ _ w r a p p e r [ d a t a - v - 7 2 4 f 9 d 5 8 ] { m a x - w i d t h : 1 5 0 p x ; h e i g h t : 1 8 p x ; v e r t i c a l - a l i g n : t e x t - b o t t o m ; d i s p l a y : i n l i n e - f l e x ; a l i g n - i t e m s : c e n t e r } . m e n t i o n - b u b b l e _ _ c o n t e n t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { d i s p l a y : i n l i n e - f l e x ; o v e r f l o w : h i d d e n ; a l i g n - i t e m s : c e n t e r ; m a x - w i d t h : 1 0 0 % ; h e i g h t : 2 0 p x ; - w e b k i t - u s e r - s e l e c t : n o n e ; u s e r - s e l e c t : n o n e ; p a d d i n g - r i g h t : 6 p x ; p a d d i n g - l e f t : 2 p x ; b o r d e r - r a d i u s : 1 0 p x ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k ) } . m e n t i o n - b u b b l e _ _ i c o n [ d a t a - v - 7 2 4 f 9 d 5 8 ] { p o s i t i o n : r e l a t i v e ; w i d t h : 1 6 p x ; h e i g h t : 1 6 p x ; b o r d e r - r a d i u s : 8 p x ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k e r ) ; b a c k g r o u n d - r e p e a t : n o - r e p e a t ; b a c k g r o u n d - p o s i t i o n : c e n t e r ; b a c k g r o u n d - s i z e : 1 2 p x } . m e n t i o n - b u b b l e _ _ i c o n - - w i t h - a v a t a r [ d a t a - v - 7 2 4 f 9 d 5 8 ] { c o l o r : i n h e r i t ; b a c k g r o u n d - s i z e : c o v e r } . m e n t i o n - b u b b l e _ _ t i t l e [ d a t a - v - 7 2 4 f 9 d 5 8 ] { o v e r f l o w : h i d d e n ; m a r g i n - l e f t : 2 p x ; w h i t e - s p a c e : n o w r a p ; t e x t - o v e r f l o w : e l l i p s i s } . m e n t i o n - b u b b l e _ _ t i t l e [ d a t a - v - 7 2 4 f 9 d 5 8 ] : : b e f o r e { c o n t e n t : a t t r ( t i t l e ) } . m e n t i o n - b u b b l e _ _ s e l e c t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : - 1 ; l e f t : - 1 0 0 0 p x } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / M e n t i o n B u b b l e . v u e " ] , n a m e s : [ ] , m a p p i n g s : " A A s G C , m E A C C , + B A A g C , C A C h C , 6 C A A 8 C , C A C 9 C , 0 C A G A , e A X s B , C A a t B , W A A w C , C A C x C , 0 B A A 2 B , C A C 3 B , m B A A o B , C A C p B , k B A A m B , C A C n B , 0 C A G A , m B A A o B , C A C p 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 , W A z B k B , C A 0 B l B , w B A A y B , C A C z B , g B A A i B , C A C j B , i B A A k C , C A C l C , g B A 3 B k B , C A 4 B l B , k B A A i C , C A C j C , 6 C A A 8 C , C A C 9 C , u C A G A , i B A A k B , C A C l B , U A j C u D , C A k C v D , W A l C u D , C A m C v D , i B A A s C , C A C t C , + C A A g D , C A C h D , 2 B A A 4 B , C A C 5 B , 0 B A A 2 B , C A C 3 B , o B A A 0 D , C A E 1 D , o D A C C , a A A c , C A C d , q B A A s B , C A C t B , w C A I D , e A A g B , C A C h B , e A l D k B , C A m D l B , k B A A m B , C A C n B , s B A A u B , C A J v B , g D A O C , m B A A o B , C A C p B , y C A K D , i B A A k B , C A C l B , U A A W , C A C X , Y A A a " , s o u r c e s C o n t e n t : [ " $ s c o p e _ v e r s i o n : \ " e 0 8 a 2 3 1 \ " ; @ i m p o r t ' v a r i a b l e s ' ; \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n $ b u b b l e - h e i g h t : 2 0 p x ; \ n $ b u b b l e - m a x - w i d t h : 1 5 0 p x ; \ n $ b u b b l e - p a d d i n g : 2 p x ; \ n $ b u b b l e - a v a t a r - s i z e : $ b u b b l e - h e i g h t - 2 * $ b u b b l e - p a d d i n g ; \ n \ n . m e n t i o n - b u b b l e { \ n \ t & - - p r i m a r y & _ _ c o n t e n t { \ n \ t \ t c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; \ n \ t \ t b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; \ n \ t } \ n \ n \ t & _ _ w r a p p e r { \ n \ t \ t m a x - w i d t h : $ b u b b l e - m a x - w i d t h ; \ n \ t \ t / / A l i g n w i t h t e x t \ n \ t \ t h e i g h t : $ b u b b l e - h e i g h t - $ b u b b l e - p a d d i n g ; \ n \ t \ t v e r t i c a l - a l i g n : t e x t - b o t t o m ; \ n \ t \ t d i s p l a y : i n l i n e - f l e x ; \ n \ t \ t a l i g n - i t e m s : c e n t e r ; \ n \ t } \ n \ n \ t & _ _ c o n t e n t { \ n \ t \ t d i s p l a y : i n l i n e - f l e x ; \ n \ t \ t o v e r f l o w : h i d d e n ; \ n \ t \ t a l i g n - i t e m s : c e n t e r ; \ n \ t \ t m a x - w i d t h : 1 0 0 % ; \ n \ t \ t h e i g h t : $ b u b b l e - h e i g h t ; \ n \ t \ t - w e b k i t - u s e r - s e l e c t : n o n e ; \ n \ t \ t u s e r - s e l e c t : n o n e ; \ n \ t \ t p a d d i n g - r i g h t : $ b u b b l e - p a d d i n g * 3 ; \ n \ t \ t p a d d i n g - l e f t : $ b u b b l e - p a d d i n g ; \ n \ t \ t b o r d e r - r a d i u s : $ b u b b l e - h e i g h t / 2 ; \ n \ t \ t 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 - d a r k ) ; \ n \ t } \ n \ n \ t & _ _ i c o n { \ n \ t \ t p o s i t i o n : r e l a t i v e ; \ n \ t \ t w i d t h : $ b u b b l e - a v a t a r - s i z e ; \ n \ t \ t h e i g h t : $ b u b b l e - a v a t a r - s i z e ; \ n \ t \ t b o r d e r - r a d i u s : $ b u b b l e - a v a t a r - s i z e / 2 ; \ n \ t \ t 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 - d a r k e r ) ; \ n \ t \ t b a c k g r o u n d - r e p e a t : n o - r e p e a t ; \ n \ t \ t b a c k g r o u n d - p o s i t i o n : c e n t e r ; \ n \ t \ t b a c k g r o u n d - s i z e : $ b u b b l e - a v a t a r - s i z e - 2 * $ b u b b l e - p a d d i n g ; \ n \ n \ t \ t & - - w i t h - a v a t a r { \ n \ t \ t \ t c o l o r : i n h e r i t ; \ n \ t \ t \ t b a c k g r o u n d - s i z e : c o v e r ; \ n \ t \ t } \ n \ t } \ n \ n \ t & _ _ t i t l e { \ n \ t \ t o v e r f l o w : h i d d e n ; \ n \ t \ t m a r g i n - l e f t : $ b u
/ * *
* @ 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/>.
*
* / v a r d = { d a t a : f u n c t i o n ( ) { r e t u r n { h a s S t a t u s : ! 1 , u s e r S t a t u s : { s t a t u s : n u l l , m e s s a g e : n u l l , i c o n : n u l l } } } , m e t h o d s : { f e t c h U s e r S t a t u s : f u n c t i o n ( t ) { v a r e , n = t h i s ; r e t u r n ( e = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r r , o , i , s , a , m , d , p , g ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : i f ( r = O b j e c t ( A . g e t C a p a b i l i t i e s ) ( ) , 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 ( r , " u s e r _ s t a t u s " ) & & r . u s e r _ s t a t u s . e n a b l e d ) { e . n e x t = 3 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 3 : i f ( O b j e c t ( u . g e t C u r r e n t U s e r ) ( ) ) { e . n e x t = 5 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 5 : r e t u r n e . p r e v = 5 , e . n e x t = 8 , c . a . g e t ( O b j e c t ( l . g e n e r a t e O c s U r l ) ( " a p p s / u s e r _ s t a t u s / a p i / v 1 " , 2 ) + " s t a t u s e s / " . c o n c a t ( e n c o d e U R I C o m p o n e n t ( t ) ) ) ; c a s e 8 : o = e . s e n t , i = o . d a t a , s = i . o c s . d a t a , a = s . s t a t u s , m = s . m e s s a g e , d = s . i c o n , n . u s e r S t a t u s . s t a t u s = a , n . u s e r S t a t u s . m e s s a g e = m | | " " , n . u s e r S t a t u s . i c o n = d | | " " , n . h a s S t a t u s = ! 0 , e . n e x t = 2 2 ; b r e a k ; c a s e 1 7 : i f ( e . p r e v = 1 7 , e . t 0 = e . c a t c h ( 5 ) , 4 0 4 ! = = e . t 0 . r e s p o n s e . s t a t u s | | 0 ! = = ( n u l l = = = ( p = e . t 0 . r e s p o n s e . d a t a . o c s ) | | v o i d 0 = = = p | | n u l l = = = ( g = p . d a t a ) | | v o i d 0 = = = g ? v o i d 0 : g . l e n g t h ) ) { e . n e x t = 2 1 ; b r e a k } r e t u r n e . a b r u p t ( " r e t u r n " ) ; c a s e 2 1 : c o n s o l e . e r r o r ( e . t 0 ) ; c a s e 2 2 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 5 , 1 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n s ( t ) { m ( i , r , o , s , a , " n e x t " , t ) } f u n c t i o n a ( t ) { m ( i , r , o , s , a , " t h r o w " , t ) } s ( v o i d 0 ) } ) ) } ) ( ) } } } ;
/ * *
* @ 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/>.
*
* / } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 7 ) } , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 0 7 ) } , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 8 ) } , 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 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - a 7 c e d 2 f 4 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / P o p o v e r M e n u I t e m . v u e " ] , n a m e s : [ ] , m a p p i n g s : " ; A A 4 H A ; C A C A , g B A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , u B A A A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , 4 C A A A ; C A C A , g B A A A ; A A C A " , s o u r c e s C o n t e n t : [ ' \ x 3 c ! - - \ n - @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 8 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 - \ 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 , o r ( a t y o u r o p t i o n ) 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 d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n - b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n - M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n - 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 f o r m o r e d e t a i l s . \ n - \ n - Y o u s h o u l d h a v e r e c e i v e d a c o p y 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 \ n - a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n - \ n - - \ x 3 e \ n \ n < t e m p l a t e > \ n \ t < l i c l a s s = " p o p o v e r _ _ m e n u i t e m " > \ n \ t \ t \ x 3 c ! - - I f i t e m . h r e f i s s e t , a l i n k w i l l b e d i r e c t l y u s e d - - \ x 3 e \ n \ t \ t < a v - i f = " i t e m . h r e f " \ n \ t \ t \ t : h r e f = " ( i t e m . h r e f ) ? i t e m . h r e f : \ ' # \ ' " \ n \ t \ t \ t : t a r g e t = " ( i t e m . t a r g e t ) ? i t e m . t a r g e t : \ ' \ ' " \ n \ t \ t \ t : d o w n l o a d = " i t e m . d o w n l o a d " \ n \ t \ t \ t c l a s s = " f o c u s a b l e " \ n \ t \ t \ t r e l = " n o r e f e r r e r n o o p e n e r " \ n \ t \ t \ t @ c l i c k = " a c t i o n " > \ n \ t \ t \ t < s p a n v - i f = " ! i c o n I s U r l " : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < i m g v - e l s e : s r c = " i t e m . i c o n " > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n \ t \ t \ t < / p > \ n \ t \ t \ t < s p a n v - e l s e - i f = " i t e m . t e x t " > \ n \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t < / s p a n > \ n \ t \ t \ t < p v - e l s e - i f = " i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t < / p > \ n \ t \ t < / a > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . i n p u t i s s e t i n s t e a d , a n p u t w i l l b e u s e d - - \ x 3 e \ n \ t \ t < s p a n v - e l s e - i f = " i t e m . i n p u t " c l a s s = " m e n u i t e m " : c l a s s = " { a c t i v e : i t e m . a c t i v e } " > \ n \ t \ t \ t \ x 3 c ! - - d o e s n o t s h o w i f i n p u t i s c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < s p a n v - i f = " i t e m . i n p u t ! = = \ ' c h e c k b o x \ ' " : c l a s s = " i t e m . i c o n " / > \ n \ n \ t \ t \ t \ x 3 c ! - - o n l y s h o w s i f i n p u t i s t e x t - - \ x 3 e \ n \ t \ t \ t < f o r m v - i f = " i t e m . i n p u t = = = \ ' t e x t \ ' " \ n \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t @ s u b m i t . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < i n p u t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : v a l u e = " i t e m . v a l u e " \ n \ t \ t \ t \ t \ t : p l a c e h o l d e r = " i t e m . t e x t " \ n \ t \ t \ t \ t \ t r e q u i r e d > \ n \ t \ t \ t \ t < i n p u t t y p e = " s u b m i t " v a l u e = " " c l a s s = " i c o n - c o n f i r m " > \ n \ t \ t \ t < / f o r m > \ n \ n \ t \ t \ t \ x 3 c ! - - c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < t e m p l a t e v - e l s e > \ n \ t \ t \ t \ t < i n p u t : i d = " k e y " \ n \ t \ t \ t \ t \ t v - m o d e l = " i t e m . m o d e l " \ n \ t \ t \ t \ t \ t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t @ c h a n g e = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < l a b e l : f o r = " k e y " @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / l a b e l > \ n \ t \ t \ t < / t e m p l a t e > \ n \ t \ t < / s p a n > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . a c t i o n i s s e t i n s t e a d , a b u t t o n w i l l b e u s e d - - \ x 3 e \ n \ t \ t < b u t t o n v - e l s e - i f = " i t e m . a c t i o n " \ n \ t \ t \ t c l a s s = " m e n u i t e m f o c u s a b l e " \ n \ t \ t \ t : c l a s s = " { a c t i v e : i t e m . a c t i v e } " \ n \ t \ t \ t : d i s a b l e d = " i t e m . d i s a b l e d " \ n \ t \ t \ t @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t < s p a n : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m .
/ * *
* @ 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/>.
*
* /
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , s = 1 ; s < t ; s ++ ) { var a = parseInt ( e . r + i [ 0 ] * s , 10 ) , c = parseInt ( e . g + i [ 1 ] * s , 10 ) , l = parseInt ( e . b + i [ 2 ] * s , 10 ) ; o . push ( new r ( a , c , l ) ) } return o } n ( 30 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , s = o ( t , e , n ) , a = o ( t , n , i ) , c = o ( t , i , e ) ; return s . concat ( a ) . concat ( c ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 10 ) , m = n ( 11 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . push ( [ t . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + p + ");src:url(" + p + ') format("embedded-opentype"),url(' + g + ') format("woff"),url(' + f + ') format("truetype"),url(' + h + ' ) format ( "svg" ) } . icon [ data - v - 1 bfc7bfe ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - left [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . breadcrumb [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . checkmark [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . close [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . confirm [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . info [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . menu [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . pause [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . play [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . triangle - s [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - away [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - dnd [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - invisible [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - online [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . avatardiv [ data - v - 1 bfc7bfe ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 1 bfc7bfe ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # fff ! important ; box - shadow : 0 0 5 px rgba ( 0 , 0 , 0 , 0.05 ) inset } body . theme -- dark . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] { display : flex ; cursor : pointer ; opacity : 0 ; background : none ; font - size : 18 px ; align - items : center ; justify - content : center } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 1 bfc7bfe ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover img [ data - v - 1 bfc7bfe ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu img [ data - v - 1 bfc7bfe ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 1 bfc7bfe ] { position : absolute ; top : 0 ; left : 0 ; display : block ; width : 100 % ; text - align : center ; font - weight : normal ; color : var ( -- color - main - background ) } . avatardiv img [ data - v - 1 bfc7bfe ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 1 b
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . a = f u n c t i o n ( t , e ) { f o r ( v a r n = [ ] , r = 0 , o = 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 ) , i = 0 ; o > - 1 & & i < t . l e n g t h ; ) r = o + e . l e n g t h , n . p u s h ( { s t a r t : o , e n d : r } ) , o = 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 ( ) , o + 1 ) , i + + ; r e t u r n n } } , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 9 5 ) , n ( 1 6 ) , n ( 9 0 ) , n ( 1 3 ) , n ( 1 0 0 ) , n ( 3 1 ) , n ( 5 1 ) , n ( 1 0 5 ) , n ( 8 5 ) , n ( 1 0 6 ) ; v a r r = n ( 6 8 ) ; f u n c t i o n o ( 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 i ( 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 ? o ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { s ( 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 ) ) : o ( 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 s ( 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 a = { 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 ( i ( i ( { } , 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 ) } } , c = n ( 3 ) , l = n ( 7 4 ) , A = n . n ( l ) , u = O b j e c t ( c . a ) ( a , 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 A . a & & A ( ) ( u ) ; v a r m = u . e x p o r t s ;
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /e.default=m},function(t,e,n){"use strict";function r(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ? o ( t , e ) : void 0 } } ( t ) ) || e && t && "number" == typeof t . length ) { n && ( t = n ) ; var r = 0 , i = function ( ) { } ; return { s : i , n : function ( ) { return r >= t . length ? { done : ! 0 } : { done : ! 1 , value : t [ r ++ ] } } , e : function ( t ) { throw t } , f : i } } throw new TypeError ( "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } var s , a = ! 0 , c = ! 1 ; return { s : function ( ) { n = t [ Symbol . iterator ] ( ) } , n : function ( ) { var t = n . next ( ) ; return a = t . done , t } , e : function ( t ) { c = ! 0 , s = t } , f : function ( ) { try { a || null == n . return || n . return ( ) } finally { if ( c ) throw s } } } } function o ( t , e ) { ( null == e || e > t . length ) && ( e = t . length ) ; for ( var n = 0 , r = new Array ( e ) ; n < e ; n ++ ) r [ n ] = t [ n ] ; return r }
/ * *
* @ 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/>.
*
* / n . r ( e ) , n ( 4 0 ) , n ( 6 ) , n ( 1 5 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 4 6 ) , n ( 1 8 ) , n ( 1 9 ) , 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 , o = r ( e ) ; t r y { f o r ( o . s ( ) ; ! ( n = o . n ( ) ) . d o n e ; ) { v a r i , s = n . v a l u e ; i f ( n u l l ! = t & & n u l l ! = = ( i = t . c l a s s L i s t ) & & v o i d 0 ! = = i & & i . c o n t a i n s ( s ) ) r e t u r n ! 0 } } c a t c h ( t ) { o . e ( t ) } f i n a l l y { o . 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 ) { " u s e s t r i c t " ; n . r ( e ) ,
/ * *
* @ 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/>.
*
* /
e . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 6 ) , n ( 25 ) , n ( 39 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = n ( 2 ) , i = n . n ( o ) , s = n ( 53 ) , a = ( i ( ) ( s . a , { insert : "head" , singleton : ! 1 } ) , s . a . locals , n ( 54 ) ) , c = ( i ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , n ( 3 ) ) , l = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( c . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , { staticClass : "popover__menuitem" } , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" )
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* /e.default=p},function(t,e){},function(t,e){t.exports=n(155)},function(t,e,n){"use strict";n.r(e),n(58),n(29),n(86),n(101),n(102),n(30),n(13),n(57),n(59),n(6);var r=n(82),o=n(41),i=n(73),s=n(34),a=n(27),c=n(36),l=n.n(c),A=n(14),u=n(22),m=n(80),d=n(45),p=n(26);function g(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(t){g(i,r,o,s,a,"next",t)}function a(t){g(i,r,o,s,a,"throw",t)}s(void 0)}))}}var h=Object(r.getBuilder)("nextcloud").persist().build();function v(t){var e=h.getItem("user-has-avatar."+t);return"string"==typeof e?Boolean(e):null}function b(t,e){t&&h.setItem("user-has-avatar."+t,e)}var C={name:"Avatar",directives:{tooltip:u.default,ClickOutside:o.directive},components:{Popover:p.a,PopoverMenu:i.default},mixins:[d.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } , menuContainer : { type : String , default : "body" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuLoading : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { canDisplayUserStatus : function ( ) { return this . showUserStatus && this . hasStatus && [ "online" , "away" , "dnd" ] . includes ( this . userStatus . status ) } , showUserStatusIconOnAvatar : function ( ) { return this . showUserStatus && this . showUserStatusCompact && this . hasStatus && "dnd" !== this . userStatus . status && this . userStatus . icon } , getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { var t ; return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === ( null === ( t = Object ( s . getCurrentUser ) ( ) ) || void 0 === t ? void 0 : t . uid ) || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = Object ( m . default ) ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { var t ; if ( this . shouldShowPlaceholder ) { var e = this . getUserIdentifier , n = e . indexOf ( " " ) ; "" === e ? t = "?" : ( t = String . fromCodePoint ( e . codePointAt ( 0 ) ) , - 1 !== n && ( t = t . concat ( String . fromCodePoint ( e . codePointAt ( n + 1 ) ) ) ) ) } return t . toUpperCase ( ) } , menu : function ( ) { var t , e , n , r = this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , longtext : t . title } } ) ) ; return this . showUserStatus && ( this . userStatus . icon || this . userStatus . message ) ? [ { href : "#" , icon : "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>" . concat ( ( t = this . userStatus . icon , e = document . createTextNode ( t ) , n = document . createElement ( "p" ) , n . appendChild ( e ) , n . innerHTML ) , "</text></svg>" ) , text : "" . concat ( this . userStatus . message ) } ] . concat ( r ) : r } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatar
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / e . d e f a u l t = B } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 1 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 1 3 ) } , 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 ) 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-04-08 15:51:24 +03:00
* /e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e08a231"),"")}))}},function(t,e,n){"use strict";n.r(e),n(89),n(16),n(24);var r=n(77),o=n.n(r),i=n(63);e.default=function(t){var e=t.toLowerCase();return null===e.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( e = o ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( i . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } } , , function ( t , e ) { t . exports = n ( 214 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) ( ) ( o . a ) ; s . push ( [ t . i , ".option[data-v-26f84d14]{display:flex;align-items:center;width:100%;height:var(--height)}.option__avatar[data-v-26f84d14]{margin-right:var(--margin)}.option__details[data-v-26f84d14]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__lineone[data-v-26f84d14]{color:var(--color-text-light)}.option__linetwo[data-v-26f84d14]{opacity:.7}.option__lineone[data-v-26f84d14],.option__linetwo[data-v-26f84d14]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.1em}.option__lineone strong[data-v-26f84d14],.option__linetwo strong[data-v-26f84d14]{font-weight:bold}.option__icon[data-v-26f84d14]{flex:0 0 44px;width:44px;height:44px;opacity:.5;background-position:center;background-size:16px}\n" , "" , { version : 3 , sources : [ "webpack://./ListItemIcon.vue" , "webpack://./../../assets/variables.scss" ] , names : [ ] , mappings : "AA6NA,yBACC,YAAa,CACb,kBAAmB,CACnB,UAAW,CACX,oBAAqB,CAErB,iCACC,0BAA2B,CAC3B,kCAGA,YAAa,CACb,QAAS,CACT,qBAAsB,CACtB,sBAAuB,CACvB,WAAY,CACZ,kCAGA,6BAA8B,CAC9B,kCAEA,UCxMiB,CDyMjB,oEAGA,eAAgB,CAChB,kBAAmB,CACnB,sBAAuB,CACvB,iBAAkB,CALlB,kFAOC,gBAAiB,CACjB,+BAID,aCxOmB,CDyOnB,UCzOmB,CD0OnB,WC1OmB,CD2OnB,UC1NmB,CD2NnB,0BAA2B,CAC3B,oBAAqB" , sourcesContent : [ "$scope_version:\"e08a231\"; @import 'variables';\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.option {\n\tdisplay: flex;\n\talign-items: center;\n\twidth: 100%;\n\theight: var(--height);\n\n\t&__avatar {\n\t\tmargin-right: var(--margin);\n\t}\n\n\t&__details {\n\t\tdisplay: flex;\n\t\tflex: 1 1;\n\t\tflex-direction: column;\n\t\tjustify-content: center;\n\t\tmin-width: 0;\n\t}\n\n\t&__lineone {\n\t\tcolor: var(--color-text-light);\n\t}\n\t&__linetwo {\n\t\topacity: $opacity_normal;\n\t}\n\t&__lineone,\n\t&__linetwo {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\tline-height: 1.1em;\n\t\tstrong {\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n\n\t&__icon {\n\t\tflex: 0 0 $clickable-area;\n\t\twidth: $clickable-area;\n\t\theight: $clickable-area;\n\t\topacity: $opacity_disabled;\n\t\tbackground-position: center;\n\t\tbackground-size: 16px;\n\t}\n}\n\n" , " /**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */ \ n \ n // https://uxplanet.org
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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . d e f a u l t = p } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 9 ) , n ( 1 3 ) , n ( 5 7 ) , n ( 4 0 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 6 ) , n ( 4 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 1 0 8 ) , o = n . n ( r ) , i = ( n ( 1 5 ) , n ( 7 5 ) , n ( 1 6 ) , n ( 9 5 ) , n ( 7 0 ) ) , s = n ( 6 8 ) , a = { n a m e : " E l l i p s i s e d O p t i o n " , c o m p o n e n t s : { H i g h l i g h t : i . d e f a u l t } , p r o p s : { o p t i o n : { t y p e : [ S t r i n g , O b j e c t ] , r e q u i r e d : ! 0 , d e f a u l t : " " } , l a b e l : { 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 : " " } , n a m e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { n e e d s T r u n c a t e : f u n c t i o n ( ) { r e t u r n t h i s . n a m e & & t h i s . n a m e . l e n g t h > = 1 0 } , s p l i t : f u n c t i o n ( ) { r e t u r n t h i s . n a m e . l e n g t h - M a t h . m i n ( M a t h . f l o o r ( t h i s . n a m e . l e n g t h / 2 ) , 1 0 ) } , p a r t 1 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( 0 , t h i s . s p l i t ) : t h i s . n a m e } , p a r t 2 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( t h i s . s p l i t ) : " " } , h i g h l i g h t 1 : f u n c t i o n ( ) { r e t u r n t h i s . s e a r c h ? O b j e c t ( s . a ) ( t h i s . n a m e , t h i s . s e a r c h ) : [ ] } , h i g h l i g h t 2 : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n t h i s . h i g h l i g h t 1 . m a p ( ( f u n c t i o n ( e ) { r e t u r n { s t a r t : e . s t a r t - t . s p l i t , e n d : e . e n d - t . s p l i t } } ) ) } } } , c = n ( 2 ) , l = n . n ( c ) , A = n ( 9 3 ) , u = ( l ( ) ( A . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , A . a . l o c a l s , n ( 3 ) ) , m = O b j e c t ( u . a ) ( a , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " n a m e - p a r t s " , a t t r s : { t i t l e : t . n a m e } } , [ n ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ f i r s t " , a t t r s : { t e x t : t . p a r t 1 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 1 } } ) , t . _ v ( " " ) , t . p a r t 2 ? n ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ l a s t " , a t t r s : { t e x t : t . p a r t 2 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 2 } } ) : t . _ e ( ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " f 8 5 5 c 4 b 8 " , n u l l ) . e x p o r t s , d = n ( 4 2 ) , p = n ( 9 6 ) , g = n ( 2 2 ) ; f u n c t i o n f ( t ) { r e t u r n ( f = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } v a r h = { n a m e : " M u l t i s e l e c t " , c o m p o n e n t s : { E l l i p s i s e d O p t i o n : m , L i s t I t e m I c o n : p . d e f a u l t , V u e M u l t i s e l e c t : o . a } , d i r e c t i v e s : { t o o l t i p : g . d e f a u l t } , m i x i n s : [ d . a ] , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l i m i t : { t y p e : N u m b e r , d e f a u l t : 9 9 9 9 9 } , l a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , t r a c k B y : { t y p e : S t r i n g , d e f a u l t : " " } , o p t i o n s : { t y p e : A r r a y , r e q u i r e d : ! 0 } , u s e r S e l e c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o L i m i t : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , t a g W i d t h : { t y p e : N u m b e r , d e f a u l t : 1 5 0 , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n t > 0 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { e l W i d t h : 0 } } , c o m p u t e d : { m a x O p t i o n s : f u n c t i o n ( ) { i f ( t h i s . a u t o L i m i t & & t h i s . e l W i d t h > 0 & & 0 ! = = t h i s . t a g W i d t h ) { v a r t = M a t h . f l o o r ( t h i s . e l W i d t h / t h i s . t a g W i d t h ) ; r e t u r n t > 0 ? t : 1 } r e t u r n t h i s . l i m i t ? t h i s . l i m i t : 9 9 9 9 } , l i m i t S t r i n g : f u n c t i o n ( ) { r e t u r n " + " . c o n c a t ( t h i s . v a l u e . l e n g t h - t h i s . m a x O p t i o n s ) } , l o c a l V a l u e : { g e t : f u n c t i o n ( ) { r e t u r n t h i s . t r a c k B y & & t h i s . o p t i o n s & & " o b j e c t " ! = = f ( t h i s . v a l u e ) & & t h i s . o p t i o n s [ t h i s . v a l u e ] ? t h i s . o p t i o n s [ t h i s . v a l u e ] : t h i s . v a l u e } , s e t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : v a l u e " , t ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , w a t c h : { v a l u e : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) , w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , m e t h o d s : { g e t O p t i o n L a b e l : f u n c t i o n ( t ) { v a r e ; r e t u r n S t r i n g ( n u l l = = = ( e = t h i s . $ r e f s . V u e M u l t i s e l e c t ) | | v o i d 0 = = = e ? v o i d 0 : e . g e t O p t i o n L a b e l ( t ) ) } , f o r m a t L i m i t T i t l e : f u n c t i o n ( t ) { v a r e = t h i s ; i f ( A r r a y . i s A r r a y ( t ) & & t . l e n g t h > 0 ) { v a r n = t ; r e t u r n " o b j e c t " = = = f ( t [ 0 ] ) & & ( n = t . m a p ( ( f u n c t i o n ( t ) { r e t u r n t [ e . l a b e l ] } ) ) ) , n . s l i c e ( t h i s . m a x O p t i o n s ) . j o i n ( " , " ) } r e t u r n " " } , u p d a t e W i d t h : f u n c t i o n ( ) { t h i s . $ e l & & t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) & & ( t h i s . e l W i d t h = t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) . o f f s e t W i d t h - 1 0 ) } } } , v = n ( 9 4 ) , b = n . n ( v ) , C = O b j e c t ( u . a ) ( h , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " V u e M u l t i s e l e c t " , t . _ g ( t . _ b ( { r e f : " V u e M u l t i s e l e c t " , c l a s s : [ { " i c o n - l o a d i n g - s m a l l " : t . l o a d i n g } , t . m u l t i p l e ? " m u l t i s e l e c t - - m u l t i p l e " : " m u l t i s e l e c t - - s i n g l e " ] , a t t r s : { o p t i o n s : t . o p t i o n s , l i m i t : t . m a x O p t i o n s , " c l o s e - o n - s e l e c t " : ! t . m u l t i p l e , m u l t i p l e : t . m u l t i p l e , l a b e l : t . l a b e l , " t r a c k - b y " : t . t r a c k B y , " t a g - p l a c e h o l d e r " : " c r e a t e " } , s c o p e d S l o t s : t . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( e ) { r e t u r n [ t . u s e r S e l e c t & & ! t . $ s c o p e d S l o t s . o p t i o n ? n ( " L i s t I t e m I c o n " , t . _ b ( { a t t r s : { t i t l e : e . o p t i o n [ t . l a b e l ] , s e a r c h : e . s e a r c h } } , " L i s t I t e m I c o n " , e . o p t i o n , ! 1 ) ) : t . $ s c o p e d S l o t s . o p t i o n ? t . _ t ( " o p t i o n " , n u l l , n u l l , e ) : n ( "
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
Object ( r . a ) ( o . a ) , e . default = o . a } , function ( t , e ) { t . exports = n ( 281 ) } , , , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 10 ) , m = n ( 11 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . push ( [ t . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + p + ");src:url(" + p + ') format("embedded-opentype"),url(' + g + ') format("woff"),url(' + f + ') format("truetype"),url(' + h + ') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-e08a231";content:""}.icon.breadcrumb:before{font-family:"iconfont-vue-e08a231";content:""}.icon.checkmark:before{font-family:"iconfont-vue-e08a231";content:""}.icon.close:before{font-family:"iconfont-vue-e08a231";content:""}.icon.confirm:before{font-family:"iconfont-vue-e08a231";content:""}.icon.info:before{font-family:"iconfont-vue-e08a231";content:""}.icon.menu:before{font-family:"iconfont-vue-e08a231";content:""}.icon.more:before{font-family:"iconfont-vue-e08a231";content:""}.icon.pause:before{font-family:"iconfont-vue-e08a231";content:""}.icon.play:before{font-family:"iconfont-vue-e08a231";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-away:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-dnd:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-invisible:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-online:before{font-family:"iconfont-vue-e08a231";content:""}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:\'\' ; position : relative ; top : - 1 px ; display : inline - block ; width : 10 px ; height : 10 px ; vertical - align : middle ; border - style : solid ; border - color : currentColor ; border - width : 2 px 0 0 2 px ; border - radius : 1 px ; box - sizing : border - box ; transform - origin : center ; transform : rotate ( - 45 deg ) scale ( 0.7 ) } . mx - icon - double - left : after { left : - 4 px } . mx - icon - double - right : before { left : 4 px } . mx - icon - right : before , . mx - icon - double - right : before , . mx - icon - double - right : after { transform : rotate ( 135 deg ) scale ( 0.7 ) } . mx - btn { box - sizing : border - box ; line - height : 1 ; font - size : 14 px ; font - weight : 500 ; padding : 7 px 15 px ; margin : 0 ; cursor : pointer ; background - color : transparent ; outline : none ; border : 1 px solid rgba ( 0 , 0 , 0 , 0.1 ) ; border - radius : 4 px ; color : # 73879 c ; white - space : nowrap } . mx - btn : hover { border - color : # 1284e7 ; color : # 1284e7 } . mx - btn - text { border : 0 ; padding : 0 4 px ; text - align : left ; line - height : inherit } . mx - scrollbar { height : 100 % } . mx - scrollbar : hover . mx - scrollbar - track { opacity : 1 } . mx - scrollbar - wrap { height : 100 % ; overflow - x : hidden ; overflow - y : auto } . mx - scrollbar - track { position : absolute ; top : 2 px ; right : 2 px ; bottom : 2 px ; width : 6 px ; z - index : 1 ; border - radius : 4 px ; opacity : 0 ; transition : opacity 0.24 s ease - out } . mx - scrollbar - track . mx - scrollbar - thumb { position : absolute ; width : 100 % ; height : 0 ; cursor : pointer ; border - radius : inherit ; background - color : rgba ( 144 , 147 , 153 , 0.3 ) ; transition : background - color 0.3 s } . mx - zoom - in - down - enter - active , . mx - zoom - in - down - leave - active { opacity : 1 ; transform : scaleY ( 1 ) ; transition : transform 0.3 s cubic - bezier ( 0.23 , 1 , 0.32 , 1 ) , opacity 0.3 s cubic - bezier ( 0.23 , 1 , 0.32 , 1 ) ; transform - origin : center top } . mx - zoom - in - down - enter , . mx - zoom - in - down - leave - to { opacity : 0 ; transform : scaleY ( 0 ) } . mx - datepicker { position : relative ; display : inline - block ; width : 210 px } . mx - datepicker svg { width : 1 em ; height : 1 em ; vertical - align : - 0.15 em ; fill : currentColor ; overflow : hidden } . mx - datepicker - range { width : 320 px } . mx - datepicker - inline { width : auto } . mx - input - wrapper { position : relative } . mx - input - wrapper . mx - icon - clear { display : none } . mx - input - wrapper : hover . mx - icon - clear { display : block } . mx - input - wrapper : hover . mx - icon - clear + . mx - icon - calendar { display : none } . mx - input { display : inline - block ; box - sizing : border - box ; width : 100 % ; height : 34 px ; padding : 6 px 30 px ; p
/ * *
* @ 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/>.
*
* /
Object ( r . a ) ( A ) , e . default = A } , , function ( t , e ) { t . exports = n ( 355 ) } , , , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n . n ( r ) , i = n ( 1 ) , s = n . n ( i ) , a = n ( 4 ) , c = n . n ( a ) , l = n ( 8 ) , A = n ( 9 ) , u = n ( 10 ) , m = n ( 11 ) , d = s ( ) ( o . a ) , p = c ( ) ( l . a ) , g = c ( ) ( A . a ) , f = c ( ) ( u . a ) , h = c ( ) ( m . a ) ; d . push ( [ t . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + p + ");src:url(" + p + ') format("embedded-opentype"),url(' + g + ') format("woff"),url(' + f + ') format("truetype"),url(' + h + ') format("svg")}.icon[data-v-46fb3421]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-left[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right-double[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.arrow-right[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.breadcrumb[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.checkmark[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.close[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.confirm[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.info[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.menu[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.more[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.pause[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.play[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.triangle-s[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-away[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-dnd[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-invisible[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}.icon.user-status-online[data-v-46fb3421]:before{font-family:"iconfont-vue-e08a231";content:""}button[data-v-46fb3421],input[data-v-46fb3421]:not([type=\'range\']),textarea[data-v-46fb3421]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-46fb3421]:not(:disabled):not(.primary):hover,button[data-v-46fb3421]:not(:disabled):not(.primary):focus,button:not(:disabled):not(.primary).active[data-v-46fb3421],input[data-v-46fb3421]:not([type=\'range\']):not(:disabled):not(.primary):hover,input[data-v-46fb3421]:not([type=\'range\']):not(:disabled):not(.primary):focus,input:not([type=\'range\']):not(:disabled):not(.primary).active[data-v-46fb3421],textarea[data-v-46fb3421]:not(:disabled):not(.primary):hover,textarea[data-v-46fb3421]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-46fb3421]{border-color:var(--color-primary-element);outline:none}button[data-v-46fb3421]:not(:disabled):not(.primary):active,input[data-v-46fb3421]:not([type=\'range\']):not(:disabled):not(.primary):active,textarea[data-v-46fb3421]:not(:disabled):not(.primary):active{color:var(--color-text-light);outline:none;background-color:var(--color-main-background)}button[data-v-46fb3421]:disabled,input[data-v-46fb3421]:not([type=\'range\']):disabled,textarea[data-v-46fb3421]:disabled{cursor:default;opacity:.5;color:var(--color-text-maxcontrast);background-color:var(--color-background-dark)}button[data-v-46fb3421]:required,input[data-v-46fb3421]:not([type=\'range\']):required,textarea[data-v-46fb3421]:required{box-shadow:none}button[data-v-46fb3421]:invalid,input[data-v-46fb3421]:not([type=\'range\']):invalid,textarea[data-v-46fb3421]:invalid{border-color:var(--color-error);box-shadow:none !important}button.primary[data-v-46fb3421],input:not([type=\'range\' ] ) . primary [ data - v - 46 fb3421 ] , textarea . primary [ data - v - 46 fb3421 ] { cursor : pointer ; color : var ( -- color - primary - text ) ; border
/ * *
* @ 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/>.
*
* / e . d e f a u l t = g } ] ) } , 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 o = 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 ( o . e x p o r t s , o , o . e x p o r t s , n ) , o . l = ! 0 , o . 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 o i n t ) n . d ( r , o , 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 , o ) ) ; 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 = 2 0 0 ) } ( { 0 : 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 ) { r e t u r n f u n c t i o n ( t ) { i f ( A r r a y . i s A r r a y ( t ) ) r e t u r n t } ( t ) | | f u n c t i o n ( t , e ) { i f ( " 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 . i t e r a t o r i n O b j e c t ( t ) ) { v a r n = [ ] , r = ! 0 , o = ! 1 , i = v o i d 0 ; t r y { f o r ( v a r s , a = t [ S y m b o l . i t e r a t o r ] ( ) ; ! ( r = ( s = a . n e x t ( ) ) . d o n e ) & & ( n . p u s h ( s . v a l u e ) , ! e | | n . l e n g t h ! = = e ) ; r = ! 0 ) ; } c a t c h ( t ) { o = ! 0 , i = t } f i n a l l y { t r y { r | | n u l l = = a . r e t u r n | | a . r e t u r n ( ) } f i n a l l y { i f ( o ) t h r o w i } } r e t u r n n } } ( t , e ) | | f u n c t i o n ( t , e ) { i f ( t ) { i f ( " s t r i n g " = = t y p e o f t ) r e t u r n o ( t , e ) ; v a r n = 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 ) . s l i c e ( 8 , - 1 ) ; r e t u r n " O b j e c t " = = = n & & t . c o n s t r u c t o r & & ( n = t . c o n s t r u c t o r . n a m e ) , " M a p " = = = n | | " S e t " = = = n ? A r r a y . f r o m ( t ) : " A r g u m e n t s " = = = n | | / ^ ( ? : U i | I ) n t ( ? : 8 | 1 6 | 3 2 ) ( ? : C l a m p e d ) ? A r r a y $ / . t e s t ( n ) ? o ( t , e ) : v o i d 0 } } ( t , e ) | | f u n c t i o n ( ) { t h r o w n e w T y p e E r r o r ( " I n v a l i d a t t e m p t t o d e s t r u c t u r e n o n - i t e r a b l e i n s t a n c e . \ n I n o r d e r t o b e i t e r a b l e , n o n - a r r a y o b j e c t s m u s t h a v e a [ S y m b o l . i t e r a t o r ] ( ) m e t h o d . " ) } ( ) } f u n c t i o n o ( 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 } t . e x p o r t s = f u n c t i o n ( t ) { v a r e = r ( t , 4 ) , n = e [ 1 ] , o = e [ 3 ] ; i f ( " f u n c t i o n " = = t y p e o f b t o a ) { v a r i = b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) , s = " s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( i ) , a = " / * # " . c o n c a t ( s , " * / " ) , c = o . s o u r c e s . m a p ( ( f u n c t i o n ( t ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( o . s o u r c e R o o t | | " " ) . c o n c a t ( t , " * / " ) } ) ) ; r e t u r n [ n ] . c o n c a t ( c ) . c o n c a t ( [ a ] ) . j o i n ( " \ n " ) } r e t u r n [ n ] . j o i n ( " \ n " ) } } , 1 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; t . e x p o r t s = f u n c t i o n ( t ) { v a r e = [ ] ; r e t u r n e . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( e ) { v a r n = t ( e ) ; r e t u r n e [ 2 ] ? " @ m e d i a " . c o n c a t ( e [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) ) . j o i n ( " " ) } , e . i = f u n c t i o n ( t , n , r ) { " s t r i n g " = = t y p e o f t & & ( t = [ [ n u l l , t , " " ] ] ) ; v a r o = { } ; i f ( r ) f o r ( v a r i = 0 ; i < t h i s . l e n g t h ; i + + ) { v a r s = t h i s [ i ] [ 0 ] ; n u l l ! = s & & ( o [ s ] = ! 0 ) } f o r ( v a r a = 0 ; a < t . l e n g t h ; a + + ) { v a r c = [ ] . c o n c a t ( t [ a ] ) ; r & & o [ c [ 0 ] ] | | ( n & & ( c [ 2 ] ? c [ 2 ] = " " . c o n c a t ( n , " a n d " ) . c o n c a t ( c [ 2 ] ) : c [ 2 ] = n ) , e . p u s h ( c ) ) } } , e } } , 1 0 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; e . a = " d a t a : f o n t / t t f ; b a s e 6 4 , A A E A A A A K A I A A A w A g T 1 M v M n T j j 9 E A A A C s A A A A Y G N t Y X A A D e u 4 A A A B D A A A A U J n b H l m x 0 c 5 T A A A A l A A A A f 8 a G V h Z C s d w v 8 A A A p M A A A A N m h o Z W E m / R O F A A A K h A A A A C R o b X R 4 Z 7 7 / / w A A C q g A A A A 0 b G 9 j Y Q 2 8 D 2 Y A A A r c A A A A K G 1 h e H A B I A B X A A A L B A A A A C B u Y W 1 l 2 N B 2 A Q A A C y Q A A A K m c G 9 z d D 9 U v t c A A A 3 M A A A B F g A E E s o B k A A F A A A M Z Q 2 s A A A C v A x l D a w A A A l g A P U F C g A A A g A F A w A A A A A A A A A A A A A Q A A A A A A A A A A A A A A B Q Z k V k A E D q A e o S E 4 g A A A H C E 4 g A A A A A A A E A A A A A A A A A A A A A A C A A A A A A A A M A A A A D A A A A H A A B A A A A A A A 8 A A M A A Q A A A B w A B A A g A A A A B A A E A A E A A O o S / / 8 A A O o B / / 8 W A A A B A A A A A A A A A Q Y A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A C A A A A A A 6 m D 0 M A B Q A L A A A J A h E J B B E J A Q 6 m + o I F f v u 6 B E b 6 g v q C B X 7 7 u g R G D 0 L 6 g v q C A T g E R g R G A T j 6 g v q C A T g E R g R G A A E A A A A A D W 4 S U A A F A A A J A R E J A R E G G w d T 9 3 Q I j A n E + K 3 + y A i L C I z + x w A C A A A A A A / f D 0 M A B Q A L A A A J A h E J B B E J A Q T i B X 7 6 g g R G + 7 o F f g V / + o E E R v u 6 B E Y F f g V + / s j 7 u v u 6 / s g F f g V + / s j 7 u v u 6 A A E A A A A A D q Y S U A A F A A A J A R E J A R E N b v i t C I v 3 d Q n E B 1 M B O f d 0 9 3 U B O A A B A A A A A A Y 3 E 4 g A B Q A A E w c J A R c B l J Q F c v q O l A W j E 4 h V 9 p H 2 k V U J x A A A A Q A A A A A R h w + D A A U A A A k F D 8 3 3 8 / v 7 / k Y F v w n H D 4 P 3 8 w Q F / k f 6 Q Q n G A A E A A A A A E R c R F w A L A A A J C x E X
/ * *
* @ 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/>.
*
* /e.default=d},24:function(t,e){t.exports=n(29)},25:function(t,e){t.exports=n(41)},28:function(t,e){t.exports=n(61)},3:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var A=l.render;l.render=function(t,e){return c.call(e),A(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},33:function(t,e,n){"use strict";n(24),n(16),n(6),n(25),e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , t | | 5 ) } } , 3 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ;
/ * *
* @ 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-04-08 15:51:24 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},39:function(t,e){t.exports=n(79)},4:function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/ ^ [ '"].*[' "]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/[" '() \t\n]/.test(t)||e.needQuotes?' "'.concat(t.replace(/" / g , '\\"' ) . replace ( /\n/g , "\\n" ) , '"' ) : t ) } } , 49 : function ( t , e , n ) { "use strict" ; n ( 39 ) , n ( 6 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) ; var r = n ( 38 ) , o = ( n ( 15 ) , function ( t , e ) { for ( var n = t . $parent ; n ; ) { if ( n . $options . name === e ) return n ; n = n . $parent } } ) ; e . a = { mixins : [ r . a ] , props : { icon : { type : String , default : "" } , title : { type : String , default : "" } , closeAfterClick : { type : Boolean , default : ! 1 } , ariaLabel : { type : String , default : "" } } , computed : { isIconUrl : function ( ) { try { return new URL ( this . icon ) } catch ( t ) { return ! 1 } } } , methods : { onClick : function ( t ) { if ( this . $emit ( "click" , t ) , this . closeAfterClick ) { var e = o ( this , "Actions" ) ; e && e . closeMenu && e . closeMenu ( ) } } } } } , 5 : function ( t , e ) { t . exports = n ( 8 ) } , 6 : function ( t , e ) { t . exports = n ( 22 ) } , 8 : function ( t , e , n ) { "use strict" ; e . a = " data : application / vnd . ms - fontobject ; base64 , rg8AAOQOAAABAAIAAAAAAAIABQMAAAAAAAABQJABAAAAAExQAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAA0axwawAAAAAAAAAAAAAAAAAAAAAAACgAAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AZQAwADgAYQAyADMAMQAAAAAAABYAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAKAAAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUALQBlADAAOABhADIAMwAxAAAAAAABAAAACgCAAAMAIE9TLzJ044 / RAAAArAAAAGBjbWFwAA3ruAAAAQwAAAFCZ2x5ZsdHOUwAAAJQAAAH / GhlYWQrHcL / AAAKTAAAADZoaGVhJv0ThQAACoQAAAAkaG10eGe + //8AAAqoAAAANGxvY2ENvA9mAAAK3AAAAChtYXhwASAAVwAACwQAAAAgbmFtZdjQdgEAAAskAAACpnBvc3Q/VL7XAAANzAAAARYABBLKAZAABQAADGUNrAAAArwMZQ2sAAAJYAD1BQoAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA6gHqEhOIAAABwhOIAAAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQAAAAAAPAADAAEAAAAcAAQAIAAAAAQABAABAADqEv//AADqAf//FgAAAQAAAAAAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAOpg9DAAUACwAACQIRCQQRCQEOpvqCBX77ugRG+oL6ggV++7oERg9C+oL6ggE4BEYERgE4+oL6ggE4BEYERgABAAAAAA1uElAABQAACQERCQERBhsHU/d0CIwJxPit/sgIiwiM/scAAgAAAAAP3w9DAAUACwAACQIRCQQRCQEE4gV++oIERvu6BX4Ff/qBBEb7ugRGBX4Ffv7I+7r7uv7IBX4Ffv7I+7r7ugABAAAAAA6mElAABQAACQERCQERDW74rQiL93UJxAdTATn3dPd1ATgAAQAAAAAGNxOIAAUAABMHCQEXAZSUBXL6jpQFoxOIVfaR9pFVCcQAAAEAAAAAEYcPgwAFAAAJBQ/N9/P7+/5GBb8Jxw+D9/MEBf5H+kEJxgABAAAAABEXERcACwAACQsRF/3t+sD6wP3tBUD6wAITBUAFQAIT+sAEhP3tBUD6wAITBUAFQAIT+sAFQP3t+sAAAf//AAATkxLsADMAAAEiBw4BFxYXASEmBwYHBgcGFBcWFxYXFjchAQYHBhcWFx4BFxYXFjc2NwE2NzYnJicBLgEKYGVPSkYQEkgF1/HgTT46KScUFBQUJyk6Pk0OIPopNxoYAwMbGVY1Nzs+Oj81B+07FRUUFTz4Eyx0Euw5NKxZYEf6KgEbGC4sOTh4ODksLhgbAvopNT87Pjo3NlYZGgMDGBk4B+w8UVBPUjwH7C0yAAAAAgAAAAAOphJQABgARgAAASIHDgEHBhQXHgEXFjI3PgE3NjQnLgEnJgEiBwYHBhQXFhcWMyERISIHBgcGFBcWFxY3ITI3Njc2NCcmJyYjIRE0JyYnJiMJdm9mYpgpKyspmGJm3mZilyorKyqXYmb8NlZIRykrKylHSFYCcf2PVkhHKSsrKUdIVgdTVUhHKSsrKUdIVf2PKylHSVUSUCsql2Nl32VimCkrKymYYmXfZWOXKiv55SspR0irSEcpK/nmKylHSapJRykrASopR0mqSUcpKwdTVUhHKSsAAAMAAAAAERcRFwADAAcACwAAAREhEQERIREBESERAnEOpvFaDqbxWg6mERf9jwJx+eb9jwJx+eX9jwJxAAMAAAAAEp4L5wAYADEASgAAATIXHgEXFhQHDgEHBiInLgEnJjQ3PgE3NiEyFx4BFxYUBw4BBwYiJy4BJyY0Nz4BNzYhMhceARcWFAcOAQcGIicuAScmNDc+ATc2Aw1wZWKYKSsrKZhiZd9mYpcqKysql2JmByZvZmKXKisrKpdiZt5mYpcqKysql2JmByZvZmKXKisrKpdiZt9lYpgpKyspmGJlC+crKpdiZt5mYpcqKysql2Jm3mZilyorKyqXYmbeZmKXKisrKpdiZt5mYpcqKysql2Jm3mZilyorKyqXYmbeZmKXKisAAAAAAgAAAAAP3w/fAAMABwAAAREhESERIREDqgTiAnEE4g/f88sMNfPLDDUAAAABAAAAABEXERcAAgAACQICcQ6m8VoRF/it+K0AAQAAAAAOpgw1AAIAAAkCBOIE4gTiDDX7HgT
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-03-25 19:32:49 +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 o = 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 i ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function s ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function a ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function c ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = s ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : c ( a ( t ) ) } function l ( t ) { return t && t . referenceNode ? t . referenceNode : t } var A = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , u = n && /MSIE 10/ . test ( navigator . userAgent ) ; function m ( t ) { return 11 === t ? A : 10 === t ? u : A || u } function d ( t ) { if ( ! t ) return document . documentElement ; for ( var e = m ( 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" === s ( n , "position" ) ? d ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function p ( t ) { return null !== t . parentNode ? p ( t . parentNode ) : t } function g ( 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 , o = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var s , a , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( o ) ) return "BODY" === ( a = ( s = c ) . nodeName ) || "HTML" !== a && d ( s . firstElementChild ) !== s ? d ( c ) : c ; var l = p ( t ) ; return l . host ? g ( l . host , e ) : g ( t , p ( e ) . host ) } function f ( 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 o = t . ownerDocument . documentElement , i = t . ownerDocument . scrollingElement || o ; return i [ n ] } return t [ n ] } function h ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = f ( e , "top" ) , o = f ( e , "left" ) , i = n ? - 1 : 1 ; return t . top += r * i , t . bottom += r * i , t . left += o * i , t . right += o * i , 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 b ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , m ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function C ( t ) { var e = t . body , n = t . documentElement , r = m ( 10 ) && getComputedStyle ( n ) ; return { height : b ( "Height" , e , n , r ) , width : b ( "Width" , e , n , r ) } } var y = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , x = 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 } } ( ) , w = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , E = 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 k ( t ) { return E ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function M ( t ) { var e = { } ; try { if ( m ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = f ( t , "top" ) , r = f ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? C ( t . ownerDocument ) : { } , a = i . width || t . clientWidth || o . width , c = i . height || t . clientHeight || o . height , l = t . offsetWidth - a , A = t . offsetHeight - c ; if ( l || A ) { var u = s ( t ) ; l -= v ( u , "x" ) , A -
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-04-08 15:51:24 +03:00
* /e.default=d},2:function(t,e,n){"use strict";var r,o=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]}}(),i=[];function s(t){for(var e=-1,n=0;n<i.length;n++)if(i[n].identifier===t){e=n;break}return e}function a(t,e){for(var n={},r=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],l=n[c]||0,A="".concat(c," ").concat(l);n[c]=l+1;var u=s(A),m={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(m)):i.push({identifier:A,updater:g(m,e),references:1}),r.push(A)}return r}function c(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var s=o(t.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(e)}return e}var l,A=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function u(t,e,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=A(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function m(t,e,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," * /")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var d=null,p=0;function g(t,e){var n,r,o;if(e.singleton){var i=p++;n=d||(d=c(e)),r=u.bind(null,n,i,!1),o=u.bind(null,n,i,!0)}else n=c(e),r=m.bind(null,n,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=a(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var o=s(n[r]);i[o].references--}for(var c=a(t,e),l=0;l<n.length;l++){var A=s(n[l]);0===i[A].references&&(i[A].updater(),i.splice(A,1))}n=c}}}},24:function(t,e){t.exports=n(29)},25:function(t,e){t.exports=n(41)},28:function(t,e){t.exports=n(61)},29:function(t,e){t.exports=n(123)},3:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var A=l.render;l.render=function(t,e){return c.call(e),A(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},33:function(t,e,n){"use strict";n(24),n(16),n(6),n(25),e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , t | | 5 ) } } , 3 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , o = 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/>.
*
* / 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 ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 5 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 ) } , 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 ) } } ) } , , f u n c t i o n ( t , e , n ) {
/ * !
2021-03-20 15:23:04 +03:00
* clipboard . js v2 . 0.8
2021-03-17 11:45:22 +03:00
* https : //clipboardjs.com/
2021-03-20 15:23:04 +03:00
*
2021-03-17 11:45:22 +03:00
* Licensed MIT © Zeno Rocha
* /
2021-04-08 15:51:24 +03:00
t . exports = function ( ) { return e = { 134 : function ( t , e , n ) { "use strict" ; n . d ( e , { default : function ( ) { return p } } ) , e = n ( 279 ) ; var r = n . n ( e ) , o = ( e = n ( 370 ) , n . n ( e ) ) , i = ( e = n ( 817 ) , n . n ( e ) ) ; function s ( t ) { return ( s = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function a ( 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 ) } } var c = function ( ) { function t ( e ) { ! function ( e ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this ) , this . resolveOptions ( e ) , this . initSelection ( ) } var e , n ; return e = t , ( n = [ { key : "resolveOptions" , value : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } ; this . action = t . action , this . container = t . container , this . emitter = t . emitter , this . target = t . target , this . text = t . text , this . trigger = t . trigger , this . selectedText = "" } } , { key : "initSelection" , value : function ( ) { this . text ? this . selectFake ( ) : this . target && this . selectTarget ( ) } } , { key : "createFakeElement" , value : function ( ) { var t = "rtl" === document . documentElement . getAttribute ( "dir" ) ; return this . fakeElem = document . createElement ( "textarea" ) , this . fakeElem . style . fontSize = "12pt" , this . fakeElem . style . border = "0" , this . fakeElem . style . padding = "0" , this . fakeElem . style . margin = "0" , this . fakeElem . style . position = "absolute" , this . fakeElem . style [ t ? "right" : "left" ] = "-9999px" , t = window . pageYOffset || document . documentElement . scrollTop , this . fakeElem . style . top = "" . concat ( t , "px" ) , this . fakeElem . setAttribute ( "readonly" , "" ) , this . fakeElem . value = this . text , this . fakeElem } } , { key : "selectFake" , value : function ( ) { var t = this , e = this . createFakeElement ( ) ; this . fakeHandlerCallback = function ( ) { return t . removeFake ( ) } , this . fakeHandler = this . container . addEventListener ( "click" , this . fakeHandlerCallback ) || ! 0 , this . container . appendChild ( e ) , this . selectedText = i ( ) ( e ) , this . copyText ( ) , this . removeFake ( ) } } , { key : "removeFake" , value : function ( ) { this . fakeHandler && ( this . container . removeEventListener ( "click" , this . fakeHandlerCallback ) , this . fakeHandler = null , this . fakeHandlerCallback = null ) , this . fakeElem && ( this . container . removeChild ( this . fakeElem ) , this . fakeElem = null ) } } , { key : "selectTarget" , value : function ( ) { this . selectedText = i ( ) ( this . target ) , this . copyText ( ) } } , { key : "copyText" , value : function ( ) { var t ; try { t = document . execCommand ( this . action ) } catch ( e ) { t = ! 1 } this . handleResult ( t ) } } , { key : "handleResult" , value : function ( t ) { this . emitter . emit ( t ? "success" : "error" , { action : this . action , text : this . selectedText , trigger : this . trigger , clearSelection : this . clearSelection . bind ( this ) } ) } } , { key : "clearSelection" , value : function ( ) { this . trigger && this . trigger . focus ( ) , document . activeElement . blur ( ) , window . getSelection ( ) . removeAllRanges ( ) } } , { key : "destroy" , value : function ( ) { this . removeFake ( ) } } , { key : "action" , set : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : "copy" ; if ( this . _action = t , "copy" !== this . _action && "cut" !== this . _action ) throw new Error ( 'Invalid "action" value, use either "copy" or "cut"' ) } , get : function ( ) { return this . _action } } , { key : "target" , set : function ( t ) { if ( void 0 !== t ) { if ( ! t || "object" !== s ( t ) || 1 !== t . nodeType ) throw new Error ( 'Invalid "target" value, use a valid Element' ) ; if ( "copy" === this . action && t . hasAttribute ( "disabled" ) ) throw new Error ( 'Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute' ) ; if ( "cut" === this . action && ( t . hasAttribute ( "readonly" ) || t . hasAttribute ( "disabled" ) ) ) throw new Error ( 'Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes' ) ; this . _target = t } } , get : function ( ) { return this . _target } } ] ) && a ( e . prototype , n ) , t } ( ) ; function l ( t ) { return ( l = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function A ( 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 ) } } function u ( t , e )
2021-03-17 11:45:22 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2021-04-08 15:51:24 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { "use strict" ; var r = { } . propertyIsEnumerable , o = Object . getOwnPropertyDescriptor , i = o && ! r . call ( { 1 : 2 } , 1 ) ; e . f = i ? function ( t ) { var e = o ( this , t ) ; return ! ! e && e . enumerable } : r } , function ( t , e , n ) { var r = n ( 42 ) , o = n ( 82 ) , i = r . document , s = o ( i ) && o ( i . createElement ) ; t . exports = function ( t ) { return s ? i . createElement ( t ) : { } } } , function ( t , e , n ) { var r = n ( 42 ) , o = n ( 157 ) , i = n ( 98 ) , s = n ( 222 ) , a = n ( 258 ) , c = n ( 319 ) , l = c . get , A = c . enforce , u = String ( String ) . split ( "String" ) ; ( t . exports = function ( t , e , n , a ) { var c = ! ! a && ! ! a . unsafe , l = ! ! a && ! ! a . enumerable , m = ! ! a && ! ! a . noTargetGet ; "function" == typeof n && ( "string" != typeof e || i ( n , "name" ) || o ( n , "name" , e ) , A ( n ) . source = u . join ( "string" == typeof e ? e : "" ) ) , t !== r ? ( c ? ! m && t [ e ] && ( l = ! 0 ) : delete t [ e ] , l ? t [ e ] = n : o ( t , e , n ) ) : l ? t [ e ] = n : s ( e , n ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && l ( this ) . source || a ( this ) } ) ) } , function ( t , e , n ) { var r , o , i , s = n ( 320 ) , a = n ( 42 ) , c = n ( 82 ) , l = n ( 157 ) , A = n ( 98 ) , u = n ( 321 ) , m = n ( 263 ) , d = a . WeakMap ; if ( s ) { var p = new d , g = p . get , f = p . has , h = p . set ; r = function ( t , e ) { return h . call ( p , t , e ) , e } , o = function ( t ) { return g . call ( p , t ) || { } } , i = function ( t ) { return f . call ( p , t ) } } else { var v = u ( "state" ) ; m [ v ] = ! 0 , r = function ( t , e ) { return l ( t , v , e ) , e } , o = function ( t ) { return A ( t , v ) ? t [ v ] : { } } , i = function ( t ) { return A ( t , v ) } } t . exports = { set : r , get : o , has : i , enforce : function ( t ) { return i ( t ) ? o ( t ) : r ( t , { } ) } , getterFor : function ( t ) { return function ( e ) { var n ; if ( ! c ( e ) || ( n = o ( e ) ) . type !== t ) throw TypeError ( "Incompatible receiver, " + t + " required" ) ; return n } } } } , function ( t , e , n ) { var r = n ( 42 ) , o = n ( 258 ) , i = r . WeakMap ; t . exports = "function" == typeof i && /native code/ . test ( o ( i ) ) } , function ( t , e , n ) { var r = n ( 260 ) , o = n ( 262 ) , i = r ( "keys" ) ; t . exports = function ( t ) { return i [ t ] || ( i [ t ] = o ( t ) ) } } , function ( t , e , n ) { var r = n ( 98 ) , o = n ( 323 ) , i = n ( 215 ) , s = n ( 221 ) ; t . exports = function ( t , e ) { for ( var n = o ( e ) , a = s . f , c = i . f , l = 0 ; l < n . length ; l ++ ) { var A = n [ l ] ; r ( t , A ) || a ( t , A , c ( e , A ) ) } } } , function ( t , e , n ) { var r = n ( 264 ) , o = n ( 325 ) , i = n ( 328 ) , s = n ( 257 ) ; t . exports = r ( "Reflect" , "ownKeys" ) || function ( t ) { var e = o . f ( s ( t ) ) , n = i . f ; return n ? e . concat ( n ( t ) ) : e } } , function ( t , e , n ) { var r = n ( 42 ) ; t . exports = r } , function ( t , e , n ) { var r = n ( 265 ) , o = n ( 267 ) . concat ( "length" , "prototype" ) ; e . f = Object . getOwnPropertyNames || function ( t ) { return r ( t , o ) } } , function ( t , e , n ) { var r = n ( 217 ) , o = n ( 158 ) , i = n ( 327 ) , s = function ( t ) { return function ( e , n , s ) { var a , c = r ( e ) , l = o ( c . length ) , A = i ( s , l ) ; if ( t && n != n ) { for ( ; l > A ; ) if ( ( a = c [ A ++ ] ) != a ) return ! 0 } else for ( ; l > A ; A ++ ) if ( ( t || A in c ) && c [ A ] === n ) return t || A || 0 ; return ! t && - 1 } } ; t . exports = { includes : s ( ! 0 ) , indexOf : s ( ! 1 ) } } , function ( t , e , n ) { var r = n ( 266 ) , o = Math . max , i = Math . min ; t . exports = function ( t , e ) { var n = r ( t ) ; return n < 0 ? o ( n + e , 0 ) : i ( n , e ) } } , function ( t , e ) { e . f = Object . getOwnPropertySymbols } , function ( t , e , n ) { var r = n ( 49 ) , o = /#|\.prototype\./ , i = function ( t , e ) { var n = a [ s ( t ) ] ; return n == l || n != c && ( "function" == typeof e ? r ( e ) : ! ! e ) } , s = i . normalize = function ( t ) { return String ( t ) . replace ( o , "." ) . toLowerCase ( ) } , a = i . data = { } , c = i . NATIVE = "N" , l = i . POLYFILL = "P" ; t . exports = i } , function ( t , e , n ) { var r = n ( 331 ) ; t . exports = function ( t , e , n ) { if ( r ( t ) , void 0 === e ) return t ; switch ( n ) { case 0 : return function ( ) { return t . call ( e ) } ; case 1 : return function ( n ) { return t . call ( e , n ) } ; case 2 : return function ( n , r ) { return t . call ( e , n , r ) } ; case 3 : return function ( n , r , o ) { return t . call ( e , n , r , o ) } } return function ( ) { return t . apply ( e , arguments ) } } } , function ( t , e ) { t . exports = function ( t ) { if ( "function" != typeof t ) throw TypeError ( String ( t ) + " is not a function" ) ; return t } } , function ( t , e , n ) { var r = n ( 271 ) ; t . exports = r && ! Symbol . sham && "symbol" == typeof Symbol . iterator } , function ( t , e , n ) { var r = n ( 264 ) ; t . exports = r ( "navigator" , "userAgent" ) || "" } , function ( t , e , n ) { var r = n ( 265 ) , o = n ( 267 ) ; t . exports = Object . keys || function ( t ) { return r ( t , o ) } } , function ( t , e , n ) { var r = n ( 336 ) ; t . exports = function ( t ) { if ( r ( t ) ) throw TypeError ( "The method doesn't accept regular expressions" ) ; return t } } , function ( t , e , n ) { var r = n ( 82 ) , o = n ( 218 ) , i = n ( 133 ) ( "match" ) ; t . exports = function ( t ) { var e ; return r ( t ) && ( void 0 !== ( e = t [ i ] ) ? ! ! e : "RegExp" == o ( t ) ) } } , function ( t , e , n ) { var r = n ( 133 ) ( "match" ) ; t . exports = function ( t ) { var e = /./ ; try { "/./" [ t ] ( e ) } catch ( n ) { try { return e [ r ] = ! 1 , "/./" [ t ] ( e ) } catch ( t ) { } } re
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-03-31 13:34:13 +03:00
* @ author Arthur Schiwon < blizzz @ arthur - schiwon . de >
2021-03-17 11:45:22 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
2021-03-31 13:34:13 +03:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-17 11:45:22 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-03-25 19:32:49 +03:00
var g = function ( ) { function t ( ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) } var e , n , r ; return e = t , ( n = [ { key : "isPublicUploadEnabled" , get : function ( ) { return document . getElementById ( "filestable" ) && "yes" === document . getElementById ( "filestable" ) . dataset . allowPublicUpload } } , { key : "isShareWithLinkAllowed" , get : function ( ) { return document . getElementById ( "allowShareWithLink" ) && "yes" === document . getElementById ( "allowShareWithLink" ) . value } } , { key : "federatedShareDocLink" , get : function ( ) { return OC . appConfig . core . federatedCloudShareDoc } } , { key : "defaultExpirationDateString" , get : function ( ) { var t = "" ; if ( this . isDefaultExpireDateEnabled ) { var e = window . moment . utc ( ) , n = this . defaultExpireDate ; e . add ( n , "days" ) , t = e . format ( "YYYY-MM-DD" ) } return t } } , { key : "defaultInternalExpirationDateString" , get : function ( ) { var t = "" ; if ( this . isDefaultInternalExpireDateEnabled ) { var e = window . moment . utc ( ) , n = this . defaultInternalExpireDate ; e . add ( n , "days" ) , t = e . format ( "YYYY-MM-DD" ) } return t } } , { key : "defaultRemoteExpirationDateString" , get : function ( ) { var t = "" ; if ( this . isDefaultRemoteExpireDateEnabled ) { var e = window . moment . utc ( ) , n = this . defaultRemoteExpireDate ; e . add ( n , "days" ) , t = e . format ( "YYYY-MM-DD" ) } return t } } , { key : "enforcePasswordForPublicLink" , get : function ( ) { return ! 0 === OC . appConfig . core . enforcePasswordForPublicLink } } , { key : "enableLinkPasswordByDefault" , get : function ( ) { return ! 0 === OC . appConfig . core . enableLinkPasswordByDefault } } , { key : "isDefaultExpireDateEnforced" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultExpireDateEnforced } } , { key : "isDefaultExpireDateEnabled" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultExpireDateEnabled } } , { key : "isDefaultInternalExpireDateEnforced" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultInternalExpireDateEnforced } } , { key : "isDefaultRemoteExpireDateEnforced" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultRemoteExpireDateEnforced } } , { key : "isDefaultInternalExpireDateEnabled" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultInternalExpireDateEnabled } } , { key : "isRemoteShareAllowed" , get : function ( ) { return ! 0 === OC . appConfig . core . remoteShareAllowed } } , { key : "isMailShareAllowed" , get : function ( ) { var t , e , n , r = OC . getCapabilities ( ) ; return void 0 !== ( null == r || null === ( t = r . files _sharing ) || void 0 === t ? void 0 : t . sharebymail ) && ! 0 === ( null == r || null === ( e = r . files _sharing ) || void 0 === e || null === ( n = e . public ) || void 0 === n ? void 0 : n . enabled ) } } , { key : "defaultExpireDate" , get : function ( ) { return OC . appConfig . core . defaultExpireDate } } , { key : "defaultInternalExpireDate" , get : function ( ) { return OC . appConfig . core . defaultInternalExpireDate } } , { key : "defaultRemoteExpireDate" , get : function ( ) { return OC . appConfig . core . defaultRemoteExpireDate } } , { key : "isResharingAllowed" , get : function ( ) { return ! 0 === OC . appConfig . core . resharingAllowed } } , { key : "isPasswordForMailSharesRequired" , get : function ( ) { return void 0 !== OC . getCapabilities ( ) . files _sharing . sharebymail && OC . getCapabilities ( ) . files _sharing . sharebymail . password . enforced } } , { key : "shouldAlwaysShowUnique" , get : function ( ) { var t , e ; return ! 0 === ( null === ( t = OC . getCapabilities ( ) . files _sharing ) || void 0 === t || null === ( e = t . sharee ) || void 0 === e ? void 0 : e . always _show _unique ) } } , { key : "allowGroupSharing" , get : function ( ) { return ! 0 === OC . appConfig . core . allowGroupSharing } } , { key : "maxAutocompleteResults" , get : function ( ) { return parseInt ( OC . config [ "sharing.maxAutocompleteResults" ] , 10 ) || 25 } } , { key : "minSearchStringLength" , get : function ( ) { return parseInt ( OC . config [ "sharing.minSearchStringLength" ] , 10 ) || 0 } } , { key : "passwordPolicy" , get : function ( ) { var t = OC . getCapabilities ( ) ; return t . password _policy ? t . password _policy : { } } } ] ) && p ( e . prototype , n ) , r && p ( e , r ) , t } ( ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-03-31 13:34:13 +03:00
* @ 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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / f u n c t i o n f ( t , e ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r r = e [ n ] ; r . e n u m e r a b l e = r . e n u m e r a b l e | | ! 1 , r . c o n f i g u r a b l e = ! 0 , " v a l u e " i n r & & ( r . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( t , r . k e y , r ) } } f u n c t i o n h ( t , e ) { i f ( ! 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 ) ) t h r o w n e w T y p e E r r o r ( " a t t e m p t e d t o u s e p r i v a t e f i e l d o n n o n - i n s t a n c e " ) ; r e t u r n t } v a r v = 0 ; v a r b = " _ _ p r i v a t e _ " + v + + + " _ " + " s h a r e " , C = f u n c t i o n ( ) { f u n c t i o n t ( e ) { ! f u n c t i o n ( t , e ) { i f ( ! ( t i n s t a n c e o f e ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , t ) , O b j e c t . d e f i n e P r o p e r t y ( t h i s , b , { w r i t a b l e : ! 0 , v a l u e : v o i d 0 } ) , e . o c s & & e . o c s . d a t a & & e . o c s . d a t a [ 0 ] & & ( e = e . o c s . d a t a [ 0 ] ) , e . h i d e _ d o w n l o a d = ! ! e . h i d e _ d o w n l o a d , e . m a i l _ s e n d = ! ! e . m a i l _ s e n d , h ( t h i s , b ) [ b ] = e } v a r e , n , r ; r e t u r n e = t , ( n = [ { k e y : " s t a t e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] } } , { k e y : " i d " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . i d } } , { k e y : " t y p e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ t y p e } } , { k e y : " p e r m i s s i o n s " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . p e r m i s s i o n s } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . p e r m i s s i o n s = t } } , { k e y : " o w n e r " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . u i d _ o w n e r } } , { k e y : " o w n e r D i s p l a y N a m e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . d i s p l a y n a m e _ o w n e r } } , { k e y : " s h a r e W i t h " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ w i t h } } , { k e y : " s h a r e W i t h D i s p l a y N a m e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ w i t h _ d i s p l a y n a m e | | h ( t h i s , b ) [ b ] . s h a r e _ w i t h } } , { k e y : " s h a r e W i t h D i s p l a y N a m e U n i q u e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ w i t h _ d i s p l a y n a m e _ u n i q u e | | h ( t h i s , b ) [ b ] . s h a r e _ w i t h } } , { k e y : " s h a r e W i t h L i n k " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ w i t h _ l i n k } } , { k e y : " s h a r e W i t h A v a t a r " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s h a r e _ w i t h _ a v a t a r } } , { k e y : " u i d F i l e O w n e r " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . u i d _ f i l e _ o w n e r } } , { k e y : " d i s p l a y n a m e F i l e O w n e r " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . d i s p l a y n a m e _ f i l e _ o w n e r | | h ( t h i s , b ) [ b ] . u i d _ f i l e _ o w n e r } } , { k e y : " c r e a t e d T i m e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s t i m e } } , { k e y : " e x p i r e D a t e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . e x p i r a t i o n } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . e x p i r a t i o n = t } } , { k e y : " t o k e n " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . t o k e n } } , { k e y : " n o t e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . n o t e } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . n o t e = t } } , { k e y : " l a b e l " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . l a b e l } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . l a b e l = t } } , { k e y : " m a i l S e n d " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 = = = h ( t h i s , b ) [ b ] . m a i l _ s e n d } } , { k e y : " h i d e D o w n l o a d " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 = = = h ( t h i s , b ) [ b ] . h i d e _ d o w n l o a d } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . h i d e _ d o w n l o a d = ! 0 = = = t } } , { k e y : " p a s s w o r d " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . p a s s w o r d } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . p a s s w o r d = t } } , { k e y : " s e n d P a s s w o r d B y T a l k " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s e n d _ p a s s w o r d _ b y _ t a l k } , s e t : f u n c t i o n ( t ) { h ( t h i s , b ) [ b ] . s e n d _ p a s s w o r d _ b y _ t a l k = t } } , { k e y : " p a t h " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . p a t h } } , { k e y : " i t e m T y p e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . i t e m _ t y p e } } , { k e y : " m i m e t y p e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . m i m e t y p e } } , { k e y : " f i l e S o u r c e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . f i l e _ s o u r c e } } , { k e y : " f i l e T a r g e t " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . f i l e _ t a r g e t } } , { k e y : " f i l e P a r e n t " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . f i l e _ p a r e n t } } , { k e y : " h a s C r e a t e P e r m i s s i o n " , g e t : f u n c t i o n ( ) { r e t u r n ! ! ( t h i s . p e r m i s s i o n s & O C . P E R M I S S I O N _ C R E A T E ) } } , { k e y : " h a s D e l e t e P e r m i s s i o n " , g e t : f u n c t i o n ( ) { r e t u r n ! ! ( t h i s . p e r m i s s i o n s & O C . P E R M I S S I O N _ D E L E T E ) } } , { k e y : " h a s U p d a t e P e r m i s s i o n " , g e t : f u n c t i o n ( ) { r e t u r n ! ! ( t h i s . p e r m i s s i o n s & O C . P E R M I S S I O N _ U P D A T E ) } } , { k e y : " h a s S h a r e P e r m i s s i o n " , g e t : f u n c t i o n ( ) { r e t u r n ! ! ( t h i s . p e r m i s s i o n s & O C . P E R M I S S I O N _ S H A R E ) } } , { k e y : " c a n E d i t " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 = = = h ( t h i s , b ) [ b ] . c a n _ e d i t } } , { k e y : " c a n D e l e t e " , g e t : f u n c t i o n ( ) { r e t u r n ! 0 = = = h ( t h i s , b ) [ b ] . c a n _ d e l e t e } } , { k e y : " v i a F i l e i d " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . v i a _ f i l e i d } } , { k e y : " v i a P a t h " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . v i a _ p a t h } } , { k e y : " p a r e n t " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . p a r e n t } } , { k e y : " s t o r a g e I d " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s t o r a g e _ i d } } , { k e y : " s t o r a g e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s t o r a g e } } , { k e y : " i t e m S o u r c e " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . i t e m _ s o u r c e } } , { k e y : " s t a t u s " , g e t : f u n c t i o n ( ) { r e t u r n h ( t h i s , b ) [ b ] . s t a t u s } } ] ) & & f ( e . p r o t o t y p e , n ) , r & & f ( e , r ) , t } ( ) , y = { d a t a : f u n c t i o n ( ) { r e t u r n { S H A R E _ T Y P E S : { S H A R E _ T Y P E _ U S E R : O C . S h a r e . S H A R E _ T Y P E _ U S E R , S H A R E _ T Y P E _ G R O U P : O C . S h a r e . S H A R E _ T Y P E _ G R O U P , S H A R E _ T Y P E _ L I N K : O C . S h a r e . S H A R
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-03-31 13:34:13 +03:00
* @ author Daniel Calviño Sánchez < danxuliu @ gmail . com >
* @ author Gary Kim < gary @ garykim . dev >
* @ author Georg Ehrke < oc . list @ georgehrke . com >
2021-03-17 11:45:22 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* /function D(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}var O={name:"SharingEntryInternal",components:{ActionLink:w.a,SharingEntrySimple:_},props:{fileInfo:{type:Object,default:function(){},required:!0}},data:function(){return{copied:!1,copySuccess:!1}},computed:{internalLink:function(){return window.location.protocol+"/ / "+window.location.host+Object(l.generateUrl)(" / f / ")+this.fileInfo.id},clipboardTooltip:function(){return this.copied?this.copySuccess?t(" files _sharing "," Link copied "):t(" files _sharing "," Cannot copy , please copy the link manually "):t(" files _sharing "," Copy to clipboard ")},internalLinkSubtitle:function(){return" dir "===this.fileInfo.type?t(" files _sharing "," Only works for users with access to this folder "):t(" files _sharing "," Only works for users with access to this file ")}},methods:{copyLink:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$copyText(e.internalLink);case 3:e.$refs.copyButton.$el.focus(),e.copySuccess=!0,e.copied=!0,t.next=13;break;case 8:t.prev=8,t.t0=t.catch(0),e.copySuccess=!1,e.copied=!0,console.error(t.t0);case 13:return t.prev=13,setTimeout((function(){e.copySuccess=!1,e.copied=!1}),4e3),t.finish(13);case 16:case" end ":return t.stop()}}),t,null,[[0,8,13,16]])})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(t){D(i,r,o,s,a," next ",t)}function a(t){D(i,r,o,s,a," throw ",t)}s(void 0)}))})()}}},L=r(235),U={insert:" head ",singleton:!1},F=(I()(L.a,U),L.a.locals,Object(N.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(" SharingEntrySimple ",{staticClass:" sharing - entry _ _internal ",attrs:{title:t.t(" files _sharing "," Internal link "),subtitle:t.internalLinkSubtitle},scopedSlots:t._u([{key:" avatar ",fn:function(){return[n(" div ",{staticClass:" avatar - external icon - external - white "})]},proxy:!0}])},[t._v(" "),n(" ActionLink ",{ref:" copyButton ",attrs:{href:t.internalLink,target:" _blank ",icon:t.copied&&t.copySuccess?" icon - checkmark - color ":" icon - clippy "},on:{click:function(e){return e.preventDefault(),t.copyLink(e)}}},[t._v(" \ n \ t \ t "+t._s(t.clipboardTooltip)+" \ n \ t ")])],1)}),[],!1,null," 8239 c8d6 ",null).exports),z=r(32),Q=r(160),R=r.n(Q),G=r(159),Y=r.n(G);function $(t,e,n,r,o,i,s){try{var a=t[i](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,o)}function H(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function s(t){$(i,r,o,s,a," next ",t)}function a(t){$(i,r,o,s,a," throw " , t ) } s ( void 0 ) } ) ) } }
/ * *
* @ 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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / v a r W = n e w g , Z = " a b c d e f g i j k m n o p q r s t w x y z A B C D E F G H J K L M N P Q R S T W X Y Z 2 3 4 5 6 7 8 9 " , J = f u n c t i o n ( ) { r e t u r n V . a p p l y ( t h i s , a r g u m e n t s ) } ; f u n c t i o n V ( ) { r e t u r n ( V = H ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r e ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : i f ( ! W . p a s s w o r d P o l i c y . a p i | | ! W . p a s s w o r d P o l i c y . a p i . g e n e r a t e ) { t . n e x t = 1 2 ; b r e a k } r e t u r n t . p r e v = 1 , t . n e x t = 4 , d . a . g e t ( W . p a s s w o r d P o l i c y . a p i . g e n e r a t e ) ; c a s e 4 : i f ( ! ( e = t . s e n t ) . d a t a . o c s . d a t a . p a s s w o r d ) { t . n e x t = 7 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " , e . d a t a . o c s . d a t a . p a s s w o r d ) ; c a s e 7 : t . n e x t = 1 2 ; b r e a k ; c a s e 9 : t . p r e v = 9 , t . t 0 = t . c a t c h ( 1 ) , c o n s o l e . i n f o ( " E r r o r g e n e r a t i n g p a s s w o r d f r o m p a s s w o r d _ p o l i c y " , t . t 0 ) ; c a s e 1 2 : r e t u r n t . a b r u p t ( " r e t u r n " , A r r a y ( 1 0 ) . f i l l ( 0 ) . r e d u c e ( ( f u n c t i o n ( t , e ) { r e t u r n t + = Z . c h a r A t ( M a t h . f l o o r ( M a t h . r a n d o m ( ) * Z . l e n g t h ) ) } ) , " " ) ) ; c a s e 1 3 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 1 , 9 ] ] ) } ) ) ) ) . a p p l y ( t h i s , a r g u m e n t s ) } r ( 3 4 4 ) ; f u n c t i o n X ( t , e , n , r , o , i , s ) { t r y { v a r a = t [ i ] ( s ) , c = a . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } a . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) } f u n c t i o n K ( t ) { r e t u r n f u n c t i o n ( ) { v a r e = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n s ( t ) { X ( i , r , o , s , a , " n e x t " , t ) } f u n c t i o n a ( t ) { X ( i , r , o , s , a , " t h r o w " , t ) } s ( v o i d 0 ) } ) ) } }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-03-31 13:34:13 +03:00
* @ author Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author Joas Schilling < coding @ schilljs . com >
2021-03-17 11:45:22 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / v a r q = O b j e c t ( l . g e n e r a t e O c s U r l ) ( " a p p s / f i l e s _ s h a r i n g / a p i / v 1 " , 2 ) + " s h a r e s " , t t = { " C o n t e n t - T y p e " : " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d ; c h a r s e t = U T F - 8 " } , e t = { m e t h o d s : { c r e a t e S h a r e : f u n c t i o n ( e ) { r e t u r n K ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n n ( ) { v a r r , o , i , s , a , c , l , A , u , m , p , g , f , h , v , b ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( n ) { f o r ( ; ; ) s w i t c h ( n . p r e v = n . n e x t ) { c a s e 0 : r e t u r n r = e . p a t h , o = e . p e r m i s s i o n s , i = e . s h a r e T y p e , s = e . s h a r e W i t h , a = e . p u b l i c U p l o a d , c = e . p a s s w o r d , l = e . s e n d P a s s w o r d B y T a l k , A = e . e x p i r e D a t e , u = e . l a b e l , n . p r e v = 1 , n . n e x t = 4 , d . a . p o s t ( q , { p a t h : r , p e r m i s s i o n s : o , s h a r e T y p e : i , s h a r e W i t h : s , p u b l i c U p l o a d : a , p a s s w o r d : c , s e n d P a s s w o r d B y T a l k : l , e x p i r e D a t e : A , l a b e l : u } ) ; c a s e 4 : i f ( n u l l ! = ( p = n . s e n t ) & & n u l l ! = = ( m = p . d a t a ) & & v o i d 0 ! = = m & & m . o c s ) { n . n e x t = 7 ; b r e a k } t h r o w p ; c a s e 7 : r e t u r n n . a b r u p t ( " r e t u r n " , n e w C ( p . d a t a . o c s . d a t a ) ) ; c a s e 1 0 : t h r o w n . p r e v = 1 0 , n . t 0 = n . c a t c h ( 1 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e c r e a t i n g s h a r e " , n . t 0 ) , b = n u l l = = = n . t 0 | | v o i d 0 = = = n . t 0 | | n u l l = = = ( g = n . t 0 . r e s p o n s e ) | | v o i d 0 = = = g | | n u l l = = = ( f = g . d a t a ) | | v o i d 0 = = = f | | n u l l = = = ( h = f . o c s ) | | v o i d 0 = = = h | | n u l l = = = ( v = h . m e t a ) | | v o i d 0 = = = v ? v o i d 0 : v . m e s s a g e , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( b ? t ( " f i l e s _ s h a r i n g " , " E r r o r c r e a t i n g t h e s h a r e : { e r r o r M e s s a g e } " , { e r r o r M e s s a g e : b } ) : t ( " f i l e s _ s h a r i n g " , " E r r o r c r e a t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) , n . t 0 ; c a s e 1 6 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 1 , 1 0 ] ] ) } ) ) ) ( ) } , d e l e t e S h a r e : f u n c t i o n ( e ) { r e t u r n K ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n n ( ) { v a r r , o , i , s , a , c , l ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( n ) { f o r ( ; ; ) s w i t c h ( n . p r e v = n . n e x t ) { c a s e 0 : r e t u r n n . p r e v = 0 , n . n e x t = 3 , d . a . d e l e t e ( q + " / " . c o n c a t ( e ) ) ; c a s e 3 : i f ( n u l l ! = ( o = n . s e n t ) & & n u l l ! = = ( r = o . d a t a ) & & v o i d 0 ! = = r & & r . o c s ) { n . n e x t = 6 ; b r e a k } t h r o w o ; c a s e 6 : r e t u r n n . a b r u p t ( " r e t u r n " , ! 0 ) ; c a s e 9 : t h r o w n . p r e v = 9 , n . t 0 = n . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e d e l e t i n g s h a r e " , n . t 0 ) , l = n u l l = = = n . t 0 | | v o i d 0 = = = n . t 0 | | n u l l = = = ( i = n . t 0 . r e s p o n s e ) | | v o i d 0 = = = i | | n u l l = = = ( s = i . d a t a ) | | v o i d 0 = = = s | | n u l l = = = ( a = s . o c s ) | | v o i d 0 = = = a | | n u l l = = = ( c = a . m e t a ) | | v o i d 0 = = = c ? v o i d 0 : c . m e s s a g e , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( l ? t ( " f i l e s _ s h a r i n g " , " E r r o r d e l e t i n g t h e s h a r e : { e r r o r M e s s a g e } " , { e r r o r M e s s a g e : l } ) : t ( " f i l e s _ s h a r i n g " , " E r r o r d e l e t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) , n . t 0 ; c a s e 1 5 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 0 , 9 ] ] ) } ) ) ) ( ) } , u p d a t e S h a r e : f u n c t i o n ( e , n ) { r e t u r n K ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n r ( ) { v a r o , i , s , a , c , l , A , u ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( r ) { f o r ( ; ; ) s w i t c h ( r . p r e v = r . n e x t ) { c a s e 0 : r e t u r n r . p r e v = 0 , r . n e x t = 3 , d . a . p u t ( q + " / " . c o n c a t ( e ) , n , t t ) ; c a s e 3 : i f ( n u l l ! = ( i = r . s e n t ) & & n u l l ! = = ( o = i . d a t a ) & & v o i d 0 ! = = o & & o . o c s ) { r . n e x t = 6 ; b r e a k } t h r o w i ; c a s e 6 : r e t u r n r . a b r u p t ( " r e t u r n " , ! 0 ) ; c a s e 9 : t h r o w r . p r e v = 9 , r . t 0 = r . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e u p d a t i n g s h a r e " , r . t 0 ) , 4 0 0 ! = = r . t 0 . r e s p o n s e . s t a t u s & & ( A = n u l l = = = r . t 0 | | v o i d 0 = = = r . t 0 | | n u l l = = = ( s = r . t 0 . r e s p o n s e ) | | v o i d 0 = = = s | | n u l l = = = ( a = s . d a t a ) | | v o i d 0 = = = a | | n u l l = = = ( c = a . o c s ) | | v o i d 0 = = = c | | n u l l = = = ( l = c . m e t a ) | | v o i d 0 = = = l ? v o i d 0 : l . m e s s a g e , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( A ? t ( " f i l e s _ s h a r i n g " , " E r r o r u p d a t i n g t h e s h a r e : { e r r o r M e s s a g e } " , { e r r o r M e s s a g e : A } ) : t ( " f i l e s _ s h a r i n g " , " E r r o r u p d a t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) ) , u = r . t 0 . r e s p o n s e . d a t a . o c s . m e t a . m e s s a g e , n e w E r r o r ( u ) ; c a s e 1 5 : c a s e " e n d " : r e t u r n r . s t o p ( ) } } ) , r , n u l l , [ [ 0 , 9 ] ] ) } ) ) ) ( ) } } } ; f u n c t i o n n t ( t ) { r e t u r n ( n t = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } f u n c t i o n r t ( 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 ( 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 ? r t ( 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 ( 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 ) ) : r t ( 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 ( 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 } f u n c t i o n s t ( t , e , n , r , o , i , s ) { t r y { v a r a = t [ i ] ( s ) , c = a . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } a . d o n e ? e ( c ) : P r o m i s e . r e s o l v
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 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 Gary Kim < gary @ garykim . dev >
2021-03-17 11:45:22 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author Vincent Petry < vincent @ nextcloud . com >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* 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-03-25 19:32:49 +03:00
* / v a r y t = { m i x i n s : [ e t , y ] , p r o p s : { f i l e I n f o : { t y p e : O b j e c t , d e f a u l t : f u n c t i o n ( ) { } , r e q u i r e d : ! 0 } , s h a r e : { t y p e : C , d e f a u l t : n u l l } , i s U n i q u e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , d a t a : f u n c t i o n ( ) { v a r t ; r e t u r n { c o n f i g : n e w g , e r r o r s : { } , l o a d i n g : ! 1 , s a v i n g : ! 1 , o p e n : ! 1 , u p d a t e Q u e u e : n e w v t . a ( { c o n c u r r e n c y : 1 } ) , r e a c t i v e S t a t e : n u l l = = = ( t = t h i s . s h a r e ) | | v o i d 0 = = = t ? v o i d 0 : t . s t a t e , S H A R E _ T Y P E S : { S H A R E _ T Y P E _ U S E R : O C . S h a r e . S H A R E _ T Y P E _ U S E R , S H A R E _ T Y P E _ G R O U P : O C . S h a r e . S H A R E _ T Y P E _ G R O U P , S H A R E _ T Y P E _ L I N K : O C . S h a r e . S H A R E _ T Y P E _ L I N K , S H A R E _ T Y P E _ E M A I L : O C . S h a r e . S H A R E _ T Y P E _ E M A I L , S H A R E _ T Y P E _ R E M O T E : O C . S h a r e . S H A R E _ T Y P E _ R E M O T E , S H A R E _ T Y P E _ C I R C L E : O C . S h a r e . S H A R E _ T Y P E _ C I R C L E , S H A R E _ T Y P E _ G U E S T : O C . S h a r e . S H A R E _ T Y P E _ G U E S T , S H A R E _ T Y P E _ R E M O T E _ G R O U P : O C . S h a r e . S H A R E _ T Y P E _ R E M O T E _ G R O U P , S H A R E _ T Y P E _ R O O M : O C . S h a r e . S H A R E _ T Y P E _ R O O M } } } , c o m p u t e d : { h a s N o t e : { g e t : f u n c t i o n ( ) { r e t u r n " " ! = = t h i s . s h a r e . n o t e } , s e t : f u n c t i o n ( t ) { t h i s . s h a r e . n o t e = t ? n u l l : " " } } , d a t e T o m o r r o w : f u n c t i o n ( ) { r e t u r n m o m e n t ( ) . a d d ( 1 , " d a y s " ) } , f i r s t D a y : f u n c t i o n ( ) { r e t u r n w i n d o w . f i r s t D a y ? w i n d o w . f i r s t D a y : 0 } , l a n g : f u n c t i o n ( ) { r e t u r n { d a y s : w i n d o w . d a y N a m e s S h o r t ? w i n d o w . d a y N a m e s S h o r t : [ " S u n . " , " M o n . " , " T u e . " , " W e d . " , " T h u . " , " F r i . " , " S a t . " ] , m o n t h s : w i n d o w . m o n t h N a m e s S h o r t ? w i n d o w . m o n t h N a m e s S h o r t : [ " J a n . " , " F e b . " , " M a r . " , " A p r . " , " M a y . " , " J u n . " , " J u l . " , " A u g . " , " S e p . " , " O c t . " , " N o v . " , " D e c . " ] , p l a c e h o l d e r : { d a t e : " S e l e c t D a t e " } } } , i s S h a r e O w n e r : f u n c t i o n ( ) { r e t u r n t h i s . s h a r e & & t h i s . s h a r e . o w n e r = = = O b j e c t ( z . g e t C u r r e n t U s e r ) ( ) . u i d } } , m e t h o d s : { c h e c k S h a r e : f u n c t i o n ( t ) { i f ( t . p a s s w o r d & & ( " s t r i n g " ! = t y p e o f t . p a s s w o r d | | " " = = = t . p a s s w o r d . t r i m ( ) ) ) r e t u r n ! 1 ; i f ( t . e x p i r a t i o n D a t e & & ! m o m e n t ( t . e x p i r a t i o n D a t e ) . i s V a l i d ( ) ) r e t u r n ! 1 ; r e t u r n ! 0 } , o n E x p i r a t i o n C h a n g e : f u n c t i o n ( t ) { v a r e = m o m e n t ( t ) . f o r m a t ( " Y Y Y Y - M M - D D " ) ; t h i s . s h a r e . e x p i r e D a t e = e , t h i s . q u e u e U p d a t e ( " e x p i r e D a t e " ) } , o n E x p i r a t i o n D i s a b l e : f u n c t i o n ( ) { t h i s . s h a r e . e x p i r e D a t e = " " , t h i s . q u e u e U p d a t e ( " e x p i r e D a t e " ) } , o n N o t e C h a n g e : f u n c t i o n ( t ) { t h i s . $ s e t ( t h i s . s h a r e , " n e w N o t e " , t . t r i m ( ) ) } , o n N o t e S u b m i t : f u n c t i o n ( ) { t h i s . s h a r e . n e w N o t e & & ( t h i s . s h a r e . n o t e = t h i s . s h a r e . n e w N o t e , t h i s . $ d e l e t e ( t h i s . s h a r e , " n e w N o t e " ) , t h i s . q u e u e U p d a t e ( " n o t e " ) ) } , o n D e l e t e : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n C t ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : r e t u r n e . p r e v = 0 , t . l o a d i n g = ! 0 , t . o p e n = ! 1 , e . n e x t = 5 , t . d e l e t e S h a r e ( t . s h a r e . i d ) ; c a s e 5 : c o n s o l e . d e b u g ( " S h a r e d e l e t e d " , t . s h a r e . i d ) , t . $ e m i t ( " r e m o v e : s h a r e " , t . s h a r e ) , e . n e x t = 1 2 ; b r e a k ; c a s e 9 : e . p r e v = 9 , e . t 0 = e . c a t c h ( 0 ) , t . o p e n = ! 0 ; c a s e 1 2 : r e t u r n e . p r e v = 1 2 , t . l o a d i n g = ! 1 , e . f i n i s h ( 1 2 ) ; c a s e 1 5 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 0 , 9 , 1 2 , 1 5 ] ] ) } ) ) ) ( ) } , q u e u e U p d a t e : f u n c t i o n ( ) { f o r ( v a r t = t h i s , e = a r g u m e n t s . l e n g t h , n = n e w A r r a y ( e ) , r = 0 ; r < e ; r + + ) n [ r ] = a r g u m e n t s [ r ] ; i f ( 0 ! = = n . l e n g t h ) i f ( t h i s . s h a r e . i d ) { v a r o = { } ; n . m a p ( ( f u n c t i o n ( e ) { r e t u r n o [ e ] = t . s h a r e [ e ] . t o S t r i n g ( ) } ) ) , t h i s . u p d a t e Q u e u e . a d d ( C t ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { v a r r ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : r e t u r n t . s a v i n g = ! 0 , t . e r r o r s = { } , e . p r e v = 2 , e . n e x t = 5 , t . u p d a t e S h a r e ( t . s h a r e . i d , o ) ; c a s e 5 : n . i n d e x O f ( " p a s s w o r d " ) > = 0 & & t . $ d e l e t e ( t . s h a r e , " n e w P a s s w o r d " ) , t . $ d e l e t e ( t . e r r o r s , n [ 0 ] ) , e . n e x t = 1 3 ; b r e a k ; c a s e 9 : e . p r e v = 9 , e . t 0 = e . c a t c h ( 2 ) , ( r = e . t 0 . m e s s a g e ) & & " " ! = = r & & t . o n S y n c E r r o r ( n [ 0 ] , r ) ; c a s e 1 3 : r e t u r n e . p r e v = 1 3 , t . s a v i n g = ! 1 , e . f i n i s h ( 1 3 ) ; c a s e 1 6 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 2 , 9 , 1 3 , 1 6 ] ] ) } ) ) ) ) } e l s e c o n s o l e . e r r o r ( " C a n n o t u p d a t e s h a r e . " , t h i s . s h a r e , " N o v a l i d i d " ) } , o n S y n c E r r o r : f u n c t i o n ( t , e ) { s w i t c h ( t h i s . o p e n = ! 0 , t ) { c a s e " p a s s w o r d " : c a s e " p e n d i n g " : c a s e " e x p i r e D a t e " : c a s e " l a b e l " : c a s e " n o t e " : t h i s . $ s e t ( t h i s . e r r o r s , t , e ) ; v a r n = t h i s . $ r e f s [ t ] ; i f ( n ) { n . $ e l & & ( n = n . $ e l ) ; v a r r = n . q u e r y S e l e c t o r ( " . f o c u s a b l e " ) ; r & & r . f o c u s ( ) } b r e a k ; c a s e " s e n d P a s s w o r d B y T a l k " : t h i s . $ s e t ( t h i s . e r r o r s , t , e ) , t h i s . s h a r e . s e n d P a s s w o r d B y T a l k = ! t h i s . s h a r e . s e n d P a s s w o r d B y T a l k } } , d e b o u n c e Q u e u e U p d a t e : R ( ) ( ( f u n c t i o n ( t ) { t h i s . q u e u e U p d a t e ( t ) } ) , 5 0 0 ) , d i s a b l e d D a t e : f u n c t i o n ( t ) { v a r e = m o m e n t ( t ) ; r e t u r n t h i s . d a t e T o m o r r o w & & e . i s B e f o r e ( t h i s . d a t e T o m o r r o w , " d a y " ) | | t h i s . d a t e M a x E n f o r c e d & & e . i s S a m e O r A f t e r ( t h i s . d a t e M a x E n f o r c e d , " d a y " ) } } } , x t = { n a m e : " S h a r i n g E n t r y I n h e r i t e d " , c o m p o n e n t s : { A c t i o n B u t t o n : d t . a , A c t i o n L i n k : w . a , A c t i o n T e x t : f t . a , A v a t a r : u . a , S h a r i n g E n t r y S i m p l e : _ } , m i x i n s : [ y t ] , p r o p s : { s h a r e : { t y p e : C , r e q u i r e d : ! 0 } } , c o m p u t e d : { v i a F i l e T a r g e t U r l : f u n c t i o n ( ) { r e t u r n O b j e c t ( l . g e n e r a t e U r l ) ( " / f / {
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
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / f u n c t i o n m e ( t ) { r e t u r n ( m e = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } f u n c t i o n d e ( t , e ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r r = e [ n ] ; r . e n u m e r a b l e = r . e n u m e r a b l e | | ! 1 , r . c o n f i g u r a b l e = ! 0 , " v a l u e " i n r & & ( r . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( t , r . k e y , r ) } } f u n c t i o n p e ( t , e ) { i f ( ! 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 ) ) t h r o w n e w T y p e E r r o r ( " a t t e m p t e d t o u s e p r i v a t e f i e l d o n n o n - i n s t a n c e " ) ; r e t u r n t } v a r g e = 0 ; v a r f e = f u n c t i o n ( t ) { r e t u r n " _ _ p r i v a t e _ " + g e + + + " _ " + t } ( " s t a t e " ) , h e = f u n c t i o n ( ) { f u n c t i o n t ( ) { ! f u n c t i o n ( t , e ) { i f ( ! ( t i n s t a n c e o f e ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , t ) , O b j e c t . d e f i n e P r o p e r t y ( t h i s , f e , { w r i t a b l e : ! 0 , v a l u e : v o i d 0 } ) , p e ( t h i s , f e ) [ f e ] = { } , p e ( t h i s , f e ) [ f e ] . a c t i o n s = [ ] , c o n s o l e . d e b u g ( " O C A . S h a r i n g . E x t e r n a l L i n k A c t i o n s i n i t i a l i z e d " ) } v a r e , n , r ; r e t u r n e = t , ( n = [ { k e y : " s t a t e " , g e t : f u n c t i o n ( ) { r e t u r n p e ( t h i s , f e ) [ f e ] } } , { k e y : " r e g i s t e r A c t i o n " , v a l u e : f u n c t i o n ( t ) { r e t u r n " o b j e c t " = = = m e ( t ) & & t . i c o n & & t . n a m e & & t . u r l ? ( p e ( t h i s , f e ) [ f e ] . a c t i o n s . p u s h ( t ) , ! 0 ) : ( c o n s o l e . e r r o r ( " I n v a l i d a c t i o n p r o v i d e d " , t ) , ! 1 ) } } ] ) & & d e ( e . p r o t o t y p e , n ) , r & & d e ( e , r ) , t } ( ) ;
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
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / f u n c t i o n v e ( t , e ) { f o r ( v a r n = 0 ; n < e . l e n g t h ; n + + ) { v a r r = e [ n ] ; r . e n u m e r a b l e = r . e n u m e r a b l e | | ! 1 , r . c o n f i g u r a b l e = ! 0 , " v a l u e " i n r & & ( r . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( t , r . k e y , r ) } } f u n c t i o n b e ( t , e ) { i f ( ! 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 ) ) t h r o w n e w T y p e E r r o r ( " a t t e m p t e d t o u s e p r i v a t e f i e l d o n n o n - i n s t a n c e " ) ; r e t u r n t } v a r C e = 0 ; v a r y e = f u n c t i o n ( t ) { r e t u r n " _ _ p r i v a t e _ " + C e + + + " _ " + t } ( " s e c t i o n s " ) , x e = f u n c t i o n ( ) { f u n c t i o n t ( ) { ! f u n c t i o n ( t , e ) { i f ( ! ( t i n s t a n c e o f e ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , t ) , O b j e c t . d e f i n e P r o p e r t y ( t h i s , y e , { w r i t a b l e : ! 0 , v a l u e : v o i d 0 } ) , b e ( t h i s , y e ) [ y e ] = [ ] } v a r e , n , r ; r e t u r n e = t , ( n = [ { k e y : " r e g i s t e r S e c t i o n " , v a l u e : f u n c t i o n ( t ) { b e ( t h i s , y e ) [ y e ] . p u s h ( t ) } } , { k e y : " g e t S e c t i o n s " , v a l u e : f u n c t i o n ( ) { r e t u r n b e ( t h i s , y e ) [ y e ] } } ] ) & & v e ( e . p r o t o t y p e , n ) , r & & v e ( e , r ) , t } ( ) ;
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 >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-10-20 14:58:01 +03:00
* / f u n c t i o n w e ( t , e , n , r , o , i , s ) { t r y { v a r a = t [ i ] ( s ) , c = a . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } a . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-10-20 14:58:01 +03:00
window . OCA . Sharing || ( window . OCA . Sharing = { } ) , Object . assign ( window . OCA . Sharing , { ShareSearch : new ue } ) , Object . assign ( window . OCA . Sharing , { ExternalLinkActions : new he } ) , Object . assign ( window . OCA . Sharing , { ShareTabSections : new xe } ) , o . default . prototype . t = a . translate , o . default . prototype . n = a . translatePlural , o . default . use ( s . a ) ; var Ee = o . default . extend ( se ) , ke = null ; window . addEventListener ( "DOMContentLoaded" , ( function ( ) { OCA . Files && OCA . Files . Sidebar && OCA . Files . Sidebar . registerTab ( new OCA . Files . Sidebar . Tab ( { id : "sharing" , name : Object ( a . translate ) ( "files_sharing" , "Sharing" ) , icon : "icon-share" , mount : function ( t , e , n ) { return ( r = regeneratorRuntime . mark ( ( function r ( ) { return regeneratorRuntime . wrap ( ( function ( r ) { for ( ; ; ) switch ( r . prev = r . next ) { case 0 : return ke && ke . $destroy ( ) , ke = new Ee ( { parent : n } ) , r . next = 4 , ke . update ( e ) ; case 4 : ke . $mount ( t ) ; case 5 : case "end" : return r . stop ( ) } } ) , r ) } ) ) , function ( ) { var t = this , e = arguments ; return new Promise ( ( function ( n , o ) { var i = r . apply ( t , e ) ; function s ( t ) { we ( i , n , o , s , a , "next" , t ) } function a ( t ) { we ( i , n , o , s , a , "throw" , t ) } s ( void 0 ) } ) ) } ) ( ) ; var r } , update : function ( t ) { ke . update ( t ) } , destroy : function ( ) { ke . $destroy ( ) , ke = null } } ) ) } ) ) } , function ( t , e , n ) { "use strict" ; function r ( t , e ) { if ( e . length < t ) throw new TypeError ( t + " argument" + ( t > 1 ? "s" : "" ) + " required, but only " + e . length + " present" ) } function o ( t ) { r ( 1 , arguments ) ; var e = Object . prototype . toString . call ( t ) ; return t instanceof Date || "object" == typeof t && "[object Date]" === e ? new Date ( t . getTime ( ) ) : "number" == typeof t || "[object Number]" === e ? new Date ( t ) : ( "string" != typeof t && "[object String]" !== e || "undefined" == typeof console || ( console . warn ( "Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule" ) , console . warn ( ( new Error ) . stack ) ) , new Date ( NaN ) ) } function i ( t ) { r ( 1 , arguments ) ; var e = o ( t ) , n = new Date ( 0 ) ; return n . setFullYear ( e . getFullYear ( ) , 0 , 1 ) , n . setHours ( 0 , 0 , 0 , 0 ) , n } function s ( t ) { r ( 1 , arguments ) ; var e = o ( t ) ; return e . setDate ( 1 ) , e . setHours ( 0 , 0 , 0 , 0 ) , e } function a ( t ) { r ( 1 , arguments ) ; var e = o ( t ) ; return e . setHours ( 0 , 0 , 0 , 0 ) , e } function c ( t ) { if ( null === t || ! 0 === t || ! 1 === t ) return NaN ; var e = Number ( t ) ; return isNaN ( e ) ? e : e < 0 ? Math . ceil ( e ) : Math . floor ( e ) } function l ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) ; if ( isNaN ( i ) ) return new Date ( NaN ) ; if ( ! i ) return n ; var s = n . getDate ( ) , a = new Date ( n . getTime ( ) ) ; a . setMonth ( n . getMonth ( ) + i + 1 , 0 ) ; var l = a . getDate ( ) ; return s >= l ? a : ( n . setFullYear ( a . getFullYear ( ) , a . getMonth ( ) , s ) , n ) } function A ( t , e ) { r ( 2 , arguments ) ; var n = c ( e ) ; return l ( t , - n ) } function u ( t , e ) { r ( 2 , arguments ) ; var n = c ( e ) ; return l ( t , 12 * n ) } function m ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) ; return isNaN ( n ) ? new Date ( NaN ) : ( n . setFullYear ( i ) , n ) } function d ( t ) { r ( 1 , arguments ) ; var e = o ( t ) , n = e . getFullYear ( ) , i = e . getMonth ( ) , s = new Date ( 0 ) ; return s . setFullYear ( n , i + 1 , 0 ) , s . setHours ( 0 , 0 , 0 , 0 ) , s . getDate ( ) } function p ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) , s = n . getFullYear ( ) , a = n . getDate ( ) , l = new Date ( 0 ) ; l . setFullYear ( s , i , 15 ) , l . setHours ( 0 , 0 , 0 , 0 ) ; var A = d ( l ) ; return n . setMonth ( i , Math . min ( a , A ) ) , n } function g ( t ) { return ( g = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function f ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } function h ( ) { return ( h = 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 } ) . apply ( this , arguments ) } function v ( t , e ) { var n = Object . keys ( t ) ; if ( Object . getOwnPropertySymbols ) { var r = Object . getOwnPropertySymbols ( t ) ; e && ( r = r . filter ( ( function ( e ) { return Object . getOwnPropertyDescriptor ( t , e ) . enumerable } ) ) ) , n . push . apply ( n , r ) } return n } function b ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = null != arguments [ e ] ? arguments [ e ] : { } ; e % 2 ? v ( n , ! 0 ) . forEach ( ( function ( e ) { f ( t , e , n [ e ] ) } ) ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( t , Object . getOwnPropertyDescriptors ( n ) ) : v ( n ) . forEach ( ( function ( e ) { Object . defineProperty ( t , e , Object . getOwnPropertyDescriptor ( n , e ) ) } ) ) } return t } function C ( t , e ) { return
2020-07-14 15:34:10 +03:00
//# sourceMappingURL=files_sharing_tab.js.map