12345678910111213141516171819202122 |
- (self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[6634],{1001:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:c}}n.d(e,{Z:function(){return r}})},52796:function(t,e,n){t.exports=n(10643)},13264:function(t){"use strict";var e=!("undefined"===typeof window||!window.document||!window.document.createElement),n={canUseDOM:e,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:e&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:e&&!!window.screen,isInWorker:!e};t.exports=n},84518:function(t){var e,n,r,o,i,a,s,u,c,f,h,p,l,d,v,y=!1;function m(){if(!y){y=!0;var t=navigator.userAgent,m=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),g=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(p=/\b(iPhone|iP[ao]d)/.exec(t),l=/\b(iP[ao]d)/.exec(t),f=/Android/i.exec(t),d=/FBAN\/\w+;/i.exec(t),v=/Mobile/i.exec(t),h=!!/Win64/.exec(t),m){e=m[1]?parseFloat(m[1]):m[5]?parseFloat(m[5]):NaN,e&&document&&document.documentMode&&(e=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);a=b?parseFloat(b[1])+4:e,n=m[2]?parseFloat(m[2]):NaN,r=m[3]?parseFloat(m[3]):NaN,o=m[4]?parseFloat(m[4]):NaN,o?(m=/(?:Chrome\/(\d+\.\d+))/.exec(t),i=m&&m[1]?parseFloat(m[1]):NaN):i=NaN}else e=n=r=i=o=NaN;if(g){if(g[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);s=!w||parseFloat(w[1].replace("_","."))}else s=!1;u=!!g[2],c=!!g[3]}else s=u=c=!1}}var g={ie:function(){return m()||e},ieCompatibilityMode:function(){return m()||a>e},ie64:function(){return g.ie()&&h},firefox:function(){return m()||n},opera:function(){return m()||r},webkit:function(){return m()||o},safari:function(){return g.webkit()},chrome:function(){return m()||i},windows:function(){return m()||u},osx:function(){return m()||s},linux:function(){return m()||c},iphone:function(){return m()||p},mobile:function(){return m()||p||l||f||v},nativeApp:function(){return m()||d},android:function(){return m()||f},ipad:function(){return m()||l}};t.exports=g},96534:function(t,e,n){"use strict";var r,o=n(13264);
- /**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
- function i(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"===typeof a[n]}return!i&&r&&"wheel"===t&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=i},10643:function(t,e,n){"use strict";var r=n(84518),o=n(96534),i=10,a=40,s=800;function u(t){var e=0,n=0,r=0,o=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*i,o=n*i,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||o)&&t.deltaMode&&(1==t.deltaMode?(r*=a,o*=a):(r*=s,o*=s)),r&&!e&&(e=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:o}}u.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},t.exports=u},91033:function(t,e,n){"use strict";n.r(e);var r=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),s=2;function u(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&c()}function u(){a(i)}function c(){var t=Date.now();if(n){if(t-o<s)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}var c=20,f=["top","right","bottom","left","width","height","size","weight"],h="undefined"!==typeof MutationObserver,p=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=u(this.refresh.bind(this),c)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,r=f.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||i},v=R(0,0,0,0);function y(t){return parseFloat(t)||0}function m(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){var r=t["border-"+n+"-width"];return e+y(r)}),0)}function g(t){for(var e=["top","right","bottom","left"],n={},r=0,o=e;r<o.length;r++){var i=o[r],a=t["padding-"+i];n[i]=y(a)}return n}function b(t){var e=t.getBBox();return R(0,0,e.width,e.height)}function w(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return v;var r=d(t).getComputedStyle(t),o=g(r),i=o.left+o.right,a=o.top+o.bottom,s=y(r.width),u=y(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=m(r,"left","right")+i),Math.round(u+a)!==n&&(u-=m(r,"top","bottom")+a)),!x(t)){var c=Math.round(s+i)-e,f=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(f)&&(u-=f)}return R(o.left,o.top,s,u)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"===typeof t.getBBox}}();function x(t){return t===d(t).document.documentElement}function E(t){return o?_(t)?b(t):w(t):v}function O(t){var e=t.x,n=t.y,r=t.width,o=t.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return l(a,{x:e,y:n,width:r,height:o,top:n,right:e+r,bottom:o+n,left:e}),a}function R(t,e,n,r){return{x:t,y:e,width:n,height:r}}var k=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=R(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=E(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),A=function(){function t(t,e){var n=O(e);l(this,{target:t,contentRect:n})}return t}(),C=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new k(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new A(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),T="undefined"!==typeof WeakMap?new WeakMap:new r,S=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new C(e,n,this);T.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach((function(t){S.prototype[t]=function(){var e;return(e=T.get(this))[t].apply(e,arguments)}}));var M=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:S}();e["default"]=M},42823:function(t,e,n){var r=n(68563);t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},44592:function(t,e,n){var r=n(68563),o=n(42823);t.exports={throttle:r,debounce:o}},68563:function(t){t.exports=function(t,e,n,r){var o,i=0;function a(){var a=this,s=Number(new Date)-i,u=arguments;function c(){i=Number(new Date),n.apply(a,u)}function f(){o=void 0}r&&!o&&c(),o&&clearTimeout(o),void 0===r&&s>t?c():!0!==e&&(o=setTimeout(r?f:c,void 0===r?t-s:t))}return"boolean"!==typeof e&&(r=n,n=e,e=void 0),a}},78345:function(t,e){"use strict";
- /*!
- * vue-router v3.5.3
- * (c) 2021 Evan You
- * @license MIT
- */function n(t,e){for(var n in e)t[n]=e[n];return t}var r=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},i=/%2C/g,a=function(t){return encodeURIComponent(t).replace(r,o).replace(i,",")};function s(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||f;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(c):c(a)}return r}var c=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=s(n.shift()),o=n.length>0?s(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 h(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return a(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(a(e)):r.push(a(e)+"="+a(t)))})),r.join("&")}return a(e)+"="+a(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var p=/\/?$/;function l(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=d(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:m(e,o),matched:t?y(t):[]};return n&&(a.redirectedFrom=m(n,o)),Object.freeze(a)}function d(t){if(Array.isArray(t))return t.map(d);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=d(t[n]);return e}return t}var v=l(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function m(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||h;return(n||"/")+i(r)+o}function g(t,e,n){return e===v?t===e:!!e&&(t.path&&e.path?t.path.replace(p,"")===e.path.replace(p,"")&&(n||t.hash===e.hash&&b(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params))))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?b(i,s):String(i)===String(s)}))}function w(t,e){return 0===t.path.replace(p,"/").indexOf(e.path.replace(p,"/"))&&(!e.hash||t.hash===e.hash)&&_(t.query,e.query)}function _(t,e){for(var n in e)if(!(n in t))return!1;return!0}function x(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var o=n.instances[r],i=n.enteredCbs[r];if(o&&i){delete n.enteredCbs[r];for(var a=0;a<i.length;a++)o._isBeingDestroyed||i[a](o)}}}}var E={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var r=e.props,o=e.children,i=e.parent,a=e.data;a.routerView=!0;var s=i.$createElement,u=r.name,c=i.$route,f=i._routerViewCache||(i._routerViewCache={}),h=0,p=!1;while(i&&i._routerRoot!==i){var l=i.$vnode?i.$vnode.data:{};l.routerView&&h++,l.keepAlive&&i._directInactive&&i._inactive&&(p=!0),i=i.$parent}if(a.routerViewDepth=h,p){var d=f[u],v=d&&d.component;return v?(d.configProps&&O(v,a,d.route,d.configProps),s(v,a,o)):s()}var y=c.matched[h],m=y&&y.components[u];if(!y||!m)return f[u]=null,s();f[u]={component:m},a.registerRouteInstance=function(t,e){var n=y.instances[u];(e&&n!==t||!e&&n===t)&&(y.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){y.instances[u]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==y.instances[u]&&(y.instances[u]=t.componentInstance),x(c)};var g=y.props&&y.props[u];return g&&(n(f[u],{route:c,configProps:g}),O(m,a,c,g)),s(m,a,o)}};function O(t,e,r,o){var i=e.props=R(r,o);if(i){i=e.props=n({},i);var a=e.attrs=e.attrs||{};for(var s in i)t.props&&s in t.props||(a[s]=i[s],delete i[s])}}function R(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;default:0}}function k(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 s=i[a];".."===s?o.pop():"."!==s&&o.push(s)}return""!==o[0]&&o.unshift(""),o.join("/")}function A(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 C(t){return t.replace(/\/+/g,"/")}var T=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},S=G,M=N,j=q,L=U,P=Y,$=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=$.exec(t))){var u=n[0],c=n[1],f=n.index;if(a+=t.slice(i,f),i=f+u.length,c)a+=c[1];else{var h=t[i],p=n[2],l=n[3],d=n[4],v=n[5],y=n[6],m=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=h&&h!==p,b="+"===y||"*"===y,w="?"===y||"*"===y,_=n[2]||s,x=d||v;r.push({name:l||o++,prefix:p||"",delimiter:_,optional:w,repeat:b,partial:g,asterisk:!!m,pattern:x?V(x):m?".*":"[^"+I(_)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function q(t,e){return U(N(t,e),e)}function D(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function F(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function U(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"===typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",z(e)));return function(e,r){for(var o="",i=e||{},a=r||{},s=a.pretty?D:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!==typeof c){var f,h=i[c.name];if(null==h){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(T(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<h.length;p++){if(f=s(h[p]),!n[u].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?F(h):s(h),!n[u].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');o+=c.prefix+f}}else o+=c}return o}}function I(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function V(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function B(t,e){return t.keys=e,t}function z(t){return t&&t.sensitive?"":"i"}function H(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return B(t,e)}function W(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(G(t[o],e,n).source);var i=new RegExp("(?:"+r.join("|")+")",z(n));return B(i,e)}function X(t,e,n){return Y(N(t,n),e,n)}function Y(t,e,n){T(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,o=!1!==n.end,i="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)i+=I(s);else{var u=I(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+u+c+")*"),c=s.optional?s.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")",i+=c}}var f=I(n.delimiter||"/"),h=i.slice(-f.length)===f;return r||(i=(h?i.slice(0,-f.length):i)+"(?:"+f+"(?=$))?"),i+=o?"$":r&&h?"":"(?="+f+"|$)",B(new RegExp("^"+i,z(n)),e)}function G(t,e,n){return T(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?H(t,e):T(t)?W(t,e,n):X(t,e,n)}S.parse=M,S.compile=j,S.tokensToFunction=L,S.tokensToRegExp=P;var K=Object.create(null);function J(t,e,n){e=e||{};try{var r=K[t]||(K[t]=S.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(o){return""}finally{delete e[0]}}function Z(t,e,r,o){var i="string"===typeof t?{path:t}:t;if(i._normalized)return i;if(i.name){i=n({},t);var a=i.params;return a&&"object"===typeof a&&(i.params=n({},a)),i}if(!i.path&&i.params&&e){i=n({},i),i._normalized=!0;var s=n(n({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;i.path=J(c,s,"path "+e.path)}else 0;return i}var f=A(i.path||""),h=e&&e.path||"/",p=f.path?k(f.path,h,r||i.append):h,l=u(f.query,i.query,o&&o.options.parseQuery),d=i.hash||f.hash;return d&&"#"!==d.charAt(0)&&(d="#"+d),{_normalized:!0,path:p,query:l,hash:d}}var Q,tt=[String,Object],et=[String,Array],nt=function(){},rt={name:"RouterLink",props:{to:{type:tt,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:et,default:"click"}},render:function(t){var e=this,r=this.$router,o=this.$route,i=r.resolve(this.to,o,this.append),a=i.location,s=i.route,u=i.href,c={},f=r.options.linkActiveClass,h=r.options.linkExactActiveClass,p=null==f?"router-link-active":f,d=null==h?"router-link-exact-active":h,v=null==this.activeClass?p:this.activeClass,y=null==this.exactActiveClass?d:this.exactActiveClass,m=s.redirectedFrom?l(null,Z(s.redirectedFrom),null,r):s;c[y]=g(o,m,this.exactPath),c[v]=this.exact||this.exactPath?c[y]:w(o,m);var b=c[y]?this.ariaCurrentValue:null,_=function(t){ot(t)&&(e.replace?r.replace(a,nt):r.push(a,nt))},x={click:ot};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var E={class:c},O=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:s,navigate:_,isActive:c[v],isExactActive:c[y]});if(O){if(1===O.length)return O[0];if(O.length>1||!O.length)return 0===O.length?t():t("span",{},O)}if("a"===this.tag)E.on=x,E.attrs={href:u,"aria-current":b};else{var R=it(this.$slots.default);if(R){R.isStatic=!1;var k=R.data=n({},R.data);for(var A in k.on=k.on||{},k.on){var C=k.on[A];A in x&&(k.on[A]=Array.isArray(C)?C:[C])}for(var T in x)T in k.on?k.on[T].push(x[T]):k.on[T]=_;var S=R.data.attrs=n({},R.data.attrs);S.href=u,S["aria-current"]=b}else E.on=x}return t(this.tag,E,this.$slots.default)}};function ot(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 it(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=it(e.children)))return e}}function at(t){if(!at.installed||Q!==t){at.installed=!0,Q=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("RouterView",E),t.component("RouterLink",rt);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var st="undefined"!==typeof window;function ut(t,e,n,r,o){var i=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){ct(i,a,s,t,o)}));for(var u=0,c=i.length;u<c;u++)"*"===i[u]&&(i.push(i.splice(u,1)[0]),c--,u--);return{pathList:i,pathMap:a,nameMap:s}}function ct(t,e,n,r,o,i){var a=r.path,s=r.name;var u=r.pathToRegexpOptions||{},c=ht(a,o,u.strict);"boolean"===typeof r.caseSensitive&&(u.sensitive=r.caseSensitive);var f={path:c,regex:ft(c,u),components:r.components||{default:r.component},alias:r.alias?"string"===typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:s,parent:o,matchAs:i,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var o=i?C(i+"/"+r.path):void 0;ct(t,e,n,r,f,o)})),e[f.path]||(t.push(f.path),e[f.path]=f),void 0!==r.alias)for(var h=Array.isArray(r.alias)?r.alias:[r.alias],p=0;p<h.length;++p){var l=h[p];0;var d={path:l,children:r.children};ct(t,e,n,d,o,f.path||"/")}s&&(n[s]||(n[s]=f))}function ft(t,e){var n=S(t,[],e);return n}function ht(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:C(e.path+"/"+t)}function pt(t,e){var n=ut(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t){ut(t,r,o,i)}function s(t,e){var n="object"!==typeof t?i[t]:void 0;ut([e||t],r,o,i,n),n&&n.alias.length&&ut(n.alias.map((function(t){return{path:t,children:[e]}})),r,o,i,n)}function u(){return r.map((function(t){return o[t]}))}function c(t,n,a){var s=Z(t,n,!1,e),u=s.name;if(u){var c=i[u];if(!c)return p(null,s);var f=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in s.params)&&f.indexOf(h)>-1&&(s.params[h]=n.params[h]);return s.path=J(c.path,s.params,'named route "'+u+'"'),p(c,s,a)}if(s.path){s.params={};for(var l=0;l<r.length;l++){var d=r[l],v=o[d];if(lt(v.regex,s.path,s.params))return p(v,s,a)}}return p(null,s)}function f(t,n){var r=t.redirect,o="function"===typeof r?r(l(t,n,null,e)):r;if("string"===typeof o&&(o={path:o}),!o||"object"!==typeof o)return p(null,n);var a=o,s=a.name,u=a.path,f=n.query,h=n.hash,d=n.params;if(f=a.hasOwnProperty("query")?a.query:f,h=a.hasOwnProperty("hash")?a.hash:h,d=a.hasOwnProperty("params")?a.params:d,s){i[s];return c({_normalized:!0,name:s,query:f,hash:h,params:d},void 0,n)}if(u){var v=dt(u,t),y=J(v,d,'redirect route with path "'+v+'"');return c({_normalized:!0,path:y,query:f,hash:h},void 0,n)}return p(null,n)}function h(t,e,n){var r=J(n,e.params,'aliased route with path "'+n+'"'),o=c({_normalized:!0,path:r});if(o){var i=o.matched,a=i[i.length-1];return e.params=o.params,p(a,e)}return p(null,e)}function p(t,n,r){return t&&t.redirect?f(t,r||n):t&&t.matchAs?h(t,n,t.matchAs):l(t,n,r,e)}return{match:c,addRoute:s,getRoutes:u,addRoutes:a}}function lt(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var o=1,i=r.length;o<i;++o){var a=t.keys[o-1];a&&(n[a.name||"pathMatch"]="string"===typeof r[o]?s(r[o]):r[o])}return!0}function dt(t,e){return k(t,e.parent?e.parent.path:"/",!0)}var vt=st&&window.performance&&window.performance.now?window.performance:Date;function yt(){return vt.now().toFixed(3)}var mt=yt();function gt(){return mt}function bt(t){return mt=t}var wt=Object.create(null);function _t(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=n({},window.history.state);return r.key=gt(),window.history.replaceState(r,"",e),window.addEventListener("popstate",Ot),function(){window.removeEventListener("popstate",Ot)}}function xt(t,e,n,r){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick((function(){var i=Rt(),a=o.call(t,e,n,r?i:null);a&&("function"===typeof a.then?a.then((function(t){jt(t,i)})).catch((function(t){0})):jt(a,i))}))}}function Et(){var t=gt();t&&(wt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Ot(t){Et(),t.state&&t.state.key&&bt(t.state.key)}function Rt(){var t=gt();if(t)return wt[t]}function kt(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),o=t.getBoundingClientRect();return{x:o.left-r.left-e.x,y:o.top-r.top-e.y}}function At(t){return St(t.x)||St(t.y)}function Ct(t){return{x:St(t.x)?t.x:window.pageXOffset,y:St(t.y)?t.y:window.pageYOffset}}function Tt(t){return{x:St(t.x)?t.x:0,y:St(t.y)?t.y:0}}function St(t){return"number"===typeof t}var Mt=/^#\d/;function jt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var r=Mt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(r){var o=t.offset&&"object"===typeof t.offset?t.offset:{};o=Tt(o),e=kt(r,o)}else At(t)&&(e=Ct(t))}else n&&At(t)&&(e=Ct(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Lt=st&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Pt(t,e){Et();var r=window.history;try{if(e){var o=n({},r.state);o.key=gt(),r.replaceState(o,"",t)}else r.pushState({key:bt(yt())},"",t)}catch(i){window.location[e?"replace":"assign"](t)}}function $t(t){Pt(t,!0)}function Nt(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}var qt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Dt(t,e){return Vt(t,e,qt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+zt(e)+'" via a navigation guard.')}function Ft(t,e){var n=Vt(t,e,qt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ut(t,e){return Vt(t,e,qt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function It(t,e){return Vt(t,e,qt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Vt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var Bt=["params","query","hash"];function zt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Bt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function Ht(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Wt(t,e){return Ht(t)&&t._isRouter&&(null==e||t.type===e)}function Xt(t){return function(e,n,r){var o=!1,i=0,a=null;Yt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var u,c=Zt((function(e){Jt(e)&&(e=e.default),t.resolved="function"===typeof e?e:Q.extend(e),n.components[s]=e,i--,i<=0&&r()})),f=Zt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Ht(t)?t:new Error(e),r(a))}));try{u=t(c,f)}catch(p){f(p)}if(u)if("function"===typeof u.then)u.then(c,f);else{var h=u.component;h&&"function"===typeof h.then&&h.then(c,f)}}})),o||r()}}function Yt(t,e){return Gt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Gt(t){return Array.prototype.concat.apply([],t)}var Kt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Jt(t){return t.__esModule||Kt&&"Module"===t[Symbol.toStringTag]}function Zt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Qt=function(t,e){this.router=t,this.base=te(e),this.current=v,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function te(t){if(!t)if(st){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ee(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function ne(t,e,n,r){var o=Yt(t,(function(t,r,o,i){var a=re(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,o,i)})):n(a,r,o,i)}));return Gt(r?o.reverse():o)}function re(t,e){return"function"!==typeof t&&(t=Q.extend(t)),t.options[e]}function oe(t){return ne(t,"beforeRouteLeave",ae,!0)}function ie(t){return ne(t,"beforeRouteUpdate",ae)}function ae(t,e){if(e)return function(){return t.apply(e,arguments)}}function se(t){return ne(t,"beforeRouteEnter",(function(t,e,n,r){return ue(t,n,r)}))}function ue(t,e,n){return function(r,o,i){return t(r,o,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),i(t)}))}}Qt.prototype.listen=function(t){this.cb=t},Qt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Qt.prototype.onError=function(t){this.errorCbs.push(t)},Qt.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var i=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,i)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&(Wt(t,qt.redirected)&&i===v||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},Qt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var i=function(t){!Wt(t)&&Ht(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},a=t.matched.length-1,s=o.matched.length-1;if(g(t,o)&&a===s&&t.matched[a]===o.matched[s])return this.ensureURL(),t.hash&&xt(this.router,o,t,!1),i(Ft(o,t));var u=ee(this.current.matched,t.matched),c=u.updated,f=u.deactivated,h=u.activated,p=[].concat(oe(f),this.router.beforeHooks,ie(c),h.map((function(t){return t.beforeEnter})),Xt(h)),l=function(e,n){if(r.pending!==t)return i(Ut(o,t));try{e(t,o,(function(e){!1===e?(r.ensureURL(!0),i(It(o,t))):Ht(e)?(r.ensureURL(!0),i(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(i(Dt(o,t)),"object"===typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(a){i(a)}};Nt(p,l,(function(){var n=se(h),a=n.concat(r.router.resolveHooks);Nt(a,l,(function(){if(r.pending!==t)return i(Ut(o,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){x(t)}))}))}))},Qt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Qt.prototype.setupListeners=function(){},Qt.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=v,this.pending=null};var ce=function(t){function e(e,n){t.call(this,e,n),this._startLocation=fe(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Lt&&n;r&&this.listeners.push(_t());var o=function(){var n=t.current,o=fe(t.base);t.current===v&&o===t._startLocation||t.transitionTo(o,(function(t){r&&xt(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Pt(C(r.base+t.fullPath)),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){$t(C(r.base+t.fullPath)),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?Pt(e):$t(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(Qt);function fe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(C(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var he=function(t){function e(e,n,r){t.call(this,e,n),r&&pe(this.base)||le()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Lt&&n;r&&this.listeners.push(_t());var o=function(){var e=t.current;le()&&t.transitionTo(de(),(function(n){r&&xt(t.router,n,e,!0),Lt||me(n.fullPath)}))},i=Lt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){me(t.fullPath),xt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;de()!==e&&(t?ye(e):me(e))},e.prototype.getCurrentLocation=function(){return de()},e}(Qt);function pe(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}function le(){var t=de();return"/"===t.charAt(0)||(me("/"+t),!1)}function de(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ve(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ye(t){Lt?Pt(ve(t)):window.location.hash=t}function me(t){Lt?$t(ve(t)):window.location.replace(ve(t))}var ge=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Wt(t,qt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Qt),be=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=pt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Lt&&!1!==t.fallback,this.fallback&&(e="hash"),st||(e="abstract"),this.mode=e,e){case"history":this.history=new ce(this,t.base);break;case"hash":this.history=new he(this,t.base,this.fallback);break;case"abstract":this.history=new ge(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};function _e(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function xe(t,e,n){var r="hash"===n?"#"+e:e;return t?C(t+"/"+r):r}be.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},be.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof ce||n instanceof he){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Lt&&o;i&&"fullPath"in t&&xt(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},be.prototype.beforeEach=function(t){return _e(this.beforeHooks,t)},be.prototype.beforeResolve=function(t){return _e(this.resolveHooks,t)},be.prototype.afterEach=function(t){return _e(this.afterHooks,t)},be.prototype.onReady=function(t,e){this.history.onReady(t,e)},be.prototype.onError=function(t){this.history.onError(t)},be.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},be.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},be.prototype.go=function(t){this.history.go(t)},be.prototype.back=function(){this.go(-1)},be.prototype.forward=function(){this.go(1)},be.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},be.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=Z(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=xe(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},be.prototype.getRoutes=function(){return this.matcher.getRoutes()},be.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},be.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==v&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(be.prototype,we),be.install=at,be.version="3.5.3",be.isNavigationFailure=Wt,be.NavigationFailureType=qt,be.START_LOCATION=v,st&&window.Vue&&window.Vue.use(be),e["Z"]=be}}]);
- //# sourceMappingURL=chunk-vendors-89d5c698.11f94359.js.map
|