2021-05-26 19:21:30 +03:00
! function ( t ) { function e ( e ) { for ( var n , o , i = e [ 0 ] , a = e [ 1 ] , s = 0 , u = [ ] ; s < i . length ; s ++ ) o = i [ s ] , Object . prototype . hasOwnProperty . call ( r , o ) && r [ o ] && u . push ( r [ o ] [ 0 ] ) , r [ o ] = 0 ; for ( n in a ) Object . prototype . hasOwnProperty . call ( a , n ) && ( t [ n ] = a [ n ] ) ; for ( c && c ( e ) ; u . length ; ) u . shift ( ) ( ) } var n = { } , r = { 3 : 0 } ; function o ( e ) { if ( n [ e ] ) return n [ e ] . exports ; var r = n [ e ] = { i : e , l : ! 1 , exports : { } } ; return t [ e ] . call ( r . exports , r , r . exports , o ) , r . l = ! 0 , r . exports } o . e = function ( t ) { var e = [ ] , n = r [ t ] ; if ( 0 !== n ) if ( n ) e . push ( n [ 2 ] ) ; else { var i = new Promise ( ( function ( e , o ) { n = r [ t ] = [ e , o ] } ) ) ; e . push ( n [ 2 ] = i ) ; var a , s = document . createElement ( "script" ) ; s . charset = "utf-8" , s . timeout = 120 , o . nc && s . setAttribute ( "nonce" , o . nc ) , s . src = function ( t ) { return o . p + "vue-" + ( { 0 : "vendors-settings-apps-settings-users" , 2 : "settings-apps" , 7 : "settings-users" , 8 : "vendors-settings-apps" , 9 : "vendors-settings-users" } [ t ] || t ) + "-" + { 0 : "2c6e2ec8740f347384ba" , 2 : "d2e0f1043bb072b36afa" , 7 : "ea065c5499fe6978d296" , 8 : "046aaa34ead5fcde92b4" , 9 : "d6d65ae7744221a9a6d3" } [ t ] + ".js?v=" + { 0 : "820511c34ed0e9cddc34" , 2 : "cd875c614ef847bc0d51" , 7 : "5139d04ca268f25987e2" , 8 : "0f709af59a94d04ec082" , 9 : "269139092a6f0b7ba4a8" } [ t ] } ( t ) ; var c = new Error ; a = function ( e ) { s . onerror = s . onload = null , clearTimeout ( u ) ; var n = r [ t ] ; if ( 0 !== n ) { if ( n ) { var o = e && ( "load" === e . type ? "missing" : e . type ) , i = e && e . target && e . target . src ; c . message = "Loading chunk " + t + " failed.\n(" + o + ": " + i + ")" , c . name = "ChunkLoadError" , c . type = o , c . request = i , n [ 1 ] ( c ) } r [ t ] = void 0 } } ; var u = setTimeout ( ( function ( ) { a ( { type : "timeout" , target : s } ) } ) , 12e4 ) ; s . onerror = s . onload = a , document . head . appendChild ( s ) } return Promise . all ( e ) } , o . m = t , o . c = n , o . d = function ( t , e , n ) { o . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : n } ) } , o . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , o . t = function ( t , e ) { if ( 1 & e && ( t = o ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var n = Object . create ( null ) ; if ( o . r ( n ) , Object . defineProperty ( n , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var r in t ) o . d ( n , r , function ( e ) { return t [ e ] } . bind ( null , r ) ) ; return n } , o . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return o . d ( e , "a" , e ) , e } , o . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , o . p = "/js/" , o . oe = function ( t ) { throw console . error ( t ) , t } ; var i = window . webpackJsonpSettings = window . webpackJsonpSettings || [ ] , a = i . push . bind ( i ) ; i . push = e , i = i . slice ( ) ; for ( var s = 0 ; s < i . length ; s ++ ) e ( i [ s ] ) ; var c = a ; o ( o . s = 580 ) } ( [ 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 ( 9 ) ) } , function ( t , e , n ) { var r = n ( 0 ) , o = n ( 25 ) . f , i = n ( 15 ) , a = n ( 16 ) , s = n ( 54 ) , c = n ( 113 ) , u = n ( 82 ) ; t . exports = function ( t , e ) { var n , f , l , p , d , h = t . target , v = t . global , m = t . stat ; if ( n = v ? r : m ? r [ h ] || s ( h , { } ) : ( r [ h ] || { } ) . prototype ) for ( f in e ) { if ( p = e [ f ] , l = t . noTargetGet ? ( d = o ( n , f ) ) && d . value : n [ f ] , ! u ( v ? f : h + ( m ? "." : "#" ) + f , t . forced ) && void 0 !== l ) { if ( typeof p == typeof l ) continue ; c ( p , l ) } ( t . sham || l && l . sham ) && i ( p , "sham" , ! 0 ) , a ( n , f , p , t ) } } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { var r = n ( 0 ) , o = n ( 43 ) , i = n ( 5 ) , a = n ( 64 ) , s = n ( 65 ) , c = n ( 116 ) , u = o ( "wks" ) , f = r . Symbol , l = c ? f : f && f . withoutSetter || a ; t . exports = function ( t ) { return i ( u , t ) && ( s || "string" == typeof u [ t ] ) || ( s && i ( f , t ) ? u [ t ] = f [ t ] : u [ t ] = l ( "Symbol." + t ) ) , u [ t ] } } , function ( t , e , n ) { var r = n ( 7 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e , n ) { var r = n ( 14 ) , o = { } . hasOwnProperty ; t . exports = Object . hasOwn || function ( t , e ) { return o . call ( r ( t ) , e ) } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { "use strict" ; var r = n ( 138 ) , o = Object . prototype . toString ; function i ( t ) { return "[object Array]" === o . call ( t ) } function a ( t ) { return void 0 === t } function s ( t ) { return null !== t && "
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-05-30 00:53:04 +03:00
var r = Object . freeze ( { } ) ; function o ( t ) { return null == t } function i ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var u = Object . prototype . toString ; function f ( t ) { return "[object Object]" === u . call ( t ) } function l ( t ) { return "[object RegExp]" === u . call ( t ) } function p ( 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 h ( t ) { return null == t ? "" : Array . isArray ( t ) || f ( t ) && t . toString === u ? JSON . stringify ( t , null , 2 ) : String ( t ) } function v ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "key,ref,slot,slot-scope,is" ) ; function y ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var b = Object . prototype . hasOwnProperty ; function _ ( t , e ) { return b . call ( t , e ) } function w ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var O = /-(\w)/g , E = w ( ( function ( t ) { return t . replace ( O , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , x = w ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , A = /\B([A-Z])/g , C = w ( ( function ( t ) { return t . replace ( A , "-$1" ) . toLowerCase ( ) } ) ) ; var S = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function I ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function T ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function j ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && T ( e , t [ n ] ) ; return e } function k ( t , e , n ) { } var R = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function P ( 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 P ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return P ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function $ ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( P ( t [ n ] , e ) ) return n ; return - 1 } function N ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var U = [ "component" , "directive" , "filter" ] , D = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , M = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : R , isReservedAttr : R , isUnknownElement : R , getTagNamespace : k , parsePlatformTagName : L , mustUseProp : R , async : ! 0 , _lifecycleHooks : D } , F = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function B ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + F . source + ".$_\\d]" ) ; var H , q = "__proto__" in { } , G = "undefined" != typeof window , V = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , X = V && WXEnvironment . platform . toLowerCase ( ) , W = G && window . navigator . userAgent . toLowerCase ( ) , Y = W && /msie|trident/ . test ( W ) , K = W && W . indexOf ( "msie 9.0" ) > 0 , J = W && W . indexOf ( "edge/" ) > 0 , Q = ( W && W . indexOf ( "android" ) , W && /iphone|ipad|ipod|ios/ . test ( W ) || "ios" === X ) , Z = ( W && /chrome\/\d+/ . test ( W ) , W && /phantomjs/ . test ( W ) , W && W . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( G ) 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 === H && ( H = ! G && ! V && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , H } , ot = G && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function it ( t ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.16 . 1
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2021-05-30 00:53:04 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , r = function ( ) { for ( var t = [ "Edge" , "Trident" , "Firefox" ] , e = 0 ; e < t . length ; e += 1 ) if ( n && navigator . userAgent . indexOf ( t [ e ] ) >= 0 ) return 1 ; return 0 } ( ) ; var 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 a ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function s ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function 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 = a ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : c ( s ( t ) ) } function u ( t ) { return t && t . referenceNode ? t . referenceNode : t } var f = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , l = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? f : 10 === t ? l : f || l } function d ( t ) { if ( ! t ) return document . documentElement ; for ( var e = p ( 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" === a ( n , "position" ) ? d ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function h ( t ) { return null !== t . parentNode ? h ( t . parentNode ) : t } function v ( 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 a , s , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && d ( a . firstElementChild ) !== a ? d ( c ) : c ; var u = h ( t ) ; return u . host ? v ( u . host , e ) : v ( t , h ( e ) . host ) } function m ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === e ? "scrollTop" : "scrollLeft" , r = t . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = t . ownerDocument . documentElement , i = t . ownerDocument . scrollingElement || o ; return i [ n ] } return t [ n ] } function g ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = m ( e , "top" ) , o = m ( 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 y ( 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 ] , p ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function _ ( t ) { var e = t . body , n = t . documentElement , r = p ( 10 ) && getComputedStyle ( n ) ; return { height : b ( "Height" , e , n , r ) , width : b ( "Width" , e , n , r ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , O = 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 } } ( ) , E = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , x = 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 A ( t ) { return x ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function C ( t ) { var e = { } ; try { if ( p ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = m ( t , "top" ) , r = m ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? _ ( t . ownerDocument ) : { } , s = i . width || t . clientWidth || o . width , c = i . height || t . clientHeight || o . height , u = t . offsetWidth - s , f = t . offsetHeight - c ; if ( u || f ) { var l = a ( t ) ; u -= y ( l , "x" ) , f -
2021-03-17 11:45:22 +03:00
/ * !
* vuex v3 . 6.2
* ( c ) 2021 Evan You
* @ license MIT
* /
2021-05-30 00:53:04 +03:00
function ( t ) { if ( Number ( t . version . split ( "." ) [ 0 ] ) >= 2 ) t . mixin ( { beforeCreate : n } ) ; else { var e = t . prototype . _init ; t . prototype . _init = function ( t ) { void 0 === t && ( t = { } ) , t . init = t . init ? [ n ] . concat ( t . init ) : n , e . call ( this , t ) } } function n ( ) { var t = this . $options ; t . store ? this . $store = "function" == typeof t . store ? t . store ( ) : t . store : t . parent && t . parent . $store && ( this . $store = t . parent . $store ) } } ( u = t ) } l . state . get = function ( ) { return this . _vm . _data . $$state } , l . state . set = function ( t ) { 0 } , f . prototype . commit = function ( t , e , n ) { var r = this , o = g ( t , e , n ) , i = o . type , a = o . payload , s = ( o . options , { type : i , payload : a } ) , c = this . _mutations [ i ] ; c && ( this . _withCommit ( ( function ( ) { c . forEach ( ( function ( t ) { t ( a ) } ) ) } ) ) , this . _subscribers . slice ( ) . forEach ( ( function ( t ) { return t ( s , r . state ) } ) ) ) } , f . prototype . dispatch = function ( t , e ) { var n = this , r = g ( t , e ) , o = r . type , i = r . payload , a = { type : o , payload : i } , s = this . _actions [ o ] ; if ( s ) { try { this . _actionSubscribers . slice ( ) . filter ( ( function ( t ) { return t . before } ) ) . forEach ( ( function ( t ) { return t . before ( a , n . state ) } ) ) } catch ( t ) { 0 } var c = s . length > 1 ? Promise . all ( s . map ( ( function ( t ) { return t ( i ) } ) ) ) : s [ 0 ] ( i ) ; return new Promise ( ( function ( t , e ) { c . then ( ( function ( e ) { try { n . _actionSubscribers . filter ( ( function ( t ) { return t . after } ) ) . forEach ( ( function ( t ) { return t . after ( a , n . state ) } ) ) } catch ( t ) { 0 } t ( e ) } ) , ( function ( t ) { try { n . _actionSubscribers . filter ( ( function ( t ) { return t . error } ) ) . forEach ( ( function ( e ) { return e . error ( a , n . state , t ) } ) ) } catch ( t ) { 0 } e ( t ) } ) ) } ) ) } } , f . prototype . subscribe = function ( t , e ) { return p ( t , this . _subscribers , e ) } , f . prototype . subscribeAction = function ( t , e ) { return p ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers , e ) } , f . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return t ( r . state , r . getters ) } ) , e , n ) } , f . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( ( function ( ) { e . _vm . _data . $$state = t } ) ) } , f . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , v ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , h ( this , this . state ) } , f . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( ( function ( ) { var n = m ( e . state , t . slice ( 0 , - 1 ) ) ; u . delete ( n , t [ t . length - 1 ] ) } ) ) , d ( this ) } , f . prototype . hasModule = function ( t ) { return "string" == typeof t && ( t = [ t ] ) , this . _modules . isRegistered ( t ) } , f . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , d ( this , ! 0 ) } , f . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( f . prototype , l ) ; var b = x ( ( function ( t , e ) { var n = { } ; return E ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { var e = this . $store . state , n = this . $store . getters ; if ( t ) { var r = A ( this . $store , "mapState" , t ) ; if ( ! r ) return ; e = r . context . state , n = r . context . getters } return "function" == typeof o ? o . call ( this , e , n ) : e [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , _ = x ( ( function ( t , e ) { var n = { } ; return E ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( t ) { var i = A ( this . $store , "mapMutations" , t ) ; if ( ! i ) return ; r = i . context . commit } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ o ] . concat ( e ) ) } } ) ) , n } ) ) , w = x ( ( function ( t , e ) { var n = { } ; return E ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; o = t + o , n [ r ] = function ( ) { if ( ! t || A ( this . $store , "mapGetters" , t ) ) return this . $store . getters [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , O = x ( ( function ( t , e ) { var n = { } ; return E ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( t ) { var i = A ( this . $store , "mapActions" , t ) ; if ( ! i ) return ; r = i . context . dispatch } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ o ] . concat ( e ) ) } } ) ) , n } ) ) ; function E ( t ) { return function ( t ) { return Array . isArray ( t ) || i ( t ) } ( t ) ? Array . isArray ( t ) ? t . map ( ( function ( t ) { return { key : t , val : t } } ) ) : Object . keys ( t ) . map ( ( function ( e ) { return { key : e , val : t [ e ] } } ) ) : [ ] } function x ( t ) { return function ( e , n ) { return "string" != typeof e ? ( n = e , e = "" ) : "/" !== e . charAt ( e . length - 1 ) && ( e += "/" ) , t ( e , n ) } } function A ( t , e , n ) { return t . _modulesNamespaceMap [ n ] } function C ( t , e , n ) { var r = n ?
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ author Julius Härtl < jus @ bitgrid . net >
2021-05-21 17:53:02 +03:00
* @ 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/>.
*
* /
2021-05-26 19:21:30 +03:00
const ne = ( ) => Promise . all ( [ o . e ( 0 ) , o . e ( 9 ) , o . e ( 7 ) ] ) . then ( o . bind ( null , 610 ) ) , re = ( ) => Promise . all ( [ o . e ( 0 ) , o . e ( 8 ) , o . e ( 2 ) ] ) . then ( o . bind ( null , 609 ) ) ; i . default . use ( te ) ; var oe = new te ( { mode : "history" , base : Object ( ee . generateUrl ) ( "" ) , linkActiveClass : "active" , routes : [ { path : "/:index(index.php/)?settings/users" , component : ne , props : ! 0 , name : "users" , children : [ { path : ":selectedGroup" , name : "group" , component : ne } ] } , { path : "/:index(index.php/)?settings/apps" , component : re , props : ! 0 , name : "apps" , children : [ { path : ":category" , name : "apps-category" , component : re , children : [ { path : ":id" , name : "apps-details" , component : re } ] } ] } ] } ) , ie = o ( 303 ) , ae = o ( 30 ) , se = o . n ( ae ) , ce = o ( 111 ) , ue = o . n ( ce ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
2021-05-21 17:53:02 +03:00
* @ author Christoph Wurst < christoph @ winzerhof - wurst . at >
2021-03-17 11:45:22 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-05-21 17:53:02 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-31 13:34:13 +03:00
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
2021-05-21 17:53:02 +03:00
* @ author Sujith Haridasan < sujith . h @ gmail . 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-05-21 17:53:02 +03:00
const fe = function ( t ) { return t . replace ( /\/$/ , "" ) } ; var le = { requireAdmin : ( ) => ue ( ) ( ) , get : ( t , e ) => se . a . get ( fe ( t ) , e ) , post : ( t , e ) => se . a . post ( fe ( t ) , e ) , patch : ( t , e ) => se . a . patch ( fe ( t ) , e ) , put : ( t , e ) => se . a . put ( fe ( t ) , e ) , delete : ( t , e ) => se . a . delete ( fe ( t ) , { params : e } ) } ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author Arthur Schiwon < blizzz @ arthur - schiwon . de >
* @ author Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author Daniel Calviño Sánchez < danxuliu @ gmail . com >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
* @ author Vincent Petry < vincent @ nextcloud . 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/>.
*
* / c o n s t p e = f u n c t i o n ( t , e ) { r e t u r n 1 = = = e ? t . s o r t ( ( t , e ) = > t . u s e r c o u n t - t . d i s a b l e d < e . u s e r c o u n t - e . d i s a b l e d ) : t . s o r t ( ( t , e ) = > t . n a m e . l o c a l e C o m p a r e ( e . n a m e ) ) } , d e = { i d : " " , n a m e : " " , u s e r c o u n t : 0 , d i s a b l e d : 0 , c a n A d d : ! 0 , c a n R e m o v e : ! 0 } , h e = { a p p e n d U s e r s ( t , e ) { c o n s t n = t . u s e r s . c o n c a t ( O b j e c t . k e y s ( e ) . m a p ( t = > e [ t ] ) ) ; t . u s e r s O f f s e t + = t . u s e r s L i m i t , t . u s e r s = n } , s e t P a s s w o r d P o l i c y M i n L e n g t h ( t , e ) { t . m i n P a s s w o r d L e n g t h = " " ! = = e ? e : 0 } , i n i t G r o u p s ( t , { g r o u p s : e , o r d e r B y : n , u s e r C o u n t : r } ) { t . g r o u p s = e . m a p ( t = > O b j e c t . a s s i g n ( { } , d e , t ) ) , t . o r d e r B y = n , t . u s e r C o u n t = r , t . g r o u p s = p e ( t . g r o u p s , t . o r d e r B y ) } , a d d G r o u p ( t , { g i d : e , d i s p l a y N a m e : n } ) { t r y { i f ( v o i d 0 ! = = t . g r o u p s . f i n d ( t = > t . i d = = = e ) ) r e t u r n ; c o n s t r = O b j e c t . a s s i g n ( { } , d e , { i d : e , n a m e : n } ) ; t . g r o u p s . p u s h ( r ) , t . g r o u p s = p e ( t . g r o u p s , t . o r d e r B y ) } c a t c h ( t ) { c o n s o l e . e r r o r ( " C a n ' t c r e a t e g r o u p " , t ) } } , r e m o v e G r o u p ( t , e ) { c o n s t n = t . g r o u p s . f i n d I n d e x ( t = > t . i d = = = e ) ; n > = 0 & & t . g r o u p s . s p l i c e ( n , 1 ) } , a d d U s e r G r o u p ( t , { u s e r i d : e , g i d : n } ) { c o n s t r = t . g r o u p s . f i n d ( t = > t . i d = = = n ) , o = t . u s e r s . f i n d ( t = > t . i d = = = e ) ; r & & o . e n a b l e d & & t . u s e r C o u n t > 0 & & r . u s e r c o u n t + + ; o . g r o u p s . p u s h ( n ) , t . g r o u p s = p e ( t . g r o u p s , t . o r d e r B y ) } , r e m o v e U s e r G r o u p ( t , { u s e r i d : e , g i d : n } ) { c o n s t r = t . g r o u p s . f i n d ( t = > t . i d = = = n ) , o = t . u s e r s . f i n d ( t = > t . i d = = = e ) ; r & & o . e n a b l e d & & t . u s e r C o u n t > 0 & & r . u s e r c o u n t - - ; c o n s t i = o . g r o u p s ; i . s p l i c e ( i . i n d e x O f ( n ) , 1 ) , t . g r o u p s = p e ( t . g r o u p s , t . o r d e r B y ) } , a d d U s e r S u b A d m i n ( t , { u s e r i d : e , g i d : n } ) { t . u s e r s . f i n d ( t = > t . i d = = = e ) . s u b a d m i n . p u s h ( n ) } , r e m o v e U s e r S u b A d m i n ( t , { u s e r i d : e , g i d : n } ) { c o n s t r = t . u s e r s . f i n d ( t = > t . i d = = = e ) . s u b a d m i n ; r . s p l i c e ( r . i n d e x O f ( n ) , 1 ) } , d e l e t e U s e r ( t , e ) { c o n s t n = t . u s e r s . f i n d I n d e x ( t = > t . i d = = = e ) ; t . u s e r s . s p l i c e ( n , 1 ) } , a d d U s e r D a t a ( t , e ) { t . u s e r s . p u s h ( e . d a t a . o c s . d a t a ) } , e n a b l e D i s a b l e U s e r ( t , { u s e r i d : e , e n a b l e d : n } ) { c o n s t r = t . u s e r s . f i n d ( t = > t . i d = = = e ) ; r . e n a b l e d = n , t . u s e r C o u n t > 0 & & ( t . g r o u p s . f i n d ( t = > " d i s a b l e d " = = = t . i d ) . u s e r c o u n t + = n ? - 1 : 1 , t . u s e r C o u n t + = n ? 1 : - 1 , r . g r o u p s . f o r E a c h ( e = > { t . g r o u p s . f i n d ( t = > t . i d = = = e ) . d i s a b l e d + = n ? - 1 : 1 } ) ) } , s e t U s e r D a t a ( t , { u s e r i d : e , k e y : n , v a l u e : r } ) { i f ( " q u o t a " = = = n ) { c o n s t o = O C . U t i l . c o m p u t e r F i l e S i z e ( r ) ; t . u s e r s . f i n d ( t = > t . i d = = = e ) [ n ] [ n ] = n u l l ! = = o ? o : r } e l s e t . u s e r s . f i n d ( t = > t . i d = = = e ) [ n ] = r } , r e s e t U s e r s ( t ) { t . u s e r s = [ ] , t . u s e r s O f f s e t = 0 } } , v e = { g e t U s e r s : t = > t . u s e r s , g e t G r o u p s : t = > t . g r o u p s , g e t S u b a d m i n G r o u p s : t = > t . g r o u p s . f i l t e r ( t = > " a d m i n " ! = = t . i d & & " d i s a b l e d " ! = = t . i d ) , g e t P a s s w o r d P o l i c y M i n L e n g t h : t = > t . m i n P a s s w o r d L e n g t h , g e t U s e r s O f f s e t : t = > t . u s e r s O f f s e t , g e t U s e r s L i m i t : t = > t . u s e r s L i m i t , g e t U s e r C o u n t : t = > t . u s e r C o u n t } , m e = s e . a . C a n c e l T o k e n ; l e t g e = n u l l ; v a r y e = { s t a t e : { u s e r s : [ ] , g r o u p s : [ ] , o r d e r B y : 1 , m i n P a s s w o r d L e n g t h : 0 , u s e r s O f f s e t : 0 , u s e r s L i m i t : 2 5 , u s e r C o u n t : 0 } , m u t a t i o n s : h e , g e t t e r s : v e , a c t i o n s : { g e t U s e r s : ( t , { o f f s e t : e , l i m i t : n , s e a r c h : r , g r o u p : o } ) = > ( g e & & g e . c a n c e l ( " O p e r a t i o n c a n c e l e d b y a n o t h e r s e a r c h r e q u e s t . " ) , g e = m e . s o u r c e ( ) , r = " s t r i n g " = = t y p e o f r ? r : " " , " " ! = = ( o = " s t r i n g " = = t y p e o f o ? o : " " ) ? l e . g e t ( O b j e c t ( e e . g e n e r a t e O c s U r l ) ( " c l o u d / g r o u p 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 ( e n c o d e U R I C o m p o n e n t ( o ) ) , " / u s e r s / d e t a i l s ? o f f s e t = " ) . c o n c a t ( e , " & l i m i t = " ) . c o n c a t ( n , " & s e a r c h = " ) . c o n c a t ( r ) , 2 ) , { c a n c e l T o k e n : g e . t o k e n } ) . t h e n ( e = > O b j e c t . k e y s ( e . d a t a . o c s . d a t a . u s e r s ) . l e n g t h > 0 & & ( t . c o m m i t ( " a p p e n d U s e r s " , e . d a t a . o c s . d a t a . u s e r s ) , O b j e c t . k e y s ( e . d a t a . o c s . d a t a . u s e r s ) . l e n g t h > = n ) ) . c a t c h ( e = > { s e . a . i s C a n c e l ( e ) | | t . c o m m i t ( " A P I _ F A I L U R E " , e ) } ) : l e . g e t ( O b j e c t ( e e . g e n e r a t e O c s U r l ) ( " c l o u d / u s e r s / d e t a i l s ? o f f s e t = " . c o n c a t ( e , " & l i m i t = " ) . c o n c a t ( n , " & s e a r c h = " ) . c o n c a t ( r ) , 2 ) , { c a n c e l T o k e n : g e . t o k e n } ) . t h e n ( e = > O b j e c t . k e y s ( e . d a t a . o c s . d a t a . u s e r s ) . l e n g t h > 0 & & ( t . c o m m i t ( " a p p e n d U s e r s " , e . d a t a . o c s . d a t a . u s e r s ) , O b j e c t . k e y s ( e . d a t a . o c s . d a t a . u s e r s ) . l e n g t h > = n ) ) . c a t c h ( e = > { s e . a . i s C a n c e l ( e ) | | t . c o m m i t ( " A P I _ F A I L U R E " , e ) } ) ) , g e t G r o u p s ( t , { o f f s e t : e , l i m i t : n , s e a r c h : r } ) { r = " s t r i n g " = = t y p e o f r ? r : " " ; c o n s t o = - 1 = = = n ? " " : " & l i m i t = " . c o n c a t ( n ) ; r e t u r n l e . g e t ( O b j e c t ( e e . g e n e r a t e O c s U r l ) ( " c l o u d / g r o u p s ? o f f s e t = " . c o n c a t ( e , " & s e a r c h = " ) . c o n c a t ( r ) . c o n c a t ( o ) , 2 ) ) . t h e n ( e = > O b j e c t . k e y s ( e . d a t a . o c s . d a t a . g r o u p s ) . l e n g t h > 0 & & ( e . d a t a . o c s . d a t a . g r o u p s . f o r E a c h ( ( f u n c t i o n ( e ) { t . c o m m i t ( " a d d G r o u p " , { g i d : e , d i s p l a y N a m e : e } ) } ) ) , ! 0 ) ) . c a t c h ( e = > t . c o m m i t ( " A P I _ F A I L U R E " , e ) ) } , g e t U s e r s F r o m L i s t : ( t , { o f f s e t : e , l i m i t : n , s e a r c h : r } ) = > ( r = " s t r i n g " = = t y p e o f r ? r : " " , l e . g e t ( O b j e c t ( e e . g e n e r a t e O c s U r l ) ( " c l o u d / u s e r s / d e t a i l s ? o f f s e t = " . c o n c a t ( e , " & l i m i t = " ) . c o n c a t ( n , " & s e a r c h = " ) . c o n c a t ( r ) , 2 ) ) . t h e n ( e = > O b j e c t . k e y s ( e . d a t a . o c s . d a t a . u s e r s ) . l e n g t h > 0 & & ( t . c o m m i t ( " a p p e n d U s e r s " , e . d a t a . o c s . d a t a . u s e r s ) , ! 0 ) )
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / v a r b e = { s t a t e : { a p p s : [ ] , c a t e g o r i e s : [ ] , u p d a t e C o u n t : 0 , l o a d i n g : { } , l o a d i n g L i s t : ! 1 } , m u t a t i o n s : { A P P S _ A P I _ F A I L U R E ( e , n ) { O C . N o t i f i c a t i o n . s h o w H t m l ( t ( " s e t t i n g s " , " A n e r r o r o c c u r e d d u r i n g t h e r e q u e s t . U n a b l e t o p r o c e e d . " ) + " < b r > " + n . e r r o r . r e s p o n s e . d a t a . d a t a . m e s s a g e , { t i m e o u t : 7 } ) , c o n s o l e . e r r o r ( e , n ) } , i n i t C a t e g o r i e s ( t , { c a t e g o r i e s : e , u p d a t e C o u n t : n } ) { t . c a t e g o r i e s = e , t . u p d a t e C o u n t = n } , s e t U p d a t e C o u n t ( t , e ) { t . u p d a t e C o u n t = e } , a d d C a t e g o r y ( t , e ) { t . c a t e g o r i e s . p u s h ( e ) } , a p p e n d C a t e g o r i e s ( t , e ) { t . c a t e g o r i e s = e } , s e t A l l A p p s ( t , e ) { t . a p p s = e } , s e t E r r o r ( t , { a p p I d : e , e r r o r : n } ) { A r r a y . i s A r r a y ( e ) | | ( e = [ e ] ) , e . f o r E a c h ( e = > { t . a p p s . f i n d ( t = > t . i d = = = e ) . e r r o r = n } ) } , c l e a r E r r o r ( t , { a p p I d : e , e r r o r : n } ) { t . a p p s . f i n d ( t = > t . i d = = = e ) . e r r o r = n u l l } , e n a b l e A p p ( t , { a p p I d : e , g r o u p s : n } ) { c o n s t r = t . a p p s . f i n d ( t = > t . i d = = = e ) ; r . a c t i v e = ! 0 , r . g r o u p s = n } , d i s a b l e A p p ( t , e ) { c o n s t n = t . a p p s . f i n d ( t = > t . i d = = = e ) ; n . a c t i v e = ! 1 , n . g r o u p s = [ ] , n . r e m o v a b l e & & ( n . c a n U n I n s t a l l = ! 0 ) } , u n i n s t a l l A p p ( t , e ) { t . a p p s . f i n d ( t = > t . i d = = = e ) . a c t i v e = ! 1 , t . a p p s . f i n d ( t = > t . i d = = = e ) . g r o u p s = [ ] , t . a p p s . f i n d ( t = > t . i d = = = e ) . n e e d s D o w n l o a d = ! 0 , t . a p p s . f i n d ( t = > t . i d = = = e ) . i n s t a l l e d = ! 1 , t . a p p s . f i n d ( t = > t . i d = = = e ) . c a n U n I n s t a l l = ! 1 , t . a p p s . f i n d ( t = > t . i d = = = e ) . c a n I n s t a l l = ! 0 } , u p d a t e A p p ( t , e ) { c o n s t n = t . a p p s . f i n d ( t = > t . i d = = = e ) , r = n . u p d a t e ; n . u p d a t e = n u l l , n . v e r s i o n = r , t . u p d a t e C o u n t - - } , r e s e t A p p s ( t ) { t . a p p s = [ ] } , r e s e t ( t ) { t . a p p s = [ ] , t . c a t e g o r i e s = [ ] , t . u p d a t e C o u n t = 0 } , s t a r t L o a d i n g ( t , e ) { A r r a y . i s A r r a y ( e ) ? e . f o r E a c h ( e = > { i . d e f a u l t . s e t ( t . l o a d i n g , e , ! 0 ) } ) : i . d e f a u l t . s e t ( t . l o a d i n g , e , ! 0 ) } , s t o p L o a d i n g ( t , e ) { A r r a y . i s A r r a y ( e ) ? e . f o r E a c h ( e = > { i . d e f a u l t . s e t ( t . l o a d i n g , e , ! 1 ) } ) : i . d e f a u l t . s e t ( t . l o a d i n g , e , ! 1 ) } } , g e t t e r s : { l o a d i n g : t = > f u n c t i o n ( e ) { r e t u r n t . l o a d i n g [ e ] } , g e t C a t e g o r i e s : t = > t . c a t e g o r i e s , g e t A l l A p p s : t = > t . a p p s , g e t U p d a t e C o u n t : t = > t . u p d a t e C o u n t } , a c t i o n s : { e n a b l e A p p ( e , { a p p I d : n , g r o u p s : r } ) { l e t o ; r e t u r n o = A r r a y . i s A r r a y ( n ) ? n : [ n ] , l e . r e q u i r e A d m i n ( ) . t h e n ( i = > ( e . c o m m i t ( " s t a r t L o a d i n g " , o ) , e . c o m m i t ( " s t a r t L o a d i n g " , " i n s t a l l " ) , l e . p o s t ( O b j e c t ( e e . g e n e r a t e U r l ) ( " s e t t i n g s / a p p s / e n a b l e " ) , { a p p I d s : o , g r o u p s : r } ) . t h e n ( i = > ( e . c o m m i t ( " s t o p L o a d i n g " , o ) , e . c o m m i t ( " s t o p L o a d i n g " , " i n s t a l l " ) , o . f o r E a c h ( t = > { e . c o m m i t ( " e n a b l e A p p " , { a p p I d : t , g r o u p s : r } ) } ) , l e . g e t ( O b j e c t ( e e . g e n e r a t e U r l ) ( " a p p s / f i l e s " ) ) . t h e n ( ( ) = > { i . d a t a . u p d a t e _ r e q u i r e d & & ( O C . d i a l o g s . i n f o ( t ( " s e t t i n g s " , " T h e a p p h a s b e e n e n a b l e d b u t n e e d s t o b e u p d a t e d . Y o u w i l l b e r e d i r e c t e d t o t h e u p d a t e p a g e i n 5 s e c o n d s . " ) , t ( " s e t t i n g s " , " A p p u p d a t e " ) , ( f u n c t i o n ( ) { w i n d o w . l o c a t i o n . r e l o a d ( ) } ) , ! 0 ) , s e t T i m e o u t ( ( f u n c t i o n ( ) { l o c a t i o n . r e l o a d ( ) } ) , 5 e 3 ) ) } ) . c a t c h ( ( ) = > { A r r a y . i s A r r a y ( n ) | | e . c o m m i t ( " s e t E r r o r " , { a p p I d : o , e r r o r : t ( " s e t t i n g s " , " E r r o r : T h i s a p p c a n n o t b e e n a b l e d b e c a u s e i t m a k e s t h e s e r v e r u n s t a b l e " ) } ) } ) ) ) . c a t c h ( t = > { e . c o m m i t ( " s t o p L o a d i n g " , o ) , e . c o m m i t ( " s t o p L o a d i n g " , " i n s t a l l " ) , e . c o m m i t ( " s e t E r r o r " , { a p p I d : o , e r r o r : t . r e s p o n s e . d a t a . d a t a . m e s s a g e } ) , e . c o m m i t ( " A P P S _ A P I _ F A I L U R E " , { a p p I d : n , e r r o r : t } ) } ) ) ) . c a t c h ( t = > e . c o m m i t ( " A P I _ F A I L U R E " , { a p p I d : n , e r r o r : t } ) ) } , f o r c e E n a b l e A p p ( t , { a p p I d : e , g r o u p s : n } ) { l e t r ; r e t u r n r = A r r a y . i s A r r a y ( e ) ? e : [ e ] , l e . r e q u i r e A d m i n ( ) . t h e n ( ( ) = > ( t . c o m m i t ( " s t a r t L o a d i n g " , r ) , t . c o m m i t ( " s t a r t L o a d i n g " , " i n s t a l l " ) , l e . p o s t ( O b j e c t ( e e . g e n e r a t e U r l ) ( " s e t t i n g s / a p p s / f o r c e " ) , { a p p I d : e } ) . t h e n ( t = > { l o c a t i o n . r e l o a d ( ) } ) . c a t c h ( n = > { t . c o m m i t ( " s t o p L o a d i n g " , r ) , t . c o m m i t ( " s t o p L o a d i n g " , " i n s t a l l " ) , t . c o m m i t ( " s e t E r r o r " , { a p p I d : r , e r r o r : n . r e s p o n s e . d a t a . d a t a . m e s s a g e } ) , t . c o m m i t ( " A P P S _ A P I _ F A I L U R E " , { a p p I d : e , e r r o r : n } ) } ) ) ) . c a t c h ( n = > t . c o m m i t ( " A P I _ F A I L U R E " , { a p p I d : e , e r r o r : n } ) ) } , d i s a b l e A p p ( t , { a p p I d : e } ) { l e t n ; r e t u r n n = A r r a y . i s A r r a y ( e ) ? e : [ e ] , l e . r e q u i r e A d m i n ( ) . t h e n ( r = > ( t . c o m m i t ( " s t a r t L o a d i n g " , n ) , l e . p o s t ( O b j e c t ( e e . g e n e r a t e U r l ) ( " s e t t i n g s / a p p s / d i s a b l e " ) , { a p p I d s : n } ) . t h e n ( e = > ( t . c o m m i t ( " s t o p L o a d i n g " , n ) , n . f o r E a c h ( e = > { t . c o m m i t ( " d i s a b l e A p p " , e ) } ) , ! 0 ) ) . c a t c h ( r = > { t . c o m m i t ( " s t o p L o a d i n g " , n ) , t . c o m m i t ( " A P P S _ A P I _ F A I L U R E " , { a p p I d : e , e r r o r : r } ) } ) ) ) . c a t c h ( n = > t . c o m m i t ( " A P I _ F A I L U R E " , { a p p I d : e , e r r o r : n } ) ) } , u n i n s t a l l A p p : ( t , { a p p I d : e } ) = > l e . r e q u i r e A d m i n ( ) . t h e n ( n = > ( t . c o m m i t ( " s t a r t L o a d i n g " , e ) , l e . g e t ( O b j e c t ( e e . g e n e r a t e U r l ) ( " s e t t i n g s / a p p s / u n i n s t a l l / " . c o n c a t ( e ) ) ) . t h e n ( n = > ( t . c o m m i t ( " s t o p L o a d i n g " , e ) , t . c o m m i t ( " u n i n s t a l l A p p " , e ) , ! 0 ) ) . c a t c h ( n = > { t . c o m m i t ( " s t o p L o a d i n g " , e ) , t . c o m m i t ( " A P P S _ A P I _ F A I L U R E " , { a p p I d : e , e r r o r : n } ) } ) ) ) . c a t c h ( n = > t . c o m m i t ( " A P I _ F A I L U R E " , { a p p I d : e , e r r o r : n } ) ) , u p d a t e A p p : ( t , { a p p I d : e } ) = > l e . r e q u i r e A d m i n ( ) . t h e n ( n = > ( t . c o m m i t ( " s t
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / v a r _ e = { s t a t e : { s e r v e r D a t a : { } } , m u t a t i o n s : { s e t S e r v e r D a t a ( t , e ) { t . s e r v e r D a t a = e } } , g e t t e r s : { g e t S e r v e r D a t a : t = > t . s e r v e r D a t a } , a c t i o n s : { } } ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / v a r w e = { s t a t e : { } , m u t a t i o n s : { } , g e t t e r s : { } , a c t i o n s : { s e t A p p C o n f i g : ( t , { a p p : e , k e y : n , v a l u e : r } ) = > l e . r e q u i r e A d m i n ( ) . t h e n ( t = > l e . p o s t ( O b j e c t ( e e . g e n e r a t e O c s U r l ) ( " a p p s / p r o v i s i o n i n g _ a p i / a p i / v 1 / c o n f i g / a p p s / " . c o n c a t ( e , " / " ) . c o n c a t ( n ) , 2 ) , { v a l u e : r } ) . c a t c h ( t = > { t h r o w t } ) ) . c a t c h ( o = > t . c o m m i t ( " A P I _ F A I L U R E " , { a p p : e , k e y : n , v a l u e : r , e r r o r : o } ) ) } } ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ 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/>.
*
* / i . d e f a u l t . u s e ( i e . a ) ; c o n s t O e = { A P I _ F A I L U R E ( e , n ) { t r y { c o n s t e = n . e r r o r . 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 ; O C . N o t i f i c a t i o n . s h o w H t m l ( t ( " s e t t i n g s " , " A n e r r o r o c c u r e d d u r i n g t h e r e q u e s t . U n a b l e t o p r o c e e d . " ) + " < b r > " + e , { t i m e o u t : 7 } ) } c a t c h ( 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 ( t ( " s e t t i n g s " , " A n e r r o r o c c u r e d d u r i n g t h e r e q u e s t . U n a b l e t o p r o c e e d . " ) ) } c o n s o l e . e r r o r ( e , n ) } } ; v a r E e = n e w i e . a . S t o r e ( { m o d u l e s : { u s e r s : y e , a p p s : b e , s e t t i n g s : _ e , o c : w e } , s t r i c t : ! 1 , m u t a t i o n s : O e } ) ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
* @ author rakekniven < mark . ziegler @ rakekniven . de >
* @ author Roeland Jago Douma < roeland @ famdouma . nl >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* /i.default.use(a.default,{defaultHtml:!1}),Object(s.sync)(Ee,oe),o.nc=btoa(OC.requestToken),o.p=OC.linkTo("settings","js/ "),i.default.prototype.t=t,i.default.prototype.n=n,i.default.prototype.OC=OC,i.default.prototype.OCA=OCA,i.default.prototype.oc_userconfig=oc_userconfig;const xe=new i.default({router:oe,store:Ee,render:t=>t(f)}).$mount(" # content " ) } ] ) ;
2021-05-26 19:21:30 +03:00
//# sourceMappingURL=vue-settings-apps-users-management.js.map?v=92e03ea2e073b12c2d2f