mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 21:47:35 +08:00
7 lines
50 KiB
JavaScript
7 lines
50 KiB
JavaScript
/*!
|
|
* Vue.js v2.1.10
|
|
* (c) 2014-2017 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);return isNaN(e)?t:e}function n(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!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 o(t,e){return Cn.call(t,e)}function i(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 u(t,e){for(var n in e)t[n]=e[n];return t}function l(t){return null!==t&&"object"==typeof t}function f(t){return On.call(t)===Sn}function p(t){for(var e={},n=0;n<t.length;n++)t[n]&&u(e,t[n]);return e}function d(){}function v(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function h(t,e){var n=l(t),r=l(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(!jn.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){Wn.target&&Jn.push(Wn.target),Wn.target=t}function w(){Wn.target=Jn.pop()}function $(t,e){t.__proto__=e}function k(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];_(t,i,e[i])}}function A(t,e){if(l(t)){var n;return o(t,"__ob__")&&t.__ob__ instanceof Yn?n=t.__ob__:Xn.shouldConvert&&!Vn()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Yn(t)),e&&n&&n.vmCount++,n}}function x(t,e,n,r){var o=new Wn,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var a=i&&i.get,s=i&&i.set,c=A(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return Wn.target&&(o.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=A(e),o.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(o(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||o(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 I(t,e){if(!e)return t;for(var n,r,i,a=Object.keys(e),s=0;s<a.length;s++)n=a[s],r=t[n],i=e[n],o(t,n)?f(r)&&f(i)&&I(r,i):O(t,n,i);return t}function T(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function j(t,e){var n=Object.create(t||null);return e?u(n,e):n}function D(t){var e=t.props;if(e){var n,r,o,i={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(o=$n(r),i[o]={type:null});else if(f(e))for(var a in e)r=e[a],o=$n(a),i[o]=f(r)?r:{type:r};t.props=i}}function P(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 o=tr[r]||er;l[r]=o(t[r],e[r],n,r)}D(e),P(e);var i=e.extends;if(i&&(t="function"==typeof i?N(t,i.options,n):N(t,i,n)),e.mixins)for(var a=0,s=e.mixins.length;a<s;a++){var c=e.mixins[a];c.prototype instanceof Vt&&(c=c.options),t=N(t,c,n)}var u,l={};for(u in t)r(u);for(u in e)o(t,u)||r(u);return l}function L(t,e,n,r){if("string"==typeof n){var i=t[e];if(o(i,n))return i[n];var a=$n(n);if(o(i,a))return i[a];var s=kn(a);if(o(i,s))return i[s];var c=i[n]||i[a]||i[s];return c}}function M(t,e,n,r){var i=e[t],a=!o(n,t),s=n[t];if(B(Boolean,i.type)&&(a&&!o(i,"default")?s=!1:B(String,i.type)||""!==s&&s!==xn(t)||(s=!0)),void 0===s){s=U(r,i,t);var c=Xn.shouldConvert;Xn.shouldConvert=!0,A(s),Xn.shouldConvert=c}return s}function U(t,e,n){if(o(e,"default")){var r=e.default;return l(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(t){return new rr(void 0,void 0,void 0,String(t))}function H(t){var e=new rr(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 F(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=H(t[n]);return e}function z(t,e,n,r,o){if(t){var i=n.$options._base;if(l(t)&&(t=i.extend(t)),"function"==typeof t){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=Q(t,i,function(){n.$forceUpdate()}),!t)return;Bt(t),e=e||{};var a=X(e,t);if(t.options.functional)return q(t,a,e,n,r);var s=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),tt(e);var c=t.options.name||o,u=new rr("vue-component-"+t.cid+(c?"-"+c:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:a,listeners:s,tag:o,children:r});return u}}}function q(t,e,n,r,o){var i={},a=t.options.props;if(a)for(var s in a)i[s]=M(s,a,e);var c=Object.create(r),u=function(t,e,n,r){return ut(c,t,e,n,r,!0)},l=t.options.render.call(null,u,{props:i,data:n,parent:r,children:o,slots:function(){return vt(o,r)}});return l instanceof rr&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function K(t,e,n,r){var o=t.componentOptions,i={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return a&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new o.Ctor(i)}function W(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed){var o=t.componentInstance=K(t,pr,n,r);o.$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var i=t;J(i,i)}}function J(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function G(t){t.componentInstance._isMounted||(t.componentInstance._isMounted=!0,wt(t.componentInstance,"mounted")),t.data.keepAlive&&(t.componentInstance._inactive=!1,wt(t.componentInstance,"activated"))}function Z(t){t.componentInstance._isDestroyed||(t.data.keepAlive?(t.componentInstance._inactive=!0,wt(t.componentInstance,"deactivated")):t.componentInstance.$destroy())}function Q(t,e,n){if(!t.requested){t.requested=!0;var r=t.pendingCallbacks=[n],o=!0,i=function(n){if(l(n)&&(n=e.extend(n)),t.resolved=n,!o)for(var i=0,a=r.length;i<a;i++)r[i](n)},a=function(t){},s=t(i,a);return s&&"function"==typeof s.then&&!t.resolved&&s.then(i,a),o=!1,t.resolved}t.pendingCallbacks.push(n)}function X(t,e){var n=e.options.props;if(n){var r={},o=t.attrs,i=t.props,a=t.domProps;if(o||i||a)for(var s in n){var c=xn(s);Y(r,i,s,c,!0)||Y(r,o,s,c)||Y(r,a,s,c)}return r}}function Y(t,e,n,r,i){if(e){if(o(e,n))return t[n]=e[n],i||delete e[n],!0;if(o(e,r))return t[n]=e[r],i||delete e[r],!0}return!1}function tt(t){t.hook||(t.hook={});for(var e=0;e<cr.length;e++){var n=cr[e],r=t.hook[n],o=sr[n];t.hook[n]=r?et(o,r):o}}function et(t,e){return function(n,r,o,i){t(n,r,o,i),e(n,r,o,i)}}function nt(t,e,n,r){r+=e;var o=t.__injected||(t.__injected={});if(!o[r]){o[r]=!0;var i=t[e];i?t[e]=function(){i.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function rt(t){var e={fn:t,invoker:function(){var t=arguments,n=e.fn;if(Array.isArray(n))for(var r=0;r<n.length;r++)n[r].apply(null,t);else n.apply(null,arguments)}};return e}function ot(t,e,n,r,o){var i,a,s,c;for(i in t)a=t[i],s=e[i],c=ur(i),a&&(s?a!==s&&(s.fn=a,t[i]=s):(a.invoker||(a=t[i]=rt(a)),n(c.name,a.invoker,c.once,c.capture)));for(i in e)t[i]||(c=ur(i),r(c.name,e[i].invoker,c.capture))}function it(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function at(t){return i(t)?[V(t)]:Array.isArray(t)?st(t):void 0}function st(t,e){var n,r,o,a=[];for(n=0;n<t.length;n++)r=t[n],null!=r&&"boolean"!=typeof r&&(o=a[a.length-1],Array.isArray(r)?a.push.apply(a,st(r,(e||"")+"_"+n)):i(r)?o&&o.text?o.text+=String(r):""!==r&&a.push(V(r)):r.text&&o&&o.text?a[a.length-1]=V(o.text+r.text):(r.tag&&null==r.key&&null!=e&&(r.key="__vlist"+e+"_"+n+"__"),a.push(r)));return a}function ct(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function ut(t,e,n,r,o,a){return(Array.isArray(n)||i(n))&&(o=r,r=n,n=void 0),a&&(o=fr),lt(t,e,n,r,o)}function lt(t,e,n,r,o){if(n&&n.__ob__)return ar();if(!e)return ar();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===fr?r=at(r):o===lr&&(r=it(r));var i,a;if("string"==typeof e){var s;a=Tn.getTagNamespace(e),i=Tn.isReservedTag(e)?new rr(Tn.parsePlatformTagName(e),n,r,void 0,void 0,t):(s=L(t.$options,"components",e))?z(s,n,t,r,e):new rr(e,n,r,void 0,void 0,t)}else i=z(e,n,t,r);return i?(a&&ft(i,a),i):ar()}function ft(t,e){if(t.ns=e,"foreignObject"!==t.tag&&t.children)for(var n=0,r=t.children.length;n<r;n++){var o=t.children[n];o.tag&&!o.ns&&ft(o,e)}}function pt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null;var e=t.$options._parentVnode,n=e&&e.context;t.$slots=vt(t.$options._renderChildren,n),t.$scopedSlots={},t._c=function(e,n,r,o){return ut(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return ut(t,e,n,r,o,!0)}}function dt(n){function r(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&o(t[r],e+"_"+r,n);else o(t,e,n)}function o(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}n.prototype.$nextTick=function(t){return Fn(t,this)},n.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,o=e._parentVnode;if(t._isMounted)for(var i in t.$slots)t.$slots[i]=F(t.$slots[i]);o&&o.data.scopedSlots&&(t.$scopedSlots=o.data.scopedSlots),r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=o;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(!Tn.errorHandler)throw e;Tn.errorHandler.call(null,e,t),a=t._vnode}return a instanceof rr||(a=ar()),a.parent=o,a},n.prototype._s=t,n.prototype._v=V,n.prototype._n=e,n.prototype._e=ar,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)?F(n):H(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 L(this.$options,"filters",t,!0)||In},n.prototype._l=function(t,e){var n,r,o,i,a;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;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(l(t))for(i=Object.keys(t),n=new Array(i.length),r=0,o=i.length;r<o;r++)a=i[r],n[r]=e(t[a],a,r);return n},n.prototype._t=function(t,e,n,r){var o=this.$scopedSlots[t];if(o)return n=n||{},r&&u(n,r),o(n)||e;var i=this.$slots[t];return i||e},n.prototype._b=function(t,e,n,r){if(n)if(l(n)){Array.isArray(n)&&(n=p(n));for(var o in n)if("class"===o||"style"===o)t[o]=n[o];else{var i=t.attrs&&t.attrs.type,a=r||Tn.mustUseProp(e,i,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});a[o]=n[o]}}else;return t},n.prototype._k=function(t,e,n){var r=Tn.keyCodes[e]||n;return Array.isArray(r)?r.indexOf(t)===-1:r!==t}}function vt(t,e){var n={};if(!t)return n;for(var r,o,i=[],a=0,s=t.length;a<s;a++)if(o=t[a],(o.context===e||o.functionalContext===e)&&o.data&&(r=o.data.slot)){var c=n[r]||(n[r]=[]);"template"===o.tag?c.push.apply(c,o.children):c.push(o)}else i.push(o);return i.length&&(1!==i.length||" "!==i[0].text&&!i[0].isComment)&&(n.default=i),n}function ht(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_t(t,e)}function mt(t,e,n){n?ir.$once(t,e):ir.$on(t,e)}function yt(t,e){ir.$off(t,e)}function _t(t,e,n){ir=t,ot(e,n||{},mt,yt,t)}function gt(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;return(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0),r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var o,i=r.length;i--;)if(o=r[i],o===e||o.fn===e){r.splice(i,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),o=0,i=n.length;o<i;o++)n[o].apply(e,r)}return e}}function bt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Ct(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=ar),wt(n,"beforeMount"),n._watcher=new gr(n,function(){n._update(n._render(),e)},d),e=!1,null==n.$vnode&&(n._isMounted=!0,wt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&wt(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=pr;pr=n,n._vnode=t,o?n.$el=n.__patch__(o,t):n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),pr=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype._updateFromParent=function(t,e,n,r){var o=this,i=!(!o.$options._renderChildren&&!r);if(o.$options._parentVnode=n,o.$vnode=n,o._vnode&&(o._vnode.parent=n),o.$options._renderChildren=r,t&&o.$options.props){Xn.shouldConvert=!1;for(var a=o.$options._propKeys||[],s=0;s<a.length;s++){var c=a[s];o[c]=M(c,o.$options.props,t,o)}Xn.shouldConvert=!0,o.$options.propsData=t}if(e){var u=o.$options._parentListeners;o.$options._parentListeners=e,_t(o,e,u)}i&&(o.$slots=vt(r,n.context),o.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){wt(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,wt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function wt(t,e){var n=t.$options[e];if(n)for(var r=0,o=n.length;r<o;r++)n[r].call(t);t._hasHookEvent&&t.$emit("hook:"+e)}function $t(){dr.length=0,vr={},hr=mr=!1}function kt(){mr=!0;var t,e,n;for(dr.sort(function(t,e){return t.id-e.id}),yr=0;yr<dr.length;yr++)t=dr[yr],e=t.id,vr[e]=null,t.run();for(yr=dr.length;yr--;)t=dr[yr],n=t.vm,n._watcher===t&&n._isMounted&&wt(n,"updated");Hn&&Tn.devtools&&Hn.emit("flush"),$t()}function At(t){var e=t.id;if(null==vr[e]){if(vr[e]=!0,mr){for(var n=dr.length-1;n>=0&&dr[n].id>t.id;)n--;dr.splice(Math.max(n,yr)+1,0,t)}else dr.push(t);hr||(hr=!0,Fn(kt))}}function xt(t){br.clear(),Ot(t,br)}function Ot(t,e){var n,r,o=Array.isArray(t);if((o||l(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)Ot(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Ot(t[r[n]],e)}}function St(t){t._watchers=[];var e=t.$options;e.props&&Et(t,e.props),e.methods&&Dt(t,e.methods),e.data?It(t):A(t._data={},!0),e.computed&&Tt(t,e.computed),e.watch&&Pt(t,e.watch)}function Et(t,e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),o=!t.$parent;Xn.shouldConvert=o;for(var i=function(o){var i=r[o];x(t,i,M(i,e,n,t))},a=0;a<r.length;a++)i(a);Xn.shouldConvert=!0}function It(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,i=n.length;i--;)r&&o(r,n[i])||Mt(t,n[i]);A(e,!0)}function Tt(t,e){for(var n in e){var r=e[n];"function"==typeof r?(Cr.get=jt(r,t),Cr.set=d):(Cr.get=r.get?r.cache!==!1?jt(r.get,t):s(r.get,t):d,Cr.set=r.set?s(r.set,t):d),Object.defineProperty(t,n,Cr)}}function jt(t,e){var n=new gr(e,t,d,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Wn.target&&n.depend(),n.value}}function Dt(t,e){for(var n in e)t[n]=null==e[n]?d:s(e[n],t)}function Pt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Nt(t,n,r[o]);else Nt(t,n,r)}}function Nt(t,e,n){var r;f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Lt(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 o=new gr(r,t,e,n);return n.immediate&&e.call(r,o.value),function(){o.teardown()}}}function Mt(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 Ut(t){t.prototype._init=function(t){var e=this;e._uid=wr++,e._isVue=!0,t&&t._isComponent?Rt(e,t):e.$options=N(Bt(e.constructor),t||{},e),e._renderProxy=e,e._self=e,bt(e),ht(e),pt(e),wt(e,"beforeCreate"),St(e),wt(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Rt(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Bt(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,o=t.extendOptions;n!==r&&(t.superOptions=n,o.render=e.render,o.staticRenderFns=e.staticRenderFns,o._scopeId=e._scopeId,e=t.options=N(n,o),e.name&&(e.components[e.name]=t))}return e}function Vt(t){this._init(t)}function Ht(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 zt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=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,Tn._assetTypes.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,o[r]=a,a}}function qt(t){Tn._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 Kt(t){return t&&(t.Ctor.options.name||t.tag)}function Wt(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:t.test(e)}function Jt(t,e){for(var n in t){var r=t[n];if(r){var o=Kt(r.componentOptions);o&&!e(o)&&(Gt(r),t[n]=null)}}}function Gt(t){t&&(t.componentInstance._inactive||wt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Zt(t){var e={};e.get=function(){return Tn},Object.defineProperty(t,"config",e),t.util=nr,t.set=O,t.delete=S,t.nextTick=Fn,t.options=Object.create(null),Tn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,u(t.options.components,Ar),Ht(t),Ft(t),zt(t),qt(t)}function Qt(t){for(var e=t.data,n=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(e=Xt(r.data,e));for(;n=n.parent;)n.data&&(e=Xt(e,n.data));return Yt(e)}function Xt(t,e){return{staticClass:te(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Yt(t){var e=t.class,n=t.staticClass;return n||e?te(n,ee(e)):""}function te(t,e){return t?e?t+" "+e:t:e||""}function ee(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,o=t.length;r<o;r++)t[r]&&(n=ee(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(l(t)){for(var i in t)t[i]&&(e+=i+" ");return e.slice(0,-1)}return e}function ne(t){return Ur(t)?"svg":"math"===t?"math":void 0}function re(t){if(!Pn)return!0;if(Rr(t))return!1;if(t=t.toLowerCase(),null!=Br[t])return Br[t];var e=document.createElement(t);return t.indexOf("-")>-1?Br[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Br[t]=/HTMLUnknownElement/.test(e.toString())}function oe(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function ie(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function ae(t,e){return document.createElementNS(Lr[t],e)}function se(t){return document.createTextNode(t)}function ce(t){return document.createComment(t)}function ue(t,e,n){t.insertBefore(e,n)}function le(t,e){t.removeChild(e)}function fe(t,e){t.appendChild(e)}function pe(t){return t.parentNode}function de(t){return t.nextSibling}function ve(t){return t.tagName}function he(t,e){t.textContent=e}function me(t,e,n){t.setAttribute(e,n)}function ye(t,e){var n=t.data.ref;if(n){var o=t.context,i=t.componentInstance||t.elm,a=o.$refs;e?Array.isArray(a[n])?r(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function _e(t){return null==t}function ge(t){return null!=t}function be(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function Ce(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,ge(o)&&(i[o]=r);return i}function we(t){function e(t){return new rr(O.tagName(t).toLowerCase(),{},[],void 0,t)}function r(t,e){function n(){0===--n.listeners&&o(t)}return n.listeners=e,n}function o(t){var e=O.parentNode(t);e&&O.removeChild(e,t)}function a(t,e,n,r,o){if(t.isRootInsert=!o,!s(t,e,n,r)){var i=t.data,a=t.children,c=t.tag;ge(c)?(t.elm=t.ns?O.createElementNS(t.ns,c):O.createElement(c,t),v(t),f(t,a,e),ge(i)&&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 o=t.data;if(ge(o)){var i=ge(t.componentInstance)&&o.keepAlive;if(ge(o=o.hook)&&ge(o=o.init)&&o(t,!1,n,r),ge(t.componentInstance))return c(t,e),i&&u(t,e,n,r),!0}}function c(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.componentInstance.$el,p(t)?(d(t,e),v(t)):(ye(t),e.push(t))}function u(t,e,n,r){for(var o,i=t;i.componentInstance;)if(i=i.componentInstance._vnode,ge(o=i.data)&&ge(o=o.transition)){for(o=0;o<A.activate.length;++o)A.activate[o](Fr,i);e.push(i);break}l(n,t.elm,r)}function l(t,e,n){t&&(n?O.insertBefore(t,e,n):O.appendChild(t,e))}function f(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)a(e[r],n,t.elm,null,!0);else i(t.text)&&O.appendChild(t.elm,O.createTextNode(t.text))}function p(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return ge(t.tag)}function d(t,e){for(var n=0;n<A.create.length;++n)A.create[n](Fr,t);$=t.data.hook,ge($)&&($.create&&$.create(Fr,t),$.insert&&e.push(t))}function v(t){var e;ge(e=t.context)&&ge(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,""),ge(e=pr)&&e!==t.context&&ge(e=e.$options._scopeId)&&O.setAttribute(t.elm,e,"")}function h(t,e,n,r,o,i){for(;r<=o;++r)a(n[r],i,t,e)}function m(t){var e,n,r=t.data;if(ge(r))for(ge(e=r.hook)&&ge(e=e.destroy)&&e(t),e=0;e<A.destroy.length;++e)A.destroy[e](t);if(ge(e=t.children))for(n=0;n<t.children.length;++n)m(t.children[n])}function y(t,e,n,r){for(;n<=r;++n){var i=e[n];ge(i)&&(ge(i.tag)?(_(i),m(i)):o(i.elm))}}function _(t,e){if(e||ge(t.data)){var n=A.remove.length+1;for(e?e.listeners+=n:e=r(t.elm,n),ge($=t.componentInstance)&&ge($=$._vnode)&&ge($.data)&&_($,e),$=0;$<A.remove.length;++$)A.remove[$](t,e);ge($=t.data.hook)&&ge($=$.remove)?$(t,e):e()}else o(t.elm)}function g(t,e,n,r,o){for(var i,s,c,u,l=0,f=0,p=e.length-1,d=e[0],v=e[p],m=n.length-1,_=n[0],g=n[m],C=!o;l<=p&&f<=m;)_e(d)?d=e[++l]:_e(v)?v=e[--p]:be(d,_)?(b(d,_,r),d=e[++l],_=n[++f]):be(v,g)?(b(v,g,r),v=e[--p],g=n[--m]):be(d,g)?(b(d,g,r),C&&O.insertBefore(t,d.elm,O.nextSibling(v.elm)),d=e[++l],g=n[--m]):be(v,_)?(b(v,_,r),C&&O.insertBefore(t,v.elm,d.elm),v=e[--p],_=n[++f]):(_e(i)&&(i=Ce(e,l,p)),s=ge(_.key)?i[_.key]:null,_e(s)?(a(_,r,t,d.elm),_=n[++f]):(c=e[s],be(c,_)?(b(c,_,r),e[s]=void 0,C&&O.insertBefore(t,_.elm,d.elm),_=n[++f]):(a(_,r,t,d.elm),_=n[++f])));l>p?(u=_e(n[m+1])?null:n[m+1].elm,h(t,u,n,f,m,r)):f>m&&y(t,e,l,p)}function b(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var o,i=e.data,a=ge(i);a&&ge(o=i.hook)&&ge(o=o.prepatch)&&o(t,e);var s=e.elm=t.elm,c=t.children,u=e.children;if(a&&p(e)){for(o=0;o<A.update.length;++o)A.update[o](t,e);ge(o=i.hook)&&ge(o=o.update)&&o(t,e)}_e(e.text)?ge(c)&&ge(u)?c!==u&&g(s,c,u,n,r):ge(u)?(ge(t.text)&&O.setTextContent(s,""),h(s,null,u,0,u.length-1,n)):ge(c)?y(s,c,0,c.length-1):ge(t.text)&&O.setTextContent(s,""):t.text!==e.text&&O.setTextContent(s,e.text),a&&ge(o=i.hook)&&ge(o=o.postpatch)&&o(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,o=e.data,i=e.children;if(ge(o)&&(ge($=o.hook)&&ge($=$.init)&&$(e,!0),ge($=e.componentInstance)))return c(e,n),!0;if(ge(r)){if(ge(i))if(t.hasChildNodes()){for(var a=!0,s=t.firstChild,u=0;u<i.length;u++){if(!s||!w(s,i[u],n)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else f(e,i,n);if(ge(o))for(var l in o)if(!S(l)){d(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var $,k,A={},x=t.modules,O=t.nodeOps;for($=0;$<zr.length;++$)for(A[zr[$]]=[],k=0;k<x.length;++k)void 0!==x[k][zr[$]]&&A[zr[$]].push(x[k][zr[$]]);var S=n("attrs,style,class,staticClass,staticStyle,key");return function(t,n,r,o,i,s){if(!n)return void(t&&m(t));var c=!1,u=[];if(t){var l=ge(t.nodeType);if(!l&&be(t,n))b(t,n,u,o);else{if(l){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&w(t,n,u))return C(n,u,!0),t;t=e(t)}var f=t.elm,d=O.parentNode(f);if(a(n,u,f._leaveCb?null:d,O.nextSibling(f)),n.parent){for(var v=n.parent;v;)v.elm=n.elm,v=v.parent;if(p(n))for(var h=0;h<A.create.length;++h)A.create[h](Fr,n.parent)}null!==d?y(d,[t],0,0):ge(t.tag)&&m(t)}}else c=!0,a(n,u,i,s);return C(n,u,c),n.elm}}function $e(t,e){(t.data.directives||e.data.directives)&&ke(t,e)}function ke(t,e){var n,r,o,i=t===Fr,a=e===Fr,s=Ae(t.data.directives,t.context),c=Ae(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,Oe(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(Oe(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Oe(u[n],"inserted",e,t)};i?nt(e.data.hook||(e.data.hook={}),"insert",f,"dir-insert"):f()}if(l.length&&nt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)Oe(l[n],"componentUpdated",e,t)},"dir-postpatch"),!i)for(n in s)c[n]||Oe(s[n],"unbind",t,t,a)}function Ae(t,e){var n=Object.create(null);if(!t)return n;var r,o;for(r=0;r<t.length;r++)o=t[r],o.modifiers||(o.modifiers=Kr),n[xe(o)]=o,o.def=L(e.$options,"directives",o.name,!0);return n}function xe(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Oe(t,e,n,r,o){var i=t.def&&t.def[e];i&&i(n.elm,t,n,r,o)}function Se(t,e){if(t.data.attrs||e.data.attrs){var n,r,o,i=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=u({},s));for(n in s)r=s[n],o=a[n],o!==r&&Ee(i,n,r);Mn&&s.value!==a.value&&Ee(i,"value",s.value);for(n in a)null==s[n]&&(Dr(n)?i.removeAttributeNS(jr,Pr(n)):Ir(n)||i.removeAttribute(n))}}function Ee(t,e,n){Tr(e)?Nr(n)?t.removeAttribute(e):t.setAttribute(e,e):Ir(e)?t.setAttribute(e,Nr(n)||"false"===n?"false":"true"):Dr(e)?Nr(n)?t.removeAttributeNS(jr,Pr(e)):t.setAttributeNS(jr,e,n):Nr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Ie(t,e){var n=e.elm,r=e.data,o=t.data;if(r.staticClass||r.class||o&&(o.staticClass||o.class)){var i=Qt(e),a=n._transitionClasses;a&&(i=te(i,ee(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}function Te(t,e,n,r){if(n){var o=e,i=xr;e=function(n){je(t,e,r,i),1===arguments.length?o(n):o.apply(null,arguments)}}xr.addEventListener(t,e,r)}function je(t,e,n,r){(r||xr).removeEventListener(t,e,n)}function De(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{};xr=e.elm,ot(n,r,Te,je,e.context)}}function Pe(t,e){if(t.data.domProps||e.data.domProps){var n,r,o=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=u({},a));for(n in i)null==a[n]&&(o[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(e.children&&(e.children.length=0),r!==i[n]))if("value"===n){o._value=r;var s=null==r?"":String(r);Ne(o,e,s)&&(o.value=s)}else o[n]=r}}function Ne(t,e,n){return!t.composing&&("option"===e.tag||Le(t,n)||Me(e,n))}function Le(t,e){return document.activeElement!==t&&t.value!==e}function Me(t,n){var r=t.elm.value,o=t.elm._vModifiers;return o&&o.number||"number"===t.elm.type?e(r)!==e(n):o&&o.trim?r.trim()!==n.trim():r!==n}function Ue(t){var e=Re(t.style);return t.staticStyle?u(t.staticStyle,e):e}function Re(t){return Array.isArray(t)?p(t):"string"==typeof t?Xr(t):t}function Be(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)o=o.componentInstance._vnode,o.data&&(n=Ue(o.data))&&u(r,n);(n=Ue(t.data))&&u(r,n);for(var i=t;i=i.parent;)i.data&&(n=Ue(i.data))&&u(r,n);return r}function Ve(t,e){var n=e.data,r=t.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var o,i,a=e.elm,s=t.data.staticStyle,c=t.data.style||{},l=s||c,f=Re(e.data.style)||{};e.data.style=f.__ob__?u({},f):f;var p=Be(e,!0);for(i in l)null==p[i]&&eo(a,i,"");for(i in p)o=p[i],o!==l[i]&&eo(a,i,null==o?"":o)}}function He(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 Fe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function ze(t){po(function(){po(t)})}function qe(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),He(t,e)}function Ke(t,e){t._transitionClasses&&r(t._transitionClasses,e),Fe(t,e)}function We(t,e,n){var r=Je(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ao?uo:fo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}function Je(t,e){var n,r=window.getComputedStyle(t),o=r[co+"Delay"].split(", "),i=r[co+"Duration"].split(", "),a=Ge(o,i),s=r[lo+"Delay"].split(", "),c=r[lo+"Duration"].split(", "),u=Ge(s,c),l=0,f=0;e===ao?a>0&&(n=ao,l=a,f=i.length):e===so?u>0&&(n=so,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?ao:so:null,f=n?n===ao?i.length:c.length:0);var p=n===ao&&vo.test(r[co+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function Ge(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){
|
|
return Ze(e)+Ze(t[n])}))}function Ze(t){return 1e3*Number(t.slice(0,-1))}function Qe(t,e){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ye(t.data.transition);if(r&&!n._enterCb&&1===n.nodeType){for(var o=r.css,i=r.type,a=r.enterClass,s=r.enterToClass,c=r.enterActiveClass,u=r.appearClass,l=r.appearToClass,f=r.appearActiveClass,p=r.beforeEnter,d=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?u:a,k=w?f:c,A=w?l:s,x=w?m||p:p,O=w&&"function"==typeof y?y:d,S=w?_||v:v,E=w?g||h:h,I=o!==!1&&!Mn,T=O&&(O._length||O.length)>1,j=n._enterCb=tn(function(){I&&(Ke(n,A),Ke(n,k)),j.cancelled?(I&&Ke(n,$),E&&E(n)):S&&S(n),n._enterCb=null});t.data.show||nt(t.data.hook||(t.data.hook={}),"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),O&&O(n,j)},"transition-insert"),x&&x(n),I&&(qe(n,$),qe(n,k),ze(function(){qe(n,A),Ke(n,$),j.cancelled||T||We(n,i,j)})),t.data.show&&(e&&e(),O&&O(n,j)),I||T||j()}}}function Xe(t,e){function n(){y.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),l&&l(r),h&&(qe(r,s),qe(r,u),ze(function(){qe(r,c),Ke(r,s),y.cancelled||m||We(r,a,y)})),f&&f(r,y),h||m||y())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=Ye(t.data.transition);if(!o)return e();if(!r._leaveCb&&1===r.nodeType){var i=o.css,a=o.type,s=o.leaveClass,c=o.leaveToClass,u=o.leaveActiveClass,l=o.beforeLeave,f=o.leave,p=o.afterLeave,d=o.leaveCancelled,v=o.delayLeave,h=i!==!1&&!Mn,m=f&&(f._length||f.length)>1,y=r._leaveCb=tn(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&(Ke(r,c),Ke(r,u)),y.cancelled?(h&&Ke(r,s),d&&d(r)):(e(),p&&p(r)),r._leaveCb=null});v?v(n):n()}}function Ye(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&u(e,ho(t.name||"v")),u(e,t),e}return"string"==typeof t?ho(t):void 0}}function tn(t){var e=!1;return function(){e||(e=!0,t())}}function en(t,e){e.data.show||Qe(e)}function nn(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=m(r,on(a))>-1,a.selected!==i&&(a.selected=i);else if(h(on(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function rn(t,e){for(var n=0,r=e.length;n<r;n++)if(h(on(e[n]),t))return!1;return!0}function on(t){return"_value"in t?t._value:t.value}function an(t){t.target.composing=!0}function sn(t){t.target.composing=!1,cn(t.target,"input")}function cn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function un(t){return!t.componentInstance||t.data&&t.data.transition?t:un(t.componentInstance._vnode)}function ln(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ln(ct(e.children)):t}function fn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[$n(i)]=o[i].fn;return e}function pn(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function dn(t){for(;t=t.parent;)if(t.data.transition)return!0}function vn(t,e){return e.key===t.key&&e.tag===t.tag}function hn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function mn(t){t.data.newPos=t.elm.getBoundingClientRect()}function yn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var _n,gn,bn=n("slot,component",!0),Cn=Object.prototype.hasOwnProperty,wn=/-(\w)/g,$n=a(function(t){return t.replace(wn,function(t,e){return e?e.toUpperCase():""})}),kn=a(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),An=/([^-])([A-Z])/g,xn=a(function(t){return t.replace(An,"$1-$2").replace(An,"$1-$2").toLowerCase()}),On=Object.prototype.toString,Sn="[object Object]",En=function(){return!1},In=function(t){return t},Tn={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:En,isUnknownElement:En,getTagNamespace:d,parsePlatformTagName:In,mustUseProp:En,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},jn=/[^\w.$]/,Dn="__proto__"in{},Pn="undefined"!=typeof window,Nn=Pn&&window.navigator.userAgent.toLowerCase(),Ln=Nn&&/msie|trident/.test(Nn),Mn=Nn&&Nn.indexOf("msie 9.0")>0,Un=Nn&&Nn.indexOf("edge/")>0,Rn=Nn&&Nn.indexOf("android")>0,Bn=Nn&&/iphone|ipad|ipod|ios/.test(Nn),Vn=function(){return void 0===_n&&(_n=!Pn&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),_n},Hn=Pn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Fn=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 o=Promise.resolve(),i=function(t){console.error(t)};e=function(){o.then(t).catch(i),Bn&&setTimeout(d)}}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,o){var i;if(n.push(function(){t&&t.call(o),i&&i(o)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){i=t})}}();gn="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 zn,qn=d,Kn=0,Wn=function(){this.id=Kn++,this.subs=[]};Wn.prototype.addSub=function(t){this.subs.push(t)},Wn.prototype.removeSub=function(t){r(this.subs,t)},Wn.prototype.depend=function(){Wn.target&&Wn.target.addDep(this)},Wn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Wn.target=null;var Jn=[],Gn=Array.prototype,Zn=Object.create(Gn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Gn[t];_(Zn,t,function(){for(var n=arguments,r=arguments.length,o=new Array(r);r--;)o[r]=n[r];var i,a=e.apply(this,o),s=this.__ob__;switch(t){case"push":i=o;break;case"unshift":i=o;break;case"splice":i=o.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var Qn=Object.getOwnPropertyNames(Zn),Xn={shouldConvert:!0,isSettingProps:!1},Yn=function(t){if(this.value=t,this.dep=new Wn,this.vmCount=0,_(t,"__ob__",this),Array.isArray(t)){var e=Dn?$:k;e(t,Zn,Qn),this.observeArray(t)}else this.walk(t)};Yn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)x(t,e[n],t[e[n]])},Yn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)A(t[e])};var tr=Tn.optionMergeStrategies;tr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,o="function"==typeof t?t.call(n):void 0;return r?I(r,o):o}:void 0:e?"function"!=typeof e?t:t?function(){return I(e.call(this),t.call(this))}:e:t},Tn._lifecycleHooks.forEach(function(t){tr[t]=T}),Tn._assetTypes.forEach(function(t){tr[t+"s"]=j}),tr.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};u(n,t);for(var r in e){var o=n[r],i=e[r];o&&!Array.isArray(o)&&(o=[o]),n[r]=o?o.concat(i):[i]}return n},tr.props=tr.methods=tr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return u(n,t),u(n,e),n};var er=function(t,e){return void 0===e?t:e},nr=Object.freeze({defineReactive:x,_toString:t,toNumber:e,makeMap:n,isBuiltInTag:bn,remove:r,hasOwn:o,isPrimitive:i,cached:a,camelize:$n,capitalize:kn,hyphenate:xn,bind:s,toArray:c,extend:u,isObject:l,isPlainObject:f,toObject:p,noop:d,no:En,identity:In,genStaticKeys:v,looseEqual:h,looseIndexOf:m,isReserved:y,def:_,parsePath:g,hasProto:Dn,inBrowser:Pn,UA:Nn,isIE:Ln,isIE9:Mn,isEdge:Un,isAndroid:Rn,isIOS:Bn,isServerRendering:Vn,devtools:Hn,nextTick:Fn,get _Set(){return gn},mergeOptions:N,resolveAsset:L,warn:qn,formatComponentName:zn,validateProp:M}),rr=function(t,e,n,r,o,i,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},or={child:{}};or.child.get=function(){return this.componentInstance},Object.defineProperties(rr.prototype,or);var ir,ar=function(){var t=new rr;return t.text="",t.isComment=!0,t},sr={init:W,prepatch:J,insert:G,destroy:Z},cr=Object.keys(sr),ur=a(function(t){var e="~"===t.charAt(0);t=e?t.slice(1):t;var n="!"===t.charAt(0);return t=n?t.slice(1):t,{name:t,once:e,capture:n}}),lr=1,fr=2,pr=null,dr=[],vr={},hr=!1,mr=!1,yr=0,_r=0,gr=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=++_r,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new gn,this.newDepIds=new gn,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()};gr.prototype.get=function(){C(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&xt(t),w(),this.cleanupDeps(),t},gr.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))},gr.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},gr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():At(this)},gr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!Tn.errorHandler)throw t;Tn.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},gr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},gr.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},gr.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 br=new gn,Cr={enumerable:!0,configurable:!0,get:d,set:d},wr=0;Ut(Vt),Lt(Vt),gt(Vt),Ct(Vt),dt(Vt);var $r=[String,RegExp],kr={name:"keep-alive",abstract:!0,props:{include:$r,exclude:$r},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var e in this.cache)Gt(t.cache[e])},watch:{include:function(t){Jt(this.cache,function(e){return Wt(t,e)})},exclude:function(t){Jt(this.cache,function(e){return!Wt(t,e)})}},render:function(){var t=ct(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Kt(e);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.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}},Ar={KeepAlive:kr};Zt(Vt),Object.defineProperty(Vt.prototype,"$isServer",{get:Vn}),Vt.version="2.1.10";var xr,Or,Sr=n("input,textarea,option,select"),Er=function(t,e,n){return"value"===n&&Sr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ir=n("contenteditable,draggable,spellcheck"),Tr=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"),jr="http://www.w3.org/1999/xlink",Dr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Pr=function(t){return Dr(t)?t.slice(6,t.length):""},Nr=function(t){return null==t||t===!1},Lr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Mr=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"),Ur=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),Rr=function(t){return Mr(t)||Ur(t)},Br=Object.create(null),Vr=Object.freeze({createElement:ie,createElementNS:ae,createTextNode:se,createComment:ce,insertBefore:ue,removeChild:le,appendChild:fe,parentNode:pe,nextSibling:de,tagName:ve,setTextContent:he,setAttribute:me}),Hr={create:function(t,e){ye(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ye(t,!0),ye(e))},destroy:function(t){ye(t,!0)}},Fr=new rr("",{},[]),zr=["create","activate","update","remove","destroy"],qr={create:$e,update:$e,destroy:function(t){$e(t,Fr)}},Kr=Object.create(null),Wr=[Hr,qr],Jr={create:Se,update:Se},Gr={create:Ie,update:Ie},Zr={create:De,update:De},Qr={create:Pe,update:Pe},Xr=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}),Yr=/^--/,to=/\s*!important$/,eo=function(t,e,n){Yr.test(e)?t.style.setProperty(e,n):to.test(n)?t.style.setProperty(e,n.replace(to,""),"important"):t.style[ro(e)]=n},no=["Webkit","Moz","ms"],ro=a(function(t){if(Or=Or||document.createElement("div"),t=$n(t),"filter"!==t&&t in Or.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<no.length;n++){var r=no[n]+e;if(r in Or.style)return r}}),oo={create:Ve,update:Ve},io=Pn&&!Mn,ao="transition",so="animation",co="transition",uo="transitionend",lo="animation",fo="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(co="WebkitTransition",uo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lo="WebkitAnimation",fo="webkitAnimationEnd"));var po=Pn&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,vo=/\b(transform|all)(,|$)/,ho=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"}}),mo=Pn?{create:en,activate:en,remove:function(t,e){t.data.show?e():Xe(t,e)}}:{},yo=[Jr,Gr,Zr,Qr,oo,mo],_o=yo.concat(Wr),go=we({nodeOps:Vr,modules:_o});Mn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&cn(t,"input")});var bo={inserted:function(t,e,n){if("select"===n.tag){var r=function(){nn(t,e,n.context)};r(),(Ln||Un)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(Rn||(t.addEventListener("compositionstart",an),t.addEventListener("compositionend",sn)),Mn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){nn(t,e,n.context);var r=t.multiple?e.value.some(function(e){return rn(e,t.options)}):e.value!==e.oldValue&&rn(e.value,t.options);r&&cn(t,"change")}}},Co={bind:function(t,e,n){var r=e.value;n=un(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o&&!Mn?(n.data.show=!0,Qe(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(r!==o){n=un(n);var i=n.data&&n.data.transition;i&&!Mn?(n.data.show=!0,r?Qe(n,function(){t.style.display=t.__vOriginalDisplay}):Xe(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},wo={model:bo,show:Co},$o={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},ko={name:"transition",props:$o,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,o=n[0];if(dn(this.$vnode))return o;var a=ln(o);if(!a)return o;if(this._leaving)return pn(t,o);var s="__transition-"+this._uid+"-",c=a.key=null==a.key?s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key,l=(a.data||(a.data={})).transition=fn(this),f=this._vnode,p=ln(f);if(a.data.directives&&a.data.directives.some(function(t){return"show"===t.name})&&(a.data.show=!0),p&&p.data&&!vn(a,p)){var d=p&&(p.data.transition=u({},l));if("out-in"===r)return this._leaving=!0,nt(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},c),pn(t,o);if("in-out"===r){var v,h=function(){v()};nt(l,"afterEnter",h,c),nt(l,"enterCancelled",h,c),nt(d,"delayLeave",function(t){v=t},c)}}return o}}},Ao=u({tag:String,moveClass:String},$o);delete Ao.mode;var xo={props:Ao,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=fn(this),s=0;s<o.length;s++){var c=o[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(hn),t.forEach(mn),t.forEach(yn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;qe(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(uo,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(uo,t),n._moveCb=null,Ke(n,e))})}})}},methods:{hasMove:function(t,e){if(!io)return!1;if(null!=this._hasMove)return this._hasMove;qe(t,e);var n=Je(t);return Ke(t,e),this._hasMove=n.hasTransform}}},Oo={Transition:ko,TransitionGroup:xo};return Vt.config.isUnknownElement=re,Vt.config.isReservedTag=Rr,Vt.config.getTagNamespace=ne,Vt.config.mustUseProp=Er,u(Vt.options.directives,wo),u(Vt.options.components,Oo),Vt.prototype.__patch__=Pn?go:d,Vt.prototype.$mount=function(t,e){return t=t&&Pn?oe(t):void 0,this._mount(t,e)},setTimeout(function(){Tn.devtools&&Hn&&Hn.emit("init",Vt)},0),Vt}); |