/*! * Vue.js v2.0.0-pre-alpha * (c) 2014-2016 Evan You * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function e(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function r(t,e){return Hn.call(t,e)}function i(t){return"string"==typeof t||"number"==typeof t}function o(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function a(t,e){return e?e.toUpperCase():""}function s(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function u(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function c(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 Jn.call(t)===Wn}function d(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function v(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function p(t){return Gn.test(t)?void 0:(t=t.split("."),function(e){for(var n=0;nr;r++){var o=n[r];v(t,o,e[o])}}function O(t,e){if(l(t)){var n;return r(t,"__ob__")&&t.__ob__ instanceof x?n=t.__ob__:yr.shouldConvert&&(Zn(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new x(t)),n&&e&&n.addVm(e),n}}function A(t,e,n){var r=new h,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var o=i&&i.get,a=i&&i.set,s=O(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;if(h.target&&(r.depend(),s&&s.dep.depend(),Zn(e)))for(var i,a=0,u=e.length;u>a;a++)i=e[a],i&&i.__ob__&&i.__ob__.dep.depend();return e},set:function(e){var i=o?o.call(t):n;e!==i&&(a?a.call(t,e):n=e,s=O(e),r.notify())}})}}function T(t,e,n){if(Zn(t))return t.splice(e,1,n);if(r(t,e))return void(t[e]=n);if(t._isVue)return void T(t._data,e,n);var i=t.__ob__;if(!i)return void(t[e]=n);if(i.convert(e,n),i.dep.notify(),i.vms)for(var o=i.vms.length;o--;){var a=i.vms[o];j(a,e),a.$forceUpdate()}return n}function L(t,e){if(r(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t.$forceUpdate()));if(n.dep.notify(),n.vms)for(var i=n.vms.length;i--;){var o=n.vms[i];E(o,e),o.$forceUpdate()}}}function j(t,e){d(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function E(t,e){d(e)||delete t[e]}function S(t){t._watchers=[],M(t),N(t),R(t),U(t),P(t)}function M(t){var e=t.$options.props,n=t.$options.propsData;if(e){var r=t.$options.propKeys=Object.keys(e),i=!t.$parent;yr.shouldConvert=i;for(var o=0;on;n++){var o=t[n];Zn(o)?e.push.apply(e,F(o)):i(o)?e.push(z(void 0,void 0,void 0,o)):o&&e.push(o)}return e}}function q(t,e,n){var r=void 0,i=void 0,o=void 0,a=void 0,s=void 0;for(r in t)if(i=t[r],o=e[r],void 0===o)s="!"===r.charAt(0),a=s?r.slice(1):r,Zn(i)?n(a,J(i),s):(i={fn:i},t[r]=i,n(a,W(i),s));else if(Zn(o)){o.length=i.length;for(var u=0;ur;r++)n[r].call(t);t.$emit("hook:"+e)}function Y(t,e,n,r,i){if(t){if(l(t)&&(t=vt.extend(t)),!t.cid){if(!t.resolved)return void nt(t,function(){n.$forceUpdate()});t=t.resolved}e=e||{},ot(e);var o=rt(e,t),a=e.on;a&&(e.on=null);var s=t.options.name?"-"+t.options.name:"",u=z("vue-component-"+t.cid+s,e,void 0,void 0,void 0,void 0,i);return u.componentOptions={Ctor:t,propsData:o,listeners:a,parent:n,children:r},u}}function Q(t){var e=t.componentOptions,n=e.Ctor,r=e.propsData,i=e.listeners,o=e.parent,a=e.children,s=new n({parent:o,propsData:r,_parentVnode:t,_parentListeners:i,_renderChildren:a});s.$mount(t.elm),t.child=s}function X(t,e){var n=e.componentOptions,r=n.listeners,i=n.propsData,o=n.children;e.child=t.child,e.child._updateFromParent(i,r,e,o)}function tt(t){K(t.child,"ready")}function et(t){t.child.$destroy()}function nt(t,e){t.resolved?e(t.resolved):t.requested?t.pendingCallbacks.push(e):!function(){t.requested=!0;var n=t.pendingCallbacks=[e];t(function(e){l(e)&&(e=vt.extend(e)),t.resolved=e;for(var r=0,i=n.length;i>r;r++)n[r](e)},function(t){})}()}function rt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.staticAttrs;if(!i&&!o)return r;for(var s in n){var u=qn(s);it(r,i,s,u)||it(r,o,s,u)||it(r,a,s,u)}return r}}function it(t,e,n,i){if(e){if(r(e,n))return t[n]=e[n],delete e[n],!0;if(r(e,i))return t[n]=e[i],delete e[i],!0}}function ot(t){if(t.hook)for(var e=0;er;r++)n[r]=e(t[r],r,r);else if("number"==typeof t)for(n=new Array(t),r=0;t>r;r++)n[r]=e(r+1,r,r);else if(l(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;i>r;r++)a=o[r],n[r]=e(t[a],r,a);return n},e.prototype.__registerRef__=function(t,e,n,r){var i=this.$refs;r?n?r(i[t],e):i[t]=void 0:n?i[t]?i[t].push(e):i[t]=[e]:i[t]=e}}function lt(t,e){if(e){e=F(Zn(e)?e:e());for(var n={"default":e},r=e.length,i=void 0,o=void 0;r--;)if(o=e[r],i=o.data&&o.data.slot){var a=n[i]||(n[i]=[]);"template"===o.tag?a.push.apply(a,o.children):a.push(o),e.splice(r,1)}t.$slots=n}}function ft(t){t._events=Object.create(null);var e=t.$options._parentListeners;e&&q(e,{},function(e,n){t.$on(e,n)})}function dt(t){t.prototype.$on=function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),this},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},t.prototype.$off=function(t,e){var n;if(!arguments.length)return this._events=Object.create(null),this;if(n=this._events[t],!n)return this;if(1===arguments.length)return this._events[t]=null,this;for(var r,i=n.length;i--;)if(r=n[i],r===e||r.fn===e){n.splice(i,1);break}return this},t.prototype.$emit=function(t){var e=this._events[t];if(e){e=e.length>1?u(e):e;for(var n=u(arguments,1),r=0,i=e.length;i>r;r++)e[r].apply(this,n)}}}function vt(t){this._init(t)}function pt(t,e){var n,i,o;for(n in e)i=t[n],o=e[n],r(t,n)?l(i)&&l(o)&&pt(i,o):T(t,n,o);return t}function ht(t,e){return e?t?t.concat(e):Zn(e)?e:[e]:t}function mt(t,e){var n=Object.create(t);return e?c(n,e):n}function gt(t){if(t.components){var e,n=t.components;for(var r in n)In(r)||Pn.isReservedTag(r)||(e=n[r],f(e)&&(n[r]=vt.extend(e)))}}function yt(t){var e=t.props;if(e){var n={},r=void 0,i=void 0,o=void 0;if(Zn(e))for(r=e.length;r--;)i=e[r],"string"==typeof i&&(o=zn(i),n[o]={type:null});else if(f(e))for(var a in e)i=e[a],o=zn(a),n[o]=f(i)?i:{type:i};t.props=n}}function _t(t){var e=t.directives;if(e)for(var n in e)"function"==typeof e[n]&&(e[n]={update:e[n]})}function bt(t,e,n){function i(r){var i=Cr[r]||kr;a[r]=i(t[r],e[r],n,r)}gt(e),yt(e),_t(e);var o,a={};if(e.mixins)for(var s=0,u=e.mixins.length;u>s;s++)t=bt(t,e.mixins[s],n);for(o in t)i(o);for(o in e)r(t,o)||i(o);return a}function wt(t,e,n,r){if("string"==typeof n){var i,o=t[e],a=o[n]||o[i=zn(n)]||o[i.charAt(0).toUpperCase()+i.slice(1)];return a}}function $t(t,e,n){if(n){var i=t.$options.props[e],o=(r(n,e),n[e]);return void 0===o&&(o=xt(t,i,e),yr.shouldConvert=!0,O(o),yr.shouldConvert=!1),o}}function xt(t,e,n){if(!r(e,"default"))return e.type===Boolean?!1:void 0;var i=e["default"];return l(i),"function"==typeof i&&e.type!==Function?i.call(t):i}function Ct(t){var e=t.data,n=void 0;return(n=t.child)&&(n=n._vnode.data)&&(e=kt(n,e)),(n=t.parent)&&(n=n.data)&&(e=kt(e,n)),Ot(e)}function kt(t,e){return{staticClass:At(t.staticClass,e.staticClass),"class":t["class"]?c(t["class"],e["class"]):e["class"]}}function Ot(t){var e=t["class"],n=t.staticClass;return n||e?At(n,Tt(e)):void 0}function At(t,e){return t?e?t+" "+e:t:e||""}function Tt(t){if(!t)return"";if("string"==typeof t)return t;if(Zn(t)){for(var e="",n=0,r=t.length;r>n;n++)t[n]&&(e+=Tt(t[n])+" ");return e.slice(0,-1)}if(l(t)){var i="";for(var o in t)t[o]&&(i+=o+" ");return i.slice(0,-1)}}function Lt(t){return Br(t)?"svg":"math"===t?"math":void 0}function jt(t){if(!Yn)return!0;if(t=t.toLowerCase(),null!=Ur[t])return Ur[t];var e=document.createElement(t);return t.indexOf("-")>-1?Ur[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ur[t]=/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(t)}function Et(t){if("string"==typeof t){t=document.querySelector(t)}return t}function St(t){t.use=function(t){if(!t.installed){var e=u(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Mt(t){t.mixin=function(e){t.options=bt(t.options,e)}}function Nt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var i=t.name||n.options.name,o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=bt(n.options,t),o["super"]=n,o.extend=n.extend,Pn._assetTypes.forEach(function(t){o[t]=n[t]}),i&&(o.options.components[i]=o),r&&(t._Ctor=o),o}}function Dt(t){Pn._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&f(r)&&(r.name=n,r=t.extend(r)),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Rt(t){t.config=Pn,t.util=Or,t.set=T,t["delete"]=L,t.nextTick=nr,t.options={directives:Object.create(null),filters:Object.create(null),components:Object.create(null),transitions:Object.create(null)},St(t),Mt(t),Nt(t),Dt(t)}function Bt(t){return void 0===t}function Ut(t){return void 0!==t}function Pt(t,e){return t.key===e.key&&t.tag===e.tag}function It(t,e,n){var r=void 0,i=void 0,o={};for(r=e;n>=r;++r)i=t[r].key,Ut(i)&&(o[i]=r);return o}function Ht(t){function e(t){return z(_.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=_.parentNode(t);_.removeChild(e,t)}function o(t,e){var n=void 0,r=void 0,s=t.data;if(Ut(s)&&(Ut(n=s.hook)&&Ut(n=n.init)&&n(t),Ut(n=t.child)))return a(t,e),t.elm;var u=t.children,c=t.tag;if(Ut(c)){if(r=t.elm=t.ns?_.createElementNS(t.ns,c):_.createElement(c),Array.isArray(u))for(n=0;n=r;++r)_.insertBefore(t,o(n[r],a),e)}function u(t){var e=void 0,n=void 0,r=t.data;if(Ut(r)){for(Ut(e=r.hook)&&Ut(e=e.destroy)&&e(t),e=0;e=n;++n){var i=e[n];Ut(i)&&(Ut(i.tag)?(u(i),l(i)):_.removeChild(t,i.elm))}}function l(t,e){if(e||Ut(t.data)){var i=g.remove.length+1;for(e?e.listeners+=i:e=n(t.elm,i),Ut(h=t.child)&&Ut(h=h._vnode)&&Ut(h.data)&&l(h,e),h=0;h=i&&v>=a;)Bt(l)?l=e[++i]:Bt(f)?f=e[--u]:Pt(l,p)?(d(l,p,r),l=e[++i],p=n[++a]):Pt(f,h)?(d(f,h,r),f=e[--u],h=n[--v]):Pt(l,h)?(d(l,h,r),_.insertBefore(t,l.elm,_.nextSibling(f.elm)),l=e[++i],h=n[--v]):Pt(f,p)?(d(f,p,r),_.insertBefore(t,f.elm,l.elm),f=e[--u],p=n[++a]):(Bt(m)&&(m=It(e,i,u)),g=m[p.key],Bt(g)?(_.insertBefore(t,o(p,r),l.elm),p=n[++a]):(y=e[g],d(y,p,r),e[g]=void 0,_.insertBefore(t,y.elm,l.elm),p=n[++a]));i>u?(b=Bt(n[v+1])?null:n[v+1].elm,s(t,b,n,a,v,r)):a>v&&c(t,e,i,u)}function d(t,e,n){var r=void 0,i=void 0;if(Ut(r=e.data)&&Ut(i=r.hook)&&Ut(r=i.prepatch)&&r(t,e),!Ut(r=e.data)||!r.pre){var a=e.elm=t.elm,u=t.children,l=e.children;if(t!==e){if(!Pt(t,e)){var d=_.parentNode(t.elm);return a=o(e,n),_.insertBefore(d,a,t.elm),void c(d,[t],0,0)}if(Ut(e.data)){for(r=0;r-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+ie(t)+" ";n.indexOf(" "+e+" ")<0&&ee(t,(n+e).trim())}}function re(t,e){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=" "+ie(t)+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");ee(t,n.trim())}t.className||t.removeAttribute("class")}function ie(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function oe(t){ei(function(){ei(t)})}function ae(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=t.data.transition;if(n&&(t.context.$root._mounted||n.appear)){var r=ue(n.definition,t.context),i=r.enterClass,o=r.enterActiveClass,a=r.beforeEnter,s=r.enter,u=r.afterEnter,c=r.enterCancelled,l=s&&s.length>1,f=e._enterCb=he(function(){o&&le(e,o),f.cancelled?c&&c(e):u&&u(e),e._enterCb=null});a&&a(e),i&&(ce(e,i),oe(function(){le(e,i)})),o&&oe(function(){ce(e,o),l||fe(e,f)}),s&&s(e,f),o||l||f()}}function se(t,e){var n=t.elm;n._enterCb&&(n._enterCb.cancelled=!0,n._enterCb());var r=t.data.transition;if(!r)return e();var i=ue(r.definition,t.context),o=i.leaveClass,a=i.leaveActiveClass,s=i.beforeLeave,u=i.leave,c=i.afterLeave,l=i.leaveCancelled,f=u&&u.length>1,d=n._leaveCb=he(function(){a&&le(n,a),d.cancelled?l&&l(n):(e(),c&&c(n)),n._leaveCb=null});s&&s(n),o&&(ce(n,o),oe(function(){le(n,o)})),a&&oe(function(){ce(n,a),f||fe(n,d)}),u&&u(n,d),a||f||d()}function ue(t,e){var n=t&&"string"==typeof t?wt(e.$options,"transitions",t)||t:t;return n===!0&&(n="v"),"string"==typeof n?ni(n):n}function ce(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),ne(t,e)}function le(t,e){n(t._transitionClasses,e),re(t,e)}function fe(t,e){var n=de(t),r=n.type,i=n.timeout,o=n.propCount;if(!r)return e();var a=r===Wr?Kr:Qr,s=0,u=function(){t.removeEventListener(a,c),e()},c=function(){++s>=o&&u()};setTimeout(function(){o>s&&u()},i),t.addEventListener(a,c)}function de(t){var e=window.getComputedStyle(t),n=e[Gr+"Delay"].split(", "),r=e[Gr+"Duration"].split(", "),i=e[Yr+"Delay"].split(", "),o=e[Yr+"Duration"].split(", "),a=ve(n,r),s=ve(i,o),u=Math.max(a,s),c=u>0?a>s?Wr:Zr:null,l=c?c===Wr?r.length:o.length:0;return{type:c,timeout:u,propCount:l}}function ve(t,e){return Math.max.apply(null,e.map(function(e,n){return pe(e)+pe(t[n])}))}function pe(t){return 1e3*Number(t.slice(0,-1))}function he(t){var e=!1;return function(){e||(e=!0,t())}}function me(t){return t.parent&&t.parent.data.transition||t.data.show}function ge(t){var e=t.parent;return e&&null!=e.data.transition?e.data.transition:t.data.transition}function ye(t,e,n,r){var i=e.data.directives;if(i)for(var o=0;o=0&&o[r].tag.toLowerCase()!==i;r--);}else r=0;if(r>=0){for(var a=o.length-1;a>=r;a--)e.end&&e.end(o[a].tag,o[a].attrs,a>r||!t);o.length=r,d=r&&o[r-1].tag}else"br"===n.toLowerCase()?e.start&&e.start(n,[],!0,""):"p"===n.toLowerCase()&&(e.start&&e.start(n,[],!1,"",!0),e.end&&e.end(n,[]))}for(var o=[],a=Ae(e),s=e.expectHTML,u=e.isUnaryTag||function(){return!1},c=void 0,l=void 0,f=void 0,d=void 0;t;){if(c=t,d&&ji(d)){var v=d.toLowerCase(),p=Ei[v]||(Ei[v]=new RegExp("([\\s\\S]*?)]*>","i"));t=t.replace(p,function(t,n){return"script"!==v&&"style"!==v&&"noscript"!==v&&(n=n.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""}),i("",v)}else{var h=t.indexOf("<");if(0===h){if(/^");if(m>=0){t=t.substring(m+3),l="";continue}}if(/^");if(g>=0){t=t.substring(g+2),l="";continue}}var y=t.match(Ti);if(y){e.doctype&&e.doctype(y[0]),t=t.substring(y[0].length),l="";continue}var _=t.match(Ai);if(_){t=t.substring(_[0].length),_[0].replace(Ai,i),l="/"+_[1].toLowerCase();continue}var b=n(t);if(b){t=b.rest,r(b),l=b.tagName.toLowerCase();continue}}var w;h>=0?(w=t.substring(0,h),t=t.substring(h)):(w=t,t="");var $=n(t);$?f=$.tagName:($=t.match(Ai),f=$?"/"+$[1]:""),e.chars&&e.chars(w,l,f),l=""}if(t===c)throw new Error("Error parsing template:\n\n"+t)}e.partialMarkup||i()}function je(t){if(!Si.test(t))return null;for(var e,n,r=[],i=Si.lastIndex=0;e=Si.exec(t);){n=e.index,n>i&&r.push(JSON.stringify(t.slice(i,n)));var o=e[1].trim();r.push("__toString__("+o+")"),i=n+e[0].length}return ii;i++)if(r[i].name===e){r.splice(i,1);break}}return n}function Pe(t,e){Vi=e.warn||zi,Fi=e.getTagNamespace||function(){return null},qi=e.mustUseProp||function(){return!1};var n=[],r=void 0,i=void 0,o=!1;return Le(t,{expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,start:function(t,e,a){Ii.test(t)&&(t=qn(t)),t=t.toLowerCase();var s={tag:t,attrsList:e,attrsMap:tn(e),parent:i,children:[]},u=void 0;((u=i&&i.ns)||(u=Fi(t)))&&(s.ns=u),o||(Ie(s),s.pre&&(o=!0)),o?He(s):(Ve(s),ze(s),qe(s),s.plain=!e.length,Je(s),We(s),Ze(s),Ge(s),Ke(s),Ye(s),Qe(s)),r||(r=s),i&&(s["else"]?Fe(s,i):(i.children.push(s),s.parent=i)),a||(i=s,n.push(s))},end:function(t){var e=n[n.length-1],r=e.children[e.children.length-1];r&&" "===r.text&&e.children.pop(),n.length-=1,i=n[n.length-1],e.pre&&(o=!1)},chars:function(t){if(i&&(t="pre"===i.tag||t.trim()?Hi(t):e.preserveWhitespace&&i.children.length?" ":null)){var n=void 0;!o&&" "!==t&&(n=je(t))?i.children.push({expression:n}):i.children.push({text:t})}}}),r}function Ie(t){null!=Ue(t,"v-pre")&&(t.pre=!0)}function He(t){var e=t.attrsList.length;if(e){t.attrs=new Array(e);for(var n=0;e>n;n++)t.attrs[n]={name:t.attrsList[n].name,value:JSON.stringify(t.attrsList[n].value)}}}function Ve(t){var e=void 0;if(e=Ue(t,"v-for")){var n=e.match(Ui);if(!n)return;t["for"]=n[2].trim();var r=n[1].trim(),i=r.match(Pi);i?(t.iterator=i[1].trim(),t.alias=i[2].trim()):t.alias=r,(e=Ue(t,"track-by"))&&(t.key="$index"===e?e:t.alias+'["'+e+'"]')}}function ze(t){var e=Ue(t,"v-if");e&&(t["if"]=e),null!=Ue(t,"v-else")&&(t["else"]=!0)}function Fe(t,e){var n=en(e.children);n&&(n["if"]||n.attrsMap["v-show"])&&(n["if"]?n.elseBlock=t:(Ne(t,"show","!("+n.attrsMap["v-show"]+")"),t.transition=n.transition,t.show=!0,e.children.push(t)))}function qe(t){var e=Ue(t,"v-once");null!=e&&(t.once=!0)}function Je(t){"render"===t.tag&&(t.render=!0,t.renderMethod=t.attrsMap.method,t.renderArgs=t.attrsMap[":args"]||t.attrsMap["v-bind:args"])}function We(t){if("slot"===t.tag)t.slotName=Be(t,"name");else{var e=Be(t,"slot");e&&(t.slotTarget=e)}}function Ze(t){"component"===t.tag&&(t.component=Be(t,"is"))}function Ge(t){var e=Ue(t,"class");t.staticClass=je(e)||JSON.stringify(e);var n=Be(t,"class",!1);n&&(t.classBinding=n)}function Ke(t){var e=Be(t,"style",!1);e&&(t.styleBinding=e)}function Ye(t){var e=Be(t,"transition");'""'===e&&(e=!0),e&&(t.transition=e,t.transitionOnAppear=null!=Be(t,"transition-on-appear"))}function Qe(t){var e=t.attrsList,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0;for(n=0,r=e.length;r>n;n++)if(i=e[n].name,o=e[n].value,Mi.test(i))s=Xe(i),s&&(i=i.replace(Bi,"")),Ni.test(i)?(i=i.replace(Ni,""),qi(i)?Ee(t,i,o):Se(t,i,o)):Di.test(i)?(i=i.replace(Di,""),Re(t,i,o,s)):(i=i.replace(Mi,""),(a=i.match(Ri))&&(a=a[1])&&(i=i.slice(0,-(a.length+1))),Ne(t,i,o,a,s));else{var u=je(o);u?Vi("Interpolation inside attributes has been deprecated. Use v-bind or the colon shorthand instead."):Me(t,i,JSON.stringify(o))}}function Xe(t){var e=t.match(Bi);if(e){var n=function(){var t={};return e.forEach(function(e){t[e.slice(1)]=!0}),{v:t}}();if("object"==typeof n)return n.v}}function tn(t){for(var e={},n=0,r=t.length;r>n;n++)e[t[n].name]=t[n].value;return e}function en(t){for(var e=t.length;e--;)if(t[e].tag)return t[e]}function nn(t,e){Ji=e.isReservedTag||function(){return!1},rn(t),on(t)}function rn(t){if(t["static"]=an(t),t.children)for(var e=0,n=t.children.length;n>e;e++){var r=t.children[e];rn(r),r["static"]||(t["static"]=!1)}}function on(t){if(t.tag&&(t.once||t["static"]))return void(t.staticRoot=!0);if(t.children)for(var e=0,n=t.children.length;n>e;e++)on(t.children[e])}function an(t){return!(!t.text&&!t.pre&&(t.expression||t["if"]||t["for"]||t.tag&&!Ji(t.tag)||In(t.tag)||!t.plain&&!Object.keys(t).every(Wi)))}function sn(t){var e="on:{";for(var n in t)e+='"'+n+'":'+un(t[n])+",";return e.slice(0,-1)+"}"}function un(t){if(t){if(Zn(t))return"["+t.map(un).join(",")+"]";if(t.modifiers){var e="function($event){";for(var n in t.modifiers)e+=Ki[n]||cn(n);var r=Zi.test(t.value)?t.value+"($event)":t.value;return e+r+"}"}return Zi.test(t.value)?t.value:"function($event){"+t.value+"}"}return"function(){}"}function cn(t){var e=Gi[t];return Zn(e)?"if("+e.map(function(t){return"$event.keyCode!=="+t}).join("&&")+")return;":"if($event.keyCode!=="+e+")return;"}function ln(t,e){for(var n=!1,r=t;r;)void 0!==r["for"]&&(n=!0),r=r.parent;var i='__registerRef__("'+e.arg+'", n1.child || n1.elm, '+(n?"true":"false");De(t,"insert",i+")"),De(t,"destroy",i+", true)")}function fn(t,e){to=[],Qi=e.directives||{},Xi=e.isReservedTag||function(){return!1};var n=t?dn(t):'__h__("div")';return{render:"with (this) { return "+n+"}",staticRenderFns:to}}function dn(t){if(t["for"])return hn(t);if(t["if"])return vn(t);if("template"!==t.tag||t.slotTarget){if("render"===t.tag)return wn(t);if("slot"===t.tag)return $n(t);if("component"===t.tag)return xn(t); var e=yn(t,!Xi(t.tag)),n="__h__('"+t.tag+"', "+mn(t)+", "+e+", '"+(t.ns||"")+"')";return t.staticRoot?(to.push("with(this){return "+n+"}"),"_staticTrees["+(to.length-1)+"]"):n}return yn(t)}function vn(t){var e=t["if"];return t["if"]=!1,"("+e+") ? "+dn(t)+" : "+pn(t)}function pn(t){return t.elseBlock?dn(t.elseBlock):"null"}function hn(t){var e=t["for"],n=t.alias,r=t.iterator;return t["for"]=!1,"("+e+")&&__renderList__(("+e+"), "+("function("+n+",$index"+(r?","+r:"")+"){")+("return "+dn(t))+"})"}function mn(t){if(t.plain)return"undefined";var e="{";if(t.directives){var n=gn(t);n&&(e+=n+",")}return t.pre&&(e+="pre:true,"),t.key&&(e+="key:"+t.key+","),t.slotTarget&&(e+="slot:"+t.slotTarget+","),t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),t.styleBinding&&(e+="style:"+t.styleBinding+","),t.transition&&(e+="transition:{definition:("+t.transition+"),appear:"+t.transitionOnAppear+"},"),(t.attrsMap["v-show"]||t.show)&&(e+="show:true,"),t.props&&(e+="props:{"+Cn(t.props)+"},"),t.attrs&&(e+="attrs:{"+Cn(t.attrs)+"},"),t.staticAttrs&&(e+="staticAttrs:{"+Cn(t.staticAttrs)+"},"),t.hooks&&(e+="hook:{"+kn(t.hooks)+"},"),t.events&&(e+=sn(t.events)),e.replace(/,$/,"")+"}"}function gn(t){var e=t.directives,n="directives:[",r=!1,i=void 0,o=void 0,a=void 0,s=void 0;for(i=0,o=e.length;o>i;i++){a=e[i],s=!0;var u=Qi[a.name]||Yi[a.name];u&&(s=!!u(t,a)),s&&(r=!0,n+='{name:"'+a.name+'"'+(a.value?",value:("+a.value+")":"")+(a.arg?',arg:"'+a.arg+'"':"")+(a.modifiers?",modifiers:"+JSON.stringify(a.modifiers):"")+"},")}return r?n.slice(0,-1)+"]":void 0}function yn(t,e){if(!t.children.length)return"undefined";var n="["+t.children.map(_n).join(",")+"]";return e?"function(){return "+n+"}":n}function _n(t){return t.tag?dn(t):bn(t)}function bn(t){return t.expression?"("+t.expression+")":JSON.stringify(t.text)}function wn(t){return t.renderMethod+"("+(t.renderArgs||"null")+","+yn(t)+")"}function $n(t){var e=t.slotName||'"default"';return"($slots["+e+"] || "+yn(t)+")"}function xn(t){return"__h__("+t.component+", "+mn(t)+", "+yn(t,!0)+")"}function Cn(t){for(var e="",n=0;n-1")+(":!!("+e+")")),Re(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked;if(Array.isArray($$a)){"+("var $$v="+n+",")+"$$i=$$a.indexOf($$v);if($$c){$$i<0&&$$a.push($$v)}else{$$i>-1&&$$a.splice($$i,1)}"+("}else{"+e+"=$$c}"))}function Ln(t,e){var n=Be(t,"value");Ee(t,"checked","("+e+"=="+n+")"),Re(t,"change",e+"="+n)}function jn(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=o?"change":"input",c=!o&&"range"!==r,l="$event.target.value"+(s?".trim()":""),f=a||"number"===r?e+"=Number("+l+")":e+"="+l;return c&&(f="if($event.target.composing)return;"+f),Ee(t,"value","("+e+")"),Re(t,u,f),c?!0:void 0}function En(t,e){for(var n=0;n-1"})}function Nn(t,e){e.value&&Ee(t,"textContent","__toString__("+e.value+")")}function Dn(t,e){e.value&&Ee(t,"innerHTML","__toString__("+e.value+")")}function Rn(t,e){return e=e?c(c({},oo),e):oo,On(t,e)}function Bn(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.preserveWhitespace!==!1,r=n?ro:io;if(r[t])return r[t];var i={},o=Rn(t,{preserveWhitespace:n});i.render=new Function(o.render);var a=o.staticRenderFns.length;if(a){i.staticRenderFns=new Array(a);for(var s=0;a>s;s++)i.staticRenderFns[s]=new Function(o.staticRenderFns[s])}return r[t]=i}function Un(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var Pn={preserveWhitespace:!0,silent:!1,isReservedTag:function(){return!1},isUnknownElement:function(){return!1},_assetTypes:["component","directive","transition"],_lifecycleHooks:["init","created","beforeMount","mounted","ready","beforeUpdate","updated","beforeDestroy","destroyed"],_maxUpdateCount:100},In=e("slot,component,render,transition",!0),Hn=Object.prototype.hasOwnProperty,Vn=/-(\w)/g,zn=o(function(t){return t.replace(Vn,a)}),Fn=/([a-z\d])([A-Z])/g,qn=o(function(t){return t.replace(Fn,"$1-$2").toLowerCase()}),Jn=Object.prototype.toString,Wn="[object Object]",Zn=Array.isArray,Gn=/[^\w\.]/,Kn="__proto__"in{},Yn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Qn=Yn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Xn=Yn&&window.navigator.userAgent.toLowerCase(),tr=Xn&&/(iphone|ipad|ipod|ios)/i.test(Xn),er=Xn&&Xn.indexOf("micromessenger")>0,nr=function(){function t(){r=!1;var t=n.slice(0);n=[];for(var e=0;ee;e++)t[e].update()};var or,ar=[],sr=[],ur={},cr={},lr=!1,fr=!1,dr=0,vr=void 0;w.prototype.get=function(){this.beforeGet();var t=this.getter.call(this.vm,this.vm);return this.deep&&$(t),this.afterGet(),t},w.prototype.beforeGet=function(){vr=h.target,h.target=this},w.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))},w.prototype.afterGet=function(){h.target=vr;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},w.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync?this.run():(this.shallow=this.queued?t?this.shallow:!1:!!t,this.queued=!0,b(this))},w.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(l(t)||this.deep)&&!this.shallow){var e=this.value;this.value=t,this.cb.call(this.vm,t,e)}this.queued=this.shallow=!1}},w.prototype.evaluate=function(){var t=h.target;this.value=this.get(),this.dirty=!1,h.target=t},w.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},w.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||n(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var pr=new rr,hr=Array.prototype,mr=Object.create(hr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=hr[t];v(mr,t,function(){for(var n=arguments.length,r=new Array(n);n--;)r[n]=arguments[n];var i,o=e.apply(this,r),a=this.__ob__;switch(t){case"push":i=r;break;case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var gr=Object.getOwnPropertyNames(mr),yr={shouldConvert:!0};x.prototype.walk=function(t){for(var e in t)this.convert(e,t[e])},x.prototype.observeArray=function(t){for(var e=0,n=t.length;n>e;e++)O(t[e])},x.prototype.convert=function(t,e){A(this.value,t,e)},x.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},x.prototype.removeVm=function(t){n(this.vms,t)};var _r={init:Q,prepatch:X,insert:tt,destroy:et},br=Object.keys(_r),wr={activeInstance:null},$r=0;vt.prototype._init=function(t){this._uid=$r++,this._isVue=!0,this.$options=bt(this.constructor.options,t||{},this),this._renderProxy=this,Z(this),ft(this),K(this,"init"),S(this),K(this,"created"),ut(this)},vt.prototype.$nextTick=function(t){nr(t,this)},H(vt),dt(vt),G(vt),ct(vt);var xr=void 0,Cr=Pn.optionMergeStrategies=Object.create(null);Cr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?pt(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return pt(e.call(this),t.call(this))}:e:t},Cr.el=function(t,e,n){if(n||!e||"function"==typeof e){var r=e||t;return n&&"function"==typeof r?r.call(n):r}},Pn._lifecycleHooks.forEach(function(t){Cr[t]=ht}),Pn._assetTypes.forEach(function(t){Cr[t+"s"]=mt}),Cr.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};c(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Zn(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Cr.props=Cr.methods=Cr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return c(n,t),c(n,e),n};var kr=function(t,e){return void 0===e?t:e},Or=Object.freeze({defineReactive:A,renderString:t,makeMap:e,isBuiltInTag:In,remove:n,hasOwn:r,isPrimitive:i,cached:o,camelize:zn,hyphenate:qn,bind:s,toArray:u,extend:c,isObject:l,isPlainObject:f,isArray:Zn,isReserved:d,def:v,parsePath:p,hasProto:Kn,inBrowser:Yn,devtools:Qn,nextTick:nr,get _Set(){return rr},mergeOptions:bt,resolveAsset:wt,warn:xr,validateProp:$t}),Ar=e("value,selected,checked,muted"),Tr=e("contenteditable,draggable,spellcheck"),Lr=e("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",Er=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Sr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Mr=e("html,base,head,link,meta,style,title,address,article,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,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"),Nr=e("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),Dr=e("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),Rr=e("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",!0),Br=e("svg,g,defs,symbol,use,image,text,circle,ellipse,line,path,polygon,polyline,rect",!0),Ur=Object.create(null),Pr=Yn&&window.navigator.userAgent.toLowerCase(),Ir=Pr&&Pr.indexOf("msie 9.0")>0,Hr=Pr&&Pr.indexOf("android")>0;Rt(vt),vt.version="2.0.0-alpha.0";var Vr=z("",{},[]),zr=["create","update","remove","destroy"],Fr=Object.freeze({createElement:Vt,createElementNS:zt,createTextNode:Ft,insertBefore:qt,removeChild:Jt,appendChild:Wt,parentNode:Zt,nextSibling:Gt,tagName:Kt,setTextContent:Yt});Ir&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&te(t)});var qr={bind:function(t){Hr||(t.addEventListener("compositionstart",Qt),t.addEventListener("compositionend",Xt)),Ir&&(t.vmodel=!0)},unbind:function(t){Hr||(t.removeEventListener("compositionstart",Qt),t.removeEventListener("compositionend",Xt))}},Jr=Sr.svg,Wr="transition",Zr="animation",Gr=void 0,Kr=void 0,Yr=void 0,Qr=void 0;if(Yn&&!Ir){var Xr=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,ti=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Gr=Xr?"WebkitTransition":"transition",Kr=Xr?"webkitTransitionEnd":"transitionend",Yr=ti?"WebkitAnimation":"animation",Qr=ti?"webkitAnimationEnd":"animationend"}var ei=Yn&&window.requestAnimationFrame||setTimeout,ni=o(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active"}}),ri=Kr?{create:function(t,e){me(e)||ae(e)},remove:function(t,e){me(t)?e():se(t,e)}}:{},ii={bind:function(t,e,n,r){var i=ge(r);e&&i&&i.appea&&!Ir&&ae(r),t.style.display=e?"":"none"},update:function(t,e,n,r){var i=ge(r);i&&!Ir?e?(ae(r),t.style.display=""):se(r,function(){t.style.display="none"}):t.style.display=e?"":"none"}},oi={model:qr,show:ii},ai={create:function(t,e){ye(t,e,"bind")},update:function(t,e){ye(t,e,"update",!0)},destroy:function(t){ye(null,t,"unbind")}},si=[ai],ui={create:function(t,e){var n=e.data.staticAttrs;if(n)for(var r in n)!e.elm,be(e.elm,r,n[r]);_e(t,e)},update:_e},ci={create:we,update:we},li={create:$e,update:$e},fi={create:xe,update:xe},di=["Webkit","Moz","ms"],vi=Yn&&document.createElement("div"),pi=o(function(t){if(t=zn(t),"filter"!==t&&t in vi.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n\/=]+)/,bi=/=/,wi=[bi],$i=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],xi="[a-zA-Z_][\\w\\-\\.]*",Ci="((?:"+xi+"\\:)?"+xi+")",ki=new RegExp("^<"+Ci),Oi=/^\s*(\/?)>/,Ai=new RegExp("^<\\/"+Ci+"[^>]*>"),Ti=/^]+>/i,Li=!1;"x".replace(/x(.)?/g,function(t,e){Li=""===e});var ji=e("script,style",!0),Ei={},Si=/\{\{((?:.|\\n)+?)\}\}/g,Mi=/^v-|^@|^:/,Ni=/^:|^v-bind:/,Di=/^@|^v-on:/,Ri=/:(.*)$/,Bi=/\.[^\.]+/g,Ui=/(.*)\s+(?:in|of)\s+(.*)/,Pi=/\((.*),(.*)\)/,Ii=/[a-z\d][A-Z]/,Hi=o(Oe),Vi=void 0,zi=function(t){return console.error("[Vue parser]: "+t)},Fi=void 0,qi=void 0,Ji=void 0,Wi=e("tag,attrsList,attrsMap,plain,parent,children,staticAttrs,staticClass"),Zi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Gi={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,"delete":[8,46]},Ki={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Yi={ref:ln,cloak:function(){}},Qi=void 0,Xi=void 0,to=void 0,eo='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){return "_value" in o ? o._value : o.value})',no={model:An,text:Nn,html:Dn},ro=Object.create(null),io=Object.create(null),oo={expectHTML:!0,directives:no,isReservedTag:Mr,isUnaryTag:Nr,mustUseProp:Ar,getTagNamespace:Lt},ao=o(function(t){return Et(t).innerHTML}),so=vt.prototype.$mount;return vt.prototype.$mount=function(t){t=t&&Et(t);var e=this.$options;if(!e.render){var n=e.template;if(n?"string"==typeof n?"#"===n.charAt(0)&&(n=ao(n)):n.nodeType?n=n.innerHTML:xr("invalid template option:"+n,this):t&&(n=Un(t)),n){var r=Bn(n,{preserveWhitespace:Pn.preserveWhitespace}),i=r.render,o=r.staticRenderFns;e.render=i,e.staticRenderFns=o}}so.call(this,t)},vt.compile=Bn,vt});