You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/08/17 03:59:49 UTC

[32/43] incubator-weex git commit: Merge branch '0.16-dev' into jsfm-feature-0.22

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8d6c0d28/packages/weex-js-framework/index.min.js
----------------------------------------------------------------------
diff --cc packages/weex-js-framework/index.min.js
index 43e8ba6,c383a95..03c57ba
--- a/packages/weex-js-framework/index.min.js
+++ b/packages/weex-js-framework/index.min.js
@@@ -1,1 -1,1 +1,5 @@@
++<<<<<<< HEAD
 +(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.21.6, Build 2017-08-03 11:48."),this.getJSFMVersion=function(){return"0.21.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(){ja.forEach(function(e){var t=ja.indexOf(e);Aa[e]={},ja.forEach(function(n){ja.indexOf(n)<=t&&(Aa[e][n]=!0)})})}function r(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Aa[t]&&Aa[t][e]}function o(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function i(){if(void 0===setTimeout&&"function"==typeof Na){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Na(t.toString(),r)},global.setTimeoutC
 allback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function a(){Object.freeze(Object),Object.freeze(Array),s(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),u(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function s(){var e=Object.prototype,t="Object.prototype";c(e,"__defineGetter__",t),c(e,"__defineSetter__",t),c(e,"__lookupGetter__",t),c(e,"__lookupSetter__",t),c(e,"constructor",t),c(e,"hasOwnProperty",t),c(e,"isPrototypeOf",t),c(e,"propertyIsEnumerable",t),c(e,"toLocaleString",t),c(e,"toString",t),c(e,"valueOf",t),Object.seal(e)}function u(){var e=Error.prototype,t="Error.prototype";c(e,"name",t),c(e,"message",t),c(e,"toString",t),c(e,"constructor",t),Object.seal(e)}function c(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 l(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function f(e){if("function"!=typeof btoa)return"";var t=Array.prototype.map.call(new Uint8Array(e),function(e){return String.fromCharCode(e)}).join("");return btoa(t)}function p(e){if("function"!=typeof atob)return new ArrayBuffer(0);var t=atob(e),n=new Uint8Array(t.length);return Array.prototype.forEach.call(t,function(e,t){n[t]=e.charCodeAt(0)}),n.buffer}function d(e){var t=l(e);switch(t){case"Undefined":case"Null":return"";case"RegExp":return e.toString();case"Date":return e.toISOString();case"Number":case"String":case"Boolean":case"Array":case"Object":return e;case"ArrayBuffer":return{"@type":"binary",dataType:t,base64:f(e)};case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":return{"@type":"binary",dataType:t,base64:f(e.buf
 fer)};default:return JSON.stringify(e)}}function h(e){if("Object"===l(e)){if(e["@type"]&&"binary"===e["@type"])return p(e.base64||"");var t={};for(var n in e)t[n]=h(e[n]);return t}return"Array"===l(e)?e.map(h):e}function v(e,t){e&&(Ma[e]=t)}function y(e){return Ma[e]}function m(e){delete Ma[e]}function _(e){var t=Ma[e];return t&&t.taskCenter?t.taskCenter:null}function g(){return($a++).toString()}function b(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,O(t,r)):(t.children.forEach(function(e){e.parentNode=t}),E(e,t),t.docId=e.id,t.ownerDocument=e,O(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),w(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function w(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 E(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function O(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){O(t,e)})}function S(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function x(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function C(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 k(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 j(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 A(){this.nodeId=g(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function I(e,t){if(t&&t.length){var n=function(t){Ra.call(this,e,t,!0)};n.prototype=Object.create(Ra.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:!1,value:Ra}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=_(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),Da[e]=n}}function T(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function N(e){return"String"===T(e)?{"@binding":e}:e}function P(e){for(var t,n,r=[],o=Fa.lastIndex=0;t=Fa.exec(e);){(n=t.index)>o&&r.push(e.slice(o,n));var i=N(t[1].trim());r.push(i),o=n+t[0].length}return o<e.length&&r.push(e.slice(o)),1===r.lengt
 h?r[0]:r}function M(e){if("String"===T(e)&&Fa.test(e))return P(e);if("Object"===T(e)){var t={};for(var n in e)t[n]=M(e[n]);return t}return"Array"===T(e)?e.map(M):e}function $(e,t,n){void 0===e&&(e=La);var r=Da[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=g(),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 R(e,t){y(e).nodeMap[t.nodeId]=t}function D(){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=Va.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 Ua(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ua(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ua(e,[{module:t,method:n,args:r}])}}function F(e,t){B(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Wa.push({name:e,options:t}))}function L(e){Wa.some(function(t,n){if(t.name===e)return Wa.splice(n,1),!0})}function B(e){return U(e)>=0}function U(e){return Wa.map(function(e){return e.name}).indexOf(e)}function V(e){var t,n=Ja.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function z(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Wa.forEach(function(o){o.name;var i=o.options.create;if(i){var a=i(e,t,n);Object.assign(r.service,a),Object.assign(r,a.instance)}}),delete r.service.instance,Object.freeze(r.service),r}function q(e){Ga[e]=function(){for(var
  t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&W(t[0]);for(var r in za){var o=za[r];o&&o[e]&&o[e].apply(o,t)}}}function W(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&I(e.type,e.methods)})}function J(e){Ga[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Ha[r];if(o&&za[o.framework]){var i=(a=za[o.framework])[e].apply(a,t);return"refreshInstance"===e?Wa.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:qa})}):"destroyInstance"===e&&(Wa.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:qa})}),delete Ha[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function H(e,t){Ga[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Ha[r];return o&&za[o.framework]?(i=za[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function G(e){this.nodeType=8,this.nodeId=g(),this.ref=this.nodeId,this.type="comment",this.value=e,t
 his.children=[],this.pureChildren=[]}function X(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 K(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function Z(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=Y(e,t[r],n);if(-1===o)return o}}}function Q(e,t){return"dom"===e&&Xa[t]&&"function"==typeof global[Xa[t]]}function Y(e,t,n){var r=t.module,o=t.method,i=t.args;return Q(r,o)?global[Xa[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function ee(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,v(e,this),this.nodeMap={};var r=ee.Listener||X;this.listener=new r(e,n||Z(e,ee.handler)),this.taskCenter=new Va(e,n?function(e){for(var t=[],r=arguments.l
 ength-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:ee.handler),this.createDocumentElement()}function te(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 ne(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 re(){}function oe(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&&oe.apply(void 0,[e].concat(t))}return e}function ie(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function ae(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function se(e,t){return gs.call(e,t)}function ue(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arg
 uments):e.call(t,n):e.call(t)}}function ce(e){return null!==e&&"object"==typeof e}function le(e){return bs.call(e)===ws}function fe(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function pe(){return"object"==typeof nativeSet?nativeSet.create():new es}function de(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function he(e){return e.replace(Os,"").replace(Ss,"")}function ve(e){return e.replace(Cs,"")}function ye(){this.id=Ts++,this.subs=[]}function me(e){ye.target&&Ns.push(ye.target),ye.target=e}function _e(){ye.target=Ns.pop()}function ge(){ye.target=null,Ns=[]}function be(e,t,n,r){r&&oe(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++Ps,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=pe(),this.newDepIds=pe(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function we(e,t){var n,r,o,i;if(t||(t=Ms).clear(),o=Arra
 y.isArray(e),i=ce(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--;)we(e[n],t);else if(i)for(n=(r=Object.keys(e)).length;n--;)we(e[r[n]],t)}}function Ee(e){this.value=e,this.dep=new ye,ie(e,"__ob__",this),Array.isArray(e)?((Es?Oe:Se)(e,Rs,Ds),this.observeArray(e)):this.walk(e)}function Oe(e,t){e.__proto__=t}function Se(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];ie(e,i,t[i])}}function xe(e,t){if(ce(e)){var n;return se(e,"__ob__")&&e.__ob__ instanceof Ee?n=e.__ob__:(Array.isArray(e)||le(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ee(e)),n&&t&&n.addVm(t),n}}function Ce(e,t,n){var r=new ye,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=xe(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(ye.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=xe(t),r.notify())}})}}function ke(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(se(e,t))e[t]=n;else if(e._isVue)ke(e._data,t,n);else{var r=e.__ob__;if(r){if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;)je(r.vms[o],t);return n}e[t]=n}}function je(e,t){(Fs.indexOf(t)>-1||!fe(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function Ae(e,t){fe(t)||delete e[t]}function Ie(e){e._watchers=[],Te(e),Pe(e),$e(e)}function Te(e){var t=e._data;le(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)je(e,n[r]);xe(t,e)}function Ne(){}function Pe(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=Me(r,e),o.set=Ne):(o.get=r.get?!1!==r.cache?Me(r.get,e):ue(r.get,e):Ne,o.set=r.set?ue(r.set,e):Ne),Object.defineProperty(e,n,o)}}function Me(e,t){var n=new be(t,e,null,{lazy:!0});ret
 urn function(){return n.dirty&&n.evaluate(),ye.target&&n.depend(),n.value}}function $e(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Re(e){var t=e.type,n=Bs[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===de(e[r])&&"object"===de(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function De(e,t,n){ze(e,t,n.id,e),qe(e,t,n.attr),Je(e,t,n.classList),He(e,t,n.style),Xe(e,t,n.events)}function Fe(e,t,n,r){t=t||{},n=n||{};var o=(t._options||{}).props;Array.isArray(o)&&(o=o.reduce(function(e,t){return e[t]=!0,e},{})),Be(r,o,e,t),Be(n.attr,o,e,t)}function Le(e,t,n,r){void 0===r&&(r={}),Ve(n.classList,e,t),Ue(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function Be(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=Qe(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function Ue(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=Qe(t,o,functio
 n(e){n._rootEl&&n._rootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function Ve(e,t,n){function r(e,t){"array"===de(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=Qe(t,e,function(e){r(e,i),We(n._rootEl,o,e)});r(a,i),We(n._rootEl,o,a)}else null!=e&&(r(e,i),We(n._rootEl,o,e))}}function ze(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))||0===n)&&(e._ids[n]=o),Qe(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function qe(e,t,n){Ke(e,t,"attr",n)}function We(e,t,n){"string"==typeof n&&(n=n.split(/\s+/)),n.forEach(function(e,t){n.splice.apply(n,[t,1].concat(e.split(/\s+/)))});for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).fo
 rEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function Je(e,t,n){if("function"==typeof n||Array.isArray(n))if(!Array.isArray(n)||n.length){var r=e._options&&e._options.style||{};if("function"==typeof n){var o=Qe(e,n,function(e){We(t,r,e)});We(t,r,o)}else We(t,r,n)}else t.setClassStyle({})}function He(e,t,n){Ke(e,t,"style",n)}function Ge(e,t,n,r){t.addEvent(n,ue(r,e))}function Xe(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.')),Ge(e,t,i,a)}}function Ke(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?Ze(e,t,n,a,s):t[Us[n]](a,s)}}function Ze(e,t,n,r,o){var i=Us[n],a=Qe(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 Qe(e,t,n){return e._static?t.call(e,e):new be(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}funct
 ion Ye(e,t){return e._app.doc.createBody(t)}function et(e,t){return e._app.doc.createElement(t)}function tt(e,t){var n=nt(e),r=rt(e),o=Vs++;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 nt(e){return e._app.doc.createComment("start")}function rt(e){return e._app.doc.createComment("end")}function ot(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=it(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 it(e,t,n){return t.element?st(t,n):at(t,n)}function at(e,t){var n=t.parentNode;if(n)return n.ins
 ertAfter(e,t)}function st(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);var a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function ut(e,t,n){void 0===n&&(n=!1),t.element?lt(t,n):ct(t),t._vm&&t._vm.$emit("hook:destroyed")}function ct(e){var t=e.parentNode;t&&t.removeChild(e)}function lt(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 ft(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?pt(e,n.children[0],e._parentEl):pt(e,n.children,e._parentEl):pt(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function pt(e,t,n,r){if(-1!==(e._app||{}).lastSignal)if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),dt(t))gt(e,t,n,r);else{if(r=r||{},ht(t))return console.debug('[JS Framework] comp
 ile "content" block by',t),void(e._content=tt(e,n));if(vt(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!"):bt(e,t,n));if(yt(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!"):wt(e,t,n,r));var o=r.type||t.type;if(mt(o,r))Et(e,t,n,o,r);else{var i=o,a=_t(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void Ot(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),St(e,t,n,i)}}}function dt(e){return Array.isArray(e)}function ht(e){return"content"===e.type||"slot"===e.type}function vt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function yt(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;r
 eturn 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 gt(e,t,n,r){var o=tt(e,n);t.forEach(function(t){pt(e,t,o,r)})}function bt(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=tt(e,n);c.children=[],c.data=[],c.vms=[],Ct(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function wt(e,t,n,r){var o={shown:!0},i=tt(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),kt(e,t,i,o)}function Et(e,t,n,r,o){var i=oe({type:r.call(e)},o),a=tt(e,n);n.element&&n.children&&n.children.push(a),Qe(e,r,function(n){var r=oe({type:n},o);ut(e,a,!0),pt(e,t,a,r)}),pt(e,t,a,i)}function Ot(e,t,n,r,o,i){var a=new(0,e.constructor)(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),ze(
 e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){Fe(e,this,n,i.repeat)},"hook:ready":function(){this._content&&xt(e,n,this._content)}});Le(e,a,n,r)}function St(e,t,n,r){Re(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=Ye(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=et(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,ue(c,s))}}De(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=ot(e,o,n)),-1!==f.lastSignal&&xt(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=ot(e,o,n))}function xt(e,t,n){va
 r r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return pt(e,t,n),-1!==r.lastSignal})}function Ct(e,t,n,r){function o(e,r,o){var a;c?(a=e,ce(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={})[l]=r,a[f]=e)):((a={})[l]=r,a[f]=e);var s=At(o,a);i.push(s),pt(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,p=jt(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(),p=n.data.slice(),d={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(d[n]=e)});var v=[];p.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;d.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(
 t)):ut(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,p=h[s];p?(p.item===v[0]?v.shift():(v.$remove(p.item),it(e,p.target,n.updateMark,!0)),a.push(p.target),i.push(p.vm),c?p.vm=t:p.vm[f]=t,p.vm[l]=r,n.updateMark=p.target):o(t,r,e)}),delete n.updateMark}});n.data=p.slice(0),p.forEach(function(t,n){o(t,n,e)})}function kt(e,t,n,r){var o=jt(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?pt(e,t,n,r):ut(e,n,!0))});n.display=!!o,o&&pt(e,t,n,r)}function jt(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return Qe(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 At(e,t){var n=Object.create(e);return n._data=t,Te(n),Pe(n),n._realParent=e,e._static&&(n._static=e._static),n}function It(e,t){if(t instanceo
 f It)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},this.hasStopped=function(){return n}}function Tt(e,t){var n=this,r=this._vmEvents[e];if(r){var o=new It(e,t);r.forEach(function(e){e.call(n,o)})}}function Nt(e,t){var n=new It(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Pt(e,t){var n=new It(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Mt(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 $t(e,t){if(e){var n=this._vmEvents;if(t){var r=n[e];r&&r.$remove(t)}else delete n[e]}}function Rt(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]);zs.forEach(function(t){e.$on("hook:"+t,n[t])})}function Dt(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._rea
 lParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customComponentMap&&(t=this._app.customComponentMap[e]);var a=(t=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,Rt(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&&oe(this._data,o),Ie(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,ft(this))}function Ft(e,t){for(var n in e)!function(n){var r=qs[n];r||(r={},qs[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.n
 ame]&&!t||(r[e.name]=e)})}(n)}function Lt(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function Bt(e,t){var n=qs[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 Ut(e,t){return e.customComponentMap[t]}function Vt(e,t,n){var r=e.customComponentMap;r[t]?console.error("[JS Framework] define a component("+t+") that already exists"):r[t]=n}function zt(e){if(Ws.valid(e))return e;for(var t=(e="string"==typeof e?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 qt(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 Wt(e,t){t=le(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if("function"===de(e)){var r=e.call(this,t,{semver:Ws,normalizeVersion:zt});n=(r=!!r)?qt("custom","","custom params"):n}else{var o=(e=le(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),u=t[i],c=s.indexOf("version")>=0,l=s.indexOf("devicemodel")>=0,f=o[i];if(f&&c){var p=zt(f),d=zt(t[i]);if(Ws.satisfies(d,p)){n=qt(a,u,f);break}}else if(l&&("array"===de(f)?f:[f]).indexOf(u)>=0){n=qt(a,u,f);break}}}return n}function Jt(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function Ht(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(ks(t))o=he(t);else{if(!Is(t))return new Error("Wrong component name: "+t)
 ;if(o=ve(t),!Ut(e,o))return new Error("It's not a component: "+t)}if("string"==typeof(n=le(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Ws.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=Wt(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&&Jt(e,n.viewport),e.vm=new Dt(o,null,{_app:e},null,r)}function Gt(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),Vt(e,t,n)}function Xt(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):oe(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"'
 )}function Kt(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.vm&&Zt(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 Zt(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--;)Zt(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 Qt(e){var t=(e.doc||{}).body||{};return t.toJSON?t.toJSON():{}}function Yt(e,t,n,r,o){console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")");{if(!Array.isArray(t)){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+'"')}t.some(function(t){return!1!==Yt(e,t,n,r)})}}function en(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 tn(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function tn(e){e.differ.flush()}function nn(e,t){var n;return"array"!==de(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function rn(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 Js.apply(void 0,[e].concat(t))},a=function(t,r,i){o=Ht(e,t,r,i||n),tn(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=Dt,u=e.doc,c=function(t){return e
 .requireModule(he(t))},l={config:e.options,define:i,bootstrap:a,requireModule:c,document:u,Vm:s};Object.freeze(l);var f;"function"==typeof t?f=t.toString().substr(12):t&&(f=t.toString()),f='(function(global){\n\n"use strict";\n\n '+f+" \n\n})(Object.create(this))";var p=global.WXEnvironment,d={};if(p&&"Web"!==p.platform){var h=e.requireModule("timer");Object.assign(d,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return h.setTimeout(function(){t[0].apply(t,t.slice(2))},t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return h.setInterval(function(){t[0].apply(t,t.slice(2))},t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){h.clearTimeout(e)},clearInterval:function(e){h.clearInterval(e)}})}var v=Object.assign({define:i,require:function(t){return function(n){o=Ht(e,t,{},n)}},bootstrap:a,register:function(){for(var t=[],n
 =arguments.length;n--;)t[n]=arguments[n];return Gt.apply(void 0,[e].concat(t))},render:function(t,n){o=Ht(e,t,{},n)},__weex_define__:i,__weex_bootstrap__:a,__weex_document__:u,__weex_require__:c,__weex_viewmodel__:s,weex:l},d,r);return an(v,f)||on(v,f),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 an(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||{}).config||{};(n=compileAndRunBundle(o,c.bundleUrl,c.bundleDigest,c.codeCachePath))&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function sn(e,t){var n=e[t];for(var r in n)n[r]()}function un(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.customComponentMap={},this.commonModules={},this.doc=new Ls.Document(e,this.options.bundleUrl,null,Ls.Listener),this.differ=new Hs(e)}function ln(e){"object"==typeof e&&Lt(Dt,e)}var fn={browser:"0.5.0",framework:"0.21.6","vue-render":"0.12.1",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=function(e){var t=n(e);return Math.min(Math.max(t,0),r)};return function(e){var n=this,r=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var 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 pn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},dn=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)}),hn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),vn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},yn=vn,mn=function(e){if(!yn(e))throw TypeError(e+" is not an object!");return e},_n=function(e){try{return!!e()}catch(e){return!0}},gn=!_n(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),bn=vn,wn=dn.document,En=bn(wn)&&bn(wn.createElement),On=function(e){return En?wn.createElement(e):{}},Sn=!gn&&!_n(function(){return 7!=Object.defineProperty(On("div"),"a",{get:function(){return 7}}).a}),xn=vn,Cn=mn,k
 n=Sn,jn=function(e,t){if(!xn(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!xn(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!xn(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!xn(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},An=Object.defineProperty,In={f:gn?Object.defineProperty:function(e,t,n){if(Cn(e),t=jn(t,!0),Cn(n),kn)try{return An(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}},Tn=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Nn=In,Pn=Tn,Mn=gn?function(e,t,n){return Nn.f(e,t,Pn(1,n))}:function(e,t,n){return e[t]=n,e},$n={}.hasOwnProperty,Rn=function(e,t){return $n.call(e,t)},Dn=0,Fn=Math.random(),Ln=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Dn+Fn).toString(36))},Bn=t(function(e){var t=dn,n=Mn,r=Rn,o=Ln("src"),i=Function.toString,a=(""+i).split("toString");hn.inspectSour
 ce=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)})}),Un=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Vn=Un,zn=function(e,t,n){if(Vn(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},qn=dn,Wn=hn,Jn=Mn,Hn=Bn,Gn=zn,Xn=function(e,t,n){var r,o,i,a,s=e&Xn.F,u=e&Xn.G,c=e&Xn.S,l=e&Xn.P,f=e&Xn.B,p=u?qn:c?qn[t]||(qn[t]={}):(qn[t]||{}).prototype,d=u?Wn:Wn[t]||(Wn[t]={}),h=d.prototype||(d.prototype={});u&&(n=t);for(r in n)i=((o=!s&&p&&void 0!==p[r])?p:n)[r],a=f&&o?Gn(i,qn):l&&"function"==typ
 eof i?Gn(Function.call,i):i,p&&Hn(p,r,i,e&Xn.U),d[r]!=i&&Jn(d,r,a),l&&h[r]!=i&&(h[r]=i)};qn.core=Wn,Xn.F=1,Xn.G=2,Xn.S=4,Xn.P=8,Xn.B=16,Xn.W=32,Xn.U=64,Xn.R=128;var Kn=Xn,Zn={}.toString,Qn=function(e){return Zn.call(e).slice(8,-1)},Yn=Qn,er=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Yn(e)?e.split(""):Object(e)},tr=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},nr=er,rr=tr,or=function(e){return nr(rr(e))},ir=Math.ceil,ar=Math.floor,sr=function(e){return isNaN(e=+e)?0:(e>0?ar:ir)(e)},ur=sr,cr=Math.min,lr=function(e){return e>0?cr(ur(e),9007199254740991):0},fr=sr,pr=Math.max,dr=Math.min,hr=or,vr=lr,yr=function(e,t){return(e=fr(e))<0?pr(e+t,0):dr(e,t)},mr=dn,_r=mr["__core-js_shared__"]||(mr["__core-js_shared__"]={}),gr=function(e){return _r[e]||(_r[e]={})},br=gr("keys"),wr=Ln,Er=function(e){return br[e]||(br[e]=wr(e))},Or=Rn,Sr=or,xr=function(e){return function(t,n,r){var o,i=hr(t),a=vr(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),Cr=Er("IE_PROTO"),kr="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),jr=function(e,t){var n,r=Sr(e),o=0,i=[];for(n in r)n!=Cr&&Or(r,n)&&i.push(n);for(;t.length>o;)Or(r,n=t[o++])&&(~xr(i,n)||i.push(n));return i},Ar=kr,Ir=Object.keys||function(e){return jr(e,Ar)},Tr=tr,Nr=function(e){return Object(Tr(e))},Pr=Ir,Mr={f:Object.getOwnPropertySymbols},$r={f:{}.propertyIsEnumerable},Rr=Nr,Dr=er,Fr=Object.assign,Lr=!Fr||_n(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Fr({},e)[n]||Object.keys(Fr({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Rr(e),o=arguments.length,i=1,a=Mr.f,s=$r.f;o>i;)for(var u,c=Dr(n[i++]),l=a?Pr(c).concat(a(c)):Pr(c),f=l.length,p=0;f>p;)s.call(c,u=l[p++])&&(r[u]=c[u]);return r}:Fr,Br=Kn;Br(Br.S+Br.F,"Object",{assign:Lr}),Object
 .setPrototypeOf||(Object.setPrototypeOf=function(e,t){function n(e,t){return r.call(e,t),e}var r;try{(r=e.getOwnPropertyDescriptor(e.prototype,"__proto__").set).call({},null)}catch(t){if(e.prototype!=={}.__proto__||void 0==={__proto__:null}.__proto__)return;r=function(e){this.__proto__=e},n.polyfill=n(n({},null),e.prototype)instanceof e}return n}(Object));var Ur=pn.WXEnvironment;Ur&&"iOS"===Ur.platform&&(pn.Promise=void 0);var Vr=t(function(e){var t=gr("wks"),n=Ln,r=dn.Symbol,o="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),zr=Qn,qr=Vr("toStringTag"),Wr="Arguments"==zr(function(){return arguments}()),Jr=function(e,t){try{return e[t]}catch(e){}},Hr=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Jr(t=Object(e),qr))?n:Wr?zr(t):"Object"==(r=zr(t))&&"function"==typeof t.callee?"Arguments":r},Gr=Hr,Xr={};Xr[Vr("toStringTag")]="z",Xr+""!="[object z]"&&Bn(Object.prototype,"toString",function()
 {return"[object "+Gr(this)+"]"},!0);var Kr=sr,Zr=tr,Qr={},Yr=In,eo=mn,to=Ir,no=gn?Object.defineProperties:function(e,t){eo(e);for(var n,r=to(t),o=r.length,i=0;o>i;)Yr.f(e,n=r[i++],t[n]);return e},ro=dn.document&&document.documentElement,oo=mn,io=no,ao=kr,so=Er("IE_PROTO"),uo=function(){},co=function(){var e,t=On("iframe"),n=ao.length;for(t.style.display="none",ro.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),co=e.F;n--;)delete co.prototype[ao[n]];return co()},lo=Object.create||function(e,t){var n;return null!==e?(uo.prototype=oo(e),n=new uo,uo.prototype=null,n[so]=e):n=co(),void 0===t?n:io(n,t)},fo=In.f,po=Rn,ho=Vr("toStringTag"),vo=function(e,t,n){e&&!po(e=n?e:e.prototype,ho)&&fo(e,ho,{configurable:!0,value:t})},yo=lo,mo=Tn,_o=vo,go={};Mn(go,Vr("iterator"),function(){return this});var bo=Rn,wo=Nr,Eo=Er("IE_PROTO"),Oo=Object.prototype,So=Object.getPrototypeOf||function(e){return e=wo(e),bo(e,Eo)?e[Eo]:
 "function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Oo:null},xo=Kn,Co=Bn,ko=Mn,jo=Rn,Ao=Qr,Io=function(e,t,n){e.prototype=yo(go,{next:mo(1,n)}),_o(e,t+" Iterator")},To=vo,No=So,Po=Vr("iterator"),Mo=!([].keys&&"next"in[].keys()),$o=function(){return this},Ro=function(e,t,n,r,o,i,a){Io(n,t,r);var s,u,c,l=function(e){if(!Mo&&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",p="values"==o,d=!1,h=e.prototype,v=h[Po]||h["@@iterator"]||o&&h[o],y=v||l(o),m=o?p?l("entries"):y:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=No(_.call(new e)))!==Object.prototype&&(To(c,f,!0),jo(c,Po)||ko(c,Po,$o)),p&&v&&"values"!==v.name&&(d=!0,y=function(){return v.call(this)}),(Mo||d||!h[Po])&&ko(h,Po,y),Ao[t]=y,Ao[f]=$o,o)if(s={values:p?y:l("values"),keys:i?y:l("keys"),entries:m},a)for(u in s)u in h||Co(h,u,s[u]);else xo(xo.P+xo.F*(Mo||d),t,s);return s},Do=func
 tion(e){return function(t,n){var r,o,i=String(Zr(t)),a=Kr(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a))<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);Ro(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=Do(t,n),this._i+=e.length,{value:e,done:!1})});var Fo=Vr("unscopables"),Lo=Array.prototype;void 0==Lo[Fo]&&Mn(Lo,Fo,{});var Bo=function(e){Lo[Fo][e]=!0},Uo=function(e,t){return{value:t,done:!!e}},Vo=Qr,zo=or,qo=Ro(Array,"Array",function(e,t){this._t=zo(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,Uo(1)):"keys"==t?Uo(0,n):"values"==t?Uo(0,e[n]):Uo(0,[n,e[n]])},"values");Vo.Arguments=Vo.Array,Bo("keys"),Bo("values"),Bo("entries");for(var Wo=qo,Jo=Bn,Ho=dn,Go=Mn,Xo=Qr,Ko=Vr,Zo=Ko("iterator"),Qo=Ko("toStringTag"),Yo=Xo.Array,ei=["NodeList"
 ,"DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],ti=0;ti<5;ti++){var ni,ri=ei[ti],oi=Ho[ri],ii=oi&&oi.prototype;if(ii){ii[Zo]||Go(ii,Zo,Yo),ii[Qo]||Go(ii,Qo,ri),Xo[ri]=Yo;for(ni in Wo)ii[ni]||Jo(ii,ni,Wo[ni],!0)}}var ai,si,ui,ci=mn,li=function(e,t,n,r){try{return r?t(ci(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&ci(o.call(e)),t}},fi=Qr,pi=Vr("iterator"),di=Array.prototype,hi=function(e){return void 0!==e&&(fi.Array===e||di[pi]===e)},vi=Hr,yi=Vr("iterator"),mi=Qr,_i=hn.getIteratorMethod=function(e){if(void 0!=e)return e[yi]||e["@@iterator"]||mi[vi(e)]},gi=t(function(e){var t=zn,n=li,r=hi,o=mn,i=lr,a=_i,s={},u={},c=e.exports=function(e,c,l,f,p){var d,h,v,y,m=p?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(r(m)){for(d=i(e.length);d>g;g++)if((y=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||y===u)return y}else for(v=m.call(e);!(h=v.next()).done;)if((y=n(v,_,h.value,c))===s||y===u)return y};c.BREAK=s,c.RETU
 RN=u}),bi=mn,wi=Un,Ei=Vr("species"),Oi=zn,Si=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)},xi=ro,Ci=On,ki=dn,ji=ki.process,Ai=ki.setImmediate,Ii=ki.clearImmediate,Ti=ki.MessageChannel,Ni=0,Pi={},Mi=function(){var e=+this;if(Pi.hasOwnProperty(e)){var t=Pi[e];delete Pi[e],t()}},$i=function(e){Mi.call(e.data)};Ai&&Ii||(Ai=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return Pi[++Ni]=function(){Si("function"==typeof e?e:Function(e),n)},ai(Ni),Ni},Ii=function(e){delete Pi[e]},"process"==Qn(ji)?ai=function(e){ji.nextTick(Oi(Mi,e,1))}:Ti?(ui=(si=new Ti).port2,si.port1.onmessage=$i,ai=Oi(ui.postMessage,ui,1)):ki.addEventListener&&"function"==typeof postMessage&&!ki.importScripts?(ai=function(e){
 ki.postMessage(e+"","*")},ki.addEventListener("message",$i,!1)):ai="onreadystatechange"in Ci("script")?function(e){xi.appendChild(Ci("script")).onreadystatechange=function(){xi.removeChild(this),Mi.call(e)}}:function(e){setTimeout(Oi(Mi,e,1),0)});var Ri={set:Ai,clear:Ii},Di=dn,Fi=Ri.set,Li=Di.MutationObserver||Di.WebKitMutationObserver,Bi=Di.process,Ui=Di.Promise,Vi="process"==Qn(Bi),zi=Bn,qi=dn,Wi=In,Ji=gn,Hi=Vr("species"),Gi=Vr("iterator"),Xi=!1;try{var Ki=[7][Gi]();Ki.return=function(){Xi=!0},Array.from(Ki,function(){throw 2})}catch(e){}var Zi,Qi,Yi,ea=dn,ta=zn,na=Hr,ra=Kn,oa=vn,ia=Un,aa=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},sa=gi,ua=function(e,t){var n,r=bi(e).constructor;return void 0===r||void 0==(n=bi(r)[Ei])?t:wi(n)},ca=Ri.set,la=function(){var e,t,n,r=function(){var r,o;for(Vi&&(r=Bi.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(Vi)n=functio
 n(){Bi.nextTick(r)};else if(Li){var o=!0,i=document.createTextNode("");new Li(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Ui&&Ui.resolve){var a=Ui.resolve();n=function(){a.then(r)}}else n=function(){Fi.call(Di,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),fa=ea.TypeError,pa=ea.process,da=ea.Promise,ha="process"==na(pa=ea.process),va=function(){},ya=!!function(){try{var e=da.resolve(1),t=(e.constructor={})[Vr("species")]=function(e){e(va,va)};return(ha||"function"==typeof PromiseRejectionEvent)&&e.then(va)instanceof t}catch(e){}}(),ma=function(e,t){return e===t||e===da&&t===Yi},_a=function(e){var t;return!(!oa(e)||"function"!=typeof(t=e.then))&&t},ga=function(e){return ma(da,e)?new ba(e):new Qi(e)},ba=Qi=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw fa("Bad Promise constructor");t=e,n=r}),this.resolve=ia(t),this.reject=ia(n)},wa=function(e){try{e()}catch(e){return{error:e}}},Ea=function
 (e,t){if(!e._n){e._n=!0;var n=e._c;la(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&&xa(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(fa("Promise-chain cycle")):(i=_a(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Oa(e)})}},Oa=function(e){ca.call(ea,function(){var t,n,r,o=e._v;if(Sa(e)&&(t=wa(function(){ha?pa.emit("unhandledRejection",o,e):(n=ea.onunhandledrejection)?n({promise:e,reason:o}):(r=ea.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=ha||Sa(e)?2:1),e._a=void 0,t)throw t.error})},Sa=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if((t=n[r++]).fail||!Sa(t.promise))return!1;return!0},xa=function(e){ca.call(ea,function(){var t;ha?pa.emit("rejectionHandled",e):(t=ea.onrejectionhandled)&&t({promise:e,reason:e._v})})},Ca=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a
 ||(t._a=t._c.slice()),Ea(t,!0))},ka=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw fa("Promise can't be resolved itself");(t=_a(e))?la(function(){var r={_w:n,_d:!1};try{t.call(e,ta(ka,r,1),ta(Ca,r,1))}catch(e){Ca.call(r,e)}}):(n._v=e,n._s=1,Ea(n,!1))}catch(e){Ca.call({_w:n,_d:!1},e)}}};ya||(da=function(e){aa(this,da,"Promise","_h"),ia(e),Zi.call(this);try{e(ta(ka,this,1),ta(Ca,this,1))}catch(e){Ca.call(this,e)}},(Zi=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=function(e,t,n){for(var r in t)zi(e,r,t[r],n);return e}(da.prototype,{then:function(e,t){var n=ga(ua(this,da));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=ha?pa.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Ea(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ba=function(){var e=new Zi;this.promise=e,this.resolve=ta(ka,e,1),this.reject=ta(Ca,e,1)}),ra(ra.G+ra.W+ra.F*!ya,{Pro
 mise:da}),vo(da,"Promise"),function(e){var t=qi[e];Ji&&t&&!t[Hi]&&Wi.f(t,Hi,{configurable:!0,get:function(){return this}})}("Promise"),Yi=hn.Promise,ra(ra.S+ra.F*!ya,"Promise",{reject:function(e){var t=ga(this);return(0,t.reject)(e),t.promise}}),ra(ra.S+ra.F*!ya,"Promise",{resolve:function(e){if(e instanceof da&&ma(e.constructor,this))return e;var t=ga(this);return(0,t.resolve)(e),t.promise}}),ra(ra.S+ra.F*!(ya&&function(e,t){if(!t&&!Xi)return!1;var n=!1;try{var r=[7],o=r[Gi]();o.next=function(){return{done:n=!0}},r[Gi]=function(){return o},e(r)}catch(e){}return n}(function(e){da.all(e).catch(va)})),"Promise",{all:function(e){var t=this,n=ga(t),r=n.resolve,o=n.reject,i=wa(function(){var n=[],i=0,a=1;sa(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=ga(t),r=n.reject,o=wa(function(){sa(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&
 &r(o.error),n.promise}});var ja=["off","error","warn","info","log","debug"],Aa={},Ia=global.console,Ta=global.setTimeout,Na=global.setTimeoutNative;i();var Pa=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks={}};Pa.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},Pa.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},Pa.prototype.consume=function(e,t,n){var r=this.callbacks[e];return void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r?r(h(t)):new Error('invalid callback id "'+e+'"')},Pa.prototype.close=function(){this.callbacks={}};var Ma={},$a=1;A.prototype.destroy=function(){var e=y(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Ra,Da={},Fa=/\[\[((?:.|\n)+?)\]\]/g,La="div",Ba=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","ve
 rticalpan","swipe"];($.prototype=Object.create(A.prototype)).constructor=$,function(e){Ra=e}($),Object.assign($.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(k(e,this.children,this.children.length,!0),1===e.nodeType){var t=k(e,this.pureChildren,this.pureChildren.length),n=_(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(O(e,this),C(e,this.children,this.children.length,!0),this.docId&&R(this.docId,e),1===e.nodeType){C(e,this.pureChildren,this.pureChildren.length);var r=_(this.docId);if(r)return r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},insertBefore:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(k(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=S(t),r=k(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=_(this.docId);if(o&&r>=0)return o.send("dom",{action:"m
 oveElement"},[e.ref,this.ref,r])}}else if(O(e,this),C(e,this.children,this.children.indexOf(t),!0),this.docId&&R(this.docId,e),1===e.nodeType){var i=S(t),a=C(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=_(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(k(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=k(e,this.pureChildren,this.pureChildren.indexOf(x(t))+1),r=_(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(O(e,this),C(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&R(this.docId,e),1===e.nodeType){var o=C(e,this.pureChildren,this.pureChildren.indexOf(x(t))+1),i=_(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(j(e,this.c
 hildren,!0),1===e.nodeType)){j(e,this.pureChildren);var n=_(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=_(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=_(this.docId);if(!n&&r){var o={};o[e]=M(t),r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},setStyle:function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var r=_(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=_(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=_(this.docId);n&&n.send(
 "dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=_(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t,n){var r=null,o=!1,i=this.event[e];return i&&t&&(t.stopPropagation=function(){o=!0},r=i.call(this,t)),!o&&n&&Ba.includes(e)&&this.parentNode&&this.parentNode.fireEvent&&(t.currentTarget=this.parentNode,this.parentNode.fireEvent(e,t,n)),r},toStyle:function(){return Object.assign({},this.classStyle,this.style)},toJSON:function(){var e={ref:this.ref.toString(),type:this.type,attr:M(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 Ua=function(){},V
 a=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new Pa(e)}),Ua=t||function(){}};Va.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},Va.prototype.destroyCallback=function(){return this.callbackManager.close()},Va.prototype.normalize=function(e){var t=l(e);return e instanceof $?e.ref:e._isVue&&e.$el instanceof $?e.$el.ref:"Function"===t?this.callbackManager.add(e).toString():d(e)},Va.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,u=t.module,c=t.method;switch(n=n.map(function(e){return o.normalize(e)}),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,c,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,u,c,n,r)}},Va.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},Va.prototype.callComponent=function(e,t,n,r){return this
 .componentHandler(this.instanceId,e,t,n,r)},Va.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var za,qa,Wa=[],Ja=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Ha={},Ga={createInstance:function(e,t,n,r){var o=Ha[e];if(!o){o=V(t)||{},za[o.framework]||(o.framework="Weex"),(n=JSON.parse(JSON.stringify(n||{}))).bundleVersion=o.version,n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),console.debug("[JS Framework] create an "+o.framework+"@"+n.bundleVersion+" instance from "+n.bundleVersion);var i={info:o,config:n,created:Date.now(),framework:o.framework};return i.services=z(e,i,qa),Ha[e]=i,za[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')},registerService:F,unregisterService:L};(G.prototype=Object.create(A.prototype)).constructor=G,G.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(X.prototype,{createFinish:function(e){return(0,this.handler)([K("createFinish")],e)},updateFinish
 :function(e){return(0,this.handler)([K("updateFinish")],e)},refreshFinish:function(e){return(0,this.handler)([K("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[K("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return K("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(K("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return K("removeElement",[e])});return this.addActions(t)}return this.addActions(K("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(K("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(K("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[t]=n,this.addActions(K("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(K("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(K("addEvent",[
 e,t]))},removeEvent:function(e,t){return this.addActions(K("removeEvent",[e,t]))},handler:function(e,t){return t&&t()},addActions:function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)}});var Xa={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};ee.handler=null,Object.assign(ee.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 $("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,val
 ue:function(t){b(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){b(e,t,n)}})}return this.documentElement},createBody:function(e,t){return this.body||E(this,new $(e,t)),this.body},createElement:function(e,t){return new $(e,t)},createComment:function(e){return new G(e)},fireEvent:function(e,t,n,r){if(e){(n=n||{}).type=t,n.target=e,n.currentTarget=e,n.timestamp=Date.now(),r&&te(e,r);var o="true"===this.getRef("_root").attr.bubble;return e.fireEvent(t,n,o)}},destroy:function(){this.taskCenter.destroyCallback(),delete this.listener,delete this.nodeMap,delete this.taskCenter,m(this.id)}});var Ka={Document:ee,Element:$,Comment:G,Listener:X,TaskCenter:Va,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return"function"==typeof callNative?callNative.apply(void 0,e):(global.callNative||function(){}).apply(void 0,e)}};ee.handler=Ka.sendTasks;var Za={setNativeConsole:function(){if(n(),global.WXEnvironment&&
 "Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("debug")&&global.nativeLog.apply(global,o(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("log")&&global.nativeLog.apply(global,o(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("info")&&global.nativeLog.apply(global,o(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("warn")&&global.nativeLog.apply(global,o(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("error")&&global.nativeLog.apply(global,o(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,i=console.info,a=console.warn,s=console.error;console.__ori__={debug:e,log:t,info:i,warn:a,error:s},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("debug")&&console.__ori__.de
 bug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];r("error")&&console.__ori__.error.apply(console,e)}}},resetNativeConsole:function(){Aa={},global.console=Ia},setNativeTimer:i,resetNativeTimer:function(){global.setTimeout=Ta,global.setTimeoutCallback=null},service:{register:F,unregister:L,has:B},freezePrototype:function(){a(),Object.freeze(Ka.Element),Object.freeze(Ka.Comment),Object.freeze(Ka.Listener),Object.freeze(Ka.Document.prototype),Object.freeze(Ka.Element.prototype),Object.freeze(Ka.Comment.prototype),Object.freeze(Ka.Listener.prototype)},init:fu
 nction(e){za=(qa=e||{}).frameworks||{},D();for(var t in za)za[t].init(e);return["registerComponents","registerModules","registerMethods"].forEach(q),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(J),H("receiveTasks","callJS"),Ga},config:Ka},Qa={},Ya={};re.prototype.postMessage=function(e){var t=this;if(this._closed)throw new Error('BroadcastChannel "'+this.name+'" is closed.');var n=Qa[this.name];if(n&&n.length)for(var r=0;r<n.length;++r){var o=n[r];o._closed||o===t||"function"==typeof o.onmessage&&o.onmessage(new ne("message",{data:e}))}},re.prototype.close=function(){var e=this;if(!this._closed&&(this._closed=!0,Qa[this.name])){var t=Qa[this.name].filter(function(t){return t!==e});t.length?Qa[this.name]=t:delete Qa[this.name]}};var es,ts={BroadcastChannel:{create:function(e,t,n){if(Ya[e]=[],"function"==typeof global.BroadcastChannel)return{};var r={BroadcastChannel:function(t){Object.defineProperty(this,"name",{configurable:!1,enumerable:!0,writable:!1,valu
 e:String(t)}),this._closed=!1,this.onmessage=null,Qa[this.name]||(Qa[this.name]=[]),Qa[this.name].push(this),Ya[e].push(this)}};return r.BroadcastChannel.prototype=re.prototype,{instance:r}},destroy:function(e,t){Ya[e].forEach(function(e){return e.close()}),delete Ya[e]}}},ns={},rs={},os=Object.freeze({init:function(e){ns.Document=e.Document,ns.Element=e.Element,ns.Comment=e.Comment,ns.sendTasks=e.sendTasks},registerComponents:function(e){},registerModules:function(e){},registerMethods:function(e){},prepareInstance:function(e,t,n){},createInstance:function(e,t,n,r,o){var i=new ns.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)},rs[e]=i;var u=Object.assign({Document:ns.Document,Element:ns.Element,Comment:ns.Comment,sendTasks:ns.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),{document:i}},refreshInstance:function(e,t){},destroyInstance:function(e){delete rs[e]},getRoot:function(e){return rs[e].body.toJSON()},receiveTasks:function(e,t){var n={fireEvent:function(e,t,n,r,o){var i=rs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return rs[e].handleCallback(t,n,r)}};if(rs[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}}}),is=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 Ht.call(e,t)}function s(e){return"string"==typ
 eof 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 p(e){return null!==e&&"object"==typeof e}function d(e){return Yt.call(e)===en}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function v(){}function y(e,t){var n=p(e),r=p(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 m(e,t){for(var n=0;n<e.length;n++)if(y(e[n],t))return n;return-1}function _(e){var t=!1;return function(){t||(t=!0,e())}}function g(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function b(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0
 })}function w(e){if(!an.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 E(e){return/native code/.test(e.toString())}function O(e){gn.target&&bn.push(gn.target),gn.target=e}function S(){gn.target=bn.pop()}function x(e,t){e.__proto__=t}function C(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];b(e,i,t[i])}}function k(e,t){if(p(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof xn?n=e.__ob__:Sn.shouldConvert&&!dn()&&(Array.isArray(e)||d(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new xn(e)),t&&n&&n.vmCount++,n}}function j(e,t,n,r){var o=new gn,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 gn.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)&&"number"==typeof t)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)&&"number"==typeof t)e.splice(t,1);else{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.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&T(t)}function N(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),s=0;s<i.length;s++)r=e[n=i[s]],o=t[n],a(e,n)?d(r)&&d(o)&&N(r,o):A(e,n,o);return e}function P(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={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o[Xt(r)]={type:null});else if(d(t))for(var i in t)r=t[i],o[Xt(i)]=d(r)?r:{type:r};e.props=o}}function R(e){var t=e.di
 rectives;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=Cn[r]||kn;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 ot&&(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=Xt(n);if(a(o,i))return o[i];var s=Kt(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!==Qt(e)||(s=!0)),void 0===s){s=B(r,o,e);var u=Sn.shouldConvert;Sn.shouldConvert=!0,k(s),Sn.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(rn.errorHandler)rn.errorHandler.call(null,e,t,n);else{if(!un||"undefined"==typeof console)throw e;console.error(e)}}function q(e){return new jn(void 0,void 0,void 0,String(e))}function W(e){var t=new jn(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]=W(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=Nn(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.c
 apture)));for(i in t)e[i]||r((u=Nn(i)).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).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)?[q(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(q(r)):r.text&&o&&o.text?i[i.length-1]=q(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?In.$once(e,t):In.$on(e,t)}function ne(e,t){In.$off(e
 ,t)}function re(e,t,n){In=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]).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.push(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=Tn),de(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new Bn(e,r,v),n=!1,null==e.$vnode&&(e._isMounted=!0,de(e,"mounted")),e}function ce(e,t,n
 ,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==on);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,t&&e.$options.props){Sn.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)}Sn.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]);de(e,"activated")}}function pe(e,t){if(!(t&&(e._directInactive=!0,le(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)pe(e.$children[n]);de(e,"deactivated")}}function de(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(){Mn.length=0,$n={},Rn=Dn=!1}function ve(){Dn=!0;var e,t,n;for(Mn.sort(function(e,t){return e.id-t.id}),Fn=0;Fn<Mn.length;Fn++)t=(e=Mn[Fn]).id,$n[t]=null,e.run();var r=Mn.slice();for(he(),Fn=r.length;Fn--;)(n=(e=r[Fn]).vm)._watcher===e&&n._isMounted&&de(n,"updated");hn&&rn.devtools&&hn.emit("flush")}function ye(e){var t=e.id;if(null==$n[t]){if($n[t]=!0,Dn){for(var n=Mn.length-1;n>=0&&Mn[n].id>e.id;)n--;Mn.splice(Math.max(n,Fn)+1,0,e)}else Mn.push(e);Rn||(Rn=!0,yn(ve))}}function me(e){Un.clear(),_e(e,Un)}function _e(e,t){var n,r,o=Array.isArray(e);if((o||p(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(n=(r=Object.keys(e)).length;n--;)_e(e[r[n]],t)}}function ge(e,t,n){Vn.get=function(){return this[t][n]},Vn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Vn)}function 
 be(e){e._watchers=[];var t=e.$options;t.props&&we(e,t.props),t.methods&&ke(e,t.methods),t.data?Ee(e):k(e._data={},!0),t.computed&&Se(e,t.computed),t.watch&&je(e,t.watch)}function we(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Sn.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);Sn.shouldConvert=!0}function Ee(e){var t=e.$options.data;d(t=e._data="function"==typeof t?Oe(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&a(r,n[o])||g(n[o])||ge(e,"_data",n[o]);k(t,!0)}function Oe(e,t){try{return e.call(t)}catch(e){return z(e,t,"data()"),{}}}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 Bn(e,i,v,zn),r in e||xe(e,r,o)}}function xe(e,t,n){"function"==typeof n?(Vn.get=Ce(t),Vn.set=v):(Vn.get=n.get?!1!==n.cache?Ce(t):n.get:v,Vn.set=n.set?n.set:v),Object.defineProperty(e,t,Vn
 )}function Ce(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),gn.target&&t.depend(),t.value}}function ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?v:c(t[n],e)}function je(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Ae(e,n,r[o]);else Ae(e,n,r)}}function Ae(e,t,n){var r;d(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Ie(e,t,n,r,o){if(e){var i=n.$options._base;if(p(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;tt(e),(t=t||{}).model&&Fe(e.options,t);var a=Me(t,e,o);if(e.options.functional)return Te(e,a,t,n,r);var s=t.on;t.on=t.nativeOn,e.options.abstract&&(t={}),Re(t);var u=e.options.name||o;return new jn("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 Te(e,t,n,r,o){var i={},a=e.options.p
 rops;if(a)for(var s in a)i[s]=L(s,a,t);var u=Object.create(r),c=e.options.render.call(null,function(e,t,n,r){return Le(u,e,t,n,r,!0)},{props:i,data:n,parent:r,children:o,slots:function(){return oe(o,r)}});return c instanceof jn&&(c.functionalContext=r,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}function Ne(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(p(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 Me(e,t,n){var r=t.options.props;if(r){var o={},i=e.a
 ttrs,a=e.props,s=e.domProps;if(i||a||s)for(var u in r){var c=Qt(u);$e(o,a,u,c,!0)||$e(o,i,u,c)||$e(o,s,u,c)}return o}}function $e(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 Re(e){e.hook||(e.hook={});for(var t=0;t<Wn.length;t++){var n=Wn[t],r=e.hook[n],o=qn[n];e.hook[n]=r?De(o,r):o}}function De(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function Fe(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 Le(e,t,n,r,o,i){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i&&(o=Hn),Be(e,t,n,r,o)}function Be(e,t,n,r,o){if(n&&n.__ob__)return Tn();if(!t)return Tn();Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),o===Hn?r=Z(r):o===Jn&&(r=K(r));var i,a;if("string"==typeof t){var s;a=rn.getTagNamespace(t)
 ,i=rn.isReservedTag(t)?new jn(rn.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=F(e.$options,"components",t))?Ie(s,n,e,r,t):new jn(t,n,r,void 0,void 0,e)}else i=Ie(t,n,e,r);return i?(a&&Ue(i,a),i):Tn()}function Ue(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&&Ue(o,t)}}function Ve(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(p(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 ze(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 qe(e){return F(this.$options,"filters",e,!0)||nn}function We(e,t,n){var r=rn.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function Je(e,t,n,r){if(n)if(p(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||rn.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}i in o||(o[i]=n[i])}}else;return e}function He(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?J(n):W(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),Xe(n,"__static__"+e,!1),n)}function Ge(e,t,n){return Xe(e,"__once__"+t+(n?"_"+n:""),!0),e}function Xe(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Ke(e[r],t+"_"+r,n);else Ke(e,t,n)}function Ke(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Ze(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=on,e._c=function(t,n,r,o){return Le(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Le(e,t,n,r,o,!0)}}function Qe(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(
 e):t)}function Ye(e){var t=e.$options.inject;if(t)for(var n=Array.isArray(t),r=n?t:vn?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++)!function(o){for(var i=r[o],a=n?i:t[i],s=e;s;){if(s._provided&&a in s._provided){j(e,i,s._provided[a]);break}s=s.$parent}}(o)}function et(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=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 tt(e){var t=e.options;if(e.super){var n=tt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=nt(e);r&&f(e.extendOptions,r),(t=e.options=D(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function nt(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=rt(n[o],r[o]));return t}function rt(e,t){if(Array.isArray(e)){v
 ar 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 ot(e){this._init(e)}function it(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 at(e){e.mixin=function(e){this.options=D(this.options,e)}}function st(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&&ut(a),a.options.computed&&ct(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rn._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 ut(e){var t=e.options.
 props;for(var n in t)ge(e.prototype,"_props",n)}function ct(e){var t=e.options.computed;for(var n in t)xe(e.prototype,n,t[n])}function lt(e){rn._assetTypes.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&d(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 ft(e){return e&&(e.Ctor.options.name||e.tag)}function pt(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=ft(r.componentOptions);o&&!t(o)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||de(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function vt(e){return new t.Element(e)}function yt(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 mt(e){return void 0===e||null===e}function _t(e){return void 0!==e&&null!==e}function gt(e){return!0===e}function bt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&_t(e.data)===_t(t.data)&&wt(e,t)}function wt(e,t){if("input"!==e.tag)return!0;var n;return(_t(n=e.data)&&_t(n=n.attrs)&&n.type)===(_t(n=t.data)&&_t(n=n.attrs)&&n.type)}function Et(e,t,n){var r,o,i={};for(r=t;r<=n;++r)_t(o=e[r].key)&&(i[o]=r);return i}function Ot(e,t){(e.data.directives||t.data.directives)&&St(e,t)}function St(e,t){var n,r,o,i=e===tr,a=t===tr,s=xt(e.data.directives,e.context),u=xt(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,kt(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(kt(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++)kt(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++)kt(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||kt(s[n],"unbind",e,e,a)}function xt(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)(o=e[r]).modifiers||(o.modifiers=or),n[Ct(o)]=o,o.def=F(t.$options,"directives",o.name,!0);return n}function Ct(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function kt(e,t,n,r,o){var i=e.def&&e.def[t];i&&i(n.elm,e,n,r,o)}function jt(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 At(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=It(a,u,r
 );for(var f in l)n.setStyle(f,l[f])}}function It(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 Tt(e,t,n,r){if(r)console.log("Weex do not support event in bubble phase.");else{if(n){var o=t,i=Zn;t=function(t){null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Nt(e,null,null,i)}}Zn.addEvent(e,t)}}function Nt(e,t,n,r){(r||Zn).removeEvent(e)}function Pt(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Zn=t.elm,G(n,r,Tt,Nt,t.context)}}function Mt(e,t){if(e.data.style||t.data.style){var n,r,o=t.elm,i=e.data.style||{},a=t.data.style||{},s=a.__ob__;Array.isArray(a)&&(a=t.data.style=$t(a)),s&&(a=t.data.style=f({},a));for(r in i)a[r]||o.setStyle(cr(r),"");for(r in a)n=a[r],o.setStyle(cr(r),n)}}function $t(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function Rt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,fr(e.
 name||"v")),f(t,e),t}return"string"==typeof e?fr(e):void 0}}function Dt(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Rt(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,u=r.appearToClass,c=r.appearActiveClass,l=r.beforeEnter,f=r.enter,p=r.afterEnter,d=r.enterCancelled,h=r.beforeAppear,y=r.appear,m=r.afterAppear,g=r.appearCancelled,b=Pn,w=Pn.$vnode;w&&w.parent;)b=(w=w.parent).context;var E=!b._isMounted||!t.isRootInsert;if(!E||y||""===y){var O=E?s:o,S=E?u:i,x=E?c:a,C=E?h||l:l,k=E&&"function"==typeof y?y:f,j=E?m||p:p,A=E?g||d:d,I=k&&(k._length||k.length)>1,T=t.context.$options.style||{},N=T[O],P=T["@TRANSITION"]&&T["@TRANSITION"][x]||{},M=Ft(n,T,O,S,x,t.context),$=Object.keys(M).length>0,R=n._enterCb=_(function(){R.cancelled?A&&A(n):j&&j(n),n._enterCb=null});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&
 &r.elm._leaveCb(),k&&k(n,R),$?t.context.$requireWeexModule("animation").transition(n.ref,{styles:M,duration:P.duration||0,delay:P.delay||0,timingFunction:P.timingFunction||"linear"},I?v:R):I||R()},16),C&&C(n),N)for(var D in N)n.setStyle(D,N[D]);$||I||R()}}}function Ft(e,t,n,r,o,i){var a={},s=t[n],u=t[r],c=t[o];if(s)for(var l in s)a[l]=e.style[l];if(c)for(var p in c)0!==p.indexOf("transition")&&(a[p]=c[p]);return u&&f(a,u),a}function Lt(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Lt(Y(t.children)):e}function Bt(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[Xt(i)]=o[i];return t}function Ut(e,t){return/\d-keep-alive$/.test(t.tag)?e("keep-alive"):null}function Vt(e){for(;e=e.parent;)if(e.data.transition)return!0}function zt(e,t){return t.key===e.key&&t.tag===e.tag}function qt(e,n){var r=new t.Comment("root");return r.hasAttribute=r.removeAttribute=function(){},n.documentElement.appendChild(r),r}o("slot,componen
 t",!0);var Wt,Jt,Ht=Object.prototype.hasOwnProperty,Gt=/-(\w)/g,Xt=u(function(e){return e.replace(Gt,function(e,t){return t?t.toUpperCase():""})}),Kt=u(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Zt=/([^-])([A-Z])/g,Qt=u(function(e){return e.replace(Zt,"$1-$2").replace(Zt,"$1-$2").toLowerCase()}),Yt=Object.prototype.toString,en="[object Object]",tn=function(){return!1},nn=function(e){return e},rn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:tn,isUnknownElement:tn,getTagNamespace:v,parsePlatformTagName:nn,mustUseProp:tn,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},on=Object.freeze({}),an=/[^\w.$]/,sn="__proto__"in{},un="undefined"!=typeof window,cn=un&&window.navigator.userA
 gent.toLowerCase(),ln=(cn&&/msie|trident/.test(cn),cn&&cn.indexOf("msie 9.0"),cn&&cn.indexOf("edge/")>0),fn=(cn&&cn.indexOf("android"),cn&&/iphone|ipad|ipod|ios/.test(cn)),dn=(cn&&/chrome\/\d+/.test(cn),function(){return void 0===Wt&&(Wt=!un&&void 0!==pn&&"server"===pn.process.env.VUE_ENV),Wt}),hn=un&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,vn="undefined"!=typeof Sy

<TRUNCATED>