You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by so...@apache.org on 2017/04/26 06:56:23 UTC

[01/50] [abbrv] incubator-weex git commit: * [html5] fix test.

Repository: incubator-weex
Updated Branches:
  refs/heads/dev 2a862c90b -> cf755d4b5


* [html5] fix test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d038a939
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d038a939
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d038a939

Branch: refs/heads/dev
Commit: d038a939d71297795fae8c0bade71e2a08fcfa23
Parents: 88014ab
Author: MrRaindrop <te...@gmail.com>
Authored: Tue Apr 18 16:22:13 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Tue Apr 18 16:22:13 2017 +0800

----------------------------------------------------------------------
 html5/test/render/vue/data/head-map.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d038a939/html5/test/render/vue/data/head-map.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/data/head-map.js b/html5/test/render/vue/data/head-map.js
index 17837d5..8d8057b 100644
--- a/html5/test/render/vue/data/head-map.js
+++ b/html5/test/render/vue/data/head-map.js
@@ -179,7 +179,8 @@ export default {
     "height": "174px"
   },
   ".title-ctn[data-v-2c9fb3eb]": {
-    "margin-top": "12px"
+    "margin-top": "12px",
+    "width": "162px"
   },
   ".badge[data-v-2c9fb3eb]": {
     "position": "absolute",


[50/50] [abbrv] incubator-weex git commit: * [html5] fix lint.

Posted by so...@apache.org.
* [html5] fix lint.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/cf755d4b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/cf755d4b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/cf755d4b

Branch: refs/heads/dev
Commit: cf755d4b50b333fdaace7ac311bf4b783261abae
Parents: 86c555e
Author: MrRaindrop <te...@gmail.com>
Authored: Wed Apr 26 13:47:24 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed Apr 26 13:47:24 2017 +0800

----------------------------------------------------------------------
 .eslintrc | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cf755d4b/.eslintrc
----------------------------------------------------------------------
diff --git a/.eslintrc b/.eslintrc
index 75c1fc2..a5697b6 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -38,6 +38,7 @@
   },
 
   "rules": {
+    "flowtype/no-types-missing-file-annotation": 0,
     "accessor-pairs": 2,
     "arrow-spacing": [2, { "before": true, "after": true }],
     "block-spacing": [2, "always"],
@@ -152,8 +153,14 @@
     "no-var": 2,
     "prefer-const": 2,
     "object-curly-spacing": [2, "always", {
-      objectsInObjects: false
+      "objectsInObjects": false
     }],
     "array-bracket-spacing": [2, "never"]
+  },
+
+  "settings": {
+    "flowtype": {
+      "onlyFilesWithFlowAnnotation": true
+    }
   }
 }


[35/50] [abbrv] incubator-weex git commit: * [jsfm] update jsfm to 0.20.5 fixed timer cannot clear timer clearTimer issue

