http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c86ea5d2/packages/weex-js-runtime/index.min.js
----------------------------------------------------------------------
diff --git a/packages/weex-js-runtime/index.min.js 
b/packages/weex-js-runtime/index.min.js
index 7460eda..87c144c 100644
--- a/packages/weex-js-runtime/index.min.js
+++ b/packages/weex-js-runtime/index.min.js
@@ -1,5 +1 @@
-<<<<<<< HEAD
-this.getJSFMVersion=function(){return"0.21.6"};var 
global=this,process={env:{}},setTimeout=global.setTimeout;!function(t,e){"object"==typeof
 exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof 
define&&define.amd?define(e):t.WeexRuntime=e()}(this,function(){"use 
strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function 
e(){po.forEach(function(t){var 
e=po.indexOf(t);ho[t]={},po.forEach(function(n){po.indexOf(n)<=e&&(ho[t][n]=!0)})})}function
 n(t){var e=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return 
ho[e]&&ho[e][t]}function r(t){return t.map(function(t){return t="[object 
object]"===Object.prototype.toString.call(t).toLowerCase()?JSON.stringify(t):String(t)})}function
 o(){if(void 0===setTimeout&&"function"==typeof mo){var 
t={},e=0;global.setTimeout=function(n,r){t[++e]=n,mo(e.toString(),r)},global.setTimeoutCallback=function(e){"function"==typeof
 t[e]&&(t[e](),delete t[e])}}}function i(){Object.freeze(Object),Object.freeze(A
 
rray),a(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),c(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function
 a(){var 
t=Object.prototype,e="Object.prototype";s(t,"__defineGetter__",e),s(t,"__defineSetter__",e),s(t,"__lookupGetter__",e),s(t,"__lookupSetter__",e),s(t,"constructor",e),s(t,"hasOwnProperty",e),s(t,"isPrototypeOf",e),s(t,"propertyIsEnumerable",e),s(t,"toLocaleString",e),s(t,"toString",e),s(t,"valueOf",e),Object.seal(t)}function
 c(){var 
t=Error.prototype,e="Error.prototype";s(t,"name",e),s(t,"message",e),s(t,"toString",e),s(t,"constructor",e),Object.seal(t)}function
 s(t,e,n){if(t.hasOwnProperty(e)){var 
r=t[e];Object.defineProperty(t,e,{get:function(){return 
r},set:function(r){if(this===t)throw Error("Cannot assign to read only property 
"+e+" of "+n);return 
Object.defineProperty(this,e,{value:r,writable:!0}),r}})}}function 
u(){return(go++).toString()}function l(t){var e=Ob
 ject.prototype.toString.call(t);return e.substring(8,e.length-1)}function 
f(t){if("function"!=typeof btoa)return"";var e=Array.prototype.map.call(new 
Uint8Array(t),function(t){return String.fromCharCode(t)}).join("");return 
btoa(e)}function d(t){if("function"!=typeof atob)return new ArrayBuffer(0);var 
e=atob(t),n=new Uint8Array(e.length);return 
Array.prototype.forEach.call(e,function(t,e){n[e]=t.charCodeAt(0)}),n.buffer}function
 p(t){var 
e=l(t);switch(e){case"Undefined":case"Null":return"";case"RegExp":return 
t.toString();case"Date":return 
t.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return
 
t;case"ArrayBuffer":return{"@type":"binary",dataType:e,base64:f(t)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:e,base64:f(t.buffer)};default:return
 JSON.stringify(t)}}function h(t){if("Object"===l(t)){if(t["@
 type"]&&"binary"===t["@type"])return d(t.base64||"");var e={};for(var n in 
t)e[n]=h(t[n]);return e}return"Array"===l(t)?t.map(h):t}function 
v(t,e){t&&(_o[t]=e)}function y(t){return _o[t]}function m(t){delete 
_o[t]}function g(t){var e=_o[t];return 
e&&e.taskCenter?e.taskCenter:null}function b(t,e,n){var 
r=t.documentElement;if(!(r.pureChildren.length>0||e.parentNode)){var 
o=r.children,i=o.indexOf(n);i<0?o.push(e):o.splice(i,0,e),1===e.nodeType?("body"===e.role?(e.docId=t.id,e.ownerDocument=t,e.parentNode=r,S(e,r)):(e.children.forEach(function(t){t.parentNode=e}),O(t,e),e.docId=t.id,e.ownerDocument=t,S(e,r),delete
 
t.nodeMap[e.nodeId]),r.pureChildren.push(e),_(t,e)):(e.parentNode=r,t.nodeMap[e.ref]=e)}}function
 _(t,e){var n=e.toJSON(),r=n.children;delete n.children;var 
o=t.taskCenter.send("dom",{action:"createBody"},[n]);return 
r&&r.forEach(function(e){o=t.taskCenter.send("dom",{action:"addElement"},[n.ref,e,-1])}),o}function
 O(t,e){e.role="body",e.depth=1,delete t.nodeMap[e.nodeId],e.re
 f="_root",t.nodeMap._root=e,t.body=e}function 
S(t,e){t.parentNode=e,e.docId&&(t.docId=e.docId,t.ownerDocument=e.ownerDocument,t.ownerDocument.nodeMap[t.nodeId]=t,t.depth=e.depth+1),t.children.forEach(function(e){S(e,t)})}function
 E(t){for(;t;){if(1===t.nodeType)return t;t=t.nextSibling}}function 
w(t){for(;t;){if(1===t.nodeType)return t;t=t.previousSibling}}function 
j(t,e,n,r){n<0&&(n=0);var o=e[n-1],i=e[n];return 
e.splice(n,0,t),r&&(o&&(o.nextSibling=t),t.previousSibling=o,t.nextSibling=i,i&&(i.previousSibling=t)),n}function
 A(t,e,n,r){var o=e.indexOf(t);if(o<0)return-1;if(r){var 
i=e[o-1],a=e[o+1];i&&(i.nextSibling=a),a&&(a.previousSibling=i)}e.splice(o,1);var
 c=n;o<=n&&(c=n-1);var s=e[c-1],u=e[c];return 
e.splice(c,0,t),r&&(s&&(s.nextSibling=t),t.previousSibling=s,t.nextSibling=u,u&&(u.previousSibling=t)),o===c?-1:n}function
 I(t,e,n){var r=e.indexOf(t);if(!(r<0)){if(n){var 
o=e[r-1],i=e[r+1];o&&(o.nextSibling=i),i&&(i.previousSibling=o)}e.splice(r,1)}}function
 C(t,e){if(e&&e.length){
 var n=function(t){function e(){t.apply(this,arguments)}return 
t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(So);e.forEach(function(e){n.prototype[e]=function(){for(var
 n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=g(this.docId);if(o)return 
o.send("component",{ref:this.ref,component:t,method:e},n)}}),Eo[t]=n}}function 
k(t){return Eo[t]}function N(t){return"String"===l(t)?{"@binding":t}:t}function 
x(t){for(var 
e,n,r=[],o=wo.lastIndex=0;e=wo.exec(t);){(n=e.index)>o&&r.push(t.slice(o,n));var
 i=N(e[1].trim());r.push(i),o=n+e[0].length}return 
o<t.length&&r.push(t.slice(o)),1===r.length?r[0]:r}function 
T(t){if("String"===l(t)&&wo.test(t))return x(t);if("Object"===l(t)){var 
e={};for(var n in t)e[n]=T(t[n]);return 
e}return"Array"===l(t)?t.map(T):t}function 
M(t,e){y(t).nodeMap[e.nodeId]=e}function P(){var 
t={createFinish:global.callCreateFinish,updateFinish:global.callUpdateFinish,refreshFinish:global.callRefreshFinish,createBody:global.callC
 
reateBody,addElement:global.callAddElement,removeElement:global.callRemoveElement,moveElement:global.callMoveElement,updateAttrs:global.callUpdateAttrs,updateStyle:global.callUpdateStyle,addEvent:global.callAddEvent,removeEvent:global.callRemoveEvent},e=ko.prototype;for(var
 n in t)!function(n){var r=t[n];e[n]=r?function(t,e){return r.apply(void 
0,[t].concat(e))}:function(t,e){return 
Co(t,[{module:"dom",method:n,args:e}],"-1")}}(n);e.componentHandler=global.callNativeComponent||function(t,e,n,r,o){return
 
Co(t,[{component:o.component,ref:e,method:n,args:r}])},e.moduleHandler=global.callNativeModule||function(t,e,n,r){return
 Co(t,[{module:e,method:n,args:r}])}}function F(t,e){z(t)?console.warn('Service 
"'+t+'" has been registered 
already!'):(e=Object.assign({},e),To.push({name:t,options:e}))}function 
R(t){To.some(function(e,n){if(e.name===t)return To.splice(n,1),!0})}function 
z(t){return J(t)>=0}function J(t){return To.map(function(t){return 
t.name}).indexOf(t)}function L(t){var e,n=Mo
 .exec(t);if(n)try{e=JSON.parse(n[1])}catch(t){}return e}function B(t,e,n){var 
r=Object.create(null);return 
r.service=Object.create(null),To.forEach(function(o){o.name;var 
i=o.options.create;if(i){var 
a=i(t,e,n);Object.assign(r.service,a),Object.assign(r,a.instance)}}),delete 
r.service.instance,Object.freeze(r.service),r}function 
D(t){Fo[t]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];"registerComponents"===t&&U(e[0]);for(var
 r in No){var o=No[r];o&&o[t]&&o[t].apply(o,e)}}}function 
U(t){Array.isArray(t)&&t.forEach(function(t){t&&t.type&&t.methods&&C(t.type,t.methods)})}function
 W(t){Fo[t]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];var 
r=e[0],o=Po[r];if(o&&No[o.framework]){var 
i=(a=No[o.framework])[t].apply(a,e);return"refreshInstance"===t?To.forEach(function(t){var
 
e=t.options.refresh;e&&e(r,{info:o,runtime:xo})}):"destroyInstance"===t&&(To.forEach(function(t){var
 e=t.options.destroy;e&&e(r,{info:o,runtime:xo})}),delete Po[r]),i}return new 
 Error('invalid instance id "'+r+'"');var a}}function 
G(t,e){Fo[e]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=e[0],o=Po[r];return 
o&&No[o.framework]?(i=No[o.framework])[t].apply(i,e):new Error('invalid 
instance id "'+r+'"');var i}}function H(t,e){return void 
0===e&&(e=[]),{module:"dom",method:t,args:e}}function X(t,e){var 
n=e||global.callNative;return"function"!=typeof n&&console.error("[JS Runtime] 
no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var 
r=0;r<e.length;r++){var o=q(t,e[r],n);if(-1===o)return o}}}function 
V(t,e){return"dom"===t&&Jo[e]&&"function"==typeof global[Jo[e]]}function 
q(t,e,n){var r=e.module,o=e.method,i=e.args;return 
V(r,o)?global[Jo[o]].apply(global,[t].concat(i,["-1"])):n(t,[e],"-1")}function 
K(t,e){var n=e.attrs||{};for(var r in n)t.setAttr(r,n[r],!0);var 
o=e.style||{};for(var i in 
o)t.setStyle(i,o[i],!0)}Array.from||(Array.from=function(){var 
t=Object.prototype.toString,e=function(e){return"function"==typeof e||"[o
 bject Function]"===t.call(e)},n=function(t){var e=Number(t);return 
isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e},r=Math.pow(2,53)-1,o=function(t){var
 e=n(t);return Math.min(Math.max(e,0),r)};return function(t){var 
n=this,r=Object(t);if(null==t)throw new TypeError("Array.from requires an 
array-like object - not null or undefined");var 
i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!e(a))throw new 
TypeError("Array.from: when provided, the second argument must be a 
function");arguments.length>2&&(i=arguments[2])}for(var 
c,s=o(r.length),u=e(n)?Object(new n(s)):new 
Array(s),l=0;l<s;)c=r[l],u[l]=a?void 0===i?a(c,l):a.call(i,c,l):c,l+=1;return 
u.length=s,u}}());var $="undefined"!=typeof window?window:void 
0!==global?global:"undefined"!=typeof self?self:{},Q=t(function(t){var 
e=t.exports="undefined"!=typeof 
window&&window.Math==Math?window:"undefined"!=typeof 
self&&self.Math==Math?self:Function("return this")();"number"==typeof 
__g&&(__g=e)}),Y=t(function
 (t){var e=t.exports={version:"2.4.0"};"number"==typeof 
__e&&(__e=e)}),Z=function(t){return"object"==typeof 
t?null!==t:"function"==typeof t},tt=Z,et=function(t){if(!tt(t))throw 
TypeError(t+" is not an object!");return 
t},nt=function(t){try{return!!t()}catch(t){return!0}},rt=!nt(function(){return 
7!=Object.defineProperty({},"a",{get:function(){return 
7}}).a}),ot=Z,it=Q.document,at=ot(it)&&ot(it.createElement),ct=function(t){return
 at?it.createElement(t):{}},st=!rt&&!nt(function(){return 
7!=Object.defineProperty(ct("div"),"a",{get:function(){return 
7}}).a}),ut=Z,lt=et,ft=st,dt=function(t,e){if(!ut(t))return t;var 
n,r;if(e&&"function"==typeof(n=t.toString)&&!ut(r=n.call(t)))return 
r;if("function"==typeof(n=t.valueOf)&&!ut(r=n.call(t)))return 
r;if(!e&&"function"==typeof(n=t.toString)&&!ut(r=n.call(t)))return r;throw 
TypeError("Can't convert object to primitive 
value")},pt=Object.defineProperty,ht={f:rt?Object.defineProperty:function(t,e,n){if(lt(t),e=dt(e,!0),lt(n),ft)try{return
 pt(t,e,n
 )}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not 
supported!");return"value"in 
n&&(t[e]=n.value),t}},vt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},yt=ht,mt=vt,gt=rt?function(t,e,n){return
 yt.f(t,e,mt(1,n))}:function(t,e,n){return 
t[e]=n,t},bt={}.hasOwnProperty,_t=function(t,e){return 
bt.call(t,e)},Ot=0,St=Math.random(),Et=function(t){return"Symbol(".concat(void 
0===t?"":t,")_",(++Ot+St).toString(36))},wt=t(function(t){var 
e=Q,n=gt,r=_t,o=Et("src"),i=Function.toString,a=(""+i).split("toString");Y.inspectSource=function(t){return
 i.call(t)},(t.exports=function(t,i,c,s){var u="function"==typeof 
c;u&&(r(c,"name")||n(c,"name",i)),t[i]!==c&&(u&&(r(c,o)||n(c,o,t[i]?""+t[i]:a.join(String(i)))),t===e?t[i]=c:s?t[i]?t[i]=c:n(t,i,c):(delete
 
t[i],n(t,i,c)))})(Function.prototype,"toString",function(){return"function"==typeof
 this&&this[o]||i.call(this)})}),jt=function(t){if("function"!=typeof t)throw 
TypeError(t+" is not a function!");ret
 urn t},At=jt,It=function(t,e,n){if(At(t),void 0===e)return t;switch(n){case 
1:return function(n){return t.call(e,n)};case 2:return function(n,r){return 
t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return 
function(){return 
t.apply(e,arguments)}},Ct=Q,kt=Y,Nt=gt,xt=wt,Tt=It,Mt=function(t,e,n){var 
r,o,i,a,c=t&Mt.F,s=t&Mt.G,u=t&Mt.S,l=t&Mt.P,f=t&Mt.B,d=s?Ct:u?Ct[e]||(Ct[e]={}):(Ct[e]||{}).prototype,p=s?kt:kt[e]||(kt[e]={}),h=p.prototype||(p.prototype={});s&&(n=e);for(r
 in n)i=((o=!c&&d&&void 0!==d[r])?d:n)[r],a=f&&o?Tt(i,Ct):l&&"function"==typeof 
i?Tt(Function.call,i):i,d&&xt(d,r,i,t&Mt.U),p[r]!=i&&Nt(p,r,a),l&&h[r]!=i&&(h[r]=i)};Ct.core=kt,Mt.F=1,Mt.G=2,Mt.S=4,Mt.P=8,Mt.B=16,Mt.W=32,Mt.U=64,Mt.R=128;var
 Pt=Mt,Ft={}.toString,Rt=function(t){return 
Ft.call(t).slice(8,-1)},zt=Rt,Jt=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==zt(t)?t.split(""):Object(t)},Lt=function(t){if(void
 0==t)throw TypeError("Can't call method on  "+t);return t},Bt=Jt
 ,Dt=Lt,Ut=function(t){return 
Bt(Dt(t))},Wt=Math.ceil,Gt=Math.floor,Ht=function(t){return 
isNaN(t=+t)?0:(t>0?Gt:Wt)(t)},Xt=Ht,Vt=Math.min,qt=function(t){return 
t>0?Vt(Xt(t),9007199254740991):0},Kt=Ht,$t=Math.max,Qt=Math.min,Yt=Ut,Zt=qt,te=function(t,e){return(t=Kt(t))<0?$t(t+e,0):Qt(t,e)},ee=Q,ne=ee["__core-js_shared__"]||(ee["__core-js_shared__"]={}),re=function(t){return
 ne[t]||(ne[t]={})},oe=re("keys"),ie=Et,ae=function(t){return 
oe[t]||(oe[t]=ie(t))},ce=_t,se=Ut,ue=function(t){return function(e,n,r){var 
o,i=Yt(e),a=Zt(i.length),c=te(r,a);if(t&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else
 for(;a>c;c++)if((t||c in i)&&i[c]===n)return 
t||c||0;return!t&&-1}}(!1),le=ae("IE_PROTO"),fe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),de=function(t,e){var
 n,r=se(t),o=0,i=[];for(n in 
r)n!=le&&ce(r,n)&&i.push(n);for(;e.length>o;)ce(r,n=e[o++])&&(~ue(i,n)||i.push(n));return
 i},pe=fe,he=Object.keys||function(t){return de(t,pe)},ve=L
 t,ye=function(t){return 
Object(ve(t))},me=he,ge={f:Object.getOwnPropertySymbols},be={f:{}.propertyIsEnumerable},_e=ye,Oe=Jt,Se=Object.assign,Ee=!Se||nt(function(){var
 t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return 
t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=Se({},t)[n]||Object.keys(Se({},e)).join("")!=r})?function(t,e){for(var
 n=arguments,r=_e(t),o=arguments.length,i=1,a=ge.f,c=be.f;o>i;)for(var 
s,u=Oe(n[i++]),l=a?me(u).concat(a(u)):me(u),f=l.length,d=0;f>d;)c.call(u,s=l[d++])&&(r[s]=u[s]);return
 
r}:Se,we=Pt;we(we.S+we.F,"Object",{assign:Ee}),Object.setPrototypeOf||(Object.setPrototypeOf=function(t,e){function
 n(t,e){return r.call(t,e),t}var 
r;try{(r=t.getOwnPropertyDescriptor(t.prototype,"__proto__").set).call({},null)}catch(e){if(t.prototype!=={}.__proto__||void
 
0==={__proto__:null}.__proto__)return;r=function(t){this.__proto__=t},n.polyfill=n(n({},null),t.prototype)instanceof
 t}return n}(Object));var 
je=$.WXEnvironment;je&&"iOS"===je.platform&&($.Promise=void 0);var 
 Ae=t(function(t){var e=re("wks"),n=Et,r=Q.Symbol,o="function"==typeof 
r;(t.exports=function(t){return 
e[t]||(e[t]=o&&r[t]||(o?r:n)("Symbol."+t))}).store=e}),Ie=Rt,Ce=Ae("toStringTag"),ke="Arguments"==Ie(function(){return
 arguments}()),Ne=function(t,e){try{return t[e]}catch(t){}},xe=function(t){var 
e,n,r;return void 
0===t?"Undefined":null===t?"Null":"string"==typeof(n=Ne(e=Object(t),Ce))?n:ke?Ie(e):"Object"==(r=Ie(e))&&"function"==typeof
 e.callee?"Arguments":r},Te=xe,Me={};Me[Ae("toStringTag")]="z",Me+""!="[object 
z]"&&wt(Object.prototype,"toString",function(){return"[object 
"+Te(this)+"]"},!0);var 
Pe=Ht,Fe=Lt,Re={},ze=ht,Je=et,Le=he,Be=rt?Object.defineProperties:function(t,e){Je(t);for(var
 n,r=Le(e),o=r.length,i=0;o>i;)ze.f(t,n=r[i++],e[n]);return 
t},De=Q.document&&document.documentElement,Ue=et,We=Be,Ge=fe,He=ae("IE_PROTO"),Xe=function(){},Ve=function(){var
 
t,e=ct("iframe"),n=Ge.length;for(e.style.display="none",De.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).ope
 
n(),t.write("<script>document.F=Object<\/script>"),t.close(),Ve=t.F;n--;)delete 
Ve.prototype[Ge[n]];return Ve()},qe=Object.create||function(t,e){var n;return 
null!==t?(Xe.prototype=Ue(t),n=new Xe,Xe.prototype=null,n[He]=t):n=Ve(),void 
0===e?n:We(n,e)},Ke=ht.f,$e=_t,Qe=Ae("toStringTag"),Ye=function(t,e,n){t&&!$e(t=n?t:t.prototype,Qe)&&Ke(t,Qe,{configurable:!0,value:e})},Ze=qe,tn=vt,en=Ye,nn={};gt(nn,Ae("iterator"),function(){return
 this});var 
rn=_t,on=ye,an=ae("IE_PROTO"),cn=Object.prototype,sn=Object.getPrototypeOf||function(t){return
 t=on(t),rn(t,an)?t[an]:"function"==typeof t.constructor&&t instanceof 
t.constructor?t.constructor.prototype:t instanceof 
Object?cn:null},un=Pt,ln=wt,fn=gt,dn=_t,pn=Re,hn=function(t,e,n){t.prototype=Ze(nn,{next:tn(1,n)}),en(t,e+"
 
Iterator")},vn=Ye,yn=sn,mn=Ae("iterator"),gn=!([].keys&&"next"in[].keys()),bn=function(){return
 this},_n=function(t,e,n,r,o,i,a){hn(n,e,r);var c,s,u,l=function(t){if(!gn&&t 
in h)return h[t];switch(t){case"keys":case"values":ret
 urn function(){return new n(this,t)}}return function(){return new 
n(this,t)}},f=e+" 
Iterator",d="values"==o,p=!1,h=t.prototype,v=h[mn]||h["@@iterator"]||o&&h[o],y=v||l(o),m=o?d?l("entries"):y:void
 0,g="Array"==e?h.entries||v:v;if(g&&(u=yn(g.call(new 
t)))!==Object.prototype&&(vn(u,f,!0),dn(u,mn)||fn(u,mn,bn)),d&&v&&"values"!==v.name&&(p=!0,y=function(){return
 
v.call(this)}),(gn||p||!h[mn])&&fn(h,mn,y),pn[e]=y,pn[f]=bn,o)if(c={values:d?y:l("values"),keys:i?y:l("keys"),entries:m},a)for(s
 in c)s in h||ln(h,s,c[s]);else un(un.P+un.F*(gn||p),e,c);return 
c},On=function(t){return function(e,n){var 
r,o,i=String(Fe(e)),a=Pe(n),c=i.length;return a<0||a>=c?t?"":void 
0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):r:t?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}}(!0);_n(String,"String",function(t){this._t=String(t),this._i=0},function(){var
 t,e=this._t,n=this._i;return n>=e.length?{value:void 
0,done:!0}:(t=On(e,n),this._i+=t.length,{value:t,done:!
 1})});var Sn=Ae("unscopables"),En=Array.prototype;void 
0==En[Sn]&&gt(En,Sn,{});var 
wn=function(t){En[Sn][t]=!0},jn=function(t,e){return{value:e,done:!!t}},An=Re,In=Ut,Cn=_n(Array,"Array",function(t,e){this._t=In(t),this._i=0,this._k=e},function(){var
 t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 
0,jn(1)):"keys"==e?jn(0,n):"values"==e?jn(0,t[n]):jn(0,[n,t[n]])},"values");An.Arguments=An.Array,wn("keys"),wn("values"),wn("entries");for(var
 
kn=Cn,Nn=wt,xn=Q,Tn=gt,Mn=Re,Pn=Ae,Fn=Pn("iterator"),Rn=Pn("toStringTag"),zn=Mn.Array,Jn=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Ln=0;Ln<5;Ln++){var
 
Bn,Dn=Jn[Ln],Un=xn[Dn],Wn=Un&&Un.prototype;if(Wn){Wn[Fn]||Tn(Wn,Fn,zn),Wn[Rn]||Tn(Wn,Rn,Dn),Mn[Dn]=zn;for(Bn
 in kn)Wn[Bn]||Nn(Wn,Bn,kn[Bn],!0)}}var 
Gn,Hn,Xn,Vn=et,qn=function(t,e,n,r){try{return 
r?e(Vn(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 
0!==o&&Vn(o.call(t)),e}},Kn=Re,$n=Ae("iterator"),Qn=Array.prototype,Yn=function(t){return
 void 0!==t
 
&&(Kn.Array===t||Qn[$n]===t)},Zn=xe,tr=Ae("iterator"),er=Re,nr=Y.getIteratorMethod=function(t){if(void
 0!=t)return t[tr]||t["@@iterator"]||er[Zn(t)]},rr=t(function(t){var 
e=It,n=qn,r=Yn,o=et,i=qt,a=nr,c={},s={},u=t.exports=function(t,u,l,f,d){var 
p,h,v,y,m=d?function(){return t}:a(t),g=e(l,f,u?2:1),b=0;if("function"!=typeof 
m)throw TypeError(t+" is not 
iterable!");if(r(m)){for(p=i(t.length);p>b;b++)if((y=u?g(o(h=t[b])[0],h[1]):g(t[b]))===c||y===s)return
 y}else 
for(v=m.call(t);!(h=v.next()).done;)if((y=n(v,g,h.value,u))===c||y===s)return 
y};u.BREAK=c,u.RETURN=s}),or=et,ir=jt,ar=Ae("species"),cr=It,sr=function(t,e,n){var
 r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return 
r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 
3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return 
r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return 
t.apply(n,e)},ur=De,lr=ct,fr=Q,dr=fr.process,pr=fr.setImmediate,hr=fr.clearImmediate,vr
 =fr.MessageChannel,yr=0,mr={},gr=function(){var 
t=+this;if(mr.hasOwnProperty(t)){var e=mr[t];delete 
mr[t],e()}},br=function(t){gr.call(t.data)};pr&&hr||(pr=function(t){for(var 
e=arguments,n=[],r=1;arguments.length>r;)n.push(e[r++]);return 
mr[++yr]=function(){sr("function"==typeof 
t?t:Function(t),n)},Gn(yr),yr},hr=function(t){delete 
mr[t]},"process"==Rt(dr)?Gn=function(t){dr.nextTick(cr(gr,t,1))}:vr?(Xn=(Hn=new 
vr).port2,Hn.port1.onmessage=br,Gn=cr(Xn.postMessage,Xn,1)):fr.addEventListener&&"function"==typeof
 
postMessage&&!fr.importScripts?(Gn=function(t){fr.postMessage(t+"","*")},fr.addEventListener("message",br,!1)):Gn="onreadystatechange"in
 
lr("script")?function(t){ur.appendChild(lr("script")).onreadystatechange=function(){ur.removeChild(this),gr.call(t)}}:function(t){setTimeout(cr(gr,t,1),0)});var
 
_r={set:pr,clear:hr},Or=Q,Sr=_r.set,Er=Or.MutationObserver||Or.WebKitMutationObserver,wr=Or.process,jr=Or.Promise,Ar="process"==Rt(wr),Ir=wt,Cr=Q,kr=ht,Nr=rt,xr=Ae("species"),Tr=Ae("ite
 rator"),Mr=!1;try{var 
Pr=[7][Tr]();Pr.return=function(){Mr=!0},Array.from(Pr,function(){throw 
2})}catch(t){}var 
Fr,Rr,zr,Jr=Q,Lr=It,Br=xe,Dr=Pt,Ur=Z,Wr=jt,Gr=function(t,e,n,r){if(!(t 
instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect 
invocation!");return t},Hr=rr,Xr=function(t,e){var n,r=or(t).constructor;return 
void 0===r||void 0==(n=or(r)[ar])?e:ir(n)},Vr=_r.set,qr=function(){var 
t,e,n,r=function(){var 
r,o;for(Ar&&(r=wr.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw 
t?n():e=void 0,r}}e=void 
0,r&&r.enter()};if(Ar)n=function(){wr.nextTick(r)};else if(Er){var 
o=!0,i=document.createTextNode("");new 
Er(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else 
if(jr&&jr.resolve){var a=jr.resolve();n=function(){a.then(r)}}else 
n=function(){Sr.call(Or,r)};return function(r){var o={fn:r,next:void 
0};e&&(e.next=o),t||(t=o,n()),e=o}}(),Kr=Jr.TypeError,$r=Jr.process,Qr=Jr.Promise,Yr="process"==Br($r=Jr.process),Zr=function(){},to=!!function(){try{var
 t=Qr.res
 
olve(1),e=(t.constructor={})[Ae("species")]=function(t){t(Zr,Zr)};return(Yr||"function"==typeof
 PromiseRejectionEvent)&&t.then(Zr)instanceof 
e}catch(t){}}(),eo=function(t,e){return 
t===e||t===Qr&&e===zr},no=function(t){var 
e;return!(!Ur(t)||"function"!=typeof(e=t.then))&&e},ro=function(t){return 
eo(Qr,t)?new oo(t):new Rr(t)},oo=Rr=function(t){var e,n;this.promise=new 
t(function(t,r){if(void 0!==e||void 0!==n)throw Kr("Bad Promise 
constructor");e=t,n=r}),this.resolve=Wr(e),this.reject=Wr(n)},io=function(t){try{t()}catch(t){return{error:t}}},ao=function(t,e){if(!t._n){t._n=!0;var
 n=t._c;qr(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var 
n,i,a=o?e.ok:e.fail,c=e.resolve,s=e.reject,u=e.domain;try{a?(o||(2==t._h&&uo(t),t._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&u.exit()),n===e.promise?s(Kr("Promise-chain
 
cycle")):(i=no(n))?i.call(n,c,s):c(n)):s(r)}catch(t){s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&co(t)})}},co=function(t){Vr.call(Jr,function(){var
 e,n,r,o=t._v;if(so(t)
 
&&(e=io(function(){Yr?$r.emit("unhandledRejection",o,t):(n=Jr.onunhandledrejection)?n({promise:t,reason:o}):(r=Jr.console)&&r.error&&r.error("Unhandled
 promise rejection",o)}),t._h=Yr||so(t)?2:1),t._a=void 0,e)throw 
e.error})},so=function(t){if(1==t._h)return!1;for(var 
e,n=t._a||t._c,r=0;n.length>r;)if((e=n[r++]).fail||!so(e.promise))return!1;return!0},uo=function(t){Vr.call(Jr,function(){var
 
e;Yr?$r.emit("rejectionHandled",t):(e=Jr.onrejectionhandled)&&e({promise:t,reason:t._v})})},lo=function(t){var
 
e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),ao(e,!0))},fo=function(t){var
 e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw Kr("Promise can't be 
resolved itself");(e=no(t))?qr(function(){var 
r={_w:n,_d:!1};try{e.call(t,Lr(fo,r,1),Lr(lo,r,1))}catch(t){lo.call(r,t)}}):(n._v=t,n._s=1,ao(n,!1))}catch(t){lo.call({_w:n,_d:!1},t)}}};to||(Qr=function(t){Gr(this,Qr,"Promise","_h"),Wr(t),Fr.call(this);try{t(Lr(fo,this,1),Lr(lo,this,1))}catch(t){lo.call(this,t)}}
 ,(Fr=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 
0,this._h=0,this._n=!1}).prototype=function(t,e,n){for(var r in 
e)Ir(t,r,e[r],n);return t}(Qr.prototype,{then:function(t,e){var 
n=ro(Xr(this,Qr));return n.ok="function"!=typeof t||t,n.fail="function"==typeof 
e&&e,n.domain=Yr?$r.domain:void 
0,this._c.push(n),this._a&&this._a.push(n),this._s&&ao(this,!1),n.promise},catch:function(t){return
 this.then(void 0,t)}}),oo=function(){var t=new 
Fr;this.promise=t,this.resolve=Lr(fo,t,1),this.reject=Lr(lo,t,1)}),Dr(Dr.G+Dr.W+Dr.F*!to,{Promise:Qr}),Ye(Qr,"Promise"),function(t){var
 e=Cr[t];Nr&&e&&!e[xr]&&kr.f(e,xr,{configurable:!0,get:function(){return 
this}})}("Promise"),zr=Y.Promise,Dr(Dr.S+Dr.F*!to,"Promise",{reject:function(t){var
 
e=ro(this);return(0,e.reject)(t),e.promise}}),Dr(Dr.S+Dr.F*!to,"Promise",{resolve:function(t){if(t
 instanceof Qr&&eo(t.constructor,this))return t;var 
e=ro(this);return(0,e.resolve)(t),e.promise}}),Dr(Dr.S+Dr.F*!(to&&function(t,e){if(!e&&!Mr)
 return!1;var n=!1;try{var 
r=[7],o=r[Tr]();o.next=function(){return{done:n=!0}},r[Tr]=function(){return 
o},t(r)}catch(t){}return 
n}(function(t){Qr.all(t).catch(Zr)})),"Promise",{all:function(t){var 
e=this,n=ro(e),r=n.resolve,o=n.reject,i=io(function(){var 
n=[],i=0,a=1;Hr(t,!1,function(t){var c=i++,s=!1;n.push(void 
0),a++,e.resolve(t).then(function(t){s||(s=!0,n[c]=t,--a||r(n))},o)}),--a||r(n)});return
 i&&o(i.error),n.promise},race:function(t){var 
e=this,n=ro(e),r=n.reject,o=io(function(){Hr(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return
 o&&r(o.error),n.promise}});var 
po=["off","error","warn","info","log","debug"],ho={},vo=global.console,yo=global.setTimeout,mo=global.setTimeoutNative;o();var
 
go=1,bo=function(t){this.instanceId=t,this.lastCallbackId=0,this.callbacks={}};bo.prototype.add=function(t){return
 
this.lastCallbackId++,this.callbacks[this.lastCallbackId]=t,this.lastCallbackId},bo.prototype.remove=function(t){var
 e=this.callbacks[t];return delete this.callbacks[t],e
 },bo.prototype.consume=function(t,e,n){var r=this.callbacks[t];return void 
0!==n&&!1!==n||delete this.callbacks[t],"function"==typeof r?r(h(e)):new 
Error('invalid callback id 
"'+t+'"')},bo.prototype.close=function(){this.callbacks={}};var 
_o={},Oo=function(){this.nodeId=u(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null};Oo.prototype.destroy=function(){var
 t=y(this.docId);t&&(delete this.docId,delete 
t.nodeMap[this.nodeId]),this.children.forEach(function(t){t.destroy()})};var 
So,Eo={},wo=/\[\[((?:.|\n)+?)\]\]/g,jo="div",Ao=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","verticalpan","swipe"],Io=function(t){function
 e(e,n,r){void 0===e&&(e=jo),t.call(this);var o=k(e);if(o&&!r)return new 
o(n);n=n||{},this.nodeType=1,this.nodeId=u(),this.ref=this.nodeId,this.type=e,this.attr=n.attr||{},this.style=n.style||{},this.classStyle=n.classStyle||{},this.event
 ={},this.children=[],this.pureChildren=[]}return 
t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.appendChild=function(t){if(!t.parentNode||t.parentNode===this)if(t.parentNode){if(A(t,this.children,this.children.length,!0),1===t.nodeType){var
 
e=A(t,this.pureChildren,this.pureChildren.length),n=g(this.docId);if(n&&e>=0)return
 n.send("dom",{action:"moveElement"},[t.ref,this.ref,e])}}else 
if(S(t,this),j(t,this.children,this.children.length,!0),this.docId&&M(this.docId,t),1===t.nodeType){j(t,this.pureChildren,this.pureChildren.length);var
 r=g(this.docId);if(r)return 
r.send("dom",{action:"addElement"},[this.ref,t.toJSON(),-1])}},e.prototype.insertBefore=function(t,e){if(!(t.parentNode&&t.parentNode!==this||t===e||t.nextSibling&&t.nextSibling===e))if(t.parentNode){if(A(t,this.children,this.children.indexOf(e),!0),1===t.nodeType){var
 
n=E(e),r=A(t,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=g(this.docId);if(o
 &&r>=0)return o.send("dom",{action:"moveElement"},[t.ref,this.ref,r])}}else 
if(S(t,this),j(t,this.children,this.children.indexOf(e),!0),this.docId&&M(this.docId,t),1===t.nodeType){var
 
i=E(e),a=j(t,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),c=g(this.docId);if(c)return
 
c.send("dom",{action:"addElement"},[this.ref,t.toJSON(),a])}},e.prototype.insertAfter=function(t,e){if(!(t.parentNode&&t.parentNode!==this||t===e||t.previousSibling&&t.previousSibling===e))if(t.parentNode){if(A(t,this.children,this.children.indexOf(e)+1,!0),1===t.nodeType){var
 
n=A(t,this.pureChildren,this.pureChildren.indexOf(w(e))+1),r=g(this.docId);if(r&&n>=0)return
 r.send("dom",{action:"moveElement"},[t.ref,this.ref,n])}}else 
if(S(t,this),j(t,this.children,this.children.indexOf(e)+1,!0),this.docId&&M(this.docId,t),1===t.nodeType){var
 
o=j(t,this.pureChildren,this.pureChildren.indexOf(w(e))+1),i=g(this.docId);if(i)return
 i.send("dom",{action:"addElement"},[this.ref,t.toJSON(),o])}},e.pro
 
totype.removeChild=function(t,e){if(t.parentNode&&(I(t,this.children,!0),1===t.nodeType)){I(t,this.pureChildren);var
 
n=g(this.docId);n&&n.send("dom",{action:"removeElement"},[t.ref])}e||t.destroy()},e.prototype.clear=function(){var
 
t=g(this.docId);t&&this.pureChildren.forEach(function(e){t.send("dom",{action:"removeElement"},[e.ref])}),this.children.forEach(function(t){t.destroy()}),this.children.length=0,this.pureChildren.length=0},e.prototype.setAttr=function(t,e,n){if(this.attr[t]!==e||!1===n){this.attr[t]=e;var
 r=g(this.docId);if(!n&&r){var 
o={};o[t]=T(e),r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},e.prototype.setStyle=function(t,e,n){if(this.style[t]!==e||!1===n){this.style[t]=e;var
 r=g(this.docId);if(!n&&r){var 
o={};o[t]=e,r.send("dom",{action:"updateStyle"},[this.ref,o])}}},e.prototype.setClassStyle=function(t){var
 e=this;for(var n in 
this.classStyle)e.classStyle[n]="";Object.assign(this.classStyle,t);var 
r=g(this.docId);r&&r.send("dom",{action:"updateStyle"},[this.r
 
ef,this.toStyle()])},e.prototype.addEvent=function(t,e){if(!this.event[t]){this.event[t]=e;var
 
n=g(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,t])}},e.prototype.removeEvent=function(t){if(this.event[t]){delete
 this.event[t];var 
e=g(this.docId);e&&e.send("dom",{action:"removeEvent"},[this.ref,t])}},e.prototype.fireEvent=function(t,e,n){var
 r=null,o=!1,i=this.event[t];return 
i&&e&&(e.stopPropagation=function(){o=!0},r=i.call(this,e)),!o&&n&&Ao.includes(t)&&this.parentNode&&this.parentNode.fireEvent&&(e.currentTarget=this.parentNode,this.parentNode.fireEvent(t,e,n)),r},e.prototype.toStyle=function(){return
 
Object.assign({},this.classStyle,this.style)},e.prototype.toJSON=function(){var 
t={ref:this.ref.toString(),type:this.type,attr:T(this.attr),style:this.toStyle()},e=Object.keys(this.event);return
 
e.length&&(t.event=e),this.pureChildren.length&&(t.children=this.pureChildren.map(function(t){return
 t.toJSON()})),t},e.prototype.toString=function(){return"<"+this.type+" attr=
 "+JSON.stringify(this.attr)+" 
style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(t){return
 t.toString()}).join("")+"</"+this.type+">"},e}(Oo);!function(t){So=t}(Io);var 
Co=function(){},ko=function(t,e){Object.defineProperty(this,"instanceId",{enumerable:!0,value:t}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new
 bo(t)}),Co=e||function(){}};ko.prototype.callback=function(t,e,n){return 
this.callbackManager.consume(t,e,n)},ko.prototype.destroyCallback=function(){return
 this.callbackManager.close()},ko.prototype.normalize=function(t){var 
e=l(t);return t instanceof Io?t.ref:t._isVue&&t.$el instanceof 
Io?t.$el.ref:"Function"===e?this.callbackManager.add(t).toString():p(t)},ko.prototype.send=function(t,e,n,r){var
 
o=this,i=e.action,a=e.component,c=e.ref,s=e.module,u=e.method;switch(n=n.map(function(t){return
 o.normalize(t)}),t){case"dom":return 
this[i](this.instanceId,n);case"component":return 
this.componentHandler(this.instanceId,c,u,n,Object.a
 ssign({component:a},r));default:return 
this.moduleHandler(this.instanceId,s,u,n,r)}},ko.prototype.callDOM=function(t,e){return
 
this[t](this.instanceId,e)},ko.prototype.callComponent=function(t,e,n,r){return 
this.componentHandler(this.instanceId,t,e,n,r)},ko.prototype.callModule=function(t,e,n,r){return
 this.moduleHandler(this.instanceId,t,e,n,r)};var No,xo,To=[],Mo=/^\s*\/\/ 
*(\{[^}]*\}) *\r?\n/,Po={},Fo={createInstance:function(t,e,n,r){var 
o=Po[t];if(!o){o=L(e)||{},No[o.framework]||(o.framework="Weex"),(n=JSON.parse(JSON.stringify(n||{}))).bundleVersion=o.version,n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),console.debug("[JS
 Framework] create an "+o.framework+"@"+n.bundleVersion+" instance from 
"+n.bundleVersion);var 
i={info:o,config:n,created:Date.now(),framework:o.framework};return 
i.services=B(t,i,xo),Po[t]=i,No[o.framework].createInstance(t,e,n,r,i)}return 
new Error('invalid instance id 
"'+t+'"')},registerService:F,unregisterService:R},Ro=function(t){function e(
 
e){t.call(this),this.nodeType=8,this.nodeId=u(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return
 
t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return"\x3c!--
 "+this.value+" 
--\x3e"},e}(Oo),zo=function(t,e){this.id=t,this.batched=!1,this.updates=[],"function"==typeof
 
e?Object.defineProperty(this,"handler",{configurable:!0,enumerable:!0,writable:!0,value:e}):console.error("[JS
 Runtime] invalid parameter, handler must be a 
function")};zo.prototype.createFinish=function(t){return(0,this.handler)([H("createFinish")],t)},zo.prototype.updateFinish=function(t){return(0,this.handler)([H("updateFinish")],t)},zo.prototype.refreshFinish=function(t){return(0,this.handler)([H("refreshFinish")],t)},zo.prototype.createBody=function(t){var
 e=t.toJSON(),n=e.children;delete e.children;var r=[H("createBody",[e])];return 
n&&r.push.apply(r,n.map(function(t){return H("addElement",[e.r
 
ef,t,-1])})),this.addActions(r)},zo.prototype.addElement=function(t,e,n){return 
n>=0||(n=-1),this.addActions(H("addElement",[e,t.toJSON(),n]))},zo.prototype.removeElement=function(t){if(Array.isArray(t)){var
 e=t.map(function(t){return H("removeElement",[t])});return 
this.addActions(e)}return 
this.addActions(H("removeElement",[t]))},zo.prototype.moveElement=function(t,e,n){return
 
this.addActions(H("moveElement",[t,e,n]))},zo.prototype.setAttr=function(t,e,n){var
 r={};return 
r[e]=n,this.addActions(H("updateAttrs",[t,r]))},zo.prototype.setStyle=function(t,e,n){var
 r={};return 
r[e]=n,this.addActions(H("updateStyle",[t,r]))},zo.prototype.setStyles=function(t,e){return
 
this.addActions(H("updateStyle",[t,e]))},zo.prototype.addEvent=function(t,e){return
 
this.addActions(H("addEvent",[t,e]))},zo.prototype.removeEvent=function(t,e){return
 
this.addActions(H("removeEvent",[t,e]))},zo.prototype.handler=function(t,e){return
 e&&e()},zo.prototype.addActions=function(t){var e=this.updates,n=this.hand
 ler;if(Array.isArray(t)||(t=[t]),!this.batched)return 
n(t);e.push.apply(e,t)};var 
Jo={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"},Lo=function
 
t(e,n,r){e=e?e.toString():"",this.id=e,this.URL=n,v(e,this),this.nodeMap={};var 
o=t.Listener||zo;this.listener=new o(e,r||X(e,t.handler)),this.taskCenter=new 
ko(e,r?function(t){for(var e=[],n=arguments.length-1;n-- 
>0;)e[n]=arguments[n+1];return r.apply(void 
0,e)}:t.handler),this.createDocumentElement()};Lo.prototype.getRef=function(t){return
 
this.nodeMap[t]},Lo.prototype.open=function(){this.listener.batched=!1},Lo.prototype.close=function(){this.listener.batched=!0},Lo.prototype.createDocumentElement=function(){var
 t=this;if(!this.documentElement){var e=new 
Io("document");e.docId=this.id,e.ownerDocument=this,e.role="documentElement",e.depth=0,e.ref="_doc
 
umentElement",this.nodeMap._documentElement=e,this.documentElement=e,Object.defineProperty(e,"appendChild",{configurable:!0,enumerable:!0,writable:!0,value:function(e){b(t,e)}}),Object.defineProperty(e,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(e,n){b(t,e,n)}})}return
 this.documentElement},Lo.prototype.createBody=function(t,e){return 
this.body||O(this,new 
Io(t,e)),this.body},Lo.prototype.createElement=function(t,e){return new 
Io(t,e)},Lo.prototype.createComment=function(t){return new 
Ro(t)},Lo.prototype.fireEvent=function(t,e,n,r){if(t){(n=n||{}).type=e,n.target=t,n.currentTarget=t,n.timestamp=Date.now(),r&&K(t,r);var
 o="true"===this.getRef("_root").attr.bubble;return 
t.fireEvent(e,n,o)}},Lo.prototype.destroy=function(){this.taskCenter.destroyCallback(),delete
 this.listener,delete this.nodeMap,delete 
this.taskCenter,m(this.id)},Lo.handler=null;var 
Bo={Document:Lo,Element:Io,Comment:Ro,Listener:zo,TaskCenter:ko,sendTasks:function(){for(var
 t=[],e=argumen
 ts.length;e--;)t[e]=arguments[e];return"function"==typeof 
callNative?callNative.apply(void 
0,t):(global.callNative||function(){}).apply(void 0,t)}};return 
Lo.handler=Bo.sendTasks,{setNativeConsole:function(){if(e(),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("debug")&&global.nativeLog.apply(global,r(t).concat(["__DEBUG"]))},log:function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("log")&&global.nativeLog.apply(global,r(t).concat(["__LOG"]))},info:function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("info")&&global.nativeLog.apply(global,r(t).concat(["__INFO"]))},warn:function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("warn")&&global.nativeLog.apply(global,r(t).concat(["__WARN"]))},error:function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("error")&&global.nativeLog.apply(global,r(t).concat(["__ERROR"]))}};else{var
 t=c
 
onsole.debug,o=console.log,i=console.info,a=console.warn,c=console.error;console.__ori__={debug:t,log:o,info:i,warn:a,error:c},console.debug=function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("debug")&&console.__ori__.debug.apply(console,t)},console.log=function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("log")&&console.__ori__.log.apply(console,t)},console.info=function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("info")&&console.__ori__.info.apply(console,t)},console.warn=function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("warn")&&console.__ori__.warn.apply(console,t)},console.error=function(){for(var
 
t=[],e=arguments.length;e--;)t[e]=arguments[e];n("error")&&console.__ori__.error.apply(console,t)}}},resetNativeConsole:function(){ho={},global.console=vo},setNativeTimer:o,resetNativeTimer:function(){global.setTimeout=yo,global.setTimeoutCallback=null},service:{register:F,unregister:R,has:z},freezePrototype:function(){
 
i(),Object.freeze(Bo.Element),Object.freeze(Bo.Comment),Object.freeze(Bo.Listener),Object.freeze(Bo.Document.prototype),Object.freeze(Bo.Element.prototype),Object.freeze(Bo.Comment.prototype),Object.freeze(Bo.Listener.prototype)},init:function(t){No=(xo=t||{}).frameworks||{},P();for(var
 e in 
No)No[e].init(t);return["registerComponents","registerModules","registerMethods"].forEach(D),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(W),G("receiveTasks","callJS"),Fo},config:Bo}});
-=======
-this.getJSFMVersion=function(){return"0.21.8"};var 
global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof
 exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof 
define&&define.amd?define(t):e.WeexRuntime=t()}(this,function(){"use 
strict";function e(e,t){return t={exports:{}},e(t,t.exports),t.exports}function 
t(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw 
TypeError("Bad Promise 
constructor");t=e,n=r}),this.resolve=Pr(t),this.reject=Pr(n)}function 
n(){wo.forEach(function(e){var 
t=wo.indexOf(e);jo[e]={},wo.forEach(function(n){wo.indexOf(n)<=t&&(jo[e][n]=!0)})})}function
 r(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return 
jo[t]&&jo[t][e]}function o(e){return e.map(function(e){return e="[object 
object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function
 i(){if(void 0===setTimeout&&"function"==typeof Io){var 
e={},t=0;global.setTimeout=function
 
(n,r){e[++t]=n,Io(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof
 e[t]&&(e[t](),delete e[t])}}}function 
a(){Object.freeze(Object),Object.freeze(Array),c(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),s(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function
 c(){var 
e=Object.prototype,t="Object.prototype";u(e,"__defineGetter__",t),u(e,"__defineSetter__",t),u(e,"__lookupGetter__",t),u(e,"__lookupSetter__",t),u(e,"constructor",t),u(e,"hasOwnProperty",t),u(e,"isPrototypeOf",t),u(e,"propertyIsEnumerable",t),u(e,"toLocaleString",t),u(e,"toString",t),u(e,"valueOf",t),Object.seal(e)}function
 s(){var 
e=Error.prototype,t="Error.prototype";u(e,"name",t),u(e,"message",t),u(e,"toString",t),u(e,"constructor",t),Object.seal(e)}function
 u(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("Can
 not assign to read only property "+t+" of "+n);return 
Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function l(e){var 
t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function 
f(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 d(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}function
 h(e){var 
t=l(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return 
e.toString();case"Date":return 
e.toISOString();case"Number":case"String":case"Boolean":return 
e;case"Array":return e.map(h);case"Object":var n={};for(var r in 
e)n[r]=h(e[r]);return 
n;case"ArrayBuffer":return{"@type":"binary",dataType:t,base64:f(e)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"In
 
t32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:t,base64:f(e.buffer)};default:return
 JSON.stringify(e)}}function 
p(e){if("Object"===l(e)){if(e["@type"]&&"binary"===e["@type"])return 
d(e.base64||"");var t={};for(var n in e)t[n]=p(e[n]);return 
t}return"Array"===l(e)?e.map(p):e}function v(e,t){e&&(To[e]=t)}function 
y(e){return To[e]}function m(e){delete To[e]}function g(e){var t=To[e];return 
t&&t.taskCenter?t.taskCenter:null}function b(){return(No++).toString()}function 
_(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,E(t,r)):(t.children.forEach(function(e){e.parentNode=t}),O(e,t),t.docId=e.id,t.ownerDocument=e,E(t,r),delete
 
e.nodeMap[t.nodeId]),r.pureChildren.push(t),S(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function
 S(e,t){var n=t.toJSON(),r=n.children;delete n.ch
 ildren;var o=e.taskCenter.send("dom",{action:"createBody"},[n]);return 
r&&r.forEach(function(t){o=e.taskCenter.send("dom",{action:"addElement"},[n.ref,t,-1])}),o}function
 O(e,t){t.role="body",t.depth=1,delete 
e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function 
E(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){E(t,e)})}function
 w(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function 
j(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function 
A(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
 C(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
 c=n;o<=n&&(c=n-1);var s=t[c-1],u=t[c];return 
t.splice(c,0,e),r&&(s&&(s.nextSibling=e),e.previou
 sSibling=s,e.nextSibling=u,u&&(u.previousSibling=e)),o===c?-1:n}function 
I(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)}}function
 
k(){this.nodeId=b(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function
 T(e,t){if(t&&t.length){var 
n=function(t){xo.call(this,e,t,!0)};n.prototype=Object.create(xo.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:!1,value:xo}),t.forEach(function(t){n.prototype[t]=function(){for(var
 n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=g(this.docId);if(o)return 
o.send("component",{ref:this.ref,component:e,method:t},n)}}),Mo[e]=n}}function 
N(e,t,n){void 0===e&&(e=Po);var r=Mo[e];if(r&&!n)return new 
r(t);t=t||{},this.nodeType=1,this.nodeId=b(),this.ref=this.nodeId,this.type=e,this.attr=t.attr||{},this.style=t.style||{},this.classStyle=t.classStyle|
 |{},this.event={},this.children=[],this.pureChildren=[]}function 
x(e,t){y(e).nodeMap[t.nodeId]=t}function M(){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=Ro.prototype;for(var
 n in e)!function(n){var r=e[n];t[n]=r?function(e,t){return r.apply(void 
0,[e].concat(t))}:function(e,t){return 
Fo(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return
 
Fo(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return
 Fo(e,[{module:t,method:n,args:r}])}}function P(e,t){F(e)?console.warn('Service 
"'+e+'" has been registered already
 !'):(t=Object.assign({},t),Jo.push({name:e,options:t}))}function 
L(e){Jo.some(function(t,n){if(t.name===e)return Jo.splice(n,1),!0})}function 
F(e){return R(e)>=0}function R(e){return Jo.map(function(e){return 
e.name}).indexOf(e)}function D(e){var 
t,n=Bo.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function 
z(e,t,n){var r=Object.create(null);return 
r.service=Object.create(null),Jo.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}function 
J(e){Wo[e]=function(){for(var 
t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var
 r in Do){var o=Do[r];o&&o[e]&&o[e].apply(o,t)}}}function 
B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&T(e.type,e.methods)})}function
 U(e){Wo[e]=function(){for(var 
t=[],n=arguments.length;n--;)t[n]=arguments[n];var 
r=t[0],o=Uo[r];if(o&&Do[o.framework]){var i=(a=Do[o.framew
 ork])[e].apply(a,t);return"refreshInstance"===e?Jo.forEach(function(e){var 
t=e.options.refresh;t&&t(r,{info:o,runtime:zo})}):"destroyInstance"===e&&(Jo.forEach(function(e){var
 t=e.options.destroy;t&&t(r,{info:o,runtime:zo})}),delete Uo[r]),i}return new 
Error('invalid instance id "'+r+'"');var a}}function 
W(e,t){Wo[t]=function(){for(var 
t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Uo[r];return 
o&&Do[o.framework]?(i=Do[o.framework])[e].apply(i,t):new Error('invalid 
instance id "'+r+'"');var i}}function 
G(e){this.nodeType=8,this.nodeId=b(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function
 V(e,t){this.id=e,this.batched=!1,this.updates=[],"function"==typeof 
t?Object.defineProperty(this,"handler",{configurable:!0,enumerable:!0,writable:!0,value:t}):console.error("[JS
 Runtime] invalid parameter, handler must be a function")}function 
H(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function 
X(e,t){var n=t||glob
 al.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=K(e,t[r],n);if(-1===o)return o}}}function 
q(e,t){return"dom"===e&&Go[t]&&"function"==typeof global[Go[t]]}function 
K(e,t,n){var r=t.module,o=t.method,i=t.args;return 
q(r,o)?global[Go[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function 
$(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,v(e,this),this.nodeMap={};var 
r=$.Listener||V;this.listener=new r(e,n||X(e,$.handler)),this.taskCenter=new 
Ro(e,n?function(e){for(var t=[],r=arguments.length-1;r-- 
>0;)t[r]=arguments[r+1];return n.apply(void 
0,t)}:$.handler),this.createDocumentElement()}function Q(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)}Array.from||(Array.from=function(){var 
e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object 
Function]"===e.call(t)},n=function(e){var 
 t=Number(e);return 
isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},r=Math.pow(2,53)-1,o=function(e){var
 t=n(e);return Math.min(Math.max(t,0),r)};return function(e){var 
n=this,r=Object(e);if(null==e)throw new TypeError("Array.from requires an 
array-like object - not null or undefined");var 
i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new 
TypeError("Array.from: when provided, the second argument must be a 
function");arguments.length>2&&(i=arguments[2])}for(var 
c,s=o(r.length),u=t(n)?Object(new n(s)):new 
Array(s),l=0;l<s;)c=r[l],u[l]=a?void 0===i?a(c,l):a.call(i,c,l):c,l+=1;return 
u.length=s,u}}());var Y="undefined"!=typeof window?window:void 
0!==global?global:"undefined"!=typeof self?self:{},Z=e(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)}),ee=e(function(e){var t=e.exports={version:"2.5.0"};"number"=
 =typeof __e&&(__e=t)}),te=function(e){return"object"==typeof 
e?null!==e:"function"==typeof e},ne=te,re=function(e){if(!ne(e))throw 
TypeError(e+" is not an object!");return 
e},oe=function(e){try{return!!e()}catch(e){return!0}},ie=!oe(function(){return 
7!=Object.defineProperty({},"a",{get:function(){return 
7}}).a}),ae=te,ce=Z.document,se=ae(ce)&&ae(ce.createElement),ue=function(e){return
 se?ce.createElement(e):{}},le=!ie&&!oe(function(){return 
7!=Object.defineProperty(ue("div"),"a",{get:function(){return 
7}}).a}),fe=te,de=re,he=le,pe=function(e,t){if(!fe(e))return e;var 
n,r;if(t&&"function"==typeof(n=e.toString)&&!fe(r=n.call(e)))return 
r;if("function"==typeof(n=e.valueOf)&&!fe(r=n.call(e)))return 
r;if(!t&&"function"==typeof(n=e.toString)&&!fe(r=n.call(e)))return r;throw 
TypeError("Can't convert object to primitive 
value")},ve=Object.defineProperty,ye={f:ie?Object.defineProperty:function(e,t,n){if(de(e),t=pe(t,!0),de(n),he)try{return
 ve(e,t,n)}catch(e){}if("get"in n||"set"in n)throw T
 ypeError("Accessors not supported!");return"value"in 
n&&(e[t]=n.value),e}},me=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ge=ye,be=me,_e=ie?function(e,t,n){return
 ge.f(e,t,be(1,n))}:function(e,t,n){return 
e[t]=n,e},Se={}.hasOwnProperty,Oe=function(e,t){return 
Se.call(e,t)},Ee=0,we=Math.random(),je=function(e){return"Symbol(".concat(void 
0===e?"":e,")_",(++Ee+we).toString(36))},Ae=e(function(e){var 
t=Z,n=_e,r=Oe,o=je("src"),i=Function.toString,a=(""+i).split("toString");ee.inspectSource=function(e){return
 i.call(e)},(e.exports=function(e,i,c,s){var u="function"==typeof 
c;u&&(r(c,"name")||n(c,"name",i)),e[i]!==c&&(u&&(r(c,o)||n(c,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=c:s?e[i]?e[i]=c:n(e,i,c):(delete
 
e[i],n(e,i,c)))})(Function.prototype,"toString",function(){return"function"==typeof
 this&&this[o]||i.call(this)})}),Ce=function(e){if("function"!=typeof e)throw 
TypeError(e+" is not a function!");return e},Ie=Ce,ke=function(e,t,n){if(Ie(e),v
 oid 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)}},Te=Z,Ne=ee,xe=_e,Me=Ae,Pe=ke,Le=function(e,t,n){var 
r,o,i,a,c=e&Le.F,s=e&Le.G,u=e&Le.S,l=e&Le.P,f=e&Le.B,d=s?Te:u?Te[t]||(Te[t]={}):(Te[t]||{}).prototype,h=s?Ne:Ne[t]||(Ne[t]={}),p=h.prototype||(h.prototype={});s&&(n=t);for(r
 in n)i=((o=!c&&d&&void 0!==d[r])?d:n)[r],a=f&&o?Pe(i,Te):l&&"function"==typeof 
i?Pe(Function.call,i):i,d&&Me(d,r,i,e&Le.U),h[r]!=i&&xe(h,r,a),l&&p[r]!=i&&(p[r]=i)};Te.core=Ne,Le.F=1,Le.G=2,Le.S=4,Le.P=8,Le.B=16,Le.W=32,Le.U=64,Le.R=128;var
 Fe=Le,Re={}.toString,De=function(e){return 
Re.call(e).slice(8,-1)},ze=De,Je=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==ze(e)?e.split(""):Object(e)},Be=function(e){if(void
 0==e)throw TypeError("Can't call method on  "+e);return 
e},Ue=Je,We=Be,Ge=function(e){return Ue(We(e))},V
 e=Math.ceil,He=Math.floor,Xe=function(e){return 
isNaN(e=+e)?0:(e>0?He:Ve)(e)},qe=Xe,Ke=Math.min,$e=function(e){return 
e>0?Ke(qe(e),9007199254740991):0},Qe=Xe,Ye=Math.max,Ze=Math.min,et=Ge,tt=$e,nt=function(e,t){return(e=Qe(e))<0?Ye(e+t,0):Ze(e,t)},rt=Z,ot=rt["__core-js_shared__"]||(rt["__core-js_shared__"]={}),it=function(e){return
 ot[e]||(ot[e]={})},at=it("keys"),ct=je,st=function(e){return 
at[e]||(at[e]=ct(e))},ut=Oe,lt=Ge,ft=function(e){return function(t,n,r){var 
o,i=et(t),a=tt(i.length),c=nt(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else
 for(;a>c;c++)if((e||c in i)&&i[c]===n)return 
e||c||0;return!e&&-1}}(!1),dt=st("IE_PROTO"),ht="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),pt=function(e,t){var
 n,r=lt(e),o=0,i=[];for(n in 
r)n!=dt&&ut(r,n)&&i.push(n);for(;t.length>o;)ut(r,n=t[o++])&&(~ft(i,n)||i.push(n));return
 i},vt=ht,yt=Object.keys||function(e){return 
pt(e,vt)},mt=Be,gt=function(e){return Object(mt(e))},bt
 
=yt,_t={f:Object.getOwnPropertySymbols},St={f:{}.propertyIsEnumerable},Ot=gt,Et=Je,wt=Object.assign,jt=!wt||oe(function(){var
 e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return 
e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=wt({},e)[n]||Object.keys(wt({},t)).join("")!=r})?function(e,t){for(var
 n=arguments,r=Ot(e),o=arguments.length,i=1,a=_t.f,c=St.f;o>i;)for(var 
s,u=Et(n[i++]),l=a?bt(u).concat(a(u)):bt(u),f=l.length,d=0;f>d;)c.call(u,s=l[d++])&&(r[s]=u[s]);return
 
r}:wt,At=Fe;At(At.S+At.F,"Object",{assign:jt}),Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){function
 n(e,t){return r.call(e,t),e}var 
r;try{(r=e.getOwnPropertyDescriptor(e.prototype,"__proto__").set).call({},null)}catch(t){if(e.prototype!=={}.__proto__||void
 
0==={__proto__:null}.__proto__)return;r=function(e){this.__proto__=e},n.polyfill=n(n({},null),e.prototype)instanceof
 e}return n}(Object));var 
Ct=Y.WXEnvironment;Ct&&"iOS"===Ct.platform&&(Y.Promise=void 0);var 
It=e(function(e){var t=it("wks"),n=je,r=Z
 .Symbol,o="function"==typeof r;(e.exports=function(e){return 
t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),kt=De,Tt=It("toStringTag"),Nt="Arguments"==kt(function(){return
 arguments}()),xt=function(e,t){try{return e[t]}catch(e){}},Mt=function(e){var 
t,n,r;return void 
0===e?"Undefined":null===e?"Null":"string"==typeof(n=xt(t=Object(e),Tt))?n:Nt?kt(t):"Object"==(r=kt(t))&&"function"==typeof
 t.callee?"Arguments":r},Pt=Mt,Lt={};Lt[It("toStringTag")]="z",Lt+""!="[object 
z]"&&Ae(Object.prototype,"toString",function(){return"[object 
"+Pt(this)+"]"},!0);var 
Ft=Xe,Rt=Be,Dt={},zt=ye,Jt=re,Bt=yt,Ut=ie?Object.defineProperties:function(e,t){Jt(e);for(var
 n,r=Bt(t),o=r.length,i=0;o>i;)zt.f(e,n=r[i++],t[n]);return 
e},Wt=Z.document,Gt=Wt&&Wt.documentElement,Vt=re,Ht=Ut,Xt=ht,qt=st("IE_PROTO"),Kt=function(){},$t=function(){var
 
e,t=ue("iframe"),n=Xt.length;for(t.style.display="none",Gt.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/
 script>"),e.close(),$t=e.F;n--;)delete $t.prototype[Xt[n]];return 
$t()},Qt=Object.create||function(e,t){var n;return 
null!==e?(Kt.prototype=Vt(e),n=new Kt,Kt.prototype=null,n[qt]=e):n=$t(),void 
0===t?n:Ht(n,t)},Yt=ye.f,Zt=Oe,en=It("toStringTag"),tn=function(e,t,n){e&&!Zt(e=n?e:e.prototype,en)&&Yt(e,en,{configurable:!0,value:t})},nn=Qt,rn=me,on=tn,an={};_e(an,It("iterator"),function(){return
 this});var 
cn=Oe,sn=gt,un=st("IE_PROTO"),ln=Object.prototype,fn=Object.getPrototypeOf||function(e){return
 e=sn(e),cn(e,un)?e[un]:"function"==typeof e.constructor&&e instanceof 
e.constructor?e.constructor.prototype:e instanceof 
Object?ln:null},dn=Fe,hn=Ae,pn=_e,vn=Oe,yn=Dt,mn=function(e,t,n){e.prototype=nn(an,{next:rn(1,n)}),on(e,t+"
 
Iterator")},gn=tn,bn=fn,_n=It("iterator"),Sn=!([].keys&&"next"in[].keys()),On=function(){return
 this},En=function(e,t,n,r,o,i,a){mn(n,t,r);var c,s,u,l=function(e){if(!Sn&&e 
in p)return p[e];switch(e){case"keys":case"values":return function(){return new 
n(this,e)}}retu
 rn function(){return new n(this,e)}},f=t+" 
Iterator",d="values"==o,h=!1,p=e.prototype,v=p[_n]||p["@@iterator"]||o&&p[o],y=v||l(o),m=o?d?l("entries"):y:void
 0,g="Array"==t?p.entries||v:v;if(g&&(u=bn(g.call(new 
e)))!==Object.prototype&&u.next&&(gn(u,f,!0),vn(u,_n)||pn(u,_n,On)),d&&v&&"values"!==v.name&&(h=!0,y=function(){return
 
v.call(this)}),(Sn||h||!p[_n])&&pn(p,_n,y),yn[t]=y,yn[f]=On,o)if(c={values:d?y:l("values"),keys:i?y:l("keys"),entries:m},a)for(s
 in c)s in p||hn(p,s,c[s]);else dn(dn.P+dn.F*(Sn||h),t,c);return 
c},wn=function(e){return function(t,n){var 
r,o,i=String(Rt(t)),a=Ft(n),c=i.length;return a<0||a>=c?e?"":void 
0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}}(!0);En(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=wn(t,n),this._i+=e.length,{value:e,done:!1})});var 
jn=It("unscopables"),An
 =Array.prototype;void 0==An[jn]&&_e(An,jn,{});var 
Cn=function(e){An[jn][e]=!0},In=function(e,t){return{value:t,done:!!e}},kn=Dt,Tn=Ge,Nn=En(Array,"Array",function(e,t){this._t=Tn(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,In(1)):"keys"==t?In(0,n):"values"==t?In(0,e[n]):In(0,[n,e[n]])},"values");kn.Arguments=kn.Array,Cn("keys"),Cn("values"),Cn("entries");for(var
 
xn=Nn,Mn=yt,Pn=Ae,Ln=Z,Fn=_e,Rn=Dt,Dn=It,zn=Dn("iterator"),Jn=Dn("toStringTag"),Bn=Rn.Array,Un={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!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,StyleShe
 
etList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Wn=Mn(Un),Gn=0;Gn<Wn.length;Gn++){var
 
Vn,Hn=Wn[Gn],Xn=Un[Hn],qn=Ln[Hn],Kn=qn&&qn.prototype;if(Kn&&(Kn[zn]||Fn(Kn,zn,Bn),Kn[Jn]||Fn(Kn,Jn,Hn),Rn[Hn]=Bn,Xn))for(Vn
 in xn)Kn[Vn]||Pn(Kn,Vn,xn[Vn],!0)}var 
$n,Qn,Yn,Zn=re,er=function(e,t,n,r){try{return 
r?t(Zn(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 
0!==o&&Zn(o.call(e)),t}},tr=Dt,nr=It("iterator"),rr=Array.prototype,or=function(e){return
 void 
0!==e&&(tr.Array===e||rr[nr]===e)},ir=Mt,ar=It("iterator"),cr=Dt,sr=ee.getIteratorMethod=function(e){if(void
 0!=e)return e[ar]||e["@@iterator"]||cr[ir(e)]},ur=e(function(e){var 
t=ke,n=er,r=or,o=re,i=$e,a=sr,c={},s={},u=e.exports=function(e,u,l,f,d){var 
h,p,v,y,m=d?function(){return e}:a(e),g=t(l,f,u?2:1),b=0;if("function"!=typeof 
m)throw TypeError(e+" is not 
iterable!");if(r(m)){for(h=i(e.length);h>b;b++)if((y=u?g(o(p=e[b])[0],p[1]):g(e[b]))===c||y===s)return
 y}else for(v=m.call(e);!(p=v.next()).done;)if((y=n(v,g,p.value,u))===c|
 |y===s)return 
y};u.BREAK=c,u.RETURN=s}),lr=re,fr=Ce,dr=It("species"),hr=ke,pr=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)},vr=Gt,yr=ue,mr=Z,gr=mr.process,br=mr.setImmediate,_r=mr.clearImmediate,Sr=mr.MessageChannel,Or=mr.Dispatch,Er=0,wr={},jr=function(){var
 e=+this;if(wr.hasOwnProperty(e)){var t=wr[e];delete 
wr[e],t()}},Ar=function(e){jr.call(e.data)};br&&_r||(br=function(e){for(var 
t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return 
wr[++Er]=function(){pr("function"==typeof 
e?e:Function(e),n)},$n(Er),Er},_r=function(e){delete 
wr[e]},"process"==De(gr)?$n=function(e){gr.nextTick(hr(jr,e,1))}:Or&&Or.now?$n=function(e){Or.now(hr(jr,e,1))}:Sr?(Yn=(Qn=new
 Sr).port2,Qn.port1.onmessage=Ar,$n=hr(Yn.postMessage,Y
 n,1)):mr.addEventListener&&"function"==typeof 
postMessage&&!mr.importScripts?($n=function(e){mr.postMessage(e+"","*")},mr.addEventListener("message",Ar,!1)):$n="onreadystatechange"in
 
yr("script")?function(e){vr.appendChild(yr("script")).onreadystatechange=function(){vr.removeChild(this),jr.call(e)}}:function(e){setTimeout(hr(jr,e,1),0)});var
 
Cr={set:br,clear:_r},Ir=Z,kr=Cr.set,Tr=Ir.MutationObserver||Ir.WebKitMutationObserver,Nr=Ir.process,xr=Ir.Promise,Mr="process"==De(Nr),Pr=Ce,Lr={f:function(e){return
 new 
t(e)}},Fr=Lr,Rr=Ae,Dr=Z,zr=ye,Jr=ie,Br=It("species"),Ur=It("iterator"),Wr=!1;try{var
 Gr=[7][Ur]();Gr.return=function(){Wr=!0},Array.from(Gr,function(){throw 
2})}catch(e){}var 
Vr,Hr,Xr,qr=Z,Kr=ke,$r=Mt,Qr=Fe,Yr=te,Zr=Ce,eo=function(e,t,n,r){if(!(e 
instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect 
invocation!");return e},to=ur,no=function(e,t){var n,r=lr(e).constructor;return 
void 0===r||void 0==(n=lr(r)[dr])?t:fr(n)},ro=Cr.set,oo=function(){var 
e,t,n,r=function(){v
 ar 
r,o;for(Mr&&(r=Nr.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(Mr)n=function(){Nr.nextTick(r)};else if(Tr){var 
o=!0,i=document.createTextNode("");new 
Tr(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else 
if(xr&&xr.resolve){var a=xr.resolve();n=function(){a.then(r)}}else 
n=function(){kr.call(Ir,r)};return function(r){var o={fn:r,next:void 
0};t&&(t.next=o),e||(e=o,n()),t=o}}(),io=Lr,ao=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},co=function(e,t){var
 
n=Fr.f(e);return(0,n.resolve)(t),n.promise},so=qr.TypeError,uo=qr.process,lo=qr.Promise,fo="process"==$r(uo),ho=function(){},po=Hr=io.f,vo=!!function(){try{var
 
e=lo.resolve(1),t=(e.constructor={})[It("species")]=function(e){e(ho,ho)};return(fo||"function"==typeof
 PromiseRejectionEvent)&&e.then(ho)instanceof 
t}catch(e){}}(),yo=function(e,t){return e===t},mo=function(e){var 
t;return!(!Yr(e)||"function"!=typeof(t=e.then))&&t},go=function(e,t){if(!e.
 _n){e._n=!0;var n=e._c;oo(function(){for(var 
r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var 
n,i,a=o?t.ok:t.fail,c=t.resolve,s=t.reject,u=t.domain;try{a?(o||(2==e._h&&So(e),e._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&u.exit()),n===t.promise?s(so("Promise-chain
 
cycle")):(i=mo(n))?i.call(n,c,s):c(n)):s(r)}catch(e){s(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&bo(e)})}},bo=function(e){ro.call(qr,function(){var
 
t,n,r,o=e._v,i=_o(e);if(i&&(t=ao(function(){fo?uo.emit("unhandledRejection",o,e):(n=qr.onunhandledrejection)?n({promise:e,reason:o}):(r=qr.console)&&r.error&&r.error("Unhandled
 promise rejection",o)}),e._h=fo||_o(e)?2:1),e._a=void 0,i&&t.e)throw 
t.v})},_o=function(e){if(1==e._h)return!1;for(var 
t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!_o(t.promise))return!1;return!0},So=function(e){ro.call(qr,function(){var
 
t;fo?uo.emit("rejectionHandled",e):(t=qr.onrejectionhandled)&&t({promise:e,reason:e._v})})},Oo=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()),go(t,!0))},Eo=function(e){var 
t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw so("Promise can't be 
resolved itself");(t=mo(e))?oo(function(){var 
r={_w:n,_d:!1};try{t.call(e,Kr(Eo,r,1),Kr(Oo,r,1))}catch(e){Oo.call(r,e)}}):(n._v=e,n._s=1,go(n,!1))}catch(e){Oo.call({_w:n,_d:!1},e)}}};vo||(lo=function(e){eo(this,lo,"Promise","_h"),Zr(e),Vr.call(this);try{e(Kr(Eo,this,1),Kr(Oo,this,1))}catch(e){Oo.call(this,e)}},(Vr=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)Rr(e,r,t[r],n);return e}(lo.prototype,{then:function(e,t){var 
n=po(no(this,lo));return n.ok="function"!=typeof e||e,n.fail="function"==typeof 
t&&t,n.domain=fo?uo.domain:void 
0,this._c.push(n),this._a&&this._a.push(n),this._s&&go(this,!1),n.promise},catch:function(e){return
 this.then(void 0,e)}}),Xr=function(){var e=new 
Vr;this.promise=e,this.resolve=Kr(Eo,e,1),this.reject=Kr(Oo,e,1)},io.f=po=function(e){return
 yo(lo,e
 )?new 
Xr(e):Hr(e)}),Qr(Qr.G+Qr.W+Qr.F*!vo,{Promise:lo}),tn(lo,"Promise"),function(e){var
 t=Dr[e];Jr&&t&&!t[Br]&&zr.f(t,Br,{configurable:!0,get:function(){return 
this}})}("Promise"),ee.Promise,Qr(Qr.S+Qr.F*!vo,"Promise",{reject:function(e){var
 
t=po(this);return(0,t.reject)(e),t.promise}}),Qr(Qr.S+Qr.F*!vo,"Promise",{resolve:function(e){return
 e instanceof 
lo&&yo(e.constructor,this)?e:co(this,e)}}),Qr(Qr.S+Qr.F*!(vo&&function(e,t){if(!t&&!Wr)return!1;var
 n=!1;try{var 
r=[7],o=r[Ur]();o.next=function(){return{done:n=!0}},r[Ur]=function(){return 
o},e(r)}catch(e){}return 
n}(function(e){lo.all(e).catch(ho)})),"Promise",{all:function(e){var 
t=this,n=po(t),r=n.resolve,o=n.reject,i=ao(function(){var 
n=[],i=0,a=1;to(e,!1,function(e){var c=i++,s=!1;n.push(void 
0),a++,t.resolve(e).then(function(e){s||(s=!0,n[c]=e,--a||r(n))},o)}),--a||r(n)});return
 i.e&&o(i.v),n.promise},race:function(e){var 
t=this,n=po(t),r=n.reject,o=ao(function(){to(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return
 o
 .e&&r(o.v),n.promise}});var 
wo=["off","error","warn","info","log","debug"],jo={},Ao=global.console,Co=global.setTimeout,Io=global.setTimeoutNative;i();var
 
ko=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks={}};ko.prototype.add=function(e){return
 
this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},ko.prototype.remove=function(e){var
 t=this.callbacks[e];return delete 
this.callbacks[e],t},ko.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(p(t)):new Error('invalid callback id 
"'+e+'"')},ko.prototype.close=function(){this.callbacks={}};var 
To={},No=1;k.prototype.destroy=function(){var e=y(this.docId);e&&(delete 
this.docId,delete 
e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var 
xo,Mo={},Po="div",Lo=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","verticalpan","swipe"];(N.proto
 
type=Object.create(k.prototype)).constructor=N,function(e){xo=e}(N),Object.assign(N.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(C(e,this.children,this.children.length,!0),1===e.nodeType){var
 
t=C(e,this.pureChildren,this.pureChildren.length),n=g(this.docId);if(n&&t>=0)return
 n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else 
if(E(e,this),A(e,this.children,this.children.length,!0),this.docId&&x(this.docId,e),1===e.nodeType){A(e,this.pureChildren,this.pureChildren.length);var
 r=g(this.docId);if(r)return 
r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},insertBefore:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(C(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var
 
n=w(t),r=C(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=g(this.docId);if(o&&r>=0)return
 o.send("dom",{action:"moveElement"},[e.ref,this.ref
 ,r])}}else 
if(E(e,this),A(e,this.children,this.children.indexOf(t),!0),this.docId&&x(this.docId,e),1===e.nodeType){var
 
i=w(t),a=A(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),c=g(this.docId);if(c)return
 
c.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},insertAfter:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.previousSibling&&e.previousSibling===t))if(e.parentNode){if(C(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var
 
n=C(e,this.pureChildren,this.pureChildren.indexOf(j(t))+1),r=g(this.docId);if(r&&n>=0)return
 r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else 
if(E(e,this),A(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&x(this.docId,e),1===e.nodeType){var
 
o=A(e,this.pureChildren,this.pureChildren.indexOf(j(t))+1),i=g(this.docId);if(i)return
 
i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(I(e,this.children,!0),1===e.nodeType))
 {I(e,this.pureChildren);var 
n=g(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var
 
e=g(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.pureChildren.length=0},setAttr:function(e,t,n){if(this.attr[e]!==t||!1===n){this.attr[e]=t;var
 r=g(this.docId);if(!n&&r){var 
o={};o[e]=t,r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},setStyle:function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var
 r=g(this.docId);if(!n&&r){var 
o={};o[e]=t,r.send("dom",{action:"updateStyle"},[this.ref,o])}}},setClassStyle:function(e){var
 t=this;for(var n in 
this.classStyle)t.classStyle[n]="";Object.assign(this.classStyle,e);var 
r=g(this.docId);r&&r.send("dom",{action:"updateStyle"},[this.ref,this.toStyle()])},addEvent:function(e,t){if(!this.event[e]){this.event[e]=t;var
 n=g(this.docId);n&&n.send("dom",{action:"addEvent"},[this
 .ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var 
t=g(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t,n){var
 r=null,o=!1,i=this.event[e];return 
i&&t&&(t.stopPropagation=function(){o=!0},r=i.call(this,t)),!o&&n&&Lo.includes(e)&&this.parentNode&&this.parentNode.fireEvent&&(t.currentTarget=this.parentNode,this.parentNode.fireEvent(e,t,n)),r},toStyle:function(){return
 Object.assign({},this.classStyle,this.style)},toJSON:function(){var 
e={ref:this.ref.toString(),type:this.type,attr:this.attr,style:this.toStyle()},t=Object.keys(this.event);return
 
t.length&&(e.event=t),this.pureChildren.length&&(e.children=this.pureChildren.map(function(e){return
 e.toJSON()})),e},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+">"}});var 
Fo=function(){},Ro=function(e,t){Object.definePrope
 
rty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new
 ko(e)}),Fo=t||function(){}};Ro.prototype.callback=function(e,t,n){return 
this.callbackManager.consume(e,t,n)},Ro.prototype.destroyCallback=function(){return
 this.callbackManager.close()},Ro.prototype.normalize=function(e){var 
t=l(e);return e&&e instanceof N?e.ref:e&&e._isVue&&e.$el instanceof 
N?e.$el.ref:"Function"===t?this.callbackManager.add(e).toString():h(e)},Ro.prototype.send=function(e,t,n,r){var
 
o=this,i=t.action,a=t.component,c=t.ref,s=t.module,u=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,c,u,n,Object.assign({component:a},r));default:return
 
this.moduleHandler(this.instanceId,s,u,n,r)}},Ro.prototype.callDOM=function(e,t){return
 
this[e](this.instanceId,t)},Ro.prototype.callComponent=function(e,t,n,r){return 
this.componentHandler(this.insta
 nceId,e,t,n,r)},Ro.prototype.callModule=function(e,t,n,r){return 
this.moduleHandler(this.instanceId,e,t,n,r)};var Do,zo,Jo=[],Bo=/^\s*\/\/ 
*(\{[^}]*\}) *\r?\n/,Uo={},Wo={createInstance:function(e,t,n,r){var 
o=Uo[e];if(!o){o=D(t)||{},Do[o.framework]||(o.framework="Weex"),(n=JSON.parse(JSON.stringify(n||{}))).bundleVersion=o.version,n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),console.debug("[JS
 Framework] create an "+o.framework+"@"+n.bundleVersion+" instance from 
"+n.bundleVersion);var 
i={info:o,config:n,created:Date.now(),framework:o.framework};return 
i.services=z(e,i,zo),Uo[e]=i,Do[o.framework].createInstance(e,t,n,r,i)}return 
new Error('invalid instance id 
"'+e+'"')},registerService:P,unregisterService:L};(G.prototype=Object.create(k.prototype)).constructor=G,G.prototype.toString=function(){return"\x3c!--
 "+this.value+" 
--\x3e"},Object.assign(V.prototype,{createFinish:function(e){return(0,this.handler)([H("createFinish")],e)},updateFinish:function(e){return(0,this.h
 
andler)([H("updateFinish")],e)},refreshFinish:function(e){return(0,this.handler)([H("refreshFinish")],e)},createBody:function(e){var
 t=e.toJSON(),n=t.children;delete t.children;var r=[H("createBody",[t])];return 
n&&r.push.apply(r,n.map(function(e){return 
H("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return
 
n>=0||(n=-1),this.addActions(H("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var
 t=e.map(function(e){return H("removeElement",[e])});return 
this.addActions(t)}return 
this.addActions(H("removeElement",[e]))},moveElement:function(e,t,n){return 
this.addActions(H("moveElement",[e,t,n]))},setAttr:function(e,t,n){var 
r={};return 
r[t]=n,this.addActions(H("updateAttrs",[e,r]))},setStyle:function(e,t,n){var 
r={};return 
r[t]=n,this.addActions(H("updateStyle",[e,r]))},setStyles:function(e,t){return 
this.addActions(H("updateStyle",[e,t]))},addEvent:function(e,t){return 
this.addActions(H("addEvent",[e,t]))},removeEvent:function
 (e,t){return 
this.addActions(H("removeEvent",[e,t]))},handler:function(e,t){return 
t&&t()},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 
Go={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};$.handler=null,Object.assign($.prototype,{getRef:function(e){return
 
this.nodeMap[e]},open:function(){this.listener.batched=!1},close:function(){this.listener.batched=!0},createDocumentElement:function(){var
 e=this;if(!this.documentElement){var t=new 
N("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){_(e,t)}}),Objec
 
t.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){_(e,t,n)}})}return
 this.documentElement},createBody:function(e,t){return this.body||O(this,new 
N(e,t)),this.body},createElement:function(e,t){return new 
N(e,t)},createComment:function(e){return new 
G(e)},fireEvent:function(e,t,n,r){if(e){(n=n||{}).type=t,n.target=e,n.currentTarget=e,n.timestamp=Date.now(),r&&Q(e,r);var
 o="true"===this.getRef("_root").attr.bubble;return 
e.fireEvent(t,n,o)}},destroy:function(){this.taskCenter.destroyCallback(),delete
 this.listener,delete this.nodeMap,delete this.taskCenter,m(this.id)}});var 
Vo={Document:$,Element:N,Comment:G,Listener:V,TaskCenter:Ro,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)}};return 
$.handler=Vo.sendTasks,{setNativeConsole:function(){if(n(),global.WXEnvironment&&"Web"!==global.WXEnvironment.plat
 form)global.console={debug:function(){for(var 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("debug")&&global.nativeLog.apply(global,o(e).concat(["__DEBUG"]))},log:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("log")&&global.nativeLog.apply(global,o(e).concat(["__LOG"]))},info:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("info")&&global.nativeLog.apply(global,o(e).concat(["__INFO"]))},warn:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("warn")&&global.nativeLog.apply(global,o(e).concat(["__WARN"]))},error:function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("error")&&global.nativeLog.apply(global,o(e).concat(["__ERROR"]))}};else{var
 
e=console.debug,t=console.log,i=console.info,a=console.warn,c=console.error;console.__ori__={debug:e,log:t,info:i,warn:a,error:c},console.debug=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("debug")&&console.__ori__.debug.apply(console,e)},console.log
 =function(){for(var 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var
 
e=[],t=arguments.length;t--;)e[t]=arguments[t];r("error")&&console.__ori__.error.apply(console,e)}}},resetNativeConsole:function(){jo={},global.console=Ao},setNativeTimer:i,resetNativeTimer:function(){global.setTimeout=Co,global.setTimeoutCallback=null},service:{register:P,unregister:L,has:F},freezePrototype:function(){a(),Object.freeze(Vo.Element),Object.freeze(Vo.Comment),Object.freeze(Vo.Listener),Object.freeze(Vo.Document.prototype),Object.freeze(Vo.Element.prototype),Object.freeze(Vo.Comment.prototype),Object.freeze(Vo.Listener.prototype)},init:function(e){Do=(zo=e||{}).framework
 s||{},M();for(var t in 
Do)Do[t].init(e);return["registerComponents","registerModules","registerMethods"].forEach(J),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),W("receiveTasks","callJS"),Wo},config:Vo}});
->>>>>>> 0.16-dev
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?module.exports=e():"function"==typeof 
define&&define.amd?define(e):t.WeexRuntime=e()}(this,function(){"use 
strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function 
e(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw 
TypeError("Bad Promise 
constructor");e=t,n=r}),this.resolve=Pr(e),this.reject=Pr(n)}function 
n(){wo.forEach(function(t){var 
e=wo.indexOf(t);jo[t]={},wo.forEach(function(n){wo.indexOf(n)<=e&&(jo[t][n]=!0)})})}function
 r(t){var e=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return 
jo[e]&&jo[e][t]}function o(t){return t.map(function(t){return t="[object 
object]"===Object.prototype.toString.call(t).toLowerCase()?JSON.stringify(t):String(t)})}function
 i(){if("undefined"==typeof setTimeout&&"function"==typeof Io){var 
t={},e=0;global.setTimeout=function(n,r){t[++e]=n,Io(e.toString(),r)},global.setTimeoutCallback=function(e){"function"==typeof
 t[e]&&
 (t[e](),delete t[e])}}}function 
a(){Object.freeze(Object),Object.freeze(Array),c(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),s(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function
 c(){var 
t=Object.prototype,e="Object.prototype";u(t,"__defineGetter__",e),u(t,"__defineSetter__",e),u(t,"__lookupGetter__",e),u(t,"__lookupSetter__",e),u(t,"constructor",e),u(t,"hasOwnProperty",e),u(t,"isPrototypeOf",e),u(t,"propertyIsEnumerable",e),u(t,"toLocaleString",e),u(t,"toString",e),u(t,"valueOf",e),Object.seal(t)}function
 s(){var 
t=Error.prototype,e="Error.prototype";u(t,"name",e),u(t,"message",e),u(t,"toString",e),u(t,"constructor",e),Object.seal(t)}function
 u(t,e,n){if(t.hasOwnProperty(e)){var 
r=t[e];Object.defineProperty(t,e,{get:function(){return 
r},set:function(r){if(this===t)throw Error("Cannot assign to read only property 
"+e+" of "+n);return Object.defineProperty(this,e,{value:r,writab
 le:!0}),r}})}}function l(){return(To++).toString()}function f(t){var 
e=Object.prototype.toString.call(t);return e.substring(8,e.length-1)}function 
d(t){if("function"!=typeof btoa)return"";var e=Array.prototype.map.call(new 
Uint8Array(t),function(t){return String.fromCharCode(t)}).join("");return 
btoa(e)}function p(t){if("function"!=typeof atob)return new ArrayBuffer(0);var 
e=atob(t),n=new Uint8Array(e.length);return 
Array.prototype.forEach.call(e,function(t,e){n[e]=t.charCodeAt(0)}),n.buffer}function
 h(t){var 
e=f(t);switch(e){case"Undefined":case"Null":return"";case"RegExp":return 
t.toString();case"Date":return 
t.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return
 
t;case"ArrayBuffer":return{"@type":"binary",dataType:e,base64:d(t)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:e,base64:d(t.buffer)};de
 fault:return JSON.stringify(t)}}function 
v(t){if("Object"===f(t)){if(t["@type"]&&"binary"===t["@type"])return 
p(t.base64||"");var e={};for(var n in t)e[n]=v(t[n]);return 
e}return"Array"===f(t)?t.map(v):t}function y(t,e){t&&(ko[t]=e)}function 
m(t){return ko[t]}function g(t){delete ko[t]}function b(t){var e=ko[t];return 
e&&e.taskCenter?e.taskCenter:null}function _(t,e,n){var 
r=t.documentElement;if(!(r.pureChildren.length>0||e.parentNode)){var 
o=r.children,i=o.indexOf(n);i<0?o.push(e):o.splice(i,0,e),1===e.nodeType?("body"===e.role?(e.docId=t.id,e.ownerDocument=t,e.parentNode=r,E(e,r)):(e.children.forEach(function(t){t.parentNode=e}),O(t,e),e.docId=t.id,e.ownerDocument=t,E(e,r),delete
 
t.nodeMap[e.nodeId]),r.pureChildren.push(e),S(t,e)):(e.parentNode=r,t.nodeMap[e.ref]=e)}}function
 S(t,e){var n=e.toJSON(),r=n.children;delete n.children;var 
o=t.taskCenter.send("dom",{action:"createBody"},[n]);return 
r&&r.forEach(function(e){o=t.taskCenter.send("dom",{action:"addElement"},[n.ref,e,-1])}),
 o}function O(t,e){e.role="body",e.depth=1,delete 
t.nodeMap[e.nodeId],e.ref="_root",t.nodeMap._root=e,t.body=e}function 
E(t,e){t.parentNode=e,e.docId&&(t.docId=e.docId,t.ownerDocument=e.ownerDocument,t.ownerDocument.nodeMap[t.nodeId]=t,t.depth=e.depth+1),t.children.forEach(function(e){E(e,t)})}function
 w(t){for(;t;){if(1===t.nodeType)return t;t=t.nextSibling}}function 
j(t){for(;t;){if(1===t.nodeType)return t;t=t.previousSibling}}function 
A(t,e,n,r){n<0&&(n=0);var o=e[n-1],i=e[n];return 
e.splice(n,0,t),r&&(o&&(o.nextSibling=t),t.previousSibling=o,t.nextSibling=i,i&&(i.previousSibling=t)),n}function
 C(t,e,n,r){var o=e.indexOf(t);if(o<0)return-1;if(r){var 
i=e[o-1],a=e[o+1];i&&(i.nextSibling=a),a&&(a.previousSibling=i)}e.splice(o,1);var
 c=n;o<=n&&(c=n-1);var s=e[c-1],u=e[c];return 
e.splice(c,0,t),r&&(s&&(s.nextSibling=t),t.previousSibling=s,t.nextSibling=u,u&&(u.previousSibling=t)),o===c?-1:n}function
 I(t,e,n){var r=e.indexOf(t);if(!(r<0)){if(n){var 
o=e[r-1],i=e[r+1];o&&(o.nextSibling=i)
 ,i&&(i.previousSibling=o)}e.splice(r,1)}}function T(t,e){if(e&&e.length){var 
n=function(t){function e(){t.apply(this,arguments)}return 
t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Mo);e.forEach(function(e){n.prototype[e]=function(){for(var
 n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=b(this.docId);if(o)return 
o.send("component",{ref:this.ref,component:t,method:e},n)}}),Po[t]=n}}function 
N(t){return Po[t]}function k(t){return"String"===f(t)?{"@binding":t}:t}function 
x(t){for(var 
e,n,r=[],o=Lo.lastIndex=0;e=Lo.exec(t);){(n=e.index)>o&&r.push(t.slice(o,n));var
 i=k(e[1].trim());r.push(i),o=n+e[0].length}return 
o<t.length&&r.push(t.slice(o)),1===r.length?r[0]:r}function 
M(t){if("String"===f(t)&&Lo.test(t))return x(t);if("Object"===f(t)){var 
e={};for(var n in t)e[n]=M(t[n]);return 
e}return"Array"===f(t)?t.map(M):t}function 
P(t,e){m(t).nodeMap[e.nodeId]=e}function L(){var 
t={createFinish:global.callCreateFinish,updateFinish:global.callUp
 
dateFinish,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},e=Bo.prototype;for(var
 n in t)!function(n){var r=t[n];e[n]=r?function(t,e){return r.apply(void 
0,[t].concat(e))}:function(t,e){return 
zo(t,[{module:"dom",method:n,args:e}],"-1")}}(n);e.componentHandler=global.callNativeComponent||function(t,e,n,r,o){return
 
zo(t,[{component:o.component,ref:e,method:n,args:r}])},e.moduleHandler=global.callNativeModule||function(t,e,n,r){return
 zo(t,[{module:e,method:n,args:r}])}}function F(t,e){D(t)?console.warn('Service 
"'+t+'" has been registered 
already!'):(e=Object.assign({},e),Wo.push({name:t,options:e}))}function 
R(t){Wo.some(function(e,n){if(e.name===t)return Wo.splice(n,1),!0})}function 
D(t){return z(t)>=0}function z(t){retu
 rn Wo.map(function(t){return t.name}).indexOf(t)}function B(t){var 
e=Go.exec(t);if(e)try{return 
JSON.parse(e[1]).framework}catch(t){}return"Weex"}function J(t,e,n){var 
r=Object.create(null);return 
r.service=Object.create(null),Wo.forEach(function(o){o.name;var 
i=o.options.create;if(i){var 
a=i(t,e,n);Object.assign(r.service,a),Object.assign(r,a.instance)}}),delete 
r.service.instance,Object.freeze(r.service),r}function U(t){if(Ho[t])return 
Ho[t].framework}function W(t){Vo[t]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];"registerComponents"===t&&G(e[0]);for(var
 r in Jo){var o=Jo[r];o&&o[t]&&o[t].apply(o,e)}}}function 
G(t){Array.isArray(t)&&t.forEach(function(t){t&&t.type&&t.methods&&T(t.type,t.methods)})}function
 H(t){Vo[t]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];var 
r=e[0],o=U(r);if(o&&Jo[o]){var 
i=(c=Jo[o])[t].apply(c,e),a={framework:o};return"refreshInstance"===t?Wo.forEach(function(t){var
 e=t.options.refresh;e&&e(r,{info:a,runtime:Uo})
 }):"destroyInstance"===t&&(Wo.forEach(function(t){var 
e=t.options.destroy;e&&e(r,{info:a,runtime:Uo})}),delete Ho[r]),i}return new 
Error('invalid instance id "'+r+'"');var c}}function 
V(t,e){Vo[e]=function(){for(var 
e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=e[0],o=U(r);return 
o&&Jo[o]?(i=Jo[o])[t].apply(i,e):new Error('invalid instance id "'+r+'"');var 
i}}function X(t,e){return void 
0===e&&(e=[]),{module:"dom",method:t,args:e}}function q(t,e){var 
n=e||global.callNative;return"function"!=typeof n&&console.error("[JS Runtime] 
no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var 
r=0;r<e.length;r++){var o=$(t,e[r],n);if(-1===o)return o}}}function 
K(t,e){return"dom"===t&&Ko[e]&&"function"==typeof global[Ko[e]]}function 
$(t,e,n){var r=e.module,o=e.method,i=e.args;return 
K(r,o)?global[Ko[o]].apply(global,[t].concat(i,["-1"])):n(t,[e],"-1")}function 
Q(t,e){var n=e.attrs||{};for(var r in n)t.setAttr(r,n[r],!0);var 
o=e.style||{};for(var i in o)t.setStyle(i,o[i],!0)}Ar
 ray.from||(Array.from=function(){var 
t=Object.prototype.toString,e=function(e){return"function"==typeof e||"[object 
Function]"===t.call(e)},n=function(t){var e=Number(t);return 
isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e},r=Math.pow(2,53)-1,o=function(t){var
 e=n(t);return Math.min(Math.max(e,0),r)};return function(t){var 
n=this,r=Object(t);if(null==t)throw new TypeError("Array.from requires an 
array-like object - not null or undefined");var 
i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!e(a))throw new 
TypeError("Array.from: when provided, the second argument must be a 
function");arguments.length>2&&(i=arguments[2])}for(var 
c,s=o(r.length),u=e(n)?Object(new n(s)):new 
Array(s),l=0;l<s;)c=r[l],u[l]=a?void 0===i?a(c,l):a.call(i,c,l):c,l+=1;return 
u.length=s,u}}());var Y="undefined"!=typeof window?window:"undefined"!=typeof 
global?global:"undefined"!=typeof self?self:{},Z=t(function(t){var 
e=t.exports="undefined"!=typeof window&&window.Math==Math?win
 dow:"undefined"!=typeof self&&self.Math==Math?self:Function("return 
this")();"number"==typeof __g&&(__g=e)}),tt=t(function(t){var 
e=t.exports={version:"2.5.0"};"number"==typeof 
__e&&(__e=e)}),et=function(t){return"object"==typeof 
t?null!==t:"function"==typeof t},nt=et,rt=function(t){if(!nt(t))throw 
TypeError(t+" is not an object!");return 
t},ot=function(t){try{return!!t()}catch(t){return!0}},it=!ot(function(){return 
7!=Object.defineProperty({},"a",{get:function(){return 
7}}).a}),at=et,ct=Z.document,st=at(ct)&&at(ct.createElement),ut=function(t){return
 st?ct.crea

<TRUNCATED>
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c86ea5d2/packages/weex-js-runtime/index.min.js.gz
----------------------------------------------------------------------
diff --git a/packages/weex-js-runtime/index.min.js.gz 
b/packages/weex-js-runtime/index.min.js.gz
deleted file mode 100644
index 6249d01..0000000
Binary files a/packages/weex-js-runtime/index.min.js.gz and /dev/null differ


Reply via email to