From 559d04fcfb6ab36fcffe1efc623517c911795724 Mon Sep 17 00:00:00 2001 From: Zhenfei You Date: Thu, 23 Aug 2018 11:48:49 +0800 Subject: [PATCH] [jsfm] upgrade js framework to v0.27.8 (#1463) update weex-vue-framework to `2.5.16-weex.3` * export those function to ``: * closest * queryElement * queryElementAll * scrollToElement * resetLoadmore --- android/sdk/assets/weex-main-jsfm.js | 2 +- package.json | 2 +- pre-build/weex-main-jsfm.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/sdk/assets/weex-main-jsfm.js b/android/sdk/assets/weex-main-jsfm.js index a8fe4a3d92..c38e44b665 100644 --- a/android/sdk/assets/weex-main-jsfm.js +++ b/android/sdk/assets/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.27.6, Build at 2018-08-18 00:35. (Vue: 2.5.16-weex.2, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,l=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&&isFinite(t)?(0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(P(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&&ye(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe&&e in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&&y[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&&y.entries||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&p.next&&(_e(p,h,!0),"function"!=typeof p[Ce]&&S(p,Ce,$e)),v&&g&&g.name!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&&S(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(P(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&&S(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Fe=function(e,t){return{value:t,done:!!e}},Pe=Ae(Array,"Array",function(e,t){this._t=N(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,Fe(1)):Fe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),Re=re("toStringTag"),De=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=K(Ve),Le=0;Ler;)n.push(t[r++]);return lt[++ct]=function(){!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])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&&st.now?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v.addEventListener("message",pt,!1)):He=ut in f("script")?function(e){fe.appendChild(f("script"))[ut]=function(){fe.removeChild(this),ft.call(e)}}:function(e){setTimeout(E(ft,e,1),0)});var dt={set:ot,clear:it},ht=dt.set,vt=v.MutationObserver||v.WebKitMutationObserver,mt=v.process,yt=v.Promise,gt="process"==T(mt);function _t(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=x(n),this.reject=x(r)}var bt={f:function(e){return new _t(e)}},wt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},kt=v.navigator,St=kt&&kt.userAgent||"",Ot=re("species"),Ct=re("iterator"),xt=!1;try{[7][Ct]().return=function(){xt=!0}}catch(e){}var Et,$t,At,jt,It,Mt=dt.set,Tt=function(){var n,r,o,e=function(){var e,t;for(gt&&(e=mt.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?o():r=void 0,e}}r=void 0,e&&e.enter()};if(gt)o=function(){mt.nextTick(e)};else if(!vt||v.navigator&&v.navigator.standalone)if(yt&&yt.resolve){var t=yt.resolve(void 0);o=function(){t.then(e)}}else o=function(){ht.call(v,e)};else{var i=!0,a=document.createTextNode("");new vt(e).observe(a,{characterData:!0}),o=function(){a.data=i=!i}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,o()),r=t}}(),Ft="Promise",Pt=v.TypeError,Nt=v.process,Rt=Nt&&Nt.versions,Dt=Rt&&Rt.v8||"",Vt=v[Ft],Jt="process"==ae(Nt),Lt=function(){},Wt=$t=bt.f,qt=!!function(){try{var e=Vt.resolve(1),t=(e.constructor={})[re("species")]=function(e){e(Lt,Lt)};return(Jt||"function"==typeof PromiseRejectionEvent)&&e.then(Lt)instanceof t&&0!==Dt.indexOf("6.6")&&-1===St.indexOf("Chrome/66")}catch(e){}}(),Ut=function(e){var t;return!(!o(e)||"function"!=typeof(t=e.then))&&t},Bt=function(u,n){if(!u._n){u._n=!0;var r=u._c;Tt(function(){for(var c=u._v,l=1==u._s,e=0,t=function(e){var t,n,r,o=l?e.ok:e.fail,i=e.resolve,a=e.reject,s=e.domain;try{o?(l||(2==u._h&&Xt(u),u._h=1),!0===o?t=c:(s&&s.enter(),t=o(c),s&&(s.exit(),r=!0)),t===e.promise?a(Pt("Promise-chain cycle")):(n=Ut(t))?n.call(t,i,a):i(t)):a(c)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);u._c=[],u._n=!1,n&&!u._h&&zt(u)})}},zt=function(i){Mt.call(v,function(){var e,t,n,r=i._v,o=Ht(i);if(o&&(e=wt(function(){Jt?Nt.emit("unhandledRejection",r,i):(t=v.onunhandledrejection)?t({promise:i,reason:r}):(n=v.console)&&n.error&&n.error("Unhandled promise rejection",r)}),i._h=Jt||Ht(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},Ht=function(e){return 1!==e._h&&0===(e._a||e._c).length},Xt=function(t){Mt.call(v,function(){var e;Jt?Nt.emit("rejectionHandled",t):(e=v.onrejectionhandled)&&e({promise:t,reason:t._v})})},Gt=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()),Bt(t,!0))},Kt=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Pt("Promise can't be resolved itself");(n=Ut(e))?Tt(function(){var t={_w:r,_d:!1};try{n.call(e,E(Kt,t,1),E(Gt,t,1))}catch(e){Gt.call(t,e)}}):(r._v=e,r._s=1,Bt(r,!1))}catch(e){Gt.call({_w:r,_d:!1},e)}}};qt||(Vt=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,Vt,Ft,"_h"),x(e),Et.call(this);try{e(E(Kt,this,1),E(Gt,this,1))}catch(e){Gt.call(this,e)}},(Et=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)C(e,r,t[r],n);return e}(Vt.prototype,{then:function(e,t){var n,r,o,i=Wt((n=Vt,void 0===(o=y(this).constructor)||null==(r=y(o)[nt])?n:x(r)));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Jt?Nt.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&Bt(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),At=function(){var e=new Et;this.promise=e,this.resolve=E(Kt,e,1),this.reject=E(Gt,e,1)},bt.f=Wt=function(e){return e===Vt||e===jt?new At(e):$t(e)}),I(I.G+I.W+I.F*!qt,{Promise:Vt}),_e(Vt,Ft),It=v[Ft],a&&It&&!It[Ot]&&h.f(It,Ot,{configurable:!0,get:function(){return this}}),jt=m[Ft],I(I.S+I.F*!qt,Ft,{reject:function(e){var t=Wt(this);return(0,t.reject)(e),t.promise}}),I(I.S+I.F*!qt,Ft,{resolve:function(e){return function(e,t){if(y(e),o(t)&&t.constructor===e)return t;var n=bt.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),I(I.S+I.F*!(qt&&function(e,t){if(!t&&!xt)return!1;var n=!1;try{var r=[7],o=r[Ct]();o.next=function(){return{done:n=!0}},r[Ct]=function(){return o},e(r)}catch(e){}return n}(function(e){Vt.all(e).catch(Lt)})),Ft,{all:function(e){var a=this,t=Wt(a),s=t.resolve,c=t.reject,n=wt(function(){var r=[],o=0,i=1;tt(e,!1,function(e){var t=o++,n=!1;r.push(void 0),i++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--i||s(r))},c)}),--i||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=Wt(t),r=n.reject,o=wt(function(){tt(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Zt=["off","error","warn","info","log","debug"],Yt={};global.console;function Qt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Yt[t]&&Yt[t][e]}function en(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}global.setTimeout;var tn=global.setTimeoutNative;function nn(t,n,r){if(t.hasOwnProperty(n)){var e=t[n];Object.defineProperty(t,n,{get:function(){return e},set:function(e){if(this===t)throw Error("Cannot assign to read only property "+n+" of "+r);return Object.defineProperty(this,n,{value:e,writable:!0}),e}})}}!function(){if(void 0===setTimeout&&"function"==typeof tn){var n={},r=0;global.setTimeout=function(e,t){n[++r]=e,tn(r.toString(),t)},global.setTimeoutCallback=function(e){"function"==typeof n[e]&&(n[e](),delete n[e])}}}(),function(){if(Zt.forEach(function(n){var r=Zt.indexOf(n);Yt[n]={},Zt.forEach(function(e){var t=Zt.indexOf(e);t<=r&&(Yt[n][e]=!0)})}),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&global.nativeLog.apply(global,en(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&global.nativeLog.apply(global,en(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&global.nativeLog.apply(global,en(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&global.nativeLog.apply(global,en(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&global.nativeLog.apply(global,en(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&console.__ori__.error.apply(console,e)}}}();var rn={framework:"0.27.6",transformer:">=0.1.5 <0.5"};function on(e,t,n){return t+"@"+n+"#"+e}var an=function(e){this.instanceId=String(e),this.lastCallbackId=0,this.callbacks={},this.hooks={}};an.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},an.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},an.prototype.registerHook=function(e,t,n,r){var o=on(e,t,n);this.hooks[o]&&console.warn('[JS Framework] Override an existing component hook "'+o+'".'),this.hooks[o]=r},an.prototype.triggerHook=function(e,t,n,r){var o=on(e,t,n),i=this.hooks[o];if("function"!=typeof i)return console.error("[JS Framework] Invalid hook function type ("+typeof i+') on "'+o+'".'),null;var a=null;try{a=i.apply(null,r||[])}catch(e){console.error('[JS Framework] Failed to execute the hook function on "'+o+'".')}return a},an.prototype.consume=function(e,t,n){var r=this.callbacks[e];if(void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r)try{return r.call(null,t)}catch(e){console.error("[JS Framework] Failed to execute the callback function:\n + "+e.toString())}return new Error('invalid callback id "'+e+'"')},an.prototype.close=function(){this.callbacks={},this.hooks={}};var sn=1;function cn(){return(sn++).toString()}function ln(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function un(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 fn(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var pn={};function dn(e){return pn[e]}function hn(e){var t=pn[e];return t&&t.taskCenter?t.taskCenter:null}function vn(e,t,n){var r=e.documentElement;if(!(0"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e}(On);Sn=$n;var An=function(){},jn=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new an(e)}),An=t||function(){}};function In(e,t){var n=dn(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return function(e,t,n,r){return e.taskCenter.callback(t,n,r)}.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return function(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}.apply(void 0,[n].concat(e.args));case"componentHook":return function(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}jn.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},jn.prototype.registerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).registerHook.apply(e,t)},jn.prototype.triggerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).triggerHook.apply(e,t)},jn.prototype.updateData=function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},jn.prototype.destroyCallback=function(){return this.callbackManager.close()},jn.prototype.normalize=function(e,t){var n=this;void 0===t&&(t=!1);var r=ln(e);if(e&&e instanceof $n)return e.ref;if(e&&e._isVue&&e.$el instanceof $n)return e.$el.ref;if("Function"===r)return this.callbackManager.add(e).toString();if(t){if("Object"===r){var o={};for(var i in e)o[i]=n.normalize(e[i],!0);return o}if("Array"===r)return e.map(function(e){return n.normalize(e,!0)})}return e&&e.ref&&e["[[VirtualElement]]"]?e.ref:function(e){var t=ln(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:un(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:un(e.buffer)};default:return JSON.stringify(e)}}(e)},jn.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,c=t.module,l=t.method;switch(n=n.map(function(e){return o.normalize(e)}),"Object"===ln(r)&&(r=this.normalize(r,!0)),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,l,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,c,l,n,r)}},jn.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},jn.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},jn.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Mn={};function Tn(e){var t=function(t){Mn[t]||(Mn[t]={}),e[t].forEach(function(e){"string"==typeof e?Mn[t][e]=!0:Mn[t][e.name]=e.args})};for(var n in e)t(n)}function Fn(e,t){return"string"==typeof t?!(!Mn[e]||!Mn[e][t]):!!Mn[e]}var Pn={};function Nn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Pn[e]=!0:"object"==typeof e&&"string"==typeof e.type&&function(o,e){if(e&&e.length){var t=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Sn);e.forEach(function(r){t.prototype[r]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=hn(this.docId);if(n)return n.send("component",{ref:this.ref,component:o,method:r},e)}}),Cn[o]=t}}((Pn[e.type]=e).type,e.methods))})}function Rn(e){return!!Pn[e]}var Dn=[];function Vn(e,t){Ln(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Dn.push({name:e,options:t}))}function Jn(n){Dn.some(function(e,t){if(e.name===n)return Dn.splice(t,1),!0})}function Ln(e){return t=e,0<=Dn.map(function(e){return e.name}).indexOf(t);var t}var Wn=function(t){function e(e){t.call(this),this.nodeType=8,this.nodeId=cn(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},e}(On);function qn(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var Un=function(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")};Un.prototype.createFinish=function(e){return(0,this.handler)([qn("createFinish")],e)},Un.prototype.updateFinish=function(e){return(0,this.handler)([qn("updateFinish")],e)},Un.prototype.refreshFinish=function(e){return(0,this.handler)([qn("refreshFinish")],e)},Un.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[qn("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return qn("addElement",[t.ref,e,-1])})),this.addActions(r)},Un.prototype.addElement=function(e,t,n){return 0<=n||(n=-1),this.addActions(qn("addElement",[t,e.toJSON(),n]))},Un.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return qn("removeElement",[e])});return this.addActions(t)}return this.addActions(qn("removeElement",[e]))},Un.prototype.moveElement=function(e,t,n){return this.addActions(qn("moveElement",[e,t,n]))},Un.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateAttrs",[e,r]))},Un.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateStyle",[e,r]))},Un.prototype.setStyles=function(e,t){return this.addActions(qn("updateStyle",[e,t]))},Un.prototype.addEvent=function(e,t){return this.addActions(qn("addEvent",[e,t]))},Un.prototype.removeEvent=function(e,t){return this.addActions(qn("removeEvent",[e,t]))},Un.prototype.handler=function(e,t){return t&&t()},Un.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var Bn={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function zn(e,t,n){var r,o=t.module,i=t.method,a=t.args;return r=i,"dom"===o&&Bn[r]&&"function"==typeof global[Bn[r]]?global[Bn[i]].apply(global,[e].concat(a,["-1"])):n(e,[t],"-1")}var Hn=function e(t,n,r){var o,i;t=t?t.toString():"",this.id=t,this.URL=n,i=this,(o=t)&&(pn[o]=i),this.nodeMap={};var a,s,c=e.Listener||Un;this.listener=new c(t,r||(a=t,"function"!=typeof(s=e.handler||global.callNative)&&console.error("[JS Runtime] no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var t=0;te.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);St||(St=!0,Xe(xt))}}(this)},$t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||b(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ne(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},$t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},$t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},$t.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var At={enumerable:!0,configurable:!0,get:R,set:R};function jt(e,t,n){At.get=function(){return this[t][n]},At.set=function(e){this[t][n]=e},Object.defineProperty(e,n,At)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var o=n.$options.propsData||{},i=n._props={},a=n.$options._propKeys=[];n.$parent&&me(!1);var e=function(e){a.push(e);var t=Me(e,r,o,n);we(i,e,t),e in n||jt(n,"_props",e)};for(var t in r)e(t);me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?R:y(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Mt(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&f(r,i)||(void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&jt(e,"_data",i))}var a;be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=K();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new $t(e,a||R,R,Tt)),o in e||Ft(e,o,i)}}(e,t.computed),t.watch&&t.watch!==X&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;oparseInt(this.max)&&Nn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Rn=In,Vn={get:function(){return T}},Object.defineProperty(Rn,"config",Vn),Rn.util={warn:te,extend:N,mergeOptions:je,defineReactive:we},Rn.set=ke,Rn.delete=Se,Rn.nextTick=Xe,Rn.options=Object.create(null),x.forEach(function(e){Rn.options[e+"s"]=Object.create(null)}),N((Rn.options._base=Rn).options.components,Ln),Rn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),Cr(no,"$remove",function(e){console.warn('[JS Framework] "Array.prototype.$remove" is not a standard API, it will be removed in the next version.'),this.length&&("number"!=typeof e&&(e=this.indexOf(e)),-1)?=?)";var O=n++;t[O]=t[s]+"|x|X|\\*";var C=n++;t[C]=t[a]+"|x|X|\\*";var x=n++;t[x]="[v=\\s]*("+t[C]+")(?:\\.("+t[C]+")(?:\\.("+t[C]+")(?:"+t[v]+")?"+t[g]+"?)?)?";var E=n++;t[E]="[v=\\s]*("+t[O]+")(?:\\.("+t[O]+")(?:\\.("+t[O]+")(?:"+t[m]+")?"+t[g]+"?)?)?";var $=n++;t[$]="^"+t[S]+"\\s*"+t[x]+"$";var A=n++;t[A]="^"+t[S]+"\\s*"+t[E]+"$";var j=n++;t[j]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var I=n++;t[I]="(?:~>?)";var M=n++;t[M]="(\\s*)"+t[I]+"\\s+",l[M]=new RegExp(t[M],"g");var T=n++;t[T]="^"+t[I]+t[x]+"$";var F=n++;t[F]="^"+t[I]+t[E]+"$";var P=n++;t[P]="(?:\\^)";var N=n++;t[N]="(\\s*)"+t[P]+"\\s+",l[N]=new RegExp(t[N],"g");var R=n++;t[R]="^"+t[P]+t[x]+"$";var D=n++;t[D]="^"+t[P]+t[E]+"$";var V=n++;t[V]="^"+t[S]+"\\s*("+w+")$|^$";var J=n++;t[J]="^"+t[S]+"\\s*("+b+")$|^$";var L=n++;t[L]="(\\s*)"+t[S]+"\\s*("+w+"|"+t[x]+")",l[L]=new RegExp(t[L],"g");var W=n++;t[W]="^\\s*("+t[x]+")\\s+-\\s+("+t[x]+")\\s*$";var q=n++;t[q]="^\\s*("+t[E]+")\\s+-\\s+("+t[E]+")\\s*$";var U=n++;t[U]="(<|>)?=?\\s*\\*";for(var B=0;B<35;B++)f(B,t[B]),l[B]||(l[B]=new RegExp(t[B]));function z(e,t){if(e instanceof H)return e;if("string"!=typeof e)return null;if(e.length>o)return null;if(!(t?l[k]:l[_]).test(e))return null;try{return new H(e,t)}catch(e){return null}}function H(e,t){if(e instanceof H){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof H))return new H(e,t);f("SemVer",e,t),this.loose=t;var n=e.trim().match(t?l[k]:l[_]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(0<=t&&t":o=Z(e,n,r);break;case">=":o=te(e,n,r);break;case"<":o=Y(e,n,r);break;case"<=":o=ne(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function oe(e,t){if(e instanceof oe){if(e.loose===t)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);f("comparator",e,t),this.loose=t,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}r.rcompareIdentifiers=function(e,t){return G(t,e)},r.major=function(e,t){return new H(e,t).major},r.minor=function(e,t){return new H(e,t).minor},r.patch=function(e,t){return new H(e,t).patch},r.compare=K,r.compareLoose=function(e,t){return K(e,t,!0)},r.rcompare=function(e,t,n){return K(t,e,n)},r.sort=function(e,n){return e.sort(function(e,t){return r.compare(e,t,n)})},r.rsort=function(e,n){return e.sort(function(e,t){return r.rcompare(e,t,n)})},r.gt=Z,r.lt=Y,r.eq=Q,r.neq=ee,r.gte=te,r.lte=ne,r.cmp=re,r.Comparator=oe;var ie={};function ae(e,t){if(e instanceof ae)return e.loose===t?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,l,u,f,p){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(l)?"<"+(+c+1)+".0.0":se(u)?"<"+c+"."+(+l+1)+".0":f?"<="+c+"."+l+"."+u+"-"+f:"<="+s)).trim()}function le(e,t){for(var n=0;n":o=Z,i=ne,a=Y,s=">",c=">=";break;case"<":o=Y,i=te,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ue(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)}),f.operator===s||f.operator===c)return!1;if((!p.operator||p.operator===s)&&i(e,p.semver))return!1;if(p.operator===c&&a(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.loose?l[V]:l[J],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new H(n[2],this.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return f("Comparator.test",e,this.loose),this.semver===ie||("string"==typeof e&&(e=new H(e,this.loose)),re(e,this.operator,this.semver,this.loose))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new ae(e.value,t),ue(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),ue(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},(r.Range=ae).prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var c=this.loose;e=e.trim(),f("range",e,c);var t=c?l[q]:l[W];e=e.replace(t,ce),f("hyphen replace",e),e=e.replace(l[L],"$1$2$3"),f("comparator trim",e,l[L]),e=(e=(e=e.replace(l[M],"$1~")).replace(l[N],"$1^")).split(/\s+/).join(" ");var n=c?l[V]:l[J],r=e.split(" ").map(function(e){return n=c,f("comp",t=e),a=n,t=t.trim().split(/\s+/).map(function(e){return function(a,e){f("caret",a,e);var t=e?l[D]:l[R];return a.replace(t,function(e,t,n,r,o){var i;return f("caret",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i="0"===t?">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":">="+t+"."+n+".0 <"+(+t+1)+".0.0":o?(f("replaceCaret pr",o),"-"!==o.charAt(0)&&(o="-"+o),i="0"===t?"0"===n?">="+t+"."+n+"."+r+o+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+o+" <"+(+t+1)+".0.0"):(f("no pr"),i="0"===t?"0"===n?">="+t+"."+n+"."+r+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+" <"+(+t+1)+".0.0"),f("caret return",i),i})}(e,a)}).join(" "),f("caret",t),s=n,t=t.trim().split(/\s+/).map(function(e){return a=e,t=s?l[F]:l[T],a.replace(t,function(e,t,n,r,o){var i;return f("tilde",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i=">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":o?(f("replaceTilde pr",o),"-"!==o.charAt(0)&&(o="-"+o),i=">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0"):i=">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0",f("tilde return",i),i});var a,t}).join(" "),f("tildes",t),f("replaceXRanges",o=t,i=n),t=o.split(/\s+/).map(function(e){return function(u,e){u=u.trim();var t=e?l[A]:l[$];return u.replace(t,function(e,t,n,r,o,i){f("xRange",u,e,t,n,r,o,i);var a=se(n),s=a||se(r),c=s||se(o),l=c;return"="===t&&l&&(t=""),a?e=">"===t||"<"===t?"<0.0.0":"*":t&&l?(s&&(r=0),c&&(o=0),">"===t?(t=">=",s?(n=+n+1,o=r=0):c&&(r=+r+1,o=0)):"<="===t&&(t="<",s?n=+n+1:r=+r+1),e=t+n+"."+r+"."+o):s?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"),f("xRange return",e),e})}(e,i)}).join(" "),f("xrange",t),f("replaceStars",r=t,n),t=r.trim().replace(l[U],""),f("stars",t),t;var t,n,r,o,i,s,a}).join(" ").split(/\s+/);return this.loose&&(r=r.filter(function(e){return!!e.match(n)})),r=r.map(function(e){return new oe(e,c)})},ae.prototype.intersects=function(n,r){if(!(n instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(t){return n.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})},r.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new H(e,this.loose));for(var t=0;t",n)},r.outside=fe,r.prerelease=function(e,t){var n=z(e,t);return n&&n.prerelease.length?n.prerelease:null},r.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},r.coerce=function(e){if(e instanceof H)return e;if("string"!=typeof e)return null;var t=e.match(l[j]);if(null==t)return null;return z((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}});Go.SEMVER_SPEC_VERSION,Go.re,Go.src,Go.parse,Go.valid,Go.clean,Go.SemVer,Go.inc,Go.diff,Go.compareIdentifiers,Go.rcompareIdentifiers,Go.major,Go.minor,Go.patch,Go.compare,Go.compareLoose,Go.rcompare,Go.sort,Go.rsort,Go.gt,Go.lt,Go.eq,Go.neq,Go.gte,Go.lte,Go.cmp,Go.Comparator,Go.Range,Go.toComparators,Go.satisfies,Go.maxSatisfying,Go.minSatisfying,Go.validRange,Go.ltr,Go.gtr,Go.outside,Go.prerelease,Go.intersects,Go.coerce;function Ko(e){if(Go.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 Zo(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r}function Yo(e,t,n,r){var o;if(console.debug("[JS Framework] bootstrap for "+t),qr(t))o=Hr(t);else{if(!zr(t))return new Error("Wrong component name: "+t);if(!Ho(e,o=Xr(t)))return new Error("It's not a component: "+t)}if("string"==typeof(n=Tr(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Go.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=function(e,t){t=Tr(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if("function"===Dr(e)){var r=e.call(this,t,{semver:Go,normalizeVersion:Ko});n=(r=!!r)?Zo("custom","","custom params"):n}else{var o=(e=Tr(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),c=t[i],l=0<=s.indexOf("version"),u=0<=s.indexOf("devicemodel"),f=o[i];if(f&&l){var p=Ko(f),d=Ko(t[i]);if(Go.satisfies(d,p)){n=Zo(a,c,f);break}}else if(u&&0<=("array"===Dr(f)?f:[f]).indexOf(c)){n=Zo(a,c,f);break}}}return n}(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&&function(e,t){if(void 0===t&&(t={}),e&&e.callTasks)e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}(e,n.viewport),e.vm=new Uo(o,null,{_app:e},null,r)}var Qo=function(o,e){for(var t,n,r,i=[],a=arguments.length-2;0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(P(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&&ye(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe&&e in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&&y[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&&y.entries||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&p.next&&(_e(p,h,!0),"function"!=typeof p[Ce]&&S(p,Ce,$e)),v&&g&&g.name!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&&S(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(P(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&&S(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Fe=function(e,t){return{value:t,done:!!e}},Pe=Ae(Array,"Array",function(e,t){this._t=N(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,Fe(1)):Fe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),Re=re("toStringTag"),De=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Le=K(Ve),Je=0;Jer;)n.push(t[r++]);return lt[++ct]=function(){!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])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&&st.now?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v.addEventListener("message",pt,!1)):He=ut in f("script")?function(e){fe.appendChild(f("script"))[ut]=function(){fe.removeChild(this),ft.call(e)}}:function(e){setTimeout(E(ft,e,1),0)});var dt={set:ot,clear:it},ht=dt.set,vt=v.MutationObserver||v.WebKitMutationObserver,mt=v.process,yt=v.Promise,gt="process"==T(mt);function _t(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=x(n),this.reject=x(r)}var bt={f:function(e){return new _t(e)}},wt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},kt=v.navigator,St=kt&&kt.userAgent||"",Ot=re("species"),Ct=re("iterator"),xt=!1;try{[7][Ct]().return=function(){xt=!0}}catch(e){}var Et,$t,At,jt,It,Mt=dt.set,Tt=function(){var n,r,o,e=function(){var e,t;for(gt&&(e=mt.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?o():r=void 0,e}}r=void 0,e&&e.enter()};if(gt)o=function(){mt.nextTick(e)};else if(!vt||v.navigator&&v.navigator.standalone)if(yt&&yt.resolve){var t=yt.resolve(void 0);o=function(){t.then(e)}}else o=function(){ht.call(v,e)};else{var i=!0,a=document.createTextNode("");new vt(e).observe(a,{characterData:!0}),o=function(){a.data=i=!i}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,o()),r=t}}(),Ft="Promise",Pt=v.TypeError,Nt=v.process,Rt=Nt&&Nt.versions,Dt=Rt&&Rt.v8||"",Vt=v[Ft],Lt="process"==ae(Nt),Jt=function(){},Wt=$t=bt.f,qt=!!function(){try{var e=Vt.resolve(1),t=(e.constructor={})[re("species")]=function(e){e(Jt,Jt)};return(Lt||"function"==typeof PromiseRejectionEvent)&&e.then(Jt)instanceof t&&0!==Dt.indexOf("6.6")&&-1===St.indexOf("Chrome/66")}catch(e){}}(),Ut=function(e){var t;return!(!o(e)||"function"!=typeof(t=e.then))&&t},Bt=function(u,n){if(!u._n){u._n=!0;var r=u._c;Tt(function(){for(var c=u._v,l=1==u._s,e=0,t=function(e){var t,n,r,o=l?e.ok:e.fail,i=e.resolve,a=e.reject,s=e.domain;try{o?(l||(2==u._h&&Xt(u),u._h=1),!0===o?t=c:(s&&s.enter(),t=o(c),s&&(s.exit(),r=!0)),t===e.promise?a(Pt("Promise-chain cycle")):(n=Ut(t))?n.call(t,i,a):i(t)):a(c)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);u._c=[],u._n=!1,n&&!u._h&&zt(u)})}},zt=function(i){Mt.call(v,function(){var e,t,n,r=i._v,o=Ht(i);if(o&&(e=wt(function(){Lt?Nt.emit("unhandledRejection",r,i):(t=v.onunhandledrejection)?t({promise:i,reason:r}):(n=v.console)&&n.error&&n.error("Unhandled promise rejection",r)}),i._h=Lt||Ht(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},Ht=function(e){return 1!==e._h&&0===(e._a||e._c).length},Xt=function(t){Mt.call(v,function(){var e;Lt?Nt.emit("rejectionHandled",t):(e=v.onrejectionhandled)&&e({promise:t,reason:t._v})})},Gt=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()),Bt(t,!0))},Kt=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Pt("Promise can't be resolved itself");(n=Ut(e))?Tt(function(){var t={_w:r,_d:!1};try{n.call(e,E(Kt,t,1),E(Gt,t,1))}catch(e){Gt.call(t,e)}}):(r._v=e,r._s=1,Bt(r,!1))}catch(e){Gt.call({_w:r,_d:!1},e)}}};qt||(Vt=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,Vt,Ft,"_h"),x(e),Et.call(this);try{e(E(Kt,this,1),E(Gt,this,1))}catch(e){Gt.call(this,e)}},(Et=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)C(e,r,t[r],n);return e}(Vt.prototype,{then:function(e,t){var n,r,o,i=Wt((n=Vt,void 0===(o=y(this).constructor)||null==(r=y(o)[nt])?n:x(r)));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Lt?Nt.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&Bt(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),At=function(){var e=new Et;this.promise=e,this.resolve=E(Kt,e,1),this.reject=E(Gt,e,1)},bt.f=Wt=function(e){return e===Vt||e===jt?new At(e):$t(e)}),I(I.G+I.W+I.F*!qt,{Promise:Vt}),_e(Vt,Ft),It=v[Ft],a&&It&&!It[Ot]&&h.f(It,Ot,{configurable:!0,get:function(){return this}}),jt=m[Ft],I(I.S+I.F*!qt,Ft,{reject:function(e){var t=Wt(this);return(0,t.reject)(e),t.promise}}),I(I.S+I.F*!qt,Ft,{resolve:function(e){return function(e,t){if(y(e),o(t)&&t.constructor===e)return t;var n=bt.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),I(I.S+I.F*!(qt&&function(e,t){if(!t&&!xt)return!1;var n=!1;try{var r=[7],o=r[Ct]();o.next=function(){return{done:n=!0}},r[Ct]=function(){return o},e(r)}catch(e){}return n}(function(e){Vt.all(e).catch(Jt)})),Ft,{all:function(e){var a=this,t=Wt(a),s=t.resolve,c=t.reject,n=wt(function(){var r=[],o=0,i=1;tt(e,!1,function(e){var t=o++,n=!1;r.push(void 0),i++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--i||s(r))},c)}),--i||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=Wt(t),r=n.reject,o=wt(function(){tt(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Zt=["off","error","warn","info","log","debug"],Yt={};global.console;function Qt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Yt[t]&&Yt[t][e]}function en(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}global.setTimeout;var tn=global.setTimeoutNative;function nn(t,n,r){if(t.hasOwnProperty(n)){var e=t[n];Object.defineProperty(t,n,{get:function(){return e},set:function(e){if(this===t)throw Error("Cannot assign to read only property "+n+" of "+r);return Object.defineProperty(this,n,{value:e,writable:!0}),e}})}}!function(){if(void 0===setTimeout&&"function"==typeof tn){var n={},r=0;global.setTimeout=function(e,t){n[++r]=e,tn(r.toString(),t)},global.setTimeoutCallback=function(e){"function"==typeof n[e]&&(n[e](),delete n[e])}}}(),function(){if(Zt.forEach(function(n){var r=Zt.indexOf(n);Yt[n]={},Zt.forEach(function(e){var t=Zt.indexOf(e);t<=r&&(Yt[n][e]=!0)})}),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&global.nativeLog.apply(global,en(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&global.nativeLog.apply(global,en(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&global.nativeLog.apply(global,en(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&global.nativeLog.apply(global,en(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&global.nativeLog.apply(global,en(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&console.__ori__.error.apply(console,e)}}}();var rn={framework:"0.27.8",transformer:">=0.1.5 <0.5"};function on(e,t,n){return t+"@"+n+"#"+e}var an=function(e){this.instanceId=String(e),this.lastCallbackId=0,this.callbacks={},this.hooks={}};an.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},an.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},an.prototype.registerHook=function(e,t,n,r){var o=on(e,t,n);this.hooks[o]&&console.warn('[JS Framework] Override an existing component hook "'+o+'".'),this.hooks[o]=r},an.prototype.triggerHook=function(e,t,n,r){var o=on(e,t,n),i=this.hooks[o];if("function"!=typeof i)return console.error("[JS Framework] Invalid hook function type ("+typeof i+') on "'+o+'".'),null;var a=null;try{a=i.apply(null,r||[])}catch(e){console.error('[JS Framework] Failed to execute the hook function on "'+o+'".')}return a},an.prototype.consume=function(e,t,n){var r=this.callbacks[e];if(void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r)try{return r.call(null,t)}catch(e){console.error("[JS Framework] Failed to execute the callback function:\n + "+e.toString())}return new Error('invalid callback id "'+e+'"')},an.prototype.close=function(){this.callbacks={},this.hooks={}};var sn=1;function cn(){return(sn++).toString()}function ln(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function un(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 fn(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var pn={};function dn(e){return pn[e]}function hn(e){var t=pn[e];return t&&t.taskCenter?t.taskCenter:null}function vn(e,t,n){var r=e.documentElement;if(!(0"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e}(On);Sn=$n;var An=function(){},jn=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new an(e)}),An=t||function(){}};function In(e,t){var n=dn(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return function(e,t,n,r){return e.taskCenter.callback(t,n,r)}.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return function(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}.apply(void 0,[n].concat(e.args));case"componentHook":return function(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}jn.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},jn.prototype.registerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).registerHook.apply(e,t)},jn.prototype.triggerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).triggerHook.apply(e,t)},jn.prototype.updateData=function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},jn.prototype.destroyCallback=function(){return this.callbackManager.close()},jn.prototype.normalize=function(e,t){var n=this;void 0===t&&(t=!1);var r=ln(e);if(e&&e instanceof $n)return e.ref;if(e&&e._isVue&&e.$el instanceof $n)return e.$el.ref;if("Function"===r)return this.callbackManager.add(e).toString();if(t){if("Object"===r){var o={};for(var i in e)o[i]=n.normalize(e[i],!0);return o}if("Array"===r)return e.map(function(e){return n.normalize(e,!0)})}return e&&e.ref&&e["[[VirtualElement]]"]?e.ref:function(e){var t=ln(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:un(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:un(e.buffer)};default:return JSON.stringify(e)}}(e)},jn.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,c=t.module,l=t.method;switch(n=n.map(function(e){return o.normalize(e)}),"Object"===ln(r)&&(r=this.normalize(r,!0)),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,l,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,c,l,n,r)}},jn.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},jn.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},jn.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Mn={};function Tn(e){var t=function(t){Mn[t]||(Mn[t]={}),e[t].forEach(function(e){"string"==typeof e?Mn[t][e]=!0:Mn[t][e.name]=e.args})};for(var n in e)t(n)}function Fn(e,t){return"string"==typeof t?!(!Mn[e]||!Mn[e][t]):!!Mn[e]}var Pn={};function Nn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Pn[e]=!0:"object"==typeof e&&"string"==typeof e.type&&function(o,e){if(e&&e.length){var t=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Sn);e.forEach(function(r){t.prototype[r]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=hn(this.docId);if(n)return n.send("component",{ref:this.ref,component:o,method:r},e)}}),Cn[o]=t}}((Pn[e.type]=e).type,e.methods))})}function Rn(e){return!!Pn[e]}var Dn=[];function Vn(e,t){Jn(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Dn.push({name:e,options:t}))}function Ln(n){Dn.some(function(e,t){if(e.name===n)return Dn.splice(t,1),!0})}function Jn(e){return t=e,0<=Dn.map(function(e){return e.name}).indexOf(t);var t}var Wn=function(t){function e(e){t.call(this),this.nodeType=8,this.nodeId=cn(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},e}(On);function qn(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var Un=function(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")};Un.prototype.createFinish=function(e){return(0,this.handler)([qn("createFinish")],e)},Un.prototype.updateFinish=function(e){return(0,this.handler)([qn("updateFinish")],e)},Un.prototype.refreshFinish=function(e){return(0,this.handler)([qn("refreshFinish")],e)},Un.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[qn("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return qn("addElement",[t.ref,e,-1])})),this.addActions(r)},Un.prototype.addElement=function(e,t,n){return 0<=n||(n=-1),this.addActions(qn("addElement",[t,e.toJSON(),n]))},Un.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return qn("removeElement",[e])});return this.addActions(t)}return this.addActions(qn("removeElement",[e]))},Un.prototype.moveElement=function(e,t,n){return this.addActions(qn("moveElement",[e,t,n]))},Un.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateAttrs",[e,r]))},Un.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateStyle",[e,r]))},Un.prototype.setStyles=function(e,t){return this.addActions(qn("updateStyle",[e,t]))},Un.prototype.addEvent=function(e,t){return this.addActions(qn("addEvent",[e,t]))},Un.prototype.removeEvent=function(e,t){return this.addActions(qn("removeEvent",[e,t]))},Un.prototype.handler=function(e,t){return t&&t()},Un.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var Bn={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function zn(e,t,n){var r,o=t.module,i=t.method,a=t.args;return r=i,"dom"===o&&Bn[r]&&"function"==typeof global[Bn[r]]?global[Bn[i]].apply(global,[e].concat(a,["-1"])):n(e,[t],"-1")}var Hn=function e(t,n,r){var o,i;t=t?t.toString():"",this.id=t,this.URL=n,i=this,(o=t)&&(pn[o]=i),this.nodeMap={};var a,s,c=e.Listener||Un;this.listener=new c(t,r||(a=t,"function"!=typeof(s=e.handler||global.callNative)&&console.error("[JS Runtime] no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var t=0;te.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);St||(St=!0,Xe(xt))}}(this)},$t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||b(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ne(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},$t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},$t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},$t.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var At={enumerable:!0,configurable:!0,get:R,set:R};function jt(e,t,n){At.get=function(){return this[t][n]},At.set=function(e){this[t][n]=e},Object.defineProperty(e,n,At)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var o=n.$options.propsData||{},i=n._props={},a=n.$options._propKeys=[];n.$parent&&me(!1);var e=function(e){a.push(e);var t=Me(e,r,o,n);we(i,e,t),e in n||jt(n,"_props",e)};for(var t in r)e(t);me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?R:y(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Mt(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&f(r,i)||(void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&jt(e,"_data",i))}var a;be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=K();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new $t(e,a||R,R,Tt)),o in e||Ft(e,o,i)}}(e,t.computed),t.watch&&t.watch!==X&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;oparseInt(this.max)&&Nn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Rn=In,Vn={get:function(){return T}},Object.defineProperty(Rn,"config",Vn),Rn.util={warn:te,extend:N,mergeOptions:je,defineReactive:we},Rn.set=ke,Rn.delete=Se,Rn.nextTick=Xe,Rn.options=Object.create(null),x.forEach(function(e){Rn.options[e+"s"]=Object.create(null)}),N((Rn.options._base=Rn).options.components,Jn),Rn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),Cr(no,"$remove",function(e){console.warn('[JS Framework] "Array.prototype.$remove" is not a standard API, it will be removed in the next version.'),this.length&&("number"!=typeof e&&(e=this.indexOf(e)),-1)?=?)";var O=n++;t[O]=t[s]+"|x|X|\\*";var C=n++;t[C]=t[a]+"|x|X|\\*";var x=n++;t[x]="[v=\\s]*("+t[C]+")(?:\\.("+t[C]+")(?:\\.("+t[C]+")(?:"+t[v]+")?"+t[g]+"?)?)?";var E=n++;t[E]="[v=\\s]*("+t[O]+")(?:\\.("+t[O]+")(?:\\.("+t[O]+")(?:"+t[m]+")?"+t[g]+"?)?)?";var $=n++;t[$]="^"+t[S]+"\\s*"+t[x]+"$";var A=n++;t[A]="^"+t[S]+"\\s*"+t[E]+"$";var j=n++;t[j]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var I=n++;t[I]="(?:~>?)";var M=n++;t[M]="(\\s*)"+t[I]+"\\s+",l[M]=new RegExp(t[M],"g");var T=n++;t[T]="^"+t[I]+t[x]+"$";var F=n++;t[F]="^"+t[I]+t[E]+"$";var P=n++;t[P]="(?:\\^)";var N=n++;t[N]="(\\s*)"+t[P]+"\\s+",l[N]=new RegExp(t[N],"g");var R=n++;t[R]="^"+t[P]+t[x]+"$";var D=n++;t[D]="^"+t[P]+t[E]+"$";var V=n++;t[V]="^"+t[S]+"\\s*("+w+")$|^$";var L=n++;t[L]="^"+t[S]+"\\s*("+b+")$|^$";var J=n++;t[J]="(\\s*)"+t[S]+"\\s*("+w+"|"+t[x]+")",l[J]=new RegExp(t[J],"g");var W=n++;t[W]="^\\s*("+t[x]+")\\s+-\\s+("+t[x]+")\\s*$";var q=n++;t[q]="^\\s*("+t[E]+")\\s+-\\s+("+t[E]+")\\s*$";var U=n++;t[U]="(<|>)?=?\\s*\\*";for(var B=0;B<35;B++)f(B,t[B]),l[B]||(l[B]=new RegExp(t[B]));function z(e,t){if(e instanceof H)return e;if("string"!=typeof e)return null;if(e.length>o)return null;if(!(t?l[k]:l[_]).test(e))return null;try{return new H(e,t)}catch(e){return null}}function H(e,t){if(e instanceof H){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof H))return new H(e,t);f("SemVer",e,t),this.loose=t;var n=e.trim().match(t?l[k]:l[_]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(0<=t&&t":o=Z(e,n,r);break;case">=":o=te(e,n,r);break;case"<":o=Y(e,n,r);break;case"<=":o=ne(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function oe(e,t){if(e instanceof oe){if(e.loose===t)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);f("comparator",e,t),this.loose=t,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}r.rcompareIdentifiers=function(e,t){return G(t,e)},r.major=function(e,t){return new H(e,t).major},r.minor=function(e,t){return new H(e,t).minor},r.patch=function(e,t){return new H(e,t).patch},r.compare=K,r.compareLoose=function(e,t){return K(e,t,!0)},r.rcompare=function(e,t,n){return K(t,e,n)},r.sort=function(e,n){return e.sort(function(e,t){return r.compare(e,t,n)})},r.rsort=function(e,n){return e.sort(function(e,t){return r.rcompare(e,t,n)})},r.gt=Z,r.lt=Y,r.eq=Q,r.neq=ee,r.gte=te,r.lte=ne,r.cmp=re,r.Comparator=oe;var ie={};function ae(e,t){if(e instanceof ae)return e.loose===t?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,l,u,f,p){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(l)?"<"+(+c+1)+".0.0":se(u)?"<"+c+"."+(+l+1)+".0":f?"<="+c+"."+l+"."+u+"-"+f:"<="+s)).trim()}function le(e,t){for(var n=0;n":o=Z,i=ne,a=Y,s=">",c=">=";break;case"<":o=Y,i=te,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ue(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)}),f.operator===s||f.operator===c)return!1;if((!p.operator||p.operator===s)&&i(e,p.semver))return!1;if(p.operator===c&&a(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.loose?l[V]:l[L],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new H(n[2],this.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return f("Comparator.test",e,this.loose),this.semver===ie||("string"==typeof e&&(e=new H(e,this.loose)),re(e,this.operator,this.semver,this.loose))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new ae(e.value,t),ue(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),ue(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},(r.Range=ae).prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var c=this.loose;e=e.trim(),f("range",e,c);var t=c?l[q]:l[W];e=e.replace(t,ce),f("hyphen replace",e),e=e.replace(l[J],"$1$2$3"),f("comparator trim",e,l[J]),e=(e=(e=e.replace(l[M],"$1~")).replace(l[N],"$1^")).split(/\s+/).join(" ");var n=c?l[V]:l[L],r=e.split(" ").map(function(e){return n=c,f("comp",t=e),a=n,t=t.trim().split(/\s+/).map(function(e){return function(a,e){f("caret",a,e);var t=e?l[D]:l[R];return a.replace(t,function(e,t,n,r,o){var i;return f("caret",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i="0"===t?">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":">="+t+"."+n+".0 <"+(+t+1)+".0.0":o?(f("replaceCaret pr",o),"-"!==o.charAt(0)&&(o="-"+o),i="0"===t?"0"===n?">="+t+"."+n+"."+r+o+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+o+" <"+(+t+1)+".0.0"):(f("no pr"),i="0"===t?"0"===n?">="+t+"."+n+"."+r+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+" <"+(+t+1)+".0.0"),f("caret return",i),i})}(e,a)}).join(" "),f("caret",t),s=n,t=t.trim().split(/\s+/).map(function(e){return a=e,t=s?l[F]:l[T],a.replace(t,function(e,t,n,r,o){var i;return f("tilde",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i=">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":o?(f("replaceTilde pr",o),"-"!==o.charAt(0)&&(o="-"+o),i=">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0"):i=">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0",f("tilde return",i),i});var a,t}).join(" "),f("tildes",t),f("replaceXRanges",o=t,i=n),t=o.split(/\s+/).map(function(e){return function(u,e){u=u.trim();var t=e?l[A]:l[$];return u.replace(t,function(e,t,n,r,o,i){f("xRange",u,e,t,n,r,o,i);var a=se(n),s=a||se(r),c=s||se(o),l=c;return"="===t&&l&&(t=""),a?e=">"===t||"<"===t?"<0.0.0":"*":t&&l?(s&&(r=0),c&&(o=0),">"===t?(t=">=",s?(n=+n+1,o=r=0):c&&(r=+r+1,o=0)):"<="===t&&(t="<",s?n=+n+1:r=+r+1),e=t+n+"."+r+"."+o):s?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"),f("xRange return",e),e})}(e,i)}).join(" "),f("xrange",t),f("replaceStars",r=t,n),t=r.trim().replace(l[U],""),f("stars",t),t;var t,n,r,o,i,s,a}).join(" ").split(/\s+/);return this.loose&&(r=r.filter(function(e){return!!e.match(n)})),r=r.map(function(e){return new oe(e,c)})},ae.prototype.intersects=function(n,r){if(!(n instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(t){return n.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})},r.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new H(e,this.loose));for(var t=0;t",n)},r.outside=fe,r.prerelease=function(e,t){var n=z(e,t);return n&&n.prerelease.length?n.prerelease:null},r.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},r.coerce=function(e){if(e instanceof H)return e;if("string"!=typeof e)return null;var t=e.match(l[j]);if(null==t)return null;return z((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}});Go.SEMVER_SPEC_VERSION,Go.re,Go.src,Go.parse,Go.valid,Go.clean,Go.SemVer,Go.inc,Go.diff,Go.compareIdentifiers,Go.rcompareIdentifiers,Go.major,Go.minor,Go.patch,Go.compare,Go.compareLoose,Go.rcompare,Go.sort,Go.rsort,Go.gt,Go.lt,Go.eq,Go.neq,Go.gte,Go.lte,Go.cmp,Go.Comparator,Go.Range,Go.toComparators,Go.satisfies,Go.maxSatisfying,Go.minSatisfying,Go.validRange,Go.ltr,Go.gtr,Go.outside,Go.prerelease,Go.intersects,Go.coerce;function Ko(e){if(Go.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 Zo(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r}function Yo(e,t,n,r){var o;if(console.debug("[JS Framework] bootstrap for "+t),qr(t))o=Hr(t);else{if(!zr(t))return new Error("Wrong component name: "+t);if(!Ho(e,o=Xr(t)))return new Error("It's not a component: "+t)}if("string"==typeof(n=Tr(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Go.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=function(e,t){t=Tr(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if("function"===Dr(e)){var r=e.call(this,t,{semver:Go,normalizeVersion:Ko});n=(r=!!r)?Zo("custom","","custom params"):n}else{var o=(e=Tr(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),c=t[i],l=0<=s.indexOf("version"),u=0<=s.indexOf("devicemodel"),f=o[i];if(f&&l){var p=Ko(f),d=Ko(t[i]);if(Go.satisfies(d,p)){n=Zo(a,c,f);break}}else if(u&&0<=("array"===Dr(f)?f:[f]).indexOf(c)){n=Zo(a,c,f);break}}}return n}(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&&function(e,t){if(void 0===t&&(t={}),e&&e.callTasks)e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}(e,n.viewport),e.vm=new Uo(o,null,{_app:e},null,r)}var Qo=function(o,e){for(var t,n,r,i=[],a=arguments.length-2;0=0.1.5 <0.5" }, "description": "A framework for building Mobile cross-platform UI", diff --git a/pre-build/weex-main-jsfm.js b/pre-build/weex-main-jsfm.js index a8fe4a3d92..c38e44b665 100644 --- a/pre-build/weex-main-jsfm.js +++ b/pre-build/weex-main-jsfm.js @@ -1,2 +1,2 @@ -(this.nativeLog||function(e){console.log(e)})("Start JS Framework 0.27.6, Build at 2018-08-18 00:35. (Vue: 2.5.16-weex.2, Rax: 0.4.20)");var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";var t,c,r,l;function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}Array.from||(Array.from=(t=Object.prototype.toString,c=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},r=Math.pow(2,53)-1,l=function(e){var t,n=(t=Number(e),isNaN(t)?0:0!==t&&isFinite(t)?(0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(P(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&&ye(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe&&e in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&&y[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&&y.entries||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&p.next&&(_e(p,h,!0),"function"!=typeof p[Ce]&&S(p,Ce,$e)),v&&g&&g.name!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&&S(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(P(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&&S(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Fe=function(e,t){return{value:t,done:!!e}},Pe=Ae(Array,"Array",function(e,t){this._t=N(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,Fe(1)):Fe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),Re=re("toStringTag"),De=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Je=K(Ve),Le=0;Ler;)n.push(t[r++]);return lt[++ct]=function(){!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])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&&st.now?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v.addEventListener("message",pt,!1)):He=ut in f("script")?function(e){fe.appendChild(f("script"))[ut]=function(){fe.removeChild(this),ft.call(e)}}:function(e){setTimeout(E(ft,e,1),0)});var dt={set:ot,clear:it},ht=dt.set,vt=v.MutationObserver||v.WebKitMutationObserver,mt=v.process,yt=v.Promise,gt="process"==T(mt);function _t(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=x(n),this.reject=x(r)}var bt={f:function(e){return new _t(e)}},wt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},kt=v.navigator,St=kt&&kt.userAgent||"",Ot=re("species"),Ct=re("iterator"),xt=!1;try{[7][Ct]().return=function(){xt=!0}}catch(e){}var Et,$t,At,jt,It,Mt=dt.set,Tt=function(){var n,r,o,e=function(){var e,t;for(gt&&(e=mt.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?o():r=void 0,e}}r=void 0,e&&e.enter()};if(gt)o=function(){mt.nextTick(e)};else if(!vt||v.navigator&&v.navigator.standalone)if(yt&&yt.resolve){var t=yt.resolve(void 0);o=function(){t.then(e)}}else o=function(){ht.call(v,e)};else{var i=!0,a=document.createTextNode("");new vt(e).observe(a,{characterData:!0}),o=function(){a.data=i=!i}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,o()),r=t}}(),Ft="Promise",Pt=v.TypeError,Nt=v.process,Rt=Nt&&Nt.versions,Dt=Rt&&Rt.v8||"",Vt=v[Ft],Jt="process"==ae(Nt),Lt=function(){},Wt=$t=bt.f,qt=!!function(){try{var e=Vt.resolve(1),t=(e.constructor={})[re("species")]=function(e){e(Lt,Lt)};return(Jt||"function"==typeof PromiseRejectionEvent)&&e.then(Lt)instanceof t&&0!==Dt.indexOf("6.6")&&-1===St.indexOf("Chrome/66")}catch(e){}}(),Ut=function(e){var t;return!(!o(e)||"function"!=typeof(t=e.then))&&t},Bt=function(u,n){if(!u._n){u._n=!0;var r=u._c;Tt(function(){for(var c=u._v,l=1==u._s,e=0,t=function(e){var t,n,r,o=l?e.ok:e.fail,i=e.resolve,a=e.reject,s=e.domain;try{o?(l||(2==u._h&&Xt(u),u._h=1),!0===o?t=c:(s&&s.enter(),t=o(c),s&&(s.exit(),r=!0)),t===e.promise?a(Pt("Promise-chain cycle")):(n=Ut(t))?n.call(t,i,a):i(t)):a(c)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);u._c=[],u._n=!1,n&&!u._h&&zt(u)})}},zt=function(i){Mt.call(v,function(){var e,t,n,r=i._v,o=Ht(i);if(o&&(e=wt(function(){Jt?Nt.emit("unhandledRejection",r,i):(t=v.onunhandledrejection)?t({promise:i,reason:r}):(n=v.console)&&n.error&&n.error("Unhandled promise rejection",r)}),i._h=Jt||Ht(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},Ht=function(e){return 1!==e._h&&0===(e._a||e._c).length},Xt=function(t){Mt.call(v,function(){var e;Jt?Nt.emit("rejectionHandled",t):(e=v.onrejectionhandled)&&e({promise:t,reason:t._v})})},Gt=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()),Bt(t,!0))},Kt=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Pt("Promise can't be resolved itself");(n=Ut(e))?Tt(function(){var t={_w:r,_d:!1};try{n.call(e,E(Kt,t,1),E(Gt,t,1))}catch(e){Gt.call(t,e)}}):(r._v=e,r._s=1,Bt(r,!1))}catch(e){Gt.call({_w:r,_d:!1},e)}}};qt||(Vt=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,Vt,Ft,"_h"),x(e),Et.call(this);try{e(E(Kt,this,1),E(Gt,this,1))}catch(e){Gt.call(this,e)}},(Et=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)C(e,r,t[r],n);return e}(Vt.prototype,{then:function(e,t){var n,r,o,i=Wt((n=Vt,void 0===(o=y(this).constructor)||null==(r=y(o)[nt])?n:x(r)));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Jt?Nt.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&Bt(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),At=function(){var e=new Et;this.promise=e,this.resolve=E(Kt,e,1),this.reject=E(Gt,e,1)},bt.f=Wt=function(e){return e===Vt||e===jt?new At(e):$t(e)}),I(I.G+I.W+I.F*!qt,{Promise:Vt}),_e(Vt,Ft),It=v[Ft],a&&It&&!It[Ot]&&h.f(It,Ot,{configurable:!0,get:function(){return this}}),jt=m[Ft],I(I.S+I.F*!qt,Ft,{reject:function(e){var t=Wt(this);return(0,t.reject)(e),t.promise}}),I(I.S+I.F*!qt,Ft,{resolve:function(e){return function(e,t){if(y(e),o(t)&&t.constructor===e)return t;var n=bt.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),I(I.S+I.F*!(qt&&function(e,t){if(!t&&!xt)return!1;var n=!1;try{var r=[7],o=r[Ct]();o.next=function(){return{done:n=!0}},r[Ct]=function(){return o},e(r)}catch(e){}return n}(function(e){Vt.all(e).catch(Lt)})),Ft,{all:function(e){var a=this,t=Wt(a),s=t.resolve,c=t.reject,n=wt(function(){var r=[],o=0,i=1;tt(e,!1,function(e){var t=o++,n=!1;r.push(void 0),i++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--i||s(r))},c)}),--i||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=Wt(t),r=n.reject,o=wt(function(){tt(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Zt=["off","error","warn","info","log","debug"],Yt={};global.console;function Qt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Yt[t]&&Yt[t][e]}function en(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}global.setTimeout;var tn=global.setTimeoutNative;function nn(t,n,r){if(t.hasOwnProperty(n)){var e=t[n];Object.defineProperty(t,n,{get:function(){return e},set:function(e){if(this===t)throw Error("Cannot assign to read only property "+n+" of "+r);return Object.defineProperty(this,n,{value:e,writable:!0}),e}})}}!function(){if(void 0===setTimeout&&"function"==typeof tn){var n={},r=0;global.setTimeout=function(e,t){n[++r]=e,tn(r.toString(),t)},global.setTimeoutCallback=function(e){"function"==typeof n[e]&&(n[e](),delete n[e])}}}(),function(){if(Zt.forEach(function(n){var r=Zt.indexOf(n);Yt[n]={},Zt.forEach(function(e){var t=Zt.indexOf(e);t<=r&&(Yt[n][e]=!0)})}),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&global.nativeLog.apply(global,en(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&global.nativeLog.apply(global,en(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&global.nativeLog.apply(global,en(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&global.nativeLog.apply(global,en(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&global.nativeLog.apply(global,en(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&console.__ori__.error.apply(console,e)}}}();var rn={framework:"0.27.6",transformer:">=0.1.5 <0.5"};function on(e,t,n){return t+"@"+n+"#"+e}var an=function(e){this.instanceId=String(e),this.lastCallbackId=0,this.callbacks={},this.hooks={}};an.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},an.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},an.prototype.registerHook=function(e,t,n,r){var o=on(e,t,n);this.hooks[o]&&console.warn('[JS Framework] Override an existing component hook "'+o+'".'),this.hooks[o]=r},an.prototype.triggerHook=function(e,t,n,r){var o=on(e,t,n),i=this.hooks[o];if("function"!=typeof i)return console.error("[JS Framework] Invalid hook function type ("+typeof i+') on "'+o+'".'),null;var a=null;try{a=i.apply(null,r||[])}catch(e){console.error('[JS Framework] Failed to execute the hook function on "'+o+'".')}return a},an.prototype.consume=function(e,t,n){var r=this.callbacks[e];if(void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r)try{return r.call(null,t)}catch(e){console.error("[JS Framework] Failed to execute the callback function:\n + "+e.toString())}return new Error('invalid callback id "'+e+'"')},an.prototype.close=function(){this.callbacks={},this.hooks={}};var sn=1;function cn(){return(sn++).toString()}function ln(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function un(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 fn(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var pn={};function dn(e){return pn[e]}function hn(e){var t=pn[e];return t&&t.taskCenter?t.taskCenter:null}function vn(e,t,n){var r=e.documentElement;if(!(0"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e}(On);Sn=$n;var An=function(){},jn=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new an(e)}),An=t||function(){}};function In(e,t){var n=dn(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return function(e,t,n,r){return e.taskCenter.callback(t,n,r)}.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return function(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}.apply(void 0,[n].concat(e.args));case"componentHook":return function(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}jn.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},jn.prototype.registerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).registerHook.apply(e,t)},jn.prototype.triggerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).triggerHook.apply(e,t)},jn.prototype.updateData=function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},jn.prototype.destroyCallback=function(){return this.callbackManager.close()},jn.prototype.normalize=function(e,t){var n=this;void 0===t&&(t=!1);var r=ln(e);if(e&&e instanceof $n)return e.ref;if(e&&e._isVue&&e.$el instanceof $n)return e.$el.ref;if("Function"===r)return this.callbackManager.add(e).toString();if(t){if("Object"===r){var o={};for(var i in e)o[i]=n.normalize(e[i],!0);return o}if("Array"===r)return e.map(function(e){return n.normalize(e,!0)})}return e&&e.ref&&e["[[VirtualElement]]"]?e.ref:function(e){var t=ln(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:un(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:un(e.buffer)};default:return JSON.stringify(e)}}(e)},jn.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,c=t.module,l=t.method;switch(n=n.map(function(e){return o.normalize(e)}),"Object"===ln(r)&&(r=this.normalize(r,!0)),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,l,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,c,l,n,r)}},jn.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},jn.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},jn.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Mn={};function Tn(e){var t=function(t){Mn[t]||(Mn[t]={}),e[t].forEach(function(e){"string"==typeof e?Mn[t][e]=!0:Mn[t][e.name]=e.args})};for(var n in e)t(n)}function Fn(e,t){return"string"==typeof t?!(!Mn[e]||!Mn[e][t]):!!Mn[e]}var Pn={};function Nn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Pn[e]=!0:"object"==typeof e&&"string"==typeof e.type&&function(o,e){if(e&&e.length){var t=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Sn);e.forEach(function(r){t.prototype[r]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=hn(this.docId);if(n)return n.send("component",{ref:this.ref,component:o,method:r},e)}}),Cn[o]=t}}((Pn[e.type]=e).type,e.methods))})}function Rn(e){return!!Pn[e]}var Dn=[];function Vn(e,t){Ln(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Dn.push({name:e,options:t}))}function Jn(n){Dn.some(function(e,t){if(e.name===n)return Dn.splice(t,1),!0})}function Ln(e){return t=e,0<=Dn.map(function(e){return e.name}).indexOf(t);var t}var Wn=function(t){function e(e){t.call(this),this.nodeType=8,this.nodeId=cn(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},e}(On);function qn(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var Un=function(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")};Un.prototype.createFinish=function(e){return(0,this.handler)([qn("createFinish")],e)},Un.prototype.updateFinish=function(e){return(0,this.handler)([qn("updateFinish")],e)},Un.prototype.refreshFinish=function(e){return(0,this.handler)([qn("refreshFinish")],e)},Un.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[qn("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return qn("addElement",[t.ref,e,-1])})),this.addActions(r)},Un.prototype.addElement=function(e,t,n){return 0<=n||(n=-1),this.addActions(qn("addElement",[t,e.toJSON(),n]))},Un.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return qn("removeElement",[e])});return this.addActions(t)}return this.addActions(qn("removeElement",[e]))},Un.prototype.moveElement=function(e,t,n){return this.addActions(qn("moveElement",[e,t,n]))},Un.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateAttrs",[e,r]))},Un.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateStyle",[e,r]))},Un.prototype.setStyles=function(e,t){return this.addActions(qn("updateStyle",[e,t]))},Un.prototype.addEvent=function(e,t){return this.addActions(qn("addEvent",[e,t]))},Un.prototype.removeEvent=function(e,t){return this.addActions(qn("removeEvent",[e,t]))},Un.prototype.handler=function(e,t){return t&&t()},Un.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var Bn={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function zn(e,t,n){var r,o=t.module,i=t.method,a=t.args;return r=i,"dom"===o&&Bn[r]&&"function"==typeof global[Bn[r]]?global[Bn[i]].apply(global,[e].concat(a,["-1"])):n(e,[t],"-1")}var Hn=function e(t,n,r){var o,i;t=t?t.toString():"",this.id=t,this.URL=n,i=this,(o=t)&&(pn[o]=i),this.nodeMap={};var a,s,c=e.Listener||Un;this.listener=new c(t,r||(a=t,"function"!=typeof(s=e.handler||global.callNative)&&console.error("[JS Runtime] no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var t=0;te.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);St||(St=!0,Xe(xt))}}(this)},$t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||b(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ne(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},$t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},$t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},$t.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var At={enumerable:!0,configurable:!0,get:R,set:R};function jt(e,t,n){At.get=function(){return this[t][n]},At.set=function(e){this[t][n]=e},Object.defineProperty(e,n,At)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var o=n.$options.propsData||{},i=n._props={},a=n.$options._propKeys=[];n.$parent&&me(!1);var e=function(e){a.push(e);var t=Me(e,r,o,n);we(i,e,t),e in n||jt(n,"_props",e)};for(var t in r)e(t);me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?R:y(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Mt(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&f(r,i)||(void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&jt(e,"_data",i))}var a;be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=K();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new $t(e,a||R,R,Tt)),o in e||Ft(e,o,i)}}(e,t.computed),t.watch&&t.watch!==X&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;oparseInt(this.max)&&Nn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Rn=In,Vn={get:function(){return T}},Object.defineProperty(Rn,"config",Vn),Rn.util={warn:te,extend:N,mergeOptions:je,defineReactive:we},Rn.set=ke,Rn.delete=Se,Rn.nextTick=Xe,Rn.options=Object.create(null),x.forEach(function(e){Rn.options[e+"s"]=Object.create(null)}),N((Rn.options._base=Rn).options.components,Ln),Rn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),Cr(no,"$remove",function(e){console.warn('[JS Framework] "Array.prototype.$remove" is not a standard API, it will be removed in the next version.'),this.length&&("number"!=typeof e&&(e=this.indexOf(e)),-1)?=?)";var O=n++;t[O]=t[s]+"|x|X|\\*";var C=n++;t[C]=t[a]+"|x|X|\\*";var x=n++;t[x]="[v=\\s]*("+t[C]+")(?:\\.("+t[C]+")(?:\\.("+t[C]+")(?:"+t[v]+")?"+t[g]+"?)?)?";var E=n++;t[E]="[v=\\s]*("+t[O]+")(?:\\.("+t[O]+")(?:\\.("+t[O]+")(?:"+t[m]+")?"+t[g]+"?)?)?";var $=n++;t[$]="^"+t[S]+"\\s*"+t[x]+"$";var A=n++;t[A]="^"+t[S]+"\\s*"+t[E]+"$";var j=n++;t[j]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var I=n++;t[I]="(?:~>?)";var M=n++;t[M]="(\\s*)"+t[I]+"\\s+",l[M]=new RegExp(t[M],"g");var T=n++;t[T]="^"+t[I]+t[x]+"$";var F=n++;t[F]="^"+t[I]+t[E]+"$";var P=n++;t[P]="(?:\\^)";var N=n++;t[N]="(\\s*)"+t[P]+"\\s+",l[N]=new RegExp(t[N],"g");var R=n++;t[R]="^"+t[P]+t[x]+"$";var D=n++;t[D]="^"+t[P]+t[E]+"$";var V=n++;t[V]="^"+t[S]+"\\s*("+w+")$|^$";var J=n++;t[J]="^"+t[S]+"\\s*("+b+")$|^$";var L=n++;t[L]="(\\s*)"+t[S]+"\\s*("+w+"|"+t[x]+")",l[L]=new RegExp(t[L],"g");var W=n++;t[W]="^\\s*("+t[x]+")\\s+-\\s+("+t[x]+")\\s*$";var q=n++;t[q]="^\\s*("+t[E]+")\\s+-\\s+("+t[E]+")\\s*$";var U=n++;t[U]="(<|>)?=?\\s*\\*";for(var B=0;B<35;B++)f(B,t[B]),l[B]||(l[B]=new RegExp(t[B]));function z(e,t){if(e instanceof H)return e;if("string"!=typeof e)return null;if(e.length>o)return null;if(!(t?l[k]:l[_]).test(e))return null;try{return new H(e,t)}catch(e){return null}}function H(e,t){if(e instanceof H){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof H))return new H(e,t);f("SemVer",e,t),this.loose=t;var n=e.trim().match(t?l[k]:l[_]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(0<=t&&t":o=Z(e,n,r);break;case">=":o=te(e,n,r);break;case"<":o=Y(e,n,r);break;case"<=":o=ne(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function oe(e,t){if(e instanceof oe){if(e.loose===t)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);f("comparator",e,t),this.loose=t,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}r.rcompareIdentifiers=function(e,t){return G(t,e)},r.major=function(e,t){return new H(e,t).major},r.minor=function(e,t){return new H(e,t).minor},r.patch=function(e,t){return new H(e,t).patch},r.compare=K,r.compareLoose=function(e,t){return K(e,t,!0)},r.rcompare=function(e,t,n){return K(t,e,n)},r.sort=function(e,n){return e.sort(function(e,t){return r.compare(e,t,n)})},r.rsort=function(e,n){return e.sort(function(e,t){return r.rcompare(e,t,n)})},r.gt=Z,r.lt=Y,r.eq=Q,r.neq=ee,r.gte=te,r.lte=ne,r.cmp=re,r.Comparator=oe;var ie={};function ae(e,t){if(e instanceof ae)return e.loose===t?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,l,u,f,p){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(l)?"<"+(+c+1)+".0.0":se(u)?"<"+c+"."+(+l+1)+".0":f?"<="+c+"."+l+"."+u+"-"+f:"<="+s)).trim()}function le(e,t){for(var n=0;n":o=Z,i=ne,a=Y,s=">",c=">=";break;case"<":o=Y,i=te,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ue(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)}),f.operator===s||f.operator===c)return!1;if((!p.operator||p.operator===s)&&i(e,p.semver))return!1;if(p.operator===c&&a(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.loose?l[V]:l[J],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new H(n[2],this.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return f("Comparator.test",e,this.loose),this.semver===ie||("string"==typeof e&&(e=new H(e,this.loose)),re(e,this.operator,this.semver,this.loose))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new ae(e.value,t),ue(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),ue(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},(r.Range=ae).prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var c=this.loose;e=e.trim(),f("range",e,c);var t=c?l[q]:l[W];e=e.replace(t,ce),f("hyphen replace",e),e=e.replace(l[L],"$1$2$3"),f("comparator trim",e,l[L]),e=(e=(e=e.replace(l[M],"$1~")).replace(l[N],"$1^")).split(/\s+/).join(" ");var n=c?l[V]:l[J],r=e.split(" ").map(function(e){return n=c,f("comp",t=e),a=n,t=t.trim().split(/\s+/).map(function(e){return function(a,e){f("caret",a,e);var t=e?l[D]:l[R];return a.replace(t,function(e,t,n,r,o){var i;return f("caret",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i="0"===t?">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":">="+t+"."+n+".0 <"+(+t+1)+".0.0":o?(f("replaceCaret pr",o),"-"!==o.charAt(0)&&(o="-"+o),i="0"===t?"0"===n?">="+t+"."+n+"."+r+o+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+o+" <"+(+t+1)+".0.0"):(f("no pr"),i="0"===t?"0"===n?">="+t+"."+n+"."+r+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+" <"+(+t+1)+".0.0"),f("caret return",i),i})}(e,a)}).join(" "),f("caret",t),s=n,t=t.trim().split(/\s+/).map(function(e){return a=e,t=s?l[F]:l[T],a.replace(t,function(e,t,n,r,o){var i;return f("tilde",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i=">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":o?(f("replaceTilde pr",o),"-"!==o.charAt(0)&&(o="-"+o),i=">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0"):i=">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0",f("tilde return",i),i});var a,t}).join(" "),f("tildes",t),f("replaceXRanges",o=t,i=n),t=o.split(/\s+/).map(function(e){return function(u,e){u=u.trim();var t=e?l[A]:l[$];return u.replace(t,function(e,t,n,r,o,i){f("xRange",u,e,t,n,r,o,i);var a=se(n),s=a||se(r),c=s||se(o),l=c;return"="===t&&l&&(t=""),a?e=">"===t||"<"===t?"<0.0.0":"*":t&&l?(s&&(r=0),c&&(o=0),">"===t?(t=">=",s?(n=+n+1,o=r=0):c&&(r=+r+1,o=0)):"<="===t&&(t="<",s?n=+n+1:r=+r+1),e=t+n+"."+r+"."+o):s?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"),f("xRange return",e),e})}(e,i)}).join(" "),f("xrange",t),f("replaceStars",r=t,n),t=r.trim().replace(l[U],""),f("stars",t),t;var t,n,r,o,i,s,a}).join(" ").split(/\s+/);return this.loose&&(r=r.filter(function(e){return!!e.match(n)})),r=r.map(function(e){return new oe(e,c)})},ae.prototype.intersects=function(n,r){if(!(n instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(t){return n.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})},r.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new H(e,this.loose));for(var t=0;t",n)},r.outside=fe,r.prerelease=function(e,t){var n=z(e,t);return n&&n.prerelease.length?n.prerelease:null},r.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},r.coerce=function(e){if(e instanceof H)return e;if("string"!=typeof e)return null;var t=e.match(l[j]);if(null==t)return null;return z((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}});Go.SEMVER_SPEC_VERSION,Go.re,Go.src,Go.parse,Go.valid,Go.clean,Go.SemVer,Go.inc,Go.diff,Go.compareIdentifiers,Go.rcompareIdentifiers,Go.major,Go.minor,Go.patch,Go.compare,Go.compareLoose,Go.rcompare,Go.sort,Go.rsort,Go.gt,Go.lt,Go.eq,Go.neq,Go.gte,Go.lte,Go.cmp,Go.Comparator,Go.Range,Go.toComparators,Go.satisfies,Go.maxSatisfying,Go.minSatisfying,Go.validRange,Go.ltr,Go.gtr,Go.outside,Go.prerelease,Go.intersects,Go.coerce;function Ko(e){if(Go.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 Zo(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r}function Yo(e,t,n,r){var o;if(console.debug("[JS Framework] bootstrap for "+t),qr(t))o=Hr(t);else{if(!zr(t))return new Error("Wrong component name: "+t);if(!Ho(e,o=Xr(t)))return new Error("It's not a component: "+t)}if("string"==typeof(n=Tr(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Go.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=function(e,t){t=Tr(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if("function"===Dr(e)){var r=e.call(this,t,{semver:Go,normalizeVersion:Ko});n=(r=!!r)?Zo("custom","","custom params"):n}else{var o=(e=Tr(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),c=t[i],l=0<=s.indexOf("version"),u=0<=s.indexOf("devicemodel"),f=o[i];if(f&&l){var p=Ko(f),d=Ko(t[i]);if(Go.satisfies(d,p)){n=Zo(a,c,f);break}}else if(u&&0<=("array"===Dr(f)?f:[f]).indexOf(c)){n=Zo(a,c,f);break}}}return n}(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&&function(e,t){if(void 0===t&&(t={}),e&&e.callTasks)e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}(e,n.viewport),e.vm=new Uo(o,null,{_app:e},null,r)}var Qo=function(o,e){for(var t,n,r,i=[],a=arguments.length-2;0o;)_(r,n=t[o++])&&(~H(i,n)||i.push(n));return i}(e,G)},Z={f:Object.getOwnPropertySymbols},Y={f:{}.propertyIsEnumerable},Q=function(e){return Object(P(e))},ee=Object.assign,te=!ee||i(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ee({},e)[n]||Object.keys(ee({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Q(e),o=arguments.length,i=1,a=Z.f,s=Y.f;idocument.F=Object<\/script>"),e.close(),ve=e.F;n--;)delete ve[he][G[n]];return ve()},me=Object.create||function(e,t){var n;return null!==e?(de[he]=y(e),n=new de,de[he]=null,n[pe]=e):n=ve(),void 0===t?n:le(n,t)},ye=h.f,ge=re("toStringTag"),_e=function(e,t,n){e&&!_(e=n?e:e.prototype,ge)&&ye(e,ge,{configurable:!0,value:t})},be={};S(be,re("iterator"),function(){return this});var we,ke=z("IE_PROTO"),Se=Object.prototype,Oe=Object.getPrototypeOf||function(e){return e=Q(e),_(e,ke)?e[ke]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Se:null},Ce=re("iterator"),xe=!([].keys&&"next"in[].keys()),Ee="values",$e=function(){return this},Ae=function(e,t,n,r,o,i,a){var s,c,l;c=t,l=r,(s=n).prototype=me(be,{next:k(1,l)}),_e(s,c+" Iterator");var u,f,p,d=function(e){if(!xe&&e in y)return y[e];switch(e){case"keys":case Ee:return function(){return new n(this,e)}}return function(){return new n(this,e)}},h=t+" Iterator",v=o==Ee,m=!1,y=e.prototype,g=y[Ce]||y["@@iterator"]||o&&y[o],_=g||d(o),b=o?v?d("entries"):_:void 0,w="Array"==t&&y.entries||g;if(w&&(p=Oe(w.call(new e)))!==Object.prototype&&p.next&&(_e(p,h,!0),"function"!=typeof p[Ce]&&S(p,Ce,$e)),v&&g&&g.name!==Ee&&(m=!0,_=function(){return g.call(this)}),(xe||m||!y[Ce])&&S(y,Ce,_),ce[t]=_,ce[h]=$e,o)if(u={values:v?_:d(Ee),keys:i?_:d("keys"),entries:b},a)for(f in u)f in y||C(y,f,u[f]);else I(I.P+I.F*(xe||m),t,u);return u},je=(we=!0,function(e,t){var n,r,o=String(P(e)),i=V(t),a=o.length;return i<0||a<=i?we?"":void 0:(n=o.charCodeAt(i))<55296||56319=t.length?{value:void 0,done:!0}:(e=je(t,n),this._i+=e.length,{value:e,done:!1})});var Ie=re("unscopables"),Me=Array.prototype;null==Me[Ie]&&S(Me,Ie,{});var Te=function(e){Me[Ie][e]=!0},Fe=function(e,t){return{value:t,done:!!e}},Pe=Ae(Array,"Array",function(e,t){this._t=N(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,Fe(1)):Fe(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");ce.Arguments=ce.Array,Te("keys"),Te("values"),Te("entries");for(var Ne=re("iterator"),Re=re("toStringTag"),De=ce.Array,Ve={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},Le=K(Ve),Je=0;Jer;)n.push(t[r++]);return lt[++ct]=function(){!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])}e.apply(n,t)}("function"==typeof e?e:Function(e),n)},He(ct),ct},it=function(e){delete lt[e]},"process"==T(rt)?He=function(e){rt.nextTick(E(ft,e,1))}:st&&st.now?He=function(e){st.now(E(ft,e,1))}:at?(Ge=(Xe=new at).port2,Xe.port1.onmessage=pt,He=E(Ge.postMessage,Ge,1)):v.addEventListener&&"function"==typeof postMessage&&!v.importScripts?(He=function(e){v.postMessage(e+"","*")},v.addEventListener("message",pt,!1)):He=ut in f("script")?function(e){fe.appendChild(f("script"))[ut]=function(){fe.removeChild(this),ft.call(e)}}:function(e){setTimeout(E(ft,e,1),0)});var dt={set:ot,clear:it},ht=dt.set,vt=v.MutationObserver||v.WebKitMutationObserver,mt=v.process,yt=v.Promise,gt="process"==T(mt);function _t(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=x(n),this.reject=x(r)}var bt={f:function(e){return new _t(e)}},wt=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},kt=v.navigator,St=kt&&kt.userAgent||"",Ot=re("species"),Ct=re("iterator"),xt=!1;try{[7][Ct]().return=function(){xt=!0}}catch(e){}var Et,$t,At,jt,It,Mt=dt.set,Tt=function(){var n,r,o,e=function(){var e,t;for(gt&&(e=mt.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?o():r=void 0,e}}r=void 0,e&&e.enter()};if(gt)o=function(){mt.nextTick(e)};else if(!vt||v.navigator&&v.navigator.standalone)if(yt&&yt.resolve){var t=yt.resolve(void 0);o=function(){t.then(e)}}else o=function(){ht.call(v,e)};else{var i=!0,a=document.createTextNode("");new vt(e).observe(a,{characterData:!0}),o=function(){a.data=i=!i}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,o()),r=t}}(),Ft="Promise",Pt=v.TypeError,Nt=v.process,Rt=Nt&&Nt.versions,Dt=Rt&&Rt.v8||"",Vt=v[Ft],Lt="process"==ae(Nt),Jt=function(){},Wt=$t=bt.f,qt=!!function(){try{var e=Vt.resolve(1),t=(e.constructor={})[re("species")]=function(e){e(Jt,Jt)};return(Lt||"function"==typeof PromiseRejectionEvent)&&e.then(Jt)instanceof t&&0!==Dt.indexOf("6.6")&&-1===St.indexOf("Chrome/66")}catch(e){}}(),Ut=function(e){var t;return!(!o(e)||"function"!=typeof(t=e.then))&&t},Bt=function(u,n){if(!u._n){u._n=!0;var r=u._c;Tt(function(){for(var c=u._v,l=1==u._s,e=0,t=function(e){var t,n,r,o=l?e.ok:e.fail,i=e.resolve,a=e.reject,s=e.domain;try{o?(l||(2==u._h&&Xt(u),u._h=1),!0===o?t=c:(s&&s.enter(),t=o(c),s&&(s.exit(),r=!0)),t===e.promise?a(Pt("Promise-chain cycle")):(n=Ut(t))?n.call(t,i,a):i(t)):a(c)}catch(e){s&&!r&&s.exit(),a(e)}};r.length>e;)t(r[e++]);u._c=[],u._n=!1,n&&!u._h&&zt(u)})}},zt=function(i){Mt.call(v,function(){var e,t,n,r=i._v,o=Ht(i);if(o&&(e=wt(function(){Lt?Nt.emit("unhandledRejection",r,i):(t=v.onunhandledrejection)?t({promise:i,reason:r}):(n=v.console)&&n.error&&n.error("Unhandled promise rejection",r)}),i._h=Lt||Ht(i)?2:1),i._a=void 0,o&&e.e)throw e.v})},Ht=function(e){return 1!==e._h&&0===(e._a||e._c).length},Xt=function(t){Mt.call(v,function(){var e;Lt?Nt.emit("rejectionHandled",t):(e=v.onrejectionhandled)&&e({promise:t,reason:t._v})})},Gt=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()),Bt(t,!0))},Kt=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Pt("Promise can't be resolved itself");(n=Ut(e))?Tt(function(){var t={_w:r,_d:!1};try{n.call(e,E(Kt,t,1),E(Gt,t,1))}catch(e){Gt.call(t,e)}}):(r._v=e,r._s=1,Bt(r,!1))}catch(e){Gt.call({_w:r,_d:!1},e)}}};qt||(Vt=function(e){!function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!")}(this,Vt,Ft,"_h"),x(e),Et.call(this);try{e(E(Kt,this,1),E(Gt,this,1))}catch(e){Gt.call(this,e)}},(Et=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)C(e,r,t[r],n);return e}(Vt.prototype,{then:function(e,t){var n,r,o,i=Wt((n=Vt,void 0===(o=y(this).constructor)||null==(r=y(o)[nt])?n:x(r)));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=Lt?Nt.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&Bt(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),At=function(){var e=new Et;this.promise=e,this.resolve=E(Kt,e,1),this.reject=E(Gt,e,1)},bt.f=Wt=function(e){return e===Vt||e===jt?new At(e):$t(e)}),I(I.G+I.W+I.F*!qt,{Promise:Vt}),_e(Vt,Ft),It=v[Ft],a&&It&&!It[Ot]&&h.f(It,Ot,{configurable:!0,get:function(){return this}}),jt=m[Ft],I(I.S+I.F*!qt,Ft,{reject:function(e){var t=Wt(this);return(0,t.reject)(e),t.promise}}),I(I.S+I.F*!qt,Ft,{resolve:function(e){return function(e,t){if(y(e),o(t)&&t.constructor===e)return t;var n=bt.f(e);return(0,n.resolve)(t),n.promise}(this,e)}}),I(I.S+I.F*!(qt&&function(e,t){if(!t&&!xt)return!1;var n=!1;try{var r=[7],o=r[Ct]();o.next=function(){return{done:n=!0}},r[Ct]=function(){return o},e(r)}catch(e){}return n}(function(e){Vt.all(e).catch(Jt)})),Ft,{all:function(e){var a=this,t=Wt(a),s=t.resolve,c=t.reject,n=wt(function(){var r=[],o=0,i=1;tt(e,!1,function(e){var t=o++,n=!1;r.push(void 0),i++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--i||s(r))},c)}),--i||s(r)});return n.e&&c(n.v),t.promise},race:function(e){var t=this,n=Wt(t),r=n.reject,o=wt(function(){tt(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}});var Zt=["off","error","warn","info","log","debug"],Yt={};global.console;function Qt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return Yt[t]&&Yt[t][e]}function en(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}global.setTimeout;var tn=global.setTimeoutNative;function nn(t,n,r){if(t.hasOwnProperty(n)){var e=t[n];Object.defineProperty(t,n,{get:function(){return e},set:function(e){if(this===t)throw Error("Cannot assign to read only property "+n+" of "+r);return Object.defineProperty(this,n,{value:e,writable:!0}),e}})}}!function(){if(void 0===setTimeout&&"function"==typeof tn){var n={},r=0;global.setTimeout=function(e,t){n[++r]=e,tn(r.toString(),t)},global.setTimeoutCallback=function(e){"function"==typeof n[e]&&(n[e](),delete n[e])}}}(),function(){if(Zt.forEach(function(n){var r=Zt.indexOf(n);Yt[n]={},Zt.forEach(function(e){var t=Zt.indexOf(e);t<=r&&(Yt[n][e]=!0)})}),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&global.nativeLog.apply(global,en(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&global.nativeLog.apply(global,en(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&global.nativeLog.apply(global,en(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&global.nativeLog.apply(global,en(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&global.nativeLog.apply(global,en(e).concat(["__ERROR"]))}};else{var e=console.debug,t=console.log,n=console.info,r=console.warn,o=console.error;console.__ori__={debug:e,log:t,info:n,warn:r,error:o},console.debug=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Qt("error")&&console.__ori__.error.apply(console,e)}}}();var rn={framework:"0.27.8",transformer:">=0.1.5 <0.5"};function on(e,t,n){return t+"@"+n+"#"+e}var an=function(e){this.instanceId=String(e),this.lastCallbackId=0,this.callbacks={},this.hooks={}};an.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},an.prototype.remove=function(e){var t=this.callbacks[e];return delete this.callbacks[e],t},an.prototype.registerHook=function(e,t,n,r){var o=on(e,t,n);this.hooks[o]&&console.warn('[JS Framework] Override an existing component hook "'+o+'".'),this.hooks[o]=r},an.prototype.triggerHook=function(e,t,n,r){var o=on(e,t,n),i=this.hooks[o];if("function"!=typeof i)return console.error("[JS Framework] Invalid hook function type ("+typeof i+') on "'+o+'".'),null;var a=null;try{a=i.apply(null,r||[])}catch(e){console.error('[JS Framework] Failed to execute the hook function on "'+o+'".')}return a},an.prototype.consume=function(e,t,n){var r=this.callbacks[e];if(void 0!==n&&!1!==n||delete this.callbacks[e],"function"==typeof r)try{return r.call(null,t)}catch(e){console.error("[JS Framework] Failed to execute the callback function:\n + "+e.toString())}return new Error('invalid callback id "'+e+'"')},an.prototype.close=function(){this.callbacks={},this.hooks={}};var sn=1;function cn(){return(sn++).toString()}function ln(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)}function un(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 fn(e){if(!e||"object"!=typeof e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var pn={};function dn(e){return pn[e]}function hn(e){var t=pn[e];return t&&t.taskCenter?t.taskCenter:null}function vn(e,t,n){var r=e.documentElement;if(!(0"+this.pureChildren.map(function(e){return e.toString()}).join("")+""},e}(On);Sn=$n;var An=function(){},jn=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:String(e)}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new an(e)}),An=t||function(){}};function In(e,t){var n=dn(e);return n?Array.isArray(t)?t.map(function(e){switch(e.method){case"callback":return function(e,t,n,r){return e.taskCenter.callback(t,n,r)}.apply(void 0,[n].concat(e.args));case"fireEventSync":case"fireEvent":return function(e,t,n,r,o,i){var a=e.getRef(t);return a?e.fireEvent(a,n,r,o,i):new Error('invalid element reference "'+t+'"')}.apply(void 0,[n].concat(e.args));case"componentHook":return function(e,t,n,r,o){if(!e||!e.taskCenter)return console.error('[JS Framework] Can\'t find "document" or "taskCenter".'),null;var i=null;try{i=e.taskCenter.triggerHook(t,n,r,o)}catch(e){console.error('[JS Framework] Failed to trigger the "'+n+"@"+r+'" hook on '+t+".")}return i}.apply(void 0,[n].concat(e.args))}}):void 0:new Error("[JS Framework] Failed to receiveTasks, instance ("+e+") is not available.")}jn.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},jn.prototype.registerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).registerHook.apply(e,t)},jn.prototype.triggerHook=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this.callbackManager).triggerHook.apply(e,t)},jn.prototype.updateData=function(e,t,n){this.send("module",{module:"dom",method:"updateComponentData"},[e,t,n])},jn.prototype.destroyCallback=function(){return this.callbackManager.close()},jn.prototype.normalize=function(e,t){var n=this;void 0===t&&(t=!1);var r=ln(e);if(e&&e instanceof $n)return e.ref;if(e&&e._isVue&&e.$el instanceof $n)return e.$el.ref;if("Function"===r)return this.callbackManager.add(e).toString();if(t){if("Object"===r){var o={};for(var i in e)o[i]=n.normalize(e[i],!0);return o}if("Array"===r)return e.map(function(e){return n.normalize(e,!0)})}return e&&e.ref&&e["[[VirtualElement]]"]?e.ref:function(e){var t=ln(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:un(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:un(e.buffer)};default:return JSON.stringify(e)}}(e)},jn.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,c=t.module,l=t.method;switch(n=n.map(function(e){return o.normalize(e)}),"Object"===ln(r)&&(r=this.normalize(r,!0)),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,l,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,c,l,n,r)}},jn.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},jn.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},jn.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Mn={};function Tn(e){var t=function(t){Mn[t]||(Mn[t]={}),e[t].forEach(function(e){"string"==typeof e?Mn[t][e]=!0:Mn[t][e.name]=e.args})};for(var n in e)t(n)}function Fn(e,t){return"string"==typeof t?!(!Mn[e]||!Mn[e][t]):!!Mn[e]}var Pn={};function Nn(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Pn[e]=!0:"object"==typeof e&&"string"==typeof e.type&&function(o,e){if(e&&e.length){var t=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t}(Sn);e.forEach(function(r){t.prototype[r]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=hn(this.docId);if(n)return n.send("component",{ref:this.ref,component:o,method:r},e)}}),Cn[o]=t}}((Pn[e.type]=e).type,e.methods))})}function Rn(e){return!!Pn[e]}var Dn=[];function Vn(e,t){Jn(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Dn.push({name:e,options:t}))}function Ln(n){Dn.some(function(e,t){if(e.name===n)return Dn.splice(t,1),!0})}function Jn(e){return t=e,0<=Dn.map(function(e){return e.name}).indexOf(t);var t}var Wn=function(t){function e(e){t.call(this),this.nodeType=8,this.nodeId=cn(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}return t&&(e.__proto__=t),((e.prototype=Object.create(t&&t.prototype)).constructor=e).prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},e}(On);function qn(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}var Un=function(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")};Un.prototype.createFinish=function(e){return(0,this.handler)([qn("createFinish")],e)},Un.prototype.updateFinish=function(e){return(0,this.handler)([qn("updateFinish")],e)},Un.prototype.refreshFinish=function(e){return(0,this.handler)([qn("refreshFinish")],e)},Un.prototype.createBody=function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[qn("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return qn("addElement",[t.ref,e,-1])})),this.addActions(r)},Un.prototype.addElement=function(e,t,n){return 0<=n||(n=-1),this.addActions(qn("addElement",[t,e.toJSON(),n]))},Un.prototype.removeElement=function(e){if(Array.isArray(e)){var t=e.map(function(e){return qn("removeElement",[e])});return this.addActions(t)}return this.addActions(qn("removeElement",[e]))},Un.prototype.moveElement=function(e,t,n){return this.addActions(qn("moveElement",[e,t,n]))},Un.prototype.setAttr=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateAttrs",[e,r]))},Un.prototype.setStyle=function(e,t,n){var r={};return r[t]=n,this.addActions(qn("updateStyle",[e,r]))},Un.prototype.setStyles=function(e,t){return this.addActions(qn("updateStyle",[e,t]))},Un.prototype.addEvent=function(e,t){return this.addActions(qn("addEvent",[e,t]))},Un.prototype.removeEvent=function(e,t){return this.addActions(qn("removeEvent",[e,t]))},Un.prototype.handler=function(e,t){return t&&t()},Un.prototype.addActions=function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)};var Bn={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};function zn(e,t,n){var r,o=t.module,i=t.method,a=t.args;return r=i,"dom"===o&&Bn[r]&&"function"==typeof global[Bn[r]]?global[Bn[i]].apply(global,[e].concat(a,["-1"])):n(e,[t],"-1")}var Hn=function e(t,n,r){var o,i;t=t?t.toString():"",this.id=t,this.URL=n,i=this,(o=t)&&(pn[o]=i),this.nodeMap={};var a,s,c=e.Listener||Un;this.listener=new c(t,r||(a=t,"function"!=typeof(s=e.handler||global.callNative)&&console.error("[JS Runtime] no default handler"),function(e){Array.isArray(e)||(e=[e]);for(var t=0;te.id;)n--;bt.splice(n+1,0,e)}else bt.push(e);St||(St=!0,Xe(xt))}}(this)},$t.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||b(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ne(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},$t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},$t.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},$t.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var At={enumerable:!0,configurable:!0,get:R,set:R};function jt(e,t,n){At.get=function(){return this[t][n]},At.set=function(e){this[t][n]=e},Object.defineProperty(e,n,At)}function It(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var o=n.$options.propsData||{},i=n._props={},a=n.$options._propKeys=[];n.$parent&&me(!1);var e=function(e){a.push(e);var t=Me(e,r,o,n);we(i,e,t),e in n||jt(n,"_props",e)};for(var t in r)e(t);me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?R:y(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?Mt(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&f(r,i)||(void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&jt(e,"_data",i))}var a;be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=K();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new $t(e,a||R,R,Tt)),o in e||Ft(e,o,i)}}(e,t.computed),t.watch&&t.watch!==X&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;oparseInt(this.max)&&Nn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};Rn=In,Vn={get:function(){return T}},Object.defineProperty(Rn,"config",Vn),Rn.util={warn:te,extend:N,mergeOptions:je,defineReactive:we},Rn.set=ke,Rn.delete=Se,Rn.nextTick=Xe,Rn.options=Object.create(null),x.forEach(function(e){Rn.options[e+"s"]=Object.create(null)}),N((Rn.options._base=Rn).options.components,Jn),Rn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),Cr(no,"$remove",function(e){console.warn('[JS Framework] "Array.prototype.$remove" is not a standard API, it will be removed in the next version.'),this.length&&("number"!=typeof e&&(e=this.indexOf(e)),-1)?=?)";var O=n++;t[O]=t[s]+"|x|X|\\*";var C=n++;t[C]=t[a]+"|x|X|\\*";var x=n++;t[x]="[v=\\s]*("+t[C]+")(?:\\.("+t[C]+")(?:\\.("+t[C]+")(?:"+t[v]+")?"+t[g]+"?)?)?";var E=n++;t[E]="[v=\\s]*("+t[O]+")(?:\\.("+t[O]+")(?:\\.("+t[O]+")(?:"+t[m]+")?"+t[g]+"?)?)?";var $=n++;t[$]="^"+t[S]+"\\s*"+t[x]+"$";var A=n++;t[A]="^"+t[S]+"\\s*"+t[E]+"$";var j=n++;t[j]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var I=n++;t[I]="(?:~>?)";var M=n++;t[M]="(\\s*)"+t[I]+"\\s+",l[M]=new RegExp(t[M],"g");var T=n++;t[T]="^"+t[I]+t[x]+"$";var F=n++;t[F]="^"+t[I]+t[E]+"$";var P=n++;t[P]="(?:\\^)";var N=n++;t[N]="(\\s*)"+t[P]+"\\s+",l[N]=new RegExp(t[N],"g");var R=n++;t[R]="^"+t[P]+t[x]+"$";var D=n++;t[D]="^"+t[P]+t[E]+"$";var V=n++;t[V]="^"+t[S]+"\\s*("+w+")$|^$";var L=n++;t[L]="^"+t[S]+"\\s*("+b+")$|^$";var J=n++;t[J]="(\\s*)"+t[S]+"\\s*("+w+"|"+t[x]+")",l[J]=new RegExp(t[J],"g");var W=n++;t[W]="^\\s*("+t[x]+")\\s+-\\s+("+t[x]+")\\s*$";var q=n++;t[q]="^\\s*("+t[E]+")\\s+-\\s+("+t[E]+")\\s*$";var U=n++;t[U]="(<|>)?=?\\s*\\*";for(var B=0;B<35;B++)f(B,t[B]),l[B]||(l[B]=new RegExp(t[B]));function z(e,t){if(e instanceof H)return e;if("string"!=typeof e)return null;if(e.length>o)return null;if(!(t?l[k]:l[_]).test(e))return null;try{return new H(e,t)}catch(e){return null}}function H(e,t){if(e instanceof H){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError("version is longer than "+o+" characters");if(!(this instanceof H))return new H(e,t);f("SemVer",e,t),this.loose=t;var n=e.trim().match(t?l[k]:l[_]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(0<=t&&t":o=Z(e,n,r);break;case">=":o=te(e,n,r);break;case"<":o=Y(e,n,r);break;case"<=":o=ne(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function oe(e,t){if(e instanceof oe){if(e.loose===t)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);f("comparator",e,t),this.loose=t,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,f("comp",this)}r.rcompareIdentifiers=function(e,t){return G(t,e)},r.major=function(e,t){return new H(e,t).major},r.minor=function(e,t){return new H(e,t).minor},r.patch=function(e,t){return new H(e,t).patch},r.compare=K,r.compareLoose=function(e,t){return K(e,t,!0)},r.rcompare=function(e,t,n){return K(t,e,n)},r.sort=function(e,n){return e.sort(function(e,t){return r.compare(e,t,n)})},r.rsort=function(e,n){return e.sort(function(e,t){return r.rcompare(e,t,n)})},r.gt=Z,r.lt=Y,r.eq=Q,r.neq=ee,r.gte=te,r.lte=ne,r.cmp=re,r.Comparator=oe;var ie={};function ae(e,t){if(e instanceof ae)return e.loose===t?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,l,u,f,p){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(l)?"<"+(+c+1)+".0.0":se(u)?"<"+c+"."+(+l+1)+".0":f?"<="+c+"."+l+"."+u+"-"+f:"<="+s)).trim()}function le(e,t){for(var n=0;n":o=Z,i=ne,a=Y,s=">",c=">=";break;case"<":o=Y,i=te,a=Z,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ue(e,t,r))return!1;for(var l=0;l=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)}),f.operator===s||f.operator===c)return!1;if((!p.operator||p.operator===s)&&i(e,p.semver))return!1;if(p.operator===c&&a(e,p.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.loose?l[V]:l[L],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new H(n[2],this.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return f("Comparator.test",e,this.loose),this.semver===ie||("string"==typeof e&&(e=new H(e,this.loose)),re(e,this.operator,this.semver,this.loose))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new ae(e.value,t),ue(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),ue(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},(r.Range=ae).prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var c=this.loose;e=e.trim(),f("range",e,c);var t=c?l[q]:l[W];e=e.replace(t,ce),f("hyphen replace",e),e=e.replace(l[J],"$1$2$3"),f("comparator trim",e,l[J]),e=(e=(e=e.replace(l[M],"$1~")).replace(l[N],"$1^")).split(/\s+/).join(" ");var n=c?l[V]:l[L],r=e.split(" ").map(function(e){return n=c,f("comp",t=e),a=n,t=t.trim().split(/\s+/).map(function(e){return function(a,e){f("caret",a,e);var t=e?l[D]:l[R];return a.replace(t,function(e,t,n,r,o){var i;return f("caret",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i="0"===t?">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":">="+t+"."+n+".0 <"+(+t+1)+".0.0":o?(f("replaceCaret pr",o),"-"!==o.charAt(0)&&(o="-"+o),i="0"===t?"0"===n?">="+t+"."+n+"."+r+o+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+o+" <"+(+t+1)+".0.0"):(f("no pr"),i="0"===t?"0"===n?">="+t+"."+n+"."+r+" <"+t+"."+n+"."+(+r+1):">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0":">="+t+"."+n+"."+r+" <"+(+t+1)+".0.0"),f("caret return",i),i})}(e,a)}).join(" "),f("caret",t),s=n,t=t.trim().split(/\s+/).map(function(e){return a=e,t=s?l[F]:l[T],a.replace(t,function(e,t,n,r,o){var i;return f("tilde",a,e,t,n,r,o),se(t)?i="":se(n)?i=">="+t+".0.0 <"+(+t+1)+".0.0":se(r)?i=">="+t+"."+n+".0 <"+t+"."+(+n+1)+".0":o?(f("replaceTilde pr",o),"-"!==o.charAt(0)&&(o="-"+o),i=">="+t+"."+n+"."+r+o+" <"+t+"."+(+n+1)+".0"):i=">="+t+"."+n+"."+r+" <"+t+"."+(+n+1)+".0",f("tilde return",i),i});var a,t}).join(" "),f("tildes",t),f("replaceXRanges",o=t,i=n),t=o.split(/\s+/).map(function(e){return function(u,e){u=u.trim();var t=e?l[A]:l[$];return u.replace(t,function(e,t,n,r,o,i){f("xRange",u,e,t,n,r,o,i);var a=se(n),s=a||se(r),c=s||se(o),l=c;return"="===t&&l&&(t=""),a?e=">"===t||"<"===t?"<0.0.0":"*":t&&l?(s&&(r=0),c&&(o=0),">"===t?(t=">=",s?(n=+n+1,o=r=0):c&&(r=+r+1,o=0)):"<="===t&&(t="<",s?n=+n+1:r=+r+1),e=t+n+"."+r+"."+o):s?e=">="+n+".0.0 <"+(+n+1)+".0.0":c&&(e=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"),f("xRange return",e),e})}(e,i)}).join(" "),f("xrange",t),f("replaceStars",r=t,n),t=r.trim().replace(l[U],""),f("stars",t),t;var t,n,r,o,i,s,a}).join(" ").split(/\s+/);return this.loose&&(r=r.filter(function(e){return!!e.match(n)})),r=r.map(function(e){return new oe(e,c)})},ae.prototype.intersects=function(n,r){if(!(n instanceof ae))throw new TypeError("a Range is required");return this.set.some(function(e){return e.every(function(t){return n.set.some(function(e){return e.every(function(e){return t.intersects(e,r)})})})})},r.toComparators=function(e,t){return new ae(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new H(e,this.loose));for(var t=0;t",n)},r.outside=fe,r.prerelease=function(e,t){var n=z(e,t);return n&&n.prerelease.length?n.prerelease:null},r.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},r.coerce=function(e){if(e instanceof H)return e;if("string"!=typeof e)return null;var t=e.match(l[j]);if(null==t)return null;return z((t[1]||"0")+"."+(t[2]||"0")+"."+(t[3]||"0"))}});Go.SEMVER_SPEC_VERSION,Go.re,Go.src,Go.parse,Go.valid,Go.clean,Go.SemVer,Go.inc,Go.diff,Go.compareIdentifiers,Go.rcompareIdentifiers,Go.major,Go.minor,Go.patch,Go.compare,Go.compareLoose,Go.rcompare,Go.sort,Go.rsort,Go.gt,Go.lt,Go.eq,Go.neq,Go.gte,Go.lte,Go.cmp,Go.Comparator,Go.Range,Go.toComparators,Go.satisfies,Go.maxSatisfying,Go.minSatisfying,Go.validRange,Go.ltr,Go.gtr,Go.outside,Go.prerelease,Go.intersects,Go.coerce;function Ko(e){if(Go.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 Zo(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage="Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n,0<=o.indexOf("osversion")?r.code=1001:0<=o.indexOf("appversion")?r.code=1002:0<=o.indexOf("weexversion")?r.code=1003:0<=o.indexOf("devicemodel")&&(r.code=1004),r}function Yo(e,t,n,r){var o;if(console.debug("[JS Framework] bootstrap for "+t),qr(t))o=Hr(t);else{if(!zr(t))return new Error("Wrong component name: "+t);if(!Ho(e,o=Xr(t)))return new Error("It's not a component: "+t)}if("string"==typeof(n=Tr(n)?n:{}).transformerVersion&&"string"==typeof global.transformerVersion&&!Go.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=function(e,t){t=Tr(t=t||global.WXEnvironment)?t:{};var n={isDowngrade:!1};if("function"===Dr(e)){var r=e.call(this,t,{semver:Go,normalizeVersion:Ko});n=(r=!!r)?Zo("custom","","custom params"):n}else{var o=(e=Tr(e)?e:{})[(t.platform||"unknow").toLowerCase()]||{};for(var i in t){var a=i,s=a.toLowerCase(),c=t[i],l=0<=s.indexOf("version"),u=0<=s.indexOf("devicemodel"),f=o[i];if(f&&l){var p=Ko(f),d=Ko(t[i]);if(Go.satisfies(d,p)){n=Zo(a,c,f);break}}else if(u&&0<=("array"===Dr(f)?f:[f]).indexOf(c)){n=Zo(a,c,f);break}}}return n}(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&&function(e,t){if(void 0===t&&(t={}),e&&e.callTasks)e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}(e,n.viewport),e.vm=new Uo(o,null,{_app:e},null,r)}var Qo=function(o,e){for(var t,n,r,i=[],a=arguments.length-2;0