Posted by so...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8a56e2f7/android/sdk/assets/main.js
----------------------------------------------------------------------
diff --git a/android/sdk/assets/main.js b/android/sdk/assets/main.js
index 0408ec0..29185da 100644
--- a/android/sdk/assets/main.js
+++ b/android/sdk/assets/main.js
@@ -1,8 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.4, Build 2017-04-13 19:21."),this.getJSFMVersion=function(){return"0.20.4"};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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof ks){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,ks(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=Cs,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 C(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=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function Ce(e){return wu.call(e)===Ou}function ke(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(Cu,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||Ce(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!ke(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){ke(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;Ce(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?kt(t,n):Ct(t),t._vm&&t._vm.$emit("hook:destroyed")}function Ct(e){var t=e.parentNode;t&&t.removeChild(e)}function kt(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||Ct(e.start),n.forEach(function(e){Ct(e)}),t||Ct(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=yt(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,xe(c,s))}}et(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=wt(e,o,n)),-1!==f.lastSignal&&Vt(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=wt(e,o,n))}function Vt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return At(e,t,n),-1!==r.lastSignal})}functio
 n zt(e,t,n,r){function o(e,r,o){var a;c?(a=e,Ee(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),a={},a[l]=r,a[f]=e)):(a={},a[l]=r,a[f]=e);var s=Jt(o,a);i.push(s),At(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,d=qt(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):Et(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var 
 s=u?t[u]:c?t[l]:r,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),Ot(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Wt(e,t,n,r){var o=qt(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?At(e,t,n,r):Et(e,n,!0))});n.display=!!o,o&&At(e,t,n,r)}function qt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return vt(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function Jt(e,t){var n=Object.create(e);return n._data=t,Ge(n),Ke(n),n._realParent=e,e._static&&(n._static=e._static),n}function Ht(e,t){if(t instanceof Ht)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},thi
 s.hasStopped=function(){return n}}function Gt(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Ht(e,t);o.forEach(function(e){e.call(n,i)})}}function Xt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Kt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Zt(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function Qt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Yt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);zu.forEach(function(t){e.$on("hook:"+t,n[t])})}function en(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customC
 omponentMap&&(t=this._app.customComponentMap[e]),t=t||{};var a=t.data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids={},this._vmEvents={},this._childrenVms=[],this._type=e,Yt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&be(this._data,o),He(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,jt(this))}function tn(e,t){for(var n in e)!function(n){var r=Wu[n];r||(r={},Wu[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function nn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProper
 ty(r)||(n[r]=t[r])}function rn(e,t){var n=Wu[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function on(e,t){return e.customComponentMap[t]}function an(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function sn(e){if(qu.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function un(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf
 ("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function cn(e,t){t=t||global.WXEnvironment,t=Ce(t)?t:{};var n={isDowngrade:!1};if("function"===Ae(e)){var r=e.call(this,t,{semver:qu,normalizeVersion:sn});r=!!r,n=r?un("custom","","custom params"):n}else{e=Ce(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=sn(p),v=sn(t[s]);if(qu.satisfies(v,h)){n=un(u,l,p);break}}else if(d){var m="array"===Ae(p)?p:[p];if(m.indexOf(l)>=0){n=un(u,l,p);break}}}}return n}function ln(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function fn(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(ku(t))o=Ie(t);else{if(!Iu(t))return new Error("Wrong component name: "+t);if(o=Te(t),!on(e,o))return new Error("It's not a component: 
 "+t)}if(n=Ce(n)?n:{},
-"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!qu.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=cn(n.downgrade);if(i.isDowngrade)return e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage);n.viewport&&ln(e,n.viewport),e.vm=new en(o,null,{_app:e},null,r)}function dn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),an(e,t,n)}function pn(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):be(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function hn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.
 vm&&vn(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function vn(e){if(delete e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)vn(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function mn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function yn(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return!1!==yn(e,t,n,r)});var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i
 ,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}function _n(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return gn(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function gn(e){e.differ.flush()}function bn(e,t){var n;return"array"!==Ae(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function wn(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return Ju.apply(void 0,[e].concat(t))},a=function(t,r,i){o=fn(e,t,r,i||n),gn(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=en,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return dn.apply(void 0,[e].concat
 (t))},c=function(t,n){o=fn(e,t,{},n)},l=function(t){return function(n){o=fn(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(Ie(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h='(function(global){\n\n"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}}
 )}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return Sn(_,h)||On(_,h),o}function On(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function Sn(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=compileAndRunBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function xn(e,t){var n=e[t];for(var r in n)n[r]()}function En(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function Cn(e,t){this.id=e,this.options=t||{},this.vm=null,this.custom
 ComponentMap={},this.commonModules={},this.doc=new Lu.Document(e,this.options.bundleUrl,null,Lu.Listener),this.differ=new Hu(e)}function kn(e,t,n,r,o){var i=o||{},a=i.services;$e();var s=Gu[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new Cn(e,n),Gu[e]=s,u=wn(s,t,r,a)),u}function jn(e){Lu.Document=e.Document,Lu.Element=e.Element,Lu.Comment=e.Comment,Lu.sendTasks=e.sendTasks,Lu.Listener=e.Listener}function An(e,t){var n=Gu[e];return n?pn(n,t):new Error('invalid instance id "'+e+'"')}function In(e){"function"==typeof markupState&&markupState(),$e();var t=Gu[e];if(!t)return new Error('invalid instance id "'+e+'"');hn(t),delete Gu[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Gu}function Tn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Xu[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Xu[e.type]=e))})}function Pn(e){"object"==typeof e&&tn(e)}function Nn(e){"object"==typeof e&&nn(en,
 e)}function Mn(e,t){if(Gu[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Ku[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function $n(e){var t=Gu[e];return t?mn(t):new Error('invalid instance id "'+e+'"')}function Rn(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function Dn(){}function Fn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function Ln(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop
  is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function Bn(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function Un(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please us
 e \"require('@weex-module/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function zn(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function Wn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var qn={browser:"0.5.0",framework:"0.20.4","vue-render":"0.11.5",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=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=fu
 nction(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 s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var Jn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},Hn=t(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)}),Gn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Xn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Kn=Xn,Zn=funct
 ion(e){if(!Kn(e))throw TypeError(e+" is not an object!");return e},Qn=function(e){try{return!!e()}catch(e){return!0}},Yn=!Qn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),er=Xn,tr=Hn.document,nr=er(tr)&&er(tr.createElement),rr=function(e){return nr?tr.createElement(e):{}},or=!Yn&&!Qn(function(){return 7!=Object.defineProperty(rr("div"),"a",{get:function(){return 7}}).a}),ir=Xn,ar=function(e,t){if(!ir(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ir(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},sr=Zn,ur=or,cr=ar,lr=Object.defineProperty,fr=Yn?Object.defineProperty:function(e,t,n){if(sr(e),t=cr(t,!0),sr(n),ur)try{return lr(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},dr={f:fr},pr=function(e,t){ret
 urn{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hr=dr,vr=pr,mr=Yn?function(e,t,n){return hr.f(e,t,vr(1,n))}:function(e,t,n){return e[t]=n,e},yr={}.hasOwnProperty,_r=function(e,t){return yr.call(e,t)},gr=0,br=Math.random(),wr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++gr+br).toString(36))},Or=t(function(e){var t=Hn,n=mr,r=_r,o=wr("src"),i=Function.toString,a=(""+i).split("toString");Gn.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),Sr=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},xr=Sr,Er=function(e,t,n){if(xr(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return funct
 ion(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)}},Cr=Hn,kr=Gn,jr=mr,Ar=Or,Ir=Er,Tr=function(e,t,n){var r,o,i,a,s=e&Tr.F,u=e&Tr.G,c=e&Tr.S,l=e&Tr.P,f=e&Tr.B,d=u?Cr:c?Cr[t]||(Cr[t]={}):(Cr[t]||{}).prototype,p=u?kr:kr[t]||(kr[t]={}),h=p.prototype||(p.prototype={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Ir(i,Cr):l&&"function"==typeof i?Ir(Function.call,i):i,d&&Ar(d,r,i,e&Tr.U),p[r]!=i&&jr(p,r,a),l&&h[r]!=i&&(h[r]=i)};Cr.core=kr,Tr.F=1,Tr.G=2,Tr.S=4,Tr.P=8,Tr.B=16,Tr.W=32,Tr.U=64,Tr.R=128;var Pr=Tr,Nr={}.toString,Mr=function(e){return Nr.call(e).slice(8,-1)},$r=Mr,Rr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$r(e)?e.split(""):Object(e)},Dr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Fr=Rr,Lr=Dr,Br=function(e){return Fr(Lr(e))},Ur=Math.ceil,Vr=Math.floor,zr=function(e){return isNaN(e=+e)?0:(e>0?Vr:Ur)(e)},Wr=zr,qr=Math.m
 in,Jr=function(e){return e>0?qr(Wr(e),9007199254740991):0},Hr=zr,Gr=Math.max,Xr=Math.min,Kr=function(e,t){return e=Hr(e),e<0?Gr(e+t,0):Xr(e,t)},Zr=Br,Qr=Jr,Yr=Kr,eo=Hn,to=eo["__core-js_shared__"]||(eo["__core-js_shared__"]={}),no=function(e){return to[e]||(to[e]={})},ro=no("keys"),oo=wr,io=function(e){return ro[e]||(ro[e]=oo(e))},ao=_r,so=Br,uo=function(e){return function(t,n,r){var o,i=Zr(t),a=Qr(i.length),s=Yr(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),co=io("IE_PROTO"),lo=function(e,t){var n,r=so(e),o=0,i=[];for(n in r)n!=co&&ao(r,n)&&i.push(n);for(;t.length>o;)ao(r,n=t[o++])&&(~uo(i,n)||i.push(n));return i},fo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),po=lo,ho=fo,vo=Object.keys||function(e){return po(e,ho)},mo=Object.getOwnPropertySymbols,yo={f:mo},_o={}.propertyIsEnumerable,go={f:_o},bo=Dr,wo=function(e){return Object(bo(e))},Oo
 =vo,So=yo,xo=go,Eo=wo,Co=Rr,ko=Object.assign,jo=!ko||Qn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ko({},e)[n]||Object.keys(ko({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Eo(e),o=arguments.length,i=1,a=So.f,s=xo.f;o>i;)for(var u,c=Co(n[i++]),l=a?Oo(c).concat(a(c)):Oo(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:ko,Ao=Pr;Ao(Ao.S+Ao.F,"Object",{assign:jo}),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,r.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 Io=Jn,To=Io.WXEnvironment;To&&"iOS"===To.platform&&(Jn.Promise=void 0);var Po=t(function(e){var t=no("wks"),n=wr,r=Hn.Symbol,o="function"==typeof r;(e.exports=func
 tion(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),No=Mr,Mo=Po("toStringTag"),$o="Arguments"==No(function(){return arguments}()),Ro=function(e,t){try{return e[t]}catch(e){}},Do=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ro(t=Object(e),Mo))?n:$o?No(t):"Object"==(r=No(t))&&"function"==typeof t.callee?"Arguments":r},Fo=Do,Lo={};Lo[Po("toStringTag")]="z",Lo+""!="[object z]"&&Or(Object.prototype,"toString",function(){return"[object "+Fo(this)+"]"},!0);var Bo=zr,Uo=Dr,Vo={},zo=dr,Wo=Zn,qo=vo,Jo=Yn?Object.defineProperties:function(e,t){Wo(e);for(var n,r=qo(t),o=r.length,i=0;o>i;)zo.f(e,n=r[i++],t[n]);return e},Ho=Hn.document&&document.documentElement,Go=Zn,Xo=Jo,Ko=fo,Zo=io("IE_PROTO"),Qo=function(){},Yo=function(){var e,t=rr("iframe"),n=Ko.length;for(t.style.display="none",Ho.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Yo=e.F;n--;)delete Yo.pro
 totype[Ko[n]];return Yo()},ei=Object.create||function(e,t){var n;return null!==e?(Qo.prototype=Go(e),n=new Qo,Qo.prototype=null,n[Zo]=e):n=Yo(),void 0===t?n:Xo(n,t)},ti=dr.f,ni=_r,ri=Po("toStringTag"),oi=function(e,t,n){e&&!ni(e=n?e:e.prototype,ri)&&ti(e,ri,{configurable:!0,value:t})},ii=ei,ai=pr,si=oi,ui={};mr(ui,Po("iterator"),function(){return this});var ci=function(e,t,n){e.prototype=ii(ui,{next:ai(1,n)}),si(e,t+" Iterator")},li=_r,fi=wo,di=io("IE_PROTO"),pi=Object.prototype,hi=Object.getPrototypeOf||function(e){return e=fi(e),li(e,di)?e[di]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?pi:null},vi=Pr,mi=Or,yi=mr,_i=_r,gi=Vo,bi=ci,wi=oi,Oi=hi,Si=Po("iterator"),xi=!([].keys&&"next"in[].keys()),Ei=function(){return this},Ci=function(e,t,n,r,o,i,a){bi(n,t,r);var s,u,c,l=function(e){if(!xi&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=
 t+" Iterator",d="values"==o,p=!1,h=e.prototype,v=h[Si]||h["@@iterator"]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Oi(_.call(new e)))!==Object.prototype&&(wi(c,f,!0),_i(c,Si)||yi(c,Si,Ei)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),(xi||p||!h[Si])&&yi(h,Si,m),gi[t]=m,gi[f]=Ei,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||mi(h,u,s[u]);else vi(vi.P+vi.F*(xi||p),t,s);return s},ki=function(e){return function(t,n){var r,o,i=String(Uo(t)),a=Bo(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<55296||r>56319||a+1===s||(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);Ci(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=ki(t,n),this._i+=e.length,{value:e,done:!1})});var ji=Po("unscopables"),Ai=Array.prototype;void 0==Ai[ji]&&mr(Ai,ji,{})
 ;var Ii=function(e){Ai[ji][e]=!0},Ti=function(e,t){return{value:t,done:!!e}},Pi=Ii,Ni=Ti,Mi=Vo,$i=Br,Ri=Ci(Array,"Array",function(e,t){this._t=$i(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,Ni(1)):"keys"==t?Ni(0,n):"values"==t?Ni(0,e[n]):Ni(0,[n,e[n]])},"values");Mi.Arguments=Mi.Array,Pi("keys"),Pi("values"),Pi("entries");for(var Di=Ri,Fi=Or,Li=Hn,Bi=mr,Ui=Vo,Vi=Po,zi=Vi("iterator"),Wi=Vi("toStringTag"),qi=Ui.Array,Ji=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Hi=0;Hi<5;Hi++){var Gi,Xi=Ji[Hi],Ki=Li[Xi],Zi=Ki&&Ki.prototype;if(Zi){Zi[zi]||Bi(Zi,zi,qi),Zi[Wi]||Bi(Zi,Wi,Xi),Ui[Xi]=qi;for(Gi in Di)Zi[Gi]||Fi(Zi,Gi,Di[Gi],!0)}}var Qi,Yi,ea,ta=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},na=Zn,ra=function(e,t,n,r){try{return r?t(na(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&na(o.call(e)),t}},oa=Vo,ia=Po("iterator")
 ,aa=Array.prototype,sa=function(e){return void 0!==e&&(oa.Array===e||aa[ia]===e)},ua=Do,ca=Po("iterator"),la=Vo,fa=Gn.getIteratorMethod=function(e){if(void 0!=e)return e[ca]||e["@@iterator"]||la[ua(e)]},da=t(function(e){var t=Er,n=ra,r=sa,o=Zn,i=Jr,a=fa,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if((m=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=n(v,_,h.value,c))===s||m===u)return m};c.BREAK=s,c.RETURN=u}),pa=Zn,ha=Sr,va=Po("species"),ma=function(e,t){var n,r=pa(e).constructor;return void 0===r||void 0==(n=pa(r)[va])?t:ha(n)},ya=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)},_a=Er,ga=ya,ba=Ho,wa=rr,Oa=Hn,Sa=Oa.process,xa=Oa.setImmediate,Ea=Oa.clearImmediate,Ca=Oa.MessageChannel,ka=0,ja={},Aa=function(){var e=+this;if(ja.hasOwnProperty(e)){var t=ja[e];delete ja[e],t()}},Ia=function(e){Aa.call(e.data)};xa&&Ea||(xa=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return ja[++ka]=function(){ga("function"==typeof e?e:Function(e),n)},Qi(ka),ka},Ea=function(e){delete ja[e]},"process"==Mr(Sa)?Qi=function(e){Sa.nextTick(_a(Aa,e,1))}:Ca?(Yi=new Ca,ea=Yi.port2,Yi.port1.onmessage=Ia,Qi=_a(ea.postMessage,ea,1)):Oa.addEventListener&&"function"==typeof postMessage&&!Oa.importScripts?(Qi=function(e){Oa.postMessage(e+"","*")},Oa.addEventListener("message",Ia,!1)):Qi="onreadystatechange"in wa("script")?function(e){ba.appendChild(wa("script")).onreadystatechange=function(){ba.removeChild(this),Aa.call(e)}}:function(e){setTimeout(_a(Aa,e,1),0)});var Ta={set:xa,clear:Ea},Pa=Hn,Na=T
 a.set,Ma=Pa.MutationObserver||Pa.WebKitMutationObserver,$a=Pa.process,Ra=Pa.Promise,Da="process"==Mr($a),Fa=Or,La=Hn,Ba=dr,Ua=Yn,Va=Po("species"),za=Po("iterator"),Wa=!1;try{var qa=[7][za]();qa.return=function(){Wa=!0},Array.from(qa,function(){throw 2})}catch(e){}var Ja,Ha,Ga,Xa=Hn,Ka=Er,Za=Do,Qa=Pr,Ya=Xn,es=Sr,ts=ta,ns=da,rs=ma,os=Ta.set,is=function(){var e,t,n,r=function(){var r,o;for(Da&&(r=$a.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(Da)n=function(){$a.nextTick(r)};else if(Ma){var o=!0,i=document.createTextNode("");new Ma(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Ra&&Ra.resolve){var a=Ra.resolve();n=function(){a.then(r)}}else n=function(){Na.call(Pa,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),as=Xa.TypeError,ss=Xa.process,us=Xa.Promise,ss=Xa.process,cs="process"==Za(ss),ls=function(){},fs=!!function(){try{var e=us.resolve(1),t=(e.constructor={})[Po("spec
 ies")]=function(e){e(ls,ls)};return(cs||"function"==typeof PromiseRejectionEvent)&&e.then(ls)instanceof t}catch(e){}}(),ds=function(e,t){return e===t||e===us&&t===Ga},ps=function(e){var t;return!(!Ya(e)||"function"!=typeof(t=e.then))&&t},hs=function(e){return ds(us,e)?new vs(e):new Ha(e)},vs=Ha=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw as("Bad Promise constructor");t=e,n=r}),this.resolve=es(t),this.reject=es(n)},ms=function(e){try{e()}catch(e){return{error:e}}},ys=function(e,t){if(!e._n){e._n=!0;var n=e._c;is(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,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&bs(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(as("Promise-chain cycle")):(i=ps(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&_s(e)})}},_s=function(e){os.call(Xa,function(){var t,n,r,o=e._v;if(gs(e)&&(t=ms(function(){cs?ss.emit("unhand
 ledRejection",o,e):(n=Xa.onunhandledrejection)?n({promise:e,reason:o}):(r=Xa.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=cs||gs(e)?2:1),e._a=void 0,t)throw t.error})},gs=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++],t.fail||!gs(t.promise))return!1;return!0},bs=function(e){os.call(Xa,function(){var t;cs?ss.emit("rejectionHandled",e):(t=Xa.onrejectionhandled)&&t({promise:e,reason:e._v})})},ws=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),ys(t,!0))},Os=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw as("Promise can't be resolved itself");(t=ps(e))?is(function(){var r={_w:n,_d:!1};try{t.call(e,Ka(Os,r,1),Ka(ws,r,1))}catch(e){ws.call(r,e)}}):(n._v=e,n._s=1,ys(n,!1))}catch(e){ws.call({_w:n,_d:!1},e)}}};fs||(us=function(e){ts(this,us,"Promise","_h"),es(e),Ja.call(this);try{e(Ka(Os,this,1),Ka(ws,this,1))}catch(e){ws.call(this,e)}},Ja=function(e){this._c=[],this._a=vo
 id 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ja.prototype=function(e,t,n){for(var r in t)Fa(e,r,t[r],n);return e}(us.prototype,{then:function(e,t){var n=hs(rs(this,us));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=cs?ss.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&ys(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),vs=function(){var e=new Ja;this.promise=e,this.resolve=Ka(Os,e,1),this.reject=Ka(ws,e,1)}),Qa(Qa.G+Qa.W+Qa.F*!fs,{Promise:us}),oi(us,"Promise"),function(e){var t=La[e];Ua&&t&&!t[Va]&&Ba.f(t,Va,{configurable:!0,get:function(){return this}})}("Promise"),Ga=Gn.Promise,Qa(Qa.S+Qa.F*!fs,"Promise",{reject:function(e){var t=hs(this);return(0,t.reject)(e),t.promise}}),Qa(Qa.S+Qa.F*!fs,"Promise",{resolve:function(e){if(e instanceof us&&ds(e.constructor,this))return e;var t=hs(this);return(0,t.resolve)(e),t.promise}}),Qa(Qa.S+Qa.F*!(fs&&function(e,t){if(!t&&!Wa)return!1;var n=!1;try{var r=[7],o=r
 [za]();o.next=function(){return{done:n=!0}},r[za]=function(){return o},e(r)}catch(e){}return n}(function(e){us.all(e).catch(ls)})),"Promise",{all:function(e){var t=this,n=hs(t),r=n.resolve,o=n.reject,i=ms(function(){var n=[],i=0,a=1;ns(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&&o(i.error),n.promise},race:function(e){var t=this,n=hs(t),r=n.reject,o=ms(function(){ns(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var Ss=["off","error","warn","info","log","debug"],xs={},Es=global.console,Cs=global.setTimeout,ks=global.setTimeoutNative;s();var js=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};js.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},js.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},js.prototype.consume=function(e,t,n){v
 ar r=this.callbacks[e];return void 0!==n&&!1!==n||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},js.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var As={},Is=1;k.prototype.destroy=function(){var e=h(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Ts,Ps={},Ns="div";A.prototype=Object.create(k.prototype),A.prototype.constructor=A,function(e){Ts=e}(A),Object.assign(A.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(E(e,this.children,this.children.length,!0),1===e.nodeType){var t=E(e,this.pureChildren,this.pureChildren.length),n=m(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(w(e,this),x(e,this.children,this.children.length,!0),this.docId&&I(this.docId,e),1===e.nodeType){x(e,this.pureChildren,this.pureChildren.length);var r=m(this.docId);if(r)retur
 n 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(E(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=O(t),r=E(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=m(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t),!0),this.docId&&I(this.docId,e),1===e.nodeType){var i=O(t),a=x(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=m(this.docId);if(s)return s.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(E(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=E(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),r=m(
 this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&I(this.docId,e),1===e.nodeType){var o=x(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),i=m(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(C(e,this.children,!0),1===e.nodeType)){C(e,this.pureChildren);var n=m(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=m(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=m(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.s
 tyle[e]=t;var r=m(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=m(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=m(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=m(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t){var n=this.event[e];if(n)return n.call(this,t)},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 Ms=function(){},$s=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new js}),Ms=t||function(){}};$s.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},$s.prototype.destroyCallback=function(){return this.callbackManager.close()},$s.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},$s.prototype.normalize=function(e){switch(this.typof(e)){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 instanceof A?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSO
 N.stringify(e)}},$s.prototype.send=function(e,t,n){var r=this,o=t.action,i=t.component,a=t.ref,s=t.module,u=t.method;switch(n=n.map(function(e){return r.normalize(e)}),e){case"dom":return this[o](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,a,u,n,{component:i});default:return this.moduleHandler(this.instanceId,s,u,n,{})}},$s.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},$s.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},$s.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var Rs,Ds,Fs=[],Ls=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Bs={},Us={createInstance:F,registerService:P,unregisterService:N};W.prototype=Object.create(k.prototype),W.prototype.constructor=W,W.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(q.prototype,{createFinish:function(e){return(0,this.handler)([J("createFinish")],e)},updateFinish:function(e){
 return(0,this.handler)([J("updateFinish")],e)},refreshFinish:function(e){return(0,
-this.handler)([J("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[J("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return J("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(J("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return J("removeElement",[e])});return this.addActions(t)}return this.addActions(J("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(J("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(J("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[t]=n,this.addActions(J("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(J("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(J("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(J("removeEvent",[e,t]))},handler:funct
 ion(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 Vs={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};K.handler=null,Object.assign(K.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 A("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)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,wr
 itable:!0,value:function(t,n){_(e,t,n)}})}return this.documentElement},createBody:function(e,t){if(!this.body){b(this,new A(e,t))}return this.body},createElement:function(e,t){return new A(e,t)},createComment:function(e){return new W(e)},fireEvent:function(e,t,n,r){if(e)return n=n||{},n.type=t,n.target=e,n.timestamp=Date.now(),r&&Z(e,r),e.fireEvent(t,n)},destroy:function(){delete this.listener,delete this.nodeMap,v(this.id)}});var zs={Document:K,Element:A,Comment:W,Listener:q,TaskCenter:$s,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return global.callNative.apply(global,e)}};K.handler=zs.sendTasks;var Ws,qs={setNativeConsole:n,resetNativeConsole:r,setNativeTimer:s,resetNativeTimer:u,service:{register:P,unregister:N,has:M},freezePrototype:Q,init:z,config:zs},Js={},Hs={},Gs=Y,Xs=ee,Ks=te,Zs=ne,Qs=re,Ys=oe,eu=ie,tu=ae,nu=se,ru=ue,ou={init:Gs,registerComponents:Xs,registerModules:Ks,registerMethods:Zs,prepareInstance:Qs,createInstance:Ys,refreshInstance:e
 u,destroyInstance:tu,getRoot:nu,receiveTasks:ru},iu=Object.freeze({default:ou,__moduleExports:ou,init:Gs,registerComponents:Xs,registerModules:Ks,registerMethods:Zs,prepareInstance:Qs,createInstance:Ys,refreshInstance:eu,destroyInstance:tu,getRoot:nu,receiveTasks:ru}),au=function(e,t){function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e);return isNaN(t)?e:t}function o(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]}}function i(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function a(e,t){return an.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(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 l(e
 ,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return ln.call(e)===fn}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function v(){}function m(e,t){var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function y(e,t){for(var n=0;n<e.length;n++)if(m(e[n],t))return n;return-1}function _(e){var t=!1;return function(){t||(t=!0,e())}}function g(e){return/native code/.test(e.toString())}function b(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function w(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function O(e){if(!En.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}}}function S(e){jn.target&&An.push(jn.target),jn.target=e}function x(){jn.ta
 rget=An.pop()}function E(e,t){e.__proto__=t}function C(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];w(e,i,t[i])}}function k(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof Mn?n=e.__ob__:Nn.shouldConvert&&!bn()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Mn(e)),t&&n&&n.vmCount++,n}}function j(e,t,n,r){var o=new jn,i=Object.getOwnPropertyDescriptor(e,t);if(!i||!1!==i.configurable){var a=i&&i.get,s=i&&i.set,u=k(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return jn.target&&(o.depend(),u&&u.dep.depend(),Array.isArray(t)&&T(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,u=k(t),o.notify())}})}}function A(e,t,n){if(Array.isArray(e))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(a(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(j(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function I(e,t){if(Array.isArray(e))return void e.splice(t,
 1);var n=e.__ob__;e._isVue||n&&n.vmCount||a(e,t)&&(delete e[t],n&&n.dep.notify())}function T(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&T(t)}function P(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),s=0;s<i.length;s++)n=i[s],r=e[n],o=t[n],a(e,n)?p(r)&&p(o)&&P(r,o):A(e,n,o);return e}function N(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function M(e,t){var n=Object.create(e||null);return t?f(n,t):n}function $(e){var t=e.props;if(t){var n,r,o,i={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o=sn(r),i[o]={type:null});else if(p(t))for(var a in t)r=t[a],o=sn(a),i[o]=p(r)?r:{type:r};e.props=i}}function R(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})}}function D(e,t,n){function r(r){var o=$n[r]||Rn;l[r]=o(e[r],t[r],n,r)}$(t),R(t);var o=t.extends;if(o&&(e="function"==typeof o?D(e,o.options,n):D(e,o,n)),t.mixins)for(var i=0,s=t.mixins.length;i
 <s;i++){var u=t.mixins[i];u.prototype instanceof rt&&(u=u.options),e=D(e,u,n)}var c,l={};for(c in e)r(c);for(c in t)a(e,c)||r(c);return l}function F(e,t,n,r){if("string"==typeof n){var o=e[t];if(a(o,n))return o[n];var i=sn(n);if(a(o,i))return o[i];var s=un(i);if(a(o,s))return o[s];var u=o[n]||o[i]||o[s];return u}}function L(e,t,n,r){var o=t[e],i=!a(n,e),s=n[e];if(V(Boolean,o.type)&&(i&&!a(o,"default")?s=!1:V(String,o.type)||""!==s&&s!==cn(e)||(s=!0)),void 0===s){s=B(r,o,e);var u=Nn.shouldConvert;Nn.shouldConvert=!0,k(s),Nn.shouldConvert=u}return s}function B(e,t,n){if(a(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==U(t.type)?r.call(e):r}}function U(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function V(e,t){if(!Array.isArray(t))return U(t)===U(e);for(var n=0,r=t.length;n<r;n++)if(U(t[n])===U(e))return!0;return!1}function z(e,t,n){if(hn.errorHa
 ndler)hn.errorHandler.call(null,e,t,n);else{if(!mn||"undefined"==typeof console)throw e;console.error(e)}}function W(e){return new Dn(void 0,void 0,void 0,String(e))}function q(e){var t=new Dn(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isCloned=!0,t}function J(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=q(e[r]);return n}function H(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function G(e,t,n,r,o){var i,a,s,u;for(i in e)a=e[i],s=t[i],u=Un(i),a&&(s?a!==s&&(s.fns=a,e[i]=s):(a.fns||(a=e[i]=H(a)),n(u.name,a,u.once,u.capture)));for(i in t)e[i]||(u=Un(i),r(u.name,t[i],u.capture))}function X(e,t,n){function r(){n.apply(this,arguments),i(o.fns,r)}var o,a=e[t];a?a.fns&&a.merged?(o=a,o.fns.push(r)):o=H([a,r]):o=H([r]),o.merged=!0,e[t]=o}function K(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))
 return Array.prototype.concat.apply([],e);return e}function Z(e){return s(e)?[W(e)]:Array.isArray(e)?Q(e):void 0}function Q(e,t){var n,r,o,i=[];for(n=0;n<e.length;n++)null!=(r=e[n])&&"boolean"!=typeof r&&(o=i[i.length-1],Array.isArray(r)?i.push.apply(i,Q(r,(t||"")+"_"+n)):s(r)?o&&o.text?o.text+=String(r):""!==r&&i.push(W(r)):r.text&&o&&o.text?i[i.length-1]=W(o.text+r.text):(r.tag&&null==r.key&&null!=t&&(r.key="__vlist"+t+"_"+n+"__"),i.push(r)));return i}function Y(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function ee(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&re(e,t)}function te(e,t,n){n?Ln.$once(e,t):Ln.$on(e,t)}function ne(e,t){Ln.$off(e,t)}function re(e,t,n){Ln=e,G(t,n||{},te,ne,e)}function oe(e,t){var n={};if(!e)return n;for(var r,o,i=[],a=0,s=e.length;a<s;a++)if(o=e[a],(o.context===t||o.functionalContext===t)&&o.data&&(r=o.data.slot)){var u=n[r]||(n[r]=[]);"template"===o.tag?u.push.apply(u,o.children):u.pus
 h(o)}else i.push(o);return i.every(ie)||(n.default=i),n}function ie(e){return e.isComment||" "===e.text}function ae(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}function se(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 ue(e,t,n){e.$el=t,e.$options.render||(e.$options.render=Bn),pe(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new Kn(e,r,v),n=!1,null==e.$vnode&&(e._isMounted=!0,pe(e,"mounted")),e}function ce(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==xn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,t&&e.$options.props){Nn.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u
 <s.length;u++){var c=s[u];a[c]=L(c,e.$options.props,t,e)}Nn.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,re(e,n,l)}i&&(e.$slots=oe(o,r.context),e.$forceUpdate())}function le(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fe(e,t){if(t){if(e._directInactive=!1,le(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++)fe(e.$children[n]);pe(e,"activated")}}function de(e,t){if(!(t&&(e._directInactive=!0,le(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)de(e.$children[n]);pe(e,"deactivated")}}function pe(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){z(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function he(){zn.length=0,Wn={},qn=Hn=!1}function ve(){Hn=!0;var e,t,n;for(zn.sort(function(e,t){return e.id-t.id}),Gn=0;Gn<zn.length;Gn++)e=zn[Gn],t=e.id,Wn[t]=null,e.
 run();for(Gn=zn.length;Gn--;)e=zn[Gn],n=e.vm,n._watcher===e&&n._isMounted&&pe(n,"updated");wn&&hn.devtools&&wn.emit("flush"),he()}function me(e){var t=e.id;if(null==Wn[t]){if(Wn[t]=!0,Hn){for(var n=zn.length-1;n>=0&&zn[n].id>e.id;)n--;zn.splice(Math.max(n,Gn)+1,0,e)}else zn.push(e);qn||(qn=!0,Sn(ve))}}function ye(e){Zn.clear(),_e(e,Zn)}function _e(e,t){var n,r,o=Array.isArray(e);if((o||d(e))&&Object.isExtensible(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)_e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)_e(e[r[n]],t)}}function ge(e,t,n){Qn.get=function(){return this[t][n]},Qn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Qn)}function be(e){e._watchers=[];var t=e.$options;t.props&&we(e,t.props),t.methods&&Ce(e,t.methods),t.data?Oe(e):k(e._data={},!0),t.computed&&Se(e,t.computed),t.watch&&ke(e,t.watch)}function we(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Nn.shouldConvert=i;for
 (var a in t)!function(i){o.push(i);var a=L(i,t,n,e);j(r,i,a),i in e||ge(e,"_props",i)}(a);Nn.shouldConvert=!0}function Oe(e){var t=e.$options.data;t=e._data="function"==typeof t?t.call(e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&a(r,n[o])||b(n[o])||ge(e,"_data",n[o]);k(t,!0)}function Se(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var o=t[r],i="function"==typeof o?o:o.get;n[r]=new Kn(e,i,v,Yn),r in e||xe(e,r,o)}}function xe(e,t,n){"function"==typeof n?(Qn.get=Ee(t),Qn.set=v):(Qn.get=n.get?!1!==n.cache?Ee(t):n.get:v,Qn.set=n.set?n.set:v),Object.defineProperty(e,t,Qn)}function Ee(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),jn.target&&t.depend(),t.value}}function Ce(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?v:c(t[n],e)}function ke(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)je(e,n,r[o]);else je(e,n,r)}}function j
 e(e,t,n){var r;p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Ae(e,t,n,r,o){if(e){var i=n.$options._base;if(d(e)&&(e=i.extend(e)),"function"==typeof e){if(!e.cid)if(e.resolved)e=e.resolved;else if(!(e=Pe(e,i,function(){n.$forceUpdate()})))return;et(e),t=t||{},t.model&&De(e.options,t);var a=Ne(t,e);if(e.options.functional)return Ie(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),$e(t);var u=e.options.name||o;return new Dn("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:s,tag:o,children:r})}}}function Ie(e,t,n,r,o){var i={},a=e.options.props;if(a)for(var s in a)i[s]=L(s,a,t);var u=Object.create(r),c=function(e,t,n,r){return Fe(u,e,t,n,r,!0)},l=e.options.render.call(null,c,{props:i,data:n,parent:r,children:o,slots:function(){return oe(o,r)}});return l instanceof Dn&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function Te(e,t,n,r){var o=e.componentOptions,i={_isComponent:
 !0,parent:t,propsData:o.propsData,_componentTag:o.tag,_parentVnode:e,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return a&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new o.Ctor(i)}function Pe(e,t,n){if(!e.requested){e.requested=!0;var r=e.pendingCallbacks=[n],o=!0,i=function(n){if(d(n)&&(n=t.extend(n)),e.resolved=n,!o)for(var i=0,a=r.length;i<a;i++)r[i](n)},a=function(e){},s=e(i,a);return s&&"function"==typeof s.then&&!e.resolved&&s.then(i,a),o=!1,e.resolved}e.pendingCallbacks.push(n)}function Ne(e,t){var n=t.options.props;if(n){var r={},o=e.attrs,i=e.props,a=e.domProps;if(o||i||a)for(var s in n){var u=cn(s);Me(r,i,s,u,!0)||Me(r,o,s,u)||Me(r,a,s,u)}return r}}function Me(e,t,n,r,o){if(t){if(a(t,n))return e[n]=t[n],o||delete t[n],!0;if(a(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function $e(e){e.hook||(e.hook={});for(var t=0;t<tr.length;t++){var n=tr[t],r=e.hook[n],o=er[n];e.hook[n]=r?Re(o,r):o
 }}function Re(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function De(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={});o[r]?o[r]=[t.model.callback].concat(o[r]):o[r]=t.model.callback}function Fe(e,t,n,r,o,i){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i&&(o=rr),Le(e,t,n,r,o)}function Le(e,t,n,r,o){if(n&&n.__ob__)return Bn();if(!t)return Bn();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===rr?r=Z(r):o===nr&&(r=K(r));var i,a;if("string"==typeof t){var s;a=hn.getTagNamespace(t),i=hn.isReservedTag(t)?new Dn(hn.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=F(e.$options,"components",t))?Ae(s,n,e,r,t):new Dn(t,n,r,void 0,void 0,e)}else i=Ae(t,n,e,r);return i?(a&&Be(i,a),i):Bn()}function Be(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n=0,r=e.children.length;n<r;n++){var o=e.children[n];o.tag&&!o.ns&&Be(o,t)}}function Ue(e
 ,t){var n,r,o,i,a;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(d(e))for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;r<o;r++)a=i[r],n[r]=t(e[a],a,r);return n}function Ve(e,t,n,r){var o=this.$scopedSlots[e];if(o)return n=n||{},r&&f(n,r),o(n)||t;var i=this.$slots[e];return i||t}function ze(e){return F(this.$options,"filters",e,!0)||pn}function We(e,t,n){var r=hn.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function qe(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=h(n));var o;for(var i in n){if("class"===i||"style"===i)o=e;else{var a=e.attrs&&e.attrs.type;o=r||hn.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}i in o||(o[i]=n[i])}}else;return e}function Je(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?J(n):q(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProx
 y),Ge(n,"__static__"+e,!1),n)}function He(e,t,n){return Ge(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ge(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Xe(e[r],t+"_"+r,n);else Xe(e,t,n)}function Xe(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Ke(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$options._parentVnode,n=t&&t.context;e.$slots=oe(e.$options._renderChildren,n),e.$scopedSlots=xn,e._c=function(t,n,r,o){return Fe(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Fe(e,t,n,r,o,!0)}}function Ze(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Qe(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),r=n?t:On?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++)for(var i=r[o],a=n?i:t[i],s=e;s;){if(s._provided&&a in s._provided){e[i]=s._provided[a];break}s=s.$parent}}function Ye(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._p
 arentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function et(e){var t=e.options;if(e.super){var n=et(e.super);if(n!==e.superOptions){e.superOptions=n;var r=tt(e);r&&f(e.extendOptions,r),t=e.options=D(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function tt(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=nt(n[o],r[o]));return t}function nt(e,t){if(Array.isArray(e)){var n=[];t=Array.isArray(t)?t:[t];for(var r=0;r<e.length;r++)t.indexOf(e[r])<0&&n.push(e[r]);return n}return e}function rt(e){this._init(e)}function ot(e){e.use=function(e){if(!e.installed){var t=l(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}}function it(e){e.mixin=function(e){this
 .options=D(this.options,e)}}function at(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,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=D(n.options,e),a.super=n,a.options.props&&st(a),a.options.computed&&ut(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,hn._assetTypes.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=f({},a.options),o[r]=a,a}}function st(e){var t=e.options.props;for(var n in t)ge(e.prototype,"_props",n)}function ut(e){var t=e.options.computed;for(var n in t)xe(e.prototype,n,t[n])}function ct(e){hn._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+
 "s"][e]}})}function lt(e){return e&&(e.Ctor.options.name||e.tag)}function ft(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e instanceof RegExp&&e.test(t)}function dt(e,t){for(var n in e){var r=e[n];if(r){var o=lt(r.componentOptions);o&&!t(o)&&(pt(r),e[n]=null)}}}function pt(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function ht(e){return new t.Element(e)}function vt(e,n){return new t.Element(e+":"+n)}function mt(e){return new t.TextNode(e)}function yt(e){return new t.Comment(e)}function _t(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=ht("text");r.setAttr("value",t.text),e.insertBefore(r,n)}}function gt(e,t){if(3===t.nodeType)return void e.setAttr("value","");e.removeChild(t)}function bt(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=ht("text");n.setAttr("value",t.te
 xt),e.appendChild(n)}}function wt(e){return e.parentNode}function Ot(e){return e.nextSibling}function St(e){return e.type}function xt(e,t){e.parentNode.setAttr("value",t)}function Et(e,t,n){e.setAttr(t,n)}function Ct(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?i(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(o)<0?a[n].push(o):a[n]=[o]:a[n]=o}}function kt(e){return null==e}function jt(e){return null!=e}function At(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function It(e,t,n){var r,o,i={};for(r=t;r<=n;++r)o=e[r].key,jt(o)&&(i[o]=r);return i}function Tt(e,t){(e.data.directives||t.data.directives)&&Pt(e,t)}function Pt(e,t){var n,r,o,i=e===dr,a=t===dr,s=Nt(e.data.directives,e.context),u=Nt(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,$t(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):($t(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++)$t(c[n],"inserted",t,e)};i?X(t.data.hook||(t.data.hook={}),"insert",f):f()}if(l.length&&X(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)$t(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||$t(s[n],"unbind",e,e,a)}function Nt(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=vr),n[Mt(o)]=o,o.def=F(t.$options,"directives",o.name,!0);return n}function Mt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function $t(e,t,n,r,o){var i=e.def&&e.def[t];i&&i(n.elm,e,n,r,o)}function Rt(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=f({},a));for(n in a)r=a[n],i[n]!==r&&o.setAttr(n,r);for(n in i)null==a[n]&&o.setAttr(n)}}function Dt(e,t){var n=t.elm,r=t.context,o=t.data,i=e.data;if(o.staticClass||o.class||i&&(i.staticClass
 ||i.class)){var a=[],s=i.staticClass;s&&a.push.apply(a,s),i.class&&a.push.apply(a,i.class);var u=[],c=o.staticClass;c&&u.push.apply(u,c),o.class&&u.push.apply(u,o.class);var l=Ft(a,u,r);for(var f in l)n.setStyle(f,l[f])}}function Ft(e,t,n){var r=n.$options.style||{},o={};return t.forEach(function(e){f(o,r[e])}),e.forEach(function(e){var t=r[e];for(var n in t)o.hasOwnProperty(n)||(o[n]="")}),o}function Lt(e,t,n,r){if(r)return void console.log("Weex do not support event in bubble phase.");if(n){var o=t,i=ur;t=function(t){null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Bt(e,null,null,i)}}ur.addEvent(e,t)}function Bt(e,t,n,r){(r||ur).removeEvent(e)}function Ut(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};ur=t.elm,G(n,r,Lt,Bt,t.context)}}function Vt(e,t){if(!t.data.staticStyle)return void zt(e,t);var n=t.elm,r=t.data.staticStyle;for(var o in r)r[o]&&n.setStyle(br(o),r[o]);zt(e,t)}function zt(e,t){if(e.data.style||t.data.style){var n,r,o=t.elm,i=e.data.sty
 le||{},a=t.data.style||{},s=a.__ob__;Array.isArray(a)&&(a=t.data.style=Wt(a)),s&&(a=t.data.style=f({},a));for(r in i)a[r]||o.setStyle(br(r),"");for(r in a)n=a[r],o.setStyle(br(r),n)}}function Wt(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function qt(e){if(e){if("object"==typeof e){v

<TRUNCATED>


[41/50] [abbrv] incubator-weex git commit: * [android] x86 rename to weexjsc

Posted by so...@apache.org.
* [android] x86 rename to weexjsc


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/528cf7b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/528cf7b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/528cf7b7

Branch: refs/heads/dev
Commit: 528cf7b79c327ce4ca357418cde6bf380f0cafe6
Parents: 73995da
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 17:20:41 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 17:20:41 2017 +0800

----------------------------------------------------------------------
 android/sdk/build.gradle           |   2 +-
 android/sdk/libs/x86/libweexjsc.so | Bin 0 -> 4545544 bytes
 android/sdk/libs/x86/libweexv8.so  | Bin 4545544 -> 0 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/528cf7b7/android/sdk/build.gradle
----------------------------------------------------------------------
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 60753d8..9e76745 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -62,7 +62,7 @@ android {
 
 
     def ARMEABI_Size = new File(projectDir,"libs/armeabi/libweexjsc.so").length();
-    def X86_Size = new File(projectDir,"libs/x86/libweexv8.so").length();
+    def X86_Size = new File(projectDir,"libs/x86/libweexjsc.so").length();
     println "ARMEABI_Size: "+ARMEABI_Size;
     println "X86_Size:" + X86_Size;
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/528cf7b7/android/sdk/libs/x86/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/x86/libweexjsc.so b/android/sdk/libs/x86/libweexjsc.so
new file mode 100755
index 0000000..d60dce1
Binary files /dev/null and b/android/sdk/libs/x86/libweexjsc.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/528cf7b7/android/sdk/libs/x86/libweexv8.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/x86/libweexv8.so b/android/sdk/libs/x86/libweexv8.so
deleted file mode 100755
index d60dce1..0000000
Binary files a/android/sdk/libs/x86/libweexv8.so and /dev/null differ


[27/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8e120a93
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8e120a93
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8e120a93

Branch: refs/heads/dev
Commit: 8e120a9398d6e8de956aa360424204885a53d4a0
Parents: fb1325f 536beb0
Author: sospartan <so...@apache.org>
Authored: Sun Apr 23 11:46:42 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Sun Apr 23 11:46:42 2017 +0800

----------------------------------------------------------------------
 WeexSDK.podspec                                               | 1 +
 ios/playground/Podfile                                        | 2 +-
 ios/sdk/WeexSDK/Sources/Component/WXListComponent.m           | 5 ++++-
 ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m             | 6 ++++++
 ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m          | 7 +++++--
 ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h    | 3 +++
 .../Sources/Network/WXResourceRequestHandlerDefaultImpl.m     | 6 ++++++
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h                   | 4 ++--
 8 files changed, 28 insertions(+), 6 deletions(-)
----------------------------------------------------------------------



[42/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

* '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex:


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/18ecaeab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/18ecaeab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/18ecaeab

Branch: refs/heads/dev
Commit: 18ecaeab2951360c87c13f7d66098ecabcfd2f27
Parents: 528cf7b c2ab581
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 17:22:41 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 17:22:41 2017 +0800

----------------------------------------------------------------------

----------------------------------------------------------------------



[26/50] [abbrv] incubator-weex git commit: * [all] rename NOTICE file

Posted by so...@apache.org.
* [all] rename NOTICE file


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/fb1325f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/fb1325f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/fb1325f5

Branch: refs/heads/dev
Commit: fb1325f5c7d2ed462bb1fe19c68a237645b200f3
Parents: 2a862c9
Author: sospartan <so...@apache.org>
Authored: Sun Apr 23 11:45:47 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Sun Apr 23 11:45:47 2017 +0800

----------------------------------------------------------------------
 NOTICE                        | 96 --------------------------------------
 POSSIBLE-NOTICES-FOR-BIN-DIST | 96 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+), 96 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fb1325f5/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
deleted file mode 100644
index 8ceccd9..0000000
--- a/NOTICE
+++ /dev/null
@@ -1,96 +0,0 @@
-Apache Weex
-Copyright 2017 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-This product contains software semver(http://semver.org/) developed
-by Tom Preston-Werner , licensed under the Creative Commons - CC BY 3.0 License.
-
-This product contains software core-js(https://github.com/zloirock/core-js) developed
-by Denis Pushkarev , licensed under the MIT License.
-
-This product contains software animaitonjs(https://www.npmjs.com/package/animationjs) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software cubicbezier(https://www.npmjs.com/package/cubicbezier) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software envd(https://www.npmjs.com/package/envd) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software httpurl(https://www.npmjs.com/package/httpurl) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software lazyimg(https://www.npmjs.com/package/lazyimg) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software modals(https://www.npmjs.com/package/modals) developed
-by mr.raindrop  , licensed under the MIT License.
-
-This product contains software query-string(https://www.npmjs.com/package/query-string) developed
-by sindresorhus  , licensed under the MIT License.
-
-This product contains software weex-picker(https://www.npmjs.com/package/weex-picker) developed
-by abigtree  , licensed under the Apache 2.0 License.
-
-This product contains software weex-rax-framework(https://www.npmjs.com/package/weex-rax-framework) developed
-by yuanyan  , licensed under the BSD-3-Clause License.
-
-This product contains software weex-vue-framework(https://www.npmjs.com/package/weex-vue-framework) developed
-by fkysly  , licensed under the MIT License.
-
-This product contains software weex-styler(https://www.npmjs.com/package/weex-styler) developed
-by songsiqi  , licensed under the MIT License.
-
-This product contains software vuejs(https://github.com/vuejs/vue) developed
-by Yuxi Evan You , licensed under the MIT License.
-
-This product contains software scroll-to (https://github.com/component/scroll-to) developed
-by TooTallNate , licensed under the MIT License.
-
-This product contains software inline-style-prefixer
-(https://github.com/rofrischmann/inline-style-prefixer) developed by
-rofrischmann , licensed under the MIT License.
-
-This product contains software fastjson(https://github.com/alibaba/fastjson) developed
-by alibaba inc.  , licensed under the Apache 2.0 License.
-
-This product contains software dexposed(https://github.com/alibaba/dexposed) developed
-by alibaba inc.  , licensed under the Apache 2.0 License.
-
-This product contains software loopj(https://github.com/loopj/android-async-http) developed
-by loopj , licensed under the Apache 2.0 License.
-
-This product contains software fresco(https://github.com/facebook/fresco) developed
-by facebook , licensed under the BSD-3-Clause License.
-
-This product contains software animated-gif(https://github.com/facebook/fresco) developed
-by facebook , licensed under the BSD-3-Clause License.
-
-This product contains software yoga(https://github.com/facebook/yoga) developed
-by facebook , licensed under the BSD-3-Clause License.
-
-This product contains software SocketRocket(https://github.com/facebook/SocketRocket) developed
-by facebook , licensed under the BSD-3-Clause License.
-
-This product contains software zxing(https://github.com/zxing/zxing) developed
-by zxing , licensed under the Apache 2.0 License.
-
-This product contains software okhttp(https://github.com/square/okhttp) developed
-by square , licensed under the Apache 2.0 License.
-
-This product contains software okio(https://github.com/square/okio) developed
-by square , licensed under the Apache 2.0 License.
-
-This product contains software scalpel(https://github.com/JakeWharton/scalpel) developed
-by Jake Wharton , licensed under the Apache 2.0 License.
-
-This product contains software espresso-idling-resource(https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/) developed
-by google , licensed under the Apache 2.0 License.
-
-This product contains software AOSP(https://source.android.com/) developed
-by The Android Open Source Project , licensed under the Apache 2.0 License.
-
-This product contains software SDWebImage(https://github.com/rs/SDWebImage) developed
-by Olivier Poitrey  , licensed under the MIT License.

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fb1325f5/POSSIBLE-NOTICES-FOR-BIN-DIST
----------------------------------------------------------------------
diff --git a/POSSIBLE-NOTICES-FOR-BIN-DIST b/POSSIBLE-NOTICES-FOR-BIN-DIST
new file mode 100644
index 0000000..8ceccd9
--- /dev/null
+++ b/POSSIBLE-NOTICES-FOR-BIN-DIST
@@ -0,0 +1,96 @@
+Apache Weex
+Copyright 2017 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This product contains software semver(http://semver.org/) developed
+by Tom Preston-Werner , licensed under the Creative Commons - CC BY 3.0 License.
+
+This product contains software core-js(https://github.com/zloirock/core-js) developed
+by Denis Pushkarev , licensed under the MIT License.
+
+This product contains software animaitonjs(https://www.npmjs.com/package/animationjs) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software cubicbezier(https://www.npmjs.com/package/cubicbezier) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software envd(https://www.npmjs.com/package/envd) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software httpurl(https://www.npmjs.com/package/httpurl) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software lazyimg(https://www.npmjs.com/package/lazyimg) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software modals(https://www.npmjs.com/package/modals) developed
+by mr.raindrop  , licensed under the MIT License.
+
+This product contains software query-string(https://www.npmjs.com/package/query-string) developed
+by sindresorhus  , licensed under the MIT License.
+
+This product contains software weex-picker(https://www.npmjs.com/package/weex-picker) developed
+by abigtree  , licensed under the Apache 2.0 License.
+
+This product contains software weex-rax-framework(https://www.npmjs.com/package/weex-rax-framework) developed
+by yuanyan  , licensed under the BSD-3-Clause License.
+
+This product contains software weex-vue-framework(https://www.npmjs.com/package/weex-vue-framework) developed
+by fkysly  , licensed under the MIT License.
+
+This product contains software weex-styler(https://www.npmjs.com/package/weex-styler) developed
+by songsiqi  , licensed under the MIT License.
+
+This product contains software vuejs(https://github.com/vuejs/vue) developed
+by Yuxi Evan You , licensed under the MIT License.
+
+This product contains software scroll-to (https://github.com/component/scroll-to) developed
+by TooTallNate , licensed under the MIT License.
+
+This product contains software inline-style-prefixer
+(https://github.com/rofrischmann/inline-style-prefixer) developed by
+rofrischmann , licensed under the MIT License.
+
+This product contains software fastjson(https://github.com/alibaba/fastjson) developed
+by alibaba inc.  , licensed under the Apache 2.0 License.
+
+This product contains software dexposed(https://github.com/alibaba/dexposed) developed
+by alibaba inc.  , licensed under the Apache 2.0 License.
+
+This product contains software loopj(https://github.com/loopj/android-async-http) developed
+by loopj , licensed under the Apache 2.0 License.
+
+This product contains software fresco(https://github.com/facebook/fresco) developed
+by facebook , licensed under the BSD-3-Clause License.
+
+This product contains software animated-gif(https://github.com/facebook/fresco) developed
+by facebook , licensed under the BSD-3-Clause License.
+
+This product contains software yoga(https://github.com/facebook/yoga) developed
+by facebook , licensed under the BSD-3-Clause License.
+
+This product contains software SocketRocket(https://github.com/facebook/SocketRocket) developed
+by facebook , licensed under the BSD-3-Clause License.
+
+This product contains software zxing(https://github.com/zxing/zxing) developed
+by zxing , licensed under the Apache 2.0 License.
+
+This product contains software okhttp(https://github.com/square/okhttp) developed
+by square , licensed under the Apache 2.0 License.
+
+This product contains software okio(https://github.com/square/okio) developed
+by square , licensed under the Apache 2.0 License.
+
+This product contains software scalpel(https://github.com/JakeWharton/scalpel) developed
+by Jake Wharton , licensed under the Apache 2.0 License.
+
+This product contains software espresso-idling-resource(https://google.github.io/android-testing-support-library/docs/espresso/idling-resource/) developed
+by google , licensed under the Apache 2.0 License.
+
+This product contains software AOSP(https://source.android.com/) developed
+by The Android Open Source Project , licensed under the Apache 2.0 License.
+
+This product contains software SDWebImage(https://github.com/rs/SDWebImage) developed
+by Olivier Poitrey  , licensed under the MIT License.


[18/50] [abbrv] incubator-weex git commit: * [ios] protect crash when access nil address

Posted by so...@apache.org.
* [ios] protect crash when access nil address


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/7bde63a1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7bde63a1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7bde63a1

Branch: refs/heads/dev
Commit: 7bde63a190376363b2cc13ef35b3daded0c930c2
Parents: fee493b
Author: acton393 <zh...@gmail.com>
Authored: Fri Apr 21 17:29:31 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Apr 21 17:29:31 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7bde63a1/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m
index 2ebc098..b4a29e3 100644
--- a/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m
+++ b/ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m
@@ -220,8 +220,11 @@ static css_node_t * rootNodeGetChild(void *context, int i)
 - (void)_recursivelyAddComponent:(NSDictionary *)componentData toSupercomponent:(WXComponent *)supercomponent atIndex:(NSInteger)index appendingInTree:(BOOL)appendingInTree
 {
     WXComponent *component = [self _buildComponentForData:componentData];
-    
-    index = (index == -1 ? supercomponent->_subcomponents.count : index);
+    if (!supercomponent.subcomponents) {
+        index = 0;
+    } else {
+        index = (index == -1 ? supercomponent->_subcomponents.count : index);
+    }
     
     [supercomponent _insertSubcomponent:component atIndex:index];
     // use _lazyCreateView to forbid component like cell's view creating


[24/50] [abbrv] incubator-weex git commit: * [android] fix emoji bug on score

Posted by so...@apache.org.
* [android] fix emoji bug on score


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/51f709bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/51f709bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/51f709bb

Branch: refs/heads/dev
Commit: 51f709bb00e689ea26cb911b4715f119e7ef1a11
Parents: 9381c91
Author: zshshr <zh...@gmail.com>
Authored: Fri Apr 21 19:02:31 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Fri Apr 21 19:02:31 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsc.so          | Bin 7816288 -> 7816368 bytes
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |   2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/51f709bb/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index f251043..1abbcef 100755
Binary files a/android/sdk/libs/armeabi/libweexjsc.so and b/android/sdk/libs/armeabi/libweexjsc.so differ

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/51f709bb/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
index d280191..75b4840 100644
--- a/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
+++ b/android/sdk/src/main/java/com/taobao/weex/utils/WXSoInstallMgrSdk.java
@@ -111,7 +111,7 @@ public class WXSoInstallMgrSdk {
     }
 
     boolean InitSuc = false;
-    if (checkSoIsValid(libName, 7816288) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {
+    if (checkSoIsValid(libName, BuildConfig.ARMEABI_Size) ||checkSoIsValid(libName, BuildConfig.X86_Size)) {
 
       /**
        * Load library with {@link System#loadLibrary(String)}


[03/50] [abbrv] incubator-weex git commit: * [html5] ref in v-if is a array.

Posted by so...@apache.org.
* [html5] ref in v-if is a array.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a38e2899
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a38e2899
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a38e2899

Branch: refs/heads/dev
Commit: a38e28998d411959ae03dd53f77c413ee100a709
Parents: 8cd9157
Author: MrRaindrop <te...@gmail.com>
Authored: Tue Apr 18 18:52:49 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Tue Apr 18 18:52:49 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/modules/animation.js | 16 +++++++++++++++-
 html5/render/vue/modules/dom.js       | 16 +++++++++++++++-
 html5/render/vue/modules/webview.js   | 20 +++++++++++++++++++-
 3 files changed, 49 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a38e2899/html5/render/vue/modules/animation.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/modules/animation.js b/html5/render/vue/modules/animation.js
index a294896..07542bb 100644
--- a/html5/render/vue/modules/animation.js
+++ b/html5/render/vue/modules/animation.js
@@ -16,9 +16,23 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-import { nextFrame, toCSSText, autoPrefix, camelizeKeys, normalizeStyle } from '../utils'
+import {
+  nextFrame,
+  toCSSText,
+  autoPrefix,
+  camelizeKeys,
+  normalizeStyle,
+  isArray
+} from '../utils'
 
 function transitionOnce (vnode, config, callback) {
+  if (isArray(vnode)) {
+    if (process.env.NODE_ENV === 'development') {
+      console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+    }
+    vnode = vnode[0]
+  }
+
   const duration = config.duration || 0 // ms
   const timing = config.timingFunction || 'linear'
   const delay = config.delay || 0  // ms

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a38e2899/html5/render/vue/modules/dom.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/modules/dom.js b/html5/render/vue/modules/dom.js
index 61f30dd..117eaeb 100644
--- a/html5/render/vue/modules/dom.js
+++ b/html5/render/vue/modules/dom.js
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-import { camelToKebab, appendCss } from '../utils'
+import { camelToKebab, appendCss, isArray } from '../utils'
 
 function getParentScroller (vnode) {
   if (!vnode) return null
@@ -83,6 +83,13 @@ export default {
    *   ps: scroll-to has 'ease' and 'duration'(ms) as options.
    */
   scrollToElement: function (vnode, options) {
+    if (isArray(vnode)) {
+      if (process.env.NODE_ENV === 'development') {
+        console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+      }
+      vnode = vnode[0]
+    }
+
     const scroller = getParentScroller(vnode)
     const scrollDirection = scroller.scrollDirection || 'vertical'
 
@@ -126,6 +133,13 @@ export default {
    * @param {Function} callback
    */
   getComponentRect: function (vnode, callback) {
+    if (isArray(vnode)) {
+      if (process.env.NODE_ENV === 'development') {
+        console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+      }
+      vnode = vnode[0]
+    }
+
     const info = { result: false }
 
     if (vnode && vnode === 'viewport') {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a38e2899/html5/render/vue/modules/webview.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/modules/webview.js b/html5/render/vue/modules/webview.js
index b5bfe9f..f4aec49 100644
--- a/html5/render/vue/modules/webview.js
+++ b/html5/render/vue/modules/webview.js
@@ -20,19 +20,37 @@
 /**
  * Webview module
  */
-
+import { isArray } from '../utils'
 export default {
   goBack (vnode) {
+    if (isArray(vnode)) {
+      if (process.env.NODE_ENV === 'development') {
+        console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+      }
+      vnode = vnode[0]
+    }
     if (vnode && typeof vnode.goBack === 'function') {
       vnode.goBack()
     }
   },
   goForward (vnode) {
+    if (isArray(vnode)) {
+      if (process.env.NODE_ENV === 'development') {
+        console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+      }
+      vnode = vnode[0]
+    }
     if (vnode && typeof vnode.goForward === 'function') {
       vnode.goForward()
     }
   },
   reload (vnode) {
+    if (isArray(vnode)) {
+      if (process.env.NODE_ENV === 'development') {
+        console.warn('[vue-render] the ref passed to animation.transitionOnce is a array.')
+      }
+      vnode = vnode[0]
+    }
     if (vnode && typeof vnode.reload === 'function') {
       vnode.reload()
     }


[04/50] [abbrv] incubator-weex git commit: * [html5] fix removing stylesheet links.

Posted by so...@apache.org.
* [html5] fix removing stylesheet links.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/f13c4534
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/f13c4534
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/f13c4534

Branch: refs/heads/dev
Commit: f13c4534fe99c70ef3d998f68f9001be946b7c31
Parents: a38e289
Author: MrRaindrop <te...@gmail.com>
Authored: Wed Apr 19 12:14:06 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed Apr 19 12:14:06 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/core/style.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/f13c4534/html5/render/vue/core/style.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/core/style.js b/html5/render/vue/core/style.js
index 5383ff9..b324cde 100644
--- a/html5/render/vue/core/style.js
+++ b/html5/render/vue/core/style.js
@@ -42,9 +42,11 @@ export function getHeadStyleMap () {
        * because weex's components defined non-standard style attributes, which is
        * auto ignored when access rule.cssText.
        */
-      if (!styleSheet.cssRules) {
+      if (!styleSheet.cssRules
+        || (styleSheet.ownerNode.tagName.toLowerCase() === 'link')
+        || !styleSheet.ownerNode.textContent) {
         /**
-         * no rules. just ignore this. probably a link stylesheet.
+         * no rules, or in a link. just ignore this. probably a link stylesheet.
          */
         return pre
       }


[12/50] [abbrv] incubator-weex git commit: * [html5] fix image loading event.

Posted by so...@apache.org.
* [html5] fix image loading event.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/afed7f73
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/afed7f73
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/afed7f73

Branch: refs/heads/dev
Commit: afed7f73189a18cae6445a9c40d18fbde61b0a24
Parents: 3c5a64f
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Apr 21 11:07:13 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Apr 21 11:07:13 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/utils/lazyload.js | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/afed7f73/html5/render/vue/utils/lazyload.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/utils/lazyload.js b/html5/render/vue/utils/lazyload.js
index e39efcb..04ff7c6 100644
--- a/html5/render/vue/utils/lazyload.js
+++ b/html5/render/vue/utils/lazyload.js
@@ -36,10 +36,12 @@ function preLoadImg (src: string,
   img.src = src
 }
 
-export function applySrc (item: HTMLElement, src: ?string, placeholderSrc: ?string): void {
+export function applySrc (item: any, src: ?string, placeholderSrc: ?string): void {
   if (!src) { return }
   function finallCb () {
     item.removeAttribute('img-src')
+    delete item._src_loading
+    item._src_loaded = true
     if (doRecord) {
       if (window._weex_perf.renderTime.length < SCREEN_REC_LIMIT) {
         tagImg() // tag lastest img onload time.
@@ -49,13 +51,25 @@ export function applySrc (item: HTMLElement, src: ?string, placeholderSrc: ?stri
       }
     }
   }
+  if (item._src_loading || item._src_loaded) {
+    return
+  }
+  item._src_loading = true
   preLoadImg(src, function (evt) {
     item.style.backgroundImage = `url(${src || ''})`
     const { width: naturalWidth, height: naturalHeight } = this
-    dispatchEvent(item, createEvent(item, 'load', { naturalWidth, naturalHeight }))
+    const params = {
+      success: true,
+      size: { naturalWidth, naturalHeight }
+    }
+    dispatchEvent(item, createEvent(item, 'load', params))
     finallCb()
   }, function (evt) {
-    dispatchEvent(item, createEvent(item, 'error'))
+    const params = {
+      success: false,
+      size: { naturalWidth: 0, naturalHeight: 0 }
+    }
+    dispatchEvent(item, createEvent(item, 'load', params))
     if (placeholderSrc) {
       preLoadImg(placeholderSrc, function () {
         item.style.backgroundImage = `url(${placeholderSrc || ''})`
@@ -65,7 +79,7 @@ export function applySrc (item: HTMLElement, src: ?string, placeholderSrc: ?stri
   })
 }
 
-export function fireLazyload (el: Array<HTMLElement> | HTMLElement | null, ignoreVisibility: ?boolean): void {
+export function fireLazyload (el: Array<any> | any | null, ignoreVisibility: ?boolean): void {
   if (Array.isArray(el)) {
     return el.forEach(ct => fireLazyload(ct))
   }
@@ -101,7 +115,7 @@ export function fireLazyload (el: Array<HTMLElement> | HTMLElement | null, ignor
  */
 const cache = {}
 let _uid: number = 1
-export function getThrottleLazyload (wait: number = 16, el: HTMLElement | null = document.body) {
+export function getThrottleLazyload (wait: number = 16, el: any | null = document.body) {
   let id: number = +(el && el.dataset.throttleId)
   if (isNaN(id) || id <= 0) {
     id = _uid++


[43/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of http://gitlab.alibaba-inc.com/weex/weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of http://gitlab.alibaba-inc.com/weex/weex into 0.12-dev

* '0.12-dev' of http://gitlab.alibaba-inc.com/weex/weex:


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a1095ae9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a1095ae9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a1095ae9

Branch: refs/heads/dev
Commit: a1095ae950d528192b003d73a437f85ed4e7759f
Parents: 18ecaea 60b7010
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 17:23:07 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 17:23:07 2017 +0800

----------------------------------------------------------------------

----------------------------------------------------------------------



[08/50] [abbrv] incubator-weex git commit: * [ios] add search Path for WeexSDK.podspec

Posted by so...@apache.org.
* [ios] add search Path for WeexSDK.podspec


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/a3f86df6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/a3f86df6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/a3f86df6

Branch: refs/heads/dev
Commit: a3f86df67e104cbb1f1a1267b1b79d4fb4e718c8
Parents: 8b9cf60
Author: acton393 <zh...@gmail.com>
Authored: Thu Apr 20 17:16:49 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Thu Apr 20 17:16:49 2017 +0800

----------------------------------------------------------------------
 WeexSDK.podspec | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/a3f86df6/WeexSDK.podspec
----------------------------------------------------------------------
diff --git a/WeexSDK.podspec b/WeexSDK.podspec
index ae1b6a9..cb94313 100644
--- a/WeexSDK.podspec
+++ b/WeexSDK.podspec
@@ -30,6 +30,7 @@ Pod::Spec.new do |s|
   s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c}'
   s.resources = 'ios/sdk/WeexSDK/Resources/main.js', 'ios/sdk/WeexSDK/Resources/wx_load_error@3x.png'
 
+  s.user_target_xcconfig  = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" }
   s.requires_arc = true
   s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch'
 


[09/50] [abbrv] incubator-weex git commit: + [ios] support timeline

Posted by so...@apache.org.
+ [ios] support timeline


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0bff42e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0bff42e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0bff42e2

Branch: refs/heads/dev
Commit: 0bff42e2fa1813d2ee12dd32fc7870f8fc09672b
Parents: bcb5e89
Author: \u9f50\u5c71 <su...@163.com>
Authored: Thu Apr 20 23:47:08 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Thu Apr 20 23:47:08 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m              | 6 ++++++
 ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h     | 3 +++
 .../Sources/Network/WXResourceRequestHandlerDefaultImpl.m      | 6 ++++++
 3 files changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0bff42e2/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m b/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
index 815f8e3..592cb3a 100644
--- a/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
+++ b/ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m
@@ -182,4 +182,10 @@
     _response = nil;
 }
 
+- (void)request:(WXResourceRequest *)request didFinishCollectingMetrics:(NSURLSessionTaskMetrics *)metrics
+{
+    WXLogDebug(@"request:%@ didFinishCollectingMetrics", request);
+}
+
+
 @end

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0bff42e2/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h b/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h
index 72241bf..2ec4110 100644
--- a/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h
+++ b/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h
@@ -38,6 +38,9 @@
 
 // Tells the delegate that the request failed to load successfully.
 - (void)request:(WXResourceRequest *)request didFailWithError:(NSError *)error;
+    
+// Tells the delegate that when complete statistics information has been collected for the task.
+- (void)request:(WXResourceRequest *)request didFinishCollectingMetrics:(NSURLSessionTaskMetrics *)metrics API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
 
 @end
 

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0bff42e2/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.m b/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.m
index 596bdc3..77a346e 100644
--- a/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.m
+++ b/ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandlerDefaultImpl.m
@@ -100,5 +100,11 @@ didReceiveResponse:(NSURLResponse *)response
     }
     [_delegates removeObjectForKey:task];
 }
+    
+- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didFinishCollectingMetrics:(NSURLSessionTaskMetrics *)metrics
+{
+    id<WXResourceRequestDelegate> delegate = [_delegates objectForKey:task];
+    [delegate request:(WXResourceRequest *)task.originalRequest didFinishCollectingMetrics:metrics];
+}
 
 @end


[45/50] [abbrv] incubator-weex git commit: * [ios] update jsfm to 0.20.6

Posted by so...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/602c3f92/ios/sdk/WeexSDK/Resources/main.js
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Resources/main.js b/ios/sdk/WeexSDK/Resources/main.js
index 29185da..15ada86 100644
--- a/ios/sdk/WeexSDK/Resources/main.js
+++ b/ios/sdk/WeexSDK/Resources/main.js
@@ -1,8 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.5, Build 2017-04-24 11:59."),this.getJSFMVersion=function(){return"0.20.5"};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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof Cs){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Cs(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=ks,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 k(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 C(){this.nodeId=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function ke(e){return wu.call(e)===Ou}function Ce(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(ku,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||ke(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!Ce(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){Ce(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;ke(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?Ct(t,n):kt(t),t._vm&&t._vm.$emit("hook:destroyed")}function kt(e){var t=e.parentNode;t&&t.removeChild(e)}function Ct(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||kt(e.start),n.forEach(function(e){kt(e)}),t||kt(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=yt(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,xe(c,s))}}et(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=wt(e,o,n)),-1!==f.lastSignal&&Vt(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=wt(e,o,n))}function Vt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return At(e,t,n),-1!==r.lastSignal})}functio
 n zt(e,t,n,r){function o(e,r,o){var a;c?(a=e,Ee(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),a={},a[l]=r,a[f]=e)):(a={},a[l]=r,a[f]=e);var s=Jt(o,a);i.push(s),At(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,d=qt(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):Et(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var 
 s=u?t[u]:c?t[l]:r,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),Ot(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Wt(e,t,n,r){var o=qt(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?At(e,t,n,r):Et(e,n,!0))});n.display=!!o,o&&At(e,t,n,r)}function qt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return vt(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function Jt(e,t){var n=Object.create(e);return n._data=t,Ge(n),Ke(n),n._realParent=e,e._static&&(n._static=e._static),n}function Ht(e,t){if(t instanceof Ht)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},thi
 s.hasStopped=function(){return n}}function Gt(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Ht(e,t);o.forEach(function(e){e.call(n,i)})}}function Xt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Kt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Zt(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function Qt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Yt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);zu.forEach(function(t){e.$on("hook:"+t,n[t])})}function en(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customC
 omponentMap&&(t=this._app.customComponentMap[e]),t=t||{};var a=t.data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids={},this._vmEvents={},this._childrenVms=[],this._type=e,Yt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&be(this._data,o),He(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,jt(this))}function tn(e,t){for(var n in e)!function(n){var r=Wu[n];r||(r={},Wu[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function nn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProper
 ty(r)||(n[r]=t[r])}function rn(e,t){var n=Wu[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function on(e,t){return e.customComponentMap[t]}function an(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function sn(e){if(qu.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function un(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf
 ("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function cn(e,t){t=t||global.WXEnvironment,t=ke(t)?t:{};var n={isDowngrade:!1};if("function"===Ae(e)){var r=e.call(this,t,{semver:qu,normalizeVersion:sn});r=!!r,n=r?un("custom","","custom params"):n}else{e=ke(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=sn(p),v=sn(t[s]);if(qu.satisfies(v,h)){n=un(u,l,p);break}}else if(d){var m="array"===Ae(p)?p:[p];if(m.indexOf(l)>=0){n=un(u,l,p);break}}}}return n}function ln(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function fn(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(Cu(t))o=Ie(t);else{if(!Iu(t))return new Error("Wrong component name: "+t);if(o=Te(t),!on(e,o))return new Error("It's not a component: 
 "+t)}if(n=ke(n)?n:{},
-"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!qu.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=cn(n.downgrade);if(i.isDowngrade)return e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage);n.viewport&&ln(e,n.viewport),e.vm=new en(o,null,{_app:e},null,r)}function dn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),an(e,t,n)}function pn(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):be(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function hn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.
 vm&&vn(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function vn(e){if(delete e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)vn(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function mn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function yn(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return!1!==yn(e,t,n,r)});var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i
 ,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}function _n(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return gn(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function gn(e){e.differ.flush()}function bn(e,t){var n;return"array"!==Ae(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function wn(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return Ju.apply(void 0,[e].concat(t))},a=function(t,r,i){o=fn(e,t,r,i||n),gn(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=en,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return dn.apply(void 0,[e].concat
 (t))},c=function(t,n){o=fn(e,t,{},n)},l=function(t){return function(n){o=fn(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(Ie(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h='(function(global){\n\n"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}}
 )}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return Sn(_,h)||On(_,h),o}function On(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function Sn(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=compileAndRunBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function xn(e,t){var n=e[t];for(var r in n)n[r]()}function En(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function kn(e,t){this.id=e,this.options=t||{},this.vm=null,this.custom
 ComponentMap={},this.commonModules={},this.doc=new Lu.Document(e,this.options.bundleUrl,null,Lu.Listener),this.differ=new Hu(e)}function Cn(e,t,n,r,o){var i=o||{},a=i.services;$e();var s=Gu[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new kn(e,n),Gu[e]=s,u=wn(s,t,r,a)),u}function jn(e){Lu.Document=e.Document,Lu.Element=e.Element,Lu.Comment=e.Comment,Lu.sendTasks=e.sendTasks,Lu.Listener=e.Listener}function An(e,t){var n=Gu[e];return n?pn(n,t):new Error('invalid instance id "'+e+'"')}function In(e){"function"==typeof markupState&&markupState(),$e();var t=Gu[e];if(!t)return new Error('invalid instance id "'+e+'"');hn(t),delete Gu[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Gu}function Tn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Xu[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Xu[e.type]=e))})}function Pn(e){"object"==typeof e&&tn(e)}function Nn(e){"object"==typeof e&&nn(en,
 e)}function Mn(e,t){if(Gu[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Ku[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function $n(e){var t=Gu[e];return t?mn(t):new Error('invalid instance id "'+e+'"')}function Rn(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function Dn(){}function Fn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function Ln(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop
  is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function Bn(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function Un(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please us
 e \"require('@weex-module/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function zn(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function Wn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var qn={browser:"0.5.0",framework:"0.20.5","vue-render":"0.11.5",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=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=fu
 nction(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 s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var Jn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},Hn=t(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)}),Gn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Xn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Kn=Xn,Zn=funct
 ion(e){if(!Kn(e))throw TypeError(e+" is not an object!");return e},Qn=function(e){try{return!!e()}catch(e){return!0}},Yn=!Qn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),er=Xn,tr=Hn.document,nr=er(tr)&&er(tr.createElement),rr=function(e){return nr?tr.createElement(e):{}},or=!Yn&&!Qn(function(){return 7!=Object.defineProperty(rr("div"),"a",{get:function(){return 7}}).a}),ir=Xn,ar=function(e,t){if(!ir(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ir(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},sr=Zn,ur=or,cr=ar,lr=Object.defineProperty,fr=Yn?Object.defineProperty:function(e,t,n){if(sr(e),t=cr(t,!0),sr(n),ur)try{return lr(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},dr={f:fr},pr=function(e,t){ret
 urn{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hr=dr,vr=pr,mr=Yn?function(e,t,n){return hr.f(e,t,vr(1,n))}:function(e,t,n){return e[t]=n,e},yr={}.hasOwnProperty,_r=function(e,t){return yr.call(e,t)},gr=0,br=Math.random(),wr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++gr+br).toString(36))},Or=t(function(e){var t=Hn,n=mr,r=_r,o=wr("src"),i=Function.toString,a=(""+i).split("toString");Gn.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),Sr=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},xr=Sr,Er=function(e,t,n){if(xr(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return funct
 ion(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)}},kr=Hn,Cr=Gn,jr=mr,Ar=Or,Ir=Er,Tr=function(e,t,n){var r,o,i,a,s=e&Tr.F,u=e&Tr.G,c=e&Tr.S,l=e&Tr.P,f=e&Tr.B,d=u?kr:c?kr[t]||(kr[t]={}):(kr[t]||{}).prototype,p=u?Cr:Cr[t]||(Cr[t]={}),h=p.prototype||(p.prototype={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Ir(i,kr):l&&"function"==typeof i?Ir(Function.call,i):i,d&&Ar(d,r,i,e&Tr.U),p[r]!=i&&jr(p,r,a),l&&h[r]!=i&&(h[r]=i)};kr.core=Cr,Tr.F=1,Tr.G=2,Tr.S=4,Tr.P=8,Tr.B=16,Tr.W=32,Tr.U=64,Tr.R=128;var Pr=Tr,Nr={}.toString,Mr=function(e){return Nr.call(e).slice(8,-1)},$r=Mr,Rr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$r(e)?e.split(""):Object(e)},Dr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Fr=Rr,Lr=Dr,Br=function(e){return Fr(Lr(e))},Ur=Math.ceil,Vr=Math.floor,zr=function(e){return isNaN(e=+e)?0:(e>0?Vr:Ur)(e)},Wr=zr,qr=Math.m
 in,Jr=function(e){return e>0?qr(Wr(e),9007199254740991):0},Hr=zr,Gr=Math.max,Xr=Math.min,Kr=function(e,t){return e=Hr(e),e<0?Gr(e+t,0):Xr(e,t)},Zr=Br,Qr=Jr,Yr=Kr,eo=Hn,to=eo["__core-js_shared__"]||(eo["__core-js_shared__"]={}),no=function(e){return to[e]||(to[e]={})},ro=no("keys"),oo=wr,io=function(e){return ro[e]||(ro[e]=oo(e))},ao=_r,so=Br,uo=function(e){return function(t,n,r){var o,i=Zr(t),a=Qr(i.length),s=Yr(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),co=io("IE_PROTO"),lo=function(e,t){var n,r=so(e),o=0,i=[];for(n in r)n!=co&&ao(r,n)&&i.push(n);for(;t.length>o;)ao(r,n=t[o++])&&(~uo(i,n)||i.push(n));return i},fo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),po=lo,ho=fo,vo=Object.keys||function(e){return po(e,ho)},mo=Object.getOwnPropertySymbols,yo={f:mo},_o={}.propertyIsEnumerable,go={f:_o},bo=Dr,wo=function(e){return Object(bo(e))},Oo
 =vo,So=yo,xo=go,Eo=wo,ko=Rr,Co=Object.assign,jo=!Co||Qn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Co({},e)[n]||Object.keys(Co({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Eo(e),o=arguments.length,i=1,a=So.f,s=xo.f;o>i;)for(var u,c=ko(n[i++]),l=a?Oo(c).concat(a(c)):Oo(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:Co,Ao=Pr;Ao(Ao.S+Ao.F,"Object",{assign:jo}),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,r.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 Io=Jn,To=Io.WXEnvironment;To&&"iOS"===To.platform&&(Jn.Promise=void 0);var Po=t(function(e){var t=no("wks"),n=wr,r=Hn.Symbol,o="function"==typeof r;(e.exports=func
 tion(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),No=Mr,Mo=Po("toStringTag"),$o="Arguments"==No(function(){return arguments}()),Ro=function(e,t){try{return e[t]}catch(e){}},Do=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ro(t=Object(e),Mo))?n:$o?No(t):"Object"==(r=No(t))&&"function"==typeof t.callee?"Arguments":r},Fo=Do,Lo={};Lo[Po("toStringTag")]="z",Lo+""!="[object z]"&&Or(Object.prototype,"toString",function(){return"[object "+Fo(this)+"]"},!0);var Bo=zr,Uo=Dr,Vo={},zo=dr,Wo=Zn,qo=vo,Jo=Yn?Object.defineProperties:function(e,t){Wo(e);for(var n,r=qo(t),o=r.length,i=0;o>i;)zo.f(e,n=r[i++],t[n]);return e},Ho=Hn.document&&document.documentElement,Go=Zn,Xo=Jo,Ko=fo,Zo=io("IE_PROTO"),Qo=function(){},Yo=function(){var e,t=rr("iframe"),n=Ko.length;for(t.style.display="none",Ho.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Yo=e.F;n--;)delete Yo.pro
 totype[Ko[n]];return Yo()},ei=Object.create||function(e,t){var n;return null!==e?(Qo.prototype=Go(e),n=new Qo,Qo.prototype=null,n[Zo]=e):n=Yo(),void 0===t?n:Xo(n,t)},ti=dr.f,ni=_r,ri=Po("toStringTag"),oi=function(e,t,n){e&&!ni(e=n?e:e.prototype,ri)&&ti(e,ri,{configurable:!0,value:t})},ii=ei,ai=pr,si=oi,ui={};mr(ui,Po("iterator"),function(){return this});var ci=function(e,t,n){e.prototype=ii(ui,{next:ai(1,n)}),si(e,t+" Iterator")},li=_r,fi=wo,di=io("IE_PROTO"),pi=Object.prototype,hi=Object.getPrototypeOf||function(e){return e=fi(e),li(e,di)?e[di]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?pi:null},vi=Pr,mi=Or,yi=mr,_i=_r,gi=Vo,bi=ci,wi=oi,Oi=hi,Si=Po("iterator"),xi=!([].keys&&"next"in[].keys()),Ei=function(){return this},ki=function(e,t,n,r,o,i,a){bi(n,t,r);var s,u,c,l=function(e){if(!xi&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=
 t+" Iterator",d="values"==o,p=!1,h=e.prototype,v=h[Si]||h["@@iterator"]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Oi(_.call(new e)))!==Object.prototype&&(wi(c,f,!0),_i(c,Si)||yi(c,Si,Ei)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),(xi||p||!h[Si])&&yi(h,Si,m),gi[t]=m,gi[f]=Ei,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||mi(h,u,s[u]);else vi(vi.P+vi.F*(xi||p),t,s);return s},Ci=function(e){return function(t,n){var r,o,i=String(Uo(t)),a=Bo(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<55296||r>56319||a+1===s||(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);ki(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=Ci(t,n),this._i+=e.length,{value:e,done:!1})});var ji=Po("unscopables"),Ai=Array.prototype;void 0==Ai[ji]&&mr(Ai,ji,{})
 ;var Ii=function(e){Ai[ji][e]=!0},Ti=function(e,t){return{value:t,done:!!e}},Pi=Ii,Ni=Ti,Mi=Vo,$i=Br,Ri=ki(Array,"Array",function(e,t){this._t=$i(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,Ni(1)):"keys"==t?Ni(0,n):"values"==t?Ni(0,e[n]):Ni(0,[n,e[n]])},"values");Mi.Arguments=Mi.Array,Pi("keys"),Pi("values"),Pi("entries");for(var Di=Ri,Fi=Or,Li=Hn,Bi=mr,Ui=Vo,Vi=Po,zi=Vi("iterator"),Wi=Vi("toStringTag"),qi=Ui.Array,Ji=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Hi=0;Hi<5;Hi++){var Gi,Xi=Ji[Hi],Ki=Li[Xi],Zi=Ki&&Ki.prototype;if(Zi){Zi[zi]||Bi(Zi,zi,qi),Zi[Wi]||Bi(Zi,Wi,Xi),Ui[Xi]=qi;for(Gi in Di)Zi[Gi]||Fi(Zi,Gi,Di[Gi],!0)}}var Qi,Yi,ea,ta=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},na=Zn,ra=function(e,t,n,r){try{return r?t(na(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&na(o.call(e)),t}},oa=Vo,ia=Po("iterator")
 ,aa=Array.prototype,sa=function(e){return void 0!==e&&(oa.Array===e||aa[ia]===e)},ua=Do,ca=Po("iterator"),la=Vo,fa=Gn.getIteratorMethod=function(e){if(void 0!=e)return e[ca]||e["@@iterator"]||la[ua(e)]},da=t(function(e){var t=Er,n=ra,r=sa,o=Zn,i=Jr,a=fa,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if((m=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=n(v,_,h.value,c))===s||m===u)return m};c.BREAK=s,c.RETURN=u}),pa=Zn,ha=Sr,va=Po("species"),ma=function(e,t){var n,r=pa(e).constructor;return void 0===r||void 0==(n=pa(r)[va])?t:ha(n)},ya=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)},_a=Er,ga=ya,ba=Ho,wa=rr,Oa=Hn,Sa=Oa.process,xa=Oa.setImmediate,Ea=Oa.clearImmediate,ka=Oa.MessageChannel,Ca=0,ja={},Aa=function(){var e=+this;if(ja.hasOwnProperty(e)){var t=ja[e];delete ja[e],t()}},Ia=function(e){Aa.call(e.data)};xa&&Ea||(xa=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return ja[++Ca]=function(){ga("function"==typeof e?e:Function(e),n)},Qi(Ca),Ca},Ea=function(e){delete ja[e]},"process"==Mr(Sa)?Qi=function(e){Sa.nextTick(_a(Aa,e,1))}:ka?(Yi=new ka,ea=Yi.port2,Yi.port1.onmessage=Ia,Qi=_a(ea.postMessage,ea,1)):Oa.addEventListener&&"function"==typeof postMessage&&!Oa.importScripts?(Qi=function(e){Oa.postMessage(e+"","*")},Oa.addEventListener("message",Ia,!1)):Qi="onreadystatechange"in wa("script")?function(e){ba.appendChild(wa("script")).onreadystatechange=function(){ba.removeChild(this),Aa.call(e)}}:function(e){setTimeout(_a(Aa,e,1),0)});var Ta={set:xa,clear:Ea},Pa=Hn,Na=T
 a.set,Ma=Pa.MutationObserver||Pa.WebKitMutationObserver,$a=Pa.process,Ra=Pa.Promise,Da="process"==Mr($a),Fa=Or,La=Hn,Ba=dr,Ua=Yn,Va=Po("species"),za=Po("iterator"),Wa=!1;try{var qa=[7][za]();qa.return=function(){Wa=!0},Array.from(qa,function(){throw 2})}catch(e){}var Ja,Ha,Ga,Xa=Hn,Ka=Er,Za=Do,Qa=Pr,Ya=Xn,es=Sr,ts=ta,ns=da,rs=ma,os=Ta.set,is=function(){var e,t,n,r=function(){var r,o;for(Da&&(r=$a.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(Da)n=function(){$a.nextTick(r)};else if(Ma){var o=!0,i=document.createTextNode("");new Ma(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Ra&&Ra.resolve){var a=Ra.resolve();n=function(){a.then(r)}}else n=function(){Na.call(Pa,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),as=Xa.TypeError,ss=Xa.process,us=Xa.Promise,ss=Xa.process,cs="process"==Za(ss),ls=function(){},fs=!!function(){try{var e=us.resolve(1),t=(e.constructor={})[Po("spec
 ies")]=function(e){e(ls,ls)};return(cs||"function"==typeof PromiseRejectionEvent)&&e.then(ls)instanceof t}catch(e){}}(),ds=function(e,t){return e===t||e===us&&t===Ga},ps=function(e){var t;return!(!Ya(e)||"function"!=typeof(t=e.then))&&t},hs=function(e){return ds(us,e)?new vs(e):new Ha(e)},vs=Ha=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw as("Bad Promise constructor");t=e,n=r}),this.resolve=es(t),this.reject=es(n)},ms=function(e){try{e()}catch(e){return{error:e}}},ys=function(e,t){if(!e._n){e._n=!0;var n=e._c;is(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,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&bs(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(as("Promise-chain cycle")):(i=ps(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&_s(e)})}},_s=function(e){os.call(Xa,function(){var t,n,r,o=e._v;if(gs(e)&&(t=ms(function(){cs?ss.emit("unhand
 ledRejection",o,e):(n=Xa.onunhandledrejection)?n({promise:e,reason:o}):(r=Xa.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=cs||gs(e)?2:1),e._a=void 0,t)throw t.error})},gs=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++],t.fail||!gs(t.promise))return!1;return!0},bs=function(e){os.call(Xa,function(){var t;cs?ss.emit("rejectionHandled",e):(t=Xa.onrejectionhandled)&&t({promise:e,reason:e._v})})},ws=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),ys(t,!0))},Os=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw as("Promise can't be resolved itself");(t=ps(e))?is(function(){var r={_w:n,_d:!1};try{t.call(e,Ka(Os,r,1),Ka(ws,r,1))}catch(e){ws.call(r,e)}}):(n._v=e,n._s=1,ys(n,!1))}catch(e){ws.call({_w:n,_d:!1},e)}}};fs||(us=function(e){ts(this,us,"Promise","_h"),es(e),Ja.call(this);try{e(Ka(Os,this,1),Ka(ws,this,1))}catch(e){ws.call(this,e)}},Ja=function(e){this._c=[],this._a=vo
 id 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ja.prototype=function(e,t,n){for(var r in t)Fa(e,r,t[r],n);return e}(us.prototype,{then:function(e,t){var n=hs(rs(this,us));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=cs?ss.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&ys(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),vs=function(){var e=new Ja;this.promise=e,this.resolve=Ka(Os,e,1),this.reject=Ka(ws,e,1)}),Qa(Qa.G+Qa.W+Qa.F*!fs,{Promise:us}),oi(us,"Promise"),function(e){var t=La[e];Ua&&t&&!t[Va]&&Ba.f(t,Va,{configurable:!0,get:function(){return this}})}("Promise"),Ga=Gn.Promise,Qa(Qa.S+Qa.F*!fs,"Promise",{reject:function(e){var t=hs(this);return(0,t.reject)(e),t.promise}}),Qa(Qa.S+Qa.F*!fs,"Promise",{resolve:function(e){if(e instanceof us&&ds(e.constructor,this))return e;var t=hs(this);return(0,t.resolve)(e),t.promise}}),Qa(Qa.S+Qa.F*!(fs&&function(e,t){if(!t&&!Wa)return!1;var n=!1;try{var r=[7],o=r
 [za]();o.next=function(){return{done:n=!0}},r[za]=function(){return o},e(r)}catch(e){}return n}(function(e){us.all(e).catch(ls)})),"Promise",{all:function(e){var t=this,n=hs(t),r=n.resolve,o=n.reject,i=ms(function(){var n=[],i=0,a=1;ns(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&&o(i.error),n.promise},race:function(e){var t=this,n=hs(t),r=n.reject,o=ms(function(){ns(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var Ss=["off","error","warn","info","log","debug"],xs={},Es=global.console,ks=global.setTimeout,Cs=global.setTimeoutNative;s();var js=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};js.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},js.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},js.prototype.consume=function(e,t,n){v
 ar r=this.callbacks[e];return void 0!==n&&!1!==n||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},js.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var As={},Is=1;C.prototype.destroy=function(){var e=h(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Ts,Ps={},Ns="div";A.prototype=Object.create(C.prototype),A.prototype.constructor=A,function(e){Ts=e}(A),Object.assign(A.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(E(e,this.children,this.children.length,!0),1===e.nodeType){var t=E(e,this.pureChildren,this.pureChildren.length),n=m(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(w(e,this),x(e,this.children,this.children.length,!0),this.docId&&I(this.docId,e),1===e.nodeType){x(e,this.pureChildren,this.pureChildren.length);var r=m(this.docId);if(r)retur
 n 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(E(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=O(t),r=E(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=m(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t),!0),this.docId&&I(this.docId,e),1===e.nodeType){var i=O(t),a=x(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=m(this.docId);if(s)return s.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(E(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=E(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),r=m(
 this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&I(this.docId,e),1===e.nodeType){var o=x(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),i=m(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(k(e,this.children,!0),1===e.nodeType)){k(e,this.pureChildren);var n=m(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=m(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=m(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.s
 tyle[e]=t;var r=m(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=m(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=m(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=m(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t){var n=this.event[e];if(n)return n.call(this,t)},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 Ms=function(){},$s=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new js}),Ms=t||function(){}};$s.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},$s.prototype.destroyCallback=function(){return this.callbackManager.close()},$s.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},$s.prototype.normalize=function(e){switch(this.typof(e)){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 instanceof A?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSO
 N.stringify(e)}},$s.prototype.send=function(e,t,n){var r=this,o=t.action,i=t.component,a=t.ref,s=t.module,u=t.method;switch(n=n.map(function(e){return r.normalize(e)}),e){case"dom":return this[o](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,a,u,n,{component:i});default:return this.moduleHandler(this.instanceId,s,u,n,{})}},$s.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},$s.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},$s.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var Rs,Ds,Fs=[],Ls=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Bs={},Us={createInstance:F,registerService:P,unregisterService:N};W.prototype=Object.create(C.prototype),W.prototype.constructor=W,W.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(q.prototype,{createFinish:function(e){return(0,this.handler)([J("createFinish")],e)},updateFinish:function(e){
 return(0,this.handler)([J("updateFinish")],e)},refreshFinish:function(e){return(0,
+(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.6, Build 2017-04-24 21:17."),this.getJSFMVersion=function(){return"0.20.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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof Cs){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Cs(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=ks,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 k(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 C(){this.nodeId=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function ke(e){return wu.call(e)===Ou}function Ce(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(ku,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||ke(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!Ce(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){Ce(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;ke(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?Ct(t,n):kt(t),t._vm&&t._vm.$emit("hook:destroyed")}function kt(e){var t=e.parentNode;t&&t.removeChild(e)}function Ct(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||kt(e.start),n.forEach(function(e){kt(e)}),t||kt(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to cre

<TRUNCATED>


[13/50] [abbrv] incubator-weex git commit: * [html5] fix updating children style error.

Posted by so...@apache.org.
* [html5] fix updating children style error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5ce1c113
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5ce1c113
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5ce1c113

Branch: refs/heads/dev
Commit: 5ce1c113138937c177d9266c953b023f292ad05f
Parents: afed7f7
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Apr 21 11:08:14 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Apr 21 11:08:14 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/mixins/base.js | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5ce1c113/html5/render/vue/mixins/base.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/mixins/base.js b/html5/render/vue/mixins/base.js
index 819146e..f2ef32b 100644
--- a/html5/render/vue/mixins/base.js
+++ b/html5/render/vue/mixins/base.js
@@ -89,13 +89,21 @@ export default {
     if (process.env.NODE_ENV === 'development') {
       tagUpdated()
     }
-    if (this.$vnode && this.$vnode.data) {
-      const style = extractComponentStyle(this)
-      const el = this.$el
+    function remergeStyle (vm) {
+      const style = extractComponentStyle(vm)
+      const el = vm.$el
       if (style && el && el.nodeType !== 8) {
-        this.$el.style.cssText += toCSSText(style)
+        vm.$el.style.cssText += toCSSText(style)
       }
     }
+    const children = this.$children
+    if (children) {
+      children.forEach((childVm) => {
+        this.$nextTick(function () {
+          remergeStyle(childVm)
+        })
+      })
+    }
     watchAppear(this)
   },
 


[10/50] [abbrv] incubator-weex git commit: * [ios] fix compiler complains about format data

Posted by so...@apache.org.
* [ios] fix compiler complains about format data


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0eba2ead
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0eba2ead
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0eba2ead

Branch: refs/heads/dev
Commit: 0eba2ead7d4a853e714f814c341a1abce524e904
Parents: a3f86df
Author: acton393 <zh...@gmail.com>
Authored: Fri Apr 21 10:32:34 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Apr 21 10:32:34 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXListComponent.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0eba2ead/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
index 99f6f54..add07dd 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
@@ -283,7 +283,7 @@
                 
                 [_completedSections insertObject:completedInsertSection atIndex:insertIndex];
                 if (completedReloadSection) {
-                    WXLogDebug(@"Reload section:%u", insertIndex - 1);
+                    WXLogDebug(@"Reload section:%lu", insertIndex - 1);
                     _completedSections[insertIndex - 1] = completedReloadSection;
                 }
                 


[14/50] [abbrv] incubator-weex git commit: * [html5] fix scroll to element for window scroll.

Posted by so...@apache.org.
* [html5] fix scroll to element for window scroll.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/7eb86571
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7eb86571
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7eb86571

Branch: refs/heads/dev
Commit: 7eb865715bf7b08eadf37f2965f3457dd5a0a176
Parents: 5ce1c11
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Apr 21 12:12:40 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Apr 21 12:12:40 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/modules/dom.js | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/7eb86571/html5/render/vue/modules/dom.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/modules/dom.js b/html5/render/vue/modules/dom.js
index 117eaeb..43db8a6 100644
--- a/html5/render/vue/modules/dom.js
+++ b/html5/render/vue/modules/dom.js
@@ -91,20 +91,30 @@ export default {
     }
 
     const scroller = getParentScroller(vnode)
-    const scrollDirection = scroller.scrollDirection || 'vertical'
+    const scrollDirection = scroller && scroller.scrollDirection || 'vertical'
 
-    if (scroller && scroller.$el && vnode.$el) {
+    const isWindow = !scroller
+    const ct = isWindow ? document.body : scroller.$el
+    const el = vnode.$el
+
+    if (ct && el) {
       // if it's a list, then the listVnode.scrollDirection is undefined. just
       // assum it is the default value 'vertical'.
       const dSuffix = ({
         horizontal: 'Left',
         vertical: 'Top'
       })[scrollDirection]
-      let offset = vnode.$el[`offset${dSuffix}`]
+
+      const ctRect = ct.getBoundingClientRect()
+      const elRect = el.getBoundingClientRect()
+
+      const dir = dSuffix.toLowerCase()
+      let offset = el[`scroll${dSuffix}`] + elRect[dir] - ctRect[dir]
+      // let offset = el[`offset${dSuffix}`]
 
       if (options) {
-        offset += Number(options.offset) || 0
-        offset *= weex.config.env.scale /* adapt offset to different screen scales. */
+        offset += options.offset && options.offset * weex.config.env.scale || 0
+        // offset *= weex.config.env.scale /* adapt offset to different screen scales. */
       }
       else if (process.env.NODE_ENV === 'development') {
         console.warn('[Vue Render] The second parameter of "scrollToElement" is required, '
@@ -112,14 +122,14 @@ export default {
       }
 
       if (options && options.animated === false) {
-        return scrollElement.call(scroller.$el, dSuffix, offset)
+        return scrollElement.call(ct, dSuffix, offset)
       }
 
       step({
-        scrollable: scroller.$el,
+        scrollable: ct,
         startTime: now(),
         frame: null,
-        startPosition: scroller.$el[`scroll${dSuffix}`],
+        startPosition: ct[`scroll${dSuffix}`],
         position: offset,
         method: scrollElement,
         dSuffix: dSuffix


[11/50] [abbrv] incubator-weex git commit: * [ios] fix warnnings

Posted by so...@apache.org.
* [ios] fix warnnings


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c4afacb1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c4afacb1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c4afacb1

Branch: refs/heads/dev
Commit: c4afacb13c2ffbd8c6a575b767aa7da3cacc0da1
Parents: 0eba2ea
Author: acton393 <zh...@gmail.com>
Authored: Fri Apr 21 10:47:53 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Apr 21 10:47:53 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c4afacb1/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
index 39c4034..0644c9a 100644
--- a/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
+++ b/ios/sdk/WeexSDK/Sources/Utility/WXUtility.h
@@ -388,8 +388,8 @@ CGPoint WXPixelPointResize(CGPoint value) DEPRECATED_MSG_ATTRIBUTE("Use WXPixelS
 
 /**
  @discusstion parse gradient-color string to a dictionary, then you can get gradientLayer from @see gradientLayerFromColors:colors:locations:frame:locations
- @param a linear-gradient string like linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))
- @return A dictionary with endColor, startColor and gradientType value
+ @param backgroundImage  linear-gradient string like linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))
+ @return dictionary with endColor, startColor and gradientType value
  @code
     NSDictionary * linearGradient = [self linearGradientWithBackgroundImage:@"linear-gradient(to right, #a80077,rgba(200, 54, 54, 0.5))"];
     CAGradientLayer * gradientLayer = [self gradientLayerFromColors:@[linearGradient[@"startColor"], linearGradient[@"endColor"]],nil,bounds,[linearGradient[@"gradientType"] integerValue]];


[49/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/86c555e7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/86c555e7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/86c555e7

Branch: refs/heads/dev
Commit: 86c555e7484281221c95f647471cec8d206964f1
Parents: 626282d cb527b0
Author: MrRaindrop <te...@gmail.com>
Authored: Tue Apr 25 15:53:21 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Tue Apr 25 15:53:21 2017 +0800

----------------------------------------------------------------------
 .travis.yml                                     |  25 -------------------
 android/sdk/assets/main.js                      |  16 ++++++------
 android/sdk/build.gradle                        |   2 +-
 android/sdk/libs/armeabi/libweexjsc.so          | Bin 7816288 -> 7815820 bytes
 android/sdk/libs/x86/libweexjsc.so              | Bin 0 -> 4545544 bytes
 android/sdk/libs/x86/libweexv8.so               | Bin 4545544 -> 0 bytes
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |   2 +-
 ios/sdk/WeexSDK/Resources/main.js               |  16 ++++++------
 8 files changed, 18 insertions(+), 43 deletions(-)
----------------------------------------------------------------------



[07/50] [abbrv] incubator-weex git commit: * [html5] release vue-render 0.11.9

Posted by so...@apache.org.
* [html5] release vue-render 0.11.9


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3c5a64f3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3c5a64f3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3c5a64f3

Branch: refs/heads/dev
Commit: 3c5a64f3a5fd74346b949a7d24457fbc722ad856
Parents: 8ba4954
Author: MrRaindrop <te...@gmail.com>
Authored: Wed Apr 19 12:19:42 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed Apr 19 12:19:42 2017 +0800

----------------------------------------------------------------------
 package.json                          | 2 +-
 packages/weex-vue-render/package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3c5a64f3/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 091e649..37ba94b 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "subversion": {
     "browser": "0.5.0",
     "framework": "0.20.4",
-    "vue-render": "0.11.8",
+    "vue-render": "0.11.9",
     "transformer": ">=0.1.5 <0.5"
   },
   "description": "A framework for building Mobile cross-platform UI",

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3c5a64f3/packages/weex-vue-render/package.json
----------------------------------------------------------------------
diff --git a/packages/weex-vue-render/package.json b/packages/weex-vue-render/package.json
index f8150cf..a072b05 100644
--- a/packages/weex-vue-render/package.json
+++ b/packages/weex-vue-render/package.json
@@ -1,6 +1,6 @@
 {
   "name": "weex-vue-render",
-  "version": "0.11.8",
+  "version": "0.11.9",
   "description": "Weex built-in components for Vue 2.x.",
   "license": "Apache-2.0",
   "main": "dist/index.js",


[36/50] [abbrv] incubator-weex git commit: * [jsfm] update jsfm to 0.20.5 fixed timer cannot clear timer clearTimer issue

Posted by so...@apache.org.
* [jsfm] update jsfm to 0.20.5 fixed timer cannot clear timer clearTimer issue


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8a56e2f7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8a56e2f7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8a56e2f7

Branch: refs/heads/dev
Commit: 8a56e2f712acd9e570a70581ee6a691d5f7da539
Parents: 568cace
Author: atomtong <to...@qq.com>
Authored: Mon Apr 24 16:28:03 2017 +0800
Committer: atomtong <to...@qq.com>
Committed: Mon Apr 24 16:28:03 2017 +0800

----------------------------------------------------------------------
 android/sdk/assets/main.js        | 16 ++++++++--------
 ios/sdk/WeexSDK/Resources/main.js | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------



[28/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

* '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex:
  + [ios] update  podfile
  + [ios] bug fix: update podfile
  + [ios] update to newest gcanvas
  * [ios] protect crash when access nil address
  * [ios] protect nil object in array
  * [test] enable iOS macaca
  * [ios] fix warnnings
  * [ios] fix compiler complains about format data
  + [ios] support timeline
  * [ios] add search Path for WeexSDK.podspec


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/7fb66541
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/7fb66541
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/7fb66541

Branch: refs/heads/dev
Commit: 7fb66541818059ed735ddb2bcbcb6379d2ac451c
Parents: 51f709b 536beb0
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 10:43:41 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 10:43:41 2017 +0800

----------------------------------------------------------------------
 .travis.yml                                     |  7 +++-
 WeexSDK.podspec                                 |  1 +
 ios/playground/Podfile                          |  2 +-
 .../WeexSDK/Sources/Component/WXListComponent.m |  5 ++-
 .../WeexSDK/Sources/Loader/WXResourceLoader.m   |  6 +++
 .../Sources/Manager/WXComponentManager.m        |  7 +++-
 .../Sources/Network/WXResourceRequestHandler.h  |  3 ++
 .../WXResourceRequestHandlerDefaultImpl.m       |  6 +++
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h     |  4 +-
 package.json                                    |  2 +-
 test/pages/components/textarea-maxlength.vue    |  8 ++--
 test/pages/dom-operation.vue                    | 18 ++++-----
 test/pages/image-onload.vue                     |  4 +-
 test/pages/index.vue                            |  4 +-
 test/pages/list-scroll.vue                      |  5 +--
 test/pages/scroller-scroll.vue                  |  4 +-
 test/pages/slider-infinite.vue                  |  4 +-
 test/run.sh                                     |  1 -
 test/scripts/components/scroll-event.test.js    |  8 ++--
 test/scripts/components/slider-infinite.test.js |  4 +-
 test/scripts/components/text.test.js            |  2 +-
 .../components/textarea-maxlength.test.js       |  6 +--
 test/scripts/dom.test.js                        | 40 ++++++++++----------
 23 files changed, 84 insertions(+), 67 deletions(-)
----------------------------------------------------------------------



[16/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://github.com/apache/incubator-weex into 0.12-dev-web

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/apache/incubator-weex into 0.12-dev-web


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/5e56f383
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/5e56f383
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/5e56f383

Branch: refs/heads/dev
Commit: 5e56f383c2ce40de57834809bac0c8fc76073c1e
Parents: 62c0efb 9381c91
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Apr 21 12:16:36 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Apr 21 12:16:36 2017 +0800

----------------------------------------------------------------------
 README.md                                       |   2 +-
 WeexSDK.podspec                                 |   2 +-
 .../java/com/alibaba/weex/WXPageActivity.java   |   6 -
 android/sdk/build.gradle                        |   2 +-
 android/sdk/libs/armeabi/libweexjsc.so          | Bin 0 -> 7816288 bytes
 android/sdk/libs/armeabi/libweexv8.so           | Bin 3563544 -> 0 bytes
 .../main/java/com/taobao/weex/WXSDKEngine.java  |   2 +-
 .../java/com/taobao/weex/bridge/WXParams.java   |   6 +
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |   2 +-
 ios/sdk/WeexSDK/Sources/Bridge/WXJSCoreBridge.m |   4 +-
 .../WeexSDK/Sources/Component/WXListComponent.m |  13 +-
 .../WeexSDK/Sources/Component/WXTextComponent.h |   1 +
 .../WeexSDK/Sources/Component/WXTextComponent.m | 267 +++++++++++++++----
 ios/sdk/WeexSDK/Sources/Utility/WXDefine.h      |   2 +-
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.m     |   1 +
 .../Sources/View/WXComponent+ViewManagement.m   |   4 +-
 ios/sdk/WeexSDK/Sources/WeexSDK.h               |  32 +--
 ios/sdk/buildScripts.sh                         |  25 +-
 package.json                                    |   4 +-
 test/pages/components/text-layout.vue           |  30 +++
 test/scripts/components/recycler.test.js        |  19 +-
 test/scripts/components/text.test.js            | 131 +++++++++
 test/serve.sh                                   |   2 +-
 23 files changed, 447 insertions(+), 110 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/5e56f383/package.json
----------------------------------------------------------------------


[30/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/6fcc81af
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/6fcc81af
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/6fcc81af

Branch: refs/heads/dev
Commit: 6fcc81afdefc58e43e1cbf5b6ab49aef74917be2
Parents: 70af231 db03bb0
Author: cxfeng <cx...@apache.org>
Authored: Mon Apr 24 11:57:33 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Mon Apr 24 11:57:33 2017 +0800

----------------------------------------------------------------------
 .../Sources/Component/WXComponent_internal.h    |  1 -
 ios/sdk/WeexSDK/Sources/Model/WXComponent.m     | 23 +++++++++++---------
 .../Sources/View/WXComponent+ViewManagement.m   |  1 -
 3 files changed, 13 insertions(+), 12 deletions(-)
----------------------------------------------------------------------



[32/50] [abbrv] incubator-weex git commit: * [android] jsc native crash fix

Posted by so...@apache.org.
* [android] jsc native crash fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/568cace8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/568cace8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/568cace8

Branch: refs/heads/dev
Commit: 568cace8767f55b8ae762dee73be719c8c870128
Parents: 7fb6654
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 15:12:07 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 15:12:07 2017 +0800

----------------------------------------------------------------------
 android/sdk/libs/armeabi/libweexjsc.so | Bin 7816368 -> 7815820 bytes
 1 file changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/568cace8/android/sdk/libs/armeabi/libweexjsc.so
----------------------------------------------------------------------
diff --git a/android/sdk/libs/armeabi/libweexjsc.so b/android/sdk/libs/armeabi/libweexjsc.so
index 1abbcef..5729111 100755
Binary files a/android/sdk/libs/armeabi/libweexjsc.so and b/android/sdk/libs/armeabi/libweexjsc.so differ


[29/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/70af2318
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/70af2318
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/70af2318

Branch: refs/heads/dev
Commit: 70af23183dfa910108cfffb5bbbcbd133f992db9
Parents: 5e56f38 8e120a9
Author: tancy <ro...@gmail.com>
Authored: Mon Apr 24 11:45:45 2017 +0800
Committer: tancy <ro...@gmail.com>
Committed: Mon Apr 24 11:45:45 2017 +0800

----------------------------------------------------------------------
 .travis.yml                                     |  7 +-
 NOTICE                                          | 96 --------------------
 POSSIBLE-NOTICES-FOR-BIN-DIST                   | 96 ++++++++++++++++++++
 WeexSDK.podspec                                 |  1 +
 ios/playground/Podfile                          |  2 +-
 .../WeexSDK/Sources/Component/WXListComponent.m |  5 +-
 .../WeexSDK/Sources/Loader/WXResourceLoader.m   |  6 ++
 .../Sources/Manager/WXComponentManager.m        |  7 +-
 .../Sources/Network/WXResourceRequestHandler.h  |  3 +
 .../WXResourceRequestHandlerDefaultImpl.m       |  6 ++
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h     |  4 +-
 package.json                                    |  2 +-
 test/pages/components/textarea-maxlength.vue    |  8 +-
 test/pages/dom-operation.vue                    | 18 ++--
 test/pages/image-onload.vue                     |  4 +-
 test/pages/index.vue                            |  4 +-
 test/pages/list-scroll.vue                      |  5 +-
 test/pages/scroller-scroll.vue                  |  4 +-
 test/pages/slider-infinite.vue                  |  4 +-
 test/run.sh                                     |  1 -
 test/scripts/components/scroll-event.test.js    |  8 +-
 test/scripts/components/slider-infinite.test.js |  4 +-
 test/scripts/components/text.test.js            |  2 +-
 .../components/textarea-maxlength.test.js       |  6 +-
 test/scripts/dom.test.js                        | 40 ++++----
 25 files changed, 180 insertions(+), 163 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/70af2318/package.json
----------------------------------------------------------------------


[22/50] [abbrv] incubator-weex git commit: + [ios] update podfile

Posted by so...@apache.org.
+ [ios] update  podfile


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/bdec7b5d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/bdec7b5d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/bdec7b5d

Branch: refs/heads/dev
Commit: bdec7b5d5892de5e2933a442a5212699cbfdfdd9
Parents: 099add0
Author: \u9f50\u5c71 <su...@163.com>
Authored: Fri Apr 21 18:16:24 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Fri Apr 21 18:16:24 2017 +0800

----------------------------------------------------------------------
 ios/playground/Podfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bdec7b5d/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index 2bde41c..bda8b39 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -10,7 +10,7 @@ def common
     pod 'ATSDK-Weex', '0.0.1'
     
     # WeexGcanvas is added by Weex Plugin, more info at https://market.dotwe.org/ext/list.htm
-    pod 'WeexGcanvas', '0.0.1.9'
+    pod 'WeexGcanvas'
 end
 
 target 'WeexDemo' do


[40/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev-feature-jsfm0.20.5' into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev-feature-jsfm0.20.5' into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/60b7010b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/60b7010b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/60b7010b

Branch: refs/heads/dev
Commit: 60b7010bfa57a5c574bb4dbe73543faaf3111a93
Parents: 6fcc81a 8a56e2f
Author: atomtong <to...@qq.com>
Authored: Mon Apr 24 17:04:35 2017 +0800
Committer: atomtong <to...@qq.com>
Committed: Mon Apr 24 17:04:35 2017 +0800

----------------------------------------------------------------------
 android/sdk/assets/main.js                      |  16 ++++++++--------
 android/sdk/libs/armeabi/libweexjsc.so          | Bin 7816288 -> 7815820 bytes
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |   2 +-
 ios/sdk/WeexSDK/Resources/main.js               |  16 ++++++++--------
 4 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------



[06/50] [abbrv] incubator-weex git commit: * [html5] add test cases.

Posted by so...@apache.org.
* [html5] add test cases.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8ba4954a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8ba4954a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8ba4954a

Branch: refs/heads/dev
Commit: 8ba4954ab6a466223b848d4ca7fb16cd8a700064
Parents: bd794e5
Author: MrRaindrop <te...@gmail.com>
Authored: Wed Apr 19 12:17:35 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed Apr 19 12:17:35 2017 +0800

----------------------------------------------------------------------
 html5/test/render/vue/data/css/head14.css | 1 +
 html5/test/render/vue/data/head-css.js    | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8ba4954a/html5/test/render/vue/data/css/head14.css
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/data/css/head14.css b/html5/test/render/vue/data/css/head14.css
new file mode 100644
index 0000000..9865127
--- /dev/null
+++ b/html5/test/render/vue/data/css/head14.css
@@ -0,0 +1 @@
+@charset "utf-8";@font-face{font-family:zebra-iconfont;src:url(//at.alicdn.com/t/font_5e6zaftfqrggb9.eot);src:url(//at.alicdn.com/t/font_5e6zaftfqrggb9.eot?#iefix) format('embedded-opentype'),url(//at.alicdn.com/t/font_5e6zaftfqrggb9.woff) format('woff'),url(//at.alicdn.com/t/font_5e6zaftfqrggb9.ttf) format('truetype'),url(//at.alicdn.com/t/font_5e6zaftfqrggb9.svg#zebra-iconfont) format('svg')}@font-face{font-family:mui-iconfont;src:url(//at.alicdn.com/t/font_1422363314_6108727.eot);src:url(//at.alicdn.com/t/font_1422363314_6108727.eot?#iefix) format('embedded-opentype'),url(//at.alicdn.com/t/font_1422363314_6108727.woff) format('woff'),url(//at.alicdn.com/t/font_1422363314_6108727.ttf) format('truetype'),url(//at.alicdn.com/t/font_1422363314_6108727.svg#iconfont) format('svg')}.icon{font-family:zebra-iconfont;font-style:normal}.icon-title{display:none}.mui-iconfont{font-family:mui-iconfont;font-style:normal}*{padding:0;margin:0}.mui-zebra-page{padding-bottom:20px}.mui-zebra-page .m
 ui-zebra-module{min-height:50px;position:relative}.mui-zebra-page .mui-zebra-module.ishide>:not(.zebra-toolbar){-webkit-filter:blur(2px);filter:blur(2px)}.mui-zebra-page .mui-zebra-module.ishide .zebra-toolbar .settohide .text{display:none}.mui-zebra-page .mui-zebra-module.ishide .zebra-toolbar .settohide .onhidetext{display:initial}.mui-zebra-page .mui-zebra-module.ishide:after{position:absolute;top:50%;left:50%;margin-top:-15px;margin-left:-60px;width:120px;height:30px;line-height:30px;text-align:center;font-size:14px;content:'already hidden';color:#fff;background-color:rgba(0,0,0,.5);border-radius:3px;pointer-events:none}.pinned{display:block!important}.zebra-toolbar{display:none;position:absolute;top:0;left:0;width:100%;height:100%;min-height:50px;color:#fff;font-size:12px;z-index:2000;box-sizing:border-box;pointer-events:none;border:3px solid #df3434;border-bottom-width:5px;border-top:0;box-shadow:0 1px 5px rgba(0,0,0,.4);-webkit-user-select:none;-moz-user-select:none;-ms-user-
 select:none;user-select:none}.zebra-toolbar *{box-sizing:initial!important}.zebra-toolbar .border{position:absolute;left:-3px;top:-48px;width:100%;height:48px;border-left:3px solid #df3434;border-right:3px solid #df3434}.zebra-toolbar .hd{position:relative;top:-48px;height:32px;line-height:32px;padding:8px 3px;background-color:#df3434}.zebra-toolbar .ft{position:absolute;bottom:-70px;left:50%;width:110px;margin-left:-55px;height:40px;padding:15px 0}.zebra-toolbar .ft,.zebra-toolbar .hd{pointer-events:initial}.zebra-toolbar .title{display:none}.zebra-toolbar i{font-style:normal}.zebra-toolbar .side{position:relative;float:right}.zebra-toolbar .iconbtn{float:left;display:block;width:32px;height:32px;text-align:center;border-radius:50%;overflow:hidden;-webkit-transition:background-color 250ms ease;transition:background-color 250ms ease;font-size:16px;opacity:.8;cursor:pointer}.zebra-toolbar .iconbtn:hover{opacity:1}.zebra-toolbar .iconbtn.active,.zebra-toolbar .iconbtn:active{opacity:1
 !important;background-color:rgba(255,255,255,.25)}.zebra-toolbar .iconbtn.edit{font-size:16px}.zebra-toolbar .info{font-size:18px}.zebra-toolbar .add{display:block;margin:0 auto;width:40px;height:40px;line-height:40px;overflow:hidden;text-align:center;border-radius:50%;background-color:#df3434;box-shadow:0 1px 5px rgba(0,0,0,.4);color:#fff;font-size:18px;cursor:pointer}.zebra-toolbar .arrow{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #df3434;position:absolute}.zebra-toolbar .moremenus{float:left;position:relative}.zebra-toolbar .moremenus .menus{display:none;position:absolute;top:28px;padding-top:25px;left:-8px;z-index:1}.zebra-toolbar .moremenus .menus .arrow{width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-bottom:8px solid #df3434;position:absolute;top:17px;left:16px}.zebra-toolbar .moremenus .menus ul{padding:10px 0;background-color:#df3434;box-shadow:0 1px 5px rgba(0,0,0
 ,.4)}.zebra-toolbar .moremenus .menus li{height:36px;line-height:36px;padding:0 16px;white-space:nowrap;cursor:pointer;-webkit-transition:background-color 250ms ease;transition:background-color 250ms ease;opacity:.8}.zebra-toolbar .moremenus .menus li:hover{opacity:1;background-color:rgba(0,0,0,.15)}.zebra-toolbar .moremenus .menus .title{display:inline;margin-left:5px}.zebra-toolbar .moremenus .menus .icon{font-size:16px}.zebra-toolbar .pop-info{display:none;position:absolute;right:10px;top:30px;width:200px;color:#fff;font-size:12px;line-height:22px;padding:30px 0 50px;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;z-index:1}.zebra-toolbar .pop-info .arrow{top:22px;right:8px;border-bottom:8px solid rgba(0,0,0,.6)}.zebra-toolbar .pop-info .inner{padding:5px;min-height:50px;background-color:rgba(0,0,0,.6)}.zebra-toolbar .pop-info a{color:#12AEFF;text-decoration:underline}.zebra-toolbar .onhidetext{display:none}.pc .zebra-toolbar{width:990px;left:
 50%;margin-left:-495px}.pc .zebra-toolbar .ft{width:200px;margin-left:-100px}.mui-zebra-page>div:first-of-type.mui-zebra-module{min-height:100px}.mui-zebra-page>div:first-of-type.mui-zebra-module .moveup{display:none}.mui-zebra-page>div:first-of-type.mui-zebra-module .zebra-toolbar .border{display:none}.mui-zebra-page>div:first-of-type.mui-zebra-module .zebra-toolbar .hd{top:0}.mui-zebra-page>div:last-of-type .ft,.mui-zebra-page>div:last-of-type .movedown{display:none}.mui-zebra-module.hover{z-index:10000}.mui-zebra-module.hover .zebra-toolbar{display:block}.zebra-toolbar.empty{display:block;position:relative;left:0;padding:0;margin:10px auto 0;text-align:center;max-width:1190px;height:auto;background-color:transparent;pointer-events:initial;border:0;box-shadow:none}.zebra-toolbar.empty.prepend{margin-bottom:60px;margin-top:0;padding-top:10px}.zebra-toolbar.empty.prepend+.zebra-toolbar.empty{display:none}.zebra-toolbar.empty.add-mod .add,.zebra-toolbar.empty.add-more .add{display:no
 ne}.zebra-add-cover,.zebra-add-more-cover{display:none;box-sizing:border-box!important;height:100px;line-height:100px;text-align:center;width:100%;padding:0 10px;margin:20px auto 30px}.zebra-add-cover .text,.zebra-add-more-cover .text{height:100%;font-size:14px;font-weight:700;color:#df3434;background-color:#ffd9d9;border:2px dashed #df3434}.pc .zebra-add-cover.zebra-add-more-cover{padding:0;width:990px}.add-mod .zebra-add-cover{display:block}.add-more .zebra-add-more-cover{display:block}.mui-zebra-nocontent{padding:10px;font-size:18px}.mui-zebra-nocontent p{margin-bottom:10px}.mui-zebra-nocontent a{color:#428bca}.mengban{opacity:0!important}.mengban:hover{opacity:.3!important}.mui-zebra-module.hover .mengban{opacity:.3!important}body.mui-zebra-isSource .zebra-toolbar .add,body.mui-zebra-isSource .zebra-toolbar .iconbtn,body.mui-zebra-isSource .zebra-toolbar.empty{display:none}body.mui-zebra-isSource .zebra-toolbar .iconbtn.info,body.mui-zebra-isSource .zebra-toolbar .iconbtn.mainta
 in{display:block}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8ba4954a/html5/test/render/vue/data/head-css.js
----------------------------------------------------------------------
diff --git a/html5/test/render/vue/data/head-css.js b/html5/test/render/vue/data/head-css.js
index 55ad3ea..f835670 100644
--- a/html5/test/render/vue/data/head-css.js
+++ b/html5/test/render/vue/data/head-css.js
@@ -29,3 +29,4 @@ import './css/head10.css'
 import './css/head11.css'
 import './css/head12.css'
 import './css/head13.css'
+import './css/head14.css'


[19/50] [abbrv] incubator-weex git commit: + [ios] update to newest gcanvas

Posted by so...@apache.org.
+ [ios] update to newest gcanvas


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/6a79dd23
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/6a79dd23
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/6a79dd23

Branch: refs/heads/dev
Commit: 6a79dd239b7ba10b820a348fbbb92760f8938df0
Parents: 0bff42e
Author: \u9f50\u5c71 <su...@163.com>
Authored: Fri Apr 21 17:44:03 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Fri Apr 21 17:44:03 2017 +0800

----------------------------------------------------------------------
 ios/playground/Podfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/6a79dd23/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index 8c47e78..bda8b39 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -10,7 +10,7 @@ def common
     pod 'ATSDK-Weex', '0.0.1'
     
     # WeexGcanvas is added by Weex Plugin, more info at https://market.dotwe.org/ext/list.htm
-    pod 'WeexGcanvas', '0.0.1.5'
+    pod 'WeexGcanvas'
 end
 
 target 'WeexDemo' do


[21/50] [abbrv] incubator-weex git commit: Merge branch 'ios-network-0.12-dev' of https://github.com/kfeagle/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch 'ios-network-0.12-dev' of https://github.com/kfeagle/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/099add0e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/099add0e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/099add0e

Branch: refs/heads/dev
Commit: 099add0eb8e3e6da96b216d0d50354e423505437
Parents: 2a862c9 ffb816e
Author: bobning <ni...@163.com>
Authored: Fri Apr 21 18:02:58 2017 +0800
Committer: bobning <ni...@163.com>
Committed: Fri Apr 21 18:02:58 2017 +0800

----------------------------------------------------------------------
 ios/playground/Podfile                                         | 2 +-
 ios/sdk/WeexSDK/Sources/Loader/WXResourceLoader.m              | 6 ++++++
 ios/sdk/WeexSDK/Sources/Network/WXResourceRequestHandler.h     | 3 +++
 .../Sources/Network/WXResourceRequestHandlerDefaultImpl.m      | 6 ++++++
 4 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------



[20/50] [abbrv] incubator-weex git commit: + [ios] bug fix: update podfile

Posted by so...@apache.org.
+ [ios] bug fix: update podfile


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/ffb816eb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/ffb816eb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/ffb816eb

Branch: refs/heads/dev
Commit: ffb816eb9a5f0ed81e8840cb0c0f01fd59953200
Parents: 6a79dd2
Author: \u9f50\u5c71 <su...@163.com>
Authored: Fri Apr 21 17:53:54 2017 +0800
Committer: \u9f50\u5c71 <su...@163.com>
Committed: Fri Apr 21 17:53:54 2017 +0800

----------------------------------------------------------------------
 ios/playground/Podfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/ffb816eb/ios/playground/Podfile
----------------------------------------------------------------------
diff --git a/ios/playground/Podfile b/ios/playground/Podfile
index bda8b39..2bde41c 100644
--- a/ios/playground/Podfile
+++ b/ios/playground/Podfile
@@ -10,7 +10,7 @@ def common
     pod 'ATSDK-Weex', '0.0.1'
     
     # WeexGcanvas is added by Weex Plugin, more info at https://market.dotwe.org/ext/list.htm
-    pod 'WeexGcanvas'
+    pod 'WeexGcanvas', '0.0.1.9'
 end
 
 target 'WeexDemo' do


[44/50] [abbrv] incubator-weex git commit: * [jsfm] v0.20.6

Posted by so...@apache.org.
* [jsfm] v0.20.6


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/626282dd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/626282dd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/626282dd

Branch: refs/heads/dev
Commit: 626282dd0e8cbbd2cc7c2ea96599f7b115111f86
Parents: 222dd1a
Author: fkysly <fk...@gmail.com>
Authored: Mon Apr 24 21:14:19 2017 +0800
Committer: fkysly <fk...@gmail.com>
Committed: Mon Apr 24 21:14:19 2017 +0800

----------------------------------------------------------------------
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/626282dd/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 7e2720a..06a0afb 100644
--- a/package.json
+++ b/package.json
@@ -94,7 +94,7 @@
     "semver": "^5.1.0",
     "weex-picker": "^0.1.0",
     "weex-rax-framework": "0.2.11",
-    "weex-vue-framework": "2.2.2-weex.4",
+    "weex-vue-framework": "2.2.2-weex.5",
     "weex-styler": "0.1.9"
   },
   "devDependencies": {


[33/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

* '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex: (35 commits)
  * [all] rename NOTICE file
  * [ios] bug fix about gradient background-image
  * [html5] release vue-render 0.11.10
  * [html5] fix scroll to element for window scroll.
  * [html5] fix updating children style error.
  * [html5] fix image loading event.
  * [html5] release vue-render 0.11.9
  * [html5] add test cases.
  * [html5] update perf time.
  * [html5] fix removing stylesheet links.
  * [html5] ref in v-if is a array.
  * [html5] fix test.
  * [html5] add test for special comment with * in css.
  * [html5] fix trimComment.
  * [html5] fix updating rendering without processing children's render function.
  * [html5] fix gradient.
  * [html5] rm test vue libs.
  * [html5] fix transition defaults.
  * [all] update license
  * [all] update src-header
  ...


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/25dfede7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/25dfede7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/25dfede7

Branch: refs/heads/dev
Commit: 25dfede7a204e82cc5d738ac4bacf86ef115e115
Parents: 568cace 6fcc81a
Author: zshshr <zh...@gmail.com>
Authored: Mon Apr 24 15:34:11 2017 +0800
Committer: zshshr <zh...@gmail.com>
Committed: Mon Apr 24 15:34:11 2017 +0800

----------------------------------------------------------------------
 .eslintrc                                       |   3 +-
 .gitignore                                      |   3 +
 NOTICE                                          |  96 ----
 POSSIBLE-NOTICES-FOR-BIN-DIST                   |  96 ++++
 bin/dist-vue.sh                                 |  21 +-
 build/webpack.test.web.config.js                |   2 +-
 examples/vue/showcase/gesture.vue               |  57 ++
 html5/render/vue/components/index.js            |   8 +-
 .../render/vue/components/slider/slideMixin.js  |  59 +-
 .../vue/components/slider/slider-neighbor.css   |  21 +
 .../vue/components/slider/slider-neighbor.js    | 182 +++++++
 html5/render/vue/core/node.js                   |  55 +-
 html5/render/vue/core/style.js                  | 135 +++--
 html5/render/vue/env/global.js                  |   1 +
 html5/render/vue/index.js                       |   2 +-
 html5/render/vue/mixins/base.js                 |  48 +-
 html5/render/vue/modules/animation.js           |  20 +-
 html5/render/vue/modules/dom.js                 |  42 +-
 html5/render/vue/modules/webview.js             |  20 +-
 html5/render/vue/utils/component.js             |  83 +--
 html5/render/vue/utils/event.js                 |  32 +-
 html5/render/vue/utils/lazyload.js              |  24 +-
 html5/render/vue/utils/perf.js                  |  74 ++-
 html5/render/vue/utils/style.js                 |  43 +-
 html5/test/render/vue/core/node.js              |  62 +++
 html5/test/render/vue/core/style.js             |  15 +-
 .../vue/data/build/dotvue/scoped-style.js       | 543 -------------------
 html5/test/render/vue/data/css/head14.css       |   1 +
 .../render/vue/data/dotvue/event-bubble-bar.vue |  20 +
 .../render/vue/data/dotvue/event-bubble.vue     |  25 +
 .../vue/data/dotvue/first-screen-appear-foo.vue |  27 +
 .../vue/data/dotvue/first-screen-appear.vue     |  21 +
 .../render/vue/data/dotvue/scoped-style.vue     |  16 +-
 html5/test/render/vue/data/head-css.js          |   1 +
 html5/test/render/vue/data/head-map.js          |   3 +-
 html5/test/render/vue/helper/main.js            |  85 +++
 html5/test/render/vue/helper/mixin/done.js      |   9 +
 html5/test/render/vue/helper/mixin/index.js     |   1 +
 html5/test/render/vue/helper/runtime.js         |  40 +-
 html5/test/render/vue/utils/component.js        |  40 ++
 html5/test/render/vue/vender/vue-2.0.0.js       |   7 -
 html5/test/render/vue/vender/vue-2.1.0.js       |   8 -
 .../Sources/Component/WXComponent_internal.h    |   1 -
 ios/sdk/WeexSDK/Sources/Model/WXComponent.m     |  23 +-
 .../Sources/View/WXComponent+ViewManagement.m   |   1 -
 package.json                                    |   2 +-
 packages/weex-vue-render/package.json           |   4 +-
 47 files changed, 1201 insertions(+), 881 deletions(-)
----------------------------------------------------------------------



[02/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://github.com/apache/incubator-weex into 0.12-dev-web

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/apache/incubator-weex into 0.12-dev-web


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8cd9157b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8cd9157b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8cd9157b

Branch: refs/heads/dev
Commit: 8cd9157ba8df4cc693e3f2845adb1134d9dbe724
Parents: d038a93 8ce111a
Author: MrRaindrop <te...@gmail.com>
Authored: Tue Apr 18 16:37:59 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Tue Apr 18 16:37:59 2017 +0800

----------------------------------------------------------------------
 .travis.yml                                     | 42 +++++++++--
 NOTICE                                          | 75 ++++++++++++++++++++
 WeexSDK.podspec                                 | 45 ++++++++++++
 android/run-ci.sh                               |  2 +-
 .../com/taobao/weex/ui/component/WXEmbed.java   |  2 +-
 examples/component/input-demo.we                | 14 ++--
 examples/index.we                               |  5 +-
 examples/vue/components/input.vue               | 14 ++--
 examples/vue/index.vue                          |  3 +
 examples/vue/market/gcanvas.vue                 | 40 +++++++++++
 ios/playground/Podfile                          |  5 +-
 .../WeexDemo.xcodeproj/project.pbxproj          |  4 +-
 ios/sdk/WeexSDK.podspec                         | 47 ------------
 .../WeexSDK/Sources/Bridge/WXBridgeContext.m    |  2 +-
 .../Sources/Component/WXSliderComponent.m       | 53 +++-----------
 .../Sources/Controller/WXBaseViewController.h   |  2 +-
 .../Sources/Controller/WXBaseViewController.m   | 16 -----
 .../Sources/Controller/WXRootViewController.m   | 17 ++++-
 ios/sdk/WeexSDKTests/WXRootViewTests.m          |  4 +-
 package.json                                    |  4 +-
 test/ci-funcs.sh                                | 75 +++-----------------
 test/run.sh                                     | 41 ++++++-----
 test/scripts/components/image-onload.test.js    |  2 +-
 test/scripts/components/recycler.test.js        |  2 +-
 24 files changed, 294 insertions(+), 222 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8cd9157b/package.json
----------------------------------------------------------------------


[17/50] [abbrv] incubator-weex git commit: * [ios] protect nil object in array

Posted by so...@apache.org.
* [ios] protect nil object in array


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/fee493bc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/fee493bc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/fee493bc

Branch: refs/heads/dev
Commit: fee493bcd26c7c91b0c42b9b842079e6598145f0
Parents: c4afacb
Author: acton393 <zh...@gmail.com>
Authored: Fri Apr 21 16:32:21 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Fri Apr 21 16:32:21 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Component/WXListComponent.m | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/fee493bc/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
index add07dd..e1a9d54 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Component/WXListComponent.m
@@ -823,6 +823,9 @@
 
 - (void)_deleteTableViewCellAtIndexPath:(NSIndexPath *)indexPath keepScrollPosition:(BOOL)keepScrollPosition animation:(UITableViewRowAnimation)animation
 {
+    if (!indexPath) {
+        return ;
+    }
     [self _performUpdates:^{
         [_tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:animation];
     } withKeepScrollPosition:keepScrollPosition adjustmentBlock:^CGFloat(NSIndexPath *top) {


[34/50] [abbrv] incubator-weex git commit: * [jsfm] update jsfm to 0.20.5 fixed timer cannot clear timer clearTimer issue

Posted by so...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8a56e2f7/ios/sdk/WeexSDK/Resources/main.js
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Resources/main.js b/ios/sdk/WeexSDK/Resources/main.js
index 0408ec0..29185da 100644
--- a/ios/sdk/WeexSDK/Resources/main.js
+++ b/ios/sdk/WeexSDK/Resources/main.js
@@ -1,8 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.4, Build 2017-04-13 19:21."),this.getJSFMVersion=function(){return"0.20.4"};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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof ks){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,ks(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=Cs,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 C(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=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function Ce(e){return wu.call(e)===Ou}function ke(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(Cu,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||Ce(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!ke(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){ke(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;Ce(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?kt(t,n):Ct(t),t._vm&&t._vm.$emit("hook:destroyed")}function Ct(e){var t=e.parentNode;t&&t.removeChild(e)}function kt(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||Ct(e.start),n.forEach(function(e){Ct(e)}),t||Ct(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=yt(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,xe(c,s))}}et(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=wt(e,o,n)),-1!==f.lastSignal&&Vt(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=wt(e,o,n))}function Vt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return At(e,t,n),-1!==r.lastSignal})}functio
 n zt(e,t,n,r){function o(e,r,o){var a;c?(a=e,Ee(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),a={},a[l]=r,a[f]=e)):(a={},a[l]=r,a[f]=e);var s=Jt(o,a);i.push(s),At(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,d=qt(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):Et(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var 
 s=u?t[u]:c?t[l]:r,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),Ot(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Wt(e,t,n,r){var o=qt(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?At(e,t,n,r):Et(e,n,!0))});n.display=!!o,o&&At(e,t,n,r)}function qt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return vt(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function Jt(e,t){var n=Object.create(e);return n._data=t,Ge(n),Ke(n),n._realParent=e,e._static&&(n._static=e._static),n}function Ht(e,t){if(t instanceof Ht)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},thi
 s.hasStopped=function(){return n}}function Gt(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Ht(e,t);o.forEach(function(e){e.call(n,i)})}}function Xt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Kt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Zt(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function Qt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Yt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);zu.forEach(function(t){e.$on("hook:"+t,n[t])})}function en(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customC
 omponentMap&&(t=this._app.customComponentMap[e]),t=t||{};var a=t.data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids={},this._vmEvents={},this._childrenVms=[],this._type=e,Yt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&be(this._data,o),He(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,jt(this))}function tn(e,t){for(var n in e)!function(n){var r=Wu[n];r||(r={},Wu[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function nn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProper
 ty(r)||(n[r]=t[r])}function rn(e,t){var n=Wu[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function on(e,t){return e.customComponentMap[t]}function an(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function sn(e){if(qu.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function un(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf
 ("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function cn(e,t){t=t||global.WXEnvironment,t=Ce(t)?t:{};var n={isDowngrade:!1};if("function"===Ae(e)){var r=e.call(this,t,{semver:qu,normalizeVersion:sn});r=!!r,n=r?un("custom","","custom params"):n}else{e=Ce(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=sn(p),v=sn(t[s]);if(qu.satisfies(v,h)){n=un(u,l,p);break}}else if(d){var m="array"===Ae(p)?p:[p];if(m.indexOf(l)>=0){n=un(u,l,p);break}}}}return n}function ln(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function fn(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(ku(t))o=Ie(t);else{if(!Iu(t))return new Error("Wrong component name: "+t);if(o=Te(t),!on(e,o))return new Error("It's not a component: 
 "+t)}if(n=Ce(n)?n:{},
-"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!qu.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=cn(n.downgrade);if(i.isDowngrade)return e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage);n.viewport&&ln(e,n.viewport),e.vm=new en(o,null,{_app:e},null,r)}function dn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),an(e,t,n)}function pn(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):be(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function hn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.
 vm&&vn(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function vn(e){if(delete e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)vn(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function mn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function yn(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return!1!==yn(e,t,n,r)});var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i
 ,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}function _n(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return gn(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function gn(e){e.differ.flush()}function bn(e,t){var n;return"array"!==Ae(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function wn(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return Ju.apply(void 0,[e].concat(t))},a=function(t,r,i){o=fn(e,t,r,i||n),gn(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=en,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return dn.apply(void 0,[e].concat
 (t))},c=function(t,n){o=fn(e,t,{},n)},l=function(t){return function(n){o=fn(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(Ie(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h='(function(global){\n\n"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}}
 )}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return Sn(_,h)||On(_,h),o}function On(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function Sn(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=compileAndRunBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function xn(e,t){var n=e[t];for(var r in n)n[r]()}function En(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function Cn(e,t){this.id=e,this.options=t||{},this.vm=null,this.custom
 ComponentMap={},this.commonModules={},this.doc=new Lu.Document(e,this.options.bundleUrl,null,Lu.Listener),this.differ=new Hu(e)}function kn(e,t,n,r,o){var i=o||{},a=i.services;$e();var s=Gu[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new Cn(e,n),Gu[e]=s,u=wn(s,t,r,a)),u}function jn(e){Lu.Document=e.Document,Lu.Element=e.Element,Lu.Comment=e.Comment,Lu.sendTasks=e.sendTasks,Lu.Listener=e.Listener}function An(e,t){var n=Gu[e];return n?pn(n,t):new Error('invalid instance id "'+e+'"')}function In(e){"function"==typeof markupState&&markupState(),$e();var t=Gu[e];if(!t)return new Error('invalid instance id "'+e+'"');hn(t),delete Gu[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Gu}function Tn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Xu[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Xu[e.type]=e))})}function Pn(e){"object"==typeof e&&tn(e)}function Nn(e){"object"==typeof e&&nn(en,
 e)}function Mn(e,t){if(Gu[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Ku[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function $n(e){var t=Gu[e];return t?mn(t):new Error('invalid instance id "'+e+'"')}function Rn(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function Dn(){}function Fn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function Ln(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop
  is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function Bn(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function Un(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please us
 e \"require('@weex-module/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function zn(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function Wn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var qn={browser:"0.5.0",framework:"0.20.4","vue-render":"0.11.5",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=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=fu
 nction(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 s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var Jn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},Hn=t(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)}),Gn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Xn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Kn=Xn,Zn=funct
 ion(e){if(!Kn(e))throw TypeError(e+" is not an object!");return e},Qn=function(e){try{return!!e()}catch(e){return!0}},Yn=!Qn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),er=Xn,tr=Hn.document,nr=er(tr)&&er(tr.createElement),rr=function(e){return nr?tr.createElement(e):{}},or=!Yn&&!Qn(function(){return 7!=Object.defineProperty(rr("div"),"a",{get:function(){return 7}}).a}),ir=Xn,ar=function(e,t){if(!ir(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ir(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},sr=Zn,ur=or,cr=ar,lr=Object.defineProperty,fr=Yn?Object.defineProperty:function(e,t,n){if(sr(e),t=cr(t,!0),sr(n),ur)try{return lr(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},dr={f:fr},pr=function(e,t){ret
 urn{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hr=dr,vr=pr,mr=Yn?function(e,t,n){return hr.f(e,t,vr(1,n))}:function(e,t,n){return e[t]=n,e},yr={}.hasOwnProperty,_r=function(e,t){return yr.call(e,t)},gr=0,br=Math.random(),wr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++gr+br).toString(36))},Or=t(function(e){var t=Hn,n=mr,r=_r,o=wr("src"),i=Function.toString,a=(""+i).split("toString");Gn.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),Sr=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},xr=Sr,Er=function(e,t,n){if(xr(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return funct
 ion(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)}},Cr=Hn,kr=Gn,jr=mr,Ar=Or,Ir=Er,Tr=function(e,t,n){var r,o,i,a,s=e&Tr.F,u=e&Tr.G,c=e&Tr.S,l=e&Tr.P,f=e&Tr.B,d=u?Cr:c?Cr[t]||(Cr[t]={}):(Cr[t]||{}).prototype,p=u?kr:kr[t]||(kr[t]={}),h=p.prototype||(p.prototype={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Ir(i,Cr):l&&"function"==typeof i?Ir(Function.call,i):i,d&&Ar(d,r,i,e&Tr.U),p[r]!=i&&jr(p,r,a),l&&h[r]!=i&&(h[r]=i)};Cr.core=kr,Tr.F=1,Tr.G=2,Tr.S=4,Tr.P=8,Tr.B=16,Tr.W=32,Tr.U=64,Tr.R=128;var Pr=Tr,Nr={}.toString,Mr=function(e){return Nr.call(e).slice(8,-1)},$r=Mr,Rr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$r(e)?e.split(""):Object(e)},Dr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Fr=Rr,Lr=Dr,Br=function(e){return Fr(Lr(e))},Ur=Math.ceil,Vr=Math.floor,zr=function(e){return isNaN(e=+e)?0:(e>0?Vr:Ur)(e)},Wr=zr,qr=Math.m
 in,Jr=function(e){return e>0?qr(Wr(e),9007199254740991):0},Hr=zr,Gr=Math.max,Xr=Math.min,Kr=function(e,t){return e=Hr(e),e<0?Gr(e+t,0):Xr(e,t)},Zr=Br,Qr=Jr,Yr=Kr,eo=Hn,to=eo["__core-js_shared__"]||(eo["__core-js_shared__"]={}),no=function(e){return to[e]||(to[e]={})},ro=no("keys"),oo=wr,io=function(e){return ro[e]||(ro[e]=oo(e))},ao=_r,so=Br,uo=function(e){return function(t,n,r){var o,i=Zr(t),a=Qr(i.length),s=Yr(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),co=io("IE_PROTO"),lo=function(e,t){var n,r=so(e),o=0,i=[];for(n in r)n!=co&&ao(r,n)&&i.push(n);for(;t.length>o;)ao(r,n=t[o++])&&(~uo(i,n)||i.push(n));return i},fo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),po=lo,ho=fo,vo=Object.keys||function(e){return po(e,ho)},mo=Object.getOwnPropertySymbols,yo={f:mo},_o={}.propertyIsEnumerable,go={f:_o},bo=Dr,wo=function(e){return Object(bo(e))},Oo
 =vo,So=yo,xo=go,Eo=wo,Co=Rr,ko=Object.assign,jo=!ko||Qn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ko({},e)[n]||Object.keys(ko({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Eo(e),o=arguments.length,i=1,a=So.f,s=xo.f;o>i;)for(var u,c=Co(n[i++]),l=a?Oo(c).concat(a(c)):Oo(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:ko,Ao=Pr;Ao(Ao.S+Ao.F,"Object",{assign:jo}),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,r.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 Io=Jn,To=Io.WXEnvironment;To&&"iOS"===To.platform&&(Jn.Promise=void 0);var Po=t(function(e){var t=no("wks"),n=wr,r=Hn.Symbol,o="function"==typeof r;(e.exports=func
 tion(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),No=Mr,Mo=Po("toStringTag"),$o="Arguments"==No(function(){return arguments}()),Ro=function(e,t){try{return e[t]}catch(e){}},Do=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ro(t=Object(e),Mo))?n:$o?No(t):"Object"==(r=No(t))&&"function"==typeof t.callee?"Arguments":r},Fo=Do,Lo={};Lo[Po("toStringTag")]="z",Lo+""!="[object z]"&&Or(Object.prototype,"toString",function(){return"[object "+Fo(this)+"]"},!0);var Bo=zr,Uo=Dr,Vo={},zo=dr,Wo=Zn,qo=vo,Jo=Yn?Object.defineProperties:function(e,t){Wo(e);for(var n,r=qo(t),o=r.length,i=0;o>i;)zo.f(e,n=r[i++],t[n]);return e},Ho=Hn.document&&document.documentElement,Go=Zn,Xo=Jo,Ko=fo,Zo=io("IE_PROTO"),Qo=function(){},Yo=function(){var e,t=rr("iframe"),n=Ko.length;for(t.style.display="none",Ho.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Yo=e.F;n--;)delete Yo.pro
 totype[Ko[n]];return Yo()},ei=Object.create||function(e,t){var n;return null!==e?(Qo.prototype=Go(e),n=new Qo,Qo.prototype=null,n[Zo]=e):n=Yo(),void 0===t?n:Xo(n,t)},ti=dr.f,ni=_r,ri=Po("toStringTag"),oi=function(e,t,n){e&&!ni(e=n?e:e.prototype,ri)&&ti(e,ri,{configurable:!0,value:t})},ii=ei,ai=pr,si=oi,ui={};mr(ui,Po("iterator"),function(){return this});var ci=function(e,t,n){e.prototype=ii(ui,{next:ai(1,n)}),si(e,t+" Iterator")},li=_r,fi=wo,di=io("IE_PROTO"),pi=Object.prototype,hi=Object.getPrototypeOf||function(e){return e=fi(e),li(e,di)?e[di]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?pi:null},vi=Pr,mi=Or,yi=mr,_i=_r,gi=Vo,bi=ci,wi=oi,Oi=hi,Si=Po("iterator"),xi=!([].keys&&"next"in[].keys()),Ei=function(){return this},Ci=function(e,t,n,r,o,i,a){bi(n,t,r);var s,u,c,l=function(e){if(!xi&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=
 t+" Iterator",d="values"==o,p=!1,h=e.prototype,v=h[Si]||h["@@iterator"]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Oi(_.call(new e)))!==Object.prototype&&(wi(c,f,!0),_i(c,Si)||yi(c,Si,Ei)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),(xi||p||!h[Si])&&yi(h,Si,m),gi[t]=m,gi[f]=Ei,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||mi(h,u,s[u]);else vi(vi.P+vi.F*(xi||p),t,s);return s},ki=function(e){return function(t,n){var r,o,i=String(Uo(t)),a=Bo(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<55296||r>56319||a+1===s||(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);Ci(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=ki(t,n),this._i+=e.length,{value:e,done:!1})});var ji=Po("unscopables"),Ai=Array.prototype;void 0==Ai[ji]&&mr(Ai,ji,{})
 ;var Ii=function(e){Ai[ji][e]=!0},Ti=function(e,t){return{value:t,done:!!e}},Pi=Ii,Ni=Ti,Mi=Vo,$i=Br,Ri=Ci(Array,"Array",function(e,t){this._t=$i(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,Ni(1)):"keys"==t?Ni(0,n):"values"==t?Ni(0,e[n]):Ni(0,[n,e[n]])},"values");Mi.Arguments=Mi.Array,Pi("keys"),Pi("values"),Pi("entries");for(var Di=Ri,Fi=Or,Li=Hn,Bi=mr,Ui=Vo,Vi=Po,zi=Vi("iterator"),Wi=Vi("toStringTag"),qi=Ui.Array,Ji=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Hi=0;Hi<5;Hi++){var Gi,Xi=Ji[Hi],Ki=Li[Xi],Zi=Ki&&Ki.prototype;if(Zi){Zi[zi]||Bi(Zi,zi,qi),Zi[Wi]||Bi(Zi,Wi,Xi),Ui[Xi]=qi;for(Gi in Di)Zi[Gi]||Fi(Zi,Gi,Di[Gi],!0)}}var Qi,Yi,ea,ta=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},na=Zn,ra=function(e,t,n,r){try{return r?t(na(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&na(o.call(e)),t}},oa=Vo,ia=Po("iterator")
 ,aa=Array.prototype,sa=function(e){return void 0!==e&&(oa.Array===e||aa[ia]===e)},ua=Do,ca=Po("iterator"),la=Vo,fa=Gn.getIteratorMethod=function(e){if(void 0!=e)return e[ca]||e["@@iterator"]||la[ua(e)]},da=t(function(e){var t=Er,n=ra,r=sa,o=Zn,i=Jr,a=fa,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if((m=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=n(v,_,h.value,c))===s||m===u)return m};c.BREAK=s,c.RETURN=u}),pa=Zn,ha=Sr,va=Po("species"),ma=function(e,t){var n,r=pa(e).constructor;return void 0===r||void 0==(n=pa(r)[va])?t:ha(n)},ya=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)},_a=Er,ga=ya,ba=Ho,wa=rr,Oa=Hn,Sa=Oa.process,xa=Oa.setImmediate,Ea=Oa.clearImmediate,Ca=Oa.MessageChannel,ka=0,ja={},Aa=function(){var e=+this;if(ja.hasOwnProperty(e)){var t=ja[e];delete ja[e],t()}},Ia=function(e){Aa.call(e.data)};xa&&Ea||(xa=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return ja[++ka]=function(){ga("function"==typeof e?e:Function(e),n)},Qi(ka),ka},Ea=function(e){delete ja[e]},"process"==Mr(Sa)?Qi=function(e){Sa.nextTick(_a(Aa,e,1))}:Ca?(Yi=new Ca,ea=Yi.port2,Yi.port1.onmessage=Ia,Qi=_a(ea.postMessage,ea,1)):Oa.addEventListener&&"function"==typeof postMessage&&!Oa.importScripts?(Qi=function(e){Oa.postMessage(e+"","*")},Oa.addEventListener("message",Ia,!1)):Qi="onreadystatechange"in wa("script")?function(e){ba.appendChild(wa("script")).onreadystatechange=function(){ba.removeChild(this),Aa.call(e)}}:function(e){setTimeout(_a(Aa,e,1),0)});var Ta={set:xa,clear:Ea},Pa=Hn,Na=T
 a.set,Ma=Pa.MutationObserver||Pa.WebKitMutationObserver,$a=Pa.process,Ra=Pa.Promise,Da="process"==Mr($a),Fa=Or,La=Hn,Ba=dr,Ua=Yn,Va=Po("species"),za=Po("iterator"),Wa=!1;try{var qa=[7][za]();qa.return=function(){Wa=!0},Array.from(qa,function(){throw 2})}catch(e){}var Ja,Ha,Ga,Xa=Hn,Ka=Er,Za=Do,Qa=Pr,Ya=Xn,es=Sr,ts=ta,ns=da,rs=ma,os=Ta.set,is=function(){var e,t,n,r=function(){var r,o;for(Da&&(r=$a.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(Da)n=function(){$a.nextTick(r)};else if(Ma){var o=!0,i=document.createTextNode("");new Ma(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Ra&&Ra.resolve){var a=Ra.resolve();n=function(){a.then(r)}}else n=function(){Na.call(Pa,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),as=Xa.TypeError,ss=Xa.process,us=Xa.Promise,ss=Xa.process,cs="process"==Za(ss),ls=function(){},fs=!!function(){try{var e=us.resolve(1),t=(e.constructor={})[Po("spec
 ies")]=function(e){e(ls,ls)};return(cs||"function"==typeof PromiseRejectionEvent)&&e.then(ls)instanceof t}catch(e){}}(),ds=function(e,t){return e===t||e===us&&t===Ga},ps=function(e){var t;return!(!Ya(e)||"function"!=typeof(t=e.then))&&t},hs=function(e){return ds(us,e)?new vs(e):new Ha(e)},vs=Ha=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw as("Bad Promise constructor");t=e,n=r}),this.resolve=es(t),this.reject=es(n)},ms=function(e){try{e()}catch(e){return{error:e}}},ys=function(e,t){if(!e._n){e._n=!0;var n=e._c;is(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,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&bs(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(as("Promise-chain cycle")):(i=ps(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&_s(e)})}},_s=function(e){os.call(Xa,function(){var t,n,r,o=e._v;if(gs(e)&&(t=ms(function(){cs?ss.emit("unhand
 ledRejection",o,e):(n=Xa.onunhandledrejection)?n({promise:e,reason:o}):(r=Xa.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=cs||gs(e)?2:1),e._a=void 0,t)throw t.error})},gs=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++],t.fail||!gs(t.promise))return!1;return!0},bs=function(e){os.call(Xa,function(){var t;cs?ss.emit("rejectionHandled",e):(t=Xa.onrejectionhandled)&&t({promise:e,reason:e._v})})},ws=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),ys(t,!0))},Os=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw as("Promise can't be resolved itself");(t=ps(e))?is(function(){var r={_w:n,_d:!1};try{t.call(e,Ka(Os,r,1),Ka(ws,r,1))}catch(e){ws.call(r,e)}}):(n._v=e,n._s=1,ys(n,!1))}catch(e){ws.call({_w:n,_d:!1},e)}}};fs||(us=function(e){ts(this,us,"Promise","_h"),es(e),Ja.call(this);try{e(Ka(Os,this,1),Ka(ws,this,1))}catch(e){ws.call(this,e)}},Ja=function(e){this._c=[],this._a=vo
 id 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ja.prototype=function(e,t,n){for(var r in t)Fa(e,r,t[r],n);return e}(us.prototype,{then:function(e,t){var n=hs(rs(this,us));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=cs?ss.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&ys(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),vs=function(){var e=new Ja;this.promise=e,this.resolve=Ka(Os,e,1),this.reject=Ka(ws,e,1)}),Qa(Qa.G+Qa.W+Qa.F*!fs,{Promise:us}),oi(us,"Promise"),function(e){var t=La[e];Ua&&t&&!t[Va]&&Ba.f(t,Va,{configurable:!0,get:function(){return this}})}("Promise"),Ga=Gn.Promise,Qa(Qa.S+Qa.F*!fs,"Promise",{reject:function(e){var t=hs(this);return(0,t.reject)(e),t.promise}}),Qa(Qa.S+Qa.F*!fs,"Promise",{resolve:function(e){if(e instanceof us&&ds(e.constructor,this))return e;var t=hs(this);return(0,t.resolve)(e),t.promise}}),Qa(Qa.S+Qa.F*!(fs&&function(e,t){if(!t&&!Wa)return!1;var n=!1;try{var r=[7],o=r
 [za]();o.next=function(){return{done:n=!0}},r[za]=function(){return o},e(r)}catch(e){}return n}(function(e){us.all(e).catch(ls)})),"Promise",{all:function(e){var t=this,n=hs(t),r=n.resolve,o=n.reject,i=ms(function(){var n=[],i=0,a=1;ns(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&&o(i.error),n.promise},race:function(e){var t=this,n=hs(t),r=n.reject,o=ms(function(){ns(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var Ss=["off","error","warn","info","log","debug"],xs={},Es=global.console,Cs=global.setTimeout,ks=global.setTimeoutNative;s();var js=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};js.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},js.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},js.prototype.consume=function(e,t,n){v
 ar r=this.callbacks[e];return void 0!==n&&!1!==n||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},js.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var As={},Is=1;k.prototype.destroy=function(){var e=h(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Ts,Ps={},Ns="div";A.prototype=Object.create(k.prototype),A.prototype.constructor=A,function(e){Ts=e}(A),Object.assign(A.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(E(e,this.children,this.children.length,!0),1===e.nodeType){var t=E(e,this.pureChildren,this.pureChildren.length),n=m(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(w(e,this),x(e,this.children,this.children.length,!0),this.docId&&I(this.docId,e),1===e.nodeType){x(e,this.pureChildren,this.pureChildren.length);var r=m(this.docId);if(r)retur
 n 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(E(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=O(t),r=E(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=m(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t),!0),this.docId&&I(this.docId,e),1===e.nodeType){var i=O(t),a=x(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=m(this.docId);if(s)return s.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(E(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=E(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),r=m(
 this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&I(this.docId,e),1===e.nodeType){var o=x(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),i=m(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(C(e,this.children,!0),1===e.nodeType)){C(e,this.pureChildren);var n=m(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=m(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=m(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.s
 tyle[e]=t;var r=m(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=m(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=m(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=m(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t){var n=this.event[e];if(n)return n.call(this,t)},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 Ms=function(){},$s=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new js}),Ms=t||function(){}};$s.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},$s.prototype.destroyCallback=function(){return this.callbackManager.close()},$s.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},$s.prototype.normalize=function(e){switch(this.typof(e)){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 instanceof A?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSO
 N.stringify(e)}},$s.prototype.send=function(e,t,n){var r=this,o=t.action,i=t.component,a=t.ref,s=t.module,u=t.method;switch(n=n.map(function(e){return r.normalize(e)}),e){case"dom":return this[o](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,a,u,n,{component:i});default:return this.moduleHandler(this.instanceId,s,u,n,{})}},$s.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},$s.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},$s.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var Rs,Ds,Fs=[],Ls=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Bs={},Us={createInstance:F,registerService:P,unregisterService:N};W.prototype=Object.create(k.prototype),W.prototype.constructor=W,W.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(q.prototype,{createFinish:function(e){return(0,this.handler)([J("createFinish")],e)},updateFinish:function(e){
 return(0,this.handler)([J("updateFinish")],e)},refreshFinish:function(e){return(0,
-this.handler)([J("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[J("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return J("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(J("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return J("removeElement",[e])});return this.addActions(t)}return this.addActions(J("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(J("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(J("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[t]=n,this.addActions(J("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(J("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(J("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(J("removeEvent",[e,t]))},handler:funct
 ion(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 Vs={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};K.handler=null,Object.assign(K.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 A("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)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,wr
 itable:!0,value:function(t,n){_(e,t,n)}})}return this.documentElement},createBody:function(e,t){if(!this.body){b(this,new A(e,t))}return this.body},createElement:function(e,t){return new A(e,t)},createComment:function(e){return new W(e)},fireEvent:function(e,t,n,r){if(e)return n=n||{},n.type=t,n.target=e,n.timestamp=Date.now(),r&&Z(e,r),e.fireEvent(t,n)},destroy:function(){delete this.listener,delete this.nodeMap,v(this.id)}});var zs={Document:K,Element:A,Comment:W,Listener:q,TaskCenter:$s,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return global.callNative.apply(global,e)}};K.handler=zs.sendTasks;var Ws,qs={setNativeConsole:n,resetNativeConsole:r,setNativeTimer:s,resetNativeTimer:u,service:{register:P,unregister:N,has:M},freezePrototype:Q,init:z,config:zs},Js={},Hs={},Gs=Y,Xs=ee,Ks=te,Zs=ne,Qs=re,Ys=oe,eu=ie,tu=ae,nu=se,ru=ue,ou={init:Gs,registerComponents:Xs,registerModules:Ks,registerMethods:Zs,prepareInstance:Qs,createInstance:Ys,refreshInstance:e
 u,destroyInstance:tu,getRoot:nu,receiveTasks:ru},iu=Object.freeze({default:ou,__moduleExports:ou,init:Gs,registerComponents:Xs,registerModules:Ks,registerMethods:Zs,prepareInstance:Qs,createInstance:Ys,refreshInstance:eu,destroyInstance:tu,getRoot:nu,receiveTasks:ru}),au=function(e,t){function n(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function r(e){var t=parseFloat(e);return isNaN(t)?e:t}function o(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]}}function i(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function a(e,t){return an.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(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 l(e
 ,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return ln.call(e)===fn}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function v(){}function m(e,t){var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function y(e,t){for(var n=0;n<e.length;n++)if(m(e[n],t))return n;return-1}function _(e){var t=!1;return function(){t||(t=!0,e())}}function g(e){return/native code/.test(e.toString())}function b(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function w(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function O(e){if(!En.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}}}function S(e){jn.target&&An.push(jn.target),jn.target=e}function x(){jn.ta
 rget=An.pop()}function E(e,t){e.__proto__=t}function C(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];w(e,i,t[i])}}function k(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof Mn?n=e.__ob__:Nn.shouldConvert&&!bn()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Mn(e)),t&&n&&n.vmCount++,n}}function j(e,t,n,r){var o=new jn,i=Object.getOwnPropertyDescriptor(e,t);if(!i||!1!==i.configurable){var a=i&&i.get,s=i&&i.set,u=k(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return jn.target&&(o.depend(),u&&u.dep.depend(),Array.isArray(t)&&T(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,u=k(t),o.notify())}})}}function A(e,t,n){if(Array.isArray(e))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(a(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(j(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function I(e,t){if(Array.isArray(e))return void e.splice(t,
 1);var n=e.__ob__;e._isVue||n&&n.vmCount||a(e,t)&&(delete e[t],n&&n.dep.notify())}function T(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&T(t)}function P(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),s=0;s<i.length;s++)n=i[s],r=e[n],o=t[n],a(e,n)?p(r)&&p(o)&&P(r,o):A(e,n,o);return e}function N(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function M(e,t){var n=Object.create(e||null);return t?f(n,t):n}function $(e){var t=e.props;if(t){var n,r,o,i={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o=sn(r),i[o]={type:null});else if(p(t))for(var a in t)r=t[a],o=sn(a),i[o]=p(r)?r:{type:r};e.props=i}}function R(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})}}function D(e,t,n){function r(r){var o=$n[r]||Rn;l[r]=o(e[r],t[r],n,r)}$(t),R(t);var o=t.extends;if(o&&(e="function"==typeof o?D(e,o.options,n):D(e,o,n)),t.mixins)for(var i=0,s=t.mixins.length;i
 <s;i++){var u=t.mixins[i];u.prototype instanceof rt&&(u=u.options),e=D(e,u,n)}var c,l={};for(c in e)r(c);for(c in t)a(e,c)||r(c);return l}function F(e,t,n,r){if("string"==typeof n){var o=e[t];if(a(o,n))return o[n];var i=sn(n);if(a(o,i))return o[i];var s=un(i);if(a(o,s))return o[s];var u=o[n]||o[i]||o[s];return u}}function L(e,t,n,r){var o=t[e],i=!a(n,e),s=n[e];if(V(Boolean,o.type)&&(i&&!a(o,"default")?s=!1:V(String,o.type)||""!==s&&s!==cn(e)||(s=!0)),void 0===s){s=B(r,o,e);var u=Nn.shouldConvert;Nn.shouldConvert=!0,k(s),Nn.shouldConvert=u}return s}function B(e,t,n){if(a(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==U(t.type)?r.call(e):r}}function U(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t&&t[1]}function V(e,t){if(!Array.isArray(t))return U(t)===U(e);for(var n=0,r=t.length;n<r;n++)if(U(t[n])===U(e))return!0;return!1}function z(e,t,n){if(hn.errorHa
 ndler)hn.errorHandler.call(null,e,t,n);else{if(!mn||"undefined"==typeof console)throw e;console.error(e)}}function W(e){return new Dn(void 0,void 0,void 0,String(e))}function q(e){var t=new Dn(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isCloned=!0,t}function J(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=q(e[r]);return n}function H(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function G(e,t,n,r,o){var i,a,s,u;for(i in e)a=e[i],s=t[i],u=Un(i),a&&(s?a!==s&&(s.fns=a,e[i]=s):(a.fns||(a=e[i]=H(a)),n(u.name,a,u.once,u.capture)));for(i in t)e[i]||(u=Un(i),r(u.name,t[i],u.capture))}function X(e,t,n){function r(){n.apply(this,arguments),i(o.fns,r)}var o,a=e[t];a?a.fns&&a.merged?(o=a,o.fns.push(r)):o=H([a,r]):o=H([r]),o.merged=!0,e[t]=o}function K(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))
 return Array.prototype.concat.apply([],e);return e}function Z(e){return s(e)?[W(e)]:Array.isArray(e)?Q(e):void 0}function Q(e,t){var n,r,o,i=[];for(n=0;n<e.length;n++)null!=(r=e[n])&&"boolean"!=typeof r&&(o=i[i.length-1],Array.isArray(r)?i.push.apply(i,Q(r,(t||"")+"_"+n)):s(r)?o&&o.text?o.text+=String(r):""!==r&&i.push(W(r)):r.text&&o&&o.text?i[i.length-1]=W(o.text+r.text):(r.tag&&null==r.key&&null!=t&&(r.key="__vlist"+t+"_"+n+"__"),i.push(r)));return i}function Y(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function ee(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&re(e,t)}function te(e,t,n){n?Ln.$once(e,t):Ln.$on(e,t)}function ne(e,t){Ln.$off(e,t)}function re(e,t,n){Ln=e,G(t,n||{},te,ne,e)}function oe(e,t){var n={};if(!e)return n;for(var r,o,i=[],a=0,s=e.length;a<s;a++)if(o=e[a],(o.context===t||o.functionalContext===t)&&o.data&&(r=o.data.slot)){var u=n[r]||(n[r]=[]);"template"===o.tag?u.push.apply(u,o.children):u.pus
 h(o)}else i.push(o);return i.every(ie)||(n.default=i),n}function ie(e){return e.isComment||" "===e.text}function ae(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}function se(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 ue(e,t,n){e.$el=t,e.$options.render||(e.$options.render=Bn),pe(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new Kn(e,r,v),n=!1,null==e.$vnode&&(e._isMounted=!0,pe(e,"mounted")),e}function ce(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==xn);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,t&&e.$options.props){Nn.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u
 <s.length;u++){var c=s[u];a[c]=L(c,e.$options.props,t,e)}Nn.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,re(e,n,l)}i&&(e.$slots=oe(o,r.context),e.$forceUpdate())}function le(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function fe(e,t){if(t){if(e._directInactive=!1,le(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++)fe(e.$children[n]);pe(e,"activated")}}function de(e,t){if(!(t&&(e._directInactive=!0,le(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)de(e.$children[n]);pe(e,"deactivated")}}function pe(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){z(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function he(){zn.length=0,Wn={},qn=Hn=!1}function ve(){Hn=!0;var e,t,n;for(zn.sort(function(e,t){return e.id-t.id}),Gn=0;Gn<zn.length;Gn++)e=zn[Gn],t=e.id,Wn[t]=null,e.
 run();for(Gn=zn.length;Gn--;)e=zn[Gn],n=e.vm,n._watcher===e&&n._isMounted&&pe(n,"updated");wn&&hn.devtools&&wn.emit("flush"),he()}function me(e){var t=e.id;if(null==Wn[t]){if(Wn[t]=!0,Hn){for(var n=zn.length-1;n>=0&&zn[n].id>e.id;)n--;zn.splice(Math.max(n,Gn)+1,0,e)}else zn.push(e);qn||(qn=!0,Sn(ve))}}function ye(e){Zn.clear(),_e(e,Zn)}function _e(e,t){var n,r,o=Array.isArray(e);if((o||d(e))&&Object.isExtensible(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)_e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)_e(e[r[n]],t)}}function ge(e,t,n){Qn.get=function(){return this[t][n]},Qn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Qn)}function be(e){e._watchers=[];var t=e.$options;t.props&&we(e,t.props),t.methods&&Ce(e,t.methods),t.data?Oe(e):k(e._data={},!0),t.computed&&Se(e,t.computed),t.watch&&ke(e,t.watch)}function we(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Nn.shouldConvert=i;for
 (var a in t)!function(i){o.push(i);var a=L(i,t,n,e);j(r,i,a),i in e||ge(e,"_props",i)}(a);Nn.shouldConvert=!0}function Oe(e){var t=e.$options.data;t=e._data="function"==typeof t?t.call(e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&a(r,n[o])||b(n[o])||ge(e,"_data",n[o]);k(t,!0)}function Se(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var o=t[r],i="function"==typeof o?o:o.get;n[r]=new Kn(e,i,v,Yn),r in e||xe(e,r,o)}}function xe(e,t,n){"function"==typeof n?(Qn.get=Ee(t),Qn.set=v):(Qn.get=n.get?!1!==n.cache?Ee(t):n.get:v,Qn.set=n.set?n.set:v),Object.defineProperty(e,t,Qn)}function Ee(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),jn.target&&t.depend(),t.value}}function Ce(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?v:c(t[n],e)}function ke(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)je(e,n,r[o]);else je(e,n,r)}}function j
 e(e,t,n){var r;p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Ae(e,t,n,r,o){if(e){var i=n.$options._base;if(d(e)&&(e=i.extend(e)),"function"==typeof e){if(!e.cid)if(e.resolved)e=e.resolved;else if(!(e=Pe(e,i,function(){n.$forceUpdate()})))return;et(e),t=t||{},t.model&&De(e.options,t);var a=Ne(t,e);if(e.options.functional)return Ie(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),$e(t);var u=e.options.name||o;return new Dn("vue-component-"+e.cid+(u?"-"+u:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:a,listeners:s,tag:o,children:r})}}}function Ie(e,t,n,r,o){var i={},a=e.options.props;if(a)for(var s in a)i[s]=L(s,a,t);var u=Object.create(r),c=function(e,t,n,r){return Fe(u,e,t,n,r,!0)},l=e.options.render.call(null,c,{props:i,data:n,parent:r,children:o,slots:function(){return oe(o,r)}});return l instanceof Dn&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function Te(e,t,n,r){var o=e.componentOptions,i={_isComponent:
 !0,parent:t,propsData:o.propsData,_componentTag:o.tag,_parentVnode:e,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return a&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new o.Ctor(i)}function Pe(e,t,n){if(!e.requested){e.requested=!0;var r=e.pendingCallbacks=[n],o=!0,i=function(n){if(d(n)&&(n=t.extend(n)),e.resolved=n,!o)for(var i=0,a=r.length;i<a;i++)r[i](n)},a=function(e){},s=e(i,a);return s&&"function"==typeof s.then&&!e.resolved&&s.then(i,a),o=!1,e.resolved}e.pendingCallbacks.push(n)}function Ne(e,t){var n=t.options.props;if(n){var r={},o=e.attrs,i=e.props,a=e.domProps;if(o||i||a)for(var s in n){var u=cn(s);Me(r,i,s,u,!0)||Me(r,o,s,u)||Me(r,a,s,u)}return r}}function Me(e,t,n,r,o){if(t){if(a(t,n))return e[n]=t[n],o||delete t[n],!0;if(a(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function $e(e){e.hook||(e.hook={});for(var t=0;t<tr.length;t++){var n=tr[t],r=e.hook[n],o=er[n];e.hook[n]=r?Re(o,r):o
 }}function Re(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function De(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={});o[r]?o[r]=[t.model.callback].concat(o[r]):o[r]=t.model.callback}function Fe(e,t,n,r,o,i){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i&&(o=rr),Le(e,t,n,r,o)}function Le(e,t,n,r,o){if(n&&n.__ob__)return Bn();if(!t)return Bn();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===rr?r=Z(r):o===nr&&(r=K(r));var i,a;if("string"==typeof t){var s;a=hn.getTagNamespace(t),i=hn.isReservedTag(t)?new Dn(hn.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=F(e.$options,"components",t))?Ae(s,n,e,r,t):new Dn(t,n,r,void 0,void 0,e)}else i=Ae(t,n,e,r);return i?(a&&Be(i,a),i):Bn()}function Be(e,t){if(e.ns=t,"foreignObject"!==e.tag&&e.children)for(var n=0,r=e.children.length;n<r;n++){var o=e.children[n];o.tag&&!o.ns&&Be(o,t)}}function Ue(e
 ,t){var n,r,o,i,a;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(d(e))for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;r<o;r++)a=i[r],n[r]=t(e[a],a,r);return n}function Ve(e,t,n,r){var o=this.$scopedSlots[e];if(o)return n=n||{},r&&f(n,r),o(n)||t;var i=this.$slots[e];return i||t}function ze(e){return F(this.$options,"filters",e,!0)||pn}function We(e,t,n){var r=hn.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function qe(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=h(n));var o;for(var i in n){if("class"===i||"style"===i)o=e;else{var a=e.attrs&&e.attrs.type;o=r||hn.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}i in o||(o[i]=n[i])}}else;return e}function Je(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?J(n):q(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProx
 y),Ge(n,"__static__"+e,!1),n)}function He(e,t,n){return Ge(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ge(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Xe(e[r],t+"_"+r,n);else Xe(e,t,n)}function Xe(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Ke(e){e.$vnode=null,e._vnode=null,e._staticTrees=null;var t=e.$options._parentVnode,n=t&&t.context;e.$slots=oe(e.$options._renderChildren,n),e.$scopedSlots=xn,e._c=function(t,n,r,o){return Fe(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Fe(e,t,n,r,o,!0)}}function Ze(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function Qe(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),r=n?t:On?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++)for(var i=r[o],a=n?i:t[i],s=e;s;){if(s._provided&&a in s._provided){e[i]=s._provided[a];break}s=s.$parent}}function Ye(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._p
 arentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function et(e){var t=e.options;if(e.super){var n=et(e.super);if(n!==e.superOptions){e.superOptions=n;var r=tt(e);r&&f(e.extendOptions,r),t=e.options=D(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function tt(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=nt(n[o],r[o]));return t}function nt(e,t){if(Array.isArray(e)){var n=[];t=Array.isArray(t)?t:[t];for(var r=0;r<e.length;r++)t.indexOf(e[r])<0&&n.push(e[r]);return n}return e}function rt(e){this._init(e)}function ot(e){e.use=function(e){if(!e.installed){var t=l(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}}function it(e){e.mixin=function(e){this
 .options=D(this.options,e)}}function at(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,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=D(n.options,e),a.super=n,a.options.props&&st(a),a.options.computed&&ut(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,hn._assetTypes.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=f({},a.options),o[r]=a,a}}function st(e){var t=e.options.props;for(var n in t)ge(e.prototype,"_props",n)}function ut(e){var t=e.options.computed;for(var n in t)xe(e.prototype,n,t[n])}function ct(e){hn._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+
 "s"][e]}})}function lt(e){return e&&(e.Ctor.options.name||e.tag)}function ft(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:e instanceof RegExp&&e.test(t)}function dt(e,t){for(var n in e){var r=e[n];if(r){var o=lt(r.componentOptions);o&&!t(o)&&(pt(r),e[n]=null)}}}function pt(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function ht(e){return new t.Element(e)}function vt(e,n){return new t.Element(e+":"+n)}function mt(e){return new t.TextNode(e)}function yt(e){return new t.Comment(e)}function _t(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=ht("text");r.setAttr("value",t.text),e.insertBefore(r,n)}}function gt(e,t){if(3===t.nodeType)return void e.setAttr("value","");e.removeChild(t)}function bt(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=ht("text");n.setAttr("value",t.te
 xt),e.appendChild(n)}}function wt(e){return e.parentNode}function Ot(e){return e.nextSibling}function St(e){return e.type}function xt(e,t){e.parentNode.setAttr("value",t)}function Et(e,t,n){e.setAttr(t,n)}function Ct(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?i(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(o)<0?a[n].push(o):a[n]=[o]:a[n]=o}}function kt(e){return null==e}function jt(e){return null!=e}function At(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function It(e,t,n){var r,o,i={};for(r=t;r<=n;++r)o=e[r].key,jt(o)&&(i[o]=r);return i}function Tt(e,t){(e.data.directives||t.data.directives)&&Pt(e,t)}function Pt(e,t){var n,r,o,i=e===dr,a=t===dr,s=Nt(e.data.directives,e.context),u=Nt(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,$t(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):($t(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++)$t(c[n],"inserted",t,e)};i?X(t.data.hook||(t.data.hook={}),"insert",f):f()}if(l.length&&X(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)$t(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||$t(s[n],"unbind",e,e,a)}function Nt(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=vr),n[Mt(o)]=o,o.def=F(t.$options,"directives",o.name,!0);return n}function Mt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function $t(e,t,n,r,o){var i=e.def&&e.def[t];i&&i(n.elm,e,n,r,o)}function Rt(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=f({},a));for(n in a)r=a[n],i[n]!==r&&o.setAttr(n,r);for(n in i)null==a[n]&&o.setAttr(n)}}function Dt(e,t){var n=t.elm,r=t.context,o=t.data,i=e.data;if(o.staticClass||o.class||i&&(i.staticClass
 ||i.class)){var a=[],s=i.staticClass;s&&a.push.apply(a,s),i.class&&a.push.apply(a,i.class);var u=[],c=o.staticClass;c&&u.push.apply(u,c),o.class&&u.push.apply(u,o.class);var l=Ft(a,u,r);for(var f in l)n.setStyle(f,l[f])}}function Ft(e,t,n){var r=n.$options.style||{},o={};return t.forEach(function(e){f(o,r[e])}),e.forEach(function(e){var t=r[e];for(var n in t)o.hasOwnProperty(n)||(o[n]="")}),o}function Lt(e,t,n,r){if(r)return void console.log("Weex do not support event in bubble phase.");if(n){var o=t,i=ur;t=function(t){null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Bt(e,null,null,i)}}ur.addEvent(e,t)}function Bt(e,t,n,r){(r||ur).removeEvent(e)}function Ut(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};ur=t.elm,G(n,r,Lt,Bt,t.context)}}function Vt(e,t){if(!t.data.staticStyle)return void zt(e,t);var n=t.elm,r=t.data.staticStyle;for(var o in r)r[o]&&n.setStyle(br(o),r[o]);zt(e,t)}function zt(e,t){if(e.data.style||t.data.style){var n,r,o=t.elm,i=e.data.sty
 le||{},a=t.data.style||{},s=a.__ob__;Array.isArray(a)&&(a=t.data.style=Wt(a)),s&&(a=t.data.style=f({},a));for(r in i)a[r]||o.setStyle(br(r),"");for(r in a)n=a[r],o.setStyle(br(r),n)}}function Wt(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function q

<TRUNCATED>


[47/50] [abbrv] incubator-weex git commit: * [ios] update jsfm to 0.20.6

Posted by so...@apache.org.
* [ios] update jsfm to 0.20.6


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/602c3f92
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/602c3f92
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/602c3f92

Branch: refs/heads/dev
Commit: 602c3f92d6885608341b9d75d76f39a20902b8ee
Parents: a1095ae
Author: acton393 <zh...@gmail.com>
Authored: Mon Apr 24 21:34:11 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Mon Apr 24 21:34:11 2017 +0800

----------------------------------------------------------------------
 android/sdk/assets/main.js        | 14 +++++++-------
 ios/sdk/WeexSDK/Resources/main.js | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------



[48/50] [abbrv] incubator-weex git commit: * [all] remove integration test from CI

Posted by so...@apache.org.
* [all] remove integration test from CI


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/cb527b07
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/cb527b07
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/cb527b07

Branch: refs/heads/dev
Commit: cb527b0720673ffc30209304b3c5ea7d80771c1a
Parents: 602c3f9
Author: sospartan <so...@apache.org>
Authored: Tue Apr 25 10:54:47 2017 +0800
Committer: sospartan <so...@apache.org>
Committed: Tue Apr 25 10:54:47 2017 +0800

----------------------------------------------------------------------
 .travis.yml | 25 -------------------------
 1 file changed, 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/cb527b07/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 3ff0ae8..56a7a91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,21 +30,11 @@ matrix:
         osx_image: xcode8.1
         language: objective-c
         before_script:
-          - source test/ci-funcs.sh
-          - installNode
-          - npm install -g macaca-cli
           - brew update
-          - brew install ios-webkit-debug-proxy
-          - npm install -g macaca-ios
-          - npm install
-          - npm install mocha
           - gem install danger danger-xcode_summary xcpretty xcpretty-json-formatter
-          - export run_in_ci=true
         script:
-          - ./test/serve.sh 2&>1 > /dev/null &
           - xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6' | XCPRETTY_JSON_FILE_OUTPUT=ios/sdk/xcodebuild.json xcpretty -f `xcpretty-json-formatter`
           - bundle exec danger --dangerfile=Dangerfile-ios
-          -  travis_retry bash test/run.sh ios
       - os: linux
         env: TEST_SUITE=android
         jdk: oraclejdk8
@@ -59,25 +49,10 @@ matrix:
             - extra-google-m2repository
             - extra-android-m2repository
             - sys-img-armeabi-v7a-android-22
-        before_script:
-          - source test/ci-funcs.sh
-          - installNode
-          - npm install -g macaca-cli
-          - npm install -g macaca-android
-          - createAVD
-          - startAVD &
-          - npm install
-          - npm install mocha
-          - export DISPLAY=:99.0
-          - export run_in_ci=true
         script:
-          - source ./test/ci-funcs.sh
-          - ./test/serve.sh 2&>1 > /dev/null &
           - cd android
           - ./run-ci.sh 
           - cd $TRAVIS_BUILD_DIR
-          - waitForEmulator
-          - travis_retry bash test/run.sh
 cache:
   directories:
   - node_modules


[05/50] [abbrv] incubator-weex git commit: * [html5] update perf time.

Posted by so...@apache.org.
* [html5] update perf time.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/bd794e5e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/bd794e5e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/bd794e5e

Branch: refs/heads/dev
Commit: bd794e5e81b97d9503dc0166801c585dbcb5e98d
Parents: f13c453
Author: MrRaindrop <te...@gmail.com>
Authored: Wed Apr 19 12:17:02 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Wed Apr 19 12:17:02 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/mixins/base.js | 16 ++++++--
 html5/render/vue/utils/perf.js  | 76 +++++++++++++++++++++++++-----------
 2 files changed, 65 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bd794e5e/html5/render/vue/mixins/base.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/mixins/base.js b/html5/render/vue/mixins/base.js
index c8185d5..819146e 100644
--- a/html5/render/vue/mixins/base.js
+++ b/html5/render/vue/mixins/base.js
@@ -24,7 +24,9 @@ import {
 
 import {
   tagBeforeCreate,
-  tagMounted,
+  // tagMounted,
+  tagRootMounted,
+  tagFirstScreen,
   tagBeforeUpdate,
   tagUpdated,
   tagBegin,
@@ -61,14 +63,20 @@ export default {
   },
 
   mounted () {
+    if (this.$options._componentTag === 'image') {
+      global._has_image_in_first_screen = true
+    }
+    if (this === this.$root) {
+      tagRootMounted()
+      if (!global._has_image_in_first_screen) {
+        tagFirstScreen()
+      }
+    }
     if (!weex._root) {
       weex._root = this.$root.$el
       weex._root.classList.add('weex-root')
     }
     watchAppear(this)
-    if (process.env.NODE_ENV === 'development') {
-      tagMounted()
-    }
   },
 
   beforeUpdate () {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/bd794e5e/html5/render/vue/utils/perf.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/utils/perf.js b/html5/render/vue/utils/perf.js
index f8540eb..13be79f 100644
--- a/html5/render/vue/utils/perf.js
+++ b/html5/render/vue/utils/perf.js
@@ -73,6 +73,45 @@ function getEntries (): Array<any> {
     : [{ responseEnd: getNow() - IMG_REC_INDENT }]
 }
 
+function _d (func: Function, wait: number) {
+  let timerId
+  let now
+  function later (now) {
+    timerId = null
+    func(now)
+  }
+  return function () {
+    now = getNow()
+    clearTimeout(timerId)
+    timerId = setTimeout(later.bind(null, now), wait)
+  }
+}
+
+export function tagFirstScreen (time?: number): void {
+  if (!time) {
+    time = getNow()
+  }
+  perf.latestRenderFinishes.push(time)
+  const start = Math.max(earliestBeforeCreateTime, earliestBeforeUpdateTime)
+  perf.renderTime.push({
+    start,
+    end: time,
+    duration: time - start
+  })
+
+  const num = perf.renderTime.length
+  perf[`screenTime${num}`] = time
+  window.weex.emit('renderfinish', time)
+  if (!isFirstScreenDetected) {
+    isFirstScreenDetected = true
+    window.weex.emit('firstscreenfinish', time)
+  }
+  if (process.env.NODE_ENV === 'development') {
+    console.log(`screenTime[${num}]: ${time} ms.`)
+    console.log('_weex_perf:', window._weex_perf)
+  }
+}
+
 /**
  * get first screen time.
  */
@@ -90,25 +129,7 @@ const debouncedTagImg = debounce(function () {
     })
     i++
   }
-  perf.latestRenderFinishes.push(end)
-  const start = Math.max(earliestBeforeCreateTime, earliestBeforeUpdateTime)
-  perf.renderTime.push({
-    start,
-    end,
-    duration: end - start
-  })
-
-  const num = perf.renderTime.length
-  perf[`screenTime${num}`] = end
-  window.weex.emit('renderfinish', end)
-  if (!isFirstScreenDetected) {
-    isFirstScreenDetected = true
-    window.weex.emit('firstscreenfinish', end)
-  }
-  if (process.env.NODE_ENV === 'development') {
-    console.log(`screenTime[${num}]: ${end} ms.`)
-    console.log('_weex_perf:', window._weex_perf)
-  }
+  tagFirstScreen(end)
 }, IMG_REC_INDENT)
 
 export function tagImg (): void {
@@ -128,11 +149,21 @@ export function tagBeforeCreate (): void {
   depressedTagBeforeCreate()
 }
 
+export function tagRootMounted (): void {
+  const now = getNow()
+  perf.latestMounts.push(now)
+  if (!perf.firstAllMountedTime) {
+    perf.firstAllMountedTime = now
+    if (process.env.NODE_ENV === 'development') {
+      console.log(`first all mounted time: ${now} ms.`)
+    }
+  }
+}
+
 /**
  * recording the latest 'mounted' time.
  */
-const debouncedTagMounted = debounce(function () {
-  const now = getNow()
+const debouncedTagMounted = _d(function (now) {
   perf.latestMounts.push(now)
   perf.createTime.push({
     start: earliestBeforeCreateTime,
@@ -168,8 +199,7 @@ export function tagBeforeUpdate (): void {
 /**
  * recording the latest 'updated' time.
  */
-const debouncedTagUpdated = debounce(function () {
-  const now = getNow()
+const debouncedTagUpdated = _d(function (now) {
   perf.latestUpdates.push(now)
   perf.updateTime.push({
     start: earliestBeforeUpdateTime,


[31/50] [abbrv] incubator-weex git commit: * [jsfm] v0.20.5

Posted by so...@apache.org.
* [jsfm] v0.20.5


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/222dd1a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/222dd1a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/222dd1a4

Branch: refs/heads/dev
Commit: 222dd1a4ca1f40df32f5a102e5c0c14983390134
Parents: 6fcc81a
Author: fkysly <fk...@gmail.com>
Authored: Mon Apr 24 12:11:39 2017 +0800
Committer: fkysly <fk...@gmail.com>
Committed: Mon Apr 24 12:11:39 2017 +0800

----------------------------------------------------------------------
 package.json | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/222dd1a4/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 0769b3e..7e2720a 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "0.4.0",
   "subversion": {
     "browser": "0.5.0",
-    "framework": "0.20.4",
+    "framework": "0.20.5",
     "vue-render": "0.11.10",
     "transformer": ">=0.1.5 <0.5"
   },
@@ -94,7 +94,7 @@
     "semver": "^5.1.0",
     "weex-picker": "^0.1.0",
     "weex-rax-framework": "0.2.11",
-    "weex-vue-framework": "2.2.2-weex.2",
+    "weex-vue-framework": "2.2.2-weex.4",
     "weex-styler": "0.1.9"
   },
   "devDependencies": {


[39/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://git-wip-us.apache.org/repos/asf/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c2ab5819
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c2ab5819
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c2ab5819

Branch: refs/heads/dev
Commit: c2ab58191b6a7126e9a474885902632580cb38aa
Parents: 64e93a1 73995da
Author: cxfeng <cx...@apache.org>
Authored: Mon Apr 24 16:57:28 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Mon Apr 24 16:57:28 2017 +0800

----------------------------------------------------------------------

----------------------------------------------------------------------



[15/50] [abbrv] incubator-weex git commit: * [html5] release vue-render 0.11.10

Posted by so...@apache.org.
* [html5] release vue-render 0.11.10


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/62c0efb3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/62c0efb3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/62c0efb3

Branch: refs/heads/dev
Commit: 62c0efb38aa1a406f60ec6565d6ca76155182071
Parents: 7eb8657
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Apr 21 12:13:55 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Apr 21 12:13:55 2017 +0800

----------------------------------------------------------------------
 package.json                          | 2 +-
 packages/weex-vue-render/package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/62c0efb3/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 37ba94b..6065d45 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "subversion": {
     "browser": "0.5.0",
     "framework": "0.20.4",
-    "vue-render": "0.11.9",
+    "vue-render": "0.11.10",
     "transformer": ">=0.1.5 <0.5"
   },
   "description": "A framework for building Mobile cross-platform UI",

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/62c0efb3/packages/weex-vue-render/package.json
----------------------------------------------------------------------
diff --git a/packages/weex-vue-render/package.json b/packages/weex-vue-render/package.json
index a072b05..e0eac5e 100644
--- a/packages/weex-vue-render/package.json
+++ b/packages/weex-vue-render/package.json
@@ -1,6 +1,6 @@
 {
   "name": "weex-vue-render",
-  "version": "0.11.9",
+  "version": "0.11.10",
   "description": "Weex built-in components for Vue 2.x.",
   "license": "Apache-2.0",
   "main": "dist/index.js",


[46/50] [abbrv] incubator-weex git commit: * [ios] update jsfm to 0.20.6

Posted by so...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/602c3f92/android/sdk/assets/main.js
----------------------------------------------------------------------
diff --git a/android/sdk/assets/main.js b/android/sdk/assets/main.js
index 29185da..15ada86 100644
--- a/android/sdk/assets/main.js
+++ b/android/sdk/assets/main.js
@@ -1,8 +1,8 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.5, Build 2017-04-24 11:59."),this.getJSFMVersion=function(){return"0.20.5"};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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof Cs){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Cs(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=ks,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 k(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 C(){this.nodeId=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function ke(e){return wu.call(e)===Ou}function Ce(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(ku,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||ke(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!Ce(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){Ce(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;ke(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?Ct(t,n):kt(t),t._vm&&t._vm.$emit("hook:destroyed")}function kt(e){var t=e.parentNode;t&&t.removeChild(e)}function Ct(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||kt(e.start),n.forEach(function(e){kt(e)}),t||kt(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=yt(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,xe(c,s))}}et(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=wt(e,o,n)),-1!==f.lastSignal&&Vt(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=wt(e,o,n))}function Vt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return At(e,t,n),-1!==r.lastSignal})}functio
 n zt(e,t,n,r){function o(e,r,o){var a;c?(a=e,Ee(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),a={},a[l]=r,a[f]=e)):(a={},a[l]=r,a[f]=e);var s=Jt(o,a);i.push(s),At(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,d=qt(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):Et(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var 
 s=u?t[u]:c?t[l]:r,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),Ot(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Wt(e,t,n,r){var o=qt(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?At(e,t,n,r):Et(e,n,!0))});n.display=!!o,o&&At(e,t,n,r)}function qt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return vt(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function Jt(e,t){var n=Object.create(e);return n._data=t,Ge(n),Ke(n),n._realParent=e,e._static&&(n._static=e._static),n}function Ht(e,t){if(t instanceof Ht)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},thi
 s.hasStopped=function(){return n}}function Gt(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Ht(e,t);o.forEach(function(e){e.call(n,i)})}}function Xt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Kt(e,t){var n=new Ht(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Zt(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function Qt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Yt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);zu.forEach(function(t){e.$on("hook:"+t,n[t])})}function en(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customC
 omponentMap&&(t=this._app.customComponentMap[e]),t=t||{};var a=t.data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids={},this._vmEvents={},this._childrenVms=[],this._type=e,Yt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&be(this._data,o),He(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,jt(this))}function tn(e,t){for(var n in e)!function(n){var r=Wu[n];r||(r={},Wu[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function nn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProper
 ty(r)||(n[r]=t[r])}function rn(e,t){var n=Wu[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function on(e,t){return e.customComponentMap[t]}function an(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function sn(e){if(qu.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function un(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf
 ("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function cn(e,t){t=t||global.WXEnvironment,t=ke(t)?t:{};var n={isDowngrade:!1};if("function"===Ae(e)){var r=e.call(this,t,{semver:qu,normalizeVersion:sn});r=!!r,n=r?un("custom","","custom params"):n}else{e=ke(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=sn(p),v=sn(t[s]);if(qu.satisfies(v,h)){n=un(u,l,p);break}}else if(d){var m="array"===Ae(p)?p:[p];if(m.indexOf(l)>=0){n=un(u,l,p);break}}}}return n}function ln(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function fn(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(Cu(t))o=Ie(t);else{if(!Iu(t))return new Error("Wrong component name: "+t);if(o=Te(t),!on(e,o))return new Error("It's not a component: 
 "+t)}if(n=ke(n)?n:{},
-"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!qu.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=cn(n.downgrade);if(i.isDowngrade)return e.callTasks([{module:"instanceWrap",method:"error",args:[i.errorType,i.code,i.errorMessage]}]),new Error("Downgrade["+i.code+"]: "+i.errorMessage);n.viewport&&ln(e,n.viewport),e.vm=new en(o,null,{_app:e},null,r)}function dn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),an(e,t,n)}function pn(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):be(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function hn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.
 vm&&vn(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function vn(e){if(delete e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)vn(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function mn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function yn(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return!1!==yn(e,t,n,r)});var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i
 ,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}function _n(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return gn(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function gn(e){e.differ.flush()}function bn(e,t){var n;return"array"!==Ae(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function wn(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return Ju.apply(void 0,[e].concat(t))},a=function(t,r,i){o=fn(e,t,r,i||n),gn(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=en,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return dn.apply(void 0,[e].concat
 (t))},c=function(t,n){o=fn(e,t,{},n)},l=function(t){return function(n){o=fn(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(Ie(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h='(function(global){\n\n"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}}
 )}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return Sn(_,h)||On(_,h),o}function On(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function Sn(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=compileAndRunBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function xn(e,t){var n=e[t];for(var r in n)n[r]()}function En(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function kn(e,t){this.id=e,this.options=t||{},this.vm=null,this.custom
 ComponentMap={},this.commonModules={},this.doc=new Lu.Document(e,this.options.bundleUrl,null,Lu.Listener),this.differ=new Hu(e)}function Cn(e,t,n,r,o){var i=o||{},a=i.services;$e();var s=Gu[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new kn(e,n),Gu[e]=s,u=wn(s,t,r,a)),u}function jn(e){Lu.Document=e.Document,Lu.Element=e.Element,Lu.Comment=e.Comment,Lu.sendTasks=e.sendTasks,Lu.Listener=e.Listener}function An(e,t){var n=Gu[e];return n?pn(n,t):new Error('invalid instance id "'+e+'"')}function In(e){"function"==typeof markupState&&markupState(),$e();var t=Gu[e];if(!t)return new Error('invalid instance id "'+e+'"');hn(t),delete Gu[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Gu}function Tn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Xu[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Xu[e.type]=e))})}function Pn(e){"object"==typeof e&&tn(e)}function Nn(e){"object"==typeof e&&nn(en,
 e)}function Mn(e,t){if(Gu[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Ku[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function $n(e){var t=Gu[e];return t?mn(t):new Error('invalid instance id "'+e+'"')}function Rn(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function Dn(){}function Fn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function Ln(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop
  is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function Bn(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function Un(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please us
 e \"require('@weex-module/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function zn(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function Wn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var qn={browser:"0.5.0",framework:"0.20.5","vue-render":"0.11.5",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=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=fu
 nction(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 s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var Jn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},Hn=t(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)}),Gn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Xn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Kn=Xn,Zn=funct
 ion(e){if(!Kn(e))throw TypeError(e+" is not an object!");return e},Qn=function(e){try{return!!e()}catch(e){return!0}},Yn=!Qn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),er=Xn,tr=Hn.document,nr=er(tr)&&er(tr.createElement),rr=function(e){return nr?tr.createElement(e):{}},or=!Yn&&!Qn(function(){return 7!=Object.defineProperty(rr("div"),"a",{get:function(){return 7}}).a}),ir=Xn,ar=function(e,t){if(!ir(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!ir(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!ir(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},sr=Zn,ur=or,cr=ar,lr=Object.defineProperty,fr=Yn?Object.defineProperty:function(e,t,n){if(sr(e),t=cr(t,!0),sr(n),ur)try{return lr(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},dr={f:fr},pr=function(e,t){ret
 urn{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},hr=dr,vr=pr,mr=Yn?function(e,t,n){return hr.f(e,t,vr(1,n))}:function(e,t,n){return e[t]=n,e},yr={}.hasOwnProperty,_r=function(e,t){return yr.call(e,t)},gr=0,br=Math.random(),wr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++gr+br).toString(36))},Or=t(function(e){var t=Hn,n=mr,r=_r,o=wr("src"),i=Function.toString,a=(""+i).split("toString");Gn.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),Sr=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},xr=Sr,Er=function(e,t,n){if(xr(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return funct
 ion(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)}},kr=Hn,Cr=Gn,jr=mr,Ar=Or,Ir=Er,Tr=function(e,t,n){var r,o,i,a,s=e&Tr.F,u=e&Tr.G,c=e&Tr.S,l=e&Tr.P,f=e&Tr.B,d=u?kr:c?kr[t]||(kr[t]={}):(kr[t]||{}).prototype,p=u?Cr:Cr[t]||(Cr[t]={}),h=p.prototype||(p.prototype={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Ir(i,kr):l&&"function"==typeof i?Ir(Function.call,i):i,d&&Ar(d,r,i,e&Tr.U),p[r]!=i&&jr(p,r,a),l&&h[r]!=i&&(h[r]=i)};kr.core=Cr,Tr.F=1,Tr.G=2,Tr.S=4,Tr.P=8,Tr.B=16,Tr.W=32,Tr.U=64,Tr.R=128;var Pr=Tr,Nr={}.toString,Mr=function(e){return Nr.call(e).slice(8,-1)},$r=Mr,Rr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==$r(e)?e.split(""):Object(e)},Dr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Fr=Rr,Lr=Dr,Br=function(e){return Fr(Lr(e))},Ur=Math.ceil,Vr=Math.floor,zr=function(e){return isNaN(e=+e)?0:(e>0?Vr:Ur)(e)},Wr=zr,qr=Math.m
 in,Jr=function(e){return e>0?qr(Wr(e),9007199254740991):0},Hr=zr,Gr=Math.max,Xr=Math.min,Kr=function(e,t){return e=Hr(e),e<0?Gr(e+t,0):Xr(e,t)},Zr=Br,Qr=Jr,Yr=Kr,eo=Hn,to=eo["__core-js_shared__"]||(eo["__core-js_shared__"]={}),no=function(e){return to[e]||(to[e]={})},ro=no("keys"),oo=wr,io=function(e){return ro[e]||(ro[e]=oo(e))},ao=_r,so=Br,uo=function(e){return function(t,n,r){var o,i=Zr(t),a=Qr(i.length),s=Yr(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),co=io("IE_PROTO"),lo=function(e,t){var n,r=so(e),o=0,i=[];for(n in r)n!=co&&ao(r,n)&&i.push(n);for(;t.length>o;)ao(r,n=t[o++])&&(~uo(i,n)||i.push(n));return i},fo="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),po=lo,ho=fo,vo=Object.keys||function(e){return po(e,ho)},mo=Object.getOwnPropertySymbols,yo={f:mo},_o={}.propertyIsEnumerable,go={f:_o},bo=Dr,wo=function(e){return Object(bo(e))},Oo
 =vo,So=yo,xo=go,Eo=wo,ko=Rr,Co=Object.assign,jo=!Co||Qn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Co({},e)[n]||Object.keys(Co({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Eo(e),o=arguments.length,i=1,a=So.f,s=xo.f;o>i;)for(var u,c=ko(n[i++]),l=a?Oo(c).concat(a(c)):Oo(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:Co,Ao=Pr;Ao(Ao.S+Ao.F,"Object",{assign:jo}),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,r.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 Io=Jn,To=Io.WXEnvironment;To&&"iOS"===To.platform&&(Jn.Promise=void 0);var Po=t(function(e){var t=no("wks"),n=wr,r=Hn.Symbol,o="function"==typeof r;(e.exports=func
 tion(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),No=Mr,Mo=Po("toStringTag"),$o="Arguments"==No(function(){return arguments}()),Ro=function(e,t){try{return e[t]}catch(e){}},Do=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Ro(t=Object(e),Mo))?n:$o?No(t):"Object"==(r=No(t))&&"function"==typeof t.callee?"Arguments":r},Fo=Do,Lo={};Lo[Po("toStringTag")]="z",Lo+""!="[object z]"&&Or(Object.prototype,"toString",function(){return"[object "+Fo(this)+"]"},!0);var Bo=zr,Uo=Dr,Vo={},zo=dr,Wo=Zn,qo=vo,Jo=Yn?Object.defineProperties:function(e,t){Wo(e);for(var n,r=qo(t),o=r.length,i=0;o>i;)zo.f(e,n=r[i++],t[n]);return e},Ho=Hn.document&&document.documentElement,Go=Zn,Xo=Jo,Ko=fo,Zo=io("IE_PROTO"),Qo=function(){},Yo=function(){var e,t=rr("iframe"),n=Ko.length;for(t.style.display="none",Ho.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),Yo=e.F;n--;)delete Yo.pro
 totype[Ko[n]];return Yo()},ei=Object.create||function(e,t){var n;return null!==e?(Qo.prototype=Go(e),n=new Qo,Qo.prototype=null,n[Zo]=e):n=Yo(),void 0===t?n:Xo(n,t)},ti=dr.f,ni=_r,ri=Po("toStringTag"),oi=function(e,t,n){e&&!ni(e=n?e:e.prototype,ri)&&ti(e,ri,{configurable:!0,value:t})},ii=ei,ai=pr,si=oi,ui={};mr(ui,Po("iterator"),function(){return this});var ci=function(e,t,n){e.prototype=ii(ui,{next:ai(1,n)}),si(e,t+" Iterator")},li=_r,fi=wo,di=io("IE_PROTO"),pi=Object.prototype,hi=Object.getPrototypeOf||function(e){return e=fi(e),li(e,di)?e[di]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?pi:null},vi=Pr,mi=Or,yi=mr,_i=_r,gi=Vo,bi=ci,wi=oi,Oi=hi,Si=Po("iterator"),xi=!([].keys&&"next"in[].keys()),Ei=function(){return this},ki=function(e,t,n,r,o,i,a){bi(n,t,r);var s,u,c,l=function(e){if(!xi&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=
 t+" Iterator",d="values"==o,p=!1,h=e.prototype,v=h[Si]||h["@@iterator"]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Oi(_.call(new e)))!==Object.prototype&&(wi(c,f,!0),_i(c,Si)||yi(c,Si,Ei)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),(xi||p||!h[Si])&&yi(h,Si,m),gi[t]=m,gi[f]=Ei,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||mi(h,u,s[u]);else vi(vi.P+vi.F*(xi||p),t,s);return s},Ci=function(e){return function(t,n){var r,o,i=String(Uo(t)),a=Bo(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<55296||r>56319||a+1===s||(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);ki(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=Ci(t,n),this._i+=e.length,{value:e,done:!1})});var ji=Po("unscopables"),Ai=Array.prototype;void 0==Ai[ji]&&mr(Ai,ji,{})
 ;var Ii=function(e){Ai[ji][e]=!0},Ti=function(e,t){return{value:t,done:!!e}},Pi=Ii,Ni=Ti,Mi=Vo,$i=Br,Ri=ki(Array,"Array",function(e,t){this._t=$i(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,Ni(1)):"keys"==t?Ni(0,n):"values"==t?Ni(0,e[n]):Ni(0,[n,e[n]])},"values");Mi.Arguments=Mi.Array,Pi("keys"),Pi("values"),Pi("entries");for(var Di=Ri,Fi=Or,Li=Hn,Bi=mr,Ui=Vo,Vi=Po,zi=Vi("iterator"),Wi=Vi("toStringTag"),qi=Ui.Array,Ji=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Hi=0;Hi<5;Hi++){var Gi,Xi=Ji[Hi],Ki=Li[Xi],Zi=Ki&&Ki.prototype;if(Zi){Zi[zi]||Bi(Zi,zi,qi),Zi[Wi]||Bi(Zi,Wi,Xi),Ui[Xi]=qi;for(Gi in Di)Zi[Gi]||Fi(Zi,Gi,Di[Gi],!0)}}var Qi,Yi,ea,ta=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},na=Zn,ra=function(e,t,n,r){try{return r?t(na(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&na(o.call(e)),t}},oa=Vo,ia=Po("iterator")
 ,aa=Array.prototype,sa=function(e){return void 0!==e&&(oa.Array===e||aa[ia]===e)},ua=Do,ca=Po("iterator"),la=Vo,fa=Gn.getIteratorMethod=function(e){if(void 0!=e)return e[ca]||e["@@iterator"]||la[ua(e)]},da=t(function(e){var t=Er,n=ra,r=sa,o=Zn,i=Jr,a=fa,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if((m=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=n(v,_,h.value,c))===s||m===u)return m};c.BREAK=s,c.RETURN=u}),pa=Zn,ha=Sr,va=Po("species"),ma=function(e,t){var n,r=pa(e).constructor;return void 0===r||void 0==(n=pa(r)[va])?t:ha(n)},ya=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)},_a=Er,ga=ya,ba=Ho,wa=rr,Oa=Hn,Sa=Oa.process,xa=Oa.setImmediate,Ea=Oa.clearImmediate,ka=Oa.MessageChannel,Ca=0,ja={},Aa=function(){var e=+this;if(ja.hasOwnProperty(e)){var t=ja[e];delete ja[e],t()}},Ia=function(e){Aa.call(e.data)};xa&&Ea||(xa=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return ja[++Ca]=function(){ga("function"==typeof e?e:Function(e),n)},Qi(Ca),Ca},Ea=function(e){delete ja[e]},"process"==Mr(Sa)?Qi=function(e){Sa.nextTick(_a(Aa,e,1))}:ka?(Yi=new ka,ea=Yi.port2,Yi.port1.onmessage=Ia,Qi=_a(ea.postMessage,ea,1)):Oa.addEventListener&&"function"==typeof postMessage&&!Oa.importScripts?(Qi=function(e){Oa.postMessage(e+"","*")},Oa.addEventListener("message",Ia,!1)):Qi="onreadystatechange"in wa("script")?function(e){ba.appendChild(wa("script")).onreadystatechange=function(){ba.removeChild(this),Aa.call(e)}}:function(e){setTimeout(_a(Aa,e,1),0)});var Ta={set:xa,clear:Ea},Pa=Hn,Na=T
 a.set,Ma=Pa.MutationObserver||Pa.WebKitMutationObserver,$a=Pa.process,Ra=Pa.Promise,Da="process"==Mr($a),Fa=Or,La=Hn,Ba=dr,Ua=Yn,Va=Po("species"),za=Po("iterator"),Wa=!1;try{var qa=[7][za]();qa.return=function(){Wa=!0},Array.from(qa,function(){throw 2})}catch(e){}var Ja,Ha,Ga,Xa=Hn,Ka=Er,Za=Do,Qa=Pr,Ya=Xn,es=Sr,ts=ta,ns=da,rs=ma,os=Ta.set,is=function(){var e,t,n,r=function(){var r,o;for(Da&&(r=$a.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(Da)n=function(){$a.nextTick(r)};else if(Ma){var o=!0,i=document.createTextNode("");new Ma(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Ra&&Ra.resolve){var a=Ra.resolve();n=function(){a.then(r)}}else n=function(){Na.call(Pa,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),as=Xa.TypeError,ss=Xa.process,us=Xa.Promise,ss=Xa.process,cs="process"==Za(ss),ls=function(){},fs=!!function(){try{var e=us.resolve(1),t=(e.constructor={})[Po("spec
 ies")]=function(e){e(ls,ls)};return(cs||"function"==typeof PromiseRejectionEvent)&&e.then(ls)instanceof t}catch(e){}}(),ds=function(e,t){return e===t||e===us&&t===Ga},ps=function(e){var t;return!(!Ya(e)||"function"!=typeof(t=e.then))&&t},hs=function(e){return ds(us,e)?new vs(e):new Ha(e)},vs=Ha=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw as("Bad Promise constructor");t=e,n=r}),this.resolve=es(t),this.reject=es(n)},ms=function(e){try{e()}catch(e){return{error:e}}},ys=function(e,t){if(!e._n){e._n=!0;var n=e._c;is(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,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&bs(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(as("Promise-chain cycle")):(i=ps(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&_s(e)})}},_s=function(e){os.call(Xa,function(){var t,n,r,o=e._v;if(gs(e)&&(t=ms(function(){cs?ss.emit("unhand
 ledRejection",o,e):(n=Xa.onunhandledrejection)?n({promise:e,reason:o}):(r=Xa.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=cs||gs(e)?2:1),e._a=void 0,t)throw t.error})},gs=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++],t.fail||!gs(t.promise))return!1;return!0},bs=function(e){os.call(Xa,function(){var t;cs?ss.emit("rejectionHandled",e):(t=Xa.onrejectionhandled)&&t({promise:e,reason:e._v})})},ws=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),ys(t,!0))},Os=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw as("Promise can't be resolved itself");(t=ps(e))?is(function(){var r={_w:n,_d:!1};try{t.call(e,Ka(Os,r,1),Ka(ws,r,1))}catch(e){ws.call(r,e)}}):(n._v=e,n._s=1,ys(n,!1))}catch(e){ws.call({_w:n,_d:!1},e)}}};fs||(us=function(e){ts(this,us,"Promise","_h"),es(e),Ja.call(this);try{e(Ka(Os,this,1),Ka(ws,this,1))}catch(e){ws.call(this,e)}},Ja=function(e){this._c=[],this._a=vo
 id 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ja.prototype=function(e,t,n){for(var r in t)Fa(e,r,t[r],n);return e}(us.prototype,{then:function(e,t){var n=hs(rs(this,us));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=cs?ss.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&ys(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),vs=function(){var e=new Ja;this.promise=e,this.resolve=Ka(Os,e,1),this.reject=Ka(ws,e,1)}),Qa(Qa.G+Qa.W+Qa.F*!fs,{Promise:us}),oi(us,"Promise"),function(e){var t=La[e];Ua&&t&&!t[Va]&&Ba.f(t,Va,{configurable:!0,get:function(){return this}})}("Promise"),Ga=Gn.Promise,Qa(Qa.S+Qa.F*!fs,"Promise",{reject:function(e){var t=hs(this);return(0,t.reject)(e),t.promise}}),Qa(Qa.S+Qa.F*!fs,"Promise",{resolve:function(e){if(e instanceof us&&ds(e.constructor,this))return e;var t=hs(this);return(0,t.resolve)(e),t.promise}}),Qa(Qa.S+Qa.F*!(fs&&function(e,t){if(!t&&!Wa)return!1;var n=!1;try{var r=[7],o=r
 [za]();o.next=function(){return{done:n=!0}},r[za]=function(){return o},e(r)}catch(e){}return n}(function(e){us.all(e).catch(ls)})),"Promise",{all:function(e){var t=this,n=hs(t),r=n.resolve,o=n.reject,i=ms(function(){var n=[],i=0,a=1;ns(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&&o(i.error),n.promise},race:function(e){var t=this,n=hs(t),r=n.reject,o=ms(function(){ns(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var Ss=["off","error","warn","info","log","debug"],xs={},Es=global.console,ks=global.setTimeout,Cs=global.setTimeoutNative;s();var js=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};js.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},js.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},js.prototype.consume=function(e,t,n){v
 ar r=this.callbacks[e];return void 0!==n&&!1!==n||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},js.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var As={},Is=1;C.prototype.destroy=function(){var e=h(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Ts,Ps={},Ns="div";A.prototype=Object.create(C.prototype),A.prototype.constructor=A,function(e){Ts=e}(A),Object.assign(A.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(E(e,this.children,this.children.length,!0),1===e.nodeType){var t=E(e,this.pureChildren,this.pureChildren.length),n=m(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(w(e,this),x(e,this.children,this.children.length,!0),this.docId&&I(this.docId,e),1===e.nodeType){x(e,this.pureChildren,this.pureChildren.length);var r=m(this.docId);if(r)retur
 n 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(E(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=O(t),r=E(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=m(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t),!0),this.docId&&I(this.docId,e),1===e.nodeType){var i=O(t),a=x(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=m(this.docId);if(s)return s.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(E(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=E(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),r=m(
 this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(w(e,this),x(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&I(this.docId,e),1===e.nodeType){var o=x(e,this.pureChildren,this.pureChildren.indexOf(S(t))+1),i=m(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(k(e,this.children,!0),1===e.nodeType)){k(e,this.pureChildren);var n=m(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=m(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=m(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.s
 tyle[e]=t;var r=m(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=m(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=m(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=m(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t){var n=this.event[e];if(n)return n.call(this,t)},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 Ms=function(){},$s=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new js}),Ms=t||function(){}};$s.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},$s.prototype.destroyCallback=function(){return this.callbackManager.close()},$s.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},$s.prototype.normalize=function(e){switch(this.typof(e)){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 instanceof A?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSO
 N.stringify(e)}},$s.prototype.send=function(e,t,n){var r=this,o=t.action,i=t.component,a=t.ref,s=t.module,u=t.method;switch(n=n.map(function(e){return r.normalize(e)}),e){case"dom":return this[o](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,a,u,n,{component:i});default:return this.moduleHandler(this.instanceId,s,u,n,{})}},$s.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},$s.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},$s.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var Rs,Ds,Fs=[],Ls=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Bs={},Us={createInstance:F,registerService:P,unregisterService:N};W.prototype=Object.create(C.prototype),W.prototype.constructor=W,W.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(q.prototype,{createFinish:function(e){return(0,this.handler)([J("createFinish")],e)},updateFinish:function(e){
 return(0,this.handler)([J("updateFinish")],e)},refreshFinish:function(e){return(0,
+(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.20.6, Build 2017-04-24 21:17."),this.getJSFMVersion=function(){return"0.20.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";function e(e){return e&&e.__esModule?e.default:e}function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(){if(o(),void 0===global.console||global.WXEnvironment&&"iOS"===global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&global.nativeLog.apply(global,a(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&global.nativeLog.apply(global,a(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&global.nativeLog.apply(global,a(e).concat(["__
 INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&global.nativeLog.apply(global,a(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("error")&&global.nativeLog.apply(global,a(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];i("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.le
 ngth;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){xs={},global.console=Es}function o(){Ss.forEach(function(e){var t=Ss.indexOf(e);xs[e]={},Ss.forEach(function(n){Ss.indexOf(n)<=t&&(xs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return xs[t]&&xs[t][e]}function a(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function s(){if(void 0===setTimeout&&"function"==typeof Cs){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Cs(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=ks,global.setTimeoutCallback=null}function c(){Object.freeze(Object),Object.freeze(Array),l(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),f(),Object.freeze(Date.prototype),
 Object.freeze(RegExp.prototype)}function l(){var e=Object.prototype,t="Object.prototype";d(e,"__defineGetter__",t),d(e,"__defineSetter__",t),d(e,"__lookupGetter__",t),d(e,"__lookupSetter__",t),d(e,"constructor",t),d(e,"hasOwnProperty",t),d(e,"isPrototypeOf",t),d(e,"propertyIsEnumerable",t),d(e,"toLocaleString",t),d(e,"toString",t),d(e,"valueOf",t),Object.seal(e)}function f(){var e=Error.prototype,t="Error.prototype";d(e,"name",t),d(e,"message",t),d(e,"toString",t),d(e,"constructor",t),Object.seal(e)}function d(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 read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function p(e,t){e&&(As[e]=t)}function h(e){return As[e]}function v(e){delete As[e]}function m(e){var t=As[e];return t&&t.taskCenter?t.taskCenter:null}function y(){return(Is++).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,w(t,r)):(t.children.forEach(function(e){e.parentNode=t}),b(e,t),t.docId=e.id,t.ownerDocument=e,w(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),g(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function g(e,t){var n=t.toJSON(),r=n.children;delete n.children;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 b(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function w(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){w(t,e)})}function O(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function S(e){for(;e;){if(1===e.nodeT
 ype)return e;e=e.previousSibling}}function x(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 E(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 k(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 C(){this.nodeId=y(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function j(e,t){if(t&&t.length){var n=function(t){Ts.call(this,e,t,!0)};n.prototype=Object.create(Ts.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:
 !1,value:Ts}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=m(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Ps[e]=n}}function A(e,t,n){void 0===e&&(e=Ns);var r=Ps[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=y(),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 I(e,t){h(e).nodeMap[t.nodeId]=t}function T(){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=$s.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 Ms(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ms(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ms(e,[{module:t,method:n,args:r}])}}function P(e,t){M(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Fs.push({name:e,options:t}))}function N(e){Fs.some(function(t,n){if(t.name===e)return Fs.splice(n,1),!0})}function M(e){return $(e)>=0}function $(e){return Fs.map(function(e){return e.name}).indexOf(e)}function R(e){var t,n=Ls.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function D(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Fs.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Obje
 ct.freeze(r.service),r}function F(e,t,n,r){var o=Bs[e];if(!o){o=R(t)||{},Rs[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),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=D(e,i,Ds),Bs[e]=i,Rs[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function L(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&B(t[0]);for(var r in Rs){var o=Rs[r];o&&o[e]&&o[e].apply(o,t)}}}function B(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&j(e.type,e.methods)})}function U(e){Us[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];if(o&&Rs[o.framework]){var i=(a=Rs[o.framework])[e].apply(a,t);return"refreshInstance"
 ===e?Fs.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Ds})}):"destroyInstance"===e&&(Fs.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Ds})}),delete Bs[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Us[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Bs[r];return o&&Rs[o.framework]?(i=Rs[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function z(e){Ds=e||{},Rs=Ds.frameworks||{},T();for(var t in Rs){Rs[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(L),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(U),V("receiveTasks","callJS"),Us}function W(e){this.nodeType=8,this.nodeId=y(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function q(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 J(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function H(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=X(e,t[r],n);if(-1===o)return o}}}function G(e,t){return"dom"===e&&Vs[t]&&"function"==typeof global[Vs[t]]}function X(e,t,n){var r=t.module,o=t.method,i=t.args;return G(r,o)?global[Vs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function K(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,p(e,this),this.nodeMap={};var r=K.Listener||q;this.listener=new r(e,n||H(e,K.handler)),this.taskCenter=new $s(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:K.handler),this.createDocumentElement()}function Z(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)}function Q(){c(),Object.freeze(zs.Element),Object.freeze(zs.Comment),Object.freeze(zs.Listener),Object.freeze(zs.Document.prototype),Object.freeze(zs.Element.prototype),Object.freeze(zs.Comment.prototype),Object.freeze(zs.Listener.prototype)}function Y(e){Js.Document=e.Document,Js.Element=e.Element,Js.Comment=e.Comment,Js.sendTasks=e.sendTasks}function ee(e){}function te(e){}function ne(e){}function re(e,t,n){}function oe(e,t,n,r,o){var i=new Js.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hs[e]=i;var u=Object.assign({Document:Js.Document,Element:Js.Element,Comment:Js.Comment,sendTasks:Js.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function ie(e,t){}function ae(e){delete Hs[e]}
 function se(e){return Hs[e].body.toJSON()}function ue(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hs[e].handleCallback(t,n,r)}};if(Hs[e]&&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}}function ce(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function le(e){var t=this._ids[e];if(t)return t.el}function fe(e){var t=this._ids[e];if(t)return t.vm}function de(e){return this._app.differ.then(function(){e()})}function pe(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function he(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.require
 Module("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function ve(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function me(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function ye(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function _e(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function ge(e,t){for(var n=[],r=arguments.length-2;r--
  >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function be(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&be.apply(void 0,[e].concat(t))}return e}function we(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function Oe(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Se(e,t){return bu.call(e,t)}function xe(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function Ee(e){return null!==e&&"object"==typeof e}function ke(e){return wu.call(e)===Ou}function Ce(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function je(){return"object"==typeof nativeSet?nativeSet.create(
 ):new Ws}function Ae(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(xu,"").replace(Eu,"")}function Te(e){return e.replace(ku,"")}function Pe(){this.id=Tu++,this.subs=[]}function Ne(e){Pe.target&&Pu.push(Pe.target),Pe.target=e}function Me(){Pe.target=Pu.pop()}function $e(){Pe.target=null,Pu=[]}function Re(e,t,n,r){r&&be(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Nu,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=je(),this.newDepIds=je(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function De(e,t){var n,r,o,i;if(t||(t=Mu,t.clear()),o=Array.isArray(e),i=Ee(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)De(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)De(e[r[n]],t)}}function Fe(e){if(this.value=e,this.dep=new Pe,we(e,"__ob_
 _",this),Array.isArray(e)){(Su?Le:Be)(e,Ru,Du),this.observeArray(e)}else this.walk(e)}function Le(e,t){e.__proto__=t}function Be(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];we(e,i,t[i])}}function Ue(e,t){if(Ee(e)){var n;return Se(e,"__ob__")&&e.__ob__ instanceof Fe?n=e.__ob__:(Array.isArray(e)||ke(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Fe(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Pe,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=Ue(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Pe.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=Ue(t),r.notify())}})}}function ze(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Se(e,t))return void(e[t]=n);if(e._isVue)return void ze(e._data,t,n);var r=e.__ob__;if(!r)retur
 n void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];qe(i,t)}return n}function We(e,t){if(Se(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];Je(o,t)}}}function qe(e,t){(Fu.indexOf(t)>-1||!Ce(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Je(e,t){Ce(t)||delete e[t]}function He(e){e._watchers=[],Ge(e),Ke(e),Qe(e)}function Ge(e){var t=e._data;ke(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)qe(e,n[r]);Ue(t,e)}function Xe(){}function Ke(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=Ze(r,e),o.set=Xe):(o.get=r.get?!1!==r.cache?Ze(r.get,e):xe(r.get,e):Xe,o.set=r.set?xe(r.set,e):Xe),Object.defineProperty(e,n,o)}}function Ze(e,t){var n=new Re(t,e,null,{lazy:!0});return function(){return 
 n.dirty&&n.evaluate(),Pe.target&&n.depend(),n.value}}function Qe(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Ye(e){var t=e.type,n=Bu[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===Ae(e[r])&&"object"===Ae(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function et(e,t,n){at(e,t,n.id,e),st(e,t,n.attr),ct(e,t,n.classList),lt(e,t,n.style),dt(e,t,n.events)}function tt(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),rt(r,i,e,t),rt(n.attr,i,e,t)}function nt(e,t,n,r){void 0===r&&(r={}),it(n.classList,e,t),ot(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function rt(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=vt(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function ot(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=vt(t,o,function(e){n._rootEl&&n._r
 ootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function it(e,t,n){function r(e,t){"array"===Ae(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=vt(t,e,function(e){r(e,i),ut(n._rootEl,o,e)});r(a,i),ut(n._rootEl,o,a)}else null!=e&&(r(e,i),ut(n._rootEl,o,e))}}function at(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),vt(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function st(e,t,n){pt(e,t,"attr",n)}function ut(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function ct(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(
 n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=vt(e,n,function(e){ut(t,r,e)});ut(t,r,o)}else ut(t,r,n)}}function lt(e,t,n){pt(e,t,"style",n)}function ft(e,t,n,r){t.addEvent(n,xe(r,e))}function dt(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),ft(e,t,i,a)}}function pt(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ht(e,t,n,a,s):t[Uu[n]](a,s)}}function ht(e,t,n,r,o){var i=Uu[n],a=vt(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function vt(e,t,n){return e._static?t.call(e,e):new Re(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function mt(e,t){return e._app.doc.createBody(t)}function yt(e,t){return e._app.doc.createElement(t)}function _t(e,t){var n=gt(e)
 ,r=bt(e),o=Vu++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function gt(e){return e._app.doc.createComment("start")}function bt(e){return e._app.doc.createComment("end")}function wt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Ot(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Ot(e,t,n){return t.element?xt(t,n):St(t,n)}function St(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function xt(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);va
 r a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function Et(e,t,n){void 0===n&&(n=!1),t.element?Ct(t,n):kt(t),t._vm&&t._vm.$emit("hook:destroyed")}function kt(e){var t=e.parentNode;t&&t.removeChild(e)}function Ct(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||kt(e.start),n.forEach(function(e){kt(e)}),t||kt(e.end)}function jt(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?At(e,n.children[0],e._parentEl):At(e,n.children,e._parentEl):At(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function At(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void Rt(e,t,n,r);if(r=r||{},Tt(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=_t(e,n));if(Pt(t,r))return console.debug('[JS Framework] compile "repeat"
  logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Dt(e,t,n));if(Nt(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Ft(e,t,n,r));var o=r.type||t.type;if(Mt(o,r))return void Lt(e,t,n,o,r);var i=o,a=$t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Bt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Ut(e,t,n,i)}}function It(e){return Array.isArray(e)}function Tt(e){return"content"===e.type||"slot"===e.type}function Pt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Mt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function $t(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(
 r=e._options.components[n]),t.component&&(r=r||{}),r}function Rt(e,t,n,r){var o=_t(e,n);t.forEach(function(t){At(e,t,o,r)})}function Dt(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=_t(e,n);c.children=[],c.data=[],c.vms=[],zt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Ft(e,t,n,r){var o={shown:!0},i=_t(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Wt(e,t,i,o)}function Lt(e,t,n,r,o){var i=r.call(e),a=be({type:i},o),s=_t(e,n);n.element&&n.children&&n.children.push(s),vt(e,r,function(n){var r=be({type:n},o);Et(e,s,!0),At(e,t,s,r)}),At(e,t,s,a)}function Bt(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),at(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){tt(e,this,n,i.re
 peat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}});nt(e,s,n,r)}function Ut(e,t,n,r){Ye(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=mt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=yt(e,r)),!e.

<TRUNCATED>


[37/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev-feature-jsfm0.20.5' of https://github.com/atomtong/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev-feature-jsfm0.20.5' of https://github.com/atomtong/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/73995da9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/73995da9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/73995da9

Branch: refs/heads/dev
Commit: 73995da910915193b61df6eba00cff6a3ae9b634
Parents: 25dfede 8a56e2f
Author: bobning <ni...@163.com>
Authored: Mon Apr 24 16:46:05 2017 +0800
Committer: bobning <ni...@163.com>
Committed: Mon Apr 24 16:46:05 2017 +0800

----------------------------------------------------------------------
 android/sdk/assets/main.js        | 16 ++++++++--------
 ios/sdk/WeexSDK/Resources/main.js | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------



[25/50] [abbrv] incubator-weex git commit: * [ios] bug fix about gradient background-image

Posted by so...@apache.org.
* [ios] bug fix about gradient background-image


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/db03bb05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/db03bb05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/db03bb05

Branch: refs/heads/dev
Commit: db03bb0535badc788302ad2934ba6635537d2766
Parents: 536beb0
Author: acton393 <zh...@gmail.com>
Authored: Sun Apr 23 00:14:34 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Sun Apr 23 00:14:34 2017 +0800

----------------------------------------------------------------------
 .../Sources/Component/WXComponent_internal.h    |  1 -
 ios/sdk/WeexSDK/Sources/Model/WXComponent.m     | 23 +++++++++++---------
 .../Sources/View/WXComponent+ViewManagement.m   |  1 -
 3 files changed, 13 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/db03bb05/ios/sdk/WeexSDK/Sources/Component/WXComponent_internal.h
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXComponent_internal.h b/ios/sdk/WeexSDK/Sources/Component/WXComponent_internal.h
index 31cdc7c..21d510e 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXComponent_internal.h
+++ b/ios/sdk/WeexSDK/Sources/Component/WXComponent_internal.h
@@ -47,7 +47,6 @@
      */
     UIColor *_backgroundColor;
     NSString *_backgroundImage;
-    CAGradientLayer * _gradientLayer;
     WXClipType _clipToBounds;
     UIView *_view;
     CGFloat _opacity;

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/db03bb05/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
index c90d499..e563f82 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXComponent.m
@@ -483,20 +483,14 @@
     __weak typeof(self) weakSelf = self;
     dispatch_async(dispatch_get_main_queue(), ^{
         __strong typeof(self) strongSelf = weakSelf;
-        /*
-         must insert the gradientLayer at index 0, and then set masksToBounds to match the view bounds
-         or the subview will be invisible
-         */
-        
         if(strongSelf) {
             UIColor * startColor = (UIColor*)linearGradient[@"startColor"];
             UIColor * endColor = (UIColor*)linearGradient[@"endColor"];
-            if (_gradientLayer && [strongSelf.view.layer.sublayers containsObject:_gradientLayer]) {
-                [_gradientLayer removeFromSuperlayer];
+            CAGradientLayer * gradientLayer = [WXUtility gradientLayerFromColors:@[startColor, endColor] locations:nil frame:strongSelf.view.bounds gradientType:[linearGradient[@"gradientType"] integerValue]];
+            if (gradientLayer) {
+                _backgroundColor = [UIColor colorWithPatternImage:[strongSelf imageFromLayer:gradientLayer]];
+                strongSelf.view.backgroundColor = _backgroundColor;
             }
-             _gradientLayer = [WXUtility gradientLayerFromColors:@[startColor, endColor] locations:nil frame:strongSelf.view.bounds gradientType:[linearGradient[@"gradientType"] integerValue]];
-            [strongSelf.view.layer insertSublayer:_gradientLayer atIndex:0];
-            strongSelf.view.layer.masksToBounds = YES;
         }
     });
 }
@@ -527,6 +521,15 @@
     }
 }
 
+- (UIImage *)imageFromLayer:(CALayer *)layer
+{
+    UIGraphicsBeginImageContextWithOptions(layer.frame.size, NO, 0);
+    [layer renderInContext:UIGraphicsGetCurrentContext()];
+    UIImage *outputImage = UIGraphicsGetImageFromCurrentImageContext();
+    UIGraphicsEndImageContext();
+    return outputImage;
+}
+
 #pragma mark Reset
 - (void)resetStyles:(NSArray *)styles
 {

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/db03bb05/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
index 88f03d4..c93df20 100644
--- a/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
+++ b/ios/sdk/WeexSDK/Sources/View/WXComponent+ViewManagement.m
@@ -236,7 +236,6 @@
     _view = nil;
     [_layer removeFromSuperlayer];
     _layer = nil;
-    _gradientLayer = nil;
     
     [self viewDidUnload];
 }


[23/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev' of https://github.com/acton393/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/536beb0a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/536beb0a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/536beb0a

Branch: refs/heads/dev
Commit: 536beb0adbae31175b4acb483e061abb8fcf2574
Parents: bdec7b5 7bde63a
Author: cxfeng <cx...@apache.org>
Authored: Fri Apr 21 18:23:18 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Fri Apr 21 18:23:18 2017 +0800

----------------------------------------------------------------------
 WeexSDK.podspec                                      | 1 +
 ios/sdk/WeexSDK/Sources/Component/WXListComponent.m  | 5 ++++-
 ios/sdk/WeexSDK/Sources/Manager/WXComponentManager.m | 7 +++++--
 ios/sdk/WeexSDK/Sources/Utility/WXUtility.h          | 4 ++--
 4 files changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------



[38/50] [abbrv] incubator-weex git commit: Merge branch '0.12-dev-feature-jsfm0.20.5' of https://github.com/atomtong/incubator-weex into 0.12-dev

Posted by so...@apache.org.
Merge branch '0.12-dev-feature-jsfm0.20.5' of https://github.com/atomtong/incubator-weex into 0.12-dev


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/64e93a11
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/64e93a11
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/64e93a11

Branch: refs/heads/dev
Commit: 64e93a1133c102aea3efc5dfbd87d63040e7e3f4
Parents: 6fcc81a 8a56e2f
Author: cxfeng <cx...@apache.org>
Authored: Mon Apr 24 16:57:21 2017 +0800
Committer: cxfeng <cx...@apache.org>
Committed: Mon Apr 24 16:57:21 2017 +0800

----------------------------------------------------------------------
 android/sdk/assets/main.js                      |  16 ++++++++--------
 android/sdk/libs/armeabi/libweexjsc.so          | Bin 7816288 -> 7815820 bytes
 .../taobao/weex/utils/WXSoInstallMgrSdk.java    |   2 +-
 ios/sdk/WeexSDK/Resources/main.js               |  16 ++++++++--------
 4 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------