asma-core-ui 3.1.44 → 3.1.46

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.
@@ -1,4 +1,4 @@
1
- var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r})(t,"symbol"!=typeof n?n+"":n,r),r);import*as n from"react";import r,{forwardRef as o,createElement as i,useState as a,useEffect as s,useLayoutEffect as l,useRef as c,useCallback as u}from"react";import{Badge as d,Chip as p,Tooltip as f,Typography as h,Dialog as m,DialogActions as g,DialogContent as y,DialogTitle as b,Checkbox as v,TextField as x,Select as w,MenuItem as k,Autocomplete as C,Paper as j,Slider as N,Switch as _,Radio as S,RadioGroup as E,FormControl as O,FormControlLabel as T,FormHelperText as I,InputLabel as M,FormGroup as R,Drawer as D,Menu as P,MenuList as z,Tab as A,Tabs as L,Popover as $}from"@mui/material";import{Avatar as F,ClickAwayListener as B,Container as V,Fade as q,FormLabel as H,Paper as U,Popper as W,Skeleton as K,Stack as G}from"@mui/material";import{twMerge as Y}from"tailwind-merge";import X from"prop-types";import{ThemeContext as J}from"@emotion/react";import*as Z from"react-dom";import Q from"react-dom";const ee=(e,t)=>Object.fromEntries(Object.entries(e).filter((([e])=>!t.includes(e))));function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function re(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function oe(e){re(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===te(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function ie(e,t){return(ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ae(e,t){re(2,arguments);var n=oe(e),r=ne(t),o=n.getFullYear(),i=n.getDate(),a=new Date(0);a.setFullYear(o,r,15),a.setHours(0,0,0,0);var s=function(e){re(1,arguments);var t=oe(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}(a);return n.setMonth(r,Math.min(i,s)),n}function se(e,t){if(re(2,arguments),"object"!==te(t)||null===t)throw new RangeError("values parameter must be an object");var n=oe(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=ae(n,t.month)),null!=t.date&&n.setDate(ne(t.date)),null!=t.hours&&n.setHours(ne(t.hours)),null!=t.minutes&&n.setMinutes(ne(t.minutes)),null!=t.seconds&&n.setSeconds(ne(t.seconds)),null!=t.milliseconds&&n.setMilliseconds(ne(t.milliseconds)),n)}const le=e=>se(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),ce=e=>se(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function ue(e){return o((function(t,n){const{ownerState:r,...o}=t;return i(e,{...o,ref:n})}))}var de,pe={exports:{}},fe={};
1
+ var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r})(t,"symbol"!=typeof n?n+"":n,r),r);import*as n from"react";import r,{forwardRef as o,createElement as i,useState as a,useEffect as s,useLayoutEffect as l,useRef as c,useCallback as u,createContext as d,useContext as p}from"react";import{Badge as f,Chip as h,Checkbox as m,Tooltip as g,Typography as y,Dialog as v,DialogActions as b,DialogContent as x,DialogTitle as w,TextField as k,Select as C,MenuItem as j,Autocomplete as N,Paper as _,Slider as E,Switch as S,Radio as O,RadioGroup as I,FormControl as T,FormControlLabel as M,FormHelperText as R,InputLabel as D,FormGroup as P,Drawer as z,Menu as A,MenuList as L,Tab as $,Tabs as F,Popover as V}from"@mui/material";import{Avatar as B,ClickAwayListener as q,Container as H,Fade as U,FormLabel as W,Paper as K,Popper as G,Skeleton as Y,Stack as X}from"@mui/material";import{twMerge as J}from"tailwind-merge";import Z from"prop-types";import{ThemeContext as Q}from"@emotion/react";import*as ee from"react-dom";import te from"react-dom";const ne=(e,t)=>Object.fromEntries(Object.entries(e).filter((([e])=>!t.includes(e))));function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oe(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ie(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ae(e){ie(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===re(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function se(e,t){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function le(e,t){ie(2,arguments);var n=ae(e),r=oe(t),o=n.getFullYear(),i=n.getDate(),a=new Date(0);a.setFullYear(o,r,15),a.setHours(0,0,0,0);var s=function(e){ie(1,arguments);var t=ae(e),n=t.getFullYear(),r=t.getMonth(),o=new Date(0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}(a);return n.setMonth(r,Math.min(i,s)),n}function ce(e,t){if(ie(2,arguments),"object"!==re(t)||null===t)throw new RangeError("values parameter must be an object");var n=ae(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=le(n,t.month)),null!=t.date&&n.setDate(oe(t.date)),null!=t.hours&&n.setHours(oe(t.hours)),null!=t.minutes&&n.setMinutes(oe(t.minutes)),null!=t.seconds&&n.setSeconds(oe(t.seconds)),null!=t.milliseconds&&n.setMilliseconds(oe(t.milliseconds)),n)}const ue=e=>ce(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),de=e=>ce(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function pe(e){return o((function(t,n){const{ownerState:r,...o}=t;return i(e,{...o,ref:n})}))}var fe,he={exports:{}},me={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
@@ -7,7 +7,7 @@ var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,c
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var he,me={};
10
+ */var ge,ye={};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.development.js
@@ -16,7 +16,7 @@ var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,c
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?pe.exports=function(){if(de)return fe;de=1;var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,r){var s,l={},c=null,u=null;for(s in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)o.call(n,s)&&!a.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return fe.Fragment=n,fe.jsx=s,fe.jsxs=s,fe}():pe.exports=(he||(he=1,"production"!==process.env.NODE_ENV&&function(){var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=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",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame,o=r.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));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 v,x=!1,w=!1,k=!1,C=!1,j=!1;function N(e){return e.displayName||"Context"}function _(e){if(null==e)return null;if("number"==typeof e.tag&&b("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 o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return N(e)+".Consumer";case s:return N(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:_(e.type)||"Memo";case f:var r=e,h=r._payload,m=r._init;try{return _(m(h))}catch{return null}}return null}v=Symbol.for("react.module.reference");var S,E,O,T,I,M,R,D=Object.assign,P=0;function z(){}z.__reactDisabledLog=!0;var A,L=y.ReactCurrentDispatcher;function $(e,t,n){if(void 0===A)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return"\n"+A+e}var F,B=!1,V="function"==typeof WeakMap?WeakMap:Map;function q(e,t){if(!e||B)return"";var n,r=F.get(e);if(void 0!==r)return r;B=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=L.current,L.current=null,function(){if(0===P){S=console.log,E=console.info,O=console.warn,T=console.error,I=console.group,M=console.groupCollapsed,R=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}P++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),c=s.length-1,u=l.length-1;c>=1&&u>=0&&s[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==l[u]){var d="\n"+s[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{B=!1,L.current=o,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:S}),info:D({},e,{value:E}),warn:D({},e,{value:O}),error:D({},e,{value:T}),group:D({},e,{value:I}),groupCollapsed:D({},e,{value:M}),groupEnd:D({},e,{value:R})})}P<0&&b("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?$(p):"";return"function"==typeof e&&F.set(e,f),f}function H(e,t,n){if(null==e)return"";if("function"==typeof e)return q(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return $(e);switch(e){case u:return $("Suspense");case d:return $("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return q(e,!1)}(e.render);case p:return H(e.type,t,n);case f:var r=e,o=r._payload,i=r._init;try{return H(i(o),t,n)}catch{}}return""}F=new V;var U=Object.prototype.hasOwnProperty,W={},K=y.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);K.setExtraStackFrame(n)}else K.setExtraStackFrame(null)}var Y=Array.isArray;function X(e){return Y(e)}function J(e){return""+e}function Z(e){if(function(e){try{return J(e),!1}catch{return!0}}(e))return b("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)),J(e)}var Q,ee,te,ne=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var oe=function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ie(e,t,n,r,o){var i,a={},s=null,l=null;for(i in void 0!==n&&(Z(n),s=""+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)&&(Z(t.key),s=""+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)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=_(ne.current.type);te[n]||(b('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',_(ne.current.type),e.ref),te[n]=!0)}}(t,o)),t)U.call(t,i)&&!re.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===a[i]&&(a[i]=c[i])}if(s||l){var u="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var n=function(){Q||(Q=!0,b("%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})}(a,u),l&&function(e,t){var n=function(){ee||(ee=!0,b("%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})}(a,u)}return oe(e,s,l,o,r,ne.current,a)}var ae,se=y.ReactCurrentOwner,le=y.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(n)}else le.setExtraStackFrame(null)}function ue(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function de(){if(se.current){var e=_(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!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 r="";e&&e._owner&&e._owner!==se.current&&(r=" It was passed a child from "+_(e._owner.type)+"."),ce(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ce(null)}}}function he(e,t){if("object"==typeof e)if(X(e))for(var n=0;n<e.length;n++){var r=e[n];ue(r)&&fe(r,t)}else if(ue(e))e._store&&(e._store.validated=!0);else if(e){var o=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 o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ue(i.value)&&fe(i.value,t)}}function ge(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!==c&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=_(n);!function(e,t,n,r,o){var i=Function.call.bind(U);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(G(o),b("%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).",r||"React class",n,a,typeof s),G(null)),s instanceof Error&&!(s.message in W)&&(W[s.message]=!0,G(o),b("Failed %s type: %s",n,s.message),G(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ae||(ae=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ye(e,n,r,m,g,y){var N=function(e){return!!("string"==typeof e||"function"==typeof e||e===o||e===a||j||e===i||e===u||e===d||C||e===h||x||w||k||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||void 0!==e.getModuleId))}(e);if(!N){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" 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 E,O=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=O||de(),null===e?E="null":X(e)?E="array":void 0!==e&&e.$$typeof===t?(E="<"+(_(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):E=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,S)}var T=ie(e,n,r,g,y);if(null==T)return T;if(N){var I=n.children;if(void 0!==I)if(m)if(X(I)){for(var M=0;M<I.length;M++)he(I[M],e);Object.freeze&&Object.freeze(I)}else b("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(I,e)}return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ce(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ce(null);break}}null!==e.ref&&(ce(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(T):ge(T),T}var be=function(e,t,n){return ye(e,t,n,!1)},ve=function(e,t,n){return ye(e,t,n,!0)};me.Fragment=o,me.jsx=be,me.jsxs=ve}()),me);var ge=pe.exports;const ye=({color:e="primary",dataTest:t,...n})=>ge.jsx(d,{color:e,"data-test":t,...n,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...n.sx}}),be=/^[a-z0-9]+(-[a-z0-9]+)*$/,ve=(e,t,n,r="")=>{const o=e.split(":");if("@"===e.slice(0,1)){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const e=o.pop(),n=o.pop(),i={provider:o.length>0?o[0]:r,prefix:n,name:e};return t&&!xe(i)?null:i}const i=o[0],a=i.split("-");if(a.length>1){const e={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!xe(e)?null:e}if(n&&""===r){const e={provider:r,prefix:"",name:i};return t&&!xe(e,n)?null:e}return null},xe=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(be)||!(t&&""===e.prefix||e.prefix.match(be))||!e.name.match(be)),we=Object.freeze({left:0,top:0,width:16,height:16}),ke=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ce=Object.freeze({...we,...ke}),je=Object.freeze({...Ce,body:"",hidden:!1});function Ne(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in je)r in ke?r in e&&!(r in n)&&(n[r]=ke[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function _e(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(e){i=Ne(r[e]||o[e],i)}return a(t),n.forEach(a),Ne(e,i)}function Se(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const r=function(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);return(t||Object.keys(n).concat(Object.keys(r))).forEach((function e(t){if(n[t])return o[t]=[];if(!(t in o)){o[t]=null;const n=r[t]&&r[t].parent,i=n&&e(n);i&&(o[t]=[n].concat(i))}return o[t]})),o}(e);for(const o in r){const i=r[o];i&&(t(o,_e(e,o,i)),n.push(o))}return n}const Ee={provider:"",aliases:{},not_found:{},...we};function Oe(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Te(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Oe(e,Ee))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(be)||"string"!=typeof t.body||!Oe(t,je))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],o=t.parent;if(!e.match(be)||"string"!=typeof o||!n[o]&&!r[o]||!Oe(t,je))return null}return t}const Ie=Object.create(null);function Me(e,t){const n=Ie[e]||(Ie[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Re(e,t){return Te(t)?Se(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let De=!1;function Pe(e){return"boolean"==typeof e&&(De=e),De}function ze(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),De&&!t&&!e.prefix){let t=!1;return Te(e)&&(e.prefix="",Se(e,((e,n)=>{n&&function(e,t){const n=ve(e,!0,De);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(Me(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!xe({provider:t,prefix:n,name:"a"}))return!1;return!!Re(Me(t,n),e)}const Ae=Object.freeze({width:null,height:null}),Le=Object.freeze({...Ae,...ke}),$e=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Fe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Be(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const r=e.split($e);if(null===r||!r.length)return e;const o=[];let i=r.shift(),a=Fe.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?o.push(i):o.push(Math.ceil(e*t*n)/n)}else o.push(i);if(i=r.shift(),void 0===i)return o.join("");a=!a}}const Ve=/\sid="(\S+)"/g,qe="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let He=0;function Ue(e,t=qe){const n=[];let r;for(;r=Ve.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const r="function"==typeof t?t(n):t+(He++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")})),e=e.replace(new RegExp(o,"g"),"")}const We=Object.create(null);function Ke(e){return We[e]||We[""]}function Ge(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ye=Object.create(null),Xe=["https://api.simplesvg.com","https://api.unisvg.com"],Je=[];for(;Xe.length>0;)1===Xe.length||Math.random()>.5?Je.push(Xe.shift()):Je.push(Xe.pop());function Ze(e,t){const n=Ge(t);return null!==n&&(Ye[e]=n,!0)}function Qe(e){return Ye[e]}Ye[""]=Ge({resources:["https://api.iconify.design"].concat(Je)});let et=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const tt={prepare:(e,t,n)=>{const r=[],o=function(e,t){const n=Qe(e);if(!n)return 0;let r;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const o=t+".json?icons=";r=n.maxURL-e-n.path.length-o.length}else r=0;return r}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach(((n,l)=>{s+=n.length+1,s>=o&&l>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=n.length),a.icons.push(n)})),r.push(a),r},send:(e,t,n)=>{if(!et)return void n("abort",424);let r=function(e){if("string"==typeof e){const t=Qe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let o=503;et(e+r).then((e=>{const t=e.status;if(200===t)return o=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",o)}))})).catch((()=>{n("next",o)}))}};function nt(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let rt=0;var ot={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function it(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l,c="pending",u=0,d=null,p=[],f=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===c&&(c="aborted"),h(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(f=[]),"function"==typeof e&&f.push(e)}function y(){c="failed",f.forEach((e=>{e(void 0,l)}))}function b(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function v(){if("pending"!==c)return;h();const r=a.shift();if(void 0===r)return p.length?void(d=setTimeout((()=>{h(),"pending"===c&&(b(),y())}),e.timeout)):void y();const o={status:"pending",resource:r,callback:(t,n)=>{!function(t,n,r){const o="success"!==n;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return l=r,void y();if(o)return l=r,void(p.length||(a.length?v():y()));if(h(),b(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",f.forEach((e=>{e(r)}))}(o,t,n)}};p.push(o),u++,d=setTimeout(v,e.rotate),n(r,t,o.callback)}return"function"==typeof r&&f.push(r),setTimeout(v),function(){return{startTime:s,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:m}}}function at(e){const t={...ot,...e};let n=[];function r(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,o,i){const a=it(t,e,o,((e,t)=>{r(),i&&i(e,t)}));return n.push(a),a},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function st(){}const lt=Object.create(null);function ct(e,t,n){let r,o;if("string"==typeof e){const t=Ke(e);if(!t)return n(void 0,424),st;o=t.send;const i=function(e){if(!lt[e]){const t=Qe(e);if(!t)return;const n={config:t,redundancy:at(t)};lt[e]=n}return lt[e]}(e);i&&(r=i.redundancy)}else{const t=Ge(e);if(t){r=at(t);const n=Ke(e.resources?e.resources[0]:"");n&&(o=n.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),st)}const ut="iconify2",dt="iconify",pt=dt+"-count",ft=dt+"-version",ht=36e5,mt=168;function gt(e,t){try{return e.getItem(t)}catch{}}function yt(e,t,n){try{return e.setItem(t,n),!0}catch{}}function bt(e,t){try{e.removeItem(t)}catch{}}function vt(e,t){return yt(e,pt,t.toString())}function xt(e){return parseInt(gt(e,pt))||0}const wt={local:!0,session:!0},kt={local:new Set,session:new Set};let Ct=!1;let jt=typeof window>"u"?{}:window;function Nt(e){const t=e+"Storage";try{if(jt&&jt[t]&&"number"==typeof jt[t].length)return jt[t]}catch{}wt[e]=!1}function _t(e,t){const n=Nt(e);if(!n)return;const r=gt(n,ft);if(r!==ut){if(r){const e=xt(n);for(let t=0;t<e;t++)bt(n,dt+t.toString())}return yt(n,ft,ut),void vt(n,0)}const o=Math.floor(Date.now()/ht)-mt,i=e=>{const r=dt+e.toString(),i=gt(n,r);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>o&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}bt(n,r)}};let a=xt(n);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,vt(n,a)):kt[e].add(t))}function St(){if(!Ct){Ct=!0;for(const e in wt)_t(e,(e=>{const t=e.data,n=Me(e.provider,t.prefix);if(!Re(n,t).length)return!1;const r=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,r):r,!0}))}}function Et(e,t){function n(n){let r;if(!wt[n]||!(r=Nt(n)))return;const o=kt[n];let i;if(o.size)o.delete(i=Array.from(o).shift());else if(i=xt(r),!vt(r,i+1))return;const a={cached:Math.floor(Date.now()/ht),provider:e.provider,data:t};return yt(r,dt+i.toString(),JSON.stringify(a))}Ct||St(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in wt)_t(n,(n=>{const r=n.data;return n.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function Ot(){}function Tt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==o)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else{if(!e.missing.has(a))return n=!0,!0;i.missing.push({provider:r,prefix:o,name:a})}return!1})),i.pending.length!==a&&(n||nt([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const It=(e,t)=>{const n=function(e,t=!0,n=!1){const r=[];return e.forEach((e=>{const o="string"==typeof e?ve(e,t,n):e;o&&r.push(o)})),r}(e,!0,Pe()),r=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let r={provider:"",prefix:"",name:""};return e.forEach((e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const o=e.provider,i=e.prefix,a=e.name,s=n[o]||(n[o]=Object.create(null)),l=s[i]||(s[i]=Me(o,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const u={provider:o,prefix:i,name:a};c.push(u)})),t}(n);if(!r.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(r.loaded,r.missing,r.pending,Ot)})),()=>{e=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===s&&t===a)return;a=t,s=n,i.push(Me(t,n));const r=o[t]||(o[t]=Object.create(null));r[n]||(r[n]=[])})),r.pending.forEach((e=>{const{provider:t,prefix:n,name:r}=e,i=Me(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),o[t][n].push(r))})),i.forEach((e=>{const{provider:t,prefix:n}=e;o[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,r=e.iconsToLoad;let o;delete e.iconsToLoad,r&&(o=Ke(t))&&o.prepare(t,n,r).forEach((n=>{ct(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=Re(e,t);if(!n.length)return;const r=e.pendingIcons;r&&n.forEach((e=>{r.delete(e)})),Et(e,t)}catch(e){console.error(e)}Tt(e)}))}))})))}(e,o[t][n])})),t?function(e,t,n){const r=rt++,o=nt.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),o}(t,r,i):Ot};const Mt=/[\s,]+/;function Rt(e,t){t.split(Mt).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function Dt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o/=t,o%1==0?r(o):0)}}return t}function Pt(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let zt;function At(e){return void 0===zt&&function(){try{zt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{zt=null}}(),zt?zt.createHTML(e):e}const Lt={...Le,inline:!1},$t={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ft={display:"inline-block"},Bt={backgroundColor:"currentColor"},Vt={backgroundColor:"transparent"},qt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ht={WebkitMask:Bt,mask:Bt,background:Vt};for(const e in Ht){const t=Ht[e];for(const n in qt)t[e+n]=qt[n]}const Ut={...Lt,inline:!0};function Wt(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Kt=(e,t,n,o)=>{const i=n?Ut:Lt,a=function(e,t){const n={...e};for(const e in t){const r=t[e],o=typeof r;e in Ae?(null===r||r&&("string"===o||"number"===o))&&(n[e]=r):o===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(i,t),s=t.mode||"svg",l={},c=t.style||{},u={..."svg"===s?$t:{},ref:o};for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&Rt(a,n);break;case"color":l.color=n;break;case"rotate":"string"==typeof n?a[e]=Dt(n):"number"==typeof n&&(a[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete u["aria-hidden"];break;default:void 0===i[e]&&(u[e]=n)}}const d=function(e,t){const n={...Ce,...e},r={...Le,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach((e=>{const t=[],n=e.hFlip,r=e.vFlip;let a,s=e.rotate;switch(n?r?s+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=o.height/2+o.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:a=o.width/2+o.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(o.left!==o.top&&(a=o.left,o.left=o.top,o.top=a),o.width!==o.height&&(a=o.width,o.width=o.height,o.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=r.width,s=r.height,l=o.width,c=o.height;let u,d;null===a?(d=null===s?"1em":"auto"===s?c:s,u=Be(d,l/c)):(u="auto"===a?l:a,d=null===s?Be(u,c/l):"auto"===s?c:s);const p={},f=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return f("width",u),f("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=d.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){u.style={...l,...c},Object.assign(u,p);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),u.dangerouslySetInnerHTML={__html:At(Ue(d.body,n?()=>n+"ID"+e++:"iconifyReact"))},r.createElement("svg",u)}const{body:f,width:h,height:m}=e,g="mask"===s||"bg"!==s&&-1!==f.indexOf("currentColor"),y=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(f,{...p,width:h+"",height:m+""});return u.style={...l,"--svg":Pt(y),width:Wt(p.width),height:Wt(p.height),...Ft,...g?Bt:Vt,...c},r.createElement("span",u)};var Gt;if(Pe(!0),Gt=tt,We[""]=Gt,typeof document<"u"&&typeof window<"u"){St();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!ze(e))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Ze(e,r)||console.error(n)}catch{console.error(n)}}}}class Yt extends r.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,n=this.props.icon;if("object"==typeof n&&null!==n&&"string"==typeof n.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:n}));let r;if("string"!=typeof n||null===(r=ve(n,!1,!0)))return this._abortLoading(),void this._setData(null);const o=function(e){const t="string"==typeof e?ve(e,!0,De):e;if(t){const e=Me(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(r);if(o){if(this._icon!==n||null===t.icon){this._abortLoading(),this._icon=n;const e=["iconify"];""!==r.prefix&&e.push("iconify--"+r.prefix),""!==r.provider&&e.push("iconify--"+r.provider),this._setData({data:o,classes:e}),this.props.onLoad&&this.props.onLoad(n)}}else(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),null!==o&&(this._loading={name:n,abort:It([r],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,t=this.state.icon;if(null===t)return e.children?e.children:r.createElement("span",{});let n=e;return t.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+t.classes.join(" ")}),Kt({...Ce,...t.data},n,e._inline,e._ref)}}const Xt=r.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!1};return r.createElement(Yt,n)}));r.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!0};return r.createElement(Yt,n)}));const Jt="_icon_1czju_5",Zt=({width:e=20,height:t=20,className:n="",icon:r,onClick:o,color:i,vFlip:a=!1})=>ge.jsx(Xt,{onClick:o,icon:r,width:e,height:t,className:`${Jt} ${n}`,color:i,vFlip:a}),Qt=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:bell-outline",width:e,height:t,className:n,onClick:r,color:o}),en=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:bell",width:e,height:t,className:n,onClick:r,color:o}),tn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"charm:menu-hamburger",width:e,height:t,className:n,onClick:r,color:o}),nn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-right",width:e,height:t,className:n,onClick:r,color:o}),rn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-left",width:e,height:t,className:n,onClick:r,color:o}),on=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-double-left",width:e,height:t,className:n,onClick:r,color:o}),an=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-double-right",width:e,height:t,className:n,onClick:r,color:o}),sn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:n,onClick:r,color:o}),ln=({width:e=20,height:t=20,className:n="",onClick:r,color:o=""})=>ge.jsx(Zt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:n,onClick:r,color:o}),cn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:view-dashboard",width:e,height:t,className:n,onClick:r,color:o}),un=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:n,onClick:r,color:o}),dn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:outline-people-alt",width:e,height:t,className:n,onClick:r,color:o}),pn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:sharp-people",width:e,height:t,className:n,onClick:r,color:o});function fn(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function hn(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function mn(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const gn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:calendar-blank",width:e,height:t,className:n,onClick:r,color:o}),yn=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),bn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:calendar-range",width:e,height:t,className:n,onClick:r,color:o}),vn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-assignment",width:e,height:t,className:n,onClick:r,color:o}),xn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:n,onClick:r,color:o}),wn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:n,onClick:r,color:o}),kn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:message-processing",width:e,height:t,className:n,onClick:r,color:o}),Cn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:message-processing-outline",width:e,height:t,className:n,onClick:r,color:o}),jn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:report-box",width:e,height:t,className:n,onClick:r,color:o}),Nn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:report-box-outline",width:e,height:t,className:n,onClick:r,color:o}),_n=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:settings",width:e,height:t,className:n,onClick:r,color:o}),Sn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:settings-outline",width:e,height:t,className:n,onClick:r,color:o}),En=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-sync",width:e,height:t,className:n,onClick:r,color:o,vFlip:!0}),On=({color:e="black",size:t="20",className:n=""})=>ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[ge.jsx("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),ge.jsx("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),ge.jsx("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),ge.jsx("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Tn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:round-person",width:e,height:t,className:n,onClick:r,color:o}),In=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:round-person-outline",width:e,height:t,className:n,onClick:r,color:o}),Mn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:dots-vertical",width:e,height:t,className:n,onClick:r,color:o}),Rn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:outline-search",width:e,height:t,className:n,onClick:r,color:o}),Dn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:n,onClick:r,color:o}),Pn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:n,onClick:r,color:o}),zn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:n,onClick:r,color:o}),An=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"eva:archive-fill",width:e,height:t,className:n,onClick:r,color:o}),Ln=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-download",width:e,height:t,className:n,onClick:r,color:o}),$n=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:n,onClick:r,color:o}),Fn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-down",width:e,height:t,className:n,onClick:r,color:o}),Bn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:chevron-up",width:e,height:t,className:n,onClick:r,color:o}),Vn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-close",width:e,height:t,className:n,onClick:r,color:o}),qn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-check",width:e,height:t,className:n,onClick:r,color:o}),Hn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:perm-media",width:e,height:t,className:n,onClick:r,color:o}),Un=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:n,onClick:r,color:o}),Wn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:inbox",width:e,height:t,className:n,onClick:r,color:o}),Kn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:inbox-outline",width:e,height:t,className:n,onClick:r,color:o}),Gn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:sharp-topic",width:e,height:t,className:n,onClick:r,color:o}),Yn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:n,onClick:r,color:o}),Xn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:n,onClick:r,color:o}),Jn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:delete-outline",width:e,height:t,className:n,onClick:r,color:o}),Zn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:filter-variant",width:e,height:t,className:n,onClick:r,color:o}),Qn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:lock-outline",width:e,height:t,className:n,onClick:r,color:o}),er=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:baseline-dvr",width:e,height:t,className:n,onClick:r,color:o}),tr=({width:e=20,height:t=20,className:n="",onClick:r,color:o="var(--colors-error-500)"})=>ge.jsx(Zt,{icon:"mdi:error-outline",width:e,height:t,className:n,onClick:r,color:o}),nr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:replay",width:e,height:t,className:n,onClick:r,color:o}),rr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:n,onClick:r,color:o}),or=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:outline-link",width:e,height:t,className:n,onClick:r,color:o}),ir=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:n,onClick:r,color:o}),ar=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:n,onClick:r,color:o}),sr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:list-status",width:e,height:t,className:n,onClick:r,color:o}),lr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:n,onClick:r,color:o}),cr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ri:list-settings-line",width:e,height:t,className:n,onClick:r,color:o}),ur=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"pajamas:earth",width:e,height:t,className:n,onClick:r,color:o}),dr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:n,onClick:r,color:o}),pr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"mdi:pencil-outline",width:e,height:t,className:n,onClick:r,color:o});function fr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const hr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ge.jsx(Zt,{icon:"ic:outline-calendar-month",width:e,height:t,className:n,onClick:r,color:o});function mr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const gr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),yr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function br(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function vr(e){return ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[ge.jsx("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),ge.jsx("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),ge.jsx("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),ge.jsx("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function xr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function wr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function kr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function Cr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function jr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Nr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function _r(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const Sr=({dataTest:e,readOnly:t,...n})=>ge.jsx(p,{...n,"data-test":e,deleteIcon:ge.jsx(Vn,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...n.sx}}),Er=({type:e="checkbox",checked:t,...n})=>{const r="checkbox"===e,o=r?Sa:Ya,i=!n.readOnly&&!r&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return ge.jsx(Sr,{avatar:ge.jsx(o,{dataTest:n.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...n,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...n.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...n.sx}})};function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Or.apply(this,arguments)}function Tr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}const Ir=!1;var Mr="production"!==process.env.NODE_ENV?X.oneOfType([X.number,X.shape({enter:X.number,exit:X.number,appear:X.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&X.oneOfType([X.string,X.shape({enter:X.string,exit:X.string,active:X.string}),X.shape({enter:X.string,enterDone:X.string,enterActive:X.string,exit:X.string,exitDone:X.string,exitActive:X.string})]);const Rr=r.createContext(null);var Dr="unmounted",Pr="exited",zr="entering",Ar="entered",Lr="exiting",$r=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Pr,r.appearStatus=zr):o=Ar:o=t.unmountOnExit||t.mountOnEnter?Dr:Pr,r.state={status:o},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ie(e,t)}(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Dr?{status:Pr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==zr&&n!==Ar&&(t=zr):(n===zr||n===Ar)&&(t=Lr)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===zr){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pr&&this.setState({status:Dr})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Q.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Ir?this.safeSetState({status:Ar},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:zr},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Ar},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Q.findDOMNode(this);t&&!Ir?(this.props.onExit(r),this.safeSetState({status:Lr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Pr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Pr},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Dr)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=Tr(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(Rr.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function Fr(){}$r.contextType=Rr,$r.propTypes="production"!==process.env.NODE_ENV?{nodeRef:X.shape({current:typeof Element>"u"?X.any:function(e,t,n,r,o,i){var a=e[t];return X.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:X.oneOfType([X.func.isRequired,X.element.isRequired]).isRequired,in:X.bool,mountOnEnter:X.bool,unmountOnExit:X.bool,appear:X.bool,enter:X.bool,exit:X.bool,timeout:function(e){var t=Mr;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:X.func,onEnter:X.func,onEntering:X.func,onEntered:X.func,onExit:X.func,onExiting:X.func,onExited:X.func}:{},$r.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fr,onEntering:Fr,onEntered:Fr,onExit:Fr,onExiting:Fr,onExited:Fr},$r.UNMOUNTED=Dr,$r.EXITED=Pr,$r.ENTERING=zr,$r.ENTERED=Ar,$r.EXITING=Lr;const Br=$r;function Vr(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function qr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Hr(e){if(!qr(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Hr(e[n])})),t}function Ur(e,t,n={clone:!0}){const r=n.clone?Or({},e):e;return qr(e)&&qr(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(qr(t[o])&&o in e&&qr(e[o])?r[o]=Ur(e[o],t[o],n):n.clone?r[o]=qr(t[o])?Hr(t[o]):t[o]:r[o]=t[o])})),r}function Wr(e,t,n,r,o){const i=e[t],a=o||t;if(null==i||typeof window>"u")return null;let s;const l=i.type;return"function"==typeof l&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(l)&&(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Kr=Vr(X.element,Wr);Kr.isRequired=Vr(X.element.isRequired,Wr);const Gr=Kr;function Yr(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."}function Xr(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Yr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Jr=e=>e,Zr=(()=>{let e=Jr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Jr}}})(),Qr=Zr,eo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function to(e,t,n="Mui"){const r=eo[t];return r?`${n}-${r}`:`${Qr.generate(e)}-${t}`}const no=["values","unit","step"],ro=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Or({},e,{[t.key]:t.val})),{})};const oo={borderRadius:4},io="production"!==process.env.NODE_ENV?X.oneOfType([X.number,X.string,X.object,X.array]):{};function ao(e,t){return t?Ur(e,t,{clone:!1}):e}const so={xs:0,sm:600,md:900,lg:1200,xl:1536},lo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${so[e]}px)`};function co(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||lo;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||lo;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||so).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function uo(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function po(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:uo(e,n)||r,t&&(o=t(o,r,e)),o}function fo(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=uo(e.theme,r)||{};return co(e,i,(e=>{let r=po(a,o,e);return e===r&&"string"==typeof e&&(r=po(a,o,`${t}${"default"===e?"":Xr(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:io}:{},i.filterProps=[t],i}const ho={m:"margin",p:"padding"},mo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},go={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yo=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!go[e])return[e];e=go[e]}const[t,n]=e.split(""),r=ho[t],o=mo[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),bo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],vo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],xo=[...bo,...vo];function wo(e,t,n,r){var o;const i=null!=(o=uo(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function ko(e){return wo(e,"spacing",8,"spacing")}function Co(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function jo(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Co(t,n),e)),{})}(yo(n),r);return co(e,e[n],o)}function No(e,t){const n=ko(e.theme);return Object.keys(e).map((r=>jo(e,t,r,n))).reduce(ao,{})}function _o(e){return No(e,bo)}function So(e){return No(e,vo)}function Eo(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?ao(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Oo(e){return"number"!=typeof e?e:`${e}px solid`}_o.propTypes="production"!==process.env.NODE_ENV?bo.reduce(((e,t)=>(e[t]=io,e)),{}):{},_o.filterProps=bo,So.propTypes="production"!==process.env.NODE_ENV?vo.reduce(((e,t)=>(e[t]=io,e)),{}):{},So.filterProps=vo,"production"!==process.env.NODE_ENV&&xo.reduce(((e,t)=>(e[t]=io,e)),{});const To=fo({prop:"border",themeKey:"borders",transform:Oo}),Io=fo({prop:"borderTop",themeKey:"borders",transform:Oo}),Mo=fo({prop:"borderRight",themeKey:"borders",transform:Oo}),Ro=fo({prop:"borderBottom",themeKey:"borders",transform:Oo}),Do=fo({prop:"borderLeft",themeKey:"borders",transform:Oo}),Po=fo({prop:"borderColor",themeKey:"palette"}),zo=fo({prop:"borderTopColor",themeKey:"palette"}),Ao=fo({prop:"borderRightColor",themeKey:"palette"}),Lo=fo({prop:"borderBottomColor",themeKey:"palette"}),$o=fo({prop:"borderLeftColor",themeKey:"palette"}),Fo=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=wo(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Co(t,e)});return co(e,e.borderRadius,n)}return null};Fo.propTypes="production"!==process.env.NODE_ENV?{borderRadius:io}:{},Fo.filterProps=["borderRadius"],Eo(To,Io,Mo,Ro,Do,Po,zo,Ao,Lo,$o,Fo);const Bo=e=>{if(void 0!==e.gap&&null!==e.gap){const t=wo(e.theme,"spacing",8,"gap"),n=e=>({gap:Co(t,e)});return co(e,e.gap,n)}return null};Bo.propTypes="production"!==process.env.NODE_ENV?{gap:io}:{},Bo.filterProps=["gap"];const Vo=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=wo(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Co(t,e)});return co(e,e.columnGap,n)}return null};Vo.propTypes="production"!==process.env.NODE_ENV?{columnGap:io}:{},Vo.filterProps=["columnGap"];const qo=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=wo(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Co(t,e)});return co(e,e.rowGap,n)}return null};qo.propTypes="production"!==process.env.NODE_ENV?{rowGap:io}:{},qo.filterProps=["rowGap"];function Ho(e,t){return"grey"===t?t:e}Eo(Bo,Vo,qo,fo({prop:"gridColumn"}),fo({prop:"gridRow"}),fo({prop:"gridAutoFlow"}),fo({prop:"gridAutoColumns"}),fo({prop:"gridAutoRows"}),fo({prop:"gridTemplateColumns"}),fo({prop:"gridTemplateRows"}),fo({prop:"gridTemplateAreas"}),fo({prop:"gridArea"}));function Uo(e){return e<=1&&0!==e?100*e+"%":e}Eo(fo({prop:"color",themeKey:"palette",transform:Ho}),fo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ho}),fo({prop:"backgroundColor",themeKey:"palette",transform:Ho}));const Wo=fo({prop:"width",transform:Uo}),Ko=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||so[t]||Uo(t)}};return co(e,e.maxWidth,t)}return null};Ko.filterProps=["maxWidth"];const Go=fo({prop:"minWidth",transform:Uo}),Yo=fo({prop:"height",transform:Uo}),Xo=fo({prop:"maxHeight",transform:Uo}),Jo=fo({prop:"minHeight",transform:Uo});fo({prop:"size",cssProperty:"width",transform:Uo}),fo({prop:"size",cssProperty:"height",transform:Uo});Eo(Wo,Ko,Go,Yo,Xo,Jo,fo({prop:"boxSizing"}));const Zo={border:{themeKey:"borders",transform:Oo},borderTop:{themeKey:"borders",transform:Oo},borderRight:{themeKey:"borders",transform:Oo},borderBottom:{themeKey:"borders",transform:Oo},borderLeft:{themeKey:"borders",transform:Oo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Fo},color:{themeKey:"palette",transform:Ho},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ho},backgroundColor:{themeKey:"palette",transform:Ho},p:{style:So},pt:{style:So},pr:{style:So},pb:{style:So},pl:{style:So},px:{style:So},py:{style:So},padding:{style:So},paddingTop:{style:So},paddingRight:{style:So},paddingBottom:{style:So},paddingLeft:{style:So},paddingX:{style:So},paddingY:{style:So},paddingInline:{style:So},paddingInlineStart:{style:So},paddingInlineEnd:{style:So},paddingBlock:{style:So},paddingBlockStart:{style:So},paddingBlockEnd:{style:So},m:{style:_o},mt:{style:_o},mr:{style:_o},mb:{style:_o},ml:{style:_o},mx:{style:_o},my:{style:_o},margin:{style:_o},marginTop:{style:_o},marginRight:{style:_o},marginBottom:{style:_o},marginLeft:{style:_o},marginX:{style:_o},marginY:{style:_o},marginInline:{style:_o},marginInlineStart:{style:_o},marginInlineEnd:{style:_o},marginBlock:{style:_o},marginBlockStart:{style:_o},marginBlockEnd:{style:_o},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Bo},rowGap:{style:qo},columnGap:{style:Vo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Uo},maxWidth:{style:Ko},minWidth:{transform:Uo},height:{transform:Uo},maxHeight:{transform:Uo},minHeight:{transform:Uo},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Qo=Zo;const ei=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=uo(n,s)||{};return c?c(o):co(o,t,(t=>{let n=po(u,l,t);return t===n&&"string"==typeof t&&(n=po(u,l,`${e}${"default"===t?"":Xr(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:Qo;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=function(e,t){return"function"==typeof e?e(t):e}(r[n],i);if(null!=o)if("object"==typeof o)if(a[n])l=ao(l,e(n,o,i,a));else{const e=co({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=ao(l,e):l[n]=t({sx:o,theme:i})}else l=ao(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();ei.filterProps=["sx"];const ti=ei,ni=["breakpoints","palette","spacing","shape"];function ri(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Tr(e,ni),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Tr(e,no),i=ro(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Or({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}(n),l=function(e=8){if(e.mui)return e;const t=ko({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let c=Ur({breakpoints:s,direction:"ltr",components:{},palette:Or({mode:"light"},r),spacing:l,shape:Or({},oo,i)},a);return c=t.reduce(((e,t)=>Ur(e,t)),c),c.unstable_sxConfig=Or({},Qo,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}function oi(e=null){const t=n.useContext(J);return!t||function(e){return 0===Object.keys(e).length}(t)?e:t}const ii=ri();function ai(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ai(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function si(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ai(e))&&(r&&(r+=" "),r+=t);return r}function li(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Math.min(Math.max(t,e),n)}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Yr(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Yr(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function ui(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function di(e){let t="hsl"===(e=ci(e)).type||"hsla"===e.type?ci(function(e){e=ci(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ui({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e,t){const n=di(e),r=di(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function fi(e,t){return Or({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const hi={black:"#000",white:"#fff"},mi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},bi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},xi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},wi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ki=["mode","contrastThreshold","tonalOffset"],Ci={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:hi.white,default:hi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ji={text:{primary:hi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:hi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ni(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ui(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ui(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Tr(e,ki),i=e.primary||function(e="light"){return"dark"===e?{main:vi[200],light:vi[50],dark:vi[400]}:{main:vi[700],light:vi[400],dark:vi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:xi[700],light:xi[500],dark:xi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:wi[400],light:wi[300],dark:wi[700]}:{main:wi[800],light:wi[500],dark:wi[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:bi[400],light:bi[300],dark:bi[700]}:{main:"#ed6c02",light:bi[500],dark:bi[900]}}(t);function d(e){const t=pi(e,ji.text.primary)>=n?ji.text.primary:Ci.text.primary;if("production"!==process.env.NODE_ENV){const n=pi(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Or({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Yr(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Yr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ni(e,"light",o,r),Ni(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:ji,light:Ci};return"production"!==process.env.NODE_ENV&&(f[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ur(Or({common:Or({},hi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:mi,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Si=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ei(e){return Math.round(1e5*e)/1e5}const Oi={textTransform:"uppercase"},Ti='"Roboto", "Helvetica", "Arial", sans-serif';function Ii(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Ti,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Tr(n,Si);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,i)=>Or({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Ti?{letterSpacing:`${Ei(o/t)}em`}:{},i,u),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Oi),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Oi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ur(Or({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Mi(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ri=["none",Mi(0,2,1,-1,0,1,1,0,0,1,3,0),Mi(0,3,1,-2,0,2,2,0,0,1,5,0),Mi(0,3,3,-2,0,3,4,0,0,1,8,0),Mi(0,2,4,-1,0,4,5,0,0,1,10,0),Mi(0,3,5,-1,0,5,8,0,0,1,14,0),Mi(0,3,5,-1,0,6,10,0,0,1,18,0),Mi(0,4,5,-2,0,7,10,1,0,2,16,1),Mi(0,5,5,-3,0,8,10,1,0,3,14,2),Mi(0,5,6,-3,0,9,12,1,0,3,16,2),Mi(0,6,6,-3,0,10,14,1,0,4,18,3),Mi(0,6,7,-4,0,11,15,1,0,4,20,3),Mi(0,7,8,-4,0,12,17,2,0,5,22,4),Mi(0,7,8,-4,0,13,19,2,0,5,24,4),Mi(0,7,9,-4,0,14,21,2,0,5,26,4),Mi(0,8,9,-5,0,15,22,2,0,6,28,5),Mi(0,8,10,-5,0,16,24,2,0,6,30,5),Mi(0,8,11,-5,0,17,26,2,0,6,32,5),Mi(0,9,11,-5,0,18,28,2,0,7,34,6),Mi(0,9,12,-6,0,19,29,2,0,7,36,6),Mi(0,10,13,-6,0,20,31,3,0,8,38,7),Mi(0,10,13,-6,0,21,33,3,0,8,40,7),Mi(0,10,14,-6,0,22,35,3,0,8,42,7),Mi(0,11,14,-7,0,23,36,3,0,9,44,8),Mi(0,11,15,-7,0,24,38,3,0,9,46,8)],Di=["duration","easing","delay"],Pi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},zi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ai(e){return`${Math.round(e)}ms`}function Li(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function $i(e){const t=Or({},Pi,e.easing),n=Or({},zi,e.duration);return Or({getAutoHeightDuration:Li,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Tr(r,Di);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!n(o)&&!t(o)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!n(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Ai(o)} ${i} ${"string"==typeof a?a:Ai(a)}`)).join(",")}},e,{easing:t,duration:n})}const Fi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Vi=function(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Tr(e,Bi);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Yr(18));const s=_i(r),l=ri(e);let c=Ur(l,{mixins:fi(l.breakpoints,n),palette:s,shadows:Ri.slice(),typography:Ii(s,i),transitions:$i(o),zIndex:Or({},Fi)});if(c=Ur(c,a),c=t.reduce(((e,t)=>Ur(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=to("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=Or({},Qo,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}(),qi=Vi;function Hi(){const e=function(e=ii){return oi(e)}(qi);return"production"!==process.env.NODE_ENV&&n.useDebugValue(e),e.$$material||e}function Ui(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Wi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ki={entering:{opacity:1},entered:{opacity:1}},Gi=n.forwardRef((function(e,t){const r=Hi(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:g,timeout:y=o,TransitionComponent:b=Br}=e,v=Tr(e,Wi),x=n.useRef(null),w=function(...e){return n.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}(x,s.ref,t),k=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=k(p),j=k(((e,t)=>{(e=>{e.scrollTop})(e);const n=Ui({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),N=k(d),_=k(m),S=k((e=>{const t=Ui({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),E=k(h);return ge.jsx(b,Or({appear:a,in:c,nodeRef:x,onEnter:j,onEntered:N,onEntering:C,onExit:S,onExited:E,onExiting:_,addEndListener:e=>{i&&i(x.current,e)},timeout:y},v,{children:(e,t)=>n.cloneElement(s,Or({style:Or({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Ki[e],g,s.props.style),ref:w},t))}))}));"production"!==process.env.NODE_ENV&&(Gi.propTypes={addEndListener:X.func,appear:X.bool,children:Gr.isRequired,easing:X.oneOfType([X.shape({enter:X.string,exit:X.string}),X.string]),in:X.bool,onEnter:X.func,onEntered:X.func,onEntering:X.func,onExit:X.func,onExited:X.func,onExiting:X.func,style:X.object,timeout:X.oneOfType([X.number,X.shape({appear:X.number,enter:X.number,exit:X.number})])});const Yi=Gi,Xi=e=>ge.jsx(f,{TransitionComponent:Yi,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),Ji=e=>ge.jsx(h,{...e}),Zi="_styled-label-md_jbn3o_1",Qi="_styled-label-base_jbn3o_10",ea="_styled-label-lg_jbn3o_19",ta="_styled-label-xl_jbn3o_27",na=({title:e,onClick:t,className:n,dataTest:r,size:o="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Zi;case"lg":return ea;case"xl":return ta;default:return Qi}})({size:o});return ge.jsx("div",{className:si(i,n),onClick:t,"data-test":r,children:e})},ra="_asma-core-ui-button_1r2np_1",oa={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},ia=({variant:e="contained",className:t="",size:n="medium",children:r,refLink:o,startIcon:i,endIcon:a,dataTest:s,error:l,...c})=>{const u="large"===n||"medium"===n,d=l?"error":"common";return ge.jsxs("button",{...c,className:si(ra,oa[e],oa[d],oa[n],t),ref:o,"data-test":s,children:[i,r&&ge.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:u?"8px":"4px",paddingLeft:u?"8px":"4px",paddingRight:u?"8px":"4px"},children:r}),a]})},aa="_styled-dialog-root_1st3i_1",sa="_styled-top-header_1st3i_6",la="_styled-dialog-close_1st3i_13",ca="_styled-dialog-info_1st3i_20",ua="_styled-dialog-label_1st3i_27",da="_styled-dialog-title_1st3i_37";function pa(){const e=function(){const[e,t]=a(window.innerWidth),n=()=>{t(window.innerWidth)};return s((()=>(n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const fa=({onCloseText:e,children:t,dataTest:n,showCloseIcon:r=!0,dialogLabel:o,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=pa();return ge.jsxs(m,{"data-test":n,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,...s,children:[ge.jsx("div",{className:aa,children:o||i||r?ge.jsxs("div",{className:sa,children:[ge.jsxs("div",{className:ca,children:[o&&ge.jsx("div",{className:ua,children:o}),i&&ge.jsx("div",{className:da,children:i})]}),r&&ge.jsxs("div",{className:la,children:[a,ge.jsx(ia,{dataTest:`close-button-${n}`,variant:"textGray",size:"small",endIcon:ge.jsx(Vn,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]}):null}),t]})},ha="_styled-dialog-actions-root_1yp8r_1",ma="_styled-dialog-actions_1yp8r_1",ga="_action-button-wrapper_1yp8r_17";function ya(...e){return Y(si(e))}const ba=e=>ge.jsx(g,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:ha},children:ge.jsx("div",{className:ya(ma,e.className),children:r.Children.map(e.children,(e=>ge.jsx("div",{className:ga,children:e})))})}),va="_styled-dialog-content_d2vki_1",xa=({children:e,classes:t,className:n,...r})=>ge.jsx(y,{...r,"data-test":"styled-dialog-content",classes:{...t,root:va},className:n,children:e}),wa="_styled-dialog-title-root_mcspk_1",ka=({children:e,...t})=>e?ge.jsx(b,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:wa},children:e}):null;function Ca(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const ja=({emptyText:e,isEmpty:t=!0,className:n=""})=>t?ge.jsxs("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${n}`,children:[ge.jsx(Ca,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),ge.jsx("p",{className:"font-normal",children:e})]}):null,Na={small:16,medium:24,large:32},_a=({isLoading:e,className:t="",size:n="medium"})=>{if(!e)return null;const r=Na[n];return ge.jsx("div",{className:si("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:ge.jsx(Dn,{width:r,height:r})})},Sa=({dataTest:e,...t})=>ge.jsx(v,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),Ea=({allowClear:e,onClear:t,readOnly:n,disabled:r,dataTest:o,...i})=>ge.jsx(x,{...i,"data-test":o,disabled:r||n,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:ge.jsx("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:ge.jsx(Vn,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...n&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Oa=({value:e,onClear:t,...n})=>{const[r,o]=a(!1),i=r||e;return ge.jsxs("div",{className:"relative w-full",children:[ge.jsx(Ea,{size:"small",variant:"outlined",value:e,onFocus:()=>o(!0),onBlur:()=>o(!1),InputProps:{className:ya("transition-[padding] duration-300",i?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:i?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...n,sx:{...n.fullWidth?{width:"100%"}:{width:160},...n.sx}}),ge.jsx(Rn,{width:24,height:24,className:ya("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",i?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),ge.jsx("div",{className:ya("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==t||t()},children:ge.jsx(Vn,{width:20,height:20,color:"var(--colors-delta-700)",className:"pointer-events-none"})})]})},Ta={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Ia=({id:e,variant:t="active",label:n="",labelClassName:r="",description:o="",value:i="",minRows:u=3,maxRows:d=1/0,disabled:p,error:f,errorMessage:h,containerClassName:m="",className:g="",maxLength:y=1/0,counter:b,refLink:v,dataTest:x,counterLimit:w,...k})=>{const C=c(null),j=v||C,N=!(!b||!w),[_,S]=a(!1);s((()=>{S(!0)}),[]),((e,t,n,r,o,i)=>{l((()=>{if(e){const t=i?32:0;e.style.height="auto";const n=20,o=e.scrollHeight-24;Math.ceil(o/n)>r?e.style.height=`${n*r+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,n,r,o,i])})(j.current,i,u,d,_,N),d<u&&(u=d);const[E,O]=a(i.length);s((()=>{O(i.length)}),[i]);const T=f?"error":"active",I=f?"error":p?"disabled":"active";return ge.jsxs("div",{className:`flex flex-col gap-1 relative ${m}`,"data-test":x,children:[ge.jsx("label",{htmlFor:e,className:`${Ta.label} ${Ta[I]} ${r}`,children:n}),ge.jsx("span",{className:`${Ta.description} ${Ta[I]}`,children:f?h:o}),"view_only"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:i}):"not_editable"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:i}):ge.jsx("textarea",{...k,id:e,ref:j,className:`${Ta.textarea} ${Ta[T]} ${g} ${N?"pb-[32px]":""}`,wrap:"soft",value:i,disabled:p,maxLength:y}),N&&ge.jsxs("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[E,"/",w]})]})},Ma=({dataTest:e,allowClear:t,...n})=>ge.jsx(w,{...n,"data-test":e,value:n.value,IconComponent:e=>ge.jsx(Xt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(e.className,"select-custom-icon")}),endAdornment:t&&n.value?ge.jsx("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=n.onChange)||e.call(n,{target:{value:""}},null)},children:ge.jsx(Vn,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...n.sx}}),Ra=e=>ge.jsxs(k,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[ge.jsx("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&ge.jsx(Xt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{children:e.children})]}),Da="_styledSelectAutocompleteWrapper_lfbvb_1",Pa="_select-custom-icon_lfbvb_5";function za({dataTest:e,autoHeight:t,getOptionLabel:n,wrapperClassName:r,...o}){const[i,l]=a("auto"),u=c(null);s((()=>{var e,n;const r=(null==(e=u.current)?void 0:e.getBoundingClientRect().height)??0,o=(null==(n=u.current)?void 0:n.getBoundingClientRect().top)??0,i=window.innerHeight-o-r-40;t&&l(i>0?i:"auto")}),[t]);const d=t?{style:{maxHeight:"auto"===i?"auto":`${i}px`}}:{},p=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return ge.jsx("div",{className:ya(Da,r),ref:u,children:ge.jsx(C,{...o,getOptionLabel:n,ListboxProps:{...d,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:si("!text-sm",o.className),popupIcon:o.popupIcon||ge.jsx(Xt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(Pa)}),"data-test":e,PaperComponent:({children:t})=>ge.jsx(j,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==o?void 0:o.renderOption)||((e,t,{selected:r})=>ge.jsxs("li",{...e,children:[ge.jsx("span",{style:{width:"24px",height:"22px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:r&&ge.jsx(Xt,{icon:"mdi:tick",width:20,height:20,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{className:"flex-1 text-sm truncate",children:(null==n?void 0:n(t))||p(t)})]})),sx:{...o.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const Aa=({dataTest:e,...t})=>{var n,r,o;return ge.jsx(N,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:si("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(n=t.slotProps)?void 0:n.thumb},rail:{className:"bg-delta-200",...null==(r=t.slotProps)?void 0:r.rail},markLabel:{className:si("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(o=t.slotProps)?void 0:o.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})};var La,$a,Fa={exports:{}},Ba={},Va={};
19
+ */"production"===process.env.NODE_ENV?he.exports=function(){if(fe)return me;fe=1;var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,r){var s,l={},c=null,u=null;for(s in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)o.call(n,s)&&!a.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return me.Fragment=n,me.jsx=s,me.jsxs=s,me}():he.exports=(ge||(ge=1,"production"!==process.env.NODE_ENV&&function(){var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=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",y=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),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame,o=r.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));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 b,x=!1,w=!1,k=!1,C=!1,j=!1;function N(e){return e.displayName||"Context"}function _(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 o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return N(e)+".Consumer";case s:return N(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:_(e.type)||"Memo";case f:var r=e,h=r._payload,m=r._init;try{return _(m(h))}catch{return null}}return null}b=Symbol.for("react.module.reference");var E,S,O,I,T,M,R,D=Object.assign,P=0;function z(){}z.__reactDisabledLog=!0;var A,L=y.ReactCurrentDispatcher;function $(e,t,n){if(void 0===A)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return"\n"+A+e}var F,V=!1,B="function"==typeof WeakMap?WeakMap:Map;function q(e,t){if(!e||V)return"";var n,r=F.get(e);if(void 0!==r)return r;V=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=L.current,L.current=null,function(){if(0===P){E=console.log,S=console.info,O=console.warn,I=console.error,T=console.group,M=console.groupCollapsed,R=console.groupEnd;var e={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}P++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),c=s.length-1,u=l.length-1;c>=1&&u>=0&&s[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==l[u]){var d="\n"+s[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&F.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{V=!1,L.current=o,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:E}),info:D({},e,{value:S}),warn:D({},e,{value:O}),error:D({},e,{value:I}),group:D({},e,{value:T}),groupCollapsed:D({},e,{value:M}),groupEnd:D({},e,{value:R})})}P<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?$(p):"";return"function"==typeof e&&F.set(e,f),f}function H(e,t,n){if(null==e)return"";if("function"==typeof e)return q(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return $(e);switch(e){case u:return $("Suspense");case d:return $("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return q(e,!1)}(e.render);case p:return H(e.type,t,n);case f:var r=e,o=r._payload,i=r._init;try{return H(i(o),t,n)}catch{}}return""}F=new B;var U=Object.prototype.hasOwnProperty,W={},K=y.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);K.setExtraStackFrame(n)}else K.setExtraStackFrame(null)}var Y=Array.isArray;function X(e){return Y(e)}function J(e){return""+e}function Z(e){if(function(e){try{return J(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)),J(e)}var Q,ee,te,ne=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var oe=function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ie(e,t,n,r,o){var i,a={},s=null,l=null;for(i in void 0!==n&&(Z(n),s=""+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)&&(Z(t.key),s=""+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)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&ne.current&&t&&ne.current.stateNode!==t){var n=_(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',_(ne.current.type),e.ref),te[n]=!0)}}(t,o)),t)U.call(t,i)&&!re.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===a[i]&&(a[i]=c[i])}if(s||l){var u="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var n=function(){Q||(Q=!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})}(a,u),l&&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})}(a,u)}return oe(e,s,l,o,r,ne.current,a)}var ae,se=y.ReactCurrentOwner,le=y.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,n=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(n)}else le.setExtraStackFrame(null)}function ue(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function de(){if(se.current){var e=_(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!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 r="";e&&e._owner&&e._owner!==se.current&&(r=" It was passed a child from "+_(e._owner.type)+"."),ce(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,r),ce(null)}}}function he(e,t){if("object"==typeof e)if(X(e))for(var n=0;n<e.length;n++){var r=e[n];ue(r)&&fe(r,t)}else if(ue(e))e._store&&(e._store.validated=!0);else if(e){var o=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 o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ue(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!==c&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=_(n);!function(e,t,n,r,o){var i=Function.call.bind(U);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(G(o),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).",r||"React class",n,a,typeof s),G(null)),s instanceof Error&&!(s.message in W)&&(W[s.message]=!0,G(o),v("Failed %s type: %s",n,s.message),G(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ae||(ae=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_(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,n,r,m,g,y){var N=function(e){return!!("string"==typeof e||"function"==typeof e||e===o||e===a||j||e===i||e===u||e===d||C||e===h||x||w||k||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!N){var E="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(E+=" 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 S,O=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);E+=O||de(),null===e?S="null":X(e)?S="array":void 0!==e&&e.$$typeof===t?(S="<"+(_(e.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):S=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",S,E)}var I=ie(e,n,r,g,y);if(null==I)return I;if(N){var T=n.children;if(void 0!==T)if(m)if(X(T)){for(var M=0;M<T.length;M++)he(T[M],e);Object.freeze&&Object.freeze(T)}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(T,e)}return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ce(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ce(null);break}}null!==e.ref&&(ce(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(I):me(I),I}var ve=function(e,t,n){return ge(e,t,n,!1)},be=function(e,t,n){return ge(e,t,n,!0)};ye.Fragment=o,ye.jsx=ve,ye.jsxs=be}()),ye);var ve=he.exports;const be=({color:e="primary",dataTest:t,...n})=>ve.jsx(f,{color:e,"data-test":t,...n,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...n.sx}}),xe=/^[a-z0-9]+(-[a-z0-9]+)*$/,we=(e,t,n,r="")=>{const o=e.split(":");if("@"===e.slice(0,1)){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const e=o.pop(),n=o.pop(),i={provider:o.length>0?o[0]:r,prefix:n,name:e};return t&&!ke(i)?null:i}const i=o[0],a=i.split("-");if(a.length>1){const e={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!ke(e)?null:e}if(n&&""===r){const e={provider:r,prefix:"",name:i};return t&&!ke(e,n)?null:e}return null},ke=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(xe)||!(t&&""===e.prefix||e.prefix.match(xe))||!e.name.match(xe)),Ce=Object.freeze({left:0,top:0,width:16,height:16}),je=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ne=Object.freeze({...Ce,...je}),_e=Object.freeze({...Ne,body:"",hidden:!1});function Ee(e,t){const n=function(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}(e,t);for(const r in _e)r in je?r in e&&!(r in n)&&(n[r]=je[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Se(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let i={};function a(e){i=Ee(r[e]||o[e],i)}return a(t),n.forEach(a),Ee(e,i)}function Oe(e,t){const n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),n.push(e)}));const r=function(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);return(t||Object.keys(n).concat(Object.keys(r))).forEach((function e(t){if(n[t])return o[t]=[];if(!(t in o)){o[t]=null;const n=r[t]&&r[t].parent,i=n&&e(n);i&&(o[t]=[n].concat(i))}return o[t]})),o}(e);for(const o in r){const i=r[o];i&&(t(o,Se(e,o,i)),n.push(o))}return n}const Ie={provider:"",aliases:{},not_found:{},...Ce};function Te(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Me(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Te(e,Ie))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(xe)||"string"!=typeof t.body||!Te(t,_e))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],o=t.parent;if(!e.match(xe)||"string"!=typeof o||!n[o]&&!r[o]||!Te(t,_e))return null}return t}const Re=Object.create(null);function De(e,t){const n=Re[e]||(Re[e]=Object.create(null));return n[t]||(n[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Pe(e,t){return Me(t)?Oe(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let ze=!1;function Ae(e){return"boolean"==typeof e&&(ze=e),ze}function Le(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),ze&&!t&&!e.prefix){let t=!1;return Me(e)&&(e.prefix="",Oe(e,((e,n)=>{n&&function(e,t){const n=we(e,!0,ze);return!!n&&function(e,t,n){try{if("string"==typeof n.body)return e.icons[t]={...n},!0}catch{}return!1}(De(n.provider,n.prefix),n.name,t)}(e,n)&&(t=!0)}))),t}const n=e.prefix;if(!ke({provider:t,prefix:n,name:"a"}))return!1;return!!Pe(De(t,n),e)}const $e=Object.freeze({width:null,height:null}),Fe=Object.freeze({...$e,...je}),Ve=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Be=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function qe(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;const r=e.split(Ve);if(null===r||!r.length)return e;const o=[];let i=r.shift(),a=Be.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?o.push(i):o.push(Math.ceil(e*t*n)/n)}else o.push(i);if(i=r.shift(),void 0===i)return o.join("");a=!a}}const He=/\sid="(\S+)"/g,Ue="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let We=0;function Ke(e,t=Ue){const n=[];let r;for(;r=He.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const r="function"==typeof t?t(n):t+(We++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+o+"$3")})),e=e.replace(new RegExp(o,"g"),"")}const Ge=Object.create(null);function Ye(e){return Ge[e]||Ge[""]}function Xe(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Je=Object.create(null),Ze=["https://api.simplesvg.com","https://api.unisvg.com"],Qe=[];for(;Ze.length>0;)1===Ze.length||Math.random()>.5?Qe.push(Ze.shift()):Qe.push(Ze.pop());function et(e,t){const n=Xe(t);return null!==n&&(Je[e]=n,!0)}function tt(e){return Je[e]}Je[""]=Xe({resources:["https://api.iconify.design"].concat(Qe)});let nt=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const rt={prepare:(e,t,n)=>{const r=[],o=function(e,t){const n=tt(e);if(!n)return 0;let r;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const o=t+".json?icons=";r=n.maxURL-e-n.path.length-o.length}else r=0;return r}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach(((n,l)=>{s+=n.length+1,s>=o&&l>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=n.length),a.icons.push(n)})),r.push(a),r},send:(e,t,n)=>{if(!nt)return void n("abort",424);let r=function(e){if("string"==typeof e){const t=tt(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let o=503;nt(e+r).then((e=>{const t=e.status;if(200===t)return o=501,e.json();setTimeout((()=>{n(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{404===e?n("abort",e):n("next",o)}))})).catch((()=>{n("next",o)}))}};function ot(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let it=0;var at={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function st(e,t,n,r){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l,c="pending",u=0,d=null,p=[],f=[];function h(){d&&(clearTimeout(d),d=null)}function m(){"pending"===c&&(c="aborted"),h(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(f=[]),"function"==typeof e&&f.push(e)}function y(){c="failed",f.forEach((e=>{e(void 0,l)}))}function v(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function b(){if("pending"!==c)return;h();const r=a.shift();if(void 0===r)return p.length?void(d=setTimeout((()=>{h(),"pending"===c&&(v(),y())}),e.timeout)):void y();const o={status:"pending",resource:r,callback:(t,n)=>{!function(t,n,r){const o="success"!==n;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(o||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return l=r,void y();if(o)return l=r,void(p.length||(a.length?b():y()));if(h(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",f.forEach((e=>{e(r)}))}(o,t,n)}};p.push(o),u++,d=setTimeout(b,e.rotate),n(r,t,o.callback)}return"function"==typeof r&&f.push(r),setTimeout(b),function(){return{startTime:s,payload:t,status:c,queriesSent:u,queriesPending:p.length,subscribe:g,abort:m}}}function lt(e){const t={...at,...e};let n=[];function r(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,o,i){const a=st(t,e,o,((e,t)=>{r(),i&&i(e,t)}));return n.push(a),a},find:function(e){return n.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function ct(){}const ut=Object.create(null);function dt(e,t,n){let r,o;if("string"==typeof e){const t=Ye(e);if(!t)return n(void 0,424),ct;o=t.send;const i=function(e){if(!ut[e]){const t=tt(e);if(!t)return;const n={config:t,redundancy:lt(t)};ut[e]=n}return ut[e]}(e);i&&(r=i.redundancy)}else{const t=Xe(e);if(t){r=lt(t);const n=Ye(e.resources?e.resources[0]:"");n&&(o=n.send)}}return r&&o?r.query(t,o,n)().abort:(n(void 0,424),ct)}const pt="iconify2",ft="iconify",ht=ft+"-count",mt=ft+"-version",gt=36e5,yt=168;function vt(e,t){try{return e.getItem(t)}catch{}}function bt(e,t,n){try{return e.setItem(t,n),!0}catch{}}function xt(e,t){try{e.removeItem(t)}catch{}}function wt(e,t){return bt(e,ht,t.toString())}function kt(e){return parseInt(vt(e,ht))||0}const Ct={local:!0,session:!0},jt={local:new Set,session:new Set};let Nt=!1;let _t=typeof window>"u"?{}:window;function Et(e){const t=e+"Storage";try{if(_t&&_t[t]&&"number"==typeof _t[t].length)return _t[t]}catch{}Ct[e]=!1}function St(e,t){const n=Et(e);if(!n)return;const r=vt(n,mt);if(r!==pt){if(r){const e=kt(n);for(let t=0;t<e;t++)xt(n,ft+t.toString())}return bt(n,mt,pt),void wt(n,0)}const o=Math.floor(Date.now()/gt)-yt,i=e=>{const r=ft+e.toString(),i=vt(n,r);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>o&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}xt(n,r)}};let a=kt(n);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,wt(n,a)):jt[e].add(t))}function Ot(){if(!Nt){Nt=!0;for(const e in Ct)St(e,(e=>{const t=e.data,n=De(e.provider,t.prefix);if(!Pe(n,t).length)return!1;const r=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,r):r,!0}))}}function It(e,t){function n(n){let r;if(!Ct[n]||!(r=Et(n)))return;const o=jt[n];let i;if(o.size)o.delete(i=Array.from(o).shift());else if(i=kt(r),!wt(r,i+1))return;const a={cached:Math.floor(Date.now()/gt),provider:e.provider,data:t};return bt(r,ft+i.toString(),JSON.stringify(a))}Nt||Ot(),t.lastModified&&!function(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const n in Ct)St(n,(n=>{const r=n.data;return n.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))}function Tt(){}function Mt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==o)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:r,prefix:o,name:a});else{if(!e.missing.has(a))return n=!0,!0;i.missing.push({provider:r,prefix:o,name:a})}return!1})),i.pending.length!==a&&(n||ot([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const Rt=(e,t)=>{const n=function(e,t=!0,n=!1){const r=[];return e.forEach((e=>{const o="string"==typeof e?we(e,t,n):e;o&&r.push(o)})),r}(e,!0,Ae()),r=function(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let r={provider:"",prefix:"",name:""};return e.forEach((e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const o=e.provider,i=e.prefix,a=e.name,s=n[o]||(n[o]=Object.create(null)),l=s[i]||(s[i]=De(o,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const u={provider:o,prefix:i,name:a};c.push(u)})),t}(n);if(!r.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(r.loaded,r.missing,r.pending,Tt)})),()=>{e=!1}}const o=Object.create(null),i=[];let a,s;return r.pending.forEach((e=>{const{provider:t,prefix:n}=e;if(n===s&&t===a)return;a=t,s=n,i.push(De(t,n));const r=o[t]||(o[t]=Object.create(null));r[n]||(r[n]=[])})),r.pending.forEach((e=>{const{provider:t,prefix:n,name:r}=e,i=De(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),o[t][n].push(r))})),i.forEach((e=>{const{provider:t,prefix:n}=e;o[t][n].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:n}=e,r=e.iconsToLoad;let o;delete e.iconsToLoad,r&&(o=Ye(t))&&o.prepare(t,n,r).forEach((n=>{dt(t,n,(t=>{if("object"!=typeof t)n.icons.forEach((t=>{e.missing.add(t)}));else try{const n=Pe(e,t);if(!n.length)return;const r=e.pendingIcons;r&&n.forEach((e=>{r.delete(e)})),It(e,t)}catch(e){console.error(e)}Mt(e)}))}))})))}(e,o[t][n])})),t?function(e,t,n){const r=it++,o=ot.bind(null,n,r);if(!t.pending.length)return o;const i={id:r,icons:t,callback:e,abort:o};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),o}(t,r,i):Tt};const Dt=/[\s,]+/;function Pt(e,t){t.split(Dt).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function zt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o/=t,o%1==0?r(o):0)}}return t}function At(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let Lt;function $t(e){return void 0===Lt&&function(){try{Lt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Lt=null}}(),Lt?Lt.createHTML(e):e}const Ft={...Fe,inline:!1},Vt={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Bt={display:"inline-block"},qt={backgroundColor:"currentColor"},Ht={backgroundColor:"transparent"},Ut={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Wt={WebkitMask:qt,mask:qt,background:Ht};for(const e in Wt){const t=Wt[e];for(const n in Ut)t[e+n]=Ut[n]}const Kt={...Ft,inline:!0};function Gt(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Yt=(e,t,n,o)=>{const i=n?Kt:Ft,a=function(e,t){const n={...e};for(const e in t){const r=t[e],o=typeof r;e in $e?(null===r||r&&("string"===o||"number"===o))&&(n[e]=r):o===typeof n[e]&&(n[e]="rotate"===e?r%4:r)}return n}(i,t),s=t.mode||"svg",l={},c=t.style||{},u={..."svg"===s?Vt:{},ref:o};for(let e in t){const n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&Pt(a,n);break;case"color":l.color=n;break;case"rotate":"string"==typeof n?a[e]=zt(n):"number"==typeof n&&(a[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete u["aria-hidden"];break;default:void 0===i[e]&&(u[e]=n)}}const d=function(e,t){const n={...Ne,...e},r={...Fe,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach((e=>{const t=[],n=e.hFlip,r=e.vFlip;let a,s=e.rotate;switch(n?r?s+=2:(t.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),t.push("scale(-1 1)"),o.top=o.left=0):r&&(t.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),t.push("scale(1 -1)"),o.top=o.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=o.height/2+o.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:a=o.width/2+o.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(o.left!==o.top&&(a=o.left,o.left=o.top,o.top=a),o.width!==o.height&&(a=o.width,o.width=o.height,o.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=r.width,s=r.height,l=o.width,c=o.height;let u,d;null===a?(d=null===s?"1em":"auto"===s?c:s,u=qe(d,l/c)):(u="auto"===a?l:a,d=null===s?qe(u,c/l):"auto"===s?c:s);const p={},f=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return f("width",u),f("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=d.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){u.style={...l,...c},Object.assign(u,p);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),u.dangerouslySetInnerHTML={__html:$t(Ke(d.body,n?()=>n+"ID"+e++:"iconifyReact"))},r.createElement("svg",u)}const{body:f,width:h,height:m}=e,g="mask"===s||"bg"!==s&&-1!==f.indexOf("currentColor"),y=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(f,{...p,width:h+"",height:m+""});return u.style={...l,"--svg":At(y),width:Gt(p.width),height:Gt(p.height),...Bt,...g?qt:Ht,...c},r.createElement("span",u)};var Xt;if(Ae(!0),Xt=rt,Ge[""]=Xt,typeof document<"u"&&typeof window<"u"){Ot();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!Le(e))&&console.error(n)}catch{console.error(n)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const n="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;et(e,r)||console.error(n)}catch{console.error(n)}}}}class Jt extends r.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,n=this.props.icon;if("object"==typeof n&&null!==n&&"string"==typeof n.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:n}));let r;if("string"!=typeof n||null===(r=we(n,!1,!0)))return this._abortLoading(),void this._setData(null);const o=function(e){const t="string"==typeof e?we(e,!0,ze):e;if(t){const e=De(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(r);if(o){if(this._icon!==n||null===t.icon){this._abortLoading(),this._icon=n;const e=["iconify"];""!==r.prefix&&e.push("iconify--"+r.prefix),""!==r.provider&&e.push("iconify--"+r.provider),this._setData({data:o,classes:e}),this.props.onLoad&&this.props.onLoad(n)}}else(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),null!==o&&(this._loading={name:n,abort:Rt([r],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,t=this.state.icon;if(null===t)return e.children?e.children:r.createElement("span",{});let n=e;return t.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+t.classes.join(" ")}),Yt({...Ne,...t.data},n,e._inline,e._ref)}}const Zt=r.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!1};return r.createElement(Jt,n)}));r.forwardRef((function(e,t){const n={...e,_ref:t,_inline:!0};return r.createElement(Jt,n)}));const Qt="_icon_1czju_5",en=({width:e=20,height:t=20,className:n="",icon:r,onClick:o,color:i,vFlip:a=!1})=>ve.jsx(Zt,{onClick:o,icon:r,width:e,height:t,className:`${Qt} ${n}`,color:i,vFlip:a}),tn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:bell-outline",width:e,height:t,className:n,onClick:r,color:o}),nn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:bell",width:e,height:t,className:n,onClick:r,color:o}),rn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"charm:menu-hamburger",width:e,height:t,className:n,onClick:r,color:o}),on=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-right",width:e,height:t,className:n,onClick:r,color:o}),an=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-left",width:e,height:t,className:n,onClick:r,color:o}),sn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-double-left",width:e,height:t,className:n,onClick:r,color:o}),ln=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-double-right",width:e,height:t,className:n,onClick:r,color:o}),cn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:n,onClick:r,color:o}),un=({width:e=20,height:t=20,className:n="",onClick:r,color:o=""})=>ve.jsx(en,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:n,onClick:r,color:o}),dn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:view-dashboard",width:e,height:t,className:n,onClick:r,color:o}),pn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:n,onClick:r,color:o}),fn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:outline-people-alt",width:e,height:t,className:n,onClick:r,color:o}),hn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:sharp-people",width:e,height:t,className:n,onClick:r,color:o});function mn(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function gn(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function yn(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const vn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:calendar-blank",width:e,height:t,className:n,onClick:r,color:o}),bn=e=>ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),xn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:calendar-range",width:e,height:t,className:n,onClick:r,color:o}),wn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-assignment",width:e,height:t,className:n,onClick:r,color:o}),kn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:assignment-outline",width:e,height:t,className:n,onClick:r,color:o}),Cn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:n,onClick:r,color:o}),jn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:message-processing",width:e,height:t,className:n,onClick:r,color:o}),Nn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:message-processing-outline",width:e,height:t,className:n,onClick:r,color:o}),_n=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:report-box",width:e,height:t,className:n,onClick:r,color:o}),En=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:report-box-outline",width:e,height:t,className:n,onClick:r,color:o}),Sn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:settings",width:e,height:t,className:n,onClick:r,color:o}),On=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:settings-outline",width:e,height:t,className:n,onClick:r,color:o}),In=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-sync",width:e,height:t,className:n,onClick:r,color:o,vFlip:!0}),Tn=({color:e="black",size:t="20",className:n=""})=>ve.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:n,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[ve.jsx("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),ve.jsx("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),ve.jsx("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),ve.jsx("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Mn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:round-person",width:e,height:t,className:n,onClick:r,color:o}),Rn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:round-person-outline",width:e,height:t,className:n,onClick:r,color:o}),Dn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:dots-vertical",width:e,height:t,className:n,onClick:r,color:o}),Pn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:outline-search",width:e,height:t,className:n,onClick:r,color:o}),zn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:n,onClick:r,color:o}),An=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:n,onClick:r,color:o}),Ln=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:n,onClick:r,color:o}),$n=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"eva:archive-fill",width:e,height:t,className:n,onClick:r,color:o}),Fn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-download",width:e,height:t,className:n,onClick:r,color:o}),Vn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:n,onClick:r,color:o}),Bn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-down",width:e,height:t,className:n,onClick:r,color:o}),qn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:chevron-up",width:e,height:t,className:n,onClick:r,color:o}),Hn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-close",width:e,height:t,className:n,onClick:r,color:o}),Un=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-check",width:e,height:t,className:n,onClick:r,color:o}),Wn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:perm-media",width:e,height:t,className:n,onClick:r,color:o}),Kn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:n,onClick:r,color:o}),Gn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:inbox",width:e,height:t,className:n,onClick:r,color:o}),Yn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:inbox-outline",width:e,height:t,className:n,onClick:r,color:o}),Xn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:sharp-topic",width:e,height:t,className:n,onClick:r,color:o}),Jn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:n,onClick:r,color:o}),Zn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"fa6-regular:file-pdf",width:e,height:t,className:n,onClick:r,color:o}),Qn=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:delete-outline",width:e,height:t,className:n,onClick:r,color:o}),er=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:filter-variant",width:e,height:t,className:n,onClick:r,color:o}),tr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:lock-outline",width:e,height:t,className:n,onClick:r,color:o}),nr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:baseline-dvr",width:e,height:t,className:n,onClick:r,color:o}),rr=({width:e=20,height:t=20,className:n="",onClick:r,color:o="var(--colors-error-500)"})=>ve.jsx(en,{icon:"mdi:error-outline",width:e,height:t,className:n,onClick:r,color:o}),or=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:replay",width:e,height:t,className:n,onClick:r,color:o}),ir=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:n,onClick:r,color:o}),ar=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:outline-link",width:e,height:t,className:n,onClick:r,color:o}),sr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:n,onClick:r,color:o}),lr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:n,onClick:r,color:o}),cr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:list-status",width:e,height:t,className:n,onClick:r,color:o}),ur=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:text-box-check-outline",width:e,height:t,className:n,onClick:r,color:o}),dr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ri:list-settings-line",width:e,height:t,className:n,onClick:r,color:o}),pr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"pajamas:earth",width:e,height:t,className:n,onClick:r,color:o}),fr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:n,onClick:r,color:o}),hr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"mdi:pencil-outline",width:e,height:t,className:n,onClick:r,color:o});function mr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const gr=({width:e=20,height:t=20,className:n="",onClick:r,color:o})=>ve.jsx(en,{icon:"ic:outline-calendar-month",width:e,height:t,className:n,onClick:r,color:o});function yr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const vr=e=>ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),br=e=>ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function xr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function wr(e){return ve.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[ve.jsx("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),ve.jsx("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),ve.jsx("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),ve.jsx("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function kr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function Cr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function jr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function Nr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function _r(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Er(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function Sr(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const Or=({dataTest:e,readOnly:t,...n})=>ve.jsx(h,{...n,"data-test":e,deleteIcon:ve.jsx(Hn,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...n.sx}}),Ir=({dataTest:e,...t})=>ve.jsx(m,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),Tr=({type:e="checkbox",checked:t,...n})=>{const r="checkbox"===e,o=r?Ir:ml,i=!n.readOnly&&!r&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return ve.jsx(Or,{avatar:ve.jsx(o,{dataTest:n.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...n,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...n.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...n.sx}})};function Mr(){return Mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mr.apply(this,arguments)}function Rr(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}const Dr=!1;var Pr="production"!==process.env.NODE_ENV?Z.oneOfType([Z.number,Z.shape({enter:Z.number,exit:Z.number,appear:Z.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&Z.oneOfType([Z.string,Z.shape({enter:Z.string,exit:Z.string,active:Z.string}),Z.shape({enter:Z.string,enterDone:Z.string,enterActive:Z.string,exit:Z.string,exitDone:Z.string,exitActive:Z.string})]);const zr=r.createContext(null);var Ar="unmounted",Lr="exited",$r="entering",Fr="entered",Vr="exiting",Br=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Lr,r.appearStatus=$r):o=Fr:o=t.unmountOnExit||t.mountOnEnter?Ar:Lr,r.state={status:o},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,se(e,t)}(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ar?{status:Lr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==$r&&n!==Fr&&(t=$r):(n===$r||n===Fr)&&(t=Vr)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===$r){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:te.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lr&&this.setState({status:Ar})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[te.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Dr?this.safeSetState({status:Fr},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:$r},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Fr},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:te.findDOMNode(this);t&&!Dr?(this.props.onExit(r),this.safeSetState({status:Vr},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Lr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Lr},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:te.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Ar)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=Rr(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(zr.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function qr(){}Br.contextType=zr,Br.propTypes="production"!==process.env.NODE_ENV?{nodeRef:Z.shape({current:typeof Element>"u"?Z.any:function(e,t,n,r,o,i){var a=e[t];return Z.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:Z.oneOfType([Z.func.isRequired,Z.element.isRequired]).isRequired,in:Z.bool,mountOnEnter:Z.bool,unmountOnExit:Z.bool,appear:Z.bool,enter:Z.bool,exit:Z.bool,timeout:function(e){var t=Pr;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},addEndListener:Z.func,onEnter:Z.func,onEntering:Z.func,onEntered:Z.func,onExit:Z.func,onExiting:Z.func,onExited:Z.func}:{},Br.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qr,onEntering:qr,onEntered:qr,onExit:qr,onExiting:qr,onExited:qr},Br.UNMOUNTED=Ar,Br.EXITED=Lr,Br.ENTERING=$r,Br.ENTERED=Fr,Br.EXITING=Vr;const Hr=Br;function Ur(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Wr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Kr(e){if(!Wr(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Kr(e[n])})),t}function Gr(e,t,n={clone:!0}){const r=n.clone?Mr({},e):e;return Wr(e)&&Wr(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Wr(t[o])&&o in e&&Wr(e[o])?r[o]=Gr(e[o],t[o],n):n.clone?r[o]=Wr(t[o])?Kr(t[o]):t[o]:r[o]=t[o])})),r}function Yr(e,t,n,r,o){const i=e[t],a=o||t;if(null==i||typeof window>"u")return null;let s;const l=i.type;return"function"==typeof l&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(l)&&(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Xr=Ur(Z.element,Yr);Xr.isRequired=Ur(Z.element.isRequired,Yr);const Jr=Xr;function Zr(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."}function Qr(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Zr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const eo=e=>e,to=(()=>{let e=eo;return{configure(t){e=t},generate:t=>e(t),reset(){e=eo}}})(),no=to,ro={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function oo(e,t,n="Mui"){const r=ro[t];return r?`${n}-${r}`:`${no.generate(e)}-${t}`}const io=["values","unit","step"],ao=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Mr({},e,{[t.key]:t.val})),{})};const so={borderRadius:4},lo="production"!==process.env.NODE_ENV?Z.oneOfType([Z.number,Z.string,Z.object,Z.array]):{};function co(e,t){return t?Gr(e,t,{clone:!1}):e}const uo={xs:0,sm:600,md:900,lg:1200,xl:1536},po={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${uo[e]}px)`};function fo(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||po;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||po;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||uo).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function ho(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function mo(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:ho(e,n)||r,t&&(o=t(o,r,e)),o}function go(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=ho(e.theme,r)||{};return fo(e,i,(e=>{let r=mo(a,o,e);return e===r&&"string"==typeof e&&(r=mo(a,o,`${t}${"default"===e?"":Qr(e)}`,e)),!1===n?r:{[n]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:lo}:{},i.filterProps=[t],i}const yo={m:"margin",p:"padding"},vo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},bo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},xo=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!bo[e])return[e];e=bo[e]}const[t,n]=e.split(""),r=yo[t],o=vo[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),wo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ko=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Co=[...wo,...ko];function jo(e,t,n,r){var o;const i=null!=(o=ho(e,t,!1))?o:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function No(e){return jo(e,"spacing",8,"spacing")}function _o(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Eo(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=_o(t,n),e)),{})}(xo(n),r);return fo(e,e[n],o)}function So(e,t){const n=No(e.theme);return Object.keys(e).map((r=>Eo(e,t,r,n))).reduce(co,{})}function Oo(e){return So(e,wo)}function Io(e){return So(e,ko)}function To(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?co(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Mo(e){return"number"!=typeof e?e:`${e}px solid`}Oo.propTypes="production"!==process.env.NODE_ENV?wo.reduce(((e,t)=>(e[t]=lo,e)),{}):{},Oo.filterProps=wo,Io.propTypes="production"!==process.env.NODE_ENV?ko.reduce(((e,t)=>(e[t]=lo,e)),{}):{},Io.filterProps=ko,"production"!==process.env.NODE_ENV&&Co.reduce(((e,t)=>(e[t]=lo,e)),{});const Ro=go({prop:"border",themeKey:"borders",transform:Mo}),Do=go({prop:"borderTop",themeKey:"borders",transform:Mo}),Po=go({prop:"borderRight",themeKey:"borders",transform:Mo}),zo=go({prop:"borderBottom",themeKey:"borders",transform:Mo}),Ao=go({prop:"borderLeft",themeKey:"borders",transform:Mo}),Lo=go({prop:"borderColor",themeKey:"palette"}),$o=go({prop:"borderTopColor",themeKey:"palette"}),Fo=go({prop:"borderRightColor",themeKey:"palette"}),Vo=go({prop:"borderBottomColor",themeKey:"palette"}),Bo=go({prop:"borderLeftColor",themeKey:"palette"}),qo=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=jo(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:_o(t,e)});return fo(e,e.borderRadius,n)}return null};qo.propTypes="production"!==process.env.NODE_ENV?{borderRadius:lo}:{},qo.filterProps=["borderRadius"],To(Ro,Do,Po,zo,Ao,Lo,$o,Fo,Vo,Bo,qo);const Ho=e=>{if(void 0!==e.gap&&null!==e.gap){const t=jo(e.theme,"spacing",8,"gap"),n=e=>({gap:_o(t,e)});return fo(e,e.gap,n)}return null};Ho.propTypes="production"!==process.env.NODE_ENV?{gap:lo}:{},Ho.filterProps=["gap"];const Uo=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=jo(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:_o(t,e)});return fo(e,e.columnGap,n)}return null};Uo.propTypes="production"!==process.env.NODE_ENV?{columnGap:lo}:{},Uo.filterProps=["columnGap"];const Wo=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=jo(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:_o(t,e)});return fo(e,e.rowGap,n)}return null};Wo.propTypes="production"!==process.env.NODE_ENV?{rowGap:lo}:{},Wo.filterProps=["rowGap"];function Ko(e,t){return"grey"===t?t:e}To(Ho,Uo,Wo,go({prop:"gridColumn"}),go({prop:"gridRow"}),go({prop:"gridAutoFlow"}),go({prop:"gridAutoColumns"}),go({prop:"gridAutoRows"}),go({prop:"gridTemplateColumns"}),go({prop:"gridTemplateRows"}),go({prop:"gridTemplateAreas"}),go({prop:"gridArea"}));function Go(e){return e<=1&&0!==e?100*e+"%":e}To(go({prop:"color",themeKey:"palette",transform:Ko}),go({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ko}),go({prop:"backgroundColor",themeKey:"palette",transform:Ko}));const Yo=go({prop:"width",transform:Go}),Xo=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,o;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[t])||uo[t]||Go(t)}};return fo(e,e.maxWidth,t)}return null};Xo.filterProps=["maxWidth"];const Jo=go({prop:"minWidth",transform:Go}),Zo=go({prop:"height",transform:Go}),Qo=go({prop:"maxHeight",transform:Go}),ei=go({prop:"minHeight",transform:Go});go({prop:"size",cssProperty:"width",transform:Go}),go({prop:"size",cssProperty:"height",transform:Go});To(Yo,Xo,Jo,Zo,Qo,ei,go({prop:"boxSizing"}));const ti={border:{themeKey:"borders",transform:Mo},borderTop:{themeKey:"borders",transform:Mo},borderRight:{themeKey:"borders",transform:Mo},borderBottom:{themeKey:"borders",transform:Mo},borderLeft:{themeKey:"borders",transform:Mo},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qo},color:{themeKey:"palette",transform:Ko},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ko},backgroundColor:{themeKey:"palette",transform:Ko},p:{style:Io},pt:{style:Io},pr:{style:Io},pb:{style:Io},pl:{style:Io},px:{style:Io},py:{style:Io},padding:{style:Io},paddingTop:{style:Io},paddingRight:{style:Io},paddingBottom:{style:Io},paddingLeft:{style:Io},paddingX:{style:Io},paddingY:{style:Io},paddingInline:{style:Io},paddingInlineStart:{style:Io},paddingInlineEnd:{style:Io},paddingBlock:{style:Io},paddingBlockStart:{style:Io},paddingBlockEnd:{style:Io},m:{style:Oo},mt:{style:Oo},mr:{style:Oo},mb:{style:Oo},ml:{style:Oo},mx:{style:Oo},my:{style:Oo},margin:{style:Oo},marginTop:{style:Oo},marginRight:{style:Oo},marginBottom:{style:Oo},marginLeft:{style:Oo},marginX:{style:Oo},marginY:{style:Oo},marginInline:{style:Oo},marginInlineStart:{style:Oo},marginInlineEnd:{style:Oo},marginBlock:{style:Oo},marginBlockStart:{style:Oo},marginBlockEnd:{style:Oo},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ho},rowGap:{style:Wo},columnGap:{style:Uo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Go},maxWidth:{style:Xo},minWidth:{transform:Go},height:{transform:Go},maxHeight:{transform:Go},minHeight:{transform:Go},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ni=ti;const ri=function(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=ho(n,s)||{};return c?c(o):fo(o,t,(t=>{let n=mo(u,l,t);return t===n&&"string"==typeof t&&(n=mo(u,l,`${e}${"default"===t?"":Qr(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=null!=(r=i.unstable_sxConfig)?r:ni;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(o);let l=o;return Object.keys(r).forEach((n=>{const o=function(e,t){return"function"==typeof e?e(t):e}(r[n],i);if(null!=o)if("object"==typeof o)if(a[n])l=co(l,e(n,o,i,a));else{const e=fo({theme:i},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?l=co(l,e):l[n]=t({sx:o,theme:i})}else l=co(l,e(n,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(o)?o.map(s):s(o)}}();ri.filterProps=["sx"];const oi=ri,ii=["breakpoints","palette","spacing","shape"];function ai(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=Rr(e,ii),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Rr(e,io),i=ao(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-r/100}${n})`}return Mr({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}(n),l=function(e=8){if(e.mui)return e;const t=No({spacing:e}),n=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(o);let c=Gr({breakpoints:s,direction:"ltr",components:{},palette:Mr({mode:"light"},r),spacing:l,shape:Mr({},so,i)},a);return c=t.reduce(((e,t)=>Gr(e,t)),c),c.unstable_sxConfig=Mr({},ni,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return oi({sx:e,theme:this})},c}function si(e=null){const t=n.useContext(Q);return!t||function(e){return 0===Object.keys(e).length}(t)?e:t}const li=ai();function ci(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ci(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ui(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=ci(e))&&(r&&(r+=" "),r+=t);return r}function di(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Math.min(Math.max(t,e),n)}function pi(e){if(e.type)return e;if("#"===e.charAt(0))return pi(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Zr(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Zr(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}function fi(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function hi(e){let t="hsl"===(e=pi(e)).type||"hsla"===e.type?pi(function(e){e=pi(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),fi({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mi(e,t){const n=hi(e),r=hi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function gi(e,t){return Mr({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const yi={black:"#000",white:"#fff"},vi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},bi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},xi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},wi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ki={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ci={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ji={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ni=["mode","contrastThreshold","tonalOffset"],_i={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:yi.white,default:yi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ei={text:{primary:yi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:yi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Si(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=pi(e),t=di(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return fi(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=pi(e),t=di(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return fi(e)}(e.main,i)))}function Oi(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Rr(e,Ni),i=e.primary||function(e="light"){return"dark"===e?{main:ki[200],light:ki[50],dark:ki[400]}:{main:ki[700],light:ki[400],dark:ki[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[500],light:bi[300],dark:bi[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:xi[500],light:xi[300],dark:xi[700]}:{main:xi[700],light:xi[400],dark:xi[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ci[400],light:Ci[300],dark:Ci[700]}:{main:Ci[700],light:Ci[500],dark:Ci[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:ji[400],light:ji[300],dark:ji[700]}:{main:ji[800],light:ji[500],dark:ji[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:wi[400],light:wi[300],dark:wi[700]}:{main:"#ed6c02",light:wi[500],dark:wi[900]}}(t);function d(e){const t=mi(e,Ei.text.primary)>=n?Ei.text.primary:_i.text.primary;if("production"!==process.env.NODE_ENV){const n=mi(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=Mr({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Zr(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Zr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Si(e,"light",o,r),Si(e,"dark",i,r),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Ei,light:_i};return"production"!==process.env.NODE_ENV&&(f[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Gr(Mr({common:Mr({},yi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:vi,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r},f[t]),o)}const Ii=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ti(e){return Math.round(1e5*e)/1e5}const Mi={textTransform:"uppercase"},Ri='"Roboto", "Helvetica", "Arial", sans-serif';function Di(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=Ri,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Rr(n,Ii);"production"!==process.env.NODE_ENV&&("number"!=typeof o&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const f=o/14,h=d||(e=>e/c*f+"rem"),m=(e,t,n,o,i)=>Mr({fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n},r===Ri?{letterSpacing:`${Ti(o/t)}em`}:{},i,u),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Mi),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Mi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Gr(Mr({htmlFontSize:c,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Pi(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const zi=["none",Pi(0,2,1,-1,0,1,1,0,0,1,3,0),Pi(0,3,1,-2,0,2,2,0,0,1,5,0),Pi(0,3,3,-2,0,3,4,0,0,1,8,0),Pi(0,2,4,-1,0,4,5,0,0,1,10,0),Pi(0,3,5,-1,0,5,8,0,0,1,14,0),Pi(0,3,5,-1,0,6,10,0,0,1,18,0),Pi(0,4,5,-2,0,7,10,1,0,2,16,1),Pi(0,5,5,-3,0,8,10,1,0,3,14,2),Pi(0,5,6,-3,0,9,12,1,0,3,16,2),Pi(0,6,6,-3,0,10,14,1,0,4,18,3),Pi(0,6,7,-4,0,11,15,1,0,4,20,3),Pi(0,7,8,-4,0,12,17,2,0,5,22,4),Pi(0,7,8,-4,0,13,19,2,0,5,24,4),Pi(0,7,9,-4,0,14,21,2,0,5,26,4),Pi(0,8,9,-5,0,15,22,2,0,6,28,5),Pi(0,8,10,-5,0,16,24,2,0,6,30,5),Pi(0,8,11,-5,0,17,26,2,0,6,32,5),Pi(0,9,11,-5,0,18,28,2,0,7,34,6),Pi(0,9,12,-6,0,19,29,2,0,7,36,6),Pi(0,10,13,-6,0,20,31,3,0,8,38,7),Pi(0,10,13,-6,0,21,33,3,0,8,40,7),Pi(0,10,14,-6,0,22,35,3,0,8,42,7),Pi(0,11,14,-7,0,23,36,3,0,9,44,8),Pi(0,11,15,-7,0,24,38,3,0,9,46,8)],Ai=["duration","easing","delay"],Li={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Fi(e){return`${Math.round(e)}ms`}function Vi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Bi(e){const t=Mr({},Li,e.easing),n=Mr({},$i,e.duration);return Mr({getAutoHeightDuration:Vi,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Rr(r,Ai);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!n(o)&&!t(o)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${o}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!n(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:Fi(o)} ${i} ${"string"==typeof a?a:Fi(a)}`)).join(",")}},e,{easing:t,duration:n})}const qi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Hi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Ui=function(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=Rr(e,Hi);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Zr(18));const s=Oi(r),l=ai(e);let c=Gr(l,{mixins:gi(l.breakpoints,n),palette:s,shadows:zi.slice(),typography:Di(s,i),transitions:Bi(o),zIndex:Mr({},qi)});if(c=Gr(c,a),c=t.reduce(((e,t)=>Gr(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let r;for(r in t){const o=t[r];if(-1!==e.indexOf(r)&&Object.keys(o).length>0){if("production"!==process.env.NODE_ENV){const e=oo("",r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:o}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=Mr({},ni,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return oi({sx:e,theme:this})},c}(),Wi=Ui;function Ki(){const e=function(e=li){return si(e)}(Wi);return"production"!==process.env.NODE_ENV&&n.useDebugValue(e),e.$$material||e}function Gi(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Yi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Xi={entering:{opacity:1},entered:{opacity:1}},Ji=n.forwardRef((function(e,t){const r=Ki(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:h,onExiting:m,style:g,timeout:y=o,TransitionComponent:v=Hr}=e,b=Rr(e,Yi),x=n.useRef(null),w=function(...e){return n.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}(x,s.ref,t),k=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=k(p),j=k(((e,t)=>{(e=>{e.scrollTop})(e);const n=Gi({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),u&&u(e,t)})),N=k(d),_=k(m),E=k((e=>{const t=Gi({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),f&&f(e)})),S=k(h);return ve.jsx(v,Mr({appear:a,in:c,nodeRef:x,onEnter:j,onEntered:N,onEntering:C,onExit:E,onExited:S,onExiting:_,addEndListener:e=>{i&&i(x.current,e)},timeout:y},b,{children:(e,t)=>n.cloneElement(s,Mr({style:Mr({opacity:0,visibility:"exited"!==e||c?void 0:"hidden"},Xi[e],g,s.props.style),ref:w},t))}))}));"production"!==process.env.NODE_ENV&&(Ji.propTypes={addEndListener:Z.func,appear:Z.bool,children:Jr.isRequired,easing:Z.oneOfType([Z.shape({enter:Z.string,exit:Z.string}),Z.string]),in:Z.bool,onEnter:Z.func,onEntered:Z.func,onEntering:Z.func,onExit:Z.func,onExited:Z.func,onExiting:Z.func,style:Z.object,timeout:Z.oneOfType([Z.number,Z.shape({appear:Z.number,enter:Z.number,exit:Z.number})])});const Zi=Ji,Qi=e=>ve.jsx(g,{TransitionComponent:Zi,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),ea=e=>ve.jsx(y,{...e}),ta="_styled-label-md_jbn3o_1",na="_styled-label-base_jbn3o_10",ra="_styled-label-lg_jbn3o_19",oa="_styled-label-xl_jbn3o_27",ia=({title:e,onClick:t,className:n,dataTest:r,size:o="base"})=>{const i=(({size:e})=>{switch(e){case"md":return ta;case"lg":return ra;case"xl":return oa;default:return na}})({size:o});return ve.jsx("div",{className:ui(i,n),onClick:t,"data-test":r,children:e})},aa="_asma-core-ui-button_1r2np_1",sa={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},la=({variant:e="contained",className:t="",size:n="medium",children:r,refLink:o,startIcon:i,endIcon:a,dataTest:s,error:l,...c})=>{const u="large"===n||"medium"===n,d=l?"error":"common";return ve.jsxs("button",{...c,className:ui(aa,sa[e],sa[d],sa[n],t),ref:o,"data-test":s,children:[i,r&&ve.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:u?"8px":"4px",paddingLeft:u?"8px":"4px",paddingRight:u?"8px":"4px"},children:r}),a]})},ca="_styled-dialog-root_1st3i_1",ua="_styled-top-header_1st3i_6",da="_styled-dialog-close_1st3i_13",pa="_styled-dialog-info_1st3i_20",fa="_styled-dialog-label_1st3i_27",ha="_styled-dialog-title_1st3i_37";function ma(){const e=function(){const[e,t]=a(window.innerWidth),n=()=>{t(window.innerWidth)};return s((()=>(n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const ga=({onCloseText:e,children:t,dataTest:n,showCloseIcon:r=!0,dialogLabel:o,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=ma();return ve.jsxs(v,{"data-test":n,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,...s,children:[ve.jsx("div",{className:ca,children:o||i||r?ve.jsxs("div",{className:ua,children:[ve.jsxs("div",{className:pa,children:[o&&ve.jsx("div",{className:fa,children:o}),i&&ve.jsx("div",{className:ha,children:i})]}),r&&ve.jsxs("div",{className:da,children:[a,ve.jsx(la,{dataTest:`close-button-${n}`,variant:"textGray",size:"small",endIcon:ve.jsx(Hn,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]}):null}),t]})},ya="_styled-dialog-actions-root_1yp8r_1",va="_styled-dialog-actions_1yp8r_1",ba="_action-button-wrapper_1yp8r_17";function xa(...e){return J(ui(e))}const wa=e=>ve.jsx(b,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:ya},children:ve.jsx("div",{className:xa(va,e.className),children:r.Children.map(e.children,(e=>ve.jsx("div",{className:ba,children:e})))})}),ka="_styled-dialog-content_d2vki_1",Ca=({children:e,classes:t,className:n,...r})=>ve.jsx(x,{...r,"data-test":"styled-dialog-content",classes:{...t,root:ka},className:n,children:e}),ja="_styled-dialog-title-root_mcspk_1",Na=({children:e,...t})=>e?ve.jsx(w,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:ja},children:e}):null;function _a(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const Ea=({emptyText:e,isEmpty:t=!0,className:n=""})=>t?ve.jsxs("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${n}`,children:[ve.jsx(_a,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),ve.jsx("p",{className:"font-normal",children:e})]}):null,Sa={small:16,medium:24,large:32},Oa=({isLoading:e,className:t="",size:n="medium"})=>{if(!e)return null;const r=Sa[n];return ve.jsx("div",{className:ui("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:ve.jsx(zn,{width:r,height:r})})},Ia={...n};let Ta=0;const Ma=Ia.useId;function Ra(e,t){if(void 0!==Ma){const n=Ma();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){const[r,o]=n.useState(e),i=e||r;return n.useEffect((()=>{null==r&&(Ta+=1,o(`${t}-${Ta}`))}),[r,t]),i}(e,t)}function Da(e){return Ra(e,"base-ui")}const Pa={};function za(e,t){const r=n.useRef(Pa);return r.current===Pa&&(r.current=e(t)),r}function Aa(e,t,n,r){const o=za(La).current;return function(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}(o,e,t,n,r)&&$a(o,[e,t,n,r]),o.callback}function La(){return{callback:null,cleanup:null,refs:[]}}function $a(e,t){e.refs=t,t.every((e=>null==e))?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const o=t[e];if(null!=o)switch(typeof o){case"function":{const t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}const Fa=parseInt(n.version,10);function Va(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}const Ba={};function qa(e,t,n,r,o){let i={...Ka(e,Ba)};return t&&(i=Ha(i,t)),n&&(i=Ha(i,n)),r&&(i=Ha(i,r)),o&&(i=Ha(i,o)),i}function Ha(e,t){return Wa(t)?t(e):function(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":e[n]=Va(e.style,r);break;case"className":e[n]=Xa(e.className,r);break;default:Ua(n,r)?e[n]=Ga(e[n],r):e[n]=r}}return e}(e,t)}function Ua(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||typeof t>"u")}function Wa(e){return"function"==typeof e}function Ka(e,t){return Wa(e)?e(t):e??Ba}function Ga(e,t){return t?e?n=>{if(function(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}(n)){const r=n;Ya(r);const o=t(r);return r.baseUIHandlerPrevented||null==e||e(r),o}const r=t(n);return null==e||e(n),r}:t:e}function Ya(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Xa(e,t){return t?e?t+" "+e:t:e}const Ja={};function Za(e,t,r={}){const o=t.render,i=function(e,t={}){const{className:r,render:o}=e,{state:i=Ja,ref:a,props:s,disableStyleHooks:l,customStyleHookMapping:c,enabled:u=!0}=t,d=u?function(e,t){return"function"==typeof e?e(t):e}(r,i):void 0;let p;!0!==l&&(p=n.useMemo((()=>u?function(e,t){const n={};for(const r in e){const o=e[r];if(null!=t&&t.hasOwnProperty(r)){const e=t[r](o);null!=e&&Object.assign(n,e)}else!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}(i,c):Ja),[i,c,u]));const f=u?Va(p,Array.isArray(s)?function(e){if(0===e.length)return Ba;if(1===e.length)return Ka(e[0],Ba);let t={...Ka(e[0],Ba)};for(let n=1;n<e.length;n+=1)t=Ha(t,e[n]);return t}(s):s)??Ja:Ja;return typeof document<"u"&&(u?Array.isArray(a)?f.ref=function(e){const t=za(La).current;return function(e,t){return e.refs.length!==t.length||e.refs.some(((e,n)=>e!==t[n]))}(t,e)&&$a(t,e),t.callback}([f.ref,Qa(o),...a]):f.ref=Aa(f.ref,Qa(o),a):Aa(null,null)),u?(void 0!==d&&(f.className=Xa(f.className,d)),f):Ja}(t,r);if(!1===r.enabled)return null;return function(e,t,r,o){if(t){if("function"==typeof t)return t(r,o);const e=qa(r,t.props);return e.ref=r.ref,n.cloneElement(t,e)}if(e&&"string"==typeof e)return function(e,t){return"button"===e?ve.jsx("button",{type:"button",...t}):"img"===e?ve.jsx("img",{alt:"",...t}):n.createElement(e,t)}(e,r);throw new Error("Base UI: Render element or function are not defined.")}(e,o,i,r.state??Ja)}function Qa(e){return e&&"function"!=typeof e?function(e){return Fa>=e}(19)?e.props.ref:e.ref:null}function es({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t),l=i?e:a;if("production"!==process.env.NODE_ENV){n.useEffect((()=>{i!==(void 0!==e)&&console.error([`Base UI: A component is changing the ${i?"":"un"}controlled ${o} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,r,e]);const{current:a}=n.useRef(t);n.useEffect((()=>{!i&&!Object.is(a,t)&&console.error([`Base UI: A component is changing the default ${o} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"))}),[JSON.stringify(t)])}return[l,n.useCallback((e=>{i||s(e)}),[])]}let ts=function(e){return e.checked="data-checked",e.unchecked="data-unchecked",e.disabled="data-disabled",e.readonly="data-readonly",e.required="data-required",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e}({});function ns(e){return n.useMemo((()=>({checked:t=>e.indeterminate?{}:t?{[ts.checked]:""}:{[ts.unchecked]:""}})),[e.indeterminate])}const rs=n[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],os=rs&&rs!==n.useLayoutEffect?rs:e=>e();function is(e){const t=za(as).current;return t.next=e,os(t.effect),t.trampoline}function as(){const e={next:void 0,callback:ss,trampoline:(...t)=>{var n;return null==(n=e.callback)?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function ss(){if("production"!==process.env.NODE_ENV)throw new Error("Base UI: Cannot call an event handler while rendering.")}const ls=typeof document<"u"?n.useLayoutEffect:()=>{},cs={clip:"rect(0 0 0 0)",overflow:"hidden",whiteSpace:"nowrap",position:"fixed",top:0,left:0,border:0,padding:0,width:1,height:1,margin:-1},us=n.createContext(void 0);function ds(e={}){const{disabled:t=!1,focusableWhenDisabled:r,tabIndex:o=0,native:i=!0}=e,a=n.useRef(null),s=void 0!==function(e=!1){const t=n.useContext(us);if(void 0===t&&!e)throw new Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");return t}(!0),l=is((()=>{const e=a.current;return!("A"!==(null==e?void 0:e.tagName)||null==e||!e.href)})),{props:c}=function(e){const{focusableWhenDisabled:t,disabled:r,composite:o=!1,tabIndex:i=0,isNativeButton:a}=e,s=o&&!1!==t,l=o&&!1===t;return{props:n.useMemo((()=>{const e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return o||(e.tabIndex=i,!a&&r&&(e.tabIndex=t?i:-1)),(a&&(t||s)||!a&&r)&&(e["aria-disabled"]=r),a&&(!t||l)&&(e.disabled=r),e}),[o,r,t,s,l,a,i])}}({focusableWhenDisabled:r,disabled:t,composite:s,tabIndex:o,isNativeButton:i});return ls((()=>{const e=a.current;e instanceof HTMLButtonElement&&s&&t&&void 0===c.disabled&&e.disabled&&(e.disabled=!1)}),[t,c.disabled,s]),{getButtonProps:n.useCallback(((e={})=>{const{onClick:n,onMouseDown:r,onKeyUp:o,onKeyDown:a,onPointerDown:s,...u}=e;return qa({type:i?"button":void 0,onClick(e){t?e.preventDefault():null==n||n(e)},onMouseDown(e){t||null==r||r(e)},onKeyDown(e){t||(Ya(e),null==a||a(e)),!e.baseUIHandlerPrevented&&e.target===e.currentTarget&&!i&&!l()&&"Enter"===e.key&&!t&&(null==n||n(e),e.preventDefault())},onKeyUp(e){t||(Ya(e),null==o||o(e)),!e.baseUIHandlerPrevented&&e.target===e.currentTarget&&!i&&!t&&" "===e.key&&(null==n||n(e))},onPointerDown(e){t?e.preventDefault():null==s||s(e)}},i?void 0:{role:"button"},c,u)}),[t,c,i,l]),buttonRef:a}}"production"!==process.env.NODE_ENV&&(us.displayName="CompositeRootContext");const ps=()=>{};let fs=function(e){return e.disabled="data-disabled",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e}({});const hs={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},ms={valid:e=>null===e?null:e?{[fs.valid]:""}:{[fs.invalid]:""}},gs=n.createContext({invalid:void 0,controlId:void 0,setControlId:ps,labelId:void 0,setLabelId:ps,messageIds:[],setMessageIds:ps,name:void 0,validityData:{state:hs,errors:[],error:"",value:"",initialValue:null},setValidityData:ps,disabled:void 0,touched:!1,setTouched:ps,dirty:!1,setDirty:ps,filled:!1,setFilled:ps,focused:!1,setFocused:ps,validate:()=>null,validationMode:"onBlur",validationDebounceTime:0,state:{disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},markedDirtyRef:{current:!1}});function ys(e=!0){const t=n.useContext(gs);if(t.setControlId===ps&&!e)throw new Error("Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");return t}"production"!==process.env.NODE_ENV&&(gs.displayName="FieldRootContext");const vs=[];function bs(e){n.useEffect(e,vs)}class xs{constructor(){t(this,"currentId",0),t(this,"clear",(()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)})),t(this,"disposeEffect",(()=>this.clear))}static create(){return new xs}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}isStarted(){return 0!==this.currentId}}function ws(){const e=za(xs.create).current;return bs(e.disposeEffect),e}const ks=n.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:ps});function Cs(){return n.useContext(ks)}function js(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}"production"!==process.env.NODE_ENV&&(ks.displayName="FormContext");const Ns=Object.keys(hs);function _s(){const{setValidityData:e,validate:t,messageIds:r,validityData:o,validationMode:i,validationDebounceTime:a,invalid:s,markedDirtyRef:l,controlId:c,state:u,name:d}=ys(),{formRef:p,clearErrors:f}=Cs(),h=ws(),m=n.useRef(null),g=is((async(n,r=!1)=>{const i=m.current;if(!i)return;if(r){if(!1!==u.valid)return;const t=i.validity;if(!t.valueMissing){const t={value:n,state:{...hs,valid:!0},error:"",errors:[],initialValue:o.initialValue};if(i.setCustomValidity(""),c){const e=p.current.fields.get(c);e&&p.current.fields.set(c,{...e,...js(t,!1)})}return void e(t)}const r=Ns.reduce(((e,n)=>(e[n]=t[n],e)),{});if(!r.valid&&!function(e){if(!e||e.valid||!e.valueMissing)return!1;let t=!1;for(const n of Ns)"valid"!==n&&("valueMissing"===n&&(t=e[n]),e[n]&&(t=!1));return t}(r))return}h.clear();let a=null,d=[];const f=function(e){const t=Ns.reduce(((t,n)=>(t[n]=e.validity[n],t)),{});let n=!1;for(const e of Ns)if("valid"!==e)if("valueMissing"===e&&t[e])n=!0;else if(t[e])return t;return n&&!l.current&&(t.valid=!0,t.valueMissing=!1),t}(i);let g;if(i.validationMessage)g=i.validationMessage,d=[i.validationMessage];else{const e=Array.from(p.current.fields.values()).reduce(((e,t)=>{var n,r;return t.name&&t.getValueRef&&(e[t.name]=null==(r=(n=t.getValueRef).current)?void 0:r.call(n)),e}),{}),r=t(n,e);a="object"==typeof r&&null!==r&&"then"in r?await r:r,null!==a&&(f.valid=!1,f.customError=!0,Array.isArray(a)?(d=a,i.setCustomValidity(a.join("\n"))):a&&(d=[a],i.setCustomValidity(a)))}const y={value:n,state:f,error:g??(Array.isArray(a)?a[0]:a??""),errors:d,initialValue:o.initialValue};if(c){const e=p.current.fields.get(c);e&&p.current.fields.set(c,{...e,...js(y,s)})}e(y)})),y=n.useCallback(((e={})=>qa({...r.length&&{"aria-describedby":r.join(" ")},...!1===u.valid&&{"aria-invalid":!0}},e)),[r,u.valid]),v=n.useCallback(((e={})=>qa({onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f(d),"onChange"!==i)return void g(e.currentTarget.value,!0);if(s)return;const t=e.currentTarget;""!==t.value?(h.clear(),a?h.start(a,(()=>{g(t.value)})):g(t.value)):g(t.value)}},y(e))),[y,f,d,h,g,s,i,a]);return n.useMemo((()=>({getValidationProps:y,getInputValidationProps:v,inputRef:m,commitValidation:g})),[y,v,g])}function Es(e){const t=za(Ss,e).current;return t.next=e,ls(t.effect),t}function Ss(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}const Os=n.createContext(void 0);"production"!==process.env.NODE_ENV&&(Os.displayName="CheckboxGroupContext");const Is=n.createContext(void 0);"production"!==process.env.NODE_ENV&&(Is.displayName="CheckboxRootContext");const Ts={},Ms=n.forwardRef((function(e,t){const{checked:r,className:o,defaultChecked:i=!1,disabled:a=!1,id:s,indeterminate:l=!1,inputRef:c,name:u,onCheckedChange:d,parent:p=!1,readOnly:f=!1,render:h,required:m=!1,value:g,nativeButton:y=!0,...v}=e,{clearErrors:b}=Cs(),{disabled:x,labelId:w,name:k,setControlId:C,setDirty:j,setFilled:N,setFocused:_,setTouched:E,state:S,validationMode:O,validityData:I}=ys(),T=function(e=!0){const t=n.useContext(Os);if(void 0===t&&!e)throw new Error("Base UI: CheckboxGroupContext is missing. CheckboxGroup parts must be placed within <CheckboxGroup>.");return t}(),M=null==T?void 0:T.parent,R=M&&T.allValues,D=x||(null==T?void 0:T.disabled)||a,P=k??u,z=g??P;let A={};R&&(p?A=T.parent.getParentProps():z&&(A=T.parent.getChildProps(z)));const L=is(d),{checked:$=r,indeterminate:F=l,onCheckedChange:V,...B}=A,q=null==T?void 0:T.value,H=null==T?void 0:T.setValue,U=null==T?void 0:T.defaultValue,W=n.useRef(null),{getButtonProps:K,buttonRef:G}=ds({disabled:D,native:y}),Y=_s(),X=(null==T?void 0:T.fieldControlValidation)??Y,[J,Z]=es({controlled:z&&q&&!p?q.includes(z):$,default:z&&U&&!p?U.includes(z):i,name:"Checkbox",state:"checked"}),Q=Da(s);ls((()=>{const e=null==W?void 0:W.current;if(e)return T?C(s??null):null==e.closest("label")&&C(Q),()=>{C(void 0)}}),[T,Q,s,C]),function(e){const{formRef:t}=Cs(),{invalid:n,markedDirtyRef:r,validityData:o,setValidityData:i}=ys(),{enabled:a=!0,value:s,id:l,name:c,controlRef:u,commitValidation:d}=e,p=Es(e.getValue);ls((()=>{var e;if(!a)return;let t=s;void 0===t&&(t=null==(e=p.current)?void 0:e.call(p)),null===o.initialValue&&t!==o.initialValue&&i((e=>({...e,initialValue:t})))}),[a,i,s,o.initialValue,p]),ls((()=>{a&&l&&t.current.fields.set(l,{controlRef:u,validityData:js(o,n),validate(){var e;let t=s;void 0===t&&(t=null==(e=p.current)?void 0:e.call(p)),r.current=!0,ee.flushSync((()=>d(t)))},getValueRef:p,name:c})}),[d,u,a,t,p,l,n,r,c,o,s])}({enabled:!T,id:Q,commitValidation:X.commitValidation,value:J,controlRef:W,name:P,getValue:()=>J});const te=n.useRef(null),ne=Aa(c,te,X.inputRef);ls((()=>{te.current&&(te.current.indeterminate=F,J&&N(!0))}),[J,F,N]);const re=is((()=>_(!0))),oe=is((()=>{const e=te.current;e&&(E(!0),_(!1),"onBlur"===O&&X.commitValidation(T?q:e.checked))})),ie=is((e=>{var t;e.defaultPrevented||f||(e.preventDefault(),null==(t=te.current)||t.click())})),ae=qa({checked:J,disabled:D,name:p?void 0:P,id:`${Q}-input`,required:m,ref:ne,style:cs,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;if(j(t!==I.initialValue),Z(t),null==V||V(t,e.nativeEvent),L(t,e.nativeEvent),b(P),T||(N(t),"onChange"===O?X.commitValidation(t):X.commitValidation(t,!0)),z&&q&&H&&!p){const n=t?[...q,z]:q.filter((e=>e!==z));H(n,e.nativeEvent),N(n.length>0),"onChange"===O?X.commitValidation(n):X.commitValidation(n,!0)}}},void 0!==g?{value:(T?J&&g:g)||""}:Ts,T?X.getValidationProps:X.getInputValidationProps),se=R?!!$:J,le=R&&F||l;n.useEffect((()=>{M&&z&&M.disabledStatesRef.current.set(z,D)}),[M,D,z]);const ce=n.useMemo((()=>({...S,checked:se,disabled:D,readOnly:f,required:m,indeterminate:le})),[S,se,D,f,m,le]),ue=ns(ce),de=Za("button",e,{state:ce,ref:[G,W,t,null==T?void 0:T.registerControlRef],props:[{id:Q,role:"checkbox",disabled:D,"aria-checked":F?"mixed":J,"aria-readonly":f||void 0,"aria-required":m||void 0,"aria-labelledby":w,"data-parent":p?"":void 0,onFocus:re,onBlur:oe,onClick:ie},X.getValidationProps,v,B,K],customStyleHookMapping:ue});return ve.jsxs(Is.Provider,{value:ce,children:[de,!J&&!T&&e.name&&!p&&ve.jsx("input",{type:"hidden",name:e.name,value:"off"}),ve.jsx("input",{...ae})]})}));"production"!==process.env.NODE_ENV&&(Ms.displayName="CheckboxRoot");const Rs=null;let Ds=globalThis.requestAnimationFrame;const Ps=new class{constructor(){t(this,"callbacks",[]),t(this,"callbacksCount",0),t(this,"nextId",1),t(this,"startId",1),t(this,"isScheduled",!1),t(this,"tick",(e=>{var t;this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r<n.length;r+=1)null==(t=n[r])||t.call(n,e)}))}request(e){const t=this.nextId;this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1;const n="test"===process.env.NODE_ENV&&Ds!==requestAnimationFrame&&(Ds=requestAnimationFrame,!0);return(!this.isScheduled||n)&&(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){const t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class zs{constructor(){t(this,"currentId",Rs),t(this,"cancel",(()=>{this.currentId!==Rs&&(Ps.cancel(this.currentId),this.currentId=Rs)})),t(this,"disposeEffect",(()=>this.cancel))}static create(){return new zs}static request(e){return Ps.request(e)}static cancel(e){return Ps.cancel(e)}request(e){this.cancel(),this.currentId=Ps.request((()=>{this.currentId=Rs,e()}))}}function As(e,t=!1){const n=function(){const e=za(zs.create).current;return bs(e.disposeEffect),e}(),r=ws();return is(((o,i=null)=>{n.cancel(),r.clear();const a=e.current;a&&("function"!=typeof a.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?o():n.request((()=>{function e(){a&&Promise.allSettled(a.getAnimations().map((e=>e.finished))).then((()=>{null!=i&&i.aborted||ee.flushSync(o)}))}t?r.start(0,e):e()})))}))}function Ls(e){const{enabled:t=!0,open:r,ref:o,onComplete:i}=e,a=Es(r),s=is(i),l=As(o,r);n.useEffect((()=>{t&&l((()=>{r===a.current&&s()}))}),[t,r,s,l,a])}function $s(e,t=!1,r=!1){const[o,i]=n.useState(e&&t?"idle":void 0),[a,s]=n.useState(e);return e&&!a&&(s(!0),i("starting")),!e&&a&&"ending"!==o&&!r&&i("ending"),!e&&!a&&"ending"===o&&i(void 0),ls((()=>{if(!e&&a&&"ending"!==o&&r){const e=zs.request((()=>{i("ending")}));return()=>{zs.cancel(e)}}}),[e,a,o,r]),ls((()=>{if(!e||t)return;const n=zs.request((()=>{ee.flushSync((()=>{i(void 0)}))}));return()=>{zs.cancel(n)}}),[t,e]),ls((()=>{if(!e||!t)return;e&&a&&"idle"!==o&&i("starting");const n=zs.request((()=>{i("idle")}));return()=>{zs.cancel(n)}}),[t,e,a,i,o]),n.useMemo((()=>({mounted:a,setMounted:s,transitionStatus:o})),[a,o])}let Fs=function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e}({});const Vs={[Fs.startingStyle]:""},Bs={[Fs.endingStyle]:""},qs={transitionStatus:e=>"starting"===e?Vs:"ending"===e?Bs:null},Hs=n.forwardRef((function(e,t){const{render:r,className:o,keepMounted:i=!1,...a}=e,s=function(){const e=n.useContext(Is);if(void 0===e)throw new Error("Base UI: CheckboxRootContext is missing. Checkbox parts must be placed within <Checkbox.Root>.");return e}(),l=s.checked||s.indeterminate,{transitionStatus:c,setMounted:u}=$s(l),d=n.useRef(null),p=n.useMemo((()=>({...s,transitionStatus:c})),[s,c]);Ls({open:l,ref:d,onComplete(){l||u(!1)}});const f=ns(s),h=n.useMemo((()=>({...f,...qs,...ms})),[f]),m=i||l,g=Za("span",e,{enabled:m,ref:[t,d],state:p,customStyleHookMapping:h,props:a});return m?g:null}));"production"!==process.env.NODE_ENV&&(Hs.displayName="CheckboxIndicator");const Us={CheckboxWrapper:"_CheckboxWrapper_w8n48_1","size-small":"_size-small_w8n48_11",Disabled:"_Disabled_w8n48_15",CheckboxHover:"_CheckboxHover_w8n48_20",CheckboxRippleContainer:"_CheckboxRippleContainer_w8n48_20",CheckboxRipple:"_CheckboxRipple_w8n48_20",ripple:"_ripple_w8n48_1",Checkbox:"_Checkbox_w8n48_1",Indicator:"_Indicator_w8n48_113"},Ws=({className:e})=>ve.jsx("svg",{viewBox:"0 0 24 24",className:e,fill:"none",children:ve.jsx("rect",{x:"5.5",y:"10.5",width:"13",height:"2.75",fill:"currentColor"})}),Ks=({dataTest:e,size:t="medium",disabled:r,readOnly:o,indeterminate:i=!1,checked:a,disableRipple:s,hideWrapper:l,className:c,onChange:u,...d})=>{const p=xa(!l&&Us.CheckboxWrapper,!l&&Us[`size-${t}`],!l&&r&&Us.Disabled,!l&&!s&&Us.CheckboxHover,c),f=xa(Us.Checkbox,Us[`size-${t}`],r&&Us.Disabled,o&&Us.ReadOnly),h=i?Ws:Un,m=n.useRef(null);return ve.jsxs("label",{className:p,"data-test":e,onClick:()=>{var e;if(s||r||o)return;const t=document.createElement("span");t.className=Us.CheckboxRipple||"",null==(e=m.current)||e.appendChild(t),setTimeout((()=>t.remove()),400)},children:[!s&&!l&&ve.jsx("span",{ref:m,className:Us.CheckboxRippleContainer}),ve.jsx(Ms,{checked:a,disabled:r,readOnly:o,"data-test":e,className:f,indeterminate:i,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onCheckedChange:e=>{if(o)return;const t={target:{name:d.name,value:d.value,checked:e}};null==u||u(t,e)},...d,children:ve.jsx(Hs,{className:Us.Indicator,style:{pointerEvents:"none"},children:ve.jsx(h,{})})})]})},Gs=({allowClear:e,onClear:t,readOnly:n,disabled:r,dataTest:o,...i})=>ve.jsx(k,{...i,"data-test":o,disabled:r||n,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:ve.jsx("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:ve.jsx(Hn,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...n&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Ys=({value:e,onClear:t,...n})=>{const[r,o]=a(!1),i=r||e;return ve.jsxs("div",{className:"relative w-full",children:[ve.jsx(Gs,{size:"small",variant:"outlined",value:e,onFocus:()=>o(!0),onBlur:()=>o(!1),InputProps:{className:xa("transition-[padding] duration-300",i?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:i?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...n,sx:{...n.fullWidth?{width:"100%"}:{width:160},...n.sx}}),ve.jsx(Pn,{width:24,height:24,className:xa("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",i?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),ve.jsx("div",{className:xa("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==t||t()},children:ve.jsx(Hn,{width:20,height:20,color:"var(--colors-delta-700)",className:"pointer-events-none"})})]})},Xs={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Js=({id:e,variant:t="active",label:n="",labelClassName:r="",description:o="",value:i="",minRows:u=3,maxRows:d=1/0,disabled:p,error:f,errorMessage:h,containerClassName:m="",className:g="",maxLength:y=1/0,counter:v,refLink:b,dataTest:x,counterLimit:w,...k})=>{const C=c(null),j=b||C,N=!(!v||!w),[_,E]=a(!1);s((()=>{E(!0)}),[]),((e,t,n,r,o,i)=>{l((()=>{if(e){const t=i?32:0;e.style.height="auto";const n=20,o=e.scrollHeight-24;Math.ceil(o/n)>r?e.style.height=`${n*r+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,n,r,o,i])})(j.current,i,u,d,_,N),d<u&&(u=d);const[S,O]=a(i.length);s((()=>{O(i.length)}),[i]);const I=f?"error":"active",T=f?"error":p?"disabled":"active";return ve.jsxs("div",{className:`flex flex-col gap-1 relative ${m}`,"data-test":x,children:[ve.jsx("label",{htmlFor:e,className:`${Xs.label} ${Xs[T]} ${r}`,children:n}),ve.jsx("span",{className:`${Xs.description} ${Xs[T]}`,children:f?h:o}),"view_only"===t?ve.jsx("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:i}):"not_editable"===t?ve.jsx("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:i}):ve.jsx("textarea",{...k,id:e,ref:j,className:`${Xs.textarea} ${Xs[I]} ${g} ${N?"pb-[32px]":""}`,wrap:"soft",value:i,disabled:p,maxLength:y}),N&&ve.jsxs("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[S,"/",w]})]})},Zs=({dataTest:e,allowClear:t,...n})=>ve.jsx(C,{...n,"data-test":e,value:n.value,IconComponent:e=>ve.jsx(Zt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ui(e.className,"select-custom-icon")}),endAdornment:t&&n.value?ve.jsx("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=n.onChange)||e.call(n,{target:{value:""}},null)},children:ve.jsx(Hn,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...n.sx}}),Qs=e=>ve.jsxs(j,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[ve.jsx("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&ve.jsx(Zt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),ve.jsx("span",{children:e.children})]}),el="_styledSelectAutocompleteWrapper_lfbvb_1",tl="_select-custom-icon_lfbvb_5";function nl({dataTest:e,autoHeight:t,getOptionLabel:n,wrapperClassName:r,...o}){const[i,l]=a("auto"),u=c(null);s((()=>{var e,n;const r=(null==(e=u.current)?void 0:e.getBoundingClientRect().height)??0,o=(null==(n=u.current)?void 0:n.getBoundingClientRect().top)??0,i=window.innerHeight-o-r-40;t&&l(i>0?i:"auto")}),[t]);const d=t?{style:{maxHeight:"auto"===i?"auto":`${i}px`}}:{},p=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return ve.jsx("div",{className:xa(el,r),ref:u,children:ve.jsx(N,{...o,getOptionLabel:n,ListboxProps:{...d,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:ui("!text-sm",o.className),popupIcon:o.popupIcon||ve.jsx(Zt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ui(tl)}),"data-test":e,PaperComponent:({children:t})=>ve.jsx(_,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==o?void 0:o.renderOption)||((e,t,{selected:r})=>ve.jsxs("li",{...e,children:[ve.jsx("span",{style:{width:"24px",height:"22px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:r&&ve.jsx(Zt,{icon:"mdi:tick",width:20,height:20,style:{color:"var(--colors-gama-500)"}})}),ve.jsx("span",{className:"flex-1 text-sm truncate",children:(null==n?void 0:n(t))||p(t)})]})),sx:{...o.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const rl=({dataTest:e,...t})=>{var n,r,o;return ve.jsx(E,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:ui("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(n=t.slotProps)?void 0:n.thumb},rail:{className:"bg-delta-200",...null==(r=t.slotProps)?void 0:r.rail},markLabel:{className:ui("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(o=t.slotProps)?void 0:o.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})};var ol,il,al={exports:{}},sl={},ll={};
20
20
  /**
21
21
  * @license React
22
22
  * react-jsx-runtime.production.min.js
@@ -35,4 +35,4 @@ var e=Object.defineProperty,t=(t,n,r)=>(((t,n,r)=>{n in t?e(t,n,{enumerable:!0,c
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
37
  */
38
- "production"===process.env.NODE_ENV?Fa.exports=function(){if(La)return Ba;La=1;var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,r){var s,l={},c=null,u=null;for(s in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)o.call(n,s)&&!a.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return Ba.Fragment=n,Ba.jsx=s,Ba.jsxs=s,Ba}():Fa.exports=($a||($a=1,"production"!==process.env.NODE_ENV&&function(){var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=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",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,o)}(0,e,n)}var v;function x(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&b("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 o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return x(e)+".Consumer";case s:return x(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case f:var r=e,h=r._payload,m=r._init;try{return w(m(h))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,j,N,_,S,E,O=Object.assign,T=0;function I(){}I.__reactDisabledLog=!0;var M,R=y.ReactCurrentDispatcher;function D(e,t,n){if(void 0===M)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);M=r&&r[1]||""}return"\n"+M+e}var P,z=!1,A="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||z)return"";var n,r=P.get(e);if(void 0!==r)return r;z=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=R.current,R.current=null,function(){if(0===T){k=console.log,C=console.info,j=console.warn,N=console.error,_=console.group,S=console.groupCollapsed,E=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}T++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),c=s.length-1,u=l.length-1;c>=1&&u>=0&&s[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==l[u]){var d="\n"+s[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{z=!1,R.current=o,function(){if(0==--T){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:k}),info:O({},e,{value:C}),warn:O({},e,{value:j}),error:O({},e,{value:N}),group:O({},e,{value:_}),groupCollapsed:O({},e,{value:S}),groupEnd:O({},e,{value:E})})}T<0&&b("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?D(p):"";return"function"==typeof e&&P.set(e,f),f}function $(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case d:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return L(e,!1)}(e.render);case p:return $(e.type,t,n);case f:var o=e,i=o._payload,a=o._init;try{return $(a(i),t,n)}catch{}}return""}P=new A;var F=Object.prototype.hasOwnProperty,B={},V=y.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);V.setExtraStackFrame(n)}else V.setExtraStackFrame(null)}var H=Array.isArray;function U(e){return H(e)}function W(e){return""+e}function K(e){if(function(e){try{return W(e),!1}catch{return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),W(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};var ee,te=y.ReactCurrentOwner,ne=y.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(n)}else ne.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ie();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(!ae[n]){ae[n]=!0;var r="";e&&e._owner&&e._owner!==te.current&&(r=" It was passed a child from "+w(e._owner.type)+"."),re(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),re(null)}}}function le(e,t){if("object"==typeof e)if(U(e))for(var n=0;n<e.length;n++){var r=e[n];oe(r)&&se(r,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var o=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 o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)oe(i.value)&&se(i.value,t)}}function ce(e,n,r,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==o&&x!==a&&x!==i&&x!==u&&x!==d&&x!==h&&("object"!=typeof x||null===x||x.$$typeof!==f&&x.$$typeof!==p&&x.$$typeof!==s&&x.$$typeof!==l&&x.$$typeof!==c&&x.$$typeof!==v&&void 0===x.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" 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 j,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=N||ie(),null===e?j="null":U(e)?j="array":void 0!==e&&e.$$typeof===t?(j="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",j,C)}var _=function(e,t,n,r,o){var i,a,s,l,c={},u=null,d=null;for(i in void 0!==n&&(K(n),u=""+n),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),u=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(d=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var n=w(J.current.type);X[n]||(b('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',w(J.current.type),e.ref),X[n]=!0)}}(t,o)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(u||d){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;u&&(a=c,s=f,(l=function(){G||(G=!0,b("%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)",s))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:l,configurable:!0})),d&&function(e,t){var n=function(){Y||(Y=!0,b("%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})}(c,f)}return Q(e,u,d,o,r,J.current,c)}(e,n,r,g,y);if(null==_)return _;if(k){var S=n.children;if(void 0!==S)if(m)if(U(S)){for(var E=0;E<S.length;E++)le(S[E],e);Object.freeze&&Object.freeze(S)}else b("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 le(S,e)}return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){re(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),re(null);break}}null!==e.ref&&(re(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(_):function(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!==c&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=w(n);!function(e,t,n,r,o){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(q(o),b("%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).",r||"React class",n,a,typeof s),q(null)),s instanceof Error&&!(s.message in B)&&(B[s.message]=!0,q(o),b("Failed %s type: %s",n,s.message),q(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}Va.Fragment=o,Va.jsx=function(e,t,n){return ce(e,t,n,!1)},Va.jsxs=function(e,t,n){return ce(e,t,n,!0)}}()),Va);var qa=Fa.exports;function Ha(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:2,children:[qa.jsx("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",children:qa.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),qa.jsxs("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12",children:[qa.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),qa.jsx("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})}function Ua(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsx("path",{fill:"currentColor",d:"M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"})})}function Wa(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}function Ka(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:ge.jsx("path",{d:"M5.83398 10.8332V9.1665H14.1673V10.8332H5.83398Z",fill:"currentColor"})})}const Ga=({dataTest:e,disabled:t,...n})=>ge.jsx(_,{...n,disabled:t,"data-test":e,checkedIcon:ge.jsx("div",{className:(t?"bg-gama-300":"bg-gama-500")+" rounded-full flex items-center justify-center w-5 h-5",children:ge.jsx(Ua,{color:"white",height:14,width:14,className:"rounded-full"})}),icon:ge.jsx("div",{className:(t?"bg-delta-50":"bg-delta-10")+" rounded-full outline outline-1 outline-delta-200 flex items-center justify-center w-5 h-5",children:ge.jsx(Ka,{color:"var(--colors-delta-600)",height:20,width:20,className:"rounded-full"})}),sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .MuiSwitch-track":{backgroundColor:"var(--colors-delta-400) !important",opacity:"1 !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important",outline:"1px solid var(--colors-delta-200) !important",outlineOffset:"0px !important"},"& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-delta-200) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-delta-50) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-100) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-300) !important",opacity:"1 !important"}}}),Ya=({dataTest:e,...t})=>ge.jsx(S,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Xa=({dataTest:e,...t})=>ge.jsx(E,{"data-test":e,...t}),Ja=({children:e,onClick:t,className:n,dataTest:r,style:o})=>ge.jsx("div",{className:si("_styled-label_1fp95_1",n),style:o,onClick:t,"data-test":r,children:e}),Za=e=>ge.jsx(O,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),Qa=({sx:e,...t})=>ge.jsx(T,{...t,sx:{color:"var(--colors-delta-800)",margin:0,"& .MuiFormControlLabel-label":{fontSize:"14px",lineHeight:"20px"},"&.Mui-disabled .MuiFormControlLabel-label":{color:"var(--colors-delta-300)"},...e}}),es=e=>ge.jsx(I,{...e}),ts=e=>ge.jsx(M,{...e}),ns=e=>ge.jsx(R,{...e}),rs=e=>ge.jsx(D,{...e}),os=e=>{var t,n;return ge.jsx(P,{...e,classes:{paper:si("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:si("py-1",null==(n=e.classes)?void 0:n.list),...e.classes}})},is=e=>{var t;return ge.jsx(k,{...e,classes:{selected:"bg-gama-50",root:si("px-3 py-2.5 hover:bg-delta-50",null==(t=e.classes)?void 0:t.root),...e.classes}})},as=e=>ge.jsx(z,{...e}),ss="_styled-link_hyb3l_1",ls="_styled-link-disabled_hyb3l_16",cs="_styled-link-xs_hyb3l_32",us="_styled-link-small_hyb3l_37",ds="_styled-link-large_hyb3l_42",ps=({href:e,disabled:t,size:n="large",dataTest:r,reflink:o,className:i,content:a,contentNode:s,...l})=>{let c=ds;switch(n){case"small":c=us;break;case"xs":c=cs;break;default:c=ds}return t?ge.jsxs("span",{className:si(ss,ls,c,i),children:[a,s]}):ge.jsxs("a",{...l,"data-test":r,ref:o,href:e,className:si(ss,c,i),children:[a,s]})},fs=e=>ge.jsx(A,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),hs=e=>ge.jsx(L,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}});function ms(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}function gs({controlled:e,default:t,name:r,state:o="value"}){const{current:i}=n.useRef(void 0!==e),[a,s]=n.useState(t),l=i?e:a;if("production"!==process.env.NODE_ENV){n.useEffect((()=>{i!==(void 0!==e)&&console.error([`Base UI: A component is changing the ${i?"":"un"}controlled ${o} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,r,e]);const{current:a}=n.useRef(t);n.useEffect((()=>{!i&&!Object.is(a,t)&&console.error([`Base UI: A component is changing the default ${o} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"))}),[JSON.stringify(t)])}return[l,n.useCallback((e=>{i||s(e)}),[])]}const ys={};function bs(e,t){const r=n.useRef(ys);return r.current===ys&&(r.current=e(t)),r}const vs=n[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],xs=vs&&vs!==n.useLayoutEffect?vs:e=>e();function ws(e){const t=bs(ks).current;return t.next=e,xs(t.effect),t.trampoline}function ks(){const e={next:void 0,callback:Cs,trampoline:(...t)=>{var n;return null==(n=e.callback)?void 0:n.call(e,...t)},effect:()=>{e.callback=e.next}};return e}function Cs(){if("production"!==process.env.NODE_ENV)throw new Error("Base UI: Cannot call an event handler while rendering.")}const js=typeof document<"u"?n.useLayoutEffect:()=>{};function Ns(e,t,n,r){const o=bs(_s).current;return function(e,t,n,r,o){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==o}(o,e,t,n,r)&&Ss(o,[e,t,n,r]),o.callback}function _s(){return{callback:null,cleanup:null,refs:[]}}function Ss(e,t){e.refs=t,t.every((e=>null==e))?e.callback=null:e.callback=n=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=n){const r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){const o=t[e];if(null!=o)switch(typeof o){case"function":{const t=o(n);"function"==typeof t&&(r[e]=t);break}case"object":o.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){const n=t[e];if(null!=n)switch(typeof n){case"function":{const t=r[e];"function"==typeof t?t():n(null);break}case"object":n.current=null}}}}}}const Es=parseInt(n.version,10);function Os(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}const Ts={};function Is(e,t,n,r,o){let i={...Ps(e,Ts)};return t&&(i=Ms(i,t)),n&&(i=Ms(i,n)),r&&(i=Ms(i,r)),o&&(i=Ms(i,o)),i}function Ms(e,t){return Ds(t)?t(e):function(e,t){if(!t)return e;for(const n in t){const r=t[n];switch(n){case"style":e[n]=Os(e.style,r);break;case"className":e[n]=Ls(e.className,r);break;default:Rs(n,r)?e[n]=zs(e[n],r):e[n]=r}}return e}(e,t)}function Rs(e,t){const n=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===n&&110===r&&o>=65&&o<=90&&("function"==typeof t||typeof t>"u")}function Ds(e){return"function"==typeof e}function Ps(e,t){return Ds(e)?e(t):e??Ts}function zs(e,t){return t?e?n=>{if(function(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}(n)){const r=n;As(r);const o=t(r);return r.baseUIHandlerPrevented||null==e||e(r),o}const r=t(n);return null==e||e(n),r}:t:e}function As(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function Ls(e,t){return t?e?t+" "+e:t:e}const $s={};function Fs(e,t,r={}){const o=t.render,i=function(e,t={}){const{className:r,render:o}=e,{state:i=$s,ref:a,props:s,disableStyleHooks:l,customStyleHookMapping:c,enabled:u=!0}=t,d=u?function(e,t){return"function"==typeof e?e(t):e}(r,i):void 0;let p;!0!==l&&(p=n.useMemo((()=>u?function(e,t){const n={};for(const r in e){const o=e[r];if(null!=t&&t.hasOwnProperty(r)){const e=t[r](o);null!=e&&Object.assign(n,e)}else!0===o?n[`data-${r.toLowerCase()}`]="":o&&(n[`data-${r.toLowerCase()}`]=o.toString())}return n}(i,c):$s),[i,c,u]));const f=u?Os(p,Array.isArray(s)?function(e){if(0===e.length)return Ts;if(1===e.length)return Ps(e[0],Ts);let t={...Ps(e[0],Ts)};for(let n=1;n<e.length;n+=1)t=Ms(t,e[n]);return t}(s):s)??$s:$s;return typeof document<"u"&&(u?Array.isArray(a)?f.ref=function(e){const t=bs(_s).current;return function(e,t){return e.refs.length!==t.length||e.refs.some(((e,n)=>e!==t[n]))}(t,e)&&Ss(t,e),t.callback}([f.ref,Bs(o),...a]):f.ref=Ns(f.ref,Bs(o),a):Ns(null,null)),u?(void 0!==d&&(f.className=Ls(f.className,d)),f):$s}(t,r);if(!1===r.enabled)return null;return function(e,t,r,o){if(t){if("function"==typeof t)return t(r,o);const e=Is(r,t.props);return e.ref=r.ref,n.cloneElement(t,e)}if(e&&"string"==typeof e)return function(e,t){return"button"===e?ge.jsx("button",{type:"button",...t}):"img"===e?ge.jsx("img",{alt:"",...t}):n.createElement(e,t)}(e,r);throw new Error("Base UI: Render element or function are not defined.")}(e,o,i,r.state??$s)}function Bs(e){return e&&"function"!=typeof e?function(e){return Es>=e}(19)?e.props.ref:e.ref:null}let Vs;function qs(...e){if("production"!==process.env.NODE_ENV){const t=e.join(" ");Vs.has(t)||(Vs.add(t),console.warn(`Base UI: ${t}`))}}"production"!==process.env.NODE_ENV&&(Vs=new Set);const Hs="ArrowUp",Us="ArrowDown",Ws="ArrowLeft",Ks="ArrowRight",Gs=n.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Ys(e){const{children:t,elementsRef:r,labelsRef:o,onMapChange:i}=e,a=n.useRef(0),s=bs(Js).current,l=bs(Xs).current,[c,u]=n.useState(0),d=n.useRef(c),p=ws(((e,t)=>{l.set(e,t??null),d.current+=1,u(d.current)})),f=ws((e=>{l.delete(e),d.current+=1,u(d.current)})),h=n.useMemo((()=>{const e=new Map;return Array.from(l.keys()).sort(Zs).forEach(((t,n)=>{const r=l.get(t)??{};e.set(t,{...r,index:n})})),e}),[l,c]);js((()=>{d.current===c&&(r.current.length!==h.size&&(r.current.length=h.size),o&&o.current.length!==h.size&&(o.current.length=h.size)),null==i||i(h)}),[i,h,r,o,c,d]);const m=ws((e=>(s.add(e),()=>{s.delete(e)})));js((()=>{s.forEach((e=>e(h)))}),[s,h]);const g=n.useMemo((()=>({register:p,unregister:f,subscribeMapChange:m,elementsRef:r,labelsRef:o,nextIndexRef:a})),[p,f,m,r,o,a]);return ge.jsx(Gs.Provider,{value:g,children:t})}function Xs(){return new Map}function Js(){return new Set}function Zs(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}"production"!==process.env.NODE_ENV&&(Gs.displayName="CompositeListContext");const Qs=n.createContext(void 0);"production"!==process.env.NODE_ENV&&(Qs.displayName="DirectionContext");const el=n.createContext(void 0);function tl(){const e=n.useContext(el);if(void 0===e)throw new Error("Base UI: AccordionRootContext is missing. Accordion parts must be placed within <Accordion.Root>.");return e}"production"!==process.env.NODE_ENV&&(el.displayName="AccordionRootContext");const nl=new Set([Us,Hs,Ks,Ws,"Home","End"]),rl={value:()=>null};const ol=n.forwardRef((function(e,t){const{className:r,disabled:o=!1,hiddenUntilFound:i,keepMounted:a,loop:s=!0,onValueChange:l,openMultiple:c=!0,orientation:u="vertical",value:d,defaultValue:p,...f}=e,h=function(e=!0){const t=n.useContext(Qs);if(void 0===t&&!e)throw new Error("Base UI: DirectionContext is missing.");return(null==t?void 0:t.direction)??"ltr"}();"production"!==process.env.NODE_ENV&&js((()=>{i&&!1===a&&qs("The `keepMounted={false}` prop on a Accordion.Root will be ignored when using `hiddenUntilFound` since it requires Panels to remain mounted when closed.")}),[i,a]);const m=n.useMemo((()=>{if(void 0===d)return p??[]}),[d,p]),g=ws(l),y=n.useRef([]),[b,v]=gs({controlled:d,default:m,name:"Accordion",state:"value"}),x=n.useCallback(((e,t)=>{if(c)if(t){const t=b.slice();t.push(e),v(t),g(t)}else{const t=b.filter((t=>t!==e));v(t),g(t)}else{const t=b[0]===e?[]:[e];v(t),g(t)}}),[g,c,v,b]),w="rtl"===h,k="horizontal"===u,C=n.useMemo((()=>({value:b,disabled:o,orientation:u})),[b,o,u]),j=n.useMemo((()=>({accordionItemRefs:y,direction:h,disabled:o,handleValueChange:x,hiddenUntilFound:i??!1,keepMounted:a??!1,orientation:u,state:C,value:b})),[h,o,x,i,a,u,C,b]),N=Fs("div",e,{state:C,ref:t,props:[{dir:h,role:"region",onKeyDown(e){if(!nl.has(e.key))return;!function(e){e.preventDefault(),e.stopPropagation()}(e);const t=function(e){const{current:t}=e,n=[];for(let e=0;e<t.length;e+=1){const r=t[e];if(!ms(r)){const e=null==r?void 0:r.querySelector('[type="button"]');ms(e)||n.push(e)}}return n}(y),n=t.length-1;let r=-1;const o=t.indexOf(e.target);function i(){r=s?o+1>n?0:o+1:Math.min(o+1,n)}function a(){r=s&&0===o?n:o-1}switch(e.key){case Us:k||i();break;case Hs:k||a();break;case Ks:k&&(w?a():i());break;case Ws:k&&(w?i():a());break;case"Home":r=0;break;case"End":r=n}r>-1&&t[r].focus()}},f],customStyleHookMapping:rl});return ge.jsx(el.Provider,{value:j,children:ge.jsx(Ys,{elementsRef:y,children:N})})}));"production"!==process.env.NODE_ENV&&(ol.displayName="AccordionRoot");const il={...n};let al=0;const sl=il.useId;function ll(e,t){if(void 0!==sl){const n=sl();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){const[r,o]=n.useState(e),i=e||r;return n.useEffect((()=>{null==r&&(al+=1,o(`${t}-${al}`))}),[r,t]),i}(e,t)}function cl(e){return ll(e,"base-ui")}const ul=[];function dl(e){n.useEffect(e,ul)}class pl{constructor(){t(this,"currentId",0),t(this,"clear",(()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)})),t(this,"disposeEffect",(()=>this.clear))}static create(){return new pl}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=0,t()}),e)}isStarted(){return 0!==this.currentId}}const fl=null;let hl=globalThis.requestAnimationFrame;const ml=new class{constructor(){t(this,"callbacks",[]),t(this,"callbacksCount",0),t(this,"nextId",1),t(this,"startId",1),t(this,"isScheduled",!1),t(this,"tick",(e=>{var t;this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r<n.length;r+=1)null==(t=n[r])||t.call(n,e)}))}request(e){const t=this.nextId;this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1;const n="test"===process.env.NODE_ENV&&hl!==requestAnimationFrame&&(hl=requestAnimationFrame,!0);return(!this.isScheduled||n)&&(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){const t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class gl{constructor(){t(this,"currentId",fl),t(this,"cancel",(()=>{this.currentId!==fl&&(ml.cancel(this.currentId),this.currentId=fl)})),t(this,"disposeEffect",(()=>this.cancel))}static create(){return new gl}static request(e){return ml.request(e)}static cancel(e){return ml.cancel(e)}request(e){this.cancel(),this.currentId=ml.request((()=>{this.currentId=fl,e()}))}}function yl(e,t=!1){const n=function(){const e=bs(gl.create).current;return dl(e.disposeEffect),e}(),r=function(){const e=bs(pl.create).current;return dl(e.disposeEffect),e}();return ws(((o,i=null)=>{n.cancel(),r.clear();const a=e.current;a&&("function"!=typeof a.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?o():n.request((()=>{function e(){a&&Promise.allSettled(a.getAnimations().map((e=>e.finished))).then((()=>{null!=i&&i.aborted||Z.flushSync(o)}))}t?r.start(0,e):e()})))}))}function bl(e){const{open:t,defaultOpen:r,onOpenChange:o,disabled:i}=e,a=void 0!==t,[s,l]=gs({controlled:t,default:r,name:"Collapsible",state:"open"}),{mounted:c,setMounted:u,transitionStatus:d}=function(e,t=!1,r=!1){const[o,i]=n.useState(e&&t?"idle":void 0),[a,s]=n.useState(e);return e&&!a&&(s(!0),i("starting")),!e&&a&&"ending"!==o&&!r&&i("ending"),!e&&!a&&"ending"===o&&i(void 0),js((()=>{if(!e&&a&&"ending"!==o&&r){const e=gl.request((()=>{i("ending")}));return()=>{gl.cancel(e)}}}),[e,a,o,r]),js((()=>{if(!e||t)return;const n=gl.request((()=>{Z.flushSync((()=>{i(void 0)}))}));return()=>{gl.cancel(n)}}),[t,e]),js((()=>{if(!e||!t)return;e&&a&&"idle"!==o&&i("starting");const n=gl.request((()=>{i("idle")}));return()=>{gl.cancel(n)}}),[t,e,a,i,o]),n.useMemo((()=>({mounted:a,setMounted:s,transitionStatus:o})),[a,o])}(s,!0,!0),[p,f]=n.useState(s),[{height:h,width:m},g]=n.useState({height:void 0,width:void 0}),y=cl(),[b,v]=n.useState(),x=b??y,[w,k]=n.useState(!1),[C,j]=n.useState(!1),N=n.useRef(null),_=n.useRef(null),S=n.useRef(null),E=n.useRef(null),O=yl(E,!1),T=ws((()=>{const e=!s,t=E.current;"css-animation"===_.current&&null!=t&&t.style.removeProperty("animation-name"),!w&&!C&&(null!=_.current&&"css-animation"!==_.current&&!c&&e&&u(!0),"css-animation"===_.current&&(!p&&e&&f(!0),!c&&e&&u(!0))),l(e),o(e),"none"===_.current&&c&&!e&&u(!1)}));return js((()=>{a&&"none"===_.current&&!C&&!s&&u(!1)}),[a,C,s,t,u]),n.useMemo((()=>({abortControllerRef:N,animationTypeRef:_,disabled:i,handleTrigger:T,height:h,mounted:c,open:s,panelId:x,panelRef:E,runOnceAnimationsFinish:O,setDimensions:g,setHiddenUntilFound:k,setKeepMounted:j,setMounted:u,setOpen:l,setPanelIdState:v,setVisible:f,transitionDimensionRef:S,transitionStatus:d,visible:p,width:m})),[N,_,i,T,h,c,s,x,E,O,g,k,j,u,l,f,S,d,p,m])}const vl=n.createContext(void 0);function xl(){const e=n.useContext(vl);if(void 0===e)throw new Error("Base UI: CollapsibleRootContext is missing. Collapsible parts must be placed within <Collapsible.Root>.");return e}"production"!==process.env.NODE_ENV&&(vl.displayName="CollapsibleRootContext");let wl=function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e}({});function kl(e={}){const{label:t,metadata:r,textRef:o,indexGuessBehavior:i}=e,{register:a,unregister:s,subscribeMapChange:l,elementsRef:c,labelsRef:u,nextIndexRef:d}=n.useContext(Gs),p=n.useRef(-1),[f,h]=n.useState(i===wl.GuessFromOrder?()=>{if(-1===p.current){const e=d.current;d.current+=1,p.current=e}return p.current}:-1),m=n.useRef(null),g=n.useCallback((e=>{var n;if(m.current=e,-1!==f&&null!==e&&(c.current[f]=e,u)){const r=void 0!==t;u.current[f]=r?t:(null==(n=null==o?void 0:o.current)?void 0:n.textContent)??e.textContent}}),[f,c,u,t,o]);return js((()=>{const e=m.current;if(e)return a(e,r),()=>{s(e)}}),[a,s,r]),js((()=>l((e=>{var t;const n=m.current?null==(t=e.get(m.current))?void 0:t.index:null;null!=n&&h(n)}))),[l,h]),n.useMemo((()=>({ref:g,index:f})),[f,g])}const Cl=n.createContext(void 0);function jl(){const e=n.useContext(Cl);if(void 0===e)throw new Error("Base UI: AccordionItemContext is missing. Accordion parts must be placed within <Accordion.Item>.");return e}"production"!==process.env.NODE_ENV&&(Cl.displayName="AccordionItemContext");let Nl=function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e}({});const _l={[Nl.startingStyle]:""},Sl={[Nl.endingStyle]:""},El={transitionStatus:e=>"starting"===e?_l:"ending"===e?Sl:null};let Ol=function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=Nl.startingStyle]="startingStyle",e[e.endingStyle=Nl.endingStyle]="endingStyle",e}({}),Tl=function(e){return e.panelOpen="data-panel-open",e}({});const Il={[Ol.open]:""},Ml={[Ol.closed]:""},Rl={open:e=>e?{[Tl.panelOpen]:""}:null},Dl={open:e=>e?Il:Ml};let Pl=function(e){return e.index="data-index",e.disabled="data-disabled",e.open="data-open",e}({});const zl={...Dl,index:e=>Number.isInteger(e)?{[Pl.index]:String(e)}:null,...El,value:()=>null},Al=n.forwardRef((function(e,t){const{className:r,disabled:o=!1,onOpenChange:i,render:a,value:s,...l}=e,{ref:c,index:u}=kl(),d=Ns(t,c),{disabled:p,handleValueChange:f,state:h,value:m}=tl(),g=s??u,y=o||p,b=n.useMemo((()=>{if(!m)return!1;for(let e=0;e<m.length;e+=1)if(m[e]===g)return!0;return!1}),[m,g]),v=ws((e=>{f(g,e),null==i||i(e)})),x=bl({open:b,onOpenChange:v,disabled:y}),w=n.useMemo((()=>({open:x.open,disabled:x.disabled,hidden:!x.mounted})),[x.open,x.disabled,x.mounted]),k=n.useMemo((()=>({...x,onOpenChange:v,state:w,transitionStatus:x.transitionStatus})),[x,w,v]),C=n.useMemo((()=>({...h,index:u,disabled:y,open:b})),[y,u,b,h]),[j,N]=n.useState(cl()),_=n.useMemo((()=>({open:b,state:C,setTriggerId:N,triggerId:j})),[b,C,N,j]),S=Fs("div",e,{state:C,ref:d,props:l,customStyleHookMapping:zl});return ge.jsx(vl.Provider,{value:k,children:ge.jsx(Cl.Provider,{value:_,children:S})})}));"production"!==process.env.NODE_ENV&&(Al.displayName="AccordionItem");const Ll=n.forwardRef((function(e,t){const{render:n,className:r,...o}=e,{state:i}=jl();return Fs("h3",e,{state:i,ref:t,props:o,customStyleHookMapping:zl})}));"production"!==process.env.NODE_ENV&&(Ll.displayName="AccordionHeader");const $l=n.createContext(void 0);function Fl(e={}){const{disabled:t=!1,focusableWhenDisabled:r,tabIndex:o=0,native:i=!0}=e,a=n.useRef(null),s=void 0!==function(e=!1){const t=n.useContext($l);if(void 0===t&&!e)throw new Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");return t}(!0),l=ws((()=>{const e=a.current;return!("A"!==(null==e?void 0:e.tagName)||null==e||!e.href)})),{props:c}=function(e){const{focusableWhenDisabled:t,disabled:r,composite:o=!1,tabIndex:i=0,isNativeButton:a}=e,s=o&&!1!==t,l=o&&!1===t;return{props:n.useMemo((()=>{const e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return o||(e.tabIndex=i,!a&&r&&(e.tabIndex=t?i:-1)),(a&&(t||s)||!a&&r)&&(e["aria-disabled"]=r),a&&(!t||l)&&(e.disabled=r),e}),[o,r,t,s,l,a,i])}}({focusableWhenDisabled:r,disabled:t,composite:s,tabIndex:o,isNativeButton:i});return js((()=>{const e=a.current;e instanceof HTMLButtonElement&&s&&t&&void 0===c.disabled&&e.disabled&&(e.disabled=!1)}),[t,c.disabled,s]),{getButtonProps:n.useCallback(((e={})=>{const{onClick:n,onMouseDown:r,onKeyUp:o,onKeyDown:a,onPointerDown:s,...u}=e;return Is({type:i?"button":void 0,onClick(e){t?e.preventDefault():null==n||n(e)},onMouseDown(e){t||null==r||r(e)},onKeyDown(e){t||(As(e),null==a||a(e)),!e.baseUIHandlerPrevented&&e.target===e.currentTarget&&!i&&!l()&&"Enter"===e.key&&!t&&(null==n||n(e),e.preventDefault())},onKeyUp(e){t||(As(e),null==o||o(e)),!e.baseUIHandlerPrevented&&e.target===e.currentTarget&&!i&&!t&&" "===e.key&&(null==n||n(e))},onPointerDown(e){t?e.preventDefault():null==s||s(e)}},i?void 0:{role:"button"},c,u)}),[t,c,i,l]),buttonRef:a}}"production"!==process.env.NODE_ENV&&($l.displayName="CompositeRootContext");const Bl=n.forwardRef((function(e,t){const{disabled:r,className:o,id:i,render:a,nativeButton:s=!0,...l}=e,{panelId:c,open:u,handleTrigger:d,disabled:p}=xl(),f=r??p,{getButtonProps:h,buttonRef:m}=Fl({disabled:f,focusableWhenDisabled:!0,native:s}),{state:g,setTriggerId:y,triggerId:b}=jl();js((()=>(i&&y(i),()=>{y(void 0)})),[i,y]);return Fs("button",e,{state:g,ref:[t,m],props:[n.useMemo((()=>({"aria-controls":u?c:void 0,"aria-expanded":u,disabled:f,id:b,onClick:d})),[c,f,b,u,d]),l,h],customStyleHookMapping:Rl})}));"production"!==process.env.NODE_ENV&&(Bl.displayName="AccordionTrigger");let Vl=function(e){return e.disabled="data-disabled",e.orientation="data-orientation",e}({});let ql=function(e){return e.accordionPanelHeight="--accordion-panel-height",e.accordionPanelWidth="--accordion-panel-width",e}({});function Hl(e){const t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function Ul(e){const{enabled:t=!0,open:r,ref:o,onComplete:i}=e,a=function(e){const t=bs(Hl,e).current;return t.next=e,js(t.effect),t}(r),s=ws(i),l=yl(o,r);n.useEffect((()=>{t&&l((()=>{r===a.current&&s()}))}),[t,r,s,l,a])}const Wl=n.forwardRef((function(e,t){const{className:r,hiddenUntilFound:o,keepMounted:i,id:a,render:s,...l}=e,{hiddenUntilFound:c,keepMounted:u}=tl(),{abortControllerRef:d,animationTypeRef:p,height:f,mounted:h,onOpenChange:m,open:g,panelId:y,panelRef:b,runOnceAnimationsFinish:v,setDimensions:x,setHiddenUntilFound:w,setKeepMounted:k,setMounted:C,setOpen:j,setVisible:N,transitionDimensionRef:_,visible:S,width:E,setPanelIdState:O,transitionStatus:T}=xl(),I=o??c,M=i??u;"production"!==process.env.NODE_ENV&&js((()=>{!1===i&&I&&qs("The `keepMounted={false}` prop on a Accordion.Panel will be ignored when using `contextHiddenUntilFound` on the Panel or the Root since it requires the panel to remain mounted when closed.")}),[I,i]),js((()=>{if(a)return O(a),()=>{O(void 0)}}),[a,O]),js((()=>{w(I)}),[w,I]),js((()=>{k(M)}),[k,M]),Ul({open:g,ref:b,onComplete(){g&&x({width:void 0,height:void 0})}});const{props:R}=function(e){const{abortControllerRef:t,animationTypeRef:r,externalRef:o,height:i,hiddenUntilFound:a,keepMounted:s,id:l,mounted:c,onOpenChange:u,open:d,panelRef:p,runOnceAnimationsFinish:f,setDimensions:h,setMounted:m,setOpen:g,setVisible:y,transitionDimensionRef:b,visible:v,width:x}=e,w=n.useRef(!1),k=n.useRef(null),C=n.useRef(d),j=n.useRef(d),N=n.useMemo((()=>"css-animation"===r.current?!v:!d&&!c),[d,c,v,r]),_=ws((e=>{if(!e)return;if(null==r.current||null==b.current){const t=getComputedStyle(e),n="none"!==t.animationName&&""!==t.animationName,o="0s"!==t.transitionDuration&&""!==t.transitionDuration;n&&o?"production"!==process.env.NODE_ENV&&qs("CSS transitions and CSS animations both detected on Collapsible or Accordion panel.","Only one of either animation type should be used."):"none"===t.animationName&&"0s"!==t.transitionDuration?r.current="css-transition":"none"!==t.animationName&&"0s"===t.transitionDuration?r.current="css-animation":r.current="none","horizontal"===e.getAttribute(Vl.orientation)||t.transitionProperty.indexOf("width")>-1?b.current="width":b.current="height"}if("css-transition"!==r.current)return;e.style.setProperty("display","block","important"),(void 0===i||void 0===x)&&(h({height:e.scrollHeight,width:e.scrollWidth}),e.style.removeProperty("display"),j.current&&e.style.setProperty("transition-duration","0s"));let t=-1,n=-1;return t=gl.request((()=>{j.current=!1,n=gl.request((()=>{setTimeout((()=>{e.style.removeProperty("transition-duration")}))}))})),()=>{gl.cancel(t),gl.cancel(n)}})),S=Ns(o,p,_);return js((()=>{if("css-transition"!==r.current)return;const e=p.current;if(!e)return;let n=-1;if(null!=t.current&&(t.current.abort(),t.current=null),!d){h({height:e.scrollHeight,width:e.scrollWidth}),t.current=new AbortController;const n=t.current.signal;let r=-1;const o=gl.request((()=>{r=gl.request((()=>{f((()=>{h({height:0,width:0}),e.style.removeProperty("content-visibility"),e.style.removeProperty("display"),m(!1),t.current=null}),n)}))}));return()=>{gl.cancel(o),gl.cancel(r)}}return e.style.setProperty("display","block","important"),!j.current&&!s&&e.setAttribute(Ol.startingStyle,""),h({height:e.scrollHeight,width:e.scrollWidth}),n=gl.request((()=>{e.style.removeProperty("display")})),()=>{gl.cancel(n)}}),[t,r,a,s,c,d,p,f,h,m,b]),js((()=>{if("css-animation"!==r.current)return;const e=p.current;e&&(k.current=e.style.animationName||k.current,e.style.setProperty("animation-name","none"),h({height:e.scrollHeight,width:e.scrollWidth}),!C.current&&!w.current&&e.style.removeProperty("animation-name"),d?(null!=t.current&&(t.current.abort(),t.current=null),m(!0),y(!0)):(t.current=new AbortController,f((()=>{m(!1),y(!1),t.current=null}),t.current.signal)))}),[t,r,d,p,f,h,m,y,v]),dl((()=>{const e=gl.request((()=>{C.current=!1}));return()=>gl.cancel(e)})),js((()=>{if(!a)return;const e=p.current;if(!e)return;let t=-1,n=-1;return d&&w.current&&(e.style.transitionDuration="0s",h({height:e.scrollHeight,width:e.scrollWidth}),t=gl.request((()=>{w.current=!1,n=gl.request((()=>{setTimeout((()=>{e.style.removeProperty("transition-duration")}))}))}))),()=>{gl.cancel(t),gl.cancel(n)}}),[a,d,p,h]),js((()=>{const e=p.current;e&&a&&N&&(e.setAttribute("hidden","until-found"),"css-transition"===r.current&&e.setAttribute(Ol.startingStyle,""))}),[a,N,r,p]),n.useEffect((function(){const e=p.current;if(e)return e.addEventListener("beforematch",t),()=>{e.removeEventListener("beforematch",t)};function t(){w.current=!0,g(!0),u(!0)}}),[u,p,g]),n.useMemo((()=>({props:{hidden:N,id:l,ref:S}})),[N,l,S])}({abortControllerRef:d,animationTypeRef:p,externalRef:t,height:f,hiddenUntilFound:I,id:a??y,keepMounted:M,mounted:h,onOpenChange:m,open:g,panelRef:b,runOnceAnimationsFinish:v,setDimensions:x,setMounted:C,setOpen:j,setVisible:N,transitionDimensionRef:_,visible:S,width:E}),{state:D,triggerId:P}=jl(),z=Fs("div",e,{state:n.useMemo((()=>({...D,transitionStatus:T})),[D,T]),ref:[t,b],props:[R,{"aria-labelledby":P,role:"region",style:{[ql.accordionPanelHeight]:void 0===f?"auto":`${f}px`,[ql.accordionPanelWidth]:void 0===E?"auto":`${E}px`}},l],customStyleHookMapping:zl});return M||I||!M&&h?z:null}));"production"!==process.env.NODE_ENV&&(Wl.displayName="AccordionPanel");const Kl={AccordionRoot:"_AccordionRoot_1ukl7_1",Header:"_Header_1ukl7_7",Trigger:"_Trigger_1ukl7_12",TriggerIcon:"_TriggerIcon_1ukl7_29",Panel:"_Panel_1ukl7_40",Content:"_Content_1ukl7_51"},Gl=({className:e,children:t,expanded:n,defaultExpanded:r,onChange:o,...i})=>{const a="item",s={...i,type:"single",className:ya(Kl.AccordionRoot,e),onValueChange:e=>{null==o||o(e.includes(a))},...void 0!==n?{value:n?[a]:[]}:{defaultValue:r?[a]:[]}};return ge.jsx(ol,{...s,children:ge.jsx(Al,{value:a,className:Kl.Item,children:t})})},Yl=({size:e="large",className:t,sx:n,children:r,...o})=>{const i="small"===e,a={"--trigger-height":i?"48px":"72px","--trigger-padding-x":i?"8px":"16px","--trigger-font-size":i?"14px":"18px","--chevron-size":i?"20px":"24px",...n};return ge.jsx(Ll,{className:Kl.Header,children:ge.jsxs(Bl,{...o,className:si(Kl.Trigger,t),style:a,children:[ge.jsx(Fn,{className:Kl.TriggerIcon,"data-state-icon":!0}),r]})})},Xl=({children:e,...t})=>ge.jsx(Wl,{...t,className:Kl.Panel,children:ge.jsx("div",{className:Kl.Content,children:e})}),Jl=e=>ge.jsx($,{...e}),Zl=({filterIsActive:e,label:t,size:n="large",variant:r="outlined",...o})=>ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"w-fit h-fit relative",children:[ge.jsx(ia,{...o,type:"button",startIcon:ge.jsx(Zn,{width:"large"===n?24:20,height:"large"===n?24:20}),variant:r,size:n,children:t||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===n?"top-2 right-2":"top-1 right-1")})]})}),Ql=()=>{const[e,t]=a(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:r=>{e?n():(e=>{t((()=>e.currentTarget))})(r)}}},ec=e=>r.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),tc=({filterIsActive:e,popoverContent:t,dataTest:n,disabled:o,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:c})=>{const{onAnchorClick:u,onClose:d,anchorEl:p}=Ql();return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"w-fit h-fit relative",children:[l?r.cloneElement(l({isOpen:!!p,onClose:d}),{onClick:u}):ge.jsx(ia,{type:"button",disabled:o,variant:a,startIcon:ge.jsx(Zn,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:u,size:i,dataTest:n,children:c||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),ge.jsx(Jl,{...s,open:!!p,anchorEl:p,onClose:d,anchorOrigin:(null==s?void 0:s.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==s?void 0:s.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==s?void 0:s.className)||"my-1",children:ec(t)?t:t({isOpen:!!p,onClose:d})})]})},nc=({className:e,contentToCopy:t,locale:n,messageInfo:r,text:o})=>{const i="en"===n?"Copy":"Kopier",a=pa();return ge.jsx(Xi,{title:i,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:ge.jsx(Wa,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(o||i)})})})},rc="_copy-wrapper_1gjzc_1",oc="_hidden-copy_1gjzc_1",ic=({className:e,contentToCopy:t,locale:n,messageInfo:r,children:o})=>ge.jsxs("div",{className:ya("flex items-center hover:text-gama-500",rc,e),children:[o,ge.jsx(Xi,{title:"no"===n?"Kopier":"Copy",className:oc,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",onClick:e=>{e.preventDefault(),e.stopPropagation(),navigator.clipboard.writeText(t).then((()=>{r("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},startIcon:ge.jsx(Wa,{width:20,height:20})})})})]}),ac="_styled-widget-title_1gze6_1",sc=function(e){return ge.jsx("div",{className:ac,children:e.children})},lc="_styled-widget-header_1qk88_1",cc=({actions:e,title:t,containerClassname:n,actionsClassname:r})=>ge.jsxs("div",{className:ya(lc,n),children:[ge.jsx(sc,{children:t}),ge.jsx("div",{className:r,children:e})]}),uc="_asma-core-ui-styled-widget_cb7kt_1",dc="_widget-header_cb7kt_13",pc="_widget-content_cb7kt_19",fc="_widget-footer_cb7kt_29",hc="_widget-link_cb7kt_34";function mc(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function gc(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const yc=({children:e,title:t,icon:n,link:r,viewMore:o,persistKey:i,isLoading:l,isEmpty:c,emptyText:u})=>{const[d,p]=a(!1);return s((()=>{if(i){const e=localStorage.getItem(i);p("true"===e)}}),[i]),s((()=>{i&&localStorage.setItem(i,String(d))}),[d,i]),ge.jsxs("div",{className:uc,children:[ge.jsxs("div",{className:dc,children:[n,ge.jsx(sc,{children:t})]}),ge.jsx("div",{className:pc,children:ge.jsxs(ge.Fragment,{children:[e,ge.jsx(_a,{isLoading:l}),ge.jsx(ja,{isEmpty:c,emptyText:u})]})}),ge.jsxs("div",{className:fc,children:[!o||null!=o&&o.hide?ge.jsx("div",{}):ge.jsx(ia,{disabled:o.disabled,dataTest:"view-more",variant:"text",endIcon:d?ge.jsx(mc,{width:20,height:20}):ge.jsx(gc,{width:20,height:20}),onClick:()=>{var e;p(!d),null==(e=null==o?void 0:o.onClick)||e.call(o)},children:d?o.viewLessText:o.viewMoreText}),r&&!r.hide?ge.jsx(ps,{dataTest:"go-to-button",className:hc,size:"small",href:r.href,onClick:r.onClick,content:r.content}):ge.jsx("div",{})]})]})},bc="_styled-module-title_174mo_1",vc=function(e){return ge.jsx("h1",{"data-test":e.dataTest,className:bc,children:e.children})},xc="_dialog_erjok_1",wc="_hidden_erjok_9";function kc(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Cc(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const jc="object"==typeof global&&global&&global.Object===Object&&global;var Nc="object"==typeof self&&self&&self.Object===Object&&self;const _c=(jc||Nc||Function("return this")()).Symbol;var Sc=Object.prototype,Ec=Sc.hasOwnProperty,Oc=Sc.toString,Tc=_c?_c.toStringTag:void 0;var Ic=Object.prototype.toString;var Mc="[object Null]",Rc="[object Undefined]",Dc=_c?_c.toStringTag:void 0;function Pc(e){return null==e?void 0===e?Rc:Mc:Dc&&Dc in Object(e)?function(e){var t=Ec.call(e,Tc),n=e[Tc];try{e[Tc]=void 0;var r=!0}catch{}var o=Oc.call(e);return r&&(t?e[Tc]=n:delete e[Tc]),o}(e):function(e){return Ic.call(e)}(e)}const zc=Array.isArray;function Ac(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Pc(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Lc=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:r="",showCloseIcon:o=!0,showMinimizeIcon:i=!0,showExpandIcon:s=!0,showFullScreenIcon:l=!0,title:c,label:d,children:p,open:f,onClose:h,className:m="",primaryButtonText:g,primaryButtonLoading:y=!1,secondaryButtonText:b,onPrimaryButtonClick:v,onSecondaryButtonClick:x,dataTest:w,actionNode:k,extraActions:C,extraActionsText:j,btnContainerClassName:N,footerClassName:_,footerInfo:S,locale:E="en",enableFullscreen:O=!0,fullScreenState:T,handleFullScreenState:I})=>{const[M,R]=a(!1),[D,P]=a(!1),{open:z,anchorEl:A,handleOpen:L,handleClose:$}=(()=>{const[e,t]=a(null),n=!!e,r=u((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:u((()=>{t(null)}),[]),handleOpen:r,anchorEl:e}})();if(!f)return null;const F=void 0!==T?T:D,B=g||y,V=B||b,q=()=>{R(!M)};return ge.jsxs(ge.Fragment,{children:[F&&!M&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsx("div",{style:{zIndex:51},className:ya(xc,!M&&wc),children:ge.jsxs("div",{className:si("flex items-center justify-between",!M&&"hidden"),"data-test":w,children:[ge.jsx("div",{className:"truncate text-lg font-semibold text-delta-800",children:c}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[s&&ge.jsx(Xi,{title:"en"===E?"Expand":"Utvid",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"text",size:"small",onClick:q,endIcon:s&&ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:n})})}),o&&ge.jsx(Xi,{title:"en"===E?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:h,endIcon:o&&ge.jsx(Vn,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),ge.jsxs("div",{className:ya("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",m&&!M?m:"",M&&"!h-0 !w-0 opacity-0 duration-0",F&&!M&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0"),"data-test":w,children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[d?ge.jsx("div",{className:"text-sm text-delta-700",children:d}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:c}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[k,i&&ge.jsx(Xi,{title:"en"===E?"Minimize":"Minimer",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:q,endIcon:i&&ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:t})})}),O&&l&&ge.jsx(Xi,{title:F?"en"===E?"Exit full screen":"Avslutt fullskjerm":"en"===E?"Full screen":"Fullskjerm",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{void 0!==T&&I?I():P(!D)},endIcon:F?ge.jsx(Cc,{width:20,height:20,color:"text-delta-700"}):ge.jsx(kc,{width:20,height:20,color:"text-delta-700"}),children:r})})}),o&&ge.jsx(Xi,{title:"en"===E?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:h,endIcon:ge.jsx(Vn,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),d&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:c})]}),ge.jsxs("div",{className:si("flex flex-col",F&&!M&&"h-[87dvh]"),children:[ge.jsx("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof p?p({fullScreen:F}):p}),(zc(C)&&null!=C&&C.length||Ac(C))&&j||S?ge.jsxs("div",{className:ya("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",_),children:[zc(C)&&null!=C&&C.length&&j?ge.jsxs(ge.Fragment,{children:[ge.jsx(ia,{dataTest:"extra-actions-button",variant:"textGray",startIcon:ge.jsx(Mn,{width:24,height:24}),onClick:L,children:j}),ge.jsx(os,{open:z,anchorEl:A,onClose:$,children:C.map((e=>ge.jsx(is,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):j&&Ac(C)&&ge.jsx(ia,{dataTest:"extra-action-button",variant:"text",onClick:C,children:j})," ",S,V?ge.jsxs("div",{className:ya("flex justify-end gap-x-4",N),children:[b&&x&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:x,children:b}),B&&v&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(Ha,{width:24,height:24}),onClick:v,children:g})]}):null]}):ge.jsx(ge.Fragment,{children:V?ge.jsxs("div",{className:ya("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",N),children:[b&&x&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:x,children:b}),B&&v&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(Ha,{width:24,height:24}),onClick:v,children:g})]}):null})]})]})]})},$c=({showCloseIcon:e,tooltipTitle:t,onClick:n,title:r})=>e?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:n,endIcon:ge.jsx(Vn,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null,Fc=({visibility:e,tooltipTitle:t,onClick:n,title:r,type:o})=>{if(!e)return null;const i="minimize"===o;return"expand"===o?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:n,endIcon:ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:r})})})}):i?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:n,endIcon:ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null},Bc="_minimized-dialog_1tnc1_5",Vc="_dialog_1tnc1_1",qc="_hidden_1tnc1_25",Hc=({fullScreen:e,showFullScreenIcon:t,title:n,tooltipTitle:r,onClick:o})=>t?ge.jsx(ge.Fragment,{children:t&&ge.jsx(Xi,{title:r,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:o,endIcon:e?ge.jsx(Cc,{width:20,height:20,color:"text-delta-700"}):ge.jsx(kc,{width:20,height:20,color:"text-delta-700"}),children:n})})})}):null,Uc=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:r="",showCloseIcon:o=!0,showMinimizeIcon:i=!0,showExpandIcon:l=!0,enableFullscreen:u=!0,fullScreenState:d,handleFullScreenState:p,title:f,label:h,children:m,open:g,onClose:y,classNameOverrides:b={maximized:"",minimized:"",fullscreen:""},dataTest:v,actionNode:x,tooltipOverrides:w={maximized:"",minimized:"",close:"",enterFullScreen:"",exitFullScreen:""}})=>{const[k,C]=a(!1),[j,N]=a(!1),_=c(null),S=void 0!==d?d:j;if(s((()=>{if(!S)return;const e=e=>_.current&&!_.current.contains(e.target)&&(void 0!==d&&p?p():N(!1));return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[S,p,d]),!g)return null;const E=()=>{C(!k)};return ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:{zIndex:51},className:ya(Bc,!k&&qc,b.minimized),children:ge.jsxs("div",{className:si("flex items-center justify-between",!k&&"hidden"),"data-test":v,children:[ge.jsx("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:ge.jsx(Xi,{title:f,placement:"top",children:ge.jsx("div",{className:"truncate",children:f})})}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[ge.jsx(Fc,{type:"expand",visibility:l,onClick:E,title:n,tooltipTitle:w.maximized||"Expand"}),ge.jsx($c,{showCloseIcon:o,onClick:y,title:e,tooltipTitle:w.close||"Close"})]})]})}),S&&!k&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsxs("div",{ref:_,style:{zIndex:51},className:ya(Vc,k&&qc,b.maximized,S&&!k&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",S&&b.fullscreen),children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[h?ge.jsx("div",{className:"text-sm text-delta-700",children:h}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:f}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[x,ge.jsx(Fc,{visibility:i,type:"minimize",onClick:E,title:t,tooltipTitle:w.minimized||"Minimize"}),ge.jsx(Hc,{showFullScreenIcon:u,fullScreen:S,onClick:()=>{var e;null==(e=document.activeElement)||e.blur(),void 0!==d&&p?p():N(!j)},title:r,tooltipTitle:S?w.exitFullScreen||"Exit full screen":w.enterFullScreen||"Full screen"}),ge.jsx($c,{showCloseIcon:o,onClick:y,title:e,tooltipTitle:w.close||"Close"})]})]}),h&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:f})]}),ge.jsx("div",{className:ya(k&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:m})]})]})};export{An as ArchiveIcon,vn as AssignmentIcon,xn as AssignmentOutlineIcon,F as Avatar,vr as BadgeIcon,en as BellIcon,Qt as BellOutlineIcon,rr as CalendarBlankOutlineIcon,gn as CalendarIcon,bn as CalendarRangeIcon,$n as CheckBoxCheckedIcon,mn as CheckFactIcon,hn as CheckFactOutlineIcon,qn as CheckIcon,fn as CheckOutlineIcon,on as ChevronDoubleLeftIcon,an as ChevronDoubleRightIcon,Fn as ChevronDownIcon,rn as ChevronLeftIcon,nn as ChevronRightIcon,Bn as ChevronUpIcon,B as ClickAwayListener,Vn as CloseIcon,mr as ConsentsIcon,V as Container,nc as CopyButton,ic as CopyWrapper,cn as DashboardViewIcon,un as DashboardViewOutlineIcon,Jn as DeleteOutlineIcon,Mn as DotsVerticalIcon,Ln as DownloadIcon,Yn as DragHorizontalIcon,zn as DropDownIcon,Pn as DropUpIcon,er as DvrIcon,ur as EarthIcon,xr as EditSquareIcon,tr as ErrorOutlineIcon,q as Fade,ir as FastCheckOutlineIcon,Xn as FilePdfIcon,Zn as FilterIcon,En as FindReplaceIcon,On as FindReplacePeopleIcon,H as FormLabel,tn as HamburgerIcon,jr as HandymanIcon,Cr as HandymanOutlineIcon,Wn as InboxOutboxIcon,Kn as InboxOutboxOutlineIcon,yr as KeyboardCapslockIcon,or as LinkOutlineIcon,wn as ListNumberedIcon,cr as ListSettingsLineIcon,sr as ListStatusIcon,Dn as LoadingIcon,Qn as LockIcon,kn as MessageProcessingIcon,Cn as MessageProcessingOutlineIcon,br as MessageReplyIcon,Lc as MinimizableDialog,Uc as MinimizableDialogV2,gr as MinimizeIcon,yn as NewCalendarIcon,hr as OutlineCalendarMonth,U as Paper,ln as PdfIcon,pr as PencilOutlineIcon,pn as PeopleIcon,dn as PeopleOutlineIcon,Hn as PermMediaIcon,Un as PermMediaOutline,Tn as PersonIcon,In as PersonOutlineIcon,Nr as PinIcon,wr as PlusIcon,kr as PlusIconCircle,W as Popper,sn as QnrIcon,nr as ReplayIcon,jn as ReportBoxIcon,Nn as ReportBoxOutlineIcon,Rn as SearchIcon,_n as SettingsIcon,dr as SettingsMenuHorizontalIcon,Sn as SettingsOutlineIcon,K as Skeleton,G as Stack,Gl as StyledAccordion,Xl as StyledAccordionDetails,Yl as StyledAccordionSummary,ye as StyledBadge,ia as StyledButton,Sa as StyledCheckbox,Sr as StyledChip,fa as StyledDialog,ba as StyledDialogActions,xa as StyledDialogContent,ka as StyledDialogTitle,rs as StyledDrawer,ja as StyledEmptyPage,Zl as StyledFilterButton,tc as StyledFilterMenu,Za as StyledFormControl,Qa as StyledFormControlLabel,ns as StyledFormGroup,es as StyledFormHelperText,na as StyledFormLabel,Ea as StyledInputField,ts as StyledInputLabel,Er as StyledInteractiveChip,Ja as StyledLabel,ps as StyledLink,_a as StyledLoading,os as StyledMenu,is as StyledMenuItem,as as StyledMenuList,vc as StyledModuleTitle,Jl as StyledPopover,Ya as StyledRadio,Xa as StyledRadioGroup,Oa as StyledSearchField,Ma as StyledSelect,za as StyledSelectAutocomplete,Ra as StyledSelectItem,Aa as StyledSlider,Ga as StyledSwitch,fs as StyledTab,hs as StyledTabs,Ia as StyledTextarea,Xi as StyledTooltip,Ji as StyledTypography,yc as StyledWidget,cc as StyledWidgetHeader,sc as StyledWidgetTitle,lr as TextBoxCheckOutlineIcon,Gn as TopicIcon,ar as UnknownDocumentOutlineRoundedIcon,fr as WarningAmberOutlineIcon,_r as WorkIcon,ee as omit,ue as prepareForSlot,le as setMidnightTime,ce as setZeroTime};
38
+ "production"===process.env.NODE_ENV?al.exports=function(){if(ol)return sl;ol=1;var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,r){var s,l={},c=null,u=null;for(s in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)o.call(n,s)&&!a.hasOwnProperty(s)&&(l[s]=n[s]);if(e&&e.defaultProps)for(s in n=e.defaultProps)void 0===l[s]&&(l[s]=n[s]);return{$$typeof:t,type:e,key:c,ref:u,props:l,_owner:i.current}}return sl.Fragment=n,sl.jsx=s,sl.jsxs=s,sl}():al.exports=(il||(il=1,"production"!==process.env.NODE_ENV&&function(){var e=r,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=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",y=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),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=y.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,o)}(0,e,n)}var b;function x(e){return e.displayName||"Context"}function w(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 o:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return x(e)+".Consumer";case s:return x(e._context)+".Provider";case c:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case f:var r=e,h=r._payload,m=r._init;try{return w(m(h))}catch{return null}}return null}b=Symbol.for("react.module.reference");var k,C,j,N,_,E,S,O=Object.assign,I=0;function T(){}T.__reactDisabledLog=!0;var M,R=y.ReactCurrentDispatcher;function D(e,t,n){if(void 0===M)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);M=r&&r[1]||""}return"\n"+M+e}var P,z=!1,A="function"==typeof WeakMap?WeakMap:Map;function L(e,t){if(!e||z)return"";var n,r=P.get(e);if(void 0!==r)return r;z=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=R.current,R.current=null,function(){if(0===I){k=console.log,C=console.info,j=console.warn,N=console.error,_=console.group,E=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:T,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}I++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){n=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){n=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),c=s.length-1,u=l.length-1;c>=1&&u>=0&&s[c]!==l[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==l[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==l[u]){var d="\n"+s[c].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&P.set(e,d),d}}while(c>=1&&u>=0);break}}}finally{z=!1,R.current=o,function(){if(0==--I){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:k}),info:O({},e,{value:C}),warn:O({},e,{value:j}),error:O({},e,{value:N}),group:O({},e,{value:_}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:S})})}I<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?D(p):"";return"function"==typeof e&&P.set(e,f),f}function $(e,t,n){if(null==e)return"";if("function"==typeof e)return L(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return D(e);switch(e){case u:return D("Suspense");case d:return D("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return L(e,!1)}(e.render);case p:return $(e.type,t,n);case f:var o=e,i=o._payload,a=o._init;try{return $(a(i),t,n)}catch{}}return""}P=new A;var F=Object.prototype.hasOwnProperty,V={},B=y.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);B.setExtraStackFrame(n)}else B.setExtraStackFrame(null)}var H=Array.isArray;function U(e){return H(e)}function W(e){return""+e}function K(e){if(function(e){try{return W(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.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),W(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};var ee,te=y.ReactCurrentOwner,ne=y.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,n=$(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(n)}else ne.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ie();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(!ae[n]){ae[n]=!0;var r="";e&&e._owner&&e._owner!==te.current&&(r=" It was passed a child from "+w(e._owner.type)+"."),re(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,r),re(null)}}}function le(e,t){if("object"==typeof e)if(U(e))for(var n=0;n<e.length;n++){var r=e[n];oe(r)&&se(r,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var o=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 o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)oe(i.value)&&se(i.value,t)}}function ce(e,n,r,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==o&&x!==a&&x!==i&&x!==u&&x!==d&&x!==h&&("object"!=typeof x||null===x||x.$$typeof!==f&&x.$$typeof!==p&&x.$$typeof!==s&&x.$$typeof!==l&&x.$$typeof!==c&&x.$$typeof!==b&&void 0===x.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" 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 j,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=N||ie(),null===e?j="null":U(e)?j="array":void 0!==e&&e.$$typeof===t?(j="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):j=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",j,C)}var _=function(e,t,n,r,o){var i,a,s,l,c={},u=null,d=null;for(i in void 0!==n&&(K(n),u=""+n),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),u=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(d=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var n=w(J.current.type);X[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',w(J.current.type),e.ref),X[n]=!0)}}(t,o)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(u||d){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;u&&(a=c,s=f,(l=function(){G||(G=!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)",s))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:l,configurable:!0})),d&&function(e,t){var n=function(){Y||(Y=!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})}(c,f)}return Q(e,u,d,o,r,J.current,c)}(e,n,r,g,y);if(null==_)return _;if(k){var E=n.children;if(void 0!==E)if(m)if(U(E)){for(var S=0;S<E.length;S++)le(E[S],e);Object.freeze&&Object.freeze(E)}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 le(E,e)}return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){re(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),re(null);break}}null!==e.ref&&(re(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(_):function(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!==c&&n.$$typeof!==p)return;t=n.propTypes}if(t){var r=w(n);!function(e,t,n,r,o){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(q(o),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).",r||"React class",n,a,typeof s),q(null)),s instanceof Error&&!(s.message in V)&&(V[s.message]=!0,q(o),v("Failed %s type: %s",n,s.message),q(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||ee||(ee=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(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.")}}(_),_}ll.Fragment=o,ll.jsx=function(e,t,n){return ce(e,t,n,!1)},ll.jsxs=function(e,t,n){return ce(e,t,n,!0)}}()),ll);var cl=al.exports;function ul(e){return cl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:cl.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:2,children:[cl.jsx("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",children:cl.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),cl.jsxs("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12",children:[cl.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),cl.jsx("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})}function dl(e){return cl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:cl.jsx("path",{fill:"currentColor",d:"M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"})})}function pl(e){return cl.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:cl.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}function fl(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:ve.jsx("path",{d:"M5.83398 10.8332V9.1665H14.1673V10.8332H5.83398Z",fill:"currentColor"})})}const hl=({dataTest:e,disabled:t,...n})=>ve.jsx(S,{...n,disabled:t,"data-test":e,checkedIcon:ve.jsx("div",{className:(t?"bg-gama-300":"bg-gama-500")+" rounded-full flex items-center justify-center w-5 h-5",children:ve.jsx(dl,{color:"white",height:14,width:14,className:"rounded-full"})}),icon:ve.jsx("div",{className:(t?"bg-delta-50":"bg-delta-10")+" rounded-full outline outline-1 outline-delta-200 flex items-center justify-center w-5 h-5",children:ve.jsx(fl,{color:"var(--colors-delta-600)",height:20,width:20,className:"rounded-full"})}),sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .MuiSwitch-track":{backgroundColor:"var(--colors-delta-400) !important",opacity:"1 !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important",outline:"1px solid var(--colors-delta-200) !important",outlineOffset:"0px !important"},"& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-delta-200) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-delta-50) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-100) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-300) !important",opacity:"1 !important"}}}),ml=({dataTest:e,...t})=>ve.jsx(O,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),gl=({dataTest:e,...t})=>ve.jsx(I,{"data-test":e,...t}),yl=({children:e,onClick:t,className:n,dataTest:r,style:o})=>ve.jsx("div",{className:ui("_styled-label_1fp95_1",n),style:o,onClick:t,"data-test":r,children:e}),vl=e=>ve.jsx(T,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),bl=({sx:e,...t})=>ve.jsx(M,{...t,sx:{color:"var(--colors-delta-800)",margin:0,"& .MuiFormControlLabel-label":{fontSize:"14px",lineHeight:"20px"},"&.Mui-disabled .MuiFormControlLabel-label":{color:"var(--colors-delta-300)"},...e}}),xl=e=>ve.jsx(R,{...e}),wl=e=>ve.jsx(D,{...e}),kl=e=>ve.jsx(P,{...e}),Cl=e=>ve.jsx(z,{...e}),jl=e=>{var t,n;return ve.jsx(A,{...e,classes:{paper:ui("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:ui("py-1",null==(n=e.classes)?void 0:n.list),...e.classes}})},Nl=e=>{var t;return ve.jsx(j,{...e,classes:{selected:"bg-gama-50",root:ui("px-3 py-2.5 hover:bg-delta-50",null==(t=e.classes)?void 0:t.root),...e.classes}})},_l=e=>ve.jsx(L,{...e}),El="_styled-link_hyb3l_1",Sl="_styled-link-disabled_hyb3l_16",Ol="_styled-link-xs_hyb3l_32",Il="_styled-link-small_hyb3l_37",Tl="_styled-link-large_hyb3l_42",Ml=({href:e,disabled:t,size:n="large",dataTest:r,reflink:o,className:i,content:a,contentNode:s,...l})=>{let c=Tl;switch(n){case"small":c=Il;break;case"xs":c=Ol;break;default:c=Tl}return t?ve.jsxs("span",{className:ui(El,Sl,c,i),children:[a,s]}):ve.jsxs("a",{...l,"data-test":r,ref:o,href:e,className:ui(El,c,i),children:[a,s]})},Rl=e=>ve.jsx($,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),Dl=e=>ve.jsx(F,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}});function Pl(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}let zl;function Al(...e){if("production"!==process.env.NODE_ENV){const t=e.join(" ");zl.has(t)||(zl.add(t),console.warn(`Base UI: ${t}`))}}"production"!==process.env.NODE_ENV&&(zl=new Set);const Ll="ArrowUp",$l="ArrowDown",Fl="ArrowLeft",Vl="ArrowRight",Bl=n.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function ql(e){const{children:t,elementsRef:r,labelsRef:o,onMapChange:i}=e,a=n.useRef(0),s=za(Ul).current,l=za(Hl).current,[c,u]=n.useState(0),d=n.useRef(c),p=is(((e,t)=>{l.set(e,t??null),d.current+=1,u(d.current)})),f=is((e=>{l.delete(e),d.current+=1,u(d.current)})),h=n.useMemo((()=>{const e=new Map;return Array.from(l.keys()).sort(Wl).forEach(((t,n)=>{const r=l.get(t)??{};e.set(t,{...r,index:n})})),e}),[l,c]);ls((()=>{d.current===c&&(r.current.length!==h.size&&(r.current.length=h.size),o&&o.current.length!==h.size&&(o.current.length=h.size)),null==i||i(h)}),[i,h,r,o,c,d]);const m=is((e=>(s.add(e),()=>{s.delete(e)})));ls((()=>{s.forEach((e=>e(h)))}),[s,h]);const g=n.useMemo((()=>({register:p,unregister:f,subscribeMapChange:m,elementsRef:r,labelsRef:o,nextIndexRef:a})),[p,f,m,r,o,a]);return ve.jsx(Bl.Provider,{value:g,children:t})}function Hl(){return new Map}function Ul(){return new Set}function Wl(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}"production"!==process.env.NODE_ENV&&(Bl.displayName="CompositeListContext");const Kl=n.createContext(void 0);"production"!==process.env.NODE_ENV&&(Kl.displayName="DirectionContext");const Gl=n.createContext(void 0);function Yl(){const e=n.useContext(Gl);if(void 0===e)throw new Error("Base UI: AccordionRootContext is missing. Accordion parts must be placed within <Accordion.Root>.");return e}"production"!==process.env.NODE_ENV&&(Gl.displayName="AccordionRootContext");const Xl=new Set([$l,Ll,Vl,Fl,"Home","End"]),Jl={value:()=>null};const Zl=n.forwardRef((function(e,t){const{className:r,disabled:o=!1,hiddenUntilFound:i,keepMounted:a,loop:s=!0,onValueChange:l,openMultiple:c=!0,orientation:u="vertical",value:d,defaultValue:p,...f}=e,h=function(e=!0){const t=n.useContext(Kl);if(void 0===t&&!e)throw new Error("Base UI: DirectionContext is missing.");return(null==t?void 0:t.direction)??"ltr"}();"production"!==process.env.NODE_ENV&&ls((()=>{i&&!1===a&&Al("The `keepMounted={false}` prop on a Accordion.Root will be ignored when using `hiddenUntilFound` since it requires Panels to remain mounted when closed.")}),[i,a]);const m=n.useMemo((()=>{if(void 0===d)return p??[]}),[d,p]),g=is(l),y=n.useRef([]),[v,b]=es({controlled:d,default:m,name:"Accordion",state:"value"}),x=n.useCallback(((e,t)=>{if(c)if(t){const t=v.slice();t.push(e),b(t),g(t)}else{const t=v.filter((t=>t!==e));b(t),g(t)}else{const t=v[0]===e?[]:[e];b(t),g(t)}}),[g,c,b,v]),w="rtl"===h,k="horizontal"===u,C=n.useMemo((()=>({value:v,disabled:o,orientation:u})),[v,o,u]),j=n.useMemo((()=>({accordionItemRefs:y,direction:h,disabled:o,handleValueChange:x,hiddenUntilFound:i??!1,keepMounted:a??!1,orientation:u,state:C,value:v})),[h,o,x,i,a,u,C,v]),N=Za("div",e,{state:C,ref:t,props:[{dir:h,role:"region",onKeyDown(e){if(!Xl.has(e.key))return;!function(e){e.preventDefault(),e.stopPropagation()}(e);const t=function(e){const{current:t}=e,n=[];for(let e=0;e<t.length;e+=1){const r=t[e];if(!Pl(r)){const e=null==r?void 0:r.querySelector('[type="button"]');Pl(e)||n.push(e)}}return n}(y),n=t.length-1;let r=-1;const o=t.indexOf(e.target);function i(){r=s?o+1>n?0:o+1:Math.min(o+1,n)}function a(){r=s&&0===o?n:o-1}switch(e.key){case $l:k||i();break;case Ll:k||a();break;case Vl:k&&(w?a():i());break;case Fl:k&&(w?i():a());break;case"Home":r=0;break;case"End":r=n}r>-1&&t[r].focus()}},f],customStyleHookMapping:Jl});return ve.jsx(Gl.Provider,{value:j,children:ve.jsx(ql,{elementsRef:y,children:N})})}));"production"!==process.env.NODE_ENV&&(Zl.displayName="AccordionRoot");const Ql=n.createContext(void 0);function ec(){const e=n.useContext(Ql);if(void 0===e)throw new Error("Base UI: CollapsibleRootContext is missing. Collapsible parts must be placed within <Collapsible.Root>.");return e}"production"!==process.env.NODE_ENV&&(Ql.displayName="CollapsibleRootContext");let tc=function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e}({});function nc(e={}){const{label:t,metadata:r,textRef:o,indexGuessBehavior:i}=e,{register:a,unregister:s,subscribeMapChange:l,elementsRef:c,labelsRef:u,nextIndexRef:d}=n.useContext(Bl),p=n.useRef(-1),[f,h]=n.useState(i===tc.GuessFromOrder?()=>{if(-1===p.current){const e=d.current;d.current+=1,p.current=e}return p.current}:-1),m=n.useRef(null),g=n.useCallback((e=>{var n;if(m.current=e,-1!==f&&null!==e&&(c.current[f]=e,u)){const r=void 0!==t;u.current[f]=r?t:(null==(n=null==o?void 0:o.current)?void 0:n.textContent)??e.textContent}}),[f,c,u,t,o]);return ls((()=>{const e=m.current;if(e)return a(e,r),()=>{s(e)}}),[a,s,r]),ls((()=>l((e=>{var t;const n=m.current?null==(t=e.get(m.current))?void 0:t.index:null;null!=n&&h(n)}))),[l,h]),n.useMemo((()=>({ref:g,index:f})),[f,g])}const rc=n.createContext(void 0);function oc(){const e=n.useContext(rc);if(void 0===e)throw new Error("Base UI: AccordionItemContext is missing. Accordion parts must be placed within <Accordion.Item>.");return e}"production"!==process.env.NODE_ENV&&(rc.displayName="AccordionItemContext");let ic=function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=Fs.startingStyle]="startingStyle",e[e.endingStyle=Fs.endingStyle]="endingStyle",e}({}),ac=function(e){return e.panelOpen="data-panel-open",e}({});const sc={[ic.open]:""},lc={[ic.closed]:""},cc={open:e=>e?{[ac.panelOpen]:""}:null},uc={open:e=>e?sc:lc};let dc=function(e){return e.index="data-index",e.disabled="data-disabled",e.open="data-open",e}({});const pc={...uc,index:e=>Number.isInteger(e)?{[dc.index]:String(e)}:null,...qs,value:()=>null},fc=n.forwardRef((function(e,t){const{className:r,disabled:o=!1,onOpenChange:i,render:a,value:s,...l}=e,{ref:c,index:u}=nc(),d=Aa(t,c),{disabled:p,handleValueChange:f,state:h,value:m}=Yl(),g=s??u,y=o||p,v=n.useMemo((()=>{if(!m)return!1;for(let e=0;e<m.length;e+=1)if(m[e]===g)return!0;return!1}),[m,g]),b=is((e=>{f(g,e),null==i||i(e)})),x=function(e){const{open:t,defaultOpen:r,onOpenChange:o,disabled:i}=e,a=void 0!==t,[s,l]=es({controlled:t,default:r,name:"Collapsible",state:"open"}),{mounted:c,setMounted:u,transitionStatus:d}=$s(s,!0,!0),[p,f]=n.useState(s),[{height:h,width:m},g]=n.useState({height:void 0,width:void 0}),y=Da(),[v,b]=n.useState(),x=v??y,[w,k]=n.useState(!1),[C,j]=n.useState(!1),N=n.useRef(null),_=n.useRef(null),E=n.useRef(null),S=n.useRef(null),O=As(S,!1),I=is((()=>{const e=!s,t=S.current;"css-animation"===_.current&&null!=t&&t.style.removeProperty("animation-name"),!w&&!C&&(null!=_.current&&"css-animation"!==_.current&&!c&&e&&u(!0),"css-animation"===_.current&&(!p&&e&&f(!0),!c&&e&&u(!0))),l(e),o(e),"none"===_.current&&c&&!e&&u(!1)}));return ls((()=>{a&&"none"===_.current&&!C&&!s&&u(!1)}),[a,C,s,t,u]),n.useMemo((()=>({abortControllerRef:N,animationTypeRef:_,disabled:i,handleTrigger:I,height:h,mounted:c,open:s,panelId:x,panelRef:S,runOnceAnimationsFinish:O,setDimensions:g,setHiddenUntilFound:k,setKeepMounted:j,setMounted:u,setOpen:l,setPanelIdState:b,setVisible:f,transitionDimensionRef:E,transitionStatus:d,visible:p,width:m})),[N,_,i,I,h,c,s,x,S,O,g,k,j,u,l,f,E,d,p,m])}({open:v,onOpenChange:b,disabled:y}),w=n.useMemo((()=>({open:x.open,disabled:x.disabled,hidden:!x.mounted})),[x.open,x.disabled,x.mounted]),k=n.useMemo((()=>({...x,onOpenChange:b,state:w,transitionStatus:x.transitionStatus})),[x,w,b]),C=n.useMemo((()=>({...h,index:u,disabled:y,open:v})),[y,u,v,h]),[j,N]=n.useState(Da()),_=n.useMemo((()=>({open:v,state:C,setTriggerId:N,triggerId:j})),[v,C,N,j]),E=Za("div",e,{state:C,ref:d,props:l,customStyleHookMapping:pc});return ve.jsx(Ql.Provider,{value:k,children:ve.jsx(rc.Provider,{value:_,children:E})})}));"production"!==process.env.NODE_ENV&&(fc.displayName="AccordionItem");const hc=n.forwardRef((function(e,t){const{render:n,className:r,...o}=e,{state:i}=oc();return Za("h3",e,{state:i,ref:t,props:o,customStyleHookMapping:pc})}));"production"!==process.env.NODE_ENV&&(hc.displayName="AccordionHeader");const mc=n.forwardRef((function(e,t){const{disabled:r,className:o,id:i,render:a,nativeButton:s=!0,...l}=e,{panelId:c,open:u,handleTrigger:d,disabled:p}=ec(),f=r??p,{getButtonProps:h,buttonRef:m}=ds({disabled:f,focusableWhenDisabled:!0,native:s}),{state:g,setTriggerId:y,triggerId:v}=oc();ls((()=>(i&&y(i),()=>{y(void 0)})),[i,y]);return Za("button",e,{state:g,ref:[t,m],props:[n.useMemo((()=>({"aria-controls":u?c:void 0,"aria-expanded":u,disabled:f,id:v,onClick:d})),[c,f,v,u,d]),l,h],customStyleHookMapping:cc})}));"production"!==process.env.NODE_ENV&&(mc.displayName="AccordionTrigger");let gc=function(e){return e.disabled="data-disabled",e.orientation="data-orientation",e}({});let yc=function(e){return e.accordionPanelHeight="--accordion-panel-height",e.accordionPanelWidth="--accordion-panel-width",e}({});const vc=n.forwardRef((function(e,t){const{className:r,hiddenUntilFound:o,keepMounted:i,id:a,render:s,...l}=e,{hiddenUntilFound:c,keepMounted:u}=Yl(),{abortControllerRef:d,animationTypeRef:p,height:f,mounted:h,onOpenChange:m,open:g,panelId:y,panelRef:v,runOnceAnimationsFinish:b,setDimensions:x,setHiddenUntilFound:w,setKeepMounted:k,setMounted:C,setOpen:j,setVisible:N,transitionDimensionRef:_,visible:E,width:S,setPanelIdState:O,transitionStatus:I}=ec(),T=o??c,M=i??u;"production"!==process.env.NODE_ENV&&ls((()=>{!1===i&&T&&Al("The `keepMounted={false}` prop on a Accordion.Panel will be ignored when using `contextHiddenUntilFound` on the Panel or the Root since it requires the panel to remain mounted when closed.")}),[T,i]),ls((()=>{if(a)return O(a),()=>{O(void 0)}}),[a,O]),ls((()=>{w(T)}),[w,T]),ls((()=>{k(M)}),[k,M]),Ls({open:g,ref:v,onComplete(){g&&x({width:void 0,height:void 0})}});const{props:R}=function(e){const{abortControllerRef:t,animationTypeRef:r,externalRef:o,height:i,hiddenUntilFound:a,keepMounted:s,id:l,mounted:c,onOpenChange:u,open:d,panelRef:p,runOnceAnimationsFinish:f,setDimensions:h,setMounted:m,setOpen:g,setVisible:y,transitionDimensionRef:v,visible:b,width:x}=e,w=n.useRef(!1),k=n.useRef(null),C=n.useRef(d),j=n.useRef(d),N=n.useMemo((()=>"css-animation"===r.current?!b:!d&&!c),[d,c,b,r]),_=is((e=>{if(!e)return;if(null==r.current||null==v.current){const t=getComputedStyle(e),n="none"!==t.animationName&&""!==t.animationName,o="0s"!==t.transitionDuration&&""!==t.transitionDuration;n&&o?"production"!==process.env.NODE_ENV&&Al("CSS transitions and CSS animations both detected on Collapsible or Accordion panel.","Only one of either animation type should be used."):"none"===t.animationName&&"0s"!==t.transitionDuration?r.current="css-transition":"none"!==t.animationName&&"0s"===t.transitionDuration?r.current="css-animation":r.current="none","horizontal"===e.getAttribute(gc.orientation)||t.transitionProperty.indexOf("width")>-1?v.current="width":v.current="height"}if("css-transition"!==r.current)return;e.style.setProperty("display","block","important"),(void 0===i||void 0===x)&&(h({height:e.scrollHeight,width:e.scrollWidth}),e.style.removeProperty("display"),j.current&&e.style.setProperty("transition-duration","0s"));let t=-1,n=-1;return t=zs.request((()=>{j.current=!1,n=zs.request((()=>{setTimeout((()=>{e.style.removeProperty("transition-duration")}))}))})),()=>{zs.cancel(t),zs.cancel(n)}})),E=Aa(o,p,_);return ls((()=>{if("css-transition"!==r.current)return;const e=p.current;if(!e)return;let n=-1;if(null!=t.current&&(t.current.abort(),t.current=null),!d){h({height:e.scrollHeight,width:e.scrollWidth}),t.current=new AbortController;const n=t.current.signal;let r=-1;const o=zs.request((()=>{r=zs.request((()=>{f((()=>{h({height:0,width:0}),e.style.removeProperty("content-visibility"),e.style.removeProperty("display"),m(!1),t.current=null}),n)}))}));return()=>{zs.cancel(o),zs.cancel(r)}}return e.style.setProperty("display","block","important"),!j.current&&!s&&e.setAttribute(ic.startingStyle,""),h({height:e.scrollHeight,width:e.scrollWidth}),n=zs.request((()=>{e.style.removeProperty("display")})),()=>{zs.cancel(n)}}),[t,r,a,s,c,d,p,f,h,m,v]),ls((()=>{if("css-animation"!==r.current)return;const e=p.current;e&&(k.current=e.style.animationName||k.current,e.style.setProperty("animation-name","none"),h({height:e.scrollHeight,width:e.scrollWidth}),!C.current&&!w.current&&e.style.removeProperty("animation-name"),d?(null!=t.current&&(t.current.abort(),t.current=null),m(!0),y(!0)):(t.current=new AbortController,f((()=>{m(!1),y(!1),t.current=null}),t.current.signal)))}),[t,r,d,p,f,h,m,y,b]),bs((()=>{const e=zs.request((()=>{C.current=!1}));return()=>zs.cancel(e)})),ls((()=>{if(!a)return;const e=p.current;if(!e)return;let t=-1,n=-1;return d&&w.current&&(e.style.transitionDuration="0s",h({height:e.scrollHeight,width:e.scrollWidth}),t=zs.request((()=>{w.current=!1,n=zs.request((()=>{setTimeout((()=>{e.style.removeProperty("transition-duration")}))}))}))),()=>{zs.cancel(t),zs.cancel(n)}}),[a,d,p,h]),ls((()=>{const e=p.current;e&&a&&N&&(e.setAttribute("hidden","until-found"),"css-transition"===r.current&&e.setAttribute(ic.startingStyle,""))}),[a,N,r,p]),n.useEffect((function(){const e=p.current;if(e)return e.addEventListener("beforematch",t),()=>{e.removeEventListener("beforematch",t)};function t(){w.current=!0,g(!0),u(!0)}}),[u,p,g]),n.useMemo((()=>({props:{hidden:N,id:l,ref:E}})),[N,l,E])}({abortControllerRef:d,animationTypeRef:p,externalRef:t,height:f,hiddenUntilFound:T,id:a??y,keepMounted:M,mounted:h,onOpenChange:m,open:g,panelRef:v,runOnceAnimationsFinish:b,setDimensions:x,setMounted:C,setOpen:j,setVisible:N,transitionDimensionRef:_,visible:E,width:S}),{state:D,triggerId:P}=oc(),z=Za("div",e,{state:n.useMemo((()=>({...D,transitionStatus:I})),[D,I]),ref:[t,v],props:[R,{"aria-labelledby":P,role:"region",style:{[yc.accordionPanelHeight]:void 0===f?"auto":`${f}px`,[yc.accordionPanelWidth]:void 0===S?"auto":`${S}px`}},l],customStyleHookMapping:pc});return M||T||!M&&h?z:null}));"production"!==process.env.NODE_ENV&&(vc.displayName="AccordionPanel");const bc={AccordionRoot:"_AccordionRoot_1ukl7_1",Header:"_Header_1ukl7_7",Trigger:"_Trigger_1ukl7_12",TriggerIcon:"_TriggerIcon_1ukl7_29",Panel:"_Panel_1ukl7_40",Content:"_Content_1ukl7_51"},xc=({className:e,children:t,expanded:n,defaultExpanded:r,onChange:o,...i})=>{const a="item",s={...i,type:"single",className:xa(bc.AccordionRoot,e),onValueChange:e=>{null==o||o(e.includes(a))},...void 0!==n?{value:n?[a]:[]}:{defaultValue:r?[a]:[]}};return ve.jsx(Zl,{...s,children:ve.jsx(fc,{value:a,className:bc.Item,children:t})})},wc=({size:e="large",className:t,sx:n,children:r,...o})=>{const i="small"===e,a={"--trigger-height":i?"48px":"72px","--trigger-padding-x":i?"8px":"16px","--trigger-font-size":i?"14px":"18px","--chevron-size":i?"20px":"24px",...n};return ve.jsx(hc,{className:bc.Header,children:ve.jsxs(mc,{...o,className:ui(bc.Trigger,t),style:a,children:[ve.jsx(Bn,{className:bc.TriggerIcon,"data-state-icon":!0}),r]})})},kc=({children:e,...t})=>ve.jsx(vc,{...t,className:bc.Panel,children:ve.jsx("div",{className:bc.Content,children:e})}),Cc=e=>ve.jsx(V,{...e}),jc=({filterIsActive:e,label:t,size:n="large",variant:r="outlined",...o})=>ve.jsx(ve.Fragment,{children:ve.jsxs("div",{className:"w-fit h-fit relative",children:[ve.jsx(la,{...o,type:"button",startIcon:ve.jsx(er,{width:"large"===n?24:20,height:"large"===n?24:20}),variant:r,size:n,children:t||"Filter"}),e&&ve.jsx("div",{className:ui("h-2 w-2 bg-gama-400 rounded-full absolute","large"===n?"top-2 right-2":"top-1 right-1")})]})}),Nc=()=>{const[e,t]=a(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:r=>{e?n():(e=>{t((()=>e.currentTarget))})(r)}}},_c=e=>r.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),Ec=({filterIsActive:e,popoverContent:t,dataTest:n,disabled:o,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:c})=>{const{onAnchorClick:u,onClose:d,anchorEl:p}=Nc();return ve.jsxs(ve.Fragment,{children:[ve.jsxs("div",{className:"w-fit h-fit relative",children:[l?r.cloneElement(l({isOpen:!!p,onClose:d}),{onClick:u}):ve.jsx(la,{type:"button",disabled:o,variant:a,startIcon:ve.jsx(er,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:u,size:i,dataTest:n,children:c||"Filter"}),e&&ve.jsx("div",{className:ui("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),ve.jsx(Cc,{...s,open:!!p,anchorEl:p,onClose:d,anchorOrigin:(null==s?void 0:s.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==s?void 0:s.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==s?void 0:s.className)||"my-1",children:_c(t)?t:t({isOpen:!!p,onClose:d})})]})},Sc=({className:e,contentToCopy:t,locale:n,messageInfo:r,text:o})=>{const i="en"===n?"Copy":"Kopier",a=ma();return ve.jsx(Qi,{title:i,children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:ve.jsx(pl,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(o||i)})})})},Oc="_copy-wrapper_1gjzc_1",Ic="_hidden-copy_1gjzc_1",Tc=({className:e,contentToCopy:t,locale:n,messageInfo:r,children:o})=>ve.jsxs("div",{className:xa("flex items-center hover:text-gama-500",Oc,e),children:[o,ve.jsx(Qi,{title:"no"===n?"Kopier":"Copy",className:Ic,children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",onClick:e=>{e.preventDefault(),e.stopPropagation(),navigator.clipboard.writeText(t).then((()=>{r("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},startIcon:ve.jsx(pl,{width:20,height:20})})})})]}),Mc="_styled-widget-title_1gze6_1",Rc=function(e){return ve.jsx("div",{className:Mc,children:e.children})},Dc="_styled-widget-header_1qk88_1",Pc=({actions:e,title:t,containerClassname:n,actionsClassname:r})=>ve.jsxs("div",{className:xa(Dc,n),children:[ve.jsx(Rc,{children:t}),ve.jsx("div",{className:r,children:e})]}),zc="_asma-core-ui-styled-widget_cb7kt_1",Ac="_widget-header_cb7kt_13",Lc="_widget-content_cb7kt_19",$c="_widget-footer_cb7kt_29",Fc="_widget-link_cb7kt_34";function Vc(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Bc(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const qc=({children:e,title:t,icon:n,link:r,viewMore:o,persistKey:i,isLoading:l,isEmpty:c,emptyText:u})=>{const[d,p]=a(!1);return s((()=>{if(i){const e=localStorage.getItem(i);p("true"===e)}}),[i]),s((()=>{i&&localStorage.setItem(i,String(d))}),[d,i]),ve.jsxs("div",{className:zc,children:[ve.jsxs("div",{className:Ac,children:[n,ve.jsx(Rc,{children:t})]}),ve.jsx("div",{className:Lc,children:ve.jsxs(ve.Fragment,{children:[e,ve.jsx(Oa,{isLoading:l}),ve.jsx(Ea,{isEmpty:c,emptyText:u})]})}),ve.jsxs("div",{className:$c,children:[!o||null!=o&&o.hide?ve.jsx("div",{}):ve.jsx(la,{disabled:o.disabled,dataTest:"view-more",variant:"text",endIcon:d?ve.jsx(Vc,{width:20,height:20}):ve.jsx(Bc,{width:20,height:20}),onClick:()=>{var e;p(!d),null==(e=null==o?void 0:o.onClick)||e.call(o)},children:d?o.viewLessText:o.viewMoreText}),r&&!r.hide?ve.jsx(Ml,{dataTest:"go-to-button",className:Fc,size:"small",href:r.href,onClick:r.onClick,content:r.content}):ve.jsx("div",{})]})]})},Hc="_styled-module-title_174mo_1",Uc=function(e){return ve.jsx("h1",{"data-test":e.dataTest,className:Hc,children:e.children})},Wc="_dialog_erjok_1",Kc="_hidden_erjok_9";function Gc(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Yc(e){return ve.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ve.jsx("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Xc="object"==typeof global&&global&&global.Object===Object&&global;var Jc="object"==typeof self&&self&&self.Object===Object&&self;const Zc=(Xc||Jc||Function("return this")()).Symbol;var Qc=Object.prototype,eu=Qc.hasOwnProperty,tu=Qc.toString,nu=Zc?Zc.toStringTag:void 0;var ru=Object.prototype.toString;var ou="[object Null]",iu="[object Undefined]",au=Zc?Zc.toStringTag:void 0;function su(e){return null==e?void 0===e?iu:ou:au&&au in Object(e)?function(e){var t=eu.call(e,nu),n=e[nu];try{e[nu]=void 0;var r=!0}catch{}var o=tu.call(e);return r&&(t?e[nu]=n:delete e[nu]),o}(e):function(e){return ru.call(e)}(e)}const lu=Array.isArray;function cu(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=su(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const uu=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:r="",showCloseIcon:o=!0,showMinimizeIcon:i=!0,showExpandIcon:s=!0,showFullScreenIcon:l=!0,title:c,label:d,children:p,open:f,onClose:h,className:m="",primaryButtonText:g,primaryButtonLoading:y=!1,secondaryButtonText:v,onPrimaryButtonClick:b,onSecondaryButtonClick:x,dataTest:w,actionNode:k,extraActions:C,extraActionsText:j,btnContainerClassName:N,footerClassName:_,footerInfo:E,locale:S="en",enableFullscreen:O=!0,fullScreenState:I,handleFullScreenState:T})=>{const[M,R]=a(!1),[D,P]=a(!1),{open:z,anchorEl:A,handleOpen:L,handleClose:$}=(()=>{const[e,t]=a(null),n=!!e,r=u((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:u((()=>{t(null)}),[]),handleOpen:r,anchorEl:e}})();if(!f)return null;const F=void 0!==I?I:D,V=g||y,B=V||v,q=()=>{R(!M)};return ve.jsxs(ve.Fragment,{children:[F&&!M&&ve.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ve.jsx("div",{style:{zIndex:51},className:xa(Wc,!M&&Kc),children:ve.jsxs("div",{className:ui("flex items-center justify-between",!M&&"hidden"),"data-test":w,children:[ve.jsx("div",{className:"truncate text-lg font-semibold text-delta-800",children:c}),ve.jsxs("div",{className:"flex items-center gap-x-1",children:[s&&ve.jsx(Qi,{title:"en"===S?"Expand":"Utvid",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"minimize-button",variant:"text",size:"small",onClick:q,endIcon:s&&ve.jsx(br,{height:20,width:20,color:"text-gama-500"}),children:n})})}),o&&ve.jsx(Qi,{title:"en"===S?"Close":"Lukk",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"close-button",variant:"textGray",size:"small",onClick:h,endIcon:o&&ve.jsx(Hn,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),ve.jsxs("div",{className:xa("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",m&&!M?m:"",M&&"!h-0 !w-0 opacity-0 duration-0",F&&!M&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0"),"data-test":w,children:[ve.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ve.jsxs("div",{className:"flex items-center justify-between",children:[d?ve.jsx("div",{className:"text-sm text-delta-700",children:d}):ve.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:c}),ve.jsxs("div",{className:"flex items-center gap-x-1",children:[k,i&&ve.jsx(Qi,{title:"en"===S?"Minimize":"Minimer",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:q,endIcon:i&&ve.jsx(vr,{height:20,width:20,color:"text-delta-700"}),children:t})})}),O&&l&&ve.jsx(Qi,{title:F?"en"===S?"Exit full screen":"Avslutt fullskjerm":"en"===S?"Full screen":"Fullskjerm",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{void 0!==I&&T?T():P(!D)},endIcon:F?ve.jsx(Yc,{width:20,height:20,color:"text-delta-700"}):ve.jsx(Gc,{width:20,height:20,color:"text-delta-700"}),children:r})})}),o&&ve.jsx(Qi,{title:"en"===S?"Close":"Lukk",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"close-button",variant:"textGray",size:"small",onClick:h,endIcon:ve.jsx(Hn,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),d&&ve.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:c})]}),ve.jsxs("div",{className:ui("flex flex-col",F&&!M&&"h-[87dvh]"),children:[ve.jsx("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof p?p({fullScreen:F}):p}),(lu(C)&&null!=C&&C.length||cu(C))&&j||E?ve.jsxs("div",{className:xa("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",_),children:[lu(C)&&null!=C&&C.length&&j?ve.jsxs(ve.Fragment,{children:[ve.jsx(la,{dataTest:"extra-actions-button",variant:"textGray",startIcon:ve.jsx(Dn,{width:24,height:24}),onClick:L,children:j}),ve.jsx(jl,{open:z,anchorEl:A,onClose:$,children:C.map((e=>ve.jsx(Nl,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):j&&cu(C)&&ve.jsx(la,{dataTest:"extra-action-button",variant:"text",onClick:C,children:j})," ",E,B?ve.jsxs("div",{className:xa("flex justify-end gap-x-4",N),children:[v&&x&&ve.jsx(la,{dataTest:"cancel-button",variant:"outlined",onClick:x,children:v}),V&&b&&ve.jsx(la,{dataTest:"save-button",startIcon:y&&ve.jsx(ul,{width:24,height:24}),onClick:b,children:g})]}):null]}):ve.jsx(ve.Fragment,{children:B?ve.jsxs("div",{className:xa("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",N),children:[v&&x&&ve.jsx(la,{dataTest:"cancel-button",variant:"outlined",onClick:x,children:v}),V&&b&&ve.jsx(la,{dataTest:"save-button",startIcon:y&&ve.jsx(ul,{width:24,height:24}),onClick:b,children:g})]}):null})]})]})]})},du=({showCloseIcon:e,tooltipTitle:t,onClick:n,title:r})=>e?ve.jsx("div",{children:ve.jsx(Qi,{title:t,placement:"top",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"close-button",variant:"textGray",size:"small",onClick:n,endIcon:ve.jsx(Hn,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null,pu=({visibility:e,tooltipTitle:t,onClick:n,title:r,type:o})=>{if(!e)return null;const i="minimize"===o;return"expand"===o?ve.jsx("div",{children:ve.jsx(Qi,{title:t,placement:"top",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:n,endIcon:ve.jsx(br,{height:20,width:20,color:"text-gama-500"}),children:r})})})}):i?ve.jsx("div",{children:ve.jsx(Qi,{title:t,placement:"top",children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:n,endIcon:ve.jsx(vr,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null},fu="_minimized-dialog_1fc5p_5",hu="_dialog_1fc5p_1",mu="_hidden_1fc5p_27",gu=({fullScreen:e,showFullScreenIcon:t,title:n,tooltipTitle:r,onClick:o})=>t?ve.jsx(ve.Fragment,{children:t&&ve.jsx(Qi,{title:r,children:ve.jsx("div",{children:ve.jsx(la,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:o,endIcon:e?ve.jsx(Yc,{width:20,height:20,color:"text-delta-700"}):ve.jsx(Gc,{width:20,height:20,color:"text-delta-700"}),children:n})})})}):null,yu=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:r="",showCloseIcon:o=!0,showMinimizeIcon:i=!0,showExpandIcon:l=!0,enableFullscreen:u=!0,fullScreenState:d,handleFullScreenState:p,title:f,label:h,children:m,open:g,onClose:y,classNameOverrides:v={maximized:"",minimized:"",fullscreen:""},dataTest:b,actionNode:x,tooltipOverrides:w={maximized:"",minimized:"",close:"",enterFullScreen:"",exitFullScreen:""},style:k})=>{const[C,j]=a(!1),[N,_]=a(!1),E=c(null),S=void 0!==d?d:N;if(s((()=>{if(!S)return;const e=e=>E.current&&!E.current.contains(e.target)&&(void 0!==d&&p?p():_(!1));return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)}),[S,p,d]),!g)return null;const O=()=>{j(!C)};return ve.jsxs(ve.Fragment,{children:[ve.jsx("div",{style:{zIndex:51,...k},className:xa(fu,!C&&mu,v.minimized),children:ve.jsxs("div",{className:ui("flex items-center justify-between",!C&&"hidden"),"data-test":b,children:[ve.jsx("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:ve.jsx(Qi,{title:f,placement:"top",children:ve.jsx("div",{className:"truncate",children:f})})}),ve.jsxs("div",{className:"flex items-center gap-x-1",children:[ve.jsx(pu,{type:"expand",visibility:l,onClick:O,title:n,tooltipTitle:w.maximized||"Expand"}),ve.jsx(du,{showCloseIcon:o,onClick:y,title:e,tooltipTitle:w.close||"Close"})]})]})}),S&&!C&&ve.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ve.jsxs("div",{ref:E,style:{zIndex:51,...k},className:xa(hu,C&&mu,v.maximized,S&&!C&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",S&&v.fullscreen),children:[ve.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ve.jsxs("div",{className:"flex items-center justify-between",children:[h?ve.jsx("div",{className:"text-sm text-delta-700",children:h}):ve.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:f}),ve.jsxs("div",{className:"flex items-center gap-x-1",children:[x,ve.jsx(pu,{visibility:i,type:"minimize",onClick:O,title:t,tooltipTitle:w.minimized||"Minimize"}),ve.jsx(gu,{showFullScreenIcon:u,fullScreen:S,onClick:()=>{var e;null==(e=document.activeElement)||e.blur(),void 0!==d&&p?p():_(!N)},title:r,tooltipTitle:S?w.exitFullScreen||"Exit full screen":w.enterFullScreen||"Full screen"}),ve.jsx(du,{showCloseIcon:o,onClick:y,title:e,tooltipTitle:w.close||"Close"})]})]}),h&&ve.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:f})]}),ve.jsx("div",{className:xa(C&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:m})]})]})};function vu({config:e,MAX_DIALOG_WIDTH:t=600}){const n=d(void 0);return{DialogStackProvider:({children:r})=>{const[o,i]=a([]),l=function(){const[e,t]=a((()=>window.innerWidth));return s((()=>{const e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),e}(),c=u((e=>{const n=e.length||1,r=Math.min(t,(l-16*(n+1))/n);return e.map(((e,t)=>({...e,width:r,position:{right:16+t*(r+16)}})))}),[l]),d=u((t=>{var n;const r=null==(n=e[t])?void 0:n.dependencies;i((e=>{const n=e.find((e=>e.id===t)),o={id:t,open:!0,width:0,position:{right:0},dependencies:r},i=n?e.map((e=>e.id===t?{...e,open:!0,dependencies:r}:e)):[...e,o];return c(i.filter((e=>e.open)))}))}),[c]),p=u((e=>{i((t=>{var n;const r=new Set([e]);let o;do{o=!1;for(const e of t)null!=(n=e.dependencies)&&n.some((e=>r.has(e)))&&!r.has(e.id)&&(r.add(e.id),o=!0)}while(o);return c(t.filter((e=>!r.has(e.id))))}))}),[c]),f=u((e=>o.find((t=>t.id===e))),[o]);return ve.jsx(n.Provider,{value:{dialogs:o,openDialog:d,closeDialog:p,getDialogState:f},children:r})},useDialogStack:function(){const e=p(n);if(!e)throw new Error("useDialogStack must be used within DialogStackProvider");return e}}}export{$n as ArchiveIcon,wn as AssignmentIcon,kn as AssignmentOutlineIcon,B as Avatar,wr as BadgeIcon,nn as BellIcon,tn as BellOutlineIcon,ir as CalendarBlankOutlineIcon,vn as CalendarIcon,xn as CalendarRangeIcon,Vn as CheckBoxCheckedIcon,yn as CheckFactIcon,gn as CheckFactOutlineIcon,Un as CheckIcon,mn as CheckOutlineIcon,sn as ChevronDoubleLeftIcon,ln as ChevronDoubleRightIcon,Bn as ChevronDownIcon,an as ChevronLeftIcon,on as ChevronRightIcon,qn as ChevronUpIcon,q as ClickAwayListener,Hn as CloseIcon,yr as ConsentsIcon,H as Container,Sc as CopyButton,Tc as CopyWrapper,dn as DashboardViewIcon,pn as DashboardViewOutlineIcon,Qn as DeleteOutlineIcon,Dn as DotsVerticalIcon,Fn as DownloadIcon,Jn as DragHorizontalIcon,Ln as DropDownIcon,An as DropUpIcon,nr as DvrIcon,pr as EarthIcon,kr as EditSquareIcon,rr as ErrorOutlineIcon,U as Fade,sr as FastCheckOutlineIcon,Zn as FilePdfIcon,er as FilterIcon,In as FindReplaceIcon,Tn as FindReplacePeopleIcon,W as FormLabel,rn as HamburgerIcon,_r as HandymanIcon,Nr as HandymanOutlineIcon,Gn as InboxOutboxIcon,Yn as InboxOutboxOutlineIcon,Ws as IndeterminateIcon,br as KeyboardCapslockIcon,ar as LinkOutlineIcon,Cn as ListNumberedIcon,dr as ListSettingsLineIcon,cr as ListStatusIcon,zn as LoadingIcon,tr as LockIcon,jn as MessageProcessingIcon,Nn as MessageProcessingOutlineIcon,xr as MessageReplyIcon,uu as MinimizableDialog,yu as MinimizableDialogV2,vr as MinimizeIcon,bn as NewCalendarIcon,gr as OutlineCalendarMonth,K as Paper,un as PdfIcon,hr as PencilOutlineIcon,hn as PeopleIcon,fn as PeopleOutlineIcon,Wn as PermMediaIcon,Kn as PermMediaOutline,Mn as PersonIcon,Rn as PersonOutlineIcon,Er as PinIcon,Cr as PlusIcon,jr as PlusIconCircle,G as Popper,cn as QnrIcon,or as ReplayIcon,_n as ReportBoxIcon,En as ReportBoxOutlineIcon,Pn as SearchIcon,Sn as SettingsIcon,fr as SettingsMenuHorizontalIcon,On as SettingsOutlineIcon,Y as Skeleton,X as Stack,xc as StyledAccordion,kc as StyledAccordionDetails,wc as StyledAccordionSummary,be as StyledBadge,la as StyledButton,Ks as StyledCheckbox,Or as StyledChip,ga as StyledDialog,wa as StyledDialogActions,Ca as StyledDialogContent,Na as StyledDialogTitle,Cl as StyledDrawer,Ea as StyledEmptyPage,jc as StyledFilterButton,Ec as StyledFilterMenu,vl as StyledFormControl,bl as StyledFormControlLabel,kl as StyledFormGroup,xl as StyledFormHelperText,ia as StyledFormLabel,Gs as StyledInputField,wl as StyledInputLabel,Tr as StyledInteractiveChip,yl as StyledLabel,Ml as StyledLink,Oa as StyledLoading,jl as StyledMenu,Nl as StyledMenuItem,_l as StyledMenuList,Uc as StyledModuleTitle,Cc as StyledPopover,ml as StyledRadio,gl as StyledRadioGroup,Ys as StyledSearchField,Zs as StyledSelect,nl as StyledSelectAutocomplete,Qs as StyledSelectItem,rl as StyledSlider,hl as StyledSwitch,Rl as StyledTab,Dl as StyledTabs,Js as StyledTextarea,Qi as StyledTooltip,ea as StyledTypography,qc as StyledWidget,Pc as StyledWidgetHeader,Rc as StyledWidgetTitle,ur as TextBoxCheckOutlineIcon,Xn as TopicIcon,lr as UnknownDocumentOutlineRoundedIcon,mr as WarningAmberOutlineIcon,Sr as WorkIcon,vu as createDialogStack,ne as omit,pe as prepareForSlot,ue as setMidnightTime,de as setZeroTime};