/*! * Vue.js v2.2.0-beta.1 * (c) 2014-2017 Evan You * Released under the MIT License. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function t(e){var t=parseFloat(e);return isNaN(t)?e:t}function n(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function i(e,t){return Ni.call(e,t)}function o(e){return"string"==typeof e||"number"==typeof e}function a(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function s(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function u(e,t){for(var n in t)e[n]=t[n];return e}function l(e){return null!==e&&"object"==typeof e}function f(e){return Ri.call(e)===Ui}function p(e){for(var t={},n=0;n1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i=0&&xo[n].id>e.id;)n--;xo.splice(Math.max(n,So)+1,0,e)}else xo.push(e);Ao||(Ao=!0,eo(ge))}}function _e(e){jo.clear(),be(e,jo)}function be(e,t){var n,r,i=Array.isArray(e);if((i||l(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)be(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)be(e[r[n]],t)}}function $e(e,t,n){No.get=function(){return this[t][n]},No.set=function(e){this[t][n]=e},Object.defineProperty(e,n,No)}function we(e){e._watchers=[];var t=e.$options;t.props&&Ce(e,t.props),t.methods&&Se(e,t.methods),t.data?xe(e):A(e._data={},!0),t.computed&&ke(e,t.computed),t.watch&&Te(e,t.watch)}function Ce(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;fo.shouldConvert=o;var a=function(o){i.push(o);var a=R(o,t,n,e);O(r,o,a),o in e||$e(e,"_props",o)};for(var s in t)a(s);fo.shouldConvert=!0}function xe(e){var t=e.$options.data;t=e._data="function"==typeof t?t.call(e):t||{},f(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&i(r,n[o])||_(n[o])||$e(e,"_data",n[o]);A(t,!0)}function ke(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new Eo(e,o,d,Io),r in e||Ae(e,r,i)}}function Ae(e,t,n){"function"==typeof n?(No.get=Oe(t),No.set=d):(No.get=n.get?n.cache!==!1?Oe(t):n.get:d,No.set=n.set?n.set:d),Object.defineProperty(e,t,No)}function Oe(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ao.target&&t.depend(),t.value}}function Se(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?d:s(t[n],e)}function Te(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function bt(e,t){for(var n in e){var r=e[n];if(r){var i=yt(r.componentOptions);i&&!t(i)&&($t(r),e[n]=null)}}}function $t(e){e&&(e.componentInstance._inactive||he(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function wt(e){var t={};t.get=function(){return Bi},Object.defineProperty(e,"config",t),e.util=mo,e.set=S,e.delete=T,e.nextTick=eo,e.options=Object.create(null),Bi._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,u(e.options.components,Fo),pt(e),dt(e),vt(e),gt(e)}function Ct(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=xt(r.data,t));for(;n=n.parent;)n.data&&(t=xt(t,n.data));return kt(t)}function xt(e,t){return{staticClass:At(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function kt(e){var t=e.class,n=e.staticClass;return n||t?At(n,Ot(t)):""}function At(e,t){return e?t?e+" "+t:e:t||""}function Ot(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?la[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:la[e]=/HTMLUnknownElement/.test(t.toString())}function Et(e){if("string"==typeof e){var t=document.querySelector(e);return t?t:document.createElement("div")}return e}function jt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Nt(e,t){return document.createElementNS(oa[e],t)}function It(e){return document.createTextNode(e)}function Lt(e){return document.createComment(e)}function Dt(e,t,n){e.insertBefore(t,n)}function Mt(e,t){e.removeChild(t)}function Pt(e,t){e.appendChild(t)}function Rt(e){return e.parentNode}function Ut(e){return e.nextSibling}function Ht(e){return e.tagName}function Ft(e,t){e.textContent=t}function Bt(e,t,n){e.setAttribute(t,n)}function Vt(e){return null==e}function zt(e){return null!=e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function Jt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,zt(i)&&(o[i]=r);return o}function Kt(e){function t(e){return new yo(O.tagName(e).toLowerCase(),{},[],void 0,e)}function r(e,t){function n(){0===--n.listeners&&i(e)}return n.listeners=t,n}function i(e){var t=O.parentNode(e);t&&O.removeChild(t,e)}function a(e,t,n,r,i){if(e.isRootInsert=!i,!s(e,t,n,r)){var o=e.data,a=e.children,c=e.tag;zt(c)?(e.elm=e.ns?O.createElementNS(e.ns,c):O.createElement(c,e),v(e),f(e,a,t),zt(o)&&d(e,t),l(n,e.elm,r)):e.isComment?(e.elm=O.createComment(e.text),l(n,e.elm,r)):(e.elm=O.createTextNode(e.text),l(n,e.elm,r))}}function s(e,t,n,r){var i=e.data;if(zt(i)){var o=zt(e.componentInstance)&&i.keepAlive;if(zt(i=i.hook)&&zt(i=i.init)&&i(e,!1,n,r),zt(e.componentInstance))return c(e,t),o&&u(e,t,n,r),!0}}function c(e,t){e.data.pendingInsert&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,p(e)?(d(e,t),v(e)):(V(null,e),t.push(e))}function u(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,zt(i=o.data)&&zt(i=i.transition)){for(i=0;ip?(u=Vt(n[m+1])?null:n[m+1].elm,h(e,u,n,f,m,r)):f>m&&g(e,t,l,p)}function b(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data,a=zt(o);a&&zt(i=o.hook)&&zt(i=i.prepatch)&&i(e,t);var s=t.elm=e.elm,c=e.children,u=t.children;if(a&&p(t)){for(i=0;i=0&&(m=e.charAt(h)," "===m);h--);m&&_a.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==v&&t(),a)for(i=0;i=Bo}function yn(e){return 34===e||39===e}function _n(e){var t=1;for(Jo=qo;!gn();)if(e=mn(),yn(e))bn(e);else if(91===e&&t++,93===e&&t--,0===t){Ko=qo;break}}function bn(e){for(var t=e;!gn()&&(e=mn(),e!==t););}function $n(e,t,n){Wo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)xn(e,r,i);else if("input"===o&&"checkbox"===a)wn(e,r,i);else if("input"===o&&"radio"===a)Cn(e,r,i);else if("input"===o||"textarea"===o)kn(e,r,i);else if(!Bi.isReservedTag(o))return dn(e,r,i),!1;return!0}function wn(e,t,n){var r=n&&n.number,i=fn(e,"value")||"null",o=fn(e,"true-value")||"true",a=fn(e,"false-value")||"false";sn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),ln(e,$a,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function Cn(e,t,n){var r=n&&n.number,i=fn(e,"value")||"null";i=r?"_n("+i+")":i,sn(e,"checked","_q("+t+","+i+")"),ln(e,$a,vn(t,i),null,!0)}function xn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = "+i+";";a=a+" "+vn(t,o),ln(e,"change",a,null,!0)}function kn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ba:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=vn(t,l);c&&(f="if($event.target.composing)return;"+f),sn(e,"value","("+t+")"),ln(e,u,f,null,!0),(s||a||"number"===r)&&ln(e,"blur","$forceUpdate()")}function An(e){var t;e[ba]&&(t=Ji?"change":"input",e[t]=[].concat(e[ba],e[t]||[]),delete e[ba]),e[$a]&&(t=Yi?"click":"change",e[t]=[].concat(e[$a],e[t]||[]),delete e[$a])}function On(e,t,n,r){if(n){var i=t,o=Zo;t=function(n){var a=1===arguments.length?i(n):i.apply(null,arguments);null!==a&&Sn(e,t,r,o)}}Zo.addEventListener(e,t,r)}function Sn(e,t,n,r){(r||Zo).removeEventListener(e,t,n)}function Tn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Zo=t.elm,An(n),Z(n,r,On,Sn,t.context)}}function En(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=u({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);jn(i,t,s)&&(i.value=s)}else i[n]=r}}function jn(e,t,n){return!e.composing&&("option"===t.tag||Nn(e,n)||In(e,n))}function Nn(e,t){return document.activeElement!==e&&e.value!==t}function In(e,n){var r=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?t(r)!==t(n):i&&i.trim?r.trim()!==n.trim():r!==n}function Ln(e){var t=Dn(e.style);return e.staticStyle?u(e.staticStyle,t):t}function Dn(e){return Array.isArray(e)?p(e):"string"==typeof e?xa(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Ln(i.data))&&u(r,n);(n=Ln(e.data))&&u(r,n);for(var o=e;o=o.parent;)o.data&&(n=Ln(o.data))&&u(r,n);return r}function Pn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,c=e.data.style||{},l=s||c,f=Dn(t.data.style)||{};t.data.style=f.__ob__?u({},f):f;var p=Mn(t,!0);for(o in l)null==p[o]&&Oa(a,o,"");for(o in p)i=p[o],i!==l[o]&&Oa(a,o,null==i?"":i)}}function Rn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Un(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Hn(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&u(t,ja(e.name||"v")),u(t,e),t}return"string"==typeof e?ja(e):void 0}}function Fn(e){Ua(function(){Ua(e)})}function Bn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Rn(e,t)}function Vn(e,t){e._transitionClasses&&r(e._transitionClasses,t),Un(e,t)}function zn(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ia?Ma:Ra,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ia,l=a,f=o.length):t===La?u>0&&(n=La,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?Ia:La:null,f=n?n===Ia?o.length:c.length:0);var p=n===Ia&&Ha.test(r[Da+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function Jn(e,t){for(;e.length1}function Qn(e,t){t.data.show||Wn(t)}function Xn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(h(tr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function er(e,t){for(var n=0,r=t.length;n',n.innerHTML.indexOf(t)>0}function hr(e){return Xa=Xa||document.createElement("div"),Xa.innerHTML=e,Xa.textContent}function mr(e,t){var n=t?Us:Rs;return e.replace(n,function(e){return Ps[e]})}function gr(e,t){function n(t){f+=t,e=e.substring(t)}function r(){var t=e.match(ls);if(t){var r={tagName:t[1],attrs:[],start:f};n(t[0].length);for(var i,o;!(i=e.match(fs))&&(o=e.match(ss));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=f,r}}function i(e){var n=e.tagName,r=e.unarySlash;u&&("p"===s&&rs(n)&&o(s),ns(n)&&s===n&&o(n));for(var i=l(n)||"html"===n&&"head"===s||!!r,a=e.attrs.length,f=new Array(a),p=0;p=0&&c[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=c.length-1;a>=i;a--)t.end&&t.end(c[a].tag,n,r);c.length=i,s=i&&c[i-1].tag}else"br"===o?t.start&&t.start(e,[],!0,n,r):"p"===o&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var a,s,c=[],u=t.expectHTML,l=t.isUnaryTag||Hi,f=0;e;){if(a=e,s&&Ds(s)){var p=s.toLowerCase(),d=Ms[p]||(Ms[p]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=0,h=e.replace(d,function(e,n,r){return v=r.length,"script"!==p&&"style"!==p&&"noscript"!==p&&(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});f+=e.length-h.length,e=h,o(p,f-v,f)}else{var m=e.indexOf("<");if(0===m){if(vs.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(hs.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var _=e.match(ds);if(_){n(_[0].length);continue}var b=e.match(ps);if(b){var $=f;n(b[0].length),o(b[1],$,f);continue}var w=r();if(w){i(w);continue}}var C=void 0,x=void 0,k=void 0;if(m>=0){for(x=e.slice(m);!(ps.test(x)||ls.test(x)||vs.test(x)||hs.test(x)||(k=x.indexOf("<",1),k<0));)m+=k,x=e.slice(m);C=e.substring(0,m),n(m)}m<0&&(C=e,e=""),t.chars&&C&&t.chars(C)}if(e===a){t.chars&&t.chars(e);break}}o()}function yr(e,t){var n=t?Bs(t):Hs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=nn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Wi=qi&&qi.indexOf("edge/")>0,Zi=qi&&qi.indexOf("android")>0,Gi=qi&&/iphone|ipad|ipod|ios/.test(qi),Yi=qi&&/chrome\/\d+/.test(qi)&&!Wi,Qi=function(){return void 0===Ti&&(Ti=!zi&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),Ti},Xi=zi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,eo=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1&&(t[n[0].trim()]=n[1].trim())}}),t}),ka=/^--/,Aa=/\s*!important$/,Oa=function(e,t,n){ka.test(t)?e.style.setProperty(t,n):Aa.test(n)?e.style.setProperty(t,n.replace(Aa,""),"important"):e.style[Ta(t)]=n},Sa=["Webkit","Moz","ms"],Ta=a(function(e){if(Go=Go||document.createElement("div"),e=Li(e),"filter"!==e&&e in Go.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,os=/(?:=)/,as=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ss=new RegExp("^\\s*"+is.source+"(?:\\s*("+os.source+")\\s*(?:"+as.join("|")+"))?"),cs="[a-zA-Z_][\\w\\-\\.]*",us="((?:"+cs+"\\:)?"+cs+")",ls=new RegExp("^<"+us),fs=/^\s*(\/?)>/,ps=new RegExp("^<\\/"+us+"[^>]*>"),ds=/^]+>/i,vs=/^