From 54f860d63fb4bf7d664fdaae74c5678262c715a7 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 25 Jun 2015 10:51:52 -0400 Subject: [PATCH] [release] 0.12.2 --- component.json | 2 +- dist/vue.js | 823 +++++++++++++++++++++++++++++------------------- dist/vue.min.js | 8 +- package.json | 2 +- 4 files changed, 507 insertions(+), 328 deletions(-) diff --git a/component.json b/component.json index d9c7179ee41..b1a581226c4 100644 --- a/component.json +++ b/component.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "0.12.1", + "version": "0.12.2", "main": "src/vue.js", "author": "Evan You ", "description": "Simple, Fast & Composable MVVM for building interative interfaces", diff --git a/dist/vue.js b/dist/vue.js index 391309c48c3..d6bd2e38f50 100644 --- a/dist/vue.js +++ b/dist/vue.js @@ -1,5 +1,5 @@ /** - * Vue.js v0.12.1 + * Vue.js v0.12.2 * (c) 2015 Evan You * Released under the MIT License. */ @@ -97,13 +97,13 @@ return /******/ (function(modules) { // webpackBootstrap */ Vue.options = { + replace: true, directives: __webpack_require__(27), - filters: __webpack_require__(49), + elementDirectives: __webpack_require__(49), + filters: __webpack_require__(52), transitions: {}, components: {}, - elementDirectives: { - content: __webpack_require__(51) - } + partials: {} } /** @@ -132,24 +132,25 @@ return /******/ (function(modules) { // webpackBootstrap * Mixin internal instance methods */ - extend(p, __webpack_require__(52)) - extend(p, __webpack_require__(53)) extend(p, __webpack_require__(54)) extend(p, __webpack_require__(55)) + extend(p, __webpack_require__(56)) extend(p, __webpack_require__(57)) + extend(p, __webpack_require__(59)) /** * Mixin public API methods */ - extend(p, __webpack_require__(58)) - extend(p, __webpack_require__(59)) extend(p, __webpack_require__(60)) extend(p, __webpack_require__(61)) extend(p, __webpack_require__(62)) + extend(p, __webpack_require__(63)) + extend(p, __webpack_require__(64)) module.exports = _.Vue = Vue + /***/ }, /* 1 */ /***/ function(module, exports, __webpack_require__) { @@ -247,13 +248,12 @@ return /******/ (function(modules) { // webpackBootstrap * * @param {Element} el * @param {Object} options + * @param {Boolean} hasAttrs * @return {String|undefined} */ - var commonTagRE = /^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|code|pre)$/ - var tableElementsRE = /^caption|colgroup|thead|tfoot|tbody|tr|td|th$/ - - exports.checkComponent = function (el, options) { + exports.commonTagRE = /^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|code|pre)$/ + exports.checkComponent = function (el, options, hasAttrs) { var tag = el.tagName.toLowerCase() if (tag === 'component') { // dynamic syntax @@ -261,12 +261,12 @@ return /******/ (function(modules) { // webpackBootstrap el.removeAttribute('is') return exp } else if ( - !commonTagRE.test(tag) && + !exports.commonTagRE.test(tag) && _.resolveAsset(options, 'components', tag) ) { return tag } else if ( - tableElementsRE.test(tag) && + hasAttrs && (tag = _.attr(el, 'component')) ) { return tag @@ -389,7 +389,13 @@ return /******/ (function(modules) { // webpackBootstrap ONE_WAY: 0, TWO_WAY: 1, ONE_TIME: 2 - } + }, + + /** + * Max circular updates allowed in a batcher flush cycle. + */ + + _maxUpdateCount: 100 } @@ -591,7 +597,7 @@ return /******/ (function(modules) { // webpackBootstrap */ exports.isObject = function (obj) { - return obj && typeof obj === 'object' + return obj !== null && typeof obj === 'object' } /** @@ -614,9 +620,7 @@ return /******/ (function(modules) { // webpackBootstrap * @return {Boolean} */ - exports.isArray = function (obj) { - return Array.isArray(obj) - } + exports.isArray = Array.isArray /** * Define a non-enumerable property @@ -982,6 +986,8 @@ return /******/ (function(modules) { // webpackBootstrap el = el.content } if (el.hasChildNodes()) { + trim(el, el.firstChild) + trim(el, el.lastChild) rawContent = asFragment ? document.createDocumentFragment() : document.createElement('div') @@ -993,6 +999,12 @@ return /******/ (function(modules) { // webpackBootstrap return rawContent } + function trim (content, node) { + if (node && node.nodeType === 3 && !node.data.trim()) { + content.removeChild(node) + } + } + /** * Check if an element is a template tag. * Note if the template appears inside an SVG its tagName @@ -1006,6 +1018,7 @@ return /******/ (function(modules) { // webpackBootstrap el.tagName.toLowerCase() === 'template' } + /***/ }, /* 7 */ /***/ function(module, exports, __webpack_require__) { @@ -1060,13 +1073,6 @@ return /******/ (function(modules) { // webpackBootstrap exports.assertAsset = function (val, type, id) { /* istanbul ignore if */ if (type === 'directive') { - if (id === 'component') { - exports.warn( - 'v-component can only be used on table elements ' + - 'in ^0.12.0. Use custom element syntax instead.' - ) - return - } if (id === 'with') { exports.warn( 'v-with has been deprecated in ^0.12.0. ' + @@ -1088,6 +1094,7 @@ return /******/ (function(modules) { // webpackBootstrap } } + /***/ }, /* 8 */ /***/ function(module, exports, __webpack_require__) { @@ -1159,18 +1166,20 @@ return /******/ (function(modules) { // webpackBootstrap parentVal.call(this) ) } - } else { - // instance merge, return raw object - var instanceData = typeof childVal === 'function' - ? childVal.call(vm) - : childVal - var defaultData = typeof parentVal === 'function' - ? parentVal.call(vm) - : undefined - if (instanceData) { - return mergeData(instanceData, defaultData) - } else { - return defaultData + } else if (parentVal || childVal) { + return function mergedInstanceDataFn () { + // instance merge + var instanceData = typeof childVal === 'function' + ? childVal.call(vm) + : childVal + var defaultData = typeof parentVal === 'function' + ? parentVal.call(vm) + : undefined + if (instanceData) { + return mergeData(instanceData, defaultData) + } else { + return defaultData + } } } } @@ -1241,6 +1250,7 @@ return /******/ (function(modules) { // webpackBootstrap strats.filters = strats.transitions = strats.components = + strats.partials = strats.elementDirectives = function (parentVal, childVal) { var res = Object.create(parentVal) return childVal @@ -1308,6 +1318,12 @@ return /******/ (function(modules) { // webpackBootstrap if (components) { var def for (var key in components) { + if (_.commonTagRE.test(key)) { + _.warn( + 'Do not use built-in HTML elements as component ' + + 'name: ' + key + ) + } def = components[key] if (_.isPlainObject(def)) { def.name = key @@ -1371,6 +1387,7 @@ return /******/ (function(modules) { // webpackBootstrap return asset } + /***/ }, /* 9 */ /***/ function(module, exports, __webpack_require__) { @@ -1596,17 +1613,8 @@ return /******/ (function(modules) { // webpackBootstrap if (nodeLinkFn) nodeLinkFn(vm, el, host) if (childLinkFn) childLinkFn(vm, childNodes, host) }, vm) - - /** - * The linker function returns an unlink function that - * tearsdown all directives instances generated during - * the process. - * - * @param {Boolean} destroying - */ - return function unlink (destroying) { - teardownDirs(vm, dirs, destroying) - } + // + return makeUnlinkFn(vm, dirs) } } @@ -1624,6 +1632,30 @@ return /******/ (function(modules) { // webpackBootstrap return vm._directives.slice(originalDirCount) } + /** + * Linker functions return an unlink function that + * tearsdown all directives instances generated during + * the process. + * + * We create unlink functions with only the necessary + * information to avoid retaining additional closures. + * + * @param {Vue} vm + * @param {Array} dirs + * @param {Vue} [parent] + * @param {Array} [parentDirs] + * @return {Function} + */ + + function makeUnlinkFn (vm, dirs, parent, parentDirs) { + return function unlink (destroying) { + teardownDirs(vm, dirs, destroying) + if (parent && parentDirs) { + teardownDirs(parent, parentDirs) + } + } + } + /** * Teardown partial linked directives. * @@ -1633,7 +1665,6 @@ return /******/ (function(modules) { // webpackBootstrap */ function teardownDirs (vm, dirs, destroying) { - if (!dirs) return var i = dirs.length while (i--) { dirs[i]._teardown() @@ -1644,16 +1675,30 @@ return /******/ (function(modules) { // webpackBootstrap } /** - * Compile the root element of an instance. There are - * 3 types of things to process here: + * Compile link props on an instance. * - * 1. props on parent container (child scope) - * 2. other attrs on parent container (parent scope) - * 3. attrs on the component template root node, if + * @param {Vue} vm + * @param {Element} el + * @param {Object} options + * @return {Function} + */ + + exports.compileAndLinkProps = function (vm, el, props) { + var propsLinkFn = compileProps(el, props) + var propDirs = linkAndCapture(function () { + propsLinkFn(vm, null) + }, vm) + return makeUnlinkFn(vm, propDirs) + } + + /** + * Compile the root element of an instance. + * + * 1. attrs on parent container (parent scope) + * 2. attrs on the component template root node, if * replace:true (child scope) * - * Also, if this is a block instance, we only need to - * compile 1 & 2 here. + * If this is a block instance, we only need to compile 1. * * This function does compile and link at the same time, * since root linkers can not be reused. It returns the @@ -1669,13 +1714,7 @@ return /******/ (function(modules) { // webpackBootstrap exports.compileAndLinkRoot = function (vm, el, options) { var containerAttrs = options._containerAttrs var replacerAttrs = options._replacerAttrs - var props = options.props - var propsLinkFn, parentLinkFn, replacerLinkFn - - // 1. props - propsLinkFn = props - ? compileProps(el, containerAttrs || {}, props) - : null + var parentLinkFn, replacerLinkFn // only need to compile other attributes for // non-block instances @@ -1708,16 +1747,12 @@ return /******/ (function(modules) { // webpackBootstrap // link self var selfDirs = linkAndCapture(function () { - if (propsLinkFn) propsLinkFn(vm, null) if (replacerLinkFn) replacerLinkFn(vm, el) }, vm) // return the unlink function that tearsdown parent // container directives. - return function rootUnlinkFn () { - teardownDirs(parent, parentDirs) - teardownDirs(vm, selfDirs) - } + return makeUnlinkFn(vm, selfDirs, parent, parentDirs) } /** @@ -1758,7 +1793,7 @@ return /******/ (function(modules) { // webpackBootstrap } // check component if (!linkFn) { - linkFn = checkComponent(el, options) + linkFn = checkComponent(el, options, hasAttrs) } // normal directives if (!linkFn && hasAttrs) { @@ -1926,17 +1961,16 @@ return /******/ (function(modules) { // webpackBootstrap * a props link function. * * @param {Element|DocumentFragment} el - * @param {Object} attrs * @param {Array} propDescriptors * @return {Function} propsLinkFn */ var dataAttrRE = /^data-/ var settablePathRE = /^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/ - var literalValueRE = /^(true|false)$|\d.*/ + var literalValueRE = /^(true|false)$|^\d.*/ var identRE = __webpack_require__(23).identRE - function compileProps (el, attrs, propDescriptors) { + function compileProps (el, propDescriptors) { var props = [] var i = propDescriptors.length var descriptor, name, assertions, value, path, prop, literal, single @@ -1969,24 +2003,24 @@ return /******/ (function(modules) { // webpackBootstrap 'must be valid identifiers.' ) } - value = attrs[name] - /* jshint eqeqeq:false */ - if (value != null) { - prop = { - name: name, - raw: value, - path: path, - assertions: assertions, - mode: propBindingModes.ONE_WAY - } + value = el.getAttribute(name) + // create a prop descriptor + prop = { + name: name, + raw: value, + path: path, + assertions: assertions, + mode: propBindingModes.ONE_WAY + } + if (value !== null) { + // important so that this doesn't get compiled + // again as a normal attribute binding + el.removeAttribute(name) var tokens = textParser.parse(value) if (tokens) { if (el && el.nodeType === 1) { el.removeAttribute(name) } - // important so that this doesn't get compiled - // again as a normal attribute binding - attrs[name] = null prop.dynamic = true prop.parentPath = textParser.tokensToExp(tokens) // check prop binding type. @@ -2009,12 +2043,10 @@ return /******/ (function(modules) { // webpackBootstrap } } } - props.push(prop) } else if (assertions && assertions.required) { - _.warn( - 'Missing required prop: ' + name - ) + _.warn('Missing required prop: ' + name) } + props.push(prop) } return makePropsLinkFn(props) } @@ -2033,13 +2065,17 @@ return /******/ (function(modules) { // webpackBootstrap while (i--) { prop = props[i] path = prop.path - if (prop.dynamic) { + if (prop.raw === null) { + // initialize undefined prop + vm._data[path] = undefined + } else if (prop.dynamic) { + // dynamic prop if (vm.$parent) { if (prop.mode === propBindingModes.ONE_TIME) { // one time binding value = vm.$parent.$get(prop.parentPath) if (_.assertProp(prop, value)) { - vm.$set(path, value) + vm[path] = vm._data[path] = value } } else { // dynamic binding @@ -2056,7 +2092,7 @@ return /******/ (function(modules) { // webpackBootstrap // literal, cast it and just set once value = _.toBoolean(_.toNumber(prop.raw)) if (_.assertProp(prop, value)) { - vm.$set(path, value) + vm[path] = vm._data[path] = value } } } @@ -2085,11 +2121,12 @@ return /******/ (function(modules) { // webpackBootstrap * * @param {Element} el * @param {Object} options + * @param {Boolean} hasAttrs * @return {Function|undefined} */ - function checkComponent (el, options) { - var componentId = _.checkComponent(el, options) + function checkComponent (el, options, hasAttrs) { + var componentId = _.checkComponent(el, options, hasAttrs) if (componentId) { var componentLinkFn = function (vm, el, host) { vm._bindDir('component', el, { @@ -2174,7 +2211,6 @@ return /******/ (function(modules) { // webpackBootstrap attr = attrs[i] name = attr.name value = attr.value - if (value === null) continue if (name.indexOf(config.prefix) === 0) { dirName = name.slice(config.prefix.length) dirDef = resolveAsset(options, 'directives', dirName) @@ -3047,6 +3083,11 @@ return /******/ (function(modules) { // webpackBootstrap /* 16 */ /***/ function(module, exports, __webpack_require__) { + // NOTE: the prop internal directive is compiled and linked + // during _initScope(), before the created hook is called. + // The purpose is to make the initial prop values available + // inside `created` hooks and `data` functions. + var _ = __webpack_require__(1) var Watcher = __webpack_require__(17) var bindingModes = __webpack_require__(3)._propBindingModes @@ -3066,46 +3107,55 @@ return /******/ (function(modules) { // webpackBootstrap // without this it would stabilize too, but this makes // sure it doesn't cause other watchers to re-evaluate. var locked = false + function withLock (fn) { + return function (val) { + if (!locked) { + locked = true + fn(val) + _.nextTick(function () { + locked = false + }) + } + } + } this.parentWatcher = new Watcher( parent, parentKey, - function (val) { - if (!locked) { - locked = true - // all props have been initialized already - if (_.assertProp(prop, val)) { - child[childKey] = val - } - locked = false + withLock(function (val) { + if (_.assertProp(prop, val)) { + child[childKey] = val } - }, - { sync: true } + }) ) - - // set the child initial value first, before setting - // up the child watcher to avoid triggering it - // immediately. + + // set the child initial value. + // !!! We need to set it also on raw data here, because + // props are initialized before data is fully observed var value = this.parentWatcher.value if (_.assertProp(prop, value)) { - child.$set(childKey, value) + if (childKey === '$data') { + child._data = value + } else { + child[childKey] = child._data[childKey] = value + } } // only setup two-way binding if this is not a one-way // binding. if (prop.mode === bindingModes.TWO_WAY) { - this.childWatcher = new Watcher( - child, - childKey, - function (val) { - if (!locked) { - locked = true - parent.$set(parentKey, val) - locked = false - } - }, - { sync: true } - ) + // important: defer the child watcher creation until + // the created hook (after data observation) + var self = this + child.$once('hook:created', function () { + self.childWatcher = new Watcher( + child, + childKey, + withLock(function (val) { + parent[parentKey] = val + }) + ) + }) } }, @@ -3144,7 +3194,6 @@ return /******/ (function(modules) { // webpackBootstrap * - {Boolean} twoWay * - {Boolean} deep * - {Boolean} user - * - {Boolean} sync * - {Function} [preProcess] * @constructor */ @@ -3161,7 +3210,6 @@ return /******/ (function(modules) { // webpackBootstrap this.deep = !!options.deep this.user = !!options.user this.twoWay = !!options.twoWay - this.sync = !!options.sync this.filters = options.filters this.preProcess = options.preProcess this.deps = [] @@ -3214,7 +3262,11 @@ return /******/ (function(modules) { // webpackBootstrap if (config.warnExpressionErrors) { _.warn( 'Error when evaluating expression "' + - this.expression + '"', e + this.expression + '". ' + + (config.debug + ? '' : + 'Turn on debug mode to see stack trace.' + ), e ) } } @@ -3288,7 +3340,7 @@ return /******/ (function(modules) { // webpackBootstrap */ p.update = function () { - if (this.sync || !config.async) { + if (!config.async) { this.run() } else { batcher.push(this) @@ -3305,7 +3357,7 @@ return /******/ (function(modules) { // webpackBootstrap var value = this.get() if ( value !== this.value || - Array.isArray(value) || + _.isArray(value) || this.deep ) { var oldValue = this.value @@ -4222,16 +4274,16 @@ return /******/ (function(modules) { // webpackBootstrap /** * Determine the type of a character in a keypath. * - * @param {Char} char + * @param {Char} ch * @return {String} type */ - function getPathCharType (char) { - if (char === undefined) { + function getPathCharType (ch) { + if (ch === undefined) { return 'eof' } - var code = char.charCodeAt(0) + var code = ch.charCodeAt(0) switch(code) { case 0x5B: // [ @@ -4240,7 +4292,7 @@ return /******/ (function(modules) { // webpackBootstrap case 0x22: // " case 0x27: // ' case 0x30: // 0 - return char + return ch case 0x5F: // _ case 0x24: // $ @@ -4470,7 +4522,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) - var MAX_UPDATE_COUNT = 10 + var config = __webpack_require__(3) // we have two separate queues: one for directive updates // and one for user watcher registered via $watch(). @@ -4541,7 +4593,7 @@ return /******/ (function(modules) { // webpackBootstrap } else { has[id]++ // detect possible infinite update loops - if (has[id] > MAX_UPDATE_COUNT) { + if (has[id] > config._maxUpdateCount) { _.warn( 'You may have an infinite update loop for the ' + 'watcher with expression: "' + job.expression + '".' @@ -4565,6 +4617,7 @@ return /******/ (function(modules) { // webpackBootstrap } } + /***/ }, /* 25 */ /***/ function(module, exports, __webpack_require__) { @@ -4597,6 +4650,8 @@ return /******/ (function(modules) { // webpackBootstrap // we simply remove it from the DOM and save it in a // cache object, with its constructor id as the key. this.keepAlive = this._checkParam('keep-alive') != null + // wait for event before insertion + this.readyEvent = this._checkParam('wait-for') // check ref this.refID = _.attr(this.el, 'ref') if (this.keepAlive) { @@ -4613,24 +4668,38 @@ return /******/ (function(modules) { // webpackBootstrap this.Ctor = null // if static, build right now. if (!this._isDynamicLiteral) { - this.resolveCtor(this.expression, _.bind(function () { - var child = this.build() - child.$before(this.anchor) - this.setCurrent(child) - }, this)) + this.resolveCtor(this.expression, _.bind(this.initStatic, this)) } else { // check dynamic component params - this.readyEvent = this._checkParam('wait-for') this.transMode = this._checkParam('transition-mode') } } else { _.warn( - 'v-component="' + this.expression + '" cannot be ' + - 'used on an already mounted instance.' + 'Do not create a component that only contains ' + + 'a single other component - they will be mounted to ' + + 'the same element and cause conflict. Wrap it with ' + + 'an outer element.' ) } }, + /** + * Initialize a static component. + */ + + initStatic: function () { + var child = this.build() + var anchor = this.anchor + this.setCurrent(child) + if (!this.readyEvent) { + child.$before(anchor) + } else { + child.$once(this.readyEvent, function () { + child.$before(anchor) + }) + } + }, + /** * Public update, called by the watcher in the dynamic * literal scenario, e.g. v-component="{{view}}" @@ -4849,7 +4918,6 @@ return /******/ (function(modules) { // webpackBootstrap this.cache = null } } - } @@ -4922,13 +4990,18 @@ return /******/ (function(modules) { // webpackBootstrap _.warn('Invalid template option: ' + template) } else { var replacer = frag.firstChild + var tag = replacer.tagName && replacer.tagName.toLowerCase() if (options.replace) { if ( + // multi-children template frag.childNodes.length > 1 || + // non-element template replacer.nodeType !== 1 || - // when root node has v-repeat, the instance ends up - // having multiple top-level nodes, thus becoming a - // block instance. (#835) + // when root node is , or has + // v-repeat, the instance could end up having + // multiple top-level nodes, thus becoming a block + // instance. + tag === 'content' || tag === 'partial' || replacer.hasAttribute(config.prefix + 'repeat') ) { return frag @@ -6821,7 +6894,7 @@ return /******/ (function(modules) { // webpackBootstrap // is this a component? _asComponent: this.asComponent, // linker cachable if no inline-template - _linkerCachable: !this.inlineTemplate, + _linkerCachable: !this.inlineTemplate && Ctor !== _.Vue, // transclusion host _host: this._host, // pre-compiled linker for simple repeats @@ -6965,7 +7038,9 @@ return /******/ (function(modules) { // webpackBootstrap var data = vm._raw var idKey = this.idKey var index = vm.$index - var key = vm.$key + // fix #948: avoid accidentally fall through to + // a parent repeater which happens to have $key. + var key = vm.hasOwnProperty('$key') && vm.$key var primitive = !isObject(data) if (idKey || key || primitive) { var id = idKey @@ -7219,7 +7294,7 @@ return /******/ (function(modules) { // webpackBootstrap this.invalid = true _.warn( 'v-if="' + this.expression + '" cannot be ' + - 'used on an already mounted instance.' + 'used on an instance root element.' ) } }, @@ -7230,19 +7305,19 @@ return /******/ (function(modules) { // webpackBootstrap // avoid duplicate compiles, since update() can be // called with different truthy values if (!this.unlink) { - this.compile() + this.link( + templateParser.clone(this.template), + this.linker + ) } } else { this.teardown() } }, - compile: function () { + link: function (frag, linker) { var vm = this.vm - var frag = templateParser.clone(this.template) - // the linker is not guaranteed to be present because - // this function might get called by v-partial - this.unlink = this.linker(vm, frag) + this.unlink = linker(vm, frag) transition.blockAppend(frag, this.end, vm) // call attached for all the child components created // during the compilation @@ -7317,8 +7392,211 @@ return /******/ (function(modules) { // webpackBootstrap } } + /***/ }, /* 49 */ +/***/ function(module, exports, __webpack_require__) { + + exports.content = __webpack_require__(50) + exports.partial = __webpack_require__(51) + + +/***/ }, +/* 50 */ +/***/ function(module, exports, __webpack_require__) { + + var _ = __webpack_require__(1) + + // This is the elementDirective that handles + // transclusions. It relies on the raw content of an + // instance being stored as `$options._content` during + // the transclude phase. + + module.exports = { + + bind: function () { + var vm = this.vm + var contentOwner = vm + // we need find the content owner, which is the closest + // non-inline-repeater instance. + while (contentOwner.$options._repeat) { + contentOwner = contentOwner.$parent + } + var raw = contentOwner.$options._content + var content + if (!raw) { + this.fallback() + return + } + var parent = contentOwner.$parent + var selector = this.el.getAttribute('select') + if (!selector) { + // Default content + var self = this + var compileDefaultContent = function () { + self.compile( + extractFragment(raw.childNodes, raw, true), + contentOwner.$parent, + vm + ) + } + if (!contentOwner._isCompiled) { + // defer until the end of instance compilation, + // because the default outlet must wait until all + // other possible outlets with selectors have picked + // out their contents. + contentOwner.$once('hook:compiled', compileDefaultContent) + } else { + compileDefaultContent() + } + } else { + // select content + selector = vm.$interpolate(selector) + var nodes = raw.querySelectorAll(selector) + if (nodes.length) { + content = extractFragment(nodes, raw) + if (content.hasChildNodes()) { + this.compile(content, parent, vm) + } else { + this.fallback() + } + } else { + this.fallback() + } + } + }, + + fallback: function () { + this.compile(_.extractContent(this.el, true), this.vm) + }, + + compile: function (content, owner, host) { + if (content && owner) { + this.unlink = owner.$compile(content, host) + } + if (content) { + _.replace(this.el, content) + } else { + _.remove(this.el) + } + }, + + unbind: function () { + if (this.unlink) { + this.unlink() + } + } + } + + /** + * Extract qualified content nodes from a node list. + * + * @param {NodeList} nodes + * @param {Element} parent + * @param {Boolean} main + * @return {DocumentFragment} + */ + + function extractFragment (nodes, parent, main) { + var frag = document.createDocumentFragment() + for (var i = 0, l = nodes.length; i < l; i++) { + var node = nodes[i] + // if this is the main outlet, we want to skip all + // previously selected nodes; + // otherwise, we want to mark the node as selected. + // clone the node so the original raw content remains + // intact. this ensures proper re-compilation in cases + // where the outlet is inside a conditional block + if (main && !node.__v_selected) { + frag.appendChild(node.cloneNode(true)) + } else if (!main && node.parentNode === parent) { + node.__v_selected = true + frag.appendChild(node.cloneNode(true)) + } + } + return frag + } + + +/***/ }, +/* 51 */ +/***/ function(module, exports, __webpack_require__) { + + var _ = __webpack_require__(1) + var templateParser = __webpack_require__(12) + var textParser = __webpack_require__(14) + var compiler = __webpack_require__(10) + var Cache = __webpack_require__(13) + var cache = new Cache(1000) + + // v-partial reuses logic from v-if + var vIf = __webpack_require__(48) + + module.exports = { + + link: vIf.link, + teardown: vIf.teardown, + getContainedComponents: vIf.getContainedComponents, + + bind: function () { + var el = this.el + this.start = _.createAnchor('v-partial-start') + this.end = _.createAnchor('v-partial-end') + _.replace(el, this.end) + _.before(this.start, this.end) + var id = el.getAttribute('name') + var tokens = textParser.parse(id) + if (tokens) { + // dynamic partial + this.setupDynamic(tokens) + } else { + // static partial + this.insert(id) + } + }, + + setupDynamic: function (tokens) { + var self = this + var exp = textParser.tokensToExp(tokens) + this.unwatch = this.vm.$watch(exp, function (value) { + self.teardown() + self.insert(value) + }, { + immediate: true, + user: false + }) + }, + + insert: function (id) { + var partial = this.vm.$options.partials[id] + _.assertAsset(partial, 'partial', id) + if (partial) { + var frag = templateParser.parse(partial, true) + // cache partials based on constructor id. + var cacheId = (this.vm.constructor.cid || '') + partial + var linker = this.compile(frag, cacheId) + // this is provided by v-if + this.link(frag, linker) + } + }, + + compile: function (frag, cacheId) { + var hit = cache.get(cacheId) + if (hit) return hit + var linker = compiler.compile(frag, this.vm.$options, true) + cache.put(cacheId, linker) + return linker + }, + + unbind: function () { + if (this.unlink) this.unlink() + if (this.unwatch) this.unwatch() + } + } + + +/***/ }, +/* 52 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -7381,20 +7659,21 @@ return /******/ (function(modules) { // webpackBootstrap */ var digitsRE = /(\d{3})(?=\d)/g - - exports.currency = function (value, sign) { + exports.currency = function (value, currency) { value = parseFloat(value) if (!isFinite(value) || (!value && value !== 0)) return '' - sign = sign || '$' - var s = Math.floor(Math.abs(value)).toString(), - i = s.length % 3, - h = i > 0 - ? (s.slice(0, i) + (s.length > 3 ? ',' : '')) - : '', - v = Math.abs(parseInt((value * 100) % 100, 10)), - f = '.' + (v < 10 ? ('0' + v) : v) - return (value < 0 ? '-' : '') + - sign + h + s.slice(i).replace(digitsRE, '$1,') + f + currency = currency || '$' + var stringified = Math.abs(value).toFixed(2) + var _int = stringified.slice(0, -3) + var i = _int.length % 3 + var head = i > 0 + ? (_int.slice(0, i) + (_int.length > 3 ? ',' : '')) + : '' + var _float = stringified.slice(-3) + var sign = value < 0 ? '-' : '' + return currency + sign + head + + _int.slice(i).replace(digitsRE, '$1,') + + _float } /** @@ -7456,11 +7735,11 @@ return /******/ (function(modules) { // webpackBootstrap * Install special array filters */ - _.extend(exports, __webpack_require__(50)) + _.extend(exports, __webpack_require__(53)) /***/ }, -/* 50 */ +/* 53 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -7552,124 +7831,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }, -/* 51 */ -/***/ function(module, exports, __webpack_require__) { - - var _ = __webpack_require__(1) - - // This is the elementDirective that handles - // transclusions. It relies on the raw content of an - // instance being stored as `$options._content` during - // the transclude phase. - - module.exports = { - - bind: function () { - var vm = this.vm - var contentOwner = vm - // we need find the content owner, which is the closest - // non-inline-repeater instance. - while (contentOwner.$options._repeat) { - contentOwner = contentOwner.$parent - } - var raw = contentOwner.$options._content - var content - if (!raw) { - this.fallback() - return - } - var parent = contentOwner.$parent - var selector = this.el.getAttribute('select') - if (!selector) { - // Default content - var self = this - var compileDefaultContent = function () { - self.compile( - extractFragment(raw.childNodes, raw, true), - contentOwner.$parent, - vm - ) - } - if (!contentOwner._isCompiled) { - // defer until the end of instance compilation, - // because the default outlet must wait until all - // other possible outlets with selectors have picked - // out their contents. - contentOwner.$once('hook:compiled', compileDefaultContent) - } else { - compileDefaultContent() - } - } else { - // select content - selector = vm.$interpolate(selector) - var nodes = raw.querySelectorAll(selector) - if (nodes.length) { - content = extractFragment(nodes, raw) - if (content.hasChildNodes()) { - this.compile(content, parent, vm) - } else { - this.fallback() - } - } else { - this.fallback() - } - } - }, - - fallback: function () { - this.compile(_.extractContent(this.el, true), this.vm) - }, - - compile: function (content, owner, host) { - if (content && owner) { - this.unlink = owner.$compile(content, host) - } - if (content) { - _.replace(this.el, content) - } else { - _.remove(this.el) - } - }, - - unbind: function () { - if (this.unlink) { - this.unlink() - } - } - } - - /** - * Extract qualified content nodes from a node list. - * - * @param {NodeList} nodes - * @param {Element} parent - * @param {Boolean} main - * @return {DocumentFragment} - */ - - function extractFragment (nodes, parent, main) { - var frag = document.createDocumentFragment() - for (var i = 0, l = nodes.length; i < l; i++) { - var node = nodes[i] - // if this is the main outlet, we want to skip all - // previously selected nodes; - // otherwise, we want to mark the node as selected. - // clone the node so the original raw content remains - // intact. this ensures proper re-compilation in cases - // where the outlet is inside a conditional block - if (main && !node.selected) { - frag.appendChild(node.cloneNode(true)) - } else if (!main && node.parentNode === parent) { - node.selected = true - frag.appendChild(node.cloneNode(true)) - } - } - return frag - } - - -/***/ }, -/* 52 */ +/* 54 */ /***/ function(module, exports, __webpack_require__) { var mergeOptions = __webpack_require__(1).mergeOptions @@ -7747,8 +7909,9 @@ return /******/ (function(modules) { // webpackBootstrap this ) - // set data after merge. - this._data = options.data || {} + // initialize data as empty object. + // it will be filled up in _initScope(). + this._data = {} // initialize data observation and scope inheritance. this._initScope() @@ -7767,7 +7930,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }, -/* 53 */ +/* 55 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -7910,10 +8073,11 @@ return /******/ (function(modules) { // webpackBootstrap } /***/ }, -/* 54 */ +/* 56 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) + var compiler = __webpack_require__(10) var Observer = __webpack_require__(18) var Dep = __webpack_require__(19) @@ -7927,10 +8091,10 @@ return /******/ (function(modules) { // webpackBootstrap exports._initScope = function () { this._initProps() + this._initMeta() + this._initMethods() this._initData() this._initComputed() - this._initMethods() - this._initMeta() } /** @@ -7938,24 +8102,19 @@ return /******/ (function(modules) { // webpackBootstrap */ exports._initProps = function () { - // make sure all props properties are observed - var data = this._data - var props = this.$options.props - var prop, key, i - if (props) { - i = props.length - while (i--) { - prop = props[i] - // props can be strings or object descriptors - key = _.camelize( - typeof prop === 'string' - ? prop - : prop.name + var options = this.$options + var el = options.el + var props = options.props + this._propsUnlinkFn = el && props + ? compiler.compileAndLinkProps( + this, el, props ) - if (!(key in data) && key !== '$data') { - data[key] = undefined - } - } + : null + if (props && !el) { + _.warn( + 'Props will not be compiled if no `el` option is ' + + 'provided at instantiation.' + ) } } @@ -7964,8 +8123,22 @@ return /******/ (function(modules) { // webpackBootstrap */ exports._initData = function () { - // proxy data on instance + var propsData = this._data + var optionsDataFn = this.$options.data + var optionsData = optionsDataFn && optionsDataFn() + if (optionsData) { + this._data = optionsData + for (var prop in propsData) { + if ( + !optionsData.hasOwnProperty(prop) || + propsData[prop] !== undefined + ) { + optionsData[prop] = propsData[prop] + } + } + } var data = this._data + // proxy data on instance var keys = Object.keys(data) var i, key i = keys.length @@ -8168,11 +8341,11 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }, -/* 55 */ +/* 57 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) - var Directive = __webpack_require__(56) + var Directive = __webpack_require__(58) var compiler = __webpack_require__(10) /** @@ -8312,6 +8485,10 @@ return /******/ (function(modules) { // webpackBootstrap while (i--) { this._children[i].$destroy() } + // teardown props + if (this._propsUnlinkFn) { + this._propsUnlinkFn() + } // teardown all directives. this also tearsdown all // directive-owned watchers. if (this._unlinkFn) { @@ -8360,8 +8537,9 @@ return /******/ (function(modules) { // webpackBootstrap this.$off() } + /***/ }, -/* 56 */ +/* 58 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -8586,7 +8764,7 @@ return /******/ (function(modules) { // webpackBootstrap module.exports = Directive /***/ }, -/* 57 */ +/* 59 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -8676,8 +8854,9 @@ return /******/ (function(modules) { // webpackBootstrap } } + /***/ }, -/* 58 */ +/* 60 */ /***/ function(module, exports, __webpack_require__) { var Watcher = __webpack_require__(17) @@ -8837,7 +9016,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }, -/* 59 */ +/* 61 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -9069,7 +9248,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }, -/* 60 */ +/* 62 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -9248,7 +9427,7 @@ return /******/ (function(modules) { // webpackBootstrap } /***/ }, -/* 61 */ +/* 63 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) @@ -9300,7 +9479,7 @@ return /******/ (function(modules) { // webpackBootstrap } /***/ }, -/* 62 */ +/* 64 */ /***/ function(module, exports, __webpack_require__) { var _ = __webpack_require__(1) diff --git a/dist/vue.min.js b/dist/vue.min.js index 3a77ab0f8fb..1ac667f1b1d 100644 --- a/dist/vue.min.js +++ b/dist/vue.min.js @@ -1,8 +1,8 @@ /** - * Vue.js v0.12.1 + * Vue.js v0.12.2 * (c) 2015 Evan You * Released under the MIT License. */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):"object"==typeof exports?exports.Vue=e():t.Vue=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){function i(t){this._init(t)}var r=n(1),s=r.extend;s(i,n(9)),i.options={directives:n(27),filters:n(49),transitions:{},components:{},elementDirectives:{content:n(51)}};var o=i.prototype;Object.defineProperty(o,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),s(o,n(52)),s(o,n(53)),s(o,n(54)),s(o,n(55)),s(o,n(57)),s(o,n(58)),s(o,n(59)),s(o,n(60)),s(o,n(61)),s(o,n(62)),t.exports=r.Vue=i},function(t,e,n){var i=n(4),r=i.extend;r(e,i),r(e,n(5)),r(e,n(6)),r(e,n(2)),r(e,n(7)),r(e,n(8))},function(t,e,n){var i=n(1),r=n(3);e.assertProp=function(t,e){var n=t.assertions;if(!n)return!0;var r,s=n.type,o=!0;if(s&&(s===String?(r="string",o=typeof e===r):s===Number?(r="number",o="number"==typeof e):s===Boolean?(r="boolean",o="boolean"==typeof e):s===Function?(r="function",o="function"==typeof e):s===Object?(r="object",o=i.isPlainObject(e)):s===Array?(r="array",o=i.isArray(e)):o=e instanceof s),!o)return!1;var a=n.validator;return a&&!a.call(null,e)?!1:!0};var s=/^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|code|pre)$/,o=/^caption|colgroup|thead|tfoot|tbody|tr|td|th$/;e.checkComponent=function(t,e){var n=t.tagName.toLowerCase();if("component"===n){var r=t.getAttribute("is");return t.removeAttribute("is"),r}return!s.test(n)&&i.resolveAsset(e,"components",n)?n:o.test(n)&&(n=i.attr(t,"component"))?n:void 0},e.createAnchor=function(t,e){return r.debug?document.createComment(t):document.createTextNode(e?" ":"")}},function(t,e,n){t.exports={prefix:"v-",debug:!1,silent:!1,proto:!0,interpolate:!0,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["directive","elementDirective","filter","transition"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2}};var i=["{{","}}"];Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(t){i=t,this._delimitersChanged=!0}})},function(t,e,n){function i(t,e){return e?e.toUpperCase():""}e.isReserved=function(t){var e=(t+"").charCodeAt(0);return 36===e||95===e},e.toString=function(t){return null==t?"":t.toString()},e.toNumber=function(t){return isNaN(t)||null===t||"boolean"==typeof t?t:Number(t)},e.toBoolean=function(t){return"true"===t?!0:"false"===t?!1:t},e.stripQuotes=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?!1:t.slice(1,-1)};var r=/-(\w)/g;e.camelize=function(t){return t.replace(r,i)};var s=/(?:^|[-_\/])(\w)/g;e.classify=function(t){return t.replace(s,i)},e.bind=function(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}},e.toArray=function(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i},e.extend=function(t,e){for(var n in e)t[n]=e[n];return t},e.isObject=function(t){return t&&"object"==typeof t};var o=Object.prototype.toString;e.isPlainObject=function(t){return"[object Object]"===o.call(t)},e.isArray=function(t){return Array.isArray(t)},e.define=function(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})},e.debounce=function(t,e){var n,i,r,s,o,a=function(){var h=Date.now()-s;e>h&&h>=0?n=setTimeout(a,e-h):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}},e.indexOf=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},e.cancellable=function(t){var e=function(){return e.cancelled?void 0:t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}},function(t,e,n){e.hasProto="__proto__"in{};var i=e.inBrowser="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window);if(e.isIE9=i&&navigator.userAgent.toLowerCase().indexOf("msie 9.0")>0,e.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!e.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,s=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;e.transitionProp=r?"WebkitTransition":"transition",e.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",e.animationProp=s?"WebkitAnimation":"animation",e.animationEndEvent=s?"webkitAnimationEnd":"animationend"}e.nextTick=function(){function t(){i=!1;var t=n.slice(0);n=[];for(var e=0;e=0;)n=n.replace(i," ");t.setAttribute("class",n.trim())}},e.extractContent=function(t,n){var i,r;if(e.isTemplate(t)&&t.content instanceof DocumentFragment&&(t=t.content),t.hasChildNodes())for(r=n?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)r.appendChild(i);return r},e.isTemplate=function(t){return t.tagName&&"template"===t.tagName.toLowerCase()}},function(t,e,n){n(3)},function(t,e,n){function i(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],t.hasOwnProperty(n)?s.isObject(r)&&s.isObject(o)&&i(r,o):t.$add(n,o);return t}function r(t){if(t){var e;for(var n in t)e=t[n],s.isPlainObject(e)&&(e.name=n,t[n]=s.Vue.extend(e))}}var s=n(1),o=s.extend,a=Object.create(null);a.data=function(t,e,n){if(n){var r="function"==typeof e?e.call(n):e,s="function"==typeof t?t.call(n):void 0;return r?i(r,s):s}return e?"function"!=typeof e?t:t?function(){return i(e.call(this),t.call(this))}:e:t},a.el=function(t,e,n){if(n||!e||"function"==typeof e){var i=e||t;return n&&"function"==typeof i?i.call(n):i}},a.created=a.ready=a.attached=a.detached=a.beforeCompile=a.compiled=a.beforeDestroy=a.destroyed=a.props=function(t,e){return e?t?t.concat(e):s.isArray(e)?e:[e]:t},a.paramAttributes=function(){},a.directives=a.filters=a.transitions=a.components=a.elementDirectives=function(t,e){var n=Object.create(t);return e?o(n,e):n},a.watch=a.events=function(t,e){if(!e)return t;if(!t)return e;var n={};o(n,t);for(var i in e){var r=n[i],a=e[i];r&&!s.isArray(r)&&(r=[r]),n[i]=r?r.concat(a):[a]}return n},a.methods=a.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(t);return o(n,e),n};var h=function(t,e){return void 0===e?t:e};e.mergeOptions=function c(t,e,n){function i(i){var r=a[i]||h;o[i]=r(t[i],e[i],n,i)}r(e.components);var s,o={};if(e.mixins)for(var l=0,u=e.mixins.length;u>l;l++)t=c(t,e.mixins[l],n);for(s in t)i(s);for(s in e)t.hasOwnProperty(s)||i(s);return o},e.resolveAsset=function(t,e,n){for(var i=t[e][n];!i&&t._parent;)t=t._parent.$options,i=t[e][n];return i}},function(t,e,n){function i(t){return new Function("return function "+s.classify(t)+" (options) { this._init(options) }")()}function r(t){o._assetTypes.forEach(function(e){t[e]=function(t,n){return n?void(this.options[e+"s"][t]=n):this.options[e+"s"][t]}}),t.component=function(t,e){return e?(s.isPlainObject(e)&&(e.name=t,e=s.Vue.extend(e)),void(this.options.components[t]=e)):this.options.components[t]}}var s=n(1),o=n(3);e.util=s,e.nextTick=s.nextTick,e.config=n(3),e.compiler=n(10),e.parsers={path:n(23),text:n(14),template:n(12),directive:n(15),expression:n(22)},e.cid=0;var a=1;e.extend=function(t){t=t||{};var e=this,n=i(t.name||e.options.name||"VueComponent");return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.cid=a++,n.options=s.mergeOptions(e.options,t),n["super"]=e,n.extend=e.extend,r(n),n},e.use=function(t){var e=s.toArray(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),this},r(e)},function(t,e,n){var i=n(1);i.extend(e,n(11)),i.extend(e,n(26))},function(t,e,n){function i(t,e){var n=e._directives.length;return t(),e._directives.slice(n)}function r(t,e,n){if(e)for(var i=e.length;i--;)e[i]._teardown(),n||t._directives.$remove(e[i])}function s(t,e){var n=t.nodeType;return 1===n&&"SCRIPT"!==t.tagName?o(t,e):3===n&&x.interpolate&&t.data.trim()?a(t,e):null}function o(t,e){var n=t.hasAttributes(),i=p(t,e);if(!i&&n&&(i=m(t,e)),i||(i=v(t,e)),!i&&n&&(i=b(t,e)),"TEXTAREA"===t.tagName){var r=i;i=function(t,e){e.value=t.$interpolate(e.value),r&&r(t,e)},i.terminal=!0}return i}function a(t,e){var n=A.parse(t.data);if(!n)return null;for(var i,r,s=document.createDocumentFragment(),o=0,a=n.length;a>o;o++)r=n[o],i=r.tag?h(r,e):document.createTextNode(r.value),s.appendChild(i);return c(n,s,e)}function h(t,e){function n(n){t.type=n,t.def=P(e,"directives",n),t.descriptor=E.parse(t.value)[0]}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function c(t,e){return function(n,i){for(var r,s,o,a=e.cloneNode(!0),h=w.toArray(a.childNodes),c=0,l=t.length;l>c;c++)r=t[c],s=r.value,r.tag&&(o=h[c],r.oneTime?(s=n.$eval(s),r.html?w.replace(o,T.parse(s,!0)):o.data=s):n._bindDir(r.type,o,r.descriptor,r.def));w.replace(i,a)}}function l(t,e){for(var n,i,r,o=[],a=0,h=t.length;h>a;a++)r=t[a],n=s(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:l(r.childNodes,e),o.push(n,i);return o.length?u(o):null}function u(t){return function(e,n,i){for(var r,s,o,a=0,h=0,c=t.length;c>a;h++){r=n[h],s=t[a++],o=t[a++];var l=w.toArray(r.childNodes);s&&s(e,r,i),o&&o(e,l,i)}}}function f(t,e,n){for(var i,r,s,o,a,h,c,l,u=[],f=n.length;f--;)if(i=n[f],"object"==typeof i?(r=i.name,s=i):(r=i,s=null),a=w.camelize(r.replace(j,"")),/[A-Z]/.test(r),!F.test(a),o=e[r],null!=o){h={name:r,raw:o,path:a,assertions:s,mode:D.ONE_WAY};var p=A.parse(o);p&&(t&&1===t.nodeType&&t.removeAttribute(r),e[r]=null,h.dynamic=!0,h.parentPath=A.tokensToExp(p),l=1===p.length,c=V.test(h.parentPath),c||l&&p[0].oneTime?h.mode=D.ONE_TIME:!c&&l&&p[0].twoWay&&I.test(h.parentPath)&&(h.mode=D.TWO_WAY)),u.push(h)}else s&&s.required;return d(u)}function d(t){return function(e,n){for(var i,r,s,o=t.length;o--;)i=t[o],r=i.path,i.dynamic?e.$parent&&(i.mode===D.ONE_TIME?(s=e.$parent.$get(i.parentPath),w.assertProp(i,s)&&e.$set(r,s)):e._bindDir("prop",n,i,O)):(s=w.toBoolean(w.toNumber(i.raw)),w.assertProp(i,s)&&e.$set(r,s))}}function p(t,e){var n=t.tagName.toLowerCase(),i=P(e,"elementDirectives",n);return i?g(t,n,"",e,i):void 0}function v(t,e){var n=w.checkComponent(t,e);if(n){var i=function(t,e,i){t._bindDir("component",e,{expression:n},N,i)};return i.terminal=!0,i}}function m(t,e){if(null!==w.attr(t,"pre"))return _;for(var n,i,r=0,s=S.length;s>r;r++)if(i=S[r],null!==(n=w.attr(t,i)))return g(t,i,n,e)}function _(){}function g(t,e,n,i,r){var s=E.parse(n)[0];r=r||i.directives[e];var o=function(t,n,i){t._bindDir(e,n,s,r,i)};return o.terminal=!0,o}function b(t,e){for(var n,i,r,s,o,a,h=w.isPlainObject(t)?y(t):t.attributes,c=h.length,l=[];c--;)n=h[c],i=n.name,r=n.value,null!==r&&(0===i.indexOf(x.prefix)?(o=i.slice(x.prefix.length),a=P(e,"directives",o),a&&l.push({name:o,descriptors:E.parse(r),def:a})):x.interpolate&&(s=$(i,r,e),s&&l.push(s)));return l.length?(l.sort(k),C(l)):void 0}function y(t){var e=[];for(var n in t)e.push({name:n,value:t[n]});return e}function C(t){return function(e,n,i){for(var r,s,o,a=t.length;a--;)if(r=t[a],r._link)r._link(e,n);else for(o=r.descriptors.length,s=0;o>s;s++)e._bindDir(r.name,n,r.descriptors[s],r.def,i)}}function $(t,e,n){var i=A.parse(e);if(i){for(var r=n.directives.attr,s=i.length,o=!0;s--;){var a=i[s];a.tag&&!a.oneTime&&(o=!1)}return{def:r,_link:o?function(n,i){i.setAttribute(t,n.$interpolate(e))}:function(e,n){var s=A.tokensToExp(i,e),o=E.parse(t+":"+s)[0];e._bindDir("attr",n,o,r)}}}}function k(t,e){return t=t.def.priority||0,e=e.def.priority||0,t>e?1:-1}var w=n(1),x=n(3),A=n(14),E=n(15),T=n(12),P=w.resolveAsset,D=x._propBindingModes,O=n(16),N=n(25),S=["repeat","if"];e.compile=function(t,e,n,o){var a=n||!e._asComponent?s(t,e):null,h=a&&a.terminal||"SCRIPT"===t.tagName||!t.hasChildNodes()?null:l(t.childNodes,e);return function(t,e){var n=w.toArray(e.childNodes),s=i(function(){a&&a(t,e,o),h&&h(t,n,o)},t);return function(e){r(t,s,e)}}},e.compileAndLinkRoot=function(t,e,n){var s,o,a,h=n._containerAttrs,c=n._replacerAttrs,l=n.props;s=l?f(e,h||{},l):null,11!==e.nodeType&&(n._asComponent?(h&&(o=b(h,n)),c&&(a=b(c,n))):a=b(e,n));var u,d=t.$parent;d&&o&&(u=i(function(){o(d,e)},d));var p=i(function(){s&&s(t,null),a&&a(t,e)},t);return function(){r(d,u),r(t,p)}};var j=/^data-/,I=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,V=/^(true|false)$|\d.*/,F=n(23).identRE;_.terminal=!0},function(t,e,n){function i(t){var e=a.get(t);if(e)return e;var n=document.createDocumentFragment(),i=t.match(l),r=u.test(t);if(i||r){var s=i&&i[1],o=c[s]||c._default,h=o[0],f=o[1],d=o[2],p=document.createElement("div");for(p.innerHTML=f+t.trim()+d;h--;)p=p.lastChild;for(var v;v=p.firstChild;)n.appendChild(v)}else n.appendChild(document.createTextNode(t));return a.put(t,n),n}function r(t){if(s.isTemplate(t)&&t.content instanceof DocumentFragment)return t.content;if("SCRIPT"===t.tagName)return i(t.textContent);for(var n,r=e.clone(t),o=document.createDocumentFragment();n=r.firstChild;)o.appendChild(n);return o}var s=n(1),o=n(13),a=new o(1e3),h=new o(1e3),c={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};c.td=c.th=[3,"","
"],c.option=c.optgroup=[1,'"],c.thead=c.tbody=c.colgroup=c.caption=c.tfoot=[1,"","
"],c.g=c.defs=c.symbol=c.use=c.image=c.text=c.circle=c.ellipse=c.line=c.path=c.polygon=c.polyline=c.rect=[1,'',""];var l=/<([\w:]+)/,u=/&\w+;/,f=s.inBrowser?function(){var t=document.createElement("div");return t.innerHTML="",!t.cloneNode(!0).firstChild.innerHTML}():!1,d=s.inBrowser?function(){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}():!1;e.clone=function(t){var e,n,i,r=t.cloneNode(!0);if(f&&(n=t.querySelectorAll("template"),n.length))for(i=r.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(n[e].cloneNode(!0),i[e]);if(d)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r},e.parse=function(t,n,s){var o,a;return t instanceof DocumentFragment?n?t.cloneNode(!0):t:("string"==typeof t?s||"#"!==t.charAt(0)?a=i(t):(a=h.get(t),a||(o=document.getElementById(t.slice(1)),o&&(a=r(o),h.put(t,a)))):t.nodeType&&(a=r(t)),a&&n?e.clone(a):a)}},function(t,e,n){function i(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=i.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=i},function(t,e,n){function i(t){return t.replace(v,"\\$&")}function r(){d._delimitersChanged=!1;var t=d.delimiters[0],e=d.delimiters[1];l=t.charAt(0),u=e.charAt(e.length-1);var n=i(l),r=i(u),s=i(t),o=i(e);h=new RegExp(n+"?"+s+"(.+?)"+o+r+"?","g"),c=new RegExp("^"+n+s+".*"+o+r+"$"),a=new f(1e3)}function s(t,e,n){return t.tag?e&&t.oneTime?'"'+e.$eval(t.value)+'"':o(t.value,n):'"'+t.value+'"'}function o(t,e){if(m.test(t)){var n=p.parse(t)[0];return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}var a,h,c,l,u,f=n(13),d=n(3),p=n(15),v=/[-.*+?^${}()|[\]\/\\]/g;e.parse=function(t){d._delimitersChanged&&r();var e=a.get(t);if(e)return e;if(t=t.replace(/\n/g,""),!h.test(t))return null;for(var n,i,s,o,l,u,f=[],p=h.lastIndex=0;n=h.exec(t);)i=n.index,i>p&&f.push({value:t.slice(p,i)}),o=n[1].charCodeAt(0),l=42===o,u=64===o,s=l||u?n[1].slice(1):n[1],f.push({tag:!0,value:s.trim(),html:c.test(n[0]),oneTime:l,twoWay:u}),p=i+n[0].length;return p1?t.map(function(t){return s(t,e)}).join("+"):s(t[0],e,!0)};var m=/[^|]\|[^|]/},function(t,e,n){function i(){g.raw=o.slice(v,h).trim(),void 0===g.expression?g.expression=o.slice(m,h).trim():b!==v&&r(),(0===h||g.expression)&&_.push(g)}function r(){var t,e=o.slice(b,h).trim();if(e){t={};var n=e.match(x);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(s))}t&&(g.filters=g.filters||[]).push(t),b=h+1}function s(t){var e=A.test(t)?t:C.stripQuotes(t);return{value:e||t,dynamic:!e}}var o,a,h,c,l,u,f,d,p,v,m,_,g,b,y,C=n(1),$=n(13),k=new $(1e3),w=/^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/,x=/[^\s'"]+|'[^']+'|"[^"]+"/g,A=/^in$|^-?\d+/;e.parse=function(t){var e=k.get(t);if(e)return e;for(o=t,l=u=!1,f=d=p=v=m=0,b=0,_=[],g={},y=null,h=0,c=o.length;c>h;h++)if(a=o.charCodeAt(h),l)39===a&&(l=!l);else if(u)34===a&&(u=!u);else if(44!==a||p||f||d)if(58!==a||g.expression||g.arg)if(124===a&&124!==o.charCodeAt(h+1)&&124!==o.charCodeAt(h-1))void 0===g.expression?(b=h+1,g.expression=o.slice(m,h).trim()):r();else switch(a){case 34:u=!0;break;case 39:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}else y=o.slice(v,h).trim(),w.test(y)&&(m=h+1,g.arg=C.stripQuotes(y)||y);else i(),g={},v=m=b=h+1;return(0===h||v!==h)&&i(),k.put(t,_),_}},function(t,e,n){var i=n(1),r=n(17),s=n(3)._propBindingModes;t.exports={bind:function(){var t=this.vm,e=t.$parent,n=this._descriptor,o=n.path,a=n.parentPath,h=!1;this.parentWatcher=new r(e,a,function(e){h||(h=!0,i.assertProp(n,e)&&(t[o]=e),h=!1)},{sync:!0});var c=this.parentWatcher.value;i.assertProp(n,c)&&t.$set(o,c),n.mode===s.TWO_WAY&&(this.childWatcher=new r(t,o,function(t){h||(h=!0,e.$set(a,t),h=!1)},{sync:!0}))},unbind:function(){this.parentWatcher&&this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},function(t,e,n){function i(t,e,n,i){var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=r?"":e,this.cb=n,this.id=++l,this.active=!0,i=i||{},this.deep=!!i.deep,this.user=!!i.user,this.twoWay=!!i.twoWay,this.sync=!!i.sync,this.filters=i.filters,this.preProcess=i.preProcess,this.deps=[],this.newDeps=[],r)this.getter=e,this.setter=void 0;else{var s=h.parse(e,i.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.get()}function r(t){var e,n,i;for(e in t)if(n=t[e],s.isArray(n))for(i=n.length;i--;)r(n[i]);else s.isObject(n)&&r(n)}var s=n(1),o=n(3),a=n(18),h=n(22),c=n(24),l=0,u=i.prototype;u.addDep=function(t){var e=this.newDeps,n=this.deps;if(s.indexOf(e,t)<0){e.push(t);var i=s.indexOf(n,t);0>i?t.addSub(this):n[i]=null}},u.get=function(){this.beforeGet();var t,e=this.vm;try{t=this.getter.call(e,e)}catch(n){o.warnExpressionErrors}return this.deep&&r(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.afterGet(),t},u.set=function(t){var e=this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(n){o.warnExpressionErrors}},u.beforeGet=function(){a.setTarget(this)},u.afterGet=function(){a.setTarget(null);for(var t=this.deps.length;t--;){var e=this.deps[t];e&&e.removeSub(this)}this.deps=this.newDeps,this.newDeps=[]},u.update=function(){this.sync||!o.async?this.run():c.push(this)},u.run=function(){if(this.active){var t=this.get();if(t!==this.value||Array.isArray(t)||this.deep){var e=this.value;this.value=t,this.cb(t,e)}}},u.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i},function(t,e,n){function i(t,e){if(this.id=++u,this.value=t,this.active=!0,this.deps=[],o.define(t,"__ob__",this),e===f){var n=a.proto&&o.hasProto?r:s;n(t,c,l),this.observeArray(t)}else e===d&&this.walk(t)}function r(t,e){t.__proto__=e}function s(t,e,n){for(var i,r=n.length;r--;)i=n[r],o.define(t,i,e[i])}var o=n(1),a=n(3),h=n(19),c=n(20),l=Object.getOwnPropertyNames(c);n(21);var u=0,f=0,d=1;i.create=function(t){return t&&t.hasOwnProperty("__ob__")&&t.__ob__ instanceof i?t.__ob__:o.isArray(t)?new i(t,f):o.isPlainObject(t)&&!t._isVue?new i(t,d):void 0},i.setTarget=function(t){h.target=t};var p=i.prototype;p.walk=function(t){for(var e,n,i=Object.keys(t),r=i.length;r--;)e=i[r],n=e.charCodeAt(0),36!==n&&95!==n&&this.convert(e,t[e])},p.observe=function(t){return i.create(t)},p.observeArray=function(t){for(var e=t.length;e--;)this.observe(t[e])},p.convert=function(t,e){var n=this,i=n.observe(e),r=new h;i&&i.deps.push(r),Object.defineProperty(n.value,t,{enumerable:!0,configurable:!0,get:function(){return n.active&&r.depend(),e},set:function(t){if(t!==e){var i=e&&e.__ob__;i&&i.deps.$remove(r),e=t;var s=n.observe(t);s&&s.deps.push(r),r.notify()}}})},p.notify=function(){for(var t=this.deps,e=0,n=t.length;n>e;e++)t[e].notify()},p.addVm=function(t){(this.vms||(this.vms=[])).push(t)},p.removeVm=function(t){this.vms.$remove(t)},t.exports=i},function(t,e,n){function i(){this.subs=[]}var r=n(1);i.target=null;var s=i.prototype;s.addSub=function(t){this.subs.push(t)},s.removeSub=function(t){this.subs.$remove(t)},s.depend=function(){i.target&&i.target.addDep(this)},s.notify=function(){for(var t=r.toArray(this.subs),e=0,n=t.length;n>e;e++)t[e].update()},t.exports=i},function(t,e,n){var i=n(1),r=Array.prototype,s=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=r[t];i.define(s,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&o.observeArray(r),o.notify(),s})}),i.define(r,"$set",function(t,e){return t>=this.length&&(this.length=t+1),this.splice(t,1,e)[0]}),i.define(r,"$remove",function(t){this.length&&("number"!=typeof t&&(t=i.indexOf(this,t)),t>-1&&this.splice(t,1))}),t.exports=s},function(t,e,n){var i=n(1),r=Object.prototype;i.define(r,"$add",function(t,e){if(!this.hasOwnProperty(t)){var n=this.__ob__;if(!n||i.isReserved(t))return void(this[t]=e);if(n.convert(t,e),n.notify(),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._proxy(t),s._digest()}}}),i.define(r,"$set",function(t,e){this.$add(t,e),this[t]=e}),i.define(r,"$delete",function(t){if(this.hasOwnProperty(t)){delete this[t];var e=this.__ob__;if(e&&!i.isReserved(t)&&(e.notify(),e.vms))for(var n=e.vms.length;n--;){var r=e.vms[n];r._unproxy(t),r._digest()}}})},function(t,e,n){function i(t,e){var n=x.length;return x[n]=e?t.replace(b,"\\n"):t,'"'+n+'"'}function r(t){var e=t.charAt(0),n=t.slice(1);return v.test(n)?t:(n=n.indexOf('"')>-1?n.replace(C,s):n,e+"scope."+n)}function s(t,e){return x[e]}function o(t,e){_.test(t),x.length=0;var n=t.replace(y,i).replace(g,"");n=(" "+n).replace(k,r).replace(C,s);var o=h(n);return o?{get:o,body:n,set:e?c(n):null}:void 0}function a(t){var e,n;return t.indexOf("[")<0?(n=t.split("."),n.raw=t,e=u.compileGetter(n)):(n=u.parse(t),e=n.get),{get:e,set:function(t,e){u.set(t,n,e)}}}function h(t){try{return new Function("scope","return "+t+";")}catch(e){}}function c(t){try{return new Function("scope","value",t+"=value;")}catch(e){}}function l(t){t.set||(t.set=c(t.body))}var u=(n(1),n(23)),f=n(13),d=new f(1e3),p="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+p.replace(/,/g,"\\b|")+"\\b)"),m="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",_=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g=/\s/g,b=/\n/g,y=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,C=/"(\d+)"/g,$=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,k=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,w=/^(true|false)$/,x=[];e.parse=function(t,n){t=t.trim();var i=d.get(t);if(i)return n&&l(i),i;var r=e.isSimplePath(t)?a(t):o(t,n);return d.put(t,r),r},e.isSimplePath=function(t){return $.test(t)&&!w.test(t)&&"Math."!==t.slice(0,5)}},function(t,e,n){function i(){}function r(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&122>=e||e>=65&&90>=e?"ident":e>=49&&57>=e?"number":"else"}function s(t){function e(){var e=t[d+1];return"inSingleQuote"===p&&"'"===e||"inDoubleQuote"===p&&'"'===e?(d++,s=e,v.append(),!0):void 0}for(var n,s,o,a,h,c,l,u=[],d=-1,p="beforePath",v={push:function(){void 0!==o&&(u.push(o),o=void 0)},append:function(){void 0===o?o=s:o+=s}};p;)if(d++,n=t[d],"\\"!==n||!e()){if(a=r(n),l=f[p],h=l[a]||l["else"]||"error","error"===h)return;if(p=h[0],c=v[h[1]]||i,s=h[2],s=void 0===s?n:"*"===s?s+n:s,c(),"afterPath"===p)return u.raw=t,u}}function o(t){return u.test(t)?"."+t:+t===t>>>0?"["+t+"]":"*"===t.charAt(0)?"[o"+o(t.slice(1))+"]":'["'+t.replace(/"/g,'\\"')+'"]'}function a(t){}var h=n(1),c=n(13),l=new c(1e3),u=e.identRE=/^[$_a-zA-Z]+[\w$]*$/,f={beforePath:{ws:["beforePath"],ident:["inIdent","append"],"[":["beforeElement"],eof:["afterPath"]},inPath:{ws:["inPath"],".":["beforeIdent"],"[":["beforeElement"],eof:["afterPath"]},beforeIdent:{ws:["beforeIdent"],ident:["inIdent","append"]},inIdent:{ident:["inIdent","append"],0:["inIdent","append"],number:["inIdent","append"],ws:["inPath","push"],".":["beforeIdent","push"],"[":["beforeElement","push"],eof:["afterPath","push"],"]":["inPath","push"]},beforeElement:{ws:["beforeElement"],0:["afterZero","append"],number:["inIndex","append"],"'":["inSingleQuote","append",""],'"':["inDoubleQuote","append",""],ident:["inIdent","append","*"]},afterZero:{ws:["afterElement","push"],"]":["inPath","push"]},inIndex:{0:["inIndex","append"],number:["inIndex","append"],ws:["afterElement"],"]":["inPath","push"]},inSingleQuote:{"'":["afterElement"],eof:"error","else":["inSingleQuote","append"]},inDoubleQuote:{'"':["afterElement"],eof:"error","else":["inDoubleQuote","append"]},afterElement:{ws:["afterElement"],"]":["inPath","push"]}};e.compileGetter=function(t){var e="return o"+t.map(o).join("");return new Function("o",e)},e.parse=function(t){var n=l.get(t);return n||(n=s(t),n&&(n.get=e.compileGetter(n),l.put(t,n))),n},e.get=function(t,n){return n=e.parse(n),n?n.get(t):void 0},e.set=function(t,n,i){var r=t;if("string"==typeof n&&(n=e.parse(n)),!n||!h.isObject(t))return!1;for(var s,o,c=0,l=n.length;l>c;c++)s=t,o=n[c],"*"===o.charAt(0)&&(o=r[o.slice(1)]),l-1>c?(t=t[o],h.isObject(t)||(t={},s.$add(o,t),a(n))):h.isArray(t)?t.$set(o,i):o in t?t[o]=i:(t.$add(o,i),a(n));return!0}},function(t,e,n){function i(){h=[],c=[],l={},u=f=d=!1}function r(){f=!0,s(h),d=!0,s(c),i()}function s(t){for(var e=0;ea)return}else l[e]=1;if(f&&!t.user&&d)return void t.run();(t.user?c:h).push(t),u||(u=!0,o.nextTick(r))}}},function(t,e,n){var i=n(1),r=n(12);t.exports={isLiteral:!0,bind:function(){this.el.__vue__||(this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.keepAlive=null!=this._checkParam("keep-alive"),this.refID=i.attr(this.el,"ref"),this.keepAlive&&(this.cache={}),null!==this._checkParam("inline-template")&&(this.template=i.extractContent(this.el,!0)),this._pendingCb=this.ctorId=this.Ctor=null,this._isDynamicLiteral?(this.readyEvent=this._checkParam("wait-for"),this.transMode=this._checkParam("transition-mode")):this.resolveCtor(this.expression,i.bind(function(){var t=this.build();t.$before(this.anchor),this.setCurrent(t)},this)))},update:function(t){this.setComponent(t)},setComponent:function(t,e,n,r){this.invalidatePending(),t?this.resolveCtor(t,i.bind(function(){this.unbuild();var t=this.build(e);n&&n(t);var i=this;this.readyEvent?t.$once(this.readyEvent,function(){i.transition(t,r)}):this.transition(t,r)},this)):(this.unbuild(),this.remove(this.childVM,r),this.unsetCurrent())},resolveCtor:function(t,e){var n=this;this._pendingCb=i.cancellable(function(i){n.ctorId=t,n.Ctor=i,e()}),this.vm._resolveComponent(t,this._pendingCb)},invalidatePending:function(){this._pendingCb&&(this._pendingCb.cancel(),this._pendingCb=null)},build:function(t){if(this.keepAlive){var e=this.cache[this.ctorId];if(e)return e}var n=this.vm,i=r.clone(this.el);if(this.Ctor){var s=n.$addChild({el:i,data:t,template:this.template,_linkerCachable:!this.template,_asComponent:!0,_host:this._host,_isRouterView:this._isRouterView},this.Ctor);return this.keepAlive&&(this.cache[this.ctorId]=s),s}},unbuild:function(){var t=this.childVM;t&&!this.keepAlive&&t.$destroy(!1,!0)},remove:function(t,e){var n=this.keepAlive;t?t.$remove(function(){n||t._cleanup(),e&&e()}):e&&e()},transition:function(t,e){var n=this,i=this.childVM;switch(this.unsetCurrent(),this.setCurrent(t),n.transMode){case"in-out":t.$before(n.anchor,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t._isDestroyed||t.$before(n.anchor,e)});break;default:n.remove(i),t.$before(n.anchor,e)}},setCurrent:function(t){this.childVM=t;var e=t._refID||this.refID;e&&(this.vm.$[e]=t)},unsetCurrent:function(){var t=this.childVM;this.childVM=null;var e=t&&t._refID||this.refID;e&&(this.vm.$[e]=null)},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}}},function(t,e,n){function i(t,e){var n=e.template,i=h.parse(n,!0);if(i){var o=i.firstChild;return e.replace?i.childNodes.length>1||1!==o.nodeType||o.hasAttribute(a.prefix+"repeat")?i:(e._replacerAttrs=r(o),s(t,o),o):(t.appendChild(i),t)}}function r(t){if(1===t.nodeType&&t.hasAttributes()){for(var e=t.attributes,n={},i=e.length;i--;)n[e[i].name]=e[i].value;return n}}function s(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)?"class"===n&&(e.className=e.className+" "+i):e.setAttribute(n,i); -}var o=n(1),a=n(3),h=n(12);e.transclude=function(t,e){return e&&(e._containerAttrs=r(t)),o.isTemplate(t)&&(t=h.parse(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=o.extractContent(t),t=i(t,e))),t instanceof DocumentFragment&&(o.prepend(o.createAnchor("v-start",!0),t),t.appendChild(o.createAnchor("v-end",!0))),t}},function(t,e,n){e.text=n(29),e.html=n(30),e.attr=n(31),e.show=n(32),e["class"]=n(34),e.el=n(35),e.ref=n(36),e.cloak=n(37),e.style=n(28),e.transition=n(38),e.on=n(41),e.model=n(42),e.repeat=n(47),e["if"]=n(48),e._component=n(25),e._prop=n(16)},function(t,e,n){function i(t){if(u[t])return u[t];var e=r(t);return u[t]=u[e]=e,e}function r(t){t=t.replace(c,"$1-$2").toLowerCase();var e=s.camelize(t),n=e.charAt(0).toUpperCase()+e.slice(1);if(l||(l=document.createElement("div")),e in l.style)return t;for(var i,r=o.length;r--;)if(i=a[r]+n,i in l.style)return o[r]+t}var s=n(1),o=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],h=/!important;?$/,c=/([a-z])([A-Z])/g,l=null,u={};t.exports={deep:!0,update:function(t){this.arg?this.setProp(this.arg,t):"object"==typeof t?this.objectHandler(t):this.el.style.cssText=t},objectHandler:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.setProp(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.setProp(e,n))},setProp:function(t,e){if(t=i(t))if(null!=e&&(e+=""),e){var n=h.test(e)?"important":"";n&&(e=e.replace(h,"").trim()),this.el.style.setProperty(t,e,n)}else this.el.style.removeProperty(t)}}},function(t,e,n){var i=n(1);t.exports={bind:function(){this.attr=3===this.el.nodeType?"nodeValue":"textContent"},update:function(t){this.el[this.attr]=i.toString(t)}}},function(t,e,n){var i=n(1),r=n(12);t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(t){t=i.toString(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)i.remove(this.nodes[e]);var n=r.parse(t,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},function(t,e,n){var i="http://www.w3.org/1999/xlink",r=/^xlink:/;t.exports={priority:850,update:function(t){this.arg?this.setAttr(this.arg,t):"object"==typeof t&&this.objectHandler(t)},objectHandler:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.setAttr(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.setAttr(e,n))},setAttr:function(t,e){e||0===e?r.test(t)?this.el.setAttributeNS(i,t,e):this.el.setAttribute(t,e):this.el.removeAttribute(t)}}},function(t,e,n){var i=n(33);t.exports=function(t){var e=this.el;i.apply(e,t?1:-1,function(){e.style.display=t?"":"none"},this.vm)}},function(t,e,n){var i=n(1);e.append=function(t,e,n,i){r(t,1,function(){e.appendChild(t)},n,i)},e.before=function(t,e,n,s){r(t,1,function(){i.before(t,e)},n,s)},e.remove=function(t,e,n){r(t,-1,function(){i.remove(t)},e,n)},e.removeThenAppend=function(t,e,n,i){r(t,-1,function(){e.appendChild(t)},n,i)},e.blockAppend=function(t,n,r){for(var s=i.toArray(t.childNodes),o=0,a=s.length;a>o;o++)e.before(s[o],n,r)},e.blockRemove=function(t,n,i){for(var r,s=t.nextSibling;s!==n;)r=s.nextSibling,e.remove(s,i),s=r};var r=e.apply=function(t,e,n,r,s){var o=t.__v_trans;if(!o||!o.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(s&&s());var a=e>0?"enter":"leave";o[a](n,s)}},function(t,e,n){var i=n(1),r=i.addClass,s=i.removeClass;t.exports={update:function(t){if(this.arg){var e=t?r:s;e(this.el,this.arg)}else if(this.cleanup(),t&&"string"==typeof t)r(this.el,t),this.lastVal=t;else if(i.isPlainObject(t)){for(var n in t)t[n]?r(this.el,n):s(this.el,n);this.prevKeys=Object.keys(t)}},cleanup:function(t){if(this.lastVal&&s(this.el,this.lastVal),this.prevKeys)for(var e=this.prevKeys.length;e--;)t&&t[this.prevKeys[e]]||s(this.el,this.prevKeys[e])}}},function(t,e,n){t.exports={isLiteral:!0,bind:function(){this.vm.$$[this.expression]=this.el},unbind:function(){delete this.vm.$$[this.expression]}}},function(t,e,n){n(1);t.exports={isLiteral:!0,bind:function(){var t=this.el.__vue__;t&&(t._refID=this.expression)}}},function(t,e,n){var i=n(3);t.exports={bind:function(){var t=this.el;this.vm.$once("hook:compiled",function(){t.removeAttribute(i.prefix+"cloak")})}}},function(t,e,n){var i=n(1),r=n(39);t.exports={priority:1e3,isLiteral:!0,bind:function(){this._isDynamicLiteral||this.update(this.expression)},update:function(t,e){var n=this.el,s=this.el.__vue__||this.vm,o=i.resolveAsset(s.$options,"transitions",t);t=t||"v",n.__v_trans=new r(n,t,o,s),e&&i.removeClass(n,e+"-transition"),i.addClass(n,t+"-transition")}}},function(t,e,n){function i(t,e,n,i){this.el=t,this.enterClass=e+"-enter",this.leaveClass=e+"-leave",this.hooks=n,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.typeCache={};var s=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){s[t]=r.bind(s[t],s)})}var r=n(1),s=n(40),o=r.addClass,a=r.removeClass,h=r.transitionEndEvent,c=r.animationEndEvent,l=r.transitionProp+"Duration",u=r.animationProp+"Duration",f=1,d=2,p=i.prototype;p.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,o(this.el,this.enterClass),t(),this.callHookWithCb("enter"),this.cancel=this.hooks&&this.hooks.enterCancelled,s.push(this.enterNextTick)},p.enterNextTick=function(){var t=this.getCssTransitionType(this.enterClass),e=this.enterDone;t===f?(a(this.el,this.enterClass),this.setupCssCb(h,e)):t===d?this.setupCssCb(c,e):this.pendingJsCb||e()},p.enterDone=function(){this.cancel=this.pendingJsCb=null,a(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},p.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,o(this.el,this.leaveClass),this.callHookWithCb("leave"),this.cancel=this.hooks&&this.hooks.enterCancelled,this.pendingJsCb||s.push(this.leaveNextTick)},p.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===f?h:c;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},p.leaveDone=function(){this.cancel=this.pendingJsCb=null,this.op(),a(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb()},p.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,r.off(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(a(this.el,this.enterClass),a(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},p.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},p.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=r.cancellable(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},p.getCssTransitionType=function(t){if(!(!h||document.hidden||this.hooks&&this.hooks.css===!1)){var e=this.typeCache[t];if(e)return e;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[l]||i[l];if(r&&"0s"!==r)e=f;else{var s=n[u]||i[u];s&&"0s"!==s&&(e=d)}return e&&(this.typeCache[t]=e),e}},p.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,i=this.el,s=this.pendingCssCb=function(o){o.target===i&&(r.off(i,t,s),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};r.on(i,t,s)},t.exports=i},function(t,e,n){function i(){for(var t=document.documentElement.offsetHeight,e=0;er||(t(),i.nextTick(function(){var t=e._watcher.value;if(e.update(t),null!=r){var s=i.toString(t).length-r;n.setSelectionRange(s,s)}}))}}:this.listener=function(){a||t()},o&&(this.listener=i.debounce(this.listener,o)),this.event=r?"change":"input",this.hasjQuery="function"==typeof jQuery,this.hasjQuery?jQuery(n).on(this.event,this.listener):i.on(n,this.event,this.listener),!r&&i.isIE9&&(this.onCut=function(){i.nextTick(e.listener)},this.onDel=function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()},i.on(n,"cut",this.onCut),i.on(n,"keyup",this.onDel)),(n.hasAttribute("value")||"TEXTAREA"===n.tagName&&n.value.trim())&&(this._initValue=s?i.toNumber(n.value):n.value)},update:function(t){this.el.value=i.toString(t)},unbind:function(){var t=this.el;this.hasjQuery?jQuery(t).off(this.event,this.listener):i.off(t,this.event,this.listener),this.onComposeStart&&(i.off(t,"compositionstart",this.onComposeStart),i.off(t,"compositionend",this.onComposeEnd)),this.onCut&&(i.off(t,"cut",this.onCut),i.off(t,"keyup",this.onDel))}}},function(t,e,n){var i=n(1);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.value)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.value)},update:function(t){this.el.checked=t==this.el.value},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t){function e(t){l.isArray(t)&&(n.el.innerHTML="",r(n.el,t),n._watcher&&n.update(n._watcher.value))}var n=this,i=f.parse(t)[0];this.optionWatcher=new u(this.vm,i.expression,e,{deep:!0,filters:i.filters}),e(this.optionWatcher.value)}function r(t,e){for(var n,i,s=0,o=e.length;o>s;s++)n=e[s],n.options?(i=document.createElement("optgroup"),i.label=n.label,r(i,n.options)):(i=document.createElement("option"),"string"==typeof n?i.text=i.value=n:(null!=n.value&&(i.value=n.value),i.text=n.text||n.value||"",n.disabled&&(i.disabled=!0))),t.appendChild(i)}function s(){for(var t,e=this.el.options,n=0,i=e.length;i>n;n++)e[n].hasAttribute("selected")&&(this.multiple?(t||(t=[])).push(e[n].value):t=e[n].value);"undefined"!=typeof t&&(this._initValue=this.number?l.toNumber(t):t)}function o(t){return Array.prototype.filter.call(t.options,a).map(h)}function a(t){return t.selected}function h(t){return t.value||t.text}function c(t,e){for(var n=t.length;n--;)if(t[n]==e)return n;return-1}var l=n(1),u=n(17),f=n(15);t.exports={bind:function(){var t=this,e=this.el,n=this._checkParam("options");n&&i.call(this,n),this.number=null!=this._checkParam("number"),this.multiple=e.hasAttribute("multiple"),this.listener=function(){var n=t.multiple?o(e):e.value;n=t.number?l.isArray(n)?n.map(l.toNumber):l.toNumber(n):n,t.set(n)},l.on(e,"change",this.listener),s.call(this)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i=this.multiple&&l.isArray(t),r=e.options,s=r.length;s--;)n=r[s],n.selected=i?c(t,n.value)>-1:t==n.value},unbind:function(){l.off(this.el,"change",this.listener),this.optionWatcher&&this.optionWatcher.teardown()}}},function(t,e,n){var i=n(1);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.checked)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.checked)},update:function(t){this.el.checked=!!t},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t,e,n){for(var i=t.$el.previousSibling;(!i.__vue__||i.__vue__.$options._repeatId!==n)&&i!==e;)i=i.previousSibling;return i.__vue__}function r(t){for(var e=-1,n=new Array(t);++en;n++)e[t[n].$key]=t[n];return e}var o=n(1),a=o.isObject,h=o.isPlainObject,c=n(14),l=n(22),u=n(12),f=n(10),d=0,p=0,v=1,m=2,_=3;t.exports={bind:function(){this.id="__v_repeat_"+ ++d,this.start=o.createAnchor("v-repeat-start"),this.end=o.createAnchor("v-repeat-end"),o.replace(this.el,this.end),o.before(this.start,this.end),this.template=o.isTemplate(this.el)?u.parse(this.el,!0):this.el,this.checkIf(),this.checkRef(),this.checkComponent(),this.idKey=this._checkParam("track-by")||this._checkParam("trackby");var t=+this._checkParam("stagger");this.enterStagger=+this._checkParam("enter-stagger")||t,this.leaveStagger=+this._checkParam("leave-stagger")||t,this.cache=Object.create(null)},checkIf:function(){null!==o.attr(this.el,"if")},checkRef:function(){var t=o.attr(this.el,"ref");this.refID=t?this.vm.$interpolate(t):null;var e=o.attr(this.el,"el");this.elId=e?this.vm.$interpolate(e):null},checkComponent:function(){this.componentState=p;var t=this.vm.$options,e=o.checkComponent(this.el,t);if(e){this.Ctor=null,this.asComponent=!0,null!==this._checkParam("inline-template")&&(this.inlineTemplate=o.extractContent(this.el,!0));var n=c.parse(e);if(n){var i=c.tokensToExp(n);this.ctorGetter=l.parse(i).get}else this.componentId=e,this.pendingData=null}else{this.Ctor=o.Vue,this.inherit=!0,this.template=f.transclude(this.template);var r=o.extend({},t);r._asComponent=!1,this._linkFn=f.compile(this.template,r)}},resolveComponent:function(){this.componentState=v,this.vm._resolveComponent(this.componentId,o.bind(function(t){this.componentState!==_&&(this.Ctor=t,this.componentState=m,this.realUpdate(this.pendingData),this.pendingData=null)},this))},resolveDynamicComponent:function(t,e){var n,i=Object.create(this.vm);for(n in t)o.define(i,n,t[n]);for(n in e)o.define(i,n,e[n]);var r=this.ctorGetter.call(i,i),s=o.resolveAsset(this.vm.$options,"components",r);return s.options?s:o.Vue},update:function(t){if(this.componentId){var e=this.componentState;e===p?(this.pendingData=t,this.resolveComponent()):e===v?this.pendingData=t:e===m&&this.realUpdate(t)}else this.realUpdate(t)},realUpdate:function(t){this.vms=this.diff(t,this.vms),this.refID&&(this.vm.$[this.refID]=this.converted?s(this.vms):this.vms),this.elId&&(this.vm.$$[this.elId]=this.vms.map(function(t){return t.$el}))},diff:function(t,e){var n,r,s,h,c,l,u=this.idKey,f=this.converted,d=this.start,p=this.end,v=o.inDoc(d),m=this.arg,_=!e,g=new Array(t.length);for(h=0,c=t.length;c>h;h++)n=t[h],r=f?n.$value:n,l=!a(r),s=!_&&this.getVm(r,h,f?n.$key:null),s?(s._reused=!0,s.$index=h,(u||f||l)&&(m?s[m]=r:o.isPlainObject(r)?s.$data=r:s.$value=r)):(s=this.build(n,h,!0),s._reused=!1),g[h]=s,_&&s.$before(p);if(_)return g;var b=0,y=e.length-g.length;for(h=0,c=e.length;c>h;h++)s=e[h],s._reused||(this.uncacheVm(s),s.$destroy(!1,!0),this.remove(s,b++,y,v));var C,$,k,w=0;for(h=0,c=g.length;c>h;h++)s=g[h],C=g[h-1],$=C?C._staggerCb?C._staggerAnchor:C._blockEnd||C.$el:d,s._reused&&!s._staggerCb?(k=i(s,d,this.id),k!==C&&this.move(s,$)):this.insert(s,w++,$,v),s._reused=!1;return g},build:function(t,e,n){var i={$index:e};this.converted&&(i.$key=t.$key);var r=this.converted?t.$value:t,s=this.arg;s?(t={},t[s]=r):h(r)?t=r:(t={},i.$value=r);var o=this.Ctor||this.resolveDynamicComponent(t,i),a=this.vm.$addChild({el:u.clone(this.template),data:t,inherit:this.inherit,template:this.inlineTemplate,_meta:i,_repeat:this.inherit,_asComponent:this.asComponent,_linkerCachable:!this.inlineTemplate,_host:this._host,_linkFn:this._linkFn,_repeatId:this.id},o);n&&this.cacheVm(r,a,e,this.converted?i.$key:null);var c=typeof r,l=this;return"object"!==this.rawType||"string"!==c&&"number"!==c||a.$watch(s||"$value",function(t){l.filters,l._withLock(function(){l.converted?l.rawValue[a.$key]=t:l.rawValue.$set(a.$index,t)})}),a},unbind:function(){if(this.componentState=_,this.refID&&(this.vm.$[this.refID]=null),this.vms)for(var t,e=this.vms.length;e--;)t=this.vms[e],this.uncacheVm(t),t.$destroy()},cacheVm:function(t,e,n,i){var r,s=this.idKey,h=this.cache,c=!a(t);i||s||c?(r=s?"$index"===s?n:t[s]:i||n,h[r]||(h[r]=e)):(r=this.id,t.hasOwnProperty(r)?null===t[r]&&(t[r]=e):o.define(t,r,e)),e._raw=t},getVm:function(t,e,n){var i=this.idKey,r=!a(t);if(n||i||r){var s=i?"$index"===i?e:t[i]:n||e;return this.cache[s]}return t[this.id]},uncacheVm:function(t){var e=t._raw,n=this.idKey,i=t.$index,r=t.$key,s=!a(e);if(n||r||s){var o=n?"$index"===n?i:e[n]:r||i;this.cache[o]=null}else e[this.id]=null,t._raw=null},_preProcess:function(t){this.rawValue=t;var e=this.rawType=typeof t;if(h(t)){for(var n,i=Object.keys(t),s=i.length,a=new Array(s);s--;)n=i[s],a[s]={$key:n,$value:t[n]};return this.converted=!0,a}return this.converted=!1,"number"===e?t=r(t):"string"===e&&(t=o.toArray(t)),t||[]},insert:function(t,e,n,i){t._staggerCb&&(t._staggerCb.cancel(),t._staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(i&&r){var s=t._staggerAnchor;s||(s=t._staggerAnchor=o.createAnchor("stagger-anchor"),s.__vue__=t),o.after(s,n);var a=t._staggerCb=o.cancellable(function(){t._staggerCb=null,t.$before(s),o.remove(s)});setTimeout(a,r)}else t.$after(n)},move:function(t,e){t.$after(e,null,!1)},remove:function(t,e,n,i){function r(){t.$remove(function(){t._cleanup()})}if(t._staggerCb)return t._staggerCb.cancel(),void(t._staggerCb=null);var s=this.getStagger(t,e,n,"leave");if(i&&s){var a=t._staggerCb=o.cancellable(function(){t._staggerCb=null,r()});setTimeout(a,s)}else r()},getStagger:function(t,e,n,i){i+="Stagger";var r=t.$el.__v_trans,s=r&&r.hooks,o=s&&(s[i]||s.stagger);return o?o.call(t,e,n):e*this[i]}}},function(t,e,n){function i(t){t._isAttached||t._callHook("attached")}function r(t){t._isAttached&&t._callHook("detached")}var s=n(1),o=n(10),a=n(12),h=n(33);t.exports={bind:function(){var t=this.el;t.__vue__?this.invalid=!0:(this.start=s.createAnchor("v-if-start"),this.end=s.createAnchor("v-if-end"),s.replace(t,this.end),s.before(this.start,this.end),s.isTemplate(t)?this.template=a.parse(t,!0):(this.template=document.createDocumentFragment(),this.template.appendChild(a.clone(t))),this.linker=o.compile(this.template,this.vm.$options,!0))},update:function(t){this.invalid||(t?this.unlink||this.compile():this.teardown())},compile:function(){var t=this.vm,e=a.clone(this.template);if(this.unlink=this.linker(t,e),h.blockAppend(e,this.end,t),s.inDoc(t.$el)){var n=this.getContainedComponents();n&&n.forEach(i)}},teardown:function(){if(this.unlink){var t;s.inDoc(this.vm.$el)&&(t=this.getContainedComponents()),h.blockRemove(this.start,this.end,this.vm),t&&t.forEach(r),this.unlink(),this.unlink=null}},getContainedComponents:function(){function t(t){for(var e,r=n;e!==i;){if(e=r.nextSibling,r===t.$el||r.contains&&r.contains(t.$el))return!0;r=e}return!1}var e=this.vm,n=this.start.nextSibling,i=this.end,r=e._children.length&&e._children.filter(t),s=e._transCpnts&&e._transCpnts.filter(t);return r?s?r.concat(s):r:s},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){var i=n(1);e.json={read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,Number(e)||2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},e.capitalize=function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},e.uppercase=function(t){return t||0===t?t.toString().toUpperCase():""},e.lowercase=function(t){return t||0===t?t.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;e.currency=function(t,e){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=e||"$";var n=Math.floor(Math.abs(t)).toString(),i=n.length%3,s=i>0?n.slice(0,i)+(n.length>3?",":""):"",o=Math.abs(parseInt(100*t%100,10)),a="."+(10>o?"0"+o:o);return(0>t?"-":"")+e+s+n.slice(i).replace(r,"$1,")+a},e.pluralize=function(t){var e=i.toArray(arguments,1);return e.length>1?e[t%10-1]||e[e.length-1]:e[0]+(1===t?"":"s")};var s={enter:13,tab:9,"delete":46,up:38,left:37,right:39,down:40,esc:27};e.key=function(t,e){if(t){var n=s[e];return n||(n=parseInt(e,10)),function(e){return e.keyCode===n?t.call(this,e):void 0}}},e.key.keyCodes=s,i.extend(e,n(50))},function(t,e,n){function i(t,e){if(r.isPlainObject(t)){for(var n in t)if(i(t[n],e))return!0}else if(r.isArray(t)){for(var s=t.length;s--;)if(i(t[s],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}var r=n(1),s=n(23);e.filterBy=function(t,e,n,r){return n&&"in"!==n&&(r=n),null==e?t:(e=(""+e).toLowerCase(),t.filter(function(t){return r?i(s.get(t,r),e):i(t,e)}))},e.orderBy=function(t,e,n){if(!e)return t;var i=1;return arguments.length>2&&(i="-1"===n?-1:n?-1:1),t.slice().sort(function(t,n){return"$key"!==e&&"$value"!==e&&(t&&"$value"in t&&(t=t.$value),n&&"$value"in n&&(n=n.$value)),t=r.isObject(t)?s.get(t,e):t,n=r.isObject(n)?s.get(n,e):n,t===n?0:t>n?i:-i})}},function(t,e,n){function i(t,e,n){for(var i=document.createDocumentFragment(),r=0,s=t.length;s>r;r++){var o=t[r];n&&!o.selected?i.appendChild(o.cloneNode(!0)):n||o.parentNode!==e||(o.selected=!0,i.appendChild(o.cloneNode(!0)))}return i}var r=n(1);t.exports={bind:function(){for(var t=this.vm,e=t;e.$options._repeat;)e=e.$parent;var n,r=e.$options._content;if(!r)return void this.fallback();var s=e.$parent,o=this.el.getAttribute("select");if(o){o=t.$interpolate(o);var a=r.querySelectorAll(o);a.length?(n=i(a,r),n.hasChildNodes()?this.compile(n,s,t):this.fallback()):this.fallback()}else{var h=this,c=function(){h.compile(i(r.childNodes,r,!0),e.$parent,t)};e._isCompiled?c():e.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(t,e,n){t&&e&&(this.unlink=e.$compile(t,n)),t?r.replace(this.el,t):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){var i=n(1).mergeOptions;e._init=function(t){t=t||{},this.$el=null,this.$parent=t._parent,this.$root=t._root||this,this.$={},this.$$={},this._watchers=[],this._directives=[],this._isVue=!0,this._events={},this._eventsCount={},this._eventCancelled=!1,this._isBlock=!1,this._blockStart=this._blockEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._children=[],this._childCtors={},this._transCpnts=[],this._host=t._host,this.$parent&&this.$parent._children.push(this),this._host&&this._host._transCpnts.push(this),this._reused=!1,this._staggerOp=null,t=this.$options=i(this.constructor.options,t,this),this._data=t.data||{},this._initScope(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}},function(t,e,n){function i(t,e,n){if(n){var i,s,o,a;for(s in n)if(i=n[s],c.isArray(i))for(o=0,a=i.length;a>o;o++)r(t,e,s,i[o]);else r(t,e,s,i)}}function r(t,e,n,i){var r=typeof i;if("function"===r)t[e](n,i);else if("string"===r){var s=t.$options.methods,o=s&&s[i];o&&t[e](n,o)}}function s(){this._isAttached=!0,this._children.forEach(o),this._transCpnts.length&&this._transCpnts.forEach(o)}function o(t){!t._isAttached&&l(t.$el)&&t._callHook("attached")}function a(){this._isAttached=!1,this._children.forEach(h),this._transCpnts.length&&this._transCpnts.forEach(h)}function h(t){t._isAttached&&!l(t.$el)&&t._callHook("detached")}var c=n(1),l=c.inDoc;e._initEvents=function(){var t=this.$options;i(this,"$on",t.events),i(this,"$watch",t.watch)},e._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},e._callHook=function(t){var e=this.$options[t];if(e)for(var n=0,i=e.length;i>n;n++)e[n].call(this);this.$emit("hook:"+t)}},function(t,e,n){function i(){}var r=n(1),s=n(18),o=n(19);e._initScope=function(){this._initProps(),this._initData(),this._initComputed(),this._initMethods(),this._initMeta()},e._initProps=function(){var t,e,n,i=this._data,s=this.$options.props;if(s)for(n=s.length;n--;)t=s[n],e=r.camelize("string"==typeof t?t:t.name),e in i||"$data"===e||(i[e]=void 0)},e._initData=function(){var t,e,n=this._data,i=Object.keys(n);for(t=i.length;t--;)e=i[t],r.isReserved(e)||this._proxy(e);s.create(n).addVm(this)},e._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,o,a=this.$options.props;if(a)for(o=a.length;o--;)i=a[o],"$data"===i||t.hasOwnProperty(i)||t.$set(i,e[i]);for(n=Object.keys(e),o=n.length;o--;)i=n[o],r.isReserved(i)||i in t||this._unproxy(i);for(n=Object.keys(t),o=n.length;o--;)i=n[o],this.hasOwnProperty(i)||r.isReserved(i)||this._proxy(i);e.__ob__.removeVm(this),s.create(t).addVm(this),this._digest()},e._proxy=function(t){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})},e._unproxy=function(t){delete this[t]},e._digest=function(){for(var t=this._watchers.length;t--;)this._watchers[t].update();var e=this._children;for(t=e.length;t--;){var n=e[t];n.$options.inherit&&n._digest()}},e._initComputed=function(){var t=this.$options.computed;if(t)for(var e in t){var n=t[e],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r.bind(n,this),s.set=i):(s.get=n.get?r.bind(n.get,this):i,s.set=n.set?r.bind(n.set,this):i),Object.defineProperty(this,e,s)}},e._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=r.bind(t[e],this)},e._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)this._defineMeta(e,t[e])},e._defineMeta=function(t,e){var n=new o;Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return n.depend(),e},set:function(t){t!==e&&(e=t,n.notify())}})}},function(t,e,n){var i=n(1),r=n(56),s=n(10);e._compile=function(t){var e=this.$options,n=this._host;if(e._linkFn)this._initElement(t),this._unlinkFn=e._linkFn(this,t,n);else{var r=t;t=s.transclude(t,e),this._initElement(t);var o,a=s.compileAndLinkRoot(this,t,e),h=this.constructor;e._linkerCachable&&(o=h.linker,o||(o=h.linker=s.compile(t,e)));var c=o?o(this,t):s.compile(t,e)(this,t,n);this._unlinkFn=function(){a(),c(!0)},e.replace&&i.replace(r,t)}return t},e._initElement=function(t){t instanceof DocumentFragment?(this._isBlock=!0,this.$el=this._blockStart=t.firstChild,this._blockEnd=t.lastChild,3===this._blockStart.nodeType&&(this._blockStart.data=this._blockEnd.data=""),this._blockFragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},e._bindDir=function(t,e,n,i,s){this._directives.push(new r(t,e,this,n,i,s))},e._destroy=function(t,e){if(!this._isBeingDestroyed){this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;i&&!i._isBeingDestroyed&&i._children.$remove(this);var r=this._host;for(r&&!r._isBeingDestroyed&&r._transCpnts.$remove(this),n=this._children.length;n--;)this._children[n].$destroy();for(this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var s=this;t&&this.$el?this.$remove(function(){s._cleanup()}):e||this._cleanup()}},e._cleanup=function(){this._data.__ob__.removeVm(this),this._data=this._watchers=this.$el=this.$parent=this.$root=this._children=this._transCpnts=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off()}},function(t,e,n){function i(t,e,n,i,r,s){this.name=t,this.el=e,this.vm=n,this.raw=i.raw,this.expression=i.expression,this.arg=i.arg,this.filters=i.filters,this._descriptor=i,this._host=s,this._locked=!1,this._bound=!1,this._bind(r)}var r=n(1),s=n(3),o=n(17),a=n(14),h=n(22),c=i.prototype;c._bind=function(t){if("cloak"!==this.name&&this.el&&this.el.removeAttribute&&this.el.removeAttribute(s.prefix+this.name),"function"==typeof t?this.update=t:r.extend(this,t),this._watcherExp=this.expression,this._checkDynamicLiteral(),this.bind&&this.bind(),this._watcherExp&&(this.update||this.twoWay)&&(!this.isLiteral||this._isDynamicLiteral)&&!this._checkStatement()){var e=this,n=this._update=this.update?function(t,n){e._locked||e.update(t,n)}:function(){},i=this._preProcess?r.bind(this._preProcess,this):null,a=this._watcher=new o(this.vm,this._watcherExp,n,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:i});null!=this._initValue?a.set(this._initValue):this.update&&this.update(a.value)}this._bound=!0},c._checkDynamicLiteral=function(){var t=this.expression;if(t&&this.isLiteral){var e=a.parse(t);if(e){var n=a.tokensToExp(e);this.expression=this.vm.$get(n),this._watcherExp=n,this._isDynamicLiteral=!0}}},c._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!h.isSimplePath(t)){var e=h.parse(t).get,n=this.vm,i=function(){e.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},c._checkParam=function(t){var e=this.el.getAttribute(t);return null!==e&&this.el.removeAttribute(t),e},c._teardown=function(){this._bound&&(this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown(),this.vm=this.el=this._watcher=null)},c.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},c._withLock=function(t){var e=this;e._locked=!0,t.call(e),r.nextTick(function(){e._locked=!1})},t.exports=i},function(t,e,n){var i=n(1);e._applyFilters=function(t,e,n,r){var s,o,a,h,c,l,u,f,d;for(l=0,u=n.length;u>l;l++)if(s=n[l],o=i.resolveAsset(this.$options,"filters",s.name),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(a=r?[t,e]:[t],c=r?2:1,s.args)for(f=0,d=s.args.length;d>f;f++)h=s.args[f],a[f+c]=h.dynamic?this.$get(h.value):h.value;t=o.apply(this,a)}return t},e._resolveComponent=function(t,e){var n=i.resolveAsset(this.$options,"components",t);if(n.options)e(n);else if(n.resolved)e(n.resolved);else if(n.requested)n.pendingCallbacks.push(e);else{n.requested=!0;var r=n.pendingCallbacks=[e];n(function(t){i.isPlainObject(t)&&(t=i.Vue.extend(t)),n.resolved=t;for(var e=0,s=r.length;s>e;e++)r[e](t)},function(t){})}}},function(t,e,n){var i=n(17),r=n(23),s=n(14),o=n(15),a=n(22),h=/[^|]\|[^|]/;e.$get=function(t){var e=a.parse(t);if(e)try{return e.get.call(this,this)}catch(n){}},e.$set=function(t,e){var n=a.parse(t,!0);n&&n.set&&n.set.call(this,this,e)},e.$add=function(t,e){this._data.$add(t,e)},e.$delete=function(t){this._data.$delete(t)},e.$watch=function(t,e,n){var r=this,s=function(t,n){e.call(r,t,n)},o=new i(r,t,s,{deep:n&&n.deep,user:!n||n.user!==!1});return n&&n.immediate&&s(o.value),function(){o.teardown()}},e.$eval=function(t){if(h.test(t)){var e=o.parse(t)[0],n=this.$get(e.expression);return e.filters?this._applyFilters(n,null,e.filters):n}return this.$get(t)},e.$interpolate=function(t){var e=s.parse(t),n=this;return e?1===e.length?n.$eval(e[0].value):e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},e.$log=function(t){var e=t?r.get(this._data,t):this._data;e&&(e=JSON.parse(JSON.stringify(e))),console.log(e)}},function(t,e,n){function i(t,e,n,i,o,a){e=s(e);var h=!c.inDoc(e),l=i===!1||h?o:a,u=!h&&!t._isAttached&&!c.inDoc(t.$el);return t._isBlock?r(t,e,l,n):l(t.$el,e,t,n),u&&t._callHook("attached"),t}function r(t,e,n,i){for(var r,s=t._blockStart,o=t._blockEnd;r!==o;)r=s.nextSibling,n(s,e,t),s=r;n(o,e,t,i)}function s(t){return"string"==typeof t?document.querySelector(t):t}function o(t,e,n,i){e.appendChild(t),i&&i()}function a(t,e,n,i){c.before(t,e),i&&i()}function h(t,e,n){c.remove(t),n&&n()}var c=n(1),l=n(33); -e.$nextTick=function(t){c.nextTick(t,this)},e.$appendTo=function(t,e,n){return i(this,t,e,n,o,l.append)},e.$prependTo=function(t,e,n){return t=s(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},e.$before=function(t,e,n){return i(this,t,e,n,a,l.before)},e.$after=function(t,e,n){return t=s(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},e.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&c.inDoc(this.$el);n||(e=!1);var i,s=this,a=function(){n&&s._callHook("detached"),t&&t()};return this._isBlock&&!this._blockFragment.hasChildNodes()?(i=e===!1?o:l.removeThenAppend,r(this,this._blockFragment,i,a)):(i=e===!1?h:l.remove)(this.$el,this,a),this}},function(t,e,n){function i(t,e,n){var i=t.$parent;if(i&&n&&!s.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+n,i=i.$parent}var r=n(1);e.$on=function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),i(this,t,1),this},e.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},e.$off=function(t,e){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&i(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return i(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===e||r.fn===e){i(this,t,-1),n.splice(s,1);break}return this},e.$emit=function(t){this._eventCancelled=!1;var e=this._events[t];if(e){for(var n=arguments.length-1,i=new Array(n);n--;)i[n]=arguments[n+1];n=0,e=e.length>1?r.toArray(e):e;for(var s=e.length;s>n;n++)e[n].apply(this,i)===!1&&(this._eventCancelled=!0)}return this},e.$broadcast=function(t){if(this._eventsCount[t]){for(var e=this._children,n=0,i=e.length;i>n;n++){var r=e[n];r.$emit.apply(r,arguments),r._eventCancelled||r.$broadcast.apply(r,arguments)}return this}},e.$dispatch=function(){for(var t=this.$parent;t;)t.$emit.apply(t,arguments),t=t._eventCancelled?null:t.$parent;return this};var s=/^hook:/},function(t,e,n){var i=n(1);e.$addChild=function(t,e){e=e||i.Vue,t=t||{};var n,r=this,s=void 0!==t.inherit?t.inherit:e.options.inherit;if(s){var o=r._childCtors;if(n=o[e.cid],!n){var a=e.options.name,h=a?i.classify(a):"VueComponent";n=new Function("return function "+h+" (options) {this.constructor = "+h+";this._init(options) }")(),n.options=e.options,n.linker=e.linker,n.prototype=this,o[e.cid]=n}}else n=e;t._parent=r,t._root=r.$root;var c=new n(t);return c}},function(t,e,n){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=n(1),s=n(10);e.$mount=function(t){if(!this._isCompiled){if(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return}}else t=document.createElement("div");return this._compile(t),this._isCompiled=!0,this._callHook("compiled"),r.inDoc(this.$el)?(this._callHook("attached"),this._initDOMHooks(),i.call(this)):(this._initDOMHooks(),this.$once("hook:attached",i)),this}},e.$destroy=function(t,e){this._destroy(t,e)},e.$compile=function(t,e){return s.compile(t,this.$options,!0,e)(this,t)}}])}); \ No newline at end of file +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):"object"==typeof exports?exports.Vue=e():t.Vue=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){function i(t){this._init(t)}var r=n(1),s=r.extend;s(i,n(9)),i.options={replace:!0,directives:n(27),elementDirectives:n(49),filters:n(52),transitions:{},components:{},partials:{}};var o=i.prototype;Object.defineProperty(o,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),s(o,n(54)),s(o,n(55)),s(o,n(56)),s(o,n(57)),s(o,n(59)),s(o,n(60)),s(o,n(61)),s(o,n(62)),s(o,n(63)),s(o,n(64)),t.exports=r.Vue=i},function(t,e,n){var i=n(4),r=i.extend;r(e,i),r(e,n(5)),r(e,n(6)),r(e,n(2)),r(e,n(7)),r(e,n(8))},function(t,e,n){var i=n(1),r=n(3);e.assertProp=function(t,e){var n=t.assertions;if(!n)return!0;var r,s=n.type,o=!0;if(s&&(s===String?(r="string",o=typeof e===r):s===Number?(r="number",o="number"==typeof e):s===Boolean?(r="boolean",o="boolean"==typeof e):s===Function?(r="function",o="function"==typeof e):s===Object?(r="object",o=i.isPlainObject(e)):s===Array?(r="array",o=i.isArray(e)):o=e instanceof s),!o)return!1;var a=n.validator;return a&&!a.call(null,e)?!1:!0},e.commonTagRE=/^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|code|pre)$/,e.checkComponent=function(t,n,r){var s=t.tagName.toLowerCase();if("component"===s){var o=t.getAttribute("is");return t.removeAttribute("is"),o}return!e.commonTagRE.test(s)&&i.resolveAsset(n,"components",s)?s:r&&(s=i.attr(t,"component"))?s:void 0},e.createAnchor=function(t,e){return r.debug?document.createComment(t):document.createTextNode(e?" ":"")}},function(t,e,n){t.exports={prefix:"v-",debug:!1,silent:!1,proto:!0,interpolate:!0,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["directive","elementDirective","filter","transition"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"];Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(t){i=t,this._delimitersChanged=!0}})},function(t,e,n){function i(t,e){return e?e.toUpperCase():""}e.isReserved=function(t){var e=(t+"").charCodeAt(0);return 36===e||95===e},e.toString=function(t){return null==t?"":t.toString()},e.toNumber=function(t){return isNaN(t)||null===t||"boolean"==typeof t?t:Number(t)},e.toBoolean=function(t){return"true"===t?!0:"false"===t?!1:t},e.stripQuotes=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?!1:t.slice(1,-1)};var r=/-(\w)/g;e.camelize=function(t){return t.replace(r,i)};var s=/(?:^|[-_\/])(\w)/g;e.classify=function(t){return t.replace(s,i)},e.bind=function(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}},e.toArray=function(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i},e.extend=function(t,e){for(var n in e)t[n]=e[n];return t},e.isObject=function(t){return null!==t&&"object"==typeof t};var o=Object.prototype.toString;e.isPlainObject=function(t){return"[object Object]"===o.call(t)},e.isArray=Array.isArray,e.define=function(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})},e.debounce=function(t,e){var n,i,r,s,o,a=function(){var h=Date.now()-s;e>h&&h>=0?n=setTimeout(a,e-h):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}},e.indexOf=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},e.cancellable=function(t){var e=function(){return e.cancelled?void 0:t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}},function(t,e,n){e.hasProto="__proto__"in{};var i=e.inBrowser="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window);if(e.isIE9=i&&navigator.userAgent.toLowerCase().indexOf("msie 9.0")>0,e.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!e.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,s=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;e.transitionProp=r?"WebkitTransition":"transition",e.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",e.animationProp=s?"WebkitAnimation":"animation",e.animationEndEvent=s?"webkitAnimationEnd":"animationend"}e.nextTick=function(){function t(){i=!1;var t=n.slice(0);n=[];for(var e=0;e=0;)n=n.replace(i," ");t.setAttribute("class",n.trim())}},e.extractContent=function(t,n){var r,s;if(e.isTemplate(t)&&t.content instanceof DocumentFragment&&(t=t.content),t.hasChildNodes())for(i(t,t.firstChild),i(t,t.lastChild),s=n?document.createDocumentFragment():document.createElement("div");r=t.firstChild;)s.appendChild(r);return s},e.isTemplate=function(t){return t.tagName&&"template"===t.tagName.toLowerCase()}},function(t,e,n){n(3)},function(t,e,n){function i(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],t.hasOwnProperty(n)?s.isObject(r)&&s.isObject(o)&&i(r,o):t.$add(n,o);return t}function r(t){if(t){var e;for(var n in t)s.commonTagRE.test(n),e=t[n],s.isPlainObject(e)&&(e.name=n,t[n]=s.Vue.extend(e))}}var s=n(1),o=s.extend,a=Object.create(null);a.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,s="function"==typeof t?t.call(n):void 0;return r?i(r,s):s}:void 0:e?"function"!=typeof e?t:t?function(){return i(e.call(this),t.call(this))}:e:t},a.el=function(t,e,n){if(n||!e||"function"==typeof e){var i=e||t;return n&&"function"==typeof i?i.call(n):i}},a.created=a.ready=a.attached=a.detached=a.beforeCompile=a.compiled=a.beforeDestroy=a.destroyed=a.props=function(t,e){return e?t?t.concat(e):s.isArray(e)?e:[e]:t},a.paramAttributes=function(){},a.directives=a.filters=a.transitions=a.components=a.partials=a.elementDirectives=function(t,e){var n=Object.create(t);return e?o(n,e):n},a.watch=a.events=function(t,e){if(!e)return t;if(!t)return e;var n={};o(n,t);for(var i in e){var r=n[i],a=e[i];r&&!s.isArray(r)&&(r=[r]),n[i]=r?r.concat(a):[a]}return n},a.methods=a.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(t);return o(n,e),n};var h=function(t,e){return void 0===e?t:e};e.mergeOptions=function c(t,e,n){function i(i){var r=a[i]||h;o[i]=r(t[i],e[i],n,i)}r(e.components);var s,o={};if(e.mixins)for(var l=0,u=e.mixins.length;u>l;l++)t=c(t,e.mixins[l],n);for(s in t)i(s);for(s in e)t.hasOwnProperty(s)||i(s);return o},e.resolveAsset=function(t,e,n){for(var i=t[e][n];!i&&t._parent;)t=t._parent.$options,i=t[e][n];return i}},function(t,e,n){function i(t){return new Function("return function "+s.classify(t)+" (options) { this._init(options) }")()}function r(t){o._assetTypes.forEach(function(e){t[e]=function(t,n){return n?void(this.options[e+"s"][t]=n):this.options[e+"s"][t]}}),t.component=function(t,e){return e?(s.isPlainObject(e)&&(e.name=t,e=s.Vue.extend(e)),void(this.options.components[t]=e)):this.options.components[t]}}var s=n(1),o=n(3);e.util=s,e.nextTick=s.nextTick,e.config=n(3),e.compiler=n(10),e.parsers={path:n(23),text:n(14),template:n(12),directive:n(15),expression:n(22)},e.cid=0;var a=1;e.extend=function(t){t=t||{};var e=this,n=i(t.name||e.options.name||"VueComponent");return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.cid=a++,n.options=s.mergeOptions(e.options,t),n["super"]=e,n.extend=e.extend,r(n),n},e.use=function(t){var e=s.toArray(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),this},r(e)},function(t,e,n){var i=n(1);i.extend(e,n(11)),i.extend(e,n(26))},function(t,e,n){function i(t,e){var n=e._directives.length;return t(),e._directives.slice(n)}function r(t,e,n,i){return function(r){s(t,e,r),n&&i&&s(n,i)}}function s(t,e,n){for(var i=e.length;i--;)e[i]._teardown(),n||t._directives.$remove(e[i])}function o(t,e){var n=t.nodeType;return 1===n&&"SCRIPT"!==t.tagName?a(t,e):3===n&&A.interpolate&&t.data.trim()?h(t,e):null}function a(t,e){var n=t.hasAttributes(),i=v(t,e);if(!i&&n&&(i=_(t,e)),i||(i=m(t,e,n)),!i&&n&&(i=y(t,e)),"TEXTAREA"===t.tagName){var r=i;i=function(t,e){e.value=t.$interpolate(e.value),r&&r(t,e)},i.terminal=!0}return i}function h(t,e){var n=E.parse(t.data);if(!n)return null;for(var i,r,s=document.createDocumentFragment(),o=0,a=n.length;a>o;o++)r=n[o],i=r.tag?c(r,e):document.createTextNode(r.value),s.appendChild(i);return l(n,s,e)}function c(t,e){function n(n){t.type=n,t.def=D(e,"directives",n),t.descriptor=T.parse(t.value)[0]}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function l(t,e){return function(n,i){for(var r,s,o,a=e.cloneNode(!0),h=x.toArray(a.childNodes),c=0,l=t.length;l>c;c++)r=t[c],s=r.value,r.tag&&(o=h[c],r.oneTime?(s=n.$eval(s),r.html?x.replace(o,P.parse(s,!0)):o.data=s):n._bindDir(r.type,o,r.descriptor,r.def));x.replace(i,a)}}function u(t,e){for(var n,i,r,s=[],a=0,h=t.length;h>a;a++)r=t[a],n=o(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:u(r.childNodes,e),s.push(n,i);return s.length?f(s):null}function f(t){return function(e,n,i){for(var r,s,o,a=0,h=0,c=t.length;c>a;h++){r=n[h],s=t[a++],o=t[a++];var l=x.toArray(r.childNodes);s&&s(e,r,i),o&&o(e,l,i)}}}function d(t,e){for(var n,i,r,s,o,a,h,c,l=[],u=e.length;u--;){if(n=e[u],"object"==typeof n?(i=n.name,r=n):(i=n,r=null),o=x.camelize(i.replace(I,"")),/[A-Z]/.test(i),!L.test(o),s=t.getAttribute(i),a={name:i,raw:s,path:o,assertions:r,mode:O.ONE_WAY},null!==s){t.removeAttribute(i);var f=E.parse(s);f&&(t&&1===t.nodeType&&t.removeAttribute(i),a.dynamic=!0,a.parentPath=E.tokensToExp(f),c=1===f.length,h=F.test(a.parentPath),h||c&&f[0].oneTime?a.mode=O.ONE_TIME:!h&&c&&f[0].twoWay&&V.test(a.parentPath)&&(a.mode=O.TWO_WAY))}else r&&r.required;l.push(a)}return p(l)}function p(t){return function(e,n){for(var i,r,s,o=t.length;o--;)i=t[o],r=i.path,null===i.raw?e._data[r]=void 0:i.dynamic?e.$parent&&(i.mode===O.ONE_TIME?(s=e.$parent.$get(i.parentPath),x.assertProp(i,s)&&(e[r]=e._data[r]=s)):e._bindDir("prop",n,i,N)):(s=x.toBoolean(x.toNumber(i.raw)),x.assertProp(i,s)&&(e[r]=e._data[r]=s))}}function v(t,e){var n=t.tagName.toLowerCase(),i=D(e,"elementDirectives",n);return i?b(t,n,"",e,i):void 0}function m(t,e,n){var i=x.checkComponent(t,e,n);if(i){var r=function(t,e,n){t._bindDir("component",e,{expression:i},S,n)};return r.terminal=!0,r}}function _(t,e){if(null!==x.attr(t,"pre"))return g;for(var n,i,r=0,s=j.length;s>r;r++)if(i=j[r],null!==(n=x.attr(t,i)))return b(t,i,n,e)}function g(){}function b(t,e,n,i,r){var s=T.parse(n)[0];r=r||i.directives[e];var o=function(t,n,i){t._bindDir(e,n,s,r,i)};return o.terminal=!0,o}function y(t,e){for(var n,i,r,s,o,a,h=x.isPlainObject(t)?C(t):t.attributes,c=h.length,l=[];c--;)n=h[c],i=n.name,r=n.value,0===i.indexOf(A.prefix)?(o=i.slice(A.prefix.length),a=D(e,"directives",o),a&&l.push({name:o,descriptors:T.parse(r),def:a})):A.interpolate&&(s=$(i,r,e),s&&l.push(s));return l.length?(l.sort(w),k(l)):void 0}function C(t){var e=[];for(var n in t)e.push({name:n,value:t[n]});return e}function k(t){return function(e,n,i){for(var r,s,o,a=t.length;a--;)if(r=t[a],r._link)r._link(e,n);else for(o=r.descriptors.length,s=0;o>s;s++)e._bindDir(r.name,n,r.descriptors[s],r.def,i)}}function $(t,e,n){var i=E.parse(e);if(i){for(var r=n.directives.attr,s=i.length,o=!0;s--;){var a=i[s];a.tag&&!a.oneTime&&(o=!1)}return{def:r,_link:o?function(n,i){i.setAttribute(t,n.$interpolate(e))}:function(e,n){var s=E.tokensToExp(i,e),o=T.parse(t+":"+s)[0];e._bindDir("attr",n,o,r)}}}}function w(t,e){return t=t.def.priority||0,e=e.def.priority||0,t>e?1:-1}var x=n(1),A=n(3),E=n(14),T=n(15),P=n(12),D=x.resolveAsset,O=A._propBindingModes,N=n(16),S=n(25),j=["repeat","if"];e.compile=function(t,e,n,s){var a=n||!e._asComponent?o(t,e):null,h=a&&a.terminal||"SCRIPT"===t.tagName||!t.hasChildNodes()?null:u(t.childNodes,e);return function(t,e){var n=x.toArray(e.childNodes),o=i(function(){a&&a(t,e,s),h&&h(t,n,s)},t);return r(t,o)}},e.compileAndLinkProps=function(t,e,n){var s=d(e,n),o=i(function(){s(t,null)},t);return r(t,o)},e.compileAndLinkRoot=function(t,e,n){var s,o,a=n._containerAttrs,h=n._replacerAttrs;11!==e.nodeType&&(n._asComponent?(a&&(s=y(a,n)),h&&(o=y(h,n))):o=y(e,n));var c,l=t.$parent;l&&s&&(c=i(function(){s(l,e)},l));var u=i(function(){o&&o(t,e)},t);return r(t,u,l,c)};var I=/^data-/,V=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,F=/^(true|false)$|^\d.*/,L=n(23).identRE;g.terminal=!0},function(t,e,n){function i(t){var e=a.get(t);if(e)return e;var n=document.createDocumentFragment(),i=t.match(l),r=u.test(t);if(i||r){var s=i&&i[1],o=c[s]||c._default,h=o[0],f=o[1],d=o[2],p=document.createElement("div");for(p.innerHTML=f+t.trim()+d;h--;)p=p.lastChild;for(var v;v=p.firstChild;)n.appendChild(v)}else n.appendChild(document.createTextNode(t));return a.put(t,n),n}function r(t){if(s.isTemplate(t)&&t.content instanceof DocumentFragment)return t.content;if("SCRIPT"===t.tagName)return i(t.textContent);for(var n,r=e.clone(t),o=document.createDocumentFragment();n=r.firstChild;)o.appendChild(n);return o}var s=n(1),o=n(13),a=new o(1e3),h=new o(1e3),c={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};c.td=c.th=[3,"","
"],c.option=c.optgroup=[1,'"],c.thead=c.tbody=c.colgroup=c.caption=c.tfoot=[1,"","
"],c.g=c.defs=c.symbol=c.use=c.image=c.text=c.circle=c.ellipse=c.line=c.path=c.polygon=c.polyline=c.rect=[1,'',""];var l=/<([\w:]+)/,u=/&\w+;/,f=s.inBrowser?function(){var t=document.createElement("div");return t.innerHTML="",!t.cloneNode(!0).firstChild.innerHTML}():!1,d=s.inBrowser?function(){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}():!1;e.clone=function(t){var e,n,i,r=t.cloneNode(!0);if(f&&(n=t.querySelectorAll("template"),n.length))for(i=r.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(n[e].cloneNode(!0),i[e]);if(d)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r},e.parse=function(t,n,s){var o,a;return t instanceof DocumentFragment?n?t.cloneNode(!0):t:("string"==typeof t?s||"#"!==t.charAt(0)?a=i(t):(a=h.get(t),a||(o=document.getElementById(t.slice(1)),o&&(a=r(o),h.put(t,a)))):t.nodeType&&(a=r(t)),a&&n?e.clone(a):a)}},function(t,e,n){function i(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=i.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=i},function(t,e,n){function i(t){return t.replace(v,"\\$&")}function r(){d._delimitersChanged=!1;var t=d.delimiters[0],e=d.delimiters[1];l=t.charAt(0),u=e.charAt(e.length-1);var n=i(l),r=i(u),s=i(t),o=i(e);h=new RegExp(n+"?"+s+"(.+?)"+o+r+"?","g"),c=new RegExp("^"+n+s+".*"+o+r+"$"),a=new f(1e3)}function s(t,e,n){return t.tag?e&&t.oneTime?'"'+e.$eval(t.value)+'"':o(t.value,n):'"'+t.value+'"'}function o(t,e){if(m.test(t)){var n=p.parse(t)[0];return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}var a,h,c,l,u,f=n(13),d=n(3),p=n(15),v=/[-.*+?^${}()|[\]\/\\]/g;e.parse=function(t){d._delimitersChanged&&r();var e=a.get(t);if(e)return e;if(t=t.replace(/\n/g,""),!h.test(t))return null;for(var n,i,s,o,l,u,f=[],p=h.lastIndex=0;n=h.exec(t);)i=n.index,i>p&&f.push({value:t.slice(p,i)}),o=n[1].charCodeAt(0),l=42===o,u=64===o,s=l||u?n[1].slice(1):n[1],f.push({tag:!0,value:s.trim(),html:c.test(n[0]),oneTime:l,twoWay:u}),p=i+n[0].length;return p1?t.map(function(t){return s(t,e)}).join("+"):s(t[0],e,!0)};var m=/[^|]\|[^|]/},function(t,e,n){function i(){g.raw=o.slice(v,h).trim(),void 0===g.expression?g.expression=o.slice(m,h).trim():b!==v&&r(),(0===h||g.expression)&&_.push(g)}function r(){var t,e=o.slice(b,h).trim();if(e){t={};var n=e.match(x);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(s))}t&&(g.filters=g.filters||[]).push(t),b=h+1}function s(t){var e=A.test(t)?t:C.stripQuotes(t);return{value:e||t,dynamic:!e}}var o,a,h,c,l,u,f,d,p,v,m,_,g,b,y,C=n(1),k=n(13),$=new k(1e3),w=/^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/,x=/[^\s'"]+|'[^']+'|"[^"]+"/g,A=/^in$|^-?\d+/;e.parse=function(t){var e=$.get(t);if(e)return e;for(o=t,l=u=!1,f=d=p=v=m=0,b=0,_=[],g={},y=null,h=0,c=o.length;c>h;h++)if(a=o.charCodeAt(h),l)39===a&&(l=!l);else if(u)34===a&&(u=!u);else if(44!==a||p||f||d)if(58!==a||g.expression||g.arg)if(124===a&&124!==o.charCodeAt(h+1)&&124!==o.charCodeAt(h-1))void 0===g.expression?(b=h+1,g.expression=o.slice(m,h).trim()):r();else switch(a){case 34:u=!0;break;case 39:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}else y=o.slice(v,h).trim(),w.test(y)&&(m=h+1,g.arg=C.stripQuotes(y)||y);else i(),g={},v=m=b=h+1;return(0===h||v!==h)&&i(),$.put(t,_),_}},function(t,e,n){var i=n(1),r=n(17),s=n(3)._propBindingModes;t.exports={bind:function(){function t(t){return function(e){c||(c=!0,t(e),i.nextTick(function(){c=!1}))}}var e=this.vm,n=e.$parent,o=this._descriptor,a=o.path,h=o.parentPath,c=!1;this.parentWatcher=new r(n,h,t(function(t){i.assertProp(o,t)&&(e[a]=t)}));var l=this.parentWatcher.value;if(i.assertProp(o,l)&&("$data"===a?e._data=l:e[a]=e._data[a]=l),o.mode===s.TWO_WAY){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,a,t(function(t){n[h]=t}))})}},unbind:function(){this.parentWatcher&&this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},function(t,e,n){function i(t,e,n,i){var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=r?"":e,this.cb=n,this.id=++l,this.active=!0,i=i||{},this.deep=!!i.deep,this.user=!!i.user,this.twoWay=!!i.twoWay,this.filters=i.filters,this.preProcess=i.preProcess,this.deps=[],this.newDeps=[],r)this.getter=e,this.setter=void 0;else{var s=h.parse(e,i.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.get()}function r(t){var e,n,i;for(e in t)if(n=t[e],s.isArray(n))for(i=n.length;i--;)r(n[i]);else s.isObject(n)&&r(n)}var s=n(1),o=n(3),a=n(18),h=n(22),c=n(24),l=0,u=i.prototype;u.addDep=function(t){var e=this.newDeps,n=this.deps;if(s.indexOf(e,t)<0){e.push(t);var i=s.indexOf(n,t);0>i?t.addSub(this):n[i]=null}},u.get=function(){this.beforeGet();var t,e=this.vm;try{t=this.getter.call(e,e)}catch(n){o.warnExpressionErrors}return this.deep&&r(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.afterGet(),t},u.set=function(t){var e=this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(e,e,t)}catch(n){o.warnExpressionErrors}},u.beforeGet=function(){a.setTarget(this)},u.afterGet=function(){a.setTarget(null);for(var t=this.deps.length;t--;){var e=this.deps[t];e&&e.removeSub(this)}this.deps=this.newDeps,this.newDeps=[]},u.update=function(){o.async?c.push(this):this.run()},u.run=function(){if(this.active){var t=this.get();if(t!==this.value||s.isArray(t)||this.deep){var e=this.value;this.value=t,this.cb(t,e)}}},u.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i},function(t,e,n){function i(t,e){if(this.id=++u,this.value=t,this.active=!0,this.deps=[],o.define(t,"__ob__",this),e===f){var n=a.proto&&o.hasProto?r:s;n(t,c,l),this.observeArray(t)}else e===d&&this.walk(t)}function r(t,e){t.__proto__=e}function s(t,e,n){for(var i,r=n.length;r--;)i=n[r],o.define(t,i,e[i])}var o=n(1),a=n(3),h=n(19),c=n(20),l=Object.getOwnPropertyNames(c);n(21);var u=0,f=0,d=1;i.create=function(t){return t&&t.hasOwnProperty("__ob__")&&t.__ob__ instanceof i?t.__ob__:o.isArray(t)?new i(t,f):o.isPlainObject(t)&&!t._isVue?new i(t,d):void 0},i.setTarget=function(t){h.target=t};var p=i.prototype;p.walk=function(t){for(var e,n,i=Object.keys(t),r=i.length;r--;)e=i[r],n=e.charCodeAt(0),36!==n&&95!==n&&this.convert(e,t[e])},p.observe=function(t){return i.create(t)},p.observeArray=function(t){for(var e=t.length;e--;)this.observe(t[e])},p.convert=function(t,e){var n=this,i=n.observe(e),r=new h;i&&i.deps.push(r),Object.defineProperty(n.value,t,{enumerable:!0,configurable:!0,get:function(){return n.active&&r.depend(),e},set:function(t){if(t!==e){var i=e&&e.__ob__;i&&i.deps.$remove(r),e=t;var s=n.observe(t);s&&s.deps.push(r),r.notify()}}})},p.notify=function(){for(var t=this.deps,e=0,n=t.length;n>e;e++)t[e].notify()},p.addVm=function(t){(this.vms||(this.vms=[])).push(t)},p.removeVm=function(t){this.vms.$remove(t)},t.exports=i},function(t,e,n){function i(){this.subs=[]}var r=n(1);i.target=null;var s=i.prototype;s.addSub=function(t){this.subs.push(t)},s.removeSub=function(t){this.subs.$remove(t)},s.depend=function(){i.target&&i.target.addDep(this)},s.notify=function(){for(var t=r.toArray(this.subs),e=0,n=t.length;n>e;e++)t[e].update()},t.exports=i},function(t,e,n){var i=n(1),r=Array.prototype,s=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=r[t];i.define(s,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&o.observeArray(r),o.notify(),s})}),i.define(r,"$set",function(t,e){return t>=this.length&&(this.length=t+1),this.splice(t,1,e)[0]}),i.define(r,"$remove",function(t){this.length&&("number"!=typeof t&&(t=i.indexOf(this,t)),t>-1&&this.splice(t,1))}),t.exports=s},function(t,e,n){var i=n(1),r=Object.prototype;i.define(r,"$add",function(t,e){if(!this.hasOwnProperty(t)){var n=this.__ob__;if(!n||i.isReserved(t))return void(this[t]=e);if(n.convert(t,e),n.notify(),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._proxy(t),s._digest()}}}),i.define(r,"$set",function(t,e){this.$add(t,e),this[t]=e}),i.define(r,"$delete",function(t){if(this.hasOwnProperty(t)){delete this[t];var e=this.__ob__;if(e&&!i.isReserved(t)&&(e.notify(),e.vms))for(var n=e.vms.length;n--;){var r=e.vms[n];r._unproxy(t),r._digest()}}})},function(t,e,n){function i(t,e){var n=x.length;return x[n]=e?t.replace(b,"\\n"):t,'"'+n+'"'}function r(t){var e=t.charAt(0),n=t.slice(1);return v.test(n)?t:(n=n.indexOf('"')>-1?n.replace(C,s):n,e+"scope."+n)}function s(t,e){return x[e]}function o(t,e){_.test(t),x.length=0;var n=t.replace(y,i).replace(g,"");n=(" "+n).replace($,r).replace(C,s);var o=h(n);return o?{get:o,body:n,set:e?c(n):null}:void 0}function a(t){var e,n;return t.indexOf("[")<0?(n=t.split("."),n.raw=t,e=u.compileGetter(n)):(n=u.parse(t),e=n.get),{get:e,set:function(t,e){u.set(t,n,e)}}}function h(t){try{return new Function("scope","return "+t+";")}catch(e){}}function c(t){try{return new Function("scope","value",t+"=value;")}catch(e){}}function l(t){t.set||(t.set=c(t.body))}var u=(n(1),n(23)),f=n(13),d=new f(1e3),p="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+p.replace(/,/g,"\\b|")+"\\b)"),m="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",_=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g=/\s/g,b=/\n/g,y=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,C=/"(\d+)"/g,k=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,$=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,w=/^(true|false)$/,x=[];e.parse=function(t,n){t=t.trim();var i=d.get(t);if(i)return n&&l(i),i;var r=e.isSimplePath(t)?a(t):o(t,n);return d.put(t,r),r},e.isSimplePath=function(t){return k.test(t)&&!w.test(t)&&"Math."!==t.slice(0,5)}},function(t,e,n){function i(){}function r(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&122>=e||e>=65&&90>=e?"ident":e>=49&&57>=e?"number":"else"}function s(t){function e(){var e=t[d+1];return"inSingleQuote"===p&&"'"===e||"inDoubleQuote"===p&&'"'===e?(d++,s=e,v.append(),!0):void 0}for(var n,s,o,a,h,c,l,u=[],d=-1,p="beforePath",v={push:function(){void 0!==o&&(u.push(o),o=void 0)},append:function(){void 0===o?o=s:o+=s}};p;)if(d++,n=t[d],"\\"!==n||!e()){if(a=r(n),l=f[p],h=l[a]||l["else"]||"error","error"===h)return;if(p=h[0],c=v[h[1]]||i,s=h[2],s=void 0===s?n:"*"===s?s+n:s,c(),"afterPath"===p)return u.raw=t,u}}function o(t){return u.test(t)?"."+t:+t===t>>>0?"["+t+"]":"*"===t.charAt(0)?"[o"+o(t.slice(1))+"]":'["'+t.replace(/"/g,'\\"')+'"]'}function a(t){}var h=n(1),c=n(13),l=new c(1e3),u=e.identRE=/^[$_a-zA-Z]+[\w$]*$/,f={beforePath:{ws:["beforePath"],ident:["inIdent","append"],"[":["beforeElement"],eof:["afterPath"]},inPath:{ws:["inPath"],".":["beforeIdent"],"[":["beforeElement"],eof:["afterPath"]},beforeIdent:{ws:["beforeIdent"],ident:["inIdent","append"]},inIdent:{ident:["inIdent","append"],0:["inIdent","append"],number:["inIdent","append"],ws:["inPath","push"],".":["beforeIdent","push"],"[":["beforeElement","push"],eof:["afterPath","push"],"]":["inPath","push"]},beforeElement:{ws:["beforeElement"],0:["afterZero","append"],number:["inIndex","append"],"'":["inSingleQuote","append",""],'"':["inDoubleQuote","append",""],ident:["inIdent","append","*"]},afterZero:{ws:["afterElement","push"],"]":["inPath","push"]},inIndex:{0:["inIndex","append"],number:["inIndex","append"],ws:["afterElement"],"]":["inPath","push"]},inSingleQuote:{"'":["afterElement"],eof:"error","else":["inSingleQuote","append"]},inDoubleQuote:{'"':["afterElement"],eof:"error","else":["inDoubleQuote","append"]},afterElement:{ws:["afterElement"],"]":["inPath","push"]}};e.compileGetter=function(t){var e="return o"+t.map(o).join("");return new Function("o",e)},e.parse=function(t){var n=l.get(t);return n||(n=s(t),n&&(n.get=e.compileGetter(n),l.put(t,n))),n},e.get=function(t,n){return n=e.parse(n),n?n.get(t):void 0},e.set=function(t,n,i){var r=t;if("string"==typeof n&&(n=e.parse(n)),!n||!h.isObject(t))return!1;for(var s,o,c=0,l=n.length;l>c;c++)s=t,o=n[c],"*"===o.charAt(0)&&(o=r[o.slice(1)]),l-1>c?(t=t[o],h.isObject(t)||(t={},s.$add(o,t),a(n))):h.isArray(t)?t.$set(o,i):o in t?t[o]=i:(t.$add(o,i),a(n));return!0}},function(t,e,n){function i(){h=[],c=[],l={},u=f=d=!1}function r(){f=!0,s(h),d=!0,s(c),i()}function s(t){for(var e=0;ea._maxUpdateCount)return}else l[e]=1;if(f&&!t.user&&d)return void t.run();(t.user?c:h).push(t),u||(u=!0,o.nextTick(r))}}},function(t,e,n){var i=n(1),r=n(12);t.exports={isLiteral:!0,bind:function(){this.el.__vue__||(this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.keepAlive=null!=this._checkParam("keep-alive"),this.readyEvent=this._checkParam("wait-for"),this.refID=i.attr(this.el,"ref"),this.keepAlive&&(this.cache={}),null!==this._checkParam("inline-template")&&(this.template=i.extractContent(this.el,!0)),this._pendingCb=this.ctorId=this.Ctor=null,this._isDynamicLiteral?this.transMode=this._checkParam("transition-mode"):this.resolveCtor(this.expression,i.bind(this.initStatic,this)))},initStatic:function(){var t=this.build(),e=this.anchor;this.setCurrent(t),this.readyEvent?t.$once(this.readyEvent,function(){t.$before(e)}):t.$before(e)},update:function(t){this.setComponent(t)},setComponent:function(t,e,n,r){this.invalidatePending(),t?this.resolveCtor(t,i.bind(function(){this.unbuild();var t=this.build(e);n&&n(t);var i=this;this.readyEvent?t.$once(this.readyEvent,function(){i.transition(t,r)}):this.transition(t,r)},this)):(this.unbuild(),this.remove(this.childVM,r),this.unsetCurrent())},resolveCtor:function(t,e){var n=this;this._pendingCb=i.cancellable(function(i){n.ctorId=t,n.Ctor=i,e()}),this.vm._resolveComponent(t,this._pendingCb)},invalidatePending:function(){this._pendingCb&&(this._pendingCb.cancel(),this._pendingCb=null)},build:function(t){if(this.keepAlive){var e=this.cache[this.ctorId];if(e)return e}var n=this.vm,i=r.clone(this.el);if(this.Ctor){var s=n.$addChild({el:i,data:t,template:this.template,_linkerCachable:!this.template,_asComponent:!0,_host:this._host,_isRouterView:this._isRouterView},this.Ctor);return this.keepAlive&&(this.cache[this.ctorId]=s),s}},unbuild:function(){var t=this.childVM;t&&!this.keepAlive&&t.$destroy(!1,!0)},remove:function(t,e){var n=this.keepAlive;t?t.$remove(function(){n||t._cleanup(),e&&e()}):e&&e()},transition:function(t,e){var n=this,i=this.childVM;switch(this.unsetCurrent(),this.setCurrent(t),n.transMode){case"in-out":t.$before(n.anchor,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t._isDestroyed||t.$before(n.anchor,e)});break;default:n.remove(i),t.$before(n.anchor,e)}},setCurrent:function(t){this.childVM=t;var e=t._refID||this.refID;e&&(this.vm.$[e]=t)},unsetCurrent:function(){var t=this.childVM;this.childVM=null;var e=t&&t._refID||this.refID;e&&(this.vm.$[e]=null)},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}}},function(t,e,n){function i(t,e){ +var n=e.template,i=h.parse(n,!0);if(i){var o=i.firstChild,c=o.tagName&&o.tagName.toLowerCase();return e.replace?i.childNodes.length>1||1!==o.nodeType||"content"===c||"partial"===c||o.hasAttribute(a.prefix+"repeat")?i:(e._replacerAttrs=r(o),s(t,o),o):(t.appendChild(i),t)}}function r(t){if(1===t.nodeType&&t.hasAttributes()){for(var e=t.attributes,n={},i=e.length;i--;)n[e[i].name]=e[i].value;return n}}function s(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)?"class"===n&&(e.className=e.className+" "+i):e.setAttribute(n,i)}var o=n(1),a=n(3),h=n(12);e.transclude=function(t,e){return e&&(e._containerAttrs=r(t)),o.isTemplate(t)&&(t=h.parse(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=o.extractContent(t),t=i(t,e))),t instanceof DocumentFragment&&(o.prepend(o.createAnchor("v-start",!0),t),t.appendChild(o.createAnchor("v-end",!0))),t}},function(t,e,n){e.text=n(29),e.html=n(30),e.attr=n(31),e.show=n(32),e["class"]=n(34),e.el=n(35),e.ref=n(36),e.cloak=n(37),e.style=n(28),e.transition=n(38),e.on=n(41),e.model=n(42),e.repeat=n(47),e["if"]=n(48),e._component=n(25),e._prop=n(16)},function(t,e,n){function i(t){if(u[t])return u[t];var e=r(t);return u[t]=u[e]=e,e}function r(t){t=t.replace(c,"$1-$2").toLowerCase();var e=s.camelize(t),n=e.charAt(0).toUpperCase()+e.slice(1);if(l||(l=document.createElement("div")),e in l.style)return t;for(var i,r=o.length;r--;)if(i=a[r]+n,i in l.style)return o[r]+t}var s=n(1),o=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],h=/!important;?$/,c=/([a-z])([A-Z])/g,l=null,u={};t.exports={deep:!0,update:function(t){this.arg?this.setProp(this.arg,t):"object"==typeof t?this.objectHandler(t):this.el.style.cssText=t},objectHandler:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.setProp(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.setProp(e,n))},setProp:function(t,e){if(t=i(t))if(null!=e&&(e+=""),e){var n=h.test(e)?"important":"";n&&(e=e.replace(h,"").trim()),this.el.style.setProperty(t,e,n)}else this.el.style.removeProperty(t)}}},function(t,e,n){var i=n(1);t.exports={bind:function(){this.attr=3===this.el.nodeType?"nodeValue":"textContent"},update:function(t){this.el[this.attr]=i.toString(t)}}},function(t,e,n){var i=n(1),r=n(12);t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(t){t=i.toString(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)i.remove(this.nodes[e]);var n=r.parse(t,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},function(t,e,n){var i="http://www.w3.org/1999/xlink",r=/^xlink:/;t.exports={priority:850,update:function(t){this.arg?this.setAttr(this.arg,t):"object"==typeof t&&this.objectHandler(t)},objectHandler:function(t){var e,n,i=this.cache||(this.cache={});for(e in i)e in t||(this.setAttr(e,null),delete i[e]);for(e in t)n=t[e],n!==i[e]&&(i[e]=n,this.setAttr(e,n))},setAttr:function(t,e){e||0===e?r.test(t)?this.el.setAttributeNS(i,t,e):this.el.setAttribute(t,e):this.el.removeAttribute(t)}}},function(t,e,n){var i=n(33);t.exports=function(t){var e=this.el;i.apply(e,t?1:-1,function(){e.style.display=t?"":"none"},this.vm)}},function(t,e,n){var i=n(1);e.append=function(t,e,n,i){r(t,1,function(){e.appendChild(t)},n,i)},e.before=function(t,e,n,s){r(t,1,function(){i.before(t,e)},n,s)},e.remove=function(t,e,n){r(t,-1,function(){i.remove(t)},e,n)},e.removeThenAppend=function(t,e,n,i){r(t,-1,function(){e.appendChild(t)},n,i)},e.blockAppend=function(t,n,r){for(var s=i.toArray(t.childNodes),o=0,a=s.length;a>o;o++)e.before(s[o],n,r)},e.blockRemove=function(t,n,i){for(var r,s=t.nextSibling;s!==n;)r=s.nextSibling,e.remove(s,i),s=r};var r=e.apply=function(t,e,n,r,s){var o=t.__v_trans;if(!o||!o.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(s&&s());var a=e>0?"enter":"leave";o[a](n,s)}},function(t,e,n){var i=n(1),r=i.addClass,s=i.removeClass;t.exports={update:function(t){if(this.arg){var e=t?r:s;e(this.el,this.arg)}else if(this.cleanup(),t&&"string"==typeof t)r(this.el,t),this.lastVal=t;else if(i.isPlainObject(t)){for(var n in t)t[n]?r(this.el,n):s(this.el,n);this.prevKeys=Object.keys(t)}},cleanup:function(t){if(this.lastVal&&s(this.el,this.lastVal),this.prevKeys)for(var e=this.prevKeys.length;e--;)t&&t[this.prevKeys[e]]||s(this.el,this.prevKeys[e])}}},function(t,e,n){t.exports={isLiteral:!0,bind:function(){this.vm.$$[this.expression]=this.el},unbind:function(){delete this.vm.$$[this.expression]}}},function(t,e,n){n(1);t.exports={isLiteral:!0,bind:function(){var t=this.el.__vue__;t&&(t._refID=this.expression)}}},function(t,e,n){var i=n(3);t.exports={bind:function(){var t=this.el;this.vm.$once("hook:compiled",function(){t.removeAttribute(i.prefix+"cloak")})}}},function(t,e,n){var i=n(1),r=n(39);t.exports={priority:1e3,isLiteral:!0,bind:function(){this._isDynamicLiteral||this.update(this.expression)},update:function(t,e){var n=this.el,s=this.el.__vue__||this.vm,o=i.resolveAsset(s.$options,"transitions",t);t=t||"v",n.__v_trans=new r(n,t,o,s),e&&i.removeClass(n,e+"-transition"),i.addClass(n,t+"-transition")}}},function(t,e,n){function i(t,e,n,i){this.el=t,this.enterClass=e+"-enter",this.leaveClass=e+"-leave",this.hooks=n,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.typeCache={};var s=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){s[t]=r.bind(s[t],s)})}var r=n(1),s=n(40),o=r.addClass,a=r.removeClass,h=r.transitionEndEvent,c=r.animationEndEvent,l=r.transitionProp+"Duration",u=r.animationProp+"Duration",f=1,d=2,p=i.prototype;p.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,o(this.el,this.enterClass),t(),this.callHookWithCb("enter"),this.cancel=this.hooks&&this.hooks.enterCancelled,s.push(this.enterNextTick)},p.enterNextTick=function(){var t=this.getCssTransitionType(this.enterClass),e=this.enterDone;t===f?(a(this.el,this.enterClass),this.setupCssCb(h,e)):t===d?this.setupCssCb(c,e):this.pendingJsCb||e()},p.enterDone=function(){this.cancel=this.pendingJsCb=null,a(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},p.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,o(this.el,this.leaveClass),this.callHookWithCb("leave"),this.cancel=this.hooks&&this.hooks.enterCancelled,this.pendingJsCb||s.push(this.leaveNextTick)},p.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===f?h:c;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},p.leaveDone=function(){this.cancel=this.pendingJsCb=null,this.op(),a(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb()},p.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,r.off(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(a(this.el,this.enterClass),a(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},p.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},p.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=r.cancellable(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},p.getCssTransitionType=function(t){if(!(!h||document.hidden||this.hooks&&this.hooks.css===!1)){var e=this.typeCache[t];if(e)return e;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[l]||i[l];if(r&&"0s"!==r)e=f;else{var s=n[u]||i[u];s&&"0s"!==s&&(e=d)}return e&&(this.typeCache[t]=e),e}},p.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,i=this.el,s=this.pendingCssCb=function(o){o.target===i&&(r.off(i,t,s),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};r.on(i,t,s)},t.exports=i},function(t,e,n){function i(){for(var t=document.documentElement.offsetHeight,e=0;er||(t(),i.nextTick(function(){var t=e._watcher.value;if(e.update(t),null!=r){var s=i.toString(t).length-r;n.setSelectionRange(s,s)}}))}}:this.listener=function(){a||t()},o&&(this.listener=i.debounce(this.listener,o)),this.event=r?"change":"input",this.hasjQuery="function"==typeof jQuery,this.hasjQuery?jQuery(n).on(this.event,this.listener):i.on(n,this.event,this.listener),!r&&i.isIE9&&(this.onCut=function(){i.nextTick(e.listener)},this.onDel=function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()},i.on(n,"cut",this.onCut),i.on(n,"keyup",this.onDel)),(n.hasAttribute("value")||"TEXTAREA"===n.tagName&&n.value.trim())&&(this._initValue=s?i.toNumber(n.value):n.value)},update:function(t){this.el.value=i.toString(t)},unbind:function(){var t=this.el;this.hasjQuery?jQuery(t).off(this.event,this.listener):i.off(t,this.event,this.listener),this.onComposeStart&&(i.off(t,"compositionstart",this.onComposeStart),i.off(t,"compositionend",this.onComposeEnd)),this.onCut&&(i.off(t,"cut",this.onCut),i.off(t,"keyup",this.onDel))}}},function(t,e,n){var i=n(1);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.value)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.value)},update:function(t){this.el.checked=t==this.el.value},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t){function e(t){l.isArray(t)&&(n.el.innerHTML="",r(n.el,t),n._watcher&&n.update(n._watcher.value))}var n=this,i=f.parse(t)[0];this.optionWatcher=new u(this.vm,i.expression,e,{deep:!0,filters:i.filters}),e(this.optionWatcher.value)}function r(t,e){for(var n,i,s=0,o=e.length;o>s;s++)n=e[s],n.options?(i=document.createElement("optgroup"),i.label=n.label,r(i,n.options)):(i=document.createElement("option"),"string"==typeof n?i.text=i.value=n:(null!=n.value&&(i.value=n.value),i.text=n.text||n.value||"",n.disabled&&(i.disabled=!0))),t.appendChild(i)}function s(){for(var t,e=this.el.options,n=0,i=e.length;i>n;n++)e[n].hasAttribute("selected")&&(this.multiple?(t||(t=[])).push(e[n].value):t=e[n].value);"undefined"!=typeof t&&(this._initValue=this.number?l.toNumber(t):t)}function o(t){return Array.prototype.filter.call(t.options,a).map(h)}function a(t){return t.selected}function h(t){return t.value||t.text}function c(t,e){for(var n=t.length;n--;)if(t[n]==e)return n;return-1}var l=n(1),u=n(17),f=n(15);t.exports={bind:function(){var t=this,e=this.el,n=this._checkParam("options");n&&i.call(this,n),this.number=null!=this._checkParam("number"),this.multiple=e.hasAttribute("multiple"),this.listener=function(){var n=t.multiple?o(e):e.value;n=t.number?l.isArray(n)?n.map(l.toNumber):l.toNumber(n):n,t.set(n)},l.on(e,"change",this.listener),s.call(this)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i=this.multiple&&l.isArray(t),r=e.options,s=r.length;s--;)n=r[s],n.selected=i?c(t,n.value)>-1:t==n.value},unbind:function(){l.off(this.el,"change",this.listener),this.optionWatcher&&this.optionWatcher.teardown()}}},function(t,e,n){var i=n(1);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.checked)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.checked)},update:function(t){this.el.checked=!!t},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t,e,n){for(var i=t.$el.previousSibling;(!i.__vue__||i.__vue__.$options._repeatId!==n)&&i!==e;)i=i.previousSibling;return i.__vue__}function r(t){for(var e=-1,n=new Array(t);++en;n++)e[t[n].$key]=t[n];return e}var o=n(1),a=o.isObject,h=o.isPlainObject,c=n(14),l=n(22),u=n(12),f=n(10),d=0,p=0,v=1,m=2,_=3;t.exports={bind:function(){this.id="__v_repeat_"+ ++d,this.start=o.createAnchor("v-repeat-start"),this.end=o.createAnchor("v-repeat-end"),o.replace(this.el,this.end),o.before(this.start,this.end),this.template=o.isTemplate(this.el)?u.parse(this.el,!0):this.el,this.checkIf(),this.checkRef(),this.checkComponent(),this.idKey=this._checkParam("track-by")||this._checkParam("trackby");var t=+this._checkParam("stagger");this.enterStagger=+this._checkParam("enter-stagger")||t,this.leaveStagger=+this._checkParam("leave-stagger")||t,this.cache=Object.create(null)},checkIf:function(){null!==o.attr(this.el,"if")},checkRef:function(){var t=o.attr(this.el,"ref");this.refID=t?this.vm.$interpolate(t):null;var e=o.attr(this.el,"el");this.elId=e?this.vm.$interpolate(e):null},checkComponent:function(){this.componentState=p;var t=this.vm.$options,e=o.checkComponent(this.el,t);if(e){this.Ctor=null,this.asComponent=!0,null!==this._checkParam("inline-template")&&(this.inlineTemplate=o.extractContent(this.el,!0));var n=c.parse(e);if(n){var i=c.tokensToExp(n);this.ctorGetter=l.parse(i).get}else this.componentId=e,this.pendingData=null}else{this.Ctor=o.Vue,this.inherit=!0,this.template=f.transclude(this.template);var r=o.extend({},t);r._asComponent=!1,this._linkFn=f.compile(this.template,r)}},resolveComponent:function(){this.componentState=v,this.vm._resolveComponent(this.componentId,o.bind(function(t){this.componentState!==_&&(this.Ctor=t,this.componentState=m,this.realUpdate(this.pendingData),this.pendingData=null)},this))},resolveDynamicComponent:function(t,e){var n,i=Object.create(this.vm);for(n in t)o.define(i,n,t[n]);for(n in e)o.define(i,n,e[n]);var r=this.ctorGetter.call(i,i),s=o.resolveAsset(this.vm.$options,"components",r);return s.options?s:o.Vue},update:function(t){if(this.componentId){var e=this.componentState;e===p?(this.pendingData=t,this.resolveComponent()):e===v?this.pendingData=t:e===m&&this.realUpdate(t)}else this.realUpdate(t)},realUpdate:function(t){this.vms=this.diff(t,this.vms),this.refID&&(this.vm.$[this.refID]=this.converted?s(this.vms):this.vms),this.elId&&(this.vm.$$[this.elId]=this.vms.map(function(t){return t.$el}))},diff:function(t,e){var n,r,s,h,c,l,u=this.idKey,f=this.converted,d=this.start,p=this.end,v=o.inDoc(d),m=this.arg,_=!e,g=new Array(t.length);for(h=0,c=t.length;c>h;h++)n=t[h],r=f?n.$value:n,l=!a(r),s=!_&&this.getVm(r,h,f?n.$key:null),s?(s._reused=!0,s.$index=h,(u||f||l)&&(m?s[m]=r:o.isPlainObject(r)?s.$data=r:s.$value=r)):(s=this.build(n,h,!0),s._reused=!1),g[h]=s,_&&s.$before(p);if(_)return g;var b=0,y=e.length-g.length;for(h=0,c=e.length;c>h;h++)s=e[h],s._reused||(this.uncacheVm(s),s.$destroy(!1,!0),this.remove(s,b++,y,v));var C,k,$,w=0;for(h=0,c=g.length;c>h;h++)s=g[h],C=g[h-1],k=C?C._staggerCb?C._staggerAnchor:C._blockEnd||C.$el:d,s._reused&&!s._staggerCb?($=i(s,d,this.id),$!==C&&this.move(s,k)):this.insert(s,w++,k,v),s._reused=!1;return g},build:function(t,e,n){var i={$index:e};this.converted&&(i.$key=t.$key);var r=this.converted?t.$value:t,s=this.arg;s?(t={},t[s]=r):h(r)?t=r:(t={},i.$value=r);var a=this.Ctor||this.resolveDynamicComponent(t,i),c=this.vm.$addChild({el:u.clone(this.template),data:t,inherit:this.inherit,template:this.inlineTemplate,_meta:i,_repeat:this.inherit,_asComponent:this.asComponent,_linkerCachable:!this.inlineTemplate&&a!==o.Vue,_host:this._host,_linkFn:this._linkFn,_repeatId:this.id},a);n&&this.cacheVm(r,c,e,this.converted?i.$key:null);var l=typeof r,f=this;return"object"!==this.rawType||"string"!==l&&"number"!==l||c.$watch(s||"$value",function(t){f.filters,f._withLock(function(){f.converted?f.rawValue[c.$key]=t:f.rawValue.$set(c.$index,t)})}),c},unbind:function(){if(this.componentState=_,this.refID&&(this.vm.$[this.refID]=null),this.vms)for(var t,e=this.vms.length;e--;)t=this.vms[e],this.uncacheVm(t),t.$destroy()},cacheVm:function(t,e,n,i){var r,s=this.idKey,h=this.cache,c=!a(t);i||s||c?(r=s?"$index"===s?n:t[s]:i||n,h[r]||(h[r]=e)):(r=this.id,t.hasOwnProperty(r)?null===t[r]&&(t[r]=e):o.define(t,r,e)),e._raw=t},getVm:function(t,e,n){var i=this.idKey,r=!a(t);if(n||i||r){var s=i?"$index"===i?e:t[i]:n||e;return this.cache[s]}return t[this.id]},uncacheVm:function(t){var e=t._raw,n=this.idKey,i=t.$index,r=t.hasOwnProperty("$key")&&t.$key,s=!a(e);if(n||r||s){var o=n?"$index"===n?i:e[n]:r||i;this.cache[o]=null}else e[this.id]=null,t._raw=null},_preProcess:function(t){this.rawValue=t;var e=this.rawType=typeof t;if(h(t)){for(var n,i=Object.keys(t),s=i.length,a=new Array(s);s--;)n=i[s],a[s]={$key:n,$value:t[n]};return this.converted=!0,a}return this.converted=!1,"number"===e?t=r(t):"string"===e&&(t=o.toArray(t)),t||[]},insert:function(t,e,n,i){t._staggerCb&&(t._staggerCb.cancel(),t._staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(i&&r){var s=t._staggerAnchor;s||(s=t._staggerAnchor=o.createAnchor("stagger-anchor"),s.__vue__=t),o.after(s,n);var a=t._staggerCb=o.cancellable(function(){t._staggerCb=null,t.$before(s),o.remove(s)});setTimeout(a,r)}else t.$after(n)},move:function(t,e){t.$after(e,null,!1)},remove:function(t,e,n,i){function r(){t.$remove(function(){t._cleanup()})}if(t._staggerCb)return t._staggerCb.cancel(),void(t._staggerCb=null);var s=this.getStagger(t,e,n,"leave");if(i&&s){var a=t._staggerCb=o.cancellable(function(){t._staggerCb=null,r()});setTimeout(a,s)}else r()},getStagger:function(t,e,n,i){i+="Stagger";var r=t.$el.__v_trans,s=r&&r.hooks,o=s&&(s[i]||s.stagger);return o?o.call(t,e,n):e*this[i]}}},function(t,e,n){function i(t){t._isAttached||t._callHook("attached")}function r(t){t._isAttached&&t._callHook("detached")}var s=n(1),o=n(10),a=n(12),h=n(33);t.exports={bind:function(){var t=this.el;t.__vue__?this.invalid=!0:(this.start=s.createAnchor("v-if-start"),this.end=s.createAnchor("v-if-end"),s.replace(t,this.end),s.before(this.start,this.end),s.isTemplate(t)?this.template=a.parse(t,!0):(this.template=document.createDocumentFragment(),this.template.appendChild(a.clone(t))),this.linker=o.compile(this.template,this.vm.$options,!0))},update:function(t){this.invalid||(t?this.unlink||this.link(a.clone(this.template),this.linker):this.teardown())},link:function(t,e){var n=this.vm;if(this.unlink=e(n,t),h.blockAppend(t,this.end,n),s.inDoc(n.$el)){var r=this.getContainedComponents();r&&r.forEach(i)}},teardown:function(){if(this.unlink){var t;s.inDoc(this.vm.$el)&&(t=this.getContainedComponents()),h.blockRemove(this.start,this.end,this.vm),t&&t.forEach(r),this.unlink(),this.unlink=null}},getContainedComponents:function(){function t(t){for(var e,r=n;e!==i;){if(e=r.nextSibling,r===t.$el||r.contains&&r.contains(t.$el))return!0;r=e}return!1}var e=this.vm,n=this.start.nextSibling,i=this.end,r=e._children.length&&e._children.filter(t),s=e._transCpnts&&e._transCpnts.filter(t);return r?s?r.concat(s):r:s},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){e.content=n(50),e.partial=n(51)},function(t,e,n){function i(t,e,n){for(var i=document.createDocumentFragment(),r=0,s=t.length;s>r;r++){var o=t[r];n&&!o.__v_selected?i.appendChild(o.cloneNode(!0)):n||o.parentNode!==e||(o.__v_selected=!0,i.appendChild(o.cloneNode(!0)))}return i}var r=n(1);t.exports={bind:function(){for(var t=this.vm,e=t;e.$options._repeat;)e=e.$parent;var n,r=e.$options._content;if(!r)return void this.fallback();var s=e.$parent,o=this.el.getAttribute("select");if(o){o=t.$interpolate(o);var a=r.querySelectorAll(o);a.length?(n=i(a,r),n.hasChildNodes()?this.compile(n,s,t):this.fallback()):this.fallback()}else{var h=this,c=function(){h.compile(i(r.childNodes,r,!0),e.$parent,t)};e._isCompiled?c():e.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(t,e,n){t&&e&&(this.unlink=e.$compile(t,n)),t?r.replace(this.el,t):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){var i=n(1),r=n(12),s=n(14),o=n(10),a=n(13),h=new a(1e3),c=n(48);t.exports={link:c.link,teardown:c.teardown,getContainedComponents:c.getContainedComponents,bind:function(){var t=this.el;this.start=i.createAnchor("v-partial-start"),this.end=i.createAnchor("v-partial-end"),i.replace(t,this.end),i.before(this.start,this.end);var e=t.getAttribute("name"),n=s.parse(e);n?this.setupDynamic(n):this.insert(e)},setupDynamic:function(t){var e=this,n=s.tokensToExp(t);this.unwatch=this.vm.$watch(n,function(t){e.teardown(),e.insert(t)},{immediate:!0,user:!1})},insert:function(t){var e=this.vm.$options.partials[t];if(e){var n=r.parse(e,!0),i=(this.vm.constructor.cid||"")+e,s=this.compile(n,i);this.link(n,s)}},compile:function(t,e){var n=h.get(e);if(n)return n;var i=o.compile(t,this.vm.$options,!0);return h.put(e,i),i},unbind:function(){this.unlink&&this.unlink(),this.unwatch&&this.unwatch()}}},function(t,e,n){var i=n(1);e.json={read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,Number(e)||2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},e.capitalize=function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},e.uppercase=function(t){return t||0===t?t.toString().toUpperCase():""},e.lowercase=function(t){return t||0===t?t.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;e.currency=function(t,e){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=e||"$";var n=Math.abs(t).toFixed(2),i=n.slice(0,-3),s=i.length%3,o=s>0?i.slice(0,s)+(i.length>3?",":""):"",a=n.slice(-3),h=0>t?"-":"";return e+h+o+i.slice(s).replace(r,"$1,")+a},e.pluralize=function(t){var e=i.toArray(arguments,1);return e.length>1?e[t%10-1]||e[e.length-1]:e[0]+(1===t?"":"s")};var s={enter:13,tab:9,"delete":46,up:38,left:37,right:39,down:40,esc:27};e.key=function(t,e){if(t){var n=s[e];return n||(n=parseInt(e,10)),function(e){return e.keyCode===n?t.call(this,e):void 0}}},e.key.keyCodes=s,i.extend(e,n(53))},function(t,e,n){function i(t,e){if(r.isPlainObject(t)){for(var n in t)if(i(t[n],e))return!0}else if(r.isArray(t)){for(var s=t.length;s--;)if(i(t[s],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}var r=n(1),s=n(23);e.filterBy=function(t,e,n,r){return n&&"in"!==n&&(r=n),null==e?t:(e=(""+e).toLowerCase(),t.filter(function(t){return r?i(s.get(t,r),e):i(t,e)}))},e.orderBy=function(t,e,n){if(!e)return t;var i=1;return arguments.length>2&&(i="-1"===n?-1:n?-1:1),t.slice().sort(function(t,n){return"$key"!==e&&"$value"!==e&&(t&&"$value"in t&&(t=t.$value),n&&"$value"in n&&(n=n.$value)),t=r.isObject(t)?s.get(t,e):t,n=r.isObject(n)?s.get(n,e):n,t===n?0:t>n?i:-i})}},function(t,e,n){var i=n(1).mergeOptions;e._init=function(t){t=t||{},this.$el=null,this.$parent=t._parent,this.$root=t._root||this,this.$={},this.$$={},this._watchers=[],this._directives=[],this._isVue=!0,this._events={},this._eventsCount={},this._eventCancelled=!1,this._isBlock=!1,this._blockStart=this._blockEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._children=[],this._childCtors={},this._transCpnts=[],this._host=t._host,this.$parent&&this.$parent._children.push(this),this._host&&this._host._transCpnts.push(this),this._reused=!1,this._staggerOp=null,t=this.$options=i(this.constructor.options,t,this),this._data={},this._initScope(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}},function(t,e,n){function i(t,e,n){if(n){var i,s,o,a;for(s in n)if(i=n[s],c.isArray(i))for(o=0,a=i.length;a>o;o++)r(t,e,s,i[o]);else r(t,e,s,i)}}function r(t,e,n,i){var r=typeof i;if("function"===r)t[e](n,i);else if("string"===r){var s=t.$options.methods,o=s&&s[i];o&&t[e](n,o)}}function s(){this._isAttached=!0,this._children.forEach(o),this._transCpnts.length&&this._transCpnts.forEach(o)}function o(t){!t._isAttached&&l(t.$el)&&t._callHook("attached")}function a(){this._isAttached=!1,this._children.forEach(h),this._transCpnts.length&&this._transCpnts.forEach(h)}function h(t){t._isAttached&&!l(t.$el)&&t._callHook("detached")}var c=n(1),l=c.inDoc;e._initEvents=function(){var t=this.$options;i(this,"$on",t.events),i(this,"$watch",t.watch)},e._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},e._callHook=function(t){var e=this.$options[t];if(e)for(var n=0,i=e.length;i>n;n++)e[n].call(this);this.$emit("hook:"+t)}},function(t,e,n){function i(){}var r=n(1),s=n(10),o=n(18),a=n(19);e._initScope=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},e._initProps=function(){var t=this.$options,e=t.el,n=t.props;this._propsUnlinkFn=e&&n?s.compileAndLinkProps(this,e,n):null},e._initData=function(){var t=this._data,e=this.$options.data,n=e&&e();if(n){this._data=n;for(var i in t)n.hasOwnProperty(i)&&void 0===t[i]||(n[i]=t[i])}var s,a,h=this._data,c=Object.keys(h);for(s=c.length;s--;)a=c[s],r.isReserved(a)||this._proxy(a);o.create(h).addVm(this)},e._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,s,a=this.$options.props;if(a)for(s=a.length;s--;)i=a[s],"$data"===i||t.hasOwnProperty(i)||t.$set(i,e[i]);for(n=Object.keys(e),s=n.length;s--;)i=n[s],r.isReserved(i)||i in t||this._unproxy(i);for(n=Object.keys(t),s=n.length;s--;)i=n[s],this.hasOwnProperty(i)||r.isReserved(i)||this._proxy(i);e.__ob__.removeVm(this),o.create(t).addVm(this),this._digest()},e._proxy=function(t){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})},e._unproxy=function(t){delete this[t]},e._digest=function(){for(var t=this._watchers.length;t--;)this._watchers[t].update();var e=this._children;for(t=e.length;t--;){var n=e[t];n.$options.inherit&&n._digest()}},e._initComputed=function(){var t=this.$options.computed;if(t)for(var e in t){var n=t[e],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r.bind(n,this),s.set=i):(s.get=n.get?r.bind(n.get,this):i,s.set=n.set?r.bind(n.set,this):i),Object.defineProperty(this,e,s)}},e._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=r.bind(t[e],this)},e._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)this._defineMeta(e,t[e])},e._defineMeta=function(t,e){var n=new a;Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return n.depend(),e},set:function(t){t!==e&&(e=t,n.notify())}})}},function(t,e,n){var i=n(1),r=n(58),s=n(10);e._compile=function(t){var e=this.$options,n=this._host;if(e._linkFn)this._initElement(t),this._unlinkFn=e._linkFn(this,t,n);else{var r=t;t=s.transclude(t,e),this._initElement(t);var o,a=s.compileAndLinkRoot(this,t,e),h=this.constructor;e._linkerCachable&&(o=h.linker,o||(o=h.linker=s.compile(t,e)));var c=o?o(this,t):s.compile(t,e)(this,t,n);this._unlinkFn=function(){a(),c(!0)},e.replace&&i.replace(r,t)}return t},e._initElement=function(t){t instanceof DocumentFragment?(this._isBlock=!0,this.$el=this._blockStart=t.firstChild,this._blockEnd=t.lastChild,3===this._blockStart.nodeType&&(this._blockStart.data=this._blockEnd.data=""),this._blockFragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},e._bindDir=function(t,e,n,i,s){this._directives.push(new r(t,e,this,n,i,s))},e._destroy=function(t,e){if(!this._isBeingDestroyed){this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;i&&!i._isBeingDestroyed&&i._children.$remove(this);var r=this._host;for(r&&!r._isBeingDestroyed&&r._transCpnts.$remove(this),n=this._children.length;n--;)this._children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var s=this;t&&this.$el?this.$remove(function(){s._cleanup()}):e||this._cleanup()}},e._cleanup=function(){this._data.__ob__.removeVm(this),this._data=this._watchers=this.$el=this.$parent=this.$root=this._children=this._transCpnts=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off()}},function(t,e,n){function i(t,e,n,i,r,s){this.name=t,this.el=e,this.vm=n,this.raw=i.raw,this.expression=i.expression,this.arg=i.arg,this.filters=i.filters,this._descriptor=i,this._host=s,this._locked=!1,this._bound=!1,this._bind(r)}var r=n(1),s=n(3),o=n(17),a=n(14),h=n(22),c=i.prototype;c._bind=function(t){if("cloak"!==this.name&&this.el&&this.el.removeAttribute&&this.el.removeAttribute(s.prefix+this.name),"function"==typeof t?this.update=t:r.extend(this,t),this._watcherExp=this.expression,this._checkDynamicLiteral(),this.bind&&this.bind(),this._watcherExp&&(this.update||this.twoWay)&&(!this.isLiteral||this._isDynamicLiteral)&&!this._checkStatement()){var e=this,n=this._update=this.update?function(t,n){e._locked||e.update(t,n)}:function(){},i=this._preProcess?r.bind(this._preProcess,this):null,a=this._watcher=new o(this.vm,this._watcherExp,n,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:i});null!=this._initValue?a.set(this._initValue):this.update&&this.update(a.value)}this._bound=!0},c._checkDynamicLiteral=function(){var t=this.expression;if(t&&this.isLiteral){var e=a.parse(t);if(e){var n=a.tokensToExp(e);this.expression=this.vm.$get(n),this._watcherExp=n,this._isDynamicLiteral=!0}}},c._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!h.isSimplePath(t)){var e=h.parse(t).get,n=this.vm,i=function(){e.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},c._checkParam=function(t){var e=this.el.getAttribute(t);return null!==e&&this.el.removeAttribute(t),e},c._teardown=function(){this._bound&&(this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown(),this.vm=this.el=this._watcher=null)},c.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},c._withLock=function(t){var e=this;e._locked=!0,t.call(e),r.nextTick(function(){e._locked=!1})},t.exports=i},function(t,e,n){var i=n(1);e._applyFilters=function(t,e,n,r){var s,o,a,h,c,l,u,f,d;for(l=0,u=n.length;u>l;l++)if(s=n[l],o=i.resolveAsset(this.$options,"filters",s.name),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(a=r?[t,e]:[t],c=r?2:1,s.args)for(f=0,d=s.args.length;d>f;f++)h=s.args[f],a[f+c]=h.dynamic?this.$get(h.value):h.value;t=o.apply(this,a)}return t},e._resolveComponent=function(t,e){var n=i.resolveAsset(this.$options,"components",t);if(n.options)e(n);else if(n.resolved)e(n.resolved);else if(n.requested)n.pendingCallbacks.push(e);else{ +n.requested=!0;var r=n.pendingCallbacks=[e];n(function(t){i.isPlainObject(t)&&(t=i.Vue.extend(t)),n.resolved=t;for(var e=0,s=r.length;s>e;e++)r[e](t)},function(t){})}}},function(t,e,n){var i=n(17),r=n(23),s=n(14),o=n(15),a=n(22),h=/[^|]\|[^|]/;e.$get=function(t){var e=a.parse(t);if(e)try{return e.get.call(this,this)}catch(n){}},e.$set=function(t,e){var n=a.parse(t,!0);n&&n.set&&n.set.call(this,this,e)},e.$add=function(t,e){this._data.$add(t,e)},e.$delete=function(t){this._data.$delete(t)},e.$watch=function(t,e,n){var r=this,s=function(t,n){e.call(r,t,n)},o=new i(r,t,s,{deep:n&&n.deep,user:!n||n.user!==!1});return n&&n.immediate&&s(o.value),function(){o.teardown()}},e.$eval=function(t){if(h.test(t)){var e=o.parse(t)[0],n=this.$get(e.expression);return e.filters?this._applyFilters(n,null,e.filters):n}return this.$get(t)},e.$interpolate=function(t){var e=s.parse(t),n=this;return e?1===e.length?n.$eval(e[0].value):e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},e.$log=function(t){var e=t?r.get(this._data,t):this._data;e&&(e=JSON.parse(JSON.stringify(e))),console.log(e)}},function(t,e,n){function i(t,e,n,i,o,a){e=s(e);var h=!c.inDoc(e),l=i===!1||h?o:a,u=!h&&!t._isAttached&&!c.inDoc(t.$el);return t._isBlock?r(t,e,l,n):l(t.$el,e,t,n),u&&t._callHook("attached"),t}function r(t,e,n,i){for(var r,s=t._blockStart,o=t._blockEnd;r!==o;)r=s.nextSibling,n(s,e,t),s=r;n(o,e,t,i)}function s(t){return"string"==typeof t?document.querySelector(t):t}function o(t,e,n,i){e.appendChild(t),i&&i()}function a(t,e,n,i){c.before(t,e),i&&i()}function h(t,e,n){c.remove(t),n&&n()}var c=n(1),l=n(33);e.$nextTick=function(t){c.nextTick(t,this)},e.$appendTo=function(t,e,n){return i(this,t,e,n,o,l.append)},e.$prependTo=function(t,e,n){return t=s(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},e.$before=function(t,e,n){return i(this,t,e,n,a,l.before)},e.$after=function(t,e,n){return t=s(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},e.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var n=this._isAttached&&c.inDoc(this.$el);n||(e=!1);var i,s=this,a=function(){n&&s._callHook("detached"),t&&t()};return this._isBlock&&!this._blockFragment.hasChildNodes()?(i=e===!1?o:l.removeThenAppend,r(this,this._blockFragment,i,a)):(i=e===!1?h:l.remove)(this.$el,this,a),this}},function(t,e,n){function i(t,e,n){var i=t.$parent;if(i&&n&&!s.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+n,i=i.$parent}var r=n(1);e.$on=function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),i(this,t,1),this},e.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},e.$off=function(t,e){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&i(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return i(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===e||r.fn===e){i(this,t,-1),n.splice(s,1);break}return this},e.$emit=function(t){this._eventCancelled=!1;var e=this._events[t];if(e){for(var n=arguments.length-1,i=new Array(n);n--;)i[n]=arguments[n+1];n=0,e=e.length>1?r.toArray(e):e;for(var s=e.length;s>n;n++)e[n].apply(this,i)===!1&&(this._eventCancelled=!0)}return this},e.$broadcast=function(t){if(this._eventsCount[t]){for(var e=this._children,n=0,i=e.length;i>n;n++){var r=e[n];r.$emit.apply(r,arguments),r._eventCancelled||r.$broadcast.apply(r,arguments)}return this}},e.$dispatch=function(){for(var t=this.$parent;t;)t.$emit.apply(t,arguments),t=t._eventCancelled?null:t.$parent;return this};var s=/^hook:/},function(t,e,n){var i=n(1);e.$addChild=function(t,e){e=e||i.Vue,t=t||{};var n,r=this,s=void 0!==t.inherit?t.inherit:e.options.inherit;if(s){var o=r._childCtors;if(n=o[e.cid],!n){var a=e.options.name,h=a?i.classify(a):"VueComponent";n=new Function("return function "+h+" (options) {this.constructor = "+h+";this._init(options) }")(),n.options=e.options,n.linker=e.linker,n.prototype=this,o[e.cid]=n}}else n=e;t._parent=r,t._root=r.$root;var c=new n(t);return c}},function(t,e,n){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=n(1),s=n(10);e.$mount=function(t){if(!this._isCompiled){if(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return}}else t=document.createElement("div");return this._compile(t),this._isCompiled=!0,this._callHook("compiled"),r.inDoc(this.$el)?(this._callHook("attached"),this._initDOMHooks(),i.call(this)):(this._initDOMHooks(),this.$once("hook:attached",i)),this}},e.$destroy=function(t,e){this._destroy(t,e)},e.$compile=function(t,e){return s.compile(t,this.$options,!0,e)(this,t)}}])}); \ No newline at end of file diff --git a/package.json b/package.json index 695e5e18530..f2487e0c321 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "0.12.1", + "version": "0.12.2", "author": "Evan You ", "license": "MIT", "description": "Simple, Fast & Composable MVVM for building interative interfaces",