/*! * vue.js v2.4.0 * (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 i(t){return"string"==typeof t||"number"==typeof t}function o(t){return null!==t&&"object"==typeof t}function a(t){return"[object object]"===di.call(t)}function s(t){return"[object regexp]"===di.call(t)}function c(t){var e=parsefloat(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(","),i=0;i-1)return t.splice(n,1)}}function d(t,e){return mi.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 g(t){for(var e={},n=0;nyo&&fo[n].id>t.id;)n--;fo.splice(n+1,0,t)}else fo.push(t);ho||(ho=!0,wi(ot))}}function nt(t){bo.clear(),lt(t,bo)}function lt(t,e){var n,r,i=array.isarray(t);if((i||o(t))&&object.isextensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)lt(t[n],e);else for(n=(r=object.keys(t)).length;n--;)lt(t[r[n]],e)}}function it(t,e,n){$o.get=function(){return this[e][n]},$o.set=function(t){this[e][n]=t},object.defineproperty(t,n,$o)}function mt(t){t._watchers=[];var e=t.$options;e.props&&dt(t,e.props),e.methods&&ut(t,e.methods),e.data?pt(t):n(t._data={},!0),e.computed&&rt(t,e.computed),e.watch&&e.watch!==hi&&vt(t,e.watch)}function dt(t,e){var n=t.$options.propsdata||{},r=t._props={},i=t.$options._propkeys=[],o=!t.$parent;eo.shouldconvert=o;for(var a in e)!function(o){i.push(o);var a=j(o,e,n,t);l(r,o,a),o in t||it(t,"_props",o)}(a);eo.shouldconvert=!0}function pt(t){var e=t.$options.data;a(e=t._data="function"==typeof e?ft(e,t):e||{})||(e={});for(var n=object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&d(r,o)||w(o)||it(t,"_data",o)}n(e,!0)}function ft(t,e){try{return t.call(e)}catch(t){return k(t,e,"data()"),{}}}function rt(t,e){var n=t._computedwatchers=object.create(null);for(var r in e){var i=e[r],o="function"==typeof i?i:i.get;n[r]=new _o(t,o,_,co),r in t||ht(t,r,i)}}function ht(t,e,n){"function"==typeof n?($o.get=bt(e),$o.set=_):($o.get=n.get?!1!==n.cache?bt(e):n.get:_,$o.set=n.set?n.set:_),object.defineproperty(t,e,$o)}function bt(t){return function(){var e=this._computedwatchers&&this._computedwatchers[t];if(e)return e.dirty&&e.evaluate(),zi.target&&e.depend(),e.value}}function ut(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?_:h(e[n],t)}function vt(t,e){for(var n in e){var r=e[n];if(array.isarray(r))for(var i=0;i=0||n.indexof(t[i])<0)&&r.push(t[i]);return r}return t}function _e(t){this._init(t)}function be(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 $e(t){t.mixin=function(t){return this.options=z(this.options,t),this}}function ce(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=z(n.options,t),a.super=n,a.options.props&&we(a),a.options.computed&&xe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,ai.foreach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superoptions=n.options,a.extendoptions=t,a.sealedoptions=y({},a.options),i[r]=a,a}}function we(t){var e=t.options.props;for(var n in e)it(t.prototype,"_props",n)}function xe(t){var e=t.options.computed;for(var n in e)ht(t.prototype,n,e[n])}function ae(t){ai.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 ke(t){return t&&(t.ctor.options.name||t.tag)}function oe(t,e){return array.isarray(t)?t.indexof(e)>-1:"string"==typeof t?t.split(",").indexof(e)>-1:!!s(t)&&t.test(e)}function se(t,e,n){for(var r in t){var i=t[r];if(i){var o=ke(i.componentoptions);o&&!n(o)&&(i!==e&&te(i),t[r]=null)}}}function te(t){t&&t.componentinstance.$destroy()}function ee(t){for(var n=t.data,r=t,i=t;e(i.componentinstance);)(i=i.componentinstance._vnode).data&&(n=je(i.data,n));for(;e(r=r.parent);)r.data&&(n=je(n,r.data));return ne(n.staticclass,n.class)}function je(t,n){return{staticclass:le(t.staticclass,n.staticclass),class:e(t.class)?[t.class,n.class]:n.class}}function ne(t,n){return e(t)||e(n)?le(t,ie(n)):""}function le(t,e){return t?e?t+" "+e:t:e||""}function ie(t){return array.isarray(t)?me(t):o(t)?de(t):"string"==typeof t?t:""}function me(t){for(var n,r="",i=0,o=t.length;i=0&&" "===(m=t.charat(h));h--);m&&ca.test(m)||(l=!0)}}else void 0===o?(v=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==v&&e(),a)for(i=0;i=eo}function dn(t){return 34===t||39===t}function vn(t){var e=1;for(io=lo;!pn();)if(t=fn(),dn(t))hn(t);else if(91===t&&e++,93===t&&e--,0===e){mo=lo;break}}function hn(t){for(var e=t;!pn()&&(t=fn())!==e;);}function mn(t,e,n){var r=n&&n.number,i=an(t,"value")||"null",o=an(t,"true-value")||"true",a=an(t,"false-value")||"false";en(t,"checked","array.isarray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),on(t,la,"var $$a="+e+",$$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&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+un(e,"$$c")+"}",null,!0)}function yn(t,e,n){var r=n&&n.number,i=an(t,"value")||"null";en(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),on(t,la,un(e,i),null,!0)}function gn(t,e,n){var r="var $$selectedval = "+('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 '+(n&&n.number?"_n(val)":"val")+"})")+";";on(t,"change",r=r+" "+un(e,"$event.target.multiple ? $$selectedval : $$selectedval[0]"),null,!0)}function _n(t,e,n){var r=t.attrsmap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ua:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=un(e,l);c&&(f="if($event.target.composing)return;"+f),en(t,"value","("+e+")"),on(t,u,f,null,!0),(s||a)&&on(t,"blur","$forceupdate()")}function bn(t){var n;e(t[ua])&&(t[n=ii?"change":"input"]=[].concat(t[ua],t[n]||[]),delete t[ua]),e(t[la])&&(t[n=ri?"click":"change"]=[].concat(t[la],t[n]||[]),delete t[la])}function $n(t,e,n,r,i){if(n){var o=e,a=po;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&cn(t,e,r,a)}}po.addeventlistener(t,e,bi?{capture:r,passive:i}:r)}function cn(t,e,n,r){(r||po).removeeventlistener(t,e,n)}function wn(n,r){var i=e(r.componentoptions),o=i?n.data.nativeon:n.data.on,a=i?r.data.nativeon:r.data.on;t(o)&&t(a)||(a=a||{},o=o||{},po=r.elm,bn(a),tt(a,o,$n,cn,r.context))}function xn(n,r){if(!t(n.data.domprops)||!t(r.data.domprops)){var i,o,a=r.elm,s=n.data.domprops||{},c=r.data.domprops||{};e(c.__ob__)&&(c=r.data.domprops=y({},c));for(i in s)t(c[i])&&(a[i]="");for(i in c)if(o=c[i],"textcontent"!==i&&"innerhtml"!==i||(r.children&&(r.children.length=0),o!==s[i]))if("value"===i){a._value=o;var u=t(o)?"":string(o);an(a,r,u)&&(a.value=u)}else a[i]=o}}function an(t,e,n){return!t.composing&&("option"===e.tag||kn(t,n)||on(t,n))}function kn(t,e){return document.activeelement!==t&&t.value!==e}function on(t,n){var r=t.value,i=t._vmodifiers;return e(i)&&i.number?l(r)!==l(n):e(i)&&i.trim?r.trim()!==n.trim():r!==n}function sn(t){var e=tn(t.style);return t.staticstyle?y(t.staticstyle,e):e}function tn(t){return array.isarray(t)?g(t):"string"==typeof t?da(t):t}function en(t,e){var n,r={};if(e)for(var i=t;i.componentinstance;)(i=i.componentinstance._vnode).data&&(n=sn(i.data))&&y(r,n);(n=sn(t.data))&&y(r,n);for(var o=t;o=o.parent;)o.data&&(n=sn(o.data))&&y(r,n);return r}function jn(n,r){var i=r.data,o=n.data;if(!(t(i.staticstyle)&&t(i.style)&&t(o.staticstyle)&&t(o.style))){var a,s,c=r.elm,u=o.staticstyle,l=o.normalizedstyle||o.style||{},f=u||l,p=tn(r.data.style)||{};r.data.normalizedstyle=e(p.__ob__)?y({},p):p;var d=en(r,!0);for(s in f)t(d[s])&&ma(c,s,"");for(s in d)(a=d[s])!==f[s]&&ma(c,s,null==a?"":a)}}function nn(t,e){if(e&&(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 ln(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 in(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,ba(t.name||"v")),y(e,t),e}return"string"==typeof t?ba(t):void 0}}function mn(t){sa(function(){sa(t)})}function dn(t,e){var n=t._transitionclasses||(t._transitionclasses=[]);n.indexof(e)<0&&(n.push(e),nn(t,e))}function pn(t,e){t._transitionclasses&&p(t._transitionclasses,e),ln(t,e)}function fn(t,e,n){var r=rn(t,e),i=r.type,o=r.timeout,a=r.propcount;if(!i)return n();var s=i===ca?aa:oa,c=0,u=function(){t.removeeventlistener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};settimeout(function(){c0&&(n=ca,l=a,f=o.length):e===wa?u>0&&(n=wa,l=u,f=c.length):f=(n=(l=math.max(a,u))>0?a>u?ca:wa:null)?n===ca?o.length:c.length:0,{type:n,timeout:l,propcount:f,hastransform:n===ca&&ta.test(r[xa+"property"])}}function hn(t,e){for(;t.length1}function jn(t,e){!0!==e.data.show&&un(e)}function qn(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-1,a.selected!==o&&(a.selected=o);else if(b(gn(a),r))return void(t.selectedindex!==s&&(t.selectedindex=s));i||(t.selectedindex=-1)}}function wn(t,e){for(var n=0,r=e.length;na&&o.push(json.stringify(t.slice(a,i)));var s=ye(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowercasedtag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)e.end&&e.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expecthtml,c=e.isunarytag||ci,u=e.canbeleftopentag||ci,l=0;t;){if(i=t,o&&gs(o)){var f=0,p=o.tolowercase(),d=_s[p]||(_s[p]=new regexp("([\\s\\s]*?)(]*>)","i")),v=t.replace(d,function(t,n,r){return f=r.length,gs(p)||"noscript"===p||(n=n.replace(//g,"$1").replace(//g,"$1")),xs(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-v.length,t=v,r(p,l-f,l)}else{xs(o,t)&&n(1);var h=t.indexof("<");if(0===h){if(os.test(t)){var m=t.indexof("--\x3e");if(m>=0){e.shouldkeepcomment&&e.comment(t.substring(4,m)),n(m+3);continue}}if(as.test(t)){var y=t.indexof("]>");if(y>=0){n(y+2);continue}}var g=t.match(is);if(g){n(g[0].length);continue}var _=t.match(rs);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var $=function(){var e=t.match(es);if(e){var r={tagname:e[1],attrs:[],start:l};n(e[0].length);for(var i,o;!(i=t.match(ns))&&(o=t.match(qa));)n(o[0].length),r.attrs.push(o);if(i)return r.unaryslash=i[1],n(i[0].length),r.end=l,r}}();if($){!function(t){var n=t.tagname,i=t.unaryslash;s&&("p"===o&&ja(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=t.attrs.length,p=new array(f),d=0;d=0){for(w=t.slice(h);!(rs.test(w)||es.test(w)||os.test(w)||as.test(w)||(x=w.indexof("<",1))<0);)h+=x,w=t.slice(h);c=t.substring(0,h),n(h)}h<0&&(c=t,t=""),e.chars&&c&&e.chars(c)}if(t===i){e.chars&&e.chars(t);break}}r()}function pr(t,e){function n(t){t.pre&&(s=!1),ds(t.tag)&&(c=!1)}cs=e.warn||xe,ds=e.ispretag||ci,vs=e.mustuseprop||ci,hs=e.gettagnamespace||ci,ls=tn(e.modules,"transformnode"),fs=tn(e.modules,"pretransformnode"),ps=tn(e.modules,"posttransformnode"),us=e.delimiters;var r,i,o=[],a=!1!==e.preservewhitespace,s=!1,c=!1;return fr(t,{warn:cs,expecthtml:e.expecthtml,isunarytag:e.isunarytag,canbeleftopentag:e.canbeleftopentag,shoulddecodenewlines:e.shoulddecodenewlines,shouldkeepcomment:e.comments,start:function(t,a,u){function l(t){}var f=i&&i.ns||hs(t);ii&&"svg"===f&&(a=jr(a));var p={type:1,tag:t,attrslist:a,attrsmap:sr(a),parent:i,children:[]};f&&(p.ns=f),er(p)&&!ki()&&(p.forbidden=!0);for(var d=0;d0,di=li&&li.indexof("edge/")>0,pi=li&&li.indexof("android")>0,fi=li&&/iphone|ipad|ipod|ios/.test(li),ri=li&&/chrome\/\d+/.test(li)&&!di,hi={}.watch,bi=!1;if(ni)try{var ui={};object.defineproperty(ui,"passive",{get:function(){bi=!0}}),window.addeventlistener("test-passive",null,ui)}catch(t){}var vi,zi,ki=function(){return void 0===vi&&(vi=!ni&&"undefined"!=typeof global&&"server"===global.process.env.vue_env),vi},ji=ni&&window.__vue_devtools_global_hook__,qi="undefined"!=typeof symbol&&o(symbol)&&"undefined"!=typeof reflect&&o(reflect.ownkeys),wi=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?m(n):n;for(var r=m(arguments,1),i=0,o=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),va=/^--/,ha=/\s*!important$/,ma=function(t,e,n){if(va.test(e))t.style.setproperty(e,n);else if(ha.test(n))t.style.setproperty(e,n.replace(ha,""),"important");else{var r=ga(e);if(array.isarray(n))for(var i=0,o=n.length;id?g(n,t(i[m+1])?null:i[m+1].elm,i,p,m,o):p>m&&b(n,r,f,d)}function w(r,i,o,a){if(r!==i){var s=i.elm=r.elm;if(n(r.isasyncplaceholder))e(i.asyncfactory.resolved)?a(r.elm,i,o):i.isasyncplaceholder=!0;else if(n(i.isstatic)&&n(r.isstatic)&&i.key===r.key&&(n(i.iscloned)||n(i.isonce)))i.componentinstance=r.componentinstance;else{var c,u=i.data;e(u)&&e(c=u.hook)&&e(c=c.prepatch)&&c(r,i);var l=r.children,f=i.children;if(e(u)&&h(i)){for(c=0;c-1?qo[t]=e.constructor===window.htmlunknownelement||e.constructor===window.htmlelement:qo[t]=/htmlunknownelement/.test(e.tostring())},y(_e.options.directives,na),y(_e.options.components,da),_e.prototype.__patch__=ni?ea:_,_e.prototype.$mount=function(t,e){return t=t&&ni?fe(t):void 0,bt(this,t,e)},settimeout(function(){oi.devtools&&ji&&ji.emit("init",_e)},0);var pa,fa=!!ni&&function(t,e){var n=document.createelement("div");return n.innerhtml='
',n.innerhtml.indexof(e)>0}("\n"," "),ra=/\{\{((?:.|\n)+?)\}\}/g,ha=/[-.*+?^${}()|[\]\/\\]/g,ba=v(function(t){var e=t[0].replace(ha,"\\$&"),n=t[1].replace(ha,"\\$&");return new regexp(e+"((?:.|\\n)+?)"+n,"g")}),ua=[{statickeys:["staticclass"],transformnode:function(t,e){e.warn;var n=sn(t,"class");n&&(t.staticclass=json.stringify(n));var r=an(t,"class",!1);r&&(t.classbinding=r)},gendata:function(t){var e="";return t.staticclass&&(e+="staticclass:"+t.staticclass+","),t.classbinding&&(e+="class:"+t.classbinding+","),e}},{statickeys:["staticstyle"],transformnode:function(t,e){e.warn;var n=sn(t,"style");n&&(t.staticstyle=json.stringify(da(n)));var r=an(t,"style",!1);r&&(t.stylebinding=r)},gendata:function(t){var e="";return t.staticstyle&&(e+="staticstyle:"+t.staticstyle+","),t.stylebinding&&(e+="style:("+t.stylebinding+"),"),e}}],va={model:function(t,e,n){do=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsmap.type;if(t.component)return cn(t,r,i),!1;if("select"===o)gn(t,r,i);else if("input"===o&&"checkbox"===a)mn(t,r,i);else if("input"===o&&"radio"===a)yn(t,r,i);else if("input"===o||"textarea"===o)_n(t,r,i);else if(!oi.isreservedtag(o))return cn(t,r,i),!1;return!0},text:function(t,e){e.value&&en(t,"textcontent","_s("+e.value+")")},html:function(t,e){e.value&&en(t,"innerhtml","_s("+e.value+")")}},za=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ka=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ja=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),qa={expecthtml:!0,modules:ua,directives:va,ispretag:function(t){return"pre"===t},isunarytag:za,mustuseprop:bo,canbeleftopentag:ka,isreservedtag:yo,gettagnamespace:pe,statickeys:function(t){return t.reduce(function(t,e){return t.concat(e.statickeys||[])},[]).join(",")}(ua)},wa={decode:function(t){return pa=pa||document.createelement("div"),pa.innerhtml=t,pa.textcontent}},ga=/([^\s"'<>/=]+)/,za=/(?:=)/,ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],qa=new regexp("^\\s*"+ga.source+"(?:\\s*("+za.source+")\\s*(?:"+ya.join("|")+"))?"),xa="[a-za-z_][\\w\\-\\.]*",ts="((?:"+xa+"\\:)?"+xa+")",es=new regexp("^<"+ts),ns=/^\s*(\/?)>/,rs=new regexp("^<\\/"+ts+"[^>]*>"),is=/^]+>/i,os=/^