UNPKG

weex-sharesdk

Version:

weex-ShareSdk extend for weex

9 lines 240 kB
(this.nativeLog||function(e){console.log(e)})("START JS FRAMEWORK 0.21.4, Build 2017-07-26 11:48."),this.getJSFMVersion=function(){return"0.21.4"};var global=this,process={env:{}},setTimeout=global.setTimeout;!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){Jn.Document=e.Document,Jn.Element=e.Element,Jn.Comment=e.Comment,Jn.sendTasks=e.sendTasks}function t(e){}function n(e){}function r(e){}function o(e,t,n){}function i(e,t,n,r,o){var i=new Jn.Document(e,n.bundleUrl),a={},s=0;i.addCallback=function(e){return s++,a[s]=e,s},i.handleCallback=function(e,t,n){var r=a[e];return n&&delete a[e],r(t)},Hn[e]=i;var u=Object.assign({Document:Jn.Document,Element:Jn.Element,Comment:Jn.Comment,sendTasks:Jn.sendTasks,id:e,options:n,data:r,document:i},o),c=[],l=[];for(var f in u)c.push(f),l.push(u[f]);return c.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(c)))).apply(void 0,l)}function a(e,t){}function s(e){delete Hn[e]}function u(e){return Hn[e].body.toJSON()}function c(e,t){var n={fireEvent:function(e,t,n,r,o){var i=Hn[e],a=i.getRef(t);return i.fireEvent(a,n,r,o)},callback:function(e,t,n,r){return Hn[e].handleCallback(t,n,r)}};if(Hn[e]&&Array.isArray(t)){var r=[];return t.forEach(function(t){var o=n[t.method],i=[].concat(t.args);"function"==typeof o&&(i.unshift(e),r.push(o.apply(void 0,i)))}),r}}function l(e){return e&&e.__esModule?e.default:e}function f(e,t){return t={exports:{}},e(t,t.exports),t.exports}function d(e){console.warn("[JS Framework] Vm#$ is deprecated, please use Vm#$vm instead");var t=this._ids[e];if(t)return t.vm}function p(e){var t=this._ids[e];if(t)return t.el}function h(e){var t=this._ids[e];if(t)return t.vm}function v(e){return this._app.differ.then(function(){e()})}function m(e,t){console.warn("[JS Framework] Vm#$scrollTo is deprecated, please use \"require('@weex-module/dom').scrollTo(el, options)\" instead");var n=this.$el(e);if(n){this._app.requireModule("dom").scrollToElement(n.ref,{offset:t})}}function y(e,t,n){var r=this,o=this.$el(e);if(o&&t&&t.styles){this._app.requireModule("animation").transition(o.ref,t,function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];r._setStyle(o,t.styles),n&&n.apply(void 0,e)})}}function _(e){var t=this._app.options;return"function"==typeof e&&(console.warn("[JS Framework] the callback of Vm#$getConfig(callback) is deprecated, this api now can directly RETURN config info."),e(t)),t}function g(e,t){console.warn("[JS Framework] Vm#$sendHttp is deprecated, please use \"require('@weex-module/stream').sendHttp(params, callback)\" instead"),this._app.requireModule("stream").sendHttp(e,t)}function b(e){console.warn("[JS Framework] Vm#$openURL is deprecated, please use \"require('@weex-module/event').openURL(url)\" instead"),this._app.requireModule("event").openURL(e)}function w(e){console.warn("[JS Framework] Vm#$setTitle is deprecated, please use \"require('@weex-module/pageInfo').setTitle(title)\" instead"),this._app.requireModule("pageInfo").setTitle(e)}function O(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];console.warn("[JS Framework] Vm#$call is deprecated, please use \"require('@weex-module/moduleName')\" instead");var o=this._app.requireModule(e);o&&o[t]&&o[t].apply(o,n)}function E(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[e].concat(t));else{var r=t.shift();for(var o in r)e[o]=r[o];t.length&&E.apply(void 0,[e].concat(t))}return e}function x(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function S(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function C(e,t){return wr.call(e,t)}function k(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function j(e){return null!==e&&"object"==typeof e}function A(e){return Or.call(e)===Er}function I(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function T(){return"object"==typeof nativeSet?nativeSet.create():new zn}function N(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()}function P(e){return e.replace(Sr,"").replace(Cr,"")}function M(e){return e.replace(jr,"")}function $(){this.id=Pr++,this.subs=[]}function R(e){$.target&&Mr.push($.target),$.target=e}function D(){$.target=Mr.pop()}function F(){$.target=null,Mr=[]}function L(e,t,n,r){r&&E(this,r);var o="function"==typeof t;this.vm=e,e._watchers.push(this),this.expression=t,this.cb=n,this.id=++$r,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=T(),this.newDepIds=T(),o&&(this.getter=t),this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function U(e,t){var n,r,o,i;if(t||(t=Rr,t.clear()),o=Array.isArray(e),i=j(e),o||i){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)U(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)U(e[r[n]],t)}}function B(e){if(this.value=e,this.dep=new $,x(e,"__ob__",this),Array.isArray(e)){(xr?V:q)(e,Fr,Lr),this.observeArray(e)}else this.walk(e)}function V(e,t){e.__proto__=t}function q(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];x(e,i,t[i])}}function W(e,t){if(j(e)){var n;return C(e,"__ob__")&&e.__ob__ instanceof B?n=e.__ob__:(Array.isArray(e)||A(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new B(e)),n&&t&&n.addVm(t),n}}function z(e,t,n){var r=new $,o=Object.getOwnPropertyDescriptor(e,t);if(!o||!1!==o.configurable){var i=o&&o.get,a=o&&o.set,s=W(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=i?i.call(e):n;if($.target&&(r.depend(),s&&s.dep.depend(),Array.isArray(t)))for(var o=void 0,a=0,u=t.length;a<u;a++)(o=t[a])&&o.__ob__&&o.__ob__.dep.depend();return t},set:function(t){t!==(i?i.call(e):n)&&(a?a.call(e,t):n=t,s=W(t),r.notify())}})}}function J(e,t,n){if(Array.isArray(e))return e.splice(t,1,n);if(C(e,t))return void(e[t]=n);if(e._isVue)return void J(e._data,t,n);var r=e.__ob__;if(!r)return void(e[t]=n);if(r.convert(t,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var i=r.vms[o];G(i,t)}return n}function H(e,t){if(C(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&delete e._data[t]);if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var o=n.vms[r];X(o,t)}}}function G(e,t){(Ur.indexOf(t)>-1||!I(t))&&Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function X(e,t){I(t)||delete e[t]}function K(e){e._watchers=[],Z(e),Y(e),te(e)}function Z(e){var t=e._data;A(t)||(t={});for(var n=Object.keys(t),r=n.length;r--;)G(e,n[r]);W(t,e)}function Q(){}function Y(e){var t=e._computed;if(t)for(var n in t){var r=t[n],o={enumerable:!0,configurable:!0};"function"==typeof r?(o.get=ee(r,e),o.set=Q):(o.get=r.get?!1!==r.cache?ee(r.get,e):k(r.get,e):Q,o.set=r.set?k(r.set,e):Q),Object.defineProperty(e,n,o)}}function ee(e,t){var n=new L(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),$.target&&n.depend(),n.value}}function te(e){var t=e._methods;if(t)for(var n in t)e[n]=t[n]}function ne(e){var t=e.type,n=Vr[t];if("object"==typeof n)for(var r in n)if(null==e[r])e[r]=n[r];else if("object"===N(e[r])&&"object"===N(n[r]))for(var o in n[r])null==e[r][o]&&(e[r][o]=n[r][o])}function re(e,t,n){ce(e,t,n.id,e),le(e,t,n.attr),de(e,t,n.classList),pe(e,t,n.style),ve(e,t,n.events)}function oe(e,t,n,r){t=t||{},n=n||{};var o=t._options||{},i=o.props;Array.isArray(i)&&(i=i.reduce(function(e,t){return e[t]=!0,e},{})),ae(r,i,e,t),ae(n.attr,i,e,t)}function ie(e,t,n,r){void 0===r&&(r={}),ue(n.classList,e,t),se(n.style,e,t),r.children?r.children[r.children.length-1]._vm=t:r._vm=t}function ae(e,t,n,r){if(e){for(var o in e)!function(o){if(!t||t[o]){var i=e[o];if("function"==typeof i){var a=_e(n,i,function(e){r[o]=e});r[o]=a}else r[o]=i}}(o)}}function se(e,t,n){for(var r in e)!function(r){var o=e[r];if("function"==typeof o){var i=_e(t,o,function(e){n._rootEl&&n._rootEl.setStyle(r,e)});n._rootEl.setStyle(r,i)}else n._rootEl&&n._rootEl.setStyle(r,o)}(r)}function ue(e,t,n){function r(e,t){"array"===N(e)&&e.unshift(t)}var o=t._options&&t._options.style||{};if(n._rootEl){var i="@originalRootEl";if(o[i]=n._rootEl.classStyle,"function"==typeof e){var a=_e(t,e,function(e){r(e,i),fe(n._rootEl,o,e)});r(a,i),fe(n._rootEl,o,a)}else null!=e&&(r(e,i),fe(n._rootEl,o,e))}}function ce(e,t,n,r){var o=Object.create(null);if(Object.defineProperties(o,{vm:{value:r,writable:!1,configurable:!1},el:{get:function(){return t||r._rootEl},configurable:!1}}),"function"==typeof n){var i=n;n=i.call(e),(n||0===n)&&(e._ids[n]=o),_e(e,i,function(t){t&&(e._ids[t]=o)})}else n&&"string"==typeof n&&(e._ids[n]=o)}function le(e,t,n){me(e,t,"attr",n)}function fe(e,t,n){for(var r={},o=n.length,i=0;i<o;i++)!function(e){var o=t[n[e]];o&&Object.keys(o).forEach(function(e){r[e]=o[e]})}(i);e.setClassStyle(r)}function de(e,t,n){if("function"==typeof n||Array.isArray(n)){if(Array.isArray(n)&&!n.length)return void t.setClassStyle({});var r=e._options&&e._options.style||{};if("function"==typeof n){var o=_e(e,n,function(e){fe(t,r,e)});fe(t,r,o)}else fe(t,r,n)}}function pe(e,t,n){me(e,t,"style",n)}function he(e,t,n,r){t.addEvent(n,k(r,e))}function ve(e,t,n){if(n)for(var r=Object.keys(n),o=r.length;o--;){var i=r[o],a=n[i];"string"==typeof a&&((a=e[a])||console.warn('[JS Framework] The event handler "'+a+'" is not defined.')),he(e,t,i,a)}}function me(e,t,n,r){if(r)for(var o=Object.keys(r),i=o.length;i--;){var a=o[i],s=r[a];"function"==typeof s?ye(e,t,n,a,s):t[qr[n]](a,s)}}function ye(e,t,n,r,o){var i=qr[n],a=_e(e,o,function(n){function o(){t[i](r,n)}var a=e&&e._app&&e._app.differ;a?a.append("element",t.depth,t.ref,o):o()});t[i](r,a)}function _e(e,t,n){return e._static?t.call(e,e):new L(e,t,function(e,t){"object"!=typeof e&&e===t||n(e)}).value}function ge(e,t){return e._app.doc.createBody(t)}function be(e,t){return e._app.doc.createElement(t)}function we(e,t){var n=Oe(e),r=Ee(e),o=Wr++;if(t.element){var i=t.updateMark;i?(i.element&&(i=i.end),t.element.insertAfter(r,i),t.element.insertAfter(n,i),t.updateMark=r):(t.element.insertBefore(n,t.end),t.element.insertBefore(r,t.end)),t=t.element}else t.appendChild(n),t.appendChild(r);return{start:n,end:r,element:t,blockId:o}}function Oe(e){return e._app.doc.createComment("start")}function Ee(e){return e._app.doc.createComment("end")}function xe(e,t,n){if(n.element){var r=n.end,o=n.updateMark;if(n.children&&n.children.push(t),o){var i=Se(e,t,o);return n.updateMark=t.element?t.end:t,i}if(!t.element)return n.element.insertBefore(t,r);n.element.insertBefore(t.start,r),n.element.insertBefore(t.end,r)}else{if(!t.element)return n.appendChild(t);n.appendChild(t.start),n.appendChild(t.end)}}function Se(e,t,n){return t.element?ke(t,n):Ce(t,n)}function Ce(e,t){var n=t.parentNode;if(n)return n.insertAfter(e,t)}function ke(e,t){var n=t.parentNode;if(n){for(var r,o=e.start,i=[o];o&&o!==e.end;)o=o.nextSibling,i.push(o);var a=t;return i.every(function(e){return r=n.insertAfter(e,a),a=e,-1!==r}),r}}function je(e,t,n){void 0===n&&(n=!1),t.element?Ie(t,n):Ae(t),t._vm&&t._vm.$emit("hook:destroyed")}function Ae(e){var t=e.parentNode;t&&t.removeChild(e)}function Ie(e,t){void 0===t&&(t=!1);for(var n=[],r=e.start.nextSibling;r&&r!==e.end;)n.push(r),r=r.nextSibling;t||Ae(e.start),n.forEach(function(e){Ae(e)}),t||Ae(e.end)}function Te(e){var t=e._options||{},n=t.template||{};t.replace?n.children&&1===n.children.length?Ne(e,n.children[0],e._parentEl):Ne(e,n.children,e._parentEl):Ne(e,n,e._parentEl),console.debug('[JS Framework] "ready" lifecycle in Vm('+e._type+")"),e.$emit("hook:ready"),e._ready=!0}function Ne(e,t,n,r){if(-1!==(e._app||{}).lastSignal){if(t.attr&&t.attr.hasOwnProperty("static")&&(e._static=!0),Pe(t))return void Le(e,t,n,r);if(r=r||{},Me(t))return console.debug('[JS Framework] compile "content" block by',t),void(e._content=we(e,n));if($e(t,r))return console.debug('[JS Framework] compile "repeat" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `repeat` directive!"):Ue(e,t,n));if(Re(t,r))return console.debug('[JS Framework] compile "if" logic by',t),void("document"===n.type?console.warn("[JS Framework] The root element does't support `if` directive!"):Be(e,t,n,r));var o=r.type||t.type;if(De(o,r))return void Ve(e,t,n,o,r);var i=o,a=Fe(e,t,i);if(a)return console.debug("[JS Framework] compile composed component by",t),void qe(e,a,t,n,i,r);console.debug("[JS Framework] compile native component by",t),We(e,t,n,i)}}function Pe(e){return Array.isArray(e)}function Me(e){return"content"===e.type||"slot"===e.type}function $e(e,t){return!t.hasOwnProperty("repeat")&&e.repeat}function Re(e,t){return!t.hasOwnProperty("shown")&&e.shown}function De(e,t){return"function"==typeof e&&!t.hasOwnProperty("type")}function Fe(e,t,n){var r;return e._app&&e._app.customComponentMap&&(r=e._app.customComponentMap[n]),e._options&&e._options.components&&(r=e._options.components[n]),t.component&&(r=r||{}),r}function Le(e,t,n,r){var o=we(e,n);t.forEach(function(t){Ne(e,t,o,r)})}function Ue(e,t,n){var r=t.repeat,o="function"==typeof r,i=r.getter||r.expression||r;"function"!=typeof i&&(i=function(){return[]});var a=r.key||"$index",s=r.value||"$value",u=r.trackBy||t.trackBy||t.attr&&t.attr.trackBy,c=we(e,n);c.children=[],c.data=[],c.vms=[],Je(e,t,c,{getter:i,key:a,value:s,trackBy:u,oldStyle:o})}function Be(e,t,n,r){var o={shown:!0},i=we(e,n);n.element&&n.children&&n.children.push(i),r.repeat&&(o.repeat=r.repeat),He(e,t,i,o)}function Ve(e,t,n,r,o){var i=r.call(e),a=E({type:i},o),s=we(e,n);n.element&&n.children&&n.children.push(s),_e(e,r,function(n){var r=E({type:n},o);je(e,s,!0),Ne(e,t,s,r)}),Ne(e,t,s,a)}function qe(e,t,n,r,o,i){var a=e.constructor,s=new a(o,t,e,r,void 0,{"hook:init":function(){e._static&&(this._static=e._static),ce(e,null,n.id,this),this._externalBinding={parent:e,template:n}},"hook:created":function(){oe(e,this,n,i.repeat)},"hook:ready":function(){this._content&&ze(e,n,this._content)}});ie(e,s,n,r)}function We(e,t,n,r){ne(t);var o;if("_documentElement"===n.ref?(console.debug("[JS Framework] compile to create body for "+r),o=ge(e,r)):(console.debug("[JS Framework] compile to create element for "+r),o=be(e,r)),!e._rootEl){e._rootEl=o;var i=e._externalBinding||{},a=i.template,s=i.parent;if(a&&a.events&&s&&o)for(var u in a.events){var c=s[a.events[u]];c&&o.addEvent(u,k(c,s))}}re(e,o,t),t.attr&&t.attr.append&&(t.append=t.attr.append),t.append&&(o.attr=o.attr||{},o.attr.append=t.append);var l="tree"===t.append,f=e._app||{};-1===f.lastSignal||l||(console.debug("[JS Framework] compile to append single node for",o),f.lastSignal=xe(e,o,n)),-1!==f.lastSignal&&ze(e,t,o),-1!==f.lastSignal&&l&&(console.debug("[JS Framework] compile to append whole tree for",o),f.lastSignal=xe(e,o,n))}function ze(e,t,n){var r=e._app||{},o=t.children;o&&o.length&&o.every(function(t){return Ne(e,t,n),-1!==r.lastSignal})}function Je(e,t,n,r){function o(e,r,o){var a;c?(a=e,j(e)?(a[l]=r,a.hasOwnProperty("INDEX")||Object.defineProperty(a,"INDEX",{value:function(){console.warn('[JS Framework] "INDEX" in repeat is deprecated, please use "$index" instead')}})):(console.warn("[JS Framework] Each list item must be an object in old-style repeat, please use `repeat={{v in list}}` instead."),a={},a[l]=r,a[f]=e)):(a={},a[l]=r,a[f]=e);var s=Xe(o,a);i.push(s),Ne(s,t,n,{repeat:e})}var i=n.vms,a=n.children,s=r.getter,u=r.trackBy,c=r.oldStyle,l=r.key,f=r.value,d=Ge(e,n,s,"repeat",function(t){if(console.debug('[JS Framework] the "repeat" item has changed',t),n&&t){var r=a.slice(),s=i.slice(),d=n.data.slice(),p={},h={};t.forEach(function(e,t){var n=u?e[u]:c?e[l]:t;null!=n&&""!==n&&(p[n]=e)});var v=[];d.forEach(function(t,n){var o=u?t[u]:c?t[l]:n;p.hasOwnProperty(o)?(h[o]={item:t,index:n,key:o,target:r[n],vm:s[n]},v.push(t)):je(e,r[n])}),a.length=0,i.length=0,n.data=t.slice(),n.updateMark=n.start,t.forEach(function(t,r){var s=u?t[u]:c?t[l]:r,d=h[s];d?(d.item===v[0]?v.shift():(v.$remove(d.item),Se(e,d.target,n.updateMark,!0)),a.push(d.target),i.push(d.vm),c?d.vm=t:d.vm[f]=t,d.vm[l]=r,n.updateMark=d.target):o(t,r,e)}),delete n.updateMark}});n.data=d.slice(0),d.forEach(function(t,n){o(t,n,e)})}function He(e,t,n,r){var o=Ge(e,n,t.shown,"shown",function(o){console.debug('[JS Framework] the "if" item was changed',o),n&&!!n.display!=!!o&&(n.display=!!o,o?Ne(e,t,n,r):je(e,n,!0))});n.display=!!o,o&&Ne(e,t,n,r)}function Ge(e,t,n,r,o){var i=e&&e._app&&e._app.differ,a={},s=(t.element.depth||0)+1;return _e(e,n,function(e){a.latestValue=e,i&&!a.recorded&&i.append(r,s,t.blockId,function(){var e=a.latestValue;o(e),a.recorded=!1,a.latestValue=void 0}),a.recorded=!0})}function Xe(e,t){var n=Object.create(e);return n._data=t,Z(n),Y(n),n._realParent=e,e._static&&(n._static=e._static),n}function Ke(e,t){if(t instanceof Ke)return t;this.timestamp=Date.now(),this.detail=t,this.type=e;var n=!1;this.stop=function(){n=!0},this.hasStopped=function(){return n}}function Ze(e,t){var n=this,r=this._vmEvents,o=r[e];if(o){var i=new Ke(e,t);o.forEach(function(e){e.call(n,i)})}}function Qe(e,t){var n=new Ke(e,t);this.$emit(e,n),!n.hasStopped()&&this._parent&&this._parent.$dispatch&&this._parent.$dispatch(e,n)}function Ye(e,t){var n=new Ke(e,t);this.$emit(e,n),!n.hasStopped()&&this._childrenVms&&this._childrenVms.forEach(function(t){t.$broadcast(e,n)})}function et(e,t){if(e&&"function"==typeof t){var n=this._vmEvents,r=n[e]||[];r.push(t),n[e]=r,"hook:ready"===e&&this._ready&&this.$emit("hook:ready")}}function tt(e,t){if(e){var n=this._vmEvents;if(!t)return void delete n[e];var r=n[e];r&&r.$remove(t)}}function nt(e,t){var n=e._options||{},r=n.events||{};for(var o in r)e.$on(o,r[o]);for(var i in t)e.$on(i,t[i]);zr.forEach(function(t){e.$on("hook:"+t,n[t])})}function rt(e,t,n,r,o,i){n=n||{},this._parent=n._realParent?n._realParent:n,this._app=n._app||{},n._childrenVms&&n._childrenVms.push(this),!t&&this._app.customComponentMap&&(t=this._app.customComponentMap[e]),t=t||{};var a=t.data||{};this._options=t,this._methods=t.methods||{},this._computed=t.computed||{},this._css=t.style||{},this._ids={},this._vmEvents={},this._childrenVms=[],this._type=e,nt(this,i),console.debug('[JS Framework] "init" lifecycle in Vm('+this._type+")"),this.$emit("hook:init"),this._inited=!0,this._data="function"==typeof a?a():a,o&&E(this._data,o),K(this),console.debug('[JS Framework] "created" lifecycle in Vm('+this._type+")"),this.$emit("hook:created"),this._created=!0,t.methods&&t.methods.ready&&(console.warn('"exports.methods.ready" is deprecated, please use "exports.created" instead'),t.methods.ready.call(this)),this._app.doc&&(this._parentEl=r||this._app.doc.documentElement,Te(this))}function ot(e,t){for(var n in e)!function(n){var r=Jr[n];r||(r={},Jr[n]=r),e[n].forEach(function(e){"string"==typeof e&&(e={name:e}),r[e.name]&&!t||(r[e.name]=e)})}(n)}function it(e,t){var n=e.prototype;for(var r in t)n.hasOwnProperty(r)||(n[r]=t[r])}function at(e,t){var n=Jr[t],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{configurable:!0,enumerable:!0,get:function(){return function(){for(var r=[],o=arguments.length;o--;)r[o]=arguments[o];return e.callTasks({module:t,method:n,args:r})}},set:function(r){if("function"==typeof r)return e.callTasks({module:t,method:n,args:[r]})}})}(o);return r}function st(e,t){return e.customComponentMap[t]}function ut(e,t,n){var r=e.customComponentMap;if(r[t])return void console.error("[JS Framework] define a component("+t+") that already exists");r[t]=n}function ct(e){if(Hr.valid(e))return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function lt(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),o.indexOf("osversion")>=0?r.code=1001:o.indexOf("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r}function ft(e,t){t=t||global.WXEnvironment,t=A(t)?t:{};var n={isDowngrade:!1};if("function"===N(e)){var r=e.call(this,t,{semver:Hr,normalizeVersion:ct});r=!!r,n=r?lt("custom","","custom params"):n}else{e=A(e)?e:{};var o=t.platform||"unknow",i=o.toLowerCase(),a=e[i]||{};for(var s in t){var u=s,c=u.toLowerCase(),l=t[s],f=c.indexOf("version")>=0,d=c.indexOf("devicemodel")>=0,p=a[s];if(p&&f){var h=ct(p),v=ct(t[s]);if(Hr.satisfies(v,h)){n=lt(u,l,p);break}}else if(d){var m="array"===N(p)?p:[p];if(m.indexOf(l)>=0){n=lt(u,l,p);break}}}}return n}function dt(e,t){if(void 0===t&&(t={}),e&&e.callTasks)return e.callTasks([{module:"meta",method:"setViewport",args:[t]}])}function pt(e,t,n,r){console.debug("[JS Framework] bootstrap for "+t);var o;if(Ar(t))o=P(t);else{if(!Nr(t))return new Error("Wrong component name: "+t);if(o=M(t),!st(e,o))return new Error("It's not a component: "+t)}if(n=A(n)?n:{},"string"==typeof n.transformerVersion&&"string"==typeof global.transformerVersion&&!Hr.satisfies(n.transformerVersion,global.transformerVersion))return new Error("JS Bundle version: "+n.transformerVersion+" not compatible with "+global.transformerVersion);var i=ft(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&&dt(e,n.viewport),e.vm=new rt(o,null,{_app:e},null,r)}function ht(e,t,n){console.warn("[JS Framework] Register is deprecated, please install lastest transformer."),ut(e,t,n)}function vt(e,t){console.debug("[JS Framework] Refresh with",t,"in instance["+e.id+"]");var n=e.vm;return n&&t?("function"==typeof n.refreshData?n.refreshData(t):E(n,t),e.differ.flush(),void e.doc.taskCenter.send("dom",{action:"refreshFinish"},[])):new Error('invalid data "'+t+'"')}function mt(e){console.debug("[JS Framework] Destory an instance("+e.id+")"),e.vm&&yt(e.vm),e.id="",e.options=null,e.blocks=null,e.vm=null,e.doc.taskCenter.destroyCallback(),e.doc.destroy(),e.doc=null,e.customComponentMap=null,e.commonModules=null}function yt(e){if(delete e._app,delete e._computed,delete e._css,delete e._data,delete e._ids,delete e._methods,delete e._options,delete e._parent,delete e._parentEl,delete e._rootEl,e._watchers){for(var t=e._watchers.length;t--;)e._watchers[t].teardown();delete e._watchers}if(e._childrenVms){for(var n=e._childrenVms.length;n--;)yt(e._childrenVms[n]);delete e._childrenVms}console.debug('[JS Framework] "destroyed" lifecycle in Vm('+e._type+")"),e.$emit("hook:destroyed"),delete e._type,delete e._vmEvents}function _t(e){var t=e.doc||{},n=t.body||{};return n.toJSON?n.toJSON():{}}function gt(e,t,n,r,o){if(console.debug('[JS Framework] Fire a "'+n+'" event on an element('+t+") in instance("+e.id+")"),Array.isArray(t))return void t.some(function(t){return!1!==gt(e,t,n,r)});var i=e.doc.getRef(t);if(i){var a=e.doc.fireEvent(i,n,r,o);return e.differ.flush(),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),a}return new Error('invalid element reference "'+t+'"')}function bt(e,t,n,r){console.debug("[JS Framework] Invoke a callback("+t+") with",n,"in instance("+e.id+")");var o=e.doc.taskCenter.callback(t,n,r);return wt(e),e.doc.taskCenter.send("dom",{action:"updateFinish"},[]),o}function wt(e){e.differ.flush()}function Ot(e,t){var n;return"array"!==N(t)&&(t=[t]),t.forEach(function(t){n=e.doc.taskCenter.send("module",{module:t.module,method:t.method},t.args)}),n}function Et(e,t,n,r){console.debug("[JS Framework] Intialize an instance with:\n",n);var o,i=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return Gr.apply(void 0,[e].concat(t))},a=function(t,r,i){o=pt(e,t,r,i||n),wt(e),e.doc.listener.createFinish(),console.debug("[JS Framework] After intialized an instance("+e.id+")")},s=rt,u=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return ht.apply(void 0,[e].concat(t))},c=function(t,n){o=pt(e,t,{},n)},l=function(t){return function(n){o=pt(e,t,{},n)}},f=e.doc,d=function(t){return e.requireModule(P(t))},p={config:e.options,define:i,bootstrap:a,requireModule:d,document:f,Vm:s};Object.freeze(p);var h;"function"==typeof t?h=t.toString().substr(12):t&&(h=t.toString()),h='(function(global){\n\n"use strict";\n\n '+h+" \n\n})(Object.create(this))";var v=global.WXEnvironment,m={};if(v&&"Web"!==v.platform){var y=e.requireModule("timer");Object.assign(m,{setTimeout:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setTimeout(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=function(){t[0].apply(t,t.slice(2))};return y.setInterval(r,t[1]),e.doc.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){y.clearTimeout(e)},clearInterval:function(e){y.clearInterval(e)}})}var _=Object.assign({define:i,require:l,bootstrap:a,register:u,render:c,__weex_define__:i,__weex_bootstrap__:a,__weex_document__:f,__weex_require__:d,__weex_viewmodel__:s,weex:p},m,r);return St(_,h)||xt(_,h),o}function xt(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function St(e,t){if("function"!=typeof compileAndRunBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=compileAndRunBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}function Ct(e,t){var n=e[t];for(var r in n)n[r]()}function kt(e,t){var n=e[t];for(var r in n){n[r].forEach(function(e){e()})}}function jt(e,t){this.id=e,this.options=t||{},this.vm=null,this.customComponentMap={},this.commonModules={},this.doc=new Br.Document(e,this.options.bundleUrl,null,Br.Listener),this.differ=new Xr(e)}function At(e,t,n,r,o){var i=o||{},a=i.services;F();var s=Kr[e];n=n||{};var u;return s?u=new Error('invalid instance id "'+e+'"'):(s=new jt(e,n),Kr[e]=s,u=Et(s,t,r,a)),u}function It(e){Br.Document=e.Document,Br.Element=e.Element,Br.Comment=e.Comment,Br.sendTasks=e.sendTasks,Br.Listener=e.Listener}function Tt(e,t){var n=Kr[e];return n?vt(n,t):new Error('invalid instance id "'+e+'"')}function Nt(e){"function"==typeof markupState&&markupState(),F();var t=Kr[e];if(!t)return new Error('invalid instance id "'+e+'"');mt(t),delete Kr[e];var n=Math.round(e);if(n>0){n%18||"function"!=typeof notifyTrimMemory||notifyTrimMemory()}return Kr}function Pt(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?Zr[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(Zr[e.type]=e))})}function Mt(e){"object"==typeof e&&ot(e)}function $t(e){"object"==typeof e&&it(rt,e)}function Rt(e,t){if(Kr[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=Qr[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function Dt(e){var t=Kr[e];return t?_t(t):new Error('invalid instance id "'+e+'"')}function Ft(){if(Ut(),global.WXEnvironment&&"Web"!==global.WXEnvironment.platform)global.console={debug:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("debug")&&global.nativeLog.apply(global,Vt(e).concat(["__DEBUG"]))},log:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("log")&&global.nativeLog.apply(global,Vt(e).concat(["__LOG"]))},info:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("info")&&global.nativeLog.apply(global,Vt(e).concat(["__INFO"]))},warn:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("warn")&&global.nativeLog.apply(global,Vt(e).concat(["__WARN"]))},error:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("error")&&global.nativeLog.apply(global,Vt(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];Bt("debug")&&console.__ori__.debug.apply(console,e)},console.log=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("log")&&console.__ori__.log.apply(console,e)},console.info=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("info")&&console.__ori__.info.apply(console,e)},console.warn=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("warn")&&console.__ori__.warn.apply(console,e)},console.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];Bt("error")&&console.__ori__.error.apply(console,e)}}}function Lt(){$u={},global.console=Ru}function Ut(){Mu.forEach(function(e){var t=Mu.indexOf(e);$u[e]={},Mu.forEach(function(n){Mu.indexOf(n)<=t&&($u[e][n]=!0)})})}function Bt(e){var t=global.WXEnvironment&&global.WXEnvironment.logLevel||"log";return $u[t]&&$u[t][e]}function Vt(e){return e.map(function(e){return e="[object object]"===Object.prototype.toString.call(e).toLowerCase()?JSON.stringify(e):String(e)})}function qt(){if(void 0===setTimeout&&"function"==typeof Fu){var e={},t=0;global.setTimeout=function(n,r){e[++t]=n,Fu(t.toString(),r)},global.setTimeoutCallback=function(t){"function"==typeof e[t]&&(e[t](),delete e[t])}}}function Wt(){global.setTimeout=Du,global.setTimeoutCallback=null}function zt(){Object.freeze(Object),Object.freeze(Array),Jt(),Object.freeze(Array.prototype),Object.freeze(String.prototype),Object.freeze(Number.prototype),Object.freeze(Boolean.prototype),Ht(),Object.freeze(Date.prototype),Object.freeze(RegExp.prototype)}function Jt(){var e=Object.prototype,t="Object.prototype";Gt(e,"__defineGetter__",t),Gt(e,"__defineSetter__",t),Gt(e,"__lookupGetter__",t),Gt(e,"__lookupSetter__",t),Gt(e,"constructor",t),Gt(e,"hasOwnProperty",t),Gt(e,"isPrototypeOf",t),Gt(e,"propertyIsEnumerable",t),Gt(e,"toLocaleString",t),Gt(e,"toString",t),Gt(e,"valueOf",t),Object.seal(e)}function Ht(){var e=Error.prototype,t="Error.prototype";Gt(e,"name",t),Gt(e,"message",t),Gt(e,"toString",t),Gt(e,"constructor",t),Object.seal(e)}function Gt(e,t,n){if(e.hasOwnProperty(t)){var r=e[t];Object.defineProperty(e,t,{get:function(){return r},set:function(r){if(this===e)throw Error("Cannot assign to read only property "+t+" of "+n);return Object.defineProperty(this,t,{value:r,writable:!0}),r}})}}function Xt(e,t){e&&(Uu[e]=t)}function Kt(e){return Uu[e]}function Zt(e){delete Uu[e]}function Qt(e){var t=Uu[e];return t&&t.taskCenter?t.taskCenter:null}function Yt(){return(Bu++).toString()}function en(e,t,n){var r=e.documentElement;if(!(r.pureChildren.length>0||t.parentNode)){var o=r.children,i=o.indexOf(n);i<0?o.push(t):o.splice(i,0,t),1===t.nodeType?("body"===t.role?(t.docId=e.id,t.ownerDocument=e,t.parentNode=r,rn(t,r)):(t.children.forEach(function(e){e.parentNode=t}),nn(e,t),t.docId=e.id,t.ownerDocument=e,rn(t,r),delete e.nodeMap[t.nodeId]),r.pureChildren.push(t),tn(e,t)):(t.parentNode=r,e.nodeMap[t.ref]=t)}}function tn(e,t){var n=t.toJSON(),r=n.children;delete n.children;var o=e.taskCenter.send("dom",{action:"createBody"},[n]);return r&&r.forEach(function(t){o=e.taskCenter.send("dom",{action:"addElement"},[n.ref,t,-1])}),o}function nn(e,t){t.role="body",t.depth=1,delete e.nodeMap[t.nodeId],t.ref="_root",e.nodeMap._root=t,e.body=t}function rn(e,t){e.parentNode=t,t.docId&&(e.docId=t.docId,e.ownerDocument=t.ownerDocument,e.ownerDocument.nodeMap[e.nodeId]=e,e.depth=t.depth+1),e.children.forEach(function(t){rn(t,e)})}function on(e){for(;e;){if(1===e.nodeType)return e;e=e.nextSibling}}function an(e){for(;e;){if(1===e.nodeType)return e;e=e.previousSibling}}function sn(e,t,n,r){n<0&&(n=0);var o=t[n-1],i=t[n];return t.splice(n,0,e),
r&&(o&&(o.nextSibling=e),e.previousSibling=o,e.nextSibling=i,i&&(i.previousSibling=e)),n}function un(e,t,n,r){var o=t.indexOf(e);if(o<0)return-1;if(r){var i=t[o-1],a=t[o+1];i&&(i.nextSibling=a),a&&(a.previousSibling=i)}t.splice(o,1);var s=n;o<=n&&(s=n-1);var u=t[s-1],c=t[s];return t.splice(s,0,e),r&&(u&&(u.nextSibling=e),e.previousSibling=u,e.nextSibling=c,c&&(c.previousSibling=e)),o===s?-1:n}function cn(e,t,n){var r=t.indexOf(e);if(!(r<0)){if(n){var o=t[r-1],i=t[r+1];o&&(o.nextSibling=i),i&&(i.previousSibling=o)}t.splice(r,1)}}function ln(){this.nodeId=Yt(),this.ref=this.nodeId,this.children=[],this.pureChildren=[],this.parentNode=null,this.nextSibling=null,this.previousSibling=null}function fn(e,t){if(t&&t.length){var n=function(t){Vu.call(this,e,t,!0)};n.prototype=Object.create(Vu.prototype),Object.defineProperty(n.prototype,"constructor",{configurable:!1,enumerable:!1,writable:!1,value:Vu}),t.forEach(function(t){n.prototype[t]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o=Qt(this.docId);if(o)return o.send("component",{ref:this.ref,component:e,method:t},n)}}),qu[e]=n}}function dn(e,t,n){void 0===e&&(e=Wu);var r=qu[e];if(r&&!n)return new r(t);t=t||{},this.nodeType=1,this.nodeId=Yt(),this.ref=this.nodeId,this.type=e,this.attr=t.attr||{},this.style=t.style||{},this.classStyle=t.classStyle||{},this.event={},this.children=[],this.pureChildren=[]}function pn(e,t){Kt(e).nodeMap[t.nodeId]=t}function hn(){var e={createFinish:global.callCreateFinish,updateFinish:global.callUpdateFinish,refreshFinish:global.callRefreshFinish,createBody:global.callCreateBody,addElement:global.callAddElement,removeElement:global.callRemoveElement,moveElement:global.callMoveElement,updateAttrs:global.callUpdateAttrs,updateStyle:global.callUpdateStyle,addEvent:global.callAddEvent,removeEvent:global.callRemoveEvent},t=Hu.prototype;for(var n in e)!function(n){var r=e[n];t[n]=r?function(e,t){return r.apply(void 0,[e].concat(t))}:function(e,t){return Ju(e,[{module:"dom",method:n,args:t}],"-1")}}(n);t.componentHandler=global.callNativeComponent||function(e,t,n,r,o){return Ju(e,[{component:o.component,ref:t,method:n,args:r}])},t.moduleHandler=global.callNativeModule||function(e,t,n,r){return Ju(e,[{module:t,method:n,args:r}])}}function vn(e,t){yn(e)?console.warn('Service "'+e+'" has been registered already!'):(t=Object.assign({},t),Ku.push({name:e,options:t}))}function mn(e){Ku.some(function(t,n){if(t.name===e)return Ku.splice(n,1),!0})}function yn(e){return _n(e)>=0}function _n(e){return Ku.map(function(e){return e.name}).indexOf(e)}function gn(e){var t,n=Zu.exec(e);if(n)try{t=JSON.parse(n[1])}catch(e){}return t}function bn(e,t,n){var r=Object.create(null);return r.service=Object.create(null),Ku.forEach(function(o){var i=(o.name,o.options),a=i.create;if(a){var s=a(e,t,n);Object.assign(r.service,s),Object.assign(r,s.instance)}}),delete r.service.instance,Object.freeze(r.service),r}function wn(e,t,n,r){var o=Qu[e];if(!o){o=gn(t)||{},Gu[o.framework]||(o.framework="Weex"),n=JSON.parse(JSON.stringify(n||{})),n.bundleVersion=o.version,n.env=JSON.parse(JSON.stringify(global.WXEnvironment||{})),console.debug("[JS Framework] create an "+o.framework+"@"+n.bundleVersion+" instance from "+n.bundleVersion);var i={info:o,config:n,created:Date.now(),framework:o.framework};return i.services=bn(e,i,Xu),Qu[e]=i,Gu[o.framework].createInstance(e,t,n,r,i)}return new Error('invalid instance id "'+e+'"')}function On(e){Yu[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];"registerComponents"===e&&En(t[0]);for(var r in Gu){var o=Gu[r];o&&o[e]&&o[e].apply(o,t)}}}function En(e){Array.isArray(e)&&e.forEach(function(e){e&&e.type&&e.methods&&fn(e.type,e.methods)})}function xn(e){Yu[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Qu[r];if(o&&Gu[o.framework]){var i=(a=Gu[o.framework])[e].apply(a,t);return"refreshInstance"===e?Ku.forEach(function(e){var t=e.options.refresh;t&&t(r,{info:o,runtime:Xu})}):"destroyInstance"===e&&(Ku.forEach(function(e){var t=e.options.destroy;t&&t(r,{info:o,runtime:Xu})}),delete Qu[r]),i}return new Error('invalid instance id "'+r+'"');var a}}function Sn(e,t){Yu[t]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=Qu[r];return o&&Gu[o.framework]?(i=Gu[o.framework])[e].apply(i,t):new Error('invalid instance id "'+r+'"');var i}}function Cn(e){Xu=e||{},Gu=Xu.frameworks||{},hn();for(var t in Gu){Gu[t].init(e)}return["registerComponents","registerModules","registerMethods"].forEach(On),["destroyInstance","refreshInstance","receiveTasks","getRoot"].forEach(xn),Sn("receiveTasks","callJS"),Yu}function kn(e){this.nodeType=8,this.nodeId=Yt(),this.ref=this.nodeId,this.type="comment",this.value=e,this.children=[],this.pureChildren=[]}function jn(e,t){this.id=e,this.batched=!1,this.updates=[],"function"==typeof t?Object.defineProperty(this,"handler",{configurable:!0,enumerable:!0,writable:!0,value:t}):console.error("[JS Runtime] invalid parameter, handler must be a function")}function An(e,t){return void 0===t&&(t=[]),{module:"dom",method:e,args:t}}function In(e,t){var n=t||global.callNative;return"function"!=typeof n&&console.error("[JS Runtime] no default handler"),function(t){Array.isArray(t)||(t=[t]);for(var r=0;r<t.length;r++){var o=Nn(e,t[r],n);if(-1===o)return o}}}function Tn(e,t){return"dom"===e&&ec[t]&&"function"==typeof global[ec[t]]}function Nn(e,t,n){var r=t.module,o=t.method,i=t.args;return Tn(r,o)?global[ec[o]].apply(global,[e].concat(i,["-1"])):n(e,[t],"-1")}function Pn(e,t,n){e=e?e.toString():"",this.id=e,this.URL=t,Xt(e,this),this.nodeMap={};var r=Pn.Listener||jn;this.listener=new r(e,n||In(e,Pn.handler)),this.taskCenter=new Hu(e,n?function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return n.apply(void 0,t)}:Pn.handler),this.createDocumentElement()}function Mn(e,t){var n=t.attrs||{};for(var r in n)e.setAttr(r,n[r],!0);var o=t.style||{};for(var i in o)e.setStyle(i,o[i],!0)}function $n(){zt(),Object.freeze(tc.Element),Object.freeze(tc.Comment),Object.freeze(tc.Listener),Object.freeze(tc.Document.prototype),Object.freeze(tc.Element.prototype),Object.freeze(tc.Comment.prototype),Object.freeze(tc.Listener.prototype)}function Rn(e,t){void 0===t&&(t={}),this.type=e||"message",this.data=t.data||null,this.origin=t.origin||"",this.source=t.source||null,this.ports=t.ports||[],this.target=null,this.timeStamp=Date.now()}function Dn(){}function Fn(e,t,n,r){console.warn("[Upgrade Warning] $userTrack will be removed in the next version!"),console.warn("[JS Framework] Vm#$userTrack is deprecated, please use \"require('@weex-module/userTrack').commit(type, name, comName, param)\" instead"),this._app.requireModule("userTrack").commit(e,t,n,r)}function Ln(e,t){if(console.warn("[Upgrade Warning] $sendMtop will be removed in the next version!"),console.warn("[JS Framework] Vm#$sendMtop is deprecated, please use \"require('@weex-module/stream').sendMtop(params, callback)\" instead"),"undefined"==typeof window){this._app.requireModule("windvane").call({class:"MtopWVPlugin",method:"send",data:e},t)}else{this._app.requireModule("stream").sendMtop(e,t)}}function Un(e,t){console.warn("[Upgrade Warning] $callWindvane will be removed in the next version!"),console.warn("[JS Framework] Vm#$callWindvane is deprecated, please use \"require('@weex-module/windvane').call(params, callback)\" instead"),this._app.requireModule("windvane").call(e,t)}function Bn(e,t){console.warn("[Upgrade Warning] $setSpm will be removed in the next version!"),console.warn("[JS Framework] Vm#$setSpm is deprecated, please use \"require('@weex-module/pageInfo').setSpm(a, b)\" instead"),this._app.requireModule("pageInfo").setSpm(e,t)}function Vn(e){console.warn("[Upgrade Warning] $getUserInfo will be removed in the next version!"),console.warn("[JS Framework] Vm#$getUserInfo is deprecated, please use \"require('@weex-module/user').getUserInfo(callback)\" instead"),this._app.requireModule("user").getUserInfo(e)}function qn(e){console.warn("[Upgrade Warning] $login will be removed in the next version!"),console.warn("[JS Framework] Vm#$login is deprecated, please use \"require('@weex-module/user').login(callback)\" instead"),this._app.requireModule("user").login(e)}function Wn(e){console.warn("[Upgrade Warning] $logout will be removed in the next version!"),console.warn("[JS Framework] Vm#$logout is deprecated, please use \"require('@weex-module/user').logout(callback)\" instead"),this._app.requireModule("user").logout(e)}var zn,Jn={},Hn={},Gn=e,Xn=t,Kn=n,Zn=r,Qn=o,Yn=i,er=a,tr=s,nr=u,rr=c,or={init:Gn,registerComponents:Xn,registerModules:Kn,registerMethods:Zn,prepareInstance:Qn,createInstance:Yn,refreshInstance:er,destroyInstance:tr,getRoot:nr,receiveTasks:rr},ir=Object.freeze({default:or,__moduleExports:or,init:Gn,registerComponents:Xn,registerModules:Kn,registerMethods:Zn,prepareInstance:Qn,createInstance:Yn,refreshInstance:er,destroyInstance:tr,getRoot:nr,receiveTasks:rr}),ar="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},sr=function(e,t){function n(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function o(e){return!0===e}function i(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Object]"===mn.call(e)}function c(e){return"[object RegExp]"===mn.call(e)}function l(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function p(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function h(e,t){return yn.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function m(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function y(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function _(e,t){for(var n in t)e[n]=t[n];return e}function g(e){for(var t={},n=0;n<e.length;n++)e[n]&&_(t,e[n]);return t}function b(){}function w(e,t){var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{return JSON.stringify(e)===JSON.stringify(t)}catch(n){return e===t}}function O(e,t){for(var n=0;n<e.length;n++)if(w(e[n],t))return n;return-1}function E(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function x(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function S(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function C(e){if(!In.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function k(e,t,n){if(jn.errorHandler)jn.errorHandler.call(null,e,t,n);else{if(!Pn||"undefined"==typeof console)throw e;console.error(e)}}function j(e){return"function"==typeof e&&/native code/.test(e.toString())}function A(e){Jn.target&&Hn.push(Jn.target),Jn.target=e}function I(){Jn.target=Hn.pop()}function T(e,t){e.__proto__=t}function N(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];S(e,i,t[i])}}function P(e,t){if(s(e)){var n;return h(e,"__ob__")&&e.__ob__ instanceof Qn?n=e.__ob__:Zn.shouldConvert&&!Bn()&&(Array.isArray(e)||u(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Qn(e)),t&&n&&n.vmCount++,n}}function M(e,t,n,r){var o=new Jn,i=Object.getOwnPropertyDescriptor(e,t);if(!i||!1!==i.configurable){var a=i&&i.get,s=i&&i.set,u=P(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return Jn.target&&(o.depend(),u&&u.dep.depend(),Array.isArray(t)&&D(t)),t},set:function(t){var r=a?a.call(e):n;t===r||t!==t&&r!==r||(s?s.call(e,t):n=t,u=P(t),o.notify())}})}}function $(e,t,n){if(Array.isArray(e)&&"number"==typeof t)return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(h(e,t))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(M(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function R(e,t){if(Array.isArray(e)&&"number"==typeof t)return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||h(e,t)&&(delete e[t],n&&n.dep.notify())}function D(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&D(t)}function F(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.length;a++)n=i[a],r=e[n],o=t[n],h(e,n)?u(r)&&u(o)&&F(r,o):$(e,n,o);return e}function L(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function U(e,t){var n=Object.create(e||null);return t?_(n,t):n}function B(e){var t=e.props;if(t){var n,r,o,i={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o=gn(r),i[o]={type:null});else if(u(t))for(var a in t)r=t[a],o=gn(a),i[o]=u(r)?r:{type:r};e.props=i}}function V(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function q(e,t,n){function r(r){var o=Yn[r]||er;u[r]=o(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),B(t),V(t);var o=t.extends;if(o&&(e=q(e,o,n)),t.mixins)for(var i=0,a=t.mixins.length;i<a;i++)e=q(e,t.mixins[i],n);var s,u={};for(s in e)r(s);for(s in t)h(e,s)||r(s);return u}function W(e,t,n,r){if("string"==typeof n){var o=e[t];if(h(o,n))return o[n];var i=gn(n);if(h(o,i))return o[i];var a=bn(i);if(h(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function z(e,t,n,r){var o=t[e],i=!h(n,e),a=n[e];if(G(Boolean,o.type)&&(i&&!h(o,"default")?a=!1:G(String,o.type)||""!==a&&a!==On(e)||(a=!0)),void 0===a){a=J(r,o,e);var s=Zn.shouldConvert;Zn.shouldConvert=!0,P(a),Zn.shouldConvert=s}return a}function J(e,t,n){if(h(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==H(t.type)?r.call(e):r}}function H(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function G(e,t){if(!Array.isArray(t))return H(t)===H(e);for(var n=0,r=t.length;n<r;n++)if(H(t[n])===H(e))return!0;return!1}function X(e){return new tr(void 0,void 0,void 0,String(e))}function K(e){var t=new tr(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.isCloned=!0,t}function Z(e){for(var t=e.length,n=new Array(t),r=0;r<t;r++)n[r]=K(e[r]);return n}function Q(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,e)}return t.fns=e,t}function Y(e,t,r,o,i){var a,s,u,c;for(a in e)s=e[a],u=t[a],c=ir(a),n(s)||(n(u)?(n(s.fns)&&(s=e[a]=Q(s)),r(c.name,s,c.once,c.capture,c.passive)):s!==u&&(u.fns=s,e[a]=u));for(a in t)n(e[a])&&(c=ir(a),o(c.name,t[a],c.capture))}function ee(e,t,i){function a(){i.apply(this,arguments),p(s.fns,a)}var s,u=e[t];n(u)?s=Q([a]):r(u.fns)&&o(u.merged)?(s=u,s.fns.push(a)):s=Q([u,a]),s.merged=!0,e[t]=s}function te(e,t,o){var i=t.options.props;if(!n(i)){var a={},s=e.attrs,u=e.props;if(r(s)||r(u))for(var c in i){var l=On(c);ne(a,u,c,l,!0)||ne(a,s,c,l,!1)}return a}}function ne(e,t,n,o,i){if(r(t)){if(h(t,n))return e[n]=t[n],i||delete t[n],!0;if(h(t,o))return e[n]=t[o],i||delete t[o],!0}return!1}function re(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function oe(e){return a(e)?[X(e)]:Array.isArray(e)?ae(e):void 0}function ie(e){return r(e)&&r(e.text)&&i(e.isComment)}function ae(e,t){var i,s,u,c=[];for(i=0;i<e.length;i++)s=e[i],n(s)||"boolean"==typeof s||(u=c[c.length-1],Array.isArray(s)?c.push.apply(c,ae(s,(t||"")+"_"+i)):a(s)?ie(u)?u.text+=String(s):""!==s&&c.push(X(s)):ie(s)&&ie(u)?c[c.length-1]=X(u.text+s.text):(o(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+i+"__"),c.push(s)));return c}function se(e,t){return s(e)?t.extend(e):e}function ue(e,t,i){if(o(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(o(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[i],u=!0,c=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},l=E(function(n){e.resolved=se(n,t),u||c()}),f=E(function(t){r(e.errorComp)&&(e.error=!0,c())}),d=e(l,f);return s(d)&&("function"==typeof d.then?n(e.resolved)&&d.then(l,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),r(d.error)&&(e.errorComp=se(d.error,t)),r(d.loading)&&(e.loadingComp=se(d.loading,t),0===d.delay?e.loading=!0:setTimeout(function(){n(e.resolved)&&n(e.error)&&(e.loading=!0,c())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(e.resolved)&&f(null)},d.timeout))),u=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(i)}function ce(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&r(n.componentOptions))return n}}function le(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&pe(e,t)}function fe(e,t,n){n?rr.$once(e,t):rr.$on(e,t)}function de(e,t){rr.$off(e,t)}function pe(e,t,n){rr=e,Y(t,n||{},fe,de,e)}function he(e,t){var n={};if(!e)return n;for(var r=[],o=0,i=e.length;o<i;o++){var a=e[o];if(a.context!==t&&a.functionalContext!==t||!a.data||null==a.data.slot)r.push(a);else{var s=a.data.slot,u=n[s]||(n[s]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return r.every(ve)||(n.default=r),n}function ve(e){return e.isComment||" "===e.text}function me(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?me(e[n],t):t[e[n].key]=e[n].fn;return t}function ye(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function _e(e,t,n){e.$el=t,e.$options.render||(e.$options.render=or),Ee(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},e._watcher=new vr(e,r,b),n=!1,null==e.$vnode&&(e._isMounted=!0,Ee(e,"mounted")),e}function ge(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==An);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,t&&e.$options.props){Zn.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var c=s[u];a[c]=z(c,e.$options.props,t,e)}Zn.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,pe(e,n,l)}i&&(e.$slots=he(o,r.context),e.$forceUpdate())}function be(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function we(e,t){if(t){if(e._directInactive=!1,be(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)we(e.$children[n]);Ee(e,"activated")}}function Oe(e,t){if(!(t&&(e._directInactive=!0,be(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Oe(e.$children[n]);Ee(e,"deactivated")}}function Ee(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(e)}catch(n){k(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function xe(){pr=ur.length=cr.length=0,lr={},fr=dr=!1}function Se(){dr=!0;var e,t;for(ur.sort(function(e,t){return e.id-t.id}),pr=0;pr<ur.length;pr++)e=ur[pr],t=e.id,lr[t]=null,e.run();var n=cr.slice(),r=ur.slice();xe(),je(n),Ce(r),Vn&&jn.devtools&&Vn.emit("flush")}function Ce(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Ee(r,"updated")}}function ke(e){e._inactive=!1,cr.push(e)}function je(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,we(e[t],!0)}function Ae(e){var t=e.id;if(null==lr[t]){if(lr[t]=!0,dr){for(var n=ur.length-1;n>pr&&ur[n].id>e.id;)n--;ur.splice(n+1,0,e)}else ur.push(e);fr||(fr=!0,Wn(Se))}}function Ie(e){mr.clear(),Te(e,mr)}function Te(e,t){var n,r,o=Array.isArray(e);if((o||s(e))&&Object.isExtensible(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)Te(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)Te(e[r[n]],t)}}function Ne(e,t,n){yr.get=function(){return this[t][n]},yr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,yr)}function Pe(e){e._watchers=[];var t=e.$options;t.props&&Me(e,t.props),t.methods&&Ue(e,t.methods),t.data?$e(e):P(e._data={},!0),t.computed&&De(e,t.computed),t.watch&&Be(e,t.watch)}function Me(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;Zn.shouldConvert=i;for(var a in t)!function(i){o.push(i);var a=z(i,t,n,e);M(r,i,a),i in e||Ne(e,"_props",i)}(a);Zn.shouldConvert=!0}function $e(e){var t=e.$options.data;t=e._data="function"==typeof t?Re(t,e):t||{},u(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=n.length;o--;)r&&h(r,n[o])||x(n[o])||Ne(e,"_data",n[o]);P(t,!0)}function Re(e,t){try{return e.call(t)}catch(e){return k(e,t,"data()"),{}}}function De(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var o=t[r],i="function"==typeof o?o:o.get;n[r]=new vr(e,i,b,_r),r in e||Fe(e,r,o)}}function Fe(e,t,n){"function"==typeof n?(yr.get=Le(t),yr.set=b):(yr.get=n.get?!1!==n.cache?Le(t):n.get:b,yr.set=n.set?n.set:b),Object.defineProperty(e,t,yr)}function Le(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Jn.target&&t.depend(),t.value}}function Ue(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?b:m(t[n],e)}function Be(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Ve(e,n,r[o]);else Ve(e,n,r)}}function Ve(e,t,n){var r;u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function qe(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function We(e){var t=ze(e.$options.inject,e);t&&Object.keys(t).forEach(function(n){M(e,n,t[n])})}function ze(e,t){if(e){for(var n=Array.isArray(e),r=Object.create(null),o=n?e:qn?Reflect.ownKeys(e):Object.keys(e),i=0;i<o.length;i++)for(var a=o[i],s=n?a:e[a],u=t;u;){if(u._provided&&s in u._provided){r[a]=u._provided[s];break}u=u.$parent}return r}}function Je(e,t,n,o,i){var a={},s=e.options.props;if(r(s))for(var u in s)a[u]=z(u,s,t||{});else r(n.attrs)&&He(a,n.attrs),r(n.props)&&He(a,n.props);var c=Object.create(o),l=function(e,t,n,r){return Ye(c,e,t,n,r,!0)},f=e.options.render.call(null,l,{data:n,props:a,children:i,parent:o,listeners:n.on||{},injections:ze(e.options.inject,o),slots:function(){return he(i,o)}});return f instanceof tr&&(f.functionalContext=o,f.functionalOptions=e.options,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function He(e,t){for(var n in t)e[gn(n)]=t[n]}function Ge(e,t,i,a,u){if(!n(e)){var c=i.$options._base;if(s(e)&&(e=c.extend(e)),"function"==typeof e&&(!n(e.cid)||void 0!==(e=ue(e,c,i)))){pt(e),t=t||{},r(t.model)&&Qe(e.options,t);var l=te(t,e,u);if(o(e.options.functional))return Je(e,l,t,i,a);var f=t.on;t.on=t.nativeOn,o(e.options.abstract)&&(t={}),Ke(t);var d=e.options.name||u;return new tr("vue-component-"+e.cid+(d?"-"+d:""),t,void 0,void 0,void 0,i,{Ctor:e,propsData:l,listeners:f,tag:u,children:a})}}}function Xe(e,t,n,o){var i=e.componentOptions,a={_isComponent:!0,parent:t,propsData:i.propsData,_componentTag:i.tag,_parentVnode:e,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:n||null,_refElm:o||null},s=e.data.inlineTemplate;return r(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new i.Ctor(a)}function Ke(e){e.hook||(e.hook={});for(var t=0;t<br.length;t++){var n=br[t],r=e.hook[n],o=gr[n];e.hook[n]=r?Ze(o,r):o}}function Ze(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function Qe(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});r(i[o])?i[o]=[t.model.callback].concat(i[o]):i[o]=t.model.callback}function Ye(e,t,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=Or),et(e,t,n,r,i)}function et(e,t,n,o,i){if(r(n)&&r(n.__ob__))return or();if(!t)return or();Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),i===Or?o=oe(o):i===wr&&(o=re(o));var a,s;if("string"==typeof t){var u;s=jn.getTagNamespace(t),a=jn.isReservedTag(t)?new tr(jn.parsePlatformTagName(t),n,o,void 0,void 0,e):r(u=W(e.$options,"components",t))?Ge(u,n,e,o,t):new tr(t,n,o,void 0,void 0,e)}else a=Ge(t,n,e,o);return r(a)?(s&&tt(a,s),a):or()}function tt(e,t){if(e.ns=t,"foreignObject"!==e.tag&&r(e.children))for(var o=0,i=e.children.length;o<i;o++){var a=e.children[o];r(a.tag)&&n(a.ns)&&tt(a,t)}}function nt(e,t){var n,o,i,a,u;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,i=e.length;o<i;o++)n[o]=t(e[o],o);else if("number"==typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(s(e))for(a=Object.keys(e),n=new Array(a.length),o=0,i=a.length;o<i;o++)u=a[o],n[o]=t(e[u],u,o);return r(n)&&(n._isVList=!0),n}function rt(e,t,n,r){var o=this.$scopedSlots[e];if(o)return n=n||{},r&&_(n,r),o(n)||t;var i=this.$slots[e];return i||t}function ot(e){return W(this.$options,"filters",e,!0)||xn}function it(e,t,n){var r=jn.keyCodes[t]||n;return Array.isArray(r)?-1===r.indexOf(e):r!==e}function at(e,t,n,r){if(n)if(s(n)){Array.isArray(n)&&(n=g(n));var o;for(var i in n){if("class"===i||"style"===i)o=e;else{var a=e.attrs&&e.attrs.type;o=r||jn.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}i in o||(o[i]=n[i])}}else;return e}function st(e,t){var n=this._staticTrees[e];return n&&!t?Array.isArray(n)?Z(n):K(n):(n=this._staticTrees[e]=this.$options.staticRenderFns[e].call(this._renderProxy),ct(n,"__static__"+e,!1),n)}function ut(e,t,n){return ct(e,"__once__"+t+(n?"_"+n:""),!0),e}function ct(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&lt(e[r],t+"_"+r,n);else lt(e,t,n)}function lt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function ft(e){e._vnode=null,e._staticTrees=null;var t=e.$vnode=e.$options._parentVnode,n=t&&t.context;e.$slots=he(e.$options._renderChildren,n),e.$scopedSlots=An,e._c=function(t,n,r,o){return Ye(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Ye(e,t,n,r,o,!0)}}function dt(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,n._parentElm=t._parentElm,n._refElm=t._refElm,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function pt(e){var t=e.options;if(e.super){var n=pt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=ht(e);r&&_(e.extendOptions,r),t=e.options=q(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function ht(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=vt(n[i],r[i],o[i]));return t}function vt(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function mt(e){this._init(e)}function yt(e){e.use=function(e){if(e.installed)return this;var t=y(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):"function"==typeof e&&e.apply(null,t),e.installed=!0,this}}function _t(e){e.mixin=function(e){return this.options=q(this.options,e),this}}function gt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=q(n.options,e),a.super=n,a.options.props&&bt(a),a.options.computed&&wt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Cn.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=_({},a.options),o[r]=a,a}}function bt(e){var t=e.options.props;for(var n in t)Ne(e.prototype,"_props",n)}function wt(e){var t=e.options.computed;for(var n in t)Fe(e.prototype,n,t[n])}function Ot(e){Cn.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Et(e){return e&&(e.Ctor.options.name||e.tag)}function xt(e,t){return"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function St(e,t,n){for(var r in e){var o=e[r];if(o){var i=Et(o.componentOptions);i&&!n(i)&&(o!==t&&Ct(o),e[r]=null)}}}function Ct(e){e&&e.componentInstance.$destroy()}function kt(e){return new t.Element(e)}function jt(e,n){return new t.Element(e+":"+n)}function At(e){return new t.TextNode(e)}function It(e){return new t.Comment(e)}function Tt(e,t,n){if(3!==t.nodeType)e.insertBefore(t,n);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var r=kt("text");r.setAttr("value",t.text),e.insertBefore(r,n)}}function Nt(e,t){if(3===t.nodeType)return void e.setAttr("value","");e.removeChild(t)}function Pt(e,t){if(3!==t.nodeType)e.appendChild(t);else if("text"===e.type)e.setAttr("value",t.text),t.parentNode=e;else{var n=kt("text");n.setAttr("value",t.text),e.appendChild(n)}}function Mt(e){return e.parentNode}function $t(e){return e.nextSibling}function Rt(e){return e.type}function Dt(e,t){e.parentNode.setAttr("value",t)}function Ft(e,t,n){e.setAttr(t,n)}function Lt(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?p(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])&&i[n].indexOf(o)<0?i[n].push(o):i[n]=[o]:i[n]=o}}function Ut(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&Bt(e,t)}function Bt(e,t){if("input"!==e.tag)return!0;var n;return(r(n=e.data)&&r(n=n.attrs)&&n.type)===(r(n=t.data)&&r(n=n.attrs)&&n.type)}function Vt(e,t,n){var o,i,a={};for(o=t;o<=n;++o)i=e[o].key,r(i)&&(a[i]=o);return a}function qt(e,t){(e.data.directives||t.data.directives)&&Wt(e,t)}function Wt(e,t){var n,r,o,i=e===Tr,a=t===Tr,s=zt(e.data.directives,e.context),u=zt(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,Ht(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(Ht(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n<c.length;n++)Ht(c[n],"inserted",t,e)};i?ee(t.data.hook||(t.data.hook={}),"insert",f):f()}if(l.length&&ee(t.data.hook||(t.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)Ht(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||Ht(s[n],"unbind",e,e,a)}function zt(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=Mr),n[Jt(o)]=o,o.def=W(t.$options,"directives",o.name,!0);return n}function Jt(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Ht(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){k(r,n.context,"directive "+e.name+" "+t+" hook")}}function Gt(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};a.__ob__&&(a=t.data.attrs=_({},a));for(n in a)r=a[n],i[n]!==r&&o.setAttr(n,r);for(n in i)null==a[n]&&o.setAttr(n)}}function Xt(e,t){var n=t.elm,r=t.context,o=t.data,i=e.data;if(o.staticClass||o.class||i&&(i.staticClass||i.class)){var a=[],s=i.staticClass;s&&a.push.apply(a,s),i.class&&a.push.apply(a,i.class);var u=[],c=o.staticClass;c&&u.push.apply(u,c),o.class&&u.push.apply(u,o.class);var l=Kt(a,u,r);for(var f in l)n.setStyle(f,l[f])}}function Kt(e,t,n){var r=n.$options.style||{},o={};return t.forEach(function(e){_(o,r[e])}),e.forEach(function(e){var t=r[e];for(var n in t)o.hasOwnProperty(n)||(o[n]="")}),o}function Zt(e,t,n,r){if(r)return void console.log("Weex do not support event in bubble phase.");if(n){var o=t,i=kr;t=function(t){
null!==(1===arguments.length?o(t):o.apply(null,arguments))&&Qt(e,null,null,i)}}kr.addEvent(e,t)}function Qt(e,t,n,r){(r||kr).removeEvent(e)}function Yt(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};kr=t.elm,Y(n,r,Zt,Qt,t.context)}}function en(e,t){if(!t.data.staticStyle)return void tn(e,t);var n=t.elm,r=t.data.staticStyle;for(var o in r)r[o]&&n.setStyle(Lr(o),r[o]);tn(e,t)}function tn(e,t){if(e.data.style||t.data.style){var n,r,o=t.elm,i=e.data.style||{},a=t.data.style||{},s=a.__ob__;Array.isArray(a)&&(a=t.data.style=nn(a)),s&&(a=t.data.style=_({},a));for(r in i)a[r]||o.setStyle(Lr(r),"");for(r in a)n=a[r],o.setStyle(Lr(r),n)}}function nn(e){for(var t={},n=0;n<e.length;n++)e[n]&&_(t,e[n]);return t}function rn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&_(t,Br(e.name||"v")),_(t,e),t}return"string"==typeof e?Br(e):void 0}}function on(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=rn(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,u=r.appearToClass,c=r.appearActiveClass,l=r.beforeEnter,f=r.enter,d=r.afterEnter,p=r.enterCancelled,h=r.beforeAppear,v=r.appear,m=r.afterAppear,y=r.appearCancelled,_=sr,g=sr.$vnode;g&&g.parent;)g=g.parent,_=g.context;var w=!_._isMounted||!t.isRootInsert;if(!w||v||""===v){var O=w?s:o,x=w?u:i,S=w?c:a,C=w?h||l:l,k=w&&"function"==typeof v?v:f,j=w?m||d:d,A=w?y||p:p,I=k&&(k._length||k.length)>1,T=t.context.$options.style||{},N=T[O],P=T["@TRANSITION"]&&T["@TRANSITION"][S]||{},M=sn(n,T,O,x,S,t.context),$=Object.keys(M).length>0,R=n._enterCb=E(function(){R.cancelled?A&&A(n):j&&j(n),n._enterCb=null});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];if(r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),k&&k(n,R),$){t.context.$requireWeexModule("animation").transition(n.ref,{styles:M,duration:P.duration||0,delay:P.delay||0,timingFunction:P.timingFunction||"linear"},I?b:R)}else I||R()},16),C&&C(n),N)for(var D in N)n.setStyle(D,N[D]);$||I||R()}}}function an(e,t){function n(){function t(){n.transition(r.ref,{styles:m,duration:y.duration||0,delay:y.delay||0,timingFunction:y.timingFunction||"linear"},p?b:_)}var n=e.context.$requireWeexModule("animation");_.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),u&&u(r),v?n.transition(r.ref,{styles:v},t):t(),c&&c(r,_),m||p||_())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=rn(e.data.transition);if(!o)return t();if(!r._leaveCb){var i=o.leaveClass,a=o.leaveToClass,s=o.leaveActiveClass,u=o.beforeLeave,c=o.leave,l=o.afterLeave,f=o.leaveCancelled,d=o.delayLeave,p=c&&(c._length||c.length)>1,h=e.context.$options.style||{},v=h[i],m=h[a]||h[s],y=h["@TRANSITION"]&&h["@TRANSITION"][s]||{},_=r._leaveCb=E(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),_.cancelled?f&&f(r):(t(),l&&l(r)),r._leaveCb=null});d?d(n):n()}}function sn(e,t,n,r,o,i){var a={},s=t[n],u=t[r],c=t[o];if(s)for(var l in s)a[l]=e.style[l];if(c)for(var f in c)0!==f.indexOf("transition")&&(a[f]=c[f]);return u&&_(a,u),a}function un(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?un(ce(t.children)):e}function cn(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[gn(i)]=o[i];return t}function ln(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fn(e){for(;e=e.parent;)if(e.data.transition)return!0}function dn(e,t){return t.key===e.key&&t.tag===e.tag}function pn(){}function hn(){}function vn(e,n){var r=new t.Comment("root");return r.hasAttribute=r.removeAttribute=function(){},n.documentElement.appendChild(r),r}var mn=Object.prototype.toString,yn=(d("slot,component",!0),Object.prototype.hasOwnProperty),_n=/-(\w)/g,gn=v(function(e){return e.replace(_n,function(e,t){return t?t.toUpperCase():""})}),bn=v(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),wn=/([^-])([A-Z])/g,On=v(function(e){return e.replace(wn,"$1-$2").replace(wn,"$1-$2").toLowerCase()}),En=function(){return!1},xn=function(e){return e},Sn="data-server-rendered",Cn=["component","directive","filter"],kn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],jn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:En,isReservedAttr:En,isUnknownElement:En,getTagNamespace:b,parsePlatformTagName:xn,mustUseProp:En,_lifecycleHooks:kn},An=Object.freeze({}),In=/[^\w.$]/,Tn=b,Nn="__proto__"in{},Pn="undefined"!=typeof window,Mn=Pn&&window.navigator.userAgent.toLowerCase(),$n=(Mn&&/msie|trident/.test(Mn),Mn&&Mn.indexOf("msie 9.0"),Mn&&Mn.indexOf("edge/")>0),Rn=(Mn&&Mn.indexOf("android"),Mn&&/iphone|ipad|ipod|ios/.test(Mn)),Dn=(Mn&&/chrome\/\d+/.test(Mn),!1);if(Pn)try{var Fn={};Object.defineProperty(Fn,"passive",{get:function(){Dn=!0}}),window.addEventListener("test-passive",null,Fn)}catch(e){}var Ln,Un,Bn=function(){return void 0===Ln&&(Ln=!Pn&&void 0!==ar&&"server"===ar.process.env.VUE_ENV),Ln},Vn=Pn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,qn="undefined"!=typeof Symbol&&j(Symbol)&&"undefined"!=typeof Reflect&&j(Reflect.ownKeys),Wn=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t<e.length;t++)e[t]()}var t,n=[],r=!1;if("undefined"!=typeof Promise&&j(Promise)){var o=Promise.resolve(),i=function(e){console.error(e)};t=function(){o.then(e).catch(i),Rn&&setTimeout(b)}}else if("undefined"==typeof MutationObserver||!j(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(e,0)};else{var a=1,s=new MutationObserver(e),u=document.createTextNode(String(a));s.observe(u,{characterData:!0}),t=function(){a=(a+1)%2,u.data=String(a)}}return function(e,o){var i;if(n.push(function(){if(e)try{e.call(o)}catch(e){k(e,o,"nextTick")}else i&&i(o)}),r||(r=!0,t()),!e&&"undefined"!=typeof Promise)return new Promise(function(e,t){i=e})}}();Un="undefined"!=typeof Set&&j(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var zn=0,Jn=function(){this.id=zn++,this.subs=[]};Jn.prototype.addSub=function(e){this.subs.push(e)},Jn.prototype.removeSub=function(e){p(this.subs,e)},Jn.prototype.depend=function(){Jn.target&&Jn.target.addDep(this)},Jn.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Jn.target=null;var Hn=[],Gn=Array.prototype,Xn=Object.create(Gn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Gn[e];S(Xn,e,function(){for(var n=arguments,r=arguments.length,o=new Array(r);r--;)o[r]=n[r];var i,a=t.apply(this,o),s=this.__ob__;switch(e){case"push":case"unshift":i=o;break;case"splice":i=o.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var Kn=Object.getOwnPropertyNames(Xn),Zn={shouldConvert:!0,isSettingProps:!1},Qn=function(e){if(this.value=e,this.dep=new Jn,this.vmCount=0,S(e,"__ob__",this),Array.isArray(e)){(Nn?T:N)(e,Xn,Kn),this.observeArray(e)}else this.walk(e)};Qn.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)M(e,t[n],e[t[n]])},Qn.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)P(e[t])};var Yn=jn.optionMergeStrategies;Yn.data=function(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,o="function"==typeof e?e.call(n):void 0;return r?F(r,o):o}:void 0:t?"function"!=typeof t?e:e?function(){return F(t.call(this),e.call(this))}:t:e},kn.forEach(function(e){Yn[e]=L}),Cn.forEach(function(e){Yn[e+"s"]=U}),Yn.watch=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n={};_(n,e);for(var r in t){var o=n[r],i=t[r];o&&!Array.isArray(o)&&(o=[o]),n[r]=o?o.concat(i):[i]}return n},Yn.props=Yn.methods=Yn.computed=function(e,t){if(!t)return Object.create(e||null);if(!e)return t;var n=Object.create(null);return _(n,e),_(n,t),n};var er=function(e,t){return void 0===t?e:t},tr=function(e,t,n,r,o,i,a){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.functionalContext=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},nr={child:{}};nr.child.get=function(){return this.componentInstance},Object.defineProperties(tr.prototype,nr);var rr,or=function(){var e=new tr;return e.text="",e.isComment=!0,e},ir=v(function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}),sr=null,ur=[],cr=[],lr={},fr=!1,dr=!1,pr=0,hr=0,vr=function(e,t,n,r){this.vm=e,e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++hr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Un,this.newDepIds=new Un,this.expression="","function"==typeof t?this.getter=t:(this.getter=C(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};vr.prototype.get=function(){A(this);var e,t=this.vm;if(this.user)try{e=this.getter.call(t,t)}catch(e){k(e,t,'getter for watcher "'+this.expression+'"')}else e=this.getter.call(t,t);return this.deep&&Ie(e),I(),this.cleanupDeps(),e},vr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},vr.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},vr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Ae(this)},vr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){k(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},vr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vr.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},vr.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1}};var mr=new Un,yr={enumerable:!0,configurable:!0,get:b,set:b},_r={lazy:!0},gr={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed){(e.componentInstance=Xe(e,sr,n,r)).$mount(t?e.elm:void 0,t)}else if(e.data.keepAlive){var o=e;gr.prepatch(o,o)}},prepatch:function(e,t){var n=t.componentOptions;ge(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,Ee(n,"mounted")),e.data.keepAlive&&(t._isMounted?ke(n):we(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Oe(t,!0):t.$destroy())}},br=Object.keys(gr),wr=1,Or=2,Er=0;!function(e){e.prototype._init=function(e){var t=this;t._uid=Er++,t._isVue=!0,e&&e._isComponent?dt(t,e):t.$options=q(pt(t.constructor),e||{},t),t._renderProxy=t,t._self=t,ye(t),le(t),ft(t),Ee(t,"beforeCreate"),We(t),Pe(t),qe(t),Ee(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(mt),function(e){var t={};t.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=$,e.prototype.$delete=R,e.prototype.$watch=function(e,t,n){var r=this;n=n||{},n.user=!0;var o=new vr(r,e,t,n);return n.immediate&&t.call(r,o.value),function(){o.teardown()}}}(mt),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this,o=this;if(Array.isArray(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(o._events[e]||(o._events[e]=[])).push(n),t.test(e)&&(o._hasHookEvent=!0);return o},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(e)){for(var o=0,i=e.length;o<i;o++)n.$off(e[o],t);return r}var a=r._events[e];if(!a)return r;if(1===arguments.length)return r._events[e]=null,r;for(var s,u=a.length;u--;)if((s=a[u])===t||s.fn===t){a.splice(u,1);break}return r},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?y(n):n;for(var r=y(arguments,1),o=0,i=n.length;o<i;o++)n[o].apply(t,r)}return t}}(mt),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&Ee(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=sr;sr=n,n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),sr=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var e=this;e._watcher&&e._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Ee(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||p(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Ee(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$options._parentElm=e.$options._refElm=null}}}(mt),function(e){e.prototype.$nextTick=function(e){return Wn(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t.staticRenderFns,o=t._parentVnode;if(e._isMounted)for(var i in e.$slots)e.$slots[i]=Z(e.$slots[i]);e.$scopedSlots=o&&o.data.scopedSlots||An,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;var a;try{a=n.call(e._renderProxy,e.$createElement)}catch(t){k(t,e,"render function"),a=e._vnode}return a instanceof tr||(a=or()),a.parent=o,a},e.prototype._o=ut,e.prototype._n=f,e.prototype._s=l,e.prototype._l=nt,e.prototype._t=rt,e.prototype._q=w,e.prototype._i=O,e.prototype._m=st,e.prototype._f=ot,e.prototype._k=it,e.prototype._b=at,e.prototype._v=X,e.prototype._e=or,e.prototype._u=me}(mt);var xr=[String,RegExp],Sr={name:"keep-alive",abstract:!0,props:{include:xr,exclude:xr},created:function(){this.cache=Object.create(null)},destroyed:function(){var e=this;for(var t in e.cache)Ct(e.cache[t])},watch:{include:function(e){St(this.cache,this._vnode,function(t){return xt(e,t)})},exclude:function(e){St(this.cache,this._vnode,function(t){return!xt(e,t)})}},render:function(){var e=ce(this.$slots.default),t=e&&e.componentOptions;if(t){var n=Et(t);if(n&&(this.include&&!xt(this.include,n)||this.exclude&&xt(this.exclude,n)))return e;var r=null==e.key?t.Ctor.cid+(t.tag?"::"+t.tag:""):e.key;this.cache[r]?e.componentInstance=this.cache[r].componentInstance:this.cache[r]=e,e.data.keepAlive=!0}return e}},Cr={KeepAlive:Sr};!function(e){var t={};t.get=function(){return jn},Object.defineProperty(e,"config",t),e.util={warn:Tn,extend:_,mergeOptions:q,defineReactive:M},e.set=$,e.delete=R,e.nextTick=Wn,e.options=Object.create(null),Cn.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,_(e.options.components,Cr),yt(e),_t(e),gt(e),Ot(e)}(mt),Object.defineProperty(mt.prototype,"$isServer",{get:Bn}),Object.defineProperty(mt.prototype,"$ssrContext",{get:function(){return this.$vnode.ssrContext}}),mt.version="2.3.3";var kr,jr={},Ar=Object.freeze({namespaceMap:jr,createElement:kt,createElementNS:jt,createTextNode:At,createComment:It,insertBefore:Tt,removeChild:Nt,appendChild:Pt,parentNode:Mt,nextSibling:$t,tagName:Rt,setTextContent:Dt,setAttribute:Ft}),Ir={create:function(e,t){Lt(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Lt(e,!0),Lt(t))},destroy:function(e){Lt(e,!0)}},Tr=new tr("",{},[]),Nr=["create","activate","update","remove","destroy"],Pr={create:qt,update:qt,destroy:function(e){qt(e,Tr)}},Mr=Object.create(null),$r=[Ir,Pr],Rr={create:Gt,update:Gt},Dr={create:Xt,update:Xt},Fr={create:Yt,update:Yt},Lr=v(gn),Ur={create:en,update:tn},Br=v(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Vr=(Pn&&window.requestAnimationFrame&&window.requestAnimationFrame.bind(window),{create:on,activate:on,remove:an}),qr=[Rr,Dr,Fr,Ur,Vr],Wr=qr.concat($r),zr=function(e){function t(e){return new tr(I.tagName(e).toLowerCase(),{},[],void 0,e)}function i(e,t){function n(){0==--n.listeners&&s(e)}return n.listeners=t,n}function s(e){var t=I.parentNode(e);r(t)&&I.removeChild(t,e)}function u(e,t,n,i,a){if(e.isRootInsert=!a,!c(e,t,n,i)){var s=e.data,u=e.children,l=e.tag;if(r(l)){e.elm=e.ns?I.createElementNS(e.ns,l):I.createElement(l,e),y(e);var f=r(s)&&o(s.appendAsTree);f||(r(s)&&m(e,t),p(n,e.elm,i)),h(e,u,t),f&&(r(s)&&m(e,t),p(n,e.elm,i))}else o(e.isComment)?(e.elm=I.createComment(e.text),p(n,e.elm,i)):(e.elm=I.createTextNode(e.text),p(n,e.elm,i))}}function c(e,t,n,i){var a=e.data;if(r(a)){var s=r(e.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(e,!1,n,i),r(e.componentInstance))return l(e,t),o(s)&&f(e,t,n,i),!0}}function l(e,t){r(e.data.pendingInsert)&&t.push.apply(t,e.data.pendingInsert),e.elm=e.componentInstance.$el,v(e)?(m(e,t),y(e)):(Lt(e),t.push(e))}function f(e,t,n,o){for(var i,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,r(i=a.data)&&r(i=i.transition)){for(i=0;i<j.activate.length;++i)j.activate[i](Tr,a);t.push(a);break}p(n,e.elm,o)}function p(e,t,n){r(e)&&(r(n)?n.parentNode===e&&I.insertBefore(e,t,n):I.appendChild(e,t))}function h(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)u(t[r],n,e.elm,null,!0);else a(e.text)&&I.appendChild(e.elm,I.createTextNode(e.text))}function v(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return r(e.tag)}function m(e,t){for(var n=0;n<j.create.length;++n)j.create[n](Tr,e);C=e.data.hook,r(C)&&(r(C.create)&&C.create(Tr,e),r(C.insert)&&t.push(e))}function y(e){for(var t,n=e;n;)r(t=n.context)&&r(t=t.$options._scopeId)&&I.setAttribute(e.elm,t,""),n=n.parent;r(t=sr)&&t!==e.context&&r(t=t.$options._scopeId)&&I.setAttribute(e.elm,t,"")}function _(e,t,n,r,o,i){for(;r<=o;++r)u(n[r],i,e,t)}function g(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&t(e),t=0;t<j.destroy.length;++t)j.destroy[t](e);if(r(t=e.children))for(n=0;n<e.children.length;++n)g(e.children[n])}function b(e,t,n,o){for(;n<=o;++n){var i=t[n];r(i)&&(r(i.tag)?(w(i),g(i)):s(i.elm))}}function w(e,t){if(r(t)||r(e.data)){var n,o=j.remove.length+1;for(r(t)?t.listeners+=o:t=i(e.elm,o),r(n=e.componentInstance)&&r(n=n._vnode)&&r(n.data)&&w(n,t),n=0;n<j.remove.length;++n)j.remove[n](e,t);r(n=e.data.hook)&&r(n=n.remove)?n(e,t):t()}else s(e.elm)}function O(e,t,o,i,a){for(var s,c,l,f,d=0,p=0,h=t.length-1,v=t[0],m=t[h],y=o.length-1,g=o[0],w=o[y],O=!a;d<=h&&p<=y;)n(v)?v=t[++d]:n(m)?m=t[--h]:Ut(v,g)?(E(v,g,i),v=t[++d],g=o[++p]):Ut(m,w)?(E(m,w,i),m=t[--h],w=o[--y]):Ut(v,w)?(E(v,w,i),O&&I.insertBefore(e,v.elm,I.nextSibling(m.elm)),v=t[++d],w=o[--y]):Ut(m,g)?(E(m,g,i),O&&I.insertBefore(e,m.elm,v.elm),m=t[--h],g=o[++p]):(n(s)&&(s=Vt(t,d,h)),c=r(g.key)?s[g.key]:null,n(c)?(u(g,i,e,v.elm),g=o[++p]):(l=t[c],Ut(l,g)?(E(l,g,i),t[c]=void 0,O&&I.insertBefore(e,g.elm,v.elm),g=o[++p]):(u(g,i,e,v.elm),g=o[++p])));d>h?(f=n(o[y+1])?null:o[y+1].elm,_(e,f,o,p,y,i)):p>y&&b(e,t,d,h)}function E(e,t,i,a){if(e!==t){if(o(t.isStatic)&&o(e.isStatic)&&t.key===e.key&&(o(t.isCloned)||o(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var s,u=t.data;r(u)&&r(s=u.hook)&&r(s=s.prepatch)&&s(e,t);var c=t.elm=e.elm,l=e.children,f=t.children;if(r(u)&&v(t)){for(s=0;s<j.update.length;++s)j.update[s](e,t);r(s=u.hook)&&r(s=s.update)&&s(e,t)}n(t.text)?r(l)&&r(f)?l!==f&&O(c,l,f,i,a):r(f)?(r(e.text)&&I.setTextContent(c,""),_(c,null,f,0,f.length-1,i)):r(l)?b(c,l,0,l.length-1):r(e.text)&&I.setTextContent(c,""):e.text!==t.text&&I.setTextContent(c,t.text),r(u)&&r(s=u.hook)&&r(s=s.postpatch)&&s(e,t)}}function x(e,t,n){if(o(n)&&r(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}function S(e,t,n){t.elm=e;var o=t.tag,i=t.data,a=t.children;if(r(i)&&(r(C=i.hook)&&r(C=C.init)&&C(t,!0),r(C=t.componentInstance)))return l(t,n),!0;if(r(o)){if(r(a))if(e.hasChildNodes()){for(var s=!0,u=e.firstChild,c=0;c<a.length;c++){if(!u||!S(u,a[c],n)){s=!1;break}u=u.nextSibling}if(!s||u)return!1}else h(t,a,n);if(r(i))for(var f in i)if(!T(f)){m(t,n);break}}else e.data!==t.text&&(e.data=t.text);return!0}var C,k,j={},A=e.modules,I=e.nodeOps;for(C=0;C<Nr.length;++C)for(j[Nr[C]]=[],k=0;k<A.length;++k)r(A[k][Nr[C]])&&j[Nr[C]].push(A[k][Nr[C]]);var T=d("attrs,style,class,staticClass,staticStyle,key");return function(e,i,a,s,c,l){if(n(i))return void(r(e)&&g(e));var f=!1,d=[];if(n(e))f=!0,u(i,d,c,l);else{var p=r(e.nodeType);if(!p&&Ut(e,i))E(e,i,d,s);else{if(p){if(1===e.nodeType&&e.hasAttribute(Sn)&&(e.removeAttribute(Sn),a=!0),o(a)&&S(e,i,d))return x(i,d,!0),e;e=t(e)}var h=e.elm,m=I.parentNode(h);if(u(i,d,h._leaveCb?null:m,I.nextSibling(h)),r(i.parent)){for(var y=i.parent;y;)y.elm=i.elm,y=y.parent;if(v(i))for(var _=0;_<j.create.length;++_)j.create[_](Tr,i.parent)}r(m)?b(m,[e],0,0):r(e.tag)&&g(e)}}return x(i,d,f),i.elm}}({nodeOps:Ar,modules:Wr,LONG_LIST_THRESHOLD:10}),Jr={},Hr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Gr={name:"transition",props:Hr,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag}),n.length)){var r=this.mode,o=n[0];if(fn(this.$vnode))return o;var i=un(o);if(!i)return o;if(this._leaving)return ln(e,o);var s="__transition-"+this._uid+"-";i.key=null==i.key?s+i.tag:a(i.key)?0===String(i.key).indexOf(s)?i.key:s+i.key:i.key;var u=(i.data||(i.data={})).transition=cn(this),c=this._vnode,l=un(c);if(i.data.directives&&i.data.directives.some(function(e){return"show"===e.name})&&(i.data.show=!0),l&&l.data&&!dn(i,l)){var f=l&&(l.data.transition=_({},u));if("out-in"===r)return this._leaving=!0,ee(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ln(e,o);if("in-out"===r){var d,p=function(){d()};ee(u,"afterEnter",p),ee(u,"enterCancelled",p),ee(f,"delayLeave",function(e){d=e})}}return o}}},Xr=_({tag:String,moveClass:String},Hr);delete Xr.mode;var Kr={props:Xr,created:function(){var e=this.$requireWeexModule("dom");this.getPosition=function(t){return new Promise(function(n,r){e.getComponentRect(t.ref,function(e){e.result?n(e.size):r(new Error("failed to get rect for element: "+t.tag))})})};var t=this.$requireWeexModule("animation");this.animate=function(e,n){return new Promise(function(r){t.transition(e.ref,n,r)})}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=cn(this),s=0;s<o.length;s++){var u=o[s];u.tag&&null!=u.key&&0!==String(u.key).indexOf("__vlist")&&(i.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a)}if(r){var c=[],l=[];r.forEach(function(e){e.data.transition=a,n[e.key]?c.push(e):l.push(e)}),this.kept=e(t,null,c),this.removed=l}return e(t,null,i)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.getMoveData(e[0].context,t)},methods:{getMoveData:function(e,t){var n=e.$options.style||{};return n["@TRANSITION"]&&n["@TRANSITION"][t]}}},Zr={Transition:Gr,TransitionGroup:Kr},Qr=d("template,script,style,element,content,slot,link,meta,svg,view,a,div,img,image,text,span,richtext,input,switch,textarea,spinner,select,slider,slider-neighbor,indicator,trisition,trisition-group,canvas,list,cell,header,loading,loading-indicator,refresh,scrollable,scroller,video,web,embed,tabbar,tabheader,datepicker,timepicker,marquee,countdown",!0);d("web,spinner,switch,video,textarea,canvas,indicator,marquee,countdown",!0),d("embed,img,image,input,link,meta",!0);mt.config.mustUseProp=pn,mt.config.isReservedTag=Qr,mt.config.isUnknownElement=hn,mt.options.directives=Jr,mt.options.components=Zr,mt.prototype.__patch__=zr,mt.prototype.$mount=function(e,t){return _e(this,e&&vn(e,this.$document),t)},e.Vue=mt},ur=f(function(e,t){function n(e){this.instanceId="",this.nodeId=E++,this.parentNode=null,this.nodeType=3,this.text=e}function r(e){j.Document=e.Document,j.Element=e.Element,j.Comment=e.Comment,j.compileBundle=e.compileBundle}function o(){i(S),i(C),i(k),delete j.Document,delete j.Element,delete j.Comment,delete j.compileBundle}function i(e){for(var t in e)delete e[t]}function a(e,t,n,r,o){void 0===t&&(t=""),void 0===n&&(n={}),void 0===o&&(o={});var i=new j.Document(e,n.bundleUrl),a=S[e]={instanceId:e,config:n,data:r,document:i},s=g(e),u=b(e,s),c={config:n,document:i,supports:y,requireModule:s};Object.freeze(c);var l=a.Vue=_(e,s),f=Object.assign({Vue:l,weex:c,__weex_require_module__:c.requireModule},u,o.services);O(f,t)||w(f,t),a.document.taskCenter.send("dom",{action:"createFinish"},[])}function s(e){var t=S[e];t&&t.app instanceof t.Vue&&(t.document.destroy(),t.app.$destroy()),delete S[e]}function u(e,t){var n=S[e];if(!(n&&n.app instanceof n.Vue))return new Error("refreshInstance: instance "+e+" not found!");for(var r in t)n.Vue.set(n.app,r,t[r]);n.document.taskCenter.send("dom",{action:"refreshFinish"},[])}function c(e){var t=S[e];return t&&t.app instanceof t.Vue?t.app.$el.toJSON():new Error("getRoot: instance "+e+" not found!")}function l(e,t,n,r,o){var i=e.document.getRef(t);return i?e.document.fireEvent(i,n,r,o):new Error('invalid element reference "'+t+'"')}function f(e,t,n,r){var o=e.document.taskCenter.callback(t,n,r);return e.document.taskCenter.send("dom",{action:"updateFinish"},[]),o}function d(e,t){if(S[e]&&Array.isArray(t)){var n=[];return t.forEach(function(t){var r=A[t.method],o=[].concat(t.args);"function"==typeof r&&(o.unshift(e),n.push(r.apply(void 0,o)))}),n}return new Error('invalid instance id "'+e+'" or tasks')}function p(e){for(var t in e)!function(t){C[t]||(C[t]={}),e[t].forEach(function(e){"string"==typeof e?C[t][e]=!0:C[t][e.name]=e.args})}(t)}function h(e,t){return"string"==typeof t?!(!C[e]||!C[e][t]):!!C[e]}function v(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?k[e]=!0:"object"==typeof e&&"string"==typeof e.type&&(k[e.type]=e))})}function m(e){return!!k[e]}function y(e){if("string"!=typeof e)return null;var t=e.match(/^@(\w+)\/(\w+)(\.(\w+))?$/i);if(t){var n=t[1],r=t[2],o=t[4];switch(n){case"module":return h(r,o);case"component":return m(r)}}return null}function _(e,t){var n={};x(n,j);var r=n.Vue,o=S[e],i=r.config.isReservedTag||function(){return!1};return r.config.isReservedTag=function(e){return k[e]||i(e)},r.prototype.$instanceId=e,r.prototype.$document=o.document,r.prototype.$requireWeexModule=t,r.mixin({beforeCreate:function(){var e=this.$options;if(e.el){var t=e.data,n=("function"==typeof t?t():t)||{};e.data=Object.assign(n,o.data),o.app=this}}}),r.prototype.$getConfig=function(){if(o.app instanceof r)return o.config},r}function g(e){var t=S[e];return function(e){var n=C[e]||[],r={};for(var o in n)!function(n){Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:function(){return function(){for(var r=arguments,o=[],i=arguments.length;i--;)o[i]=r[i];return t.document.taskCenter.send("module",{module:e,method:n},o)}},set:function(r){if("function"==typeof r)return t.document.taskCenter.send("module",{module:e,method:n},[r])}})}(o);return r}}function b(e,t){var n=S[e],r=t("timer");return{setTimeout:function(){for(var e=arguments,t=[],o=arguments.length;o--;)t[o]=e[o];var i=function(){t[0].apply(t,t.slice(2))};return r.setTimeout(i,t[1]),n.document.taskCenter.callbackManager.lastCallbackId.toString()},setInterval:function(){for(var e=arguments,t=[],o=arguments.length;o--;)t[o]=e[o];var i=function(){t[0].apply(t,t.slice(2))};return r.setInterval(i,t[1]),n.document.taskCenter.callbackManager.lastCallbackId.toString()},clearTimeout:function(e){r.clearTimeout(e)},clearInterval:function(e){r.clearInterval(e)}}}function w(e,t){var n=[],r=[];for(var o in e)n.push(o),r.push(e[o]);return n.push(t),(new(Function.prototype.bind.apply(Function,[null].concat(n)))).apply(void 0,r)}function O(e,t){if("function"!=typeof j.compileBundle)return!1;var n=void 0,r=!1,o="(function (",i=[],a=[];for(var s in e)i.push(s),a.push(e[s]);for(var u=0;u<i.length-1;++u)o+=i[u],o+=",";o+=i[i.length-1],o+=") {",o+=t,o+="} )";try{var c=e.weex||{},l=c.config||{};n=j.compileBundle(o,l.bundleUrl,l.bundleDigest,l.codeCachePath),n&&"function"==typeof n&&(n.apply(void 0,a),r=!0)}catch(e){console.error(e)}return r}Object.defineProperty(t,"__esModule",{value:!0});var E=1,x=sr,S={},C={},k={},j={TextNode:n,instances:S,modules:C,components:k},A={fireEvent:function(e){for(var t=arguments,n=[],r=arguments.length-1;r-- >0;)n[r]=t[r+1];return l.apply(void 0,[S[e]].concat(n))},callback:function(e){for(var t=arguments,n=[],r=arguments.length-1;r-- >0;)n[r]=t[r+1];return f.apply(void 0,[S[e]].concat(n))}};t.init=r,t.reset=o,t.createInstance=a,t.destroyInstance=s,t.refreshInstance=u,t.getRoot=c,t.receiveTasks=d,t.registerModules=p,t.registerComponents=v}),cr=l(ur),lr=ur.registerComponents,fr=ur.registerModules,dr=ur.receiveTasks,pr=ur.getRoot,hr=ur.refreshInstance,vr=ur.destroyInstance,mr=ur.createInstance,yr=ur.reset,_r=ur.init,gr=Object.freeze({default:cr,__moduleExports:ur,registerComponents:lr,registerModules:fr,receiveTasks:dr,getRoot:pr,refreshInstance:hr,destroyInstance:vr,createInstance:mr,reset:yr,init:_r}),br=Object.freeze({$:d,$el:p,$vm:h,$renderThen:v,$scrollTo:m,$transition:y,$getConfig:_,$sendHttp:g,$openURL:b,$setTitle:w,$call:O}),wr=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,Er="[object Object]",xr="__proto__"in{};"undefined"!=typeof Set&&Set.toString().match(/native code/)?zn=Set:(zn=function(){this.set=Object.create(null)},zn.prototype.has=function(e){return void 0!==this.set[e]},zn.prototype.add=function(e){null==e||this.set[e]||(this.set[e]=1)},zn.prototype.clear=function(){this.set=Object.create(null)});var Sr=/^@weex-component\//,Cr=/^@weex-module\//,kr=/^\.{1,2}\//,jr=/\.js$/,Ar=function(e){return!!e.match(Sr)},Ir=function(e){return!!e.match(Cr)},Tr=function(e){return!!e.match(kr)},Nr=function(e){return!Ar(e)&&!Ir(e)&&!Tr(e)},Pr=0;$.target=null;var Mr=[];$.prototype.addSub=function(e){this.subs.push(e)},$.prototype.removeSub=function(e){S(this.subs,e)},$.prototype.depend=function(){$.target&&$.target.addDep(this)},$.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()};var $r=0;L.prototype.get=function(){R(this);var e=this.getter.call(this.vm,this.vm);return this.deep&&U(e),D(),this.cleanupDeps(),e},L.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},L.prototype.cleanupDeps=function(){for(var e=this,t=this.deps.length;t--;){var n=e.deps[t];e.newDepIds.has(n.id)||n.removeSub(e)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},L.prototype.update=function(e){this.lazy?this.dirty=!0:this.run()},
L.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(j(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e,this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},L.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},L.prototype.depend=function(){for(var e=this,t=this.deps.length;t--;)e.deps[t].depend()},L.prototype.teardown=function(){var e=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||S(this.vm._watchers,this);for(var t=this.deps.length;t--;)e.deps[t].removeSub(e);this.active=!1,this.vm=this.cb=this.value=null}};var Rr=T(),Dr=Array.prototype,Fr=Object.create(Dr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Dr[e];x(Fr,e,function(){for(var n=arguments,r=arguments.length,o=new Array(r);r--;)o[r]=n[r];var i,a=t.apply(this,o),s=this.__ob__;switch(e){case"push":case"unshift":i=o;break;case"splice":i=o.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})}),x(Dr,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),x(Dr,"$remove",function(e){this.length&&("number"!=typeof e&&(e=this.indexOf(e)),e>-1&&this.splice(e,1))});var Lr=Object.getOwnPropertyNames(Fr);B.prototype.walk=function(e){var t=this;for(var n in e)t.convert(n,e[n])},B.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)W(e[t])},B.prototype.convert=function(e,t){z(this.value,e,t)},B.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},B.prototype.removeVm=function(e){S(this.vms,e)};var Ur=["$index","$value","$event"],Br={nativeComponentMap:{text:!0,image:!0,container:!0,slider:{type:"slider",append:"tree"},cell:{type:"cell",append:"tree"}}},Vr=Br.nativeComponentMap,qr={attr:"setAttr",style:"setStyle",event:"addEvent"},Wr=1,zr=["init","created","ready","destroyed"];!function(e){e.$emit=Ze,e.$dispatch=Qe,e.$broadcast=Ye,e.$on=et,e.$off=tt}(rt.prototype),rt.prototype.$watch=function(e,t){_e(this,e,t)},rt.set=J,rt.delete=H;var Jr={},Hr=f(function(e,t){function n(e,t){if(e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>X)return null;if(!(t?Z[he]:Z[fe]).test(e))return null;try{return new i(e,t)}catch(e){return null}}function r(e,t){var r=n(e,t);return r?r.version:null}function o(e,t){var r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}function i(e,t){if(e instanceof i){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>X)throw new TypeError("version is longer than "+X+" characters");if(!(this instanceof i))return new i(e,t);G("SemVer",e,t),this.loose=t;var n=e.trim().match(t?Z[he]:Z[fe]);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>K||this.major<0)throw new TypeError("Invalid major version");if(this.minor>K||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>K||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(t>=0&&t<K)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}function a(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new i(e,n).inc(t,r).version}catch(e){return null}}function s(e,t){if(b(e,t))return null;var r=n(e),o=n(t);if(r.prerelease.length||o.prerelease.length){for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==o[i])return"pre"+i;return"prerelease"}for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==o[i])return i}function u(e,t){var n=De.test(e),r=De.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:e<t?-1:e>t?1:0}function c(e,t){return u(t,e)}function l(e,t){return new i(e,t).major}function f(e,t){return new i(e,t).minor}function d(e,t){return new i(e,t).patch}function p(e,t,n){return new i(e,n).compare(new i(t,n))}function h(e,t){return p(e,t,!0)}function v(e,t,n){return p(t,e,n)}function m(e,n){return e.sort(function(e,r){return t.compare(e,r,n)})}function y(e,n){return e.sort(function(e,r){return t.rcompare(e,r,n)})}function _(e,t,n){return p(e,t,n)>0}function g(e,t,n){return p(e,t,n)<0}function b(e,t,n){return 0===p(e,t,n)}function w(e,t,n){return 0!==p(e,t,n)}function O(e,t,n){return p(e,t,n)>=0}function E(e,t,n){return p(e,t,n)<=0}function x(e,t,n,r){var o;switch(t){case"===":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e===n;break;case"!==":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e!==n;break;case"":case"=":case"==":o=b(e,n,r);break;case"!=":o=w(e,n,r);break;case">":o=_(e,n,r);break;case">=":o=O(e,n,r);break;case"<":o=g(e,n,r);break;case"<=":o=E(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function S(e,t){if(e instanceof S){if(e.loose===t)return e;e=e.value}if(!(this instanceof S))return new S(e,t);G("comparator",e,t),this.loose=t,this.parse(e),this.semver===Fe?this.value="":this.value=this.operator+this.semver.version,G("comp",this)}function C(e,t){if(e instanceof C)return e.loose===t?e:new C(e.raw,t);if(e instanceof S)return new C(e.value,t);if(!(this instanceof C))return new C(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 k(e,t){return new C(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function j(e,t){return G("comp",e),e=N(e,t),G("caret",e),e=I(e,t),G("tildes",e),e=M(e,t),G("xrange",e),e=R(e,t),G("stars",e),e}function A(e){return!e||"x"===e.toLowerCase()||"*"===e}function I(e,t){return e.trim().split(/\s+/).map(function(e){return T(e,t)}).join(" ")}function T(e,t){var n=t?Z[Se]:Z[xe];return e.replace(n,function(t,n,r,o,i){G("tilde",e,t,n,r,o,i);var a;return A(n)?a="":A(r)?a=">="+n+".0.0 <"+(+n+1)+".0.0":A(o)?a=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":i?(G("replaceTilde pr",i),"-"!==i.charAt(0)&&(i="-"+i),a=">="+n+"."+r+"."+o+i+" <"+n+"."+(+r+1)+".0"):a=">="+n+"."+r+"."+o+" <"+n+"."+(+r+1)+".0",G("tilde return",a),a})}function N(e,t){return e.trim().split(/\s+/).map(function(e){return P(e,t)}).join(" ")}function P(e,t){G("caret",e,t);var n=t?Z[Ae]:Z[je];return e.replace(n,function(t,n,r,o,i){G("caret",e,t,n,r,o,i);var a;return A(n)?a="":A(r)?a=">="+n+".0.0 <"+(+n+1)+".0.0":A(o)?a="0"===n?">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":">="+n+"."+r+".0 <"+(+n+1)+".0.0":i?(G("replaceCaret pr",i),"-"!==i.charAt(0)&&(i="-"+i),a="0"===n?"0"===r?">="+n+"."+r+"."+o+i+" <"+n+"."+r+"."+(+o+1):">="+n+"."+r+"."+o+i+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+o+i+" <"+(+n+1)+".0.0"):(G("no pr"),a="0"===n?"0"===r?">="+n+"."+r+"."+o+" <"+n+"."+r+"."+(+o+1):">="+n+"."+r+"."+o+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+o+" <"+(+n+1)+".0.0"),G("caret return",a),a})}function M(e,t){return G("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return $(e,t)}).join(" ")}function $(e,t){e=e.trim();var n=t?Z[we]:Z[be];return e.replace(n,function(t,n,r,o,i,a){G("xRange",e,t,n,r,o,i,a);var s=A(r),u=s||A(o),c=u||A(i),l=c;return"="===n&&l&&(n=""),s?t=">"===n||"<"===n?"<0.0.0":"*":n&&l?(u&&(o=0),c&&(i=0),">"===n?(n=">=",u?(r=+r+1,o=0,i=0):c&&(o=+o+1,i=0)):"<="===n&&(n="<",u?r=+r+1:o=+o+1),t=n+r+"."+o+"."+i):u?t=">="+r+".0.0 <"+(+r+1)+".0.0":c&&(t=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0"),G("xRange return",t),t})}function R(e,t){return G("replaceStars",e,t),e.trim().replace(Z[$e],"")}function D(e,t,n,r,o,i,a,s,u,c,l,f,d){return t=A(n)?"":A(r)?">="+n+".0.0":A(o)?">="+n+"."+r+".0":">="+t,s=A(u)?"":A(c)?"<"+(+u+1)+".0.0":A(l)?"<"+u+"."+(+c+1)+".0":f?"<="+u+"."+c+"."+l+"-"+f:"<="+s,(t+" "+s).trim()}function F(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(G(e[n].semver),e[n].semver!==Fe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function L(e,t,n){try{t=new C(t,n)}catch(e){return!1}return t.test(e)}function U(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach(function(e){a.test(e)&&(r&&-1!==o.compare(e)||(r=e,o=new i(r,n)))}),r}function B(e,t,n){var r=null,o=null;try{var a=new C(t,n)}catch(e){return null}return e.forEach(function(e){a.test(e)&&(r&&1!==o.compare(e)||(r=e,o=new i(r,n)))}),r}function V(e,t){try{return new C(e,t).range||"*"}catch(e){return null}}function q(e,t,n){return z(e,t,"<",n)}function W(e,t,n){return z(e,t,">",n)}function z(e,t,n,r){e=new i(e,r),t=new C(t,r);var o,a,s,u,c;switch(n){case">":o=_,a=E,s=g,u=">",c=">=";break;case"<":o=g,a=O,s=_,u="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(L(e,t,r))return!1;for(var l=0;l<t.set.length;++l){var f=t.set[l],d=null,p=null;if(f.forEach(function(e){e.semver===Fe&&(e=new S(">=0.0.0")),d=d||e,p=p||e,o(e.semver,d.semver,r)?d=e:s(e.semver,p.semver,r)&&(p=e)}),d.operator===u||d.operator===c)return!1;if((!p.operator||p.operator===u)&&a(e,p.semver))return!1;if(p.operator===c&&s(e,p.semver))return!1}return!0}function J(e,t){var r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}function H(e,t,n){return e=new C(e,n),t=new C(t,n),e.intersects(t)}t=e.exports=i;var G;"object"==typeof process&&process.env,G=function(){},t.SEMVER_SPEC_VERSION="2.0.0";var X=256,K=Number.MAX_SAFE_INTEGER||9007199254740991,Z=t.re=[],Q=t.src=[],Y=0,ee=Y++;Q[ee]="0|[1-9]\\d*";var te=Y++;Q[te]="[0-9]+";var ne=Y++;Q[ne]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var re=Y++;Q[re]="("+Q[ee]+")\\.("+Q[ee]+")\\.("+Q[ee]+")";var oe=Y++;Q[oe]="("+Q[te]+")\\.("+Q[te]+")\\.("+Q[te]+")";var ie=Y++;Q[ie]="(?:"+Q[ee]+"|"+Q[ne]+")";var ae=Y++;Q[ae]="(?:"+Q[te]+"|"+Q[ne]+")";var se=Y++;Q[se]="(?:-("+Q[ie]+"(?:\\."+Q[ie]+")*))";var ue=Y++;Q[ue]="(?:-?("+Q[ae]+"(?:\\."+Q[ae]+")*))";var ce=Y++;Q[ce]="[0-9A-Za-z-]+";var le=Y++;Q[le]="(?:\\+("+Q[ce]+"(?:\\."+Q[ce]+")*))";var fe=Y++,de="v?"+Q[re]+Q[se]+"?"+Q[le]+"?";Q[fe]="^"+de+"$";var pe="[v=\\s]*"+Q[oe]+Q[ue]+"?"+Q[le]+"?",he=Y++;Q[he]="^"+pe+"$";var ve=Y++;Q[ve]="((?:<|>)?=?)";var me=Y++;Q[me]=Q[te]+"|x|X|\\*";var ye=Y++;Q[ye]=Q[ee]+"|x|X|\\*";var _e=Y++;Q[_e]="[v=\\s]*("+Q[ye]+")(?:\\.("+Q[ye]+")(?:\\.("+Q[ye]+")(?:"+Q[se]+")?"+Q[le]+"?)?)?";var ge=Y++;Q[ge]="[v=\\s]*("+Q[me]+")(?:\\.("+Q[me]+")(?:\\.("+Q[me]+")(?:"+Q[ue]+")?"+Q[le]+"?)?)?";var be=Y++;Q[be]="^"+Q[ve]+"\\s*"+Q[_e]+"$";var we=Y++;Q[we]="^"+Q[ve]+"\\s*"+Q[ge]+"$";var Oe=Y++;Q[Oe]="(?:~>?)";var Ee=Y++;Q[Ee]="(\\s*)"+Q[Oe]+"\\s+",Z[Ee]=new RegExp(Q[Ee],"g");var xe=Y++;Q[xe]="^"+Q[Oe]+Q[_e]+"$";var Se=Y++;Q[Se]="^"+Q[Oe]+Q[ge]+"$";var Ce=Y++;Q[Ce]="(?:\\^)";var ke=Y++;Q[ke]="(\\s*)"+Q[Ce]+"\\s+",Z[ke]=new RegExp(Q[ke],"g");var je=Y++;Q[je]="^"+Q[Ce]+Q[_e]+"$";var Ae=Y++;Q[Ae]="^"+Q[Ce]+Q[ge]+"$";var Ie=Y++;Q[Ie]="^"+Q[ve]+"\\s*("+pe+")$|^$";var Te=Y++;Q[Te]="^"+Q[ve]+"\\s*("+de+")$|^$";var Ne=Y++;Q[Ne]="(\\s*)"+Q[ve]+"\\s*("+pe+"|"+Q[_e]+")",Z[Ne]=new RegExp(Q[Ne],"g");var Pe=Y++;Q[Pe]="^\\s*("+Q[_e]+")\\s+-\\s+("+Q[_e]+")\\s*$";var Me=Y++;Q[Me]="^\\s*("+Q[ge]+")\\s+-\\s+("+Q[ge]+")\\s*$";var $e=Y++;Q[$e]="(<|>)?=?\\s*\\*";for(var Re=0;Re<Y;Re++)G(Re,Q[Re]),Z[Re]||(Z[Re]=new RegExp(Q[Re]));t.parse=n,t.valid=r,t.clean=o,t.SemVer=i,i.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},i.prototype.toString=function(){return this.version},i.prototype.compare=function(e){return G("SemVer.compare",this.version,this.loose,e),e instanceof i||(e=new i(e,this.loose)),this.compareMain(e)||this.comparePre(e)},i.prototype.compareMain=function(e){return e instanceof i||(e=new i(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},i.prototype.comparePre=function(e){var t=this;if(e instanceof i||(e=new i(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var n=0;do{var r=t.prerelease[n],o=e.prerelease[n];if(G("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return u(r,o)}while(++n)},i.prototype.inc=function(e,t){var n=this;switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof n.prerelease[r]&&(n.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=a,t.diff=s,t.compareIdentifiers=u;var De=/^[0-9]+$/;t.rcompareIdentifiers=c,t.major=l,t.minor=f,t.patch=d,t.compare=p,t.compareLoose=h,t.rcompare=v,t.sort=m,t.rsort=y,t.gt=_,t.lt=g,t.eq=b,t.neq=w,t.gte=O,t.lte=E,t.cmp=x,t.Comparator=S;var Fe={};S.prototype.parse=function(e){var t=this.loose?Z[Ie]:Z[Te],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 i(n[2],this.loose):this.semver=Fe},S.prototype.toString=function(){return this.value},S.prototype.test=function(e){return G("Comparator.test",e,this.loose),this.semver===Fe||("string"==typeof e&&(e=new i(e,this.loose)),x(e,this.operator,this.semver,this.loose))},S.prototype.intersects=function(e,t){if(!(e instanceof S))throw new TypeError("a Comparator is required");var n;if(""===this.operator)return n=new C(e.value,t),L(this.value,n,t);if(""===e.operator)return n=new C(this.value,t),L(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=x(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=x(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||u},t.Range=C,C.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},C.prototype.toString=function(){return this.range},C.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),G("range",e,t);var n=t?Z[Me]:Z[Pe];e=e.replace(n,D),G("hyphen replace",e),e=e.replace(Z[Ne],"$1$2$3"),G("comparator trim",e,Z[Ne]),e=e.replace(Z[Ee],"$1~"),e=e.replace(Z[ke],"$1^"),e=e.split(/\s+/).join(" ");var r=t?Z[Ie]:Z[Te],o=e.split(" ").map(function(e){return j(e,t)}).join(" ").split(/\s+/);return this.loose&&(o=o.filter(function(e){return!!e.match(r)})),o=o.map(function(e){return new S(e,t)})},C.prototype.intersects=function(e,t){if(!(e instanceof C))throw new TypeError("a Range is required");return this.set.some(function(n){return n.every(function(n){return e.set.some(function(e){return e.every(function(e){return n.intersects(e,t)})})})})},t.toComparators=k,C.prototype.test=function(e){var t=this;if(!e)return!1;"string"==typeof e&&(e=new i(e,this.loose));for(var n=0;n<this.set.length;n++)if(F(t.set[n],e))return!0;return!1},t.satisfies=L,t.maxSatisfying=U,t.minSatisfying=B,t.validRange=V,t.ltr=q,t.gtr=W,t.outside=z,t.prerelease=J,t.intersects=H}),Gr=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];console.debug("[JS Framework] define a component "+t);var o,i;if(i=n.length>1?n[1]:n[0],"function"==typeof i&&(o=i,i=null),o){var a=function(t){if(Ar(t)){var n=P(t);return st(e,n)}if(Ir(t)){var r=P(t);return e.requireModule(r)}if(Tr(t)||Nr(t)){var o=M(t);return e.commonModules[o]}},s={exports:{}};o(a,s.exports,s),i=s.exports}if(Ar(t)){var u=P(t);ut(e,u,i)}else if(Ir(t)){var c,l=P(t);ot((c={},c[l]=i,c))}else if(Tr(t)){var f=M(t);e.commonModules[f]=i}else if(Nr(t)){var d=M(t);i.template||i.style||i.methods?ut(e,d,i):e.commonModules[d]=i}},Xr=function(e){this.id=e,this.map=[],this.hooks=[]};Xr.prototype.isEmpty=function(){return 0===this.map.length},Xr.prototype.append=function(e,t,n,r){var o=this;this.hasTimer||(this.hasTimer=!0,setTimeout(function(){o.hasTimer=!1,o.flush(!0)},0));var i=this.map;i[t]||(i[t]={});var a=i[t];a[e]||(a[e]={}),"element"===e?(a[e][n]||(a[e][n]=[]),a[e][n].push(r)):a[e][n]=r},Xr.prototype.flush=function(e){var t=this.map.slice();this.map.length=0,t.forEach(function(e){Ct(e,"repeat"),Ct(e,"shown"),kt(e,"element")});var n=this.hooks.slice();this.hooks.length=0,n.forEach(function(e){e()}),this.isEmpty()||this.flush()},Xr.prototype.then=function(e){this.hooks.push(e)},jt.prototype.requireModule=function(e){return at(this,e)},jt.prototype.updateActions=function(){return wt(this)},jt.prototype.callTasks=function(e){return Ot(this,e)},Object.freeze(jt),Object.freeze(jt.prototype);var Kr={},Zr=Br.nativeComponentMap;global.registerMethods=$t;var Qr={fireEvent:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return gt.apply(void 0,[Kr[e]].concat(t))},callback:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return bt.apply(void 0,[Kr[e]].concat(t))}};$t(br),Object.freeze(rt);var Yr=Object.freeze({registerComponents:Pt,registerModules:Mt,registerMethods:$t,createInstance:At,init:It,refreshInstance:Tt,destroyInstance:Nt,receiveTasks:Rt,getRoot:Dt}),eo=f(function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){var r=e.exports.createUniqueKey="undefined"!=typeof Symbol?Symbol:function(e){return"[["+e+"_"+Math.random().toFixed(8).slice(2)+"]]"},o=e.exports.isObject=function(e){return"object"==typeof e&&null!==e};e.exports.LISTENERS=r("listeners"),e.exports.CAPTURE=1,e.exports.BUBBLE=2,e.exports.ATTRIBUTE=3,e.exports.newNode=function(e,t,n){var r=o(n);return{listener:e,kind:t,once:r&&Boolean(n.once),passive:r&&Boolean(n.passive),next:null}}},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){r(this,e),this._listeners={}}return o(e,[{key:"_addListener",value:function(e,t,n){return this._listeners[e]=this._listeners[e]||[],this._listeners[e].push({listener:t,once:n}),this}},{key:"on",value:function(e,t){return this._addListener(e,t,!1)}},{key:"once",value:function(e,t){return this._addListener(e,t,!0)}},{key:"off",value:function(e,t){return this._listeners[e]&&this._listeners[e].length?t?(this._listeners[e]=this._listeners[e].filter(function(e){return!(e.listener===t)}),this):(delete this._listeners[e],this):this}},{key:"emit",value:function(e,t){var n=this;return this._listeners[e]?(this._listeners[e].forEach(function(r){r.listener.apply(n,[t]),r.once&&n.removeListener(e,r.listener)}),this):this}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){var r=n(0),o=n(15),i=n(16),a=r.isObject,s=r.LISTENERS,u=r.CAPTURE,c=r.BUBBLE,l=r.ATTRIBUTE,f=r.newNode,d=o.defineCustomEventTarget,p=i.createEventWrapper,h=i.STOP_IMMEDIATE_PROPAGATION_FLAG,v=i.PASSIVE_LISTENER_FLAG,m="undefined"!=typeof window&&void 0!==window.EventTarget,y=e.exports=function e(){var t=arguments;if(!(this instanceof e)){if(1===arguments.length&&Array.isArray(arguments[0]))return d(e,arguments[0]);if(arguments.length>0){for(var n=Array(arguments.length),r=0;r<arguments.length;++r)n[r]=t[r];return d(e,n)}throw new TypeError("Cannot call a class as a function")}Object.defineProperty(this,s,{value:Object.create(null)})};y.prototype=Object.create((m?window.EventTarget:Object).prototype,{constructor:{value:y,writable:!0,configurable:!0},addEventListener:{value:function(e,t,n){if(null==t)return!1;if("function"!=typeof t&&"object"!=typeof t)throw new TypeError('"listener" is not an object.');var r=a(n)?Boolean(n.capture):Boolean(n),o=r?u:c,i=this[s][e];if(null==i)return this[s][e]=f(t,o,n),!0;for(var l=null;null!=i;){if(i.listener===t&&i.kind===o)return!1;l=i,i=i.next}return l.next=f(t,o,n),!0},configurable:!0,writable:!0},removeEventListener:{value:function(e,t,n){var r=this;if(null==t)return!1;for(var o=a(n)?Boolean(n.capture):Boolean(n),i=o?u:c,l=null,f=this[s][e];null!=f;){if(f.listener===t&&f.kind===i)return null==l?r[s][e]=f.next:l.next=f.next,!0;l=f,f=f.next}return!1},configurable:!0,writable:!0},dispatchEvent:{value:function(e){var t=this,n=e.type,r=this[s][n];if(null==r)return!0;for(var o=p(e,this),i=null;null!=r&&(r.once?null==i?t[s][n]=r.next:i.next=r.next:i=r,o[v]=r.passive,"function"==typeof r.listener?r.listener.call(t,o):r.kind!==l&&"function"==typeof r.listener.handleEvent&&r.listener.handleEvent(o),!o[h]);)r=r.next;return!o.defaultPrevented},configurable:!0,writable:!0}})},function(e,t,n){function r(e,t){var n;for(var r in N)N.hasOwnProperty(r)&&(n=N[r],"*"!==t&&t!==n.origin||(e.target=n.window,n.window.dispatchEvent(e)))}function o(e){e.taskCenter.send("dom",{action:"updateFinish"},[])}function i(e){var t=N[e];if(!t)throw new Error('Invalid instance id "'+e+'"');return t}function a(e){C=e.Document,k=e.Element,j=e.Comment}function s(e){Array.isArray(e)&&e.forEach(function(e){e&&("string"==typeof e?x[e]=!0:"object"===(void 0===e?"undefined":b(e))&&"string"==typeof e.type&&(x[e.type]=e))})}function u(e){}function c(e){if("object"===(void 0===e?"undefined":b(e)))for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(S[t]=e[t])}function l(e,t,n){for(var r in t)e[r]={factory:t[r].bind(n),module:{exports:{}},isInitialized:!1};return e}function f(e,t){if("object"===(void 0===S?"undefined":b(S))){for(var n in S)!function(n){var r=A+n;e[r]={module:{exports:{}},isInitialized:!0},S[n].forEach(function(o){"string"==typeof o&&(o={name:o});var i=o.name;e[r].module.exports[i]=function(){for(var e=arguments,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=e[a];var s={},u=o[o.length-1];return u&&"object"===(void 0===u?"undefined":b(u))&&u.__weex_options__&&(s=u.__weex_options__,o.pop()),t.taskCenter.send("module",{module:n,method:i},o,s)}})}(n)}return e}function d(e,t,o,i,a){var s=N[e];if(void 0!=s)throw new Error('Instance id "'+e+'" existed when create instance');var u=Date.now(),c="object"===("undefined"==typeof WXEnvironment?"undefined":b(WXEnvironment))&&WXEnvironment||{},d=n(6)(),p="function"==typeof p?p:d.Promise,h="function"==typeof h?h:d.Symbol,v="function"==typeof v?v:d.Set,m="function"==typeof m?m:d.Map,y="function"==typeof y?y:d.WeakMap,_="function"==typeof _?_:d.WeakSet,O=d.URL,x=d.URLSearchParams,S=d.FontFace,k=d.matchMedia,j=o.bundleUrl||"about:blank";o.bundleUrl||console.error('Error: Must have bundleUrl option when createInstance, downgrade to "about:blank".');var A=new C(e,j),$=new O(j),R={};s=N[e]={document:A,instanceId:e,bundleUrl:j,bundleCode:t,modules:R,origin:$.origin,uid:0},f(R,A);var D=n(7)(R),F=n(8)(R),L=n(9)(F);n(11)(F,A);var U=n(12)(F,$),B=n(13)(F,p),V=B.fetch,q=B.Headers,W=B.Request,z=B.Response,J=n(14)(F),H=n(17)(F),G=n(18)(F,A),X=G.setTimeout,K=G.clearTimeout,Z=G.setInterval,Q=G.clearInterval,Y=G.requestAnimationFrame,ee=G.cancelAnimationFrame,te=n(19)(),ne=te.atob,re=te.btoa,oe=n(20)(u),ie=n(21)(),ae=ie.Event,se=ie.CustomEvent,ue=new E.default,ce={Promise:p,Symbol:h,Map:m,Set:v,WeakMap:y,WeakSet:_,name:"",closed:!1,atob:ne,btoa:re,performance:oe,document:A,location:U,navigator:{product:"Weex",platform:c.platform,appName:c.appName,appVersion:c.appVersion,userAgent:"Weex/"+c.weexVersion+" "+c.platform+"/"+c.osVersion+" ("+c.deviceModel+") "+c.appName+"/"+c.appVersion},screen:{width:c.deviceWidth,height:c.deviceHeight,availWidth:c.deviceWidth,availHeight:c.deviceHeight,colorDepth:24,pixelDepth:24},devicePixelRatio:c.scale,fetch:V,Headers:q,Response:z,Request:W,XMLHttpRequest:J,URL:O,URLSearchParams:x,FontFace:S,WebSocket:H,Event:ae,CustomEvent:se,matchMedia:k,setTimeout:X,clearTimeout:K,setInterval:Z,clearInterval:Q,requestAnimationFrame:Y,cancelAnimationFrame:ee,alert:function(e){F(I).alert({message:e},function(){})},open:function(e){F(T).push({url:e,animated:!0},M)},close:function(){F(T).close({animated:!0},M,M)},postMessage:function(e,t){r({origin:U.origin,data:JSON.parse(JSON.stringify(e)),type:"message",source:ce},t)},addEventListener:function(e,t){ue.on(e,t)},removeEventListener:function(e,t){ue.off(e,t)},dispatchEvent:function(e){ue.emit(e.type,e)},define:D,require:F,__weex_document__:A,__weex_define__:D,__weex_require__:F,__weex_downgrade__:L,__weex_env__:c,__weex_code__:t,__weex_options__:o,__weex_data__:i};s.window=ce.self=ce.window=ce;var le={},fe={};try{le=a.services.builtinGlobals,fe=a.services.builtinModules}catch(e){}if(Object.assign(ce,le),l(R,g({},w.ModuleFactories,fe),ce),"Web"!==c.platform){var de=oe.timing;de.domLoading=Date.now();var pe=P[t]?P[t]:new Function('with(this){(function(){"use strict";\n'+t+"\n}).call(this)}");pe.call(ce),de.domInteractive=de.domComplete=de.domInteractive=Date.now(),P[t]=pe}else new Function('"use strict";\n'+t).call(ce)}function p(e,t){var n=i(e),r=n.document;r.documentElement.fireEvent("refresh",{timestamp:Date.now(),data:t}),r.taskCenter.send("dom",{action:"refreshFinish"},[])}function h(e){var t=i(e),n=t.bundleCode;t.window.closed=!0;var r=t.document;r.documentElement.fireEvent("destory",{timestamp:Date.now()}),r.destroy&&r.destroy(),r.taskCenter&&r.taskCenter.destroyCallback&&r.taskCenter.destroyCallback(),delete N[e],delete P[n]}function v(e){var t=i(e),n=t.document;return n.toJSON?n.toJSON():{}}function m(e,t,n,r,i){if(Array.isArray(t))return void t.some(function(t){return!1!==m(e,t,n,r)});var a=e.getRef(t);if(a){var s=e.fireEvent(a,n,r,i);return o(e),s}return new Error('Invalid element reference "'+t+'"')}function y(e,t){var n=i(e);if(Array.isArray(t)){var r=n.document,a=[];return t.forEach(function(e){var t=void 0;if("fireEvent"===e.method){var n=_(e.args,4),i=n[0],s=n[1],u=n[2],c=n[3];t=m(r,i,s,u,c)}else if("callback"===e.method){var l=_(e.args,3),f=l[0],d=l[1],p=l[2];t=r.taskCenter.callback(f,d,p),o(r)}a.push(t)}),a}}Object.defineProperty(t,"__esModule",{value:!0});var _=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=t[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.getInstance=i,t.init=a,t.registerComponents=s,t.registerMethods=u,t.registerModules=c,t.createInstance=d,t.refreshInstance=p,t.destroyInstance=h,t.getRoot=v,t.receiveTasks=y;var w=n(4),O=n(1),E=function(e){return e&&e.__esModule?e:{default:e}}(O),x={},S={},C=void 0,k=void 0,j=void 0,A="@weex-module/",I=A+"modal",T=A+"navigator",N={},P={},M=function(){};t.default=t},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.ModuleFactories={rax:n(5)}},function(e,t){e.exports=function(e,t,n){var r=this.__weex_document__,o=this.document;n.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={component:null,mountID:1,sandbox:!0,rootComponents:{},rootInstances:{},hook:null,driver:null,monitor:null},e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=r(i),s=n(7),u=n(8),c=r(u),l=n(2),f=r(l),d=n(4),p=r(d),h=n(18),v=r(h),m=n(3),y="$$instance";t.default={set:function(e,t){e[y]||(e[y]=t,t.rootID&&(a.default.rootInstances[t.rootID]=t,a.default.rootComponents[t.rootID]=t._internal))},get:function(e){return e[y]},remove:function(e){var t=this.get(e);t&&(e[y]=null,t.rootID&&(delete a.default.rootComponents[t.rootID],delete a.default.rootInstances[t.rootID]))},render:function(e,t){a.default.driver.beforeRender&&a.default.driver.beforeRender(),null==t&&(t=a.default.driver.createBody());var n=this.get(t);if(n&&n.isRootComponent){var r=n.getRenderedComponent(),i=r._currentElement;if((0,p.default)(i,e)){var u=r._context;return r.updateComponent(i,e,u,u),n}a.default.hook.Reconciler.unmountComponent(n),(0,c.default)(t)}if(m.isWeb&&t.childNodes)for(var l=[].concat(o(t.childNodes)),d=0;d<l.length;d++){var h=l[d];h.hasAttribute&&h.hasAttribute("data-rendered")&&a.default.driver.removeChild(h,t)}var y=(0,s.createElement)(v.default,null,e),_=(0,f.default)(y),g={},b=_.mountComponent(t,g);return this.set(t,b),a.default.driver.afterRender&&a.default.driver.afterRender(b),a.default.hook.Mount._renderNewRootComponent(b._internal),b}},e.exports=t.default},function(e,t,n){function r(e){var t=void 0;if(void 0===e||null===e||!1===e||!0===e)t=new a.default.EmptyComponent;else if(Array.isArray(e))t=new a.default.FragmentComponent(e);else if("object"===(void 0===e?"undefined":o(e))&&e.type)t="string"==typeof e.type?new a.default.NativeComponent(e):new a.default.CompositeComponent(e);else{if("string"!=typeof e&&"number"!=typeof e)throw Error("Invalid element type "+JSON.stringify(e));t=new a.default.TextComponent(e)}return t._mountIndex=0,t}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=r,e.exports=t.default},function(e,t,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}
;Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return void 0===e?"undefined":r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":r(e)};t.isWeb="object"===("undefined"==typeof navigator?"undefined":o(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product),t.isNode=void 0!==process&&!(!process.versions||!process.versions.node),t.isWeex="function"==typeof callNative,t.isReactNative="undefined"!=typeof __fbBatchedBridgeConfig},function(e,t,n){function r(e,t){var n=null===e,r=null===t;if(n||r)return n===r;var i=void 0===e?"undefined":o(e),a=void 0===t?"undefined":o(t);return"string"===i||"number"===i?"string"===a||"number"===a:"object"===i&&"object"===a&&e.type===t.type&&e.key===t.key}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=r,e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,n,o){r(this,e),this.props=t,this.context=n,this.refs={},this.updater=o}return o(e,[{key:"isComponentClass",value:function(){}},{key:"setState",value:function(e,t){this.updater.setState(this,e,t)}},{key:"forceUpdate",value:function(e){this.updater.forceUpdate(this,e)}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(0),s=r(a);t.default={ComponentTree:{getClosestInstanceFromNode:function(e){return i.default.get(e)},getNodeFromInstance:function(e){for(;e._renderedComponent;)e=e._renderedComponent;return e?e._nativeNode:null}},Mount:{_instancesByReactRootID:s.default.rootComponents,_renderNewRootComponent:function(){}},Reconciler:{mountComponent:function(){},receiveComponent:function(){},unmountComponent:function(){}},monitor:null},e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(){if(p.default.component){var e=p.default.component.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(e){if(e){if(Array.isArray(e)){for(var t={},n=0;n<e.length;++n){var r=i(e[n]);if(r)for(var o in r)t[o]=r[o]}return t}return e}}function a(e,t){if(m.isWeex&&"text"===e){var n=t.children;null==t.value&&null!=n&&(Array.isArray(n)?n=n.map(function(e){return"number"==typeof e||"string"==typeof e?e:""}).join(""):"number"!=typeof n&&"string"!=typeof n&&(n=""),t.value=String(n)),t.children=null}return t}function s(e,t){var n=arguments;if(null==e)throw Error("createElement: type should not be null or undefined."+o());var r={},a=void 0,s=null,u=null;if(null!=t){u=void 0===t.ref?null:t.ref,s=void 0===t.key?null:String(t.key);for(a in t)t.hasOwnProperty(a)&&!y.hasOwnProperty(a)&&(r[a]=t[a])}for(var c=arguments.length,l=Array(c>2?c-2:0),d=2;d<c;d++)l[d-2]=n[d];if(l.length&&(r.children=(0,v.default)(l)),e&&e.defaultProps){var h=e.defaultProps;for(a in h)void 0===r[a]&&(r[a]=h[a])}return r.style&&(Array.isArray(r.style)||"object"===f(r.style))&&(r.style=i(r.style)),new _(e,s,u,r,p.default.component)}function u(e){var t=s.bind(null,e);return t.type=e,t}function c(e,t){var n=arguments;if(!l(e))throw Error("cloneElement: not a valid element."+o());var r=Object.assign({},e.props),i=e.key,a=e.ref,s=e._owner;if(t){void 0!==t.ref&&(a=t.ref,s=p.default.component),void 0!==t.key&&(i=String(t.key));var u=void 0;e.type&&e.type.defaultProps&&(u=e.type.defaultProps);var c=void 0;for(c in t)t.hasOwnProperty(c)&&!y.hasOwnProperty(c)&&(void 0===t[c]&&void 0!==u?r[c]=u[c]:r[c]=t[c])}for(var f=arguments.length,d=Array(f>2?f-2:0),h=2;h<f;h++)d[h-2]=n[h];return d.length&&(r.children=(0,v.default)(d)),new _(e.type,i,a,r,s)}function l(e){return"object"===(void 0===e?"undefined":f(e))&&null!==e&&e.type&&e.props}Object.defineProperty(t,"__esModule",{value:!0});var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.createElement=s,t.createFactory=u,t.cloneElement=c,t.isValidElement=l;var d=n(0),p=r(d),h=n(17),v=r(h),m=n(3),y={key:!0,ref:!0},_=function(e,t,n,r,o){return r=a(e,r),{type:e,key:t,ref:n,props:r,_owner:o}};t.default=_},function(e,t,n){function r(e){var t=i.default.get(e);return!!t&&(i.default.remove(e),t._internal.unmountComponent(),!0)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o=n(1),i=function(e){return e&&e.__esModule?e:{default:e}}(o);e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),s=r(a),u=n(10),c=r(u),l=n(2),f=r(l),d=n(4),p=r(d),h=n(11),v=r(h),m=n(1),y=r(m),_=/on[A-Z]/,g=function(){function e(t){o(this,e),this._currentElement=t}return i(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=s.default.mountID++;var r=this._currentElement.props,o=this._currentElement.type,i={_internal:this,type:o,props:r},a=r.append;this._instance=i,this._prevStyleCopy=Object.assign({},r.style);var u=this.getNativeNode();"tree"!==a&&(n?n(u,e):s.default.driver.appendChild(u,e)),this._currentElement&&this._currentElement.ref&&c.default.attach(this._currentElement._owner,this._currentElement.ref,this);var l=r.children;return null!=l&&this.mountChildren(l,t),"tree"===a&&(n?n(u,e):s.default.driver.appendChild(u,e)),s.default.hook.Reconciler.mountComponent(this),i}},{key:"mountChildren",value:function(e,t){var n=this;Array.isArray(e)||(e=[e]);var r=this._renderedChildren={};return e.map(function(e,o){var i=(0,f.default)(e),a=(0,v.default)(r,e,o);return r[a]=i,i._mountIndex=o,i.mountComponent(n.getNativeNode(),t)})}},{key:"unmountChildren",value:function(e){var t=this._renderedChildren;if(t){for(var n in t){t[n].unmountComponent(e)}this._renderedChildren=null}}},{key:"unmountComponent",value:function(e){if(this._nativeNode){var t=this._currentElement.ref;t&&c.default.detach(this._currentElement._owner,t,this),y.default.remove(this._nativeNode),e||s.default.driver.removeChild(this._nativeNode,this._parent),s.default.driver.removeAllEventListeners(this._nativeNode)}this.unmountChildren(e),s.default.hook.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._instance=null,this._prevStyleCopy=null}},{key:"updateComponent",value:function(e,t,n,r){this._currentElement=t,c.default.update(e,t,this);var o=e.props,i=t.props;this.updateProperties(o,i),this.updateChildren(i.children,r),s.default.hook.Reconciler.receiveComponent(this)}},{key:"updateProperties",value:function(e,t){var n=this,r=void 0,o=void 0,i=void 0;for(r in e)if("children"!==r&&!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if("style"===r){var a=n._prevStyleCopy;for(o in a)a.hasOwnProperty(o)&&(i=i||{},i[o]="");n._prevStyleCopy=null}else _.test(r)?"function"==typeof e[r]&&s.default.driver.removeEventListener(n.getNativeNode(),r.slice(2).toLowerCase(),e[r]):s.default.driver.removeAttribute(n.getNativeNode(),r,e[r]);for(r in t){var u=t[r],c="style"===r?n._prevStyleCopy:null!=e?e[r]:void 0;if("children"!==r&&t.hasOwnProperty(r)&&u!==c&&(null!=u||null!=c))if("style"===r)if(u?u=n._prevStyleCopy=Object.assign({},u):n._prevStyleCopy=null,null!=c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(i=i||{},i[o]=u[o])}else i=u;else if(_.test(r))"function"==typeof c&&s.default.driver.removeEventListener(n.getNativeNode(),r.slice(2).toLowerCase(),c),"function"==typeof u&&s.default.driver.addEventListener(n.getNativeNode(),r.slice(2).toLowerCase(),u);else{var l={};l[r]=u,null!=u?s.default.driver.setAttribute(n.getNativeNode(),r,u):s.default.driver.removeAttribute(n.getNativeNode(),r,e[r])}}i&&s.default.driver.setStyles(this.getNativeNode(),i)}},{key:"updateChildren",value:function(e,t){var n=this,r=this._renderedChildren;if(null!=e||null!=r){var o={},i={};if(null!=e){Array.isArray(e)||(e=[e]);for(var a=0,u=e.length;a<u;a++){var c=e[a],l=(0,v.default)(o,c,a),d=r&&r[l],h=d&&d._currentElement;if(null!=d&&(0,p.default)(h,c))d.updateComponent(h,c,t,t),o[l]=d;else{if(d){var m=d.getNativeNode();d.unmountComponent(!0),i[l]=m}o[l]=(0,f.default)(c)}}}var y=void 0,_=void 0;if(null!=r)for(var g in r)if(r.hasOwnProperty(g)){var b=r[g],w=!o[g];y?w&&b.unmountComponent():(y=b,_=w)}null!=o&&function(){var e=0,a=0,u=null,c=[];for(var l in o){(function(l){if(!o.hasOwnProperty(l))return"continue";var f=o[l],d=r&&r[l];if(d===f){var p=d.getNativeNode();if(Array.isArray(p)||(p=[p]),d._mountIndex<e){Array.isArray(u)&&(u=u[u.length-1]);for(var h=p.length-1;h>=0;h--)s.default.driver.insertAfter(p[h],u)}c=c.concat(p),e=Math.max(d._mountIndex,e),d._mountIndex=a}else{null!=d&&(e=Math.max(d._mountIndex,e));var v=n.getNativeNode();Array.isArray(v)&&(v=n._parent),f.mountComponent(v,t,function(e,t){var n=i[l];if(Array.isArray(e)||(e=[e]),n){Array.isArray(n)||(n=[n]);for(var r=void 0,o=0;o<e.length;o++){var a=e[o];n[o]?s.default.driver.replaceChild(a,n[o]):s.default.driver.insertAfter(a,r),r=a}if(e.length<n.length)for(var f=e.length;f<n.length;f++)s.default.driver.removeChild(n[f])}else{Array.isArray(u)&&(u=u[u.length-1]);var d=void 0;y&&!u&&(d=y.getNativeNode(),Array.isArray(d)&&(d=d[0]));for(var p=e.length-1;p>=0;p--){var h=e[p];u?s.default.driver.insertAfter(h,u):d?s.default.driver.insertBefore(h,d):s.default.driver.appendChild(h,t)}}c=c.concat(e)}),f._mountIndex=a}a++,u=f.getNativeNode()})(l)}if(Array.isArray(n._nativeNode)){n._nativeNode.splice(0,n._nativeNode.length);for(var f=0;f<c.length;f++)n._nativeNode.push(c[f])}}(),_&&y.unmountComponent(),this._renderedChildren=o}}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=s.default.driver.createElement(this._instance),y.default.set(this._nativeNode,this._instance)),this._nativeNode}},{key:"getPublicInstance",value:function(){return this.getNativeNode()}},{key:"getName",value:function(){return this._currentElement.type}}]),e}();t.default=g,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={update:function(e,t,n){var r=null!=e&&e.ref,o=null!=t&&t.ref;r!==o&&(null!=r&&this.detach(e._owner,r,n),null!=o&&this.attach(t._owner,o,n))},attach:function(e,t,n){if(!e)throw new Error("You might be adding a ref to a component that was not created inside a component's `render` method, or you have multiple copies of Rax loaded.");var r=n.getPublicInstance();"function"==typeof t?t(r):e._instance.refs[t]=r},detach:function(e,t,n){if("function"==typeof t)t(null);else{var r=n.getPublicInstance();e._instance.refs[t]===r&&delete e._instance.refs[t]}}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=t&&t.key,o="string"==typeof r,i="."+n.toString(36);if(o){var a="$"+r,s=void 0===e[a];return s||console.warn('Encountered two children with the same key "'+r+'".'),s?a:i}return i},e.exports=t.default},function(e,t,n){function r(e){return"string"==typeof e&&-1!==e.indexOf(l)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;return e.replace(f,function(e){return parseFloat(e)*t+"px"})}function i(){return d}function a(e){d=e}function s(e,t){return"number"==typeof e&&!c[t]}function u(e,t){return t&&s(e,t)?e*d+"px":r(e)?o(e):e}Object.defineProperty(t,"__esModule",{value:!0}),t.isRem=r,t.calcRem=o,t.getRem=i,t.setRem=a,t.isUnitNumber=s,t.convertUnit=u;var c={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,lines:!0},l="rem",f=/[-+]?\d*\.?\d+rem/g,d=void 0},function(e,t,n){function r(e,t){return e.style=e.style||{},t.forEach(function(t){e[t]&&!e.style[t]&&(e.style[t]=e[t],delete e[t])}),e}function o(e,t,n){return e[t]&&!e[n]&&(e[n]=e[t],delete e[t]),e}Object.defineProperty(t,"__esModule",{value:!0}),t.transformPropsAttrsToStyle=r,t.renamePropsAttr=o},function(e,t,n){function r(e){if(null==e)return null;if(e.ownerDocument||e.nodeType)return e;if(e._nativeNode)return e._nativeNode;if("string"==typeof e)return i.default.driver.getElementById(e);if("function"!=typeof e.render)throw new Error("Appears to be neither Component nor DOMNode.");var t=e._internal;if(t){for(;!t._nativeNode;)if(null==(t=t._renderedComponent))return null;return t._nativeNode}throw new Error("findDOMNode was called on an unmounted component.")}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=r,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.version=t.setNativeProps=t.findComponentInstance=t.unmountComponentAtNode=t.findDOMNode=t.render=t.PropTypes=t.PureComponent=t.Component=t.createFactory=t.isValidElement=t.cloneElement=t.createElement=void 0,n(16);var o=n(7),i=n(5),a=r(i),s=n(19),u=r(s),c=n(20),l=r(c),f=n(21),d=r(f),p=n(14),h=r(p),v=n(8),m=r(v),y=n(42),_=r(y),g=n(43),b=r(g),w=n(44),O=r(w);t.createElement=o.createElement,t.cloneElement=o.cloneElement,t.isValidElement=o.isValidElement,t.createFactory=o.createFactory,t.Component=a.default,t.PureComponent=u.default,t.PropTypes=l.default,t.render=d.default,t.findDOMNode=h.default,t.unmountComponentAtNode=m.default,t.findComponentInstance=_.default,t.setNativeProps=b.default,t.version=O.default},function(e,t,n){var r=n(6),o=function(e){return e&&e.__esModule?e:{default:e}}(r);"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject(o.default)},function(e,t,n){function r(e,t){if(Array.isArray(e))for(var n=0,o=e.length;n<o;n++)r(e[n],t);else t.push(e)}function o(e){if(null==e)return e;var t=[];return r(e,t),1===t.length&&(t=t[0]),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=function(e){return e&&e.__esModule?e:{default:e}}(s),c=1,l=function(e){function t(){var e,n,i,a,s=arguments;r(this,t);for(var u=arguments.length,l=Array(u),f=0;f<u;f++)l[f]=s[f];return n=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),i.rootID=c++,a=n,o(i,a)}return i(t,e),a(t,[{key:"isRootComponent",value:function(){}},{key:"render",value:function(){return this.props.children}},{key:"getPublicInstance",value:function(){return this.getRenderedComponent().getPublicInstance()}},{key:"getRenderedComponent",value:function(){return this._internal._renderedComponent}}]),t}(u.default);t.default=l,e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=function(e){return e&&e.__esModule?e:{default:e}}(s),c=function(e){function t(e,n){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n))}return i(t,e),a(t,[{key:"isPureComponentClass",value:function(){}}]),t}(u.default);t.default=c,e.exports=t.default},function(e,t,n){function r(e){function t(e,t,n,r,i,a){return o}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(e,t,n,r,o){}return r(t)}();t.default={array:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,element:o,node:o,any:o,arrayOf:o,instanceOf:o,objectOf:o,oneOf:o,oneOfType:o,shape:o},e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){"function"==typeof n&&(r=n,n=null),(0,a.default)(n||{});var o=u.default.render(e,t),i=o.getPublicInstance();return r&&r.call(i),i}Object.defineProperty(t,"__esModule",{value:!0});var i=n(22),a=r(i),s=n(1),u=r(s),c=n(0);r(c);t.default=o,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.driver,n=e.hook,r=e.measurer;if(s.default.EmptyComponent=c.default,s.default.NativeComponent=f.default,s.default.TextComponent=p.default,s.default.FragmentComponent=y.default,s.default.CompositeComponent=v.default,s.default.hook=n||E.default,s.default.measurer=r,!s.default.driver){if(!t)if(i.isWeex)t=g.default;else{if(!i.isWeb)throw Error("No builtin driver matched");t=w.default}s.default.driver=t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(3),a=n(0),s=r(a),u=n(23),c=r(u),l=n(9),f=r(l),d=n(24),p=r(d),h=n(25),v=r(h),m=n(29),y=r(m),_=n(30),g=r(_),b=n(40),w=r(b),O=n(6),E=r(O);e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(i),s=function(){function e(){r(this,e),this._currentElement=null}return o(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t;var r={_internal:this},o=this.getNativeNode();return n?n(o,e):a.default.driver.appendChild(o,e),r}},{key:"unmountComponent",value:function(e){this._nativeNode&&!e&&a.default.driver.removeChild(this._nativeNode,this._parent),this._nativeNode=null,this._parent=null,this._context=null}},{key:"updateComponent",value:function(){}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=a.default.driver.createEmpty()),this._nativeNode}}]),e}();t.default=s,e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(i),s=function(){function e(t){r(this,e),this._currentElement=t,this._stringText=String(t)}return o(e,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=a.default.mountID++;var r=this.getNativeNode();n?n(r,e):a.default.driver.appendChild(r,e);var o={_internal:this};return a.default.hook.Reconciler.mountComponent(this),o}},{key:"unmountComponent",value:function(e){this._nativeNode&&!e&&a.default.driver.removeChild(this._nativeNode,this._parent),a.default.hook.Reconciler.unmountComponent(this),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._stringText=null}},{key:"updateComponent",value:function(e,t,n){e!==t&&(this._currentElement=t,this._stringText=String(t),a.default.driver.updateText(this.getNativeNode(),this._stringText),a.default.hook.Reconciler.receiveComponent(this))}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=a.default.driver.createText(this._stringText)),this._nativeNode}}]),e}();t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){try{return e()}catch(e){if(t)t(e);else{if(!d.default.sandbox)throw e;setTimeout(function(){throw e},0)}}}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(26),u=r(s),c=n(27),l=r(c),f=n(0),d=r(f),p=n(10),h=r(p),v=n(2),m=r(v),y=n(4),_=r(y),g=n(28),b=r(g),w=function(){function e(t){o(this,e),this._currentElement=t}return a(e,[{key:"getName",value:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null}},{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=d.default.mountID++,this._updateCount=0;var r=this._currentElement.type,o=this._currentElement.props,a=r.prototype,s=a&&r.prototype.isComponentClass,c=a&&r.prototype.render,f=this._processContext(t),p=void 0,v=void 0;if(s||c)p=new r(o,f,l.default);else{if("function"!=typeof r)throw Error("Invalid component type "+JSON.stringify(r));p=new u.default(r)}p.props=o,p.context=f,p.refs={},p.updater=l.default,p._internal=this,this._instance=p;var y=p.state;if(void 0===y&&(p.state=y=null),i(function(){p.componentWillMount&&p.componentWillMount()}),null==v){d.default.component=this,p.state=this._processPendingState(o,f);var _=void 0;"function"==typeof p.handleError&&(_=function(e){p.handleError(e)}),i(function(){v=p.render()},_),d.default.component=null}return this._renderedComponent=(0,m.default)(v),this._renderedComponent.mountComponent(this._parent,this._processChildContext(t),n),this._currentElement&&this._currentElement.ref&&h.default.attach(this._currentElement._owner,this._currentElement.ref,this),i(function(){p.componentDidMount&&p.componentDidMount()}),d.default.hook.Reconciler.mountComponent(this),p}},{key:"unmountComponent",value:function(e){var t=this._instance;if(i(function(){t.componentWillUnmount&&t.componentWillUnmount()}),d.default.hook.Reconciler.unmountComponent(this),t._internal=null,null!=this._renderedComponent){var n=this._currentElement.ref;n&&h.default.detach(this._currentElement._owner,n,this),this._renderedComponent.unmountComponent(e),this._renderedComponent=null,this._instance=null}this._currentElement=null,this._pendingStateQueue=null,this._pendingForceUpdate=!1,this._context=null}},{key:"_processContext",value:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return{};var r={};for(var o in n)r[o]=e[o];return r}},{key:"_processChildContext",value:function(e){var t=this._instance,n=t.getChildContext&&t.getChildContext();return n?Object.assign({},e,n):e}},{key:"_processPendingState",value:function(e,t){var n=this._instance,r=this._pendingStateQueue;if(!r)return n.state;this._pendingStateQueue=null;for(var o=Object.assign({},n.state),i=0;i<r.length;i++){var a=r[i];Object.assign(o,"function"==typeof a?a.call(n,o,e,t):a)}return o}},{key:"updateComponent",value:function(e,t,n,r){var o=this._instance;o||console.error("Update component '"+this.getName()+"' that has already been unmounted (or failed to mount).");var a=!1,s=void 0,u=void 0;this._context===r?s=o.context:(s=this._processContext(r),a=!0),e===t?u=t.props:(u=t.props,a=!0);var c=a&&o.componentWillReceiveProps;c&&(this._pendingState=!0,i(function(){o.componentWillReceiveProps(u,s)}),this._pendingState=!1),h.default.update(e,t,this);var f=!0,p=o.props,v=o.state,m=this._processPendingState(u,s);if(this._pendingForceUpdate||(o.shouldComponentUpdate?f=i(function(){return o.shouldComponentUpdate(u,m,s)}):o.isPureComponentClass&&(f=!(0,b.default)(p,u)||!(0,b.default)(v,m))),f){this._pendingForceUpdate=!1;var y=o.context;i(function(){o.componentWillUpdate&&o.componentWillUpdate(u,m,s)}),this._currentElement=t,this._context=r,o.props=u,o.state=m,o.context=s,this._updateRenderedComponent(r),i(function(){o.componentDidUpdate&&o.componentDidUpdate(p,v,y)}),this._updateCount++}else this._currentElement=t,this._context=r,o.props=u,o.state=m,o.context=s;if(c){var _=this._pendingCallbacks;this._pendingCallbacks=null,l.default.runCallbacks(_,o)}d.default.hook.Reconciler.receiveComponent(this)}},{key:"_updateRenderedComponent",value:function(e){var t=this._renderedComponent,n=t._currentElement,r=this._instance,o=void 0;if(d.default.component=this,i(function(){o=r.render()}),d.default.component=null,(0,_.default)(n,o))t.updateComponent(n,o,t._context,this._processChildContext(e));else{var a=t.getNativeNode();t.unmountComponent(!0),this._renderedComponent=(0,m.default)(o),this._renderedComponent.mountComponent(this._parent,this._processChildContext(e),function(e,t){Array.isArray(e)||(e=[e]),Array.isArray(a)||(a=[a]);for(var n=void 0,r=0;r<e.length;r++){var o=e[r];a[r]?d.default.driver.replaceChild(o,a[r]):d.default.driver.insertAfter(o,n),n=o}if(e.length<a.length)for(var i=e.length;i<a.length;i++)d.default.driver.removeChild(a[i])})}}},{key:"getNativeNode",value:function(){var e=this._renderedComponent;if(e)return e.getNativeNode()}},{key:"getPublicInstance",value:function(){var e=this._instance;return e instanceof u.default?null:e}}]),e}();t.default=w,e.exports=t.default},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(function(e){e&&e.__esModule}(i),function(){function e(t){r(this,e),this.pureRender=t}return o(e,[{key:"render",value:function(){return this.pureRender(this.props,this.context)}}]),e}());t.default=a,e.exports=t.default},function(e,t,n){function r(e,t){if(t){(e._pendingCallbacks||(e._pendingCallbacks=[])).push(t)}}function o(e,t){if(t){(e._pendingStateQueue||(e._pendingStateQueue=[])).push(t)}}Object.defineProperty(t,"__esModule",{value:!0});var i={setState:function(e,t,n){var i=e._internal;i&&(o(i,t),r(i,n),i._pendingState||this.runUpdate(e))},forceUpdate:function(e,t){var n=e._internal;n&&(n._pendingForceUpdate=!0,r(n,t),this.runUpdate(e))},runUpdate:function(e){var t=e._internal;if(t&&t._renderedComponent){var n=t._pendingCallbacks;t._pendingCallbacks=null;var r=t._currentElement,o=t._context;(t._pendingStateQueue||t._pendingForceUpdate)&&t.updateComponent(r,r,o,o),this.runCallbacks(n,e)}},runCallbacks:function(e,t){if(e)for(var n=0;n<e.length;n++)e[n].call(t)}};t.default=i,e.exports=t.default},function(e,t,n){function r(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!==(void 0===e?"undefined":i(e))||null===e||"object"!==(void 0===t?"undefined":i(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var s=0;s<n.length;s++)if(!a.call(t,n[s])||!r(e[n[s]],t[n[s]]))return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.prototype.hasOwnProperty;t.default=o,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c=r(u),l=n(9),f=r(l),d=n(1),p=r(d),h=n(2),v=r(h),m=n(11),y=r(m),_=function(e){function t(e){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return a(t,e),s(t,[{key:"mountComponent",value:function(e,t,n){this._parent=e,this._context=t,this._mountID=c.default.mountID++;var r={_internal:this};this._instance=r;var o=this.getNativeNode(),i=this._currentElement;if(this.mountChildren(i,t),n)n(o,e);else for(var a=Array.isArray(e),s=0;s<o.length;s++){var u=o[s];a?e.push(u):c.default.driver.appendChild(u,e)}return r}},{key:"mountChildren",value:function(e,t){var n=this,r=this._renderedChildren={},o=this.getNativeNode();return e.map(function(e,i){var a=(0,v.default)(e),s=(0,y.default)(r,e,i);return r[s]=a,a._mountIndex=i,a.mountComponent(n._parent,t,function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++)o.push(e[t]);else o.push(e)})})}},{key:"unmountComponent",value:function(e){var t=this;if(this._nativeNode&&(p.default.remove(this._nativeNode),!e))for(var n=0;n<this._nativeNode.length;n++)c.default.driver.removeChild(t._nativeNode[n]);this.unmountChildren(!0),this._currentElement=null,this._nativeNode=null,this._parent=null,this._context=null,this._instance=null}},{key:"updateComponent",value:function(e,t,n,r){this._currentElement=t,this.updateChildren(this._currentElement,r)}},{key:"getNativeNode",value:function(){return null==this._nativeNode&&(this._nativeNode=[]),this._nativeNode}},{key:"getPublicInstance",value:function(){
return this.getNativeNode()}},{key:"getName",value:function(){return"fragment"}}]),t}(f.default);t.default=_,e.exports=t.default},function(e,t,n){var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":o(e)},a=n(12),s=n(31),u=function(e){return e&&e.__esModule?e:{default:e}}(s),c=/^on[A-Z]/,l=/^aria-/,f={},d="object"===(void 0===r?"undefined":i(r))?r:"object"===(void 0===d?"undefined":i(d))?d:null,p={getElementById:function(e){return f[e]},createBody:function(){if(d.body)return d.body;var e=d.documentElement,t=d.createBody();return e.appendChild(t),t},createComment:function(e){return d.createComment(e)},createEmpty:function(){return this.createComment(" empty ")},createText:function(e){return p.createElement({type:"text",props:{value:e}})},updateText:function(e,t){this.setAttribute(e,"value",t)},createElement:function(e){var t=u.default[e.type];t&&(e=t.parse(e));var n=e.props,r={},o=n.style;for(var i in o)r[i]=(0,a.convertUnit)(o[i],i);var s=d.createElement(e.type,{style:r});return this.setNativeProps(s,n,!0),s},appendChild:function(e,t){return t.appendChild(e)},removeChild:function(e,t){t=t||e.parentNode;var n=e.attr&&e.attr.id;return null!=n&&(f[n]=null),t.removeChild(e)},replaceChild:function(e,t,n){n=n||t.parentNode;var r=t.previousSibling,o=t.nextSibling;this.removeChild(t,n),r?this.insertAfter(e,r,n):o?this.insertBefore(e,o,n):this.appendChild(e,n)},insertAfter:function(e,t,n){return n=n||t.parentNode,n.insertAfter(e,t)},insertBefore:function(e,t,n){return n=n||t.parentNode,n.insertBefore(e,t)},addEventListener:function(e,t,n){return e.addEvent(t,n)},removeEventListener:function(e,t,n){return e.removeEvent(t,n)},removeAllEventListeners:function(e){},removeAttribute:function(e,t,n){return"id"==t&&(f[n]=null),e.setAttr(t,void 0,!1)},setAttribute:function(e,t,n){return"id"==t&&(f[n]=e),l.test(t)&&(t=t.replace(/\-(\w)/,function(e,t){return t.toUpperCase()})),e.setAttr(t,n,!1)},setStyles:function(e,t){for(var n in t){var r=t[n];r=(0,a.convertUnit)(r,n),e.setStyle(n,r)}},beforeRender:function(){d.open(),(0,a.setRem)(this.getWindowWidth()/750)},afterRender:function(){d.listener&&d.listener.createFinish&&d.listener.createFinish(),d.close()},getWindowWidth:function(){return 750},setNativeProps:function(e,t,n){var r=this;for(var o in t){var i=t[o];if("children"!==o&&null!=i)if("style"===o){if(n)continue;r.setStyles(e,i)}else if(c.test(o)){var a=o.slice(2).toLowerCase();r.addEventListener(e,a,i)}else r.setAttribute(e,o,i)}}};t.default=p,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(32),i=r(o),a=n(33),s=r(a),u=n(34),c=r(u),l=n(35),f=r(l),d=n(36),p=r(d),h=n(37),v=r(h),m=n(38),y=r(m),_=n(39),g=r(_);t.default={span:f.default,p:p.default,img:i.default,button:v.default,video:s.default,textarea:c.default,h1:y.default,h2:y.default,h3:y.default,h4:y.default,h5:y.default,h6:y.default,nav:g.default,article:g.default,section:g.default,footer:g.default,aside:g.default,main:g.default},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.default={parse:function(e){var t=e.props;return e.type="image",e.props=(0,r.transformPropsAttrsToStyle)(t,["width","height"]),e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(13);t.default={parse:function(e){var t=e.props;return e.props=(0,r.transformPropsAttrsToStyle)(t,["width","height"]),e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={parse:function(e){var t=e.props;return"string"!=typeof t.children||t.value||(t.value=t.children,t.children=null),e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={parse:function(e){var t=e.props;return e.type="text","string"!=typeof t.children||t.value||(t.value=t.children,t.children=null),e}},e.exports=t.default},function(e,t,n){function r(e){return{type:"span",attr:{value:e}}}function o(e){var t=e.type,n=e.props,r=n.style,o=n.children;"img"===t&&(t="image"),l[t]&&(r=u({},l[t],r),t="span"),n.style=null,n.children=null;var a={type:t,style:r,attr:n||{}};return o&&("span"===t&&"string"==typeof o?a.attr.value=o:a.children=i(o)),a}function i(e){var t=[];Array.isArray(e)||(e=[e]);for(var n=0;n<e.length;n++){var i=e[n];"string"==typeof i?t.push(r(i)):"object"===(void 0===i?"undefined":s(i))&&t.push(o(i))}return t}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return void 0===e?"undefined":a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":a(e)},u=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=t[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c={fontSize:28,marginTop:28,marginBottom:28},l={u:{textDecoration:"underline"},s:{textDecoration:"line-through"},i:{fontStyle:"italic"},b:{fontWeight:"bold"},del:{textDecoration:"line-through"},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},big:{fontSize:33.6},small:{fontSize:28*.8}};t.default={parse:function(e){var t=e.props,n=t.children;return e.type="richtext",t.style=u({},c,t.style),t.value=i(n),t.children=null,e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=t[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};t.default={parse:function(e){var t=e.props;e.type="text";var n=t.style,o=t.disabled,i=t.children,a=r({textAlign:"center",fontSize:22,paddingTop:4,paddingRight:12,paddingBottom:6,paddingLeft:12,borderWidth:4,borderStyle:"solid",borderColor:"#000000",backgroudColor:"#c0c0c0"},n);return o&&(t.onClick=null,a=r({},a,{color:"#7f7f7f",borderColor:"#7f7f7f"})),"string"==typeof i&&(t.value=i,t.children=null),e}},e.exports=t.default},function(e,t,n){function r(e,t,n){return{fontSize:e*t,marginTop:e*t*n,marginBottom:e*t*n,fontWeight:"bold"}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=arguments,n=1;n<arguments.length;n++){var r=t[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},i={h1:r(28,2,.67),h2:r(28,1.5,.83),h3:r(28,1.17,1),h4:r(28,1,1.33),h5:r(28,.83,1.67),h6:r(28,.67,2.33)};t.default={parse:function(e){var t=e.type,n=e.props;return e.type="text",n.style=o({},i[t]||i.h6,n.style),"string"!=typeof n.children||n.value||(n.value=n.children,n.children=null),e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default={parse:function(e){return e.type="div",e}},e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(41),a=function(e){return e&&e.__esModule?e:{default:e}}(i),s=/on[A-Z]/,u={getElementById:function(e){return o.getElementById(e)},createBody:function(){return o.body},createComment:function(e){return o.createComment(e)},createEmpty:function(){return this.createComment(" empty ")},createText:function(e){return o.createTextNode(e)},updateText:function(e,t){e["textContent"in o?"textContent":"nodeValue"]=t},createElement:function(e){var t=o.createElement(e.type),n=e.props;return this.setNativeProps(t,n),t},appendChild:function(e,t){return t.appendChild(e)},removeChild:function(e,t){(t=t||e.parentNode)&&t.removeChild(e)},replaceChild:function(e,t,n){n=n||t.parentNode,n.replaceChild(e,t)},insertAfter:function(e,t,n){n=n||t.parentNode;var r=t.nextSibling;r?n.insertBefore(e,r):n.appendChild(e)},insertBefore:function(e,t,n){n=n||t.parentNode,n.insertBefore(e,t)},addEventListener:function(e,t,n){return e.addEventListener(t,n)},removeEventListener:function(e,t,n){return e.removeEventListener(t,n)},removeAllEventListeners:function(e){},removeAttribute:function(e,t){if("dangerouslySetInnerHTML"===t)return e.innerHTML=null;"className"===t&&(t="class"),t in e&&(e[t]=null),e.removeAttribute(t)},setAttribute:function(e,t,n){if("dangerouslySetInnerHTML"===t)return e.innerHTML=n.__html;"className"===t&&(t="class"),t in e?e[t]=n:e.setAttribute(t,n)},setStyles:function(e,t){var n={};for(var o in t){var i=t[o];a.default.isFlexProp(o)?a.default[o](i,n):n[o]=(0,r.convertUnit)(i,o)}for(var s in n){var u=n[s];if(Array.isArray(u))for(var c=0;c<u.length;c++)e.style[s]=u[c];else e.style[s]=u}},beforeRender:function(){(0,r.setRem)(this.getWindowWidth()/750)},getWindowWidth:function(){return o.documentElement.clientWidth},setNativeProps:function(e,t){var n=this;for(var r in t){var o=t[r];if("children"!==r&&null!=o)if("style"===r)n.setStyles(e,o);else if(s.test(r)){var i=r.slice(2).toLowerCase();n.addEventListener(e,i,o)}else n.setAttribute(e,r,o)}}};t.default=u,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r={stretch:"stretch","flex-start":"start","flex-end":"end",center:"center"},o={row:"horizontal",column:"vertical"},i={"flex-start":"start","flex-end":"end",center:"center","space-between":"justify","space-around":"justify"},a={display:!0,flex:!0,alignItems:!0,alignSelf:!0,flexDirection:!0,justifyContent:!0,flexWrap:!0},s={isFlexProp:function(e){return a[e]},display:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.display="flex"===e?["-webkit-box","-webkit-flex","flex"]:e,t},flex:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxFlex=e,t.webkitFlex=e,t.flex=e,t},flexWrap:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.flexWrap=e,t},alignItems:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxAlign=r[e],t.webkitAlignItems=e,t.alignItems=e,t},alignSelf:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitAlignSelf=e,t.alignSelf=e,t},flexDirection:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxOrient=o[e],t.webkitFlexDirection=e,t.flexDirection=e,t},justifyContent:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.webkitBoxPack=i[e],t.webkitJustifyContent=e,t.justifyContent=e,t}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return null==e?null:i.default.get(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=r,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e=(0,u.default)(e),a.default.driver.setNativeProps(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(0),a=r(i),s=n(14),u=r(s);e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default="0.4.7",e.exports=t.default}])}},function(e,t){e.exports=function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){function r(e){return!!e&&("symbol"===(void 0===e?"undefined":s(e))||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}function o(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}var i,a,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=Object.defineProperties,c=Object.defineProperty,l=Object.create(null),f=function(){var e=Object.create(null);return function(t){for(var n=0;e[t+(n||"")];)++n;return t+=n||"",e[t]=!0,"@@"+t}}();a=function(e){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return i(e)},e.exports=i=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return n=Object.create(a.prototype),t=void 0===t?"":String(t),u(n,{__description__:{value:t},__name__:{value:f(t)}})},u(i,{for:{value:function(e){return l[e]?l[e]:l[e]=i(String(e))}},keyFor:{value:function(e){var t;o(e);for(t in l)if(l[t]===e)return t}},hasInstance:{value:i("hasInstance")},isConcatSpreadable:{value:i("isConcatSpreadable")},iterator:{value:i("iterator")},match:{value:i("match")},replace:{value:i("replace")},search:{value:i("search")},species:{value:i("species")},split:{value:i("split")},toPrimitive:{value:i("toPrimitive")},toStringTag:{value:i("toStringTag")},unscopables:{value:i("unscopables")}}),u(a.prototype,{constructor:{value:i},toString:{value:function(){return this.__name__}}}),u(i.prototype,{toString:{value:function(){return"Symbol ("+o(this).__description__+")"}},valueOf:{value:function(){return o(this)}}}),c(i.prototype,i.toPrimitive,{value:function(){var e=o(this);return"symbol"===(void 0===e?"undefined":s(e))?e:e.toString()}}),c(i.prototype,i.toStringTag,{value:"Symbol"}),c(a.prototype,i.toStringTag,{value:i.prototype[i.toStringTag]}),c(a.prototype,i.toPrimitive,{value:i.prototype[i.toPrimitive]})},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return encodeURIComponent(e).replace(c,d)}function i(e){return decodeURIComponent(e.replace(l," "))}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),u=function(e){return e&&e.__esModule?e:{default:e}}(s),c=/[!'\(\)~]|%20|%00/g,l=/\+/g,f={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},d=function(e){return f[e]},p="__URLSearchParams__",h=function(){function e(t){var n=this;if(r(this,e),this[p]=Object.create(null),t){"?"===t.charAt(0)&&(t=t.slice(1));for(var o,a,s=(t||"").split("&"),u=0,c=s.length;u<c;u++)a=s[u],o=a.indexOf("="),-1<o?n.append(i(a.slice(0,o)),i(a.slice(o+1))):a.length&&n.append(i(a),"")}}return a(e,[{key:"append",value:function(e,t){var n=this[p];e in n?n[e].push(""+t):n[e]=[""+t]}},{key:"delete",value:function(e){delete this[p][e]}},{key:"get",value:function(e){var t=this[p];return e in t?t[e][0]:null}},{key:"getAll",value:function(e){var t=this[p];return e in t?t[e].slice(0):[]}},{key:"has",value:function(e){return e in this[p]}},{key:"set",value:function(e,t){this[p][e]=[""+t]}},{key:"forEach",value:function(e,t){var n=this[p];Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){e.call(t,n,r,this)},this)},this)}},{key:"keys",value:function(){var e=[];this.forEach(function(t,n){e.push(n)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t[u.default.iterator]=function(){return t},t}},{key:"values",value:function(){var e=[];this.forEach(function(t){e.push(t)});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t[u.default.iterator]=function(){return t},t}},{key:"entries",value:function(){var e=[];this.forEach(function(t,n){e.push([n,t])});var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t[u.default.iterator]=function(){return t},t}},{key:"toString",value:function(){var e,t,n,r,i=this[p],a=[];for(t in i)for(n=o(t),e=0,r=i[t];e<r.length;e++)a.push(n+"="+o(r[e]));return a.join("&")}}]),e}();h.prototype[u.default.iterator]=h.prototype.entries,e.exports=h},function(e,t,n){e.exports={get Promise(){return n(3)},get Symbol(){return n(0)},get Map(){return n(4)},get Set(){return n(5)},get WeakMap(){return n(6)},get WeakSet(){return n(7)},get FontFace(){return n(8)},get URL(){return n(9)},get URLSearchParams(){return n(1)},get matchMedia(){return n(10)}}},function(e,t,n){function r(){}function o(e,t){return function(){e.apply(t,arguments)}}function i(e){if("object"!==d(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise resolver is not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function a(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,p(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?s:u)(t.promise,e._value);var r;try{r=n(e._value)}catch(e){return void u(t.promise,e)}s(t.promise,r)})}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":d(t))||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void c(e);if("function"==typeof n)return void f(o(n,t),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&p(function(){e._handled||h(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function l(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e(function(e){n||(n=!0,s(t,e))},function(e){n||(n=!0,u(t,e))})}catch(e){if(n)return;n=!0,u(t,e)}}var d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p="function"==typeof setImmediate&&setImmediate||function(e){"function"==typeof setTimeout?setTimeout(e,0):e()},h=function(e){"undefined"!=typeof console&&console&&console.log("Possible Unhandled Promise Rejection:",e)};i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var n=new this.constructor(r);return a(this,new l(e,t,n)),n},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function r(i,a){try{if(a&&("object"===(void 0===a?"undefined":d(a))||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){r(i,e)},n)}t[i]=a,0==--o&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var o=t.length,i=0;i<t.length;i++)r(i,t[i])})},i.resolve=function(e){return e&&"object"===(void 0===e?"undefined":d(e))&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)})},i._setImmediateFn=function(e){p=e},i._setUnhandledRejectionFn=function(e){h=e},e.exports=i},function(e,t,n){function r(e){return Number.isNaN(e)?f:e}function o(e){return e===f?NaN:e}function i(e,t){var n=0,r=!1;return{next:function(){if(n===e._keys.length&&(r=!0),r)return{value:void 0,done:!0};for(;e._keys[n]===l;)n++;return{value:t.call(e,n++),done:!1}}}}function a(e){for(var t=0,n=0,r=e._keys.length;n<r;n++)e._keys[n]!==l&&t++;return t}function s(e,t){return"function"==typeof e[t]}var u=n(0),c=function(e){return e&&e.__esModule?e:{default:e}}(u),l=(0,c.default)("undef"),f=(0,c.default)("NaN"),d=!0,p=function e(t){this._keys=[],this._values=[],t&&s(t,"forEach")&&(t instanceof e||s(t,"clear")&&s(t,"delete")&&s(t,"entries")&&s(t,"forEach")&&s(t,"get")&&s(t,"has")&&s(t,"keys")&&s(t,"set")&&s(t,"values")?t.forEach(function(e,t){this.set.apply(this,[t,e])},this):t.forEach(function(e){this.set.apply(this,e)},this)),d||(this.size=a(this))};p.prototype={};try{Object.defineProperty(p.prototype,"size",{get:function(){return a(this)}})}catch(e){d=!1}p.prototype.get=function(e){var t=this._keys.indexOf(r(e));return-1!==t?this._values[t]:void 0},p.prototype.set=function(e,t){var n=this._keys.indexOf(r(e));return-1!==n?this._values[n]=t:(this._keys.push(r(e)),this._values.push(t),d||(this.size=a(this))),this},p.prototype.has=function(e){return-1!==this._keys.indexOf(r(e))},p.prototype.delete=function(e){var t=this._keys.indexOf(r(e));return-1!==t&&(this._keys[t]=l,this._values[t]=l,d||(this.size=a(this)),!0)},p.prototype.clear=function(){this._keys=this._values=[],d||(this.size=0)},p.prototype.values=function(){return i(this,function(e){return this._values[e]})},p.prototype.keys=function(){return i(this,function(e){return o(this._keys[e])})},p.prototype.entries=p.prototype[c.default.iterator]=function(){return i(this,function(e){return[o(this._keys[e]),this._values[e]]})},p.prototype.forEach=function(e,t){var n=this;t=t||ar;for(var r=this.entries(),o=r.next();!1===o.done;)e.call(t,o.value[1],o.value[0],n),o=r.next()},p.prototype[c.default.species]=p,Object.defineProperty(p,"constructor",{value:p});try{Object.defineProperty(p,"length",{value:0})}catch(e){}e.exports=p},function(e,t,n){function r(e){return Number.isNaN(e)?l:e}function o(e){return e===l?NaN:e}function i(e,t){var n=0;return{next:function(){for(;e._values[n]===c;)n++;return n===e._values.length?{value:void 0,done:!0}:{value:t.call(e,n++),done:!1}}}}function a(e){for(var t=0,n=0,r=e._values.length;n<r;n++)e._values[n]!==c&&t++;return t}var s=n(0),u=function(e){return e&&e.__esModule?e:{default:e}}(s),c=(0,u.default)("undef"),l=(0,u.default)("NaN"),f=!0,d=function(e){this._values=[],e&&"function"==typeof e.forEach&&e.forEach(function(e){this.add.call(this,e)},this),f||(this.size=a(this))};try{Object.defineProperty(d.prototype,"size",{get:function(){return a(this)}})}catch(e){f=!1}d.prototype.add=function(e){return e=r(e),-1===this._values.indexOf(e)&&(this._values.push(e),f||(this.size=a(this))),this},d.prototype.has=function(e){return-1!==this._values.indexOf(r(e))},d.prototype.delete=function(e){var t=this._values.indexOf(r(e));return-1!==t&&(this._values[t]=c,f||(this.size=a(this)),!0)},d.prototype.clear=function(){this._values=[],f||(this.size=0)},d.prototype.values=d.prototype.keys=function(){return i(this,function(e){return o(this._values[e])})},d.prototype.entries=d.prototype[u.default.iterator]=function(){return i(this,function(e){return[o(this._values[e]),o(this._values[e])]})},d.prototype.forEach=function(e,t){var n=this;t=t||ar;for(var r=this.entries(),o=r.next();!1===o.done;)e.call(t,o.value[1],o.value[0],n),o=r.next()},d.prototype[u.default.species]=d,Object.defineProperty(d,"constructor",{value:d});try{Object.defineProperty(d,"length",{value:0})}catch(e){}e.exports=d},function(e,t,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=Object.defineProperty,i=Date.now()%1e9,a=function(e){this.name="__st"+(1e9*Math.random()>>>0)+i+++"__",e&&e.forEach&&e.forEach(function(e){this.set.apply(this,e)},this)};a.prototype.set=function(e,t){if("object"!==(void 0===e?"undefined":r(e))&&"function"!=typeof e)throw new TypeError("Invalid value used as weak map key");var n=e[this.name];return n&&n[0]===e?n[1]=t:o(e,this.name,{value:[e,t],writable:!0}),this},a.prototype.get=function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},a.prototype.delete=function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},a.prototype.has=function(e){var t=e[this.name];return!!t&&t[0]===e},e.exports=a},function(e,t,n){var r=Date.now()%1e9,o=function(e){this.name="__st"+(1e9*Math.random()>>>0)+r+++"__",e&&e.forEach&&e.forEach(this.add,this)};o.prototype.add=function(e){var t=this.name;return e[t]||Object.defineProperty(e,t,{value:!0,writable:!0}),this},o.prototype.delete=function(e){return!!e[this.name]&&(e[this.name]=void 0,!0)},o.prototype.has=function(e){return!!e[this.name]},e.exports=o},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function e(t,n){r(this,e),this.family=t,this.source=n};e.exports=o},function(e,t,n){function r(e){return void 0!==d[e]}function o(){c.call(this),this._isInvalid=!0}function i(e){return""==e&&o.call(this),e.toLowerCase()}function a(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function s(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function u(e,t,n){function u(e){b.push(e)}var c=this,l=t||"scheme start",f=0,y="",_=!1,g=!1,b=[];e:for(;(e[f-1]!=h||0==f)&&!this._isInvalid;){var w=e[f];switch(l){case"scheme start":if(!w||!v.test(w)){if(t){u("Invalid scheme.");break e}y="",l="no scheme";continue}y+=w.toLowerCase(),l="scheme";break;case"scheme":if(w&&m.test(w))y+=w.toLowerCase();else{if(":"!=w){if(t){if(h==w)break e;u("Code point not allowed in scheme: "+w);break e}y="",f=0,l="no scheme";continue}if(c._scheme=y,y="",t)break e;r(c._scheme)&&(c._isRelative=!0),l="file"==c._scheme?"relative":c._isRelative&&n&&n._scheme==c._scheme?"relative or authority":c._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==w?l="query":"#"==w?(c._fragment="#",l="fragment"):h!=w&&"\t"!=w&&"\n"!=w&&"\r"!=w&&(c._schemeData+=a(w));break;case"no scheme":if(n&&r(n._scheme)){l="relative";continue}u("Missing scheme."),o.call(c);break;case"relative or authority":if("/"!=w||"/"!=e[f+1]){u("Expected /, got: "+w),l="relative";continue}l="authority ignore slashes";break;case"relative":if(c._isRelative=!0,"file"!=c._scheme&&(c._scheme=n._scheme),h==w){c._host=n._host,c._port=n._port,c._path=n._path.slice(),c._query=n._query,c._username=n._username,c._password=n._password;break e}if("/"==w||"\\"==w)"\\"==w&&u("\\ is an invalid code point."),l="relative slash";else if("?"==w)c._host=n._host,c._port=n._port,c._path=n._path.slice(),c._query="?",c._username=n._username,c._password=n._password,l="query";else{if("#"!=w){var O=e[f+1],E=e[f+2];("file"!=c._scheme||!v.test(w)||":"!=O&&"|"!=O||h!=E&&"/"!=E&&"\\"!=E&&"?"!=E&&"#"!=E)&&(c._host=n._host,c._port=n._port,c._username=n._username,c._password=n._password,c._path=n._path.slice(),c._path.pop()),l="relative path";continue}c._host=n._host,c._port=n._port,c._path=n._path.slice(),c._query=n._query,c._fragment="#",c._username=n._username,c._password=n._password,l="fragment"}break;case"relative slash":if("/"!=w&&"\\"!=w){"file"!=c._scheme&&(c._host=n._host,c._port=n._port,c._username=n._username,c._password=n._password),l="relative path";continue}"\\"==w&&u("\\ is an invalid code point."),l="file"==c._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=w){u("Expected '/', got: "+w),l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":if(l="authority ignore slashes","/"!=w){u("Expected '/', got: "+w);continue}break;case"authority ignore slashes":if("/"!=w&&"\\"!=w){l="authority";continue}u("Expected authority, got: "+w);break;case"authority":if("@"==w){_&&(u("@ already seen."),y+="%40"),_=!0;for(var x=0;x<y.length;x++){var S=y[x];if("\t"!=S&&"\n"!=S&&"\r"!=S)if(":"!=S||null!==c._password){var C=a(S);null!==c._password?c._password+=C:c._username+=C}else c._password="";else u("Invalid whitespace in authority.")}y=""}else{if(h==w||"/"==w||"\\"==w||"?"==w||"#"==w){f-=y.length,y="",l="host";continue}y+=w}break;case"file host":if(h==w||"/"==w||"\\"==w||"?"==w||"#"==w){2!=y.length||!v.test(y[0])||":"!=y[1]&&"|"!=y[1]?0==y.length?l="relative path start":(c._host=i.call(c,y),y="",l="relative path start"):l="relative path";continue}"\t"==w||"\n"==w||"\r"==w?u("Invalid whitespace in file host."):y+=w;break;case"host":case"hostname":if(":"!=w||g){if(h==w||"/"==w||"\\"==w||"?"==w||"#"==w){if(c._host=i.call(c,y),y="",l="relative path start",t)break e;continue}"\t"!=w&&"\n"!=w&&"\r"!=w?("["==w?g=!0:"]"==w&&(g=!1),y+=w):u("Invalid code point in host/hostname: "+w)}else if(c._host=i.call(c,y),y="",l="port","hostname"==t)break e;break;case"port":if(/[0-9]/.test(w))y+=w;else{if(h==w||"/"==w||"\\"==w||"?"==w||"#"==w||t){if(""!=y){var k=parseInt(y,10);k!=d[c._scheme]&&(c._port=k+""),y=""}if(t)break e;l="relative path start";continue}"\t"==w||"\n"==w||"\r"==w?u("Invalid code point in port: "+w):o.call(c)}break;case"relative path start":if("\\"==w&&u("'\\' not allowed in path."),l="relative path","/"!=w&&"\\"!=w)continue;break;case"relative path":if(h!=w&&"/"!=w&&"\\"!=w&&(t||"?"!=w&&"#"!=w))"\t"!=w&&"\n"!=w&&"\r"!=w&&(y+=a(w));else{"\\"==w&&u("\\ not allowed in relative path.");var j;(j=p[y.toLowerCase()])&&(y=j),".."==y?(c._path.pop(),"/"!=w&&"\\"!=w&&c._path.push("")):"."==y&&"/"!=w&&"\\"!=w?c._path.push(""):"."!=y&&("file"==c._scheme&&0==c._path.length&&2==y.length&&v.test(y[0])&&"|"==y[1]&&(y=y[0]+":"),c._path.push(y)),y="","?"==w?(c._query="?",l="query"):"#"==w&&(c._fragment="#",l="fragment")}break;case"query":t||"#"!=w?h!=w&&"\t"!=w&&"\n"!=w&&"\r"!=w&&(c._query+=s(w)):(c._fragment="#",l="fragment");break;case"fragment":h!=w&&"\t"!=w&&"\n"!=w&&"\r"!=w&&(c._fragment+=w)}f++}}function c(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function l(e,t){void 0===t||t instanceof l||(t=new l(String(t))),this._url=e,c.call(this);var n=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");u.call(this,n,null,t)}var f=n(1),d=Object.create(null);d.ftp=21,d.file=0,d.gopher=70,d.http=80,d.https=443,d.ws=80,d.wss=443;var p=Object.create(null);p["%2e"]=".",p[".%2e"]="..",p["%2e."]="..",p["%2e%2e"]="..";var h=void 0,v=/[a-zA-Z]/,m=/[a-zA-Z0-9\+\-\.]/;l.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){c.call(this),u.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||u.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&u.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&u.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&u.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],u.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),u.call(this,e,"query"))},get searchParams(){return new f(this.search)},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),u.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return e=this.host,e?this._scheme+"://"+e:""}},e.exports=l},function(e,t,n){function r(e,t){
return o(e).some(function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every(function(e){var n=e.feature,r=e.modifier,o=e.value,i=t[n];if(!i)return!1;switch(n){case"width":case"height":o=parseFloat(o),i=parseFloat(i)}switch(r){case"min":return i>=o;case"max":return i<=o;default:return i===o}});return o&&!n||!o&&n})}function o(e){return e.split(",").map(function(e){e=e.trim();var t=e.match(a);if(!t)throw new SyntaxError('Invalid CSS media query: "'+e+'"');var n=t[1],r=t[2],o=((t[3]||"")+(t[4]||"")).trim(),i={};if(i.inverse=!!n&&"not"===n.toLowerCase(),i.type=r?r.toLowerCase():"all",!o)return i.expressions=[],i;if(!(o=o.match(/\([^\)]+\)/g)))throw new SyntaxError('Invalid CSS media query: "'+e+'"');return i.expressions=o.map(function(t){var n=t.match(s);if(!n)throw new SyntaxError('Invalid CSS media query: "'+e+'"');var r=n[1].toLowerCase().match(u);return{modifier:r[1],feature:r[2],value:n[2]}}),i})}function i(e){var t={matches:!1,media:e};return""===e?(t.matches=!0,t):(t.matches=r(e,{type:"screen",width:window.screen.width,height:window.screen.height}),t)}var a=/^(?:(only|not)?\s*([_a-z][_a-z0-9-]*)|(\([^\)]+\)))(?:\s*and\s*(.*))?$/i,s=/^\(\s*([_a-z-][_a-z0-9-]*)\s*(?:\:\s*([^\)]+))?\s*\)$/,u=/^(?:(min|max)-)?(.+)/;e.exports=i}])}},function(e,t,n){e.exports=function(e){function t(t,n,r){n instanceof Function&&(r=n,n=[]),e[t]={factory:r,deps:n,module:{exports:{}},isInitialized:!1,hasError:!1}}return t}},function(e,t,n){e.exports=function(e){function t(n){var r=e[n];if(r&&r.isInitialized)return r.module.exports;if(!r)throw new Error('Requiring unknown module "'+n+'"');if(r.hasError)throw new Error('Requiring module "'+n+'" which threw an exception');try{r.isInitialized=!0,r.factory(t,r.module.exports,r.module)}catch(e){throw r.hasError=!0,r.isInitialized=!1,e}return r.module.exports}return t}},function(e,t,n){function r(e){if("*"==e)return e;e="string"==typeof e?e:"";for(var t=e.split("."),n=0,r=[];n<3;){var o="string"==typeof t[n]&&t[n]?t[n]:"0";r.push(o),n++}return r.join(".")}function o(e,t,n){var r={isDowngrade:!0,errorType:1,code:1e3},o=e.toLowerCase();return o.indexOf("osversion")>=0?r.code=1001:o.indexOf("appversion")>=0?r.code=1002:o.indexOf("weexversion")>=0?r.code=1003:o.indexOf("devicemodel")>=0&&(r.code=1004),r.errorMessage=function(e,t,n){return"Downgrade["+e+"] :: deviceInfo "+t+" matched criteria "+n}(e,t,n),r}function i(e){var t={isDowngrade:!1},n=WXEnvironment,i=n.platform||"unknow",a=i.toLowerCase(),u=e[a]||{};for(var c in n){var l=c,f=l.toLowerCase(),d=n[c],p=f.indexOf("version")>=0,h=f.indexOf("devicemodel")>=0,v=u[c];if(v&&p){var m=r(v),y=r(n[c]);if(s.default.satisfies(y,m)){t=o(l,d,v);break}}else if(h){var _=Array.isArray(v)?v:[v];if(_.indexOf(d)>=0){t=o(l,d,v);break}}}return t}var a=n(10),s=function(e){return e&&e.__esModule?e:{default:e}}(a);e.exports=function(e){return function(t){var n=e("@weex-module/instanceWrap"),r=i(t);return!!r.isDowngrade&&(n.error(r.errorType,r.code,r.errorMessage),!0)}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={satisfies:function(e,t){var n=/(\W+)?([\d|.]+)/;if((void 0===e?"undefined":r(e))+(void 0===t?"undefined":r(t))!="stringstring")return!1;if("*"==t)return!0;for(var o=t.match(n),i=e.split("."),a=o[2].split("."),s=Math.max(i.length,a.length),u=0,c=0;c<s;c++){if(i[c]&&!a[c]&&parseInt(i[c])>0||parseInt(i[c])>parseInt(a[c])){u=1;break}if(a[c]&&!i[c]&&parseInt(a[c])>0||parseInt(i[c])<parseInt(a[c])){u=-1;break}}switch(o[1]){case"<":if(-1===u)return!0;break;case"<=":if(1!==u)return!0;break;case">":if(1===u)return!0;break;case">=":if(-1!==u)return!0;break;default:if(0===u)return!0}return!1}},e.exports=t.default},function(e,t,n){function r(e){e.body.addEvent("viewappear",function(t){e.visibilityState=s,t.type=c,e.dispatchEvent(t)}),e.body.addEvent("viewdisappear",function(t){e.visibilityState=u,t.type=c,e.dispatchEvent(t)})}function o(e){e.body&&(e.body.removeEvent("viewappear"),e.body.removeEvent("viewdisappear"))}var i=n(1),a=function(e){return e&&e.__esModule?e:{default:e}}(i),s="visible",u="hidden",c="visibilitychange";e.exports=function(e,t){var n=new a.default,i=!1;try{t.addEventListener=function(e,o){e===c&&(t.body?r(t):i=!0),n.on(e,o)},t.removeEventListener=function(e,r){e===c&&o(t),n.off(e,r)},t.dispatchEvent=function(e){n.emit(e.type,e)},t.fonts={add:function(t){e("@weex-module/dom").addRule("fontFace",{fontFamily:t.family,src:t.source})}},t.visibilityState=s;var u=t.createBody;Object.defineProperty(t,"createBody",{value:function(){var e=u.apply(t,arguments);return i&&r(t),e}})}catch(e){console.log(e)}return t}},function(e,t,n){e.exports=function(e,t){return t.assign=function(t){e("@weex-module/navigator").push({url:t,animated:"true"},function(e){})},t.replace=function(t){e("@weex-module/location").replace(t)},t.reload=function(t){e("@weex-module/location").reload(t)},t}},function(e,t,n){e.exports=function(e,t){function n(e){return"string"!=typeof e&&(e=String(e)),e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){this.originHeaders=e,this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){if(e.bodyUsed)return t.reject(new TypeError("Already read"));e.bodyUsed=!0}function a(){return this.bodyUsed=!1,this._initBody=function(e,t){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else{if(e)throw new Error("unsupported BodyInit type");this._bodyText=""}},this.text=function(){var e=i(this);return e||t.resolve(this._bodyText)},this.json=function(){return this.text().then(JSON.parse)},this}function s(e){var t=e.toUpperCase();return l.indexOf(t)>-1?t:e}function u(e,t){t=t||{};var n=t.body;if(u.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=s(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,t)}function c(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e,t)}o.prototype.append=function(e,t){e=n(e),t=r(t);var o=this.map[e];this.map[e]=o?o+","+t:t},o.prototype.delete=function(e){delete this.map[n(e)]},o.prototype.get=function(e){return e=n(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(n(e))},o.prototype.set=function(e,t){this.map[n(e)]=[r(t)]},o.prototype.forEach=function(e,t){var n=this;for(var r in this.map)n.map.hasOwnProperty(r)&&e.call(t,n.map[r],r,n)};var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];u.prototype.clone=function(){return new u(this)},a.call(u.prototype),a.call(c.prototype),c.prototype.clone=function(){return new c(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},c.error=function(){var e=new c(null,{status:0,statusText:""});return e.type="error",e};var f=[301,302,303,307,308];return c.redirect=function(e,t){if(-1===f.indexOf(t))throw new RangeError("Invalid status code");return new c(null,{status:t,headers:{location:e}})},{fetch:function(n,r){return new t(function(t,o){var i;i=u.prototype.isPrototypeOf(n)&&!r?n:new u(n,r);var a={url:i.url,method:i.method,headers:i.headers&&i.headers.originHeaders};void 0!==i._bodyInit&&(a.body=i._bodyInit),a.type=r&&r.dataType?r.dataType:"text",(0,e("@weex-module/stream").fetch)(a,function(e){try{"string"==typeof e&&(e=JSON.parse(e));var n="string"==typeof e.data?e.data:JSON.stringify(e.data),r=new c(n,{status:e.status,statusText:e.statusText,headers:e.headers,url:i.url});t(r)}catch(e){o(e)}},function(e){})})},Headers:o,Request:u,Response:c}}},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),u=0,c=1,l=2,f=3,d=4,p=["abort","error","load","loadstart","progress","timeout","loadend","readystatechange"];e.exports=function(e){var t,n;return n=t=function(t){function n(){r(this,n);var e=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return e.UNSENT=u,e.OPENED=c,e.HEADERS_RECEIVED=l,e.LOADING=f,e.DONE=d,e.readyState=u,e.status=0,e.statusText="",e.timeout=0,e._aborted=!1,e._hasError=!1,e._method=null,e._response="",e._url=null,e._timedOut=!1,e._reset(),e}return i(n,t),a(n,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.status=0,this._hasError=!1,this._headers={},this._response="",this._responseType="",this._sent=!1,this._lowerCaseResponseHeaders={},this._timedOut=!1}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders||{};return Object.keys(e).map(function(t){return t+": "+e[t]}).join("\r\n")}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");this._headers[e.toLowerCase()]=String(t)}},{key:"open",value:function(e,t,n){if(this.readyState!==this.UNSENT)throw new Error("Cannot open, already sending");if(void 0!==n&&!n)throw new Error("Synchronous http requests are not supported");if(!t)throw new Error("Cannot load an empty url");this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(t){var n=this;if(this.readyState!==this.OPENED)throw new Error("Request has not been opened");if(this._sent)throw new Error("Request has already been sent");this._sent=!0,(0,e("@weex-module/stream").fetch)({method:this._method,url:this._url,headers:this._headers,body:t,type:"text"},function(e){try{"string"==typeof e&&(e=JSON.parse(e)),n.status=e.status,n.statusText=e.statusText,n.setResponseHeaders(e.headers),e.ok?n._response=e.data:(""!==n._responseType&&"text"!==n._responseType||(n._response=e.data),n._hasError=!0)}catch(e){}n.setReadyState(n.DONE)},function(e){n.status=e.status,n.statusText=e.statusText,n.setResponseHeaders(e.headers),n.setReadyState(e.readyState)})}},{key:"abort",value:function(){this._aborted=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce(function(e,n){return e[n.toLowerCase()]=t[n],e},{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:"readystatechange"}),e===this.DONE&&(this._aborted?this.dispatchEvent({type:"abort"}):this._hasError?this._timedOut?this.dispatchEvent({type:"timeout"}):this.dispatchEvent({type:"error"}):this.dispatchEvent({type:"load"}),this.dispatchEvent({type:"loadend"}))}},{key:"responseType",get:function(){return this._responseType},set:function(e){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");this._responseType=e}},{key:"responseText",get:function(){if(""!==this._responseType&&"text"!==this._responseType)throw new Error("The 'responseText' property is only available if 'responseType' is set to '' or 'text', but it is '"+this._responseType+"'.");return this.readyState<f?"":this._response}},{key:"response",get:function(){var e=this.responseType;return""===e||"text"===e?this.readyState<f||this._hasError?"":this._response:this.readyState!==d?null:void 0}}]),n}(s.apply(void 0,p)),t.UNSENT=u,t.OPENED=c,t.HEADERS_RECEIVED=l,t.LOADING=f,t.DONE=d,n}},function(e,t,n){function r(e,t){for(var n=e[a][t];null!=n;){if(n.kind===s)return n.listener;n=n.next}return null}function o(e,t,n){"function"!=typeof n&&"object"!=typeof n&&(n=null);for(var r=null,o=e[a][t];null!=o;)o.kind===s?null==r?e[a][t]=o.next:r.next=o.next:r=o,o=o.next;null!=n&&(null==r?e[a][t]=u(n,s):r.next=u(n,s))}var i=n(0),a=i.LISTENERS,s=i.ATTRIBUTE,u=i.newNode;e.exports.defineCustomEventTarget=function(e,t){function n(){e.call(this)}var i={constructor:{value:n,configurable:!0,writable:!0}};return t.forEach(function(e){i["on"+e]={get:function(){return r(this,e)},set:function(t){o(this,e,t)},configurable:!0,enumerable:!0}}),n.prototype=Object.create(e.prototype,i),n}},function(e,t,n){var r=n(0).createUniqueKey,o=r("stop_immediate_propagation_flag"),i=r("canceled_flag"),a=r("passive_listener_flag"),s=r("original_event"),u=Object.freeze({stopPropagation:Object.freeze({value:function(){var e=this[s];"function"==typeof e.stopPropagation&&e.stopPropagation()},writable:!0,configurable:!0}),stopImmediatePropagation:Object.freeze({value:function(){this[o]=!0;var e=this[s];"function"==typeof e.stopImmediatePropagation&&e.stopImmediatePropagation()},writable:!0,configurable:!0}),preventDefault:Object.freeze({value:function(){if(!this[a]){!0===this.cancelable&&(this[i]=!0);var e=this[s];"function"==typeof e.preventDefault&&e.preventDefault()}},writable:!0,configurable:!0}),defaultPrevented:Object.freeze({get:function(){return this[i]},enumerable:!0,configurable:!0})});e.exports.STOP_IMMEDIATE_PROPAGATION_FLAG=o,e.exports.PASSIVE_LISTENER_FLAG=a,e.exports.createEventWrapper=function(e,t){var n="number"==typeof e.timeStamp?e.timeStamp:Date.now(),r={type:{value:e.type,enumerable:!0},target:{value:t,enumerable:!0},currentTarget:{value:t,enumerable:!0},eventPhase:{value:2,enumerable:!0},bubbles:{value:Boolean(e.bubbles),enumerable:!0},cancelable:{value:Boolean(e.cancelable),enumerable:!0},timeStamp:{value:n,enumerable:!0},isTrusted:{value:!1,enumerable:!0}};return r[o]={value:!1,writable:!0},r[i]={value:!1,writable:!0},r[a]={value:!1,writable:!0},r[s]={value:e},void 0!==e.detail&&(r.detail={value:e.detail,enumerable:!0}),Object.create(Object.create(e,u),r)}},function(e,t,n){function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),u=0,c=1,l=3,f=["close","error","message","open"],d=function e(t,n){i(this,e),this.type=t.toString(),Object.assign(this,n)};e.exports=function(e){var t,n;return n=t=function(t){function n(t,o){i(this,n);var a=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),s=e("@weex-module/webSocket");return s.WebSocket(t,o),a.readyState=u,a.websocket=s,s.onmessage(function(e){a.dispatchEvent(new d("message",e))}),s.onopen(function(e){a.readyState=c,a.dispatchEvent(new d("open"))}),s.onclose(function(e){a.readyState=l,a.dispatchEvent(new d("close",{code:e.code,reason:e.reason}))}),s.onerror(function(e){a.dispatchEvent(new d("error",e))}),a}return o(n,t),a(n,[{key:"close",value:function(e,t){2!==this.readyState&&this.readyState!==l&&(this.readyState=2,this.websocket.close(e,t))}},{key:"send",value:function(e){if("string"==typeof e)return void this.websocket.send(e);throw new Error("Unsupported data type")}}]),n}(s(f)),t.CONNECTING=u,t.OPEN=c,t.CLOSING=2,t.CLOSED=l,n}},function(e,t,n){var r="@weex-module/timer";e.exports=function(e,t){var n=function(n,o){return e(r).setTimeout(n,o),t.taskCenter.callbackManager.lastCallbackId.toString()},o=function(n,o){return e(r).setInterval(n,o),t.taskCenter.callbackManager.lastCallbackId.toString()};return{setTimeout:n,clearTimeout:function(t){e(r).clearTimeout(t)},setInterval:o,clearInterval:function(t){e(r).clearInterval(t)},requestAnimationFrame:function(t){return e(r).setTimeout(t,16)},cancelAnimationFrame:function(t){e(r).clearTimeout(t)}}}},function(e,t,n){e.exports=function(){var e={},t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return e.btoa=function(e){for(var n,r,o=String(e),i=0,a=t,s="";o.charAt(0|i)||(a="=",i%1);s+=a.charAt(63&n>>8-i%1*8)){if((r=o.charCodeAt(i+=.75))>255)throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");n=n<<8|r}return s},e.atob=function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,o,i=0,a=0,s="";o=n.charAt(a++);~o&&(r=i%4?64*r+o:o,i++%4)?s+=String.fromCharCode(255&r>>(-2*i&6)):0)o=t.indexOf(o);return s},e}},function(e,t,n){function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=function(e){var t,n={};return n.timing=(t={unloadEventStart:0,unloadEventEnd:0,navigationStart:e,redirectStart:0,redirectEnd:0,fetchStart:e,domainLookupStart:e,domainLookupEnd:e,connectStart:e,secureConnectionStart:e},r(t,"connectStart",e),r(t,"requestStart",e),r(t,"responseStart",e),r(t,"responseEnd",e),r(t,"domLoading",0),r(t,"domInteractive",0),r(t,"domComplete",0),r(t,"domContentLoadedEventStart",0),r(t,"domContentLoadedEventEnd",0),r(t,"loadEventStart",0),r(t,"loadEventEnd",0),t),n.now=function(){return Date.now()-n.timing.navigationStart},n}},function(e,t,n){function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=function(){var e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.type=t,this.bubbles=Boolean(n.bubbles),this.cancelable=Boolean(n.cancelable)};return{Event:e,CustomEvent:function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t);var o=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.detail=n.detail,o}return o(t,e),t}(e)}}}])}),to=l(eo),no={Vanilla:ir,Vue:gr,Rax:to,Weex:Yr},ro={browser:"0.5.0",framework:"0.21.4","vue-render":"0.11.51",transformer:">=0.1.5 <0.5"};Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},r=Math.pow(2,53)-1,o=function(e){var t=n(e);return Math.min(Math.max(t,0),r)};return function(e){var n=this,r=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,a=arguments.length>1?arguments[1]:void 0;if(void 0!==a){if(!t(a))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var s,u=o(r.length),c=t(n)?Object(new n(u)):new Array(u),l=0;l<u;)s=r[l],c[l]=a?void 0===i?a(s,l):a.call(i,s,l):s,l+=1;return c.length=u,c}}());var oo=f(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),io=f(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),ao=function(e){return"object"==typeof e?null!==e:"function"==typeof e},so=ao,uo=function(e){if(!so(e))throw TypeError(e+" is not an object!");return e},co=function(e){try{return!!e()}catch(e){return!0}},lo=!co(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),fo=ao,po=oo.document,ho=fo(po)&&fo(po.createElement),vo=function(e){return ho?po.createElement(e):{}},mo=!lo&&!co(function(){return 7!=Object.defineProperty(vo("div"),"a",{get:function(){return 7}}).a}),yo=ao,_o=function(e,t){if(!yo(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!yo(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!yo(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!yo(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},go=uo,bo=mo,wo=_o,Oo=Object.defineProperty,Eo=lo?Object.defineProperty:function(e,t,n){if(go(e),t=wo(t,!0),go(n),bo)try{return Oo(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},xo={f:Eo},So=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Co=xo,ko=So,jo=lo?function(e,t,n){return Co.f(e,t,ko(1,n))}:function(e,t,n){return e[t]=n,e},Ao={}.hasOwnProperty,Io=function(e,t){return Ao.call(e,t)},To=0,No=Math.random(),Po=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++To+No).toString(36))},Mo=f(function(e){var t=oo,n=jo,r=Io,o=Po("src"),i=Function.toString,a=(""+i).split("toString");io.inspectSource=function(e){return i.call(e)},(e.exports=function(e,i,s,u){var c="function"==typeof s;c&&(r(s,"name")||n(s,"name",i)),e[i]!==s&&(c&&(r(s,o)||n(s,o,e[i]?""+e[i]:a.join(String(i)))),e===t?e[i]=s:u?e[i]?e[i]=s:n(e,i,s):(delete e[i],n(e,i,s)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||i.call(this)})}),$o=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Ro=$o,Do=function(e,t,n){if(Ro(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},Fo=oo,Lo=io,Uo=jo,Bo=Mo,Vo=Do,qo=function(e,t,n){var r,o,i,a,s=e&qo.F,u=e&qo.G,c=e&qo.S,l=e&qo.P,f=e&qo.B,d=u?Fo:c?Fo[t]||(Fo[t]={}):(Fo[t]||{}).prototype,p=u?Lo:Lo[t]||(Lo[t]={}),h=p.prototype||(p.prototype={});u&&(n=t);for(r in n)o=!s&&d&&void 0!==d[r],i=(o?d:n)[r],a=f&&o?Vo(i,Fo):l&&"function"==typeof i?Vo(Function.call,i):i,d&&Bo(d,r,i,e&qo.U),p[r]!=i&&Uo(p,r,a),l&&h[r]!=i&&(h[r]=i)};Fo.core=Lo,qo.F=1,qo.G=2,qo.S=4,qo.P=8,qo.B=16,qo.W=32,qo.U=64,qo.R=128;var Wo=qo,zo={}.toString,Jo=function(e){return zo.call(e).slice(8,-1)},Ho=Jo,Go=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Ho(e)?e.split(""):Object(e)},Xo=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e},Ko=Go,Zo=Xo,Qo=function(e){return Ko(Zo(e))},Yo=Math.ceil,ei=Math.floor,ti=function(e){return isNaN(e=+e)?0:(e>0?ei:Yo)(e)},ni=ti,ri=Math.min,oi=function(e){return e>0?ri(ni(e),9007199254740991):0},ii=ti,ai=Math.max,si=Math.min,ui=function(e,t){return e=ii(e),e<0?ai(e+t,0):si(e,t)},ci=Qo,li=oi,fi=ui,di=oo,pi=di["__core-js_shared__"]||(di["__core-js_shared__"]={}),hi=function(e){return pi[e]||(pi[e]={})},vi=hi("keys"),mi=Po,yi=function(e){return vi[e]||(vi[e]=mi(e))},_i=Io,gi=Qo,bi=function(e){return function(t,n,r){var o,i=ci(t),a=li(i.length),s=fi(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}}(!1),wi=yi("IE_PROTO"),Oi=function(e,t){var n,r=gi(e),o=0,i=[];for(n in r)n!=wi&&_i(r,n)&&i.push(n);for(;t.length>o;)_i(r,n=t[o++])&&(~bi(i,n)||i.push(n));return i},Ei="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),xi=Oi,Si=Ei,Ci=Object.keys||function(e){return xi(e,Si)},ki=Object.getOwnPropertySymbols,ji={f:ki},Ai={}.propertyIsEnumerable,Ii={f:Ai},Ti=Xo,Ni=function(e){return Object(Ti(e))},Pi=Ci,Mi=ji,$i=Ii,Ri=Ni,Di=Go,Fi=Object.assign,Li=!Fi||co(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=Fi({},e)[n]||Object.keys(Fi({},t)).join("")!=r})?function(e,t){for(var n=arguments,r=Ri(e),o=arguments.length,i=1,a=Mi.f,s=$i.f;o>i;)for(var u,c=Di(n[i++]),l=a?Pi(c).concat(a(c)):Pi(c),f=l.length,d=0;f>d;)s.call(c,u=l[d++])&&(r[u]=c[u]);return r}:Fi,Ui=Wo;Ui(Ui.S+Ui.F,"Object",{assign:Li}),Object.setPrototypeOf||(Object.setPrototypeOf=function(e,t){function n(e,t){return r.call(e,t),e}var r;try{r=e.getOwnPropertyDescriptor(e.prototype,"__proto__").set,r.call({},null)}catch(t){if(e.prototype!=={}.__proto__||void 0==={__proto__:null}.__proto__)return;r=function(e){this.__proto__=e},n.polyfill=n(n({},null),e.prototype)instanceof e}return n}(Object));var Bi=ar,Vi=Bi.WXEnvironment;Vi&&"iOS"===Vi.platform&&(ar.Promise=void 0);var qi=f(function(e){var t=hi("wks"),n=Po,r=oo.Symbol,o="function"==typeof r;(e.exports=function(e){return t[e]||(t[e]=o&&r[e]||(o?r:n)("Symbol."+e))}).store=t}),Wi=Jo,zi=qi("toStringTag"),Ji="Arguments"==Wi(function(){return arguments}()),Hi=function(e,t){try{return e[t]}catch(e){}},Gi=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Hi(t=Object(e),zi))?n:Ji?Wi(t):"Object"==(r=Wi(t))&&"function"==typeof t.callee?"Arguments":r},Xi=Gi,Ki={};Ki[qi("toStringTag")]="z",Ki+""!="[object z]"&&Mo(Object.prototype,"toString",function(){return"[object "+Xi(this)+"]"},!0);var Zi=ti,Qi=Xo,Yi={},ea=xo,ta=uo,na=Ci,ra=lo?Object.defineProperties:function(e,t){ta(e);for(var n,r=na(t),o=r.length,i=0;o>i;)ea.f(e,n=r[i++],t[n]);return e},oa=oo.document&&document.documentElement,ia=uo,aa=ra,sa=Ei,ua=yi("IE_PROTO"),ca=function(){},la=function(){var e,t=vo("iframe"),n=sa.length;for(t.style.display="none",oa.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),la=e.F;n--;)delete la.prototype[sa[n]];return la()},fa=Object.create||function(e,t){var n;return null!==e?(ca.prototype=ia(e),n=new ca,ca.prototype=null,n[ua]=e):n=la(),void 0===t?n:aa(n,t)},da=xo.f,pa=Io,ha=qi("toStringTag"),va=function(e,t,n){e&&!pa(e=n?e:e.prototype,ha)&&da(e,ha,{configurable:!0,value:t})},ma=fa,ya=So,_a=va,ga={};jo(ga,qi("iterator"),function(){return this});var ba=function(e,t,n){e.prototype=ma(ga,{next:ya(1,n)}),_a(e,t+" Iterator")},wa=Io,Oa=Ni,Ea=yi("IE_PROTO"),xa=Object.prototype,Sa=Object.getPrototypeOf||function(e){return e=Oa(e),wa(e,Ea)?e[Ea]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?xa:null},Ca=Wo,ka=Mo,ja=jo,Aa=Io,Ia=Yi,Ta=ba,Na=va,Pa=Sa,Ma=qi("iterator"),$a=!([].keys&&"next"in[].keys()),Ra=function(){return this},Da=function(e,t,n,r,o,i,a){Ta(n,t,r);var s,u,c,l=function(e){if(!$a&&e in h)return h[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",d="values"==o,p=!1,h=e.prototype,v=h[Ma]||h["@@iterator"]||o&&h[o],m=v||l(o),y=o?d?l("entries"):m:void 0,_="Array"==t?h.entries||v:v;if(_&&(c=Pa(_.call(new e)))!==Object.prototype&&(Na(c,f,!0),Aa(c,Ma)||ja(c,Ma,Ra)),d&&v&&"values"!==v.name&&(p=!0,m=function(){return v.call(this)}),($a||p||!h[Ma])&&ja(h,Ma,m),Ia[t]=m,Ia[f]=Ra,o)if(s={values:d?m:l("values"),keys:i?m:l("keys"),entries:y},a)for(u in s)u in h||ka(h,u,s[u]);else Ca(Ca.P+Ca.F*($a||p),t,s);return s},Fa=function(e){return function(t,n){var r,o,i=String(Qi(t)),a=Zi(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=i.charCodeAt(a),r<55296||r>56319||a+1===s||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536)}}(!0);Da(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=Fa(t,n),this._i+=e.length,{value:e,done:!1})});var La=qi("unscopables"),Ua=Array.prototype;void 0==Ua[La]&&jo(Ua,La,{});var Ba=function(e){Ua[La][e]=!0},Va=function(e,t){return{value:t,done:!!e}},qa=Ba,Wa=Va,za=Yi,Ja=Qo,Ha=Da(Array,"Array",function(e,t){this._t=Ja(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,Wa(1)):"keys"==t?Wa(0,n):"values"==t?Wa(0,e[n]):Wa(0,[n,e[n]])},"values");za.Arguments=za.Array,qa("keys"),qa("values"),qa("entries");for(var Ga=Ha,Xa=Mo,Ka=oo,Za=jo,Qa=Yi,Ya=qi,es=Ya("iterator"),ts=Ya("toStringTag"),ns=Qa.Array,rs=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],os=0;os<5;os++){var is,as=rs[os],ss=Ka[as],us=ss&&ss.prototype;if(us){us[es]||Za(us,es,ns),us[ts]||Za(us,ts,as),Qa[as]=ns;for(is in Ga)us[is]||Xa(us,is,Ga[is],!0)}}var cs,ls,fs,ds=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},ps=uo,hs=function(e,t,n,r){try{return r?t(ps(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&ps(o.call(e)),t}},vs=Yi,ms=qi("iterator"),ys=Array.prototype,_s=function(e){return void 0!==e&&(vs.Array===e||ys[ms]===e)},gs=Gi,bs=qi("iterator"),ws=Yi,Os=io.getIteratorMethod=function(e){if(void 0!=e)return e[bs]||e["@@iterator"]||ws[gs(e)]},Es=f(function(e){var t=Do,n=hs,r=_s,o=uo,i=oi,a=Os,s={},u={},c=e.exports=function(e,c,l,f,d){var p,h,v,m,y=d?function(){return e}:a(e),_=t(l,f,c?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(r(y)){for(p=i(e.length);p>g;g++)if((m=c?_(o(h=e[g])[0],h[1]):_(e[g]))===s||m===u)return m}else for(v=y.call(e);!(h=v.next()).done;)if((m=n(v,_,h.value,c))===s||m===u)return m};c.BREAK=s,c.RETURN=u}),xs=uo,Ss=$o,Cs=qi("species"),ks=function(e,t){var n,r=xs(e).constructor;return void 0===r||void 0==(n=xs(r)[Cs])?t:Ss(n)},js=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},As=Do,Is=js,Ts=oa,Ns=vo,Ps=oo,Ms=Ps.process,$s=Ps.setImmediate,Rs=Ps.clearImmediate,Ds=Ps.MessageChannel,Fs=0,Ls={},Us=function(){var e=+this;if(Ls.hasOwnProperty(e)){var t=Ls[e];delete Ls[e],t()}},Bs=function(e){Us.call(e.data)};$s&&Rs||($s=function(e){for(var t=arguments,n=[],r=1;arguments.length>r;)n.push(t[r++]);return Ls[++Fs]=function(){Is("function"==typeof e?e:Function(e),n)},cs(Fs),Fs},Rs=function(e){delete Ls[e]},"process"==Jo(Ms)?cs=function(e){Ms.nextTick(As(Us,e,1))}:Ds?(ls=new Ds,fs=ls.port2,ls.port1.onmessage=Bs,
cs=As(fs.postMessage,fs,1)):Ps.addEventListener&&"function"==typeof postMessage&&!Ps.importScripts?(cs=function(e){Ps.postMessage(e+"","*")},Ps.addEventListener("message",Bs,!1)):cs="onreadystatechange"in Ns("script")?function(e){Ts.appendChild(Ns("script")).onreadystatechange=function(){Ts.removeChild(this),Us.call(e)}}:function(e){setTimeout(As(Us,e,1),0)});var Vs={set:$s,clear:Rs},qs=oo,Ws=Vs.set,zs=qs.MutationObserver||qs.WebKitMutationObserver,Js=qs.process,Hs=qs.Promise,Gs="process"==Jo(Js),Xs=Mo,Ks=oo,Zs=xo,Qs=lo,Ys=qi("species"),eu=qi("iterator"),tu=!1;try{var nu=[7][eu]();nu.return=function(){tu=!0},Array.from(nu,function(){throw 2})}catch(e){}var ru,ou,iu,au=oo,su=Do,uu=Gi,cu=Wo,lu=ao,fu=$o,du=ds,pu=Es,hu=ks,vu=Vs.set,mu=function(){var e,t,n,r=function(){var r,o;for(Gs&&(r=Js.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(Gs)n=function(){Js.nextTick(r)};else if(zs){var o=!0,i=document.createTextNode("");new zs(r).observe(i,{characterData:!0}),n=function(){i.data=o=!o}}else if(Hs&&Hs.resolve){var a=Hs.resolve();n=function(){a.then(r)}}else n=function(){Ws.call(qs,r)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}(),yu=au.TypeError,_u=au.process,gu=au.Promise,_u=au.process,bu="process"==uu(_u),wu=function(){},Ou=!!function(){try{var e=gu.resolve(1),t=(e.constructor={})[qi("species")]=function(e){e(wu,wu)};return(bu||"function"==typeof PromiseRejectionEvent)&&e.then(wu)instanceof t}catch(e){}}(),Eu=function(e,t){return e===t||e===gu&&t===iu},xu=function(e){var t;return!(!lu(e)||"function"!=typeof(t=e.then))&&t},Su=function(e){return Eu(gu,e)?new Cu(e):new ou(e)},Cu=ou=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw yu("Bad Promise constructor");t=e,n=r}),this.resolve=fu(t),this.reject=fu(n)},ku=function(e){try{e()}catch(e){return{error:e}}},ju=function(e,t){if(!e._n){e._n=!0;var n=e._c;mu(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a=o?t.ok:t.fail,s=t.resolve,u=t.reject,c=t.domain;try{a?(o||(2==e._h&&Tu(e),e._h=1),!0===a?n=r:(c&&c.enter(),n=a(r),c&&c.exit()),n===t.promise?u(yu("Promise-chain cycle")):(i=xu(n))?i.call(n,s,u):s(n)):u(r)}catch(e){u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&Au(e)})}},Au=function(e){vu.call(au,function(){var t,n,r,o=e._v;if(Iu(e)&&(t=ku(function(){bu?_u.emit("unhandledRejection",o,e):(n=au.onunhandledrejection)?n({promise:e,reason:o}):(r=au.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=bu||Iu(e)?2:1),e._a=void 0,t)throw t.error})},Iu=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!Iu(t.promise))return!1;return!0},Tu=function(e){vu.call(au,function(){var t;bu?_u.emit("rejectionHandled",e):(t=au.onrejectionhandled)&&t({promise:e,reason:e._v})})},Nu=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),ju(t,!0))},Pu=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw yu("Promise can't be resolved itself");(t=xu(e))?mu(function(){var r={_w:n,_d:!1};try{t.call(e,su(Pu,r,1),su(Nu,r,1))}catch(e){Nu.call(r,e)}}):(n._v=e,n._s=1,ju(n,!1))}catch(e){Nu.call({_w:n,_d:!1},e)}}};Ou||(gu=function(e){du(this,gu,"Promise","_h"),fu(e),ru.call(this);try{e(su(Pu,this,1),su(Nu,this,1))}catch(e){Nu.call(this,e)}},ru=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},ru.prototype=function(e,t,n){for(var r in t)Xs(e,r,t[r],n);return e}(gu.prototype,{then:function(e,t){var n=Su(hu(this,gu));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=bu?_u.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&ju(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),Cu=function(){var e=new ru;this.promise=e,this.resolve=su(Pu,e,1),this.reject=su(Nu,e,1)}),cu(cu.G+cu.W+cu.F*!Ou,{Promise:gu}),va(gu,"Promise"),function(e){var t=Ks[e];Qs&&t&&!t[Ys]&&Zs.f(t,Ys,{configurable:!0,get:function(){return this}})}("Promise"),iu=io.Promise,cu(cu.S+cu.F*!Ou,"Promise",{reject:function(e){var t=Su(this);return(0,t.reject)(e),t.promise}}),cu(cu.S+cu.F*!Ou,"Promise",{resolve:function(e){if(e instanceof gu&&Eu(e.constructor,this))return e;var t=Su(this);return(0,t.resolve)(e),t.promise}}),cu(cu.S+cu.F*!(Ou&&function(e,t){if(!t&&!tu)return!1;var n=!1;try{var r=[7],o=r[eu]();o.next=function(){return{done:n=!0}},r[eu]=function(){return o},e(r)}catch(e){}return n}(function(e){gu.all(e).catch(wu)})),"Promise",{all:function(e){var t=this,n=Su(t),r=n.resolve,o=n.reject,i=ku(function(){var n=[],i=0,a=1;pu(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i&&o(i.error),n.promise},race:function(e){var t=this,n=Su(t),r=n.reject,o=ku(function(){pu(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}});var Mu=["off","error","warn","info","log","debug"],$u={},Ru=global.console,Du=global.setTimeout,Fu=global.setTimeoutNative;qt();var Lu=function(e){this.instanceId=e,this.lastCallbackId=0,this.callbacks=[]};Lu.prototype.add=function(e){return this.lastCallbackId++,this.callbacks[this.lastCallbackId]=e,this.lastCallbackId},Lu.prototype.remove=function(e){var t=this.callbacks[e];return this.callbacks[e]=void 0,t},Lu.prototype.consume=function(e,t,n){var r=this.callbacks[e];return void 0!==n&&!1!==n||(this.callbacks[e]=void 0),"function"==typeof r?r(t):new Error('invalid callback id "'+e+'"')},Lu.prototype.close=function(){this.callbacks=this.callbacks.map(function(e){})};var Uu={},Bu=1;ln.prototype.destroy=function(){var e=Kt(this.docId);e&&(delete this.docId,delete e.nodeMap[this.nodeId]),this.children.forEach(function(e){e.destroy()})};var Vu,qu={},Wu="div",zu=["click","longpress","touchstart","touchmove","touchend","panstart","panmove","panend","horizontalpan","verticalpan","swipe"];dn.prototype=Object.create(ln.prototype),dn.prototype.constructor=dn,function(e){Vu=e}(dn),Object.assign(dn.prototype,{appendChild:function(e){if(!e.parentNode||e.parentNode===this)if(e.parentNode){if(un(e,this.children,this.children.length,!0),1===e.nodeType){var t=un(e,this.pureChildren,this.pureChildren.length),n=Qt(this.docId);if(n&&t>=0)return n.send("dom",{action:"moveElement"},[e.ref,this.ref,t])}}else if(rn(e,this),sn(e,this.children,this.children.length,!0),this.docId&&pn(this.docId,e),1===e.nodeType){sn(e,this.pureChildren,this.pureChildren.length);var r=Qt(this.docId);if(r)return r.send("dom",{action:"addElement"},[this.ref,e.toJSON(),-1])}},insertBefore:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.nextSibling&&e.nextSibling===t))if(e.parentNode){if(un(e,this.children,this.children.indexOf(t),!0),1===e.nodeType){var n=on(t),r=un(e,this.pureChildren,n?this.pureChildren.indexOf(n):this.pureChildren.length),o=Qt(this.docId);if(o&&r>=0)return o.send("dom",{action:"moveElement"},[e.ref,this.ref,r])}}else if(rn(e,this),sn(e,this.children,this.children.indexOf(t),!0),this.docId&&pn(this.docId,e),1===e.nodeType){var i=on(t),a=sn(e,this.pureChildren,i?this.pureChildren.indexOf(i):this.pureChildren.length),s=Qt(this.docId);if(s)return s.send("dom",{action:"addElement"},[this.ref,e.toJSON(),a])}},insertAfter:function(e,t){if(!(e.parentNode&&e.parentNode!==this||e===t||e.previousSibling&&e.previousSibling===t))if(e.parentNode){if(un(e,this.children,this.children.indexOf(t)+1,!0),1===e.nodeType){var n=un(e,this.pureChildren,this.pureChildren.indexOf(an(t))+1),r=Qt(this.docId);if(r&&n>=0)return r.send("dom",{action:"moveElement"},[e.ref,this.ref,n])}}else if(rn(e,this),sn(e,this.children,this.children.indexOf(t)+1,!0),this.docId&&pn(this.docId,e),1===e.nodeType){var o=sn(e,this.pureChildren,this.pureChildren.indexOf(an(t))+1),i=Qt(this.docId);if(i)return i.send("dom",{action:"addElement"},[this.ref,e.toJSON(),o])}},removeChild:function(e,t){if(e.parentNode&&(cn(e,this.children,!0),1===e.nodeType)){cn(e,this.pureChildren);var n=Qt(this.docId);n&&n.send("dom",{action:"removeElement"},[e.ref])}t||e.destroy()},clear:function(){var e=Qt(this.docId);e&&this.pureChildren.forEach(function(t){e.send("dom",{action:"removeElement"},[t.ref])}),this.children.forEach(function(e){e.destroy()}),this.children.length=0,this.pureChildren.length=0},setAttr:function(e,t,n){if(this.attr[e]!==t||!1===n){this.attr[e]=t;var r=Qt(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateAttrs"},[this.ref,o])}}},setStyle:function(e,t,n){if(this.style[e]!==t||!1===n){this.style[e]=t;var r=Qt(this.docId);if(!n&&r){var o={};o[e]=t,r.send("dom",{action:"updateStyle"},[this.ref,o])}}},setClassStyle:function(e){var t=this;for(var n in this.classStyle)t.classStyle[n]="";Object.assign(this.classStyle,e);var r=Qt(this.docId);r&&r.send("dom",{action:"updateStyle"},[this.ref,this.toStyle()])},addEvent:function(e,t){if(!this.event[e]){this.event[e]=t;var n=Qt(this.docId);n&&n.send("dom",{action:"addEvent"},[this.ref,e])}},removeEvent:function(e){if(this.event[e]){delete this.event[e];var t=Qt(this.docId);t&&t.send("dom",{action:"removeEvent"},[this.ref,e])}},fireEvent:function(e,t,n){var r=!1,o=this.event[e];o&&t&&(t.stopPropagation=function(){r=!0},o.call(this,t)),r||n&&zu.includes(e)&&this.parentNode&&this.parentNode.fireEvent&&(t.currentTarget=this.parentNode,this.parentNode.fireEvent(e,t,n))},toStyle:function(){return Object.assign({},this.classStyle,this.style)},toJSON:function(){var e={ref:this.ref.toString(),type:this.type,attr:this.attr,style:this.toStyle()},t=Object.keys(this.event);return t.length&&(e.event=t),this.pureChildren.length&&(e.children=this.pureChildren.map(function(e){return e.toJSON()})),e},toString:function(){return"<"+this.type+" attr="+JSON.stringify(this.attr)+" style="+JSON.stringify(this.toStyle())+">"+this.pureChildren.map(function(e){return e.toString()}).join("")+"</"+this.type+">"}});var Ju=function(){},Hu=function(e,t){Object.defineProperty(this,"instanceId",{enumerable:!0,value:e}),Object.defineProperty(this,"callbackManager",{enumerable:!0,value:new Lu}),Ju=t||function(){}};Hu.prototype.callback=function(e,t,n){return this.callbackManager.consume(e,t,n)},Hu.prototype.destroyCallback=function(){return this.callbackManager.close()},Hu.prototype.typof=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1).toLowerCase()},Hu.prototype.normalize=function(e){switch(this.typof(e)){case"undefined":case"null":return"";case"regexp":return e.toString();case"date":return e.toISOString();case"number":case"string":case"boolean":case"array":case"object":return e instanceof dn?e.ref:e;case"function":return this.callbackManager.add(e).toString();default:return JSON.stringify(e)}},Hu.prototype.send=function(e,t,n,r){var o=this,i=t.action,a=t.component,s=t.ref,u=t.module,c=t.method;switch(n=n.map(function(e){return o.normalize(e)}),e){case"dom":return this[i](this.instanceId,n);case"component":return this.componentHandler(this.instanceId,s,c,n,Object.assign({component:a},r));default:return this.moduleHandler(this.instanceId,u,c,n,r)}},Hu.prototype.callDOM=function(e,t){return this[e](this.instanceId,t)},Hu.prototype.callComponent=function(e,t,n,r){return this.componentHandler(this.instanceId,e,t,n,r)},Hu.prototype.callModule=function(e,t,n,r){return this.moduleHandler(this.instanceId,e,t,n,r)};var Gu,Xu,Ku=[],Zu=/^\s*\/\/ *(\{[^}]*\}) *\r?\n/,Qu={},Yu={createInstance:wn,registerService:vn,unregisterService:mn};kn.prototype=Object.create(ln.prototype),kn.prototype.constructor=kn,kn.prototype.toString=function(){return"\x3c!-- "+this.value+" --\x3e"},Object.assign(jn.prototype,{createFinish:function(e){return(0,this.handler)([An("createFinish")],e)},updateFinish:function(e){return(0,this.handler)([An("updateFinish")],e)},refreshFinish:function(e){return(0,this.handler)([An("refreshFinish")],e)},createBody:function(e){var t=e.toJSON(),n=t.children;delete t.children;var r=[An("createBody",[t])];return n&&r.push.apply(r,n.map(function(e){return An("addElement",[t.ref,e,-1])})),this.addActions(r)},addElement:function(e,t,n){return n>=0||(n=-1),this.addActions(An("addElement",[t,e.toJSON(),n]))},removeElement:function(e){if(Array.isArray(e)){var t=e.map(function(e){return An("removeElement",[e])});return this.addActions(t)}return this.addActions(An("removeElement",[e]))},moveElement:function(e,t,n){return this.addActions(An("moveElement",[e,t,n]))},setAttr:function(e,t,n){var r={};return r[t]=n,this.addActions(An("updateAttrs",[e,r]))},setStyle:function(e,t,n){var r={};return r[t]=n,this.addActions(An("updateStyle",[e,r]))},setStyles:function(e,t){return this.addActions(An("updateStyle",[e,t]))},addEvent:function(e,t){return this.addActions(An("addEvent",[e,t]))},removeEvent:function(e,t){return this.addActions(An("removeEvent",[e,t]))},handler:function(e,t){return t&&t()},addActions:function(e){var t=this.updates,n=this.handler;if(Array.isArray(e)||(e=[e]),!this.batched)return n(e);t.push.apply(t,e)}});var ec={createBody:"callCreateBody",addElement:"callAddElement",removeElement:"callRemoveElement",moveElement:"callMoveElement",updateAttrs:"callUpdateAttrs",updateStyle:"callUpdateStyle",addEvent:"callAddEvent",removeEvent:"callRemoveEvent"};Pn.handler=null,Object.assign(Pn.prototype,{getRef:function(e){return this.nodeMap[e]},open:function(){this.listener.batched=!1},close:function(){this.listener.batched=!0},createDocumentElement:function(){var e=this;if(!this.documentElement){var t=new dn("document");t.docId=this.id,t.ownerDocument=this,t.role="documentElement",t.depth=0,t.ref="_documentElement",this.nodeMap._documentElement=t,this.documentElement=t,Object.defineProperty(t,"appendChild",{configurable:!0,enumerable:!0,writable:!0,value:function(t){en(e,t)}}),Object.defineProperty(t,"insertBefore",{configurable:!0,enumerable:!0,writable:!0,value:function(t,n){en(e,t,n)}})}return this.documentElement},createBody:function(e,t){if(!this.body){nn(this,new dn(e,t))}return this.body},createElement:function(e,t){return new dn(e,t)},createComment:function(e){return new kn(e)},fireEvent:function(e,t,n,r){if(e){n=n||{},n.type=t,n.target=e,n.currentTarget=e,n.timestamp=Date.now(),r&&Mn(e,r);var o="true"===this.getRef("_root").attr.bubble;return e.fireEvent(t,n,o)}},destroy:function(){delete this.listener,delete this.nodeMap,Zt(this.id)}});var tc={Document:Pn,Element:dn,Comment:kn,Listener:jn,TaskCenter:Hu,sendTasks:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return global.callNative.apply(global,e)}};Pn.handler=tc.sendTasks;var nc={setNativeConsole:Ft,resetNativeConsole:Lt,setNativeTimer:qt,resetNativeTimer:Wt,service:{register:vn,unregister:mn,has:yn},freezePrototype:$n,init:Cn,config:tc},rc={},oc={};Dn.prototype.postMessage=function(e){var t=this;if(this._closed)throw new Error('BroadcastChannel "'+this.name+'" is closed.');var n=rc[this.name];if(n&&n.length)for(var r=0;r<n.length;++r){var o=n[r];o._closed||o===t||"function"==typeof o.onmessage&&o.onmessage(new Rn("message",{data:e}))}},Dn.prototype.close=function(){var e=this;if(!this._closed&&(this._closed=!0,rc[this.name])){var t=rc[this.name].filter(function(t){return t!==e});t.length?rc[this.name]=t:delete rc[this.name]}};var ic={create:function(e,t,n){if(oc[e]=[],"function"==typeof global.BroadcastChannel)return{};var r={BroadcastChannel:function(t){Object.defineProperty(this,"name",{configurable:!1,enumerable:!0,writable:!1,value:String(t)}),this._closed=!1,this.onmessage=null,rc[this.name]||(rc[this.name]=[]),rc[this.name].push(this),oc[e].push(this)}};return r.BroadcastChannel.prototype=Dn.prototype,{instance:r}},destroy:function(e,t){oc[e].forEach(function(e){return e.close()}),delete oc[e]}},ac={BroadcastChannel:ic},sc=Object.freeze({$userTrack:Fn,$sendMtop:Ln,$callWindvane:Un,$setSpm:Bn,$getUserInfo:Vn,$login:qn,$logout:Wn});!function(e){var t=nc.init,n=nc.config;n.frameworks=e;var r=ro.native,o=ro.transformer;for(var i in ac)nc.service.register(i,ac[i]);nc.freezePrototype(),nc.setNativeConsole(),global.frameworkVersion=r,global.transformerVersion=o;var a=t(n);for(var s in a)!function(e){global[e]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=a[e].apply(a,t);return r instanceof Error&&console.error(r.toString()),r}}(s)}(no),global.registerMethods(sc)});