UNPKG

ac-vue-app

Version:

Down-to-earth vue component and application development

14 lines 118 kB
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}([function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var c=typeof(e=e||{}).default;"object"!==c&&"function"!==c||(e=e.default);var u,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(e,t){return u.call(t),f(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,u):[u]}return{exports:e,options:l}}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";e.exports=function(e){return null!=e.default?e.default:e}},function(e,t){e.exports={name:"app"}},function(e,t,n){var r=n(1)(n(14));e.exports={name:"default-app",components:{"basic-app":r}}},function(e,t,n){var r=n(23),i=n(20);e.exports={name:"action",data:function(){return{action:new r,store:new i,lastEvent:{name:null,data:null}}},provide:function(){var e={},t=this;return Object.defineProperty(e,"action",{enumerable:!0,get:function(){return t.action}}),Object.defineProperty(e,"store",{enumerable:!0,get:function(){return t.store}}),e},methods:{onAny:function(e,t){this.lastEvent.name=e,this.lastEvent.data=t}},created:function(){this.onAny=this.onAny.bind(this),this.action.onAny(this.onAny)},beforeDestroy:function(){this.action.offAny(this.onAny)}}},function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}n.r(t),n.d(t,"default",function(){return v});var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},f=null,p="data-vue-ssr-id",d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(e,t,n,i){u=n,f=i||{};var a=r(e,t);return h(a),function(t){for(var n=[],i=0;i<a.length;i++){var s=a[i];(c=o[s.id]).refs--,n.push(c)}t?h(a=r(e,t)):a=[];for(i=0;i<n.length;i++){var c;if(0===(c=n[i]).refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(y(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(i=0;i<n.parts.length;i++)a.push(y(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:a}}}}function m(){var e=document.createElement("style");return e.type="text/css",a.appendChild(e),e}function y(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(d){var i=c++;r=s||(s=m()),t=b.bind(null,r,i,!1),n=b.bind(null,r,i,!0)}else r=m(),t=function(e,t){var n=t.css,r=t.media,i=t.sourceMap;r&&e.setAttribute("media",r);f.ssrId&&e.setAttribute(p,t.id);i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g,_=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function b(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("basic-app")],1)},i=[]},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this.$createElement;this._self._c;return this._m(0)},i=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("a",{attrs:{href:"/"}},[this._v("home")]),this._v(" "),t("a",{attrs:{href:"/_service"}},[this._v("/_service")])])}]},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._l(e.action.availableActions(),function(t){return n("span",[e._v("\n "+e._s(t)+"\n ")])}),e._v(" "),e.lastEvent.name?n("div",[e._v("\n "+e._s(e.lastEvent.name)+"\n "+e._s(e.lastEvent.data)+"\n ")]):e._e(),e._v(" "),e._t("default")],2)},i=[]},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=s(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new v(e,t)),1!==u.length||l||s(d)},v.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,"",""])},function(e,t,n){var r=n(12);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5).default)("02ad9981",r,!0,{})},function(e,t,n){"use strict";n.r(t);var r=n(2),i=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var a=n(9),s=n(0);var c=function(e){n(13)},u=Object(s.a)(i.a,a.a,a.b,!1,c,null,null);t.default=u.exports},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,"",""])},function(e,t,n){var r=n(15);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5).default)("6a1c4fe6",r,!0,{})},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var a=n(8),s=n(0);var c=function(e){n(16)},u=Object(s.a)(i.a,a.a,a.b,!1,c,null,null);t.default=u.exports},function(e,t,n){"use strict";e.exports=n(1)(n(17))},function(e,t,n){var r;!function(n){var i=Object.prototype.hasOwnProperty,o=function(){var e=Array.prototype.slice.call(arguments);return 2==e.length?o.find.apply(this,e):o.transform.apply(this,e)};o.find=function(e,t){return o.get(t,e)},o.memoizePath=!0;var a={};o.get=function(e,t,n){if(void 0===e||null===e||void 0===t||null===t)return n;var r;for("string"==typeof t?o.memoizePath?a[t]?r=a[t].slice(0):(r=t.split(".").reverse(),a[t]=r.slice(0)):r=t.split(".").reverse():Array.isArray(t)&&(r=function(e){for(var t=new Array(e.length),n=e.length,r=n-1;n--;)t[r-n]=e[n];return t}(t));r.length&&void 0!==(e=e[r.pop()])&&null!==e;);return null===e&&r.length&&(e=void 0),void 0===e?n:e},o.exists=function(e,t){return void 0!==o.get(e,t)},o.set=function(e,t,n,r){var o,a=Array.isArray(t)?t:t.split("."),s=e,c=a.length;if("object"!=typeof s)throw new Error("Parent is not an object.");for(var u=0;u<c;u++)if(o=a[u],(!i.call(s,o)||void 0===s[o]||"object"!=typeof s[o]&&r&&!0===r.force)&&(s[o]={}),u==c-1)s[o]=n;else{if("object"!=typeof s[o])throw new Error('Target key "'+o+'" is not suitable for a nested value. (It is in use as non-object. Set `force` to `true` to override.)');s=s[o]}s[o]=n},o.default=function(e,t,n){void 0===o.get(e,t)&&o.set(e,t,n)},o.transform=function(e,t){if(Array.isArray(e))return e.map(function(e){return o.transform(e,t)});(t=t||{}).delimiter=t.delimiter||".";var n,r,i,a,s,c,u={},l=Object.keys(e),f=l.length;for(c=0;c<f;c++)if(-1!==(s=l[c]).indexOf(t.delimiter)){r=(n=s.split(t.delimiter)).length,a=u;for(var p=0;p<r&&(i=n[p],p==r-1||a.hasOwnProperty(i)||(a[i]={}),p==r-1&&(a[i]=e[s]),null!==(a=a[i]));p++);}else u[s]=e[s];return u},o.flatten=function(e,t){void 0===t&&(t=".");var n,r,a={};for(var s in e)if(i.call(e,s))if(n=e[s],"[object Object]"===Object.prototype.toString.call(n))for(var c in r=o.flatten(n,t))a[s+t+c]=r[c];else a[s]=n;return a},o.paths=function(e,t){var n,r,i=[];if(t=t||[],"object"!=typeof e)throw new Error("Paths was called with non-object argument.");for(r in e)"object"==typeof(n=e[r])?i=i.concat(o.paths(n,t.concat([r]))):i.push(t.concat(r).join("."));return i},void 0!==e&&e.exports?t=e.exports=o:(this.Dottie=o,this.Dot=o,void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r))}()},function(e,t,n){"use strict";var r="store",i=n(19),o="undefined"==typeof window?null:window.localStorage;function a(){this.storageKey=r,this.data={},this.load()}o||(console.log("Mocking localStorage-api"),o={getItem:function(e){},setItem:function(e,t){},removeItem:function(e){}}),e.exports=a,a.prototype.load=function(){if(this._loaded)return Promise.resolve(this.data);var e=this;return new Promise(function(t,n){console.log("store.load"),e.data=JSON.parse(o.getItem(e.storageKey)||"{}")||{},t(e.data)})},a.prototype.save=function(){var e=this;return new Promise(function(t,n){console.log("store.save"),o.setItem(e.storageKey,JSON.stringify(e.data)),t()})},a.prototype.get=function(e){return this.load().then(function(t){return console.log("store.get",e,t),i.get(t,e)})},a.prototype.set=function(e,t){var n=this;return this.load().then(function(){return i.set(n.data,e,t,{force:!0}),n.save().then(function(){return console.log("store.set",e,t,n.data),t})})},a.prototype.remove=function(e){var t=this;return this.load().then(function(){return console.log("store.remove",e,t.data),i.set(t.data,e,void 0,{force:!0}),t.save()})},a.prototype.getKeys=function(e){var t=this;return this.load().then(function(){var n=i.get(t.data,e);return n=Object.keys(n||{}),console.log("store.getKeys",e,n,t.data),n})}},function(e,t,n){(function(r){var i; /*! * EventEmitter2 * https://github.com/hij1nx/EventEmitter2 * * Copyright (c) 2013 hij1nx * Licensed under the MIT license. */!function(o){var a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=10;function c(){this._events={},this._conf&&u.call(this,this._conf)}function u(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._maxListeners=e.maxListeners!==o?e.maxListeners:s,e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),this.wildcard&&(this.listenerTree={})):this._maxListeners=s}function l(e,t){var n="(node) warning: possible EventEmitter memory leak detected. "+e+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(n+=" Event name: "+t+"."),void 0!==r&&r.emitWarning){var i=new Error(n);i.name="MaxListenersExceededWarning",i.emitter=this,i.count=e,r.emitWarning(i)}else console.error(n),console.trace&&console.trace()}function f(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,u.call(this,e)}function p(e,t,n,r){if(!n)return[];var i,o,a,s,c,u,l,f=[],d=t.length,v=t[r],h=t[r+1];if(r===d&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(i=0,o=n._listeners.length;i<o;i++)e&&e.push(n._listeners[i]);return[n]}if("*"===v||"**"===v||n[v]){if("*"===v){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(f=f.concat(p(e,t,n[a],r+1)));return f}if("**"===v){for(a in(l=r+1===d||r+2===d&&"*"===h)&&n._listeners&&(f=f.concat(p(e,t,n,d))),n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!l&&(f=f.concat(p(e,t,n[a],d))),f=f.concat(p(e,t,n[a],r))):f=a===h?f.concat(p(e,t,n[a],r+2)):f.concat(p(e,t,n[a],r)));return f}f=f.concat(p(e,t,n[v],r+1))}if((s=n["*"])&&p(e,t,s,r+1),c=n["**"])if(r<d)for(a in c._listeners&&p(e,t,c,d),c)"_listeners"!==a&&c.hasOwnProperty(a)&&(a===h?p(e,t,c[a],r+2):a===v?p(e,t,c[a],r+1):((u={})[a]=c[a],p(e,t,{"**":u},r+1)));else c._listeners?p(e,t,c,d):c["*"]&&c["*"]._listeners&&p(e,t,c["*"],d);return f}f.EventEmitter2=f,f.prototype.delimiter=".",f.prototype.setMaxListeners=function(e){e!==o&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},f.prototype.event="",f.prototype.once=function(e,t){return this._once(e,t,!1)},f.prototype.prependOnceListener=function(e,t){return this._once(e,t,!0)},f.prototype._once=function(e,t,n){return this._many(e,1,t,n),this},f.prototype.many=function(e,t,n){return this._many(e,t,n,!1)},f.prototype.prependMany=function(e,t,n){return this._many(e,t,n,!0)},f.prototype._many=function(e,t,n,r){var i=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");function o(){return 0==--t&&i.off(e,o),n.apply(this,arguments)}return o._origin=n,this._on(e,o,r),i},f.prototype.emit=function(){this._events||c.call(this);var e=arguments[0];if("newListener"===e&&!this._newListener&&!this._events.newListener)return!1;var t,n,r,i,o,a=arguments.length;if(this._all&&this._all.length){if(o=this._all.slice(),a>3)for(t=new Array(a),i=0;i<a;i++)t[i]=arguments[i];for(r=0,n=o.length;r<n;r++)switch(this.event=e,a){case 1:o[r].call(this,e);break;case 2:o[r].call(this,e,arguments[1]);break;case 3:o[r].call(this,e,arguments[1],arguments[2]);break;default:o[r].apply(this,t)}}if(this.wildcard){o=[];var s="string"==typeof e?e.split(this.delimiter):e.slice();p.call(this,o,s,this.listenerTree,0)}else{if("function"==typeof(o=this._events[e])){switch(this.event=e,a){case 1:o.call(this);break;case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:for(t=new Array(a-1),i=1;i<a;i++)t[i-1]=arguments[i];o.apply(this,t)}return!0}o&&(o=o.slice())}if(o&&o.length){if(a>3)for(t=new Array(a-1),i=1;i<a;i++)t[i-1]=arguments[i];for(r=0,n=o.length;r<n;r++)switch(this.event=e,a){case 1:o[r].call(this);break;case 2:o[r].call(this,arguments[1]);break;case 3:o[r].call(this,arguments[1],arguments[2]);break;default:o[r].apply(this,t)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},f.prototype.emitAsync=function(){this._events||c.call(this);var e=arguments[0];if("newListener"===e&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);var t,n,r,i,o,a=[],s=arguments.length;if(this._all){if(s>3)for(t=new Array(s),i=1;i<s;i++)t[i]=arguments[i];for(r=0,n=this._all.length;r<n;r++)switch(this.event=e,s){case 1:a.push(this._all[r].call(this,e));break;case 2:a.push(this._all[r].call(this,e,arguments[1]));break;case 3:a.push(this._all[r].call(this,e,arguments[1],arguments[2]));break;default:a.push(this._all[r].apply(this,t))}}if(this.wildcard){o=[];var u="string"==typeof e?e.split(this.delimiter):e.slice();p.call(this,o,u,this.listenerTree,0)}else o=this._events[e];if("function"==typeof o)switch(this.event=e,s){case 1:a.push(o.call(this));break;case 2:a.push(o.call(this,arguments[1]));break;case 3:a.push(o.call(this,arguments[1],arguments[2]));break;default:for(t=new Array(s-1),i=1;i<s;i++)t[i-1]=arguments[i];a.push(o.apply(this,t))}else if(o&&o.length){if(o=o.slice(),s>3)for(t=new Array(s-1),i=1;i<s;i++)t[i-1]=arguments[i];for(r=0,n=o.length;r<n;r++)switch(this.event=e,s){case 1:a.push(o[r].call(this));break;case 2:a.push(o[r].call(this,arguments[1]));break;case 3:a.push(o[r].call(this,arguments[1],arguments[2]));break;default:a.push(o[r].apply(this,t))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(a)},f.prototype.on=function(e,t){return this._on(e,t,!1)},f.prototype.prependListener=function(e,t){return this._on(e,t,!0)},f.prototype.onAny=function(e){return this._onAny(e,!1)},f.prototype.prependAny=function(e){return this._onAny(e,!0)},f.prototype.addListener=f.prototype.on,f.prototype._onAny=function(e,t){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},f.prototype._on=function(e,t,n){if("function"==typeof e)return this._onAny(e,t),this;if("function"!=typeof t)throw new Error("on only accepts instances of Function");return this._events||c.call(this),this._newListener&&this.emit("newListener",e,t),this.wildcard?(function(e,t){for(var n=0,r=(e="string"==typeof e?e.split(this.delimiter):e.slice()).length;n+1<r;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var i=this.listenerTree,a=e.shift();a!==o;){if(i[a]||(i[a]={}),i=i[a],0===e.length)return i._listeners?("function"==typeof i._listeners&&(i._listeners=[i._listeners]),i._listeners.push(t),!i._listeners.warned&&this._maxListeners>0&&i._listeners.length>this._maxListeners&&(i._listeners.warned=!0,l.call(this,i._listeners.length,a))):i._listeners=t,!0;a=e.shift()}return!0}.call(this,e,t),this):(this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),n?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&this._maxListeners>0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,l.call(this,this._events[e].length,e))):this._events[e]=t,this)},f.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(this.wildcard){var i="string"==typeof e?e.split(this.delimiter):e.slice();r=p.call(this,null,i,this.listenerTree,0)}else{if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n})}for(var s=0;s<r.length;s++){var c=r[s];if(n=c._listeners,a(n)){for(var u=-1,l=0,f=n.length;l<f;l++)if(n[l]===t||n[l].listener&&n[l].listener===t||n[l]._origin&&n[l]._origin===t){u=l;break}if(u<0)continue;return this.wildcard?c._listeners.splice(u,1):this._events[e].splice(u,1),0===n.length&&(this.wildcard?delete c._listeners:delete this._events[e]),this._removeListener&&this.emit("removeListener",e,t),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(this.wildcard?delete c._listeners:delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return function e(t){if(t!==o){var n=Object.keys(t);for(var r in n){var i=n[r],a=t[i];a instanceof Function||"object"!=typeof a||null===a||(Object.keys(a).length>0&&e(t[i]),0===Object.keys(a).length&&delete t[i])}}}(this.listenerTree),this},f.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(n=0,r=(t=this._all).length;n<r;n++)if(e===t[n])return t.splice(n,1),this._removeListener&&this.emit("removeListenerAny",e),this}else{if(t=this._all,this._removeListener)for(n=0,r=t.length;n<r;n++)this.emit("removeListenerAny",t[n]);this._all=[]}return this},f.prototype.removeListener=f.prototype.off,f.prototype.removeAllListeners=function(e){if(e===o)return!this._events||c.call(this),this;if(this.wildcard)for(var t="string"==typeof e?e.split(this.delimiter):e.slice(),n=p.call(this,null,t,this.listenerTree,0),r=0;r<n.length;r++){n[r]._listeners=null}else this._events&&(this._events[e]=null);return this},f.prototype.listeners=function(e){if(this.wildcard){var t=[],n="string"==typeof e?e.split(this.delimiter):e.slice();return p.call(this,t,n,this.listenerTree,0),t}return this._events||c.call(this),this._events[e]||(this._events[e]=[]),a(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},f.prototype.eventNames=function(){return Object.keys(this._events)},f.prototype.listenerCount=function(e){return this.listeners(e).length},f.prototype.listenersAny=function(){return this._all?this._all:[]},(i=function(){return f}.call(t,n,t,e))===o||(e.exports=i)}()}).call(this,n(11))},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";var r=["availableActions","set","remove","batch","run","on","once","off","removeListener","removeAllListeners","onAny","offAny"],i=n(22),o=n(21).EventEmitter2;e.exports=s;var a={wildcard:!0,delimiter:":",maxListeners:1/0,newListener:!1,verboseMemoryLeak:!1};function s(e){if(!(this instanceof s))return new s(e);o.call(this,a),this._em=new o(a),this._fns=[],this._events=[],null!=e&&this.setByMap(e);var t=this;function n(e,n){return e=c(e),t.batch(e,n)}return r.forEach(function(e){var r,i;n[e]=(r=t[e],i=t,function(){return r.apply(i,arguments)})}),n}function c(e,t){return e?("array"==typeof e||e instanceof Array||(e=[e]),null!=t&&(e=e.map(function(e){return e.join&&(e=e.join(t)),e})),e):e}i(s,o),s.prototype.availableActions=function(){var e=[];return this._events.forEach(function(t){t.forEach(function(t){-1===e.indexOf(t)&&e.push(t)})}),e},s.prototype.set=function(e,t){if(null==t)return this.setByMap(e);var n=this,r=n._fns.indexOf(e);return t=c(t,":"),-1===r?(r=n._fns.length,n._fns.push(e),n._events.push(t)):t.forEach(function(t){-1===!n._events[r].indexOf(t)?n._events[r].push(t):n._em.removeListener(t,e)}),n._events[r].forEach(function(t){n._em.on(t,e)}),n},s.prototype.remove=function(e,t){var n=this,r=n._fns.indexOf(e);return-1===r?n:(t=c(t,":"))?(n._events[r]=n._events[r].filter(function(r){return-1===t.indexOf(r)||(n._em.removeListener(r,e),!1)}),0===n._events[r].length&&(n._events.splice(r,1),n._fns.splice(r,1)),n):(n._events[r].forEach(function(t){n._em.removeListener(t,e)}),n._events.splice(r,1),n._fns.splice(r,1),n)},s.prototype.batch=function(e,t){var n=this,r=Promise.resolve(t);return e.forEach(function(e){r=r.then(function(t){return n.run(e,t)})}),r},s.prototype.run=function(e,t){var n=this,r=this._em.listeners(e).slice(0);return 0===r.length&&console.log("No fn for action:",e),function(e){return function t(n){if(n instanceof Promise)return n.then(t);if(0===e.length)return Promise.resolve(n);var r=e.shift()(n);null==r&&(r=n);return t(r)}}(r)(t).then(function(t){return n.emit(e,t),t})},s.prototype.action=function(e){var t=this;return e=c(e),function(n){return t.batch(e,n)}},s.prototype.setByMap=function(e){return Object.keys(e).forEach(function(t){this.set(e[t],t)},this),this}},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,"",""])},function(e,t,n){var r=n(24);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(5).default)("09119abe",r,!0,{})},function(e,t,n){"use strict";n.r(t);var r=n(4),i=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var a=n(10),s=n(0);var c=function(e){n(25)},u=Object(s.a)(i.a,a.a,a.b,!1,c,null,null);t.default=u.exports},function(e,t,n){var r,i,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};o=function(){"use strict";function e(e){return e.hasOwnProperty("lazy")&&e.lazy}var t="async_computed$lazy_active$",n="async_computed$lazy_data$";function r(e,r){e[t+r]=!1,e[n+r]=null}function i(e){return{get:function(){return this[t+e]=!0,this[n+e]},set:function(t){this[n+e]=t}}}function o(e,t,r){e[n+t]=r}var a={install:function(t,n){n=n||{},t.config.optionMergeStrategies.asyncComputed=t.config.optionMergeStrategies.computed,t.mixin({beforeCreate:function(){var t=this.$options.data;for(var n in this.$options.computed||(this.$options.computed={}),this.$options.asyncComputed||{})this.$options.computed["_async_computed$"+n]=s(n,this.$options.asyncComputed[n]);this.$options.data=function(){var n=("function"==typeof t?t.call(this):t)||{};for(var o in this.$options.asyncComputed||{}){e(this.$options.asyncComputed[o])?(r(n,o),this.$options.computed[o]=i(o)):n[o]=null}return n}},created:function(){var t=this;for(var r in this.$options.asyncComputed||{}){var i=this.$options.asyncComputed[r],a=c.call(this,i,n);e(i)?o(this,r,a):this[r]=a}var s=function(e){var r=0;t.$watch("_async_computed$"+e,function(i){var o=++r;i&&i.then||(i=Promise.resolve(i)),i.then(function(n){o===r&&(t[e]=n)}).catch(function(e){if(o===r&&!1!==n.errorHandler){var t=void 0===n.errorHandler?console.error.bind(console,"Error evaluating async computed property:"):n.errorHandler;n.useRawError?t(e):t(e.stack)}})},{immediate:!0})};for(var u in this.$options.asyncComputed||{})s(u)}})}};function s(r,i){if("function"==typeof i)return i;var o=i.get;if(i.hasOwnProperty("watch")&&(o=function(){return i.watch.call(this),i.get.call(this)}),e(i)){var a=o;o=function(){return function(e,n){return e[t+n]}(this,r)?a.call(this):function(e,t){return e[n+t]}(this,r)}}return o}function c(e,t){var n=null;return"default"in e?n=e.default:"default"in t&&(n=t.default),"function"==typeof n?n.call(this):n}return"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),a},"object"===a(t)&&void 0!==e?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,u={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){v(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[c]=i,r(c),c++},p.clearImmediate=d}function d(e){delete u[e]}function v(e){if(l)setTimeout(v,0,e);else{var t=u[e];if(t){l=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}(t)}finally{d(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(7),n(11))},function(e,t,n){(function(e){var r=this,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(28),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(7))},function(e,t,n){"use strict";n.r(t),function(e,n){ /*! * Vue.js v2.5.16 * (c) 2014-2018 Evan You * Released under the MIT License. */ var r=Object.freeze({});function i(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function f(e){return"[object RegExp]"===u.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var m=h("slot,component",!0),y=h("key,ref,slot,slot-scope,is");function g(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(e,t){return _.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var $=/-(\w)/g,x=w(function(e){return e.replace($,function(e,t){return t?t.toUpperCase():""})}),C=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),k=/\B([A-Z])/g,A=w(function(e){return e.replace(k,"-$1").toLowerCase()});var O=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function T(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function S(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n<e.length;n++)e[n]&&S(t,e[n]);return t}function L(e,t,n){}var j=function(e,t,n){return!1},I=function(e){return e};function M(e,t){if(e===t)return!0;var n=c(e),r=c(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,n){return M(e,t[n])});if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return M(e[n],t[n])})}catch(e){return!1}}function N(e,t){for(var n=0;n<e.length;n++)if(M(e[n],t))return n;return-1}function P(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var D="data-server-rendered",F=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],U={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:j,isReservedAttr:j,isUnknownElement:j,getTagNamespace:L,parsePlatformTagName:I,mustUseProp:j,_lifecycleHooks:R};function B(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var H=/[^\w.$]/;var z,V="__proto__"in{},K="undefined"!=typeof window,J="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=J&&WXEnvironment.platform.toLowerCase(),q=K&&window.navigator.userAgent.toLowerCase(),G=q&&/msie|trident/.test(q),X=q&&q.indexOf("msie 9.0")>0,Z=q&&q.indexOf("edge/")>0,Y=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===W),Q=(q&&/chrome\/\d+/.test(q),{}.watch),ee=!1;if(K)try{var te={};Object.defineProperty(te,"passive",{get:function(){ee=!0}}),window.addEventListener("test-passive",null,te)}catch(e){}var ne=function(){return void 0===z&&(z=!K&&!J&&void 0!==e&&"server"===e.process.env.VUE_ENV),z},re=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var oe,ae="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);oe="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var se=L,ce=0,ue=function(){this.id=ce++,this.subs=[]};ue.prototype.addSub=function(e){this.subs.push(e)},ue.prototype.removeSub=function(e){g(this.subs,e)},ue.prototype.depend=function(){ue.target&&ue.target.addDep(this)},ue.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},ue.target=null;var le=[];function fe(e){ue.target&&le.push(ue.target),ue.target=e}function pe(){ue.target=le.pop()}var de=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ve={child:{configurable:!0}};ve.child.get=function(){return this.componentInstance},Object.defineProperties(de.prototype,ve);var he=function(e){void 0===e&&(e="");var t=new de;return t.text=e,t.isComment=!0,t};function me(e){return new de(void 0,void 0,void 0,String(e))}function ye(e){var t=new de(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.isCloned=!0,t}var ge=Array.prototype,_e=Object.create(ge);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=ge[e];B(_e,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var be=Object.getOwnPropertyNames(_e),we=!0;function $e(e){we=e}var xe=function(e){(this.value=e,this.dep=new ue,this.vmCount=0,B(e,"__ob__",this),Array.isArray(e))?((V?Ce:ke)(e,_e,be),this.observeArray(e)):this.walk(e)};function Ce(e,t,n){e.__proto__=t}function ke(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];B(e,o,t[o])}}function Ae(e,t){var n;if(c(e)&&!(e instanceof de))return b(e,"__ob__")&&e.__ob__ instanceof xe?n=e.__ob__:we&&!ne()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new xe(e)),t&&n&&n.vmCount++,n}function Oe(e,t,n,r,i){var o=new ue,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=e[t]);var c=a&&a.set,u=!i&&Ae(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ue.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||(c?c.call(e,t):n=t,u=!i&&Ae(t),o.notify())}})}}function Te(e,t,n){if(Array.isArray(e)&&p(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Oe(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Se(e,t){if(Array.isArray(e)&&p(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||b(e,t)&&(delete e[t],n&&n.dep.notify())}}xe.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Oe(e,t[n])},xe.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ae(e[t])};var Ee=U.optionMergeStrategies;function Le(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)r=e[n=o[a]],i=t[n],b(e,n)?l(r)&&l(i)&&Le(r,i):Te(e,n,i);return e}function je(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,i="function"==typeof e?e.call(n,n):e;return r?Le(r,i):i}:t?e?function(){return Le("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ie(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Me(e,t,n,r){var i=Object.create(e||null);return t?S(i,t):i}Ee.data=function(e,t,n){return n?je(e,t,n):t&&"function"!=typeof t?e:je(e,t)},R.forEach(function(e){Ee[e]=Ie}),F.forEach(function(e){Ee[e+"s"]=Me}),Ee.watch=function(e,t,n,r){if(e===Q&&(e=void 0),t===Q&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in S(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return S(i,e),t&&S(i,t),i},Ee.provide=je;var Ne=function(e,t){return void 0===t?e:t};function Pe(e,t,n){"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[x(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[x(a)]=l(i)?i:{type:i};e.props=o}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?S({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t);var r=t.extends;if(r&&(e=Pe(e,r,n)),t.mixins)for(var i=0,o=t.mixins.length;i<o;i++)e=Pe(e,t.mixins[i],n);var a,s={};for(a in e)c(a);for(a in t)b(e,a)||c(a);function c(r){var i=Ee[r]||Ne;s[r]=i(e[r],t[r],n,r)}return s}function De(e,t,n,r){if("string"==typeof n){var i=e[t];if(b(i,n))return i[n];var o=x(n);if(b(i,o))return i[o];var a=C(o);return b(i,a)?i[a]:i[n]||i[o]||i[a]}}function Fe(e,t,n,r){var i=t[e],o=!b(n,e),a=n[e],s=Be(Boolean,i.type);if(s>-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===A(e)){var c=Be(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!b(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Re(t.type)?r.call(e):r}(r,i,e);var u=we;$e(!0),Ae(a),$e(u)}return a}function Re(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Ue(e,t){return Re(e)===Re(t)}function Be(e,t){if(!Array.isArray(t))return Ue(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Ue(t[n],e))return n;return-1}function He(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){ze(e,r,"errorCaptured hook")}}ze(e,t,n)}function ze(e,t,n){if(U.errorHandler)try{return U.errorHandler.call(null,e,t,n)}catch(e){Ve(e,null,"config.errorHandler")}Ve(e,t,n)}function Ve(e,t,n){if(!K&&!J||"undefined"==typeof console)throw e;console.error(e)}var Ke,Je,We=[],qe=!1;function Ge(){qe=!1;var e=We.slice(0);We.length=0;for(var t=0;t<e.length;t++)e[t]()}var Xe=!1;if(void 0!==n&&ie(n))Je=function(){n(Ge)};else if("undefined"==typeof MessageChannel||!ie(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Je=function(){setTimeout(Ge,0)};else{var Ze=new MessageChannel,Ye=Ze.port2;Ze.port1.onmessage=Ge,Je=function(){Ye.postMessage(1)}}if("undefined"!=typeof Promise&&ie(Promise)){var Qe=Promise.resolve();Ke=function(){Qe.then(Ge),Y&&setTimeout(L)}}else Ke=Je;function et(e,t){var n;if(We.push(function(){if(e)try{e.call(t)}catch(e){He(e,t,"nextTick")}else n&&n(t)}),qe||(qe=!0,Xe?Je():Ke()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var tt=new oe;function nt(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!c(t)||Object.isFrozen(t)||t instanceof de)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,tt),tt.clear()}var rt,it=w(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function ot(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,e)}return t.fns=e,t}function at(e,t,n,r,o){var a,s,c,u;for(a in e)s=e[a],c=t[a],u=it(a),i(s)||(i(c)?(i(s.fns)&&(s=e[a]=ot(s)),n(u.name,s,u.once,u.capture,u.passive,u.params)):s!==c&&(c.fns=s,e[a]=c));for(a in t)i(e[a])&&r((u=it(a)).name,t[a],u.capture)}function st(e,t,n){var r;e instanceof de&&(e=e.data.hook||(e.data.hook={}));var s=e[t];function c(){n.apply(this,arguments),g(r.fns,c)}i(s)?r=ot([c]):o(s.fns)&&a(s.merged)?(r=s).fns.push(c):r=ot([s,c]),r.merged=!0,e[t]=r}function ct(e,t,n,r,i){if(o(t)){if(b(t,n))return e[n]=t[n],i||delete t[n],!0;if(b(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function ut(e){return s(e)?[me(e)]:Array.isArray(e)?function e(t,n){var r=[];var c,u,l,f;for(c=0;c<t.length;c++)i(u=t[c])||"boolean"==typeof u||(l=r.length-1,f=r[l],Array.isArray(u)?u.length>0&&(lt((u=e(u,(n||"")+"_"+c))[0])&&lt(f)&&(r[l]=me(f.text+u[0].text),u.shift()),r.push.apply(r,u)):s(u)?lt(f)?r[l]=me(f.text+u):""!==u&&r.push(me(u)):lt(u)&&lt(f)?r[l]=me(f.text+u.text):(a(t._isVList)&&o(u.tag)&&i(u.key)&&o(n)&&(u.key="__vlist"+n+"_"+c+"__"),r.push(u)));return r}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function ft(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e)?t.extend(e):e}function pt(e){return e.isComment&&e.asyncFactory}function dt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||pt(n)))return n}}function vt(e,t,n){n?rt.$once(e,t):rt.$on(e,t)}function ht(e,t){rt.$off(e,t)}function mt(e,t,n){rt=e,at(t,n||{},vt,ht),rt=void 0}function yt(e,t){var n={};if(!e)return n;for(var r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(gt)&&delete n[u];return n}function gt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function _t(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?_t(e[n],t):t[e[n].key]=e[n].fn;return t}var bt=null;function wt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function $t(e,t){if(t){if(e._directInactive=!1,wt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)$t(e.$children[n]);xt(e,"activated")}}function xt(e,t){fe();var n=e.$options[t];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(e)}catch(n){He(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t),pe()}var Ct=[],kt=[],At={},Ot=!1,Tt=!1,St=0;function Et(){var e,t;for(Tt=!0,Ct.sort(function(e,t){return e.id-t.id}),St=0;St<Ct.length;St++)t=(e=Ct[St]).id,At[t]=null,e.run();var n=kt.slice(),r=Ct.slice();St=Ct.length=kt.length=0,At={},Ot=Tt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,$t(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&xt(r,"updated")}}(r),re&&U.devtools&&re.emit("flush")}var Lt=0,jt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Lt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new oe,this.newDepIds=new oe,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};jt.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;He(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&nt(e),pe(),this.cleanupDeps()}return e},jt.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},jt.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},jt.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==At[t]){if(At[t]=!0,Tt){for(var n=Ct.length-1;n>St&&Ct[n].id>e.id;)n--;Ct.splice(n+1,0,e)}else Ct.push(e);Ot||(Ot=!0,et(Et))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){He(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var It={enumerable:!0,configurable:!0,get:L,set:L};function Mt(e,t,n){It.get=function(){return this[t][n]},It.set=function(e){this[t][n]=e},Object.defineProperty(e,n,It)}function Nt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Fe(o,t,n,e);Oe(r,o,a),o in e||Mt(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?L:O(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Mt(e,"_data",o))}var a;Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ne();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new jt(e,a||L,L,Pt)),i in e||Dt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Q&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Rt(e,n,r[i]);else Rt(e,n,r)}}(e,t.watch)}var Pt={lazy:!0};function Dt(e,t,n){var r=!ne();"function"==typeof n?(It.get=r?Ft(t):n,It.set=L):(It.get=n.get?r&&!1!==n.cache?Ft(t):n.get:L,It.set=n.set?n.set:L),Object.defineProperty(e,t,It)}function Ft(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ue.target&&t.depend(),t.value}}function Rt(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Ut(e,t){if(e){for(var n=Object.create(null),r=ae?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),i=0;i<r.length;i++){for(var o=r[i],a=e[o].from,s=t;s;){if(s.