UNPKG

@ozo/react-rock

Version:

React 移动端开发脚手架,基于CRA3,通用、开箱即用。

2 lines 422 kB
/*! For license information please see 1ef7.7b40792c.chunk.js.LICENSE.txt */ (this["webpackJsonp@ozo/react-rock"]=this["webpackJsonp@ozo/react-rock"]||[]).push([["1ef7"],{"+2oP":function(e,t,n){"use strict";var r=n("I+eb"),o=n("hh1v"),i=n("6LWA"),a=n("I8vh"),u=n("UMSQ"),c=n("/GqU"),l=n("hBjN"),s=n("tiKp"),f=n("Hd5f"),p=n("rkAj"),d=f("slice"),h=p("slice",{ACCESSORS:!0,0:0,1:2}),v=s("species"),y=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,s,f=c(this),p=u(f.length),d=a(e,p),h=a(void 0===t?p:t,p);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[v])&&(n=void 0):n=void 0,n===Array||void 0===n))return y.call(f,d,h);for(r=new(void 0===n?Array:n)(m(h-d,0)),s=0;d<h;d++,s++)d in f&&l(r,s,f[d]);return r.length=s,r}})},"+6XX":function(e,t,n){var r=n("y1pI");e.exports=function(e){return r(this.__data__,e)>-1}},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"+wdc":function(e,t,n){"use strict";var r,o,i,a,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,l=null,s=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(s,0))},o=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,h=window.setTimeout,v=window.clearTimeout;if("undefined"!==typeof console){var y=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof p&&"function"===typeof p.now)t.unstable_now=function(){return p.now()};else{var m=d.now();t.unstable_now=function(){return d.now()-m}}var g=!1,b=null,x=-1,w=5,S=0;a=function(){return t.unstable_now()>=S},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,k=E.port2;E.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();S=e+w;try{b(!0,e)?k.postMessage(null):(g=!1,b=null)}catch(n){throw k.postMessage(null),n}}else g=!1},r=function(e){b=e,g||(g=!0,k.postMessage(null))},o=function(e,n){x=h((function(){e(t.unstable_now())}),n)},i=function(){v(x),x=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function T(e){return void 0===(e=e[0])?null:e}function j(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,c=e[u];if(void 0!==a&&0>C(a,n))void 0!==c&&0>C(c,a)?(e[r]=c,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==c&&0>C(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],R=[],_=1,A=null,N=3,L=!1,I=!1,M=!1;function D(e){for(var t=T(R);null!==t;){if(null===t.callback)j(R);else{if(!(t.startTime<=e))break;j(R),t.sortIndex=t.expirationTime,O(P,t)}t=T(R)}}function $(e){if(M=!1,D(e),!I)if(null!==T(P))I=!0,r(z);else{var t=T(R);null!==t&&o($,t.startTime-e)}}function z(e,n){I=!1,M&&(M=!1,i()),L=!0;var r=N;try{for(D(n),A=T(P);null!==A&&(!(A.expirationTime>n)||e&&!a());){var u=A.callback;if(null!==u){A.callback=null,N=A.priorityLevel;var c=u(A.expirationTime<=n);n=t.unstable_now(),"function"===typeof c?A.callback=c:A===T(P)&&j(P),D(n)}else j(P);A=T(P)}if(null!==A)var l=!0;else{var s=T(R);null!==s&&o($,s.startTime-n),l=!1}return l}finally{A=null,N=r,L=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||L||(I=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_getFirstCallbackNode=function(){return T(P)},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"===typeof a&&null!==a){var c=a.delay;c="number"===typeof c&&0<c?u+c:u,a="number"===typeof a.timeout?a.timeout:U(e)}else a=U(e),c=u;return e={id:_++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>u?(e.sortIndex=c,O(R,e),null===T(P)&&e===T(R)&&(M?i():M=!0,o($,c-u))):(e.sortIndex=a,O(P,e),I||L||(I=!0,r(z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=T(P);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}}},"/GqU":function(e,t,n){var r=n("RK3t"),o=n("HYAF");e.exports=function(e){return r(o(e))}},"/b8u":function(e,t,n){var r=n("STAE");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"/qmn":function(e,t,n){var r=n("2oRo");e.exports=r.Promise},"00an":function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return o}))},"03A+":function(e,t){e.exports=function(){return!1}},"07d7":function(e,t,n){var r=n("AO7/"),o=n("busE"),i=n("sEFX");r||o(Object.prototype,"toString",i,{unsafe:!0})},"0BK2":function(e,t){e.exports={}},"0Dky":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"0GbY":function(e,t,n){var r=n("Qo9l"),o=n("2oRo"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},"0IYN":function(e,t,n){"use strict";var r;e.exports.timeout=function(e,t){var n,o=new r;return Promise.race([e,new Promise((function(e,r){n=setTimeout((function(){r(o)}),t)}))]).then((function(e){return clearTimeout(n),e}),(function(e){throw clearTimeout(n),e}))};(r=e.exports.TimeoutError=function(){Error.call(this),this.stack=Error().stack,this.message="Timeout"}).prototype=Object.create(Error.prototype),r.prototype.name="TimeoutError"},"0JQy":function(e,t){e.exports=function(e){return e.split("")}},"0ZTe":function(e,t,n){var r=n("wy8a"),o=n("quyA"),i=n("Em2t"),a=n("dt0z");e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,u=n?n[0]:t.charAt(0),c=n?r(n,1).join(""):t.slice(1);return u[e]()+c}}},"0eef":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"0rvr":function(e,t,n){var r=n("glrk"),o=n("O741");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"1+5i":function(e,t){e.exports=function(){return!1}},"14Sl":function(e,t,n){"use strict";n("rB9j");var r=n("busE"),o=n("0Dky"),i=n("tiKp"),a=n("kmMV"),u=n("kRJp"),c=i("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var h=i(e),v=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),y=v&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!v||!y||"replace"===e&&(!l||!s||p)||"split"===e&&!d){var m=/./[h],g=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?v&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],x=g[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return x.call(e,this,t)}:function(e){return x.call(e,this)})}f&&u(RegExp.prototype[h],"sham",!0)}},"16Al":function(e,t,n){"use strict";var r=n("WbBG");function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1E5z":function(e,t,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"1Y/n":function(e,t,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ"),u=function(e){return function(t,n,u,c){r(n);var l=o(t),s=i(l),f=a(l.length),p=e?f-1:0,d=e?-1:1;if(u<2)for(;;){if(p in s){c=s[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in s&&(c=n(c,s[p],p,l));return c}};e.exports={left:u(!1),right:u(!0)}},"1hJj":function(e,t,n){var r=n("Z0cm");e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},"2+6g":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("wx14"),o=n("U8pU");function i(e){return e&&"object"===Object(o.a)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},"25BE":function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},"284h":function(e,t,n){var r=n("cDf5");function o(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},"2B1R":function(e,t,n){"use strict";var r=n("I+eb"),o=n("tycR").map,i=n("Hd5f"),a=n("rkAj"),u=i("map"),c=a("map");r({target:"Array",proto:!0,forced:!u||!c},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},"2bPg":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},"2mql":function(e,t,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var l=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=s(n);f&&(a=a.concat(f(n)));for(var u=c(t),v=c(n),y=0;y<a.length;++y){var m=a[y];if(!i[m]&&(!r||!r[m])&&(!v||!v[m])&&(!u||!u[m])){var g=p(n,m);try{l(t,m,g)}catch(b){}}}}return t}},"2oRo":function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n("yLpj"))},"2vnA":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return $e})),n.d(t,"c",(function(){return be})),n.d(t,"d",(function(){return pe})),n.d(t,"e",(function(){return fe})),n.d(t,"f",(function(){return Ge})),n.d(t,"g",(function(){return Xe})),n.d(t,"h",(function(){return te})),n.d(t,"i",(function(){return nt})),n.d(t,"j",(function(){return C})),n.d(t,"k",(function(){return at})),n.d(t,"l",(function(){return Pt})),n.d(t,"m",(function(){return Nt})),n.d(t,"n",(function(){return Vt})),n.d(t,"o",(function(){return Q})),n.d(t,"p",(function(){return Qe})),n.d(t,"q",(function(){return We})),n.d(t,"r",(function(){return pt})),n.d(t,"s",(function(){return ce}));var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e){var t="function"===typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}var l=[];Object.freeze(l);var s={};function f(){return++Re.mobxGuid}function p(e){throw d(!1,e),"X"}function d(e,t){if(!e)throw new Error("[mobx] "+(t||"An invariant failed, however the error is obfuscated because this is a production build."))}Object.freeze(s);function h(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var v=function(){};function y(e){return null!==e&&"object"===typeof e}function m(e){if(null===e||"object"!==typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function g(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function b(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return y(e)&&!0===e[n]}}function x(e){return e instanceof Map}function w(e){return e instanceof Set}function S(e){var t=new Set;for(var n in e)t.add(n);return Object.getOwnPropertySymbols(e).forEach((function(n){Object.getOwnPropertyDescriptor(e,n).enumerable&&t.add(n)})),Array.from(t)}function E(e){return e&&e.toString?e.toString():new String(e).toString()}function k(e){return null===e?null:"object"===typeof e?""+e:e}var O=Symbol("mobx administration"),T=function(){function e(e){void 0===e&&(e="Atom@"+f()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=X.NOT_TRACKING}return e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.reportObserved=function(){return Me(this)},e.prototype.reportChanged=function(){Le(),function(e){if(e.lowestObserverState===X.STALE)return;e.lowestObserverState=X.STALE,e.observers.forEach((function(t){t.dependenciesState===X.UP_TO_DATE&&(t.isTracing!==J.NONE&&De(t,e),t.onBecomeStale()),t.dependenciesState=X.STALE}))}(this),Ie()},e.prototype.toString=function(){return this.name},e}(),j=b("Atom",T);function C(e,t,n){void 0===t&&(t=v),void 0===n&&(n=v);var r,o=new T(e);return t!==v&&tt("onBecomeObserved",o,t,r),n!==v&&et(o,n),o}var P={identity:function(e,t){return e===t},structural:function(e,t){return Ht(e,t)},default:function(e,t){return Object.is(e,t)},shallow:function(e,t){return Ht(e,t,1)}},R=Symbol("mobx did run lazy initializers"),_=Symbol("mobx pending decorators"),A={},N={};function L(e,t){var n=t?A:N;return n[e]||(n[e]={configurable:!0,enumerable:t,get:function(){return I(this),this[e]},set:function(t){I(this),this[e]=t}})}function I(e){var t,n;if(!0!==e[R]){var r=e[_];if(r){g(e,R,!0);var o=c(Object.getOwnPropertySymbols(r),Object.keys(r));try{for(var i=a(o),u=i.next();!u.done;u=i.next()){var l=r[u.value];l.propertyCreator(e,l.prop,l.descriptor,l.decoratorTarget,l.decoratorArguments)}}catch(s){t={error:s}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}}}function M(e,t){return function(){var n,r=function(r,o,a,u){if(!0===u)return t(r,o,a,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,_)){var c=r[_];g(r,_,i({},c))}return r[_][o]={prop:o,propertyCreator:t,descriptor:a,decoratorTarget:r,decoratorArguments:n},L(o,e)};return D(arguments)?(n=l,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function D(e){return(2===e.length||3===e.length)&&("string"===typeof e[1]||"symbol"===typeof e[1])||4===e.length&&!0===e[3]}function $(e,t,n){return st(e)?e:Array.isArray(e)?Q.array(e,{name:n}):m(e)?Q.object(e,void 0,{name:n}):x(e)?Q.map(e,{name:n}):w(e)?Q.set(e,{name:n}):e}function z(e){return e}function U(t){d(t);var n=M(!0,(function(e,n,r,o,i){var a=r?r.initializer?r.initializer.call(e):r.value:void 0;$t(e).addObservableProp(n,a,t)})),r=("undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:"/react-rock",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,REACT_APP_ICONFONT_URL:"//at.alicdn.com/t/font_947602_x4gzcymifen.css",REACT_APP_NAME:"@ozo/react-rock",REACT_APP_TITLE:"react-app\u57fa\u7840\u6a21\u677f",REACT_APP_VERSION:"1.0.11"}),n);return r.enhancer=t,r}var F={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function B(e){return null===e||void 0===e?F:"string"===typeof e?{name:e,deep:!0,proxy:!0}:e}Object.freeze(F);var V=U($),W=U((function(e,t,n){return void 0===e||null===e||Vt(e)||Pt(e)||Nt(e)||Mt(e)?e:Array.isArray(e)?Q.array(e,{name:n,deep:!1}):m(e)?Q.object(e,void 0,{name:n,deep:!1}):x(e)?Q.map(e,{name:n,deep:!1}):w(e)?Q.set(e,{name:n,deep:!1}):p(!1)})),q=U(z),K=U((function(e,t,n){return Ht(e,t)?t:e}));function H(e){return e.defaultDecorator?e.defaultDecorator.enhancer:!1===e.deep?z:$}var G={box:function(e,t){arguments.length>2&&Y("box");var n=B(t);return new Se(e,H(n),n.name,!0,n.equals)},array:function(e,t){arguments.length>2&&Y("array");var n=B(t);return kt(e,H(n),n.name)},map:function(e,t){arguments.length>2&&Y("map");var n=B(t);return new At(e,H(n),n.name)},set:function(e,t){arguments.length>2&&Y("set");var n=B(t);return new It(e,H(n),n.name)},object:function(e,t,n){"string"===typeof arguments[1]&&Y("object");var r=B(n);if(!1===r.proxy)return rt({},e,t,r);var o=ot(r),i=rt({},void 0,void 0,r),a=yt(i);return it(a,e,t,o),a},ref:q,shallow:W,deep:V,struct:K},Q=function(e,t,n){if("string"===typeof arguments[1]||"symbol"===typeof arguments[1])return V.apply(null,arguments);if(st(e))return e;var r=m(e)?Q.object(e,t,n):Array.isArray(e)?Q.array(e,t):x(e)?Q.map(e,t):w(e)?Q.set(e,t):e;if(r!==e)return r;p(!1)};function Y(e){p("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(G).forEach((function(e){return Q[e]=G[e]}));var X,J,Z=M(!1,(function(e,t,n,r,o){var a=n.get,u=n.set,c=o[0]||{};$t(e).addComputedProp(e,t,i({get:a,set:u,context:e},c))})),ee=Z({equals:P.structural}),te=function(e,t,n){if("string"===typeof t)return Z.apply(null,arguments);if(null!==e&&"object"===typeof e&&1===arguments.length)return Z.apply(null,arguments);var r="object"===typeof t?t:{};return r.get=e,r.set="function"===typeof t?t:r.set,r.name=r.name||e.name||"",new Ee(r)};te.struct=ee,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(X||(X={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(J||(J={}));var ne=function(e){this.cause=e};function re(e){return e instanceof ne}function oe(e){switch(e.dependenciesState){case X.UP_TO_DATE:return!1;case X.NOT_TRACKING:case X.STALE:return!0;case X.POSSIBLY_STALE:for(var t=fe(!0),n=le(),r=e.observing,o=r.length,i=0;i<o;i++){var a=r[i];if(ke(a)){if(Re.disableErrorBoundaries)a.get();else try{a.get()}catch(u){return se(n),pe(t),!0}if(e.dependenciesState===X.STALE)return se(n),pe(t),!0}}return de(e),se(n),pe(t),!1}}function ie(e){var t=e.observers.size>0;Re.computationDepth>0&&t&&p(!1),Re.allowStateChanges||!t&&"strict"!==Re.enforceActions||p(!1)}function ae(e,t,n){var r=fe(!0);de(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Re.runId;var o,i=Re.trackingDerivation;if(Re.trackingDerivation=e,!0===Re.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(a){o=new ne(a)}return Re.trackingDerivation=i,function(e){for(var t=e.observing,n=e.observing=e.newObserving,r=X.UP_TO_DATE,o=0,i=e.unboundDepsCount,a=0;a<i;a++){0===(u=n[a]).diffValue&&(u.diffValue=1,o!==a&&(n[o]=u),o++),u.dependenciesState>r&&(r=u.dependenciesState)}n.length=o,e.newObserving=null,i=t.length;for(;i--;){0===(u=t[i]).diffValue&&Ae(u,e),u.diffValue=0}for(;o--;){var u;1===(u=n[o]).diffValue&&(u.diffValue=0,_e(u,e))}r!==X.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),pe(r),o}function ue(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)Ae(t[n],e);e.dependenciesState=X.NOT_TRACKING}function ce(e){var t=le();try{return e()}finally{se(t)}}function le(){var e=Re.trackingDerivation;return Re.trackingDerivation=null,e}function se(e){Re.trackingDerivation=e}function fe(e){var t=Re.allowStateReads;return Re.allowStateReads=e,t}function pe(e){Re.allowStateReads=e}function de(e){if(e.dependenciesState!==X.UP_TO_DATE){e.dependenciesState=X.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=X.UP_TO_DATE}}var he=0,ve=1,ye=Object.getOwnPropertyDescriptor((function(){}),"name");ye&&ye.configurable;function me(e,t,n){var r=function(){return ge(e,t,n||this,arguments)};return r.isMobxAction=!0,r}function ge(e,t,n,r){var o=function(e,t,n){var r=0;var o=le();Le();var i=xe(!0),a=fe(!0),u={prevDerivation:o,prevAllowStateChanges:i,prevAllowStateReads:a,notifySpy:!1,startTime:r,actionId:ve++,parentActionId:he};return he=u.actionId,u}();try{return t.apply(n,r)}catch(i){throw o.error=i,i}finally{!function(e){he!==e.actionId&&p("invalid action stack. did you forget to finish an action?");he=e.parentActionId,void 0!==e.error&&(Re.suppressReactionErrors=!0);we(e.prevAllowStateChanges),pe(e.prevAllowStateReads),Ie(),se(e.prevDerivation),e.notifySpy&&!1;Re.suppressReactionErrors=!1}(o)}}function be(e,t){var n,r=xe(e);try{n=t()}finally{we(r)}return n}function xe(e){var t=Re.allowStateChanges;return Re.allowStateChanges=e,t}function we(e){Re.allowStateChanges=e}var Se=function(e){function t(t,n,r,o,i){void 0===r&&(r="ObservableValue@"+f()),void 0===o&&(o=!0),void 0===i&&(i=P.default);var a=e.call(this,r)||this;return a.enhancer=n,a.name=r,a.equals=i,a.hasUnreportedChange=!1,a.value=n(t,void 0,r),a}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){this.value;if((e=this.prepareNewValue(e))!==Re.UNCHANGED){0,this.setNewValue(e)}},t.prototype.prepareNewValue=function(e){if(ie(this),mt(this)){var t=bt(this,{object:this,type:"update",newValue:e});if(!t)return Re.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Re.UNCHANGED:e},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),xt(this)&&St(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return gt(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),wt(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return k(this.get())},t.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},t}(T),Ee=(b("ObservableValue",Se),function(){function e(e){this.dependenciesState=X.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=X.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+f(),this.value=new ne(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=J.NONE,d(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+f(),e.set&&(this.setter=me(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?P.structural:P.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState!==X.UP_TO_DATE)return;e.lowestObserverState=X.POSSIBLY_STALE,e.observers.forEach((function(t){t.dependenciesState===X.UP_TO_DATE&&(t.dependenciesState=X.POSSIBLY_STALE,t.isTracing!==J.NONE&&De(t,e),t.onBecomeStale())}))}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.get=function(){this.isComputing&&p("Cycle detected in computation "+this.name+": "+this.derivation),0!==Re.inBatch||0!==this.observers.size||this.keepAlive?(Me(this),oe(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState===X.STALE)return;e.lowestObserverState=X.STALE,e.observers.forEach((function(t){t.dependenciesState===X.POSSIBLY_STALE?t.dependenciesState=X.STALE:t.dependenciesState===X.UP_TO_DATE&&(e.lowestObserverState=X.UP_TO_DATE)}))}(this)):oe(this)&&(this.warnAboutUntrackedRead(),Le(),this.value=this.computeValue(!1),Ie());var e=this.value;if(re(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(re(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){d(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else d(!1,!1)},e.prototype.trackAndCompute=function(){var e=this.value,t=this.dependenciesState===X.NOT_TRACKING,n=this.computeValue(!0),r=t||re(e)||re(n)||!this.equals(e,n);return r&&(this.value=n),r},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,Re.computationDepth++,e)t=ae(this,this.derivation,this.scope);else if(!0===Re.disableErrorBoundaries)t=this.derivation.call(this.scope);else try{t=this.derivation.call(this.scope)}catch(n){t=new ne(n)}return Re.computationDepth--,this.isComputing=!1,t},e.prototype.suspend=function(){this.keepAlive||(ue(this),this.value=void 0)},e.prototype.observe=function(e,t){var n=this,r=!0,o=void 0;return Xe((function(){var i=n.get();if(!r||t){var a=le();e({type:"update",object:n,newValue:i,oldValue:o}),se(a)}r=!1,o=i}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return k(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}()),ke=b("ComputedValue",Ee),Oe=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Te={};function je(){return"undefined"!==typeof window?window:"undefined"!==typeof r?r:"undefined"!==typeof self?self:Te}var Ce=!0,Pe=!1,Re=function(){var e=je();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ce=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Oe).version&&(Ce=!1),Ce?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Oe):(setTimeout((function(){Pe||p("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Oe)}();function _e(e,t){e.observers.add(t),e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Ae(e,t){e.observers.delete(t),0===e.observers.size&&Ne(e)}function Ne(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Re.pendingUnobservations.push(e))}function Le(){Re.inBatch++}function Ie(){if(0===--Re.inBatch){Ue();for(var e=Re.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBecomeUnobserved()),n instanceof Ee&&n.suspend())}Re.pendingUnobservations=[]}}function Me(e){var t=Re.trackingDerivation;return null!==t?(t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e,e.isBeingObserved||(e.isBeingObserved=!0,e.onBecomeObserved())),!0):(0===e.observers.size&&Re.inBatch>0&&Ne(e),!1)}function De(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===J.BREAK){var n=[];!function e(t,n,r){if(n.length>=1e3)return void n.push("(and many more)");n.push(""+new Array(r).join("\t")+t.name),t.dependencies&&t.dependencies.forEach((function(t){return e(t,n,r+1)}))}(at(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Ee?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}var $e=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+f()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=t,this.errorHandler=n,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=X.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+f(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=J.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Re.pendingReactions.push(this),Ue())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(Le(),this._isScheduled=!1,oe(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}Ie()}},e.prototype.track=function(e){if(!this.isDisposed){Le();0,this._isRunning=!0;var t=ae(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&ue(this),re(t)&&this.reportExceptionInDerivation(t.cause),Ie()}},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Re.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Re.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(n,e),Re.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Le(),ue(this),Ie()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[O]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=!1;"boolean"===typeof e[e.length-1]&&(n=e.pop());var r=ft(e);if(!r)return p(!1);r.isTracing===J.NONE&&console.log("[mobx.trace] '"+r.name+"' tracing enabled");r.isTracing=n?J.BREAK:J.LOG}(this,e)},e}();var ze=function(e){return e()};function Ue(){Re.inBatch>0||Re.isRunningReactions||ze(Fe)}function Fe(){Re.isRunningReactions=!0;for(var e=Re.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction()}Re.isRunningReactions=!1}var Be=b("Reaction",$e);function Ve(e){var t=ze;ze=function(n){return e((function(){return t(n)}))}}function We(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function qe(){p(!1)}function Ke(e){return function(t,n,r){if(r){if(r.value)return{value:me(e,r.value),enumerable:!1,configurable:!0,writable:!0};var o=r.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return me(e,o.call(this))}}}return He(e).apply(this,arguments)}}function He(e){return function(t,n,r){Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:function(){},set:function(t){g(this,n,Ge(e,t))}})}}var Ge=function(e,t,n,r){return 1===arguments.length&&"function"===typeof e?me(e.name||"<unnamed action>",e):2===arguments.length&&"function"===typeof t?me(e,t):1===arguments.length&&"string"===typeof e?Ke(e):!0!==r?Ke(t).apply(null,arguments):void g(e,t,me(e.name||t,n.value,this))};function Qe(e,t){"string"===typeof e||e.name;return ge(0,"function"===typeof e?e:t,this,void 0)}function Ye(e,t,n){g(e,t,me(t,n.bind(e)))}function Xe(e,t){void 0===t&&(t=s);var n,r=t&&t.name||e.name||"Autorun@"+f();if(!t.scheduler&&!t.delay)n=new $e(r,(function(){this.track(a)}),t.onError,t.requiresObservable);else{var o=Ze(t),i=!1;n=new $e(r,(function(){i||(i=!0,o((function(){i=!1,n.isDisposed||n.track(a)})))}),t.onError,t.requiresObservable)}function a(){e(n)}return n.schedule(),n.getDisposer()}Ge.bound=function(e,t,n,r){return!0===r?(Ye(e,t,n.value),null):n?{configurable:!0,enumerable:!1,get:function(){return Ye(this,t,n.value||n.initializer.call(this)),this[t]},set:qe}:{enumerable:!1,configurable:!0,set:function(e){Ye(this,t,e)},get:function(){}}};var Je=function(e){return e()};function Ze(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Je}function et(e,t,n){return tt("onBecomeUnobserved",e,t,n)}function tt(e,t,n,r){var o="function"===typeof r?Wt(t,n):Wt(t),i="function"===typeof r?r:n,a=e+"Listeners";return o[a]?o[a].add(i):o[a]=new Set([i]),"function"!==typeof o[e]?p(!1):function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}function nt(e){var t=e.enforceActions,n=e.computedRequiresReaction,r=e.computedConfigurable,o=e.disableErrorBoundaries,i=e.reactionScheduler,a=e.reactionRequiresObservable,u=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Re.pendingReactions.length||Re.inBatch||Re.isRunningReactions)&&p("isolateGlobalState should be called before MobX is running any reactions"),Pe=!0,Ce&&(0===--je().__mobxInstanceCount&&(je().__mobxGlobals=void 0),Re=new Oe)),void 0!==t){var c=void 0;switch(t){case!0:case"observed":c=!0;break;case!1:case"never":c=!1;break;case"strict":case"always":c="strict";break;default:p("Invalid value for 'enforceActions': '"+t+"', expected 'never', 'always' or 'observed'")}Re.enforceActions=c,Re.allowStateChanges=!0!==c&&"strict"!==c}void 0!==n&&(Re.computedRequiresReaction=!!n),void 0!==a&&(Re.reactionRequiresObservable=!!a),void 0!==u&&(Re.observableRequiresReaction=!!u,Re.allowStateReads=!Re.observableRequiresReaction),void 0!==r&&(Re.computedConfigurable=!!r),void 0!==o&&(!0===o&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Re.disableErrorBoundaries=!!o),i&&Ve(i)}function rt(e,t,n,r){var o=ot(r=B(r));return I(e),$t(e,r.name,o.enhancer),t&&it(e,t,n,o),e}function ot(e){return e.defaultDecorator||(!1===e.deep?q:V)}function it(e,t,n,r){var o,i;Le();try{var u=S(t);try{for(var c=a(u),l=c.next();!l.done;l=c.next()){var s=l.value,f=Object.getOwnPropertyDescriptor(t,s);0;var p=(n&&s in n?n[s]:f.get?Z:r)(e,s,f,!0);p&&Object.defineProperty(e,s,p)}}catch(d){o={error:d}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}}finally{Ie()}}function at(e,t){return ut(Wt(e,t))}function ut(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=function(e){var t=[];return e.forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),t}(e.observing).map(ut)),t}function ct(){this.message="FLOW_CANCELLED"}function lt(e,t){return null!==e&&void 0!==e&&(void 0!==t?!!Vt(e)&&e[O].values.has(t):Vt(e)||!!e[O]||j(e)||Be(e)||ke(e))}function st(e){return 1!==arguments.length&&p(!1),lt(e)}ct.prototype=Object.create(Error.prototype);function ft(e){switch(e.length){case 0:return Re.trackingDerivation;case 1:return Wt(e[0]);case 2:return Wt(e[0],e[1])}}function pt(e,t){void 0===t&&(t=void 0),Le();try{return e.apply(t)}finally{Ie()}}function dt(e){return e[O]}function ht(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e}var vt={has:function(e,t){if(t===O||"constructor"===t||t===R)return!0;var n=dt(e);return ht(t)?n.has(t):t in e},get:function(e,t){if(t===O||"constructor"===t||t===R)return e[t];var n=dt(e),r=n.values.get(t);if(r instanceof T){var o=r.get();return void 0===o&&n.has(t),o}return ht(t)&&n.has(t),e[t]},set:function(e,t,n){return!!ht(t)&&(function e(t,n,r){if(2!==arguments.length||Mt(t))if(Vt(t)){var o=t[O],i=o.values.get(n);i?o.write(n,r):o.addObservableProp(n,r,o.defaultEnhancer)}else if(Nt(t))t.set(n,r);else if(Mt(t))t.add(n);else{if(!Pt(t))return p(!1);"number"!==typeof n&&(n=parseInt(n,10)),d(n>=0,"Not a valid index: '"+n+"'"),Le(),n>=t.length&&(t.length=n+1),t[n]=r,Ie()}else{Le();var a=n;try{for(var u in a)e(t,u,a[u])}finally{Ie()}}}(e,t,n),!0)},deleteProperty:function(e,t){return!!ht(t)&&(dt(e).remove(t),!0)},ownKeys:function(e){return dt(e).keysAtom.reportObserved(),Reflect.ownKeys(e)},preventExtensions:function(e){return p("Dynamic observable objects cannot be frozen"),!1}};function yt(e){var t=new Proxy(e,vt);return e[O].proxy=t,t}function mt(e){return void 0!==e.interceptors&&e.interceptors.length>0}function gt(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),h((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function bt(e,t){var n=le();try{for(var r=c(e.interceptors||[]),o=0,i=r.length;o<i&&(d(!(t=r[o](t))||t.type,"Intercept handlers should return nothing or a change object"),t);o++);return t}finally{se(n)}}function xt(e){return void 0!==e.changeListeners&&e.changeListeners.length>0}function wt(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),h((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function St(e,t){var n=le(),r=e.changeListeners;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);se(n)}}var Et={get:function(e,t){return t===O?e[O]:"length"===t?e[O].getArrayLength():"number"===typeof t?Tt.get.call(e,t):"string"!==typeof t||isNaN(t)?Tt.hasOwnProperty(t)?Tt[t]:e[t]:Tt.get.call(e,parseInt(t))},set:function(e,t,n){return"length"===t&&e[O].setArrayLength(n),"number"===typeof t&&Tt.set.call(e,t,n),"symbol"===typeof t||isNaN(t)?e[t]=n:Tt.set.call(e,parseInt(t),n),!0},preventExtensions:function(e){return p("Observable arrays cannot be frozen"),!1}};function kt(e,t,n,r){void 0===n&&(n="ObservableArray@"+f()),void 0===r&&(r=!1);var o,i,a,u=new Ot(n,t,r);o=u.values,i=O,a=u,Object.defineProperty(o,i,{enumerable:!1,writable:!1,configurable:!0,value:a});var c=new Proxy(u.values,Et);if(u.proxy=c,e&&e.length){var l=xe(!0);u.spliceWithArray(0,0,e),we(l)}return c}var Ot=function(){function e(e,t,n){this.owned=n,this.values=[],this.proxy=void 0,this.lastKnownLength=0,this.atom=new T(e||"ObservableArray@"+f()),this.enhancer=function(n,r){return t(n,r,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return gt(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),wt(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!==typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed.");this.lastKnownLength+=t},e.prototype.spliceWithArray=function(e,t,n){var r=this;ie(this.atom);var o=this.values.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:void 0===t||null===t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=l),mt(this)){var i=bt(this,{object:this.proxy,type:"splice",index:e,removedCount:t,added:n});if(!i)return l;t=i.removedCount,n=i.added}n=0===n.length?n:n.map((function(e){return r.enhancer(e,void 0)}));var a=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,a),this.dehanceValues(a)},e.prototype.spliceItemsIntoValues=function(e,t,n){var r;if(n.length<1e4)return(r=this.values).splice.apply(r,c([e,t],n));var o=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),o},e.prototype.notifyArrayChildUpdate=function(e,t,n){var r=!this.owned&&!1,o=xt(this),i=o||r?{object:this.proxy,type:"update",index:e,newValue:t,oldValue:n}:null;this.atom.reportChanged(),o&&St(this,i)},e.prototype.notifyArraySplice=function(e,t,n){var r=!this.owned&&!1,o=xt(this),i=o||r?{object:this.proxy,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom.reportChanged(),o&&St(this,i)},e}(),Tt={intercept:function(e){return this[O].intercept(e)},observe:function(e,t){return void 0===t&&(t=!1),this[O].observe(e,t)},clear:function(){return this.splice(0)},replace:function(e){var t=this[O];return t.spliceWithArray(0,t.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=this[O];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray(e);case 2:return o.spliceWithArray(e,t)}return o.spliceWithArray(e,t,n)},spliceWithArray:function(e,t,n){return this[O].spliceWithArray(e,t,n)},push:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this[O];return n.spliceWithArray(n.values.length,0,e),n.values.length},pop:function(){return this.splice(Math.max(this[O].values.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this[O];return n.spliceWithArray(0,0,e),n.values.length},reverse:function(){var e=this.slice();return e.reverse.apply(e,arguments)},sort:function(e){var t=this.slice();return t.sort.apply(t,arguments)},remove:function(e){var t=this[O],n=t.dehanceValues(t.values).indexOf(e);return n>-1&&(this.splice(n,1),!0)},get:function(e){var t=this[O];if(t){if(e<t.values.length)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},set:function(e,t){var n=this[O],r=n.values;if(e<r.length){ie(n.atom);var o=r[e];if(mt(n)){var i=bt(n,{type:"update",object:n.proxy,index:e,newValue:t});if(!i)return;t=i.newValue}(t=n.enhancer(t,o))!==o&&(r[e]=t,n.notifyArrayChildUpdate(e,t,o))}else{if(e!==r.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+r.length);n.spliceWithArray(e,0,[t])}}};["concat","every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach((function(e){Tt[e]=function(){var t=this[O];t.atom.reportObserved();var n=t.dehanceValues(t.values);return n[e].apply(n,arguments)}}));var jt,Ct=b("ObservableArrayAdministration",Ot);function Pt(e){return y(e)&&Ct(e[O])}var Rt,_t={},At=function(){function e(e,t,n){if(void 0===t&&(t=$),void 0===n&&(n="ObservableMap@"+f()),this.enhancer=t,this.name=n,this[jt]=_t,this._keysAtom=C(this.name+".keys()"),this[Symbol.toStringTag]="Map","function"!==typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(e)}return e.prototype._has=function(e){return this._data.has(e)},e.prototype.has=function(e){var t=this;if(!Re.trackingDerivation)return this._has(e);var n=this._hasMap.get(e);if(!n){var r=n=new Se(this._has(e),z,this.name+"."+E(e)+"?",!1);this._hasMap.set(e,r),et(r,(function(){return t._hasMap.delete(e)}))}return n.get()},e.prototype.set=function(e,t){var n=this._has(e);if(mt(this)){var r=bt(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(mt(this)&&!(r=bt(this,{type:"delete",object:this,name:e})))return!1;if(this._has(e)){var n=xt(this),r=n?{type:"delete",object:this,oldValue:this._data.get(e).value,name:e}:null;return pt((function(){t._keysAtom.reportChanged(),t._updateHasMapEntry(e,!1),t._data.get(e).setNewValue(void 0),t._data.delete(e)})),n&&St(this,r),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap.get(e);n&&n.setNewValue(t)},e.prototype._updateValue=function(e,t){var n=this._data.get(e);if((t=n.prepareNewValue(t))!==Re.UNCHANGED){var r=xt(this),o=r?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;0,n.setNewValue(t),r&&St(this,o)}},e.prototype._addValue=function(e,t){var n=this;ie(this._keysAtom),pt((function(){var r=new Se(t,n.enhancer,n.name+"."+E(e),!1);n._data.set(e,r),t=r.value,n._updateHasMapEntry(e,!0),n._keysAtom.reportChanged()}));var r=xt(this),o=r?{type:"add",object:this,name:e,newValue:t}:null;r&&St(this,o)},e.prototype.get=function(e){return this.has(e)?this.dehanceValue(this._data.get(e).get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return this._keysAtom.reportObserved(),this._data.keys()},e.prototype.values=function(){var e=this,t=0,n=Array.from(this.keys());return Yt({next:function(){return t<n.length?{value:e.get(n[t++]),done:!1}:{done:!0}}})},e.prototype.entries=function(){var e=this,t=0,n=Array.from(this.keys());return Yt({next:function(){if(t<n