Socket
Socket
Sign inDemoInstall

flux

Package Overview
Dependencies
19
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

56

CHANGELOG.md
# Changelog
### 4.0.1
- Upgrade `fbemitter` dependency to 3.x
### 4.0.0
* Upgrade fbjs dependency to ^3.x
* Upgrade for Babel 7 compatibility (#495) (thanks to @koba04)
* Added React 17 as a peer dependency
- Upgrade `fbjs` dependency to ^3.x
- Upgrade for Babel 7 compatibility (#495) (thanks to @koba04)
- Added React 17 as a peer dependency
### 3.1.3
* Added support for React 16
- Added support for React 16
### 3.1.2
* No meaningful changes.
- No meaningful changes.
### 3.1.1
* No meaningful changes.
- No meaningful changes.
### 3.1.0
* `Dispatcher`: Methods `register` and `unregister` can once again be called in
the middle of a dispatch.
- `Dispatcher`: Methods `register` and `unregister` can once again be called in
the middle of a dispatch.
### 3.0.0
* `FluxMapStore`: Removed. It added very little value over `FluxReduceStore`.
* `FluxContainer`: Subscriptions are setup in constructor rather than
`componentDidMount`
* `FluxContainer`: Can create containers using stateless functional components
* `FluxContainer`: Uses functional version of `setState`
* `FluxMixin`: Subscriptions are setup in `componentWillMount` rather than
`componentDidMount`
* `Dispatcher`: Methods `register` and `unregister` can not be called in the
middle of a dispatch
* `React` added as peer dependency to `flux/utils`
* Package `dist/FluxUtils.js` alongside `dist/Flux.js`
- `FluxMapStore`: Removed. It added very little value over `FluxReduceStore`.
- `FluxContainer`: Subscriptions are setup in constructor rather than
`componentDidMount`
- `FluxContainer`: Can create containers using stateless functional components
- `FluxContainer`: Uses functional version of `setState`
- `FluxMixin`: Subscriptions are setup in `componentWillMount` rather than
`componentDidMount`
- `Dispatcher`: Methods `register` and `unregister` can not be called in the
middle of a dispatch
- `React` added as peer dependency to `flux/utils`
- Package `dist/FluxUtils.js` alongside `dist/Flux.js`

@@ -47,11 +51,11 @@ _**Note**: This is marked as a breaking change due to the large number of small

* Publish `dist/` on npm
- Publish `dist/` on npm
### 2.1.0
* Add flux-utils which include four main base classes: `Store`, `ReduceStore`,
`MapStore`, `Container`
* Add flux-utils example and documentation
* Upgrade build script
* Publish a minified version of `Flux` in `dist/`
* Add flow types to `Dispatcher`
- Add flux-utils which include four main base classes: `Store`, `ReduceStore`,
`MapStore`, `Container`
- Add flux-utils example and documentation
- Upgrade build script
- Publish a minified version of `Flux` in `dist/`
- Add flow types to `Dispatcher`
/**
* Flux v4.0.0
* Flux v4.0.1
*/

@@ -4,0 +4,0 @@ (function webpackUniversalModuleDefinition(root, factory) {

/**
* Flux v4.0.0
* Flux v4.0.1
*

@@ -4,0 +4,0 @@ * Copyright (c) Facebook, Inc. and its affiliates.

/**
* Flux v4.0.0
* Flux v4.0.1
*

@@ -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(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports.Container=n(1),t.exports.Mixin=n(9),t.exports.ReduceStore=n(10),t.exports.Store=n(11)},function(t,e,n){"use strict";function r(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 n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function u(t){var e,n;for(e=1;e<arguments.length;e++)n=null!=arguments[e]?arguments[e]:{},e%2?i(Object(n),!0).forEach(function(e){s(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))});return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){var n,i,c,p,h,d;return f(t),n=u(u({},b),e||{}),i=function(e,r,o){var i=n.withProps?r:void 0,u=n.withContext?o:void 0;return t.calculateState(e,i,u)},c=function(e,r){var o=n.withProps?e:void 0,i=n.withContext?r:void 0;return t.getStores(o,i)},p=function(t){function e(e,n){var o,a=t.call(this,e,n)||this;return s(r(a),"_fluxContainerSubscriptions",void 0),a._fluxContainerSubscriptions=new l,a._fluxContainerSubscriptions.setStores(c(e,n)),a._fluxContainerSubscriptions.addListener(function(){a.setState(function(t,e){return i(t,e,n)})}),o=i(void 0,e,n),a.state=u(u({},a.state||{}),o),a}o(e,t);var a=e.prototype;return a.UNSAFE_componentWillReceiveProps=function(e,r){t.prototype.componentWillReceiveProps&&t.prototype.componentWillReceiveProps.call(this,e,r),(n.withProps||n.withContext)&&(this._fluxContainerSubscriptions.setStores(c(e,r)),this.setState(function(t){return i(t,e,r)}))},a.componentWillUnmount=function(){t.prototype.componentWillUnmount&&t.prototype.componentWillUnmount.call(this),this._fluxContainerSubscriptions.reset()},e}(t),h=n.pure?a(p):p,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 n=e.prototype;return n.shouldComponentUpdate=function(t,e){return!y(this.props,t)||!y(this.state,e)},e}(t);return e}function f(t){t.getStores?void 0:d(!1),t.calculateState?void 0:d(!1)}function p(t,e,n,i){var u=function(i){function u(){var t,e,n,o;for(e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return t=i.call.apply(i,[this].concat(n))||this,s(r(t),"state",void 0),t}o(u,i),u.getStores=function(t,n){return e(t,n)},u.calculateState=function(t,e,r){return n(t,e,r)};var c=u.prototype;return c.render=function(){return t(this.state)},u}(_),a=t.displayName||t.name||"FunctionalContainer";return u.displayName=a,c(u,i)}var l=n(2),h=n(5),d=n(4),y=n(8),_=h.Component,b={pure:!0,withProps:!1,withContext:!1};t.exports={create:c,createFunctional:p}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}var i=n(3),u=function(){function t(){r(this,"_callbacks",void 0),r(this,"_storeGroup",void 0),r(this,"_stores",void 0),r(this,"_tokens",void 0),this._callbacks=[]}var e=t.prototype;return e.setStores=function(t){var e,n,r,u,s=this;this._stores&&o(this._stores,t)||(this._stores=t,this._resetTokens(),this._resetStoreGroup(),e=!1,n=[],r=function(){e=!0},this._tokens=t.map(function(t){return t.addListener(r)}),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,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){var e;return t&&t.length?void 0:i(!1),e=t[0].getDispatcher()}var i=n(4),u=function(){function t(t,e){var n,i=this;r(this,"_dispatcher",void 0),r(this,"_dispatchToken",void 0),this._dispatcher=o(t),n=t.map(function(t){return t.getDispatchToken()}),this._dispatchToken=this._dispatcher.register(function(t){i._dispatcher.waitFor(n),e()})}var e=t.prototype;return e.release=function(){this._dispatcher.unregister(this._dispatchToken)},t}();t.exports=u},function(t,e,n){"use strict";function r(t,e){var n,r,i,u,s;for(n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[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(r[s++])})),u.name="Invariant Violation"),u.framesToPop=1,u}var o=function(t){};t.exports=r},function(t,e,n){"use strict";t.exports=n(6)},function(t,e,n){/** @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,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
* react.production.min.js

@@ -19,3 +19,3 @@ *

*/
"use strict";function r(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,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);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,n){this.props=t,this.context=e,this.refs=j,this.updater=n||O}function u(){}function s(t,e,n){this.props=t,this.context=e,this.refs=j,this.updater=n||O}function c(t,e,n){var r,o,i,u,s={},c=null,a=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(c=""+e.key),e)C.call(e,r)&&!P.hasOwnProperty(r)&&(s[r]=e[r]);if(o=arguments.length-2,1===o)s.children=n;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(r in o=t.defaultProps)void 0===s[r]&&(s[r]=o[r]);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,n,i,u){var s,c,p,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?"."+l(s,0):i,Array.isArray(u)?(n="",null!=t&&(n=t.replace(T,"$&/")+"/"),h(u,e,n,"",function(t){return t})):null!=u&&(f(u)&&(u=a(u,n+(!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],p=i+l(d,c),s+=h(d,e,n,p,u);else if(p=r(t),"function"==typeof p)for(t=p.call(t),c=0;!(d=t.next()).done;)d=d.value,p=i+l(d,c++),s+=h(d,e,n,p,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,n){if(null==t)return t;var r=[],o=0;return h(t,r,"","",function(t){return e.call(n,t,o++)}),r}function y(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 _(){var t=R.current;if(null===t)throw Error(o(321));return t}var b,v,m,g,S,w,x,O,j,k,E,C,P,T,R,F,A=n(7),$=60103,D=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114,b=60109,v=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"),b=w("react.provider"),v=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},C=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0},T=/\/+/g,R={current:null},F={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:A},e.Children={map:d,forEach:function(t,e,n){d(t,function(){e.apply(this,arguments)},n)},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,n){var r,i,u,s,c,a,f;if(null===t||void 0===t)throw Error(o(267,t));if(r=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)C.call(e,a)&&!P.hasOwnProperty(a)&&(r[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}if(a=arguments.length-2,1===a)r.children=n;else if(1<a){for(c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];r.children=c}return{$$typeof:$,type:t.type,key:i,ref:u,props:r,_owner:s}},e.createContext=function(t,e){return void 0===e&&(e=null),t={$$typeof:v,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:b,_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:y}},e.memo=function(t,e){return{$$typeof:g,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return _().useCallback(t,e)},e.useContext=function(t,e){return _().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return _().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return _().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return _().useLayoutEffect(t,e)},e.useMemo=function(t,e){return _().useMemo(t,e)},e.useReducer=function(t,e,n){return _().useReducer(t,e,n)},e.useRef=function(t){return _().useRef(t)},e.useState=function(t){return _().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)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){/*
object-assign

@@ -25,2 +25,2 @@ (c) Sindre Sorhus

*/
"use strict";function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function r(){var t,e,n,r,o;try{if(!Object.assign)return!1;if(t=new String("abc"),t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;return r=Object.getOwnPropertyNames(e).map(function(t){return e[t]}),"0123456789"===r.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=r()?Object.assign:function(t,e){var r,s,c,a,f,p=n(t);for(c=1;c<arguments.length;c++){r=Object(arguments[c]);for(a in r)i.call(r,a)&&(p[a]=r[a]);if(o)for(s=o(r),f=0;f<s.length;f++)u.call(r,s[f])&&(p[s[f]]=r[s[f]])}return p}},function(t,e){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function r(t,e){var r,i,u;if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;if(r=Object.keys(t),i=Object.keys(e),r.length!==i.length)return!1;for(u=0;u<r.length;u++)if(!o.call(e,r[u])||!n(t[r[u]],e[r[u]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n,r,i,u,s,c;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length)return n&&(t=n),r=0,i=function(){},{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},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(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return u=t.done,t},e:function(t){s=!0,c=t},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw c}}}}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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 n,r=this,o=!1,i=function(){o=!0};this._fluxMixinSubscriptions=t.map(function(t){return t.addListener(i)}),n=function(){o&&r.setState(function(t){return e.withProps?r.constructor.calculateState(t,r.props):r.constructor.calculateState(t,void 0)}),o=!1},this._fluxMixinStoreGroup=new c(t,n)},componentWillUnmount:function(){var t,e,n;this._fluxMixinStoreGroup.release(),t=r(this._fluxMixinSubscriptions);try{for(t.s();!(e=t.n()).done;)n=e.value,n.remove()}catch(e){t.e(e)}finally{t.f()}this._fluxMixinSubscriptions=[]}}}function s(t){t.constructor.calculateState?void 0:a(!1)}var c=n(3),a=n(4);t.exports=u},function(t,e,n){"use strict";function r(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,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=n(11),s=n(19),c=n(4),a=function(t){function e(e){var n;return n=t.call(this,e)||this,i(r(n),"_state",void 0),n._state=n.getInitialState(),n}o(e,t);var n=e.prototype;return n.getState=function(){return this._state},n.getInitialState=function(){return s("FluxReduceStore","getInitialState")},n.reduce=function(t,e){return s("FluxReduceStore","reduce")},n.areEqual=function(t,e){return t===e},n.__invokeOnDispatch=function(t){var e,n;this.__changed=!1,e=this._state,n=this.reduce(e,t),void 0===n?c(!1):void 0,this.areEqual(e,n)||(this._state=n,this.__emitChange()),this.__changed&&this.__emitter.emit(this.__changeEvent)},e}(u);t.exports=a},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=n(12),i=o.EventEmitter,u=n(4),s=function(){function t(t){var e=this;r(this,"_dispatchToken",void 0),r(this,"__changed",void 0),r(this,"__changeEvent",void 0),r(this,"__className",void 0),r(this,"__dispatcher",void 0),r(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,n){var r={EventEmitter:n(13),EmitterSubscription:n(14)};t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(14),i=n(16),u=n(18),s=n(17),c=function(){function t(){r(this,t),this._subscriber=new i,this._currentSubscription=null}return t.prototype.addListener=function(t,e,n){return this._subscriber.addSubscription(t,new o(this._subscriber,e,n))},t.prototype.once=function(t,e,n){var r=this;return this.addListener(t,function(){r.removeCurrentListener(),e.apply(n,arguments)})},t.prototype.removeAllListeners=function(t){this._subscriber.removeAllSubscriptions(t)},t.prototype.removeCurrentListener=function(){this._currentSubscription?void 0:s(!1),this._subscriber.removeSubscription(this._currentSubscription)},t.prototype.listeners=function(t){var e=this._subscriber.getSubscriptionsForType(t);return e?e.filter(u.thatReturnsTrue).map(function(t){return t.listener}):[]},t.prototype.emit=function(t){var e,n,r,o,i=this._subscriber.getSubscriptionsForType(t);if(i){for(e=Object.keys(i),n=0;n<e.length;n++)r=e[n],o=i[r],o&&(this._currentSubscription=o,this.__emitToSubscription.apply(this,[o].concat(Array.prototype.slice.call(arguments))));this._currentSubscription=null}},t.prototype.__emitToSubscription=function(t,e){var n=Array.prototype.slice.call(arguments,2);t.listener.apply(t.context,n)},t}();t.exports=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var i=n(15),u=function(t){function e(n,o,i){r(this,e),t.call(this,n),this.listener=o,this.context=i}return o(e,t),e}(i);t.exports=u},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(e){n(this,t),this.subscriber=e}return t.prototype.remove=function(){this.subscriber&&(this.subscriber.removeSubscription(this),this.subscriber=null)},t}();t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var o=n(17),i=function(){function t(){r(this,t),this._subscriptionsForType={},this._currentSubscription=null}return t.prototype.addSubscription=function(t,e){e.subscriber!==this?o(!1):void 0,this._subscriptionsForType[t]||(this._subscriptionsForType[t]=[]);var n=this._subscriptionsForType[t].length;return this._subscriptionsForType[t].push(e),e.eventType=t,e.key=n,e},t.prototype.removeAllSubscriptions=function(t){void 0===t?this._subscriptionsForType={}:delete this._subscriptionsForType[t]},t.prototype.removeSubscription=function(t){var e=t.eventType,n=t.key,r=this._subscriptionsForType[e];r&&delete r[n]},t.prototype.getSubscriptionsForType=function(t){return this._subscriptionsForType[t]},t}();t.exports=i},function(t,e,n){"use strict";function r(t,e,n,r,i,u,s,c){var a,f,p;if(o(e),!t)throw void 0===e?a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(f=[n,r,i,u,s,c],p=0,a=new Error(e.replace(/%s/g,function(){return f[p++]})),a.name="Invariant Violation"),a.framesToPop=1,a}var o=function(t){};t.exports=r},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";function r(t,e){o(!1)}var o=n(4);t.exports=r}])});
"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}])});
{
"name": "flux",
"version": "4.0.0",
"version": "4.0.1",
"description": "An application architecture based on a unidirectional data flow",

@@ -63,3 +63,3 @@ "keywords": [

"dependencies": {
"fbemitter": "^2.0.0",
"fbemitter": "^3.0.0",
"fbjs": "^3.0.0"

@@ -66,0 +66,0 @@ },

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc