/*!
* vue-router v3.0.2 * (c) 2018 Evan You * @license MIT */
!function(t,e){“object”==typeof exports&&“undefined”!=typeof module?module.exports=e():“function”==typeof define&&define.amd?define(e):t.VueRouter=e()}(this,function(){“use strict”;function l(t){return-1<Object.prototype.toString.call(t).indexOf(“Error”)}function k(t,e){for(var r in e)t=e;return t}var i={name:“RouterView”,functional:!0,props:{name:{type:String,default:“default”}},render:function(t,e){var r=e.props,n=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,u=r.name,c=o.$route,s=o._routerViewCache||(o._routerViewCache={}),p=0,f=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&p++,o._inactive&&(f=!0),o=o.$parent;if(i.routerViewDepth=p,f)return a(s,i,n);var h=c.matched;if(!h)return s=null,a();var l=s=h.components;i.registerRouteInstance=function(t,e){var r=h.instances;(e&&r!==t||!e&&r===t)&&(h.instances=e)},(i.hook||(i.hook={})).prepatch=function(t,e){h.instances=e.componentInstance};var d=i.props=function(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}}(c,h.props&&h.props);if(d){d=i.props=k({},d);var y=i.attrs=i.attrs||{};for(var v in d)l.props&&v in l.props||(y=d,delete d)}return a(l,i,n)}};var e=//g,r=function(t){return“%”+t.charCodeAt(0).toString(16)},n=/%2C/g,o=function(t){return encodeURIComponent(t).replace(e,r).replace(n,“,”)},a=decodeURIComponent;function h(t){var o={};return(t=t.trim().replace(/^(?|#|&)/,“”))&&t.split(“&”).forEach(function(t){var e=t.replace(/+/g,“ ”).split(“=”),r=a(e.shift()),n=0<e.length?a(e.join(“=”)):null;void 0===o?o=n:Array.isArray(o)?o.push(n):o=[o,n]}),o}function u(n){var t=n?Object.keys(n).map(function(e){var t=n;if(void 0===t)return“”;if(null===t)return o(e);if(Array.isArray(t)){var r=[];return t.forEach(function(t){void 0!==t&&(null===t?r.push(o(e)):r.push(o(e)+“=”+o(t)))}),r.join(“&”)}return o(e)+“=”+o(t)}).filter(function(t){return 0<t.length}).join(“&”):null;return t?“?”+t:“”}var R=//?$/;function E(t,e,r,n){var o=n&&n.options.stringifyQuery,i=e.query||{};try{i=c(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:p(e,o),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return r&&(a.redirectedFrom=p(r,o)),Object.freeze(a)}function c(t){if(Array.isArray(t))return t.map©;if(t&&“object”==typeof t){var e={};for(var r in t)e=c(t);return e}return t}var s=E(null,{path:“/”});function p(t,e){var r=t.path,n=t.query;void 0===n&&(n={});var o=t.hash;return void 0===o&&(o=“”),(r||“/”)+(e||u)(n)+o}function O(t,e){return e===s?t===e:!!e&&(t.path&&e.path?t.path.replace(R,“”)===e.path.replace(R,“”)&&t.hash===e.hash&&f(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&f(t.query,e.query)&&f(t.params,e.params)))}function f(n,o){if(void 0===n&&(n={}),void 0===o&&(o={}),!n||!o)return n===o;var t=Object.keys(n),e=Object.keys(o);return t.length===e.length&&t.every(function(t){var e=n,r=o;return“object”==typeof e&&“object”==typeof r?f(e,r):String(e)===String®})}var d,t=,y=,v={name:“RouterLink”,props:{to:{type:t,required:!0},tag:{type:String,default:“a”},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:y,default:“click”}},render:function(t){var e,r,n=this,o=this.$router,i=this.$route,a=o.resolve(this.to,i,this.append),u=a.location,c=a.route,s=a.href,p={},f=o.options.linkActiveClass,h=o.options.linkExactActiveClass,l=null==f?“router-link-active”:f,d=null==h?“router-link-exact-active”:h,y=null==this.activeClass?l:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,m=u.path?E(null,u,null,o):c;p=O(i,m),p=this.exact?p:(r=m,0===(e=i).path.replace(R,“/”).indexOf(r.path.replace(R,“/”))&&(!r.hash||e.hash===r.hash)&&function(t,e){for(var r in e)if(!(r in t))return!1;return!0}(e.query,r.query));var g=function(t){C(t)&&(n.replace?o.replace(u):o.push(u))},b={click:C};Array.isArray(this.event)?this.event.forEach(function(t){b=g}):b=g;var w={class:p};if(“a”===this.tag)w.on=b,w.attrs={href:s};else{var x=function t(e){if(e)for(var r,n=0;n<e.length;n++){if(“a”===(r=e).tag)return r;if(r.children&&(r=t(r.children)))return r}}(this.$slots.default);if(x)x.isStatic=!1,(x.data=k({},x.data)).on=b,(x.data.attrs=k({},x.data.attrs)).href=s;else w.on=b}return t(this.tag,w,this.$slots.default)}};function C(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_blankb/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var m=“undefined”!=typeof window;function g(t,e,r){var n=t.charAt(0);if(“/”===n)return t;if(“?”===n||“#”===n)return e+t;var o=e.split(“/”);r&&o||o.pop();for(var i=t.replace(/^//,“”).split(“/”),a=0;a<i.length;a++){var u=i;“..”===u?o.pop():“.”!==u&&o.push(u)}return“”!==o&&o.unshift(“”),o.join(“/”)}function b(t){return t.replace(////g,“/”)}var w=Array.isArray||function(t){return“[object Array]”==Object.prototype.toString.call(t)},x=V,j=$,A=function(t,e){return q($(t,e))},_=q,T=M,S=new RegExp([“(\\.)”,“()?(?:(?:\:(\w+)(?:\(((?:\\.|[^\\()])+)\))?|\(((?:\\.|[^\\()])+)\))([+*?])?|(*))”].join(“|”),“g”);function $(t,e){for(var r,n,o=[],i=0,a=0,u=“”,c=e&&e.delimiter||“/”;null!=(r=S.exec(t));){var s=r,p=r,f=r.index;if(u+=t.slice(a,f),a=f+s.length,p)u+=p;else{var h=t,l=r,d=r,y=r,v=r,m=r,g=r;u&&(o.push(u),u=“”);var b=null!=l&&null!=h&&h!==l,w=“+”===m||“*”===m,x=“?”===m||“*”===m,k=r||c,R=y||v;o.push({name:d||i++,prefix:l||“”,delimiter:k,optional:x,repeat:w,partial:b,asterisk:!!g,pattern:R?(n=R,n.replace(/()/g,“\$1”)):g?“.*”:“+?”})}}return a<t.length&&(u+=t.substr(a)),u&&o.push(u),o}function L(t){return encodeURI(t).replace(//g,function(t){return“%”+t.charCodeAt(0).toString(16).toUpperCase()})}function q(p){for(var f=new Array(p.length),t=0;t<p.length;t++)“object”==typeof p&&(f=new RegExp(“^(?:”p[t].pattern
“)$”));return function(t,e){for(var r=“”,n=t||{},o=(e||{}).pretty?L:encodeURIComponent,i=0;i<p.length;i++){var a=p;if(“string”!=typeof a){var u,c=n;if(null==c){if(a.optional){a.partial&&(r+=a.prefix);continue}throw new TypeError('Expected “'a.name
'” to be defined')}if(w©){if(!a.repeat)throw new TypeError('Expected “'a.name
'” to not repeat, but received `'+JSON.stringify©+“`”);if(0===c.length){if(a.optional)continue;throw new TypeError('Expected “'a.name
'” to not be empty')}for(var s=0;s<c.length;s++){if(u=o(c),!f.test(u))throw new TypeError('Expected all “'a.name
'” to match “'a.pattern
'”, but received `'+JSON.stringify(u)+“`”);r+=(0===s?a.prefix:a.delimiter)+u}}else{if(u=a.asterisk?encodeURI©.replace(//g,function(t){return“%”+t.charCodeAt(0).toString(16).toUpperCase()}):o©,!f.test(u))throw new TypeError('Expected “'a.name
'” to match “'a.pattern
'”, but received “'u
'”');r+=a.prefix+u}}else r+=a}return r}}function P(t){return t.replace(/([.+*?=^!:${}()|/\])/g,“\$1”)}function U(t,e){return t.keys=e,t}function I(t){return t.sensitive?“”:“i”}function M(t,e,r){w(e)||(r=e||r,e=[]);for(var n=(r=r||{}).strict,o=!1!==r.end,i=“”,a=0;a<t.length;a++){var u=t;if(“string”==typeof u)i+=P(u);else{var c=P(u.prefix),s=“(?:”u.pattern
“)”;e.push(u),u.repeat&&(s+=“(?:”+c+s+“)*”),i+=s=u.optional?u.partial?c+“(”s
“)?”:“(?:”c
“(”s
“))?”:c+“(”s
“)”}}var p=P(r.delimiter||“/”),f=i.slice(-p.length)===p;return n||(i=(f?i.slice(0,-p.length):i)+“(?:”p
“(?=$))?”),i+=o?“$”:n&&f?“”:“(?=”p
“|$)”,U(new RegExp(“^”+i,I®),e)}function V(t,e,r){return w(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?function(t,e){var r=t.source.match(/((?!?)/g);if®for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return U(t,e)}(t,e):w(t)?function(t,e,r){for(var n=[],o=0;oo
“: ”+t;f||(f=l(t)?t:new Error(e),c(f))});try{e=r(i,a)}catch(t){a(t)}if(e)if(“function”==typeof e.then)e.then(i,a);else{var u=e.component;u&&“function”==typeof u.then&&u.then(i,a)}}}),s||c()}}function pt(t,r){return ft(t.map(function(e){return Object.keys(e.components).map(function(t){return r(e.components,e.instances,e,t)})}))}function ft(t){return Array.prototype.concat.apply([],t)}var ht=“function”==typeof Symbol&&“symbol”==typeof Symbol.toStringTag;function lt®{var n=!1;return function(){for(var t=[],e=arguments.length;e–;)t=arguments;if(!n)return n=!0,r.apply(this,t)}}var dt=function(t,e){this.router=t,this.base=function(t){if(!t)if(m){var e=document.querySelector(“base”);t=(t=e&&e.getAttribute(“href”)||“/”).replace(/^https?://+/,“”)}else t=“/”;“/”!==t.charAt(0)&&(t=“/”+t);return t.replace(//$/,“”)}(e),this.current=s,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=,this.errorCbs=[]};function yt(t,i,a,e){var r=pt(t,function(t,e,r,n){var o=function(t,e){“function”!=typeof t&&(t=d.extend(t));return t.options}(t,i);if(o)return Array.isArray(o)?o.map(function(t){return a(t,e,r,n)}):a(o,e,r,n)});return ft(e?r.reverse():r)}function vt(t,e){if(e)return function(){return t.apply(e,arguments)}}dt.prototype.listen=function(t){this.cb=t},dt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},dt.prototype.onError=function(t){this.errorCbs.push(t)},dt.prototype.transitionTo=function(t,e,r){var n=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){n.updateRoute(o),e&&e(o),n.ensureURL(),n.ready||(n.ready=!0,n.readyCbs.forEach(function(t){t(o)}))},function(e){r&&r(e),e&&!n.ready&&(n.ready=!0,n.readyErrorCbs.forEach(function(t){t(e)}))})},dt.prototype.confirmTransition=function(r,e,t){var n=this,o=this.current,i=function(e){l(e)&&(n.errorCbs.length?n.errorCbs.forEach(function(t){t(e)}):console.error(e)),t&&t(e)};if(O(r,o)&&r.matched.length===o.matched.length)return this.ensureURL(),i();var a=function(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r