You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2018/01/08 09:34:41 UTC
[1/2] incubator-weex git commit: * [jsfm] update js framework to
v0.23.8 in pre-build
Repository: incubator-weex
Updated Branches:
refs/heads/master f35e772ac -> 3677c4ca6
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3677c4ca/pre-build/native-bundle-main.js
----------------------------------------------------------------------
diff --git a/pre-build/native-bundle-main.js b/pre-build/native-bundle-main.js
index 5fbb8f1..984fb1f 100644
--- a/pre-build/native-bundle-main.js
+++ b/pre-build/native-bundle-main.js
@@ -1 +1,10 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.23.6, Build 2017-12-29 15:36."),this.getJSFMVersion=function(){return"0.23.6"};var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var e={framework:"0.23.6",transformer:">=0.1.5 <0.5"};Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=Math.pow(2,53)-1,r=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),n)};return function(e){var n=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o,i=arguments.length>1?arguments[1]:void 0;if(void 0!==i){if(!t(i))throw new TypeError("Array.from: when provided, the secon
d argument must be a function");arguments.length>2&&(o=arguments[2])}for(var a,s=r(n.length),u=t(this)?Object(new this(s)):new Array(s),c=0;c<s;)a=n[c],u[c]=i?void 0===o?i(a,c):i.call(o,a,c):a,c+=1;return u.length=s,u}}());var t="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule?e.default:e}function r(e,t){return e(t={exports:{}},t.exports),t.exports}var o=r(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),i=r(function(e){var t=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=t)}),a=function(e){return"object"==typeof e?null!==e:"function"==typeof e},s=a,u=function(e){if(!s(e))throw TypeError(e+" is not an object!");return e},c=function(e){try{return!!e()}catch(e){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),f=a,d=o.
document,p=f(d)&&f(d.createElement),h=function(e){return p?d.createElement(e):{}},v=!l&&!c(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a}),y=a,m=u,_=v,g=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},b=Object.defineProperty,w={f:l?Object.defineProperty:function(e,t,n){if(m(e),t=g(t,!0),m(n),_)try{return b(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},C=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=w,x=C,S=l?function(e,t,n){return k.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},E={}.hasOwnProperty,O=function(e,t){return E.call(e,t)},j=0,A=Math.random(),I=function(e){return"Symbol(".conc
at(void 0===e?"":e,")_",(++j+A).toString(36))},T=r(function(e){var t=o,n=S,r=O,a=I("src"),s="toString",u=Function[s],c=(""+u).split(s);i.inspectSource=function(e){return u.call(e)},(e.exports=function(e,o,i,s){var u="function"==typeof i;u&&(r(i,"name")||n(i,"name",o)),e[o]!==i&&(u&&(r(i,a)||n(i,a,e[o]?""+e[o]:c.join(String(o)))),e===t?e[o]=i:s?e[o]?e[o]=i:n(e,o,i):(delete e[o],n(e,o,i)))})(Function.prototype,s,function(){return"function"==typeof this&&this[a]||u.call(this)})}),P=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},N=P,M=function(e,t,n){if(N(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},$=o,R=i,D=S,F=T,L=M,V="prototype",W=function(e,t,n){var r,o,i,a,s=e&W.F,u=e&W.G,c=e&W.S,l=e&W.P,f=e&W.B,d=u?$:c?$[t]||($[t]={}):($[t]||{})[V],p=u?R:R[t]||(R[t]={}),h=p[
V]||(p[V]={});u&&(n=t);for(r in n)i=((o=!s&&d&&void 0!==d[r])?d:n)[r],a=f&&o?L(i,$):l&&"function"==typeof i?L(Function.call,i):i,d&&F(d,r,i,e&W.U),p[r]!=i&&D(p,r,a),l&&h[r]!=i&&(h[r]=i)};$.core=R,W.F=1,W.G=2,W.S=4,W.P=8,W.B=16,W.W=32,W.U=64,W.R=128;var B,U=W,J={}.toString,z=function(e){return J.call(e).slice(8,-1)},q=z,H=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==q(e)?e.split(""):Object(e)},G=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},X=H,K=G,Z=function(e){return X(K(e))},Q=Math.ceil,Y=Math.floor,ee=function(e){return isNaN(e=+e)?0:(e>0?Y:Q)(e)},te=ee,ne=Math.min,re=function(e){return e>0?ne(te(e),9007199254740991):0},oe=ee,ie=Math.max,ae=Math.min,se=Z,ue=re,ce=function(e,t){return(e=oe(e))<0?ie(e+t,0):ae(e,t)},le=o,fe="__core-js_shared__",de=le[fe]||(le[fe]={}),pe=function(e){return de[e]||(de[e]={})},he=pe("keys"),ve=I,ye=function(e){return he[e]||(he[e]=ve(e))},me=O,_e=Z,ge=(B=!1,function(e,t,n){var r,o=se(e),i=ue(o.
length),a=ce(n,i);if(B&&t!=t){for(;i>a;)if((r=o[a++])!=r)return!0}else for(;i>a;a++)if((B||a in o)&&o[a]===t)return B||a||0;return!B&&-1}),be=ye("IE_PROTO"),we="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ce=function(e,t){var n,r=_e(e),o=0,i=[];for(n in r)n!=be&&me(r,n)&&i.push(n);for(;t.length>o;)me(r,n=t[o++])&&(~ge(i,n)||i.push(n));return i},ke=we,xe=Object.keys||function(e){return Ce(e,ke)},Se=G,Ee=function(e){return Object(Se(e))},Oe=xe,je={f:Object.getOwnPropertySymbols},Ae={f:{}.propertyIsEnumerable},Ie=Ee,Te=H,Pe=Object.assign,Ne=!Pe||c(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Pe({},e)[n]||Object.keys(Pe({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Ie(e),o=arguments.length,i=1,a=je.f,s=Ae.f;o>i;)for(var u,c=Te(n[i++]),l=a?Oe(c).concat(a(c)):Oe(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:Pe,Me=U;Me(Me.S+Me
.F,"Object",{assign:Ne}),Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){var n;function r(e,t){return n.call(e,t),e}try{(n=e.getOwnPropertyDescriptor(e.prototype,t).set).call({},null)}catch(o){if(e.prototype!=={}[t])return;n=function(e){this[t]=e},r.polyfill=r(r({},null),e.prototype)instanceof e}return r}(Object,"__proto__"));var $e=t.WXEnvironment;$e&&"iOS"===$e.platform&&(t.Promise=void 0);var Re=r(function(e){var t=pe("wks"),n=I,r=o.Symbol,i="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=i&&r[e]||(i?r:n)("Symbol."+e))}).store=t}),De=z,Fe=Re("toStringTag"),Le="Arguments"==De(function(){return arguments}()),Ve=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Fe))?n:Le?De(t):"Object"==(r=De(t))&&"function"==typeof t.callee?"Arguments":r},We=Ve,Be={};Be[Re("toStringTag")]="z",Be+""!="[object z]"&&T(Object.prototype,"toString",function(){return"[object "+We(this)+"]"
},!0);var Ue=ee,Je=G,ze={},qe=w,He=u,Ge=xe,Xe=l?Object.defineProperties:function(e,t){He(e);for(var n,r=Ge(t),o=r.length,i=0;o>i;)qe.f(e,n=r[i++],t[n]);return e},Ke=o.document,Ze=Ke&&Ke.documentElement,Qe=u,Ye=Xe,et=we,tt=ye("IE_PROTO"),nt=function(){},rt="prototype",ot=function(){var e,t=h("iframe"),n=et.length;for(t.style.display="none",Ze.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),ot=e.F;n--;)delete ot[rt][et[n]];return ot()},it=Object.create||function(e,t){var n;return null!==e?(nt[rt]=Qe(e),n=new nt,nt[rt]=null,n[tt]=e):n=ot(),void 0===t?n:Ye(n,t)},at=w.f,st=O,ut=Re("toStringTag"),ct=function(e,t,n){e&&!st(e=n?e:e.prototype,ut)&&at(e,ut,{configurable:!0,value:t})},lt=it,ft=C,dt=ct,pt={};S(pt,Re("iterator"),function(){return this});var ht,vt=O,yt=Ee,mt=ye("IE_PROTO"),_t=Object.prototype,gt=Object.getPrototypeOf||function(e){return e=yt(e),vt(e,mt)?e[mt]:"function"==typeof e.constructor&&e instan
ceof e.constructor?e.constructor.prototype:e instanceof Object?_t:null},bt=U,wt=T,Ct=S,kt=O,xt=ze,St=function(e,t,n){e.prototype=lt(pt,{next:ft(1,n)}),dt(e,t+" Iterator")},Et=ct,Ot=gt,jt=Re("iterator"),At=!([].keys&&"next"in[].keys()),It="values",Tt=function(){return this},Pt=function(e,t,n,r,o,i,a){St(n,t,r);var s,u,c,l=function(e){if(!At&&e in h)return h[e];switch(e){case"keys":case It:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",d=o==It,p=!1,h=e.prototype,v=h[jt]||h["@@iterator"]||o&&h[o],y=!At&&v||l(o),m=o?d?l("entries"):y:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Ot(_.call(new e)))!==Object.prototype&&c.next&&(Et(c,f,!0),kt(c,jt)||Ct(c,jt,Tt)),d&&v&&v.name!==It&&(p=!0,y=function(){return v.call(this)}),(At||p||!h[jt])&&Ct(h,jt,y),xt[t]=y,xt[f]=Tt,o)if(s={values:d?y:l(It),keys:i?y:l("keys"),entries:m},a)for(u in s)u in h||wt(h,u,s[u]);else bt(bt.P+bt.F*(At||p),t,s);return s},Nt=(ht=!0,function(e,t){var n,r,o=String(Je(e)),i=U
e(t),a=o.length;return i<0||i>=a?ht?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===a||(r=o.charCodeAt(i+1))<56320||r>57343?ht?o.charAt(i):n:ht?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});Pt(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=Nt(t,n),this._i+=e.length,{value:e,done:!1})});var Mt=Re("unscopables"),$t=Array.prototype;void 0==$t[Mt]&&S($t,Mt,{});var Rt=function(e){$t[Mt][e]=!0},Dt=function(e,t){return{value:t,done:!!e}},Ft=ze,Lt=Z,Vt=Pt(Array,"Array",function(e,t){this._t=Lt(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,Dt(1)):Dt(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");Ft.Arguments=Ft.Array,Rt("keys"),Rt("values"),Rt("entries");for(var Wt=Vt,Bt=xe,Ut=T,Jt=o,zt=S,qt=ze,Ht=Re,Gt=Ht("iterator"),Xt=Ht("toStringTag"),Kt=qt.Array,Zt={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRec
tList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Qt=Bt(Zt),Yt=0;Yt<Qt.length;Yt++){var en,tn=Qt[Yt],nn=Zt[tn],rn=Jt[tn],on=rn&&rn.prototype;if(on&&(on[Gt]||zt(on,Gt,Kt),on[Xt]||zt(on,Xt,tn),qt[tn]=Kt,nn))for(en in Wt)on[en]||Ut(on,en,Wt[en],!0)}var an,sn,un,cn=u,ln=function(e,t,n,r){try{return r?t(cn(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&cn(o.call(e)),t}},fn=ze,dn=Re("iterator"),pn=Array.prototype,hn=function(e){return void 0!==e&&(fn.Array===e||pn[dn]===e)},vn=Ve,yn=Re("iterator"),mn=ze,_n=i.getIteratorMethod=function(e){if(void 0!=e)return e[yn]||e["@@iterator"]|
|mn[vn(e)]},gn=r(function(e){var t=M,n=ln,r=hn,o=u,i=re,a=_n,s={},c={},l=e.exports=function(e,u,l,f,d){var p,h,v,y,m=d?function(){return e}:a(e),_=t(l,f,u?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(r(m)){for(p=i(e.length);p>g;g++)if((y=u?_(o(h=e[g])[0],h[1]):_(e[g]))===s||y===c)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=n(v,_,h.value,u))===s||y===c)return y};l.BREAK=s,l.RETURN=c}),bn=u,wn=P,Cn=Re("species"),kn=M,xn=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},Sn=Ze,En=h,On=o,jn=On.process,An=On.setImmediate,In=On.clearImmediate,Tn=On.MessageChannel,Pn=On.Dispatch,Nn=0,Mn={},$n="onreadystatechange",Rn=function(){var e=+this;if(Mn.hasOwnProperty(e)){var t=Mn[e];delete Mn[e]
,t()}},Dn=function(e){Rn.call(e.data)};An&&In||(An=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return Mn[++Nn]=function(){xn("function"==typeof e?e:Function(e),n)},an(Nn),Nn},In=function(e){delete Mn[e]},"process"==z(jn)?an=function(e){jn.nextTick(kn(Rn,e,1))}:Pn&&Pn.now?an=function(e){Pn.now(kn(Rn,e,1))}:Tn?(un=(sn=new Tn).port2,sn.port1.onmessage=Dn,an=kn(un.postMessage,un,1)):On.addEventListener&&"function"==typeof postMessage&&!On.importScripts?(an=function(e){On.postMessage(e+"","*")},On.addEventListener("message",Dn,!1)):an=$n in En("script")?function(e){Sn.appendChild(En("script"))[$n]=function(){Sn.removeChild(this),Rn.call(e)}}:function(e){setTimeout(kn(Rn,e,1),0)});var Fn={set:An,clear:In},Ln=o,Vn=Fn.set,Wn=Ln.MutationObserver||Ln.WebKitMutationObserver,Bn=Ln.process,Un=Ln.Promise,Jn="process"==z(Bn),zn=P;var qn={f:function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promi
se constructor");t=e,n=r}),this.resolve=zn(t),this.reject=zn(n)}(e)}},Hn=u,Gn=a,Xn=qn,Kn=T,Zn=o,Qn=w,Yn=l,er=Re("species"),tr=Re("iterator"),nr=!1;try{var rr=[7][tr]();rr.return=function(){nr=!0},Array.from(rr,function(){throw 2})}catch(e){}var or,ir,ar,sr,ur=o,cr=M,lr=Ve,fr=U,dr=a,pr=P,hr=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},vr=gn,yr=function(e,t){var n,r=bn(e).constructor;return void 0===r||void 0==(n=bn(r)[Cn])?t:wn(n)},mr=Fn.set,_r=function(){var e,t,n,r=function(){var r,o;for(Jn&&(r=Bn.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Jn)n=function(){Bn.nextTick(r)};else if(!Wn||Ln.navigator&&Ln.navigator.standalone)if(Un&&Un.resolve){var o=Un.resolve();n=function(){o.then(r)}}else n=function(){Vn.call(Ln,r)};else{var i=!0,a=document.createTextNode("");new Wn(r).observe(a,{characterData:!0}),n=function(){a.data=i=!i}}return function(r){var o={fn:r,
next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),gr=qn,br=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},wr=function(e,t){if(Hn(e),Gn(t)&&t.constructor===e)return t;var n=Xn.f(e);return(0,n.resolve)(t),n.promise},Cr="Promise",kr=ur.TypeError,xr=ur.process,Sr=ur[Cr],Er="process"==lr(xr),Or=function(){},jr=ir=gr.f,Ar=!!function(){try{var e=Sr.resolve(1),t=(e.constructor={})[Re("species")]=function(e){e(Or,Or)};return(Er||"function"==typeof PromiseRejectionEvent)&&e.then(Or)instanceof t}catch(e){}}(),Ir=function(e){var t;return!(!dr(e)||"function"!=typeof(t=e.then))&&t},Tr=function(e,t){if(!e._n){e._n=!0;var n=e._c;_r(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&Mr(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(kr("Promise-chain cycle")):(i=Ir(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Pr(e)})}},Pr=function(e){m
r.call(ur,function(){var t,n,r,o=e._v,i=Nr(e);if(i&&(t=br(function(){Er?xr.emit("unhandledRejection",o,e):(n=ur.onunhandledrejection)?n({promise:e,reason:o}):(r=ur.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=Er||Nr(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},Nr=function(e){return 1!==e._h&&0===(e._a||e._c).length},Mr=function(e){mr.call(ur,function(){var t;Er?xr.emit("rejectionHandled",e):(t=ur.onrejectionhandled)&&t({promise:e,reason:e._v})})},$r=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Tr(t,!0))},Rr=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw kr("Promise can't be resolved itself");(t=Ir(e))?_r(function(){var r={_w:n,_d:!1};try{t.call(e,cr(Rr,r,1),cr($r,r,1))}catch(e){$r.call(r,e)}}):(n._v=e,n._s=1,Tr(n,!1))}catch(e){$r.call({_w:n,_d:!1},e)}}};Ar||(Sr=function(e){hr(this,Sr,Cr,"_h"),pr(e),or.call(this);try{e(cr(Rr,this,1),cr($r,this,1))}catch(e){$r.call(this,e)}},(or=function(e){this._c=[]
,this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)Kn(e,r,t[r],n);return e}(Sr.prototype,{then:function(e,t){var n=jr(yr(this,Sr));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Er?xr.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Tr(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ar=function(){var e=new or;this.promise=e,this.resolve=cr(Rr,e,1),this.reject=cr($r,e,1)},gr.f=jr=function(e){return e===Sr||e===sr?new ar(e):ir(e)}),fr(fr.G+fr.W+fr.F*!Ar,{Promise:Sr}),ct(Sr,Cr),function(e){var t=Zn[e];Yn&&t&&!t[er]&&Qn.f(t,er,{configurable:!0,get:function(){return this}})}(Cr),sr=i[Cr],fr(fr.S+fr.F*!Ar,Cr,{reject:function(e){var t=jr(this);return(0,t.reject)(e),t.promise}}),fr(fr.S+fr.F*!Ar,Cr,{resolve:function(e){return wr(this,e)}}),fr(fr.S+fr.F*!(Ar&&function(e,t){if(!t&&!nr)return!1;var n=!1;try{var r=[7],o=r[tr]();o.next=function(){return{done:n=!0}},r[t
r]=function(){return o},e(r)}catch(e){}return n}(function(e){Sr.all(e).catch(Or)})),Cr,{all:function(e){var t=this,n=jr(t),r=n.resolve,o=n.reject,i=br(function(){var n=[],i=0,a=1;vr(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=jr(t),r=n.reject,o=br(function(){vr(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Dr=["off","error","warn","info","log","debug"],Fr={},Lr=global.console;function Vr(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Fr[t]&&Fr[t][e]}function Wr(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}var Br=global.setTimeout,Ur=global.setTimeoutNative;function Jr(){if(void 0===setTimeout&&"function"==typeof Ur){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Ur(t.toString(),r
)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}Jr();function zr(){Object.freeze(Object),Object.freeze(Array),function(){var e=Object.prototype,t="Object.prototype";qr(e,"__defineGetter__",t),qr(e,"__defineSetter__",t),qr(e,"__lookupGetter__",t),qr(e,"__lookupSetter__",t),qr(e,"constructor",t),qr(e,"hasOwnProperty",t),qr(e,"isPrototypeOf",t),qr(e,"propertyIsEnumerable",t),qr(e,"toLocaleString",t),qr(e,"toString",t),qr(e,"valueOf",t),Object.seal(e)}(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),function(){var e=Error.prototype,t="Error.prototype";qr(e,"name",t),qr(e,"message",t),qr(e,"toString",t),qr(e,"constructor",t),Object.seal(e)}(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function qr(e,t,n){if(e.hasOwnProperty(t)){var r=e[t];Object.defineProperty(e,t,{get:function(){return r},set:function(r){if(this===e)throw Error("Cannot assign to re
ad only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}var Hr=1;function Gr(){return(Hr++).toString()}function Xr(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function Kr(e){if("function"!=typeof btoa)return"";var t=Array.prototype.map.call(new Uint8Array(e),function(e){return String.fromCharCode(e)}).join("");return btoa(t)}function Zr(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function Qr(e){if("Object"===Xr(e)){if(e["@type"]&&"binary"===e["@type"])return function(e){if("function"!=typeof atob)return new ArrayBuffer(0);var t=atob(e),n=new Uint8Array(t.length);return Array.prototype.forEach.call(t,function(e,t){n[t]=e.charCodeAt(0)}),n.buffer}(e.base64||"");var t={};for(var n in e)t[n]=Qr(e[n]);return t}return"Array"===Xr(e)?e.map(Qr):e}function Yr(e,t,n){return t+"@"+n+"#"+e}var eo=function(e){this.instanceId=String(e),this.lastCallbackId
=0,this.callbacks={},this.hooks={}};eo.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},eo.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},eo.prototype.registerHook=function(e,t,n,r){var o=Yr(e,t,n);this.hooks[o]&&console.warn('[JS Framework] Override an existing component hook "'+o+'".'),this.hooks[o]=r},eo.prototype.triggerHook=function(e,t,n,r){void 0===r&&(r={});var o=Yr(e,t,n),i=this.hooks[o];if("function"!=typeof i)return console.error("[JS Framework] Invalid hook function type ("+typeof i+') on "'+o+'".'),null;var a=null;try{a=i.apply(null,r.args||[])}catch(e){console.error('[JS Framework] Failed to execute the hook function on "'+o+'".')}return a},eo.prototype.consume=function(e,t,n){var r=this.callbacks[e];return void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r?r(Qr(t)):new Error('invalid callback id "'+e+'"')},eo.prototype.close=function(){this.callback
s={},this.hooks={}};var to={};function no(e){return to[e]}function ro(e){var t=to[e];return t&&t.taskCenter?t.taskCenter:null}function oo(e,t,n){var r=e.documentElement;if(!(r.pureChildren.length>0||t.parentNode)){var o=r.children,i=o.indexOf(n);i<0?o.push(t):o.splice(i,0,t),1===t.nodeType?("body"===t.role?(t.docId=e.id,t.ownerDocument=e,t.parentNode=r,ao(t,r)):(t.children.forEach(function(e){e.parentNode=t}),io(e,t),t.docId=e.id,t.ownerDocument=e,ao(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),function(e,t){var n=t.toJSON();e&&e.taskCenter&&"function"==typeof e.taskCenter.send&&e.taskCenter.send("dom",{action:"createBody"},[n])}(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function io(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function ao(e,t){e.parentNode=t,t.docId&&(e.docId=t.docId,e.ownerDocument=t.ownerDocument,e.ownerDocument.nodeMap[e.nodeId]=e,e.depth=t.depth+1),e.children.forEach(function(t){ao(t,e)})}function s
o(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function uo(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function co(e,t,n,r){n<0&&(n=0);var o=t[n-1],i=t[n];return t.splice(n,0,e),r&&(o&&(o.nextSibling=e),e.previousSibling=o,e.nextSibling=i,i&&(i.previousSibling=e)),n}function lo(e,t,n,r){var o=t.indexOf(e);if(o<0)return-1;if(r){var i=t[o-1],a=t[o+1];i&&(i.nextSibling=a),a&&(a.previousSibling=i)}t.splice(o,1);var s=n;o<=n&&(s=n-1);var u=t[s-1],c=t[s];return t.splice(s,0,e),r&&(u&&(u.nextSibling=e),e.previousSibling=u,e.nextSibling=c,c&&(c.previousSibling=e)),o===s?-1:n}function fo(e,t,n){var r=t.indexOf(e);if(!(r<0)){if(n){var o=t[r-1],i=t[r+1];o&&(o.nextSibling=i),i&&(i.previousSibling=o)}t.splice(r,1)}}var po=function(){this.nodeId=Gr(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null};po.prototype.destroy=function(){var e=no(this.docId);e&&(delete this.docId,delete e.nodeMap[th
is.nodeId]),this.children.forEach(function(e){e.destroy()})};var ho;var vo={};var yo="div",mo=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","verticalpan","swipe"];function _o(e,t){no(e).nodeMap[t.nodeId]=t}var go=function(e){function t(t,n,r){void 0===t&&(t=yo),e.call(this);var o,i=(o=t,vo[o]);if(i&&!r)return new i(t,n,!0);n=n||{},this.nodeType=1,this.nodeId=Gr(),this.ref=this.nodeId,this.type=t,this.attr=n.attr||{},this.style=n.style||{},this.classStyle=n.classStyle||{},this.event={},this.children=[],this.pureChildren=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.appendChild=function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(lo(e,this.children,this.children.length,!0),1===e.nodeType){var t=lo(e,this.pureChildren,this.pureChildren.length),n=ro(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(ao(e,this
),co(e,this.children,this.children.length,!0),this.docId&&_o(this.docId,e),1===e.nodeType){co(e,this.pureChildren,this.pureChildren.length);var r=ro(this.docId);if(r)return r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},t.prototype.insertBefore=function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(lo(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=so(t),r=lo(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=ro(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(ao(e,this),co(e,this.children,this.children.indexOf(t),!0),this.docId&&_o(this.docId,e),1===e.nodeType){var i=so(t),a=co(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=ro(this.docId);if(s)return s.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},t.prototype.insertAfter=function(e,t){if(!(e.parentNode&&e.parentNode!==th
is||e===t||e.previousSibling&&e.previousSibling===t))if(e.parentNode){if(lo(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=lo(e,this.pureChildren,this.pureChildren.indexOf(uo(t))+1),r=ro(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(ao(e,this),co(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&_o(this.docId,e),1===e.nodeType){var o=co(e,this.pureChildren,this.pureChildren.indexOf(uo(t))+1),i=ro(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},t.prototype.removeChild=function(e,t){if(e.parentNode&&(fo(e,this.children,!0),1===e.nodeType)){fo(e,this.pureChildren);var n=ro(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},t.prototype.clear=function(){var e=ro(this.docId);e&&this.pureChildren.forEach(function(t){e.send("dom",{action:"removeElement"},[t.ref])}),this.children.forEach(function(e){e.destroy()}),this.children.length=0,this.pureChil
dren.length=0},t.prototype.setAttr=function(e,t,n){if(this.attr[e]!==t||!1===n){this.attr[e]=t;var r=ro(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},t.prototype.setAttrs=function(e,t){if(!Zr(e)){var n={};for(var r in e)this.attr[r]!==e[r]&&(this.attr[r]=e[r],n[r]=e[r]);if(!Zr(n)){var o=ro(this.docId);!t&&o&&o.send("dom",{action:"updateAttrs"},[this.ref,n])}}},t.prototype.setStyle=function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var r=ro(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateStyle"},[this.ref,o])}}},t.prototype.setStyles=function(e,t){if(!Zr(e)){var n={};for(var r in e)this.style[r]!==e[r]&&(this.style[r]=e[r],n[r]=e[r]);if(!Zr(n)){var o=ro(this.docId);!t&&o&&o.send("dom",{action:"updateStyle"},[this.ref,n])}}},t.prototype.setClassStyle=function(e){for(var t in this.classStyle)this.classStyle[t]="";Object.assign(this.classStyle,e);var n=ro(this.docId);n&&n.send("dom",{action:"updateStyle"},[this.re
f,this.toStyle()])},t.prototype.addEvent=function(e,t,n){if(this.event||(this.event={}),!this.event[e]){this.event[e]={handler:t,params:n};var r=ro(this.docId);r&&r.send("dom",{action:"addEvent"},[this.ref,e])}},t.prototype.removeEvent=function(e){if(this.event&&this.event[e]){delete this.event[e];var t=ro(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},t.prototype.fireEvent=function(e,t,n,r){var o=null,i=!1,a=this.event[e];if(a&&t){var s=a.handler;t.stopPropagation=function(){i=!0},o=r&&r.params?s.call.apply(s,[this].concat(r.params,[t])):s.call(this,t)}return!i&&n&&-1!==mo.indexOf(e)&&this.parentNode&&this.parentNode.fireEvent&&(t.currentTarget=this.parentNode,this.parentNode.fireEvent(e,t,n)),o},t.prototype.toStyle=function(){return Object.assign({},this.classStyle,this.style)},t.prototype.toJSON=function(){var e={ref:this.ref.toString(),type:this.type,attr:this.attr,style:this.toStyle()},t=[];for(var n in this.event){var r=this.event[n].params;r?t.push({type:n
,params:r}):t.push(n)}return t.length&&(e.event=t),this.pureChildren.length&&(e.children=this.pureChildren.map(function(e){return e.toJSON()})),e},t.prototype.toString=function(){return"<"+this.type+" attr="+JSON.stringify(this.attr)+" style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(e){return e.toString()}).join("")+"</"+this.type+">"},t}(po);ho=go;var bo=function(){},wo=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new eo(e)}),bo=t||function(){}};wo.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},wo.prototype.registerHook=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return(n=this.callbackManager).registerHook.apply(n,e);var n},wo.prototype.triggerHook=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return(n=this.callbackManager).triggerHook.apply(n,e);var n},wo.prototype.updateData=
function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},wo.prototype.destroyCallback=function(){return this.callbackManager.close()},wo.prototype.normalize=function(e){var t=Xr(e);return e&&e instanceof go?e.ref:e&&e._isVue&&e.$el instanceof go?e.$el.ref:"Function"===t?this.callbackManager.add(e).toString():function(e){var t=Xr(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return e.toString();case"Date":return e.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return e;case"ArrayBuffer":return{"@type":"binary",dataType:t,base64:Kr(e)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:t,base64:Kr(e.buffer)};default:return JSON.stringify(e)}}(e)},wo.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,u=t.module,c=t.method;switch(n=n.map(
function(e){return o.normalize(e)}),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,c,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,u,c,n,r)}},wo.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},wo.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},wo.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};function Co(e,t){var n=no(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return function(e,t,n,r){return e.taskCenter.callback(t,n,r)}.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return function(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}.apply(void 0,[n].concat(e.args));case"componentHook":return function(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS
Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}var ko={};function xo(e){var t=function(t){ko[t]||(ko[t]={}),e[t].forEach(function(e){"string"==typeof e?ko[t][e]=!0:ko[t][e.name]=e.args})};for(var n in e)t(n)}function So(e,t){return"string"==typeof t?!(!ko[e]||!ko[e][t]):!!ko[e]}var Eo={};function Oo(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Eo[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Eo[e.type]=e,function(e,t){if(t&&t.length){var n=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(ho);t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r-
-;)n[r]=arguments[r];var o=ro(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),vo[e]=n}}(e.type,e.methods)))})}function jo(e){return!!Eo[e]}var Ao=[];function Io(e,t){Po(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Ao.push({name:e,options:t}))}function To(e){Ao.some(function(t,n){if(t.name===e)return Ao.splice(n,1),!0})}function Po(e){return t=e,Ao.map(function(e){return e.name}).indexOf(t)>=0;var t}var No=function(e){function t(t){e.call(this),this.nodeType=8,this.nodeId=Gr(),this.ref=this.nodeId,this.type="comment",this.value=t,this.children=[],this.pureChildren=[]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},t}(po);function Mo(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var $o=function(e,t){this.id=e,this.batched=!1,this.updates=[],"function"==typeof t?Object.definePr
operty(this,"handler",{configurable:!0,enumerable:!0,writable:!0,value:t}):console.error("[JS Runtime] invalid parameter, handler must be a function")};$o.prototype.createFinish=function(e){return(0,this.handler)([Mo("createFinish")],e)},$o.prototype.updateFinish=function(e){return(0,this.handler)([Mo("updateFinish")],e)},$o.prototype.refreshFinish=function(e){return(0,this.handler)([Mo("refreshFinish")],e)},$o.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[Mo("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return Mo("addElement",[t.ref,e,-1])})),this.addActions(r)},$o.prototype.addElement=function(e,t,n){return n>=0||(n=-1),this.addActions(Mo("addElement",[t,e.toJSON(),n]))},$o.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return Mo("removeElement",[e])});return this.addActions(t)}return this.addActions(Mo("removeElement",[e]))},$o.prototype.moveElement=function(e,t,n){return this.addActions(M
o("moveElement",[e,t,n]))},$o.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(Mo("updateAttrs",[e,r]))},$o.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(Mo("updateStyle",[e,r]))},$o.prototype.setStyles=function(e,t){return this.addActions(Mo("updateStyle",[e,t]))},$o.prototype.addEvent=function(e,t){return this.addActions(Mo("addEvent",[e,t]))},$o.prototype.removeEvent=function(e,t){return this.addActions(Mo("removeEvent",[e,t]))},$o.prototype.handler=function(e,t){return t&&t()},$o.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var Ro={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function Do(e,t,n){var r=t.module,o=t.method,i=t.args;if(a=o,"dom"===r&&
Ro[a]&&"function"==typeof global[Ro[a]])return global[Ro[o]].apply(global,[e].concat(i,["-1"]));var a;return n(e,[t],"-1")}var Fo=function e(t,n,r){t=t?t.toString():"",this.id=t,this.URL=n,i=this,(o=t)&&(to[o]=i);var o,i;this.nodeMap={};var a=e.Listener||$o;this.listener=new a(t,r||function(e,t){var n=t||global.callNative;return"function"!=typeof n&&console.error("[JS Runtime] no default handler"),function(t){Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var o=Do(e,t[r],n);if(-1===o)return o}}}(t,e.handler)),this.taskCenter=new wo(t,r?function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return r.apply(void 0,t)}:e.handler),this.createDocumentElement()};Fo.prototype.getRef=function(e){return this.nodeMap[e]},Fo.prototype.open=function(){this.listener.batched=!1},Fo.prototype.close=function(){this.listener.batched=!0},Fo.prototype.createDocumentElement=function(){var e=this;if(!this.documentElement){var t=new go("document");t.docId=this.id,t.ownerDocument=
this,t.role="documentElement",t.depth=0,t.ref="_documentElement",this.nodeMap._documentElement=t,this.documentElement=t,Object.defineProperty(t,"appendChild",{configurable:!0,enumerable:!0,writable:!0,value:function(t){oo(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){oo(e,t,n)}})}return this.documentElement},Fo.prototype.createBody=function(e,t){if(!this.body){io(this,new go(e,t))}return this.body},Fo.prototype.createElement=function(e,t){return new go(e,t)},Fo.prototype.createComment=function(e){return new No(e)},Fo.prototype.fireEvent=function(e,t,n,r,o){if(e){(n=n||{}).type=n.type||t,n.target=e,n.currentTarget=e,n.timestamp=Date.now(),r&&function(e,t){var n=t.attrs||{};for(var r in n)e.setAttr(r,n[r],!0);var o=t.style||{};for(var i in o)e.setStyle(i,o[i],!0)}(e,r);var i="true"===this.getRef("_root").attr.bubble;return e.fireEvent(t,n,i,o)}},Fo.prototype.destroy=function(){this.taskCenter.destroyCallback(),delete this
.listener,delete this.nodeMap,delete this.taskCenter,e=this.id,delete to[e];var e},Fo.handler=null;var Lo={};function Vo(e,t,n){var r=ro(e);return r&&"function"==typeof r.send?function(){for(var e=[],o=arguments.length;o--;)e[o]=arguments[o];return r.send("module",{module:t,method:n},e)}:(console.error("[JS Framework] Failed to find taskCenter ("+e+")."),null)}var Wo=function(e,t){n=this,r=String(e),Object.defineProperty(n,"[[CurrentInstanceId]]",{value:r});var n,r;this.config=t||{},this.document=new Fo(e,this.config.bundleUrl),this.requireModule=this.requireModule.bind(this),this.isRegisteredModule=So,this.isRegisteredComponent=jo};Wo.prototype.requireModule=function(e){var t,n=(t=this,t["[[CurrentInstanceId]]"]);if(n&&this.document&&this.document.taskCenter){if(So(e)){var r=e+"#"+n;if(!Lo[r]){var o=(u=e,ko[u]),i={},a=function(t){Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:function(){return Vo(n,e,t)},set:function(r){return function(e,t,n,r){var o=ro(e);return o&&"
function"==typeof o.send?"function"!=typeof r?(console.error("[JS Framework] "+t+"."+n+" must be assigned as a function."),null):function(e){return o.send("module",{module:t,method:n},[e])}:(console.error("[JS Framework] Failed to find taskCenter ("+e+")."),null)}(n,e,t,r)}})};for(var s in o)a(s);"function"==typeof Proxy?Lo[r]=new Proxy(i,{get:function(t,r){return r in t?t[r]:(console.warn('[JS Framework] using unregistered method "'+e+"."+r+'"'),Vo(n,e,r))}}):Lo[r]=i}var u;return Lo[r]}console.warn('[JS Framework] using unregistered weex module "'+e+'"')}else console.error('[JS Framework] Failed to requireModule("'+e+'"), instance ('+n+") doesn't exist anymore.")},Wo.prototype.supports=function(e){if("string"!=typeof e)return null;var t=e.match(/^@(\w+)\/(\w+)(\.(\w+))?$/i);if(t){var n=t[1],r=t[2],o=t[4];switch(n){case"module":return So(r,o);case"component":return jo(r)}}return null};var Bo,Uo,Jo=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/;var zo={};function qo(e){return zo[e]}function Ho(e,t,n
){void 0===t&&(t={});var r=new Wo(e,t);Object.freeze(r);var o=t.bundleType||"Vue";zo[e]=o;var i=Uo.frameworks[o];if(!i)return new Error('[JS Framework] Invalid bundle type "'+o+'".');!function(e,t,n){var r=ro(e);if(r&&"function"==typeof r.send)if(t&&n){var o="jsfm."+t+"."+n;try{if(So("userTrack","addPerfPoint")){var i=Object.create(null);i[o]="4",r.send("module",{module:"userTrack",method:"addPerfPoint"},[i])}}catch(e){console.error('[JS Framework] Failed to trace "'+o+'"!')}}else console.warn("[JS Framework] Invalid track type ("+t+") or value ("+n+")");else console.error("[JS Framework] Failed to create tracker!")}(e,"bundleType",o);var a=function(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Ao.forEach(function(o){o.name;var i=o.options.create;if(i){var a=i(e,t,n);Object.assign(r.service,a),Object.assign(r,a.instance)}}),delete r.service.instance,Object.freeze(r.service),r}(e,{weex:r,bundleType:o},Uo);Object.freeze(a);var s=Object.create(null);Object.assig
n(s,a,{weex:r,services:a}),Object.freeze(s);var u=Object.create(s);return"function"==typeof i.createInstanceContext&&Object.assign(u,i.createInstanceContext(e,s,n)),Object.freeze(u),u}var Go={createInstance:function(e,t,n,r){if(zo[e])return new Error('The instance id "'+e+'" has already been used!');var o=function(e){var t=Jo.exec(e);if(t)try{return JSON.parse(t[1]).framework}catch(e){}return"Weex"}(t);zo[e]=o,(n=JSON.parse(JSON.stringify(n||{}))).env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),n.bundleType=o;var i=Uo.frameworks[o];if(!i)return new Error('[JS Framework] Invalid bundle type "'+o+'".');"Weex"===o&&console.error('[JS Framework] COMPATIBILITY WARNING: Weex DSL 1.0 (.we) framework is no longer supported! It will be removed in the next version of WeexSDK, your page would be crash if you still using the ".we" framework. Please upgrade it to Vue.js or Rax.');var a=Ho(e,n,r);if("function"==typeof i.createInstance){if("Rax"===o||"Weex"===o){var s=Object.assign({confi
g:n,created:Date.now(),framework:o},a);return i.createInstance(e,t,n,r,s)}return i.createInstance(e,t,n,r,a)}!function(e,t){var n=[],r=[];for(var o in t)n.push(o),r.push(t[o]);var i="\n (function (global) {\n "+e+"\n })(Object.create(this))\n ";(new(Function.prototype.bind.apply(Function,[null].concat(n,[i])))).apply(void 0,r)}(t,a)},createInstanceContext:Ho,getRoot:function(e){var t=no(e);try{if(t&&t.body)return t.body.toJSON()}catch(e){return void console.error("[JS Framework] Failed to get the virtual dom tree.")}},getDocument:no,registerService:Io,unregisterService:To,callJS:function(e,t){var n=Bo[qo(e)];return n&&"function"==typeof n.receiveTasks?n.receiveTasks(e,t):Co(e,t)}};function Xo(e){Go[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=qo(r);if(o&&Bo[o]){var i=(s=Bo[o])[e].apply(s,t),a={framework:o};return"refreshInstance"===e?Ao.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:a,runtime:Uo})}):"destroyInstance"===e&&(A
o.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:a,runtime:Uo})}),delete zo[r]),i}return new Error('[JS Framework] Using invalid instance id "'+r+'" when calling '+e+".");var s}}function Ko(e,t){Go[e]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];"function"==typeof t&&t.apply(void 0,n);for(var o in Uo.frameworks){var i=Uo.frameworks[o];i&&i[e]&&i[e].apply(i,n)}}}var Zo={Document:Fo,Element:go,Comment:No,Listener:$o,TaskCenter:wo,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return"function"==typeof callNative?callNative.apply(void 0,e):(global.callNative||function(){}).apply(void 0,e)}};Fo.handler=Zo.sendTasks;var Qo={setNativeConsole:function(){if(Dr.forEach(function(e){var t=Dr.indexOf(e);Fr[e]={},Dr.forEach(function(n){var r=Dr.indexOf(n);r<=t&&(Fr[e][n]=!0)})}),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("debug")&&
global.nativeLog.apply(global,Wr(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("log")&&global.nativeLog.apply(global,Wr(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("info")&&global.nativeLog.apply(global,Wr(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("warn")&&global.nativeLog.apply(global,Wr(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("error")&&global.nativeLog.apply(global,Wr(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("log")&&console.__ori__.l
og.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Vr("error")&&console.__ori__.error.apply(console,e)}}},resetNativeConsole:function(){Fr={},global.console=Lr},setNativeTimer:Jr,resetNativeTimer:function(){global.setTimeout=Br,global.setTimeoutCallback=null},service:{register:Io,unregister:To,has:Po},freezePrototype:function(){zr(),Object.freeze(Zo.Comment),Object.freeze(Zo.Listener),Object.freeze(Zo.Document.prototype),Object.freeze(Zo.Comment.prototype),Object.freeze(Zo.Listener.prototype)},init:function(e){Bo=(Uo=e||{}).frameworks||{},function(){var e={createFinish:global.callCreateFinish,updateFinish:global.callUpdateFinish,refreshFinish:global.callRefreshFinish,createBody:
global.callCreateBody,addElement:global.callAddElement,removeElement:global.callRemoveElement,moveElement:global.callMoveElement,updateAttrs:global.callUpdateAttrs,updateStyle:global.callUpdateStyle,addEvent:global.callAddEvent,removeEvent:global.callRemoveEvent},t=wo.prototype,n=function(n){var r=e[n];t[n]=r?function(e,t){return r.apply(void 0,[e].concat(t))}:function(e,t){return bo(e,[{module:"dom",method:n,args:t}],"-1")}};for(var r in e)n(r);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return bo(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return bo(e,[{module:t,method:n,args:r}])}}();for(var t in Bo){var n=Bo[t];if("function"==typeof n.init)try{n.init(e)}catch(e){}}return Ko("registerComponents",Oo),Ko("registerModules",xo),Ko("registerMethods"),["destroyInstance","refreshInstance"].forEach(Xo),Go},config:Zo};function Yo(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,t
his.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}var ei={},ti={};function ni(){}ni.prototype.postMessage=function(e){if(this._closed)throw new Error('BroadcastChannel "'+this.name+'" is closed.');var t=ei[this.name];if(t&&t.length)for(var n=0;n<t.length;++n){var r=t[n];r._closed||r===this||"function"==typeof r.onmessage&&r.onmessage(new Yo("message",{data:e}))}},ni.prototype.close=function(){var e=this;if(!this._closed&&(this._closed=!0,ei[this.name])){var t=ei[this.name].filter(function(t){return t!==e});t.length?ei[this.name]=t:delete ei[this.name]}};var ri={BroadcastChannel:{create:function(e,t,n){if(ti[e]=[],"function"==typeof global.BroadcastChannel)return{};var r={BroadcastChannel:function(t){Object.defineProperty(this,"name",{configurable:!1,enumerable:!0,writable:!1,value:String(t)}),this._closed=!1,this.onmessage=null,ei[this.name]||(ei[this.name]=[]),ei[this.name].push(this),ti[e].push(this)}};return r.Bro
adcastChannel.prototype=ni.prototype,{instance:r}},destroy:function(e,t){ti[e].forEach(function(e){return e.close()}),delete ti[e]}}},oi={},ii={};var ai=Object.freeze({init:function(e){oi.Document=e.Document,oi.Element=e.Element,oi.Comment=e.Comment,oi.sendTasks=e.sendTasks},createInstance:function(e,t,n,r,o){void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o={});var i=new oi.Document(e,n.bundleUrl),a={},s={id:e,data:r,document:i,callbacks:a},u=0;i.addCallback=function(e){return a[++u]=e,u},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},ii[e]=s;var c=Object.assign({Document:oi.Document,Element:oi.Element,Comment:oi.Comment,sendTasks:function(t){return oi.sendTasks(e,t,-1)},options:n,document:i},o),l=[],f=[];for(var d in c)l.push(d),f.push(c[d]);return l.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(l)))).apply(void 0,f),oi.sendTasks(e,[{module:"dom",method:"createFinish",args:[]}],-1),s},destroyInstance:function(e){delete ii[e]},getRoot
:function(e){return ii[e].document.body.toJSON()},receiveTasks:function(e,t){var n={fireEvent:function(e,t,n,r,o){var i=ii[e].document,a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return ii[e].document.handleCallback(t,n,r)}};if((ii[e]||{}).document&&Array.isArray(t)){var r=[];return t.forEach(function(t){var o=n[t.method],i=[].concat(t.args);"function"==typeof o&&(i.unshift(e),r.push(o.apply(void 0,i)))}),r}}}),si=r(function(e){e.exports=function(e,n){var r=Object.freeze({});function o(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function f(e){return"[object RegExp]"===c.call(e)}function d(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":
"object"==typeof e?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function m(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function g(e,t){return _.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,C=b(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),k=b(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),x=/\B([A-Z])/g,S=b(function(e){return e.replace(x,"-$1").toLowerCase()});function E(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 O(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n
--;)r[n]=e[n+t];return r}function j(e,t){for(var n in t)e[n]=t[n];return e}function A(e,t,n){}var I=function(e,t,n){return!1},T=function(e){return e};function P(e,t){if(e===t)return!0;var n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return P(e,t[n])});if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return P(e[n],t[n])})}catch(e){return!1}}function N(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function M(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var $="data-server-rendered",R=["component","directive","filter"],D=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],F={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,w
arnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:A,parsePlatformTagName:T,mustUseProp:I,_lifecycleHooks:D};function L(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=/[^\w.$]/;var B="__proto__"in{},U="undefined"!=typeof window,J="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,z=J&&WXEnvironment.platform.toLowerCase(),q=U&&window.navigator.userAgent.toLowerCase(),H=(q&&/msie|trident/.test(q),q&&q.indexOf("msie 9.0")>0),G=q&&q.indexOf("edge/")>0,X=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===z),K=(q&&/chrome\/\d+/.test(q),{}.watch);if(U)try{var Z={};Object.defineProperty(Z,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Z)}catch(e){}var Q,Y=function(){return void 0===Q&&(Q=!U&&void 0!==t&&"server"===t.process.env.VUE_ENV),Q},ee=U&&wind
ow.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"==typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!=typeof Symbol&&te(Symbol)&&"undefined"!=typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!=typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var oe=A,ie=0,ae=function(){this.id=ie++,this.subs=[]};ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){m(this.subs,e)},ae.prototype.depend=function(){ae.target&&ae.target.addDep(this)},ae.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},ae.target=null;var se=[];var ue=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=v
oid 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ce={child:{configurable:!0}};ce.child.get=function(){return this.componentInstance},Object.defineProperties(ue.prototype,ce);var le=function(e){void 0===e&&(e="");var t=new ue;return t.text=e,t.isComment=!0,t};function fe(e){return new ue(void 0,void 0,void 0,String(e))}function de(e,t){var n=e.componentOptions,r=new ue(e.tag,e.data,e.children,e.text,e.elm,e.context,n,e.asyncFactory);return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.fnContext=e.fnContext,r.fnOptions=e.fnOptions,r.fnScopeId=e.fnScopeId,r.isCloned=!0,t&&(e.children&&(r.children=pe(e.children,!0)),n&&n.children&&(n.children=pe(n.children,!0))),r}function pe(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++)r[o]=de(e[o],t);return
r}var he=Array.prototype,ve=Object.create(he);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=he[e];V(ve,e,function(){for(var n=arguments,r=[],o=arguments.length;o--;)r[o]=n[o];var i,a=t.apply(this,r),s=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var ye=Object.getOwnPropertyNames(ve),me={shouldConvert:!0},_e=function(e){if(this.value=e,this.dep=new ae,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e)){(B?ge:be)(e,ve,ye),this.observeArray(e)}else this.walk(e)};_e.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ce(e,t[n],e[t[n]])},_e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)we(e[t])};function ge(e,t,n){e.__proto__=t}function be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];V(e,i,t[i])}}function we(e,t){if(u(e)&&!(e instanceof ue)){var n;return g(e,"__ob__")&&e.__ob__ instanceof _e?n=e.__ob__:me.shouldConvert&&
!Y()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new _e(e)),t&&n&&n.vmCount++,n}}function Ce(e,t,n,r,o){var i=new ae,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set,c=!o&&we(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ae.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,o=t.length;r<o;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||(u?u.call(e,t):n=t,c=!o&&we(t),i.notify())}})}}function ke(e,t,n){if(Array.isArray(e)&&d(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ce(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function xe(e,t){if(Array.isArray(e)&&d(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||g(e,t)&&(delete e
[t],n&&n.dep.notify())}}var Se=F.optionMergeStrategies;function Ee(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.length;a++)r=e[n=i[a]],o=t[n],g(e,n)?l(r)&&l(o)&&Ee(r,o):ke(e,n,o);return e}function Oe(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?Ee(r,o):o}:t?e?function(){return Ee("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}Se.data=function(e,t,n){return n?Oe(e,t,n):t&&"function"!=typeof t?e:Oe(e,t)};function je(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}D.forEach(function(e){Se[e]=je});function Ae(e,t,n,r){var o=Object.create(e||null);return t?j(o,t):o}R.forEach(function(e){Se[e+"s"]=Ae}),Se.watch=function(e,t,n,r){if(e===K&&(e=void 0),t===K&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};j(o,e);for(var i in t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Se.props=Se.method
s=Se.inject=Se.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return j(o,e),t&&j(o,t),o},Se.provide=Oe;var Ie=function(e,t){return void 0===t?e:t};function Te(e,t,n){"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[C(o)]={type:null});else if(l(n))for(var a in n)o=n[a],i[C(a)]=l(o)?o:{type:o};e.props=i}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(l(n))for(var i in n){var a=n[i];r[i]=l(a)?j({from:i},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t);var r=t.extends;if(r&&(e=Te(e,r,n)),t.mixins)for(var o=0,i=t.mixins.length;o<i;o++)e=Te(e,t.mixins[o],n);var a,s={};for(a in e)u(a);for(a in t)g(e,a)||u(a);function u(r){var o=Se[r]||Ie;s[r]=o(e[r],t[r],n,r)}return s}function Pe(e,t,n,r){if("string"==
typeof n){var o=e[t];if(g(o,n))return o[n];var i=C(n);if(g(o,i))return o[i];var a=k(i);if(g(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function Ne(e,t,n,r){var o=t[e],i=!g(n,e),a=n[e];if($e(Boolean,o.type)&&(i&&!g(o,"default")?a=!1:$e(String,o.type)||""!==a&&a!==S(e)||(a=!0)),void 0===a){a=function(e,t,n){if(!g(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Me(t.type)?r.call(e):r}(r,o,e);var s=me.shouldConvert;me.shouldConvert=!0,we(a),me.shouldConvert=s}return a}function Me(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function $e(e,t){if(!Array.isArray(t))return Me(t)===Me(e);for(var n=0,r=t.length;n<r;n++)if(Me(t[n])===Me(e))return!0;return!1}function Re(e,t,n){if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){De(e,r,"errorCaptu
red hook")}}De(e,t,n)}function De(e,t,n){if(F.errorHandler)try{return F.errorHandler.call(null,e,t,n)}catch(e){Fe(e,null,"config.errorHandler")}Fe(e,t,n)}function Fe(e,t,n){if(!U&&!J||"undefined"==typeof console)throw e;console.error(e)}var Le=[],Ve=!1;function We(){Ve=!1;var e=Le.slice(0);Le.length=0;for(var t=0;t<e.length;t++)e[t]()}var Be,Ue,Je=!1;if("undefined"!=typeof setImmediate&&te(setImmediate))Ue=function(){setImmediate(We)};else if("undefined"==typeof MessageChannel||!te(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Ue=function(){setTimeout(We,0)};else{var ze=new MessageChannel,qe=ze.port2;ze.port1.onmessage=We,Ue=function(){qe.postMessage(1)}}if("undefined"!=typeof Promise&&te(Promise)){var He=Promise.resolve();Be=function(){He.then(We),X&&setTimeout(A)}}else Be=Ue;function Ge(e,t){var n;if(Le.push(function(){if(e)try{e.call(t)}catch(e){Re(e,t,"nextTick")}else n&&n(t)}),Ve||(Ve=!0,Je?Ue():Be()),!e&&"undefined"!=typeof Promise)return ne
w Promise(function(e){n=e})}var Xe=new ne;function Ke(e){!function e(t,n){var r,o;var i=Array.isArray(t);if(!i&&!u(t)||Object.isFrozen(t))return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=t.length;r--;)e(t[r],n);else for(o=Object.keys(t),r=o.length;r--;)e(t[o[r]],n)}(e,Xe),Xe.clear()}var Ze=b(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Qe(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,e)}return t.fns=e,t}function Ye(e,t,n,r,i){var a,s,u,c,f;for(a in e)s=u=e[a],c=t[a],f=Ze(a),l(s)&&(u=s.handler,f.params=s.params),o(u)||(o(c)?(o(u.fns)&&(u=e[a]=Qe(u)),n(f.name,u,f.once,f.capture,f.passive,f.params)):u!==c&&(c.fns=u,e[a]=c));for(a in t)o(e[a])&&r((f=Ze(a)).name,t[a],f.capture)}function et(e,t,n){e instanceof ue&&(e=e.data.hoo
k||(e.data.hook={}));var r,s=e[t];function u(){n.apply(this,arguments),m(r.fns,u)}o(s)?r=Qe([u]):i(s.fns)&&a(s.merged)?(r=s).fns.push(u):r=Qe([s,u]),r.merged=!0,e[t]=r}function tt(e,t,n,r,o){if(i(t)){if(g(t,n))return e[n]=t[n],o||delete t[n],!0;if(g(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function nt(e){return s(e)?[fe(e)]:Array.isArray(e)?function e(t,n){var r=[];var u,c,l,f;for(u=0;u<t.length;u++)o(c=t[u])||"boolean"==typeof c||(l=r.length-1,f=r[l],Array.isArray(c)?c.length>0&&(rt((c=e(c,(n||"")+"_"+u))[0])&&rt(f)&&(r[l]=fe(f.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?rt(f)?r[l]=fe(f.text+c):""!==c&&r.push(fe(c)):rt(c)&&rt(f)?r[l]=fe(f.text+c.text):(a(t._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+u+"__"),r.push(c)));return r}(e):void 0}function rt(e){return i(e)&&i(e.text)&&(t=e.isComment,!1===t);var t}function ot(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function it(e){return e.isComment&&e.a
syncFactory}function at(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||it(n)))return n}}function st(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ft(e,t)}var ut;function ct(e,t,n){n?ut.$once(e,t):ut.$on(e,t)}function lt(e,t){ut.$off(e,t)}function ft(e,t,n){ut=e,Ye(t,n||{},ct,lt),ut=void 0}function dt(e,t){var n={};if(!e)return n;for(var r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(pt)&&delete n[c];return n}function pt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ht(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?ht(e[n],t):t[e[n].key]=e[n].fn;return t}var vt=null;function yt(e){var t=e.$options,n=t.parent;if(n&&!t
.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function mt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function _t(e,t){if(t){if(e._directInactive=!1,mt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)_t(e.$children[n]);gt(e,"activated")}}function gt(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(e)}catch(n){Re(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}var bt=[],wt=[],Ct={},kt=!1,xt=!1,St=0;function Et(){xt=!0;var e,t;for(bt.sort(function(e,t){return e.id-t.id}),St=0;St<bt.length;St++)t=(e=bt[St]).id,Ct[t]=null,e.run();var n=wt.slice(),r=bt.slice();St=bt.length=wt.length=0,Ct={},kt=xt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,_t(e[t],
!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&>(r,"updated")}}(r),ee&&F.devtools&&ee.emit("flush")}var Ot=0,jt=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ot,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};jt.prototype.get=function(){e=this,ae.target&&se.push(ae.target),ae.target=e;var e,t,n=this.vm;try{t=this.getter.call(n,n)}catch(e){if(!this.user)throw e;Re(e,n,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ke(t),ae
.target=se.pop(),this.cleanupDeps()}return t},jt.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},jt.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.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},jt.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Ct[t]){if(Ct[t]=!0,xt){for(var n=bt.length-1;n>St&&bt[n].id>e.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);kt||(kt=!0,Ge(Et))}}(this)},jt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},j
t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},jt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},jt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var At={enumerable:!0,configurable:!0,get:A,set:A};function It(e,t,n){At.get=function(){return this[t][n]},At.set=function(e){this[t][n]=e},Object.defineProperty(e,n,At)}function Tt(e){e._watchers=[],e._inlineComputed=null;var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;me.shouldConvert=i;var a=function(i){o.push(i);var a=Ne(i,t,n,e);Ce(r,i,a),i in e||It(e,"_props",i)};for(var s in t)a(s);me.shouldConvert=!0}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?A:E(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"
==typeof t?Pt(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&g(r,i)||L(i)||It(e,"_data",i)}we(t,!0)}(e):we(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Y();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new jt(e,a||A,A,Nt)),o in e||Mt(e,o,i)}}(e,t.computed),t.watch&&t.watch!==K&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Rt(e,n,r[o]);else Rt(e,n,r)}}(e,t.watch)}function Pt(e,t){try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}}var Nt={lazy:!0};function Mt(e,t,n){var r=!Y();"function"==typeof n?(At.get=r?$t(t):n,At.set=A):(At.get=n.get?r&&!1!==n.cache?$t(t):n.get:A,At.set=n.set?n.set:A),Object.defineProperty(e,t,At)}function $t(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ae.target&&t.depend(),t.value}}function Rt(e,t,n,r){return l
(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Dt(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Ft(e){var t=Lt(e.$options.inject,e);t&&(me.shouldConvert=!1,Object.keys(t).forEach(function(n){Ce(e,n,t[n])}),me.shouldConvert=!0)}function Lt(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;o<r.length;o++){for(var i=r[o],a=e[i].from,s=t;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[i]){var u=e[i].default;n[i]="function"==typeof u?u.call(t):u}}return n}}function Vt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(u(e))for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=t(e[s],s,r);r
eturn i(n)&&(n._isVList=!0),n}function Wt(e,t,n,r){var o,i=this.$scopedSlots[e];if(i)n=n||{},r&&(n=j(j({},r),n)),o=i(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),o=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function Bt(e){return Pe(this.$options,"filters",e)||T}function Ut(e,t,n,r){var o=F.keyCodes[t]||n;return o?Array.isArray(o)?-1===o.indexOf(e):o!==e:r?S(r)!==t:void 0}function Jt(e,t,n,r,o){if(n)if(u(n)){Array.isArray(n)&&(n=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&j(t,e[n]);return t}(n));var i,a=function(a){if("class"===a||"style"===a||y(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||F.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}if(!(a in i)&&(i[a]=n[a],o)){(e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}}};for(var s in n)a(s)}else;return e}function zt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?Array.isArray(r)?pe(r):de(r):(Ht(r=n[e]=this.$options.staticRenderFns[e].call(this._
renderProxy,null,this),"__static__"+e,!1),r)}function qt(e,t,n){return Ht(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ht(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Gt(e[r],t+"_"+r,n);else Gt(e,t,n)}function Gt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Xt(e,t){if(t)if(l(t)){var n=e.on=e.on?j({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function Kt(e,t){var n=this._inlineComputed||(this._inlineComputed={}),r=n[e];return r?r.value:(n[e]=new jt(this,t,A,{sync:!0}),n[e].value)}function Zt(e){e._o=qt,e._n=h,e._s=p,e._l=Vt,e._t=Wt,e._q=P,e._i=N,e._m=zt,e._f=Bt,e._k=Ut,e._b=Jt,e._v=fe,e._e=le,e._u=ht,e._g=Xt,e._a=Kt}function Qt(e,t,n,o,i){var s=i.options;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||r,this.injections=Lt(s.inject,o),this.slots=function(){return dt(n,o)};var u=Object.create(o),c=a(s._compiled),l=!c;c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=e
.scopedSlots||r),s._scopeId?this._c=function(e,t,n,r){var i=vn(u,e,t,n,r,l);return i&&(i.fnScopeId=s._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return vn(u,e,t,n,r,l)}}Zt(Qt.prototype);function Yt(e,t){for(var n in t)e[C(n)]=t[n]}var en="@inRecycleList";function tn(e,t,r,o){if(n&&n.taskCenter)return"function"==typeof n.taskCenter.registerHook?n.taskCenter.registerHook(e,t,r,o):void oe('Failed to register component hook "'+t+"@"+r+"#"+e+'".');oe('Can\'t find available "document" or "taskCenter".')}function nn(e,t,r){if(n&&n.taskCenter)return"function"==typeof n.taskCenter.updateData?n.taskCenter.updateData(e,t,r):void oe("Failed to update component data ("+e+").");oe('Can\'t find available "document" or "taskCenter".')}var rn=0;function on(e){void 0===e&&(e={});var t=this,n=e.componentId;t._uid="virtual-component-"+rn++,t._isVue=!0,e&&e._isComponent?_n(t,e):t.$options=Te(gn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,yt(t),st(t),yn(t),gt(t,"beforeCreate"),Ft(t),Tt(t)
,Dt(t),gt(t,"created");var r=t.$options.data,o="function"==typeof r?Pt(r,t):r||{};l(o)&&nn(n,o),tn(n,"lifecycle","attach",function(){gt(t,"beforeMount");new jt(t,function(){t._update(t._vnode,!1)},A,null,!0),t._isMounted=!0,gt(t,"mounted")}),tn(n,"lifecycle","detach",function(){t.$destroy()})}function an(e){var t=this,n=t.$options.componentId;if(t._isMounted&>(t,"beforeUpdate"),t._vnode=e,t._isMounted&&n){nn(n,Object.assign({},t._data),function(){gt(t,"updated")})}}function sn(e){delete e.data.attrs[en],function(e){var t=e.componentOptions.Ctor,n=t.extend({}),r=n.cid;n.prototype._init=on,n.prototype._update=an,e.componentOptions.Ctor=t.extend({beforeCreate:function(){tn(r,"lifecycle","create",function(e,t){new n({componentId:e,propsData:t})})},beforeDestroy:function(){delete this._virtualComponents}})}(e);var t=fn(e),n=t.$options["@render"];if(n)try{return n.call(t)}catch(e){Re(e,t,"@render")}else oe('@render function not defined on component used in <recycle-list>. Make sure to d
eclare `recyclable="true"` on the component\'s template.',t)}var un={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=fn(e,vt,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var o=e;un.prepatch(o,o)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,i){var a=!!(i||e.$options._renderChildren||o.data.scopedSlots||e.$scopedSlots!==r);if(e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i,e.$attrs=o.data&&o.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){me.shouldConvert=!1;for(var s=e._props,u=e.$options._propKeys||[],c=0;c<u.length;c++){var l=u[c];s[l]=Ne(l,e.$options.props,t,e)}me.shouldConvert=!0,e.$options.propsData=t}if(n){var f=e.$options._parentListeners;e.$options._parentListeners=n,ft(e,n,f)}a&&(e.$slots=dt(i,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context
,n=e.componentInstance;n._isMounted||(n._isMounted=!0,gt(n,"mounted")),e.data.keepAlive&&(t._isMounted?((r=n)._inactive=!1,wt.push(r)):_t(n,!0));var r},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,mt(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);gt(t,"deactivated")}}(t,!0):t.$destroy())}},cn=Object.keys(un);function ln(e,t,n,s,c){if(!o(e)){var l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"==typeof e){var f;if(o(e.cid)&&void 0===(e=function(e,t,n){if(a(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;if(a(e.loading)&&i(e.loadingComp))return e.loadingComp;if(!i(e.contexts)){var r=e.contexts=[n],s=!0,c=function(){for(var e=0,t=r.length;e<t;e++)r[e].$forceUpdate()},l=M(function(n){e.resolved=ot(n,t),s||c()}),f=M(function(t){i(e.errorComp)&&(e.error=!0,c())}),d=e(l,f);return u(d)&&("function"==typeof d.then?o(e.resolved)&&d.then
(l,f):i(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),i(d.error)&&(e.errorComp=ot(d.error,t)),i(d.loading)&&(e.loadingComp=ot(d.loading,t),0===d.delay?e.loading=!0:setTimeout(function(){o(e.resolved)&&o(e.error)&&(e.loading=!0,c())},d.delay||200)),i(d.timeout)&&setTimeout(function(){o(e.resolved)&&f(null)},d.timeout))),s=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}(f=e,l,n)))return function(e,t,n,r,o){var i=le();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(f,t,n,s,c);t=t||{},gn(e),i(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var o=t.on||(t.on={});i(o[r])?o[r]=[t.model.callback].concat(o[r]):o[r]=t.model.callback}(e.options,t);var d=function(e,t,n){var r=t.options.props;if(!o(r)){var a={},s=e.attrs,u=e.props;if(i(s)||i(u))for(var c in r){var l=S(c);tt(a,u,c,l,!0)||tt(a,s,c,l,!1)}return a}}(t,e);if(a(e.options.functional))r
eturn function(e,t,n,o,a){var s=e.options,u={},c=s.props;if(i(c))for(var l in c)u[l]=Ne(l,c,t||r);else i(n.attrs)&&Yt(u,n.attrs),i(n.props)&&Yt(u,n.props);var f=new Qt(n,u,a,o,e),d=s.render.call(null,f._c,f);return d instanceof ue&&(d.fnContext=o,d.fnOptions=s,n.slot&&((d.data||(d.data={})).slot=n.slot)),d}(e,d,t,n,s);var p=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){e.hook||(e.hook={});for(var t=0;t<cn.length;t++){var n=cn[t],r=e.hook[n],o=un[n];e.hook[n]=r?dn(o,r):o}}(t);var v=e.options.name||c,y=new ue("vue-component-"+e.cid+(v?"-"+v:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:p,tag:c,children:s},f);if((m=y).data.attrs&&en in m.data.attrs)return sn(y);var m;return y}}}function fn(e,t,n,r){var o={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return i(a)&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(o)}function dn(e,t){return fu
nction(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}var pn=1,hn=2;function vn(e,t,n,r,u,c){return(Array.isArray(n)||s(n))&&(u=r,r=n,n=void 0),a(c)&&(u=hn),function(e,t,n,r,s){if(i(n)&&i(n.__ob__))return le();i(n)&&i(n.is)&&(t=n.is);if(!t)return le();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);s===hn?r=nt(r):s===pn&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var u,c;if("string"==typeof t){var l;c=e.$vnode&&e.$vnode.ns||F.getTagNamespace(t),u=F.isReservedTag(t)?new ue(F.parsePlatformTagName(t),n,r,void 0,void 0,e):i(l=Pe(e.$options,"components",t))?ln(l,n,e,r,t):new ue(t,n,r,void 0,void 0,e)}else u=ln(t,n,e,r);return i(u)?(c&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(i(t.children))for(var s=0,u=t.children.length;s<u;s++){var c=t.children[s];i(c.tag)&&(o(c.ns)||a(r))&&e(c,n,r)}}(u,c),u):le()}(e,t,n,r,u)}function yn(e){e._vnode=null,e._staticTree
s=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=dt(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,n,r,o){return vn(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return vn(e,t,n,r,o,!0)};var i=n&&n.data;Ce(e,"$attrs",i&&i.attrs||r,0,!0),Ce(e,"$listeners",t._parentListeners||r,0,!0)}var mn=0;function _n(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function gn(e){var t=e.options;if(e.super){var n=gn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=bn(n[i],r[i],o[i]));return t}(e);r&&j(e.extendOptions,r),(t=e.options=Te(n,e.extendOpt
ions)).name&&(t.components[t.name]=e)}}return t}function bn(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function wn(e){this._init(e)}wn.prototype._init=function(e){this._uid=mn++,this._isVue=!0,e&&e._isComponent?_n(this,e):this.$options=Te(gn(this.constructor),e||{},this),this._renderProxy=this,this._self=this,yt(this),st(this),yn(this),gt(this,"beforeCreate"),Ft(this),Tt(this),Dt(this),gt(this,"created"),this.$options.el&&this.$mount(this.$options.el)};!function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=xe,e.prototype.$watch=function(e,t,n){if(l(t))return Rt(this,e,t,n);(n=n||{}).user=!0;var r=new jt(this,e,t,n);return n.immediate&&t.call(this,r.value),function()
{r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){if(Array.isArray(e))for(var r=0,o=e.length;r<o;r++)this.$on(e[r],n);else(this._events[e]||(this._events[e]=[])).push(n),t.test(e)&&(this._hasHookEvent=!0);return this},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){if(!arguments.length)return this._events=Object.create(null),this;if(Array.isArray(e)){for(var n=0,r=e.length;n<r;n++)this.$off(e[n],t);return this}var o=this._events[e];if(!o)return this;if(!t)return this._events[e]=null,this;if(t)for(var i,a=o.length;a--;)if((i=o[a])===t||i.fn===t){o.splice(a,1);break}return this},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?O(n):n;for(var r=O(arguments,1),o=0,i=n.length;o<i;o++)try{n[o].apply(t,r)}catch(n){Re(n,t,'event handler for "'+e+'"')}}return t}}(wn),(Cn=wn).prototype._update=function(e,t){this._isMounted&>(this,"beforeUp
date");var n=this.$el,r=this._vnode,o=vt;vt=this,this._vnode=e,r?this.$el=this.__patch__(r,e):(this.$el=this.__patch__(this.$el,e,t,!1,this.$options._parentElm,this.$options._refElm),this.$options._parentElm=this.$options._refElm=null),vt=o,n&&(n.__vue__=null),this.$el&&(this.$el.__vue__=this),this.$vnode&&this.$parent&&this.$vnode===this.$parent._vnode&&(this.$parent.$el=this.$el)},Cn.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},Cn.prototype.$destroy=function(){if(!this._isBeingDestroyed){gt(this,"beforeDestroy"),this._isBeingDestroyed=!0;var e=this.$parent;!e||e._isBeingDestroyed||this.$options.abstract||m(e.$children,this),this._watcher&&this._watcher.teardown();for(var t=this._watchers.length;t--;)this._watchers[t].teardown();this._data.__ob__&&this._data.__ob__.vmCount--,this._isDestroyed=!0,this.__patch__(this._vnode,null),gt(this,"destroyed"),this.$off(),this.$el&&(this.$el.__vue__=null),this.$vnode&&(this.$vnode.parent=null)}};var Cn;Zt((kn=wn).pr
ototype),kn.prototype.$nextTick=function(e){return Ge(e,this)},kn.prototype._render=function(){var e=this,t=e.$options,n=t.render,o=t._parentVnode;if(e._isMounted)for(var i in e.$slots){var a=e.$slots[i];(a._rendered||a[0]&&a[0].elm)&&(e.$slots[i]=pe(a,!0))}e.$scopedSlots=o&&o.data.scopedSlots||r,e.$vnode=o;var s;try{s=n.call(e._renderProxy,e.$createElement)}catch(t){Re(t,e,"render"),s=e._vnode}return s instanceof ue||(s=le()),s.parent=o,s};var kn;function xn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Te(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)It(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Mt(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach(f
unction(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=j({},a.options),o[r]=a,a}}function Sn(e){return e&&(e.Ctor.options.name||e.tag)}function En(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function On(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Sn(a.componentOptions);s&&!t(s)&&jn(n,i,r,o)}}}function jn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,m(n,t)}var An=[String,RegExp,Array],In={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:An,exclude:An,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)jn(this.cache,e,this.keys)},watch:{include:function(e){On(this,function(t){return En(e,t)})},exclude:function(e){On(this,function(t){return!En(e,t)})}},render:function(){var e=this.$slots.default,t=at(e),n=t&&t.
componentOptions;if(n){var r=Sn(n),o=this.include,i=this.exclude;if(o&&(!r||!En(o,r))||i&&r&&En(i,r))return t;var a=this.cache,s=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[u]?(t.componentInstance=a[u].componentInstance,m(s,u),s.push(u)):(a[u]=t,s.push(u),this.max&&s.length>parseInt(this.max)&&jn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={};t.get=function(){return F},Object.defineProperty(e,"config",t),e.util={warn:oe,extend:j,mergeOptions:Te,defineReactive:Ce},e.set=ke,e.delete=xe,e.nextTick=Ge,e.options=Object.create(null),R.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,j(e.options.components,In),e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this},e.mixin=function(e){return this.options=Te(
this.options,e),this},xn(e),n=e,R.forEach(function(e){n[e]=function(t,n){return n?("component"===e&&l(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]}});var n}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:Y}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),wn.version="2.5.11";var Tn=1;function Pn(e){return n.createElement(e)}var Nn=Object.freeze({namespaceMap:{},createElement:Pn,createElementNS:function(e,t){return n.createElement(e+":"+t)},createTextNode:function(e){return new function(e){this.instanceId="",this.nodeId=Tn++,this.parentNode=null,this.nodeType=3,this.text=e}(e)},createComment:function(e){return n.createComment(e)},insertBefore:function(e,t,n){if(3!==t.nodeType)e.insertBefore(t,n);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var r=Pn("text");r.setAttr("va
lue",t.text),e.insertBefore(r,n)}},removeChild:function(e,t){3!==t.nodeType?e.removeChild(t):e.setAttr("value","")},appendChild:function(e,t){if(3!==t.nodeType)e.appendChild(t);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var n=Pn("text");n.setAttr("value",t.text),e.appendChild(n)}},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.type},setTextContent:function(e,t){e.parentNode.setAttr("value",t)},setAttribute:function(e,t,n){e.setAttr(t,n)}}),Mn={create:function(e,t){$n(t)},update:function(e,t){e.data.ref!==t.data.ref&&($n(e,!0),$n(t))},destroy:function(e){$n(e,!0)}};function $n(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?m(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h
4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);var Rn=v("text,number,password,search,email,tel,url"),Dn=new ue("",{},[]),Fn=["create","activate","update","remove","destroy"];function Ln(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&function(
e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||Rn(r)&&Rn(o)}(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function Vn(e,t,n){var r,o,a={};for(r=t;r<=n;++r)i(o=e[r].key)&&(a[o]=r);return a}var Wn={create:Bn,update:Bn,destroy:function(e){Bn(e,Dn)}};function Bn(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===Dn,a=t===Dn,s=Jn(e.data.directives,e.context),u=Jn(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,zn(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(zn(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n<c.length;n++)zn(c[n],"inserted",t,e)};i?et(t,"insert",f):f()}l.length&&et(t,"postpatch",function(){for(var n=0;n<l.length;n++)zn(l[n],"componentUpdated",t,e)});if(!i)for(n in s)u[n]||zn(s[n],"unbind",e,e,a)}(e,t)}var Un=Object.create(null);functio
n Jn(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)(o=e[r]).modifiers||(o.modifiers=Un),n[(i=o,i.rawName||i.name+"."+Object.keys(i.modifiers||{}).join("."))]=o,o.def=Pe(t.$options,"directives",o.name);var i;return n}function zn(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){Re(r,n.context,"directive "+e.name+" "+t+" hook")}}var q
<TRUNCATED>
[2/2] incubator-weex git commit: * [jsfm] update js framework to
v0.23.8 in pre-build
Posted by zs...@apache.org.
* [jsfm] update js framework to v0.23.8 in pre-build
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3677c4ca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3677c4ca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3677c4ca
Branch: refs/heads/master
Commit: 3677c4ca66705657bd5ff6ad476f8f3ea4f097aa
Parents: f35e772
Author: Hanks <zh...@gmail.com>
Authored: Mon Jan 8 17:23:33 2018 +0800
Committer: Hanks <zh...@gmail.com>
Committed: Mon Jan 8 17:23:33 2018 +0800
----------------------------------------------------------------------
pre-build/native-bundle-main.js | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------