/**
 * Flux v4.0.4
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */
!function(i,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Flux=t():i.Flux=t()}(this,function(){return function(i){function t(e){if(n[e])return n[e].exports;var s=n[e]={exports:{},id:e,loaded:!1};return i[e].call(s.exports,s,s.exports,t),s.loaded=!0,s.exports}var n={};return t.m=i,t.c=n,t.p="",t(0)}([function(i,t,n){i.exports.Dispatcher=n(1)},function(i,t,n){"use strict";function e(i,t,n){return t=s(t),t in i?Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):i[t]=n,i}function s(i){var t=r(i,"string");return"symbol"==typeof t?t:String(t)}function r(i,t){var n,e;if("object"!=typeof i||null===i)return i;if(n=i[Symbol.toPrimitive],void 0!==n){if(e=n.call(i,t||"default"),"object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(i)}var o=n(2),a="ID_",c=function(){function i(){e(this,"_callbacks",void 0),e(this,"_isDispatching",void 0),e(this,"_isHandled",void 0),e(this,"_isPending",void 0),e(this,"_lastID",void 0),e(this,"_pendingPayload",void 0),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}var t=i.prototype;return t.register=function(i){var t=a+this._lastID++;return this._callbacks[t]=i,t},t.unregister=function(i){this._callbacks[i]?void 0:o(!1),delete this._callbacks[i]},t.waitFor=function(i){var t,n;for(this._isDispatching?void 0:o(!1),t=0;t<i.length;t++)n=i[t],this._isPending[n]?this._isHandled[n]?void 0:o(!1):(this._callbacks[n]?void 0:o(!1),this._invokeCallback(n))},t.dispatch=function(i){this._isDispatching?o(!1):void 0,this._startDispatching(i);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},t.isDispatching=function(){return this._isDispatching},t._invokeCallback=function(i){this._isPending[i]=!0,this._callbacks[i](this._pendingPayload),this._isHandled[i]=!0},t._startDispatching=function(i){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=i,this._isDispatching=!0},t._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},i}();i.exports=c},function(i,t,n){"use strict";function e(i,t){var n,e,r,o,a;for(n=arguments.length,e=new Array(n>2?n-2:0),r=2;r<n;r++)e[r-2]=arguments[r];if(s(t),!i)throw void 0===t?o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."):(a=0,o=new Error(t.replace(/%s/g,function(){return String(e[a++])})),o.name="Invariant Violation"),o.framesToPop=1,o}var s=function(i){};i.exports=e}])});