From 4746256e553b19d4e37f264bf0c050fe0823d876 Mon Sep 17 00:00:00 2001 From: william-pan Date: Mon, 29 Jan 2018 04:51:20 +0800 Subject: [PATCH 001/740] refactor: use util.isNative to check native Proxy (#7549) --- src/core/instance/proxy.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/instance/proxy.js b/src/core/instance/proxy.js index 7454712f994..0d6dcf80639 100644 --- a/src/core/instance/proxy.js +++ b/src/core/instance/proxy.js @@ -1,7 +1,7 @@ /* not type checking this file because flow doesn't play well with Proxy */ import config from 'core/config' -import { warn, makeMap } from '../util/index' +import { warn, makeMap, isNative } from '../util/index' let initProxy @@ -25,8 +25,7 @@ if (process.env.NODE_ENV !== 'production') { } const hasProxy = - typeof Proxy !== 'undefined' && - Proxy.toString().match(/native code/) + typeof Proxy !== 'undefined' && isNative(Proxy) if (hasProxy) { const isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact') From ced00b1dec8326a653cce225133927fe5b4a3109 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 31 Jan 2018 02:53:25 -0500 Subject: [PATCH 002/740] fix: fix config.productionTip fix #7565 --- src/platforms/web/runtime/index.js | 46 ++++++++++++++++-------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/src/platforms/web/runtime/index.js b/src/platforms/web/runtime/index.js index 71fe444a19d..1283f521aaa 100644 --- a/src/platforms/web/runtime/index.js +++ b/src/platforms/web/runtime/index.js @@ -44,32 +44,34 @@ Vue.prototype.$mount = function ( // devtools global hook /* istanbul ignore next */ -Vue.nextTick(() => { - if (config.devtools) { - if (devtools) { - devtools.emit('init', Vue) - } else if ( - process.env.NODE_ENV !== 'production' && +if (inBrowser) { + setTimeout(() => { + if (config.devtools) { + if (devtools) { + devtools.emit('init', Vue) + } else if ( + process.env.NODE_ENV !== 'production' && + process.env.NODE_ENV !== 'test' && + isChrome + ) { + console[console.info ? 'info' : 'log']( + 'Download the Vue Devtools extension for a better development experience:\n' + + 'https://github.com/vuejs/vue-devtools' + ) + } + } + if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && - isChrome + config.productionTip !== false && + typeof console !== 'undefined' ) { console[console.info ? 'info' : 'log']( - 'Download the Vue Devtools extension for a better development experience:\n' + - 'https://github.com/vuejs/vue-devtools' + `You are running Vue in development mode.\n` + + `Make sure to turn on production mode when deploying for production.\n` + + `See more tips at https://vuejs.org/guide/deployment.html` ) } - } - if (process.env.NODE_ENV !== 'production' && - process.env.NODE_ENV !== 'test' && - config.productionTip !== false && - inBrowser && typeof console !== 'undefined' - ) { - console[console.info ? 'info' : 'log']( - `You are running Vue in development mode.\n` + - `Make sure to turn on production mode when deploying for production.\n` + - `See more tips at https://vuejs.org/guide/deployment.html` - ) - } -}, 0) + }, 0) +} export default Vue From acb3bde95bb9d4a77a42b9d93b9267ed751ec4e4 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 2 Feb 2018 12:23:31 -0500 Subject: [PATCH 003/740] chore: update sponsors --- BACKERS.md | 21 ++++++++++----------- README.md | 5 +++++ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index b220d849f94..6430414ef7c 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -108,6 +108,11 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on + + + + + @@ -209,12 +214,12 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Wasim Khamlichi -- errorrik +- errorrik - Alex Balashov - Konstantin Levinski - Samuel Smith - HARRI J SALOMAA -- tjkoury +- tjkoury - Evan Leonardi @@ -235,17 +240,16 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Frank Dugan III - Stephen Hartley - Wen-Tien Chang -- Chestnut Hill - Kirk Lewis - Karol F - Miljan Aleksic -- 叶解 +- 叶解 - Paul Straw - Jake Ingman - Barbara Liau - Isaac Sant - Milos Stojanovic -- 4 +- 4 - The Graphic Design School - Christian Griffith - Jarek Tkaczyk @@ -261,11 +265,10 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Duncan J Kenzie - Mike Margerum - Guy Gavergun -- Edithvale +- Edithvale - Intevation GmbH - Luiz Eduardo Tanure Bacelar - Chengzhi Yin -- Dan Barrett - Zoran Knezevic - James Simpson - Pierre Vanhulst @@ -283,21 +286,17 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Nicholas Reid - Tyler Scott - Thong Yong Jun -- Tai Shi Lgin - Bryan Gruneberg - Roman Kuba -- Matthew McMillion - Familiar Studio - Matias Verdier - Jamie McElwain - Vivekanandhan Natarajan -- Alejandro Mohamad - Rafael Belvederese - Mickaël Andrieu - Guilherme S L de Souza - Rob Yedlin - Daniel Waghorn -- Eric Githinji - Chih-Hsuan, Fan - Jordan Oroshiba - Brian Jorden diff --git a/README.md b/README.md index 5a0a2f3b647..9b37fd99ee5 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,11 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on + + + + + From 8053eb1fba4202274efed11044679e011a1e525b Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 2 Feb 2018 16:47:47 -0500 Subject: [PATCH 004/740] chore: update sponsors --- BACKERS.md | 9 ++++++++- README.md | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index 6430414ef7c..236d19bd359 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -109,15 +109,22 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - + + + + + + + + diff --git a/README.md b/README.md index 9b37fd99ee5..541ff855e45 100644 --- a/README.md +++ b/README.md @@ -117,15 +117,22 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - + + + + + + + + From 2d168f1ba11d77cb2f2caa3356de86e99aba8da6 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 4 Feb 2018 03:02:25 +0800 Subject: [PATCH 005/740] test(types): update TS version and fix types test (#7597) --- package-lock.json | 6 +++--- package.json | 2 +- types/test/plugin-test.ts | 4 ++-- types/test/vue-test.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6389efebcce..8f98c755ed7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9580,9 +9580,9 @@ "dev": true }, "typescript": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz", - "integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.7.1.tgz", + "integrity": "sha512-bqB1yS6o9TNA9ZC/MJxM0FZzPnZdtHj0xWK/IZ5khzVqdpGul/R/EIiHRgFXlwTD7PSIaYVnGKq1QgMCu2mnqw==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 41f1bcc0d0a..7a9a81fea8b 100644 --- a/package.json +++ b/package.json @@ -134,7 +134,7 @@ "selenium-server": "^2.53.1", "serialize-javascript": "^1.3.0", "shelljs": "^0.7.8", - "typescript": "^2.6.1", + "typescript": "^2.7.1", "uglify-js": "^3.0.15", "webpack": "^3.10.0", "weex-js-runtime": "^0.23.5", diff --git a/types/test/plugin-test.ts b/types/test/plugin-test.ts index 15055614e80..ebb352e8239 100644 --- a/types/test/plugin-test.ts +++ b/types/test/plugin-test.ts @@ -2,8 +2,8 @@ import Vue from "../index"; import { PluginFunction, PluginObject } from "../index"; class Option { - prefix: string; - suffix: string; + prefix: string = ""; + suffix: string = ""; } const plugin: PluginObject diff --git a/BACKERS.md b/BACKERS.md index 236d19bd359..6020cfc8436 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -8,7 +8,7 @@ Vue.js is an MIT-licensed open source project. It's an independent project with #### What's the difference between Patreon and OpenCollective? -Funds donated via Patreon goes directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses by core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform. +Funds donated via Patreon go directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses for core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform.

@@ -221,12 +221,12 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Wasim Khamlichi -- errorrik +- errorrik - Alex Balashov - Konstantin Levinski - Samuel Smith - HARRI J SALOMAA -- tjkoury +- tjkoury - Evan Leonardi @@ -250,13 +250,13 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Kirk Lewis - Karol F - Miljan Aleksic -- 叶解 +- 叶解 - Paul Straw - Jake Ingman - Barbara Liau - Isaac Sant - Milos Stojanovic -- 4 +- 4 - The Graphic Design School - Christian Griffith - Jarek Tkaczyk @@ -272,7 +272,7 @@ Funds donated via Patreon goes directly to support Evan You's full-time work on - Duncan J Kenzie - Mike Margerum - Guy Gavergun -- Edithvale +- Edithvale - Intevation GmbH - Luiz Eduardo Tanure Bacelar - Chengzhi Yin diff --git a/README.md b/README.md index 541ff855e45..f2216b2510a 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Vue.js is an MIT-licensed open source project. It's an independent project with #### What's the difference between Patreon and OpenCollective? -Funds donated via Patreon goes directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses by core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform. +Funds donated via Patreon go directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses for core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform.

Sponsors via Patreon

@@ -232,7 +232,7 @@ Detailed changes for each release are documented in the [release notes](https:// ## Contribution -Please make sure to read the [Contributing Guide](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md) before making a pull request. If you have a Vue-related project/component/tool, add it with a pull-request to [this curated list](https://github.com/vuejs/awesome-vue)! +Please make sure to read the [Contributing Guide](https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md) before making a pull request. If you have a Vue-related project/component/tool, add it with a pull request to [this curated list](https://github.com/vuejs/awesome-vue)! Thank you to all the people who already contributed to Vue! From 4e6d6379ee35f986a842c95964615dc27afa832f Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 9 Feb 2018 13:19:54 -0500 Subject: [PATCH 007/740] chore: update sponsors --- BACKERS.md | 22 ++++++++++++++++++---- README.md | 27 ++++++++++++++++++++------- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index 6020cfc8436..f1a48e253f6 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -12,9 +12,9 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu

-

Platinum via Patreon

+

Special Sponsors

- + @@ -23,11 +23,27 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu + + + +
+ + + +
+ + +

Platinum via Patreon

+ + + + + - - - - - + + - - + + + +
@@ -38,8 +54,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
diff --git a/README.md b/README.md index f2216b2510a..63d1b3edf99 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,8 @@ Vue.js is an MIT-licensed open source project. It's an independent project with Funds donated via Patreon go directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses for core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform. -

Sponsors via Patreon

- -

Platinum

- - +

Special Sponsors

+ @@ -36,11 +33,29 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu + + + +
+ + + +
+ + +

Sponsors via Patreon

+ +

Platinum

+ + + + + - - - - - + + - - + + + +
@@ -51,8 +66,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
From e396eb3445904f11232f2355f03e8356173d0e31 Mon Sep 17 00:00:00 2001 From: TB Date: Wed, 21 Feb 2018 15:21:51 +0000 Subject: [PATCH 008/740] fix(ref): allow ref key to be zero (#7676) prevents missing elements when :ref value is "0" fix #7669 --- src/core/vdom/modules/ref.js | 4 ++-- test/unit/features/ref.spec.js | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/core/vdom/modules/ref.js b/src/core/vdom/modules/ref.js index 00bb5f52709..aa9bdcfcfba 100644 --- a/src/core/vdom/modules/ref.js +++ b/src/core/vdom/modules/ref.js @@ -1,6 +1,6 @@ /* @flow */ -import { remove } from 'shared/util' +import { remove, isDef } from 'shared/util' export default { create (_: any, vnode: VNodeWithData) { @@ -19,7 +19,7 @@ export default { export function registerRef (vnode: VNodeWithData, isRemoval: ?boolean) { const key = vnode.data.ref - if (!key) return + if (!isDef(key)) return const vm = vnode.context const ref = vnode.componentInstance || vnode.elm diff --git a/test/unit/features/ref.spec.js b/test/unit/features/ref.spec.js index 05efc4d5244..971c8fbe678 100644 --- a/test/unit/features/ref.spec.js +++ b/test/unit/features/ref.spec.js @@ -9,6 +9,10 @@ describe('ref', () => { test2: { id: 'test2', template: '
test2
' + }, + test3: { + id: 'test3', + template: '
test3
' } } @@ -20,6 +24,7 @@ describe('ref', () => { template: `
+
`, components }) @@ -28,6 +33,8 @@ describe('ref', () => { expect(vm.$refs.foo.$options.id).toBe('test') expect(vm.$refs.bar).toBeTruthy() expect(vm.$refs.bar.$options.id).toBe('test2') + expect(vm.$refs['0']).toBeTruthy() + expect(vm.$refs['0'].$options.id).toBe('test3') }) it('should dynamically update refs', done => { From 1fa4a5e0fb2191e5b48b72710c92feaf51b3a979 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 21 Feb 2018 11:30:19 -0500 Subject: [PATCH 009/740] chore: update sponsor image --- BACKERS.md | 12 ++++++------ README.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index f1a48e253f6..daea0605ccc 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -25,7 +25,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
- + @@ -235,12 +235,12 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Wasim Khamlichi -- errorrik +- errorrik - Alex Balashov - Konstantin Levinski - Samuel Smith - HARRI J SALOMAA -- tjkoury +- tjkoury - Evan Leonardi @@ -264,13 +264,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Kirk Lewis - Karol F - Miljan Aleksic -- 叶解 +- 叶解 - Paul Straw - Jake Ingman - Barbara Liau - Isaac Sant - Milos Stojanovic -- 4 +- 4 - The Graphic Design School - Christian Griffith - Jarek Tkaczyk @@ -286,7 +286,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Duncan J Kenzie - Mike Margerum - Guy Gavergun -- Edithvale +- Edithvale - Intevation GmbH - Luiz Eduardo Tanure Bacelar - Chengzhi Yin diff --git a/README.md b/README.md index 63d1b3edf99..7d6406ff7ba 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - + From cd334070f3b82d3f5892c4999cc290ccd4f56fd8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 21 Feb 2018 13:11:11 -0500 Subject: [PATCH 010/740] fix: address potential regex backtrack --- src/compiler/codegen/events.js | 4 ++-- src/compiler/helpers.js | 4 +++- test/unit/modules/compiler/codegen.spec.js | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/compiler/codegen/events.js b/src/compiler/codegen/events.js index 2b53c2333fd..722e32a4d60 100644 --- a/src/compiler/codegen/events.js +++ b/src/compiler/codegen/events.js @@ -1,7 +1,7 @@ /* @flow */ -const fnExpRE = /^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/ -const simplePathRE = /^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/ +const fnExpRE = /^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/ +const simplePathRE = /^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/ // keyCode aliases const keyCodes: { [key: string]: number | Array } = { diff --git a/src/compiler/helpers.js b/src/compiler/helpers.js index 1d1feddbf01..6a7375a3080 100644 --- a/src/compiler/helpers.js +++ b/src/compiler/helpers.js @@ -100,7 +100,9 @@ export function addHandler ( events = el.events || (el.events = {}) } - const newHandler: any = { value } + const newHandler: any = { + value: value.trim() + } if (modifiers !== emptyObject) { newHandler.modifiers = modifiers } diff --git a/test/unit/modules/compiler/codegen.spec.js b/test/unit/modules/compiler/codegen.spec.js index b1085a571df..745ef33c228 100644 --- a/test/unit/modules/compiler/codegen.spec.js +++ b/test/unit/modules/compiler/codegen.spec.js @@ -428,7 +428,7 @@ describe('codegen', () => { it('should not treat handler with unexpected whitespace as inline statement', () => { assertCodegen( '', - `with(this){return _c('input',{on:{"input": onInput }})}` + `with(this){return _c('input',{on:{"input":onInput}})}` ) }) From a270111a2c89fd5273664f4be15d38c26ff5c6c2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 2 Mar 2018 13:08:06 -0500 Subject: [PATCH 011/740] chore: update sponsors --- BACKERS.md | 23 ++++++++++++++--------- README.md | 23 ++++++++++++++--------- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index daea0605ccc..a1a27173e87 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -90,11 +90,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - - - @@ -105,13 +100,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
@@ -137,14 +132,24 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
+ + + + + + + +
diff --git a/README.md b/README.md index 7d6406ff7ba..e202666b340 100644 --- a/README.md +++ b/README.md @@ -97,11 +97,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
- - - - @@ -112,13 +107,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
@@ -144,14 +139,24 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
+ + + + + + + +
From 990374bacbaa75ae2535370583714f1032e768a1 Mon Sep 17 00:00:00 2001 From: Hanks Date: Mon, 5 Mar 2018 11:58:24 +0800 Subject: [PATCH 012/740] feat(weex): support sending style sheets and class list to native (#7530) No longer manage style sheets and class list in vue and weex-js-runtime. Refer to https://github.com/Hanks10100/weex-native-directive/issues/14 --- package-lock.json | 45 +++++++++---------- package.json | 2 +- src/core/vdom/patch.js | 6 +-- src/platforms/web/runtime/node-ops.js | 4 ++ src/platforms/weex/runtime/modules/class.js | 14 +++--- src/platforms/weex/runtime/node-ops.js | 4 ++ test/weex/cases/cases.spec.js | 2 +- .../components/stateful-v-model.vdom.js | 13 +----- .../recycle-list/components/stateful.vdom.js | 10 +---- .../stateless-multi-components.vdom.js | 34 ++++---------- .../components/stateless-with-props.vdom.js | 11 +---- .../recycle-list/components/stateless.vdom.js | 14 +----- test/weex/cases/render/sample.vdom.js | 6 +-- test/weex/helpers/index.js | 9 +++- test/weex/runtime/class.spec.js | 14 +++--- test/weex/runtime/components/richtext.spec.js | 5 ++- 16 files changed, 78 insertions(+), 115 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8f98c755ed7..306953413c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2,7 +2,6 @@ "name": "vue", "version": "2.5.13", "lockfileVersion": 1, - "requires": true, "dependencies": { "@babel/code-frame": { "version": "7.0.0-beta.31", @@ -152,16 +151,6 @@ "@types/uglify-js": "2.6.29" } }, - "JSONStream": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz", - "integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=", - "dev": true, - "requires": { - "jsonparse": "1.3.1", - "through": "2.3.8" - } - }, "abbrev": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -6079,6 +6068,16 @@ "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", "dev": true }, + "JSONStream": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz", + "integrity": "sha1-cH92HgHa6eFvG8+TcDt4xwlmV5o=", + "dev": true, + "requires": { + "jsonparse": "1.3.1", + "through": "2.3.8" + } + }, "jsprim": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", @@ -9218,6 +9217,15 @@ "any-observable": "0.2.0" } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -9229,15 +9237,6 @@ "strip-ansi": "3.0.1" } }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "stringify-object": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.2.1.tgz", @@ -10258,9 +10257,9 @@ } }, "weex-js-runtime": { - "version": "0.23.5", - "resolved": "https://registry.npmjs.org/weex-js-runtime/-/weex-js-runtime-0.23.5.tgz", - "integrity": "sha512-94/bMUpCyZMsrq2codDPFatr5Ec8yKYKYNsfoshQOiQKTZY3pwqlfedtOKQNf6k7o4npEhdxDnHJwEVORtNylg==", + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/weex-js-runtime/-/weex-js-runtime-0.23.6.tgz", + "integrity": "sha512-Qg+Xrm4D9yOrg6/u0fYx8as6v4WdQR4kpuheiwTvNa0BjvAGKrVMybiit6GsE5pvS7P1GewI5xPM9xZi8xGaRA==", "dev": true }, "weex-styler": { diff --git a/package.json b/package.json index 7a9a81fea8b..e680bd2610c 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "typescript": "^2.7.1", "uglify-js": "^3.0.15", "webpack": "^3.10.0", - "weex-js-runtime": "^0.23.5", + "weex-js-runtime": "^0.23.6", "weex-styler": "^0.3.0", "yorkie": "^1.0.1" }, diff --git a/src/core/vdom/patch.js b/src/core/vdom/patch.js index da9850856a2..9f3bcc6512c 100644 --- a/src/core/vdom/patch.js +++ b/src/core/vdom/patch.js @@ -317,12 +317,12 @@ export function createPatchFunction (backend) { function setScope (vnode) { let i if (isDef(i = vnode.fnScopeId)) { - nodeOps.setAttribute(vnode.elm, i, '') + nodeOps.setStyleScope(vnode.elm, i) } else { let ancestor = vnode while (ancestor) { if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) { - nodeOps.setAttribute(vnode.elm, i, '') + nodeOps.setStyleScope(vnode.elm, i) } ancestor = ancestor.parent } @@ -333,7 +333,7 @@ export function createPatchFunction (backend) { i !== vnode.fnContext && isDef(i = i.$options._scopeId) ) { - nodeOps.setAttribute(vnode.elm, i, '') + nodeOps.setStyleScope(vnode.elm, i) } } diff --git a/src/platforms/web/runtime/node-ops.js b/src/platforms/web/runtime/node-ops.js index 1516d86bee5..183524ff623 100644 --- a/src/platforms/web/runtime/node-ops.js +++ b/src/platforms/web/runtime/node-ops.js @@ -57,3 +57,7 @@ export function setTextContent (node: Node, text: string) { export function setAttribute (node: Element, key: string, val: string) { node.setAttribute(key, val) } + +export function setStyleScope (node: Element, scopeId: string) { + node.setAttribute(scopeId, '') +} diff --git a/src/platforms/weex/runtime/modules/class.js b/src/platforms/weex/runtime/modules/class.js index 8d9d51ec603..029b9e9ed2f 100755 --- a/src/platforms/weex/runtime/modules/class.js +++ b/src/platforms/weex/runtime/modules/class.js @@ -35,12 +35,16 @@ function updateClass (oldVnode: VNodeWithData, vnode: VNodeWithData) { classList.push.apply(classList, data.class) } - const style = getStyle(oldClassList, classList, ctx) - if (typeof el.setStyles === 'function') { - el.setStyles(style) + if (typeof el.setClassList === 'function') { + el.setClassList(classList) } else { - for (const key in style) { - el.setStyle(key, style[key]) + const style = getStyle(oldClassList, classList, ctx) + if (typeof el.setStyles === 'function') { + el.setStyles(style) + } else { + for (const key in style) { + el.setStyle(key, style[key]) + } } } } diff --git a/src/platforms/weex/runtime/node-ops.js b/src/platforms/weex/runtime/node-ops.js index 0431f7c6d64..0438ec5c150 100755 --- a/src/platforms/weex/runtime/node-ops.js +++ b/src/platforms/weex/runtime/node-ops.js @@ -85,3 +85,7 @@ export function setTextContent (node: WeexElement, text: string) { export function setAttribute (node: WeexElement, key: string, val: any) { node.setAttr(key, val) } + +export function setStyleScope (node: WeexElement, scopeId: string) { + node.setAttr('@styleScope', scopeId) +} diff --git a/test/weex/cases/cases.spec.js b/test/weex/cases/cases.spec.js index 6d073e553eb..05d2a55412a 100644 --- a/test/weex/cases/cases.spec.js +++ b/test/weex/cases/cases.spec.js @@ -136,7 +136,7 @@ describe('Usage', () => { }]).then(code => { const id = String(Date.now() * Math.random()) const instance = createInstance(id, code) - expect(tasks.length).toEqual(3) + // expect(tasks.length).toEqual(3) setTimeout(() => { // check the render results const target = readObject('recycle-list/components/stateful.vdom.js') diff --git a/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js b/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js index 1c5b06f10df..f2d0d96cdc4 100644 --- a/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js +++ b/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js @@ -22,23 +22,14 @@ }, children: [{ type: 'text', - style: { - height: '80px', - fontSize: '60px', - color: '#41B883' - }, + classList: ['output'], attr: { value: { '@binding': 'output' } } }, { type: 'input', event: ['input'], - style: { - fontSize: '50px', - color: '#666666', - borderWidth: '2px', - borderColor: '#41B883' - }, + classList: ['input'], attr: { type: 'text', value: 'No binding' diff --git a/test/weex/cases/recycle-list/components/stateful.vdom.js b/test/weex/cases/recycle-list/components/stateful.vdom.js index bfa45455b30..6a2bddc795a 100644 --- a/test/weex/cases/recycle-list/components/stateful.vdom.js +++ b/test/weex/cases/recycle-list/components/stateful.vdom.js @@ -22,20 +22,14 @@ }, children: [{ type: 'text', - style: { fontSize: '150px', textAlign: 'center' }, + classList: ['output'], attr: { value: { '@binding': 'count' } // need confirm } }, { type: 'text', event: ['click'], - style: { - fontSize: '100px', - textAlign: 'center', - borderWidth: '2px', - borderColor: '#DDDDDD', - backgroundColor: '#F5F5F5' - }, + classList: ['button'], attr: { value: '+' } }] }, { diff --git a/test/weex/cases/recycle-list/components/stateless-multi-components.vdom.js b/test/weex/cases/recycle-list/components/stateless-multi-components.vdom.js index 9c1f1b21b63..2e4b4d9487a 100644 --- a/test/weex/cases/recycle-list/components/stateless-multi-components.vdom.js +++ b/test/weex/cases/recycle-list/components/stateless-multi-components.vdom.js @@ -19,19 +19,10 @@ '@isComponentRoot': true, '@componentProps': {} }, - // style: { - // height: '120px', - // justifyContent: 'center', - // alignItems: 'center', - // backgroundColor: 'rgb(162, 217, 192)' - // }, + classList: ['banner'], children: [{ type: 'text', - // style: { - // fontWeight: 'bold', - // color: '#41B883', - // fontSize: '60px' - // }, + classList: ['title'], attr: { value: 'BANNER' } }] }, { @@ -43,10 +34,10 @@ '@isComponentRoot': true, '@componentProps': {} }, - style: { height: '80px', justifyContent: 'center', backgroundColor: '#EEEEEE' }, + classList: ['footer'], children: [{ type: 'text', - style: { color: '#AAAAAA', fontSize: '32px', textAlign: 'center' }, + classList: ['copyright'], attr: { value: 'All rights reserved.' } }] }] @@ -59,19 +50,10 @@ '@isComponentRoot': true, '@componentProps': {} }, - // style: { - // height: '120px', - // justifyContent: 'center', - // alignItems: 'center', - // backgroundColor: 'rgb(162, 217, 192)' - // }, + classList: ['banner'], children: [{ type: 'text', - // style: { - // fontWeight: 'bold', - // color: '#41B883', - // fontSize: '60px' - // }, + classList: ['title'], attr: { value: 'BANNER' } }] }, { @@ -85,13 +67,13 @@ }, children: [{ type: 'image', - style: { width: '750px', height: '1000px' }, + classList: ['image'], attr: { src: { '@binding': 'imageUrl' } } }, { type: 'text', - style: { fontSize: '80px', textAlign: 'center', color: '#E95659' }, + classList: ['title'], attr: { value: { '@binding': 'title' } } diff --git a/test/weex/cases/recycle-list/components/stateless-with-props.vdom.js b/test/weex/cases/recycle-list/components/stateless-with-props.vdom.js index 744c6af2861..3fc18dc0cf0 100644 --- a/test/weex/cases/recycle-list/components/stateless-with-props.vdom.js +++ b/test/weex/cases/recycle-list/components/stateless-with-props.vdom.js @@ -23,20 +23,13 @@ }, children: [{ type: 'image', - style: { - width: '750px', - height: '1000px' - }, + classList: ['image'], attr: { src: { '@binding': 'imageUrl' } } }, { type: 'text', - style: { - fontSize: '80px', - textAlign: 'center', - color: '#E95659' - }, + classList: ['title'], attr: { value: { '@binding': 'title' } } diff --git a/test/weex/cases/recycle-list/components/stateless.vdom.js b/test/weex/cases/recycle-list/components/stateless.vdom.js index a516132e0a9..3ae12d03b28 100644 --- a/test/weex/cases/recycle-list/components/stateless.vdom.js +++ b/test/weex/cases/recycle-list/components/stateless.vdom.js @@ -18,20 +18,10 @@ '@isComponentRoot': true, '@componentProps': {} }, - // not supported yet - // style: { - // height: '120px', - // justifyContent: 'center', - // alignItems: 'center', - // backgroundColor: 'rgb(162, 217, 192)' - // }, + classList: ['banner'], children: [{ type: 'text', - // style: { - // fontWeight: 'bold', - // color: '#41B883', - // fontSize: '60px' - // }, + classList: ['title'], attr: { value: 'BANNER' } diff --git a/test/weex/cases/render/sample.vdom.js b/test/weex/cases/render/sample.vdom.js index 6e213a506d9..1d9b198a0b2 100644 --- a/test/weex/cases/render/sample.vdom.js +++ b/test/weex/cases/render/sample.vdom.js @@ -8,10 +8,6 @@ attr: { value: 'Yo' }, - style: { - color: '#41B883', - fontSize: '233px', - textAlign: 'center' - } + classList: ['freestyle'] }] }) diff --git a/test/weex/helpers/index.js b/test/weex/helpers/index.js index fca2e1eafbc..c6f4d733982 100644 --- a/test/weex/helpers/index.js +++ b/test/weex/helpers/index.js @@ -58,7 +58,9 @@ export function compileVue (source, componentName) { const name = 'test_case_' + (Math.random() * 99999999).toFixed(0) const generateCode = styles => (` + try { weex.document.registerStyleSheets("${name}", [${JSON.stringify(styles)}]) } catch(e) {}; var ${name} = Object.assign({ + _scopeId: "${name}", style: ${JSON.stringify(styles)}, render: function () { ${res.render} }, ${res['@render'] ? ('"@render": function () {' + res['@render'] + '},') : ''} @@ -114,10 +116,13 @@ function omitUseless (object) { if (isObject(object)) { delete object.ref for (const key in object) { + omitUseless(object[key]) + if (key === '@styleScope') { + delete object[key] + } if (key.charAt(0) !== '@' && (isEmptyObject(object[key]) || object[key] === undefined)) { delete object[key] } - omitUseless(object[key]) } } return object @@ -148,7 +153,7 @@ export function getEvents (instance) { export function fireEvent (instance, ref, type, event = {}) { const el = instance.document.getRef(ref) if (el) { - instance.document.fireEvent(el, type, event = {}) + instance.document.fireEvent(el, type, event) } } diff --git a/test/weex/runtime/class.spec.js b/test/weex/runtime/class.spec.js index 5809ba75633..ec704f7b3dd 100644 --- a/test/weex/runtime/class.spec.js +++ b/test/weex/runtime/class.spec.js @@ -17,7 +17,7 @@ describe('generate class', () => { type: 'div', children: [{ type: 'text', - style: { fontSize: '100', color: '#ff0000', fontWeight: 'bold' }, + classList: ['a', 'b', 'c'], attr: { value: 'Hello World' } }] }) @@ -51,7 +51,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { fontSize: '100', color: '#ff0000' }, + classList: ['a', 'b'], attr: { value: 'Hello World' } }] }) @@ -63,7 +63,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { fontSize: '100', color: '#0000ff', fontWeight: 'bold' }, + classList: ['a', 'd'], attr: { value: 'Hello World' } }] }) @@ -96,7 +96,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { color: '#ff0000' }, + classList: ['b', 'a'], attr: { value: 'Hello World' } }] }) @@ -108,7 +108,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { color: '#0000ff' }, + classList: ['b', 'a', 'c'], attr: { value: 'Hello World' } }] }) @@ -139,7 +139,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { fontSize: '100', color: '#ff0000' }, + classList: ['a', 'b'], attr: { value: 'Hello World' } }] }) @@ -151,7 +151,7 @@ describe('generate class', () => { event: ['click'], children: [{ type: 'text', - style: { fontSize: '100', color: '', fontWeight: 'bold' }, + classList: ['a', 'c'], attr: { value: 'Hello World' } }] }) diff --git a/test/weex/runtime/components/richtext.spec.js b/test/weex/runtime/components/richtext.spec.js index f1c21caf9d1..7d104988c20 100644 --- a/test/weex/runtime/components/richtext.spec.js +++ b/test/weex/runtime/components/richtext.spec.js @@ -585,7 +585,7 @@ describe('richtext component', () => { } `)).toEqual({ type: 'richtext', - style: { backgroundColor: '#FF6600', height: 200 }, + classList: ['title'], attr: { value: [{ type: 'span', @@ -612,7 +612,8 @@ describe('richtext component', () => { } `)).toEqual({ type: 'richtext', - style: { backgroundColor: '#FF6600', height: 200 }, + classList: ['title'], + style: { backgroundColor: '#FF6600' }, attr: { value: [{ type: 'span', From d6200d70261c4a8943190900e0721ede1c4a4f2b Mon Sep 17 00:00:00 2001 From: Hanks Date: Mon, 5 Mar 2018 11:59:21 +0800 Subject: [PATCH 013/740] feat(weex): update weex recycle-list compiler (#7610) + Support v-once + Generate @templateId on the root element of each component + Add binding-expression attribute on recycle-list + Fix the compile result of v-else-if and v-else --- .../modules/recycle-list/component-root.js | 1 + .../compiler/modules/recycle-list/index.js | 2 + .../modules/recycle-list/recycle-list.js | 1 + .../compiler/modules/recycle-list/v-if.js | 26 ++++++-- .../compiler/modules/recycle-list/v-once.js | 19 ++++++ test/weex/cases/cases.spec.js | 59 ++++++++++--------- .../weex/cases/recycle-list/v-else-if.vdom.js | 2 +- test/weex/cases/recycle-list/v-once.vdom.js | 22 +++++++ test/weex/cases/recycle-list/v-once.vue | 21 +++++++ test/weex/compiler/append.spec.js | 2 +- test/weex/helpers/index.js | 7 ++- 11 files changed, 124 insertions(+), 38 deletions(-) create mode 100644 src/platforms/weex/compiler/modules/recycle-list/v-once.js create mode 100644 test/weex/cases/recycle-list/v-once.vdom.js create mode 100644 test/weex/cases/recycle-list/v-once.vue diff --git a/src/platforms/weex/compiler/modules/recycle-list/component-root.js b/src/platforms/weex/compiler/modules/recycle-list/component-root.js index 48abb622fd1..7d9fedea92a 100644 --- a/src/platforms/weex/compiler/modules/recycle-list/component-root.js +++ b/src/platforms/weex/compiler/modules/recycle-list/component-root.js @@ -10,6 +10,7 @@ export function postTransformComponentRoot ( if (!el.parent) { // component root addAttr(el, '@isComponentRoot', 'true') + addAttr(el, '@templateId', '_uid') addAttr(el, '@componentProps', '$props || {}') } } diff --git a/src/platforms/weex/compiler/modules/recycle-list/index.js b/src/platforms/weex/compiler/modules/recycle-list/index.js index 1b85a45f993..502cc78238b 100644 --- a/src/platforms/weex/compiler/modules/recycle-list/index.js +++ b/src/platforms/weex/compiler/modules/recycle-list/index.js @@ -8,6 +8,7 @@ import { preTransformVBind } from './v-bind' import { preTransformVIf } from './v-if' import { preTransformVFor } from './v-for' import { postTransformVOn } from './v-on' +import { preTransformVOnce } from './v-once' let currentRecycleList = null @@ -25,6 +26,7 @@ function preTransformNode (el: ASTElement, options: WeexCompilerOptions) { preTransformVBind(el, options) preTransformVIf(el, options) // also v-else-if and v-else preTransformVFor(el, options) + preTransformVOnce(el, options) } } diff --git a/src/platforms/weex/compiler/modules/recycle-list/recycle-list.js b/src/platforms/weex/compiler/modules/recycle-list/recycle-list.js index 22e3b5d5525..7fb65167536 100644 --- a/src/platforms/weex/compiler/modules/recycle-list/recycle-list.js +++ b/src/platforms/weex/compiler/modules/recycle-list/recycle-list.js @@ -33,6 +33,7 @@ export function preTransformRecycleList ( } addRawAttr(el, ':list-data', res.for) + addRawAttr(el, 'binding-expression', res.for) addRawAttr(el, 'alias', res.alias) if (res.iterator2) { // (item, key, index) for object iteration diff --git a/src/platforms/weex/compiler/modules/recycle-list/v-if.js b/src/platforms/weex/compiler/modules/recycle-list/v-if.js index 3715cfea1f3..d82ba632b1e 100644 --- a/src/platforms/weex/compiler/modules/recycle-list/v-if.js +++ b/src/platforms/weex/compiler/modules/recycle-list/v-if.js @@ -1,5 +1,6 @@ /* @flow */ +import { addIfCondition } from 'compiler/parser/index' import { getAndRemoveAttr, addRawAttr } from 'compiler/helpers' function hasConditionDirective (el: ASTElement): boolean { @@ -11,11 +12,23 @@ function hasConditionDirective (el: ASTElement): boolean { return false } -function getPrevMatch (el: ASTElement): any { +function getPreviousConditions (el: ASTElement): Array { + const conditions = [] if (el.parent && el.parent.children) { - const prev: Object = el.parent.children[el.parent.children.length - 1] - return prev.attrsMap['[[match]]'] + for (let c = 0, n = el.parent.children.length; c < n; ++c) { + // $flow-disable-line + const ifConditions = el.parent.children[c].ifConditions + if (ifConditions) { + for (let i = 0, l = ifConditions.length; i < l; ++i) { + const condition = ifConditions[i] + if (condition && condition.exp) { + conditions.push(condition.exp) + } + } + } + } } + return conditions } export function preTransformVIf (el: ASTElement, options: WeexCompilerOptions) { @@ -28,9 +41,12 @@ export function preTransformVIf (el: ASTElement, options: WeexCompilerOptions) { getAndRemoveAttr(el, 'v-else', true) if (ifExp) { exp = ifExp + addIfCondition(el, { exp: ifExp, block: el }) } else { - const prevMatch = getPrevMatch(el) - if (prevMatch) { + elseifExp && addIfCondition(el, { exp: elseifExp, block: el }) + const prevConditions = getPreviousConditions(el) + if (prevConditions.length) { + const prevMatch = prevConditions.join(' || ') exp = elseifExp ? `!(${prevMatch}) && (${elseifExp})` // v-else-if : `!(${prevMatch})` // v-else diff --git a/src/platforms/weex/compiler/modules/recycle-list/v-once.js b/src/platforms/weex/compiler/modules/recycle-list/v-once.js new file mode 100644 index 00000000000..baff838a49f --- /dev/null +++ b/src/platforms/weex/compiler/modules/recycle-list/v-once.js @@ -0,0 +1,19 @@ +/* @flow */ + +import { getAndRemoveAttr, addRawAttr } from 'compiler/helpers' + +function containVOnce (el: ASTElement): boolean { + for (const attr in el.attrsMap) { + if (/^v\-once$/i.test(attr)) { + return true + } + } + return false +} + +export function preTransformVOnce (el: ASTElement, options: WeexCompilerOptions) { + if (containVOnce(el)) { + getAndRemoveAttr(el, 'v-once', true) + addRawAttr(el, '[[once]]', true) + } +} diff --git a/test/weex/cases/cases.spec.js b/test/weex/cases/cases.spec.js index 05d2a55412a..ad7ff7393df 100644 --- a/test/weex/cases/cases.spec.js +++ b/test/weex/cases/cases.spec.js @@ -72,6 +72,7 @@ describe('Usage', () => { it('v-for-iterator', createRenderTestCase('recycle-list/v-for-iterator')) it('v-on', createRenderTestCase('recycle-list/v-on')) it('v-on-inline', createRenderTestCase('recycle-list/v-on-inline')) + it('v-once', createRenderTestCase('recycle-list/v-once')) it('stateless component', done => { compileWithDeps('recycle-list/components/stateless.vue', [{ @@ -143,35 +144,35 @@ describe('Usage', () => { expect(getRoot(instance)).toEqual(target) tasks.length = 0 - // trigger component hooks - instance.$triggerHook( - 2, // cid of the virtual component template - 'create', // lifecycle hook name - - // arguments for the callback - [ - 'x-1', // componentId of the virtual component - { start: 3 } // propsData of the virtual component - ] - ) - instance.$triggerHook(2, 'create', ['x-2', { start: 11 }]) - - // the state (_data) of the virtual component should be sent to native - expect(tasks.length).toEqual(2) - expect(tasks[0].method).toEqual('updateComponentData') - expect(tasks[0].args).toEqual(['x-1', { count: 6 }, '']) - expect(tasks[1].method).toEqual('updateComponentData') - expect(tasks[1].args).toEqual(['x-2', { count: 22 }, '']) - - instance.$triggerHook('x-1', 'attach') - instance.$triggerHook('x-2', 'attach') - tasks.length = 0 - - // simulate a click event - // the event will be caught by the virtual component template and - // should be dispatched to virtual component according to the componentId - const event = getEvents(instance)[0] - fireEvent(instance, event.ref, 'click', { componentId: 'x-1' }) + // // trigger component hooks + // instance.$triggerHook( + // 2, // cid of the virtual component template + // 'create', // lifecycle hook name + + // // arguments for the callback + // [ + // 'x-1', // componentId of the virtual component + // { start: 3 } // propsData of the virtual component + // ] + // ) + // instance.$triggerHook(2, 'create', ['x-2', { start: 11 }]) + + // // the state (_data) of the virtual component should be sent to native + // expect(tasks.length).toEqual(2) + // expect(tasks[0].method).toEqual('updateComponentData') + // expect(tasks[0].args).toEqual(['x-1', { count: 6 }, '']) + // expect(tasks[1].method).toEqual('updateComponentData') + // expect(tasks[1].args).toEqual(['x-2', { count: 22 }, '']) + + // instance.$triggerHook('x-1', 'attach') + // instance.$triggerHook('x-2', 'attach') + // tasks.length = 0 + + // // simulate a click event + // // the event will be caught by the virtual component template and + // // should be dispatched to virtual component according to the componentId + // const event = getEvents(instance)[0] + // fireEvent(instance, event.ref, 'click', { componentId: 'x-1' }) setTimeout(() => { // expect(tasks.length).toEqual(1) // expect(tasks[0].method).toEqual('updateComponentData') diff --git a/test/weex/cases/recycle-list/v-else-if.vdom.js b/test/weex/cases/recycle-list/v-else-if.vdom.js index 30b38864b82..1181e267fb8 100644 --- a/test/weex/cases/recycle-list/v-else-if.vdom.js +++ b/test/weex/cases/recycle-list/v-else-if.vdom.js @@ -27,7 +27,7 @@ }, { type: 'image', attr: { - '[[match]]': '!(!(item.sourceA) && (item.sourceB))', + '[[match]]': '!(item.sourceA || item.sourceB)', src: { '@binding': 'item.placeholder' } } }] diff --git a/test/weex/cases/recycle-list/v-once.vdom.js b/test/weex/cases/recycle-list/v-once.vdom.js new file mode 100644 index 00000000000..07e641977d0 --- /dev/null +++ b/test/weex/cases/recycle-list/v-once.vdom.js @@ -0,0 +1,22 @@ +({ + type: 'recycle-list', + attr: { + append: 'tree', + listData: [ + { type: 'A' }, + { type: 'A' } + ], + alias: 'item' + }, + children: [{ + type: 'cell-slot', + attr: { append: 'tree' }, + children: [{ + type: 'text', + attr: { + '[[once]]': true, + value: { '@binding': 'item.type' } + } + }] + }] +}) diff --git a/test/weex/cases/recycle-list/v-once.vue b/test/weex/cases/recycle-list/v-once.vue new file mode 100644 index 00000000000..f1e3a367a8f --- /dev/null +++ b/test/weex/cases/recycle-list/v-once.vue @@ -0,0 +1,21 @@ + + + + diff --git a/test/weex/compiler/append.spec.js b/test/weex/compiler/append.spec.js index 0492a6d0014..c75267c9078 100644 --- a/test/weex/compiler/append.spec.js +++ b/test/weex/compiler/append.spec.js @@ -28,7 +28,7 @@ describe('append props', () => { it('add append="tree" on ', () => { const { render, staticRenderFns, errors } = compile(`
`) expect(render + staticRenderFns).toMatch(strToRegExp(`appendAsTree:true`)) - expect(render + staticRenderFns).toMatch(strToRegExp(`attrs:{"listData":list,"alias":"item","append":"tree"}`)) + expect(render + staticRenderFns).toMatch(strToRegExp(`"append":"tree"`)) expect(errors).toEqual([]) }) diff --git a/test/weex/helpers/index.js b/test/weex/helpers/index.js index c6f4d733982..ce74bf819db 100644 --- a/test/weex/helpers/index.js +++ b/test/weex/helpers/index.js @@ -117,10 +117,13 @@ function omitUseless (object) { delete object.ref for (const key in object) { omitUseless(object[key]) - if (key === '@styleScope') { + if (key === '@styleScope' || + key === '@templateId' || + key === 'bindingExpression') { delete object[key] } - if (key.charAt(0) !== '@' && (isEmptyObject(object[key]) || object[key] === undefined)) { + if (key.charAt(0) !== '@' && + (isEmptyObject(object[key]) || object[key] === undefined)) { delete object[key] } } From c57ffb768def2b8a409472eab2715579fc3f047d Mon Sep 17 00:00:00 2001 From: Dennis Date: Wed, 7 Mar 2018 15:03:07 +0100 Subject: [PATCH 014/740] chore: fix README.md vulnerable target="_blank" links (#7689) * README: add rel noopener and noreferrer Add to all "_blank" links rel noopener and noreferrer to prevent vulnerability * Update README.md --- README.md | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index e202666b340..166ac97b6fc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Vue logo

+

Vue logo

Build Status @@ -29,17 +29,17 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - + - + - + @@ -57,17 +57,17 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - + - + - + @@ -83,76 +83,76 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -165,16 +165,16 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu

Platinum

- - + +

Gold

- - - - - + + + + + --- From 50b711af43708426e63b4ea529436b49fafc3f2e Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 7 Mar 2018 12:03:31 -0500 Subject: [PATCH 015/740] fix: do not special case attributes for custom elements close #6864, close #6885 --- src/platforms/web/runtime/modules/attrs.js | 48 +++++++++++-------- .../modules/vdom/patch/edge-cases.spec.js | 10 ++++ 2 files changed, 37 insertions(+), 21 deletions(-) diff --git a/src/platforms/web/runtime/modules/attrs.js b/src/platforms/web/runtime/modules/attrs.js index 0034d35e81d..78ef28a1d02 100644 --- a/src/platforms/web/runtime/modules/attrs.js +++ b/src/platforms/web/runtime/modules/attrs.js @@ -59,7 +59,9 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) { } function setAttr (el: Element, key: string, value: any) { - if (isBooleanAttr(key)) { + if (el.tagName.indexOf('-') > -1) { + baseSetAttr(el, key, value) + } else if (isBooleanAttr(key)) { // set attribute for blank value // e.g. if (isFalsyAttrValue(value)) { @@ -81,28 +83,32 @@ function setAttr (el: Element, key: string, value: any) { el.setAttributeNS(xlinkNS, key, value) } } else { - if (isFalsyAttrValue(value)) { - el.removeAttribute(key) - } else { - // #7138: IE10 & 11 fires input event when setting placeholder on - // `, + }) + triggerEvent(vm.$el, 'input') + setTimeout(() => { + expect(vm.evtCount).toBe(1) + done() + }, 17) + }) } }) From 66fd3c8dd1577d4b634731adf4be4d3db5bf1df6 Mon Sep 17 00:00:00 2001 From: Bogdan Luca Date: Tue, 5 Feb 2019 00:43:48 +0200 Subject: [PATCH 398/740] fix(v-model): add value to $attrs if not defined in props (#9331) fix #9330 --- src/core/vdom/create-component.js | 3 ++- .../directives/model-component.spec.js | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/src/core/vdom/create-component.js b/src/core/vdom/create-component.js index b769fa1e19d..60bb258e519 100644 --- a/src/core/vdom/create-component.js +++ b/src/core/vdom/create-component.js @@ -250,7 +250,8 @@ function mergeHook (f1: any, f2: any): Function { function transformModel (options, data: any) { const prop = (options.model && options.model.prop) || 'value' const event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value + const addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value const on = data.on || (data.on = {}) const existing = on[event] const callback = data.model.callback diff --git a/test/unit/features/directives/model-component.spec.js b/test/unit/features/directives/model-component.spec.js index 9f9536ada09..49ff4ddb138 100644 --- a/test/unit/features/directives/model-component.spec.js +++ b/test/unit/features/directives/model-component.spec.js @@ -204,4 +204,30 @@ describe('Directive v-model component', () => { expect(triggerCount).toBe(1) document.body.removeChild(vm.$el) }) + + // #9330 + it('should add value to $attrs if not defined in props', () => { + const TestComponent = { + inheritAttrs: false, + render (h) { + return h('div', this.$attrs.value) + } + } + + const vm = new Vue({ + components: { + TestComponent + }, + template: ` +
+ +
+ `, + data: { + val: 'foo' + } + }).$mount() + + expect(vm.$el.innerHTML).toBe('
foo
'); + }) }) From 6fb3a2211aa6aba54c961df41a514af1131424a6 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 4 Feb 2019 17:51:32 -0500 Subject: [PATCH 399/740] build: build 2.6.1 --- dist/vue.common.dev.js | 46 ++++++++++++--------- dist/vue.common.prod.js | 4 +- dist/vue.esm.browser.js | 46 ++++++++++++--------- dist/vue.esm.browser.min.js | 4 +- dist/vue.esm.js | 46 ++++++++++++--------- dist/vue.js | 46 ++++++++++++--------- dist/vue.min.js | 4 +- dist/vue.runtime.common.dev.js | 15 +++---- dist/vue.runtime.common.prod.js | 4 +- dist/vue.runtime.esm.js | 15 +++---- dist/vue.runtime.js | 15 +++---- dist/vue.runtime.min.js | 4 +- packages/vue-server-renderer/basic.js | 38 ++++++++++------- packages/vue-server-renderer/build.dev.js | 38 ++++++++++------- packages/vue-server-renderer/build.prod.js | 2 +- packages/vue-server-renderer/package.json | 2 +- packages/vue-template-compiler/browser.js | 31 ++++++++------ packages/vue-template-compiler/build.js | 31 ++++++++------ packages/vue-template-compiler/package.json | 2 +- 19 files changed, 221 insertions(+), 172 deletions(-) diff --git a/dist/vue.common.dev.js b/dist/vue.common.dev.js index 0954e9b95cb..22c475309db 100644 --- a/dist/vue.common.dev.js +++ b/dist/vue.common.dev.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1849,7 +1849,7 @@ function invokeWithErrorHandling ( var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4572,8 +4572,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5319,7 +5320,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); -Vue.version = '2.6.0'; +Vue.version = '2.6.1'; /* */ @@ -6640,8 +6641,8 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); @@ -9121,10 +9122,11 @@ var decodingMap = { '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; -var encodedAttr = /&(?:lt|gt|quot|amp);/g; -var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; +var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; +var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -9743,16 +9745,20 @@ function parse ( } }, comment: function comment (text, start, end) { - var child = { - type: 3, - text: text, - isComment: true - }; - if (options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + var child = { + type: 3, + text: text, + isComment: true + }; + if (options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -11047,7 +11053,7 @@ function genInlineTemplate (el, state) { { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } diff --git a/dist/vue.common.prod.js b/dist/vue.common.prod.js index dff386f99e2..66e2ef885b3 100644 --- a/dist/vue.common.prod.js +++ b/dist/vue.common.prod.js @@ -1,6 +1,6 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ -"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function k(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch),X=!1;if(U)try{var Y={};Object.defineProperty(Y,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,Y)}catch(e){}var Q=function(){return void 0===H&&(H=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),H},ee=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"==typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!=typeof Symbol&&te(Symbol)&&"undefined"!=typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!=typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=S,oe=0,ae=function(){this.id=oe++,this.subs=[]};ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){h(this.subs,e)},ae.prototype.depend=function(){ae.target&&ae.target.addDep(this)},ae.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=De(String,i.type);(c<0||s0&&(at((u=e(u,(a||"")+"_"+c))[0])&&at(f)&&(s[l]=de(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?at(f)?s[l]=de(f.text+u):""!==u&&s.push(de(u)):at(u)&&at(f)?s[l]=de(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function at(e){return n(e)&&n(e.text)&&!1===e.isComment}function st(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function ut(e){if(Array.isArray(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(Tt=function(){return performance.now()});var Et=0,jt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Et,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!F.test(e)){var t=e.split(".");return function(e){for(var n=0;nOt&&wt[n].id>e.id;)n--;wt.splice(n+1,0,e)}else wt.push(e);At||(At=!0,Ge(Nt))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Pe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Lt={enumerable:!0,configurable:!0,get:S,set:S};function It(e,t,n){Lt.get=function(){return this[t][n]},Lt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Lt)}function Mt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&_e(!1);var o=function(o){i.push(o);var a=Le(o,t,n,e);we(r,o,a),o in e||It(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){ce();try{return e.call(t,t)}catch(e){return Pe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&It(e,"_data",o))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Q();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new jt(e,a||S,S,Dt)),i in e||Pt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function wn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bn(a.componentOptions);s&&!t(s)&&Cn(n,o,r,i)}}}function Cn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=mn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Ee(yn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&dt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=vt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return hn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return hn(t,e,n,r,i,!0)};var o=r&&r.data;we(t,"$attrs",o&&o.attrs||e,null,!0),we(t,"$listeners",n._parentListeners||e,null,!0)}(n),$t(n,"beforeCreate"),function(e){var t=Bt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){we(e,n,t[n])}),_e(!0))}(n),Mt(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),$t(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(gn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ce,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(s(t))return Ht(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Pe(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(gn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?A(t):t;for(var n=A(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Cn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return P}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:k,mergeOptions:Ee,defineReactive:we},e.set=Ce,e.delete=xe,e.nextTick=Ge,e.observable=function(e){return $e(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,k(e.options.components,An),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ee(this.options,e),this}}(e),_n(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(gn),Object.defineProperty(gn.prototype,"$isServer",{get:Q}),Object.defineProperty(gn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gn,"FunctionalRenderContext",{value:an}),gn.version="2.6.0";var kn=p("style,class"),On=p("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=p("contenteditable,draggable,spellcheck"),Nn=p("events,caret,typing,plaintext-only"),En=function(e,t){return Dn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},jn=p("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"),Ln="http://www.w3.org/1999/xlink",In=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Mn=function(e){return In(e)?e.slice(6,e.length):""},Dn=function(e){return null==e||!1===e};function Pn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Rn(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Rn(t,r.data));return function(e,t){if(n(e)||n(t))return Fn(e,Hn(t));return""}(t.staticClass,t.class)}function Rn(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Hn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?fr(e,t,n):jn(t)?Dn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,En(t,n)):In(t)?Dn(n)?e.removeAttributeNS(Ln,Mn(t)):e.setAttributeNS(Ln,t,n):fr(e,t,n)}function fr(e,t,n){if(Dn(n))e.removeAttribute(t);else{if(J&&!q&&("TEXTAREA"===e.tagName||"INPUT"===e.tagName)&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var pr={create:ur,update:ur};function dr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Pn(r),c=i._transitionClasses;n(c)&&(s=Fn(s,Hn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var vr,hr,mr,yr,gr,_r,br={create:dr,update:dr},$r=/[\w).+\-_$\]]/;function wr(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&$r.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,yr),key:'"'+e.slice(yr+1)+'"'}:{exp:e,key:null};hr=e,yr=gr=_r=0;for(;!Fr();)Hr(mr=Rr())?Ur(mr):91===mr&&Br(mr);return{exp:e.slice(0,gr),key:e.slice(gr+1,_r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Rr(){return hr.charCodeAt(++yr)}function Fr(){return yr>=vr}function Hr(e){return 34===e||39===e}function Br(e){var t=1;for(gr=yr;!Fr();)if(Hr(e=Rr()))Ur(e);else if(91===e&&t++,93===e&&t--,0===t){_r=yr;break}}function Ur(e){for(var t=e;!Fr()&&(e=Rr())!==t;);}var zr,Vr="__r",Kr="__c";function Jr(e,t,n){var r=zr;return function i(){null!==t.apply(null,arguments)&&Wr(e,i,n,r)}}function qr(e,t,n,r){if(Ue){var i=St,o=t;t=o._wrapper=function(e){if(e.timeStamp>=i)return o.apply(this,arguments)}}zr.addEventListener(e,t,X?{capture:n,passive:r}:n)}function Wr(e,t,n,r){(r||zr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};zr=r.elm,function(e){if(n(e[Vr])){var t=J?"change":"input";e[t]=[].concat(e[Vr],e[t]||[]),delete e[Vr]}n(e[Kr])&&(e.change=[].concat(e[Kr],e.change||[]),delete e[Kr])}(i),nt(i,o,qr,Wr,Jr,r.context),zr=void 0}}var Gr,Xr={create:Zr,update:Zr};function Yr(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=k({},c)),s)t(c[i])&&(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i||o!==s[i])if("value"===i){a._value=o;var u=t(o)?"":String(o);Qr(a,u)&&(a.value=u)}else if("innerHTML"===i&&zn(a.tagName)&&t(a.innerHTML)){(Gr=Gr||document.createElement("div")).innerHTML=""+o+"";for(var l=Gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[i]=o}}}function Qr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var ei={create:Yr,update:Yr},ti=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ni(e){var t=ri(e.style);return e.staticStyle?k(e.staticStyle,t):t}function ri(e){return Array.isArray(e)?O(e):"string"==typeof e?ti(e):e}var ii,oi=/^--/,ai=/\s*!important$/,si=function(e,t,n){if(oi.test(t))e.style.setProperty(t,n);else if(ai.test(n))e.style.setProperty(C(t),n.replace(ai,""),"important");else{var r=ui(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(pi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function vi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(pi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function hi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&k(t,mi(e.name||"v")),k(t,e),t}return"string"==typeof e?mi(e):void 0}}var mi=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),yi=U&&!q,gi="transition",_i="animation",bi="transition",$i="transitionend",wi="animation",Ci="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bi="WebkitTransition",$i="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",Ci="webkitAnimationEnd"));var xi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ai(e){xi(function(){xi(e)})}function ki(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),di(e,t))}function Oi(e,t){e._transitionClasses&&h(e._transitionClasses,t),vi(e,t)}function Si(e,t,n){var r=Ni(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===gi?$i:Ci,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=gi,l=a,f=o.length):t===_i?u>0&&(n=_i,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?gi:_i:null)?n===gi?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===gi&&Ti.test(r[bi+"Property"])}}function Ei(e,t){for(;e.length1}function Pi(e,t){!0!==t.data.show&&Li(t)}var Ri=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(0,r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(0,h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function A(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(E(zi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ui(e,t){return t.every(function(t){return!E(t,e)})}function zi(e){return"_value"in e?e._value:e.value}function Vi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Ji(e.target,"input"))}function Ji(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function qi(e){return!e.componentInstance||e.data&&e.data.transition?e:qi(e.componentInstance._vnode)}var Wi={model:Fi,show:{bind:function(e,t,n){var r=t.value,i=(n=qi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Li(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Li(n,function(){e.style.display=e.__vOriginalDisplay}):Ii(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Gi(ut(t.children)):e}function Xi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function Yi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Qi=function(e){return e.tag||ct(e)},eo=function(e){return"show"===e.name},to={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Qi)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=Gi(o);if(!a)return o;if(this._leaving)return Yi(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=Xi(this),u=this._vnode,l=Gi(u);if(a.data.directives&&a.data.directives.some(eo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!ct(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=k({},c);if("out-in"===r)return this._leaving=!0,rt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Yi(e,o);if("in-out"===r){if(ct(a))return u;var p,d=function(){p()};rt(c,"afterEnter",d),rt(c,"enterCancelled",d),rt(f,"delayLeave",function(e){p=e})}}return o}}},no=k({tag:String,moveClass:String},Zi);function ro(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function io(e){e.data.newPos=e.elm.getBoundingClientRect()}function oo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete no.mode;var ao={Transition:to,TransitionGroup:{props:no,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Xi(this),s=0;s-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},k(gn.options.directives,Wi),k(gn.options.components,ao),gn.prototype.__patch__=U?Ri:S,gn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=pe),$t(e,"beforeMount"),r=function(){e._update(e._render(),n)},new jt(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&$t(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,$t(e,"mounted")),e}(this,e=e&&U?Wn(e):void 0,t)},U&&setTimeout(function(){P.devtools&&ee&&ee.emit("init",gn)},0);var so=/\{\{((?:.|\r?\n)+?)\}\}/g,co=/[-.*+?^${}()|[\]\/\\]/g,uo=g(function(e){var t=e[0].replace(co,"\\$&"),n=e[1].replace(co,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var lo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Lr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=jr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var fo,po={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Lr(e,"style");n&&(e.staticStyle=JSON.stringify(ti(n)));var r=jr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vo=function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent},ho=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),mo=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),go=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bo="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",$o="((?:"+bo+"\\:)?"+bo+")",wo=new RegExp("^<"+$o),Co=/^\s*(\/?)>/,xo=new RegExp("^<\\/"+$o+"[^>]*>"),Ao=/^]+>/i,ko=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},Eo=/&(?:lt|gt|quot|amp);/g,jo=/&(?:lt|gt|quot|amp|#10|#9);/g,Lo=p("pre,textarea",!0),Io=function(e,t){return e&&Lo(e)&&"\n"===t[0]};function Mo(e,t){var n=t?jo:Eo;return e.replace(n,function(e){return No[e]})}var Do,Po,Ro,Fo,Ho,Bo,Uo,zo,Vo=/^@|^v-on:/,Ko=/^v-|^@|^:/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Zo=/^\[.*\]$/,Go=/:(.*)$/,Xo=/^:|^\.|^v-bind:/,Yo=/\.[^.]+/g,Qo=/^v-slot(:|$)|^#/,ea=/[\r\n]/,ta=/\s+/g,na=g(vo);function ra(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:la(t),rawAttrsMap:{},parent:n,children:[]}}function ia(e,t){Do=t.warn||xr,Bo=t.isPreTag||T,Uo=t.mustUseProp||T,zo=t.getTagNamespace||T;t.isReservedTag;Ro=Ar(t.modules,"transformNode"),Fo=Ar(t.modules,"preTransformNode"),Ho=Ar(t.modules,"postTransformNode"),Po=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=oa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&sa(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&sa(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Bo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,So(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Io(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ko.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Oo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ao);if(m){C(m[0].length);continue}var y=e.match(xo);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var _=x();if(_){A(_),Io(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(xo.test($)||wo.test($)||ko.test($)||Oo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(wo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Co))&&(r=e.match(_o)||e.match(go));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&yo(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:Do,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l){var f=r&&r.ns||zo(e);J&&"svg"===f&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=wr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Er(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Pr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Pr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Pr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=jr(e,"value")||"null";kr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Er(e,"change",Pr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Vr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Pr(t,l);c&&(f="if($event.target.composing)return;"+f),kr(e,"value","("+t+")"),Er(e,u,f,null,!0),(s||a)&&Er(e,"blur","$forceUpdate()")}(e,r,i);else if(!P.isReservedTag(o))return Dr(e,r,i),!1;return!0},text:function(e,t){t.value&&kr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&kr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ho,mustUseProp:Sn,canBeLeftOpenTag:mo,isReservedTag:Vn,getTagNamespace:Kn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ga=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function _a(e,t){e&&(ha=ga(t.staticKeys||""),ma=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!ma(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ha)))}(t);if(1===t.type){if(!ma(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*\(/,$a=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Aa=function(e){return"if("+e+")return null;"},ka={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Aa("$event.target !== $event.currentTarget"),ctrl:Aa("!$event.ctrlKey"),shift:Aa("!$event.shiftKey"),alt:Aa("!$event.altKey"),meta:Aa("!$event.metaKey"),left:Aa("'button' in $event && $event.button !== 0"),middle:Aa("'button' in $event && $event.button !== 1"),right:Aa("'button' in $event && $event.button !== 2")};function Oa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Sa(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Sa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Sa(e)}).join(",")+"]";var t=wa.test(e.value),n=ba.test(e.value),r=wa.test(e.value.replace($a,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ka[s])o+=ka[s],Ca[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Aa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(('keyCode' in $event)&&"+e.map(Ta).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ta(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],r=xa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Na={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Ea=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=k(k({},Na),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new Ea(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ia(e,t);if(e.once&&!e.onceProcessed)return Ma(e,t);if(e.for&&!e.forProcessed)return Pa(e,t);if(e.if&&!e.ifProcessed)return Da(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ha(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return b(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Ra(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ra(e,t));var i=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o':'
',Wa.innerHTML.indexOf(" ")>0}var Ya=!!U&&Xa(!1),Qa=!!U&&Xa(!0),es=g(function(e){var t=Wn(e);return t&&t.innerHTML}),ts=gn.prototype.$mount;gn.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Ga(r,{outputSourceRange:!1,shouldDecodeNewlines:Ya,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ts.call(this,e,t)},gn.compile=Ga,module.exports=gn; \ No newline at end of file +"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function k(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch),X=!1;if(U)try{var Y={};Object.defineProperty(Y,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,Y)}catch(e){}var Q=function(){return void 0===H&&(H=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),H},ee=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"==typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!=typeof Symbol&&te(Symbol)&&"undefined"!=typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!=typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=S,oe=0,ae=function(){this.id=oe++,this.subs=[]};ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){h(this.subs,e)},ae.prototype.depend=function(){ae.target&&ae.target.addDep(this)},ae.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=De(String,i.type);(c<0||s0&&(at((u=e(u,(a||"")+"_"+c))[0])&&at(f)&&(s[l]=de(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?at(f)?s[l]=de(f.text+u):""!==u&&s.push(de(u)):at(u)&&at(f)?s[l]=de(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function at(e){return n(e)&&n(e.text)&&!1===e.isComment}function st(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function ut(e){if(Array.isArray(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(Tt=function(){return performance.now()});var Nt=0,jt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Nt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!F.test(e)){var t=e.split(".");return function(e){for(var n=0;nOt&&wt[n].id>e.id;)n--;wt.splice(n+1,0,e)}else wt.push(e);At||(At=!0,Ge(Et))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Pe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Lt={enumerable:!0,configurable:!0,get:S,set:S};function Mt(e,t,n){Lt.get=function(){return this[t][n]},Lt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Lt)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&_e(!1);var o=function(o){i.push(o);var a=Le(o,t,n,e);we(r,o,a),o in e||Mt(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){ce();try{return e.call(t,t)}catch(e){return Pe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Mt(e,"_data",o))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Q();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new jt(e,a||S,S,Dt)),i in e||Pt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function wn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bn(a.componentOptions);s&&!t(s)&&Cn(n,o,r,i)}}}function Cn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=mn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Ne(yn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&dt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=vt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return hn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return hn(t,e,n,r,i,!0)};var o=r&&r.data;we(t,"$attrs",o&&o.attrs||e,null,!0),we(t,"$listeners",n._parentListeners||e,null,!0)}(n),$t(n,"beforeCreate"),function(e){var t=Bt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){we(e,n,t[n])}),_e(!0))}(n),It(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),$t(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(gn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ce,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(s(t))return Ht(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Pe(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(gn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?A(t):t;for(var n=A(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Cn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return P}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:k,mergeOptions:Ne,defineReactive:we},e.set=Ce,e.delete=xe,e.nextTick=Ge,e.observable=function(e){return $e(e),e},e.options=Object.create(null),I.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,k(e.options.components,An),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ne(this.options,e),this}}(e),_n(e),function(e){I.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(gn),Object.defineProperty(gn.prototype,"$isServer",{get:Q}),Object.defineProperty(gn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gn,"FunctionalRenderContext",{value:an}),gn.version="2.6.1";var kn=p("style,class"),On=p("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=p("contenteditable,draggable,spellcheck"),En=p("events,caret,typing,plaintext-only"),Nn=function(e,t){return Dn(t)||"false"===t?"false":"contenteditable"===e&&En(t)?t:"true"},jn=p("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"),Ln="http://www.w3.org/1999/xlink",Mn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},In=function(e){return Mn(e)?e.slice(6,e.length):""},Dn=function(e){return null==e||!1===e};function Pn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Rn(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Rn(t,r.data));return function(e,t){if(n(e)||n(t))return Fn(e,Hn(t));return""}(t.staticClass,t.class)}function Rn(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Hn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?fr(e,t,n):jn(t)?Dn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,Nn(t,n)):Mn(t)?Dn(n)?e.removeAttributeNS(Ln,In(t)):e.setAttributeNS(Ln,t,n):fr(e,t,n)}function fr(e,t,n){if(Dn(n))e.removeAttribute(t);else{if(J&&!q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var pr={create:ur,update:ur};function dr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Pn(r),c=i._transitionClasses;n(c)&&(s=Fn(s,Hn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var vr,hr,mr,yr,gr,_r,br={create:dr,update:dr},$r=/[\w).+\-_$\]]/;function wr(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&$r.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,yr),key:'"'+e.slice(yr+1)+'"'}:{exp:e,key:null};hr=e,yr=gr=_r=0;for(;!Fr();)Hr(mr=Rr())?Ur(mr):91===mr&&Br(mr);return{exp:e.slice(0,gr),key:e.slice(gr+1,_r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Rr(){return hr.charCodeAt(++yr)}function Fr(){return yr>=vr}function Hr(e){return 34===e||39===e}function Br(e){var t=1;for(gr=yr;!Fr();)if(Hr(e=Rr()))Ur(e);else if(91===e&&t++,93===e&&t--,0===t){_r=yr;break}}function Ur(e){for(var t=e;!Fr()&&(e=Rr())!==t;);}var zr,Vr="__r",Kr="__c";function Jr(e,t,n){var r=zr;return function i(){null!==t.apply(null,arguments)&&Wr(e,i,n,r)}}function qr(e,t,n,r){if(Ue){var i=St,o=t;t=o._wrapper=function(e){if(e.timeStamp>=i)return o.apply(this,arguments)}}zr.addEventListener(e,t,X?{capture:n,passive:r}:n)}function Wr(e,t,n,r){(r||zr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};zr=r.elm,function(e){if(n(e[Vr])){var t=J?"change":"input";e[t]=[].concat(e[Vr],e[t]||[]),delete e[Vr]}n(e[Kr])&&(e.change=[].concat(e[Kr],e.change||[]),delete e[Kr])}(i),nt(i,o,qr,Wr,Jr,r.context),zr=void 0}}var Gr,Xr={create:Zr,update:Zr};function Yr(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=k({},c)),s)t(c[i])&&(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i||o!==s[i])if("value"===i){a._value=o;var u=t(o)?"":String(o);Qr(a,u)&&(a.value=u)}else if("innerHTML"===i&&zn(a.tagName)&&t(a.innerHTML)){(Gr=Gr||document.createElement("div")).innerHTML=""+o+"";for(var l=Gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[i]=o}}}function Qr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var ei={create:Yr,update:Yr},ti=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ni(e){var t=ri(e.style);return e.staticStyle?k(e.staticStyle,t):t}function ri(e){return Array.isArray(e)?O(e):"string"==typeof e?ti(e):e}var ii,oi=/^--/,ai=/\s*!important$/,si=function(e,t,n){if(oi.test(t))e.style.setProperty(t,n);else if(ai.test(n))e.style.setProperty(C(t),n.replace(ai,""),"important");else{var r=ui(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(pi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function vi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(pi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function hi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&k(t,mi(e.name||"v")),k(t,e),t}return"string"==typeof e?mi(e):void 0}}var mi=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),yi=U&&!q,gi="transition",_i="animation",bi="transition",$i="transitionend",wi="animation",Ci="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bi="WebkitTransition",$i="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",Ci="webkitAnimationEnd"));var xi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ai(e){xi(function(){xi(e)})}function ki(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),di(e,t))}function Oi(e,t){e._transitionClasses&&h(e._transitionClasses,t),vi(e,t)}function Si(e,t,n){var r=Ei(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===gi?$i:Ci,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=gi,l=a,f=o.length):t===_i?u>0&&(n=_i,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?gi:_i:null)?n===gi?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===gi&&Ti.test(r[bi+"Property"])}}function Ni(e,t){for(;e.length1}function Pi(e,t){!0!==t.data.show&&Li(t)}var Ri=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(0,r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(0,h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function A(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(zi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ui(e,t){return t.every(function(t){return!N(t,e)})}function zi(e){return"_value"in e?e._value:e.value}function Vi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Ji(e.target,"input"))}function Ji(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function qi(e){return!e.componentInstance||e.data&&e.data.transition?e:qi(e.componentInstance._vnode)}var Wi={model:Fi,show:{bind:function(e,t,n){var r=t.value,i=(n=qi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Li(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Li(n,function(){e.style.display=e.__vOriginalDisplay}):Mi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Gi(ut(t.children)):e}function Xi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function Yi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Qi=function(e){return e.tag||ct(e)},eo=function(e){return"show"===e.name},to={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Qi)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=Gi(o);if(!a)return o;if(this._leaving)return Yi(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=Xi(this),u=this._vnode,l=Gi(u);if(a.data.directives&&a.data.directives.some(eo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!ct(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=k({},c);if("out-in"===r)return this._leaving=!0,rt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Yi(e,o);if("in-out"===r){if(ct(a))return u;var p,d=function(){p()};rt(c,"afterEnter",d),rt(c,"enterCancelled",d),rt(f,"delayLeave",function(e){p=e})}}return o}}},no=k({tag:String,moveClass:String},Zi);function ro(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function io(e){e.data.newPos=e.elm.getBoundingClientRect()}function oo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete no.mode;var ao={Transition:to,TransitionGroup:{props:no,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Xi(this),s=0;s-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},k(gn.options.directives,Wi),k(gn.options.components,ao),gn.prototype.__patch__=U?Ri:S,gn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=pe),$t(e,"beforeMount"),r=function(){e._update(e._render(),n)},new jt(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&$t(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,$t(e,"mounted")),e}(this,e=e&&U?Wn(e):void 0,t)},U&&setTimeout(function(){P.devtools&&ee&&ee.emit("init",gn)},0);var so=/\{\{((?:.|\r?\n)+?)\}\}/g,co=/[-.*+?^${}()|[\]\/\\]/g,uo=g(function(e){var t=e[0].replace(co,"\\$&"),n=e[1].replace(co,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var lo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Lr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=jr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var fo,po={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Lr(e,"style");n&&(e.staticStyle=JSON.stringify(ti(n)));var r=jr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vo=function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent},ho=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),mo=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),go=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bo="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",$o="((?:"+bo+"\\:)?"+bo+")",wo=new RegExp("^<"+$o),Co=/^\s*(\/?)>/,xo=new RegExp("^<\\/"+$o+"[^>]*>"),Ao=/^]+>/i,ko=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,jo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Lo=p("pre,textarea",!0),Mo=function(e,t){return e&&Lo(e)&&"\n"===t[0]};function Io(e,t){var n=t?jo:No;return e.replace(n,function(e){return Eo[e]})}var Do,Po,Ro,Fo,Ho,Bo,Uo,zo,Vo=/^@|^v-on:/,Ko=/^v-|^@|^:/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Zo=/^\[.*\]$/,Go=/:(.*)$/,Xo=/^:|^\.|^v-bind:/,Yo=/\.[^.]+/g,Qo=/^v-slot(:|$)|^#/,ea=/[\r\n]/,ta=/\s+/g,na=g(vo);function ra(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:la(t),rawAttrsMap:{},parent:n,children:[]}}function ia(e,t){Do=t.warn||xr,Bo=t.isPreTag||T,Uo=t.mustUseProp||T,zo=t.getTagNamespace||T;t.isReservedTag;Ro=Ar(t.modules,"transformNode"),Fo=Ar(t.modules,"preTransformNode"),Ho=Ar(t.modules,"postTransformNode"),Po=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=oa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&sa(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&sa(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Bo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,So(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Mo(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ko.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Oo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ao);if(m){C(m[0].length);continue}var y=e.match(xo);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var _=x();if(_){A(_),Mo(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(xo.test($)||wo.test($)||ko.test($)||Oo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(wo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Co))&&(r=e.match(_o)||e.match(go));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&yo(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:Do,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l){var f=r&&r.ns||zo(e);J&&"svg"===f&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=wr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Pr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Pr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Pr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=jr(e,"value")||"null";kr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Nr(e,"change",Pr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Vr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Pr(t,l);c&&(f="if($event.target.composing)return;"+f),kr(e,"value","("+t+")"),Nr(e,u,f,null,!0),(s||a)&&Nr(e,"blur","$forceUpdate()")}(e,r,i);else if(!P.isReservedTag(o))return Dr(e,r,i),!1;return!0},text:function(e,t){t.value&&kr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&kr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ho,mustUseProp:Sn,canBeLeftOpenTag:mo,isReservedTag:Vn,getTagNamespace:Kn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ga=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function _a(e,t){e&&(ha=ga(t.staticKeys||""),ma=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!ma(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ha)))}(t);if(1===t.type){if(!ma(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*\(/,$a=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Aa=function(e){return"if("+e+")return null;"},ka={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Aa("$event.target !== $event.currentTarget"),ctrl:Aa("!$event.ctrlKey"),shift:Aa("!$event.shiftKey"),alt:Aa("!$event.altKey"),meta:Aa("!$event.metaKey"),left:Aa("'button' in $event && $event.button !== 0"),middle:Aa("'button' in $event && $event.button !== 1"),right:Aa("'button' in $event && $event.button !== 2")};function Oa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Sa(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Sa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Sa(e)}).join(",")+"]";var t=wa.test(e.value),n=ba.test(e.value),r=wa.test(e.value.replace($a,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ka[s])o+=ka[s],Ca[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Aa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(('keyCode' in $event)&&"+e.map(Ta).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ta(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],r=xa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ea={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Na=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=k(k({},Ea),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new Na(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ma(e,t);if(e.once&&!e.onceProcessed)return Ia(e,t);if(e.for&&!e.forProcessed)return Pa(e,t);if(e.if&&!e.ifProcessed)return Da(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ha(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return b(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Ra(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ra(e,t));var i=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o':'
',Wa.innerHTML.indexOf(" ")>0}var Ya=!!U&&Xa(!1),Qa=!!U&&Xa(!0),es=g(function(e){var t=Wn(e);return t&&t.innerHTML}),ts=gn.prototype.$mount;gn.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Ga(r,{outputSourceRange:!1,shouldDecodeNewlines:Ya,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ts.call(this,e,t)},gn.compile=Ga,module.exports=gn; \ No newline at end of file diff --git a/dist/vue.esm.browser.js b/dist/vue.esm.browser.js index 558c61e07b7..2a3978e4cbb 100644 --- a/dist/vue.esm.browser.js +++ b/dist/vue.esm.browser.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1880,7 +1880,7 @@ function invokeWithErrorHandling ( let res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(e => handleError(e, vm, info + ` (Promise/async)`)); } } catch (e) { @@ -4615,8 +4615,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { const prop = (options.model && options.model.prop) || 'value'; - const event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + const event = (options.model && options.model.event) || 'input'; + const addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; const on = data.on || (data.on = {}); const existing = on[event]; const callback = data.model.callback; @@ -5352,7 +5353,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); -Vue.version = '2.6.0'; +Vue.version = '2.6.1'; /* */ @@ -6670,8 +6671,8 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { const blocker = e => { e.stopImmediatePropagation(); @@ -9140,10 +9141,11 @@ const decodingMap = { '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; -const encodedAttr = /&(?:lt|gt|quot|amp);/g; -const encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; +const encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; +const encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 const isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -9762,16 +9764,20 @@ function parse ( } }, comment (text, start, end) { - const child = { - type: 3, - text, - isComment: true - }; - if (options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + const child = { + type: 3, + text, + isComment: true + }; + if (options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -11104,7 +11110,7 @@ function genInlineTemplate (el, state) { { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { const inlineRenderFns = generate(ast, state.options); return `inlineTemplate:{render:function(){${ inlineRenderFns.render diff --git a/dist/vue.esm.browser.min.js b/dist/vue.esm.browser.min.js index 973ddbaa121..40241f78fad 100644 --- a/dist/vue.esm.browser.min.js +++ b/dist/vue.esm.browser.min.js @@ -1,6 +1,6 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ -const t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function o(t){return!0===t}function r(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}const i=Object.prototype.toString;function a(t){return"[object Object]"===i.call(t)}function c(t){const e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||a(t)&&t.toString===i?JSON.stringify(t,null,2):String(t)}function f(t){const e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){const n=Object.create(null),o=t.split(",");for(let t=0;tn[t.toLowerCase()]:t=>n[t]}const p=d("slot,component",!0),h=d("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){const n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}const g=Object.prototype.hasOwnProperty;function y(t,e){return g.call(t,e)}function v(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const $=/-(\w)/g,_=v(t=>t.replace($,(t,e)=>e?e.toUpperCase():"")),b=v(t=>t.charAt(0).toUpperCase()+t.slice(1)),w=/\B([A-Z])/g,C=v(t=>t.replace(w,"-$1").toLowerCase());const x=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){const o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;let n=t.length-e;const o=new Array(n);for(;n--;)o[n]=t[n+e];return o}function k(t,e){for(const n in e)t[n]=e[n];return t}function O(t){const e={};for(let n=0;n!1,N=t=>t;function E(t,e){if(t===e)return!0;const n=s(t),o=s(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{const n=Array.isArray(t),o=Array.isArray(e);if(n&&o)return t.length===e.length&&t.every((t,n)=>E(t,e[n]));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(n||o)return!1;{const n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(n=>E(t[n],e[n]))}}catch(t){return!1}}function j(t,e){for(let n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch);let X,Y=!1;if(U)try{const t={};Object.defineProperty(t,"passive",{get(){Y=!0}}),window.addEventListener("test-passive",null,t)}catch(t){}const Q=()=>(void 0===X&&(X=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),X),tt=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function et(t){return"function"==typeof t&&/native code/.test(t.toString())}const nt="undefined"!=typeof Symbol&&et(Symbol)&&"undefined"!=typeof Reflect&&et(Reflect.ownKeys);let ot;ot="undefined"!=typeof Set&&et(Set)?Set:class{constructor(){this.set=Object.create(null)}has(t){return!0===this.set[t]}add(t){this.set[t]=!0}clear(){this.set=Object.create(null)}};let rt=S,st=0;class it{constructor(){this.id=st++,this.subs=[]}addSub(t){this.subs.push(t)}removeSub(t){m(this.subs,t)}depend(){it.target&&it.target.addDep(this)}notify(){const t=this.subs.slice();for(let e=0,n=t.length;e{const e=new ut;return e.text=t,e.isComment=!0,e};function dt(t){return new ut(void 0,void 0,void 0,String(t))}function pt(t){const e=new ut(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}const ht=Array.prototype,mt=Object.create(ht);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){const e=ht[t];F(mt,t,function(...n){const o=e.apply(this,n),r=this.__ob__;let s;switch(t){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2)}return s&&r.observeArray(s),r.dep.notify(),o})});const gt=Object.getOwnPropertyNames(mt);let yt=!0;function vt(t){yt=t}class $t{constructor(t){var e;this.value=t,this.dep=new it,this.vmCount=0,F(t,"__ob__",this),Array.isArray(t)?(B?(e=mt,t.__proto__=e):function(t,e,n){for(let o=0,r=n.length;o{xt[t]=Ot}),M.forEach(function(t){xt[t+"s"]=St}),xt.watch=function(t,e,n,o){if(t===G&&(t=void 0),e===G&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;const r={};k(r,t);for(const t in e){let n=r[t];const o=e[t];n&&!Array.isArray(n)&&(n=[n]),r[t]=n?n.concat(o):Array.isArray(o)?o:[o]}return r},xt.props=xt.methods=xt.inject=xt.computed=function(t,e,n,o){if(!t)return e;const r=Object.create(null);return k(r,t),e&&k(r,e),r},xt.provide=kt;const Tt=function(t,e){return void 0===e?t:e};function Nt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){const n=t.props;if(!n)return;const o={};let r,s,i;if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(s=n[r])&&(o[i=_(s)]={type:null});else if(a(n))for(const t in n)s=n[t],o[i=_(t)]=a(s)?s:{type:s};t.props=o}(e),function(t,e){const n=t.inject;if(!n)return;const o=t.inject={};if(Array.isArray(n))for(let t=0;t-1)if(s&&!y(r,"default"))i=!1;else if(""===i||i===C(t)){const t=Mt(String,r.type);(t<0||aDt(t,o,r+" (Promise/async)"))}catch(t){Dt(t,o,r)}return s}function Rt(t,e,n){if(P.errorHandler)try{return P.errorHandler.call(null,t,e,n)}catch(t){Ft(t,null,"config.errorHandler")}Ft(t,e,n)}function Ft(t,e,n){if(!U&&!z||"undefined"==typeof console)throw t;console.error(t)}let Ht=!1;const Bt=[];let Ut,zt=!1;function Vt(){zt=!1;const t=Bt.slice(0);Bt.length=0;for(let e=0;e{t.then(Vt),Z&&setTimeout(S)}),Ht=!0}else if(J||"undefined"==typeof MutationObserver||!et(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ut="undefined"!=typeof setImmediate&&et(setImmediate)?()=>{setImmediate(Vt)}:()=>{setTimeout(Vt,0)};else{let t=1;const e=new MutationObserver(Vt),n=document.createTextNode(String(t));e.observe(n,{characterData:!0}),Ut=(()=>{t=(t+1)%2,n.data=String(t)}),Ht=!0}function Kt(t,e){let n;if(Bt.push(()=>{if(t)try{t.call(e)}catch(t){Dt(t,e,"nextTick")}else n&&n(e)}),zt||(zt=!0,Ut()),!t&&"undefined"!=typeof Promise)return new Promise(t=>{n=t})}const Jt=new ot;function qt(t){!function t(e,n){let o,r;const i=Array.isArray(e);if(!i&&!s(e)||Object.isFrozen(e)||e instanceof ut)return;if(e.__ob__){const t=e.__ob__.dep.id;if(n.has(t))return;n.add(t)}if(i)for(o=e.length;o--;)t(e[o],n);else for(r=Object.keys(e),o=r.length;o--;)t(e[r[o]],n)}(t,Jt),Jt.clear()}const Wt=v(t=>{const e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),o="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=o?t.slice(1):t,once:n,capture:o,passive:e}});function Zt(t,e){function n(){const t=n.fns;if(!Array.isArray(t))return Pt(t,null,arguments,e,"v-on handler");{const n=t.slice();for(let t=0;t0&&(te((l=t(l,`${i||""}_${c}`))[0])&&te(f)&&(a[u]=dt(f.text+l[0].text),l.shift()),a.push.apply(a,l)):r(l)?te(f)?a[u]=dt(f.text+l):""!==l&&a.push(dt(l)):te(l)&&te(f)?a[u]=dt(f.text+l.text):(o(s._isVList)&&n(l.tag)&&e(l.key)&&n(i)&&(l.key=`__vlist${i}_${c}__`),a.push(l)));return a}(t):void 0}function te(t){return n(t)&&n(t.text)&&!1===t.isComment}function ee(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function ne(t){return t.isComment&&t.asyncFactory}function oe(t){if(Array.isArray(t))for(let e=0;e{de=e}}function he(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function me(t,e){if(e){if(t._directInactive=!1,he(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(let e=0;et.id-e.id),we=0;wedocument.createEvent("Event").timeStamp&&(xe=(()=>performance.now()));let ke=0;class Oe{constructor(t,e,n,o,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ke,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ot,this.newDepIds=new ot,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(H.test(t))return;const e=t.split(".");return function(t){for(let n=0;nwe&&ye[e].id>t.id;)e--;ye.splice(e+1,0,t)}else ye.push(t);_e||(_e=!0,Kt(Ae))}}(this)}run(){if(this.active){const t=this.get();if(t!==this.value||s(t)||this.deep){const e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Dt(t,this.vm,`callback for watcher "${this.expression}"`)}else this.cb.call(this.vm,t,e)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let t=this.deps.length;for(;t--;)this.deps[t].depend()}teardown(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);let t=this.deps.length;for(;t--;)this.deps[t].removeSub(this);this.active=!1}}}const Se={enumerable:!0,configurable:!0,get:S,set:S};function Te(t,e,n){Se.get=function(){return this[e][n]},Se.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Se)}function Ne(t){t._watchers=[];const e=t.$options;e.props&&function(t,e){const n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[];t.$parent&&vt(!1);for(const s in e){r.push(s);const i=jt(s,e,n,t);bt(o,s,i),s in t||Te(t,"_props",s)}vt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(const n in e)t[n]="function"!=typeof e[n]?S:x(e[n],t)}(t,e.methods),e.data?function(t){let e=t.$options.data;a(e=t._data="function"==typeof e?function(t,e){ct();try{return t.call(e,e)}catch(t){return Dt(t,e,"data()"),{}}finally{lt()}}(e,t):e||{})||(e={});const n=Object.keys(e),o=t.$options.props;t.$options.methods;let r=n.length;for(;r--;){const e=n[r];o&&y(o,e)||R(e)||Te(t,"_data",e)}_t(e,!0)}(t):_t(t._data={},!0),e.computed&&function(t,e){const n=t._computedWatchers=Object.create(null),o=Q();for(const r in e){const s=e[r],i="function"==typeof s?s:s.get;o||(n[r]=new Oe(t,i||S,S,Ee)),r in t||je(t,r,s)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(const n in e){const o=e[n];if(Array.isArray(o))for(let e=0;e{const n=t(e);return n&&"object"==typeof n&&!Array.isArray(n)?[n]:Qt(n)}}function Fe(t,e){return()=>t[e]}function He(t,e){let o,r,i,a,c;if(Array.isArray(t)||"string"==typeof t)for(o=new Array(t.length),r=0,i=t.length;rle(r,s)),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return Pe(e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=Pe(e.scopedSlots,this.$slots)),a._scopeId?this._c=((t,e,n,o)=>{const r=un(c,t,e,n,o,u);return r&&!Array.isArray(r)&&(r.fnScopeId=a._scopeId,r.fnContext=s),r}):this._c=((t,e,n,o)=>un(c,t,e,n,o,u))}function en(t,e,n,o,r){const s=pt(t);return s.fnContext=n,s.fnOptions=o,e.slot&&((s.data||(s.data={})).slot=e.slot),s}function nn(t,e){for(const n in e)t[_(n)]=e[n]}Qe(tn.prototype);const on={init(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){const e=t;on.prepatch(e,e)}else{(t.componentInstance=function(t,e){const o={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;n(r)&&(o.render=r.render,o.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(o)}(t,de)).$mount(e?t.elm:void 0,e)}},prepatch(e,n){const o=n.componentOptions;!function(e,n,o,r,s){const i=!!(r.data.scopedSlots&&!r.data.scopedSlots.$stable||e.$scopedSlots!==t&&!e.$scopedSlots.$stable),a=!!(s||e.$options._renderChildren||i);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=s,e.$attrs=r.data.attrs||t,e.$listeners=o||t,n&&e.$options.props){vt(!1);const t=e._props,o=e.$options._propKeys||[];for(let r=0;r{for(let t=0,e=o.length;t{t.resolved=ee(e,r),a?o.length=0:c(!0)}),f=L(e=>{n(t.errorComp)&&(t.error=!0,c(!0))}),d=t(u,f);return s(d)&&(l(d)?e(t.resolved)&&d.then(u,f):l(d.component)&&(d.component.then(u,f),n(d.error)&&(t.errorComp=ee(d.error,r)),n(d.loading)&&(t.loadingComp=ee(d.loading,r),0===d.delay?t.loading=!0:setTimeout(()=>{e(t.resolved)&&e(t.error)&&(t.loading=!0,c(!1))},d.delay||200)),n(d.timeout)&&setTimeout(()=>{e(t.resolved)&&f(null)},d.timeout))),a=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}(d=r,f,a)))return function(t,e,n,o,r){const s=ft();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:o,tag:r},s}(d,i,a,c,u);i=i||{},dn(r),n(i.model)&&function(t,e){const o=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[o]=e.model.value;const s=e.on||(e.on={}),i=s[r],a=e.model.callback;n(i)?(Array.isArray(i)?-1===i.indexOf(a):i!==a)&&(s[r]=[a].concat(i)):s[r]=a}(r.options,i);const p=function(t,o,r){const s=o.options.props;if(e(s))return;const i={},{attrs:a,props:c}=t;if(n(a)||n(c))for(const t in s){const e=C(t);Yt(i,c,t,e,!0)||Yt(i,a,t,e,!1)}return i}(i,r);if(o(r.options.functional))return function(e,o,r,s,i){const a=e.options,c={},l=a.props;if(n(l))for(const e in l)c[e]=jt(e,l,o||t);else n(r.attrs)&&nn(c,r.attrs),n(r.props)&&nn(c,r.props);const u=new tn(r,c,i,s,e),f=a.render.call(null,u._c,u);if(f instanceof ut)return en(f,r,u.parent,a);if(Array.isArray(f)){const t=Qt(f)||[],e=new Array(t.length);for(let n=0;n{t(n,o),e(n,o)};return n._merged=!0,n}const cn=1,ln=2;function un(t,i,a,c,l,u){return(Array.isArray(a)||r(a))&&(l=c,c=a,a=void 0),o(u)&&(l=ln),function(t,r,i,a,c){if(n(i)&&n(i.__ob__))return ft();n(i)&&n(i.is)&&(r=i.is);if(!r)return ft();Array.isArray(a)&&"function"==typeof a[0]&&((i=i||{}).scopedSlots={default:a[0]},a.length=0);c===ln?a=Qt(a):c===cn&&(a=function(t){for(let e=0;e-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===i.call(n)&&t.test(e));var n}function yn(t,e){const{cache:n,keys:o,_vnode:r}=t;for(const t in n){const s=n[t];if(s){const i=mn(s.componentOptions);i&&!e(i)&&vn(n,t,o,r)}}}function vn(t,e,n,o){const r=t[e];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(e){e.prototype._init=function(e){const n=this;n._uid=fn++,n._isVue=!0,e&&e._isComponent?function(t,e){const n=t.$options=Object.create(t.constructor.options),o=e._parentVnode;n.parent=e.parent,n._parentVnode=o;const r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=Nt(dn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){const e=t.$options;let 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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;const e=t.$options._parentListeners;e&&ce(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;const n=e.$options,o=e.$vnode=n._parentVnode,r=o&&o.context;e.$slots=le(n._renderChildren,r),e.$scopedSlots=t,e._c=((t,n,o,r)=>un(e,t,n,o,r,!1)),e.$createElement=((t,n,o,r)=>un(e,t,n,o,r,!0));const s=o&&o.data;bt(e,"$attrs",s&&s.attrs||t,null,!0),bt(e,"$listeners",n._parentListeners||t,null,!0)}(n),ge(n,"beforeCreate"),function(t){const e=De(t.$options.inject,t);e&&(vt(!1),Object.keys(e).forEach(n=>{bt(t,n,e[n])}),vt(!0))}(n),Ne(n),function(t){const e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),ge(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(pn),function(t){const e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=wt,t.prototype.$delete=Ct,t.prototype.$watch=function(t,e,n){const o=this;if(a(e))return Me(o,t,e,n);(n=n||{}).user=!0;const r=new Oe(o,t,e,n);if(n.immediate)try{e.call(o,r.value)}catch(t){Dt(t,o,`callback for immediate watcher "${r.expression}"`)}return function(){r.teardown()}}}(pn),function(t){const e=/^hook:/;t.prototype.$on=function(t,n){const o=this;if(Array.isArray(t))for(let e=0,r=t.length;e1?A(n):n;const o=A(arguments,1),r=`event handler for "${t}"`;for(let t=0,s=n.length;t{yn(this,e=>gn(t,e))}),this.$watch("exclude",t=>{yn(this,e=>!gn(t,e))})},render(){const t=this.$slots.default,e=oe(t),n=e&&e.componentOptions;if(n){const t=mn(n),{include:o,exclude:r}=this;if(o&&(!t||!gn(o,t))||r&&t&&gn(r,t))return e;const{cache:s,keys:i}=this,a=null==e.key?n.Ctor.cid+(n.tag?`::${n.tag}`:""):e.key;s[a]?(e.componentInstance=s[a].componentInstance,m(i,a),i.push(a)):(s[a]=e,i.push(a),this.max&&i.length>parseInt(this.max)&&vn(s,i[0],i,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){const e={get:()=>P};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:k,mergeOptions:Nt,defineReactive:bt},t.set=wt,t.delete=Ct,t.nextTick=Kt,t.observable=(t=>(_t(t),t)),t.options=Object.create(null),M.forEach(e=>{t.options[e+"s"]=Object.create(null)}),t.options._base=t,k(t.options.components,_n),function(t){t.use=function(t){const e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;const n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),hn(t),function(t){M.forEach(e=>{t[e]=function(t,n){return n?("component"===e&&a(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]}})}(t)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:Q}),Object.defineProperty(pn.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:tn}),pn.version="2.6.0";const bn=d("style,class"),wn=d("input,textarea,option,select,progress"),Cn=(t,e,n)=>"value"===n&&wn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t,xn=d("contenteditable,draggable,spellcheck"),An=d("events,caret,typing,plaintext-only"),kn=(t,e)=>En(e)||"false"===e?"false":"contenteditable"===t&&An(e)?e:"true",On=d("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"),Sn="http://www.w3.org/1999/xlink",Tn=t=>":"===t.charAt(5)&&"xlink"===t.slice(0,5),Nn=t=>Tn(t)?t.slice(6,t.length):"",En=t=>null==t||!1===t;function jn(t){let e=t.data,o=t,r=t;for(;n(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Ln(r.data,e));for(;n(o=o.parent);)o&&o.data&&(e=Ln(e,o.data));return function(t,e){if(n(t)||n(e))return In(t,Mn(e));return""}(e.staticClass,e.class)}function Ln(t,e){return{staticClass:In(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function In(t,e){return t?e?t+" "+e:t:e||""}function Mn(t){return Array.isArray(t)?function(t){let e,o="";for(let r=0,s=t.length;rPn(t)||Rn(t);function Hn(t){return Rn(t)?"svg":"math"===t?"math":void 0}const Bn=Object.create(null);const Un=d("text,number,password,search,email,tel,url");function zn(t){if("string"==typeof t){const e=document.querySelector(t);return e||document.createElement("div")}return t}var Vn=Object.freeze({createElement:function(t,e){const n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Dn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Kn={create(t,e){Jn(e)},update(t,e){t.data.ref!==e.data.ref&&(Jn(t,!0),Jn(e))},destroy(t){Jn(t,!0)}};function Jn(t,e){const o=t.data.ref;if(!n(o))return;const r=t.context,s=t.componentInstance||t.elm,i=r.$refs;e?Array.isArray(i[o])?m(i[o],s):i[o]===s&&(i[o]=void 0):t.data.refInFor?Array.isArray(i[o])?i[o].indexOf(s)<0&&i[o].push(s):i[o]=[s]:i[o]=s}const qn=new ut("",{},[]),Wn=["create","activate","update","remove","destroy"];function Zn(t,r){return t.key===r.key&&(t.tag===r.tag&&t.isComment===r.isComment&&n(t.data)===n(r.data)&&function(t,e){if("input"!==t.tag)return!0;let o;const r=n(o=t.data)&&n(o=o.attrs)&&o.type,s=n(o=e.data)&&n(o=o.attrs)&&o.type;return r===s||Un(r)&&Un(s)}(t,r)||o(t.isAsyncPlaceholder)&&t.asyncFactory===r.asyncFactory&&e(r.asyncFactory.error))}function Gn(t,e,o){let r,s;const i={};for(r=e;r<=o;++r)n(s=t[r].key)&&(i[s]=r);return i}var Xn={create:Yn,update:Yn,destroy:function(t){Yn(t,qn)}};function Yn(t,e){(t.data.directives||e.data.directives)&&function(t,e){const n=t===qn,o=e===qn,r=to(t.data.directives,t.context),s=to(e.data.directives,e.context),i=[],a=[];let c,l,u;for(c in s)l=r[c],u=s[c],l?(u.oldValue=l.value,u.oldArg=l.arg,no(u,"update",e,t),u.def&&u.def.componentUpdated&&a.push(u)):(no(u,"bind",e,t),u.def&&u.def.inserted&&i.push(u));if(i.length){const o=()=>{for(let n=0;n{for(let n=0;n-1?io(t,e,n):On(e)?En(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):xn(e)?t.setAttribute(e,kn(e,n)):Tn(e)?En(n)?t.removeAttributeNS(Sn,Nn(e)):t.setAttributeNS(Sn,e,n):io(t,e,n)}function io(t,e,n){if(En(n))t.removeAttribute(e);else{if(J&&!q&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){const e=n=>{n.stopImmediatePropagation(),t.removeEventListener("input",e)};t.addEventListener("input",e),t.__ieph=!0}t.setAttribute(e,n)}}var ao={create:ro,update:ro};function co(t,o){const r=o.elm,s=o.data,i=t.data;if(e(s.staticClass)&&e(s.class)&&(e(i)||e(i.staticClass)&&e(i.class)))return;let a=jn(o);const c=r._transitionClasses;n(c)&&(a=In(a,Mn(c))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}var lo={create:co,update:co};const uo=/[\w).+\-_$\]]/;function fo(t){let e,n,o,r,s,i=!1,a=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(o=0;o=0&&" "===(e=t.charAt(n));n--);e&&uo.test(e)||(l=!0)}}else void 0===r?(p=o+1,r=t.slice(0,o).trim()):h();function h(){(s||(s=[])).push(t.slice(p,o).trim()),p=o+1}if(void 0===r?r=t.slice(0,o).trim():0!==p&&h(),s)for(o=0;ot[e]).filter(t=>t):[]}function go(t,e,n,o,r){(t.props||(t.props=[])).push(Ao({name:e,value:n,dynamic:r},o)),t.plain=!1}function yo(t,e,n,o,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Ao({name:e,value:n,dynamic:r},o)),t.plain=!1}function vo(t,e,n,o){t.attrsMap[e]=n,t.attrsList.push(Ao({name:e,value:n},o))}function $o(t,e,n,o,r,s,i,a){(t.directives||(t.directives=[])).push(Ao({name:e,rawName:n,value:o,arg:r,isDynamicArg:s,modifiers:i},a)),t.plain=!1}function _o(t,e,n){return n?`_p(${e},"${t}")`:t+e}function bo(e,n,o,r,s,i,a,c){let l;(r=r||t).right?c?n=`(${n})==='click'?'contextmenu':(${n})`:"click"===n&&(n="contextmenu",delete r.right):r.middle&&(c?n=`(${n})==='click'?'mouseup':(${n})`:"click"===n&&(n="mouseup")),r.capture&&(delete r.capture,n=_o("!",n,c)),r.once&&(delete r.once,n=_o("~",n,c)),r.passive&&(delete r.passive,n=_o("&",n,c)),r.native?(delete r.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});const u=Ao({value:o.trim(),dynamic:c},a);r!==t&&(u.modifiers=r);const f=l[n];Array.isArray(f)?s?f.unshift(u):f.push(u):l[n]=f?s?[u,f]:[f,u]:u,e.plain=!1}function wo(t,e,n){const o=Co(t,":"+e)||Co(t,"v-bind:"+e);if(null!=o)return fo(o);if(!1!==n){const n=Co(t,e);if(null!=n)return JSON.stringify(n)}}function Co(t,e,n){let o;if(null!=(o=t.attrsMap[e])){const n=t.attrsList;for(let t=0,o=n.length;t-1?{exp:t.slice(0,Eo),key:'"'+t.slice(Eo+1)+'"'}:{exp:t,key:null};To=t,Eo=jo=Lo=0;for(;!Mo();)Do(No=Io())?Ro(No):91===No&&Po(No);return{exp:t.slice(0,jo),key:t.slice(jo+1,Lo)}}(t);return null===n.key?`${t}=${e}`:`$set(${n.exp}, ${n.key}, ${e})`}let So,To,No,Eo,jo,Lo;function Io(){return To.charCodeAt(++Eo)}function Mo(){return Eo>=So}function Do(t){return 34===t||39===t}function Po(t){let e=1;for(jo=Eo;!Mo();)if(Do(t=Io()))Ro(t);else if(91===t&&e++,93===t&&e--,0===e){Lo=Eo;break}}function Ro(t){const e=t;for(;!Mo()&&(t=Io())!==e;);}const Fo="__r",Ho="__c";let Bo;function Uo(t,e,n){const o=Bo;return function r(){null!==e.apply(null,arguments)&&Vo(t,r,n,o)}}function zo(t,e,n,o){if(Ht){const t=Ce,n=e;e=n._wrapper=function(e){if(e.timeStamp>=t)return n.apply(this,arguments)}}Bo.addEventListener(t,e,Y?{capture:n,passive:o}:n)}function Vo(t,e,n,o){(o||Bo).removeEventListener(t,e._wrapper||e,n)}function Ko(t,o){if(e(t.data.on)&&e(o.data.on))return;const r=o.data.on||{},s=t.data.on||{};Bo=o.elm,function(t){if(n(t[Fo])){const e=J?"change":"input";t[e]=[].concat(t[Fo],t[e]||[]),delete t[Fo]}n(t[Ho])&&(t.change=[].concat(t[Ho],t.change||[]),delete t[Ho])}(r),Gt(r,s,zo,Vo,Uo,o.context),Bo=void 0}var Jo={create:Ko,update:Ko};let qo;function Wo(t,o){if(e(t.data.domProps)&&e(o.data.domProps))return;let r,s;const i=o.elm,a=t.data.domProps||{};let c=o.data.domProps||{};for(r in n(c.__ob__)&&(c=o.data.domProps=k({},c)),a)e(c[r])&&(i[r]="");for(r in c){if(s=c[r],"textContent"===r||"innerHTML"===r){if(o.children&&(o.children.length=0),s===a[r])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===r||s!==a[r])if("value"===r){i._value=s;const t=e(s)?"":String(s);Zo(i,t)&&(i.value=t)}else if("innerHTML"===r&&Rn(i.tagName)&&e(i.innerHTML)){(qo=qo||document.createElement("div")).innerHTML=`${s}`;const t=qo.firstChild;for(;i.firstChild;)i.removeChild(i.firstChild);for(;t.firstChild;)i.appendChild(t.firstChild)}else i[r]=s}}function Zo(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){let n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){const o=t.value,r=t._vModifiers;if(n(r)){if(r.number)return f(o)!==f(e);if(r.trim)return o.trim()!==e.trim()}return o!==e}(t,e))}var Go={create:Wo,update:Wo};const Xo=v(function(t){const e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){const o=t.split(n);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e});function Yo(t){const e=Qo(t.style);return t.staticStyle?k(t.staticStyle,e):e}function Qo(t){return Array.isArray(t)?O(t):"string"==typeof t?Xo(t):t}const tr=/^--/,er=/\s*!important$/,nr=(t,e,n)=>{if(tr.test(e))t.style.setProperty(e,n);else if(er.test(n))t.style.setProperty(C(e),n.replace(er,""),"important");else{const o=sr(e);if(Array.isArray(n))for(let e=0,r=n.length;e-1?e.split(cr).forEach(e=>t.classList.add(e)):t.classList.add(e);else{const n=` ${t.getAttribute("class")||""} `;n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ur(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(cr).forEach(e=>t.classList.remove(e)):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{let n=` ${t.getAttribute("class")||""} `;const o=" "+e+" ";for(;n.indexOf(o)>=0;)n=n.replace(o," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function fr(t){if(t){if("object"==typeof t){const e={};return!1!==t.css&&k(e,dr(t.name||"v")),k(e,t),e}return"string"==typeof t?dr(t):void 0}}const dr=v(t=>({enterClass:`${t}-enter`,enterToClass:`${t}-enter-to`,enterActiveClass:`${t}-enter-active`,leaveClass:`${t}-leave`,leaveToClass:`${t}-leave-to`,leaveActiveClass:`${t}-leave-active`})),pr=U&&!q,hr="transition",mr="animation";let gr="transition",yr="transitionend",vr="animation",$r="animationend";pr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(gr="WebkitTransition",yr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(vr="WebkitAnimation",$r="webkitAnimationEnd"));const _r=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:t=>t();function br(t){_r(()=>{_r(t)})}function wr(t,e){const n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),lr(t,e))}function Cr(t,e){t._transitionClasses&&m(t._transitionClasses,e),ur(t,e)}function xr(t,e,n){const{type:o,timeout:r,propCount:s}=kr(t,e);if(!o)return n();const i=o===hr?yr:$r;let a=0;const c=()=>{t.removeEventListener(i,l),n()},l=e=>{e.target===t&&++a>=s&&c()};setTimeout(()=>{a0&&(l=hr,u=s,f=r.length):e===mr?c>0&&(l=mr,u=c,f=a.length):f=(l=(u=Math.max(s,c))>0?s>c?hr:mr:null)?l===hr?r.length:a.length:0,{type:l,timeout:u,propCount:f,hasTransform:l===hr&&Ar.test(n[gr+"Property"])}}function Or(t,e){for(;t.lengthSr(e)+Sr(t[n])))}function Sr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Tr(t,o){const r=t.elm;n(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());const i=fr(t.data.transition);if(e(i))return;if(n(r._enterCb)||1!==r.nodeType)return;const{css:a,type:c,enterClass:l,enterToClass:u,enterActiveClass:d,appearClass:p,appearToClass:h,appearActiveClass:m,beforeEnter:g,enter:y,afterEnter:v,enterCancelled:$,beforeAppear:_,appear:b,afterAppear:w,appearCancelled:C,duration:x}=i;let A=de,k=de.$vnode;for(;k&&k.parent;)A=(k=k.parent).context;const O=!A._isMounted||!t.isRootInsert;if(O&&!b&&""!==b)return;const S=O&&p?p:l,T=O&&m?m:d,N=O&&h?h:u,E=O&&_||g,j=O&&"function"==typeof b?b:y,I=O&&w||v,M=O&&C||$,D=f(s(x)?x.enter:x),P=!1!==a&&!q,R=jr(j),F=r._enterCb=L(()=>{P&&(Cr(r,N),Cr(r,T)),F.cancelled?(P&&Cr(r,S),M&&M(r)):I&&I(r),r._enterCb=null});t.data.show||Xt(t,"insert",()=>{const e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),j&&j(r,F)}),E&&E(r),P&&(wr(r,S),wr(r,T),br(()=>{Cr(r,S),F.cancelled||(wr(r,N),R||(Er(D)?setTimeout(F,D):xr(r,c,F)))})),t.data.show&&(o&&o(),j&&j(r,F)),P||R||F()}function Nr(t,o){const r=t.elm;n(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());const i=fr(t.data.transition);if(e(i)||1!==r.nodeType)return o();if(n(r._leaveCb))return;const{css:a,type:c,leaveClass:l,leaveToClass:u,leaveActiveClass:d,beforeLeave:p,leave:h,afterLeave:m,leaveCancelled:g,delayLeave:y,duration:v}=i,$=!1!==a&&!q,_=jr(h),b=f(s(v)?v.leave:v),w=r._leaveCb=L(()=>{r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),$&&(Cr(r,u),Cr(r,d)),w.cancelled?($&&Cr(r,l),g&&g(r)):(o(),m&&m(r)),r._leaveCb=null});function C(){w.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),p&&p(r),$&&(wr(r,l),wr(r,d),br(()=>{Cr(r,l),w.cancelled||(wr(r,u),_||(Er(b)?setTimeout(w,b):xr(r,c,w)))})),h&&h(r,w),$||_||w())}y?y(C):C()}function Er(t){return"number"==typeof t&&!isNaN(t)}function jr(t){if(e(t))return!1;const o=t.fns;return n(o)?jr(Array.isArray(o)?o[0]:o):(t._length||t.length)>1}function Lr(t,e){!0!==e.data.show&&Tr(e)}const Ir=function(t){let s,i;const a={},{modules:c,nodeOps:l}=t;for(s=0;sm?$(t,d=e(r[v+1])?null:r[v+1].elm,r,h,v,s):h>v&&b(0,o,p,m)}(d,m,y,s,u):n(y)?(n(t.text)&&l.setTextContent(d,""),$(d,null,y,0,y.length-1,s)):n(m)?b(0,m,0,m.length-1):n(t.text)&&l.setTextContent(d,""):t.text!==r.text&&l.setTextContent(d,r.text),n(h)&&n(p=h.hook)&&n(p=p.postpatch)&&p(t,r)}function A(t,e,r){if(o(r)&&n(t.parent))t.parent.data.pendingInsert=e;else for(let t=0;t{const t=document.activeElement;t&&t.vmodel&&Ur(t,"input")});const Mr={inserted(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?Xt(n,"postpatch",()=>{Mr.componentUpdated(t,e,n)}):Dr(t,e,n.context),t._vOptions=[].map.call(t.options,Fr)):("textarea"===n.tag||Un(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Hr),t.addEventListener("compositionend",Br),t.addEventListener("change",Br),q&&(t.vmodel=!0)))},componentUpdated(t,e,n){if("select"===n.tag){Dr(t,e,n.context);const o=t._vOptions,r=t._vOptions=[].map.call(t.options,Fr);if(r.some((t,e)=>!E(t,o[e]))){(t.multiple?e.value.some(t=>Rr(t,r)):e.value!==e.oldValue&&Rr(e.value,r))&&Ur(t,"change")}}}};function Dr(t,e,n){Pr(t,e,n),(J||W)&&setTimeout(()=>{Pr(t,e,n)},0)}function Pr(t,e,n){const o=e.value,r=t.multiple;if(r&&!Array.isArray(o))return;let s,i;for(let e=0,n=t.options.length;e-1,i.selected!==s&&(i.selected=s);else if(E(Fr(i),o))return void(t.selectedIndex!==e&&(t.selectedIndex=e));r||(t.selectedIndex=-1)}function Rr(t,e){return e.every(e=>!E(e,t))}function Fr(t){return"_value"in t?t._value:t.value}function Hr(t){t.target.composing=!0}function Br(t){t.target.composing&&(t.target.composing=!1,Ur(t.target,"input"))}function Ur(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function zr(t){return!t.componentInstance||t.data&&t.data.transition?t:zr(t.componentInstance._vnode)}var Vr={model:Mr,show:{bind(t,{value:e},n){const o=(n=zr(n)).data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;e&&o?(n.data.show=!0,Tr(n,()=>{t.style.display=r})):t.style.display=e?r:"none"},update(t,{value:e,oldValue:n},o){if(!e==!n)return;(o=zr(o)).data&&o.data.transition?(o.data.show=!0,e?Tr(o,()=>{t.style.display=t.__vOriginalDisplay}):Nr(o,()=>{t.style.display="none"})):t.style.display=e?t.__vOriginalDisplay:"none"},unbind(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}}};const Kr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Jr(t){const e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Jr(oe(e.children)):t}function qr(t){const e={},n=t.$options;for(const o in n.propsData)e[o]=t[o];const o=n._parentListeners;for(const t in o)e[_(t)]=o[t];return e}function Wr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}const Zr=t=>t.tag||ne(t),Gr=t=>"show"===t.name;var Xr={name:"transition",props:Kr,abstract:!0,render(t){let e=this.$slots.default;if(!e)return;if(!(e=e.filter(Zr)).length)return;const n=this.mode,o=e[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;const s=Jr(o);if(!s)return o;if(this._leaving)return Wr(t,o);const i=`__transition-${this._uid}-`;s.key=null==s.key?s.isComment?i+"comment":i+s.tag:r(s.key)?0===String(s.key).indexOf(i)?s.key:i+s.key:s.key;const a=(s.data||(s.data={})).transition=qr(this),c=this._vnode,l=Jr(c);if(s.data.directives&&s.data.directives.some(Gr)&&(s.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,l)&&!ne(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){const e=l.data.transition=k({},a);if("out-in"===n)return this._leaving=!0,Xt(e,"afterLeave",()=>{this._leaving=!1,this.$forceUpdate()}),Wr(t,o);if("in-out"===n){if(ne(s))return c;let t;const n=()=>{t()};Xt(a,"afterEnter",n),Xt(a,"enterCancelled",n),Xt(e,"delayLeave",e=>{t=e})}}return o}};const Yr=k({tag:String,moveClass:String},Kr);function Qr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ts(t){t.data.newPos=t.elm.getBoundingClientRect()}function es(t){const e=t.data.pos,n=t.data.newPos,o=e.left-n.left,r=e.top-n.top;if(o||r){t.data.moved=!0;const e=t.elm.style;e.transform=e.WebkitTransform=`translate(${o}px,${r}px)`,e.transitionDuration="0s"}}delete Yr.mode;var ns={Transition:Xr,TransitionGroup:{props:Yr,beforeMount(){const t=this._update;this._update=((e,n)=>{const o=pe(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,o(),t.call(this,e,n)})},render(t){const e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],i=qr(this);for(let t=0;t{if(t.data.moved){const n=t.elm,o=n.style;wr(n,e),o.transform=o.WebkitTransform=o.transitionDuration="",n.addEventListener(yr,n._moveCb=function t(o){o&&o.target!==n||o&&!/transform$/.test(o.propertyName)||(n.removeEventListener(yr,t),n._moveCb=null,Cr(n,e))})}}))},methods:{hasMove(t,e){if(!pr)return!1;if(this._hasMove)return this._hasMove;const n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(t=>{ur(n,t)}),lr(n,e),n.style.display="none",this.$el.appendChild(n);const o=kr(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}}};pn.config.mustUseProp=Cn,pn.config.isReservedTag=Fn,pn.config.isReservedAttr=bn,pn.config.getTagNamespace=Hn,pn.config.isUnknownElement=function(t){if(!U)return!0;if(Fn(t))return!1;if(t=t.toLowerCase(),null!=Bn[t])return Bn[t];const e=document.createElement(t);return t.indexOf("-")>-1?Bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bn[t]=/HTMLUnknownElement/.test(e.toString())},k(pn.options.directives,Vr),k(pn.options.components,ns),pn.prototype.__patch__=U?Ir:S,pn.prototype.$mount=function(t,e){return function(t,e,n){let o;return t.$el=e,t.$options.render||(t.$options.render=ft),ge(t,"beforeMount"),o=(()=>{t._update(t._render(),n)}),new Oe(t,o,S,{before(){t._isMounted&&!t._isDestroyed&&ge(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,ge(t,"mounted")),t}(this,t=t&&U?zn(t):void 0,e)},U&&setTimeout(()=>{P.devtools&&tt&&tt.emit("init",pn)},0);const os=/\{\{((?:.|\r?\n)+?)\}\}/g,rs=/[-.*+?^${}()|[\]\/\\]/g,ss=v(t=>{const e=t[0].replace(rs,"\\$&"),n=t[1].replace(rs,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});var is={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;const n=Co(t,"class");n&&(t.staticClass=JSON.stringify(n));const o=wo(t,"class",!1);o&&(t.classBinding=o)},genData:function(t){let e="";return t.staticClass&&(e+=`staticClass:${t.staticClass},`),t.classBinding&&(e+=`class:${t.classBinding},`),e}};var as={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;const n=Co(t,"style");n&&(t.staticStyle=JSON.stringify(Xo(n)));const o=wo(t,"style",!1);o&&(t.styleBinding=o)},genData:function(t){let e="";return t.staticStyle&&(e+=`staticStyle:${t.staticStyle},`),t.styleBinding&&(e+=`style:(${t.styleBinding}),`),e}};let cs;var ls={decode:t=>((cs=cs||document.createElement("div")).innerHTML=t,cs.textContent)};const us=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),fs=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ds=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ps=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,hs=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ms="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",gs=`((?:${ms}\\:)?${ms})`,ys=new RegExp(`^<${gs}`),vs=/^\s*(\/?)>/,$s=new RegExp(`^<\\/${gs}[^>]*>`),_s=/^]+>/i,bs=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},ks=/&(?:lt|gt|quot|amp);/g,Os=/&(?:lt|gt|quot|amp|#10|#9);/g,Ss=d("pre,textarea",!0),Ts=(t,e)=>t&&Ss(t)&&"\n"===e[0];function Ns(t,e){const n=e?Os:ks;return t.replace(n,t=>As[t])}const Es=/^@|^v-on:/,js=/^v-|^@|^:/,Ls=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Is=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ms=/^\(|\)$/g,Ds=/^\[.*\]$/,Ps=/:(.*)$/,Rs=/^:|^\.|^v-bind:/,Fs=/\.[^.]+/g,Hs=/^v-slot(:|$)|^#/,Bs=/[\r\n]/,Us=/\s+/g,zs=v(ls.decode);let Vs,Ks,Js,qs,Ws,Zs,Gs,Xs;function Ys(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:si(e),rawAttrsMap:{},parent:n,children:[]}}function Qs(t,e){Vs=e.warn||ho,Zs=e.isPreTag||T,Gs=e.mustUseProp||T,Xs=e.getTagNamespace||T;e.isReservedTag;Js=mo(e.modules,"transformNode"),qs=mo(e.modules,"preTransformNode"),Ws=mo(e.modules,"postTransformNode"),Ks=e.delimiters;const n=[],o=!1!==e.preserveWhitespace,r=e.whitespace;let s,i,a=!1,c=!1;function l(t){if(u(t),a||t.processed||(t=ti(t,e)),n.length||t===s||s.if&&(t.elseif||t.else)&&ni(s,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)!function(t,e){const n=function(t){let e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&ni(n,{exp:t.elseif,block:t})}(t,i);else{if(t.slotScope){const e=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[e]=t}i.children.push(t),t.parent=i}t.children=t.children.filter(t=>!t.slotScope),u(t),t.pre&&(a=!1),Zs(t.tag)&&(c=!1);for(let n=0;n]*>)","i")),s=t.replace(r,function(t,r,s){return n=s.length,Cs(o)||"noscript"===o||(r=r.replace(//g,"$1").replace(//g,"$1")),Ts(o,r)&&(r=r.slice(1)),e.chars&&e.chars(r),""});c+=t.length-s.length,t=s,d(o,c-n,c)}else{let n,o,r,s=t.indexOf("<");if(0===s){if(bs.test(t)){const n=t.indexOf("--\x3e");if(n>=0){e.shouldKeepComment&&e.comment(t.substring(4,n),c,c+n+3),l(n+3);continue}}if(ws.test(t)){const e=t.indexOf("]>");if(e>=0){l(e+2);continue}}const n=t.match(_s);if(n){l(n[0].length);continue}const o=t.match($s);if(o){const t=c;l(o[0].length),d(o[1],t,c);continue}const r=u();if(r){f(r),Ts(r.tagName,t)&&l(1);continue}}if(s>=0){for(o=t.slice(s);!($s.test(o)||ys.test(o)||bs.test(o)||ws.test(o)||(r=o.indexOf("<",1))<0);)s+=r,o=t.slice(s);n=t.substring(0,s)}s<0&&(n=t),n&&l(n.length),e.chars&&n&&e.chars(n,c-n.length,c)}if(t===i){e.chars&&e.chars(t);break}}function l(e){c+=e,t=t.substring(e)}function u(){const e=t.match(ys);if(e){const n={tagName:e[1],attrs:[],start:c};let o,r;for(l(e[0].length);!(o=t.match(vs))&&(r=t.match(hs)||t.match(ps));)r.start=c,l(r[0].length),r.end=c,n.attrs.push(r);if(o)return n.unarySlash=o[1],l(o[0].length),n.end=c,n}}function f(t){const i=t.tagName,c=t.unarySlash;o&&("p"===a&&ds(i)&&d(a),s(i)&&a===i&&d(i));const l=r(i)||!!c,u=t.attrs.length,f=new Array(u);for(let n=0;n=0&&n[s].lowerCasedTag!==i;s--);else s=0;if(s>=0){for(let t=n.length-1;t>=s;t--)e.end&&e.end(n[t].tag,o,r);n.length=s,a=s&&n[s-1].tag}else"br"===i?e.start&&e.start(t,[],!0,o,r):"p"===i&&(e.start&&e.start(t,[],!1,o,r),e.end&&e.end(t,o,r))}d()}(t,{warn:Vs,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start(t,o,r,u){const f=i&&i.ns||Xs(t);J&&"svg"===f&&(o=function(t){const e=[];for(let n=0;nc&&(r.push(a=t.slice(c,i)),o.push(JSON.stringify(a)));const e=fo(s[1].trim());o.push(`_s(${e})`),r.push({"@binding":e}),c=i+s[0].length}return c!t.slotScope),s.slotScope=e.value||"_",t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=wo(n,"name")),function(t){let e;(e=wo(t,"is"))&&(t.component=e);null!=Co(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(let n=0;n{t[e.slice(1)]=!0}),t}}function si(t){const e={};for(let n=0,o=t.length;n-1`+("true"===s?`:(${e})`:`:_q(${e},${s})`)),bo(t,"change",`var $$a=${e},`+"$$el=$event.target,"+`$$c=$$el.checked?(${s}):(${i});`+"if(Array.isArray($$a)){"+`var $$v=${o?"_n("+r+")":r},`+"$$i=_i($$a,$$v);"+`if($$el.checked){$$i<0&&(${Oo(e,"$$a.concat([$$v])")})}`+`else{$$i>-1&&(${Oo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")})}`+`}else{${Oo(e,"$$c")}}`,null,!0)}(t,o,r);else if("input"===s&&"radio"===i)!function(t,e,n){const o=n&&n.number;let r=wo(t,"value")||"null";go(t,"checked",`_q(${e},${r=o?`_n(${r})`:r})`),bo(t,"change",Oo(e,r),null,!0)}(t,o,r);else if("input"===s||"textarea"===s)!function(t,e,n){const o=t.attrsMap.type,{lazy:r,number:s,trim:i}=n||{},a=!r&&"range"!==o,c=r?"change":"range"===o?Fo:"input";let l="$event.target.value";i&&(l="$event.target.value.trim()"),s&&(l=`_n(${l})`);let u=Oo(e,l);a&&(u=`if($event.target.composing)return;${u}`),go(t,"value",`(${e})`),bo(t,c,u,null,!0),(i||s)&&bo(t,"blur","$forceUpdate()")}(t,o,r);else if(!P.isReservedTag(s))return ko(t,o,r),!1;return!0},text:function(t,e){e.value&&go(t,"textContent",`_s(${e.value})`,e)},html:function(t,e){e.value&&go(t,"innerHTML",`_s(${e.value})`,e)}},isPreTag:t=>"pre"===t,isUnaryTag:us,mustUseProp:Cn,canBeLeftOpenTag:fs,isReservedTag:Fn,getTagNamespace:Hn,staticKeys:function(t){return t.reduce((t,e)=>t.concat(e.staticKeys||[]),[]).join(",")}(li)};let fi,di;const pi=v(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function hi(t,e){t&&(fi=pi(e.staticKeys||""),di=e.isReservedTag||T,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||p(t.tag)||!di(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(fi)))}(e);if(1===e.type){if(!di(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(let n=0,o=e.children.length;n|^function\s*\(/,gi=/\([^)]*?\);*$/,yi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,vi={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},$i={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},_i=t=>`if(${t})return null;`,bi={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:_i("$event.target !== $event.currentTarget"),ctrl:_i("!$event.ctrlKey"),shift:_i("!$event.shiftKey"),alt:_i("!$event.altKey"),meta:_i("!$event.metaKey"),left:_i("'button' in $event && $event.button !== 0"),middle:_i("'button' in $event && $event.button !== 1"),right:_i("'button' in $event && $event.button !== 2")};function wi(t,e){const n=e?"nativeOn:":"on:";let o="",r="";for(const e in t){const n=Ci(t[e]);t[e]&&t[e].dynamic?r+=`${e},${n},`:o+=`"${e}":${n},`}return o=`{${o.slice(0,-1)}}`,r?n+`_d(${o},[${r.slice(0,-1)}])`:n+o}function Ci(t){if(!t)return"function(){}";if(Array.isArray(t))return`[${t.map(t=>Ci(t)).join(",")}]`;const e=yi.test(t.value),n=mi.test(t.value),o=yi.test(t.value.replace(gi,""));if(t.modifiers){let r="",s="";const i=[];for(const e in t.modifiers)if(bi[e])s+=bi[e],vi[e]&&i.push(e);else if("exact"===e){const e=t.modifiers;s+=_i(["ctrl","shift","alt","meta"].filter(t=>!e[t]).map(t=>`$event.${t}Key`).join("||"))}else i.push(e);return i.length&&(r+=function(t){return`if(('keyCode' in $event)&&${t.map(xi).join("&&")})return null;`}(i)),s&&(r+=s),`function($event){${r}${e?`return ${t.value}($event)`:n?`return (${t.value})($event)`:o?`return ${t.value}`:t.value}}`}return e||n?t.value:`function($event){${o?`return ${t.value}`:t.value}}`}function xi(t){const e=parseInt(t,10);if(e)return`$event.keyCode!==${e}`;const n=vi[t],o=$i[t];return"_k($event.keyCode,"+`${JSON.stringify(t)},`+`${JSON.stringify(n)},`+"$event.key,"+`${JSON.stringify(o)}`+")"}var Ai={on:function(t,e){t.wrapListeners=(t=>`_g(${t},${e.value})`)},bind:function(t,e){t.wrapData=(n=>`_b(${n},'${t.tag}',${e.value},${e.modifiers&&e.modifiers.prop?"true":"false"}${e.modifiers&&e.modifiers.sync?",true":""})`)},cloak:S};class ki{constructor(t){this.options=t,this.warn=t.warn||ho,this.transforms=mo(t.modules,"transformCode"),this.dataGenFns=mo(t.modules,"genData"),this.directives=k(k({},Ai),t.directives);const e=t.isReservedTag||T;this.maybeComponent=(t=>!!t.component||!e(t.tag)),this.onceId=0,this.staticRenderFns=[],this.pre=!1}}function Oi(t,e){const n=new ki(e);return{render:`with(this){return ${t?Si(t,n):'_c("div")'}}`,staticRenderFns:n.staticRenderFns}}function Si(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ti(t,e);if(t.once&&!t.onceProcessed)return Ni(t,e);if(t.for&&!t.forProcessed)return ji(t,e);if(t.if&&!t.ifProcessed)return Ei(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){const n=t.slotName||'"default"',o=Mi(t,e);let r=`_t(${n}${o?`,${o}`:""}`;const s=t.attrs&&`{${t.attrs.map(t=>`${_(t.name)}:${t.value}`).join(",")}}`,i=t.attrsMap["v-bind"];!s&&!i||o||(r+=",null");s&&(r+=`,${s}`);i&&(r+=`${s?"":",null"},${i}`);return r+")"}(t,e);{let n;if(t.component)n=function(t,e,n){const o=e.inlineTemplate?null:Mi(e,n,!0);return`_c(${t},${Li(e,n)}${o?`,${o}`:""})`}(t.component,t,e);else{let o;(!t.plain||t.pre&&e.maybeComponent(t))&&(o=Li(t,e));const r=t.inlineTemplate?null:Mi(t,e,!0);n=`_c('${t.tag}'${o?`,${o}`:""}${r?`,${r}`:""})`}for(let o=0;o{const n=t[e];return n.slotTargetDynamic||n.if||n.for});return`scopedSlots:_u([${Object.keys(t).map(n=>Ii(t[n],e)).join(",")}]${n?",true":""})`}(t.scopedSlots,e)},`),t.model&&(n+=`model:{value:${t.model.value},callback:${t.model.callback},expression:${t.model.expression}},`),t.inlineTemplate){const o=function(t,e){const n=t.children[0];if(1===n.type){const t=Oi(n,e.options);return`inlineTemplate:{render:function(){${t.render}},staticRenderFns:[${t.staticRenderFns.map(t=>`function(){${t}}`).join(",")}]}`}}(t,e);o&&(n+=`${o},`)}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n=`_b(${n},"${t.tag}",${Ri(t.dynamicAttrs)})`),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ii(t,e){if(t.if&&!t.ifProcessed)return Ei(t,e,Ii,"null");if(t.for&&!t.forProcessed)return ji(t,e,Ii);const n=`function(${String(t.slotScope)}){`+`return ${"template"===t.tag?Mi(t,e)||"undefined":Si(t,e)}}`;return`{key:${t.slotTarget||'"default"'},fn:${n}}`}function Mi(t,e,n,o,r){const s=t.children;if(s.length){const t=s[0];if(1===s.length&&t.for&&"template"!==t.tag&&"slot"!==t.tag){const r=n?e.maybeComponent(t)?",1":",0":"";return`${(o||Si)(t,e)}${r}`}const i=n?function(t,e){let n=0;for(let o=0;oDi(t.block))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(t=>e(t.block)))&&(n=1)}}return n}(s,e.maybeComponent):0,a=r||Pi;return`[${s.map(t=>a(t,e)).join(",")}]${i?`,${i}`:""}`}}function Di(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Pi(t,e){return 1===t.type?Si(t,e):3===t.type&&t.isComment?(o=t,`_e(${JSON.stringify(o.text)})`):`_v(${2===(n=t).type?n.expression:Fi(JSON.stringify(n.text))})`;var n,o}function Ri(t){let e="",n="";for(let o=0;oHi(t,c)),e[s]=a}}const Ui=(zi=function(t,e){const n=Qs(t.trim(),e);!1!==e.optimize&&hi(n,e);const o=Oi(n,e);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}},function(t){function e(e,n){const o=Object.create(t),r=[],s=[];if(n){n.modules&&(o.modules=(t.modules||[]).concat(n.modules)),n.directives&&(o.directives=k(Object.create(t.directives||null),n.directives));for(const t in n)"modules"!==t&&"directives"!==t&&(o[t]=n[t])}o.warn=((t,e,n)=>{(n?s:r).push(t)});const i=zi(e.trim(),o);return i.errors=r,i.tips=s,i}return{compile:e,compileToFunctions:Bi(e)}});var zi;const{compile:Vi,compileToFunctions:Ki}=Ui(ui);let Ji;function qi(t){return(Ji=Ji||document.createElement("div")).innerHTML=t?'':'
',Ji.innerHTML.indexOf(" ")>0}const Wi=!!U&&qi(!1),Zi=!!U&&qi(!0),Gi=v(t=>{const e=zn(t);return e&&e.innerHTML}),Xi=pn.prototype.$mount;pn.prototype.$mount=function(t,e){if((t=t&&zn(t))===document.body||t===document.documentElement)return this;const n=this.$options;if(!n.render){let e=n.template;if(e)if("string"==typeof e)"#"===e.charAt(0)&&(e=Gi(e));else{if(!e.nodeType)return this;e=e.innerHTML}else t&&(e=function(t){if(t.outerHTML)return t.outerHTML;{const e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}}(t));if(e){const{render:t,staticRenderFns:o}=Ki(e,{outputSourceRange:!1,shouldDecodeNewlines:Wi,shouldDecodeNewlinesForHref:Zi,delimiters:n.delimiters,comments:n.comments},this);n.render=t,n.staticRenderFns=o}}return Xi.call(this,t,e)},pn.compile=Ki;export default pn; \ No newline at end of file +const t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function o(t){return!0===t}function r(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}const i=Object.prototype.toString;function a(t){return"[object Object]"===i.call(t)}function c(t){const e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||a(t)&&t.toString===i?JSON.stringify(t,null,2):String(t)}function f(t){const e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){const n=Object.create(null),o=t.split(",");for(let t=0;tn[t.toLowerCase()]:t=>n[t]}const p=d("slot,component",!0),h=d("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){const n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}const g=Object.prototype.hasOwnProperty;function y(t,e){return g.call(t,e)}function v(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const $=/-(\w)/g,_=v(t=>t.replace($,(t,e)=>e?e.toUpperCase():"")),b=v(t=>t.charAt(0).toUpperCase()+t.slice(1)),w=/\B([A-Z])/g,C=v(t=>t.replace(w,"-$1").toLowerCase());const x=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){const o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;let n=t.length-e;const o=new Array(n);for(;n--;)o[n]=t[n+e];return o}function k(t,e){for(const n in e)t[n]=e[n];return t}function O(t){const e={};for(let n=0;n!1,E=t=>t;function N(t,e){if(t===e)return!0;const n=s(t),o=s(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{const n=Array.isArray(t),o=Array.isArray(e);if(n&&o)return t.length===e.length&&t.every((t,n)=>N(t,e[n]));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(n||o)return!1;{const n=Object.keys(t),o=Object.keys(e);return n.length===o.length&&n.every(n=>N(t[n],e[n]))}}catch(t){return!1}}function j(t,e){for(let n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch);let X,Y=!1;if(U)try{const t={};Object.defineProperty(t,"passive",{get(){Y=!0}}),window.addEventListener("test-passive",null,t)}catch(t){}const Q=()=>(void 0===X&&(X=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),X),tt=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function et(t){return"function"==typeof t&&/native code/.test(t.toString())}const nt="undefined"!=typeof Symbol&&et(Symbol)&&"undefined"!=typeof Reflect&&et(Reflect.ownKeys);let ot;ot="undefined"!=typeof Set&&et(Set)?Set:class{constructor(){this.set=Object.create(null)}has(t){return!0===this.set[t]}add(t){this.set[t]=!0}clear(){this.set=Object.create(null)}};let rt=S,st=0;class it{constructor(){this.id=st++,this.subs=[]}addSub(t){this.subs.push(t)}removeSub(t){m(this.subs,t)}depend(){it.target&&it.target.addDep(this)}notify(){const t=this.subs.slice();for(let e=0,n=t.length;e{const e=new ut;return e.text=t,e.isComment=!0,e};function dt(t){return new ut(void 0,void 0,void 0,String(t))}function pt(t){const e=new ut(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}const ht=Array.prototype,mt=Object.create(ht);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){const e=ht[t];F(mt,t,function(...n){const o=e.apply(this,n),r=this.__ob__;let s;switch(t){case"push":case"unshift":s=n;break;case"splice":s=n.slice(2)}return s&&r.observeArray(s),r.dep.notify(),o})});const gt=Object.getOwnPropertyNames(mt);let yt=!0;function vt(t){yt=t}class $t{constructor(t){var e;this.value=t,this.dep=new it,this.vmCount=0,F(t,"__ob__",this),Array.isArray(t)?(B?(e=mt,t.__proto__=e):function(t,e,n){for(let o=0,r=n.length;o{xt[t]=Ot}),I.forEach(function(t){xt[t+"s"]=St}),xt.watch=function(t,e,n,o){if(t===G&&(t=void 0),e===G&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;const r={};k(r,t);for(const t in e){let n=r[t];const o=e[t];n&&!Array.isArray(n)&&(n=[n]),r[t]=n?n.concat(o):Array.isArray(o)?o:[o]}return r},xt.props=xt.methods=xt.inject=xt.computed=function(t,e,n,o){if(!t)return e;const r=Object.create(null);return k(r,t),e&&k(r,e),r},xt.provide=kt;const Tt=function(t,e){return void 0===e?t:e};function Et(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){const n=t.props;if(!n)return;const o={};let r,s,i;if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(s=n[r])&&(o[i=_(s)]={type:null});else if(a(n))for(const t in n)s=n[t],o[i=_(t)]=a(s)?s:{type:s};t.props=o}(e),function(t,e){const n=t.inject;if(!n)return;const o=t.inject={};if(Array.isArray(n))for(let t=0;t-1)if(s&&!y(r,"default"))i=!1;else if(""===i||i===C(t)){const t=It(String,r.type);(t<0||aDt(t,o,r+" (Promise/async)"))}catch(t){Dt(t,o,r)}return s}function Rt(t,e,n){if(P.errorHandler)try{return P.errorHandler.call(null,t,e,n)}catch(t){Ft(t,null,"config.errorHandler")}Ft(t,e,n)}function Ft(t,e,n){if(!U&&!z||"undefined"==typeof console)throw t;console.error(t)}let Ht=!1;const Bt=[];let Ut,zt=!1;function Vt(){zt=!1;const t=Bt.slice(0);Bt.length=0;for(let e=0;e{t.then(Vt),Z&&setTimeout(S)}),Ht=!0}else if(J||"undefined"==typeof MutationObserver||!et(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ut="undefined"!=typeof setImmediate&&et(setImmediate)?()=>{setImmediate(Vt)}:()=>{setTimeout(Vt,0)};else{let t=1;const e=new MutationObserver(Vt),n=document.createTextNode(String(t));e.observe(n,{characterData:!0}),Ut=(()=>{t=(t+1)%2,n.data=String(t)}),Ht=!0}function Kt(t,e){let n;if(Bt.push(()=>{if(t)try{t.call(e)}catch(t){Dt(t,e,"nextTick")}else n&&n(e)}),zt||(zt=!0,Ut()),!t&&"undefined"!=typeof Promise)return new Promise(t=>{n=t})}const Jt=new ot;function qt(t){!function t(e,n){let o,r;const i=Array.isArray(e);if(!i&&!s(e)||Object.isFrozen(e)||e instanceof ut)return;if(e.__ob__){const t=e.__ob__.dep.id;if(n.has(t))return;n.add(t)}if(i)for(o=e.length;o--;)t(e[o],n);else for(r=Object.keys(e),o=r.length;o--;)t(e[r[o]],n)}(t,Jt),Jt.clear()}const Wt=v(t=>{const e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),o="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=o?t.slice(1):t,once:n,capture:o,passive:e}});function Zt(t,e){function n(){const t=n.fns;if(!Array.isArray(t))return Pt(t,null,arguments,e,"v-on handler");{const n=t.slice();for(let t=0;t0&&(te((l=t(l,`${i||""}_${c}`))[0])&&te(f)&&(a[u]=dt(f.text+l[0].text),l.shift()),a.push.apply(a,l)):r(l)?te(f)?a[u]=dt(f.text+l):""!==l&&a.push(dt(l)):te(l)&&te(f)?a[u]=dt(f.text+l.text):(o(s._isVList)&&n(l.tag)&&e(l.key)&&n(i)&&(l.key=`__vlist${i}_${c}__`),a.push(l)));return a}(t):void 0}function te(t){return n(t)&&n(t.text)&&!1===t.isComment}function ee(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function ne(t){return t.isComment&&t.asyncFactory}function oe(t){if(Array.isArray(t))for(let e=0;e{de=e}}function he(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function me(t,e){if(e){if(t._directInactive=!1,he(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(let e=0;et.id-e.id),we=0;wedocument.createEvent("Event").timeStamp&&(xe=(()=>performance.now()));let ke=0;class Oe{constructor(t,e,n,o,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync,this.before=o.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ke,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ot,this.newDepIds=new ot,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(H.test(t))return;const e=t.split(".");return function(t){for(let n=0;nwe&&ye[e].id>t.id;)e--;ye.splice(e+1,0,t)}else ye.push(t);_e||(_e=!0,Kt(Ae))}}(this)}run(){if(this.active){const t=this.get();if(t!==this.value||s(t)||this.deep){const e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Dt(t,this.vm,`callback for watcher "${this.expression}"`)}else this.cb.call(this.vm,t,e)}}}evaluate(){this.value=this.get(),this.dirty=!1}depend(){let t=this.deps.length;for(;t--;)this.deps[t].depend()}teardown(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);let t=this.deps.length;for(;t--;)this.deps[t].removeSub(this);this.active=!1}}}const Se={enumerable:!0,configurable:!0,get:S,set:S};function Te(t,e,n){Se.get=function(){return this[e][n]},Se.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Se)}function Ee(t){t._watchers=[];const e=t.$options;e.props&&function(t,e){const n=t.$options.propsData||{},o=t._props={},r=t.$options._propKeys=[];t.$parent&&vt(!1);for(const s in e){r.push(s);const i=jt(s,e,n,t);bt(o,s,i),s in t||Te(t,"_props",s)}vt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(const n in e)t[n]="function"!=typeof e[n]?S:x(e[n],t)}(t,e.methods),e.data?function(t){let e=t.$options.data;a(e=t._data="function"==typeof e?function(t,e){ct();try{return t.call(e,e)}catch(t){return Dt(t,e,"data()"),{}}finally{lt()}}(e,t):e||{})||(e={});const n=Object.keys(e),o=t.$options.props;t.$options.methods;let r=n.length;for(;r--;){const e=n[r];o&&y(o,e)||R(e)||Te(t,"_data",e)}_t(e,!0)}(t):_t(t._data={},!0),e.computed&&function(t,e){const n=t._computedWatchers=Object.create(null),o=Q();for(const r in e){const s=e[r],i="function"==typeof s?s:s.get;o||(n[r]=new Oe(t,i||S,S,Ne)),r in t||je(t,r,s)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(const n in e){const o=e[n];if(Array.isArray(o))for(let e=0;e{const n=t(e);return n&&"object"==typeof n&&!Array.isArray(n)?[n]:Qt(n)}}function Fe(t,e){return()=>t[e]}function He(t,e){let o,r,i,a,c;if(Array.isArray(t)||"string"==typeof t)for(o=new Array(t.length),r=0,i=t.length;rle(r,s)),Object.defineProperty(this,"scopedSlots",{enumerable:!0,get(){return Pe(e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=Pe(e.scopedSlots,this.$slots)),a._scopeId?this._c=((t,e,n,o)=>{const r=un(c,t,e,n,o,u);return r&&!Array.isArray(r)&&(r.fnScopeId=a._scopeId,r.fnContext=s),r}):this._c=((t,e,n,o)=>un(c,t,e,n,o,u))}function en(t,e,n,o,r){const s=pt(t);return s.fnContext=n,s.fnOptions=o,e.slot&&((s.data||(s.data={})).slot=e.slot),s}function nn(t,e){for(const n in e)t[_(n)]=e[n]}Qe(tn.prototype);const on={init(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){const e=t;on.prepatch(e,e)}else{(t.componentInstance=function(t,e){const o={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;n(r)&&(o.render=r.render,o.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(o)}(t,de)).$mount(e?t.elm:void 0,e)}},prepatch(e,n){const o=n.componentOptions;!function(e,n,o,r,s){const i=!!(r.data.scopedSlots&&!r.data.scopedSlots.$stable||e.$scopedSlots!==t&&!e.$scopedSlots.$stable),a=!!(s||e.$options._renderChildren||i);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=s,e.$attrs=r.data.attrs||t,e.$listeners=o||t,n&&e.$options.props){vt(!1);const t=e._props,o=e.$options._propKeys||[];for(let r=0;r{for(let t=0,e=o.length;t{t.resolved=ee(e,r),a?o.length=0:c(!0)}),f=L(e=>{n(t.errorComp)&&(t.error=!0,c(!0))}),d=t(u,f);return s(d)&&(l(d)?e(t.resolved)&&d.then(u,f):l(d.component)&&(d.component.then(u,f),n(d.error)&&(t.errorComp=ee(d.error,r)),n(d.loading)&&(t.loadingComp=ee(d.loading,r),0===d.delay?t.loading=!0:setTimeout(()=>{e(t.resolved)&&e(t.error)&&(t.loading=!0,c(!1))},d.delay||200)),n(d.timeout)&&setTimeout(()=>{e(t.resolved)&&f(null)},d.timeout))),a=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}(d=r,f,a)))return function(t,e,n,o,r){const s=ft();return s.asyncFactory=t,s.asyncMeta={data:e,context:n,children:o,tag:r},s}(d,i,a,c,u);i=i||{},dn(r),n(i.model)&&function(t,e){const o=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input",s=t.props&&o in t.props?"props":"attrs";(e[s]||(e[s]={}))[o]=e.model.value;const i=e.on||(e.on={}),a=i[r],c=e.model.callback;n(a)?(Array.isArray(a)?-1===a.indexOf(c):a!==c)&&(i[r]=[c].concat(a)):i[r]=c}(r.options,i);const p=function(t,o,r){const s=o.options.props;if(e(s))return;const i={},{attrs:a,props:c}=t;if(n(a)||n(c))for(const t in s){const e=C(t);Yt(i,c,t,e,!0)||Yt(i,a,t,e,!1)}return i}(i,r);if(o(r.options.functional))return function(e,o,r,s,i){const a=e.options,c={},l=a.props;if(n(l))for(const e in l)c[e]=jt(e,l,o||t);else n(r.attrs)&&nn(c,r.attrs),n(r.props)&&nn(c,r.props);const u=new tn(r,c,i,s,e),f=a.render.call(null,u._c,u);if(f instanceof ut)return en(f,r,u.parent,a);if(Array.isArray(f)){const t=Qt(f)||[],e=new Array(t.length);for(let n=0;n{t(n,o),e(n,o)};return n._merged=!0,n}const cn=1,ln=2;function un(t,i,a,c,l,u){return(Array.isArray(a)||r(a))&&(l=c,c=a,a=void 0),o(u)&&(l=ln),function(t,r,i,a,c){if(n(i)&&n(i.__ob__))return ft();n(i)&&n(i.is)&&(r=i.is);if(!r)return ft();Array.isArray(a)&&"function"==typeof a[0]&&((i=i||{}).scopedSlots={default:a[0]},a.length=0);c===ln?a=Qt(a):c===cn&&(a=function(t){for(let e=0;e-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===i.call(n)&&t.test(e));var n}function yn(t,e){const{cache:n,keys:o,_vnode:r}=t;for(const t in n){const s=n[t];if(s){const i=mn(s.componentOptions);i&&!e(i)&&vn(n,t,o,r)}}}function vn(t,e,n,o){const r=t[e];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(e){e.prototype._init=function(e){const n=this;n._uid=fn++,n._isVue=!0,e&&e._isComponent?function(t,e){const n=t.$options=Object.create(t.constructor.options),o=e._parentVnode;n.parent=e.parent,n._parentVnode=o;const r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=Et(dn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){const e=t.$options;let 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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;const e=t.$options._parentListeners;e&&ce(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;const n=e.$options,o=e.$vnode=n._parentVnode,r=o&&o.context;e.$slots=le(n._renderChildren,r),e.$scopedSlots=t,e._c=((t,n,o,r)=>un(e,t,n,o,r,!1)),e.$createElement=((t,n,o,r)=>un(e,t,n,o,r,!0));const s=o&&o.data;bt(e,"$attrs",s&&s.attrs||t,null,!0),bt(e,"$listeners",n._parentListeners||t,null,!0)}(n),ge(n,"beforeCreate"),function(t){const e=De(t.$options.inject,t);e&&(vt(!1),Object.keys(e).forEach(n=>{bt(t,n,e[n])}),vt(!0))}(n),Ee(n),function(t){const e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),ge(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(pn),function(t){const e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=wt,t.prototype.$delete=Ct,t.prototype.$watch=function(t,e,n){const o=this;if(a(e))return Ie(o,t,e,n);(n=n||{}).user=!0;const r=new Oe(o,t,e,n);if(n.immediate)try{e.call(o,r.value)}catch(t){Dt(t,o,`callback for immediate watcher "${r.expression}"`)}return function(){r.teardown()}}}(pn),function(t){const e=/^hook:/;t.prototype.$on=function(t,n){const o=this;if(Array.isArray(t))for(let e=0,r=t.length;e1?A(n):n;const o=A(arguments,1),r=`event handler for "${t}"`;for(let t=0,s=n.length;t{yn(this,e=>gn(t,e))}),this.$watch("exclude",t=>{yn(this,e=>!gn(t,e))})},render(){const t=this.$slots.default,e=oe(t),n=e&&e.componentOptions;if(n){const t=mn(n),{include:o,exclude:r}=this;if(o&&(!t||!gn(o,t))||r&&t&&gn(r,t))return e;const{cache:s,keys:i}=this,a=null==e.key?n.Ctor.cid+(n.tag?`::${n.tag}`:""):e.key;s[a]?(e.componentInstance=s[a].componentInstance,m(i,a),i.push(a)):(s[a]=e,i.push(a),this.max&&i.length>parseInt(this.max)&&vn(s,i[0],i,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){const e={get:()=>P};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:k,mergeOptions:Et,defineReactive:bt},t.set=wt,t.delete=Ct,t.nextTick=Kt,t.observable=(t=>(_t(t),t)),t.options=Object.create(null),I.forEach(e=>{t.options[e+"s"]=Object.create(null)}),t.options._base=t,k(t.options.components,_n),function(t){t.use=function(t){const e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;const n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Et(this.options,t),this}}(t),hn(t),function(t){I.forEach(e=>{t[e]=function(t,n){return n?("component"===e&&a(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]}})}(t)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:Q}),Object.defineProperty(pn.prototype,"$ssrContext",{get(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:tn}),pn.version="2.6.1";const bn=d("style,class"),wn=d("input,textarea,option,select,progress"),Cn=(t,e,n)=>"value"===n&&wn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t,xn=d("contenteditable,draggable,spellcheck"),An=d("events,caret,typing,plaintext-only"),kn=(t,e)=>Nn(e)||"false"===e?"false":"contenteditable"===t&&An(e)?e:"true",On=d("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"),Sn="http://www.w3.org/1999/xlink",Tn=t=>":"===t.charAt(5)&&"xlink"===t.slice(0,5),En=t=>Tn(t)?t.slice(6,t.length):"",Nn=t=>null==t||!1===t;function jn(t){let e=t.data,o=t,r=t;for(;n(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Ln(r.data,e));for(;n(o=o.parent);)o&&o.data&&(e=Ln(e,o.data));return function(t,e){if(n(t)||n(e))return Mn(t,In(e));return""}(e.staticClass,e.class)}function Ln(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function In(t){return Array.isArray(t)?function(t){let e,o="";for(let r=0,s=t.length;rPn(t)||Rn(t);function Hn(t){return Rn(t)?"svg":"math"===t?"math":void 0}const Bn=Object.create(null);const Un=d("text,number,password,search,email,tel,url");function zn(t){if("string"==typeof t){const e=document.querySelector(t);return e||document.createElement("div")}return t}var Vn=Object.freeze({createElement:function(t,e){const n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Dn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Kn={create(t,e){Jn(e)},update(t,e){t.data.ref!==e.data.ref&&(Jn(t,!0),Jn(e))},destroy(t){Jn(t,!0)}};function Jn(t,e){const o=t.data.ref;if(!n(o))return;const r=t.context,s=t.componentInstance||t.elm,i=r.$refs;e?Array.isArray(i[o])?m(i[o],s):i[o]===s&&(i[o]=void 0):t.data.refInFor?Array.isArray(i[o])?i[o].indexOf(s)<0&&i[o].push(s):i[o]=[s]:i[o]=s}const qn=new ut("",{},[]),Wn=["create","activate","update","remove","destroy"];function Zn(t,r){return t.key===r.key&&(t.tag===r.tag&&t.isComment===r.isComment&&n(t.data)===n(r.data)&&function(t,e){if("input"!==t.tag)return!0;let o;const r=n(o=t.data)&&n(o=o.attrs)&&o.type,s=n(o=e.data)&&n(o=o.attrs)&&o.type;return r===s||Un(r)&&Un(s)}(t,r)||o(t.isAsyncPlaceholder)&&t.asyncFactory===r.asyncFactory&&e(r.asyncFactory.error))}function Gn(t,e,o){let r,s;const i={};for(r=e;r<=o;++r)n(s=t[r].key)&&(i[s]=r);return i}var Xn={create:Yn,update:Yn,destroy:function(t){Yn(t,qn)}};function Yn(t,e){(t.data.directives||e.data.directives)&&function(t,e){const n=t===qn,o=e===qn,r=to(t.data.directives,t.context),s=to(e.data.directives,e.context),i=[],a=[];let c,l,u;for(c in s)l=r[c],u=s[c],l?(u.oldValue=l.value,u.oldArg=l.arg,no(u,"update",e,t),u.def&&u.def.componentUpdated&&a.push(u)):(no(u,"bind",e,t),u.def&&u.def.inserted&&i.push(u));if(i.length){const o=()=>{for(let n=0;n{for(let n=0;n-1?io(t,e,n):On(e)?Nn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):xn(e)?t.setAttribute(e,kn(e,n)):Tn(e)?Nn(n)?t.removeAttributeNS(Sn,En(e)):t.setAttributeNS(Sn,e,n):io(t,e,n)}function io(t,e,n){if(Nn(n))t.removeAttribute(e);else{if(J&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){const e=n=>{n.stopImmediatePropagation(),t.removeEventListener("input",e)};t.addEventListener("input",e),t.__ieph=!0}t.setAttribute(e,n)}}var ao={create:ro,update:ro};function co(t,o){const r=o.elm,s=o.data,i=t.data;if(e(s.staticClass)&&e(s.class)&&(e(i)||e(i.staticClass)&&e(i.class)))return;let a=jn(o);const c=r._transitionClasses;n(c)&&(a=Mn(a,In(c))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}var lo={create:co,update:co};const uo=/[\w).+\-_$\]]/;function fo(t){let e,n,o,r,s,i=!1,a=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(o=0;o=0&&" "===(e=t.charAt(n));n--);e&&uo.test(e)||(l=!0)}}else void 0===r?(p=o+1,r=t.slice(0,o).trim()):h();function h(){(s||(s=[])).push(t.slice(p,o).trim()),p=o+1}if(void 0===r?r=t.slice(0,o).trim():0!==p&&h(),s)for(o=0;ot[e]).filter(t=>t):[]}function go(t,e,n,o,r){(t.props||(t.props=[])).push(Ao({name:e,value:n,dynamic:r},o)),t.plain=!1}function yo(t,e,n,o,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Ao({name:e,value:n,dynamic:r},o)),t.plain=!1}function vo(t,e,n,o){t.attrsMap[e]=n,t.attrsList.push(Ao({name:e,value:n},o))}function $o(t,e,n,o,r,s,i,a){(t.directives||(t.directives=[])).push(Ao({name:e,rawName:n,value:o,arg:r,isDynamicArg:s,modifiers:i},a)),t.plain=!1}function _o(t,e,n){return n?`_p(${e},"${t}")`:t+e}function bo(e,n,o,r,s,i,a,c){let l;(r=r||t).right?c?n=`(${n})==='click'?'contextmenu':(${n})`:"click"===n&&(n="contextmenu",delete r.right):r.middle&&(c?n=`(${n})==='click'?'mouseup':(${n})`:"click"===n&&(n="mouseup")),r.capture&&(delete r.capture,n=_o("!",n,c)),r.once&&(delete r.once,n=_o("~",n,c)),r.passive&&(delete r.passive,n=_o("&",n,c)),r.native?(delete r.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});const u=Ao({value:o.trim(),dynamic:c},a);r!==t&&(u.modifiers=r);const f=l[n];Array.isArray(f)?s?f.unshift(u):f.push(u):l[n]=f?s?[u,f]:[f,u]:u,e.plain=!1}function wo(t,e,n){const o=Co(t,":"+e)||Co(t,"v-bind:"+e);if(null!=o)return fo(o);if(!1!==n){const n=Co(t,e);if(null!=n)return JSON.stringify(n)}}function Co(t,e,n){let o;if(null!=(o=t.attrsMap[e])){const n=t.attrsList;for(let t=0,o=n.length;t-1?{exp:t.slice(0,No),key:'"'+t.slice(No+1)+'"'}:{exp:t,key:null};To=t,No=jo=Lo=0;for(;!Io();)Do(Eo=Mo())?Ro(Eo):91===Eo&&Po(Eo);return{exp:t.slice(0,jo),key:t.slice(jo+1,Lo)}}(t);return null===n.key?`${t}=${e}`:`$set(${n.exp}, ${n.key}, ${e})`}let So,To,Eo,No,jo,Lo;function Mo(){return To.charCodeAt(++No)}function Io(){return No>=So}function Do(t){return 34===t||39===t}function Po(t){let e=1;for(jo=No;!Io();)if(Do(t=Mo()))Ro(t);else if(91===t&&e++,93===t&&e--,0===e){Lo=No;break}}function Ro(t){const e=t;for(;!Io()&&(t=Mo())!==e;);}const Fo="__r",Ho="__c";let Bo;function Uo(t,e,n){const o=Bo;return function r(){null!==e.apply(null,arguments)&&Vo(t,r,n,o)}}function zo(t,e,n,o){if(Ht){const t=Ce,n=e;e=n._wrapper=function(e){if(e.timeStamp>=t)return n.apply(this,arguments)}}Bo.addEventListener(t,e,Y?{capture:n,passive:o}:n)}function Vo(t,e,n,o){(o||Bo).removeEventListener(t,e._wrapper||e,n)}function Ko(t,o){if(e(t.data.on)&&e(o.data.on))return;const r=o.data.on||{},s=t.data.on||{};Bo=o.elm,function(t){if(n(t[Fo])){const e=J?"change":"input";t[e]=[].concat(t[Fo],t[e]||[]),delete t[Fo]}n(t[Ho])&&(t.change=[].concat(t[Ho],t.change||[]),delete t[Ho])}(r),Gt(r,s,zo,Vo,Uo,o.context),Bo=void 0}var Jo={create:Ko,update:Ko};let qo;function Wo(t,o){if(e(t.data.domProps)&&e(o.data.domProps))return;let r,s;const i=o.elm,a=t.data.domProps||{};let c=o.data.domProps||{};for(r in n(c.__ob__)&&(c=o.data.domProps=k({},c)),a)e(c[r])&&(i[r]="");for(r in c){if(s=c[r],"textContent"===r||"innerHTML"===r){if(o.children&&(o.children.length=0),s===a[r])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===r||s!==a[r])if("value"===r){i._value=s;const t=e(s)?"":String(s);Zo(i,t)&&(i.value=t)}else if("innerHTML"===r&&Rn(i.tagName)&&e(i.innerHTML)){(qo=qo||document.createElement("div")).innerHTML=`${s}`;const t=qo.firstChild;for(;i.firstChild;)i.removeChild(i.firstChild);for(;t.firstChild;)i.appendChild(t.firstChild)}else i[r]=s}}function Zo(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){let n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){const o=t.value,r=t._vModifiers;if(n(r)){if(r.number)return f(o)!==f(e);if(r.trim)return o.trim()!==e.trim()}return o!==e}(t,e))}var Go={create:Wo,update:Wo};const Xo=v(function(t){const e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){const o=t.split(n);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e});function Yo(t){const e=Qo(t.style);return t.staticStyle?k(t.staticStyle,e):e}function Qo(t){return Array.isArray(t)?O(t):"string"==typeof t?Xo(t):t}const tr=/^--/,er=/\s*!important$/,nr=(t,e,n)=>{if(tr.test(e))t.style.setProperty(e,n);else if(er.test(n))t.style.setProperty(C(e),n.replace(er,""),"important");else{const o=sr(e);if(Array.isArray(n))for(let e=0,r=n.length;e-1?e.split(cr).forEach(e=>t.classList.add(e)):t.classList.add(e);else{const n=` ${t.getAttribute("class")||""} `;n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ur(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(cr).forEach(e=>t.classList.remove(e)):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{let n=` ${t.getAttribute("class")||""} `;const o=" "+e+" ";for(;n.indexOf(o)>=0;)n=n.replace(o," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function fr(t){if(t){if("object"==typeof t){const e={};return!1!==t.css&&k(e,dr(t.name||"v")),k(e,t),e}return"string"==typeof t?dr(t):void 0}}const dr=v(t=>({enterClass:`${t}-enter`,enterToClass:`${t}-enter-to`,enterActiveClass:`${t}-enter-active`,leaveClass:`${t}-leave`,leaveToClass:`${t}-leave-to`,leaveActiveClass:`${t}-leave-active`})),pr=U&&!q,hr="transition",mr="animation";let gr="transition",yr="transitionend",vr="animation",$r="animationend";pr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(gr="WebkitTransition",yr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(vr="WebkitAnimation",$r="webkitAnimationEnd"));const _r=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:t=>t();function br(t){_r(()=>{_r(t)})}function wr(t,e){const n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),lr(t,e))}function Cr(t,e){t._transitionClasses&&m(t._transitionClasses,e),ur(t,e)}function xr(t,e,n){const{type:o,timeout:r,propCount:s}=kr(t,e);if(!o)return n();const i=o===hr?yr:$r;let a=0;const c=()=>{t.removeEventListener(i,l),n()},l=e=>{e.target===t&&++a>=s&&c()};setTimeout(()=>{a0&&(l=hr,u=s,f=r.length):e===mr?c>0&&(l=mr,u=c,f=a.length):f=(l=(u=Math.max(s,c))>0?s>c?hr:mr:null)?l===hr?r.length:a.length:0,{type:l,timeout:u,propCount:f,hasTransform:l===hr&&Ar.test(n[gr+"Property"])}}function Or(t,e){for(;t.lengthSr(e)+Sr(t[n])))}function Sr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Tr(t,o){const r=t.elm;n(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());const i=fr(t.data.transition);if(e(i))return;if(n(r._enterCb)||1!==r.nodeType)return;const{css:a,type:c,enterClass:l,enterToClass:u,enterActiveClass:d,appearClass:p,appearToClass:h,appearActiveClass:m,beforeEnter:g,enter:y,afterEnter:v,enterCancelled:$,beforeAppear:_,appear:b,afterAppear:w,appearCancelled:C,duration:x}=i;let A=de,k=de.$vnode;for(;k&&k.parent;)A=(k=k.parent).context;const O=!A._isMounted||!t.isRootInsert;if(O&&!b&&""!==b)return;const S=O&&p?p:l,T=O&&m?m:d,E=O&&h?h:u,N=O&&_||g,j=O&&"function"==typeof b?b:y,M=O&&w||v,I=O&&C||$,D=f(s(x)?x.enter:x),P=!1!==a&&!q,R=jr(j),F=r._enterCb=L(()=>{P&&(Cr(r,E),Cr(r,T)),F.cancelled?(P&&Cr(r,S),I&&I(r)):M&&M(r),r._enterCb=null});t.data.show||Xt(t,"insert",()=>{const e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),j&&j(r,F)}),N&&N(r),P&&(wr(r,S),wr(r,T),br(()=>{Cr(r,S),F.cancelled||(wr(r,E),R||(Nr(D)?setTimeout(F,D):xr(r,c,F)))})),t.data.show&&(o&&o(),j&&j(r,F)),P||R||F()}function Er(t,o){const r=t.elm;n(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());const i=fr(t.data.transition);if(e(i)||1!==r.nodeType)return o();if(n(r._leaveCb))return;const{css:a,type:c,leaveClass:l,leaveToClass:u,leaveActiveClass:d,beforeLeave:p,leave:h,afterLeave:m,leaveCancelled:g,delayLeave:y,duration:v}=i,$=!1!==a&&!q,_=jr(h),b=f(s(v)?v.leave:v),w=r._leaveCb=L(()=>{r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),$&&(Cr(r,u),Cr(r,d)),w.cancelled?($&&Cr(r,l),g&&g(r)):(o(),m&&m(r)),r._leaveCb=null});function C(){w.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),p&&p(r),$&&(wr(r,l),wr(r,d),br(()=>{Cr(r,l),w.cancelled||(wr(r,u),_||(Nr(b)?setTimeout(w,b):xr(r,c,w)))})),h&&h(r,w),$||_||w())}y?y(C):C()}function Nr(t){return"number"==typeof t&&!isNaN(t)}function jr(t){if(e(t))return!1;const o=t.fns;return n(o)?jr(Array.isArray(o)?o[0]:o):(t._length||t.length)>1}function Lr(t,e){!0!==e.data.show&&Tr(e)}const Mr=function(t){let s,i;const a={},{modules:c,nodeOps:l}=t;for(s=0;sm?$(t,d=e(r[v+1])?null:r[v+1].elm,r,h,v,s):h>v&&b(0,o,p,m)}(d,m,y,s,u):n(y)?(n(t.text)&&l.setTextContent(d,""),$(d,null,y,0,y.length-1,s)):n(m)?b(0,m,0,m.length-1):n(t.text)&&l.setTextContent(d,""):t.text!==r.text&&l.setTextContent(d,r.text),n(h)&&n(p=h.hook)&&n(p=p.postpatch)&&p(t,r)}function A(t,e,r){if(o(r)&&n(t.parent))t.parent.data.pendingInsert=e;else for(let t=0;t{const t=document.activeElement;t&&t.vmodel&&Ur(t,"input")});const Ir={inserted(t,e,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?Xt(n,"postpatch",()=>{Ir.componentUpdated(t,e,n)}):Dr(t,e,n.context),t._vOptions=[].map.call(t.options,Fr)):("textarea"===n.tag||Un(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Hr),t.addEventListener("compositionend",Br),t.addEventListener("change",Br),q&&(t.vmodel=!0)))},componentUpdated(t,e,n){if("select"===n.tag){Dr(t,e,n.context);const o=t._vOptions,r=t._vOptions=[].map.call(t.options,Fr);if(r.some((t,e)=>!N(t,o[e]))){(t.multiple?e.value.some(t=>Rr(t,r)):e.value!==e.oldValue&&Rr(e.value,r))&&Ur(t,"change")}}}};function Dr(t,e,n){Pr(t,e,n),(J||W)&&setTimeout(()=>{Pr(t,e,n)},0)}function Pr(t,e,n){const o=e.value,r=t.multiple;if(r&&!Array.isArray(o))return;let s,i;for(let e=0,n=t.options.length;e-1,i.selected!==s&&(i.selected=s);else if(N(Fr(i),o))return void(t.selectedIndex!==e&&(t.selectedIndex=e));r||(t.selectedIndex=-1)}function Rr(t,e){return e.every(e=>!N(e,t))}function Fr(t){return"_value"in t?t._value:t.value}function Hr(t){t.target.composing=!0}function Br(t){t.target.composing&&(t.target.composing=!1,Ur(t.target,"input"))}function Ur(t,e){const n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function zr(t){return!t.componentInstance||t.data&&t.data.transition?t:zr(t.componentInstance._vnode)}var Vr={model:Ir,show:{bind(t,{value:e},n){const o=(n=zr(n)).data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;e&&o?(n.data.show=!0,Tr(n,()=>{t.style.display=r})):t.style.display=e?r:"none"},update(t,{value:e,oldValue:n},o){if(!e==!n)return;(o=zr(o)).data&&o.data.transition?(o.data.show=!0,e?Tr(o,()=>{t.style.display=t.__vOriginalDisplay}):Er(o,()=>{t.style.display="none"})):t.style.display=e?t.__vOriginalDisplay:"none"},unbind(t,e,n,o,r){r||(t.style.display=t.__vOriginalDisplay)}}};const Kr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Jr(t){const e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Jr(oe(e.children)):t}function qr(t){const e={},n=t.$options;for(const o in n.propsData)e[o]=t[o];const o=n._parentListeners;for(const t in o)e[_(t)]=o[t];return e}function Wr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}const Zr=t=>t.tag||ne(t),Gr=t=>"show"===t.name;var Xr={name:"transition",props:Kr,abstract:!0,render(t){let e=this.$slots.default;if(!e)return;if(!(e=e.filter(Zr)).length)return;const n=this.mode,o=e[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;const s=Jr(o);if(!s)return o;if(this._leaving)return Wr(t,o);const i=`__transition-${this._uid}-`;s.key=null==s.key?s.isComment?i+"comment":i+s.tag:r(s.key)?0===String(s.key).indexOf(i)?s.key:i+s.key:s.key;const a=(s.data||(s.data={})).transition=qr(this),c=this._vnode,l=Jr(c);if(s.data.directives&&s.data.directives.some(Gr)&&(s.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,l)&&!ne(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){const e=l.data.transition=k({},a);if("out-in"===n)return this._leaving=!0,Xt(e,"afterLeave",()=>{this._leaving=!1,this.$forceUpdate()}),Wr(t,o);if("in-out"===n){if(ne(s))return c;let t;const n=()=>{t()};Xt(a,"afterEnter",n),Xt(a,"enterCancelled",n),Xt(e,"delayLeave",e=>{t=e})}}return o}};const Yr=k({tag:String,moveClass:String},Kr);function Qr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ts(t){t.data.newPos=t.elm.getBoundingClientRect()}function es(t){const e=t.data.pos,n=t.data.newPos,o=e.left-n.left,r=e.top-n.top;if(o||r){t.data.moved=!0;const e=t.elm.style;e.transform=e.WebkitTransform=`translate(${o}px,${r}px)`,e.transitionDuration="0s"}}delete Yr.mode;var ns={Transition:Xr,TransitionGroup:{props:Yr,beforeMount(){const t=this._update;this._update=((e,n)=>{const o=pe(this);this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept,o(),t.call(this,e,n)})},render(t){const e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],i=qr(this);for(let t=0;t{if(t.data.moved){const n=t.elm,o=n.style;wr(n,e),o.transform=o.WebkitTransform=o.transitionDuration="",n.addEventListener(yr,n._moveCb=function t(o){o&&o.target!==n||o&&!/transform$/.test(o.propertyName)||(n.removeEventListener(yr,t),n._moveCb=null,Cr(n,e))})}}))},methods:{hasMove(t,e){if(!pr)return!1;if(this._hasMove)return this._hasMove;const n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(t=>{ur(n,t)}),lr(n,e),n.style.display="none",this.$el.appendChild(n);const o=kr(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}}};pn.config.mustUseProp=Cn,pn.config.isReservedTag=Fn,pn.config.isReservedAttr=bn,pn.config.getTagNamespace=Hn,pn.config.isUnknownElement=function(t){if(!U)return!0;if(Fn(t))return!1;if(t=t.toLowerCase(),null!=Bn[t])return Bn[t];const e=document.createElement(t);return t.indexOf("-")>-1?Bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bn[t]=/HTMLUnknownElement/.test(e.toString())},k(pn.options.directives,Vr),k(pn.options.components,ns),pn.prototype.__patch__=U?Mr:S,pn.prototype.$mount=function(t,e){return function(t,e,n){let o;return t.$el=e,t.$options.render||(t.$options.render=ft),ge(t,"beforeMount"),o=(()=>{t._update(t._render(),n)}),new Oe(t,o,S,{before(){t._isMounted&&!t._isDestroyed&&ge(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,ge(t,"mounted")),t}(this,t=t&&U?zn(t):void 0,e)},U&&setTimeout(()=>{P.devtools&&tt&&tt.emit("init",pn)},0);const os=/\{\{((?:.|\r?\n)+?)\}\}/g,rs=/[-.*+?^${}()|[\]\/\\]/g,ss=v(t=>{const e=t[0].replace(rs,"\\$&"),n=t[1].replace(rs,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});var is={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;const n=Co(t,"class");n&&(t.staticClass=JSON.stringify(n));const o=wo(t,"class",!1);o&&(t.classBinding=o)},genData:function(t){let e="";return t.staticClass&&(e+=`staticClass:${t.staticClass},`),t.classBinding&&(e+=`class:${t.classBinding},`),e}};var as={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;const n=Co(t,"style");n&&(t.staticStyle=JSON.stringify(Xo(n)));const o=wo(t,"style",!1);o&&(t.styleBinding=o)},genData:function(t){let e="";return t.staticStyle&&(e+=`staticStyle:${t.staticStyle},`),t.styleBinding&&(e+=`style:(${t.styleBinding}),`),e}};let cs;var ls={decode:t=>((cs=cs||document.createElement("div")).innerHTML=t,cs.textContent)};const us=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),fs=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ds=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ps=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,hs=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ms="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",gs=`((?:${ms}\\:)?${ms})`,ys=new RegExp(`^<${gs}`),vs=/^\s*(\/?)>/,$s=new RegExp(`^<\\/${gs}[^>]*>`),_s=/^]+>/i,bs=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},ks=/&(?:lt|gt|quot|amp|#39);/g,Os=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ss=d("pre,textarea",!0),Ts=(t,e)=>t&&Ss(t)&&"\n"===e[0];function Es(t,e){const n=e?Os:ks;return t.replace(n,t=>As[t])}const Ns=/^@|^v-on:/,js=/^v-|^@|^:/,Ls=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ms=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Is=/^\(|\)$/g,Ds=/^\[.*\]$/,Ps=/:(.*)$/,Rs=/^:|^\.|^v-bind:/,Fs=/\.[^.]+/g,Hs=/^v-slot(:|$)|^#/,Bs=/[\r\n]/,Us=/\s+/g,zs=v(ls.decode);let Vs,Ks,Js,qs,Ws,Zs,Gs,Xs;function Ys(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:si(e),rawAttrsMap:{},parent:n,children:[]}}function Qs(t,e){Vs=e.warn||ho,Zs=e.isPreTag||T,Gs=e.mustUseProp||T,Xs=e.getTagNamespace||T;e.isReservedTag;Js=mo(e.modules,"transformNode"),qs=mo(e.modules,"preTransformNode"),Ws=mo(e.modules,"postTransformNode"),Ks=e.delimiters;const n=[],o=!1!==e.preserveWhitespace,r=e.whitespace;let s,i,a=!1,c=!1;function l(t){if(u(t),a||t.processed||(t=ti(t,e)),n.length||t===s||s.if&&(t.elseif||t.else)&&ni(s,{exp:t.elseif,block:t}),i&&!t.forbidden)if(t.elseif||t.else)!function(t,e){const n=function(t){let e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&ni(n,{exp:t.elseif,block:t})}(t,i);else{if(t.slotScope){const e=t.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[e]=t}i.children.push(t),t.parent=i}t.children=t.children.filter(t=>!t.slotScope),u(t),t.pre&&(a=!1),Zs(t.tag)&&(c=!1);for(let n=0;n]*>)","i")),s=t.replace(r,function(t,r,s){return n=s.length,Cs(o)||"noscript"===o||(r=r.replace(//g,"$1").replace(//g,"$1")),Ts(o,r)&&(r=r.slice(1)),e.chars&&e.chars(r),""});c+=t.length-s.length,t=s,d(o,c-n,c)}else{let n,o,r,s=t.indexOf("<");if(0===s){if(bs.test(t)){const n=t.indexOf("--\x3e");if(n>=0){e.shouldKeepComment&&e.comment(t.substring(4,n),c,c+n+3),l(n+3);continue}}if(ws.test(t)){const e=t.indexOf("]>");if(e>=0){l(e+2);continue}}const n=t.match(_s);if(n){l(n[0].length);continue}const o=t.match($s);if(o){const t=c;l(o[0].length),d(o[1],t,c);continue}const r=u();if(r){f(r),Ts(r.tagName,t)&&l(1);continue}}if(s>=0){for(o=t.slice(s);!($s.test(o)||ys.test(o)||bs.test(o)||ws.test(o)||(r=o.indexOf("<",1))<0);)s+=r,o=t.slice(s);n=t.substring(0,s)}s<0&&(n=t),n&&l(n.length),e.chars&&n&&e.chars(n,c-n.length,c)}if(t===i){e.chars&&e.chars(t);break}}function l(e){c+=e,t=t.substring(e)}function u(){const e=t.match(ys);if(e){const n={tagName:e[1],attrs:[],start:c};let o,r;for(l(e[0].length);!(o=t.match(vs))&&(r=t.match(hs)||t.match(ps));)r.start=c,l(r[0].length),r.end=c,n.attrs.push(r);if(o)return n.unarySlash=o[1],l(o[0].length),n.end=c,n}}function f(t){const i=t.tagName,c=t.unarySlash;o&&("p"===a&&ds(i)&&d(a),s(i)&&a===i&&d(i));const l=r(i)||!!c,u=t.attrs.length,f=new Array(u);for(let n=0;n=0&&n[s].lowerCasedTag!==i;s--);else s=0;if(s>=0){for(let t=n.length-1;t>=s;t--)e.end&&e.end(n[t].tag,o,r);n.length=s,a=s&&n[s-1].tag}else"br"===i?e.start&&e.start(t,[],!0,o,r):"p"===i&&(e.start&&e.start(t,[],!1,o,r),e.end&&e.end(t,o,r))}d()}(t,{warn:Vs,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start(t,o,r,u){const f=i&&i.ns||Xs(t);J&&"svg"===f&&(o=function(t){const e=[];for(let n=0;nc&&(r.push(a=t.slice(c,i)),o.push(JSON.stringify(a)));const e=fo(s[1].trim());o.push(`_s(${e})`),r.push({"@binding":e}),c=i+s[0].length}return c!t.slotScope),s.slotScope=e.value||"_",t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=wo(n,"name")),function(t){let e;(e=wo(t,"is"))&&(t.component=e);null!=Co(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(let n=0;n{t[e.slice(1)]=!0}),t}}function si(t){const e={};for(let n=0,o=t.length;n-1`+("true"===s?`:(${e})`:`:_q(${e},${s})`)),bo(t,"change",`var $$a=${e},`+"$$el=$event.target,"+`$$c=$$el.checked?(${s}):(${i});`+"if(Array.isArray($$a)){"+`var $$v=${o?"_n("+r+")":r},`+"$$i=_i($$a,$$v);"+`if($$el.checked){$$i<0&&(${Oo(e,"$$a.concat([$$v])")})}`+`else{$$i>-1&&(${Oo(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")})}`+`}else{${Oo(e,"$$c")}}`,null,!0)}(t,o,r);else if("input"===s&&"radio"===i)!function(t,e,n){const o=n&&n.number;let r=wo(t,"value")||"null";go(t,"checked",`_q(${e},${r=o?`_n(${r})`:r})`),bo(t,"change",Oo(e,r),null,!0)}(t,o,r);else if("input"===s||"textarea"===s)!function(t,e,n){const o=t.attrsMap.type,{lazy:r,number:s,trim:i}=n||{},a=!r&&"range"!==o,c=r?"change":"range"===o?Fo:"input";let l="$event.target.value";i&&(l="$event.target.value.trim()"),s&&(l=`_n(${l})`);let u=Oo(e,l);a&&(u=`if($event.target.composing)return;${u}`),go(t,"value",`(${e})`),bo(t,c,u,null,!0),(i||s)&&bo(t,"blur","$forceUpdate()")}(t,o,r);else if(!P.isReservedTag(s))return ko(t,o,r),!1;return!0},text:function(t,e){e.value&&go(t,"textContent",`_s(${e.value})`,e)},html:function(t,e){e.value&&go(t,"innerHTML",`_s(${e.value})`,e)}},isPreTag:t=>"pre"===t,isUnaryTag:us,mustUseProp:Cn,canBeLeftOpenTag:fs,isReservedTag:Fn,getTagNamespace:Hn,staticKeys:function(t){return t.reduce((t,e)=>t.concat(e.staticKeys||[]),[]).join(",")}(li)};let fi,di;const pi=v(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function hi(t,e){t&&(fi=pi(e.staticKeys||""),di=e.isReservedTag||T,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||p(t.tag)||!di(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(fi)))}(e);if(1===e.type){if(!di(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(let n=0,o=e.children.length;n|^function\s*\(/,gi=/\([^)]*?\);*$/,yi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,vi={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},$i={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},_i=t=>`if(${t})return null;`,bi={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:_i("$event.target !== $event.currentTarget"),ctrl:_i("!$event.ctrlKey"),shift:_i("!$event.shiftKey"),alt:_i("!$event.altKey"),meta:_i("!$event.metaKey"),left:_i("'button' in $event && $event.button !== 0"),middle:_i("'button' in $event && $event.button !== 1"),right:_i("'button' in $event && $event.button !== 2")};function wi(t,e){const n=e?"nativeOn:":"on:";let o="",r="";for(const e in t){const n=Ci(t[e]);t[e]&&t[e].dynamic?r+=`${e},${n},`:o+=`"${e}":${n},`}return o=`{${o.slice(0,-1)}}`,r?n+`_d(${o},[${r.slice(0,-1)}])`:n+o}function Ci(t){if(!t)return"function(){}";if(Array.isArray(t))return`[${t.map(t=>Ci(t)).join(",")}]`;const e=yi.test(t.value),n=mi.test(t.value),o=yi.test(t.value.replace(gi,""));if(t.modifiers){let r="",s="";const i=[];for(const e in t.modifiers)if(bi[e])s+=bi[e],vi[e]&&i.push(e);else if("exact"===e){const e=t.modifiers;s+=_i(["ctrl","shift","alt","meta"].filter(t=>!e[t]).map(t=>`$event.${t}Key`).join("||"))}else i.push(e);return i.length&&(r+=function(t){return`if(('keyCode' in $event)&&${t.map(xi).join("&&")})return null;`}(i)),s&&(r+=s),`function($event){${r}${e?`return ${t.value}($event)`:n?`return (${t.value})($event)`:o?`return ${t.value}`:t.value}}`}return e||n?t.value:`function($event){${o?`return ${t.value}`:t.value}}`}function xi(t){const e=parseInt(t,10);if(e)return`$event.keyCode!==${e}`;const n=vi[t],o=$i[t];return"_k($event.keyCode,"+`${JSON.stringify(t)},`+`${JSON.stringify(n)},`+"$event.key,"+`${JSON.stringify(o)}`+")"}var Ai={on:function(t,e){t.wrapListeners=(t=>`_g(${t},${e.value})`)},bind:function(t,e){t.wrapData=(n=>`_b(${n},'${t.tag}',${e.value},${e.modifiers&&e.modifiers.prop?"true":"false"}${e.modifiers&&e.modifiers.sync?",true":""})`)},cloak:S};class ki{constructor(t){this.options=t,this.warn=t.warn||ho,this.transforms=mo(t.modules,"transformCode"),this.dataGenFns=mo(t.modules,"genData"),this.directives=k(k({},Ai),t.directives);const e=t.isReservedTag||T;this.maybeComponent=(t=>!!t.component||!e(t.tag)),this.onceId=0,this.staticRenderFns=[],this.pre=!1}}function Oi(t,e){const n=new ki(e);return{render:`with(this){return ${t?Si(t,n):'_c("div")'}}`,staticRenderFns:n.staticRenderFns}}function Si(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ti(t,e);if(t.once&&!t.onceProcessed)return Ei(t,e);if(t.for&&!t.forProcessed)return ji(t,e);if(t.if&&!t.ifProcessed)return Ni(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){const n=t.slotName||'"default"',o=Ii(t,e);let r=`_t(${n}${o?`,${o}`:""}`;const s=t.attrs&&`{${t.attrs.map(t=>`${_(t.name)}:${t.value}`).join(",")}}`,i=t.attrsMap["v-bind"];!s&&!i||o||(r+=",null");s&&(r+=`,${s}`);i&&(r+=`${s?"":",null"},${i}`);return r+")"}(t,e);{let n;if(t.component)n=function(t,e,n){const o=e.inlineTemplate?null:Ii(e,n,!0);return`_c(${t},${Li(e,n)}${o?`,${o}`:""})`}(t.component,t,e);else{let o;(!t.plain||t.pre&&e.maybeComponent(t))&&(o=Li(t,e));const r=t.inlineTemplate?null:Ii(t,e,!0);n=`_c('${t.tag}'${o?`,${o}`:""}${r?`,${r}`:""})`}for(let o=0;o{const n=t[e];return n.slotTargetDynamic||n.if||n.for});return`scopedSlots:_u([${Object.keys(t).map(n=>Mi(t[n],e)).join(",")}]${n?",true":""})`}(t.scopedSlots,e)},`),t.model&&(n+=`model:{value:${t.model.value},callback:${t.model.callback},expression:${t.model.expression}},`),t.inlineTemplate){const o=function(t,e){const n=t.children[0];if(n&&1===n.type){const t=Oi(n,e.options);return`inlineTemplate:{render:function(){${t.render}},staticRenderFns:[${t.staticRenderFns.map(t=>`function(){${t}}`).join(",")}]}`}}(t,e);o&&(n+=`${o},`)}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n=`_b(${n},"${t.tag}",${Ri(t.dynamicAttrs)})`),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Mi(t,e){if(t.if&&!t.ifProcessed)return Ni(t,e,Mi,"null");if(t.for&&!t.forProcessed)return ji(t,e,Mi);const n=`function(${String(t.slotScope)}){`+`return ${"template"===t.tag?Ii(t,e)||"undefined":Si(t,e)}}`;return`{key:${t.slotTarget||'"default"'},fn:${n}}`}function Ii(t,e,n,o,r){const s=t.children;if(s.length){const t=s[0];if(1===s.length&&t.for&&"template"!==t.tag&&"slot"!==t.tag){const r=n?e.maybeComponent(t)?",1":",0":"";return`${(o||Si)(t,e)}${r}`}const i=n?function(t,e){let n=0;for(let o=0;oDi(t.block))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(t=>e(t.block)))&&(n=1)}}return n}(s,e.maybeComponent):0,a=r||Pi;return`[${s.map(t=>a(t,e)).join(",")}]${i?`,${i}`:""}`}}function Di(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Pi(t,e){return 1===t.type?Si(t,e):3===t.type&&t.isComment?(o=t,`_e(${JSON.stringify(o.text)})`):`_v(${2===(n=t).type?n.expression:Fi(JSON.stringify(n.text))})`;var n,o}function Ri(t){let e="",n="";for(let o=0;oHi(t,c)),e[s]=a}}const Ui=(zi=function(t,e){const n=Qs(t.trim(),e);!1!==e.optimize&&hi(n,e);const o=Oi(n,e);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}},function(t){function e(e,n){const o=Object.create(t),r=[],s=[];if(n){n.modules&&(o.modules=(t.modules||[]).concat(n.modules)),n.directives&&(o.directives=k(Object.create(t.directives||null),n.directives));for(const t in n)"modules"!==t&&"directives"!==t&&(o[t]=n[t])}o.warn=((t,e,n)=>{(n?s:r).push(t)});const i=zi(e.trim(),o);return i.errors=r,i.tips=s,i}return{compile:e,compileToFunctions:Bi(e)}});var zi;const{compile:Vi,compileToFunctions:Ki}=Ui(ui);let Ji;function qi(t){return(Ji=Ji||document.createElement("div")).innerHTML=t?'':'
',Ji.innerHTML.indexOf(" ")>0}const Wi=!!U&&qi(!1),Zi=!!U&&qi(!0),Gi=v(t=>{const e=zn(t);return e&&e.innerHTML}),Xi=pn.prototype.$mount;pn.prototype.$mount=function(t,e){if((t=t&&zn(t))===document.body||t===document.documentElement)return this;const n=this.$options;if(!n.render){let e=n.template;if(e)if("string"==typeof e)"#"===e.charAt(0)&&(e=Gi(e));else{if(!e.nodeType)return this;e=e.innerHTML}else t&&(e=function(t){if(t.outerHTML)return t.outerHTML;{const e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}}(t));if(e){const{render:t,staticRenderFns:o}=Ki(e,{outputSourceRange:!1,shouldDecodeNewlines:Wi,shouldDecodeNewlinesForHref:Zi,delimiters:n.delimiters,comments:n.comments},this);n.render=t,n.staticRenderFns=o}}return Xi.call(this,t,e)},pn.compile=Ki;export default pn; \ No newline at end of file diff --git a/dist/vue.esm.js b/dist/vue.esm.js index e6d187601eb..4cf92fcbe17 100644 --- a/dist/vue.esm.js +++ b/dist/vue.esm.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1853,7 +1853,7 @@ function invokeWithErrorHandling ( var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4585,8 +4585,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5339,7 +5340,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); -Vue.version = '2.6.0'; +Vue.version = '2.6.1'; /* */ @@ -6662,8 +6663,8 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); @@ -9149,10 +9150,11 @@ var decodingMap = { '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; -var encodedAttr = /&(?:lt|gt|quot|amp);/g; -var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; +var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; +var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -9772,16 +9774,20 @@ function parse ( } }, comment: function comment (text, start, end) { - var child = { - type: 3, - text: text, - isComment: true - }; - if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + var child = { + type: 3, + text: text, + isComment: true + }; + if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -11081,7 +11087,7 @@ function genInlineTemplate (el, state) { { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } diff --git a/dist/vue.js b/dist/vue.js index b6171c06cd2..21c5826f898 100644 --- a/dist/vue.js +++ b/dist/vue.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1853,7 +1853,7 @@ var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4576,8 +4576,9 @@ // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5323,7 +5324,7 @@ value: FunctionalRenderContext }); - Vue.version = '2.6.0'; + Vue.version = '2.6.1'; /* */ @@ -6644,8 +6645,8 @@ /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); @@ -9125,10 +9126,11 @@ '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; - var encodedAttr = /&(?:lt|gt|quot|amp);/g; - var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; + var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; + var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -9747,16 +9749,20 @@ } }, comment: function comment (text, start, end) { - var child = { - type: 3, - text: text, - isComment: true - }; - if (options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + var child = { + type: 3, + text: text, + isComment: true + }; + if (options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -11051,7 +11057,7 @@ { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } diff --git a/dist/vue.min.js b/dist/vue.min.js index fcdfb63b9b6..3e3d9a0e8d4 100644 --- a/dist/vue.min.js +++ b/dist/vue.min.js @@ -1,6 +1,6 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function k(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch),X=!1;if(U)try{var Y={};Object.defineProperty(Y,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,Y)}catch(e){}var Q=function(){return void 0===H&&(H=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),H},ee=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"==typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!=typeof Symbol&&te(Symbol)&&"undefined"!=typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!=typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=S,oe=0,ae=function(){this.id=oe++,this.subs=[]};ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){h(this.subs,e)},ae.prototype.depend=function(){ae.target&&ae.target.addDep(this)},ae.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=De(String,i.type);(c<0||s0&&(at((u=e(u,(a||"")+"_"+c))[0])&&at(f)&&(s[l]=de(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?at(f)?s[l]=de(f.text+u):""!==u&&s.push(de(u)):at(u)&&at(f)?s[l]=de(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function at(e){return n(e)&&n(e.text)&&!1===e.isComment}function st(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function ut(e){if(Array.isArray(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(Tt=function(){return performance.now()});var Et=0,jt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Et,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!F.test(e)){var t=e.split(".");return function(e){for(var n=0;nOt&&wt[n].id>e.id;)n--;wt.splice(n+1,0,e)}else wt.push(e);At||(At=!0,Ge(Nt))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Pe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Lt={enumerable:!0,configurable:!0,get:S,set:S};function It(e,t,n){Lt.get=function(){return this[t][n]},Lt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Lt)}function Mt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&_e(!1);var o=function(o){i.push(o);var a=Le(o,t,n,e);we(r,o,a),o in e||It(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){ce();try{return e.call(t,t)}catch(e){return Pe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&It(e,"_data",o))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Q();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new jt(e,a||S,S,Dt)),i in e||Pt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function wn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bn(a.componentOptions);s&&!t(s)&&Cn(n,o,r,i)}}}function Cn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=mn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Ee(yn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&dt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=vt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return hn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return hn(t,e,n,r,i,!0)};var o=r&&r.data;we(t,"$attrs",o&&o.attrs||e,null,!0),we(t,"$listeners",n._parentListeners||e,null,!0)}(n),$t(n,"beforeCreate"),function(e){var t=Bt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){we(e,n,t[n])}),_e(!0))}(n),Mt(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),$t(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(gn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ce,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(s(t))return Ht(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Pe(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(gn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?A(t):t;for(var n=A(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Cn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return P}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:k,mergeOptions:Ee,defineReactive:we},e.set=Ce,e.delete=xe,e.nextTick=Ge,e.observable=function(e){return $e(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,k(e.options.components,An),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ee(this.options,e),this}}(e),_n(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(gn),Object.defineProperty(gn.prototype,"$isServer",{get:Q}),Object.defineProperty(gn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gn,"FunctionalRenderContext",{value:an}),gn.version="2.6.0";var kn=p("style,class"),On=p("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=p("contenteditable,draggable,spellcheck"),Nn=p("events,caret,typing,plaintext-only"),En=function(e,t){return Dn(t)||"false"===t?"false":"contenteditable"===e&&Nn(t)?t:"true"},jn=p("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"),Ln="http://www.w3.org/1999/xlink",In=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Mn=function(e){return In(e)?e.slice(6,e.length):""},Dn=function(e){return null==e||!1===e};function Pn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Rn(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Rn(t,r.data));return function(e,t){if(n(e)||n(t))return Fn(e,Hn(t));return""}(t.staticClass,t.class)}function Rn(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Hn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?fr(e,t,n):jn(t)?Dn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,En(t,n)):In(t)?Dn(n)?e.removeAttributeNS(Ln,Mn(t)):e.setAttributeNS(Ln,t,n):fr(e,t,n)}function fr(e,t,n){if(Dn(n))e.removeAttribute(t);else{if(J&&!q&&("TEXTAREA"===e.tagName||"INPUT"===e.tagName)&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var pr={create:ur,update:ur};function dr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Pn(r),c=i._transitionClasses;n(c)&&(s=Fn(s,Hn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var vr,hr,mr,yr,gr,_r,br={create:dr,update:dr},$r=/[\w).+\-_$\]]/;function wr(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&$r.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,yr),key:'"'+e.slice(yr+1)+'"'}:{exp:e,key:null};hr=e,yr=gr=_r=0;for(;!Fr();)Hr(mr=Rr())?Ur(mr):91===mr&&Br(mr);return{exp:e.slice(0,gr),key:e.slice(gr+1,_r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Rr(){return hr.charCodeAt(++yr)}function Fr(){return yr>=vr}function Hr(e){return 34===e||39===e}function Br(e){var t=1;for(gr=yr;!Fr();)if(Hr(e=Rr()))Ur(e);else if(91===e&&t++,93===e&&t--,0===t){_r=yr;break}}function Ur(e){for(var t=e;!Fr()&&(e=Rr())!==t;);}var zr,Vr="__r",Kr="__c";function Jr(e,t,n){var r=zr;return function i(){null!==t.apply(null,arguments)&&Wr(e,i,n,r)}}function qr(e,t,n,r){if(Ue){var i=St,o=t;t=o._wrapper=function(e){if(e.timeStamp>=i)return o.apply(this,arguments)}}zr.addEventListener(e,t,X?{capture:n,passive:r}:n)}function Wr(e,t,n,r){(r||zr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};zr=r.elm,function(e){if(n(e[Vr])){var t=J?"change":"input";e[t]=[].concat(e[Vr],e[t]||[]),delete e[Vr]}n(e[Kr])&&(e.change=[].concat(e[Kr],e.change||[]),delete e[Kr])}(i),nt(i,o,qr,Wr,Jr,r.context),zr=void 0}}var Gr,Xr={create:Zr,update:Zr};function Yr(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=k({},c)),s)t(c[i])&&(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i||o!==s[i])if("value"===i){a._value=o;var u=t(o)?"":String(o);Qr(a,u)&&(a.value=u)}else if("innerHTML"===i&&zn(a.tagName)&&t(a.innerHTML)){(Gr=Gr||document.createElement("div")).innerHTML=""+o+"";for(var l=Gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[i]=o}}}function Qr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var ei={create:Yr,update:Yr},ti=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ni(e){var t=ri(e.style);return e.staticStyle?k(e.staticStyle,t):t}function ri(e){return Array.isArray(e)?O(e):"string"==typeof e?ti(e):e}var ii,oi=/^--/,ai=/\s*!important$/,si=function(e,t,n){if(oi.test(t))e.style.setProperty(t,n);else if(ai.test(n))e.style.setProperty(C(t),n.replace(ai,""),"important");else{var r=ui(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(pi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function vi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(pi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function hi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&k(t,mi(e.name||"v")),k(t,e),t}return"string"==typeof e?mi(e):void 0}}var mi=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),yi=U&&!q,gi="transition",_i="animation",bi="transition",$i="transitionend",wi="animation",Ci="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bi="WebkitTransition",$i="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",Ci="webkitAnimationEnd"));var xi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ai(e){xi(function(){xi(e)})}function ki(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),di(e,t))}function Oi(e,t){e._transitionClasses&&h(e._transitionClasses,t),vi(e,t)}function Si(e,t,n){var r=Ni(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===gi?$i:Ci,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=gi,l=a,f=o.length):t===_i?u>0&&(n=_i,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?gi:_i:null)?n===gi?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===gi&&Ti.test(r[bi+"Property"])}}function Ei(e,t){for(;e.length1}function Pi(e,t){!0!==t.data.show&&Li(t)}var Ri=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(0,r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(0,h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function A(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(E(zi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ui(e,t){return t.every(function(t){return!E(t,e)})}function zi(e){return"_value"in e?e._value:e.value}function Vi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Ji(e.target,"input"))}function Ji(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function qi(e){return!e.componentInstance||e.data&&e.data.transition?e:qi(e.componentInstance._vnode)}var Wi={model:Fi,show:{bind:function(e,t,n){var r=t.value,i=(n=qi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Li(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Li(n,function(){e.style.display=e.__vOriginalDisplay}):Ii(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Gi(ut(t.children)):e}function Xi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function Yi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Qi=function(e){return e.tag||ct(e)},eo=function(e){return"show"===e.name},to={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Qi)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=Gi(o);if(!a)return o;if(this._leaving)return Yi(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=Xi(this),u=this._vnode,l=Gi(u);if(a.data.directives&&a.data.directives.some(eo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!ct(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=k({},c);if("out-in"===r)return this._leaving=!0,rt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Yi(e,o);if("in-out"===r){if(ct(a))return u;var p,d=function(){p()};rt(c,"afterEnter",d),rt(c,"enterCancelled",d),rt(f,"delayLeave",function(e){p=e})}}return o}}},no=k({tag:String,moveClass:String},Zi);function ro(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function io(e){e.data.newPos=e.elm.getBoundingClientRect()}function oo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete no.mode;var ao={Transition:to,TransitionGroup:{props:no,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Xi(this),s=0;s-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},k(gn.options.directives,Wi),k(gn.options.components,ao),gn.prototype.__patch__=U?Ri:S,gn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=pe),$t(e,"beforeMount"),r=function(){e._update(e._render(),n)},new jt(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&$t(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,$t(e,"mounted")),e}(this,e=e&&U?Wn(e):void 0,t)},U&&setTimeout(function(){P.devtools&&ee&&ee.emit("init",gn)},0);var so=/\{\{((?:.|\r?\n)+?)\}\}/g,co=/[-.*+?^${}()|[\]\/\\]/g,uo=g(function(e){var t=e[0].replace(co,"\\$&"),n=e[1].replace(co,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var lo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Lr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=jr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var fo,po={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Lr(e,"style");n&&(e.staticStyle=JSON.stringify(ti(n)));var r=jr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vo=function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent},ho=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),mo=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),go=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bo="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",$o="((?:"+bo+"\\:)?"+bo+")",wo=new RegExp("^<"+$o),Co=/^\s*(\/?)>/,xo=new RegExp("^<\\/"+$o+"[^>]*>"),Ao=/^]+>/i,ko=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},Eo=/&(?:lt|gt|quot|amp);/g,jo=/&(?:lt|gt|quot|amp|#10|#9);/g,Lo=p("pre,textarea",!0),Io=function(e,t){return e&&Lo(e)&&"\n"===t[0]};function Mo(e,t){var n=t?jo:Eo;return e.replace(n,function(e){return No[e]})}var Do,Po,Ro,Fo,Ho,Bo,Uo,zo,Vo=/^@|^v-on:/,Ko=/^v-|^@|^:/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Zo=/^\[.*\]$/,Go=/:(.*)$/,Xo=/^:|^\.|^v-bind:/,Yo=/\.[^.]+/g,Qo=/^v-slot(:|$)|^#/,ea=/[\r\n]/,ta=/\s+/g,na=g(vo);function ra(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:la(t),rawAttrsMap:{},parent:n,children:[]}}function ia(e,t){Do=t.warn||xr,Bo=t.isPreTag||T,Uo=t.mustUseProp||T,zo=t.getTagNamespace||T;t.isReservedTag;Ro=Ar(t.modules,"transformNode"),Fo=Ar(t.modules,"preTransformNode"),Ho=Ar(t.modules,"postTransformNode"),Po=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=oa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&sa(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&sa(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Bo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,So(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Io(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ko.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Oo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ao);if(m){C(m[0].length);continue}var y=e.match(xo);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var _=x();if(_){A(_),Io(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(xo.test($)||wo.test($)||ko.test($)||Oo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(wo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Co))&&(r=e.match(_o)||e.match(go));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&yo(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:Do,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l){var f=r&&r.ns||zo(e);J&&"svg"===f&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=wr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Er(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Pr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Pr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Pr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=jr(e,"value")||"null";kr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Er(e,"change",Pr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Vr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Pr(t,l);c&&(f="if($event.target.composing)return;"+f),kr(e,"value","("+t+")"),Er(e,u,f,null,!0),(s||a)&&Er(e,"blur","$forceUpdate()")}(e,r,i);else if(!P.isReservedTag(o))return Dr(e,r,i),!1;return!0},text:function(e,t){t.value&&kr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&kr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ho,mustUseProp:Sn,canBeLeftOpenTag:mo,isReservedTag:Vn,getTagNamespace:Kn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ga=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function _a(e,t){e&&(ha=ga(t.staticKeys||""),ma=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!ma(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ha)))}(t);if(1===t.type){if(!ma(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*\(/,$a=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Aa=function(e){return"if("+e+")return null;"},ka={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Aa("$event.target !== $event.currentTarget"),ctrl:Aa("!$event.ctrlKey"),shift:Aa("!$event.shiftKey"),alt:Aa("!$event.altKey"),meta:Aa("!$event.metaKey"),left:Aa("'button' in $event && $event.button !== 0"),middle:Aa("'button' in $event && $event.button !== 1"),right:Aa("'button' in $event && $event.button !== 2")};function Oa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Sa(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Sa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Sa(e)}).join(",")+"]";var t=wa.test(e.value),n=ba.test(e.value),r=wa.test(e.value.replace($a,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ka[s])o+=ka[s],Ca[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Aa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(('keyCode' in $event)&&"+e.map(Ta).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ta(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],r=xa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Na={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Ea=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=k(k({},Na),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new Ea(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ia(e,t);if(e.once&&!e.onceProcessed)return Ma(e,t);if(e.for&&!e.forProcessed)return Pa(e,t);if(e.if&&!e.ifProcessed)return Da(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ha(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return b(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Ra(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ra(e,t));var i=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o':'
',Wa.innerHTML.indexOf(" ")>0}var Ya=!!U&&Xa(!1),Qa=!!U&&Xa(!0),es=g(function(e){var t=Wn(e);return t&&t.innerHTML}),ts=gn.prototype.$mount;return gn.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Ga(r,{outputSourceRange:!1,shouldDecodeNewlines:Ya,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ts.call(this,e,t)},gn.compile=Ga,gn}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function k(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,W=K&&K.indexOf("edge/")>0,Z=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===V),G=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),{}.watch),X=!1;if(U)try{var Y={};Object.defineProperty(Y,"passive",{get:function(){X=!0}}),window.addEventListener("test-passive",null,Y)}catch(e){}var Q=function(){return void 0===H&&(H=!U&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),H},ee=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"==typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!=typeof Symbol&&te(Symbol)&&"undefined"!=typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!=typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=S,oe=0,ae=function(){this.id=oe++,this.subs=[]};ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){h(this.subs,e)},ae.prototype.depend=function(){ae.target&&ae.target.addDep(this)},ae.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=De(String,i.type);(c<0||s0&&(at((u=e(u,(a||"")+"_"+c))[0])&&at(f)&&(s[l]=de(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?at(f)?s[l]=de(f.text+u):""!==u&&s.push(de(u)):at(u)&&at(f)?s[l]=de(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function at(e){return n(e)&&n(e.text)&&!1===e.isComment}function st(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ct(e){return e.isComment&&e.asyncFactory}function ut(e){if(Array.isArray(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(Tt=function(){return performance.now()});var Nt=0,jt=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Nt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!F.test(e)){var t=e.split(".");return function(e){for(var n=0;nOt&&wt[n].id>e.id;)n--;wt.splice(n+1,0,e)}else wt.push(e);At||(At=!0,Ge(Et))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Pe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},jt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Lt={enumerable:!0,configurable:!0,get:S,set:S};function Mt(e,t,n){Lt.get=function(){return this[t][n]},Lt.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Lt)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&_e(!1);var o=function(o){i.push(o);var a=Le(o,t,n,e);we(r,o,a),o in e||Mt(e,"_props",o)};for(var a in t)o(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){ce();try{return e.call(t,t)}catch(e){return Pe(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Mt(e,"_data",o))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Q();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new jt(e,a||S,S,Dt)),i in e||Pt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function wn(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=bn(a.componentOptions);s&&!t(s)&&Cn(n,o,r,i)}}}function Cn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=mn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Ne(yn(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&dt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=vt(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return hn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return hn(t,e,n,r,i,!0)};var o=r&&r.data;we(t,"$attrs",o&&o.attrs||e,null,!0),we(t,"$listeners",n._parentListeners||e,null,!0)}(n),$t(n,"beforeCreate"),function(e){var t=Bt(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){we(e,n,t[n])}),_e(!0))}(n),It(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),$t(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(gn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ce,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(s(t))return Ht(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Pe(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(gn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?A(t):t;for(var n=A(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Cn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return P}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:k,mergeOptions:Ne,defineReactive:we},e.set=Ce,e.delete=xe,e.nextTick=Ge,e.observable=function(e){return $e(e),e},e.options=Object.create(null),I.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,k(e.options.components,An),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ne(this.options,e),this}}(e),_n(e),function(e){I.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(gn),Object.defineProperty(gn.prototype,"$isServer",{get:Q}),Object.defineProperty(gn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gn,"FunctionalRenderContext",{value:an}),gn.version="2.6.1";var kn=p("style,class"),On=p("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=p("contenteditable,draggable,spellcheck"),En=p("events,caret,typing,plaintext-only"),Nn=function(e,t){return Dn(t)||"false"===t?"false":"contenteditable"===e&&En(t)?t:"true"},jn=p("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"),Ln="http://www.w3.org/1999/xlink",Mn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},In=function(e){return Mn(e)?e.slice(6,e.length):""},Dn=function(e){return null==e||!1===e};function Pn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Rn(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Rn(t,r.data));return function(e,t){if(n(e)||n(t))return Fn(e,Hn(t));return""}(t.staticClass,t.class)}function Rn(e,t){return{staticClass:Fn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function Fn(e,t){return e?t?e+" "+t:e:t||""}function Hn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?fr(e,t,n):jn(t)?Dn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,Nn(t,n)):Mn(t)?Dn(n)?e.removeAttributeNS(Ln,In(t)):e.setAttributeNS(Ln,t,n):fr(e,t,n)}function fr(e,t,n){if(Dn(n))e.removeAttribute(t);else{if(J&&!q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var pr={create:ur,update:ur};function dr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Pn(r),c=i._transitionClasses;n(c)&&(s=Fn(s,Hn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var vr,hr,mr,yr,gr,_r,br={create:dr,update:dr},$r=/[\w).+\-_$\]]/;function wr(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&$r.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,yr),key:'"'+e.slice(yr+1)+'"'}:{exp:e,key:null};hr=e,yr=gr=_r=0;for(;!Fr();)Hr(mr=Rr())?Ur(mr):91===mr&&Br(mr);return{exp:e.slice(0,gr),key:e.slice(gr+1,_r)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Rr(){return hr.charCodeAt(++yr)}function Fr(){return yr>=vr}function Hr(e){return 34===e||39===e}function Br(e){var t=1;for(gr=yr;!Fr();)if(Hr(e=Rr()))Ur(e);else if(91===e&&t++,93===e&&t--,0===t){_r=yr;break}}function Ur(e){for(var t=e;!Fr()&&(e=Rr())!==t;);}var zr,Vr="__r",Kr="__c";function Jr(e,t,n){var r=zr;return function i(){null!==t.apply(null,arguments)&&Wr(e,i,n,r)}}function qr(e,t,n,r){if(Ue){var i=St,o=t;t=o._wrapper=function(e){if(e.timeStamp>=i)return o.apply(this,arguments)}}zr.addEventListener(e,t,X?{capture:n,passive:r}:n)}function Wr(e,t,n,r){(r||zr).removeEventListener(e,t._wrapper||t,n)}function Zr(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};zr=r.elm,function(e){if(n(e[Vr])){var t=J?"change":"input";e[t]=[].concat(e[Vr],e[t]||[]),delete e[Vr]}n(e[Kr])&&(e.change=[].concat(e[Kr],e.change||[]),delete e[Kr])}(i),nt(i,o,qr,Wr,Jr,r.context),zr=void 0}}var Gr,Xr={create:Zr,update:Zr};function Yr(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=k({},c)),s)t(c[i])&&(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i||o!==s[i])if("value"===i){a._value=o;var u=t(o)?"":String(o);Qr(a,u)&&(a.value=u)}else if("innerHTML"===i&&zn(a.tagName)&&t(a.innerHTML)){(Gr=Gr||document.createElement("div")).innerHTML=""+o+"";for(var l=Gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[i]=o}}}function Qr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var ei={create:Yr,update:Yr},ti=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ni(e){var t=ri(e.style);return e.staticStyle?k(e.staticStyle,t):t}function ri(e){return Array.isArray(e)?O(e):"string"==typeof e?ti(e):e}var ii,oi=/^--/,ai=/\s*!important$/,si=function(e,t,n){if(oi.test(t))e.style.setProperty(t,n);else if(ai.test(n))e.style.setProperty(C(t),n.replace(ai,""),"important");else{var r=ui(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(pi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function vi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(pi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function hi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&k(t,mi(e.name||"v")),k(t,e),t}return"string"==typeof e?mi(e):void 0}}var mi=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),yi=U&&!q,gi="transition",_i="animation",bi="transition",$i="transitionend",wi="animation",Ci="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bi="WebkitTransition",$i="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",Ci="webkitAnimationEnd"));var xi=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ai(e){xi(function(){xi(e)})}function ki(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),di(e,t))}function Oi(e,t){e._transitionClasses&&h(e._transitionClasses,t),vi(e,t)}function Si(e,t,n){var r=Ei(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===gi?$i:Ci,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=gi,l=a,f=o.length):t===_i?u>0&&(n=_i,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?gi:_i:null)?n===gi?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===gi&&Ti.test(r[bi+"Property"])}}function Ni(e,t){for(;e.length1}function Pi(e,t){!0!==t.data.show&&Li(t)}var Ri=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(0,r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(0,h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function A(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(zi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ui(e,t){return t.every(function(t){return!N(t,e)})}function zi(e){return"_value"in e?e._value:e.value}function Vi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Ji(e.target,"input"))}function Ji(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function qi(e){return!e.componentInstance||e.data&&e.data.transition?e:qi(e.componentInstance._vnode)}var Wi={model:Fi,show:{bind:function(e,t,n){var r=t.value,i=(n=qi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Li(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=qi(n)).data&&n.data.transition?(n.data.show=!0,r?Li(n,function(){e.style.display=e.__vOriginalDisplay}):Mi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Zi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Gi(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Gi(ut(t.children)):e}function Xi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function Yi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Qi=function(e){return e.tag||ct(e)},eo=function(e){return"show"===e.name},to={name:"transition",props:Zi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Qi)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=Gi(o);if(!a)return o;if(this._leaving)return Yi(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=Xi(this),u=this._vnode,l=Gi(u);if(a.data.directives&&a.data.directives.some(eo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!ct(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=k({},c);if("out-in"===r)return this._leaving=!0,rt(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Yi(e,o);if("in-out"===r){if(ct(a))return u;var p,d=function(){p()};rt(c,"afterEnter",d),rt(c,"enterCancelled",d),rt(f,"delayLeave",function(e){p=e})}}return o}}},no=k({tag:String,moveClass:String},Zi);function ro(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function io(e){e.data.newPos=e.elm.getBoundingClientRect()}function oo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete no.mode;var ao={Transition:to,TransitionGroup:{props:no,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=gt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Xi(this),s=0;s-1?Jn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jn[e]=/HTMLUnknownElement/.test(t.toString())},k(gn.options.directives,Wi),k(gn.options.components,ao),gn.prototype.__patch__=U?Ri:S,gn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=pe),$t(e,"beforeMount"),r=function(){e._update(e._render(),n)},new jt(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&$t(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,$t(e,"mounted")),e}(this,e=e&&U?Wn(e):void 0,t)},U&&setTimeout(function(){P.devtools&&ee&&ee.emit("init",gn)},0);var so=/\{\{((?:.|\r?\n)+?)\}\}/g,co=/[-.*+?^${}()|[\]\/\\]/g,uo=g(function(e){var t=e[0].replace(co,"\\$&"),n=e[1].replace(co,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var lo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Lr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=jr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var fo,po={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Lr(e,"style");n&&(e.staticStyle=JSON.stringify(ti(n)));var r=jr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vo=function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent},ho=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),mo=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),yo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),go=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bo="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",$o="((?:"+bo+"\\:)?"+bo+")",wo=new RegExp("^<"+$o),Co=/^\s*(\/?)>/,xo=new RegExp("^<\\/"+$o+"[^>]*>"),Ao=/^]+>/i,ko=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},No=/&(?:lt|gt|quot|amp|#39);/g,jo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Lo=p("pre,textarea",!0),Mo=function(e,t){return e&&Lo(e)&&"\n"===t[0]};function Io(e,t){var n=t?jo:No;return e.replace(n,function(e){return Eo[e]})}var Do,Po,Ro,Fo,Ho,Bo,Uo,zo,Vo=/^@|^v-on:/,Ko=/^v-|^@|^:/,Jo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wo=/^\(|\)$/g,Zo=/^\[.*\]$/,Go=/:(.*)$/,Xo=/^:|^\.|^v-bind:/,Yo=/\.[^.]+/g,Qo=/^v-slot(:|$)|^#/,ea=/[\r\n]/,ta=/\s+/g,na=g(vo);function ra(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:la(t),rawAttrsMap:{},parent:n,children:[]}}function ia(e,t){Do=t.warn||xr,Bo=t.isPreTag||T,Uo=t.mustUseProp||T,zo=t.getTagNamespace||T;t.isReservedTag;Ro=Ar(t.modules,"transformNode"),Fo=Ar(t.modules,"preTransformNode"),Ho=Ar(t.modules,"postTransformNode"),Po=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=oa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&sa(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&sa(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Bo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,So(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Mo(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ko.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(Oo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Ao);if(m){C(m[0].length);continue}var y=e.match(xo);if(y){var g=c;C(y[0].length),k(y[1],g,c);continue}var _=x();if(_){A(_),Mo(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(xo.test($)||wo.test($)||ko.test($)||Oo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(wo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(Co))&&(r=e.match(_o)||e.match(go));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function A(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&yo(n)&&k(r),s(n)&&r===n&&k(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}k()}(e,{warn:Do,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l){var f=r&&r.ns||zo(e);J&&"svg"===f&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=wr(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Nr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Pr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Pr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Pr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=jr(e,"value")||"null";kr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Nr(e,"change",Pr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Vr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Pr(t,l);c&&(f="if($event.target.composing)return;"+f),kr(e,"value","("+t+")"),Nr(e,u,f,null,!0),(s||a)&&Nr(e,"blur","$forceUpdate()")}(e,r,i);else if(!P.isReservedTag(o))return Dr(e,r,i),!1;return!0},text:function(e,t){t.value&&kr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&kr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ho,mustUseProp:Sn,canBeLeftOpenTag:mo,isReservedTag:Vn,getTagNamespace:Kn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(va)},ga=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function _a(e,t){e&&(ha=ga(t.staticKeys||""),ma=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!ma(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ha)))}(t);if(1===t.type){if(!ma(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*\(/,$a=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ca={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Aa=function(e){return"if("+e+")return null;"},ka={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Aa("$event.target !== $event.currentTarget"),ctrl:Aa("!$event.ctrlKey"),shift:Aa("!$event.shiftKey"),alt:Aa("!$event.altKey"),meta:Aa("!$event.metaKey"),left:Aa("'button' in $event && $event.button !== 0"),middle:Aa("'button' in $event && $event.button !== 1"),right:Aa("'button' in $event && $event.button !== 2")};function Oa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Sa(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Sa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Sa(e)}).join(",")+"]";var t=wa.test(e.value),n=ba.test(e.value),r=wa.test(e.value.replace($a,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ka[s])o+=ka[s],Ca[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Aa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(('keyCode' in $event)&&"+e.map(Ta).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ta(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ca[e],r=xa[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ea={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Na=function(e){this.options=e,this.warn=e.warn||xr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=k(k({},Ea),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new Na(t);return{render:"with(this){return "+(e?La(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function La(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ma(e,t);if(e.once&&!e.onceProcessed)return Ia(e,t);if(e.for&&!e.forProcessed)return Pa(e,t);if(e.if&&!e.ifProcessed)return Da(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ha(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return b(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Ra(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ra(e,t));var i=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o':'
',Wa.innerHTML.indexOf(" ")>0}var Ya=!!U&&Xa(!1),Qa=!!U&&Xa(!0),es=g(function(e){var t=Wn(e);return t&&t.innerHTML}),ts=gn.prototype.$mount;return gn.prototype.$mount=function(e,t){if((e=e&&Wn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Ga(r,{outputSourceRange:!1,shouldDecodeNewlines:Ya,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ts.call(this,e,t)},gn.compile=Ga,gn}); \ No newline at end of file diff --git a/dist/vue.runtime.common.dev.js b/dist/vue.runtime.common.dev.js index a8b3b9cac14..ff744844901 100644 --- a/dist/vue.runtime.common.dev.js +++ b/dist/vue.runtime.common.dev.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1840,7 +1840,7 @@ function invokeWithErrorHandling ( var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4563,8 +4563,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5310,7 +5311,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); -Vue.version = '2.6.0'; +Vue.version = '2.6.1'; /* */ @@ -6629,8 +6630,8 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); diff --git a/dist/vue.runtime.common.prod.js b/dist/vue.runtime.common.prod.js index 88e8c8a1811..38856235f85 100644 --- a/dist/vue.runtime.common.prod.js +++ b/dist/vue.runtime.common.prod.js @@ -1,6 +1,6 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ -"use strict";var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function s(t){return"[object Object]"===a.call(t)}function c(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function l(t){return null==t?"":Array.isArray(t)||s(t)&&t.toString===a?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var h=Object.prototype.hasOwnProperty;function m(t,e){return h.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var g=/-(\w)/g,_=y(function(t){return t.replace(g,function(t,e){return e?e.toUpperCase():""})}),b=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,A=y(function(t){return t.replace(C,"-$1").toLowerCase()});var w=Function.prototype.bind?function(t,e){return t.bind(e)}:function(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 $(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function x(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,K=z&&z.indexOf("edge/")>0,X=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===V),G=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),{}.watch),Z=!1;if(H)try{var J={};Object.defineProperty(J,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,J)}catch(t){}var Q=function(){return void 0===R&&(R=!H&&!B&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),R},Y=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tt(t){return"function"==typeof t&&/native code/.test(t.toString())}var et,nt="undefined"!=typeof Symbol&&tt(Symbol)&&"undefined"!=typeof Reflect&&tt(Reflect.ownKeys);et="undefined"!=typeof Set&&tt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var rt=k,ot=0,it=function(){this.id=ot++,this.subs=[]};it.prototype.addSub=function(t){this.subs.push(t)},it.prototype.removeSub=function(t){v(this.subs,t)},it.prototype.depend=function(){it.target&&it.target.addDep(this)},it.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===A(t)){var c=Pt(String,o.type);(c<0||s0&&(ie((u=t(u,(a||"")+"_"+c))[0])&&ie(f)&&(s[l]=pt(f.text+u[0].text),u.shift()),s.push.apply(s,u)):o(u)?ie(f)?s[l]=pt(f.text+u):""!==u&&s.push(pt(u)):ie(u)&&ie(f)?s[l]=pt(f.text+u.text):(r(i._isVList)&&n(u.tag)&&e(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(t):void 0}function ie(t){return n(t)&&n(t.text)&&!1===t.isComment}function ae(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function se(t){return t.isComment&&t.asyncFactory}function ce(t){if(Array.isArray(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(Se=function(){return performance.now()});var je=0,Ie=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++je,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new et,this.newDepIds=new et,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!F.test(t)){var e=t.split(".");return function(t){for(var n=0;nOe&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);$e||($e=!0,Gt(Ee))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||i(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Lt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Te={enumerable:!0,configurable:!0,get:k,set:k};function De(t,e,n){Te.get=function(){return this[e][n]},Te.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Te)}function Ne(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&>(!1);var i=function(i){o.push(i);var a=Tt(i,e,n,t);Ct(r,i,a),i in t||De(t,"_props",i)};for(var a in e)i(a);gt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:w(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){st();try{return t.call(e,e)}catch(t){return Lt(t,e,"data()"),{}}finally{ct()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];r&&m(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&De(t,"_data",i))}var a;bt(e,!0)}(t):bt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Q();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Ie(t,a||k,k,Pe)),o in t||Le(t,o,i)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=_n(a.componentOptions);s&&!e(s)&&An(n,i,r,o)}}}function An(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=hn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=jt(mn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&pe(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,o=r&&r.context;e.$slots=de(n._renderChildren,o),e.$scopedSlots=t,e._c=function(t,n,r,o){return vn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return vn(e,t,n,r,o,!0)};var i=r&&r.data;Ct(e,"$attrs",i&&i.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),be(n,"beforeCreate"),function(t){var e=Ue(t.$options.inject,t);e&&(gt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),gt(!0))}(n),Ne(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),be(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(yn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=wt,t.prototype.$watch=function(t,e,n){if(s(e))return Re(this,t,e,n);(n=n||{}).user=!0;var r=new Ie(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Lt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?$(e):e;for(var n=$(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;oparseInt(this.max)&&An(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return L}};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:x,mergeOptions:jt,defineReactive:Ct},t.set=At,t.delete=wt,t.nextTick=Gt,t.observable=function(t){return bt(t),t},t.options=Object.create(null),N.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),gn(t),function(t){N.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(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]}})}(t)}(yn),Object.defineProperty(yn.prototype,"$isServer",{get:Q}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:on}),yn.version="2.6.0";var xn=p("style,class"),On=p("input,textarea,option,select,progress"),kn=p("contenteditable,draggable,spellcheck"),Sn=p("events,caret,typing,plaintext-only"),En=function(t,e){return Nn(e)||"false"===e?"false":"contenteditable"===t&&Sn(e)?e:"true"},jn=p("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"),In="http://www.w3.org/1999/xlink",Tn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Tn(t)?t.slice(6,t.length):""},Nn=function(t){return null==t||!1===t};function Pn(t){for(var e=t.data,r=t,o=t;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=Ln(o.data,e));for(;n(r=r.parent);)r&&r.data&&(e=Ln(e,r.data));return function(t,e){if(n(t)||n(e))return Mn(t,Fn(e));return""}(e.staticClass,e.class)}function Ln(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function Fn(t){return Array.isArray(t)?function(t){for(var e,r="",o=0,i=t.length;o-1?sr(t,e,n):jn(e)?Nn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):kn(e)?t.setAttribute(e,En(e,n)):Tn(e)?Nn(n)?t.removeAttributeNS(In,Dn(e)):t.setAttributeNS(In,e,n):sr(t,e,n)}function sr(t,e,n){if(Nn(n))t.removeAttribute(e);else{if(W&&!q&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var cr={create:ir,update:ir};function ur(t,r){var o=r.elm,i=r.data,a=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(a)||e(a.staticClass)&&e(a.class)))){var s=Pn(r),c=o._transitionClasses;n(c)&&(s=Mn(s,Fn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var lr,fr={create:ur,update:ur},pr="__r",dr="__c";function vr(t,e,n){var r=lr;return function o(){null!==e.apply(null,arguments)&&mr(t,o,n,r)}}function hr(t,e,n,r){if(Ht){var o=ke,i=e;e=i._wrapper=function(t){if(t.timeStamp>=o)return i.apply(this,arguments)}}lr.addEventListener(t,e,Z?{capture:n,passive:r}:n)}function mr(t,e,n,r){(r||lr).removeEventListener(t,e._wrapper||e,n)}function yr(t,r){if(!e(t.data.on)||!e(r.data.on)){var o=r.data.on||{},i=t.data.on||{};lr=r.elm,function(t){if(n(t[pr])){var e=W?"change":"input";t[e]=[].concat(t[pr],t[e]||[]),delete t[pr]}n(t[dr])&&(t.change=[].concat(t[dr],t.change||[]),delete t[dr])}(o),ee(o,i,hr,mr,vr,r.context),lr=void 0}}var gr,_r={create:yr,update:yr};function br(t,r){if(!e(t.data.domProps)||!e(r.data.domProps)){var o,i,a=r.elm,s=t.data.domProps||{},c=r.data.domProps||{};for(o in n(c.__ob__)&&(c=r.data.domProps=x({},c)),s)e(c[o])&&(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o||i!==s[o])if("value"===o){a._value=i;var u=e(i)?"":String(i);Cr(a,u)&&(a.value=u)}else if("innerHTML"===o&&Hn(a.tagName)&&e(a.innerHTML)){(gr=gr||document.createElement("div")).innerHTML=""+i+"";for(var l=gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[o]=i}}}function Cr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var r=t.value,o=t._vModifiers;if(n(o)){if(o.number)return f(r)!==f(e);if(o.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var Ar={create:br,update:br},wr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function $r(t){var e=xr(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xr(t){return Array.isArray(t)?O(t):"string"==typeof t?wr(t):t}var Or,kr=/^--/,Sr=/\s*!important$/,Er=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Sr.test(n))t.style.setProperty(A(e),n.replace(Sr,""),"important");else{var r=Ir(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Nr).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 Lr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Nr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Mr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Fr(t.name||"v")),x(e,t),e}return"string"==typeof t?Fr(t):void 0}}var Fr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Rr=H&&!q,Ur="transition",Hr="animation",Br="transition",Vr="transitionend",zr="animation",Wr="animationend";Rr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Br="WebkitTransition",Vr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zr="WebkitAnimation",Wr="webkitAnimationEnd"));var qr=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){qr(function(){qr(t)})}function Xr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Pr(t,e))}function Gr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Lr(t,e)}function Zr(t,e,n){var r=Qr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ur?Vr:Wr,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ur,l=a,f=i.length):e===Hr?u>0&&(n=Hr,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ur:Hr:null)?n===Ur?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ur&&Jr.test(r[Br+"Property"])}}function Yr(t,e){for(;t.length1}function io(t,e){!0!==e.data.show&&eo(e)}var ao=function(t){var i,a,s={},c=t.modules,u=t.nodeOps;for(i=0;iv?_(t,e(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&C(0,r,p,v)}(p,h,y,i,l):n(y)?(n(t.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,i)):n(h)?C(0,h,0,h.length-1):n(t.text)&&u.setTextContent(p,""):t.text!==o.text&&u.setTextContent(p,o.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(t,o)}}}function x(t,e,o){if(r(o)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(j(fo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function lo(t,e){return e.every(function(e){return!j(e,t)})}function fo(t){return"_value"in t?t._value:t.value}function po(t){t.target.composing=!0}function vo(t){t.target.composing&&(t.target.composing=!1,ho(t.target,"input"))}function ho(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function mo(t){return!t.componentInstance||t.data&&t.data.transition?t:mo(t.componentInstance._vnode)}var yo={model:so,show:{bind:function(t,e,n){var r=e.value,o=(n=mo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,eo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=mo(n)).data&&n.data.transition?(n.data.show=!0,r?eo(n,function(){t.style.display=t.__vOriginalDisplay}):no(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},go={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _o(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_o(ce(e.children)):t}function bo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[_(i)]=o[i];return e}function Co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Ao=function(t){return t.tag||se(t)},wo=function(t){return"show"===t.name},$o={name:"transition",props:go,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ao)).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=_o(i);if(!a)return i;if(this._leaving)return Co(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=bo(this),u=this._vnode,l=_o(u);if(a.data.directives&&a.data.directives.some(wo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===r)return this._leaving=!0,ne(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Co(t,i);if("in-out"===r){if(se(a))return u;var p,d=function(){p()};ne(c,"afterEnter",d),ne(c,"enterCancelled",d),ne(f,"delayLeave",function(t){p=t})}}return i}}},xo=x({tag:String,moveClass:String},go);function Oo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ko(t){t.data.newPos=t.elm.getBoundingClientRect()}function So(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete xo.mode;var Eo={Transition:$o,TransitionGroup:{props:xo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=bo(this),s=0;s-1?Vn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Vn[t]=/HTMLUnknownElement/.test(e.toString())},x(yn.options.directives,yo),x(yn.options.components,Eo),yn.prototype.__patch__=H?ao:k,yn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=ft),be(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ie(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&be(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,be(t,"mounted")),t}(this,t=t&&H?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},H&&setTimeout(function(){L.devtools&&Y&&Y.emit("init",yn)},0),module.exports=yn; \ No newline at end of file +"use strict";var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function s(t){return"[object Object]"===a.call(t)}function c(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function l(t){return null==t?"":Array.isArray(t)||s(t)&&t.toString===a?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var h=Object.prototype.hasOwnProperty;function m(t,e){return h.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var g=/-(\w)/g,_=y(function(t){return t.replace(g,function(t,e){return e?e.toUpperCase():""})}),b=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,A=y(function(t){return t.replace(C,"-$1").toLowerCase()});var w=Function.prototype.bind?function(t,e){return t.bind(e)}:function(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 $(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function x(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,K=z&&z.indexOf("edge/")>0,X=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===B),G=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),{}.watch),Z=!1;if(H)try{var J={};Object.defineProperty(J,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,J)}catch(t){}var Q=function(){return void 0===R&&(R=!H&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),R},Y=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tt(t){return"function"==typeof t&&/native code/.test(t.toString())}var et,nt="undefined"!=typeof Symbol&&tt(Symbol)&&"undefined"!=typeof Reflect&&tt(Reflect.ownKeys);et="undefined"!=typeof Set&&tt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var rt=k,ot=0,it=function(){this.id=ot++,this.subs=[]};it.prototype.addSub=function(t){this.subs.push(t)},it.prototype.removeSub=function(t){v(this.subs,t)},it.prototype.depend=function(){it.target&&it.target.addDep(this)},it.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===A(t)){var c=Nt(String,o.type);(c<0||s0&&(ie((u=t(u,(a||"")+"_"+c))[0])&&ie(f)&&(s[l]=pt(f.text+u[0].text),u.shift()),s.push.apply(s,u)):o(u)?ie(f)?s[l]=pt(f.text+u):""!==u&&s.push(pt(u)):ie(u)&&ie(f)?s[l]=pt(f.text+u.text):(r(i._isVList)&&n(u.tag)&&e(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(t):void 0}function ie(t){return n(t)&&n(t.text)&&!1===t.isComment}function ae(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function se(t){return t.isComment&&t.asyncFactory}function ce(t){if(Array.isArray(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(Se=function(){return performance.now()});var je=0,Ie=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++je,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new et,this.newDepIds=new et,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!F.test(t)){var e=t.split(".");return function(t){for(var n=0;nOe&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);$e||($e=!0,Gt(Ee))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||i(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Pt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Te={enumerable:!0,configurable:!0,get:k,set:k};function De(t,e,n){Te.get=function(){return this[e][n]},Te.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Te)}function Le(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&>(!1);var i=function(i){o.push(i);var a=Tt(i,e,n,t);Ct(r,i,a),i in t||De(t,"_props",i)};for(var a in e)i(a);gt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:w(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){st();try{return t.call(e,e)}catch(t){return Pt(t,e,"data()"),{}}finally{ct()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];r&&m(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&De(t,"_data",i))}var a;bt(e,!0)}(t):bt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Q();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Ie(t,a||k,k,Ne)),o in t||Pe(t,o,i)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=_n(a.componentOptions);s&&!e(s)&&An(n,i,r,o)}}}function An(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=hn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=jt(mn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&pe(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,o=r&&r.context;e.$slots=de(n._renderChildren,o),e.$scopedSlots=t,e._c=function(t,n,r,o){return vn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return vn(e,t,n,r,o,!0)};var i=r&&r.data;Ct(e,"$attrs",i&&i.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),be(n,"beforeCreate"),function(t){var e=Ue(t.$options.inject,t);e&&(gt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),gt(!0))}(n),Le(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),be(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(yn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=wt,t.prototype.$watch=function(t,e,n){if(s(e))return Re(this,t,e,n);(n=n||{}).user=!0;var r=new Ie(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Pt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?$(e):e;for(var n=$(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;oparseInt(this.max)&&An(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return P}};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:x,mergeOptions:jt,defineReactive:Ct},t.set=At,t.delete=wt,t.nextTick=Gt,t.observable=function(t){return bt(t),t},t.options=Object.create(null),L.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),gn(t),function(t){L.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(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]}})}(t)}(yn),Object.defineProperty(yn.prototype,"$isServer",{get:Q}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:on}),yn.version="2.6.1";var xn=p("style,class"),On=p("input,textarea,option,select,progress"),kn=p("contenteditable,draggable,spellcheck"),Sn=p("events,caret,typing,plaintext-only"),En=function(t,e){return Ln(e)||"false"===e?"false":"contenteditable"===t&&Sn(e)?e:"true"},jn=p("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"),In="http://www.w3.org/1999/xlink",Tn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Tn(t)?t.slice(6,t.length):""},Ln=function(t){return null==t||!1===t};function Nn(t){for(var e=t.data,r=t,o=t;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=Pn(o.data,e));for(;n(r=r.parent);)r&&r.data&&(e=Pn(e,r.data));return function(t,e){if(n(t)||n(e))return Mn(t,Fn(e));return""}(e.staticClass,e.class)}function Pn(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function Fn(t){return Array.isArray(t)?function(t){for(var e,r="",o=0,i=t.length;o-1?sr(t,e,n):jn(e)?Ln(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):kn(e)?t.setAttribute(e,En(e,n)):Tn(e)?Ln(n)?t.removeAttributeNS(In,Dn(e)):t.setAttributeNS(In,e,n):sr(t,e,n)}function sr(t,e,n){if(Ln(n))t.removeAttribute(e);else{if(W&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var cr={create:ir,update:ir};function ur(t,r){var o=r.elm,i=r.data,a=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(a)||e(a.staticClass)&&e(a.class)))){var s=Nn(r),c=o._transitionClasses;n(c)&&(s=Mn(s,Fn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var lr,fr={create:ur,update:ur},pr="__r",dr="__c";function vr(t,e,n){var r=lr;return function o(){null!==e.apply(null,arguments)&&mr(t,o,n,r)}}function hr(t,e,n,r){if(Ht){var o=ke,i=e;e=i._wrapper=function(t){if(t.timeStamp>=o)return i.apply(this,arguments)}}lr.addEventListener(t,e,Z?{capture:n,passive:r}:n)}function mr(t,e,n,r){(r||lr).removeEventListener(t,e._wrapper||e,n)}function yr(t,r){if(!e(t.data.on)||!e(r.data.on)){var o=r.data.on||{},i=t.data.on||{};lr=r.elm,function(t){if(n(t[pr])){var e=W?"change":"input";t[e]=[].concat(t[pr],t[e]||[]),delete t[pr]}n(t[dr])&&(t.change=[].concat(t[dr],t.change||[]),delete t[dr])}(o),ee(o,i,hr,mr,vr,r.context),lr=void 0}}var gr,_r={create:yr,update:yr};function br(t,r){if(!e(t.data.domProps)||!e(r.data.domProps)){var o,i,a=r.elm,s=t.data.domProps||{},c=r.data.domProps||{};for(o in n(c.__ob__)&&(c=r.data.domProps=x({},c)),s)e(c[o])&&(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o||i!==s[o])if("value"===o){a._value=i;var u=e(i)?"":String(i);Cr(a,u)&&(a.value=u)}else if("innerHTML"===o&&Hn(a.tagName)&&e(a.innerHTML)){(gr=gr||document.createElement("div")).innerHTML=""+i+"";for(var l=gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[o]=i}}}function Cr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var r=t.value,o=t._vModifiers;if(n(o)){if(o.number)return f(r)!==f(e);if(o.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var Ar={create:br,update:br},wr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function $r(t){var e=xr(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xr(t){return Array.isArray(t)?O(t):"string"==typeof t?wr(t):t}var Or,kr=/^--/,Sr=/\s*!important$/,Er=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Sr.test(n))t.style.setProperty(A(e),n.replace(Sr,""),"important");else{var r=Ir(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Lr).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 Pr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Lr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Mr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Fr(t.name||"v")),x(e,t),e}return"string"==typeof t?Fr(t):void 0}}var Fr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Rr=H&&!q,Ur="transition",Hr="animation",Vr="transition",Br="transitionend",zr="animation",Wr="animationend";Rr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vr="WebkitTransition",Br="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zr="WebkitAnimation",Wr="webkitAnimationEnd"));var qr=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){qr(function(){qr(t)})}function Xr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Nr(t,e))}function Gr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Pr(t,e)}function Zr(t,e,n){var r=Qr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ur?Br:Wr,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ur,l=a,f=i.length):e===Hr?u>0&&(n=Hr,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ur:Hr:null)?n===Ur?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ur&&Jr.test(r[Vr+"Property"])}}function Yr(t,e){for(;t.length1}function io(t,e){!0!==e.data.show&&eo(e)}var ao=function(t){var i,a,s={},c=t.modules,u=t.nodeOps;for(i=0;iv?_(t,e(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&C(0,r,p,v)}(p,h,y,i,l):n(y)?(n(t.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,i)):n(h)?C(0,h,0,h.length-1):n(t.text)&&u.setTextContent(p,""):t.text!==o.text&&u.setTextContent(p,o.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(t,o)}}}function x(t,e,o){if(r(o)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(j(fo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function lo(t,e){return e.every(function(e){return!j(e,t)})}function fo(t){return"_value"in t?t._value:t.value}function po(t){t.target.composing=!0}function vo(t){t.target.composing&&(t.target.composing=!1,ho(t.target,"input"))}function ho(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function mo(t){return!t.componentInstance||t.data&&t.data.transition?t:mo(t.componentInstance._vnode)}var yo={model:so,show:{bind:function(t,e,n){var r=e.value,o=(n=mo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,eo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=mo(n)).data&&n.data.transition?(n.data.show=!0,r?eo(n,function(){t.style.display=t.__vOriginalDisplay}):no(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},go={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _o(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_o(ce(e.children)):t}function bo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[_(i)]=o[i];return e}function Co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Ao=function(t){return t.tag||se(t)},wo=function(t){return"show"===t.name},$o={name:"transition",props:go,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ao)).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=_o(i);if(!a)return i;if(this._leaving)return Co(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=bo(this),u=this._vnode,l=_o(u);if(a.data.directives&&a.data.directives.some(wo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===r)return this._leaving=!0,ne(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Co(t,i);if("in-out"===r){if(se(a))return u;var p,d=function(){p()};ne(c,"afterEnter",d),ne(c,"enterCancelled",d),ne(f,"delayLeave",function(t){p=t})}}return i}}},xo=x({tag:String,moveClass:String},go);function Oo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ko(t){t.data.newPos=t.elm.getBoundingClientRect()}function So(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete xo.mode;var Eo={Transition:$o,TransitionGroup:{props:xo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=bo(this),s=0;s-1?Bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bn[t]=/HTMLUnknownElement/.test(e.toString())},x(yn.options.directives,yo),x(yn.options.components,Eo),yn.prototype.__patch__=H?ao:k,yn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=ft),be(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ie(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&be(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,be(t,"mounted")),t}(this,t=t&&H?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},H&&setTimeout(function(){P.devtools&&Y&&Y.emit("init",yn)},0),module.exports=yn; \ No newline at end of file diff --git a/dist/vue.runtime.esm.js b/dist/vue.runtime.esm.js index 7f8407bb0e2..df2d549cc07 100644 --- a/dist/vue.runtime.esm.js +++ b/dist/vue.runtime.esm.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1844,7 +1844,7 @@ function invokeWithErrorHandling ( var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4576,8 +4576,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5330,7 +5331,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', { value: FunctionalRenderContext }); -Vue.version = '2.6.0'; +Vue.version = '2.6.1'; /* */ @@ -6651,8 +6652,8 @@ function baseSetAttr (el, key, value) { /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); diff --git a/dist/vue.runtime.js b/dist/vue.runtime.js index e29bc242e7b..dafc00b8860 100644 --- a/dist/vue.runtime.js +++ b/dist/vue.runtime.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ @@ -1844,7 +1844,7 @@ var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -4567,8 +4567,9 @@ // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; @@ -5314,7 +5315,7 @@ value: FunctionalRenderContext }); - Vue.version = '2.6.0'; + Vue.version = '2.6.1'; /* */ @@ -6633,8 +6634,8 @@ /* istanbul ignore if */ if ( isIE && !isIE9 && - (el.tagName === 'TEXTAREA' || el.tagName === 'INPUT') && - key === 'placeholder' && !el.__ieph + el.tagName === 'TEXTAREA' && + key === 'placeholder' && value !== '' && !el.__ieph ) { var blocker = function (e) { e.stopImmediatePropagation(); diff --git a/dist/vue.runtime.min.js b/dist/vue.runtime.min.js index f60949b11e2..84951f99717 100644 --- a/dist/vue.runtime.min.js +++ b/dist/vue.runtime.min.js @@ -1,6 +1,6 @@ /*! - * Vue.js v2.6.0 + * Vue.js v2.6.1 * (c) 2014-2019 Evan You * Released under the MIT License. */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Vue=e()}(this,function(){"use strict";var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function s(t){return"[object Object]"===a.call(t)}function c(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function l(t){return null==t?"":Array.isArray(t)||s(t)&&t.toString===a?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var h=Object.prototype.hasOwnProperty;function m(t,e){return h.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var g=/-(\w)/g,_=y(function(t){return t.replace(g,function(t,e){return e?e.toUpperCase():""})}),b=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,A=y(function(t){return t.replace(C,"-$1").toLowerCase()});var w=Function.prototype.bind?function(t,e){return t.bind(e)}:function(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 $(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function x(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,K=z&&z.indexOf("edge/")>0,X=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===B),G=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),{}.watch),Z=!1;if(H)try{var J={};Object.defineProperty(J,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,J)}catch(t){}var Q=function(){return void 0===R&&(R=!H&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),R},Y=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tt(t){return"function"==typeof t&&/native code/.test(t.toString())}var et,nt="undefined"!=typeof Symbol&&tt(Symbol)&&"undefined"!=typeof Reflect&&tt(Reflect.ownKeys);et="undefined"!=typeof Set&&tt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var rt=k,ot=0,it=function(){this.id=ot++,this.subs=[]};it.prototype.addSub=function(t){this.subs.push(t)},it.prototype.removeSub=function(t){v(this.subs,t)},it.prototype.depend=function(){it.target&&it.target.addDep(this)},it.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===A(t)){var c=Pt(String,o.type);(c<0||s0&&(ie((u=t(u,(a||"")+"_"+c))[0])&&ie(f)&&(s[l]=pt(f.text+u[0].text),u.shift()),s.push.apply(s,u)):o(u)?ie(f)?s[l]=pt(f.text+u):""!==u&&s.push(pt(u)):ie(u)&&ie(f)?s[l]=pt(f.text+u.text):(r(i._isVList)&&n(u.tag)&&e(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(t):void 0}function ie(t){return n(t)&&n(t.text)&&!1===t.isComment}function ae(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function se(t){return t.isComment&&t.asyncFactory}function ce(t){if(Array.isArray(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(Se=function(){return performance.now()});var je=0,Ie=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++je,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new et,this.newDepIds=new et,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!F.test(t)){var e=t.split(".");return function(t){for(var n=0;nOe&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);$e||($e=!0,Gt(Ee))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||i(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Lt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Te={enumerable:!0,configurable:!0,get:k,set:k};function De(t,e,n){Te.get=function(){return this[e][n]},Te.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Te)}function Ne(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&>(!1);var i=function(i){o.push(i);var a=Tt(i,e,n,t);Ct(r,i,a),i in t||De(t,"_props",i)};for(var a in e)i(a);gt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:w(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){st();try{return t.call(e,e)}catch(t){return Lt(t,e,"data()"),{}}finally{ct()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];r&&m(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&De(t,"_data",i))}var a;bt(e,!0)}(t):bt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Q();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Ie(t,a||k,k,Pe)),o in t||Le(t,o,i)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=_n(a.componentOptions);s&&!e(s)&&An(n,i,r,o)}}}function An(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=hn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=jt(mn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&pe(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,o=r&&r.context;e.$slots=de(n._renderChildren,o),e.$scopedSlots=t,e._c=function(t,n,r,o){return vn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return vn(e,t,n,r,o,!0)};var i=r&&r.data;Ct(e,"$attrs",i&&i.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),be(n,"beforeCreate"),function(t){var e=Ue(t.$options.inject,t);e&&(gt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),gt(!0))}(n),Ne(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),be(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(yn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=wt,t.prototype.$watch=function(t,e,n){if(s(e))return Re(this,t,e,n);(n=n||{}).user=!0;var r=new Ie(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Lt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?$(e):e;for(var n=$(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;oparseInt(this.max)&&An(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return L}};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:x,mergeOptions:jt,defineReactive:Ct},t.set=At,t.delete=wt,t.nextTick=Gt,t.observable=function(t){return bt(t),t},t.options=Object.create(null),N.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),gn(t),function(t){N.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(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]}})}(t)}(yn),Object.defineProperty(yn.prototype,"$isServer",{get:Q}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:on}),yn.version="2.6.0";var xn=p("style,class"),On=p("input,textarea,option,select,progress"),kn=p("contenteditable,draggable,spellcheck"),Sn=p("events,caret,typing,plaintext-only"),En=function(t,e){return Nn(e)||"false"===e?"false":"contenteditable"===t&&Sn(e)?e:"true"},jn=p("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"),In="http://www.w3.org/1999/xlink",Tn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Tn(t)?t.slice(6,t.length):""},Nn=function(t){return null==t||!1===t};function Pn(t){for(var e=t.data,r=t,o=t;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=Ln(o.data,e));for(;n(r=r.parent);)r&&r.data&&(e=Ln(e,r.data));return function(t,e){if(n(t)||n(e))return Mn(t,Fn(e));return""}(e.staticClass,e.class)}function Ln(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function Fn(t){return Array.isArray(t)?function(t){for(var e,r="",o=0,i=t.length;o-1?sr(t,e,n):jn(e)?Nn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):kn(e)?t.setAttribute(e,En(e,n)):Tn(e)?Nn(n)?t.removeAttributeNS(In,Dn(e)):t.setAttributeNS(In,e,n):sr(t,e,n)}function sr(t,e,n){if(Nn(n))t.removeAttribute(e);else{if(W&&!q&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var cr={create:ir,update:ir};function ur(t,r){var o=r.elm,i=r.data,a=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(a)||e(a.staticClass)&&e(a.class)))){var s=Pn(r),c=o._transitionClasses;n(c)&&(s=Mn(s,Fn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var lr,fr={create:ur,update:ur},pr="__r",dr="__c";function vr(t,e,n){var r=lr;return function o(){null!==e.apply(null,arguments)&&mr(t,o,n,r)}}function hr(t,e,n,r){if(Ht){var o=ke,i=e;e=i._wrapper=function(t){if(t.timeStamp>=o)return i.apply(this,arguments)}}lr.addEventListener(t,e,Z?{capture:n,passive:r}:n)}function mr(t,e,n,r){(r||lr).removeEventListener(t,e._wrapper||e,n)}function yr(t,r){if(!e(t.data.on)||!e(r.data.on)){var o=r.data.on||{},i=t.data.on||{};lr=r.elm,function(t){if(n(t[pr])){var e=W?"change":"input";t[e]=[].concat(t[pr],t[e]||[]),delete t[pr]}n(t[dr])&&(t.change=[].concat(t[dr],t.change||[]),delete t[dr])}(o),ee(o,i,hr,mr,vr,r.context),lr=void 0}}var gr,_r={create:yr,update:yr};function br(t,r){if(!e(t.data.domProps)||!e(r.data.domProps)){var o,i,a=r.elm,s=t.data.domProps||{},c=r.data.domProps||{};for(o in n(c.__ob__)&&(c=r.data.domProps=x({},c)),s)e(c[o])&&(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o||i!==s[o])if("value"===o){a._value=i;var u=e(i)?"":String(i);Cr(a,u)&&(a.value=u)}else if("innerHTML"===o&&Hn(a.tagName)&&e(a.innerHTML)){(gr=gr||document.createElement("div")).innerHTML=""+i+"";for(var l=gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[o]=i}}}function Cr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var r=t.value,o=t._vModifiers;if(n(o)){if(o.number)return f(r)!==f(e);if(o.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var Ar={create:br,update:br},wr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function $r(t){var e=xr(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xr(t){return Array.isArray(t)?O(t):"string"==typeof t?wr(t):t}var Or,kr=/^--/,Sr=/\s*!important$/,Er=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Sr.test(n))t.style.setProperty(A(e),n.replace(Sr,""),"important");else{var r=Ir(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Nr).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 Lr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Nr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Mr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Fr(t.name||"v")),x(e,t),e}return"string"==typeof t?Fr(t):void 0}}var Fr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Rr=H&&!q,Ur="transition",Hr="animation",Vr="transition",Br="transitionend",zr="animation",Wr="animationend";Rr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vr="WebkitTransition",Br="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zr="WebkitAnimation",Wr="webkitAnimationEnd"));var qr=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){qr(function(){qr(t)})}function Xr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Pr(t,e))}function Gr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Lr(t,e)}function Zr(t,e,n){var r=Qr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ur?Br:Wr,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ur,l=a,f=i.length):e===Hr?u>0&&(n=Hr,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ur:Hr:null)?n===Ur?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ur&&Jr.test(r[Vr+"Property"])}}function Yr(t,e){for(;t.length1}function io(t,e){!0!==e.data.show&&eo(e)}var ao=function(t){var i,a,s={},c=t.modules,u=t.nodeOps;for(i=0;iv?_(t,e(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&C(0,r,p,v)}(p,h,y,i,l):n(y)?(n(t.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,i)):n(h)?C(0,h,0,h.length-1):n(t.text)&&u.setTextContent(p,""):t.text!==o.text&&u.setTextContent(p,o.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(t,o)}}}function x(t,e,o){if(r(o)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(j(fo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function lo(t,e){return e.every(function(e){return!j(e,t)})}function fo(t){return"_value"in t?t._value:t.value}function po(t){t.target.composing=!0}function vo(t){t.target.composing&&(t.target.composing=!1,ho(t.target,"input"))}function ho(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function mo(t){return!t.componentInstance||t.data&&t.data.transition?t:mo(t.componentInstance._vnode)}var yo={model:so,show:{bind:function(t,e,n){var r=e.value,o=(n=mo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,eo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=mo(n)).data&&n.data.transition?(n.data.show=!0,r?eo(n,function(){t.style.display=t.__vOriginalDisplay}):no(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},go={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _o(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_o(ce(e.children)):t}function bo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[_(i)]=o[i];return e}function Co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Ao=function(t){return t.tag||se(t)},wo=function(t){return"show"===t.name},$o={name:"transition",props:go,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ao)).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=_o(i);if(!a)return i;if(this._leaving)return Co(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=bo(this),u=this._vnode,l=_o(u);if(a.data.directives&&a.data.directives.some(wo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===r)return this._leaving=!0,ne(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Co(t,i);if("in-out"===r){if(se(a))return u;var p,d=function(){p()};ne(c,"afterEnter",d),ne(c,"enterCancelled",d),ne(f,"delayLeave",function(t){p=t})}}return i}}},xo=x({tag:String,moveClass:String},go);function Oo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ko(t){t.data.newPos=t.elm.getBoundingClientRect()}function So(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete xo.mode;var Eo={Transition:$o,TransitionGroup:{props:xo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=bo(this),s=0;s-1?Bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bn[t]=/HTMLUnknownElement/.test(e.toString())},x(yn.options.directives,yo),x(yn.options.components,Eo),yn.prototype.__patch__=H?ao:k,yn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=ft),be(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ie(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&be(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,be(t,"mounted")),t}(this,t=t&&H?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},H&&setTimeout(function(){L.devtools&&Y&&Y.emit("init",yn)},0),yn}); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Vue=e()}(this,function(){"use strict";var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function s(t){return"[object Object]"===a.call(t)}function c(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function l(t){return null==t?"":Array.isArray(t)||s(t)&&t.toString===a?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var h=Object.prototype.hasOwnProperty;function m(t,e){return h.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var g=/-(\w)/g,_=y(function(t){return t.replace(g,function(t,e){return e?e.toUpperCase():""})}),b=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),C=/\B([A-Z])/g,A=y(function(t){return t.replace(C,"-$1").toLowerCase()});var w=Function.prototype.bind?function(t,e){return t.bind(e)}:function(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 $(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function x(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,K=z&&z.indexOf("edge/")>0,X=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===B),G=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),{}.watch),Z=!1;if(H)try{var J={};Object.defineProperty(J,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,J)}catch(t){}var Q=function(){return void 0===R&&(R=!H&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),R},Y=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function tt(t){return"function"==typeof t&&/native code/.test(t.toString())}var et,nt="undefined"!=typeof Symbol&&tt(Symbol)&&"undefined"!=typeof Reflect&&tt(Reflect.ownKeys);et="undefined"!=typeof Set&&tt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var rt=k,ot=0,it=function(){this.id=ot++,this.subs=[]};it.prototype.addSub=function(t){this.subs.push(t)},it.prototype.removeSub=function(t){v(this.subs,t)},it.prototype.depend=function(){it.target&&it.target.addDep(this)},it.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===A(t)){var c=Nt(String,o.type);(c<0||s0&&(ie((u=t(u,(a||"")+"_"+c))[0])&&ie(f)&&(s[l]=pt(f.text+u[0].text),u.shift()),s.push.apply(s,u)):o(u)?ie(f)?s[l]=pt(f.text+u):""!==u&&s.push(pt(u)):ie(u)&&ie(f)?s[l]=pt(f.text+u.text):(r(i._isVList)&&n(u.tag)&&e(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(t):void 0}function ie(t){return n(t)&&n(t.text)&&!1===t.isComment}function ae(t,e){return(t.__esModule||nt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function se(t){return t.isComment&&t.asyncFactory}function ce(t){if(Array.isArray(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(Se=function(){return performance.now()});var je=0,Ie=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++je,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new et,this.newDepIds=new et,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!F.test(t)){var e=t.split(".");return function(t){for(var n=0;nOe&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);$e||($e=!0,Gt(Ee))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||i(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Pt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Te={enumerable:!0,configurable:!0,get:k,set:k};function De(t,e,n){Te.get=function(){return this[e][n]},Te.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Te)}function Le(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&>(!1);var i=function(i){o.push(i);var a=Tt(i,e,n,t);Ct(r,i,a),i in t||De(t,"_props",i)};for(var a in e)i(a);gt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?k:w(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){st();try{return t.call(e,e)}catch(t){return Pt(t,e,"data()"),{}}finally{ct()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];r&&m(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&De(t,"_data",i))}var a;bt(e,!0)}(t):bt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Q();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Ie(t,a||k,k,Ne)),o in t||Pe(t,o,i)}}(t,e.computed),e.watch&&e.watch!==G&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Cn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=_n(a.componentOptions);s&&!e(s)&&An(n,i,r,o)}}}function An(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=hn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=jt(mn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&pe(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,o=r&&r.context;e.$slots=de(n._renderChildren,o),e.$scopedSlots=t,e._c=function(t,n,r,o){return vn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return vn(e,t,n,r,o,!0)};var i=r&&r.data;Ct(e,"$attrs",i&&i.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),be(n,"beforeCreate"),function(t){var e=Ue(t.$options.inject,t);e&&(gt(!1),Object.keys(e).forEach(function(n){Ct(t,n,e[n])}),gt(!0))}(n),Le(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),be(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(yn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=wt,t.prototype.$watch=function(t,e,n){if(s(e))return Re(this,t,e,n);(n=n||{}).user=!0;var r=new Ie(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Pt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?$(e):e;for(var n=$(arguments,1),r='event handler for "'+t+'"',o=0,i=e.length;oparseInt(this.max)&&An(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return P}};Object.defineProperty(t,"config",e),t.util={warn:rt,extend:x,mergeOptions:jt,defineReactive:Ct},t.set=At,t.delete=wt,t.nextTick=Gt,t.observable=function(t){return bt(t),t},t.options=Object.create(null),L.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,x(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=$(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),gn(t),function(t){L.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(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]}})}(t)}(yn),Object.defineProperty(yn.prototype,"$isServer",{get:Q}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:on}),yn.version="2.6.1";var xn=p("style,class"),On=p("input,textarea,option,select,progress"),kn=p("contenteditable,draggable,spellcheck"),Sn=p("events,caret,typing,plaintext-only"),En=function(t,e){return Ln(e)||"false"===e?"false":"contenteditable"===t&&Sn(e)?e:"true"},jn=p("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"),In="http://www.w3.org/1999/xlink",Tn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Dn=function(t){return Tn(t)?t.slice(6,t.length):""},Ln=function(t){return null==t||!1===t};function Nn(t){for(var e=t.data,r=t,o=t;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=Pn(o.data,e));for(;n(r=r.parent);)r&&r.data&&(e=Pn(e,r.data));return function(t,e){if(n(t)||n(e))return Mn(t,Fn(e));return""}(e.staticClass,e.class)}function Pn(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function Fn(t){return Array.isArray(t)?function(t){for(var e,r="",o=0,i=t.length;o-1?sr(t,e,n):jn(e)?Ln(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):kn(e)?t.setAttribute(e,En(e,n)):Tn(e)?Ln(n)?t.removeAttributeNS(In,Dn(e)):t.setAttributeNS(In,e,n):sr(t,e,n)}function sr(t,e,n){if(Ln(n))t.removeAttribute(e);else{if(W&&!q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var cr={create:ir,update:ir};function ur(t,r){var o=r.elm,i=r.data,a=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(a)||e(a.staticClass)&&e(a.class)))){var s=Nn(r),c=o._transitionClasses;n(c)&&(s=Mn(s,Fn(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var lr,fr={create:ur,update:ur},pr="__r",dr="__c";function vr(t,e,n){var r=lr;return function o(){null!==e.apply(null,arguments)&&mr(t,o,n,r)}}function hr(t,e,n,r){if(Ht){var o=ke,i=e;e=i._wrapper=function(t){if(t.timeStamp>=o)return i.apply(this,arguments)}}lr.addEventListener(t,e,Z?{capture:n,passive:r}:n)}function mr(t,e,n,r){(r||lr).removeEventListener(t,e._wrapper||e,n)}function yr(t,r){if(!e(t.data.on)||!e(r.data.on)){var o=r.data.on||{},i=t.data.on||{};lr=r.elm,function(t){if(n(t[pr])){var e=W?"change":"input";t[e]=[].concat(t[pr],t[e]||[]),delete t[pr]}n(t[dr])&&(t.change=[].concat(t[dr],t.change||[]),delete t[dr])}(o),ee(o,i,hr,mr,vr,r.context),lr=void 0}}var gr,_r={create:yr,update:yr};function br(t,r){if(!e(t.data.domProps)||!e(r.data.domProps)){var o,i,a=r.elm,s=t.data.domProps||{},c=r.data.domProps||{};for(o in n(c.__ob__)&&(c=r.data.domProps=x({},c)),s)e(c[o])&&(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o||i!==s[o])if("value"===o){a._value=i;var u=e(i)?"":String(i);Cr(a,u)&&(a.value=u)}else if("innerHTML"===o&&Hn(a.tagName)&&e(a.innerHTML)){(gr=gr||document.createElement("div")).innerHTML=""+i+"";for(var l=gr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else a[o]=i}}}function Cr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var r=t.value,o=t._vModifiers;if(n(o)){if(o.number)return f(r)!==f(e);if(o.trim)return r.trim()!==e.trim()}return r!==e}(t,e))}var Ar={create:br,update:br},wr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function $r(t){var e=xr(t.style);return t.staticStyle?x(t.staticStyle,e):e}function xr(t){return Array.isArray(t)?O(t):"string"==typeof t?wr(t):t}var Or,kr=/^--/,Sr=/\s*!important$/,Er=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Sr.test(n))t.style.setProperty(A(e),n.replace(Sr,""),"important");else{var r=Ir(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Lr).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 Pr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Lr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Mr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,Fr(t.name||"v")),x(e,t),e}return"string"==typeof t?Fr(t):void 0}}var Fr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Rr=H&&!q,Ur="transition",Hr="animation",Vr="transition",Br="transitionend",zr="animation",Wr="animationend";Rr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Vr="WebkitTransition",Br="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zr="WebkitAnimation",Wr="webkitAnimationEnd"));var qr=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Kr(t){qr(function(){qr(t)})}function Xr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Nr(t,e))}function Gr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Pr(t,e)}function Zr(t,e,n){var r=Qr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ur?Br:Wr,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ur,l=a,f=i.length):e===Hr?u>0&&(n=Hr,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ur:Hr:null)?n===Ur?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ur&&Jr.test(r[Vr+"Property"])}}function Yr(t,e){for(;t.length1}function io(t,e){!0!==e.data.show&&eo(e)}var ao=function(t){var i,a,s={},c=t.modules,u=t.nodeOps;for(i=0;iv?_(t,e(o[y+1])?null:o[y+1].elm,o,d,y,i):d>y&&C(0,r,p,v)}(p,h,y,i,l):n(y)?(n(t.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,i)):n(h)?C(0,h,0,h.length-1):n(t.text)&&u.setTextContent(p,""):t.text!==o.text&&u.setTextContent(p,o.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(t,o)}}}function x(t,e,o){if(r(o)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==i&&(a.selected=i);else if(j(fo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function lo(t,e){return e.every(function(e){return!j(e,t)})}function fo(t){return"_value"in t?t._value:t.value}function po(t){t.target.composing=!0}function vo(t){t.target.composing&&(t.target.composing=!1,ho(t.target,"input"))}function ho(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function mo(t){return!t.componentInstance||t.data&&t.data.transition?t:mo(t.componentInstance._vnode)}var yo={model:so,show:{bind:function(t,e,n){var r=e.value,o=(n=mo(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,eo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=mo(n)).data&&n.data.transition?(n.data.show=!0,r?eo(n,function(){t.style.display=t.__vOriginalDisplay}):no(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},go={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function _o(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_o(ce(e.children)):t}function bo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[_(i)]=o[i];return e}function Co(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Ao=function(t){return t.tag||se(t)},wo=function(t){return"show"===t.name},$o={name:"transition",props:go,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ao)).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var a=_o(i);if(!a)return i;if(this._leaving)return Co(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=bo(this),u=this._vnode,l=_o(u);if(a.data.directives&&a.data.directives.some(wo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=x({},c);if("out-in"===r)return this._leaving=!0,ne(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Co(t,i);if("in-out"===r){if(se(a))return u;var p,d=function(){p()};ne(c,"afterEnter",d),ne(c,"enterCancelled",d),ne(f,"delayLeave",function(t){p=t})}}return i}}},xo=x({tag:String,moveClass:String},go);function Oo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ko(t){t.data.newPos=t.elm.getBoundingClientRect()}function So(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete xo.mode;var Eo={Transition:$o,TransitionGroup:{props:xo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=bo(this),s=0;s-1?Bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Bn[t]=/HTMLUnknownElement/.test(e.toString())},x(yn.options.directives,yo),x(yn.options.components,Eo),yn.prototype.__patch__=H?ao:k,yn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=ft),be(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ie(t,r,k,{before:function(){t._isMounted&&!t._isDestroyed&&be(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,be(t,"mounted")),t}(this,t=t&&H?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},H&&setTimeout(function(){P.devtools&&Y&&Y.emit("init",yn)},0),yn}); \ No newline at end of file diff --git a/packages/vue-server-renderer/basic.js b/packages/vue-server-renderer/basic.js index 0e3d82bb1d4..7d7cf80ceba 100644 --- a/packages/vue-server-renderer/basic.js +++ b/packages/vue-server-renderer/basic.js @@ -1998,7 +1998,7 @@ var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -3376,10 +3376,11 @@ '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; - var encodedAttr = /&(?:lt|gt|quot|amp);/g; - var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; + var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; + var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -4146,16 +4147,20 @@ } }, comment: function comment (text, start, end) { - var child = { - type: 3, - text: text, - isComment: true - }; - if (options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + var child = { + type: 3, + text: text, + isComment: true + }; + if (options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -5489,7 +5494,7 @@ { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } @@ -8246,8 +8251,9 @@ // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; diff --git a/packages/vue-server-renderer/build.dev.js b/packages/vue-server-renderer/build.dev.js index aebf69603d5..69d53a443ea 100644 --- a/packages/vue-server-renderer/build.dev.js +++ b/packages/vue-server-renderer/build.dev.js @@ -2000,7 +2000,7 @@ function invokeWithErrorHandling ( var res; try { res = args ? handler.apply(context, args) : handler.call(context); - if (isPromise(res)) { + if (res && !res._isVue && isPromise(res)) { res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); }); } } catch (e) { @@ -3126,10 +3126,11 @@ var decodingMap = { '"': '"', '&': '&', ' ': '\n', - ' ': '\t' + ' ': '\t', + ''': "'" }; -var encodedAttr = /&(?:lt|gt|quot|amp);/g; -var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10|#9);/g; +var encodedAttr = /&(?:lt|gt|quot|amp|#39);/g; +var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#39|#10|#9);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); @@ -3896,16 +3897,20 @@ function parse ( } }, comment: function comment (text, start, end) { - var child = { - type: 3, - text: text, - isComment: true - }; - if (options.outputSourceRange) { - child.start = start; - child.end = end; + // adding anyting as a sibling to the root node is forbidden + // comments should still be allowed, but ignored + if (currentParent) { + var child = { + type: 3, + text: text, + isComment: true + }; + if (options.outputSourceRange) { + child.start = start; + child.end = end; + } + currentParent.children.push(child); } - currentParent.children.push(child); } }); return root @@ -5239,7 +5244,7 @@ function genInlineTemplate (el, state) { { start: el.start } ); } - if (ast.type === 1) { + if (ast && ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } @@ -7996,8 +8001,9 @@ function mergeHook$1 (f1, f2) { // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; - var event = (options.model && options.model.event) || 'input' - ;(data.props || (data.props = {}))[prop] = data.model.value; + var event = (options.model && options.model.event) || 'input'; + var addTo = (options.props && prop in options.props) ? 'props' : 'attrs' + ;(data[addTo] || (data[addTo] = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); var existing = on[event]; var callback = data.model.callback; diff --git a/packages/vue-server-renderer/build.prod.js b/packages/vue-server-renderer/build.prod.js index 60247716e86..55f4a8a0343 100644 --- a/packages/vue-server-renderer/build.prod.js +++ b/packages/vue-server-renderer/build.prod.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=(e=require("he"))&&"object"==typeof e&&"default"in e?e.default:e,r=Object.freeze({});function n(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i\/="'\u0009\u000a\u000c\u0020]/,N=function(e){return E.test(e)},L=function(e){return P(e)||0===e.indexOf("data-")||0===e.indexOf("aria-")},I={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},M={"<":"<",">":">",'"':""","&":"&"};function R(e){return e.replace(/[<>"&]/g,D)}function D(e){return M[e]||e}var U={"animation-iteration-count":!0,"border-image-outset":!0,"border-image-slice":!0,"border-image-width":!0,"box-flex":!0,"box-flex-group":!0,"box-ordinal-group":!0,"column-count":!0,columns:!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"flex-order":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-span":!0,"grid-row-start":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-span":!0,"grid-column-start":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"flood-opacity":!0,"stop-opacity":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,"stroke-miterlimit":!0,"stroke-opacity":!0,"stroke-width":!0},z=d("input,textarea,option,select,progress"),B=d("contenteditable,draggable,spellcheck"),q=d("events,caret,typing,plaintext-only"),J=function(e,t){return K(t)||"false"===t?"false":"contenteditable"===e&&q(t)?t:"true"},H=d("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"),K=function(e){return null==e||!1===e};function V(e,t){if(H(e)){if(!K(t))return" "+e+'="'+e+'"'}else{if(B(e))return" "+e+'="'+R(J(e,t))+'"';if(!K(t))return" "+e+'="'+R(String(t))+'"'}return""}var W=function(e,t,r,n,i,o,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Z={child:{configurable:!0}};Z.child.get=function(){return this.componentInstance},Object.defineProperties(W.prototype,Z);var X=function(e){void 0===e&&(e="");var t=new W;return t.text=e,t.isComment=!0,t};function G(e){return new W(void 0,void 0,void 0,String(e))}function Q(e,t,r){var n=new W(void 0,void 0,void 0,t);n.raw=r,e.children=[n]}function Y(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var ee,te="__proto__"in{},re="undefined"!=typeof window,ne="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ie=ne&&WXEnvironment.platform.toLowerCase(),oe=re&&window.navigator.userAgent.toLowerCase(),ae=oe&&/msie|trident/.test(oe),se=(oe&&oe.indexOf("msie 9.0"),oe&&oe.indexOf("edge/")>0),ce=(oe&&oe.indexOf("android"),oe&&/iphone|ipad|ipod|ios/.test(oe),oe&&/chrome\/\d+/.test(oe),oe&&/phantomjs/.test(oe),{}.watch);if(re)try{var ue={};Object.defineProperty(ue,"passive",{get:function(){}}),window.addEventListener("test-passive",null,ue)}catch(e){}var le=function(){return void 0===ee&&(ee=!re&&!ne&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),ee};re&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function fe(e){return"function"==typeof e&&/native code/.test(e.toString())}var pe,de="undefined"!=typeof Symbol&&fe(Symbol)&&"undefined"!=typeof Reflect&&fe(Reflect.ownKeys);pe="undefined"!=typeof Set&&fe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ve="data-server-rendered",he=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],me={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:k,isReservedAttr:k,isUnknownElement:k,getTagNamespace:O,parsePlatformTagName:C,mustUseProp:k,async:!0,_lifecycleHooks:he},ye=O,ge=0,be=function(){this.id=ge++,this.subs=[]};be.prototype.addSub=function(e){this.subs.push(e)},be.prototype.removeSub=function(e){!function(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)e.splice(r,1)}}(this.subs,e)},be.prototype.depend=function(){be.target&&be.target.addDep(this)},be.prototype.notify=function(){for(var e=this.subs.slice(),t=0,r=e.length;t=0&&Math.floor(t)===t&&isFinite(e)}(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var n=e.__ob__;return e._isVue||n&&n.vmCount?r:n?(Ce(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}Oe.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===S(e)){var c=ze(String,i.type);(c<0||s1&&(t[n[0].trim()]=n[1].trim())}}),t});function tt(e){var t=rt(e.style);return e.staticStyle?$(e.staticStyle,t):t}function rt(e){return Array.isArray(e)?A(e):"string"==typeof e?et(e):e}function nt(e){var t="";for(var r in e){var n=e[r],i=S(r);if(Array.isArray(n))for(var o=0,a=n.length;o-1&&st(a);else if(T(r,at(a)))return void st(a)}}},ut=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),lt=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ft=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),pt=900,dt=function(e){return e},vt="undefined"!=typeof process&&process.nextTick?process.nextTick:"undefined"!=typeof Promise?function(e){return Promise.resolve().then(e)}:"undefined"!=typeof setTimeout?setTimeout:dt;if(vt===dt)throw new Error("Your JavaScript runtime does not support any asynchronous primitives that are required by vue-server-renderer. Please use a polyfill for either Promise or setTimeout.");function ht(e,t){var r=0,n=function(i,o){i&&n.caching&&(n.cacheBuffer[n.cacheBuffer.length-1]+=i),!0!==e(i,o)&&(r>=pt?vt(function(){try{o()}catch(e){t(e)}}):(r++,o(),r--))};return n.caching=!1,n.cacheBuffer=[],n.componentBuffer=[],n}var mt=function(e){function t(t){var r=this;e.call(this),this.buffer="",this.render=t,this.expectedSize=0,this.write=ht(function(e,t){var n=r.expectedSize;return r.buffer+=e,r.buffer.length>=n&&(r.next=t,r.pushBySize(n),!0)},function(e){r.emit("error",e)}),this.end=function(){r.emit("beforeEnd"),r.done=!0,r.push(r.buffer)}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.pushBySize=function(e){var t=this.buffer.substring(0,e);this.buffer=this.buffer.substring(e),this.push(t)},t.prototype.tryRender=function(){try{this.render(this.write,this.end)}catch(e){this.emit("error",e)}},t.prototype.tryNext=function(){try{this.next()}catch(e){this.emit("error",e)}},t.prototype._read=function(e){this.expectedSize=e,o(this.done)?this.push(null):this.buffer.length>=e?this.pushBySize(e):n(this.next)?this.tryRender():this.tryNext()},t}(require("stream").Readable),yt=function(e){this.userContext=e.userContext,this.activeInstance=e.activeInstance,this.renderStates=[],this.write=e.write,this.done=e.done,this.renderNode=e.renderNode,this.isUnaryTag=e.isUnaryTag,this.modules=e.modules,this.directives=e.directives;var t=e.cache;if(t&&(!t.get||!t.set))throw new Error("renderer cache must implement at least get & set.");this.cache=t,this.get=t&>(t,"get"),this.has=t&>(t,"has"),this.next=this.next.bind(this)};function gt(e,t){var r=e[t];return n(r)?void 0:r.length>1?function(t,n){return r.call(e,t,n)}:function(t,n){return n(r.call(e,t))}}yt.prototype.next=function(){for(;;){var e=this.renderStates[this.renderStates.length-1];if(n(e))return this.done();switch(e.type){case"Element":case"Fragment":var t=e.children,r=e.total,i=e.rendered++;if(i=0&&" "===(h=e.charAt(v));v--);h&&bt.test(h)||(u=!0)}}else void 0===i?(d=n+1,i=e.slice(0,n).trim()):m();function m(){(o||(o=[])).push(e.slice(d,n).trim()),d=n+1}if(void 0===i?i=e.slice(0,n).trim():0!==d&&m(),o)for(n=0;n\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Kt=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Vt="[a-zA-Z_][\\-\\.0-9_a-zA-Za-zA-Z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]*",Wt="((?:"+Vt+"\\:)?"+Vt+")",Zt=new RegExp("^<"+Wt),Xt=/^\s*(\/?)>/,Gt=new RegExp("^<\\/"+Wt+"[^>]*>"),Qt=/^]+>/i,Yt=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},ir=/&(?:lt|gt|quot|amp);/g,or=/&(?:lt|gt|quot|amp|#10|#9);/g,ar=d("pre,textarea",!0),sr=function(e,t){return e&&ar(e)&&"\n"===t[0]};function cr(e,t){var r=t?or:ir;return e.replace(r,function(e){return nr[e]})}function ur(e,t,r){var n=r||{},i=n.number,o="$$v";n.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=lr(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function lr(e,t){var r=function(e){if(e=e.trim(),Rt=e.length,e.indexOf("[")<0||e.lastIndexOf("]")-1?{exp:e.slice(0,zt),key:'"'+e.slice(zt+1)+'"'}:{exp:e,key:null};Dt=e,zt=Bt=qt=0;for(;!pr();)dr(Ut=fr())?hr(Ut):91===Ut&&vr(Ut);return{exp:e.slice(0,Bt),key:e.slice(Bt+1,qt)}}(e);return null===r.key?e+"="+t:"$set("+r.exp+", "+r.key+", "+t+")"}function fr(){return Dt.charCodeAt(++zt)}function pr(){return zt>=Rt}function dr(e){return 34===e||39===e}function vr(e){var t=1;for(Bt=zt;!pr();)if(dr(e=fr()))hr(e);else if(91===e&&t++,93===e&&t--,0===t){qt=zt;break}}function hr(e){for(var t=e;!pr()&&(e=fr())!==t;);}var mr,yr,gr,br,_r,wr,xr,Sr,$r=/^@|^v-on:/,Ar=/^v-|^@|^:/,Or=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,kr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cr=/^\(|\)$/g,Tr=/^\[.*\]$/,jr=/:(.*)$/,Fr=/^:|^\.|^v-bind:/,Pr=/\.[^.]+/g,Er=/^v-slot(:|$)|^#/,Nr=/[\r\n]/,Lr=/\s+/g,Ir=g(t.decode);function Mr(e,t,r){return{type:1,tag:e,attrsList:t,attrsMap:Jr(t),rawAttrsMap:{},parent:r,children:[]}}function Rr(e,t){mr=t.warn||At,wr=t.isPreTag||k,xr=t.mustUseProp||k,Sr=t.getTagNamespace||k;t.isReservedTag;gr=Ot(t.modules,"transformNode"),br=Ot(t.modules,"preTransformNode"),_r=Ot(t.modules,"postTransformNode"),yr=t.delimiters;var r,n,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=Dr(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&zr(r,{exp:e.elseif,block:e}),n&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(n.children))&&u.if&&zr(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[o]=e}n.children.push(e),e.parent=n}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),wr(e.tag)&&(c=!1);for(var f=0;f<_r.length;f++)_r[f](e,t)}function l(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var r,n,i=[],o=t.expectHTML,a=t.isUnaryTag||k,s=t.canBeLeftOpenTag||k,c=0;e;){if(r=e,n&&tr(n)){var u=0,l=n.toLowerCase(),f=rr[l]||(rr[l]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=e.replace(f,function(e,r,n){return u=n.length,tr(l)||"noscript"===l||(r=r.replace(//g,"$1").replace(//g,"$1")),sr(l,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""});c+=e.length-p.length,e=p,O(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(Yt.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),S(v+3);continue}}if(er.test(e)){var h=e.indexOf("]>");if(h>=0){S(h+2);continue}}var m=e.match(Qt);if(m){S(m[0].length);continue}var y=e.match(Gt);if(y){var g=c;S(y[0].length),O(y[1],g,c);continue}var b=$();if(b){A(b),sr(b.tagName,e)&&S(1);continue}}var _=void 0,w=void 0,x=void 0;if(d>=0){for(w=e.slice(d);!(Gt.test(w)||Zt.test(w)||Yt.test(w)||er.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=e.slice(d);_=e.substring(0,d)}d<0&&(_=e),_&&S(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===r){t.chars&&t.chars(e);break}}function S(t){c+=t,e=e.substring(t)}function $(){var t=e.match(Zt);if(t){var r,n,i={tagName:t[1],attrs:[],start:c};for(S(t[0].length);!(r=e.match(Xt))&&(n=e.match(Kt)||e.match(Ht));)n.start=c,S(n[0].length),n.end=c,i.attrs.push(n);if(r)return i.unarySlash=r[1],S(r[0].length),i.end=c,i}}function A(e){var r=e.tagName,c=e.unarySlash;o&&("p"===n&&ft(r)&&O(n),s(r)&&n===r&&O(r));for(var u=a(r)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,r,o);i.length=a,n=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,r,o):"p"===s&&(t.start&&t.start(e,[],!1,r,o),t.end&&t.end(e,r,o))}O()}(e,{warn:mr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l){var f=n&&n.ns||Sr(e);ae&&"svg"===f&&(o=function(e){for(var t=[],r=0;rc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=_t(n[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+n[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Pt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+lr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+lr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+lr(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===o&&"radio"===a)!function(e,t,r){var n=r&&r.number,i=Et(e,"value")||"null";kt(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),Pt(e,"change",lr(t,i),null,!0)}(e,n,i);else{if("input"!==o&&"textarea"!==o)return ur(e,n,i),!1;!function(e,t,r){var n=e.attrsMap.type,i=r||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==n,u=o?"change":"range"===n?Zr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=lr(t,l);c&&(f="if($event.target.composing)return;"+f),kt(e,"value","("+t+")"),Pt(e,u,f,null,!0),(s||a)&&Pt(e,"blur","$forceUpdate()")}(e,n,i)}return!0},text:function(e,t){t.value&&kt(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&kt(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ut,mustUseProp:function(e,t,r){return"value"===r&&z(e)&&"button"!==t||"selected"===r&&"option"===e||"checked"===r&&"input"===e||"muted"===r&&"video"===e},canBeLeftOpenTag:lt,isReservedTag:function(e){return Qe(e)||Ye(e)},getTagNamespace:function(e){return Ye(e)?"svg":"math"===e?"math":void 0},staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Wr)},Gr=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Qr=/\([^)]*?\);*$/,Yr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,en={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},tn={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},rn=function(e){return"if("+e+")return null;"},nn={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:rn("$event.target !== $event.currentTarget"),ctrl:rn("!$event.ctrlKey"),shift:rn("!$event.shiftKey"),alt:rn("!$event.altKey"),meta:rn("!$event.metaKey"),left:rn("'button' in $event && $event.button !== 0"),middle:rn("'button' in $event && $event.button !== 1"),right:rn("'button' in $event && $event.button !== 2")};function on(e,t){var r=t?"nativeOn:":"on:",n="",i="";for(var o in e){var a=an(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":n+='"'+o+'":'+a+","}return n="{"+n.slice(0,-1)+"}",i?r+"_d("+n+",["+i.slice(0,-1)+"])":r+n}function an(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return an(e)}).join(",")+"]";var t=Yr.test(e.value),r=Gr.test(e.value),n=Yr.test(e.value.replace(Qr,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(nn[s])o+=nn[s],en[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=rn(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(('keyCode' in $event)&&"+e.map(sn).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":n?"return "+e.value:e.value)+"}"}return t||r?e.value:"function($event){"+(n?"return "+e.value:e.value)+"}"}function sn(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var r=en[e],n=tn[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(r)+",$event.key,"+JSON.stringify(n)+")"}var cn={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(r){return"_b("+r+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:O},un=function(e){this.options=e,this.warn=e.warn||At,this.transforms=Ot(e.modules,"transformCode"),this.dataGenFns=Ot(e.modules,"genData"),this.directives=$($({},cn),e.directives);var t=e.isReservedTag||k;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ln(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return fn(e,t);if(e.once&&!e.onceProcessed)return pn(e,t);if(e.for&&!e.forProcessed)return vn(e,t);if(e.if&&!e.ifProcessed)return dn(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var r=e.slotName||'"default"',n=yn(e,t),i="_t("+r+(n?","+n:""),o=e.attrs&&"{"+e.attrs.map(function(e){return _(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||n||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var r;if(e.component)r=function(e,t,r){var n=t.inlineTemplate?null:yn(t,r,!0);return"_c("+e+","+hn(t,r)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=hn(e,t));var i=e.inlineTemplate?null:yn(e,t,!0);r="_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var o=0;o"'+(r?","+r:"")+")"}(e,t);case On.CHILDREN:return En(e,t,!0);case On.PARTIAL:return En(e,t,!1);default:return ln(e,t)}}function En(e,t,r){var n=e.plain?void 0:hn(e,t),i=r?"["+In(e,t)+"]":Nn(e,t,!0);return"_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}function Nn(e,t,r){return yn(e,t,r,Pn,Ln)}function Ln(e,t){return 1===e.type?Pn(e,t):_n(e)}function In(e,t){return e.children.length?"_ssrNode("+zn(Un(e,t))+")":""}function Mn(e,t){return"("+zn(Rn(e,t))+")"}function Rn(e,t){if(e.for&&!e.forProcessed)return e.forProcessed=!0,[{type:Fn,value:vn(e,t,Mn,"_ssrList")}];if(e.if&&!e.ifProcessed)return e.ifProcessed=!0,[{type:Fn,value:dn(e,t,Mn,'"\x3c!----\x3e"')}];if("template"===e.tag)return Un(e,t);var r=Dn(e,t),n=Un(e,t),i=t.options.isUnaryTag,o=i&&i(e.tag)?[]:[{type:Tn,value:""}];return r.concat(n,o)}function Dn(e,t){var r;!function(e,t){if(e.directives)for(var r=0;r"}),u}function Un(e,t){var r;return(r=e.attrsMap["v-html"])?[{type:Fn,value:"_s("+r+")"}]:(r=e.attrsMap["v-text"])?[{type:jn,value:"_s("+r+")"}]:"textarea"===e.tag&&(r=e.attrsMap["v-model"])?[{type:jn,value:"_s("+r+")"}]:e.children?function(e,t){for(var r=[],n=0;n0&&(Zn((u=e(u,(r||"")+"_"+c))[0])&&Zn(f)&&(s[l]=G(f.text+u[0].text),u.shift()),s.push.apply(s,u)):a(u)?Zn(f)?s[l]=G(f.text+u):""!==u&&s.push(G(u)):Zn(u)&&Zn(f)?s[l]=G(f.text+u.text):(o(t._isVList)&&i(u.tag)&&n(u.key)&&i(r)&&(u.key="__vlist"+r+"_"+c+"__"),s.push(u)));return s}(e):void 0}function Zn(e){return i(e)&&i(e.text)&&!1===e.isComment}var Xn={_ssrEscape:R,_ssrNode:function(e,t,r,n){return new Gn(e,t,r,n)},_ssrList:function(e,t){var r,n,i,o,a="";if(Array.isArray(e)||"string"==typeof e)for(r=0,n=e.length;rdocument.createEvent("Event").timeStamp&&(vi=function(){return performance.now()});var hi=1,mi=2;function yi(e,t,r,c,u,l){return(Array.isArray(r)||a(r))&&(u=c,c=r,r=void 0),o(l)&&(u=mi),function(e,t,r,a,c){if(i(r)&&i(r.__ob__))return X();i(r)&&i(r.is)&&(t=r.is);if(!t)return X();Array.isArray(a)&&"function"==typeof a[0]&&((r=r||{}).scopedSlots={default:a[0]},a.length=0);c===mi?a=Wn(a):c===hi&&(a=Vn(a));var u,l;if("string"==typeof t){var f;l=e.$vnode&&e.$vnode.ns||me.getTagNamespace(t),u=r&&r.pre||!i(f=Me(e.$options,"components",t))?new W(t,r,a,void 0,void 0,e):Di(f,r,e,a,t)}else u=Di(t,r,e,a);return Array.isArray(u)?u:i(u)?(i(l)&&function e(t,r,a){t.ns=r;"foreignObject"===t.tag&&(r=void 0,a=!0);if(i(t.children))for(var s=0,c=t.children.length;s"}(e,r),u="";if(r.isUnaryTag(e.tag))a(c,s);else if(n(e.children)||0===e.children.length)a(c+u,s);else{var l=e.children;r.renderStates.push({type:"Element",children:l,rendered:0,total:l.length,endTag:u}),a(c,s)}}(e,t,r):o(e.isComment)?i(e.asyncFactory)?function(e,t,r){var n=e.asyncFactory,i=function(n){n.__esModule&&n.default&&(n=n.default);var i=e.asyncMeta,o=i.data,a=i.children,s=i.tag,c=e.asyncMeta.context,u=Di(n,o,c,a,s);u?u.componentOptions?Zi(u,t,r):Array.isArray(u)?(r.renderStates.push({type:"Fragment",children:u,rendered:0,total:u.length}),r.next()):Vi(u,t,r):r.write("\x3c!----\x3e",r.next)};if(n.resolved)return void i(n.resolved);var o,a=r.done;try{o=n(i,a)}catch(e){a(e)}if(o)if("function"==typeof o.then)o.then(i,a).catch(a);else{var s=o.component;s&&"function"==typeof s.then&&s.then(i,a).catch(a)}}(e,t,r):r.write("\x3c!--"+e.text+"--\x3e",r.next):r.write(e.raw?e.text:R(String(e.text)),r.next)}function Wi(e,t){var r=e._ssrRegister;return t.caching&&i(r)&&t.componentBuffer[t.componentBuffer.length-1].add(r),r}function Zi(e,t,r){var o=r.write,a=r.next,s=r.userContext,c=e.componentOptions.Ctor,u=c.options.serverCacheKey,l=c.options.name,f=r.cache,p=Wi(c.options,o);if(i(u)&&i(f)&&i(l)){var d=u(e.componentOptions.propsData);if(!1===d)return void Gi(e,t,r);var v=l+"::"+d,h=r.has,m=r.get;i(h)?h(v,function(n){!0===n&&i(m)?m(v,function(e){i(p)&&p(s),e.components.forEach(function(e){return e(s)}),o(e.html,a)}):Xi(e,t,v,r)}):i(m)&&m(v,function(n){i(n)?(i(p)&&p(s),n.components.forEach(function(e){return e(s)}),o(n.html,a)):Xi(e,t,v,r)})}else i(u)&&n(f)&&qi("[vue-server-renderer] Component "+(c.options.name||"(anonymous)")+" implemented serverCacheKey, but no cache was provided to the renderer."),i(u)&&n(l)&&qi('[vue-server-renderer] Components that implement "serverCacheKey" must also define a unique "name" option.'),Gi(e,t,r)}function Xi(e,t,r,n){var i=n.write;i.caching=!0;var o=i.cacheBuffer,a=o.push("")-1,s=i.componentBuffer;s.push(new Set),n.renderStates.push({type:"ComponentWithCache",key:r,buffer:o,bufferIndex:a,componentBuffer:s}),Gi(e,t,n)}function Gi(e,t,r){var n=r.activeInstance;e.ssrContext=r.userContext;var i=r.activeInstance=Ui(e,r.activeInstance);Hi(i);var o=r.done;Ki(i,function(){var o=i._render();o.parent=e,r.renderStates.push({type:"Component",prevActive:n}),Vi(o,t,r)},o)}function Qi(e,t,r,n){return function(i,o,a,s){Bi=Object.create(null);var c=new yt({activeInstance:i,userContext:a,write:o,done:s,renderNode:Vi,isUnaryTag:r,modules:e,directives:t,cache:n});!function(e){if(!e._ssrNode){for(var t=e.constructor;t.super;)t=t.super;$(t.prototype,Xn),t.FunctionalRenderContext&&$(t.FunctionalRenderContext.prototype,Xn)}}(i),Hi(i);Ki(i,function(){Vi(i._render(),!0,c)},s)}}var Yi=function(e){return/\.js(\?[^.]+)?$/.test(e)};function eo(){var e,t;return{promise:new Promise(function(r,n){e=r,t=n}),cb:function(r,n){if(r)return t(r);e(n||"")}}}var to=function(e){function t(t,r,n){e.call(this),this.started=!1,this.renderer=t,this.template=r,this.context=n||{},this.inject=t.inject}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._transform=function(e,t,r){this.started||(this.emit("beforeStart"),this.start()),this.push(e),r()},t.prototype.start=function(){if(this.started=!0,this.push(this.template.head(this.context)),this.inject){this.context.head&&this.push(this.context.head);var e=this.renderer.renderResourceHints(this.context);e&&this.push(e);var t=this.renderer.renderStyles(this.context);t&&this.push(t)}this.push(this.template.neck(this.context))},t.prototype._flush=function(e){if(this.emit("beforeEnd"),this.inject){var t=this.renderer.renderState(this.context);t&&this.push(t);var r=this.renderer.renderScripts(this.context);r&&this.push(r)}this.push(this.template.tail(this.context)),e()},t}(require("stream").Transform),ro=require("lodash.template"),no={escape:/{{([^{][\s\S]+?[^}])}}/g,interpolate:/{{{([\s\S]+?)}}}/g};function io(e){var t=function(e){var t=new Map;return Object.keys(e.modules).forEach(function(r){t.set(r,function(e,t){var r=[],n=t.modules[e];return n&&n.forEach(function(e){var n=t.all[e];(t.async.indexOf(n)>-1||!/\.js($|\?)/.test(n))&&r.push(n)}),r}(r,e))}),t}(e);return function(e){for(var r=new Set,n=0;n"),n=e.indexOf(t);if(n<0)throw new Error("Content placeholder not found in template.");return r<0&&(r=e.indexOf(""))<0&&(r=n),{head:ro(e.slice(0,r),no),neck:ro(e.slice(r,n),no),tail:ro(e.slice(n+t.length),no)}}(t):t:null,this.serialize=e.serializer||function(e){return ao(e,{isJSON:!0})},e.clientManifest){var r=this.clientManifest=e.clientManifest;this.publicPath=""===r.publicPath?"":r.publicPath.replace(/([^\/])$/,"$1/"),this.preloadFiles=(r.initial||[]).map(co),this.prefetchFiles=(r.async||[]).map(co),this.mapFiles=io(r)}};function co(e){var t=e.replace(/\?.*/,""),r=oo.extname(t).slice(1);return{file:e,extension:r,fileWithoutQuery:t,asType:uo(r)}}function uo(e){return"js"===e?"script":"css"===e?"style":/jpe?g|png|svg|gif|webp|ico/.test(e)?"image":/woff2?|ttf|otf|eot/.test(e)?"font":""}so.prototype.bindRenderFns=function(e){var t=this;["ResourceHints","State","Scripts","Styles"].forEach(function(r){e["render"+r]=t["render"+r].bind(t,e)}),e.getPreloadFiles=t.getPreloadFiles.bind(t,e)},so.prototype.render=function(e,t){var r=this.parsedTemplate;if(!r)throw new Error("render cannot be called without a template.");return t=t||{},"function"==typeof r?r(e,t):this.inject?r.head(t)+(t.head||"")+this.renderResourceHints(t)+this.renderStyles(t)+r.neck(t)+e+this.renderState(t)+this.renderScripts(t)+r.tail(t):r.head(t)+r.neck(t)+e+r.tail(t)},so.prototype.renderStyles=function(e){var t=this,r=this.preloadFiles||[],n=this.getUsedAsyncFiles(e)||[],i=r.concat(n).filter(function(e){return function(e){return/\.css(\?[^.]+)?$/.test(e)}(e.file)});return(i.length?i.map(function(e){var r=e.file;return''}).join(""):"")+(e.styles||"")},so.prototype.renderResourceHints=function(e){return this.renderPreloadLinks(e)+this.renderPrefetchLinks(e)},so.prototype.getPreloadFiles=function(e){var t=this.getUsedAsyncFiles(e);return this.preloadFiles||t?(this.preloadFiles||[]).concat(t||[]):[]},so.prototype.renderPreloadLinks=function(e){var t=this,r=this.getPreloadFiles(e),n=this.options.shouldPreload;return r.length?r.map(function(e){var r=e.file,i=e.extension,o=e.fileWithoutQuery,a=e.asType,s="";return n||"script"===a||"style"===a?n&&!n(o,a)?"":("font"===a&&(s=' type="font/'+i+'" crossorigin'),'"):""}).join(""):""},so.prototype.renderPrefetchLinks=function(e){var t=this,r=this.options.shouldPrefetch;if(this.prefetchFiles){var n=this.getUsedAsyncFiles(e);return this.prefetchFiles.map(function(e){var i=e.file,o=e.fileWithoutQuery,a=e.asType;return r&&!r(o,a)?"":function(e){return n&&n.some(function(t){return t.file===e})}(i)?"":''}).join("")}return""},so.prototype.renderState=function(e,t){var r=t||{},n=r.contextKey;void 0===n&&(n="state");var i=r.windowKey;void 0===i&&(i="__INITIAL_STATE__");var o=this.serialize(e[n]),a=e.nonce?' nonce="'+e.nonce+'"':"";return e[n]?"window."+i+"="+o+";(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());<\/script>":""},so.prototype.renderScripts=function(e){var t=this;if(this.clientManifest){var r=this.preloadFiles.filter(function(e){var t=e.file;return Yi(t)}),n=(this.getUsedAsyncFiles(e)||[]).filter(function(e){var t=e.file;return Yi(t)});return[r[0]].concat(n,r.slice(1)).map(function(e){var r=e.file;return' ' + } + } + }).$mount() + expect(vm.$el.nodeName).toBe('#comment') + expect('Templates should only be responsible for mapping the state').toHaveBeenWarned() + }) }) From 987f322b8f419cc307f4294173f8792a706ed73f Mon Sep 17 00:00:00 2001 From: Ben Delaney Date: Tue, 30 Mar 2021 20:46:12 +1100 Subject: [PATCH 664/740] fix: pause dep collection during immediate watcher invocation (#11943) Co-authored-by: Eduardo San Martin Morote --- src/core/instance/state.js | 2 ++ .../instance/methods-lifecycle.spec.js | 32 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/src/core/instance/state.js b/src/core/instance/state.js index cc1401a3353..67f9dae381d 100644 --- a/src/core/instance/state.js +++ b/src/core/instance/state.js @@ -355,11 +355,13 @@ export function stateMixin (Vue: Class) { options.user = true const watcher = new Watcher(vm, expOrFn, cb, options) if (options.immediate) { + pushTarget() try { cb.call(vm, watcher.value) } catch (error) { handleError(error, vm, `callback for immediate watcher "${watcher.expression}"`) } + popTarget() } return function unwatchFn () { watcher.teardown() diff --git a/test/unit/features/instance/methods-lifecycle.spec.js b/test/unit/features/instance/methods-lifecycle.spec.js index 1e424a5c9be..a2c5b86e920 100644 --- a/test/unit/features/instance/methods-lifecycle.spec.js +++ b/test/unit/features/instance/methods-lifecycle.spec.js @@ -53,6 +53,38 @@ describe('Instance methods lifecycle', () => { } }).$mount() }) + + it('Dep.target should be undefined during invocation of child immediate watcher', done => { + let calls = 0 + const childData = { a: 1 } + const parentUpdate = jasmine.createSpy() + new Vue({ + template: '
', + updated: parentUpdate, + components: { + myComponent: { + template: '
{{ a }}
', + data() { + return childData + }, + watch: { + anything: { + handler() { + ++calls + this.a + }, + immediate: true + } + } + } + } + }).$mount() + expect(calls).toBe(1) + childData.a++ + waitForUpdate(() => { + expect(parentUpdate).not.toHaveBeenCalled() + }).then(done) + }) }) describe('$destroy', () => { From e0274e4320f68bb93bd7f90bb1ef701ccf9b6f2a Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Tue, 30 Mar 2021 11:46:53 +0200 Subject: [PATCH 665/740] fix(types): add types for Vue.util.warn function (#11964) See https://github.com/vuejs/vue/blob/v2.6.12/src/core/util/debug.js#L18-L26 --- types/vue.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/vue.d.ts b/types/vue.d.ts index 204f9cca94d..574d50a6df1 100644 --- a/types/vue.d.ts +++ b/types/vue.d.ts @@ -121,6 +121,10 @@ export interface VueConstructor { observable(obj: T): T; + util: { + warn(msg: string, vm?: InstanceType): void; + }; + config: VueConfiguration; version: string; } From 7e5dc6bd9ebc1620624191804d2ace43cae557a8 Mon Sep 17 00:00:00 2001 From: Volodymyr I Date: Tue, 30 Mar 2021 11:49:40 +0200 Subject: [PATCH 666/740] fix(ssr): inheritAttrs false adds attributes to html (#11706) --- src/platforms/web/server/modules/attrs.js | 4 ++++ test/ssr/ssr-string.spec.js | 25 +++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/src/platforms/web/server/modules/attrs.js b/src/platforms/web/server/modules/attrs.js index 4d48eeed2da..e575d13ae30 100644 --- a/src/platforms/web/server/modules/attrs.js +++ b/src/platforms/web/server/modules/attrs.js @@ -25,6 +25,10 @@ export default function renderAttrs (node: VNodeWithData): string { if (isUndef(opts) || opts.Ctor.options.inheritAttrs !== false) { let parent = node.parent while (isDef(parent)) { + // Stop fallthrough in case parent has inheritAttrs option set to false + if (parent.componentOptions && parent.componentOptions.Ctor.options.inheritAttrs === false) { + break; + } if (isDef(parent.data) && isDef(parent.data.attrs)) { attrs = extend(extend({}, attrs), parent.data.attrs) } diff --git a/test/ssr/ssr-string.spec.js b/test/ssr/ssr-string.spec.js index b24f7e024b5..61abfce9a2f 100644 --- a/test/ssr/ssr-string.spec.js +++ b/test/ssr/ssr-string.spec.js @@ -1613,6 +1613,31 @@ describe('SSR: renderToString', () => { done() }) }) + + it('Options inheritAttrs in parent component', done => { + const childComponent = { + template: `
{{ someProp }}
`, + props: { + someProp: {} + }, + } + const parentComponent = { + template: ``, + components: { childComponent }, + inheritAttrs: false + } + renderVmWithOptions({ + template: ` +
+ +
+ `, + components: { parentComponent } + }, result => { + expect(result).toContain('
some-val
') + done() + }) + }) }) function renderVmWithOptions (options, cb) { From af5e05d87ecd218f73302a1b08dcaedd2b46814a Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 30 Mar 2021 12:11:55 +0200 Subject: [PATCH 667/740] fix: give correct namespace in foreignObject (#11576) Fix #11575 --- src/platforms/web/util/element.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/web/util/element.js b/src/platforms/web/util/element.js index 65f1aafbbf2..d6a03f49aa5 100644 --- a/src/platforms/web/util/element.js +++ b/src/platforms/web/util/element.js @@ -26,7 +26,7 @@ export const isHTMLTag = makeMap( // contain child elements. export const isSVG = makeMap( 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + - 'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + + 'foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true ) From d90ce764fc056959d26fe469790fde86bcc2e59e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Mar 2021 08:51:08 +0200 Subject: [PATCH 668/740] build(deps): bump y18n from 4.0.0 to 4.0.1 (#11987) --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index e5fe5282025..df84403791f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8372,9 +8372,9 @@ xtend@^4.0.0, xtend@~4.0.1: integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68= y18n@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" - integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== + version "4.0.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.1.tgz#8db2b83c31c5d75099bb890b23f3094891e247d4" + integrity sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ== yallist@^2.1.2: version "2.1.2" From cc807d2d309e8ffeeb4919a837396d52e83a745d Mon Sep 17 00:00:00 2001 From: vue-bot Date: Thu, 1 Apr 2021 20:12:01 +0200 Subject: [PATCH 669/740] chore: update backers [ci skip] (#11996) Co-authored-by: Evan You --- BACKERS.md | 149 +++++++++++++++++++++++++++-------------------------- 1 file changed, 75 insertions(+), 74 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index 4556ecf89c3..44663bd92d5 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -403,92 +403,93 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu

Generous Backers via Patreon ($50+)

-- Wasim Khamlichi -- errorrik +- Yoshitaka M +- Peter Imburg - Sean Ferguson - Johnny Ray Austin -- Peter Imburg +- errorrik +- Wasim Khamlichi

Backers via Patreon

-- Masahiro Tanaka +- Sara McVey +- Роман Латкин +- Alex Riviere +- Thomas Sittig +- WhereJuly +- Fontis +- Jack +- Nick Carr +- Artur Bańka +- Traversy Media +- Pierre Baron +- Donghai Gai +- Aleksander Figiel +- Faizal Andyka +- wickedwei +- Sunny Yuen +- Jules +- Zeth Odderskov +- Santi Sanchez Canals +- Thomas Wiedemann +- Nobuhide Esaki +- Roy Segall +- Allan McKernan +- 琚致远 +- Diana Bergholz +- Riki Fridrich +- Alfonso Herrera +- Bichinger Software & Consulting +- username +- Pierre Lebrun +- Peter Matkovsky +- 龙腾道 +- Nick Dandakis +- Yusuke Kawabata - Shawn Wildermuth -- Keisuke Kita -- Benjamin Listwon -- Lars Andreas Ness -- Kirk Lewis -- Wen-Tien Chang -- Stephen Michael Hartley -- Victor Tolbert -- username -- Luiz -- James J. Ye -- Barbara Liau -- Asaf Yishai -- Matsumoto Takamasa -- Guy Gavergun -- Matt Jones -- Niannian Modisette -- Bernhard E. Reiter -- Zoran Knezevic -- Jon Hobbs-Smith -- Pierre Vanhulst -- Haim Yulzari -- Anthony Estebe -- Jim Raden -- IMGNRY -- Guilherme S L de Souza -- Tyler -- Jordan Oroshiba -- Joe Gregory -- Marcos Moura -- Eric -- Jere Sjöroos -- Wakana Seki -- Donald Fischer -- David Ang -- Oskar Lindgren -- Jaeyoung Lee -- David Kaplan -- Philip John Basile -- Matt Sencenbaugh +- Andrew Willis +- Elon Hung - Chris Calo - Juan Bermudez - Hannes Kochniß - Daniel Mattingley -- Elon Hung -- Andrew Willis -- Yusuke Kawabata -- 龙腾道 -- Peter Matkovsky -- Nick Dandakis -- Pierre Lebrun -- Ryan Brewer -- Bichinger Software & Consulting -- Alfonso Herrera -- Afif Sohaili -- Riki Fridrich -- Diana Bergholz -- 琚致远 -- Parham Saidi -- Allan McKernan -- Roy Segall -- Abhay -- Nobuhide Esaki -- Thomas Wiedemann -- Santi Sanchez Canals -- lucien144 -- Evgeny Zislis -- Zeth Odderskov -- Kirill Tyurin -- Jules -- Sunny Yuen -- wickedwei -- Dennis Zanetti -- Faizal Andyka -- Aleksander Figiel +- Matt Sencenbaugh +- Jaeyoung Lee +- David Kaplan +- David Ang +- Wakana Seki +- Jere Sjöroos +- Donald Fischer +- Eric +- Marcos Moura +- tyler madsen +- Joe Gregory +- Masahiro Tanaka +- Guilherme S L de Souza +- Tyler +- IMGNRY +- Jim Raden +- Haim Yulzari +- Anthony Estebe +- Asaf Yishai +- Jon Hobbs-Smith +- Pierre Vanhulst +- Zoran Knezevic +- Luiz +- Bernhard E. Reiter +- Guy Gavergun +- Matt Jones +- Niannian Modisette +- Matsumoto Takamasa +- Barbara Liau +- Wen-Tien Chang +- Stephen Michael Hartley +- Victor Tolbert +- Lars Andreas Ness +- Benjamin Listwon +- Keisuke Kita

Backers via OpenCollective

From 0d223a360414c65d47c02f46511994b1ba4cde61 Mon Sep 17 00:00:00 2001 From: vue-bot Date: Thu, 1 Apr 2021 20:20:16 +0200 Subject: [PATCH 670/740] chore: update sponsors [ci skip] (#11997) Co-authored-by: Evan You --- BACKERS.md | 23 ++++++++--------------- README.md | 23 ++++++++--------------- 2 files changed, 16 insertions(+), 30 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index 44663bd92d5..f43dc12fec4 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -118,23 +118,18 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu
- - - - - - - + + @@ -160,13 +155,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -192,13 +187,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -224,13 +219,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -256,8 +251,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - diff --git a/README.md b/README.md index 64f795e8971..37cfff3eeee 100644 --- a/README.md +++ b/README.md @@ -123,23 +123,18 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - - - - - - + + @@ -165,13 +160,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -197,13 +192,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -229,13 +224,13 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - + + @@ -261,8 +256,6 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - - From 6ec33f70d9949ec4dd02d7fa5af1f6b84021cb5b Mon Sep 17 00:00:00 2001 From: vue-bot Date: Tue, 6 Apr 2021 00:15:27 +0200 Subject: [PATCH 671/740] chore: update backers [ci skip] (#12004) --- BACKERS.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/BACKERS.md b/BACKERS.md index f43dc12fec4..24086cf207b 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -408,7 +408,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Sara McVey -- Роман Латкин +- Keisuke Kita - Alex Riviere - Thomas Sittig - WhereJuly @@ -444,7 +444,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Shawn Wildermuth - Andrew Willis - Elon Hung -- Chris Calo +- Роман Латкин - Juan Bermudez - Hannes Kochniß - Daniel Mattingley @@ -456,11 +456,9 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Jere Sjöroos - Donald Fischer - Eric -- Marcos Moura - tyler madsen - Joe Gregory - Masahiro Tanaka -- Guilherme S L de Souza - Tyler - IMGNRY - Jim Raden @@ -482,7 +480,7 @@ Funds donated via Patreon go directly to support Evan You's full-time work on Vu - Victor Tolbert - Lars Andreas Ness - Benjamin Listwon -- Keisuke Kita +- Chris Calo

Backers via OpenCollective

From 5c459f0fd6911daca09ad205aecf5423a9d05698 Mon Sep 17 00:00:00 2001 From: Zen Date: Wed, 7 Apr 2021 17:37:53 +0800 Subject: [PATCH 672/740] fix(types): allow symbol & boolean for vnode key (#11914) --- types/vnode.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vnode.d.ts b/types/vnode.d.ts index 04b058cba4c..997980ce0b8 100644 --- a/types/vnode.d.ts +++ b/types/vnode.d.ts @@ -20,7 +20,7 @@ export interface VNode { elm?: Node; ns?: string; context?: Vue; - key?: string | number; + key?: string | number | symbol | boolean; componentOptions?: VNodeComponentOptions; componentInstance?: Vue; parent?: VNode; From 0603ff695d2f41286239298210113cbe2b209e28 Mon Sep 17 00:00:00 2001 From: zrh122 <46116414+zrh122@users.noreply.github.com> Date: Wed, 7 Apr 2021 20:38:13 +0800 Subject: [PATCH 673/740] fix(warns): modify `maybeComponent` function in parser (#10167) fixes #10152 --- src/compiler/parser/index.js | 8 ++++++-- test/unit/modules/compiler/parser.spec.js | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index d727f8dd4d1..c4753e12996 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -86,8 +86,12 @@ export function parse ( platformMustUseProp = options.mustUseProp || no platformGetTagNamespace = options.getTagNamespace || no const isReservedTag = options.isReservedTag || no - maybeComponent = (el: ASTElement) => !!el.component || !isReservedTag(el.tag) - + maybeComponent = (el: ASTElement) => !!( + el.component || + el.attrsMap[':is'] || + el.attrsMap['v-bind:is'] || + !(el.attrsMap.is ? isReservedTag(el.attrsMap.is) : isReservedTag(el.tag)) + ) transforms = pluckModuleFunction(options.modules, 'transformNode') preTransforms = pluckModuleFunction(options.modules, 'preTransformNode') postTransforms = pluckModuleFunction(options.modules, 'postTransformNode') diff --git a/test/unit/modules/compiler/parser.spec.js b/test/unit/modules/compiler/parser.spec.js index c0b01e45364..b47de581396 100644 --- a/test/unit/modules/compiler/parser.spec.js +++ b/test/unit/modules/compiler/parser.spec.js @@ -909,4 +909,20 @@ describe('parser', () => { expect(ast.children[2].type).toBe(3) expect(ast.children[2].text).toBe('\ndef') }) + + // #10152 + it('not warn when scoped slot used inside of dynamic component on regular element', () => { + parse(` +
+
+
+
+
+ `, baseOptions) + expect('v-slot can only be used on components or