2019-10-02 14:18:17 +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 : "2d6668791f2eb6c495ac" , 4 : "1349240b7acdd097400f" , 5 : "61f75dbb914455fa42f1" , 6 : "a35e01408094e140c0b9" } [ 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 = 62 ) } ( [ function ( t , e , n ) { "use strict" ; var r = n ( 6 ) , o = n ( 25 ) , i = Object . prototype . toString ; function a ( t ) { return "[object Array]" === i . call ( t ) } function s ( t ) { return null !== t && "object" == typeof t } function u ( t ) { return "[object Function]" === i . call ( t ) } function c ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , a ( 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 : a , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === i . call ( t ) } , isBuffer : o , 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 : function ( t ) { return void 0 === t } , isDate : function ( t ) { return "[object Date]" === i . call ( t ) } , isFile : function ( t ) { return "[object File]" === i . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === i . call ( t ) } , isFunction : u , isStream : function ( t ) { return s ( t ) && u ( 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 : c , merge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) c ( arguments [ r ] , n ) ; return e } , deepMerge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = "object" == typeof n ? t ( { } , n ) : n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) c ( arguments [ r ] , n ) ; return e } , extend : function ( t , e , n ) { return c ( e , ( function ( e , o ) {
2018-12-10 17:10:26 +03:00
/ * !
2019-06-04 14:50:12 +03:00
* Vue . js v2 . 6.10
* ( c ) 2014 - 2019 Evan You
2018-12-10 17:10:26 +03:00
* Released under the MIT License .
* /
2019-10-02 14:18:17 +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 _ = Object . prototype . hasOwnProperty ; function b ( t , e ) { return _ . 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 , C = w ( ( function ( t ) { return t . replace ( O , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , A = w ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , x = /\B([A-Z])/g , E = w ( ( function ( t ) { return t . replace ( x , "-$1" ) . toLowerCase ( ) } ) ) ; var $ = 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 k ( 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 S ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && T ( e , t [ n ] ) ; return e } function j ( t , e , n ) { } var I = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function P ( 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 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 N ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( P ( t [ n ] , e ) ) return n ; return - 1 } function R ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var U = "data-server-rendered" , D = [ "component" , "directive" , "filter" ] , M = [ "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 : I , isReservedAttr : I , isUnknownElement : I , getTagNamespace : j , parsePlatformTagName : L , mustUseProp : I , async : ! 0 , _lifecycleHooks : M } , 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 z = new RegExp ( "[^" + B . source + ".$_\\d]" ) ; var q , V = "__proto__" in { } , G = "undefined" != typeof window , W = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , K = W && WXEnvironment . platform . toLowerCase ( ) , X = G && window . navigator . userAgent . toLowerCase ( ) , Y = X && /msie|trident/ . test ( X ) , J = X && X . indexOf ( "msie 9.0" ) > 0 , Q = X && X . indexOf ( "edge/" ) > 0 , Z = ( X && X . indexOf ( "android" ) , X && /iphone|ipad|ipod|ios/ . test ( X ) || "ios" === K ) , tt = ( X && /chrome\/\d+/ . test ( X ) , X && /phantomjs/ . test ( X ) , X && X . match ( /firefox\/(\d+)/ ) ) , et = { } . watch , nt = ! 1 ; if ( G ) 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 === q && ( q = ! G && ! W && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , q } , it = G && 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 .
* /
2019-10-02 14:18:17 +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 _ ( 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 b ( t ) { var e = t . body , n = t . documentElement , r = d ( 10 ) && getComputedStyle ( n ) ; return { height : _ ( "Height" , e , n , r ) , width : _ ( "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 } } ( ) , C = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , A = 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 x ( t ) { return A ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function E ( t ) { var e = { } ; try { if ( d ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = 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 ? b ( 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 x ( o ) } function $ ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = d ( 10 ) , o = "HTML" === e . nodeName , i = E ( t ) , a = E ( 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
/ * *
* vuex v3 . 1.1
* ( c ) 2019 Evan You
* @ license MIT
* /
2019-10-02 14:18:17 +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 ) } } ( s = t ) } c . state . get = function ( ) { return this . _vm . _data . $$state } , c . state . set = function ( t ) { 0 } , u . prototype . commit = function ( t , e , n ) { var r = this , o = v ( 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 ) } ) ) ) } , u . prototype . dispatch = function ( t , e ) { var n = this , r = v ( 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 } ) ) } } , u . prototype . subscribe = function ( t ) { return f ( t , this . _subscribers ) } , u . prototype . subscribeAction = function ( t ) { return f ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers ) } , u . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return t ( r . state , r . getters ) } ) , e , n ) } , u . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( ( function ( ) { e . _vm . _data . $$state = t } ) ) } , u . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , d ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , p ( this , this . state ) } , u . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( ( function ( ) { var n = h ( e . state , t . slice ( 0 , - 1 ) ) ; s . delete ( n , t [ t . length - 1 ] ) } ) ) , l ( this ) } , u . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , l ( this , ! 0 ) } , u . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( u . prototype , c ) ; var y = O ( ( function ( t , e ) { var n = { } ; return w ( 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 } ) ) , g = O ( ( function ( t , e ) { var n = { } ; return w ( 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 w ( 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 } ) ) , b = O ( ( function ( t , e ) { var n = { } ; return w ( 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 w ( t ) { return 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 : u , install : m , version : "3.1.1" , mapState : y , mapMutations : g , mapGetters : _ , mapActions : b , createNamespacedHelpers : function ( t ) { return { mapState : y . bind ( null , t ) , mapGetters : _ . bind ( null , t ) , mapMutations : g . bind ( null , t ) , mapActions : b . bind ( null , t ) } } } ; e . a = A } ) . call ( this , n ( 2 ) ) } , , , , function ( t , e , n ) { ( function ( t ) { var r = void 0 !== t && t || "undefined" != typeof self && self || window , o = Function . protot
2019-06-04 14:50:12 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-10-02 14:18:17 +03:00
t . exports = function ( t ) { return null != t && null != t . constructor && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n ( 7 ) , i = n ( 27 ) , a = n ( 28 ) , s = n ( 12 ) ; function u ( t ) { this . defaults = t , this . interceptors = { request : new i , response : new i } } u . prototype . request = function ( t ) { "string" == typeof t ? ( t = arguments [ 1 ] || { } ) . url = arguments [ 0 ] : t = t || { } , ( t = s ( this . defaults , t ) ) . method = t . method ? t . method . toLowerCase ( ) : "get" ; var e = [ a , void 0 ] , n = Promise . resolve ( t ) ; for ( this . interceptors . request . forEach ( ( function ( t ) { e . unshift ( t . fulfilled , t . rejected ) } ) ) , this . interceptors . response . forEach ( ( function ( t ) { e . push ( t . fulfilled , t . rejected ) } ) ) ; e . length ; ) n = n . then ( e . shift ( ) , e . shift ( ) ) ; return n } , u . prototype . getUri = function ( t ) { return t = s ( this . defaults , t ) , o ( t . url , t . params , t . paramsSerializer ) . replace ( /^\?/ , "" ) } , r . forEach ( [ "delete" , "get" , "head" , "options" ] , ( function ( t ) { u . prototype [ t ] = function ( e , n ) { return this . request ( r . merge ( n || { } , { method : t , url : e } ) ) } } ) ) , r . forEach ( [ "post" , "put" , "patch" ] , ( function ( t ) { u . prototype [ t ] = function ( e , n , o ) { return this . request ( r . merge ( o || { } , { method : t , url : e , data : n } ) ) } } ) ) , t . exports = u } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) ; function o ( ) { this . handlers = [ ] } o . prototype . use = function ( t , e ) { return this . handlers . push ( { fulfilled : t , rejected : e } ) , this . handlers . length - 1 } , o . prototype . eject = function ( t ) { this . handlers [ t ] && ( this . handlers [ t ] = null ) } , o . prototype . forEach = function ( t ) { r . forEach ( this . handlers , ( function ( e ) { null !== e && t ( e ) } ) ) } , t . exports = o } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = n ( 29 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 36 ) , u = n ( 37 ) ; function c ( t ) { t . cancelToken && t . cancelToken . throwIfRequested ( ) } t . exports = function ( t ) { return c ( t ) , t . baseURL && ! s ( t . url ) && ( t . url = u ( t . baseURL , t . url ) ) , t . headers = t . headers || { } , t . data = o ( t . data , t . headers , t . transformRequest ) , t . headers = r . merge ( t . headers . common || { } , t . headers [ t . method ] || { } , t . headers || { } ) , r . forEach ( [ "delete" , "get" , "head" , "post" , "put" , "patch" , "common" ] , ( function ( e ) { delete t . headers [ e ] } ) ) , ( t . adapter || a . adapter ) ( t ) . then ( ( function ( e ) { return c ( t ) , e . data = o ( e . data , e . headers , t . transformResponse ) , e } ) , ( function ( e ) { return i ( e ) || ( c ( t ) , e && e . response && ( e . response . data = o ( e . response . data , e . response . headers , t . transformResponse ) ) ) , Promise . reject ( e ) } ) ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) ; t . exports = function ( t , e , n ) { return r . forEach ( n , ( function ( n ) { t = n ( t , e ) } ) ) , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) ; t . exports = function ( t , e ) { r . forEach ( t , ( function ( n , r ) { r !== e && r . toUpperCase ( ) === e . toUpperCase ( ) && ( t [ e ] = n , delete t [ r ] ) } ) ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 11 ) ; t . exports = function ( t , e , n ) { var o = n . config . validateStatus ; ! o || o ( n . status ) ? t ( n ) : e ( r ( "Request failed with status code " + n . status , n . config , null , n . request , n ) ) } } , function ( t , e , n ) { "use strict" ; t . exports = function ( t , e , n , r , o ) { return t . config = e , n && ( t . code = n ) , t . request = r , t . response = o , t . isAxiosError = ! 0 , t . toJSON = function ( ) { return { message : this . message , name : this . name , description : this . description , number : this . number , fileName : this . fileName , lineNumber : this . lineNumber , columnNumber : this . columnNumber , stack : this . stack , config : this . config , code : this . code } } , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , o = [ "age" , "authorization" , "content-length" , "content-type" , "etag" , "expires" , "from" , "host" , "if-modified-since" , "if-unmodified-since" , "last-modified" , "location" , "max-forwards" , "proxy-authorization" , "referer" , "retry-after" , "user-agent" ] ; t . exports = function ( t ) { var e , n , i , a = { } ; return t ? ( r . forEach ( t . split ( "\n" ) , ( function ( t ) { if ( i = t . indexOf ( ":" ) , e = r . trim ( t . substr ( 0 , i ) ) . toLowerCase ( ) , n = r . trim ( t . substr ( i + 1 ) ) , e ) { if ( a [ e ] && o . indexOf ( e ) >= 0 ) return ; a [ e ] = "set-cookie" === e ? ( a [ e ] ? a [ e ] : [ ] ) . concat ( [ n ] ) : a [ e ] ? a [ e ] + ", " + n : n } } ) ) , a ) : a } } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) ; t . exports = r . isStandardBrowserEnv ( ) ? function ( ) { var t , e = /(msie|trident)/i . test ( navigator . userAgent ) , n = document . createElement ( "a" ) ; function o ( t ) { var r = t ; return e && ( n . setAttribute ( "href" , r ) , r = n . href ) , n . setAttribute ( "href" , r ) , { href : n . href , protocol : n . protocol ? n . protocol . replace ( /:$/ , "" ) : "" , host : n . host , search : n . search ? n . search . replace ( /^\?/ , "" ) : "" , hash : n . hash ? n . hash . replace ( /^#/ , "" ) : "" , hostname : n . hostname , port : n . port , pathname : "/" === n . pathname . charAt ( 0 ) ? n . pathname :
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/>.
*
2019-09-25 19:19:42 +03:00
* /o.default.use(Wt);var Yt=new Wt({mode:"history",base:OC.generateUrl(""),linkActiveClass:"active",routes:[{path:"/:index(index.php/)?settings/users",component:Kt,props:!0,name:"users",children:[{path:":selectedGroup(.*)",name:"group",component:Kt}]},{path:"/ : index ( index . php / ) ? settings / apps ",component:Xt,props:!0,name:" apps ",children:[{path:" : category ",name:" apps - category ",component:Xt,children:[{path:" : id ",name:" apps - details ",component:Xt}]}]}]}),Jt=r(17),Qt=r(3),Zt=r.n(Qt),te=r(15),ee=r.n(te),ne=function(t){return t.replace(/\/$/," ")},re=function(){return ee()()},oe=function(t){return Zt.a.get(ne(t))},ie=function(t,e){return Zt.a.post(ne(t),e)},ae=function(t,e){return Zt.a.put(ne(t),e)},se=function(t,e){return Zt.a.delete(ne(t),{data:e})},ue=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)}))},ce={id:" ",name:" ",usercount:0,disabled:0,canAdd:!0,canRemove:!0},fe={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({},ce,t)})),t.orderBy=r,t.userCount=o,t.groups=ue(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({},ce,{id:n,name:r});t.groups.push(o),t.groups=ue(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&&o.usercount++,i.groups.push(r),t.groups=ue(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&&o.usercount--;var a=i.groups;a.splice(a.indexOf(r),1),t.groups=ue(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.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:" ")?oe(OC.linkToOCS(" cloud / groups / ".concat(i," / users / details ? offset = ").concat(n," & limit = ").concat(r," & search = ").concat(o),2)).then((function(e){return Object.keys(e.data.ocs.data.users).length>0&&(t.commit(" appendUse
/ * *
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/>.
*
* /
2019-09-25 19:19:42 +03:00
o . default . use ( Jt . a ) ; var he = { 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 ) } } , ve = new Jt . a . Store ( { modules : { users : fe , apps : le , settings : pe , oc : de } , strict : ! 1 , mutations : he } ) ; r . d ( n , "app" , ( function ( ) { return me } ) ) , r . d ( n , "router" , ( function ( ) { return Yt } ) ) , r . d ( n , "store" , ( function ( ) { return ve } ) ) ,
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/>.
*
* /
2019-09-25 19:19:42 +03:00
o . default . use ( i . a , { defaultHtml : ! 1 } ) , Object ( a . sync ) ( ve , 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 me = new o . default ( { router : Yt , store : ve , render : function ( t ) { return t ( c ) } } ) . $mount ( "#content" ) } ] ) ;
2019-10-02 14:18:17 +03:00
//# sourceMappingURL=vue-settings-apps-users-management.js.map?v=37a193b949bebe97c16e