2020-01-27 14:57:56 +03:00
! function ( t ) { function e ( e ) { for ( var n , o , i = e [ 0 ] , a = e [ 1 ] , s = 0 , c = [ ] ; s < i . length ; s ++ ) o = i [ s ] , Object . prototype . hasOwnProperty . call ( r , o ) && r [ o ] && c . push ( r [ o ] [ 0 ] ) , r [ o ] = 0 ; for ( n in a ) Object . prototype . hasOwnProperty . call ( a , n ) && ( t [ n ] = a [ n ] ) ; for ( u && u ( e ) ; c . length ; ) c . shift ( ) ( ) } var n = { } , r = { 2 : 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-" + ( { } [ t ] || t ) + ".js?v=" + { 0 : "cd322b02ef98dd9338db" , 4 : "0471d4e1c29b0cf755c2" , 5 : "fb93d00d08850e9b9262" , 6 : "b2bac56d68208f09f44b" , 7 : "a77610078ed13316a2de" } [ t ] } ( t ) ; var u = new Error ; a = function ( e ) { s . onerror = s . onload = null , clearTimeout ( c ) ; 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 ; u . message = "Loading chunk " + t + " failed.\n(" + o + ": " + i + ")" , u . name = "ChunkLoadError" , u . type = o , u . request = i , n [ 1 ] ( u ) } r [ t ] = void 0 } } ; var c = 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 u = a ; o ( o . s = 457 ) } ( [ , , , , function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof e && e ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 13 ) ) } , function ( t , e , n ) { var r = n ( 4 ) , o = n ( 105 ) , i = n ( 10 ) , a = n ( 75 ) , s = n ( 120 ) , u = n ( 272 ) , c = o ( "wks" ) , f = r . Symbol , l = u ? f : f && f . withoutSetter || a ; t . exports = function ( t ) { return i ( c , t ) || ( s && i ( f , t ) ? c [ t ] = f [ t ] : c [ t ] = l ( "Symbol." + t ) ) , c [ t ] } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { "use strict" ; var r = n ( 110 ) , 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 && "object" == typeof t } function u ( t ) { return "[object Function]" === o . call ( t ) } function c ( 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 && ! a ( t ) && null !== t . constructor && ! a ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isUndefined : a , isDate : function ( t ) { return "[object Date]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : u , isStream : function ( t ) { return s ( t ) && u ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typ
2018-12-10 17:10:26 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-06-04 14:50:12 +03:00
* ( c ) 2014 - 2019 Evan You
2018-12-10 17:10:26 +03:00
* Released under the MIT License .
* /
2020-01-26 05:14:30 +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 u ( t ) { return null !== t && "object" == typeof t } var c = Object . prototype . toString ; function f ( t ) { return "[object Object]" === c . call ( t ) } function l ( t ) { return "[object RegExp]" === c . 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 === c ? 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 y = m ( "key,ref,slot,slot-scope,is" ) ; function g ( 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 E = /-(\w)/g , O = w ( ( function ( t ) { return t . replace ( E , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , C = w ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , A = /\B([A-Z])/g , x = w ( ( function ( t ) { return t . replace ( A , "-$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 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 S ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function L ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && S ( e , t [ n ] ) ; return e } function R ( t , e , n ) { } var k = function ( t , e , n ) { return ! 1 } , j = function ( t ) { return t } ; function $ ( t , e ) { if ( t === e ) return ! 0 ; var n = u ( t ) , r = u ( 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 a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return $ ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function P ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( $ ( t [ n ] , e ) ) return n ; return - 1 } function N ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var M = "data-server-rendered" , D = [ "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 : k , isReservedAttr : k , isUnknownElement : k , getTagNamespace : R , parsePlatformTagName : j , mustUseProp : k , async : ! 0 , _lifecycleHooks : U } , B = /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 H ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var G = new RegExp ( "[^" + B . source + ".$_\\d]" ) ; var z , V = "__proto__" in { } , q = "undefined" != typeof window , X = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = X && WXEnvironment . platform . toLowerCase ( ) , Y = q && window . navigator . userAgent . toLowerCase ( ) , K = Y && /msie|trident/ . test ( Y ) , J = Y && Y . indexOf ( "msie 9.0" ) > 0 , Q = Y && Y . indexOf ( "edge/" ) > 0 , Z = ( Y && Y . indexOf ( "android" ) , Y && /iphone|ipad|ipod|ios/ . test ( Y ) || "ios" === W ) , tt = ( Y && /chrome\/\d+/ . test ( Y ) , Y && /phantomjs/ . test ( Y ) , Y && Y . match ( /firefox\/(\d+)/ ) ) , et = { } . watch , nt = ! 1 ; if ( q ) try { var rt = { } ; Object . defineProperty ( rt , "passive" , { get : function ( ) { nt = ! 0 } } ) , window . addEventListener ( "test-passive" , null , rt ) } catch ( t ) { } var ot = function ( ) { return void 0 === z && ( z = ! q && ! X && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , z } , it = q && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function
2019-03-06 21:59:15 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
2019-06-04 14:50:12 +03:00
* @ version 1.15 . 0
2019-03-06 21:59:15 +03:00
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2020-01-26 05:14:30 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { o = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , o ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function u ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function c ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function f ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = u ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : f ( c ( t ) ) } var l = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function d ( t ) { return 11 === t ? l : 10 === t ? p : l || p } function h ( t ) { if ( ! t ) return document . documentElement ; for ( var e = d ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === u ( n , "position" ) ? h ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function v ( t ) { return null !== t . parentNode ? v ( t . parentNode ) : t } function m ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , o = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var a , s , u = i . commonAncestorContainer ; if ( t !== u && e !== u || r . contains ( o ) ) return "BODY" === ( s = ( a = u ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( u ) : u ; var c = v ( t ) ; return c . host ? m ( c . host , e ) : m ( t , v ( e ) . host ) } function y ( t ) { var e = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = t . nodeName ; if ( "BODY" === n || "HTML" === n ) { var r = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || r ) [ e ] } return t [ e ] } function g ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function b ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , d ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function _ ( t ) { var e = t . body , n = t . documentElement , r = d ( 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" ) } , E = 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 } } ( ) , O = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , C = 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 C ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function x ( t ) { var e = { } ; try { if ( d ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = y ( t , "top" ) , r = y ( 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 ) : { } , a = i . width || t . clientWidth || o . right - o . left , s = i . height || t . clientHeight || o . bottom - o . top , c = t . offsetWidth - a , f = t . offsetHeight - s ; if ( c || f ) { var l = u ( t ) ; c -= g ( l , "x" ) , f -= g ( l , "y" ) , o . width -= c , o . height -= f } return A ( o ) } function T ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = d ( 10 ) , o = "HTML" === e . nodeName , i = x ( t ) , a = x ( e ) , s = f ( t ) , c = u ( e ) , l = parseFloat ( c . borderTopWidth , 10 ) , p = parseFloat ( c . borderLeftWidth , 10 ) ; n && o && ( a . top = Math . max ( a . t
2019-09-25 19:19:42 +03:00
/ * *
2019-11-18 11:08:59 +03:00
* vuex v3 . 1.2
2019-09-25 19:19:42 +03:00
* ( c ) 2019 Evan You
* @ license MIT
* /
2020-01-27 19:47:42 +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 ) } f . state . get = function ( ) { return this . _vm . _data . $$state } , f . state . set = function ( t ) { 0 } , c . prototype . commit = function ( t , e , n ) { var r = this , o = m ( t , e , n ) , i = o . type , a = o . payload , s = ( o . options , { type : i , payload : a } ) , u = this . _mutations [ i ] ; u && ( this . _withCommit ( ( function ( ) { u . forEach ( ( function ( t ) { t ( a ) } ) ) } ) ) , this . _subscribers . forEach ( ( function ( t ) { return t ( s , r . state ) } ) ) ) } , c . prototype . dispatch = function ( t , e ) { var n = this , r = m ( t , e ) , o = r . type , i = r . payload , a = { type : o , payload : i } , s = this . _actions [ o ] ; if ( s ) { try { this . _actionSubscribers . filter ( ( function ( t ) { return t . before } ) ) . forEach ( ( function ( t ) { return t . before ( a , n . state ) } ) ) } catch ( t ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( ( function ( t ) { return t ( i ) } ) ) ) : s [ 0 ] ( i ) ) . then ( ( function ( t ) { try { n . _actionSubscribers . filter ( ( function ( t ) { return t . after } ) ) . forEach ( ( function ( t ) { return t . after ( a , n . state ) } ) ) } catch ( t ) { 0 } return t } ) ) } } , c . prototype . subscribe = function ( t ) { return l ( t , this . _subscribers ) } , c . prototype . subscribeAction = function ( t ) { return l ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers ) } , c . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return t ( r . state , r . getters ) } ) , e , n ) } , c . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( ( function ( ) { e . _vm . _data . $$state = t } ) ) } , c . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , h ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , d ( this , this . state ) } , c . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( ( function ( ) { var n = v ( e . state , t . slice ( 0 , - 1 ) ) ; u . delete ( n , t [ t . length - 1 ] ) } ) ) , p ( this ) } , c . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , p ( this , ! 0 ) } , c . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( c . prototype , f ) ; var g = O ( ( 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 = C ( 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 } ) ) , b = O ( ( 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 = C ( 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 } ) ) , _ = O ( ( 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 || C ( this . $store , "mapGetters" , t ) ) return this . $store . getters [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , w = O ( ( 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 = C ( 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 ) || o ( 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 O ( t ) { return function ( e , n ) { return "string" != typeof e ? ( n = e , e = "" ) : "/" !== e . charAt ( e . length - 1 ) && ( e += "/" ) , t ( e , n ) } } function C ( t , e , n ) { return t . _modulesNamespaceMap [ n ] } var A = { Store : c , install : y , version : "3.1.2" , mapState : g , mapMutations : b , mapGetters : _ , mapActions : w , createNamespacedHelpers : function ( t ) { return { mapState : g . bind ( null , t ) , mapGetters : _ . bind ( null , t ) , mapMutations : b . bind ( null , t ) , mapActions : w . bind ( null , t ) } } } ; e . a = A } ) . call ( this , n ( 13 ) ) } , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2018-12-10 17:10:26 +03:00
/ *
* @ 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/>.
*
2020-01-26 05:14:30 +03:00
* /o.default.use(qt);var Yt=new qt({mode:"history",base:OC.generateUrl(""),linkActiveClass:"active",routes:[{path:"/:index(index.php/)?settings/users",component:Xt,props:!0,name:"users",children:[{path:":selectedGroup(.*)",name:"group",component:Xt}]},{path:"/ : index ( index . php / ) ? settings / apps ",component:Wt,props:!0,name:" apps ",children:[{path:" : category ",name:" apps - category ",component:Wt,children:[{path:" : id ",name:" apps - details ",component:Wt}]}]}]}),Kt=r(170),Jt=r(30),Qt=r.n(Jt),Zt=r(169),te=r.n(Zt),ee=function(t){return t.replace(/\/$/," ")},ne=function(){return te()()},re=function(t){return Qt.a.get(ee(t))},oe=function(t,e){return Qt.a.post(ee(t),e)},ie=function(t,e){return Qt.a.put(ee(t),e)},ae=function(t,e){return Qt.a.delete(ee(t),{data:e})},se=function(t,e){return 1===e?t.sort((function(t,e){return t.usercount-t.disabled<e.usercount-e.disabled})):t.sort((function(t,e){return t.name.localeCompare(e.name)}))},ue={id:" ",name:" ",usercount:0,disabled:0,canAdd:!0,canRemove:!0},ce={state:{users:[],groups:[],orderBy:1,minPasswordLength:0,usersOffset:0,usersLimit:25,userCount:0},mutations:{appendUsers:function(t,e){var n=t.users.concat(Object.keys(e).map((function(t){return e[t]})));t.usersOffset+=t.usersLimit,t.users=n},setPasswordPolicyMinLength:function(t,e){t.minPasswordLength=" "!==e?e:0},initGroups:function(t,e){var n=e.groups,r=e.orderBy,o=e.userCount;t.groups=n.map((function(t){return Object.assign({},ue,t)})),t.orderBy=r,t.userCount=o,t.groups=se(t.groups,t.orderBy)},addGroup:function(t,e){var n=e.gid,r=e.displayName;try{if(void 0!==t.groups.find((function(t){return t.id===n})))return;var o=Object.assign({},ue,{id:n,name:r});t.groups.push(o),t.groups=se(t.groups,t.orderBy)}catch(t){console.error(" Can ' t create group ",t)}},removeGroup:function(t,e){var n=t.groups.findIndex((function(t){return t.id===e}));n>=0&&t.groups.splice(n,1)},addUserGroup:function(t,e){var n=e.userid,r=e.gid,o=t.groups.find((function(t){return t.id===r})),i=t.users.find((function(t){return t.id===n}));o&&i.enabled&&t.userCount>0&&o.usercount++,i.groups.push(r),t.groups=se(t.groups,t.orderBy)},removeUserGroup:function(t,e){var n=e.userid,r=e.gid,o=t.groups.find((function(t){return t.id===r})),i=t.users.find((function(t){return t.id===n}));o&&i.enabled&&t.userCount>0&&o.usercount--;var a=i.groups;a.splice(a.indexOf(r),1),t.groups=se(t.groups,t.orderBy)},addUserSubAdmin:function(t,e){var n=e.userid,r=e.gid;t.users.find((function(t){return t.id===n})).subadmin.push(r)},removeUserSubAdmin:function(t,e){var n=e.userid,r=e.gid,o=t.users.find((function(t){return t.id===n})).subadmin;o.splice(o.indexOf(r),1)},deleteUser:function(t,e){var n=t.users.findIndex((function(t){return t.id===e}));t.users.splice(n,1)},addUserData:function(t,e){t.users.push(e.data.ocs.data)},enableDisableUser:function(t,e){var n=e.userid,r=e.enabled,o=t.users.find((function(t){return t.id===n}));o.enabled=r,t.userCount>0&&(t.groups.find((function(t){return" disabled "===t.id})).usercount+=r?-1:1,t.userCount+=r?1:-1,o.groups.forEach((function(e){t.groups.find((function(t){return t.id===e})).disabled+=r?-1:1})))},setUserData:function(t,e){var n=e.userid,r=e.key,o=e.value;if(" quota "===r){var i=OC.Util.computerFileSize(o);t.users.find((function(t){return t.id===n}))[r][r]=null!==i?i:o}else t.users.find((function(t){return t.id===n}))[r]=o},resetUsers:function(t){t.users=[],t.usersOffset=0}},getters:{getUsers:function(t){return t.users},getGroups:function(t){return t.groups},getSubadminGroups:function(t){return t.groups.filter((function(t){return" admin "!==t.id&&" disabled "!==t.id}))},getPasswordPolicyMinLength:function(t){return t.minPasswordLength},getUsersOffset:function(t){return t.usersOffset},getUsersLimit:function(t){return t.usersLimit},getUserCount:function(t){return t.userCount}},actions:{getUsers:function(t,e){var n=e.offset,r=e.limit,o=e.search,i=e.group;return o=" string "==typeof o?o:" "," "!==(i=" string "==typeof i?i:" ")?re(OC.linkToOCS(" cloud / groups / ".concat(encodeURIComponent(i)," / users / details ? offset = ").concat(n," & limit = ").concat(r," & search = " ) . concat ( o ) , 2 ) ) . then ( ( function ( e ) { re
2019-09-25 19:19:42 +03:00
/ * *
2018-12-10 17:10:26 +03:00
* @ 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/>.
*
* /
2020-01-20 15:10:39 +03:00
o . default . use ( Kt . a ) ; var de = { API _FAILURE : function ( e , n ) { try { var r = n . error . response . data . ocs . meta . message ; OC . Notification . showHtml ( t ( "settings" , "An error occured during the request. Unable to proceed." ) + "<br>" + r , { timeout : 7 } ) } catch ( e ) { OC . Notification . showTemporary ( t ( "settings" , "An error occured during the request. Unable to proceed." ) ) } console . error ( e , n ) } } , he = new Kt . a . Store ( { modules : { users : ce , apps : fe , settings : le , oc : pe } , strict : ! 1 , mutations : de } ) ; r . d ( n , "app" , ( function ( ) { return ve } ) ) , r . d ( n , "router" , ( function ( ) { return Yt } ) ) , r . d ( n , "store" , ( function ( ) { return he } ) ) ,
2018-12-21 10:37:57 +03:00
/ * *
2018-12-10 17:10:26 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-16 02:03:29 +03:00
o . default . use ( i . default , { defaultHtml : ! 1 } ) , Object ( a . sync ) ( he , Yt ) , r . nc = btoa ( OC . requestToken ) , r . p = OC . linkTo ( "settings" , "js/" ) , o . default . prototype . t = t , o . default . prototype . OC = OC , o . default . prototype . OCA = OCA , o . default . prototype . oc _userconfig = oc _userconfig ; var ve = new o . default ( { router : Yt , store : he , render : function ( t ) { return t ( c ) } } ) . $mount ( "#content" ) } ] ) ;
2020-01-27 14:57:56 +03:00
//# sourceMappingURL=vue-settings-apps-users-management.js.map?v=feac2f467d814467a13c