asma-core-ui 2.19.9 → 2.19.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ import*as e from"react";import t,{Children as n,isValidElement as o,cloneElement
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */"production"===process.env.NODE_ENV?Re.exports=function(){if(ke)return Te;ke=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,o){var a,s={},u=null,c=null;for(a in void 0!==o&&(u=""+o),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)r.call(t,a)&&!l.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:n,type:e,key:u,ref:c,props:s,_owner:i.current}}return Te.Fragment=o,Te.jsx=a,Te.jsxs=a,Te}():Re.exports=(Ne||(Ne=1,"production"!==process.env.NODE_ENV&&function(){var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=b.ReactDebugCurrentFrame,r=o.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,n)}var y,w=!1,x=!1,C=!1,O=!1,E=!1;function S(e){return e.displayName||"Context"}function k(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case l:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return S(e)+".Consumer";case a:return S(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:k(e.type)||"Memo";case f:var n=e,h=n._payload,m=n._init;try{return k(m(h))}catch{return null}}return null}y=Symbol.for("react.module.reference");var R,T,N,P,_,M,I,j=Object.assign,D=0;function F(){}F.__reactDisabledLog=!0;var A,L=b.ReactCurrentDispatcher;function V(e,t,n){if(void 0===A)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);A=o&&o[1]||""}return"\n"+A+e}var $,q=!1,H="function"==typeof WeakMap?WeakMap:Map;function z(e,t){if(!e||q)return"";var n,o=$.get(e);if(void 0!==o)return o;q=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=L.current,L.current=null,function(){if(0===D){R=console.log,T=console.info,N=console.warn,P=console.error,_=console.group,M=console.groupCollapsed,I=console.groupEnd;var e={configurable:!0,enumerable:!0,value:F,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),s=n.stack.split("\n"),u=a.length-1,c=s.length-1;u>=1&&c>=0&&a[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(a[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||a[u]!==s[c]){var d="\n"+a[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{q=!1,L.current=r,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:j({},e,{value:R}),info:j({},e,{value:T}),warn:j({},e,{value:N}),error:j({},e,{value:P}),group:j({},e,{value:_}),groupCollapsed:j({},e,{value:M}),groupEnd:j({},e,{value:I})})}D<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?V(p):"";return"function"==typeof e&&$.set(e,f),f}function B(e,t,n){if(null==e)return"";if("function"==typeof e)return z(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return V(e);switch(e){case c:return V("Suspense");case d:return V("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return function(e,t,n){return z(e,!1)}(e.render);case p:return B(e.type,t,n);case f:var o=e,r=o._payload,i=o._init;try{return B(i(r),t,n)}catch{}}return""}$=new H;var U=Object.prototype.hasOwnProperty,W={},G=b.ReactDebugCurrentFrame;function K(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);G.setExtraStackFrame(n)}else G.setExtraStackFrame(null)}var Y=Array.isArray;function Z(e){return Y(e)}function X(e){return""+e}function Q(e){if(function(e){try{return X(e),!1}catch{return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var J,ee,te,ne=b.ReactCurrentOwner,oe={key:!0,ref:!0,__self:!0,__source:!0};te={};var re=function(e,t,o,r,i,l,a){var s={$$typeof:n,type:e,key:t,ref:o,props:a,_owner:l,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ie(e,t,n,o,r){var i,l={},a=null,s=null;for(i in void 0!==n&&(Q(n),a=""+n),function(e){if(U.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Q(t.key),a=""+t.key),function(e){if(U.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=k(ne.current.type);te[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',k(ne.current.type),e.ref),te[n]=!0)}}(t,r)),t)U.call(t,i)&&!oe.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===l[i]&&(l[i]=u[i])}if(a||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){J||(J=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(l,c),s&&function(e,t){var n=function(){ee||(ee=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(l,c)}return re(e,a,s,r,o,ne.current,l)}var le,ae=b.ReactCurrentOwner,se=b.ReactDebugCurrentFrame;function ue(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);se.setExtraStackFrame(n)}else se.setExtraStackFrame(null)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function de(){if(ae.current){var e=k(ae.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}le=!1;var pe={};function fe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=de();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!pe[n]){pe[n]=!0;var o="";e&&e._owner&&e._owner!==ae.current&&(o=" It was passed a child from "+k(e._owner.type)+"."),ue(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),ue(null)}}}function he(e,t){if("object"==typeof e)if(Z(e))for(var n=0;n<e.length;n++){var o=e[n];ce(o)&&fe(o,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,l=r.call(e);!(i=l.next()).done;)ce(i.value)&&fe(i.value,t)}}function me(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==p)return;t=n.propTypes}if(t){var o=k(n);!function(e,t,n,o,r){var i=Function.call.bind(U);for(var l in e)if(i(e,l)){var a=void 0;try{if("function"!=typeof e[l]){var s=Error((o||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[l](t,l,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}a&&!(a instanceof Error)&&(K(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,l,typeof a),K(null)),a instanceof Error&&!(a.message in W)&&(W[a.message]=!0,K(r),v("Failed %s type: %s",n,a.message),K(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||le||(le=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ge(e,t,o,m,g,b){var S=function(e){return!!("string"==typeof e||"function"==typeof e||e===r||e===l||E||e===i||e===c||e===d||O||e===h||w||x||C||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===y||void 0!==e.getModuleId))}(e);if(!S){var R="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);R+=N||de(),null===e?T="null":Z(e)?T="array":void 0!==e&&e.$$typeof===n?(T="<"+(k(e.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,R)}var P=ie(e,t,o,g,b);if(null==P)return P;if(S){var _=t.children;if(void 0!==_)if(m)if(Z(_)){for(var M=0;M<_.length;M++)he(_[M],e);Object.freeze&&Object.freeze(_)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else he(_,e)}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){ue(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),ue(null);break}}null!==e.ref&&(ue(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ue(null))}(P):me(P),P}var be=function(e,t,n){return ge(e,t,n,!1)},ve=function(e,t,n){return ge(e,t,n,!0)};Pe.Fragment=r,Pe.jsx=be,Pe.jsxs=ve}()),Pe);var _e=Re.exports;const Me=({color:e="primary",dataTest:t,...n})=>_e.jsx(v,{color:e,"data-test":t,...n,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-badge-background)",color:"var(--colors-badge-text)"}}}),Ie=(e,...t)=>_e.jsx(y,{"data-test":e,...t});function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},je.apply(this,arguments)}function De(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}function Fe(e,t){return(Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fe(e,t)}const Le=!1;var Ve="production"!==process.env.NODE_ENV?oe.oneOfType([oe.number,oe.shape({enter:oe.number,exit:oe.number,appear:oe.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&oe.oneOfType([oe.string,oe.shape({enter:oe.string,exit:oe.string,active:oe.string}),oe.shape({enter:oe.string,enterDone:oe.string,enterActive:oe.string,exit:oe.string,exitDone:oe.string,exitActive:oe.string})]);const $e=t.createContext(null);var qe="unmounted",He="exited",ze="entering",Be="entered",Ue="exiting",We=function(e){function n(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=He,o.appearStatus=ze):r=Be:r=t.unmountOnExit||t.mountOnEnter?qe:He,o.state={status:r},o.nextCallback=null,o}Ae(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qe?{status:He}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ze&&n!==Be&&(t=ze):(n===ze||n===Be)&&(t=Ue)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ze){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ue.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===He&&this.setState({status:qe})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[ue.findDOMNode(this),o],i=r[0],l=r[1],a=this.getTimeouts(),s=o?a.appear:a.enter;!e&&!n||Le?this.safeSetState({status:Be},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:ze},(function(){t.props.onEntering(i,l),t.onTransitionEnd(s,(function(){t.safeSetState({status:Be},(function(){t.props.onEntered(i,l)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:ue.findDOMNode(this);t&&!Le?(this.props.onExit(o),this.safeSetState({status:Ue},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:He},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:He},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ue.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===qe)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=De(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement($e.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function Ge(){}We.contextType=$e,We.propTypes="production"!==process.env.NODE_ENV?{nodeRef:oe.shape({current:typeof Element>"u"?oe.any:function(e,t,n,o,r,i){var l=e[t];return oe.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:oe.oneOfType([oe.func.isRequired,oe.element.isRequired]).isRequired,in:oe.bool,mountOnEnter:oe.bool,unmountOnExit:oe.bool,appear:oe.bool,enter:oe.bool,exit:oe.bool,timeout:function(e){var t=Ve;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:oe.func,onEnter:oe.func,onEntering:oe.func,onEntered:oe.func,onExit:oe.func,onExiting:oe.func,onExited:oe.func}:{},We.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ge,onEntering:Ge,onEntered:Ge,onExit:Ge,onExiting:Ge,onExited:Ge},We.UNMOUNTED=qe,We.EXITED=He,We.ENTERING=ze,We.ENTERED=Be,We.EXITING=Ue;const Ke=We;function Ye(e,t){var r=Object.create(null);return e&&n.map(e,(function(e){return e})).forEach((function(e){var n;r[e.key]=(n=e,t&&o(n)?t(n):n)})),r}function Ze(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Xe(e,t){return Ye(e.children,(function(n){return r(n,{onExited:t.bind(null,n),in:!0,appear:Ze(n,"appear",e),enter:Ze(n,"enter",e),exit:Ze(n,"exit",e)})}))}function Qe(e,t,n){var i=Ye(e.children),l=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o=Object.create(null),r=[];for(var i in e)i in t?r.length&&(o[i]=r,r=[]):r.push(i);var l,a={};for(var s in t){if(o[s])for(l=0;l<o[s].length;l++){var u=o[s][l];a[o[s][l]]=n(u)}a[s]=n(s)}for(l=0;l<r.length;l++)a[r[l]]=n(r[l]);return a}(t,i);return Object.keys(l).forEach((function(a){var s=l[a];if(o(s)){var u=a in t,c=a in i,d=t[a],p=o(d)&&!d.props.in;!c||u&&!p?c||!u||p?c&&u&&o(d)&&(l[a]=r(s,{onExited:n.bind(null,s),in:d.props.in,exit:Ze(s,"exit",e),enter:Ze(s,"enter",e)})):l[a]=r(s,{in:!1}):l[a]=r(s,{onExited:n.bind(null,s),in:!0,exit:Ze(s,"exit",e),enter:Ze(s,"enter",e)})}})),l}var Je=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},et=function(e){function n(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},o}Ae(n,e);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n=t.children,o=t.handleExited;return{children:t.firstRender?Xe(e,o):Qe(e,n,o),firstRender:!1}},o.handleExited=function(e,t){var n=Ye(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=je({},t.children);return delete n[e.key],{children:n}})))},o.render=function(){var e=this.props,n=e.component,o=e.childFactory,r=De(e,["component","childFactory"]),i=this.state.contextValue,l=Je(this.state.children).map(o);return delete r.appear,delete r.enter,delete r.exit,null===n?t.createElement($e.Provider,{value:i},l):t.createElement($e.Provider,{value:i},t.createElement(n,r,l))},n}(t.Component);et.propTypes="production"!==process.env.NODE_ENV?{component:oe.any,children:oe.node,appear:oe.bool,enter:oe.bool,exit:oe.bool,childFactory:oe.func}:{},et.defaultProps={component:"div",childFactory:function(e){return e}};const tt=et;function nt(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function ot(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function rt(e){if(!ot(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=rt(e[n])})),t}function it(e,t,n={clone:!0}){const o=n.clone?je({},e):e;return ot(e)&&ot(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(ot(t[r])&&r in e&&ot(e[r])?o[r]=it(e[r],t[r],n):n.clone?o[r]=ot(t[r])?rt(t[r]):t[r]:o[r]=t[r])})),o}function lt(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(a="Did you accidentally use a plain function component for an element instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const at=nt(oe.element,lt);at.isRequired=nt(oe.element.isRequired,lt);const st=at;const ut=nt(oe.elementType,(function(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;return"function"==typeof i&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(i)&&(a="Did you accidentally provide a plain function component instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));function ct(e){return"production"===process.env.NODE_ENV?e:je({},e,{"exact-prop: ​":t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function dt(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var pt,ft={exports:{}},ht={};
19
+ */"production"===process.env.NODE_ENV?Re.exports=function(){if(ke)return Te;ke=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function a(e,t,o){var a,s={},u=null,c=null;for(a in void 0!==o&&(u=""+o),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)r.call(t,a)&&!l.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:n,type:e,key:u,ref:c,props:s,_owner:i.current}}return Te.Fragment=o,Te.jsx=a,Te.jsxs=a,Te}():Re.exports=(Ne||(Ne=1,"production"!==process.env.NODE_ENV&&function(){var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=b.ReactDebugCurrentFrame,r=o.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,n)}var y,w=!1,x=!1,C=!1,O=!1,E=!1;function S(e){return e.displayName||"Context"}function k(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case l:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return S(e)+".Consumer";case a:return S(e._context)+".Provider";case u:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:k(e.type)||"Memo";case f:var n=e,h=n._payload,m=n._init;try{return k(m(h))}catch{return null}}return null}y=Symbol.for("react.module.reference");var R,T,N,P,_,M,I,j=Object.assign,D=0;function F(){}F.__reactDisabledLog=!0;var A,L=b.ReactCurrentDispatcher;function V(e,t,n){if(void 0===A)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);A=o&&o[1]||""}return"\n"+A+e}var $,q=!1,H="function"==typeof WeakMap?WeakMap:Map;function z(e,t){if(!e||q)return"";var n,o=$.get(e);if(void 0!==o)return o;q=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=L.current,L.current=null,function(){if(0===D){R=console.log,T=console.info,N=console.warn,P=console.error,_=console.group,M=console.groupCollapsed,I=console.groupEnd;var e={configurable:!0,enumerable:!0,value:F,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}D++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),s=n.stack.split("\n"),u=a.length-1,c=s.length-1;u>=1&&c>=0&&a[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(a[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||a[u]!==s[c]){var d="\n"+a[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{q=!1,L.current=r,function(){if(0==--D){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:j({},e,{value:R}),info:j({},e,{value:T}),warn:j({},e,{value:N}),error:j({},e,{value:P}),group:j({},e,{value:_}),groupCollapsed:j({},e,{value:M}),groupEnd:j({},e,{value:I})})}D<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?V(p):"";return"function"==typeof e&&$.set(e,f),f}function B(e,t,n){if(null==e)return"";if("function"==typeof e)return z(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return V(e);switch(e){case c:return V("Suspense");case d:return V("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return function(e,t,n){return z(e,!1)}(e.render);case p:return B(e.type,t,n);case f:var o=e,r=o._payload,i=o._init;try{return B(i(r),t,n)}catch{}}return""}$=new H;var U=Object.prototype.hasOwnProperty,W={},G=b.ReactDebugCurrentFrame;function K(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);G.setExtraStackFrame(n)}else G.setExtraStackFrame(null)}var Y=Array.isArray;function Z(e){return Y(e)}function X(e){return""+e}function Q(e){if(function(e){try{return X(e),!1}catch{return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),X(e)}var J,ee,te,ne=b.ReactCurrentOwner,oe={key:!0,ref:!0,__self:!0,__source:!0};te={};var re=function(e,t,o,r,i,l,a){var s={$$typeof:n,type:e,key:t,ref:o,props:a,_owner:l,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ie(e,t,n,o,r){var i,l={},a=null,s=null;for(i in void 0!==n&&(Q(n),a=""+n),function(e){if(U.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Q(t.key),a=""+t.key),function(e){if(U.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(s=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=k(ne.current.type);te[n]||(v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',k(ne.current.type),e.ref),te[n]=!0)}}(t,r)),t)U.call(t,i)&&!oe.hasOwnProperty(i)&&(l[i]=t[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===l[i]&&(l[i]=u[i])}if(a||s){var c="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){J||(J=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(l,c),s&&function(e,t){var n=function(){ee||(ee=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(l,c)}return re(e,a,s,r,o,ne.current,l)}var le,ae=b.ReactCurrentOwner,se=b.ReactDebugCurrentFrame;function ue(e){if(e){var t=e._owner,n=B(e.type,e._source,t?t.type:null);se.setExtraStackFrame(n)}else se.setExtraStackFrame(null)}function ce(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function de(){if(ae.current){var e=k(ae.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}le=!1;var pe={};function fe(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=de();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!pe[n]){pe[n]=!0;var o="";e&&e._owner&&e._owner!==ae.current&&(o=" It was passed a child from "+k(e._owner.type)+"."),ue(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),ue(null)}}}function he(e,t){if("object"==typeof e)if(Z(e))for(var n=0;n<e.length;n++){var o=e[n];ce(o)&&fe(o,t)}else if(ce(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,l=r.call(e);!(i=l.next()).done;)ce(i.value)&&fe(i.value,t)}}function me(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==p)return;t=n.propTypes}if(t){var o=k(n);!function(e,t,n,o,r){var i=Function.call.bind(U);for(var l in e)if(i(e,l)){var a=void 0;try{if("function"!=typeof e[l]){var s=Error((o||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}a=e[l](t,l,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){a=e}a&&!(a instanceof Error)&&(K(r),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,l,typeof a),K(null)),a instanceof Error&&!(a.message in W)&&(W[a.message]=!0,K(r),v("Failed %s type: %s",n,a.message),K(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||le||(le=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ge(e,t,o,m,g,b){var S=function(e){return!!("string"==typeof e||"function"==typeof e||e===r||e===l||E||e===i||e===c||e===d||O||e===h||w||x||C||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===y||void 0!==e.getModuleId))}(e);if(!S){var R="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);R+=N||de(),null===e?T="null":Z(e)?T="array":void 0!==e&&e.$$typeof===n?(T="<"+(k(e.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,R)}var P=ie(e,t,o,g,b);if(null==P)return P;if(S){var _=t.children;if(void 0!==_)if(m)if(Z(_)){for(var M=0;M<_.length;M++)he(_[M],e);Object.freeze&&Object.freeze(_)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else he(_,e)}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){ue(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),ue(null);break}}null!==e.ref&&(ue(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ue(null))}(P):me(P),P}var be=function(e,t,n){return ge(e,t,n,!1)},ve=function(e,t,n){return ge(e,t,n,!0)};Pe.Fragment=r,Pe.jsx=be,Pe.jsxs=ve}()),Pe);var _e=Re.exports;const Me=({color:e="primary",dataTest:t,...n})=>_e.jsx(v,{color:e,"data-test":t,...n,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-badge-background)",color:"var(--colors-badge-text)"},...n.sx}}),Ie=(e,...t)=>_e.jsx(y,{"data-test":e,...t});function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},je.apply(this,arguments)}function De(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}function Fe(e,t){return(Fe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fe(e,t)}const Le=!1;var Ve="production"!==process.env.NODE_ENV?oe.oneOfType([oe.number,oe.shape({enter:oe.number,exit:oe.number,appear:oe.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&oe.oneOfType([oe.string,oe.shape({enter:oe.string,exit:oe.string,active:oe.string}),oe.shape({enter:oe.string,enterDone:oe.string,enterActive:oe.string,exit:oe.string,exitDone:oe.string,exitActive:oe.string})]);const $e=t.createContext(null);var qe="unmounted",He="exited",ze="entering",Be="entered",Ue="exiting",We=function(e){function n(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=He,o.appearStatus=ze):r=Be:r=t.unmountOnExit||t.mountOnEnter?qe:He,o.state={status:r},o.nextCallback=null,o}Ae(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===qe?{status:He}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ze&&n!==Be&&(t=ze):(n===ze||n===Be)&&(t=Ue)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ze){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:ue.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===He&&this.setState({status:qe})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[ue.findDOMNode(this),o],i=r[0],l=r[1],a=this.getTimeouts(),s=o?a.appear:a.enter;!e&&!n||Le?this.safeSetState({status:Be},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:ze},(function(){t.props.onEntering(i,l),t.onTransitionEnd(s,(function(){t.safeSetState({status:Be},(function(){t.props.onEntered(i,l)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:ue.findDOMNode(this);t&&!Le?(this.props.onExit(o),this.safeSetState({status:Ue},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:He},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:He},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:ue.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],l=r[1];this.props.addEndListener(i,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===qe)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=De(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement($e.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function Ge(){}We.contextType=$e,We.propTypes="production"!==process.env.NODE_ENV?{nodeRef:oe.shape({current:typeof Element>"u"?oe.any:function(e,t,n,o,r,i){var l=e[t];return oe.instanceOf(l&&"ownerDocument"in l?l.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:oe.oneOfType([oe.func.isRequired,oe.element.isRequired]).isRequired,in:oe.bool,mountOnEnter:oe.bool,unmountOnExit:oe.bool,appear:oe.bool,enter:oe.bool,exit:oe.bool,timeout:function(e){var t=Ve;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:oe.func,onEnter:oe.func,onEntering:oe.func,onEntered:oe.func,onExit:oe.func,onExiting:oe.func,onExited:oe.func}:{},We.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ge,onEntering:Ge,onEntered:Ge,onExit:Ge,onExiting:Ge,onExited:Ge},We.UNMOUNTED=qe,We.EXITED=He,We.ENTERING=ze,We.ENTERED=Be,We.EXITING=Ue;const Ke=We;function Ye(e,t){var r=Object.create(null);return e&&n.map(e,(function(e){return e})).forEach((function(e){var n;r[e.key]=(n=e,t&&o(n)?t(n):n)})),r}function Ze(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Xe(e,t){return Ye(e.children,(function(n){return r(n,{onExited:t.bind(null,n),in:!0,appear:Ze(n,"appear",e),enter:Ze(n,"enter",e),exit:Ze(n,"exit",e)})}))}function Qe(e,t,n){var i=Ye(e.children),l=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o=Object.create(null),r=[];for(var i in e)i in t?r.length&&(o[i]=r,r=[]):r.push(i);var l,a={};for(var s in t){if(o[s])for(l=0;l<o[s].length;l++){var u=o[s][l];a[o[s][l]]=n(u)}a[s]=n(s)}for(l=0;l<r.length;l++)a[r[l]]=n(r[l]);return a}(t,i);return Object.keys(l).forEach((function(a){var s=l[a];if(o(s)){var u=a in t,c=a in i,d=t[a],p=o(d)&&!d.props.in;!c||u&&!p?c||!u||p?c&&u&&o(d)&&(l[a]=r(s,{onExited:n.bind(null,s),in:d.props.in,exit:Ze(s,"exit",e),enter:Ze(s,"enter",e)})):l[a]=r(s,{in:!1}):l[a]=r(s,{onExited:n.bind(null,s),in:!0,exit:Ze(s,"exit",e),enter:Ze(s,"enter",e)})}})),l}var Je=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},et=function(e){function n(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},o}Ae(n,e);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var n=t.children,o=t.handleExited;return{children:t.firstRender?Xe(e,o):Qe(e,n,o),firstRender:!1}},o.handleExited=function(e,t){var n=Ye(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=je({},t.children);return delete n[e.key],{children:n}})))},o.render=function(){var e=this.props,n=e.component,o=e.childFactory,r=De(e,["component","childFactory"]),i=this.state.contextValue,l=Je(this.state.children).map(o);return delete r.appear,delete r.enter,delete r.exit,null===n?t.createElement($e.Provider,{value:i},l):t.createElement($e.Provider,{value:i},t.createElement(n,r,l))},n}(t.Component);et.propTypes="production"!==process.env.NODE_ENV?{component:oe.any,children:oe.node,appear:oe.bool,enter:oe.bool,exit:oe.bool,childFactory:oe.func}:{},et.defaultProps={component:"div",childFactory:function(e){return e}};const tt=et;function nt(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function ot(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function rt(e){if(!ot(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=rt(e[n])})),t}function it(e,t,n={clone:!0}){const o=n.clone?je({},e):e;return ot(e)&&ot(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(ot(t[r])&&r in e&&ot(e[r])?o[r]=it(e[r],t[r],n):n.clone?o[r]=ot(t[r])?rt(t[r]):t[r]:o[r]=t[r])})),o}function lt(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(a="Did you accidentally use a plain function component for an element instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const at=nt(oe.element,lt);at.isRequired=nt(oe.element.isRequired,lt);const st=at;const ut=nt(oe.elementType,(function(e,t,n,o,r){const i=e[t],l=r||t;if(null==i||typeof window>"u")return null;let a;return"function"==typeof i&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(i)&&(a="Did you accidentally provide a plain function component instead?"),void 0!==a?new Error(`Invalid ${o} \`${l}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));function ct(e){return"production"===process.env.NODE_ENV?e:je({},e,{"exact-prop: ​":t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function dt(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var pt,ft={exports:{}},ht={};
20
20
  /**
21
21
  * @license React
22
22
  * react-is.production.min.js
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.19.9",
6
+ "version": "2.19.20",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",