mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 04:57:40 +08:00
7 lines
50 KiB
JavaScript
7 lines
50 KiB
JavaScript
/*!
|
|
* Vue.js v2.1.8
|
|
* (c) 2014-2016 Evan You
|
|
* Released under the MIT License.
|
|
*/
|
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function e(t){var e=parseFloat(t,10);return e||0===e?e:t}function n(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function r(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function i(t,e){return gn.call(t,e)}function o(t){return"string"==typeof t||"number"==typeof t}function a(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function s(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function c(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function l(t,e){for(var n in e)t[n]=e[n];return t}function u(t){return null!==t&&"object"==typeof t}function f(t){return kn.call(t)===xn}function d(t){for(var e={},n=0;n<t.length;n++)t[n]&&l(e,t[n]);return e}function p(){}function v(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function h(t,e){var n=u(t),r=u(e);return n&&r?JSON.stringify(t)===JSON.stringify(e):!n&&!r&&String(t)===String(e)}function m(t,e){for(var n=0;n<t.length;n++)if(h(t[n],e))return n;return-1}function y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function _(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function g(t){if(!Tn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function b(t){return/native code/.test(t.toString())}function C(t){qn.target&&Kn.push(qn.target),qn.target=t}function w(){qn.target=Kn.pop()}function $(t,e){t.__proto__=e}function A(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];_(t,o,e[o])}}function k(t,e){if(u(t)){var n;return i(t,"__ob__")&&t.__ob__ instanceof Qn?n=t.__ob__:Zn.shouldConvert&&!Rn()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Qn(t)),e&&n&&n.vmCount++,n}}function x(t,e,n,r){var i=new qn,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,c=k(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return qn.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(e)&&E(e)),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||(s?s.call(t,e):n=e,c=k(e),i.notify())}})}}function O(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(i(t,e))return void(t[e]=n);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(x(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function S(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||i(t,e)&&(delete t[e],n&&n.dep.notify())}function E(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&E(e)}function T(t,e){if(!e)return t;for(var n,r,o,a=Object.keys(e),s=0;s<a.length;s++)n=a[s],r=t[n],o=e[n],i(t,n)?f(r)&&f(o)&&T(r,o):O(t,n,o);return t}function j(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function D(t,e){var n=Object.create(t||null);return e?l(n,e):n}function P(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(i=Cn(r),o[i]={type:null});else if(f(e))for(var a in e)r=e[a],i=Cn(a),o[i]=f(r)?r:{type:r};t.props=o}}function L(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function N(t,e,n){function r(r){var i=Xn[r]||Yn;u[r]=i(t[r],e[r],n,r)}P(e),L(e);var o=e.extends;if(o&&(t="function"==typeof o?N(t,o.options,n):N(t,o,n)),e.mixins)for(var a=0,s=e.mixins.length;a<s;a++){var c=e.mixins[a];c.prototype instanceof Ht&&(c=c.options),t=N(t,c,n)}var l,u={};for(l in t)r(l);for(l in e)i(t,l)||r(l);return u}function M(t,e,n,r){if("string"==typeof n){var o=t[e];if(i(o,n))return o[n];var a=Cn(n);if(i(o,a))return o[a];var s=wn(a);if(i(o,s))return o[s];var c=o[n]||o[a]||o[s];return c}}function I(t,e,n,r){var o=e[t],a=!i(n,t),s=n[t];if(B(Boolean,o.type)&&(a&&!i(o,"default")?s=!1:B(String,o.type)||""!==s&&s!==An(t)||(s=!0)),void 0===s){s=U(r,o,t);var c=Zn.shouldConvert;Zn.shouldConvert=!0,k(s),Zn.shouldConvert=c}return s}function U(t,e,n){if(i(e,"default")){var r=e.default;return u(r),t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t[n]?t[n]:"function"==typeof r&&e.type!==Function?r.call(t):r}}function R(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function B(t,e){if(!Array.isArray(e))return R(e)===R(t);for(var n=0,r=e.length;n<r;n++)if(R(e[n])===R(t))return!0;return!1}function V(){er.length=0,nr={},rr=ir=!1}function H(){for(ir=!0,er.sort(function(t,e){return t.id-e.id}),or=0;or<er.length;or++){var t=er[or],e=t.id;nr[e]=null,t.run()}Bn&&En.devtools&&Bn.emit("flush"),V()}function z(t){var e=t.id;if(null==nr[e]){if(nr[e]=!0,ir){for(var n=er.length-1;n>=0&&er[n].id>t.id;)n--;er.splice(Math.max(n,or)+1,0,t)}else er.push(t);rr||(rr=!0,Vn(H))}}function F(t){lr.clear(),q(t,lr)}function q(t,e){var n,r,i=Array.isArray(t);if((i||u(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)q(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)q(t[r[n]],e)}}function K(t){t._watchers=[];var e=t.$options;e.props&&W(t,e.props),e.methods&&Q(t,e.methods),e.data?J(t):k(t._data={},!0),e.computed&&G(t,e.computed),e.watch&&X(t,e.watch)}function W(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),i=!t.$parent;Zn.shouldConvert=i;for(var o=function(i){var o=r[i];x(t,o,I(o,e,n,t))},a=0;a<r.length;a++)o(a);Zn.shouldConvert=!0}function J(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},f(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&i(r,n[o])||et(t,n[o]);k(e,!0)}function G(t,e){for(var n in e){var r=e[n];"function"==typeof r?(ur.get=Z(r,t),ur.set=p):(ur.get=r.get?r.cache!==!1?Z(r.get,t):s(r.get,t):p,ur.set=r.set?s(r.set,t):p),Object.defineProperty(t,n,ur)}}function Z(t,e){var n=new sr(e,t,p,{lazy:!0});return function(){return n.dirty&&n.evaluate(),qn.target&&n.depend(),n.value}}function Q(t,e){for(var n in e)t[n]=null==e[n]?p:s(e[n],t)}function X(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Y(t,n,r[i]);else Y(t,n,r)}}function Y(t,e,n){var r;f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function tt(t){var e={};e.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=O,t.prototype.$delete=S,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new sr(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function et(t,e){y(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function nt(t){return new fr(void 0,void 0,void 0,String(t))}function rt(t){var e=new fr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function it(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=rt(t[n]);return e}function ot(t,e,n,r){r+=e;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[e];o?t[e]=function(){o.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function at(t,e,n,r,i){var o,a,s,c,l,u,f;for(o in t)if(a=t[o],s=e[o],a)if(s){if(a!==s)if(Array.isArray(s)){s.length=a.length;for(var d=0;d<s.length;d++)s[d]=a[d];t[o]=s}else s.fn=a,t[o]=s}else f="~"===o.charAt(0),l=f?o.slice(1):o,u="!"===l.charAt(0),l=u?l.slice(1):l,Array.isArray(a)?n(l,a.invoker=st(a),f,u):(a.invoker||(c=a,a=t[o]={},a.fn=c,a.invoker=ct(a)),n(l,a.invoker,f,u));else;for(o in e)t[o]||(f="~"===o.charAt(0),l=f?o.slice(1):o,u="!"===l.charAt(0),l=u?l.slice(1):l,r(l,e[o].invoker,u))}function st(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function ct(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function lt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function ut(t){return o(t)?[nt(t)]:Array.isArray(t)?ft(t):void 0}function ft(t,e){var n,r,i,a=[];for(n=0;n<t.length;n++)r=t[n],null!=r&&"boolean"!=typeof r&&(i=a[a.length-1],Array.isArray(r)?a.push.apply(a,ft(r,(e||"")+"_"+n)):o(r)?i&&i.text?i.text+=String(r):""!==r&&a.push(nt(r)):r.text&&i&&i.text?a[a.length-1]=nt(i.text+r.text):(r.tag&&null==r.key&&null!=e&&(r.key="__vlist"+e+"_"+n+"__"),a.push(r)));return a}function dt(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function pt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&mt(t,e)}function vt(t,e,n){n?cr.$once(t,e):cr.$on(t,e)}function ht(t,e){cr.$off(t,e)}function mt(t,e,n){cr=t,at(e,n||{},vt,ht,t)}function yt(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;return(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function _t(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function gt(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=dr),bt(n,"beforeMount"),n._watcher=new sr(n,function(){n._update(n._render(),e)},p),e=!1,null==n.$vnode&&(n._isMounted=!0,bt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&bt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=pr;pr=n,n._vnode=t,i?n.$el=n.__patch__(i,t):n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),pr=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&bt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$vnode=n,i._vnode&&(i._vnode.parent=n),i.$options._renderChildren=r,t&&i.$options.props){Zn.shouldConvert=!1;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var c=a[s];i[c]=I(c,i.$options.props,t,i)}Zn.shouldConvert=!0,i.$options.propsData=t}if(e){var l=i.$options._parentListeners;i.$options._parentListeners=e,mt(i,e,l)}o&&(i.$slots=Ut(r,n.context),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){bt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||r(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,bt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function bt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t._hasHookEvent&&t.$emit("hook:"+e)}function Ct(t,e,n,r,i){if(t){var o=n.$options._base;if(u(t)&&(t=o.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=St(t,o,function(){n.$forceUpdate()}),!t)return;Vt(t),e=e||{};var a=Et(e,t);if(t.options.functional)return wt(t,a,e,n,r);var s=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),jt(e);var c=t.options.name||i,l=new fr("vue-component-"+t.cid+(c?"-"+c:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:s,tag:i,children:r});return l}}}function wt(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var s in a)o[s]=I(s,a,e);var c=Object.create(r),l=function(t,e,n,r){return Pt(c,t,e,n,r,!0)},u=t.options.render.call(null,l,{props:o,data:n,parent:r,children:i,slots:function(){return Ut(i,r)}});return u instanceof fr&&(u.functionalContext=r,n.slot&&((u.data||(u.data={})).slot=n.slot)),u}function $t(t,e,n,r){var i=t.componentOptions,o={_isComponent:!0,parent:e,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new i.Ctor(o)}function At(t,e,n,r){if(!t.child||t.child._isDestroyed){var i=t.child=$t(t,pr,n,r);i.$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var o=t;kt(o,o)}}function kt(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function xt(t){t.child._isMounted||(t.child._isMounted=!0,bt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,bt(t.child,"activated"))}function Ot(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,bt(t.child,"deactivated")):t.child.$destroy())}function St(t,e,n){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[n],i=!0,o=function(n){if(u(n)&&(n=e.extend(n)),t.resolved=n,!i)for(var o=0,a=r.length;o<a;o++)r[o](n)},a=function(t){},s=t(o,a);return s&&"function"==typeof s.then&&!t.resolved&&s.then(o,a),i=!1,t.resolved}t.pendingCallbacks.push(n)}function Et(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var c=An(s);Tt(r,o,s,c,!0)||Tt(r,i,s,c)||Tt(r,a,s,c)}return r}}function Tt(t,e,n,r,o){if(e){if(i(e,n))return t[n]=e[n],o||delete e[n],!0;if(i(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function jt(t){t.hook||(t.hook={});for(var e=0;e<hr.length;e++){var n=hr[e],r=t.hook[n],i=vr[n];t.hook[n]=r?Dt(i,r):i}}function Dt(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}function Pt(t,e,n,r,i,a){return(Array.isArray(n)||o(n))&&(i=r,r=n,n=void 0),a&&(i=yr),Lt(t,e,n,r,i)}function Lt(t,e,n,r,i){if(n&&n.__ob__)return dr();if(!e)return dr();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===yr?r=ut(r):i===mr&&(r=lt(r));var o,a;if("string"==typeof e){var s;a=En.getTagNamespace(e),o=En.isReservedTag(e)?new fr(En.parsePlatformTagName(e),n,r,void 0,void 0,t):(s=M(t.$options,"components",e))?Ct(s,n,t,r,e):new fr(e,n,r,void 0,void 0,t)}else o=Ct(e,n,t,r);return o?(a&&Nt(o,a),o):dr()}function Nt(t,e){if(t.ns=e,"foreignObject"!==t.tag&&t.children)for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];i.tag&&!i.ns&&Nt(i,e)}}function Mt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var e=t.$options._parentVnode,n=e&&e.context;t.$slots=Ut(t.$options._renderChildren,n),t.$scopedSlots={},t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)},t.$options.el&&t.$mount(t.$options.el)}function It(n){function r(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&i(t[r],e+"_"+r,n);else i(t,e,n)}function i(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}n.prototype.$nextTick=function(t){return Vn(t,this)},n.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=it(t.$slots[o]);i&&i.data.scopedSlots&&(t.$scopedSlots=i.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(!En.errorHandler)throw e;En.errorHandler.call(null,e,t),a=t._vnode}return a instanceof fr||(a=dr()),a.parent=i,a},n.prototype._s=t,n.prototype._v=nt,n.prototype._n=e,n.prototype._e=dr,n.prototype._q=h,n.prototype._i=m,n.prototype._m=function(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?it(n):rt(n):(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),r(n,"__static__"+t,!1),n)},n.prototype._o=function(t,e,n){return r(t,"__once__"+e+(n?"_"+n:""),!0),t},n.prototype._f=function(t){return M(this.$options,"filters",t,!0)||Sn},n.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(u(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},n.prototype._t=function(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&l(n,r),i(n)||e;var o=this.$slots[t];return o||e},n.prototype._b=function(t,e,n,r){if(n)if(u(n)){Array.isArray(n)&&(n=d(n));for(var i in n)if("class"===i||"style"===i)t[i]=n[i];else{var o=r||En.mustUseProp(e,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});o[i]=n[i]}}else;return t},n.prototype._k=function(t,e,n){var r=En.keyCodes[e]||n;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function Ut(t,e){var n={};if(!t)return n;for(var r,i,o=[],a=0,s=t.length;a<s;a++)if(i=t[a],(i.context===e||i.functionalContext===e)&&i.data&&(r=i.data.slot)){var c=n[r]||(n[r]=[]);"template"===i.tag?c.push.apply(c,i.children):c.push(i)}else o.push(i);return o.length&&(1!==o.length||" "!==o[0].text&&!o[0].isComment)&&(n.default=o),n}function Rt(t){t.prototype._init=function(t){var e=this;e._uid=_r++,e._isVue=!0,t&&t._isComponent?Bt(e,t):e.$options=N(Vt(e.constructor),t||{},e),e._renderProxy=e,e._self=e,_t(e),pt(e),bt(e,"beforeCreate"),K(e),bt(e,"created"),Mt(e)}}function Bt(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Vt(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,i=t.extendOptions;n!==r&&(t.superOptions=n,i.render=e.render,i.staticRenderFns=e.staticRenderFns,i._scopeId=e._scopeId,e=t.options=N(n,i),e.name&&(e.components[e.name]=t))}return e}function Ht(t){this._init(t)}function zt(t){t.use=function(t){if(!t.installed){var e=c(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Ft(t){t.mixin=function(t){this.options=N(this.options,t)}}function qt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=N(n.options,t),a.super=n,a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,En._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,i[r]=a,a}}function Kt(t){En._assetTypes.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Wt(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:t.test(e)}function Jt(t){var e={};e.get=function(){return En},Object.defineProperty(t,"config",e),t.util=tr,t.set=O,t.delete=S,t.nextTick=Vn,t.options=Object.create(null),En._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,Cr),zt(t),Ft(t),qt(t),Kt(t)}function Gt(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Zt(r.data,e));for(;n=n.parent;)n.data&&(e=Zt(e,n.data));return Qt(e)}function Zt(t,e){return{staticClass:Xt(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Qt(t){var e=t.class,n=t.staticClass;return n||e?Xt(n,Yt(e)):""}function Xt(t,e){return t?e?t+" "+e:t:e||""}function Yt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=Yt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(u(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function te(t){return Lr(t)?"svg":"math"===t?"math":void 0}function ee(t){if(!Dn)return!0;if(Nr(t))return!1;if(t=t.toLowerCase(),null!=Mr[t])return Mr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Mr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Mr[t]=/HTMLUnknownElement/.test(e.toString())}function ne(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function re(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function ie(t,e){return document.createElementNS(Dr[t],e)}function oe(t){return document.createTextNode(t)}function ae(t){return document.createComment(t)}function se(t,e,n){t.insertBefore(e,n)}function ce(t,e){t.removeChild(e)}function le(t,e){t.appendChild(e)}function ue(t){return t.parentNode}function fe(t){return t.nextSibling}function de(t){return t.tagName}function pe(t,e){t.textContent=e}function ve(t,e,n){t.setAttribute(e,n)}function he(t,e){var n=t.data.ref;if(n){var i=t.context,o=t.child||t.elm,a=i.$refs;e?Array.isArray(a[n])?r(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(o)<0?a[n].push(o):a[n]=[o]:a[n]=o}}function me(t){return null==t}function ye(t){return null!=t}function _e(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function ge(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,ye(i)&&(o[i]=r);return o}function be(t){function e(t){return new fr(O.tagName(t).toLowerCase(),{},[],void 0,t)}function r(t,e){function n(){0===--n.listeners&&i(t)}return n.listeners=e,n}function i(t){var e=O.parentNode(t);e&&O.removeChild(e,t)}function a(t,e,n,r,i){if(t.isRootInsert=!i,!s(t,e,n,r)){var o=t.data,a=t.children,c=t.tag;ye(c)?(t.elm=t.ns?O.createElementNS(t.ns,c):O.createElement(c,t),v(t),u(t,a,e),ye(o)&&d(t,e),l(n,t.elm,r)):t.isComment?(t.elm=O.createComment(t.text),l(n,t.elm,r)):(t.elm=O.createTextNode(t.text),l(n,t.elm,r))}}function s(t,e,n,r){var i=t.data;if(ye(i)){var o=ye(t.child)&&i.keepAlive;if(ye(i=i.hook)&&ye(i=i.init)&&i(t,!1,n,r),ye(t.child))return p(t,e),o&&c(t,e,n,r),!0}}function c(t,e,n,r){for(var i,o=t;o.child;)if(o=o.child._vnode,ye(i=o.data)&&ye(i=i.transition)){for(i=0;i<k.activate.length;++i)k.activate[i](Rr,o);e.push(o);break}l(n,t.elm,r)}function l(t,e,n){t&&(n?O.insertBefore(t,e,n):O.appendChild(t,e))}function u(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)a(e[r],n,t.elm,null,!0);else o(t.text)&&O.appendChild(t.elm,O.createTextNode(t.text))}function f(t){for(;t.child;)t=t.child._vnode;return ye(t.tag)}function d(t,e){for(var n=0;n<k.create.length;++n)k.create[n](Rr,t);$=t.data.hook,ye($)&&($.create&&$.create(Rr,t),$.insert&&e.push(t))}function p(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,f(t)?(d(t,e),v(t)):(he(t),e.push(t))}function v(t){var e;ye(e=t.context)&&ye(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,""),ye(e=pr)&&e!==t.context&&ye(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,"")}function h(t,e,n,r,i,o){for(;r<=i;++r)a(n[r],o,t,e)}function m(t){var e,n,r=t.data;if(ye(r))for(ye(e=r.hook)&&ye(e=e.destroy)&&e(t),e=0;e<k.destroy.length;++e)k.destroy[e](t);if(ye(e=t.children))for(n=0;n<t.children.length;++n)m(t.children[n])}function y(t,e,n,r){for(;n<=r;++n){var o=e[n];ye(o)&&(ye(o.tag)?(_(o),m(o)):i(o.elm))}}function _(t,e){if(e||ye(t.data)){var n=k.remove.length+1;for(e?e.listeners+=n:e=r(t.elm,n),ye($=t.child)&&ye($=$._vnode)&&ye($.data)&&_($,e),$=0;$<k.remove.length;++$)k.remove[$](t,e);ye($=t.data.hook)&&ye($=$.remove)?$(t,e):e()}else i(t.elm)}function g(t,e,n,r,i){for(var o,s,c,l,u=0,f=0,d=e.length-1,p=e[0],v=e[d],m=n.length-1,_=n[0],g=n[m],C=!i;u<=d&&f<=m;)me(p)?p=e[++u]:me(v)?v=e[--d]:_e(p,_)?(b(p,_,r),p=e[++u],_=n[++f]):_e(v,g)?(b(v,g,r),v=e[--d],g=n[--m]):_e(p,g)?(b(p,g,r),C&&O.insertBefore(t,p.elm,O.nextSibling(v.elm)),p=e[++u],g=n[--m]):_e(v,_)?(b(v,_,r),C&&O.insertBefore(t,v.elm,p.elm),v=e[--d],_=n[++f]):(me(o)&&(o=ge(e,u,d)),s=ye(_.key)?o[_.key]:null,me(s)?(a(_,r,t,p.elm),_=n[++f]):(c=e[s],_e(c,_)?(b(c,_,r),e[s]=void 0,C&&O.insertBefore(t,_.elm,p.elm),_=n[++f]):(a(_,r,t,p.elm),_=n[++f])));u>d?(l=me(n[m+1])?null:n[m+1].elm,h(t,l,n,f,m,r)):f>m&&y(t,e,u,d)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.child=t.child);var i,o=e.data,a=ye(o);a&&ye(i=o.hook)&&ye(i=i.prepatch)&&i(t,e);var s=e.elm=t.elm,c=t.children,l=e.children;if(a&&f(e)){for(i=0;i<k.update.length;++i)k.update[i](t,e);ye(i=o.hook)&&ye(i=i.update)&&i(t,e)}me(e.text)?ye(c)&&ye(l)?c!==l&&g(s,c,l,n,r):ye(l)?(ye(t.text)&&O.setTextContent(s,""),h(s,null,l,0,l.length-1,n)):ye(c)?y(s,c,0,c.length-1):ye(t.text)&&O.setTextContent(s,""):t.text!==e.text&&O.setTextContent(s,e.text),a&&ye(i=o.hook)&&ye(i=i.postpatch)&&i(t,e)}}function C(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function w(t,e,n){e.elm=t;var r=e.tag,i=e.data,o=e.children;if(ye(i)&&(ye($=i.hook)&&ye($=$.init)&&$(e,!0),ye($=e.child)))return p(e,n),!0;if(ye(r)){if(ye(o))if(t.hasChildNodes()){for(var a=!0,s=t.firstChild,c=0;c<o.length;c++){if(!s||!w(s,o[c],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else u(e,o,n);if(ye(i))for(var l in i)if(!S(l)){d(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var $,A,k={},x=t.modules,O=t.nodeOps;for($=0;$<Br.length;++$)for(k[Br[$]]=[],A=0;A<x.length;++A)void 0!==x[A][Br[$]]&&k[Br[$]].push(x[A][Br[$]]);var S=n("attrs,style,class,staticClass,staticStyle,key");return function(t,n,r,i,o,s){if(!n)return void(t&&m(t));var c,l,u=!1,d=[];if(t){var p=ye(t.nodeType);if(!p&&_e(t,n))b(t,n,d,i);else{if(p){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&w(t,n,d))return C(n,d,!0),t;t=e(t)}if(c=t.elm,l=O.parentNode(c),a(n,d,l,O.nextSibling(c)),n.parent){for(var v=n.parent;v;)v.elm=n.elm,v=v.parent;if(f(n))for(var h=0;h<k.create.length;++h)k.create[h](Rr,n.parent)}null!==l?y(l,[t],0,0):ye(t.tag)&&m(t)}}else u=!0,a(n,d,o,s);return C(n,d,u),n.elm}}function Ce(t,e){(t.data.directives||e.data.directives)&&we(t,e)}function we(t,e){var n,r,i,o=t===Rr,a=e===Rr,s=$e(t.data.directives,t.context),c=$e(e.data.directives,e.context),l=[],u=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,ke(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(ke(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n<l.length;n++)ke(l[n],"inserted",e,t)};o?ot(e.data.hook||(e.data.hook={}),"insert",f,"dir-insert"):f()}if(u.length&&ot(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<u.length;n++)ke(u[n],"componentUpdated",e,t)},"dir-postpatch"),!o)for(n in s)c[n]||ke(s[n],"unbind",t,t,a)}function $e(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=Hr),n[Ae(i)]=i,i.def=M(e.$options,"directives",i.name,!0);return n}function Ae(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ke(t,e,n,r,i){var o=t.def&&t.def[e];o&&o(n.elm,t,n,r,i)}function xe(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=l({},s));for(n in s)r=s[n],i=a[n],i!==r&&Oe(o,n,r);Nn&&s.value!==a.value&&Oe(o,"value",s.value);for(n in a)null==s[n]&&(Er(n)?o.removeAttributeNS(Sr,Tr(n)):xr(n)||o.removeAttribute(n))}}function Oe(t,e,n){Or(e)?jr(n)?t.removeAttribute(e):t.setAttribute(e,e):xr(e)?t.setAttribute(e,jr(n)||"false"===n?"false":"true"):Er(e)?jr(n)?t.removeAttributeNS(Sr,Tr(e)):t.setAttributeNS(Sr,e,n):jr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Se(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Gt(e),a=n._transitionClasses;a&&(o=Xt(o,Yt(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function Ee(t,e,n,r){if(n){var i=e;e=function(n){Te(t,e,r),1===arguments.length?i(n):i.apply(null,arguments)}}wr.addEventListener(t,e,r)}function Te(t,e,n){wr.removeEventListener(t,e,n)}function je(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{};wr=e.elm,at(n,r,Ee,Te,e.context)}}function De(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=l({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],("textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),r!==o[n]))&&("checked"!==n||Le(i,r)))if("value"===n){i._value=r;var s=null==r?"":String(r);Pe(i,e,s)&&(i.value=s)}else i[n]=r}}function Pe(t,e,n){return!(t.composing||"option"!==e.tag&&!Le(t,n)&&!Ne(e,n))}function Le(t,e){return document.activeElement!==t&&t.value!==e}function Ne(t,n){var r=t.elm.value,i=t.elm._vModifiers;return i&&i.number||"number"===t.elm.type?e(r)!==e(n):i&&i.trim?r.trim()!==n.trim():r!==n}function Me(t){var e=Ie(t.style);return t.staticStyle?l(t.staticStyle,e):e}function Ie(t){return Array.isArray(t)?d(t):"string"==typeof t?Jr(t):t}function Ue(t,e){var n,r={};if(e)for(var i=t;i.child;)i=i.child._vnode,i.data&&(n=Me(i.data))&&l(r,n);(n=Me(t.data))&&l(r,n);for(var o=t;o=o.parent;)o.data&&(n=Me(o.data))&&l(r,n);return r}function Re(t,e){var n=e.data,r=t.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=e.elm,s=t.data.staticStyle,c=t.data.style||{},u=s||c,f=Ie(e.data.style)||{};e.data.style=f.__ob__?l({},f):f;var d=Ue(e,!0);for(o in u)null==d[o]&&Qr(a,o,"");for(o in d)i=d[o],i!==u[o]&&Qr(a,o,null==i?"":i)}}function Be(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+t.getAttribute("class")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ve(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function He(t){ci(function(){ci(t)})}function ze(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Be(t,e)}function Fe(t,e){t._transitionClasses&&r(t._transitionClasses,e),Ve(t,e)}function qe(t,e,n){var r=Ke(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ni?oi:si,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout(function(){c<a&&l()},o+1),t.addEventListener(s,u)}function Ke(t,e){var n,r=window.getComputedStyle(t),i=r[ii+"Delay"].split(", "),o=r[ii+"Duration"].split(", "),a=We(i,o),s=r[ai+"Delay"].split(", "),c=r[ai+"Duration"].split(", "),l=We(s,c),u=0,f=0;e===ni?a>0&&(n=ni,u=a,f=o.length):e===ri?l>0&&(n=ri,u=l,f=c.length):(u=Math.max(a,l),n=u>0?a>l?ni:ri:null,f=n?n===ni?o.length:c.length:0);var d=n===ni&&li.test(r[ii+"Property"]);return{type:n,timeout:u,propCount:f,hasTransform:d}}function We(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Je(e)+Je(t[n])}))}function Je(t){return 1e3*Number(t.slice(0,-1))}function Ge(t,e){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Qe(t.data.transition);if(r&&!n._enterCb&&1===n.nodeType){for(var i=r.css,o=r.type,a=r.enterClass,s=r.enterToClass,c=r.enterActiveClass,l=r.appearClass,u=r.appearToClass,f=r.appearActiveClass,d=r.beforeEnter,p=r.enter,v=r.afterEnter,h=r.enterCancelled,m=r.beforeAppear,y=r.appear,_=r.afterAppear,g=r.appearCancelled,b=pr,C=pr.$vnode;C&&C.parent;)C=C.parent,
|
|
b=C.context;var w=!b._isMounted||!t.isRootInsert;if(!w||y||""===y){var $=w?l:a,A=w?f:c,k=w?u:s,x=w?m||d:d,O=w&&"function"==typeof y?y:p,S=w?_||v:v,E=w?g||h:h,T=i!==!1&&!Nn,j=O&&(O._length||O.length)>1,D=n._enterCb=Xe(function(){T&&(Fe(n,k),Fe(n,A)),D.cancelled?(T&&Fe(n,$),E&&E(n)):S&&S(n),n._enterCb=null});t.data.show||ot(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),O&&O(n,D)},"transition-insert"),x&&x(n),T&&(ze(n,$),ze(n,A),He(function(){ze(n,k),Fe(n,$),D.cancelled||j||qe(n,o,D)})),t.data.show&&(e&&e(),O&&O(n,D)),T||j||D()}}}function Ze(t,e){function n(){y.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),u&&u(r),h&&(ze(r,s),ze(r,l),He(function(){ze(r,c),Fe(r,s),y.cancelled||m||qe(r,a,y)})),f&&f(r,y),h||m||y())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Qe(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,c=i.leaveToClass,l=i.leaveActiveClass,u=i.beforeLeave,f=i.leave,d=i.afterLeave,p=i.leaveCancelled,v=i.delayLeave,h=o!==!1&&!Nn,m=f&&(f._length||f.length)>1,y=r._leaveCb=Xe(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&(Fe(r,c),Fe(r,l)),y.cancelled?(h&&Fe(r,s),p&&p(r)):(e(),d&&d(r)),r._leaveCb=null});v?v(n):n()}}function Qe(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&l(e,ui(t.name||"v")),l(e,t),e}return"string"==typeof t?ui(t):void 0}}function Xe(t){var e=!1;return function(){e||(e=!0,t())}}function Ye(t,e){e.data.show||Ge(e)}function tn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=m(r,nn(a))>-1,a.selected!==o&&(a.selected=o);else if(h(nn(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function en(t,e){for(var n=0,r=e.length;n<r;n++)if(h(nn(e[n]),t))return!1;return!0}function nn(t){return"_value"in t?t._value:t.value}function rn(t){t.target.composing=!0}function on(t){t.target.composing=!1,an(t.target,"input")}function an(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function sn(t){return!t.child||t.data&&t.data.transition?t:sn(t.child._vnode)}function cn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?cn(dt(e.children)):t}function ln(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[Cn(o)]=i[o].fn;return e}function un(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function fn(t){for(;t=t.parent;)if(t.data.transition)return!0}function dn(t,e){return e.key===t.key&&e.tag===t.tag}function pn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function vn(t){t.data.newPos=t.elm.getBoundingClientRect()}function hn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var mn,yn,_n=n("slot,component",!0),gn=Object.prototype.hasOwnProperty,bn=/-(\w)/g,Cn=a(function(t){return t.replace(bn,function(t,e){return e?e.toUpperCase():""})}),wn=a(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),$n=/([^-])([A-Z])/g,An=a(function(t){return t.replace($n,"$1-$2").replace($n,"$1-$2").toLowerCase()}),kn=Object.prototype.toString,xn="[object Object]",On=function(){return!1},Sn=function(t){return t},En={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:On,isUnknownElement:On,getTagNamespace:p,parsePlatformTagName:Sn,mustUseProp:On,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},Tn=/[^\w.$]/,jn="__proto__"in{},Dn="undefined"!=typeof window,Pn=Dn&&window.navigator.userAgent.toLowerCase(),Ln=Pn&&/msie|trident/.test(Pn),Nn=Pn&&Pn.indexOf("msie 9.0")>0,Mn=Pn&&Pn.indexOf("edge/")>0,In=Pn&&Pn.indexOf("android")>0,Un=Pn&&/iphone|ipad|ipod|ios/.test(Pn),Rn=function(){return void 0===mn&&(mn=!Dn&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),mn},Bn=Dn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Vn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"!=typeof Promise&&b(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};e=function(){i.then(t).catch(o),Un&&setTimeout(p)}}else if("undefined"==typeof MutationObserver||!b(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),c=document.createTextNode(String(a));s.observe(c,{characterData:!0}),e=function(){a=(a+1)%2,c.data=String(a)}}return function(t,i){var o;if(n.push(function(){t&&t.call(i),o&&o(i)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){o=t})}}();yn="undefined"!=typeof Set&&b(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Hn,zn=p,Fn=0,qn=function(){this.id=Fn++,this.subs=[]};qn.prototype.addSub=function(t){this.subs.push(t)},qn.prototype.removeSub=function(t){r(this.subs,t)},qn.prototype.depend=function(){qn.target&&qn.target.addDep(this)},qn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},qn.target=null;var Kn=[],Wn=Array.prototype,Jn=Object.create(Wn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Wn[t];_(Jn,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Gn=Object.getOwnPropertyNames(Jn),Zn={shouldConvert:!0,isSettingProps:!1},Qn=function(t){if(this.value=t,this.dep=new qn,this.vmCount=0,_(t,"__ob__",this),Array.isArray(t)){var e=jn?$:A;e(t,Jn,Gn),this.observeArray(t)}else this.walk(t)};Qn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)x(t,e[n],t[e[n]])},Qn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)k(t[e])};var Xn=En.optionMergeStrategies;Xn.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?T(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return T(e.call(this),t.call(this))}:e:t},En._lifecycleHooks.forEach(function(t){Xn[t]=j}),En._assetTypes.forEach(function(t){Xn[t+"s"]=D}),Xn.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};l(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Xn.props=Xn.methods=Xn.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return l(n,t),l(n,e),n};var Yn=function(t,e){return void 0===e?t:e},tr=Object.freeze({defineReactive:x,_toString:t,toNumber:e,makeMap:n,isBuiltInTag:_n,remove:r,hasOwn:i,isPrimitive:o,cached:a,camelize:Cn,capitalize:wn,hyphenate:An,bind:s,toArray:c,extend:l,isObject:u,isPlainObject:f,toObject:d,noop:p,no:On,identity:Sn,genStaticKeys:v,looseEqual:h,looseIndexOf:m,isReserved:y,def:_,parsePath:g,hasProto:jn,inBrowser:Dn,UA:Pn,isIE:Ln,isIE9:Nn,isEdge:Mn,isAndroid:In,isIOS:Un,isServerRendering:Rn,devtools:Bn,nextTick:Vn,get _Set(){return yn},mergeOptions:N,resolveAsset:M,warn:zn,formatComponentName:Hn,validateProp:I}),er=[],nr={},rr=!1,ir=!1,or=0,ar=0,sr=function(t,e,n,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ar,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new yn,this.newDepIds=new yn,this.expression="","function"==typeof e?this.getter=e:(this.getter=g(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};sr.prototype.get=function(){C(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&F(t),w(),this.cleanupDeps(),t},sr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},sr.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},sr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():z(this)},sr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!En.errorHandler)throw t;En.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},sr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},sr.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},sr.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||r(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var cr,lr=new yn,ur={enumerable:!0,configurable:!0,get:p,set:p},fr=function(t,e,n,r,i,o,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},dr=function(){var t=new fr;return t.text="",t.isComment=!0,t},pr=null,vr={init:At,prepatch:kt,insert:xt,destroy:Ot},hr=Object.keys(vr),mr=1,yr=2,_r=0;Rt(Ht),tt(Ht),yt(Ht),gt(Ht),It(Ht);var gr=[String,RegExp],br={name:"keep-alive",abstract:!0,props:{include:gr,exclude:gr},created:function(){this.cache=Object.create(null)},render:function(){var t=dt(this.$slots.default);if(t&&t.componentOptions){var e=t.componentOptions,n=e.Ctor.options.name||e.tag;if(n&&(this.include&&!Wt(this.include,n)||this.exclude&&Wt(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.child=this.cache[r].child:this.cache[r]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];bt(n.child,"deactivated"),n.child.$destroy()}}},Cr={KeepAlive:br};Jt(Ht),Object.defineProperty(Ht.prototype,"$isServer",{get:Rn}),Ht.version="2.1.8";var wr,$r,Ar=n("input,textarea,option,select"),kr=function(t,e){return"value"===e&&Ar(t)||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},xr=n("contenteditable,draggable,spellcheck"),Or=n("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Sr="http://www.w3.org/1999/xlink",Er=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Tr=function(t){return Er(t)?t.slice(6,t.length):""},jr=function(t){return null==t||t===!1},Dr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Pr=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),Lr=n("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Nr=function(t){return Pr(t)||Lr(t)},Mr=Object.create(null),Ir=Object.freeze({createElement:re,createElementNS:ie,createTextNode:oe,createComment:ae,insertBefore:se,removeChild:ce,appendChild:le,parentNode:ue,nextSibling:fe,tagName:de,setTextContent:pe,setAttribute:ve}),Ur={create:function(t,e){he(e)},update:function(t,e){t.data.ref!==e.data.ref&&(he(t,!0),he(e))},destroy:function(t){he(t,!0)}},Rr=new fr("",{},[]),Br=["create","activate","update","remove","destroy"],Vr={create:Ce,update:Ce,destroy:function(t){Ce(t,Rr)}},Hr=Object.create(null),zr=[Ur,Vr],Fr={create:xe,update:xe},qr={create:Se,update:Se},Kr={create:je,update:je},Wr={create:De,update:De},Jr=a(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Gr=/^--/,Zr=/\s*!important$/,Qr=function(t,e,n){Gr.test(e)?t.style.setProperty(e,n):Zr.test(n)?t.style.setProperty(e,n.replace(Zr,""),"important"):t.style[Yr(e)]=n},Xr=["Webkit","Moz","ms"],Yr=a(function(t){if($r=$r||document.createElement("div"),t=Cn(t),"filter"!==t&&t in $r.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Xr.length;n++){var r=Xr[n]+e;if(r in $r.style)return r}}),ti={create:Re,update:Re},ei=Dn&&!Nn,ni="transition",ri="animation",ii="transition",oi="transitionend",ai="animation",si="animationend";ei&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ii="WebkitTransition",oi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ai="WebkitAnimation",si="webkitAnimationEnd"));var ci=Dn&&window.requestAnimationFrame||setTimeout,li=/\b(transform|all)(,|$)/,ui=a(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterToClass:t+"-enter-to",leaveToClass:t+"-leave-to",appearToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),fi=Dn?{create:Ye,activate:Ye,remove:function(t,e){t.data.show?e():Ze(t,e)}}:{},di=[Fr,qr,Kr,Wr,ti,fi],pi=di.concat(zr),vi=be({nodeOps:Ir,modules:pi});Nn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&an(t,"input")});var hi={inserted:function(t,e,n){if("select"===n.tag){var r=function(){tn(t,e,n.context)};r(),(Ln||Mn)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(In||(t.addEventListener("compositionstart",rn),t.addEventListener("compositionend",on)),Nn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){tn(t,e,n.context);var r=t.multiple?e.value.some(function(e){return en(e,t.options)}):e.value!==e.oldValue&&en(e.value,t.options);r&&an(t,"change")}}},mi={bind:function(t,e,n){var r=e.value;n=sn(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i&&!Nn?(n.data.show=!0,Ge(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=sn(n);var o=n.data&&n.data.transition;o&&!Nn?(n.data.show=!0,r?Ge(n,function(){t.style.display=t.__vOriginalDisplay}):Ze(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},yi={model:hi,show:mi},_i={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String},gi={name:"transition",props:_i,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag}),n.length)){var r=this.mode,i=n[0];if(fn(this.$vnode))return i;var o=cn(i);if(!o)return i;if(this._leaving)return un(t,i);var a=o.key=null==o.key||o.isStatic?"__v"+(o.tag+this._uid)+"__":o.key,s=(o.data||(o.data={})).transition=ln(this),c=this._vnode,u=cn(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&!dn(o,u)){var f=u&&(u.data.transition=l({},s));if("out-in"===r)return this._leaving=!0,ot(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},a),un(t,i);if("in-out"===r){var d,p=function(){d()};ot(s,"afterEnter",p,a),ot(s,"enterCancelled",p,a),ot(f,"delayLeave",function(t){d=t},a)}}return i}}},bi=l({tag:String,moveClass:String},_i);delete bi.mode;var Ci={props:bi,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ln(this),s=0;s<i.length;s++){var c=i[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(r){for(var l=[],u=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?l.push(d):u.push(d)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(pn),t.forEach(vn),t.forEach(hn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;ze(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(oi,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(oi,t),n._moveCb=null,Fe(n,e))})}})}},methods:{hasMove:function(t,e){if(!ei)return!1;if(null!=this._hasMove)return this._hasMove;ze(t,e);var n=Ke(t);return Fe(t,e),this._hasMove=n.hasTransform}}},wi={Transition:gi,TransitionGroup:Ci};return Ht.config.isUnknownElement=ee,Ht.config.isReservedTag=Nr,Ht.config.getTagNamespace=te,Ht.config.mustUseProp=kr,l(Ht.options.directives,yi),l(Ht.options.components,wi),Ht.prototype.__patch__=Dn?vi:p,Ht.prototype.$mount=function(t,e){return t=t&&Dn?ne(t):void 0,this._mount(t,e)},setTimeout(function(){En.devtools&&Bn&&Bn.emit("init",Ht)},0),Ht}); |