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/03/17 07:11:40 UTC

[36/40] incubator-weex git commit: * [ios] update jsfrm version to 0.19.14

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/22f6f708/ios/sdk/WeexSDK/Resources/main.js
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Resources/main.js b/ios/sdk/WeexSDK/Resources/main.js
index b507e9d..f0a296f 100644
--- a/ios/sdk/WeexSDK/Resources/main.js
+++ b/ios/sdk/WeexSDK/Resources/main.js
@@ -1,7 +1,7 @@
-(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.19.15, Build 2017-03-16 11:36."),this.getJSFMVersion=function(){return"0.19.15"};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.
 length;t--;)e[t]=arguments[t];i("error")&&console.__ori__.error.apply(console,e)}}}function r(){vs={},global.console=ms}function o(){hs.forEach(function(e){var t=hs.indexOf(e);vs[e]={},hs.forEach(function(n){hs.indexOf(n)<=t&&(vs[e][n]=!0)})})}function i(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return vs[t]&&vs[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 _s){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,_s(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function u(){global.setTimeout=ys,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),Object.freeze(Error.prototype),O
 bject.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function l(){f("__defineGetter__"),f("__defineSetter__"),f("__lookupGetter__"),f("__lookupSetter__"),f("constructor"),f("hasOwnProperty"),f("isPrototypeOf"),f("propertyIsEnumerable"),f("toLocaleString"),f("toString"),f("valueOf"),Object.seal(Object.prototype)}function f(e){var t=Object.prototype;if(t.hasOwnProperty(e)){var n=t[e];Object.defineProperty(t,e,{get:function(){return n},set:function(n){if(this===t)throw Error("Cannot assign to read only property "+e+" of Object.prototype");return Object.defineProperty(this,e,{value:n,writable:!0}),n}})}}function d(e,t){e&&(bs[e]=t)}function p(e){return bs[e]}function h(e){delete bs[e]}function v(e){var t=bs[e];return t&&t.taskCenter?t.taskCenter:null}function m(){return(ws++).toString()}function y(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,b(t,r)):(t.children.forEach(function(e){e.parentNode=t}),g(e,t),t.docId=e.id,t.ownerDocument=e,b(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),_(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function _(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 g(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function b(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){b(t,e)})}function w(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function C(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function O(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 x(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 E(){this.nodeId=m(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function S(e,t){if(t&&t.length){var n=function(t){Cs.call(this,e,t,!0)};n.prototype=Object.create(Cs.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:!1,value:Cs}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=v(this.docId);if(o)return o.
 send("component",{ref:this.ref,component:e,method:t},n)}}),Os[e]=n}}function j(e,t,n){void 0===e&&(e=ks);var r=Os[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=m(),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){p(e).nodeMap[t.nodeId]=t}function A(){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=Es.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 xs(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=gl
 obal.callNativeComponent||function(e,t,n,r,o){return xs(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return xs(e,[{module:t,method:n,args:r}])}}function T(e,t){R(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Is.push({name:e,options:t}))}function N(e){Is.some(function(t,n){if(t.name===e)return Is.splice(n,1),!0})}function R(e){return D(e)>=0}function D(e){return Is.map(function(e){return e.name}).indexOf(e)}function $(e){var t,n=As.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function P(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Is.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,Object.freeze(r.service),r}function M(e,t,n,r){var o=Ts[e];if(!o){o=$(t)||{},Ss[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),n.bu
 ndleVersion=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=P(e,i,js),Ts[e]=i,Ss[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function F(e){Ns[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&q(t[0]);for(var r in Ss){var o=Ss[r];o&&o[e]&&o[e].apply(o,t)}}}function q(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&S(e.type,e.methods)})}function L(e){Ns[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Ts[r];if(o&&Ss[o.framework]){var i=(a=Ss[o.framework])[e].apply(a,t);return"refreshInstance"===e?Is.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:js})}):"destroyInstance"===e&&(Is.forEach(function(e){var t=e.options.destro
 y;t&&t(r,{info:o,runtime:js})}),delete Ts[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function V(e,t){Ns[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Ts[r];return o&&Ss[o.framework]?(i=Ss[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function B(e){js=e||{},Ss=js.frameworks||{},A();for(var t in Ss){Ss[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(F),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(L),V("receiveTasks","callJS"),Ns}function U(e){this.nodeType=8,this.nodeId=m(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function J(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 z(e,t){return void 0===t&&(t
 =[]),{module:"dom",method:e,args:t}}function W(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=G(e,t[r],n);if(o===-1)return o}}}function H(e,t){return"dom"===e&&Rs[t]&&"function"==typeof global[Rs[t]]}function G(e,t,n){var r=t.module,o=t.method,i=t.args;return H(r,o)?global[Rs[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function X(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,d(e,this),this.nodeMap={};var r=X.Listener||J;this.listener=new r(e,n||W(e,X.handler)),this.taskCenter=new Es(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:X.handler),this.createDocumentElement()}function K(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 Z(){c(),Object.freeze(Ds.Element),Object.freeze(Ds.Comment),Object.freeze(Ds.Listener)
 ,Object.freeze(Ds.Document.prototype),Object.freeze(Ds.Element.prototype),Object.freeze(Ds.Comment.prototype),Object.freeze(Ds.Listener.prototype)}function Q(e){Ms.Document=e.Document,Ms.Element=e.Element,Ms.Comment=e.Comment,Ms.sendTasks=e.sendTasks}function Y(e){}function ee(e){}function te(e){}function ne(e,t,n){}function re(e,t,n,r,o){var i=new Ms.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)},Fs[e]=i;var u=Object.assign({Document:Ms.Document,Element:Ms.Element,Comment:Ms.Comment,sendTasks:Ms.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 oe(e,t){}function ie(e){delete Fs[e]}function ae(e){return Fs[e].body.toJSON()}function se(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Fs[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},c
 allback:function(e,t,n,r){return Fs[e].handleCallback(t,n,r)}};if(Fs[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 ue(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function ce(e){var t=this._ids[e];if(t)return t.el}function le(e){var t=this._ids[e];if(t)return t.vm}function fe(e){return this._app.differ.then(function(){e()})}function de(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 pe(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.requireModule("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 he(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 ve(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 me(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 ye(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 _e(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._ap
 p.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function ge(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&&ge.apply(void 0,[e].concat(t))}return e}function be(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function we(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function Ce(e,t){return fu.call(e,t)}function Oe(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 ke(e){return null!==e&&"object"==typeof e}function xe(e){return du.call(e)===pu}function Ee(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function Se(){return"object"==typeof nativeSet?nativeSet.create():new $s}function je(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function Ie(e){return e.replace(vu,"").re
 place(mu,"")}function Ae(e){return e.replace(yu,"")}function Te(){this.id=Cu++,this.subs=[]}function Ne(e){Te.target&&Ou.push(Te.target),Te.target=e}function Re(){Te.target=Ou.pop()}function De(){Te.target=null,Ou=[]}function $e(e,t,n,r){r&&ge(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++ku,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=Se(),this.newDepIds=Se(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Pe(e,t){var n,r,o,i;if(t||(t=xu,t.clear()),o=Array.isArray(e),i=ke(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--;)Pe(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)Pe(e[r[n]],t)}}function Me(e){if(this.value=e,this.dep=new Te,be(e,"__ob__",this),Array.isArray(e)){(hu?Fe:qe)(e,Su,ju),this.observeArray(e)}else this.walk(e)}function Fe(e,t){e.__proto__=t}function qe(e,t,n){for(var r=0,o=n.
 length;r<o;r++){var i=n[r];be(e,i,t[i])}}function Le(e,t){if(ke(e)){var n;return Ce(e,"__ob__")&&e.__ob__ instanceof Me?n=e.__ob__:(Array.isArray(e)||xe(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Me(e)),n&&t&&n.addVm(t),n}}function Ve(e,t,n){var r=new Te,o=Object.getOwnPropertyDescriptor(e,t);if(!o||o.configurable!==!1){var i=o&&o.get,a=o&&o.set,s=Le(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if(Te.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=Le(t),r.notify())}})}}function Be(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(Ce(e,t))return void(e[t]=n);if(e._isVue)return void Be(e._data,t,n);var r=e.__ob__;if(!r)return 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];Je(i,t)}return n}function Ue(e,t){if(Ce(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];ze(o,t)}}}function Je(e,t){(Iu.indexOf(t)>-1||!Ee(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function ze(e,t){Ee(t)||delete e[t]}function We(e){e._watchers=[],He(e),Xe(e),Ze(e)}function He(e){var t=e._data;xe(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)Je(e,n[r]);Le(t,e)}function Ge(){}function Xe(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=Ke(r,e),o.set=Ge):(o.get=r.get?r.cache!==!1?Ke(r.get,e):Oe(r.get,e):Ge,o.set=r.set?Oe(r.set,e):Ge),Object.defineProperty(e,n,o)}}function Ke(e,t){var n=new $e(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Te.target&&n.depend(),n.value}}function Ze(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function Qe(e){var t=e.type,n=Tu[t];i
 f("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===je(e[r])&&"object"===je(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function Ye(e,t,n){it(e,t,n.id,e),at(e,t,n.attr),ut(e,t,n.classList),ct(e,t,n.style),ft(e,t,n.events)}function et(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},{})),nt(r,i,e,t),nt(n.attr,i,e,t)}function tt(e,t,n,r){void 0===r&&(r={}),ot(n.classList,e,t),rt(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function nt(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=ht(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function rt(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=ht(t,o,function(e){n._rootEl&&n._rootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function ot(e,t,n){function r(e,t){"array"===je(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=ht(t,e,function(e){r(e,i),st(n._rootEl,o,e)});r(a,i),st(n._rootEl,o,a)}else null!=e&&(r(e,i),st(n._rootEl,o,e))}}function it(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),ht(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function at(e,t,n){dt(e,t,"attr",n)}function st(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 ut(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){st(t,r,ht(e,n,function(e){st(t,r,e)}))}els
 e st(t,r,n)}}function ct(e,t,n){dt(e,t,"style",n)}function lt(e,t,n,r){t.addEvent(n,Oe(r,e))}function ft(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.')),lt(e,t,i,a)}}function dt(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?pt(e,t,n,a,s):t[Nu[n]](a,s)}}function pt(e,t,n,r,o){var i=Nu[n],a=ht(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 ht(e,t,n){return e._static?t.call(e,e):new $e(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function vt(e,t){return e._app.doc.createBody(t)}function mt(e,t){return e._app.doc.createElement(t)}function yt(e,t){var n=_t(e),r=gt(e),o=Ru++;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.insert
 Before(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 _t(e){return e._app.doc.createComment("start")}function gt(e){return e._app.doc.createComment("end")}function bt(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=wt(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 wt(e,t,n){return t.element?Ot(t,n):Ct(t,n)}function Ct(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function Ot(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,r!==-1}),r}}function kt(e,t,n){void 0===n&&(n=!1),t.element?Et(t,n):xt(t),t._vm&&t._vm.$emit("h
 ook:destroyed")}function xt(e){var t=e.parentNode;t&&t.removeChild(e)}function Et(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||xt(e.start),n.forEach(function(e){xt(e)}),t||xt(e.end)}function St(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?jt(e,n.children[0],e._parentEl):jt(e,n.children,e._parentEl):jt(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function jt(e,t,n,r){if((e._app||{}).lastSignal!==-1){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),It(t))return void $t(e,t,n,r);if(r=r||{},At(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=yt(e,n));if(Tt(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!"):Pt(e,t,n));if(Nt(t,r))return console.d
 ebug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Mt(e,t,n,r));var o=r.type||t.type;if(Rt(o,r))return void Ft(e,t,n,o,r);var i=o,a=Dt(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void qt(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),Lt(e,t,n,i)}}function It(e){return Array.isArray(e)}function At(e){return"content"===e.type||"slot"===e.type}function Tt(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Nt(e,t){return!t.hasOwnProperty("shown")&&e.shown}function Rt(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function Dt(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 $t(e,t,n,r){var o=yt(e,n);t.forEach(function(t){jt(e,t,o,r)})}function Pt(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=yt(e,n);c.children=[],c.data=[],c.vms=[],Bt(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Mt(e,t,n,r){var o={shown:!0},i=yt(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),Ut(e,t,i,o)}function Ft(e,t,n,r,o){var i=r.call(e),a=ge({type:i},o),s=yt(e,n);n.element&&n.children&&n.children.push(s),ht(e,r,function(n){var r=ge({type:n},o);kt(e,s,!0),jt(e,t,s,r)}),jt(e,t,s,a)}function qt(e,t,n,r,o,i){tt(e,new(0,e.constructor)(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),it(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){et(e,this,n,i.repeat)},"hook:ready":function(){this._content&&Vt(e,n,this._content)}}),n,r)}function Lt(e,t,n,r){Qe(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Fra
 mework] compile to create body for "+r),o=vt(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=mt(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,Oe(c,s))}}Ye(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||{};f.lastSignal===-1||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=bt(e,o,n)),f.lastSignal!==-1&&Vt(e,t,o),f.lastSignal!==-1&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=bt(e,o,n))}function Vt(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return jt(e,t,n),r.lastSignal!==-1})}function Bt(e,t,n,r){function o(e,r,o){var a;c?(a=e,ke(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "IND
 EX" 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=zt(o,a);i.push(s),jt(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=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(),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)):kt(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),wt(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.updat
 eMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function Ut(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?jt(e,t,n,r):kt(e,n,!0))});n.display=!!o,o&&jt(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 ht(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){o(a.latestValue),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function zt(e,t){var n=Object.create(e);return n._data=t,He(n),Xe(n),n._realParent=e,e._static&&(n._static=e._static),n}function Wt(e,t){if(t instanceof Wt)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 Ht(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Wt(e,t);o.forEach(function(e){e.call(n,i)})}}function Gt(e,t){var n=new Wt(
 e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Xt(e,t){var n=new Wt(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function Kt(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 Zt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function Qt(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]);Du.forEach(function(t){e.$on("hook:"+t,n[t])})}function Yt(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.customComponentMap&&(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._i
 ds={},this._vmEvents={},this._childrenVms=[],this._type=e,Qt(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&&ge(this._data,o),We(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,St(this))}function en(e,t){for(var n in e)!function(n){var r=$u[n];r||(r={},$u[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function tn(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function nn(e,t){var n=$u[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(va
 r 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 rn(e,t){return e.customComponentMap[t]}function on(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 an(e){if(Pu.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 sn(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 un(e,t){t=t||global.WXEnvironment,t=xe(t)?t:{};var n=
 {isDowngrade:!1};if("function"===je(e)){var r=e.call(this,t,{semver:Pu,normalizeVersion:an});r=!!r,n=r?sn("custom","","custom params"):n}else{e=xe(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=an(p),v=an(t[s]);if(Pu.satisfies(v,h)){n=sn(u,l,p);break}}else if(d){var m="array"===je(p)?p:[p];if(m.indexOf(l)>=0){n=sn(u,l,p);break}}}}return n}function cn(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function ln(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(_u(t))o=Ie(t);else{if(!wu(t))return new Error("Wrong component name: "+t);if(o=Ae(t),!rn(e,o))return new Error("It's not a component: "+t)}if(n=xe(n)?n:{},
-"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!Pu.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=un(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&&cn(e,n.viewport),e.vm=new Yt(o,null,{_app:e},null,r)}function fn(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),on(e,t,n)}function dn(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):ge(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function pn(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.
 vm&&hn(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 hn(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--;)hn(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 vn(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function mn(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 mn(e,t,n,r)!==!1});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 yn(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 _n(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function _n(e){e.differ.flush()}function gn(e,t){var n;return"array"!==je(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function bn(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 Mu.apply(void 0,[e].concat(t))},a=function(t,r,i){o=ln(e,t,r,i||n),_n(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=Yt,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return fn.apply(void 0,[e].conca
 t(t))},c=function(t,n){o=ln(e,t,{},n)},l=function(t){return function(n){o=ln(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 e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=function(){e[0].apply(e,e.slice(2))};y.setTimeout(n,e[1])},setInterval:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=function(){e[0].apply(e,e.slice(2))};y.setInterval(n,e[1])},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}})}return wn(Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_documen
 t__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r),h),o}function wn(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 Cn(e,t){var n=e[t];for(var r in n)n[r]()}function On(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.customComponentMap={},this.commonModules={},this.doc=new Au.Document(e,this.options.bundleUrl,null,Au.Listener),this.differ=new Fu(e)}function xn(e,t,n,r,o){var i=o||{},a=i.services;De();var s=qu[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new kn(e,n),qu[e]=s,u=bn(s,t,r,a)),u}function En(e){Au.Document=e.Document,Au.Element=e.Element,Au.Comment=e.Comment,Au.sendTasks=e.sendTasks,Au.Listener=e.Listener}function Sn(e,t){var n=qu[e];return n?dn(n,t):new Error('invalid instance id "'+e+'"')}function jn(e){De();var t=qu[e];return t?(pn(t),delete qu
 [e],qu):new Error('invalid instance id "'+e+'"')}function In(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Lu[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Lu[e.type]=e))})}function An(e){"object"==typeof e&&en(e)}function Tn(e){"object"==typeof e&&tn(Yt,e)}function Nn(e,t){if(qu[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Vu[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 Rn(e){var t=qu[e];return t?vn(t):new Error('invalid instance id "'+e+'"')}function Dn(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 $n(){}var Pn={browser:"0.5.0",framework:"0.19.15",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 Mn="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},Fn=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)}),qn=t(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),Ln=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Vn=Ln,Bn=function(e){if(!Vn(e))throw TypeError(e+" is not an object!");return e},Un=function(e){try{return!!e()}catch(e){return!0}},Jn=!Un(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),zn=Ln,Wn=Fn.document,Hn=zn(Wn)&&zn(Wn.createElement),Gn=function(e){return Hn?Wn.createElement(e):{}},Xn=!Jn&&!Un(function(){return 7!=Object.defineProperty(Gn("div"),"a",{get:function(){return 7}}).a}),Kn=Ln,Zn=function(e,t){if(!Kn(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Kn(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Kn(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Kn(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Qn=Bn,Yn=Xn,er=Zn,tr=Object.defineProperty,nr=Jn?Object.defineProperty:function(e,t,n){if(Qn(e),t=er(t,!0),Qn
 (n),Yn)try{return tr(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},rr={f:nr},or=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ir=rr,ar=or,sr=Jn?function(e,t,n){return ir.f(e,t,ar(1,n))}:function(e,t,n){return e[t]=n,e},ur={}.hasOwnProperty,cr=function(e,t){return ur.call(e,t)},lr=0,fr=Math.random(),dr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++lr+fr).toString(36))},pr=t(function(e){var t=Fn,n=sr,r=cr,o=dr("src"),i=Function.toString,a=(""+i).split("toString");qn.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)})}),hr=function(e){if("function"!=typeof e)throw T
 ypeError(e+" is not a function!");return e},vr=hr,mr=function(e,t,n){if(vr(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)}},yr=Fn,_r=qn,gr=sr,br=pr,wr=mr,Cr=function(e,t,n){var r,o,i,a,s=e&Cr.F,u=e&Cr.G,c=e&Cr.S,l=e&Cr.P,f=e&Cr.B,d=u?yr:c?yr[t]||(yr[t]={}):(yr[t]||{}).prototype,p=u?_r:_r[t]||(_r[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?wr(i,yr):l&&"function"==typeof i?wr(Function.call,i):i,d&&br(d,r,i,e&Cr.U),p[r]!=i&&gr(p,r,a),l&&h[r]!=i&&(h[r]=i)};yr.core=_r,Cr.F=1,Cr.G=2,Cr.S=4,Cr.P=8,Cr.B=16,Cr.W=32,Cr.U=64,Cr.R=128;var Or=Cr,kr={}.toString,xr=function(e){return kr.call(e).slice(8,-1)},Er=xr,Sr=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Er(e)?e.split(""):Object(e)},jr=function(e){if(void 0==e)throw TypeError("Can
 't call method on  "+e);return e},Ir=Sr,Ar=jr,Tr=function(e){return Ir(Ar(e))},Nr=Math.ceil,Rr=Math.floor,Dr=function(e){return isNaN(e=+e)?0:(e>0?Rr:Nr)(e)},$r=Dr,Pr=Math.min,Mr=function(e){return e>0?Pr($r(e),9007199254740991):0},Fr=Dr,qr=Math.max,Lr=Math.min,Vr=function(e,t){return e=Fr(e),e<0?qr(e+t,0):Lr(e,t)},Br=Tr,Ur=Mr,Jr=Vr,zr=Fn,Wr=zr["__core-js_shared__"]||(zr["__core-js_shared__"]={}),Hr=function(e){return Wr[e]||(Wr[e]={})},Gr=Hr("keys"),Xr=dr,Kr=function(e){return Gr[e]||(Gr[e]=Xr(e))},Zr=cr,Qr=Tr,Yr=function(e){return function(t,n,r){var o,i=Br(t),a=Ur(i.length),s=Jr(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),eo=Kr("IE_PROTO"),to=function(e,t){var n,r=Qr(e),o=0,i=[];for(n in r)n!=eo&&Zr(r,n)&&i.push(n);for(;t.length>o;)Zr(r,n=t[o++])&&(~Yr(i,n)||i.push(n));return i},no="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ro=to,oo
 =no,io=Object.keys||function(e){return ro(e,oo)},ao=Object.getOwnPropertySymbols,so={f:ao},uo={}.propertyIsEnumerable,co={f:uo},lo=jr,fo=function(e){return Object(lo(e))},po=io,ho=so,vo=co,mo=fo,yo=Sr,_o=Object.assign,go=!_o||Un(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=_o({},e)[n]||Object.keys(_o({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=mo(e),o=arguments.length,i=1,a=ho.f,s=vo.f;o>i;)for(var u,c=yo(n[i++]),l=a?po(c).concat(a(c)):po(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:_o,bo=Or;bo(bo.S+bo.F,"Object",{assign:go}),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}(Obj
 ect));var wo=Mn,Co=wo.WXEnvironment;Co&&"iOS"===Co.platform&&(Mn.Promise=void 0);var Oo=t(function(e){var t=Hr("wks"),n=dr,r=Fn.Symbol,o="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),ko=xr,xo=Oo("toStringTag"),Eo="Arguments"==ko(function(){return arguments}()),So=function(e,t){try{return e[t]}catch(e){}},jo=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=So(t=Object(e),xo))?n:Eo?ko(t):"Object"==(r=ko(t))&&"function"==typeof t.callee?"Arguments":r},Io=jo,Ao={};Ao[Oo("toStringTag")]="z",Ao+""!="[object z]"&&pr(Object.prototype,"toString",function(){return"[object "+Io(this)+"]"},!0);var To=Dr,No=jr,Ro={},Do=rr,$o=Bn,Po=io,Mo=Jn?Object.defineProperties:function(e,t){$o(e);for(var n,r=Po(t),o=r.length,i=0;o>i;)Do.f(e,n=r[i++],t[n]);return e},Fo=Fn.document&&document.documentElement,qo=Bn,Lo=Mo,Vo=no,Bo=Kr("IE_PROTO"),Uo=function(){},Jo=function(){var e,t=Gn("iframe"),n=Vo.length;for(t.styl
 e.display="none",Fo.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object</script>"),e.close(),Jo=e.F;n--;)delete Jo.prototype[Vo[n]];return Jo()},zo=Object.create||function(e,t){var n;return null!==e?(Uo.prototype=qo(e),n=new Uo,Uo.prototype=null,n[Bo]=e):n=Jo(),void 0===t?n:Lo(n,t)},Wo=rr.f,Ho=cr,Go=Oo("toStringTag"),Xo=function(e,t,n){e&&!Ho(e=n?e:e.prototype,Go)&&Wo(e,Go,{configurable:!0,value:t})},Ko=zo,Zo=or,Qo=Xo,Yo={};sr(Yo,Oo("iterator"),function(){return this});var ei=function(e,t,n){e.prototype=Ko(Yo,{next:Zo(1,n)}),Qo(e,t+" Iterator")},ti=cr,ni=fo,ri=Kr("IE_PROTO"),oi=Object.prototype,ii=Object.getPrototypeOf||function(e){return e=ni(e),ti(e,ri)?e[ri]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?oi:null},ai=Or,si=pr,ui=sr,ci=cr,li=Ro,fi=ei,di=Xo,pi=ii,hi=Oo("iterator"),vi=!([].keys&&"next"in[].keys()),mi=function(){return this},yi=function(e,t,n,r,o,i,a){fi(n,t
 ,r);var s,u,c,l=function(e){if(!vi&&e in h)return h[e];switch(e){case"keys":return function(){return new n(this,e)};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[hi]||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=pi(_.call(new e)))!==Object.prototype&&(di(c,f,!0),ci(c,hi)||ui(c,hi,mi)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),(vi||p||!h[hi])&&ui(h,hi,m),li[t]=m,li[f]=mi,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||si(h,u,s[u]);else ai(ai.P+ai.F*(vi||p),t,s);return s},_i=function(e){return function(t,n){var r,o,i=String(No(t)),a=To(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);yi(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=_i(t,n),this._i+=e.length,{value:e,done:!1})});var gi=Oo("unscopables"),bi=Array.prototype;void 0==bi[gi]&&sr(bi,gi,{});var wi=function(e){bi[gi][e]=!0},Ci=function(e,t){return{value:t,done:!!e}},Oi=wi,ki=Ci,xi=Ro,Ei=Tr,Si=yi(Array,"Array",function(e,t){this._t=Ei(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,ki(1)):"keys"==t?ki(0,n):"values"==t?ki(0,e[n]):ki(0,[n,e[n]])},"values");xi.Arguments=xi.Array,Oi("keys"),Oi("values"),Oi("entries");for(var ji=Si,Ii=pr,Ai=Fn,Ti=sr,Ni=Ro,Ri=Oo,Di=Ri("iterator"),$i=Ri("toStringTag"),Pi=Ni.Array,Mi=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],Fi=0;Fi<5;Fi++){var qi,Li=Mi[Fi],Vi=Ai[Li],Bi=Vi&&Vi.prototype;if(Bi){Bi[Di]||Ti(Bi,Di,Pi),Bi[$i]||Ti(Bi,$i,Li),Ni[Li]=Pi;for(qi in ji)Bi[qi]||Ii(Bi,qi,ji[qi],!0)}}var Ui,Ji,zi,Wi=function(e,t,n,r){if(!(e instanceof t)||void 0!
 ==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},Hi=Bn,Gi=function(e,t,n,r){try{return r?t(Hi(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&Hi(o.call(e)),t}},Xi=Ro,Ki=Oo("iterator"),Zi=Array.prototype,Qi=function(e){return void 0!==e&&(Xi.Array===e||Zi[Ki]===e)},Yi=jo,ea=Oo("iterator"),ta=Ro,na=qn.getIteratorMethod=function(e){if(void 0!=e)return e[ea]||e["@@iterator"]||ta[Yi(e)]},ra=t(function(e){var t=mr,n=Gi,r=Qi,o=Bn,i=Mr,a=na,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}),oa=Bn,ia=hr,aa=Oo("species"),sa=function(e,t){var n,r=oa(e).constructor;return void 0===r||void 0==(n=oa(r)[aa])?t:ia(n)},ua=function(e,t,n){var r=void 0===n;switc
 h(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)},ca=mr,la=ua,fa=Fo,da=Gn,pa=Fn,ha=pa.process,va=pa.setImmediate,ma=pa.clearImmediate,ya=pa.MessageChannel,_a=0,ga={},ba=function(){var e=+this;if(ga.hasOwnProperty(e)){var t=ga[e];delete ga[e],t()}},wa=function(e){ba.call(e.data)};va&&ma||(va=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return ga[++_a]=function(){la("function"==typeof e?e:Function(e),n)},Ui(_a),_a},ma=function(e){delete ga[e]},"process"==xr(ha)?Ui=function(e){ha.nextTick(ca(ba,e,1))}:ya?(Ji=new ya,zi=Ji.port2,Ji.port1.onmessage=wa,Ui=ca(zi.postMessage,zi,1)):pa.addEventListener&&"function"==typeof postMessage&&!pa.importScripts?(Ui=function(e){pa.postMessage(e+"","*")},pa.addEventListener("message",wa,!1)):Ui="on
 readystatechange"in da("script")?function(e){fa.appendChild(da("script")).onreadystatechange=function(){fa.removeChild(this),ba.call(e)}}:function(e){setTimeout(ca(ba,e,1),0)});var Ca={set:va,clear:ma},Oa=Fn,ka=Ca.set,xa=Oa.MutationObserver||Oa.WebKitMutationObserver,Ea=Oa.process,Sa=Oa.Promise,ja="process"==xr(Ea),Ia=pr,Aa=Fn,Ta=rr,Na=Jn,Ra=Oo("species"),Da=Oo("iterator"),$a=!1;try{var Pa=[7][Da]();Pa.return=function(){$a=!0},Array.from(Pa,function(){throw 2})}catch(e){}var Ma,Fa,qa,La=Fn,Va=mr,Ba=jo,Ua=Or,Ja=Ln,za=hr,Wa=Wi,Ha=ra,Ga=sa,Xa=Ca.set,Ka=function(){var e,t,n,r=function(){var r,o;for(ja&&(r=Ea.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(ja)n=function(){Ea.nextTick(r)};else if(xa){var o=!0,i=document.createTextNode("");new xa(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Sa&&Sa.resolve){var a=Sa.resolve();n=function(){a.then(r)}}else n=function(){ka.call(Oa,r)};return function(r){var o={fn:r,
 next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),Za=La.TypeError,Qa=La.process,Ya=La.Promise,Qa=La.process,es="process"==Ba(Qa),ts=function(){},ns=!!function(){try{var e=Ya.resolve(1),t=(e.constructor={})[Oo("species")]=function(e){e(ts,ts)};return(es||"function"==typeof PromiseRejectionEvent)&&e.then(ts)instanceof t}catch(e){}}(),rs=function(e,t){return e===t||e===Ya&&t===qa},os=function(e){var t;return!(!Ja(e)||"function"!=typeof(t=e.then))&&t},is=function(e){return rs(Ya,e)?new as(e):new Fa(e)},as=Fa=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw Za("Bad Promise constructor");t=e,n=r}),this.resolve=za(t),this.reject=za(n)},ss=function(e){try{e()}catch(e){return{error:e}}},us=function(e,t){if(!e._n){e._n=!0;var n=e._c;Ka(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&&fs(e),e._h=1),a===!0?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(Za("Promi
 se-chain cycle")):(i=os(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&cs(e)})}},cs=function(e){Xa.call(La,function(){var t,n,r,o=e._v;if(ls(e)&&(t=ss(function(){es?Qa.emit("unhandledRejection",o,e):(n=La.onunhandledrejection)?n({promise:e,reason:o}):(r=La.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=es||ls(e)?2:1),e._a=void 0,t)throw t.error})},ls=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||!ls(t.promise))return!1;return!0},fs=function(e){Xa.call(La,function(){var t;es?Qa.emit("rejectionHandled",e):(t=La.onrejectionhandled)&&t({promise:e,reason:e._v})})},ds=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()),us(t,!0))},ps=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Za("Promise can't be resolved itself");(t=os(e))?Ka(function(){var r={_w:n,_d:!1};try{t.call(e,Va(ps,r,1),Va(ds,r,1))}catch(e){ds.call(r,e)}}):(n._v=e,n._s=1
 ,us(n,!1))}catch(e){ds.call({_w:n,_d:!1},e)}}};ns||(Ya=function(e){Wa(this,Ya,"Promise","_h"),za(e),Ma.call(this);try{e(Va(ps,this,1),Va(ds,this,1))}catch(e){ds.call(this,e)}},Ma=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ma.prototype=function(e,t,n){for(var r in t)Ia(e,r,t[r],n);return e}(Ya.prototype,{then:function(e,t){var n=is(Ga(this,Ya));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=es?Qa.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&us(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),as=function(){var e=new Ma;this.promise=e,this.resolve=Va(ps,e,1),this.reject=Va(ds,e,1)}),Ua(Ua.G+Ua.W+Ua.F*!ns,{Promise:Ya}),Xo(Ya,"Promise"),function(e){var t=Aa[e];Na&&t&&!t[Ra]&&Ta.f(t,Ra,{configurable:!0,get:function(){return this}})}("Promise"),qa=qn.Promise,Ua(Ua.S+Ua.F*!ns,"Promise",{reject:function(e){var t=is(this);return(0,t.reject)(e),t.promise}}),Ua(Ua.S+Ua.F*!ns,"
 Promise",{resolve:function(e){if(e instanceof Ya&&rs(e.constructor,this))return e;var t=is(this);return(0,t.resolve)(e),t.promise}}),Ua(Ua.S+Ua.F*!(ns&&function(e,t){if(!t&&!$a)return!1;var n=!1;try{var r=[7],o=r[Da]();o.next=function(){return{done:n=!0}},r[Da]=function(){return o},e(r)}catch(e){}return n}(function(e){Ya.all(e).catch(ts)})),"Promise",{all:function(e){var t=this,n=is(t),r=n.resolve,o=n.reject,i=ss(function(){var n=[],i=0,a=1;Ha(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=is(t),r=n.reject,o=ss(function(){Ha(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var hs=["off","error","warn","info","log","debug"],vs={},ms=global.console,ys=global.setTimeout,_s=global.setTimeoutNative;s();var gs=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};gs.prototype.add=function(e){retur
 n this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},gs.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},gs.prototype.consume=function(e,t,n){var r=this.callbacks[e];return void 0!==n&&n!==!1||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},gs.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var bs={},ws=1;E.prototype.destroy=function(){var e=p(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Cs,Os={},ks="div";j.prototype=Object.create(E.prototype),j.prototype.constructor=j,function(e){Cs=e}(j),Object.assign(j.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=v(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveEl
 ement"},[e.ref,this.ref,t])}}else if(b(e,this),O(e,this.children,this.children.length,!0),this.docId&&I(this.docId,e),1===e.nodeType){O(e,this.pureChildren,this.pureChildren.length);var r=v(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=w(t),r=k(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=v(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(b(e,this),O(e,this.children,this.children.indexOf(t),!0),this.docId&&I(this.docId,e),1===e.nodeType){var i=w(t),a=O(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=v(this.docId);if(s)return s.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},insertAfter:function(e,t){if(!(e.parentNode&&e.parentNo
 de!==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(C(t))+1),r=v(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(b(e,this),O(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&I(this.docId,e),1===e.nodeType){var o=O(e,this.pureChildren,this.pureChildren.indexOf(C(t))+1),i=v(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(x(e,this.children,!0),1===e.nodeType)){x(e,this.pureChildren);var n=v(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=v(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||n===!1){this.attr[e]=t;var r=v(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||n===!1){this.style[e]=t;var r=v(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=v(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=v(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=v(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 xs=function(){},Es=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new gs}),xs=t||function(){}};Es.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},Es.prototype.destroyCallback=function(){return this.callbackManager.close()},Es.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},Es.prototype.normalize=function(e){switch(this.typof(e)){case"undefined":case"null":return"";case"regexp":return e.toStrin
 g();case"date":return e.toISOString();case"number":case"string":case"boolean":case"array":case"object":return e instanceof j?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSON.stringify(e)}},Es.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,{})}},Es.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},Es.prototype.callComponent=function(e,t,n){return this.componentHandler(this.instanceId,e,t,n,{})},Es.prototype.callModule=function(e,t,n){return this.moduleHandler(this.instanceId,e,t,n,{})};var Ss,js,Is=[],As=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Ts={},Ns={createInstance:M,registerService:T,unregisterService:N};U.prototype=Object.create(E.prototype),U.prototy
 pe.constructor=U,U.prototype.toString=function(){return"<!-- "+this.value+" -->"},Object.assign(J.prototype,{createFinish:function(e){return(0,this.handler)([z("createFinish")],e)},updateFinish:function(e){return(0,this.handler)([z("updateFinish")],e)},refreshFinish:function(e){return(0,this.handler)([z("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[z("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return z("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(z("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return z("removeElement",[e])});return this.addActions(t)}return this.addActions(z("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(z("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(z("updateAttrs",[e,r]))},setStyle:function(e,t,n){var
  r={};return r[t]=n,this.addActions(z("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(z("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(z("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(z("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 Rs={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};X.handler=null,Object.assign(X.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 j("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){y(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){y(e,t,n)}})}return this.documentElement},createBody:function(e,t){if(!this.body){g(this,new j(e,t))}return this.body},createElement:function(e,t){return new j(e,t)},createComment:function(e){return new U(e)},fireEvent:function(e,t,n,r){if(e)return n=n||{},n.type=t,n.target=e,n.timestamp=Date.now(),r&&K(e,r),e.fireEvent(t,n)},destroy:function(){delete this.listener,delete this.nodeMap,h(this.id)}});var Ds={Document:X,Element:j,Comment:U,Listener:J,TaskCenter:Es,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return global.callNative.apply(global,e)}};X.handler=Ds.sendTasks;var $s,Ps={setNativeConsole:n,resetNativeConsole:r,setNativeTimer:s,rese
 tNativeTimer:u,service:{register:T,unregister:N,has:R},freezePrototype:Z,init:B,config:Ds
-},Ms={},Fs={},qs=Q,Ls=Y,Vs=ee,Bs=te,Us=ne,Js=re,zs=oe,Ws=ie,Hs=ae,Gs=se,Xs={init:qs,registerComponents:Ls,registerModules:Vs,registerMethods:Bs,prepareInstance:Us,createInstance:Js,refreshInstance:zs,destroyInstance:Ws,getRoot:Hs,receiveTasks:Gs},Ks=Object.freeze({default:Xs,__moduleExports:Xs,init:qs,registerComponents:Ls,registerModules:Vs,registerMethods:Bs,prepareInstance:Us,createInstance:Js,refreshInstance:zs,destroyInstance:Ws,getRoot:Hs,receiveTasks:Gs}),Zs=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 un.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(nu
 ll);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 dn.call(e)===pn}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);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(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 C(e){if(!Sn.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 O(e){An.target&&Tn.push(An.target),An.target=e}function k(){An.target=Tn.pop()}function x(e,t){e.__proto__=t}function E(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];w(e,i,t[i])}}function S(e,t){if(d(e)){var n;return a(e,"__ob__")&&e.__ob__ instanceof Pn?n=e.__ob__:$n.shouldConvert&&!Cn()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Pn(e)),t&&n&&n.vmCount++,n}}function j(e,t,n,r){var o=new An,i=Object.getOwnPropertyDescriptor(e,t);if(!i||i.configurable!==!1){var a=i&&i.get,s=i&&i.set,u=S(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return An.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=S(t),o.notify())}})}}function I(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 vo
 id(e[t]=n);var r=e.__ob__;if(!(e._isVue||r&&r.vmCount))return r?(j(r.value,t,n),r.dep.notify(),n):void(e[t]=n)}function A(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 N(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)&&N(r,o):I(e,n,o);return e}function R(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function D(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=cn(r),i[o]={type:null});else if(p(t))for(var a in t)r=t[a],o=cn(a),i[o]=p(r)?r:{type:r};e.props=i}}function P(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 M(e,t,n){funct
 ion r(r){var o=Fn[r]||qn;l[r]=o(e[r],t[r],n,r)}$(t),P(t);var o=t.extends;if(o&&(e="function"==typeof o?M(e,o.options,n):M(e,o,n)),t.mixins)for(var i=0,s=t.mixins.length;i<s;i++){var u=t.mixins[i];u.prototype instanceof it&&(u=u.options),e=M(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=cn(n);if(a(o,i))return o[i];var s=ln(i);if(a(o,s))return o[s];var u=o[n]||o[i]||o[s];return u}}function q(e,t,n,r){var o=t[e],i=!a(n,e),s=n[e];if(B(Boolean,o.type)&&(i&&!a(o,"default")?s=!1:B(String,o.type)||""!==s&&s!==fn(e)||(s=!0)),void 0===s){s=L(r,o,e);var u=$n.shouldConvert;$n.shouldConvert=!0,S(s),$n.shouldConvert=u}return s}function L(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"!==V(t.type)?r.call(e):r}}function V(e){var t=e&&e.toString().match(/^\s*function (\w+)/)
 ;return t&&t[1]}function B(e,t){if(!Array.isArray(t))return V(t)===V(e);for(var n=0,r=t.length;n<r;n++)if(V(t[n])===V(e))return!0;return!1}function U(e,t,n){if(mn.errorHandler)mn.errorHandler.call(null,e,t,n);else{if(!_n||"undefined"==typeof console)throw e;console.error(e)}}function J(e){return new Ln(void 0,void 0,void 0,String(e))}function z(e){var t=new Ln(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 W(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=z(e[n]);return t}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=Jn(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=Jn(i),r(u.name,t[i],u.capture))}function X(e,t,n){function r(){n.apply(this,arg
 uments),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)?[J(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(J(r)):r.text&&o&&o.text?i[i.length-1]=J(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?Bn.$once(e,t):Bn.$on(e,t)}function ne(e,t){Bn.$off(e,t)}function re(e,t,n){Bn=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.push(o)}else i.push(o);return i.length&&(1!==i.length||" "!==i[0].text&&!i[0].isComment)&&(n.default=i),n}function ie(e){for(var t={},n=0;n<e.length;n++)t[e[n][0]]=e[n][1];return t}function ae(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 se(e,t,n){e.$el=t,e.$options.render||(e.$options.render=Un),de(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new Qn(e,r,v),n=!1,null==e.$vnode&&(e._isMounted=!0,de(e,"mounted")),e}function ue(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==En);if(e.$options._pare
 ntVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,t&&e.$options.props){$n.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var c=s[u];a[c]=q(c,e.$options.props,t,e)}$n.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 ce(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function le(e,t){if(t){if(e._directInactive=!1,ce(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++)le(e.$children[n]);de(e,"activated")}}function fe(e,t){if(!(t&&(e._directInactive=!0,ce(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)fe(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){U(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"
 +t)}function pe(){Wn.length=0,Hn={},Gn=Xn=!1}function he(){Xn=!0;var e,t,n;for(Wn.sort(function(e,t){return e.id-t.id}),Kn=0;Kn<Wn.length;Kn++)e=Wn[Kn],t=e.id,Hn[t]=null,e.run();for(Kn=Wn.length;Kn--;)e=Wn[Kn],n=e.vm,n._watcher===e&&n._isMounted&&de(n,"updated");On&&mn.devtools&&On.emit("flush"),pe()}function ve(e){var t=e.id;if(null==Hn[t]){if(Hn[t]=!0,Xn){for(var n=Wn.length-1;n>=0&&Wn[n].id>e.id;)n--;Wn.splice(Math.max(n,Kn)+1,0,e)}else Wn.push(e);Gn||(Gn=!0,xn(he))}}function me(e){Yn.clear(),ye(e,Yn)}function ye(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--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function _e(e,t,n){er.get=function(){return this[t][n]},er.set=function(e){this[t][n]=e},Object.defineProperty(e,n,er)}function ge(e){e._watchers=[];var t=e.$options;t.props&&be(e,t.props),t.methods&&xe(e,t.methods),t.data?we(e):S(e._data={},!0),t.c
 omputed&&Ce(e,t.computed),t.watch&&Ee(e,t.watch)}function be(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;$n.shouldConvert=i;for(var a in t)!function(i){o.push(i),j(r,i,q(i,t,n,e)),i in e||_e(e,"_props",i)}(a);$n.shouldConvert=!0}function we(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])||_e(e,"_data",n[o]);S(t,!0)}function Ce(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 Qn(e,i,v,tr),r in e||Oe(e,r,o)}}function Oe(e,t,n){"function"==typeof n?(er.get=ke(t),er.set=v):(er.get=n.get?n.cache!==!1?ke(t):n.get:v,er.set=n.set?n.set:v),Object.defineProperty(e,t,er)}function ke(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),An.target&&t.depend(),t.value}}function xe(e,t){e.$options.props;for(var n
  in t)e[n]=null==t[n]?v:c(t[n],e)}function Ee(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Se(e,n,r[o]);else Se(e,n,r)}}function Se(e,t,n){var r;p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function je(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=$e(e,i,function(){n.$forceUpdate()})))return;nt(e),t=t||{},t.model&&Le(e.options,t);var a=Pe(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={}),Fe(t);var u=e.options.name||o;return new Ln("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]=q(s,a,t);var u=Object.create(r),c=function(e,t,n,r){return Ve(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 Ln&&(l.functionalContext=r,n.slot&&((l.data||(l.data={})).slot=n.slot)),l}function Ae(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 Te(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Ae(e,zn,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var o=e;Ne(o,o)}}function Ne(e,t){var n=t.componentOptions;ue(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)}function Re(e){e.componentInstance._isMounted||(e.componentInstance._isMounted=!0,de(e.componentInstance,"mounted")),e.data.keepAlive&&le(e.componentInstance,!0)}function De(e){e.componentInstance._isDestroyed||(e.data.keepAlive?fe(e.componentInstance,!0):e.comp
 onentInstance.$destroy())}function $e(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 Pe(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=fn(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 Fe(e){e.hook||(e.hook={});for(var t=0;t<rr.length;t++){var n=rr[t],r=e.hook[n],o=nr[n];e.hook[n]=r?qe(o,r):o}}function qe(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function Le(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.ca
 llback].concat(o[r]):o[r]=t.model.callback}function Ve(e,t,n,r,o,i){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i&&(o=ir),Be(e,t,n,r,o)}function Be(e,t,n,r,o){if(n&&n.__ob__)return Un();if(!t)return Un();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===ir?r=Z(r):o===or&&(r=K(r));var i,a;if("string"==typeof t){var s;a=mn.getTagNamespace(t),i=mn.isReservedTag(t)?new Ln(mn.parsePlatformTagName(t),n,r,void 0,void 0,e):(s=F(e.$options,"components",t))?je(s,n,e,r,t):new Ln(t,n,r,void 0,void 0,e)}else i=je(t,n,e,r);return i?(a&&Ue(i,a),i):Un()}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 Je(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 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 We(e){return F(this.$options,"filters",e,!0)||vn}function He(e,t,n){var r=mn.keyCodes[t]||n;return Array.isArray(r)?r.indexOf(e)===-1:r!==e}function Ge(e,t,n,r){if(n)if(d(n)){Array.isArray(n)&&(n=h(n));for(var o in n)if("class"===o||"style"===o)e[o]=n[o];else{var i=e.attrs&&e.attrs.type,a=r||mn.mustUseProp(t,i,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={});a[o]=n[o]}}else;return e}function Xe(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?W(n):z(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),Ze(n,"__static__"+e,!1),n)}function Ke(e,t,n){return Ze(e,"__once__"+t+(n?"_"+n:""),!0),e}function Ze(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Qe(e[r],t+"_"+r,n);else Qe(e,t,n)}function Qe(e,t,n){e.isStati
 c=!0,e.key=t,e.isOnce=n}function Ye(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=En,e._c=function(t,n,r,o){return Ve(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Ve(e,t,n,r,o,!0)}}function et(e){var t=e.$options.provide,n=e.$options.inject;if(t&&(e._provided="function"==typeof t?t.call(e):t),n)for(var r=Array.isArray(n),o=r?n:kn?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++)for(var a=o[i],s=r?a:n[a],u=e;u;){if(u._provided&&u._provided[s]){e[a]=u._provided[s];break}u=u.$parent}}function tt(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 nt(e){var t=e.opti
 ons;if(e.super){var n=nt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=rt(e);r&&f(e.extendOptions,r),t=e.options=M(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function rt(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=ot(n[o],r[o]));return t}function ot(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 it(e){this._init(e)}function at(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 st(e){e.mixin=function(e){this.options=M(this.options,e)}}function ut(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.cons
 tructor=a,a.cid=t++,a.options=M(n.options,e),a.super=n,a.options.props&&ct(a),a.options.computed&&lt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,mn._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 ct(e){var t=e.options.props;for(var n in t)_e(e.prototype,"_props",n)}function lt(e){var t=e.options.computed;for(var n in t)Oe(e.prototype,n,t[n])}function ft(e){mn._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 dt(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 ht(e,t){for(var n in e){var r=e[n];if(r){var o=dt(r.componentOptions);o&&!t(o)&&(vt(r),e[n]=null)
 }}}function vt(e){e&&(e.componentInstance._inactive||de(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){return new t.Element(e)}function yt(e,n){return new t.Element(e+":"+n)}function _t(e){return new t.TextNode(e)}function gt(e){return new t.Comment(e)}function bt(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=mt("text");r.setAttr("value",t.text),e.insertBefore(r,n)}}function wt(e,t){if(3===t.nodeType)return void e.setAttr("value","");e.removeChild(t)}function Ct(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=mt("text");n.setAttr("value",t.text),e.appendChild(n)}}function Ot(e){return e.parentNode}function kt(e){return e.nextSibling}function xt(e){return e.type}function Et(e,t){e.parentNode.setAttr("value",t)}function St(e,t,n){e.setAttr(t,n)}function jt(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.compon
 entInstance||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 It(e){return null==e}function At(e){return null!=e}function Tt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function Nt(e,t,n){var r,o,i={};for(r=t;r<=n;++r)o=e[r].key,At(o)&&(i[o]=r);return i}function Rt(e,t){(e.data.directives||t.data.directives)&&Dt(e,t)}function Dt(e,t){var n,r,o,i=e===hr,a=t===hr,s=$t(e.data.directives,e.context),u=$t(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,Mt(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(Mt(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++)Mt(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++)Mt(l[n],"
 componentUpdated",t,e)}),!i)for(n in s)u[n]||Mt(s[n],"unbind",e,e,a)}function $t(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=yr),n[Pt(o)]=o,o.def=F(t.$options,"directives",o.name,!0);return n}function Pt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Mt(e,t,n,r,o){var i=e.def&&e.def[t];i&&i(n.elm,e,n,r,o)}function Ft(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 qt(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=Lt(a,u,r);for(var f in l)n.setStyle(f,l[f])}}function Lt(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 Vt(e,t,n,r){if(r)return void console.log("Weex do not support event in bubble phase.");if(n){var o=t,i=lr;t=function(t){null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Bt(e,null,null,i)}}lr.addEvent(e,t)}function Bt(e,t,n,r){(r||lr).removeEvent(e)}function Ut(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};lr=t.elm,G(n,r,Vt,Bt,t.context)}}function Jt(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(Cr(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.style||{},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(Cr(r),"");for(r in a)n=a[r],o.setStyle(Cr(r),n)}}function Wt(e){for(var t={},n=0;n<e.length;n++)e[n]&&f(t,e[n]);return t}function Ht(e){i
 f(e){if("object"==typeof e){var t={};return e.css!==!1&&f(t,kr(e.name||"v")),f(t,e),t}return"string"==typeof e?kr(e):void 0}}function Gt(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Ht(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,d=r.afterEnter,p=r.enterCancelled,h=r.beforeAppear,m=r.appear,y=r.afterAppear,g=r.appearCancelled,b=zn,w=zn.$vnode;w&&w.parent;)w=w.parent,b=w.context;var C=!b._isMounted||!t.isRootInsert;if(!C||m||""===m){var O=C?s:o,k=C?u:i,x=C?c:a,E=C?h||l:l,S=C&&"function"==typeof m?m:f,j=C?y||d:d,I=C?g||p:p,A=S&&(S._length||S.length)>1,T=t.context.$options.style||{},N=T[O],R=T["@TRANSITION"]&&T["@TRANSITION"][x]||{},D=Kt(n,T,O,k,x,t.context),$=Object.keys(D).length>0,P=n._enterCb=_(function(){P.cancelled?I&&I(n):j&&j(n),n._enterCb=null});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pendin
 g[t.key];if(r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),S&&S(n,P),$){t.context.$requireWeexModule("animation").transition(n.ref,{styles:D,duration:R.duration||0,delay:R.delay||0,timingFunction:R.timingFunction||"linear"},A?v:P)}else A||P()},16),E&&E(n),N)for(var M in N)n.setStyle(M,N[M]);$||A||P()}}}function Xt(e,t){function n(){function t(){n.transition(r.ref,{styles:y,duration:g.duration||0,delay:g.delay||0,timingFunction:g.timingFunction||"linear"},p?v:b)}var n=e.context.$requireWeexModule("animation");b.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),u&&u(r),m?n.transition(r.ref,{styles:m},t):t(),c&&c(r,b),y||p||b())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=Ht(e.data.transition);if(!o)return t();if(!r._leaveCb){var i=o.leaveClass,a=o.leaveToClass,s=o.leaveActiveClass,u=o.beforeLeave,c=o.leave,l=o.afterLeave,f=o.leaveCancelled,d=o.delayLeave,p=c&&(c._length||c.length)>1,h=e.context.$
 options.style||{},m=h[i],y=h[a]||h[s],g=h["@TRANSITION"]&&h["@TRANSITION"][s]||{},b=r._leaveCb=_(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),b.cancelled?f&&f(r):(t(),l&&l(r)),r._leaveCb=null});d?d(n):n()}}function Kt(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 d in c)0!==d.indexOf("transition")&&(a[d]=c[d]);return u&&f(a,u),a}function Zt(e){var 

<TRUNCATED>