From f15642a67de98b1997bd3ad6fb18d42523d5f2c9 Mon Sep 17 00:00:00 2001 From: Doflatango Date: Thu, 16 Feb 2017 16:35:17 +0800 Subject: [PATCH] build js --- web/ui/dist/build.js | 2 +- web/ui/dist/build.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ui/dist/build.js b/web/ui/dist/build.js index 91d79bb..65dedef 100644 --- a/web/ui/dist/build.js +++ b/web/ui/dist/build.js @@ -36,5 +36,5 @@ g.verbose.apply(console,arguments)))},error:function(){h.silent||(g.error=Functi if(n.$options._parentVnode=i,n.$vnode=i,n._vnode&&(n._vnode.parent=i),n.$options._renderChildren=o,e&&n.$options.props){On.shouldConvert=!1;for(var a=n.$options._propKeys||[],s=0;s=0&&Kn[i].id>e.id;)i--;Kn.splice(Math.max(i,or)+1,0,e)}else Kn.push(e);tr||(tr=!0,Sn(Be))}}function Ie(e){ar.clear(),Se(e,ar)}function Se(e,t){var i,o,n=Array.isArray(e);if((n||m(e))&&Object.isExtensible(e)){if(e.__ob__){var r=e.__ob__.dep.id;if(t.has(r))return;t.add(r)}if(n)for(i=e.length;i--;)Se(e[i],t);else for(o=Object.keys(e),i=o.length;i--;)Se(e[o[i]],t)}}function Te(e){e._watchers=[];var t=e.$options;t.props&&De(e,t.props),t.methods&&Qe(e,t.methods),t.data?je(e):E(e._data={},!0),t.computed&&ze(e,t.computed),t.watch&&Le(e,t.watch)}function De(e,t){var i=e.$options.propsData||{},o=e.$options._propKeys=Object.keys(t),n=!e.$parent;On.shouldConvert=n;for(var r=function(n){var r=o[n];I(e,r,M(r,t,i,e))},a=0;a-1:e.test(t)}function Ze(e,t){for(var i in e){var o=e[i];if(o){var n=Xe(o.componentOptions);n&&!t(n)&&(Ve(o),e[i]=null)}}}function Ve(e){e&&(e.componentInstance._inactive||Ce(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function $e(e){var t={};t.get=function(){return hn},Object.defineProperty(e,"config",t),e.util=Hn,e.set=S,e.delete=T,e.nextTick=Sn,e.options=Object.create(null),hn._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,d(e.options.components,dr),Ge(e),Ue(e),qe(e),Je(e)}function Ke(e){for(var t=e.data,i=e,o=e;o.componentInstance;)o=o.componentInstance._vnode,o.data&&(t=et(o.data,t));for(;i=i.parent;)i.data&&(t=et(t,i.data));return tt(t)}function et(e,t){return{staticClass:it(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function tt(e){var t=e.class,i=e.staticClass;return i||t?it(i,ot(t)):""}function it(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 i,o=0,n=e.length;o-1?Er[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Er[e]=/HTMLUnknownElement/.test(t.toString())}function at(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function st(e,t){var i=document.createElement(e);return"select"!==e?i:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&i.setAttribute("multiple","multiple"),i)}function lt(e,t){return document.createElementNS(yr[e],t)}function ct(e){return document.createTextNode(e)}function ut(e){return document.createComment(e)}function dt(e,t,i){e.insertBefore(t,i)}function mt(e,t){e.removeChild(t)}function ft(e,t){e.appendChild(t)}function bt(e){return e.parentNode}function pt(e){return e.nextSibling}function gt(e){return e.tagName}function ht(e,t){e.textContent=t}function vt(e,t,i){e.setAttribute(t,i)}function At(e,t){var i=e.data.ref;if(i){var o=e.context,n=e.componentInstance||e.elm,a=o.$refs;t?Array.isArray(a[i])?r(a[i],n):a[i]===n&&(a[i]=void 0):e.data.refInFor?Array.isArray(a[i])&&a[i].indexOf(n)<0?a[i].push(n):a[i]=[n]:a[i]=n}}function wt(e){return null==e}function xt(e){return null!=e}function yt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function kt(e,t,i){var o,n,r={};for(o=t;o<=i;++o)n=e[o].key,xt(n)&&(r[n]=o);return r}function Ct(e){function t(e){return new _n(E.tagName(e).toLowerCase(),{},[],void 0,e)}function i(e,t){function i(){0===--i.listeners&&o(e)}return i.listeners=t,i}function o(e){var t=E.parentNode(e);t&&E.removeChild(t,e)}function r(e,t,i,o,n){if(e.isRootInsert=!n,!a(e,t,i,o)){var r=e.data,s=e.children,l=e.tag;xt(l)?(e.elm=e.ns?E.createElementNS(e.ns,l):E.createElement(l,e),b(e),d(e,s,t),xt(r)&&f(e,t),u(i,e.elm,o)):e.isComment?(e.elm=E.createComment(e.text),u(i,e.elm,o)):(e.elm=E.createTextNode(e.text),u(i,e.elm,o))}}function a(e,t,i,o){var n=e.data;if(xt(n)){var r=xt(e.componentInstance)&&n.keepAlive;if(xt(n=n.hook)&&xt(n=n.init)&&n(e,!1,i,o),xt(e.componentInstance))return l(e,t),r&&c(e,t,i,o),!0}}function l(e,t){e.data.pendingInsert&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,m(e)?(f(e,t),b(e)):(At(e),t.push(e))}function c(e,t,i,o){for(var n,r=e;r.componentInstance;)if(r=r.componentInstance._vnode,xt(n=r.data)&&xt(n=n.transition)){for(n=0;nm?(c=wt(i[g+1])?null:i[g+1].elm,p(e,c,i,d,g,o)):d>g&&h(e,t,u,m)}function w(e,t,i,o){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 n,r=t.data,a=xt(r);a&&xt(n=r.hook)&&xt(n=n.prepatch)&&n(e,t);var s=t.elm=e.elm,l=e.children,c=t.children;if(a&&m(t)){for(n=0;n-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var i=" "+e.getAttribute("class")+" ";i.indexOf(" "+t+" ")<0&&e.setAttribute("class",(i+t).trim())}}function Ut(e,t){if(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 i=" "+e.getAttribute("class")+" ",o=" "+t+" ";i.indexOf(o)>=0;)i=i.replace(o," ");e.setAttribute("class",i.trim())}}function qt(e){Kr(function(){Kr(e)})}function Jt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Gt(e,t)}function Xt(e,t){e._transitionClasses&&r(e._transitionClasses,t),Ut(e,t)}function Wt(e,t,i){var o=Zt(e,t),n=o.type,r=o.timeout,a=o.propCount;if(!n)return i();var s=n===Jr?Zr:$r,l=0,c=function(){e.removeEventListener(s,u),i()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(i=Jr,u=a,d=r.length):t===Xr?c>0&&(i=Xr,u=c,d=l.length):(u=Math.max(a,c),i=u>0?a>c?Jr:Xr:null,d=i?i===Jr?r.length:l.length:0);var m=i===Jr&&ea.test(o[Wr+"Property"]);return{type:i,timeout:u,propCount:d,hasTransform:m}}function Vt(e,t){for(;e.length1,j=i._enterCb=ii(function(){T&&(Xt(i,F),Xt(i,C)),j.cancelled?(T&&Xt(i,k),S&&S(i)):I&&I(i),i._enterCb=null});e.data.show||ne(e.data.hook||(e.data.hook={}),"insert",function(){var t=i.parentNode,o=t&&t._pending&&t._pending[e.key];o&&o.tag===e.tag&&o.elm._leaveCb&&o.elm._leaveCb(),E&&E(i,j)},"transition-insert"),B&&B(i),T&&(Jt(i,k),Jt(i,C),qt(function(){Jt(i,F),Xt(i,k),j.cancelled||D||Wt(i,r,j)})),e.data.show&&(t&&t(),E&&E(i,j)),T||D||j()}}}function ei(e,t){function i(){h.cancelled||(e.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[e.key]=e),u&&u(o),p&&(Jt(o,s),Jt(o,c),qt(function(){Jt(o,l),Xt(o,s),h.cancelled||g||Wt(o,a,h)})),d&&d(o,h),p||g||h())}var o=e.elm;o._enterCb&&(o._enterCb.cancelled=!0,o._enterCb());var n=ti(e.data.transition);if(!n)return t();if(!o._leaveCb&&1===o.nodeType){var r=n.css,a=n.type,s=n.leaveClass,l=n.leaveToClass,c=n.leaveActiveClass,u=n.beforeLeave,d=n.leave,m=n.afterLeave,f=n.leaveCancelled,b=n.delayLeave,p=r!==!1&&!kn,g=d&&(d._length||d.length)>1,h=o._leaveCb=ii(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[e.key]=null),p&&(Xt(o,l),Xt(o,c)),h.cancelled?(p&&Xt(o,s),f&&f(o)):(t(),m&&m(o)),o._leaveCb=null});b?b(i):i()}}function ti(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&d(t,ta(e.name||"v")),d(t,e),t}return"string"==typeof e?ta(e):void 0}}function ii(e){var t=!1;return function(){t||(t=!0,e())}}function oi(e,t){t.data.show||Kt(t)}function ni(e,t,i){var o=t.value,n=e.multiple;if(!n||Array.isArray(o)){for(var r,a,s=0,l=e.options.length;s-1,a.selected!==r&&(a.selected=r);else if(h(ai(a),o))return void(e.selectedIndex!==s&&(e.selectedIndex=s));n||(e.selectedIndex=-1)}}function ri(e,t){for(var i=0,o=t.length;i',i.innerHTML.indexOf(t)>0}function wi(e){return ba=ba||document.createElement("div"),ba.innerHTML=e,ba.textContent}function xi(e,t){return t&&(e=e.replace(ss,"\n")),e.replace(rs,"<").replace(as,">").replace(ls,"&").replace(cs,'"')}function yi(e,t){function i(t){d+=t,e=e.substring(t)}function o(){var t=e.match(Fa);if(t){var o={tagName:t[1],attrs:[],start:d};i(t[0].length);for(var n,r;!(n=e.match(Ba))&&(r=e.match(ya));)i(r[0].length),o.attrs.push(r);if(n)return o.unarySlash=n[1],i(n[0].length),o.end=d,o}}function n(e){var i=e.tagName,o=e.unarySlash;c&&("p"===s&&va(i)&&r(s),ha(i)&&s===i&&r(i));for(var n=u(i)||"html"===i&&"head"===s||!!o,a=e.attrs.length,d=new Array(a),m=0;m=0&&l[n].lowerCasedTag!==r;n--);else n=0;if(n>=0){for(var a=l.length-1;a>=n;a--)t.end&&t.end(l[a].tag,i,o);l.length=n,s=n&&l[n-1].tag}else"br"===r?t.start&&t.start(e,[],!0,i,o):"p"===r&&(t.start&&t.start(e,[],!1,i,o),t.end&&t.end(e,i,o))}for(var a,s,l=[],c=t.expectHTML,u=t.isUnaryTag||pn,d=0;e;){if(a=e,s&&os(s)){var m=s.toLowerCase(),f=ns[m]||(ns[m]=new RegExp("([\\s\\S]*?)(]*>)","i")),b=0,p=e.replace(f,function(e,i,o){return b=o.length,"script"!==m&&"style"!==m&&"noscript"!==m&&(i=i.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(i),""});d+=e.length-p.length,e=p,r(m,d-b,d)}else{var g=e.indexOf("<");if(0===g){if(Sa.test(e)){var h=e.indexOf("-->");if(h>=0){i(h+3);continue}}if(Ta.test(e)){var v=e.indexOf("]>");if(v>=0){i(v+2);continue}}var A=e.match(Ia);if(A){i(A[0].length);continue}var w=e.match(Ea);if(w){var x=d;i(w[0].length),r(w[1],x,d);continue}var y=o();if(y){n(y);continue}}var k=void 0,C=void 0,F=void 0;if(g>0){for(C=e.slice(g);!(Ea.test(C)||Fa.test(C)||Sa.test(C)||Ta.test(C)||(F=C.indexOf("<",1),F<0));)g+=F,C=e.slice(g);k=e.substring(0,g),i(g)}g<0&&(k=e,e=""),t.chars&&k&&t.chars(k)}if(e===a&&t.chars){t.chars(e);break}}r()}function ki(e){function t(){(a||(a=[])).push(e.slice(b,n).trim()),b=n+1}var i,o,n,r,a,s=!1,l=!1,c=!1,u=!1,d=0,m=0,f=0,b=0;for(n=0;n=0&&(g=e.charAt(p)," "===g);p--);g&&/[\w$]/.test(g)||(u=!0)}}else void 0===r?(b=n+1,r=e.slice(0,n).trim()):t();if(void 0===r?r=e.slice(0,n).trim():0!==b&&t(),a)for(n=0;na&&r.push(JSON.stringify(e.slice(a,n)));var s=ki(o[1].trim());r.push("_s("+s+")"),a=n+o[0].length}return a=ja}function Ri(e){return 34===e||39===e}function Oi(e){var t=1;for(La=Qa;!Li();)if(e=Qi(),Ri(e))Mi(e);else if(91===e&&t++,93===e&&t--,0===t){Ra=Qa;break}}function Mi(e){for(var t=e;!Li()&&(e=Qi(),e!==t););}function Ni(e,t){Oa=t.warn||Bi,Ma=t.getTagNamespace||pn,Na=t.mustUseProp||pn,Pa=t.isPreTag||pn,Ha=Ei(t.modules,"preTransformNode"),_a=Ei(t.modules,"transformNode"),Ga=Ei(t.modules,"postTransformNode"),Ua=t.delimiters;var i,o,n=[],r=t.preserveWhitespace!==!1,a=!1,s=!1;return yi(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,r,l){function c(e){}var u=o&&o.ns||Ma(e);yn&&"svg"===u&&(r=no(r));var d={type:1,tag:e,attrsList:r,attrsMap:io(r),parent:o,children:[]};u&&(d.ns=u),oo(d)&&!En()&&(d.forbidden=!0);for(var m=0;m-1"+("true"===r?":("+t+")":":_q("+t+","+r+")")),Di(e,"click","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+a+");if(Array.isArray($$a)){var $$v="+(o?"_n("+n+")":n)+",$$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 Jo(e,t,i){var o=i&&i.number,n=ji(e,"value")||"null";n=o?"_n("+n+")":n,Ii(e,"checked","_q("+t+","+n+")"),Di(e,"click",Zo(t,n),null,!0)}function Xo(e,t,i){var o=e.attrsMap.type,n=i||{},r=n.lazy,a=n.number,s=n.trim,l=r||yn&&"range"===o?"change":"input",c=!r&&"range"!==o,u="input"===e.tag||"textarea"===e.tag,d=u?"$event.target.value"+(s?".trim()":""):s?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";d=a||"number"===o?"_n("+d+")":d;var m=Zo(t,d);u&&c&&(m="if($event.target.composing)return;"+m),Ii(e,"value",u?"_s("+t+")":"("+t+")"),Di(e,l,m,null,!0),(s||a||"number"===o)&&Di(e,"blur","$forceUpdate()")}function Wo(e,t,i){var o=i&&i.number,n='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 '+(o?"_n(val)":"val")+"})"+(null==e.attrsMap.multiple?"[0]":""),r=Zo(t,n);Di(e,"change",r,null,!0)}function Zo(e,t){var i=Yi(e);return null===i.idx?e+"="+t:"var $$exp = "+i.exp+", $$idx = "+i.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function Vo(e,t){t.value&&Ii(e,"textContent","_s("+t.value+")")}function $o(e,t){t.value&&Ii(e,"innerHTML","_s("+t.value+")")}function Ko(e,t){return t=t?d(d({},Ys),t):Ys,No(e,t)}function en(e,t,i){var o=(t&&t.warn||Dn,t&&t.delimiters?String(t.delimiters)+e:e);if(zs[o])return zs[o];var n={},r=Ko(e,t);n.render=tn(r.render);var a=r.staticRenderFns.length;n.staticRenderFns=new Array(a);for(var s=0;s0,Cn=xn&&xn.indexOf("edge/")>0,Fn=xn&&xn.indexOf("android")>0,Bn=xn&&/iphone|ipad|ipod|ios/.test(xn),En=function(){return void 0===nn&&(nn=!wn&&"undefined"!=typeof t&&"server"===t.process.env.VUE_ENV),nn},In=wn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Sn=function(){function e(){o=!1;var e=i.slice(0);i.length=0;for(var t=0;t1&&(t[i[0].trim()]=i[1].trim())}}),t}),Nr=/^--/,Pr=/\s*!important$/,Hr=function(e,t,i){Nr.test(t)?e.style.setProperty(t,i):Pr.test(i)?e.style.setProperty(t,i.replace(Pr,""),"important"):e.style[Gr(t)]=i},_r=["Webkit","Moz","ms"],Gr=l(function(e){if(fr=fr||document.createElement("div"),e=cn(e),"filter"!==e&&e in fr.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<_r.length;i++){var o=_r[i]+t;if(o in fr.style)return o}}),Ur={create:_t,update:_t},qr=wn&&!kn,Jr="transition",Xr="animation",Wr="transition",Zr="transitionend",Vr="animation",$r="animationend";qr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Wr="WebkitTransition",Zr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Vr="WebkitAnimation",$r="webkitAnimationEnd"));var Kr=wn&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,ea=/\b(transform|all)(,|$)/,ta=l(function(e){return{enterClass:e+"-enter",leaveClass:e+"-leave",appearClass:e+"-enter",enterToClass:e+"-enter-to",leaveToClass:e+"-leave-to",appearToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveActiveClass:e+"-leave-active",appearActiveClass:e+"-enter-active"}}),ia=wn?{create:oi,activate:oi,remove:function(e,t){e.data.show?t():ei(e,t)}}:{},oa=[Qr,Lr,Rr,Or,Ur,ia],na=oa.concat(Yr),ra=Ct({nodeOps:Ir,modules:na});kn&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&ci(e,"input")});var aa={inserted:function(e,t,i){if("select"===i.tag){var o=function(){ni(e,t,i.context)};o(),(yn||Cn)&&setTimeout(o,0)}else"textarea"!==i.tag&&"text"!==e.type||(e._vModifiers=t.modifiers,t.modifiers.lazy||(Fn||(e.addEventListener("compositionstart",si),e.addEventListener("compositionend",li)),kn&&(e.vmodel=!0)))},componentUpdated:function(e,t,i){if("select"===i.tag){ni(e,t,i.context);var o=e.multiple?t.value.some(function(t){return ri(t,e.options)}):t.value!==t.oldValue&&ri(t.value,e.options);o&&ci(e,"change")}}},sa={bind:function(e,t,i){var o=t.value;i=ui(i);var n=i.data&&i.data.transition,r=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;o&&n&&!kn?(i.data.show=!0,Kt(i,function(){e.style.display=r})):e.style.display=o?r:"none"},update:function(e,t,i){var o=t.value,n=t.oldValue;if(o!==n){i=ui(i);var r=i.data&&i.data.transition;r&&!kn?(i.data.show=!0,o?Kt(i,function(){e.style.display=e.__vOriginalDisplay}):ei(i,function(){e.style.display="none"})):e.style.display=o?e.__vOriginalDisplay:"none"}},unbind:function(e,t,i,o,n){n||(e.style.display=e.__vOriginalDisplay)}},la={model:aa,show:sa},ca={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},ua={name:"transition",props:ca,abstract:!0,render:function(e){var t=this,i=this.$slots.default;if(i&&(i=i.filter(function(e){return e.tag}),i.length)){var o=this.mode,n=i[0];if(bi(this.$vnode))return n;var r=di(n);if(!r)return n;if(this._leaving)return fi(e,n);var a="__transition-"+this._uid+"-",s=r.key=null==r.key?a+r.tag:0===r.key.indexOf(a)?r.key:a+r.key,l=(r.data||(r.data={})).transition=mi(this),c=this._vnode,u=di(c);if(r.data.directives&&r.data.directives.some(function(e){return"show"===e.name})&&(r.data.show=!0),u&&u.data&&!pi(r,u)){var m=u&&(u.data.transition=d({},l));if("out-in"===o)return this._leaving=!0,ne(m,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()},s),fi(e,n);if("in-out"===o){var f,b=function(){f()};ne(l,"afterEnter",b,s),ne(l,"enterCancelled",b,s),ne(m,"delayLeave",function(e){f=e},s)}}return n}}},da=d({tag:String,moveClass:String},ca);delete da.mode;var ma={props:da,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",i=Object.create(null),o=this.prevChildren=this.children,n=this.$slots.default||[],r=this.children=[],a=mi(this),s=0;s\/=]+)/,wa=/(?:=)/,xa=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],ya=new RegExp("^\\s*"+Aa.source+"(?:\\s*("+wa.source+")\\s*(?:"+xa.join("|")+"))?"),ka="[a-zA-Z_][\\w\\-\\.]*",Ca="((?:"+ka+"\\:)?"+ka+")",Fa=new RegExp("^<"+Ca),Ba=/^\s*(\/?)>/,Ea=new RegExp("^<\\/"+Ca+"[^>]*>"),Ia=/^]+>/i,Sa=/^');\n\n if (commentEnd >= 0) {\n advance(commentEnd + 3);\n continue\n }\n }\n\n // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment\n if (conditionalComment.test(html)) {\n var conditionalEnd = html.indexOf(']>');\n\n if (conditionalEnd >= 0) {\n advance(conditionalEnd + 2);\n continue\n }\n }\n\n // Doctype:\n var doctypeMatch = html.match(doctype);\n if (doctypeMatch) {\n advance(doctypeMatch[0].length);\n continue\n }\n\n // End tag:\n var endTagMatch = html.match(endTag);\n if (endTagMatch) {\n var curIndex = index;\n advance(endTagMatch[0].length);\n parseEndTag(endTagMatch[1], curIndex, index);\n continue\n }\n\n // Start tag:\n var startTagMatch = parseStartTag();\n if (startTagMatch) {\n handleStartTag(startTagMatch);\n continue\n }\n }\n\n var text = (void 0), rest$1 = (void 0), next = (void 0);\n if (textEnd > 0) {\n rest$1 = html.slice(textEnd);\n while (\n !endTag.test(rest$1) &&\n !startTagOpen.test(rest$1) &&\n !comment.test(rest$1) &&\n !conditionalComment.test(rest$1)\n ) {\n // < in plain text, be forgiving and treat it as text\n next = rest$1.indexOf('<', 1);\n if (next < 0) { break }\n textEnd += next;\n rest$1 = html.slice(textEnd);\n }\n text = html.substring(0, textEnd);\n advance(textEnd);\n }\n\n if (textEnd < 0) {\n text = html;\n html = '';\n }\n\n if (options.chars && text) {\n options.chars(text);\n }\n } else {\n var stackedTag = lastTag.toLowerCase();\n var reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\\\s\\\\S]*?)(]*>)', 'i'));\n var endTagLength = 0;\n var rest = html.replace(reStackedTag, function (all, text, endTag) {\n endTagLength = endTag.length;\n if (stackedTag !== 'script' && stackedTag !== 'style' && stackedTag !== 'noscript') {\n text = text\n .replace(//g, '$1')\n .replace(//g, '$1');\n }\n if (options.chars) {\n options.chars(text);\n }\n return ''\n });\n index += html.length - rest.length;\n html = rest;\n parseEndTag(stackedTag, index - endTagLength, index);\n }\n\n if (html === last && options.chars) {\n options.chars(html);\n break\n }\n }\n\n // Clean up any remaining tags\n parseEndTag();\n\n function advance (n) {\n index += n;\n html = html.substring(n);\n }\n\n function parseStartTag () {\n var start = html.match(startTagOpen);\n if (start) {\n var match = {\n tagName: start[1],\n attrs: [],\n start: index\n };\n advance(start[0].length);\n var end, attr;\n while (!(end = html.match(startTagClose)) && (attr = html.match(attribute))) {\n advance(attr[0].length);\n match.attrs.push(attr);\n }\n if (end) {\n match.unarySlash = end[1];\n advance(end[0].length);\n match.end = index;\n return match\n }\n }\n }\n\n function handleStartTag (match) {\n var tagName = match.tagName;\n var unarySlash = match.unarySlash;\n\n if (expectHTML) {\n if (lastTag === 'p' && isNonPhrasingTag(tagName)) {\n parseEndTag(lastTag);\n }\n if (canBeLeftOpenTag(tagName) && lastTag === tagName) {\n parseEndTag(tagName);\n }\n }\n\n var unary = isUnaryTag$$1(tagName) || tagName === 'html' && lastTag === 'head' || !!unarySlash;\n\n var l = match.attrs.length;\n var attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n var args = match.attrs[i];\n // hackish work around FF bug https://bugzilla.mozilla.org/show_bug.cgi?id=369778\n if (IS_REGEX_CAPTURING_BROKEN && args[0].indexOf('\"\"') === -1) {\n if (args[3] === '') { delete args[3]; }\n if (args[4] === '') { delete args[4]; }\n if (args[5] === '') { delete args[5]; }\n }\n var value = args[3] || args[4] || args[5] || '';\n attrs[i] = {\n name: args[1],\n value: decodeAttr(\n value,\n options.shouldDecodeNewlines\n )\n };\n }\n\n if (!unary) {\n stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs });\n lastTag = tagName;\n unarySlash = '';\n }\n\n if (options.start) {\n options.start(tagName, attrs, unary, match.start, match.end);\n }\n }\n\n function parseEndTag (tagName, start, end) {\n var pos, lowerCasedTagName;\n if (start == null) { start = index; }\n if (end == null) { end = index; }\n\n if (tagName) {\n lowerCasedTagName = tagName.toLowerCase();\n }\n\n // Find the closest opened tag of the same type\n if (tagName) {\n for (pos = stack.length - 1; pos >= 0; pos--) {\n if (stack[pos].lowerCasedTag === lowerCasedTagName) {\n break\n }\n }\n } else {\n // If no tag name is provided, clean shop\n pos = 0;\n }\n\n if (pos >= 0) {\n // Close all the open elements, up the stack\n for (var i = stack.length - 1; i >= pos; i--) {\n if (options.end) {\n options.end(stack[i].tag, start, end);\n }\n }\n\n // Remove the open elements from the stack\n stack.length = pos;\n lastTag = pos && stack[pos - 1].tag;\n } else if (lowerCasedTagName === 'br') {\n if (options.start) {\n options.start(tagName, [], true, start, end);\n }\n } else if (lowerCasedTagName === 'p') {\n if (options.start) {\n options.start(tagName, [], false, start, end);\n }\n if (options.end) {\n options.end(tagName, start, end);\n }\n }\n }\n}\n\n/* */\n\nfunction parseFilters (exp) {\n var inSingle = false;\n var inDouble = false;\n var inTemplateString = false;\n var inRegex = false;\n var curly = 0;\n var square = 0;\n var paren = 0;\n var lastFilterIndex = 0;\n var c, prev, i, expression, filters;\n\n for (i = 0; i < exp.length; i++) {\n prev = c;\n c = exp.charCodeAt(i);\n if (inSingle) {\n if (c === 0x27 && prev !== 0x5C) { inSingle = false; }\n } else if (inDouble) {\n if (c === 0x22 && prev !== 0x5C) { inDouble = false; }\n } else if (inTemplateString) {\n if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; }\n } else if (inRegex) {\n if (c === 0x2f && prev !== 0x5C) { inRegex = false; }\n } else if (\n c === 0x7C && // pipe\n exp.charCodeAt(i + 1) !== 0x7C &&\n exp.charCodeAt(i - 1) !== 0x7C &&\n !curly && !square && !paren\n ) {\n if (expression === undefined) {\n // first filter, end of expression\n lastFilterIndex = i + 1;\n expression = exp.slice(0, i).trim();\n } else {\n pushFilter();\n }\n } else {\n switch (c) {\n case 0x22: inDouble = true; break // \"\n case 0x27: inSingle = true; break // '\n case 0x60: inTemplateString = true; break // `\n case 0x28: paren++; break // (\n case 0x29: paren--; break // )\n case 0x5B: square++; break // [\n case 0x5D: square--; break // ]\n case 0x7B: curly++; break // {\n case 0x7D: curly--; break // }\n }\n if (c === 0x2f) { // /\n var j = i - 1;\n var p = (void 0);\n // find first non-whitespace prev char\n for (; j >= 0; j--) {\n p = exp.charAt(j);\n if (p !== ' ') { break }\n }\n if (!p || !/[\\w$]/.test(p)) {\n inRegex = true;\n }\n }\n }\n }\n\n if (expression === undefined) {\n expression = exp.slice(0, i).trim();\n } else if (lastFilterIndex !== 0) {\n pushFilter();\n }\n\n function pushFilter () {\n (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());\n lastFilterIndex = i + 1;\n }\n\n if (filters) {\n for (i = 0; i < filters.length; i++) {\n expression = wrapFilter(expression, filters[i]);\n }\n }\n\n return expression\n}\n\nfunction wrapFilter (exp, filter) {\n var i = filter.indexOf('(');\n if (i < 0) {\n // _f: resolveFilter\n return (\"_f(\\\"\" + filter + \"\\\")(\" + exp + \")\")\n } else {\n var name = filter.slice(0, i);\n var args = filter.slice(i + 1);\n return (\"_f(\\\"\" + name + \"\\\")(\" + exp + \",\" + args)\n }\n}\n\n/* */\n\nvar defaultTagRE = /\\{\\{((?:.|\\n)+?)\\}\\}/g;\nvar regexEscapeRE = /[-.*+?^${}()|[\\]\\/\\\\]/g;\n\nvar buildRegex = cached(function (delimiters) {\n var open = delimiters[0].replace(regexEscapeRE, '\\\\$&');\n var close = delimiters[1].replace(regexEscapeRE, '\\\\$&');\n return new RegExp(open + '((?:.|\\\\n)+?)' + close, 'g')\n});\n\nfunction parseText (\n text,\n delimiters\n) {\n var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE;\n if (!tagRE.test(text)) {\n return\n }\n var tokens = [];\n var lastIndex = tagRE.lastIndex = 0;\n var match, index;\n while ((match = tagRE.exec(text))) {\n index = match.index;\n // push text token\n if (index > lastIndex) {\n tokens.push(JSON.stringify(text.slice(lastIndex, index)));\n }\n // tag token\n var exp = parseFilters(match[1].trim());\n tokens.push((\"_s(\" + exp + \")\"));\n lastIndex = index + match[0].length;\n }\n if (lastIndex < text.length) {\n tokens.push(JSON.stringify(text.slice(lastIndex)));\n }\n return tokens.join('+')\n}\n\n/* */\n\nfunction baseWarn (msg) {\n console.error((\"[Vue parser]: \" + msg));\n}\n\nfunction pluckModuleFunction (\n modules,\n key\n) {\n return modules\n ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })\n : []\n}\n\nfunction addProp (el, name, value) {\n (el.props || (el.props = [])).push({ name: name, value: value });\n}\n\nfunction addAttr (el, name, value) {\n (el.attrs || (el.attrs = [])).push({ name: name, value: value });\n}\n\nfunction addDirective (\n el,\n name,\n rawName,\n value,\n arg,\n modifiers\n) {\n (el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers });\n}\n\nfunction addHandler (\n el,\n name,\n value,\n modifiers,\n important\n) {\n // check capture modifier\n if (modifiers && modifiers.capture) {\n delete modifiers.capture;\n name = '!' + name; // mark the event as captured\n }\n if (modifiers && modifiers.once) {\n delete modifiers.once;\n name = '~' + name; // mark the event as once\n }\n var events;\n if (modifiers && modifiers.native) {\n delete modifiers.native;\n events = el.nativeEvents || (el.nativeEvents = {});\n } else {\n events = el.events || (el.events = {});\n }\n var newHandler = { value: value, modifiers: modifiers };\n var handlers = events[name];\n /* istanbul ignore if */\n if (Array.isArray(handlers)) {\n important ? handlers.unshift(newHandler) : handlers.push(newHandler);\n } else if (handlers) {\n events[name] = important ? [newHandler, handlers] : [handlers, newHandler];\n } else {\n events[name] = newHandler;\n }\n}\n\nfunction getBindingAttr (\n el,\n name,\n getStatic\n) {\n var dynamicValue =\n getAndRemoveAttr(el, ':' + name) ||\n getAndRemoveAttr(el, 'v-bind:' + name);\n if (dynamicValue != null) {\n return parseFilters(dynamicValue)\n } else if (getStatic !== false) {\n var staticValue = getAndRemoveAttr(el, name);\n if (staticValue != null) {\n return JSON.stringify(staticValue)\n }\n }\n}\n\nfunction getAndRemoveAttr (el, name) {\n var val;\n if ((val = el.attrsMap[name]) != null) {\n var list = el.attrsList;\n for (var i = 0, l = list.length; i < l; i++) {\n if (list[i].name === name) {\n list.splice(i, 1);\n break\n }\n }\n }\n return val\n}\n\nvar len;\nvar str;\nvar chr;\nvar index$1;\nvar expressionPos;\nvar expressionEndPos;\n\n/**\n * parse directive model to do the array update transform. a[idx] = val => $$a.splice($$idx, 1, val)\n *\n * for loop possible cases:\n *\n * - test\n * - test[idx]\n * - test[test1[idx]]\n * - test[\"a\"][idx]\n * - xxx.test[a[a].test1[idx]]\n * - test.xxx.a[\"asa\"][test1[idx]]\n *\n */\n\nfunction parseModel (val) {\n str = val;\n len = str.length;\n index$1 = expressionPos = expressionEndPos = 0;\n\n if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {\n return {\n exp: val,\n idx: null\n }\n }\n\n while (!eof()) {\n chr = next();\n /* istanbul ignore if */\n if (isStringStart(chr)) {\n parseString(chr);\n } else if (chr === 0x5B) {\n parseBracket(chr);\n }\n }\n\n return {\n exp: val.substring(0, expressionPos),\n idx: val.substring(expressionPos + 1, expressionEndPos)\n }\n}\n\nfunction next () {\n return str.charCodeAt(++index$1)\n}\n\nfunction eof () {\n return index$1 >= len\n}\n\nfunction isStringStart (chr) {\n return chr === 0x22 || chr === 0x27\n}\n\nfunction parseBracket (chr) {\n var inBracket = 1;\n expressionPos = index$1;\n while (!eof()) {\n chr = next();\n if (isStringStart(chr)) {\n parseString(chr);\n continue\n }\n if (chr === 0x5B) { inBracket++; }\n if (chr === 0x5D) { inBracket--; }\n if (inBracket === 0) {\n expressionEndPos = index$1;\n break\n }\n }\n}\n\nfunction parseString (chr) {\n var stringQuote = chr;\n while (!eof()) {\n chr = next();\n if (chr === stringQuote) {\n break\n }\n }\n}\n\n/* */\n\nvar dirRE = /^v-|^@|^:/;\nvar forAliasRE = /(.*?)\\s+(?:in|of)\\s+(.*)/;\nvar forIteratorRE = /\\((\\{[^}]*\\}|[^,]*),([^,]*)(?:,([^,]*))?\\)/;\nvar bindRE = /^:|^v-bind:/;\nvar onRE = /^@|^v-on:/;\nvar argRE = /:(.*)$/;\nvar modifierRE = /\\.[^.]+/g;\n\nvar decodeHTMLCached = cached(decode);\n\n// configurable state\nvar warn$1;\nvar platformGetTagNamespace;\nvar platformMustUseProp;\nvar platformIsPreTag;\nvar preTransforms;\nvar transforms;\nvar postTransforms;\nvar delimiters;\n\n/**\n * Convert HTML string to AST.\n */\nfunction parse (\n template,\n options\n) {\n warn$1 = options.warn || baseWarn;\n platformGetTagNamespace = options.getTagNamespace || no;\n platformMustUseProp = options.mustUseProp || no;\n platformIsPreTag = options.isPreTag || no;\n preTransforms = pluckModuleFunction(options.modules, 'preTransformNode');\n transforms = pluckModuleFunction(options.modules, 'transformNode');\n postTransforms = pluckModuleFunction(options.modules, 'postTransformNode');\n delimiters = options.delimiters;\n var stack = [];\n var preserveWhitespace = options.preserveWhitespace !== false;\n var root;\n var currentParent;\n var inVPre = false;\n var inPre = false;\n var warned = false;\n parseHTML(template, {\n expectHTML: options.expectHTML,\n isUnaryTag: options.isUnaryTag,\n shouldDecodeNewlines: options.shouldDecodeNewlines,\n start: function start (tag, attrs, unary) {\n // check namespace.\n // inherit parent ns if there is one\n var ns = (currentParent && currentParent.ns) || platformGetTagNamespace(tag);\n\n // handle IE svg bug\n /* istanbul ignore if */\n if (isIE && ns === 'svg') {\n attrs = guardIESVGBug(attrs);\n }\n\n var element = {\n type: 1,\n tag: tag,\n attrsList: attrs,\n attrsMap: makeAttrsMap(attrs),\n parent: currentParent,\n children: []\n };\n if (ns) {\n element.ns = ns;\n }\n\n if (isForbiddenTag(element) && !isServerRendering()) {\n element.forbidden = true;\n \"production\" !== 'production' && warn$1(\n 'Templates should only be responsible for mapping the state to the ' +\n 'UI. Avoid placing tags with side-effects in your templates, such as ' +\n \"<\" + tag + \">\" + ', as they will not be parsed.'\n );\n }\n\n // apply pre-transforms\n for (var i = 0; i < preTransforms.length; i++) {\n preTransforms[i](element, options);\n }\n\n if (!inVPre) {\n processPre(element);\n if (element.pre) {\n inVPre = true;\n }\n }\n if (platformIsPreTag(element.tag)) {\n inPre = true;\n }\n if (inVPre) {\n processRawAttrs(element);\n } else {\n processFor(element);\n processIf(element);\n processOnce(element);\n processKey(element);\n\n // determine whether this is a plain element after\n // removing structural attributes\n element.plain = !element.key && !attrs.length;\n\n processRef(element);\n processSlot(element);\n processComponent(element);\n for (var i$1 = 0; i$1 < transforms.length; i$1++) {\n transforms[i$1](element, options);\n }\n processAttrs(element);\n }\n\n function checkRootConstraints (el) {\n if (false) {\n if (el.tag === 'slot' || el.tag === 'template') {\n warned = true;\n warn$1(\n \"Cannot use <\" + (el.tag) + \"> as component root element because it may \" +\n 'contain multiple nodes:\\n' + template\n );\n }\n if (el.attrsMap.hasOwnProperty('v-for')) {\n warned = true;\n warn$1(\n 'Cannot use v-for on stateful component root element because ' +\n 'it renders multiple elements:\\n' + template\n );\n }\n }\n }\n\n // tree management\n if (!root) {\n root = element;\n checkRootConstraints(root);\n } else if (!stack.length) {\n // allow root elements with v-if, v-else-if and v-else\n if (root.if && (element.elseif || element.else)) {\n checkRootConstraints(element);\n addIfCondition(root, {\n exp: element.elseif,\n block: element\n });\n } else if (false) {\n warned = true;\n warn$1(\n \"Component template should contain exactly one root element:\" +\n \"\\n\\n\" + template + \"\\n\\n\" +\n \"If you are using v-if on multiple elements, \" +\n \"use v-else-if to chain them instead.\"\n );\n }\n }\n if (currentParent && !element.forbidden) {\n if (element.elseif || element.else) {\n processIfConditions(element, currentParent);\n } else if (element.slotScope) { // scoped slot\n currentParent.plain = false;\n var name = element.slotTarget || 'default';(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element;\n } else {\n currentParent.children.push(element);\n element.parent = currentParent;\n }\n }\n if (!unary) {\n currentParent = element;\n stack.push(element);\n }\n // apply post-transforms\n for (var i$2 = 0; i$2 < postTransforms.length; i$2++) {\n postTransforms[i$2](element, options);\n }\n },\n\n end: function end () {\n // remove trailing whitespace\n var element = stack[stack.length - 1];\n var lastNode = element.children[element.children.length - 1];\n if (lastNode && lastNode.type === 3 && lastNode.text === ' ') {\n element.children.pop();\n }\n // pop stack\n stack.length -= 1;\n currentParent = stack[stack.length - 1];\n // check pre state\n if (element.pre) {\n inVPre = false;\n }\n if (platformIsPreTag(element.tag)) {\n inPre = false;\n }\n },\n\n chars: function chars (text) {\n if (!currentParent) {\n if (false) {\n warned = true;\n warn$1(\n 'Component template requires a root element, rather than just text:\\n\\n' + template\n );\n }\n return\n }\n // IE textarea placeholder bug\n /* istanbul ignore if */\n if (isIE &&\n currentParent.tag === 'textarea' &&\n currentParent.attrsMap.placeholder === text) {\n return\n }\n var children = currentParent.children;\n text = inPre || text.trim()\n ? decodeHTMLCached(text)\n // only preserve whitespace if its not right after a starting tag\n : preserveWhitespace && children.length ? ' ' : '';\n if (text) {\n var expression;\n if (!inVPre && text !== ' ' && (expression = parseText(text, delimiters))) {\n children.push({\n type: 2,\n expression: expression,\n text: text\n });\n } else if (text !== ' ' || children[children.length - 1].text !== ' ') {\n currentParent.children.push({\n type: 3,\n text: text\n });\n }\n }\n }\n });\n return root\n}\n\nfunction processPre (el) {\n if (getAndRemoveAttr(el, 'v-pre') != null) {\n el.pre = true;\n }\n}\n\nfunction processRawAttrs (el) {\n var l = el.attrsList.length;\n if (l) {\n var attrs = el.attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n attrs[i] = {\n name: el.attrsList[i].name,\n value: JSON.stringify(el.attrsList[i].value)\n };\n }\n } else if (!el.pre) {\n // non root node in pre blocks with no attributes\n el.plain = true;\n }\n}\n\nfunction processKey (el) {\n var exp = getBindingAttr(el, 'key');\n if (exp) {\n if (false) {\n warn$1(\"