├── src ├── components │ └── .gitkeep ├── store │ └── index.js ├── App.vue ├── stylus │ └── main.styl ├── app.js ├── client-entry.js ├── router │ └── index.js ├── views │ ├── View1.vue │ ├── Main.vue │ └── View2.vue ├── index.html ├── server-entry.js └── css │ └── main.css ├── .gitignore ├── public ├── logo.png └── favicon.ico ├── dist ├── styles.b8f9d.css.map ├── index.html ├── manifest.00114.js ├── styles.b8f9d.css ├── server-bundle.js └── app.cf660.js ├── LICENSE ├── README.md ├── package.json └── app.js /src/components/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | *.log 4 | *.DS_Store 5 | log -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccforward/vue-ssr/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ccforward/vue-ssr/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /dist/styles.b8f9d.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":[],"names":[],"mappings":"","file":"styles.b8f9d.css","sourceRoot":""} -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | Vue.use(Vuex) 5 | 6 | export default new Vuex.Store({ 7 | state: {}, 8 | 9 | actions: {}, 10 | 11 | mutations: {} 12 | }) -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/stylus/main.styl: -------------------------------------------------------------------------------- 1 | /** Stylus Styles */ 2 | 3 | .main-content { 4 | text-align center 5 | img { 6 | width 200px 7 | } 8 | .main-title { 9 | color #42b983 10 | } 11 | .view1-title { 12 | color #f06 13 | } 14 | .view2-title { 15 | color #333 16 | } 17 | main a { 18 | margin 0 10px 19 | } 20 | } -------------------------------------------------------------------------------- /src/app.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App.vue' 3 | import store from './store/index' 4 | import router from './router/index' 5 | import { sync } from 'vuex-router-sync' 6 | 7 | sync(store, router) 8 | 9 | const app = new Vue(Vue.util.extend({ 10 | router, 11 | store 12 | }, App)) 13 | 14 | export { app, router, store } 15 | -------------------------------------------------------------------------------- /src/client-entry.js: -------------------------------------------------------------------------------- 1 | require('./css/main.css') 2 | require('./stylus/main.styl') 3 | require('es6-promise').polyfill() 4 | import { app, store } from './app' 5 | 6 | // prime the store with server-initialized state. 7 | // the state is determined during SSR and inlined in the page markup. 8 | store.replaceState(window.__INITIAL_STATE__) 9 | 10 | // actually mount to DOM 11 | app.$mount('div') 12 | -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Router from 'vue-router' 3 | 4 | import Main from '../views/Main.vue' 5 | import View1 from '../views/View1.vue' 6 | import View2 from '../views/View2.vue' 7 | 8 | Vue.use(Router) 9 | 10 | export default new Router({ 11 | mode: 'history', 12 | routes: [ 13 | { path: '/', component: Main }, 14 | { path: '/view1', component: View1 }, 15 | { path: '/view2', component: View2 } 16 | ] 17 | }) -------------------------------------------------------------------------------- /src/views/View1.vue: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /src/views/Main.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /src/views/View2.vue: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 cc 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vue.js SSR Template 2 | 3 | > A Dead Simple Vue.js Server Side Render Template 4 | 5 | ## Demo 6 | 7 | [Vue.js SSR Template Demo](http://ssr.ccforward.net/) 8 | 9 | ## Build Setup 10 | 11 | ``` bash 12 | # npm 13 | npm install 14 | 15 | # yarn 16 | yarn 17 | 18 | # develop 19 | npm run dev 20 | 21 | # deploy 22 | npm run deploy 23 | 24 | # build 25 | npm run build 26 | ``` 27 | 28 | ## Project Structure 29 | 30 | ``` 31 | 32 | project / 33 | build / 34 | dev-server.js 35 | vue-loader.conf.js 36 | webpack.base.conf.js 37 | webpack.client.conf.js 38 | webpack.server.conf.js 39 | dist / 40 | node_modules / 41 | public / 42 | src / 43 | css / 44 | main.css 45 | components / 46 | router / 47 | index.js 48 | store / 49 | index.js 50 | stylus / 51 | main.styl 52 | views / 53 | app.js 54 | App.vue 55 | client-entry.js 56 | index.html 57 | server-entry.js 58 | .gitignore 59 | app.js 60 | package.json 61 | ``` 62 | 63 | ## About Vue.js SSR 64 | [vue-server-renderer](https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer) 65 | 66 | -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- 1 | Vue.js SSR TemplateFork me on GitHub{{ APP }} -------------------------------------------------------------------------------- /dist/manifest.00114.js: -------------------------------------------------------------------------------- 1 | !function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s 2 | 3 | 4 | 5 | Vue.js SSR Template 6 | 7 | 8 | 9 | 10 | 11 | <% if(htmlWebpackPlugin.options.environment === 'production') { %> 12 | <% for(key in htmlWebpackPlugin.files.css){ %> 13 | 14 | <% } %> 15 | <% } %> 16 | 17 | 18 | Fork me on GitHub 19 | 20 | 21 | {{ APP }} 22 | 26 | <% if(htmlWebpackPlugin.options.environment === 'production') { %> 27 | <% for(key in htmlWebpackPlugin.files.js){ %> 28 | 29 | <% } %> 30 | <% } %> 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/server-entry.js: -------------------------------------------------------------------------------- 1 | import { app, router, store } from './app' 2 | 3 | const isDev = process.env.NODE_ENV !== 'production' 4 | 5 | // This exported function will be called by `bundleRenderer`. 6 | // This is where we perform data-prefetching to determine the 7 | // state of our application before actually rendering it. 8 | // Since data fetching is async, this function is expected to 9 | // return a Promise that resolves to the app instance. 10 | export default context => { 11 | 12 | // set router's location 13 | router.push(context.url) 14 | const matchedComponents = router.getMatchedComponents() 15 | 16 | // no matched routes 17 | if (!matchedComponents.length) { 18 | return Promise.reject({ code: '404' }) 19 | } 20 | 21 | // Call preFetch hooks on components matched by the route. 22 | // A preFetch hook dispatches a store action and returns a Promise, 23 | // which is resolved when the action is complete and store state has been 24 | // updated. 25 | return Promise.all(matchedComponents.map(component => { 26 | if (component.preFetch) { 27 | return component.preFetch(store) 28 | } 29 | })).then(res => { 30 | // After all preFetch hooks are resolved, our store is now 31 | // filled with the state needed to render the app. 32 | // Expose the state on the render context, and let the request handler 33 | // inline the state in the HTML response. This allows the client-side 34 | // store to pick-up the server-side state without having to duplicate 35 | // the initial data fetching on the client. 36 | context.initialState = store.state 37 | 38 | const page = res.shift() 39 | 40 | if (page && page.h1) { 41 | app.title = page.h1 42 | } 43 | if (page) { 44 | context.title = page.title 45 | context.description = page.description 46 | context.keywords = page.keywords 47 | } 48 | 49 | return app 50 | }) 51 | } 52 | -------------------------------------------------------------------------------- /dist/styles.b8f9d.css: -------------------------------------------------------------------------------- 1 | .github-fork-ribbon{width:12.1em;height:12.1em;position:absolute;overflow:hidden;top:0;right:0;z-index:9999;pointer-events:none;font-size:13px;text-decoration:none;text-indent:-999999px}.github-fork-ribbon.fixed{position:fixed}.github-fork-ribbon:after,.github-fork-ribbon:before{position:absolute;display:block;width:15.38em;height:1.54em;top:3.23em;right:-3.23em;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.github-fork-ribbon:before{content:"";padding:.38em 0;background-color:#f06;background-image:-webkit-gradient(linear,left top,left bottom,from(transparent),to(rgba(0,0,0,.15)));background-image:-webkit-linear-gradient(top,transparent,rgba(0,0,0,.15));background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.15));-webkit-box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);pointer-events:auto}.github-fork-ribbon:after{content:attr(title);color:#fff;font:700 1em Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.54em;text-decoration:none;text-shadow:0 -.08em rgba(0,0,0,.5);text-align:center;text-indent:0;padding:.15em 0;margin:.15em 0;border-width:.08em 0;border-style:dotted;border-color:#fff;border-color:hsla(0,0%,100%,.7)}.github-fork-ribbon.left-top:after,.github-fork-ribbon.left-top:before{right:auto;left:-3.23em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.fork-link{margin-top:15px;display:inline-block;font-size:17px;background-color:#42b983;background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.15));-webkit-box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);box-shadow:0 .15em .23em 0 rgba(0,0,0,.5);color:#fff;text-decoration:none;padding:4px 15px;border-radius:5px}a{color:inherit}.list{margin:0 2rem!important}h2,main{text-align:center}.main-content{text-align:center}.main-content img{width:200px}.main-content .main-title{color:#42b983}.main-content .view1-title{color:#f06}.main-content .view2-title{color:#333}.main-content main a{margin:0 10px} 2 | /*# sourceMappingURL=styles.b8f9d.css.map*/ -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-ssr", 3 | "version": "1.0.0", 4 | "description": "Vue.js Server Side Render Template with Webpack & Express", 5 | "main": "index.js", 6 | "scripts": { 7 | "dev": "node app", 8 | "deploy": "cross-env NODE_ENV=production node app", 9 | "build": "rimraf dist && npm run build:client && npm run build:server", 10 | "build:client": "cross-env NODE_ENV=production webpack --config build/webpack.client.conf.js --progress --hide-modules", 11 | "build:server": "cross-env NODE_ENV=production webpack --config build/webpack.server.conf.js --progress --hide-modules" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "git+https://github.com/ccforward/vue-ssr.git" 16 | }, 17 | "dependencies": { 18 | "compression": "^1.6.2", 19 | "es6-promise": "^4.0.5", 20 | "express": "^4.14.0", 21 | "lru-cache": "^4.0.2", 22 | "serialize-javascript": "^1.3.0", 23 | "serve-favicon": "^2.3.2" 24 | }, 25 | "devDependencies": { 26 | "autoprefixer": "^6.6.0", 27 | "buble": "^0.15.1", 28 | "buble-loader": "^0.4.0", 29 | "cross-env": "^3.1.3", 30 | "css-loader": "^0.26.1", 31 | "extract-text-webpack-plugin": "^2.0.0-beta.3", 32 | "file-loader": "^0.9.0", 33 | "html-webpack-plugin": "^2.24.1", 34 | "memory-fs": "^0.4.1", 35 | "node-sass": "^4.1.1", 36 | "rimraf": "^2.5.4", 37 | "sass-loader": "^4.1.1", 38 | "style-loader": "^0.13.1", 39 | "stylus": "^0.54.5", 40 | "stylus-loader": "^2.4.0", 41 | "url-loader": "^0.5.7", 42 | "vue-loader": "^10.0.2", 43 | "vue-template-compiler": "^2.1.7", 44 | "webpack": "^2.1.0-beta.26", 45 | "webpack-dev-middleware": "^1.9.0", 46 | "webpack-hot-middleware": "^2.14.0", 47 | "vue": "^2.1.7", 48 | "vue-router": "^2.1.1", 49 | "vue-server-renderer": "^2.1.7", 50 | "vuex": "^2.1.1", 51 | "vuex-router-sync": "^4.0.2" 52 | }, 53 | "keywords": [ 54 | "Vue", 55 | "SSR", 56 | "Server Side Render" 57 | ], 58 | "author": "cc ", 59 | "license": "MIT", 60 | "bugs": { 61 | "url": "https://github.com/ccforward/vue-ssr/issues" 62 | }, 63 | "homepage": "https://github.com/ccforward/vue-ssr#readme" 64 | } 65 | -------------------------------------------------------------------------------- /src/css/main.css: -------------------------------------------------------------------------------- 1 | /** CSS Styles */ 2 | .github-fork-ribbon { 3 | width: 12.1em; 4 | height: 12.1em; 5 | position: absolute; 6 | overflow: hidden; 7 | top: 0; 8 | right: 0; 9 | z-index: 9999; 10 | pointer-events: none; 11 | font-size: 13px; 12 | text-decoration: none; 13 | text-indent: -999999px; 14 | } 15 | 16 | .github-fork-ribbon.fixed { 17 | position: fixed; 18 | } 19 | 20 | .github-fork-ribbon:before, 21 | .github-fork-ribbon:after { 22 | position: absolute; 23 | display: block; 24 | width: 15.38em; 25 | height: 1.54em; 26 | top: 3.23em; 27 | right: -3.23em; 28 | -webkit-box-sizing: content-box; 29 | box-sizing: content-box; 30 | -webkit-transform: rotate(45deg); 31 | transform: rotate(45deg); 32 | } 33 | 34 | .github-fork-ribbon:before { 35 | content: ""; 36 | padding: .38em 0; 37 | background-color: #f06; 38 | background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.15))); 39 | background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)); 40 | background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)); 41 | /* Add a drop shadow */ 42 | 43 | -webkit-box-shadow: 0 .15em .23em 0 rgba(0, 0, 0, 0.5); 44 | box-shadow: 0 .15em .23em 0 rgba(0, 0, 0, 0.5); 45 | pointer-events: auto; 46 | } 47 | 48 | .github-fork-ribbon:after { 49 | /* Set the text from the title attribute */ 50 | 51 | content: attr(title); 52 | /* Set the text properties */ 53 | 54 | color: #fff; 55 | font: 700 1em "Helvetica Neue", Helvetica, Arial, sans-serif; 56 | line-height: 1.54em; 57 | text-decoration: none; 58 | text-shadow: 0 -.08em rgba(0, 0, 0, 0.5); 59 | text-align: center; 60 | text-indent: 0; 61 | /* Set the layout properties */ 62 | 63 | padding: .15em 0; 64 | margin: .15em 0; 65 | /* Add "stitching" effect */ 66 | 67 | border-width: .08em 0; 68 | border-style: dotted; 69 | border-color: #fff; 70 | border-color: rgba(255, 255, 255, 0.7); 71 | } 72 | 73 | .github-fork-ribbon.left-top:before, 74 | .github-fork-ribbon.left-top:after { 75 | right: auto; 76 | left: -3.23em; 77 | } 78 | 79 | .github-fork-ribbon.left-top:before, 80 | .github-fork-ribbon.left-top:after { 81 | -webkit-transform: rotate(-45deg); 82 | transform: rotate(-45deg); 83 | } 84 | 85 | .fork-link { 86 | margin-top: 15px; 87 | display: inline-block; 88 | font-size: 17px; 89 | background-color: #42b983; 90 | background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)); 91 | -webkit-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5); 92 | box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5); 93 | color: #fff; 94 | text-decoration: none; 95 | padding: 4px 15px; 96 | border-radius: 5px; 97 | } 98 | 99 | a { 100 | color: inherit; 101 | } 102 | 103 | .list { 104 | margin: 0 2rem !important; 105 | } 106 | 107 | main { 108 | text-align: center; 109 | } 110 | 111 | h2 { 112 | text-align: center; 113 | } -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | process.env.VUE_ENV = 'server' 2 | const isProd = process.env.NODE_ENV === 'production' 3 | 4 | const fs = require('fs') 5 | const path = require('path') 6 | const express = require('express') 7 | const compression = require('compression') 8 | const serialize = require('serialize-javascript') 9 | const favicon = require('serve-favicon') 10 | const lru = require('lru-cache') 11 | const vueRenderer = require('vue-server-renderer') 12 | const devServer = require('./build/dev-server') 13 | const resolve = file => path.resolve(__dirname, file) 14 | 15 | const app = express() 16 | 17 | const createRenderer = bundle => { 18 | // https://github.com/isaacs/node-lru-cache#options 19 | return vueRenderer.createBundleRenderer(bundle, { 20 | cache: lru({ 21 | max: 1000, 22 | maxAge: 1000 * 60 * 15 23 | }) 24 | }) 25 | } 26 | 27 | const parseHTML = tmpl => { 28 | const placeholder = '{{ APP }}' 29 | const i = tmpl.indexOf(placeholder) 30 | return { 31 | head: tmpl.slice(0, i), 32 | tail: tmpl.slice(i + placeholder.length) 33 | } 34 | } 35 | 36 | const parseMeta = (head, context) => { 37 | const title = context.title || '' 38 | const description = context.description || '' 39 | const keywords = context.keywords || '' 40 | head = head.replace(/()(.*?)(<\/title>)/, `$1${title}$3`) 41 | head = head.replace(/(<meta name=description content=")(.*?)(">)/, `$1${description}$3`) 42 | head = head.replace(/(<meta name=keywords content=")(.*?)(">)/, `$1${keywords}$3`) 43 | return head 44 | } 45 | 46 | const serve = (path, cache) => express.static(resolve(path), { 47 | maxAge: cache && isProd ? 60 * 60 * 24 * 30 : 0 48 | }) 49 | 50 | let indexHTML 51 | let renderer 52 | 53 | if(isProd) { 54 | renderer = createRenderer(fs.readFileSync(resolve('./dist/server-bundle.js'), 'utf-8')) 55 | indexHTML = parseHTML(fs.readFileSync(resolve('./dist/index.html'), 'utf-8')) 56 | } else { 57 | devServer(app, { 58 | indexUpdated: index => { 59 | indexHTML = parseHTML(index) 60 | }, 61 | bundleUpdated: bundle => { 62 | renderer = createRenderer(bundle) 63 | } 64 | }) 65 | } 66 | 67 | app.use(compression({ threshold: 0 })) 68 | app.use(favicon('./public/favicon.ico')) 69 | app.use('/dist', serve('./dist')) 70 | app.use('/public', serve('./public')) 71 | 72 | app.get('*', (req, res) => { 73 | if(!renderer) { 74 | return res.end('the renderer is not ready, just wait a minute') 75 | } 76 | 77 | res.setHeader('Content-Type', 'text-html') 78 | 79 | const context = {url: req.url} 80 | const renderStream = renderer.renderToStream(context) 81 | 82 | renderStream.once('data', () => { 83 | res.write(parseMeta(indexHTML.head, context)) 84 | }) 85 | 86 | renderStream.on('data', chunk => { 87 | res.write(chunk) 88 | }) 89 | 90 | renderStream.on('end', () => { 91 | if(context.initialState){ 92 | res.write( 93 | `<script>window.__INITIAL_STATE__=${ 94 | serialize(context.initialState, {isJSON: true}) 95 | }</script>` 96 | ) 97 | } 98 | 99 | res.end(indexHTML.tail) 100 | }) 101 | 102 | renderStream.on('error', err => { 103 | if(err && err.code == '404'){ 104 | res.status(404).end('404, Page Not Found') 105 | return 106 | } 107 | res.status(500).end('500 Internal Error') 108 | console.log(err) 109 | }) 110 | }) 111 | 112 | 113 | const PORT = process.env.PORT || 8088 114 | const HOST = process.env.HOST || 'localhost' 115 | 116 | 117 | app.listen(PORT, HOST, () => { 118 | console.log(`server started at ${HOST}:${PORT} `) 119 | }) 120 | 121 | 122 | -------------------------------------------------------------------------------- /dist/server-bundle.js: -------------------------------------------------------------------------------- 1 | module.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist",e(e.s=18)}([function(t,e,n){"use strict";function r(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function i(t){var e=parseFloat(t,10);return e||0===e?e:t}function o(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function a(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function s(t,e){return wn.call(t,e)}function c(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function l(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function f(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function p(t,e){for(var n in e)t[n]=e[n];return t}function d(t){return null!==t&&"object"==typeof t}function h(t){return An.call(t)===En}function v(t){for(var e={},n=0;n<t.length;n++)t[n]&&p(e,t[n]);return e}function m(){}function y(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function g(t,e){var n=d(t),r=d(e);return n&&r?JSON.stringify(t)===JSON.stringify(e):!n&&!r&&String(t)===String(e)}function _(t,e){for(var n=0;n<t.length;n++)if(g(t[n],e))return n;return-1}function b(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function w(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(t){if(!Pn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function k(t){return/native code/.test(t.toString())}function C(t){Kn.target&&Jn.push(Kn.target),Kn.target=t}function O(){Kn.target=Jn.pop()}function $(t,e){t.__proto__=e}function A(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];w(t,o,e[o])}}function E(t,e){if(d(t)){var n;return s(t,"__ob__")&&t.__ob__ instanceof Qn?n=t.__ob__:Zn.shouldConvert&&!In()&&(Array.isArray(t)||h(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Qn(t)),e&&n&&n.vmCount++,n}}function j(t,e,n,r){var i=new Kn,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,c=E(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return Kn.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(e)&&P(e)),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||(s?s.call(t,e):n=e,c=E(e),i.notify())}})}}function S(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(s(t,e))return void(t[e]=n);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(j(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function T(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||s(t,e)&&(delete t[e],n&&n.dep.notify())}function P(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&P(e)}function M(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),a=0;a<o.length;a++)n=o[a],r=t[n],i=e[n],s(t,n)?h(r)&&h(i)&&M(r,i):S(t,n,i);return t}function R(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function D(t,e){var n=Object.create(t||null);return e?p(n,e):n}function L(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(i=kn(r),o[i]={type:null});else if(h(e))for(var a in e)r=e[a],i=kn(a),o[i]=h(r)?r:{type:r};t.props=o}}function N(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function U(t,e,n){function r(r){var i=tr[r]||er;l[r]=i(t[r],e[r],n,r)}L(e),N(e);var i=e.extends;if(i&&(t="function"==typeof i?U(t,i.options,n):U(t,i,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++){var c=e.mixins[o];c.prototype instanceof zt&&(c=c.options),t=U(t,c,n)}var u,l={};for(u in t)r(u);for(u in e)s(t,u)||r(u);return l}function F(t,e,n,r){if("string"==typeof n){var i=t[e];if(s(i,n))return i[n];var o=kn(n);if(s(i,o))return i[o];var a=Cn(o);if(s(i,a))return i[a];var c=i[n]||i[o]||i[a];return c}}function V(t,e,n,r){var i=e[t],o=!s(n,t),a=n[t];if(q(Boolean,i.type)&&(o&&!s(i,"default")?a=!1:q(String,i.type)||""!==a&&a!==$n(t)||(a=!0)),void 0===a){a=I(r,i,t);var c=Zn.shouldConvert;Zn.shouldConvert=!0,E(a),Zn.shouldConvert=c}return a}function I(t,e,n){if(s(e,"default")){var r=e.default;return d(r),t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t[n]?t[n]:"function"==typeof r&&e.type!==Function?r.call(t):r}}function H(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function q(t,e){if(!Array.isArray(e))return H(e)===H(t);for(var n=0,r=e.length;n<r;n++)if(H(e[n])===H(t))return!0;return!1}function B(){rr.length=0,ir={},or=ar=!1}function z(){for(ar=!0,rr.sort(function(t,e){return t.id-e.id}),sr=0;sr<rr.length;sr++){var t=rr[sr],e=t.id;ir[e]=null,t.run()}Hn&&Tn.devtools&&Hn.emit("flush"),B()}function G(t){var e=t.id;if(null==ir[e]){if(ir[e]=!0,ar){for(var n=rr.length-1;n>=0&&rr[n].id>t.id;)n--;rr.splice(Math.max(n,sr)+1,0,t)}else rr.push(t);or||(or=!0,qn(z))}}function K(t){fr.clear(),J(t,fr)}function J(t,e){var n,r,i=Array.isArray(t);if((i||d(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)J(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)J(t[r[n]],e)}}function W(t){t._watchers=[];var e=t.$options;e.props&&X(t,e.props),e.methods&&tt(t,e.methods),e.data?Y(t):E(t._data={},!0),e.computed&&Z(t,e.computed),e.watch&&et(t,e.watch)}function X(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),i=!t.$parent;Zn.shouldConvert=i;for(var o=function(i){var o=r[i];j(t,o,V(o,e,n,t))},a=0;a<r.length;a++)o(a);Zn.shouldConvert=!0}function Y(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},h(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=n.length;i--;)r&&s(r,n[i])||it(t,n[i]);E(e,!0)}function Z(t,e){for(var n in e){var r=e[n];"function"==typeof r?(pr.get=Q(r,t),pr.set=m):(pr.get=r.get?r.cache!==!1?Q(r.get,t):l(r.get,t):m,pr.set=r.set?l(r.set,t):m),Object.defineProperty(t,n,pr)}}function Q(t,e){var n=new ur(e,t,m,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Kn.target&&n.depend(),n.value}}function tt(t,e){for(var n in e)t[n]=null==e[n]?m:l(e[n],t)}function et(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)nt(t,n,r[i]);else nt(t,n,r)}}function nt(t,e,n){var r;h(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function rt(t){var e={};e.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=S,t.prototype.$delete=T,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new ur(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function it(t,e){b(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function ot(t){return new dr(void 0,void 0,void 0,String(t))}function at(t){var e=new dr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function st(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=at(t[n]);return e}function ct(t,e,n,r){r+=e;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[e];o?t[e]=function(){o.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function ut(t,e,n,r,i){var o,a,s,c,u,l,f;for(o in t)if(a=t[o],s=e[o],a)if(s){if(a!==s)if(Array.isArray(s)){s.length=a.length;for(var p=0;p<s.length;p++)s[p]=a[p];t[o]=s}else s.fn=a,t[o]=s}else f="~"===o.charAt(0),u=f?o.slice(1):o,l="!"===u.charAt(0),u=l?u.slice(1):u,Array.isArray(a)?n(u,a.invoker=lt(a),f,l):(a.invoker||(c=a,a=t[o]={},a.fn=c,a.invoker=ft(a)),n(u,a.invoker,f,l));else;for(o in e)t[o]||(f="~"===o.charAt(0),u=f?o.slice(1):o,l="!"===u.charAt(0),u=l?u.slice(1):u,r(u,e[o].invoker,l))}function lt(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function ft(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function pt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function dt(t){return c(t)?[ot(t)]:Array.isArray(t)?ht(t):void 0}function ht(t,e){var n,r,i,o=[];for(n=0;n<t.length;n++)r=t[n],null!=r&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,ht(r,(e||"")+"_"+n)):c(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(ot(r)):r.text&&i&&i.text?o[o.length-1]=ot(i.text+r.text):(r.tag&&null==r.key&&null!=e&&(r.key="__vlist"+e+"_"+n+"__"),o.push(r)));return o}function vt(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function mt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_t(t,e)}function yt(t,e,n){n?lr.$once(t,e):lr.$on(t,e)}function gt(t,e){lr.$off(t,e)}function _t(t,e,n){lr=t,ut(e,n||{},yt,gt,t)}function bt(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;return(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?f(n):n;for(var r=f(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function wt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function xt(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=hr),kt(n,"beforeMount"),n._watcher=new ur(n,function(){n._update(n._render(),e)},m),e=!1,null==n.$vnode&&(n._isMounted=!0,kt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&kt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=vr;vr=n,n._vnode=t,i?n.$el=n.__patch__(i,t):n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),vr=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&kt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$vnode=n,i._vnode&&(i._vnode.parent=n),i.$options._renderChildren=r,t&&i.$options.props){Zn.shouldConvert=!1;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var c=a[s];i[c]=V(c,i.$options.props,t,i)}Zn.shouldConvert=!0,i.$options.propsData=t}if(e){var u=i.$options._parentListeners;i.$options._parentListeners=e,_t(i,e,u)}o&&(i.$slots=It(r,n.context),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){kt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||a(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,kt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function kt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t._hasHookEvent&&t.$emit("hook:"+e)}function Ct(t,e,n,r,i){if(t){var o=n.$options._base;if(d(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=Tt(t,o,function(){n.$forceUpdate()}),!t)return;Bt(t),e=e||{};var a=Pt(e,t);if(t.options.functional)return Ot(t,a,e,n,r);var s=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),Rt(e);var c=t.options.name||i,u=new dr("vue-component-"+t.cid+(c?"-"+c:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:s,tag:i,children:r});return u}}}function Ot(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var s in a)o[s]=V(s,a,e);var c=Object.create(r),u=function(t,e,n,r){return Lt(c,t,e,n,r,!0)},l=t.options.render.call(null,u,{props:o,data:n,parent:r,children:i,slots:function(){return It(i,r)}});return l instanceof dr&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function $t(t,e,n,r){var i=t.componentOptions,o={_isComponent:!0,parent:e,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function At(t,e,n,r){if(!t.child||t.child._isDestroyed){var i=t.child=$t(t,vr,n,r);i.$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var o=t;Et(o,o)}}function Et(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function jt(t){t.child._isMounted||(t.child._isMounted=!0,kt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,kt(t.child,"activated"))}function St(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,kt(t.child,"deactivated")):t.child.$destroy())}function Tt(t,e,n){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[n],i=!0,o=function(n){if(d(n)&&(n=e.extend(n)),t.resolved=n,!i)for(var o=0,a=r.length;o<a;o++)r[o](n)},a=function(t){},s=t(o,a);return s&&"function"==typeof s.then&&!t.resolved&&s.then(o,a),i=!1,t.resolved}t.pendingCallbacks.push(n)}function Pt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var c=$n(s);Mt(r,o,s,c,!0)||Mt(r,i,s,c)||Mt(r,a,s,c)}return r}}function Mt(t,e,n,r,i){if(e){if(s(e,n))return t[n]=e[n],i||delete e[n],!0;if(s(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function Rt(t){t.hook||(t.hook={});for(var e=0;e<yr.length;e++){var n=yr[e],r=t.hook[n],i=mr[n];t.hook[n]=r?Dt(i,r):i}}function Dt(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}function Lt(t,e,n,r,i,o){return(Array.isArray(n)||c(n))&&(i=r,r=n,n=void 0),o&&(i=_r),Nt(t,e,n,r,i)}function Nt(t,e,n,r,i){if(n&&n.__ob__)return hr();if(!e)return hr();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===_r?r=dt(r):i===gr&&(r=pt(r));var o,a;if("string"==typeof e){var s;a=Tn.getTagNamespace(e),o=Tn.isReservedTag(e)?new dr(Tn.parsePlatformTagName(e),n,r,void 0,void 0,t):(s=F(t.$options,"components",e))?Ct(s,n,t,r,e):new dr(e,n,r,void 0,void 0,t)}else o=Ct(e,n,t,r);return o?(a&&Ut(o,a),o):hr()}function Ut(t,e){if(t.ns=e,"foreignObject"!==t.tag&&t.children)for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];i.tag&&!i.ns&&Ut(i,e)}}function Ft(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var e=t.$options._parentVnode,n=e&&e.context;t.$slots=It(t.$options._renderChildren,n),t.$scopedSlots={},t._c=function(e,n,r,i){return Lt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Lt(t,e,n,r,i,!0)},t.$options.el&&t.$mount(t.$options.el)}function Vt(t){function e(t,e,r){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&n(t[i],e+"_"+i,r);else n(t,e,r)}function n(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}t.prototype.$nextTick=function(t){return qn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=st(t.$slots[o]);i&&i.data.scopedSlots&&(t.$scopedSlots=i.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(!Tn.errorHandler)throw e;Tn.errorHandler.call(null,e,t),a=t._vnode}return a instanceof dr||(a=hr()),a.parent=i,a},t.prototype._s=r,t.prototype._v=ot,t.prototype._n=i,t.prototype._e=hr,t.prototype._q=g,t.prototype._i=_,t.prototype._m=function(t,n){var r=this._staticTrees[t];return r&&!n?Array.isArray(r)?st(r):at(r):(r=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),e(r,"__static__"+t,!1),r)},t.prototype._o=function(t,n,r){return e(t,"__once__"+n+(r?"_"+r:""),!0),t},t.prototype._f=function(t){return F(this.$options,"filters",t,!0)||Sn},t.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(d(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},t.prototype._t=function(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&p(n,r),i(n)||e;var o=this.$slots[t];return o||e},t.prototype._b=function(t,e,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=v(n));for(var i in n)if("class"===i||"style"===i)t[i]=n[i];else{var o=r||Tn.mustUseProp(e,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});o[i]=n[i]}}else;return t},t.prototype._k=function(t,e,n){var r=Tn.keyCodes[e]||n;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function It(t,e){var n={};if(!t)return n;for(var r,i,o=[],a=0,s=t.length;a<s;a++)if(i=t[a],(i.context===e||i.functionalContext===e)&&i.data&&(r=i.data.slot)){var c=n[r]||(n[r]=[]);"template"===i.tag?c.push.apply(c,i.children):c.push(i)}else o.push(i);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(n.default=o),n}function Ht(t){t.prototype._init=function(t){var e=this;e._uid=br++,e._isVue=!0,t&&t._isComponent?qt(e,t):e.$options=U(Bt(e.constructor),t||{},e),e._renderProxy=e,e._self=e,wt(e),mt(e),kt(e,"beforeCreate"),W(e),kt(e,"created"),Ft(e)}}function qt(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Bt(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,i=t.extendOptions;n!==r&&(t.superOptions=n,i.render=e.render,i.staticRenderFns=e.staticRenderFns,i._scopeId=e._scopeId,e=t.options=U(n,i),e.name&&(e.components[e.name]=t))}return e}function zt(t){this._init(t)}function Gt(t){t.use=function(t){if(!t.installed){var e=f(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Kt(t){t.mixin=function(t){this.options=U(this.options,t)}}function Jt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=U(n.options,t),a.super=n,a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Tn._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,i[r]=a,a}}function Wt(t){Tn._assetTypes.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Xt(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:t.test(e)}function Yt(t){var e={};e.get=function(){return Tn},Object.defineProperty(t,"config",e),t.util=nr,t.set=S,t.delete=T,t.nextTick=qn,t.options=Object.create(null),Tn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,p(t.options.components,kr),Gt(t),Kt(t),Jt(t),Wt(t)}function Zt(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Qt(r.data,e));for(;n=n.parent;)n.data&&(e=Qt(e,n.data));return te(e)}function Qt(t,e){return{staticClass:ee(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function te(t){var e=t.class,n=t.staticClass;return n||e?ee(n,ne(e)):""}function ee(t,e){return t?e?t+" "+e:t:e||""}function ne(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=ne(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(d(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function re(t){return Lr(t)?"svg":"math"===t?"math":void 0}function ie(t){if(!Rn)return!0;if(Nr(t))return!1;if(t=t.toLowerCase(),null!=Ur[t])return Ur[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ur[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ur[t]=/HTMLUnknownElement/.test(e.toString())}function oe(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function ae(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function se(t,e){return document.createElementNS(Rr[t],e)}function ce(t){return document.createTextNode(t)}function ue(t){return document.createComment(t)}function le(t,e,n){t.insertBefore(e,n)}function fe(t,e){t.removeChild(e)}function pe(t,e){t.appendChild(e)}function de(t){return t.parentNode}function he(t){return t.nextSibling}function ve(t){return t.tagName}function me(t,e){t.textContent=e}function ye(t,e,n){t.setAttribute(e,n)}function ge(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.child||t.elm,o=r.$refs;e?Array.isArray(o[n])?a(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(i)<0?o[n].push(i):o[n]=[i]:o[n]=i}}function _e(t){return null==t}function be(t){return null!=t}function we(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function xe(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,be(i)&&(o[i]=r);return o}function ke(t){function e(t){return new dr(A.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=A.parentNode(t);e&&A.removeChild(e,t)}function i(t,e,n,r,i){if(t.isRootInsert=!i,!a(t,e,n,r)){var o=t.data,s=t.children,c=t.tag;be(c)?(t.elm=t.ns?A.createElementNS(t.ns,c):A.createElement(c,t),h(t),l(t,s,e),be(o)&&p(t,e),u(n,t.elm,r)):t.isComment?(t.elm=A.createComment(t.text),u(n,t.elm,r)):(t.elm=A.createTextNode(t.text),u(n,t.elm,r))}}function a(t,e,n,r){var i=t.data;if(be(i)){var o=be(t.child)&&i.keepAlive;if(be(i=i.hook)&&be(i=i.init)&&i(t,!1,n,r),be(t.child))return d(t,e),o&&s(t,e,n,r),!0}}function s(t,e,n,r){for(var i,o=t;o.child;)if(o=o.child._vnode,be(i=o.data)&&be(i=i.transition)){for(i=0;i<O.activate.length;++i)O.activate[i](Ir,o);e.push(o);break}u(n,t.elm,r)}function u(t,e,n){t&&(n?A.insertBefore(t,e,n):A.appendChild(t,e))}function l(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)i(e[r],n,t.elm,null,!0);else c(t.text)&&A.appendChild(t.elm,A.createTextNode(t.text))}function f(t){for(;t.child;)t=t.child._vnode;return be(t.tag)}function p(t,e){for(var n=0;n<O.create.length;++n)O.create[n](Ir,t);k=t.data.hook,be(k)&&(k.create&&k.create(Ir,t),k.insert&&e.push(t))}function d(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,f(t)?(p(t,e),h(t)):(ge(t),e.push(t))}function h(t){var e;be(e=t.context)&&be(e=e.$options._scopeId)&&A.setAttribute(t.elm,e,""),be(e=vr)&&e!==t.context&&be(e=e.$options._scopeId)&&A.setAttribute(t.elm,e,"")}function v(t,e,n,r,o,a){for(;r<=o;++r)i(n[r],a,t,e)}function m(t){var e,n,r=t.data;if(be(r))for(be(e=r.hook)&&be(e=e.destroy)&&e(t),e=0;e<O.destroy.length;++e)O.destroy[e](t);if(be(e=t.children))for(n=0;n<t.children.length;++n)m(t.children[n])}function y(t,e,n,i){for(;n<=i;++n){var o=e[n];be(o)&&(be(o.tag)?(g(o),m(o)):r(o.elm))}}function g(t,e){if(e||be(t.data)){var i=O.remove.length+1;for(e?e.listeners+=i:e=n(t.elm,i),be(k=t.child)&&be(k=k._vnode)&&be(k.data)&&g(k,e),k=0;k<O.remove.length;++k)O.remove[k](t,e);be(k=t.data.hook)&&be(k=k.remove)?k(t,e):e()}else r(t.elm)}function _(t,e,n,r,o){for(var a,s,c,u,l=0,f=0,p=e.length-1,d=e[0],h=e[p],m=n.length-1,g=n[0],_=n[m],w=!o;l<=p&&f<=m;)_e(d)?d=e[++l]:_e(h)?h=e[--p]:we(d,g)?(b(d,g,r),d=e[++l],g=n[++f]):we(h,_)?(b(h,_,r),h=e[--p],_=n[--m]):we(d,_)?(b(d,_,r),w&&A.insertBefore(t,d.elm,A.nextSibling(h.elm)),d=e[++l],_=n[--m]):we(h,g)?(b(h,g,r),w&&A.insertBefore(t,h.elm,d.elm),h=e[--p],g=n[++f]):(_e(a)&&(a=xe(e,l,p)),s=be(g.key)?a[g.key]:null,_e(s)?(i(g,r,t,d.elm),g=n[++f]):(c=e[s],we(c,g)?(b(c,g,r),e[s]=void 0,w&&A.insertBefore(t,g.elm,d.elm),g=n[++f]):(i(g,r,t,d.elm),g=n[++f])));l>p?(u=_e(n[m+1])?null:n[m+1].elm,v(t,u,n,f,m,r)):f>m&&y(t,e,l,p)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var i,o=e.data,a=be(o);a&&be(i=o.hook)&&be(i=i.prepatch)&&i(t,e);var s=e.elm=t.elm,c=t.children,u=e.children;if(a&&f(e)){for(i=0;i<O.update.length;++i)O.update[i](t,e);be(i=o.hook)&&be(i=i.update)&&i(t,e)}_e(e.text)?be(c)&&be(u)?c!==u&&_(s,c,u,n,r):be(u)?(be(t.text)&&A.setTextContent(s,""),v(s,null,u,0,u.length-1,n)):be(c)?y(s,c,0,c.length-1):be(t.text)&&A.setTextContent(s,""):t.text!==e.text&&A.setTextContent(s,e.text),a&&be(i=o.hook)&&be(i=i.postpatch)&&i(t,e)}}function w(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function x(t,e,n){e.elm=t;var r=e.tag,i=e.data,o=e.children;if(be(i)&&(be(k=i.hook)&&be(k=k.init)&&k(e,!0),be(k=e.child)))return d(e,n),!0;if(be(r)){if(be(o))if(t.hasChildNodes()){for(var a=!0,s=t.firstChild,c=0;c<o.length;c++){if(!s||!x(s,o[c],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else l(e,o,n);if(be(i))for(var u in i)if(!E(u)){p(e,n);break}}return!0}var k,C,O={},$=t.modules,A=t.nodeOps;for(k=0;k<Hr.length;++k)for(O[Hr[k]]=[],C=0;C<$.length;++C)void 0!==$[C][Hr[k]]&&O[Hr[k]].push($[C][Hr[k]]);var E=o("attrs,style,class,staticClass,staticStyle,key");return function(t,n,r,o,a,s){if(!n)return void(t&&m(t));var c,u,l=!1,p=[];if(t){var d=be(t.nodeType);if(!d&&we(t,n))b(t,n,p,o);else{if(d){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&x(t,n,p))return w(n,p,!0),t;t=e(t)}if(c=t.elm,u=A.parentNode(c),i(n,p,u,A.nextSibling(c)),n.parent){for(var h=n.parent;h;)h.elm=n.elm,h=h.parent;if(f(n))for(var v=0;v<O.create.length;++v)O.create[v](Ir,n.parent)}null!==u?y(u,[t],0,0):be(t.tag)&&m(t)}}else l=!0,i(n,p,a,s);return w(n,p,l),n.elm}}function Ce(t,e){(t.data.directives||e.data.directives)&&Oe(t,e)}function Oe(t,e){var n,r,i,o=t===Ir,a=e===Ir,s=$e(t.data.directives,t.context),c=$e(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,Ee(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(Ee(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Ee(u[n],"inserted",e,t)};o?ct(e.data.hook||(e.data.hook={}),"insert",f,"dir-insert"):f()}if(l.length&&ct(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)Ee(l[n],"componentUpdated",e,t)},"dir-postpatch"),!o)for(n in s)c[n]||Ee(s[n],"unbind",t,t,a)}function $e(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Br),n[Ae(i)]=i,i.def=F(e.$options,"directives",i.name,!0);return n}function Ae(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ee(t,e,n,r,i){var o=t.def&&t.def[e];o&&o(n.elm,t,n,r,i)}function je(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=p({},s));for(n in s)r=s[n],i=a[n],i!==r&&Se(o,n,r);Nn&&s.value!==a.value&&Se(o,"value",s.value);for(n in a)null==s[n]&&(Tr(n)?o.removeAttributeNS(Sr,Pr(n)):Er(n)||o.removeAttribute(n))}}function Se(t,e,n){jr(e)?Mr(n)?t.removeAttribute(e):t.setAttribute(e,e):Er(e)?t.setAttribute(e,Mr(n)||"false"===n?"false":"true"):Tr(e)?Mr(n)?t.removeAttributeNS(Sr,Pr(e)):t.setAttributeNS(Sr,e,n):Mr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Te(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Zt(e),a=n._transitionClasses;a&&(o=ee(o,ne(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Pe(t,e,n,r){if(n){var i=e;e=function(n){Me(t,e,r),1===arguments.length?i(n):i.apply(null,arguments)}}Cr.addEventListener(t,e,r)}function Me(t,e,n){Cr.removeEventListener(t,e,n)}function Re(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{};Cr=e.elm,ut(n,r,Pe,Me,e.context)}}function De(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=p({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],("textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),r!==o[n]))&&("checked"!==n||Ne(i,r)))if("value"===n){i._value=r;var s=null==r?"":String(r);Le(i,e,s)&&(i.value=s)}else i[n]=r}}function Le(t,e,n){return!(t.composing||"option"!==e.tag&&!Ne(t,n)&&!Ue(e,n))}function Ne(t,e){return document.activeElement!==t&&t.value!==e}function Ue(t,e){var n=t.elm.value,r=t.elm._vModifiers;return r&&r.number||"number"===t.elm.type?i(n)!==i(e):r&&r.trim?n.trim()!==e.trim():n!==e}function Fe(t){var e=Ve(t.style);return t.staticStyle?p(t.staticStyle,e):e}function Ve(t){return Array.isArray(t)?v(t):"string"==typeof t?Xr(t):t}function Ie(t,e){var n,r={};if(e)for(var i=t;i.child;)i=i.child._vnode,i.data&&(n=Fe(i.data))&&p(r,n);(n=Fe(t.data))&&p(r,n);for(var o=t;o=o.parent;)o.data&&(n=Fe(o.data))&&p(r,n);return r}function He(t,e){var n=e.data,r=t.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=e.elm,s=t.data.staticStyle,c=t.data.style||{},u=s||c,l=Ve(e.data.style)||{};e.data.style=l.__ob__?p({},l):l;var f=Ie(e,!0);for(o in u)null==f[o]&&Qr(a,o,"");for(o in f)i=f[o],i!==u[o]&&Qr(a,o,null==i?"":i)}}function qe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Be(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function ze(t){li(function(){li(t)})}function Ge(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),qe(t,e)}function Ke(t,e){t._transitionClasses&&a(t._transitionClasses,e),Be(t,e)}function Je(t,e,n){var r=We(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ii?si:ui,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),t.addEventListener(s,l)}function We(t,e){var n,r=window.getComputedStyle(t),i=r[ai+"Delay"].split(", "),o=r[ai+"Duration"].split(", "),a=Xe(i,o),s=r[ci+"Delay"].split(", "),c=r[ci+"Duration"].split(", "),u=Xe(s,c),l=0,f=0;e===ii?a>0&&(n=ii,l=a,f=o.length):e===oi?u>0&&(n=oi,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?ii:oi:null,f=n?n===ii?o.length:c.length:0);var p=n===ii&&fi.test(r[ai+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function Xe(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ye(e)+Ye(t[n])})); 2 | }function Ye(t){return 1e3*Number(t.slice(0,-1))}function Ze(t,e){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=tn(t.data.transition);if(r&&!n._enterCb&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterActiveClass,c=r.appearClass,u=r.appearActiveClass,l=r.beforeEnter,f=r.enter,p=r.afterEnter,d=r.enterCancelled,h=r.beforeAppear,v=r.appear,m=r.afterAppear,y=r.appearCancelled,g=vr,_=vr.$vnode;_&&_.parent;)_=_.parent,g=_.context;var b=!g._isMounted||!t.isRootInsert;if(!b||v||""===v){var w=b?c:a,x=b?u:s,k=b?h||l:l,C=b&&"function"==typeof v?v:f,O=b?m||p:p,$=b?y||d:d,A=i!==!1&&!Nn,E=C&&(C._length||C.length)>1,j=n._enterCb=en(function(){A&&Ke(n,x),j.cancelled?(A&&Ke(n,w),$&&$(n)):O&&O(n),n._enterCb=null});t.data.show||ct(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),C&&C(n,j)},"transition-insert"),k&&k(n),A&&(Ge(n,w),ze(function(){Ke(n,w),Ge(n,x),j.cancelled||E||Je(n,o,j)})),t.data.show&&(e&&e(),C&&C(n,j)),A||E||j()}}}function Qe(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),u&&u(r),h&&(Ge(r,s),ze(function(){Ke(r,s),Ge(r,c),m.cancelled||v||Je(r,a,m)})),l&&l(r,m),h||v||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=tn(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,c=i.leaveActiveClass,u=i.beforeLeave,l=i.leave,f=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,h=o!==!1&&!Nn,v=l&&(l._length||l.length)>1,m=r._leaveCb=en(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&Ke(r,c),m.cancelled?(h&&Ke(r,s),p&&p(r)):(e(),f&&f(r)),r._leaveCb=null});d?d(n):n()}}function tn(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&p(e,pi(t.name||"v")),p(e,t),e}return"string"==typeof t?pi(t):void 0}}function en(t){var e=!1;return function(){e||(e=!0,t())}}function nn(t,e){e.data.show||Ze(e)}function rn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=_(r,an(a))>-1,a.selected!==o&&(a.selected=o);else if(g(an(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function on(t,e){for(var n=0,r=e.length;n<r;n++)if(g(an(e[n]),t))return!1;return!0}function an(t){return"_value"in t?t._value:t.value}function sn(t){t.target.composing=!0}function cn(t){t.target.composing=!1,un(t.target,"input")}function un(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ln(t){return!t.child||t.data&&t.data.transition?t:ln(t.child._vnode)}function fn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fn(vt(e.children)):t}function pn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[kn(o)]=i[o].fn;return e}function dn(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function hn(t){for(;t=t.parent;)if(t.data.transition)return!0}function vn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function mn(t){t.data.newPos=t.elm.getBoundingClientRect()}function yn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var gn,_n,bn=o("slot,component",!0),wn=Object.prototype.hasOwnProperty,xn=/-(\w)/g,kn=u(function(t){return t.replace(xn,function(t,e){return e?e.toUpperCase():""})}),Cn=u(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),On=/([^-])([A-Z])/g,$n=u(function(t){return t.replace(On,"$1-$2").replace(On,"$1-$2").toLowerCase()}),An=Object.prototype.toString,En="[object Object]",jn=function(){return!1},Sn=function(t){return t},Tn={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:jn,isUnknownElement:jn,getTagNamespace:m,parsePlatformTagName:Sn,mustUseProp:jn,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},Pn=/[^\w.$]/,Mn="__proto__"in{},Rn="undefined"!=typeof window,Dn=Rn&&window.navigator.userAgent.toLowerCase(),Ln=Dn&&/msie|trident/.test(Dn),Nn=Dn&&Dn.indexOf("msie 9.0")>0,Un=Dn&&Dn.indexOf("edge/")>0,Fn=Dn&&Dn.indexOf("android")>0,Vn=Dn&&/iphone|ipad|ipod|ios/.test(Dn),In=function(){return void 0===gn&&(gn=!Rn&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),gn},Hn=Rn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,qn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"!=typeof Promise&&k(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};e=function(){i.then(t).catch(o),Vn&&setTimeout(m)}}else if("undefined"==typeof MutationObserver||!k(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),c=document.createTextNode(String(a));s.observe(c,{characterData:!0}),e=function(){a=(a+1)%2,c.data=String(a)}}return function(t,i){var o;if(n.push(function(){t&&t.call(i),o&&o(i)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();_n="undefined"!=typeof Set&&k(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Bn,zn=m,Gn=0,Kn=function(){this.id=Gn++,this.subs=[]};Kn.prototype.addSub=function(t){this.subs.push(t)},Kn.prototype.removeSub=function(t){a(this.subs,t)},Kn.prototype.depend=function(){Kn.target&&Kn.target.addDep(this)},Kn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Kn.target=null;var Jn=[],Wn=Array.prototype,Xn=Object.create(Wn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Wn[t];w(Xn,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Yn=Object.getOwnPropertyNames(Xn),Zn={shouldConvert:!0,isSettingProps:!1},Qn=function(t){if(this.value=t,this.dep=new Kn,this.vmCount=0,w(t,"__ob__",this),Array.isArray(t)){var e=Mn?$:A;e(t,Xn,Yn),this.observeArray(t)}else this.walk(t)};Qn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)j(t,e[n],t[e[n]])},Qn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)E(t[e])};var tr=Tn.optionMergeStrategies;tr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?M(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return M(e.call(this),t.call(this))}:e:t},Tn._lifecycleHooks.forEach(function(t){tr[t]=R}),Tn._assetTypes.forEach(function(t){tr[t+"s"]=D}),tr.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};p(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},tr.props=tr.methods=tr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return p(n,t),p(n,e),n};var er=function(t,e){return void 0===e?t:e},nr=Object.freeze({defineReactive:j,_toString:r,toNumber:i,makeMap:o,isBuiltInTag:bn,remove:a,hasOwn:s,isPrimitive:c,cached:u,camelize:kn,capitalize:Cn,hyphenate:$n,bind:l,toArray:f,extend:p,isObject:d,isPlainObject:h,toObject:v,noop:m,no:jn,identity:Sn,genStaticKeys:y,looseEqual:g,looseIndexOf:_,isReserved:b,def:w,parsePath:x,hasProto:Mn,inBrowser:Rn,UA:Dn,isIE:Ln,isIE9:Nn,isEdge:Un,isAndroid:Fn,isIOS:Vn,isServerRendering:In,devtools:Hn,nextTick:qn,get _Set(){return _n},mergeOptions:U,resolveAsset:F,get warn(){return zn},get formatComponentName(){return Bn},validateProp:V}),rr=[],ir={},or=!1,ar=!1,sr=0,cr=0,ur=function(t,e,n,r){this.vm=t,t._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=++cr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _n,this.newDepIds=new _n,this.expression="","function"==typeof e?this.getter=e:(this.getter=x(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ur.prototype.get=function(){C(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&K(t),O(),this.cleanupDeps(),t},ur.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ur.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},ur.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():G(this)},ur.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||d(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!Tn.errorHandler)throw t;Tn.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},ur.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ur.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},ur.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||a(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var lr,fr=new _n,pr={enumerable:!0,configurable:!0,get:m,set:m},dr=function(t,e,n,r,i,o,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},hr=function(){var t=new dr;return t.text="",t.isComment=!0,t},vr=null,mr={init:At,prepatch:Et,insert:jt,destroy:St},yr=Object.keys(mr),gr=1,_r=2,br=0;Ht(zt),rt(zt),bt(zt),xt(zt),Vt(zt);var wr=[String,RegExp],xr={name:"keep-alive",abstract:!0,props:{include:wr,exclude:wr},created:function(){this.cache=Object.create(null)},render:function(){var t=vt(this.$slots.default);if(t&&t.componentOptions){var e=t.componentOptions,n=e.Ctor.options.name||e.tag;if(n&&(this.include&&!Xt(this.include,n)||this.exclude&&Xt(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.child=this.cache[r].child:this.cache[r]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];kt(n.child,"deactivated"),n.child.$destroy()}}},kr={KeepAlive:xr};Yt(zt),Object.defineProperty(zt.prototype,"$isServer",{get:In}),zt.version="2.1.7";var Cr,Or,$r=o("input,textarea,option,select"),Ar=function(t,e){return"value"===e&&$r(t)||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},Er=o("contenteditable,draggable,spellcheck"),jr=o("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Sr="http://www.w3.org/1999/xlink",Tr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Pr=function(t){return Tr(t)?t.slice(6,t.length):""},Mr=function(t){return null==t||t===!1},Rr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Dr=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Lr=o("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Nr=function(t){return Dr(t)||Lr(t)},Ur=Object.create(null),Fr=Object.freeze({createElement:ae,createElementNS:se,createTextNode:ce,createComment:ue,insertBefore:le,removeChild:fe,appendChild:pe,parentNode:de,nextSibling:he,tagName:ve,setTextContent:me,setAttribute:ye}),Vr={create:function(t,e){ge(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ge(t,!0),ge(e))},destroy:function(t){ge(t,!0)}},Ir=new dr("",{},[]),Hr=["create","activate","update","remove","destroy"],qr={create:Ce,update:Ce,destroy:function(t){Ce(t,Ir)}},Br=Object.create(null),zr=[Vr,qr],Gr={create:je,update:je},Kr={create:Te,update:Te},Jr={create:Re,update:Re},Wr={create:De,update:De},Xr=u(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Yr=/^--/,Zr=/\s*!important$/,Qr=function(t,e,n){Yr.test(e)?t.style.setProperty(e,n):Zr.test(n)?t.style.setProperty(e,n.replace(Zr,""),"important"):t.style[ei(e)]=n},ti=["Webkit","Moz","ms"],ei=u(function(t){if(Or=Or||document.createElement("div"),t=kn(t),"filter"!==t&&t in Or.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<ti.length;n++){var r=ti[n]+e;if(r in Or.style)return r}}),ni={create:He,update:He},ri=Rn&&!Nn,ii="transition",oi="animation",ai="transition",si="transitionend",ci="animation",ui="animationend";ri&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ai="WebkitTransition",si="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ci="WebkitAnimation",ui="webkitAnimationEnd"));var li=Rn&&window.requestAnimationFrame||setTimeout,fi=/\b(transform|all)(,|$)/,pi=u(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),di=Rn?{create:nn,activate:nn,remove:function(t,e){t.data.show?e():Qe(t,e)}}:{},hi=[Gr,Kr,Jr,Wr,ni,di],vi=hi.concat(zr),mi=ke({nodeOps:Fr,modules:vi});Nn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&un(t,"input")});var yi={inserted:function(t,e,n){if("select"===n.tag){var r=function(){rn(t,e,n.context)};r(),(Ln||Un)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(Fn||(t.addEventListener("compositionstart",sn),t.addEventListener("compositionend",cn)),Nn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){rn(t,e,n.context);var r=t.multiple?e.value.some(function(e){return on(e,t.options)}):e.value!==e.oldValue&&on(e.value,t.options);r&&un(t,"change")}}},gi={bind:function(t,e,n){var r=e.value;n=ln(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!Nn?(n.data.show=!0,Ze(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=ln(n);var o=n.data&&n.data.transition;o&&!Nn?(n.data.show=!0,r?Ze(n,function(){t.style.display=t.__vOriginalDisplay}):Qe(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},_i={model:yi,show:gi},bi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},wi={name:"transition",props:bi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag}),n.length)){var r=this.mode,i=n[0];if(hn(this.$vnode))return i;var o=fn(i);if(!o)return i;if(this._leaving)return dn(t,i);var a=o.key=null==o.key||o.isStatic?"__v"+(o.tag+this._uid)+"__":o.key,s=(o.data||(o.data={})).transition=pn(this),c=this._vnode,u=fn(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&u.key!==a){var l=u.data.transition=p({},s);if("out-in"===r)return this._leaving=!0,ct(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},a),dn(t,i);if("in-out"===r){var f,d=function(){f()};ct(s,"afterEnter",d,a),ct(s,"enterCancelled",d,a),ct(l,"delayLeave",function(t){f=t},a)}}return i}}},xi=p({tag:String,moveClass:String},bi);delete xi.mode;var ki={props:xi,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=pn(this),s=0;s<i.length;s++){var c=i[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(vn),t.forEach(mn),t.forEach(yn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Ge(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(si,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(si,t),n._moveCb=null,Ke(n,e))})}})}},methods:{hasMove:function(t,e){if(!ri)return!1;if(null!=this._hasMove)return this._hasMove;Ge(t,e);var n=We(t);return Ke(t,e),this._hasMove=n.hasTransform}}},Ci={Transition:wi,TransitionGroup:ki};zt.config.isUnknownElement=ie,zt.config.isReservedTag=Nr,zt.config.getTagNamespace=re,zt.config.mustUseProp=Ar,p(zt.options.directives,_i),p(zt.options.components,Ci),zt.prototype.__patch__=Rn?mi:m,zt.prototype.$mount=function(t,e){return t=t&&Rn?oe(t):void 0,this._mount(t,e)},setTimeout(function(){Tn.devtools&&Hn&&Hn.emit("init",zt)},0),t.exports=zt},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(7),a=n.n(o),s=n(6),c=n(5),u=n(16);n.n(u);n.d(e,"a",function(){return c.a}),n.d(e,"b",function(){return s.a}),n.d(e,"c",function(){return l}),n.i(u.sync)(s.a,c.a);var l=new i.a(i.a.util.extend({router:c.a,store:s.a},a.a))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"Vue SSR Template",description:"this is main description",keywords:"view, main"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"view1 title",description:"this is view1 description",keywords:"view, view1"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"view2 title",h1:"view2 - view2",description:"this is view2 description",keywords:"view, view2"}}}}},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(15),a=n.n(o),s=n(8),c=n.n(s),u=n(9),l=n.n(u),f=n(10),p=n.n(f);i.a.use(a.a),e.a=new a.a({mode:"history",routes:[{path:"/",component:c.a},{path:"/view1",component:l.a},{path:"/view2",component:p.a}]})},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(17),a=n.n(o);i.a.use(a.a),e.a=new a.a.Store({state:{},actions:{},mutations:{}})},function(t,e,n){var r,i,o=n(13);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(2);var o=n(14);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(3);var o=n(12);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(4);var o=n(11);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h3",{staticClass:"view2-title"},[t._v("This is View2")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h3",{staticClass:"view1-title"},[t._v("This is View1")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-content"},[n("h1",[t._v("Vue.js SSR Template")]),t._v(" "),n("router-view"),t._v(" "),n("a",{staticClass:"fork-link",attrs:{href:"https://github.com/ccforward/vue-ssr/",title:"Fork me on GitHub"}},[t._v("Fork me on GitHub")])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h2",{staticClass:"main-title"},[t._v("This is Main View")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e,n){"use strict";function r(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function i(t,e){if(void 0===e&&(e={}),t){var n;try{n=o(t)}catch(t){n={}}for(var r in e)n[r]=e[r];return n}return e}function o(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=_t(n.shift()),i=n.length>0?_t(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function a(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return gt(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(gt(e)):r.push(gt(e)+"="+gt(t)))}),r.join("&")}return gt(e)+"="+gt(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function s(t,e,n){var r={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:u(e),matched:t?c(t):[]};return n&&(r.redirectedFrom=u(n)),Object.freeze(r)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function u(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+a(n)+r}function l(t,e){return e===bt?t===e:!!e&&(t.path&&e.path?t.path.replace(wt,"")===e.path.replace(wt,"")&&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(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function p(t,e){return 0===t.path.indexOf(e.path.replace(/\/$/,""))&&(!e.hash||t.hash===e.hash)&&d(t.query,e.query)}function d(t,e){for(var n in e)if(!(n in t))return!1;return!0}function h(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0!==t.button)){var e=t.target.getAttribute("target");if(!/\b_blank\b/i.test(e))return t.preventDefault(),!0}}function v(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=v(e.children)))return e}}function m(t){if(!m.installed){m.installed=!0,mt=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",yt),t.component("router-link",kt);var e=t.config.optionMergeStrategies;e.beforeRouteEnter=e.beforeRouteLeave=e.created}}function y(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var a=i[o];"."!==a&&(".."===a?r.pop():r.push(a))}return""!==r[0]&&r.unshift(""),r.join("/")}function g(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function _(t){return t.replace(/\/\//g,"/")}function b(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){w(e,n,t)}),{pathMap:e,nameMap:n}}function w(t,e,n,r,i){var o=n.path,a=n.name,s={path:x(o,r),components:n.components||{default:n.component},instances:{},name:a,parent:r,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{}};n.children&&n.children.forEach(function(n){w(t,e,n,s)}),void 0!==n.alias&&(Array.isArray(n.alias)?n.alias.forEach(function(n){w(t,e,{path:n},r,s.path)}):w(t,e,{path:n.alias},r,s.path)),t[s.path]||(t[s.path]=s),a&&(e[a]||(e[a]=s))}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:_(e.path+"/"+t)}function k(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Tt.exec(t));){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(o,l),o=l+c.length,u)a+=u[1];else{var f=t[o],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=p&&null!=f&&f!==p,_="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,x=h||v;r.push({name:d||i++,prefix:p||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:x?j(x):y?".*":"[^"+E(w)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function C(t,e){return A(k(t,e))}function O(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function $(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function A(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},a=r||{},s=a.pretty?O:encodeURIComponent,c=0;c<t.length;c++){var u=t[c];if("string"!=typeof u){var l,f=o[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(Ot(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(l=s(f[p]),!e[c].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===p?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?$(f):s(f),!e[c].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function E(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function j(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function S(t,e){return t.keys=e,t}function T(t){return t.sensitive?"":"i"}function P(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 S(t,e)}function M(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(L(t[i],e,n).source);var o=new RegExp("(?:"+r.join("|")+")",T(n));return S(o,e)}function R(t,e,n){return D(k(t,n),e,n)}function D(t,e,n){Ot(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=n.end!==!1,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=E(s);else{var c=E(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+c+u+")*"),u=s.optional?s.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")",o+=u}}var l=E(n.delimiter||"/"),f=o.slice(-l.length)===l;return r||(o=(f?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+l+"|$)",S(new RegExp("^"+o,T(n)),e)}function L(t,e,n){return Ot(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?P(t,e):Ot(t)?M(t,e,n):R(t,e,n)}function N(t){var e,n,r=Pt[t];return r?(e=r.keys,n=r.regexp):(e=[],n=$t(t,e),Pt[t]={keys:e,regexp:n}),{keys:e,regexp:n}}function U(t,e,n){try{var r=Mt[t]||(Mt[t]=$t.compile(t));return r(e||{},{pretty:!0})}catch(t){return""}}function F(t,e,n){var r="string"==typeof t?{path:t}:t;if(r.name||r._normalized)return r;if(!r.path&&r.params&&e){r=V({},r),r._normalized=!0;var o=V(V({},e.params),r.params);if(e.name)r.name=e.name,r.params=o;else if(e.matched){var a=e.matched[e.matched.length-1].path;r.path=U(a,o,"path "+e.path)}return r}var s=g(r.path||""),c=e&&e.path||"/",u=s.path?y(s.path,c,n||r.append):e&&e.path||"/",l=i(s.query,r.query),f=r.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:l,hash:f}}function V(t,e){for(var n in e)t[n]=e[n];return t}function I(t){function e(t,e,n){var r=F(t,e),i=r.name;if(i){var a=u[i],s=N(a.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof r.params&&(r.params={}),e&&"object"==typeof e.params)for(var l in e.params)!(l in r.params)&&s.indexOf(l)>-1&&(r.params[l]=e.params[l]);if(a)return r.path=U(a.path,r.params,'named route "'+i+'"'),o(a,r,n)}else if(r.path){r.params={};for(var f in c)if(H(f,r.params,r.path))return o(c[f],r,n)}return o(null,r)}function n(t,n){var i=t.redirect,a="function"==typeof i?i(s(t,n)):i;if("string"==typeof a&&(a={path:a}),!a||"object"!=typeof a)return o(null,n);var c=a,l=c.name,f=c.path,p=n.query,d=n.hash,h=n.params;if(p=c.hasOwnProperty("query")?c.query:p,d=c.hasOwnProperty("hash")?c.hash:d,h=c.hasOwnProperty("params")?c.params:h,l){u[l];return e({_normalized:!0,name:l,query:p,hash:d,params:h},void 0,n)}if(f){var v=q(f,t),m=U(v,h,'redirect route with path "'+v+'"');return e({_normalized:!0,path:m,query:p,hash:d},void 0,n)}return r(!1,"invalid redirect option: "+JSON.stringify(a)),o(null,n)}function i(t,n,r){var i=U(r,n.params,'aliased route with path "'+r+'"'),a=e({_normalized:!0,path:i});if(a){var s=a.matched,c=s[s.length-1]; 3 | return n.params=a.params,o(c,n)}return o(null,n)}function o(t,e,r){return t&&t.redirect?n(t,r||e):t&&t.matchAs?i(t,e,t.matchAs):s(t,e,r)}var a=b(t),c=a.pathMap,u=a.nameMap;return e}function H(t,e,n){var r=N(t),i=r.regexp,o=r.keys,a=n.match(i);if(!a)return!1;if(!e)return!0;for(var s=1,c=a.length;s<c;++s){var u=o[s-1],l="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];u&&(e[u.name]=l)}return!0}function q(t,e){return y(t,e.parent?e.parent.path:"/",!0)}function B(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function z(t){if(!t)if(Rt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function G(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{activated:e.slice(n),deactivated:t.slice(n)}}function K(t,e){return"function"!=typeof t&&(t=mt.extend(t)),t.options[e]}function J(t){return et(tt(t,function(t,e){var n=K(t,"beforeRouteLeave");if(n)return Array.isArray(n)?n.map(function(t){return W(t,e)}):W(n,e)}).reverse())}function W(t,e){return function(){return t.apply(e,arguments)}}function X(t,e,n){return et(tt(t,function(t,r,i,o){var a=K(t,"beforeRouteEnter");if(a)return Array.isArray(a)?a.map(function(t){return Y(t,e,i,o,n)}):Y(a,e,i,o,n)}))}function Y(t,e,n,r,i){return function(o,a,s){return t(o,a,function(t){s(t),"function"==typeof t&&e.push(function(){Z(t,n.instances,r,i)})})}}function Z(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){Z(t,e,n,r)},16)}function Q(t){return tt(t,function(t,e,n,i){if("function"==typeof t&&!t.options)return function(e,o,a){var s=function(t){n.components[i]=t,a()},c=function(t){r(!1,"Failed to resolve async component "+i+": "+t),a(!1)},u=t(s,c);u&&"function"==typeof u.then&&u.then(s,c)}})}function tt(t,e){return et(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function et(t){return Array.prototype.concat.apply([],t)}function nt(t){t&&(Nt[t]={x:window.pageXOffset,y:window.pageYOffset})}function rt(t){if(t)return Nt[t]}function it(t){var e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}function ot(t){return st(t.x)||st(t.y)}function at(t){return{x:st(t.x)?t.x:window.pageXOffset,y:st(t.y)?t.y:window.pageYOffset}}function st(t){return"number"==typeof t}function ct(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function ut(t,e){var n=window.history;try{e?n.replaceState({key:Ft},"",t):(Ft=Ut(),n.pushState({key:Ft},"",t)),nt(Ft)}catch(n){window.location[e?"assign":"replace"](t)}}function lt(t){ut(t,!0)}function ft(){var t=pt();return"/"===t.charAt(0)||(ht("/"+t),!1)}function pt(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function dt(t){window.location.hash=t}function ht(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}function vt(t,e,n){var r="hash"===n?"#"+e:e;return t?_(t+"/"+r):r}var mt,yt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,o=e.data;o.routerView=!0;for(var a=i.$route,s=i._routerViewCache||(i._routerViewCache={}),c=0,u=!1;i;)i.$vnode&&i.$vnode.data.routerView&&c++,i._inactive&&(u=!0),i=i.$parent;o.routerViewDepth=c;var l=a.matched[c];if(!l)return t();var f=n.name,p=u?s[f]:s[f]=l.components[f];if(!u){var d=o.hook||(o.hook={});d.init=function(t){l.instances[f]=t.child},d.prepatch=function(t,e){l.instances[f]=e.child},d.destroy=function(t){l.instances[f]===t.child&&(l.instances[f]=void 0)}}return t(p,o,r)}},gt=encodeURIComponent,_t=decodeURIComponent,bt=s(null,{path:"/"}),wt=/\/$/,xt=[String,Object],kt={name:"router-link",props:{to:{type:xt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.normalizedTo,a=i.resolved,c=i.href,u={},f=this.activeClass||n.options.linkActiveClass||"router-link-active",d=o.path?s(null,o):a;u[f]=this.exact?l(r,d):p(r,d);var m=function(t){h(t)&&(e.replace?n.replace(o):n.push(o))},y={click:h};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var g={class:u};if("a"===this.tag)g.on=y,g.attrs={href:c};else{var _=v(this.$slots.default);if(_){_.isStatic=!1;var b=mt.util.extend,w=_.data=b({},_.data);w.on=y;var x=_.data.attrs=b({},_.data.attrs);x.href=c}else g.on=y}return t(this.tag,g,this.$slots.default)}},Ct=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ot=Ct,$t=L,At=k,Et=C,jt=A,St=D,Tt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");$t.parse=At,$t.compile=Et,$t.tokensToFunction=jt,$t.tokensToRegExp=St;var Pt=Object.create(null),Mt=Object.create(null),Rt="undefined"!=typeof window,Dt=Rt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Lt=function(t,e){this.router=t,this.base=z(e),this.current=bt,this.pending=null};Lt.prototype.listen=function(t){this.cb=t},Lt.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL()},n)},Lt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current,o=function(){n&&n()};if(l(t,i))return this.ensureURL(),o();var a=G(this.current.matched,t.matched),s=a.deactivated,c=a.activated,u=[].concat(J(s),this.router.beforeHooks,c.map(function(t){return t.beforeEnter}),Q(c));this.pending=t;var f=function(e,n){return r.pending!==t?o():void e(t,i,function(t){t===!1?(r.ensureURL(!0),o()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?r.replace(t):r.push(t),o()):n(t)})};B(u,f,function(){var n=[],i=X(c,n,function(){return r.current===t});B(i,f,function(){return r.pending!==t?o():(r.pending=null,e(t),void(r.router.app&&r.router.app.$nextTick(function(){n.forEach(function(t){return t()})})))})})},Lt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Nt=Object.create(null),Ut=function(){return String(Date.now())},Ft=Ut(),Vt=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;window.addEventListener("popstate",function(t){Ft=t.state&&t.state.key;var e=r.current;r.transitionTo(ct(r.base),function(t){i&&r.handleScroll(t,e,!0)})}),i&&window.addEventListener("scroll",function(){nt(Ft)})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){ut(_(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},e.prototype.replace=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){lt(_(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},e.prototype.ensureURL=function(t){if(ct(this.base)!==this.current.fullPath){var e=_(this.base+this.current.fullPath);t?ut(e):lt(e)}},e.prototype.handleScroll=function(t,e,n){var r=this.router;if(r.app){var i=r.options.scrollBehavior;i&&r.app.$nextTick(function(){var r=rt(Ft),o=i(t,e,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=it(s):ot(o)&&(r=at(o))}else a&&ot(o)&&(r=at(o));r&&window.scrollTo(r.x,r.y)}})}},e}(Lt),It=function(t){function e(e,n,r){t.call(this,e,n),r&&this.checkFallback()||ft()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.checkFallback=function(){var t=ct(this.base);if(!/^\/#/.test(t))return window.location.replace(_(this.base+"/#"+t)),!0},e.prototype.onHashChange=function(){ft()&&this.transitionTo(pt(),function(t){ht(t.fullPath)})},e.prototype.push=function(t){this.transitionTo(t,function(t){dt(t.fullPath)})},e.prototype.replace=function(t){this.transitionTo(t,function(t){ht(t.fullPath)})},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;pt()!==e&&(t?dt(e):ht(e))},e}(Lt),Ht=function(t){function e(e){t.call(this,e),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){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index+1).concat(t),e.index++})},e.prototype.replace=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index).concat(t)})},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(){e.index=n,e.updateRoute(r)})}},e.prototype.ensureURL=function(){},e}(Lt),qt=function(t){void 0===t&&(t={}),this.app=null,this.options=t,this.beforeHooks=[],this.afterHooks=[],this.match=I(t.routes||[]);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Dt,this.fallback&&(e="hash"),Rt||(e="abstract"),this.mode=e,e){case"history":this.history=new Vt(this,t.base);break;case"hash":this.history=new It(this,t.base,this.fallback);break;case"abstract":this.history=new Ht(this)}},Bt={currentRoute:{}};Bt.currentRoute.get=function(){return this.history&&this.history.current},qt.prototype.init=function(t){var e=this;this.app=t;var n=this.history;if(n instanceof Vt)n.transitionTo(ct(n.base));else if(n instanceof It){var r=function(){window.addEventListener("hashchange",function(){n.onHashChange()})};n.transitionTo(pt(),r,r)}n.listen(function(t){e.app._route=t})},qt.prototype.beforeEach=function(t){this.beforeHooks.push(t)},qt.prototype.afterEach=function(t){this.afterHooks.push(t)},qt.prototype.push=function(t){this.history.push(t)},qt.prototype.replace=function(t){this.history.replace(t)},qt.prototype.go=function(t){this.history.go(t)},qt.prototype.back=function(){this.go(-1)},qt.prototype.forward=function(){this.go(1)},qt.prototype.getMatchedComponents=function(t){var e=t?this.resolve(t).resolved:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},qt.prototype.resolve=function(t,e,n){var r=F(t,e||this.history.current,n),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=vt(a,o,this.mode);return{normalizedTo:r,resolved:i,href:s}},Object.defineProperties(qt.prototype,Bt),qt.install=m,Rt&&window.Vue&&window.Vue.use(qt),t.exports=qt},function(t,e){function n(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=n(e)),Object.freeze(r)}e.sync=function(t,e,r){var i=(r||{}).moduleName||"route";t.registerModule(i,{state:{},mutations:{"router/ROUTE_CHANGED":function(e,r){t.state[i]=n(r.to,r.from)}}});var o,a=!1;t.watch(function(t){return t[i]},function(t){t.fullPath!==o&&(a=!0,o=t.fullPath,e.push(t))},{sync:!0}),e.afterEach(function(e,n){return a?void(a=!1):(o=e.fullPath,void t.commit("router/ROUTE_CHANGED",{to:e,from:n}))})}},function(t,e,n){/** 4 | * vuex v2.1.1 5 | * (c) 2016 Evan You 6 | * @license MIT 7 | */ 8 | !function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){x&&(t._devtoolHook=x,x.emit("vuex:init",t),x.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){x.emit("vuex:mutation",t,e)}))}function e(t){function e(){var t=this.$options;t.store?this.$store=t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}var n=Number(t.version.split(".")[0]);if(n>=2){var r=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(r?{init:e}:{beforeCreate:e})}else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,i.call(this,t)}}}function n(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function r(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function i(t,e){console.error("[vuex] module namespace not found in "+t+"(): "+e)}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"==typeof t}function s(t){return t&&"function"==typeof t.then}function c(t,e){if(!t)throw new Error("[vuex] "+e)}function u(t,e){if(t.update(e),e.modules)for(var n in e.modules){if(!t.getChild(n))return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");u(t.getChild(n),e.modules[n])}}function l(t){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;p(t,e,[],t._modules.root,!0),f(t,e)}function f(t,e){var n=t._vm;t.getters={};var r=t._wrappedGetters,i={};o(r,function(e,n){i[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=S.config.silent;S.config.silent=!0,t._vm=new S({data:{state:e},computed:i}),S.config.silent=a,t.strict&&g(t),n&&(t._withCommit(function(){n.state=null}),S.nextTick(function(){return n.$destroy()}))}function p(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(a&&(t._modulesNamespaceMap[a]=r),!o&&!i){var s=_(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){S.set(s,c,r.state)})}var u=r.context=d(t,a);r.forEachMutation(function(e,r){var i=a+r;v(t,i,e,n)}),r.forEachAction(function(e,r){var i=a+r;m(t,i,e,u,n)}),r.forEachGetter(function(e,r){var i=a+r;y(t,i,e,u,n)}),r.forEachChild(function(r,o){p(t,e,n.concat(o),r,i)})}function d(t,e){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c,t._actions[c])?t.dispatch(c,a):void console.error("[vuex] unknown local action type: "+o.type+", global type: "+c)},commit:n?t.commit:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c,t._mutations[c])?void t.commit(c,a,s):void console.error("[vuex] unknown local mutation type: "+o.type+", global type: "+c)}};return Object.defineProperty(r,"getters",{get:n?function(){return t.getters}:function(){return h(t,e)}}),r}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function v(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(e){n(_(t.state,r),e)})}function m(t,e,n,r,i){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e,o){var a=n({dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:_(t.state,i),rootGetters:t.getters,rootState:t.state},e,o);return s(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}function y(t,e,n,r,i){return t._wrappedGetters[e]?void console.error("[vuex] duplicate getter key: "+e):void(t._wrappedGetters[e]=function(t){return n(_(t.state,i),r.getters,t.state,t.getters)})}function g(t){t._vm.$watch("state",function(){c(t._committing,"Do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function _(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function w(t){return S?void console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(S=t,void e(S))}var x="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,k=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,o=e.val;r[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=this.$store._modulesNamespaceMap[t];if(!r)return void i("mapState",t);e=r.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]}}),r}),C=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.commit.apply(this.$store,[i].concat(t))}}),r}),O=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){return i in this.$store.getters||console.error("[vuex] unknown getter: "+i),this.$store.getters[i]}}),r}),$=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.dispatch.apply(this.$store,[i].concat(t))}}),r}),A=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},E={state:{},namespaced:{}};E.state.get=function(){return this._rawModule.state||{}},E.namespaced.get=function(){return!!this._rawModule.namespaced},A.prototype.addChild=function(t,e){this._children[t]=e},A.prototype.removeChild=function(t){delete this._children[t]},A.prototype.getChild=function(t){return this._children[t]},A.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},A.prototype.forEachChild=function(t){o(this._children,t)},A.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},A.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},A.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(A.prototype,E);var j=function(t){var e=this;this.root=new A(t,!1),t.modules&&o(t.modules,function(t,n){e.register([n],t,!1)})};j.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},j.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},j.prototype.update=function(t){u(this.root,t)},j.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.get(t.slice(0,-1)),a=new A(e,n);i.addChild(t[t.length-1],a),e.modules&&o(e.modules,function(e,i){r.register(t.concat(i),e,n)})},j.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var S,T=function(e){var n=this;void 0===e&&(e={}),c(S,"must call Vue.use(Vuex) before creating a store instance."),c("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var r=e.state;void 0===r&&(r={});var i=e.plugins;void 0===i&&(i=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new j(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new S;var a=this,s=this,u=s.dispatch,l=s.commit;this.dispatch=function(t,e){return u.call(a,t,e)},this.commit=function(t,e,n){return l.call(a,t,e,n)},this.strict=o,p(this,r,[],this._modules.root),f(this,r),i.concat(t).forEach(function(t){return t(n)})},P={state:{}};P.state.get=function(){return this._vm.$data.state},P.state.set=function(t){c(!1,"Use store.replaceState() to explicit replace store state.")},T.prototype.commit=function(t,e,n){var r=this,i=b(t,e,n),o=i.type,a=i.payload,s=i.options,c={type:o,payload:a},u=this._mutations[o];return u?(this._withCommit(function(){u.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(c,r.state)}),void(s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools"))):void console.error("[vuex] unknown mutation type: "+o)},T.prototype.dispatch=function(t,e){var n=b(t,e),r=n.type,i=n.payload,o=this._actions[r];return o?o.length>1?Promise.all(o.map(function(t){return t(i)})):o[0](i):void console.error("[vuex] unknown action type: "+r)},T.prototype.subscribe=function(t){var e=this._subscribers;return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}},T.prototype.watch=function(t,e,n){var r=this;return c("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm.state=t})},T.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t)),f(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),c(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=_(e.state,t.slice(0,-1));S.delete(n,t[t.length-1])}),l(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),l(this)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,P),"undefined"!=typeof window&&window.Vue&&w(window.Vue);var M={Store:T,install:w,version:"2.1.1",mapState:k,mapMutations:C,mapGetters:O,mapActions:$};return M})},function(t,e,n){"use strict";var r=n(1);Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){r.a.push(t.url);var e=r.a.getMatchedComponents();return e.length?Promise.all(e.map(function(t){if(t.preFetch)return t.preFetch(r.b)})).then(function(e){t.initialState=r.b.state;var n=e.shift();return n&&n.h1&&(r.c.title=n.h1),n&&(t.title=n.title,t.description=n.description,t.keywords=n.keywords),r.c}):Promise.reject({code:"404"})}}]); -------------------------------------------------------------------------------- /dist/app.cf660.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([0,1],[function(t,e,n){"use strict";(function(e){function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var e=parseFloat(t,10);return e||0===e?e:t}function i(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function o(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function a(t,e){return bn.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function c(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function f(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function l(t,e){for(var n in e)t[n]=e[n];return t}function p(t){return null!==t&&"object"==typeof t}function d(t){return On.call(t)===$n}function h(t){for(var e={},n=0;n<t.length;n++)t[n]&&l(e,t[n]);return e}function v(){}function m(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function y(t,e){var n=p(t),r=p(e);return n&&r?JSON.stringify(t)===JSON.stringify(e):!n&&!r&&String(t)===String(e)}function _(t,e){for(var n=0;n<t.length;n++)if(y(t[n],e))return n;return-1}function g(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function b(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function w(t){if(!Tn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function x(t){return/native code/.test(t.toString())}function k(t){Gn.target&&Kn.push(Gn.target),Gn.target=t}function A(){Gn.target=Kn.pop()}function C(t,e){t.__proto__=e}function O(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];b(t,o,e[o])}}function $(t,e){if(p(t)){var n;return a(t,"__ob__")&&t.__ob__ instanceof Zn?n=t.__ob__:Xn.shouldConvert&&!In()&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Zn(t)),e&&n&&n.vmCount++,n}}function E(t,e,n,r){var i=new Gn,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,u=$(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return Gn.target&&(i.depend(),u&&u.dep.depend(),Array.isArray(e)&&T(e)),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||(s?s.call(t,e):n=e,u=$(e),i.notify())}})}}function j(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(a(t,e))return void(t[e]=n);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(E(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function S(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||a(t,e)&&(delete t[e],n&&n.dep.notify())}function T(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&T(e)}function P(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),s=0;s<o.length;s++)n=o[s],r=t[n],i=e[n],a(t,n)?d(r)&&d(i)&&P(r,i):j(t,n,i);return t}function M(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function R(t,e){var n=Object.create(t||null);return e?l(n,e):n}function D(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(i=xn(r),o[i]={type:null});else if(d(e))for(var a in e)r=e[a],i=xn(a),o[i]=d(r)?r:{type:r};t.props=o}}function L(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function N(t,e,n){function r(r){var i=Qn[r]||tr;f[r]=i(t[r],e[r],n,r)}D(e),L(e);var i=e.extends;if(i&&(t="function"==typeof i?N(t,i.options,n):N(t,i,n)),e.mixins)for(var o=0,s=e.mixins.length;o<s;o++){var u=e.mixins[o];u.prototype instanceof Bt&&(u=u.options),t=N(t,u,n)}var c,f={};for(c in t)r(c);for(c in e)a(t,c)||r(c);return f}function U(t,e,n,r){if("string"==typeof n){var i=t[e];if(a(i,n))return i[n];var o=xn(n);if(a(i,o))return i[o];var s=kn(o);if(a(i,s))return i[s];var u=i[n]||i[o]||i[s];return u}}function F(t,e,n,r){var i=e[t],o=!a(n,t),s=n[t];if(q(Boolean,i.type)&&(o&&!a(i,"default")?s=!1:q(String,i.type)||""!==s&&s!==Cn(t)||(s=!0)),void 0===s){s=I(r,i,t);var u=Xn.shouldConvert;Xn.shouldConvert=!0,$(s),Xn.shouldConvert=u}return s}function I(t,e,n){if(a(e,"default")){var r=e.default;return p(r),t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t[n]?t[n]:"function"==typeof r&&e.type!==Function?r.call(t):r}}function V(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function q(t,e){if(!Array.isArray(e))return V(e)===V(t);for(var n=0,r=e.length;n<r;n++)if(V(e[n])===V(t))return!0;return!1}function H(){nr.length=0,rr={},ir=or=!1}function B(){for(or=!0,nr.sort(function(t,e){return t.id-e.id}),ar=0;ar<nr.length;ar++){var t=nr[ar],e=t.id;rr[e]=null,t.run()}Vn&&Sn.devtools&&Vn.emit("flush"),H()}function z(t){var e=t.id;if(null==rr[e]){if(rr[e]=!0,or){for(var n=nr.length-1;n>=0&&nr[n].id>t.id;)n--;nr.splice(Math.max(n,ar)+1,0,t)}else nr.push(t);ir||(ir=!0,qn(B))}}function G(t){fr.clear(),K(t,fr)}function K(t,e){var n,r,i=Array.isArray(t);if((i||p(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)K(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)K(t[r[n]],e)}}function J(t){t._watchers=[];var e=t.$options;e.props&&W(t,e.props),e.methods&&Q(t,e.methods),e.data?Y(t):$(t._data={},!0),e.computed&&X(t,e.computed),e.watch&&tt(t,e.watch)}function W(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),i=!t.$parent;Xn.shouldConvert=i;for(var o=function(i){var o=r[i];E(t,o,F(o,e,n,t))},a=0;a<r.length;a++)o(a);Xn.shouldConvert=!0}function Y(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},d(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=n.length;i--;)r&&a(r,n[i])||rt(t,n[i]);$(e,!0)}function X(t,e){for(var n in e){var r=e[n];"function"==typeof r?(lr.get=Z(r,t),lr.set=v):(lr.get=r.get?r.cache!==!1?Z(r.get,t):c(r.get,t):v,lr.set=r.set?c(r.set,t):v),Object.defineProperty(t,n,lr)}}function Z(t,e){var n=new ur(e,t,v,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Gn.target&&n.depend(),n.value}}function Q(t,e){for(var n in e)t[n]=null==e[n]?v:c(e[n],t)}function tt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)et(t,n,r[i]);else et(t,n,r)}}function et(t,e,n){var r;d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function nt(t){var e={};e.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=j,t.prototype.$delete=S,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new ur(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function rt(t,e){g(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function it(t){return new pr(void 0,void 0,void 0,String(t))}function ot(t){var e=new pr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function at(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=ot(t[n]);return e}function st(t,e,n,r){r+=e;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[e];o?t[e]=function(){o.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function ut(t,e,n,r,i){var o,a,s,u,c,f,l;for(o in t)if(a=t[o],s=e[o],a)if(s){if(a!==s)if(Array.isArray(s)){s.length=a.length;for(var p=0;p<s.length;p++)s[p]=a[p];t[o]=s}else s.fn=a,t[o]=s}else l="~"===o.charAt(0),c=l?o.slice(1):o,f="!"===c.charAt(0),c=f?c.slice(1):c,Array.isArray(a)?n(c,a.invoker=ct(a),l,f):(a.invoker||(u=a,a=t[o]={},a.fn=u,a.invoker=ft(a)),n(c,a.invoker,l,f));else;for(o in e)t[o]||(l="~"===o.charAt(0),c=l?o.slice(1):o,f="!"===c.charAt(0),c=f?c.slice(1):c,r(c,e[o].invoker,f))}function ct(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function ft(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function lt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function pt(t){return s(t)?[it(t)]:Array.isArray(t)?dt(t):void 0}function dt(t,e){var n,r,i,o=[];for(n=0;n<t.length;n++)r=t[n],null!=r&&"boolean"!=typeof r&&(i=o[o.length-1],Array.isArray(r)?o.push.apply(o,dt(r,(e||"")+"_"+n)):s(r)?i&&i.text?i.text+=String(r):""!==r&&o.push(it(r)):r.text&&i&&i.text?o[o.length-1]=it(i.text+r.text):(r.tag&&null==r.key&&null!=e&&(r.key="__vlist"+e+"_"+n+"__"),o.push(r)));return o}function ht(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function vt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_t(t,e)}function mt(t,e,n){n?cr.$once(t,e):cr.$on(t,e)}function yt(t,e){cr.$off(t,e)}function _t(t,e,n){cr=t,ut(e,n||{},mt,yt,t)}function gt(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;return(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?f(n):n;for(var r=f(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function bt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function wt(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=dr),xt(n,"beforeMount"),n._watcher=new ur(n,function(){n._update(n._render(),e)},v),e=!1,null==n.$vnode&&(n._isMounted=!0,xt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&xt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=hr;hr=n,n._vnode=t,i?n.$el=n.__patch__(i,t):n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),hr=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&xt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$vnode=n,i._vnode&&(i._vnode.parent=n),i.$options._renderChildren=r,t&&i.$options.props){Xn.shouldConvert=!1;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var u=a[s];i[u]=F(u,i.$options.props,t,i)}Xn.shouldConvert=!0,i.$options.propsData=t}if(e){var c=i.$options._parentListeners;i.$options._parentListeners=e,_t(i,e,c)}o&&(i.$slots=It(r,n.context),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){xt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||o(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,xt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function xt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t._hasHookEvent&&t.$emit("hook:"+e)}function kt(t,e,n,r,i){if(t){var o=n.$options._base;if(p(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=St(t,o,function(){n.$forceUpdate()}),!t)return;Ht(t),e=e||{};var a=Tt(e,t);if(t.options.functional)return At(t,a,e,n,r);var s=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),Mt(e);var u=t.options.name||i,c=new pr("vue-component-"+t.cid+(u?"-"+u:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:s,tag:i,children:r});return c}}}function At(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var s in a)o[s]=F(s,a,e);var u=Object.create(r),c=function(t,e,n,r){return Dt(u,t,e,n,r,!0)},f=t.options.render.call(null,c,{props:o,data:n,parent:r,children:i,slots:function(){return It(i,r)}});return f instanceof pr&&(f.functionalContext=r,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function Ct(t,e,n,r){var i=t.componentOptions,o={_isComponent:!0,parent:e,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function Ot(t,e,n,r){if(!t.child||t.child._isDestroyed){var i=t.child=Ct(t,hr,n,r);i.$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var o=t;$t(o,o)}}function $t(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function Et(t){t.child._isMounted||(t.child._isMounted=!0,xt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,xt(t.child,"activated"))}function jt(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,xt(t.child,"deactivated")):t.child.$destroy())}function St(t,e,n){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[n],i=!0,o=function(n){if(p(n)&&(n=e.extend(n)),t.resolved=n,!i)for(var o=0,a=r.length;o<a;o++)r[o](n)},a=function(t){},s=t(o,a);return s&&"function"==typeof s.then&&!t.resolved&&s.then(o,a),i=!1,t.resolved}t.pendingCallbacks.push(n)}function Tt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var u=Cn(s);Pt(r,o,s,u,!0)||Pt(r,i,s,u)||Pt(r,a,s,u)}return r}}function Pt(t,e,n,r,i){if(e){if(a(e,n))return t[n]=e[n],i||delete e[n],!0;if(a(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function Mt(t){t.hook||(t.hook={});for(var e=0;e<mr.length;e++){var n=mr[e],r=t.hook[n],i=vr[n];t.hook[n]=r?Rt(i,r):i}}function Rt(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}function Dt(t,e,n,r,i,o){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o&&(i=_r),Lt(t,e,n,r,i)}function Lt(t,e,n,r,i){if(n&&n.__ob__)return dr();if(!e)return dr();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===_r?r=pt(r):i===yr&&(r=lt(r));var o,a;if("string"==typeof e){var s;a=Sn.getTagNamespace(e),o=Sn.isReservedTag(e)?new pr(Sn.parsePlatformTagName(e),n,r,void 0,void 0,t):(s=U(t.$options,"components",e))?kt(s,n,t,r,e):new pr(e,n,r,void 0,void 0,t)}else o=kt(e,n,t,r);return o?(a&&Nt(o,a),o):dr()}function Nt(t,e){if(t.ns=e,"foreignObject"!==t.tag&&t.children)for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];i.tag&&!i.ns&&Nt(i,e)}}function Ut(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var e=t.$options._parentVnode,n=e&&e.context;t.$slots=It(t.$options._renderChildren,n),t.$scopedSlots={},t._c=function(e,n,r,i){return Dt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Dt(t,e,n,r,i,!0)},t.$options.el&&t.$mount(t.$options.el)}function Ft(t){function e(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&i(t[r],e+"_"+r,n);else i(t,e,n)}function i(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}t.prototype.$nextTick=function(t){return qn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=at(t.$slots[o]);i&&i.data.scopedSlots&&(t.$scopedSlots=i.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(!Sn.errorHandler)throw e;Sn.errorHandler.call(null,e,t),a=t._vnode}return a instanceof pr||(a=dr()),a.parent=i,a},t.prototype._s=n,t.prototype._v=it,t.prototype._n=r,t.prototype._e=dr,t.prototype._q=y,t.prototype._i=_,t.prototype._m=function(t,n){var r=this._staticTrees[t];return r&&!n?Array.isArray(r)?at(r):ot(r):(r=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),e(r,"__static__"+t,!1),r)},t.prototype._o=function(t,n,r){return e(t,"__once__"+n+(r?"_"+r:""),!0),t},t.prototype._f=function(t){return U(this.$options,"filters",t,!0)||jn},t.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(p(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},t.prototype._t=function(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&l(n,r),i(n)||e;var o=this.$slots[t];return o||e},t.prototype._b=function(t,e,n,r){if(n)if(p(n)){Array.isArray(n)&&(n=h(n));for(var i in n)if("class"===i||"style"===i)t[i]=n[i];else{var o=r||Sn.mustUseProp(e,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});o[i]=n[i]}}else;return t},t.prototype._k=function(t,e,n){var r=Sn.keyCodes[e]||n;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function It(t,e){var n={};if(!t)return n;for(var r,i,o=[],a=0,s=t.length;a<s;a++)if(i=t[a],(i.context===e||i.functionalContext===e)&&i.data&&(r=i.data.slot)){var u=n[r]||(n[r]=[]);"template"===i.tag?u.push.apply(u,i.children):u.push(i)}else o.push(i);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(n.default=o),n}function Vt(t){t.prototype._init=function(t){var e=this;e._uid=gr++,e._isVue=!0,t&&t._isComponent?qt(e,t):e.$options=N(Ht(e.constructor),t||{},e),e._renderProxy=e,e._self=e,bt(e),vt(e),xt(e,"beforeCreate"),J(e),xt(e,"created"),Ut(e)}}function qt(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Ht(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,i=t.extendOptions;n!==r&&(t.superOptions=n,i.render=e.render,i.staticRenderFns=e.staticRenderFns,i._scopeId=e._scopeId,e=t.options=N(n,i),e.name&&(e.components[e.name]=t))}return e}function Bt(t){this._init(t)}function zt(t){t.use=function(t){if(!t.installed){var e=f(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Gt(t){t.mixin=function(t){this.options=N(this.options,t)}}function Kt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=N(n.options,t),a.super=n,a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Sn._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,i[r]=a,a}}function Jt(t){Sn._assetTypes.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&d(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Wt(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:t.test(e)}function Yt(t){var e={};e.get=function(){return Sn},Object.defineProperty(t,"config",e),t.util=er,t.set=j,t.delete=S,t.nextTick=qn,t.options=Object.create(null),Sn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,xr),zt(t),Gt(t),Kt(t),Jt(t)}function Xt(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Zt(r.data,e));for(;n=n.parent;)n.data&&(e=Zt(e,n.data));return Qt(e)}function Zt(t,e){return{staticClass:te(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Qt(t){var e=t.class,n=t.staticClass;return n||e?te(n,ee(e)):""}function te(t,e){return t?e?t+" "+e:t:e||""}function ee(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=ee(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(p(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function ne(t){return Dr(t)?"svg":"math"===t?"math":void 0}function re(t){if(!Mn)return!0;if(Lr(t))return!1;if(t=t.toLowerCase(),null!=Nr[t])return Nr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Nr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Nr[t]=/HTMLUnknownElement/.test(e.toString())}function ie(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function oe(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function ae(t,e){return document.createElementNS(Mr[t],e)}function se(t){return document.createTextNode(t)}function ue(t){return document.createComment(t)}function ce(t,e,n){t.insertBefore(e,n)}function fe(t,e){t.removeChild(e)}function le(t,e){t.appendChild(e)}function pe(t){return t.parentNode}function de(t){return t.nextSibling}function he(t){return t.tagName}function ve(t,e){t.textContent=e}function me(t,e,n){t.setAttribute(e,n)}function ye(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.child||t.elm,a=r.$refs;e?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function _e(t){return null==t}function ge(t){return null!=t}function be(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function we(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,ge(i)&&(o[i]=r);return o}function xe(t){function e(t){return new pr($.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=$.parentNode(t);e&&$.removeChild(e,t)}function o(t,e,n,r,i){if(t.isRootInsert=!i,!a(t,e,n,r)){var o=t.data,s=t.children,u=t.tag;ge(u)?(t.elm=t.ns?$.createElementNS(t.ns,u):$.createElement(u,t),h(t),f(t,s,e),ge(o)&&p(t,e),c(n,t.elm,r)):t.isComment?(t.elm=$.createComment(t.text),c(n,t.elm,r)):(t.elm=$.createTextNode(t.text),c(n,t.elm,r))}}function a(t,e,n,r){var i=t.data;if(ge(i)){var o=ge(t.child)&&i.keepAlive;if(ge(i=i.hook)&&ge(i=i.init)&&i(t,!1,n,r),ge(t.child))return d(t,e),o&&u(t,e,n,r),!0}}function u(t,e,n,r){for(var i,o=t;o.child;)if(o=o.child._vnode,ge(i=o.data)&&ge(i=i.transition)){for(i=0;i<C.activate.length;++i)C.activate[i](Ir,o);e.push(o);break}c(n,t.elm,r)}function c(t,e,n){t&&(n?$.insertBefore(t,e,n):$.appendChild(t,e))}function f(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)o(e[r],n,t.elm,null,!0);else s(t.text)&&$.appendChild(t.elm,$.createTextNode(t.text))}function l(t){for(;t.child;)t=t.child._vnode;return ge(t.tag)}function p(t,e){for(var n=0;n<C.create.length;++n)C.create[n](Ir,t);k=t.data.hook,ge(k)&&(k.create&&k.create(Ir,t),k.insert&&e.push(t))}function d(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,l(t)?(p(t,e),h(t)):(ye(t),e.push(t))}function h(t){var e;ge(e=t.context)&&ge(e=e.$options._scopeId)&&$.setAttribute(t.elm,e,""),ge(e=hr)&&e!==t.context&&ge(e=e.$options._scopeId)&&$.setAttribute(t.elm,e,"")}function v(t,e,n,r,i,a){for(;r<=i;++r)o(n[r],a,t,e)}function m(t){var e,n,r=t.data;if(ge(r))for(ge(e=r.hook)&&ge(e=e.destroy)&&e(t),e=0;e<C.destroy.length;++e)C.destroy[e](t);if(ge(e=t.children))for(n=0;n<t.children.length;++n)m(t.children[n])}function y(t,e,n,i){for(;n<=i;++n){var o=e[n];ge(o)&&(ge(o.tag)?(_(o),m(o)):r(o.elm))}}function _(t,e){if(e||ge(t.data)){var i=C.remove.length+1;for(e?e.listeners+=i:e=n(t.elm,i),ge(k=t.child)&&ge(k=k._vnode)&&ge(k.data)&&_(k,e),k=0;k<C.remove.length;++k)C.remove[k](t,e);ge(k=t.data.hook)&&ge(k=k.remove)?k(t,e):e()}else r(t.elm)}function g(t,e,n,r,i){for(var a,s,u,c,f=0,l=0,p=e.length-1,d=e[0],h=e[p],m=n.length-1,_=n[0],g=n[m],w=!i;f<=p&&l<=m;)_e(d)?d=e[++f]:_e(h)?h=e[--p]:be(d,_)?(b(d,_,r),d=e[++f],_=n[++l]):be(h,g)?(b(h,g,r),h=e[--p],g=n[--m]):be(d,g)?(b(d,g,r),w&&$.insertBefore(t,d.elm,$.nextSibling(h.elm)),d=e[++f],g=n[--m]):be(h,_)?(b(h,_,r),w&&$.insertBefore(t,h.elm,d.elm),h=e[--p],_=n[++l]):(_e(a)&&(a=we(e,f,p)),s=ge(_.key)?a[_.key]:null,_e(s)?(o(_,r,t,d.elm),_=n[++l]):(u=e[s],be(u,_)?(b(u,_,r),e[s]=void 0,w&&$.insertBefore(t,_.elm,d.elm),_=n[++l]):(o(_,r,t,d.elm),_=n[++l])));f>p?(c=_e(n[m+1])?null:n[m+1].elm,v(t,c,n,l,m,r)):l>m&&y(t,e,f,p)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var i,o=e.data,a=ge(o);a&&ge(i=o.hook)&&ge(i=i.prepatch)&&i(t,e);var s=e.elm=t.elm,u=t.children,c=e.children;if(a&&l(e)){for(i=0;i<C.update.length;++i)C.update[i](t,e);ge(i=o.hook)&&ge(i=i.update)&&i(t,e)}_e(e.text)?ge(u)&&ge(c)?u!==c&&g(s,u,c,n,r):ge(c)?(ge(t.text)&&$.setTextContent(s,""),v(s,null,c,0,c.length-1,n)):ge(u)?y(s,u,0,u.length-1):ge(t.text)&&$.setTextContent(s,""):t.text!==e.text&&$.setTextContent(s,e.text),a&&ge(i=o.hook)&&ge(i=i.postpatch)&&i(t,e)}}function w(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function x(t,e,n){e.elm=t;var r=e.tag,i=e.data,o=e.children;if(ge(i)&&(ge(k=i.hook)&&ge(k=k.init)&&k(e,!0),ge(k=e.child)))return d(e,n),!0;if(ge(r)){if(ge(o))if(t.hasChildNodes()){for(var a=!0,s=t.firstChild,u=0;u<o.length;u++){if(!s||!x(s,o[u],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else f(e,o,n);if(ge(i))for(var c in i)if(!E(c)){p(e,n);break}}return!0}var k,A,C={},O=t.modules,$=t.nodeOps;for(k=0;k<Vr.length;++k)for(C[Vr[k]]=[],A=0;A<O.length;++A)void 0!==O[A][Vr[k]]&&C[Vr[k]].push(O[A][Vr[k]]);var E=i("attrs,style,class,staticClass,staticStyle,key");return function(t,n,r,i,a,s){if(!n)return void(t&&m(t));var u,c,f=!1,p=[];if(t){var d=ge(t.nodeType);if(!d&&be(t,n))b(t,n,p,i);else{if(d){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&x(t,n,p))return w(n,p,!0),t;t=e(t)}if(u=t.elm,c=$.parentNode(u),o(n,p,c,$.nextSibling(u)),n.parent){for(var h=n.parent;h;)h.elm=n.elm,h=h.parent;if(l(n))for(var v=0;v<C.create.length;++v)C.create[v](Ir,n.parent)}null!==c?y(c,[t],0,0):ge(t.tag)&&m(t)}}else f=!0,o(n,p,a,s);return w(n,p,f),n.elm}}function ke(t,e){(t.data.directives||e.data.directives)&&Ae(t,e)}function Ae(t,e){var n,r,i,o=t===Ir,a=e===Ir,s=Ce(t.data.directives,t.context),u=Ce(e.data.directives,e.context),c=[],f=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,$e(i,"update",e,t),i.def&&i.def.componentUpdated&&f.push(i)):($e(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){for(var n=0;n<c.length;n++)$e(c[n],"inserted",e,t)};o?st(e.data.hook||(e.data.hook={}),"insert",l,"dir-insert"):l()}if(f.length&&st(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<f.length;n++)$e(f[n],"componentUpdated",e,t)},"dir-postpatch"),!o)for(n in s)u[n]||$e(s[n],"unbind",t,t,a)}function Ce(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Hr),n[Oe(i)]=i,i.def=U(e.$options,"directives",i.name,!0);return n}function Oe(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function $e(t,e,n,r,i){var o=t.def&&t.def[e];o&&o(n.elm,t,n,r,i)}function Ee(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=l({},s));for(n in s)r=s[n],i=a[n],i!==r&&je(o,n,r);Ln&&s.value!==a.value&&je(o,"value",s.value);for(n in a)null==s[n]&&(Sr(n)?o.removeAttributeNS(jr,Tr(n)):$r(n)||o.removeAttribute(n))}}function je(t,e,n){Er(e)?Pr(n)?t.removeAttribute(e):t.setAttribute(e,e):$r(e)?t.setAttribute(e,Pr(n)||"false"===n?"false":"true"):Sr(e)?Pr(n)?t.removeAttributeNS(jr,Tr(e)):t.setAttributeNS(jr,e,n):Pr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Se(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Xt(e),a=n._transitionClasses;a&&(o=te(o,ee(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Te(t,e,n,r){if(n){var i=e;e=function(n){Pe(t,e,r),1===arguments.length?i(n):i.apply(null,arguments)}}kr.addEventListener(t,e,r)}function Pe(t,e,n){kr.removeEventListener(t,e,n)}function Me(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{};kr=e.elm,ut(n,r,Te,Pe,e.context)}}function Re(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=l({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],("textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),r!==o[n]))&&("checked"!==n||Le(i,r)))if("value"===n){i._value=r;var s=null==r?"":String(r);De(i,e,s)&&(i.value=s)}else i[n]=r}}function De(t,e,n){return!(t.composing||"option"!==e.tag&&!Le(t,n)&&!Ne(e,n))}function Le(t,e){return document.activeElement!==t&&t.value!==e}function Ne(t,e){var n=t.elm.value,i=t.elm._vModifiers;return i&&i.number||"number"===t.elm.type?r(n)!==r(e):i&&i.trim?n.trim()!==e.trim():n!==e}function Ue(t){var e=Fe(t.style);return t.staticStyle?l(t.staticStyle,e):e}function Fe(t){return Array.isArray(t)?h(t):"string"==typeof t?Wr(t):t}function Ie(t,e){var n,r={};if(e)for(var i=t;i.child;)i=i.child._vnode,i.data&&(n=Ue(i.data))&&l(r,n);(n=Ue(t.data))&&l(r,n);for(var o=t;o=o.parent;)o.data&&(n=Ue(o.data))&&l(r,n);return r}function Ve(t,e){var n=e.data,r=t.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=e.elm,s=t.data.staticStyle,u=t.data.style||{},c=s||u,f=Fe(e.data.style)||{};e.data.style=f.__ob__?l({},f):f;var p=Ie(e,!0);for(o in c)null==p[o]&&Zr(a,o,"");for(o in p)i=p[o],i!==c[o]&&Zr(a,o,null==i?"":i)}}function qe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function He(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Be(t){ci(function(){ci(t)})}function ze(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),qe(t,e)}function Ge(t,e){t._transitionClasses&&o(t._transitionClasses,e),He(t,e)}function Ke(t,e,n){var r=Je(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ri?ai:ui,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u<a&&c()},o+1),t.addEventListener(s,f)}function Je(t,e){var n,r=window.getComputedStyle(t),i=r[oi+"Delay"].split(", "),o=r[oi+"Duration"].split(", "),a=We(i,o),s=r[si+"Delay"].split(", "),u=r[si+"Duration"].split(", "),c=We(s,u),f=0,l=0;e===ri?a>0&&(n=ri,f=a,l=o.length):e===ii?c>0&&(n=ii,f=c,l=u.length):(f=Math.max(a,c),n=f>0?a>c?ri:ii:null,l=n?n===ri?o.length:u.length:0);var p=n===ri&&fi.test(r[oi+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:p}}function We(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ye(e)+Ye(t[n])}))}function Ye(t){return 1e3*Number(t.slice(0,-1))}function Xe(t,e){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Qe(t.data.transition);if(r&&!n._enterCb&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterActiveClass,u=r.appearClass,c=r.appearActiveClass,f=r.beforeEnter,l=r.enter,p=r.afterEnter,d=r.enterCancelled,h=r.beforeAppear,v=r.appear,m=r.afterAppear,y=r.appearCancelled,_=hr,g=hr.$vnode;g&&g.parent;)g=g.parent,_=g.context;var b=!_._isMounted||!t.isRootInsert; 2 | if(!b||v||""===v){var w=b?u:a,x=b?c:s,k=b?h||f:f,A=b&&"function"==typeof v?v:l,C=b?m||p:p,O=b?y||d:d,$=i!==!1&&!Ln,E=A&&(A._length||A.length)>1,j=n._enterCb=tn(function(){$&&Ge(n,x),j.cancelled?($&&Ge(n,w),O&&O(n)):C&&C(n),n._enterCb=null});t.data.show||st(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),A&&A(n,j)},"transition-insert"),k&&k(n),$&&(ze(n,w),Be(function(){Ge(n,w),ze(n,x),j.cancelled||E||Ke(n,o,j)})),t.data.show&&(e&&e(),A&&A(n,j)),$||E||j()}}}function Ze(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),h&&(ze(r,s),Be(function(){Ge(r,s),ze(r,u),m.cancelled||v||Ke(r,a,m)})),f&&f(r,m),h||v||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Qe(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,u=i.leaveActiveClass,c=i.beforeLeave,f=i.leave,l=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,h=o!==!1&&!Ln,v=f&&(f._length||f.length)>1,m=r._leaveCb=tn(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&Ge(r,u),m.cancelled?(h&&Ge(r,s),p&&p(r)):(e(),l&&l(r)),r._leaveCb=null});d?d(n):n()}}function Qe(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&l(e,li(t.name||"v")),l(e,t),e}return"string"==typeof t?li(t):void 0}}function tn(t){var e=!1;return function(){e||(e=!0,t())}}function en(t,e){e.data.show||Xe(e)}function nn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=_(r,on(a))>-1,a.selected!==o&&(a.selected=o);else if(y(on(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function rn(t,e){for(var n=0,r=e.length;n<r;n++)if(y(on(e[n]),t))return!1;return!0}function on(t){return"_value"in t?t._value:t.value}function an(t){t.target.composing=!0}function sn(t){t.target.composing=!1,un(t.target,"input")}function un(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function cn(t){return!t.child||t.data&&t.data.transition?t:cn(t.child._vnode)}function fn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fn(ht(e.children)):t}function ln(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[xn(o)]=i[o].fn;return e}function pn(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function dn(t){for(;t=t.parent;)if(t.data.transition)return!0}function hn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function vn(t){t.data.newPos=t.elm.getBoundingClientRect()}function mn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var yn,_n,gn=i("slot,component",!0),bn=Object.prototype.hasOwnProperty,wn=/-(\w)/g,xn=u(function(t){return t.replace(wn,function(t,e){return e?e.toUpperCase():""})}),kn=u(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),An=/([^-])([A-Z])/g,Cn=u(function(t){return t.replace(An,"$1-$2").replace(An,"$1-$2").toLowerCase()}),On=Object.prototype.toString,$n="[object Object]",En=function(){return!1},jn=function(t){return t},Sn={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:En,isUnknownElement:En,getTagNamespace:v,parsePlatformTagName:jn,mustUseProp:En,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},Tn=/[^\w.$]/,Pn="__proto__"in{},Mn="undefined"!=typeof window,Rn=Mn&&window.navigator.userAgent.toLowerCase(),Dn=Rn&&/msie|trident/.test(Rn),Ln=Rn&&Rn.indexOf("msie 9.0")>0,Nn=Rn&&Rn.indexOf("edge/")>0,Un=Rn&&Rn.indexOf("android")>0,Fn=Rn&&/iphone|ipad|ipod|ios/.test(Rn),In=function(){return void 0===yn&&(yn=!Mn&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),yn},Vn=Mn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,qn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"!=typeof Promise&&x(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};e=function(){i.then(t).catch(o),Fn&&setTimeout(v)}}else if("undefined"==typeof MutationObserver||!x(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),e=function(){a=(a+1)%2,u.data=String(a)}}return function(t,i){var o;if(n.push(function(){t&&t.call(i),o&&o(i)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();_n="undefined"!=typeof Set&&x(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hn,Bn=v,zn=0,Gn=function(){this.id=zn++,this.subs=[]};Gn.prototype.addSub=function(t){this.subs.push(t)},Gn.prototype.removeSub=function(t){o(this.subs,t)},Gn.prototype.depend=function(){Gn.target&&Gn.target.addDep(this)},Gn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Gn.target=null;var Kn=[],Jn=Array.prototype,Wn=Object.create(Jn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Jn[t];b(Wn,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Yn=Object.getOwnPropertyNames(Wn),Xn={shouldConvert:!0,isSettingProps:!1},Zn=function(t){if(this.value=t,this.dep=new Gn,this.vmCount=0,b(t,"__ob__",this),Array.isArray(t)){var e=Pn?C:O;e(t,Wn,Yn),this.observeArray(t)}else this.walk(t)};Zn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)E(t,e[n],t[e[n]])},Zn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)$(t[e])};var Qn=Sn.optionMergeStrategies;Qn.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?P(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return P(e.call(this),t.call(this))}:e:t},Sn._lifecycleHooks.forEach(function(t){Qn[t]=M}),Sn._assetTypes.forEach(function(t){Qn[t+"s"]=R}),Qn.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};l(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Qn.props=Qn.methods=Qn.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return l(n,t),l(n,e),n};var tr=function(t,e){return void 0===e?t:e},er=Object.freeze({defineReactive:E,_toString:n,toNumber:r,makeMap:i,isBuiltInTag:gn,remove:o,hasOwn:a,isPrimitive:s,cached:u,camelize:xn,capitalize:kn,hyphenate:Cn,bind:c,toArray:f,extend:l,isObject:p,isPlainObject:d,toObject:h,noop:v,no:En,identity:jn,genStaticKeys:m,looseEqual:y,looseIndexOf:_,isReserved:g,def:b,parsePath:w,hasProto:Pn,inBrowser:Mn,UA:Rn,isIE:Dn,isIE9:Ln,isEdge:Nn,isAndroid:Un,isIOS:Fn,isServerRendering:In,devtools:Vn,nextTick:qn,get _Set(){return _n},mergeOptions:N,resolveAsset:U,get warn(){return Bn},get formatComponentName(){return Hn},validateProp:F}),nr=[],rr={},ir=!1,or=!1,ar=0,sr=0,ur=function(t,e,n,r){this.vm=t,t._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=++sr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new _n,this.newDepIds=new _n,this.expression="","function"==typeof e?this.getter=e:(this.getter=w(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ur.prototype.get=function(){k(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&G(t),A(),this.cleanupDeps(),t},ur.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ur.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},ur.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():z(this)},ur.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||p(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!Sn.errorHandler)throw t;Sn.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},ur.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ur.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},ur.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||o(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var cr,fr=new _n,lr={enumerable:!0,configurable:!0,get:v,set:v},pr=function(t,e,n,r,i,o,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},dr=function(){var t=new pr;return t.text="",t.isComment=!0,t},hr=null,vr={init:Ot,prepatch:$t,insert:Et,destroy:jt},mr=Object.keys(vr),yr=1,_r=2,gr=0;Vt(Bt),nt(Bt),gt(Bt),wt(Bt),Ft(Bt);var br=[String,RegExp],wr={name:"keep-alive",abstract:!0,props:{include:br,exclude:br},created:function(){this.cache=Object.create(null)},render:function(){var t=ht(this.$slots.default);if(t&&t.componentOptions){var e=t.componentOptions,n=e.Ctor.options.name||e.tag;if(n&&(this.include&&!Wt(this.include,n)||this.exclude&&Wt(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.child=this.cache[r].child:this.cache[r]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];xt(n.child,"deactivated"),n.child.$destroy()}}},xr={KeepAlive:wr};Yt(Bt),Object.defineProperty(Bt.prototype,"$isServer",{get:In}),Bt.version="2.1.7";var kr,Ar,Cr=i("input,textarea,option,select"),Or=function(t,e){return"value"===e&&Cr(t)||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},$r=i("contenteditable,draggable,spellcheck"),Er=i("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),jr="http://www.w3.org/1999/xlink",Sr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Tr=function(t){return Sr(t)?t.slice(6,t.length):""},Pr=function(t){return null==t||t===!1},Mr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Rr=i("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Dr=i("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Lr=function(t){return Rr(t)||Dr(t)},Nr=Object.create(null),Ur=Object.freeze({createElement:oe,createElementNS:ae,createTextNode:se,createComment:ue,insertBefore:ce,removeChild:fe,appendChild:le,parentNode:pe,nextSibling:de,tagName:he,setTextContent:ve,setAttribute:me}),Fr={create:function(t,e){ye(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ye(t,!0),ye(e))},destroy:function(t){ye(t,!0)}},Ir=new pr("",{},[]),Vr=["create","activate","update","remove","destroy"],qr={create:ke,update:ke,destroy:function(t){ke(t,Ir)}},Hr=Object.create(null),Br=[Fr,qr],zr={create:Ee,update:Ee},Gr={create:Se,update:Se},Kr={create:Me,update:Me},Jr={create:Re,update:Re},Wr=u(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Yr=/^--/,Xr=/\s*!important$/,Zr=function(t,e,n){Yr.test(e)?t.style.setProperty(e,n):Xr.test(n)?t.style.setProperty(e,n.replace(Xr,""),"important"):t.style[ti(e)]=n},Qr=["Webkit","Moz","ms"],ti=u(function(t){if(Ar=Ar||document.createElement("div"),t=xn(t),"filter"!==t&&t in Ar.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Qr.length;n++){var r=Qr[n]+e;if(r in Ar.style)return r}}),ei={create:Ve,update:Ve},ni=Mn&&!Ln,ri="transition",ii="animation",oi="transition",ai="transitionend",si="animation",ui="animationend";ni&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(oi="WebkitTransition",ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(si="WebkitAnimation",ui="webkitAnimationEnd"));var ci=Mn&&window.requestAnimationFrame||setTimeout,fi=/\b(transform|all)(,|$)/,li=u(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),pi=Mn?{create:en,activate:en,remove:function(t,e){t.data.show?e():Ze(t,e)}}:{},di=[zr,Gr,Kr,Jr,ei,pi],hi=di.concat(Br),vi=xe({nodeOps:Ur,modules:hi});Ln&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&un(t,"input")});var mi={inserted:function(t,e,n){if("select"===n.tag){var r=function(){nn(t,e,n.context)};r(),(Dn||Nn)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(Un||(t.addEventListener("compositionstart",an),t.addEventListener("compositionend",sn)),Ln&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){nn(t,e,n.context);var r=t.multiple?e.value.some(function(e){return rn(e,t.options)}):e.value!==e.oldValue&&rn(e.value,t.options);r&&un(t,"change")}}},yi={bind:function(t,e,n){var r=e.value;n=cn(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!Ln?(n.data.show=!0,Xe(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=cn(n);var o=n.data&&n.data.transition;o&&!Ln?(n.data.show=!0,r?Xe(n,function(){t.style.display=t.__vOriginalDisplay}):Ze(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},_i={model:mi,show:yi},gi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},bi={name:"transition",props:gi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag}),n.length)){var r=this.mode,i=n[0];if(dn(this.$vnode))return i;var o=fn(i);if(!o)return i;if(this._leaving)return pn(t,i);var a=o.key=null==o.key||o.isStatic?"__v"+(o.tag+this._uid)+"__":o.key,s=(o.data||(o.data={})).transition=ln(this),u=this._vnode,c=fn(u);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),c&&c.data&&c.key!==a){var f=c.data.transition=l({},s);if("out-in"===r)return this._leaving=!0,st(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},a),pn(t,i);if("in-out"===r){var p,d=function(){p()};st(s,"afterEnter",d,a),st(s,"enterCancelled",d,a),st(f,"delayLeave",function(t){p=t},a)}}return i}}},wi=l({tag:String,moveClass:String},gi);delete wi.mode;var xi={props:wi,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ln(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var c=[],f=[],l=0;l<r.length;l++){var p=r[l];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):f.push(p)}this.kept=t(e,null,c),this.removed=f}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(hn),t.forEach(vn),t.forEach(mn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;ze(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ai,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(ai,t),n._moveCb=null,Ge(n,e))})}})}},methods:{hasMove:function(t,e){if(!ni)return!1;if(null!=this._hasMove)return this._hasMove;ze(t,e);var n=Je(t);return Ge(t,e),this._hasMove=n.hasTransform}}},ki={Transition:bi,TransitionGroup:xi};Bt.config.isUnknownElement=re,Bt.config.isReservedTag=Lr,Bt.config.getTagNamespace=ne,Bt.config.mustUseProp=Or,l(Bt.options.directives,_i),l(Bt.options.components,ki),Bt.prototype.__patch__=Mn?vi:v,Bt.prototype.$mount=function(t,e){return t=t&&Mn?ie(t):void 0,this._mount(t,e)},setTimeout(function(){Sn.devtools&&Vn&&Vn.emit("init",Bt)},0),t.exports=Bt}).call(e,n(21))},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(10),a=n.n(o),s=n(9),u=n(8),c=n(19);n.n(c);n.d(e,"a",function(){return s.a}),n.d(e,"b",function(){return f}),n.i(c.sync)(s.a,u.a);var f=new i.a(i.a.util.extend({router:u.a,store:s.a},a.a))},function(t,e){/*! 3 | * @overview es6-promise - a tiny implementation of Promises/A+. 4 | * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) 5 | * @license Licensed under MIT license 6 | * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE 7 | * @version 4.0.5 8 | */ 9 | !function(n,r){"object"==typeof e&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):n.ES6Promise=r()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){G=t}function r(t){K=t}function i(){return function(){return process.nextTick(c)}}function o(){return"undefined"!=typeof z?function(){z(c)}:u()}function a(){var t=0,e=new Y(c),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function s(){var t=new MessageChannel;return t.port1.onmessage=c,function(){return t.port2.postMessage(0)}}function u(){var t=setTimeout;return function(){return t(c,1)}}function c(){for(var t=0;t<B;t+=2){var e=Q[t],n=Q[t+1];e(n),Q[t]=void 0,Q[t+1]=void 0}B=0}function f(){try{var t=require,e=t("vertx");return z=e.runOnLoop||e.runOnContext,o()}catch(t){return u()}}function l(t,e){var n=arguments,r=this,i=new this.constructor(d);void 0===i[et]&&P(i);var o=r._state;return o?!function(){var t=n[o-1];K(function(){return j(o,i,t,r._result)})}():C(r,i,t,e),i}function p(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(d);return w(n,t),n}function d(){}function h(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function m(t){try{return t.then}catch(t){return ot.error=t,ot}}function y(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function _(t,e,n){K(function(t){var r=!1,i=y(n,e,function(n){r||(r=!0,e!==n?w(t,n):k(t,n))},function(e){r||(r=!0,A(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,A(t,i))},t)}function g(t,e){e._state===rt?k(t,e._result):e._state===it?A(t,e._result):C(e,void 0,function(e){return w(t,e)},function(e){return A(t,e)})}function b(t,n,r){n.constructor===t.constructor&&r===l&&n.constructor.resolve===p?g(t,n):r===ot?A(t,ot.error):void 0===r?k(t,n):e(r)?_(t,n,r):k(t,n)}function w(e,n){e===n?A(e,h()):t(n)?b(e,n,m(n)):k(e,n)}function x(t){t._onerror&&t._onerror(t._result),O(t)}function k(t,e){t._state===nt&&(t._result=e,t._state=rt,0!==t._subscribers.length&&K(O,t))}function A(t,e){t._state===nt&&(t._state=it,t._result=e,K(x,t))}function C(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+rt]=n,i[o+it]=r,0===o&&t._state&&K(O,t)}function O(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,a=0;a<e.length;a+=3)r=e[a],i=e[a+n],r?j(n,r,i,o):i(o);t._subscribers.length=0}}function $(){this.error=null}function E(t,e){try{return t(e)}catch(t){return at.error=t,at}}function j(t,n,r,i){var o=e(r),a=void 0,s=void 0,u=void 0,c=void 0;if(o){if(a=E(r,i),a===at?(c=!0,s=a.error,a=null):u=!0,n===a)return void A(n,v())}else a=i,u=!0;n._state!==nt||(o&&u?w(n,a):c?A(n,s):t===rt?k(n,a):t===it&&A(n,a))}function S(t,e){try{e(function(e){w(t,e)},function(e){A(t,e)})}catch(e){A(t,e)}}function T(){return st++}function P(t){t[et]=st++,t._state=void 0,t._result=void 0,t._subscribers=[]}function M(t,e){this._instanceConstructor=t,this.promise=new t(d),this.promise[et]||P(this.promise),H(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&k(this.promise,this._result))):A(this.promise,R())}function R(){return new Error("Array Methods must be provided an Array")}function D(t){return new M(this,t).promise}function L(t){var e=this;return new e(H(t)?function(n,r){for(var i=t.length,o=0;o<i;o++)e.resolve(t[o]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function N(t){var e=this,n=new e(d);return A(n,t),n}function U(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function F(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function I(t){this[et]=T(),this._result=this._state=void 0,this._subscribers=[],d!==t&&("function"!=typeof t&&U(),this instanceof I?S(this,t):F())}function V(){var t=void 0;if("undefined"!=typeof global)t=global;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=I}var q=void 0;q=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var H=q,B=0,z=void 0,G=void 0,K=function(t,e){Q[B]=t,Q[B+1]=e,B+=2,2===B&&(G?G(c):tt())},J="undefined"!=typeof window?window:void 0,W=J||{},Y=W.MutationObserver||W.WebKitMutationObserver,X="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),Z="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),tt=void 0;tt=X?i():Y?a():Z?s():void 0===J&&"function"==typeof require?f():u();var et=Math.random().toString(36).substring(16),nt=void 0,rt=1,it=2,ot=new $,at=new $,st=0;return M.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===nt&&n<t;n++)this._eachEntry(e[n],n)},M.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===p){var i=m(t);if(i===l&&t._state!==nt)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(n===I){var o=new n(d);b(o,t,i),this._willSettleAt(o,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},M.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===nt&&(this._remaining--,t===it?A(r,n):this._result[e]=n),0===this._remaining&&k(r,this._result)},M.prototype._willSettleAt=function(t,e){var n=this;C(t,void 0,function(t){return n._settledAt(rt,e,t)},function(t){return n._settledAt(it,e,t)})},I.all=D,I.race=L,I.resolve=p,I.reject=N,I._setScheduler=n,I._setAsap=r,I._asap=K,I.prototype={constructor:I,then:l,catch:function(t){return this.then(null,t)}},I.polyfill=V,I.Promise=I,I})},function(t,e){},function(t,e){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"Vue SSR Template",description:"this is main description",keywords:"view, main"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"view1 title",description:"this is view1 description",keywords:"view, view1"}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={mounted:function(){this.$emit("view",this.meta())},preFetch:function(){return this.methods.meta()},methods:{meta:function(){return{title:"view2 title",h1:"view2 - view2",description:"this is view2 description",keywords:"view, view2"}}}}},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(18),a=n.n(o),s=n(11),u=n.n(s),c=n(12),f=n.n(c),l=n(13),p=n.n(l);i.a.use(a.a),e.a=new a.a({mode:"history",routes:[{path:"/",component:u.a},{path:"/view1",component:f.a},{path:"/view2",component:p.a}]})},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(20),a=n.n(o);i.a.use(a.a),e.a=new a.a.Store({state:{},actions:{},mutations:{}})},function(t,e,n){var r,i,o=n(16);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(5);var o=n(17);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(6);var o=n(15);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e,n){var r,i;r=n(7);var o=n(14);i=r=r||{},"object"!=typeof r.default&&"function"!=typeof r.default||(i=r=r.default),"function"==typeof i&&(i=i.options),i.render=o.render,i.staticRenderFns=o.staticRenderFns,t.exports=r},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h3",{staticClass:"view2-title"},[t._v("This is View2")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h3",{staticClass:"view1-title"},[t._v("This is View1")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"main-content"},[n("h1",[t._v("Vue.js SSR Template")]),t._v(" "),n("router-view"),t._v(" "),n("a",{staticClass:"fork-link",attrs:{href:"https://github.com/ccforward/vue-ssr/",title:"Fork me on GitHub"}},[t._v("Fork me on GitHub")])],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;t._self._c||e;return t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("img",{attrs:{src:"/public/logo.png"}}),t._v(" "),n("h2",{staticClass:"main-title"},[t._v("This is Main View")]),t._v(" "),n("a",{attrs:{href:"/"}},[t._v("Main")]),t._v(" "),n("a",{attrs:{href:"/view1"}},[t._v("view1")]),t._v(" "),n("a",{attrs:{href:"/view2"}},[t._v("view2")])])}]}},function(t,e,n){"use strict";function r(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function i(t,e){if(void 0===e&&(e={}),t){var n;try{n=o(t)}catch(t){n={}}for(var r in e)n[r]=e[r];return n}return e}function o(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=gt(n.shift()),i=n.length>0?gt(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]}),e):e}function a(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return _t(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(_t(e)):r.push(_t(e)+"="+_t(t)))}),r.join("&")}return _t(e)+"="+_t(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function s(t,e,n){var r={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:c(e),matched:t?u(t):[]};return n&&(r.redirectedFrom=c(n)),Object.freeze(r)}function u(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function c(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+a(n)+r}function f(t,e){return e===bt?t===e:!!e&&(t.path&&e.path?t.path.replace(wt,"")===e.path.replace(wt,"")&&t.hash===e.hash&&l(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&l(t.query,e.query)&&l(t.params,e.params)))}function l(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function p(t,e){return 0===t.path.indexOf(e.path.replace(/\/$/,""))&&(!e.hash||t.hash===e.hash)&&d(t.query,e.query)}function d(t,e){for(var n in e)if(!(n in t))return!1;return!0}function h(t){if(!(t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0!==t.button)){var e=t.target.getAttribute("target");if(!/\b_blank\b/i.test(e))return t.preventDefault(),!0}}function v(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=v(e.children)))return e}}function m(t){if(!m.installed){m.installed=!0,mt=t,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",yt),t.component("router-link",kt);var e=t.config.optionMergeStrategies;e.beforeRouteEnter=e.beforeRouteLeave=e.created}}function y(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var i=t.replace(/^\//,"").split("/"),o=0;o<i.length;o++){var a=i[o];"."!==a&&(".."===a?r.pop():r.push(a))}return""!==r[0]&&r.unshift(""),r.join("/")}function _(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function g(t){return t.replace(/\/\//g,"/")}function b(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){w(e,n,t)}),{pathMap:e,nameMap:n}}function w(t,e,n,r,i){var o=n.path,a=n.name,s={path:x(o,r),components:n.components||{default:n.component},instances:{},name:a,parent:r,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{}};n.children&&n.children.forEach(function(n){w(t,e,n,s)}),void 0!==n.alias&&(Array.isArray(n.alias)?n.alias.forEach(function(n){w(t,e,{path:n},r,s.path)}):w(t,e,{path:n.alias},r,s.path)),t[s.path]||(t[s.path]=s),a&&(e[a]||(e[a]=s))}function x(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:g(e.path+"/"+t)}function k(t,e){for(var n,r=[],i=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=Tt.exec(t));){var u=n[0],c=n[1],f=n.index;if(a+=t.slice(o,f),o=f+u.length,c)a+=c[1];else{var l=t[o],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var _=null!=p&&null!=l&&l!==p,g="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,x=h||v;r.push({name:d||i++,prefix:p||"",delimiter:w,optional:b,repeat:g,partial:_,asterisk:!!y,pattern:x?j(x):y?".*":"[^"+E(w)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&r.push(a),r}function A(t,e){return $(k(t,e))}function C(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function O(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function $(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},a=r||{},s=a.pretty?C:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!=typeof c){var f,l=o[c.name];if(null==l){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(Ct(l)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(l)+"`");if(0===l.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<l.length;p++){if(f=s(l[p]),!e[u].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===p?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?O(l):s(l),!e[u].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');i+=c.prefix+f}}else i+=c}return i}}function E(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function j(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function S(t,e){return t.keys=e,t}function T(t){return t.sensitive?"":"i"}function P(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 S(t,e)}function M(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(L(t[i],e,n).source);var o=new RegExp("(?:"+r.join("|")+")",T(n));return S(o,e)}function R(t,e,n){return D(k(t,n),e,n)}function D(t,e,n){Ct(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=n.end!==!1,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=E(s);else{var u=E(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+u+c+")*"),c=s.optional?s.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")",o+=c}}var f=E(n.delimiter||"/"),l=o.slice(-f.length)===f;return r||(o=(l?o.slice(0,-f.length):o)+"(?:"+f+"(?=$))?"),o+=i?"$":r&&l?"":"(?="+f+"|$)",S(new RegExp("^"+o,T(n)),e)}function L(t,e,n){return Ct(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?P(t,e):Ct(t)?M(t,e,n):R(t,e,n)}function N(t){var e,n,r=Pt[t];return r?(e=r.keys,n=r.regexp):(e=[],n=Ot(t,e),Pt[t]={keys:e,regexp:n}),{keys:e,regexp:n}}function U(t,e,n){try{var r=Mt[t]||(Mt[t]=Ot.compile(t));return r(e||{},{pretty:!0})}catch(t){return""}}function F(t,e,n){var r="string"==typeof t?{path:t}:t;if(r.name||r._normalized)return r;if(!r.path&&r.params&&e){r=I({},r),r._normalized=!0;var o=I(I({},e.params),r.params);if(e.name)r.name=e.name,r.params=o;else if(e.matched){var a=e.matched[e.matched.length-1].path;r.path=U(a,o,"path "+e.path)}return r}var s=_(r.path||""),u=e&&e.path||"/",c=s.path?y(s.path,u,n||r.append):e&&e.path||"/",f=i(s.query,r.query),l=r.hash||s.hash;return l&&"#"!==l.charAt(0)&&(l="#"+l),{_normalized:!0,path:c,query:f,hash:l}}function I(t,e){for(var n in e)t[n]=e[n];return t}function V(t){function e(t,e,n){var r=F(t,e),i=r.name;if(i){var a=c[i],s=N(a.path).keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof r.params&&(r.params={}),e&&"object"==typeof e.params)for(var f in e.params)!(f in r.params)&&s.indexOf(f)>-1&&(r.params[f]=e.params[f]);if(a)return r.path=U(a.path,r.params,'named route "'+i+'"'),o(a,r,n)}else if(r.path){r.params={};for(var l in u)if(q(l,r.params,r.path))return o(u[l],r,n)}return o(null,r)}function n(t,n){var i=t.redirect,a="function"==typeof i?i(s(t,n)):i;if("string"==typeof a&&(a={path:a}),!a||"object"!=typeof a)return o(null,n);var u=a,f=u.name,l=u.path,p=n.query,d=n.hash,h=n.params;if(p=u.hasOwnProperty("query")?u.query:p,d=u.hasOwnProperty("hash")?u.hash:d,h=u.hasOwnProperty("params")?u.params:h,f){c[f];return e({_normalized:!0,name:f,query:p,hash:d,params:h},void 0,n)}if(l){var v=H(l,t),m=U(v,h,'redirect route with path "'+v+'"');return e({_normalized:!0,path:m,query:p,hash:d},void 0,n)}return r(!1,"invalid redirect option: "+JSON.stringify(a)),o(null,n)}function i(t,n,r){var i=U(r,n.params,'aliased route with path "'+r+'"'),a=e({_normalized:!0,path:i});if(a){var s=a.matched,u=s[s.length-1];return n.params=a.params,o(u,n)}return o(null,n)}function o(t,e,r){return t&&t.redirect?n(t,r||e):t&&t.matchAs?i(t,e,t.matchAs):s(t,e,r)}var a=b(t),u=a.pathMap,c=a.nameMap;return e}function q(t,e,n){var r=N(t),i=r.regexp,o=r.keys,a=n.match(i);if(!a)return!1;if(!e)return!0;for(var s=1,u=a.length;s<u;++s){var c=o[s-1],f="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];c&&(e[c.name]=f)}return!0}function H(t,e){return y(t,e.parent?e.parent.path:"/",!0)}function B(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],function(){r(i+1)}):r(i+1)};r(0)}function z(t){if(!t)if(Rt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function G(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{activated:e.slice(n),deactivated:t.slice(n)}}function K(t,e){return"function"!=typeof t&&(t=mt.extend(t)),t.options[e]}function J(t){return et(tt(t,function(t,e){var n=K(t,"beforeRouteLeave");if(n)return Array.isArray(n)?n.map(function(t){return W(t,e)}):W(n,e)}).reverse())}function W(t,e){return function(){return t.apply(e,arguments)}}function Y(t,e,n){return et(tt(t,function(t,r,i,o){var a=K(t,"beforeRouteEnter");if(a)return Array.isArray(a)?a.map(function(t){return X(t,e,i,o,n)}):X(a,e,i,o,n)}))}function X(t,e,n,r,i){return function(o,a,s){return t(o,a,function(t){s(t),"function"==typeof t&&e.push(function(){Z(t,n.instances,r,i)})})}}function Z(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){Z(t,e,n,r)},16)}function Q(t){return tt(t,function(t,e,n,i){if("function"==typeof t&&!t.options)return function(e,o,a){var s=function(t){n.components[i]=t,a()},u=function(t){r(!1,"Failed to resolve async component "+i+": "+t),a(!1)},c=t(s,u);c&&"function"==typeof c.then&&c.then(s,u)}})}function tt(t,e){return et(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function et(t){return Array.prototype.concat.apply([],t)}function nt(t){t&&(Nt[t]={x:window.pageXOffset,y:window.pageYOffset})}function rt(t){if(t)return Nt[t]}function it(t){var e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}function ot(t){return st(t.x)||st(t.y)}function at(t){return{x:st(t.x)?t.x:window.pageXOffset,y:st(t.y)?t.y:window.pageYOffset}}function st(t){return"number"==typeof t}function ut(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function ct(t,e){var n=window.history;try{e?n.replaceState({key:Ft},"",t):(Ft=Ut(),n.pushState({key:Ft},"",t)),nt(Ft)}catch(n){window.location[e?"assign":"replace"](t)}}function ft(t){ct(t,!0)}function lt(){var t=pt();return"/"===t.charAt(0)||(ht("/"+t),!1)}function pt(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function dt(t){window.location.hash=t}function ht(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}function vt(t,e,n){var r="hash"===n?"#"+e:e;return t?g(t+"/"+r):r}var mt,yt={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,o=e.data;o.routerView=!0;for(var a=i.$route,s=i._routerViewCache||(i._routerViewCache={}),u=0,c=!1;i;)i.$vnode&&i.$vnode.data.routerView&&u++,i._inactive&&(c=!0),i=i.$parent;o.routerViewDepth=u;var f=a.matched[u];if(!f)return t();var l=n.name,p=c?s[l]:s[l]=f.components[l];if(!c){var d=o.hook||(o.hook={});d.init=function(t){f.instances[l]=t.child},d.prepatch=function(t,e){f.instances[l]=e.child},d.destroy=function(t){f.instances[l]===t.child&&(f.instances[l]=void 0)}}return t(p,o,r)}},_t=encodeURIComponent,gt=decodeURIComponent,bt=s(null,{path:"/"}),wt=/\/$/,xt=[String,Object],kt={name:"router-link",props:{to:{type:xt,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.normalizedTo,a=i.resolved,u=i.href,c={},l=this.activeClass||n.options.linkActiveClass||"router-link-active",d=o.path?s(null,o):a;c[l]=this.exact?f(r,d):p(r,d);var m=function(t){h(t)&&(e.replace?n.replace(o):n.push(o))},y={click:h};Array.isArray(this.event)?this.event.forEach(function(t){y[t]=m}):y[this.event]=m;var _={class:c};if("a"===this.tag)_.on=y,_.attrs={href:u};else{var g=v(this.$slots.default);if(g){g.isStatic=!1;var b=mt.util.extend,w=g.data=b({},g.data);w.on=y;var x=g.data.attrs=b({},g.data.attrs);x.href=u}else _.on=y}return t(this.tag,_,this.$slots.default)}},At=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Ct=At,Ot=L,$t=k,Et=A,jt=$,St=D,Tt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Ot.parse=$t,Ot.compile=Et,Ot.tokensToFunction=jt,Ot.tokensToRegExp=St;var Pt=Object.create(null),Mt=Object.create(null),Rt="undefined"!=typeof window,Dt=Rt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),Lt=function(t,e){this.router=t,this.base=z(e),this.current=bt,this.pending=null};Lt.prototype.listen=function(t){this.cb=t},Lt.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL()},n)},Lt.prototype.confirmTransition=function(t,e,n){var r=this,i=this.current,o=function(){n&&n()};if(f(t,i))return this.ensureURL(),o();var a=G(this.current.matched,t.matched),s=a.deactivated,u=a.activated,c=[].concat(J(s),this.router.beforeHooks,u.map(function(t){return t.beforeEnter}),Q(u));this.pending=t;var l=function(e,n){return r.pending!==t?o():void e(t,i,function(t){t===!1?(r.ensureURL(!0),o()):"string"==typeof t||"object"==typeof t?("object"==typeof t&&t.replace?r.replace(t):r.push(t),o()):n(t)})};B(c,l,function(){var n=[],i=Y(u,n,function(){return r.current===t});B(i,l,function(){return r.pending!==t?o():(r.pending=null,e(t),void(r.router.app&&r.router.app.$nextTick(function(){n.forEach(function(t){return t()})})))})})},Lt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Nt=Object.create(null),Ut=function(){return String(Date.now())},Ft=Ut(),It=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior;window.addEventListener("popstate",function(t){Ft=t.state&&t.state.key;var e=r.current;r.transitionTo(ut(r.base),function(t){i&&r.handleScroll(t,e,!0)})}),i&&window.addEventListener("scroll",function(){nt(Ft)})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){ct(g(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},e.prototype.replace=function(t){var e=this,n=this.current;this.transitionTo(t,function(t){ft(g(e.base+t.fullPath)),e.handleScroll(t,n,!1)})},e.prototype.ensureURL=function(t){if(ut(this.base)!==this.current.fullPath){var e=g(this.base+this.current.fullPath);t?ct(e):ft(e)}},e.prototype.handleScroll=function(t,e,n){var r=this.router;if(r.app){var i=r.options.scrollBehavior;i&&r.app.$nextTick(function(){var r=rt(Ft),o=i(t,e,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=it(s):ot(o)&&(r=at(o))}else a&&ot(o)&&(r=at(o));r&&window.scrollTo(r.x,r.y)}})}},e}(Lt),Vt=function(t){function e(e,n,r){t.call(this,e,n),r&&this.checkFallback()||lt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.checkFallback=function(){var t=ut(this.base);if(!/^\/#/.test(t))return window.location.replace(g(this.base+"/#"+t)),!0},e.prototype.onHashChange=function(){lt()&&this.transitionTo(pt(),function(t){ht(t.fullPath)})},e.prototype.push=function(t){this.transitionTo(t,function(t){dt(t.fullPath)})},e.prototype.replace=function(t){this.transitionTo(t,function(t){ht(t.fullPath)})},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;pt()!==e&&(t?dt(e):ht(e))},e}(Lt),qt=function(t){function e(e){t.call(this,e),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){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index+1).concat(t),e.index++})},e.prototype.replace=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index).concat(t)})},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(){e.index=n,e.updateRoute(r)})}},e.prototype.ensureURL=function(){},e}(Lt),Ht=function(t){void 0===t&&(t={}),this.app=null,this.options=t,this.beforeHooks=[],this.afterHooks=[],this.match=V(t.routes||[]);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Dt,this.fallback&&(e="hash"),Rt||(e="abstract"),this.mode=e,e){case"history":this.history=new It(this,t.base);break;case"hash":this.history=new Vt(this,t.base,this.fallback);break;case"abstract":this.history=new qt(this)}},Bt={currentRoute:{}};Bt.currentRoute.get=function(){return this.history&&this.history.current},Ht.prototype.init=function(t){var e=this;this.app=t;var n=this.history;if(n instanceof It)n.transitionTo(ut(n.base));else if(n instanceof Vt){var r=function(){window.addEventListener("hashchange",function(){n.onHashChange()})};n.transitionTo(pt(),r,r)}n.listen(function(t){e.app._route=t})},Ht.prototype.beforeEach=function(t){this.beforeHooks.push(t)},Ht.prototype.afterEach=function(t){this.afterHooks.push(t)},Ht.prototype.push=function(t){this.history.push(t)},Ht.prototype.replace=function(t){this.history.replace(t)},Ht.prototype.go=function(t){this.history.go(t)},Ht.prototype.back=function(){this.go(-1)},Ht.prototype.forward=function(){this.go(1)},Ht.prototype.getMatchedComponents=function(t){var e=t?this.resolve(t).resolved:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Ht.prototype.resolve=function(t,e,n){var r=F(t,e||this.history.current,n),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=vt(a,o,this.mode);return{normalizedTo:r,resolved:i,href:s}},Object.defineProperties(Ht.prototype,Bt),Ht.install=m,Rt&&window.Vue&&window.Vue.use(Ht),t.exports=Ht},function(t,e){function n(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=n(e)),Object.freeze(r)}e.sync=function(t,e,r){var i=(r||{}).moduleName||"route";t.registerModule(i,{state:{},mutations:{"router/ROUTE_CHANGED":function(e,r){t.state[i]=n(r.to,r.from)}}});var o,a=!1;t.watch(function(t){return t[i]},function(t){t.fullPath!==o&&(a=!0,o=t.fullPath,e.push(t))},{sync:!0}),e.afterEach(function(e,n){return a?void(a=!1):(o=e.fullPath,void t.commit("router/ROUTE_CHANGED",{to:e,from:n}))})}},function(t,e,n){/** 10 | * vuex v2.1.1 11 | * (c) 2016 Evan You 12 | * @license MIT 13 | */ 14 | !function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){x&&(t._devtoolHook=x,x.emit("vuex:init",t),x.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){x.emit("vuex:mutation",t,e)}))}function e(t){function e(){var t=this.$options;t.store?this.$store=t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}var n=Number(t.version.split(".")[0]);if(n>=2){var r=t.config._lifecycleHooks.indexOf("init")>-1;t.mixin(r?{init:e}:{beforeCreate:e})}else{var i=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,i.call(this,t)}}}function n(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function r(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function i(t,e){console.error("[vuex] module namespace not found in "+t+"(): "+e)}function o(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"==typeof t}function s(t){return t&&"function"==typeof t.then}function u(t,e){if(!t)throw new Error("[vuex] "+e)}function c(t,e){if(t.update(e),e.modules)for(var n in e.modules){if(!t.getChild(n))return void console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");c(t.getChild(n),e.modules[n])}}function f(t){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;p(t,e,[],t._modules.root,!0),l(t,e)}function l(t,e){var n=t._vm;t.getters={};var r=t._wrappedGetters,i={};o(r,function(e,n){i[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=S.config.silent;S.config.silent=!0,t._vm=new S({data:{state:e},computed:i}),S.config.silent=a,t.strict&&_(t),n&&(t._withCommit(function(){n.state=null}),S.nextTick(function(){return n.$destroy()}))}function p(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(a&&(t._modulesNamespaceMap[a]=r),!o&&!i){var s=g(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){S.set(s,u,r.state)})}var c=r.context=d(t,a);r.forEachMutation(function(e,r){var i=a+r;v(t,i,e,n)}),r.forEachAction(function(e,r){var i=a+r;m(t,i,e,c,n)}),r.forEachGetter(function(e,r){var i=a+r;y(t,i,e,c,n)}),r.forEachChild(function(r,o){p(t,e,n.concat(o),r,i)})}function d(t,e){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u,t._actions[u])?t.dispatch(u,a):void console.error("[vuex] unknown local action type: "+o.type+", global type: "+u)},commit:n?t.commit:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u,t._mutations[u])?void t.commit(u,a,s):void console.error("[vuex] unknown local mutation type: "+o.type+", global type: "+u)}};return Object.defineProperty(r,"getters",{get:n?function(){return t.getters}:function(){return h(t,e)}}),r}function h(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function v(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(e){n(g(t.state,r),e)})}function m(t,e,n,r,i){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e,o){var a=n({dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:g(t.state,i),rootGetters:t.getters,rootState:t.state},e,o);return s(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}function y(t,e,n,r,i){return t._wrappedGetters[e]?void console.error("[vuex] duplicate getter key: "+e):void(t._wrappedGetters[e]=function(t){return n(g(t.state,i),r.getters,t.state,t.getters)})}function _(t){t._vm.$watch("state",function(){u(t._committing,"Do not mutate vuex store state outside mutation handlers.")},{deep:!0,sync:!0})}function g(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function w(t){return S?void console.error("[vuex] already installed. Vue.use(Vuex) should be called only once."):(S=t,void e(S))}var x="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,k=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,o=e.val;r[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=this.$store._modulesNamespaceMap[t];if(!r)return void i("mapState",t);e=r.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]}}),r}),A=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.commit.apply(this.$store,[i].concat(t))}}),r}),C=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){return i in this.$store.getters||console.error("[vuex] unknown getter: "+i),this.$store.getters[i]}}),r}),O=r(function(t,e){var r={};return n(e).forEach(function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return this.$store.dispatch.apply(this.$store,[i].concat(t))}}),r}),$=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t},E={state:{},namespaced:{}};E.state.get=function(){return this._rawModule.state||{}},E.namespaced.get=function(){return!!this._rawModule.namespaced},$.prototype.addChild=function(t,e){this._children[t]=e},$.prototype.removeChild=function(t){delete this._children[t]},$.prototype.getChild=function(t){return this._children[t]},$.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},$.prototype.forEachChild=function(t){o(this._children,t)},$.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},$.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},$.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties($.prototype,E);var j=function(t){var e=this;this.root=new $(t,!1),t.modules&&o(t.modules,function(t,n){e.register([n],t,!1)})};j.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},j.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},j.prototype.update=function(t){c(this.root,t)},j.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=this.get(t.slice(0,-1)),a=new $(e,n);i.addChild(t[t.length-1],a),e.modules&&o(e.modules,function(e,i){r.register(t.concat(i),e,n)})},j.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var S,T=function(e){var n=this;void 0===e&&(e={}),u(S,"must call Vue.use(Vuex) before creating a store instance."),u("undefined"!=typeof Promise,"vuex requires a Promise polyfill in this browser.");var r=e.state;void 0===r&&(r={});var i=e.plugins;void 0===i&&(i=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new j(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new S;var a=this,s=this,c=s.dispatch,f=s.commit;this.dispatch=function(t,e){return c.call(a,t,e)},this.commit=function(t,e,n){return f.call(a,t,e,n)},this.strict=o,p(this,r,[],this._modules.root),l(this,r),i.concat(t).forEach(function(t){return t(n)})},P={state:{}};P.state.get=function(){return this._vm.$data.state},P.state.set=function(t){u(!1,"Use store.replaceState() to explicit replace store state.")},T.prototype.commit=function(t,e,n){var r=this,i=b(t,e,n),o=i.type,a=i.payload,s=i.options,u={type:o,payload:a},c=this._mutations[o];return c?(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(u,r.state)}),void(s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools"))):void console.error("[vuex] unknown mutation type: "+o)},T.prototype.dispatch=function(t,e){var n=b(t,e),r=n.type,i=n.payload,o=this._actions[r];return o?o.length>1?Promise.all(o.map(function(t){return t(i)})):o[0](i):void console.error("[vuex] unknown action type: "+r)},T.prototype.subscribe=function(t){var e=this._subscribers;return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}},T.prototype.watch=function(t,e,n){var r=this;return u("function"==typeof t,"store.watch only accepts a function."),this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},T.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm.state=t})},T.prototype.registerModule=function(t,e){"string"==typeof t&&(t=[t]),u(Array.isArray(t),"module path must be a string or an Array."),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t)),l(this,this.state)},T.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),u(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=g(e.state,t.slice(0,-1));S.delete(n,t[t.length-1])}),f(this)},T.prototype.hotUpdate=function(t){this._modules.update(t),f(this)},T.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(T.prototype,P),"undefined"!=typeof window&&window.Vue&&w(window.Vue);var M={Store:T,install:w,version:"2.1.1",mapState:k,mapMutations:A,mapGetters:C,mapActions:O};return M})},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=n(1);n(4),n(3),n(2).polyfill(),r.a.replaceState(window.__INITIAL_STATE__),r.b.$mount("div")}],[22]); --------------------------------------------------------------------------------