rax-image
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -1,1 +0,1 @@ | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const a=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:a,onLoad:s,onError:c,style:l,resizeMode:f,loading:h}=n,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;const v=p,[d,y]=Object(r.useState)({});v.onError=Object(r.useCallback)((n=>{void 0===d.uri&&y({uri:e.uri}),c&&c(n)}),[e.uri,c,d]),v.onLoad=Object(r.useCallback)((n=>{n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?s&&s(n):(void 0===d.uri&&y({uri:e.uri}),c&&c(n))}),[s,c]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=a.uri&&(e=a));const{width:m,height:_,uri:g}=e;return v.src=g,v.style=Object.assign({width:m,height:_},l),h&&(v.loading=h),(f=f||v.style.resizeMode)&&(v.style.objectFit=f),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const a=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:a,onLoad:s,onError:c,style:l,resizeMode:f,loading:h,placeholder:p}=n,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;const d=v,[y,m]=Object(r.useState)({});d.onError=Object(r.useCallback)((n=>{void 0===y.uri&&m({uri:e.uri}),c&&c(n)}),[e.uri,c,y]),d.onLoad=Object(r.useCallback)((n=>{s&&s(n)}),[s,c]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));const{width:_,height:g,uri:b}=e;return d.src=b,d.style=Object.assign({width:_,height:g},l),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(f=f||d.style.resizeMode)&&(d.style.objectFit=f),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const s=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:o,onLoad:s,onError:c,style:l,resizeMode:f,loading:h}=n,p=a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,o=o||i.a;const v=p,[d,y]=Object(r.useState)({});v.onError=Object(r.useCallback)((n=>{void 0===d.uri&&y({uri:e.uri}),c&&c(n)}),[e.uri,c,d]),v.onLoad=Object(r.useCallback)((n=>{n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?s&&s(n):(void 0===d.uri&&y({uri:e.uri}),c&&c(n))}),[s,c]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));const{width:m,height:_,uri:g}=e;return v.src=g,v.style=Object.assign({width:m,height:_},l),(f=f||v.style.resizeMode)&&(v.resize=f,v.style.resizeMode=f),Object(r.createElement)("image",u({quality:"original"},v,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:s},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var s in a)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(s);let c=null;c=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=c},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function s(n){return Array.isArray(n)}function c(n){return"string"==typeof n}function l(n){return"number"==typeof n}var f=function(){},h={};function p(n,t){if(s(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,c=null;if(null!=t)for(o in c=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var l=arguments.length-2;if(l>0)if(1!==l||s(i)){var h=i;if(l>1){h=Array(l);for(var p=0;p<l;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=f,S(0)),new r(n,a,c,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,s=u.p;u.p=t,u._=s,a.current=n}else{var c=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(l.current=r(),n.current=null)},l=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,o[i]={v:c,j:l,_:t,p:t},r.didMount.push(c),r.willUnmount.push((function(){return l(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(l(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return s(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=c(n.type)?new e.O(n):new e.g(n):c(n)||l(n)?t=new e.k(n+""):s(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,s={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(s),i){var c=i._internal;a=c.H(c._context)}var l=this.get(t);if(l&&l.D)return a&&(l._internal.N=a),l.h(n),u.afterRender&&u.afterRender(s),l;var f=V(M(K)).R(t,i,a||{});return this.set(t,f),f.h(n),u.afterRender&&u.afterRender(s),f}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!s(n)||!s(t))||(c(n)||l(n)?c(t)||l(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(c(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!s(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,sn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,s=o.append||"tree";this.G=un({},o.style);var c={type:u,props:o};return c._internal=this,this._instance=c,"tree"===s?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),c},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var s=t[u],c=V(s);i[en(i,s,u)]=c,c.V=u;var l=c.R(n,this._instance,e,r);o.push(l)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||s(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,s=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var c=this.G;for(i in c)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var l=n[r];o(l)&&a.removeEventListener(s,r.slice(2).toLowerCase(),l)}else a.removeAttribute(s,r,n[r]);for(r in t){var f=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==f&&(null!=f||null!=h))if("style"===r)if(f?f=this.G=un({},f):this.G=null,null!=h){for(i in h)f&&(f[i]||0===f[i])||((u=u||{})[i]="");for(i in f)h[i]!==f[i]&&((u=u||{})[i]=f[i])}else u=f;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(s,p,h,t),o(f)&&a.addEventListener(s,p,f,t)}else null!=f?a.setAttribute(s,r,f):a.removeAttribute(s,r,n[r])}u&&a.setStyle(s,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,c=(n=N(n)).length;a<c;a++){var l=n[a],f=en(u,l,a),h=r&&r[f],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,l)?(p===l&&v===t||h.M(p,l,t,t),u[f]=h):(h&&(h.nn=!0),u[f]=V(l))}var d=this.W(),y=s(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,s(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,s(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),cn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),ln=[];function fn(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(fn(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=ln;if(t.length>0)for(C(),ln=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(ln.indexOf(n)<0&&ln.push(n),t){if(ln.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(fn(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,s=this.Z,c=s.type,l=s.ref,f=s.props,h=c.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new c(f,p):o(c)?u=new cn(c,l):k(6,c)}),t),u){u.props=f,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(f,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!s.type._forwardRef&&l&&Q(s._owner,l,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var s=!0,c=o.props,l=o.state,f=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?s=o.shouldComponentUpdate(a,f,u):o.C&&(s=!E(c,a)||!E(l,f))),s){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,f,u),i.Z=t,i._context=r,o.props=a,o.state=f,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(c,l,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=f,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var c=null,l=r.W();s(l)&&0===l.length&&null==o.D&&(c=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;l=N(l),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];l[i]?r.replaceChild(o,l[i]):c?r.insertAfter(o,c):r.appendChild(o,t),c=o}for(var u=n.length;u<l.length;u++)r.removeChild(l[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(sn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=sn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],s=a?a.getValue():n,c=H(s),l=c[1];if(s===c[0]){T((function(){if(a)return a.pn(l),function(){a.dn(l)}}),[]);var f=N(r.children)[0];return o(f)?f(s):void 0}l(s)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),s(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),s=a[u];if(!s){var c=o(r)?r(t):t;return a[u]=[c,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:c}]}var l=s[2],f=s[0];if(i.fn>0)for(var h=0;h<l.kn.length;h++)f=n(f,l.kn[h]);else f=l.In;return P(f,s[0])||(s[0]=f,i.l=!0),l.An=n,l.In=f,l.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const a=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:a,onLoad:s,onError:c,style:l,resizeMode:f,loading:h}=n,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;const v=p,[d,y]=Object(r.useState)({});v.onError=Object(r.useCallback)((n=>{void 0===d.uri&&y({uri:e.uri}),c&&c(n)}),[e.uri,c,d]),v.onLoad=Object(r.useCallback)((n=>{n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?s&&s(n):(void 0===d.uri&&y({uri:e.uri}),c&&c(n))}),[s,c]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=a.uri&&(e=a));const{width:m,height:_,uri:g}=e;return v.src=g,v.style=Object.assign({width:m,height:_},l),h&&(v.loading=h),(f=f||v.style.resizeMode)&&(v.style.objectFit=f),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const a=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:a,onLoad:s,onError:c,style:l,resizeMode:f,loading:h,placeholder:p}=n,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;const d=v,[y,m]=Object(r.useState)({});d.onError=Object(r.useCallback)((n=>{void 0===y.uri&&m({uri:e.uri}),c&&c(n)}),[e.uri,c,y]),d.onLoad=Object(r.useCallback)((n=>{s&&s(n)}),[s,c]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));const{width:_,height:g,uri:b}=e;return d.src=b,d.style=Object.assign({width:_,height:g},l),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(f=f||d.style.resizeMode)&&(d.style.objectFit=f),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e};const s=Object(r.forwardRef)(((n,t)=>{var{source:e,fallbackSource:o,onLoad:s,onError:c,style:l,resizeMode:f,loading:h}=n,p=a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,o=o||i.a;const v=p,[d,y]=Object(r.useState)({});v.onError=Object(r.useCallback)((n=>{void 0===d.uri&&y({uri:e.uri}),c&&c(n)}),[e.uri,c,d]),v.onLoad=Object(r.useCallback)((n=>{n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?s&&s(n):(void 0===d.uri&&y({uri:e.uri}),c&&c(n))}),[s,c]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));const{width:m,height:_,uri:g}=e;return v.src=g,v.style=Object.assign({width:m,height:_},l),(f=f||v.style.resizeMode)&&(v.resize=f,v.style.resizeMode=f),Object(r.createElement)("image",u({quality:"original"},v,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:s},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var s in a)["default"].indexOf(s)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(s);let c=null;c=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=c},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function s(n){return Array.isArray(n)}function c(n){return"string"==typeof n}function l(n){return"number"==typeof n}var f=function(){},h={};function p(n,t){if(s(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,c=null;if(null!=t)for(o in c=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var l=arguments.length-2;if(l>0)if(1!==l||s(i)){var h=i;if(l>1){h=Array(l);for(var p=0;p<l;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=f,S(0)),new r(n,a,c,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,s=u.p;u.p=t,u._=s,a.current=n}else{var c=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(l.current=r(),n.current=null)},l=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,o[i]={v:c,j:l,_:t,p:t},r.didMount.push(c),r.willUnmount.push((function(){return l(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(l(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return s(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=c(n.type)?new e.O(n):new e.g(n):c(n)||l(n)?t=new e.k(n+""):s(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,s={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(s),i){var c=i._internal;a=c.H(c._context)}var l=this.get(t);if(l&&l.D)return a&&(l._internal.N=a),l.h(n),u.afterRender&&u.afterRender(s),l;var f=V(M(K)).R(t,i,a||{});return this.set(t,f),f.h(n),u.afterRender&&u.afterRender(s),f}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!s(n)||!s(t))||(c(n)||l(n)?c(t)||l(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(c(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!s(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,sn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,s=o.append||"tree";this.G=un({},o.style);var c={type:u,props:o};return c._internal=this,this._instance=c,"tree"===s?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),c},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var s=t[u],c=V(s);i[en(i,s,u)]=c,c.V=u;var l=c.R(n,this._instance,e,r);o.push(l)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||s(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,s=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var c=this.G;for(i in c)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var l=n[r];o(l)&&a.removeEventListener(s,r.slice(2).toLowerCase(),l)}else a.removeAttribute(s,r,n[r]);for(r in t){var f=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==f&&(null!=f||null!=h))if("style"===r)if(f?f=this.G=un({},f):this.G=null,null!=h){for(i in h)f&&(f[i]||0===f[i])||((u=u||{})[i]="");for(i in f)h[i]!==f[i]&&((u=u||{})[i]=f[i])}else u=f;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(s,p,h,t),o(f)&&a.addEventListener(s,p,f,t)}else null!=f?a.setAttribute(s,r,f):a.removeAttribute(s,r,n[r])}u&&a.setStyle(s,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,c=(n=N(n)).length;a<c;a++){var l=n[a],f=en(u,l,a),h=r&&r[f],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,l)?(p===l&&v===t||h.M(p,l,t,t),u[f]=h):(h&&(h.nn=!0),u[f]=V(l))}var d=this.W(),y=s(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,s(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,s(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),cn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),ln=[];function fn(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(fn(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=ln;if(t.length>0)for(C(),ln=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(ln.indexOf(n)<0&&ln.push(n),t){if(ln.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(fn(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,s=this.Z,c=s.type,l=s.ref,f=s.props,h=c.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new c(f,p):o(c)?u=new cn(c,l):k(6,c)}),t),u){u.props=f,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(f,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!s.type._forwardRef&&l&&Q(s._owner,l,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var s=!0,c=o.props,l=o.state,f=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?s=o.shouldComponentUpdate(a,f,u):o.C&&(s=!E(c,a)||!E(l,f))),s){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,f,u),i.Z=t,i._context=r,o.props=a,o.state=f,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(c,l,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=f,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var c=null,l=r.W();s(l)&&0===l.length&&null==o.D&&(c=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;l=N(l),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];l[i]?r.replaceChild(o,l[i]):c?r.insertAfter(o,c):r.appendChild(o,t),c=o}for(var u=n.length;u<l.length;u++)r.removeChild(l[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(sn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=sn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],s=a?a.getValue():n,c=H(s),l=c[1];if(s===c[0]){T((function(){if(a)return a.pn(l),function(){a.dn(l)}}),[]);var f=N(r.children)[0];return o(f)?f(s):void 0}l(s)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),s(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),s=a[u];if(!s){var c=o(r)?r(t):t;return a[u]=[c,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:c}]}var l=s[2],f=s[0];if(i.fn>0)for(var h=0;h<l.kn.length;h++)f=n(f,l.kn[h]);else f=l.In;return P(f,s[0])||(s[0]=f,i.l=!0),l.An=n,l.In=f,l.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); |
@@ -1,1 +0,1 @@ | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var _=e,g=_.width,b=_.height,O=_.uri;return v.src=O,v.style=Object.assign({width:g,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],_=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&_({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var g=e,b=g.width,O=g.height,w=g.uri;return d.src=w,d.style=Object.assign({width:b,height:O},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,_=m.width,g=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:_,height:g},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,c(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(C(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=cn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var _=e,g=_.width,b=_.height,O=_.uri;return v.src=O,v.style=Object.assign({width:g,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],_=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&_({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var g=e,b=g.width,O=g.height,w=g.uri;return d.src=w,d.style=Object.assign({width:b,height:O},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,_=m.width,g=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:_,height:g},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,c(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(C(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=cn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); |
@@ -1,1 +0,1 @@ | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var _=e,g=_.width,b=_.height,O=_.uri;return v.src=O,v.style=Object.assign({width:g,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],_=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&_({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var g=e,b=g.width,O=g.height,w=g.uri;return d.src=w,d.style=Object.assign({width:b,height:O},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,_=m.width,g=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:_,height:g},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,c(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(C(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=cn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); | ||
!function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var _=e,g=_.width,b=_.height,O=_.uri;return v.src=O,v.style=Object.assign({width:g,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],_=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&_({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var g=e,b=g.width,O=g.height,w=g.uri;return d.src=w,d.style=Object.assign({width:b,height:O},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,_=m.width,g=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:_,height:g},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(O),d.push(n)}function O(){g(d)}function w(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,_=null,g=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(w):(b=x,c(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(C(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=cn,e.k=wn,e.I=Cn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}]); |
@@ -1,1 +0,1 @@ | ||
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.raxImage=t():n.raxImage=t()}(window,(function(){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var _=e,g=_.width,b=_.height,w=_.uri;return v.src=w,v.style=Object.assign({width:g,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],_=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&_({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var g=e,b=g.width,w=g.height,O=g.uri;return d.src=O,d.style=Object.assign({width:b,height:w},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,_=m.width,g=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:_,height:g},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],_=setTimeout;function g(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&_(w),d.push(n)}function w(){g(d)}function O(n){0===y.length&&_(C),y.push(n)}function C(){g(y)}function j(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);_((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||C();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return O((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return O((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,_=null,g=!1,b=!1,w=null,O=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var C in r){var j=r[C],x=j.nn||!u[C];m?x&&j.unmountComponent(O):(b=x,c(_=(m=j).W())&&(g=0===_.length,_=_[0]))}(y&&0===d.length||g)&&(w=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)w?o.insertAfter(n[r-1-e],w):_?o.insertBefore(n[e],_):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(w=M.W())&&(w=w[w.length-1])}b&&m.unmountComponent(O),O&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),g(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(C(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||C(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function _n(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?j((function(){var n=e._internal;n&&_n((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):_((function(){throw t}),0)}(t,n)}}function gn(n,t){j((function(){_n(n,t)}))}function bn(n,t){n&&gn((function(){D(n,t)}),t)}var wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(_n((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&_n((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,_n((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&gn((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&_n((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&_n((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&gn((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=jn,e.O=cn,e.k=On,e.I=Cn,e.g=wn;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||C();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}])})); | ||
!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.raxImage=t():n.raxImage=t()}(window,(function(){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var i in n)e.d(r,i,function(t){return n[t]}.bind(null,i));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="/",e(e.s=7)}([function(n,t,e){n.exports=e(9)},function(n,t,e){"use strict";t.a={}},function(n,t){n.exports=require("universal-env")},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]);e=e||i.a,a=a||i.a;var v=p,d=Object(r.useState)({}),y=d[0],m=d[1];v.onError=Object(r.useCallback)((function(n){void 0===y.uri&&m({uri:e.uri}),s&&s(n)}),[e.uri,s,y]),v.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===y.uri&&m({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==y.uri&&(y.uri!==e.uri?y.uri=void 0:null!=a.uri&&(e=a));var g=e,_=g.width,b=g.height,O=g.uri;return v.src=O,v.style=Object.assign({width:_,height:b},f),h&&(v.loading=h),(l=l||v.style.resizeMode)&&(v.style.objectFit=l),Object(r.createElement)("img",o({},v,{ref:t}))}));t.a=a},function(n,t){},function(n,t,e){"use strict";var r=e(0),i=e(1);function o(){return o=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},o.apply(this,arguments)}var u=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},a=Object(r.forwardRef)((function(n,t){var e=n.source,a=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=n.loading,p=n.placeholder,v=u(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading","placeholder"]);e=e||i.a,a=a||i.a;var d=v,y=Object(r.useState)({}),m=y[0],g=y[1];d.onError=Object(r.useCallback)((function(n){void 0===m.uri&&g({uri:e.uri}),s&&s(n)}),[e.uri,s,m]),d.onLoad=Object(r.useCallback)((function(n){c&&c(n)}),[c,s]),void 0!==m.uri&&(m.uri!==e.uri?m.uri=void 0:null!=a.uri&&(e=a));var _=e,b=_.width,O=_.height,w=_.uri;return d.src=w,d.style=Object.assign({width:b,height:O},f),h&&(d["lazy-load"]="lazy"===h),p&&(d["default-source"]=p),(l=l||d.style.resizeMode)&&(d.style.objectFit=l),Object(r.createElement)("img",o({},d,{ref:t}))}));t.a=a},function(n,t,e){"use strict";var r=e(0),i=e(1),o=e(3);function u(){return u=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n},u.apply(this,arguments)}var a=function(n,t){var e={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(n);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(n,r[i])&&(e[r[i]]=n[r[i]])}return e},c=Object(r.forwardRef)((function(n,t){var e=n.source,o=n.fallbackSource,c=n.onLoad,s=n.onError,f=n.style,l=n.resizeMode,h=(n.loading,a(n,["source","fallbackSource","onLoad","onError","style","resizeMode","loading"]));e=e||i.a,o=o||i.a;var p=h,v=Object(r.useState)({}),d=v[0],y=v[1];p.onError=Object(r.useCallback)((function(n){void 0===d.uri&&y({uri:e.uri}),s&&s(n)}),[e.uri,s,d]),p.onLoad=Object(r.useCallback)((function(n){n&&n.success||n&&n.currentTarget&&n.currentTarget.naturalWidth>1&&n.currentTarget.naturalHeight>1?c&&c(n):(void 0===d.uri&&y({uri:e.uri}),s&&s(n))}),[c,s]),void 0!==d.uri&&(d.uri!==e.uri?d.uri=void 0:null!=o.uri&&(e=o));var m=e,g=m.width,_=m.height,b=m.uri;return p.src=b,p.style=Object.assign({width:g,height:_},f),(l=l||p.style.resizeMode)&&(p.resize=l,p.style.resizeMode=l),Object(r.createElement)("image",u({quality:"original"},p,{ref:t}))}));t.a="object"==typeof __weex_v2__?o.a:c},function(n,t,e){n.exports=e(8)},function(n,t,e){"use strict";e.r(t);var r=e(2),i=e(3),o=e(5),u=e(6),a=e(4);for(var c in a)["default"].indexOf(c)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(c);var s=null;s=r.isWeb?i.a:r.isMiniApp||r.isWeChatMiniProgram||r.isByteDanceMicroApp||r.isBaiduSmartProgram||r.isKuaiShouMiniProgram?o.a:r.isWeex?u.a:i.a,t.default=s},function(n,t){var e={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function r(n,t,e,r,i){return{type:n,key:t,ref:e,props:r,_owner:i}}function i(n){return null===n}function o(n){return"function"==typeof n}function u(n){return"object"==typeof n}function a(n){return"[object Object]"===h.toString.call(n)}function c(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function f(n){return"number"==typeof n}var l=function(){},h={};function p(n,t){if(c(n))for(var e=0,r=n.length;e<r;e++)p(n[e],t);else t.push(n)}function v(n){if(null==n)return n;var t=[];return p(n,t),t.length-1?t:t[0]}var d=[],y=[],m=[],g=setTimeout;function _(n){for(var t;t=n.shift();)t()}function b(n){0===d.length&&g(O),d.push(n)}function O(){_(d)}function w(n){0===y.length&&g(j),y.push(n)}function j(){_(y)}function C(n){m.push(n)}function x(n,t,r){var i,o=void 0===r?"":" got: "+function(n){return a(n)?Object.keys(n):n}(r);return Error(n+": #"+t+", "+((i=e.owner)?"check <"+i.u()+">":"no owner")+"."+o)}function k(n,t){throw x("Error",n,t)}function S(n,t){var e=x("Warn",n,t);g((function(){throw e}),0)}var R={key:!0,ref:!0};function M(n,t,i){var o,u={},a=null,s=null;if(null!=t)for(o in s=void 0===t.ref?null:t.ref,a=void 0===t.key?null:""+t.key,t)R[o]||(u[o]=t[o]);var f=arguments.length-2;if(f>0)if(1!==f||c(i)){var h=i;if(f>1){h=Array(f);for(var p=0;p<f;p++)h[p]=arguments[p+2]}u.children=v(h)}else u.children=i;if(n&&n.defaultProps){var d=n.defaultProps;for(o in d)void 0===u[o]&&(u[o]=d[o])}return null==n&&(n=l,S(0)),new r(n,a,s,u,e.owner)}function D(n,t,e){for(var r=0,i=n&&n.length;r<i;r++)n[r].call(t,e)}var W=h.hasOwnProperty;function P(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function E(n,t){if(P(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var e=Object.keys(n);if(e.length!==Object.keys(t).length)return!1;for(var r=0;r<e.length;r++)if(!W.call(t,e[r])||!P(n[e[r]],t[e[r]]))return!1;return!0}function I(){return e.owner&&e.owner._instance}function U(){var n=I();if(n)return n;k(1)}function Z(n,t){if(i(t)||n.length!==t.length)return!1;for(var e=0;e<n.length;e++)if(!P(n[e],t[e]))return!1;return!0}function H(n){var t=U(),r=t.getHookID(),i=t.getHooks();i[r]||(o(n)&&(n=n()),i[r]=[n,function(n){e.i||j();var u=i[r],a=u[2];o(n)&&(n=n(a)),P(n,a)||(u[2]=n,I()===t?t.o=!0:t.h())},n]);var u=i[r];return P(u[0],u[2])||(u[0]=u[2],t.l=!0),u}function T(n,t){L(n,t)}function L(n,t,e){var r=U(),i=r.getHookID(),o=r.getHooks();if(t=void 0===t?null:t,o[i]){var u=o[i],a=u.v,c=u.p;u.p=t,u._=c,a.current=n}else{var s=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(f.current=r(),n.current=null)},f=function n(t){if(!t&&e)return w((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};s.current=n,o[i]={v:s,j:f,_:t,p:t},r.didMount.push(s),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var n=o[i],t=n.p,e=n.v;null!=t&&Z(t,n._)||(f(),e())}))}}function A(n,t){var e=U(),r=e.getHookID(),o=e.getHooks();if(t=void 0===t?null:t,o[r]){var u=o[r][1];!i(t)&&Z(t,u)||(o[r]=[n(),t])}else o[r]=[n(),t];return o[r][0]}function N(n){return c(n)?n:[n]}function z(n,t){for(var e;n&&n._internal;){if(t(n)){e=n;break}n=n._internal.m}return e}var F=0;function V(n){var t;return a(n)&&null!==n&&n.type?t=s(n.type)?new e.O(n):new e.g(n):s(n)||f(n)?t=new e.k(n+""):c(n)?t=new e.I(n):(void 0===n||i(n)||!1===n||!0===n||S(2,n),t=new e.A(n)),t}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t)}function q(n,t){return(q=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),$=function(n){function t(t,e){var r;return(r=n.call(this,t,e)||this).C=!0,r}return B(t,n),t}(G),J=1,K=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=J++,t}B(t,n);var e=t.prototype;return e.S=function(){return this.U().S()},e.U=function(){return this._internal._renderedComponent},e.h=function(n){this.P=n,this.forceUpdate()},e.render=function(){return this.P},t}(G),Y={set:function(n,t){n._r||(n._r=t,t.D&&(e.rootInstances[t.D]=t,e.rootComponents[t.D]=t._internal))},get:function(n){return n._r},remove:function(n){var t=this.get(n);t&&(n._r=null,t.D&&(delete e.rootComponents[t.D],delete e.rootInstances[t.D]))},mount:function(n,t,r){var i=r.parent,o=r.hydrate,u=e.driver;null==t&&(t=u.createBody());var a,c={element:n,container:t,hydrate:o};if(u.beforeRender&&u.beforeRender(c),i){var s=i._internal;a=s.H(s._context)}var f=this.get(t);if(f&&f.D)return a&&(f._internal.N=a),f.h(n),u.afterRender&&u.afterRender(c),f;var l=V(M(K)).R(t,i,a||{});return this.set(t,l),l.h(n),u.afterRender&&u.afterRender(c),l}};function X(n,t,e){var r=n?n.ref:null,i=t?t.ref:null;r!==i&&(r&&nn(n._owner,r,e),i&&Q(t._owner,i,e))}function Q(n,t,e){if(n){var r=e.S();o(t)?t(r):u(t)?t.current=r:n._instance.refs[t]=r}else S(3)}function nn(n,t,e){if(o(t))t(null);else{var r=e.S();u(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var e=i(n),r=i(t);return e||r?e===r:!(!c(n)||!c(t))||(s(n)||f(n)?s(t)||f(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,e){var r=t&&t.key,i="."+e.toString(36);if(s(r)){var o="$"+r;return void 0===n[o]?o:i}return i}function rn(n){for(var t=n;t=n.m&&n.m._internal;)if(t instanceof e.g)n=t;else{for(var r=Object.keys(t.T),i=n.V-1;i>=0;i--){var o=t.T[r[i]].W();if(!c(o))return o;if(o.length>0)return o[o.length-1]}if(!(t instanceof e.I))return null;n=t}}var on=function(){function n(n){this.Z=n}var t=n.prototype;return t.$=function(n,t,r){this._parent=n,this.m=t,this._context=r,this._mountID=e.t++},t.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},t.R=function(n,t,e,r){this.$(n,t,e),this.B(r);var i={};return i._internal=this,i},t.unmountComponent=function(n){this._nativeNode&&!n&&e.driver.removeChild(this._nativeNode,this._parent),this.q()},t.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},t.B=function(n){var t=this.W(),r=this._parent;n?n(t,r):e.driver.appendChild(t,r)},t.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},t.S=function(){return this.W()},n}(),un=Object.assign,an=/^on[A-Z]/,cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,e,r){this.$(n,t,e);var i=this.Z,o=i.props,u=i.type,a=o.children,c=o.append||"tree";this.G=un({},o.style);var s={type:u,props:o};return s._internal=this,this._instance=s,"tree"===c?(this.J(a,e),this.B(r)):(this.B(r),this.J(a,e)),i&&i.ref&&Q(i._owner,i.ref,this),s},r.J=function(n,t){if(null==n)return n;var e=this.W();return this.K(e,N(n),t)},r.K=function(n,t,e,r){for(var i=this.T={},o=[],u=0,a=t.length;u<a;u++){var c=t[u],s=V(c);i[en(i,c,u)]=s,s.V=u;var f=s.R(n,this._instance,e,r);o.push(f)}return o},r.L=function(n){var t=this.T;if(t){for(var e in t)t[e].unmountComponent(n);this.T=null}},r.unmountComponent=function(n){if(this._nativeNode){var t=this.Z.ref;t&&nn(this.Z._owner,t,this),Y.remove(this._nativeNode),n||e.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},r.M=function(n,t,e,r){this.Z=t,X(n,t,this);var i=n.props,o=t.props;this.X(i,o),null==i.children||c(i.children)&&0===i.children.length?this.J(o.children,r):this.Y(o.children,r)},r.X=function(n,t){var r,i,u,a=e.driver,c=this.W();for(r in n)if("children"!==r&&null!=n[r]&&!t.hasOwnProperty(r))if("style"===r){var s=this.G;for(i in s)(u=u||{})[i]="";this.G=null}else if(an.test(r)){var f=n[r];o(f)&&a.removeEventListener(c,r.slice(2).toLowerCase(),f)}else a.removeAttribute(c,r,n[r]);for(r in t){var l=t[r],h="style"===r?this.G:null!=n?n[r]:void 0;if("children"!==r&&h!==l&&(null!=l||null!=h))if("style"===r)if(l?l=this.G=un({},l):this.G=null,null!=h){for(i in h)l&&(l[i]||0===l[i])||((u=u||{})[i]="");for(i in l)h[i]!==l[i]&&((u=u||{})[i]=l[i])}else u=l;else if(an.test(r)){var p=r.slice(2).toLowerCase();o(h)&&a.removeEventListener(c,p,h,t),o(l)&&a.addEventListener(c,p,l,t)}else null!=l?a.setAttribute(c,r,l):a.removeAttribute(c,r,n[r])}u&&a.setStyle(c,u)},r.Y=function(n,t){var r=this.T,o=e.driver;if(null!=n||null!=r){var u={};if(null!=n)for(var a=0,s=(n=N(n)).length;a<s;a++){var f=n[a],l=en(u,f,a),h=r&&r[l],p=h&&h.Z,v=h&&h._context;null!=h&&tn(p,f)?(p===f&&v===t||h.M(p,f,t,t),u[l]=h):(h&&(h.nn=!0),u[l]=V(f))}var d=this.W(),y=c(d),m=null,g=null,_=!1,b=!1,O=null,w=!(!o.removeChildren||!(i(n)||n&&!n.length)||y);if(null!=r){for(var j in r){var C=r[j],x=C.nn||!u[j];m?x&&C.unmountComponent(w):(b=x,c(g=(m=C).W())&&(_=0===g.length,g=g[0]))}(y&&0===d.length||_)&&(O=rn(this))}var k=function(n,t){for(var e=0,r=(n=N(n)).length;e<r;e++)O?o.insertAfter(n[r-1-e],O):g?o.insertBefore(n[e],g):t&&o.appendChild(n[e],t)},S=0;for(var R in u){var M=u[R],D=r&&r[R];if(D===M){var W=D.W();D.V!==S&&k(W)}else y&&(d=this._parent),M.R(d,this._instance,t,k);M.V=S++,c(O=M.W())&&(O=O[O.length-1])}b&&m.unmountComponent(w),w&&o.removeChildren(this._nativeNode),this.T=u}},r.F=function(){var n=this._instance,t=e.driver.createElement(n.type,n.props,this);return Y.set(t,n),t},t}(on),sn=function(n){function t(t,e){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=e);var i=t.hn;return i&&(r.shouldComponentUpdate=function(n){for(var t=!0,e=i.length-1;e>-1&&!(t=i[e](r.props,n));e--);return!t||r.cn!==r._forwardRef}),r}B(t,n);var e=t.prototype;return e.getHooks=function(){return this.on},e.getHookID=function(){return++this.un},e.useContext=function(n){var t=this,e=n._contextID,r=this.sn[e];if(!r){var i=n.an(this);if(r=this.sn[e]={ln:i},i){var o=function(n){r.vn!==n&&(t.l=!0,t.h())};i.pn(o),this.willUnmount.push((function(){return i.dn(o)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},e.componentWillMount=function(){this.l=!0},e.componentDidMount=function(){D(this.didMount)},e.componentWillReceiveProps=function(){this.l=!0},e.componentDidUpdate=function(){D(this.didUpdate)},e.componentWillUnmount=function(){D(this.willUnmount)},e.h=function(){this.setState(h)},e.render=function(){this.un=0,this.fn=0,this.o=!1;for(var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(G),fn=[];function ln(n){return n._n}function hn(n){var t=n._internal;if(t){e.i=!0;var r=t.Z,i=t._context,o=t.N||i;t.N=void 0,(ln(t)||t.xn)&&(t.M(r,r,i,o),_(m)),e.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function vn(){if(e.i)return b(vn);var n,t=fn;if(t.length>0)for(j(),fn=[],t.length>1&&(t=t.filter((function(n){return!!n._internal})).sort(pn));n=t.pop();)hn(n)}function dn(n,t){if(fn.indexOf(n)<0&&fn.push(n),t){if(fn.length>1)return;b(vn)}else vn()}function yn(n,t,e){var r=n._internal;if(r){e&&function(n,t){(function(n){return n.wn}(n)||function(n){return n.wn=[]}(n)).push(t)}(r,e);var i=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){(ln(n)||function(n){return n._n=[]}(n)).push(t)}(r,t),!r.yn&&i&&dn(n,!0)):(r.xn=!0,i&&dn(n))}}var mn={setState:function(n,t,r){e.i||j(),yn(n,t,r)},forceUpdate:function(n,t){yn(n,null,t)}};function gn(n,t,e){try{return n()}catch(n){e?e(n):function(n,t){var e=z(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));e?C((function(){var n=e._internal;n&&gn((function(){if(e.componentDidCatch&&e.componentDidCatch(t),e.constructor&&e.constructor.getDerivedStateFromError){var n=e.constructor.getDerivedStateFromError(t);e.setState(n)}}),n.m)})):g((function(){throw t}),0)}(t,n)}}function _n(n,t){C((function(){gn(n,t)}))}function bn(n,t){n&&_n((function(){D(n,t)}),t)}var On=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var u,a,c=this.Z,s=c.type,f=c.ref,l=c.props,h=s.prototype,p=this.bn(r);if(gn((function(){h&&h.render?u=new s(l,p):o(s)?u=new sn(s,f):k(6,s)}),t),u){u.props=l,u.context=p,u.refs={},u.updater=mn,u._internal=this,this._instance=u;var v=u.state;void 0===v&&(u.state=v=null),u.componentWillMount&&gn((function(){u.componentWillMount()}),u),e.owner=this,u.state=this.jn(l,p);var d=this.wn;return this.wn=null,gn((function(){a=u.render()}),u),e.owner=null,this._renderedComponent=V(a),this._renderedComponent.R(this._parent,u,this.H(r),i),!c.type._forwardRef&&f&&Q(c._owner,f,this),u.componentDidMount&&_n((function(){u.componentDidMount()}),u),bn(d,u),u}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&gn((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var e=this.Z,r=e.ref;!e.type._forwardRef&&r&&nn(e._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},r.bn=function(n){var t={},e=this.Z.type.contextTypes;if(e)for(var r in e)t[r]=n[r];return t},r.H=function(n){var t=this._instance,e=t.getChildContext&&t.getChildContext();return e?un({},n,e):n},r.jn=function(n,t){var e=this._instance,r=this._n;if(!r)return e.state;this._n=null;for(var i=un({},e.state),u=0;u<r.length;u++){var a=r[u];un(i,o(a)?a.call(e,i,n,t):a)}return i},r.M=function(n,t,e,r){var i=this,o=this._instance;o&&gn((function(){var e,u,a;i._context===r?u=o.context:(u=i.bn(r),e=!0),a=t.props,n!==t&&(e=!0),e&&o.componentWillReceiveProps&&(i.yn=!0,o.componentWillReceiveProps(a,u),i.yn=!1),i.Z.type._forwardRef?(o.cn=n.ref,o._forwardRef=t.ref):X(n,t,i);var c=!0,s=o.props,f=o.state,l=i.jn(a,u),h=i.wn;if(i.wn=null,i.xn||(o.shouldComponentUpdate?c=o.shouldComponentUpdate(a,l,u):o.C&&(c=!E(s,a)||!E(f,l))),c){i.xn=!1;var p=o.context;o.componentWillUpdate&&o.componentWillUpdate(a,l,u),i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u,i.mn(r),o.componentDidUpdate&&_n((function(){o.componentDidUpdate(s,f,p)}),o)}else i.Z=t,i._context=r,o.props=a,o.state=l,o.context=u;bn(h,o)}),o)},r.mn=function(n){var t,r=this._renderedComponent,i=r.Z,o=this._instance;if(e.owner=this,t=o.render(),e.owner=null,tn(i,t)){var u=r._context,a=this.H(n);i===t&&u===a||r.M(i,t,u,a)}else{var s=null,f=r.W();c(f)&&0===f.length&&null==o.D&&(s=rn(r)),r.unmountComponent(!0),this._renderedComponent=V(t),this._renderedComponent.R(this._parent,o,this.H(n),(function(n,t){var r=e.driver;f=N(f),n=N(n);for(var i=0;i<n.length;i++){var o=n[i];f[i]?r.replaceChild(o,f[i]):s?r.insertAfter(o,s):r.appendChild(o,t),s=o}for(var u=n.length;u<f.length;u++)r.removeChild(f[u])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.S=function(){var n=this._instance;return n.tn?null:n},t}(on),wn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.M=function(n,t){n!==(t=""+t)&&(this.Z=t,e.driver.updateText(this.W(),t))},r.F=function(){return e.driver.createText(this.Z,this)},t}(on),jn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.R=function(n,t,r,i){this.$(n,t,r);var o=this._instance={};o._internal=this;var u=[];if(this.K(this._parent,this.Z,r,(function(n){n=N(n);for(var t=0;t<n.length;t++)u.push(n[t])})),i)i(u,n);else for(var a=0;a<u.length;a++)e.driver.appendChild(u[a],n);return o},r.unmountComponent=function(n){if(!n)for(var t=this.W(),r=0,i=t.length;r<i;r++)e.driver.removeChild(t[r]);this.L(!0),this.q()},r.M=function(n,t,e,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},t}(cn),Cn=function(n){function t(){return n.apply(this,arguments)||this}B(t,n);var r=t.prototype;return r.F=function(){return e.driver.createEmpty(this)},r.M=function(){},t}(on);e.A=Cn,e.O=cn,e.k=wn,e.I=jn,e.g=On;var xn={Host:e,Instance:Y,Element:r,flattenChildren:v};t.Component=G,t.Fragment=function(n){return n.children},t.PureComponent=$,t.createContext=function(n){var t="_c"+F++;function e(n){return z(n,(function(n){return n.On===t}))}return{Provider:function(){function e(){this.On=t,this.gn=[]}var r=e.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&D(this.gn,null,this.getValue())},r.render=function(){return this.props.children},e}(),Consumer:function(r,i){var u=this,a=H((function(){return i[t]||e(u)}))[0],c=a?a.getValue():n,s=H(c),f=s[1];if(c===s[0]){T((function(){if(a)return a.pn(f),function(){a.dn(f)}}),[]);var l=N(r.children)[0];return o(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:n,an:e}},t.createElement=M,t.createRef=function(){return{current:null}},t.forwardRef=function(n){return n._forwardRef=!0,n},t.memo=function(n,t){return t=t||E,n.hn?n.hn.push(t):n.hn=[t],n},t.render=function(n,t,r,i){o(r)&&(i=r,r=null),(e.driver=(r=r||h).driver||e.driver)||k(5);var u=Y.mount(n,t,r).S();return i&&i.call(u),u},t.shared=xn,t.useCallback=function(n,t){return A((function(){return n}),t)},t.useContext=function(n){return U().useContext(n)},t.useEffect=function(n,t){L(n,t,!0)},t.useImperativeHandle=function(n,t,e){T((function(){return o(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),c(e)?e.concat([n]):null)},t.useLayoutEffect=T,t.useMemo=A,t.useReducer=function(n,t,r){var i=U(),u=i.getHookID(),a=i.getHooks(),c=a[u];if(!c){var s=o(r)?r(t):t;return a[u]=[s,function(n){e.i||j();var t=a[u][2];if(I()===i)t.kn.push(n),i.o=!0;else{var r=t.In,o=(0,t.An)(r,n);if(P(o,r))return;t.In=o,t.kn.push(n),i.h()}},{kn:[],An:n,In:s}]}var f=c[2],l=c[0];if(i.fn>0)for(var h=0;h<f.kn.length;h++)l=n(l,f.kn[h]);else l=f.In;return P(l,c[0])||(c[0]=l,i.l=!0),f.An=n,f.In=l,f.kn.length=0,a[u]},t.useRef=function(n){var t=U(),e=t.getHookID(),r=t.getHooks();return r[e]||(r[e]={current:n}),r[e]},t.useState=H,t.version="1.2.2"}])})); |
@@ -32,2 +32,6 @@ import fmtEvent from './fmtEvent'; | ||
value: 'eager' | ||
}, | ||
webp: { | ||
type: Boolean, | ||
value: false | ||
} | ||
@@ -34,0 +38,0 @@ }, |
var _excluded = ["source", "fallbackSource", "onLoad", "onError", "style", "resizeMode", "loading", "placeholder"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -5,0 +5,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
var _excluded = ["source", "fallbackSource", "onLoad", "onError", "style", "resizeMode", "loading"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -5,0 +5,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
var _excluded = ["source", "fallbackSource", "onLoad", "onError", "style", "resizeMode", "loading"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -5,0 +5,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
@@ -37,2 +37,6 @@ "use strict"; | ||
value: 'eager' | ||
}, | ||
webp: { | ||
type: Boolean, | ||
value: false | ||
} | ||
@@ -39,0 +43,0 @@ }, |
@@ -14,3 +14,3 @@ "use strict"; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -17,0 +17,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
@@ -14,3 +14,3 @@ "use strict"; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -17,0 +17,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
@@ -16,3 +16,3 @@ "use strict"; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -19,0 +19,0 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } |
{ | ||
"name": "rax-image", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Image component for Rax.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1615
166855
102