pleroma/priv/static/static/js/vendor.32c621c7157f34c20923.js

34 lines
271 KiB
JavaScript
Raw Normal View History

2018-11-18 17:27:48 +00:00
webpackJsonp([1,0],[,function(t,e){t.exports=function(t,e,n,r){var o,i=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(o=t,i=t.default);var u="function"==typeof i?i.options:i;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),n&&(u._scopeId=n),r){var s=Object.create(u.computed||null);Object.keys(r).forEach(function(t){var e=r[t];s[t]=function(){return e}}),u.computed=s}return{esModule:o,exports:i,options:u}}},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(82)("wks"),o=n(52),i=n(5).Symbol,a="function"==typeof i,u=t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))};u.store=r},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 r=n(5),o=n(2),i=n(14),a=n(15),u="prototype",s=function(t,e,n){var c,f,l,p=t&s.F,d=t&s.G,h=t&s.S,v=t&s.P,m=t&s.B,y=t&s.W,g=d?o:o[e]||(o[e]={}),b=g[u],_=d?r:h?r[e]:(r[e]||{})[u];d&&(n=e);for(c in n)f=!p&&_&&void 0!==_[c],f&&c in g||(l=f?_[c]:n[c],g[c]=d&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):y&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[u]=t[u],e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&s.R&&b&&!b[c]&&a(b,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?a:"object"==typeof t?u(t)?i(t[0],t[1]):o(t):s(t)}var o=n(388),i=n(389),a=n(45),u=n(3),s=n(490);t.exports=r},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(11),o=n(123),i=n(84),a=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)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,n){var r=n(164),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(8);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(20)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var r=n(33);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(9),o=n(37);t.exports=n(12)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(74),o=n(71);t.exports=function(t){return r(o(t))}},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(102),i=n(103);t.exports=r},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){(function(e,n){/*!
2018-11-14 16:08:22 +00:00
* Vue.js v2.5.13
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
"use strict";function r(t){return void 0===t||null===t}function o(t){return void 0!==t&&null!==t}function i(t){return t===!0}function a(t){return t===!1}function u(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Object]"===_r.call(t)}function f(t){return"[object RegExp]"===_r.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function h(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]}}function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function m(t,e){return xr.call(t,e)}function y(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function g(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 b(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 j(t){for(var e={},n=0;n<t.length;n++)t[n]&&_(e,t[n]);return e}function x(t,e,n){}function w(t,e){if(t===e)return!0;var n=s(t),r=s(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 w(t,e[n])});if(o||i)return!1;var a=Object.keys(t),u=Object.keys(e);return a.length===u.length&&a.every(function(n){return w(t[n],e[n])})}catch(t){return!1}}function k(t,e){for(var n=0;n<t.length;n++)if(w(t[n],e))return n;return-1}function O(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function A(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function S(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function E(t){if(!Pr.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function C(t){return"function"==typeof t&&/native code/.test(t.toString())}function N(t){eo.target&&no.push(eo.target),eo.target=t}function T(){eo.target=no.pop()}function I(t){return new ro(void 0,void 0,void 0,String(t))}function $(t,e){var n=t.componentOptions,r=new ro(t.tag,t.data,t.children,t.text,t.elm,t.context,n,t.asyncFactory);return r.ns=t.ns,r.isStatic=t.isStatic,r.key=t.key,r.isComment=t.isComment,r.fnContext=t.fnContext,r.fnOptions=t.fnOptions,r.fnScopeId=t.fnScopeId,r.isCloned=!0,e&&(t.children&&(r.children=P(t.children,!0)),n&&n.children&&(n.children=P(n.children,!0))),r}function P(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++)r[o]=$(t[o],e);return r}function M(t,e,n){t.__proto__=e}function R(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];S(t,i,e[i])}}function L(t,e){if(s(t)&&!(t instanceof ro)){var n;return m(t,"__ob__")&&t.__ob__ instanceof fo?n=t.__ob__:co.shouldConvert&&!Xr()&&(Array.isArray(t)||c(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new fo(t)),e&&n&&n.vmCount++,n}}function D(t,e,n,r,o){var i=new eo,a=Object.getOwnPropertyDescriptor(t,e);if(!a||a.configurable!==!1){var u=a&&a.get,s=a&&a.set,c=!o&&L(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return eo.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(e)&&U(e))),e},set:function(e){var r=u?u.call(t):n;e===r||e!==e&&r!==r||(s?s.call(t,e):n=e,c=!o&&L(e),i.notify())}})}}function F(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(D(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function B(t,e){if(Array.isArray(t)&&l(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||m(t,e)&&(delete t[e],n&&n.dep.notify())}function U(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArr
2018-11-18 17:27:48 +00:00
for(var i=n;i<r;i++){var a=e[i];if(o(a)&&yn(t,a))return i}}function k(t,e,n,a){if(t!==e){var u=e.elm=t.elm;if(i(t.isAsyncPlaceholder))return void(o(e.asyncFactory.resolved)?A(t.elm,e,n):e.isAsyncPlaceholder=!0);if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return void(e.componentInstance=t.componentInstance);var s,c=e.data;o(c)&&o(s=c.hook)&&o(s=s.prepatch)&&s(t,e);var f=t.children,l=e.children;if(o(c)&&v(e)){for(s=0;s<C.update.length;++s)C.update[s](t,e);o(s=c.hook)&&o(s=s.update)&&s(t,e)}r(e.text)?o(f)&&o(l)?f!==l&&x(u,f,l,n,a):o(l)?(o(t.text)&&T.setTextContent(u,""),g(u,null,l,0,l.length-1,n)):o(f)?_(u,f,0,f.length-1):o(t.text)&&T.setTextContent(u,""):t.text!==e.text&&T.setTextContent(u,e.text),o(c)&&o(s=c.hook)&&o(s=s.postpatch)&&s(t,e)}}function O(t,e,n){if(i(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function A(t,e,n,r){var a,u=e.tag,s=e.data,c=e.children;if(r=r||s&&s.pre,e.elm=t,i(e.isComment)&&o(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(o(s)&&(o(a=s.hook)&&o(a=a.init)&&a(e,!0),o(a=e.componentInstance)))return f(e,n),!0;if(o(u)){if(o(c))if(t.hasChildNodes())if(o(a=s)&&o(a=a.domProps)&&o(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var l=!0,p=t.firstChild,h=0;h<c.length;h++){if(!p||!A(p,c[h],n,r)){l=!1;break}p=p.nextSibling}if(!l||p)return!1}else d(e,c,n);if(o(s)){var v=!1;for(var y in s)if(!I(y)){v=!0,m(e,n);break}!v&&s.class&&ut(s.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var S,E,C={},N=t.modules,T=t.nodeOps;for(S=0;S<fi.length;++S)for(C[fi[S]]=[],E=0;E<N.length;++E)o(N[E][fi[S]])&&C[fi[S]].push(N[E][fi[S]]);var I=h("attrs,class,staticClass,staticStyle,key");return function(t,n,a,u,c,f){if(r(n))return void(o(t)&&b(t));var l=!1,p=[];if(r(t))l=!0,s(n,p,c,f);else{var d=o(t.nodeType);if(!d&&yn(t,n))k(t,n,p,u);else{if(d){if(1===t.nodeType&&t.hasAttribute(Nr)&&(t.removeAttribute(Nr),a=!0),i(a)&&A(t,n,p))return O(n,p,!0),t;t=e(t)}var h=t.elm,m=T.parentNode(h);if(s(n,p,h._leaveCb?null:m,T.nextSibling(h)),o(n.parent))for(var y=n.parent,g=v(n);y;){for(var j=0;j<C.destroy.length;++j)C.destroy[j](y);if(y.elm=n.elm,g){for(var x=0;x<C.create.length;++x)C.create[x](ci,y);var w=y.data.hook.insert;if(w.merged)for(var S=1;S<w.fns.length;S++)w.fns[S]()}else mn(y);y=y.parent}o(m)?_(m,[t],0,0):o(t.tag)&&b(t)}}return O(n,p,l),n.elm}}function jn(t,e){(t.data.directives||e.data.directives)&&xn(t,e)}function xn(t,e){var n,r,o,i=t===ci,a=e===ci,u=wn(t.data.directives,t.context),s=wn(e.data.directives,e.context),c=[],f=[];for(n in s)r=u[n],o=s[n],r?(o.oldValue=r.value,On(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(On(o,"bind",e,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var l=function(){for(var n=0;n<c.length;n++)On(c[n],"inserted",e,t)};i?lt(e,"insert",l):l()}if(f.length&&lt(e,"postpatch",function(){for(var n=0;n<f.length;n++)On(f[n],"componentUpdated",e,t)}),!i)for(n in u)s[n]||On(u[n],"unbind",t,t,a)}function wn(t,e){var n=Object.create(null);if(!t)return n;var r,o;for(r=0;r<t.length;r++)o=t[r],o.modifiers||(o.modifiers=pi),n[kn(o)]=o,o.def=X(e.$options,"directives",o.name,!0);return n}function kn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function On(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){et(r,n.context,"directive "+t.name+" "+e+" hook")}}function An(t,e){var n=e.componentOptions;if(!(o(n)&&n.Ctor.options.inheritAttrs===!1||r(t.data.attrs)&&r(e.data.attrs))){var i,a,u,s=e.elm,c=t.data.attrs||{},f=e.data.attrs||{};o(f.__ob__)&&(f=e.data.attrs=_({},f));for(i in f)a=f[i],u=c[i],u!==a&&Sn(s,i,a);(Br||zr)&&f.value!==c.value&&Sn(s,"value",f.value);for(i in c)r(f[i])&&(Yo(i)?s.removeAttributeNS(Zo,Qo(i)):Jo(i)||s.removeAttribute(i))}}function Sn(t,e,n){if(Xo(e))ti(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n));else if(Jo(e))t.setAttribute(e,ti(n)||"false"===n?"false":"true");else if(Yo(e))ti(n)?t.removeAttributeNS(Zo,Qo(e)):t.setAttributeNS(Zo,e,n);else if(ti(n))t.removeAttribute(e);else{
var c=u[s],f=r[c],l=f&&f.prototype;l&&!l[a]&&o(l,a,c),i[c]=i.Array}},function(t,e,n){var r=n(10),o=r.Symbol;t.exports=o},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(30),i=1/0;t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t,e){var n=u(t)?o:i;return n(t,a(e,3))}var o=n(93),i=n(149),a=n(7),u=n(3);t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){return a(t)?o(t):i(t)}var o=n(144),i=n(385),a=n(17);t.exports=r},,,function(t,e,n){var r=n(34),o=n(4)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e){t.exports=!0},function(t,e,n){var r=n(83),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){function n(t){return o(t)&&h.call(t,"callee")&&(!m.call(t,"callee")||v.call(t)==f)}function r(t){return null!=t&&a(t.length)&&!i(t)}function o(t){return s(t)&&r(t)}function i(t){var e=u(t)?v.call(t):"";return e==l||e==p}function a(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function u(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function s(t){return!!t&&"object"==typeof t}var c=9007199254740991,f="[object Arguments]",l="[object Function]",p="[object GeneratorFunction]",d=Object.prototype,h=d.hasOwnProperty,v=d.toString,m=d.propertyIsEnumerable;t.exports=n},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(440),i=n(441),a=n(442),u=n(443),s=n(444);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=s,t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(43);t.exports=r},function(t,e,n){var r=n(375),o=n(414),i=o(r);t.exports=i},function(t,e,n){function r(t,e,n){return e===e?a(t,e,n):o(t,i,n)}var o=n(150),i=n(382),a=n(467);t.exports=r},function(t,e){function n(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r<o;)i[r]=t[r+e];return i}t.exports=n},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(438);t.exports=r},function(t,e){function n(t,e){return e=null==e?r:e,!!e&&("number"==typeof t||o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){var r=n(23),o=r(Object,"create");t.exports=o},function(t,e,n){t.exports=n(478)},function(t,e,n){var r=n(418),o=n(476),i=r(o);t.exports=i},function(t,e,n){var r=n(379),o=n(18),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},,,,function(t,e,n){t.exports={default:n(249),__esModule:!0}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(8),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(50),o=n(6),i=n(135),a=n(15),u=n(21),s=n(27),c=n(266),f=n(38),l=n(27
2018-11-14 16:08:22 +00:00
* vue-router v3.0.1
* (c) 2017 Evan You
* @license MIT
*/
2018-11-18 17:27:48 +00:00
"use strict";function r(t,e){}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function i(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function a(t,e){for(var n in e)t[n]=e[n];return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||s;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}function s(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Bt(n.shift()),o=n.length>0?Bt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function c(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return Ft(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(Ft(e)):r.push(Ft(e)+"="+Ft(t)))}),r.join("&")}return Ft(e)+"="+Ft(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=l(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:d(e,o),matched:t?p(t):[]};return n&&(a.redirectedFrom=d(n,o)),Object.freeze(a)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function p(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function d(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||c;return(n||"/")+i(r)+o}function h(t,e){return e===zt?t===e:!!e&&(t.path&&e.path?t.path.replace(Ut,"")===e.path.replace(Ut,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?v(r,o):String(r)===String(o)})}function m(t,e){return 0===t.path.replace(Ut,"/").indexOf(e.path.replace(Ut,"/"))&&(!e.hash||t.hash===e.hash)&&y(t.query,e.query)}function y(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function b(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=b(e.children)))return e}}function _(t){if(!_.installed||Pt!==t){_.installed=!0,Pt=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("router-view",Mt),t.component("router-link",Vt);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}function j(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a<i.length;a++){var u=i[a];".."===u?o.pop():"."!==u&&o.push(u)}return""!==o[0]&&o.unshift(""),o.join("/")}function x(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function w(t){return t.replace(/\/\//g,"/")}funct
return n}:s},function(t,e,n){var r=n(9),o=n(11),i=n(28);t.exports=n(12)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},function(t,e,n){var r=n(16),o=n(130).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(r(t))}},function(t,e,n){var r=n(21),o=n(39),i=n(81)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(28),o=n(16),i=n(36).f;t.exports=function(t){return function(e){for(var n,a=o(e),u=r(a),s=u.length,c=0,f=[];s>c;)i.call(a,n=u[c++])&&f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){"use strict";var r=n(6),o=n(33),i=n(14),a=n(35);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,u,s=arguments[1];return o(this),e=void 0!==s,e&&o(s),void 0==t?new this:(n=[],e?(r=0,u=i(s,arguments[2],2),a(t,!1,function(t){n.push(u(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){var r=n(83),o=n(71);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},function(t,e,n){var r=n(83),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(11),o=n(87);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(49),o=n(4)("iterator"),i=n(27);t.exports=n(2).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){"use strict";var r=n(14),o=n(6),i=n(39),a=n(126),u=n(124),s=n(51),c=n(263),f=n(87);o(o.S+o.F*!n(127)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,y=0,g=f(p);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==g||d==Array&&u(g))for(e=s(p.length),n=new d(e);e>y;y++)c(n,y,m?v(p[y],y):p[y]);else for(l=g.call(p),n=new d;!(o=l.next()).done;y++)c(n,y,m?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){"use strict";var r=n(254),o=n(128),i=n(27),a=n(16);t.exports=n(75)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(268)})},function(t,e,n){var r=n(16),o=n(129).f;n(132)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(39),o=n(28);n(132)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r,o,i,a,u=n(50),s=n(5),c=n(14),f=n(49),l=n(6),p=n(8),d=n(33),h=n(70),v=n(35),m=n(137),y=n(138).set,g=n(267)(),b=n(77),_=n(133),j=n(134),x="Promise",w=s.TypeError,k=s.process,O=s[x],A="process"==f(k),S=function(){},E=o=b.f,C=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(4)("species")]=function(t){t(S,S)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof e}catch(t){}}(),N=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},T=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a=o?e.ok:e.fail,u=e.resolve,s=e.reject,c=e.domain;try{a?(o||(2==t._h&&P(t),t._h=1),a===!0?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===e.pro
2018-11-14 16:08:22 +00:00
value:function(){return(0,u.default)(d.default).map(function(t){return t.name})}},{key:"getNativeName",value:function(e){return t.validate(e)?d.default[e].nativeName:""}},{key:"getAllNativeNames",value:function(){return(0,u.default)(d.default).map(function(t){return t.nativeName})}},{key:"getCode",value:function(t){var e=(0,i.default)(d.default).find(function(e){var n=d.default[e];return n.name.toLowerCase()===t.toLowerCase()||n.nativeName.toLowerCase()===t.toLowerCase()});return e||""}},{key:"getAllCodes",value:function(){return(0,i.default)(d.default)}},{key:"validate",value:function(t){return void 0!==d.default[t]}}]),t}();e.default=h,t.exports=e.default}})})},,,,,,,,,,,,,,,,,,,,,,,,function(t,e){/*!
localForage -- Offline Storage, Improved
Version 1.5.6
https://localforage.github.io/localForage
(c) 2013-2017 Mozilla, Apache License 2.0
*/
2018-11-18 17:27:48 +00:00
!function(n){if("object"==typeof e&&"undefined"!=typeof t)t.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.localforage=n()}}(function(){return function t(e,n,r){function o(a,u){if(!n[a]){if(!e[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[a]={exports:{}};e[a][0].call(f.exports,function(t){var n=e[a][1][t];return o(n?n:t)},f,f.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){(function(t){"use strict";function n(){f=!0;for(var t,e,n=l.length;n;){for(e=l,l=[],t=-1;++t<n;)e[t]();n=l.length}f=!1}function r(t){1!==l.push(t)||f||o()}var o,i=t.MutationObserver||t.WebKitMutationObserver;if(i){var a=0,u=new i(n),s=t.document.createTextNode("");u.observe(s,{characterData:!0}),o=function(){s.data=a=++a%2}}else if(t.setImmediate||"undefined"==typeof t.MessageChannel)o="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){n(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(n,0)};else{var c=new t.MessageChannel;c.port1.onmessage=n,o=function(){c.port2.postMessage(0)}}var f,l=[];e.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){"use strict";function r(){}function o(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,t!==r&&s(this,t)}function i(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function a(t,e,n){h(function(){var r;try{r=e(n)}catch(e){return v.reject(t,e)}r===t?v.reject(t,new TypeError("Cannot resolve promise with itself")):v.resolve(t,r)})}function u(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function s(t,e){function n(e){i||(i=!0,v.reject(t,e))}function r(e){i||(i=!0,v.resolve(t,e))}function o(){e(r,n)}var i=!1,a=c(o);"error"===a.status&&n(a.value)}function c(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}function f(t){return t instanceof this?t:v.resolve(new this(r),t)}function l(t){var e=new this(r);return v.reject(e,t)}function p(t){function e(t,e){function r(t){a[e]=t,++u!==o||i||(i=!0,v.resolve(c,a))}n.resolve(t).then(r,function(t){i||(i=!0,v.reject(c,t))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var o=t.length,i=!1;if(!o)return this.resolve([]);for(var a=new Array(o),u=0,s=-1,c=new this(r);++s<o;)e(t[s],s);return c}function d(t){function e(t){n.resolve(t).then(function(t){i||(i=!0,v.resolve(u,t))},function(t){i||(i=!0,v.reject(u,t))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var o=t.length,i=!1;if(!o)return this.resolve([]);for(var a=-1,u=new this(r);++a<o;)e(t[a]);return u}var h=t(1),v={},m=["REJECTED"],y=["FULFILLED"],g=["PENDING"];e.exports=o,o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,e){if("function"!=typeof t&&this.state===y||"function"!=typeof e&&this.state===m)return this;var n=new this.constructor(r);if(this.state!==g){var o=this.state===y?t:e;a(n,o,this.outcome)}else this.queue.push(new i(n,t,e));return n},i.prototype.callFulfilled=function(t){v.resolve(this.promise,t)},i.prototype.otherCallFulfilled=function(t){a(this.promise,this.onFulfilled,t)},i.prototype.callRejected=function(t){v.reject(this.promise,t)},i.prototype.otherCal
case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}t.exports=n},function(t,e,n){function r(t,e){var n=null==t?0:t.length;return!!n&&o(t,e,0)>-1}var o=n(58);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t){return t.split("")}t.exports=n},function(t,e){function n(t){return t.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=n},function(t,e,n){function r(t,e,n){var r=t[e];u.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(94),i=n(43),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(13),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(152),i=n(46);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(145),i=n(3);t.exports=r},function(t,e){function n(t,e){return t>e}t.exports=n},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==a}var o=n(22),i=n(18),a="[object Arguments]";t.exports=r},function(t,e,n){function r(t,e,n,r,m,g){var b=c(t),_=c(e),j=b?h:s(t),x=_?h:s(e);j=j==d?v:j,x=x==d?v:x;var w=j==v,k=x==v,O=j==x;if(O&&f(t)){if(!f(e))return!1;b=!0,w=!1}if(O&&!w)return g||(g=new o),b||l(t)?i(t,e,n,r,m,g):a(t,e,j,n,r,m,g);if(!(n&p)){var A=w&&y.call(t,"__wrapped__"),S=k&&y.call(e,"__wrapped__");if(A||S){var E=A?t.value():t,C=S?e.value():e;return g||(g=new o),m(E,C,n,r,g)}}return!!O&&(g||(g=new o),u(t,e,n,r,m,g))}var o=n(92),i=n(163),a=n(421),u=n(422),s=n(427),c=n(3),f=n(101),l=n(104),p=1,d="[object Arguments]",h="[object Array]",v="[object Object]",m=Object.prototype,y=m.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n,r){var s=n.length,c=s,f=!r;if(null==t)return!c;for(t=Object(t);s--;){var l=n[s];if(f&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++s<c;){l=n[s];var p=l[0],d=t[p],h=l[1];if(f&&l[2]){if(void 0===d&&!(p in t))return!1}else{var v=new o;if(r)var m=r(d,h,p,t,e,v);if(!(void 0===m?i(h,d,a|u,r,v):m))return!1}}return!0}var o=n(92),i=n(153),a=1,u=2;t.exports=r},function(t,e){function n(t){return t!==t}t.exports=n},function(t,e,n){function r(t){if(!a(t)||i(t))return!1;var e=o(t)?h:c;return e.test(u(t))}var o=n(102),i=n(439),a=n(13),u=n(171),s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,f=Function.prototype,l=Object.prototype,p=f.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return a(t)&&i(t.length)&&!!T[o(t)]}var o=n(22),i=n(103),a=n(18),u="[object Arguments]",s="[object Array]",c="[object Boolean]",f="[object Date]",l="[object Error]",p="[object Function]",d="[object Map]",h="[object Number]",v="[object Object]",m="[object RegExp]",y="[object Set]",g="[object String]",b="[object WeakMap]",_="[object ArrayBuffer]",j="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",k="[object Int8Array]",O="[object Int16Array]",A="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",C="[object Uint16Array]",N="[object Uint32Array]",T={};T[x]=T[w]=T[k]=T[O]=T[A]=T[S]=T[E]=T[C]=T[N]=!0,T[u]=T[s]=T[_]=T[c]=T[j]=T[f]=T[l]=T[p]=T[d]=T[h]=T[v]=T[m]=T[y]=T[g]=T[b]=!1,t.exports=r},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))u.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(99),i=n(452),a=Object.prototype,u=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){if(!o(t))return a(t);var e=i(t),n=[];for(var r in t)("constructor"!=r||!e&&s.call(t,r))&&n.pu
payload:this.payload,ref:this.ref,join_ref:this.channel.joinRef()}))}},{key:"receive",value:function(t,e){return this.hasReceived(t)&&e(this.receivedResp.response),this.recHooks.push({status:t,callback:e}),this}},{key:"reset",value:function(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}},{key:"matchReceive",value:function(t){var e=t.status,n=t.response;t.ref;this.recHooks.filter(function(t){return t.status===e}).forEach(function(t){return t.callback(n)})}},{key:"cancelRefEvent",value:function(){this.refEvent&&this.channel.off(this.refEvent)}},{key:"cancelTimeout",value:function(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}},{key:"startTimeout",value:function(){var t=this;this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,function(e){t.cancelRefEvent(),t.cancelTimeout(),t.receivedResp=e,t.matchReceive(e)}),this.timeoutTimer=setTimeout(function(){t.trigger("timeout",{})},this.timeout)}},{key:"hasReceived",value:function(t){return this.receivedResp&&this.receivedResp.status===t}},{key:"trigger",value:function(t,e){this.channel.trigger(this.refEvent,{status:t,response:e})}}]),t}(),v=t.Channel=function(){function t(e,r,o){var i=this;n(this,t),this.state=f.closed,this.topic=e,this.params=r||{},this.socket=o,this.bindings=[],this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new h(this,l.join,this.params,this.timeout),this.pushBuffer=[],this.rejoinTimer=new b(function(){return i.rejoinUntilConnected()},this.socket.reconnectAfterMs),this.joinPush.receive("ok",function(){i.state=f.joined,i.rejoinTimer.reset(),i.pushBuffer.forEach(function(t){return t.send()}),i.pushBuffer=[]}),this.onClose(function(){i.rejoinTimer.reset(),i.socket.log("channel","close "+i.topic+" "+i.joinRef()),i.state=f.closed,i.socket.remove(i)}),this.onError(function(t){i.isLeaving()||i.isClosed()||(i.socket.log("channel","error "+i.topic,t),i.state=f.errored,i.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",function(){if(i.isJoining()){i.socket.log("channel","timeout "+i.topic+" ("+i.joinRef()+")",i.joinPush.timeout);var t=new h(i,l.leave,{},i.timeout);t.send(),i.state=f.errored,i.joinPush.reset(),i.rejoinTimer.scheduleTimeout()}}),this.on(l.reply,function(t,e){i.trigger(i.replyEventName(e),t)})}return i(t,[{key:"rejoinUntilConnected",value:function(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this.rejoin()}},{key:"join",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;if(this.joinedOnce)throw"tried to join multiple times. 'join' can only be called a single time per channel instance";return this.joinedOnce=!0,this.rejoin(t),this.joinPush}},{key:"onClose",value:function(t){this.on(l.close,t)}},{key:"onError",value:function(t){this.on(l.error,function(e){return t(e)})}},{key:"on",value:function(t,e){this.bindings.push({event:t,callback:e})}},{key:"off",value:function(t){this.bindings=this.bindings.filter(function(e){return e.event!==t})}},{key:"canPush",value:function(){return this.socket.isConnected()&&this.isJoined()}},{key:"push",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeout;if(!this.joinedOnce)throw"tried to push '"+t+"' to '"+this.topic+"' before joining. Use channel.join() before pushing events";var r=new h(this,t,e,n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}},{key:"leave",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.state=f.leaving;var n=function(){t.socket.log("channel","leave "+t.topic),t.trigger(l.close,"leave")},r=new h(this,l.leave,{},e);return r.receive("ok",function(){return n()}).receive("timeout",function(){return n()}),r.send(),this.canPush()||r.trigger("ok",{}),r}},{key:"onMessage",value:function(t,e,n){return e}},{key:"isMember",value:function(t,e,n,r){if(this.topic!==t)return!1;var o=p.indexOf(e)>=0;return!r||!o||r===this.joinRef()||(this.socke
2018-11-14 16:08:22 +00:00
* vue-i18n v7.4.2
* (c) 2018 kazuya kawaguchi
* Released under the MIT License.
*/
2018-11-18 17:27:48 +00:00
"use strict";function r(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t){return null!==t&&"object"==typeof t}function i(t){return P.call(t)===M}function a(t){return null===t||void 0===t}function u(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?o(t[0])||Array.isArray(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(o(t[1])||Array.isArray(t[1]))&&(r=t[1])),{locale:n,params:r}}function s(t){return t?t>1?1:0:1}function c(t,e){return t=Math.abs(t),2===e?s(t):t?Math.min(t,2):0}function f(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return e=c(e,n.length),n[e]?n[e].trim():t}function l(t){return JSON.parse(JSON.stringify(t))}function p(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function d(t,e){return R.call(t,e)}function h(t){for(var e=arguments,n=Object(t),r=1;r<arguments.length;r++){var i=e[r];if(void 0!==i&&null!==i){var a=void 0;for(a in i)d(i,a)&&(o(i[a])?n[a]=h(n[a],i[a]):n[a]=i[a])}}return n}function v(t,e){if(t===e)return!0;var n=o(t),r=o(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),a=Array.isArray(e);if(i&&a)return t.length===e.length&&t.every(function(t,n){return v(t,e[n])});if(i||a)return!1;var u=Object.keys(t),s=Object.keys(e);return u.length===s.length&&u.every(function(n){return v(t[n],e[n])})}catch(t){return!1}}function m(t){Object.defineProperty(t.prototype,"$t",{get:function(){var t=this;return function(e){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];var o=t.$i18n;return o._t.apply(o,[e,o.locale,o._getMessages(),t].concat(n))}}}),Object.defineProperty(t.prototype,"$tc",{get:function(){var t=this;return function(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];var i=t.$i18n;return i._tc.apply(i,[e,i.locale,i._getMessages(),t,n].concat(r))}}}),Object.defineProperty(t.prototype,"$te",{get:function(){var t=this;return function(e,n){var r=t.$i18n;return r._te(e,r.locale,r._getMessages(),n)}}}),Object.defineProperty(t.prototype,"$d",{get:function(){var t=this;return function(e){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(o=t.$i18n).d.apply(o,[e].concat(n));var o}}}),Object.defineProperty(t.prototype,"$n",{get:function(){var t=this;return function(e){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(o=t.$i18n).n.apply(o,[e].concat(n));var o}}})}function y(t,e,n){b(t,n)&&j(t,e,n)}function g(t,e,n,r){b(t,n)&&(_(t,n)&&v(e.value,e.oldValue)||j(t,e,n))}function b(t,e){var n=e.context;return n?!!n.$i18n||(r("not exist VueI18n instance in Vue instance"),!1):(r("not exist Vue instance in VNode context"),!1)}function _(t,e){var n=e.context;return t._locale===n.$i18n.locale}function j(t,e,n){var o=e.value,i=x(o),a=i.path,u=i.locale,s=i.args;if(!a&&!u&&!s)return void r("not support value type");if(!a)return void r("required `path` in v-t directive");var c=n.context;t._vt=t.textContent=(f=c.$i18n).t.apply(f,[a].concat(w(u,s))),t._locale=c.$i18n.locale;var f}function x(t){var e,n,r;return"string"==typeof t?e=t:i(t)&&(e=t.path,n=t.locale,r=t.args),{path:e,locale:n,args:r}}function w(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||i(e))&&n.push(e),n}function k(t){$=t;$.version&&Number($.version.split(".")[0])||-1;k.installed=!0,Object.defineProperty($.prototype,"$i18n",{get:function(){return this._i18n}}),m($),$.mixin(F),$.directive("t",{bind:y,update:g}),$.component(B.name,B);var e=$.config.optionMergeStrategies;e.i18n=e.methods}function O(t){for(var e=[],n=0,r="";n<t.length;){var o=t[n++];if("{"===o){r&&e.push({type:"text",value:r}),r="";var i="";for(o=t[n++];"}"!==o;)i+=o,o=t[n++];var a=z.test(i)?"list":q.test(i)?"named":"unknown";e.push({value:i,type:a})}else"%"===o?"{"!==t[n]&&(r+=o):r+=o}return r&&e.push({type:"text",value:r}),e}function A(t,e){var n=[],r=0,i=Array.isArray(e)?"list":o(e)?"named":"unknown";if("unknown"===i)return n;for(;r<t.length;){var a=t[r];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(e
2018-11-14 16:08:22 +00:00
* vuex v3.0.1
* (c) 2017 Evan You
* @license MIT
*/
2018-11-18 17:27:48 +00:00
"use strict";function r(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)}))}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function i(t){return null!==t&&"object"==typeof t}function a(t){return t&&"function"==typeof t.then}function u(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;u(t.concat(r),e.getChild(r),n.modules[r])}}function s(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function c(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;l(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var r=t._vm;t.getters={};var i=t._wrappedGetters,a={};o(i,function(e,n){a[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var u=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:a}),C.config.silent=u,t.strict&&y(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),C.nextTick(function(){return r.$destroy()}))}function l(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var u=g(e,n.slice(0,-1)),s=n[n.length-1];t._withCommit(function(){C.set(u,s,r.state)})}var c=r.context=p(t,a,n);r.forEachMutation(function(e,n){var r=a+n;h(t,r,e,c)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;v(t,r,o,c)}),r.forEachGetter(function(e,n){var r=a+n;m(t,r,e,c)}),r.forEachChild(function(r,i){l(t,e,n.concat(i),r,o)})}function p(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=b(n,r,o),a=i.payload,u=i.options,s=i.type;return u&&u.root||(s=e+s),t.dispatch(s,a)},commit:r?t.commit:function(n,r,o){var i=b(n,r,o),a=i.payload,u=i.options,s=i.type;u&&u.root||(s=e+s),t.commit(s,a,u)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return d(t,e)}},state:{get:function(){return g(t.state,n)}}}),o}function d(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}function h(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n.call(t,r.state,e)})}function v(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e,o){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return a(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}function m(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function y(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function g(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){C&&t===C||(C=t,k(C))}function j(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 x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function w(t,e,n){var r=t._modulesNamespaceMap[n];return r}var k=function(t){function e(){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)}var n=Number(t.version.split(".")[0]);if(n>=2)t.mixin({beforeCreate:e});else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,r.call(this,t)}}},O="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,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={nam
//# sourceMappingURL=vendor.32c621c7157f34c20923.js.map