/*! * Vue.js v2.5.9 * (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 void 0===t||null===t}function e(t){return void 0!==t&&null!==t}function n(t){return!0===t}function r(t){return!1===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}function a(t){return"[object Object]"===Jn.call(t)}function s(t){return"[object RegExp]"===Jn.call(t)}function c(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function l(t){var e=parseFloat(t);return isNaN(e)?t:e}function f(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function p(t,e){return Qn.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function h(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 m(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function _(t){for(var e={},n=0;n0&&(pt((s=vt(s,(i||"")+"_"+a))[0])&&pt(u)&&(l[c]=E(u.text+s[0].text),s.shift()),l.push.apply(l,s)):o(s)?pt(u)?l[c]=E(u.text+s):""!==s&&l.push(E(s)):pt(s)&&pt(u)?l[c]=E(u.text+s.text):(n(r._isVList)&&e(s.tag)&&t(s.key)&&e(i)&&(s.key="__vlist"+i+"_"+a+"__"),l.push(s)));return l}function ht(t,e){return(t.__esModule||Sr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function mt(t,e,n,r,o){var i=Pr();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function yt(r,o,a){if(n(r.error)&&e(r.errorComp))return r.errorComp;if(e(r.resolved))return r.resolved;if(n(r.loading)&&e(r.loadingComp))return r.loadingComp;if(!e(r.contexts)){var s=r.contexts=[a],c=!0,u=function(){for(var t=0,e=s.length;tao&&eo[n].id>t.id;)n--;eo.splice(n+1,0,t)}else eo.push(t);oo||(oo=!0,rt(Pt))}}function Rt(t,e,n){uo.get=function(){return this[e][n]},uo.set=function(t){this[e][n]=t},Object.defineProperty(t,n,uo)}function Vt(t){t._watchers=[];var e=t.$options;e.props&&Bt(t,e.props),e.methods&&Xt(t,e.methods),e.data?Ht(t):L(t._data={},!0),e.computed&&Wt(t,e.computed),e.watch&&e.watch!==Cr&&Gt(t,e.watch)}function Bt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;Ur.shouldConvert=i;for(var a in e)!function(i){o.push(i);var a=X(i,e,n,t);P(r,i,a),i in t||Rt(t,"_props",i)}(a);Ur.shouldConvert=!0}function Ht(t){var e=t.$options.data;a(e=t._data="function"==typeof e?zt(e,t):e||{})||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;){var i=n[o];r&&p(r,i)||A(i)||Rt(t,"_data",i)}L(e,!0)}function zt(t,e){try{return t.call(e,e)}catch(t){return Q(t,e,"data()"),{}}}function Wt(t,e){var n=t._computedWatchers=Object.create(null),r=kr();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new co(t,a||g,g,lo)),o in t||qt(t,o,i)}}function qt(t,e,n){var r=!kr();"function"==typeof n?(uo.get=r?Kt(e):n,uo.set=g):(uo.get=n.get?r&&!1!==n.cache?Kt(e):n.get:g,uo.set=n.set?n.set:g),Object.defineProperty(t,e,uo)}function Kt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ir.target&&e.depend(),e.value}}function Xt(t,e){for(var n in e)t[n]=null==e[n]?g:h(e[n],t)}function Gt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function Oe(t){this._init(t)}function Se(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=m(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ee(t){t.mixin=function(t){return this.options=q(this.options,t),this}}function je(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=q(n.options,t),a.super=n,a.options.props&&Ie(a),a.options.computed&&Te(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,sr.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=y({},a.options),o[r]=a,a}}function Ie(t){var e=t.options.props;for(var n in e)Rt(t.prototype,"_props",n)}function Te(t){var e=t.options.computed;for(var n in e)qt(t.prototype,n,e[n])}function De(t){sr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&a(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Le(t){return t&&(t.Ctor.options.name||t.tag)}function Pe(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!s(t)&&t.test(e)}function Ne(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Le(a.componentOptions);s&&!e(s)&&Me(n,i,r,o)}}}function Me(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,d(n,e)}function Fe(t){for(var n=t.data,r=t,o=t;e(o.componentInstance);)(o=o.componentInstance._vnode).data&&(n=Ue(o.data,n));for(;e(r=r.parent);)r.data&&(n=Ue(n,r.data));return Re(n.staticClass,n.class)}function Ue(t,n){return{staticClass:Ve(t.staticClass,n.staticClass),class:e(t.class)?[t.class,n.class]:n.class}}function Re(t,n){return e(t)||e(n)?Ve(t,Be(n)):""}function Ve(t,e){return t?e?t+" "+e:t:e||""}function Be(t){return Array.isArray(t)?He(t):i(t)?ze(t):"string"==typeof t?t:""}function He(t){for(var n,r="",o=0,i=t.length;o-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 gn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function bn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,ei(t.name||"v")),y(e,t),e}return"string"==typeof t?ei(t):void 0}}function Cn(t){ui(function(){ui(t)})}function wn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),_n(t,e))}function An(t,e){t._transitionClasses&&d(t._transitionClasses,e),gn(t,e)}function $n(t,e,n){var r=xn(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ri?ai:ci,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=ri,l=a,f=i.length):e===oi?u>0&&(n=oi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?ri:oi:null)?n===ri?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===ri&&li.test(r[ii+"Property"])}}function kn(t,e){for(;t.length1}function Tn(t,e){!0!==e.data.show&&Sn(e)}function Dn(t,e,n){Ln(t,e,n),(mr||_r)&&setTimeout(function(){Ln(t,e,n)},0)}function Ln(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-1,a.selected!==i&&(a.selected=i);else if(b(Nn(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Pn(t,e){return e.every(function(e){return!b(e,t)})}function Nn(t){return"_value"in t?t._value:t.value}function Mn(t){t.target.composing=!0}function Fn(t){t.target.composing&&(t.target.composing=!1,Un(t.target,"input"))}function Un(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Rn(t){return!t.componentInstance||t.data&&t.data.transition?t:Rn(t.componentInstance._vnode)}function Vn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Vn(gt(e.children)):t}function Bn(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[tr(i)]=o[i];return e}function Hn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function zn(t){for(;t=t.parent;)if(t.data.transition)return!0}function Wn(t,e){return e.key===t.key&&e.tag===t.tag}function qn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Kn(t){t.data.newPos=t.elm.getBoundingClientRect()}function Xn(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 Gn=Object.freeze({}),Jn=Object.prototype.toString,Zn=f("key,ref,slot,slot-scope,is"),Qn=Object.prototype.hasOwnProperty,Yn=/-(\w)/g,tr=v(function(t){return t.replace(Yn,function(t,e){return e?e.toUpperCase():""})}),er=v(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),nr=/\B([A-Z])/g,rr=v(function(t){return t.replace(nr,"-$1").toLowerCase()}),or=function(t,e,n){return!1},ir=function(t){return t},ar="data-server-rendered",sr=["component","directive","filter"],cr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ur={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:or,isReservedAttr:or,isUnknownElement:or,getTagNamespace:g,parsePlatformTagName:ir,mustUseProp:or,_lifecycleHooks:cr},lr=/[^\w.$]/,fr="__proto__"in{},dr="undefined"!=typeof window,pr="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,vr=pr&&WXEnvironment.platform.toLowerCase(),hr=dr&&window.navigator.userAgent.toLowerCase(),mr=hr&&/msie|trident/.test(hr),yr=hr&&hr.indexOf("msie 9.0")>0,_r=hr&&hr.indexOf("edge/")>0,gr=hr&&hr.indexOf("android")>0||"android"===vr,br=hr&&/iphone|ipad|ipod|ios/.test(hr)||"ios"===vr,Cr=(hr&&/chrome\/\d+/.test(hr),{}.watch),wr=!1;if(dr)try{var Ar={};Object.defineProperty(Ar,"passive",{get:function(){wr=!0}}),window.addEventListener("test-passive",null,Ar)}catch(t){}var $r,xr,kr=function(){return void 0===$r&&($r=!dr&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),$r},Or=dr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Sr="undefined"!=typeof Symbol&&k(Symbol)&&"undefined"!=typeof Reflect&&k(Reflect.ownKeys);xr="undefined"!=typeof Set&&k(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Er=g,jr=0,Ir=function(){this.id=jr++,this.subs=[]};Ir.prototype.addSub=function(t){this.subs.push(t)},Ir.prototype.removeSub=function(t){d(this.subs,t)},Ir.prototype.depend=function(){Ir.target&&Ir.target.addDep(this)},Ir.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e1?m(n):n;for(var r=m(arguments,1),o=0,i=n.length;oparseInt(this.max)&&Me(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={};e.get=function(){return ur},Object.defineProperty(t,"config",e),t.util={warn:Er,extend:y,mergeOptions:q,defineReactive:P},t.set=N,t.delete=M,t.nextTick=rt,t.options=Object.create(null),sr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,y(t.options.components,_o),Se(t),Ee(t),je(t),De(t)}(Oe),Object.defineProperty(Oe.prototype,"$isServer",{get:kr}),Object.defineProperty(Oe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Oe.version="2.5.9";var go,bo,Co=f("style,class"),wo=f("input,textarea,option,select,progress"),Ao=f("contenteditable,draggable,spellcheck"),$o=f("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"),xo="http://www.w3.org/1999/xlink",ko=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Oo=function(t){return ko(t)?t.slice(6,t.length):""},So=function(t){return null==t||!1===t},Eo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},jo=f("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,picture,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,blockquote,iframe,tfoot"),Io=f("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),To=function(t){return jo(t)||Io(t)},Do=Object.create(null),Lo=f("text,number,password,search,email,tel,url"),Po=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Eo[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),No={create:function(t,e){qe(e)},update:function(t,e){t.data.ref!==e.data.ref&&(qe(t,!0),qe(e))},destroy:function(t){qe(t,!0)}},Mo=new Dr("",{},[]),Fo=["create","activate","update","remove","destroy"],Uo={create:Je,update:Je,destroy:function(t){Je(t,Mo)}},Ro=Object.create(null),Vo=[No,Uo],Bo={create:en,update:en},Ho={create:rn,update:rn},zo="__r",Wo="__c",qo={create:un,update:un},Ko={create:ln,update:ln},Xo=v(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}),Go=/^--/,Jo=/\s*!important$/,Zo=function(t,e,n){if(Go.test(e))t.style.setProperty(e,n);else if(Jo.test(n))t.style.setProperty(e,n.replace(Jo,""),"important");else{var r=Yo(e);if(Array.isArray(n))for(var o=0,i=n.length;op?_(n,t(o[m+1])?null:o[m+1].elm,o,d,m,i):d>m&&b(n,r,f,p)}function A(t,n,r,o){for(var i=r;i-1?Do[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Do[t]=/HTMLUnknownElement/.test(e.toString())},y(Oe.options.directives,pi),y(Oe.options.components,yi),Oe.prototype.__patch__=dr?fi:g,Oe.prototype.$mount=function(t,e){return t=t&&dr?We(t):void 0,St(this,t,e)},Oe.nextTick(function(){ur.devtools&&Or&&Or.emit("init",Oe)},0),Oe});