2019-01-13 11:47:24 +03:00
( window . webpackJsonp = window . webpackJsonp || [ ] ) . push ( [ [ 0 ] , { 36 : function ( t , e , n ) { window , t . exports = function ( t ) { var e = { } ; function n ( i ) { if ( e [ i ] ) return e [ i ] . exports ; var r = e [ i ] = { i : i , l : ! 1 , exports : { } } ; return t [ i ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } return n . m = t , n . c = e , n . d = function ( t , e , i ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : i } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var i = Object . create ( null ) ; if ( n . r ( i ) , Object . defineProperty ( i , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var r in t ) n . d ( i , r , function ( e ) { return t [ e ] } . bind ( null , r ) ) ; return i } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/dist/" , n ( n . s = 59 ) } ( [ function ( t , e , n ) { "use strict" ; var i = n ( 11 ) , r = n ( 12 ) , o = Object . prototype . toString ; function a ( t ) { return "[object Array]" === o . call ( t ) } function s ( t ) { return null !== t && "object" == typeof t } function l ( t ) { return "[object Function]" === o . call ( t ) } function u ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , a ( t ) ) for ( var n = 0 , i = t . length ; n < i ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var r in t ) Object . prototype . hasOwnProperty . call ( t , r ) && e . call ( null , t [ r ] , r , t ) } t . exports = { isArray : a , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === o . call ( t ) } , isBuffer : r , 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]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : l , isStream : function ( t ) { return s ( t ) && l ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product ) && "undefined" != typeof window && "undefined" != typeof document } , forEach : u , merge : function t ( ) { var e = { } ; function n ( n , i ) { "object" == typeof e [ i ] && "object" == typeof n ? e [ i ] = t ( e [ i ] , n ) : e [ i ] = n } for ( var i = 0 , r = arguments . length ; i < r ; i ++ ) u ( arguments [ i ] , n ) ; return e } , extend : function ( t , e , n ) { return u ( e , function ( e , r ) { t [ r ] = n && "function" == typeof e ? i ( e , n ) : e } ) , t } , trim : function ( t ) { return t . replace ( /^\s*/ , "" ) . replace ( /\s*$/ , "" ) } } } , function ( t , e ) { function n ( t ) { return "function" == typeof t . value || ( console . warn ( "[Vue-click-outside:] provided expression" , t . expression , "is not a function." ) , ! 1 ) } function i ( t ) { return void 0 !== t . componentInstance && t . componentInstance . $isServer } t . exports = { bind : function ( t , e , r ) { function o ( e ) { if ( r . context ) { var n = e . path || e . composedPath && e . composedPath ( ) ; n && n . length > 0 && n . unshift ( e . target ) , t . contains ( e . target ) || function ( t , e ) { if ( ! t || ! e ) return ! 1 ; for ( var n = 0 , i = e . length ; n < i ; n ++ ) try { if ( t . contains ( e [ n ] ) ) return ! 0 ; if ( e [ n ] . contains ( t ) ) return ! 1 } catch ( t ) { return ! 1 } return ! 1 } ( r . context . popupItem , n ) || t . _ _vueClickOutside _ _ . callback ( e ) } } n ( e ) && ( t . _ _vueClickOutside _ _ = { handler : o , callback : e . value } , ! i ( r ) && document . addEventListener ( "click" , o ) ) } , update : function ( t , e ) { n ( e ) && ( t . _ _vueClickOutside _ _ . callback = e . value ) } , unbind : function ( t , e , n ) { ! i ( n ) && document . removeEventListener ( "click" , t . _ _vueClickOutside _ _ . handler ) , delete t . _ _vueClickOutside _ _ } } } , function ( t , e , n ) { "use strict" ; t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( function ( e ) { var n = function ( t , e ) { var n , i = t [ 1 ] || "" , r = t [ 3 ] ; if ( ! r ) return i ; if ( e && "function" == typeof btoa ) { var o = ( n = r , "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( n ) ) ) ) + " */" ) , a = r . sources . map ( function ( t ) { return "/*# sourceURL=" + r . sourceRoot + t + "
2018-11-05 10:16:59 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.14 . 3
* @ 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-01-13 11:47:24 +03:00
var i = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , a = 0 ; a < r . length ; a += 1 ) if ( i && navigator . userAgent . indexOf ( r [ a ] ) >= 0 ) { o = 1 ; break } var s = i && 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 l ( 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 p ( 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 , i = e . overflowX , r = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + r + i ) ? t : p ( c ( t ) ) } var f = i && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = i && /MSIE 10/ . test ( navigator . userAgent ) ; function h ( t ) { return 11 === t ? f : 10 === t ? d : f || d } function A ( t ) { if ( ! t ) return document . documentElement ; for ( var e = h ( 10 ) ? document . body : null , n = t . offsetParent ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var i = n && n . nodeName ; return i && "BODY" !== i && "HTML" !== i ? - 1 !== [ "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === u ( n , "position" ) ? A ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function m ( t ) { return null !== t . parentNode ? m ( t . parentNode ) : t } function v ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , i = n ? t : e , r = n ? e : t , o = document . createRange ( ) ; o . setStart ( i , 0 ) , o . setEnd ( r , 0 ) ; var a , s , l = o . commonAncestorContainer ; if ( t !== l && e !== l || i . contains ( r ) ) return "BODY" === ( s = ( a = l ) . nodeName ) || "HTML" !== s && A ( a . firstElementChild ) !== a ? A ( l ) : l ; var u = m ( t ) ; return u . host ? v ( u . host , e ) : v ( t , m ( 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 i = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || i ) [ e ] } return t [ e ] } function y ( t , e ) { var n = "x" === e ? "Left" : "Top" , i = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + i + "Width" ] , 10 ) } function b ( t , e , n , i ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , h ( 10 ) ? n [ "offset" + t ] + i [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] + i [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] : 0 ) } function _ ( ) { var t = document . body , e = document . documentElement , n = h ( 10 ) && getComputedStyle ( e ) ; return { height : b ( "Height" , t , e , n ) , width : b ( "Width" , t , e , n ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , x = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var i = e [ n ] ; i . enumerable = i . enumerable || ! 1 , i . configurable = ! 0 , "value" in i && ( i . writable = ! 0 ) , Object . defineProperty ( t , i . key , i ) } } return function ( e , n , i ) { return n && t ( e . prototype , n ) , i && t ( e , i ) , e } } ( ) , S = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , E = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var i in n ) Object . prototype . hasOwnProperty . call ( n , i ) && ( t [ i ] = n [ i ] ) } return t } ; function O ( t ) { return E ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function k ( t ) { var e = { } ; try { if ( h ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = g ( t , "top" ) , i = g ( t , "left" ) ; e . top += n , e . left += i , e . bottom += n , e . right += i } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var r = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? _ ( ) : { } , a = o . width || t . clientWidth || r . right - r . left , s = o . height || t . clientHeight || r . bottom - r . top , l = t . offsetWidth - a , c = t . offsetHeight - s ; if ( l || c ) { var p = u ( t ) ; l -= y ( p , "x" ) , c -= y ( p , "y" ) , r . width -= l , r . height -= c } return O ( r ) } function D ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , i = h ( 10 ) , r = "HTML" === e . nodeName , o = k ( t ) , a = k ( e ) , s = p ( t ) , l = u ( e ) , c = parseFloat ( l . borderTopWidth , 10 ) , f = parseFloat ( l . borderLeftWidth , 10 ) ; n && "HTML" === e . nodeName && ( a . top = Math . max ( a . top , 0 ) , a . left = Math . max ( a . left , 0 ) ) ; var d = O ( { top : o . top - a . top
2018-12-04 21:50:28 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2019-01-13 11:47:24 +03:00
* /t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var i=n(0),r=n(36),o=n(38),a=n(39),s=n(40),l=n(14),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(41);t.exports=function(t){return new Promise(function(e,c){var p=t.data,f=t.headers;i.isFormData(p)&&delete f["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",A=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",A=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",v=t.auth.password||"";f.Authorization="Basic "+u(m+":"+v)}if(d.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||A)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};r(e,c,i),d=null}},d.onerror=function(){c(l("Network Error",t,null,d)),d=null},d.ontimeout=function(){c(l("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},i.isStandardBrowserEnv()){var g=n(42),y=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;y&&(f[t.xsrfHeaderName]=y)}if("setRequestHeader"in d&&i.forEach(f,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete f[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),c(t),d=null)}),void 0===p&&(p=null),d.send(p)})}},function(t,e,n){"use strict";var i=n(37);t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/ ",e(e.s=60)}([function(t,e){var n=t.exports=" undefined "!=typeof window&&window.Math==Math?window:" undefined "!=typeof self&&self.Math==Math?self:Function(" return this ")();" number "==typeof __g&&(__g=n)},function(t,e,n){var i=n(49)(" wks "),r=n(30),o=n(0).Symbol,a=" function "==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)(" Symbol . "+t))}).store=i},function(t,e,n){var i=n(5);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object ! " ) ; return t } } , function ( t , e , n ) { var i = n ( 0 ) , r = n ( 10 ) , o = n ( 8 ) , a = n ( 6 ) , s = n ( 11 ) , l = function ( t , e , n ) { var u , c , p , f , d = t & l . F , h = t & l . G , A = t & l . S , m = t & l . P , v = t & l . B , g = h ? i : A ? i [ e ] || ( i [ e ] = { } ) : ( i [ e ] || { } ) . proto
2018-10-01 08:03:23 +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
2018-11-05 10:16:59 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2018-10-01 08:03:23 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-01-13 11:47:24 +03:00
* / m . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / A p p N a v i g a t i o n / A p p N a v i g a t i o n I t e m . v u e " ; v a r v = u ( { n a m e : " A p p N a v i g a t i o n " , c o m p o n e n t s : { A p p N a v i g a t i o n I t e m : m . e x p o r t s } , d i r e c t i v e s : { C l i c k O u t s i d e : A . a } , p r o p s : { m e n u : { t y p e : O b j e c t , r e q u i r e d : ! 0 , d e f a u l t : f u n c t i o n ( ) { r e t u r n { n e w : { i d : " n e w - i t e m " , a c t i o n : f u n c t i o n ( ) { r e t u r n a l e r t ( " S u c c e s s ! " ) } , i c o n : " i c o n - a d d " , t e x t : " N e w i t e m " } , i t e m s : [ ] } } } } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n e d : ! 1 } } , m e t h o d s : { t o g g l e M e n u : f u n c t i o n ( ) { t h i s . o p e n e d = ! t h i s . o p e n e d } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o p e n e d = ! 1 } } } , r , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; v . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / A p p N a v i g a t i o n / A p p N a v i g a t i o n . v u e " ; v a r g = v . e x p o r t s , y = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " a 2 2 5 6 b 3 " ) , " " ) } ) } , b = f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t ; r e t u r n ( t . _ s e l f . _ c | | e ) ( " d a t e - p i c k e r " , t . _ g ( t . _ b ( { a t t r s : { " m i n u t e - s t e p " : 1 0 , c l e a r a b l e : ! 1 , v a l u e : t . v a l u e } , o n : { " u p d a t e : v a l u e " : f u n c t i o n ( e ) { t . $ e m i t ( " u p d a t e : v a l u e " , t . v a l u e ) } } } , " d a t e - p i c k e r " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) ) } ;
2018-10-01 08:03:23 +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
2018-11-05 10:16:59 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-01-13 11:47:24 +03:00
* / b . _ w i t h S t r i p p e d = ! 0 ; v a r _ = n ( 9 ) , w = n . n ( _ ) ; w . a . c o m p o n e n t s . C a l e n d a r P a n e l . c o m p o n e n t s . P a n e l T i m e . m e t h o d s . s t r i n g i f y T e x t = f u n c t i o n ( t ) { r e t u r n t } , w . a . m e t h o d s . d i s p l a y P o p u p = f u n c t i o n ( ) { v a r t = t h i s . $ e l . q u e r y S e l e c t o r ( " . m x - d a t e p i c k e r - p o p u p " ) ; t & & ! t . c l a s s L i s t . c o n t a i n s ( " p o p o v e r m e n u " ) & & ( t . c l a s s N a m e + = " p o p o v e r m e n u m e n u - c e n t e r o p e n " ) } ; v a r x = u ( { n a m e : " D a t e t i m e P i c k e r " , c o m p o n e n t s : { D a t e P i c k e r : w . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n n e w D a t e } } } } , b , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; x . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / D a t e t i m e P i c k e r / D a t e t i m e P i c k e r . v u e " ; v a r S = x . e x p o r t s ; n ( 2 3 ) ,
2018-11-05 10:16:59 +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
2018-10-01 08:03:23 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2019-01-13 11:47:24 +03:00
y ( S ) ; var E = S , O = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "vue-multiselect" , t . _g ( t . _b ( { class : { "icon-loading-small" : t . loading , "multiselect--multiple" : t . multiple , "multiselect--single" : ! t . multiple } , attrs : { value : t . value , limit : t . maxOptions , "close-on-select" : ! t . multiple , multiple : t . multiple , label : t . label , "track-by" : t . trackBy , "tag-placeholder" : "create" } , on : { "update:value" : function ( e ) { t . $emit ( "update:value" , t . value ) } } , scopedSlots : t . _u ( [ { key : "option" , fn : function ( e ) { return t . $scopedSlots . option || t . userSelect ? [ t . userSelect ? n ( "avatar-select-option" , { attrs : { option : e . option } } ) : t . _t ( "option" , null , null , e ) ] : void 0 } } , { key : "singleLabel" , fn : function ( e ) { return t . $scopedSlots . singleLabel ? [ t . _t ( "singleLabel" , null , null , e ) ] : void 0 } } ] ) } , "vue-multiselect" , t . $attrs , ! 1 ) , t . $listeners ) , [ t . multiple ? n ( "span" , { directives : [ { name : "tooltip" , rawName : "v-tooltip.auto" , value : t . formatLimitTitle ( t . value ) , expression : "formatLimitTitle(value)" , modifiers : { auto : ! 0 } } ] , staticClass : "multiselect__limit" , attrs : { slot : "limit" } , slot : "limit" } , [ t . _v ( "\n\t\t" + t . _s ( t . limitString ) + "\n\t" ) ] ) : t . _e ( ) ] ) } ; O . _withStripped = ! 0 ; var k = n ( 18 ) , D = n . n ( k ) , C = n ( 8 ) , T = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "span" , { staticClass : "option" } , [ n ( "avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : t . option . displayName , user : t . option . user , "disable-tooltip" : ! 0 , "is-no-user" : t . option . isNoUser } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . option . displayName ) + "\n\t\t" ) ] ) , t . _v ( " " ) , t . option . desc ? n ( "span" , { staticClass : "option__desc--linetwo" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . option . desc ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) , t . _v ( " " ) , t . option . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . option . icon } ) : t . _e ( ) ] , 1 ) } ; T . _withStripped = ! 0 ; var M = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { directives : [ { name : "tooltip" , rawName : "v-tooltip" , value : t . tooltip , expression : "tooltip" } , { name : "click-outside" , rawName : "v-click-outside" , value : t . closeMenu , expression : "closeMenu" } ] , staticClass : "avatardiv popovermenu-wrapper" , class : { "icon-loading" : t . loadingState , unknown : t . userDoesNotExist } , style : t . avatarStyle , on : { click : t . toggleMenu } } , [ t . loadingState || t . userDoesNotExist ? t . _e ( ) : n ( "img" , { attrs : { src : t . avatarUrlLoaded , srcset : t . avatarSrcSetLoaded } } ) , t . _v ( " " ) , t . userDoesNotExist ? n ( "div" , { staticClass : "unknown" } , [ t . _v ( "\n\t\t" + t . _s ( t . initials ) + "\n\t" ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "div" , { directives : [ { name : "show" , rawName : "v-show" , value : t . contactsMenuOpenState , expression : "contactsMenuOpenState" } ] , staticClass : "popovermenu" } , [ n ( "popover-menu" , { attrs : { "is-open" : t . contactsMenuOpenState , menu : t . menu } } ) ] , 1 ) ] ) } ; M . _withStripped = ! 0 ; var B = n ( 19 ) , L = n . n ( B ) , N = n ( 20 ) , P = n . n ( N ) , I = { name : "Avatar" , directives : { tooltip : C . a , ClickOutside : A . a } , components : { PopoverMenu : f } , props : { url : { type : String , default : void 0 } , user : { type : String , default : void 0 } , displayName : { type : String , default : void 0 } , size : { type : Number , default : 32 } , allowPlaceholder : { type : Boolean , default : ! 0 } , disableTooltip : { type : Boolean , default : ! 1 } , tooltipMessage : { type : String , default : null } , isNoUser : { type : Boolean , default : ! 1 } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , loadingState : ! 0 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . shouldShowPlaceholder ) return t ; var e = function ( t ) { var e = t . toLowerCase ( ) ; function n ( t , e , n ) { this . r = t , this . g = e , this . b = n } function i ( t , e , i ) { var r = [ ] ; r . push ( e ) ; for ( var o = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , i ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r
2018-10-01 08:03:23 +03:00
/ * *
2018-12-04 21:50:28 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2018-10-01 08:03:23 +03:00
*
2018-12-04 21:50:28 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2018-10-01 08:03:23 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2018-12-04 21:50:28 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2018-11-05 10:16:59 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-01-13 11:47:24 +03:00
* / F . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / M u l t i s e l e c t / A v a t a r S e l e c t O p t i o n . v u e " ; v a r R = F . e x p o r t s ; f u n c t i o n G ( t ) { r e t u r n ( G = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } v a r H = u ( { n a m e : " M u l t i s e l e c t " , c o m p o n e n t s : { V u e M u l t i s e l e c t : D . a , A v a t a r S e l e c t O p t i o n : R } , d i r e c t i v e s : { t o o l t i p : C . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l i m i t : { t y p e : N u m b e r , d e f a u l t : 9 9 9 9 9 } , l a b e l : { t y p e : S t r i n g } , t r a c k B y : { t y p e : S t r i n g } , u s e r S e l e c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o L i m i t : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , t a g W i d t h : { t y p e : N u m b e r , d e f a u l t : 1 5 0 , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n t > 0 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { e l W i d t h : 0 } } , c o m p u t e d : { m a x O p t i o n s : f u n c t i o n ( ) { i f ( t h i s . a u t o L i m i t & & t h i s . e l W i d t h > 0 & & 0 ! = = t h i s . t a g W i d t h ) { v a r t = M a t h . f l o o r ( t h i s . e l W i d t h / t h i s . t a g W i d t h ) ; r e t u r n t > 0 ? t : 1 } r e t u r n t h i s . l i m i t ? t h i s . l i m i t : 9 9 9 9 } , l i m i t S t r i n g : f u n c t i o n ( ) { r e t u r n " + " . c o n c a t ( t h i s . v a l u e . l e n g t h - t h i s . m a x O p t i o n s ) } } , w a t c h : { v a l u e : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) , w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , m e t h o d s : { f o r m a t L i m i t T i t l e : f u n c t i o n ( t ) { v a r e = t h i s ; i f ( A r r a y . i s A r r a y ( t ) & & t . l e n g t h > 0 ) { v a r n = t ; r e t u r n " o b j e c t " = = = G ( t [ 0 ] ) & & ( n = t . m a p ( f u n c t i o n ( t ) { r e t u r n t [ e . l a b e l ] } ) ) , n . s l i c e ( t h i s . m a x O p t i o n s ) . j o i n ( " , " ) } r e t u r n " " } , u p d a t e W i d t h : f u n c t i o n ( ) { t h i s . e l W i d t h = t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) . o f f s e t W i d t h - 1 0 } } } , O , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; H . o p t i o n s . _ _ f i l e = " s r c / c o m p o n e n t s / M u l t i s e l e c t / M u l t i s e l e c t . v u e " ; v a r Y = H . e x p o r t s ; n ( 5 5 ) ,
2018-11-05 10:16:59 +03:00
/ * *
2018-12-04 21:50:28 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2018-11-05 10:16:59 +03:00
*
2018-12-04 21:50:28 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2018-11-05 10:16:59 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2018-12-04 21:50:28 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2018-10-01 08:03:23 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2018-12-04 21:50:28 +03:00
* /
2019-01-13 11:47:24 +03:00
y ( Y ) ; var Q = Y , U = function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "action" , t . _g ( t . _b ( { staticClass : "action-item" , class : [ t . isSingleAction ? t . firstAction . icon + " action-item--single" : "action-item--multiple" ] , attrs : { href : t . isSingleAction && t . firstAction . href ? t . firstAction . href : "#" } } , "action" , t . mainActionElement ( ) , ! 1 ) , t . isSingleAction && t . firstAction . action ? { click : t . firstAction . action } : { } ) , [ t . isSingleAction ? t . _e ( ) : [ n ( "div" , { directives : [ { name : "click-outside" , rawName : "v-click-outside" , value : t . closeMenu , expression : "closeMenu" } ] , staticClass : "action-item__menutoggle icon-more" , attrs : { tabindex : "1" } , on : { click : function ( e ) { return e . preventDefault ( ) , t . toggleMenu ( e ) } } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "action-item__menu popovermenu" , class : { open : t . opened } } , [ n ( "popover-menu" , { attrs : { menu : t . actions } } ) ] , 1 ) ] ] , 2 ) } ; U . _withStripped = ! 0 ; var W = { name : "Action" , components : { PopoverMenu : f } , directives : { ClickOutside : A . a } , props : { actions : { type : Array , required : ! 0 , default : function ( ) { return [ { href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } , { action : function ( ) { alert ( "Deleted !" ) } , icon : "icon-delete" , text : "Delete" } ] } } } , data : function ( ) { return { opened : ! 1 } } , computed : { isSingleAction : function ( ) { return 1 === this . actions . length } , firstAction : function ( ) { return this . actions [ 0 ] } } , mounted : function ( ) { this . popupItem = this . $el } , methods : { toggleMenu : function ( ) { this . opened = ! this . opened } , closeMenu : function ( ) { this . opened = ! 1 } , mainActionElement : function ( ) { return { is : this . isSingleAction ? "a" : "div" } } } } , z = ( n ( 57 ) , u ( W , U , [ ] , ! 1 , null , "886e6e62" , null ) ) ; z . options . _ _file = "src/components/Action/Action.vue" ; var Z = z . exports ;
2018-10-01 08:03:23 +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-01-13 11:47:24 +03:00
* / f u n c t i o n J ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ e ] = n , t }
2018-11-05 10:16:59 +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-01-13 11:47:24 +03:00
* / f u n c t i o n q ( t ) { O b j e c t . v a l u e s ( i ) . f o r E a c h ( f u n c t i o n ( e ) { t . c o m p o n e n t ( e . n a m e , e ) } ) }
2018-11-05 10:16:59 +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-01-13 11:47:24 +03:00
* /n.d(e,"AppNavigation",function(){return g}),n.d(e,"PopoverMenu",function(){return d}),n.d(e,"DatetimePicker",function(){return E}),n.d(e,"Multiselect",function(){return Q}),n.d(e,"Avatar",function(){return $}),n.d(e,"Action",function(){return Z}),"undefined"!=typeof window&&window.Vue&&q(window.Vue),e.default=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){J(t,e,n[e])})}return t}({install:q},i)}])},46:function(t,e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/ ",e(e.s=60)}([function(t,e){var n=t.exports=" undefined "!=typeof window&&window.Math==Math?window:" undefined "!=typeof self&&self.Math==Math?self:Function(" return this ")();" number "==typeof __g&&(__g=n)},function(t,e,n){var i=n(49)(" wks "),r=n(30),o=n(0).Symbol,a=" function "==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)(" Symbol . "+t))}).store=i},function(t,e,n){var i=n(5);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object ! ");return t}},function(t,e,n){var i=n(0),r=n(10),o=n(8),a=n(6),s=n(11),l=function(t,e,n){var u,c,p,f,d=t&l.F,h=t&l.G,A=t&l.S,m=t&l.P,v=t&l.B,g=h?i:A?i[e]||(i[e]={}):(i[e]||{}).prototype,y=h?r:r[e]||(r[e]={}),b=y.prototype||(y.prototype={});for(u in h&&(n=e),n)c=!d&&g&&void 0!==g[u],p=(c?g:n)[u],f=v&&c?s(p,i):m&&" function "==typeof p?s(Function.call,p):p,g&&a(g,u,p,t&l.U),y[u]!=p&&o(y,u,f),m&&b[u]!=p&&(b[u]=p)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){t.exports=!n(7)(function(){return 7!=Object.defineProperty({}," a ",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){return" object "==typeof t?null!==t:" function "==typeof t}},function(t,e,n){var i=n(0),r=n(8),o=n(12),a=n(30)(" src "),s=Function.toString,l=(" "+s).split(" toString ");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u=" function "==typeof n;u&&(o(n," name ")||r(n," name ",e)),t[e]!==n&&(u&&(o(n,a)||r(n,a,t[e]?" "+t[e]:l.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype," toString ",function(){return" function "==typeof this&&this[a]||s.call(this)})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(13),r=n(25);t.exports=n(4)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:" 2.5 . 7 "};" number "==typeof __e&&(__e=n)},function(t,e,n){var i=n(14);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(2),r=n(41),o=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if(" get "in n||" set "in n)throw TypeError(" Accessors not supported ! ");return" value "in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if(" function "!=typeof t)throw TypeError(t+" is not a function ! ");return t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t){if(null==t)throw TypeError(" Can ' t call method on "+t);return t}},function(t,e,n){" use strict " ; var i = n ( 7 ) ; t . exports = functio
2018-10-01 08:03:23 +03:00
/ * *
* vue - local - storage v0 . 6.0
* ( c ) 2017 Alexander Avakov
* @ license MIT
* /
2019-01-13 11:47:24 +03:00
t . exports = function ( ) { "use strict" ; var t = function ( ) { this . _properties = { } , this . _namespace = "" , this . _isSupported = ! 0 } , n = { namespace : { } } ; n . namespace . get = function ( ) { return this . _namespace } , n . namespace . set = function ( t ) { this . _namespace = t ? t + "." : "" } , t . prototype . _getLsKey = function ( t ) { return "" + this . _namespace + t } , t . prototype . _lsSet = function ( t , e , n ) { var i = this . _getLsKey ( t ) , r = n && [ Array , Object ] . includes ( n ) ? JSON . stringify ( e ) : e ; window . localStorage . setItem ( i , r ) } , t . prototype . _lsGet = function ( t ) { var e = this . _getLsKey ( t ) ; return window . localStorage [ e ] } , t . prototype . get = function ( t , e , n ) { if ( void 0 === e && ( e = null ) , void 0 === n && ( n = String ) , ! this . _isSupported ) return null ; if ( this . _lsGet ( t ) ) { var i = n ; for ( var r in this . _properties ) if ( r === t ) { i = this . _properties [ r ] . type ; break } return this . _process ( i , this . _lsGet ( t ) ) } return null !== e ? e : null } , t . prototype . set = function ( t , e ) { if ( ! this . _isSupported ) return null ; for ( var n in this . _properties ) { var i = this . _properties [ n ] . type ; if ( n === t ) return this . _lsSet ( t , e , i ) , e } return this . _lsSet ( t , e ) , e } , t . prototype . remove = function ( t ) { return this . _isSupported ? window . localStorage . removeItem ( t ) : null } , t . prototype . addProperty = function ( t , e , n ) { void 0 === n && ( n = void 0 ) , e = e || String , this . _properties [ t ] = { type : e } , this . _lsGet ( t ) || null === n || this . _lsSet ( t , n , e ) } , t . prototype . _process = function ( t , e ) { switch ( t ) { case Boolean : return "true" === e ; case Number : return parseFloat ( e ) ; case Array : try { var n = JSON . parse ( e ) ; return Array . isArray ( n ) ? n : [ ] } catch ( t ) { return [ ] } case Object : try { return JSON . parse ( e ) } catch ( t ) { return { } } default : return e } } , Object . defineProperties ( t . prototype , n ) ; var i = new t ; return { install : function ( t , n ) { if ( void 0 === n && ( n = { } ) , void 0 === e || ! ( e . server || e . SERVER _BUILD || e . env && "server" === e . env . VUE _ENV ) ) { var r = ! 0 ; try { var o = "__vue-localstorage-test__" ; window . localStorage . setItem ( o , o ) , window . localStorage . removeItem ( o ) } catch ( t ) { r = ! 1 , i . _isSupported = ! 1 , console . error ( "Local storage is not supported" ) } var a = n . name || "localStorage" , s = n . bind ; n . namespace && ( i . namespace = n . namespace ) , t . mixin ( { beforeCreate : function ( ) { var e = this ; r && this . $options [ a ] && Object . keys ( this . $options [ a ] ) . forEach ( function ( n ) { var r = e . $options [ a ] [ n ] , o = [ r . type , r . default ] , l = o [ 0 ] , u = o [ 1 ] ; i . addProperty ( n , l , u ) ; var c = Object . getOwnPropertyDescriptor ( i , n ) ; if ( c ) t . config . silent || console . log ( n + ": is already defined and will be reused" ) ; else { var p = { get : function ( ) { return t . localStorage . get ( n , u ) } , set : function ( e ) { return t . localStorage . set ( n , e ) } , configurable : ! 0 } ; Object . defineProperty ( i , n , p ) , t . util . defineReactive ( i , n , u ) } ( s || r . bind ) && ! 1 !== r . bind && ( e . $options . computed = e . $options . computed || { } , e . $options . computed [ n ] || ( e . $options . computed [ n ] = { get : function ( ) { return t . localStorage [ n ] } , set : function ( e ) { t . localStorage [ n ] = e } } ) ) } ) } } ) , t [ a ] = i , t . prototype [ "$" + a ] = i } } } } ( ) } ) . call ( this , n ( 7 ) ) } } ] ) ;
2018-10-08 15:03:22 +03:00
//# sourceMappingURL=0.js.map