Comparing version 4.0.1 to 4.0.2
# Changelog | ||
### 4.0.2 | ||
- Added support for `UNSAFE_componentWillReceiveProps` lifecycle method | ||
### 4.0.1 | ||
@@ -4,0 +8,0 @@ |
/** | ||
* Flux v4.0.1 | ||
* Flux v4.0.2 | ||
*/ | ||
@@ -4,0 +4,0 @@ (function webpackUniversalModuleDefinition(root, factory) { |
/** | ||
* Flux v4.0.1 | ||
* Flux v4.0.2 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Facebook, Inc. and its affiliates. |
/** | ||
* Flux v4.0.1 | ||
* Flux v4.0.2 | ||
* | ||
@@ -10,3 +10,3 @@ * Copyright (c) Facebook, Inc. and its affiliates. | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FluxUtils=e():t.FluxUtils=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports.Container=r(1),t.exports.Mixin=r(9),t.exports.ReduceStore=r(10),t.exports.Store=r(11)},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function i(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function u(t){var e,r;for(e=1;e<arguments.length;e++)r=null!=arguments[e]?arguments[e]:{},e%2?i(Object(r),!0).forEach(function(e){s(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))});return t}function s(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){var r,i,c,l,h,d;return f(t),r=u(u({},v),e||{}),i=function(e,n,o){var i=r.withProps?n:void 0,u=r.withContext?o:void 0;return t.calculateState(e,i,u)},c=function(e,n){var o=r.withProps?e:void 0,i=r.withContext?n:void 0;return t.getStores(o,i)},l=function(t){function e(e,r){var o,a=t.call(this,e,r)||this;return s(n(a),"_fluxContainerSubscriptions",void 0),a._fluxContainerSubscriptions=new p,a._fluxContainerSubscriptions.setStores(c(e,r)),a._fluxContainerSubscriptions.addListener(function(){a.setState(function(t,e){return i(t,e,r)})}),o=i(void 0,e,r),a.state=u(u({},a.state||{}),o),a}o(e,t);var a=e.prototype;return a.UNSAFE_componentWillReceiveProps=function(e,n){t.prototype.componentWillReceiveProps&&t.prototype.componentWillReceiveProps.call(this,e,n),(r.withProps||r.withContext)&&(this._fluxContainerSubscriptions.setStores(c(e,n)),this.setState(function(t){return i(t,e,n)}))},a.componentWillUnmount=function(){t.prototype.componentWillUnmount&&t.prototype.componentWillUnmount.call(this),this._fluxContainerSubscriptions.reset()},e}(t),h=r.pure?a(l):l,d=t.displayName||t.name,h.displayName="FluxContainer("+d+")",h}function a(t){var e=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t,e){return!_(this.props,t)||!_(this.state,e)},e}(t);return e}function f(t){t.getStores?void 0:d(!1),t.calculateState?void 0:d(!1)}function l(t,e,r,i){var u=function(i){function u(){var t,e,r,o;for(e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t=i.call.apply(i,[this].concat(r))||this,s(n(t),"state",void 0),t}o(u,i),u.getStores=function(t,r){return e(t,r)},u.calculateState=function(t,e,n){return r(t,e,n)};var c=u.prototype;return c.render=function(){return t(this.state)},u}(y),a=t.displayName||t.name||"FunctionalContainer";return u.displayName=a,c(u,i)}var p=r(2),h=r(5),d=r(4),_=r(8),y=h.Component,v={pure:!0,withProps:!1,withContext:!1};t.exports={create:c,createFunctional:l}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}var i=r(3),u=function(){function t(){n(this,"_callbacks",void 0),n(this,"_storeGroup",void 0),n(this,"_stores",void 0),n(this,"_tokens",void 0),this._callbacks=[]}var e=t.prototype;return e.setStores=function(t){var e,r,n,u,s=this;this._stores&&o(this._stores,t)||(this._stores=t,this._resetTokens(),this._resetStoreGroup(),e=!1,r=[],n=function(){e=!0},this._tokens=t.map(function(t){return t.addListener(n)}),u=function(){e&&(s._callbacks.forEach(function(t){return t()}),e=!1)},this._storeGroup=new i(t,u))},e.addListener=function(t){this._callbacks.push(t)},e.reset=function(){this._resetTokens(),this._resetStoreGroup(),this._resetCallbacks(),this._resetStores()},e._resetTokens=function(){this._tokens&&(this._tokens.forEach(function(t){return t.remove()}),this._tokens=null)},e._resetStoreGroup=function(){this._storeGroup&&(this._storeGroup.release(),this._storeGroup=null)},e._resetStores=function(){this._stores=null},e._resetCallbacks=function(){this._callbacks=[]},t}();t.exports=u},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){var e;return t&&t.length?void 0:i(!1),e=t[0].getDispatcher()}var i=r(4),u=function(){function t(t,e){var r,i=this;n(this,"_dispatcher",void 0),n(this,"_dispatchToken",void 0),this._dispatcher=o(t),r=t.map(function(t){return t.getDispatchToken()}),this._dispatchToken=this._dispatcher.register(function(t){i._dispatcher.waitFor(r),e()})}var e=t.prototype;return e.release=function(){this._dispatcher.unregister(this._dispatchToken)},t}();t.exports=u},function(t,e,r){"use strict";function n(t,e){var r,n,i,u,s;for(r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(o(e),!t)throw void 0===e?u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(s=0,u=new Error(e.replace(/%s/g,function(){return String(n[s++])})),u.name="Invariant Violation"),u.framesToPop=1,u}var o=function(t){};t.exports=n},function(t,e,r){"use strict";t.exports=r(6)},function(t,e,r){/** @license React v17.0.1 | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FluxUtils=e():t.FluxUtils=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports.Container=r(1),t.exports.Mixin=r(9),t.exports.ReduceStore=r(10),t.exports.Store=r(11)},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function s(t){var e,r;for(e=1;e<arguments.length;e++)r=null!=arguments[e]?arguments[e]:{},e%2?u(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))});return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r,i,u,a,l,_;return p(t),r=s(s({},b),e||{}),i=function(e,n,o){var i=r.withProps?n:void 0,u=r.withContext?o:void 0;return t.calculateState(e,i,u)},u=function(e,n){var o=r.withProps?e:void 0,i=r.withContext?n:void 0;return t.getStores(o,i)},a=function(t){function e(e,r){var o,a=t.call(this,e,r)||this;return c(n(a),"_fluxContainerSubscriptions",void 0),a._fluxContainerSubscriptions=new h,a._fluxContainerSubscriptions.setStores(u(e,r)),a._fluxContainerSubscriptions.addListener(function(){a.setState(function(t,e){return i(t,e,r)})}),o=i(void 0,e,r),a.state=s(s({},a.state||{}),o),a}o(e,t);var a=e.prototype;return a.UNSAFE_componentWillReceiveProps=function(e,n){t.prototype.UNSAFE_componentWillReceiveProps&&t.prototype.UNSAFE_componentWillReceiveProps.call(this,e,n),t.prototype.componentWillReceiveProps&&t.prototype.componentWillReceiveProps.call(this,e,n),(r.withProps||r.withContext)&&(this._fluxContainerSubscriptions.setStores(u(e,n)),this.setState(function(t){return i(t,e,n)}))},a.componentWillUnmount=function(){t.prototype.componentWillUnmount&&t.prototype.componentWillUnmount.call(this),this._fluxContainerSubscriptions.reset()},e}(t),l=r.pure?f(a):a,_=t.displayName||t.name,l.displayName="FluxContainer("+_+")",l}function f(t){var e=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var r=e.prototype;return r.shouldComponentUpdate=function(t,e){return!y(this.props,t)||!y(this.state,e)},e}(t);return e}function p(t){t.getStores?void 0:d(!1),t.calculateState?void 0:d(!1)}function l(t,e,r,i){var u=function(i){function u(){var t,e,r,o;for(e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t=i.call.apply(i,[this].concat(r))||this,c(n(t),"state",void 0),t}o(u,i),u.getStores=function(t,r){return e(t,r)},u.calculateState=function(t,e,n){return r(t,e,n)};var s=u.prototype;return s.render=function(){return t(this.state)},u}(v),s=t.displayName||t.name||"FunctionalContainer";return u.displayName=s,a(u,i)}var h=r(2),_=r(5),d=r(4),y=r(8),v=_.Component,b={pure:!0,withProps:!1,withContext:!1};t.exports={create:a,createFunctional:l}},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}var i=r(3),u=function(){function t(){n(this,"_callbacks",void 0),n(this,"_storeGroup",void 0),n(this,"_stores",void 0),n(this,"_tokens",void 0),this._callbacks=[]}var e=t.prototype;return e.setStores=function(t){var e,r,n,u,s=this;this._stores&&o(this._stores,t)||(this._stores=t,this._resetTokens(),this._resetStoreGroup(),e=!1,r=[],n=function(){e=!0},this._tokens=t.map(function(t){return t.addListener(n)}),u=function(){e&&(s._callbacks.forEach(function(t){return t()}),e=!1)},this._storeGroup=new i(t,u))},e.addListener=function(t){this._callbacks.push(t)},e.reset=function(){this._resetTokens(),this._resetStoreGroup(),this._resetCallbacks(),this._resetStores()},e._resetTokens=function(){this._tokens&&(this._tokens.forEach(function(t){return t.remove()}),this._tokens=null)},e._resetStoreGroup=function(){this._storeGroup&&(this._storeGroup.release(),this._storeGroup=null)},e._resetStores=function(){this._stores=null},e._resetCallbacks=function(){this._callbacks=[]},t}();t.exports=u},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t){var e;return t&&t.length?void 0:i(!1),e=t[0].getDispatcher()}var i=r(4),u=function(){function t(t,e){var r,i=this;n(this,"_dispatcher",void 0),n(this,"_dispatchToken",void 0),this._dispatcher=o(t),r=t.map(function(t){return t.getDispatchToken()}),this._dispatchToken=this._dispatcher.register(function(t){i._dispatcher.waitFor(r),e()})}var e=t.prototype;return e.release=function(){this._dispatcher.unregister(this._dispatchToken)},t}();t.exports=u},function(t,e,r){"use strict";function n(t,e){var r,n,i,u,s;for(r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(o(e),!t)throw void 0===e?u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(s=0,u=new Error(e.replace(/%s/g,function(){return String(n[s++])})),u.name="Invariant Violation"),u.framesToPop=1,u}var o=function(t){};t.exports=n},function(t,e,r){"use strict";t.exports=r(6)},function(t,e,r){/** @license React v17.0.2 | ||
* react.production.min.js | ||
@@ -19,3 +19,3 @@ * | ||
*/ | ||
"use strict";function n(t){return null===t||"object"!=typeof t?null:(t=x&&t[x]||t["@@iterator"],"function"==typeof t?t:null)}function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(t,e,r){this.props=t,this.context=e,this.refs=j,this.updater=r||O}function u(){}function s(t,e,r){this.props=t,this.context=e,this.refs=j,this.updater=r||O}function c(t,e,r){var n,o,i,u,s={},c=null,a=null;if(null!=e)for(n in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(c=""+e.key),e)E.call(e,n)&&!P.hasOwnProperty(n)&&(s[n]=e[n]);if(o=arguments.length-2,1===o)s.children=r;else if(1<o){for(i=Array(o),u=0;u<o;u++)i[u]=arguments[u+2];s.children=i}if(t&&t.defaultProps)for(n in o=t.defaultProps)void 0===s[n]&&(s[n]=o[n]);return{$$typeof:$,type:t,key:c,ref:a,props:s,_owner:C.current}}function a(t,e){return{$$typeof:$,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function f(t){return"object"==typeof t&&null!==t&&t.$$typeof===$}function l(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}function p(t,e){return"object"==typeof t&&null!==t&&null!=t.key?l(""+t.key):e.toString(36)}function h(t,e,r,i,u){var s,c,l,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),s=!1,null===t)s=!0;else switch(d){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case $:case D:s=!0}}if(s)return s=t,u=u(s),t=""===i?"."+p(s,0):i,Array.isArray(u)?(r="",null!=t&&(r=t.replace(T,"$&/")+"/"),h(u,e,r,"",function(t){return t})):null!=u&&(f(u)&&(u=a(u,r+(!u.key||s&&s.key===u.key?"":(""+u.key).replace(T,"$&/")+"/")+t)),e.push(u)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(c=0;c<t.length;c++)d=t[c],l=i+p(d,c),s+=h(d,e,r,l,u);else if(l=n(t),"function"==typeof l)for(t=l.call(t),c=0;!(d=t.next()).done;)d=d.value,l=i+p(d,c++),s+=h(d,e,r,l,u);else if("object"===d)throw e=""+t,Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return s}function d(t,e,r){if(null==t)return t;var n=[],o=0;return h(t,n,"","",function(t){return e.call(r,t,o++)}),n}function _(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}if(1===t._status)return t._result;throw t._result}function y(){var t=R.current;if(null===t)throw Error(o(321));return t}var v,b,m,g,S,w,x,O,j,k,C,E,P,T,R,F,A=r(7),$=60103,D=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114,v=60109,b=60110,m=60112,e.Suspense=60113,g=60115,S=60116,"function"==typeof Symbol&&Symbol.for&&(w=Symbol.for,$=w("react.element"),D=w("react.portal"),e.Fragment=w("react.fragment"),e.StrictMode=w("react.strict_mode"),e.Profiler=w("react.profiler"),v=w("react.provider"),b=w("react.context"),m=w("react.forward_ref"),e.Suspense=w("react.suspense"),g=w("react.memo"),S=w("react.lazy")),x="function"==typeof Symbol&&Symbol.iterator,O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={},i.prototype.isReactComponent={},i.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(o(85));this.updater.enqueueSetState(this,t,e,"setState")},i.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},u.prototype=i.prototype,k=s.prototype=new u,k.constructor=s,A(k,i.prototype),k.isPureReactComponent=!0,C={current:null},E=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0},T=/\/+/g,R={current:null},F={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:A},e.Children={map:d,forEach:function(t,e,r){d(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return d(t,function(){e++}),e},toArray:function(t){return d(t,function(t){return t})||[]},only:function(t){if(!f(t))throw Error(o(143));return t}},e.Component=i,e.PureComponent=s,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,e.cloneElement=function(t,e,r){var n,i,u,s,c,a,f;if(null===t||void 0===t)throw Error(o(267,t));if(n=A({},t.props),i=t.key,u=t.ref,s=t._owner,null!=e){void 0!==e.ref&&(u=e.ref,s=C.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps&&(c=t.type.defaultProps);for(a in e)E.call(e,a)&&!P.hasOwnProperty(a)&&(n[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}if(a=arguments.length-2,1===a)n.children=r;else if(1<a){for(c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];n.children=c}return{$$typeof:$,type:t.type,key:i,ref:u,props:n,_owner:s}},e.createContext=function(t,e){return void 0===e&&(e=null),t={$$typeof:b,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:v,_context:t},t.Consumer=t},e.createElement=c,e.createFactory=function(t){var e=c.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:m,render:t}},e.isValidElement=f,e.lazy=function(t){return{$$typeof:S,_payload:{_status:-1,_result:t},_init:_}},e.memo=function(t,e){return{$$typeof:g,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return y().useCallback(t,e)},e.useContext=function(t,e){return y().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return y().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return y().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return y().useLayoutEffect(t,e)},e.useMemo=function(t,e){return y().useMemo(t,e)},e.useReducer=function(t,e,r){return y().useReducer(t,e,r)},e.useRef=function(t){return y().useRef(t)},e.useState=function(t){return y().useState(t)},e.version="17.0.1"},function(t,e){/* | ||
"use strict";function n(t){return null===t||"object"!=typeof t?null:(t=x&&t[x]||t["@@iterator"],"function"==typeof t?t:null)}function o(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(t,e,r){this.props=t,this.context=e,this.refs=j,this.updater=r||O}function u(){}function s(t,e,r){this.props=t,this.context=e,this.refs=j,this.updater=r||O}function c(t,e,r){var n,o,i,u,s={},c=null,a=null;if(null!=e)for(n in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(c=""+e.key),e)P.call(e,n)&&!C.hasOwnProperty(n)&&(s[n]=e[n]);if(o=arguments.length-2,1===o)s.children=r;else if(1<o){for(i=Array(o),u=0;u<o;u++)i[u]=arguments[u+2];s.children=i}if(t&&t.defaultProps)for(n in o=t.defaultProps)void 0===s[n]&&(s[n]=o[n]);return{$$typeof:$,type:t,key:c,ref:a,props:s,_owner:E.current}}function a(t,e){return{$$typeof:$,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function f(t){return"object"==typeof t&&null!==t&&t.$$typeof===$}function p(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}function l(t,e){return"object"==typeof t&&null!==t&&null!=t.key?p(""+t.key):e.toString(36)}function h(t,e,r,i,u){var s,c,p,_=typeof t;if("undefined"!==_&&"boolean"!==_||(t=null),s=!1,null===t)s=!0;else switch(_){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case $:case D:s=!0}}if(s)return s=t,u=u(s),t=""===i?"."+l(s,0):i,Array.isArray(u)?(r="",null!=t&&(r=t.replace(R,"$&/")+"/"),h(u,e,r,"",function(t){return t})):null!=u&&(f(u)&&(u=a(u,r+(!u.key||s&&s.key===u.key?"":(""+u.key).replace(R,"$&/")+"/")+t)),e.push(u)),1;if(s=0,i=""===i?".":i+":",Array.isArray(t))for(c=0;c<t.length;c++)_=t[c],p=i+l(_,c),s+=h(_,e,r,p,u);else if(p=n(t),"function"==typeof p)for(t=p.call(t),c=0;!(_=t.next()).done;)_=_.value,p=i+l(_,c++),s+=h(_,e,r,p,u);else if("object"===_)throw e=""+t,Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return s}function _(t,e,r){if(null==t)return t;var n=[],o=0;return h(t,n,"","",function(t){return e.call(r,t,o++)}),n}function d(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}if(1===t._status)return t._result;throw t._result}function y(){var t=T.current;if(null===t)throw Error(o(321));return t}var v,b,m,g,S,w,x,O,j,k,E,P,C,R,T,F,A=r(7),$=60103,D=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114,v=60109,b=60110,m=60112,e.Suspense=60113,g=60115,S=60116,"function"==typeof Symbol&&Symbol.for&&(w=Symbol.for,$=w("react.element"),D=w("react.portal"),e.Fragment=w("react.fragment"),e.StrictMode=w("react.strict_mode"),e.Profiler=w("react.profiler"),v=w("react.provider"),b=w("react.context"),m=w("react.forward_ref"),e.Suspense=w("react.suspense"),g=w("react.memo"),S=w("react.lazy")),x="function"==typeof Symbol&&Symbol.iterator,O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={},i.prototype.isReactComponent={},i.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(o(85));this.updater.enqueueSetState(this,t,e,"setState")},i.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},u.prototype=i.prototype,k=s.prototype=new u,k.constructor=s,A(k,i.prototype),k.isPureReactComponent=!0,E={current:null},P=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0},R=/\/+/g,T={current:null},F={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:A},e.Children={map:_,forEach:function(t,e,r){_(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(t){return t})||[]},only:function(t){if(!f(t))throw Error(o(143));return t}},e.Component=i,e.PureComponent=s,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=F,e.cloneElement=function(t,e,r){var n,i,u,s,c,a,f;if(null===t||void 0===t)throw Error(o(267,t));if(n=A({},t.props),i=t.key,u=t.ref,s=t._owner,null!=e){void 0!==e.ref&&(u=e.ref,s=E.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps&&(c=t.type.defaultProps);for(a in e)P.call(e,a)&&!C.hasOwnProperty(a)&&(n[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}if(a=arguments.length-2,1===a)n.children=r;else if(1<a){for(c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];n.children=c}return{$$typeof:$,type:t.type,key:i,ref:u,props:n,_owner:s}},e.createContext=function(t,e){return void 0===e&&(e=null),t={$$typeof:b,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:v,_context:t},t.Consumer=t},e.createElement=c,e.createFactory=function(t){var e=c.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:m,render:t}},e.isValidElement=f,e.lazy=function(t){return{$$typeof:S,_payload:{_status:-1,_result:t},_init:d}},e.memo=function(t,e){return{$$typeof:g,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return y().useCallback(t,e)},e.useContext=function(t,e){return y().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return y().useEffect(t,e)},e.useImperativeHandle=function(t,e,r){return y().useImperativeHandle(t,e,r)},e.useLayoutEffect=function(t,e){return y().useLayoutEffect(t,e)},e.useMemo=function(t,e){return y().useMemo(t,e)},e.useReducer=function(t,e,r){return y().useReducer(t,e,r)},e.useRef=function(t){return y().useRef(t)},e.useState=function(t){return y().useState(t)},e.version="17.0.2"},function(t,e){/* | ||
object-assign | ||
@@ -25,2 +25,2 @@ (c) Sindre Sorhus | ||
*/ | ||
"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function n(){var t,e,r,n,o;try{if(!Object.assign)return!1;if(t=new String("abc"),t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;return n=Object.getOwnPropertyNames(e).map(function(t){return e[t]}),"0123456789"===n.join("")&&(o={},"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join(""))}catch(t){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=n()?Object.assign:function(t,e){var n,s,c,a,f,l=r(t);for(c=1;c<arguments.length;c++){n=Object(arguments[c]);for(a in n)i.call(n,a)&&(l[a]=n[a]);if(o)for(s=o(n),f=0;f<s.length;f++)u.call(n,s[f])&&(l[s[f]]=n[s[f]])}return l}},function(t,e){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function n(t,e){var n,i,u;if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(n=Object.keys(t),i=Object.keys(e),n.length!==i.length)return!1;for(u=0;u<n.length;u++)if(!o.call(e,n[u])||!r(t[n[u]],e[n[u]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=n},function(t,e,r){"use strict";function n(t,e){var r,n,i,u,s,c;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=o(t))||e&&t&&"number"==typeof t.length)return r&&(t=r),n=0,i=function(){},{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return u=!0,s=!1,{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,c=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw c}}}}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withProps:!1};return t=t.filter(function(t){return!!t}),{getInitialState:function(){return s(this),e.withProps?this.constructor.calculateState(null,this.props):this.constructor.calculateState(null,void 0)},componentWillMount:function(){var r,n=this,o=!1,i=function(){o=!0};this._fluxMixinSubscriptions=t.map(function(t){return t.addListener(i)}),r=function(){o&&n.setState(function(t){return e.withProps?n.constructor.calculateState(t,n.props):n.constructor.calculateState(t,void 0)}),o=!1},this._fluxMixinStoreGroup=new c(t,r)},componentWillUnmount:function(){var t,e,r;this._fluxMixinStoreGroup.release(),t=n(this._fluxMixinSubscriptions);try{for(t.s();!(e=t.n()).done;)r=e.value,r.remove()}catch(e){t.e(e)}finally{t.f()}this._fluxMixinSubscriptions=[]}}}function s(t){t.constructor.calculateState?void 0:a(!1)}var c=r(3),a=r(4);t.exports=u},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=r(11),s=r(18),c=r(4),a=function(t){function e(e){var r;return r=t.call(this,e)||this,i(n(r),"_state",void 0),r._state=r.getInitialState(),r}o(e,t);var r=e.prototype;return r.getState=function(){return this._state},r.getInitialState=function(){return s("FluxReduceStore","getInitialState")},r.reduce=function(t,e){return s("FluxReduceStore","reduce")},r.areEqual=function(t,e){return t===e},r.__invokeOnDispatch=function(t){var e,r;this.__changed=!1,e=this._state,r=this.reduce(e,t),void 0===r?c(!1):void 0,this.areEqual(e,r)||(this._state=r,this.__emitChange()),this.__changed&&this.__emitter.emit(this.__changeEvent)},e}(u);t.exports=a},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(12),i=o.EventEmitter,u=r(4),s=function(){function t(t){var e=this;n(this,"_dispatchToken",void 0),n(this,"__changed",void 0),n(this,"__changeEvent",void 0),n(this,"__className",void 0),n(this,"__dispatcher",void 0),n(this,"__emitter",void 0),this.__className=this.constructor.name,this.__changed=!1,this.__changeEvent="change",this.__dispatcher=t,this.__emitter=new i,this._dispatchToken=t.register(function(t){e.__invokeOnDispatch(t)})}var e=t.prototype;return e.addListener=function(t){return this.__emitter.addListener(this.__changeEvent,t)},e.getDispatcher=function(){return this.__dispatcher},e.getDispatchToken=function(){return this._dispatchToken},e.hasChanged=function(){return this.__dispatcher.isDispatching()?void 0:u(!1),this.__changed},e.__emitChange=function(){this.__dispatcher.isDispatching()?void 0:u(!1),this.__changed=!0},e.__invokeOnDispatch=function(t){this.__changed=!1,this.__onDispatch(t),this.__changed&&this.__emitter.emit(this.__changeEvent)},e.__onDispatch=function(t){u(!1)},t}();t.exports=s},function(t,e,r){var n={EventEmitter:r(13),EmitterSubscription:r(14)};t.exports=n},function(t,e,r){"use strict";var n=r(14),o=r(16),i=r(4),u=r(17),s=function(){function t(){this._subscriber=new o,this._currentSubscription=null}var e=t.prototype;return e.addListener=function(t,e,r){return this._subscriber.addSubscription(t,new n(this._subscriber,e,r))},e.once=function(t,e,r){var n=this;return this.addListener(t,function(){n.removeCurrentListener(),e.apply(r,arguments)})},e.removeAllListeners=function(t){this._subscriber.removeAllSubscriptions(t)},e.removeCurrentListener=function(){this._currentSubscription?void 0:i(!1),this._subscriber.removeSubscription(this._currentSubscription)},e.listeners=function(t){var e=this._subscriber.getSubscriptionsForType(t);return e?e.filter(u.thatReturnsTrue).map(function(t){return t.listener}):[]},e.emit=function(t){var e,r,n,o,i=this._subscriber.getSubscriptionsForType(t);if(i){for(e=Object.keys(i),r=0;r<e.length;r++)n=e[r],o=i[n],o&&(this._currentSubscription=o,this.__emitToSubscription.apply(this,[o].concat(Array.prototype.slice.call(arguments))));this._currentSubscription=null}},e.__emitToSubscription=function(t,e){var r=Array.prototype.slice.call(arguments,2);t.listener.apply(t.context,r)},t}();t.exports=s},function(t,e,r){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o=r(15),i=function(t){function e(e,r,n){var o;return o=t.call(this,e)||this,o.listener=r,o.context=n,o}return n(e,t),e}(o);t.exports=i},function(t,e){"use strict";var r=function(){function t(t){this.subscriber=t}var e=t.prototype;return e.remove=function(){this.subscriber&&(this.subscriber.removeSubscription(this),this.subscriber=null)},t}();t.exports=r},function(t,e,r){"use strict";var n=r(4),o=function(){function t(){this._subscriptionsForType={},this._currentSubscription=null}var e=t.prototype;return e.addSubscription=function(t,e){e.subscriber!==this?n(!1):void 0,this._subscriptionsForType[t]||(this._subscriptionsForType[t]=[]);var r=this._subscriptionsForType[t].length;return this._subscriptionsForType[t].push(e),e.eventType=t,e.key=r,e},e.removeAllSubscriptions=function(t){void 0===t?this._subscriptionsForType={}:delete this._subscriptionsForType[t]},e.removeSubscription=function(t){var e=t.eventType,r=t.key,n=this._subscriptionsForType[e];n&&delete n[r]},e.getSubscriptionsForType=function(t){return this._subscriptionsForType[t]},t}();t.exports=o},function(t,e){"use strict";function r(t){return function(){return t}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},function(t,e,r){"use strict";function n(t,e){o(!1)}var o=r(4);t.exports=n}])}); | ||
"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function n(){var t,e,r,n,o;try{if(!Object.assign)return!1;if(t=new String("abc"),t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;return n=Object.getOwnPropertyNames(e).map(function(t){return e[t]}),"0123456789"===n.join("")&&(o={},"abcdefghijklmnopqrst".split("").forEach(function(t){o[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join(""))}catch(t){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=n()?Object.assign:function(t,e){var n,s,c,a,f,p=r(t);for(c=1;c<arguments.length;c++){n=Object(arguments[c]);for(a in n)i.call(n,a)&&(p[a]=n[a]);if(o)for(s=o(n),f=0;f<s.length;f++)u.call(n,s[f])&&(p[s[f]]=n[s[f]])}return p}},function(t,e){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function n(t,e){var n,i,u;if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(n=Object.keys(t),i=Object.keys(e),n.length!==i.length)return!1;for(u=0;u<n.length;u++)if(!o.call(e,n[u])||!r(t[n[u]],e[n[u]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=n},function(t,e,r){"use strict";function n(t,e){var r,n,i,u,s,c="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!c){if(Array.isArray(t)||(c=o(t))||e&&t&&"number"==typeof t.length)return c&&(t=c),r=0,n=function(){},{s:n,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return i=!0,u=!1,{s:function(){c=c.call(t)},n:function(){var t=c.next();return i=t.done,t},e:function(t){u=!0,s=t},f:function(){try{i||null==c.return||c.return()}finally{if(u)throw s}}}}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withProps:!1};return t=t.filter(function(t){return!!t}),{getInitialState:function(){return s(this),e.withProps?this.constructor.calculateState(null,this.props):this.constructor.calculateState(null,void 0)},componentWillMount:function(){var r,n=this,o=!1,i=function(){o=!0};this._fluxMixinSubscriptions=t.map(function(t){return t.addListener(i)}),r=function(){o&&n.setState(function(t){return e.withProps?n.constructor.calculateState(t,n.props):n.constructor.calculateState(t,void 0)}),o=!1},this._fluxMixinStoreGroup=new c(t,r)},componentWillUnmount:function(){var t,e,r;this._fluxMixinStoreGroup.release(),t=n(this._fluxMixinSubscriptions);try{for(t.s();!(e=t.n()).done;)r=e.value,r.remove()}catch(e){t.e(e)}finally{t.f()}this._fluxMixinSubscriptions=[]}}}function s(t){t.constructor.calculateState?void 0:a(!1)}var c=r(3),a=r(4);t.exports=u},function(t,e,r){"use strict";function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e)}function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(11),c=r(18),a=r(4),f=function(t){function e(e){var r;return r=t.call(this,e)||this,u(n(r),"_state",void 0),r._state=r.getInitialState(),r}o(e,t);var r=e.prototype;return r.getState=function(){return this._state},r.getInitialState=function(){return c("FluxReduceStore","getInitialState")},r.reduce=function(t,e){return c("FluxReduceStore","reduce")},r.areEqual=function(t,e){return t===e},r.__invokeOnDispatch=function(t){var e,r;this.__changed=!1,e=this._state,r=this.reduce(e,t),void 0===r?a(!1):void 0,this.areEqual(e,r)||(this._state=r,this.__emitChange()),this.__changed&&this.__emitter.emit(this.__changeEvent)},e}(s);t.exports=f},function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var o=r(12),i=o.EventEmitter,u=r(4),s=function(){function t(t){var e=this;n(this,"_dispatchToken",void 0),n(this,"__changed",void 0),n(this,"__changeEvent",void 0),n(this,"__className",void 0),n(this,"__dispatcher",void 0),n(this,"__emitter",void 0),this.__className=this.constructor.name,this.__changed=!1,this.__changeEvent="change",this.__dispatcher=t,this.__emitter=new i,this._dispatchToken=t.register(function(t){e.__invokeOnDispatch(t)})}var e=t.prototype;return e.addListener=function(t){return this.__emitter.addListener(this.__changeEvent,t)},e.getDispatcher=function(){return this.__dispatcher},e.getDispatchToken=function(){return this._dispatchToken},e.hasChanged=function(){return this.__dispatcher.isDispatching()?void 0:u(!1),this.__changed},e.__emitChange=function(){this.__dispatcher.isDispatching()?void 0:u(!1),this.__changed=!0},e.__invokeOnDispatch=function(t){this.__changed=!1,this.__onDispatch(t),this.__changed&&this.__emitter.emit(this.__changeEvent)},e.__onDispatch=function(t){u(!1)},t}();t.exports=s},function(t,e,r){var n={EventEmitter:r(13),EmitterSubscription:r(14)};t.exports=n},function(t,e,r){"use strict";var n=r(14),o=r(16),i=r(4),u=r(17),s=function(){function t(){this._subscriber=new o,this._currentSubscription=null}var e=t.prototype;return e.addListener=function(t,e,r){return this._subscriber.addSubscription(t,new n(this._subscriber,e,r))},e.once=function(t,e,r){var n=this;return this.addListener(t,function(){n.removeCurrentListener(),e.apply(r,arguments)})},e.removeAllListeners=function(t){this._subscriber.removeAllSubscriptions(t)},e.removeCurrentListener=function(){this._currentSubscription?void 0:i(!1),this._subscriber.removeSubscription(this._currentSubscription)},e.listeners=function(t){var e=this._subscriber.getSubscriptionsForType(t);return e?e.filter(u.thatReturnsTrue).map(function(t){return t.listener}):[]},e.emit=function(t){var e,r,n,o,i=this._subscriber.getSubscriptionsForType(t);if(i){for(e=Object.keys(i),r=0;r<e.length;r++)n=e[r],o=i[n],o&&(this._currentSubscription=o,this.__emitToSubscription.apply(this,[o].concat(Array.prototype.slice.call(arguments))));this._currentSubscription=null}},e.__emitToSubscription=function(t,e){var r=Array.prototype.slice.call(arguments,2);t.listener.apply(t.context,r)},t}();t.exports=s},function(t,e,r){"use strict";function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o=r(15),i=function(t){function e(e,r,n){var o;return o=t.call(this,e)||this,o.listener=r,o.context=n,o}return n(e,t),e}(o);t.exports=i},function(t,e){"use strict";var r=function(){function t(t){this.subscriber=t}var e=t.prototype;return e.remove=function(){this.subscriber&&(this.subscriber.removeSubscription(this),this.subscriber=null)},t}();t.exports=r},function(t,e,r){"use strict";var n=r(4),o=function(){function t(){this._subscriptionsForType={},this._currentSubscription=null}var e=t.prototype;return e.addSubscription=function(t,e){e.subscriber!==this?n(!1):void 0,this._subscriptionsForType[t]||(this._subscriptionsForType[t]=[]);var r=this._subscriptionsForType[t].length;return this._subscriptionsForType[t].push(e),e.eventType=t,e.key=r,e},e.removeAllSubscriptions=function(t){void 0===t?this._subscriptionsForType={}:delete this._subscriptionsForType[t]},e.removeSubscription=function(t){var e=t.eventType,r=t.key,n=this._subscriptionsForType[e];n&&delete n[r]},e.getSubscriptionsForType=function(t){return this._subscriptionsForType[t]},t}();t.exports=o},function(t,e){"use strict";function r(t){return function(){return t}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},function(t,e,r){"use strict";function n(t,e){o(!1)}var o=r(4);t.exports=n}])}); |
@@ -16,6 +16,8 @@ /** | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
@@ -152,2 +154,6 @@ | ||
_proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps, nextContext) { | ||
if (_Base.prototype.UNSAFE_componentWillReceiveProps) { | ||
_Base.prototype.UNSAFE_componentWillReceiveProps.call(this, nextProps, nextContext); | ||
} | ||
if (_Base.prototype.componentWillReceiveProps) { | ||
@@ -154,0 +160,0 @@ _Base.prototype.componentWillReceiveProps.call(this, nextProps, nextContext); |
@@ -13,3 +13,3 @@ /** | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } | ||
@@ -16,0 +16,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } |
@@ -15,4 +15,6 @@ /** | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } | ||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } | ||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -19,0 +21,0 @@ |
@@ -14,3 +14,3 @@ /** | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } | ||
@@ -17,0 +17,0 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } |
{ | ||
"name": "flux", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "An application architecture based on a unidirectional data flow", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,1 +1,3 @@ | ||
## ⚠️ The Flux project is in maintenance mode and there are many more sophisticated alternatives available (e.g. [Redux](http://redux.js.org/), [MobX](https://mobx.js.org/)) and we would recommend using them instead. | ||
<p align="center"> | ||
@@ -20,6 +22,2 @@ <img src="https://facebook.github.io/flux/img/flux-logo-color.svg" alt="logo" width="20%" /> | ||
⚠️ The Flux project is in maintenance mode and there are many more sophisticated alternatives available (e.g. [Redux](http://redux.js.org/), [MobX](https://mobx.js.org/)) and we would recommend using them instead. | ||
<hr/> | ||
<img src="./img/flux-diagram-white-background.png" style="width: 100%;" /> | ||
@@ -26,0 +24,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 3 instances in 1 package
4955
254155
26
91