2019-06-03 13:44:03 +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 ] , 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" } ( 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 . 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 = "/" , o . oe = function ( t ) { throw console . error ( t ) , t } ; var i = window . webpackJsonp = window . webpackJsonp || [ ] , 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 = 63 ) } ( [ function ( t , e , n ) { "use strict" ; var r = n ( 3 ) , o = n . n ( r ) , i = n ( 17 ) , a = n . n ( i ) , s = function ( t ) { return t . replace ( /\/$/ , "" ) } ; e . a = { requireAdmin : function ( ) { return a ( ) ( ) } , get : function ( t ) { return o . a . get ( s ( t ) ) } , post : function ( t , e ) { return o . a . post ( s ( t ) , e ) } , patch : function ( t , e ) { return o . a . patch ( s ( t ) , e ) } , put : function ( t , e ) { return o . a . put ( s ( t ) , e ) } , delete : function ( t , e ) { return o . a . delete ( s ( t ) , { data : e } ) } } } , function ( t , e , n ) { "use strict" ; var r = n ( 7 ) , 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 ] && " objec
2018-12-10 17:10:26 +03:00
/ * !
2019-06-03 13:44:03 +03:00
* Vue . js v2 . 5.17
* ( c ) 2014 - 2018 Evan You
2018-12-10 17:10:26 +03:00
* Released under the MIT License .
* /
2019-06-03 13:44:03 +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 p ( t ) { return "[object RegExp]" === c . call ( t ) } function l ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function d ( t ) { return null == t ? "" : "object" == typeof t ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function v ( 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 ] } } v ( "slot,component" , ! 0 ) ; var m = v ( "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 y = Object . prototype . hasOwnProperty ; function _ ( t , e ) { return y . call ( t , e ) } function b ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , O = b ( function ( t ) { return t . replace ( w , function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) } ) , C = b ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) , A = /\B([A-Z])/g , E = b ( function ( t ) { return t . replace ( A , "-$1" ) . toLowerCase ( ) } ) ; var x = 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 , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function T ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && $ ( e , t [ n ] ) ; return e } function S ( t , e , n ) { } var j = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function I ( 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 I ( t , e [ n ] ) } ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( function ( n ) { return I ( t [ n ] , e [ n ] ) } ) } catch ( t ) { return ! 1 } } function P ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( I ( t [ n ] , e ) ) return n ; return - 1 } function N ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var R = "data-server-rendered" , U = [ "component" , "directive" , "filter" ] , M = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" ] , D = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : j , isReservedAttr : j , isUnknownElement : j , getTagNamespace : S , parsePlatformTagName : L , mustUseProp : j , _lifecycleHooks : M } ; function F ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var B = /[^\w.$]/ ; var q , H = "__proto__" in { } , z = "undefined" != typeof window , V = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , G = V && WXEnvironment . platform . toLowerCase ( ) , W = z && window . navigator . userAgent . toLowerCase ( ) , K = W && /msie|trident/ . test ( W ) , X = W && W . indexOf ( "msie 9.0" ) > 0 , Y = W && W . indexOf ( "edge/" ) > 0 , J = ( W && W . indexOf ( "android" ) , W && /iphone|ipad|ipod|ios/ . test ( W ) || "ios" === G ) , Q = ( W && /chrome\/\d+/ . test ( W ) , { } . watch ) , Z = ! 1 ; if ( z ) try { var tt = { } ; Object . defineProperty ( tt , "passive" , { get : function ( ) { Z = ! 0 } } ) , window . addEventListener ( "test-passive" , null , tt ) } catch ( t ) { } var et = function ( ) { return void 0 === q && ( q = ! z && ! V && void 0 !== t && "server" === t . process . env . VUE _ENV ) , q } , nt = z && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function rt ( t ) { return "function" == typeof t && /native code/ . test ( t . toString ( ) ) } var ot , it = "undefined" != typeof Symbol && rt ( Symbol ) && "undefined" != typeof Reflect && rt ( Reflect . ownKeys ) ; ot = "undefined" != typeof Set && rt ( Set ) ? Set : function ( ) { function t ( ) { this . set = Object . create ( null ) } return t . prototype . has = function ( t ) { return ! 0 === this . set [ t ] } , t . prototype . add = function ( t ) { this . set [ t ] = ! 0 } , t . prototype . clear = function ( ) { this . set = Object . create ( null ) } , t } ( ) ; var at = S , st = 0 , ut = function ( ) { this . id = st ++ , t
2019-01-10 18:04:13 +03:00
/ * *
2019-06-03 13:44:03 +03:00
* vuex v3 . 0.1
* ( c ) 2017 Evan You
2019-01-10 18:04:13 +03:00
* @ license MIT
2019-06-03 13:44:03 +03:00
* /var r=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)}},o="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){i(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s);var u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/ ":" ")}," ")},u.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new a(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var c;var f=function(t){var e=this;void 0===t&&(t={}),!c&&" undefined "!=typeof window&&window.Vue&&y(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={})," function "==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c;var a=this,s=this.dispatch,f=this.commit;this.dispatch=function(t,e){return s.call(a,t,e)},this.commit=function(t,e,n){return f.call(a,t,e,n)},this.strict=r,v(this,i,[],this._modules.root),h(this,i),n.forEach(function(t){return t(e)}),c.config.devtools&&function(t){o&&(t._devtoolHook=o,o.emit(" vuex : init ",t),o.on(" vuex : travel - to - state ",function(e){t.replaceState(e)}),t.subscribe(function(t,e){o.emit(" vuex : mutation " , t , e ) } ) ) } ( this ) } , p = { state : { configurable : ! 0 } } ; function l ( t , e ) { return e . indexOf ( t ) < 0 && e . push ( t ) , function ( ) { var n = e . indexOf ( t ) ; n > - 1 && e . splice ( n , 1 ) } } function d ( t , e ) { t . _actions = Object . create ( null ) , t . _mutations = Object . create ( null ) , t . _wrappedGetters = Object . create ( null ) , t . _modulesNamespaceMap = Object . create ( null ) ; var n = t . state ; v ( t , n , [ ] , t . _modules . root , ! 0 ) , h ( t , n , e ) } function h ( t , e , n ) { var r = t . _vm ; t . getters = { } ; var o = t . _wrappedGetters , a = { } ; i ( o , function ( e , n ) { a [ n ] = function ( ) { return e ( t ) } , Object . defineProperty ( t . getters , n , { get : function ( ) { return t . _vm [ n ] } , enumerable : ! 0 } ) } ) ; var s = c . config . silent ; c . config . silent = ! 0 , t . _vm = new c ( { data : { $$state : e } , computed : a } ) , c . config . silent = s , t . strict && function ( t ) { t . _vm . $watch ( function ( ) { return this . _data . $$state } , function ( ) { 0 } , { deep : ! 0 , sync : ! 0 } ) } ( t ) , r && ( n && t . _withCommit ( function ( ) { r . _data . $$
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2019-05-12 04:14:58 +03:00
* /
2019-06-03 13:44:03 +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 ( 1 ) , o = n ( 8 ) , i = n ( 27 ) , a = n ( 28 ) , s = n ( 13 ) ; 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 ( 1 ) ; 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 ( 1 ) , o = n ( 29 ) , i = n ( 9 ) , a = n ( 10 ) , 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 ( 1 ) ; 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 ( 1 ) ; 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 ( 12 ) ; 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 ( 1 ) , 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 ( 1 ) ; 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 : "/" + n . pathname } } retur
2019-03-06 21:59:15 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
2019-06-03 13:44:03 +03:00
* @ version 1.14 . 3
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-06-03 13:44:03 +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 = 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 p = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , l = n && /MSIE 10/ . test ( navigator . userAgent ) ; function d ( t ) { return 11 === t ? p : 10 === t ? l : p || l } function h ( t ) { if ( ! t ) return document . documentElement ; for ( var e = d ( 10 ) ? document . body : null , n = t . offsetParent ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "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 g ( 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 y ( 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 ) ? n [ "offset" + t ] + r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] + r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] : 0 ) } function b ( ) { var t = document . body , e = document . documentElement , n = d ( 10 ) && getComputedStyle ( e ) ; return { height : _ ( "Height" , t , e , n ) , width : _ ( "Width" , t , e , n ) } } 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 E ( t ) { return A ( { } , 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 = g ( t , "top" ) , r = g ( 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 ( ) : { } , 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 p = u ( t ) ; c -= y ( p , "x" ) , f -= y ( p , "y" ) , o . width -= c , o . height -= f } return E ( o ) } function k ( 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 ) , p = parseFloat ( c . borderTopWidth , 10 ) , l = parseFloat ( c . borderLeftWidth , 10 ) ; n && "HTML" === e . nodeName && ( a . top = Math . max ( a . top , 0 ) , a . left = Math . max ( a . left , 0 ) ) ; var h = E ( { top : i . top - a . top
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-06-03 13:44:03 +03:00
* /o.default.use(qt);var Vt=new qt({mode:"history",base:OC.generateUrl(""),linkActiveClass:"active",routes:[{path:"/:index(index.php/)?settings/users",component:Ht,props:!0,name:"users",children:[{path:":selectedGroup(.*)",name:"group",component:Ht}]},{path:"/ : index ( index . php / ) ? settings / apps ",component:zt,props:!0,name:" apps ",children:[{path:" : category ",name:" apps - category ",component:zt,children:[{path:" : id ",name:" apps - details ",component:zt}]}]}]}),Gt=r(15),Wt=r(0),Kt=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)})},Xt={id:" ",name:" ",usercount:0,disabled:0,canAdd:!0,canRemove:!0},Yt={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({},Xt,t)}),t.orderBy=r,t.userCount=o,t.groups=Kt(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({},Xt,{id:n,name:r});t.groups.push(o),t.groups=Kt(t.groups,t.orderBy)}catch(t){console.log(" 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=Kt(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=Kt(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:" ")?Wt.a.get(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(" appendUsers ",e.data.ocs.data.users),!0)}).catch(function(e){return t.commit(" API _FAILURE ",e)}):Wt.a.get(OC.linkToOCS(" cloud / 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(" appendUsers " , e . data . ocs . data . users ) , ! 0 ) } ) . catch ( function ( e )
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-05-17 10:49:47 +03:00
o . default . use ( Gt . a ) ; var te = { 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 . log ( e , n ) } } , ee = new Gt . a . Store ( { modules : { users : Yt , apps : Jt , settings : Qt , oc : Zt } , strict : ! 1 , mutations : te } ) ; r . d ( n , "app" , function ( ) { return ne } ) , r . d ( n , "router" , function ( ) { return Vt } ) , r . d ( n , "store" , function ( ) { return ee } ) ,
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-05-17 10:49:47 +03:00
o . default . use ( i . a ) , Object ( a . sync ) ( ee , Vt ) , 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 ne = new o . default ( { router : Vt , store : ee , render : function ( t ) { return t ( c ) } } ) . $mount ( "#content" ) } ] ) ;
2018-11-05 18:02:32 +03:00
//# sourceMappingURL=vue-settings-apps-users-management.js.map