asma-core-ui 3.1.12 → 3.1.13

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,22 @@
1
- import*as e from"react";import t,{forwardRef as o,createElement as n,useState as r,useEffect as i,useLayoutEffect as a,useRef as l,useCallback as s}from"react";import{jsx as c,jsxs as d,Fragment as u}from"react/jsx-runtime";import{Badge as p,Chip as h,Tooltip as f,Typography as m,Dialog as g,DialogActions as y,DialogContent as b,DialogTitle as v,Checkbox as x,TextField as w,Select as k,MenuItem as C,Autocomplete as N,Paper as _,Slider as T,Switch as E,Radio as S,RadioGroup as O,FormControl as M,FormControlLabel as I,FormHelperText as j,InputLabel as z,FormGroup as L,Drawer as R,Menu as $,MenuList as P,Tab as A,Tabs as D,Accordion as F,AccordionSummary as B,AccordionDetails as q,Popover as V}from"@mui/material";import{Avatar as H,ClickAwayListener as W,Container as U,Fade as K,FormLabel as G,Paper as Y,Popper as X,Skeleton as J,Stack as Z}from"@mui/material";import{twMerge as Q}from"tailwind-merge";import ee from"prop-types";import{ThemeContext as te}from"@emotion/react";import oe 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 ie(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 ae(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function le(e){ae(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 ce(e,t){ae(2,arguments);var o=le(e),n=ie(t),r=o.getFullYear(),i=o.getDate(),a=new Date(0);a.setFullYear(r,n,15),a.setHours(0,0,0,0);var l=function(e){ae(1,arguments);var t=le(e),o=t.getFullYear(),n=t.getMonth(),r=new Date(0);return r.setFullYear(o,n+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return o.setMonth(n,Math.min(i,l)),o}function de(e,t){if(ae(2,arguments),"object"!==re(t)||null===t)throw new RangeError("values parameter must be an object");var o=le(e);return isNaN(o.getTime())?new Date(NaN):(null!=t.year&&o.setFullYear(t.year),null!=t.month&&(o=ce(o,t.month)),null!=t.date&&o.setDate(ie(t.date)),null!=t.hours&&o.setHours(ie(t.hours)),null!=t.minutes&&o.setMinutes(ie(t.minutes)),null!=t.seconds&&o.setSeconds(ie(t.seconds)),null!=t.milliseconds&&o.setMilliseconds(ie(t.milliseconds)),o)}const ue=e=>de(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),pe=e=>de(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function he(e){return o((function(t,o){const{ownerState:r,...i}=t;return n(e,{...i,ref:o})}))}const fe=({color:e="primary",dataTest:t,...o})=>c(p,{color:e,"data-test":t,...o,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...o.sx}}),me=/^[a-z0-9]+(-[a-z0-9]+)*$/,ge=(e,t,o,n="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;n=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),o=r.pop(),i={provider:r.length>0?r[0]:n,prefix:o,name:e};return t&&!ye(i)?null:i}const i=r[0],a=i.split("-");if(a.length>1){const e={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!ye(e)?null:e}if(o&&""===n){const e={provider:n,prefix:"",name:i};return t&&!ye(e,o)?null:e}return null},ye=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(me)||!(t&&""===e.prefix||e.prefix.match(me))||!e.name.match(me)),be=Object.freeze({left:0,top:0,width:16,height:16}),ve=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),xe=Object.freeze({...be,...ve}),we=Object.freeze({...xe,body:"",hidden:!1});function ke(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(o.rotate=n),o}(e,t);for(const n in we)n in ve?n in e&&!(n in o)&&(o[n]=ve[n]):n in t?o[n]=t[n]:n in e&&(o[n]=e[n]);return o}function Ce(e,t,o){const n=e.icons,r=e.aliases||Object.create(null);let i={};function a(e){i=ke(n[e]||r[e],i)}return a(t),o.forEach(a),ke(e,i)}function Ne(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const n=function(e,t){const o=e.icons,n=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(o).concat(Object.keys(n))).forEach((function e(t){if(o[t])return r[t]=[];if(!(t in r)){r[t]=null;const o=n[t]&&n[t].parent,i=o&&e(o);i&&(r[t]=[o].concat(i))}return r[t]})),r}(e);for(const r in n){const i=n[r];i&&(t(r,Ce(e,r,i)),o.push(r))}return o}const _e={provider:"",aliases:{},not_found:{},...be};function Te(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function Ee(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,_e))return null;const o=t.icons;for(const e in o){const t=o[e];if(!e.match(me)||"string"!=typeof t.body||!Te(t,we))return null}const n=t.aliases||Object.create(null);for(const e in n){const t=n[e],r=t.parent;if(!e.match(me)||"string"!=typeof r||!o[r]&&!n[r]||!Te(t,we))return null}return t}const Se=Object.create(null);function Oe(e,t){const o=Se[e]||(Se[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Me(e,t){return Ee(t)?Ne(t,((t,o)=>{o?e.icons[t]=o:e.missing.add(t)})):[]}let Ie=!1;function je(e){return"boolean"==typeof e&&(Ie=e),Ie}function ze(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),Ie&&!t&&!e.prefix){let t=!1;return Ee(e)&&(e.prefix="",Ne(e,((e,o)=>{o&&function(e,t){const o=ge(e,!0,Ie);return!!o&&function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch{}return!1}(Oe(o.provider,o.prefix),o.name,t)}(e,o)&&(t=!0)}))),t}const o=e.prefix;if(!ye({provider:t,prefix:o,name:"a"}))return!1;return!!Me(Oe(t,o),e)}const Le=Object.freeze({width:null,height:null}),Re=Object.freeze({...Le,...ve}),$e=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Pe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ae(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const n=e.split($e);if(null===n||!n.length)return e;const r=[];let i=n.shift(),a=Pe.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*o)/o)}else r.push(i);if(i=n.shift(),void 0===i)return r.join("");a=!a}}const De=/\sid="(\S+)"/g,Fe="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let Be=0;function qe(e,t=Fe){const o=[];let n;for(;n=De.exec(e);)o.push(n[1]);if(!o.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach((o=>{const n="function"==typeof t?t(o):t+(Be++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+n+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const Ve=Object.create(null);function He(e){return Ve[e]||Ve[""]}function We(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 Ue=Object.create(null),Ke=["https://api.simplesvg.com","https://api.unisvg.com"],Ge=[];for(;Ke.length>0;)1===Ke.length||Math.random()>.5?Ge.push(Ke.shift()):Ge.push(Ke.pop());function Ye(e,t){const o=We(t);return null!==o&&(Ue[e]=o,!0)}function Xe(e){return Ue[e]}Ue[""]=We({resources:["https://api.iconify.design"].concat(Ge)});let Je=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const Ze={prepare:(e,t,o)=>{const n=[],r=function(e,t){const o=Xe(e);if(!o)return 0;let n;if(o.maxURL){let e=0;o.resources.forEach((t=>{e=Math.max(e,t.length)}));const r=t+".json?icons=";n=o.maxURL-e-o.path.length-r.length}else n=0;return n}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},l=0;return o.forEach(((o,s)=>{l+=o.length+1,l>=r&&s>0&&(n.push(a),a={type:i,provider:e,prefix:t,icons:[]},l=o.length),a.icons.push(o)})),n.push(a),n},send:(e,t,o)=>{if(!Je)return void o("abort",424);let n=function(e){if("string"==typeof e){const t=Xe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");n+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;n+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let r=503;Je(e+n).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{o(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{o("success",e)})):setTimeout((()=>{404===e?o("abort",e):o("next",r)}))})).catch((()=>{o("next",r)}))}};function Qe(e,t){e.forEach((e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter((e=>e.id!==t)))}))}let et=0;var tt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ot(e,t,o,n){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):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 l=Date.now();let s,c="pending",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,s)}))}function b(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function v(){if("pending"!==c)return;f();const n=a.shift();if(void 0===n)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(b(),y())}),e.timeout)):void y();const r={status:"pending",resource:n,callback:(t,o)=>{!function(t,o,n){const r="success"!==o;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return s=n,void y();if(r)return s=n,void(p.length||(a.length?v():y()));if(f(),b(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}c="completed",h.forEach((e=>{e(n)}))}(r,t,o)}};p.push(r),d++,u=setTimeout(v,e.rotate),o(n,t,r.callback)}return"function"==typeof n&&h.push(n),setTimeout(v),function(){return{startTime:l,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function nt(e){const t={...tt,...e};let o=[];function n(){o=o.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const a=ot(t,e,r,((e,t)=>{n(),i&&i(e,t)}));return o.push(a),a},find:function(e){return o.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:n}}function rt(){}const it=Object.create(null);function at(e,t,o){let n,r;if("string"==typeof e){const t=He(e);if(!t)return o(void 0,424),rt;r=t.send;const i=function(e){if(!it[e]){const t=Xe(e);if(!t)return;const o={config:t,redundancy:nt(t)};it[e]=o}return it[e]}(e);i&&(n=i.redundancy)}else{const t=We(e);if(t){n=nt(t);const o=He(e.resources?e.resources[0]:"");o&&(r=o.send)}}return n&&r?n.query(t,r,o)().abort:(o(void 0,424),rt)}const lt="iconify2",st="iconify",ct=st+"-count",dt=st+"-version",ut=36e5,pt=168;function ht(e,t){try{return e.getItem(t)}catch{}}function ft(e,t,o){try{return e.setItem(t,o),!0}catch{}}function mt(e,t){try{e.removeItem(t)}catch{}}function gt(e,t){return ft(e,ct,t.toString())}function yt(e){return parseInt(ht(e,ct))||0}const bt={local:!0,session:!0},vt={local:new Set,session:new Set};let xt=!1;let wt=typeof window>"u"?{}:window;function kt(e){const t=e+"Storage";try{if(wt&&wt[t]&&"number"==typeof wt[t].length)return wt[t]}catch{}bt[e]=!1}function Ct(e,t){const o=kt(e);if(!o)return;const n=ht(o,dt);if(n!==lt){if(n){const e=yt(o);for(let t=0;t<e;t++)mt(o,st+t.toString())}return ft(o,dt,lt),void gt(o,0)}const r=Math.floor(Date.now()/ut)-pt,i=e=>{const n=st+e.toString(),i=ht(o,n);if("string"==typeof i){try{const o=JSON.parse(i);if("object"==typeof o&&"number"==typeof o.cached&&o.cached>r&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch{}mt(o,n)}};let a=yt(o);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,gt(o,a)):vt[e].add(t))}function Nt(){if(!xt){xt=!0;for(const e in bt)Ct(e,(e=>{const t=e.data,o=Oe(e.provider,t.prefix);if(!Me(o,t).length)return!1;const n=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,n):n,!0}))}}function _t(e,t){function o(o){let n;if(!bt[o]||!(n=kt(o)))return;const r=vt[o];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=yt(n),!gt(n,i+1))return;const a={cached:Math.floor(Date.now()/ut),provider:e.provider,data:t};return ft(n,st+i.toString(),JSON.stringify(a))}xt||Nt(),t.lastModified&&!function(e,t){const o=e.lastModifiedCached;if(o&&o>=t)return o===t;if(e.lastModifiedCached=t,o)for(const o in bt)Ct(o,(o=>{const n=o.data;return o.provider!==e.provider||n.prefix!==e.prefix||n.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,o("local")||o("session"))}function Tt(){}function Et(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 o=!1;const n=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:n,prefix:r,name:a});else{if(!e.missing.has(a))return o=!0,!0;i.missing.push({provider:n,prefix:r,name:a})}return!1})),i.pending.length!==a&&(o||Qe([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const St=(e,t)=>{const o=function(e,t=!0,o=!1){const n=[];return e.forEach((e=>{const r="string"==typeof e?ge(e,t,o):e;r&&n.push(r)})),n}(e,!0,je()),n=function(e){const t={loaded:[],missing:[],pending:[]},o=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 n={provider:"",prefix:"",name:""};return e.forEach((e=>{if(n.name===e.name&&n.prefix===e.prefix&&n.provider===e.provider)return;n=e;const r=e.provider,i=e.prefix,a=e.name,l=o[r]||(o[r]=Object.create(null)),s=l[i]||(l[i]=Oe(r,i));let c;c=a in s.icons?t.loaded:""===i||s.missing.has(a)?t.missing:t.pending;const d={provider:r,prefix:i,name:a};c.push(d)})),t}(o);if(!n.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(n.loaded,n.missing,n.pending,Tt)})),()=>{e=!1}}const r=Object.create(null),i=[];let a,l;return n.pending.forEach((e=>{const{provider:t,prefix:o}=e;if(o===l&&t===a)return;a=t,l=o,i.push(Oe(t,o));const n=r[t]||(r[t]=Object.create(null));n[o]||(n[o]=[])})),n.pending.forEach((e=>{const{provider:t,prefix:o,name:n}=e,i=Oe(t,o),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(n)||(a.add(n),r[t][o].push(n))})),i.forEach((e=>{const{provider:t,prefix:o}=e;r[t][o].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:o}=e,n=e.iconsToLoad;let r;delete e.iconsToLoad,n&&(r=He(t))&&r.prepare(t,o,n).forEach((o=>{at(t,o,(t=>{if("object"!=typeof t)o.icons.forEach((t=>{e.missing.add(t)}));else try{const o=Me(e,t);if(!o.length)return;const n=e.pendingIcons;n&&o.forEach((e=>{n.delete(e)})),_t(e,t)}catch(e){console.error(e)}Et(e)}))}))})))}(e,r[t][o])})),t?function(e,t,o){const n=et++,r=Qe.bind(null,o,n);if(!t.pending.length)return r;const i={id:n,icons:t,callback:e,abort:r};return o.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}(t,n,i):Tt};const Ot=/[\s,]+/;function Mt(e,t){t.split(Ot).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function It(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function n(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:n(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-o.length));return isNaN(r)?0:(r/=t,r%1==0?n(r):0)}}return t}function jt(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 Lt(e){return void 0===zt&&function(){try{zt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{zt=null}}(),zt?zt.createHTML(e):e}const Rt={...Re,inline:!1},$t={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Pt={display:"inline-block"},At={backgroundColor:"currentColor"},Dt={backgroundColor:"transparent"},Ft={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Bt={WebkitMask:At,mask:At,background:Dt};for(const e in Bt){const t=Bt[e];for(const o in Ft)t[e+o]=Ft[o]}const qt={...Rt,inline:!0};function Vt(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Ht=(e,o,n,r)=>{const i=n?qt:Rt,a=function(e,t){const o={...e};for(const e in t){const n=t[e],r=typeof n;e in Le?(null===n||n&&("string"===r||"number"===r))&&(o[e]=n):r===typeof o[e]&&(o[e]="rotate"===e?n%4:n)}return o}(i,o),l=o.mode||"svg",s={},c=o.style||{},d={..."svg"===l?$t:{},ref:r};for(let e in o){const t=o[e];if(void 0!==t)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===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Mt(a,t);break;case"color":s.color=t;break;case"rotate":"string"==typeof t?a[e]=It(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const o={...xe,...e},n={...Re,...t},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,n].forEach((e=>{const t=[],o=e.hFlip,n=e.vFlip;let a,l=e.rotate;switch(o?n?l+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):n&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4,l){case 1:a=r.height/2+r.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:a=r.width/2+r.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}l%2==1&&(r.left!==r.top&&(a=r.left,r.left=r.top,r.top=a),r.width!==r.height&&(a=r.width,r.width=r.height,r.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=n.width,l=n.height,s=r.width,c=r.height;let d,u;null===a?(u=null===l?"1em":"auto"===l?c:l,d=Ae(u,s/c)):(d="auto"===a?s:a,u=null===l?Ae(d,c/s):"auto"===l?c:l);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=r.left.toString()+" "+r.top.toString()+" "+s.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(s.verticalAlign="-0.125em"),"svg"===l){d.style={...s,...c},Object.assign(d,p);let e=0,n=o.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Lt(qe(u.body,n?()=>n+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===l||"bg"!==l&&-1!==h.indexOf("currentColor"),y=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)o+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(h,{...p,width:f+"",height:m+""});return d.style={...s,"--svg":jt(y),width:Vt(p.width),height:Vt(p.height),...Pt,...g?At:Dt,...c},t.createElement("span",d)};var Wt;if(je(!0),Wt=Ze,Ve[""]=Wt,typeof document<"u"&&typeof window<"u"){Nt();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="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(o)}catch{console.error(o)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const n=t[e];if("object"!=typeof n||!n||void 0===n.resources)continue;Ye(e,n)||console.error(o)}catch{console.error(o)}}}}class Ut extends t.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,o=this.props.icon;if("object"==typeof o&&null!==o&&"string"==typeof o.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:o}));let n;if("string"!=typeof o||null===(n=ge(o,!1,!0)))return this._abortLoading(),void this._setData(null);const r=function(e){const t="string"==typeof e?ge(e,!0,Ie):e;if(t){const e=Oe(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}(n);if(r){if(this._icon!==o||null===t.icon){this._abortLoading(),this._icon=o;const e=["iconify"];""!==n.prefix&&e.push("iconify--"+n.prefix),""!==n.provider&&e.push("iconify--"+n.provider),this._setData({data:r,classes:e}),this.props.onLoad&&this.props.onLoad(o)}}else(!this._loading||this._loading.name!==o)&&(this._abortLoading(),this._icon="",this._setData(null),null!==r&&(this._loading={name:o,abort:St([n],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,o=this.state.icon;if(null===o)return e.children?e.children:t.createElement("span",{});let n=e;return o.classes&&(n={...e,className:("string"==typeof e.className?e.className+" ":"")+o.classes.join(" ")}),Ht({...xe,...o.data},n,e._inline,e._ref)}}const Kt=t.forwardRef((function(e,o){const n={...e,_ref:o,_inline:!1};return t.createElement(Ut,n)}));t.forwardRef((function(e,o){const n={...e,_ref:o,_inline:!0};return t.createElement(Ut,n)}));const Gt="_icon_1czju_5",Yt=({width:e=20,height:t=20,className:o="",icon:n,onClick:r,color:i,vFlip:a=!1})=>c(Kt,{onClick:r,icon:n,width:e,height:t,className:`${Gt} ${o}`,color:i,vFlip:a}),Xt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:bell-outline",width:e,height:t,className:o,onClick:n,color:r}),Jt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:bell",width:e,height:t,className:o,onClick:n,color:r}),Zt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"charm:menu-hamburger",width:e,height:t,className:o,onClick:n,color:r}),Qt=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-right",width:e,height:t,className:o,onClick:n,color:r}),eo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-left",width:e,height:t,className:o,onClick:n,color:r}),to=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-double-left",width:e,height:t,className:o,onClick:n,color:r}),oo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-double-right",width:e,height:t,className:o,onClick:n,color:r}),no=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:o,onClick:n,color:r}),ro=({width:e=20,height:t=20,className:o="",onClick:n,color:r=""})=>c(Yt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:o,onClick:n,color:r}),io=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:view-dashboard",width:e,height:t,className:o,onClick:n,color:r}),ao=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:o,onClick:n,color:r}),lo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-people-alt",width:e,height:t,className:o,onClick:n,color:r}),so=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:sharp-people",width:e,height:t,className:o,onClick:n,color:r});function co(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 uo(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 po(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 ho=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-blank",width:e,height:t,className:o,onClick:n,color:r}),fo=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),mo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-range",width:e,height:t,className:o,onClick:n,color:r}),go=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-assignment",width:e,height:t,className:o,onClick:n,color:r}),yo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:o,onClick:n,color:r}),bo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:o,onClick:n,color:r}),vo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:message-processing",width:e,height:t,className:o,onClick:n,color:r}),xo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:message-processing-outline",width:e,height:t,className:o,onClick:n,color:r}),wo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:report-box",width:e,height:t,className:o,onClick:n,color:r}),ko=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:report-box-outline",width:e,height:t,className:o,onClick:n,color:r}),Co=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:settings",width:e,height:t,className:o,onClick:n,color:r}),No=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:settings-outline",width:e,height:t,className:o,onClick:n,color:r}),_o=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-sync",width:e,height:t,className:o,onClick:n,color:r,vFlip:!0}),To=({color:e="black",size:t="20",className:o=""})=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:o,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[c("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}),c("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}),c("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}),c("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})]}),Eo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:round-person",width:e,height:t,className:o,onClick:n,color:r}),So=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:round-person-outline",width:e,height:t,className:o,onClick:n,color:r}),Oo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:dots-vertical",width:e,height:t,className:o,onClick:n,color:r}),Mo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-search",width:e,height:t,className:o,onClick:n,color:r}),Io=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:o,onClick:n,color:r}),jo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:o,onClick:n,color:r}),zo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:o,onClick:n,color:r}),Lo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"eva:archive-fill",width:e,height:t,className:o,onClick:n,color:r}),Ro=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-download",width:e,height:t,className:o,onClick:n,color:r}),$o=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:o,onClick:n,color:r}),Po=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-down",width:e,height:t,className:o,onClick:n,color:r}),Ao=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:chevron-up",width:e,height:t,className:o,onClick:n,color:r}),Do=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-close",width:e,height:t,className:o,onClick:n,color:r}),Fo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-check",width:e,height:t,className:o,onClick:n,color:r}),Bo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:perm-media",width:e,height:t,className:o,onClick:n,color:r}),qo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:o,onClick:n,color:r}),Vo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:inbox",width:e,height:t,className:o,onClick:n,color:r}),Ho=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:inbox-outline",width:e,height:t,className:o,onClick:n,color:r}),Wo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:sharp-topic",width:e,height:t,className:o,onClick:n,color:r}),Uo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:o,onClick:n,color:r}),Ko=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:o,onClick:n,color:r}),Go=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:delete-outline",width:e,height:t,className:o,onClick:n,color:r}),Yo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:filter-variant",width:e,height:t,className:o,onClick:n,color:r}),Xo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:lock-outline",width:e,height:t,className:o,onClick:n,color:r}),Jo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:baseline-dvr",width:e,height:t,className:o,onClick:n,color:r}),Zo=({width:e=20,height:t=20,className:o="",onClick:n,color:r="var(--colors-error-500)"})=>c(Yt,{icon:"mdi:error-outline",width:e,height:t,className:o,onClick:n,color:r}),Qo=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:replay",width:e,height:t,className:o,onClick:n,color:r}),en=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:o,onClick:n,color:r}),tn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-link",width:e,height:t,className:o,onClick:n,color:r}),on=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:o,onClick:n,color:r}),nn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:o,onClick:n,color:r}),rn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:list-status",width:e,height:t,className:o,onClick:n,color:r}),an=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:o,onClick:n,color:r}),ln=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ri:list-settings-line",width:e,height:t,className:o,onClick:n,color:r}),sn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"pajamas:earth",width:e,height:t,className:o,onClick:n,color:r}),cn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:o,onClick:n,color:r}),dn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"mdi:pencil-outline",width:e,height:t,className:o,onClick:n,color:r});function un(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const pn=({width:e=20,height:t=20,className:o="",onClick:n,color:r})=>c(Yt,{icon:"ic:outline-calendar-month",width:e,height:t,className:o,onClick:n,color:r});function hn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 fn=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),mn=e=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function gn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 yn(e){return d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[c("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),c("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"}),c("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),c("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 bn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 vn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 xn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 wn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 kn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 Cn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:c("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 Nn(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 _n=({dataTest:e,readOnly:t,...o})=>c(h,{...o,"data-test":e,deleteIcon:c(Do,{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)"}}},...o.sx}}),Tn=({type:e="checkbox",checked:t,...o})=>{const n="checkbox"===e,r=n?Na:$a,i=!o.readOnly&&!n&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return c(_n,{avatar:c(r,{dataTest:o.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...o,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},...o.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,...o.sx}})};function En(){return En=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},En.apply(this,arguments)}function Sn(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}const On=!1;var Mn="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.shape({enter:ee.number,exit:ee.number,appear:ee.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&ee.oneOfType([ee.string,ee.shape({enter:ee.string,exit:ee.string,active:ee.string}),ee.shape({enter:ee.string,enterDone:ee.string,enterActive:ee.string,exit:ee.string,exitDone:ee.string,exitActive:ee.string})]);const In=t.createContext(null);var jn="unmounted",zn="exited",Ln="entering",Rn="entered",$n="exiting",Pn=function(e){function o(t,o){var n;n=e.call(this,t,o)||this;var r,i=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(r=zn,n.appearStatus=Ln):r=Rn:r=t.unmountOnExit||t.mountOnEnter?jn:zn,n.state={status:r},n.nextCallback=null,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,se(e,t)}(o,e),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===jn?{status:zn}:null};var n=o.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Ln&&o!==Rn&&(t=Ln):(o===Ln||o===Rn)&&(t=$n)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Ln){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this);o&&function(e){e.scrollTop}(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zn&&this.setState({status:jn})},n.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[oe.findDOMNode(this),n],i=r[0],a=r[1],l=this.getTimeouts(),s=n?l.appear:l.enter;!e&&!o||On?this.safeSetState({status:Rn},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Ln},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Rn},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:oe.findDOMNode(this);t&&!On?(this.props.onExit(n),this.safeSetState({status:$n},(function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:zn},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:zn},(function(){e.props.onExited(n)}))},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,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:oe.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=r[0],a=r[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===jn)return null;var o=this.props,n=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var r=Sn(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(In.Provider,{value:null},"function"==typeof n?n(e,r):t.cloneElement(t.Children.only(n),r))},o}(t.Component);function An(){}Pn.contextType=In,Pn.propTypes="production"!==process.env.NODE_ENV?{nodeRef:ee.shape({current:typeof Element>"u"?ee.any:function(e,t,o,n,r,i){var a=e[t];return ee.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,n,r,i)}}),children:ee.oneOfType([ee.func.isRequired,ee.element.isRequired]).isRequired,in:ee.bool,mountOnEnter:ee.bool,unmountOnExit:ee.bool,appear:ee.bool,enter:ee.bool,exit:ee.bool,timeout:function(e){var t=Mn;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return t.apply(void 0,[e].concat(n))},addEndListener:ee.func,onEnter:ee.func,onEntering:ee.func,onEntered:ee.func,onExit:ee.func,onExiting:ee.func,onExited:ee.func}:{},Pn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:An,onEntering:An,onEntered:An,onExit:An,onExiting:An,onExited:An},Pn.UNMOUNTED=jn,Pn.EXITED=zn,Pn.ENTERING=Ln,Pn.ENTERED=Rn,Pn.EXITING=$n;const Dn=Pn;function Fn(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function Bn(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function qn(e){if(!Bn(e))return e;const t={};return Object.keys(e).forEach((o=>{t[o]=qn(e[o])})),t}function Vn(e,t,o={clone:!0}){const n=o.clone?En({},e):e;return Bn(e)&&Bn(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Bn(t[r])&&r in e&&Bn(e[r])?n[r]=Vn(e[r],t[r],o):o.clone?n[r]=Bn(t[r])?qn(t[r]):t[r]:n[r]=t[r])})),n}function Hn(e,t,o,n,r){const i=e[t],a=r||t;if(null==i||typeof window>"u")return null;let l;const s=i.type;return"function"==typeof s&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(s)&&(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${n} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Wn=Fn(ee.element,Hn);Wn.isRequired=Fn(ee.element.isRequired,Hn);const Un=Wn;function Kn(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 Gn(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Kn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Yn=e=>e,Xn=(()=>{let e=Yn;return{configure(t){e=t},generate:t=>e(t),reset(){e=Yn}}})(),Jn=Xn,Zn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Qn(e,t,o="Mui"){const n=Zn[t];return n?`${o}-${n}`:`${Jn.generate(e)}-${t}`}const er=["values","unit","step"],tr=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)=>En({},e,{[t.key]:t.val})),{})};const or={borderRadius:4},nr="production"!==process.env.NODE_ENV?ee.oneOfType([ee.number,ee.string,ee.object,ee.array]):{};function rr(e,t){return t?Vn(e,t,{clone:!1}):e}const ir={xs:0,sm:600,md:900,lg:1200,xl:1536},ar={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ir[e]}px)`};function lr(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||ar;return t.reduce(((n,r,i)=>(n[e.up(e.keys[i])]=o(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||ar;return Object.keys(t).reduce(((n,r)=>{if(-1!==Object.keys(e.values||ir).indexOf(r)){n[e.up(r)]=o(t[r],r)}else{const e=r;n[e]=t[e]}return n}),{})}return o(t)}function sr(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function cr(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:sr(e,o)||n,t&&(r=t(r,n,e)),r}function dr(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=sr(e.theme,n)||{};return lr(e,i,(e=>{let n=cr(a,r,e);return e===n&&"string"==typeof e&&(n=cr(a,r,`${t}${"default"===e?"":Gn(e)}`,e)),!1===o?n:{[o]:n}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:nr}:{},i.filterProps=[t],i}const ur={m:"margin",p:"padding"},pr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},fr=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!hr[e])return[e];e=hr[e]}const[t,o]=e.split(""),n=ur[t],r=pr[o]||"";return Array.isArray(r)?r.map((e=>n+e)):[n+r]})),mr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yr=[...mr,...gr];function br(e,t,o,n){var r;const i=null!=(r=sr(e,t,!1))?r:o;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} 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 vr(e){return br(e,"spacing",8,"spacing")}function xr(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function wr(e,t,o,n){if(-1===t.indexOf(o))return null;const r=function(e,t){return o=>e.reduce(((e,n)=>(e[n]=xr(t,o),e)),{})}(fr(o),n);return lr(e,e[o],r)}function kr(e,t){const o=vr(e.theme);return Object.keys(e).map((n=>wr(e,t,n,o))).reduce(rr,{})}function Cr(e){return kr(e,mr)}function Nr(e){return kr(e,gr)}function _r(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,n)=>t[n]?rr(o,t[n](e)):o),{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function Tr(e){return"number"!=typeof e?e:`${e}px solid`}Cr.propTypes="production"!==process.env.NODE_ENV?mr.reduce(((e,t)=>(e[t]=nr,e)),{}):{},Cr.filterProps=mr,Nr.propTypes="production"!==process.env.NODE_ENV?gr.reduce(((e,t)=>(e[t]=nr,e)),{}):{},Nr.filterProps=gr,"production"!==process.env.NODE_ENV&&yr.reduce(((e,t)=>(e[t]=nr,e)),{});const Er=dr({prop:"border",themeKey:"borders",transform:Tr}),Sr=dr({prop:"borderTop",themeKey:"borders",transform:Tr}),Or=dr({prop:"borderRight",themeKey:"borders",transform:Tr}),Mr=dr({prop:"borderBottom",themeKey:"borders",transform:Tr}),Ir=dr({prop:"borderLeft",themeKey:"borders",transform:Tr}),jr=dr({prop:"borderColor",themeKey:"palette"}),zr=dr({prop:"borderTopColor",themeKey:"palette"}),Lr=dr({prop:"borderRightColor",themeKey:"palette"}),Rr=dr({prop:"borderBottomColor",themeKey:"palette"}),$r=dr({prop:"borderLeftColor",themeKey:"palette"}),Pr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=br(e.theme,"shape.borderRadius",4,"borderRadius"),o=e=>({borderRadius:xr(t,e)});return lr(e,e.borderRadius,o)}return null};Pr.propTypes="production"!==process.env.NODE_ENV?{borderRadius:nr}:{},Pr.filterProps=["borderRadius"],_r(Er,Sr,Or,Mr,Ir,jr,zr,Lr,Rr,$r,Pr);const Ar=e=>{if(void 0!==e.gap&&null!==e.gap){const t=br(e.theme,"spacing",8,"gap"),o=e=>({gap:xr(t,e)});return lr(e,e.gap,o)}return null};Ar.propTypes="production"!==process.env.NODE_ENV?{gap:nr}:{},Ar.filterProps=["gap"];const Dr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=br(e.theme,"spacing",8,"columnGap"),o=e=>({columnGap:xr(t,e)});return lr(e,e.columnGap,o)}return null};Dr.propTypes="production"!==process.env.NODE_ENV?{columnGap:nr}:{},Dr.filterProps=["columnGap"];const Fr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=br(e.theme,"spacing",8,"rowGap"),o=e=>({rowGap:xr(t,e)});return lr(e,e.rowGap,o)}return null};Fr.propTypes="production"!==process.env.NODE_ENV?{rowGap:nr}:{},Fr.filterProps=["rowGap"];function Br(e,t){return"grey"===t?t:e}_r(Ar,Dr,Fr,dr({prop:"gridColumn"}),dr({prop:"gridRow"}),dr({prop:"gridAutoFlow"}),dr({prop:"gridAutoColumns"}),dr({prop:"gridAutoRows"}),dr({prop:"gridTemplateColumns"}),dr({prop:"gridTemplateRows"}),dr({prop:"gridTemplateAreas"}),dr({prop:"gridArea"}));function qr(e){return e<=1&&0!==e?100*e+"%":e}_r(dr({prop:"color",themeKey:"palette",transform:Br}),dr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Br}),dr({prop:"backgroundColor",themeKey:"palette",transform:Br}));const Vr=dr({prop:"width",transform:qr}),Hr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,n,r;return{maxWidth:(null==(o=e.theme)||null==(n=o.breakpoints)||null==(r=n.values)?void 0:r[t])||ir[t]||qr(t)}};return lr(e,e.maxWidth,t)}return null};Hr.filterProps=["maxWidth"];const Wr=dr({prop:"minWidth",transform:qr}),Ur=dr({prop:"height",transform:qr}),Kr=dr({prop:"maxHeight",transform:qr}),Gr=dr({prop:"minHeight",transform:qr});dr({prop:"size",cssProperty:"width",transform:qr}),dr({prop:"size",cssProperty:"height",transform:qr});_r(Vr,Hr,Wr,Ur,Kr,Gr,dr({prop:"boxSizing"}));const Yr={border:{themeKey:"borders",transform:Tr},borderTop:{themeKey:"borders",transform:Tr},borderRight:{themeKey:"borders",transform:Tr},borderBottom:{themeKey:"borders",transform:Tr},borderLeft:{themeKey:"borders",transform:Tr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Pr},color:{themeKey:"palette",transform:Br},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Br},backgroundColor:{themeKey:"palette",transform:Br},p:{style:Nr},pt:{style:Nr},pr:{style:Nr},pb:{style:Nr},pl:{style:Nr},px:{style:Nr},py:{style:Nr},padding:{style:Nr},paddingTop:{style:Nr},paddingRight:{style:Nr},paddingBottom:{style:Nr},paddingLeft:{style:Nr},paddingX:{style:Nr},paddingY:{style:Nr},paddingInline:{style:Nr},paddingInlineStart:{style:Nr},paddingInlineEnd:{style:Nr},paddingBlock:{style:Nr},paddingBlockStart:{style:Nr},paddingBlockEnd:{style:Nr},m:{style:Cr},mt:{style:Cr},mr:{style:Cr},mb:{style:Cr},ml:{style:Cr},mx:{style:Cr},my:{style:Cr},margin:{style:Cr},marginTop:{style:Cr},marginRight:{style:Cr},marginBottom:{style:Cr},marginLeft:{style:Cr},marginX:{style:Cr},marginY:{style:Cr},marginInline:{style:Cr},marginInlineStart:{style:Cr},marginInlineEnd:{style:Cr},marginBlock:{style:Cr},marginBlockStart:{style:Cr},marginBlockEnd:{style:Cr},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:Ar},rowGap:{style:Fr},columnGap:{style:Dr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qr},maxWidth:{style:Hr},minWidth:{transform:qr},height:{transform:qr},maxHeight:{transform:qr},minHeight:{transform:qr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Xr=Yr;const Jr=function(){function e(e,t,o,n){const r={[e]:t,theme:o},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:c}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const d=sr(o,l)||{};return c?c(r):lr(r,t,(t=>{let o=cr(d,s,t);return t===o&&"string"==typeof t&&(o=cr(d,s,`${e}${"default"===t?"":Gn(t)}`,t)),!1===a?o:{[a]:o}}))}return function t(o){var n;const{sx:r,theme:i={}}=o||{};if(!r)return null;const a=null!=(n=i.unstable_sxConfig)?n:Xr;function l(o){let n=o;if("function"==typeof o)n=o(i);else if("object"!=typeof o)return o;if(!n)return null;const r=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(r);let s=r;return Object.keys(n).forEach((o=>{const r=function(e,t){return"function"==typeof e?e(t):e}(n[o],i);if(null!=r)if("object"==typeof r)if(a[o])s=rr(s,e(o,r,i,a));else{const e=lr({theme:i},r,(e=>({[o]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(e,r)?s=rr(s,e):s[o]=t({sx:r,theme:i})}else s=rr(s,e(o,r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(r)?r.map(l):l(r)}}();Jr.filterProps=["sx"];const Zr=Jr,Qr=["breakpoints","palette","spacing","shape"];function ei(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:i={}}=e,a=Sn(e,Qr),l=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5}=e,r=Sn(e,er),i=tr(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return En({keys:a,values:i,up:l,down:s,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},r)}(o),s=function(e=8){if(e.mui)return e;const t=vr({spacing:e}),o=(...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 o=t(e);return"number"==typeof o?`${o}px`:o})).join(" "));return o.mui=!0,o}(r);let c=Vn({breakpoints:l,direction:"ltr",components:{},palette:En({mode:"light"},n),spacing:s,shape:En({},or,i)},a);return c=t.reduce(((e,t)=>Vn(e,t)),c),c.unstable_sxConfig=En({},Xr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Zr({sx:e,theme:this})},c}function ti(t=null){const o=e.useContext(te);return!o||function(e){return 0===Object.keys(e).length}(o)?t:o}const oi=ei();function ni(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=ni(e[t]))&&(n&&(n+=" "),n+=o);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ri(){for(var e,t,o=0,n="";o<arguments.length;)(e=arguments[o++])&&(t=ni(e))&&(n&&(n+=" "),n+=t);return n}function ii(e,t=0,o=1){return"production"!==process.env.NODE_ENV&&(e<t||e>o)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${o}].`),Math.min(Math.max(t,e),o)}function ai(e){if(e.type)return e;if("#"===e.charAt(0))return ai(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Kn(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Kn(10,n))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:o,values:r,colorSpace:n}}function li(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function si(e){let t="hsl"===(e=ai(e)).type||"hsla"===e.type?ai(function(e){e=ai(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,i=n*Math.min(r,1-r),a=(e,t=(e+o/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),li({type:l,values:s})}(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 ci(e,t){const o=si(e),n=si(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function di(e,t){return En({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ui={black:"#000",white:"#fff"},pi={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"},hi={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"},fi={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"},mi={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"},gi={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"},yi={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"},bi={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"},vi=["mode","contrastThreshold","tonalOffset"],xi={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:ui.white,default:ui.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}},wi={text:{primary:ui.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:ui.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 ki(e,t,o,n){const r=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=function(e,t){if(e=ai(e),t=ii(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return li(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=ai(e),t=ii(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 o=0;o<3;o+=1)e.values[o]*=1-t;return li(e)}(e.main,i)))}function Ci(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2}=e,r=Sn(e,vi),i=e.primary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[700],light:gi[400],dark:gi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:hi[200],light:hi[50],dark:hi[400]}:{main:hi[500],light:hi[300],dark:hi[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:fi[500],light:fi[300],dark:fi[700]}:{main:fi[700],light:fi[400],dark:fi[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[500],dark:yi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:bi[400],light:bi[300],dark:bi[700]}:{main:bi[800],light:bi[500],dark:bi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:mi[400],light:mi[300],dark:mi[700]}:{main:"#ed6c02",light:mi[500],dark:mi[900]}}(t);function u(e){const t=ci(e,wi.text.primary)>=o?wi.text.primary:xi.text.primary;if("production"!==process.env.NODE_ENV){const o=ci(e,t);o<3&&console.error([`MUI: The contrast ratio of ${o}: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:o=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=En({},e)).main&&e[o]&&(e.main=e[o]),!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 \`${o}\` property.`:Kn(11,t?` (${t})`:"",o));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} });`:Kn(12,t?` (${t})`:"",JSON.stringify(e.main)));return ki(e,"light",r,n),ki(e,"dark",i,n),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:wi,light:xi};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Vn(En({common:En({},ui),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:pi,contrastThreshold:o,getContrastText:u,augmentColor:p,tonalOffset:n},h[t]),r)}const Ni=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function _i(e){return Math.round(1e5*e)/1e5}const Ti={textTransform:"uppercase"},Ei='"Roboto", "Helvetica", "Arial", sans-serif';function Si(e,t){const o="function"==typeof t?t(e):t,{fontFamily:n=Ei,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=Sn(o,Ni);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,o,r,i)=>En({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:o},n===Ei?{letterSpacing:`${_i(r/t)}em`}:{},i,d),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(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,Ti),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ti),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vn(En({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function Oi(...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 Mi=["none",Oi(0,2,1,-1,0,1,1,0,0,1,3,0),Oi(0,3,1,-2,0,2,2,0,0,1,5,0),Oi(0,3,3,-2,0,3,4,0,0,1,8,0),Oi(0,2,4,-1,0,4,5,0,0,1,10,0),Oi(0,3,5,-1,0,5,8,0,0,1,14,0),Oi(0,3,5,-1,0,6,10,0,0,1,18,0),Oi(0,4,5,-2,0,7,10,1,0,2,16,1),Oi(0,5,5,-3,0,8,10,1,0,3,14,2),Oi(0,5,6,-3,0,9,12,1,0,3,16,2),Oi(0,6,6,-3,0,10,14,1,0,4,18,3),Oi(0,6,7,-4,0,11,15,1,0,4,20,3),Oi(0,7,8,-4,0,12,17,2,0,5,22,4),Oi(0,7,8,-4,0,13,19,2,0,5,24,4),Oi(0,7,9,-4,0,14,21,2,0,5,26,4),Oi(0,8,9,-5,0,15,22,2,0,6,28,5),Oi(0,8,10,-5,0,16,24,2,0,6,30,5),Oi(0,8,11,-5,0,17,26,2,0,6,32,5),Oi(0,9,11,-5,0,18,28,2,0,7,34,6),Oi(0,9,12,-6,0,19,29,2,0,7,36,6),Oi(0,10,13,-6,0,20,31,3,0,8,38,7),Oi(0,10,13,-6,0,21,33,3,0,8,40,7),Oi(0,10,14,-6,0,22,35,3,0,8,42,7),Oi(0,11,14,-7,0,23,36,3,0,9,44,8),Oi(0,11,15,-7,0,24,38,3,0,9,46,8)],Ii=["duration","easing","delay"],ji={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 Li(e){return`${Math.round(e)}ms`}function Ri(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function $i(e){const t=En({},ji,e.easing),o=En({},zi,e.duration);return En({getAutoHeightDuration:Ri,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:i=t.easeInOut,delay:a=0}=n,l=Sn(n,Ii);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!o(r)&&!t(r)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!o(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(l).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Li(r)} ${i} ${"string"==typeof a?a:Li(a)}`)).join(",")}},e,{easing:t,duration:o})}const Pi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ai=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Di=function(e={},...t){const{mixins:o={},palette:n={},transitions:r={},typography:i={}}=e,a=Sn(e,Ai);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.":Kn(18));const l=Ci(n),s=ei(e);let c=Vn(s,{mixins:di(s.breakpoints,o),palette:l,shadows:Mi.slice(),typography:Si(l,i),transitions:$i(r),zIndex:En({},Pi)});if(c=Vn(c,a),c=t.reduce(((e,t)=>Vn(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let n;for(n in t){const r=t[n];if(-1!==e.indexOf(n)&&Object.keys(r).length>0){if("production"!==process.env.NODE_ENV){const e=Qn("",n);console.error([`MUI: The \`${o}\` component increases the CSS specificity of the \`${n}\` 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}`]:r}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[n]={}}}};Object.keys(c.components).forEach((e=>{const o=c.components[e].styleOverrides;o&&0===e.indexOf("Mui")&&t(o,e)}))}return c.unstable_sxConfig=En({},Xr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return Zr({sx:e,theme:this})},c}(),Fi=Di;function Bi(){const t=function(e=oi){return ti(e)}(Fi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function qi(e,t){var o,n;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(o=a.transitionDuration)?o:"number"==typeof r?r:r[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Vi=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Hi={entering:{opacity:1},entered:{opacity:1}},Wi=e.forwardRef((function(t,o){const n=Bi(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,easing:s,in:d,onEnter:u,onEntered:p,onEntering:h,onExit:f,onExited:m,onExiting:g,style:y,timeout:b=r,TransitionComponent:v=Dn}=t,x=Sn(t,Vi),w=e.useRef(null),k=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(w,l.ref,o),C=e=>t=>{if(e){const o=w.current;void 0===t?e(o):e(o,t)}},N=C(h),_=C(((e,t)=>{(e=>{e.scrollTop})(e);const o=qi({style:y,timeout:b,easing:s},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),u&&u(e,t)})),T=C(p),E=C(g),S=C((e=>{const t=qi({style:y,timeout:b,easing:s},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)})),O=C(m);return c(v,En({appear:a,in:d,nodeRef:w,onEnter:_,onEntered:T,onEntering:N,onExit:S,onExited:O,onExiting:E,addEndListener:e=>{i&&i(w.current,e)},timeout:b},x,{children:(t,o)=>e.cloneElement(l,En({style:En({opacity:0,visibility:"exited"!==t||d?void 0:"hidden"},Hi[t],y,l.props.style),ref:k},o))}))}));"production"!==process.env.NODE_ENV&&(Wi.propTypes={addEndListener:ee.func,appear:ee.bool,children:Un.isRequired,easing:ee.oneOfType([ee.shape({enter:ee.string,exit:ee.string}),ee.string]),in:ee.bool,onEnter:ee.func,onEntered:ee.func,onEntering:ee.func,onExit:ee.func,onExited:ee.func,onExiting:ee.func,style:ee.object,timeout:ee.oneOfType([ee.number,ee.shape({appear:ee.number,enter:ee.number,exit:ee.number})])});const Ui=Wi,Ki=e=>c(f,{TransitionComponent:Ui,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}),Gi=e=>c(m,{...e}),Yi="_styled-label-md_jbn3o_1",Xi="_styled-label-base_jbn3o_10",Ji="_styled-label-lg_jbn3o_19",Zi="_styled-label-xl_jbn3o_27",Qi=({title:e,onClick:t,className:o,dataTest:n,size:r="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Yi;case"lg":return Ji;case"xl":return Zi;default:return Xi}})({size:r});return c("div",{className:ri(i,o),onClick:t,"data-test":n,children:e})},ea="_asma-core-ui-button_1r2np_1",ta={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"},oa=({variant:e="contained",className:t="",size:o="medium",children:n,refLink:r,startIcon:i,endIcon:a,dataTest:l,error:s,...u})=>{const p="large"===o||"medium"===o;return d("button",{...u,className:ri(ea,ta[e],ta[s?"error":"common"],ta[o],t),ref:r,"data-test":l,children:[i,n&&c("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:p?"8px":"4px",paddingLeft:p?"8px":"4px",paddingRight:p?"8px":"4px"},children:n}),a]})},na="_styled-dialog-root_1st3i_1",ra="_styled-top-header_1st3i_6",ia="_styled-dialog-close_1st3i_13",aa="_styled-dialog-info_1st3i_20",la="_styled-dialog-label_1st3i_27",sa="_styled-dialog-title_1st3i_37";function ca(){const e=function(){const[e,t]=r(window.innerWidth),o=()=>{t(window.innerWidth)};return i((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const da=({onCloseText:e,children:t,dataTest:o,showCloseIcon:n=!0,dialogLabel:r,dialogTitle:i,dialogHeaderNode:a,...l})=>{const s=ca();return d(g,{...l,"data-test":o,style:{zIndex:999,...l.style},fullScreen:!!s||l.fullScreen,children:[c("div",{className:na,children:d("div",{className:ra,children:[d("div",{className:aa,children:[r&&c("div",{className:la,children:r}),i&&c("div",{className:sa,children:i})]}),n&&d("div",{className:ia,children:[a,c(oa,{dataTest:`close-button-${o}`,variant:"textGray",size:"small",endIcon:c(Do,{width:24,height:24}),onClick:e=>{l.onClose&&l.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},ua="_styled-dialog-actions-root_1yp8r_1",pa="_styled-dialog-actions_1yp8r_1",ha="_action-button-wrapper_1yp8r_17";function fa(...e){return Q(ri(e))}const ma=e=>c(y,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:ua},children:c("div",{className:fa(pa,e.className),children:t.Children.map(e.children,(e=>c("div",{className:ha,children:e})))})}),ga="_styled-dialog-content_d2vki_1",ya=({children:e,classes:t,className:o,...n})=>c(b,{...n,"data-test":"styled-dialog-content",classes:{...t,root:ga},className:o,children:e}),ba="_styled-dialog-title-root_mcspk_1",va=({children:e,...t})=>e?c(v,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:ba},children:e}):null;function xa(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 wa=({emptyText:e,isEmpty:t=!0,className:o=""})=>t?d("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 ${o}`,children:[c(xa,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),c("p",{className:"font-normal",children:e})]}):null,ka={small:16,medium:24,large:32},Ca=({isLoading:e,className:t="",size:o="medium"})=>{if(!e)return null;const n=ka[o];return c("div",{className:ri("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:c(Io,{width:n,height:n})})},Na=({dataTest:e,...t})=>c(x,{...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"}}}),_a=({allowClear:e,onClear:t,readOnly:o,disabled:n,dataTest:r,...i})=>c(w,{...i,"data-test":r,disabled:n||o,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:c("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:c(Do,{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"},...o&&{"& .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}}),Ta=({value:e,onClear:t,...o})=>{const[n,i]=r(!1),a=n||e;return d("div",{className:"relative w-fit",children:[c(_a,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:fa("transition-[padding] duration-300",a?"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:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...o,sx:{width:160,...o.sx}}),c(Mo,{width:24,height:24,className:fa("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",a?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),c("div",{className:fa("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"),onMouseDown:t,children:c(Do,{width:20,height:20,color:"var(--colors-delta-700)"})})]})},Ea={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Sa=({id:e,variant:t="active",label:o="",labelClassName:n="",description:s="",value:u="",minRows:p=3,maxRows:h=1/0,disabled:f,error:m,errorMessage:g,containerClassName:y="",className:b="",maxLength:v=1/0,counter:x,refLink:w,dataTest:k,counterLimit:C,...N})=>{const _=l(null),T=w||_,E=!(!x||!C),[S,O]=r(!1);i((()=>{O(!0)}),[]),((e,t,o,n,r,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const o=20,r=e.scrollHeight-24;Math.ceil(r/o)>n?e.style.height=`${o*n+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,o,n,r,i])})(T.current,u,p,h,S,E),h<p&&(p=h);const[M,I]=r(u.length);i((()=>{I(u.length)}),[u]);const j=m?"error":"active",z=m?"error":f?"disabled":"active";return d("div",{className:`flex flex-col gap-1 relative ${y}`,"data-test":k,children:[c("label",{htmlFor:e,className:`${Ea.label} ${Ea[z]} ${n}`,children:o}),c("span",{className:`${Ea.description} ${Ea[z]}`,children:m?g:s}),"view_only"===t?c("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:u}):"not_editable"===t?c("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:u}):c("textarea",{...N,id:e,ref:T,className:`${Ea.textarea} ${Ea[j]} ${b} ${E?"pb-[32px]":""}`,wrap:"soft",value:u,disabled:f,maxLength:v}),E&&d("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[M,"/",C]})]})},Oa=({dataTest:e,allowClear:t,...o})=>c(k,{...o,"data-test":e,value:o.value,IconComponent:e=>c(Kt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ri(e.className,"select-custom-icon")}),endAdornment:t&&o.value?c("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=o.onChange)||e.call(o,{target:{value:""}},null)},children:c(Do,{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"},...o.sx}}),Ma=e=>d(C,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[c("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&c(Kt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),c("span",{children:e.children})]}),Ia="_styledSelectAutocompleteWrapper_lfbvb_1",ja="_select-custom-icon_lfbvb_5";function za({dataTest:e,autoHeight:t,getOptionLabel:o,wrapperClassName:n,...a}){const[s,u]=r("auto"),p=l(null);i((()=>{var e,o;const n=(null==(e=p.current)?void 0:e.getBoundingClientRect().height)??0,r=(null==(o=p.current)?void 0:o.getBoundingClientRect().top)??0,i=window.innerHeight-r-n-40;t&&u(i>0?i:"auto")}),[t]);const h=t?{style:{maxHeight:"auto"===s?"auto":`${s}px`}}:{},f=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return c("div",{className:fa(Ia,n),ref:p,children:c(N,{...a,getOptionLabel:o,ListboxProps:{...h,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:ri("!text-sm",a.className),popupIcon:a.popupIcon||c(Kt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:ri(ja)}),"data-test":e,PaperComponent:({children:t})=>c(_,{"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==a?void 0:a.renderOption)||((e,t,{selected:n})=>d("li",{...e,children:[c("span",{style:{width:"26px",height:"24px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:n&&c(Kt,{icon:"mdi:tick",width:24,height:24,style:{color:"var(--colors-gama-500)"}})}),c("span",{className:"flex-1",children:(null==o?void 0:o(t))||f(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const La=({dataTest:e,...t})=>{var o,n,r;return c(T,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:ri("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==(o=t.slotProps)?void 0:o.thumb},rail:{className:"bg-delta-200",...null==(n=t.slotProps)?void 0:n.rail},markLabel:{className:ri("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(r=t.slotProps)?void 0:r.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}}}})},Ra=({dataTest:e,...t})=>c(E,{...t,"data-test":e,sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-200) !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"}}}),$a=({dataTest:e,...t})=>c(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)"}}}),Pa=({dataTest:e,...t})=>c(O,{"data-test":e,...t}),Aa=({children:e,onClick:t,className:o,dataTest:n,style:r})=>c("div",{className:ri("_styled-label_1fp95_1",o),style:r,onClick:t,"data-test":n,children:e}),Da=e=>c(M,{...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"}}}),Fa=e=>c(I,{...e}),Ba=e=>c(j,{...e}),qa=e=>c(z,{...e}),Va=e=>c(L,{...e}),Ha=e=>c(R,{...e}),Wa=e=>{var t,o;return c($,{...e,classes:{paper:ri("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:ri("py-1",null==(o=e.classes)?void 0:o.list),...e.classes}})},Ua=e=>{var t;return c(C,{...e,classes:{root:ri("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Ka=e=>c(P,{...e}),Ga="_styled-link_hyb3l_1",Ya="_styled-link-disabled_hyb3l_16",Xa="_styled-link-xs_hyb3l_32",Ja="_styled-link-small_hyb3l_37",Za="_styled-link-large_hyb3l_42",Qa=({href:e,disabled:t,size:o="large",dataTest:n,reflink:r,className:i,content:a,contentNode:l,...s})=>{let c=Za;switch(o){case"small":c=Ja;break;case"xs":c=Xa;break;default:c=Za}return t?d("span",{className:ri(Ga,Ya,c,i),children:[a,l]}):d("a",{...s,"data-test":n,ref:r,href:e,className:ri(Ga,c,i),children:[a,l]})},el=e=>c(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)"}}}),tl=e=>c(D,{...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)"}}}),ol=e=>c(F,{...e}),nl=e=>c(B,{...e,className:ri("flex-row-reverse gap-2.5",e.className),expandIcon:c(Po,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),rl=e=>c(q,{...e}),il=e=>c(V,{...e}),al=({filterIsActive:e,label:t,size:o="large",variant:n="outlined",...r})=>c(u,{children:d("div",{className:"w-fit h-fit relative",children:[c(oa,{...r,type:"button",startIcon:c(Yo,{width:"large"===o?24:20,height:"large"===o?24:20}),variant:n,size:o,children:t||"Filter"}),e&&c("div",{className:ri("h-2 w-2 bg-gama-400 rounded-full absolute","large"===o?"top-2 right-2":"top-1 right-1")})]})}),ll=()=>{const[e,t]=r(null),o=()=>{t((()=>null))};return{anchorEl:e,onClose:o,onAnchorClick:n=>{e?o():(e=>{t((()=>e.currentTarget))})(n)}}},sl=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),cl=({filterIsActive:e,popoverContent:o,dataTest:n,disabled:r,size:i="large",variant:a="outlined",popoverProps:l,anchorNode:s,label:p})=>{const{onAnchorClick:h,onClose:f,anchorEl:m}=ll();return d(u,{children:[d("div",{className:"w-fit h-fit relative",children:[s?t.cloneElement(s({isOpen:!!m,onClose:f}),{onClick:h}):c(oa,{type:"button",disabled:r,variant:a,startIcon:c(Yo,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:h,size:i,dataTest:n,children:p||"Filter"}),e&&c("div",{className:ri("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),c(il,{...l,open:!!m,anchorEl:m,onClose:f,anchorOrigin:(null==l?void 0:l.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==l?void 0:l.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==l?void 0:l.className)||"my-1",children:sl(o)?o:o({isOpen:!!m,onClose:f})})]})};var dl,ul,pl={exports:{}},hl={},fl={};
1
+ import*as e from"react";import t,{forwardRef as n,createElement as o,useState as r,useEffect as i,useLayoutEffect as a,useRef as s,useCallback as l}from"react";import{Badge as c,Chip as d,Tooltip as u,Typography as p,Dialog as h,DialogActions as f,DialogContent as m,DialogTitle as g,Checkbox as y,TextField as x,Select as b,MenuItem as v,Autocomplete as w,Paper as j,Slider as k,Switch as C,Radio as N,RadioGroup as _,FormControl as T,FormControlLabel as S,FormHelperText as E,InputLabel as O,FormGroup as I,Drawer as M,Menu as R,MenuList as z,Tab as $,Tabs as L,Accordion as P,AccordionSummary as D,AccordionDetails as F,Popover as A}from"@mui/material";import{Avatar as B,ClickAwayListener as q,Container as V,Fade as H,FormLabel as W,Paper as U,Popper as K,Skeleton as G,Stack as Y}from"@mui/material";import{twMerge as X}from"tailwind-merge";import J from"prop-types";import{ThemeContext as Z}from"@emotion/react";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 oe(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function re(e){oe(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){oe(2,arguments);var n=re(e),o=ne(t),r=n.getFullYear(),i=n.getDate(),a=new Date(0);a.setFullYear(r,o,15),a.setHours(0,0,0,0);var s=function(e){oe(1,arguments);var t=re(e),n=t.getFullYear(),o=t.getMonth(),r=new Date(0);return r.setFullYear(n,o+1,0),r.setHours(0,0,0,0),r.getDate()}(a);return n.setMonth(o,Math.min(i,s)),n}function se(e,t){if(oe(2,arguments),"object"!==te(t)||null===t)throw new RangeError("values parameter must be an object");var n=re(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 de(e){return n((function(t,n){const{ownerState:r,...i}=t;return o(e,{...i,ref:n})}))}var ue,pe={exports:{}},he={};
2
+ /**
3
+ * @license React
4
+ * react-jsx-runtime.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var fe,me={};
11
+ /**
12
+ * @license React
13
+ * react-jsx-runtime.development.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */"production"===process.env.NODE_ENV?pe.exports=function(){if(ue)return he;ue=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,o){var s,l={},c=null,d=null;for(s in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:d,props:l,_owner:i.current}}return he.Fragment=o,he.jsx=s,he.jsxs=s,he}():pe.exports=(fe||(fe=1,"production"!==process.env.NODE_ENV&&function(){var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=y.ReactDebugCurrentFrame,r=o.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var i=n.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,n)}var b,v=!1,w=!1,j=!1,k=!1,C=!1;function N(e){return e.displayName||"Context"}function _(e){if(null==e)return null;if("number"==typeof e.tag&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u: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 o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:_(e.type)||"Memo";case h:var n=e,f=n._payload,m=n._init;try{return _(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var T,S,E,O,I,M,R,z=Object.assign,$=0;function L(){}L.__reactDisabledLog=!0;var P,D=y.ReactCurrentDispatcher;function F(e,t,n){if(void 0===P)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);P=o&&o[1]||""}return"\n"+P+e}var A,B=!1,q="function"==typeof WeakMap?WeakMap:Map;function V(e,t){if(!e||B)return"";var n,o=A.get(e);if(void 0!==o)return o;B=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=D.current,D.current=null,function(){if(0===$){T=console.log,S=console.info,E=console.warn,O=console.error,I=console.group,M=console.groupCollapsed,R=console.groupEnd;var e={configurable:!0,enumerable:!0,value:L,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}();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,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&A.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{B=!1,D.current=r,function(){if(0==--$){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:T}),info:z({},e,{value:S}),warn:z({},e,{value:E}),error:z({},e,{value:O}),group:z({},e,{value:I}),groupCollapsed:z({},e,{value:M}),groupEnd:z({},e,{value:R})})}$<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?F(p):"";return"function"==typeof e&&A.set(e,h),h}function H(e,t,n){if(null==e)return"";if("function"==typeof e)return V(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return F(e);switch(e){case d:return F("Suspense");case u:return F("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return V(e,!1)}(e.render);case p:return H(e.type,t,n);case h:var o=e,r=o._payload,i=o._init;try{return H(i(r),t,n)}catch{}}return""}A=new q;var W=Object.prototype.hasOwnProperty,U={},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 x("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,oe={key:!0,ref:!0,__self:!0,__source:!0};te={};var re=function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,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:r}),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,o,r){var i,a={},s=null,l=null;for(i in void 0!==n&&(Z(n),s=""+n),function(e){if(W.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(W.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]||(x('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,r)),t)W.call(t,i)&&!oe.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 d="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var n=function(){Q||(Q=!0,x("%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,d),l&&function(e,t){var n=function(){ee||(ee=!0,x("%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,d)}return re(e,s,l,r,o,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 de(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ue(){if(se.current){var e=_(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!1;var pe={};function he(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ue();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!pe[n]){pe[n]=!0;var o="";e&&e._owner&&e._owner!==se.current&&(o=" It was passed a child from "+_(e._owner.type)+"."),ce(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),ce(null)}}}function fe(e,t){if("object"==typeof e)if(X(e))for(var n=0;n<e.length;n++){var o=e[n];de(o)&&he(o,t)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)de(i.value)&&he(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 o=_(n);!function(e,t,n,o,r){var i=Function.call.bind(W);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"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,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(G(r),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,a,typeof s),G(null)),s instanceof Error&&!(s.message in U)&&(U[s.message]=!0,G(r),x("Failed %s type: %s",n,s.message),G(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||ae||(ae=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ye(e,t,o,m,g,y){var N=function(e){return!!("string"==typeof e||"function"==typeof e||e===r||e===a||C||e===i||e===d||e===u||k||e===f||v||w||j||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!N){var T="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(T+=" 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,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);T+=E||ue(),null===e?S="null":X(e)?S="array":void 0!==e&&e.$$typeof===n?(S="<"+(_(e.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,T)}var O=ie(e,t,o,g,y);if(null==O)return O;if(N){var I=t.children;if(void 0!==I)if(m)if(X(I)){for(var M=0;M<I.length;M++)fe(I[M],e);Object.freeze&&Object.freeze(I)}else x("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 fe(I,e)}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){ce(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),ce(null);break}}null!==e.ref&&(ce(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(O):ge(O),O}var xe=function(e,t,n){return ye(e,t,n,!1)},be=function(e,t,n){return ye(e,t,n,!0)};me.Fragment=r,me.jsx=xe,me.jsxs=be}()),me);var ge=pe.exports;const ye=({color:e="primary",dataTest:t,...n})=>ge.jsx(c,{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]+)*$/,be=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!ve(i)?null:i}const i=r[0],a=i.split("-");if(a.length>1){const e={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!ve(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!ve(e,n)?null:e}return null},ve=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(xe)||!(t&&""===e.prefix||e.prefix.match(xe))||!e.name.match(xe)),we=Object.freeze({left:0,top:0,width:16,height:16}),je=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ke=Object.freeze({...we,...je}),Ce=Object.freeze({...ke,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 o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(const o in Ce)o in je?o in e&&!(o in n)&&(n[o]=je[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function _e(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(e){i=Ne(o[e]||r[e],i)}return a(t),n.forEach(a),Ne(e,i)}function Te(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 o=function(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);return(t||Object.keys(n).concat(Object.keys(o))).forEach((function e(t){if(n[t])return r[t]=[];if(!(t in r)){r[t]=null;const n=o[t]&&o[t].parent,i=n&&e(n);i&&(r[t]=[n].concat(i))}return r[t]})),r}(e);for(const r in o){const i=o[r];i&&(t(r,_e(e,r,i)),n.push(r))}return n}const Se={provider:"",aliases:{},not_found:{},...we};function Ee(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Oe(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Ee(e,Se))return null;const n=t.icons;for(const e in n){const t=n[e];if(!e.match(xe)||"string"!=typeof t.body||!Ee(t,Ce))return null}const o=t.aliases||Object.create(null);for(const e in o){const t=o[e],r=t.parent;if(!e.match(xe)||"string"!=typeof r||!n[r]&&!o[r]||!Ee(t,Ce))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 Oe(t)?Te(t,((t,n)=>{n?e.icons[t]=n:e.missing.add(t)})):[]}let ze=!1;function $e(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 Oe(e)&&(e.prefix="",Te(e,((e,n)=>{n&&function(e,t){const n=be(e,!0,ze);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(!ve({provider:t,prefix:n,name:"a"}))return!1;return!!Re(Me(t,n),e)}const Pe=Object.freeze({width:null,height:null}),De=Object.freeze({...Pe,...je}),Fe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ae=/^-?[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 o=e.split(Fe);if(null===o||!o.length)return e;const r=[];let i=o.shift(),a=Ae.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");a=!a}}const qe=/\sid="(\S+)"/g,Ve="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let He=0;function We(e,t=Ve){const n=[];let o;for(;o=qe.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((n=>{const o="function"==typeof t?t(n):t+(He++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")})),e=e.replace(new RegExp(r,"g"),"")}const Ue=Object.create(null);function Ke(e){return Ue[e]||Ue[""]}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 o=[],r=function(e,t){const n=Qe(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach((t=>{e=Math.max(e,t.length)}));const r=t+".json?icons=";o=n.maxURL-e-n.path.length-r.length}else o=0;return o}(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>=r&&l>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=n.length),a.icons.push(n)})),o.push(a),o},send:(e,t,n)=>{if(!et)return void n("abort",424);let o=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(",");o+=e+".json?"+new URLSearchParams({icons:n}).toString();break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;et(e+o).then((e=>{const t=e.status;if(200===t)return r=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",r)}))})).catch((()=>{n("next",r)}))}};function nt(e,t){e.forEach((e=>{const n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter((e=>e.id!==t)))}))}let ot=0;var rt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function it(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):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",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,l)}))}function x(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function b(){if("pending"!==c)return;f();const o=a.shift();if(void 0===o)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(x(),y())}),e.timeout)):void y();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return l=o,void y();if(r)return l=o,void(p.length||(a.length?b():y()));if(f(),x(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}c="completed",h.forEach((e=>{e(o)}))}(r,t,n)}};p.push(r),d++,u=setTimeout(b,e.rotate),n(o,t,r.callback)}return"function"==typeof o&&h.push(o),setTimeout(b),function(){return{startTime:s,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function at(e){const t={...rt,...e};let n=[];function o(){n=n.filter((e=>"pending"===e().status))}return{query:function(e,r,i){const a=it(t,e,r,((e,t)=>{o(),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:o}}function st(){}const lt=Object.create(null);function ct(e,t,n){let o,r;if("string"==typeof e){const t=Ke(e);if(!t)return n(void 0,424),st;r=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&&(o=i.redundancy)}else{const t=Ge(e);if(t){o=at(t);const n=Ke(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),st)}const dt="iconify2",ut="iconify",pt=ut+"-count",ht=ut+"-version",ft=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 xt(e,t){try{e.removeItem(t)}catch{}}function bt(e,t){return yt(e,pt,t.toString())}function vt(e){return parseInt(gt(e,pt))||0}const wt={local:!0,session:!0},jt={local:new Set,session:new Set};let kt=!1;let Ct=typeof window>"u"?{}:window;function Nt(e){const t=e+"Storage";try{if(Ct&&Ct[t]&&"number"==typeof Ct[t].length)return Ct[t]}catch{}wt[e]=!1}function _t(e,t){const n=Nt(e);if(!n)return;const o=gt(n,ht);if(o!==dt){if(o){const e=vt(n);for(let t=0;t<e;t++)xt(n,ut+t.toString())}return yt(n,ht,dt),void bt(n,0)}const r=Math.floor(Date.now()/ft)-mt,i=e=>{const o=ut+e.toString(),i=gt(n,o);if("string"==typeof i){try{const n=JSON.parse(i);if("object"==typeof n&&"number"==typeof n.cached&&n.cached>r&&"string"==typeof n.provider&&"object"==typeof n.data&&"string"==typeof n.data.prefix&&t(n,e))return!0}catch{}xt(n,o)}};let a=vt(n);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,bt(n,a)):jt[e].add(t))}function Tt(){if(!kt){kt=!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 o=t.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,o):o,!0}))}}function St(e,t){function n(n){let o;if(!wt[n]||!(o=Nt(n)))return;const r=jt[n];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=vt(o),!bt(o,i+1))return;const a={cached:Math.floor(Date.now()/ft),provider:e.provider,data:t};return yt(o,ut+i.toString(),JSON.stringify(a))}kt||Tt(),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 o=n.data;return n.provider!==e.provider||o.prefix!==e.prefix||o.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 Et(){}function Ot(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 o=e.provider,r=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==r)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:o,prefix:r,name:a});else{if(!e.missing.has(a))return n=!0,!0;i.missing.push({provider:o,prefix:r,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 o=[];return e.forEach((e=>{const r="string"==typeof e?be(e,t,n):e;r&&o.push(r)})),o}(e,!0,$e()),o=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 o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,a=e.name,s=n[r]||(n[r]=Object.create(null)),l=s[i]||(s[i]=Me(r,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const d={provider:r,prefix:i,name:a};c.push(d)})),t}(n);if(!o.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(o.loaded,o.missing,o.pending,Et)})),()=>{e=!1}}const r=Object.create(null),i=[];let a,s;return o.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 o=r[t]||(r[t]=Object.create(null));o[n]||(o[n]=[])})),o.pending.forEach((e=>{const{provider:t,prefix:n,name:o}=e,i=Me(t,n),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(o)||(a.add(o),r[t][n].push(o))})),i.forEach((e=>{const{provider:t,prefix:n}=e;r[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,o=e.iconsToLoad;let r;delete e.iconsToLoad,o&&(r=Ke(t))&&r.prepare(t,n,o).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 o=e.pendingIcons;o&&n.forEach((e=>{o.delete(e)})),St(e,t)}catch(e){console.error(e)}Ot(e)}))}))})))}(e,r[t][n])})),t?function(e,t,n){const o=ot++,r=nt.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),r}(t,o,i):Et};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 zt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1==0?o(r):0)}}return t}function $t(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 Pt(e){return void 0===Lt&&function(){try{Lt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Lt=null}}(),Lt?Lt.createHTML(e):e}const Dt={...De,inline:!1},Ft={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},At={display:"inline-block"},Bt={backgroundColor:"currentColor"},qt={backgroundColor:"transparent"},Vt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ht={WebkitMask:Bt,mask:Bt,background:qt};for(const e in Ht){const t=Ht[e];for(const n in Vt)t[e+n]=Vt[n]}const Wt={...Dt,inline:!0};function Ut(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Kt=(e,n,o,r)=>{const i=o?Wt:Dt,a=function(e,t){const n={...e};for(const e in t){const o=t[e],r=typeof o;e in Pe?(null===o||o&&("string"===r||"number"===r))&&(n[e]=o):r===typeof n[e]&&(n[e]="rotate"===e?o%4:o)}return n}(i,n),s=n.mode||"svg",l={},c=n.style||{},d={..."svg"===s?Ft:{},ref:r};for(let e in n){const t=n[e];if(void 0!==t)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===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Rt(a,t);break;case"color":l.color=t;break;case"rotate":"string"==typeof t?a[e]=zt(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const n={...ke,...e},o={...De,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach((e=>{const t=[],n=e.hFlip,o=e.vFlip;let a,s=e.rotate;switch(n?o?s+=2:(t.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),t.push("scale(-1 1)"),r.top=r.left=0):o&&(t.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),t.push("scale(1 -1)"),r.top=r.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=r.height/2+r.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:a=r.width/2+r.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(r.left!==r.top&&(a=r.left,r.left=r.top,r.top=a),r.width!==r.height&&(a=r.width,r.width=r.height,r.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=o.width,s=o.height,l=r.width,c=r.height;let d,u;null===a?(u=null===s?"1em":"auto"===s?c:s,d=Be(u,l/c)):(d="auto"===a?l:a,u=null===s?Be(d,c/l):"auto"===s?c:s);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){d.style={...l,...c},Object.assign(d,p);let e=0,o=n.id;return"string"==typeof o&&(o=o.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Pt(We(u.body,o?()=>o+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===s||"bg"!==s&&-1!==h.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>"}(h,{...p,width:f+"",height:m+""});return d.style={...l,"--svg":$t(y),width:Ut(p.width),height:Ut(p.height),...At,...g?Bt:qt,...c},t.createElement("span",d)};var Gt;if($e(!0),Gt=tt,Ue[""]=Gt,typeof document<"u"&&typeof window<"u"){Tt();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 o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;Ze(e,o)||console.error(n)}catch{console.error(n)}}}}class Yt extends t.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 o;if("string"!=typeof n||null===(o=be(n,!1,!0)))return this._abortLoading(),void this._setData(null);const r=function(e){const t="string"==typeof e?be(e,!0,ze):e;if(t){const e=Me(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}(o);if(r){if(this._icon!==n||null===t.icon){this._abortLoading(),this._icon=n;const e=["iconify"];""!==o.prefix&&e.push("iconify--"+o.prefix),""!==o.provider&&e.push("iconify--"+o.provider),this._setData({data:r,classes:e}),this.props.onLoad&&this.props.onLoad(n)}}else(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),null!==r&&(this._loading={name:n,abort:It([o],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,n=this.state.icon;if(null===n)return e.children?e.children:t.createElement("span",{});let o=e;return n.classes&&(o={...e,className:("string"==typeof e.className?e.className+" ":"")+n.classes.join(" ")}),Kt({...ke,...n.data},o,e._inline,e._ref)}}const Xt=t.forwardRef((function(e,n){const o={...e,_ref:n,_inline:!1};return t.createElement(Yt,o)}));t.forwardRef((function(e,n){const o={...e,_ref:n,_inline:!0};return t.createElement(Yt,o)}));const Jt="_icon_1czju_5",Zt=({width:e=20,height:t=20,className:n="",icon:o,onClick:r,color:i,vFlip:a=!1})=>ge.jsx(Xt,{onClick:r,icon:o,width:e,height:t,className:`${Jt} ${n}`,color:i,vFlip:a}),Qt=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:bell-outline",width:e,height:t,className:n,onClick:o,color:r}),en=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:bell",width:e,height:t,className:n,onClick:o,color:r}),tn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"charm:menu-hamburger",width:e,height:t,className:n,onClick:o,color:r}),nn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-right",width:e,height:t,className:n,onClick:o,color:r}),on=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-left",width:e,height:t,className:n,onClick:o,color:r}),rn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-double-left",width:e,height:t,className:n,onClick:o,color:r}),an=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-double-right",width:e,height:t,className:n,onClick:o,color:r}),sn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:n,onClick:o,color:r}),ln=({width:e=20,height:t=20,className:n="",onClick:o,color:r=""})=>ge.jsx(Zt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:n,onClick:o,color:r}),cn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:view-dashboard",width:e,height:t,className:n,onClick:o,color:r}),dn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:n,onClick:o,color:r}),un=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:outline-people-alt",width:e,height:t,className:n,onClick:o,color:r}),pn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:sharp-people",width:e,height:t,className:n,onClick:o,color:r});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:"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 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:"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:o,color:r})=>ge.jsx(Zt,{icon:"mdi:calendar-blank",width:e,height:t,className:n,onClick:o,color:r}),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"})}),xn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:calendar-range",width:e,height:t,className:n,onClick:o,color:r}),bn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-assignment",width:e,height:t,className:n,onClick:o,color:r}),vn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:n,onClick:o,color:r}),wn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:n,onClick:o,color:r}),jn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:message-processing",width:e,height:t,className:n,onClick:o,color:r}),kn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:message-processing-outline",width:e,height:t,className:n,onClick:o,color:r}),Cn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:report-box",width:e,height:t,className:n,onClick:o,color:r}),Nn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:report-box-outline",width:e,height:t,className:n,onClick:o,color:r}),_n=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:settings",width:e,height:t,className:n,onClick:o,color:r}),Tn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:settings-outline",width:e,height:t,className:n,onClick:o,color:r}),Sn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-sync",width:e,height:t,className:n,onClick:o,color:r,vFlip:!0}),En=({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})]}),On=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:round-person",width:e,height:t,className:n,onClick:o,color:r}),In=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:round-person-outline",width:e,height:t,className:n,onClick:o,color:r}),Mn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:dots-vertical",width:e,height:t,className:n,onClick:o,color:r}),Rn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:outline-search",width:e,height:t,className:n,onClick:o,color:r}),zn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:n,onClick:o,color:r}),$n=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:n,onClick:o,color:r}),Ln=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:n,onClick:o,color:r}),Pn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"eva:archive-fill",width:e,height:t,className:n,onClick:o,color:r}),Dn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-download",width:e,height:t,className:n,onClick:o,color:r}),Fn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:n,onClick:o,color:r}),An=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-down",width:e,height:t,className:n,onClick:o,color:r}),Bn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:chevron-up",width:e,height:t,className:n,onClick:o,color:r}),qn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-close",width:e,height:t,className:n,onClick:o,color:r}),Vn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-check",width:e,height:t,className:n,onClick:o,color:r}),Hn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:perm-media",width:e,height:t,className:n,onClick:o,color:r}),Wn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:n,onClick:o,color:r}),Un=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:inbox",width:e,height:t,className:n,onClick:o,color:r}),Kn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:inbox-outline",width:e,height:t,className:n,onClick:o,color:r}),Gn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:sharp-topic",width:e,height:t,className:n,onClick:o,color:r}),Yn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:n,onClick:o,color:r}),Xn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:n,onClick:o,color:r}),Jn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:delete-outline",width:e,height:t,className:n,onClick:o,color:r}),Zn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:filter-variant",width:e,height:t,className:n,onClick:o,color:r}),Qn=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:lock-outline",width:e,height:t,className:n,onClick:o,color:r}),eo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:baseline-dvr",width:e,height:t,className:n,onClick:o,color:r}),to=({width:e=20,height:t=20,className:n="",onClick:o,color:r="var(--colors-error-500)"})=>ge.jsx(Zt,{icon:"mdi:error-outline",width:e,height:t,className:n,onClick:o,color:r}),no=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:replay",width:e,height:t,className:n,onClick:o,color:r}),oo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:n,onClick:o,color:r}),ro=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:outline-link",width:e,height:t,className:n,onClick:o,color:r}),io=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:n,onClick:o,color:r}),ao=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:n,onClick:o,color:r}),so=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:list-status",width:e,height:t,className:n,onClick:o,color:r}),lo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:n,onClick:o,color:r}),co=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ri:list-settings-line",width:e,height:t,className:n,onClick:o,color:r}),uo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"pajamas:earth",width:e,height:t,className:n,onClick:o,color:r}),po=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:n,onClick:o,color:r}),ho=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"mdi:pencil-outline",width:e,height:t,className:n,onClick:o,color:r});function fo(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 mo=({width:e=20,height:t=20,className:n="",onClick:o,color:r})=>ge.jsx(Zt,{icon:"ic:outline-calendar-month",width:e,height:t,className:n,onClick:o,color:r});function go(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 yo=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"})}),xo=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 bo(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 vo(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 wo(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 jo(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 ko(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 Co(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 No(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 _o(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 To(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 So=({dataTest:e,readOnly:t,...n})=>ge.jsx(d,{...n,"data-test":e,deleteIcon:ge.jsx(qn,{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}}),Eo=({type:e="checkbox",checked:t,...n})=>{const o="checkbox"===e,r=o?Ta:Fa,i=!n.readOnly&&!o&&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(So,{avatar:ge.jsx(r,{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 Oo(){return Oo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Oo.apply(this,arguments)}function Io(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&(r[n]=e[n]);return r}const Mo=!1;var Ro="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.shape({enter:J.number,exit:J.number,appear:J.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&J.oneOfType([J.string,J.shape({enter:J.string,exit:J.string,active:J.string}),J.shape({enter:J.string,enterDone:J.string,enterActive:J.string,exit:J.string,exitDone:J.string,exitActive:J.string})]);const zo=t.createContext(null);var $o="unmounted",Lo="exited",Po="entering",Do="entered",Fo="exiting",Ao=function(e){function n(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=Lo,o.appearStatus=Po):r=Do:r=t.unmountOnExit||t.mountOnEnter?$o:Lo,o.state={status:r},o.nextCallback=null,o}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ie(e,t)}(n,e),n.getDerivedStateFromProps=function(e,t){return e.in&&t.status===$o?{status:Lo}:null};var o=n.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Po&&n!==Do&&(t=Po):(n===Po||n===Do)&&(t=Fo)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Po){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===Lo&&this.setState({status:$o})},o.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[Q.findDOMNode(this),o],i=r[0],a=r[1],s=this.getTimeouts(),l=o?s.appear:s.enter;!e&&!n||Mo?this.safeSetState({status:Do},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Po},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Do},(function(){t.props.onEntered(i,a)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:Q.findDOMNode(this);t&&!Mo?(this.props.onExit(o),this.safeSetState({status:Fo},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Lo},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Lo},(function(){e.props.onExited(o)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===$o)return null;var n=this.props,o=n.children;n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef;var r=Io(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(zo.Provider,{value:null},"function"==typeof o?o(e,r):t.cloneElement(t.Children.only(o),r))},n}(t.Component);function Bo(){}Ao.contextType=zo,Ao.propTypes="production"!==process.env.NODE_ENV?{nodeRef:J.shape({current:typeof Element>"u"?J.any:function(e,t,n,o,r,i){var a=e[t];return J.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,i)}}),children:J.oneOfType([J.func.isRequired,J.element.isRequired]).isRequired,in:J.bool,mountOnEnter:J.bool,unmountOnExit:J.bool,appear:J.bool,enter:J.bool,exit:J.bool,timeout:function(e){var t=Ro;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:J.func,onEnter:J.func,onEntering:J.func,onEntered:J.func,onExit:J.func,onExiting:J.func,onExited:J.func}:{},Ao.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Bo,onEntering:Bo,onEntered:Bo,onExit:Bo,onExiting:Bo,onExited:Bo},Ao.UNMOUNTED=$o,Ao.EXITED=Lo,Ao.ENTERING=Po,Ao.ENTERED=Do,Ao.EXITING=Fo;const qo=Ao;function Vo(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Ho(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Wo(e){if(!Ho(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Wo(e[n])})),t}function Uo(e,t,n={clone:!0}){const o=n.clone?Oo({},e):e;return Ho(e)&&Ho(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(Ho(t[r])&&r in e&&Ho(e[r])?o[r]=Uo(e[r],t[r],n):n.clone?o[r]=Ho(t[r])?Wo(t[r]):t[r]:o[r]=t[r])})),o}function Ko(e,t,n,o,r){const i=e[t],a=r||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 ${o} \`${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 Go=Vo(J.element,Ko);Go.isRequired=Vo(J.element.isRequired,Ko);const Yo=Go;function Xo(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 Jo(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Xo(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Zo=e=>e,Qo=(()=>{let e=Zo;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zo}}})(),er=Qo,tr={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function nr(e,t,n="Mui"){const o=tr[t];return o?`${n}-${o}`:`${er.generate(e)}-${t}`}const or=["values","unit","step"],rr=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)=>Oo({},e,{[t.key]:t.val})),{})};const ir={borderRadius:4},ar="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.string,J.object,J.array]):{};function sr(e,t){return t?Uo(e,t,{clone:!1}):e}const lr={xs:0,sm:600,md:900,lg:1200,xl:1536},cr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${lr[e]}px)`};function dr(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||cr;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||cr;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||lr).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function ur(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 pr(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:ur(e,n)||o,t&&(r=t(r,o,e)),r}function hr(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=ur(e.theme,o)||{};return dr(e,i,(e=>{let o=pr(a,r,e);return e===o&&"string"==typeof e&&(o=pr(a,r,`${t}${"default"===e?"":Jo(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:ar}:{},i.filterProps=[t],i}const fr={m:"margin",p:"padding"},mr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yr=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!gr[e])return[e];e=gr[e]}const[t,n]=e.split(""),o=fr[t],r=mr[n]||"";return Array.isArray(r)?r.map((e=>o+e)):[o+r]})),xr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],br=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vr=[...xr,...br];function wr(e,t,n,o){var r;const i=null!=(r=ur(e,t,!1))?r:n;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${o} 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 jr(e){return wr(e,"spacing",8,"spacing")}function kr(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 Cr(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=kr(t,n),e)),{})}(yr(n),o);return dr(e,e[n],r)}function Nr(e,t){const n=jr(e.theme);return Object.keys(e).map((o=>Cr(e,t,o,n))).reduce(sr,{})}function _r(e){return Nr(e,xr)}function Tr(e){return Nr(e,br)}function Sr(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,o)=>t[o]?sr(n,t[o](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 Er(e){return"number"!=typeof e?e:`${e}px solid`}_r.propTypes="production"!==process.env.NODE_ENV?xr.reduce(((e,t)=>(e[t]=ar,e)),{}):{},_r.filterProps=xr,Tr.propTypes="production"!==process.env.NODE_ENV?br.reduce(((e,t)=>(e[t]=ar,e)),{}):{},Tr.filterProps=br,"production"!==process.env.NODE_ENV&&vr.reduce(((e,t)=>(e[t]=ar,e)),{});const Or=hr({prop:"border",themeKey:"borders",transform:Er}),Ir=hr({prop:"borderTop",themeKey:"borders",transform:Er}),Mr=hr({prop:"borderRight",themeKey:"borders",transform:Er}),Rr=hr({prop:"borderBottom",themeKey:"borders",transform:Er}),zr=hr({prop:"borderLeft",themeKey:"borders",transform:Er}),$r=hr({prop:"borderColor",themeKey:"palette"}),Lr=hr({prop:"borderTopColor",themeKey:"palette"}),Pr=hr({prop:"borderRightColor",themeKey:"palette"}),Dr=hr({prop:"borderBottomColor",themeKey:"palette"}),Fr=hr({prop:"borderLeftColor",themeKey:"palette"}),Ar=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=wr(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:kr(t,e)});return dr(e,e.borderRadius,n)}return null};Ar.propTypes="production"!==process.env.NODE_ENV?{borderRadius:ar}:{},Ar.filterProps=["borderRadius"],Sr(Or,Ir,Mr,Rr,zr,$r,Lr,Pr,Dr,Fr,Ar);const Br=e=>{if(void 0!==e.gap&&null!==e.gap){const t=wr(e.theme,"spacing",8,"gap"),n=e=>({gap:kr(t,e)});return dr(e,e.gap,n)}return null};Br.propTypes="production"!==process.env.NODE_ENV?{gap:ar}:{},Br.filterProps=["gap"];const qr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=wr(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:kr(t,e)});return dr(e,e.columnGap,n)}return null};qr.propTypes="production"!==process.env.NODE_ENV?{columnGap:ar}:{},qr.filterProps=["columnGap"];const Vr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=wr(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:kr(t,e)});return dr(e,e.rowGap,n)}return null};Vr.propTypes="production"!==process.env.NODE_ENV?{rowGap:ar}:{},Vr.filterProps=["rowGap"];function Hr(e,t){return"grey"===t?t:e}Sr(Br,qr,Vr,hr({prop:"gridColumn"}),hr({prop:"gridRow"}),hr({prop:"gridAutoFlow"}),hr({prop:"gridAutoColumns"}),hr({prop:"gridAutoRows"}),hr({prop:"gridTemplateColumns"}),hr({prop:"gridTemplateRows"}),hr({prop:"gridTemplateAreas"}),hr({prop:"gridArea"}));function Wr(e){return e<=1&&0!==e?100*e+"%":e}Sr(hr({prop:"color",themeKey:"palette",transform:Hr}),hr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Hr}),hr({prop:"backgroundColor",themeKey:"palette",transform:Hr}));const Ur=hr({prop:"width",transform:Wr}),Kr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,o,r;return{maxWidth:(null==(n=e.theme)||null==(o=n.breakpoints)||null==(r=o.values)?void 0:r[t])||lr[t]||Wr(t)}};return dr(e,e.maxWidth,t)}return null};Kr.filterProps=["maxWidth"];const Gr=hr({prop:"minWidth",transform:Wr}),Yr=hr({prop:"height",transform:Wr}),Xr=hr({prop:"maxHeight",transform:Wr}),Jr=hr({prop:"minHeight",transform:Wr});hr({prop:"size",cssProperty:"width",transform:Wr}),hr({prop:"size",cssProperty:"height",transform:Wr});Sr(Ur,Kr,Gr,Yr,Xr,Jr,hr({prop:"boxSizing"}));const Zr={border:{themeKey:"borders",transform:Er},borderTop:{themeKey:"borders",transform:Er},borderRight:{themeKey:"borders",transform:Er},borderBottom:{themeKey:"borders",transform:Er},borderLeft:{themeKey:"borders",transform:Er},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ar},color:{themeKey:"palette",transform:Hr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Hr},backgroundColor:{themeKey:"palette",transform:Hr},p:{style:Tr},pt:{style:Tr},pr:{style:Tr},pb:{style:Tr},pl:{style:Tr},px:{style:Tr},py:{style:Tr},padding:{style:Tr},paddingTop:{style:Tr},paddingRight:{style:Tr},paddingBottom:{style:Tr},paddingLeft:{style:Tr},paddingX:{style:Tr},paddingY:{style:Tr},paddingInline:{style:Tr},paddingInlineStart:{style:Tr},paddingInlineEnd:{style:Tr},paddingBlock:{style:Tr},paddingBlockStart:{style:Tr},paddingBlockEnd:{style:Tr},m:{style:_r},mt:{style:_r},mr:{style:_r},mb:{style:_r},ml:{style:_r},mx:{style:_r},my:{style:_r},margin:{style:_r},marginTop:{style:_r},marginRight:{style:_r},marginBottom:{style:_r},marginLeft:{style:_r},marginX:{style:_r},marginY:{style:_r},marginInline:{style:_r},marginInlineStart:{style:_r},marginInlineEnd:{style:_r},marginBlock:{style:_r},marginBlockStart:{style:_r},marginBlockEnd:{style:_r},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:Br},rowGap:{style:Vr},columnGap:{style:qr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wr},maxWidth:{style:Kr},minWidth:{transform:Wr},height:{transform:Wr},maxHeight:{transform:Wr},minHeight:{transform:Wr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Qr=Zr;const ei=function(){function e(e,t,n,o){const r={[e]:t,theme:n},i=o[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 d=ur(n,s)||{};return c?c(r):dr(r,t,(t=>{let n=pr(d,l,t);return t===n&&"string"==typeof t&&(n=pr(d,l,`${e}${"default"===t?"":Jo(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var o;const{sx:r,theme:i={}}=n||{};if(!r)return null;const a=null!=(o=i.unstable_sxConfig)?o:Qr;function s(n){let o=n;if("function"==typeof n)o=n(i);else if("object"!=typeof n)return n;if(!o)return null;const r=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(r);let l=r;return Object.keys(o).forEach((n=>{const r=function(e,t){return"function"==typeof e?e(t):e}(o[n],i);if(null!=r)if("object"==typeof r)if(a[n])l=sr(l,e(n,r,i,a));else{const e=dr({theme:i},r,(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,r)?l=sr(l,e):l[n]=t({sx:r,theme:i})}else l=sr(l,e(n,r,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(r)?r.map(s):s(r)}}();ei.filterProps=["sx"];const ti=ei,ni=["breakpoints","palette","spacing","shape"];function oi(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,a=Io(e,ni),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=Io(e,or),i=rr(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)-o/100}${n})`}function c(e,r){const i=a.indexOf(r);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]]:r)-o/100}${n})`}return Oo({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},r)}(n),l=function(e=8){if(e.mui)return e;const t=jr({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}(r);let c=Uo({breakpoints:s,direction:"ltr",components:{},palette:Oo({mode:"light"},o),spacing:l,shape:Oo({},ir,i)},a);return c=t.reduce(((e,t)=>Uo(e,t)),c),c.unstable_sxConfig=Oo({},Qr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}function ri(t=null){const n=e.useContext(Z);return!n||function(e){return 0===Object.keys(e).length}(n)?t:n}const ii=oi();function ai(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=ai(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function si(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=ai(e))&&(o&&(o+=" "),o+=t);return o}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().`:Xo(9,e));let o,r=e.substring(t+1,e.length-1);if("color"===n){if(r=r.split(" "),o=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${o}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Xo(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function di(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),o=-1!==t.indexOf("color")?`${n} ${o.join(" ")}`:`${o.join(", ")}`,`${t}(${o})`}function ui(e){let t="hsl"===(e=ci(e)).type||"hsla"===e.type?ci(function(e){e=ci(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,i=o*Math.min(r,1-r),a=(e,t=(e+n/30)%12)=>r-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])),di({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=ui(e),o=ui(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function hi(e,t){return Oo({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={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"},xi={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"},bi={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"},vi={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"},ji=["mode","contrastThreshold","tonalOffset"],ki={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:fi.white,default:fi.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}},Ci={text:{primary:fi.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:fi.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,o){const r=o.light||o,i=o.dark||1.5*o;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 di(e)}(e.main,r):"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 di(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=Io(e,ji),i=e.primary||function(e="light"){return"dark"===e?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[700],light:bi[400],dark:bi[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:vi[400],light:vi[300],dark:vi[700]}:{main:vi[700],light:vi[500],dark:vi[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),d=e.warning||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:"#ed6c02",light:xi[500],dark:xi[900]}}(t);function u(e){const t=pi(e,Ci.text.primary)>=n?Ci.text.primary:ki.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:r=300,darkShade:i=700})=>{if(!(e=Oo({},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.`:Xo(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} });`:Xo(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ni(e,"light",r,o),Ni(e,"dark",i,o),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:Ci,light:ki};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Uo(Oo({common:Oo({},fi),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:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:mi,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:o},h[t]),r)}const Ti=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Si(e){return Math.round(1e5*e)/1e5}const Ei={textTransform:"uppercase"},Oi='"Roboto", "Helvetica", "Arial", sans-serif';function Ii(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=Oi,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=n,p=Io(n,Ti);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,r,i)=>Oo({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===Oi?{letterSpacing:`${Si(r/t)}em`}:{},i,d),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,Ei),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Uo(Oo({htmlFontSize:c,pxToRem:f,fontFamily:o,fontSize:r,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)],zi=["duration","easing","delay"],$i={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)"},Li={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Pi(e){return`${Math.round(e)}ms`}function Di(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fi(e){const t=Oo({},$i,e.easing),n=Oo({},Li,e.duration);return Oo({getAutoHeightDuration:Di,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:a=0}=o,s=Io(o,zi);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(r)&&!t(r)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`),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 r?r:Pi(r)} ${i} ${"string"==typeof a?a:Pi(a)}`)).join(",")}},e,{easing:t,duration:n})}const Ai={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 qi=function(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,a=Io(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.":Xo(18));const s=_i(o),l=oi(e);let c=Uo(l,{mixins:hi(l.breakpoints,n),palette:s,shadows:Ri.slice(),typography:Ii(s,i),transitions:Fi(r),zIndex:Oo({},Ai)});if(c=Uo(c,a),c=t.reduce(((e,t)=>Uo(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let o;for(o in t){const r=t[o];if(-1!==e.indexOf(o)&&Object.keys(r).length>0){if("production"!==process.env.NODE_ENV){const e=nr("",o);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${o}\` 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}`]:r}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[o]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=Oo({},Qr,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}(),Vi=qi;function Hi(){const t=function(e=ii){return ri(e)}(Vi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Wi(e,t){var n,o;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=a.transitionTimingFunction)?o:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Ui=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ki={entering:{opacity:1},entered:{opacity:1}},Gi=e.forwardRef((function(t,n){const o=Hi(),r={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:u,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:y=r,TransitionComponent:x=qo}=t,b=Io(t,Ui),v=e.useRef(null),w=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(v,s.ref,n),j=e=>t=>{if(e){const n=v.current;void 0===t?e(n):e(n,t)}},k=j(p),C=j(((e,t)=>{(e=>{e.scrollTop})(e);const n=Wi({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=o.transitions.create("opacity",n),e.style.transition=o.transitions.create("opacity",n),d&&d(e,t)})),N=j(u),_=j(m),T=j((e=>{const t=Wi({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=o.transitions.create("opacity",t),e.style.transition=o.transitions.create("opacity",t),h&&h(e)})),S=j(f);return ge.jsx(x,Oo({appear:a,in:c,nodeRef:v,onEnter:C,onEntered:N,onEntering:k,onExit:T,onExited:S,onExiting:_,addEndListener:e=>{i&&i(v.current,e)},timeout:y},b,{children:(t,n)=>e.cloneElement(s,Oo({style:Oo({opacity:0,visibility:"exited"!==t||c?void 0:"hidden"},Ki[t],g,s.props.style),ref:w},n))}))}));"production"!==process.env.NODE_ENV&&(Gi.propTypes={addEndListener:J.func,appear:J.bool,children:Yo.isRequired,easing:J.oneOfType([J.shape({enter:J.string,exit:J.string}),J.string]),in:J.bool,onEnter:J.func,onEntered:J.func,onEntering:J.func,onExit:J.func,onExited:J.func,onExiting:J.func,style:J.object,timeout:J.oneOfType([J.number,J.shape({appear:J.number,enter:J.number,exit:J.number})])});const Yi=Gi,Xi=e=>ge.jsx(u,{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(p,{...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:o,size:r="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Zi;case"lg":return ea;case"xl":return ta;default:return Qi}})({size:r});return ge.jsx("div",{className:si(i,n),onClick:t,"data-test":o,children:e})},oa="_asma-core-ui-button_1r2np_1",ra={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:o,refLink:r,startIcon:i,endIcon:a,dataTest:s,error:l,...c})=>{const d="large"===n||"medium"===n,u=l?"error":"common";return ge.jsxs("button",{...c,className:si(oa,ra[e],ra[u],ra[n],t),ref:r,"data-test":s,children:[i,o&&ge.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:d?"8px":"4px",paddingLeft:d?"8px":"4px",paddingRight:d?"8px":"4px"},children:o}),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",da="_styled-dialog-label_1st3i_27",ua="_styled-dialog-title_1st3i_37";function pa(){const e=function(){const[e,t]=r(window.innerWidth),n=()=>{t(window.innerWidth)};return i((()=>(n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const ha=({onCloseText:e,children:t,dataTest:n,showCloseIcon:o=!0,dialogLabel:r,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=pa();return ge.jsxs(h,{...s,"data-test":n,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,children:[ge.jsx("div",{className:aa,children:ge.jsxs("div",{className:sa,children:[ge.jsxs("div",{className:ca,children:[r&&ge.jsx("div",{className:da,children:r}),i&&ge.jsx("div",{className:ua,children:i})]}),o&&ge.jsxs("div",{className:la,children:[a,ge.jsx(ia,{dataTest:`close-button-${n}`,variant:"textGray",size:"small",endIcon:ge.jsx(qn,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},fa="_styled-dialog-actions-root_1yp8r_1",ma="_styled-dialog-actions_1yp8r_1",ga="_action-button-wrapper_1yp8r_17";function ya(...e){return X(si(e))}const xa=e=>ge.jsx(f,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:fa},children:ge.jsx("div",{className:ya(ma,e.className),children:t.Children.map(e.children,(e=>ge.jsx("div",{className:ga,children:e})))})}),ba="_styled-dialog-content_d2vki_1",va=({children:e,classes:t,className:n,...o})=>ge.jsx(m,{...o,"data-test":"styled-dialog-content",classes:{...t,root:ba},className:n,children:e}),wa="_styled-dialog-title-root_mcspk_1",ja=({children:e,...t})=>e?ge.jsx(g,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:wa},children:e}):null;function ka(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 Ca=({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(ka,{"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 o=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(zn,{width:o,height:o})})},Ta=({dataTest:e,...t})=>ge.jsx(y,{...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"}}}),Sa=({allowClear:e,onClear:t,readOnly:n,disabled:o,dataTest:r,...i})=>ge.jsx(x,{...i,"data-test":r,disabled:o||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(qn,{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}}),Ea=({value:e,onClear:t,...n})=>{const[o,i]=r(!1),a=o||e;return ge.jsxs("div",{className:"relative w-fit",children:[ge.jsx(Sa,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:ya("transition-[padding] duration-300",a?"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:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...n,sx:{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",a?"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"),onMouseDown:t,children:ge.jsx(qn,{width:20,height:20,color:"var(--colors-delta-700)"})})]})},Oa={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:o="",description:l="",value:c="",minRows:d=3,maxRows:u=1/0,disabled:p,error:h,errorMessage:f,containerClassName:m="",className:g="",maxLength:y=1/0,counter:x,refLink:b,dataTest:v,counterLimit:w,...j})=>{const k=s(null),C=b||k,N=!(!x||!w),[_,T]=r(!1);i((()=>{T(!0)}),[]),((e,t,n,o,r,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const n=20,r=e.scrollHeight-24;Math.ceil(r/n)>o?e.style.height=`${n*o+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,n,o,r,i])})(C.current,c,d,u,_,N),u<d&&(d=u);const[S,E]=r(c.length);i((()=>{E(c.length)}),[c]);const O=h?"error":"active",I=h?"error":p?"disabled":"active";return ge.jsxs("div",{className:`flex flex-col gap-1 relative ${m}`,"data-test":v,children:[ge.jsx("label",{htmlFor:e,className:`${Oa.label} ${Oa[I]} ${o}`,children:n}),ge.jsx("span",{className:`${Oa.description} ${Oa[I]}`,children:h?f:l}),"view_only"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:c}):"not_editable"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:c}):ge.jsx("textarea",{...j,id:e,ref:C,className:`${Oa.textarea} ${Oa[O]} ${g} ${N?"pb-[32px]":""}`,wrap:"soft",value:c,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:[S,"/",w]})]})},Ma=({dataTest:e,allowClear:t,...n})=>ge.jsx(b,{...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(qn,{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(v,{...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})]}),za="_styledSelectAutocompleteWrapper_lfbvb_1",$a="_select-custom-icon_lfbvb_5";function La({dataTest:e,autoHeight:t,getOptionLabel:n,wrapperClassName:o,...a}){const[l,c]=r("auto"),d=s(null);i((()=>{var e,n;const o=(null==(e=d.current)?void 0:e.getBoundingClientRect().height)??0,r=(null==(n=d.current)?void 0:n.getBoundingClientRect().top)??0,i=window.innerHeight-r-o-40;t&&c(i>0?i:"auto")}),[t]);const u=t?{style:{maxHeight:"auto"===l?"auto":`${l}px`}}:{},p=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return ge.jsx("div",{className:ya(za,o),ref:d,children:ge.jsx(w,{...a,getOptionLabel:n,ListboxProps:{...u,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:si("!text-sm",a.className),popupIcon:a.popupIcon||ge.jsx(Xt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si($a)}),"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==a?void 0:a.renderOption)||((e,t,{selected:o})=>ge.jsxs("li",{...e,children:[ge.jsx("span",{style:{width:"26px",height:"24px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:o&&ge.jsx(Xt,{icon:"mdi:tick",width:24,height:24,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{className:"flex-1",children:(null==n?void 0:n(t))||p(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const Pa=({dataTest:e,...t})=>{var n,o,r;return ge.jsx(k,{...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==(o=t.slotProps)?void 0:o.rail},markLabel:{className:si("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(r=t.slotProps)?void 0:r.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}}}})},Da=({dataTest:e,...t})=>ge.jsx(C,{...t,"data-test":e,sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-200) !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"}}}),Fa=({dataTest:e,...t})=>ge.jsx(N,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Aa=({dataTest:e,...t})=>ge.jsx(_,{"data-test":e,...t}),Ba=({children:e,onClick:t,className:n,dataTest:o,style:r})=>ge.jsx("div",{className:si("_styled-label_1fp95_1",n),style:r,onClick:t,"data-test":o,children:e}),qa=e=>ge.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"}}}),Va=e=>ge.jsx(S,{...e}),Ha=e=>ge.jsx(E,{...e}),Wa=e=>ge.jsx(O,{...e}),Ua=e=>ge.jsx(I,{...e}),Ka=e=>ge.jsx(M,{...e}),Ga=e=>{var t,n;return ge.jsx(R,{...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}})},Ya=e=>{var t;return ge.jsx(v,{...e,classes:{root:si("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Xa=e=>ge.jsx(z,{...e}),Ja="_styled-link_hyb3l_1",Za="_styled-link-disabled_hyb3l_16",Qa="_styled-link-xs_hyb3l_32",es="_styled-link-small_hyb3l_37",ts="_styled-link-large_hyb3l_42",ns=({href:e,disabled:t,size:n="large",dataTest:o,reflink:r,className:i,content:a,contentNode:s,...l})=>{let c=ts;switch(n){case"small":c=es;break;case"xs":c=Qa;break;default:c=ts}return t?ge.jsxs("span",{className:si(Ja,Za,c,i),children:[a,s]}):ge.jsxs("a",{...l,"data-test":o,ref:r,href:e,className:si(Ja,c,i),children:[a,s]})},os=e=>ge.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)"}}}),rs=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)"}}}),is=e=>ge.jsx(P,{...e}),as=e=>ge.jsx(D,{...e,className:si("flex-row-reverse gap-2.5",e.className),expandIcon:ge.jsx(An,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),ss=e=>ge.jsx(F,{...e}),ls=e=>ge.jsx(A,{...e}),cs=({filterIsActive:e,label:t,size:n="large",variant:o="outlined",...r})=>ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"w-fit h-fit relative",children:[ge.jsx(ia,{...r,type:"button",startIcon:ge.jsx(Zn,{width:"large"===n?24:20,height:"large"===n?24:20}),variant:o,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")})]})}),ds=()=>{const[e,t]=r(null),n=()=>{t((()=>null))};return{anchorEl:e,onClose:n,onAnchorClick:o=>{e?n():(e=>{t((()=>e.currentTarget))})(o)}}},us=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),ps=({filterIsActive:e,popoverContent:n,dataTest:o,disabled:r,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:c})=>{const{onAnchorClick:d,onClose:u,anchorEl:p}=ds();return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"w-fit h-fit relative",children:[l?t.cloneElement(l({isOpen:!!p,onClose:u}),{onClick:d}):ge.jsx(ia,{type:"button",disabled:r,variant:a,startIcon:ge.jsx(Zn,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:d,size:i,dataTest:o,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(ls,{...s,open:!!p,anchorEl:p,onClose:u,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:us(n)?n:n({isOpen:!!p,onClose:u})})]})};var hs,fs,ms={exports:{}},gs={},ys={};
2
20
  /**
3
21
  * @license React
4
22
  * react-jsx-runtime.production.min.js
@@ -17,4 +35,4 @@ import*as e from"react";import t,{forwardRef as o,createElement as n,useState as
17
35
  * This source code is licensed under the MIT license found in the
18
36
  * LICENSE file in the root directory of this source tree.
19
37
  */
20
- "production"===process.env.NODE_ENV?pl.exports=function(){if(dl)return hl;dl=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=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 l(e,t,n){var l,s={},c=null,d=null;for(l in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,l)&&!a.hasOwnProperty(l)&&(s[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===s[l]&&(s[l]=t[l]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:i.current}}return hl.Fragment=n,hl.jsx=l,hl.jsxs=l,hl}():pl.exports=(ul||(ul=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=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,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=y.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,o)}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 r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return x(e)+".Consumer";case l:return x(e._context)+".Provider";case c:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,N,_,T,E,S,O=Object.assign,M=0;function I(){}I.__reactDisabledLog=!0;var j,z=y.ReactCurrentDispatcher;function L(e,t,o){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var R,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function A(e,t){if(!e||$)return"";var o,n=R.get(e);if(void 0!==n)return n;$=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=z.current,z.current=null,function(){if(0===M){k=console.log,C=console.info,N=console.warn,_=console.error,T=console.group,E=console.groupCollapsed,S=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})}M++}();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){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=o.stack.split("\n"),c=l.length-1,d=s.length-1;c>=1&&d>=0&&l[c]!==s[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==s[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==s[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,z.current=r,function(){if(0==--M){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:N}),error:O({},e,{value:_}),group:O({},e,{value:T}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:S})})}M<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:"",h=p?L(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,o){if(null==e)return"";if("function"==typeof e)return A(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return L(e);switch(e){case d:return L("Suspense");case u:return L("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return A(e,!1)}(e.render);case p:return D(e.type,t,o);case h:var r=e,i=r._payload,a=r._init;try{return D(a(i),t,o)}catch{}}return""}R=new P;var F=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);q.setExtraStackFrame(o)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(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")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,n,r,i,a,l){var s={$$typeof:o,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}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 le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var n="";e&&e._owner&&e._owner!==te.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),ne(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.',o,n),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var n=e[o];re(n)&&le(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&le(i.value,t)}}function ce(e,t,n,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==r&&x!==a&&x!==i&&x!==d&&x!==u&&x!==f&&("object"!=typeof x||null===x||x.$$typeof!==h&&x.$$typeof!==p&&x.$$typeof!==l&&x.$$typeof!==s&&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 N,_=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=_||ie(),null===e?N="null":W(e)?N="array":void 0!==e&&e.$$typeof===o?(N="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):N=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",N,C)}var T=function(e,t,o,n,r){var i,a,l,s,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),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),d=""+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)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(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[o]=!0)}}(t,r)),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(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,l=h,(s=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)",l))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:s,configurable:!0})),u&&function(e,t){var o=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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,r,n,J.current,c)}(e,t,n,g,y);if(null==T)return T;if(k){var E=t.children;if(void 0!==E)if(m)if(W(E)){for(var S=0;S<E.length;S++)se(E[S],e);Object.freeze&&Object.freeze(E)}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 se(E,e)}return e===r?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){ne(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ne(null);break}}null!==e.ref&&(ne(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(T):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var n=w(o);!function(e,t,o,n,r){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+o+" 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 s.name="Invariant Violation",s}l=e[a](t,a,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}l&&!(l instanceof Error)&&(V(r),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).",n||"React class",o,a,typeof l),V(null)),l instanceof Error&&!(l.message in B)&&(B[l.message]=!0,V(r),b("Failed %s type: %s",o,l.message),V(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(T),T}fl.Fragment=r,fl.jsx=function(e,t,o){return ce(e,t,o,!1)},fl.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),fl);var ml=pl.exports;function gl(e){return ml.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ml.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"})})}const yl=({className:e,contentToCopy:t,locale:o,messageInfo:n,text:r})=>{const i="en"===o?"Copy":"Kopier",a=ca();return c(Ki,{title:i,children:c("div",{children:c(oa,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:c(gl,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},bl="_copy-wrapper_1gjzc_1",vl="_hidden-copy_1gjzc_1",xl=({className:e,contentToCopy:t,locale:o,messageInfo:n,children:r})=>d("div",{className:fa("flex items-center gap-2 hover:text-gama-500",bl,e),children:[r,c(Ki,{title:"no"===o?"Kopier":"Copy",className:vl,children:c("div",{children:c(oa,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:c(gl,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),wl="_styled-widget-title_1gze6_1",kl=function(e){return c("div",{className:wl,children:e.children})},Cl="_styled-widget-header_1qk88_1",Nl=({actions:e,title:t,containerClassname:o,actionsClassname:n})=>d("div",{className:fa(Cl,o),children:[c(kl,{children:t}),c("div",{className:n,children:e})]}),_l="_asma-core-ui-styled-widget_cb7kt_1",Tl="_widget-header_cb7kt_13",El="_widget-content_cb7kt_19",Sl="_widget-footer_cb7kt_29",Ol="_widget-link_cb7kt_34";function Ml(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Il(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const jl=({children:e,title:t,icon:o,link:n,viewMore:a,persistKey:l,isLoading:s,isEmpty:p,emptyText:h})=>{const[f,m]=r(!1);return i((()=>{if(l){const e=localStorage.getItem(l);m("true"===e)}}),[l]),i((()=>{l&&localStorage.setItem(l,String(f))}),[f,l]),d("div",{className:_l,children:[d("div",{className:Tl,children:[o,c(kl,{children:t})]}),c("div",{className:El,children:d(u,{children:[e,c(Ca,{isLoading:s}),c(wa,{isEmpty:p,emptyText:h})]})}),d("div",{className:Sl,children:[!a||null!=a&&a.hide?c("div",{}):c(oa,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:c(f?Ml:Il,{width:20,height:20}),onClick:()=>{var e;m(!f),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:f?a.viewLessText:a.viewMoreText}),n&&!n.hide?c(Qa,{dataTest:"go-to-button",className:Ol,size:"small",href:n.href,onClick:n.onClick,content:n.content}):c("div",{})]})]})},zl="_styled-module-title_174mo_1",Ll=function(e){return c("h1",{"data-test":e.dataTest,className:zl,children:e.children})},Rl="_dialog_erjok_1",$l="_hidden_erjok_9";function Pl(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 Al(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("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 Dl="object"==typeof global&&global&&global.Object===Object&&global;var Fl="object"==typeof self&&self&&self.Object===Object&&self;const Bl=(Dl||Fl||Function("return this")()).Symbol;var ql=Object.prototype,Vl=ql.hasOwnProperty,Hl=ql.toString,Wl=Bl?Bl.toStringTag:void 0;var Ul=Object.prototype.toString;var Kl="[object Null]",Gl="[object Undefined]",Yl=Bl?Bl.toStringTag:void 0;function Xl(e){return null==e?void 0===e?Gl:Kl:Yl&&Yl in Object(e)?function(e){var t=Vl.call(e,Wl),o=e[Wl];try{e[Wl]=void 0;var n=!0}catch{}var r=Hl.call(e);return n&&(t?e[Wl]=o:delete e[Wl]),r}(e):function(e){return Ul.call(e)}(e)}const Jl=Array.isArray;function Zl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Xl(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Ql=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,showFullScreenIcon:p=!0,title:h,label:f,children:m,open:g,onClose:y,className:b="",primaryButtonText:v,secondaryButtonText:x,onPrimaryButtonClick:w,onSecondaryButtonClick:k,dataTest:C,actionNode:N,extraActions:_,extraActionsText:T,btnContainerClassName:E,footerClassName:S,footerInfo:O,locale:M="en",enableFullscreen:I=!0})=>{const[j,z]=r(!1),[L,R]=r(!1),{open:$,anchorEl:P,handleOpen:A,handleClose:D}=(()=>{const[e,t]=r(null),o=!!e,n=s((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:s((()=>{t(null)}),[]),handleOpen:n,anchorEl:e}})(),F=()=>{z(!j)};return g?d(u,{children:[L&&!j&&c("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),c("div",{style:{zIndex:51},className:fa(Rl,!j&&$l),children:d("div",{className:ri("flex items-center justify-between",!j&&"hidden"),"data-test":C,children:[c("div",{className:"truncate text-lg font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[l&&c(Ki,{title:"en"===M?"Expand":"Utvid",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"text",size:"small",onClick:F,endIcon:l&&c(mn,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:i&&c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),d("div",{className:fa("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",b&&!j?b:"",j&&"!h-0 !w-0 opacity-0 duration-0",L&&!j&&"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":C,children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",f?{className:"text-sm text-delta-700",children:f}:{className:"text-2xl font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[N,a&&c(Ki,{title:"en"===M?"Minimize":"Minimer",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:F,endIcon:a&&c(fn,{height:20,width:20,color:"text-delta-700"}),children:t})})}),I&&p&&c(Ki,{title:L?"en"===M?"Exit full screen":"Avslutt fullskjerm":"en"===M?"Full screen":"Fullskjerm",children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{R(!L)},endIcon:c(L?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:n})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),f&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:h})]}),d("div",{className:ri("flex flex-col",L&&!j&&"h-[87dvh]"),children:[c("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof m?m({fullScreen:L}):m}),(Jl(_)&&null!=_&&_.length||Zl(_))&&T||O?d("div",{className:fa("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",S),children:[Jl(_)&&null!=_&&_.length&&T?d(u,{children:[c(oa,{dataTest:"extra-actions-button",variant:"textGray",startIcon:c(Oo,{width:24,height:24}),onClick:A,children:T}),c(Wa,{open:$,anchorEl:P,onClose:D,children:_.map((e=>c(Ua,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):T&&Zl(_)&&c(oa,{dataTest:"extra-action-button",variant:"text",onClick:_,children:T})," ",O,x||v?d("div",{className:fa("flex justify-end gap-x-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null]}):c(u,{children:x||v?d("div",{className:fa("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null})]})]})]}):null},es=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:n})=>e?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null,ts=({visibility:e,tooltipTitle:t,onClick:o,title:n,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:c(mn,{height:20,width:20,color:"text-gama-500"}),children:n})})})}):i?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:c(fn,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null},os="_minimized-dialog_1tnc1_5",ns="_dialog_1tnc1_1",rs="_hidden_1tnc1_25",is=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:n,onClick:r})=>t?c(u,{children:t&&c(Ki,{title:n,children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:r,endIcon:c(e?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,as=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,enableFullscreen:s=!0,title:p,label:h,children:f,open:m,onClose:g,classNameOverrides:y={maximized:"",minimized:"",fullscreen:""},dataTest:b,actionNode:v,tooltipOverrides:x={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[w,k]=r(!1),[C,N]=r(!1),_=()=>{k(!w)};return m?d(u,{children:[c("div",{style:{zIndex:51},className:fa(os,!w&&rs,y.minimized),children:d("div",{className:ri("flex items-center justify-between",!w&&"hidden"),"data-test":b,children:[c("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:c(Ki,{title:p,placement:"top",children:c("div",{className:"truncate",children:p})})}),d("div",{className:"flex items-center gap-x-1",children:[c(ts,{type:"expand",visibility:l,onClick:_,title:o,tooltipTitle:x.maximized||"Expand"}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]})}),C&&!w&&c("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),d("div",{style:{zIndex:51},className:fa(ns,w&&rs,y.maximized,C&&!w&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",C&&y.fullscreen),children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",h?{className:"text-sm text-delta-700",children:h}:{className:"text-2xl font-semibold text-delta-800",children:p}),d("div",{className:"flex items-center gap-x-1",children:[v,c(ts,{visibility:a,type:"minimize",onClick:_,title:t,tooltipTitle:x.minimized||"Minimize"}),c(is,{showFullScreenIcon:s,fullScreen:C,onClick:()=>N(!C),title:n,tooltipTitle:x.fullscreen||(C?"Exit full screen":"Full screen")}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]}),h&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:p})]}),c("div",{className:fa(w&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:f})]})]}):null};export{Lo as ArchiveIcon,go as AssignmentIcon,yo as AssignmentOutlineIcon,H as Avatar,yn as BadgeIcon,Jt as BellIcon,Xt as BellOutlineIcon,en as CalendarBlankOutlineIcon,ho as CalendarIcon,mo as CalendarRangeIcon,$o as CheckBoxCheckedIcon,po as CheckFactIcon,uo as CheckFactOutlineIcon,Fo as CheckIcon,co as CheckOutlineIcon,to as ChevronDoubleLeftIcon,oo as ChevronDoubleRightIcon,Po as ChevronDownIcon,eo as ChevronLeftIcon,Qt as ChevronRightIcon,Ao as ChevronUpIcon,W as ClickAwayListener,Do as CloseIcon,hn as ConsentsIcon,U as Container,yl as CopyButton,xl as CopyWrapper,io as DashboardViewIcon,ao as DashboardViewOutlineIcon,Go as DeleteOutlineIcon,Oo as DotsVerticalIcon,Ro as DownloadIcon,Uo as DragHorizontalIcon,zo as DropDownIcon,jo as DropUpIcon,Jo as DvrIcon,sn as EarthIcon,bn as EditSquareIcon,Zo as ErrorOutlineIcon,K as Fade,on as FastCheckOutlineIcon,Ko as FilePdfIcon,Yo as FilterIcon,_o as FindReplaceIcon,To as FindReplacePeopleIcon,G as FormLabel,Zt as HamburgerIcon,kn as HandymanIcon,wn as HandymanOutlineIcon,Vo as InboxOutboxIcon,Ho as InboxOutboxOutlineIcon,mn as KeyboardCapslockIcon,tn as LinkOutlineIcon,bo as ListNumberedIcon,ln as ListSettingsLineIcon,rn as ListStatusIcon,Io as LoadingIcon,Xo as LockIcon,vo as MessageProcessingIcon,xo as MessageProcessingOutlineIcon,gn as MessageReplyIcon,Ql as MinimizableDialog,as as MinimizableDialogV2,fn as MinimizeIcon,fo as NewCalendarIcon,pn as OutlineCalendarMonth,Y as Paper,ro as PdfIcon,dn as PencilOutlineIcon,so as PeopleIcon,lo as PeopleOutlineIcon,Bo as PermMediaIcon,qo as PermMediaOutline,Eo as PersonIcon,So as PersonOutlineIcon,Cn as PinIcon,vn as PlusIcon,xn as PlusIconCircle,X as Popper,no as QnrIcon,Qo as ReplayIcon,wo as ReportBoxIcon,ko as ReportBoxOutlineIcon,Mo as SearchIcon,Co as SettingsIcon,cn as SettingsMenuHorizontalIcon,No as SettingsOutlineIcon,J as Skeleton,Z as Stack,ol as StyledAccordion,rl as StyledAccordionDetails,nl as StyledAccordionSummary,fe as StyledBadge,oa as StyledButton,Na as StyledCheckbox,_n as StyledChip,da as StyledDialog,ma as StyledDialogActions,ya as StyledDialogContent,va as StyledDialogTitle,Ha as StyledDrawer,wa as StyledEmptyPage,al as StyledFilterButton,cl as StyledFilterMenu,Da as StyledFormControl,Fa as StyledFormControlLabel,Va as StyledFormGroup,Ba as StyledFormHelperText,Qi as StyledFormLabel,_a as StyledInputField,qa as StyledInputLabel,Tn as StyledInteractiveChip,Aa as StyledLabel,Qa as StyledLink,Ca as StyledLoading,Wa as StyledMenu,Ua as StyledMenuItem,Ka as StyledMenuList,Ll as StyledModuleTitle,il as StyledPopover,$a as StyledRadio,Pa as StyledRadioGroup,Ta as StyledSearchField,Oa as StyledSelect,za as StyledSelectAutocomplete,Ma as StyledSelectItem,La as StyledSlider,Ra as StyledSwitch,el as StyledTab,tl as StyledTabs,Sa as StyledTextarea,Ki as StyledTooltip,Gi as StyledTypography,jl as StyledWidget,Nl as StyledWidgetHeader,kl as StyledWidgetTitle,an as TextBoxCheckOutlineIcon,Wo as TopicIcon,nn as UnknownDocumentOutlineRoundedIcon,un as WarningAmberOutlineIcon,Nn as WorkIcon,ne as omit,he as prepareForSlot,ue as setMidnightTime,pe as setZeroTime};
38
+ "production"===process.env.NODE_ENV?ms.exports=function(){if(hs)return gs;hs=1;var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,o){var s,l={},c=null,d=null;for(s in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:n,type:e,key:c,ref:d,props:l,_owner:i.current}}return gs.Fragment=o,gs.jsx=s,gs.jsxs=s,gs}():ms.exports=(fs||(fs=1,"production"!==process.env.NODE_ENV&&function(){var e=t,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];!function(e,t,n){var o=y.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",n=n.concat([o]));var r=n.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,n)}var b;function v(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return v(e)+".Consumer";case s:return v(e._context)+".Provider";case c:return function(e,t,n){var o=e.displayName;if(o)return o;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var n=e,f=n._payload,m=n._init;try{return w(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var j,k,C,N,_,T,S,E=Object.assign,O=0;function I(){}I.__reactDisabledLog=!0;var M,R=y.ReactCurrentDispatcher;function z(e,t,n){if(void 0===M)try{throw Error()}catch(e){var o=e.stack.trim().match(/\n( *(at )?)/);M=o&&o[1]||""}return"\n"+M+e}var $,L=!1,P="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||L)return"";var n,o=$.get(e);if(void 0!==o)return o;L=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=R.current,R.current=null,function(){if(0===O){j=console.log,k=console.info,C=console.warn,N=console.error,_=console.group,T=console.groupCollapsed,S=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})}O++}();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,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&$.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{L=!1,R.current=r,function(){if(0==--O){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:j}),info:E({},e,{value:k}),warn:E({},e,{value:C}),error:E({},e,{value:N}),group:E({},e,{value:_}),groupCollapsed:E({},e,{value:T}),groupEnd:E({},e,{value:S})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?z(p):"";return"function"==typeof e&&$.set(e,h),h}function F(e,t,n){if(null==e)return"";if("function"==typeof e)return D(e,!(!(o=e.prototype)||!o.isReactComponent));var o;if("string"==typeof e)return z(e);switch(e){case d:return z("Suspense");case u:return z("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,n){return D(e,!1)}(e.render);case p:return F(e.type,t,n);case h:var r=e,i=r._payload,a=r._init;try{return F(a(i),t,n)}catch{}}return""}$=new P;var A=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,n=F(e.type,e._source,t?t.type:null);q.setExtraStackFrame(n)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return x("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")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,o,r,i,a,s){var l={$$typeof:n,type:e,key:t,ref:o,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:r}),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 oe(e){if(e){var t=e._owner,n=F(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(n)}else ne.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}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 o="";e&&e._owner&&e._owner!==te.current&&(o=" It was passed a child from "+w(e._owner.type)+"."),oe(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),oe(null)}}}function le(e,t){if("object"==typeof e)if(W(e))for(var n=0;n<e.length;n++){var o=e[n];re(o)&&se(o,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&se(i.value,t)}}function ce(e,t,o,m,g,y){var v,j=!("string"!=typeof(v=e)&&"function"!=typeof v&&v!==r&&v!==a&&v!==i&&v!==d&&v!==u&&v!==f&&("object"!=typeof v||null===v||v.$$typeof!==h&&v.$$typeof!==p&&v.$$typeof!==s&&v.$$typeof!==l&&v.$$typeof!==c&&v.$$typeof!==b&&void 0===v.getModuleId));if(!j){var k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" 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 C,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);k+=N||ie(),null===e?C="null":W(e)?C="array":void 0!==e&&e.$$typeof===n?(C="<"+(w(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):C=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,k)}var _=function(e,t,n,o,r){var i,a,s,l,c={},d=null,u=null;for(i in void 0!==n&&(K(n),d=""+n),function(e){if(A.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),d=""+t.key),function(e){if(A.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=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]||(x('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,r)),t)A.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(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,s=h,(l=function(){G||(G=!0,x("%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})),u&&function(e,t){var n=function(){Y||(Y=!0,x("%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,h)}return Q(e,d,u,r,o,J.current,c)}(e,t,o,g,y);if(null==_)return _;if(j){var T=t.children;if(void 0!==T)if(m)if(W(T)){for(var S=0;S<T.length;S++)le(T[S],e);Object.freeze&&Object.freeze(T)}else x("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(T,e)}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var o=t[n];if("children"!==o&&"key"!==o){oe(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),oe(null);break}}null!==e.ref&&(oe(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),oe(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 o=w(n);!function(e,t,n,o,r){var i=Function.call.bind(A);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((o||"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,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(V(r),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,a,typeof s),V(null)),s instanceof Error&&!(s.message in B)&&(B[s.message]=!0,V(r),x("Failed %s type: %s",n,s.message),V(null))}}(t,e.props,"prop",o,e)}else void 0===n.PropTypes||ee||(ee=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(n)||"Unknown"));"function"==typeof n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}ys.Fragment=r,ys.jsx=function(e,t,n){return ce(e,t,n,!1)},ys.jsxs=function(e,t,n){return ce(e,t,n,!0)}}()),ys);var xs=ms.exports;function bs(e){return xs.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:xs.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"})})}const vs=({className:e,contentToCopy:t,locale:n,messageInfo:o,text:r})=>{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(bs,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{o("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},ws="_copy-wrapper_1gjzc_1",js="_hidden-copy_1gjzc_1",ks=({className:e,contentToCopy:t,locale:n,messageInfo:o,children:r})=>ge.jsxs("div",{className:ya("flex items-center gap-2 hover:text-gama-500",ws,e),children:[r,ge.jsx(Xi,{title:"no"===n?"Kopier":"Copy",className:js,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:ge.jsx(bs,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{o("no"===n?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),Cs="_styled-widget-title_1gze6_1",Ns=function(e){return ge.jsx("div",{className:Cs,children:e.children})},_s="_styled-widget-header_1qk88_1",Ts=({actions:e,title:t,containerClassname:n,actionsClassname:o})=>ge.jsxs("div",{className:ya(_s,n),children:[ge.jsx(Ns,{children:t}),ge.jsx("div",{className:o,children:e})]}),Ss="_asma-core-ui-styled-widget_cb7kt_1",Es="_widget-header_cb7kt_13",Os="_widget-content_cb7kt_19",Is="_widget-footer_cb7kt_29",Ms="_widget-link_cb7kt_34";function Rs(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 zs(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 $s=({children:e,title:t,icon:n,link:o,viewMore:a,persistKey:s,isLoading:l,isEmpty:c,emptyText:d})=>{const[u,p]=r(!1);return i((()=>{if(s){const e=localStorage.getItem(s);p("true"===e)}}),[s]),i((()=>{s&&localStorage.setItem(s,String(u))}),[u,s]),ge.jsxs("div",{className:Ss,children:[ge.jsxs("div",{className:Es,children:[n,ge.jsx(Ns,{children:t})]}),ge.jsx("div",{className:Os,children:ge.jsxs(ge.Fragment,{children:[e,ge.jsx(_a,{isLoading:l}),ge.jsx(Ca,{isEmpty:c,emptyText:d})]})}),ge.jsxs("div",{className:Is,children:[!a||null!=a&&a.hide?ge.jsx("div",{}):ge.jsx(ia,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:u?ge.jsx(Rs,{width:20,height:20}):ge.jsx(zs,{width:20,height:20}),onClick:()=>{var e;p(!u),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:u?a.viewLessText:a.viewMoreText}),o&&!o.hide?ge.jsx(ns,{dataTest:"go-to-button",className:Ms,size:"small",href:o.href,onClick:o.onClick,content:o.content}):ge.jsx("div",{})]})]})},Ls="_styled-module-title_174mo_1",Ps=function(e){return ge.jsx("h1",{"data-test":e.dataTest,className:Ls,children:e.children})},Ds="_dialog_erjok_1",Fs="_hidden_erjok_9";function As(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 Bs(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 qs="object"==typeof global&&global&&global.Object===Object&&global;var Vs="object"==typeof self&&self&&self.Object===Object&&self;const Hs=(qs||Vs||Function("return this")()).Symbol;var Ws=Object.prototype,Us=Ws.hasOwnProperty,Ks=Ws.toString,Gs=Hs?Hs.toStringTag:void 0;var Ys=Object.prototype.toString;var Xs="[object Null]",Js="[object Undefined]",Zs=Hs?Hs.toStringTag:void 0;function Qs(e){return null==e?void 0===e?Js:Xs:Zs&&Zs in Object(e)?function(e){var t=Us.call(e,Gs),n=e[Gs];try{e[Gs]=void 0;var o=!0}catch{}var r=Ks.call(e);return o&&(t?e[Gs]=n:delete e[Gs]),r}(e):function(e){return Ys.call(e)}(e)}const el=Array.isArray;function tl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Qs(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const nl=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:o="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,showFullScreenIcon:c=!0,title:d,label:u,children:p,open:h,onClose:f,className:m="",primaryButtonText:g,secondaryButtonText:y,onPrimaryButtonClick:x,onSecondaryButtonClick:b,dataTest:v,actionNode:w,extraActions:j,extraActionsText:k,btnContainerClassName:C,footerClassName:N,footerInfo:_,locale:T="en",enableFullscreen:S=!0})=>{const[E,O]=r(!1),[I,M]=r(!1),{open:R,anchorEl:z,handleOpen:$,handleClose:L}=(()=>{const[e,t]=r(null),n=!!e,o=l((e=>{t(e.currentTarget)}),[]);return{open:n,handleClose:l((()=>{t(null)}),[]),handleOpen:o,anchorEl:e}})(),P=()=>{O(!E)};return h?ge.jsxs(ge.Fragment,{children:[I&&!E&&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(Ds,!E&&Fs),children:ge.jsxs("div",{className:si("flex items-center justify-between",!E&&"hidden"),"data-test":v,children:[ge.jsx("div",{className:"truncate text-lg font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[s&&ge.jsx(Xi,{title:"en"===T?"Expand":"Utvid",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"text",size:"small",onClick:P,endIcon:s&&ge.jsx(xo,{height:20,width:20,color:"text-gama-500"}),children:n})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:i&&ge.jsx(qn,{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&&!E?m:"",E&&"!h-0 !w-0 opacity-0 duration-0",I&&!E&&"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":v,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:[u?ge.jsx("div",{className:"text-sm text-delta-700",children:u}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[w,a&&ge.jsx(Xi,{title:"en"===T?"Minimize":"Minimer",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:P,endIcon:a&&ge.jsx(yo,{height:20,width:20,color:"text-delta-700"}),children:t})})}),S&&c&&ge.jsx(Xi,{title:I?"en"===T?"Exit full screen":"Avslutt fullskjerm":"en"===T?"Full screen":"Fullskjerm",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{M(!I)},endIcon:I?ge.jsx(Bs,{width:20,height:20,color:"text-delta-700"}):ge.jsx(As,{width:20,height:20,color:"text-delta-700"}),children:o})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:ge.jsx(qn,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),u&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:d})]}),ge.jsxs("div",{className:si("flex flex-col",I&&!E&&"h-[87dvh]"),children:[ge.jsx("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof p?p({fullScreen:I}):p}),(el(j)&&null!=j&&j.length||tl(j))&&k||_?ge.jsxs("div",{className:ya("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",N),children:[el(j)&&null!=j&&j.length&&k?ge.jsxs(ge.Fragment,{children:[ge.jsx(ia,{dataTest:"extra-actions-button",variant:"textGray",startIcon:ge.jsx(Mn,{width:24,height:24}),onClick:$,children:k}),ge.jsx(Ga,{open:R,anchorEl:z,onClose:L,children:j.map((e=>ge.jsx(Ya,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):k&&tl(j)&&ge.jsx(ia,{dataTest:"extra-action-button",variant:"text",onClick:j,children:k})," ",_,y||g?ge.jsxs("div",{className:ya("flex justify-end gap-x-4",C),children:[y&&b&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:b,children:y}),g&&x&&ge.jsx(ia,{dataTest:"save-button",onClick:x,children:g})]}):null]}):ge.jsx(ge.Fragment,{children:y||g?ge.jsxs("div",{className:ya("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",C),children:[y&&b&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:b,children:y}),g&&x&&ge.jsx(ia,{dataTest:"save-button",onClick:x,children:g})]}):null})]})]})]}):null},ol=({showCloseIcon:e,tooltipTitle:t,onClick:n,title:o})=>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(qn,{height:20,width:20,color:"text-delta-700"}),children:o})})})}):null,rl=({visibility:e,tooltipTitle:t,onClick:n,title:o,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?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(xo,{height:20,width:20,color:"text-gama-500"}),children:o})})})}):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(yo,{height:20,width:20,color:"text-delta-700"}),children:o})})})}):null},il="_minimized-dialog_1tnc1_5",al="_dialog_1tnc1_1",sl="_hidden_1tnc1_25",ll=({fullScreen:e,showFullScreenIcon:t,title:n,tooltipTitle:o,onClick:r})=>t?ge.jsx(ge.Fragment,{children:t&&ge.jsx(Xi,{title:o,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:r,endIcon:e?ge.jsx(Bs,{width:20,height:20,color:"text-delta-700"}):ge.jsx(As,{width:20,height:20,color:"text-delta-700"}),children:n})})})}):null,cl=({onCloseText:e="",onMinimizeText:t="",onExpandText:n="",onFullScreenText:o="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,enableFullscreen:l=!0,title:c,label:d,children:u,open:p,onClose:h,classNameOverrides:f={maximized:"",minimized:"",fullscreen:""},dataTest:m,actionNode:g,tooltipOverrides:y={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[x,b]=r(!1),[v,w]=r(!1),j=()=>{b(!x)};return p?ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:{zIndex:51},className:ya(il,!x&&sl,f.minimized),children:ge.jsxs("div",{className:si("flex items-center justify-between",!x&&"hidden"),"data-test":m,children:[ge.jsx("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:ge.jsx(Xi,{title:c,placement:"top",children:ge.jsx("div",{className:"truncate",children:c})})}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[ge.jsx(rl,{type:"expand",visibility:s,onClick:j,title:n,tooltipTitle:y.maximized||"Expand"}),ge.jsx(ol,{showCloseIcon:i,onClick:h,title:e,tooltipTitle:y.close||"Close"})]})]})}),v&&!x&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsxs("div",{style:{zIndex:51},className:ya(al,x&&sl,f.maximized,v&&!x&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",v&&f.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:[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:[g,ge.jsx(rl,{visibility:a,type:"minimize",onClick:j,title:t,tooltipTitle:y.minimized||"Minimize"}),ge.jsx(ll,{showFullScreenIcon:l,fullScreen:v,onClick:()=>w(!v),title:o,tooltipTitle:y.fullscreen||(v?"Exit full screen":"Full screen")}),ge.jsx(ol,{showCloseIcon:i,onClick:h,title:e,tooltipTitle:y.close||"Close"})]})]}),d&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:c})]}),ge.jsx("div",{className:ya(x&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:u})]})]}):null};export{Pn as ArchiveIcon,bn as AssignmentIcon,vn as AssignmentOutlineIcon,B as Avatar,vo as BadgeIcon,en as BellIcon,Qt as BellOutlineIcon,oo as CalendarBlankOutlineIcon,gn as CalendarIcon,xn as CalendarRangeIcon,Fn as CheckBoxCheckedIcon,mn as CheckFactIcon,fn as CheckFactOutlineIcon,Vn as CheckIcon,hn as CheckOutlineIcon,rn as ChevronDoubleLeftIcon,an as ChevronDoubleRightIcon,An as ChevronDownIcon,on as ChevronLeftIcon,nn as ChevronRightIcon,Bn as ChevronUpIcon,q as ClickAwayListener,qn as CloseIcon,go as ConsentsIcon,V as Container,vs as CopyButton,ks as CopyWrapper,cn as DashboardViewIcon,dn as DashboardViewOutlineIcon,Jn as DeleteOutlineIcon,Mn as DotsVerticalIcon,Dn as DownloadIcon,Yn as DragHorizontalIcon,Ln as DropDownIcon,$n as DropUpIcon,eo as DvrIcon,uo as EarthIcon,wo as EditSquareIcon,to as ErrorOutlineIcon,H as Fade,io as FastCheckOutlineIcon,Xn as FilePdfIcon,Zn as FilterIcon,Sn as FindReplaceIcon,En as FindReplacePeopleIcon,W as FormLabel,tn as HamburgerIcon,No as HandymanIcon,Co as HandymanOutlineIcon,Un as InboxOutboxIcon,Kn as InboxOutboxOutlineIcon,xo as KeyboardCapslockIcon,ro as LinkOutlineIcon,wn as ListNumberedIcon,co as ListSettingsLineIcon,so as ListStatusIcon,zn as LoadingIcon,Qn as LockIcon,jn as MessageProcessingIcon,kn as MessageProcessingOutlineIcon,bo as MessageReplyIcon,nl as MinimizableDialog,cl as MinimizableDialogV2,yo as MinimizeIcon,yn as NewCalendarIcon,mo as OutlineCalendarMonth,U as Paper,ln as PdfIcon,ho as PencilOutlineIcon,pn as PeopleIcon,un as PeopleOutlineIcon,Hn as PermMediaIcon,Wn as PermMediaOutline,On as PersonIcon,In as PersonOutlineIcon,_o as PinIcon,jo as PlusIcon,ko as PlusIconCircle,K as Popper,sn as QnrIcon,no as ReplayIcon,Cn as ReportBoxIcon,Nn as ReportBoxOutlineIcon,Rn as SearchIcon,_n as SettingsIcon,po as SettingsMenuHorizontalIcon,Tn as SettingsOutlineIcon,G as Skeleton,Y as Stack,is as StyledAccordion,ss as StyledAccordionDetails,as as StyledAccordionSummary,ye as StyledBadge,ia as StyledButton,Ta as StyledCheckbox,So as StyledChip,ha as StyledDialog,xa as StyledDialogActions,va as StyledDialogContent,ja as StyledDialogTitle,Ka as StyledDrawer,Ca as StyledEmptyPage,cs as StyledFilterButton,ps as StyledFilterMenu,qa as StyledFormControl,Va as StyledFormControlLabel,Ua as StyledFormGroup,Ha as StyledFormHelperText,na as StyledFormLabel,Sa as StyledInputField,Wa as StyledInputLabel,Eo as StyledInteractiveChip,Ba as StyledLabel,ns as StyledLink,_a as StyledLoading,Ga as StyledMenu,Ya as StyledMenuItem,Xa as StyledMenuList,Ps as StyledModuleTitle,ls as StyledPopover,Fa as StyledRadio,Aa as StyledRadioGroup,Ea as StyledSearchField,Ma as StyledSelect,La as StyledSelectAutocomplete,Ra as StyledSelectItem,Pa as StyledSlider,Da as StyledSwitch,os as StyledTab,rs as StyledTabs,Ia as StyledTextarea,Xi as StyledTooltip,Ji as StyledTypography,$s as StyledWidget,Ts as StyledWidgetHeader,Ns as StyledWidgetTitle,lo as TextBoxCheckOutlineIcon,Gn as TopicIcon,ao as UnknownDocumentOutlineRoundedIcon,fo as WarningAmberOutlineIcon,To as WorkIcon,ee as omit,de as prepareForSlot,le as setMidnightTime,ce as setZeroTime};